vendor: 7,127 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MonacoEditor-3_--Fv7u.js","assets/editor.api-BxjpIsRU.js","assets/editor-B55U_qvj.css","assets/register-CAqnzozL.js","assets/register-C0w6qn7l.css","assets/MonacoDiff-f8IH1mvq.js"])))=>i.map(i=>d[i]); 2var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var u=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pen
2ding`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not val
2id as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()}
vendor: 7,223 bytes, line 2
2,e.version=`19.2.8`})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=p();function n(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 r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.8`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=d(),n=p(),r=h();function i(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 a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(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 c(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 l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var m=Object.assign,g=Symbol.for(`react.element`),_=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.activity`),A=Symbol.for(`react.memo_cache_sentinel`),j=Symbol.iterator;function M(e){return typeof e!=`object`||!e?null:(e=j&&e[j]||e[`@@iterator`],typeof e==`function`?e:null)}var N=Symbol.for(`react.client.reference`);function P(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===N?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case T:return`Suspense`;case E:return`SuspenseList`;case k:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case D:return t=e.displayName||null,t===null?P(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return P(e(t))}catch{}}return null}var F=Array.isArray,I=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},z=[],B=-1;function ee(e){return{current:e}}function V(e){0>B||(e.current=z[B],z[B]=null,B--)}function te(e,t){B++,z[B]=e.current,e.current=t}var ne=ee(null),re=ee(null),ie=ee(null),ae=ee(null);function oe(e,t){switch(te(ie,t),te(re,e),te(ne,null),t.nodeType){case 9:case 11:e=(e
vendor: 420 bytes, line 2
2=t.documentElement)&&(e=e.namespaceURI)?qd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qd(t),e=Jd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}V(ne),te(ne,e)}function H(){V(ne),V(re),V(ie)}function se(e){e.memoizedState!==null&&te(ae,e);var t=ne.current,n=Jd(t,e.type);t!==n&&(te(re,e),te(ne,n))}function ce(e){re.current===e&&(V(ne),V(re)),ae.current===e&&(V(ae),np._currentValue=R
vendor: 2,541 bytes, lines 2-9
2)}var le,ue;function de(e){if(le===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);le=t&&t[1]||``,ue=-1<e.stack.indexOf(` 3 at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return` 4`+le+e+ue}var fe=!1;function pe(e,t){if(!e||fe)return``;fe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(` 5`),l=s.split(` 6`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=` 7`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{fe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?de(n):``}function me(e,t){switch(e.tag){case 26:case 27:case 5:return de(e.type);case 16:return de(`Lazy`);case 13:return e.child!==t&&t!==null?de(`Suspense Fallback`):de(`Suspense`);case 19:return de(`SuspenseList`);case 0:case 15:return pe(e.type,!1);case 11:return pe(e.type.render,!1);case 1:return pe(e.type,!0);case 31:return de(`Activity`);default:return``}}function he(e){try{var t=``,n=null;do t+=me(e,n),n=e,e=e.return;while(e);return t}catch(e){return` 8Error generating stack: `+e.message+` 9`+e.stack}}var ge=Object.prototype.hasOwnProperty,_e=t.unstable_scheduleCallback,ve=t.unstable_cancelCallback,ye=t.unstable_shouldYield,be=t.unstable_requestPaint,xe=t.unstable_now,Se=t.unstable_getCurrentPriorityLevel,Ce=t.unstable_ImmediatePriority,
vendor: 18,419 bytes, line 9
9we=t.unstable_UserBlockingPriority,Te=t.unstable_NormalPriority,Ee=t.unstable_LowPriority,De=t.unstable_IdlePriority,Oe=t.log,ke=t.unstable_setDisableYieldValue,Ae=null,je=null;function Me(e){if(typeof Oe==`function`&&ke(e),je&&typeof je.setStrictMode==`function`)try{je.setStrictMode(Ae,e)}catch{}}var Ne=Math.clz32?Math.clz32:Ie,Pe=Math.log,Fe=Math.LN2;function Ie(e){return e>>>=0,e===0?32:31-(Pe(e)/Fe|0)|0}var Le=256,Re=262144,ze=4194304;function Be(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 Ve(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Be(n))):i=Be(o):i=Be(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Be(n))):i=Be(o)):i=Be(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function He(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ue(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 We(){var e=ze;return ze<<=1,!(ze&62914560)&&(ze=4194304),e}function Ge(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ke(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function qe(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ne(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Je(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Je(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ne(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Ye(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ne(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Xe(e,t){var n=t&-t;return n=n&42?1:Ze(n),(n&(e.suspendedLanes|t))===0?n:0}function Ze(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 Qe(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function $e(){var e=L.p;return e===0?(e=window.event,e===void 0?32:vp(e.type)):e}function et(e,t){var n=L.p;try{return L.p=e,t()}finally{L.p=n}}var tt=Math.random().toString(36).slice(2),nt=`__reactFiber$`+tt,rt=`__reactProps$`+tt,it=`__reactContainer$`+tt,at=`__reactEvents$`+tt,ot=`__reactListeners$`+tt,st=`__reactHandles$`+tt,ct=`__reactResources$`+tt,lt=`__reactMarker$`+tt;function ut(e){delete e[nt],delete e[rt],delete e[at],delete e[ot],delete e[st]}function dt(e){var t=e[nt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[it]||n[nt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=gf(e);e!==null;){if(n=e[nt])return n;e=gf(e)}return t}e=n,n=e.parentNode}return null}function ft(e){if(e=e[nt]||e[it]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function pt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function mt(e){var t=e[ct];return t||=e[ct]={hoistableStyles:new Map,hoistableScripts:new Map},t}function ht(e){e[lt]=!0}var gt=new Set,_t={};function vt(e,t){yt(e,t),yt(e+`Capture`,t)}function yt(e,t){for(_t[e]=t,e=0;e<t.length;e++)gt.add(t[e])}var bt=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]*$`),xt={},St={};function Ct(e){return ge.call(St,e)?!0:ge.call(xt,e)?!1:bt.test(e)?St[e]=!0:(xt[e]=!0,!1)}function wt(e,t,n){if(Ct(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Tt(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 Et(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Dt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ot(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function kt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function At(e){if(!e._valueTracker){var t=Ot(e)?`checked`:`value`;e._valueTracker=kt(e,t,``+e[t])}}function jt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ot(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function Mt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Nt=/[\n"\\]/g;function Pt(e){return e.replace(Nt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Ft(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Dt(t)):e.value!==``+Dt(t)&&(e.value=``+Dt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Lt(e,o,Dt(n)):Lt(e,o,Dt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Dt(s):e.removeAttribute(`name`)}function It(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){At(e);return}n=n==null?``:``+Dt(n),t=t==null?n:``+Dt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),At(e)}function Lt(e,t,n){t===`number`&&Mt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Rt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Dt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function zt(e,t,n){if(t!=null&&(t=``+Dt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Dt(n)}function Bt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(F(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Dt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),At(e)}function Vt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ht=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 Ut(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Ht.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Wt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Ut(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Ut(e,o,t[o])}function Gt(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 Kt=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),qt=/^[\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 Jt(e){return qt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Yt(){}var Xt=null;function Zt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qt=null,$t=null;function en(e){var t=ft(e);if(t&&(e=t.stateNode)){var n=e[rt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Ft(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="`+Pt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[rt]||null;if(!a)throw Error(i(90));Ft(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&jt(r)}break a;case`textarea`:zt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Rt(e,!!n.multiple,t,!1)}}}var tn=!1;function nn(e,t,n){if(tn)return e(t,n);tn=!0;try{return e(t)}finally{if(tn=!1,(Qt!==null||$t!==null)&&(Cu(),Qt&&(t=Qt,e=$t,$t=Qt=null,en(t),e)))for(t=0;t<e.length;t++)en(e[t])}}function rn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[rt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var an=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),on=!1;if(an)try{var sn={};Object.defineProperty(sn,"passive",{get:function(){on=!0}}),window.addEventListener(`test`,sn,sn),window.removeEventListener(`test`,sn,sn)}catch{on=!1}var cn=null,ln=null,un=null;function dn(){if(un)return un;var e,t=ln,n=t.length,r,i=`value`in cn?cn.value:cn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return un=i.slice(e,1<r?1-r:void 0)}function fn(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 pn(){return!0}function mn(){return!1}function hn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?pn:mn,this.isPropagationStopped=mn,this}return m(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=pn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=pn)},persist:function(){},isPersistent:pn}),t}var gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_n=hn(gn),vn=m({},gn,{view:0,detail:0}),yn=hn(vn),bn,xn,Sn,Cn=m({},vn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,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!==Sn&&(Sn&&e.type===`mousemove`?(bn=e.screenX-Sn.screenX,xn=e.screenY-Sn.screenY):xn=bn=0,Sn=e),bn)},movementY:function(e){return`movementY`in e?e.movementY:xn}}),wn=hn(Cn),Tn=hn(m({},Cn,{dataTransfer:0})),En=hn(m({},vn,{relatedTarget:0})),Dn=hn(m({},gn,{animationName:0,elapsedTime:0,pseudoElement:0})),On=hn(m({},gn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),kn=hn(m({},gn,{data:0})),An={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},jn={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:`F
95`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Mn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Nn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Mn[e])?!!t[e]:!1}function Pn(){return Nn}var Fn=hn(m({},vn,{key:function(e){if(e.key){var t=An[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=fn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?jn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(e){return e.type===`keypress`?fn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?fn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),In=hn(m({},Cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=hn(m({},vn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),Rn=hn(m({},gn,{propertyName:0,elapsedTime:0,pseudoElement:0})),zn=hn(m({},Cn,{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})),Bn=hn(m({},gn,{newState:0,oldState:0})),Vn=[9,13,27,32],Hn=an&&`CompositionEvent`in window,Un=null;an&&`documentMode`in document&&(Un=document.documentMode);var Wn=an&&`TextEvent`in window&&!Un,Gn=an&&(!Hn||Un&&8<Un&&11>=Un),Kn=` `,qn=!1;function Jn(e,t){switch(e){case`keyup`:return Vn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Yn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Xn=!1;function Zn(e,t){switch(e){case`compositionend`:return Yn(t);case`keypress`:return t.which===32?(qn=!0,Kn):null;case`textInput`:return e=t.data,e===Kn&&qn?null:e;default:return null}}function Qn(e,t){if(Xn)return e===`compositionend`||!Hn&&Jn(e,t)?(e=dn(),un=ln=cn=null,Xn=!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 Gn&&t.locale!==`ko`?null:t.data;default:return null}}var $n={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 er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!$n[e.type]:t===`textarea`}function tr(e,t,n,r){Qt?$t?$t.push(r):$t=[r]:Qt=r,t=jd(t,`onChange`),0<t.length&&(n=new _n(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var nr=null,rr=null;function ir(e){Cd(e,0)}function ar(e){if(jt(pt(e)))return e}function or(e,t){if(e===`change`)return t}var sr=!1;if(an){var cr;if(an){var lr=`oninput`in document;if(!lr){var ur=document.createElement(`div`);ur.setAttribute(`oninput`,`return;`),lr=typeof ur.oninput==`function`}cr=lr}else cr=!1;sr=cr&&(!document.documentMode||9<document.documentMode)}function dr(){nr&&(nr.detachEvent(`onpropertychange`,fr),rr=nr=null)}function fr(e){if(e.propertyName===`value`&&ar(rr)){var t=[];tr(t,rr,e,Zt(e)),nn(ir,t)}}function pr(e,t,n){e===`focusin`?(dr(),nr=t,rr=n,nr.attachEvent(`onpropertychange`,fr)):e===`focusout`&&dr()}function mr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return ar(rr)}function hr(e,t){if(e===`click`)return ar(t)}function gr(e,t){if(e===`input`||e===`change`)return ar(t)}function _r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var vr=typeof Object.is==`function`?Object.is:_r;function yr(e,t){if(vr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ge.call(t,i)||!vr(e[i],t[i]))return!1}return!0}function br(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xr(e,t){var n=br(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=br(n)}}function Sr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Mt(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=Mt(e.document)}return t}function wr(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 Tr=an&&`documentMode`in document&&11>=document.documentMode,Er=null,Dr=null,Or=null,kr=!1;function Ar(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;kr||Er==null||Er!==Mt(r)||(r=Er,`selectionStart`in r&&wr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 72,419 bytes, line 9
9sNode:r.focusNode,focusOffset:r.focusOffset}),Or&&yr(Or,r)||(Or=r,r=jd(Dr,`onSelect`),0<r.length&&(t=new _n(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Er)))}function jr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Mr={animationend:jr(`Animation`,`AnimationEnd`),animationiteration:jr(`Animation`,`AnimationIteration`),animationstart:jr(`Animation`,`AnimationStart`),transitionrun:jr(`Transition`,`TransitionRun`),transitionstart:jr(`Transition`,`TransitionStart`),transitioncancel:jr(`Transition`,`TransitionCancel`),transitionend:jr(`Transition`,`TransitionEnd`)},Nr={},Pr={};an&&(Pr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Mr.animationend.animation,delete Mr.animationiteration.animation,delete Mr.animationstart.animation),`TransitionEvent`in window||delete Mr.transitionend.transition);function Fr(e){if(Nr[e])return Nr[e];if(!Mr[e])return e;var t=Mr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Pr)return Nr[e]=t[n];return e}var Ir=Fr(`animationend`),Lr=Fr(`animationiteration`),Rr=Fr(`animationstart`),zr=Fr(`transitionrun`),Br=Fr(`transitionstart`),Vr=Fr(`transitioncancel`),Hr=Fr(`transitionend`),Ur=new Map,Wr=`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(` `);Wr.push(`scrollEnd`);function Gr(e,t){Ur.set(e,t),vt(t,[e])}var Kr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},qr=[],Jr=0,Yr=0;function Xr(){for(var e=Jr,t=Yr=Jr=0;t<e;){var n=qr[t];qr[t++]=null;var r=qr[t];qr[t++]=null;var i=qr[t];qr[t++]=null;var a=qr[t];if(qr[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ei(n,i,a)}}function Zr(e,t,n,r){qr[Jr++]=e,qr[Jr++]=t,qr[Jr++]=n,qr[Jr++]=r,Yr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Qr(e,t,n,r){return Zr(e,t,n,r),ti(e)}function $r(e,t){return Zr(e,null,null,t),ti(e)}function ei(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ne(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ti(e){if(50<mu)throw mu=0,hu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ni={};function ri(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ii(e,t,n,r){return new ri(e,t,n,r)}function ai(e){return e=e.prototype,!(!e||!e.isReactComponent)}function oi(e,t){var n=e.alternate;return n===null?(n=ii(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 si(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 ci(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)ai(e)&&(s=1);else if(typeof e==`string`)s=Jf(e,n,ne.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case k:return e=ii(31,n,t,a),e.elementType=k,e.lanes=o,e;case y:return li(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=ii(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=ii(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=ii(19,n,t,a),e.elementType=E,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case D:s=14;break a;case O:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=ii(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function li(e,t,n,r){return e=ii(7,e,r,t),e.lanes=n,e}function ui(e,t,n){return e=ii(6,e,null,t),e.lanes=n,e}function di(e){var t=ii(18,null,null,0);return t.stateNode=e,t}function fi(e,t,n){return t=ii(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var pi=new WeakMap;function mi(e,t){if(typeof e==`object`&&e){var n=pi.get(e);return n===void 0?(t={value:e,source:t,stack:he(t)},pi.set(e,t),t):n}return{value:e,source:t,stack:he(t)}}var hi=[],gi=0,_i=null,vi=0,yi=[],bi=0,xi=null,Si=1,Ci=``;function wi(e,t){hi[gi++]=vi,hi[gi++]=_i,_i=e,vi=t}function Ti(e,t,n){yi[bi++]=Si,yi[bi++]=Ci,yi[bi++]=xi,xi=e;var r=Si;e=Ci;var i=32-Ne(r)-1;r&=~(1<<i),n+=1;var a=32-Ne(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Si=1<<32-Ne(t)+i|n<<i|r,Ci=a+e}else Si=1<<a|n<<i|r,Ci=e}function Ei(e){e.return!==null&&(wi(e,1),Ti(e,1,0))}function Di(e){for(;e===_i;)_i=hi[--gi],hi[gi]=null,vi=hi[--gi],hi[gi]=null;for(;e===xi;)xi=yi[--bi],yi[bi]=null,Ci=yi[--bi],yi[bi]=null,Si=yi[--bi],yi[bi]=null}function Oi(e,t){yi[bi++]=Si,yi[bi++]=Ci,yi[bi++]=xi,Si=t.id,Ci=t.overflow,xi=e}var ki=null,Ai=null,ji=!1,Mi=null,Ni=!1,Pi=Error(i(519));function Fi(e){throw Vi(mi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Pi}function Ii(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[nt]=e,t[rt]=r,n){case`dialog`:wd(`cancel`,t),wd(`close`,t);break;case`iframe`:case`object`:case`embed`:wd(`load`,t);break;case`video`:case`audio`:for(n=0;n<xd.length;n++)wd(xd[n],t);break;case`source`:wd(`error`,t);break;case`img`:case`image`:case`link`:wd(`error`,t),wd(`load`,t);break;case`details`:wd(`toggle`,t);break;case`input`:wd(`invalid`,t),It(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:wd(`invalid`,t);break;case`textarea`:wd(`invalid`,t),Bt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Ld(t.textContent,n)?(r.popover!=null&&(wd(`beforetoggle`,t),wd(`toggle`,t)),r.onScroll!=null&&wd(`scroll`,t),r.onScrollEnd!=null&&wd(`scrollend`,t),r.onClick!=null&&(t.onclick=Yt),t=!0):t=!1,t||Fi(e,!0)}function Li(e){for(ki=e.return;ki;)switch(ki.tag){case 5:case 31:case 13:Ni=!1;return;case 27:case 3:Ni=!0;return;default:ki=ki.return}}function Ri(e){if(e!==ki)return!1;if(!ji)return Li(e),ji=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Yd(e.type,e.memoizedProps)),n=!n),n&&Ai&&Fi(e),Li(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ai=hf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ai=hf(e)}else t===27?(t=Ai,rf(e.type)?(e=mf,mf=null,Ai=e):Ai=t):Ai=ki?pf(e.stateNode.nextSibling):null;return!0}function zi(){Ai=ki=null,ji=!1}function Bi(){var e=Mi;return e!==null&&(eu===null?eu=e:eu.push.apply(eu,e),Mi=null),e}function Vi(e){Mi===null?Mi=[e]:Mi.push(e)}var Hi=ee(null),Ui=null,Wi=null;function Gi(e,t,n){te(Hi,t._currentValue),t._currentValue=n}function Ki(e){e._currentValue=Hi.current,V(Hi)}function qi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Ji(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),qi(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),qi(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Yi(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;vr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ae.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[np]:e.push(np))}a=a.return}e!==null&&Ji(t,e,n,r),t.flags|=262144}function Xi(e){for(e=e.firstContext;e!==null;){if(!vr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Zi(e){Ui=e,Wi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Qi(e){return ea(Ui,e)}function $i(e,t){return Ui===null&&Zi(e),ea(e,t)}function ea(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Wi===null){if(e===null)throw Error(i(308));Wi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Wi=Wi.next=t;return n}var ta=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},na=t.unstable_scheduleCallback,ra=t.unstable_NormalPriority,ia={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function aa(){return{controller:new ta,data:new Map,refCount:0}}function oa(e){e.refCount--,e.refCount===0&&na(ra,function(){e.controller.abort()})}var sa=null,ca=0,la=0,ua=null;function da(e,t){if(sa===null){var n=sa=[];ca=0,la=hd(),ua={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ca++,t.then(fa,fa),t}function fa(){if(--ca===0&&sa!==null){ua!==null&&(ua.status=`fulfilled`);var e=sa;sa=null,la=0,ua=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function pa(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ma=I.S;I.S=function(e,t){ru=xe(),typeof t==`object`&&t&&typeof t.then==`function`&&da(e,t),ma!==null&&ma(e,t)};var ha=ee(null);function ga(){var e=ha.current;return e===null?Rl.pooledCache:e}function _a(e,t){t===null?te(ha,ha.current):te(ha,t.pool)}function va(){var e=ga();return e===null?null:{parent:ia._currentValue,pool:e}}var ya=Error(i(460)),ba=Error(i(474)),xa=Error(i(542)),Sa={then:function(){}};function Ca(e){return e=e.status,e===`fulfilled`||e===`rejected`}function wa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Yt,Yt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Oa(e),e;default:if(typeof t.status==`string`)t.then(Yt,Yt);else{if(e=Rl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Oa(e),e}throw Ea=t,ya}}function Ta(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ea=e,ya):e}}var Ea=null;function Da(){if(Ea===null)throw Error(i(459));var e=Ea;return Ea=null,e}function Oa(e){if(e===ya||e===xa)throw Error(i(483))}var ka=null,Aa=0;function ja(e){var t=Aa;return Aa+=1,ka===null&&(ka=[]),wa(ka,e,t)}function Ma(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Na(e,t){throw t.$$typeof===g?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Pa(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=oi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=ui(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===O&&Ta(i)===t.type)?(t=a(t,n.props),Ma(t,n),t.return=e,t):(t=ci(n.type,n.key,n.props,null,e.mode,r),Ma(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=fi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=li(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=ui(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case _:return n=ci(t.type,t.key,t.props,null,e.mode,n),Ma(n,t),n.return=e,n;case v:return t=fi(t,e.mode,n),t.return=e,t;case O:return t=Ta(t),f(e,t,n)}if(F(t)||M(t))return t=li(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,ja(t),n);if(t.$$typeof===C)return f(e,$i(e,t),n);Na(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case _:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case O:return n=Ta(n),p(e,t,n,r)}if(F(n)||M(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,ja(n),r);if(n.$$typeof===C)return p(e,t,$i(e,n),r);Na(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case _:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case O:return r=Ta(r),m(e,t,n,r,i)}if(F(r)||M(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,ja(r),i);if(r.$$typeof===C)return m(e,t,n,$i(t,r),i);Na(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),ji&&wi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return ji&&wi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),ji&&wi(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),ji&&wi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return ji&&wi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),ji&&wi(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&Ta(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ma(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===y?(c=li(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ci(o.type,o.key,o.props,null,e.mode,c),Ma(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}t(e,r),r=r.sibling}c=fi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=Ta(o),b(e,r,o,c)}if(F(o))return h(e,r,o,c);if(M(o)){if(l=M(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,ja(o),c);if(o.$$typeof===C)return b(e,r,$i(e,o),c);Na(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=ui(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Aa=0;var i=b(e,t,n,r);return ka=null,i}catch(t){if(t===ya||t===xa)throw t;var a=ii(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Fa=Pa(!0),Ia=Pa(!1),La=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function za(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 Ba(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Va(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ll&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ti(e),ei(e,null,n),t}return Zr(e,r,t,n),ti(e)}function Ha(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ye(e,n)}}function Ua(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Wa=!1;function Ga(){if(Wa){var e=ua;if(e!==null)throw e}}function Ka(e,t,n,r){Wa=!1;var i=e.updateQueue;La=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Bl&f)===f:(r&f)===f){f!==0&&f===la&&(Wa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:La=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Jl|=o,e.lanes=o,e.memoizedState=d}}function qa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ja(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)qa(n[e],t)}var Ya=ee(null),Xa=ee(0);function Za(e,t){e=Kl,te(Xa,e),te(Ya,t),Kl=e|t.baseLanes}function Qa(){te(Xa,Kl),te(Ya,Ya.current)}function $a(){Kl=Xa.current,V(Ya),V(Xa)}var eo=ee(null),to=null;function no(e){var t=e.alternate;te(so,so.current&1),te(eo,e),to===null&&(t===null||Ya.current!==null||t.memoizedState!==null)&&(to=e)}function ro(e){te(so,so.current),te(eo,e),to===null&&(to=e)}function io(e){e.tag===22?(te(so,so.current),te(eo,e),to===null&&(to=e)):ao(e)}function ao(){te(so,so.current),te(eo,eo.current)}function oo(e){V(eo),to===e&&(to=null),V(so)}var so=ee(0);function co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||uf(n)||df(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)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 lo=0,uo=null,fo=null,po=null,mo=!1,ho=!1,go=!1,_o=0,vo=0,yo=null,bo=0;function xo(){throw Error(i(321))}function So(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vr(e[n],t[n]))return!1;return!0}function Co(e,t,n,r,i,a){return lo=a,uo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,I.H=e===null||e.memoizedState===null?Bs:Vs,go=!1,a=n(r,i),go=!1,ho&&(a=To(t,n,r,i)),wo(e),a}function wo(e){I.H=zs;var t=fo!==null&&fo.next!==null;if(lo=0,po=fo=uo=null,mo=!1,vo=0,yo=null,t)throw Error(i(300));e===null||tc||(e=e.dependencies,e!==null&&Xi(e)&&(tc=!0))}function To(e,t,n,r){uo=e;var a=0;do{if(ho&&(yo=null),vo=0,ho=!1,25<=a)throw Error(i(301));if(a+=1,po=fo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}I.H=U,o=t(n,r)}while(ho);return o}function Eo(){var e=I.H,t=e.useState()[0];return t=typeof t.then==`function`?No(t):t,e=e.useState()[0],(fo===null?null:fo.memoizedState)!==e&&(uo.flags|=1024),t}function Do(){var e=_o!==0;return _o=0,e}function Oo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ko(e){if(mo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mo=!1}lo=0,po=fo=uo=null,ho=!1,vo=_o=0,yo=null}function Ao(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return po===null?uo.memoizedState=po=e:po=po.next=e,po}function jo(){if(fo===null){var e=uo.alternate;e=e===null?null:e.memoizedState}else e=fo.next;var t=po===null?uo.memoizedState:po.next;if(t!==null)po=t,fo=e;else{if(e===null)throw uo.alternate===null?Error(i(467)):Error(i(310));fo=e,e={memoizedState:fo.memoizedState,baseState:fo.baseState,baseQueue:fo.baseQueue,queue:fo.queue,next:null},po===null?uo.memoizedState=po=e:po=po.next=e}return po}function Mo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function No(e){var t=vo;return vo+=1,yo===null&&(yo=[]),e=wa(yo,e,t),t=uo,(po===null?t.memoizedState:po.next)===null&&(t=t.alternate,I.H=t===null||t.memoizedState===null?Bs:Vs),e}function Po(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return No(e);if(e.$$typeof===C)return Qi(e)}throw Error(i(438,String(e)))}function Fo(e){var t=null,n=uo.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=uo.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Mo(),uo.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=A;return t.index++,n}function Io(e,t){return typeof t==`function`?t(e):t}function Lo(e){return Ro(jo(),fo,e)}function Ro(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(lo&f)===f:(Bl&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===la&&(d=!0);else if((lo&p)===p){u=u.next,p===la&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,uo.lanes|=p,Jl|=p;f=u.action,go&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,uo.lanes|=f,Jl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!vr(o,e.memoizedState)&&(tc=!0,d&&(n=ua,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function zo(e){var t=jo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);vr(o,t.memoizedState)||(tc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Bo(e,t,n){var r=uo,a=jo(),o=ji;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!vr((fo||a).memoizedState,n);if(s&&(a.memoizedState=n,tc=!0),a=a.queue,ds(Uo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||po!==null&&po.memoizedState.tag&1){if(r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,a,n,t),null),Rl===null)throw Error(i(349));o||lo&127||Vo(r,t,n)}return n}function Vo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=uo.updateQueue,t===null?(t=Mo(),uo.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ho(e,t,n,r){t.value=n,t.getSnapshot=r,Wo(t)&&Go(e)}function Uo(e,t,n){return n(function(){Wo(t)&&Go(e)})}function Wo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vr(e,n)}catch{return!0}}function Go(e){var t=$r(e,2);t!==null&&vu(t,e,2)}function Ko(e){var t=Ao();if(typeof e==`function`){var n=e;if(e=n(),go){Me(!0);try{n()}finally{Me(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:e},t}function qo(e,t,n,r){return e.baseState=n,Ro(e,fo,typeof r==`function`?r:Io)}function Jo(e,t,n,r,a){if(Is(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};I.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Yo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Yo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=I.T,o={};I.T=o;try{var s=n(i,r),c=I.S;c!==null&&c(o,s),Xo(e,t,s)}catch(n){Qo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),I.T=a}}else try{a=n(i,r),Xo(e,t,a)}catch(n){Qo(e,t,n)}}function Xo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Zo(e,t,n)},function(n){return Qo(e,t,n)}):Zo(e,t,n)}function Zo(e,t,n){t.status=`fulfilled`,t.value=n,$o(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Yo(e,n)))}function Qo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,$o(t),t=t.next;while(t!==r)}e.action=null}function $o(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function es(e,t){return t}function ts(e,t){if(ji){var n=Rl.formState;if(n!==null){a:{var r=uo;if(ji){if(Ai){b:{for(var i=Ai,a=Ni;i.nodeType!==8;){if(!a){i=null;break b}if(i=pf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ai=pf(i.nextSibling),r=i.data===`F!`;break a}}Fi(r)}r=!1}r&&(t=n[0])}}return n=Ao(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:es,lastRenderedState:t},n.queue=r,n=Ns.bind(null,uo,r),r.dispatch=n,r=Ko(!1),a=Fs.bind(null,uo,!1,r.queue),r=Ao(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Jo.bind(null,uo,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ns(e){return rs(jo(),fo,e)}function rs(e,t,n){if(t=Ro(e,t,es)[0],e=Lo(Io)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=No(t)}catch(e){throw e===ya?xa:e}else r=t;t=jo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(uo.flags|=2048,os(9,{destroy:void 0},is.bind(null,i,n),null)),[r,a,e]}function is(e,t){e.action=t}function as(e){var t=jo(),n=fo;if(n!==null)return rs(t,n,e);jo(),t=t.memoizedState,n=jo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function os(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=uo.updateQueue,t===null&&(t=Mo(),uo.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ss(){return jo().memoizedState}function cs(e,t,n,r){var i=Ao();uo.flags|=e,i.memoizedState=os(1|t,{destroy:void 0},n,r===void 0?null:r)}function ls(e,t,n,r){var i=jo();r=r===void 0?null:r;var a=i.memoizedState.inst;fo!==null&&r!==null&&So(r,fo.memoizedState.deps)?i.memoizedState=os(t,a,n,r):(uo.flags|=e,i.memoizedState=os(1|t,a,n,r))}function us(e,t){cs(8390656,8,e,t)}function ds(e,t){ls(2048,8,e,t)}function fs(e){uo.flags|=4;var t=uo.updateQueue;if(t===null)t=Mo(),uo.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ps(e){var t=jo().memoizedState;return fs({ref:t,nextImpl:e}),function(){if(Ll&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ms(e,t){return ls(4,2,e,t)}function hs(e,t){return ls(4,4,e,t)}function gs(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 _s(e,t,n){n=n==null?null:n.concat([e]),ls(4,4,gs.bind(null,t,e),n)}function vs(){}function ys(e,t){var n=jo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&So(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function bs(e,t){var n=jo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&So(t,r[1]))return r[0];if(r=e(),go){Me(!0);try{e()}finally{Me(!1)}}return n.memoizedState=[r,t],r}function xs(e,t,n){return n===void 0||lo&1073741824&&!(Bl&261930)?e.memoizedState=t:(e.memoizedState=n,e=_u(),uo.lanes|=e,Jl|=e,n)}function Ss(e,t,n,r){return vr(n,t)?n:Ya.current===null?!(lo&42)||lo&1073741824&&!(Bl&261930)?(tc=!0,e.memoizedState=n):(e=_u(),uo.lanes|=e,Jl|=e,t):(e=xs(e,n,r),vr(e,t)||(tc=!0),e)}function Cs(e,t,n,r,i){var a=L.p;L.p=a!==0&&8>a?a:8;var o=I.T,s={};I.T=s,Fs(e,!1,t,n);try{var c=i(),l=I.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ps(e,t,pa(c,r),gu(e)):Ps(e,t,r,gu(e))}catch(n){Ps(e,t,{then:function(){},status:`rejected`,reason:n},gu())}finally{L.p=a,o!==null&&s.types!==null&&(o.types=s.types),I.T=o}}function ws(){}function Ts(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Es(e).queue;Cs(e,a,t,R,n===null?ws:function(){return Ds(e),n(r)})}function Es(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:R},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ds(e){var t=Es(e);t.next===null&&(t=e.alternate.memoizedState),Ps(e,t.next.queue,{},gu())}function Os(){return Qi(np)}function ks(){return jo().memoizedState}function As(){return jo().memoizedState}function js(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=gu();e=Ba(n);var r=Va(t,e,n);r!==null&&(vu(r,t,n),Ha(r,t,n)),t={cache:aa()},e.payload=t;return}t=t.return}}function Ms(e,t,n){var r=gu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Is(e)?Ls(t,n):(n=Qr(e,t,n,r),n!==null&&(vu(n,e,r),Rs(n,t,r)))}function Ns(e,t,n){Ps(e,t,n,gu())}function Ps(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Is(e))Ls(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,vr(s,o))return Zr(e,t,i,0),Rl===null&&Xr(),!1}catch{}if(n=Qr(e,t,i,r),n!==null)return vu(n,e,r),Rs(n,t,r),!0}return!1}function Fs(e,t,n,r){if(r={lane:2,revertLane:hd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Is(e)){if(t)throw Error(i(479))}else t=Qr(e,n,r,2),t!==null&&vu(t,e,2)}function Is(e){var t=e.alternate;return e===uo||t!==null&&t===uo}function Ls(e,t){ho=mo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ye(e,n)}}var zs={readContext:Qi,use:Po,useCallback:xo,useContext:xo,useEffect:xo,useImperativeHandle:xo,useLayoutEffect:xo,useInsertionEffect:xo,useMemo:xo,useReducer:xo,useRef:xo,useState:xo,useDebugValue:xo,useDeferredValue:xo,useTransition:xo,useSyncExternalStore:xo,useId:xo,useHostTransitionStatus:xo,useFormState:xo,useActionState:xo,useOptimistic:xo,useMemoCache:xo,useCacheRefresh:xo};zs.useEffectEvent=xo;var Bs={readContext:Qi,use:Po,useCallback:function(e,t){return Ao().memoizedState=[e,t===void 0?null:t],e},useContext:Qi,useEffect:us,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),cs(4194308,4,gs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cs(4194308,4,e,t)},useInsertionEffect:function(e,t){cs(4,2,e,t)},useMemo:function(e,t){var n=Ao();t=t===void 0?null:t;var r=e();if(go){Me(!0);try{e()}finally{Me(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Ao();if(n!==void 0){var i=n(t);if(go){Me(!0);try{n(t)}finally{Me(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ms.bind(null,uo,e),[r.memoizedState,e]},useRef:function(e){var t=Ao();return e={current:e},t.memoizedState=e},useState:function(e){e=Ko(e);var t=e.queue,n=Ns.bind(null,uo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:vs,useDeferredValue:function(e,t){return xs(Ao(),e,t)},useTransition:function(){var e=Ko(!1);return e=Cs.bind(null,uo,e.queue,!0,!1),Ao().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=uo,a=Ao();if(ji){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Rl===null)throw Error(i(349));Bl&127||Vo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,us(Uo.bind(null,r,o,e),[e]),r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,o,n,t),null),n},useId:function(){var e=Ao(),t=Rl.identifierPrefix;if(ji){var n=Ci,r=Si;n=(r&~(1<<32-Ne(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=_o++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=bo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Os,useFormState:ts,useActionState:ts,useOptimistic:function(e){var t=Ao();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Fs.bind(null,uo,!0,n),n.dispatch=t,[e,t]},useMemoCache:Fo,useCacheRefresh:function(){return Ao().memoizedState=js.bind(null,uo)},useEffectEvent:function(e){var t=Ao(),n={impl:e};return t.memoizedState=n,function(){if(Ll&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Vs={readContext:Qi,use:Po,useCallback:ys,useContext:Qi,useEffect:ds,useImperativeHandle:_s,useInsertionEffect:ms,useLayoutEffect:hs,useMemo:bs,useReducer:Lo,useRef:ss,useState:function(){return Lo(Io)},useDebugValue:vs,useDeferredValue:function(e,t){return Ss(jo(),fo.memoizedState,e,t)},useTransition:function(){var e=Lo(Io)[0],t=jo().memoizedState;return[typeof e==`boolean`?e:No(e),t]},useSyncExternalStore:Bo,useId:ks,useHostTransitionStatus:Os,useFormState:ns,useActionState:ns,useOptimistic:function(e,t){return qo(jo(),fo,e,t)},useMemoCache:Fo,useCacheRefresh:As};Vs.useEffectEvent=ps;var U={readContext:Qi,use:Po,useCallback:ys,useContext:Qi,useEffect:ds,useImperativeHandle:_s,useInsertionEffect:ms,useLayoutEffect:hs,useMemo:bs,useReducer:zo,useRef:ss,useState:function(){return zo(Io)},useDebugValue:vs,useDeferredValue:function(e,t){var n=jo();return fo===null?xs(n,e,t):Ss(n,fo.memoizedState,e,t)},useTransition:function(){var e=zo(Io)[0],t=jo().memoizedState;return[typeof e==`boolean`?e:No(e),t]},useSyncExternalStore:Bo,useId:ks,useHostTransitionStatus:Os,useFormState:as,useActionState:as,useOptimistic:function(e,t){var n=jo();return fo===null?(n.baseState=e,[e,n.queue.dispatch]):qo(n,fo,e,t)},useMemoCache:Fo,useCacheRefresh:As};U.useEffectEvent=ps;function Hs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:m({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Us={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gu(),i=Ba(r);i.payload=t,n!=null&&(i.callback=n),t=Va(e,i,r),t!==null&&(vu(t,e,r),Ha(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gu(),i=Ba(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Va(e,i,r),t!==null&&(vu(t,e,r),Ha(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gu(),r=Ba(n);r.tag=2,t!=null&&(r.callback=t),t=Va(e,r,n),t!==null&&(vu(t,e,n),Ha(t,e,n))}};function Ws(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!yr(n,r)||!yr(i,a):!0}function Gs(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Us.enqueueReplaceState(t,t.state,null)}function Ks(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=m({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function qs(e){Kr(e)}function eee(e){console.error(e)}function tee(e){Kr(e)}function Js(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Ys(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Xs(e,t,n){return n=Ba(n),n.tag=3,n.payload={element:null},n.callback=function(){Js(e,t)},n}function Zs(e){return e=Ba(e),e.tag=3,e}function Qs(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Ys(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Ys(t,n,r),typeof i!=`function`&&(ou===null?ou=new Set([this]):ou.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function $s(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Yi(t,n,a,!0),n=eo.current,n!==null){switch(n.tag){case 31:case 13:return to===null?Au():n.alternate===null&&ql===0&&(ql=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Sa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Yu(e,r,a)),!1;case 22:return n.flags|=65536,r===Sa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Yu(e,r,a)),!1}throw Error(i(435,n.tag))}return Yu(e,r,a),Au(),!1}if(ji)return t=eo.current,t===null?(r!==Pi&&(t=Error(i(423),{cause:r}),Vi(mi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=mi(r,n),a=Xs(e.stateNode,r,a),Ua(e,a),ql!==4&&(ql=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Pi&&(e=Error(i(422),{cause:r}),Vi(mi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=mi(o,n),$l===null?$l=[o]:$l.push(o),ql!==4&&(ql=2),t===null)return!0;r=mi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Xs(n.stateNode,r,e),Ua(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(ou===null||!ou.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Zs(a),Qs(a,e,n,r),Ua(n,a),!1}n=n.return}while(n!==null);return!1}var ec=Error(i(461)),tc=!1;function nc(e,t,n,r){t.child=e===null?Ia(t,null,n,r):Fa(t,e.child,n,r)}function rc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Zi(t),r=Co(e,t,n,o,a,i),s=Do(),e!==null&&!tc?(Oo(e,t,i),Dc(e,t,i)):(ji&&s&&Ei(t),t.flags|=1,nc(e,t,r,i),t.child)}function ic(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ai(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,ac(e,t,a,r,i)):(e=ci(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Oc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?yr:n,n(o,r)&&e.ref===t.ref)return Dc(e,t,i)}return t.flags|=1,e=oi(a,r),e.ref=t.ref,e.return=t,t.child=e}function ac(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(yr(a,r)&&e.ref===t.ref)if(tc=!1,t.pendingProps=r=a,Oc(e,i))e.flags&131072&&(tc=!0);else return t.lanes=e.lanes,Dc(e,t,i)}return pc(e,t,n,r,i)}function oc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return cc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&_a(t,a===null?null:a.cachePool),a===null?Qa():Za(t,a),io(t);else return r=t.lanes=536870912,cc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&_a(t,null),Qa(),ao(t)):(_a(t,a.cachePool),Za(t,a),ao(t),t.memoizedState=null);return nc(e,t,i,n),t.child}function sc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function cc(e,t,n,r,i){var a=ga();return a=a===null?null:{parent:ia._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&_a(t,null),Qa(),io(t),e!==null&&Yi(e,t,r,!0),t.childLanes=i,null}function lc(e,t){return t=Sc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function uc(e,t,n){return Fa(t,e.child,null,n),e=lc(t,t.pendingProps),e.flags|=2,oo(t),t.memoizedState=null,e}function dc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(ji){if(r.mode===`hidden`)return e=lc(t,r),t.lanes=536870912,sc(null,e);if(ro(t),(e=Ai)?(e=lf(e,Ni),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:xi===null?null:{id:Si,overflow:Ci},retryLane:536870912,hydrationErrors:null},n=di(e),n.return=t,t.child=n,ki=t,Ai=null)):e=null,e===null)throw Fi(t);return t.lanes=536870912,null}return lc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(ro(t),a)if(t.flags&256)t.flags&=-257,t=uc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(tc||Yi(e,t,n,!1),a=(n&e.childLanes)!==0,tc||a){if(r=Rl,r!==null&&(s=Xe(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,$r(e,s),vu(r,e,s),ec;Au(),t=uc(e,t,n)}else e=o.treeContext,Ai=pf(s.nextSibling),ki=t,ji=!0,Mi=null,Ni=!1,e!==null&&Oi(t,e),t=lc(t,r),t.flags|=4096;return t}return e=oi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function fc(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(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function pc(e,t,n,r,i){return Zi(t),n=Co(e,t,n,r,void 0,i),r=Do(),e!==null&&!tc?(Oo(e,t,i),Dc(e,t,i)):(ji&&r&&Ei(t),t.flags|=1,nc(e,t,n,i),t.child)}function mc(e,t,n,r,i,a){return Zi(t),t.updateQueue=null,n=To(t,r,n,i),wo(e),r=Do(),e!==null&&!tc?(Oo(e,t,a),Dc(e,t,a)):(ji&&r&&Ei(t),t.flags|=1,nc(e,t,n,a),t.child)}function hc(e,t,n,r,i){if(Zi(t),t.stateNode===null){var a=ni,o=n.contextType;typeof o==`object`&&o&&(a=Qi(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Us,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ra(t),o=n.contextType,a.context=typeof o==`object`&&o?Qi(o):ni,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Hs(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Us.enqueueReplaceState(a,a.state,null),Ka(t,r,a,i),Ga(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Ks(n,s);a.props=c;var l=a.context,u=n.contextType;o=ni,typeof u==`object`&&u&&(o=Qi(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Gs(t,a,r,o),La=!1;var f=t.memoizedState;a.state=f,Ka(t,r,a,i),Ga(),l=t.memoizedState,s||f!==l||La?(typeof d==`function`&&(Hs(t,n,d,r),l=t.memoizedState),(c=La||Ws(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,za(e,t),o=t.memoizedProps,u=Ks(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ni,typeof l==`object`&&l&&(c=Qi(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Gs(t,a,r,c),La=!1,f=t.memoizedState,a.state=f,Ka(t,r,a,i),Ga();var p=t.memoizedState;o!==d||f!==p||La||e!==null&&e.dependencies!==null&&Xi(e.dependencies)?(typeof s==`function`&&(Hs(t,n,s,r),p=t.memoizedState),(u=La||Ws(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Xi(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,fc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Fa(t,e.child,null,i),t.child=Fa(t,null,n,i)):nc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Dc(e,t,i),e}function gc(e,t,n,r){return zi(),t.flags|=256,nc(e,t,n,r),t.child}var _c={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vc(e){return{baseLanes:e,cachePool:va()}}function yc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Zl),e}function bc(e,t,n){var r=t.pendingProps,a=!1,o=!!(t.flags&128),s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:!!(so.current&2)),s&&(a=!0,t.flags&=-129),s=!!(t.flags&32),t.flags&=-33,e===null){if(ji){if(a?no(t):ao(t),(e=Ai)?(e=lf(e,Ni),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:xi===null?null:{id:Si,overflow:Ci},retryLane:536870912,hydrationErrors:null},n=di(e),n.return=t,t.child=n,ki=t,Ai=null)):e=null,e===null)throw Fi(t);return df(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(ao(t),a=t.mode,c=Sc({mode:`hidden`,children:c},a),r=li(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=vc(n),r.childLanes=yc(e,s,n),t.memoizedState=_c,sc(null,r)):(no(t),xc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(no(t),t.flags&=-257,t=Cc(e,t,n)):t.memoizedState===null?(ao(t),c=r.fallback,a=t.mode,r=Sc({mode:`visible`,children:r.children},a),c=li(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Fa(t,e.child,null,n),r=t.child,r.memoizedState=vc(n),r.childLanes=yc(e,s,n),t.memoizedState=_c,t=sc(null,r)):(ao(t),t.child=e.child,t.flags|=128,t=null);else if(no(t),df(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Vi({value:r,source:null,stack:null}),t=Cc(e,t,n)}else if(tc||Yi(e,t,n,!1),s=(n&e.childLanes)!==0,tc||s){if(s=Rl,s!==null&&(r=Xe(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,$r(e,r),vu(s,e,r),ec;uf(c)||Au(),t=Cc(e,t,n)}else uf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ai=pf(c.nextSibling),ki=t,ji=!0,Mi=null,Ni=!1,e!==null&&Oi(t,e),t=xc(t,r.children),t.flags|=4096);return t}return a?(ao(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=oi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=li(c,a,n,null),c.flags|=2):c=oi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,sc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=vc(n):(a=c.cachePool,a===null?a=va():(l=ia._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=yc(e,s,n),t.memoizedState=_c,sc(e.child,r)):(no(t),n=e.child,e=n.sibling,n=oi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function xc(e,t){return t=Sc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Sc(e,t){return e=ii(22,e,null,t),e.lanes=0,e}function Cc(e,t,n){return Fa(t,e.child,null,n),e=xc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function wc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qi(e.return,t,n)}function Tc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Ec(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=so.current,s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,te(so,o),nc(e,t,r,n),r=ji?vi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&wc(e,n,t);else if(e.tag===19)wc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&co(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Tc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&co(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Tc(t,!0,n,null,a,r);break;case`together`:Tc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Dc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Yi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=oi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=oi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Oc(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&Xi(e)))}function kc(e,t,n){switch(t.tag){case 3:oe(t,t.stateNode.containerInfo),Gi(t,ia,e.memoizedState.cache),zi();break;case 27:case 5:se(t);break;case 4:oe(t,t.stateNode.containerInfo);break;case 10:Gi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ro(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(no(t),e=Dc(e,t,n),e===null?null:e.sibling):bc(e,t,n):(no(t),t.flags|=128,null);no(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=(Yi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Ec(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),te(so,so.current),r)break;return null;case 22:return t.lanes=0,oc(e,t,n,t.pendingProps);case 24:Gi(t,ia,e.memoizedState.cache)}return Dc(e,t,n)}function Ac(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)tc=!0;else{if(!Oc(e,n)&&!(t.flags&128))return tc=!1,kc(e,t,n);tc=!!(e.flags&131072)}else tc=!1,ji&&t.flags&1048576&&Ti(t,vi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ta(t.elementType),t.type=e,typeof e==`function`)ai(e)?(r=Ks(e,r),t.tag=1,t=hc(null,t,e,r,n)):(t.tag=0,t=pc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=rc(null,t,e,r,n);break a}if(a===D){t.tag=14,t=ic(null,t,e,r,n);break a}}throw t=P(e)||e,Error(i(306,t,``))}}return t;case 0:return pc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Ks(r,t.pendingProps),hc(e,t,r,a,n);case 3:a:{if(oe(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,za(e,t),Ka(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Gi(t,ia,r),r!==o.cache&&Ji(t,[ia],n,!0),Ga(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=gc(e,t,r,n);break a}else if(r!==a){a=mi(Error(i(424)),t),Vi(a),t=gc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ai=pf(e.firstChild),ki=t,ji=!0,Mi=null,Ni=!0,n=Ia(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(zi(),r===a){t=Dc(e,t,n);break a}nc(e,t,r,n)}t=t.child}return t;case 26:return fc(e,t),e===null?(n=Pf(t.type,null,t.pendingProps,null))?t.memoizedState=n:ji||(n=t.type,e=t.pendingProps,r=Kd(ie.current).createElement(n),r[nt]=t,r[rt]=e,Bd(r,n,e),ht(r),t.stateNode=r):t.memoizedState=Pf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&ji&&(r=t.stateNode=_f(t.type,t.pendingProps,ie.current),ki=t,Ni=!0,a=Ai,rf(t.type)?(mf=a,Ai=pf(r.firstChild)):Ai=a),nc(e,t,t.pendingProps.children,n),fc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ji&&((a=r=Ai)&&(r=sf(r,t.type,t.pendingProps,Ni),r===null?a=!1:(t.stateNode=r,ki=t,Ai=pf(r.firstChild),Ni=!1,a=!0)),a||Fi(t)),se(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Yd(a,o)?r=null:s!==null&&Yd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Co(e,t,Eo,null,null,n),np._currentValue=a),fc(e,t),nc(e,t,r,n),t.child;case 6:return e===null&&ji&&((e=n=Ai)&&(n=cf(n,t.pendingProps,Ni),n===null?e=!1:(t.stateNode=n,ki=t,Ai=null,e=!0)),e||Fi(t)),null;case 13:return bc(e,t,n);case 4:return oe(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fa(t,null,r,n):nc(e,t,r,n),t.child;case 11:return rc(e,t,t.type,t.pendingProps,n);case 7:return nc(e,t,t.pendingProps,n),t.child;case 8:return nc(e,t,t.pendingProps.children,n),t.child;case 12:return nc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Gi(t,t.type,r.value),nc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,Zi(t),a=Qi(a),r=r(a),t.flags|=1,nc(e,t,r,n),t.child;case 14:return ic(e,t,t.type,t.pendingProps,n);case 15:return ac(e,t,t.type,t.pendingProps,n);case 19:return Ec(e,t,n);case 31:return dc(e,t,n);case 22:return oc(e,t,n,t.pendingProps);case 24:return Zi(t),r=Qi(ia),e===null?(a=ga(),a===null&&(a=Rl,o=aa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ra(t),Gi(t,ia,a)):((e.lanes&n)!==0&&(za(e,t),Ka(t,null,null,n),Ga()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Gi(t,ia,r),r!==a.cache&&Ji(t,[ia],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Gi(t,ia,r))),nc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function jc(e){e.flags|=4}function Mc(e,t,n,r,i){if((t=!!(e.mode&32))&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Du())e.flags|=8192;else throw Ea=Sa,ba}else e.flags&=-16777217}function Nc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Yf(t))if(Du())e.flags|=8192;else throw Ea=Sa,ba}function Pc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:We(),e.lanes|=t,Ql|=t)}function Fc(e,t){if(!ji)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 r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ic(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Lc(e,t,n){var r=t.pendingProps;switch(Di(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ic(t),null;case 1:return Ic(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ki(ia),H(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ri(t)?jc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Bi())),Ic(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(jc(t),o===null?(Ic(t),Mc(t,a,null,r,n)):(Ic(t),Nc(t,o))):o?o===e.memoizedState?(Ic(t),t.flags&=-16777217):(jc(t),Ic(t),Nc(t,o)):(e=e.memoizedProps,e!==r&&jc(t),Ic(t),Mc(t,a,e,r,n)),null;case 27:if(ce(t),n=ie.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&jc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Ic(t),null}e=ne.current,Ri(t)?Ii(t,e):(e=_f(a,r,n),t.stateNode=e,jc(t))}return Ic(t),null;case 5:if(ce(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&jc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Ic(t),null}if(o=ne.current,Ri(t))Ii(t,o);else{var s=Kd(ie.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[nt]=t,o[rt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Bd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&jc(t)}}return Ic(t),Mc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&jc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ie.current,Ri(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=ki,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[nt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Ld(e.nodeValue,n)),e||Fi(t,!0)}else e=Kd(e).createTextNode(r),e[nt]=t,t.stateNode=e}return Ic(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ri(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[nt]=t}else zi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ic(t),e=!1}else n=Bi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(oo(t),t):(oo(t),null);if(t.flags&128)throw Error(i(558))}return Ic(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ri(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[nt]=t}else zi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ic(t),a=!1}else a=Bi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(oo(t),t):(oo(t),null)}return oo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Pc(t,t.updateQueue),Ic(t),null);case 4:return H(),e===null&&Dd(t.stateNode.containerInfo),Ic(t),null;case 10:return Ki(t.type),Ic(t),null;case 19:if(V(so),r=t.memoizedState,r===null)return Ic(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null)if(a)Fc(r,!1);else{if(ql!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=co(e),o!==null){for(t.flags|=128,Fc(r,!1),e=o.updateQueue,t.updateQueue=e,Pc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)si(n,e),n=n.sibling;return te(so,so.current&1|2),ji&&wi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&xe()>iu&&(t.flags|=128,a=!0,Fc(r,!1),t.lanes=4194304)}else{if(!a)if(e=co(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Pc(t,e),Fc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!ji)return Ic(t),null}else 2*xe()-r.renderingStartTime>iu&&n!==536870912&&(t.flags|=128,a=!0,Fc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Ic(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=xe(),e.sibling=null,n=so.current,te(so,a?n&1|2:n&1),ji&&wi(t,r.treeForkCount),e);case 22:case 23:return oo(t),$a(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Ic(t),t.subtreeFlags&6&&(t.flags|=8192)):Ic(t),n=t.updateQueue,n!==null&&Pc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&V(ha),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ki(ia),Ic(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Rc(e,t){switch(Di(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ki(ia),H(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ce(t),null;case 31:if(t.memoizedState!==null){if(oo(t),t.alternate===null)throw Error(i(340));zi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(oo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));zi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(so),null;case 4:return H(),null;case 10:return Ki(t.type),null;case 22:case 23:return oo(t),$a(),e!==null&&V(ha),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ki(ia),null;case 25:return null;default:return null}}function zc(e,t){switch(Di(t),t.tag){case 3:Ki(ia),H();break;case 26:case 27:case 5:ce(t);break;case 4:H();break;case 31:t.memoizedState!==null&&oo(t);break;case 13:oo(t);break;case 19:V(so);break;case 10:Ki(t.type);break;case 22:case 23:oo(t),$a(),e!==null&&V(ha);break;case 24:Ki(ia)}}function Bc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Ju(t,t.return,e)}}function Vc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Ju(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Ju(t,t.return,e)}}function Hc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ja(t,n)}catch(t){Ju(e,e.return,t)}}}function Uc(e,t,n){n.props=Ks(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Ju(e,t,n)}}function Wc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Ju(e,t,n)}}function Gc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Ju(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Ju(e,t,n)}else n.current=null}function Kc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Ju(e,e.return,t)}}function qc(e,t,n){try{var r=e.stateNode;Vd(r,e.type,n,t),r[rt]=t}catch(t){Ju(e,e.return,t)}}function Jc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&rf(e.type)||e.tag===4}function Yc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Jc(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&&rf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xc(e,t,n){var r=e.tag;if(r===5||r===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=Yt));else if(r!==4&&(r===27&&rf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Xc(e,t,n),e=e.sibling;e!==null;)Xc(e,t,n),e=e.sibling}function Zc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&rf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Zc(e,t,n),e=e.sibling;e!==null;)Zc(e,t,n),e=e.sibling}function Qc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Bd(t,r,n),t[nt]=e,t[rt]=n}catch(t){Ju(e,e.return,t)}}var $c=!1,el=!1,tl=!1,nl=typeof WeakSet==`function`?WeakSet:Set,rl=null;function nee(e,t){if(e=e.containerInfo,Wd=dp,e=Cr(e),wr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Gd={focusedElem:e,selectionRange:n},dp=!1,rl=t;rl!==null;)if(t=rl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,rl=e;else for(;rl!==null;){switch(t=rl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Ks(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Ju(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)of(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:of(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,rl=e;break}rl=t.return}}function il(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:yl(e,n),r&4&&Bc(5,n);break;case 1:if(yl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Ju(n,n.return,e)}else{var i=Ks(n.type,t.memoizedProps);t=t.memoizedState;
vendor: 5,411 bytes, line 9
9try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Ju(n,n.return,e)}}r&64&&Hc(n),r&512&&Wc(n,n.return);break;case 3:if(yl(e,n),r&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{Ja(e,t)}catch(e){Ju(n,n.return,e)}}break;case 27:t===null&&r&4&&Qc(n);case 26:case 5:yl(e,n),t===null&&r&4&&Kc(n),r&512&&Wc(n,n.return);break;case 12:yl(e,n);break;case 31:yl(e,n),r&4&&ul(e,n);break;case 13:yl(e,n),r&4&&dl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Qu.bind(null,n),ff(e,n))));break;case 22:if(r=n.memoizedState!==null||$c,!r){t=t!==null&&t.memoizedState!==null||el,i=$c;var a=el;$c=r,(el=t)&&!a?xl(e,n,!!(n.subtreeFlags&8772)):yl(e,n),$c=i,el=a}break;case 30:break;default:yl(e,n)}}function al(e){var t=e.alternate;t!==null&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ut(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 ol=null,sl=!1;function cl(e,t,n){for(n=n.child;n!==null;)ll(e,t,n),n=n.sibling}function ll(e,t,n){if(je&&typeof je.onCommitFiberUnmount==`function`)try{je.onCommitFiberUnmount(Ae,n)}catch{}switch(n.tag){case 26:el||Gc(n,t),cl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:el||Gc(n,t);var r=ol,i=sl;rf(n.type)&&(ol=n.stateNode,sl=!1),cl(e,t,n),vf(n.stateNode),ol=r,sl=i;break;case 5:el||Gc(n,t);case 6:if(r=ol,i=sl,ol=null,cl(e,t,n),ol=r,sl=i,ol!==null)if(sl)try{(ol.nodeType===9?ol.body:ol.nodeName===`HTML`?ol.ownerDocument.body:ol).removeChild(n.stateNode)}catch(e){Ju(n,t,e)}else try{ol.removeChild(n.stateNode)}catch(e){Ju(n,t,e)}break;case 18:ol!==null&&(sl?(e=ol,af(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Lp(e)):af(ol,n.stateNode));break;case 4:r=ol,i=sl,ol=n.stateNode.containerInfo,sl=!0,cl(e,t,n),ol=r,sl=i;break;case 0:case 11:case 14:case 15:Vc(2,n,t),el||Vc(4,n,t),cl(e,t,n);break;case 1:el||(Gc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Uc(n,t,r)),cl(e,t,n);break;case 21:cl(e,t,n);break;case 22:el=(r=el)||n.memoizedState!==null,cl(e,t,n),el=r;break;default:cl(e,t,n)}}function ul(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Lp(e)}catch(e){Ju(t,t.return,e)}}}function dl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Lp(e)}catch(e){Ju(t,t.return,e)}}function fl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new nl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new nl),t;default:throw Error(i(435,e.tag))}}function pl(e,t){var n=fl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=$u.bind(null,e,t);t.then(r,r)}})}function ml(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(rf(c.type)){ol=c.stateNode,sl=!1;break a}break;case 5:ol=c.stateNode,sl=!1;break a;case 3:case 4:ol=c.stateNode.containerInfo,sl=!0;break a}c=c.return}if(ol===null)throw Error(i(160));ll(o,s,a),ol=null,sl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)gl(t,e),t=t.sibling}var hl=null;function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ml(t,e),_l(e),r&4&&(Vc(3,e,e.return),Bc(3,e),Vc(5,e,e.return));break;case 1:ml(t,e),_l(e),r&512&&(el||n===null||Gc(n,n.return)),r&64&&$c&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=hl;if(ml(t,e),_l(e),r&512&&(el||n===null||Gc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[lt]||o[nt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Bd(o,r,n),o[nt]=e,ht(o),r=o;break a;case`link`:var s=Kf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Bd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Kf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Bd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[nt]=e,ht(o),r=o}e.stateNode=r}else qf(a,e.type,e.stateNode);else e.stateNode=Vf(a,r,e.memoizedProps);
vendor: 33,105 bytes, lines 9-10
9else o===r?r===null&&e.stateNode!==null&&qc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?qf(a,e.type,e.stateNode):Vf(a,r,e.memoizedProps))}break;case 27:ml(t,e),_l(e),r&512&&(el||n===null||Gc(n,n.return)),n!==null&&r&4&&qc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(ml(t,e),_l(e),r&512&&(el||n===null||Gc(n,n.return)),e.flags&32){a=e.stateNode;try{Vt(a,``)}catch(t){Ju(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,qc(e,a,n===null?a:n.memoizedProps)),r&1024&&(tl=!0);break;case 6:if(ml(t,e),_l(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Ju(e,e.return,t)}}break;case 3:if(Gf=null,a=hl,hl=xf(t.containerInfo),ml(t,e),hl=a,_l(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Lp(t.containerInfo)}catch(t){Ju(e,e.return,t)}tl&&(tl=!1,vl(e));break;case 4:r=hl,hl=xf(e.stateNode.containerInfo),ml(t,e),_l(e),hl=r;break;case 12:ml(t,e),_l(e);break;case 31:ml(t,e),_l(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,pl(e,r)));break;case 13:ml(t,e),_l(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(nu=xe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,pl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=$c,d=el;if($c=u||a,el=d||l,ml(t,e),el=d,$c=u,_l(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||$c||el||bl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Ju(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Ju(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?iee(m,!0):iee(l.stateNode,!1)}catch(e){Ju(l,l.return,e)}}}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 a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,pl(e,n))));break;case 19:ml(t,e),_l(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,pl(e,r)));break;case 30:break;case 21:break;default:ml(t,e),_l(e)}}function _l(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Jc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Zc(e,Yc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Vt(o,``),n.flags&=-33),Zc(e,Yc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Xc(e,Yc(e),s);break;default:throw Error(i(161))}}catch(t){Ju(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function vl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;vl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function yl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)il(e,t.alternate,t),t=t.sibling}function bl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Vc(4,t,t.return),bl(t);break;case 1:Gc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Uc(t,t.return,n),bl(t);break;case 27:vf(t.stateNode);case 26:case 5:Gc(t,t.return),bl(t);break;case 22:t.memoizedState===null&&bl(t);break;case 30:bl(t);break;default:bl(t)}e=e.sibling}}function xl(e,t,n){for(n&&=!!(t.subtreeFlags&8772),t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:xl(i,a,n),Bc(4,a);break;case 1:if(xl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Ju(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)qa(c[i],s)}catch(e){Ju(r,r.return,e)}}n&&o&64&&Hc(a),Wc(a,a.return);break;case 27:Qc(a);case 26:case 5:xl(i,a,n),n&&r===null&&o&4&&Kc(a),Wc(a,a.return);break;case 12:xl(i,a,n);break;case 31:xl(i,a,n),n&&o&4&&ul(i,a);break;case 13:xl(i,a,n),n&&o&4&&dl(i,a);break;case 22:a.memoizedState===null&&xl(i,a,n),Wc(a,a.return);break;case 30:break;default:xl(i,a,n)}t=t.sibling}}function Sl(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&&oa(n))}function Cl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&oa(e))}function wl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Tl(e,t,n,r),t=t.sibling}function Tl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:wl(e,t,n,r),i&2048&&Bc(9,t);break;case 1:wl(e,t,n,r);break;case 3:wl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&oa(e)));break;case 12:if(i&2048){wl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Ju(t,t.return,e)}}else wl(e,t,n,r);break;case 31:wl(e,t,n,r);break;case 13:wl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?wl(e,t,n,r):(a._visibility|=2,El(e,t,n,r,!!(t.subtreeFlags&10256)||!1)):a._visibility&2?wl(e,t,n,r):Dl(e,t),i&2048&&Sl(o,t);break;case 24:wl(e,t,n,r),i&2048&&Cl(t.alternate,t);break;default:wl(e,t,n,r)}}function El(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:El(a,o,s,c,i),Bc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,El(a,o,s,c,i)):u._visibility&2?El(a,o,s,c,i):Dl(a,o),i&&l&2048&&Sl(o.alternate,o);break;case 24:El(a,o,s,c,i),i&&l&2048&&Cl(o.alternate,o);break;default:El(a,o,s,c,i)}t=t.sibling}}function Dl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Dl(n,r),i&2048&&Sl(r.alternate,r);break;case 24:Dl(n,r),i&2048&&Cl(r.alternate,r);break;default:Dl(n,r)}t=t.sibling}}var Ol=8192;function kl(e,t,n){if(e.subtreeFlags&Ol)for(e=e.child;e!==null;)Al(e,t,n),e=e.sibling}function Al(e,t,n){switch(e.tag){case 26:kl(e,t,n),e.flags&Ol&&e.memoizedState!==null&&Xf(n,hl,e.memoizedState,e.memoizedProps);break;case 5:kl(e,t,n);break;case 3:case 4:var r=hl;hl=xf(e.stateNode.containerInfo),kl(e,t,n),hl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ol,Ol=16777216,kl(e,t,n),Ol=r):kl(e,t,n));break;default:kl(e,t,n)}}function jl(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 Ml(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];rl=r,Fl(r,e)}jl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Nl(e),e=e.sibling}function Nl(e){switch(e.tag){case 0:case 11:case 15:Ml(e),e.flags&2048&&Vc(9,e,e.return);break;case 3:Ml(e);break;case 12:Ml(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Pl(e)):Ml(e);break;default:Ml(e)}}function Pl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];rl=r,Fl(r,e)}jl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Vc(8,t,t.return),Pl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Pl(t));break;default:Pl(t)}e=e.sibling}}function Fl(e,t){for(;rl!==null;){var n=rl;switch(n.tag){case 0:case 11:case 15:Vc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:oa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,rl=r;else a:for(n=e;rl!==null;){r=rl;var i=r.sibling,a=r.return;if(al(r),r===n){rl=null;break a}if(i!==null){i.return=a,rl=i;break a}rl=a}}}var Il={getCacheForType:function(e){var t=Qi(ia),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Qi(ia).controller.signal}},ree=typeof WeakMap==`function`?WeakMap:Map,Ll=0,Rl=null,zl=null,Bl=0,Vl=0,Hl=null,Ul=!1,Wl=!1,Gl=!1,Kl=0,ql=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=0,$l=null,eu=null,tu=!1,nu=0,ru=0,iu=1/0,au=null,ou=null,su=0,cu=null,lu=null,uu=0,du=0,fu=null,pu=null,mu=0,hu=null;function gu(){return Ll&2&&Bl!==0?Bl&-Bl:I.T===null?$e():hd()}function _u(){if(Zl===0)if(!(Bl&536870912)||ji){var e=Re;Re<<=1,!(Re&3932160)&&(Re=262144),Zl=e}else Zl=536870912;return e=eo.current,e!==null&&(e.flags|=32),Zl}function vu(e,t,n){(e===Rl&&(Vl===2||Vl===9)||e.cancelPendingCommit!==null)&&(Tu(e,0),Su(e,Bl,Zl,!1)),Ke(e,n),(!(Ll&2)||e!==Rl)&&(e===Rl&&(!(Ll&2)&&(Yl|=n),ql===4&&Su(e,Bl,Zl,!1)),sd(e))}function yu(e,t,n){if(Ll&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||He(e,t),a=r?Nu(e,t):ju(e,t,!0),o=r;do{if(a===0){Wl&&!r&&Su(e,t,0,!1);break}if(n=e.current.alternate,o&&!xu(n)){a=ju(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=$l;var l=c.current.memoizedState.isDehydrated;if(l&&(Tu(c,s).flags|=256),s=ju(c,s,!1),s!==2){if(Gl&&!l){c.errorRecoveryDisabledLanes|=o,Yl|=o,a=4;break a}o=eu,eu=a,o!==null&&(eu===null?eu=o:eu.push.apply(eu,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Tu(e,0),Su(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:Su(r,t,Zl,!Ul);break a;case 2:eu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=nu+300-xe(),10<a)){if(Su(r,t,Zl,!Ul),Ve(r,0,!0)!==0)break a;uu=t,r.timeoutHandle=Qd(bu.bind(null,r,n,eu,au,tu,t,Zl,Yl,Ql,Ul,o,`Throttled`,-0,0),a);break a}bu(r,n,eu,au,tu,t,Zl,Yl,Ql,Ul,o,null,-0,0)}break}while(1);sd(e)}function bu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){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:Yt},Al(t,a,d);var m=(a&62914560)===a?nu-xe():(a&4194048)===a?ru-xe():0;if(m=Qf(d,m),m!==null){uu=a,e.cancelPendingCommit=m(Bu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Su(e,a,o,!l);return}}Bu(e,t,a,n,r,i,o,s,c)}function xu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!vr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Su(e,t,n,r){t&=~Xl,t&=~Yl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ne(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Je(e,n,t)}function Cu(){return Ll&6?!0:(cd(0,!1),!1)}function wu(){if(zl!==null){if(Vl===0)var e=zl.return;else e=zl,Wi=Ui=null,ko(e),ka=null,Aa=0,e=zl;for(;e!==null;)zc(e.alternate,e),e=e.return;zl=null}}function Tu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,$d(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),uu=0,wu(),Rl=e,zl=n=oi(e.current,null),Bl=t,Vl=0,Hl=null,Ul=!1,Wl=He(e,t),Gl=!1,Ql=Zl=Xl=Yl=Jl=ql=0,eu=$l=null,tu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ne(r),a=1<<i;t|=e[i],r&=~a}return Kl=t,Xr(),n}function Eu(e,t){uo=null,I.H=zs,t===ya||t===xa?(t=Da(),Vl=3):t===ba?(t=Da(),Vl=4):Vl=t===ec?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Hl=t,zl===null&&(ql=1,Js(e,mi(t,e.current)))}function Du(){var e=eo.current;return e===null?!0:(Bl&4194048)===Bl?to===null:(Bl&62914560)===Bl||Bl&536870912?e===to:!1}function Ou(){var e=I.H;return I.H=zs,e===null?zs:e}function ku(){var e=I.A;return I.A=Il,e}function Au(){ql=4,Ul||(Bl&4194048)!==Bl&&eo.current!==null||(Wl=!0),!(Jl&134217727)&&!(Yl&134217727)||Rl===null||Su(Rl,Bl,Zl,!1)}function ju(e,t,n){var r=Ll;Ll|=2;var i=Ou(),a=ku();(Rl!==e||Bl!==t)&&(au=null,Tu(e,t)),t=!1;var o=ql;a:do try{if(Vl!==0&&zl!==null){var s=zl,c=Hl;switch(Vl){case 8:wu(),o=6;break a;case 3:case 2:case 9:case 6:eo.current===null&&(t=!0);var l=Vl;if(Vl=0,Hl=null,Lu(e,s,c,l),n&&Wl){o=0;break a}break;default:l=Vl,Vl=0,Hl=null,Lu(e,s,c,l)}}Mu(),o=ql;break}catch(t){Eu(e,t)}while(1);return t&&e.shellSuspendCounter++,Wi=Ui=null,Ll=r,I.H=i,I.A=a,zl===null&&(Rl=null,Bl=0,Xr()),o}function Mu(){for(;zl!==null;)Fu(zl)}function Nu(e,t){var n=Ll;Ll|=2;var r=Ou(),a=ku();Rl!==e||Bl!==t?(au=null,iu=xe()+500,Tu(e,t)):Wl=He(e,t);a:do try{if(Vl!==0&&zl!==null){t=zl;var o=Hl;b:switch(Vl){case 1:Vl=0,Hl=null,Lu(e,t,o,1);break;case 2:case 9:if(Ca(o)){Vl=0,Hl=null,Iu(t);break}t=function(){Vl!==2&&Vl!==9||Rl!==e||(Vl=7),sd(e)},o.then(t,t);break a;case 3:Vl=7;break a;case 4:Vl=5;break a;case 7:Ca(o)?(Vl=0,Hl=null,Iu(t)):(Vl=0,Hl=null,Lu(e,t,o,7));break;case 5:var s=null;switch(zl.tag){case 26:s=zl.memoizedState;case 5:case 27:var c=zl;if(s?Yf(s):c.stateNode.complete){Vl=0,Hl=null;var l=c.sibling;if(l!==null)zl=l;else{var u=c.return;u===null?zl=null:(zl=u,Ru(u))}break b}}Vl=0,Hl=null,Lu(e,t,o,5);break;case 6:Vl=0,Hl=null,Lu(e,t,o,6);break;case 8:wu(),ql=6;break a;default:throw Error(i(462))}}Pu();break}catch(t){Eu(e,t)}while(1);return Wi=Ui=null,I.H=r,I.A=a,Ll=n,zl===null?(Rl=null,Bl=0,Xr(),ql):0}function Pu(){for(;zl!==null&&!ye();)Fu(zl)}function Fu(e){var t=Ac(e.alternate,e,Kl);e.memoizedProps=e.pendingProps,t===null?Ru(e):zl=t}function Iu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=mc(n,t,t.pendingProps,t.type,void 0,Bl);break;case 11:t=mc(n,t,t.pendingProps,t.type.render,t.ref,Bl);break;case 5:ko(t);default:zc(n,t),t=zl=si(t,Kl),t=Ac(n,t,Kl)}e.memoizedProps=e.pendingProps,t===null?Ru(e):zl=t}function Lu(e,t,n,r){Wi=Ui=null,ko(t),ka=null,Aa=0;var i=t.return;try{if($s(e,i,t,n,Bl)){ql=1,Js(e,mi(n,e.current)),zl=null;return}}catch(t){if(i!==null)throw zl=i,t;ql=1,Js(e,mi(n,e.current)),zl=null;return}t.flags&32768?(ji||r===1?e=!0:Wl||Bl&536870912?e=!1:(Ul=e=!0,(r===2||r===9||r===3||r===6)&&(r=eo.current,r!==null&&r.tag===13&&(r.flags|=16384))),zu(t,e)):Ru(t)}function Ru(e){var t=e;do{if(t.flags&32768){zu(t,Ul);return}e=t.return;var n=Lc(t.alternate,t,Kl);if(n!==null){zl=n;return}if(t=t.sibling,t!==null){zl=t;return}zl=t=e}while(t!==null);ql===0&&(ql=5)}function zu(e,t){do{var n=Rc(e.alternate,e);if(n!==null){n.flags&=32767,zl=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){zl=e;return}zl=e=n}while(e!==null);ql=6,zl=null}function Bu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Gu();while(su!==0);if(Ll&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Yr,qe(e,n,o,s,c,l),e===Rl&&(zl=Rl=null,Bl=0),lu=t,cu=e,uu=n,du=o,fu=a,pu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,ed(Te,function(){return Ku(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=I.T,I.T=null,a=L.p,L.p=2,s=Ll,Ll|=4;try{nee(e,t,n)}finally{Ll=s,L.p=a,I.T=r}}su=1,Vu(),Hu(),Uu()}}function Vu(){if(su===1){su=0;var e=cu,t=lu,n=!!(t.flags&13878);if(t.subtreeFlags&13878||n){n=I.T,I.T=null;var r=L.p;L.p=2;var i=Ll;Ll|=4;try{gl(t,e);var a=Gd,o=Cr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Sr(s.ownerDocument.documentElement,s)){if(c!==null&&wr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=xr(s,h),v=xr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}dp=!!Wd,Gd=Wd=null}finally{Ll=i,L.p=r,I.T=n}}e.current=t,su=2}}function Hu(){if(su===2){su=0;var e=cu,t=lu,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=I.T,I.T=null;var r=L.p;L.p=2;var i=Ll;Ll|=4;try{il(e,t.alternate,t)}finally{Ll=i,L.p=r,I.T=n}}su=3}}function Uu(){if(su===4||su===3){su=0,be();var e=cu,t=lu,n=uu,r=pu;t.subtreeFlags&10256||t.flags&10256?su=5:(su=0,lu=cu=null,Wu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(ou=null),Qe(n),t=t.stateNode,je&&typeof je.onCommitFiberRoot==`function`)try{je.onCommitFiberRoot(Ae,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=I.T,i=L.p,L.p=2,I.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{I.T=t,L.p=i}}uu&3&&Gu(),sd(e),i=e.pendingLanes,n&261930&&i&42?e===hu?mu++:(mu=0,hu=e):mu=0,cd(0,!1)}}function Wu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,oa(t)))}function Gu(){return Vu(),Hu(),Uu(),Ku()}function Ku(){if(su!==5)return!1;var e=cu,t=du;du=0;var n=Qe(uu),r=I.T,a=L.p;try{L.p=32>n?32:n,I.T=null,n=fu,fu=null;var o=cu,s=uu;if(su=0,lu=cu=null,uu=0,Ll&6)throw Error(i(331));var c=Ll;if(Ll|=4,Nl(o.current),Tl(o,o.current,s,n),Ll=c,cd(0,!1),je&&typeof je.onPostCommitFiberRoot==`function`)try{je.onPostCommitFiberRoot(Ae,o)}catch{}return!0}finally{L.p=a,I.T=r,Wu(e,t)}}function qu(e,t,n){t=mi(n,t),t=Xs(e.stateNode,t,2),e=Va(e,t,2),e!==null&&(Ke(e,2),sd(e))}function Ju(e,t,n){if(e.tag===3)qu(e,e,n);else for(;t!==null;){if(t.tag===3){qu(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(ou===null||!ou.has(r))){e=mi(n,e),n=Zs(2),r=Va(t,n,2),r!==null&&(Qs(n,r,t,e),Ke(r,2),sd(r));break}}t=t.return}}function Yu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ree;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Gl=!0,i.add(n),e=Xu.bind(null,e,t,n),t.then(e,e))}function Xu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Rl===e&&(Bl&n)===n&&(ql===4||ql===3&&(Bl&62914560)===Bl&&300>xe()-nu?!(Ll&2)&&Tu(e,0):Xl|=n,Ql===Bl&&(Ql=0)),sd(e)}function Zu(e,t){t===0&&(t=We()),e=$r(e,t),e!==null&&(Ke(e,t),sd(e))}function Qu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zu(e,n)}function $u(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Zu(e,n)}function ed(e,t){return _e(e,t)}var td=null,nd=null,rd=!1,id=!1,ad=!1,od=0;function sd(e){e!==nd&&e.next===null&&(nd===null?td=nd=e:nd=nd.next=e),id=!0,rd||(rd=!0,md())}function cd(e,t){if(!ad&&id){ad=!0;do for(var n=!1,r=td;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ne(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,pd(r,a))}else a=Bl,a=Ve(r,r===Rl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||He(r,a)||(n=!0,pd(r,a));r=r.next}while(n);ad=!1}}function ld(){ud()}function ud(){id=rd=!1;var e=0;od!==0&&Zd()&&(e=od);for(var t=xe(),n=null,r=td;r!==null;){var i=r.next,a=dd(r,t);a===0?(r.next=null,n===null?td=i:n.next=i,i===null&&(nd=n)):(n=r,(e!==0||a&3)&&(id=!0)),r=i}su!==0&&su!==5||cd(e,!1),od!==0&&(od=0)}function dd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ne(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ue(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Rl,n=Bl,n=Ve(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Vl===2||Vl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&ve(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||He(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&ve(r),Qe(n)){case 2:case 8:n=we;break;case 32:n=Te;break;case 268435456:n=De;break;default:n=Te}return r=fd.bind(null,e),n=_e(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&ve(r),e.callbackPriority=2,e.callbackNode=null,2}function fd(e,t){if(su!==0&&su!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Gu()&&e.callbackNode!==n)return null;var r=Bl;return r=Ve(e,e===Rl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(yu(e,r,t),dd(e,xe()),e.callbackNode!=null&&e.callbackNode===n?fd.bind(null,e):null)}function pd(e,t){if(Gu())return null;yu(e,t,!0)}function md(){tf(function(){Ll&6?_e(Ce,ld):ud()})}function hd(){if(od===0){var e=la;e===0&&(e=Le,Le<<=1,!(Le&261888)&&(Le=256)),od=e}return od}function gd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Jt(``+e)}function _d(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 vd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=gd((i[rt]||null).action),o=r.submitter;o&&(t=(t=o[rt]||null)?gd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new _n(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(od!==0){var e=o?_d(i,o):new FormData(i);Ts(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?_d(i,o):new FormData(i),Ts(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var yd=0;yd<Wr.length;yd++){var bd=Wr[yd];Gr(bd.toLowerCase(),`on`+(bd[0].toUpperCase()+bd.slice(1)))}Gr(Ir,`onAnimationEnd`),Gr(Lr,`onAnimationIteration`),Gr(Rr,`onAnimationStart`),Gr(`dblclick`,`onDoubleClick`),Gr(`focusin`,`onFocus`),Gr(`focusout`,`onBlur`),Gr(zr,`onTransitionRun`),Gr(Br,`onTransitionStart`),Gr(Vr,`onTransitionCancel`),Gr(Hr,`onTransitionEnd`),yt(`onMouseEnter`,[`mouseout`,`mouseover`]),yt(`onMouseLeave`,[`mouseout`,`mouseover`]),yt(`onPointerEnter`,[`pointerout`,`pointerover`]),yt(`onPointerLeave`,[`pointerout`,`pointerover`]),vt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),vt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),vt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),vt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),vt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),vt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var xd=`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(` `),Sd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(xd));function Cd(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Kr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Kr(e)}i.currentTarget=null,a=c}}}}function wd(e,t){var n=t[at];n===void 0&&(n=t[at]=new Set);var r=e+`__bubble`;n.has(r)||(Od(t,e,2,!1),n.add(r))}function Td(e,t,n){var r=0;t&&(r|=4),Od(n,e,r,t)}var Ed=`_reactListening`+Math.random().toString(36).slice(2);function Dd(e){if(!e[Ed]){e[Ed]=!0,gt.forEach(function(t){t!==`selectionchange`&&(Sd.has(t)||Td(t,!1,e),Td(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ed]||(t[Ed]=!0,Td(`selectionchange`,!1,t))}}function Od(e,t,n,r){switch(vp(t)){case 2:var i=fp;break;case 8:i=pp;break;default:i=mp}n=i.bind(null,t,n,e),i=void 0,!on||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function kd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=dt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}nn(function(){var r=a,i=Zt(n),s=[];a:{var c=Ur.get(e);if(c!==void 0){var l=_n,u=e;switch(e){case`keypress`:if(fn(n)===0)break a;case`keydown`:case`keyup`:l=Fn;break;case`focusin`:u=`focus`,l=En;break;case`focusout`:u=`blur`,l=En;break;case`beforeblur`:case`afterblur`:l=En;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=wn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Tn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Ln;break;case Ir:case Lr:case Rr:l=Dn;break;case Hr:l=Rn;break;case`scroll`:case`scrollend`:l=yn;break;case`wheel`:l=zn;break;case`copy`:case`cut`:case`paste`:l=On;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=In;break;case`toggle`:case`beforetoggle`:l=Bn}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=rn(m,p),g!=null&&d.push(Ad(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==Xt&&(u=n.relatedTarget||n.fromElement)&&(dt(u)||u[it]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?dt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=wn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=In,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:pt(l),h=u==null?c:pt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,dt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Md,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Nd(s,c,l,d,!1),u!==null&&f!==null&&Nd(s,f,u,d,!0)}}a:{if(c=r?pt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=or;else if(er(c))if(sr)v=gr;else{v=mr;var y=pr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Gt(r.elementType)&&(v=or):v=hr;if(v&&=v(e,r)){tr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Lt(c,`number`,c.value)}switch(y=r?pt(r):window,e){case`focusin`:(er(y)||y.contentEditable===`true`)&&(Er=y,Dr=r,Or=null);break;case`focusout`:Or=Dr=Er=null;break;case`mousedown`:kr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:kr=!1,Ar(s,n,i);break;case`selectionchange`:if(Tr)break;case`keydown`:case`keyup`:Ar(s,n,i)}var b;if(Hn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Xn?Jn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Gn&&n.locale!==`ko`&&(Xn||x!==`onCompositionStart`?x===`onCompositionEnd`&&Xn&&(b=dn()):(cn=i,ln=`value`in cn?cn.value:cn.textContent,Xn=!0)),y=jd(r,x),0<y.length&&(x=new kn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=Yn(n),b!==null&&(x.data=b)))),(b=Wn?Zn(e,n):Qn(e,n))&&(x=jd(r,`onBeforeInput`),0<x.length&&(y=new kn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),vd(s,e,r,n,i)}Cd(s,t)})}function Ad(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=rn(e,n),i!=null&&r.unshift(Ad(e,i,a)),i=rn(e,t),i!=null&&r.push(Ad(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Md(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Nd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=rn(n,a),l!=null&&o.unshift(Ad(n,l,c))):i||(l=rn(n,a),l!=null&&o.push(Ad(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Pd=/\r\n?/g,Fd=/\u0000|\uFFFD/g;function Id(e){return(typeof e==`string`?e:``+e).replace(Pd,` 10`).replace(Fd,``)}function Ld(e,t){return t=Id(t),Id(e)===t}function Rd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Vt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Vt(e,``+r);break;case`className`:Tt(e,`class`,r);break;case`tabIndex`:Tt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Tt(e,n,r);break;case`style`:Wt(e,r,o);break;case`data`:if(t!==`object`){Tt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Jt(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&Rd(e,t,`name`,a.name,a,null),Rd(e,t,`formEncType`,a.formEncType,a,null),Rd(e,t,`formMethod`,a.formMethod,a,null),Rd(e,t,`formTarget`,a.formTarget,a,null)):(Rd(e,t,`encType`,a.encType,a,null),Rd(e,t,`method`,a.method,a,null),Rd(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Jt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Yt);break;case`onScroll`:r!=null&&wd(`scroll`,e);break;case`onScrollEnd`:r!=null&&wd(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Jt(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInl
10ine`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:wd(`beforetoggle`,e),wd(`toggle`,e),wt(e,`popover`,r);break;case`xlinkActuate`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Et(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Et(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Et(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:wt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=Kt.get(n)||n,wt(e,n,r))}}function zd(e,t,n,r,a,o){switch(n){case`style`:Wt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Vt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Vt(e,``+r);break;case`onScroll`:r!=null&&wd(`scroll`,e);break;case`onScrollEnd`:r!=null&&wd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=Yt);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!_t.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[rt]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):wt(e,n,r)}}}function Bd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:wd(`error`,e),wd(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Rd(e,t,o,s,n,null)}}a&&Rd(e,t,`srcSet`,n.srcSet,n,null),r&&Rd(e,t,`src`,n.src,n,null);return;case`input`:wd(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Rd(e,t,r,d,n,null)}}It(e,o,c,l,u,s,a,!1);return;case`select`:for(a in wd(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Rd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Rt(e,!!r,n,!0):Rt(e,!!r,t,!1);return;case`textarea`:for(s in wd(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Rd(e,t,s,c,n,null)}Bt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Rd(e,t,l,r,n,null)}return;case`dialog`:wd(`beforetoggle`,e),wd(`toggle`,e),wd(`cancel`,e),wd(`close`,e);break;case`iframe`:case`object`:wd(`load`,e);break;case`video`:case`audio`:for(r=0;r<xd.length;r++)wd(xd[r],e);break;case`image`:wd(`error`,e),wd(`load`,e);break;case`details`:wd(`toggle`,e);break;case`embed`:case`source`:case`link`:wd(`error`,e),wd(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Rd(e,t,u,r,n,null)}return;default:if(Gt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&zd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Rd(e,t,c,r,n,null))}function Vd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Rd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Rd(e,t,p,m,r,f)}}Ft(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Rd(e,t,o,null,r,l)}
vendor: 27,012 bytes, line 10
10for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Rd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Rt(e,!!n,n?[]:``,!1):Rt(e,!!n,t,!0)):Rt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Rd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Rd(e,t,s,a,r,o)}zt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Rd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Rd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Rd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Rd(e,t,u,p,r,m)}return;default:if(Gt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&zd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||zd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Rd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Rd(e,t,f,p,r,m)}function Hd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Ud(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Hd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Hd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Wd=null,Gd=null;function Kd(e){return e.nodeType===9?e:e.ownerDocument}function qd(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 Jd(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 Yd(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 Xd=null;function Zd(){var e=window.event;return e&&e.type===`popstate`?e!==Xd&&(Xd=e,!0):(Xd=null,!1)}var Qd=typeof setTimeout==`function`?setTimeout:void 0,$d=typeof clearTimeout==`function`?clearTimeout:void 0,ef=typeof Promise==`function`?Promise:void 0,tf=typeof queueMicrotask==`function`?queueMicrotask:ef===void 0?Qd:function(e){return ef.resolve(null).then(e).catch(nf)};function nf(e){setTimeout(function(){throw e})}function rf(e){return e===`head`}function af(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Lp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)vf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,vf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[lt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&vf(e.ownerDocument.body);n=i}while(n);Lp(t)}function iee(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function of(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`:of(n),ut(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function sf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[lt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=pf(e.nextSibling),e===null)break}return null}function cf(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=pf(e.nextSibling),e===null))return null;return e}function lf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=pf(e.nextSibling),e===null))return null;return e}function uf(e){return e.data===`$?`||e.data===`$~`}function df(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function ff(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function pf(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 mf=null;function hf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return pf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function gf(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 _f(e,t,n){switch(t=Kd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function vf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ut(e)}var yf=new Map,bf=new Set;function xf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Sf=L.d;L.d={f:Cf,r:wf,D:Df,C:Of,L:kf,m:Af,X:Mf,S:jf,M:Nf};function Cf(){var e=Sf.f(),t=Cu();return e||t}function wf(e){var t=ft(e);t!==null&&t.tag===5&&t.type===`form`?Ds(t):Sf.r(e)}var Tf=typeof document>`u`?null:document;function Ef(e,t,n){var r=Tf;if(r&&typeof t==`string`&&t){var i=Pt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),bf.has(i)||(bf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Bd(t,`link`,e),ht(t),r.head.appendChild(t)))}}function Df(e){Sf.D(e),Ef(`dns-prefetch`,e,null)}function Of(e,t){Sf.C(e,t),Ef(`preconnect`,e,t)}function kf(e,t,n){Sf.L(e,t,n);var r=Tf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Pt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Pt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Pt(n.imageSizes)+`"]`)):i+=`[href="`+Pt(e)+`"]`;var a=i;switch(t){case`style`:a=Ff(e);break;case`script`:a=zf(e)}yf.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),yf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(If(a))||t===`script`&&r.querySelector(Bf(a))||(t=r.createElement(`link`),Bd(t,`link`,e),ht(t),r.head.appendChild(t)))}}function Af(e,t){Sf.m(e,t);var n=Tf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Pt(r)+`"][href="`+Pt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=zf(e)}if(!yf.has(a)&&(e=m({rel:`modulepreload`,href:e},t),yf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Bf(a)))return}r=n.createElement(`link`),Bd(r,`link`,e),ht(r),n.head.appendChild(r)}}}function jf(e,t,n){Sf.S(e,t,n);var r=Tf;if(r&&e){var i=mt(r).hoistableStyles,a=Ff(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(If(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=yf.get(a))&&Uf(e,n);var c=o=r.createElement(`link`);ht(c),Bd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Hf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Mf(e,t){Sf.X(e,t);var n=Tf;if(n&&e){var r=mt(n).hoistableScripts,i=zf(e),a=r.get(i);a||(a=n.querySelector(Bf(i)),a||(e=m({src:e,async:!0},t),(t=yf.get(i))&&Wf(e,t),a=n.createElement(`script`),ht(a),Bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nf(e,t){Sf.M(e,t);var n=Tf;if(n&&e){var r=mt(n).hoistableScripts,i=zf(e),a=r.get(i);a||(a=n.querySelector(Bf(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=yf.get(i))&&Wf(e,t),a=n.createElement(`script`),ht(a),Bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Pf(e,t,n,r){var a=(a=ie.current)?xf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Ff(n.href),n=mt(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Ff(n.href);var o=mt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(If(e)))&&!o._p&&(s.instance=o,s.state.loading=5),yf.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},yf.set(e,n),o||Rf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=zf(n),n=mt(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Ff(e){return`href="`+Pt(e)+`"`}function If(e){return`link[rel="stylesheet"][`+e+`]`}function Lf(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Rf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Bd(t,`link`,n),ht(t),e.head.appendChild(t))}function zf(e){return`[src="`+Pt(e)+`"]`}function Bf(e){return`script[async]`+e}function Vf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Pt(n.href)+`"]`);if(r)return t.instance=r,ht(r),r;var a=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),ht(r),Bd(r,`style`,a),Hf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Ff(n.href);var o=e.querySelector(If(a));if(o)return t.state.loading|=4,t.instance=o,ht(o),o;r=Lf(n),(a=yf.get(a))&&Uf(r,a),o=(e.ownerDocument||e).createElement(`link`),ht(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Bd(o,`link`,r),t.state.loading|=4,Hf(o,n.precedence,e),t.instance=o;case`script`:return o=zf(n.src),(a=e.querySelector(Bf(o)))?(t.instance=a,ht(a),a):(r=n,(a=yf.get(o))&&(r=m({},n),Wf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),ht(a),Bd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Hf(r,n.precedence,e));return t.instance}function Hf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Uf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Wf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Gf=null;function Kf(e,t,n){if(Gf===null){var r=new Map,i=Gf=new Map;i.set(n,r)}else i=Gf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[lt]||a[nt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function qf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Jf(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 Yf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Ff(r.href),a=t.querySelector(If(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=$f.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,ht(a);return}a=t.ownerDocument||t,r=Lf(r),(i=yf.get(i))&&Uf(r,i),a=a.createElement(`link`),ht(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Bd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=$f.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Zf=0;function Qf(e,t){return e.stylesheets&&e.count===0&&tp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&tp(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Zf===0&&(Zf=62500*Ud());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&tp(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Zf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ep=null;function tp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ep=new Map,t.forEach(aee,e),ep=null,$f.call(e))}function aee(e,t){if(!(t.state.loading&4)){var n=ep.get(e);if(n)var r=n.get(null);else{n=new Map,ep.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=$f.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var np={$$typeof:C,Provider:null,Consumer:null,_currentValue:R,_currentValue2:R,_threadCount:0};function rp(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ge(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ge(0),this.hiddenUpdates=Ge(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function ip(e,t,n,r,i,a,o,s,c,l,u,d){return e=new rp(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=ii(3,null,null,t),e.current=a,a.stateNode=e,t=aa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ra(a),e}function ap(e){return e?(e=ni,e):ni}function op(e,t,n,r,i,a){i=ap(i),r.context===null?r.context=i:r.pendingContext=i,r=Ba(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Va(e,r,t),n!==null&&(vu(n,e,t),Ha(n,e,t))}function sp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function cp(e,t){sp(e,t),(e=e.alternate)&&sp(e,t)}function lp(e){if(e.tag===13||e.tag===31){var t=$r(e,67108864);t!==null&&vu(t,e,67108864),cp(e,67108864)}}function up(e){if(e.tag===13||e.tag===31){var t=gu();t=Ze(t);var n=$r(e,t);n!==null&&vu(n,e,t),cp(e,t)}}var dp=!0;function fp(e,t,n,r){var i=I.T;I.T=null;var a=L.p;try{L.p=2,mp(e,t,n,r)}finally{L.p=a,I.T=i}}function pp(e,t,n,r){var i=I.T;I.T=null;var a=L.p;try{L.p=8,mp(e,t,n,r)}finally{L.p=a,I.T=i}}function mp(e,t,n,r){if(dp){var i=hp(r);if(i===null)kd(e,t,r,gp,n),Dp(e,r);else if(kp(i,e,t,n,r))r.stopPropagation();else if(Dp(e,r),t&4&&-1<Ep.indexOf(e)){for(;i!==null;){var a=ft(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Be(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ne(o);s.entanglements[1]|=c,o&=~c}sd(a),!(Ll&6)&&(iu=xe()+500,cd(0,!1))}}break;case 31:case 13:s=$r(a,2),s!==null&&vu(s,a,2),Cu(),cp(a,2)}if(a=hp(r),a===null&&kd(e,t,r,gp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else kd(e,t,r,null,n)}}function hp(e){return e=Zt(e),_p(e)}var gp=null;function _p(e){if(gp=null,e=dt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(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 gp=e,null}function vp(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(Se()){case Ce:return 2;case we:return 8;case Te:case Ee:return 32;case De:return 268435456;default:return 32}default:return 32}}var yp=!1,bp=null,xp=null,Sp=null,Cp=new Map,wp=new Map,Tp=[],Ep=`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 Dp(e,t){switch(e){case`focusin`:case`focusout`:bp=null;break;case`dragenter`:case`dragleave`:xp=null;break;case`mouseover`:case`mouseout`:Sp=null;break;case`pointerover`:case`pointerout`:Cp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:wp.delete(t.pointerId)}}function Op(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=ft(t),t!==null&&lp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function kp(e,t,n,r,i){switch(t){case`focusin`:return bp=Op(bp,e,t,n,r,i),!0;case`dragenter`:return xp=Op(xp,e,t,n,r,i),!0;case`mouseover`:return Sp=Op(Sp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Cp.set(a,Op(Cp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,wp.set(a,Op(wp.get(a)||null,e,t,n,r,i)),!0}return!1}function Ap(e){var t=dt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,et(e.priority,function(){up(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,et(e.priority,function(){up(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 jp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=hp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Xt=r,n.target.dispatchEvent(r),Xt=null}else return t=ft(n),t!==null&&lp(t),e.blockedOn=n,!1;t.shift()}return!0}function Mp(e,t,n){jp(e)&&n.delete(t)}function Np(){yp=!1,bp!==null&&jp(bp)&&(bp=null),xp!==null&&jp(xp)&&(xp=null),Sp!==null&&jp(Sp)&&(Sp=null),Cp.forEach(Mp),wp.forEach(Mp)}function Pp(e,n){e.blockedOn===n&&(e.blockedOn=null,yp||(yp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Np)))}var Fp=null;function Ip(e){Fp!==e&&(Fp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Fp===e&&(Fp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(_p(r||n)===null)continue;break}var a=ft(n);a!==null&&(e.splice(t,3),t-=3,Ts(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Lp(e){function t(t){return Pp(t,e)}bp!==null&&Pp(bp,e),xp!==null&&Pp(xp,e),Sp!==null&&Pp(Sp,e),Cp.forEach(t),wp.forEach(t);for(var n=0;n<Tp.length;n++){var r=Tp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Tp.length&&(n=Tp[0],n.blockedOn===null);)Ap(n),n.blockedOn===null&&Tp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[rt]||null;if(typeof a==`function`)o||Ip(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[rt]||null)s=o.formAction;else if(_p(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Ip(n)}}}function Rp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function zp(e){this._internalRoot=e}Bp.prototype.render=zp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;op(n,gu(),e,t,null,null)},Bp.prototype.unmount=zp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;op(e.current,2,null,e,null,null),Cu(),t[it]=null}};function Bp(e){this._internalRoot=e}Bp.prototype.unstable_scheduleHydration=function(e){if(e){var t=$e();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tp.length&&t!==0&&t<Tp[n].priority;n++);Tp.splice(n,0,e),n===0&&Ap(e)}};var Vp=n.version;if(Vp!==`19.2.8`)throw Error(i(527,Vp,`19.2.8`));L.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var Hp={bundleType:0,version:`19.2.8`,rendererPackageName:`react-dom`,currentDispatcherRef:I,reconcilerVersion:`19.2.8`};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Up=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Up.isDisabled&&Up.supportsFiber)try{Ae=Up.inject(Hp),je=Up}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=qs,s=eee,c=tee;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=ip(e,1,!1,null,null,n,r,null,o,s,c,Rp),e[it]=t.current,Dd(e),new zp(t)}})),_=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()}))(),v=!1;function y(){v||typeof window>`u`||(v=!0,window.MonacoEnvironment={getWorker(e,t){return t===`typescript`||t===`javascript`?new Worker(new URL(`/assets/ts.worker-BYuFCP0e.js`,``+import.meta.url),{type:`module`}):t===`json`?new Worker(new URL(`/assets/json.worker-ByeDxhtF.js`,``+import.meta.url),{type:`module`}):new Worker(new URL(`/assets/editor.worker-KwhKDy-X.js`,``+import.meta.url),{type:`module`})}})}function b(){if(!window.clarity)try{let e=(...t)=>{(e.q=e.q||[]).push(t)};window.clarity=e;let t=document.createElement(`script`);t.async=!0,t.src=`https://www.clarity.ms/tag/wf7fcrgcwb`,document.head.appendChild(t)}catch{}}function x(){if(!document.getElementById(`t2t-gtm`))try{window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":Date.now(),event:`gtm.js`});let e=document.createElement(`script`);e.id=`t2t-gtm`,e.async=!0,e.src=`https://www.googletagmanager.com/gtm.js?id=GTM-WMM9RJFN`,document.head.appendChild(e)}catch{}}function S({email:e,username:t,companyId:n,companyName:r,role:i}){let a=window.clarity;if(!(!a||!e))try{a(`identify`,e,void 0,void 0,t),n&&a(`set`,`companyId`,n),r&&a(`set`,`companyName`,r),i&&a(`set`,`role`,i)}catch{}}var C=`verifiedEmail`,w=`onboardingToken`;function T(e,t){try{e&&window.sessionStorage.setItem(C,e),t&&window.sessionStorage.setItem(w,t)}catch{}}function E(e){try{return window.sessionStorage.getItem(e)??``}catch{return``}}function D(){try{let e=new URL(window.location.href),t=e.searchParams.get(`email`),n=e.searchParams.get(`token`);if(!t&&!n)return;T(t??``,n??void 0),e.searchParams.delete(`email`),e.searchParams.delete(`token`),window.history.replaceState(null,``,`${e.pathname}${e.search}${e.hash}`)}catch{}}var O=l(p(),1),k=l(h(),1),A=`modulepreload`,j=function(e){return`/`+e},M={},N=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=j(t,n),t=s(t),t in M)return;M[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:A,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},P=e=>{throw TypeError(e)},F=(e,t,n)=>t.has(e)||P(`Cannot `+n),I=(e,t,n)=>(F(e,t,`read from private field`),n?n.call(e):t.get(e)),L=(e,t,n)=>t.has(e)?P(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n),R=(e,t,n,r)=>(F(e,t,`write to private field`),r?r.call(e,n):t.set(e,n),n),z=`popstate`;function B(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function ee(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return ie(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:ae(t)}return H(t,n,null,e)}function V(e,t){if(e===!1||e==null)throw Error(t)}function te(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function ne(){return Math.random().toString(36).substring(2,10)}function re(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function ie(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?oe(t):t,state:n,key:t&&t.key||r||ne(),mask:i}}function ae({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function oe(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function H(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=B(e)?e:ie(h.location,e,t);n&&n(r,e),l=u()+1;let d=re(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=B(e)?e:ie(h.location,e,t);n&&n(r,e),l=u();let i=re(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return se(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(z,d),c=e,()=>{i.removeEventListener(z,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function se(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),V(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:ae(t);return i=i.replace(/ $/,`%20`),!n&&i.startsWith(`//`)&&(i=r+i),new URL(i,r)}var ce,le=class{constructor(e){if(L(this,ce,new Map),e)for(let[t,n]of e)this.set(t,n)}get(e){if(I(this,ce).has(e))return I(this,ce).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw Error(`No value found for context`)}set(e,t){I(this,ce).set(e,t)}};ce=new WeakMap;var ue=new Set([`lazy`,`caseSensitive`,`path`,`id`,`index`,`children`]);function de(e){return ue.has(e)}var fe=new Set([`lazy`,`caseSensitive`,`path`,`id`,`index`,`middleware`,`children`]);function pe(e){return fe.has(e)}function me(e){return e.index===!0}function he(e,t,n=[],r={},i=!1){return e.map((e,a)=>
10{let o=[...n,String(a)],s=typeof e.id==`string`?e.id:o.join(`-`);if(V(e.index!==!0||!e.children,`Cannot specify children on an index route`),V(i||!r[s],`Found a route id collision on id "${s}". Route id's must be globally unique within Data Router usages`),me(e)){let n={...e,id:s};return r[s]=ge(n,t(n)),n}{let n={...e,id:s,children:void 0};return r[s]=ge(n,t(n)),e.children&&(n.children=he(e.children,t,o,r,i)),n}})}function ge(e,t){return Object.assign(e,{...t,...typeof t.lazy==`object`&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function _e(e,t,n=`/`){return ve(e,t,n,!1)}function ve(e,t,n,r,i){let a=Le((typeof t==`string`?oe(t):t).pathname||`/`,n);if(a==null)return null;let o=i??be(e),s=null,c=Ie(a);for(let e=0;s==null&&e<o.length;++e)s=Ne(o[e],c,r);return s}function ye(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function be(e){let t=xe(e);return Ce(t),t}function xe(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;V(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=Je([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(V(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),xe(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:je(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of Se(e.path))a(e,t,!0,n)}),t}function Se(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=Se(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function Ce(e){e.sort((e,t)=>e.score===t.score?Me(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var we=/^:[\w-]+$/,Te=3,Ee=2,De=1,Oe=10,ke=-2,Ae=e=>e===`*`;function je(e,t){let n=e.split(`/`),r=n.length;return n.some(Ae)&&(r+=ke),t&&(r+=Ee),n.filter(e=>!Ae(e)).reduce((e,t)=>e+(we.test(t)?Te:t===``?De:Oe),r)}function Me(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function Ne(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=Pe({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=Pe({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;
10Object.assign(i,u.params),o.push({params:i,pathname:Je([a,u.pathname]),pathnameBase:Xe(Je([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=Je([a,u.pathnameBase]))}return o}function Pe(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Fe(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return e[t]=n&&!i?void 0:(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function Fe(e,t=!1,n=!0){te(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function Ie(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return te(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Le(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function Re({basename:e,pathname:t}){return t===`/`?e:Je([e,t])}var ze=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Be=e=>ze.test(e);function Ve(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?oe(e):e,a;return n?(n=qe(n),a=n.startsWith(`/`)?He(n.substring(1),`/`):He(n,t)):a=t,{pathname:a,search:Ze(r),hash:Qe(i)}}function He(e,t){let n=Ye(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Ue(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function We(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Ge(e){let t=We(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Ke(e,t,n,r=!1){let i;typeof e==`string`?i=oe(e):(i={...e},V(!i.pathname||!i.pathname.includes(`?`),Ue(`?`,`pathname`,`search`,i)),V(!i.pathname||!i.pathname.includes(`#`),Ue(`#`,`pathname`,`hash`,i)),V(!i.search||!i.search.includes(`#`),Ue(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=Ve(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var qe=e=>e.replace(/\/\/+/g,`/`),Je=e=>qe(e.join(`/`)),Ye=e=>e.replace(/\/+$/,``),Xe=e=>Ye(e).replace(/^\/*/,`/`),Ze=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Qe=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,$e=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function et(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function tt(e){return Je(e.map(e=>e.route.path).filter(Boolean))||`/`}var nt=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function rt(e,t){let n=e;if(typeof n!=`string`||!ze.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(nt)try{let e=new URL(window.location.href),r=n.startsWith(`//`)?new URL(e.protocol+n):new URL(n),a=Le(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{te(!1,`<Link to="${n}">
10 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}var it=Symbol(`Uninstrumented`);function at(e,t){let n={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(e=>e({id:t.id,index:t.index,path:t.path,instrument(e){let t=Object.keys(n);for(let r of t)e[r]&&n[r].push(e[r])}}));let r={};if(typeof t.lazy==`function`&&n.lazy.length>0){let e=st(n.lazy,t.lazy,()=>void 0);e&&(r.lazy=e)}if(typeof t.lazy==`object`){let e=t.lazy;[`middleware`,`loader`,`action`].forEach(t=>{let i=e[t],a=n[`lazy.${t}`];if(typeof i==`function`&&a.length>0){let e=st(a,i,()=>void 0);e&&(r.lazy=Object.assign(r.lazy||{},{[t]:e}))}})}return[`loader`,`action`].forEach(e=>{let i=t[e];if(typeof i==`function`&&n[e].length>0){let t=i[it]??i,a=st(n[e],t,(...e)=>lt(e[0]));a&&(e===`loader`&&t.hydrate===!0&&(a.hydrate=!0),a[it]=t,r[e]=a)}}),t.middleware&&t.middleware.length>0&&n.middleware.length>0&&(r.middleware=t.middleware.map(e=>{let t=e[it]??e,r=st(n.middleware,t,(...e)=>lt(e[0]));return r?(r[it]=t,r):e})),r}function ot(e,t){let n={navigate:[],fetch:[]};if(t.forEach(e=>e({instrument(e){let t=Object.keys(e);for(let r of t)e[r]&&n[r].push(e[r])}})),n.navigate.length>0){let t=e.navigate[it]??e.navigate,r=st(n.navigate,t,(...t)=>{let[n,r]=t;return{to:typeof n==`number`||typeof n==`string`?n:n?ae(n):`.`,...ut(e,r??{})}});r&&(r[it]=t,e.navigate=r)}if(n.fetch.length>0){let t=e.fetch[it]??e.fetch,r=st(n.fetch,t,(...t)=>{let[n,,r,i]=t;return{href:r??`.`,fetcherKey:n,...ut(e,i??{})}});r&&(r[it]=t,e.fetch=r)}return e}function st(e,t,n){return e.length===0?null:async(...r)=>{let i=await ct(e,n(...r),()=>t(...r),e.length-1);if(i.type===`error`)throw i.value;return i.value}}async function ct(e,t,n,r){let i=e[r],a;if(i){let o,s=async()=>(o?console.error(`You cannot call instrumented handlers more than once`):o=ct(e,t,n,r-1),a=await o,V(a,`Expected a result`),a.type===`error`&&a.value instanceof Error?{status:`error`,error:a.value}:{status:`success`,error:void 0});try{await i(s,t)}catch(e){console.error(`An instrumentation function threw an error:`,e)}o||await s(),await o}else try{a={type:`success`,value:await n()}}catch(e){a={type:`error`,value:e}}return a||{type:`error`,value:Error(`No result assigned in instrumentation chain.`)}}function lt(e){let{request:t,context:n,params:r,pattern:i}=e;return{request:dt(t),params:{...r},pattern:i,context:ft(n)}}function ut(e,t){return{currentUrl:ae(e.state.location),...`formMethod`in t?{formMethod:t.formMethod}:{},...`formEncType`in t?{formEncType:t.formEncType}:{},...`formData`in t?{formData:t.formData}:{},...`body`in t?{body:t.body}:{}}}function dt(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function ft(e){if(mt(e)){let t={...e};return Object.freeze(t),t}return{get:t=>e.get(t)}}var pt=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function mt(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===pt}var ht=[`POST`,`PUT`,`PATCH`,`DELETE`],gt=new Set(ht),_t=[`GET`,...ht],vt=new Set(_t),yt=new Set([301,302,303,307,308]),bt=new Set([307,308]),xt={state:`idle`,location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},St={state:`idle`,data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ct={state:`unblocked`,proceed:void 0,reset:void 0,location:void 0},wt=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Tt=`remix-router-transitions`,Et=Symbol(`ResetLoaderData`),Dt,Ot,kt,At,jt=class{constructor(e){L(this,Dt),L(this,Ot),L(this,kt),L(this,At),R(this,Dt,e),R(this,Ot,be(e))}get stableRoutes(){return I(this,Dt)}get activeRoutes(){return I(this,kt)??I(this,Dt)}get branches(){return I(this,At)??I(this,Ot)}get hasHMRRoutes(){return I(this,kt)!=null}setRoutes(e){R(this,Dt,e),R(this,Ot,be(e))}setHmrRoutes(e){R(this,kt,e),R(this,At,be(e))}commitHmrRoutes(){I(this,kt)&&(R(this,Dt,I(this,kt)),R(this,Ot,I(this,At)),R(this,kt,void 0),R(this,At,void 0))}};Dt=new WeakMap,Ot=new WeakMap,kt=new WeakMap,At=new WeakMap;function Mt(e){let t=e.window?e.window:typeof window<`u`?window:void 0,n=t!==void 0&&t.document!==void 0&&t.document.createElement!==void 0;V(e.routes.length>0,`You must provide a non-empty routes array to createRouter`);let r=e.hydrationRouteProperties||[],i=e.mapRouteProperties||wt,a=i;if(e.instrumentations){let t=e.instrumentations;a=e=>({...i(e),...at(t.map(e=>
10e.route).filter(Boolean),e)})}let o={},s=new jt(he(e.routes,a,void 0,o)),c=e.basename||`/`;c.startsWith(`/`)||(c=`/${c}`);let l=e.dataStrategy||Yt,u={...e.future},d=null,f=new Set,p=null,m=null,h=null,g=null,_=e.hydrationData!=null,v=ve(s.activeRoutes,e.history.location,c,!1,s.branches),y=!1,b=null,x,S;if(v==null&&!e.patchRoutesOnNavigation){let t=bn(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=yn(s.activeRoutes);x=!0,S=!x,v=n,b={[r.id]:t}}else if(v&&!e.hydrationData&&Qe(v,s.activeRoutes,e.history.location.pathname).active&&(v=null),!v){x=!1,S=!x,v=[];let t=Qe(null,s.activeRoutes,e.history.location.pathname);t.active&&t.matches&&(y=!0,v=t.matches)}else if(v.some(e=>e.route.lazy))x=!1,S=!x;else if(!v.some(e=>Lt(e.route)))x=!0,S=!x;else{let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null,r=v;if(n){let e=v.findIndex(e=>n[e.route.id]!==void 0);r=r.slice(0,e+1)}S=!1,x=!0,r.forEach(e=>{let r=Rt(e.route,t,n);S||=r.renderFallback,x&&=!r.shouldLoad})}let C,w={historyAction:e.history.action,location:e.history.location,matches:v,initialized:x,renderFallback:S,navigation:xt,restoreScrollPosition:e.hydrationData==null&&null,preventScrollReset:!1,revalidation:`idle`,loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||b,fetchers:new Map,blockers:new Map},T=`POP`,E=null,D=!1,O,k=!1,A=new Map,j=null,M=!1,N=!1,P=new Set,F=new Map,I=0,L=-1,R=new Map,z=new Set,B=new Map,ee=new Map,ne=new Set,re=new Map,ae,H=null;function ce(){if(d=e.history.listen(({action:t,location:n,delta:r})=>{if(ae){ae(),ae=void 0;return}te(re.size===0||r!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=Ke({currentLocation:w.location,nextLocation:n,historyAction:t});if(i&&r!=null){let t=new Promise(e=>{ae=e});e.history.go(r*-1),Ge(i,{state:`blocked`,location:n,proceed(){Ge(i,{state:`proceeding`,proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(r))},reset(){let e=new Map(w.blockers);e.set(i,Ct),fe({blockers:e})}}),E?.resolve(),E=null;return}return _e(t,n)}),n){Wn(t,A);let e=()=>Gn(t,A);t.addEventListener(`pagehide`,e),j=()=>t.removeEventListener(`pagehide`,e)}return w.initialized||_e(`POP`,w.location,{initialHydration:!0}),C}function ue(){d&&d(),j&&j(),f.clear(),O&&O.abort(),w.fetchers.forEach((e,t)=>Fe(w.fetchers,t)),w.blockers.forEach((e,t)=>We(t))}function de(e){if(f.add(e),p){let{newErrors:t}=p;p=null,e(w,{deletedFetchers:[],newErrors:t,viewTransitionOpts:void 0,flushSync:!1})}return()=>f.delete(e)}function fe(e,t={}){e.matches&&=e.matches.map(e=>{let t=o[e.route.id],n=e.route;return n.element!==t.element||n.errorElement!==t.errorElement||n.hydrateFallbackElement!==t.hydrateFallbackElement?{...e,route:t}:e}),w={...w,...e};let n=[],r=[];w.fetchers.forEach((e,t)=>{e.state===`idle`&&(ne.has(t)?n.push(t):r.push(t))}),ne.forEach(e=>{!w.fetchers.has(e)&&!F.has(e)&&n.push(e)}),f.size===0&&(p={newErrors:e.errors??null}),[...f].forEach(r=>r(w,{deletedFetchers:n,newErrors:e.errors??null,viewTransitionOpts:t.viewTransitionOpts,flushSync:t.flushSync===!0})),n.forEach(e=>Fe(w.fetchers,e)),r.forEach(e=>w.fetchers.delete(e))}function pe(t,n,{flushSync:r}={}){let i=w.actionData!=null&&w.navigation.formMethod!=null&&Fn(w.navigation.formMethod)&&w.navigation.state===`loading`&&t.state?._isRedirect!==!0,a;a=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:i?w.actionData:null;let o=n.loaderData?gn(w.loaderData,n.loaderData,n.matches||[],n.errors):w.loaderData,c=w.blockers;c.size>0&&(c=new Map(c),c.forEach((e,t)=>c.set(t,Ct)));let l=!M&&Ze(t,n.matches||w.matches),u=D===!0||w.navigation.formMethod!=null&&Fn(w.navigation.formMethod)&&t.state?._isRedirect!==!0;s.commitHmrRoutes(),M||T===`POP`||(T===`PUSH`?e.history.push(t,t.state):T===`REPLACE`&&e.history.replace(t,t.state));let d;if(T===`POP`){let e=A.get(w.location.pathname);e&&e.has(t.pathname)?d={currentLocation:w.location,nextLocation:t}:A.has(t.pathname)&&(d={currentLocation:t,nextLocation:w.location})}else if(k){let e=A.get(w.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),A.set(w.location.pathname,e)),d={currentLocation:w.location,nextLocation:t}}fe({...n,actionData:a,loaderData:o,historyAction:T,location:t,initialized:!0,renderFallback:!1,navigation:xt,revalidation:`idle`,restoreScrollPosition:l,preventScrollReset:u,blockers:c},{viewTransitionOpts:d,flushSync:r===!0}),T=`POP`,D=!1,k=!1,M=!1,N=!1,E?.resolve(),E=null,H?.resolve(),H=null}async function me(t,n){if(E?.resolve(),E=null,typeof t==`number`){E||=Kn();let n=E.promise;return e.history.go(t),n}let{path:r,submission:i,error:a}=Ft(!1,Pt(w.location,w.matches,c,t,n?.fromRouteId,n?.relative),n),o;n?.mask&&(o={pathname:``,search:``,hash:``,...typeof n.mask==`string`?oe(n.mask):{...w.location.mask,...n.mask}});let s=w.location,l=ie(s,r,n&&n.state,void 0,o);l={...l,...e.history.encodeLocation(l)};let u=n&&n.replace!=null?n.replace:void 0,d=`PUSH`;u===!0?d=`REPLACE`:u===!1||i!=null&&Fn(i.formMethod)&&i.formAction===w.location.pathname+w.location.search&&(d=`REPLACE`);let f=n&&`preventScrollReset`in n?n.preventScrollReset===!0:void 0,p=(n&&n.flushSync)===!0,m=Ke({currentLocation:s,nextLocation:l,historyAction:d});if(m){Ge(m,{state:`blocked`,location:l,proceed(){Ge(m,{state:`proceeding`,proceed:void 0,reset:void 0,location:l}),me(t,n)},reset(){let e=new Map(w.blockers);e.set(m,Ct),fe({blockers:e})}});return}await _e(d,l,{submission:i,pendingError:a,preventScrollReset:f,replace:n&&n.replace,enableViewTransition:n&&n.viewTransition,flushSync:p,callSiteDefaultShouldRevalidate:n&&n.defaultShouldRevalidate})}function ge(){H||=Kn(),Ae(),fe({revalidation:`loading`});let e=H.promise;return w.navigation.state===`submitting`?e:w.navigation.state===`idle`?(_e(w.historyAction,w.location,{startUninterruptedRevalidation:!0}
10),e):(_e(T||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:k===!0}),e)}async function _e(t,n,r){O&&O.abort(),O=null,T=t,M=(r&&r.startUninterruptedRevalidation)===!0,Xe(w.location,w.matches),D=(r&&r.preventScrollReset)===!0,k=(r&&r.enableViewTransition)===!0;let i=s.activeRoutes,a=r?.initialHydration&&w.matches&&w.matches.length>0&&!y?w.matches:ve(i,n,c,!1,s.branches),o=(r&&r.flushSync)===!0;if(a&&w.initialized&&!N&&Cn(w.location,n)&&!(r&&r.submission&&Fn(r.submission.formMethod))){pe(n,{matches:a},{flushSync:o});return}let l=Qe(a,i,n.pathname);if(l.active&&l.matches&&(a=l.matches),!a){let{error:e,notFoundMatches:t,route:r}=qe(n.pathname);pe(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:o});return}let u=r&&r.overrideNavigation?{...r.overrideNavigation,matches:a,historyAction:t}:void 0;O=new AbortController;let d=un(e.history,n,O.signal,r&&r.submission),f=e.getContext?await e.getContext():new le,p;if(r&&r.pendingError)p=[vn(a).route.id,{type:`error`,error:r.pendingError}];else if(r&&r.submission&&Fn(r.submission.formMethod)){let i=await be(d,n,r.submission,a,t,f,l.active,r&&r.initialHydration===!0,{replace:r.replace,flushSync:o});if(i.shortCircuited)return;if(i.pendingActionResult){let[e,t]=i.pendingActionResult;if(On(t)&&et(t.error)&&t.error.status===404){O=null,pe(n,{matches:i.matches,loaderData:{},errors:{[e]:t.error}});return}}a=i.matches||a,p=i.pendingActionResult,u=zn(n,a,t,r.submission),o=!1,l.active=!1,d=un(e.history,d.url,d.signal)}let{shortCircuited:m,matches:h,loaderData:g,errors:_,workingFetchers:v}=await xe(d,n,a,t,f,l.active,u,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&r.initialHydration===!0,o,p,r&&r.callSiteDefaultShouldRevalidate);m||(O=null,pe(n,{matches:h||a,..._n(p),loaderData:g,errors:_,...v?{fetchers:v}:{}}))}async function be(t,n,i,l,u,d,f,p,m={}){if(Ae(),fe({navigation:Bn(n,l,u,i)},{flushSync:m.flushSync===!0}),f){let e=await $e(l,n.pathname,t.signal);if(e.type===`aborted`)return{shortCircuited:!0};if(e.type===`error`){if(e.partialMatches.length===0){let{matches:t,route:n}=yn(s.activeRoutes);return{matches:t,pendingActionResult:[n.id,{type:`error`,error:e.error}]}}let t=vn(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:`error`,error:e.error}]}}if(e.matches)l=e.matches;else{let{notFoundMatches:e,error:t,route:r}=qe(n.pathname);return{matches:e,pendingActionResult:[r.id,{type:`error`,error:t}]}}}let h,g=Ln(l,n);if(!g.route.action&&!g.route.lazy)h={type:`error`,error:bn(405,{method:t.method,pathname:n.pathname,routeId:g.route.id})};else{let e=await Oe(t,n,tn(a,o,t,n,l,g,p?[]:r,d),d,null);if(h=e[g.route.id],!h){for(let t of l)if(e[t.route.id]){h=e[t.route.id];break}}if(t.signal.aborted)return{shortCircuited:!0}}if(kn(h)){let n;return n=m&&m.replace!=null?m.replace:ln(h.response.headers.get(`Location`),new URL(t.url),c,e.history)===w.location.pathname+w.location.search,await De(t,h,!0,{submission:i,replace:n}),{shortCircuited:!0}}if(On(h)){let e=vn(l,g.route.id);return(m&&m.replace)!==!0&&(T=`PUSH`),{matches:l,pendingActionResult:[e.route.id,h,g.route.id]}}return{matches:l,pendingActionResult:[g.route.id,h]}}async function xe(t,n,i,l,u,d,f,p,m,h,g,_,v,y){let b=f||zn(n,i,l,p),x=p||m||Rn(b),S=!M&&!g;if(d){if(S){let e=Se(v);fe({navigation:b,...e===void 0?{}:{actionData:e}},{flushSync:_})}let e=await $e(i,n.pathname,t.signal);if(e.type===`aborted`)return{shortCircuited:!0};if(e.type===`error`){if(e.partialMatches.length===0){let{matches:t,route:n}=yn(s.activeRoutes);return{matches:t,loaderData:{},errors:{[n.id]:e.error}}}let t=vn(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(e.matches)i=e.matches;else{let{error:e,notFoundMatches:t,route:r}=qe(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let C=s.activeRoutes,{dsMatches:T,revalidatingFetchers:E}=It(t,u,a,o,e.history,w,i,x,n,g?[]:r,g===!0,N,P,ne,B,z,C,c,e.patchRoutesOnNavigation!=null,s.branches,v,y);if(L=++I,!e.dataStrategy&&!T.some(e=>e.shouldLoad)&&!T.some(e=>e.route.middleware&&e.route.middleware.length>0)&&E.length===0){let e=new Map(w.fetchers),t=Ve(e);return pe(n,{matches:i,loaderData:{},errors:v&&On(v[1])?{[v[0]]:v[1].error}:null,..._n(v),...t?{fetchers:e}:{}},{flushSync:_}),{shortCircuited:!0}}if(S){let e={};if(!d){e.navigation=b;let t=Se(v);t!==void 0&&(e.actionData=t)}E.length>0&&(e.fetchers=Ce(E)),fe(e,{flushSync:_})}
10E.forEach(e=>{Re(e.key),e.controller&&F.set(e.key,e.controller)});let D=()=>E.forEach(e=>Re(e.key));O&&O.signal.addEventListener(`abort`,D);let{loaderResults:k,fetcherResults:A}=await ke(T,E,t,n,u);if(t.signal.aborted)return{shortCircuited:!0};O&&O.signal.removeEventListener(`abort`,D),E.forEach(e=>F.delete(e.key));let j=xn(k);if(j)return await De(t,j.result,!0,{replace:h}),{shortCircuited:!0};if(j=xn(A),j)return z.add(j.key),await De(t,j.result,!0,{replace:h}),{shortCircuited:!0};let R=new Map(w.fetchers),{loaderData:ee,errors:V}=hn(w,i,k,v,E,A,R);g&&w.errors&&(V={...w.errors,...V});let te=Ve(R),re=He(L,R),ie=te||re||E.length>0;return{matches:i,loaderData:ee,errors:V,...ie?{workingFetchers:R}:{}}}function Se(e){if(e&&!On(e[1]))return{[e[0]]:e[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function Ce(e){let t=new Map(w.fetchers);return e.forEach(e=>{let n=t.get(e.key),r=Vn(void 0,n?n.data:void 0);t.set(e.key,r)}),t}async function we(t,n,r,i){Re(t);let a=(i&&i.flushSync)===!0,o=s.activeRoutes,l=Pt(w.location,w.matches,c,r,n,i?.relative),u=ve(o,l,c,!1,s.branches),d=Qe(u,o,l);if(d.active&&d.matches&&(u=d.matches),!u){Me(t,n,bn(404,{pathname:l}),{flushSync:a});return}let{path:f,submission:p,error:m}=Ft(!0,l,i);if(m){Me(t,n,m,{flushSync:a});return}let h=e.getContext?await e.getContext():new le,g=(i&&i.preventScrollReset)===!0;if(p&&Fn(p.formMethod)){await Te(t,n,f,u,h,d.active,a,g,p,i&&i.defaultShouldRevalidate);return}B.set(t,{routeId:n,path:f}),await Ee(t,n,f,u,h,d.active,a,g,p)}async function Te(t,n,i,l,u,d,f,p,m,h){Ae(),B.delete(t),je(t,Hn(m,w.fetchers.get(t)),{flushSync:f});let g=new AbortController,_=un(e.history,i,g.signal,m);if(d){let e=await $e(l,new URL(_.url).pathname,_.signal,t);if(e.type===`aborted`)return;if(e.type===`error`){Me(t,n,e.error,{flushSync:f});return}if(e.matches)l=e.matches;else{Me(t,n,bn(404,{pathname:i}),{flushSync:f});return}}let v=Ln(l,i);if(!v.route.action&&!v.route.lazy){Me(t,n,bn(405,{method:m.formMethod,pathname:i,routeId:n}),{flushSync:f});return}F.set(t,g);let y=I,b=tn(a,o,_,i,l,v,r,u),x=await Oe(_,i,b,u,t),S=x[v.route.id];if(!S){for(let e of b)if(x[e.route.id]){S=x[e.route.id];break}}if(_.signal.aborted){F.get(t)===g&&F.delete(t);return}if(ne.has(t)){if(kn(S)||On(S)){je(t,Un(void 0));return}}else{if(kn(S)){if(F.delete(t),L>y){je(t,Un(void 0));return}return z.add(t),je(t,Vn(m)),De(_,S,!1,{fetcherSubmission:m,preventScrollReset:p})}if(On(S)){Me(t,n,S.error);return}}let C=w.navigation.location||w.location,E=un(e.history,C,g.signal),D=s.activeRoutes,k=w.navigation.state===`idle`?w.matches:ve(D,w.navigation.location,c,!1,s.branches);V(k,`Didn't find any matches after fetcher action`);let A=++I;R.set(t,A);let{dsMatches:j,revalidatingFetchers:M}=It(E,u,a,o,e.history,w,k,m,C,r,!1,N,P,ne,B,z,D,c,e.patchRoutesOnNavigation!=null,s.branches,[v.route.id,S],h),ee=Vn(m,S.data),te=new Map(w.fetchers);te.set(t,ee),M.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=te.get(t),r=Vn(void 0,n?n.data:void 0);te.set(t,r),Re(t),e.controller&&F.set(t,e.controller)}),fe({fetchers:te});let re=()=>M.forEach(e=>Re(e.key));g.signal.addEventListener(`abort`,re);let{loaderResults:ie,fetcherResults:ae}=await ke(j,M,E,C,u);if(g.signal.aborted)return;g.signal.removeEventListener(`abort`,re),R.delete(t),F.delete(t),M.forEach(e=>F.delete(e.key));let oe=w.fetchers.has(t),H=e=>{if(!oe)return e;let n=new Map(e.fetchers);return n.set(t,Un(S.data)),{...e,fetchers:n}},se=xn(ie);if(se)return w=H(w),De(E,se.result,!1,{preventScrollReset:p});if(se=xn(ae),se)return z.add(se.key),w=H(w),De(E,se.result,!1,{preventScrollReset:p});let ce=new Map(w.fetchers);oe&&ce.set(t,Un(S.data));let{loaderData:le,errors:ue}=hn(w,k,ie,void 0,M,ae,ce);He(A,ce),w.navigation.state===`loading`&&A>L?(V(T,`Expected pending action`),O&&O.abort(),pe(w.navigation.location,{matches:k,loaderData:le,errors:ue,fetchers:ce})):(fe({errors:ue,loaderData:gn(w.loaderData,le,k,ue),fetchers:ce}),N=!1)}async function Ee(t,n,i,s,c,l,u,d,f){let p=w.fetchers.get(t);je(t,Vn(f,p?p.data:void 0),{flushSync:u});let m=new AbortController,h=un(e.history,i,m.signal);if(l){let e=await $e(s,new URL(h.url).pathname,h.signal,t);if(e.type===`aborted`)return;if(e.type===`error`){Me(t,n,e.error,{flushSync:u});return}if(e.matches)s=e.matches;else{Me(t,n,bn(404,{pathname:i}),{flushSync:u});return}}let g=Ln(s,i);F.set(t,m);let _=I,v=await Oe(h,i,tn(a,o,h,i,s,g,r,c),c,t),y=v[g.route.id];if(!y){for(let e of s)if(v[e.route.id]){y=v[e.route.id];break}}if(F.get(t)===m&&F.delete(t),!h.signal.aborted){if(ne.has(t)){je(t,Un(void 0));return}if(kn(y))if(L>_){je(t,Un(void 0));return}else{z.add(t),await De(h,y,!1,{preventScrollReset:d});return}if(On(y)){Me(t,n,y.error);return}je(t,Un(y.data))}}async function De(r,i,a,{submission:o,fetcherSubmission:s,preventScrollReset:l,replace:u}={}){a||(E?.resolve(),E=null),i.response.headers.has(`X-Remix-Revalidate`)&&(N=!0);let d=i.response.headers.get(`Location`);V(d,`Expected a Location header on the redirect Response`),d=ln(d,new URL(r.url),c,e.history);let f=ie(w.location,d,{_isRedirect:!0});if(n){let e=!1;if(i.response.headers.has(`X-Remix-Reload-Document`))e=!0;else if(Be(d)){let n=se(t,d,!0);e=n.origin!==t.location.origin||Le(n.pathname,c)==null}if(e){u?t.location.replace(d):t.location.assign(d);return}}O=null;let p=u===!0||i.response.headers.has(`X-Remix-Replace`)?`REPLACE`:`PUSH`,{formMethod:m,formAction:h,formEncType:g}=w.navigation;!o&&!s&&m&&h&&g&&(o=Rn(w.navigation));let _=o||s;bt.has(i.response.status)&&_&&Fn(_.formMethod)?await _e(p,f,{submission:{..._,formAction:d},preventScrollReset:l||D,enableViewTransition:a?k:void 0}):await _e(p,f,{overrideNavigation:zn(f,[],p,o),fetcherSubmission:s,preventScrollReset:l||D,enableViewTransition:a?k:void 0})}async function Oe(e,t,n,r,i){let a,o={};try{a=await nn(l,e,t,n,i,r,!1)}catch(e){return n.filter(e=>
10e.shouldLoad).forEach(t=>{o[t.route.id]={type:`error`,error:e}}),o}if(e.signal.aborted)return o;if(!Fn(e.method))for(let e of n){if(a[e.route.id]?.type===`error`)break;!a.hasOwnProperty(e.route.id)&&!w.loaderData.hasOwnProperty(e.route.id)&&(!w.errors||!w.errors.hasOwnProperty(e.route.id))&&e.shouldCallHandler()&&(a[e.route.id]={type:`error`,result:Error(`No result returned from dataStrategy for route ${e.route.id}`)})}for(let[t,r]of Object.entries(a))if(Dn(r)){let i=r.result;o[t]={type:`redirect`,response:sn(i,e,t,n,c)}}else o[t]=await on(r);return o}async function ke(e,t,n,r,i){let a=Oe(n,r,e,i,null),o=Promise.all(t.map(async e=>{if(e.matches&&e.match&&e.request&&e.controller){let t=(await Oe(e.request,e.path,e.matches,i,e.key))[e.match.route.id];return{[e.key]:t}}return Promise.resolve({[e.key]:{type:`error`,error:bn(404,{pathname:e.path})}})}));return{loaderResults:await a,fetcherResults:(await o).reduce((e,t)=>Object.assign(e,t),{})}}function Ae(){N=!0,B.forEach((e,t)=>{F.has(t)&&P.add(t),Re(t)})}function je(e,t,n={}){let r=new Map(w.fetchers);r.set(e,t),fe({fetchers:r},{flushSync:(n&&n.flushSync)===!0})}function Me(e,t,n,r={}){let i=vn(w.matches,t),a=new Map(w.fetchers);Fe(a,e),fe({errors:{[i.route.id]:n},fetchers:a},{flushSync:(r&&r.flushSync)===!0})}function Ne(e){return ee.set(e,(ee.get(e)||0)+1),ne.has(e)&&ne.delete(e),w.fetchers.get(e)||St}function Pe(e,t){Re(e,t?.reason),je(e,Un(null))}function Fe(e,t){let n=w.fetchers.get(t);F.has(t)&&!(n&&n.state===`loading`&&R.has(t))&&Re(t),B.delete(t),R.delete(t),z.delete(t),ne.delete(t),P.delete(t),e.delete(t)}function Ie(e){let t=(ee.get(e)||0)-1;t<=0?(ee.delete(e),ne.add(e)):ee.set(e,t),fe({fetchers:new Map(w.fetchers)})}function Re(e,t){let n=F.get(e);n&&(n.abort(t),F.delete(e))}function ze(e,t){for(let n of e){let e=t.get(n);V(e,`Expected fetcher: ${n}`);let r=Un(e.data);t.set(n,r)}}function Ve(e){let t=[],n=!1;for(let r of z){let i=e.get(r);V(i,`Expected fetcher: ${r}`),i.state===`loading`&&(z.delete(r),t.push(r),n=!0)}return ze(t,e),n}function He(e,t){let n=[];for(let[r,i]of R)if(i<e){let e=t.get(r);V(e,`Expected fetcher: ${r}`),e.state===`loading`&&(Re(r),R.delete(r),n.push(r))}return ze(n,t),n.length>0}function Ue(e,t){let n=w.blockers.get(e)||Ct;return re.get(e)!==t&&re.set(e,t),n}function We(e){w.blockers.delete(e),re.delete(e)}function Ge(e,t){let n=w.blockers.get(e)||Ct;V(n.state===`unblocked`&&t.state===`blocked`||n.state===`blocked`&&t.state===`blocked`||n.state===`blocked`&&t.state===`proceeding`||n.state===`blocked`&&t.state===`unblocked`||n.state===`proceeding`&&t.state===`unblocked`,`Invalid blocker state transition: ${n.state} -> ${t.state}`);let r=new Map(w.blockers);r.set(e,t),fe({blockers:r})}function Ke({currentLocation:e,nextLocation:t,historyAction:n}){if(re.size===0)return;re.size>1&&te(!1,`A router only supports one blocker at a time`);let r=Array.from(re.entries()),[i,a]=r[r.length-1],o=w.blockers.get(i);if(!(o&&o.state===`proceeding`)&&a({currentLocation:e,nextLocation:t,historyAction:n}))return i}function qe(e){let t=bn(404,{pathname:e}),n=s.activeRoutes,{matches:r,route:i}=yn(n);return{notFoundMatches:r,route:i,error:t}}function Je(e,t,n){if(m=e,g=t,h=n||null,!_&&w.navigation===xt){_=!0;let e=Ze(w.location,w.matches);e!=null&&fe({restoreScrollPosition:e})}return()=>{m=null,g=null,h=null}}function Ye(e,t){return h&&h(e,t.map(e=>ye(e,w.loaderData)))||e.key}function Xe(e,t){if(m&&g){let n=Ye(e,t);m[n]=g()}}function Ze(e,t){if(m){let n=Ye(e,t),r=m[n];if(typeof r==`number`)return r}return null}function Qe(t,n,r){if(e.patchRoutesOnNavigation){let e=s.branches;if(!t)return{active:!0,matches:ve(n,r,c,!0,e)||[]};if(Object.keys(t[0].params).length>0)return{active:!0,matches:ve(n,r,c,!0,e)}}return{active:!1,matches:null}}async function $e(t,n,r,i){if(!e.patchRoutesOnNavigation)return{type:`success`,matches:t};let l=t;for(;;){let t=o;try{await e.patchRoutesOnNavigation({signal:r,path:n,matches:l,fetcherKey:i,patch:(e,n)=>{r.aborted||Ht(e,n,s,t,a,!1)}})}catch(e){return{type:`error`,error:e,partialMatches:l}}if(r.aborted)return{type:`aborted`};let u=s.branches,d=ve(s.activeRoutes,n,c,!1,u),f=null;if(d&&(Object.keys(d[0].params).length===0||(f=ve(s.activeRoutes,n,c,!0,u),!(f&&l.length<f.length&&tt(l,f.slice(0,l.length))))))return{type:`success`,matches:d};if(f||=ve(s.activeRoutes,n,c,!0,u),!f||tt(l,f))return{type:`success`,matches:null};l=f}}function tt(e,t){return e.length===t.length&&e.every((e,n)=>e.route.id===t[n].route.id)}function nt(e){o={},s.setHmrRoutes(he(e,a,void 0,o))}function rt(e,t,n=!1){Ht(e,t,s,o,a,n),s.hasHMRRoutes||fe({})}return C={get basename(){return c},get future(){return u},get state(){return w},get routes(){return s.stableRoutes},get branches(){return s.branches},get manifest(){return o},get window(){return t},initialize:ce,subscribe:de,enableScrollRestoration:Je,navigate:me,fetch:we,revalidate:ge,createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Ne,resetFetcher:Pe,deleteFetcher:Ie,dispose:ue,getBlocker:Ue,deleteBlocker:We,patchRoutes:rt,_internalFetchControllers:F,_internalSetRoutes:nt,_internalSetStateDoNotUseOrYouWillBreakYourApp(e){fe(e)}},e.instrumentations&&(C=ot(C,e.instrumentations.map(e=>
10e.router).filter(Boolean))),C}function Nt(e){return e!=null&&(`formData`in e&&e.formData!=null||`body`in e&&e.body!==void 0)}function Pt(e,t,n,r,i,a){let o,s;if(i){o=[];for(let e of t)if(o.push(e),e.route.id===i){s=e;break}}else o=t,s=t[t.length-1];let c=Ke(r||`.`,Ge(o),Le(e.pathname,n)||e.pathname,a===`path`);if(r??(c.search=e.search,c.hash=e.hash),(r==null||r===``||r===`.`)&&s){let e=In(c.search);if(s.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,`?index&`):`?index`;else if(!s.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll(`index`);e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();c.search=n?`?${n}`:``}}return n!==`/`&&(c.pathname=Re({basename:n,pathname:c.pathname})),ae(c)}function Ft(e,t,n){if(!n||!Nt(n))return{path:t};if(n.formMethod&&!Pn(n.formMethod))return{path:t,error:bn(405,{method:n.formMethod})};let r=()=>({path:t,error:bn(400,{type:`invalid-body`})}),i=(n.formMethod||`get`).toUpperCase(),a=Sn(t);if(n.body!==void 0){if(n.formEncType===`text/plain`){if(!Fn(i))return r();let e=typeof n.body==`string`?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,[t,n])=>`${e}${t}=${n} 11`,``):String(n.body);return{path:t,submission:{formMethod:i,formAction:a,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if(n.formEncType===`application/json`){if(!Fn(i))return r();try{let e=typeof n.body==`string`?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:i,formAction:a,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch{return r()}}}V(typeof FormData==`function`,`FormData is not available in this environment`);let o,s;if(n.formData)o=fn(n.formData),s=n.formData;else if(n.body instanceof FormData)o=fn(n.body),s=n.body;else if(n.body instanceof URLSearchParams)o=n.body,s=pn(o);else if(n.body==null)o=new URLSearchParams,s=new FormData;else try{o=new URLSearchParams(n.body),s=pn(o)}catch{return r()}let c={formMethod:i,formAction:a,formEncType:n&&n.formEncType||`application/x-www-form-urlencoded`,formData:s,json:void 0,text:void 0};if(Fn(c.formMethod))return{path:t,submission:c};let l=oe(t);return e&&l.search&&In(l.search)&&o.append(`index`,``),l.search=`?${o}`,{path:ae(l),submission:c}}function It(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x){let S=b?On(b[1])?b[1].error:b[1].data:void 0,C=i.createURL(a.location),w=i.createURL(c),T;if(u&&a.errors){let e=Object.keys(a.errors)[0];T=o.findIndex(t=>t.route.id===e)}else if(b&&On(b[1])){let e=b[0];T=o.findIndex(t=>t.route.id===e)-1}let E=b?b[1].statusCode:void 0,D=E&&E>=400,O={currentUrl:C,currentParams:a.matches[0]?.params||{},nextUrl:w,nextParams:o[0].params,...s,actionResult:S,actionStatus:E},k=tt(o),A=o.map((i,o)=>{let{route:s}=i,f=null;if(T!=null&&o>T)f=!1;else if(s.lazy)f=!0;else if(!Lt(s))f=!1;else if(u){let{shouldLoad:e}=Rt(s,a.loaderData,a.errors);f=e}else zt(a.loaderData,a.matches[o],i)&&(f=!0);if(f!==null)return en(n,r,e,c,k,i,l,t,f);let p=!1;typeof x==`boolean`?p=x:D?p=!1:d||C.pathname+C.search===w.pathname+w.search?p=!0:C.search===w.search?Bt(a.matches[o],i)&&(p=!0):p=!0;let m={...O,defaultShouldRevalidate:p},h=Vt(i,m);return en(n,r,e,c,k,i,l,t,h,m,x)}),j=[];return m.forEach((e,s)=>{if(u||!o.some(t=>t.route.id===e.routeId)||p.has(s))return;let c=a.fetchers.get(s),m=c&&c.state!==`idle`&&c.data===void 0,b=ve(g,e.path,_??`/`,!1,y);if(!b){if(v&&m)return;j.push({key:s,routeId:e.routeId,path:e.path,matches:null,match:null,request:null,controller:null});return}if(h.has(s))return;let S=Ln(b,e.path),C=new AbortController,w=un(i,e.path,C.signal),T=null;if(f.has(s))f.delete(s),T=tn(n,r,w,e.path,b,S,l,t);else if(m)d&&(T=tn(n,r,w,e.path,b,S,l,t));else{let i;i=typeof x==`boolean`?x:!D&&d;let a={...O,defaultShouldRevalidate:i};Vt(S,a)&&(T=tn(n,r,w,e.path,b,S,l,t,a))}T&&j.push({key:s,routeId:e.routeId,path:e.path,matches:T,match:S,request:w,controller:C})}),{dsMatches:A,revalidatingFetchers:j}}function Lt(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function Rt(e,t,n){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!Lt(e))return{shouldLoad:!1,renderFallback:!1};let r=t!=null&&e.id in t,i=n!=null&&n[e.id]!==void 0;if(!r&&i)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader==`function`&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!r};let a=!r&&!i;return{shouldLoad:a,renderFallback:a}}function zt(e,t,n){let r=!t||n.route.id!==t.route.id,i=!e.hasOwnProperty(n.route.id);return r||i}function Bt(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith(`*`)&&e.params[`*`]!==t.params[`*`]}function Vt(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n==`boolean`)return n}return t.defaultShouldRevalidate}function Ht(e,t,n,r,i,a){let o;if(e){let t=r[e];V(t,`No route found to patch children into: routeId = ${e}`),t.children||=[],o=t.children}else o=n.activeRoutes;let s=[],c=[];
11if(t.forEach(e=>{let t=o.find(t=>Ut(e,t));t?c.push({existingRoute:t,newRoute:e}):s.push(e)}),s.length>0){let t=he(s,i,[e||`_`,`patch`,String(o?.length||`0`)],r);o.push(...t)}if(a&&c.length>0)for(let e=0;e<c.length;e++){let{existingRoute:t,newRoute:n}=c[e],r=t,[a]=he([n],i,[],{},!0);Object.assign(r,{element:a.element?a.element:r.element,errorElement:a.errorElement?a.errorElement:r.errorElement,hydrateFallbackElement:a.hydrateFallbackElement?a.hydrateFallbackElement:r.hydrateFallbackElement})}n.hasHMRRoutes||n.setRoutes([...n.activeRoutes])}function Ut(e,t){return`id`in e&&`id`in t&&e.id===t.id?!0:e.index!==t.index||e.path!==t.path||e.caseSensitive!==t.caseSensitive?!1:(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children?.every((e,n)=>t.children?.some(t=>Ut(e,t)))??!1}var Wt=new WeakMap,Gt=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let i=n[t.id];if(V(i,`No route found in manifest`),!i.lazy||typeof i.lazy!=`object`)return;let a=i.lazy[e];if(!a)return;let o=Wt.get(i);o||(o={},Wt.set(i,o));let s=o[e];if(s)return s;let c=(async()=>{let t=de(e),n=i[e]!==void 0&&e!==`hasErrorBoundary`;if(t)te(!t,`Route property `+e+` is not a supported lazy route property. This property will be ignored.`),o[e]=Promise.resolve();else if(n)te(!1,`Route "${i.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let t=await a();t!=null&&(Object.assign(i,{[e]:t}),Object.assign(i,r(i)))}typeof i.lazy==`object`&&(i.lazy[e]=void 0,Object.values(i.lazy).every(e=>e===void 0)&&(i.lazy=void 0))})();return o[e]=c,c},Kt=new WeakMap;function qt(e,t,n,r,i){let a=n[e.id];if(V(a,`No route found in manifest`),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy==`function`){let t=Kt.get(a);if(t)return{lazyRoutePromise:t,lazyHandlerPromise:t};let n=(async()=>{V(typeof e.lazy==`function`,`No lazy route function found`);let t=await e.lazy(),n={};for(let e in t){let r=t[e];if(r===void 0)continue;let i=pe(e),o=a[e]!==void 0&&e!==`hasErrorBoundary`;i?te(!i,`Route property `+e+` is not a supported property to be returned from a lazy route function. This property will be ignored.`):o?te(!o,`Route "${a.id}" has a static property "${e}" defined but its lazy function is also returning a value for this property. The lazy route property "${e}" will be ignored.`):n[e]=r}Object.assign(a,n),Object.assign(a,{...r(a),lazy:void 0})})();return Kt.set(a,n),n.catch(()=>{}),{lazyRoutePromise:n,lazyHandlerPromise:n}}let o=Object.keys(e.lazy),s=[],c;for(let a of o){if(i&&i.includes(a))continue;let o=Gt({key:a,route:e,manifest:n,mapRouteProperties:r});o&&(s.push(o),a===t&&(c=o))}let l=s.length>0?Promise.all(s).then(()=>{}):void 0;return l?.catch(()=>{}),c?.catch(()=>{}),{lazyRoutePromise:l,lazyHandlerPromise:c}}async function Jt(e){let t=e.matches.filter(e=>e.shouldLoad),n={};return(await Promise.all(t.map(e=>e.resolve()))).forEach((e,r)=>{n[t[r].route.id]=e}),n}async function Yt(e){return e.matches.some(e=>e.route.middleware)?Xt(e,()=>Jt(e)):Jt(e)}function Xt(e,t){return Zt(e,t,e=>{if(Nn(e))throw e;return e},Tn,n);function n(t,n,r){if(r)return Promise.resolve(Object.assign(r.value,{[n]:{type:`error`,result:t}}));{let{matches:r}=e,i=vn(r,r[Math.min(Math.max(r.findIndex(e=>e.route.id===n),0),Math.max(r.findIndex(e=>e.shouldCallHandler()),0))].route.id).route.id;return Promise.resolve({[i]:{type:`error`,result:t}})}}}async function Zt(e,t,n,r,i){let{matches:a,...o}=e;return await Qt(o,a.flatMap(e=>e.route.middleware?e.route.middleware.map(t=>[e.route.id,t]):[]),t,n,r,i)}async function Qt(e,t,n,r,i,a,o=0){let{request:s}=e;if(s.signal.aborted)throw s.signal.reason??Error(`Request aborted: ${s.method} ${s.url}`);let c=t[o];if(!c)return await n();let[l,u]=c,d,f=async()=>{if(d)throw Error("You may only call `next()` once per middleware");try{return d={value:await Qt(e,t,n,r,i,a,o+1)},d.value}catch(e){return d={value:await a(e,l,d)},d.value}};try{let t=await u(e,f),n=t==null?void 0:r(t);return i(n)?n:d?n??d.value:(d={value:await f()},d.value)}catch(e){return await a(e,l,d)}}function $t(e,t,n,r,i){let a=Gt({key:`middleware`,route:r.route,manifest:t,mapRouteProperties:e}),o=qt(r.route,Fn(n.method)?`action`:`loader`,t,e,i);return{middleware:a,route:o.lazyRoutePromise,handler:o.lazyHandlerPromise}}function en(e,t,n,r,i,a,o,s,c,l=null,u){let d=!1,f=$t(e,t,n,a,o);return{...a,_lazyPromises:f,shouldLoad:c,shouldRevalidateArgs:l,shouldCallHandler(e){return d=!0,l?typeof u==`boolean`?Vt(a,{...l,defaultShouldRevalidate:u}):typeof e==`boolean`?Vt(a,{...l,defaultShouldRevalidate:e}):Vt(a,l):c}
11,resolve(e){let{lazy:t,loader:o,middleware:l}=a.route,u=d||c||e&&!Fn(n.method)&&(t||o),p=l&&l.length>0&&!o&&!t;return u&&(Fn(n.method)||!p)?rn({request:n,path:r,pattern:i,match:a,lazyHandlerPromise:f?.handler,lazyRoutePromise:f?.route,handlerOverride:e,scopedContext:s}):Promise.resolve({type:`data`,result:void 0})}}}function tn(e,t,n,r,i,a,o,s,c=null){return i.map(l=>l.route.id===a.route.id?en(e,t,n,r,tt(i),l,o,s,!0,c):{...l,shouldLoad:!1,shouldRevalidateArgs:c,shouldCallHandler:()=>!1,_lazyPromises:$t(e,t,n,l,o),resolve:()=>Promise.resolve({type:`data`,result:void 0})})}async function nn(e,t,n,r,i,a,o){r.some(e=>e._lazyPromises?.middleware)&&await Promise.all(r.map(e=>e._lazyPromises?.middleware));let s={request:t,url:dn(t,n),pattern:tt(r),params:r[0].params,context:a,matches:r},c=o?()=>{throw Error("You cannot call `runClientMiddleware()` from a static handler `dataStrategy`. Middleware is run outside of `dataStrategy` during SSR in order to bubble up the Response. You can enable middleware via the `respond` API in `query`/`queryRoute`")}:e=>{let t=s;return Xt(t,()=>e({...t,fetcherKey:i,runClientMiddleware:()=>{throw Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))},l=await e({...s,fetcherKey:i,runClientMiddleware:c});try{await Promise.all(r.flatMap(e=>[e._lazyPromises?.handler,e._lazyPromises?.route]))}catch{}return l}async function rn({request:e,path:t,pattern:n,match:r,lazyHandlerPromise:i,lazyRoutePromise:a,handlerOverride:o,scopedContext:s}){let c,l,u=Fn(e.method),d=u?`action`:`loader`,f=i=>{let a,c=new Promise((e,t)=>a=t);l=()=>a(),e.signal.addEventListener(`abort`,l);let u=a=>typeof i==`function`?i({request:e,url:dn(e,t),pattern:n,params:r.params,context:s},...a===void 0?[]:[a]):Promise.reject(Error(`You cannot call the handler for a route which defines a boolean "${d}" [routeId: ${r.route.id}]`)),f=(async()=>{try{return{type:`data`,result:await(o?o(e=>u(e)):u())}}catch(e){return{type:`error`,result:e}}})();return Promise.race([f,c])};try{let t=u?r.route.action:r.route.loader;if(i||a)if(t){let e,[n]=await Promise.all([f(t).catch(t=>{e=t}),i,a]);if(e!==void 0)throw e;c=n}else{await i;let t=u?r.route.action:r.route.loader;if(t)[c]=await Promise.all([f(t),a]);else if(d===`action`){let t=new URL(e.url),n=t.pathname+t.search;throw bn(405,{method:e.method,pathname:n,routeId:r.route.id})}else return{type:`data`,result:void 0}}else if(t)c=await f(t);else{let t=new URL(e.url);throw bn(404,{pathname:t.pathname+t.search})}}catch(e){return{type:`error`,result:e}}finally{l&&e.signal.removeEventListener(`abort`,l)}return c}async function an(e){let t=e.headers.get(`Content-Type`);return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function on(e){let{result:t,type:n}=e;if(jn(t)){let e;try{e=await an(t)}catch(e){return{type:`error`,error:e}}return n===`error`?{type:`error`,error:new $e(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:`data`,data:e,statusCode:t.status,headers:t.headers}}return n===`error`?An(t)?t.data instanceof Error?{type:`error`,error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`error`,error:wn(t),statusCode:et(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`error`,error:t,statusCode:et(t)?t.status:void 0}:An(t)?{type:`data`,data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`data`,data:t}}function sn(e,t,n,r,i){let a=e.headers.get(`Location`);if(V(a,`Redirects returned/thrown from loaders/actions must have a Location header`),!Be(a)){let o=r.slice(0,r.findIndex(e=>e.route.id===n)+1);a=Pt(new URL(t.url),o,i,a),e.headers.set(`Location`,a)}return e}var cn=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function ln(e,t,n,r){if(Be(e)){let r=e,i=r.startsWith(`//`)?new URL(t.protocol+r):new URL(r);if(cn.includes(i.protocol))throw Error(`Invalid redirect location`);let a=Le(i.pathname,n)!=null;if(i.origin===t.origin&&a)return qe(i.pathname)+i.search+i.hash}try{let t=r.createURL(e);if(cn.includes(t.protocol))throw Error(`Invalid redirect location`)}catch{}return e}function un(e,t,n,r){let i=e.createURL(Sn(t)).toString(),a={signal:n};if(r&&Fn(r.formMethod)){let{formMethod:e,formEncType:t}=r;a.method=e.toUpperCase(),t===`application/json`?(a.headers=new Headers({"Content-Type":t}),a.body=JSON.stringify(r.json)):a.body=t===`text/plain`?r.text:t===`application/x-www-form-urlencoded`&&r.formData?fn(r.formData):r.formData}
11return new Request(i,a)}function dn(e,t){let n=new URL(e.url),r=typeof t==`string`?oe(t):t;if(n.pathname=r.pathname||`/`,r.search){let e=new URLSearchParams(r.search),t=e.getAll(`index`);e.delete(`index`);for(let n of t.filter(Boolean))e.append(`index`,n);n.search=e.size?`?${e.toString()}`:``}else n.search=``;return n.hash=r.hash||``,n}function fn(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r==`string`?r:r.name);return t}function pn(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function mn(e,t,n,r=!1,i=!1){let a={},o=null,s,c=!1,l={},u=n&&On(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let d=n.route.id,f=t[d];if(V(!kn(f),`Cannot handle redirect results in processLoaderData`),On(f)){let t=f.error;if(u!==void 0&&(t=u,u=void 0),o||={},i)o[d]=t;else{let n=vn(e,d);o[n.route.id]??(o[n.route.id]=t)}r||(a[d]=Et),c||(c=!0,s=et(f.error)?f.error.status:500),f.headers&&(l[d]=f.headers)}else a[d]=f.data,f.statusCode&&f.statusCode!==200&&!c&&(s=f.statusCode),f.headers&&(l[d]=f.headers)}),u!==void 0&&n&&(o={[n[0]]:u},n[2]&&(a[n[2]]=void 0)),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:l}}function hn(e,t,n,r,i,a,o){let{loaderData:s,errors:c}=mn(t,n,r);return i.filter(e=>!e.matches||e.matches.some(e=>e.shouldLoad)).forEach(t=>{let{key:n,match:r,controller:i}=t;if(i&&i.signal.aborted)return;let s=a[n];if(V(s,`Did not find corresponding fetcher result`),On(s)){let t=vn(e.matches,r?.route.id);c&&c[t.route.id]||(c={...c,[t.route.id]:s.error}),o.delete(n)}else if(kn(s))V(!1,`Unhandled fetcher revalidation redirect`);else{let e=Un(s.data);o.set(n,e)}}),{loaderData:s,errors:c}}function gn(e,t,n,r){let i=Object.entries(t).filter(([,e])=>e!==Et).reduce((e,[t,n])=>(e[t]=n,e),{});for(let a of n){let n=a.route.id;if(!t.hasOwnProperty(n)&&e.hasOwnProperty(n)&&a.route.loader&&(i[n]=e[n]),r&&r.hasOwnProperty(n))break}return i}function _n(e){return e?On(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function vn(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>e.route.hasErrorBoundary===!0)||e[0]}function yn(e){let t=e.length===1?e[0]:e.find(e=>e.index||!e.path||e.path===`/`)||{id:`__shim-error-route__`};return{matches:[{params:{},pathname:``,pathnameBase:``,route:t}],route:t}}function bn(e,{pathname:t,routeId:n,method:r,type:i,message:a}={}){let o=`Unknown Server Error`,s=`Unknown @remix-run/router error`;return e===400?(o=`Bad Request`,r&&t&&n?s=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:i===`invalid-body`&&(s=`Unable to encode submission body`)):e===403?(o=`Forbidden`,s=`Route "${n}" does not match URL "${t}"`):e===404?(o=`Not Found`,s=`No route matches URL "${t}"`):e===405&&(o=`Method Not Allowed`,r&&t&&n?s=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:r&&(s=`Invalid request method "${r.toUpperCase()}"`)),new $e(e||500,o,Error(s),!0)}function xn(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(kn(r))return{key:n,result:r}}}function Sn(e){return ae({...typeof e==`string`?oe(e):e,hash:``})}function Cn(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===``?t.hash!==``:e.hash===t.hash||t.hash!==``}function wn(e){return new $e(e.init?.status??500,e.init?.statusText??`Internal Server Error`,e.data)}function Tn(e){return typeof e==`object`&&!!e&&Object.entries(e).every(([e,t])=>typeof e==`string`&&En(t))}function En(e){return typeof e==`object`&&!!e&&`type`in e&&`result`in e&&(e.type===`data`||e.type===`error`)}function Dn(e){return jn(e.result)&&yt.has(e.result.status)}function On(e){return e.type===`error`}function kn(e){return(e&&e.type)===`redirect`}function An(e){return typeof e==`object`&&!!e&&`type`in e&&`data`in e&&`init`in e&&e.type===`DataWithResponseInit`}function jn(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.headers==`object`&&e.body!==void 0}function Mn(e){return yt.has(e)}function Nn(e){return jn(e)&&Mn(e.status)&&e.headers.has(`Location`)}function Pn(e){return vt.has(e.toUpperCase())}function Fn(e){return gt.has(e.toUpperCase())}function In(e){return new URLSearchParams(e).getAll(`index`).some(e=>e===``)}function Ln(e,t){let n=typeof t==`string`?oe(t).search:t.search;if(e[e.length-1].route.index&&In(n||``))return e[e.length-1];let r=We(e);return r[r.length-1]}function Rn(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:a,json:o}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function zn(e,t,n,r){return r?{state:`loading`,location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}:{state:`loading`,location:e,matches:t,historyAction:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Bn(e,t,n,r){return{state:`submitting`,location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function Vn(e,t){return e?{state:`loading`,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:`loading`,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Hn(e,t){return{state:`submitting`,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Un(e){return{state:`idle`,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Wn(e,t){try{let n=e.sessionStorage.getItem(Tt);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch{}}function Gn(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(Tt,JSON.stringify(n))}catch(e){te(!1,`Failed to save applied view transitions in sessionStorage (${e}).`)}}}function Kn(){let e,t,n=new Promise((r,i)=>{e=async e=>{r(e);try{await n}catch{}},t=async e=>{i(e);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var qn=O.createContext(null);qn.displayName=`DataRouter`;var Jn=O.createContext(null);Jn.displayName=`DataRouterState`;var Yn=O.createContext(!1);function Xn(){return O.useContext(Yn)}var Zn=O.createContext({isTransitioning:!1});Zn.displayName=`ViewTransition`;var Qn=O.createContext(new Map);Qn.displayName=`Fetchers`;var $n=O.createContext(null);$n.displayName=`Await`;var er=O.createContext(null);er.displayName=`Navigation`;var tr=O.createContext(null);tr.displayName=`Location`;var nr=O.createContext({outlet:null,matches:[],isDataRoute:!1});nr.displayName=`Route`;var rr=O.createContext(null);rr.displayName=`RouteError`;var ir=`REACT_ROUTER_ERROR`,ar=`REDIRECT`,or=`ROUTE_ERROR_RESPONSE`;function sr(e){if(e.startsWith(`${ir}:${ar}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function cr(e){if(e.startsWith(`${ir}:${or}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new $e(t.status,t.statusText,t.data)}catch{}}function lr(e,{relative:t}={}){V(ur(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=O.useContext(er),{hash:i,pathname:a,search:o}=yr(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:Je([n,a])),r.createHref({pathname:s,search:o,hash:i})}function ur(){return O.useContext(tr)!=null}function dr(){return V(ur(),`useLocation() may be used only in the context of a <Router> component.`),O.useContext(tr).location}var fr=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function pr(e){O.useContext(er).static||O.useLayoutEffect(e)}function mr(){let{isDataRoute:e}=O.useContext(nr);return e?Lr():hr()}function hr(){V(ur(),`useNavigate() may be used only in the context of a <Router> component.`);let e=O.useContext(qn),{basename:t,navigator:n}=O.useContext(er),{matches:r}=O.useContext(nr),{pathname:i}=dr(),a=JSON.stringify(Ge(r)),o=O.useRef(!1);return pr(()=>{o.current=!0}),O.useCallback((r,s={})=>
11{if(te(o.current,fr),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=Ke(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Je([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var gr=O.createContext(null);function _r(e){let t=O.useContext(nr).outlet;return O.useMemo(()=>t&&O.createElement(gr.Provider,{value:e},t),[t,e])}function vr(){let{matches:e}=O.useContext(nr);return e[e.length-1]?.params??{}}function yr(e,{relative:t}={}){let{matches:n}=O.useContext(nr),{pathname:r}=dr(),i=JSON.stringify(Ge(n));return O.useMemo(()=>Ke(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function br(e,t,n){V(ur(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=O.useContext(er),{matches:i}=O.useContext(nr),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;zr(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 12 13Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=dr(),d;if(t){let e=typeof t==`string`?oe(t):t;V(c===`/`||e.pathname?.startsWith(c),`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 "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):_e(e,{pathname:p});te(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),te(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=Dr(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Je([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Je([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?O.createElement(tr.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function xr(){let e=Pr(),t=et(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=O.createElement(O.Fragment,null,O.createElement(`p`,null,`ð¿ Hey developer ð`),O.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,O.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,O.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),O.createElement(O.Fragment,null,O.createElement(`h2`,null,`Unexpected Application Error!`),O.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?O.createElement(`pre`,{style:i},n):null,o)}var Sr=O.createElement(xr,null),Cr=class extends O.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=cr(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:O.createElement(nr.Provider,{value:this.props.routeContext},O.createElement(rr.Provider,{value:e,children:this.props.component}));return this.context?O.createElement(Tr,{error:e},t):t}};Cr.contextType=Yn;var wr=new WeakMap;function Tr({children:e,error:t}){let{basename:n}=O.useContext(er);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=sr(t.digest);if(e){let r=wr.get(t);if(r)throw r;let i=rt(e.location,n);if(nt&&!wr.get(t))if(i.isExternal||e.reloadDocument)window.location.href=i.absoluteURL||i.to;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw wr.set(t,n),n}return O.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${i.absoluteURL||i.to}`})}}return e}function Er({routeContext:e,match:t,children:n}){let r=O.useContext(qn);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),O.createElement(nr.Provider,{value:e},n)}
13function Dr(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);V(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:tt(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||Sr,o&&(s<0&&c===0?(zr(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?O.createElement(n.route.Component,null):n.route.element?n.route.element:e,O.createElement(Er,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?O.createElement(Cr,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function Or(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function kr(e){let t=O.useContext(qn);return V(t,Or(e)),t}function Ar(e){let t=O.useContext(Jn);return V(t,Or(e)),t}function jr(e){let t=O.useContext(nr);return V(t,Or(e)),t}function Mr(e){let t=jr(e),n=t.matches[t.matches.length-1];return V(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Nr(){return Mr(`useRouteId`)}function Pr(){let e=O.useContext(rr),t=Ar(`useRouteError`),n=Mr(`useRouteError`);return e===void 0?t.errors?.[n]:e}var Fr=0;function Ir(e){let{router:t,basename:n}=kr(`useBlocker`),r=Ar(`useBlocker`),[i,a]=O.useState(``),o=O.useCallback(t=>{if(typeof e!=`function`)return!!e;if(n===`/`)return e(t);let{currentLocation:r,nextLocation:i,historyAction:a}=t;return e({currentLocation:{...r,pathname:Le(r.pathname,n)||r.pathname},nextLocation:{...i,pathname:Le(i.pathname,n)||i.pathname},historyAction:a})},[n,e]);return O.useEffect(()=>{let e=String(++Fr);return a(e),()=>t.deleteBlocker(e)},[t]),O.useEffect(()=>{i!==``&&t.getBlocker(i,o)},[t,i,o]),i&&r.blockers.has(i)?r.blockers.get(i):Ct}function Lr(){let{router:e}=kr(`useNavigate`),t=Mr(`useNavigate`),n=O.useRef(!1);return pr(()=>{n.current=!0}),O.useCallback(async(r,i={})=>{te(n.current,fr),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var Rr={};function zr(e,t,n){!t&&!Rr[e]&&(Rr[e]=!0,te(!1,n))}var Br={};function Vr(e,t){!e&&!Br[t]&&(Br[t]=!0,console.warn(t))}var Hr=O.useOptimistic,Ur=()=>void 0;function Wr(e){return Hr?Hr(e):[e,Ur]}function Gr(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&te(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:O.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&te(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:O.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&te(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:O.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var Kr=[`HydrateFallback`,`hydrateFallbackElement`],qr=class{constructor(){this.status=`pending`,this.promise=new Promise((e,t)=>
13{this.resolve=t=>{this.status===`pending`&&(this.status=`resolved`,e(t))},this.reject=e=>{this.status===`pending`&&(this.status=`rejected`,t(e))}})}};function Jr({router:e,flushSync:t,onError:n,useTransitions:r}){r=Xn()||r;let[i,a]=O.useState(e.state),[o,s]=Wr(i),[c,l]=O.useState(),[u,d]=O.useState({isTransitioning:!1}),[f,p]=O.useState(),[m,h]=O.useState(),[g,_]=O.useState(),v=O.useRef(new Map),y=O.useCallback((i,{deletedFetchers:o,newErrors:c,flushSync:u,viewTransitionOpts:g})=>{c&&n&&Object.values(c).forEach(e=>n(e,{location:i.location,params:i.matches[0]?.params??{},pattern:tt(i.matches)})),i.fetchers.forEach((e,t)=>{e.data!==void 0&&v.current.set(t,e.data)}),o.forEach(e=>v.current.delete(e)),Vr(u===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let y=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition==`function`;if(Vr(g==null||y,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!g||!y){t&&u?t(()=>a(i)):r===!1?a(i):O.startTransition(()=>{r===!0&&s(e=>Yr(e,i)),a(i)});return}if(t&&u){t(()=>{m&&(f?.resolve(),m.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:g.currentLocation,nextLocation:g.nextLocation})});let n=e.window.document.startViewTransition(()=>{t(()=>a(i))});n.finished.finally(()=>{t(()=>{p(void 0),h(void 0),l(void 0),d({isTransitioning:!1})})}),t(()=>h(n));return}m?(f?.resolve(),m.skipTransition(),_({state:i,currentLocation:g.currentLocation,nextLocation:g.nextLocation})):(l(i),d({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}))},[e.window,t,m,f,r,s,n]);O.useLayoutEffect(()=>e.subscribe(y),[e,y]),O.useEffect(()=>{u.isTransitioning&&!u.flushSync&&p(new qr)},[u]),O.useEffect(()=>{if(f&&c&&e.window){let t=c,n=f.promise,i=e.window.document.startViewTransition(async()=>{r===!1?a(t):O.startTransition(()=>{r===!0&&s(e=>Yr(e,t)),a(t)}),await n});i.finished.finally(()=>{p(void 0),h(void 0),l(void 0),d({isTransitioning:!1})}),h(i)}},[c,f,e.window,r,s]),O.useEffect(()=>{f&&c&&o.location.key===c.location.key&&f.resolve()},[f,m,o.location,c]),O.useEffect(()=>{!u.isTransitioning&&g&&(l(g.state),d({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}),_(void 0))},[u.isTransitioning,g]);let b=O.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:t=>e.navigate(t),push:(t,n,r)=>e.navigate(t,{state:n,preventScrollReset:r?.preventScrollReset}),replace:(t,n,r)=>e.navigate(t,{replace:!0,state:n,preventScrollReset:r?.preventScrollReset})}),[e]),x=e.basename||`/`,S=O.useMemo(()=>({router:e,navigator:b,static:!1,basename:x,onError:n}),[e,b,x,n]);return O.createElement(O.Fragment,null,O.createElement(qn.Provider,{value:S},O.createElement(Jn.Provider,{value:o},O.createElement(Qn.Provider,{value:v.current},O.createElement(Zn.Provider,{value:u},O.createElement(ei,{basename:x,location:o.location,navigationType:o.historyAction,navigator:b,useTransitions:r},O.createElement(Xr,{routes:e.routes,manifest:e.manifest,future:e.future,state:o,isStatic:!1,onError:n})))))),null)}function Yr(e,t){return{...e,navigation:t.navigation.state===`idle`?e.navigation:t.navigation,revalidation:t.revalidation===`idle`?e.revalidation:t.revalidation,actionData:t.navigation.state===`submitting`?e.actionData:t.actionData,fetchers:t.fetchers}}var Xr=O.memo(Zr);function Zr({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return br(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function Qr({to:e,replace:t,state:n,relative:r}){V(ur(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i}=O.useContext(er);te(!i,`<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:a}=O.useContext(nr),{pathname:o}=dr(),s=mr(),c=Ke(e,Ge(a),o,r===`path`),l=JSON.stringify(c);return O.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function $r(e){return _r(e.context)}function ei({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){V(!ur(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=O.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=oe(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=O.useMemo(()=>{let e=Le(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);
13return te(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:O.createElement(er.Provider,{value:c},O.createElement(tr.Provider,{children:t,value:h}))}O.Component;var ti=`get`,ni=`application/x-www-form-urlencoded`;function ri(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function ii(e){return ri(e)&&e.tagName.toLowerCase()===`button`}function ai(e){return ri(e)&&e.tagName.toLowerCase()===`form`}function oi(e){return ri(e)&&e.tagName.toLowerCase()===`input`}function si(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ci(e,t){return e.button===0&&(!t||t===`_self`)&&!si(e)}function li(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function ui(e,t){let n=li(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var di=null;function fi(){if(di===null)try{new FormData(document.createElement(`form`),0),di=!1}catch{di=!0}return di}var pi=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function mi(e){return e!=null&&!pi.has(e)?(te(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ni}"`),null):e}function hi(e,t){let n,r,i,a,o;if(ai(e)){let o=e.getAttribute(`action`);r=o?Le(o,t):null,n=e.getAttribute(`method`)||ti,i=mi(e.getAttribute(`enctype`))||ni,a=new FormData(e)}else if(ii(e)||oi(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?Le(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||ti,i=mi(e.getAttribute(`formenctype`))||mi(o.getAttribute(`enctype`))||ni,a=new FormData(o,e),!fi()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(ri(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=ti,r=null,i=ni,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function gi(e,t){if(e===!1||e==null)throw Error(t)}function _i(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return i.pathname=n?i.pathname.endsWith(`/`)?`${i.pathname}_.${r}`:`${i.pathname}.${r}`:i.pathname===`/`?`_root.${r}`:t&&Le(i.pathname,t)===`/`?`${Ye(t)}/_root.${r}`:`${Ye(i.pathname)}.${r}`,i}async function vi(e,t){if(e.id in t)return t[e.id];try{let n=await N(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function yi(e){return e!=null&&typeof e.page==`string`}function bi(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function xi(e,t,n){return Ei((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await vi(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(bi).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function Si(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParam
13s:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function Ci(e,t,{includeHydrateFallback:n}={}){return wi(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function wi(e){return[...new Set(e)]}function Ti(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Ei(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!yi(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(Ti(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function Di(){let e=O.useContext(qn);return gi(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function Oi(){let e=O.useContext(Jn);return gi(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var ki=O.createContext(void 0);ki.displayName=`FrameworkContext`;function Ai(){let e=O.useContext(ki);return gi(e,`You must render this element inside a <HydratedRouter> element`),e}function ji(e,t){let n=O.useContext(ki),[r,i]=O.useState(!1),[a,o]=O.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=O.useRef(null);O.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),O.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:Mi(s,p),onBlur:Mi(c,m),onMouseEnter:Mi(l,p),onMouseLeave:Mi(u,m),onTouchStart:Mi(d,p)}]:[a,f,{}]:[!1,f,{}]}function Mi(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Ni({page:e,...t}){let n=Xn(),{router:r}=Di(),i=O.useMemo(()=>_e(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?n?O.createElement(Fi,{page:e,matches:i,...t}):O.createElement(Ii,{page:e,matches:i,...t}):null}function Pi(e){let{manifest:t,routeModules:n}=Ai(),[r,i]=O.useState([]);return O.useEffect(()=>{let r=!1;return xi(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function Fi({page:e,matches:t,...n}){let r=dr(),{future:i}=Ai(),{basename:a}=Di(),o=O.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=_i(e,a,i.v8_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.v8_trailingSlashAwareDataRequests,e,r,t]);return O.createElement(O.Fragment,null,o.map(e=>O.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function Ii({page:e,matches:t,...n}){let r=dr(),{future:i,manifest:a,routeModules:o}=Ai(),{basename:s}=Di(),{loaderData:c,matches:l}=Oi(),u=O.useMemo(()=>Si(e,t,l,a,r,`data`),[e,t,l,a,r]),d=O.useMemo(()=>Si(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=O.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=_i(e,s,i.v8_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.v8_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=O.useMemo(()=>Ci(d,a),[d,a]),m=Pi(d);return O.createElement(O.Fragment,null,f.map(e=>O.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>O.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>O.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function Li(...e){return t=>
13{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}O.Component;var Ri=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{Ri&&(window.__reactRouterVersion=`7.17.0`)}catch{}function zi(e,t){return Mt({basename:t?.basename,getContext:t?.getContext,future:t?.future,history:ee({window:t?.window}),hydrationData:t?.hydrationData||Bi(),routes:e,mapRouteProperties:Gr,hydrationRouteProperties:Kr,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window,instrumentations:t?.instrumentations}).initialize()}function Bi(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:Vi(e.errors)}),e}function Vi(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&r.__type===`RouteErrorResponse`)n[e]=new $e(r.status,r.statusText,r.data,r.internal===!0);else if(r&&r.__type===`Error`){if(r.__subType){let t=window[r.__subType];if(typeof t==`function`)try{let i=new t(r.message);i.stack=``,n[e]=i}catch{}}if(n[e]==null){let t=Error(r.message);t.stack=``,n[e]=t}}else n[e]=r;return n}var Hi=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ui=O.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=O.useContext(er),v=typeof l==`string`&&Hi.test(l),y=rt(l,h);l=y.to;let b=lr(l,{relative:r}),x=dr(),S=null;if(o){let e=Ke(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:Je([h,e.pathname])),S=g.createHref(e)}let[C,w,T]=ji(n,p),E=Ji(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function D(t){e&&e(t),t.defaultPrevented||E(t)}let k=!(y.isExternal||i),A=O.createElement(`a`,{...p,...T,href:(k?S:void 0)||y.absoluteURL||b,onClick:k?D:e,ref:Li(m,w),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return C&&!v?O.createElement(O.Fragment,null,A,O.createElement(Ni,{page:b})):A});Ui.displayName=`Link`;var Wi=O.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=yr(a,{relative:c.relative}),d=dr(),f=O.useContext(Jn),{navigator:p,basename:m}=O.useContext(er),h=f!=null&&ea(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=Le(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(g.length)===`/`),S={isActive:b,isPending:x,isTransitioning:h},C=b?e:void 0,w;w=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let T=typeof i==`function`?i(S):i;return O.createElement(Ui,{...c,"aria-current":C,className:w,ref:l,style:T,to:a,viewTransition:o},typeof s==`function`?s(S):s)});Wi.displayName=`NavLink`;var Gi=O.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=ti,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=O.useContext(er),g=Qi(),_=$i(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&Hi.test(s);return O.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?O.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});Gi.displayName=`Form`;function Ki(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function qi(e){let t=O.useContext(qn);return V(t,Ki(e)),t}function Ji(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=mr(),d=dr(),f=yr(e,{relative:o});return O.useCallback(p=>{if(ci(p,t)){p.preventDefault();let t=n===void 0?ae(d)===ae(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?O.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function Yi(e){te(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=O.useRef(li(e)),n=O.useRef(!1),r=dr(),i=O.useMemo(()=>ui(r.search,n.current?null:t.current),[r.search]),a=mr();return[i,O.useCallback((e,t)=>{let r=li(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var Xi=0,Zi=()=>`__${String(++Xi)}__`;function Qi(){let{router:e}
13=qi(`useSubmit`),{basename:t}=O.useContext(er),n=Nr(),r=e.fetch,i=e.navigate;return O.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=hi(e,t);if(a.navigate===!1){let e=a.fetcherKey||Zi();await r(e,n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync})}else await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function $i(e,{relative:t}={}){let{basename:n}=O.useContext(er),r=O.useContext(nr);V(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...yr(e||`.`,{relative:t})},o=dr();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:Je([n,a.pathname])),ae(a)}function ea(e,{relative:t}={}){let n=O.useContext(Zn);V(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=qi(`useViewTransitionState`),i=yr(e,{relative:t});if(!n.isTransitioning)return!1;let a=Le(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Le(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Pe(i.pathname,o)!=null||Pe(i.pathname,a)!=null}var ta=e=>typeof e==`string`,na=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},ra=e=>e==null?``:``+e,ia=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},aa=/###/g,oa=e=>e&&e.indexOf(`###`)>-1?e.replace(aa,`.`):e,sa=e=>!e||ta(e),ca=(e,t,n)=>{let r=ta(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(sa(e))return{};let t=oa(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return sa(e)?{}:{obj:e,k:oa(r[i])}},la=(e,t,n)=>{let{obj:r,k:i}=ca(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=ca(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=ca(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},ua=(e,t,n,r)=>{let{obj:i,k:a}=ca(e,t,Object);i[a]=i[a]||[],i[a].push(n)},da=(e,t)=>{let{obj:n,k:r}=ca(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},fa=(e,t,n)=>{let r=da(e,n);return r===void 0?da(t,n):r},pa=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?ta(e[r])||e[r]instanceof String||ta(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):pa(e[r],t[r],n):e[r]=t[r]);return e},ma=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),ha={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},ga=e=>ta(e)?e.replace(/[&<>"'\/]/g,e=>ha[e]):e,_a=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},va=[` `,`,`,`?`,`!`,`;`],ya=new _a(20),ba=(e,t,n)=>{t||=``,n||=``;let r=va.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=ya.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},xa=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Sa=e=>e?.replace(/_/g,`-`),Ca={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},wa=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Ca,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(ta(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},Ta=class{constructor(){this.observers={}}
13on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}},Ea=class extends Ta{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):ta(n)&&i?o.push(...n.split(i)):o.push(n)));let s=da(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!ta(n)?s:xa(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];
vendor: 10,556 bytes, line 13
13n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),la(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(ta(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=da(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?pa(s,n,i):s={...s,...n},la(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},Da={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},Oa=Symbol(`i18next/PATH_KEY`);function ka(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===Oa?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function Aa(e,t){let{[Oa]:n}=e(ka()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`;if(n.length>1&&i){let e=t?.ns,a=Array.isArray(e)?e:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var ja={},Ma=e=>!ta(e)&&typeof e!=`boolean`&&typeof e!=`number`,Na=class e extends Ta{constructor(e,t={}){super(),ia([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=wa.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=Ma(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!ba(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:ta(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:ta(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=Aa(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?Aa(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!ta(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=Ma(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(O)<0&&!(ta(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:Ma(T)?T[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&ta(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=ta(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!ta(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=ta(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=Da.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return ta(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?Aa(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!ta(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(ta(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!ja[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(ja[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}
13getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!ta(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},Pa=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=wa.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Sa(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Sa(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(ta(e)&&e.indexOf(`-`)>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(e.indexOf(`-`)<0&&r.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&r.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===r||e.indexOf(r)===0&&r.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),ta(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return ta(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):ta(e)&&i(this.formatLanguageCode(e)),n.forEac
13h(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},Fa={zero:0,one:1,two:2,few:3,many:4,other:5},Ia={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},La=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=wa.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=Sa(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),Ia;if(!e.match(/-|_/))return Ia;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>Fa[e]-Fa[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},Ra=(e,t,n,r=`.`,i=!0)=>{let a=fa(e,t,n);return!a&&i&&ta(n)&&(a=xa(e,n,r),a===void 0&&(a=xa(t,n,r))),a},za=e=>e.replace(/\$/g,`$$$$`),Ba=class{constructor(e={}){this.logger=wa.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?ga:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?ma(i):a||`{{`,this.suffix=o?ma(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?ma(d):f||ma(`$t(`),this.nestingSuffix=p?ma(p):m||ma(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=Ra(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(Ra(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>za(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?za(this.escape(e)):za(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0)if(typeof l==`function`){let t=l(e,i,r);a=ta(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``;else!ta(a)&&!this.useRawValueToEscape&&(a=ra(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${ma(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!ta(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;
vendor: 4,231 bytes, line 13
13let c=/{.*}/.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!ta(i))return i;ta(i)||(i=ra(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},Va=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},Ha=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(Sa(r),i),t[o]=s),s(n)}},Ua=e=>(t,n,r)=>e(Sa(n),r)(t),Wa=class{constructor(e={}){this.logger=wa.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?Ha:Ua;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Ha(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=Va(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},Ga=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Ka=class extends Ta{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=wa.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{ua(n.loaded,[i],a),Ga(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}
13),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();ta(e)&&(e=this.languageUtils.toResolveHierarchy(e)),ta(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},qa=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),ta(e[1])&&(t.defaultValue=e[1]),ta(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Ja=e=>(ta(e.ns)&&(e.ns=[e.ns]),ta(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),ta(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),typeof e.initImmediate==`boolean`&&(e.initAsync=e.initImmediate),e),Ya=()=>{},Xa=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},Za=`__i18next_supportNoticeShown`,Qa=()=>!!(typeof globalThis<`u`&&globalThis[Za]||typeof process<`u`&&{}.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`),$a=()=>{typeof globalThis<`u`&&(globalThis[Za]=!0)},eo=e=>!!(e?.modules?.backend?.name?.indexOf(`Locize`)>0||e?.modules?.backend?.constructor?.name?.indexOf(`Locize`)>0||e?.options?.backend?.backends&&e.options.backend.backends.some(e=>e?.name?.indexOf(`Locize`)>0||e?.constructor?.name?.indexOf(`Locize`)>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(e=>e?.projectId)),to=class e extends Ta{constructor(e={},t){if(super(),this.options=Ja(e),this.services={},this.logger=wa,this.modules={external:[]},Xa(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(ta(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=qa();this.options={...n,...this.options,...Ja(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!eo(this)&&!Qa()&&(typeof console<`u`&&console.info!==void 0&&console.info(`ð i18next is made possible by our own product, Locize â consider powering your project with managed localization (AI, CDN, integrations): https://locize.com ð`),$a());let r=e=>
13e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?wa.init(r(this.modules.logger),this.options):wa.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:Wa;let t=new Pa(this.options);this.store=new Ea(this.options.resources,this.options);let i=this.services;i.logger=wa,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new La(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new Ba(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Ka(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Na(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=Ya,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=na(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=Ya){let n=t,r=ta(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=na();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=Ya,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&Da.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=na();
vendor: 2,085 bytes, line 13
13this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=ta(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(ta(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a;a=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(i)),a.lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};typeof a.keyPrefix==`function`&&(a.keyPrefix=Aa(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=Aa(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=Aa(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return ta(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;
13if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=na();return this.options.ns?(ta(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=na();ta(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new Pa(qa());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=Ya){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new Ea(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...qa().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new Ba(n)}return a.translator=new Na(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();to.createInstance,to.dir,to.init,to.loadResources,to.reloadResources,to.use,to.changeLanguage,to.getFixedT,to.t,to.exists,to.setDefaultNamespace,to.hasLoadedNamespace,to.loadNamespaces,to.loadLanguages;var no=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);lo(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},ro={},io=(e,t,n,r)=>{lo(n)&&ro[n]||(lo(n)&&(ro[n]=new Date),no(e,t,n,r))},ao=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},oo=(e,t,n)=>{e.loadNamespaces(t,ao(e,n))},so=(e,t,n,r)=>{if(lo(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return oo(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,ao(e,r))},co=(e,t,n={})=>!t.languages||!t.languages.length?(io(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),lo=e=>typeof e==`string`,uo=e=>typeof e==`object`&&!!e,fo=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,po={"&":`&`,"&":`&`,"<":`<`,"<":`<`,">":`>`,">":`>`,"'":`'`,"'":`'`,""":`"`,""":`"`," ":` `," ":` `,"©":`©`,"©":`©`,"®":`®`,"®":`®`,"…":`â¦`,"…":`â¦`,"/":`/`,"/":`/`},mo=e=>po[e],ho={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:e=>e.replace(fo,mo),transDefaultProps:void 0},go=(e={})=>{ho={...ho,...e}},_o=()=>ho,vo,yo=e=>{vo=e},bo=()=>vo,xo={type:`3rdParty`,init(e){go(e.options.react),yo(e)}},So=(0,O.createContext)(),Co=class{constructor(){this.usedNamespaces={}}
13addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}},wo=o((e=>{var t=p();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),To=o(((e,t)=>{t.exports=wo()})),Eo=To(),Do={t:(e,t)=>{if(lo(t))return t;if(uo(t)&&lo(t.defaultValue))return t.defaultValue;if(typeof e==`function`)return``;if(Array.isArray(e)){let t=e[e.length-1];return typeof t==`function`?``:t}return e},ready:!1},Oo=()=>()=>{},ko=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=(0,O.useContext)(So)||{},a=n||r||bo();a&&!a.reportNamespaces&&(a.reportNamespaces=new Co),a||io(a,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next`);let o=(0,O.useMemo)(()=>({..._o(),...a?.options?.react,...t}),[a,t]),{useSuspense:s,keyPrefix:c}=o,l=e||i||a?.options?.defaultNS,u=lo(l)?[l]:l||[`translation`],d=(0,O.useMemo)(()=>u,u);a?.reportNamespaces?.addUsedNamespaces?.(d);let f=(0,O.useRef)(0),p=(0,O.useCallback)(e=>{if(!a)return Oo;let{bindI18n:t,bindI18nStore:n}=o,r=()=>{f.current+=1,e()};return t&&a.on(t,r),n&&a.store.on(n,r),()=>{t&&t.split(` `).forEach(e=>a.off(e,r)),n&&n.split(` `).forEach(e=>a.store.off(e,r))}},[a,o]),m=(0,O.useRef)(),h=(0,O.useCallback)(()=>{if(!a)return Do;let e=!!(a.isInitialized||a.initializedStoreOnce)&&d.every(e=>co(e,a,o)),n=t.lng||a.language,r=f.current,i=m.current;if(i&&i.ready===e&&i.lng===n&&i.keyPrefix===c&&i.revision===r)return i;let s={t:a.getFixedT(n,o.nsMode===`fallback`?d:d[0],c),ready:e,lng:n,keyPrefix:c,revision:r};return m.current=s,s},[a,d,c,o,t.lng]),[g,_]=(0,O.useState)(0),{t:v,ready:y}=(0,Eo.useSyncExternalStore)(p,h,h);(0,O.useEffect)(()=>{if(a&&!y&&!s){let e=()=>_(e=>e+1);t.lng?so(a,t.lng,d,e):oo(a,d,e)}},[a,t.lng,d,y,s,g]);let b=a||{},x=(0,O.useRef)(null),S=(0,O.useRef)(),C=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,`__original`))try{Object.defineProperty(n,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch{}return n},w=(0,O.useMemo)(()=>{let e=b,t=e?.language,n=e;e&&(x.current&&x.current.__original===e&&S.current===t?n=x.current:(n=C(e),x.current=n,S.current=t));let r=!y&&!s?(...e)=>(io(a,`USE_T_BEFORE_READY`,`useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t.`),v(...e)):v,i=[r,n,y];return i.t=r,i.i18n=n,i.ready=y,i},[v,b,y,b.resolvedLanguage,b.language,b.languages]);if(a&&s&&!y)throw new Promise(e=>{let n=()=>e();t.lng?so(a,t.lng,d,n):oo(a,d,n)});return w};function Ao({i18n:e,defaultNS:t,children:n}){let r=(0,O.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,O.createElement)(So.Provider,{value:r},n)}var jo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Mo=new class extends jo{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();
13this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},No={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Po=new class{#e=No;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function Fo(e){setTimeout(e,0)}var Io=typeof window>`u`||`Deno`in globalThis;function Lo(){}function Ro(e,t){return typeof e==`function`?e(t):e}function zo(e){return typeof e==`number`&&e>=0&&e!==1/0}function Bo(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Vo(e,t){return typeof e==`function`?e(t):e}function Ho(e,t){return typeof e==`function`?e(t):e}function Uo(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==Go(o,t.options))return!1}else if(!qo(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function Wo(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Ko(t.options.mutationKey)!==Ko(a))return!1}else if(!qo(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Go(e,t){return(t?.queryKeyHashFn||Ko)(e)}function Ko(e){return JSON.stringify(e,(e,t)=>Qo(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function qo(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(Array.isArray(e)&&Array.isArray(t)){for(let n=0;n<t.length;n++)if(!qo(e[n],t[n]))return!1;return!0}let n=Object.keys(t);for(let r of n)if(!qo(e[r],t[r]))return!1;return!0}return!1}var Jo=Object.prototype.hasOwnProperty;function Yo(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=Zo(e)&&Zo(t);if(!r&&!(Qo(e)&&Qo(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:Jo.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=Yo(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function Xo(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function Zo(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Qo(e){if(!$o(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!$o(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function $o(e){return Object.prototype.toString.call(e)===`[object Object]`}function es(e){return new Promise(t=>{Po.setTimeout(t,e)})}function ts(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:Yo(e,t)}function ns(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function rs(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var is=Symbol();function as(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===is?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function os(e,t){return typeof e==`function`?e(...t):!!e}function ss(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var cs=(()=>{let e=()=>Io;return{isServer(){return e()},setIsServer(t){e=t}}})();function ls(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var us=Fo;function ds(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=us,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>
13{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var fs=ds(),ps=new class extends jo{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function ms(e){return Math.min(1e3*2**e,3e4)}function hs(e){return(e??`online`)!==`online`||ps.isOnline()}var gs=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function _s(e){let t=!1,n=0,r,i=ls(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new gs(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>Mo.isFocused()&&(e.networkMode===`always`||ps.isOnline())&&e.canRun(),u=()=>hs(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(cs.isServer()?0:3),o=e.retryDelay??ms,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),es(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var vs=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),zo(this.gcTime)&&(this.#e=Po.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(cs.isServer()?1/0:3e5))}clearGcTimeout(){this.#e!==void 0&&(Po.clearTimeout(this.#e),this.#e=void 0)}};function ys(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{ss(e,()=>t.signal,()=>n=!0)},u=as(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?rs:ns;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?xs:bs,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:bs(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.fetchFn=t.options.persister?()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):l}}}function bs(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function xs(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Ss=class extends vs{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Ts(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=Ts(this.options);e.data!==void 0&&(this.setState(ws(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=ts(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(Lo).catch(Lo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Ho(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===is||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
13Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>Vo(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!Bo(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=as(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?ys(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=_s({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof gs&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof gs){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Cs(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...ws(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),fs.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Cs(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:hs(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function ws(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Ts(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
vendor: 4,635 bytes, line 13
13Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Es=class extends jo{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=ls(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Os(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ks(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ks(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof Ho(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!Xo(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&As(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||Ho(this.options.enabled,this.#t)!==Ho(t.enabled,this.#t)||Vo(this.options.staleTime,this.#t)!==Vo(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||Ho(this.options.enabled,this.#t)!==Ho(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return Ms(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Lo)),t}#g(){this.#b();let e=Vo(this.options.staleTime,this.#t);if(cs.isServer()||this.#r.isStale||!zo(e))return;let t=Bo(this.#r.dataUpdatedAt,e)+1;this.#d=Po.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(cs.isServer()||Ho(this.options.enabled,this.#t)===!1||!zo(this.#p)||this.#p===0)&&(this.#f=Po.setInterval(()=>{(this.options.refetchIntervalInBackground||Mo.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(Po.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(Po.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Os(e,t),o=i&&As(e,n,t,r);(a||o)&&(l={...l,...Cs(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=ts(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=ts(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdate
13Count:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:js(e,t),refetch:this.refetch,promise:this.#o,isEnabled:Ho(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{let e=this.#o=x.promise=ls();i(e)},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a()}}return x}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!Xo(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){fs.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function Ds(e,t){return Ho(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||Ho(t.retryOnMount,e)!==!1)}function Os(e,t){return Ds(e,t)||e.state.data!==void 0&&ks(e,t,t.refetchOnMount)}function ks(e,t,n){if(Ho(t.enabled,e)!==!1&&Vo(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&js(e,t)}return!1}function As(e,t,n,r){return(e!==t||Ho(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&js(e,n)}function js(e,t){return Ho(t.enabled,e)!==!1&&e.isStaleByTime(Vo(t.staleTime,e))}function Ms(e,t){return!Xo(e.getCurrentResult(),t)}var Ns=class extends vs{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Ps(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=_s({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPau
13sed:!1,status:`error`}}};this.state=t(this.state),fs.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Ps(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Fs=class extends jo{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Ns({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Is(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Is(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Is(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=Is(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>
13t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){fs.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Wo(t,e))}findAll(e={}){return this.getAll().filter(t=>Wo(e,t))}notify(e){fs.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return fs.batch(()=>Promise.all(e.map(e=>e.continue().catch(Lo))))}};function Is(e){return e.options.scope?.id}var Ls=class extends jo{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),Xo(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&Ko(t.mutationKey)!==Ko(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??Ps();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){fs.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},Rs=class extends jo{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??Go(r,t),a=this.get(i);return a||(a=new Ss({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){fs.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Uo(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>Uo(e,t)):t}notify(e){fs.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){fs.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){fs.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},zs=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Rs,this.#t=e.mutationCache||new Fs,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Mo.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=ps.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Vo(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=Ro(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}
13setQueriesData(e,t,n){return fs.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;fs.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return fs.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=fs.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(Lo).catch(Lo)}invalidateQueries(e,t={}){return fs.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=fs.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Lo)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(Lo)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(Vo(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Lo).catch(Lo)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Lo).catch(Lo)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return ps.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Ko(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{qo(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(Ko(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{qo(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=Go(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===is&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Bs=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Vs=o(((e,t)=>{t.exports=Bs()})),U=Vs(),Hs=O.createContext(void 0),Us=e=>{let t=O.useContext(Hs);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},Ws=({client:e,children:t})=>(O.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,U.jsx)(Hs.Provider,{value:e,children:t})),Gs=O.createContext(!1),Ks=()=>O.useContext(Gs);Gs.Provider;function qs(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var eee=O.createContext(qs()),tee=()=>O.useContext(eee),Js=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?os(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},Ys=e=>{O.useEffect(()=>{e.clearReset()},[e])},Xs=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||os(n,[e.error,r])),Zs=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},Qs=(e,t)=>e.isLoading&&e.isFetching&&!t,$s=(e,t)=>e?.suspense&&t.isPending,ec=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});
13function tc(e,t,n){let r=Ks(),i=tee(),a=Us(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,Zs(o),Js(o,i,s),Ys(i);let l=!a.getQueryCache().get(o.queryHash),[u]=O.useState(()=>new t(a,o)),d=u.getOptimisticResult(o),f=!r&&c;if(O.useSyncExternalStore(O.useCallback(e=>{let t=f?u.subscribe(fs.batchCalls(e)):Lo;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),O.useEffect(()=>{u.setOptions(o)},[o,u]),$s(o,d))throw ec(o,u,i);if(Xs({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw d.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!cs.isServer()&&Qs(d,r)&&(l?ec(o,u,i):s?.promise)?.catch(Lo).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?d:u.trackResult(d)}function nc(e,t){return tc(e,Es,t)}function rc(e,t){let n=Us(t),[r]=O.useState(()=>new Ls(n,e));O.useEffect(()=>{r.setOptions(e)},[r,e]);let i=O.useSyncExternalStore(O.useCallback(e=>r.subscribe(fs.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=O.useCallback((e,t)=>{r.mutate(e,t).catch(Lo)},[r]);if(i.error&&os(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}function ic(){let e=new zs({defaultOptions:{queries:{staleTime:3e4,gcTime:3e5,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}});return e.getQueryCache().subscribe(e=>{if(e.type!==`removed`)return;let t=e.query.state.data;typeof t==`string`&&t.startsWith(`blob:`)&&URL.revokeObjectURL(t)}),e}function ac({children:e}){let[t]=(0,O.useState)(ic);return(0,U.jsx)(Ws,{client:t,children:e})}var oc=(e,t,n,r,i,a,o,s)=>{let c=document.documentElement,l=[`light`,`dark`];function u(t){(Array.isArray(e)?e:[e]).forEach(e=>{let n=e===`class`,r=n&&a?i.map(e=>a[e]||e):i;n?(c.classList.remove(...r),c.classList.add(a&&a[t]?a[t]:t)):c.setAttribute(e,t)}),d(t)}function d(e){s&&l.includes(e)&&(c.style.colorScheme=e)}function f(){return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}if(r)u(r);else try{let e=localStorage.getItem(t)||n;u(o&&e===`system`?f():e)}catch{}},sc=[`light`,`dark`],cc=`(prefers-color-scheme: dark)`,lc=typeof window>`u`,uc=O.createContext(void 0),dc={setTheme:e=>{},themes:[]},fc=()=>O.useContext(uc)??dc,pc=e=>O.useContext(uc)?O.createElement(O.Fragment,null,e.children):O.createElement(hc,{...e}),mc=[`light`,`dark`],hc=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i=`theme`,themes:a=mc,defaultTheme:o=n?`system`:`light`,attribute:s=`data-theme`,value:c,children:l,nonce:u,scriptProps:d})=>{let[f,p]=O.useState(()=>_c(i,o)),[m,h]=O.useState(()=>f===`system`?yc():f),g=c?Object.values(c):a,_=O.useCallback(e=>{let i=e;if(!i)return;e===`system`&&n&&(i=yc());let a=c?c[i]:i,l=t?vc(u):null,d=document.documentElement,f=e=>{e===`class`?(d.classList.remove(...g),a&&d.classList.add(a)):e.startsWith(`data-`)&&(a?d.setAttribute(e,a):d.removeAttribute(e))};if(Array.isArray(s)?s.forEach(f):f(s),r){let e=sc.includes(o)?o:null,t=sc.includes(i)?i:e;d.style.colorScheme=t}l?.()},[u]),v=O.useCallback(e=>{let t=typeof e==`function`?e(f):e;p(t);try{localStorage.setItem(i,t)}catch{}},[f]),y=O.useCallback(t=>{let r=yc(t);h(r),f===`system`&&n&&!e&&_(`system`)},[f,e]);O.useEffect(()=>{let e=window.matchMedia(cc);return e.addListener(y),y(e),()=>e.removeListener(y)},[y]),O.useEffect(()=>{let e=e=>{e.key===i&&(e.newValue?p(e.newValue):v(o))};return window.addEventListener(`storage`,e),()=>window.removeEventListener(`storage`,e)},[v]),O.useEffect(()=>{_(e??f)},[e,f]);let b=O.useMemo(()=>({theme:f,setTheme:v,forcedTheme:e,resolvedTheme:f===`system`?m:f,themes:n?[...a,`system`]:a,systemTheme:n?m:void 0}),[f,v,e,m,n,a]);return O.createElement(uc.Provider,{value:b},O.createElement(gc,{forcedTheme:e,storageKey:i,attribute:s,enableSystem:n,enableColorScheme:r,defaultTheme:o,value:c,themes:a,nonce:u,scriptProps:d}),l)},gc=O.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:o,themes:s,nonce:c,scriptProps:l})=>{let u=JSON.stringify([n,t,a,e,s,o,r,i]).slice(1,-1);return O.createElement(`script`,{...l,suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(${oc.toString()})(${u})`}})}),_c=(e,t)=>{if(lc)return;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},vc=e=>{let t=document.createElement(`style`);return e&&t.setAttribute(`nonce`,e),t.appendChild(document.createTextNode(`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`)),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},yc=e=>(e||=window.matchMedia(cc),e.matches?`dark`:`light`);function bc({children:e,...t}){return(0,U.jsx)(pc,{attribute:`class`,defaultTheme:`system`,enableSystem:!0,disableTransitionOnChange:!0,storageKey:`t2t-theme`,...t,children:e})}function xc(e,t){if(typeof e==`function`)return e(t);
vendor: 4,269 bytes, line 13
13e!=null&&(e.current=t)}function Sc(...e){return t=>{let n=!1,r=e.map(e=>{let r=xc(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():xc(e[t],null)}}}}function Cc(...e){return O.useCallback(Sc(...e),e)}function wc(e){let t=Ec(e),n=O.forwardRef((e,n)=>{let{children:r,...i}=e,a=O.Children.toArray(r),o=a.find(kc);if(o){let e=o.props.children,r=a.map(t=>t===o?O.Children.count(e)>1?O.Children.only(null):O.isValidElement(e)?e.props.children:null:t);return(0,U.jsx)(t,{...i,ref:n,children:O.isValidElement(e)?O.cloneElement(e,void 0,r):null})}return(0,U.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var Tc=wc(`Slot`);function Ec(e){let t=O.forwardRef((e,t)=>{let{children:n,...r}=e;if(O.isValidElement(n)){let e=jc(n),i=Ac(r,n.props);return n.type!==O.Fragment&&(i.ref=t?Sc(t,e):e),O.cloneElement(n,i)}return O.Children.count(n)>1?O.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Dc=Symbol(`radix.slottable`);function Oc(e){let t=({children:e})=>(0,U.jsx)(U.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=Dc,t}function kc(e){return O.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Dc}function Ac(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function jc(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Mc=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=wc(`Primitive.${t}`),r=O.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,U.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Nc(e,t){e&&k.flushSync(()=>e.dispatchEvent(t))}var Pc=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),Fc=`VisuallyHidden`,Ic=O.forwardRef((e,t)=>(0,U.jsx)(Mc.span,{...e,ref:t,style:{...Pc,...e.style}}));Ic.displayName=Fc;var Lc=Ic;function Rc(e,t){let n=O.createContext(t),r=e=>{let{children:t,...r}=e,i=O.useMemo(()=>r,Object.values(r));return(0,U.jsx)(n.Provider,{value:i,children:t})};r.displayName=e+`Provider`;function i(r){let i=O.useContext(n);if(i)return i;if(t!==void 0)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}return[r,i]}function zc(e,t=[]){let n=[];function r(t,r){let i=O.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=O.useMemo(()=>o,Object.values(o));return(0,U.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=O.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>O.createContext(e));return function(n){let r=n?.[e]||t;return O.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,Bc(i,...t)]}function Bc(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return O.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function Vc(e){let t=e+`CollectionProvider`,[n,r]=zc(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=e=>{let{scope:t,children:n}=e,r=O.useRef(null),a=O.useRef(new Map).current;return(0,U.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};o.displayName=t;let s=e+`CollectionSlot`,c=wc(s),l=O.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=Cc(t,a(s,n).collectionRef);return(0,U.jsx)(c,{ref:i,children:r})});l.displayName=s;let u=e+`CollectionItemSlot`,d=`data-radix-collection-item`,f=wc(u),p=O.forwardRef((e,t)=>
13{let{scope:n,children:r,...i}=e,o=O.useRef(null),s=Cc(t,o),c=a(u,n);return O.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,U.jsx)(f,{[d]:``,ref:s,children:r})});p.displayName=u;function m(t){let n=a(e+`CollectionConsumer`,t);return O.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:o,Slot:l,ItemSlot:p},m,r]}typeof window<`u`&&window.document&&window.document.createElement;function Hc(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}var Uc=globalThis?.document?O.useLayoutEffect:()=>{},Wc=O.useInsertionEffect||Uc;function Gc({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,o]=Kc({defaultProp:t,onChange:n}),s=e!==void 0,c=s?e:i;{let t=O.useRef(e!==void 0);O.useEffect(()=>{let e=t.current;e!==s&&console.warn(`${r} is changing from ${e?`controlled`:`uncontrolled`} to ${s?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=s},[s,r])}return[c,O.useCallback(t=>{if(s){let n=qc(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}function Kc({defaultProp:e,onChange:t}){let[n,r]=O.useState(e),i=O.useRef(n),a=O.useRef(t);return Wc(()=>{a.current=t},[t]),O.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}function qc(e){return typeof e==`function`}function Jc(e,t){return O.useReducer((e,n)=>t[e][n]??e,e)}var Yc=e=>{let{present:t,children:n}=e,r=Xc(t),i=typeof n==`function`?n({present:r.isPresent}):O.Children.only(n),a=Cc(r.ref,Qc(i));return typeof n==`function`||r.isPresent?O.cloneElement(i,{ref:a}):null};Yc.displayName=`Presence`;function Xc(e){let[t,n]=O.useState(),r=O.useRef(null),i=O.useRef(e),a=O.useRef(`none`),[o,s]=Jc(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return O.useEffect(()=>{let e=Zc(r.current);a.current=o===`mounted`?e:`none`},[o]),Uc(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=Zc(t);e?s(`MOUNT`):o===`none`||t?.display===`none`?s(`UNMOUNT`):s(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,s]),Uc(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=Zc(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(s(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},c=e=>{e.target===t&&(a.current=Zc(r.current))};return t.addEventListener(`animationstart`,c),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,c),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}s(`ANIMATION_END`)},[t,s]),{isPresent:[`mounted`,`unmountSuspended`].includes(o),ref:O.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function Zc(e){return e?.animationName||`none`}function Qc(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var $c=O.useId||(()=>void 0),el=0;function tl(e){let[t,n]=O.useState($c());return Uc(()=>{e||n(e=>e??String(el++))},[e]),e||(t?`radix-${t}`:``)}var nl=`Collapsible`,[rl,nee]=zc(nl),[il,al]=rl(nl),ol=O.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,l]=Gc({prop:r,defaultProp:i??!1,onChange:o,caller:nl});return(0,U.jsx)(il,{scope:n,disabled:a,contentId:tl(),open:c,onOpenToggle:O.useCallback(()=>l(e=>!e),[l]),children:(0,U.jsx)(Mc.div,{"data-state":fl(c),"data-disabled":a?``:void 0,...s,ref:t})})});ol.displayName=nl;var sl=`CollapsibleTrigger`,cl=O.forwardRef((e,t)=>
13{let{__scopeCollapsible:n,...r}=e,i=al(sl,n);return(0,U.jsx)(Mc.button,{type:`button`,"aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":fl(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:Hc(e.onClick,i.onOpenToggle)})});cl.displayName=sl;var ll=`CollapsibleContent`,ul=O.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=al(ll,e.__scopeCollapsible);return(0,U.jsx)(Yc,{present:n||i.open,children:({present:e})=>(0,U.jsx)(dl,{...r,ref:t,present:e})})});ul.displayName=ll;var dl=O.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=al(ll,n),[s,c]=O.useState(r),l=O.useRef(null),u=Cc(t,l),d=O.useRef(0),f=d.current,p=O.useRef(0),m=p.current,h=o.open||s,g=O.useRef(h),_=O.useRef(void 0);return O.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),Uc(()=>{let e=l.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();d.current=t.height,p.current=t.width,g.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),c(r)}},[o.open,r]),(0,U.jsx)(Mc.div,{"data-state":fl(o.open),"data-disabled":o.disabled?``:void 0,id:o.contentId,hidden:!h,...a,ref:u,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":m?`${m}px`:void 0,...e.style},children:h&&i})});function fl(e){return e?`open`:`closed`}var pl=ol,ml=O.createContext(void 0);function hl(e){let t=O.useContext(ml);return e||t||`ltr`}function gl(e){let t=O.useRef(e);return O.useEffect(()=>{t.current=e}),O.useMemo(()=>(...e)=>t.current?.(...e),[])}function _l(e,t=globalThis?.document){let n=gl(e);O.useEffect(()=>{let e=e=>{e.key===`Escape`&&n(e)};return t.addEventListener(`keydown`,e,{capture:!0}),()=>t.removeEventListener(`keydown`,e,{capture:!0})},[n,t])}var vl=`DismissableLayer`,yl=`dismissableLayer.update`,bl=`dismissableLayer.pointerDownOutside`,xl=`dismissableLayer.focusOutside`,Sl,Cl=O.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),wl=O.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...c}=e,l=O.useContext(Cl),[u,d]=O.useState(null),f=u?.ownerDocument??globalThis?.document,[,p]=O.useState({}),m=Cc(t,e=>d(e)),h=Array.from(l.layers),[g]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),_=h.indexOf(g),v=u?h.indexOf(u):-1,y=l.layersWithOutsidePointerEventsDisabled.size>0,b=v>=_,x=Dl(e=>{let t=e.target,n=[...l.branches].some(e=>e.contains(t));!b||n||(i?.(e),o?.(e),e.defaultPrevented||s?.())},f),S=Ol(e=>{let t=e.target;[...l.branches].some(e=>e.contains(t))||(a?.(e),o?.(e),e.defaultPrevented||s?.())},f);return _l(e=>{v===l.layers.size-1&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},f),O.useEffect(()=>{if(u)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Sl=f.body.style.pointerEvents,f.body.style.pointerEvents=`none`),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),kl(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Sl)}},[u,f,n,l]),O.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),kl())},[u,l]),O.useEffect(()=>{let e=()=>p({});return document.addEventListener(yl,e),()=>document.removeEventListener(yl,e)},[]),(0,U.jsx)(Mc.div,{...c,ref:m,style:{pointerEvents:y?b?`auto`:`none`:void 0,...e.style},onFocusCapture:Hc(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Hc(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Hc(e.onPointerDownCapture,x.onPointerDownCapture)})});wl.displayName=vl;var Tl=`DismissableLayerBranch`,El=O.forwardRef((e,t)=>{let n=O.useContext(Cl),r=O.useRef(null),i=Cc(t,r);return O.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,U.jsx)(Mc.div,{...e,ref:i})});El.displayName=Tl;function Dl(e,t=globalThis?.document){let n=gl(e),r=O.useRef(!1),i=O.useRef(()=>{});return O.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){Al(bl,n,a,{discrete:!0})},a={originalEvent:e};e.pointerType===`touch`?(t.removeEventListener(`click`,i.current),i.current=r,t.addEventListener(`click`,i.current,{once:!0})):r()}else t.removeEventListener(`click`,i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener(`pointerdown`,e)},0);return()=>{window.clearTimeout(a),t.removeEventListener(`pointerdown`,e),t.removeEventListener(`click`,i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Ol(e,t=globalThis?.document){let n=gl(e),r=O.useRef(!1);return O.useEffect(()=>{let e=e=>{e.target&&!r.current&&Al(xl,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kl(){let e=new CustomEvent(yl);document.dispatchEvent(e)}function Al(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Nc(i,a):i.dispatchEvent(a)}
vendor: 13,437 bytes, lines 13-53
13var jl=`focusScope.autoFocusOnMount`,Ml=`focusScope.autoFocusOnUnmount`,Nl={bubbles:!1,cancelable:!0},Pl=`FocusScope`,Fl=O.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=O.useState(null),l=gl(i),u=gl(a),d=O.useRef(null),f=Cc(t,e=>c(e)),p=O.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;O.useEffect(()=>{if(r){let e=function(e){if(p.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:Vl(d.current,{select:!0})},t=function(e){if(p.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||Vl(d.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Vl(s)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,s,p.paused]),O.useEffect(()=>{if(s){Hl.add(p);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(jl,Nl);s.addEventListener(jl,l),s.dispatchEvent(t),t.defaultPrevented||(Il(Gl(Ll(s)),{select:!0}),document.activeElement===e&&Vl(s))}return()=>{s.removeEventListener(jl,l),setTimeout(()=>{let t=new CustomEvent(Ml,Nl);s.addEventListener(Ml,u),s.dispatchEvent(t),t.defaultPrevented||Vl(e??document.body,{select:!0}),s.removeEventListener(Ml,u),Hl.remove(p)},0)}}},[s,l,u,p]);let m=O.useCallback(e=>{if(!n&&!r||p.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=ree(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&Vl(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&Vl(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,p.paused]);return(0,U.jsx)(Mc.div,{tabIndex:-1,...o,ref:f,onKeyDown:m})});Fl.displayName=Pl;function Il(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(Vl(r,{select:t}),document.activeElement!==n)return}function ree(e){let t=Ll(e);return[Rl(t,e),Rl(t.reverse(),e)]}function Ll(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Rl(e,t){for(let n of e)if(!zl(n,{upTo:t}))return n}function zl(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function Bl(e){return e instanceof HTMLInputElement&&`select`in e}function Vl(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Bl(e)&&t&&e.select()}}var Hl=Ul();function Ul(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Wl(e,t),e.unshift(t)},remove(t){e=Wl(e,t),e[0]?.resume()}}}function Wl(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Gl(e){return e.filter(e=>e.tagName!==`A`)}var Kl=`Portal`,ql=O.forwardRef((e,t)=>{let{container:n,...r}=e,[i,a]=O.useState(!1);Uc(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?k.createPortal((0,U.jsx)(Mc.div,{...r,ref:t}),o):null});ql.displayName=Kl;var Jl=0;function Yl(){O.useEffect(()=>{let e=document.querySelectorAll(`[data-radix-focus-guard]`);return document.body.insertAdjacentElement(`afterbegin`,e[0]??Xl()),document.body.insertAdjacentElement(`beforeend`,e[1]??Xl()),Jl++,()=>{Jl===1&&document.querySelectorAll(`[data-radix-focus-guard]`).forEach(e=>e.remove()),Jl--}},[])}function Xl(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}var Zl=function(){return Zl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Zl.apply(this,arguments)};function Ql(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function $l(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var eu=`right-scroll-bar-position`,tu=`width-before-scroll-bar`,nu=`with-scroll-bars-hidden`,ru=`--removed-body-scroll-bar-size`;function iu(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function au(e,t){var n=(0,O.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var ou=typeof window<`u`?O.useLayoutEffect:O.useEffect,su=new WeakMap;function cu(e,t){var n=au(t||null,function(t){return e.forEach(function(e){return iu(e,t)})});return ou(function(){var t=su.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||iu(e,null)}),i.forEach(function(e){r.has(e)||iu(e,a)})}su.set(n,e)},[e]),n}function lu(e){return e}function uu(e,t){t===void 0&&(t=lu);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function du(e){e===void 0&&(e={});var t=uu(null);return t.options=Zl({async:!0,ssr:!1},e),t}var fu=function(e){var t=e.sideCar,n=Ql(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return O.createElement(r,Zl({},n))};fu.isSideCarExport=!0;function pu(e,t){return e.useMedium(t),fu}var mu=du(),hu=function(){},gu=O.forwardRef(function(e,t){var n=O.useRef(null),r=O.useState({onScrollCapture:hu,onWheelCapture:hu,onTouchMoveCapture:hu}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,_=e.as,v=_===void 0?`div`:_,y=e.gapMode,b=Ql(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),x=f,S=cu([n,t]),C=Zl(Zl({},b),i);return O.createElement(O.Fragment,null,u&&O.createElement(x,{sideCar:mu,removeScrollBar:l,shards:d,noRelative:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n,gapMode:y}),o?O.cloneElement(O.Children.only(s),Zl(Zl({},C),{ref:S})):O.createElement(v,Zl({},C,{className:c,ref:S}),s))});gu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},gu.classNames={fullWidth:tu,zeroRight:eu};var _u,vu=function(){if(_u)return _u;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function yu(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=vu();return t&&e.setAttribute(`nonce`,t),e}function bu(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function xu(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var Su=function(){var e=0,t=null;return{add:function(n){e==0&&(t=yu())&&(bu(t,n),xu(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Cu=function(){var e=Su();return function(t,n){O.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},wu=function(){var e=Cu();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},Tu={left:0,top:0,right:0,gap:0},Eu=function(e){return parseInt(e||``,10)||0},Du=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[Eu(n),Eu(r),Eu(i)]},Ou=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return Tu;var t=Du(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ku=wu(),Au=`data-scroll-locked`,ju=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),` 14 .${nu} { 15 overflow: hidden ${r}; 16 padding-right: ${s}px ${r}; 17 } 18 body[${Au}] { 19 overflow: hidden ${r}; 20 overscroll-behavior: contain; 21 ${[t&&`position: relative ${r};`,n===`margin`&&` 22 padding-left: ${i}px; 23 padding-top: ${a}px; 24 padding-right: ${o}px; 25 margin-left:0; 26 margin-top:0; 27 margin-right: ${s}px ${r}; 28 `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)} 29 } 30 31 .${eu} { 32 right: ${s}px ${r}; 33 } 34 35 .${tu} { 36 margin-right: ${s}px ${r}; 37 } 38 39 .${eu} .${eu} { 40 right: 0 ${r}; 41 } 42 43 .${tu} .${tu} { 44 margin-right: 0 ${r}; 45 } 46 47 body[${Au}] { 48 ${ru}: ${s}px; 49 } 50`},Mu=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},Nu=function(){O.useEffect(function(){return document.body.setAttribute(Au,(Mu()+1).toString()),function(){var e=Mu()-1;e<=0?document.body.removeAttribute(Au):document.body.setAttribute(Au,e.toString())}},[])},Pu=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;Nu();var a=O.useMemo(function(){return Ou(i)},[i]);return O.createElement(ku,{styles:ju(a,!t,i,n?``:`!important`)})},Fu=!1;if(typeof window<`u`)try{var Iu=Object.defineProperty({},"passive",{get:function(){return Fu=!0,!0}});window.addEventListener(`test`,Iu,Iu),window.removeEventListener(`test`,Iu,Iu)}catch{Fu=!1}var Lu=Fu?{passive:!1}:!1,Ru=function(e){return e.tagName===`TEXTAREA`},zu=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!Ru(e)&&n[t]===`visible`)},Bu=function(e){return zu(e,`overflowY`)},Vu=function(e){return zu(e,`overflowX`)},Hu=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Gu(e,r)){var i=Ku(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Uu=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},Wu=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Gu=function(e,t){return e===`v`?Bu(t):Vu(t)},Ku=function(e,t){return e===`v`?Uu(t):Wu(t)},qu=function(e,t){return e===`h`&&t===`rtl`?-1:1},Ju=function(e,t,n,r,i){var a=qu(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=Ku(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Gu(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},Yu=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Xu=function(e){return[e.deltaX,e.deltaY]},Zu=function(e){return e&&`current`in e?e.current:e},Qu=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$u=function(e){return` 51 .block-interactivity-${e} {pointer-events: none;} 52 .allow-interactivity-${e} {pointer-events: all;} 53`},ed=0,td=[];function nd(e){var t=O.useRef([]),n=O.useRef([0,0]),r=O.useRef(),i=O.useState(ed++)[0],a=O.useState(wu)[0],o=O.useRef(e);O.useEffect(function(){o.current=e},[e]),O.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=$l([e.lockRef.current],(e.shards||[]).map(Zu),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=O.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=Yu(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=Hu(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=Hu(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Ju(h,t,e,h===`h`?s:c,!0)},[]),c=O.useCallback(function(e){var n=e;if(!(!td.length||td[td.length-1]!==a)){var r=`deltaY`in n?Xu(n):Yu(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Qu(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}
vendor: 8,454 bytes, lines 53-57
53if(!i){var c=(o.current.shards||[]).map(Zu).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=O.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:rd(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=O.useCallback(function(e){n.current=Yu(e),r.current=void 0},[]),d=O.useCallback(function(t){l(t.type,Xu(t),t.target,s(t,e.lockRef.current))},[]),f=O.useCallback(function(t){l(t.type,Yu(t),t.target,s(t,e.lockRef.current))},[]);O.useEffect(function(){return td.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener(`wheel`,c,Lu),document.addEventListener(`touchmove`,c,Lu),document.addEventListener(`touchstart`,u,Lu),function(){td=td.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,Lu),document.removeEventListener(`touchmove`,c,Lu),document.removeEventListener(`touchstart`,u,Lu)}},[]);var p=e.removeScrollBar,m=e.inert;return O.createElement(O.Fragment,null,m?O.createElement(a,{styles:$u(i)}):null,p?O.createElement(Pu,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function rd(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var id=pu(mu,nd),ad=O.forwardRef(function(e,t){return O.createElement(gu,Zl({},e,{ref:t,sideCar:id}))});ad.classNames=gu.classNames;var od=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},sd=new WeakMap,cd=new WeakMap,ld={},ud=0,dd=function(e){return e&&(e.host||dd(e.parentNode))},fd=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=dd(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},pd=function(e,t,n,r){var i=fd(t,Array.isArray(e)?e:[e]);ld[n]||(ld[n]=new WeakMap);var a=ld[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(sd.get(e)||0)+1,l=(a.get(e)||0)+1;sd.set(e,c),a.set(e,l),o.push(e),c===1&&i&&cd.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),ud++,function(){o.forEach(function(e){var t=sd.get(e)-1,i=a.get(e)-1;sd.set(e,t),a.set(e,i),t||(cd.has(e)||e.removeAttribute(r),cd.delete(e)),i||e.removeAttribute(n)}),ud--,ud||(sd=new WeakMap,sd=new WeakMap,cd=new WeakMap,ld={})}},md=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||od(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),pd(r,i,n,`aria-hidden`)):function(){return null}},hd=`Dialog`,[gd,_d]=zc(hd),[vd,yd]=gd(hd),bd=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=O.useRef(null),c=O.useRef(null),[l,u]=Gc({prop:r,defaultProp:i??!1,onChange:a,caller:hd});return(0,U.jsx)(vd,{scope:t,triggerRef:s,contentRef:c,contentId:tl(),titleId:tl(),descriptionId:tl(),open:l,onOpenChange:u,onOpenToggle:O.useCallback(()=>u(e=>!e),[u]),modal:o,children:n})};bd.displayName=hd;var xd=`DialogTrigger`,Sd=O.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=yd(xd,n),a=Cc(t,i.triggerRef);return(0,U.jsx)(Mc.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Hd(i.open),...r,ref:a,onClick:Hc(e.onClick,i.onOpenToggle)})});Sd.displayName=xd;var Cd=`DialogPortal`,[wd,Td]=gd(Cd,{forceMount:void 0}),Ed=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=yd(Cd,t);return(0,U.jsx)(wd,{scope:t,forceMount:n,children:O.Children.map(r,e=>(0,U.jsx)(Yc,{present:n||a.open,children:(0,U.jsx)(ql,{asChild:!0,container:i,children:e})}))})};Ed.displayName=Cd;var Dd=`DialogOverlay`,Od=O.forwardRef((e,t)=>{let n=Td(Dd,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=yd(Dd,e.__scopeDialog);return a.modal?(0,U.jsx)(Yc,{present:r||a.open,children:(0,U.jsx)(Ad,{...i,ref:t})}):null});Od.displayName=Dd;var kd=wc(`DialogOverlay.RemoveScroll`),Ad=O.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=yd(Dd,n);return(0,U.jsx)(ad,{as:kd,allowPinchZoom:!0,shards:[i.contentRef],children:(0,U.jsx)(Mc.div,{"data-state":Hd(i.open),...r,ref:t,style:{pointerEvents:`auto`,...r.style}})})}),jd=`DialogContent`,Md=O.forwardRef((e,t)=>{let n=Td(jd,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=yd(jd,e.__scopeDialog);return(0,U.jsx)(Yc,{present:r||a.open,children:a.modal?(0,U.jsx)(Nd,{...i,ref:t}):(0,U.jsx)(Pd,{...i,ref:t})})});Md.displayName=jd;var Nd=O.forwardRef((e,t)=>{let n=yd(jd,e.__scopeDialog),r=O.useRef(null),i=Cc(t,n.contentRef,r);return O.useEffect(()=>{let e=r.current;if(e)return md(e)},[]),(0,U.jsx)(Fd,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Hc(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Hc(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:Hc(e.onFocusOutside,e=>e.preventDefault())})}),Pd=O.forwardRef((e,t)=>{let n=yd(jd,e.__scopeDialog),r=O.useRef(!1),i=O.useRef(!1);return(0,U.jsx)(Fd,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),Fd=O.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=yd(jd,n),c=O.useRef(null),l=Cc(t,c);return Yl(),(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Fl,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,U.jsx)(wl,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Hd(s.open),...o,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Kd,{titleId:s.titleId}),(0,U.jsx)(Jd,{contentRef:c,descriptionId:s.descriptionId})]})]})}),Id=`DialogTitle`,Ld=O.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=yd(Id,n);return(0,U.jsx)(Mc.h2,{id:i.titleId,...r,ref:t})});Ld.displayName=Id;var Rd=`DialogDescription`,zd=O.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=yd(Rd,n);return(0,U.jsx)(Mc.p,{id:i.descriptionId,...r,ref:t})});zd.displayName=Rd;var Bd=`DialogClose`,Vd=O.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=yd(Bd,n);return(0,U.jsx)(Mc.button,{type:`button`,...r,ref:t,onClick:Hc(e.onClick,()=>i.onOpenChange(!1))})});Vd.displayName=Bd;function Hd(e){return e?`open`:`closed`}var Ud=`DialogTitleWarning`,[Wd,Gd]=Rc(Ud,{contentName:jd,titleName:Id,docsSlug:`dialog`}),Kd=({titleId:e})=>{let t=Gd(Ud),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 54 55If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 56 57For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return O.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},qd=`DialogDescriptionWarning`,Jd=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Gd(qd).contentName}}.`;return O.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Yd=bd,Xd=Sd,Zd=Ed,Qd=Od,$d=Md,ef=Ld,tf=zd,nf=Vd,rf=`AlertDialog`,[af,iee]=zc(rf,[_d]),of=_d(),sf=e=>{let{__scopeAlertDialog:t,...n}=e,r=of(t);return(0,U.jsx)(Yd,{...r,...n,modal:!0})};sf.displayName=rf;var cf=`AlertDialogTrigger`,lf=O.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=of(n);return(0,U.jsx)(Xd,{...i,...r,ref:t})});lf.displayName=cf;var uf=`AlertDialogPortal`,df=e=>{let{__scopeAlertDialog:t,...n}=e,r=of(t);return(0,U.jsx)(Zd,{...r,...n})};df.displayName=uf;var ff=`AlertDialogOverlay`,pf=O.forwardRef((e,t)=>
57{let{__scopeAlertDialog:n,...r}=e,i=of(n);return(0,U.jsx)(Qd,{...i,...r,ref:t})});pf.displayName=ff;var mf=`AlertDialogContent`,[hf,gf]=af(mf),_f=Oc(`AlertDialogContent`),vf=O.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:r,...i}=e,a=of(n),o=O.useRef(null),s=Cc(t,o),c=O.useRef(null);return(0,U.jsx)(Wd,{contentName:mf,titleName:yf,docsSlug:`alert-dialog`,children:(0,U.jsx)(hf,{scope:n,cancelRef:c,children:(0,U.jsxs)($d,{role:`alertdialog`,...a,...i,ref:s,onOpenAutoFocus:Hc(i.onOpenAutoFocus,e=>{e.preventDefault(),c.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,U.jsx)(_f,{children:r}),(0,U.jsx)(Df,{contentRef:o})]})})})});vf.displayName=mf;var yf=`AlertDialogTitle`,bf=O.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=of(n);return(0,U.jsx)(ef,{...i,...r,ref:t})});bf.displayName=yf;var xf=`AlertDialogDescription`,Sf=O.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=of(n);return(0,U.jsx)(tf,{...i,...r,ref:t})});Sf.displayName=xf;var Cf=`AlertDialogAction`,wf=O.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=of(n);return(0,U.jsx)(nf,{...i,...r,ref:t})});wf.displayName=Cf;var Tf=`AlertDialogCancel`,Ef=O.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:i}=gf(Tf,n),a=of(n),o=Cc(t,i);return(0,U.jsx)(nf,{...a,...r,ref:o})});Ef.displayName=Tf;var Df=({contentRef:e})=>{let t=`\`${mf}\` requires a description for the component to be accessible for screen reader users. 58 59You can add a description to the \`${mf}\` by passing a \`${xf}\` component as a child, which also benefits sighted users by adding visible context to the dialog. 60 61Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${mf}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component. 62 63For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return O.useEffect(()=>{document.getElementById(e.current?.getAttribute(`aria-describedby`))||console.warn(t)},[t,e]),null},Of=sf,kf=df,Af=pf,jf=vf,Mf=wf,Nf=Ef,Pf=bf,Ff=Sf;function If(){return(0,Eo.useSyncExternalStore)(Lf,()=>!0,()=>!1)}function Lf(){return()=>{}}var Rf=`Avatar`,[zf,Bf]=zc(Rf),[Vf,Hf]=zf(Rf),Uf=O.forwardRef((e,t)=>{let{__scopeAvatar:n,...r}=e,[i,a]=O.useState(`idle`);return(0,U.jsx)(Vf,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:a,children:(0,U.jsx)(Mc.span,{...r,ref:t})})});Uf.displayName=Rf;var Wf=`AvatarImage`,Gf=O.forwardRef((e,t)=>{let{__scopeAvatar:n,src:r,onLoadingStatusChange:i=()=>{},...a}=e,o=Hf(Wf,n),s=Yf(r,a),c=gl(e=>{i(e),o.onImageLoadingStatusChange(e)});return Uc(()=>{s!==`idle`&&c(s)},[s,c]),s===`loaded`?(0,U.jsx)(Mc.img,{...a,ref:t,src:r}):null});Gf.displayName=Wf;var Kf=`AvatarFallback`,qf=O.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:r,...i}=e,a=Hf(Kf,n),[o,s]=O.useState(r===void 0);return O.useEffect(()=>{if(r!==void 0){let e=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(e)}},[r]),o&&a.imageLoadingStatus!==`loaded`?(0,U.jsx)(Mc.span,{...i,ref:t}):null});qf.displayName=Kf;function Jf(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?`loaded`:`loading`):`error`:`idle`}function Yf(e,{referrerPolicy:t,crossOrigin:n}){let r=If(),i=O.useRef(null),a=r?(i.current||=new window.Image,i.current):null,[o,s]=O.useState(()=>Jf(a,e));return Uc(()=>{s(Jf(a,e))},[a,e]),Uc(()=>{let e=e=>()=>{s(e)};if(!a)return;let r=e(`loaded`),i=e(`error`);return a.addEventListener(`load`,r),a.addEventListener(`error`,i),t&&(a.referrerPolicy=t),typeof n==`string`&&(a.crossOrigin=n),()=>{a.removeEventListener(`load`,r),a.removeEventListener(`error`,i)}},[a,n,t]),o}var Xf=Uf,Zf=qf;function Qf(e){let t=O.useRef({value:e,previous:e});return O.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function $f(e){let[t,n]=O.useState(void 0);return Uc(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let r=t[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}n(void 0)},[e]),t}var ep=`Checkbox`,[tp,aee]=zc(ep),[np,rp]=tp(ep);function ip(e){let{__scopeCheckbox:t,checked:n,children:r,defaultChecked:i,disabled:a,form:o,name:s,onCheckedChange:c,required:l,value:u=`on`,internal_do_not_use_render:d}=e,[f,p]=Gc({prop:n,defaultProp:i??!1,onChange:c,caller:ep}),[m,h]=O.useState(null),[g,_]=O.useState(null),v=O.useRef(!1),y=!m||!!o||!!m.closest(`form`),b={checked:f,disabled:a,setChecked:p,control:m,setControl:h,name:s,form:o,value:u,hasConsumerStoppedPropagationRef:v,required:l,defaultChecked:!pp(i)&&i,isFormControl:y,bubbleInput:g,setBubbleInput:_};return(0,U.jsx)(np,{scope:t,...b,children:fp(d)?d(b):r})}var ap=`CheckboxTrigger`,op=O.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},i)=>{let{control:a,value:o,disabled:s,checked:c,required:l,setControl:u,setChecked:d,hasConsumerStoppedPropagationRef:f,isFormControl:p,bubbleInput:m}=rp(ap,e),h=Cc(i,u),g=O.useRef(c);return O.useEffect(()=>{let e=a?.form;if(e){let t=()=>d(g.current);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[a,d]),(0,U.jsx)(Mc.button,{type:`button`,role:`checkbox`,"aria-checked":pp(c)?`mixed`:c,"aria-required":l,"data-state":mp(c),"data-disabled":s?``:void 0,disabled:s,value:o,...r,ref:h,onKeyDown:Hc(t,e=>{e.key===`Enter`&&e.preventDefault()}),onClick:Hc(n,e=>{d(e=>pp(e)?!0:!e),m&&p&&(f.current=e.isPropagationStopped(),f.current||e.stopPropagation())})})});op.displayName=ap;var sp=O.forwardRef((e,t)=>
63{let{__scopeCheckbox:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c,onCheckedChange:l,form:u,...d}=e;return(0,U.jsx)(ip,{__scopeCheckbox:n,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:l,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(op,{...d,ref:t,__scopeCheckbox:n}),e&&(0,U.jsx)(dp,{__scopeCheckbox:n})]})})});sp.displayName=ep;var cp=`CheckboxIndicator`,lp=O.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...i}=e,a=rp(cp,n);return(0,U.jsx)(Yc,{present:r||pp(a.checked)||a.checked===!0,children:(0,U.jsx)(Mc.span,{"data-state":mp(a.checked),"data-disabled":a.disabled?``:void 0,...i,ref:t,style:{pointerEvents:`none`,...e.style}})})});lp.displayName=cp;var up=`CheckboxBubbleInput`,dp=O.forwardRef(({__scopeCheckbox:e,...t},n)=>{let{control:r,hasConsumerStoppedPropagationRef:i,checked:a,defaultChecked:o,required:s,disabled:c,name:l,value:u,form:d,bubbleInput:f,setBubbleInput:p}=rp(up,e),m=Cc(n,p),h=Qf(a),g=$f(r);O.useEffect(()=>{let e=f;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set,r=!i.current;if(h!==a&&n){let t=new Event(`click`,{bubbles:r});e.indeterminate=pp(a),n.call(e,!pp(a)&&a),e.dispatchEvent(t)}},[f,h,a,i]);let _=O.useRef(!pp(a)&&a);return(0,U.jsx)(Mc.input,{type:`checkbox`,"aria-hidden":!0,defaultChecked:o??_.current,required:s,disabled:c,name:l,value:u,form:d,...t,tabIndex:-1,ref:m,style:{...t.style,...g,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})});dp.displayName=up;function fp(e){return typeof e==`function`}function pp(e){return e===`indeterminate`}function mp(e){return pp(e)?`indeterminate`:e?`checked`:`unchecked`}var hp=[`top`,`right`,`bottom`,`left`],gp=Math.min,_p=Math.max,vp=Math.round,yp=Math.floor,bp=e=>({x:e,y:e}),xp={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Sp(e,t,n){return _p(e,gp(t,n))}function Cp(e,t){return typeof e==`function`?e(t):e}function wp(e){return e.split(`-`)[0]}function Tp(e){return e.split(`-`)[1]}function Ep(e){return e===`x`?`y`:`x`}function Dp(e){return e===`y`?`height`:`width`}function Op(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function kp(e){return Ep(Op(e))}function Ap(e,t,n){n===void 0&&(n=!1);let r=Tp(e),i=kp(e),a=Dp(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=zp(o)),[o,zp(o)]}function jp(e){let t=zp(e);return[Mp(e),t,Mp(t)]}function Mp(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Np=[`left`,`right`],Pp=[`right`,`left`],Fp=[`top`,`bottom`],Ip=[`bottom`,`top`];
vendor: 4,647 bytes, line 63
63function Lp(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Pp:Np:t?Np:Pp;case`left`:case`right`:return t?Fp:Ip;default:return[]}}function Rp(e,t,n,r){let i=Tp(e),a=Lp(wp(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Mp)))),a}function zp(e){let t=wp(e);return xp[t]+e.slice(t.length)}function Bp(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vp(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Bp(e)}function Hp(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Up(e,t,n){let{reference:r,floating:i}=e,a=Op(t),o=kp(t),s=Dp(o),c=wp(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Tp(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1)}return p}async function oee(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Cp(t,e),p=Vp(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Hp(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Hp(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var see=50,cee=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:oee},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Up(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<see&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Up(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},lee=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Cp(e,t)||{};if(l==null)return{};let d=Vp(u),f={x:n,y:r},p=kp(i),m=Dp(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=gp(d[_],T),D=gp(d[v],T),O=E,k=C-h[m]-D,A=C/2-h[m]/2+w,j=Sp(O,A,k),M=!c.arrow&&Tp(i)!=null&&A!==j&&a.reference[m]/2-(A<O?E:D)-h[m]/2<0,N=M?A<O?A-O:A-k:0;return{[p]:f[p]+N,data:{[p]:j,centerOffset:A-j-N,...M&&{alignmentOffset:N}},reset:M}}}),uee=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Cp(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=wp(r),_=Op(o),v=wp(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[zp(o)]:jp(o)),x=p!==`none`;!d&&x&&b.push(...Rp(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Ap(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===Op(t)||T.every(e=>Op(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>
vendor: 5,974 bytes, line 63
63e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Op(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function Wp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Gp(e){return hp.some(t=>e[t]>=0)}var dee=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=Cp(e,t);switch(i){case`referenceHidden`:{let e=Wp(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Gp(e)}}}case`escaped`:{let e=Wp(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Gp(e)}}}default:return{}}}}},Kp=new Set([`left`,`top`]);async function fee(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=wp(n),s=Tp(n),c=Op(n)===`y`,l=Kp.has(o)?-1:1,u=a&&c?-1:1,d=Cp(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var pee=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await fee(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},mee=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Cp(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Op(wp(i)),p=Ep(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=Sp(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=Sp(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},hee=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Cp(e,t),u={x:n,y:r},d=Op(i),f=Ep(d),p=u[f],m=u[d],h=Cp(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=Kp.has(wp(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},gee=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=Cp(e,t),u=await o.detectOverflow(t,l),d=wp(i),f=Tp(i),p=Op(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=gp(h-u[g],v),x=gp(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=_p(u.left,0),t=_p(u.right,0),n=_p(u.top,0),r=_p(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:_p(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:_p(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function qp(){return typeof window<`u`}function Jp(e){return Zp(e)?(e.nodeName||``).toLowerCase():`#document`}function Yp(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xp(e){return((Zp(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Zp(e){return qp()?e instanceof Node||e instanceof Yp(e).Node:!1}function Qp(e){return qp()?e instanceof Element||e instanceof Yp(e).Element:!1}function $p(e){return qp()?e instanceof HTMLElement||e instanceof Yp(e).HTMLElement:!1}function _ee(e){return!qp()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Yp(e).ShadowRoot}function em(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=sm(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function vee(e){return/^(table|td|th)$/.test(Jp(e))}function tm(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var yee=/transform|translate|scale|rotate|perspective|filter/,bee=/paint|layout|strict|content/,nm=e=>!!e&&e!==`none`,rm;function im(e){let t=Qp(e)?sm(e):e;return nm(t.transform)||nm(t.translate)||nm(t.scale)||nm(t.rotate)||nm(t.perspective)||!am()&&(nm(t.backdropFilter)||nm(t.filter))||yee.test(t.willChange||``)||bee.test(t.contain||``)}function xee(e){let t=lm(e);for(;$p(t)&&!om(t);){if(im(t))return t;if(tm(t))return null;t=lm(t)}return null}function am(){return rm??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),rm}function om(e){return/^(html|body|#document)$/.test(Jp(e))}function sm(e){return Yp(e).getComputedStyle(e)}function cm(e){return Qp(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function lm(e){if(Jp(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||_ee(e)&&e.host||Xp(e);return _ee(t)?t.host:t}function um(e){let t=lm(e);return om(t)?e.ownerDocument?e.ownerDocument.body:e.body:$p(t)&&em(t)?t:um(t)}function dm(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=um(e),i=r===e.ownerDocument?.body,a=Yp(r);if(i){let e=fm(a);
vendor: 4,869 bytes, line 63
63return t.concat(a,a.visualViewport||[],em(r)?r:[],e&&n?dm(e):[])}return t.concat(r,dm(r,[],n))}function fm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function pm(e){let t=sm(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=$p(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=vp(n)!==a||vp(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function mm(e){return Qp(e)?e:e.contextElement}function hm(e){let t=mm(e);if(!$p(t))return bp(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=pm(t),o=(a?vp(n.width):n.width)/r,s=(a?vp(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var See=bp(0);function gm(e){let t=Yp(e);return!am()||!t.visualViewport?See:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cee(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Yp(e)?!1:t}function _m(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=mm(e),o=bp(1);t&&(r?Qp(r)&&(o=hm(r)):o=hm(e));let s=Cee(a,n,r)?gm(a):bp(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=Yp(a),t=r&&Qp(r)?Yp(r):r,n=e,i=fm(n);for(;i&&r&&t!==n;){let e=hm(i),t=i.getBoundingClientRect(),r=sm(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Yp(i),i=fm(n)}}return Hp({width:u,height:d,x:c,y:l})}function vm(e,t){let n=cm(e).scrollLeft;return t?t.left+n:_m(Xp(e)).left+n}function ym(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-vm(e,n),y:n.top+t.scrollTop}}function wee(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Xp(r),s=t?tm(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=bp(1),u=bp(0),d=$p(r);if((d||!d&&!a)&&((Jp(r)!==`body`||em(o))&&(c=cm(r)),d)){let e=_m(r);l=hm(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?ym(o,c):bp(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Tee(e){return Array.from(e.getClientRects())}function Eee(e){let t=Xp(e),n=cm(e),r=e.ownerDocument.body,i=_p(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=_p(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+vm(e),s=-n.scrollTop;return sm(r).direction===`rtl`&&(o+=_p(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var bm=25;function Dee(e,t){let n=Yp(e),r=Xp(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=am();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=vm(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=bm&&(a-=o)}else l<=bm&&(a+=l);return{width:a,height:o,x:s,y:c}}function Oee(e,t){let n=_m(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=$p(e)?hm(e):bp(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function xm(e,t,n){let r;if(t===`viewport`)r=Dee(e,n);else if(t===`document`)r=Eee(Xp(e));else if(Qp(t))r=Oee(t,n);else{let n=gm(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Hp(r)}function Sm(e,t){let n=lm(e);return n===t||!Qp(n)||om(n)?!1:sm(n).position===`fixed`||Sm(n,t)}function kee(e,t){let n=t.get(e);if(n)return n;let r=dm(e,[],!1).filter(e=>Qp(e)&&Jp(e)!==`body`),i=null,a=sm(e).position===`fixed`,o=a?lm(e):e;for(;Qp(o)&&!om(o);){let t=sm(o),n=im(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||em(o)&&!n&&Sm(e,o))?r=r.filter(e=>e!==o):i=t,o=lm(o)}return t.set(e,r),r}function Aee(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?tm(t)?[]:kee(t,this._c):[].concat(n),r],o=xm(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=xm(t,a[e],i);s=_p(n.top,s),c=gp(n.right,c),l=gp(n.bottom,l),u=_p(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function jee(e){let{width:t,height:n}=pm(e);return{width:t,height:n}}function Mee(e,t,n){let r=$p(t),i=Xp(t),a=n===`fixed`,o=_m(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=bp(0);function l(){c.x=vm(i)}if(r||!r&&!a)if((Jp(t)!==`body`||em(i))&&(s=cm(t)),r){let e=_m(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?ym(i,s):bp(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Cm(e){return sm(e).position===`static`}function wm(e,t){if(!$p(e)||sm(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Xp(e)===n&&(n=n.ownerDocument.body),n}function Tm(e,t){let n=Yp(e);if(tm(e))return n;if(!$p(e)){let t=lm(e);for(;t&&!om(t);){if(Qp(t)&&!Cm(t))return t;
vendor: 10,015 bytes, line 63
63t=lm(t)}return n}let r=wm(e,t);for(;r&&vee(r)&&Cm(r);)r=wm(r,t);return r&&om(r)&&Cm(r)&&!im(r)?n:r||xee(e)||n}var Nee=async function(e){let t=this.getOffsetParent||Tm,n=this.getDimensions,r=await n(e.floating);return{reference:Mee(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Pee(e){return sm(e).direction===`rtl`}var Fee={convertOffsetParentRelativeRectToViewportRelativeRect:wee,getDocumentElement:Xp,getClippingRect:Aee,getOffsetParent:Tm,getElementRects:Nee,getClientRects:Tee,getDimensions:jee,getScale:hm,isElement:Qp,isRTL:Pee};function Em(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Iee(e,t){let n=null,r,i=Xp(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=yp(d),h=yp(i.clientWidth-(u+f)),g=yp(i.clientHeight-(d+p)),_=yp(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:_p(0,gp(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!Em(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Lee(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=mm(e),u=i||a?[...l?dm(l):[],...t?dm(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Iee(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?_m(e):null;c&&g();function g(){let t=_m(e);h&&!Em(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Ree=pee,zee=mee,Bee=uee,Vee=gee,Hee=dee,Dm=lee,Uee=hee,Wee=(e,t,n)=>{let r=new Map,i={platform:Fee,...n},a={...i.platform,_c:r};return cee(e,t,{...i,platform:a})},Om=typeof document<`u`?O.useLayoutEffect:function(){};function km(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!km(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!km(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Am(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function jm(e,t){let n=Am(e);return Math.round(t*n)/n}function Mm(e){let t=O.useRef(e);return Om(()=>{t.current=e}),t}function Gee(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=O.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=O.useState(r);km(f,r)||p(r);let[m,h]=O.useState(null),[g,_]=O.useState(null),v=O.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=O.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=O.useRef(null),C=O.useRef(null),w=O.useRef(u),T=c!=null,E=Mm(c),D=Mm(i),A=Mm(l),j=O.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),Wee(S.current,C.current,e).then(e=>{let t={...e,isPositioned:A.current!==!1};M.current&&!km(w.current,t)&&(w.current=t,k.flushSync(()=>{d(t)}))})},[f,t,n,D,A]);Om(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let M=O.useRef(!1);Om(()=>(M.current=!0,()=>{M.current=!1}),[]),Om(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,j);j()}},[b,x,j,E,T]);let N=O.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),P=O.useMemo(()=>({reference:b,floating:x}),[b,x]),F=O.useMemo(()=>{let e={position:n,left:0,top:0};if(!P.floating)return e;let t=jm(P.floating,u.x),r=jm(P.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...Am(P.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,P.floating,u.x,u.y]);return O.useMemo(()=>({...u,update:j,refs:N,elements:P,floatingStyles:F}),[u,j,N,P,F])}var Kee=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:Dm({element:r.current,padding:i}).fn(n):r?Dm({element:r,padding:i}).fn(n):{}}}},qee=(e,t)=>{let n=Ree(e);return{name:n.name,fn:n.fn,options:[e,t]}},Jee=(e,t)=>{let n=zee(e);return{name:n.name,fn:n.fn,options:[e,t]}},Yee=(e,t)=>({fn:Uee(e).fn,options:[e,t]}),Xee=(e,t)=>{let n=Bee(e);return{name:n.name,fn:n.fn,options:[e,t]}},Zee=(e,t)=>{let n=Vee(e);return{name:n.name,fn:n.fn,options:[e,t]}},Qee=(e,t)=>{let n=Hee(e);return{name:n.name,fn:n.fn,options:[e,t]}},$ee=(e,t)=>{let n=Kee(e);return{name:n.name,fn:n.fn,options:[e,t]}},ete=`Arrow`,Nm=O.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,U.jsx)(Mc.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,U.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});Nm.displayName=ete;var tte=Nm,Pm=`Popper`,[Fm,Im]=zc(Pm),[nte,Lm]=Fm(Pm),Rm=e=>{let{__scopePopper:t,children:n}=e,[r,i]=O.useState(null);return(0,U.jsx)(nte,{scope:t,anchor:r,onAnchorChange:i,children:n})};Rm.displayName=Pm;var zm=`PopperAnchor`,Bm=O.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=Lm(zm,n),o=O.useRef(null),s=Cc(t,o),c=O.useRef(null);return O.useEffect(()=>{let e=c.current;c.current=r?.current||o.current,e!==c.current&&a.onAnchorChange(c.current)}),r?null:(0,U.jsx)(Mc.div,{...i,ref:s})});Bm.displayName=zm;var Vm=`PopperContent`,[rte,ite]=Fm(Vm),Hm=O.forwardRef((e,t)=>{let{__scopePopper:n,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:u=0,sticky:d=`partial`,hideWhenDetached:f=!1,updatePositionStrategy:p=`optimized`,onPlaced:m,...h}=e,g=Lm(Vm,n),[_,v]=O.useState(null),y=Cc(t,e=>v(e)),[b,x]=O.useState(null),S=$f(b),C=S?.width??0,w=S?.height??0,T=r+(a===`center`?``:`-`+a),E=typeof u==`number`?u:{top:0,right:0,bottom:0,left:0,...u},D=Array.isArray(l)?l:[l],k=D.length>0,A={padding:E,boundary:D.filter(ote),altBoundary:k},{refs:j,floatingStyles:M,placement:N,isPositioned:P,middlewareData:F}=Gee({strategy:`fixed`,placement:T,whileElementsMounted:(...e)=>Lee(...e,{animationFrame:p===`always`}),elements:{reference:g.anchor},middleware:[qee({mainAxis:i+w,alignmentAxis:o}),c&&Jee({mainAxis:!0,crossAxis:!1,limiter:d===`partial`?Yee():void 0,...A}),c&&Xee({...A}),Zee({...A,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),b&&$ee({element:b,padding:s}),ste({arrowWidth:C,arrowHeight:w}),f&&Qee({strategy:`referenceHidden`,...A})]}),[I,L]=Gm(N),R=gl(m);Uc(()=>{P&&R?.()},[P,R]);let z=F.arrow?.x,B=F.arrow?.y,ee=F.arrow?.centerOffset!==0,[V,te]=O.useState();return Uc(()=>{_&&te(window.getComputedStyle(_).zIndex)},[_]),(0,U.jsx)(`div`,{ref:j.setFloating,"data-radix-popper-content-wrapper":``,style:{...M,transform:P?M.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:V,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(` `),...F.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,U.jsx)(rte,{scope:n,placedSide:I,onArrowChange:x,arrowX:z,arrowY:B,shouldHideArrow:ee,children:(0,U.jsx)(Mc.div,{"data-side":I,"data-align":L,...h,ref:y,style:{...h.style,animation:P?void 0:`none`}})})})});Hm.displayName=Vm;var Um=`PopperArrow`,ate={top:`bottom`,right:`left`,bottom:`top`,left:`right`},Wm=O.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=ite(Um,n),a=ate[i.placedSide];return(0,U.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,U.jsx)(tte,{...r,ref:t,style:{...r.style,display:`block`}})})});Wm.displayName=Um;function ote(e){return e!==null}var ste=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Gm(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function Gm(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var Km=Rm,qm=Bm,Jm=Hm,Ym=Wm,Xm=`rovingFocusGroup.onEntryFocus`,cte={bubbles:!1,cancelable:!0},Zm=`RovingFocusGroup`,[Qm,$m,lte]=Vc(Zm),[ute,eh]=zc(Zm,[lte]),[dte,fte]=ute(Zm),th=O.forwardRef((e,t)=>
63(0,U.jsx)(Qm.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,U.jsx)(Qm.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,U.jsx)(pte,{...e,ref:t})})}));th.displayName=Zm;var pte=O.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,preventScrollOnEntryFocus:u=!1,...d}=e,f=O.useRef(null),p=Cc(t,f),m=hl(a),[h,g]=Gc({prop:o,defaultProp:s??null,onChange:c,caller:Zm}),[_,v]=O.useState(!1),y=gl(l),b=$m(n),x=O.useRef(!1),[S,C]=O.useState(0);return O.useEffect(()=>{let e=f.current;if(e)return e.addEventListener(Xm,y),()=>e.removeEventListener(Xm,y)},[y]),(0,U.jsx)(dte,{scope:n,orientation:r,dir:m,loop:i,currentTabStopId:h,onItemFocus:O.useCallback(e=>g(e),[g]),onItemShiftTab:O.useCallback(()=>v(!0),[]),onFocusableItemAdd:O.useCallback(()=>C(e=>e+1),[]),onFocusableItemRemove:O.useCallback(()=>C(e=>e-1),[]),children:(0,U.jsx)(Mc.div,{tabIndex:_||S===0?-1:0,"data-orientation":r,...d,ref:p,style:{outline:`none`,...e.style},onMouseDown:Hc(e.onMouseDown,()=>{x.current=!0}),onFocus:Hc(e.onFocus,e=>{let t=!x.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(Xm,cte);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=b().filter(e=>e.focusable);ih([e.find(e=>e.active),e.find(e=>e.id===h),...e].filter(Boolean).map(e=>e.ref.current),u)}}x.current=!1}),onBlur:Hc(e.onBlur,()=>v(!1))})})}),nh=`RovingFocusGroupItem`,rh=O.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=tl(),l=a||c,u=fte(nh,n),d=u.currentTabStopId===l,f=$m(n),{onFocusableItemAdd:p,onFocusableItemRemove:m,currentTabStopId:h}=u;return O.useEffect(()=>{if(r)return p(),()=>m()},[r,p,m]),(0,U.jsx)(Qm.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,U.jsx)(Mc.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:Hc(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:Hc(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:Hc(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=gte(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=f().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?_te(n,r+1):n.slice(r+1)}setTimeout(()=>ih(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:h!=null}):o})})});rh.displayName=nh;var mte={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function hte(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function gte(e,t,n){let r=hte(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return mte[r]}function ih(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function _te(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var ah=th,oh=rh,sh=[`Enter`,` `],vte=[`ArrowDown`,`PageUp`,`Home`],ch=[`ArrowUp`,`PageDown`,`End`],yte=[...vte,...ch],bte={ltr:[...sh,`ArrowRight`],rtl:[...sh,`ArrowLeft`]},xte={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},lh=`Menu`,[uh,Ste,Cte]=Vc(lh),[dh,fh]=zc(lh,[Cte,Im,eh]),ph=Im(),mh=eh(),[wte,hh]=dh(lh),[Tte,gh]=dh(lh),_h=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=ph(t),[c,l]=O.useState(null),u=O.useRef(!1),d=gl(a),f=hl(i);return O.useEffect(()=>{let e=()=>{u.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},t=()=>u.current=!1;return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),(0,U.jsx)(Km,{...s,children:(0,U.jsx)(wte,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:l,children:(0,U.jsx)(Tte,{scope:t,onClose:O.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:f,modal:o,children:r})})})};_h.displayName=lh;var Ete=`MenuAnchor`,vh=O.forwardRef((e,t)=>
vendor: 11,668 bytes, line 63
63{let{__scopeMenu:n,...r}=e,i=ph(n);return(0,U.jsx)(qm,{...i,...r,ref:t})});vh.displayName=Ete;var yh=`MenuPortal`,[Dte,bh]=dh(yh,{forceMount:void 0}),xh=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=hh(yh,t);return(0,U.jsx)(Dte,{scope:t,forceMount:n,children:(0,U.jsx)(Yc,{present:n||a.open,children:(0,U.jsx)(ql,{asChild:!0,container:i,children:r})})})};xh.displayName=yh;var Sh=`MenuContent`,[Ote,Ch]=dh(Sh),wh=O.forwardRef((e,t)=>{let n=bh(Sh,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=hh(Sh,e.__scopeMenu),o=gh(Sh,e.__scopeMenu);return(0,U.jsx)(uh.Provider,{scope:e.__scopeMenu,children:(0,U.jsx)(Yc,{present:r||a.open,children:(0,U.jsx)(uh.Slot,{scope:e.__scopeMenu,children:o.modal?(0,U.jsx)(kte,{...i,ref:t}):(0,U.jsx)(Ate,{...i,ref:t})})})})}),kte=O.forwardRef((e,t)=>{let n=hh(Sh,e.__scopeMenu),r=O.useRef(null),i=Cc(t,r);return O.useEffect(()=>{let e=r.current;if(e)return md(e)},[]),(0,U.jsx)(Th,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Hc(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Ate=O.forwardRef((e,t)=>{let n=hh(Sh,e.__scopeMenu);return(0,U.jsx)(Th,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),jte=wc(`MenuContent.ScrollLock`),Th=O.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,disableOutsideScroll:m,...h}=e,g=hh(Sh,n),_=gh(Sh,n),v=ph(n),y=mh(n),b=Ste(n),[x,S]=O.useState(null),C=O.useRef(null),w=Cc(t,C,g.onContentChange),T=O.useRef(0),E=O.useRef(``),D=O.useRef(0),k=O.useRef(null),A=O.useRef(`right`),j=O.useRef(0),M=m?ad:O.Fragment,N=m?{as:jte,allowPinchZoom:!0}:void 0,P=e=>{let t=E.current+e,n=b().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=Ute(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;(function e(t){E.current=t,window.clearTimeout(T.current),t!==``&&(T.current=window.setTimeout(()=>e(``),1e3))})(t),o&&setTimeout(()=>o.focus())};O.useEffect(()=>()=>window.clearTimeout(T.current),[]),Yl();let F=O.useCallback(e=>A.current===k.current?.side&&Gte(e,k.current?.area),[]);return(0,U.jsx)(Ote,{scope:n,searchRef:E,onItemEnter:O.useCallback(e=>{F(e)&&e.preventDefault()},[F]),onItemLeave:O.useCallback(e=>{F(e)||(C.current?.focus(),S(null))},[F]),onTriggerLeave:O.useCallback(e=>{F(e)&&e.preventDefault()},[F]),pointerGraceTimerRef:D,onPointerGraceIntentChange:O.useCallback(e=>{k.current=e},[]),children:(0,U.jsx)(M,{...N,children:(0,U.jsx)(Fl,{asChild:!0,trapped:i,onMountAutoFocus:Hc(a,e=>{e.preventDefault(),C.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:(0,U.jsx)(wl,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,children:(0,U.jsx)(ah,{asChild:!0,...y,dir:_.dir,orientation:`vertical`,loop:r,currentTabStopId:x,onCurrentTabStopIdChange:S,onEntryFocus:Hc(c,e=>{_.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,U.jsx)(Jm,{role:`menu`,"aria-orientation":`vertical`,"data-state":qh(g.open),"data-radix-menu-content":``,dir:_.dir,...v,...h,ref:w,style:{outline:`none`,...h.style},onKeyDown:Hc(h.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&P(e.key));let i=C.current;if(e.target!==i||!yte.includes(e.key))return;e.preventDefault();let a=b().filter(e=>!e.disabled).map(e=>e.ref.current);ch.includes(e.key)&&a.reverse(),Vte(a)}),onBlur:Hc(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(T.current),E.current=``)}),onPointerMove:Hc(e.onPointerMove,Xh(e=>{let t=e.target,n=j.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>j.current?`right`:`left`;A.current=t,j.current=e.clientX}}))})})})})})})});wh.displayName=Sh;var Mte=`MenuGroup`,Eh=O.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,U.jsx)(Mc.div,{role:`group`,...r,ref:t})});Eh.displayName=Mte;var Nte=`MenuLabel`,Dh=O.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,U.jsx)(Mc.div,{...r,ref:t})});Dh.displayName=Nte;var Oh=`MenuItem`,kh=`menu.itemSelect`,Ah=O.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,a=O.useRef(null),o=gh(Oh,e.__scopeMenu),s=Ch(Oh,e.__scopeMenu),c=Cc(t,a),l=O.useRef(!1),u=()=>{let e=a.current;if(!n&&e){let t=new CustomEvent(kh,{bubbles:!0,cancelable:!0});e.addEventListener(kh,e=>r?.(e),{once:!0}),Nc(e,t),t.defaultPrevented?l.current=!1:o.onClose()}};return(0,U.jsx)(jh,{...i,ref:c,disabled:n,onClick:Hc(e.onClick,u),onPointerDown:t=>{e.onPointerDown?.(t),l.current=!0},onPointerUp:Hc(e.onPointerUp,e=>{l.current||e.currentTarget?.click()}),onKeyDown:Hc(e.onKeyDown,e=>{let t=s.searchRef.current!==``;n||t&&e.key===` `||sh.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});Ah.displayName=Oh;var jh=O.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=Ch(Oh,n),s=mh(n),c=O.useRef(null),l=Cc(t,c),[u,d]=O.useState(!1),[f,p]=O.useState(``);return O.useEffect(()=>{let e=c.current;e&&p((e.textContent??``).trim())},[a.children]),(0,U.jsx)(uh.ItemSlot,{scope:n,disabled:r,textValue:i??f,children:(0,U.jsx)(oh,{asChild:!0,...s,focusable:!r,children:(0,U.jsx)(Mc.div,{role:`menuitem`,"data-highlighted":u?``:void 0,"aria-disabled":r||void 0,"data-disabled":r?``:void 0,...a,ref:l,onPointerMove:Hc(e.onPointerMove,Xh(e=>{r?o.onItemLeave(e):(o.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Hc(e.onPointerLeave,Xh(e=>o.onItemLeave(e))),onFocus:Hc(e.onFocus,()=>d(!0)),onBlur:Hc(e.onBlur,()=>d(!1))})})})}),Pte=`MenuCheckboxItem`,Mh=O.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,U.jsx)(Rh,{scope:e.__scopeMenu,checked:n,children:(0,U.jsx)(Ah,{role:`menuitemcheckbox`,"aria-checked":Jh(n)?`mixed`:n,...i,ref:t,"data-state":Yh(n),onSelect:Hc(i.onSelect,()=>r?.(Jh(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Mh.displayName=Pte;var Nh=`MenuRadioGroup`,[Fte,Ite]=dh(Nh,{value:void 0,onValueChange:()=>{}}),Ph=O.forwardRef((e,t)=>{let{value:n,onValueChange:r,...i}=e,a=gl(r);return(0,U.jsx)(Fte,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,U.jsx)(Eh,{...i,ref:t})})});Ph.displayName=Nh;var Fh=`MenuRadioItem`,Ih=O.forwardRef((e,t)=>{let{value:n,...r}=e,i=Ite(Fh,e.__scopeMenu),a=n===i.value;return(0,U.jsx)(Rh,{scope:e.__scopeMenu,checked:a,children:(0,U.jsx)(Ah,{role:`menuitemradio`,"aria-checked":a,...r,ref:t,"data-state":Yh(a),onSelect:Hc(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Ih.displayName=Fh;var Lh=`MenuItemIndicator`,[Rh,Lte]=dh(Lh,{checked:!1}),zh=O.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,a=Lte(Lh,n);return(0,U.jsx)(Yc,{present:r||Jh(a.checked)||a.checked===!0,children:(0,U.jsx)(Mc.span,{...i,ref:t,"data-state":Yh(a.checked)})})});zh.displayName=Lh;var Rte=`MenuSeparator`,Bh=O.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,U.jsx)(Mc.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})});Bh.displayName=Rte;var zte=`MenuArrow`,Vh=O.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=ph(n);return(0,U.jsx)(Ym,{...i,...r,ref:t})});Vh.displayName=zte;var[Bte,Hh]=dh(`MenuSub`),Uh=`MenuSubTrigger`,Wh=O.forwardRef((e,t)=>{let n=hh(Uh,e.__scopeMenu),r=gh(Uh,e.__scopeMenu),i=Hh(Uh,e.__scopeMenu),a=Ch(Uh,e.__scopeMenu),o=O.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,l={__scopeMenu:e.__scopeMenu},u=O.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return O.useEffect(()=>u,[u]),O.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]),(0,U.jsx)(vh,{asChild:!0,...l,children:(0,U.jsx)(jh,{id:i.triggerId,"aria-haspopup":`menu`,"aria-expanded":n.open,"aria-controls":i.contentId,"data-state":qh(n.open),...e,ref:Sc(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Hc(e.onPointerMove,Xh(t=>{a.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:Hc(e.onPointerLeave,Xh(e=>{u();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i=r===`right`,o=i?-5:5,c=t[i?`left`:`right`],l=t[i?`right`:`left`];a.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:c,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:c,y:t.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:Hc(e.onKeyDown,t=>{let i=a.searchRef.current!==``;e.disabled||i&&t.key===` `||bte[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});Wh.displayName=Uh;var Gh=`MenuSubContent`,Kh=O.forwardRef((e,t)=>{let n=bh(Sh,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=hh(Sh,e.__scopeMenu),o=gh(Sh,e.__scopeMenu),s=Hh(Gh,e.__scopeMenu),c=O.useRef(null),l=Cc(t,c);return(0,U.jsx)(uh.Provider,{scope:e.__scopeMenu,children:(0,U.jsx)(Yc,{present:r||a.open,children:(0,U.jsx)(uh.Slot,{scope:e.__scopeMenu,children:(0,U.jsx)(Th,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:l,align:`start`,side:o.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{o.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:Hc(e.onFocusOutside,e=>{e.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:Hc(e.onEscapeKeyDown,e=>{o.onClose(),e.preventDefault()}),onKeyDown:Hc(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=xte[o.dir].includes(e.key);t&&n&&(a.onOpenChange(!1),s.trigger?.focus(),e.preventDefault())})})})})})});Kh.displayName=Gh;function qh(e){return e?`open`:`closed`}function Jh(e){return e===`indeterminate`}function Yh(e){return Jh(e)?`indeterminate`:e?`checked`:`unchecked`}function Vte(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Hte(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Ute(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Hte(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Wte(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function Gte(e,t){return t?Wte({x:e.clientX,y:e.clientY},t):!1}function Xh(e){return t=>t.pointerType===`mouse`?e(t):void 0}var Kte=_h,qte=vh,Jte=xh,Yte=wh,Xte=Eh,Zte=Dh,Qte=Ah,$te=Mh,ene=Ph,tne=Ih,nne=zh,rne=Bh,ine=Vh,ane=Wh,one=Kh,Zh=`DropdownMenu`,[sne,cne]=zc(Zh,[fh]),Qh=fh(),[lne,$h]=sne(Zh),eg=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=Qh(t),l=O.useRef(null),[u,d]=Gc({prop:i,defaultProp:a??!1,onChange:o,caller:Zh});return(0,U.jsx)(lne,{scope:t,triggerId:tl(),triggerRef:l,contentId:tl(),open:u,onOpenChange:d,onOpenToggle:O.useCallback(()=>d(e=>!e),[d]),modal:s,children:(0,U.jsx)(Kte,{...c,open:u,onOpenChange:d,dir:r,modal:s,children:n})})};
63eg.displayName=Zh;var tg=`DropdownMenuTrigger`,ng=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=$h(tg,n),o=Qh(n);return(0,U.jsx)(qte,{asChild:!0,...o,children:(0,U.jsx)(Mc.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:Sc(t,a.triggerRef),onPointerDown:Hc(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:Hc(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})});ng.displayName=tg;var une=`DropdownMenuPortal`,rg=e=>{let{__scopeDropdownMenu:t,...n}=e,r=Qh(t);return(0,U.jsx)(Jte,{...r,...n})};rg.displayName=une;var ig=`DropdownMenuContent`,ag=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=$h(ig,n),a=Qh(n),o=O.useRef(!1);return(0,U.jsx)(Yte,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:Hc(e.onCloseAutoFocus,e=>{o.current||i.triggerRef.current?.focus(),o.current=!1,e.preventDefault()}),onInteractOutside:Hc(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});ag.displayName=ig;var dne=`DropdownMenuGroup`,fne=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(Xte,{...i,...r,ref:t})});fne.displayName=dne;var pne=`DropdownMenuLabel`,og=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(Zte,{...i,...r,ref:t})});og.displayName=pne;var mne=`DropdownMenuItem`,sg=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(Qte,{...i,...r,ref:t})});sg.displayName=mne;var hne=`DropdownMenuCheckboxItem`,gne=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)($te,{...i,...r,ref:t})});gne.displayName=hne;var _ne=`DropdownMenuRadioGroup`,cg=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(ene,{...i,...r,ref:t})});cg.displayName=_ne;var vne=`DropdownMenuRadioItem`,lg=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(tne,{...i,...r,ref:t})});lg.displayName=vne;var yne=`DropdownMenuItemIndicator`,ug=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(nne,{...i,...r,ref:t})});ug.displayName=yne;var bne=`DropdownMenuSeparator`,dg=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(rne,{...i,...r,ref:t})});dg.displayName=bne;var xne=`DropdownMenuArrow`,Sne=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(ine,{...i,...r,ref:t})});Sne.displayName=xne;var Cne=`DropdownMenuSubTrigger`,wne=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(ane,{...i,...r,ref:t})});wne.displayName=Cne;var Tne=`DropdownMenuSubContent`,Ene=O.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Qh(n);return(0,U.jsx)(one,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});Ene.displayName=Tne;var Dne=eg,One=ng,kne=rg,Ane=ag,jne=og,Mne=sg,Nne=cg,Pne=lg,Fne=ug,Ine=dg,Lne=`Label`,fg=O.forwardRef((e,t)=>(0,U.jsx)(Mc.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));fg.displayName=Lne;var Rne=fg;function pg(e,[t,n]){return Math.min(n,Math.max(t,e))}var mg=`Popover`,[hg,zne]=zc(mg,[Im]),gg=Im(),[Bne,_g]=hg(mg),vg=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=gg(t),c=O.useRef(null),[l,u]=O.useState(!1),[d,f]=Gc({prop:r,defaultProp:i??!1,onChange:a,caller:mg});return(0,U.jsx)(Km,{...s,children:(0,U.jsx)(Bne,{scope:t,contentId:tl(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:O.useCallback(()=>f(e=>!e),[f]),hasCustomAnchor:l,onCustomAnchorAdd:O.useCallback(()=>u(!0),[]),onCustomAnchorRemove:O.useCallback(()=>u(!1),[]),modal:o,children:n})})};
vendor: 4,704 bytes, line 63
63vg.displayName=mg;var yg=`PopoverAnchor`,Vne=O.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=_g(yg,n),a=gg(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return O.useEffect(()=>(o(),()=>s()),[o,s]),(0,U.jsx)(qm,{...a,...r,ref:t})});Vne.displayName=yg;var bg=`PopoverTrigger`,xg=O.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=_g(bg,n),a=gg(n),o=Cc(t,i.triggerRef),s=(0,U.jsx)(Mc.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Og(i.open),...r,ref:o,onClick:Hc(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,U.jsx)(qm,{asChild:!0,...a,children:s})});xg.displayName=bg;var Sg=`PopoverPortal`,[Hne,Une]=hg(Sg,{forceMount:void 0}),Cg=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=_g(Sg,t);return(0,U.jsx)(Hne,{scope:t,forceMount:n,children:(0,U.jsx)(Yc,{present:n||a.open,children:(0,U.jsx)(ql,{asChild:!0,container:i,children:r})})})};Cg.displayName=Sg;var wg=`PopoverContent`,Tg=O.forwardRef((e,t)=>{let n=Une(wg,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=_g(wg,e.__scopePopover);return(0,U.jsx)(Yc,{present:r||a.open,children:a.modal?(0,U.jsx)(Gne,{...i,ref:t}):(0,U.jsx)(Kne,{...i,ref:t})})});Tg.displayName=wg;var Wne=wc(`PopoverContent.RemoveScroll`),Gne=O.forwardRef((e,t)=>{let n=_g(wg,e.__scopePopover),r=O.useRef(null),i=Cc(t,r),a=O.useRef(!1);return O.useEffect(()=>{let e=r.current;if(e)return md(e)},[]),(0,U.jsx)(ad,{as:Wne,allowPinchZoom:!0,children:(0,U.jsx)(Eg,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Hc(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:Hc(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;a.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:Hc(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),Kne=O.forwardRef((e,t)=>{let n=_g(wg,e.__scopePopover),r=O.useRef(!1),i=O.useRef(!1);return(0,U.jsx)(Eg,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),Eg=O.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,f=_g(wg,n),p=gg(n);return Yl(),(0,U.jsx)(Fl,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,U.jsx)(wl,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:(0,U.jsx)(Jm,{"data-state":Og(f.open),role:`dialog`,id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),Dg=`PopoverClose`,qne=O.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=_g(Dg,n);return(0,U.jsx)(Mc.button,{type:`button`,...r,ref:t,onClick:Hc(e.onClick,()=>i.onOpenChange(!1))})});qne.displayName=Dg;var Jne=`PopoverArrow`,Yne=O.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=gg(n);return(0,U.jsx)(Ym,{...i,...r,ref:t})});Yne.displayName=Jne;function Og(e){return e?`open`:`closed`}var Xne=vg,Zne=xg,Qne=Cg,$ne=Tg;function ere(e,t){return O.useReducer((e,n)=>t[e][n]??e,e)}var kg=`ScrollArea`,[Ag,tre]=zc(kg),[nre,jg]=Ag(kg),Mg=O.forwardRef((e,t)=>{let{__scopeScrollArea:n,type:r=`hover`,dir:i,scrollHideDelay:a=600,...o}=e,[s,c]=O.useState(null),[l,u]=O.useState(null),[d,f]=O.useState(null),[p,m]=O.useState(null),[h,g]=O.useState(null),[_,v]=O.useState(0),[y,b]=O.useState(0),[x,S]=O.useState(!1),[C,w]=O.useState(!1),T=Cc(t,e=>c(e)),E=hl(i);return(0,U.jsx)(nre,{scope:n,type:r,dir:E,scrollHideDelay:a,scrollArea:s,viewport:l,onViewportChange:u,content:d,onContentChange:f,scrollbarX:p,onScrollbarXChange:m,scrollbarXEnabled:x,onScrollbarXEnabledChange:S,scrollbarY:h,onScrollbarYChange:g,scrollbarYEnabled:C,onScrollbarYEnabledChange:w,onCornerWidthChange:v,onCornerHeight
vendor: 8,514 bytes, line 63
63Change:b,children:(0,U.jsx)(Mc.div,{dir:E,...o,ref:T,style:{position:`relative`,"--radix-scroll-area-corner-width":_+`px`,"--radix-scroll-area-corner-height":y+`px`,...e.style}})})});Mg.displayName=kg;var Ng=`ScrollAreaViewport`,Pg=O.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:r,nonce:i,...a}=e,o=jg(Ng,n),s=Cc(t,O.useRef(null),o.onViewportChange);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}`},nonce:i}),(0,U.jsx)(Mc.div,{"data-radix-scroll-area-viewport":``,...a,ref:s,style:{overflowX:o.scrollbarXEnabled?`scroll`:`hidden`,overflowY:o.scrollbarYEnabled?`scroll`:`hidden`,...e.style},children:(0,U.jsx)(`div`,{ref:o.onContentChange,style:{minWidth:`100%`,display:`table`},children:r})})]})});Pg.displayName=Ng;var Fg=`ScrollAreaScrollbar`,Ig=O.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=jg(Fg,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=i,s=e.orientation===`horizontal`;return O.useEffect(()=>(s?a(!0):o(!0),()=>{s?a(!1):o(!1)}),[s,a,o]),i.type===`hover`?(0,U.jsx)(rre,{...r,ref:t,forceMount:n}):i.type===`scroll`?(0,U.jsx)(ire,{...r,ref:t,forceMount:n}):i.type===`auto`?(0,U.jsx)(Lg,{...r,ref:t,forceMount:n}):i.type===`always`?(0,U.jsx)(Rg,{...r,ref:t}):null});Ig.displayName=Fg;var rre=O.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=jg(Fg,e.__scopeScrollArea),[a,o]=O.useState(!1);return O.useEffect(()=>{let e=i.scrollArea,t=0;if(e){let n=()=>{window.clearTimeout(t),o(!0)},r=()=>{t=window.setTimeout(()=>o(!1),i.scrollHideDelay)};return e.addEventListener(`pointerenter`,n),e.addEventListener(`pointerleave`,r),()=>{window.clearTimeout(t),e.removeEventListener(`pointerenter`,n),e.removeEventListener(`pointerleave`,r)}}},[i.scrollArea,i.scrollHideDelay]),(0,U.jsx)(Yc,{present:n||a,children:(0,U.jsx)(Lg,{"data-state":a?`visible`:`hidden`,...r,ref:t})})}),ire=O.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=jg(Fg,e.__scopeScrollArea),a=e.orientation===`horizontal`,o=Xg(()=>c(`SCROLL_END`),100),[s,c]=ere(`hidden`,{hidden:{SCROLL:`scrolling`},scrolling:{SCROLL_END:`idle`,POINTER_ENTER:`interacting`},interacting:{SCROLL:`interacting`,POINTER_LEAVE:`idle`},idle:{HIDE:`hidden`,SCROLL:`scrolling`,POINTER_ENTER:`interacting`}});return O.useEffect(()=>{if(s===`idle`){let e=window.setTimeout(()=>c(`HIDE`),i.scrollHideDelay);return()=>window.clearTimeout(e)}},[s,i.scrollHideDelay,c]),O.useEffect(()=>{let e=i.viewport,t=a?`scrollLeft`:`scrollTop`;if(e){let n=e[t],r=()=>{let r=e[t];n!==r&&(c(`SCROLL`),o()),n=r};return e.addEventListener(`scroll`,r),()=>e.removeEventListener(`scroll`,r)}},[i.viewport,a,c,o]),(0,U.jsx)(Yc,{present:n||s!==`hidden`,children:(0,U.jsx)(Rg,{"data-state":s===`hidden`?`hidden`:`visible`,...r,ref:t,onPointerEnter:Hc(e.onPointerEnter,()=>c(`POINTER_ENTER`)),onPointerLeave:Hc(e.onPointerLeave,()=>c(`POINTER_LEAVE`))})})}),Lg=O.forwardRef((e,t)=>{let n=jg(Fg,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=O.useState(!1),s=e.orientation===`horizontal`,c=Xg(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?e:t)}},10);return Zg(n.viewport,c),Zg(n.content,c),(0,U.jsx)(Yc,{present:r||a,children:(0,U.jsx)(Rg,{"data-state":a?`visible`:`hidden`,...i,ref:t})})}),Rg=O.forwardRef((e,t)=>{let{orientation:n=`vertical`,...r}=e,i=jg(Fg,e.__scopeScrollArea),a=O.useRef(null),o=O.useRef(0),[s,c]=O.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),l=Kg(s.viewport,s.content),u={...r,sizes:s,onSizesChange:c,hasThumb:l>0&&l<1,onThumbChange:e=>a.current=e,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:e=>o.current=e};function d(e,t){return ure(e,o.current,s,t)}return n===`horizontal`?(0,U.jsx)(are,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,t=Jg(e,s,i.dir);a.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=d(e,i.dir))}}):n===`vertical`?(0,U.jsx)(ore,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,t=Jg(e,s);a.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=d(e))}}):null}),are=O.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=jg(Fg,e.__scopeScrollArea),[o,s]=O.useState(),c=O.useRef(null),l=Cc(t,c,a.onScrollbarXChange);return O.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),(0,U.jsx)(Bg,{"data-orientation":`horizontal`,...i,ref:l,sizes:n,style:{bottom:0,left:a.dir===`rtl`?`var(--radix-scroll-area-corner-width)`:0,right:a.dir===`ltr`?`var(--radix-scroll-area-corner-width)`:0,"--radix-scroll-area-thumb-width":qg(n)+`px`,...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),dre(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&o&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:Gg(o.paddingLeft),paddingEnd:Gg(o.paddingRight)}})}})}),ore=O.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=jg(Fg,e.__scopeScrollArea),[o,s]=O.useState(),c=O.useRef(null),l=Cc(t,c,a.onScrollbarYChange);return O.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),(0,U.jsx)(Bg,{"data-orientation":`vertical`,...i,ref:l,sizes:n,style:{top:0,right:a.dir===`ltr`?0:void 0,left:a.dir===`rtl`?0:void 0,bottom:`var(--radix-scroll-area-corner-height)`,"--radix-scroll-area-thumb-height":qg(n)+`px`,...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),dre(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&o&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:Gg(o.paddingTop),paddingEnd:Gg(o.paddingBottom)}})}})}),[sre,zg]=Ag(Fg),Bg=O.forwardRef((e,t)=>{let{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:l,onWheelScroll:u,onResize:d,...f}=e,p=jg(Fg,n),[m,h]=O.useState(null),g=Cc(t,e=>h(e)),_=O.useRef(null),v=O.useRef(``),y=p.viewport,b=r.content-r.viewport,x=gl(u),S=gl(c),C=Xg(d,10);function w(e){if(_.current){let t=e.clientX-_.current.left,n=e.clientY-_.current.top;l({x:t,y:n})}}return O.useEffect(()=>{let e=e=>{let t=e.target;m?.contains(t)&&x(e,b)};return document.addEventListener(`wheel`,e,{passive:!1}),()=>document.removeEventListener(`wheel`,e,{passive:!1})},[y,m,b,x]),O.useEffect(S,[r,S]),Zg(m,C),Zg(p.content,C),(0,U.jsx)(sre,{scope:n,scrollbar:m,hasThumb:i,onThumbChange:gl(a),onThumbPointerUp:gl(o),onThumbPositionChange:S,onThumbPointerDown:gl(s),children:(0,U.jsx)(Mc.div,{...f,ref:g,style:{position:`absolute`,...f.style},onPointerDown:Hc(e.onPointerDown,e=>{e.button===0&&(e.target.setPointerCapture(e.pointerId),_.current=m.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect=`none`,p.viewport&&(p.viewport.style.scrollBehavior=`auto`),w(e))}),onPointerMove:Hc(e.onPointerMove,w),onPointerUp:Hc(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=v.current,p.viewport&&(p.viewport.style.scrollBehavior=``),_.current=null})})})}),Vg=`ScrollAreaThumb`,Hg=O.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=zg(Vg,e.__scopeScrollArea);return(0,U.jsx)(Yc,{present:n||i.hasThumb,children:(0,U.jsx)(cre,{ref:t,...r})})}),cre=O.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:r,...i}=e,a=jg(Vg,n),o=zg(Vg,n),{onThumbPositionChange:s}=o,c=Cc(t,e=>o.onThumbChange(e)),l=O.useRef(void 0),u=Xg(()=>{l.current&&=(l.current(),void 0)},100);return O.useEffect(()=>{let e=a.viewport;if(e){let t=()=>{if(u(),!l.current){let t=fre(e,s);l.current=t,s()}};return s(),e.addEventListener(`scroll`,t),()=>e.removeEventListener(`scroll`,t)}},[a.viewport,u,s]),(0,U.jsx)(Mc.div,{"data-state":o.hasThumb?`visible`:`hidden`,...i,ref:c,style:{width:`var(--radix-scroll-area-thumb-width)`,he
63ight:`var(--radix-scroll-area-thumb-height)`,...r},onPointerDownCapture:Hc(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;o.onThumbPointerDown({x:n,y:r})}),onPointerUp:Hc(e.onPointerUp,o.onThumbPointerUp)})});Hg.displayName=Vg;var Ug=`ScrollAreaCorner`,Wg=O.forwardRef((e,t)=>{let n=jg(Ug,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!==`scroll`&&r?(0,U.jsx)(lre,{...e,ref:t}):null});Wg.displayName=Ug;var lre=O.forwardRef((e,t)=>{let{__scopeScrollArea:n,...r}=e,i=jg(Ug,n),[a,o]=O.useState(0),[s,c]=O.useState(0),l=!!(a&&s);return Zg(i.scrollbarX,()=>{let e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),c(e)}),Zg(i.scrollbarY,()=>{let e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),o(e)}),l?(0,U.jsx)(Mc.div,{...r,ref:t,style:{width:a,height:s,position:`absolute`,right:i.dir===`ltr`?0:void 0,left:i.dir===`rtl`?0:void 0,bottom:0,...e.style}}):null});function Gg(e){return e?parseInt(e,10):0}function Kg(e,t){let n=e/t;return isNaN(n)?0:n}function qg(e){let t=Kg(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function ure(e,t,n,r=`ltr`){let i=qg(n),a=i/2,o=t||a,s=i-o,c=n.scrollbar.paddingStart+o,l=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=r===`ltr`?[0,u]:[u*-1,0];return Yg([c,l],d)(e)}function Jg(e,t,n=`ltr`){let r=qg(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,c=pg(e,n===`ltr`?[0,o]:[o*-1,0]);return Yg([0,o],[0,s])(c)}function Yg(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function dre(e,t){return e>0&&e<t}var fre=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function i(){let a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)})(),()=>window.cancelAnimationFrame(r)};function Xg(e,t){let n=gl(e),r=O.useRef(0);return O.useEffect(()=>()=>window.clearTimeout(r.current),[]),O.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function Zg(e,t){let n=gl(t);Uc(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}var pre=Mg,mre=Pg,hre=Wg,gre=[` `,`Enter`,`ArrowUp`,`ArrowDown`],_re=[` `,`Enter`],Qg=`Select`,[$g,e_,vre]=Vc(Qg),[t_,yre]=zc(Qg,[vre,Im]),n_=Im(),[bre,r_]=t_(Qg),[xre,Sre]=t_(Qg),Cre=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:o,defaultValue:s,onValueChange:c,dir:l,name:u,autoComplete:d,disabled:f,required:p,form:m}=e,h=n_(t),[g,_]=O.useState(null),[v,y]=O.useState(null),[b,x]=O.useState(!1),S=hl(l),[C,w]=Gc({prop:r,defaultProp:i??!1,onChange:a,caller:Qg}),[T,E]=Gc({prop:o,defaultProp:s,onChange:c,caller:Qg}),D=O.useRef(null),k=!g||m||!!g.closest(`form`),[A,j]=O.useState(new Set),M=Array.from(A).map(e=>e.props.value).join(`;`);return(0,U.jsx)(Km,{...h,children:(0,U.jsxs)(bre,{required:p,scope:t,trigger:g,onTriggerChange:_,valueNode:v,onValueNodeChange:y,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:tl(),value:T,onValueChange:E,open:C,onOpenChange:w,dir:S,triggerPointerDownPosRef:D,disabled:f,children:[(0,U.jsx)($g.Provider,{scope:t,children:(0,U.jsx)(xre,{scope:e.__scopeSelect,onNativeOptionAdd:O.useCallback(e=>{j(t=>new Set(t).add(e))},[]),onNativeOptionRemove:O.useCallback(e=>{j(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),k?(0,U.jsxs)(P_,{"aria-hidden":!0,required:p,tabIndex:-1,name:u,autoComplete:d,value:T,onChange:e=>E(e.target.value),disabled:f,form:m,children:[T===void 0?(0,U.jsx)(`option`,{value:``}):null,Array.from(A)]},M):null]})})};Cre.displayName=Qg;var wre=`SelectTrigger`,Tre=O.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...i}=e,a=n_(n),o=r_(wre,n),s=o.disabled||r,c=Cc(t,o.onTriggerChange),l=e_(n),u=O.useRef(`touch`),[d,f,p]=I_(e=>{let t=l().filter(e=>!e.disabled),n=L_(t,e,t.find(e=>e.value===o.value));n!==void 0&&o.onValueChange(n.value)}),m=e=>{s||(o.onOpenChange(!0),p()),e&&(o.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,U.jsx)(qm,{asChild:!0,...a,children:(0,U.jsx)(Mc.button,{type:`button`,role:`combobox`,"aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":`none`,dir:o.dir,"data-state":o.open?`open`:`closed`,disabled:s,"data-disabled":s?``:void 0,"data-placeholder":F_(o.value)?``:void 0,...i,ref:c,onClick:Hc(i.onClick,e=>
vendor: 13,046 bytes, line 63
63{e.currentTarget.focus(),u.current!==`mouse`&&m(e)}),onPointerDown:Hc(i.onPointerDown,e=>{u.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&e.pointerType===`mouse`&&(m(e),e.preventDefault())}),onKeyDown:Hc(i.onKeyDown,e=>{let t=d.current!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&f(e.key),!(t&&e.key===` `)&&gre.includes(e.key)&&(m(),e.preventDefault())})})})});Tre.displayName=wre;var i_=`SelectValue`,a_=O.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:a,placeholder:o=``,...s}=e,c=r_(i_,n),{onValueNodeHasChildrenChange:l}=c,u=a!==void 0,d=Cc(t,c.onValueNodeChange);return Uc(()=>{l(u)},[l,u]),(0,U.jsx)(Mc.span,{...s,ref:d,style:{pointerEvents:`none`},children:F_(c.value)?(0,U.jsx)(U.Fragment,{children:o}):a})});a_.displayName=i_;var Ere=`SelectIcon`,o_=O.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...i}=e;return(0,U.jsx)(Mc.span,{"aria-hidden":!0,...i,ref:t,children:r||`â¼`})});o_.displayName=Ere;var Dre=`SelectPortal`,s_=e=>(0,U.jsx)(ql,{asChild:!0,...e});s_.displayName=Dre;var c_=`SelectContent`,l_=O.forwardRef((e,t)=>{let n=r_(c_,e.__scopeSelect),[r,i]=O.useState();if(Uc(()=>{i(new DocumentFragment)},[]),!n.open){let t=r;return t?k.createPortal((0,U.jsx)(d_,{scope:e.__scopeSelect,children:(0,U.jsx)($g.Slot,{scope:e.__scopeSelect,children:(0,U.jsx)(`div`,{children:e.children})})}),t):null}return(0,U.jsx)(p_,{...e,ref:t})});l_.displayName=c_;var u_=10,[d_,f_]=t_(c_),Ore=`SelectContentImpl`,kre=wc(`SelectContent.RemoveScroll`),p_=O.forwardRef((e,t)=>{let{__scopeSelect:n,position:r=`item-aligned`,onCloseAutoFocus:i,onEscapeKeyDown:a,onPointerDownOutside:o,side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:f,collisionPadding:p,sticky:m,hideWhenDetached:h,avoidCollisions:g,..._}=e,v=r_(c_,n),[y,b]=O.useState(null),[x,S]=O.useState(null),C=Cc(t,e=>b(e)),[w,T]=O.useState(null),[E,D]=O.useState(null),k=e_(n),[A,j]=O.useState(!1),M=O.useRef(!1);O.useEffect(()=>{if(y)return md(y)},[y]),Yl();let N=O.useCallback(e=>{let[t,...n]=k().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:`nearest`}),n===t&&x&&(x.scrollTop=0),n===r&&x&&(x.scrollTop=x.scrollHeight),n?.focus(),document.activeElement!==i))return},[k,x]),P=O.useCallback(()=>N([w,y]),[N,w,y]);O.useEffect(()=>{A&&P()},[A,P]);let{onOpenChange:F,triggerPointerDownPosRef:I}=v;O.useEffect(()=>{if(y){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(I.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(I.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():y.contains(n.target)||F(!1),document.removeEventListener(`pointermove`,t),I.current=null};return I.current!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})}}},[y,F,I]),O.useEffect(()=>{let e=()=>F(!1);return window.addEventListener(`blur`,e),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`blur`,e),window.removeEventListener(`resize`,e)}},[F]);let[L,R]=I_(e=>{let t=k().filter(e=>!e.disabled),n=L_(t,e,t.find(e=>e.ref.current===document.activeElement));n&&setTimeout(()=>n.ref.current.focus())}),z=O.useCallback((e,t,n)=>{let r=!M.current&&!n;(v.value!==void 0&&v.value===t||r)&&(T(e),r&&(M.current=!0))},[v.value]),B=O.useCallback(()=>y?.focus(),[y]),ee=O.useCallback((e,t,n)=>{let r=!M.current&&!n;(v.value!==void 0&&v.value===t||r)&&D(e)},[v.value]),V=r===`popper`?h_:m_,te=V===h_?{side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:f,collisionPadding:p,sticky:m,hideWhenDetached:h,avoidCollisions:g}:{};return(0,U.jsx)(d_,{scope:n,content:y,viewport:x,onViewportChange:S,itemRefCallback:z,selectedItem:w,onItemLeave:B,itemTextRefCallback:ee,focusSelectedItem:P,selectedItemText:E,position:r,isPositioned:A,searchRef:L,children:(0,U.jsx)(ad,{as:kre,allowPinchZoom:!0,children:(0,U.jsx)(Fl,{asChild:!0,trapped:v.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:Hc(i,e=>{v.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,U.jsx)(wl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:(0,U.jsx)(V,{role:`listbox`,id:v.contentId,"data-state":v.open?`open`:`closed`,dir:v.dir,onContextMenu:e=>e.preventDefault(),..._,...te,onPlaced:()=>j(!0),ref:C,style:{display:`flex`,flexDirection:`column`,outline:`none`,..._.style},onKeyDown:Hc(_.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&R(e.key),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=k().filter(e=>!e.disabled).map(e=>e.ref.current);if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>N(t)),e.preventDefault()}})})})})})})});p_.displayName=Ore;var Are=`SelectItemAlignedPosition`,m_=O.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...i}=e,a=r_(c_,n),o=f_(c_,n),[s,c]=O.useState(null),[l,u]=O.useState(null),d=Cc(t,e=>u(e)),f=e_(n),p=O.useRef(!1),m=O.useRef(!0),{viewport:h,selectedItem:g,selectedItemText:_,focusSelectedItem:v}=o,y=O.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&l&&h&&g&&_){let e=a.trigger.getBoundingClientRect(),t=l.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),i=_.getBoundingClientRect();if(a.dir!==`rtl`){let r=i.left-t.left,a=n.left-r,o=e.left-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-u_,d=pg(a,[u_,Math.max(u_,u-l)]);s.style.minWidth=c+`px`,s.style.left=d+`px`}else{let r=t.right-i.right,a=window.innerWidth-n.right-r,o=window.innerWidth-e.right-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-u_,d=pg(a,[u_,Math.max(u_,u-l)]);s.style.minWidth=c+`px`,s.style.right=d+`px`}let o=f(),c=window.innerHeight-u_*2,u=h.scrollHeight,d=window.getComputedStyle(l),m=parseInt(d.borderTopWidth,10),v=parseInt(d.paddingTop,10),y=parseInt(d.borderBottomWidth,10),b=parseInt(d.paddingBottom,10),x=m+v+u+b+y,S=Math.min(g.offsetHeight*5,x),C=window.getComputedStyle(h),w=parseInt(C.paddingTop,10),T=parseInt(C.paddingBottom,10),E=e.top+e.height/2-u_,D=c-E,O=g.offsetHeight/2,k=g.offsetTop+O,A=m+v+k,j=x-A;if(A<=E){let e=o.length>0&&g===o[o.length-1].ref.current;s.style.bottom=`0px`;let t=l.clientHeight-h.offsetTop-h.offsetHeight,n=A+Math.max(D,O+(e?T:0)+t+y);s.style.height=n+`px`}else{let e=o.length>0&&g===o[0].ref.current;s.style.top=`0px`;let t=Math.max(E,m+h.offsetTop+(e?w:0)+O)+j;s.style.height=t+`px`,h.scrollTop=A-E+h.offsetTop}s.style.margin=`${u_}px 0`,s.style.minHeight=S+`px`,s.style.maxHeight=c+`px`,r?.(),requestAnimationFrame(()=>p.current=!0)}},[f,a.trigger,a.valueNode,s,l,h,g,_,a.dir,r]);Uc(()=>y(),[y]);let[b,x]=O.useState();Uc(()=>{l&&x(window.getComputedStyle(l).zIndex)},[l]);let S=O.useCallback(e=>{e&&m.current===!0&&(y(),v?.(),m.current=!1)},[y,v]);return(0,U.jsx)(Mre,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:p,onScrollButtonChange:S,children:(0,U.jsx)(`div`,{ref:c,style:{display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:b},children:(0,U.jsx)(Mc.div,{...i,ref:d,style:{boxSizing:`border-box`,maxHeight:`100%`,...i.style}})})})});m_.displayName=Are;var jre=`SelectPopperPosition`,h_=O.forwardRef((e,t)=>{let{__scopeSelect:n,align:r=`start`,collisionPadding:i=u_,...a}=e,o=n_(n);return(0,U.jsx)(Jm,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:`border-box`,...a.style,"--radix-select-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-select-content-available-width":`var(--radix-popper-available-width)`,"--radix-select-content-available-height":`var(--radix-popper-available-height)`,"--radix-select-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-select-trigger-height":`var(--radix-popper-anchor-height)`}})});h_.displayName=jre;var[Mre,g_]=t_(c_,{}),__=`SelectViewport`,v_=O.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...i}=e,a=f_(__,n),o=g_(__,n),s=Cc(t,a.onViewportChange),c=O.useRef(0);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`},nonce:r}),(0,U.jsx)($g.Slot,{scope:n,children:(0,U.jsx)(Mc.div,{"data-radix-select-viewport":``,role:`presentation`,...i,ref:s,style:{position:`relative`,flex:1,overflow:`hidden auto`,...i.style},onScroll:Hc(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=o;if(r?.current&&n){let e=Math.abs(c.current-t.scrollTop);if(e>0){let r=window.innerHeight-u_*2,i=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),o=Math.max(i,a);if(o<r){let i=o+e,a=Math.min(r,i),s=i-a;n.style.height=a+`px`,n.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,n.style.justifyContent=`flex-end`)}}}c.current=t.scrollTop})})})]})});v_.displayName=__;var y_=`SelectGroup`,[Nre,Pre]=t_(y_),Fre=O.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=tl();return(0,U.jsx)(Nre,{scope:n,id:i,children:(0,U.jsx)(Mc.div,{role:`group`,"aria-labelledby":i,...r,ref:t})})});Fre.displayName=y_;var b_=`SelectLabel`,Ire=O.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=Pre(b_,n);return(0,U.jsx)(Mc.div,{id:i.id,...r,ref:t})});Ire.displayName=b_;var x_=`SelectItem`,[Lre,S_]=t_(x_),C_=O.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...o}=e,s=r_(x_,n),c=f_(x_,n),l=s.value===r,[u,d]=O.useState(a??``),[f,p]=O.useState(!1),m=Cc(t,e=>c.itemRefCallback?.(e,r,i)),h=tl(),g=O.useRef(`touch`),_=()=>{i||(s.onValueChange(r),s.onOpenChange(!1))};if(r===``)throw Error(`A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(0,U.jsx)(Lre,{scope:n,value:r,disabled:i,textId:h,isSelected:l,onItemTextChange:O.useCallback(e=>{d(t=>t||(e?.textContent??``).trim())},[]),children:(0,U.jsx)($g.ItemSlot,{scope:n,value:r,disabled:i,textValue:u,children:(0,U.jsx)(Mc.div,{role:`option`,"aria-labelledby":h,"data-highlighted":f?``:void 0,"aria-selected":l&&f,"data-state":l?`checked`:`unchecked`,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,tabIndex:i?void 0:-1,...o,ref:m,onFocus:Hc(o.onFocus,()=>p(!0)),onBlur:Hc(o.onBlur,()=>p(!1)),onClick:Hc(o.onClick,()=>{g.current!==`mouse`&&_()}),onPointerUp:Hc(o.onPointerUp,()=>{g.current===`mouse`&&_()}),onPointerDown:Hc(o.onPointerDown,e=>{g.current=e.pointerType}),onPointerMove:Hc(o.onPointerMove,e=>{g.current=e.pointerType,i?c.onItemLeave?.():g.current===`mouse`&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Hc(o.onPointerLeave,e=>{e.currentTarget===document.activeElement&&c.onItemLeave?.()}),onKeyDown:Hc(o.onKeyDown,e=>{(c.searchRef?.current===``||e.key!==` `)&&(_re.includes(e.key)&&_(),e.key===` `&&e.preventDefault())})})})})});C_.displayName=x_;var w_=`SelectItemText`,T_=O.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,...a}=e,o=r_(w_,n),s=f_(w_,n),c=S_(w_,n),l=Sre(w_,n),[u,d]=O.useState(null),f=Cc(t,e=>d(e),c.onItemTextChange,e=>s.itemTextRefCallback?.(e,c.value,c.disabled)),p=u?.textContent,m=O.useMemo(()=>(0,U.jsx)(`option`,{value:c.value,disabled:c.disabled,children:p},c.value),[c.disabled,c.value,p]),{onNativeOptionAdd:h,onNativeOptionRemove:g}=l;return Uc(()=>(h(m),()=>g(m)),[h,g,m]),(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Mc.span,{id:c.textId,...a,ref:f}),c.isSelected&&o.valueNode&&!o.valueNodeHasChildren?k.createPortal(a.children,o.valueNode):null]})});T_.displayName=w_;var E_=`SelectItemIndicator`,D_=O.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return S_(E_,n).isSelected?(0,U.jsx)(Mc.span,{"aria-hidden":!0,...r,ref:t}):null});D_.displayName=E_;var O_=`SelectScrollUpButton`,k_=O.forwardRef((e,t)=>{let n=f_(O_,e.__scopeSelect),r=g_(O_,e.__scopeSelect),[i,a]=O.useState(!1),o=Cc(t,r.onScrollButtonChange);return Uc(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollTop>0;a(e)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,U.jsx)(M_,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop-=t.offsetHeight)}}):null});k_.displayName=O_;var A_=`SelectScrollDownButton`,j_=O.forwardRef((e,t)=>{let n=f_(A_,e.__scopeSelect),r=g_(A_,e.__scopeSelect),[i,a]=O.useState(!1),o=Cc(t,r.onScrollButtonChange);return Uc(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;a(n)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,U.jsx)(M_,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop+=t.offsetHeight)}}):null});
vendor: 14,565 bytes, line 63
63j_.displayName=A_;var M_=O.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...i}=e,a=f_(`SelectScrollButton`,n),o=O.useRef(null),s=e_(n),c=O.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return O.useEffect(()=>()=>c(),[c]),Uc(()=>{s().find(e=>e.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:`nearest`})},[s]),(0,U.jsx)(Mc.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:Hc(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:Hc(i.onPointerMove,()=>{a.onItemLeave?.(),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:Hc(i.onPointerLeave,()=>{c()})})}),Rre=`SelectSeparator`,zre=O.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,U.jsx)(Mc.div,{"aria-hidden":!0,...r,ref:t})});zre.displayName=Rre;var N_=`SelectArrow`,Bre=O.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=n_(n),a=r_(N_,n),o=f_(N_,n);return a.open&&o.position===`popper`?(0,U.jsx)(Ym,{...i,...r,ref:t}):null});Bre.displayName=N_;var Vre=`SelectBubbleInput`,P_=O.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{let i=O.useRef(null),a=Cc(r,i),o=Qf(t);return O.useEffect(()=>{let e=i.current;if(!e)return;let n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,`value`).set;if(o!==t&&r){let n=new Event(`change`,{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[o,t]),(0,U.jsx)(Mc.select,{...n,style:{...Pc,...n.style},ref:a,defaultValue:t})});P_.displayName=Vre;function F_(e){return e===``||e===void 0}function I_(e){let t=gl(e),n=O.useRef(``),r=O.useRef(0),i=O.useCallback(e=>{let i=n.current+e;t(i),(function e(t){n.current=t,window.clearTimeout(r.current),t!==``&&(r.current=window.setTimeout(()=>e(``),1e3))})(i)},[t]),a=O.useCallback(()=>{n.current=``,window.clearTimeout(r.current)},[]);return O.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}function L_(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Hre(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Hre(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Ure=Cre,Wre=Tre,Gre=a_,Kre=o_,qre=s_,Jre=l_,Yre=v_,Xre=C_,Zre=T_,Qre=D_,$re=k_,eie=j_,R_=`Switch`,[tie,nie]=zc(R_),[rie,iie]=tie(R_),z_=O.forwardRef((e,t)=>{let{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c=`on`,onCheckedChange:l,form:u,...d}=e,[f,p]=O.useState(null),m=Cc(t,e=>p(e)),h=O.useRef(!1),g=!f||u||!!f.closest(`form`),[_,v]=Gc({prop:i,defaultProp:a??!1,onChange:l,caller:R_});return(0,U.jsxs)(rie,{scope:n,checked:_,disabled:s,children:[(0,U.jsx)(Mc.button,{type:`button`,role:`switch`,"aria-checked":_,"aria-required":o,"data-state":U_(_),"data-disabled":s?``:void 0,disabled:s,value:c,...d,ref:m,onClick:Hc(e.onClick,e=>{v(e=>!e),g&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})}),g&&(0,U.jsx)(H_,{control:f,bubbles:!h.current,name:r,value:c,checked:_,required:o,disabled:s,form:u,style:{transform:`translateX(-100%)`}})]})});z_.displayName=R_;var B_=`SwitchThumb`,V_=O.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,i=iie(B_,n);return(0,U.jsx)(Mc.span,{"data-state":U_(i.checked),"data-disabled":i.disabled?``:void 0,...r,ref:t})});V_.displayName=B_;var aie=`SwitchBubbleInput`,H_=O.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...i},a)=>{let o=O.useRef(null),s=Cc(o,a),c=Qf(n),l=$f(t);return O.useEffect(()=>{let e=o.current;if(!e)return;let t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,`checked`).set;if(c!==n&&i){let t=new Event(`click`,{bubbles:r});i.call(e,n),e.dispatchEvent(t)}},[c,n,r]),(0,U.jsx)(`input`,{type:`checkbox`,"aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...i.style,...l,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}})});H_.displayName=aie;function U_(e){return e?`checked`:`unchecked`}var oie=z_,sie=V_,W_=`Tabs`,[cie,lie]=zc(W_,[eh]),G_=eh(),[uie,K_]=cie(W_),q_=O.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o=`horizontal`,dir:s,activationMode:c=`automatic`,...l}=e,u=hl(s),[d,f]=Gc({prop:r,onChange:i,defaultProp:a??``,caller:W_});return(0,U.jsx)(uie,{scope:n,baseId:tl(),value:d,onValueChange:f,orientation:o,dir:u,activationMode:c,children:(0,U.jsx)(Mc.div,{dir:u,"data-orientation":o,...l,ref:t})})});q_.displayName=W_;var J_=`TabsList`,Y_=O.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=K_(J_,n),o=G_(n);return(0,U.jsx)(ah,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:(0,U.jsx)(Mc.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})});Y_.displayName=J_;var X_=`TabsTrigger`,Z_=O.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=K_(X_,n),s=G_(n),c=ev(o.baseId,r),l=tv(o.baseId,r),u=r===o.value;return(0,U.jsx)(oh,{asChild:!0,...s,focusable:!i,active:u,children:(0,U.jsx)(Mc.button,{type:`button`,role:`tab`,"aria-selected":u,"aria-controls":l,"data-state":u?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:c,...a,ref:t,onMouseDown:Hc(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?o.onValueChange(r):e.preventDefault()}),onKeyDown:Hc(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:Hc(e.onFocus,()=>{let e=o.activationMode!==`manual`;!u&&!i&&e&&o.onValueChange(r)})})})});Z_.displayName=X_;var Q_=`TabsContent`,$_=O.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,forceMount:i,children:a,...o}=e,s=K_(Q_,n),c=ev(s.baseId,r),l=tv(s.baseId,r),u=r===s.value,d=O.useRef(u);return O.useEffect(()=>{let e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,U.jsx)(Yc,{present:i||u,children:({present:n})=>(0,U.jsx)(Mc.div,{"data-state":u?`active`:`inactive`,"data-orientation":s.orientation,role:`tabpanel`,"aria-labelledby":c,hidden:!n,id:l,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:d.current?`0s`:void 0},children:n&&a})})});$_.displayName=Q_;function ev(e,t){return`${e}-trigger-${t}`}function tv(e,t){return`${e}-content-${t}`}var die=q_,fie=Y_,pie=Z_,mie=$_,[nv,hie]=zc(`Tooltip`,[Im]),rv=Im(),iv=`TooltipProvider`,gie=700,av=`tooltip.open`,[_ie,ov]=nv(iv),sv=e=>{let{__scopeTooltip:t,delayDuration:n=gie,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,o=O.useRef(!0),s=O.useRef(!1),c=O.useRef(0);return O.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,U.jsx)(_ie,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:O.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:O.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:O.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:a})};sv.displayName=iv;var cv=`Tooltip`,[vie,lv]=nv(cv),uv=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,c=ov(cv,e.__scopeTooltip),l=rv(t),[u,d]=O.useState(null),f=tl(),p=O.useRef(0),m=o??c.disableHoverableContent,h=s??c.delayDuration,g=O.useRef(!1),[_,v]=Gc({prop:r,defaultProp:i??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(av))):c.onClose(),a?.(e)},caller:cv}),y=O.useMemo(()=>_?g.current?`delayed-open`:`instant-open`:`closed`,[_]),b=O.useCallback(()=>{window.clearTimeout(p.current),p.current=0,g.current=!1,v(!0)},[v]),x=O.useCallback(()=>{window.clearTimeout(p.current),p.current=0,v(!1)},[v]),S=O.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{g.current=!0,v(!0),p.current=0},h)},[h,v]);return O.useEffect(()=>()=>{p.current&&=(window.clearTimeout(p.current),0)},[]),(0,U.jsx)(Km,{...l,children:(0,U.jsx)(vie,{scope:t,contentId:f,open:_,stateAttribute:y,trigger:u,onTriggerChange:d,onTriggerEnter:O.useCallback(()=>{c.isOpenDelayedRef.current?S():b()},[c.isOpenDelayedRef,S,b]),onTriggerLeave:O.useCallback(()=>{m?x():(window.clearTimeout(p.current),p.current=0)},[x,m]),onOpen:b,onClose:x,disableHoverableContent:m,children:n})})};uv.displayName=cv;var dv=`TooltipTrigger`,fv=O.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=lv(dv,n),a=ov(dv,n),o=rv(n),s=Cc(t,O.useRef(null),i.onTriggerChange),c=O.useRef(!1),l=O.useRef(!1),u=O.useCallback(()=>c.current=!1,[]);return O.useEffect(()=>()=>document.removeEventListener(`pointerup`,u),[u]),(0,U.jsx)(qm,{asChild:!0,...o,children:(0,U.jsx)(Mc.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:s,onPointerMove:Hc(e.onPointerMove,e=>{e.pointerType!==`touch`&&!l.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),l.current=!0)}),onPointerLeave:Hc(e.onPointerLeave,()=>{i.onTriggerLeave(),l.current=!1}),onPointerDown:Hc(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener(`pointerup`,u,{once:!0})}),onFocus:Hc(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:Hc(e.onBlur,i.onClose),onClick:Hc(e.onClick,i.onClose)})})});fv.displayName=dv;var pv=`TooltipPortal`,[yie,bie]=nv(pv,{forceMount:void 0}),mv=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=lv(pv,t);return(0,U.jsx)(yie,{scope:t,forceMount:n,children:(0,U.jsx)(Yc,{present:n||a.open,children:(0,U.jsx)(ql,{asChild:!0,container:i,children:r})})})};mv.displayName=pv;var hv=`TooltipContent`,gv=O.forwardRef((e,t)=>{let n=bie(hv,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=`top`,...a}=e,o=lv(hv,e.__scopeTooltip);return(0,U.jsx)(Yc,{present:r||o.open,children:o.disableHoverableContent?(0,U.jsx)(_v,{side:i,...a,ref:t}):(0,U.jsx)(xie,{side:i,...a,ref:t})})}),xie=O.forwardRef((e,t)=>{let n=lv(hv,e.__scopeTooltip),r=ov(hv,e.__scopeTooltip),i=O.useRef(null),a=Cc(t,i),[o,s]=O.useState(null),{trigger:c,onClose:l}=n,u=i.current,{onPointerInTransitChange:d}=r,f=O.useCallback(()=>{s(null),d(!1)},[d]),p=O.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=Eie(r,Tie(r,n.getBoundingClientRect())),a=Die(t.getBoundingClientRect()),o=kie([...i,...a]);s(o),d(!0)},[d]);return O.useEffect(()=>()=>f(),[f]),O.useEffect(()=>{if(c&&u){let e=e=>p(e,u),t=e=>p(e,c);return c.addEventListener(`pointerleave`,e),u.addEventListener(`pointerleave`,t),()=>{c.removeEventListener(`pointerleave`,e),u.removeEventListener(`pointerleave`,t)}}},[c,u,p,f]),O.useEffect(()=>{if(o){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||u?.contains(t),i=!Oie(n,o);r?f():i&&(f(),l())};return document.addEventListener(`pointermove`,e),()=>document.removeEventListener(`pointermove`,e)}},[c,u,o,l,f]),(0,U.jsx)(_v,{...e,ref:a})}),[Sie,Cie]=nv(cv,{isInside:!1}),wie=Oc(`TooltipContent`),_v=O.forwardRef((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...s}=e,c=lv(hv,n),l=rv(n),{onClose:u}=c;return O.useEffect(()=>(document.addEventListener(av,u),()=>document.removeEventListener(av,u)),[u]),O.useEffect(()=>{if(c.trigger){let e=e=>{e.target?.contains(c.trigger)&&u()};return window.addEventListener(`scroll`,e,{capture:!0}),()=>window.removeEventListener(`scroll`,e,{capture:!0})}},[c.trigger,u]),(0,U.jsx)(wl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:u,children:(0,U.jsxs)(Jm,{"data-state":c.stateAttribute,...l,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-tooltip-content-available-width":`var(--radix-popper-available-width)`,"--radix-tooltip-content-available-height":`var(--radix-popper-available-height)`,"--radix-tooltip-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-tooltip-trigger-height":`var(--radix-popper-anchor-height)`},children:[(0,U.jsx)(wie,{children:r}),(0,U.jsx)(Sie,{scope:n,isInside:!0,children:(0,U.jsx)(Lc,{id:c.contentId,role:`tooltip`,children:i||r})})]})})});gv.displayName=hv;var vv=`TooltipArrow`,yv=O.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=rv(n);return Cie(vv,n).isInside?null:(0,U.jsx)(Ym,{...i,...r,ref:t})});yv.displayName=vv;function Tie(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function Eie(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function Die(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Oie(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function kie(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:+(e.y>t.y)),Aie(t)}function Aie(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var jie=sv,Mie=uv,Nie=fv,Pie=mv,Fie=gv,Iie=yv;function bv(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=bv(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function xv(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=bv(e))&&(r&&(r+=` `),r+=t);return r}var Lie=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Rie=(e,t)=>({classGroupId:e,validator:t}),Sv=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Cv=`-`,wv=[],zie=`arbitrary..`,Bie=e=>{let t=Hie(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Vie(e);let n=e.split(Cv);return Tv(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Lie(i,t):t:i||wv}return n[e]||wv}}}
vendor: 5,478 bytes, line 63
63,Tv=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Tv(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Cv):e.slice(t).join(Cv),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Vie=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?zie+r:void 0})(),Hie=e=>{let{theme:t,classGroups:n}=e;return Uie(n,t)},Uie=(e,t)=>{let n=Sv();for(let r in e){let i=e[r];Ev(i,n,r,t)}return n},Ev=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Wie(i,t,n,r)}},Wie=(e,t,n,r)=>{if(typeof e==`string`){Gie(e,t,n);return}if(typeof e==`function`){Kie(e,t,n,r);return}qie(e,t,n,r)},Gie=(e,t,n)=>{let r=e===``?t:Dv(t,e);r.classGroupId=n},Kie=(e,t,n,r)=>{if(Jie(e)){Ev(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Rie(n,e))},qie=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Ev(o,Dv(t,a),n,r)}},Dv=(e,t)=>{let n=e,r=t.split(Cv),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Sv(),n.nextPart.set(t,i)),n=i}return n},Jie=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Yie=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Ov=`!`,kv=`:`,Xie=[],Av=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Zie=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===kv){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Ov)?(c=s.slice(0,-1),l=!0):s.startsWith(Ov)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Av(t,l,c,u)};if(t){let e=t+kv,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Av(Xie,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Qie=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},$ie=e=>({cache:Yie(e.cacheSize),parseClassName:Zie(e),sortModifiers:Qie(e),...Bie(e)}),eae=/\s+/,tae=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(eae),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+Ov:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},nae=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=jv(n))&&(i&&(i+=` `),i+=r);return i},jv=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=jv(e[r]))&&(n&&(n+=` `),n+=t);return n},rae=(e,...t)=>{let n,r,i,a,o=o=>(n=$ie(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=tae(e,n);return i(e,a),a};return a=o,(...e)=>a(nae(...e))},iae=[],Mv=e=>{let t=t=>t[e]||iae;return t.isThemeGetter=!0,t},Nv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,aae=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,oae=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sae=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,cae=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,lae=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,uae=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fv=e=>aae.test(e),Iv=e=>!!e&&!Number.isNaN(Number(e)),Lv=e=>!!e&&Number.isInteger(Number(e)),Rv=e=>e.endsWith(`%`)&&Iv(e.slice(0,-1)),zv=e=>oae.test(e),Bv=()=>!0,dae=e=>sae.test(e)&&!cae.test(e),Vv=()=>!1,fae=e=>lae.test(e),pae=e=>uae.test(e),mae=e=>!Hv(e)&&!qv(e),hae=e=>Zv(e,ty,Vv),Hv=e=>Nv.test(e),Uv=e=>Zv(e,ny,dae),Wv=e=>Zv(e,Cae,Iv),gae=e=>Zv(e,iy,Bv),_ae=e=>Zv(e,ry,Vv),Gv=e=>Zv(e,$v,Vv),vae=e=>Zv(e,ey,pae),Kv=e=>Zv(e,ay,fae),qv=e=>Pv.test(e),Jv=e=>Qv(e,ny),yae=e=>Qv(e,ry),Yv=e=>Qv(e,$v),bae=e=>Qv(e,ty),xae=e=>Qv(e,ey),Xv=e=>Qv(e,ay,!0),Sae=e=>Qv(e,iy,!0),Zv=(e,t,n)=>{let r=Nv.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Qv=(e,t,n=!1)=>{let r=Pv.exec(e);return r?r[1]?t(r[1]):n:!1},$v=e=>e===`position`||e===`percentage`,ey=e=>e===`image`||e===`url`,ty=e=>e===`length`||e===`size`||e===`bg-size`,ny=e=>e===`length`,Cae=e=>e===`number`,ry=e=>e===`family-name`,iy=e=>e===`number`||e===`weight`,ay=e=>e===`shadow`,wae=rae(()=>{let e=Mv(`color`),t=Mv(`font`),n=Mv(`text`),r=Mv(`font-weight`),i=Mv(`tracking`),a=Mv(`leading`),o=Mv(`breakpoint`),s=Mv(`container`),c=Mv(`spacing`),l=Mv(`radius`),u=Mv(`shadow`),d=Mv(`inset-shadow`),f=Mv(`text-shadow`),p=Mv(`drop-shadow`),m=Mv(`blur`),h=Mv(`perspective`),g=Mv(`aspect`),_=Mv(`ease`),v=Mv(`animate`),y=()=>
vendor: 4,081 bytes, line 63
63[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),qv,Hv],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[qv,Hv,c],T=()=>[Fv,`full`,`auto`,...w()],E=()=>[Lv,`none`,`subgrid`,qv,Hv],D=()=>[`auto`,{span:[`full`,Lv,qv,Hv]},Lv,qv,Hv],O=()=>[Lv,`auto`,qv,Hv],k=()=>[`auto`,`min`,`max`,`fr`,qv,Hv],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[Fv,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[Fv,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],F=()=>[Fv,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],I=()=>[e,qv,Hv],L=()=>[...b(),Yv,Gv,{position:[qv,Hv]}],R=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],z=()=>[`auto`,`cover`,`contain`,bae,hae,{size:[qv,Hv]}],B=()=>[Rv,Jv,Uv],ee=()=>[``,`none`,`full`,l,qv,Hv],V=()=>[``,Iv,Jv,Uv],te=()=>[`solid`,`dashed`,`dotted`,`double`],ne=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],re=()=>[Iv,Rv,Yv,Gv],ie=()=>[``,`none`,m,qv,Hv],ae=()=>[`none`,Iv,qv,Hv],oe=()=>[`none`,Iv,qv,Hv],H=()=>[Iv,qv,Hv],se=()=>[Fv,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[zv],breakpoint:[zv],color:[Bv],container:[zv],"drop-shadow":[zv],ease:[`in`,`out`,`in-out`],font:[mae],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[zv],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[zv],shadow:[zv],spacing:[`px`,Iv],text:[zv],"text-shadow":[zv],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Fv,Hv,qv,g]}],container:[`container`],columns:[{columns:[Iv,Hv,qv,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Lv,`auto`,qv,Hv]}],basis:[{basis:[Fv,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[Iv,Fv,`auto`,`initial`,`none`,Hv]}],grow:[{grow:[``,Iv,qv,Hv]}],shrink:[{shrink:[``,Iv,qv,Hv]}],order:[{order:[Lv,`first`,`last`,`none`,qv,Hv]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}
vendor: 4,200 bytes, line 63
63],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...P()]}],"min-inline-size":[{"min-inline":[`auto`,...P()]}],"max-inline-size":[{"max-inline":[`none`,...P()]}],"block-size":[{block:[`auto`,...F()]}],"min-block-size":[{"min-block":[`auto`,...F()]}],"max-block-size":[{"max-block":[`none`,...F()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,Jv,Uv]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Sae,gae]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Rv,Hv]}],"font-family":[{font:[yae,_ae,t]}],"font-features":[{"font-features":[Hv]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,qv,Hv]}],"line-clamp":[{"line-clamp":[Iv,`none`,qv,Wv]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,qv,Hv]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,qv,Hv]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...te(),`wavy`]}],"text-decoration-thickness":[{decoration:[Iv,`from-font`,`auto`,qv,Uv]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[Iv,`auto`,qv,Hv]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,qv,Hv]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,qv,Hv]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:R()}],"bg-size":[{bg:z()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Lv,qv,Hv],radial:[``,qv,Hv],conic:[Lv,qv,Hv]},xae,vae]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:B()}
63],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:ee()}],"rounded-s":[{"rounded-s":ee()}],"rounded-e":[{"rounded-e":ee()}],"rounded-t":[{"rounded-t":ee()}],"rounded-r":[{"rounded-r":ee()}],"rounded-b":[{"rounded-b":ee()}],"rounded-l":[{"rounded-l":ee()}],"rounded-ss":[{"rounded-ss":ee()}],"rounded-se":[{"rounded-se":ee()}],"rounded-ee":[{"rounded-ee":ee()}],"rounded-es":[{"rounded-es":ee()}],"rounded-tl":[{"rounded-tl":ee()}],"rounded-tr":[{"rounded-tr":ee()}],"rounded-br":[{"rounded-br":ee()}],"rounded-bl":[{"rounded-bl":ee()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-bs":[{"border-bs":V()}],"border-w-be":[{"border-be":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":V()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...te(),`hidden`,`none`]}],"divide-style":[{divide:[...te(),`hidden`,`none`]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}
vendor: 7,350 bytes, line 63
63],"divide-color":[{divide:I()}],"outline-style":[{outline:[...te(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[Iv,qv,Hv]}],"outline-w":[{outline:[``,Iv,Jv,Uv]}],"outline-color":[{outline:I()}],shadow:[{shadow:[``,`none`,u,Xv,Kv]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":[`none`,d,Xv,Kv]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:V()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[Iv,Uv]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":[`none`,f,Xv,Kv]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[Iv,qv,Hv]}],"mix-blend":[{"mix-blend":[...ne(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ne()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[Iv]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[qv,Hv]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[Iv]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:R()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,qv,Hv]}],filter:[{filter:[``,`none`,qv,Hv]}],blur:[{blur:ie()}],brightness:[{brightness:[Iv,qv,Hv]}],contrast:[{contrast:[Iv,qv,Hv]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Xv,Kv]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:[``,Iv,qv,Hv]}],"hue-rotate":[{"hue-rotate":[Iv,qv,Hv]}],invert:[{invert:[``,Iv,qv,Hv]}],saturate:[{saturate:[Iv,qv,Hv]}],sepia:[{sepia:[``,Iv,qv,Hv]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,qv,Hv]}],"backdrop-blur":[{"backdrop-blur":ie()}],"backdrop-brightness":[{"backdrop-brightness":[Iv,qv,Hv]}],"backdrop-contrast":[{"backdrop-contrast":[Iv,qv,Hv]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,Iv,qv,Hv]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Iv,qv,Hv]}],"backdrop-invert":[{"backdrop-invert":[``,Iv,qv,Hv]}],"backdrop-opacity":[{"backdrop-opacity":[Iv,qv,Hv]}],"backdrop-saturate":[{"backdrop-saturate":[Iv,qv,Hv]}],"backdrop-sepia":[{"backdrop-sepia":[``,Iv,qv,Hv]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,qv,Hv]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[Iv,`initial`,qv,Hv]}],ease:[{ease:[`linear`,`initial`,_,qv,Hv]}],delay:[{delay:[Iv,qv,Hv]}],animate:[{animate:[`none`,v,qv,Hv]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,qv,Hv]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":[`scale-3d`],skew:[{skew:H()}],"skew-x":[{"skew-x":H()}],"skew-y":[{"skew-y":H()}],transform:[{transform:[qv,Hv,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":[`translate-none`],accent:[{accent:I()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:I()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,qv,Hv]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}
63],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,qv,Hv]}],fill:[{fill:[`none`,...I()]}],"stroke-w":[{stroke:[Iv,Jv,Uv,Wv]}],stroke:[{stroke:[`none`,...I()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function W(...e){return wae(xv(e))}function oy(e,t){return e.length>t?`${e.slice(0,t)}â¦`:e}var Tae=864e5;function Eae(e){return Math.max(0,Math.floor((Date.now()-e)/Tae))}function sy({delayDuration:e=0,...t}){return(0,U.jsx)(jie,{"data-slot":`tooltip-provider`,delayDuration:e,...t})}function cy({...e}){return(0,U.jsx)(Mie,{"data-slot":`tooltip`,...e})}function ly({...e}){return(0,U.jsx)(Nie,{"data-slot":`tooltip-trigger`,...e})}function uy({className:e,sideOffset:t=0,children:n,...r}){return(0,U.jsx)(Pie,{children:(0,U.jsxs)(Fie,{"data-slot":`tooltip-content`,sideOffset:t,className:W(`bg-foreground text-background data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-1.5 rounded-md px-3 py-1.5 text-xs has-data-[slot=kbd]:pr-1.5 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm`,e),...r,children:[n,(0,U.jsx)(Iie,{className:`bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]`})]})})}function dy({content:e,side:t=`top`,sideOffset:n=0,align:r,children:i}){return e==null||e===``||e===!1?(0,U.jsx)(U.Fragment,{children:i}):(0,U.jsx)(sy,{delayDuration:150,children:(0,U.jsxs)(cy,{children:[(0,U.jsx)(ly,{asChild:!0,children:i}),(0,U.jsx)(uy,{side:t,sideOffset:n,align:r,children:e})]})})}function Dae(e){if(!e||typeof document>`u`)return;let t=document.head||document.getElementsByTagName(`head`)[0],n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}var Oae=e=>{switch(e){case`success`:return jae;case`info`:return Nae;case`warning`:return Mae;case`error`:return Pae;default:return null}},kae=Array(12).fill(0),Aae=({visible:e,className:t})=>O.createElement(`div`,{className:[`sonner-loading-wrapper`,t].filter(
63Boolean).join(` `),"data-visible":e},O.createElement(`div`,{className:`sonner-spinner`},kae.map((e,t)=>O.createElement(`div`,{className:`sonner-loading-bar`,key:`spinner-bar-${t}`})))),jae=O.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},O.createElement(`path`,{fillRule:`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,clipRule:`evenodd`})),Mae=O.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`},O.createElement(`path`,{fillRule:`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,clipRule:`evenodd`})),Nae=O.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},O.createElement(`path`,{fillRule:`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,clipRule:`evenodd`})),Pae=O.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},O.createElement(`path`,{fillRule:`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,clipRule:`evenodd`})),Fae=O.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`},O.createElement(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),O.createElement(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})),Iae=()=>{let[e,t]=O.useState(document.hidden);return O.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener(`visibilitychange`,e),()=>window.removeEventListener(`visibilitychange`,e)},[]),e},fy=1,py=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{let{message:t,...n}=e,r=typeof e?.id==`number`||e.id?.length>0?e.id:fy++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0||e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:`error`}),this.success=(e,t)=>this.create({...t,type:`success`,message:e}),this.info=(e,t)=>this.create({...t,type:`info`,message:e}),this.warning=(e,t)=>this.create({...t,type:`warning`,message:e}),this.loading=(e,t)=>
63this.create({...t,type:`loading`,message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],O.isValidElement(e))i=!1,this.create({id:n,type:`default`,message:e});else if(Rae(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,o=typeof r==`object`&&!O.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:a,...o})}else if(e instanceof Error){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!O.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:a,...o})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!O.isValidElement(r)?r:{message:r};this.create({id:n,type:`success`,description:a,...o})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!O.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:a,...o})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally==null||t.finally.call(t)}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})},this.custom=(e,t)=>{let n=t?.id||fy++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Lae=(e,t)=>{let n=t?.id||fy++;return py.addToast({title:e,...t,id:n}),n},Rae=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,G=Object.assign(Lae,{success:py.success,info:py.info,warning:py.warning,error:py.error,custom:py.custom,message:py.message,promise:py.promise,dismiss:py.dismiss,loading:py.loading},{getHistory:()=>py.toasts,getToasts:()=>py.getActiveToasts()});Dae(`
vendor: 14,859 bytes, line 63
63[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
63`);function my(e){return e.label!==void 0}var zae=3,Bae=`24px`,Vae=`16px`,hy=4e3,Hae=356,Uae=14,Wae=45,Gae=200;function gy(...e){return e.filter(Boolean).join(` `)}function Kae(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}var qae=e=>{let{invert:t,toast:n,unstyled:r,interacting:i,setHeights:a,visibleToasts:o,heights:s,index:c,toasts:l,expanded:u,removeToast:d,defaultRichColors:f,closeButton:p,style:m,cancelButtonStyle:h,actionButtonStyle:g,className:_=``,descriptionClassName:v=``,duration:y,position:b,gap:x,expandByDefault:S,classNames:C,icons:w,closeButtonAriaLabel:T=`Close toast`}=e,[E,D]=O.useState(null),[k,A]=O.useState(null),[j,M]=O.useState(!1),[N,P]=O.useState(!1),[F,I]=O.useState(!1),[L,R]=O.useState(!1),[z,B]=O.useState(!1),[ee,V]=O.useState(0),[te,ne]=O.useState(0),re=O.useRef(n.duration||y||hy),ie=O.useRef(null),ae=O.useRef(null),oe=c===0,H=c+1<=o,se=n.type,ce=n.dismissible!==!1,le=n.className||``,ue=n.descriptionClassName||``,de=O.useMemo(()=>s.findIndex(e=>e.toastId===n.id)||0,[s,n.id]),fe=O.useMemo(()=>n.closeButton??p,[n.closeButton,p]),pe=O.useMemo(()=>n.duration||y||hy,[n.duration,y]),me=O.useRef(0),he=O.useRef(0),ge=O.useRef(0),_e=O.useRef(null),[ve,ye]=b.split(`-`),be=O.useMemo(()=>
63s.reduce((e,t,n)=>n>=de?e:e+t.height,0),[s,de]),xe=Iae(),Se=n.invert||t,Ce=se===`loading`;he.current=O.useMemo(()=>de*x+be,[de,be]),O.useEffect(()=>{re.current=pe},[pe]),O.useEffect(()=>{M(!0)},[]),O.useEffect(()=>{let e=ae.current;if(e){let t=e.getBoundingClientRect().height;return ne(t),a(e=>[{toastId:n.id,height:t,position:n.position},...e]),()=>a(e=>e.filter(e=>e.toastId!==n.id))}},[a,n.id]),O.useLayoutEffect(()=>{if(!j)return;let e=ae.current,t=e.style.height;e.style.height=`auto`;let r=e.getBoundingClientRect().height;e.style.height=t,ne(r),a(e=>e.find(e=>e.toastId===n.id)?e.map(e=>e.toastId===n.id?{...e,height:r}:e):[{toastId:n.id,height:r,position:n.position},...e])},[j,n.title,n.description,a,n.id,n.jsx,n.action,n.cancel]);let we=O.useCallback(()=>{P(!0),V(he.current),a(e=>e.filter(e=>e.toastId!==n.id)),setTimeout(()=>{d(n)},Gae)},[n,d,a,he]);O.useEffect(()=>{if(n.promise&&se===`loading`||n.duration===1/0||n.type===`loading`)return;let e;return u||i||xe?(()=>{if(ge.current<me.current){let e=new Date().getTime()-me.current;re.current-=e}ge.current=new Date().getTime()})():re.current!==1/0&&(me.current=new Date().getTime(),e=setTimeout(()=>{n.onAutoClose==null||n.onAutoClose.call(n,n),we()},re.current)),()=>clearTimeout(e)},[u,i,n,se,xe,we]),O.useEffect(()=>{n.delete&&(we(),n.onDismiss==null||n.onDismiss.call(n,n))},[we,n.delete]);function Te(){return w?.loading?O.createElement(`div`,{className:gy(C?.loader,n?.classNames?.loader,`sonner-loader`),"data-visible":se===`loading`},w.loading):O.createElement(Aae,{className:gy(C?.loader,n?.classNames?.loader),visible:se===`loading`})}let Ee=n.icon||w?.[se]||Oae(se);return O.createElement(`li`,{tabIndex:0,ref:ae,className:gy(_,le,C?.toast,n?.classNames?.toast,C?.default,C?.[se],n?.classNames?.[se]),"data-sonner-toast":``,"data-rich-colors":n.richColors??f,"data-styled":!(n.jsx||n.unstyled||r),"data-mounted":j,"data-promise":!!n.promise,"data-swiped":z,"data-removed":N,"data-visible":H,"data-y-position":ve,"data-x-position":ye,"data-index":c,"data-front":oe,"data-swiping":F,"data-dismissible":ce,"data-type":se,"data-invert":Se,"data-swipe-out":L,"data-swipe-direction":k,"data-expanded":!!(u||S&&j),"data-testid":n.testId,style:{"--index":c,"--toasts-before":c,"--z-index":l.length-c,"--offset":`${N?ee:he.current}px`,"--initial-height":S?`auto`:`${te}px`,...m,...n.style},onDragEnd:()=>{I(!1),D(null),_e.current=null},onPointerDown:e=>{e.button!==2&&(Ce||!ce||(ie.current=new Date,V(he.current),e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(I(!0),_e.current={x:e.clientX,y:e.clientY})))},onPointerUp:()=>{if(L||!ce)return;_e.current=null;let e=Number(ae.current?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(ae.current?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),r=new Date().getTime()-ie.current?.getTime(),i=E===`x`?e:t,a=Math.abs(i)/r;if(Math.abs(i)>=Wae||a>.11){V(he.current),n.onDismiss==null||n.onDismiss.call(n,n),A(E===`x`?e>0?`right`:`left`:t>0?`down`:`up`),we(),R(!0);return}var o,s;(o=ae.current)==null||o.style.setProperty(`--swipe-amount-x`,`0px`),(s=ae.current)==null||s.style.setProperty(`--swipe-amount-y`,`0px`),B(!1),I(!1),D(null)},onPointerMove:t=>{var n,r;if(!_e.current||!ce||window.getSelection()?.toString().length>0)return;let i=t.clientY-_e.current.y,a=t.clientX-_e.current.x,o=e.swipeDirections??Kae(b);!E&&(Math.abs(a)>1||Math.abs(i)>1)&&D(Math.abs(a)>Math.abs(i)?`x`:`y`);let s={x:0,y:0},c=e=>1/(1.5+Math.abs(e)/20);if(E===`y`){if(o.includes(`top`)||o.includes(`bottom`))if(o.includes(`top`)&&i<0||o.includes(`bottom`)&&i>0)s.y=i;else{let e=i*c(i);s.y=Math.abs(e)<Math.abs(i)?e:i}}else if(E===`x`&&(o.includes(`left`)||o.includes(`right`)))if(o.includes(`left`)&&a<0||o.includes(`right`)&&a>0)s.x=a;else{let e=a*c(a);s.x=Math.abs(e)<Math.abs(a)?e:a}(Math.abs(s.x)>0||Math.abs(s.y)>0)&&B(!0),(n=ae.current)==null||n.style.setProperty(`--swipe-amount-x`,`${s.x}px`),(r=ae.current)==null||r.style.setProperty(`--swipe-amount-y`,`${s.y}px`)}},fe&&!n.jsx&&se!==`loading`?O.createElement(`button`,{"aria-label":T,"data-disabled":Ce,"data-close-button":!0,onClick:Ce||!ce?()=>{}:()=>{we(),n.onDismiss==null||n.onDismiss.call(n,n)},className:gy(C?.closeButton,n?.classNames?.closeButton)},w?.close??Fae):null,(se||n.icon||n.promise)&&n.icon!==null&&(w?.[se]!==null||n.icon)?O.createElement(`div`,{"data-icon":``,className:gy(C?.icon,n?.classNames?.icon)},n.promise||n.type===`loading`&&!n.icon?n.icon||Te():null,n.type===`loading`?null:Ee):null,O.createElement(`div`,{"data-content":``,className:gy(C?.content,n?.classNames?.content)},O.createElement(`div`,{"data-title":``,className:gy(C?.title,n?.classNames?.title)},n.jsx?n.jsx:typeof n.title==`function`?n.title():n.title),n.description?O.createElement(`div`,{"data-description":``,className:gy(v,ue,C?.description,n?.classNames?.description)},typeof n.description==`function`?n.description():n.description):null),O.isValidElement(n.cancel)?n.c
63ancel:n.cancel&&my(n.cancel)?O.createElement(`button`,{"data-button":!0,"data-cancel":!0,style:n.cancelButtonStyle||h,onClick:e=>{my(n.cancel)&&ce&&(n.cancel.onClick==null||n.cancel.onClick.call(n.cancel,e),we())},className:gy(C?.cancelButton,n?.classNames?.cancelButton)},n.cancel.label):null,O.isValidElement(n.action)?n.action:n.action&&my(n.action)?O.createElement(`button`,{"data-button":!0,"data-action":!0,style:n.actionButtonStyle||g,onClick:e=>{my(n.action)&&(n.action.onClick==null||n.action.onClick.call(n.action,e),!e.defaultPrevented&&we())},className:gy(C?.actionButton,n?.classNames?.actionButton)},n.action.label):null)};function _y(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}function Jae(e,t){let n={};return[e,t].forEach((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?Vae:Bae;function o(e){[`top`,`right`,`bottom`,`left`].forEach(t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e})}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach(t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]}):o(a)}),n}var Yae=O.forwardRef(function(e,t){let{id:n,invert:r,position:i=`bottom-right`,hotkey:a=[`altKey`,`KeyT`],expand:o,closeButton:s,className:c,offset:l,mobileOffset:u,theme:d=`light`,richColors:f,duration:p,style:m,visibleToasts:h=zae,toastOptions:g,dir:_=_y(),gap:v=Uae,icons:y,containerAriaLabel:b=`Notifications`}=e,[x,S]=O.useState([]),C=O.useMemo(()=>n?x.filter(e=>e.toasterId===n):x.filter(e=>!e.toasterId),[x,n]),w=O.useMemo(()=>Array.from(new Set([i].concat(C.filter(e=>e.position).map(e=>e.position)))),[C,i]),[T,E]=O.useState([]),[D,A]=O.useState(!1),[j,M]=O.useState(!1),[N,P]=O.useState(d===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:d),F=O.useRef(null),I=a.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),L=O.useRef(null),R=O.useRef(!1),z=O.useCallback(e=>{S(t=>(t.find(t=>t.id===e.id)?.delete||py.dismiss(e.id),t.filter(({id:t})=>t!==e.id)))},[]);return O.useEffect(()=>py.subscribe(e=>{if(e.dismiss){requestAnimationFrame(()=>{S(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))});return}setTimeout(()=>{k.flushSync(()=>{S(t=>{let n=t.findIndex(t=>t.id===e.id);return n===-1?[e,...t]:[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]})})})}),[x]),O.useEffect(()=>{if(d!==`system`){P(d);return}if(d===`system`&&(window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?P(`dark`):P(`light`)),typeof window>`u`)return;let e=window.matchMedia(`(prefers-color-scheme: dark)`);try{e.addEventListener(`change`,({matches:e})=>{P(e?`dark`:`light`)})}catch{e.addListener(({matches:e})=>{try{P(e?`dark`:`light`)}catch(e){console.error(e)}})}},[d]),O.useEffect(()=>{x.length<=1&&A(!1)},[x]),O.useEffect(()=>{let e=e=>{if(a.every(t=>e[t]||e.code===t)){var t;A(!0),(t=F.current)==null||t.focus()}e.code===`Escape`&&(document.activeElement===F.current||F.current?.contains(document.activeElement))&&A(!1)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[a]),O.useEffect(()=>{if(F.current)return()=>{L.current&&(L.current.focus({preventScroll:!0}),L.current=null,R.current=!1)}},[F.current]),O.createElement(`section`,{ref:t,"aria-label":`${b} ${I}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`,suppressHydrationWarning:!0},w.map((t,n)=>{let[i,a]=t.split(`-`);return C.length?O.createElement(`ol`,{key:t,dir:_===`auto`?_y():_,tabIndex:-1,ref:F,className:c,"data-sonner-toaster":!0,"data-sonner-theme":N,"data-y-position":i,"data-x-position":a,style:{"--front-toast-height":`${T[0]?.height||0}px`,"--width":`${Hae}px`,"--gap":`${v}px`,...m,...Jae(l,u)},onBlur:e=>{R.current&&!e.currentTarget.contains(e.relatedTarget)&&(R.current=!1,L.current&&=(L.current.focus({preventScroll:!0}),null))},onFocus:e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`fal
63se`||R.current||(R.current=!0,L.current=e.relatedTarget)},onMouseEnter:()=>A(!0),onMouseMove:()=>A(!0),onMouseLeave:()=>{j||A(!1)},onDragEnd:()=>A(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||M(!0)},onPointerUp:()=>M(!1)},C.filter(e=>!e.position&&n===0||e.position===t).map((n,i)=>O.createElement(qae,{key:n.id,icons:y,index:i,toast:n,defaultRichColors:f,duration:g?.duration??p,className:g?.className,descriptionClassName:g?.descriptionClassName,invert:r,visibleToasts:h,closeButton:g?.closeButton??s,interacting:j,position:t,style:g?.style,unstyled:g?.unstyled,classNames:g?.classNames,cancelButtonStyle:g?.cancelButtonStyle,actionButtonStyle:g?.actionButtonStyle,closeButtonAriaLabel:g?.closeButtonAriaLabel,removeToast:z,toasts:C.filter(e=>e.position==n.position),heights:T.filter(e=>e.position==n.position),setHeights:E,expandByDefault:o,gap:v,expanded:D,swipeDirections:e.swipeDirections}))):null}))}),vy=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Xae=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Zae=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),yy=e=>{let t=Zae(e);return t.charAt(0).toUpperCase()+t.slice(1)},by={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Qae=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},$ae=(0,O.createContext)({}),eoe=()=>(0,O.useContext)($ae),toe=(0,O.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=eoe()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,O.createElement)(`svg`,{ref:c,...by,width:t??l??by.width,height:t??l??by.height,stroke:e??f,strokeWidth:m,className:vy(`lucide`,p,i),...!a&&!Qae(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,O.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),K=(e,t)=>{let n=(0,O.forwardRef)(({className:n,...r},i)=>(0,O.createElement)(toe,{ref:i,iconNode:t,className:vy(`lucide-${Xae(yy(e))}`,`lucide-${e}`,n),...r}));return n.displayName=yy(e),n},noe=K(`arrow-down-up`,[[`path`,{d:`m3 16 4 4 4-4`,key:`1co6wj`}],[`path`,{d:`M7 20V4`,key:`1yoxec`}],[`path`,{d:`m21 8-4-4-4 4`,key:`1c9v7m`}],[`path`,{d:`M17 4v16`,key:`7dpous`}]]),xy=K(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]);K(`arrow-left-right`,[[`path`,{d:`M8 3 4 7l4 4`,key:`9rb6wj`}],[`path`,{d:`M4 7h16`,key:`6tx8e3`}],[`path`,{d:`m16 21 4-4-4-4`,key:`siv7j2`}],[`path`,{d:`M20 17H4`,key:`h6l3hr`}]]);var Sy=K(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),Cy=K(`arrow-right-left`,[[`path`,{d:`m16 3 4 4-4 4`,key:`1x1c3m`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`m8 21-4-4 4-4`,key:`h9nckh`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]),roe=K(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),wy=K(`arrow-up`,[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]),Ty=K(`ban`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M4.929 4.929 19.07 19.071`,key:`196cmz`}]]),ioe=K(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Ey=K(`book`,[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`,key:`k3hazp`}]]),aoe=K(`boxes`,[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`,key:`lc1i9w`}],[`path`,{d:`m7 16.5-4.74-2.85`,key:`1o9zyk`}],[`path`,{d:`m7 16.5 5-3`,key:`va8pkn`}],[`path`,{d:`M7 16.5v5.17`,key:`jnp8gn`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`,key:`8zsnat`}],[`path`,{d:`m17 16.5-5-3`,key:`8arw3v`}],[`path`,{d:`m17 16.5 4.74-2.85`,key:`8rfmw`}],[`path`,{d:`M17 16.5v5.17`,key:`k6z78m`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`,key:`1xygjf`}],[`path`,{d:`M12 8 7.26 5.15`,key:`1vbdud`}],[`path`,{d:`m12 8 4.74-2.85`,key:`3rx089`}],[`path`,{d:`M12 13.5V8`,key:`1io7kd`}]]),Dy=K(`braces`,[[`path`,{d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1`,key:`ezmyqa`}],[`path`,{d:`M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`,key:`e1hn23`}]]),Oy=K(`briefcase`,[[`path`,{d:`M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16`,key:`jecpp`}
63],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`,key:`i6l2r4`}]]),ky=K(`building-2`,[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]]),Ay=K(`calendar-clock`,[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5`,key:`1osxxc`}],[`path`,{d:`M3 10h5`,key:`r794hk`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}]]),jy=K(`calendar`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}]]),ooe=K(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}
63]]),My=K(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),Ny=K(`chart-line`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`m19 9-5 5-4-4-3 3`,key:`2osh9i`}]]),Py=K(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Fy=K(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Iy=K(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Ly=K(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Ry=K(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),zy=K(`chevrons-up-down`,[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]),By=K(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Vy=K(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Hy=K(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Uy=K(`circle-dashed`,[[`path`,{d:`M10.1 2.182a10 10 0 0 1 3.8 0`,key:`5ilxe3`}],[`path`,{d:`M13.9 21.818a10 10 0 0 1-3.8 0`,key:`11zvb9`}],[`path`,{d:`M17.609 3.721a10 10 0 0 1 2.69 2.7`,key:`1iw5b2`}],[`path`,{d:`M2.182 13.9a10 10 0 0 1 0-3.8`,key:`c0bmvh`}],[`path`,{d:`M20.279 17.609a10 10 0 0 1-2.7 2.69`,key:`1ruxm7`}],[`path`,{d:`M21.818 10.1a10 10 0 0 1 0 3.8`,key:`qkgqxc`}],[`path`,{d:`M3.721 6.391a10 10 0 0 1 2.7-2.69`,key:`1mcia2`}],[`path`,{d:`M6.391 20.279a10 10 0 0 1-2.69-2.7`,key:`1fvljs`}]]),Wy=K(`circle-dot`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]),Gy=K(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Ky=K(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),soe=K(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),coe=K(`clipboard-check`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`m9 14 2 2 4-4`,key:`df797q`}]]),loe=K(`clipboard-copy`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2`,key:`4jdomd`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v4`,key:`3hqy98`}],[`path`,{d:`M21 14H11`,key:`1bme5i`}],[`path`,{d:`m15 10-4 4 4 4`,key:`5dvupr`}]]),qy=K(`clipboard-list`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M12 11h4`,key:`1jrz19`}],[`path`,{d:`M12 16h4`,key:`n85exb`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),Jy=K(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),uoe=K(`cloud-upload`,[[`path`,{d:`M12 13v8`,key:`1l5pq0`}],[`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`,key:`1pljnt`}],[`path`,{d:`m8 17 4-4 4 4`,key:`1quai1`}]]),doe=K(`code-xml`,[[`path`,{d:`m18 16 4-4-4-4`,key:`1inbqp`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}],[`path`,{d:`m14.5 4-5 16`,key:`e7oirm`}]]),foe=K(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),poe=K(`copy-plus`,[[`line`,{x1:`15`,x2:`15`,y1:`12`,y2:`18`,key:`1p7wdc`}],[`line`,{x1:`12`,x2:`18`,y1:`15`,y2:`15`,key:`1nscbv`}],[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),Yy=K(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}
63]]),Xy=K(`credit-card`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`,key:`ynyp8z`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`,key:`1b3vmo`}]]),Zy=K(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),Qy=K(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),$y=K(`ellipsis-vertical`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}]]),moe=K(`expand`,[[`path`,{d:`m15 15 6 6`,key:`1s409w`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}],[`path`,{d:`M21 16v5h-5`,key:`1ck2sf`}],[`path`,{d:`M21 8V3h-5`,key:`1qoq8a`}],[`path`,{d:`M3 16v5h5`,key:`1t08am`}],[`path`,{d:`m3 21 6-6`,key:`wwnumi`}],[`path`,{d:`M3 8V3h5`,key:`1ln10m`}],[`path`,{d:`M9 9 3 3`,key:`v551iv`}]]),eb=K(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),tb=K(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),nb=K(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),hoe=K(`fast-forward`,[[`path`,{d:`M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z`,key:`b19h5q`}],[`path`,{d:`M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z`,key:`h7h5ge`}]]),rb=K(`file-braces`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1`,key:`1oajmo`}],[`path`,{d:`M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1`,key:`mpwhp6`}]]),ib=K(`file-code-corner`,[[`path`,{d:`M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35`,key:`1wthlu`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m5 16-3 3 3 3`,key:`331omg`}],[`path`,{d:`m9 22 3-3-3-3`,key:`lsp7cz`}]]),goe=K(`file-code`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),ab=K(`file-spreadsheet`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 13h2`,key:`yr2amv`}],[`path`,{d:`M14 13h2`,key:`un5t4a`}],[`path`,{d:`M8 17h2`,key:`2yhykz`}],[`path`,{d:`M14 17h2`,key:`10kma7`}]]),ob=K(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),_oe=K(`file-up`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`m15 15-3-3-3 3`,key:`15xj92`}]]),voe=K(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),sb=K(`folder-plus`,[[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`M9 13h6`,key:`1uhe8q`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),cb=K(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),lb=K(`folder`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),yoe=K(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),ub=K(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),boe=K(`grip-vertical`,[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]),xoe=K(`hand`,[[`path`,{d:`M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2`,key:`1fvzgz`}],[`path`,{d:`M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2`,key:`1kc0my`}],[`path`,{d:`M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8`,key:`10h0bg`}],[`path`,{d:`M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15`,key:`1s1gnw`}]]);K(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]);var Soe=K(`image-off`,[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]),Coe=K(`image-up`,[[`path`,{d:`M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21`,key:`9csbqa`}],[`path`,{d:`m14 19.5 3-3 3 3`,key:`9vmjn0`}],[`path`,{d:`M17 22v-5.5`,key:`1aa6fl`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),woe=K(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}
63]]),db=K(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),fb=K(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]),Toe=K(`key`,[[`path`,{d:`m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4`,key:`g0fldk`}],[`path`,{d:`m21 2-9.6 9.6`,key:`1j0ho8`}],[`circle`,{cx:`7.5`,cy:`15.5`,r:`5.5`,key:`yqb3hr`}]]),pb=K(`keyboard`,[[`path`,{d:`M10 8h.01`,key:`1r9ogq`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M7 16h10`,key:`wp8him`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}]]),mb=K(`laptop`,[[`path`,{d:`M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z`,key:`1pdavp`}],[`path`,{d:`M20.054 15.987H3.946`,key:`14rxg9`}]]),Eoe=K(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),Doe=K(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),hb=K(`link-2`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),Ooe=K(`list-filter`,[[`path`,{d:`M2 5h20`,key:`1fs1ex`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M9 19h6`,key:`456am0`}]]),gb=K(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),_b=K(`loader`,[[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m16.2 7.8 2.9-2.9`,key:`r700ao`}],[`path`,{d:`M18 12h4`,key:`wj9ykh`}],[`path`,{d:`m16.2 16.2 2.9 2.9`,key:`1bxg5t`}],[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`m4.9 19.1 2.9-2.9`,key:`bwix9q`}],[`path`,{d:`M2 12h4`,key:`j09sii`}],[`path`,{d:`m4.9 4.9 2.9 2.9`,key:`giyufr`}]]),koe=K(`lock-open`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`,key:`1mm8w8`}]]),vb=K(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),yb=K(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),bb=K(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),xb=K(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Sb=K(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Cb=K(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),wb=K(`monitor`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),Tb=K(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),Eb=K(`mouse-pointer-2`,[[`path`,{d:`M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z`,key:`edeuup`}]]),Db=K(`move-vertical`,[[`path`,{d:`M12 2v20`,key:`t6zp3m`}],[`path`,{d:`m8 18 4 4 4-4`,key:`bh5tu3`}],[`path`,{d:`m8 6 4-4 4 4`,key:`ybng9g`}]]),Ob=K(`move`,[[`path`,{d:`M12 2v20`,key:`t6zp3m`}],[`path`,{d:`m15 19-3 3-3-3`,key:`11eu04`}],[`path`,{d:`m19 9 3 3-3 3`,key:`1mg7y2`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}],[`path`,{d:`m5 9-3 3 3 3`,key:`j64kie`}],[`path`,{d:`m9 5 3-3 3 3`,key:`l8vdw6`}
63]]),kb=K(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),Aoe=K(`notebook`,[[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M16 2v20`,key:`rotuqe`}]]),joe=K(`octagon-x`,[[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z`,key:`2d38gg`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),Moe=K(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),Ab=K(`pen-line`,[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),jb=K(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]),Noe=K(`pin`,[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]),Mb=K(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Nb=K(`plug`,[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]),Pb=K(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Poe=K(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),Fb=K(`puzzle`,[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]),Ib=K(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),Foe=K(`repeat`,[[`path`,{d:`m17 2 4 4-4 4`,key:`nntrym`}],[`path`,{d:`M3 11v-1a4 4 0 0 1 4-4h14`,key:`84bu3i`}],[`path`,{d:`m7 22-4-4 4-4`,key:`1wqhfi`}],[`path`,{d:`M21 13v1a4 4 0 0 1-4 4H3`,key:`1rx37r`}]]),Ioe=K(`replace`,[[`path`,{d:`M14 4a1 1 0 0 1 1-1`,key:`dhj8ez`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`,key:`1mnyi5`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`,key:`sfs9ap`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`,key:`mp6qeo`}],[`path`,{d:`m3 7 3 3 3-3`,key:`x25e72`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`,key:`15xut4`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}]]),Lb=K(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),Loe=K(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),Rb=K(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),zb=K(`scan-eye`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`path`,{d:`M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0`,key:`11ak4c`}]]),Bb=K(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Vb=K(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}
63]]),Hb=K(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]),Roe=K(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),Ub=K(`share-2`,[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]),zoe=K(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Wb=K(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),Gb=K(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),Kb=K(`smartphone`,[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]),qb=K(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),Boe=K(`square-check`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Jb=K(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),Yb=K(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),Xb=K(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),Zb=K(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),Qb=K(`tags`,[[`path`,{d:`M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z`,key:`16rjxf`}],[`path`,{d:`M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193`,key:`178nd4`}],[`circle`,{cx:`10.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`12ikhr`}]]),Voe=K(`target`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),Hoe=K(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),$b=K(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),ex=K(`trending-down`,[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]),tx=K(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),nx=K(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Uoe=K(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),Woe=K(`user-cog`,[[`path`,{d:`M10 15H6a4 4 0 0 0-4 4v2`,key:`1nfge6`}],[`path`,{d:`m14.305 16.53.923-.382`,key:`1itpsq`}],[`path`,{d:`m15.228 13.852-.923-.383`,key:`eplpkm`}],[`path`,{d:`m16.852 12.228-.383-.923`,key:`13v3q0`}],[`path`,{d:`m16.852 17.772-.383.924`,key:`1i8mnm`}],[`path`,{d:`m19.148 12.228.383-.923`,key:`1q8j1v`}],[`path`,{d:`m19.53 18.696-.382-.924`,key:`vk1qj3`}],[`path`,{d:`m20.772 13.852.924-.383`,key:`n880s0`}],[`path`,{d:`m20.772 16.148.924.383`,key:`1g6xey`}],[`circle`,{cx:`18`,cy:`15`,r:`3`,key:`gjjjvw`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),rx=K(`user-plus`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`,key:`1bvyxn`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`,key:`1shjgl`}]]),ix=K(`user`,[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]),ax=K(`users`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),Goe=K(`wallet`,[[`path`,{d:`M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`,key:`18etb6`}],[`path`,{d:`M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4`,key:`xoc0q4`}]]),Koe=K(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),ox=K(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),sx=K(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]),qoe=({...e})=>{let{theme:t=`system`}=fc();return(0,U.jsx)(Yae,{theme:t,className:`toaster group`,position:`top-center`,offset:20,richColors:!0,closeButton:!0,duration:3e3,icons:{success:(0,U.jsx)(Hy,{className:`size-4`}),info:(0,U.jsx)(db,{className:`size-4`}),warning:(0,U.jsx)(nx,{className:`size-4`}),error:(0,U.jsx)(joe,{className:`size-4`}),loading:(0,U.jsx)(gb,{className:`size-4 animate-spin`})},style:{"--normal-bg":`var(--popover)`,"--normal-text":`var(--popover-foreground)`,"--normal-border":`var(--border)`,"--border-radius":`var(--radius)`},toastOptions:{classNames:{toast:`cn-toast`}},...e})};function cx(e,t,n){function r(e){return e&&e.indexOf(`###`)>-1?e.replace(/###/g,`.`):e}function i(){return!e||typeof e==`string`}for(var a=typeof t==`string`?t.split(`.`):[].concat(t);a.length>1;){if(i())return{};var o=r(a.shift());!e[o]&&n&&(e[o]=new n),e=e[o]}return i()?{}:{obj:e,k:r(a.shift())}}function Joe(e,t,n){var r=cx(e,t,Object),i=r.obj,a=r.k;i[a]=n}function Yoe(e,t){var n=cx(e,t),r=n.obj,i=n.k;if(r)return r[i]}var lx=[],Xoe=lx.forEach,Zoe=lx.slice;
63function Qoe(e){return Xoe.call(Zoe.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function ux(e,t){let n=t&&t.cache?t.cache:ase,r=t&&t.serializer?t.serializer:rse;return(t&&t.strategy?t.strategy:ese)(e,{cache:n,serializer:r})}function $oe(e){return e==null||typeof e==`number`||typeof e==`boolean`}function dx(e,t,n,r){let i=$oe(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function fx(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function px(e,t,n,r,i){return n.bind(t,e,r,i)}function ese(e,t){let n=e.length===1?dx:fx;return px(e,this,n,t.cache.create(),t.serializer)}function tse(e,t){return px(e,this,fx,t.cache.create(),t.serializer)}function nse(e,t){return px(e,this,dx,t.cache.create(),t.serializer)}var rse=function(){return JSON.stringify(arguments)},ise=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},ase={create:function(){return new ise}},mx={variadic:tse,monadic:nse},ose=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function sse(e){let t={};return e.replace(ose,e=>{let n=e.length;switch(e[0]){case`G`:t.era=n===4?`long`:n===5?`narrow`:`short`;break;case`y`:t.year=n===2?`2-digit`:`numeric`;break;case`Y`:case`u`:case`U`:case`r`:throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case`q`:case`Q`:throw RangeError("`q/Q` (quarter) patterns are not supported");case`M`:case`L`:t.month=[`numeric`,`2-digit`,`short`,`long`,`narrow`][n-1];break;case`w`:case`W`:throw RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][n-1];break;case`D`:case`F`:case`g`:throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case`E`:t.weekday=n===4?`long`:n===5?`narrow`:`short`;break;case`e`:if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-4];break;case`c`:if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-4];break;case`a`:t.hour12=!0;break;case`b`:case`B`:throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case`h`:t.hourCycle=`h12`,t.hour=[`numeric`,`2-digit`][n-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][n-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][n-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][n-1];break;case`j`:case`J`:case`C`:throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case`m`:t.minute=[`numeric`,`2-digit`][n-1];break;case`s`:t.second=[`numeric`,`2-digit`][n-1];break;case`S`:case`A`:throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=n<4?`short`:`long`;break;case`Z`:case`O`:case`v`:case`V`:case`X`:case`x`:throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return``}),t}var cse=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function lse(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(cse).filter(e=>e.length>0),n=[];for(let e of t){let t=e.split(`/`);if(t.length===0)throw Error(`Invalid number skeleton`);let[r,...i]=t;for(let e of i)if(e.length===0)throw Error(`Invalid number skeleton`);n.push({stem:r,options:i})}return n}function use(e){return e.replace(/^(.*?)-/,``)}var hx=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,gx=/^(@+)?(\+|#+)?[rs]?$/g,dse=/(\*)(0+)|(#+)(0+)|(0+)/g,_x=/^(0+)$/;function vx(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(gx,function(e,n,r){return typeof r==`string`?r===`+`?t.minimumSignificantDigits=n.length:n[0]===`#`?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r==`string`?r.length:0)):(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length),``}),t}function yx(e){switch(e){case`sign-auto`:return{signDisplay:`auto`};case`sign-accounting`:case`()`:return{currencySign:`accounting`};case`sign-always`:case`+!`:return{signDisplay:`always`};case`sign-accounting-always`:case`()!`:return{signDisplay:`always`,currencySign:`accounting`};case`sign-except-zero`:case`+?`:return{signDisplay:`exceptZero`};case`sign-accounting-except-zero`:case`()?`:return{signDisplay:`exceptZero`,currencySign:`accounting`};case`sign-never`:case`+_`:return{signDisplay:`never`}}}function fse(e){let t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){let n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!_x.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function bx(e){return yx(e)||{}}function pse(e){let t={};for(let n of e){switch(n.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=n.options[0];continue;case`group-off`:case`,_`:t.useGrouping=!1;continue;case`precision-integer`:case`.`:t.maximumFractionDigits=0;continue;case`measure-unit`:case`unit`:t.style=`unit`,t.unit=use(n.options[0]);continue;case`compact-short`:case`K`:t.notation=`compact`,t.compactDisplay=`short`;continue;case`compact-long`:case`KK`:t.notation=`compact`,t.compactDisplay=`long`;continue;case`scientific`:t={...t,notation:`scientific`,...n.options.reduce((e,t)=>
63({...e,...bx(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,...bx(t)}),{})};continue;case`notation-simple`:t.notation=`standard`;continue;case`unit-width-narrow`:t.currencyDisplay=`narrowSymbol`,t.unitDisplay=`narrow`;continue;case`unit-width-short`:t.currencyDisplay=`code`,t.unitDisplay=`short`;continue;case`unit-width-full-name`:t.currencyDisplay=`name`,t.unitDisplay=`long`;continue;case`unit-width-iso-code`:t.currencyDisplay=`symbol`;continue;case`scale`:t.scale=parseFloat(n.options[0]);continue;case`rounding-mode-floor`:t.roundingMode=`floor`;continue;case`rounding-mode-ceiling`:t.roundingMode=`ceil`;continue;case`rounding-mode-down`:t.roundingMode=`trunc`;continue;case`rounding-mode-up`:t.roundingMode=`expand`;continue;case`rounding-mode-half-even`:t.roundingMode=`halfEven`;continue;case`rounding-mode-half-down`:t.roundingMode=`halfTrunc`;continue;case`rounding-mode-half-up`:t.roundingMode=`halfExpand`;continue;case`integer-width`:if(n.options.length>1)throw RangeError(`integer-width stems only accept a single optional option`);n.options[0].replace(dse,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else if(i&&a)throw Error(`We currently do not support maximum integer digits`);else if(o)throw Error(`We currently do not support exact integer digits`);return``});continue}if(_x.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(hx.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(hx,function(e,n,r,i,a,o){return r===`*`?t.minimumFractionDigits=n.length:i&&i[0]===`#`?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),``});let e=n.options[0];e===`w`?t={...t,trailingZeroDisplay:`stripIfInteger`}:e&&(t={...t,...vx(e)});continue}if(gx.test(n.stem)){t={...t,...vx(n.stem)};continue}let e=yx(n.stem);e&&(t={...t,...e});let r=fse(n.stem);r&&(t={...t,...r})}return t}var xx=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`,e}({}),Sx=function(e){return e[e.literal=0]=`literal`,e[e.argument=1]=`argument`,e[e.number=2]=`number`,e[e.date=3]=`date`,e[e.time=4]=`time`,e[e.select=5]=`select`,e[e.plural=6]=`plural`,e[e.pound=7]=`pound`,e[e.tag=8]=`tag`,e}({}),Cx=function(e){return e[e.number=0]=`number`,e[e.dateTime=1]=`dateTime`,e}({});function wx(e){return e.type===Sx.literal}function mse(e){return e.type===Sx.argument}function Tx(e){return e.type===Sx.number}function Ex(e){return e.type===Sx.date}function Dx(e){return e.type===Sx.time}function Ox(e){return e.type===Sx.select}function kx(e){return e.type===Sx.plural}function hse(e){return e.type===Sx.pound}function Ax(e){return e.type===Sx.tag}function jx(e){return!!(e&&typeof e==`object`&&e.type===Cx.number)}function Mx(e){return!!(e&&typeof e==`object`&&e.type===Cx.dateTime)}var Nx=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Px={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GS:[`H`,`h`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ku-SY":[`H`,`hB`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]};function gse(e,t){let n=``;for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i===`j`){let a=0;for(;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;let o=1+(a&1),s=a<2?1:3+(a>>1),c=_se(t);for((c==`H`||c==`k`)&&(s=0);s-->0;)n+=`a`;for(;o-->0;)n=c+n}else n+=i===`J`?`H`:i}return n}function _se(e){let t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw Error(`Invalid hourCycle`)}let n=e.language,r;return n!==`root`&&(r=e.maximize().region),(Px[r||``]||Px[n||``]||Px[`${n}-001`]||Px[`001`])[0]}
63var vse=RegExp(`^${Nx.source}*`),yse=RegExp(`${Nx.source}*$`);function Fx(e,t){return{start:e,end:t}}var bse=!!Object.fromEntries,xse=!!String.prototype.trimStart,Sse=!!String.prototype.trimEnd,Ix=bse?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},Cse=xse?function(e){return e.trimStart()}:function(e){return e.replace(vse,``)},wse=Sse?function(e){return e.trimEnd()}:function(e){return e.replace(yse,``)},Lx=RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);function Tse(e,t){return Lx.lastIndex=t,Lx.exec(e)[1]??``}var Ese=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error(`parser can only be used once`);return this.parseMessage(0,``,!1)}parseMessage(e,t,n){let r=[];for(;!this.isEOF();){let i=this.char();if(i===123){let t=this.parseArgument(e,n);if(t.err)return t;r.push(t.val)}else if(i===125&&e>0)break;else if(i===35&&(t===`plural`||t===`selectordinal`)){let e=this.clonePosition();this.bump(),r.push({type:Sx.pound,location:Fx(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(xx.UNMATCHED_CLOSING_TAG,Fx(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Rx(this.peek()||0)){let n=this.parseTag(e,t);if(n.err)return n;r.push(n.val)}else{let n=this.parseLiteral(e,t);if(n.err)return n;r.push(n.val)}}return{val:r,err:null}}parseTag(e,t){let n=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:Sx.literal,value:`<${r}/>`,location:Fx(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!Rx(this.char()))return this.error(xx.INVALID_TAG,Fx(o,this.clonePosition()));let e=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:Sx.tag,value:r,children:a,location:Fx(n,this.clonePosition())},err:null}:this.error(xx.INVALID_TAG,Fx(o,this.clonePosition()))):this.error(xx.UNMATCHED_CLOSING_TAG,Fx(e,this.clonePosition()))}return this.error(xx.UNCLOSED_TAG,Fx(n,this.clonePosition()))}return this.error(xx.INVALID_TAG,Fx(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&Ose(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let n=this.clonePosition(),r=``;for(;;){let n=this.tryParseQuote(t);if(n){r+=n;continue}let i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}let a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}let i=Fx(n,this.clonePosition());return{val:{type:Sx.literal,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Dse(this.peek()||0))?(this.bump(),`<`):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(e===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),String.fromCodePoint(n))}parseArgument(e,t){let n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(xx.EXPECT_ARGUMENT_CLOSING_BRACE,Fx(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(xx.EMPTY_ARGUMENT,Fx(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(xx.MALFORMED_ARGUMENT,Fx(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(xx.EXPECT_ARGUMENT_CLOSING_BRACE,Fx(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Sx.argument,value:r,location:Fx(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(xx.EXPECT_ARGUMENT_CLOSING_BRACE,Fx(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(xx.MALFORMED_ARGUMENT,Fx(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=Tse(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Fx(e,this.clonePosition())}}parseArgumentOptions(e,t,n,r){let i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(xx.EXPECT_ARGUMENT_TYPE,Fx(i,o));case`number`:case`date`:case`time`:{this.bumpSpace();let e=null;if(this.bumpIf(`,`)){this.bumpSpace();let t=this.clonePosition(),n=this.parseSimpleArgStyleIfPossible();if(n.err)return n;let r=wse(n.val);if(r.length===0)return this.error(xx.EXPECT_ARGUMENT_STYLE,Fx(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:Fx(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=Fx(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=Cse(e.style.slice(2));if(a===`number`){let r=this.parseNumberSkeletonFromString(t,e.styleLocation);return r.err?r:{val:{type:Sx.number,value:n,location:i,style:r.val},err:null}}{if(t.length===0)return this.error(xx.EXPECT_DATE_TIME_SKELETON,i);let r=t;this.locale&&(r=gse(t,this.locale));let o={type:Cx.dateTime,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?sse(r):{}};return{val:{type:a===`date`?Sx.date:Sx.time,value:n,location:i,style:o},err:null}}}return{val:{type:a===`number`?Sx.number:a===`date`?Sx.date:Sx.time,value:n,location:i,style:e?.style??null},err:null}}case`plural`:case`selectordinal`:case`select`:{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(xx.EXPECT_SELECT_ARGUMENT_OPTIONS,Fx(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(xx.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Fx(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(xx.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,xx.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),s=e.val}let c=this.tryParsePluralOrSelectOptions(e,a,t,o);if(c.err)return c;let l=this.tryParseArgumentClose(r);if(l.err)return l;let u=Fx(r,this.clonePosition());return a===`select`?{val:{type:Sx.select,value:n,options:Ix(c.val),location:u},err:null}:{val:{type:Sx.plural,value:n,options:Ix(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(xx.INVALID_ARGUMENT_TYPE,Fx(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(xx.EXPECT_ARGUMENT_CLOSING_BRACE,Fx(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(xx.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Fx(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump();break}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let n=[];try{n=lse(e)}
63catch{return this.error(xx.INVALID_NUMBER_SKELETON,t)}return{val:{type:Cx.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?pse(n):{}},err:null}}tryParsePluralOrSelectOptions(e,t,n,r){let i=!1,a=[],o=new Set,{value:s,location:c}=r;for(;;){if(s.length===0){let e=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){let t=this.tryParseDecimalInteger(xx.EXPECT_PLURAL_ARGUMENT_SELECTOR,xx.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;c=Fx(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(o.has(s))return this.error(t===`select`?xx.DUPLICATE_SELECT_ARGUMENT_SELECTOR:xx.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);s===`other`&&(i=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?xx.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:xx.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Fx(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,n);if(l.err)return l;let u=this.tryParseArgumentClose(r);if(u.err)return u;a.push([s,{value:l.val,location:Fx(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?xx.EXPECT_SELECT_ARGUMENT_SELECTOR:xx.EXPECT_PLURAL_ARGUMENT_SELECTOR,Fx(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(xx.MISSING_OTHER_CLAUSE,Fx(this.clonePosition(),this.clonePosition())):{val:a,err:null}}tryParseDecimalInteger(e,t){let n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);let i=!1,a=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,a=a*10+(e-48),this.bump();else break}let o=Fx(r,this.clonePosition());return i?(a*=n,Number.isSafeInteger(a)?{val:a,err:null}:this.error(t,o)):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&kse(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function Rx(e){return e>=97&&e<=122||e>=65&&e<=90}function Dse(e){return Rx(e)||e===47}function Ose(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function kse(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function zx(e){e.forEach(e=>{if(delete e.location,Ox(e)||kx(e))for(let t in e.options)delete e.options[t].location,zx(e.options[t].value);else Tx(e)&&jx(e.style)||(Ex(e)||Dx(e))&&Mx(e.style)?delete e.style.location:Ax(e)&&zx(e.children)})}function Ase(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new Ese(e,t).parse();if(n.err){let e=SyntaxError(xx[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||zx(n.val),n.val}var Bx=function(e){return e.MISSING_VALUE=`MISSING_VALUE`,e.INVALID_VALUE=`INVALID_VALUE`,e.MISSING_INTL_API=`MISSING_INTL_API`,e}({}
63),Vx=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},Hx=class extends Vx{constructor(e,t,n,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join(`", "`)}"`,Bx.INVALID_VALUE,r)}},jse=class extends Vx{constructor(e,t,n){super(`Value for "${e}" must be of type ${t}`,Bx.INVALID_VALUE,n)}},Mse=class extends Vx{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,Bx.MISSING_VALUE,t)}},Ux=function(e){return e[e.literal=0]=`literal`,e[e.object=1]=`object`,e}({});function Nse(e){return e.length<2?e:e.reduce((e,t)=>{let n=e[e.length-1];return!n||n.type!==Ux.literal||t.type!==Ux.literal?e.push(t):n.value+=t.value,e},[])}function Pse(e){return typeof e==`function`}function Wx(e,t,n,r,i,a,o){if(e.length===1&&wx(e[0]))return[{type:Ux.literal,value:e[0].value}];let s=[];for(let c of e){if(wx(c)){s.push({type:Ux.literal,value:c.value});continue}if(hse(c)){typeof a==`number`&&s.push({type:Ux.literal,value:n.getNumberFormat(t).format(a)});continue}let{value:e}=c;if(!(i&&e in i))throw new Mse(e,o);let l=i[e];if(mse(c)){(!l||typeof l==`string`||typeof l==`number`||typeof l==`bigint`)&&(l=typeof l==`string`||typeof l==`number`||typeof l==`bigint`?String(l):``),s.push({type:typeof l==`string`?Ux.literal:Ux.object,value:l});continue}if(Ex(c)){let e=typeof c.style==`string`?r.date[c.style]:Mx(c.style)?c.style.parsedOptions:void 0;s.push({type:Ux.literal,value:n.getDateTimeFormat(t,e).format(l)});continue}if(Dx(c)){let e=typeof c.style==`string`?r.time[c.style]:Mx(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:Ux.literal,value:n.getDateTimeFormat(t,e).format(l)});continue}if(Tx(c)){let e=typeof c.style==`string`?r.number[c.style]:jx(c.style)?c.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if(typeof l==`bigint`){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);l*=BigInt(t)}else l*=t}s.push({type:Ux.literal,value:n.getNumberFormat(t,e).format(l)});continue}if(Ax(c)){let{children:e,value:l}=c,u=i[l];if(!Pse(u))throw new jse(l,`function`,o);let d=u(Wx(e,t,n,r,i,a).map(e=>e.value));Array.isArray(d)||(d=[d]),s.push(...d.map(e=>({type:typeof e==`string`?Ux.literal:Ux.object,value:e})))}if(Ox(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new Hx(c.value,l,Object.keys(c.options),o);s.push(...Wx(a.value,t,n,r,i));continue}if(kx(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new Vx(`Intl.PluralRules is not available in this environment. 64Try polyfilling it using "@formatjs/intl-pluralrules" 65`,Bx.MISSING_INTL_API,o);let e=typeof l==`bigint`?Number(l):l,r=n.getPluralRules(t,{type:c.pluralType}).select(e-(c.offset||0));a=(Object.prototype.hasOwnProperty.call(c.options,r)?c.options[r]:void 0)||c.options.other}if(!a)throw new Hx(c.value,l,Object.keys(c.options),o);let u=typeof l==`bigint`?Number(l):l;s.push(...Wx(a.value,t,n,r,i,u-(c.offset||0)));continue}}return Nse(s)}function Fse(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function Ise(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=Fse(e[r],t[r]),n),{...e}):e}function Gx(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function Lse(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:ux((...e)=>new Intl.NumberFormat(...e),{cache:Gx(e.number),strategy:mx.variadic}),getDateTimeFormat:ux((...e)=>new Intl.DateTimeFormat(...e),{cache:Gx(e.dateTime),strategy:mx.variadic}),getPluralRules:ux((...e)=>new Intl.PluralRules(...e),{cache:Gx(e.pluralRules),strategy:mx.variadic})}}var Kx=class e{constructor(t,n=e.defaultLocale,r,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(t.length===1)return t[0].value;let n=t.reduce((e,t)=>(!e.length||t.type!==Ux.literal||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e),[]);return n.length<=1?n[0]||``:n},this.formatToParts=e=>Wx(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...n}=i||{};this.ast=e.__parse(t,{...n,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError(`A message must be provided as a String or AST.`);this.formats=Ise(e.formats,r),this.formatters=i&&i.formatters||Lse(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(Intl.Locale===void 0)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])}}static{this.__parse=Ase}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}}}};function Rse(e,t){return Hse(e)||Vse(e,t)||Bse(e,t)||zse()}
65function zse(){throw TypeError(`Invalid attempt to destructure non-iterable instance. 66In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bse(e,t){if(e){if(typeof e==`string`)return qx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qx(e,t)}}function qx(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vse(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function Hse(e){if(Array.isArray(e))return e}function Jx(e){"@babel/helpers - typeof";return Jx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Jx(e)}function Yx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Yx(Object(n),!0).forEach(function(t){Use(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Use(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wse(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Zx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gse(e,t,n){return t&&Zx(e.prototype,t),n&&Zx(e,n),e}function Kse(){return{memoize:!0,memoizeFallback:!1,bindI18n:``,bindI18nStore:``,parseErrorHandler:function(e,t,n,r){return n},parseLngForICU:function(e){return e},escapeVariables:!1}}var Qx=function(){function e(t){Wse(this,e),this.type=`i18nFormat`,this.mem={},this.init(null,t)}return Gse(e,[{key:`init`,value:function(e,t){var n=this,r=e&&e.options&&e.options.i18nFormat||{};if(this.options=Qoe(r,t,this.options||{},Kse()),this.formats=this.options.formats,e){var i=this.options,a=i.bindI18n,o=i.bindI18nStore,s=i.memoize;e.IntlMessageFormat=Kx,e.ICU=this,s&&(a&&e.on(a,function(){return n.clearCache()}),o&&e.store.on(o,function(){return n.clearCache()}))}}},{key:`addUserDefinedFormats`,value:function(e){this.formats=this.formats?Xx(Xx({},this.formats),e):e}},{key:`parse`,value:function(e,t,n,r,i,a){var o=a&&a.resolved&&a.resolved.res,s=this.options.memoize&&`${n}.${r}.${i.replace(/\./g,`###`)}`,c;this.options.memoize&&(c=Yoe(this.mem,s));try{return c||(c=new Kx(e,this.options.parseLngForICU(n),this.formats,{ignoreTag:!0}),this.options.memoize&&(this.options.memoizeFallback||!a||o)&&Joe(this.mem,s,c)),c.format(this.escapeVariableValues(t))}catch(n){return this.options.parseErrorHandler(n,i,e,t)}}},{key:`addLookupKeys`,value:function(e,t,n,r,i){return e}},{key:`clearCache`,value:function(){this.mem={}}},{key:`escapeVariableValues`,value:function(e){if(!this.options.escapeVariables||!e||Jx(e)!==`object`)return e;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var i=Rse(r[n],2),a=i[0],o=i[1];t[a]=typeof o==`string`?o.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`):o}return t}}]),e}();Qx.type=`i18nFormat`;var qse={layout:{errorBoundary:{title:`Etwas ist schiefgelaufen`,desc:`Beim Rendern dieser Seite ist ein unerwarteter Fehler aufgetreten. Ein Neuladen behebt das Problem meist; falls es weiterhin auftritt, kontaktieren Sie den Support.`,reload:`Seite neu laden`,home:`Zum Dashboard`},appShell:{skipToContent:`Zum Inhalt springen`,sidebarLabel:`Primäre Navigation`},appSidebar:{groupTestpit:`Testpit`,groupWebTest:`Web-Test`,groupMobileTest:`Mobil-Test`,groupAutomation:`Automatisierung`,groupTools:`Werkzeuge`,groupSettings:`Einstellungen`,badgeNew:`Neu`,badgeEarlyAccess:`Early Access`,navAnalytics:`Analytik`,navMyTests:`Meine Tests`,navMyMobileTests:`Meine mobilen Tests`,navMyPlans:`Meine Pläne`,navTestResults:`Testergebnisse`,navDoc:`Anleitung`,navGetExtension:`Erweiterung abrufen`,navPlanResults:`Planergebnisse`,navDataSources:`Datenquellen`,navHttpRequest:`HTTP-Anfrage`,navElementTags:`Element-Tags`,navScenarioFiles:`Test-Assets`,navUsage:`Abrechnung & Plan`,navPackages:`Pakete`,navSettingProfiles:`Einstellungsprofile`,navApiKeys:`API-Schlüssel`,navVault:`Vault-Profile`,navTestTags:`Test-Tags`,navMcpServers:`MCP-Server`},appTopbar:{openMenu:`Menü öffnen`},workspaceSwitcher:{teamSuffix:`Team`,dropdownTitle:`Arbeitsbereich wechseln`,dropdownSubtitle:`Wählen Sie ein Unternehmen und dann ein Team`,searchPlaceholder:`Arbeitsbereiche suchenâ¦`,noMatch:`Keine Arbeitsbereiche entsprechen "{query}".`,teamCount:`{count, plural, one {# Team} other {# Teams}}`,newTeam:`Neues Teamâ¦`,newTeamPlaceholder:`Teamnameâ¦`,addMemberAction:`Mitglied hinzufügen`,createWorksp
66aceAction:`Arbeitsbereich erstellen`,addMemberToTeam:`Mitglied zum Team hinzufügen`,teamCreated:`Team {name} in {workspace} erstellt`,teamCreateFailed:`Das Team konnte nicht erstellt werden.`,ownCompanyBadge:`Ihr Unternehmen`,loadingTeams:`Teams ladenâ¦`,noTeams:`Keine Teams in diesem Unternehmen.`,confirmSwitch:`Arbeitsbereich wechseln`,addMember:{title:`Mitglied hinzufügen`,subtitle:`Laden Sie Personen zu {workspace} ein. Sie erhalten eine E-Mail-Einladung - trennen Sie Adressen mit Enter oder einem Komma.`,emailsLabel:`E-Mail-Adressen`,emailPlaceholder:`[email protected]`,emailPlaceholderMore:`Weitere hinzufügenâ¦`,invalidTooltip:`Keine gültige E-Mail`,removeEmail:`E-Mail entfernen`,invalidHint:`Einige Adressen scheinen ungültig zu sein - sie sind rot hervorgehoben.`,teamLabel:`Zum Team hinzufügen`,workspaceLabel:`Arbeitsbereich`,roleLabel:`Rolle`,role:{ADMIN:{label:`Administrator`,desc:`Vollzugriff - Mitglieder, Abrechnung und jeden Test verwalten.`},USER:{label:`Mitglied`,desc:`Kann Tests, Pläne und Datenquellen erstellen, bearbeiten und ausführen.`}},hintEmpty:`Fügen Sie mindestens eine E-Mail hinzu`,hintReady:`{count, plural, one {# Einladung bereit} other {# Einladungen bereit}}`,cancel:`Abbrechen`,send:`{count, plural, one {Einladung senden} other {Einladungen senden}}`,inviteSuccess:`{count, plural, one {# Einladung gesendet} other {# Einladungen gesendet}}.`,inviteSkipped:`{count, plural, one {# Adresse übersprungen} other {# Adressen übersprungen}} - bereits Mitglied oder eingeladen.`,inviteExists:`{count, plural, one {# Adresse hat bereits ein Konto} other {# Adressen haben bereits ein Konto}} - laden Sie eine andere E-Mail-Adresse ein.`,inviteError:`Einladungen konnten nicht gesendet werden.`},createWorkspace:{title:`Arbeitsbereich erstellen`,kickerTitle:`Einen neuen Arbeitsbereich starten`,kickerHelp:`Ein Arbeitsbereich gruppiert Ihre Teams, Tests und Abrechnungen unter einem Unternehmen. Sie werden der Eigentümer sein und können Personen einladen, sobald es eingerichtet ist.`,nameLabel:`Arbeitsbereichsname`,namePlaceholder:`z. B. Acme Inc`,urlLabel:`Arbeitsbereichs-URL`,urlHint:`- wie Teamkollegen darauf zugreifen`,urlPlaceholder:`acme`,teamLabel:`Erstes Team`,teamHint:`- Sie können später mehr hinzufügen`,teamPlaceholder:`QA-Team`,teamHelp:`Teams halten Tests, Pläne und Mitglieder im Arbeitsbereich organisiert.`,footerHint:`Drücken Sie âµ um zu erstellen`,cancel:`Abbrechen`,create:`Arbeitsbereich erstellen`,comingSoon:`Die Erstellung des Arbeitsbereichs ist noch nicht verfügbar - "{name}" wurde nicht erstellt.`}},userMenu:{profile:`Profil`,account:`Konto`,billingPlan:`Abrechnung & Plan`,help:`Hilfe`,supportEmail:`[email protected]`,settings:`Einstellungen`,logout:`Abmelden`,signOut:`Abmelden`,ownerBadge:`Besitzer`,security:`Sicherheit`},themeToggle:{label:`Thema`,system:`System`,light:`Hell`,dark:`Dunkel`},mobileTabBar:{label:`Hauptnavigation`,home:`Startseite`,tests:`Tests`,plans:`Pläne`,profile:`Profil`},mobileAppBar:{back:`Zurück`,defaultTitle:`Text2Test`},workspaceSheet:{title:`Arbeitsbereich wechseln`,subtitle:`Wählen Sie ein Unternehmen und dann ein Team`,searchPlaceholder:`Arbeitsbereiche suchenâ¦`,noMatch:`Keine Arbeitsbereiche gefunden`,teamCount:`{count, plural, one {# Team} other {# Teams}}`,addMember:`Mitglied hinzufügen`,createWorkspace:`Arbeitsbereich erstellen`,comingSoon:`Bald verfügbar`},welcomeModal:{title:`Text2Test auf Mobilgeräten`,subtitle:`Ein fokussierter Begleiter zur Web-App. Von Ihrem Telefon aus können Sie:`,viewTestpitTitle:`Testpit anzeigen`,viewTestpitDesc:`Ihre Kontenübersicht, Abdeckung und Laufanalysen.`,runTestsTitle:`Vorhandene Tests ausführen`,runTestsDesc:`Durchsuchen Sie Ihre Web- und mobilen Testfälle und starten Sie einen Lauf.`,viewReportsTitle:`Test- und Planberichte anzeigen`,viewReportsDesc:`Schritte, Konsole, Netzwerk und Sitzungswiederholung unterwegs.`,note:`Das Erstellen neuer Tests und das Bearbeiten von Eingabeaufforderungen bleiben in der Web-App.`,cta:`Verstanden`},productTour:{title:`Text2Test in Aktion`,description:`Eine interaktive Tour durch Text2Test.`}},shell:{shareSheet:{title:`Bericht teilen`,publicLink:`Ãffentlichen Link kopieren`,publicLinkDesc:`Jeder mit dem Link · läuft in 7 Tagen ab`,publicCopied:`Ãffentlicher Link kopiert`,publicLinkError:`Ãffentlichen Link konnte nicht erstellt werden`,workspaceOnly:`Nur Arbeitsbereich`,workspaceOnlyDesc:`Mitglieder von {name}`,workspaceCopied:`Arbeitsbereichslink kopiert`,downloadPdf:`PDF herunterladen`,exportingPdf:`PDF wird exportiertâ¦`},runActionsSheet:{titleTest:`Testlaufaktionen`,titlePlan:`Planlaufaktionen`,rerunTest:`Test erneut ausführen`,rerunPlan:`Plan erneut ausführen`,rerunFailed:`Nur fehlgeschlagene erneut ausführen`,failedTests:`{count} fehlgeschlagene Tests`,copyLink:`Ãffentlichen Link kopieren`,linkCopied:`Ãffentlicher Link kopiert`,downloadReport:`Bericht herunterladen`,downloadLogs:`Protokolle herunterladen`,downloadingReport:`Bericht wird heruntergeladenâ¦`,downloadingLogs:`Protokolle werden heruntergeladenâ¦`},liveRun:{runningTest:`Test wird ausgeführt`,runningPlan:`Plan wird ausgeführt`,stepOf:`Schritt {current} von {total}`,runningTestOf:`Test {current} von {total} wird ausgeführt`,testFailed:`Test fehlgeschlagen`,testPassed:`Test bestanden`,planComplete:`Plan abgeschlossen`,passedCount:`{count} bestanden`,failedCount:`{count} fehlgeschlagen`,skippedCount:`{count} übersprungen`,stopRun:`Lauf stoppen`,done:`Fertig`,viewReport:`Bericht anzeigen`,elapsed:`Verstrichen`,pending:`Ausstehend`,passed:`bestanden`,failed:`fehlgeschlagen`},deleteDialog:{cancel:`Abbrechen`,typeLabel:`Geben Sie <code>Löschen</code> zur Bestätigung ein`,typeWord:`Löschen`,deleting:`Löschenâ¦`}},pages:JSON.parse(`{"usage":{"title":"Abrechnung & Plan","subtitle":"Ihr Abonnement, Ihre Nutzung, Ihre Zahlungsmethode und Ihre Rechnungen.","noPackage":"Kein aktiver Plan","notPayAsYouGoTitle":"Kein Pay-as-you-go-Plan","notPayAsYouGoBody":"Nutzung und Token-Kontingent werden für Pay-as-you-go-Abonnements angezeigt. Ihr Arbeitsbereich befindet sich in einem anderen Plan.","stoppedBanner":"Ihr Token-Kontingent für diesen Zeitraum ist aufgebraucht. Aktualisieren Sie Ihren Plan, um weiterhin Tests durchzuführen.","lowBalanceBanner":"Ihnen gehen die Tokens für diesen Zeitraum aus.","activityTitle":"Anfrageaktivität (letzte 30 Tage)","activityEmpty":"In diesem Zeitraum noch keine Anfragen.","requestsLabel":"Anfragen","manageBilling":"Abrechnung verwalten","manageBillingError":"Das Abrechnungsportal konnte nicht geöffnet werden. Bitte versuchen Sie es erneut.","payDifferentCardBefore":"Um mit einer anderen Karte zu zahlen, öffnen Sie","payDifferentCardAfter":".","upgradeCta":"Aktualisieren","upgradeProcessing":"Aktualisierung Ihres Plans â Ihr neues Kontingent wird in Kürze angezeigt.","upgradeError":"Aktualisierung fehlgeschlagen. Bitte versuchen Sie es erneut.","pastDueBanner":"Ihre letzte Zahlung ist fehlgeschlagen. Aktualisieren Sie Ihre Karte über Abrechnung verwalten, um eine Stornierung zu vermeiden.","cancelingBanner":"Ihr Abonnement wird am Ende des aktuellen Zeitraums gekündigt.","choosePlanTitle":"Wählen Sie einen Plan","monthly":"Monatlich","annual"
66:"Jährlich","annualSaving":"â20%","perMonth":"/mo","perMonthLong":"/ Monat","perYear":"/yr","billedMonthly":"monatlich abgerechnet","billedAnnually":"jährlich abgerechnet","tokensPerMonthSuffix":"tokens/mo","selectPlan":"Auswählen","mostPopular":"Beliebteste","planDescStarter":"Für Einzelpersonen und kleine Teams, die AI-native Tests erkunden.","planDescGrow":"Für wachsende Teams, die mehr Kapazität und schnelleren Support benötigen.","planDescPro":"Für Teams, die ernsthafte Testabdeckung im groÃen MaÃstab durchführen.","testCasesPerMonthSuffix":"Testfälle / Monat","parallelRunsSuffix":"Parallele Ausführungen","featWebAutomation":"Web-Testautomatisierung","featBrowserExtension":"Browsererweiterung","featCicd":"CI/CD-Integration","featJiraSlack":"Jira- & Slack-Integration","featOnboarding":"Einarbeitung & Schulung","featSupport48h":"48h Support-Reaktionszeit","featSupport24h":"24h Support-Reaktionszeit","featSupport12h":"12h Support-Reaktionszeit","purchaseSuccessToast":"Zahlung erhalten â Ihr Plan wird aktiviert.","purchaseReturnToast":"Ihr Plan ist aktiv. Sie werden zu Ihrem Test zurückgebracht.","purchaseCancelToast":"Checkout abgebrochen.","paymentRequired":{"title":"Zahlung erforderlich, um fortzufahren","reasonGeneric":"Ihr Test konnte nicht gestartet werden, da die Zahlung für Ihren Arbeitsbereich derzeit nicht verfügbar ist.","reasonBalanceInsufficient":"Ihr Token-Kontingent ist zu niedrig, um diesen Test zu starten. Laden Sie auf, indem Sie Ihren Plan aktualisieren, um weiterhin Tests durchzuführen.","reasonStopped":"Die Testausführung ist pausiert, da Ihr Token-Guthaben aufgebraucht ist. Upgrade Ihres Plans, um fortzufahren.","reasonNoPackage":"Ihr Arbeitsbereich hat noch keinen aktiven Plan. Wählen Sie einen Plan, um Tests auszuführen.","reasonFeatureNotAllowed":"Diese Funktion ist nicht in Ihrem aktuellen Plan enthalten. Upgrade, um sie freizuschalten.","balanceLabel":"Aktuelles Guthaben","tokens":"Tokens","dismiss":"Nicht jetzt","ctaUpgrade":"Plan upgraden","ctaChoosePlan":"Wählen Sie einen Plan","draftSavedNote":"Ihr Schritttext ist als Entwurf gespeichert. Er wird in Aktionen kompiliert, sobald Ihr Plan aktiv ist.","reasonSubscriptionInactive":"Testläufe sind pausiert, weil Ihr Abonnement nicht mehr aktiv ist. Wählen Sie einen Plan, um fortzufahren."},"changePlanTitle":"Plan ändern","changePlanSubtitle":"Führen Sie ein Upgrade für mehr Kapazität und schnelleren Support durch. Ãnderungen werden anteilig berechnet.","currentPlanBadge":"Ihr Plan","currentPlanCta":"Aktueller Plan","customPlanName":"Custom","customPlanDesc":"Für Unternehmen, die individuelle Limits, SLAs und einen dedizierten Partner benötigen.","customPlanPrice":"Sprechen wir","customPlanBilling":"Individueller Vertrag","contactSales":"Sales kontaktieren","customFeatureVolume":"Individuelles Testfallvolumen","customFeatureParallel":"Individuelle parallele Läufe","customFeatureSupport":"Dedizierter Partner-Support","customFeatureSla":"Individuelles SLA & Vertrag","customFeatureOnboarding":"Onboarding & Training","statusActive":"Aktiv","statusCanceling":"Wird storniert","renewsOn":"Erneuert am {date}","renewsUnknown":"Erneuerungsdatum ausstehend","cancelSubscription":"Abonnement kündigen","cancelSubscriptionSectionBody":"Ihr Plan bleibt bis zum Ende des aktuellen Abrechnungszeitraums aktiv. Danach wird Ihr Workspace schreibgeschützt.","cancelDialogTitle":"Abonnement kündigen?","cancelDialogIntroBefore":"Ihr {plan}-Plan bleibt aktiv bis","cancelDialogIntroAfter":"Danach wird Ihr Workspace schreibgeschützt und diese Funktionen werden deaktiviert:","cancelDialogQuotaImpact":"Das monatliche Kontingent sinkt von {count} auf 0 neue Testfälle","cancelDialogSchedulesImpact":"Geplante Automatisierungspläne werden nicht mehr ausgeführt","cancelDialogIntegrationsImpact":"Parallele Läufe, CI/CD und Jira-/Slack-Integrationen werden deaktiviert","cancelDialogDowngradePrompt":"Brauchen Sie nur weniger Läufe?","cancelDialogDowngradeCta":"Downgrade auf {plan} ({price}/Monat)","cancelDialogDowngradeSuffix":"und behalten Sie Ihre Tests, Historie und Integrationen.","cancelDialogKeepPlan":"Plan behalten","cancelDialogDateFallback":"zum Ende des aktuellen Abrechnungszeitraums","meterTokens":"T2T-Token","meterTests":"Test-Szenarien","meterUsedPct":"{pct}% verwendet {suffix}","tokensRemaining":"{count} verbleibend","tokensRemainingWithPct":"{count} verbleibend · {pct}% Token verbraucht","thisPeriod":"diesen Zeitraum","requestsTotal":"{count} Anfragen","noPlanTitle":"Sie haben noch keinen aktiven Plan","noPlanBody":"Wählen Sie einen Plan unten, um Tests auszuführen â nichts läuft, bis ein Plan aktiv ist.","meterParallel":"Parallele Ausführungen","concurrentRuns":"gleichzeitige Ausführungen","upgradeConfirmTitle":"Auf {plan} upgraden?","upgradeConfirmText":"Ihr Plan wird sofort hochgestuft und die anteilige Differenz umgehend von Ihrer Karte abgebucht. Ihr verbleibendes Token-Guthaben wird übernommen.","upgradeSummaryNewPlan":"Neuer Plan","upgradeSummaryTests":"Testfälle / Monat","upgradeSummaryParallel":"Parallele Läufe","upgradeSummaryProrated":"Heutige anteilige Belastung","upgradeConfirmCta":"Jetzt upgraden","upgradeConfirmCancel":"Jetzt nicht","checkoutError":"Der Bezahlvorgang konnte nicht gestartet werden. Bitte versuchen Sie es in Kürze erneut.","canceledBanner":"Ihr Abonnement wurde gekündigt. Wählen Sie einen Plan, um weiterhin Tests auszuführen.","statusCanceled":"Gekündigt","reactivateSubscription":"Abonnement reaktivieren","reactivateSuccess":"Ihr Abonnement wird weiterhin verlängert.","reactivateError":"Das Abonnement konnte nicht reaktiviert werden. Bitte versuchen Sie es erneut.","downgradeCta":"Zum Periodenende wechseln","downgradeScheduledCta":"Geplant","downgradeConfirmTitle":"Auf {plan} herabstufen?","downgradeConfirmText":"Ihr {currentPlan}-Plan bleibt bis {date} aktiv. An diesem Datum wechseln Sie zu {plan} und dessen Limits gelten.","downgradeConfirmTextNoDate":"Ihr aktueller Plan bleibt bis zum Ende des Abrechnungszeitraums aktiv, danach wechseln Sie zu {plan}.","downgradeSummaryNewPlan":"Plan ab der nächsten Periode","downgradeSummaryCharge":"Heute berechnet","downgradeSummaryNoChargeToday":"Nichts â erste Abbuchung bei der Verlängerung","downgradeConfirmKeep":"{plan} behalten","downgradeConfirmCta":"Herabstufung bestätigen","downgradeScheduledToast":"Wechsel zu {plan} zum Ende dieser Periode geplant.","downgradeError":"Die Herabstufung konnte nicht geplant werden. Bitte erneut versuchen.","pendingDowngradeLine":"Wechsel zu {plan} am {date}","pendingDowngradeUndo":"Rückgängig","downgradeCanceledToast":"Geplante Herabstufung storniert â Ihr aktueller Plan läuft weiter.","downgradeCancelError":"Die Herabstufung konnte nicht storniert werden. Bitte erneut versuchen.","downgradeFooter":"Ihr Plan wird im nächsten Abrechnungszyklus ({date}) auf {plan} herabgestuft."},"packages":{"title":"Pakete","subtitle":"Verwalten Sie den Katalog für den Pay-as-you-go-Plan. Token-Zuweisungen ergeben sich aus dem Budget.","empty":"Keine Pakete gefunden.","unauthorizedTitle":"Nicht autorisiert","unauthorizedBody":"Die Paketverwaltung ist auf Super-Admins beschränkt.","colPackage":"Paket","colPriceMonthly":"Monatlich","colTokens":"Tokens/Monat","colStatus":"Status","statusActive":"Aktiv","statusInactive":"Inaktiv","edit":"Bearbeiten","editTitle":"Bearbeiten {name}","fieldName":"Name","fieldDescription":"Beschreibung","fieldPriceMonthly":"Monatlicher Preis (USD)","fieldPriceAnnual":"Jährlicher Preis (USD)","fieldBudget":"Anbieterbudget (USD)","fieldBudgetHint":"Die Token-Zuweisung ergibt sich daraus (Budget à N). Aktuell: {tokens} Tokens.","fieldParallel":"Parallele Ausführungen","fieldTestsLimit":"Testfälle / Monat","fieldFeatures":"Funktionen","feature_WEB_TESTING":"Web-Tests","feature_MOBILE_TESTING":"Mobile-Tests","fieldStripeMonthly":"Stripe Preis-ID (monatlich)","fieldStripeAnnual":"Stripe Preis-ID (jährlich)","fieldStripeProduct":"Stripe Produkt-ID","fieldDisplayOrder":"Anzeige-Reihenfolge","fieldActive":"Aktiv","cancel":"Abbrechen","save":"Speichern","saved":"Paket gespeichert.","saveError":"Das Paket konnte nicht gespeichert werden.","fieldPriceLockedHint":"Die Preise werden über die Stripe-Preisobjekte abgerechnet und können hier nicht geändert werden. Erstellen Sie für eine Preisänderung einen neuen Stripe-Preis und aktualisieren Sie die Preis-IDs unten."}
66,"analytics":{"hero":{"webTest":"Web-Test","automation":"Automation","tests":"Tests","plans":"Pläne","executions":"Ausführungen","planRuns":"Plan-Läufe"},"trends":{"title":"Trends","sideBySide":"Nebeneinander","combined":"Kombiniert","testsCreated":"Erstellte Tests","plansCreated":"Erstellte Pläne","testExecutions":"Testausführungen","planExecutions":"Planausführungen","thisPeriod":"Dieser Zeitraum","combinedCreation":"Test- & Planerstellung","combinedExecutions":"Test- & Planausführungen"},"activityWide":{"open":"In neuem Tab öffnen","title":"Testpit-Aktivität","subtitle":"Team- und letzte Aktivität über Web-Test und Automation â letzte {days} Tage","colMember":"Mitglied","colCreated":"Erstellt","colRuns":"Läufe","colLastActive":"Zuletzt aktiv"},"title":"Testpit","breadcrumbAnalytics":"Analytik","subtitle":"Ihre Kontenübersicht","description":"Testpit verwandelt Ihre Web-Test- und Automation-Aktivität in ein lebendiges Dashboard â was lief, was bestand, was fehlschlug und wer was tat, Seite an Seite.","share":"Teilen","copyPublicLink":"Ãffentlichen Link kopieren","linkCopied":"Link kopiert","publicLinkError":"Ãffentlichen Link konnte nicht erstellt werden","linkExpiry":"Link läuft in 7 Tagen ab","last7days":"Letzte 7 Tage","last30days":"Letzte 30 Tage","last90days":"Letzte 90 Tage","lastYear":"Letztes Jahr","noData":"Keine Daten für diesen Zeitraum verfügbar","empty":{"title":"Noch nichts anzuzeigen","subtitle":"Erstellen Sie Ihren ersten Test oder Plan, um Ihre Testaktivität hier zu sehen.","cta":"Machen Sie eine schnelle Tour"},"overallStatus":"Gesamt-Teststatus","passing":"bestanden","failing":"fehlgeschlagen","notRun":"noch nicht ausgeführt","cards":{"executions":"Ausführungen","webTests":"Web-Tests","mobileTests":"Mobile-Tests","passed":"Bestanden","failed":"Fehlgeschlagen","statusBreakdown":"Statusübersicht","vsPrev":"vs vorher","thisPeriod":"dieser Zeitraum"},"coverageByType":"Abdeckung nach Typ","runbar":{"scheduled":"Geplant","passed":"bestanden","failed":"fehlgeschlagen"},"charts":{"testCases":"Testfälle","executions":"Ausführungen"},"stats":{"total":"Gesamt","web":"Web","mobile":"Mobil","passed":"Bestanden","failed":"Fehlgeschlagen","errors":"Fehler","passRate":"Bestehensquote"},"controls":{"actual":"Aktuell","cumul":"Kumul."},"teamActivity":{"title":"Teamaktivität","created":"erstellt","runs":"Durchläufe"},"recentActivity":{"planTag":"Plan","title":"Aktuelle Aktivität","ran":"lief"},"legend":{"title":"Statuslegende","passed":"Bestanden","failed":"Fehlgeschlagen","errors":"Fehler","pending":"Ausstehend","stopped":"Gestoppt"}},"web":{"overview":{"title":"Web-Tests","searchPlaceholder":"Nach Name, Verzeichnis, ID suchenâ¦","filter":"Filter","newTest":"Neuer Web-Test","noTests":"Keine Tests entsprechen Ihren Filtern","noTestsHint":"Versuchen Sie, Ihre Suche anzupassen oder die Filter zu löschen.","kpiDirectories":"Verzeichnisse","kpiDirectoriesSub":"{count, plural, one {in # Gruppe} other {in # Gruppen}}","kpiTests":"Tests","kpiTestsSub":"{count, plural, one {in # Gruppe} other {in # Gruppen}}","directoryColumn":"Verzeichnis","directoryUnfiled":"-","directoryAssign":"Verzeichnis zuweisen","directoryRoot":"Alle Tests","directoryNew":"Neuer Ordner","directorySubdir":"Neuer Unterordner","directoryNewHere":"+ Neuer Ordner hier","directoryRename":"Umbenennen","directoryDelete":"Ordner löschen","directoryMoveHere":"Hierhin verschieben","directoryRemoveAssignment":"Aus Ordner entfernen","directorySearchPlaceholder":"Ordner suchenâ¦","directoryFilterFacet":"Verzeichnis","directoryFilterAll":"Alle Ordner","directoryFilterUnfiled":"Ungeordnet","directoryDeleteTitle":"Ordner löschen?","directoryDeleteLoading":"Ãberprüfe den Inhalt des Ordners...","directoryDeleteWithChildren":"Dieser Ordner enthält {count, plural, =1 {1 Element} other {# Elemente}} (Unterordner oder Tests). Wählen Sie aus, was Sie damit tun möchten:","directoryDeleteEmpty":"Dieser Ordner ist leer. Möchten Sie ihn löschen?","directoryDeleteCascade":"Alles im Inneren löschen","directoryDeleteMoveUp":"Inhalt um eine Ebene nac
66h oben verschieben","directoryDeleteCancel":"Abbrechen","directoryDeleteConfirm":"Ordner löschen","colName":"Name","colId":"ID","colType":"Typ","colItems":"Elemente","colActions":"Aktionen","colCreated":"Erstellungszeit","rowsTests":"Tests","edit":"Bearbeiten","duplicate":"Duplizieren","move":"Verschieben","delete":"Löschen","cancel":"Abbrechen","deleteTitle":"â{name}â löschen?","deleteMessage":"Dieser Test, zusammen mit all seinen Schritten und der Ausführungshistorie, wird dauerhaft entfernt. Diese Aktion kann nicht rückgängig gemacht werden.","deleteMessageDirEmpty":"Dies kann nicht rückgängig gemacht werden.","deleteMessageDirNotEmpty":"Die enthaltenen Tests werden zuerst in das übergeordnete Verzeichnis verschoben. Dies kann nicht rückgängig gemacht werden.","deleteTypeLabel":"Geben Sie <code>Löschen</code> zur Bestätigung ein","deleteTypeWord":"Löschen","deleteConfirm":"Test löschen","deleteConfirmDir":"Ordner löschen","deleting":"Löschenâ¦","createdToast":"â{name}â erstellt","duplicatedToast":"â{name}â dupliziert","updatedToast":"Test aktualisiert","deletedToastTitle":"Test gelöscht","deletedToast":"â{name}â wurde entfernt.","emptyTitle":"Noch keine Web-Tests","emptySubtitle":"Schreiben Sie Schritte in einfachem Text, rufen Sie APIs auf, überprüfen Sie visuelle Elemente oder übergeben Sie sie an die KI-Autopilot. Text2Test führt Ihre Tests in verschiedenen Browsern aus und berichtet zurück.","emptyTour":"Machen Sie eine kurze Tour","emptyCreate":"Web-Test erstellen","filterCreation":"Erstellungsdatum","filterAny":"Jederzeit","filter7d":"Letzte 7 Tage","filter30d":"Letzte 30 Tage","filter90d":"Letzte 90 Tage","filterYear":"Letzte 12 Monate","newTestHere":"Neuer Test hier","directoryDuplicateName":"Ein Verzeichnis mit diesem Namen existiert bereits. Bitte einen anderen Namen wählen.","saveFailed":"Speichern fehlgeschlagen","moveDuplicateName":"Im Zielordner existiert bereits ein Element mit diesem Namen.","moveFailed":"Element konnte nicht verschoben werden","colUpdated":"Aktualisiert"},"wizard":{"newTitle":"Neuer Web-Test","step1Label":"Erstellen","step1Sub":"Name & URL","step2Label":"Ãberprüfen","step2Sub":"Bestätigen & einreichen","back":"Zurück","next":"Weiter","submit":"Test erstellen","creating":"Erstellenâ¦","lede":"Geben Sie Ihrem Test einen Namen und die Seite, auf der er beginnt. Sie können das Ausführungsprofil unten anpassen.","name":"Testname","namePlaceholder":"z.B. Checkout - glücklicher Pfad","url":"Anfangs-URL","urlPlaceholder":"https://example.com","urlError":"Geben Sie eine gültige URL ein, die mit <code>http://</code> oder <code>https://</code> beginnt.","profile":"Profil festlegen","profileDefault":"Standard","mcp":"MCP-Server","mcpNone":"Keine","reviewTitle":"Ãberprüfen & erstellen","reviewLede":"Bestätigen Sie die Details unten und erstellen Sie dann den Test.","summaryName":"Name","summaryUrl":"Anfangs-URL","summaryProfile":"Profil","notSet":"Nicht festgelegt","search":"Sucheâ¦","noResults":"Keine Ergebnisse.","step1Kicker":"Schritt 01","step2Kicker":"Schritt 02","step1Heading":"Benennen und konfigurieren Sie Ihren Web-Test","step1Lede":"Geben Sie dem Test einen kurzen, beschreibenden Namen und die URL, von der aus gestartet werden soll. Erweiterte Einstellungen ermöglichen es Ihnen, ein Einstellungsprofil und/oder MCP-Server zu binden.","step2Heading":"Bestätigen und erstellen","step2Lede":"Ãberprüfen Sie alles unten. Sie können zurückspringen, um ein Feld zu bearbeiten.","advancedTitle":"Erweiterte Einstellungen","advancedSub":"Einstellungsprofil · MCP-Server","profileNone":"Kein Einstellungsprofil ausgewählt","requiredFields":"Erforderliche Felder","edit":"Bearbeiten","untitled":"Unbetitelter Test","limitReachedToast":"Testlimit erreicht","limitReachedDesc":"Das Test-Szenario-Kontingent Ihres Plans ist aufgebraucht. Aktualisieren Sie Ihren Plan, um mehr Tests zu erstellen.","limitReachedCta":"Plan aktualisieren","submitFailedToast":"Der Test konnte nicht gespeichert werden","duplicateName":"Ein Test mit diesem Namen existiert bereits. Bitte einen anderen Namen wählen."},"editor":{"desktopOnly":{"title":"Bearbeiten nur am Desktop","body":"Tests zu erstellen und zu bearbeiten erfordert den vollständigen Editor, der in der Desktop-Web-App verfügbar ist.","cta":"Zurück zu den Testergebnissen"},"breadcrumb":"Web-Test","edit":"Bearbeiten","runTest":"Test ausführen","runNeedsSteps":"Fügen Sie mindestens einen Schritt hinzu, um den Test auszuführen","runFailed":"Der Testlauf konnte nicht gestartet werden. Bitte versuchen Sie es erneut.","cacheCleared":"Zwischengespeicherte Aktionen für diesen Schritt gelöscht.","cacheClearFailed":"Der Cache konnte nicht gelöscht werden. Bitte versuchen Sie es erneut.","saved":"Schritt gespeichert.","nothingToSave":"Keine Ãnderungen zum Speichern.","saveFailed":"Konnte nicht speichern. Bitte versuchen Sie es erneut.","referenceUploaded":"Referenzbild hochgeladen.","referenceUploadFailed":"Das Referenzbild konnte nicht hochgeladen werden. Bitte versuchen Sie es erneut.","referenceImage":"Referenz","removeReference":"Referenzbild entfernen","referenceRemoved":"Referenzbild entfernt.","unsavedRunTitle":"Speichern Sie diesen Schritt vor dem Ausführen","unsavedRunBody":"Klicken Sie auf Speichern, um den Schritt vorzubereiten, und führen Sie ihn dann aus.","unsavedLeaveTitle":"Sie haben nicht gespeicherte Schritte","unsavedLeaveBody":"{count, plural, one {# Schritt enthält} other {# Schritte enthalten}} nicht gespeicherte Ãnderungen. Wenn Sie jetzt gehen, gehen sie verloren.","unsavedLeaveSave":"Speichern und verlassen","unsavedLeaveDiscard":"Trotzdem verlassen","unsavedLeaveStay":"Hier bleiben","stop":"Stop","runStarting":"Testlauf wird gestartetâ¦","runStartingHint":"Browser wird vorbereitet - das Ergebnis des ersten Schrittes wird hier in Kürze angezeigt.","steps":"Schritte","addSequence":"Eine Sequenz hinzufügen","insertHere":"Schritt hier einfügen","emptyTitle":"Ihr Test ist bereit. Fügen Sie Ihre erste Eingabeaufforderung hinzu.","emptyBody":"Eingabeaufforderungen sind die einzelnen Schritte Ihres Tests. Beginnen Sie mit einer Anweisung in natürlicher Sprache, einer HTTP-Anfrage, einer visuellen Ãberprüfung, einer Skripteinspritzung oder überlassen Sie es dem Autopiloten und lassen Sie den Agenten es herausfinden.","emptyTip":"Tipp: Drücken Sie <kbd>N</kbd>, um überall eine neue Eingabeaufforderung hinzuzufügen","tag":"Tag","findTag":"Tag findenâ¦","noTags":"Keine Tags.","allTagsAssigned":"Alle Tags zugewiesen","removeTag":"{name} entfernen","deleteStepTitle":"Schritt löschen?","deleteStepA11y":"Schritt löschen","deleteStepBody":"Entfernt {label} und seine kompilierten Aktionen. Dies kann nicht rückgängig gemacht werden.","cancel":"Abbrechen","delete":"Löschen","deleting":"Löschenâ¦","editConfig":"Testkonfiguration bearbeiten","editTest":"Test bearbeiten","updateTest":"Test aktualisieren","updatingTest":"A
66ktualisierenâ¦","httpNoRequest":"Keine Anfrage ausgewählt","httpCreate":"HTTP-Anfrage erstellen","httpSelect":"HTTP-Anfrage auswählen","httpSearch":"Gespeicherte Anfragen suchenâ¦","searching":"Sucheâ¦","httpNoSaved":"Keine gespeicherten Anfragen. Erstellen Sie eine in Tools ⺠HTTP-Anfrage.","httpRefEdit":"Referenzname bearbeiten","httpRefSave":"Referenzname speichern","httpShowReqResp":"Anfrage & Antwort anzeigen","httpTry":"Anfrage testen","httpChange":"Anfrage ändern","httpDialogRequest":"Anfrage","httpDialogResponse":"Antwort","httpDialogBody":"Body","httpDialogHeaders":"Header","httpDialogNoBody":"Kein Body","httpDialogNoHeaders":"Keine Header","httpDialogNoResponse":"Noch keine Antwort â führen Sie diesen Schritt aus, um eine zu erfassen.","httpDialogLoadingResponse":"Antwort wird geladenâ¦","httpDialogResponseFailed":"Antwort konnte nicht geladen werden.","autopilotReasoning":"Autopilot-Argumentation","autopilotToolCalls":"Toolaufrufe","autopilotOutput":"Modellausgabe","autopilotNoToolCalls":"Noch keine Toolaufrufe","autopilotWaitingStream":"Warten auf Ausgabeâ¦","autopilotInstruction":"Anweisung","viewPayload":"Payload anzeigen","autopilotPayload":"Autopilot-Payload","railFollow":"Aktive Sequenz folgen","railFollowOn":"Automatisches Scrollen aktiviert - folgt der aktiven Sequenz","railFollowOff":"Automatisches Scrollen deaktiviert - klicken Sie, um der aktiven Sequenz zu folgen","railExtension":"Browsererweiterung","railReports":"Berichte","railVariables":"Variablen","railExtensionTip":"Browsererweiterung - führen Sie diesen Test lokal in Ihrem eigenen Browser aus und passen Sie die Ausführungsoptionen an","railExtensionDisabledTip":"Browsererweiterung nicht installiert - installieren Sie sie, um diesen Test lokal in Ihrem eigenen Browser auszuführen","railReportsTip":"Berichte - durchsuchen Sie die vergangenen Ausführungen dieses Tests, deren Status und Screenshots","railVariablesTip":"Variablen - die Werte, die dieser Test verwendet, und der aktuelle Zustand aus der letzten Ausführung","browserExtension":"Browsererweiterung","extUse":"Erweiterung verwenden","extTerminate":"Nach Ausführung beenden","extIncognito":"Inkognito-Modus verwenden","extNotDetected":"Erweiterung nicht erkannt - Ausführung fällt auf einen Remote-Browser zurück.","freshWindowReplay":"Kein offenes Testfenster - der Lauf wird vom ersten Schritt bis zum ausgewählten Schritt neu abgespielt, um den Zustand aufzubauen.","extIncognitoBlocked":"Die Erweiterung kann kein Inkognito-Fenster öffnen - erlauben Sie ihr unter chrome://extensions den Inkognito-Modus oder deaktivieren Sie den Inkognito-Modus in den Ausführungseinstellungen.","extStartError":"Die Erweiterung konnte die Ausführung nicht starten: {message}","reportsBlurb":"Sehen Sie sich jede Ausführung dieses Tests an - Status, Schritte und Screenshots.","openResults":"Testresultate öffnen â","noVariables":"Keine Variablen für diesen Test definiert.","save":"Speichern","variablesDefined":"Variablen","variablesEndState":"Endzustand der letzten Ausführung","variablesCurrentState":"Aktueller Zustand der laufenden Ausführung","noScreenshot":"Kein Screenshot verfügbar","variablesUpdated":"Aktualisierte Variablen","variableUnset":"Nicht festgelegt","variableVaultBadge":"Tresor","variableSecretBadge":"Geheimnis","variableValueLabel":"Wert","variableValuePlaceholder":"Geben Sie einen Wert einâ¦","variableUseVault":"Aus dem Tresor auflösen","variableVaultLoading":"Tresorprofile werden geladenâ¦","variableNoVaultProfiles":"Keine Tresorprofile für dieses Team konfiguriert.","variableVaultProfile":"Tresorprofil","variableSecretRef":"Geheimreferenz","variableSecretRefPlaceholder":"z.B. apps/myapp/db#password","variableSecretRefRelativePlaceholder":"z.B. password oder myapp#password","variablePathPrefixHint":"Pfadpräfix: {prefix}","variableVaultNote":"Der Wert wird zur Laufzeit aus dem Tresor abgerufen und niemals gespeichert.","variableSecret":"Als Geheimnis speichern","variableOverwriteSecret":"Geheimnis überschreiben","variableClear":"Löschen","variableHelpDefault":"Dieser Wert wird mit dem Test gespeichert und überall dort ersetzt, wo der Platzhalter erscheint.","variableHelpSecret":"Dieses Geheimnis ist verborgen. Klicken Sie auf Ãberschreiben, um es zu ersetzen.","variableHelpOverwrite":"Geben Sie einen neuen Wert ein, um das gespeicherte Geheimnis zu ersetzen.","variableViewState":"Variablenstatus anzeigen","insertTitle":"Einfügen","insertParameter":"Parameter","insertHint":"Hinweis","insertSetting":"Einstellung","
66insertComment":"Kommentar","insertTestCall":"Untertestaufrufâ¦","testCallTitle":"Untertestaufruf einfügen","testCallHelp":"Suchen Sie nach einem Test, um ihn als Untertest aufzurufen, und fügen Sie ihn als Link ein.","testCallSearch":"Nach Tests suchenâ¦","testCallHint":"Geben Sie ein, um nach einem Test zu suchen, den Sie aufrufen möchten.","testCallEmpty":"Keine passenden Tests gefunden.","testCallParamsTitle":"Sub-Test-Parameter","testCallParamsHelp":"Ãberschreiben Sie die Parameter von {name} für diesen Aufruf. Der ursprüngliche Test bleibt unverändert.","testCallParamsLoading":"Parameter werden geladenâ¦","testCallParamsEmpty":"Der ausgewählte Test hat keine Parameter.","testCallParamsError":"Parameter konnten nicht geladen werden.","testCallNoScenario":"Für den ausgewählten Test wurde kein Szenario gefunden.","testCallParamDefault":"Standard: {value}","testCallParamEmptyValue":"(leer)","testCallParamInherited":"Standard","testCallParamOverridden":"Ãberschrieben","testCallParamFrom":"Aus {name}","testCallParamReset":"Auf Standard zurücksetzen","testCallBack":"Test ändern","testCallApply":"Ãbernehmen","lifecycleTitle":"Lebenszyklus - führen Sie diese Sequenz als Setup-/Teardown-Hook aus","lifecycle":{"classic":"Klassisch (normaler Schritt)","beforeEach":"Vor jedem","afterEach":"Nach jedem","beforeEachStep":"Vor jedem Schritt","afterEachStep":"Nach jedem Schritt","tearDown":"Abbau"},"lbStep":"Schritt","lbIntention":"Absicht","lbUrl":"Aktuelle URL","lbAction":"Aktion","lbGoal":"Ziel","lbJustification":"Begründung","lbDescription":"Aktionsdetails","lbDiagnostics":"Diagnosen","seeMore":"Mehr sehen","seeLess":"Weniger sehen","close":"SchlieÃen","extConnected":"Erweiterung verbunden","extDisconnected":"Erweiterung nicht verbunden","realtimeConnected":"Echtzeit verbunden","realtimeDisconnected":"Echtzeit offline","runFromHere":"Von hier aus ausführen","runInProgress":"Ein Test wird bereits ausgeführt","charLimitExceeded":"Zeichenlimit überschritten ({limit} max)","deleteStepLabel":"{type} (Schritt {index})","stepType":{"prompt":{"label":"Text2Test Native","short":"T2T Native"},"authored":{"label":"Text2Test Authoring Agent","short":"T2T Authoring Agent"},"http":{"label":"HTTP-Anfrage","short":"HTTP-Anfrage"},"visual":{"label":"Text2Test Visuelle Prüfung","short":"T2T Visuelle Prüfung"},"script":{"label":"Text2Test Scripting Agent","short":"T2T Scripting Agent"},"auto":{"label":"Text2Test Autopilot","short":"T2T Autopilot"}},"addSource":{"prompt":{"desc":"Vom reinen Text zum Testfall. Das native Text2Test-Modell kompiliert deterministische Schritte."},"authored":{"desc":"Klartext zum Testfall, geschrieben von einem KI-Agenten, der den Bildschirm liest und jeden Schritt prüft."},"script":{"desc":"Fügen Sie ein vorhandenes Skript ein oder generieren Sie eines automatisch aus reinem Text; es läuft inline mit dem Test."},"auto":{"desc":"Ãbergeben Sie komplexe, logiklastige Abläufe an ein LLM."},"visual":{"desc":"Screenshot-Vergleich oder Sichtbarkeitsprüfung eines Elements."},"http":{"desc":"Rufen Sie eine API auf und prüfen Sie die Antwort."}},"placeholder":{"prompt":"Beschreiben Sie in natürlicher Sprache, was passieren sollâ¦\\nZ. B. auf \\"Anmelden\\" klicken, E-Mail eingeben, auf das Dashboard warten.","authored":"Beschreibe, was dieser Schritt tun sollâ¦\\nDer Agent liest den Bildschirm, schreibt die Schritte und prüft jeden.","visual":"Beschreiben Sie, was visuell geprüft werden soll.\\nZ. B. Dashboard-Header ist sichtbar, obere 120px, Toleranz 0,2 %.","auto":"Beschreiben Sie ein übergeordnetes Ziel für Autopilot.\\nZ. B. Onboarding abschlieÃen, max. 8 Aktionen.","script":"// Playwright \`page\` ist verfügbar - geben Sie boolean für Pass/Fail zurück.\\n// z. B. return await page.locator('h1').isVisible();"},"showCompiledActions":"Kompilierte Aktionen anzeigen","hideCompiledActions":"Kompilierte Aktionen ausblenden","showRunScreenshots":"Run-Screenshots anzeigen","hideRunScreenshots":"Run-Screenshots ausblenden","moveUp":"Nach oben","moveDown":"Nach unten","deleteSequence":"Sequenz löschen","replaceReferenceVisual":"Referenz hochgeladen - ersetzen","uploadReferenceVisual":"Referenzbild hochladen","openScriptStudio":"Script Studio öffnen","saveSequence":"Schritt speichern","saveAndCompile":"Speichern und in Aktionen kompilieren","unsavedBadge":"Nicht gespeichert","compilingBadge":"Wird kompiliertâ¦","savingBadge":"Wird gespeichertâ¦","unsavedLeaveSaving":"Ihre Schritte werden in Aktionen kompiliert - das kann einen Moment dauern.","runThisSequence":"Diese Sequenz ausführen","stepScriptAria":"Schritt {index} Script","stepPromptAria":"Schritt {index} Prompt","scriptAskPlaceholder":"KI bitten, zu schreiben oder zu ändernâ¦","scriptChatPlaceholder":"KI bitten, zu schreiben oder zu ändern⦠( / für Befehle )","scriptChatRunInProgress":"Testlauf läuft - der Chat ist danach wieder verfügbar","askAi":"KI fragen","send":"Senden","text2testAssistant":"Text2Test Assistent","scriptPageState":{"live":"Live-Seite","noPage":"keine Seite","noExtension":"keine Erweiterung"},"scriptLoadingConversation":"Konversation wird geladenâ¦","scriptEmptyReady":"Bitten Sie den Assistenten, die Seite zu prüfen und Playwright-Code in den Editor zu schreiben.","scriptEmptyNoExtension":"Ãffnen Sie die Erweiterung auf einer Live-Seite, damit der Assistent den Bildschirm sehen kann. Vorerst kann er weiterhin beim Code helfen.","scriptCommandCompactDesc":"Konversation zusammenfassen, um Kontext freizugeben","scriptCommandCompactHint":"mindestens 4 Nachrichten erforderlich","scriptCommandClearDesc":"Konversation löschen und Speicher zurücksetzen","scriptCommandClearHint":"noch keine Nachrichten","rewindToHere":"Bis hierhin zurückspulen","scriptCommands":"Befehle","scriptStudio":"Script Studio","promptStudio":"Prompt Studio","authoredEmptyReady":"Sag dem Agenten, was dieser Schritt tun soll. Er liest den Bildschirm, schreibt jeden Text2Test-Satz und führt ihn aus, bevor er ihn behält.","authoredEmptyNoExtension":"Ãffne die Erweiterung auf einer Live-Seite, dann prüft der Agent jeden Satz am echten Bildschirm. Vorerst schreibt er nur nac
66h den Text2Test-Regeln.","promptEditor":"Prompt-Editor","compiledStepsTitle":"Kompilierte Schritte","compiledStepsEmpty":"Noch keine kompilierten Schritte.","openPromptStudio":"Prompt Studio öffnen","stepAuthoredAria":"KI-geschriebener Schritt","authoredAskPlaceholder":"Frag den Authoring-Agentenâ¦","stepNumber":"Schritt {index}","run":"Ausführen","aiProposedChanges":"KI-Ãnderungsvorschläge","reject":"Ablehnen","accept":"Annehmen","scriptEditor":"Script-Editor","resizeEditorChat":"Editor und ChatgröÃe ändern","resizeEditorOutput":"Editor und AusgabegröÃe ändern","reportsLoading":"Berichte werden geladenâ¦","reportsEmpty":"Noch keine Berichte. Führen Sie diesen Test aus, um Ergebnisse hier zu sehen.","reportsCount":"{count} Bericht(e)","reportsSteps":"{passed}/{total} Schritte bestanden","reportsStartDate":"Startdatum","reportsEndDate":"Enddatum","reportsClearDates":"Datumsfilter zurücksetzen","chatConnectFailed":"Verbindung zum Assistenten fehlgeschlagen. Ist der Autopilot-Dienst erreichbar und sind Sie angemeldet?","chatSendFailed":"Die Nachricht konnte nicht gesendet werden.","chatCompactConnectFailed":"Zum Verdichten konnte keine Verbindung zum Assistenten hergestellt werden.","chatCompactFailed":"Die Unterhaltung konnte nicht verdichtet werden.","chatCompacted":"Unterhaltung verdichtet.","chatWarmingUp":"ð Live-Seite wird vorbereitet (vorherige Schritte laufen)â¦"},"results":{"breadcrumbWeb":"Web-Test","title":"Testergebnisse","description":"Jede Web-Testausführung in diesem Arbeitsbereich. Tauchen Sie in jeden Test ein, um seinen Status, die Schrittzeitleiste und die Wiederholung zu sehen.","rangeAll":"Alle Zeiten","range24h":"Letzte 24 Stunden","range7d":"Letzte 7 Tage","range30d":"Letzte 30 Tage","range90d":"Letzte 90 Tage","passRate":"Bestehensquote","ofRuns":"/ {total} Ausführungen","status_passed":"Bestanden","status_failed":"Fehlgeschlagen","status_running":"Wird ausgeführt","status_stopped":"Gestoppt","status_pending":"Ausstehend","status_error":"Fehlerhaft","searchPlaceholder":"Nach Testnamen, Ausführer, Ausführungs-ID suchenâ¦","filter":"Filter","colTest":"Test","colStatus":"Status","colExecution":"Ausführung","colDuration":"Dauer","colStarted":"Gestartet","colEnvironment":"Umgebung","colExecutor":"Ausführer","execScheduled":"Geplant","execManual":"Manuell","actView":"Details anzeigen","actCopyId":"Ausführungs-ID kopieren","copiedId":"Ausführungs-ID kopiert","truncated":"Zeigt die {shown} aktuellsten Ausführungen von {total}. Verengen Sie den Datumsbereich oder suchen Sie, um ältere Ausführungen zu finden.","noMatch":"Keine Ausführungen entsprechen diesen Filtern.","resetFilters":"Filter zurücksetzen","rowsRuns":"ausführungen","emptyTitle":"Noch keine Ausführungen","emptyMessage":"Wenn Sie einen Web-Test ausführen, landet jede Ausführung hier mit ihrem Status, Timing, Wiederholungsvideo und Schritt-für-Schritt-Diagnosen.","panel":{"runTitle":"Testlauf","actionsLabel":"Aktionen","run":"Ausführen","tabOverview":"Ãbersicht","tabSteps":"Schritte","tabAdminDetail
66s":"Admin-Details","diagnostics":"Diagnosen","summary":"Zusammenfassung","steps":"Schritte","passed":"Bestanden","failed":"Fehlgeschlagen","skipped":"Ãbersprungen","replay":"Wiederholen","screenshots":"Screenshots · {count}","timeline":"Schritt Zeitachse · {ran} ausgeführt, {skipped} übersprungen","loadingSteps":"Lade Schritteâ¦","noSteps":"Keine Schritt Daten für diesen Lauf.","status":"Status","action":"Aktion","context":"Kontext","aiRequest":"KI-Anfrage","aiResponse":"KI-Antwort","screenshot":"Screenshot","noAiRequest":"Keine Anfrage Daten für diesen Schritt.","noAiResponse":"Keine KI-Antwort Daten für diesen Schritt.","noScreenshot":"Kein Screenshot für diesen Schritt aufgenommen.","seeMore":"Mehr sehen","seeLess":"Weniger sehen","copy":"Kopieren","tabConsole":"Konsole","downloadLogs":"Logs herunterladen","tabNetwork":"Netzwerk","loadingLogs":"Lade Protokolleâ¦","noLogs":"Keine Konsolenprotokolle für diesen Lauf.","noLogMatch":"Keine Protokolleinträge stimmen überein.","lvl_all":"Alle","lvl_err":"Fehler","lvl_warn":"Warnung","searchLog":"Protokoll suchenâ¦","errCount":"{count} Fehler","warnCount":"{count} Warnungen","entryCount":"{count} Einträge","loadingNetwork":"Lade Netzwerkâ¦","noNetwork":"Keine Netzwerkaufzeichnung für diesen Lauf.","noNetworkMatch":"Keine Anfragen stimmen überein.","searchUrl":"URL suchenâ¦","onlyErrors":"Nur Fehler","requests":"Anfragen","ofTotal":"von {total}","openVideo":"Video öffnen","backToRequests":"Zurück zu Anfragen","net_headers":"Header","net_payload":"Payload","net_response":"Antwort","net_timing":"Zeitmessung","netGeneral":"Allgemein","netUrl":"Anforderungs-URL","netMethod":"Anforderungsmethode","netStatus":"Statuscode","netRemote":"Remote-Adresse","netResponseHeaders":"Antwort-Header","netRequestHeaders":"Anforderungs-Header","netNoHeaders":"Keine Header erfasst.","netNoPayload":"Kein Anforderungspayload.","netQuery":"Abfragezeichenfolgenparameter","netRequestBody":"Anforderungstext","netNoBody":"Antworttext wurde nicht erfasst.","netNoTiming":"Keine Zeitdaten.","netTotal":"Gesamt","phase_blocked":"Blockiert","phase_dns":"DNS-Abfrage","phase_connect":"Erste Verbindung","phase_ssl":"SSL","phase_send":"Anforderung gesendet","phase_wait":"Warten (TTFB)","phase_receive":"Inhaltsdownload","copyLink":"Ãffentlichen Link kopieren","openTest":"Test öffnen","openInNewTab":"In neuem Tab öffnen","linkCopied":"Ãffentlicher Link kopiert","publicLinkError":"Ãffentlichen Link konnte nicht erstellt werden","share":"Teilen","rerunTest":"Test erneut ausführen","rerunStarted":"Testwiederholung gestartet","rerunFailed":"Die Wiederholung konnte nicht gestartet werden"},"shareModal":{"title":"Testlauf teilen","whoCanView":"Wer kann ansehen","publicLabel":"Jeder mit dem Link","publicDesc":"Schreibgeschützter Bericht, keine Anmeldung erforderlich. Ideal für Engineers beim Debuggen eines Fehlers.","workspaceLabel":"Nur Workspace","workspaceDesc":"Mitglieder von {name}. Ãffnet direkt in der App.","expiresLabel":"Link läuft ab","expiresOption":"{count, plural, one {# Tag} other {# Tage}}","revokeNote":"Der Zugriff von Betrachtern kann jederzeit in den Testeinstellungen widerrufen werden.","linkLabel":"Freigabelink","copyLink":"Link kopieren","copied":"Kopiert","createError":"Freigabelink konnte nicht erstellt werden","cancel":"Abbrechen","next":"Weiter","done":"Fertig"},"artifacts":{"empty":"Keine Schrittartefakte für diesen Durchlauf.","aiRequest":"KI-Anforderung","aiResponse":"KI-Antwort","screenshot":"Screenshot","refScreenshot":"Referenz","currScreenshot":"Aktuell","prevScreenshot":"Vorherig","noScreenshot":"Kein Screenshot erfasst.","copy":"Kopieren"},"actCopyLink":"Ãffentlichen Link kopieren","copiedLink":"Ãffentlicher Link kopiert","actionsLabel":"Aktionen","logsDownloadFailed":"Protokolle konnten nicht heruntergeladen werden","publicLinkError":"Ãffentlichen Link konnte nicht erstellt werden","deltaPassRate":"{pct}% Bestehensquote","vsPrev":"vs. vorherige 30 Tage","anyone":"Jeder","filterTest":"Test: {name}","clearTestFilter":"Testfilter entfernen","columns":"Spalten","chipAll":"Alle"},"getExtension":{"eyebrow":"Text2Test Chrome-Erweiterung","title":"Tests schreiben, indem Sie sie live sehen","subtitle":"Schreiben Sie einen Schritt als einfachen Text, führen Sie ihn live über die Erweiterung aus und sehen Sie, wie er in einem echten Browser ausgeführt wird. Sehen Sie, was funktioniert, verfeinern Sie, was nicht funktioniert - ganz ohne Ihren Test zu verlassen.","install":"Zu Chrome hinzufügen","installHint":"Kostenlose Installation. Funktioniert mit Ihrem bestehenden Text2Test-Plan.","chromeOnly":"Die Text2Test-Erweiterung läuft ausschlieÃlich in <b>Google Chrome</b>. Andere Browser werden nicht unterstützt.","whatItDoes":"Was die Erweiterung leistet","features":{"watch":{"title":"Tests live beobachten","de
66scription":"Für jeden Testlauf öffnet sich ein eigenes Browserfenster. Sehen Sie jeden Schritt in Echtzeit ausgeführt."},"interact":{"title":"Bei Bedarf eingreifen","description":"Pop-ups schlieÃen, Banner ausblenden, Verifizierungsbildschirme überspringen. Der Test läuft dort weiter, wo Sie aufgehört haben."},"sequences":{"title":"Funktioniert mit allen Sequenztypen","description":"T2T Native, Autopilot, Scripting Agent, Visual Verification und HTTP Request laufen alle über die Erweiterung."}},"installed":{"connected":"Erweiterung verbunden","title":"Alles bereit. Das können Sie jetzt tun.","subtitle":"Drei Dinge, die Sie wissen sollten: Inkognito-Zugriff aktivieren, das Verhalten jedes Laufs steuern und Elemente per Rechtsklick präzise markieren.","step1":{"title":"Erweiterung im Inkognito-Modus zulassen","description":"Klicken Sie nach der Installation der Text2Test-Erweiterung auf Details und aktivieren Sie den Inkognito-Modus. Falls nicht sichtbar, klicken Sie auf das Erweiterungssymbol in der Symbolleiste â Erweiterung verwalten â Im Inkognito-Modus zulassen aktivieren. So kann Text2Test Ihre Tests in einem sauberen, privaten Fenster mit einer frischen Sitzung ausführen.","callout":"Sie finden dies unter chrome://extensions, klicken Sie bei Text2Test auf Details und aktivieren Sie dann Im Inkognito-Modus zulassen.","siteAccess":"Website-Zugriff","siteAccessDesc":"Erlauben Sie dieser Erweiterung, alle Ihre Daten auf besuchten Websites zu lesen und zu ändern:","onAllSites":"Auf allen Websites","siteSettings":"Website-Einstellungen","pinToToolbar":"An Symbolleiste anheften","allowIncognito":"Im Inkognito-Modus zulassen","allowIncognitoDesc":"Warnung: Google Chrome kann nicht verhindern, dass Erweiterungen Ihren Browserverlauf aufzeichnen. Um diese Erweiterung im Inkognito-Modus zu deaktivieren, entfernen Sie diese Option.","allowFileUrls":"Zugriff auf Datei-URLs zulassen","collectErrors":"Fehler sammeln","source":"Quelle","sourcePath":"Entpackte Erweiterung · Geladen von: ~/Downloads/extension-main-latest"},"step2":{"title":"Das Verhalten jedes Laufs steuern","description":"Ãffnen Sie einen beliebigen Web-Test und Sie finden das Browser-Erweiterung-Panel. Schalten Sie die Optionen unten um, um zu sehen, was jede davon bewirkt. Klicken Sie auf einen Schalter, um es auszuprobieren.","mockCrumb":"Tests / Checkout regression","mockTitle":"Checkout regression","mockNavOverview":"Ãbersicht","mockNavTestEditor":"Test-Editor","mockGroupMobileTest":"Mobiler Test","mockNavDevicePark":"Geräte-Park","mockClose":"SchlieÃen","mockInfo":"Weitere Informationen","replay":"Wiederholen"},"step3":{"title":"Elemente per Rechtsklick präzise markieren","description":"Klicken Sie im Erweiterungsfenster mit der rechten Maustaste auf ein beliebiges Element und fahren Sie über Text2Test, um es zu markieren. Die Markierung fixiert das genaue Element, sodass ein Schritt exakt das Richtige anklickt - selbst wenn die Seite ähnlich aussehende Elemente enthält.","taggedButtonLabel":"Neues Projekt","taggedBadge":"Markiert","whyTagTitle":"Warum markieren?","whyTagBody":"Eine Markierung bindet einen Schritt an genau ein Element. Sie macht Klicks präzise und hält Tests stabil, wenn sich eine Seite drumherum ändert.","whyTagSteps":{"step1":"Klicken Sie im Erweiterungsfenster mit der rechten Maustaste auf das Element.","step2":"Fahren Sie im Menü über <code>Text2Test</code>.","step3":"Wählen Sie <code>Label</code>, dann <code>Single</code> oder <code>Multiple</code>.","step4":"Das Element ist markiert und bereit für die Verwendung in einem Schritt."},"replay":"Wiederholen"}}},"doc":{"breadcrumb":"Web-Test","title":"Web-Test","lead":"Erstellen, führen Sie aus und teilen Sie browserbasierte UI-Tests mit Prompts in natürlicher Sprache - von Ihrem ersten Test über die Browser-Erweiterung bis zu Datenquellen und Sequenzen.","onThisPage":"Auf dieser Seite","copy":"Kopieren","copied":"Kopiert","calloutInfo":"Hinweis","calloutTip":"Tipp","calloutWarning":"Wic
66htig","cta":"Neuer Web-Test","updated":"Aktualisiert im Juli 2026"}},"mobile":{"earlyAccess":{"eyebrow":"Mobil-Test · Early Access","title":"Testen endet nicht im Browser","subtitle":"Text2Test deckt auch Mobile ab. Dieselbe Testerstellung in natürlicher Sprache und spezialisierte KI-Modelle für Softwaretests, jetzt auch für Ihre iOS- und Android-Apps. Wir rollen zuerst den Web-Self-Service aus â Mobile ist für Teams, die es möchten, schon heute verfügbar.","chip":"iOS und Android, heute verfügbar","ctaDemo":"Demo anfragen","ctaEarly":"Early Access erhalten","earlyDone":"Sie stehen auf der Liste","ctaHint":"Keine Verpflichtung. Wir melden uns per E-Mail, bevor wir etwas aktivieren.","s1Title":"Ein Ansatz, jede Oberfläche","s1Body":"Web und Mobile sollten nicht zwei verschiedene Testtools, zwei Workflows und zwei Teams bedeuten. Text2Test nutzt für beide dasselbe Modell zur Testerstellung â was Ihr Team im Web lernt, überträgt sich direkt auf Mobile. Schreiben Sie den Test einmal in natürlicher Sprache und überlassen Sie der Plattform den Rest.","benefitsLabel":"Was Ihnen mobiles Testen bringt","benefits":{"devices":"Echte Geräteabdeckung für iOS und Android, nicht nur emulierte Bildschirme","steps":"Dieselben Testschritte in natürlicher Sprache, die Ihr Team bereits für Web nutzt","once":"Einen Test einmal schreiben und auf iOS und Android ausführen â keine doppelten Suiten","reports":"Berichte für schnelle Fehlerbehebung, mit Aufzeichnungen und vollständigen Logs zu jedem Lauf"},"s3Title":"Warum zuerst Web","s3Body":"Wir haben zuerst den Web-Self-Service gestartet, um die Erfahrung einfach zu halten und sie richtig umzusetzen. Mobiles Testen ist für Teams, die es brauchen, bereits live â gemeinsam mit uns eingerichtet, damit es vom ersten Tag an zu Ihrem Release-Prozess passt. Mit dem Ausbau des Self-Service wird Mobile Teil der Pläne, die Sie bereits kennen.","closingTitle":"Bereit, Ihre mobile App zu testen?","closingBody":"Sprechen Sie mit uns darüber, Text2Test in Ihre iOS- und Android-Releases zu bringen. Wir begleiten Sie dabei und richten alles ein."}},"settings":{"profiles":{"breadcrumbSettings":"Einstellungen","title":"Einstellungsprofile","description":"Wiederverwendbare Bündel von Ausführungseinstellungen, die auf Ihre Tests auf Eingabeaufforderungs-, allgemeiner, Team- oder Unternehmensebene angewendet werden.","newProfile":"Neues Profil","searchPlaceholder":"Profile suchenâ¦","filterType":"Typ","colName":"Name","colType":"Bereich","colDescription":"Beschreibung","colCreated":"Erstellt","colSettings":"Einstellungen","settingsCount":"{count, plural, =0 {Keine Einstellungen} one {# Einstellung} other {# Einstellungen}}","rowsProfiles":"Profile","actEdit":"Bearbeiten","actCopyId":"ID kopieren","actDelete":"Löschen","copiedId":"Profil-ID kopiert","emptyTitle":"Noch keine Einstellungsprofile","emptyMessage":"Erstellen Sie Ihr erstes Einstellungsprofil, um die Ausführungseinstellungen auf Eingabeaufforderungs-, Team- oder Unternehmensebene zentral zu verwalten.","emptyCta":"Einstellungsprofil erstellen","noMatch":"Keine Profile entsprechen Ihren Filtern.","resetFilters":"Filter zurücksetzen","deleteTitle":"Einstellungsprofil löschen","deleteMessage":"Sind Sie sicher, dass Sie â{name}â löschen möchten? Tests, die an dieses Profil gebunden sind, fallen auf weniger priorisierte Einstellungen zurück. Dies kann nicht rückgängig gemacht werden.","deleteConfirm":"Löschen","deleteCancel":"Abbrechen","deleted":"Einstellungsprofil gelöscht","deleteFailed":"Löschen des Einstellungsprofils fehlgeschlagen","loadFailed":"Laden der Einstellungsprofile fehlgeschlagen","typeGeneral":"Allgemein","typeTeam":"Team","typeCompany":"Unternehmen","typePrompt":"Eingabeaufforderung"},"editor":{"breadcrumbSettings":"Einstellungen","breadcrumbProfiles":"Einstellungsprofile","titleCreate":"Neues Einstellungsprofil","titleEdit":"Einstellungsprofil bearbeiten","back":"Zurück zu Profilen","cancel":"Abbrechen","save":"Speichern","saving":"Speichernâ¦","labelName":"Name","placeholderName":"Profilname","labelType":"Bereich","placeholderType":"Bereich auswählen","labelDescription":"Beschreibung","placeholderDescription":"Kurze Beschreibung (optional)","labelBody":"Einstellungen","placeholderBody":"timeout::30000\\nretryCount::2\\nheadless::true","bodyHint":"Eine Einstellung pro Zeile im Format key::value. Durch Leerzeichen getrennte Tokens werden beim Speichern anal
66ysiert.","typeHintTitle":"Bereichspriorität","typeHint":"Wenn der gleiche Schlüssel aus mehreren Profilen aufgelöst wird, gewinnt der Bereich mit höherer Priorität: Prompt > Allgemein > Team > Unternehmen.","typeGeneral":"Allgemein","typeTeam":"Team","typeCompany":"Unternehmen","typePrompt":"Prompt","nameRequired":"Ein Profilname ist erforderlich.","created":"Einstellungsprofil erstellt","updated":"Einstellungsprofil aktualisiert","saveFailed":"Speichern des Einstellungsprofils fehlgeschlagen","loadFailed":"Laden dieses Einstellungsprofils fehlgeschlagen."},"vault":{"breadcrumb":"Einstellungen","title":"Vault-Profile","description":"Verbinden Sie Ihren Vault-Anbieter, um Geheimnisse während der Testausführung sicher aufzulösen, ohne sie zu speichern.","newProfile":"Vault-Profil hinzufügen","searchPlaceholder":"Vault-Profile suchenâ¦","kpiTotal":"Gesamtprofile","kpiProviders":"Anbieter","kpiDefaults":"Standards","kpiCompany":"Unternehmensbereich","colName":"Name","colProvider":"Anbieter","colUrl":"URL","colScope":"Bereich","colDefault":"Standard","scopeCompany":"Unternehmen","scopeTeam":"Team","defaultYes":"Standard","rowsProfiles":"profile","noMatch":"Keine Vault-Profile entsprechen Ihrer Suche.","resetSearch":"Suche zurücksetzen","emptyTitle":"Noch keine Vault-Profile","emptyMessage":"Verbinden Sie Ihren Vault-Anbieter, um Geheimnisse während der Testausführung sicher aufzulösen, ohne sie zu speichern.","actEdit":"Bearbeiten","actTestConnection":"Verbindung testen","actCopyId":"ID kopieren","actDelete":"Löschen","copiedId":"Vault-Profil-ID kopiert","connectionSuccess":"Verbindungstest erfolgreich","connectionFailed":"Verbindungstest fehlgeschlagen","created":"Vault-Profil erstellt","createFailed":"Erstellung des Vault-Profils fehlgeschlagen","updated":"Vault-Profil aktualisiert","updateFailed":"Aktualisierung des Vault-Profils fehlgeschlagen","deleted":"Vault-Profil gelöscht","deleteFailed":"Löschen des Vault-Profils fehlgeschlagen","deleteTitle":"Vault-Profil löschen","deleteMessage":"â{name}â löschen? Tests, die dieses Profil verwenden, können Geheimnisse nicht auflösen. Dies kann nicht rückgängig gemacht werden.","deleteCancel":"Abbrechen","deleteConfirm":"Löschen","createTitle":"Vault-Profil hinzufügen","editTitle":"Vault-Profil bearbeiten","fieldName":"Name","namePlaceholder":"z. B. production-vault","fieldProvider":"Anbieter","providerHashicorp":"HashiCorp Vault","providerAws":"AWS Secrets Manager","providerAzure":"Azure Key Vault","providerCyberark":"CyberArk Conjur","fieldUrl":"URL","urlPlaceholder":"z. B. https://vault.example.com","tokenVault":"Vault-Token","tokenAws":"AWS Bearer-Token","tokenAzure":"Azure AD-Token","tokenCyberark":"Login & API-Schlüssel","tokenPlaceholderHashicorp":"Geben Sie Ihr HashiCorp Vault-Token ein","tokenPlaceholderAws":"Geben Sie Ihr AWS Bearer- oder STS-Token ein","tokenPlaceholderAzure":"Geben Sie Ihr Azure AD Bearer-Token ein","tokenPlaceholderCyberark":"login:api_key (z. B. admin:2ab3xyâ¦)","tokenHint":"Leer lassen, um das vorhandene Token beizubehalten.","fieldNamespace":"Namespace","namespacePlaceholderHashicorp":"z. B. admin/team-a","namespacePlaceholderCyberark":"Conjur-Konto (z. B. default)","fieldPathPrefix":"Pfadpräfix","pathPrefixPlaceholder":"z. B. secret/data/myapp","fieldScope":"Bereich","fieldDescription":"Beschreibung","descriptionPlaceholder":"Optionale Beschreibungâ¦","fieldIsDefault":"Standardprofil","isDefaultHint":"Dieses Profil wird automatisch ausgewählt, wenn Vault-Parameter hinzugefügt werden.","cancel":"Abbrechen","save":"Speichern","update":"Aktualisieren"},"apiKeys":{"title":"API-Schlüssel","subtitle":"API-Schlüssel für programmatischen Zugriff auf Text2Test erstellen und verwalten.","searchPlaceholder":"Nach Name oder Schlüssel suchenâ¦","createButton":"API-Schlüssel erstellen","emptyTitle":"Noch keine API-Schlüssel","emptyDescription":"Erstellen Sie API-Schlüssel für programmatischen Zugriff auf die Text2Test-API für CI/CD, Automatisierung und Integrationen.","colName":"Name","colKey":"Schlüssel","colPermissions":"Berechtigungen","colStatus":"Status","colCreated":"Erstellt","colExpires":"Läuft ab","statusActive":"Aktiv","statusInactive":"Inaktiv","never":"Nie","fullAccess":"Vollzugriff","actionActivate":"Aktivieren","actionDeactivate":"Deaktivieren","actionRevoke":"Widerrufen","toggleSuccess":"API-Schlüssel-Status aktualisiert.","toggleError":"API-Schlüssel-Status konnte nicht aktualisiert werden.","revokeSuccess":"API-Schlüssel widerrufen.","revokeError":"API-Schlüssel konnte nicht widerrufen werden.","revokeConfirmTitle":"API-Schlüssel widerrufen","revokeConfirmMessage":"Diese Aktion kann nicht rückgängig gemacht werden. Integrationen, die diesen Schlüssel verwenden, funktionieren sofort nicht mehr.","createSuccess":"API-Schlüssel erstellt.","createError":"API-Schlüssel konnte nicht erstellt werden.","createTitle":"API-Schlüssel erstellen","createDescription":"Konfigurieren Sie Ihren neuen API-Schlüssel mit Name, Berechtigungen und Ablaufdatum.","nameLabel":"Name","namePlaceholder":"z.B.
66CI/CD-Pipeline","permissionsLabel":"Berechtigungen","template_fullAccess":"Vollzugriff","template_cicd":"CI/CD","template_testRunner":"Test-Runner","template_readOnly":"Nur Lesen","template_reportViewer":"Berichtanzeige","template_custom":"Benutzerdefiniert","expirationLabel":"Ablauf","expiryPreset_week1":"1 Woche","expiryPreset_weeks2":"2 Wochen","expiryPreset_month1":"1 Monat","expiryPreset_months3":"3 Monate","expiryPreset_months6":"6 Monate","expiryPreset_custom":"Benutzerdefiniert","validityLabel":"Gültigkeit (Tage)","validityMaxError":"Darf 180 Tage (6 Monate) nicht überschreiten","cancel":"Abbrechen","revealTitle":"Ihr API-Schlüssel","revealWarning":"Kopieren Sie diesen Schlüssel jetzt. Sie können ihn nicht erneut sehen!","done":"Fertig"},"mcpServers":{"breadcrumb":"Einstellungen","title":"MCP-Server","description":"Verbinden Sie MCP-Server, um Ihren KI-Assistenten mit benutzerdefinierten Tools und Funktionen zu erweitern.","newServer":"MCP-Server hinzufügen","searchPlaceholder":"MCP-Server suchenâ¦","filterScope":"Bereich","colName":"Name","colUrl":"URL","colScope":"Bereich","colEnabled":"Aktiviert","colUseInChat":"Im Chat verwenden","colCreated":"Erstellt","rowsServers":"Server","kpiTotal":"Gesamtanzahl der Server","kpiEnabled":"Aktiviert","kpiChat":"Chat-fähig","kpiTeam":"Team-spezifisch","scopeTeam":"Team","scopeCompany":"Unternehmen","actEdit":"Bearbeiten","actTestConnection":"Verbindung testen","actCopyId":"ID kopieren","actDelete":"Löschen","copiedId":"Server-ID kopiert","emptyTitle":"Noch keine MCP-Server","emptyMessage":"Verbinden Sie MCP-Server, um Ihren KI-Assistenten mit benutzerdefinierten Tools und Funktionen zu erweitern.","emptyCta":"MCP-Server hinzufügen","noMatch":"Keine Server entsprechen Ihren Filtern.","resetFilters":"Filter zurücksetzen","deleteTitle":"MCP-Server löschen","deleteMessage":"â{name}â löschen? Tests, die diesen Server verwenden, verlieren den Zugriff auf dessen Tools. Dies kann nicht rückgängig gemacht werden.","deleteConfirm":"Löschen","deleteCancel":"Abbrechen","deleted":"MCP-Server gelöscht","deleteFailed":"Löschen des MCP-Servers fehlgeschlagen","loadFailed":"Laden der MCP-Server fehlgeschlagen","createTitle":"Neuer MCP-Server","createSubtitle":"Verbinden Sie einen neuen MCP-Server, um die KI-Funktionen zu erweitern.","editTitle":"MCP-Server bearbeiten","editSubtitle":"Servereinstellungen und Verbindungsdetails aktualisieren.","labelName":"Name","placeholderName":"z.B. Meine benutzerdefinierten Tools","labelUrl":"URL","placeholderUrl":"z.B. https://mcp.example.com/sse","labelScope":"Bereich","scopeTeamHint":"Nur für das aktuelle Team verfügbar.","scopeCompanyHint":"Für alle Teams im Unternehmen verfügbar.","labelDescription":"Beschreibung","placeholderDescription":"Kurze Beschreibung (optional)","labelEnabled":"Aktiviert","labelUseInChat":"Im Chat verwenden","labelHeaders":"Benutzerdefinierte Header","addHeader":"Header hinzufügen","headerKey":"Header-Name","headerValue":"Header-Wert","noHeaders":"Keine benutzerdefinierten Header konfiguriert.","testConnection":"Verbindung testen","testSuccess":"Verbindung erfolgreich","testFailed":"Verbindung fehlgeschlagen","cancel":"Abbrechen","save":"Speichern","create":"Erstellen","saving":"Speichernâ¦","created":"MCP-Server erstellt","updated":"MCP-Server aktualisiert","saveFailed":"Fehler beim Speichern des MCP-Servers","nameRequired":"Ein Servername ist erforderlich.","urlRequired":"Eine Server-URL ist erforderlich."},"doc":{"breadcrumb":"Einstellungen","title":"Einstellungsprofile","lead":"Jede Einstellung, die Sie auf der Plattform anpassen können - Ausführung, Browser, Wartezeiten, KI-Zuordnung, Lokalisierung, Video und Mobil - mit akzeptierten Werten, Standardwerten und Beispielen.","onThisPage":"Auf dieser Seite","copy":"Kopieren","copied":"Kopiert","calloutInfo":"Hinweis","calloutTip":"Tipp","calloutWarning":"Wic
66htig","cta":"Erstellen Sie ein Einstellungsprofil","updated":"Aktualisiert am 2. Juni 2026"},"nav":{"aria":"Einstellungen","breadcrumb":"Einstellungen","groupPersonal":"Persönlich","account":"Konto","billingPlan":"Abrechnung & Plan","security":"Sicherheit","help":"Hilfe","notifications":"Benachrichtigungen"},"account":{"title":"Konto","subtitle":"Verwalten Sie Ihr Profil, Passwort und persönliche Einstellungen.","ownerBadge":"Besitzer","changePhoto":"Foto ändern","comingSoon":"Das ist noch nicht mit dem Backend verbunden.","detailsTitle":"Persönliche Daten","detailsDesc":"Aktualisieren Sie Ihren Namen und wie Sie im Arbeitsbereich erscheinen.","detailsFootnote":"Ãnderungen gelten für jeden Arbeitsbereich, zu dem Sie gehören.","saveChanges":"Ãnderungen speichern","saved":"Profil aktualisiert.","saveFailed":"Konnte Ihr Profil nicht speichern.","fullName":"Vollständiger Name","jobTitle":"Berufsbezeichnung","optional":"Optional","emailAddress":"E-Mail-Adresse","emailHint":"Wird für die Anmeldung und Benachrichtigungen verwendet.","emailChangeNote":"Um Ihre E-Mail zu ändern, kontaktieren Sie [email protected].","phone":"Telefon","timezone":"Zeitzone","language":"Sprache","passwordTitle":"Passwort","passwordDesc":"Legen Sie ein neues Passwort fest. Wir empfehlen mindestens 12 Zeichen.","passwordFootnote":"Sie bleiben auf diesem Gerät angemeldet.","updatePassword":"Passwort aktualisieren","currentPassword":"Aktuelles Passwort","newPassword":"Neues Passwort","confirmPassword":"Neues Passwort bestätigen","toggleVisibility":"Passwortsichtbarkeit umschalten","passwordSaved":"Passwort aktualisiert.","passwordSaveFailed":"Ihr Passwort konnte nicht aktualisiert werden.","passwordRequired":"Füllen Sie alle Passwortfelder aus.","passwordMismatch":"Die neuen Passwörter stimmen nicht überein."},"members":{"title":"Mitglieder","subtitle":"Verwalten Sie, wer auf den {workspace} Arbeitsbereich zugreifen kann.","seatsTitle":"Plätze","seatsDesc":"Ihr Plan umfasst bis zu {limit} Plätze. Fügen Sie Mitglieder hinzu, um an Tests und Plänen zusammenzuarbeiten.","seatsUsed":"verwendete Plätze","seatsFootnote":"Brauchen Sie mehr Plätze? Aktualisieren Sie Ihren Plan oder sprechen Sie mit dem Vertrieb.","membersTitle":"Mitglieder","membersDesc":"Personen mit Zugriff auf den {workspace} Arbeitsbereich.","inviteMember":"Mitglied einladen","empty":"Noch keine Mitglieder.","colMember":"Mitglied","colRole":"Rolle","colLastActive":"Zuletzt aktiv","you":"Sie","roleAdmin":"Admin","roleMember":"Mitglied","roleOwner":"Eigentümer","makeAdmin":"Admin machen","makeMember":"Mitglied machen","removeMember":"Mitglied entfernen","roleUpdated":"Die Rolle von {name} wurde aktualisiert.","roleUpdateFailed":"Die Rolle konnte nicht aktualisiert werden.","memberRemoved":"{name} wurde aus dem Arbeitsbereich entfernt.","memberRemoveFailed":"Dieses Mitglied konnte nicht entfernt werden.","removeConfirmTitle":"Mitglied entfernen?","removeConfirmBody":"{name} verliert den Zugriff auf diesen Arbeitsbereich und gibt einen Platz frei. Dies kann nicht rückgängig gemacht werden.","removeConfirmCancel":"Abbrechen","removeConfirmConfirm":"Entfernen","pendingTitle":"Ausstehende Einladungen","pendingDesc":"Personen, die eingeladen wurden, aber noch nicht beigetreten sind.","pendingBadge":"Ausstehend","resend":"Erneut senden","revoke":"Widerrufen","invitedToday":"Heute eingeladen","invitedDaysAgo":"Vor {days, plural, one {# Tag} other {# Tagen}} eingeladen","inviteResent":"Einladung an {email} erneut gesendet.","inviteResendFailed":"Die Einladung konnte nicht erneut gesendet werden.","inviteRevoked":"Die Einladung für {email} wurde widerrufen.","inviteRevokeFailed":"Die Einladung konnte nicht widerrufen werden."},"security":{"title":"Sicherheit","subtitle":"Zwei-Faktor-Authentifizierung und aktive Sitzungen.","comingSoon":"Das ist noch nicht mit dem Backend verbunden.","twoFactorTitle":"Zwei-Faktor-Authentifizierung","twoFactorDesc":"Fügen Sie einen zweiten Schritt beim Anmelden mit einer Authentifizierungs-App hinzu.","authenticatorApp":"Authentifizierungs-App","on":"Ein","off":"Aus","configured":"Mit einer Authentifizierungs-App konfiguriert.","notConfigured":"Nicht konfiguriert","viewBackupCodes":"Sichern Sie Sicherungscodes","sessionsTitle":"Aktive Sitzungen","sessionsDesc":"Geräte, die derzeit bei Ihrem Konto angemeldet sind.","signOutAll":"Alle abmelden","thisDevice":"Dieses Gerät","revoke":"Widerrufen"},"notifications":{"title":"Benachrichtigungen","subtitle":"Entscheiden Sie, was in Ihrem Posteingang und im In-App-Posteingang ankommt.","cardTitle":"Benachrichtigungen","cardDesc":"Wählen Sie, über was Sie benachrichtigt werden und wo. Kritische Rechnungsbelege werden immer per E-Mail gesendet.","email":"E-Mail","inApp":"In-App","footnote":"Gilt nur für Ihr Konto.","save":"Einstellungen speichern","saved":"Benachrichtigungseinstellungen gespeichert.","rows":{"testFailures":{"label":"Testlauf-Fehler","desc":"Wenn ein Webtest oder Planlauf mit Fehlern oder Problemen endet."},"planCompletion":{"label":"Planabschluss","desc":"Wenn ein geplanter Automatisierungsplan einen vollständigen Lauf abschlieÃt."},"weeklyDigest":{"label":"Wöchentlicher Ãberblick","desc":"Eine Zusammenfassung am Montag über Bestehensquote, fehlerhafte Tests und Nutzung."}
66,"usageLimits":{"label":"Nutzungsgrenzen","desc":"Wenn Sie 80 % / 100 % Ihres monatlichen Testfallkontingents erreichen."},"billingInvoices":{"label":"Abrechnung & Rechnungen","desc":"Zahlungsbelege, Verlängerungen und Warnungen bei fehlgeschlagenen Zahlungen."},"productUpdates":{"label":"Produktupdates","desc":"Neue Funktionen, Ãnderungen und Tipps."}}}},"tools":{"doc":{"breadcrumb":"Werkzeuge","title":"Werkzeuge","lead":"Datenquellen, gespeicherte HTTP-Anfragen und Element-Tags - die wiederverwendbaren Bausteine, auf die Ihre Tests und Pläne zurückgreifen.","onThisPage":"Auf dieser Seite","copy":"Kopieren","copied":"Kopiert","calloutInfo":"Hinweis","calloutTip":"Tipp","calloutWarning":"Wichtig","cta":"Neue Datenquelle","updated":"Aktualisiert am 2. Juni 2026"},"testTags":{"breadcrumb":"Werkzeuge","title":"Test-Tags","description":"Farbige Labels, die Sie Tests oder Verzeichnissen zuweisen, um Ihre Testsuite zu organisieren, zu filtern und zu gruppieren.","newTag":"Tag erstellen","searchPlaceholder":"Tags suchenâ¦","allowUsersLabel":"Benutzern erlauben, Tags zu verwalten","colName":"Name","colColor":"Farbe","colType":"Typ","typeEntity":"Entitätsgebunden","typeDirectory":"Verzeichnisgebunden","rowsTags":"Tags","noMatch":"Keine Tags entsprechen Ihrer Suche.","resetSearch":"Suche zurücksetzen","emptyTitle":"Noch keine Test-Tags","emptyMessage":"Erstellen Sie Ihr erstes Tag, um Tests und Verzeichnisse zu organisieren.","actEdit":"Bearbeiten","actDelete":"Löschen","deleteTitle":"Test-Tag löschen","deleteMessage":"â{name}â löschen? Tests, die dieses Tag verwenden, verlieren das Label. Dies kann nicht rückgängig gemacht werden.","deleteConfirm":"Löschen","deleteCancel":"Abbrechen","deleted":"Test-Tag gelöscht","deleteFailed":"Löschen des Test-Tags fehlgeschlagen","createTitle":"Test-Tag erstellen","editTitle":"Test-Tag bearbeiten","fieldName":"Name","namePlaceholder":"z.B. Smoke, Regression, Login","fieldType":"Typ","fieldColor":"Farbe","cancel":"Abbrechen","save":"Speichern","createBtn":"Erstellen","created":"Test-Tag erstellt","updated":"Test-Tag aktualisiert","saveFailed":"Speichern des Test-Tags fehlgeschlagen","duplicateName":"Ein Tag mit diesem Namen existiert bereits","nameRequired":"Tag-Name ist erforderlich","permissionEnabled":"Benutzer können jetzt Tags verwalten","permissionDisabled":"Nur Administratoren können Tags verwalten","permissionFailed":"Aktualisierung der Berechtigung fehlgeschlagen"},"elementTags":{"breadcrumb":"Werkzeuge","title":"Element-Tags","de
66scription":"Benannte, stabile Selektoren, die von der Browsererweiterung und dem mobilen Inspektor erfasst werden, damit Ihre Schritte adressierbar bleiben, während sich das DOM verschiebt.","searchPlaceholder":"Nach Name oder Selektor suchenâ¦","filterType":"Typ","filterPlatform":"Plattform","colName":"Name","colSelector":"Selektor","colType":"Typ","colPlatform":"Plattform","rowsTags":"Tags","actView":"Anzeigen","actCopySelector":"Selektor kopieren","actDelete":"Löschen","copiedSelector":"Selektor kopiert","emptyTitle":"Noch keine Element-Tags","emptyMessage":"Element-Tags werden von der Browsererweiterung und dem mobilen Inspektor erfasst - sie erscheinen hier, sobald Sie Elemente beim Erstellen von Tests taggen.","noMatch":"Keine Tags entsprechen Ihren Filtern.","resetFilters":"Filter zurücksetzen","deleteTitle":"Element-Tag löschen","deleteMessage":"â{name}â löschen? Schritte, die auf dieses Tag verweisen, fallen auf ihren Inline-Selektor zurück. Dies kann nicht rückgängig gemacht werden.","deleteConfirm":"Löschen","deleteCancel":"Abbrechen","deleted":"Element-Tag gelöscht","deleteFailed":"Löschen des Element-Tags fehlgeschlagen","loadFailed":"Laden der Element-Tags fehlgeschlagen","typeLabel":"Bezeichnung","typeWait":"Warten, bis es verschwindet","typeExclude":"AusschlieÃen","typePredefined":"Vordefiniert","platformWeb":"Web","platformMobile":"Mobil","platformIos":"iOS","platformAndroid":"Android","panelSelector":"Selektor","panelXpath":"XPath","panelFullXpath":"Vollständiger XPath","panelElementId":"Element-ID","panelFrame":"Frame-URL","panelScreenshots":"Screenshots","panelPage":"Seite","panelElement":"Element","panelNoScreenshot":"Kein Screenshot für dieses Tag erfasst."},"dataSources":{"breadcrumb":"Werkzeuge","title":"Datenquellen","description":"Dateien und HTTP-Antworten, die Ihre datengestützten Pläne antreiben - eine Zeile pro Iteration, die im gesamten Arbeitsbereich geteilt wird.","newSource":"Neue Datenquelle","searchPlaceholder":"Datenquellen suchenâ¦","filterFormat":"Format","filterSource":"Quelle","sourceFile":"Datei","sourceHttp":"HTTP","colFormat":"Format","colName":"Name","colSource":"Quelle","colCreated":"Erstellt","rowsSources":"Quellen","kpiTotal":"Gesamtquellen","kpiFile":"Datei-Uploads","kpiHttp":"HTTP-Bindungen","kpiFormats":"Formate","actEdit":"Details bearbeiten","actCopyId":"ID kopieren","actDelete":"Löschen","copiedId":"ID der Datenquelle kopiert","emptyTitle":"Noch keine Datenquellen","emptyMessage":"Laden Sie eine CSV-, XLS-, XLSX-, JSON- oder XML-Datei hoch oder binden Sie eine gespeicherte HTTP-Anfrage, um datengestützte Pläne zu erstellen.","emptyCta":"Neue Datenquelle","noMatch":"Keine Datenquellen entsprechen Ihren Filtern.","resetFilters":"Filter zurücksetzen","deleteTitle":"Datenquelle löschen","deleteMessage":"â{name}â löschen? Pläne und Tests, die damit verbunden sind, werden beim nächsten Lauf fehlschlagen, bis sie erneut gebunden werden. Dies kann nicht rückgängig gemacht werden.","deleteConfirm":"Löschen","deleteCancel":"Abbrechen","deleted":"Datenquelle gelöscht","deleteFailed":"Löschen der Datenquelle fehlgeschlagen","loadFailed":"Laden der Datenquellen fehlgeschlagen","createTitle":"Neue Datenquelle","createSubtitle":"Laden Sie eine Datei hoch oder binden Sie eine gespeicherte HTTP-Anfrage.","editTitle":"Datenquelle bearbeiten","editSubtitle":"Benennen Sie es um, ersetzen Sie die Datei oder binden Sie die HTTP-Anfrage erneut.","currentFile":"Aktuelle Datei","tabFile":"Datei-Upload","tabHttp":"HTTP-Anfrage","dropTitle":"Ziehen Sie eine Datei hierher oder klicken Sie, um zu durchsuchen","dropHint":"Bis zu 10 MB · CSV · XLS · XLSX · JSON · XML","fileReplace":"Ersetzen","fileRemove":"Entfernen","labelName":"Name","placeholderName":"Name der Datenquelle","labelDescription":"Beschreibung","placeholderDescription":"Kurze Beschreibung (optional)","labelFormat":"Format","labelRequest":"HTTP-Anfrage","pickRequest":"Wählen Sie eine gespeicherte Anfrage","noRequests":"Keine gespeicherten HTTP-Anfragen gefunden.","parseAs":"Antwort als parsen","create":"Erstellen","save":"Speichern","cancel":"Abbrechen","saving":"Speichernâ¦","created":"Datenquelle erstellt","updated":"Datenquelle aktualisiert","saveFailed":"Speichern der Datenquelle fehlgeschlagen","uploadFailed":"Datei-Upload fehlgeschlagen","nameRequired":"Ein Name ist erforderlich.","fileRequired":"Wählen Sie eine Datei zum Hochladen aus.","requestRequired":"Wählen Sie eine HTTP-Anfrage zum Binden aus.","actDownload":"Datei herunterladen","actQuickView":"Schnellansicht","downloaded":"Datei heruntergeladen","downloadFailed":"Herunterladen der Datei fehlgeschlagen","quickViewTitle":"{name} ({format})","quickViewLoading":"Vorschau wird geladenâ¦","quickViewError":"Vorschau der Datei konnte nicht geladen werden","quickViewEmpty":"Datei ist leer","quickViewRawFallback":"Datei konnte nicht analysiert werden â rohen Inhalt anzeigen","quickViewRows":"{count, plural, one {# Zeile} other {# Zeilen}}","quickViewCols":"{count, plural, one {# Spalte} other {# Spalten}}","quickViewLines":"{count, plural, one {# Zeile} other {# Zeilen}}"},"httpRequest":{"breadcrumb":"Werkzeuge","title":"HTTP-Anfrage","description":"Gespeicherte API-Aufrufe, die Sie auf Anfrage senden oder in einen Test einfügen können - legen Sie eine Methode, URL, Header, Body und Auth fest und senden Sie, um die Live-Antwort zu überprüfen.","newRequest":"Neue Anfrage","searchPlaceholder":"Nach Name oder URL suchenâ¦","filterMethod":"Methode","colMethod":"Methode","colName":"Name","colUrl":"URL","colUpdated":"Aktualisiert","rowsRequests":"Anfragen","kpiTotal":"Gesamtanfragen","kpiGet":"Lesen (GET)","kpiWrite":"Schreiben","kpiMethods":"Verwendete Methoden","actEdit":"Bearbeiten","actDuplicate":"Duplizieren","actCopyId":"ID kopieren","actDelete":"Löschen","copiedId":"Anfrage-ID kopiert","emptyTitle":"Noch keine gespeicherten Anfragen","emptyMessage":"Erstellen und speichern Sie eine API-Anfrage, die Sie auf Anfrage senden oder aus Ihren Tests referenzieren können.","emptyCta":"Neue Anfrage","noMatch":"Keine Anfragen entsprechen Ihren Filtern.","resetFilters":"Filter zurücksetzen","deleteTitle":"Anfrage löschen","deleteMessage":"â{name}â löschen? Tests und Datenquellen, die darauf verweisen, werden unterbrochen, bis sie neu zugewiesen werden. Dies kann nicht rückgängig gemacht werden.","deleteConfirm":"Löschen","deleteCancel":"Abbrechen","deleted":"Anfrage gelöscht","deleteFailed":"Löschen der Anfrage fehlgeschlagen","loadFailed":"Fehler beim Laden dieser Anfrage.","duplicated":"Anfrage dupliziert","copySuffix":"kopieren","back":"Zurück zu Anfragen","namePlaceholder":"Unbenannte Anfrage","descriptionPlaceholder":"Fügen Sie eine kurze Beschreibung hinzuâ¦","urlPlaceholder":"https://example.com/api","send":"Senden","sending":"Sendenâ¦","save":"Speichern","saving":"Speichernâ¦","saved":"Anfrage gespeichert","saveFailed":"Fehler beim Speichern der Anfrage","sendFailed":"Anfrage konnte nicht gesendet werden","copyCurl":"Als cURL kopieren","copiedCurl":"cURL kopiert","importCurl":"cURL importieren","unsaved":"Nicht gespeicherte Ãnderungen","savedBadge":"Gespeichert","tabParams":"Parameter","tabHeaders":"Header","tabBody":"Body","tabAuth":"Auth","tabSettings":"Einstellungen","kvKey":"Schlüssel","kvValue":"Wert","kvHeader":"Header","kvAddParam":"Parameter hinzufügen","kvAddHeader":"Header hinzufügen","kvEmptyParams":"Keine Abfrageparameter. Fügen Sie einen hinzu oder schlieÃen Sie sie in der URL ein.","kvEmptyHeaders":"Noch keine Header.","bodyNone":"Keine","bodyText":"Text","bodyJson":"JSON","bodyFormData":"Formulardaten","bodyPlaceholder":"{\\n \\"key\\": \\"value\\"\\n}","bodyTextPlaceholder":"Reiner Textinhaltâ¦","bodyFormPlaceholder":"Fügen Sie unten Formularfelder hinzu.","formatJson":"JSON formatieren","invali
66dJson":"Body ist kein gültiges JSON.","formKey":"Schlüssel","formValue":"Wert","formAddField":"Feld hinzufügen","formEmptyFields":"Keine Formularfelder. Fügen Sie ein Schlüssel-Wert-Paar hinzu.","authNone":"Keine Auth","authBearer":"Bearer-Token","authBasic":"Basis-Auth","authApiKey":"API-Schlüssel","authNoneHint":"Diese Anfrage wird ohne Authentifizierung gesendet.","authToken":"Token","authUsername":"Benutzername","authPassword":"Passwort","authKey":"Schlüssel","authValue":"Wert","authAddTo":"Hinzufügen zu","authAddToHeader":"Header","authAddToQuery":"Abfrageparameter","settingFollow":"Weiterleitungen folgen","settingFollowHint":"Folgen Sie automatisch 3xx-Standort-Header.","settingVerifySsl":"SSL-Zertifikat überprüfen","settingVerifySslHint":"Antworten mit einem ungültigen TLS-Zertifikat ablehnen.","responseTitle":"Antwort","responseReady":"Bereit zum Senden","responseReadyHint":"Drücken Sie Senden, um die Anfrage zu senden und die Antwort zu überprüfen.","responseStatus":"Status","responseTime":"Zeit","responseSize":"GröÃe","respBody":"Körper","respHeaders":"Header","respPretty":"Schön","respRaw":"Roh","respCopyBody":"Körper kopieren","respCopied":"In die Zwischenablage kopiert","respCopyFailed":"Kopieren fehlgeschlagen","respExpandTitle":"Headerwert","respCopyValue":"Wert kopieren","tabCurl":"cURL","variables":"Variablen","variablesHintPre":"Werte für","variablesHintPost":"Platzhalter festlegen","variablePlaceholder":"Wertâ¦","variableSecret":"Als geheim markieren","variablePublic":"Als öffentlich markieren","curlAutoGenerated":"Automatisch aus dem Formular generiert. Manuell bearbeiten, um zu überschreiben.","curlApply":"Auf Formular anwenden","curlApplied":"cURL auf Formular angewendet","importTitle":"Von cURL importieren","importSubtitle":"Fügen Sie einen cURL-Befehl ein, um die Methode, URL, Header und den Körper auszufüllen.","importPlaceholder":"curl https://api.example.com/users \\\\\\n -H 'Authorization: Bearer abc123'","import":"Importieren","importFailed":"Konnte diesen cURL-Befehl nicht parsen."},"scenarioFiles":{"breadcrumb":"Werkzeuge","title":"Test-Assets","description":"Hochgeladene Dateien, die für die Verwendung in Szenariostufen verfügbar sind â Skripte, Testdaten oder Referenzdokumente, die im gesamten Arbeitsbereich geteilt werden.","newFile":"Neues Test-Asset","searchPlaceholder":"Test-Assets suchenâ¦","colName":"Name","colDescription":"Beschreibung","colCreatedBy":"Erstellt von","colCreated":"Erstellt","rowsFiles":"Assets","kpiTotal":"Assets gesamt","actEdit":"Details bearbeiten","actDownload":"Datei herunterladen","actCopyId":"ID kopieren","actDelete":"Löschen","copiedId":"Test-Asset-ID kopiert","emptyTitle":"Noch keine Test-Assets","emptyMessage":"Laden Sie eine Datei hoch, um sie für Szenariosteps verfügbar zu machen. Jeder Dateityp ist akzeptiert, bis zu 10 MB.","emptyCta":"Neues Test-Asset","noMatch":"Keine Test-Assets entsprechen Ihrer Suche.","resetFilters":"Filter zurücksetzen","deleteTitle":"Test-Asset löschen","deleteMessage":"â{name}â löschen? Szenarien, die auf diese Datei verweisen, können nicht mehr darauf zugreifen. Dies kann nicht rückgängig gemacht werden.","deleteConfirm":"Löschen","deleteCancel":"Abbrechen","deleted":"Test-Asset gelöscht","deleteFailed":"Löschen des Test-Assets fehlgeschlagen","loadFailed":"Laden der Test-Assets fehlgeschlagen","downloaded":"Datei heruntergeladen","downloadFailed":"Herunterladen der Datei fehlgeschlagen","createTitle":"Neues Test-Asset","createSubtitle":"Laden Sie eine Datei hoch, um sie in Szenarien verfügbar zu machen.","editTitle":"Test-Asset bearbeiten","editSubtitle":"Ãndern Sie den Namen oder die Beschreibung. Die hochgeladene Datei kann nicht ersetzt werden.","dropTitle":"Ziehen Sie eine Datei hierher oder klicken Sie, um zu durchsuchen","dropHint":"Bis zu 10 MB · jeder Dateityp","labelName":"Name","placeholderName":"Name des Test-Assets","labelDescription":"Beschreibung","placeholderDescription":"Kurze Beschreibung (optional)","labelFileKey":"Dateischlüssel","create":"Erstellen","save":"Speichern","cancel":"Abbrechen","saving":"Speichernâ¦","created":"Test-Asset er
66stellt","updated":"Test-Asset aktualisiert","saveFailed":"Speichern des Test-Assets fehlgeschlagen","uploadFailed":"Datei-Upload fehlgeschlagen","nameRequired":"Ein Name ist erforderlich.","fileRequired":"Wählen Sie eine Datei zum Hochladen aus."}},"automation":{"overview":{"breadcrumb":"Automatisierung","title":"Pläne","description":"Gruppieren Sie Tests in Verzeichnissen oder führen Sie sie in Plänen aus. Planen Sie sie, führen Sie sie parallel aus oder lösen Sie sie über CI aus.","newPlan":"Neuer Plan","newDirectory":"Neues Verzeichnis","searchPlaceholder":"Pläne & Verzeichnisse suchenâ¦","colType":"Typ","colName":"Name","colCreated":"Erstellt","colItems":"Elemente","kpiDirectories":"Verzeichnisse","kpiDirectoriesSub":"{count, plural, one {in # Gruppe} other {in # Gruppen}}","kpiPlans":"Pläne","kpiPlansSub":"Läuft in Chromium · Firefox · WebKit","rowsPlans":"pläne","itemsCount":"{count, plural, =0 {empty} one {# Element} other {# Elemente}}","actRun":"Ausführen","actStop":"Stoppen","actResults":"Ergebnisse planen","actEdit":"Bearbeiten","actDelete":"Löschen","actAddPlan":"Plan hinzufügen","actAddDir":"Unterverzeichnis hinzufügen","actRename":"Umbenennen","actMove":"Verschieben","dirPickerLabel":"Verzeichnis","dirMoveHere":"Hierhin verschieben","dirNewHere":"+ Neues Verzeichnis hier","dirSearchPlaceholder":"Verzeichnisse suchenâ¦","dirRoot":"Alle Pläne","running":"Planlauf gestartet","runFailed":"Der Planlauf konnte nicht gestartet werden","stopped":"Plan gestoppt","stopFailed":"Der Plan konnte nicht gestoppt werden","emptyTitle":"Noch keine Pläne","emptyMessage":"Erstellen Sie einen Plan, um eine Gruppe von Tests zusammen auszuführen - auf Abruf oder nach einem Zeitplan.","emptyTour":"Machen Sie eine kurze Tour","emptyCta":"Neuer Plan","noMatch":"Keine Pläne entsprechen Ihrer Suche.","resetSearch":"Suche zurücksetzen","dirTitle":"Neues Verzeichnis","dirTitleSub":"Erstellt in {parent}.","dirTitleRoot":"Erscheint oben in Ihrer Planliste.","dirNamePlaceholder":"Verzeichnisname","dirCreate":"Verzeichnis erstellen","renameTitle":"Verzeichnis umbenennen","rename":"Umbenennen","cancel":"Abbrechen","deleteTitlePlan":"Plan löschen","deleteMessagePlan":"â{name}â löschen? Die Ausführungshistorie wird beibehalten, aber der Plan und sein Zeitplan werden entfernt. Dies kann nicht rückgängig gemacht werden.","deleteTitleDir":"Verzeichnis löschen","deleteMessageDirEmpty":"â{name}â löschen? Dies kann nicht rückgängig gemacht werden.","deleteMessageDirNotEmpty":"â{name}â löschen? Die enthaltenen Pläne werden zuerst in das übergeordnete Verzeichnis verschoben. Dies kann nicht rückgängig gemacht werden.","deleteConfirm":"Löschen","deleted":"Gelöscht","deleteFailed":"Löschen fehlgeschlagen","dirCreated":"Verzeichnis erstellt","renamed":"Verzeichnis umbenannt","saveFailed":"Speichern fehlgeschlagen","dirDuplicateName":"Ein Verzeichnis mit diesem Namen existiert bereits. Bitte einen anderen Namen wählen.","move":"Verschieben","moveDuplicateName":"Im Zielordner existiert bereits ein Element mit diesem Namen.","moveFailed":"Element konnte nicht verschoben werden","colUpdated":"Aktualisiert"},"wizard":{"title":"Plan erstellen","titleIn":"Plan erstellen in {parent}","trackerAsset":"Asset-Typ auswählen","trackerCreate":"Erstellen","trackerReview":"Prüfen & absenden","innerSteps":"Innere Schritte","stepCounter":"Schritt {n}/{total}","reviewSubmit":"Prüfen & absenden","notSet":"Nicht gesetzt","step1":"Plandetails","step1sub":"Name & Optionen","step2":"Tests auswählen","step2sub":"Aus Ihrem Baum wählen","step3":"Tests ordnen","step3sub":"Ausführungsreihenfolge festlegen","hintStep":"Schritt {n} von {total}","labelName":"Planname","placeholderName":"Plannamen eingeben","sectionSchedule":"Zeitplan","scheduleToggle":"Geplante Ausführung","frequency":"Häufigkeit","freqHourly":"Stündlich","freqDaily":"Täglich","freqWeekly":"Wöchentlich","at":"Um","on":"Am","freqMonthly":"Monatlich","dayOfMonth":"Tag des Monats","useCustomCron":"Eigenen Cron verwenden","customCronHint":"Erweitert: Cron-Ausdruck direkt zusammenstellen.","cronUnschedulable":"Dieser Zeitplan ist kein gültiger Cron-Ausdruck und würde nie ausgeführt. Bitte vor dem Speichern korrigieren.","cronStoredInvalid":"Der gespeicherte Zeitplan ist kein gültiger Cron-Ausdruck und wird nie ausgeführt. Wählen Sie einen Zeitplan, um ihn zu korrigieren.","cronEvery":"Jede","cronIn":"im","cronOn":"am","cronAnd":"und","cronAt":"um","cronMinuteSep":":","cronMinutesSuffix":"Minute(n)","cronPeriodYear":"Jahr","cronPeriodMonth":"Monat","cronPeriodWeek":"Woche","cronPeriodDay":"Tag","cronPeriodHour":"Stunde","cronPeriodMinute":"Minute","cronEveryMonth":"jeden Monat","cronEveryMonthDay":"jeden Tag des Monats","cronMonthDayShort":"Tag des Monats","cronEveryWeekDay":"jeden Wochentag","cronWeekDayShort":"Wochentag","cronEveryHour":"jede Stunde","cronEveryMinute":"jede Minute","cronEveryShort":"jede","cronEveryN":"alle {n}","cronClear":"Löschen","cronInvalid":"Ungültiger Cron-Ausdruck","cronPeriodAria":"Wiederholungsintervall","cronMonthsAria":"Monate","cronMonthDaysAria":"Tage des Monats","cronWeekDaysAria":"Wochentage","cronHoursAria":"Stunden","cronMinutesAria":"Minuten","monthJan":"Januar","monthFeb":"Februar","monthMar":"März","monthApr":"April","monthMay":"Mai","monthJun":"Juni","monthJul":"Juli","monthAug":"August","monthSep":"September","monthOct":"Oktober","monthNov":"November","monthDec":"Dezember","sectionTestOptions":"Testoptionen","browsers":"Browser","browsersPlaceholder":"Browser auswählen","parallel":"Parallele Ausführung","retryToggle":"Fehlgeschlagene Tests erneut versuchen","retryLabel":"Wiederholungsversuche","sectionReporting":"Berichte","recordVideo":"Video in Berichte aufnehmen","saveArtifacts":"Schritt Details bei Fehler speichern","sectionProfiles":"Einstellungsprofile","profilesHint":"Gespeicherte Ausführungseinstellungen zur Laufzeit anwenden.","profilesPlaceholder":"Einstellungsprofile für den Plan auswählen","profilesEmpty":"Noch keine Einstellungsprofile.","sectionNotifications":"Benachrichtigungen","notifyPlaceholder":"E-Mail-Adresse","notifyOnFailure":"Bei Fehler","notifyAlways":"Immer","notifyAdd":"Hinzufügen","testSearchPlaceholder":"Tests suchenâ¦","selectedCount":"{count} ausgewählt","noTests":"Keine Tests in diesem Arbeitsbereich gefunden.","selectTag":"Tag auswählen","allTags":"Alle Tags","colName":"Name","treeShowing":"{selected} von {total} Tests angezeigt · {groups} Gruppen","groupSelectAria":"Alle Tests in {name} auswählen","orderKickerStep":"Schritt 03","orderKickerTests":"Tests ordnen","orderTitle":"Ausführungsreihenfolge festlegen","orderHint":"Tests laufen nacheinander in dieser Reihenfolge (sofern die parallele Ausführung nicht aktiviert ist). Ziehen Sie zum Neuordnen â oder verwenden Sie die Pfeile.","orderSelectedTests":"Ausgewählte Tests","orderEmpty":"Wählen Sie zuerst die Tests im vorherigen Schritt aus.","sumName":"Name","sumTests":"Tests","sumBrowsers":"Browser","sumSchedule":"Zeitplan","none":"Keine","off":"Aus","weekdaySun":"Sonntag","weekdayMon":"Montag","weekdayTue":"Dienstag","weekdayWed":"Mittwoch","weekdayThu":"Donnerstag","weekdayFri":"Freitag","
66weekdaySat":"Samstag","browserChrome":"Chrome","browserFirefox":"Firefox","browserSafari":"Safari","browserEdge":"Edge","nameRequired":"Ein Planname ist erforderlich.","testsRequired":"Wählen Sie mindestens einen Test aus.","created":"Plan erstellt","saveFailed":"Konnte den Plan nicht erstellen","duplicateName":"Ein Plan mit diesem Namen existiert bereits. Bitte einen anderen Namen wählen.","editTitle":"Plan bearbeiten","editLoadingTitle":"Plan wird geladenâ¦","updateBtn":"Plan aktualisieren","updated":"Plan aktualisiert","updateFailed":"Plan konnte nicht aktualisiert werden","step4":"Datenquelle","step4sub":"An Tests binden","dsTitle":"Datenquellen an Tests binden","dsIntro":"Optional. Ordnen Sie jedem Test, der mit Parametern laufen soll, eine Datenquelle zu. Tests ohne Bindung laufen mit ihren Standardwerten.","dsColTests":"Tests","dsColSources":"Datenquellen","dsColBindings":"Aktuelle Bindungen","dsSearchTests":"Tests suchenâ¦","dsSearchSources":"Datenquellen suchenâ¦","dsSearchBindings":"Bindungen suchenâ¦","dsNoTests":"Keine Tests ausgewählt","dsNoSources":"Keine Datenquellen","dsNoBindings":"Noch keine Bindungen","dsBind":"Auswahl binden","dsBound":"Gebunden","dsUnbind":"Bindung entfernen","sumDataSources":"Datenquellen"},"results":{"breadcrumb":"Automatisierung","title":"Planergebnisse","description":"Durchläufe Ihrer Pläne - Pass/Fail-Aufschlüsselung pro Durchlauf, tauchen Sie in den vollständigen Bericht eines Tests ein.","searchPlaceholder":"Nach Planname oder Ausführer suchenâ¦","filter":"Filter","colPlan":"Planlauf","colExecutor":"Ausführer","colStatus":"Status","colDuration":"Dauer","colStarted":"Gestartet","rowsRuns":"Durchläufe","passRate":"Bestehensquote","kpiEyebrow":"Erfolgreiche Durchläufe","ofRuns":"von {total} Durchläufen","status_passed":"Bestanden","status_failed":"Fehlgeschlagen","status_running":"Wird ausgeführt","status_stopped":"Gestoppt","status_pending":"Ausstehend","status_error":"Fehler","testsCount":"{count, plural, one {# Test} other {# Tests}}","passFail":"{passed} bestanden · {failed} fehlgeschlagen","emptyTitle":"Noch keine Planläufe","emptyMessage":"Führen Sie einen Plan vom Bildschirm Pläne aus, und die Ergebnisse erscheinen hier.","noMatch":"Keine Planläufe entsprechen Ihren Filtern.","resetFilters":"Filter zurücksetzen","actView":"Anzeigen","actCopyId":"ID kopieren","actStop":"Durchlauf stoppen","actRerunAll":"Alle erneut ausführen","actRerunFailures":"Fehler erneut ausführen","actRerunErrors":"Fehler erneut ausführen","actionsLabel":"Aktionen","nPassed":"{count} bestanden","nFailed":"{count} fehlgeschlagen","triggerScheduled":"Geplant","triggerManual":"Manuell","stopped":"Stopp angefordert","stopFailed":"Konnte den Durchlauf nicht stoppen","rerunStarted":"Plan-Neuausführung gestartet","rerunFailed":"Konnte die Neuausführung nicht starten","copiedId":"Durchlauf-ID kopiert","tabOverview":"Ãbersicht","tabTests":"Tests","tabLogs":"Protokolle","logsTruncated":"Die ersten 20.000 Zeilen dieses Laufs werden angezeigt.","logsFailed":"Die Protokolle dieses Laufs konnten nicht geladen werden.","panelCrumb":"Planlauf","mTests":"Tests","mPassed":"Bestanden","mFailed":"Fehlgeschlagen","detailsTitle":"Durchlaufdetails","dPlanId":"Durchlauf-ID","dBy":"Ausgelöst von","dStarted":"Gestartet","dEnded":"Beendet","dDuration":"Dauer","noLogs":"Keine Protokolle für diesen Durchlauf erfasst.","testsEmpty":"In diesem Planlauf sind keine Testläufe vorhanden.","openReport":"Bericht öffnen","chipAll":"Alle","testsPassed":"Tests bestanden","testDistribution":"Testverteilung","testExecutions":"Testausführungen","testsSummary":"{total} Tests · {passed} bestanden · {failed} fehlgeschlagen","filterAll":"Alle","filterFailed":"Fehlgeschlagen","copyPublicLink":"Ãffentlichen Link kopieren","linkCopied":"Ãffentlicher Link kopiert","publicLinkError":"Ãffentlichen Link konnte nicht erstellt werden","openInNewTab":"In neuem Tab öffnen","copyLink":"Link kopieren","newTab":"Neuer Tab","rerunShort":"Erneut ausführen","retryFailed":"Fehlgeschlagene wiederholen","share":"Teilen"},"doc":{"breadcrumb":"Automatisierung","title":"Automatisierung","lead":"Pläne gruppieren Tests für die Batchausführung - auf Abruf, nac
66h Zeitplan oder in CI - und Planergebnisse berichten jeden Lauf.","onThisPage":"Auf dieser Seite","copy":"Kopieren","copied":"Kopiert","calloutInfo":"Hinweis","calloutTip":"Tipp","calloutWarning":"Wichtig","cta":"Neuer Plan","updated":"Aktualisiert im Juli 2026"}},"auth":{"common":{"tagline":"KI-native Softwaretests","footer":{"copyright":"© 2026 Text2Test","privacy":"Datenschutz","terms":"Nutzungsbedingungen","help":"Hilfe"}},"login":{"heading":"Willkommen zurück","subheading":"Lass uns einige Tests durchführen. Melde dich bei deinem Text2Test-Arbeitsbereich an.","social":{"google":"Mit Google anmelden","microsoft":"Mit Microsoft anmelden","github":"Mit GitHub anmelden"},"or":"ODER","emailLabel":"Arbeits-E-Mail","emailPlaceholder":"[email protected]","passwordLabel":"Passwort","passwordPlaceholder":"Ihr Passwort","forgotPassword":"Passwort vergessen?","showPassword":"Passwort anzeigen","hidePassword":"Passwort ausblenden","signIn":"Anmelden","newHere":"Neu hier?","createAccount":"Ein Konto erstellen","registeredToast":{"title":"Konto erstellt!","description":"Ihr Arbeitsbereich ist bereit. Melden Sie sich an, um loszulegen."},"headingSignup":"Erstellen Sie Ihr Konto","subheadingMobile":"Melden Sie sich an, um Ihre Ausführungen zu überwachen, Fehler zu erfassen und Berichte unterwegs zu überprüfen.","subheadingSignup":"Holen Sie sich einen Arbeitsbereich und beginnen Sie, KI-geschriebene Tests in wenigen Minuten auszuführen.","labels":{"username":"Benutzername","email":"Arbeits-E-Mail","password":"Passwort"},"placeholders":{"username":"Benutzername","email":"[email protected]","password":"Passwort","passwordSignup":"Mindestens 8 Zeichen"},"forgotPasswordShort":"Passwort vergessen?","noAccount":"Haben Sie kein Konto?","registerHere":"Hier registrieren","hasAccount":"Haben Sie bereits ein Konto?","signingIn":"Anmeldung läuftâ¦","togglePasswordShow":"Passwort anzeigen","togglePasswordHide":"Passwort ausblenden","continueGoogle":"Mit Google fortfahren","continueMicrosoft":"Mit Microsoft fortfahren","continueGithub":"Mit GitHub fortfahren","oauthSoon":"OAuth-Anmeldung kommt bald","terms":"Durch die Erstellung eines Kontos stimmen Sie unseren <terms>Nutzungsbedingungen</terms> und <privacy>Datenschutzbestimmungen</privacy> zu.","tagline":"KI-native Softwaretests","errors":{"loginFailed":"Anmeldung fehlgeschlagen","incorrectCredentials":"Eine Ihrer Anmeldedaten ist falsch. Bitte überprüfen Sie und versuchen Sie es erneut.","network":"Netzwerkfehler: Server nicht erreichbar. Bitte überprüfen Sie Ihre Verbindung.","unexpected":"Unerwarteter Fehler: Bitte versuchen Sie es später erneut.","socialFailed":"Anmeldung fehlgeschlagen","socialFailedDescription":"Anmeldung konnte nicht abgeschlossen werden. Bitte versuchen Sie es erneut."}},"register":{"steps":{"account":"Konto","verified":"Verifiziert","workspace":"Arbeitsbereich"},"step1":{"heading":"Erstellen Sie Ihr Konto","subheading":"Richten Sie einen Arbeitsbereich ein und führen Sie Ihren ersten Test in wenigen Minuten aus.","social":{"google":"Mit Google fortfahren","microsoft":"Mit Microsoft fortfahren","github":"Mit GitHub fortfahren"},"or":"ODER","emailLabel":"Arbeits-E-Mail","emailPlaceholder":"[email protected]","passwordLabel":"Passwort","passwordPlaceholder":"Mindestens 8 Zeichen","confirmPasswordLabel":"Passwort bestätigen","confirmPasswordPlaceholder":"Passwort erneut eingeben","showPassword":"Passwort anzeigen","hidePassword":"Passwort ausblenden","submit":"Konto erstellen","termsAgreement":"Durch die Erstellung eines Kontos stimmen Sie unseren <terms>Nutzungsbedingungen</terms> und <privacy>Datenschutzbestimmungen</privacy> zu.","haveAccount":"Haben Sie bereits ein Konto?","signIn":"Anmelden"},"step2":{"heading":"Ãberprüfen Sie Ihr Postfach","sentTo":"Wir haben gerade einen Aktivierungslink gesendet an:","instructions":"Klicken Sie auf den Link, um Ihr Konto zu aktivieren. Nach der Aktivierung fragen wir nach Ihrem Unternehmens- und Teamnamen, um Ihren Arbeitsbereich einzurichten.","didntGet":"Haben Sie es nicht erhalten?","resend":"Link erneut senden","resendIn":"In {seconds}s erneut senden","maxReached":"Limit für das erneute Senden erreicht","useDifferent":"Verwenden Sie eine andere E-Mail"},"step3":{"heading":"Richten Sie Ihren Arbeitsbereich ein","subheading":"Benennen Sie Ihren Arbeitsbereich â so werden Ihre Tests, Durchläufe und Berichte organisiert.","companyLabel":"Projektname","companyPlaceholder":"z.B. Meine App","companyHelp":"Wird als Ihre Projekt-Identität verwendet. Sie können es später ändern.","projectNameTaken":"Dieser Projektname ist bereits vergeben. Bitte wählen Sie einen anderen Namen.","teamLabel":"Teamname","teamPlaceholder":"z.B. QA-Team","teamHelp":"Erstes Team in Ihrem Arbeitsbereich. Sie können als NÃ
66¤chstes Teamkollegen einladen.","submit":"Arbeitsbereich erstellen & fortfahren"},"toasts":{"socialFailed":"Anmeldung fehlgeschlagen","socialFailedDescription":"Anmeldung konnte nicht abgeschlossen werden. Bitte versuchen Sie es erneut.","requiredTitle":"Erforderlich","step1Required":"Bitte geben Sie Ihre E-Mail und Ihr Passwort ein.","passwordMismatchTitle":"Passwörter stimmen nicht überein","passwordMismatch":"Die eingegebenen Passwörter stimmen nicht überein.","registrationFailed":"Registrierung fehlgeschlagen","registrationFailedDescription":"Ein Fehler ist aufgetreten.","emailAlreadyRegistered":"Diese E-Mail ist bereits registriert. Versuchen Sie stattdessen, sich anzumelden.","resentTitle":"Gesendet!","resentDescription":"Bestätigungs-E-Mail erneut gesendet.","errorTitle":"Fehler","resendError":"Etwas ist schiefgelaufen.","step3Required":"Bitte füllen Sie beide Felder aus."}},"reset":{"form":{"heading":"Haben Sie Ihr Passwort vergessen?","subheading":"Geben Sie Ihre E-Mail ein, um einen Link zum Zurücksetzen des Passworts zu erhalten.","emailLabel":"E-Mail-Adresse","emailPlaceholder":"Geben Sie Ihre E-Mail ein","submit":"Link zum Zurücksetzen senden","backToLogin":"â Zurück zur Anmeldung"},"sent":{"heading":"Passwort zurücksetzen","sentTo":"Wir haben eine E-Mail zum Zurücksetzen des Passworts gesendet an","instructions":"Bitte überprüfen Sie Ihren Posteingang und folgen Sie den Anweisungen, um Ihr Passwort zurückzusetzen.","didntGet":"Haben Sie es nicht erhalten?","resend":"Link erneut senden","resendIn":"In {seconds}s erneut senden","maxReached":"Limit für das erneute Senden erreicht","resentTitle":"Zurücksetzen-Link gesendet","resentDescription":"Wir haben eine weitere E-Mail zum Zurücksetzen des Passworts gesendet.","backToSignIn":"Zurück zur Anmeldung"},"errors":{"invalidEmailTitle":"Warnung","invalidEmail":"Bitte geben Sie eine gültige E-Mail ein","failed":"Konnte den Link zum Zurücksetzen nicht senden","tooManyTitle":"Zu viele Anfragen","tooMany":"Sie haben zu viele Links angefordert. Bitte warten Sie einen Moment und versuchen Sie es erneut.","network":"Netzwerkfehler: Server nicht erreichbar. Bitte überprüfen Sie Ihre Verbindung.","unexpected":"Unerwarteter Fehler: Bitte versuchen Sie es später erneut."}},"callback":{"signingIn":"Wir melden Sie anâ¦","backToLogin":"Zurück zur Anmeldung","failedToast":"Anmeldung fehlgeschlagen","genericError":"Die Anmeldung konnte nicht abgeschlossen werden."},"socialRelay":{"expired":"Dieser Anmeldelink ist abgelaufen. Bitte versuchen Sie es erneut.","backToLogin":"Zurück zur Anmeldung"},"acceptInvite":{"pageTitle":"Einladung annehmen","heading":"Du bist eingeladen","subheading":"Richte dein Konto ein, um {workspace} beizutreten.","roleNote":"Du wirst als {role} beitreten.","role":{"ADMIN":"ein Administrator","USER":"ein Mitglied","VIEWER":"ein Zuschauer"},"labels":{"email":"E-Mail","firstName":"Vorname","lastName":"Nachname","password":"Passwort","confirmPassword":"Passwort bestätigen"},"placeholders":{"firstName":"Jane","lastName":"Doe","password":"Ein Passwort erstellen","confirmPassword":"Gib dein Passwort erneut ein"},"accept":"Annehmen & beitreten","accepting":"Einrichtenâ¦","togglePasswordShow":"Passwort anzeigen","togglePasswordHide":"Passwort verbergen","successToast":"Willkommen an Bord! Melde dich an, um loszulegen.","backToLogin":"Zurück zur Anmeldung","loading":"Ãberprüfe deine Einladungâ¦","invalidHeading":"Einladung nicht verfügbar","invalidBody":"Dieser Einladungslink ist ungültig, wurde widerrufen oder ist abgelaufen. Bitte einen Administrator um einen neuen bitten.","missingToken":"Dieser Link fehlt das Einladungstoken.","validation":{"required":"Dieses Feld ist erforderlich.","passwordMin":"Verwende mindestens 8 Zeichen.","passwordMismatch":"Die Passwörter stimmen nicht überein."},"errors":{"failed":"Die Einladung konnte nicht angenommen werden","network":"Netzwerkfehler: Verbindung zum Server nicht möglich. Bitte überprüfe deine Verbindung.","unexpected":"Unerwarteter Fehler: Bitte versuche es später erneut."}}},"publicShare":{"pageTitle":"Geteilter Bericht","loading":"Geteilten Bericht ladenâ¦","notFound":"Link abgelaufen oder nicht gefunden","notFoundDesc":"Dieser geteilte Link könnte abgelaufen oder widerrufen worden sein.","expiresOn":"Läuft ab am {date}","noData":"Keine Berichtsdaten verfügbar","executionReport":"Testausführungsbericht","planReport":"Plan-Ausführungsbericht","totalSteps":"Gesamtanzahl der Schritte","totalTests":"Gesamtanzahl der Tests","passed":"Bestanden","failed":"Fehlgeschlagen","environment":"Umgebung","duration":"Dauer","createdBy":"Erstellt von","started":"Gestartet","ended":"Beendet","skipped":"Ãbersprungen","reports":"Berichte","artifactsAvailable":"Verfügbare Artefakte","t
66imeline":"Zeitachse","running":"Läuft","pending":"Ausstehend","passRate":"Bestehensquote","testExecutions":"Testausführungen","analyticsReport":"Analytikübersicht","totalExecutions":"Gesamtanzahl der Ausführungen","successRate":"Erfolgsquote"},"publicRunShare":{"pageTitle":"Geteiltes Testergebnis","topbarTitle":"Geteiltes Testergebnis","publicLink":"Ãffentlicher Link","sharedBy":"Geteilt von {name}","expiresIn":"{count, plural, one {Läuft in # Tag ab} other {Läuft in # Tagen ab}}","expiresToday":"Läuft heute ab","signIn":"Anmelden","loading":"Geteilter Bericht wird geladenâ¦","testRun":"Testlauf","outcomeCounts":"{passed} bestanden · {failed} fehlgeschlagen · {skipped} übersprungen","passRate":"Bestehensquote","stepOutcomes":"Schrittergebnisse","ranSkipped":"{ran} ausgeführt · {skipped} nach Fehler übersprungen","failedAt":"Fehlgeschlagen bei","inFailedStep":"{duration} allein im fehlgeschlagenen Schritt","target":"Ziel","duration":"Dauer","replay":"Session-Replay","syncedToSteps":"mit Schritten synchronisiert","replayUnavailable":"Diese Aufzeichnung ist nicht verfügbar. Das Video wurde möglicherweise gelöscht oder für diesen Lauf nicht erfasst.","failureSnapshot":"Fehlerübersicht","failureStepMeta":"Schritt {step} - {duration}","timeline":"Schritt-Zeitleiste","filter_all":"Alle","filter_failed":"Fehlgeschlagen","filter_skipped":"Ãbersprungen","noSteps":"Keine Schritte aufgezeichnet","noStepsMatch":"Keine Schritte entsprechen diesem Filter","noScreenshot":"Kein Screenshot aufgenommen","console":"Konsole","consoleMeta":"{errors, plural, one {# Fehler} other {# Fehler}} · {warnings, plural, one {# Warnung} other {# Warnungen}}","consoleUnavailable":"Für diesen Lauf wurden keine Konsolenlogs erfasst.","network":"Netzwerk","networkMeta":"{requests, plural, one {# Anfrage} other {# Anfragen}} · {failed} fehlgeschlagen","networkUnavailable":"Für diesen Lauf ist keine Netzwerkaufzeichnung verfügbar.","runDetails":"Laufdetails","workspace":"Workspace","triggeredBy":"Ausgelöst von","trigger":"Auslöser","targetUrl":"Ziel-URL","environment":"Umgebung","started":"Gestartet","ended":"Beendet","testId":"Test-ID","footerSnapshot":"Erstellt von Text2Test · schreibgeschützter Snapshot vom {date}","reportId":"Berichts-ID","reportAbuse":"Missbrauch melden","expiredTitle":"Dieses geteilte Testergebnis ist abgelaufen","expiredWindow":"Der geöffnete Link war auf {days, plural, one {# Tag} other {# Tage}} befristet. Bitten Sie den Absender, den Link neu zu erstellen, oder melden Sie sich an, wenn Sie Zugriff auf den Workspace haben.","expiredWindowUnknown":"Der geöffnete Link ist abgelaufen oder nicht mehr verfügbar. Bitten Sie den Absender, den Link neu zu erstellen, oder melden Sie sich an, wenn Sie Zugriff auf den Workspace haben.","requestNewLink":"Neuen Link anfordern","requestNewLinkHint":"Bitten Sie die Person, die diesen Lauf mit Ihnen geteilt hat, einen neuen Link zu erstellen.","workspaceLink":"Nur Workspace","viewInResults":"In Testergebnissen öffnen","runLoadErrorTitle":"Dieser Testlauf konnte nicht geladen werden","runLoadError":"Der Lauf wurde möglicherweise gelöscht oder gehört zu einem Team, das derzeit nicht aktiv ist. Wechseln Sie zum richtigen Team und versuchen Sie es erneut.","wrongTeamTitle":"Dieser Testlauf gehört zu einem anderen Team","wrongTeamMessage":"Der geöffnete Lauf gehört zum Team {team}, das derzeit nicht Ihr aktives Team ist. Wechseln Sie zu diesem Team, um den Bericht anzuzeigen.","switchTeamAction":"Zu {team} wechseln und öffnen","wrongCompanyTitle":"Dieser Testlauf gehört zu einem anderen Workspace","wrongCompanyMessage":"Der geöffnete Lauf gehört zum Team {team} im Workspace {company}. Wechseln Sie dorthin, um den Bericht anzuzeigen.","switchCompanyAction":"Zu {company} wechseln und öffnen","signInAction":"Bei Text2Test anmelden"},"publicPlanShare":{"pageTitle":"Geteilter Plan-Lauf","topbarTitle":"Geteilter Plan-Lauf","noData":"Keine Plan-Berichtsdaten verfügbar","untitledTest":"Unbenannter Test","unknownError":"Unbekannter Fehler","planRun":"Plan-Lauf","passFailCounts":"{passed} bestanden · {failed} fehlgeschlagen","passRate":"Erfolgsquote","failed":"Fehlgeschlagen","duration":"Dauer","avgPerTest":"Durchschn. / Test","dPlanId":"Plan-ID","dWorkspace":"Workspace","dTriggeredBy":"Ausgelöst von","dTrigger":"Auslöser","dStarted":"Gestartet","dEnded":"Beendet","dEnvironment":"Umgebung","dDuration":"Dauer","dSharedBy":"Geteilt von","dExpires":"Läuft ab","replayUnavailable":"Diese Aufzeichnung ist nicht verfügbar. Das Video wurde möglicherweise gelöscht oder für diesen Lauf nicht erfasst.","testsInRun":"Tests in diesem Lauf","noTestsMatch":"Keine Tests entsprechen diesem Filter","topFailureReasons":"Häufigste Fehlerursachen","noFailures":"Keine Fehlschläge in diesem Lauf","runEnvironment":"Laufumgebung","expiresToday":"Läuft heute ab","expires
66In":"{count, plural, one {Läuft in # Tag ab} other {Läuft in # Tagen ab}}","backToPlanRun":"Zurück zum Plan-Lauf","testOrdinal":"Test #{n}","miniSteps":"Schritte","miniPassed":"Bestanden","miniFailed":"Fehlgeschlagen","drillOverview":"Ãbersicht","drillConsole":"Konsole","drillNetwork":"Netzwerk","drillSteps":"Schritte","stepTimeline":"Schritt-Zeitachse","ranSkipped":"{ran} ausgeführt · {skipped} übersprungen","noSteps":"Keine Schritte aufgezeichnet","footerSnapshot":"Erstellt von Text2Test · schreibgeschützte Momentaufnahme vom {date}","reportId":"Bericht-ID","reportAbuse":"Missbrauch melden","sharedBy":"Geteilt von {name}","publicLink":"Ãffentlicher Link","fullReportBadge":"Vollständige Berichtsansicht","signIn":"Anmelden","tabAll":"Alle","tabFailed":"Fehlgeschlagen","tabPassed":"Bestanden"}}`)},Jse={layout:{errorBoundary:{title:`Something went wrong`,desc:`An unexpected error occurred while rendering this page. Reloading usually fixes it; if it keeps happening, contact support.`,reload:`Reload page`,home:`Go to dashboard`},appShell:{skipToContent:`Skip to content`,sidebarLabel:`Primary navigation`},appSidebar:{groupTestpit:`Testpit`,groupWebTest:`Web test`,groupMobileTest:`Mobile test`,groupAutomation:`Automation`,groupTools:`Tools`,groupSettings:`Settings`,badgeNew:`New`,badgeEarlyAccess:`Early access`,navAnalytics:`Analytics`,navMyTests:`My Tests`,navMyMobileTests:`My Mobile Tests`,navMyPlans:`My Plans`,navTestResults:`Test Results`,navDoc:`How to`,navGetExtension:`Get Extension`,navPlanResults:`Plan Results`,navDataSources:`Data Sources`,navHttpRequest:`HTTP Request`,navElementTags:`Element Tags`,navScenarioFiles:`Test Assets`,navUsage:`Billing & Plan`,navPackages:`Packages`,navSettingProfiles:`Setting Profiles`,navApiKeys:`API Keys`,navVault:`Vault Profiles`,navTestTags:`Test Tags`,navMcpServers:`MCP Servers`},appTopbar:{openMenu:`Open menu`},workspaceSwitcher:{teamSuffix:`Team`,dropdownTitle:`Switch workspace`,dropdownSubtitle:`Pick a company, then a team`,searchPlaceholder:`Search workspacesâ¦`,noMatch:`No workspaces match "{query}".`,teamCount:`{count, plural, one {# team} other {# teams}}`,newTeam:`New teamâ¦`,newTeamPlaceholder:`Team nameâ¦`,addMemberAction:`Add member`,createWorkspaceAction:`Create workspace`,addMemberToTeam:`Add member to team`,teamCreated:`Team {name} created in {workspace}`,teamCreateFailed:`Could not create the team.`,ownCompanyBadge:`Your company`,loadingTeams:`Loading teamsâ¦`,noTeams:`No teams in this company.`,confirmSwitch:`Switch workspace`,addMember:{title:`Add member`,subtitle:`Invite people to {workspace}. They'll get an email invite - separate addresses with Enter or a comma.`,emailsLabel:`Email addresses`,emailPlaceholder:`[email protected]`,emailPlaceholderMore:`Add anotherâ¦`,invalidTooltip:`Not a valid email`,removeEmail:`Remove email`,invalidHint:`Some addresses look invalid - they're highlighted in red.`,teamLabel:`Add to team`,workspaceLabel:`Workspace`,roleLabel:`Role`,role:{ADMIN:{label:`Admin`,desc:`Full access - manage members, billing and every test.`},USER:{label:`Member`,desc:`Can create, edit and run tests, plans and data sources.`}},hintEmpty:`Add at least one email`,hintReady:`{count, plural, one {# invite ready} other {# invites ready}}`,cancel:`Cancel`,send:`{count, plural, one {Send invite} other {Send invites}}`,inviteSuccess:`{count, plural, one {# invite sent} other {# invites sent}}.`,inviteSkipped:`{count, plural, one {# address skipped} other {# addresses skipped}} - already a member or invited.`,inviteExists:`{count, plural, one {# address already has an account} other {# addresses already have accounts}} - invite a different email.`,inviteError:`Could not send the invites.`},createWorkspace:{title:`Create workspace`,kickerTitle:`Start a fresh workspace`,kickerHelp:`A workspace groups your teams, tests and billing under one company. You'll be the owner and can invite people once it's set up.`,nameLabel:`Workspace name`,namePlaceholder:`e.g. Acme Inc`,urlLabel:`Workspace URL`,urlHint:`- how teammates reach it`,urlPlaceholder:`acme`,teamLabel:`First team`,teamHint:`- you can add more later`,teamPlaceholder:`QA Team`,teamHelp:`Teams keep tests, plans and members organised inside the workspace.`,footerHint:`Press âµ to create`,cancel:`Cancel`,create:`Create workspace`,comingSoon:`Workspace creation isn't available yet - "{name}" wasn't created.`}},userMenu:{profile:`Profile`,account:`Account`,billingPlan:`Billing & Plan`,help:`Help`,supportEmail:`[email protected]`,settings:`Settings`,logout:`Log out`,signOut:`Sign out`,ownerBadge:`Owner`,security:`Security`},themeToggle:{label:`Theme`,system:`System`,light:`Light`,dark:`Dark`},mobileTabBar:{label:`Main navigation`,home:`Home`,tests:`Tests`,plans:`Plans`,profile:`Profile`}
66,mobileAppBar:{back:`Go back`,defaultTitle:`Text2Test`},workspaceSheet:{title:`Switch workspace`,subtitle:`Pick a company, then a team`,searchPlaceholder:`Search workspacesâ¦`,noMatch:`No workspaces found`,teamCount:`{count, plural, one {# team} other {# teams}}`,addMember:`Add member`,createWorkspace:`Create workspace`,comingSoon:`Coming soon`},welcomeModal:{title:`Text2Test on mobile`,subtitle:`A focused companion to the web app. From your phone you can:`,viewTestpitTitle:`View Testpit`,viewTestpitDesc:`Your account overview, coverage and run analytics.`,runTestsTitle:`Run existing tests`,runTestsDesc:`Browse your web & mobile test cases and kick off a run.`,viewReportsTitle:`View test & plan reports`,viewReportsDesc:`Steps, console, network and session replay on the go.`,note:`Authoring new tests and editing prompts stay on the web app.`,cta:`Got it`},productTour:{title:`Text2Test in action`,description:`An interactive walkthrough of Text2Test.`}},shell:{shareSheet:{title:`Share report`,publicLink:`Copy public link`,publicLinkDesc:`Anyone with the link · expires in 7 days`,publicCopied:`Public link copied`,publicLinkError:`Could not create public link`,workspaceOnly:`Workspace only`,workspaceOnlyDesc:`Members of {name}`,workspaceCopied:`Workspace link copied`,downloadPdf:`Download PDF`,exportingPdf:`Exporting PDFâ¦`},runActionsSheet:{titleTest:`Test run actions`,titlePlan:`Plan run actions`,rerunTest:`Re-run test`,rerunPlan:`Re-run plan`,rerunFailed:`Re-run failed only`,failedTests:`{count} failed tests`,copyLink:`Copy public link`,linkCopied:`Public link copied`,downloadReport:`Download report`,downloadLogs:`Download logs`,downloadingReport:`Downloading reportâ¦`,downloadingLogs:`Downloading logsâ¦`},liveRun:{runningTest:`Running test`,runningPlan:`Running plan`,stepOf:`Step {current} of {total}`,runningTestOf:`Running test {current} of {total}`,testFailed:`Test failed`,testPassed:`Test passed`,planComplete:`Plan complete`,passedCount:`{count} passed`,failedCount:`{count} failed`,skippedCount:`{count} skipped`,stopRun:`Stop run`,done:`Done`,viewReport:`View report`,elapsed:`Elapsed`,pending:`Pending`,passed:`passed`,failed:`failed`},deleteDialog:{cancel:`Cancel`,typeLabel:`Type <code>Delete</code> to confirm`,typeWord:`Delete`,deleting:`Deletingâ¦`}},pages:JSON.parse(`{"usage":{"title":"Billing & Plan","subtitle":"Your subscription, usage, payment method and invoices.","noPackage":"No active plan","notPayAsYouGoTitle":"No pay-as-you-go plan","notPayAsYouGoBody":"Usage and token quota are shown for pay-as-you-go subscriptions. Your workspace is on a different plan.","stoppedBanner":"Your token quota for this period is used up. Upgrade your plan to keep running tests.","lowBalanceBanner":"You are running low on tokens for this period.","activityTitle":"Request activity (last 30 days)","activityEmpty":"No requests in this period yet.","requestsLabel":"Requests","manageBilling":"Manage billing","manageBillingError":"Couldn't open the billing portal. Please try again.","payDifferentCardBefore":"To pay with a different card, open","payDifferentCardAfter":".","upgradeCta":"Upgrade","upgradeProcessing":"Upgrading your plan â your new quota will appear shortly.","upgradeConfirmTitle":"Upgrade to {plan}?","upgradeConfirmText":"Your plan will be upgraded right away and the prorated difference will be charged to your card immediately. Your remaining tokens carry over.","upgradeSummaryNewPlan":"New plan","upgradeSummaryTests":"Test cases / month","upgradeSummaryParallel":"Parallel runs","upgradeSummaryProrated":"Prorated charge today","upgradeConfirmCta":"Upgrade now","upgradeConfirmCancel":"Not now","upgradeError":"Upgrade failed. Please try again.","checkoutError":"Could not start the checkout. Please try again in a moment.","pastDueBanner":"Your last payment failed. Update your card via Manage billing to avoid cancellation.","cancelingBanner":"Your subscription will cancel at the end of the current period.","canceledBanner":"Your subscription has been canceled. Choose a plan to keep running tests.","choosePlanTitle":"Choose a plan","monthly":"Monthly","annual"
66:"Yearly","annualSaving":"â20%","perMonth":"/mo","perMonthLong":"/ month","perYear":"/yr","billedMonthly":"billed monthly","billedAnnually":"billed annually","tokensPerMonthSuffix":"tokens/mo","selectPlan":"Select","mostPopular":"Most popular","planDescStarter":"For individuals and small teams exploring AI-native testing.","planDescGrow":"For growing teams that need more capacity and faster support.","planDescPro":"For teams running serious test coverage at scale.","testCasesPerMonthSuffix":"test cases / month","parallelRunsSuffix":"parallel runs","featWebAutomation":"Web test automation","featBrowserExtension":"Browser extension","featCicd":"CI/CD integration","featJiraSlack":"Jira & Slack integration","featOnboarding":"Onboarding & training","featSupport48h":"48h support response","featSupport24h":"24h support response","featSupport12h":"12h support response","purchaseSuccessToast":"Payment received â your plan is being activated.","purchaseReturnToast":"Your plan is active. Taking you back to your test.","purchaseCancelToast":"Checkout canceled.","paymentRequired":{"title":"Payment required to continue","reasonGeneric":"Your test could not be started because payment is currently unavailable for your workspace.","reasonBalanceInsufficient":"Your token balance is too low to start this test. Top up by upgrading your plan to keep running tests.","reasonStopped":"Test execution is paused because your token balance ran out. Upgrade your plan to resume.","reasonSubscriptionInactive":"Test runs are paused because your subscription is no longer active. Choose a plan to continue.","reasonNoPackage":"Your workspace has no active plan yet. Choose a plan to start running tests.","reasonFeatureNotAllowed":"This capability isn't included in your current plan. Upgrade to unlock it.","balanceLabel":"Current balance","tokens":"tokens","dismiss":"Not now","ctaUpgrade":"Upgrade plan","ctaChoosePlan":"Choose a plan","draftSavedNote":"Your step text is saved as a draft. It will be compiled into actions once your plan is active."},"changePlanTitle":"Change plan","changePlanSubtitle":"Upgrade for more capacity and faster support. Changes are prorated.","currentPlanBadge":"Your plan","currentPlanCta":"Current plan","customPlanName":"Custom","customPlanDesc":"For enterprises that need custom limits, SLAs, and a dedicated partner.","customPlanPrice":"Let's talk","customPlanBilling":"Custom contract","contactSales":"Contact sales","customFeatureVolume":"Custom test case volume","customFeatureParallel":"Custom parallel runs","customFeatureSupport":"Dedicated partner support","customFeatureSla":"Custom SLA & contract","customFeatureOnboarding":"Onboarding & training","statusActive":"Active","statusCanceling":"Canceling","statusCanceled":"Canceled","renewsOn":"Renews {date}","renewsUnknown":"Renewal date pending","cancelSubscription":"Cancel subscription","cancelSubscriptionSectionBody":"Your plan will stay active until the end of the current billing cycle. After that your workspace moves to read-only.","cancelDialogTitle":"Cancel subscription?","cancelDialogIntroBefore":"Your {plan} plan stays active until","cancelDialogIntroAfter":"After that your workspace moves to read-only and these features turn off:","cancelDialogQuotaImpact":"Monthly quota drops from {count} to 0 new test cases","cancelDialogSchedulesImpact":"Scheduled automation plans stop running","cancelDialogIntegrationsImpact":"Parallel runs, CI/CD and Jira / Slack integrations disabled","cancelDialogDowngradePrompt":"Just need fewer runs?","cancelDialogDowngradeCta":"Downgrade to {plan} ({price}/mo)","cancelDialogDowngradeSuffix":"and keep your tests, history and integrations.","cancelDialogKeepPlan":"Keep my plan","cancelDialogDateFallback":"the end of the current billing cycle","reactivateSubscription":"Reactivate subscription","reactivateSuccess":"Your subscription will keep renewing.","reactivateError":"Could not reactivate the subscription. Please try again.","meterTokens":"T2T Token","meterTests":"Test scenarios","meterUsedPct":"{pct}% used {suffix}","tokensRemaining":"{count} remaining","tokensRemainingWithPct":"{count} remaining · {pct}% token used","thisPeriod":"this period","requestsTotal":"{count} requests","noPlanTitle":"You don't have an active plan yet","noPlanBody":"Choose a plan below to start running tests â nothing runs until a plan is active.","meterParallel":"Parallel runs","concurrentRuns":"concurrent runs","downgradeCta":"Switch at period end","downgradeScheduledCta":"Scheduled","downgradeConfirmTitle":"Downgrade to {plan}?","downgradeConfirmText":"Your {currentPlan} plan stays active until {date}. On that date you'll switch to {plan} and its limits apply.","downgradeConfirmTextNoDate":"Your current plan stays active until the end of the billing period, then you'll switch to {plan}.","downgradeSummaryNewPlan":"New plan from next period","downgradeSummaryCharge":"Charged today","downgradeSummaryNoChargeToday":"Nothing â first charge at renewal","downgradeConfirmKeep":"Keep {plan}","downgradeConfirmCta":"Confirm downgrade","downgradeScheduledToast":"Downgrade to {plan} scheduled for the end of this period.","downgradeError":"The downgrade could not be scheduled. Please try again.","pendingDowngradeLine":"Switching to {plan} on {date}","pendingDowngradeUndo":"Undo","downgradeCanceledToast":"Scheduled downgrade canceled â your current plan continues.","downgradeCancelError":"The downgrade could not be canceled. Please try again.","downgradeFooter":"Your plan will be downgraded to {plan} on your next billing cycle ({date})."},"packages":{"title":"Packages","subtitle":"Manage the pay-as-you-go plan catalog. Token grants are derived from the budget.","empty":"No packages found.","unauthorizedTitle":"Not authorized","unauthorizedBody":"Package management is restricted to super admins.","colPackage":"Package","colPriceMonthly":"Monthly","colTokens":"Tokens/mo","colStatus":"Status","statusActive":"Active","statusInactive":"Inactive","edit":"Edit","editTitle":"Edit {name}","fieldName":"Name","fieldDescription":"Description","fieldPriceMonthly":"Monthly price (USD)","fieldPriceAnnual":"Annual price (USD)","fieldPriceLockedHint":"Prices are billed from the Stripe price records and cannot be edited here. To change a price, create a new price in Stripe and update the price IDs below.","fieldBudget":"Provider budget (USD)","fieldBudgetHint":"Token grant is derived from this (budget à N). Current: {tokens} tokens.","fieldParallel":"Parallel runs","fieldTestsLimit":"Test cases / month","fieldFeatures":"Features","feature_WEB_TESTING":"Web testing","feature_MOBILE_TESTING":"Mobile testing","fieldStripeMonthly":"Stripe price ID (monthly)","fieldStripeAnnual":"Stripe price ID (annual)","fieldStripeProduct":"Stripe product ID","fieldDisplayOrder":"Display order","fieldActive":"Active","cancel":"Cancel","save":"Save","saved":"Package saved.","saveError":"Could not save the package."}
66,"analytics":{"hero":{"webTest":"Web Test","automation":"Automation","tests":"Tests","plans":"Plans","executions":"Executions","planRuns":"Plan runs"},"trends":{"title":"Trends","sideBySide":"Side by side","combined":"Combined","testsCreated":"Tests created","plansCreated":"Plans created","testExecutions":"Test executions","planExecutions":"Plan executions","thisPeriod":"This period","combinedCreation":"Test & plan creation","combinedExecutions":"Test & plan executions"},"activityWide":{"open":"Open in new tab","title":"Testpit activity","subtitle":"Team and recent activity across Web Test and Automation â last {days} days","colMember":"Member","colCreated":"Created","colRuns":"Runs","colLastActive":"Last active"},"title":"Testpit","breadcrumbAnalytics":"Analytics","subtitle":"Your account overview","description":"Testpit turns your Web Test and Automation activity into a living dashboard â what was run, what passed, what broke, and who did what, side by side.","share":"Share","copyPublicLink":"Copy public link","linkCopied":"Link copied","publicLinkError":"Could not create public link","linkExpiry":"Link expires in 7 days","last7days":"Last 7 days","last30days":"Last 30 days","last90days":"Last 90 days","lastYear":"Last year","noData":"No data available for this period","empty":{"title":"Nothing to show yet","subtitle":"Create your first test or plan to start seeing your testing activity here.","cta":"Take a quick tour"},"overallStatus":"Overall test status","passing":"passing","failing":"failing","notRun":"not yet run","cards":{"executions":"Executions","webTests":"Web tests","mobileTests":"Mobile tests","passed":"Passed","failed":"Failed","statusBreakdown":"Status breakdown","vsPrev":"vs prev","thisPeriod":"this period"},"coverageByType":"Coverage by type","runbar":{"scheduled":"Scheduled","passed":"passed","failed":"failed"},"charts":{"testCases":"Test cases","executions":"Executions"},"stats":{"total":"Total","web":"Web","mobile":"Mobile","passed":"Passed","failed":"Failed","errors":"Errors","passRate":"Pass rate"},"controls":{"actual":"Actual","cumul":"Cumul."},"teamActivity":{"title":"Team activity","created":"created","runs":"runs"},"recentActivity":{"planTag":"Plan","title":"Recent activity","ran":"ran"},"legend":{"title":"Status legend","passed":"Passed","failed":"Failed","errors":"Errors","pen
66ding":"Pending","stopped":"Stopped"}},"web":{"overview":{"title":"Web Tests","searchPlaceholder":"Search by name, directory, idâ¦","filter":"Filter","newTest":"New Web Test","noTests":"No tests match your filters","noTestsHint":"Try adjusting your search or clearing filters.","kpiDirectories":"Directories","kpiDirectoriesSub":"{count, plural, one {across # group} other {across # groups}}","kpiTests":"Tests","kpiTestsSub":"{count, plural, one {across # group} other {across # groups}}","directoryColumn":"Directory","directoryUnfiled":"-","directoryAssign":"Assign directory","directoryRoot":"All tests","directoryNew":"New folder","directorySubdir":"New sub-folder","directoryNewHere":"+ New folder here","directoryRename":"Rename","directoryDelete":"Delete folder","directoryMoveHere":"Move here","directoryRemoveAssignment":"Remove from folder","directorySearchPlaceholder":"Search foldersâ¦","directoryFilterFacet":"Directory","directoryFilterAll":"All folders","directoryFilterUnfiled":"Unfiled","directoryDeleteTitle":"Delete folder?","directoryDeleteLoading":"Checking folder contents...","directoryDeleteWithChildren":"This folder contains {count, plural, =1 {1 item} other {# items}} (sub-folders or tests). Choose what to do with them:","directoryDeleteEmpty":"This folder is empty. Delete it?","directoryDeleteCascade":"Delete everything inside","directoryDeleteMoveUp":"Move contents up one level","directoryDeleteCancel":"Cancel","directoryDeleteConfirm":"Delete folder","colName":"Name","colId":"ID","colType":"Type","colItems":"Items","colActions":"Actions","colCreated":"Creation Time","rowsTests":"tests","edit":"Edit","duplicate":"Duplicate","move":"Move","delete":"Delete","cancel":"Cancel","deleteTitle":"Delete \\"{name}\\"?","deleteMessage":"This test, along with all its steps and run history, will be permanently removed. This action cannot be undone.","deleteMessageDirEmpty":"This cannot be undone.","deleteMessageDirNotEmpty":"The tests inside are moved to the parent directory first. This cannot be undone.","deleteTypeLabel":"Type <code>Delete</code> to confirm","deleteTypeWord":"Delete","deleteConfirm":"Delete test","deleteConfirmDir":"Delete folder","deleting":"Deletingâ¦","createdToast":"\\"{name}\\" created","duplicatedToast":"\\"{name}\\" duplicated","updatedToast":"Test updated","deletedToastTitle":"Test deleted","deletedToast":"\\"{name}\\" was removed.","emptyTitle":"No web tests yet","emptySubtitle":"Write steps in plain text, call APIs, verify visuals, or hand off to AI autopilot. Text2Test runs your tests across browsers and reports back.","emptyTour":"Take a quick tour","emptyCreate":"Create web test","filterCreation":"Creation date","filterAny":"Any time","filter7d":"Last 7 days","filter30d":"Last 30 days","filter90d":"Last 90 days","filterYear":"Last 12 months","newTestHere":"New test here","directoryDuplicateName":"A directory with this name already exists. Try another.","saveFailed":"Save failed","moveDuplicateName":"An item with this name already exists in the destination folder.","moveFailed":"Couldn't move the item","colUpdated":"Updated"},"wizard":{"newTitle":"New web test","step1Label":"Create","step1Sub":"Name & URL","step2Label":"Review","step2Sub":"Confirm & submit","back":"Back","next":"Next","submit":"Create test","creating":"Creatingâ¦","lede":"Give your test a name and the page it starts on. You can tune the run profile below.","name":"Test name","namePlaceholder":"e.g. Checkout - happy path","url":"Initial URL","urlPlaceholder":"https://example.com","urlError":"Enter a valid URL starting with <code>http://</code> or <code>https://</code>.","profile":"Setting profile","profileDefault":"Default","mcp":"MCP servers","mcpNone":"None","reviewTitle":"Review & create","reviewLede":"Confirm the details below, then create the test.","summaryName":"Name","summaryUrl":"Initial URL","summaryProfile":"Profile","notSet":"Not set","search":"Searchâ¦","noResults":"No results.","step1Kicker":"Step 01","step2Kicker":"Step 02","step1Heading":"Name and configure your web test","step1Lede":"Give the test a short, descriptive name and the URL to start from. Advanced settings let you bind a setting profile and/or MCP servers.","step2Heading":"Confirm and create","step2Lede":"Check everything below. You can jump back to edit any field.","advancedTitle":"Advanced settings","advancedSub":"Setting profile · MCP servers","profileNone":"No setting profile selected","requiredFields":"Required fields","edit":"Edit","untitled":"Untitled test","limitReachedToast":"Test limit reached","limitReachedDesc":"Your plan's test scenario quota is used up. Upgrade your plan to create more tests.","limitReachedCta":"Upgrade plan","submitFailedToast":"Could not save the test","duplicateName":"A test with this name already exists. Try another."},"editor":{"desktopOnly":{"title":"Editing is desktop-only","body":"Creating and editing tests needs the full editor, which is available on the desktop web app.","cta":"Back to test results"},"breadcrumb":"Web Test","edit":"Edit","runTest":"Run test","runNeedsSteps":"Add at least one step to run the test","runFailed":"Could not start the test run. Please try again.","cacheCleared":"Cached actions cleared for this step.","cacheClearFailed":"Could not clear the cache. Please try again.","saved":"Step saved.","nothingToSave":"No changes to save.","saveFailed":"Could not save. Please try again.","referenceUploaded":"Reference image uploaded.","referenceUploadFailed":"Could not upload the reference image. Please try again.","referenceImage":"Reference","removeReference":"Remove reference image","referenceRemoved":"Reference image removed.","unsavedRunTitle":"Save this step before running it","unsavedRunBody":"Click Save to prepare the step, then run.","unsavedLeaveTitle":"You have unsaved steps","unsavedLeaveBody":"{count, plural, one {# step has} other {# steps have}} changes that were never saved. Leaving now discards them.","unsavedLeaveSave":"Save and leave","unsavedLeaveDiscard":"Leave anyway","unsavedLeaveStay":"Stay here","stop":"Stop","runStarting":"Starting test runâ¦","runStartingHint":"Preparing the browser - the first step result will appear here shortly.","steps":"Steps","addSequence":"Add a sequence","insertHere":"Insert step here","emptyTitle":"Your test is ready. Add your first prompt.","emptyBody":"Prompts are the individual steps of your test. Start with a natural-language instruction, an HTTP request, a visual check, script injection, or hand the reins to Autopilot and let the agent figure it out.","emptyTip":"Tip: press <kbd>N</kbd> anywhere to add a new prompt","tag":"Tag","findTag":"Find a tagâ¦","noTags":"No tags.","allTagsAssigned":"All tags assigned","removeTag":"Remove {name}","deleteStepTitle":"Delete this step?","deleteStepA11y":"Delete step","deleteStepBody":"Removes {label} and its compiled actions. This canât be undone.","cancel":"Cancel","delete":"Delete","deleting":"Deletingâ¦","editConfig":"Edit test configuration","editTest":"Edit test","updateTest":"Update test","updatingTest":"Updatingâ¦","httpNoRequest":"No request selected","httpCreate":"Create HTTP Request","httpSelect":"Select HTTP Request","httpSearch":"Search saved requestsâ¦","searching":"Searchingâ¦","httpNoSaved":"No saved requests. Create one in Tools ⺠HTTP Request.","httpRefEdit":"Edit reference name","httpRefSave":"Save reference name","httpShowReqResp":"Show request & response","httpTry":"Try request","httpChange":"Change request","httpDialogRequest":"Request","httpDialogResponse":"Response","httpDialogBody":"Body","httpDialogHeaders":"Headers","httpDialogNoBody":"No body","httpDialogNoHeaders":"No headers","httpDialogNoResponse":"No response yet â run this step to capture one.","httpDialogLoadingResponse":"Loading responseâ¦","httpDialogResponseFailed":"Could not load the response.","autopilotReasoning":"Autopilot reasoning","autopilotToolCalls":"Tool calls","auto
66pilotOutput":"Model output","autopilotNoToolCalls":"No tool calls yet","autopilotWaitingStream":"Waiting for outputâ¦","autopilotInstruction":"Instruction","viewPayload":"View payload","autopilotPayload":"Autopilot payload","railFollow":"Follow active sequence","railFollowOn":"Auto-scroll on - following the active sequence","railFollowOff":"Auto-scroll off - click to follow the active sequence","railExtension":"Browser extension","railReports":"Reports","railVariables":"Variables","railExtensionTip":"Browser extension - run this test locally in your own browser and tune run options","railExtensionDisabledTip":"Browser extension not installed - install it to run this test locally in your own browser","railReportsTip":"Reports - browse this test's past runs, their status and screenshots","railVariablesTip":"Variables - the values this test uses and the live state from the latest run","browserExtension":"Browser Extension","extUse":"Use Extension","extTerminate":"Terminate After Run","extIncognito":"Use Incognito Mode","extNotDetected":"Extension not detected - Run will fall back to a remote browser.","freshWindowReplay":"No open test window - the run replays from the first step up to the selected one to rebuild state.","extIncognitoBlocked":"The extension can't open an incognito window - enable \\"Allow in Incognito\\" for the extension at chrome://extensions, or turn off Incognito Mode in the run settings.","extStartError":"The extension couldn't start the run: {message}","reportsBlurb":"See every run of this test - status, steps, and screenshots.","openResults":"Open Test Results â","noVariables":"No variables defined for this test.","save":"Save","variablesDefined":"Variables","variablesEndState":"End state of latest execution","variablesCurrentState":"Current state of running execution","noScreenshot":"Screenshot not available","variablesUpdated":"Variables Updated","variableUnset":"Not set","variableVaultBadge":"Vault","variableSecretBadge":"Secret","variableValueLabel":"value","variableValuePlaceholder":"Enter a valueâ¦","variableUseVault":"Resolve from vault","variableVaultLoading":"Loading vault profilesâ¦","variableNoVaultProfiles":"No vault profiles configured for this team.","variableVaultProfile":"Vault profile","variableSecretRef":"Secret reference","variableSecretRefPlaceholder":"e.g. apps/myapp/db#password","variableSecretRefRelativePlaceholder":"e.g. password or myapp#password","variablePathPrefixHint":"Path prefix: {prefix}","variableVaultNote":"The value is fetched from the vault at run time and never stored.","variableSecret":"Store as secret","variableOverwriteSecret":"Overwrite secret","variableClear":"Clear","variableHelpDefault":"This value is saved with the test and substituted wherever the placeholder appears.","variableHelpSecret":"This secret is hidden. Click overwrite to replace it.","variableHelpOverwrite":"Enter a new value to replace the stored secret.","variableViewState":"View variable state","insertTitle":"Insert","insertParameter":"Parameter","insertHint":"Hint","insertSetting":"Setting","insertComment":"Comment","insertTestCall":"Sub-test callâ¦","testCallTitle":"Insert sub-test call","testCallHelp":"Search for a test to call as a sub-test and insert it as a link.","testCallSearch":"Search tests by nameâ¦","testCallHint":"Type to search for a test to call.","testCallEmpty":"No matching tests found.","testCallParamsTitle":"Sub-test parameters","testCallParamsHelp":"Override {name}'s parameters for this call. The original test is not changed.","testCallParamsLoading":"Loading parametersâ¦","testCallParamsEmpty":"The selected test has no parameters.","testCallParamsError":"Parameters could not be loaded.","testCallNoScenario":"No scenario found for the selected test.","testCallParamDefault":"Default: {value}","testCallParamEmptyValue":"(empty)","testCallParamInherited":"Default","testCallParamOverridden":"Overridden","testCallParamFrom":"From {name}","testCallParamReset":"Reset to default","testCallBack":"Change test","testCallApply":"Apply","lifecycleTitle":"Lifecycle - run this sequence as a setup/teardown hook","lifecycle":{"classic":"Classic (normal step)","beforeEach":"Before Each","afterEach":"After Each","beforeEachStep":"Before Each Step","afterEachStep":"After Each Step","tearDown":"Tear Down"}
66,"lbStep":"Step","lbIntention":"Intention","lbUrl":"Current URL","lbAction":"Action","lbGoal":"Goal","lbJustification":"Justification","lbDescription":"Action detail","lbDiagnostics":"Diagnostics","seeMore":"See more","seeLess":"See less","close":"Close","extConnected":"Extension connected","extDisconnected":"Extension not connected","realtimeConnected":"Realtime connected","realtimeDisconnected":"Realtime offline","runFromHere":"Run from here","runInProgress":"A run is already in progress","charLimitExceeded":"Character limit exceeded ({limit} max)","deleteStepLabel":"{type} (step {index})","stepType":{"prompt":{"label":"Text2Test Native","short":"T2T Native"},"authored":{"label":"Text2Test Authoring Agent","short":"T2T Authoring Agent"},"http":{"label":"HTTP request","short":"HTTP request"},"visual":{"label":"Text2Test Visual Verification","short":"T2T Visual Verification"},"script":{"label":"Text2Test Scripting Agent","short":"T2T Scripting Agent"},"auto":{"label":"Text2Test Autopilot","short":"T2T Autopilot"}},"addSource":{"prompt":{"desc":"Plain text to test case. The Text2Test native model compiles deterministic steps."},"authored":{"desc":"Plain text to test case, written by an AI agent that reads the live screen and verifies every step it writes."},"script":{"desc":"Paste an existing script or auto-generate one from plain text, run inline with the test."},"auto":{"desc":"Hand control to an LLM for complex, reasoning-heavy flows."},"visual":{"desc":"Screenshot diff or element visibility check."},"http":{"desc":"Call an API and assert on the response."}},"placeholder":{"prompt":"Describe in plain English what should happenâ¦\\nE.g. click \\"Sign in\\", type your email, wait for the dashboard.","authored":"Describe what this step should doâ¦\\nThe agent reads the live screen, writes the steps and verifies each one.","visual":"Describe what to verify visually.\\nE.g. the dashboard header is visible, top 120px, tolerance 0.2%.","auto":"Describe a high-level goal for Autopilot.\\nE.g. complete onboarding, max 8 actions.","script":"// Playwright \`page\` available - return a boolean to pass/fail.\\n// e.g. return await page.locator('h1').isVisible();"},"showCompiledActions":"Show compiled actions","hideCompiledActions":"Hide compiled actions","showRunScreenshots":"Show run screenshots","hideRunScreenshots":"Hide run screenshots","moveUp":"Move up","moveDown":"Move down","deleteSequence":"Delete sequence","replaceReferenceVisual":"Reference uploaded - replace","uploadReferenceVisual":"Upload reference visual","openScriptStudio":"Open Script Studio","saveSequence":"Save step","saveAndCompile":"Save and compile to actions","unsavedBadge":"Unsaved","compilingBadge":"Compilingâ¦","savingBadge":"Savingâ¦","unsavedLeaveSaving":"Compiling your steps into actions - this can take a moment.","runThisSequence":"Run this sequence","stepScriptAria":"Step {index} script","stepPromptAria":"Step {index} prompt","scriptAskPlaceholder":"Ask AI to write or modifyâ¦","scriptChatPlaceholder":"Ask AI to write or modify⦠( / for commands )","scriptChatRunInProgress":"Test run in progress - chat resumes when it finishes","askAi":"Ask AI","send":"Send","text2testAssistant":"Text2Test Assistant","scriptPageState":{"live":"live page","noPage":"no page","noExtension":"no extension"},"scriptLoadingConversation":"Loading conversationâ¦","scriptEmptyReady":"Ask the assistant to inspect the page and write Playwright code into the editor.","scriptEmptyNoExtension":"Open the extension on a live page and the assistant can see the screen. For now it can still help you write code.","scriptCommandCompactDesc":"Summarize the conversation to free up context","scriptCommandCompactHint":"needs at least 4 messages","scriptCommandClearDesc":"Clear the conversation and wipe its memory","scriptCommandClearHint":"no messages yet","rewindToHere":"Rewind to here","scriptCommands":"Commands","scriptStudio":"Script Studio","promptStudio":"Prompt Studio","authoredEmptyReady":"Ask the agent what this step should do. It reads the live screen, writes each Text2Test sentence and runs
66it before keeping it.","authoredEmptyNoExtension":"Open the extension on a live page and the agent can verify every sentence against the real screen. For now it writes from the Text2Test rules alone.","promptEditor":"Prompt editor","compiledStepsTitle":"Compiled steps","compiledStepsEmpty":"No compiled steps yet.","openPromptStudio":"Open Prompt Studio","stepAuthoredAria":"AI-authored step","authoredAskPlaceholder":"Ask the authoring agentâ¦","stepNumber":"Step {index}","run":"Run","aiProposedChanges":"AI proposed changes","reject":"Reject","accept":"Accept","scriptEditor":"Script editor","resizeEditorChat":"Resize editor and chat","resizeEditorOutput":"Resize editor and output","reportsLoading":"Loading reportsâ¦","reportsEmpty":"No reports yet. Run this test to see results here.","reportsCount":"{count} report(s)","reportsSteps":"{passed}/{total} steps passed","reportsStartDate":"Start date","reportsEndDate":"End date","reportsClearDates":"Clear date filter","chatConnectFailed":"Could not connect to the assistant. Is the autopilot service reachable and are you signed in?","chatSendFailed":"Failed to send the message.","chatCompactConnectFailed":"Could not connect to the assistant to compact.","chatCompactFailed":"Failed to compact the conversation.","chatCompacted":"Conversation compacted.","chatWarmingUp":"ð Preparing a live page (running the earlier steps)â¦"},"results":{"breadcrumbWeb":"Web Test","title":"Test Results","description":"Every web-test execution across this workspace. Drill into any run to see its status, step timeline and replay.","rangeAll":"All time","range24h":"Last 24 hours","range7d":"Last 7 days","range30d":"Last 30 days","range90d":"Last 90 days","passRate":"Pass rate","ofRuns":"/ {total} runs","status_passed":"Passed","status_failed":"Failed","status_running":"Running","status_stopped":"Stopped","status_pending":"Pending","status_error":"Errored","searchPlaceholder":"Search by test name, executor, run idâ¦","filter":"Filter","colTest":"Test","colStatus":"Status","colExecution":"Execution","colDuration":"Duration","colStarted":"Started","colEnvironment":"Environment","colExecutor":"Executor","execScheduled":"Scheduled","execManual":"Manual","actView":"View details","actCopyId":"Copy run ID","copiedId":"Run ID copied","truncated":"Showing the {shown} most recent runs of {total}. Narrow the date range or search to find older runs.","noMatch":"No runs match these filters.","resetFilters":"Reset filters","rowsRuns":"runs","emptyTitle":"No runs yet","emptyMessage":"When you run a web test, every execution lands here with its status, timing, replay video and step-by-step diagnostics.","panel":{"runTitle":"Test run","actionsLabel":"Actions","run":"Run","tabOverview":"Overview","tabSteps":"Steps","tabAdminDetail
66s":"Admin Details","diagnostics":"Diagnostics","summary":"Summary","steps":"Steps","passed":"Passed","failed":"Failed","skipped":"Skipped","replay":"Replay","screenshots":"Screenshots · {count}","timeline":"Step timeline · {ran} ran, {skipped} skipped","loadingSteps":"Loading stepsâ¦","noSteps":"No step data for this run.","status":"Status","action":"Action","context":"Context","aiRequest":"AI Request","aiResponse":"AI Response","screenshot":"Screenshot","noAiRequest":"No request data for this step.","noAiResponse":"No AI response data for this step.","noScreenshot":"No screenshot captured for this step.","seeMore":"See more","seeLess":"See less","copy":"Copy","tabConsole":"Console","downloadLogs":"Download logs","tabNetwork":"Network","loadingLogs":"Loading logsâ¦","noLogs":"No console logs for this run.","noLogMatch":"No log entries match.","lvl_all":"All","lvl_err":"Errors","lvl_warn":"Warn","searchLog":"Search logâ¦","errCount":"{count} errors","warnCount":"{count} warnings","entryCount":"{count} entries","loadingNetwork":"Loading networkâ¦","noNetwork":"No network capture for this run.","noNetworkMatch":"No requests match.","searchUrl":"Search U
66RLâ¦","onlyErrors":"Only errors","requests":"requests","ofTotal":"of {total}","openVideo":"Open video","backToRequests":"Back to requests","net_headers":"Headers","net_payload":"Payload","net_response":"Response","net_timing":"Timing","netGeneral":"General","netUrl":"Request URL","netMethod":"Request method","netStatus":"Status code","netRemote":"Remote address","netResponseHeaders":"Response headers","netRequestHeaders":"Request headers","netNoHeaders":"No headers captured.","netNoPayload":"No request payload.","netQuery":"Query string parameters","netRequestBody":"Request body","netNoBody":"Response body was not captured.","netNoTiming":"No timing data.","netTotal":"Total","phase_blocked":"Blocked","phase_dns":"DNS lookup","phase_connect":"Initial connection","phase_ssl":"SSL","phase_send":"Request sent","phase_wait":"Waiting (TTFB)","phase_receive":"Content download","copyLink":"Copy public link","openTest":"Open test","openInNewTab":"Open in new tab","linkCopied":"Public link copied","publicLinkError":"Could not create public link","share":"Share","rerunTest":"Re-run test","rerunStarted":"Test re-run started","rerunFailed":"Couldn't start the re-run"},"shareModal":{"title":"Share test run","whoCanView":"Who can view","publicLabel":"Anyone with the link","publicDesc":"Read-only report, no sign-in required. Best for engineers debugging a failure.","workspaceLabel":"Workspace only","workspaceDesc":"{name} members. Opens directly in the app.","expiresLabel":"Link expires","expiresOption":"{count, plural, one {# day} other {# days}}","revokeNote":"Viewers can be revoked at any time from Test settings.","linkLabel":"Share link","copyLink":"Copy link","copied":"Copied","createError":"Could not create share link","cancel":"Cancel","next":"Next","done":"Done"},"artifacts":{"empty":"No step artifacts for this run.","aiRequest":"AI Request","aiResponse":"AI Response","screenshot":"Screenshot","refScreenshot":"Reference","currScreenshot":"Current","prevScreenshot":"Previous","noScreenshot":"No screenshot captured.","copy":"Copy"},"actCopyLink":"Copy public link","copiedLink":"Public link copied","actionsLabel":"Actions","logsDownloadFailed":"Could not download the logs","publicLinkError":"Could not create public link","deltaPassRate":"{pct}% pass rate","vsPrev":"vs. previous 30d","anyone":"Anyone","filterTest":"Test: {name}","clearTestFilter":"Clear test filter","columns":"Columns","chipAll":"All"},"getExtension":{"eyebrow":"Text2Test Chrome Extension","title":"Author tests by watching them run","subtitle":"Write a step in plain text, run it live through the extension, and watch it execute in a real browser. See what works, refine what doesn't, all without leaving your test.","install":"Add to Chrome","installHint":"Free to install. Works with your existing Text2Test plan.","chromeOnly":"The Text2Test extension runs on <b>Google Chrome</b> only. Other browsers aren't supported.","whatItDoes":"What the extension does","features":{"watch":{"title":"Watch tests run live","description":"A dedicated browser window opens for every test run. See each step execute in real time."},"interact":{"title":"Interact when needed","description":"Close pop-ups, dismiss banners, move past verification screens. The test continues from where you left off."},"sequences":{"title":"Works with all sequence types","description":"T2T Native, Autopilot, Scripting Agent, Visual Verification, and HTTP Request all run through the extension."}},"installed":{"connected":"Extension connected","title":"You're all set. Here's what you can do.","subtitle":"Three things to know: turn on Incognito access, control how each run behaves, and tag elements precisely with a right-click.","step1":{"title":"Allow the extension in Incognito","description":"When you install the Text2Test extension, click Details and allow Incognito mode. If you don't see it, click the extension icon on the browser toolbar â Manage extension â toggle Allow in Incognito. This lets Text2Test run your tests in a clean, private window when you want a fresh session.","callout":"Find this at chrome://extensions, click Details on Text2Test, then toggle Allow in Incognito.","siteAccess":"Site access","
66siteAccessDesc":"Allow this extension to read and change all your data on websites that you visit:","onAllSites":"On all sites","siteSettings":"Site settings","pinToToolbar":"Pin to toolbar","allowIncognito":"Allow in Incognito","allowIncognitoDesc":"Warning: Google Chrome cannot prevent extensions from recording your browsing history. To disable this extension in Incognito mode, unselect this option.","allowFileUrls":"Allow access to file URLs","collectErrors":"Collect errors","source":"Source","sourcePath":"Unpacked extension · Loaded from: ~/Downloads/extension-main-latest"},"step2":{"title":"Control how each run behaves","description":"Open any Web Test and you'll find the Browser Extension panel. Toggle the options below to see what each one does. Click any toggle to try it.","mockCrumb":"Tests / Checkout regression","mockTitle":"Checkout regression","mockNavOverview":"Overview","mockNavTestEditor":"Test Editor","mockGroupMobileTest":"Mobile Test","mockNavDevicePark":"Device Park","mockClose":"Close","mockInfo":"More info","replay":"Replay"},"step3":{"title":"Tag elements precisely with right-click","description":"Inside the extension window, right-click any element and hover Text2Test to tag it. Tagging pins the exact element so a step clicks precisely the right thing, even when the page has lookalikes.","taggedButtonLabel":"New project","taggedBadge":"Tagged","whyTagTitle":"Why tag?","whyTagBody":"A tag locks a step to one exact element. It makes clicks precise and keeps tests stable when a page changes around it.","whyTagSteps":{"step1":"Right-click the element in the extension window.","step2":"Hover <code>Text2Test</code> in the menu.","step3":"Choose <code>Label</code>, then <code>Single</code> or <code>Multiple</code>.","step4":"The element is tagged and ready to use in a step."},"replay":"Replay"}}},"doc":{"breadcrumb":"Web Test","title":"Web Test","lead":"Author, run, and share browser-based UI tests using natural-language prompts - from your first test through the browser extension, data sources, and sequences.","onThisPage":"On this page","copy":"Copy","copied":"Copied","calloutInfo":"Note","calloutTip":"Tip","calloutWarning":"Important","cta":"New web test","updated":"Updated July 2026"}},"mobile":{"earlyAccess":{"eyebrow":"Mobile Test · Early Access","title":"Testing doesn't stop at the browser","subtitle":"Text2Test covers mobile too. The same plain-language test creation and specialized AI models for software testing, now for your iOS and Android apps. We're rolling out web self-service first, and mobile is ready today for teams that want it.","chip":"iOS and Android, ready today","ctaDemo":"Request a Demo","ctaEarly":"Get early access","earlyDone":"You're on the list","ctaHint":"No commitment. We'll follow up by email before enabling anything.","s1Title":"One approach, every surface","s1Body":"Web and mobile shouldn't mean two different testing tools, two different workflows, and two different teams. Text2Test uses the same test creation model across both, so what your team learns on web carries straight over to mobile. Write the test once, in plain language, and let the platform handle the rest.","benefitsLabel":"What mobile testing gives you","benefits":{"devices":"Real device coverage across iOS and Android, not just emulated screens","steps":"The same plain-language test steps your team already uses for web","once":"Write a test once and run it on both iOS and Android, no duplicate suites","reports":"Reports built to fix bugs fast, with recordings and full logs on every run"},"s3Title":"Why web first","s3Body":"We launched web self-service first to keep the experience simple and get it right. Mobile testing is already live for teams that need it, set up together with us so it fits your release process from day one. As we expand self-service, mobile will join the same plans you already know.","closingTitle":"Ready to test your mobile app?","closingBody":"Talk to us about bringing Text2Test to your iOS and Android releases. We'll walk you through it and get you set up."}},"settings":{"profiles":{"breadcrumbSettings":"Settings","title":"Setting Profiles","description":"Reusable bundles of execution settings applied to your tests at the prompt, general, team, or company level.","newProfile":"New Profile","searchPlaceholder":"Search profilesâ¦","filterType":"Type","colName":"Name","colType":"Scope","colDescription":"Description","colCreated":"Created","colSettings":"Settings","settingsCount":"{count, plural, =0 {No settings} one {# setting} other {# settings}}","rowsProfiles":"profiles","actEdit":"Edit","actCopyId":"Copy ID","actDelete":"Delete","copiedId":"Profile ID copied","emptyTitle":"No setting profiles yet","emptyMessage":"Create your first setting profile to centrally manage prompt, team, or company-level execution settings.","emptyCta":"Create setting profile","noMatch":"No profiles match your filters.","resetFilters":"Reset filters","deleteTitle":"Delete setting profile","deleteMessage":"Are you sure you want to delete â{name}â? Tests bound to this profile will fall back to lower-priority settings. This cannot be undone.","deleteConfirm":"Delete","deleteCancel":"Cancel","deleted":"Setting profile deleted","deleteFailed":"Failed to delete setting profile","loadFailed":"Failed to load setting profiles","typeGeneral":"General","typeTeam":"Team","typeCompany":"Company","typePrompt":"Prompt"},"editor":{"breadcrumbSettings":"Settings","breadcrumbProfiles":"Setting Profiles","titleCreate":"New Setting Profile","titleEdit":"Edit Setting Profile","back":"Back to profiles","cancel":"Cancel","save":"Save","saving":"Savingâ¦","labelName":"Name","placeholderName":"Profile name","labelType":"Scope","placeholderType":"Select scope","labelDescription":"Description","placeholderDescription":"Short description (optional)","labelBody":"Settings","placeholderBody":"timeout::30000\\nretryCount::2\\nheadless::true","bodyHint":"One setting per line in the form key::value. Whitespace-separated tokens are parsed on save.","typeHintTitle":"Scope priority","typeHint":"When the same key resolves from several profiles the higher-priority scope wins: Prompt > General > Team > Company.","typeGeneral":"General","typeTeam":"Team","typeCompany":"Company","typePrompt":"Prompt","nameRequired":"A profile name is required.","created":"Setting profile created","updated":"Setting profile updated","saveFailed":"Failed to save setting profile","loadFailed":"Failed to load this
66setting profile."},"vault":{"breadcrumb":"Settings","title":"Vault Profiles","description":"Connect your vault provider to securely resolve secrets at test runtime without storing them.","newProfile":"Add Vault Profile","searchPlaceholder":"Search vault profilesâ¦","kpiTotal":"Total profiles","kpiProviders":"Providers","kpiDefaults":"Defaults","kpiCompany":"Company scope","colName":"Name","colProvider":"Provider","colUrl":"URL","colScope":"Scope","colDefault":"Default","scopeCompany":"Company","scopeTeam":"Team","defaultYes":"Default","rowsProfiles":"profiles","noMatch":"No vault profiles match your search.","resetSearch":"Reset search","emptyTitle":"No vault profiles yet","emptyMessage":"Connect your vault provider to securely resolve secrets at test runtime without storing them.","actEdit":"Edit","actTestConnection":"Test Connection","actCopyId":"Copy ID","actDelete":"Delete","copiedId":"Vault profile ID copied","connectionSuccess":"Connection test successful","connectionFailed":"Connection test failed","created":"Vault profile created","createFailed":"Failed to create vault profile","updated":"Vault profile updated","updateFailed":"Failed to update vault profile","deleted":"Vault profile deleted","deleteFailed":"Failed to delete vault profile","deleteTitle":"Delete vault profile","deleteMessage":"Delete â{name}â? Tests using this profile will fail to resolve secrets. This cannot be undone.","deleteCancel":"Cancel","deleteConfirm":"Delete","createTitle":"Add Vault Profile","editTitle":"Edit Vault Profile","fieldName":"Name","namePlaceholder":"e.g. production-vault","fieldProvider":"Provider","providerHashicorp":"HashiCorp Vault","providerAws":"AWS Secrets Manager","providerAzure":"Azure Key Vault","providerCyberark":"CyberArk Conjur","fieldUrl":"URL","urlPlaceholder":"e.g. https://vault.example.com","tokenVault":"Vault Token","tokenAws":"AWS Bearer Token","tokenAzure":"Azure AD Token","tokenCyberark":"Login & API Key","tokenPlaceholderHashicorp":"Enter your HashiCorp Vault token","tokenPlaceholderAws":"Enter your AWS Bearer or STS token","tokenPlaceholderAzure":"Enter your Azure AD Bearer token","tokenPlaceholderCyberark":"login:api_key (e.g. admin:2ab3xyâ¦)","tokenHint":"Leave empty to keep existing token.","fieldNamespace":"Namespace","namespacePlaceholderHashicorp":"e.g. admin/team-a","namespacePlaceholderCyberark":"Conjur account (e.g. default)","fieldPathPrefix":"Path Prefix","pathPrefixPlaceholder":"e.g. secret/data/myapp","fieldScope":"Scope","fieldDescription":"Description","descriptionPlaceholder":"Optional descriptionâ¦","fieldIsDefault":"Default Profile","isDefaultHint":"This profile will be auto-selected when adding vault parameters.","cancel":"Cancel","save":"Save","update":"Update"},"apiKeys":{"title":"API Keys","subtitle":"Create and manage API keys for programmatic access to Text2Test.","searchPlaceholder":"Search by name or keyâ¦","createButton":"Create API Key","emptyTitle":"No API Keys Yet","emptyDescription":"Create API keys to access the Text2Test API programmatically for CI/CD, automation, and integrations.","colName":"Name","colKey":"Key","colPermissions":"Permissions","colStatus":"Status","colCreated":"Created","colExpires":"Expires","statusActive":"Active","statusInactive":"Inactive","never":"Never","fullAccess":"Full Access","actionActivate":"Activate","actionDeactivate":"Deactivate","actionRevoke":"Revoke","toggleSuccess":"API key status updated.","toggleError":"Failed to update API key status.","revokeSuccess":"API key revoked.","revokeError":"Failed to revoke API key.","revokeConfirmTitle":"Revoke API Key","revokeConfirmMessage":"This action cannot be undone. Any integrations using this key will stop working immediately.","createSuccess":"API key created.","createError":"Failed to create API key.","createTitle":"Create API Key","createDescription":"Configure your new API key with a name, permissions, and expiration.","nameLabel":"Name","namePlaceholder":"e.g. CI/CD Pipeline","permissionsLabel":"Permissions","template_fullAccess":"Full Access","template_cicd":"CI/CD","template_testRunner":"Test Runner","template_readOnly":"Read Only","template_reportViewer":"Report Viewer","template_custom":"Custom","expirationLabel":"Expiration","expiryPreset_week1":"1 week","expiryPreset_weeks2":"2 weeks","expiryPreset_month1":"1 month","expiryPreset_months3":"3 months","expiryPreset_months6":"6 months","expiryPreset_custom":"Custom","validityLabel":"Validity (days)","validityMaxError":"Cannot exceed 180 days (6 months)","cancel":"Cancel","revealTitle":"Your API Key","revealWarning":"Copy this key now. You won't be able to see it again!","done":"Done"},"mcpServers":{"breadcrumb":"Settings","title":"MCP Servers","description":"Connect MCP servers to extend your AI assistant with custom tools and capabilities.","newServer":"Add MCP Server","searchPlaceholder":"Search MCP serversâ¦","filterScope":"Scope","colName":"Name","colUrl":"URL","colScope":"Scope","colEnabled":"Enabled","colUseInChat":"Use in Chat","colCreated":"Created","rowsServers":"servers","kpiTotal":"Total servers","kpiEnabled":"Enabled","kpiChat":"Chat-enabled","kpiTeam":"Team-scoped","scopeTeam":"Team","scopeCompany":"Company","actEdit":"Edit","actTestConnection":"Test Connection","actCopyId":"Copy ID","actDelete":"Delete","copiedId":"Server ID copied","emptyTitle":"No MCP Servers Yet","emptyMessage":"Connect MCP servers to extend your AI assistant with custom tools and capabilities.","emptyCta":"Add MCP Server","noMatch":"No servers match your filters.","resetFilters":"Reset filters","deleteTitle":"Delete MCP Server","deleteMessage":"Delete â{name}â? Tests using this server will lose access to its tools. This cannot be undone.","deleteConfirm":"Delete","deleteCancel":"Cancel","deleted":"MCP server deleted","deleteFailed":"Failed to delete MCP server","loadFailed":"Failed to load MCP servers","createTitle":"New MCP Server","createSubtitle":"Connect a new MCP server to extend AI capabilities.","editTitle":"Edit MCP Server","editSubtitle":"Update server settings and connection details.","labelName":"Name","placeholderName":"e.g. My Custom Tools","labelUrl":"URL","placeholderUrl":"e.g. https://mcp.example.com/sse","labelScope":"Scope","scopeTeamHint":"Available to the current team only.","scopeCompanyHint":"Available to all teams in the company.","labelDescription":"Description","placeholderDescription":"Short description (optional)","labelEnabled":"Enabled","labelUseInChat":"Use in Chat","labelHeaders":"Custom Headers","addHeader":"Add header","headerKey":"Header name","headerValue":"Header value","noHeaders":"No custom headers configured.","testConnection":"Test Connection","testSuccess":"Connection successful","testFailed":"Connection failed","cancel":"Cancel","save":"Save","create":"Create","saving":"Savingâ¦","created":"MCP server created","updated":"MCP server updated","saveFailed":"Failed to save MCP server","nameRequired":"A server name is required.","urlRequired":"A server URL is required."},"doc":{"breadcrumb":"Settings","title":"Setting Profiles","lead":"Every setting you can tune across the platform - execution, browser, waits, AI matching, localization, video and mobile - with accepted values, defaults and worked examples.","onThisPage":"On this page","copy":"Copy","copied":"Copied","calloutInfo":"Note","calloutTip":"Tip","calloutWarning":"Important","cta":"Create a setting profile","updated":"Updated June 2, 2026"},"nav":{"aria":"Settings","breadcrumb":"Settings","groupPersonal":"Personal","account":"Account","billingPlan":"Billing & Plan","security":"Security","help":"Help","notifications":"Notifications"},"account":{"title":"Account","subtitle":"Manage your profile, password and personal preferences.","ownerBadge":"Owner","changePhoto":"Change photo","comingSoon":"This isn't wired to the backend yet.","detailsTitle":"Personal details","detailsDesc":"Update your name and how you appear across the workspace.","detailsFootnote":"Changes apply across every workspace you belong to.","saveChanges":"Save changes","saved":"Profile updated.","saveFailed":"Could not save your profile.","fullName":"Full name","jobTitle":"Job title","optional":"Optional","emailAddress":"Email address","emailHint":"Used for sign-in and notifications.","emailChangeNote":"To change your email, contact [email protected].","phone":"Phone","timezone":"Timezone","language":"Language","passwordTitle":"Password","passwordDesc":"Set a new password. We recommend at least 12 characters.","passwordFootnote":"You'll stay signed in on this device.","updatePassword":"Update password","currentPassword":"Current password","newPassword":"New password","confirmPassword":"Confirm new password","toggleVisibility":"Toggle password visibility","passwordSaved":"Password updated.","passwordSaveFailed":"Could not update your password.","passwordRequired":"Fill in all password fields.","passwordMismatch":"New passwords do not match."},"members":{"title":"Members","subtitle":"Manage who can access the {workspace} workspace.","seatsTitle":"Seats","seatsDesc":"Your plan includes up to {limit}
66 seats. Add members to collaborate on tests and plans.","seatsUsed":"seats used","seatsFootnote":"Need more seats? Upgrade your plan or talk to sales.","membersTitle":"Members","membersDesc":"People with access to the {workspace} workspace.","inviteMember":"Invite member","empty":"No members yet.","colMember":"Member","colRole":"Role","colLastActive":"Last active","you":"You","roleAdmin":"Admin","roleMember":"Member","roleOwner":"Owner","makeAdmin":"Make admin","makeMember":"Make member","removeMember":"Remove member","roleUpdated":"Updated {name}'s role.","roleUpdateFailed":"Could not update the role.","memberRemoved":"Removed {name} from the workspace.","memberRemoveFailed":"Could not remove this member.","removeConfirmTitle":"Remove member?","removeConfirmBody":"{name} will lose access to this workspace and free up a seat. This can't be undone.","removeConfirmCancel":"Cancel","removeConfirmConfirm":"Remove","pendingTitle":"Pending invitations","pendingDesc":"People who've been invited but haven't joined yet.","pendingBadge":"Pending","resend":"Resend","revoke":"Revoke","invitedToday":"Invited today","invitedDaysAgo":"Invited {days, plural, one {# day} other {# days}} ago","inviteResent":"Invite resent to {email}.","inviteResendFailed":"Could not resend the invite.","inviteRevoked":"Revoked the invite for {email}.","inviteRevokeFailed":"Could not revoke the invite."},"security":{"title":"Security","subtitle":"Two-factor authentication and active sessions.","comingSoon":"This isn't wired to the backend yet.","twoFactorTitle":"Two-factor authentication","twoFactorDesc":"Add a second step at sign-in using an authenticator app.","authenticatorApp":"Authenticator app","on":"On","off":"Off","configured":"Configured with an authenticator app.","notConfigured":"Not configured","viewBackupCodes":"View backup codes","sessionsTitle":"Active sessions","sessionsDesc":"Devices currently signed in to your account.","signOutAll":"Sign out all","thisDevice":"This device","revoke":"Revoke"},"notifications":{"title":"Notifications","subtitle":"Decide what reaches your inbox and in-app inbox.","cardTitle":"Notifications","cardDesc":"Choose what you're notified about and where. Critical billing receipts are always emailed.","email":"Email","inApp":"In-app","footnote":"Applies to your account only.","save":"Save preferences","saved":"Notification preferences saved.","rows":{"testFailures":{"label":"Test run failures","desc":"When a web test or plan run finishes with failures or errors."},"planCompletion":{"label":"Plan completion","desc":"When a scheduled automation plan finishes a full run."},"weeklyDigest":{"label":"Weekly digest","desc":"A Monday summary of pass rate, flaky tests and usage."},"usageLimits":{"label":"Usage limits","desc":"When you reach 80% / 100% of your monthly test-case quota."},"billingInvoices":{"label":"Billing & invoices","desc":"Payment receipts, renewals and failed-charge alerts."},"productUpdates":{"label":"Product updates","desc":"New features, changelog highlights and tips."}}}},"tools":{"doc":{"breadcrumb":"Tools","title":"Tools","lead":"Data sources, saved HTTP requests, and element tags - the reusable building blocks your tests and plans draw on.","onThisPage":"On this page","copy":"Copy","copied":"Copied","calloutInfo":"Note","calloutTip":"Tip","calloutWarning":"Important","cta":"New data source","updated":"Updated June 2, 2026"},"testTags":{"breadcrumb":"Tools","title":"Test Tags","description":"Colored labels you assign to tests or directories to organise, filter, and group your test suite.","newTag":"Create Tag","searchPlaceholder":"Search tagsâ¦","allowUsersLabel":"Allow users to manage tags","colName":"Name","colColor":"Color","colType":"Type","typeEntity":"Entity Bound","typeDirectory":"Directory Bound","rowsTags":"tags","noMatch":"No tags match your search.","resetSearch":"Reset search","emptyTitle":"No test tags yet","emptyMessage":"Create your first tag to start organising tests and directories.","actEdit":"Edit","actDelete":"Delete","deleteTitle":"Delete test tag","deleteMessage":"Delete â{name}â? Tests using this tag will lose the label. This cannot be undone.","deleteConfirm":"Delete","deleteCancel":"Cancel","deleted":"Test tag deleted","deleteFailed":"Failed to delete test tag","createTitle":"Create Test Tag","editTitle":"Edit Test Tag","fieldName":"Name","namePlaceholder":"e.g. Smoke, Regression, Login","fieldType":"Type","fieldColor":"Color","cancel":"Cancel","save":"Save","createBtn":"Create","created":"Test tag created","updated":"Test tag updated","saveFailed":"Failed to save test tag","duplicateName":"A tag with this name already exists","nameRequired":"Tag name is required","permissionEnabled":"Users can now manage tags","permissionDisabled":"Only admins can manage tags","permissionFailed":"Failed to update permission"}
66,"elementTags":{"breadcrumb":"Tools","title":"Element Tags","description":"Named, stable selectors captured by the browser extension and mobile inspector so your steps stay addressable as the DOM shifts.","searchPlaceholder":"Search by name or selectorâ¦","filterType":"Type","filterPlatform":"Platform","colName":"Name","colSelector":"Selector","colType":"Type","colPlatform":"Platform","rowsTags":"tags","actView":"View","actCopySelector":"Copy selector","actDelete":"Delete","copiedSelector":"Selector copied","emptyTitle":"No element tags yet","emptyMessage":"Element tags are captured from the browser extension and the mobile inspector - theyâll show up here once you tag elements while building tests.","noMatch":"No tags match your filters.","resetFilters":"Reset filters","deleteTitle":"Delete element tag","deleteMessage":"Delete â{name}â? Steps that reference this tag will fall back to their inline selector. This cannot be undone.","deleteConfirm":"Delete","deleteCancel":"Cancel","deleted":"Element tag deleted","deleteFailed":"Failed to delete element tag","loadFailed":"Failed to load element tags","typeLabel":"Label","typeWait":"Wait until disappear","typeExclude":"Exclude","typePredefined":"Predefined","platformWeb":"Web","platformMobile":"Mobile","platformIos":"iOS","platformAndroid":"Android","panelSelector":"Selector","panelXpath":"XPath","panelFullXpath":"Full XPath","panelElementId":"Element ID","panelFrame":"Frame URL","panelScreenshots":"Screenshots","panelPage":"Page","panelElement":"Element","panelNoScreenshot":"No screenshot captured for this tag."},"dataSources":{"breadcrumb":"Tools","title":"Data Sources","description":"Files and HTTP responses that drive your data-driven plans - one row per iteration, shared across the workspace.","newSource":"New data source","searchPlaceholder":"Search data sourcesâ¦","filterFormat":"Format","filterSource":"Source","sourceFile":"File","sourceHttp":"HTTP","colFormat":"Format","colName":"Name","colSource":"Source","colCreated":"Created","rowsSources":"sources","kpiTotal":"Total sources","kpiFile":"File uploads","kpiHttp":"HTTP bindings","kpiFormats":"Formats","actEdit":"Edit details","actCopyId":"Copy ID","actDelete":"Delete","copiedId":"Data source ID copied","emptyTitle":"No data sources yet","emptyMessage":"Upload a CSV, XLS, XLSX, JSON or XML file, or bind a saved HTTP request, to drive data-driven plans.","emptyCta":"New data source","noMatch":"No data sources match your filters.","resetFilters":"Reset filters","deleteTitle":"Delete data source","deleteMessage":"Delete â{name}â? Plans and tests bound to it will fail on their next run until re-bound. This cannot be undone.","deleteConfirm":"Delete","deleteCancel":"Cancel","deleted":"Data source deleted","deleteFailed":"Failed to delete data source","loadFailed":"Failed to load data sources","createTitle":"New data source","createSubtitle":"Upload a file or bind a saved HTTP request.","editTitle":"Edit data source","editSubtitle":"Rename it, replace the file, or re-bind the HTTP request.","currentFile":"Current file","tabFile":"File upload","tabHttp":"HTTP request","dropTitle":"Drop a file or click to browse","dropHint":"Up to 10 MB · CSV · XLS · XLSX · JSON · XML","fileReplace":"Replace","fileRemove":"Remove","labelName":"Name","placeholderName":"Data source name","labelDescription":"Description","placeholderDescription":"Short description (optional)","labelFormat":"Format","labelRequest":"HTTP request","pickRequest":"Select a saved request","noRequests":"No saved HTTP requests found.","parseAs":"Parse response as","create":"Create","save":"Save","cancel":"Cancel","saving":"Savingâ¦","created":"Data source created","updated":"Data source updated","saveFailed":"Failed to save data source","uploadFailed":"File upload failed","nameRequired":"A name is required.","fileRequired":"Choose a file to upload.","requestRequired":"Select an HTTP request to bind.","actDownload":"Download file","actQuickView":"Quick view","downloaded":"File downloaded","downloadFailed":"Failed to download file","quickViewTitle":"{name} ({format})","quickViewLoading":"Loading previewâ¦","quickViewError":"Failed to load file preview","quickViewEmpty":"File is empty","quickViewRawFallback":"Could not parse file â showing raw content","quickViewRows":"{count, plural, one {# row} other {# rows}}","quickViewCols":"{count, plural, one {# column} other {# columns}}","quickViewLines":"{count, plural, one {# line} other {# lines}}"},"httpRequest":{"breadcrumb":"Tools","title":"HTTP Request","description":"Saved API calls you can send on demand or wire into a test - set a method, URL, headers, body and auth, then send to inspect the live response.","newRequest":"New Request","searchPlaceholder":"Search by name or URLâ¦","filterMethod":"Method","colMethod":"Method","colName":"Name","colUrl":"URL","colUpdated":"Updated","rowsRequests":"requests","kpiTotal":"Total requests","kpiGet":"Read (GET)","kpiWrite":"Write","kpiMethods":"Methods used","actEdit":"Edit","actDuplicate":"Duplicate","actCopyId":"Copy ID","actDelete":"Delete","copiedId":"Request ID copied","emptyTitle":"No saved requests yet","emptyMessage":"Build and save an API request to send on demand or reference from your tests.","emptyCta":"New request","noMatch":"No requests match your filters.","resetFilters":"Reset filters","deleteTitle":"Delete request","deleteMessage":"Delete â{name}â? Tests and data sources referencing it will break until re-pointed. This cannot be undone.","deleteConfirm":"Delete","deleteCancel":"Cancel","deleted":"Request deleted","deleteFailed":"Failed to delete request","loadFailed":"Failed to load this request.","duplicated":"Request duplicated","copySuffix":"copy","back":"Back to requests","namePlaceholder":"Untitled request","descriptionPlaceholder":"Add a short descriptionâ¦","urlPlaceholder":"https://example.com/api","send":"Send","sending":"Sendingâ¦","save":"Save","saving":"Savingâ¦","saved":"Request saved","saveFailed":"Failed to save request","sendFailed":"Request failed to send","copyCurl":"Copy as cURL","copiedCurl":"cURL copied","importCurl":"Import cURL","unsaved":"Unsaved changes","savedBadge":"Saved","tabParams":"Params","tabHeaders":"Headers","tabBody":"Body","tabAuth":"Auth","tabSettings":"Settings","kvKey":"Key","kvValue":"Value","kvHeader":"Header","kvAddParam":"Add param","kvAddHeader":"Add header","kvEmptyParams":"No query params. Add one or include them in the URL.","kvEmptyHeaders":"No headers yet.","bodyNone":"None","bodyText":"Text","bodyJson":"JSON","bodyFormData":"Form Data","bodyPlaceholder":"{\\n \\"key\\": \\"value\\"\\n}","bodyTextPlaceholder":"Plain text contentâ¦","bodyFormPlaceholder":"Add form fields below.","formatJson":"Format JSON","invali
66dJson":"Body is not valid JSON.","formKey":"Key","formValue":"Value","formAddField":"Add field","formEmptyFields":"No form fields. Add a key-value pair.","authNone":"No Auth","authBearer":"Bearer Token","authBasic":"Basic Auth","authApiKey":"API Key","authNoneHint":"This request will be sent without any authentication.","authToken":"Token","authUsername":"Username","authPassword":"Password","authKey":"Key","authValue":"Value","authAddTo":"Add to","authAddToHeader":"Header","authAddToQuery":"Query param","settingFollow":"Follow redirects","settingFollowHint":"Follow 3xx Location headers automatically.","settingVerifySsl":"Verify SSL certificate","settingVerifySslHint":"Reject responses with an invalid TLS certificate.","responseTitle":"Response","responseReady":"Ready to send","responseReadyHint":"Hit Send to fire the request and inspect the response.","responseStatus":"Status","responseTime":"Time","responseSize":"Size","respBody":"Body","respHeaders":"Headers","respPretty":"Pretty","respRaw":"Raw","respCopyBody":"Copy body","respCopied":"Copied to clipboard","respCopyFailed":"Failed to copy","respExpandTitle":"Header value","respCopyValue":"Copy value","tabCurl":"cURL","variables":"Variables","variablesHintPre":"Set values for","variablesHintPost":"placeholders","variablePlaceholder":"Valueâ¦","variableSecret":"Mark as secret","variablePublic":"Mark as public","curlAutoGenerated":"Auto-generated from the form. Edit manually to override.","curlApply":"Apply to form","curlApplied":"cURL applied to form","importTitle":"Import from cURL","importSubtitle":"Paste a cURL command to populate the method, URL, headers and body.","importPlaceholder":"curl https://api.example.com/users \\\\\\n -H 'Authorization: Bearer abc123'","import":"Import","importFailed":"Couldnât parse that cURL command."},"scenarioFiles":{"breadcrumb":"Tools","title":"Test Assets","description":"Uploaded files available for use in scenario steps â scripts, test data fixtures, or reference documents shared across the workspace.","newFile":"New test asset","searchPlaceholder":"Search test assetsâ¦","colName":"Name","colDescription":"Description","colCreatedBy":"Created by","colCreated":"Created","rowsFiles":"assets","kpiTotal":"Total assets","actEdit":"Edit details","actDownload":"Download file","actCopyId":"Copy ID","actDelete":"Delete","copiedId":"Test asset ID copied","emptyTitle":"No test assets yet","emptyMessage":"Upload a file to make it available for scenario steps. Any file type is accepted, up to 10 MB.","emptyCta":"New test asset","noMatch":"No test assets match your search.","resetFilters":"Reset filters","deleteTitle":"Delete test asset","deleteMessage":"Delete â{name}â? Scenarios referencing this file will no longer be able to access it. This cannot be undone.","deleteConfirm":"Delete","deleteCancel":"Cancel","deleted":"Test asset deleted","deleteFailed":"Failed to delete test asset","loadFailed":"Failed to load test assets","downloaded":"File downloaded","downloadFailed":"Failed to download file","createTitle":"New test asset","createSubtitle":"Upload a file to make it available in scenarios.","editTitle":"Edit test asset","editSubtitle":"Change the name or description. The uploaded file cannot be replaced.","dropTitle":"Drop a file or click to browse","dropHint":"Up to 10 MB · any file type","labelName":"Name","placeholderName":"Test asset name","labelDescription":"Description","placeholderDescription":"Short description (optional)","labelFileKey":"File key","create":"Create","save":"Save","cancel":"Cancel","saving":"Savingâ¦","created":"Test asset created","updated":"Test asset updated","saveFailed":"Failed to save test asset","uploadFailed":"File upload failed","nameRequired":"A name is required.","fileRequired":"Choose a file to upload."}},"automation":{"overview":{"breadcrumb":"Automation","title":"Plans","description":"Group tests into directories, or run them in plans. Schedule them, run them in parallel, or trigger them from CI.","newPlan":"New Plan","newDirectory":"New Directory","searchPlaceholder":"Search plans & directoriesâ¦","colType":"Type","colName":"Name","colCreated":"Created","colItems":"Items","kpiDirectories":"Directories","kpiDirectoriesSub":"{count, plural, one {across # group} other {across # groups}}","kpiPlans":"Plans","kpiPlansSub":"run in Chromium · Firefox · WebKit","rowsPlans":"plans","itemsCount":"{count, plural, =0 {empty} one {# item} other {# items}}","actRun":"Run","actStop":"Stop","actResults":"Plan results","actEdit":"Edit","actDelete":"Delete","actAddPlan":"Add plan","actAddDir":"Add sub-directory","actRename":"Rename","actMove":"Move","dirPickerLabel":"Directory","dirMoveHere":"Move here","dirNewHere":"+ New directory here","dirSearchPlaceholder":"Search directoriesâ¦","dirRoot":"All plans","running":"Plan run started","runFailed":"Couldnât start the plan run","stopped":"Plan stopped","stopFailed":"Couldnât stop the plan","emptyTitle":"No plans yet","emptyMessage":"Create a plan to run a group of tests together - on demand or on a schedule.","emptyTour":"Take a quick tour","emptyCta":"New plan","
66noMatch":"No plans match your search.","resetSearch":"Clear search","dirTitle":"New directory","dirTitleSub":"Created inside {parent}.","dirTitleRoot":"Appears at the top of your plans list.","dirNamePlaceholder":"Directory name","dirCreate":"Create directory","renameTitle":"Rename directory","rename":"Rename","cancel":"Cancel","deleteTitlePlan":"Delete plan","deleteMessagePlan":"Delete â{name}â? Its run history is kept, but the plan and its schedule are removed. This cannot be undone.","deleteTitleDir":"Delete directory","deleteMessageDirEmpty":"Delete â{name}â? This cannot be undone.","deleteMessageDirNotEmpty":"Delete â{name}â? The plans inside are moved to the parent directory first. This cannot be undone.","deleteConfirm":"Delete","deleted":"Deleted","deleteFailed":"Delete failed","dirCreated":"Directory created","renamed":"Directory renamed","saveFailed":"Save failed","dirDuplicateName":"A directory with this name already exists. Try another.","move":"Move","moveDuplicateName":"An item with this name already exists in the destination folder.","moveFailed":"Couldn't move the item","colUpdated":"Updated"},"wizard":{"title":"Create plan","titleIn":"Create plan in {parent}","trackerAsset":"Select asset type","trackerCreate":"Create","trackerReview":"Review & submit","innerSteps":"Inner steps","stepCounter":"Step {n}/{total}","reviewSubmit":"Review & submit","notSet":"Not set","step1":"Plan details","step1sub":"Name & options","step2":"Select tests","step2sub":"Pick from your tree","step3":"Order tests","step3sub":"Set run order","hintStep":"Step {n} of {total}","labelName":"Plan name","placeholderName":"Enter plan name","sectionSchedule":"Schedule","scheduleToggle":"Schedule execution","frequency":"Frequency","freqHourly":"Hourly","freqDaily":"Daily","freqWeekly":"Weekly","at":"At","on":"On","freqMonthly":"Monthly","dayOfMonth":"Day of month","useCustomCron":"Use custom cron","customCronHint":"Advanced: build the cron expression directly.","cronUnschedulable":"This schedule isn't a valid cron expression, so it would never run. Fix it before saving.","cronStoredInvalid":"The saved schedule isn't a valid cron expression and never runs. Pick a schedule to fix it.","cronEvery":"Every","cronIn":"in","cronOn":"on","cronAnd":"and","cronAt":"at","cronMinuteSep":":","cronMinutesSuffix":"minute(s)","cronPeriodYear":"year","cronPeriodMonth":"month","cronPeriodWeek":"week","cronPeriodDay":"day","cronPeriodHour":"hour","cronPeriodMinute":"minute","cronEveryMonth":"every month","cronEveryMonthDay":"every day of the month","cronMonthDayShort":"day of the month","cronEveryWeekDay":"every day of the week","cronWeekDayShort":"day of the week","cronEveryHour":"every hour","cronEveryMinute":"every minute","cronEveryShort":"every","cronEveryN":"every {n}","cronClear":"Clear","cronInvalid":"Invalid cron expression","cronPeriodAria":"Repeat period","cronMonthsAria":"Months","cronMonthDaysAria":"Days of the month","cronWeekDaysAria":"Days of the week","cronHoursAria":"Hours","cronMinutesAria":"Minutes","monthJan":"January","monthFeb":"February","monthMar":"March","monthApr":"April","monthMay":"May","monthJun":"June","monthJul":"July","monthAug":"August","monthSep":"September","monthOct":"October","monthNov":"November","monthDec":"December","sectionTestOptions":"Test options","browsers":"Browsers","browsersPlaceholder":"Select browsers","parallel":"Parallel execution","retryToggle":"Retry failed tests","retryLabel":"Retry attempts","sectionReporting":"Reporting","recordVideo":"Include video in reports","saveArtifacts":"Save step details on failure","sectionProfiles":"Setting profiles","profilesHint":"Apply saved execution settings at run time.","profilesPlaceholder":"Select setting profiles for plan","profilesEmpty":"No setting profiles yet.","sectionNotifications":"Notifications","notifyPlaceholder":"Email address","notifyOnFailure":"On Failure","notifyAlways":"Always","notifyAdd":"Add","testSearchPlaceholder":"Search testsâ¦","selectedCount":"{count} selected","noTests":"No tests found in this workspace.","selectTag":"Select a tag","allTags":"All tags","colName":"Name","treeShowing":"Showing {selected} of {total} tests · {groups} groups","groupSelectAria":"Select all tests in {name}","orderKickerStep":"Step 03","orderKickerTests":"Order tests","orderTitle":"Set the execution order","orderHint":"Tests run sequentially in this order (unless Parallel execution is enabled). Drag to reorder â or use the controls.","orderSelectedTests":"Selected tests","orderEmpty":"Select tests in the previous step first.","sumName":"Name","sumTests":"Tests","sumBrowsers":"Browsers","sumSchedule":"Schedule","none":"None","off":"Off","weekdaySun":"Sunday","weekdayMon":"Monday","weekdayTue":"Tuesday","weekdayWed":"Wednesday","weekdayThu":"Thursday","weekdayFri":"Friday","weekdaySat":"Saturday","browserChrome":"Chrome","browserFirefox":"Firefox","browserSafari":"Safari","browserEdge":"Edge","nameRequired":"A plan
66name is required.","testsRequired":"Select at least one test.","created":"Plan created","saveFailed":"Couldnât create the plan","duplicateName":"A plan with this name already exists. Try another.","editTitle":"Edit Plan","editLoadingTitle":"Loading planâ¦","updateBtn":"Update plan","updated":"Plan updated","updateFailed":"Couldnât update the plan","step4":"Data source","step4sub":"Bind to tests","dsTitle":"Bind data sources to tests","dsIntro":"Optional. Map a data source to any test that should run with parameters. Tests without a binding will run with their default values.","dsColTests":"Tests","dsColSources":"Data sources","dsColBindings":"Current bindings","dsSearchTests":"Search testsâ¦","dsSearchSources":"Search data sourcesâ¦","dsSearchBindings":"Search bindingsâ¦","dsNoTests":"No tests selected","dsNoSources":"No data sources","dsNoBindings":"No bindings yet","dsBind":"Bind selected","dsBound":"Bound","dsUnbind":"Remove binding","sumDataSources":"Data sources"},"results":{"breadcrumb":"Automation","title":"Plan Results","description":"Runs of your plans - pass/fail breakdown per run, drill into any testâs full report.","searchPlaceholder":"Search by plan name or executorâ¦","filter":"Filter","colPlan":"Plan run","colExecutor":"Executor","colStatus":"Status","colDuration":"Duration","colStarted":"Started","rowsRuns":"runs","passRate":"Pass rate","kpiEyebrow":"Successful runs","ofRuns":"of {total} runs","status_passed":"Passed","status_failed":"Failed","status_running":"Running","status_stopped":"Stopped","status_pending":"Pending","status_error":"Error","testsCount":"{count, plural, one {# test} other {# tests}}","passFail":"{passed} passed · {failed} failed","emptyTitle":"No plan runs yet","emptyMessage":"Run a plan from the Plans screen and its results will appear here.","noMatch":"No plan runs match your filters.","resetFilters":"Reset filters","actView":"View","actCopyId":"Copy ID","actStop":"Stop run","actRerunAll":"Re-run all","actRerunFailures":"Re-run failures","actRerunErrors":"Re-run errors","actionsLabel":"Actions","nPassed":"{count} passed","nFailed":"{count} failed","triggerScheduled":"Scheduled","triggerManual":"Manual","stopped":"Stop requested","stopFailed":"Couldnât stop the run","rerunStarted":"Plan re-run started","rerunFailed":"Couldnât start the re-run","copiedId":"Run ID copied","tabOverview":"Overview","tabTests":"Tests","tabLogs":"Logs","logsTruncated":"Showing the first 20,000 lines of this run.","logsFailed":"Could not load the logs for this run.","panelCrumb":"Plan run","mTests":"Tests","mPassed":"Passed","mFailed":"Failed","detailsTitle":"Run details","dPlanId":"Run ID","dBy":"Triggered by","dStarted":"Started","dEnded":"Ended","dDuration":"Duration","noLogs":"No logs captured for this run.","testsEmpty":"No test runs in this plan execution.","openReport":"Open report","chipAll":"All","testsPassed":"tests passed","testDistribution":"Test distribution","testExecutions":"Test executions","testsSummary":"{total} tests · {passed} passed · {failed} failed","filterAll":"All","filterFailed":"Failed","copyPublicLink":"Copy public link","linkCopied":"Public link copied","publicLinkError":"Could not create public link","openInNewTab":"Open in new tab","copyLink":"Copy link","newTab":"New tab","rerunShort":"Re-run","retryFailed":"Retry failed","share":"Share"},"doc":{"breadcrumb":"Automation","title":"Automation","lead":"Plans group tests for batch execution - on demand, on a schedule, or in CI - and Plan Results reports every run.","onThisPage":"On this page","copy":"Copy","copied":"Copied","calloutInfo":"Note","calloutTip":"Tip","calloutWarning":"Important","cta":"New plan","updated":"Updated July 2026"}},"auth":{"common":{"tagline":"AI native software testing","footer":{"copyright":"© 2026 Text2Test","privacy":"Privacy","terms":"Terms","help":"Help"}},"login":{"heading":"Welcome back","subheading":"Let's run some tests. Sign in to your Text2Test workspace.","social":{"google":"Sign in with Google","microsoft":"Sign in with Microsoft","github":"Sign in with GitHub"},"or":"OR","emailLabel":"Work email","emailPlaceholder":"[email protected]","passwordLabel":"Password","passwordPlaceholder":"Your password","forgotPassword":"Forgot password?","showPassword":"Show password","hidePassword":"Hide password","signIn":"Sign in","newHere":"New here?","createAccount":"Create an account","registeredToast":{"title":"Account created!","description":"Your workspace is ready. Sign in to get started."},"headingSignup":"Create your account","subheadingMobile":"Sign in to watch your runs, catch failures, and review reports on the go.","subheadingSignup":"Get a workspace and start running AI-written tests in minutes.","labels":{"username":"Username","email":"Work email","password":"Password"},"placeholders":{"username":"Username","email":"[email protected]","password":"Password","passwordSignup":"At least 8 characters"},"forgotPasswordShort":"Forgot password?","noAccount":"Don't have an account?","registerHere":"Register here","hasAccount":"Already have an account?","signingIn":"Signing inâ¦","togglePasswordShow":"Show password","togglePasswordHide":"Hide password","continueGoogle":"Continue with Google","continueMicrosoft":"Continue with Microsoft","continueGithub":"Continue with GitHub","oauthSoon":"OAuth sign-in coming soon","terms":"By creating an account, you agree to our Terms of Use and Privacy Policy.","tagline":"AI native software testing","errors":{"loginFailed":"Login failed","incorrectCredentials":"One of your credentials is incorrect. Please check and try again.","network":"Network error: Unable to reach the server. Please check your connection.","unexpected":"Unexpected error: Please try again later.","socialFailed":"Sign-in failed","
66socialFailedDescription":"Could not complete sign-in. Please try again."}},"register":{"steps":{"account":"Account","verified":"Verified","workspace":"Workspace"},"step1":{"heading":"Create your account","subheading":"Spin up a workspace and run your first test in minutes.","social":{"google":"Continue with Google","microsoft":"Continue with Microsoft","github":"Continue with GitHub"},"or":"OR","emailLabel":"Work email","emailPlaceholder":"[email protected]","passwordLabel":"Password","passwordPlaceholder":"At least 8 characters","confirmPasswordLabel":"Confirm password","confirmPasswordPlaceholder":"Re-enter your password","showPassword":"Show password","hidePassword":"Hide password","submit":"Create account","termsAgreement":"By creating an account, you agree to our <terms>Terms of Use</terms> and <privacy>Privacy Policy</privacy>.","haveAccount":"Already have an account?","signIn":"Sign in"},"step2":{"heading":"Check your inbox","sentTo":"We just sent an activation link to:","instructions":"Click the link to activate your account. Once activated, we'll ask for your company and team name to set up your workspace.","didntGet":"Didn't get it?","resend":"Resend link","resendIn":"Resend in {seconds}s","maxReached":"Resend limit reached","useDifferent":"Use a different email"},"step3":{"heading":"Set up your workspace","subheading":"Name your workspace â this is how your tests, runs, and reports will be organized.","companyLabel":"Project name","companyPlaceholder":"e.g. My App","companyHelp":"Used as your project identity. You can change it later.","projectNameTaken":"This project name is already taken. Please choose a different name.","teamLabel":"Team name","teamPlaceholder":"e.g. QA Team","teamHelp":"First team in your workspace. You'll be able to invite teammates next.","submit":"Create workspace & continue"},"toasts":{"socialFailed":"Sign-up failed","socialFailedDescription":"Could not complete sign-up. Please try again.","requiredTitle":"Required","step1Required":"Please enter your email and password.","passwordMismatchTitle":"Passwords don't match","passwordMismatch":"The passwords you entered don't match.","registrationFailed":"Registration Failed","registrationFailedDescription":"An error occurred.","emailAlreadyRegistered":"This email is already registered. Try signing in instead.","resentTitle":"Sent!","resentDescription":"Verification email resent.","errorTitle":"Error","resendError":"Something went wrong.","step3Required":"Please fill in both fields."}},"reset":{"form":{"heading":"Forgot Your Password?","subheading":"Enter your email to receive a password reset link.","emailLabel":"Email address","emailPlaceholder":"Enter your email","submit":"Send Reset Link","backToLogin":"â Back to Login"},"sent":{"heading":"Password Reset","sentTo":"We've sent a password reset email to","instructions":"Please check your inbox and follow the instructions to reset your password.","didntGet":"Didn't get it?","resend":"Resend link","resendIn":"Resend in {seconds}s","maxReached":"Resend limit reached","resentTitle":"Reset link sent","resentDescription":"We've sent another password reset email.","backToSignIn":"Back to sign in"},"errors":{"invalidEmailTitle":"Warning","invalidEmail":"Please enter a valid email","failed":"Couldn't send reset link","tooManyTitle":"Too many requests","tooMany":"You've requested too many links. Please wait a bit and try again.","network":"Network error: Unable to reach the server. Please check your connection.","unexpected":"Unexpected error: Please try again later."}},"callback":{"signingIn":"Signing you inâ¦","backToLogin":"Back to sign in","failedToast":"Sign-in failed","genericError":"Sign-in could not be completed."},"socialRelay":{"expired":"This sign-in link has expired. Please try again.","backToLogin":"Back to sign in"},"acceptInvite":{"pageTitle":"Accept invitation","heading":"You're invited","subheading":"Set up your account to join {workspace}.","roleNote":"You'll join as {role}.","role":{"ADMIN":"an admin","USER":"a member","VIEWER":"a viewer"},"labels":{"email":"Email","firstName":"First name","lastName":"Last name","password":"Password","confirmPassword":"Confirm password"},"placeholders":{"firstName":"Jane","lastName":"Doe","password":"Create a password","confirmPassword":"Re-enter your password"},"accept":"Accept & join","accepting":"Setting upâ¦","togglePasswordShow":"Show password","togglePasswordHide":"Hide password","successToast":"Welcome aboard! Sign in to get started.","backToLogin":"Back to sign in","loading":"Checking your invitationâ¦","invali
66dHeading":"Invitation unavailable","invalidBody":"This invite link is invalid, has been revoked, or has expired. Ask an admin to send a new one.","missingToken":"This link is missing its invitation token.","validation":{"required":"This field is required.","passwordMin":"Use at least 8 characters.","passwordMismatch":"Passwords don't match."},"errors":{"failed":"Couldn't accept the invitation","network":"Network error: Unable to reach the server. Please check your connection.","unexpected":"Unexpected error: Please try again later."}}},"publicShare":{"pageTitle":"Shared Report","loading":"Loading shared reportâ¦","notFound":"Link expired or not found","notFoundDesc":"This shared link may have expired or been revoked.","expiresOn":"Expires on {date}","noData":"No report data available","executionReport":"Test Execution Report","planReport":"Plan Execution Report","totalSteps":"Total steps","totalTests":"Total tests","passed":"Passed","failed":"Failed","environment":"Environment","duration":"Duration","createdBy":"Created by","started":"Started","ended":"Ended","skipped":"Skipped","reports":"Reports","artifactsAvailable":"Artifacts available","timeline":"Timeline","running":"Running","pending":"Pending","passRate":"Pass rate","testExecutions":"Test executions","analyticsReport":"Analytics Overview","totalExecutions":"Total executions","successRate":"Success rate"},"publicRunShare":{"pageTitle":"Shared test result","topbarTitle":"Shared test result","publicLink":"Public link","sharedBy":"Shared by {name}","expiresIn":"{count, plural, one {Expires in # day} other {Expires in # days}}","expiresToday":"Expires today","signIn":"Sign in","loading":"Loading shared reportâ¦","testRun":"Test run","outcomeCounts":"{passed} passed · {failed} failed · {skipped} skipped","passRate":"Pass rate","stepOutcomes":"Step outcomes","ranSkipped":"{ran} ran · {skipped} skipped after failure","failedAt":"Failed at","inFailedStep":"{duration} in failed step alone","target":"Target","duration":"Duration","replay":"Session replay","syncedToSteps":"synced to steps","replayUnavailable":"This recording is unavailable. The video may have been deleted or was not captured for this run.","failureSnapshot":"Failure snapshot","failureStepMeta":"Step {step} - {duration}","timeline":"Step timeline","filter_all":"All","filter_failed":"Failed","filter_skipped":"Skipped","noSteps":"No steps recorded","noStepsMatch":"No steps match this filter","noScreenshot":"No screenshot captured","console":"Console","consoleMeta":"{errors, plural, one {# error} other {# errors}} · {warnings, plural, one {# warning} other {# warnings}}","consoleUnavailable":"Console logs were not captured for this run.","network":"Network","networkMeta":"{requests, plural, one {# request} other {# requests}} · {failed} failed","networkUnavailable":"Network capture is unavailable for this run.","runDetails":"Run details","workspace":"Workspace","triggeredBy":"Triggered by","trigger":"Trigger","targetUrl":"Target URL","environment":"Environment","started":"Started","ended":"Ended","testId":"Test ID","footerSnapshot":"Generated by Text2Test · view-only snapshot from {date}","reportId":"Report ID","reportAbuse":"Report abuse","expiredTitle":"This shared test result has expired","expiredWindow":"The link you opened was set to expire after {days, plural, one {# day} other {# days}}. Ask the sender to regenerate the link, or sign in if you have access to the workspace.","expiredWindowUnknown":"The link you opened has expired or is no longer available. Ask the sender to regenerate the link, or sign in if you have access to the workspace.","requestNewLink":"Request new link","requestNewLinkHint":"Ask the person who shared this run with you to generate a new link.","workspaceLink":"Workspace only","viewInResults":"Open in Test Results","runLoadErrorTitle":"Couldn't load this test run","runLoadError":"The run may have been deleted, or it belongs to a team that is not currently active. Switch to the right team and try again.","wrongTeamTitle":"This run belongs to another team","wrongTeamMessage":"The run you opened lives in the team {team}, which is not your active team. Switch to that team to view the report.","switchTeamAction":"Switch to {team} and open","wrongCompanyTitle":"This run belongs to another workspace","wrongCompanyMessage":"The run you opened lives in the team {team} of the workspace {company}. Switch to view the report.","switchCompanyAction":"Switch to {company} and open","signInAction":"Sign in to Text2Test"},"publicPlanShare":{"pageTitle":"Shared plan run","topbarTitle":"Shared plan run","noData":"No plan report data available","untitledTest":"Untitled test","unknownError":"Unknown error","planRun":"Plan run","passFailCounts":"{passed} passed · {failed} failed","passRate":"Pass rate","failed":"Failed","duration":"Duration","avgPerTest":"Avg / test","dPlanId":"Plan ID","dWorkspace":"Workspace","dTriggeredBy":"Triggered by","dTrigger":"Trigger","dStarted":"Started","dEnded":"Ended","dEnvironment":"Environment","dDuration":"Duration","dSharedBy":"Shared by","dExpires":"Expires","replayUnavailable":"This recording is unavailable. The video may have been deleted or was not captured for this run.","testsInRun":"Tests in this run","noTestsMatch":"No tests match this filter","topFailureReasons":"Top failure reasons","noFailures":"No failures in this run","runEnvironment":"Run environment","expiresToday":"Expires today","expires
66In":"{count, plural, one {Expires in # day} other {Expires in # days}}","backToPlanRun":"Back to plan run","testOrdinal":"test #{n}","miniSteps":"Steps","miniPassed":"Passed","miniFailed":"Failed","drillOverview":"Overview","drillConsole":"Console","drillNetwork":"Network","drillSteps":"Steps","stepTimeline":"Step timeline","ranSkipped":"{ran} ran · {skipped} skipped","noSteps":"No steps recorded","footerSnapshot":"Generated by Text2Test · view-only snapshot from {date}","reportId":"Report ID","reportAbuse":"Report abuse","sharedBy":"Shared by {name}","publicLink":"Public link","fullReportBadge":"Full report view","signIn":"Sign in","tabAll":"All","tabFailed":"Failed","tabPassed":"Passed"}}`)},Yse={layout:{errorBoundary:{title:`Algo salió mal`,desc:`Se produjo un error inesperado al mostrar esta página. Recargar suele solucionarlo; si persiste, contacta con soporte.`,reload:`Recargar página`,home:`Ir al panel`},appShell:{skipToContent:`Saltar al contenido`,sidebarLabel:`Navegación principal`},appSidebar:{groupTestpit:`Testpit`,groupWebTest:`Prueba web`,groupMobileTest:`Prueba móvil`,groupAutomation:`Automatización`,groupTools:`Herramientas`,groupSettings:`Configuración`,badgeNew:`Nuevo`,badgeEarlyAccess:`Acceso anticipado`,navAnalytics:`AnalÃtica`,navMyTests:`Mis pruebas`,navMyMobileTests:`Mis pruebas móviles`,navMyPlans:`Mis planes`,navTestResults:`Resultados de pruebas`,navDoc:`Cómo hacerlo`,navGetExtension:`Obtener extensión`,navPlanResults:`Resultados del plan`,navDataSources:`Fuentes de datos`,navHttpRequest:`Solicitud HTTP`,navElementTags:`Etiquetas de elemento`,navScenarioFiles:`Recursos de prueba`,navUsage:`Facturación y plan`,navPackages:`Paquetes`,navSettingProfiles:`Perfiles de configuración`,navApiKeys:`Claves API`,navVault:`Perfiles de bóveda`,navTestTags:`Etiquetas de prueba`,navMcpServers:`Servidores MCP`},appTopbar:{openMenu:`Abrir menú`},workspaceSwitcher:{teamSuffix:`Equipo`,dropdownTitle:`Cambiar de espacio de trabajo`,dropdownSubtitle:`Elige una empresa y luego un equipo`,searchPlaceholder:`Buscar espacios de trabajoâ¦`,noMatch:`Ningún espacio de trabajo coincide con "{query}".`,teamCount:`{count, plural, one {# equipo} other {# equipos}}`,newTeam:`Nuevo equipoâ¦`,newTeamPlaceholder:`Nombre del equipoâ¦`,addMemberAction:`Agregar miembro`,createWorkspaceAction:`Crear espacio de trabajo`,addMemberToTeam:`Agregar miembro al equipo`,teamCreated:`Equipo {name} creado en {workspace}`,teamCreateFailed:`No se pudo crear el equipo.`,ownCompanyBadge:`Tu empresa`,loadingTeams:`Cargando equiposâ¦`,noTeams:`No hay equipos en esta empresa.`,confirmSwitch:`Cambiar de espacio de trabajo`,addMember:{title:`Agregar miembro`,subtitle:`Invita a personas a {workspace}. Recibirán una invitación por correo electrónico; separa las direcciones con Enter o una coma.`,emailsLabel:`Direcciones de correo electrónico`,emailPlaceholder:`[email protected]`,emailPlaceholderMore:`Agregar otroâ¦`,invalidTooltip:`No es un correo electrónico válido`,removeEmail:`Eliminar correo electrónico`,invalidHint:`Algunas direcciones parecen inválidas; están resaltadas en rojo.`,teamLabel:`Agregar al equipo`,workspaceLabel:`Espacio de trabajo`,roleLabel:`Rol`,role:{ADMIN:{label:`Administrador`,desc:`Acceso completo: gestiona miembros, facturación y todas las pruebas.`},USER:{label:`Miembro`,desc:`Puede crear, editar y ejecutar pruebas, planes y fuentes de datos.`}},hintEmpty:`Agrega al menos un correo electrónico`,hintReady:`{count, plural, one {# invitación lista} other {# invitaciones listas}}`,cancel:`Cancelar`,send:`{count, plural, one {Enviar invitación} other {Enviar invitaciones}}`,inviteSuccess:`{count, plural, one {# invitación enviada} other {# invitaciones enviadas}}.`,inviteSkipped:`{count, plural, one {# dirección omitida} other {# direcciones omitidas}}: ya son miembros o ya fueron invitados.`,inviteExists:`{count, plural, one {# dirección ya tiene una cuenta} other {# direcciones ya tienen una cuenta}}: invita a un correo diferente.`,inviteError:`No se pudieron enviar las invitaciones.`}
66,createWorkspace:{title:`Crear espacio de trabajo`,kickerTitle:`Comienza un nuevo espacio de trabajo`,kickerHelp:`Un espacio de trabajo agrupa tus equipos, pruebas y facturación bajo una sola empresa. Serás el propietario y podrás invitar personas una vez configurado.`,nameLabel:`Nombre del espacio de trabajo`,namePlaceholder:`p. ej. Acme Inc`,urlLabel:`URL del espacio de trabajo`,urlHint:`- cómo lo encuentran tus compañeros de equipo`,urlPlaceholder:`acme`,teamLabel:`Primer equipo`,teamHint:`- puedes agregar más adelante`,teamPlaceholder:`Equipo de QA`,teamHelp:`Los equipos mantienen las pruebas, planes y miembros organizados dentro del espacio de trabajo.`,footerHint:`Presiona âµ para crear`,cancel:`Cancelar`,create:`Crear espacio de trabajo`,comingSoon:`La creación de espacios de trabajo aún no está disponible - "{name}" no fue creado.`}},userMenu:{profile:`Perfil`,account:`Cuenta`,billingPlan:`Facturación y plan`,help:`Ayuda`,supportEmail:`[email protected]`,settings:`Configuración`,logout:`Cerrar sesión`,signOut:`Cerrar sesión`,ownerBadge:`Propietario`,security:`Seguridad`},themeToggle:{label:`Tema`,system:`Sistema`,light:`Claro`,dark:`Oscuro`},mobileTabBar:{label:`Navegación principal`,home:`Inicio`,tests:`Pruebas`,plans:`Planes`,profile:`Perfil`},mobileAppBar:{back:`Volver`,defaultTitle:`Text2Test`},workspaceSheet:{title:`Cambiar de espacio de trabajo`,subtitle:`Elige una empresa y luego un equipo`,searchPlaceholder:`Buscar espacios de trabajoâ¦`,noMatch:`No se encontraron espacios de trabajo`,teamCount:`{count, plural, one {# equipo} other {# equipos}}`,addMember:`Agregar miembro`,createWorkspace:`Crear espacio de trabajo`,comingSoon:`Próximamente`},welcomeModal:{title:`Text2Test en móvil`,subtitle:`Un compañero enfocado para la aplicación web. Desde tu teléfono puedes:`,viewTestpitTitle:`Ver Testpit`,viewTestpitDesc:`Resumen de tu cuenta, cobertura y análisis de ejecuciones.`,runTestsTitle:`Ejecutar pruebas existentes`,runTestsDesc:`Explora tus casos de prueba web y móvil e inicia una ejecución.`,viewReportsTitle:`Ver informes de pruebas y planes`,viewReportsDesc:`Pasos, consola, red y repetición de sesión, donde quiera que estés.`,note:`La creación de nuevas pruebas y la edición de prompts se mantienen en la aplicación web.`,cta:`Entendido`},productTour:{title:`Text2Test en acción`,description:`Un recorrido interactivo por Text2Test.`}},shell:{shareSheet:{title:`Compartir informe`,publicLink:`Copiar enlace público`,publicLinkDesc:`Cualquiera con el enlace · expira en 7 dÃas`,publicCopied:`Enlace público copiado`,publicLinkError:`No se pudo crear el enlace público`,workspaceOnly:`Solo espacio de trabajo`,workspaceOnlyDesc:`Miembros de {name}`,workspaceCopied:`Enlace de espacio de trabajo copiado`,downloadPdf:`Descargar PDF`,exportingPdf:`Exportando PDFâ¦`},runActionsSheet:{titleTest:`Acciones de ejecución de prueba`,titlePlan:`Acciones de ejecución de plan`,rerunTest:`Volver a ejecutar prueba`,rerunPlan:`Volver a ejecutar plan`,rerunFailed:`Volver a ejecutar solo fallidas`,failedTests:`{count} pruebas fallidas`,copyLink:`Copiar enlace público`,linkCopied:`Enlace público copiado`,downloadReport:`Descargar informe`,downloadLogs:`Descargar registros`,downloadingReport:`Descargando informeâ¦`,downloadingLogs:`Descargando registrosâ¦`},liveRun:{runningTest:`Ejecutando prueba`,runningPlan:`Ejecutando plan`,stepOf:`Paso {current} de {total}`,runningTestOf:`Ejecutando prueba {current} de {total}`,testFailed:`Prueba fallida`,testPassed:`Prueba aprobada`,planComplete:`Plan completo`,passedCount:`{count} aprobadas`,failedCount:`{count} fallidas`,skippedCount:`{count} omitidas`,stopRun:`Detener ejecución`,done:`Listo`,viewReport:`Ver informe`,elapsed:`Transcurrido`,pending:`Pendiente`,passed:`aprobada`,failed:`fallida`},deleteDialog:{cancel:`Cancelar`,typeLabel:`Escribe <code>Delete</code> para confirmar`,typeWord:`Delete`,deleting:`Eliminandoâ¦`}},pages:JSON.parse(`{"usage":{"title":"Facturación y plan","subtitle":"Tu suscripción, uso, método de pago y facturas.","noPackage":"Sin plan activo","notPayAsYouGoTitle":"Sin plan de pago por uso","notPayAsYouGoBody":"El uso y la cuota de tokens se muestran para las suscripciones de pago por uso. Tu espacio de trabajo tiene un plan diferente.","stoppedBanner":"Tu cuota de tokens para este perÃodo se ha agotado. Mejora tu plan para seguir ejecutando pruebas.","lowBalanceBanner":"Te estás quedando sin tokens para este perÃodo.","activityTitle":"Actividad de solicitudes (últimos 30 dÃas)","activityEmpty":"Aún no hay solicitudes en este perÃodo.","requestsLabel":"Solicitudes","manageBilling":"Gestionar facturación","manageBillingError":"No se pudo abrir el portal de facturación. Inténtalo de nuevo.","payDifferentCardBefore":"Para pagar con otra tarjeta, abre","payDifferentCardAfter":".","upgradeCta":"Mejorar","upgradeProcessing":"Mejorando tu plan â tu nueva cuota aparecerá en breve.","upgradeConfirmTitle":"¿Mejorar a {plan}?","upgradeConfirmText":"Tu plan se mejorará de inmediato y la diferencia prorrateada se cobrará a tu tarjeta de inmediato. Tus tokens restantes se conservan.","upgradeSummaryNewPlan":"Nuevo plan","upgradeSummaryTests":"Casos de prueba / mes","upgradeSummaryParallel":"Ejecuciones paralelas","upgradeSummaryProrated":"Cargo prorrateado hoy","upgradeConfirmCta":"Mejorar ahora","upgradeConfirmCancel":"Ahora no","upgradeError":"Error al mejorar el plan. Inténtalo de nuevo.","checkoutError":"No se pudo iniciar el proceso de pago. Inténtalo de nuevo en un momento.","pastDueBanner":"Tu último pago falló. Actualiza tu tarjeta en Gestionar facturación para evitar la cancelación.","cancelingBanner":"Tu suscripción se cancelará al final del perÃodo actual.","canceledBanner":"Tu suscripción ha sido cancelada. Elige un plan para seguir ejecutando pruebas.","choosePlanTitle":"Elige un plan","monthly":"Mensual","annual"
66:"Anual","annualSaving":"â20%","perMonth":"/mes","perMonthLong":"/ mes","perYear":"/año","billedMonthly":"facturado mensualmente","billedAnnually":"facturado anualmente","tokensPerMonthSuffix":"tokens/mes","selectPlan":"Seleccionar","mostPopular":"Más popular","planDescStarter":"Para particulares y equipos pequeños que están explorando pruebas nativas de IA.","planDescGrow":"Para equipos en crecimiento que necesitan más capacidad y soporte más rápido.","planDescPro":"Para equipos que ejecutan cobertura de pruebas seria a gran escala.","testCasesPerMonthSuffix":"casos de prueba / mes","parallelRunsSuffix":"ejecuciones paralelas","featWebAutomation":"Automatización de pruebas web","featBrowserExtension":"Extensión de navegador","featCicd":"Integración CI/CD","featJiraSlack":"Integración con Jira y Slack","featOnboarding":"Incorporación y capacitación","featSupport48h":"Respuesta de soporte en 48h","featSupport24h":"Respuesta de soporte en 24h","featSupport12h":"Respuesta de soporte en 12h","purchaseSuccessToast":"Pago recibido â tu plan se está activando.","purchaseReturnToast":"Tu plan está activo. Volviendo a tu prueba.","purchaseCancelToast":"Pago cancelado.","paymentRequired":{"title":"Se requiere pago para continuar","reasonGeneric":"No se pudo iniciar tu prueba porque el pago no está disponible actualmente para tu espacio de trabajo.","reasonBalanceInsufficient":"Tu saldo de tokens es demasiado bajo para iniciar esta prueba. Recarga mejorando tu plan para seguir ejecutando pruebas.","reasonStopped":"La ejecución de pruebas está en pausa porque tu saldo de tokens se agotó. Mejora tu plan para reanudar.","reasonSubscriptionInactive":"Las ejecuciones de pruebas están en pausa porque tu suscripción ya no está activa. Elige un plan para continuar.","reasonNoPackage":"Tu espacio de trabajo aún no tiene un plan activo. Elige un plan para empezar a ejecutar pruebas.","reasonFeatureNotAllowed":"Esta función no está incluida en tu plan actual. Mejora tu plan para desbloquearla.","balanceLabel":"Saldo actual","tokens":"tokens","dismiss":"Ahora no","ctaUpgrade":"Mejorar plan","ctaChoosePlan":"Elegir un plan","draftSavedNote":"El texto de tu paso se ha guardado como borrador. Se compilará en acciones cuando tu plan esté activo."},"changePlanTitle":"Cambiar plan","changePlanSubtitle":"Mejora tu plan para más capacidad y soporte más rápido. Los cambios se prorratean.","currentPlanBadge":"Tu plan","currentPlanCta":"Plan actual","customPlanName":"Personalizado","customPlanDesc":"Para empresas que necesitan lÃmites personalizados, SLA y un partner dedicado.","customPlanPrice":"Hablemos","customPlanBilling":"Contrato personalizado","contactSales":"Contactar ventas","customFeatureVolume":"Volumen personalizado de casos de prueba","customFeatureParallel":"Ejecuciones paralelas personalizadas","customFeatureSupport":"Soporte de partner dedicado","customFeatureSla":"SLA y contrato personalizados","customFeatureOnboarding":"Incorporación y capacitación","statusActive":"Activo","statusCanceling":"Cancelando","statusCanceled":"Cancelado","renewsOn":"Se renueva el {date}","renewsUnknown":"Fecha de renovación pendiente","cancelSubscription":"Cancelar suscripción","cancelSubscriptionSectionBody":"Tu plan permanecerá activo hasta el final del ciclo de facturación actual. Después de eso, tu espacio de trabajo pasará a modo de solo lectura.","cancelDialogTitle":"¿Cancelar suscripción?","cancelDialogIntroBefore":"Tu plan {plan} permanece activo hasta","cancelDialogIntroAfter":"Después de eso, tu espacio de trabajo pasará a modo de solo lectura y estas funciones se desactivarán:","cancelDialogQuotaImpact":"La cuota mensual baja de {count} a 0 casos de prueba nuevos","cancelDialogSchedulesImpact":"Los planes de automatización programados dejan de ejecutarse","cancelDialogIntegrationsImpact":"Se desactivan las ejecuciones paralelas, CI/CD y las integraciones con Jira / Slack","cancelDialogDowngradePrompt":"¿Solo necesitas menos ejecuciones?","cancelDialogDowngradeCta":"Baja a {plan} ({price}/mes)","cancelDialogDowngradeSuffix":"y conserva tus pruebas, tu historial y tus integraciones.","cancelDialogKeepPlan":"Mantener mi plan","cancelDialogDateFallback":"el final del ciclo de facturación actual","reactivateSubscription":"Reactivar suscripción","reactivateSuccess":"Tu suscripción seguirá renovándose.","reactivateError":"No se pudo reactivar la suscripción. Inténtalo de nuevo.","meterTokens":"Token T2T","meterTests":"Escenarios de prueba","meterUsedPct":"{pct}% usado {suffix}","tokensRemaining":"{count} restantes","tokensRemainingWithPct":"{count} restantes · {pct}% de tokens usados","thisPeriod":"este perÃodo","requestsTotal":"{count} solicitudes","noPlanTitle":"Aún no tienes un plan activo","noPlanBody":"Elige un plan a continuación para empezar a ejecutar pruebas â nada se ejecutará hasta que un plan esté activo.","meterParallel":"Ejecuciones paralelas","concurrentRuns":"ejecuciones simultáneas","downgradeCta":"Cambiar al final del perÃodo","downgradeScheduledCta":"Programado","downgradeConfirmTitle":"¿Bajar a {plan}?","downgradeConfirmText":"Tu plan {currentPlan} sigue activo hasta el {date}. En esa fecha pasarás a {plan} y se aplicarán sus lÃmites.","downgradeConfirmTextNoDate":"Tu plan actual sigue activo hasta el final del perÃodo de facturación, luego pasarás a {plan}.","downgradeSummaryNewPlan":"Plan a partir del próximo perÃodo","downgradeSummaryCharge":"Cobrado hoy","downgradeSummaryNoChargeToday":"Nada â primer cobro en la renovación","downgradeConfirmKeep":"Mantener {plan}","downgradeConfirmCta":"Confirmar el cambio","downgradeScheduledToast":"Cambio a {plan} programado para el final de este perÃodo.","downgradeError":"No se pudo programar el cambio. Inténtalo de nuevo.","pendingDowngradeLine":"Cambio a {plan} el {date}","pendingDowngradeUndo":"Deshacer","downgradeCanceledToast":"Cambio programado cancelado â tu plan actual continúa.","downgradeCancelError":"No se pudo cancelar el cambio. Inténtalo de nuevo.","downgradeFooter":"Tu plan bajará a {plan} en el próximo ciclo de facturación ({date})."},"packages":{"title":"Paquetes","subtitle":"Gestiona el catálogo de planes de pago por uso. Las asignaciones de tokens se derivan del presupuesto.","empty":"No se encontraron paquetes.","unauthorizedTitle":"No autorizado","unauthorizedBody":"La gestión de paquetes está restringida a superadministradores.","colPackage":"Paquete","colPriceMonthly":"Mensual","colTokens":"Tokens/mes","colStatus":"Estado","statusActive":"Activo","statusInactive":"Inactivo","edit":"Editar","editTitle":"Editar {name}","fieldName":"Nombre","fieldDescription":"Descripción","fieldPriceMonthly":"Precio mensual (USD)","fieldPriceAnnual":"Precio anual (USD)","fieldPriceLockedHint":"Los precios se facturan a partir de los registros de precios de Stripe y no se pueden editar aquÃ. Para cambiar un precio, crea un nuevo precio en Stripe y actualiza los ID de precio a continuación.","fieldBudget":"Presupuesto del proveedor (USD)","fieldBudgetHint":"La asignación de tokens se deriva de esto (presupuesto à N). Actual: {tokens} tokens.","fieldParallel":"Ejecuciones paralelas","fieldTestsLimit":"Casos de prueba / mes","fieldFeatures":"Funciones","feature_WEB_TESTING":"Pruebas web","feature_MOBILE_TESTING":"Pruebas móviles","fieldStripeMonthly":"ID de precio de Stripe (mensual)","fieldStripeAnnual":"ID de precio de Stripe (anual)","fieldStripeProduct":"ID de producto de Stripe","fieldDisplayOrder":"Orden de visualización","fieldActive":"Activo","cancel":"Cancelar","save":"Guardar","saved":"Paquete guardado.","saveError":"No se pudo guardar el paquete."}
66,"analytics":{"hero":{"webTest":"Prueba web","automation":"Automatización","tests":"Pruebas","plans":"Planes","executions":"Ejecuciones","planRuns":"Ejecuciones de plan"},"trends":{"title":"Tendencias","sideBySide":"Lado a lado","combined":"Combinado","testsCreated":"Pruebas creadas","plansCreated":"Planes creados","testExecutions":"Ejecuciones de pruebas","planExecutions":"Ejecuciones de planes","thisPeriod":"Este perÃodo","combinedCreation":"Creación de pruebas y planes","combinedExecutions":"Ejecuciones de pruebas y planes"},"activityWide":{"open":"Abrir en una pestaña nueva","title":"Actividad de Testpit","subtitle":"Actividad del equipo y reciente en Prueba web y Automatización â últimos {days} dÃas","colMember":"Miembro","colCreated":"Creadas","colRuns":"Ejecuciones","colLastActive":"Ãltima actividad"},"title":"Testpit","breadcrumbAnalytics":"AnalÃtica","subtitle":"Resumen de tu cuenta","description":"Testpit convierte tu actividad de Prueba web y Automatización en un panel vivo â qué se ejecutó, qué pasó, qué falló y quién hizo qué, lado a lado.","share":"Compartir","copyPublicLink":"Copiar enlace público","linkCopied":"Enlace copiado","publicLinkError":"No se pudo crear el enlace público","linkExpiry":"El enlace caduca en 7 dÃas","last7days":"Ãltimos 7 dÃas","last30days":"Ãltimos 30 dÃas","last90days":"Ãltimos 90 dÃas","lastYear":"Ãltimo año","noData":"No hay datos disponibles para este perÃodo","empty":{"title":"TodavÃa no hay nada que mostrar","subtitle":"Crea tu primera prueba o plan para empezar a ver aquà tu actividad de testing.","cta":"Hacer un recorrido rápido"},"overallStatus":"Estado general de las pruebas","passing":"aprobadas","failing":"fallidas","notRun":"aún sin ejecutar","cards":{"executions":"Ejecuciones","webTests":"Pruebas web","mobileTests":"Pruebas móviles","passed":"Aprobadas","failed":"Fallidas","statusBreakdown":"Desglose de estado","vsPrev":"vs anterior","thisPeriod":"este perÃodo"},"coverageByType":"Cobertura por tipo","runbar":{"scheduled":"Programado","passed":"aprobado","failed":"fallido"},"charts":{"testCases":"Casos de prueba","executions":"Ejecuciones"},"stats":{"total":"Total","web":"Web","mobile":"Móvil","passed":"Aprobadas","failed":"Fallidas","errors":"Errores","passRate":"Tasa de aprobación"},"controls":{"actual":"Real","cumul":"Acum."},"teamActivity":{"title":"Actividad del equipo","created":"creado","runs":"ejecuciones"},"recentActivity":{"planTag":"Plan","title":"Actividad reciente","ran":"ejecutó"},"legend":{"title":"Leyenda de estado","passed":"Aprobado","failed":"Fallido","errors":"Errores","pending":"Pendiente","stopped":"Detenido"}},"web":{"overview":{"title":"Pruebas Web","searchPlaceholder":"Buscar por nombre, directorio, idâ¦","filter":"Filtrar","newTest":"Nueva prueba web","noTests":"Ningún test coincide con tus filtros","noTestsHint":"Intenta ajustar tu búsqueda o borrar los filtros.","kpiDirectories":"Directorios","kpiDirectoriesSub":"{count, plural, one {en # grupo} other {en # grupos}}","kpiTests":"Tests","kpiTestsSub":"{count, plural, one {en # grupo} other {en # grupos}}","directoryColumn":"Directorio","directoryUnfiled":"-","directoryAssign":"Asignar directorio","directoryRoot":"Todos los tests","directoryNew":"Nueva carpeta","directorySubdir":"Nueva subcarpeta","directoryNewHere":"+ Nueva carpeta aquÃ","directoryRename":"Renombrar","directoryDelete":"Eliminar carpeta","directoryMoveHere":"Mover aquÃ","directoryRemoveAssignment":"Quitar de la carpeta","directorySearchPlaceholder":"Buscar carpetasâ¦","directoryFilterFacet":"Directorio","directoryFilterAll":"Todas las carpetas","directoryFilterUnfiled":"Sin clasificar","directoryDeleteTitle":"¿Eliminar carpeta?","directoryDeleteLoading":"Comprobando el contenido de la carpeta...","directoryDeleteWithChildren":"Esta carpeta contiene {count, plural, =1 {1 elemento} other {# elementos}} (subcarpetas o tests). Elige qué hacer con ellos:","directoryDeleteEmpty":"Esta carpeta está vacÃa. ¿Eliminarla?","directoryDeleteCascade":"Eliminar todo el contenido","directoryDeleteMoveUp":"Mover el contenido un nivel arriba","directoryDeleteCancel":"Cancelar","directoryDeleteConfirm":"Eliminar carpeta","colName":"Nombre","colId":"ID","colType":"Tipo","colItems":"Elementos","colActions":"Acciones","colCreated":"Fecha de creación","rowsTests":"tests","edit":"Editar","duplicate":"Duplicar","move":"Mover","delete":"Eliminar","cancel":"Cancelar","deleteTitle":"¿Eliminar \\"{name}\\"?","deleteMessage":"Este test, junto con todos sus pasos e historial de ejecución, se eliminará de forma permanente. Esta acción no se puede deshacer.","deleteMessageDirEmpty":"Esta acción no se puede deshacer.","deleteMessageDirNotEmpty":"Los tests que contiene se mueven primero al directorio superior. Esta acción no se puede deshacer.","deleteTypeLabel":"Escribe <code>Delete</code> para confirmar","deleteTypeWord":"Delete","deleteConfirm":"Eliminar test","deleteConfirmDir":"Eliminar carpeta","deleting":"Eliminandoâ¦","createdToast":"\\"{name}\\" creado","duplicatedToast":"\\"{name}\\" duplicado","updatedToast":"Test actualizado","deletedToastTitle":"Test eliminado","deletedToast":"\\"{name}\\" fue eliminado.","emptyTitle":"Aún no hay tests web","emptySubtitle":"Escribe pasos en texto sencillo, llama a APIs, verifica visuales o cede el control al piloto automático de IA. Text2Test ejecuta tus tests en distintos navegadores y te informa los resultados.","emptyTour":"Haz un recorrido rápido","emptyCreate":"Crear test web","filterCreation":"Fecha de creación","filterAny":"Cualquier momento","filter7d":"Ãltimos 7 dÃas","filter30d":"Ãltimos 30 dÃas","filter90d":"Ãltimos 90 dÃas","filterYear":"Ãltimos 12 meses","newTestHere":"Nuevo test aquÃ","directoryDuplicateName":"Ya existe un directorio con este nombre. Prueba con otro.","saveFailed":"Error al guardar","moveDuplicateName":"Ya existe un elemento con este nombre en la carpeta de destino.","moveFailed":"No se pudo mover el elemento","colUpdated":"Actualizado"},"wizard":{"newTitle":"Nuevo test web","step1Label":"Crear","step1Sub":"Nombre y URL","step2Label":"Revisar","step2Sub":"Confirmar y enviar","back":"Atrás","next":"Siguiente","submit":"Crear test","creating":"Creandoâ¦","lede":"Dale un n
66ombre a tu test y la página en la que empieza. Puedes ajustar el perfil de ejecución más abajo.","name":"Nombre del test","namePlaceholder":"p. ej. Checkout - flujo exitoso","url":"URL inicial","urlPlaceholder":"https://example.com","urlError":"Ingresa una URL válida que empiece con <code>http://</code> o <code>https://</code>.","profile":"Perfil de configuración","profileDefault":"Predeterminado","mcp":"Servidores MCP","mcpNone":"Ninguno","reviewTitle":"Revisar y crear","reviewLede":"Confirma los detalles a continuación y luego crea el test.","summaryName":"Nombre","summaryUrl":"URL inicial","summaryProfile":"Perfil","notSet":"No definido","search":"Buscarâ¦","noResults":"Sin resultados.","step1Kicker":"Paso 01","step2Kicker":"Paso 02","step1Heading":"Nombra y configura tu test web","step1Lede":"Dale al test un nombre corto y descriptivo, y la URL desde la que debe empezar. La configuración avanzada te permite vincular un perfil de configuración y/o servidores MCP.","step2Heading":"Confirmar y crear","step2Lede":"Revisa todo lo que aparece abajo. Puedes volver atrás para editar cualquier campo.","advancedTitle":"Configuración avanzada","advancedSub":"Perfil de configuración · Servidores MCP","profileNone":"No se seleccionó ningún perfil de configuración","requiredFields":"Campos obligatorios","edit":"Editar","untitled":"Test sin tÃtulo","limitReachedToast":"LÃmite de tests alcanzado","limitReachedDesc":"Se agotó la cuota de escenarios de prueba de tu plan. Mejora tu plan para crear más tests.","limitReachedCta":"Mejorar plan","submitFailedToast":"No se pudo guardar el test","duplicateName":"Ya existe un test con este nombre. Prueba con otro."},"editor":{"desktopOnly":{"title":"La edición es solo para escritorio","body":"Crear y editar pruebas requiere el editor completo, disponible en la aplicación web de escritorio.","cta":"Volver a los resultados"},"breadcrumb":"Test Web","edit":"Editar","runTest":"Ejecutar test","runNeedsSteps":"Agrega al menos un paso para ejecutar el test","runFailed":"No se pudo iniciar la ejecución del test. Inténtalo de nuevo.","cacheCleared":"Se borraron las acciones en caché de este paso.","cacheClearFailed":"No se pudo borrar la caché. Inténtalo de nuevo.","saved":"Paso guardado.","nothingToSave":"No hay cambios que guardar.","saveFailed":"No se pudo guardar. Inténtalo de nuevo.","referenceUploaded":"Imagen de referencia subida.","referenceUploadFailed":"No se pudo subir la imagen de referencia. Inténtalo de nuevo.","referenceImage":"Referencia","removeReference":"Quitar imagen de referencia","referenceRemoved":"Imagen de referencia eliminada.","unsavedRunTitle":"Guarda este paso antes de ejecutarlo","unsavedRunBody":"Haz clic en Guardar para preparar el paso y luego ejecútalo.","unsavedLeaveTitle":"Tienes pasos sin guardar","unsavedLeaveBody":"{count, plural, one {# paso tiene} other {# pasos tienen}} cambios sin guardar. Si sales ahora, se perderán.","unsavedLeaveSave":"Guardar y salir","unsavedLeaveDiscard":"Salir de todos modos","unsavedLeaveStay":"Quedarme aquÃ","stop":"Detener","runStarting":"Iniciando ejecución del testâ¦","runStartingHint":"Preparando el navegador: el resultado del primer paso aparecerá aquà en breve.","steps":"Pasos","addSequence":"Agregar una secuencia","insertHere":"Insertar paso aquÃ","emptyTitle":"Tu test está listo. Agrega tu primer prompt.","emptyBody":"Los prompts son los pasos individuales de tu test. Empieza con una instrucción en lenguaje natural, una solicitud HTTP, una verificación visual, la inyección de un script, o cede el control a Autopilot y deja que el agente lo resuelva.","emptyTip":"Consejo: presiona <kbd>N</kbd> en cualquier lugar para agregar un nuevo prompt","tag":"Etiqueta","findTag":"Buscar una etiquetaâ¦","noTags":"Sin etiquetas.","allTagsAssigned":"Todas las etiquetas asignadas","removeTag":"Quitar {name}","deleteStepTitle":"¿Eliminar este paso?","deleteStepA11y":"Eliminar paso","deleteStepBody":"Elimina {label} y sus acciones compiladas. Esta acción no se puede deshacer.","cancel":"Cancelar","delete":"Eliminar","deleting":"Eliminandoâ¦","editConfig":"Editar configuración del test","editTest":"Editar test","updateTest":"Actualizar test","updatingTest":"Actualizandoâ¦","httpNoRequest":"No hay ninguna solicitud seleccionad
66a","httpCreate":"Crear solicitud HTTP","httpSelect":"Seleccionar solicitud HTTP","httpSearch":"Buscar solicitudes guardadasâ¦","searching":"Buscandoâ¦","httpNoSaved":"No hay solicitudes guardadas. Crea una en Herramientas ⺠Solicitud HTTP.","httpRefEdit":"Editar nombre de referencia","httpRefSave":"Guardar nombre de referencia","httpShowReqResp":"Mostrar solicitud y respuesta","httpTry":"Probar solicitud","httpChange":"Cambiar solicitud","httpDialogRequest":"Solicitud","httpDialogResponse":"Respuesta","httpDialogBody":"Cuerpo","httpDialogHeaders":"Encabezados","httpDialogNoBody":"Sin cuerpo","httpDialogNoHeaders":"Sin encabezados","httpDialogNoResponse":"Aún no hay respuesta â ejecuta este paso para capturar una.","httpDialogLoadingResponse":"Cargando respuestaâ¦","httpDialogResponseFailed":"No se pudo cargar la respuesta.","autopilotReasoning":"Razonamiento de Autopilot","autopilotToolCalls":"Llamadas a herramientas","autopilotOutput":"Salida del modelo","autopilotNoToolCalls":"Aún no hay llamadas a herramientas","autopilotWaitingStream":"Esperando salidaâ¦","autopilotInstruction":"Instrucción","viewPayload":"Ver payload","autopilotPayload":"Payload de Autopilot","railFollow":"Seguir secuencia activa","railFollowOn":"Desplazamiento automático activado - siguiendo la secuencia activa","railFollowOff":"Desplazamiento automático desactivado - haz clic para seguir la secuencia activa","railExtension":"Extensión del navegador","railReports":"Informes","railVariables":"Variables","railExtensionTip":"Extensión del navegador - ejecuta este test localmente en tu propio navegador y ajusta las opciones de ejecución","railExtensionDisabledTip":"Extensión del navegador no instalada - instálala para ejecutar este test localmente en tu propio navegador","railReportsTip":"Informes - consulta las ejecuciones anteriores de este test, su estado y capturas de pantalla","railVariablesTip":"Variables - los valores que usa este test y el estado en vivo de la última ejecución","browserExtension":"Extensión del navegador","extUse":"Usar extensión","extTerminate":"Finalizar después de la ejecución","extIncognito":"Usar modo incógnito","extNotDetected":"Extensión no detectada - la ejecución recurrirá a un navegador remoto.","freshWindowReplay":"No hay ventana de prueba abierta: la ejecución se repite desde el primer paso hasta el seleccionado para reconstruir el estado.","extIncognitoBlocked":"La extensión no puede abrir una ventana de incógnito: habilite \\"Permitir en incógnito\\" en chrome://extensions o desactive el modo incógnito en la configuración de ejecución.","extStartError":"La extensión no pudo iniciar la ejecución: {message}","reportsBlurb":"Consulta todas las ejecuciones de este test - estado, pasos y capturas de pantalla.","openResults":"Abrir resultados del test â","noVariables":"No hay variables definidas para este test.","save":"Guardar","variablesDefined":"Variables","variablesEndState":"Estado final de la última ejecución","variablesCurrentState":"Estado actual de la ejecución en curso","noScreenshot":"Captura de pantalla no disponible","variablesUpdated":"Variables actualizadas","variableUnset":"No definido","variableVaultBadge":"Vault","variableSecretBadge":"Secreto","variableValueLabel":"valor","variableValuePlaceholder":"Ingresa un valorâ¦","variableUseVault":"Resolver desde Vault","variableVaultLoading":"Cargando perfiles de Vaultâ¦","variableNoVaultProfiles":"No hay perfiles de Vault configurados para este equipo.","variableVaultProfile":"Perfil de Vault","variableSecretRef":"Referencia del secreto","variableSecretRefPlaceholder":"p. ej. apps/myapp/db#password","variableSecretRefRelativePlaceholder":"p. ej. password o myapp#password","variablePathPrefixHint":"Prefijo de ruta: {prefix}","variableVaultNote":"El valor se obtiene de Vault en tiempo de ejecución y nunca se almacena.","variableSecret":"Guardar como secreto","variableOverwriteSecret":"Sobrescribir secreto","variableClear":"Borrar","variableHelpDefault":"Este valor se guarda con el test y se sustituye en cada lugar donde aparece el marcador de posición.","variableHelpSecret":"Este secreto está oculto. Haz clic en sobrescribir para reemplazarlo.","variableHelpOverwrite":"Ingresa un nuevo valor para reemplazar el secreto almacenado.","variableViewState":"Ver estado de la variable","insertTitle":"Insertar","insertParameter":"Parámetro","insertHint":"Pista","insertSetting":"C
66onfiguración","insertComment":"Comentario","insertTestCall":"Llamada a subtestâ¦","testCallTitle":"Insertar llamada a subtest","testCallHelp":"Busca un test para llamarlo como subtest e insértalo como enlace.","testCallSearch":"Buscar tests por nombreâ¦","testCallHint":"Escribe para buscar un test que llamar.","testCallEmpty":"No se encontraron tests coincidentes.","testCallParamsTitle":"Parámetros del subtest","testCallParamsHelp":"Sobrescribe los parámetros de {name} para esta llamada. El test original no cambia.","testCallParamsLoading":"Cargando parámetrosâ¦","testCallParamsEmpty":"El test seleccionado no tiene parámetros.","testCallParamsError":"No se pudieron cargar los parámetros.","testCallNoScenario":"No se encontró ningún escenario para el test seleccionado.","testCallParamDefault":"Predeterminado: {value}","testCallParamEmptyValue":"(vacÃo)","testCallParamInherited":"Predeterminado","testCallParamOverridden":"Sobrescrito","testCallParamFrom":"De {name}","testCallParamReset":"Restablecer el valor predeterminado","testCallBack":"Cambiar test","testCallApply":"Aplicar","lifecycleTitle":"Ciclo de vida - ejecuta esta secuencia como gancho de configuración/limpieza","lifecycle":{"classic":"Clásico (paso normal)","beforeEach":"Antes de cada uno","afterEach":"Después de cada uno","beforeEachStep":"Antes de cada paso","afterEachStep":"Después de cada paso","tearDown":"Limpieza final"},"lbStep":"Paso","lbIntention":"Intención","lbUrl":"URL actual","lbAction":"Acción","lbGoal":"Objetivo","lbJustification":"Justificación","lbDescription":"Detalle de la acción","lbDiagnostics":"Diagnósticos","seeMore":"Ver más","seeLess":"Ver menos","close":"Cerrar","extConnected":"Extensión conectada","extDisconnected":"Extensión no conectada","realtimeConnected":"Tiempo real conectado","realtimeDisconnected":"Tiempo real desconectado","runFromHere":"Ejecutar desde aquÃ","runInProgress":"Ya hay una ejecución en curso","charLimitExceeded":"Se superó el lÃmite de caracteres (máx. {limit})","deleteStepLabel":"{type} (paso {index})","stepType":{"prompt":{"label":"Text2Test Native","short":"T2T Native"},"authored":{"label":"Text2Test Authoring Agent","short":"T2T Authoring Agent"},"http":{"label":"Solicitud HTTP","short":"Solicitud HTTP"},"visual":{"label":"Verificación Visual Text2Test","short":"Verificación Visual T2T"},"script":{"label":"Agente de Scripting Text2Test","short":"Agente de Scripting T2T"},"auto":{"label":"Text2Test Autopilot","short":"T2T Autopilot"}},"addSource":{"prompt":{"desc":"De texto plano a caso de prueba. El modelo nativo de Text2Test compila pasos determinÃsticos."},"authored":{"desc":"Texto plano a caso de prueba, escrito por un agente de IA que lee la pantalla y verifica cada paso."},"script":{"desc":"Pega un script existente o genera uno automáticamente a partir de texto plano; se ejecuta inline con la prueba."},"auto":{"desc":"Cede el control a un LLM para flujos complejos que requieren mucho razonamiento."},"visual":{"desc":"Comparación de capturas de pantalla o verificación de visibilidad de elementos."},"http":{"desc":"Llama a una API y verifica la respuesta."}},"placeholder":{"prompt":"Describe en inglés sencillo lo que deberÃa sucederâ¦\\nP. ej. haz clic en \\"Sign in\\", escribe tu correo, espera el panel.","authored":"Describe qué debe hacer este pasoâ¦\\nEl agente lee la pantalla, escribe los pasos y verifica cada uno.","visual":"Describe qué verificar visualmente.\\nP. ej. el encabezado del panel es visible, 120px superiores, tolerancia 0.2%.","auto":"Describe un objetivo de alto nivel para Autopilot.\\nP. ej. completar el onboarding, máx. 8 acciones.","script":"// \`page\` de Playwright disponible - devuelve un booleano para pasar/fallar.\\n// p. ej. return await page.locator('h1').isVisible();"},"showCompiledActions":"Mostrar acciones compiladas","hideCompiledActions":"Ocultar acciones compiladas","showRunScreenshots":"Mostrar capturas de la ejecución","hideRunScreenshots":"Ocultar capturas de la ejecución","moveUp":"Subir","moveDown":"Bajar","deleteSequence":"Eliminar secuencia","replaceReferenceVisual":"Referencia subida - reemplazar","uploadReferenceVisual":"Subir referencia visual","openScriptStudio":"Abrir Script Studio","saveSequence":"Guardar paso","saveAndCompile":"Guardar y compilar en acciones","unsavedBadge":"Sin guardar","compilingBadge":"C
66ompilandoâ¦","savingBadge":"Guardandoâ¦","unsavedLeaveSaving":"Tus pasos se están compilando en acciones, puede tardar un momento.","runThisSequence":"Ejecutar esta secuencia","stepScriptAria":"Script del paso {index}","stepPromptAria":"Prompt del paso {index}","scriptAskPlaceholder":"PÃdele a la IA que escriba o modifiqueâ¦","scriptChatPlaceholder":"PÃdele a la IA que escriba o modifique⦠( / para comandos )","scriptChatRunInProgress":"Ejecución de prueba en curso - el chat se reanuda al terminar","askAi":"Preguntar a la IA","send":"Enviar","text2testAssistant":"Asistente Text2Test","scriptPageState":{"live":"página en vivo","noPage":"sin página","noExtension":"sin extensión"},"scriptLoadingConversation":"Cargando conversaciónâ¦","scriptEmptyReady":"PÃdele al asistente que inspeccione la página y escriba código de Playwright en el editor.","scriptEmptyNoExtension":"Abre la extensión en una página en vivo para que el asistente pueda ver la pantalla. Por ahora, igual puede ayudarte a escribir código.","scriptCommandCompactDesc":"Resume la conversación para liberar contexto","scriptCommandCompactHint":"necesita al menos 4 mensajes","scriptCommandClearDesc":"Borra la conversación y elimina su memoria","scriptCommandClearHint":"aún no hay mensajes","rewindToHere":"Retroceder hasta aquÃ","scriptCommands":"Comandos","scriptStudio":"Script Studio","promptStudio":"Prompt Studio","authoredEmptyReady":"Dile al agente qué debe hacer este paso. Lee la pantalla, escribe cada frase Text2Test y la ejecuta antes de conservarla.","authoredEmptyNoExtension":"Abre la extensión en una página en vivo y el agente verificará cada frase en la pantalla real. Por ahora escribe solo con las reglas de Text2Test.","promptEditor":"Editor de prompt","compiledStepsTitle":"Pasos compilados","compiledStepsEmpty":"Aún no hay pasos compilados.","openPromptStudio":"Abrir Prompt Studio","stepAuthoredAria":"Paso escrito por la IA","authoredAskPlaceholder":"Pregunta al agente de escrituraâ¦","stepNumber":"Paso {index}","run":"Ejecutar","aiProposedChanges":"Cambios propuestos por la IA","reject":"Rechazar","accept":"Aceptar","scriptEditor":"Editor de scripts","resizeEditorChat":"Redimensionar editor y chat","resizeEditorOutput":"Redimensionar editor y salida","reportsLoading":"Cargando informesâ¦","reportsEmpty":"Aún no hay informes. Ejecuta este test para ver los resultados aquÃ.","reportsCount":"{count} informe(s)","reportsSteps":"{passed}/{total} pasos aprobados","reportsStartDate":"Fecha de inicio","reportsEndDate":"Fecha de fin","reportsClearDates":"Borrar filtro de fecha","chatConnectFailed":"No se pudo conectar con el asistente. ¿Está accesible el servicio autopilot y has iniciado sesión?","chatSendFailed":"No se pudo enviar el mensaje.","chatCompactConnectFailed":"No se pudo conectar con el asistente para compactar.","chatCompactFailed":"No se pudo compactar la conversación.","chatCompacted":"Conversación compactada.","chatWarmingUp":"ð Preparando la página en vivo (ejecutando los pasos anteriores)â¦"},"results":{"breadcrumbWeb":"Test Web","title":"Resultados de tests","description":"Todas las ejecuciones de tests web en este espacio de trabajo. Entra en cualquier ejecución para ver su estado, la lÃnea de tiempo de pasos y la repetición.","rangeAll":"Todo el tiempo","range24h":"Ãltimas 24 horas","range7d":"Ãltimos 7 dÃas","range30d":"Ãltimos 30 dÃas","range90d":"Ãltimos 90 dÃas","passRate":"Tasa de aprobación","ofRuns":"/ {total} ejecuciones","status_passed":"Aprobado","status_failed":"Fallido","status_running":"En ejecución","status_stopped":"Detenido","status_pending":"Pendiente","status_error":"Con error","searchPlaceholder":"Buscar por nombre del test, ejecutor, id de ejecuciónâ¦","filter":"Filtrar","colTest":"Test","colStatus":"Estado","colExecution":"Ejecución","colDuration":"Duración","colStarted":"Iniciado","colEnvironment":"Entorno","colExecutor":"Ejecutor","execScheduled":"Programado","execManual":"Manual","actView":"Ver detalles","actCopyId":"Copiar ID de ejecución","copiedId":"ID de ejecución copiado","truncated":"Mostrando las {shown} ejecuciones más recientes de {total}. Reduce el rango de fechas o busca para encontrar ejecuciones más antiguas.","noMatch":"Ninguna ejecución coincide con estos filtros.","resetFilters":"Restablecer filtros","rowsRuns":"ejecuciones","emptyTitle":"Aún no hay ejecuciones","emptyMessage":"Cuando ejecutas un test web, cada ejecución aparece aquà con su estado, duración, video de repetición y diagnóstico paso a paso.","panel":{"runTitle":"Ejecución de prueba","actionsLabel":"Acciones","run":"Ejecución","tabOverview":"Resumen","tabSteps":"Pasos","tabAdminDetail
66s":"Detalles de admin","diagnostics":"Diagnósticos","summary":"Resumen","steps":"Pasos","passed":"Aprobado","failed":"Fallido","skipped":"Omitido","replay":"Repetición","screenshots":"Capturas de pantalla · {count}","timeline":"LÃnea de tiempo de pasos · {ran} ejecutados, {skipped} omitidos","loadingSteps":"Cargando pasosâ¦","noSteps":"No hay datos de pasos para esta ejecución.","status":"Estado","action":"Acción","context":"Contexto","aiRequest":"Solicitud IA","aiResponse":"Respuesta IA","screenshot":"Captura de pantalla","noAiRequest":"No hay datos de solicitud para este paso.","noAiResponse":"No hay datos de respuesta de IA para este paso.","noScreenshot":"No se capturó ninguna captura de pantalla para este paso.","seeMore":"Ver más","seeLess":"Ver menos","copy":"Copiar","tabConsole":"Consola","downloadLogs":"Descargar logs","tabNetwork":"Red","loadingLogs":"Cargando registrosâ¦","noLogs":"No hay registros de consola para esta ejecución.","noLogMatch":"Ninguna entrada de registro coincide.","lvl_all":"Todos","lvl_err":"Errores","lvl_warn":"Advertencias","searchLog":"Buscar en el registroâ¦","errCount":"{count} errores","warnCount":"{count} advertencias","entryCount":"{count} entradas","loadingNetwork":"Cargando redâ¦","noNetwork":"No hay captura de red para esta ejecución.","noNetworkMatch":"Ninguna solicitud coincide.","searchUrl":"Buscar URLâ¦","onlyErrors":"Solo errores","requests":"solicitudes","ofTotal":"de {total}","openVideo":"Abrir video","backToRequests":"Volver a las solicitudes","net_headers":"Encabezados","net_payload":"Payload","net_response":"Respuesta","net_timing":"Tiempos","netGeneral":"General","netUrl":"URL de la solicitud","netMethod":"Método de la solicitud","netStatus":"Código de estado","netRemote":"Dirección remota","netResponseHeaders":"Encabezados de respuesta","netRequestHeaders":"Encabezados de la solicitud","netNoHeaders":"No se capturaron encabezados.","netNoPayload":"No hay payload de la solicitud.","netQuery":"Parámetros de la cadena de consulta","netRequestBody":"Cuerpo de la solicitud","netNoBody":"No se capturó el cuerpo de la respuesta.","netNoTiming":"No hay datos de tiempos.","netTotal":"Total","phase_blocked":"Bloqueado","phase_dns":"Consulta DNS","phase_connect":"Conexión inicial","phase_ssl":"SSL","phase_send":"Solicitud enviada","phase_wait":"Esperando (TTFB)","phase_receive":"Descarga de contenido","copyLink":"Copiar enlace público","openTest":"Abrir test","openInNewTab":"Abrir en una pestaña nueva","linkCopied":"Enlace público copiado","publicLinkError":"No se pudo crear el enlace público","share":"Compartir","rerunTest":"Volver a ejecutar el test","rerunStarted":"Se inició la nueva ejecución del test","rerunFailed":"No se pudo iniciar la nueva ejecución"},"shareModal":{"title":"Compartir ejecución del test","whoCanView":"Quién puede ver","publicLabel":"Cualquiera con el enlace","publicDesc":"Informe de solo lectura, sin iniciar sesión. Ideal para ingenieros que depuran un fallo.","workspaceLabel":"Solo el espacio de trabajo","workspaceDesc":"Miembros de {name}. Se abre directamente en la aplicación.","expiresLabel":"El enlace caduca","expiresOption":"{count, plural, one {# dÃa} other {# dÃas}}","revokeNote":"El acceso de los lectores puede revocarse en cualquier momento desde los ajustes del test.","linkLabel":"Enlace para compartir","copyLink":"Copiar enlace","copied":"Copiado","createError":"No se pudo crear el enlace para compartir","cancel":"Cancelar","next":"Siguiente","done":"Hecho"},"artifacts":{"empty":"No hay artefactos de pasos para esta ejecución.","aiRequest":"Solicitud IA","aiResponse":"Respuesta IA","screenshot":"Captura de pantalla","refScreenshot":"Referencia","currScreenshot":"Actual","prevScreenshot":"Anterior","noScreenshot":"No se capturó ninguna captura de pantalla.","copy":"Copiar"},"actCopyLink":"Copiar enlace público","copiedLink":"Enlace público copiado","actionsLabel":"Acciones","logsDownloadFailed":"No se pudieron descargar los registros","publicLinkError":"No se pudo crear el enlace público","deltaPassRate":"{pct}% de tasa de aprobación","vsPrev":"vs. los 30 dÃas anteriores","anyone":"Cualquiera","filterTest":"Test: {name}","clearTestFilter":"Borrar filtro de test","columns":"Columnas","chipAll":"Todos"},"getExtension":{"eyebrow":"Extensión de Chrome Text2Test","title":"Crea tests viéndolos ejecutarse","subtitle":"Escribe un paso en texto plano, ejecútalo en vivo a través de la extensión y observa cómo se ejecuta en un navegador real. Ve qué funciona, mejora lo que no, sin salir nunca de tu test.","install":"Añadir a Chrome","installHint":"Instalación gratuita. Funciona con tu plan de Text2Test actual.","chromeOnly":"La extensión Text2Test funciona solo en <b>Google Chrome</b>. Los demás navegadores no son compatibles.","whatItDoes":"Qué hace la extensión","features":{"watch":{"title":"Observa los tests en vivo","description":"Se abre una ventana de navegador dedicada en cada ejecución de test. Ve
66cada paso ejecutarse en tiempo real."},"interact":{"title":"Interviene cuando haga falta","description":"Cierra pop-ups, descarta banners, supera pantallas de verificación. El test continúa donde lo dejaste."},"sequences":{"title":"Funciona con todos los tipos de secuencia","description":"T2T Native, Autopilot, Scripting Agent, Visual Verification y HTTP Request se ejecutan todos a través de la extensión."}},"installed":{"connected":"Extensión conectada","title":"Todo listo. Esto es lo que puedes hacer.","subtitle":"Tres cosas que debes saber: activar el acceso incógnito, controlar el comportamiento de cada ejecución y etiquetar elementos con precisión mediante clic derecho.","step1":{"title":"Permitir la extensión en modo incógnito","description":"Al instalar la extensión Text2Test, haz clic en Detalles y permite el Modo incógnito. Si no lo ves, haz clic en el icono de la extensión en la barra de herramientas â Administrar extensión â activa Permitir en incógnito. Esto permite a Text2Test ejecutar tus tests en una ventana privada y limpia, con una sesión nueva cada vez.","callout":"Encuentra esto en chrome://extensions, haz clic en Detalles para Text2Test y luego activa Permitir en incógnito.","siteAccess":"Acceso al sitio","siteAccessDesc":"Permite que esta extensión lea y modifique todos tus datos en los sitios que visitas:","onAllSites":"En todos los sitios","siteSettings":"Configuración del sitio","pinToToolbar":"Anclar a la barra de herramientas","allowIncognito":"Permitir en incógnito","allowIncognitoDesc":"Advertencia: Google Chrome no puede evitar que las extensiones registren tu historial de navegación. Para desactivar esta extensión en modo incógnito, desmarca esta opción.","allowFileUrls":"Permitir acceso a URL de archivos","collectErrors":"Recopilar errores","source":"Origen","sourcePath":"Extensión descomprimida · Cargada desde: ~/Downloads/extension-main-latest"},"step2":{"title":"Controla el comportamiento de cada ejecución","description":"Abre cualquier Web Test y encontrarás el panel Extensión de navegador. Activa las opciones de abajo para ver qué hace cada una. Haz clic en cualquier interruptor para probarlo.","mockCrumb":"Tests / Checkout regression","mockTitle":"Checkout regression","mockNavOverview":"Resumen","mockNavTestEditor":"Editor de test","mockGroupMobileTest":"Test móvil","mockNavDevicePark":"Parque de dispositivos","mockClose":"Cerrar","mockInfo":"Más información","replay":"Repetir"},"step3":{"title":"Etiqueta elementos con precisión mediante clic derecho","description":"Dentro de la ventana de la extensión, haz clic derecho en cualquier elemento y pasa el cursor sobre Text2Test para etiquetarlo. Etiquetar fija el elemento exacto para que un paso haga clic precisamente en lo correcto, incluso cuando la página tiene elementos similares.","taggedButtonLabel":"Nuevo proyecto","taggedBadge":"Etiquetado","whyTagTitle":"¿Por qué etiquetar?","whyTagBody":"Una etiqueta fija un paso a un elemento exacto. Hace que los clics sean precisos y mantiene los tests estables cuando la página cambia a su alrededor.","whyTagSteps":{"step1":"Haz clic derecho en el elemento dentro de la ventana de la extensión.","step2":"Pasa el cursor sobre <code>Text2Test</code> en el menú.","step3":"Elige <code>Label</code>, luego <code>Single</code> o <code>Multiple</code>.","step4":"El elemento queda etiquetado y listo para usarse en un paso."},"replay":"Repetir"}}},"doc":{"breadcrumb":"Prueba Web","title":"Prueba Web","lead":"Crea, ejecuta y comparte pruebas de UI basadas en el navegador usando prompts en lenguaje natural - desde tu primera prueba hasta la extensión del navegador, las fuentes de datos y las secuencias.","onThisPage":"En esta página","copy":"Copiar","copied":"Copiado","calloutInfo":"Nota","calloutTip":"Consejo","calloutWarning":"Importante","cta":"Nueva prueba web","updated":"Actualizado en julio de 2026"}},"mobile":{"earlyAccess":{"eyebrow":"Prueba móvil · Acceso anticipado","title":"Las pruebas no terminan en el navegador","subtitle":"Text2Test también cubre móvil. La misma creación de pruebas en lenguaje natural y los modelos de IA especializados en testing de softw
66are, ahora para tus apps de iOS y Android. Primero estamos desplegando el autoservicio web; móvil ya está listo para los equipos que lo quieran.","chip":"iOS y Android, listos hoy","ctaDemo":"Solicitar una demo","ctaEarly":"Obtener acceso anticipado","earlyDone":"Estás en la lista","ctaHint":"Sin compromiso. Te escribiremos por correo antes de activar nada.","s1Title":"Un solo enfoque, todas las superficies","s1Body":"Web y móvil no deberÃan significar dos herramientas de prueba, dos flujos de trabajo y dos equipos distintos. Text2Test usa el mismo modelo de creación de pruebas en ambos: lo que tu equipo aprende en web se traslada directamente a móvil. Escribe la prueba una vez, en lenguaje natural, y deja que la plataforma haga el resto.","benefitsLabel":"Qué te aporta el testing móvil","benefits":{"devices":"Cobertura en dispositivos reales de iOS y Android, no solo pantallas emuladas","steps":"Los mismos pasos de prueba en lenguaje natural que tu equipo ya usa en web","once":"Escribe una prueba una vez y ejecútala en iOS y Android, sin suites duplicadas","reports":"Informes pensados para corregir errores rápido, con grabaciones y registros completos de cada ejecución"},"s3Title":"Por qué web primero","s3Body":"Lanzamos primero el autoservicio web para mantener la experiencia simple y hacerla bien. El testing móvil ya está disponible para los equipos que lo necesitan, configurado junto a nosotros para encajar en tu proceso de release desde el primer dÃa. A medida que ampliemos el autoservicio, móvil se incorporará a los mismos planes que ya conoces.","closingTitle":"¿Listo para probar tu app móvil?","closingBody":"Habla con nosotros para llevar Text2Test a tus releases de iOS y Android. Te acompañamos en el proceso y lo dejamos configurado."}},"settings":{"profiles":{"breadcrumbSettings":"Configuración","title":"Perfiles de Configuración","description":"Conjuntos reutilizables de configuraciones de ejecución que se aplican a tus tests a nivel de prompt, general, equipo o empresa.","newProfile":"Nuevo Perfil","searchPlaceholder":"Buscar perfilesâ¦","filterType":"Tipo","colName":"Nombre","colType":"Alcance","colDescription":"Descripción","colCreated":"Creado","colSettings":"Configuraciones","settingsCount":"{count, plural, =0 {Sin configuraciones} one {# configuración} other {# configuraciones}}","rowsProfiles":"perfiles","actEdit":"Editar","actCopyId":"Copiar ID","actDelete":"Eliminar","copiedId":"ID de perfil copiado","emptyTitle":"Aún no hay perfiles de configuración","emptyMessage":"Crea tu primer perfil de configuración para gestionar de forma centralizada las configuraciones de ejecución a nivel de prompt, equipo o empresa.","emptyCta":"Crear perfil de configuración","noMatch":"Ningún perfil coincide con tus filtros.","resetFilters":"Restablecer filtros","deleteTitle":"Eliminar perfil de configuración","deleteMessage":"¿Seguro que deseas eliminar â{name}â? Los tests vinculados a este perfil pasarán a usar configuraciones de menor prioridad. Esta acción no se puede deshacer.","deleteConfirm":"Eliminar","deleteCancel":"Cancelar","deleted":"Perfil de configuración eliminado","deleteFailed":"No se pudo eliminar el perfil de configuración","loadFailed":"No se pudieron cargar los perfiles de configuración","typeGeneral":"General","typeTeam":"Equipo","typeCompany":"Empresa","typePrompt":"Prompt"},"editor":{"breadcrumbSettings":"Configuración","breadcrumbProfiles":"Perfiles de configuración","titleCreate":"Nuevo perfil de configuración","titleEdit":"Editar perfil de configuración","back":"Volver a los perfiles","cancel":"Cancelar","save":"Guardar","saving":"Guardandoâ¦","labelName":"Nombre","placeholderName":"Nombre del perfil","labelType":"Alcance","placeholderType":"Selecciona el alcance","labelDescription":"Descripción","placeholderDescription":"Descripción breve (opcional)","labelBody":"Configuraciones","placeholderBody":"timeout::30000\\nretryCount::2\\nheadless::true","bodyHint":"Una configuración por lÃnea con el formato clave::valor. Los tokens separados por espacios se procesan al guardar.","typeHintTitle":"Prioridad de alcance","typeHint":"Cuando la misma clave se resuelve desde varios perfiles, gana el alcance de mayor prioridad: Prompt > General > Equipo > Empresa.","typeGeneral":"General","typeTeam":"Equipo","typeCompany":"Empresa","typePrompt":"Prompt","nameRequired":"Se requiere un n
66ombre de perfil.","created":"Perfil de configuración creado","updated":"Perfil de configuración actualizado","saveFailed":"No se pudo guardar el perfil de configuración","loadFailed":"No se pudo cargar este perfil de configuración."},"vault":{"breadcrumb":"Configuración","title":"Perfiles de Vault","description":"Conecta tu proveedor de Vault para resolver secretos de forma segura en tiempo de ejecución del test, sin almacenarlos.","newProfile":"Agregar perfil de Vault","searchPlaceholder":"Buscar perfiles de Vaultâ¦","kpiTotal":"Total de perfiles","kpiProviders":"Proveedores","kpiDefaults":"Predeterminados","kpiCompany":"Alcance de empresa","colName":"Nombre","colProvider":"Proveedor","colUrl":"URL","colScope":"Alcance","colDefault":"Predeterminado","scopeCompany":"Empresa","scopeTeam":"Equipo","defaultYes":"Predeterminado","rowsProfiles":"perfiles","noMatch":"Ningún perfil de Vault coincide con tu búsqueda.","resetSearch":"Restablecer búsqueda","emptyTitle":"Aún no hay perfiles de Vault","emptyMessage":"Conecta tu proveedor de Vault para resolver secretos de forma segura en tiempo de ejecución del test, sin almacenarlos.","actEdit":"Editar","actTestConnection":"Probar conexión","actCopyId":"Copiar ID","actDelete":"Eliminar","copiedId":"ID de perfil de Vault copiado","connectionSuccess":"Prueba de conexión exitosa","connectionFailed":"Falló la prueba de conexión","created":"Perfil de Vault creado","createFailed":"No se pudo crear el perfil de Vault","updated":"Perfil de Vault actualizado","updateFailed":"No se pudo actualizar el perfil de Vault","deleted":"Perfil de Vault eliminado","deleteFailed":"No se pudo eliminar el perfil de Vault","deleteTitle":"Eliminar perfil de Vault","deleteMessage":"¿Eliminar â{name}â? Los tests que usan este perfil no podrán resolver secretos. Esta acción no se puede deshacer.","deleteCancel":"Cancelar","deleteConfirm":"Eliminar","createTitle":"Agregar perfil de Vault","editTitle":"Editar perfil de Vault","fieldName":"Nombre","namePlaceholder":"p. ej. production-vault","fieldProvider":"Proveedor","providerHashicorp":"HashiCorp Vault","providerAws":"AWS Secrets Manager","providerAzure":"Azure Key Vault","providerCyberark":"CyberArk Conjur","fieldUrl":"URL","urlPlaceholder":"p. ej. https://vault.example.com","tokenVault":"Token de Vault","tokenAws":"Token Bearer de AWS","tokenAzure":"Token de Azure AD","tokenCyberark":"Usuario y clave API","tokenPlaceholderHashicorp":"Ingresa tu token de HashiCorp Vault","tokenPlaceholderAws":"Ingresa tu token Bearer o STS de AWS","tokenPlaceholderAzure":"Ingresa tu token Bearer de Azure AD","tokenPlaceholderCyberark":"usuario:clave_api (p. ej. admin:2ab3xyâ¦)","tokenHint":"Déjalo vacÃo para conservar el token existente.","fieldNamespace":"Espacio de nombres","namespacePlaceholderHashicorp":"p. ej. admin/team-a","namespacePlaceholderCyberark":"Cuenta de Conjur (p. ej. default)","fieldPathPrefix":"Prefijo de ruta","pathPrefixPlaceholder":"p. ej. secret/data/myapp","fieldScope":"Alcance","fieldDescription":"Descripción","descriptionPlaceholder":"Descripción opcionalâ¦","fieldIsDefault":"Perfil predeterminado","isDefaultHint":"Este perfil se seleccionará automáticamente al agregar parámetros de Vault.","cancel":"Cancelar","save":"Guardar","update":"Actualizar"},"apiKeys":{"title":"Claves API","subtitle":"Crea y gestiona claves API para el acceso programático a Text2Test.","searchPlaceholder":"Buscar por nombre o claveâ¦","createButton":"Crear clave API","emptyTitle":"Aún no hay claves API","emptyDescription":"Crea claves API para acceder a la API de Text2Test de forma programática en CI/CD, automatización e integraciones.","colName":"Nombre","colKey":"Clave","colPermissions":"Permisos","colStatus":"Estado","colCreated":"Creado","colExpires":"Expira","statusActive":"Activo","statusInactive":"Inactivo","never":"Nunca","fullAccess":"Acceso completo","actionActivate":"Activar","actionDeactivate":"Desactivar","actionRevoke":"Revocar","toggleSuccess":"Estado de la clave API actualizado.","toggleError":"No se pudo actualizar el estado de la clave API.","revokeSuccess":"Clave API revocada.","revokeError":"No se pudo revocar la clave API.","revokeConfirmTitle":"Revocar clave API","revokeConfirmMessage":"Esta acción no se puede deshacer. Cualquier integración que use esta clave dejará de funcionar de inmediato.","createSuccess":"Clave API creada.","createError":"No se pudo crear la clave API.","createTitle":"Crear clave API","createDescription":"Configura tu nueva clave API con un nombre, permisos y una fecha de expiración.","nameLabel":"Nombre","namePlaceholder":"p. ej. Pipeline de CI/CD","permissionsLabel":"Permisos","template_fullAccess":"Acceso completo","template_cicd":"CI/CD","template_testRunner":"Ejecutor de tests","template_readOnly":"Solo lectura","template_reportViewer":"Visor de informes","template_custom":"Personalizado","expirationLabel":"Expiración","expiryPreset_week1":"1 semana","expiryPreset_weeks2":"2 semanas","expiryPreset_month1":"1 mes","expiryPreset_months3":"3 meses","expiryPreset_months6":"6 meses","expiryPreset_custom":"Personalizado","validityLabel":"Validez (dÃas)","validityMaxError":"No puede superar los 180 dÃas (6 meses)","cancel":"Cancelar","revealTitle":"Tu clave API","revealWarning":"Copia esta clave ah
66ora. ¡No podrás volver a verla!","done":"Listo"},"mcpServers":{"breadcrumb":"Configuración","title":"Servidores MCP","description":"Conecta servidores MCP para ampliar tu asistente de IA con herramientas y capacidades personalizadas.","newServer":"Agregar servidor MCP","searchPlaceholder":"Buscar servidores MCPâ¦","filterScope":"Alcance","colName":"Nombre","colUrl":"URL","colScope":"Alcance","colEnabled":"Habilitado","colUseInChat":"Usar en el chat","colCreated":"Creado","rowsServers":"servidores","kpiTotal":"Total de servidores","kpiEnabled":"Habilitados","kpiChat":"Habilitados para chat","kpiTeam":"De alcance de equipo","scopeTeam":"Equipo","scopeCompany":"Empresa","actEdit":"Editar","actTestConnection":"Probar conexión","actCopyId":"Copiar ID","actDelete":"Eliminar","copiedId":"ID de servidor copiado","emptyTitle":"Aún no hay servidores MCP","emptyMessage":"Conecta servidores MCP para ampliar tu asistente de IA con herramientas y capacidades personalizadas.","emptyCta":"Agregar servidor MCP","noMatch":"Ningún servidor coincide con tus filtros.","resetFilters":"Restablecer filtros","deleteTitle":"Eliminar servidor MCP","deleteMessage":"¿Eliminar â{name}â? Los tests que usan este servidor perderán acceso a sus herramientas. Esta acción no se puede deshacer.","deleteConfirm":"Eliminar","deleteCancel":"Cancelar","deleted":"Servidor MCP eliminado","deleteFailed":"No se pudo eliminar el servidor MCP","loadFailed":"No se pudieron cargar los servidores MCP","createTitle":"Nuevo servidor MCP","createSubtitle":"Conecta un nuevo servidor MCP para ampliar las capacidades de IA.","editTitle":"Editar servidor MCP","editSubtitle":"Actualiza la configuración del servidor y los detalles de conexión.","labelName":"Nombre","placeholderName":"p. ej. Mis herramientas personalizadas","labelUrl":"URL","placeholderUrl":"p. ej. https://mcp.example.com/sse","labelScope":"Alcance","scopeTeamHint":"Disponible solo para el equipo actual.","scopeCompanyHint":"Disponible para todos los equipos de la empresa.","labelDescription":"Descripción","placeholderDescription":"Descripción breve (opcional)","labelEnabled":"Habilitado","labelUseInChat":"Usar en el chat","labelHeaders":"Encabezados personalizados","addHeader":"Agregar encabezado","headerKey":"Nombre del encabezado","headerValue":"Valor del encabezado","noHeaders":"No hay encabezados personalizados configurados.","testConnection":"Probar conexión","testSuccess":"Conexión exitosa","testFailed":"Conexión fallida","cancel":"Cancelar","save":"Guardar","create":"Crear","saving":"Guardandoâ¦","created":"Servidor MCP creado","updated":"Servidor MCP actualizado","saveFailed":"No se pudo guardar el servidor MCP","nameRequired":"Se requiere un nombre de servidor.","urlRequired":"Se requiere una URL de servidor."},"doc":{"breadcrumb":"Configuración","title":"Perfiles de Configuración","lead":"Todas las configuraciones que puedes ajustar en la plataforma - ejecución, navegador, esperas, coincidencia de IA, localización, video y móvil - con los valores aceptados, valores predeterminados y ejemplos resueltos.","onThisPage":"En esta página","copy":"Copiar","copied":"Copiado","calloutInfo":"Nota","calloutTip":"Consejo","calloutWarning":"Importante","cta":"Crear un perfil de configuración","updated":"Actualizado el 2 de junio de 2026"},"nav":{"aria":"Configuración","breadcrumb":"Configuración","groupPersonal":"Personal","account":"Cuenta","billingPlan":"Facturación y Plan","security":"Seguridad","help":"Ayuda","notifications":"Notificaciones"},"account":{"title":"Cuenta","subtitle":"Gestiona tu perfil, contraseña y preferencias personales.","ownerBadge":"Propietario","changePhoto":"Cambiar foto","comingSoon":"Esto todavÃa no está conectado al backend.","detailsTitle":"Datos personales","detailsDesc":"Actualiza tu nombre y cómo apareces en el espacio de trabajo.","detailsFootnote":"Los cambios se aplican en todos los espacios de trabajo a los que perteneces.","saveChanges":"Guardar cambios","saved":"Perfil actualizado.","saveFailed":"No se pudo guardar tu perfil.","fullName":"Nombre completo","jobTitle":"Cargo","optional":"Opcional","emailAddress":"Correo electrónico","emailHint":"Se usa para iniciar sesión y para las notificaciones.","emailChangeNote":"Para cambiar tu correo electrónico, contacta a [email protected].","phone":"Teléfono","timezone":"Zona horaria","language":"Idioma","passwordTitle":"Contraseña","passwordDesc":"Establece una nueva contraseña. Recomendamos al menos 12 caracteres.","passwordFootnote":"Seguirás con la sesión iniciada en este dispositivo.","updatePassword":"Actualizar contraseña","currentPassword":"Contraseña actual","newPassword":"Nueva contraseña","confirmPassword":"Confirmar nueva contraseña","toggleVisibility":"Alternar visibilidad de la contraseña","passwordSaved":"Contraseña actualizada.","passwordSaveFailed":"No se pudo actualizar tu contraseña.","passwordRequired":"Completa todos los campos de contraseña.","passwordMismatch":"Las nuevas contraseñas no coinciden."},"members":{"title":"Miembros","subtitle":"Gestiona quién puede acceder al espacio de trabajo {workspace}.","seatsTitle":"Plazas","seatsDesc":"Tu plan incluye hasta {limit} plazas. Agrega miembros para colaborar en tests y planes.","seatsUsed":"plazas usadas","
66seatsFootnote":"¿Necesitas más plazas? Mejora tu plan o habla con ventas.","membersTitle":"Miembros","membersDesc":"Personas con acceso al espacio de trabajo {workspace}.","inviteMember":"Invitar miembro","empty":"Aún no hay miembros.","colMember":"Miembro","colRole":"Rol","colLastActive":"Ãltima actividad","you":"Tú","roleAdmin":"Administrador","roleMember":"Miembro","roleOwner":"Propietario","makeAdmin":"Convertir en administrador","makeMember":"Convertir en miembro","removeMember":"Eliminar miembro","roleUpdated":"Se actualizó el rol de {name}.","roleUpdateFailed":"No se pudo actualizar el rol.","memberRemoved":"Se eliminó a {name} del espacio de trabajo.","memberRemoveFailed":"No se pudo eliminar a este miembro.","removeConfirmTitle":"¿Eliminar miembro?","removeConfirmBody":"{name} perderá el acceso a este espacio de trabajo y se liberará una plaza. Esta acción no se puede deshacer.","removeConfirmCancel":"Cancelar","removeConfirmConfirm":"Eliminar","pendingTitle":"Invitaciones pendientes","pendingDesc":"Personas que fueron invitadas pero aún no se han unido.","pendingBadge":"Pendiente","resend":"Reenviar","revoke":"Revocar","invitedToday":"Invitado hoy","invitedDaysAgo":"Invitado hace {days, plural, one {# dÃa} other {# dÃas}}","inviteResent":"Invitación reenviada a {email}.","inviteResendFailed":"No se pudo reenviar la invitación.","inviteRevoked":"Se revocó la invitación de {email}.","inviteRevokeFailed":"No se pudo revocar la invitación."},"security":{"title":"Seguridad","subtitle":"Autenticación de dos factores y sesiones activas.","comingSoon":"Esto todavÃa no está conectado al backend.","twoFactorTitle":"Autenticación de dos factores","twoFactorDesc":"Agrega un segundo paso al iniciar sesión mediante una aplicación de autenticación.","authenticatorApp":"Aplicación de autenticación","on":"Activado","off":"Desactivado","configured":"Configurado con una aplicación de autenticación.","notConfigured":"No configurado","viewBackupCodes":"Ver códigos de respaldo","sessionsTitle":"Sesiones activas","sessionsDesc":"Dispositivos actualmente conectados a tu cuenta.","signOutAll":"Cerrar sesión en todos","thisDevice":"Este dispositivo","revoke":"Revocar"},"notifications":{"title":"Notificaciones","subtitle":"Decide qué llega a tu bandeja de entrada y a la bandeja dentro de la aplicación.","cardTitle":"Notificaciones","cardDesc":"Elige sobre qué se te notifica y dónde. Los recibos crÃticos de facturación siempre se envÃan por correo electrónico.","email":"Correo electrónico","inApp":"En la app","footnote":"Se aplica solo a tu cuenta.","save":"Guardar preferencias","saved":"Preferencias de notificación guardadas.","rows":{"testFailures":{"label":"Fallos en la ejecución de tests","desc":"Cuando un test web o la ejecución de un plan finaliza con fallos o errores."},"planCompletion":{"label":"Finalización de plan","desc":"Cuando un plan de automatización programado finaliza una ejecución completa."},"weeklyDigest":{"label":"Resumen semanal","desc":"Un resumen de los lunes sobre la tasa de aprobación, tests inestables y uso."},"usageLimits":{"label":"LÃmites de uso","desc":"Cuando alcanzas el 80 % / 100 % de tu cuota mensual de casos de prueba."},"billingInvoices":{"label":"Facturación y facturas","desc":"Recibos de pago, renovaciones y alertas de cargos fallidos."},"productUpdates":{"label":"Novedades del producto","desc":"Nuevas funciones, novedades del registro de cambios y consejos."}}}},"tools":{"doc":{"breadcrumb":"Herramientas","title":"Herramientas","lead":"Fuentes de datos, solicitudes HTTP guardadas y etiquetas de elementos: los bloques reutilizables en los que se apoyan tus tests y planes.","onThisPage":"En esta página","copy":"Copiar","copied":"Copiado","calloutInfo":"Nota","calloutTip":"Consejo","calloutWarning":"Importante","cta":"Nueva fuente de datos","updated":"Actualizado el 2 de junio de 2026"},"testTags":{"breadcrumb":"Herramientas","title":"Etiquetas de test","description":"Etiquetas de color que asignas a tests o directorios para organizar, filtrar y agrupar tu suite de tests.","newTag":"Crear etiqueta","searchPlaceholder":"Buscar etiquetasâ¦","allowUsersLabel":"Permitir que los usuarios gestionen etiquetas","colName":"Nombre","colColor":"Color","colType":"Tipo","typeEntity":"Vinculada a entidad","typeDirectory":"Vinculada a directorio","rowsTags":"etiquetas","noMatch":"Ninguna etiqueta coincide con tu búsqueda.","resetSearch":"Restablecer búsqueda","emptyTitle":"Aún no hay etiquetas de test","emptyMessage":"Crea tu primera etiqueta para empezar a organizar tests y directorios.","actEdit":"Editar","actDelete":"Eliminar","deleteTitle":"Eliminar etiqueta de test","deleteMessage":"¿Eliminar â{name}â? Los tests que usan esta etiqueta perderán la etiqueta. Esta acción no se puede deshacer.","deleteConfirm":"Eliminar","deleteCancel":"Cancelar","deleted":"Etiqueta de test eliminada","deleteFailed":"No se pudo eliminar la etiqueta de test","createTitle":"Crear etiqueta de test","editTitle":"Editar etiqueta de test","fieldName":"Nombre","namePlaceholder":"p. ej. Smoke, Regresión, Login","fieldType":"Tipo","fieldColor":"Color","cancel":"Cancelar","save":"Guardar","createBtn":"Crear","created":"Etiqueta de test creada","updated":"Etiqueta de test actualizada","saveFailed":"No se pudo guardar la etiqueta de test","duplicateName":"Ya existe una etiqueta con este nombre","nameRequired":"El nombre de la etiqueta es obligatorio","permissionEnabled":"Ahora los usuarios pueden gestionar etiquetas","permissionDisabled":"Solo los administradores pueden gestionar etiquetas","permissionFailed":"No se pudo actualizar el permiso"},"elementTags":{"breadcrumb":"Herramientas","title":"Etiquetas de elemento","description":"Selectores n
66ombrados y estables capturados por la extensión del navegador y el inspector móvil para que tus pasos sigan siendo localizables a medida que cambia el DOM.","searchPlaceholder":"Buscar por nombre o selectorâ¦","filterType":"Tipo","filterPlatform":"Plataforma","colName":"Nombre","colSelector":"Selector","colType":"Tipo","colPlatform":"Plataforma","rowsTags":"etiquetas","actView":"Ver","actCopySelector":"Copiar selector","actDelete":"Eliminar","copiedSelector":"Selector copiado","emptyTitle":"Aún no hay etiquetas de elemento","emptyMessage":"Las etiquetas de elemento se capturan desde la extensión del navegador y el inspector móvil; aparecerán aquà en cuanto etiquetes elementos al crear tests.","noMatch":"Ninguna etiqueta coincide con tus filtros.","resetFilters":"Restablecer filtros","deleteTitle":"Eliminar etiqueta de elemento","deleteMessage":"¿Eliminar â{name}â? Los pasos que hagan referencia a esta etiqueta volverán a su selector en lÃnea. Esta acción no se puede deshacer.","deleteConfirm":"Eliminar","deleteCancel":"Cancelar","deleted":"Etiqueta de elemento eliminada","deleteFailed":"No se pudo eliminar la etiqueta de elemento","loadFailed":"No se pudieron cargar las etiquetas de elemento","typeLabel":"Etiqueta","typeWait":"Esperar hasta que desaparezca","typeExclude":"Excluir","typePredefined":"Predefinida","platformWeb":"Web","platformMobile":"Móvil","platformIos":"iOS","platformAndroid":"Android","panelSelector":"Selector","panelXpath":"XPath","panelFullXpath":"XPath completo","panelElementId":"ID del elemento","panelFrame":"URL del frame","panelScreenshots":"Capturas de pantalla","panelPage":"Página","panelElement":"Elemento","panelNoScreenshot":"No se capturó ninguna captura de pantalla para esta etiqueta."},"dataSources":{"breadcrumb":"Herramientas","title":"Fuentes de datos","description":"Archivos y respuestas HTTP que alimentan tus planes basados en datos: una fila por iteración, compartida en todo el workspace.","newSource":"Nueva fuente de datos","searchPlaceholder":"Buscar fuentes de datosâ¦","filterFormat":"Formato","filterSource":"Fuente","sourceFile":"Archivo","sourceHttp":"HTTP","colFormat":"Formato","colName":"Nombre","colSource":"Fuente","colCreated":"Creado","rowsSources":"fuentes","kpiTotal":"Total de fuentes","kpiFile":"Archivos subidos","kpiHttp":"Enlaces HTTP","kpiFormats":"Formatos","actEdit":"Editar detalles","actCopyId":"Copiar ID","actDelete":"Eliminar","copiedId":"ID de la fuente de datos copiado","emptyTitle":"Aún no hay fuentes de datos","emptyMessage":"Sube un archivo CSV, XLS, XLSX, JSON o XML, o vincula una solicitud HTTP guardada, para alimentar planes basados en datos.","emptyCta":"Nueva fuente de datos","noMatch":"Ninguna fuente de datos coincide con tus filtros.","resetFilters":"Restablecer filtros","deleteTitle":"Eliminar fuente de datos","deleteMessage":"¿Eliminar â{name}â? Los planes y tests vinculados a ella fallarán en su próxima ejecución hasta que se vuelvan a vincular. Esta acción no se puede deshacer.","deleteConfirm":"Eliminar","deleteCancel":"Cancelar","deleted":"Fuente de datos eliminada","deleteFailed":"No se pudo eliminar la fuente de datos","loadFailed":"No se pudieron cargar las fuentes de datos","createTitle":"Nueva fuente de datos","createSubtitle":"Sube un archivo o vincula una solicitud HTTP guardada.","editTitle":"Editar fuente de datos","editSubtitle":"Renómbrala, reemplaza el archivo o vuelve a vincular la solicitud HTTP.","currentFile":"Archivo actual","tabFile":"Subida de archivo","tabHttp":"Solicitud HTTP","dropTitle":"Suelta un archivo o haz clic para explorar","dropHint":"Hasta 10 MB · CSV · XLS · XLSX · JSON · XML","fileReplace":"Reemplazar","fileRemove":"Quitar","labelName":"Nombre","placeholderName":"Nombre de la fuente de datos","labelDescription":"Descripción","placeholderDescription":"Descripción breve (opcional)","labelFormat":"Formato","labelRequest":"Solicitud HTTP","pickRequest":"Selecciona una solicitud guardada","noRequests":"No se encontraron solicitudes HTTP guardadas.","parseAs":"Analizar respuesta como","create":"Crear","save":"Guardar","cancel":"Cancelar","saving":"Guardandoâ¦","created":"Fuente de datos creada","updated":"Fuente de datos actualizada","saveFailed":"No se pudo guardar la fuente de datos","uploadFailed":"Error al subir el archivo","
66nameRequired":"Se requiere un nombre.","fileRequired":"Elige un archivo para subir.","requestRequired":"Selecciona una solicitud HTTP para vincular.","actDownload":"Descargar archivo","actQuickView":"Vista rápida","downloaded":"Archivo descargado","downloadFailed":"No se pudo descargar el archivo","quickViewTitle":"{name} ({format})","quickViewLoading":"Cargando vista previaâ¦","quickViewError":"No se pudo cargar la vista previa del archivo","quickViewEmpty":"El archivo está vacÃo","quickViewRawFallback":"No se pudo analizar el archivo â mostrando contenido sin procesar","quickViewRows":"{count, plural, one {# fila} other {# filas}}","quickViewCols":"{count, plural, one {# columna} other {# columnas}}","quickViewLines":"{count, plural, one {# lÃnea} other {# lÃneas}}"},"httpRequest":{"breadcrumb":"Herramientas","title":"Solicitud HTTP","description":"Llamadas a la API guardadas que puedes enviar bajo demanda o incorporar a un test: define un método, URL, encabezados, cuerpo y autenticación, y luego envÃa para inspeccionar la respuesta en vivo.","newRequest":"Nueva solicitud","searchPlaceholder":"Buscar por nombre o URLâ¦","filterMethod":"Método","colMethod":"Método","colName":"Nombre","colUrl":"URL","colUpdated":"Actualizado","rowsRequests":"solicitudes","kpiTotal":"Total de solicitudes","kpiGet":"Lectura (GET)","kpiWrite":"Escritura","kpiMethods":"Métodos usados","actEdit":"Editar","actDuplicate":"Duplicar","actCopyId":"Copiar ID","actDelete":"Eliminar","copiedId":"ID de la solicitud copiado","emptyTitle":"Aún no hay solicitudes guardadas","emptyMessage":"Crea y guarda una solicitud de API para enviarla bajo demanda o hacer referencia a ella desde tus tests.","emptyCta":"Nueva solicitud","noMatch":"Ninguna solicitud coincide con tus filtros.","resetFilters":"Restablecer filtros","deleteTitle":"Eliminar solicitud","deleteMessage":"¿Eliminar â{name}â? Los tests y fuentes de datos que la referencian dejarán de funcionar hasta que se vuelvan a apuntar. Esta acción no se puede deshacer.","deleteConfirm":"Eliminar","deleteCancel":"Cancelar","deleted":"Solicitud eliminada","deleteFailed":"No se pudo eliminar la solicitud","loadFailed":"No se pudo cargar esta solicitud.","duplicated":"Solicitud duplicada","copySuffix":"copia","back":"Volver a las solicitudes","namePlaceholder":"Solicitud sin tÃtulo","descriptionPlaceholder":"Agrega una descripción breveâ¦","urlPlaceholder":"https://example.com/api","send":"Enviar","sending":"Enviandoâ¦","save":"Guardar","saving":"Guardandoâ¦","saved":"Solicitud guardada","saveFailed":"No se pudo guardar la solicitud","sendFailed":"No se pudo enviar la solicitud","copyCurl":"Copiar como cURL","copiedCurl":"cURL copiado","importCurl":"Importar cURL","unsaved":"Cambios sin guardar","savedBadge":"Guardado","tabParams":"Parámetros","tabHeaders":"Encabezados","tabBody":"Cuerpo","tabAuth":"Auth","tabSettings":"Configuración","kvKey":"Clave","kvValue":"Valor","kvHeader":"Encabezado","kvAddParam":"Agregar parámetro","kvAddHeader":"Agregar encabezado","kvEmptyParams":"No hay parámetros de consulta. Agrega uno o inclúyelos en la URL.","kvEmptyHeaders":"Aún no hay encabezados.","bodyNone":"Ninguno","bodyText":"Texto","bodyJson":"JSON","bodyFormData":"Datos de formulario","bodyPlaceholder":"{\\n \\"key\\": \\"value\\"\\n}","bodyTextPlaceholder":"Contenido de texto planoâ¦","bodyFormPlaceholder":"Agrega campos de formulario a continuación.","formatJson":"Formatear JSON","invalidJson":"El cuerpo no es un JSON válido.","formKey":"Clave","formValue":"Valor","formAddField":"Agregar campo","formEmptyFields":"No hay campos de formulario. Agrega un par clave-valor.","authNone":"Sin autenticación","authBearer":"Token Bearer","authBasic":"Autenticación básica","authApiKey":"Clave de API","authNoneHint":"Esta solicitud se enviará sin ninguna autenticación.","authToken":"Token","authUsername":"Nombre de usuario","authPassword":"Contraseña","authKey":"Clave","authValue":"Valor","authAddTo":"Agregar a","authAddToHeader":"Encabezado","authAddToQuery":"Parámetro de consulta","settingFollow":"Seguir redirecciones","settingFollowHint":"Seguir automáticamente los encabezados de ubicación 3xx.","settingVerifySsl":"Verificar certificado SSL","settingVerifySslHint":"Rechazar respuestas con un certificado TLS no válido.","responseTitle":"Respuesta","responseReady":"Listo para enviar","responseReadyHint":"Presiona Enviar para disparar la solicitud e inspeccionar la respuesta.","responseStatus":"Estado","responseTime":"Tiempo","responseSize":"Tamaño","respBody":"Cuerpo","respHeaders":"Encabezados","respPretty":"Formateado","respRaw":"Sin procesar","respCopyBody":"Copiar cuerpo","respCopied":"Copiado al portapapeles","respCopyFailed":"No se pudo copiar","respExpandTitle":"Valor del encabezado","respCopyValue":"C
66opiar valor","tabCurl":"cURL","variables":"Variables","variablesHintPre":"Define valores para","variablesHintPost":"marcadores de posición","variablePlaceholder":"Valorâ¦","variableSecret":"Marcar como secreto","variablePublic":"Marcar como público","curlAutoGenerated":"Generado automáticamente a partir del formulario. EdÃtalo manualmente para sobrescribirlo.","curlApply":"Aplicar al formulario","curlApplied":"cURL aplicado al formulario","importTitle":"Importar desde cURL","importSubtitle":"Pega un comando cURL para completar el método, la URL, los encabezados y el cuerpo.","importPlaceholder":"curl https://api.example.com/users \\\\\\n -H 'Authorization: Bearer abc123'","import":"Importar","importFailed":"No se pudo analizar ese comando cURL."},"scenarioFiles":{"breadcrumb":"Herramientas","title":"Recursos de prueba","description":"Archivos subidos disponibles para usar en pasos de escenario â scripts, datos de prueba fijos o documentos de referencia compartidos en todo el workspace.","newFile":"Nuevo recurso de prueba","searchPlaceholder":"Buscar recursos de pruebaâ¦","colName":"Nombre","colDescription":"Descripción","colCreatedBy":"Creado por","colCreated":"Creado","rowsFiles":"recursos","kpiTotal":"Total de recursos","actEdit":"Editar detalles","actDownload":"Descargar archivo","actCopyId":"Copiar ID","actDelete":"Eliminar","copiedId":"ID del recurso de prueba copiado","emptyTitle":"Aún no hay recursos de prueba","emptyMessage":"Sube un archivo para que esté disponible en los pasos de escenario. Se acepta cualquier tipo de archivo, hasta 10 MB.","emptyCta":"Nuevo recurso de prueba","noMatch":"Ningún recurso de prueba coincide con tu búsqueda.","resetFilters":"Restablecer filtros","deleteTitle":"Eliminar recurso de prueba","deleteMessage":"¿Eliminar â{name}â? Los escenarios que hacen referencia a este archivo ya no podrán acceder a él. Esta acción no se puede deshacer.","deleteConfirm":"Eliminar","deleteCancel":"Cancelar","deleted":"Recurso de prueba eliminado","deleteFailed":"No se pudo eliminar el recurso de prueba","loadFailed":"No se pudieron cargar los recursos de prueba","downloaded":"Archivo descargado","downloadFailed":"No se pudo descargar el archivo","createTitle":"Nuevo recurso de prueba","createSubtitle":"Sube un archivo para que esté disponible en los escenarios.","editTitle":"Editar recurso de prueba","editSubtitle":"Cambia el nombre o la descripción. El archivo subido no se puede reemplazar.","dropTitle":"Suelta un archivo o haz clic para explorar","dropHint":"Hasta 10 MB · cualquier tipo de archivo","labelName":"Nombre","placeholderName":"Nombre del recurso de prueba","labelDescription":"Descripción","placeholderDescription":"Descripción breve (opcional)","labelFileKey":"Clave del archivo","create":"Crear","save":"Guardar","cancel":"Cancelar","saving":"Guardandoâ¦","created":"Recurso de prueba creado","updated":"Recurso de prueba actualizado","saveFailed":"No se pudo guardar el recurso de prueba","uploadFailed":"Error al subir el archivo","nameRequired":"Se requiere un nombre.","fileRequired":"Elige un archivo para subir."}},"automation":{"overview":{"breadcrumb":"Automatización","title":"Planes","description":"Agrupa los tests en directorios, o ejecútalos en planes. Prográmalos, ejecútalos en paralelo o actÃvalos desde CI.","newPlan":"Nuevo plan","newDirectory":"Nuevo directorio","searchPlaceholder":"Buscar planes y directoriosâ¦","colType":"Tipo","colName":"Nombre","colCreated":"Creado","colItems":"Elementos","kpiDirectories":"Directorios","kpiDirectoriesSub":"{count, plural, one {en # grupo} other {en # grupos}}","kpiPlans":"Planes","kpiPlansSub":"Se ejecuta en Chromium · Firefox · WebKit","rowsPlans":"planes","itemsCount":"{count, plural, =0 {vacÃo} one {# elemento} other {# elementos}}","actRun":"Ejecutar","actStop":"Detener","actResults":"Resultados del plan","actEdit":"Editar","actDelete":"Eliminar","actAddPlan":"Agregar plan","actAddDir":"Agregar subdirectorio","actRename":"Renombrar","actMove":"Mover","dirPickerLabel":"Directorio","dirMoveHere":"Mover aquÃ","dirNewHere":"+ Nuevo directorio aquÃ","dirSearchPlaceholder":"Buscar directoriosâ¦","dirRoot":"Todos los planes","running":"Ejecución del plan iniciada","runFailed":"No se pudo iniciar la ejecución del plan","stopped":"Plan detenido","stopFailed":"No se pudo detener el plan","emptyTitle":"Aún no hay planes","emptyMessage":"Crea un plan para ejecutar un grupo de tests juntos, bajo demanda o según un horario.","emptyTour":"Haz un recorrido rápido","emptyCta":"Nuevo plan","
66noMatch":"Ningún plan coincide con tu búsqueda.","resetSearch":"Borrar búsqueda","dirTitle":"Nuevo directorio","dirTitleSub":"Creado dentro de {parent}.","dirTitleRoot":"Aparece en la parte superior de tu lista de planes.","dirNamePlaceholder":"Nombre del directorio","dirCreate":"Crear directorio","renameTitle":"Renombrar directorio","rename":"Renombrar","cancel":"Cancelar","deleteTitlePlan":"Eliminar plan","deleteMessagePlan":"¿Eliminar â{name}â? Se conserva su historial de ejecuciones, pero el plan y su horario se eliminan. Esta acción no se puede deshacer.","deleteTitleDir":"Eliminar directorio","deleteMessageDirEmpty":"¿Eliminar â{name}â? Esta acción no se puede deshacer.","deleteMessageDirNotEmpty":"¿Eliminar â{name}â? Los planes que contiene se mueven primero al directorio superior. Esta acción no se puede deshacer.","deleteConfirm":"Eliminar","deleted":"Eliminado","deleteFailed":"Error al eliminar","dirCreated":"Directorio creado","renamed":"Directorio renombrado","saveFailed":"Error al guardar","dirDuplicateName":"Ya existe un directorio con este nombre. Prueba con otro.","move":"Mover","moveDuplicateName":"Ya existe un elemento con este nombre en la carpeta de destino.","moveFailed":"No se pudo mover el elemento","colUpdated":"Actualizado"},"wizard":{"title":"Crear plan","titleIn":"Crear plan en {parent}","trackerAsset":"Seleccionar tipo de activo","trackerCreate":"Crear","trackerReview":"Revisar y enviar","innerSteps":"Pasos internos","stepCounter":"Paso {n}/{total}","reviewSubmit":"Revisar y enviar","notSet":"Sin definir","step1":"Detalles del plan","step1sub":"Nombre y opciones","step2":"Seleccionar tests","step2sub":"Elige de tu árbol","step3":"Ordenar tests","step3sub":"Establece el orden de ejecución","hintStep":"Paso {n} de {total}","labelName":"Nombre del plan","placeholderName":"Introduce el nombre del plan","sectionSchedule":"Horario","scheduleToggle":"Ejecución programada","frequency":"Frecuencia","freqHourly":"Cada hora","freqDaily":"Diaria","freqWeekly":"Semanal","at":"A las","on":"El","freqMonthly":"Mensual","dayOfMonth":"DÃa del mes","useCustomCron":"Usar cron personalizado","customCronHint":"Avanzado: crea directamente la expresión cron.","cronUnschedulable":"Esta programación no es una expresión cron válida, por lo que nunca se ejecutarÃa. CorrÃgela antes de guardar.","cronStoredInvalid":"La programación guardada no es una expresión cron válida y nunca se ejecuta. Elige una programación para corregirla.","cronEvery":"Cada","cronIn":"en","cronOn":"el","cronAnd":"y","cronAt":"a las","cronMinuteSep":":","cronMinutesSuffix":"minuto(s)","cronPeriodYear":"año","cronPeriodMonth":"mes","cronPeriodWeek":"semana","cronPeriodDay":"dÃa","cronPeriodHour":"hora","cronPeriodMinute":"minuto","cronEveryMonth":"cada mes","cronEveryMonthDay":"cada dÃa del mes","cronMonthDayShort":"dÃa del mes","cronEveryWeekDay":"cada dÃa de la semana","cronWeekDayShort":"dÃa de la semana","cronEveryHour":"cada hora","cronEveryMinute":"cada minuto","cronEveryShort":"cada","cronEveryN":"cada {n}","cronClear":"Borrar","cronInvalid":"Expresión cron no válida","cronPeriodAria":"Intervalo de repetición","cronMonthsAria":"Meses","cronMonthDaysAria":"DÃas del mes","cronWeekDaysAria":"DÃas de la semana","cronHoursAria":"Horas","cronMinutesAria":"Minutos","monthJan":"enero","monthFeb":"febrero","monthMar":"marzo","monthApr":"abril","monthMay":"mayo","monthJun":"junio","monthJul":"julio","monthAug":"agosto","monthSep":"septiembre","monthOct":"octubre","monthNov":"noviembre","monthDec":"diciembre","sectionTestOptions":"Opciones de test","browsers":"Navegadores","browsersPlaceholder":"Seleccionar navegadores","parallel":"Ejecución paralela","retryToggle":"Reintentar tests fallidos","retryLabel":"Intentos de reintento","sectionReporting":"Informes","recordVideo":"Incluir video en los informes","saveArtifacts":"Guardar detalles del paso en caso de fallo","sectionProfiles":"Perfiles de configuración","profilesHint":"Aplica configuraciones de ejecución guardadas al momento de ejecutar.","profilesPlaceholder":"Selecciona perfiles de configuración para el plan","profilesEmpty":"Aún no hay perfiles de configuración.","sectionNotifications":"Notificaciones","notifyPlaceholder":"Dirección de correo electrónico","notifyOnFailure":"En caso de fallo","notifyAlways":"Siempre","notifyAdd":"Agregar","testSearchPlaceholder":"Buscar testsâ¦","selectedCount":"{count} seleccionados","noTests":"No se encontraron tests en este workspace.","selectTag":"Seleccionar una etiqueta","allTags":"Todas las etiquetas","colName":"Nombre","treeShowing":"Mostrando {selected} de {total} tests · {groups} grupos","groupSelectAria":"Seleccionar todos los tests de {name}","orderKickerStep":"Paso 03","orderKickerTests":"Ordenar tests","orderTitle":"Establecer el orden de ejecución","orderHint":"Los tests se ejecutan secuencialmente en este orden (salvo que la ejecución paralela esté activada). Arrastra para reordenar â o usa las flechas.","orderSelectedTests":"Tests seleccionados","orderEmpty":"Selecciona tests en el paso anterior primero.","sumName":"Nombre","sumTests":"Tests","sumBrowsers":"Navegadores","sumSchedule":"Horario","none":"Ninguno","off":"Desactivado","weekdaySun":"Domingo","weekdayMon":"Lunes","weekdayTue":"Martes","weekdayWed":"Miércoles","weekdayThu":"Jueves","weekdayFri":"Viernes","weekdaySat":"Sábado","browserChrome":"Chrome","browserFirefox":"Firefox","browserSafari":"Safari","browserEdge":"Edge","nameRequired":"Se requiere un n
66ombre para el plan.","testsRequired":"Selecciona al menos un test.","created":"Plan creado","saveFailed":"No se pudo crear el plan","duplicateName":"Ya existe un plan con este nombre. Prueba con otro.","editTitle":"Editar plan","editLoadingTitle":"Cargando planâ¦","updateBtn":"Actualizar plan","updated":"Plan actualizado","updateFailed":"No se pudo actualizar el plan","step4":"Fuente de datos","step4sub":"Vincular a tests","dsTitle":"Vincular fuentes de datos a los tests","dsIntro":"Opcional. Asigna una fuente de datos a cualquier test que deba ejecutarse con parámetros. Los tests sin vinculación se ejecutan con sus valores predeterminados.","dsColTests":"Tests","dsColSources":"Fuentes de datos","dsColBindings":"Vinculaciones actuales","dsSearchTests":"Buscar testsâ¦","dsSearchSources":"Buscar fuentes de datosâ¦","dsSearchBindings":"Buscar vinculacionesâ¦","dsNoTests":"Ningún test seleccionado","dsNoSources":"Sin fuentes de datos","dsNoBindings":"Aún no hay vinculaciones","dsBind":"Vincular selección","dsBound":"Vinculado","dsUnbind":"Quitar vinculación","sumDataSources":"Fuentes de datos"},"results":{"breadcrumb":"Automatización","title":"Resultados del plan","description":"Ejecuciones de tus planes: desglose de aciertos/fallos por ejecución, y acceso al informe completo de cualquier test.","searchPlaceholder":"Buscar por nombre de plan o ejecutorâ¦","filter":"Filtrar","colPlan":"Ejecución del plan","colExecutor":"Ejecutor","colStatus":"Estado","colDuration":"Duración","colStarted":"Iniciado","rowsRuns":"ejecuciones","passRate":"Tasa de éxito","kpiEyebrow":"Ejecuciones exitosas","ofRuns":"de {total} ejecuciones","status_passed":"Aprobado","status_failed":"Fallido","status_running":"En ejecución","status_stopped":"Detenido","status_pending":"Pendiente","status_error":"Error","testsCount":"{count, plural, one {# test} other {# tests}}","passFail":"{passed} aprobados · {failed} fallidos","emptyTitle":"Aún no hay ejecuciones de plan","emptyMessage":"Ejecuta un plan desde la pantalla de Planes y sus resultados aparecerán aquÃ.","noMatch":"Ninguna ejecución de plan coincide con tus filtros.","resetFilters":"Restablecer filtros","actView":"Ver","actCopyId":"Copiar ID","actStop":"Detener ejecución","actRerunAll":"Volver a ejecutar todo","actRerunFailures":"Volver a ejecutar fallos","actRerunErrors":"Volver a ejecutar errores","actionsLabel":"Acciones","nPassed":"{count} superadas","nFailed":"{count} fallidas","triggerScheduled":"Programado","triggerManual":"Manual","stopped":"Detención solicitada","stopFailed":"No se pudo detener la ejecución","rerunStarted":"Reejecución del plan iniciada","rerunFailed":"No se pudo iniciar la reejecución","copiedId":"ID de ejecución copiado","tabOverview":"Resumen","tabTests":"Tests","tabLogs":"Registros","logsTruncated":"Se muestran las primeras 20.000 lÃneas de esta ejecución.","logsFailed":"No se pudieron cargar los registros de esta ejecución.","panelCrumb":"Ejecución del plan","mTests":"Tests","mPassed":"Aprobados","mFailed":"Fallidos","detailsTitle":"Detalles de la ejecución","dPlanId":"ID de ejecución","dBy":"Iniciado por","dStarted":"Iniciado","dEnded":"Finalizado","dDuration":"Duración","noLogs":"No se capturaron registros para esta ejecución.","testsEmpty":"No hay ejecuciones de tests en esta ejecución del plan.","openReport":"Abrir informe","chipAll":"Todos","testsPassed":"tests aprobados","testDistribution":"Distribución de tests","testExecutions":"Ejecuciones de tests","testsSummary":"{total} tests · {passed} aprobados · {failed} fallidos","filterAll":"Todos","filterFailed":"Fallidos","copyPublicLink":"Copiar enlace público","linkCopied":"Enlace público copiado","publicLinkError":"No se pudo crear el enlace público","openInNewTab":"Abrir en una pestaña nueva","copyLink":"Copiar enlace","newTab":"Pestaña nueva","rerunShort":"Reejecutar","retryFailed":"Reintentar fallidos","share":"Compartir"},"doc":{"breadcrumb":"Automatización","title":"Automatización","lead":"Los planes agrupan tests para su ejecución por lotes: bajo demanda, según un horario o en CI/CD, y Resultados del plan informa cada ejecución.","onThisPage":"En esta página","copy":"Copiar","copied":"Copiado","calloutInfo":"Nota","calloutTip":"Consejo","calloutWarning":"Importante","cta":"Nuevo plan","updated":"Actualizado en julio de 2026"}}
66,"auth":{"common":{"tagline":"Testing de software nativo de IA","footer":{"copyright":"© 2026 Text2Test","privacy":"Privacidad","terms":"Términos","help":"Ayuda"}},"login":{"heading":"Bienvenido de nuevo","subheading":"Ejecutemos algunos tests. Inicia sesión en tu workspace de Text2Test.","social":{"google":"Iniciar sesión con Google","microsoft":"Iniciar sesión con Microsoft","github":"Iniciar sesión con GitHub"},"or":"O","emailLabel":"Correo laboral","emailPlaceholder":"[email protected]","passwordLabel":"Contraseña","passwordPlaceholder":"Tu contraseña","forgotPassword":"¿Olvidaste tu contraseña?","showPassword":"Mostrar contraseña","hidePassword":"Ocultar contraseña","signIn":"Iniciar sesión","newHere":"¿Nuevo por aquÃ?","createAccount":"Crear una cuenta","registeredToast":{"title":"¡Cuenta creada!","description":"Tu workspace está listo. Inicia sesión para comenzar."},"headingSignup":"Crea tu cuenta","subheadingMobile":"Inicia sesión para seguir tus ejecuciones, detectar fallos y revisar informes desde cualquier lugar.","subheadingSignup":"Obtén un workspace y empieza a ejecutar tests escritos por IA en minutos.","labels":{"username":"Nombre de usuario","email":"Correo laboral","password":"Contraseña"},"placeholders":{"username":"Nombre de usuario","email":"[email protected]","password":"Contraseña","passwordSignup":"Al menos 8 caracteres"},"forgotPasswordShort":"¿Olvidaste tu contraseña?","noAccount":"¿No tienes una cuenta?","registerHere":"RegÃstrate aquÃ","hasAccount":"¿Ya tienes una cuenta?","signingIn":"Iniciando sesiónâ¦","togglePasswordShow":"Mostrar contraseña","togglePasswordHide":"Ocultar contraseña","continueGoogle":"Continuar con Google","continueMicrosoft":"Continuar con Microsoft","continueGithub":"Continuar con GitHub","oauthSoon":"El inicio de sesión con OAuth estará disponible pronto","terms":"Al crear una cuenta, aceptas nuestros Términos de uso y nuestra PolÃtica de privacidad.","tagline":"Testing de software nativo de IA","errors":{"loginFailed":"Error al iniciar sesión","incorrectCredentials":"Una de tus credenciales es incorrecta. Verifica e inténtalo de nuevo.","network":"Error de red: no se pudo conectar con el servidor. Verifica tu conexión.","unexpected":"Error inesperado: inténtalo de nuevo más tarde.","socialFailed":"Error al iniciar sesión","socialFailedDescription":"No se pudo completar el inicio de sesión. Inténtalo de nuevo."}},"register":{"steps":{"account":"Cuenta","verified":"Verificado","workspace":"Workspace"},"step1":{"heading":"Crea tu cuenta","subheading":"Crea un workspace y ejecuta tu primer test en minutos.","social":{"google":"Continuar con Google","microsoft":"Continuar con Microsoft","github":"Continuar con GitHub"},"or":"O","emailLabel":"Correo laboral","emailPlaceholder":"[email protected]","passwordLabel":"Contraseña","passwordPlaceholder":"Al menos 8 caracteres","confirmPasswordLabel":"Confirmar contraseña","confirmPasswordPlaceholder":"Vuelve a introducir tu contraseña","showPassword":"Mostrar contraseña","hidePassword":"Ocultar contraseña","submit":"Crear cuenta","termsAgreement":"Al crear una cuenta, aceptas nuestros <terms>Términos de uso</terms> y nuestra <privacy>PolÃtica de privacidad</privacy>.","haveAccount":"¿Ya tienes una cuenta?","signIn":"Iniciar sesión"},"step2":{"heading":"Revisa tu bandeja de entrada","sentTo":"Acabamos de enviar un enlace de activación a:","instructions":"Haz clic en el enlace para activar tu cuenta. Una vez activada, te pediremos el nombre de tu empresa y equipo para configurar tu workspace.","didntGet":"¿No lo recibiste?","resend":"Reenviar enlace","resendIn":"Reenviar en {seconds}s","maxReached":"Se alcanzó el lÃmite de reenvÃos","useDifferent":"Usar un correo diferente"},"step3":{"heading":"Configura tu workspace","subheading":"Dale un nombre a tu workspace â asà es como se organizarán tus tests, ejecuciones e informes.","companyLabel":"Nombre del proyecto","companyPlaceholder":"p. ej. Mi App","companyHelp":"Se usa como la identidad de tu proyecto. Puedes cambiarlo más adelante.","projectNameTaken":"Este nombre de proyecto ya está en uso. Elige otro nombre.","teamLabel":"Nombre del equipo","teamPlaceholder":"p. ej. Equipo QA","teamHelp":"Primer equipo en tu workspace. Podrás invitar a compañeros de equipo después.","submit":"Crear workspace y continuar"},"toasts":{"socialFailed":"Error en el registro","socialFailedDescription":"No se pudo completar el registro. Inténtalo de nuevo.","requiredTitle":"Obligatorio","step1Required":"Ingresa tu correo electrónico y contraseña.","passwordMismatchTitle":"Las contraseñas no coinciden","passwordMismatch":"Las contraseñas introducidas no coinciden.","registrationFailed":"Error en el registro","registrationFailedDescription":"Ocurrió un error.","emailAlreadyRegistered":"Este correo ya está registrado. Intenta iniciar sesión en su lugar.","resentTitle":"¡Enviado!","resentDescription":"Correo de verificación reenviado.","errorTitle":"Error","resendError":"Algo salió mal.","step3Required":"Completa ambos campos."}},"reset":{"form":{"heading":"¿Olvidaste tu contraseña?","subheading":"Ingresa tu correo electrónico para recibir un enlace de restablecimiento de contraseña.","emailLabel":"Dirección de correo electrónico","emailPlaceholder":"Ingresa tu correo electrónico","submit":"Enviar enlace de restablecimiento","backToLogin":"â Volver al inicio de sesión"},"sent":{"heading":"Restablecimiento de contraseña","sentTo":"Hemos enviado un correo de restablecimiento de contraseña a","instructions":"Revisa tu bandeja de entrada y sigue las instrucciones para restablecer tu contraseña.","didntGet":"¿No lo recibiste?","resend":"Reenviar enlace","resendIn":"Reenviar en {seconds}s","maxReached":"Se alcanzó el lÃmite de reenvÃos","resentTitle":"Enlace de restablecimiento enviado","resentDescription":"Hemos enviado otro correo de restablecimiento de contraseña.","backToSignIn":"Volver al inicio de sesión"}
66,"errors":{"invalidEmailTitle":"Advertencia","invalidEmail":"Ingresa un correo electrónico válido","failed":"No se pudo enviar el enlace de restablecimiento","tooManyTitle":"Demasiadas solicitudes","tooMany":"Has solicitado demasiados enlaces. Espera un poco e inténtalo de nuevo.","network":"Error de red: no se pudo conectar con el servidor. Verifica tu conexión.","unexpected":"Error inesperado: inténtalo de nuevo más tarde."}},"callback":{"signingIn":"Iniciando sesiónâ¦","backToLogin":"Volver al inicio de sesión","failedToast":"Error al iniciar sesión","genericError":"No se pudo completar el inicio de sesión."},"socialRelay":{"expired":"Este enlace de inicio de sesión ha caducado. Inténtalo de nuevo.","backToLogin":"Volver al inicio de sesión"},"acceptInvite":{"pageTitle":"Aceptar invitación","heading":"Estás invitado","subheading":"Configura tu cuenta para unirte a {workspace}.","roleNote":"Te unirás como {role}.","role":{"ADMIN":"administrador","USER":"miembro","VIEWER":"visualizador"},"labels":{"email":"Correo electrónico","firstName":"Nombre","lastName":"Apellido","password":"Contraseña","confirmPassword":"Confirmar contraseña"},"placeholders":{"firstName":"Jane","lastName":"Doe","password":"Crea una contraseña","confirmPassword":"Vuelve a ingresar tu contraseña"},"accept":"Aceptar y unirse","accepting":"Configurandoâ¦","togglePasswordShow":"Mostrar contraseña","togglePasswordHide":"Ocultar contraseña","successToast":"¡Bienvenido a bordo! Inicia sesión para comenzar.","backToLogin":"Volver al inicio de sesión","loading":"Verificando tu invitaciónâ¦","invalidHeading":"Invitación no disponible","invalidBody":"Este enlace de invitación no es válido, ha sido revocado o ha expirado. Pide a un administrador que envÃe uno nuevo.","missingToken":"A este enlace le falta su token de invitación.","validation":{"required":"Este campo es obligatorio.","passwordMin":"Usa al menos 8 caracteres.","passwordMismatch":"Las contraseñas no coinciden."},"errors":{"failed":"No se pudo aceptar la invitación","network":"Error de red: no se pudo conectar con el servidor. Verifica tu conexión.","unexpected":"Error inesperado: inténtalo de nuevo más tarde."}}},"publicShare":{"pageTitle":"Informe compartido","loading":"Cargando informe compartidoâ¦","notFound":"Enlace expirado o no encontrado","notFoundDesc":"Este enlace compartido puede haber expirado o haber sido revocado.","expiresOn":"Expira el {date}","noData":"No hay datos de informe disponibles","executionReport":"Informe de ejecución de test","planReport":"Informe de ejecución de plan","totalSteps":"Total de pasos","totalTests":"Total de tests","passed":"Aprobado","failed":"Fallido","environment":"Entorno","duration":"Duración","createdBy":"Creado por","started":"Iniciado","ended":"Finalizado","skipped":"Omitido","reports":"Informes","artifactsAvailable":"Artefactos disponibles","timeline":"LÃnea de tiempo","running":"En ejecución","pending":"Pendiente","passRate":"Tasa de éxito","testExecutions":"Ejecuciones de tests","analyticsReport":"Resumen de analÃticas","totalExecutions":"Total de ejecuciones","successRate":"Tasa de éxito"},"publicRunShare":{"pageTitle":"Resultado de test compartido","topbarTitle":"Resultado de test compartido","publicLink":"Enlace público","sharedBy":"Compartido por {name}","expiresIn":"{count, plural, one {Caduca en # dÃa} other {Caduca en # dÃas}}","expiresToday":"Caduca hoy","signIn":"Iniciar sesión","loading":"Cargando el informe compartidoâ¦","testRun":"Ejecución del test","outcomeCounts":"{passed} superados · {failed} fallidos · {skipped} omitidos","passRate":"Tasa de éxito","stepOutcomes":"Resultados de los pasos","ranSkipped":"{ran} ejecutados · {skipped} omitidos tras el fallo","failedAt":"Falló en","inFailedStep":"{duration} solo en el paso fallido","target":"Objetivo","duration":"Duración","replay":"Replay de la sesión","syncedToSteps":"sincronizado con los pasos","replayUnavailable":"Esta grabación no está disponible. Es posible que el video se haya eliminado o no se haya capturado para esta ejecución.","failureSnapshot":"Resumen del fallo","failureStepMeta":"Paso {step} - {duration}","timeline":"CronologÃa de pasos","filter_all":"Todos","filter_failed":"Fallidos","filter_skipped":"Omitidos","noSteps":"No hay pasos registrados","noStepsMatch":"Ningún paso coincide con este filtro","noScreenshot":"No se capturó ninguna captura de pantalla","console":"Consola","consoleMeta":"{errors, plural, one {# error} other {# errores}}
66 · {warnings, plural, one {# advertencia} other {# advertencias}}","consoleUnavailable":"No se capturaron logs de consola para esta ejecución.","network":"Red","networkMeta":"{requests, plural, one {# solicitud} other {# solicitudes}} · {failed} fallidas","networkUnavailable":"La captura de red no está disponible para esta ejecución.","runDetails":"Detalles de la ejecución","workspace":"Espacio de trabajo","triggeredBy":"Iniciado por","trigger":"Disparador","targetUrl":"URL de destino","environment":"Entorno","started":"Inicio","ended":"Fin","testId":"ID del test","footerSnapshot":"Generado por Text2Test · instantánea de solo lectura del {date}","reportId":"ID del informe","reportAbuse":"Denunciar abuso","expiredTitle":"Este resultado de test compartido ha caducado","expiredWindow":"El enlace que abriste estaba configurado para caducar después de {days, plural, one {# dÃa} other {# dÃas}}. Pide al remitente que regenere el enlace, o inicia sesión si tienes acceso al espacio de trabajo.","expiredWindowUnknown":"El enlace que abriste ha caducado o ya no está disponible. Pide al remitente que regenere el enlace, o inicia sesión si tienes acceso al espacio de trabajo.","requestNewLink":"Solicitar un nuevo enlace","requestNewLinkHint":"Pide a la persona que compartió esta ejecución que genere un nuevo enlace.","workspaceLink":"Solo el espacio de trabajo","viewInResults":"Abrir en resultados de tests","runLoadErrorTitle":"No se pudo cargar esta ejecución de test","runLoadError":"Es posible que la ejecución se haya eliminado o que pertenezca a un equipo que no está activo actualmente. Cambia al equipo correcto e inténtalo de nuevo.","wrongTeamTitle":"Esta ejecución pertenece a otro equipo","wrongTeamMessage":"La ejecución que abriste pertenece al equipo {team}, que no es tu equipo activo. Cambia a ese equipo para ver el informe.","switchTeamAction":"Cambiar a {team} y abrir","wrongCompanyTitle":"Esta ejecución pertenece a otro espacio de trabajo","wrongCompanyMessage":"La ejecución que abriste pertenece al equipo {team} del espacio de trabajo {company}. Cambia a ese espacio para ver el informe.","switchCompanyAction":"Cambiar a {company} y abrir","signInAction":"Iniciar sesión en Text2Test"},"publicPlanShare":{"pageTitle":"Ejecución de plan compartida","topbarTitle":"Ejecución de plan compartida","noData":"No hay datos de informe de plan disponibles","untitledTest":"Test sin tÃtulo","unknownError":"Error desconocido","planRun":"Ejecución del plan","passFailCounts":"{passed} aprobados · {failed} fallidos","passRate":"Tasa de éxito","failed":"Fallido","duration":"Duración","avgPerTest":"Prom. / test","dPlanId":"ID del plan","dWorkspace":"Espacio de trabajo","dTriggeredBy":"Iniciado por","dTrigger":"Disparador","dStarted":"Inicio","dEnded":"Fin","dEnvironment":"Entorno","dDuration":"Duración","dSharedBy":"Compartido por","dExpires":"Caduca","replayUnavailable":"Esta grabación no está disponible. Es posible que el video se haya eliminado o no se haya capturado para esta ejecución.","testsInRun":"Tests de esta ejecución","noTestsMatch":"Ningún test coincide con este filtro","topFailureReasons":"Principales causas de fallo","noFailures":"Sin fallos en esta ejecución","runEnvironment":"Entorno de ejecución","expiresToday":"Caduca hoy","expires
66In":"{count, plural, one {Caduca en # dÃa} other {Caduca en # dÃas}}","backToPlanRun":"Volver a la ejecución del plan","testOrdinal":"test n.º {n}","miniSteps":"Pasos","miniPassed":"Aprobados","miniFailed":"Fallidos","drillOverview":"Resumen","drillConsole":"Consola","drillNetwork":"Red","drillSteps":"Pasos","stepTimeline":"CronologÃa de pasos","ranSkipped":"{ran} ejecutados · {skipped} omitidos","noSteps":"No se registraron pasos","footerSnapshot":"Generado por Text2Test · instantánea de solo lectura del {date}","reportId":"ID del informe","reportAbuse":"Reportar abuso","sharedBy":"Compartido por {name}","publicLink":"Enlace público","fullReportBadge":"Vista de informe completo","signIn":"Iniciar sesión","tabAll":"Todos","tabFailed":"Fallidos","tabPassed":"Aprobados"}}`)},Xse={layout:{errorBoundary:{title:`Une erreur s'est produite`,desc:`Une erreur inattendue s'est produite lors de l'affichage de cette page. Recharger la page résout généralement le problème ; si cela persiste, contactez le support.`,reload:`Recharger la page`,home:`Aller au tableau de bord`},appShell:{skipToContent:`Passer au contenu`,sidebarLabel:`Navigation principale`},appSidebar:{groupTestpit:`Testpit`,groupWebTest:`Test Web`,groupMobileTest:`Test mobile`,groupAutomation:`Automatisation`,groupTools:`Outils`,groupSettings:`Paramètres`,badgeNew:`Nouveau`,badgeEarlyAccess:`Accès anticipé`,navAnalytics:`Analytique`,navMyTests:`Mes tests`,navMyMobileTests:`Mes tests mobiles`,navMyPlans:`Mes plans`,navTestResults:`Résultats des tests`,navDoc:`Guide pratique`,navGetExtension:`Obtenir l'extension`,navPlanResults:`Résultats du plan`,navDataSources:`Sources de données`,navHttpRequest:`Requête HTTP`,navElementTags:`Tags d'élément`,navScenarioFiles:`Ressources de test`,navUsage:`Facturation & plan`,navPackages:`Packages`,navSettingProfiles:`Profils de paramètres`,navApiKeys:`Clés API`,navVault:`Profils de coffre-fort`,navTestTags:`Tags de test`,navMcpServers:`Serveurs MCP`},appTopbar:{openMenu:`Ouvrir le menu`},workspaceSwitcher:{teamSuffix:`Ãquipe`,dropdownTitle:`Changer d'espace de travail`,dropdownSubtitle:`Choisissez une entreprise, puis une équipe`,searchPlaceholder:`Rechercher des espaces de travailâ¦`,noMatch:`Aucun espace de travail ne correspond à "{query}".`,teamCount:`{count, plural, one {# équipe} other {# équipes}}`,newTeam:`Nouvelle équipeâ¦`,newTeamPlaceholder:`Nom de l'équipeâ¦`,addMemberAction:`Ajouter un membre`,createWorkspaceAction:`Créer un espace de travail`,addMemberToTeam:`Ajouter un membre à l'équipe`,teamCreated:`Ãquipe {name} créée dans {workspace}`,teamCreateFailed:`Impossible de créer l'équipe.`,ownCompanyBadge:`Votre entreprise`,loadingTeams:`Chargement des équipesâ¦`,noTeams:`Aucune équipe dans cette entreprise.`,confirmSwitch:`Changer d'espace de travail`,addMember:{title:`Ajouter un membre`,subtitle:`Invitez des personnes à {workspace}. Elles recevront une invitation par e-mail - séparez les adresses par Entrée ou une virgule.`,emailsLabel:`Adresses e-mail`,emailPlaceholder:`[email protected]`,emailPlaceholderMore:`Ajouter un autreâ¦`,invalidTooltip:`Pas un e-mail valide`,removeEmail:`Supprimer l'e-mail`,invalidHint:`Certaines adresses semblent invalides - elles sont surlignées en rouge.`,teamLabel:`Ajouter à l'équipe`,workspaceLabel:`Espace de travail`,roleLabel:`Rôle`,role:{ADMIN:{label:`Administrateur`,desc:`Accès complet - gérer les membres, la facturation et chaque test.`},USER:{label:`Membre`,desc:`Peut créer, modifier et exécuter des tests, des plans et des sources de données.`}},hintEmpty:`Ajouter au moins un e-mail`,hintReady:`{count, plural, one {# invitation prête} other {# invitations prêtes}}`,cancel:`Annuler`,send:`{count, plural, one {Envoyer une invitation} other {Envoyer des invitations}}`,inviteSuccess:`{count, plural, one {# invitation envoyée} other {# invitations envoyées}}.`,inviteSkipped:`{count, plural, one {# adresse ignorée} other {# adresses ignorées}} - déjà membre ou invité.`,inviteExists:`{count, plural, one {# adresse a déjà un compte} other {# adresses ont déjà un compte}} - invitez une autre adresse e-mail.`,inviteError:`Impossible d'envoyer les invitations.`}
66,createWorkspace:{title:`Créer un espace de travail`,kickerTitle:`Commencer un nouvel espace de travail`,kickerHelp:`Un espace de travail regroupe vos équipes, tests et facturation sous une seule entreprise. Vous serez le propriétaire et pourrez inviter des personnes une fois qu'il sera configuré.`,nameLabel:`Nom de l'espace de travail`,namePlaceholder:`ex. Acme Inc`,urlLabel:`URL de l'espace de travail`,urlHint:`- comment les coéquipiers y accèdent`,urlPlaceholder:`acme`,teamLabel:`Première équipe`,teamHint:`- vous pouvez en ajouter plus tard`,teamPlaceholder:`Ãquipe QA`,teamHelp:`Les équipes gardent les tests, plans et membres organisés à l'intérieur de l'espace de travail.`,footerHint:`Appuyez sur âµ pour créer`,cancel:`Annuler`,create:`Créer un espace de travail`,comingSoon:`La création d'espace de travail n'est pas encore disponible - "{name}" n'a pas été créé.`}},userMenu:{profile:`Profil`,account:`Compte`,billingPlan:`Facturation & plan`,help:`Aide`,supportEmail:`[email protected]`,settings:`Paramètres`,logout:`Se déconnecter`,signOut:`Se déconnecter`,ownerBadge:`Propriétaire`,security:`Sécurité`},themeToggle:{label:`Thème`,system:`Système`,light:`Clair`,dark:`Sombre`},mobileTabBar:{label:`Navigation principale`,home:`Accueil`,tests:`Tests`,plans:`Plans`,profile:`Profil`},mobileAppBar:{back:`Retour`,defaultTitle:`Text2Test`},workspaceSheet:{title:`Changer d'espace de travail`,subtitle:`Choisissez une entreprise, puis une équipe`,searchPlaceholder:`Rechercher des espaces de travailâ¦`,noMatch:`Aucun espace de travail trouvé`,teamCount:`{count, plural, one {# équipe} other {# équipes}}`,addMember:`Ajouter un membre`,createWorkspace:`Créer un espace de travail`,comingSoon:`à venir bientôt`},welcomeModal:{title:`Text2Test sur mobile`,subtitle:`Un compagnon ciblé pour l'application web. Depuis votre téléphone, vous pouvez :`,viewTestpitTitle:`Voir Testpit`,viewTestpitDesc:`Aperçu de votre compte, couverture et analyses d'exécution.`,runTestsTitle:`Exécuter des tests existants`,runTestsDesc:`Parcourez vos cas de test web et mobile et lancez une exécution.`,viewReportsTitle:`Voir les rapports de test et de plan`,viewReportsDesc:`Ãtapes, console, réseau et lecture de session en déplacement.`,note:`La création de nouveaux tests et l'édition des invites restent sur l'application web.`,cta:`Compris`},productTour:{title:`Text2Test en action`,description:`Une visite interactive de Text2Test.`}},shell:{shareSheet:{title:`Partager le rapport`,publicLink:`Copier le lien public`,publicLinkDesc:`Quiconque avec le lien · expire dans 7 jours`,publicCopied:`Lien public copié`,publicLinkError:`Impossible de créer un lien public`,workspaceOnly:`Espace de travail uniquement`,workspaceOnlyDesc:`Membres de {name}`,workspaceCopied:`Lien d'espace de travail copié`,downloadPdf:`Télécharger le PDF`,exportingPdf:`Exportation du PDFâ¦`},runActionsSheet:{titleTest:`Actions d'exécution de test`,titlePlan:`Actions d'exécution de plan`,rerunTest:`Réexécuter le test`,rerunPlan:`Réexécuter le plan`,rerunFailed:`Réexécuter uniquement les échecs`,failedTests:`{count} tests échoués`,copyLink:`Copier le lien public`,linkCopied:`Lien public copié`,downloadReport:`Télécharger le rapport`,downloadLogs:`Télécharger les journaux`,downloadingReport:`Téléchargement du rapportâ¦`,downloadingLogs:`Téléchargement des journauxâ¦`},liveRun:{runningTest:`Exécution du test`,runningPlan:`Exécution du plan`,stepOf:`Ãtape {current} sur {total}`,runningTestOf:`Exécution du test {current} sur {total}`,testFailed:`Test échoué`,testPassed:`Test réussi`,planComplete:`Plan complet`,passedCount:`{count} réussis`,failedCount:`{count} échoués`,skippedCount:`{count} ignorés`,stopRun:`Arrêter l'exécution`,done:`Fait`,viewReport:`Voir le rapport`,elapsed:`Ãcoulé`,pending:`En attente`,passed:`réussi`,failed:`échoué`},deleteDialog:{cancel:`Annuler`,typeLabel:`Tapez <code>Supprimer</code> pour confirmer`,typeWord:`Supprimer`,deleting:`Suppressionâ¦`}},pages:JSON.parse(`{"usage":{"title":"Facturation & plan","subtitle":"Votre abonnement, votre utilisation, votre moyen de paiement et vos factures.","noPackage":"Aucun plan actif","notPayAsYouGoTitle":"Aucun plan à la carte","notPayAsYouGoBody":"L'utilisation et le quota de jetons sont affichés pour les abonnements à la carte. Votre espace de travail est sur un plan différent.","stoppedBanner":"Votre quota de jetons pour cette période est épuisé. Mettez à niveau votre plan pour continuer à exécuter des tests.","lowBalanceBanner":"Vous êtes à court de jetons pour cette période.","activityTitle":"Activité de demande (30 derniers jours)","activityEmpty":"Aucune demande dans cette période pour le moment.","requestsLabel":"Demandes","manageBilling":"Gérer la facturation","manageBillingError":"Impossible d'ouvrir le portail de facturation. Veuillez réessayer.","payDifferentCardBefore":"Pour payer avec une autre carte, ouvrez","payDifferentCardAfter":".","upgradeCta":"Mettre à niveau","upgradeProcessing":"Mise à niveau de votre plan â votre nouveau quota apparaîtra sous peu.","upgradeError":"Ãchec de la mise à niveau. Veuillez réessayer.","pastDueBanner":"Votre dernier paiement a échoué. Mettez à jour votre carte via Gérer la facturation pour éviter l'annulation.","cancelingBanner":"Votre abonnement sera annulé à la fin de la période actuelle.","choosePlanTitle":"Choisissez un plan","monthly":"Mensuel","annual"
66:"Annuel","annualSaving":"â20%","perMonth":"/mo","perMonthLong":"/ mois","perYear":"/an","billedMonthly":"facturé mensuellement","billedAnnually":"facturé annuellement","tokensPerMonthSuffix":"jetons/mo","selectPlan":"Sélectionner","mostPopular":"Le plus populaire","planDescStarter":"Pour les particuliers et les petites équipes explorant les tests natifs à l'IA.","planDescGrow":"Pour les équipes en croissance qui ont besoin de plus de capacité et d'un support plus rapide.","planDescPro":"Pour les équipes ayant une couverture de test sérieuse à grande échelle.","testCasesPerMonthSuffix":"cas de test / mois","parallelRunsSuffix":"exécutions parallèles","featWebAutomation":"Automatisation des tests web","featBrowserExtension":"Extension de navigateur","featCicd":"Intégration CI/CD","featJiraSlack":"Intégration Jira & Slack","featOnboarding":"Intégration et formation","featSupport48h":"Réponse du support en 48h","featSupport24h":"Réponse du support en 24h","featSupport12h":"Réponse du support en 12h","purchaseSuccessToast":"Paiement reçu â votre plan est en cours d'activation.","purchaseReturnToast":"Votre plan est actif. Retour à votre test.","purchaseCancelToast":"Commande annulée.","paymentRequired":{"title":"Paiement requis pour continuer","reasonGeneric":"Votre test n'a pas pu être démarré car le paiement est actuellement indisponible pour votre espace de travail.","reasonBalanceInsufficient":"Votre solde de jetons est trop bas pour démarrer ce test. Rechargez en mettant à niveau votre plan pour continuer à exécuter des tests.","reasonStopped":"L'exécution du test est suspendue car votre solde de jetons est épuisé. Mettez à niveau votre plan pour reprendre.","reasonNoPackage":"Votre espace de travail n'a pas encore de plan actif. Choisissez un plan pour commencer à exécuter des tests.","reasonFeatureNotAllowed":"Cette fonctionnalité n'est pas incluse dans votre plan actuel. Mettez à niveau pour la débloquer.","balanceLabel":"Solde actuel","tokens":"jetons","dismiss":"Pas maintenant","ctaUpgrade":"Mettre à niveau le plan","ctaChoosePlan":"Choisissez un plan","draftSavedNote":"Le texte de votre étape est enregistré en brouillon. Il sera compilé en actions dès que votre plan sera actif.","reasonSubscriptionInactive":"Les exécutions de tests sont suspendues car votre abonnement n'est plus actif. Choisissez un plan pour continuer."},"changePlanTitle":"Changer de plan","changePlanSubtitle":"Passez à un plan supérieur pour plus de capacité et un support plus rapide. Les changements sont calculés au prorata.","currentPlanBadge":"Votre plan","currentPlanCta":"Plan actuel","customPlanName":"Custom","customPlanDesc":"Pour les entreprises qui ont besoin de limites personnalisées, de SLA et d'un partenaire dédié.","customPlanPrice":"Parlons-en","customPlanBilling":"Contrat personnalisé","contactSales":"Contacter les ventes","customFeatureVolume":"Volume de cas de test personnalisé","customFeatureParallel":"Exécutions parallèles personnalisées","customFeatureSupport":"Support partenaire dédié","customFeatureSla":"SLA & contrat personnalisés","customFeatureOnboarding":"Onboarding & formation","statusActive":"Actif","statusCanceling":"Annulation","renewsOn":"Se renouvelle le {date}","renewsUnknown":"Date de renouvellement en attente","cancelSubscription":"Annuler l'abonnement","cancelSubscriptionSectionBody":"Votre plan reste actif jusqu'à la fin du cycle de facturation actuel. Ensuite, votre espace de travail passe en lecture seule.","cancelDialogTitle":"Annuler l'abonnement ?","cancelDialogIntroBefore":"Votre plan {plan} reste actif jusqu'au","cancelDialogIntroAfter":"Ensuite, votre espace de travail passe en lecture seule et
66ces fonctionnalités sont désactivées :","cancelDialogQuotaImpact":"Le quota mensuel passe de {count} à 0 nouveau cas de test","cancelDialogSchedulesImpact":"Les plans d'automatisation planifiés cessent de s'exécuter","cancelDialogIntegrationsImpact":"Les exécutions parallèles, CI/CD et intégrations Jira / Slack sont désactivées","cancelDialogDowngradePrompt":"Besoin de moins d'exécutions ?","cancelDialogDowngradeCta":"Passez à {plan} ({price}/mois)","cancelDialogDowngradeSuffix":"et conservez vos tests, votre historique et vos intégrations.","cancelDialogKeepPlan":"Garder mon plan","cancelDialogDateFallback":"la fin du cycle de facturation actuel","meterTokens":"Jeton T2T","meterTests":"Scénarios de test","meterUsedPct":"{pct}% utilisé {suffix}","tokensRemaining":"{count} restant","tokensRemainingWithPct":"{count} restant · {pct}% de tokens utilisés","thisPeriod":"cette période","requestsTotal":"{count} demandes","noPlanTitle":"Vous n'avez pas encore de plan actif","noPlanBody":"Choisissez un plan ci-dessous pour commencer à exécuter des tests â rien ne s'exécute tant qu'un plan n'est pas actif.","meterParallel":"Exécutions parallèles","concurrentRuns":"exécutions simultanées","upgradeConfirmTitle":"Passer au plan {plan} ?","upgradeConfirmText":"Votre plan sera mis à niveau immédiatement et la différence au prorata sera débitée de votre carte sans délai. Votre solde de jetons restant est conservé.","upgradeSummaryNewPlan":"Nouveau plan","upgradeSummaryTests":"Cas de test / mois","upgradeSummaryParallel":"Exécutions parallèles","upgradeSummaryProrated":"Montant débité aujourd'hui","upgradeConfirmCta":"Mettre à niveau","upgradeConfirmCancel":"Pas maintenant","checkoutError":"Impossible de démarrer le paiement. Veuillez réessayer dans un instant.","canceledBanner":"Votre abonnement a été annulé. Choisissez un plan pour continuer à exécuter des tests.","statusCanceled":"Annulé","reactivateSubscription":"Réactiver l'abonnement","reactivateSuccess":"Votre abonnement continuera à se renouveler.","reactivateError":"Impossible de réactiver l'abonnement. Veuillez réessayer.","downgradeCta":"Changer en fin de période","downgradeScheduledCta":"Planifié","downgradeConfirmTitle":"Rétrograder vers {plan} ?","downgradeConfirmText":"Votre plan {currentPlan} reste actif jusqu'au {date}. à cette date, vous passerez à {plan} et ses limites s'appliqueront.","downgradeConfirmTextNoDate":"Votre plan actuel reste actif jusqu'à la fin de la période de facturation, puis vous passerez à {plan}.","downgradeSummaryNewPlan":"Plan à partir de la prochaine période","downgradeSummaryCharge":"Facturé aujourd'hui","downgradeSummaryNoChargeToday":"Rien â premier prélèvement au renouvellement","downgradeConfirmKeep":"Garder {plan}","downgradeConfirmCta":"Confirmer la rétrogradation","downgradeScheduledToast":"Passage à {plan} planifié pour la fin de cette période.","downgradeError":"La rétrogradation n'a pas pu être planifiée. Veuillez réessayer.","pendingDowngradeLine":"Passage à {plan} le {date}","pendingDowngradeUndo":"Annuler","downgradeCanceledToast":"Rétrogradation planifiée annulée â votre plan actuel continue.","downgradeCancelError":"La rétrogradation n'a pas pu être annulée. Veuillez réessayer.","downgradeFooter":"Votre plan sera rétrogradé vers {plan} lors du prochain cycle de facturation ({date})."},"packages":{"title":"Packages","subtitle":"Gérez le catalogue de plans à la demande. Les octrois de jetons sont dérivés du budget.","empty":"Aucun package trouvé.","unauthorizedTitle":"Non autorisé","unauthorizedBody":"La gestion des packages est réservée aux super administrateurs.","colPackage":"Package","colPriceMonthly":"Mensuel","colTokens":"Jetons/mo","colStatus":"Statut","statusActive":"Actif","statusInactive":"Inactif","edit":"Modifier","editTitle":"Modifier {name}","fieldName":"Nom","fieldDescription":"Description","fieldPriceMonthly":"Prix mensuel (USD)","fieldPriceAnnual":"Prix annuel (USD)","fieldBudget":"Budget du fournisseur (USD)","fieldBudgetHint":"L'octroi de jetons est dérivé de cela (budget à N). Actuel : {tokens} jetons.","fieldParallel":"Exécutions parallèles","fieldTestsLimit":"Cas de test / mois","fieldFeatures":"Fonctionnalités","feature_WEB_TESTING":"Test Web","feature_MOBILE_TESTING":"Tests mobiles","fieldStripeMonthly":"ID de prix Stripe (mensuel)","fieldStripeAnnual":"ID de prix Stripe (annuel)","fieldStripeProduct":"ID de produit Stripe","fieldDisplayOrder":"Ordre d'affichage","fieldActive":"Actif","cancel":"Annuler","save":"Enregistrer","saved":"Package enregistré.","saveError":"Impossible d'enregistrer le package.","fieldPriceLockedHint":"Les prix sont facturés à partir des objets de prix Stripe et ne peuvent pas être modifiés ici. Pour changer un prix, créez un nouveau prix dans Stripe et mettez à jour les identifiants ci-dessous."}
66,"analytics":{"hero":{"webTest":"Test Web","automation":"Automatisation","tests":"Tests","plans":"Plans","executions":"Exécutions","planRuns":"Exécutions de plan"},"trends":{"title":"Tendances","sideBySide":"Côte à côte","combined":"Combiné","testsCreated":"Tests créés","plansCreated":"Plans créés","testExecutions":"Exécutions de tests","planExecutions":"Exécutions de plans","thisPeriod":"Cette période","combinedCreation":"Création de tests et plans","combinedExecutions":"Exécutions de tests et plans"},"activityWide":{"open":"Ouvrir dans un nouvel onglet","title":"Activité Testpit","subtitle":"Activité de l'équipe et récente sur Test Web et Automatisation â {days} derniers jours","colMember":"Membre","colCreated":"Créés","colRuns":"Exécutions","colLastActive":"Dernière activité"},"title":"Testpit","breadcrumbAnalytics":"Analytique","subtitle":"Aperçu de votre compte","description":"Testpit transforme votre activité Test Web et Automatisation en tableau de bord vivant â ce qui a été exécuté, réussi, cassé, et qui a fait quoi, côte à côte.","share":"Partager","copyPublicLink":"Copier le lien public","linkCopied":"Lien copié","publicLinkError":"Impossible de créer le lien public","linkExpiry":"Le lien expire dans 7 jours","last7days":"Derniers 7 jours","last30days":"Derniers 30 jours","last90days":"Derniers 90 jours","lastYear":"Dernière année","noData":"Aucune donnée disponible pour cette période","empty":{"title":"Rien à montrer pour l'instant","subtitle":"Créez votre premier test ou plan pour commencer à voir votre activité de test ici.","cta":"Faire un tour rapide"},"overallStatus":"Ãtat global des tests","passing":"réussite","failing":"échec","notRun":"pas encore exécuté","cards":{"executions":"Exécutions","webTests":"Tests Web","mobileTests":"Tests mobiles","passed":"Réussi","failed":"Ãchoué","statusBreakdown":"Répartition de l'état","vsPrev":"vs précédent","thisPeriod":"cette période"},"coverageByType":"Couverture par type","runbar":{"scheduled":"Planifié","passed":"réussi","failed":"échoué"},"charts":{"testCases":"Cas de test","executions":"Exécutions"},"stats":{"total":"Total","web":"Web","mobile":"Mobile","passed":"Réussi","failed":"Ãchoué","errors":"Erreurs","passRate":"Taux de réussite"},"controls":{"actual":"Actuel","cumul":"Cumul."},"teamActivity":{"title":"Activité de l'équipe","created":"créé","runs":"exécutions"},"recentActivity":{"planTag":"Plan","title":"Activité récente","ran":"exécuté"},"legend":{"title":"Légende de statut","passed":"Réussi","failed":"Ãchoué","errors":"Erreurs","pending":"En attente","stopped":"Arrêté"}},"web":{"overview":{"title":"Tests Web","searchPlaceholder":"Rechercher par nom, répertoire, idâ¦","filter":"Filtrer","newTest":"Nouveau test Web","noTests":"Aucun test ne correspond à vos filtres","noTestsHint":"Essayez d'ajuster votre recherche ou de vider les filtres.","kpiDirectories":"Répertoires","kpiDirectoriesSub":"{count, plural, one {dans # répertoire} other {dans # répertoires}}","kpiTests":"Tests","kpiTestsSub":"{count, plural, one {dans # répertoire} other {dans # répertoires}}","directoryColumn":"Répertoire","directoryUnfiled":"-","directoryAssign":"Attribuer un répertoire","directoryRoot":"Tous les tests","directoryNew":"Nouveau dossier","directorySubdir":"Nouveau sous-dossier","directoryNewHere":"+ Nouveau dossier ici","directoryRename":"Renommer","directoryDelete":"Supprimer le dossier","directoryMoveHere":"Déplacer ici","directoryRemoveAssignment":"Retirer du dossier","directorySearchPlaceholder":"Rechercher des dossiersâ¦","directoryFilterFacet":"Répertoire","directoryFilterAll":"Tous les dossiers","directoryFilterUnfiled":"Non classé","directoryDeleteTitle":"Supprimer le dossier ?","directoryDeleteLoading":"Vérification du contenu du dossier...","directoryDeleteWithChildren":"Ce dossier contient {count, plural, =1 {1 élément} other {# éléments}} (sous-dossiers ou tests). Choisissez quoi en faire :","directoryDeleteEmpty":"Ce dossier est vide. Le supprimer ?","directoryDeleteCascade":"Tout supprimer à l'intérieur","directoryDeleteMoveUp":"Déplacer le contenu d'un niveau vers le haut","directoryDeleteCancel":"Annuler","directoryDeleteConfirm":"Supprimer le dossier","colName":"Nom","colId":"ID","colType":"Type","colItems":"Ãléments","colActions":"Actions","colCreated":"Heure de création","rowsTests":"tests","edit":"Modifier","duplicate":"Dupliquer","move":"Déplacer","delete":"Supprimer","cancel":"Annuler","deleteTitle":"Supprimer \\"{name}\\" ?","deleteMessage":"Ce test, ainsi que tous ses étapes et son historique d'exécution, seront définitivement supprimés. Cette action ne peut pas être annulée.","deleteMessageDirEmpty":"Cela ne peut pas être annulé.","deleteMessageDirNotEmpty":"Les tests qu'il contient sont d'abord déplacés vers le répertoire parent. Cela ne peut pas être annulé.","deleteTypeLabel":"Tapez <code>Supprimer</code> pour confirmer","deleteTypeWord":"Supprimer","deleteConfirm":"Supprimer le test","deleteConfirmDir":"Supprimer le dossier","deleting":"Suppressionâ¦","createdToast":"\\"{name}\\" créé","duplicatedToast":"\\"{name}\\" dupliqué","updatedToast":"Test mis à jour","deletedToastTitle":"Test supprimé","deletedToast":"\\"{name}\\" a été supprimé.","emptyTitle":"Aucun test web pour l'instant","emptySubtitle":"Ãcrivez des étapes en texte simple, appelez des API, vérifiez des visuels ou passez à l'IA pilote automatique. Text2Test exécute vos tests sur différents navigateurs et fait un rapport.","emptyTour":"Faites un tour rapide","emptyCreate":"Créer un test web","filterCreation":"Date de création","filterAny":"à tout moment","filter7d":"Derniers 7 jours","filter30d":"Derniers 30 jours","filter90d":"Derniers 90 jours","filterYear":"Derniers 12 mois","newTestHere":"Nouveau test ici","directoryDuplicateName":"Un répertoire portant ce nom existe déjà . Essayez-en un autre.","saveFailed":"Ãchec de l'enregistrement","moveDuplicateName":"Un élément portant ce nom existe déjà dans le dossier de destination.","moveFailed":"Impossible de déplacer l'élément","colUpdated":"Mis à jour"},"wizard":{"newTitle":"Nouveau test web","step1Label":"Créer","step1Sub":"Nom & URL","step2Label":"Réviser","step2Sub":"Confirmer & soumettre","back":"Retour","next":"Suivant","submit":"Créer un test","creating":"Créationâ¦","lede":"Donnez un nom à votre test et la page sur laquelle il commence. Vous pouvez ajuster le profil d'exécution ci-dessous.","name":"Nom du test","namePlaceholder":"ex. Checkout - chemin heureux","url":"URL initiale","urlPlaceholder":"https://example.com","urlError":"Entrez une URL valide commençant par <code>http://</code> ou <code>https://</code>.","profile":"Profil de configuration","profileDefault":"Par défaut","mcp":"Serveurs MCP","mcpNone":"Aucun","reviewTitle":"Réviser & créer","reviewLede":"Confirmez les détails ci-dessous, puis créez le test.","summaryName":"Nom","summaryUrl":"URL initiale","summaryProfile":"Profil","notSet":"Non défini","search":"Rechercheâ¦","noResults":"Aucun résultat.","step1Kicker":"Ãtape 01","step2Kicker":"Ãtape 02","step1Heading":"Nommez et configurez votre test web","step1Lede":"Donnez au test un nom court et descriptif ainsi que l'URL de départ. Les paramètres avancés vous permettent de lier un profil de paramètres et/ou des serveurs MCP.","step2Heading":"Confirmer et créer","step2Lede":"Vérifiez tout ce qui est ci-dessous. Vous pouvez revenir en arr
66ière pour modifier n'importe quel champ.","advancedTitle":"Paramètres avancés","advancedSub":"Profil de paramètres · Serveurs MCP","profileNone":"Aucun profil de paramètres sélectionné","requiredFields":"Champs requis","edit":"Modifier","untitled":"Test sans titre","limitReachedToast":"Limite de test atteinte","limitReachedDesc":"Le quota de scénario de test de votre plan est épuisé. Mettez à niveau votre plan pour créer plus de tests.","limitReachedCta":"Mettre à niveau le plan","submitFailedToast":"Impossible de sauvegarder le test","duplicateName":"Un test portant ce nom existe déjà . Essayez-en un autre."},"editor":{"desktopOnly":{"title":"L'édition est réservée au bureau","body":"Créer et modifier des tests nécessite l'éditeur complet, disponible dans l'application web de bureau.","cta":"Retour aux résultats de test"},"breadcrumb":"Test Web","edit":"Modifier","runTest":"Exécuter le test","runNeedsSteps":"Ajoutez au moins une étape pour exécuter le test","runFailed":"Impossible de démarrer l'exécution du test. Veuillez réessayer.","cacheCleared":"Actions mises en cache effacées pour cette étape.","cacheClearFailed":"Impossible d'effacer le cache. Veuillez réessayer.","saved":"Ãtape enregistrée.","nothingToSave":"Aucune modification à enregistrer.","saveFailed":"Impossible de sauvegarder. Veuillez réessayer.","referenceUploaded":"Image de référence téléchargée.","referenceUploadFailed":"Impossible de télécharger l'image de référence. Veuillez réessayer.","referenceImage":"Référence","removeReference":"Supprimer l'image de référence","referenceRemoved":"Image de référence supprimée.","unsavedRunTitle":"Enregistrez cette étape avant de l'exécuter","unsavedRunBody":"Cliquez sur Enregistrer pour préparer lâétape, puis exécutez-la.","unsavedLeaveTitle":"Vous avez des étapes non enregistrées","unsavedLeaveBody":"{count, plural, one {# étape comporte} other {# étapes comportent}} des modifications non enregistrées. Si vous partez maintenant, elles seront perdues.","unsavedLeaveSave":"Enregistrer et quitter","unsavedLeaveDiscard":"Quitter quand même","unsavedLeaveStay":"Rester ici","stop":"Arrêter","runStarting":"Démarrage de l'exécution du testâ¦","runStartingHint":"Préparation du navigateur - le résultat de la première étape apparaîtra ici sous peu.","steps":"Ãtapes","addSequence":"Ajouter une séquence","insertHere":"Insérer une étape ici","emptyTitle":"Votre test est prêt. Ajoutez votre première invite.","emptyBody":"Les invites sont les étapes individuelles de votre test. Commencez par une instruction en langage naturel, une requête HTTP, un contrôle visuel, une injection de script, ou laissez les rênes à Autopilot et laissez l'agent s'en occuper.","emptyTip":"Astuce : appuyez sur <kbd>N</kbd> n'importe où pour ajouter une nouvelle invite","tag":"Ãtiquette","findTag":"Trouver une étiquetteâ¦","noTags":"Aucune étiquette.","allTagsAssigned":"Toutes les étiquettes assignées","removeTag":"Supprimer {name}","deleteStepTitle":"Supprimer cette étape ?","deleteStepA11y":"Supprimer l'étape","deleteStepBody":"Supprime {label} et ses actions compilées. Cela ne peut pas être annulé.","cancel":"Annuler","delete":"Supprimer","deleting":"Suppressionâ¦","editConfig":"Modifier la configuration du test","editTest":"Modifier le test","updateTest":"Mettre à jour le test","updatingTest":"Mise à jourâ¦","httpNoRequest":"Aucune requête sélectionnée","httpCreate":"Créer une requête HTTP","httpSelect":"Sélectionner une requête HTTP","httpSearch":"Rechercher des requêtes enregistréesâ¦","searching":"Rechercheâ¦","httpNoSaved":"Aucune requête enregistrée. Créez-en une dans Outils ⺠Requête HTTP.","httpRefEdit":"Modifier le nom de référence","httpRefSave":"Enregistrer le nom de référence","httpShowReqResp":"Afficher la requête et la réponse","httpTry":"Tester la requête","httpChange":"Changer de requête","httpDialogRequest":"Requête","httpDialogResponse":"Réponse","httpDialogBody":"Corps","httpDialogHeaders":"En-têtes","httpDialogNoBody":"Aucun corps","httpDialogNoHeaders":"Aucun en-tête","httpDialogNoResponse":"Pas encore de réponse â exécutez cette étape pour en capturer une.","httpDialogLoadingResponse":"Chargement de la réponseâ¦","httpDialogResponseFailed":"Impossible de charger la réponse.","autopilotReasoning":"Raisonnement autopilote","autopilotToolCalls":"Appels d'outils","auto
66pilotOutput":"Sortie du modèle","autopilotNoToolCalls":"Aucun appel d'outil pour l'instant","autopilotWaitingStream":"En attente de sortieâ¦","autopilotInstruction":"Instruction","viewPayload":"Voir la charge utile","autopilotPayload":"Charge utile autopilote","railFollow":"Suivre la séquence active","railFollowOn":"Défilement automatique activé - suivant la séquence active","railFollowOff":"Défilement automatique désactivé - cliquez pour suivre la séquence active","railExtension":"Extension du navigateur","railReports":"Rapports","railVariables":"Variables","railExtensionTip":"Extension du navigateur - exécutez ce test localement dans votre propre navigateur et ajustez les options d'exécution","railExtensionDisabledTip":"Extension du navigateur non installée - installez-la pour exécuter ce test localement dans votre propre navigateur","railReportsTip":"Rapports - parcourez les exécutions passées de ce test, leur statut et les captures d'écran","railVariablesTip":"Variables - les valeurs utilisées par ce test et l'état en direct de la dernière exécution","browserExtension":"Extension du navigateur","extUse":"Utiliser l'extension","extTerminate":"Terminer après l'exécution","extIncognito":"Utiliser le mode incognito","extNotDetected":"Extension non détectée - l'exécution reviendra à un navigateur distant.","freshWindowReplay":"Aucune fenêtre de test ouverte - l'exécution rejoue de la première étape jusqu'à l'étape sélectionnée pour reconstruire l'état.","extIncognitoBlocked":"L'extension ne peut pas ouvrir de fenêtre de navigation privée - activez « Autoriser en mode navigation privée » dans chrome://extensions ou désactivez le mode navigation privée dans les paramètres d'exécution.","extStartError":"L'extension n'a pas pu démarrer l'exécution : {message}","reportsBlurb":"Voir chaque exécution de ce test - statut, étapes et captures d'écran.","openResults":"Ouvrir les résultats du test â","noVariables":"Aucune variable définie pour ce test.","save":"Enregistrer","variablesDefined":"Variables","variablesEndState":"Ãtat final de la dernière exécution","variablesCurrentState":"Ãtat actuel de l'exécution en cours","noScreenshot":"Capture d'écran indisponible","variablesUpdated":"Variables mises à jour","variableUnset":"Non défini","variableVaultBadge":"Coffre","variableSecretBadge":"Secret","variableValueLabel":"valeur","variableValuePlaceholder":"Entrez une valeurâ¦","variableUseVault":"Résoudre depuis le coffre","variableVaultLoading":"Chargement des profils de coffreâ¦","variableNoVaultProfiles":"Aucun profil de coffre configuré pour cette équipe.","variableVaultProfile":"Profil de coffre","variableSecretRef":"Référence secrète","variableSecretRefPlaceholder":"p. ex. apps/myapp/db#password","variableSecretRefRelativePlaceholder":"p. ex. mot de passe ou myapp#password","variablePathPrefixHint":"Préfixe de chemin : {prefix}","variableVaultNote":"La valeur est récupérée depuis le coffre au moment de l'exécution et n'est jamais stockée.","variableSecret":"Stocker comme secret","variableOverwriteSecret":"Ãcraser le secret","variableClear":"Effacer","variableHelpDefault":"Cette valeur est enregistrée avec le test et substituée chaque fois que le placeholder apparaît.","variableHelpSecret":"Ce secret est caché. Cliquez sur écraser pour le remplacer.","variableHelpOverwrite":"Entrez une nouvelle valeur pour remplacer le secret stocké.","variableViewState":"Voir l'état de la variable","insertTitle":"Insérer","insertParameter":"Paramètre","insertHint":"Indice","insertSetting":"Paramètre","insertComment":"Commentaire","insertTestCall":"Appel de sous-testâ¦","testCallTitle":"Insérer un appel de sous-test","testCallHelp":"Recherchez un test à appeler en tant que sous-test et insérez-le en tant que lien.","testCallSearch":"Rechercher des tests par nomâ¦","testCallHint":"Tapez pour rechercher un test à appeler.","testCallEmpty":"Aucun test correspondant trouvé.","testCallParamsTitle":"Paramètres du sous-test","testCallParamsHelp":"Remplacez les paramètres de {name} pour cet appel. Le test d'origine n'est pas modifié.","testCallParamsLoading":"Chargement des paramètresâ¦","testCallParamsEmpty":"Le test sélectionné n'a pas de paramètres.","testCallParamsError":"Impossible de charger les paramètres.","testCallNoScenario":"Aucun scénario trouvé pour le test sélectionné.","testCallParamDefault":"Par défaut : {value}","testCallParamEmptyValue":"(vide)","testCallParamInherited":"Par défaut","testCallParamOverridden":"Remplacé","testCallParamFrom":"Depuis {name}","testCallParamReset":"Rétablir la valeur par défaut","testCallBack":"Changer de test","testCallApply":"Appliquer","lifecycleTitle":"Cycle de vie - exécutez cette séquence en tant que crochet de configuration/démontage","lifecycle":{"classic":"Classique (étape normale)","beforeEach":"Avant chaque","afterEach":"Après chaque","beforeEachStep":"Avant chaque étape","afterEachStep":"Après chaque étape","tearDown":"Démontage"}
66,"lbStep":"Ãtape","lbIntention":"Intention","lbUrl":"URL actuelle","lbAction":"Action","lbGoal":"Objectif","lbJustification":"Justification","lbDescription":"Détail de l'action","lbDiagnostics":"Diagnostics","seeMore":"Voir plus","seeLess":"Voir moins","close":"Fermer","extConnected":"Extension connectée","extDisconnected":"Extension non connectée","realtimeConnected":"Temps réel connecté","realtimeDisconnected":"Temps réel hors ligne","runFromHere":"Exécuter à partir d'ici","runInProgress":"Une exécution est déjà en cours","charLimitExceeded":"Limite de caractères dépassée ({limit} max)","deleteStepLabel":"{type} (étape {index})","stepType":{"prompt":{"label":"Text2Test Native","short":"T2T Native"},"authored":{"label":"Text2Test Authoring Agent","short":"T2T Authoring Agent"},"http":{"label":"Requête HTTP","short":"Requête HTTP"},"visual":{"label":"Vérification visuelle Text2Test","short":"Vérification visuelle T2T"},"script":{"label":"Agent de script Text2Test","short":"Agent de script T2T"},"auto":{"label":"Text2Test Autopilot","short":"T2T Autopilot"}},"addSource":{"prompt":{"desc":"Du texte brut au cas de test. Le modèle natif Text2Test compile des étapes déterministes."},"authored":{"desc":"Texte simple vers cas de test, écrit par un agent IA qui lit l'écran et vérifie chaque étape."},"script":{"desc":"Collez un script existant ou générez-en un automatiquement à partir de texte brut ; il s'exécute inline avec le test."},"auto":{"desc":"Confiez les flux complexes et riches en raisonnement à un LLM."},"visual":{"desc":"Diff de capture d'écran ou contrôle de visibilité d'élément."},"http":{"desc":"Appelez une API et validez la réponse."}},"placeholder":{"prompt":"Décrivez en langage naturel ce qui doit se passerâ¦\\nEx. cliquez sur \\"Se connecter\\", saisissez votre e-mail, attendez le tableau de bord.","authored":"Décris ce que cette étape doit faireâ¦\\nL'agent lit l'écran, écrit les étapes et vérifie chacune.","visual":"Décrivez ce qu'il faut vérifier visuellement.\\nEx. l'en-tête du tableau de bord est visible, 120px supérieurs, tolérance 0,2 %.","auto":"Décrivez un objectif de haut niveau pour Autopilot.\\nEx. terminer l'onboarding, max 8 actions.","script":"// Playwright \`page\` disponible - retournez un booléen pour réussir/échouer.\\n// ex. return await page.locator('h1').isVisible();"},"showCompiledActions":"Afficher les actions compilées","hideCompiledActions":"Masquer les actions compilées","showRunScreenshots":"Afficher les captures d'exécution","hideRunScreenshots":"Masquer les captures d'exécution","moveUp":"Déplacer vers le haut","moveDown":"Déplacer vers le bas","deleteSequence":"Supprimer la séquence","replaceReferenceVisual":"Référence importée - remplacer","uploadReferenceVisual":"Importer une référence visuelle","openScriptStudio":"Ouvrir Script Studio","saveSequence":"Enregistrer l'étape","saveAndCompile":"Enregistrer et compiler en actions","unsavedBadge":"Non enregistré","compilingBadge":"Compilationâ¦","savingBadge":"Enregistrementâ¦","unsavedLeaveSaving":"Vos étapes sont compilées en actions, cela peut prendre un moment.","runThisSequence":"Exécuter cette séquence","stepScriptAria":"Script de l'étape {index}","stepPromptAria":"Prompt de l'étape {index}","scriptAskPlaceholder":"Demandez à l'IA d'écrire ou de modifierâ¦","scriptChatPlaceholder":"Demandez à l'IA d'écrire ou de modifier⦠( / pour les commandes )","scriptChatRunInProgress":"Exécution du test en cours - le chat reprendra à la fin","askAi":"Demander à l'IA","send":"Envoyer","text2testAssistant":"Assistant Text2Test","scriptPageState":{"live":"page active","noPage":"pas de page","noExtension":"pas d'extension"},"scriptLoadingConversation":"Chargement de la conversationâ¦","scriptEmptyReady":"Demandez à l'assistant d'inspecter la page et d'écrire du code Playwright dans l'éditeur.","scriptEmptyNoExtension":"Ouvrez l'extension sur une page active pour que l'assistant voie l'écran. Pour l'instant, il peut toujours vous aider à écrire du code.","scriptCommandCompactDesc":"Résumer la conversation pour libérer du contexte","scriptCommandCompactHint":"nécessite au moins 4 messages","scriptCommandClearDesc":"Effacer la conversation et sa mémoire","scriptCommandClearHint":"aucun message pour l'instant","rewindToHere":"Revenir jusqu'ici","scriptCommands":"Commandes","scriptStudio":"Script Studio","promptStudio":"Prompt Studio","authoredEmptyReady":"Dis à l'agent ce que cette étape doit faire. Il lit l'écran, écrit chaque phrase Text2Test et l'exécute avant de la garder.","authoredEmptyNoExtension":"Ouvre l'extension sur une page live et l'agent vérifiera chaque phrase sur le vrai écran. Pour l'instant il écrit d'après les règles Text2Test seules.","promptEditor":"Ãditeur de prompt","compiledStepsTitle":"Ãtapes compilées","compiledStepsEmpty":"Aucune étape compilée.","openPromptStudio":"Ouvrir Prompt Studio","stepAuthoredAria":"Ãtape écrite par l'IA","authoredAskPlaceholder":"Demande à l'agent d'écritureâ¦","stepNumber":"Ãtape {index}","run":"Exécuter","aiProposedChanges":"Modifications proposées par l'IA","reject":"Refuser","accept":"Accepter","scriptEditor":"Ãditeur de script","resizeEditorChat":"Redimensionner l'éditeur et le chat","resizeEditorOutput":"Redimensionner l'éditeur et la sortie","reportsLoading":"Chargement des rapportsâ¦","reportsEmpty":"Aucun rapport pour le moment. Exécutez ce test pour voir les résultats ici.","reportsCount":"{count} rapport(s)","reportsSteps":"{passed}/{total} étapes réussies","reportsStartDate":"Date de début","reportsEndDate":"Date de fin","reportsClearDates":"Effacer le filtre de date","chatConnectFailed":"Impossible de se connecter à l'assistant. Le service autopilot est-il accessible et êtes-vous connecté ?","chatSendFailed":"Ãchec de l'envoi du message.","chatCompactConnectFailed":"Impossible de se connecter à l'assistant pour compacter.","chatCompactFailed":"Ãchec du compactage de la conversation.","chatCompacted":"Conversation compactée.","chatWarmingUp":"ð Préparation de la page en direct (exécution des étapes précédentes)â¦"},"results":{"breadcrumbWeb":"Test Web","title":"Résultats des tests","description":"Chaque exécution de test web dans cet espace de travail. Plongez dans n'importe quelle exécution pour voir son statut, la chronologie des étapes et la rediffusion.","rangeAll":"Tout le temps","range24h":"Dernières 24 heures","range7d":"Derniers 7 jours","range30d":"Derniers 30 jours","range90d":"Derniers 90 jours","passRate":"Taux de réussite","ofRuns":"/ {total} exécutions","status_passed":"Réussi","status_failed":"Ãchoué","status_running":"En cours","status_stopped":"Arrêté","status_pending":"En attente","status_error":"Erreur","searchPlaceholder":"Rechercher par nom de test, exécuteur, ID d'exécutionâ¦","filter":"Filtrer","colTest":"Test","colStatus":"Statut","colExecution":"Exécution","colDuration":"Durée","colStarted":"Démarré","colEnvironment":"Environnement","colExecutor":"Exécuteur","execScheduled":"Programmé","execManual":"Manuel","actView":"Voir les détails","actCopyId":"Copier l'ID d'exécution","copiedId":"ID d'exécution copié","truncated":"Affichage des {shown} exécutions les plus récentes sur {total}. Réduisez la plage de dates ou recherchez pour trouver des exécutions plus anciennes.","noMatch":"Aucune exécution ne correspond à ces filtres.","resetFilters":"Réinitialiser les filtres","rowsRuns":"exécutions","emptyTitle":"Aucune exécution pour le moment","emptyMessage":"Lorsque vous exécutez un test web, chaque exécution atterrit ici avec son statut, son timing, sa vidéo de rediffusion et des diagnostics étape par étape.","panel":{"runTitle":"Exécution de test","actionsLabel":"Actions","run":"Exécution","tabOverview":"Aperçu","tabSteps":"Ãtapes","tabAdminDetail
66s":"Détails admin","diagnostics":"Diagnostics","summary":"Résumé","steps":"Ãtapes","passed":"Réussi","failed":"Ãchoué","skipped":"Sauté","replay":"Rejouer","screenshots":"Captures d'écran · {count}","timeline":"Chronologie des étapes · {ran} exécutées, {skipped} sautées","loadingSteps":"Chargement des étapesâ¦","noSteps":"Aucune donnée d'étape pour cette exécution.","status":"Statut","action":"Action","context":"Contexte","aiRequest":"Demande AI","aiResponse":"Réponse AI","screenshot":"Capture d'écran","noAiRequest":"Aucune donnée de demande pour cette étape.","noAiResponse":"Aucune donnée de réponse AI pour cette étape.","noScreenshot":"Aucune capture d'écran pour cette étape.","seeMore":"Voir plus","seeLess":"Voir moins","copy":"Copier","tabConsole":"Console","downloadLogs":"Télécharger les logs","tabNetwork":"Réseau","loadingLogs":"Chargement des journauxâ¦","noLogs":"Aucun journal de console pour cette exécution.","noLogMatch":"Aucune entrée de journal correspond.","lvl_all":"Tout","lvl_err":"Erreurs","lvl_warn":"Avertir","searchLog":"Rechercher dans le journalâ¦","errCount":"{count} erreurs","warnCount":"{count} avertissements","entryCount":"{count} entrées","loadingNetwork":"Chargement du réseauâ¦","noNetwork":"Aucune capture réseau pour cette exécution.","noNetworkMatch":"Aucune demande ne correspond.","searchUrl":"Rechercher l'URLâ¦","onlyErrors":"Uniquement des erreurs","requests":"demandes","ofTotal":"de {total}","openVideo":"Ouvrir la vidéo","backToRequests":"Retour aux demandes","net_headers":"En-têtes","net_payload":"Charge utile","net_response":"Réponse","net_timing":"Temps","netGeneral":"Général","netUrl":"URL de demande","netMethod":"Méthode de demande","netStatus":"Code d'état","netRemote":"Adresse distante","netResponseHeaders":"En-têtes de réponse","netRequestHeaders":"En-têtes de demande","netNoHeaders":"Aucun en-tête capturé.","netNoPayload":"Aucun corps de demande.","netQuery":"Paramètres de chaîne de requête","netRequestBody":"Corps de demande","netNoBody":"Le corps de réponse n'a pas été capturé.","netNoTiming":"Aucune donnée de timing.","netTotal":"Total","phase_blocked":"Bloqué","phase_dns":"Recherche DNS","phase_connect":"Connexion initiale","phase_ssl":"SSL","phase_send":"Demande envoyée","phase_wait":"En attente (TTFB)","phase_receive":"Téléchargement de contenu","copyLink":"Copier le lien public","openTest":"Ouvrir le test","openInNewTab":"Ouvrir dans un nouvel onglet","linkCopied":"Lien public copié","publicLinkError":"Impossible de créer un lien public","share":"Partager","rerunTest":"Relancer le test","rerunStarted":"Relance du test démarrée","rerunFailed":"Impossible de démarrer la relance"},"shareModal":{"title":"Partager l'exécution du test","whoCanView":"Qui peut voir","publicLabel":"Toute personne disposant du lien","publicDesc":"Rapport en lecture seule, sans connexion. Idéal pour les ingénieurs qui déboguent un échec.","workspaceLabel":"Espace de travail uniquement","workspaceDesc":"Membres de {name}. S'ouvre directement dans l'application.","expiresLabel":"Expiration du lien","expiresOption":"{count, plural, one {# jour} other {# jours}}","revokeNote":"L'accès des lecteurs peut être révoqué à tout moment dans les paramètres du test.","linkLabel":"Lien de partage","copyLink":"Copier le lien","copied":"Copié","createError":"Impossible de créer le lien de partage","cancel":"Annuler","next":"Suivant","done":"Terminé"},"artifacts":{"empty":"Aucun artefact d'étape pour cette exécution.","aiRequest":"Demande IA","aiResponse":"Réponse IA","screenshot":"Capture d'écran","refScreenshot":"Référence","currScreenshot":"Actuel","prevScreenshot":"Précédent","noScreenshot":"Aucune capture d'écran capturée.","copy":"Copier"},"actCopyLink":"Copier le lien public","copiedLink":"Lien public copié","actionsLabel":"Actions","logsDownloadFailed":"Impossible de télécharger les journaux","publicLinkError":"Impossible de créer un lien public","deltaPassRate":"{pct}% taux de réussite","vsPrev":"vs. 30 derniers jours","anyone":"Quiconque","filterTest":"Test : {name}","clearTestFilter":"Effacer le filtre de test","columns":"Colonnes","chipAll":"Tout"},"getExtension":{"eyebrow":"Extension Chrome Text2Test","title":"Créez des tests en les regardant s'exécuter","subtitle":"Ãcrivez une étape en texte brut, exécutez-la en direct via l'extension, et regardez-la s'exécuter dans un vrai navigateur. Voyez ce qui fonctionne, affinez ce qui ne fonctionne pas, sans jamais quitter votre test.","install":"Ajouter à Chrome","installHint":"Installation gratuite. Fonctionne avec votre plan Text2Test actuel.","chromeOnly":"L'extension Text2Test fonctionne uniquement sur <b>Google Chrome</b>. Les autres navigateurs ne sont pas pris en charge.","whatItDoes":"Ce que fait l'extension","features":{"watch":{"title":"Regarder les tests s'exécuter en direct","description":"Une fenêtre de navigateur dédiée s'ouvre pour chaque exécution de test. Voyez chaque étape s'exécuter en temps réel."},"interact":{"title":"Intervenir en cas de besoin","description":"Fermez les pop-ups, ignorez les bannières, passez les écrans de vérification. Le test reprend là où vou
66s l'avez laissé."},"sequences":{"title":"Compatible avec tous les types de séquences","description":"T2T Native, Autopilot, Scripting Agent, Visual Verification et HTTP Request s'exécutent tous via l'extension."}},"installed":{"connected":"Extension connectée","title":"Tout est prêt. Voici ce que vous pouvez faire.","subtitle":"Trois choses à savoir : activer l'accès Incognito, contrôler le comportement de chaque exécution, et marquer précisément les éléments par un clic droit.","step1":{"title":"Autoriser l'extension en mode Incognito","description":"Après avoir installé l'extension Text2Test, cliquez sur Détails et autorisez le Mode incognito. Si vous ne le voyez pas, cliquez sur l'icône de l'extension dans la barre d'outils â Gérer l'extension â activez Autoriser en mode incognito. Cela permet à Text2Test d'exécuter vos tests dans une fenêtre privée et propre, avec une session neuve à chaque fois.","callout":"Retrouvez ceci sur chrome://extensions, cliquez sur Détails pour Text2Test, puis activez Autoriser en mode incognito.","siteAccess":"Accès au site","siteAccessDesc":"Autoriser cette extension à lire et modifier toutes vos données sur les sites que vous visitez :","onAllSites":"Sur tous les sites","siteSettings":"Paramètres du site","pinToToolbar":"Ãpingler à la barre d'outils","allowIncognito":"Autoriser en mode incognito","allowIncognitoDesc":"Avertissement : Google Chrome ne peut pas empêcher les extensions d'enregistrer votre historique de navigation. Pour désactiver cette extension en mode incognito, décochez cette option.","allowFileUrls":"Autoriser l'accès aux URL de fichiers","collectErrors":"Collecter les erreurs","source":"Source","sourcePath":"Extension non empaquetée · Chargée depuis : ~/Downloads/extension-main-latest"},"step2":{"title":"Contrôler le comportement de chaque exécution","description":"Ouvrez n'importe quel Web Test et vous trouverez le panneau Extension navigateur. Activez les options ci-dessous pour voir ce que fait chacune. Cliquez sur n'importe quelle bascule pour l'essayer.","mockCrumb":"Tests / Checkout regression","mockTitle":"Checkout regression","mockNavOverview":"Vue d'ensemble","mockNavTestEditor":"Ãditeur de test","mockGroupMobileTest":"Test mobile","mockNavDevicePark":"Parc d'appareils","mockClose":"Fermer","mockInfo":"Plus d'informations","replay":"Relire"},"step3":{"title":"Marquer précisément les éléments par un clic droit","description":"Dans la fenêtre de l'extension, faites un clic droit sur n'importe quel élément et survolez Text2Test pour le marquer. Le marquage fixe l'élément exact afin qu'une étape clique précisément au bon endroit, même si la page contient des éléments similaires.","taggedButtonLabel":"Nouveau projet","taggedBadge":"Marqué","whyTagTitle":"Pourquoi marquer ?","whyTagBody":"Un marquage verrouille une étape sur un élément exact. Il rend les clics précis et garde les tests stables lorsque la page change autour de lui.","whyTagSteps":{"step1":"Faites un clic droit sur l'élément dans la fenêtre de l'extension.","step2":"Survolez <code>Text2Test</code> dans le menu.","step3":"Choisissez <code>Label</code>, puis <code>Single</code> ou <code>Multiple</code>.","step4":"L'élément est marqué et prêt à être utilisé dans une étape."},"replay":"Relire"}}},"doc":{"breadcrumb":"Test Web","title":"Test Web","lead":"Créez, exécutez et partagez des tests UI basés sur le navigateur à l'aide d'invites en langage naturel - de votre premier test à l'extension de navigateur, aux sources de données et aux séquences.","onThisPage":"Sur cette page","copy":"Copier","copied":"Copié","calloutInfo":"Remarque","calloutTip":"Astuce","calloutWarning":"Important","cta":"Nouveau test Web","updated":"Mis à jour en juillet 2026"}},"mobile":{"earlyAccess":{"eyebrow":"Test mobile · Accès anticipé","title":"Les tests ne s'arrêtent pas au navigateur","subtitle":"Text2Test couvre aussi le mobile. La même création de tests en langage naturel et les mêmes modèles d'IA spécialisés pour le test logiciel, désormais pour vos applications iOS et Android. Nous déployons d'abord le libre-service web ; le mobile est déjà prêt pour les équipes qui le souhaitent.","chip":"iOS et Android, prêts dès aujourd'hui","ctaDemo":"Demander une démo","ctaEarly":"Obtenir l'accès anticipé","earlyDone":"Vous êtes sur la liste","ctaHint":"Sans engagement. Nous vous recontacterons par e-mail avant toute activation.","s1Title":"Une seule approche, toutes les surfaces","s1Body":"Web et mobile ne devraient pas rimer avec deux outils de test, deux workflows et deux équipes différents. Text2Test utilise le même modèle de création de tests pour les deux : ce que votre équipe apprend sur le web se transpose directement au mobile. Ãcrivez le test une fois, en langage naturel, et laissez la plateforme faire le reste.","benefitsLabel":"Ce que le test mobile vous apporte","benefits":{"devices":"Une couverture sur appareils réels iOS et Android, pas seulement des écrans émulés","steps":"Les mêmes étapes de test en langage naturel que votre équipe utilise déjà pour le web","once":"Ãcrivez un test une fois et exécutez-le sur iOS et Android, sans suites en double","reports":"Des rapports conçus pour corriger vite, avec enregistrements et logs complets à chaque exécution"},"s3Title":"Pourquoi le web d'abord","s3Body":"Nous avons lancé d'abord le libre-service web pour garder une expérience simple et bien la réussir. Le test mobile est déjà disponible pour les équipes qui en ont besoin, mis en place avec nous pour s'intégrer à votre processus de release dès le premier jour. à mesure que le libre-service s'étend, le mobile rejoindra les offres que vous connaissez déjà .","closingTitle":"Prêt à tester votre application mobile ?","closingBody":"Parlez-nous de l'intégration de Text2Test à vos releases iOS et Android. Nous vous accompagnons et nous occupons de la mise en place."}},"settings":{"profiles":{"breadcrumbSettings":"Paramètres","title":"Profils de Paramètres","description":"Ensembles réutilisables de paramètres d'exécution appliqués à vos tests au niveau de l'invite, général, équipe ou entreprise.","newProfile":"Nouveau Profil","searchPlaceholder":"Rechercher des profilsâ¦","filterType":"Type","colName":"Nom","colType":"Portée","colDescription":"Description","colCreated":"Créé","colSettings":"Paramètres","settingsCount":"{count, plural, =0 {Aucun paramètre} one {# paramètre} other {# paramètres}}","rowsProfiles":"profils","actEdit":"Modifier","actCopyId":"Copier l'ID","actDelete":"Supprimer","copiedId":"ID de profil copié","emptyTitle":"Aucun profil de paramètres pour le moment","emptyMessage":"Créez votre premier profil de paramètres pour gérer centralement les paramètres d'exécution au niveau de l'invite, de l'équipe ou de l'entreprise.","emptyCta":"Créer un profil de paramètres","noMatch":"Aucun profil ne correspond à vos filtres.","resetFilters":"Réinitialiser les filtres","deleteTitle":"Supprimer le profil de paramètres","deleteMessage":"Ãtes-vous sûr de vouloir supprimer â{name}â ? Les tests liés à ce profil reviendront à des paramètres de moindre priorité. Cela ne peut pas être annulé.","deleteConfirm":"Supprimer","deleteCancel":"Annuler","deleted":"Profil de paramètres supprimé","deleteFailed":"Ãchec de la suppression du profil de paramètres","loadFailed":"Ãchec du chargement des profils de paramètres","typeGeneral":"Général","typeTeam":"Ãquipe","typeCompany":"Entreprise","typePrompt":"Invite"},"editor":{"breadcrumbSettings":"Paramètres","breadcrumbProfiles":"Profils de paramètres","titleCreate":"Nouveau profil de paramètres","titleEdit":"Modifier le profil de paramètres","back":"Retour aux profils","cancel":"Annuler","save":"Enregistrer","saving":"Enregistrementâ¦","labelName":"Nom","placeholderName":"Nom du profil","labelType":"Portée","placeholderType":"Sélectionner la portée","labelDescription":"Description","placeholderDescription":"Description courte (facultatif)","labelBody":"Paramètres","placeholderBody":"timeout::30000\\nretryCount::2\\nheadless::true","bodyHint":"Un paramètre par ligne sous la forme clé::valeur. Les jetons séparés par des espaces sont analysés lors de l'enregistrement.","typeHintTitle":"Priorité de portée","typeHint":"Lorsque la même clé est résolue à partir de plusieurs profils, la portée de priorité supérieure l'emporte : Invite > Général > Ãquipe > Entreprise.","typeGeneral":"Général","typeTeam":"Ãquipe","typeCompany":"Entreprise","typePrompt":"Invite","nameRequired":"Un nom de profil est requis.","created":"Profil de paramètres créé","updated":"Profil de paramètres mis à jour","saveFailed":"Ãchec de l'enregistrement du profil de paramètres","loadFailed":"Ãchec du chargement de ce profil de paramètres."},"vault":{"breadcrumb":"Paramètres","title":"Profils de coffre","description":"Connectez votre fournisseur de coffre pour résoudre en toute sécurité les secrets au moment des tests sans les stocker.","newProfile":"Ajouter un profil de coffre","searchPlaceholder":"Rechercher des profils de coffreâ¦","kpiTotal":"Total des profils","kpiProviders":"Fournisseurs","kpiDefaults":"Valeurs par défaut","kpiCompany":"Portée de l'entreprise","colName":"Nom","colProvider":"Fournisseur","colUrl":"URL","colScope":"Portée","colDefault":"Par défaut","scopeCompany":"Entreprise","scopeTeam":"Ãquipe","defaultYes":"Par défaut","rowsProfiles":"profils","noMatch":"Aucun profil de coffre ne correspond à votre recherche.","resetSearch":"Réinitialiser la recherche","emptyTitle":"Aucun profil de coffre pour le moment","emptyMessage":"Connectez votre fournisseur de coffre pour résoudre en toute sécurité les secrets au moment des tests sans les stocker.","actEdit":"Modifier","actTestConnection":"Tester la connexion","actCopyId":"Copier l'ID","actDelete":"Supprimer","copiedId":"ID de profil de coffre-fort copié","connectionSuccess":"Test de connexion réussi","connectionFailed":"Ãchec du test de connexion","created":"Profil de coffre-fort créé","createFailed":"Ãchec de la création du profil de coffre-fort","updated":"Profil de coffre-fort mis à jour","updateFailed":"Ãchec de la mise à jour du profil de coffre-fort","deleted":"Profil de coffre-fort supprimé","deleteFailed":"Ãchec de la suppression du profil de coffre-fort","deleteTitle":"Supprimer le profil de coffre-fort","deleteMessage":"Supprimer « {name} » ? Les tests utilisant ce profil échoueront à résoudre les secrets. Cela ne peut pas être annulé.","deleteCancel":"Annuler","deleteConfirm":"Supprimer","createTitle":"Ajouter un profil de coffre-fort","editTitle":"Modifier le profil de coffre-fort","fieldName":"Nom","namePlaceholder":"p. ex. coffre-fort de production","fieldProvider":"Fournisseur","providerHashicorp":"HashiCorp Vault","providerAws":"AWS Secrets Manager","providerAzure":"Azure Key Vault","providerCyberark":"CyberArk Conjur","fieldUrl":"URL","urlPlaceholder":"p. ex. https://vault.example.com","tokenVault":"Jeton de coffre-fort","tokenAws":"Jeton AWS Bearer","tokenAzure":"Jeton Azure AD","tokenCyberark":"Identifiant et
66clé API","tokenPlaceholderHashicorp":"Entrez votre jeton HashiCorp Vault","tokenPlaceholderAws":"Entrez votre jeton AWS Bearer ou STS","tokenPlaceholderAzure":"Entrez votre jeton Azure AD Bearer","tokenPlaceholderCyberark":"login:api_key (p. ex. admin:2ab3xyâ¦)","tokenHint":"Laissez vide pour conserver le jeton existant.","fieldNamespace":"Espace de noms","namespacePlaceholderHashicorp":"p. ex. admin/team-a","namespacePlaceholderCyberark":"Compte Conjur (p. ex. par défaut)","fieldPathPrefix":"Préfixe de chemin","pathPrefixPlaceholder":"p. ex. secret/data/myapp","fieldScope":"Portée","fieldDescription":"Description","descriptionPlaceholder":"Description optionnelleâ¦","fieldIsDefault":"Profil par défaut","isDefaultHint":"Ce profil sera sélectionné automatiquement lors de l'ajout de paramètres de coffre-fort.","cancel":"Annuler","save":"Enregistrer","update":"Mettre à jour"},"apiKeys":{"title":"Clés API","subtitle":"Créez et gérez des clés API pour un accès programmatique à Text2Test.","searchPlaceholder":"Rechercher par nom ou cléâ¦","createButton":"Créer une clé API","emptyTitle":"Aucune clé API","emptyDescription":"Créez des clés API pour accéder à l'API Text2Test de manière programmatique pour CI/CD, automatisation et intégrations.","colName":"Nom","colKey":"Clé","colPermissions":"Permissions","colStatus":"Statut","colCreated":"Créé","colExpires":"Expire","statusActive":"Actif","statusInactive":"Inactif","never":"Jamais","fullAccess":"Accès complet","actionActivate":"Activer","actionDeactivate":"Désactiver","actionRevoke":"Révoquer","toggleSuccess":"Statut de la clé API mis à jour.","toggleError":"Ãchec de la mise à jour du statut de la clé API.","revokeSuccess":"Clé API révoquée.","revokeError":"Ãchec de la révocation de la clé API.","revokeConfirmTitle":"Révoquer la clé API","revokeConfirmMessage":"Cette action est irréversible. Les intégrations utilisant cette clé cesseront de fonctionner immédiatement.","createSuccess":"Clé API créée.","createError":"Ãchec de la création de la clé API.","createTitle":"Créer une clé API","createDescription":"Configurez votre nouvelle clé API avec un nom, des permissions et une expiration.","nameLabel":"Nom","namePlaceholder":"ex. Pipeline CI/CD","permissionsLabel":"Permissions","template_fullAccess":"Accès complet","template_cicd":"CI/CD","template_testRunner":"Exécuteur de tests","template_readOnly":"Lecture seule","template_reportViewer":"Visualiseur de rapports","template_custom":"Personnalisé","expirationLabel":"Expiration","expiryPreset_week1":"1 semaine","expiryPreset_weeks2":"2 semaines","expiryPreset_month1":"1 mois","expiryPreset_months3":"3 mois","expiryPreset_months6":"6 mois","expiryPreset_custom":"Personnalisé","validityLabel":"Validité (jours)","validityMaxError":"Ne peut pas dépasser 180 jours (6 mois)","cancel":"Annuler","revealTitle":"Votre clé API","revealWarning":"Copiez cette clé maintenant. Vous ne pourrez plus la voir !","done":"Terminé"},"mcpServers":{"breadcrumb":"Paramètres","title":"Serveurs MCP","description":"Connectez les serveurs MCP pour étendre votre assistant IA avec des outils et des capacités personnalisés.","newServer":"Ajouter un serveur MCP","searchPlaceholder":"Rechercher des serveurs MCPâ¦","filterScope":"Portée","colName":"Nom","colUrl":"URL","colScope":"Portée","colEnabled":"Activé","colUseInChat":"Utiliser dans le chat","colCreated":"Créé","rowsServers":"serveurs","kpiTotal":"Total des serveurs","kpiEnabled":"Activé","kpiChat":"Activé pour le chat","kpiTeam":"Portée d'équipe","scopeTeam":"Ãquipe","scopeCompany":"Société","actEdit":"Modifier","actTestConnection":"Tester la connexion","actCopyId":"Copier l'ID","actDelete":"Supprimer","copiedId":"ID du serveur copié","emptyTitle":"Aucun serveur MCP pour l'instant","emptyMessage":"Connectez les serveurs MCP pour étendre votre assistant IA avec des outils et des capacités personnalisés.","emptyCta":"Ajouter un serveur MCP","noMatch":"Aucun serveur ne correspond à vos filtres.","resetFilters":"Réinitialiser les filtres","deleteTitle":"Supprimer le serveur MCP","deleteMessage":"Supprimer â{name}â? Les tests utilisant ce serveur perdront l'accès à ses outils. Cela ne peut pas être annulé.","deleteConfirm":"Supprimer","deleteCancel":"Annuler","deleted":"Serveur MCP supprimé","deleteFailed":"Ãchec de la suppression du serveur MCP","loadFailed":"Ãchec du chargement des serveurs MCP","createTitle":"Nouveau serveur MCP","createSubtitle":"Connectez un nouveau serveur MCP pour étendre les capacités IA.","editTitle":"Modifier le serveur MCP","editSubtitle":"Mettez à jour les paramètres du serveur et les détails de connexion.","labelName":"Nom","placeholderName":"ex. Mes outils personnalisés","labelUrl":"URL","placeholderUrl":"ex. https://mcp.example.com/sse","labelScope":"Portée","scopeTeamHint":"Disponible uniquement pour l'équipe actuelle.","scopeCompanyHint":"Disponible pour toutes les équipes de l'entreprise.","labelDescription":"Description","placeholderDescription":"Courte description (facultatif)","labelEnabled":"Activé","labelUseInChat":"Utiliser dans le chat","labelHeaders":"En-têtes personnalisés","addHeader":"Ajouter un en-tête","headerKey":"Nom de l'en-tête","headerValue":"Valeur de l'en-tête","noHeaders":"Aucun en-tête personnalisé configuré.","testConnection":"Tester la connexion","testSuccess":"Connexion réussie","testFailed":"Ãchec de la connexion","cancel":"Annuler","save":"Enregistrer","create":"Créer","saving":"Enregistrementâ¦","created":"Serveur MCP créé","updated":"Serveur MCP mis à jour","saveFailed":"Ãchec de l'enregistrement du serveur MCP","nameRequired":"Un nom de serveur est requis.","urlRequired":"Une URL de serveur est requise."},"doc":{"breadcrumb":"Paramètres","title":"Profils de paramètres","lead":"Chaque paramètre que vous pouvez ajuster sur la plateforme - exécution, navigateur, attentes, correspondance AI, localisation, vidéo et mobile - avec des valeurs acceptées, des valeurs par défaut et des exemples concrets.","onThisPage":"Sur cette page","copy":"Copier","copied":"Copié","calloutInfo":"Remarque","calloutTip":"Astuce","calloutWarning":"Important","cta":"Créer un profil de paramètres","updated":"Mis à jour le 2 juin 2026"},"nav":{"aria":"Paramètres","breadcrumb":"Paramètres","groupPersonal":"Personnel","account":"Compte","billingPlan":"Facturation et plan","security":"Sécurité","help":"Aide","notifications":"Notifications"},"account":{"title":"Compte","subtitle":"Gérez votre profil, mot de passe et préférences personnelles.","ownerBadge":"Propriétaire","changePhoto":"Changer de photo","comingSoon":"Cela n'est pas encore connecté au backend.","detailsTitle":"Détails personnels","detailsDesc":"Mettez à jour votre nom et la façon dont vous apparaissez dans l'espace de travail.","detailsFootnote":"Les changements s'appliquent à chaque espace de travail auquel vous appartenez.","saveChanges":"Enregistrer les modifications","saved":"Profil mis à jour.","saveFailed":"Impossible d'enregistrer votre profil.","fullName":"Nom complet","jobTitle":"Titre du poste","optional":"Optionnel","emailAddress":"Adresse e-mail","emailHint":"Utilisé pour la connexion et les notifications.","emailChangeNote":"Pour changer votre e-mail, contactez [email protected].","phone":"Téléphone","timezone":"Fuseau horaire","language":"Langue","passwordTitle":"Mot de passe","passwordDesc":"Définissez un nouveau mot de passe. Nous recommandons au moins 12 caractères.","passwordFootnote":"Vous resterez connecté sur cet appareil.","updatePassword":"Mettre à jour le mot de passe","currentPassword":"Mot de passe actuel","newPassword":"Nouveau mot de passe","confirmPassword":"Confirmer le nouveau mot de passe","toggleVisibility":"Basculer la visibilité du mot de passe","passwordSaved":"Mot de passe mis à jour.","passwordSaveFailed":"Impossible de mettre à jour votre mot de passe.","passwordRequired":"Remplissez tous les champs de mot de passe.","passwordMismatch":"Les nouveaux mots de passe ne correspondent pas."},"members":{"title":"Membres","subtitle":"Gérez qui peut accéder à l'espace de travail {workspace}.","seatsTitle":"Places","seatsDesc":"Votre plan inclut jusqu'à {limit} places. Ajoutez des membres pour collaborer sur des tests et des plans.","seatsUsed":"places utilisées","seatsFootnote":"Besoin de plus de places ? Améliorez votre plan ou parlez aux ventes.","membersTitle":"Membres","membersDesc":"Personnes ayant accès à l'espace de travail {workspace}.","inviteMember":"Inviter un membre","empty":"Pas encore de membres.","colMember":"Membre","colRole":"Rôle","colLastActive":"Dernière activité","you":"Vous","roleAdmin":"Admin","roleMember":"Membre","roleOwner":"Propriétaire","makeAdmin":"Faire admin","makeMember":"Faire membre","removeMember":"Supprimer le membre","roleUpdated":"Rôle de {name} mis à jour.","roleUpdateFailed":"Impossible de mettre à jour le rôle.","memberRemoved":"Supprimé {name} de l'espace de travail.","memberRemoveFailed":"Impossible de supprimer ce membre.","removeConfirmTitle":"Supprimer le membre ?","removeConfirmBody":"{name} perdra l'accès à cet espace de travail et libérera une place. Cela ne peut pas être annulé.","removeConfirmCancel":"Annuler","removeConfirmConfirm":"Supprimer","pendingTitle":"Invitations en attente","pendingDesc":"Personnes qui ont été invitées mais qui n'ont pas encore rejoint.","pendingBadge":"En attente","resend":"Renvoyer","revoke":"Révoquer","invitedToday":"Invité aujourd'hui","invitedDaysAgo":"Invité {days, plural, one {# jour} other {# jours}} auparavant","inviteResent":"Invitation renvoyée à {email}.","inviteResendFailed":"Impossible de renvoyer l'invitation.","inviteRevoked":"Invitation révoquée pour {email}.","inviteRevokeFailed":"Impossible de révoquer l'invitation."},"security":{"title":"Sécurité","subtitle":"Authentification à deux facteur
66s et sessions actives.","comingSoon":"Cela n'est pas encore connecté au backend.","twoFactorTitle":"Authentification à deux facteurs","twoFactorDesc":"Ajoutez une deuxième étape lors de la connexion à l'aide d'une application d'authentification.","authenticatorApp":"Application d'authentification","on":"Activé","off":"Désactivé","configured":"Configuré avec une application d'authentification.","notConfigured":"Non configuré","viewBackupCodes":"Voir les codes de sauvegarde","sessionsTitle":"Sessions actives","sessionsDesc":"Appareils actuellement connectés à votre compte.","signOutAll":"Déconnexion de tous","thisDevice":"Cet appareil","revoke":"Révoquer"},"notifications":{"title":"Notifications","subtitle":"Décidez de ce qui atteint votre boîte de réception et votre boîte de réception dans l'application.","cardTitle":"Notifications","cardDesc":"Choisissez ce pour quoi vous êtes notifié et où. Les reçus de facturation critiques sont toujours envoyés par e-mail.","email":"E-mail","inApp":"Dans l'application","footnote":"S'applique uniquement à votre compte.","save":"Enregistrer les préférences","saved":"Préférences de notification enregistrées.","rows":{"testFailures":{"label":"Ãchecs des tests","desc":"Lorsqu'un test web ou un plan se termine avec des échecs ou des erreurs."},"planCompletion":{"label":"Achèvement du plan","desc":"Lorsqu'un plan d'automatisation programmé termine un cycle complet."},"weeklyDigest":{"label":"Résumé hebdomadaire","desc":"Un résumé du lundi sur le taux de réussite, les tests instables et l'utilisation."},"usageLimits":{"label":"Limites d'utilisation","desc":"Lorsque vous atteignez 80 % / 100 % de votre quota mensuel de cas de test."},"billingInvoices":{"label":"Facturation et factures","desc":"Reçus de paiement, renouvellements et alertes de paiement échoué."},"productUpdates":{"label":"Mises à jour du produit","desc":"Nouvelles fonctionnalités, points forts du journal des modifications et conseils."}}}},"tools":{"doc":{"breadcrumb":"Outils","title":"Outils","lead":"Sources de données, requêtes HTTP enregistrées et balises d'éléments - les blocs de construction réutilisables sur lesquels vos tests et plans s'appuient.","onThisPage":"Sur cette page","copy":"Copier","copied":"Copié","calloutInfo":"Remarque","calloutTip":"Astuce","calloutWarning":"Important","cta":"Nouvelle source de données","updated":"Mis à jour le 2 juin 2026"},"testTags":{"breadcrumb":"Outils","title":"Ãtiquettes de test","description":"Ãtiquettes colorées que vous attribuez aux tests ou répertoires pour organiser, filtrer et regrouper votre suite de tests.","newTag":"Créer une étiquette","searchPlaceholder":"Rechercher des étiquettesâ¦","allowUsersLabel":"Autoriser les utilisateurs à gérer les étiquettes","colName":"Nom","colColor":"Couleur","colType":"Type","typeEntity":"Entité liée","typeDirectory":"Répertoire lié","rowsTags":"étiquettes","noMatch":"Aucune étiquette ne correspond à votre recherche.","resetSearch":"Réinitialiser la recherche","emptyTitle":"Pas encore d'étiquettes de test","emptyMessage":"Créez votre première étiquette pour commencer à organiser les tests et répertoires.","actEdit":"Modifier","actDelete":"Supprimer","deleteTitle":"Supprimer l'étiquette de test","deleteMessage":"Supprimer « {name} » ? Les tests utilisant cette étiquette perdront l'étiquette. Cela ne peut pas être annulé.","deleteConfirm":"Supprimer","deleteCancel":"Annuler","deleted":"Ãtiquette de test supprimée","deleteFailed":"Ãchec de la suppression de l'étiquette de test","createTitle":"Créer une étiquette de test","editTitle":"Modifier l'étiquette de test","fieldName":"Nom","namePlaceholder":"p. ex. Smoke, Regression, Login","fieldType":"Type","fieldColor":"Couleur","cancel":"Annuler","save":"Enregistrer","createBtn":"Créer","created":"Ãtiquette de test créée","updated":"Ãtiquette de test mise à jour","saveFailed":"Ãchec de l'enregistrement de l'étiquette de test","duplicateName":"Une étiquette avec ce nom existe déjà ","nameRequired":"Le nom de l'étiquette est requis","permissionEnabled":"Les utilisateurs peuvent désormais gérer les étiquettes","permissionDisabled":"Seuls les administrateurs peuvent gérer les étiquettes","permissionFailed":"Ãchec de la mise à jour des autorisations"},"elementTags":{"breadcrumb":"Outils","title":"Ãtiquettes d'élément","description":"Sélecteurs nommés et stables capturés par l'extension du navigateur et l'inspecteur mobile afin que vos étapes restent accessibles à mesure que le DOM évolue.","searchPlaceholder":"Rechercher par nom ou sélecteurâ¦","filterType":"Type","filterPlatform":"Plateforme","colName":"Nom","colSelector":"Sélecteur","colType":"Type","colPlatform":"Plateforme","rowsTags":"tags","actView":"Voir","actCopySelector":"Copier le sélecteur","actDelete":"Supprimer","copiedSelector":"Sélecteur copié","emptyTitle":"Aucun tag d'élément pour le moment","emptyMessage":"Les tags d'élément sont capturés depuis l'extension du navigateur et l'inspecteur mobile - ils apparaîtront ici une fois que vous aurez tagué des éléments lors de la création de tests.","noMatch":"Aucun tag ne correspond à vos filtres.","resetFilters":"Réinitialiser les filtres","deleteTitle":"Supprimer le tag d'élément","deleteMessage":"Supprimer «\xA0{name}\xA0» ? Les étapes qui font référence à ce tag reviendront à leur sélecteur en ligne. Cela ne peut pas être annulé.","deleteConfirm":"Supprimer","deleteCancel":"Annuler","deleted":"Tag d'élément supprimé","deleteFailed":"Ãchec de la suppression du tag d'élément","loadFailed":"Ãchec du chargement des tags d'élément","typeLabel":"Ãtiquette","typeWait":"Attendre jusqu'à ce qu'il disparaisse","typeExclude":"Exclure","typePredefined":"Prédéfinie","platformWeb":"Web","platformMobile":"Mobile","platformIos":"iOS","platformAndroid":"Android","panelSelector":"Sélecteur","panelXpath":"XPath","panelFullXpath":"XPath complet","panelElementId":"ID d'élément","panelFrame":"URL du cadre","panelScreenshots":"C
66aptures d'écran","panelPage":"Page","panelElement":"Ãlément","panelNoScreenshot":"Aucune capture d'écran capturée pour ce tag."},"dataSources":{"breadcrumb":"Outils","title":"Sources de données","description":"Fichiers et réponses HTTP qui alimentent vos plans basés sur les données - une ligne par itération, partagée à travers l'espace de travail.","newSource":"Nouvelle source de données","searchPlaceholder":"Rechercher des sources de donnéesâ¦","filterFormat":"Format","filterSource":"Source","sourceFile":"Fichier","sourceHttp":"HTTP","colFormat":"Format","colName":"Nom","colSource":"Source","colCreated":"Créé","rowsSources":"sources","kpiTotal":"Total des sources","kpiFile":"Téléchargements de fichiers","kpiHttp":"Liaisons HTTP","kpiFormats":"Formats","actEdit":"Modifier les détails","actCopyId":"Copier l'ID","actDelete":"Supprimer","copiedId":"ID de la source de données copié","emptyTitle":"Aucune source de données pour le moment","emptyMessage":"Téléchargez un fichier CSV, XLS, XLSX, JSON ou XML, ou liez une requête HTTP enregistrée, pour alimenter des plans basés sur des données.","emptyCta":"Nouvelle source de données","noMatch":"Aucune source de données ne correspond à vos filtres.","resetFilters":"Réinitialiser les filtres","deleteTitle":"Supprimer la source de données","deleteMessage":"Supprimer « {name} » ? Les plans et tests qui y sont liés échoueront lors de leur prochaine exécution jusqu'à ce qu'ils soient à nouveau liés. Cela ne peut pas être annulé.","deleteConfirm":"Supprimer","deleteCancel":"Annuler","deleted":"Source de données supprimée","deleteFailed":"Ãchec de la suppression de la source de données","loadFailed":"Ãchec du chargement des sources de données","createTitle":"Nouvelle source de données","createSubtitle":"Téléchargez un fichier ou liez une requête HTTP enregistrée.","editTitle":"Modifier la source de données","editSubtitle":"Renommez-la, remplacez le fichier ou re-liez la requête HTTP.","currentFile":"Fichier actuel","tabFile":"Téléchargement de fichier","tabHttp":"Requête HTTP","dropTitle":"Déposez un fichier ou cliquez pour naviguer","dropHint":"Jusqu'à 10 Mo · CSV · XLS · XLSX · JSON · XML","fileReplace":"Remplacer","fileRemove":"Supprimer","labelName":"Nom","placeholderName":"Nom de la source de données","labelDescription":"Description","placeholderDescription":"Courte description (facultatif)","labelFormat":"Format","labelRequest":"Requête HTTP","pickRequest":"Sélectionnez une requête enregistrée","noRequests":"Aucune requête HTTP enregistrée trouvée.","parseAs":"Analyser la réponse comme","create":"Créer","save":"Enregistrer","cancel":"Annuler","saving":"Enregistrementâ¦","created":"Source de données créée","updated":"Source de données mise à jour","saveFailed":"Ãchec de l'enregistrement de la source de données","uploadFailed":"Ãchec du téléchargement du fichier","nameRequired":"Un nom est requis.","fileRequired":"Choisissez un fichier à télécharger.","requestRequired":"Sélectionnez une requête HTTP à lier.","actDownload":"Télécharger le fichier","actQuickView":"Aperçu rapide","downloaded":"Fichier téléchargé","downloadFailed":"Ãchec du téléchargement du fichier","quickViewTitle":"{name} ({format})","quickViewLoading":"Chargement de l'aperçuâ¦","quickViewError":"Ãchec du chargement de l'aperçu du fichier","quickViewEmpty":"Le fichier est vide","quickViewRawFallback":"Impossible d'analyser le fichier â affichage du contenu brut","quickViewRows":"{count, plural, one {# ligne} other {# lignes}}","quickViewCols":"{count, plural, one {# colonne} other {# colonnes}}","quickViewLines":"{count, plural, one {# ligne} other {# lignes}}"},"httpRequest":{"breadcrumb":"Outils","title":"Requête HTTP","description":"Appels API enregistrés que vous pouvez envoyer à la demande ou intégrer à un test - définissez une méthode, une URL, des en-têtes, un corps et une authentification, puis envoyez pour inspecter la réponse en direct.","newRequest":"Nouvelle requête","searchPlaceholder":"Rechercher par nom ou URLâ¦","filterMethod":"Méthode","colMethod":"Méthode","colName":"Nom","colUrl":"URL","colUpdated":"Mis à jour","rowsRequests":"requêtes","kpiTotal":"Total des requêtes","kpiGet":"Lire (GET)","kpiWrite":"Ãcrire","kpiMethods":"Méthodes utilisées","actEdit":"Modifier","actDuplicate":"Dupliquer","actCopyId":"Copier l'ID","actDelete":"Supprimer","copiedId":"ID de la requête copié","emptyTitle":"Aucune requête enregistrée pour le moment","emptyMessage":"Créez et enregistrez une requête API à envoyer à la demande ou à référencer dans vos tests.","emptyCta":"Nouvelle requête","noMatch":"Aucune requête ne correspond à vos filtres.","resetFilters":"Réinitialiser les filtres","deleteTitle":"Supprimer la requête","deleteMessage":"Supprimer « {name} » ? Les tests et les sources de données qui y font référence seront rompus jusqu'à ce qu'ils soient réorientés. Cela ne peut pas être annulé.","deleteConfirm":"Supprimer","deleteCancel":"Annuler","deleted":"Requête supprimée","deleteFailed":"Ãchec de la suppression de la requête","loadFailed":"Ãchec du chargement de cette requête.","duplicated":"Requête dupliquée","copySuffix":"copier","back":"Retour aux requêtes","namePlaceholder":"Requête sans titre","descriptionPlaceholder":"Ajouter une courte descriptionâ¦","urlPlaceholder":"https://example.com/api","send":"Envoyer","sending":"Envoiâ¦","save":"Enregistrer","saving":"Enregistrementâ¦","saved":"Requête enregistrée","saveFailed":"Ãchec de l'enregistrement de la requête","sendFailed":"Ãchec de l'envoi de la requête","copyCurl":"Copier en cURL","copiedCurl":"cURL copié","importCurl":"Importer cURL","unsaved":"Modifications non enregistrées","savedBadge":"Enregistré","tabParams":"Params","tabHeaders":"En-têtes","tabBody":"Corps","tabAuth":"Auth","tabSettings":"Paramètres","kvKey":"Clé","kvValue":"Valeur","kvHeader":"En-tête","kvAddParam":"Ajouter un paramètre","kvAddHeader":"Ajouter un en-tête","kvEmptyParams":"Aucun paramètre de requête. Ajoutez-en un ou incluez-les dans l'URL.","kvEmptyHeaders":"Aucun en-tête pour le moment.","bodyNone":"Aucun","bodyText":"Texte","bodyJson":"JSON","bodyFormData":"Données de formulaire","bodyPlaceholder":"{\\n \\"key\\": \\"value\\"\\n}","bodyTextPlaceholder":"Contenu en texte brutâ¦","bodyFormPlaceholder":"Ajoutez des champs de formulaire ci-dessous.","formatJson":"Formater JSON","invali
66dJson":"Le corps n'est pas un JSON valide.","formKey":"Clé","formValue":"Valeur","formAddField":"Ajouter un champ","formEmptyFields":"Aucun champ de formulaire. Ajoutez une paire clé-valeur.","authNone":"Aucun Auth","authBearer":"Jeton Bearer","authBasic":"Auth de base","authApiKey":"Clé API","authNoneHint":"Cette requête sera envoyée sans aucune authentification.","authToken":"Jeton","authUsername":"Nom d'utilisateur","authPassword":"Mot de passe","authKey":"Clé","authValue":"Valeur","authAddTo":"Ajouter à ","authAddToHeader":"En-tête","authAddToQuery":"Paramètre de requête","settingFollow":"Suivre les redirections","settingFollowHint":"Suivez automatiquement les en-têtes de localisation 3xx.","settingVerifySsl":"Vérifier le certificat SSL","settingVerifySslHint":"Rejeter les réponses avec un certificat TLS invalide.","responseTitle":"Réponse","responseReady":"Prêt à envoyer","responseReadyHint":"Appuyez sur Envoyer pour déclencher la requête et inspecter la réponse.","responseStatus":"Statut","responseTime":"Temps","responseSize":"Taille","respBody":"Corps","respHeaders":"En-têtes","respPretty":"Joli","respRaw":"Brut","respCopyBody":"Copier le corps","respCopied":"Copié dans le presse-papiers","respCopyFailed":"Ãchec de la copie","respExpandTitle":"Valeur de l'en-tête","respCopyValue":"Copier la valeur","tabCurl":"cURL","variables":"Variables","variablesHintPre":"Définir les valeurs des","variablesHintPost":"espaces réservés","variablePlaceholder":"Valeurâ¦","variableSecret":"Marquer comme secret","variablePublic":"Marquer comme public","curlAutoGenerated":"Généré automatiquement à partir du formulaire. Modifiez manuellement pour remplacer.","curlApply":"Appliquer au formulaire","curlApplied":"cURL appliqué au formulaire","importTitle":"Importer depuis cURL","importSubtitle":"Collez une commande cURL pour remplir la méthode, l'URL, les en-têtes et le corps.","
66importPlaceholder":"curl https://api.example.com/users \\\\\\n -H 'Authorization: Bearer abc123'","import":"Importer","importFailed":"Impossible d'analyser cette commande cURL."},"scenarioFiles":{"breadcrumb":"Outils","title":"Ressources de test","description":"Fichiers téléchargés disponibles pour une utilisation dans les étapes de scénario â scripts, jeux de données de test ou documents de référence partagés dans l'espace de travail.","newFile":"Nouvelle ressource de test","searchPlaceholder":"Rechercher des ressources de testâ¦","colName":"Nom","colDescription":"Description","colCreatedBy":"Créé par","colCreated":"Créé","rowsFiles":"ressources","kpiTotal":"Total des ressources","actEdit":"Modifier les détails","actDownload":"Télécharger le fichier","actCopyId":"Copier l'ID","actDelete":"Supprimer","copiedId":"ID de la ressource de test copié","emptyTitle":"Aucune ressource de test pour l'instant","emptyMessage":"Téléchargez un fichier pour le rendre disponible pour les étapes de scénario. Tout type de fichier est accepté, jusqu'à 10 Mo.","emptyCta":"Nouvelle ressource de test","noMatch":"Aucune ressource de test ne correspond à votre recherche.","resetFilters":"Réinitialiser les filtres","deleteTitle":"Supprimer la ressource de test","deleteMessage":"Supprimer « {name} » ? Les scénarios faisant référence à ce fichier ne pourront plus y accéder. Cela ne peut pas être annulé.","deleteConfirm":"Supprimer","deleteCancel":"Annuler","deleted":"Ressource de test supprimée","deleteFailed":"Ãchec de la suppression de la ressource de test","loadFailed":"Ãchec du chargement des ressources de test","downloaded":"Fichier téléchargé","downloadFailed":"Ãchec du téléchargement du fichier","createTitle":"Nouvelle ressource de test","createSubtitle":"Téléchargez un fichier pour le rendre disponible dans les scénarios.","editTitle":"Modifier la ressource de test","editSubtitle":"Changez le nom ou la description. Le fichier téléchargé ne peut pas être remplacé.","dropTitle":"Déposez un fichier ou cliquez pour parcourir","dropHint":"Jusqu'à 10 Mo · tout type de fichier","labelName":"Nom","placeholderName":"Nom de la ressource de test","labelDescription":"Description","placeholderDescription":"Courte description (facultatif)","labelFileKey":"Clé de fichier","create":"Créer","save":"Enregistrer","cancel":"Annuler","saving":"Enregistrementâ¦","created":"Ressource de test créée","updated":"Ressource de test mise à jour","saveFailed":"Ãchec de l'enregistrement de la ressource de test","uploadFailed":"Ãchec du téléchargement du fichier","nameRequired":"Un nom est requis.","fileRequired":"Choisissez un fichier à télécharger."}},"automation":{"overview":{"breadcrumb":"Automatisation","title":"Plans","description":"Regroupez les tests dans des répertoires, ou exécutez-les dans des plans. Planifiez-les, exécutez-les en parallèle ou déclenchez-les depuis la CI.","newPlan":"Nouveau plan","newDirectory":"Nouveau répertoire","searchPlaceholder":"Rechercher des plans et des répertoiresâ¦","colType":"Type","colName":"Nom","colCreated":"Créé","colItems":"Ãléments","kpiDirectories":"Répertoires","kpiDirectoriesSub":"{count, plural, one {dans # répertoire} other {dans # répertoires}}","kpiPlans":"Plans","kpiPlansSub":"Exécuté sur Chromium · Firefox · WebKit","rowsPlans":"plans","itemsCount":"{count, plural, =0 {empty} one {# élément} other {# éléments}}","actRun":"Exécuter","actStop":"Arrêter","actResults":"Résultats du plan","actEdit":"Modifier","actDelete":"Supprimer","actAddPlan":"Ajouter un plan","actAddDir":"Ajouter un sous-répertoire","actRename":"Renommer","actMove":"Déplacer","dirPickerLabel":"Répertoire","dirMoveHere":"Déplacer ici","dirNewHere":"+ Nouveau répertoire ici","dirSearchPlaceholder":"Rechercher des répertoiresâ¦","dirRoot":"Tous les plans","running":"Exécution du plan démarrée","runFailed":"Impossible de démarrer l'exécution du plan","stopped":"Plan arrêté","stopFailed":"Impossible d'arrêter le plan","emptyTitle":"Aucun plan pour le moment","emptyMessage":"Créez un plan pour exécuter un groupe de tests ensemble - à la demande ou selon un calendrier.","emptyTour":"Faites un tour rapide","emptyCta":"Nouveau plan","noMatch":"Aucun plan ne
66correspond à votre recherche.","resetSearch":"Effacer la recherche","dirTitle":"Nouveau répertoire","dirTitleSub":"Créé à l'intérieur de {parent}.","dirTitleRoot":"Apparaît en haut de votre liste de plans.","dirNamePlaceholder":"Nom du répertoire","dirCreate":"Créer un répertoire","renameTitle":"Renommer le répertoire","rename":"Renommer","cancel":"Annuler","deleteTitlePlan":"Supprimer le plan","deleteMessagePlan":"Supprimer « {name} » ? Son historique d'exécution est conservé, mais le plan et son calendrier sont supprimés. Cela ne peut pas être annulé.","deleteTitleDir":"Supprimer le répertoire","deleteMessageDirEmpty":"Supprimer « {name} » ? Cela ne peut pas être annulé.","deleteMessageDirNotEmpty":"Supprimer « {name} » ? Les plans qu'il contient sont d'abord déplacés vers le répertoire parent. Cela ne peut pas être annulé.","deleteConfirm":"Supprimer","deleted":"Supprimé","deleteFailed":"Ãchec de la suppression","dirCreated":"Répertoire créé","renamed":"Répertoire renommé","saveFailed":"Ãchec de l'enregistrement","dirDuplicateName":"Un répertoire portant ce nom existe déjà . Essayez-en un autre.","move":"Déplacer","moveDuplicateName":"Un élément portant ce nom existe déjà dans le dossier de destination.","moveFailed":"Impossible de déplacer l'élément","colUpdated":"Mis à jour"},"wizard":{"title":"Créer un plan","titleIn":"Créer un plan dans {parent}","trackerAsset":"Sélectionner le type d'actif","trackerCreate":"Créer","trackerReview":"Vérifier et soumettre","innerSteps":"Ãtapes internes","stepCounter":"Ãtape {n}/{total}","reviewSubmit":"Vérifier et soumettre","notSet":"Non défini","step1":"Détails du plan","step1sub":"Nom et options","step2":"Sélectionner des tests","step2sub":"Choisissez dans votre arborescence","step3":"Ordonner les tests","step3sub":"Définir l'ordre d'exécution","hintStep":"Ãtape {n} sur {total}","labelName":"Nom du plan","placeholderName":"Saisissez le nom du plan","sectionSchedule":"Calendrier","scheduleToggle":"Exécution planifiée","frequency":"Fréquence","freqHourly":"Horaire","freqDaily":"Quotidien","freqWeekly":"Hebdomadaire","at":"Ã","on":"Sur","freqMonthly":"Mensuel","dayOfMonth":"Jour du mois","useCustomCron":"Utiliser un cron personnalisé","customCronHint":"Avancé : composez directement lâexpression cron.","cronUnschedulable":"Cette planification nâest pas une expression cron valide et ne sâexécuterait jamais. Corrigez-la avant dâenregistrer.","cronStoredInvalid":"La planification enregistrée nâest pas une expression cron valide et ne sâexécute jamais. Choisissez une planification pour la corriger.","cronEvery":"Chaque","cronIn":"en","cronOn":"le","cronAnd":"et","cronAt":"à ","cronMinuteSep":":","cronMinutesSuffix":"minute(s)","cronPeriodYear":"année","cronPeriodMonth":"mois","cronPeriodWeek":"semaine","cronPeriodDay":"jour","cronPeriodHour":"heure","cronPeriodMinute":"minute","cronEveryMonth":"chaque mois","cronEveryMonthDay":"chaque jour du mois","cronMonthDayShort":"jour du mois","cronEveryWeekDay":"chaque jour de la semaine","cronWeekDayShort":"jour de la semaine","cronEveryHour":"chaque heure","cronEveryMinute":"chaque minute","cronEveryShort":"chaque","cronEveryN":"toutes les {n}","cronClear":"Effacer","cronInvalid":"Expression cron invalide","cronPeriodAria":"Intervalle de répétition","cronMonthsAria":"Mois","cronMonthDaysAria":"Jours du mois","cronWeekDaysAria":"Jours de la semaine","cronHoursAria":"Heures","cronMinutesAria":"Minutes","monthJan":"janvier","monthFeb":"février","monthMar":"mars","monthApr":"avril","monthMay":"mai","monthJun":"juin","monthJul":"juillet","monthAug":"août","monthSep":"septembre","monthOct":"octobre","monthNov":"novembre","monthDec":"décembre","sectionTestOptions":"Options de test","browsers":"Navigateurs","browsersPlaceholder":"Sélectionner des navigateurs","parallel":"Exécution parallèle","retryToggle":"Réessayer les tests échoués","retryLabel":"Tentatives de réessai","sectionReporting":"Rapports","recordVideo":"Inclure la vidéo dans les rapports","saveArtifacts":"Enregistrer les détails de l'étape en cas d'échec","sectionProfiles":"Profils de configuration","profilesHint":"Appliquer les paramètres d'exécution enregistrés au moment de l'exécution.","profilesPlaceholder":"Sélectionner les profils de configuration du plan","profilesEmpty":"Aucun profil de configuration pour l'instant.","sectionNotifications":"Notifications","notifyPlaceholder":"Adresse e-mail","notifyOnFailure":"En cas d'échec","notifyAlways":"Toujours","notifyAdd":"Ajouter","testSearchPlaceholder":"Rechercher des testsâ¦","selectedCount":"{count} sélectionné","noTests":"Aucun test trouvé dans cet espace de travail.","selectTag":"Sélectionner un tag","allTags":"Tous les tags","colName":"Nom","treeShowing":"{selected} sur {total} tests affichés · {groups} groupes","groupSelectAria":"Sélectionner tous les tests de {name}","orderKickerStep":"Ãtape 03","orderKickerTests":"Ordonner les tests","orderTitle":"Définir l'ordre d'exécution","orderHint":"Les tests s'exécutent séquentiellement dans cet ordre (sauf si l'exécution parallèle est activée). Faites glisser pour réordonner â ou utilisez les flèches.","orderSelectedTests":"Tests sélectionnés","orderEmpty":"Sélectionnez d'abord les tests dans l'étape précédente.","sumName":"Nom","sumTests":"Tests","sumBrowsers":"Navigateurs","sumSchedule":"Calendrier","none":"Aucun","off":"Désactivé","weekdaySun":"Dimanche","weekdayMon":"Lundi","weekdayTue":"Mardi","weekdayWed":"Mercredi","weekdayThu":"Jeudi","weekdayFri":"Vendredi","weekdaySat":"Samedi","browserChrome":"Chrome","browserFirefox":"Firefox","browserSafari":"Safari","browserEdge":"Edge","nameRequired":"Un nom de plan est requis.","testsRequired":"Sélectionnez au moins un test.","created":"Plan créé","saveFailed":"Impossible de créer le plan","duplicateName":"Un plan portant ce nom existe déjà . Essayez-en un autre.","editTitle":"Modifier le plan","editLoadingTitle":"Chargement du planâ¦","updateBtn":"Mettre à jour le plan","updated":"Plan mis à jour","updateFailed":"Impossible de mettre à jour le plan","step4":"Source de données","step4sub":"Lier aux tests","dsTitle":"Lier les sources de données aux tests","dsIntro":"Facultatif. Associez une source de données à tout test devant s'exécuter avec des paramètres. Les tests sans liaison s'exécutent avec leurs valeurs par défaut.","dsColTests":"Tests","dsColSources":"Sources de données","dsColBindings":"Liaisons actuelles","dsSearchTests":"Rechercher des testsâ¦","dsSearchSources":"Rechercher des sources de donnéesâ¦","dsSearchBindings":"Rechercher des liaisonsâ¦","dsNoTests":"Aucun test sélectionné","dsNoSources":"Aucune source de données","dsNoBindings":"Aucune liaison pour l'instant","dsBind":"Lier la sélection","dsBound":"Lié","dsUnbind":"Supprimer la liaison","sumDataSources":"Sources de données"},"results":{"breadcrumb":"Automatisation","title":"Résultats du plan","description":"Exécutions de vos plans - répartition réussite/échec par exécution, plongez dans le rapport complet de n'importe quel test.","searchPlaceholder":"Rechercher par nom de plan ou exécuteurâ¦","filter":"Filtrer","colPlan":"Exécution de plan","colExecutor":"Exécuteur","colStatus":"Statut","colDuration":"Durée","colStarted":"Démarré","rowsRuns":"exécutions","passRate":"Taux de réussite","kpiEyebrow":"Exécutions réussies","ofRu
66ns":"de {total} exécutions","status_passed":"Réussi","status_failed":"Ãchoué","status_running":"En cours","status_stopped":"Arrêté","status_pending":"En attente","status_error":"Erreur","testsCount":"{count, plural, one {# test} other {# tests}}","passFail":"{passed} réussis · {failed} échoués","emptyTitle":"Aucune exécution de plan pour le moment","emptyMessage":"Exécutez un plan depuis l'écran des Plans et ses résultats apparaîtront ici.","noMatch":"Aucune exécution de plan ne correspond à vos filtres.","resetFilters":"Réinitialiser les filtres","actView":"Voir","actCopyId":"Copier l'ID","actStop":"Arrêter l'exécution","actRerunAll":"Réexécuter tout","actRerunFailures":"Réexécuter les échecs","actRerunErrors":"Réexécuter les erreurs","actionsLabel":"Actions","nPassed":"{count} réussis","nFailed":"{count} échoués","triggerScheduled":"Planifié","triggerManual":"Manuel","stopped":"Arrêt demandé","stopFailed":"Impossible d'arrêter l'exécution","rerunStarted":"Réexécution du plan démarrée","rerunFailed":"Impossible de démarrer la réexécution","copiedId":"ID d'exécution copié","tabOverview":"Aperçu","tabTests":"Tests","tabLogs":"Journaux","logsTruncated":"Affichage des 20 000 premières lignes de cette exécution.","logsFailed":"Impossible de charger les journaux de cette exécution.","panelCrumb":"Exécution de plan","mTests":"Tests","mPassed":"Réussi","mFailed":"Ãchoué","detailsTitle":"Détails de l'exécution","dPlanId":"ID d'exécution","dBy":"Déclenché par","dStarted":"Démarré","dEnded":"Terminé","dDuration":"Durée","noLogs":"Aucun journal capturé pour cette exécution.","testsEmpty":"Aucune exécution de test dans cette exécution de plan.","openReport":"Ouvrir le rapport","chipAll":"Tout","testsPassed":"tests réussis","testDistribution":"Répartition des tests","testExecutions":"Exécutions de tests","testsSummary":"{total} tests · {passed} réussis · {failed} échoués","filterAll":"Tout","filterFailed":"Ãchoué","copyPublicLink":"Copier le lien public","linkCopied":"Lien public copié","publicLinkError":"Impossible de créer le lien public","openInNewTab":"Ouvrir dans un nouvel onglet","copyLink":"Copier le lien","newTab":"Nouvel onglet","rerunShort":"Relancer","retryFailed":"Relancer les échecs","share":"Partager"},"doc":{"breadcrumb":"Automatisation","title":"Automatisation","lead":"Les plans regroupent les tests pour une exécution par lot - à la demande, selon un calendrier ou en CI - et les résultats des plans rapportent chaque exécution.","onThisPage":"Sur cette page","copy":"Copier","copied":"Copié","calloutInfo":"Remarque","calloutTip":"Astuce","calloutWarning":"Important","cta":"Nouveau plan","updated":"Mis à jour en juillet 2026"}},"auth":{"common":{"tagline":"Test logiciel natif AI","footer":{"copyright":"© 2026 Text2Test","privacy":"Confidentialité","terms":"Conditions","help":"Aide"}},"login":{"heading":"Content de te revoir","subheading":"Faisons quelques tests. Connectez-vous à votre espace de travail Text2Test.","social":{"google":"Se connecter avec Google","microsoft":"Se connecter avec Microsoft","github":"Se connecter avec GitHub"},"or":"OU","emailLabel":"Email professionnel","emailPlaceholder":"[email protected]","passwordLabel":"Mot de passe","passwordPlaceholder":"Votre mot de passe","forgotPassword":"Mot de passe oublié ?","showPassword":"Afficher le mot de passe","hidePassword":"Masquer le mot de passe","signIn":"Se connecter","newHere":"Nouveau ici ?","createAccount":"Créer un compte","registeredToast":{"title":"Compte créé !","description":"Votre espace de travail est prêt. Connectez-vous pour commencer."},"headingSignup":"Créez votre compte","subheadingMobile":"Connectez-vous pour suivre vos exécutions, détecter les échecs et consulter les rapports en déplacement.","subheadingSignup":"Obtenez un espace de travail et commencez à exécuter des tests rédigés par l'IA en quelques minutes.","labels":{"username":"Nom d'utilisateur","email":"Email professionnel","password":"Mot de passe"},"placeholders":{"username":"Nom d'utilisateur","email":"[email protected]","password":"Mot de passe","passwordSignup":"Au moins 8 caractères"},"forgotPasswordShort":"Mot de passe oublié ?","noAccount":"Vous n'avez pas de compte ?","registerHere":"Inscrivez-vous ici","hasAccount":"Vous avez déjà un compte ?","signingIn":"Connexion en coursâ¦","togglePasswordShow":"Afficher le mot de passe","togglePasswordHide":"Masquer le mot de passe","continueGoogle":"Continuer avec Google","continueMicrosoft":"Continuer avec Microsoft","continueGithub":"Continuer avec GitHub","oauthSoon":"Connexion OAuth bientôt disponible","terms":"En créant un compte, vous acceptez nos Conditions d'utilisation et notre Politique de confidentialité.","tagline":"Tests logiciels natifs basés sur l'IA","errors":{"loginFailed":"Ãchec de la connexion","incorrectCredentials":"Une de vos informations d'identification est incorrecte. Veuillez vérifier et réessayer.","network":"Erreur réseau : Impossible d'atteindre le serveur. Veuillez vérifier votre connexion.","unexpected":"Erreur inattendue : Veuillez réessayer plus tard.","socialFailed":"Ãchec de la connexion","socialFailedDescription":"Impossible de terminer la connexion. Veuillez réessayer."}},"register":{"steps":{"account":"Compte","verified":"Vérifié","workspace":"Espace de travail"},"step1":{"heading":"Créez votre compte","subheading":"Créez un espace de travail et exécutez votre premier test en quelques minutes.","social":{"google":"Continuer avec Google","microsoft":"Continuer avec Microsoft","github":"Continuer avec GitHub"},"or":"OU","emailLabel":"E-mail professionnel","emailPlaceholder":"[email protected]","passwordLabel":"Mot de passe","passwordPlaceholder":"Au moins 8 caractères","confirmPasswordLabel":"Confirmer le mot de passe","confirmPasswordPlaceholder":"Saisissez à nouveau votre mot de passe","showPassword":"Afficher le mot de passe","hidePassword":"Masquer le mot de passe","submit":"Créer un compte","termsAgreement":"En créant un compte, vous acceptez nos <terms>Conditions d'utilisation</terms> et notre <privacy>Politique de confidentialité</privacy>.","haveAccount":"Vous avez déjà un compte ?","signIn":"Se connecter"},"step2":{"heading":"Vérifiez votre boîte de réception","sentTo":"Nous venons d'envoyer un lien d'activation à :","instructions":"Cliquez sur le lien pour activer votre compte. Une fois activé, nous vous demanderons le nom de votre entreprise et de votre équipe pour configurer votre espace de travail.","didntGet":"Vous ne l'avez pas reçu ?","resend":"Renvoyer le lien","resendIn":"Renvoyer dans {seconds}s","maxReached":"Limite de renvoi atteinte","useDifferent":"Utiliser un autre e-mail"},"step3":{"heading":"Configurer votre espace de travail","subheading":"Nommez votre espace de travail â c'est ainsi que vos tests, exécutions et rapports seront organisés.","companyLabel":"Nom du projet","companyPlaceholder":"p. ex. Mon App","companyHelp":"Utilisé comme l'identité de votre projet. Vous pouvez le changer plus tard.","projectNameTaken":"Ce nom de projet est déjà pris. Veuillez en choisir un autre.","teamLabel":"Nom de l'équipe","teamPlaceholder":"p. ex. Ãquipe QA","teamHelp":"Première
66équipe dans votre espace de travail. Vous pourrez inviter des coéquipiers ensuite.","submit":"Créer un espace de travail et continuer"},"toasts":{"socialFailed":"Ãchec de l'inscription","socialFailedDescription":"Impossible de terminer l'inscription. Veuillez réessayer.","requiredTitle":"Requis","step1Required":"Veuillez entrer votre e-mail et votre mot de passe.","passwordMismatchTitle":"Les mots de passe ne correspondent pas","passwordMismatch":"Les mots de passe saisis ne correspondent pas.","registrationFailed":"Ãchec de l'inscription","registrationFailedDescription":"Une erreur s'est produite.","emailAlreadyRegistered":"Cet e-mail est déjà enregistré. Essayez de vous connecter à la place.","resentTitle":"Envoyé !","resentDescription":"E-mail de vérification renvoyé.","errorTitle":"Erreur","resendError":"Quelque chose a mal tourné.","step3Required":"Veuillez remplir les deux champs."}},"reset":{"form":{"heading":"Mot de passe oublié ?","subheading":"Entrez votre e-mail pour recevoir un lien de réinitialisation de mot de passe.","emailLabel":"Adresse e-mail","emailPlaceholder":"Entrez votre e-mail","submit":"Envoyer le lien de réinitialisation","backToLogin":"â Retour à la connexion"},"sent":{"heading":"Réinitialisation du mot de passe","sentTo":"Nous avons envoyé un e-mail de réinitialisation de mot de passe à ","instructions":"Veuillez vérifier votre boîte de réception et suivre les instructions pour réinitialiser votre mot de passe.","didntGet":"Vous ne l'avez pas reçu ?","resend":"Renvoyer le lien","resendIn":"Renvoyer dans {seconds}s","maxReached":"Limite de renvoi atteinte","resentTitle":"Lien de réinitialisation envoyé","resentDescription":"Nous avons envoyé un autre e-mail de réinitialisation de mot de passe.","backToSignIn":"Retour à la connexion"},"errors":{"invalidEmailTitle":"Avertissement","invalidEmail":"Veuillez entrer un e-mail valide","failed":"Impossible d'envoyer le lien de réinitialisation","tooManyTitle":"Trop de demandes","tooMany":"Vous avez demandé trop de liens. Veuillez attendre un peu et réessayer.","network":"Erreur réseau : Impossible d'atteindre le serveur. Veuillez vérifier votre connexion.","unexpected":"Erreur inattendue : Veuillez réessayer plus tard."}},"callback":{"signingIn":"Connexion en coursâ¦","backToLogin":"Retour à la connexion","failedToast":"Ãchec de la connexion","genericError":"La connexion n'a pas pu être complétée."},"socialRelay":{"expired":"Ce lien de connexion a expiré. Veuillez réessayer.","backToLogin":"Retour à la connexion"},"acceptInvite":{"pageTitle":"Accepter l'invitation","heading":"Vous êtes invité","subheading":"Configurez votre compte pour rejoindre {workspace}.","roleNote":"Vous rejoindrez en tant que {role}.","role":{"ADMIN":"un administrateur","USER":"un membre","VIEWER":"un spectateur"},"labels":{"email":"Email","firstName":"Prénom","lastName":"Nom de famille","password":"Mot de passe","confirmPassword":"Confirmer le mot de passe"},"placeholders":{"firstName":"Jane","lastName":"Doe","password":"Créer un mot de passe","confirmPassword":"Ressaisissez votre mot de passe"},"accept":"Accepter et rejoindre","accepting":"Configuration en coursâ¦","togglePasswordShow":"Afficher le mot de passe","togglePasswordHide":"Masquer le mot de passe","successToast":"Bienvenue à bord ! Connectez-vous pour commencer.","backToLogin":"Retour à la connexion","loading":"Vérification de votre invitationâ¦","invalidHeading":"Invitation indisponible","invalidBody":"Ce lien d'invitation est invalide, a été révoqué ou a expiré. Demandez à un administrateur d'en envoyer un nouveau.","missingToken":"Ce lien manque de son jeton d'invitation.","validation":{"required":"Ce champ est requis.","passwordMin":"Utilisez au moins 8 caractères.","passwordMismatch":"Les mots de passe ne correspondent pas."},"errors":{"failed":"Impossible d'accepter l'invitation","network":"Erreur réseau : Impossible d'atteindre le serveur. Veuillez vérifier votre connexion.","unexpected":"Erreur inattendue : Veuillez réessayer plus tard."}}},"publicShare":{"pageTitle":"Rapport partagé","loading":"Chargement du rapport partagéâ¦","notFound":"Lien expiré ou introuvable","notFoundDesc":"Ce lien partagé a peut-être expiré ou a été révoqué.","expiresOn":"Expire le {date}","noData":"Aucune donnée de rapport disponible","executionReport":"Rapport d'exécution de test","planReport":"Rapport d'exécution de plan","totalSteps":"Total des étapes","totalTests":"Total des tests","passed":"Réussi","failed":"Ãchoué","environment":"Environnement","duration":"Durée","createdBy":"Créé par","started":"Démarré","ended":"Terminé","skipped":"Sauté","reports":"Rapports","artifactsAvailable":"Artifacts disponibles","timeline":"Chronologie","running":"En cours","pending":"En attente","passRate":"Taux de réussite","testExecutions":"Exécutions de tests","analyticsReport":"Aperçu des analyses","totalExecutions":"Total des exécutions","successRate":"Taux de succès"}
66,"publicRunShare":{"pageTitle":"Résultat de test partagé","topbarTitle":"Résultat de test partagé","publicLink":"Lien public","sharedBy":"Partagé par {name}","expiresIn":"{count, plural, one {Expire dans # jour} other {Expire dans # jours}}","expiresToday":"Expire aujourd'hui","signIn":"Se connecter","loading":"Chargement du rapport partagéâ¦","testRun":"Exécution de test","outcomeCounts":"{passed} réussies · {failed} échouées · {skipped} ignorées","passRate":"Taux de réussite","stepOutcomes":"Résultats des étapes","ranSkipped":"{ran} exécutées · {skipped} ignorées après l'échec","failedAt":"Ãchec à ","inFailedStep":"{duration} dans la seule étape échouée","target":"Cible","duration":"Durée","replay":"Replay de session","syncedToSteps":"synchronisé avec les étapes","replayUnavailable":"Cet enregistrement n'est pas disponible. La vidéo a peut-être été supprimée ou n'a pas été capturée pour cette exécution.","failureSnapshot":"Résumé de l'échec","failureStepMeta":"Ãtape {step} - {duration}","timeline":"Chronologie des étapes","filter_all":"Toutes","filter_failed":"Ãchouées","filter_skipped":"Ignorées","noSteps":"Aucune étape enregistrée","noStepsMatch":"Aucune étape ne correspond à ce filtre","noScreenshot":"Aucune capture d'écran","console":"Console","consoleMeta":"{errors, plural, one {# erreur} other {# erreurs}} · {warnings, plural, one {# avertissement} other {# avertissements}}","consoleUnavailable":"Les logs de console n'ont pas été capturés pour cette exécution.","network":"Réseau","networkMeta":"{requests, plural, one {# requête} other {# requêtes}} · {failed} échouées","networkUnavailable":"La capture réseau n'est pas disponible pour cette exécution.","runDetails":"Détails de l'exécution","workspace":"Espace de travail","triggeredBy":"Déclenché par","trigger":"Déclencheur","targetUrl":"URL cible","environment":"Environnement","started":"Début","ended":"Fin","testId":"ID du test","footerSnapshot":"Généré par Text2Test · instantané en lecture seule du {date}","reportId":"ID du rapport","reportAbuse":"Signaler un abus","expiredTitle":"Ce résultat de test partagé a expiré","expiredWindow":"Le lien que vous avez ouvert expirait après {days, plural, one {# jour} other {# jours}}. Demandez à l'expéditeur de régénérer le lien, ou connectez-vous si vous avez accès à l'espace de travail.","expiredWindowUnknown":"Le lien que vous avez ouvert a expiré ou n'est plus disponible. Demandez à l'expéditeur de régénérer le lien, ou connectez-vous si vous avez accès à l'espace de travail.","requestNewLink":"Demander un nouveau lien","requestNewLinkHint":"Demandez à la personne qui a partagé cette exécution de générer un nouveau lien.","workspaceLink":"Espace de travail uniquement","viewInResults":"Ouvrir dans les résultats des tests","runLoadErrorTitle":"Impossible de charger cette exécution de test","runLoadError":"Lâexécution a peut-être été supprimée, ou elle appartient à une équipe qui nâest pas active actuellement. Passez à la bonne équipe et réessayez.","wrongTeamTitle":"Cette exécution appartient à une autre équipe","wrongTeamMessage":"Lâexécution ouverte appartient à lâéquipe {team}, qui nâest pas votre équipe active. Passez à cette équipe pour afficher le rapport.","switchTeamAction":"Passer à {team} et ouvrir","wrongCompanyTitle":"Cette exécution appartient à un autre espace de travail","wrongCompanyMessage":"Lâexécution ouverte appartient à lâéquipe {team} de lâespace de travail {company}. Passez-y pour afficher le rapport.","switchCompanyAction":"Passer à {company} et ouvrir","signInAction":"Se connecter à Text2Test"},"publicPlanShare":{"pageTitle":"Exécution de plan partagée","topbarTitle":"Exécution de plan partagée","noData":"Aucune donnée de rapport de plan disponible","untitledTest":"Test sans titre","unknownError":"Erreur inconnue","planRun":"Exécution du plan","passFailCounts":"{passed} réussis · {failed} échoués","passRate":"Taux de réussite","failed":"Ãchoué","duration":"Durée","avgPerTest":"Moy. / test","dPlanId":"ID du plan","dWorkspace":"Espace de travail","dTriggeredBy":"Déclenché par","dTrigger":"Déclencheur","dStarted":"Démarré","dEnded":"Terminé","dEnvironment":"Environnement","dDuration":"Durée","dSharedBy":"Partagé par","dExpires":"Expire","replayUnavailable":"Cet enregistrement nâest pas disponible. La vidéo a peut-être été supprimée ou nâa pas été capturée pour cette exécution.","testsInRun":"Tests de cette exécution","noTestsMatch":"Aucun test ne correspond à ce filtre","topFailureReasons":"Principales causes dâéchec","noFailures":"Aucun échec dans cette exécution","runEnvironment":"Environnement dâexécution","expiresToday":"Expire aujourdâhui","expires
66In":"{count, plural, one {Expire dans # jour} other {Expire dans # jours}}","backToPlanRun":"Retour à lâexécution du plan","testOrdinal":"test n°{n}","miniSteps":"Ãtapes","miniPassed":"Réussis","miniFailed":"Ãchoués","drillOverview":"Aperçu","drillConsole":"Console","drillNetwork":"Réseau","drillSteps":"Ãtapes","stepTimeline":"Chronologie des étapes","ranSkipped":"{ran} exécutées · {skipped} ignorées","noSteps":"Aucune étape enregistrée","footerSnapshot":"Généré par Text2Test · instantané en lecture seule du {date}","reportId":"ID du rapport","reportAbuse":"Signaler un abus","sharedBy":"Partagé par {name}","publicLink":"Lien public","fullReportBadge":"Vue du rapport complet","signIn":"Se connecter","tabAll":"Tous","tabFailed":"Ãchoués","tabPassed":"Réussis"}}`)},Zse={layout:{errorBoundary:{title:`Qualcosa è andato storto`,desc:`Si è verificato un errore imprevisto durante il rendering di questa pagina. Ricaricare di solito risolve il problema; se persiste, contatta il supporto.`,reload:`Ricarica la pagina`,home:`Vai alla dashboard`},appShell:{skipToContent:`Salta al contenuto`,sidebarLabel:`Navigazione principale`},appSidebar:{groupTestpit:`Testpit`,groupWebTest:`Test web`,groupMobileTest:`Test mobile`,groupAutomation:`Automazione`,groupTools:`Strumenti`,groupSettings:`Impostazioni`,badgeNew:`Nuovo`,badgeEarlyAccess:`Accesso anticipato`,navAnalytics:`Analisi`,navMyTests:`I miei test`,navMyMobileTests:`I miei test mobile`,navMyPlans:`I miei piani`,navTestResults:`Risultati dei test`,navDoc:`Guida`,navGetExtension:`Ottieni estensione`,navPlanResults:`Risultati del piano`,navDataSources:`Fonti di dati`,navHttpRequest:`Richiesta HTTP`,navElementTags:`Tag degli elementi`,navScenarioFiles:`Asset di test`,navUsage:`Fatturazione e piano`,navPackages:`Pacchetti`,navSettingProfiles:`Profili di impostazione`,navApiKeys:`Chiavi API`,navVault:`Profili Vault`,navTestTags:`Tag di test`,navMcpServers:`Server MCP`},appTopbar:{openMenu:`Apri menu`},workspaceSwitcher:{teamSuffix:`Team`,dropdownTitle:`Cambia workspace`,dropdownSubtitle:`Scegli un'azienda, poi un team`,searchPlaceholder:`Cerca workspacesâ¦`,noMatch:`Nessun workspace corrisponde a "{query}".`,teamCount:`{count, plural, one {# team} other {# team}}`,newTeam:`Nuovo teamâ¦`,newTeamPlaceholder:`Nome del teamâ¦`,addMemberAction:`Aggiungi membro`,createWorkspaceAction:`Crea workspace`,addMemberToTeam:`Aggiungi membro al team`,teamCreated:`Team {name} creato in {workspace}`,teamCreateFailed:`Impossibile creare il team.`,ownCompanyBadge:`La tua azienda`,loadingTeams:`Caricamento teamâ¦`,noTeams:`Nessun team in questa azienda.`,confirmSwitch:`Cambia workspace`,addMember:{title:`Aggiungi membro`,subtitle:`Invita persone a {workspace}. Riceveranno un invito via email - separa gli indirizzi con Invio o una virgola.`,emailsLabel:`Indirizzi email`,emailPlaceholder:`[email protected]`,emailPlaceholderMore:`Aggiungi un altroâ¦`,invalidTooltip:`Non è un'email valida`,removeEmail:`Rimuovi email`,invalidHint:`Alcuni indirizzi sembrano non validi - sono evidenziati in rosso.`,teamLabel:`Aggiungi al team`,workspaceLabel:`Spazio di lavoro`,roleLabel:`Ruolo`,role:{ADMIN:{label:`Amministratore`,desc:`Accesso completo - gestisci membri, fatturazione e ogni test.`},USER:{label:`Membro`,desc:`Può creare, modificare ed eseguire test, piani e fonti di dati.`}},hintEmpty:`Aggiungi almeno un'email`,hintReady:`{count, plural, one {# invito pronto} other {# inviti pronti}}`,cancel:`Annulla`,send:`{count, plural, one {Invia invito} other {Invia inviti}}`,inviteSuccess:`{count, plural, one {# invito inviato} other {# inviti inviati}}.`,inviteSkipped:`{count, plural, one {# indirizzo saltato} other {# indirizzi saltati}} - già membro o invitato.`,inviteExists:`{count, plural, one {# indirizzo ha già un account} other {# indirizzi hanno già un account}} - invita un'altra email.`,inviteError:`Impossibile inviare gli inviti.`},createWorkspace:{title:`Crea spazio di lavoro`,kickerTitle:`Inizia un nuovo spazio di lavoro`,kickerHelp:`Uno spazio di lavoro raggruppa i tuoi team, test e fatturazione sotto un'unica azienda. Sarai il proprietario e potrai invitare persone una volta configurato.`,nameLabel:`Nome dello spazio di lavoro`,namePlaceholder:`es. Acme Inc`,urlLabel:`URL dello spazio di lavoro`,urlHint:`- come i membri del team lo raggiungono`,urlPlaceholder:`acme`,teamLabel:`Primo team`,teamHint:`- puoi aggiungerne altri in seguito`,teamPlaceholder:`Team QA`,teamHelp:`I team mantengono test, piani e membri organizzati all'interno dello spazio di lavoro.`,footerHint:`Premi âµ per creare`,cancel:`Annulla`,create:`Crea spazio di lavoro`,comingSoon:`La creazione dello spazio di lavoro non è ancora disponibile - "{name}" non è stato creato.`}},userMenu:{profile:`Profilo`,account:`Account`,billingPlan:`Fatturazione e piano`,help:`Aiuto`,supportEmail:`[email protected]`,settings:`Impostazioni`,logout:`Disconnetti`,signOut:`Disconnetti`,ownerBadge:`Proprietario`,security:`Sicurezza`},themeToggle:{label:`Tema`,system:`Sistema`,light:`Chiaro`,dark:`Scuro`},mobileTabBar:{label:`Navigazione principale`,home:`Home`,tests:`Test`,plans:`Piani`,profile:`Profilo`}
66,mobileAppBar:{back:`Torna indietro`,defaultTitle:`Text2Test`},workspaceSheet:{title:`Cambia spazio di lavoro`,subtitle:`Scegli un'azienda, poi un team`,searchPlaceholder:`Cerca spazi di lavoroâ¦`,noMatch:`Nessuno spazio di lavoro trovato`,teamCount:`{count, plural, one {# team} other {# team}}`,addMember:`Aggiungi membro`,createWorkspace:`Crea spazio di lavoro`,comingSoon:`In arrivo`},welcomeModal:{title:`Text2Test su mobile`,subtitle:`Un compagno focalizzato per l'app web. Dal tuo telefono puoi:`,viewTestpitTitle:`Visualizza Testpit`,viewTestpitDesc:`Panoramica del tuo account, copertura e analisi delle esecuzioni.`,runTestsTitle:`Esegui test esistenti`,runTestsDesc:`Sfoglia i tuoi casi di test web e mobile e avvia un'esecuzione.`,viewReportsTitle:`Visualizza report di test e piano`,viewReportsDesc:`Passaggi, console, rete e riproduzione della sessione in movimento.`,note:`La creazione di nuovi test e la modifica dei prompt rimangono nell'app web.`,cta:`Capito`},productTour:{title:`Text2Test in azione`,description:`Un tour interattivo di Text2Test.`}},shell:{shareSheet:{title:`Condividi report`,publicLink:`Copia link pubblico`,publicLinkDesc:`Chiunque abbia il link · scade in 7 giorni`,publicCopied:`Link pubblico copiato`,publicLinkError:`Impossibile creare link pubblico`,workspaceOnly:`Solo spazio di lavoro`,workspaceOnlyDesc:`Membri di {name}`,workspaceCopied:`Link dello spazio di lavoro copiato`,downloadPdf:`Scarica PDF`,exportingPdf:`Esportazione PDFâ¦`},runActionsSheet:{titleTest:`Azioni di esecuzione del test`,titlePlan:`Azioni di esecuzione del piano`,rerunTest:`Esegui di nuovo il test`,rerunPlan:`Esegui di nuovo il piano`,rerunFailed:`Esegui di nuovo solo quelli falliti`,failedTests:`{count} test falliti`,copyLink:`Copia link pubblico`,linkCopied:`Link pubblico copiato`,downloadReport:`Scarica report`,downloadLogs:`Scarica log`,downloadingReport:`Download reportâ¦`,downloadingLogs:`Download logâ¦`},liveRun:{runningTest:`Esecuzione test`,runningPlan:`Esecuzione piano`,stepOf:`Passaggio {current} di {total}`,runningTestOf:`Esecuzione del test {current} di {total}`,testFailed:`Test fallito`,testPassed:`Test superato`,planComplete:`Piano completato`,passedCount:`{count} superati`,failedCount:`{count} falliti`,skippedCount:`{count} saltati`,stopRun:`Ferma esecuzione`,done:`Fatto`,viewReport:`Visualizza rapporto`,elapsed:`Trascorso`,pending:`In attesa`,passed:`superato`,failed:`fallito`},deleteDialog:{cancel:`Annulla`,typeLabel:`Digita <code>Elimina</code> per confermare`,typeWord:`Elimina`,deleting:`Eliminazioneâ¦`}},pages:JSON.parse(`{"usage":{"title":"Fatturazione e piano","subtitle":"Il tuo abbonamento, il tuo utilizzo, il metodo di pagamento e le fatture.","noPackage":"Nessun piano attivo","notPayAsYouGoTitle":"Nessun piano pay-as-you-go","notPayAsYouGoBody":"L'utilizzo e la quota di token sono mostrati per gli abbonamenti pay-as-you-go. Il tuo workspace è su un piano diverso.","stoppedBanner":"La tua quota di token per questo periodo è esaurita. Aggiorna il tuo piano per continuare a eseguire test.","lowBalanceBanner":"Hai pochi token per questo periodo.","activityTitle":"Attività di richiesta (ultimi 30 giorni)","activityEmpty":"Nessuna richiesta in questo periodo.","requestsLabel":"Richieste","manageBilling":"Gestisci fatturazione","manageBillingError":"Impossibile aprire il portale di fatturazione. Riprova.","payDifferentCardBefore":"Per pagare con un'altra carta, apri","payDifferentCardAfter":".","upgradeCta":"Aggiorna","upgradeProcessing":"Aggiornamento del tuo piano â la tua nuova quota apparirà a breve.","upgradeError":"Aggiornamento fallito. Riprova.","pastDueBanner":"Il tuo ultimo pagamento è fallito. Aggiorna la tua carta tramite Gestisci fatturazione per evitare la cancellazione.","cancelingBanner":"Il tuo abbonamento verrà annullato alla fine del periodo attuale.","choosePlanTitle":"Scegli un piano","monthly":"Mensile","annual":"Annuale","annualSaving":"â20%","perMonth":"/mo","perMonthLong":"/ mese","perYear":"/yr","billedMonthly":"fatturato mensilmente","billedAnnually":"fatturato annualmente","tokensPerMonthSuffix":"token/mo","selectPlan":"Seleziona","mostPopular":"Più popolare","planDescStarter":"Per individui e piccoli team che esplorano il testing nativo per AI.","planDescGrow":"Per team in crescita che necessitano di maggiore capacità e supporto più veloce.","planDescPro":"Per team che eseguono una copertura di test seria su larga scala.","testCasesPerMonthSuffix":"casi di test / mese","parallelRunsSuffix":"esecuzioni parallele","featWebAutomation":"Automazione dei test web","featBrowserExtension":"Estensione del browser","featCicd":"Integrazione CI/CD","featJiraSlack":"Integrazione Jira & Slack","featOnboarding":"Onboarding & formazione","featSupport48h":"Risposta supporto 48h","featSupport24h":"Risposta supporto 24h","featSupport12h":"Risposta supporto 12h","purchaseSuccessToast":"Pagamento ricevuto â il tuo piano è in fase di attivazione.","purchaseReturnToast":"Il tuo piano è attivo. Torniamo al tuo test.","purchaseCancelToast":"Checkout annullato.","paymentRequired":{"title":"Pagamento richiesto per
66continuare","reasonGeneric":"Il tuo test non può essere avviato perché il pagamento non è attualmente disponibile per il tuo workspace.","reasonBalanceInsufficient":"Il tuo saldo di token è troppo basso per avviare questo test. Ricarica aggiornando il tuo piano per continuare a eseguire test.","reasonStopped":"L'esecuzione del test è in pausa perché il tuo saldo token è esaurito. Aggiorna il tuo piano per riprendere.","reasonNoPackage":"Il tuo workspace non ha ancora un piano attivo. Scegli un piano per iniziare a eseguire i test.","reasonFeatureNotAllowed":"Questa funzionalità non è inclusa nel tuo piano attuale. Aggiorna per sbloccarla.","balanceLabel":"Saldo attuale","tokens":"token","dismiss":"Non ora","ctaUpgrade":"Aggiorna piano","ctaChoosePlan":"Scegli un piano","draftSavedNote":"Il testo del passaggio è salvato come bozza. Verrà compilato in azioni non appena il tuo piano sarà attivo.","reasonSubscriptionInactive":"Le esecuzioni dei test sono in pausa perché il tuo abbonamento non è più attivo. Scegli un piano per continuare."},"changePlanTitle":"Cambia piano","changePlanSubtitle":"Passa a un piano superiore per più capacità e supporto più rapido. Le modifiche sono calcolate pro rata.","currentPlanBadge":"Il tuo piano","currentPlanCta":"Piano attuale","customPlanName":"Custom","customPlanDesc":"Per aziende che hanno bisogno di limiti personalizzati, SLA e un partner dedicato.","customPlanPrice":"Parliamone","customPlanBilling":"Contratto personalizzato","contactSales":"Contatta vendite","customFeatureVolume":"Volume di casi di test personalizzato","customFeatureParallel":"Esecuzioni parallele personalizzate","customFeatureSupport":"Supporto partner dedicato","customFeatureSla":"SLA e contratto personalizzati","customFeatureOnboarding":"Onboarding e formazione","statusActive":"Attivo","statusCanceling":"Cancellazione","renewsOn":"Rinnova {date}","renewsUnknown":"Data di rinnovo in attesa","cancelSubscription":"Annulla abbonamento","cancelSubscriptionSectionBody":"Il tuo piano resta attivo fino alla fine del ciclo di fatturazione corrente. Dopo, il workspace diventa di sola lettura.","cancelDialogTitle":"Annullare l'abbonamento?","cancelDialogIntroBefore":"Il tuo piano {plan} resta attivo fino al","cancelDialogIntroAfter":"Dopo, il workspace diventa di sola lettura e queste funzionalità vengono disattivate:","cancelDialogQuotaImpact":"La quota mensile scende da {count} a 0 nuovi casi di test","cancelDialogSchedulesImpact":"I piani di automazione pianificati smettono di essere eseguiti","cancelDialogIntegrationsImpact":"Esecuzioni parallele, CI/CD e integrazioni Jira / Slack disattivate","cancelDialogDowngradePrompt":"Ti servono solo meno esecuzioni?","cancelDialogDowngradeCta":"Passa a {plan} ({price}/mese)","cancelDialogDowngradeSuffix":"e conserva test, cronologia e integrazioni.","cancelDialogKeepPlan":"Mantieni il piano","cancelDialogDateFallback":"la fine del ciclo di fatturazione corrente","meterTokens":"Token T2T","meterTests":"Scenari di test","meterUsedPct":"{pct}% utilizzato {suffix}","tokensRemaining":"{count} rimanenti","tokensRemainingWithPct":"{count} rimanenti · {pct}% di token utilizzati","thisPeriod":"questo periodo","requestsTotal":"{count} richieste","noPlanTitle":"Non hai ancora un piano attivo","noPlanBody":"Scegli un piano qui sotto per iniziare a eseguire i test â nulla viene eseguito finché un piano non è attivo.","meterParallel":"Esecuzioni parallele","concurrentRuns":"esecuzioni concorrenti","upgradeConfirmTitle":"Passare al piano {plan}?","upgradeConfirmText":"Il tuo piano verrà aggiornato subito e la differenza proporzionale sarà addebitata immediatamente sulla tua carta. Il saldo token residuo viene mantenuto.","upgradeSummaryNewPlan":"Nuovo piano","upgradeSummaryTests":"Casi di test / mese","upgradeSummaryParallel":"Esecuzioni parallele","upgradeSummaryProrated":"Addebito proporzionale di oggi","upgradeConfirmCta":"Aggiorna ora","upgradeConfirmCancel":"Non ora","checkoutError":"Impossibile avviare il pagamento. Riprova tra poco.","canceledBanner":"Il tuo abbonamento è stato annullato. Scegli un piano per continuare a eseguire i test.","statusCanceled":"Annullato","reactivateSubscription":"Riattiva l'abbonamento","reactivateSuccess":"Il tuo abbonamento continuerà a rinnovarsi.","reactivateError":"Impossibile riattivare l'abbonamento. Riprova.","downgradeCta":"Cambia a fine peri
66odo","downgradeScheduledCta":"Pianificato","downgradeConfirmTitle":"Passare a {plan}?","downgradeConfirmText":"Il tuo piano {currentPlan} resta attivo fino al {date}. In quella data passerai a {plan} e si applicheranno i suoi limiti.","downgradeConfirmTextNoDate":"Il tuo piano attuale resta attivo fino alla fine del periodo di fatturazione, poi passerai a {plan}.","downgradeSummaryNewPlan":"Piano dal prossimo periodo","downgradeSummaryCharge":"Addebitato oggi","downgradeSummaryNoChargeToday":"Niente â primo addebito al rinnovo","downgradeConfirmKeep":"Mantieni {plan}","downgradeConfirmCta":"Conferma il downgrade","downgradeScheduledToast":"Passaggio a {plan} pianificato per la fine di questo periodo.","downgradeError":"Impossibile pianificare il downgrade. Riprova.","pendingDowngradeLine":"Passaggio a {plan} il {date}","pendingDowngradeUndo":"Annulla","downgradeCanceledToast":"Downgrade pianificato annullato â il tuo piano attuale continua.","downgradeCancelError":"Impossibile annullare il downgrade. Riprova.","downgradeFooter":"Il tuo piano verrà declassato a {plan} al prossimo ciclo di fatturazione ({date})."},"packages":{"title":"Pacchetti","subtitle":"Gestisci il catalogo del piano pay-as-you-go. I grant di token derivano dal budget.","empty":"Nessun pacchetto trovato.","unauthorizedTitle":"Non autorizzato","unauthorizedBody":"La gestione dei pacchetti è riservata agli super admin.","colPackage":"Pacchetto","colPriceMonthly":"Mensile","colTokens":"Token/mese","colStatus":"Stato","statusActive":"Attivo","statusInactive":"Inattivo","edit":"Modifica","editTitle":"Modifica {name}","fieldName":"Nome","fieldDescription":"Descrizione","fieldPriceMonthly":"Prezzo mensile (USD)","fieldPriceAnnual":"Prezzo annuale (USD)","fieldBudget":"Budget fornitore (USD)","fieldBudgetHint":"Il grant di token deriva da questo (budget à N). Attuale: {tokens} token.","fieldParallel":"Esecuzioni parallele","fieldTestsLimit":"Casi di test / mese","fieldFeatures":"Funzionalità ","feature_WEB_TESTING":"Test web","feature_MOBILE_TESTING":"Test mobile","fieldStripeMonthly":"ID prezzo Stripe (mensile)","fieldStripeAnnual":"ID prezzo Stripe (annuale)","fieldStripeProduct":"ID prodotto Stripe","fieldDisplayOrder":"Ordine di visualizzazione","fieldActive":"Attivo","cancel":"Annulla","save":"Salva","saved":"Pacchetto salvato.","saveError":"Impossibile salvare il pacchetto.","fieldPriceLockedHint":"I prezzi vengono addebitati dagli oggetti prezzo di Stripe e non possono essere modificati qui. Per cambiare un prezzo, crea un nuovo prezzo in Stripe e aggiorna gli ID qui sotto."},"analytics":{"hero":{"webTest":"Test web","automation":"Automazione","tests":"Test","plans":"Piani","executions":"Esecuzioni","planRuns":"Esecuzioni di piani"},"trends":{"title":"Tendenze","sideBySide":"Affiancato","combined":"Combinato","testsCreated":"Test creati","plansCreated":"Piani creati","testExecutions":"Esecuzioni di test","planExecutions":"Esecuzioni di piani","thisPeriod":"Questo periodo","combinedCreation":"Creazione di test e piani","combinedExecutions":"Esecuzioni di test e piani"},"activityWide":{"open":"Apri in una nuova scheda","title":"Attività Testpit","subtitle":"Attività del team e recente su Test web e Automazione â ultimi {days} giorni","colMember":"Membro","colCreated":"Creati","colRuns":"Esecuzioni","colLastActive":"Ultima attività "},"title":"Testpit","breadcrumbAnalytics":"Analisi","subtitle":"Panoramica del tuo account","description":"Testpit trasforma la tua attività Test web e Automazione in una dashboard viva â cosa è stato eseguito, cosa è passato, cosa si è rotto e chi ha fatto cosa, fianco a fianco.","share":"Condividi","copyPublicLink":"Copia link pubblico","linkCopied":"Link copiato","publicLinkError":"Impossibile creare link pubblico","linkExpiry":"Il link scade in 7 giorni","last7days":"Ultimi 7 giorni","last30days":"Ultimi 30 giorni","last90days":"Ultimi 90 giorni","lastYear":"Ultimo anno","noData":"Nessun dato disponibile per questo periodo","empty":{"title":"Niente da mostrare ancora","subtitle":"Crea il tuo primo test o piano per iniziare a vedere qui la tua attività di test.","cta":"Fai un breve tour"},"overallStatus":"Stato complessivo del test","passing":"passante","failing":"fallito","notRun":"non ancora eseguito","cards":{"executions":"Esecuzioni","webTests":"Test web","mobileTests":"Test mobile","passed":"Superato","failed":"Fallito","statusBreakdown":"Analisi dello stato","vsPrev":"vs precedente","thisPeriod":"questo periodo"},"coverageByType":"Copertura per tipo","runbar":{"scheduled":"Pi
66anificato","passed":"superato","failed":"fallito"},"charts":{"testCases":"Casi di test","executions":"Esecuzioni"},"stats":{"total":"Totale","web":"Web","mobile":"Mobile","passed":"Superato","failed":"Fallito","errors":"Errori","passRate":"Tasso di passaggio"},"controls":{"actual":"Attuale","cumul":"Cumul."},"teamActivity":{"title":"Attività del team","created":"creato","runs":"esegue"},"recentActivity":{"planTag":"Piano","title":"Attività recente","ran":"eseguito"},"legend":{"title":"Legenda stato","passed":"Superato","failed":"Fallito","errors":"Errori","pending":"In attesa","stopped":"Fermato"}},"web":{"overview":{"title":"Test Web","searchPlaceholder":"Cerca per nome, directory, idâ¦","filter":"Filtra","newTest":"Nuovo Test Web","noTests":"Nessun test corrisponde ai tuoi filtri","noTestsHint":"Prova a modificare la tua ricerca o a cancellare i filtri.","kpiDirectories":"Directory","kpiDirectoriesSub":"{count, plural, one {in # gruppo} other {in # gruppi}}","kpiTests":"Test","kpiTestsSub":"{count, plural, one {in # gruppo} other {in # gruppi}}","directoryColumn":"Directory","directoryUnfiled":"-","directoryAssign":"Assegna directory","directoryRoot":"Tutti i test","directoryNew":"Nuova cartella","directorySubdir":"Nuova sottocartella","directoryNewHere":"+ Nuova cartella qui","directoryRename":"Rinomina","directoryDelete":"Elimina cartella","directoryMoveHere":"Sposta qui","directoryRemoveAssignment":"Rimuovi dalla cartella","directorySearchPlaceholder":"Cerca cartelleâ¦","directoryFilterFacet":"Directory","directoryFilterAll":"Tutte le cartelle","directoryFilterUnfiled":"Non classificato","directoryDeleteTitle":"Eliminare la cartella?","directoryDeleteLoading":"Controllo contenuti della cartella...","directoryDeleteWithChildren":"Questa cartella contiene {count, plural, =1 {1 elemento} other {# elementi}} (sottocartelle o test). Scegli cosa fare con essi:","directoryDeleteEmpty":"Questa cartella è vuota. Eliminarla?","directoryDeleteCascade":"Elimina tutto il contenuto","directoryDeleteMoveUp":"Sposta i contenuti di un livello sopra","directoryDeleteCancel":"Annulla","directoryDeleteConfirm":"Elimina cartella","colName":"Nome","colId":"ID","colType":"Tipo","colItems":"Elementi","colActions":"Azioni","colCreated":"Data di creazione","rowsTests":"test","edit":"Modifica","duplicate":"Duplica","move":"Sposta","delete":"Elimina","cancel":"Annulla","deleteTitle":"Eliminare \\"{name}\\"?","deleteMessage":"Questo test, insieme a tutti i suoi passaggi e alla cronologia delle esecuzioni, verrà rimosso permanentemente. Questa azione non può essere annullata.","deleteMessageDirEmpty":"Questa operazione non può essere annullata.","deleteMessageDirNotEmpty":"I test al suo interno vengono prima spostati nella directory superiore. Questa operazione non può essere annullata.","deleteTypeLabel":"Digita <code>Elimina</code> per confermare","deleteTypeWord":"Elimina","deleteConfirm":"Elimina test","deleteConfirmDir":"Elimina cartella","deleting":"Eliminazioneâ¦","createdToast":"\\"{name}\\" creato","duplicatedToast":"\\"{name}\\" duplicato","updatedToast":"Test aggiornato","deletedToastTitle":"Test eliminato","deletedToast":"\\"{name}\\" è stato rimosso.","emptyTitle":"Nessun test web ancora","emptySubtitle":"Scrivi passaggi in testo semplice, chiama API, verifica visivi o passa a AI autopilot. Text2Test esegue i tuoi test su diversi browser e riporta.","emptyTour":"Fai un rapido tour","emptyCreate":"Crea test web","filterCreation":"Data di creazione","filterAny":"Qualsiasi momento","filter7d":"Ultimi 7 giorni","filter30d":"Ultimi 30 giorni","filter90d":"Ultimi 90 giorni","filterYear":"Ultimi 12 mesi","newTestHere":"Nuovo test qui","directoryDuplicateName":"Esiste già una directory con questo nome. Prova con un altro.","saveFailed":"Salvataggio non riuscito","moveDuplicateName":"Nella cartella di destinazione esiste già un elemento con questo nome.","moveFailed":"Impossibile spostare l'elemento","colUpdated":"Aggiornato"},"wizard":{"newTitle":"Nuovo test web","step1Label":"Crea","step1Sub":"Nome & URL","step2Label":"Rivedi","step2Sub":"Conferma & invia","back":"Indietro","next":"Avanti","submit":"Crea test","creating":"Creazioneâ¦","lede":"Dai un nome al tuo test e alla pagina da cui inizia. Puoi regolare il profilo di esecuzione qui sotto.","name":"Nome del test","namePlaceholder":"es. Checkout - percorso felice","url":"URL iniziale","urlPlaceholder":"https://example.com","urlError":"Inserisci un URL valido che inizia con <code>http://</code> o <code>https://</code>.","profile":"Impostazione profilo","profileDefault":"Predefinito","mcp":"Server MCP","mcpNone":"Nessuno","reviewTitle":"Rivedi & crea","reviewLede":"Conferma i dettagli qui sotto, poi crea il test.","summaryName":"Nome","summaryUrl":"URL iniziale","summaryProfile":"Profilo","notSet":"Non impostato","search":"Cercaâ¦","noResults":"Nessun risultato.","step1Kicker":"Passo 01","step2Kicker":"Passo 02","step1Heading":"Nome e configura il tuo test web","step1Lede":"Dai al test un nome breve e descrittivo e l'URL da cui partire. Le impostazioni avanzate ti consentono di associare un profilo di impostazione e/o server MCP.","step2Heading":"Conferma e crea","step2Lede":"Controlla tutto qui sotto. Puoi tornare indietro per modificare qualsiasi campo.","advancedTitle":"Impostazioni avanzate","advancedSub":"Profilo di impostazione · server MCP","profileNone":"Nessun profilo di impostazione selezionato","requiredFields":"Campi obbligatori","edit":"Modifica","untitled":"Test senza titolo","limitReachedToast":"Limite di test raggiunto","limitReachedDesc":"La quota dello scenario di test del tuo piano è esaurita. Aggiorna il tuo piano per creare più test.","limitReachedCta":"Agg
66iorna piano","submitFailedToast":"Impossibile salvare il test","duplicateName":"Esiste già un test con questo nome. Prova con un altro."},"editor":{"desktopOnly":{"title":"La modifica è solo da desktop","body":"Creare e modificare i test richiede l'editor completo, disponibile nell'app web desktop.","cta":"Torna ai risultati dei test"},"breadcrumb":"Test web","edit":"Modifica","runTest":"Esegui test","runNeedsSteps":"Aggiungi almeno un passo per eseguire il test","runFailed":"Impossibile avviare l'esecuzione del test. Riprova.","cacheCleared":"Azioni memorizzate cancellate per questo passo.","cacheClearFailed":"Impossibile cancellare la cache. Riprova.","saved":"Passaggio salvato.","nothingToSave":"Nessuna modifica da salvare.","saveFailed":"Impossibile salvare. Riprova.","referenceUploaded":"Immagine di riferimento caricata.","referenceUploadFailed":"Impossibile caricare l'immagine di riferimento. Riprova.","referenceImage":"Riferimento","removeReference":"Rimuovi immagine di riferimento","referenceRemoved":"Immagine di riferimento rimossa.","unsavedRunTitle":"Salva questo passaggio prima di eseguirlo","unsavedRunBody":"Fai clic su Salva per preparare il passaggio, poi esegui.","unsavedLeaveTitle":"Hai passaggi non salvati","unsavedLeaveBody":"{count, plural, one {# passaggio ha} other {# passaggi hanno}} modifiche non salvate. Uscendo ora andranno perse.","unsavedLeaveSave":"Salva ed esci","unsavedLeaveDiscard":"Esci comunque","unsavedLeaveStay":"Resta qui","stop":"Ferma","runStarting":"Avvio dell'esecuzione del testâ¦","runStartingHint":"Preparazione del browser - il risultato del primo passo apparirà qui a breve.","steps":"Passi","addSequence":"Aggiungi una sequenza","insertHere":"Inserisci passo qui","emptyTitle":"Il tuo test è pronto. Aggiungi il tuo primo prompt.","emptyBody":"I prompt sono i singoli passi del tuo test. Inizia con un'istruzione in linguaggio naturale, una richiesta HTTP, un controllo visivo, un'iniezione di script, oppure lascia fare ad Autopilot e lascia che l'agente si occupi di tutto.","emptyTip":"Suggerimento: premi <kbd>N</kbd> ovunque per aggiungere un nuovo prompt","tag":"Tag","findTag":"Trova un tagâ¦","noTags":"Nessun tag.","allTagsAssigned":"Tutti i tag assegnati","removeTag":"Rimuovi {name}","deleteStepTitle":"Elimina questo passaggio?","deleteStepA11y":"Elimina passaggio","deleteStepBody":"Rimuove {label} e le sue azioni compilate. Questa operazione non può essere annullata.","cancel":"Annulla","delete":"Elimina","deleting":"Eliminazioneâ¦","editConfig":"Modifica configurazione del test","editTest":"Modifica test","updateTest":"Aggiorna test","updatingTest":"Aggiornamentoâ¦","httpNoRequest":"Nessuna richiesta selezionata","httpCreate":"Crea richiesta HTTP","httpSelect":"Seleziona richiesta HTTP","httpSearch":"Cerca richieste salvateâ¦","searching":"Ricercaâ¦","httpNoSaved":"Nessuna richiesta salvata. Creane una in Strumenti ⺠Richiesta HTTP.","httpRefEdit":"Modifica nome di riferimento","httpRefSave":"Salva nome di riferimento","httpShowReqResp":"Mostra richiesta e risposta","httpTry":"Prova la richiesta","httpChange":"Cambia richiesta","httpDialogRequest":"Richiesta","httpDialogResponse":"Risposta","httpDialogBody":"Corpo","httpDialogHeaders":"Intestazioni","httpDialogNoBody":"Nessun corpo","httpDialogNoHeaders":"Nessuna intestazione","httpDialogNoResponse":"Ancora nessuna risposta â esegui questo passaggio per acquisirne una.","httpDialogLoadingResponse":"Caricamento della rispostaâ¦","httpDialogResponseFailed":"Impossibile caricare la risposta.","autopilotReasoning":"Ragionamento dell'autopilota","autopilotToolCalls":"Chiamate degli strumenti","autopilotOutput":"Output del modello","autopilotNoToolCalls":"Nessuna chiamata agli strumenti ancora","autopilotWaitingStream":"In attesa di outputâ¦","autopilotInstruction":"Istruzione","viewPayload":"Visualizza payload","autopilotPayload":"Payload dell'autopilota","railFollow":"Segui sequenza attiva","railFollowOn":"Scorrimento automatico attivato - seguendo la sequenza attiva","railFollowOff":"Scorrimento automatico disattivato - clicca per seguire la sequenza attiva","railExtension":"Estensione del browser","railReports":"Report","railVariables":"Variabili","railExtensionTip":"Estensione del browser - esegui questo test localmente nel tuo browser e regola le opzioni di esecuzione","railExtensionDisabledTip":"Estensione del browser non installata - installala per eseguire questo test localmente nel tuo browser","railReportsTip":"Report - esplora le esecuzioni passate di questo test, il loro stato e gli screenshot","railVariablesTip":"Variabili - i valori utilizzati da questo test e lo stato attuale dall'ultima esecuzione","browserExtension":"Estensione del browser","extUse":"Usa Estensione","extTerminate":"Termina dopo l'esecuzione","extIncognito":"Usa modalità in incognito","extNotDetected":"Estensione non rilevata - l'esecuzione tornerà a un browser remoto.","freshWindowReplay":"Nessuna finestra di test aperta: l'esecuzione viene ripetuta dal primo passaggio fino a quello selezionato per ricostruire lo stato.","extIncognitoBlocked":"L'estensione non può aprire una finestra in incognito: abilita \\"Consenti modalità in incognito\\" in chrome://extensions o disattiva la modalità in incognito nelle impostazioni di esecuzione.","extStartError":"L'estensione non è riuscita ad avviare l'esecuzione: {message}","reportsBlurb":"Vedi ogni esecuzione di questo test - stato, passaggi e screenshot.","openResults":"Apri risultati del test â","noVariables":"Nessuna variabile definita per questo test.","save":"Salva","variablesDefined":"Variabili","variablesEndState":"Stato finale dell'ultima esecuzione","variablesCurrentState":"Stato attuale dell'esecuzione in corso","noScreenshot":"Screenshot non disponibile","variablesUpdated":"Variabili aggiornate","variableUnset":"Non impostato","variableVaultBadge":"C
66offre","variableSecretBadge":"Segreto","variableValueLabel":"valore","variableValuePlaceholder":"Inserisci un valoreâ¦","variableUseVault":"Risolvi dal vault","variableVaultLoading":"Caricamento dei profili del vaultâ¦","variableNoVaultProfiles":"Nessun profilo del vault configurato per questo team.","variableVaultProfile":"Profilo del vault","variableSecretRef":"Riferimento segreto","variableSecretRefPlaceholder":"ad es. apps/myapp/db#password","variableSecretRefRelativePlaceholder":"ad es. password o myapp#password","variablePathPrefixHint":"Prefisso del percorso: {prefix}","variableVaultNote":"Il valore viene recuperato dal vault durante l'esecuzione e non viene mai memorizzato.","variableSecret":"Memorizza come segreto","variableOverwriteSecret":"Sovrascrivi segreto","variableClear":"Cancella","variableHelpDefault":"Questo valore viene salvato con il test e sostituito ovunque appaia il segnaposto.","variableHelpSecret":"Questo segreto è nascosto. Fai clic su sovrascrivi per sostituirlo.","variableHelpOverwrite":"Inserisci un nuovo valore per sostituire il segreto memorizzato.","variableViewState":"Visualizza stato della variabile","insertTitle":"Inserisci","insertParameter":"Parametro","insertHint":"Suggerimento","insertSetting":"Impostazione","insertComment":"Commento","insertTestCall":"Chiamata sub-testâ¦","testCallTitle":"Inserisci chiamata sub-test","testCallHelp":"Cerca un test da chiamare come sub-test e inseriscilo come link.","testCallSearch":"Cerca test per nomeâ¦","testCallHint":"Digita per cercare un test da chiamare.","testCallEmpty":"Nessun test corrispondente trovato.","testCallParamsTitle":"Parametri del sotto-test","testCallParamsHelp":"Sovrascrivi i parametri di {name} per questa chiamata. Il test originale non viene modificato.","testCallParamsLoading":"Caricamento dei parametriâ¦","testCallParamsEmpty":"Il test selezionato non ha parametri.","testCallParamsError":"Impossibile caricare i parametri.","testCallNoScenario":"Nessuno scenario trovato per il test selezionato.","testCallParamDefault":"Predefinito: {value}","testCallParamEmptyValue":"(vuoto)","testCallParamInherited":"Predefinito","testCallParamOverridden":"Sovrascritto","testCallParamFrom":"Da {name}","testCallParamReset":"Ripristina il valore predefinito","testCallBack":"Cambia test","testCallApply":"Applica","lifecycleTitle":"Ciclo di vita - esegui questa sequenza come hook di setup/teardown","lifecycle":{"classic":"Classico (passo normale)","beforeEach":"Prima di ogni","afterEach":"Dopo ogni","beforeEachStep":"Prima di ogni passo","afterEachStep":"Dopo ogni passo","tearDown":"Smantellamento"},"lbStep":"Passo","lbIntention":"Intenzione","lbUrl":"URL corrente","lbAction":"Azione","lbGoal":"Obiettivo","lbJustification":"Giustificazione","lbDescription":"Dettagli dell'azione","lbDiagnostics":"Diagnostica","seeMore":"Vedi di più","seeLess":"Vedi di meno","close":"Chiudi","extConnected":"Estensione connessa","extDisconnected":"Estensione non connessa","realtimeConnected":"Realtime connesso","realtimeDisconnected":"Realtime offline","runFromHere":"Esegui da qui","runInProgress":"Un' esecuzione è già in corso","charLimitExceeded":"Limite di caratteri superato ({limit} max)","deleteStepLabel":"{type} (passo {index})","stepType":{"prompt":{"label":"Text2Test Native","short":"T2T Native"},"authored":{"label":"Text2Test Authoring Agent","short":"T2T Authoring Agent"},"http":{"label":"Richiesta HTTP","short":"Richiesta HTTP"},"visual":{"label":"Verifica visiva Text2Test","short":"Verifica visiva T2T"},"script":{"label":"Agente di scripting Text2Test","short":"Agente scripting T2T"},"auto":{"label":"Text2Test Autopilot","short":"T2T Autopilot"}},"addSource":{"prompt":{"desc":"Dal testo semplice al caso di test. Il modello nativo Text2Test compila passaggi deterministici."},"authored":{"desc":"Testo semplice in caso di test, scritto da un agente IA che legge lo schermo e verifica ogni passo."},"script":{"desc":"Incolla uno script esistente o generane uno automaticamente dal testo semplice; viene eseguito inline con il test."},"auto":{"desc":"Affida a un LLM i flussi complessi e ricchi di ragionamento."},"visual":{"desc":"Diff di screenshot o controllo di visibilità dell'elemento."},"http":{"desc":"Chiama un'API e verifica la risposta."}},"placeholder":{"prompt":"Descrivi in linguaggio naturale cosa deve accadereâ¦\\nEs. fai clic su \\"Accedi\\", inserisci l'e-mail, attendi la dashboard.","authored":"Descrivi cosa deve fare questo passoâ¦\\nL'agente legge lo schermo, scrive i passi e verifica ognuno.","visual":"Descrivi cosa verificare visivamente.\\nEs. l'intestazione della dashboard è visibile, primi 120px, tolleranza 0,2%.","auto":"Descrivi un obiettivo di alto livello per Autopilot.\\nEs. completa l'onboarding, massimo 8 azioni.","script":"// Playwright \`page\` disponibile - restituisci un booleano per superare/fallire.\\n// es. return await page.locator('h1').isVisible();"},"showCompiledActions":"Mostra azioni compilate","hideCompiledActions":"Nascondi azioni compilate","showRunScreenshots":"Mostra screenshot dell'esecuzione","hideRunScreenshots":"Nascondi screenshot dell'esecuzione","moveUp":"Sposta su","moveDown":"Sposta giù","deleteSequence":"Elimina sequenza","replaceReferenceVisual":"Riferimento caricato - sostituisci","uploadReferenceVisual":"Carica riferimento visivo","openScriptStudio":"Apri Script Studio","saveSequence":"Salva passaggio","saveAndCompile":"Salva e c
66ompila in azioni","unsavedBadge":"Non salvato","compilingBadge":"Compilazioneâ¦","savingBadge":"Salvataggioâ¦","unsavedLeaveSaving":"I passaggi vengono compilati in azioni, può richiedere un momento.","runThisSequence":"Esegui questa sequenza","stepScriptAria":"Script del passo {index}","stepPromptAria":"Prompt del passo {index}","scriptAskPlaceholder":"Chiedi all'AI di scrivere o modificareâ¦","scriptChatPlaceholder":"Chiedi all'AI di scrivere o modificare⦠( / per i comandi )","scriptChatRunInProgress":"Esecuzione del test in corso - la chat riprende al termine","askAi":"Chiedi all'AI","send":"Invia","text2testAssistant":"Assistente Text2Test","scriptPageState":{"live":"pagina live","noPage":"nessuna pagina","noExtension":"nessuna estensione"},"scriptLoadingConversation":"Caricamento conversazioneâ¦","scriptEmptyReady":"Chiedi all'assistente di ispezionare la pagina e scrivere codice Playwright nell'editor.","scriptEmptyNoExtension":"Apri l'estensione su una pagina live e l'assistente potrà vedere lo schermo. Per ora può comunque aiutarti a scrivere codice.","scriptCommandCompactDesc":"Riassumi la conversazione per liberare contesto","scriptCommandCompactHint":"servono almeno 4 messaggi","scriptCommandClearDesc":"Cancella la conversazione e la sua memoria","scriptCommandClearHint":"ancora nessun messaggio","rewindToHere":"Torna qui","scriptCommands":"Comandi","scriptStudio":"Script Studio","promptStudio":"Prompt Studio","authoredEmptyReady":"Di' all'agente cosa deve fare questo passo. Legge lo schermo, scrive ogni frase Text2Test e la esegue prima di tenerla.","authoredEmptyNoExtension":"Apri l'estensione su una pagina live e l'agente verificherà ogni frase sullo schermo reale. Per ora scrive solo in base alle regole Text2Test.","promptEditor":"Editor del prompt","compiledStepsTitle":"Passi compilati","compiledStepsEmpty":"Nessun passo compilato.","openPromptStudio":"Apri Prompt Studio","stepAuthoredAria":"Passo scritto dall'IA","authoredAskPlaceholder":"Chiedi all'agente di scritturaâ¦","stepNumber":"Passo {index}","run":"Esegui","aiProposedChanges":"Modifiche proposte dall'AI","reject":"Rifiuta","accept":"Accetta","scriptEditor":"Editor script","resizeEditorChat":"Ridimensiona editor e chat","resizeEditorOutput":"Ridimensiona editor e output","reportsLoading":"Caricamento reportâ¦","reportsEmpty":"Nessun report ancora. Esegui questo test per vedere i risultati qui.","reportsCount":"{count} report(s)","reportsSteps":"{passed}/{total} passaggi superati","reportsStartDate":"Data di inizio","reportsEndDate":"Data di fine","reportsClearDates":"Cancella filtro data","chatConnectFailed":"Impossibile connettersi all'assistente. Il servizio autopilot è raggiungibile e hai effettuato l'accesso?","chatSendFailed":"Invio del messaggio non riuscito.","chatCompactConnectFailed":"Impossibile connettersi all'assistente per la compattazione.","chatCompactFailed":"Compattazione della conversazione non riuscita.","chatCompacted":"Conversazione compattata.","chatWarmingUp":"ð Preparazione della pagina live (esecuzione dei passaggi precedenti)â¦"},"results":{"breadcrumbWeb":"Test Web","title":"Risultati del test","description":"Ogni esecuzione del test web in questo spazio di lavoro. Approfondisci qualsiasi esecuzione per vedere il suo stato, la cronologia dei passaggi e la riproduzione.","rangeAll":"Tutto il tempo","range24h":"Ultime 24 ore","range7d":"Ultimi 7 giorni","range30d":"Ultimi 30 giorni","range90d":"Ultimi 90 giorni","passRate":"Tasso di successo","ofRuns":"/ {total} esecuzioni","status_passed":"Superato","status_failed":"Fallito","status_running":"In esecuzione","status_stopped":"Fermato","status_pending":"In attesa","status_error":"Errore","searchPlaceholder":"Cerca per nome del test, esecutore, ID esecuzioneâ¦","filter":"Filtra","colTest":"Test","colStatus":"Stato","colExecution":"Esecuzione","colDuration":"Durata","colStarted":"Iniziato","colEnvironment":"Ambiente","colExecutor":"Esecutore","execScheduled":"Pianificato","execManual":"Manuale","actView":"Visualizza dettagli","actCopyId":"Copia ID esecuzione","copiedId":"ID esecuzione copiato","truncated":"Mostrando i {shown} esecuzioni più recenti di {total}. Riduci l'intervallo di date o cerca per trovare esecuzioni più vecchie.","noMatch":"Nessuna esecuzione corrisponde a questi filtri.","resetFilters":"Ripristina filtri","rowsRuns":"esecuzioni","emptyTitle":"Nessuna esecuzione ancora","emptyMessage":"Quando esegui un test web, ogni esecuzione arriva qui con il suo stato, tempi, video di riproduzione e diagnosi passo dopo passo.","panel":{"runTitle":"Esecuzione test","actionsLabel":"Azioni","run":"Esecuzione","tabOverview":"Panoramica","tabSteps":"Passaggi","tabAdminDetail
66s":"Dettagli admin","diagnostics":"Diagnostica","summary":"Riepilogo","steps":"Passi","passed":"Superato","failed":"Fallito","skipped":"Saltato","replay":"Ripeti","screenshots":"Screenshot · {count}","timeline":"Cronologia dei passi · {ran} eseguiti, {skipped} saltati","loadingSteps":"Caricamento passiâ¦","noSteps":"Nessun dato sui passi per questa esecuzione.","status":"Stato","action":"Azione","context":"Contesto","aiRequest":"Richiesta AI","aiResponse":"Risposta AI","screenshot":"Screenshot","noAiRequest":"Nessun dato di richiesta per questo passo.","noAiResponse":"Nessun dato di risposta AI per questo passo.","noScreenshot":"Nessuno screenshot catturato per questo passo.","seeMore":"Vedi di più","seeLess":"Vedi di meno","copy":"Copia","tabConsole":"Console","downloadLogs":"Scarica i log","tabNetwork":"Rete","loadingLogs":"Caricamento logâ¦","noLogs":"Nessun log della console per questa esecuzione.","noLogMatch":"Nessuna voce di log corrisponde.","lvl_all":"Tutti","lvl_err":"Errori","lvl_warn":"Avviso","searchLog":"Cerca logâ¦","errCount":"{count} errori","warnCount":"{count} avvisi","entryCount":"{count} voci","loadingNetwork":"Caricamento reteâ¦","noNetwork":"Nessuna cattura di rete per questa esecuzione.","noNetworkMatch":"Nessuna richiesta corrisponde.","searchUrl":"Cerca URLâ¦","onlyErrors":"Solo errori","requests":"richieste","ofTotal":"di {total}","openVideo":"Apri video","backToRequests":"Torna alle richieste","net_headers":"Intestazioni","net_payload":"Payload","net_response":"Risposta","net_timing":"Tempi","netGeneral":"Generale","netUrl":"URL di richiesta","netMethod":"Metodo di richiesta","netStatus":"Codice di stato","netRemote":"Indirizzo remoto","netResponseHeaders":"Intestazioni di risposta","netRequestHeaders":"Intestazioni di richiesta","netNoHeaders":"Nessuna intestazione catturata.","netNoPayload":"Nessun payload di richiesta.","netQuery":"Parametri della stringa di query","netRequestBody":"Corpo della richiesta","netNoBody":"Il corpo della risposta non è stato catturato.","netNoTiming":"Nessun dato di temporizzazione.","netTotal":"Totale","phase_blocked":"Bloccato","phase_dns":"Ricerca DNS","phase_connect":"Connessione iniziale","phase_ssl":"SSL","phase_send":"Richiesta inviata","phase_wait":"In attesa (TTFB)","phase_receive":"Download del contenuto","copyLink":"Copia link pubblico","openTest":"Apri test","openInNewTab":"Apri in una nuova scheda","linkCopied":"Link pubblico copiato","publicLinkError":"Impossibile creare link pubblico","share":"Condividi","rerunTest":"Esegui nuovamente il test","rerunStarted":"Esecuzione del test riavviata","rerunFailed":"Impossibile avviare il riavvio"},"shareModal":{"title":"Condividi esecuzione del test","whoCanView":"Chi può visualizzare","publicLabel":"Chiunque abbia il link","publicDesc":"Report di sola lettura, senza accesso. Ideale per gli ingegneri che analizzano un errore.","workspaceLabel":"Solo workspace","workspaceDesc":"Membri di {name}. Si apre direttamente nell'app.","expiresLabel":"Scadenza del link","expiresOption":"{count, plural, one {# giorno} other {# giorni}}","revokeNote":"L'accesso dei visualizzatori può essere revocato in qualsiasi momento dalle impostazioni del test.","linkLabel":"Link di condivisione","copyLink":"Copia link","copied":"Copiato","createError":"Impossibile creare il link di condivisione","cancel":"Annulla","next":"Avanti","done":"Fatto"},"artifacts":{"empty":"Nessun artefatto di passaggio per questa esecuzione.","aiRequest":"Richiesta AI","aiResponse":"Risposta AI","screenshot":"Screenshot","refScreenshot":"Riferimento","currScreenshot":"Corrente","prevScreenshot":"Precedente","noScreenshot":"Nessuno screenshot catturato.","copy":"Copia"},"actCopyLink":"Copia link pubblico","copiedLink":"Link pubblico copiato","actionsLabel":"Azioni","logsDownloadFailed":"Impossibile scaricare i log","publicLinkError":"Impossibile creare link pubblico","deltaPassRate":"{pct}% tasso di passaggio","vsPrev":"vs. precedenti 30 giorni","anyone":"Chiunque","filterTest":"Test: {name}","clearTestFilter":"Cancella filtro test","columns":"Colonne","chipAll":"Tutti"},"getExtension":{"eyebrow":"Estensione Chrome Text2Test","title":"Crea i test guardandoli in esecuzione","subtitle":"Scrivi un passo in testo semplice, eseguilo dal vivo tramite l'estensione e guardalo eseguire in un browser reale. Vedi cosa funziona, perfeziona cosa non funziona, senza mai uscire dal test.","install":"Aggiungi a Chrome","installHint":"Installazione gratuita. Funziona con il tuo piano Text2Test esistente.","chromeOnly":"L'estensione Text2Test funziona solo su <b>Google Chrome</b>. Gli altri browser non sono supportati.","whatItDoes":"Cosa fa l'estensione","features":{"watch":{"title":"Guarda i test in esecuzione dal vivo","description":"Si apre una finestra del browser dedicata per ogni esecuzione del test.
66Vedi ogni passo eseguito in tempo reale."},"interact":{"title":"Intervieni quando serve","description":"Chiudi pop-up, ignora banner, supera schermate di verifica. Il test continua da dove l'hai lasciato."},"sequences":{"title":"Funziona con tutti i tipi di sequenza","description":"T2T Native, Autopilot, Scripting Agent, Visual Verification e HTTP Request funzionano tutti tramite l'estensione."}},"installed":{"connected":"Estensione connessa","title":"Tutto pronto. Ecco cosa puoi fare.","subtitle":"Tre cose da sapere: attivare l'accesso Incognito, controllare il comportamento di ogni esecuzione e taggare gli elementi con precisione tramite clic destro.","step1":{"title":"Consenti l'estensione in Incognito","description":"Dopo aver installato l'estensione Text2Test, clicca su Dettagli e consenti la Modalità in incognito. Se non la vedi, clicca sull'icona dell'estensione nella barra degli strumenti â Gestisci estensione â attiva Consenti in incognito. Questo permette a Text2Test di eseguire i tuoi test in una finestra privata e pulita, con una sessione sempre nuova.","callout":"Trovi questa opzione su chrome://extensions, clicca su Dettagli per Text2Test, poi attiva Consenti in incognito.","siteAccess":"Accesso al sito","siteAccessDesc":"Consenti a questa estensione di leggere e modificare tutti i tuoi dati sui siti che visiti:","onAllSites":"Su tutti i siti","siteSettings":"Impostazioni del sito","pinToToolbar":"Blocca sulla barra degli strumenti","allowIncognito":"Consenti in incognito","allowIncognitoDesc":"Avviso: Google Chrome non può impedire alle estensioni di registrare la cronologia di navigazione. Per disabilitare questa estensione in incognito, deseleziona questa opzione.","allowFileUrls":"Consenti l'accesso agli URL di file","collectErrors":"Raccogli errori","source":"Origine","sourcePath":"Estensione non pacchettizzata · Caricata da: ~/Downloads/extension-main-latest"},"step2":{"title":"Controlla il comportamento di ogni esecuzione","description":"Apri un qualsiasi Web Test e troverai il pannello Estensione browser. Attiva le opzioni sottostanti per vedere cosa fa ciascuna. Clicca su un interruttore per provarlo.","mockCrumb":"Test / Checkout regression","mockTitle":"Checkout regression","mockNavOverview":"Panoramica","mockNavTestEditor":"Editor test","mockGroupMobileTest":"Test mobile","mockNavDevicePark":"Parco dispositivi","mockClose":"Chiudi","mockInfo":"Maggiori informazioni","replay":"Riproduci"},"step3":{"title":"Tagga gli elementi con precisione tramite clic destro","description":"Nella finestra dell'estensione, fai clic destro su un qualsiasi elemento e passa sopra Text2Test per taggarlo. Il tag fissa l'elemento esatto in modo che un passo clicchi esattamente sulla cosa giusta, anche quando la pagina ha elementi simili.","taggedButtonLabel":"Nuovo progetto","taggedBadge":"Taggato","whyTagTitle":"Perché taggare?","whyTagBody":"Un tag blocca un passo su un elemento esatto. Rende i clic precisi e mantiene i test stabili quando la pagina cambia attorno ad esso.","whyTagSteps":{"step1":"Fai clic destro sull'elemento nella finestra dell'estensione.","step2":"Passa sopra <code>Text2Test</code> nel menu.","step3":"Scegli <code>Label</code>, poi <code>Single</code> o <code>Multiple</code>.","step4":"L'elemento è taggato e pronto per essere usato in un passo."},"replay":"Riproduci"}}},"doc":{"breadcrumb":"Test Web","title":"Test Web","lead":"Crea, esegui e condividi test UI basati su browser usando prompt in linguaggio naturale - dal tuo primo test all'estensione del browser, alle origini dati e alle sequenze.","onThisPage":"In questa pagina","copy":"Copia","copied":"Copiato","calloutInfo":"Nota","calloutTip":"Suggerimento","calloutWarning":"Importante","cta":"Nuovo test Web","updated":"Aggiornato a luglio 2026"}},"mobile":{"earlyAccess":{"eyebrow":"Test mobile · Accesso anticipato","title":"I test non si fermano al browser","subtitle":"Text2Test copre anche il mobile. La stessa creazione di test in linguaggio naturale e i modelli IA specializzati per il testing software, ora anche per le tue app iOS e Android. Stiamo lanciando prima il self-service web; il mobile è già pronto per i team che lo desiderano.","chip":"iOS e Android, pronti da oggi","ctaDemo":"Richiedi una demo","ctaEarly":"Ottieni l'accesso anticipato","earlyDone":"Sei in lista","ctaHint":"Nessun impegno. Ti contatteremo via e-mail prima di attivare qualsiasi cosa.","s1Title":"Un solo approccio, ogni superficie","s1Body":"Web e mobile non dovrebbero significare due strumenti di test, due flussi di lavoro e due team diversi. Text2Test usa lo stesso modello di creazione dei test per entrambi: ciò che il tuo team impara sul web si trasferisce direttamente al mobile. Scrivi il test una volta, in linguaggio naturale, e lascia che la piattaforma faccia il resto.","benefitsLabel":"Cosa ti offre il testing mobile","benefits":{"devices":"Copertura su dispositivi reali iOS e Android, non solo schermi emulati","steps":"Gli stessi passi di test in linguaggio naturale che il tuo team usa già per il web","once":"Scrivi un test una volta ed eseguilo su iOS e Android, senza suite duplicate","reports":"Report pensati per risolvere i bug in fretta, c
66on registrazioni e log completi a ogni esecuzione"},"s3Title":"Perché prima il web","s3Body":"Abbiamo lanciato prima il self-service web per mantenere l'esperienza semplice e farla bene. Il testing mobile è già attivo per i team che ne hanno bisogno, configurato insieme a noi perché si adatti al vostro processo di rilascio fin dal primo giorno. Man mano che estendiamo il self-service, il mobile entrerà negli stessi piani che già conosci.","closingTitle":"Pronto a testare la tua app mobile?","closingBody":"Parliamo di come portare Text2Test nelle tue release iOS e Android. Ti guideremo passo passo e ti aiuteremo con la configurazione."}},"settings":{"profiles":{"breadcrumbSettings":"Impostazioni","title":"Impostazioni Profili","description":"Pacchetti riutilizzabili di impostazioni di esecuzione applicati ai tuoi test a livello di prompt, generale, team o azienda.","newProfile":"Nuovo Profilo","searchPlaceholder":"Cerca profiliâ¦","filterType":"Tipo","colName":"Nome","colType":"Ambito","colDescription":"Descrizione","colCreated":"Creato","colSettings":"Impostazioni","settingsCount":"{count, plural, =0 {Nessuna impostazione} one {# impostazione} other {# impostazioni}}","rowsProfiles":"profili","actEdit":"Modifica","actCopyId":"Copia ID","actDelete":"Elimina","copiedId":"ID profilo copiato","emptyTitle":"Nessun profilo di impostazione ancora","emptyMessage":"Crea il tuo primo profilo di impostazione per gestire centralmente le impostazioni di esecuzione a livello di prompt, team o azienda.","emptyCta":"Crea profilo di impostazione","noMatch":"Nessun profilo corrisponde ai tuoi filtri.","resetFilters":"Reimposta filtri","deleteTitle":"Elimina profilo di impostazione","deleteMessage":"Sei sicuro di voler eliminare â{name}â? I test legati a questo profilo torneranno a impostazioni di priorità inferiore. Questa operazione non può essere annullata.","deleteConfirm":"Elimina","deleteCancel":"Annulla","deleted":"Profilo di impostazione eliminato","deleteFailed":"Impossibile eliminare il profilo di impostazione","loadFailed":"Impossibile caricare i profili di impostazione","typeGeneral":"Generale","typeTeam":"Team","typeCompany":"Azienda","typePrompt":"Prompt"},"editor":{"breadcrumbSettings":"Impostazioni","breadcrumbProfiles":"Profili di impostazione","titleCreate":"Nuovo profilo di impostazione","titleEdit":"Modifica profilo di impostazione","back":"Torna ai profili","cancel":"Annulla","save":"Salva","saving":"Salvataggioâ¦","labelName":"Nome","placeholderName":"Nome profilo","labelType":"Ambito","placeholderType":"Seleziona ambito","labelDescription":"Descrizione","placeholderDescription":"Breve descrizione (opzionale)","labelBody":"Impostazioni","placeholderBody":"timeout::30000\\nretryCount::2\\nheadless::true","bodyHint":"Un'impostazione per riga nella forma chiave::valore. I token separati da spazi vengono analizzati al momento del salvataggio.","typeHintTitle":"Priorità dell'ambito","typeHint":"Quando la stessa chiave viene risolta da più profili, l'ambito di priorità più alta prevale: Prompt > Generale > Team > Azienda.","typeGeneral":"Generale","typeTeam":"Team","typeCompany":"Azienda","typePrompt":"Prompt","nameRequired":"à richiesto un nome profilo.","created":"Profilo di impostazione creato","updated":"Profilo di impostazione aggiornato","saveFailed":"Salvataggio del profilo di impostazione non riuscito","loadFailed":"Impossibile caricare questo profilo di impostazione."},"vault":{"breadcrumb":"Impostazioni","title":"Profili Vault","description":"Collega il tuo fornitore di vault per risolvere in modo sicuro i segreti durante l'esecuzione del test senza memorizzarli.","newProfile":"Aggiungi profilo Vault","searchPlaceholder":"Cerca profili vaultâ¦","kpiTotal":"Profili totali","kpiProviders":"Fornitori","kpiDefaults":"Predefiniti","kpiCompany":"Ambito aziendale","colName":"Nome","colProvider":"Fornitore","colUrl":"URL","colScope":"Ambito","colDefault":"Predefinito","scopeCompany":"Azienda","scopeTeam":"Team","defaultYes":"Predefinito","rowsProfiles":"profili","noMatch":"Nessun profilo vault corrisponde alla tua ricerca.","resetSearch":"Reimposta ricerca","emptyTitle":"Nessun profilo vault ancora","emptyMessage":"Collega il tuo fornitore di vault per risolvere in modo sicuro i segreti durante l'esecuzione del test senza memorizzarli.","actEdit":"Modifica","actTestConnection":"Testa connessione","actCopyId":"Copia ID","actDelete":"Elimina","copiedId":"ID del profilo del vault copiato","connectionSuccess":"Test di connessione riuscito","connectionFailed":"Test di connessione fallito","created":"Profilo del vault creato","createFailed":"Creazione del profilo del vault fallita","updated":"Profilo del vault aggiornato","updateFailed":"Agg
66iornamento del profilo del vault fallito","deleted":"Profilo del vault eliminato","deleteFailed":"Eliminazione del profilo del vault fallita","deleteTitle":"Elimina profilo del vault","deleteMessage":"Eliminare â{name}â? I test che utilizzano questo profilo non riusciranno a risolvere i segreti. Questa operazione non può essere annullata.","deleteCancel":"Annulla","deleteConfirm":"Elimina","createTitle":"Aggiungi profilo del vault","editTitle":"Modifica profilo del vault","fieldName":"Nome","namePlaceholder":"ad es. produzione-vault","fieldProvider":"Fornitore","providerHashicorp":"HashiCorp Vault","providerAws":"AWS Secrets Manager","providerAzure":"Azure Key Vault","providerCyberark":"CyberArk Conjur","fieldUrl":"URL","urlPlaceholder":"ad es. https://vault.example.com","tokenVault":"Token del vault","tokenAws":"Token Bearer AWS","tokenAzure":"Token Azure AD","tokenCyberark":"Login & API Key","tokenPlaceholderHashicorp":"Inserisci il tuo token HashiCorp Vault","tokenPlaceholderAws":"Inserisci il tuo token Bearer o STS AWS","tokenPlaceholderAzure":"Inserisci il tuo token Bearer Azure AD","tokenPlaceholderCyberark":"login:api_key (ad es. admin:2ab3xyâ¦)","tokenHint":"Lascia vuoto per mantenere il token esistente.","fieldNamespace":"Namespace","namespacePlaceholderHashicorp":"ad es. admin/team-a","namespacePlaceholderCyberark":"Account Conjur (ad es. default)","fieldPathPrefix":"Prefisso del percorso","pathPrefixPlaceholder":"ad es. secret/data/myapp","fieldScope":"Ambito","fieldDescription":"Descrizione","descriptionPlaceholder":"Descrizione facoltativaâ¦","fieldIsDefault":"Profilo predefinito","isDefaultHint":"Questo profilo sarà selezionato automaticamente quando si aggiungono parametri del vault.","cancel":"Annulla","save":"Salva","update":"Aggiorna"},"apiKeys":{"title":"Chiavi API","subtitle":"Crea e gestisci chiavi API per l'accesso programmatico a Text2Test.","searchPlaceholder":"Cerca per nome o chiaveâ¦","createButton":"Crea chiave API","emptyTitle":"Nessuna chiave API","emptyDescription":"Crea chiavi API per accedere all'API Text2Test in modo programmatico per CI/CD, automazione e integrazioni.","colName":"Nome","colKey":"Chiave","colPermissions":"Permessi","colStatus":"Stato","colCreated":"Creata","colExpires":"Scade","statusActive":"Attiva","statusInactive":"Inattiva","never":"Mai","fullAccess":"Accesso completo","actionActivate":"Attiva","actionDeactivate":"Disattiva","actionRevoke":"Revoca","toggleSuccess":"Stato della chiave API aggiornato.","toggleError":"Impossibile aggiornare lo stato della chiave API.","revokeSuccess":"Chiave API revocata.","revokeError":"Impossibile revocare la chiave API.","revokeConfirmTitle":"Revoca chiave API","revokeConfirmMessage":"Questa azione è irreversibile. Le integrazioni che utilizzano questa chiave smetteranno di funzionare immediatamente.","createSuccess":"Chiave API creata.","createError":"Impossibile creare la chiave API.","createTitle":"Crea chiave API","createDescription":"Configura la tua nuova chiave API con nome, permessi e scadenza.","nameLabel":"Nome","namePlaceholder":"es. Pipeline CI/CD","permissionsLabel":"Permessi","template_fullAccess":"Accesso completo","template_cicd":"CI/CD","template_testRunner":"Esecutore di test","template_readOnly":"Solo lettura","template_reportViewer":"Visualizzatore report","template_custom":"Personalizzato","expirationLabel":"Scadenza","expiryPreset_week1":"1 settimana","expiryPreset_weeks2":"2 settimane","expiryPreset_month1":"1 mese","expiryPreset_months3":"3 mesi","expiryPreset_months6":"6 mesi","expiryPreset_custom":"Personalizzato","validityLabel":"Validità (giorni)","validityMaxError":"Non può superare 180 giorni (6 mesi)","cancel":"Annulla","revealTitle":"La tua chiave API","revealWarning":"Copia questa chiave ora. Non potrai più vederla!","done":"Fatto"},"mcpServers":{"breadcrumb":"Impostazioni","title":"Server MCP","description":"Collega i server MCP per estendere il tuo assistente AI con strumenti e capacità personalizzati.","newServer":"Aggiungi Server MCP","searchPlaceholder":"Cerca server MCPâ¦","filterScope":"Ambito","colName":"Nome","colUrl":"URL","colScope":"Ambito","colEnabled":"Abilitato","colUseInChat":"Usa in Chat","colCreated":"Creato","rowsServers":"server","kpiTotal":"Server totali","kpiEnabled":"Abilitato","kpiChat":"Abilitato per la chat","kpiTeam":"Ambito team","scopeTeam":"Team","scopeCompany":"Azienda","actEdit":"Modifica","actTestConnection":"Testa Connessione","actCopyId":"Copia ID","actDelete":"Elimina","copiedId":"ID server copiato","emptyTitle":"Nessun server MCP ancora","emptyMessage":"Collega i server MCP per estendere il tuo assistente AI con strumenti e capacità personalizzati.","emptyCta":"Agg
66iungi Server MCP","noMatch":"Nessun server corrisponde ai tuoi filtri.","resetFilters":"Reimposta filtri","deleteTitle":"Elimina Server MCP","deleteMessage":"Eliminare â{name}â? I test che utilizzano questo server perderanno l'accesso ai suoi strumenti. Questa operazione non può essere annullata.","deleteConfirm":"Elimina","deleteCancel":"Annulla","deleted":"Server MCP eliminato","deleteFailed":"Impossibile eliminare il server MCP","loadFailed":"Impossibile caricare i server MCP","createTitle":"Nuovo Server MCP","createSubtitle":"Collega un nuovo server MCP per estendere le capacità AI.","editTitle":"Modifica Server MCP","editSubtitle":"Aggiorna le impostazioni del server e i dettagli di connessione.","labelName":"Nome","placeholderName":"es. I miei strumenti personalizzati","labelUrl":"URL","placeholderUrl":"es. https://mcp.example.com/sse","labelScope":"Ambito","scopeTeamHint":"Disponibile solo per il team attuale.","scopeCompanyHint":"Disponibile per tutti i team dell'azienda.","labelDescription":"Descrizione","placeholderDescription":"Breve descrizione (opzionale)","labelEnabled":"Abilitato","labelUseInChat":"Usa in Chat","labelHeaders":"Intestazioni personalizzate","addHeader":"Aggiungi intestazione","headerKey":"Nome intestazione","headerValue":"Valore intestazione","noHeaders":"Nessuna intestazione personalizzata configurata.","testConnection":"Testa connessione","testSuccess":"Connessione riuscita","testFailed":"Connessione fallita","cancel":"Annulla","save":"Salva","create":"Crea","saving":"Salvataggioâ¦","created":"Server MCP creato","updated":"Server MCP aggiornato","saveFailed":"Impossibile salvare il server MCP","nameRequired":"à richiesto un nome del server.","urlRequired":"à richiesto un URL del server."},"doc":{"breadcrumb":"Impostazioni","title":"Profili di impostazione","lead":"Ogni impostazione che puoi regolare sulla piattaforma - esecuzione, browser, attese, corrispondenza AI, localizzazione, video e mobile - con valori accettati, predefiniti e esempi pratici.","onThisPage":"In questa pagina","copy":"Copia","copied":"Copiato","calloutInfo":"Nota","calloutTip":"Suggerimento","calloutWarning":"Importante","cta":"Crea un profilo di impostazione","updated":"Aggiornato il 2 giugno 2026"},"nav":{"aria":"Impostazioni","breadcrumb":"Impostazioni","groupPersonal":"Personale","account":"Account","billingPlan":"Fatturazione e piano","security":"Sicurezza","help":"Aiuto","notifications":"Notifiche"},"account":{"title":"Account","subtitle":"Gestisci il tuo profilo, password e preferenze personali.","ownerBadge":"Proprietario","changePhoto":"Cambia foto","comingSoon":"Questo non è ancora collegato al backend.","detailsTitle":"Dettagli personali","detailsDesc":"Aggiorna il tuo nome e come appari in tutto il workspace.","detailsFootnote":"Le modifiche si applicano a tutti i workspace a cui appartieni.","saveChanges":"Salva modifiche","saved":"Profilo aggiornato.","saveFailed":"Impossibile salvare il tuo profilo.","fullName":"Nome completo","jobTitle":"Titolo di lavoro","optional":"Facoltativo","emailAddress":"Indirizzo email","emailHint":"Utilizzato per l'accesso e le notifiche.","emailChangeNote":"Per cambiare la tua email, contatta [email protected].","phone":"Telefono","timezone":"Fuso orario","language":"Lingua","passwordTitle":"Password","passwordDesc":"Imposta una nuova password. Ti consigliamo almeno 12 caratteri.","passwordFootnote":"Resterai connesso su questo dispositivo.","updatePassword":"Aggiorna password","currentPassword":"Password attuale","newPassword":"Nuova password","confirmPassword":"Conferma nuova password","toggleVisibility":"Attiva/disattiva la visibilità della password","passwordSaved":"Password aggiornata.","passwordSaveFailed":"Impossibile aggiornare la tua password.","passwordRequired":"Compila tutti i campi della password.","passwordMismatch":"Le nuove password non corrispondono."},"members":{"title":"Membri","subtitle":"Gestisci chi può accedere al workspace {workspace}.","seatsTitle":"Posti","seatsDesc":"Il tuo piano include fino a {limit} posti. Aggiungi membri per collaborare a test e piani.","seatsUsed":"posti utilizzati","seatsFootnote":"Hai bisogno di più posti? Agg
66iorna il tuo piano o parla con le vendite.","membersTitle":"Membri","membersDesc":"Persone con accesso al workspace {workspace}.","inviteMember":"Invita membro","empty":"Nessun membro ancora.","colMember":"Membro","colRole":"Ruolo","colLastActive":"Ultima attività ","you":"Tu","roleAdmin":"Admin","roleMember":"Membro","roleOwner":"Proprietario","makeAdmin":"Rendi admin","makeMember":"Rendi membro","removeMember":"Rimuovi membro","roleUpdated":"Ruolo di {name} aggiornato.","roleUpdateFailed":"Impossibile aggiornare il ruolo.","memberRemoved":"Rimosso {name} dal workspace.","memberRemoveFailed":"Impossibile rimuovere questo membro.","removeConfirmTitle":"Rimuovere membro?","removeConfirmBody":"{name} perderà l'accesso a questo workspace e libererà un posto. Questa azione non può essere annullata.","removeConfirmCancel":"Annulla","removeConfirmConfirm":"Rimuovi","pendingTitle":"Inviti in sospeso","pendingDesc":"Persone che sono state invitate ma non si sono ancora unite.","pendingBadge":"In sospeso","resend":"Invia di nuovo","revoke":"Revoca","invitedToday":"Invitato oggi","invitedDaysAgo":"Invitato {days, plural, one {# giorno} other {# giorni}} fa","inviteResent":"Invito reinviato a {email}.","inviteResendFailed":"Impossibile reinviare l'invito.","inviteRevoked":"Invito revocato per {email}.","inviteRevokeFailed":"Impossibile revocare l'invito."},"security":{"title":"Sicurezza","subtitle":"Autenticazione a due fattori e sessioni attive.","comingSoon":"Questo non è ancora collegato al backend.","twoFactorTitle":"Autenticazione a due fattori","twoFactorDesc":"Aggiungi un secondo passaggio al login utilizzando un'app di autenticazione.","authenticatorApp":"App di autenticazione","on":"Attivo","off":"Disattivo","configured":"Configurato con un'app di autenticazione.","notConfigured":"Non configurato","viewBackupCodes":"Visualizza codici di backup","sessionsTitle":"Sessioni attive","sessionsDesc":"Dispositivi attualmente connessi al tuo account.","signOutAll":"Disconnetti tutti","thisDevice":"Questo dispositivo","revoke":"Revoca"},"notifications":{"title":"Notifiche","subtitle":"Decidi cosa raggiunge la tua casella di posta e la casella di posta in-app.","cardTitle":"Notifiche","cardDesc":"Scegli su cosa essere notificato e dove. Le ricevute di fatturazione critiche vengono sempre inviate via email.","email":"Email","inApp":"In-app","footnote":"Si applica solo al tuo account.","save":"Salva preferenze","saved":"Preferenze di notifica salvate.","rows":{"testFailures":{"label":"Errori di esecuzione del test","desc":"Quando un test web o un piano termina con errori o fallimenti."},"planCompletion":{"label":"Completamento del piano","desc":"Quando un piano di automazione programmato termina un'esecuzione completa."},"weeklyDigest":{"label":"Riepilogo settimanale","desc":"Un riepilogo di lunedì del tasso di successo, test instabili e utilizzo."},"usageLimits":{"label":"Limiti di utilizzo","desc":"Quando raggiungi l'80% / 100% della tua quota mensile di casi di test."},"billingInvoices":{"label":"Fatturazione e fatture","desc":"Ricevute di pagamento, rinnovi e avvisi di addebito non riuscito."},"productUpdates":{"label":"Aggiornamenti del prodotto","desc":"Nuove funzionalità , punti salienti del changelog e suggerimenti."}}}},"tools":{"doc":{"breadcrumb":"Strumenti","title":"Strumenti","lead":"Fonti di dati, richieste HTTP salvate e tag di elementi - i blocchi di costruzione riutilizzabili su cui si basano i tuoi test e piani.","onThisPage":"In questa pagina","copy":"Copia","copied":"Copiato","calloutInfo":"Nota","calloutTip":"Suggerimento","calloutWarning":"Importante","cta":"Nuova fonte di dati","updated":"Aggiornato il 2 giugno 2026"},"testTags":{"breadcrumb":"Strumenti","title":"Tag di test","description":"Etichette c
66olorate che assegni a test o directory per organizzare, filtrare e raggruppare il tuo suite di test.","newTag":"Crea Tag","searchPlaceholder":"Cerca tagâ¦","allowUsersLabel":"Consenti agli utenti di gestire i tag","colName":"Nome","colColor":"Colore","colType":"Tipo","typeEntity":"Entità vincolata","typeDirectory":"Directory vincolata","rowsTags":"tag","noMatch":"Nessun tag corrisponde alla tua ricerca.","resetSearch":"Ripristina ricerca","emptyTitle":"Nessun tag di test ancora","emptyMessage":"Crea il tuo primo tag per iniziare a organizzare test e directory.","actEdit":"Modifica","actDelete":"Elimina","deleteTitle":"Elimina tag di test","deleteMessage":"Eliminare â{name}â? I test che utilizzano questo tag perderanno l'etichetta. Questa operazione non può essere annullata.","deleteConfirm":"Elimina","deleteCancel":"Annulla","deleted":"Tag di test eliminato","deleteFailed":"Impossibile eliminare il tag di test","createTitle":"Crea Tag di Test","editTitle":"Modifica Tag di Test","fieldName":"Nome","namePlaceholder":"es. Smoke, Regression, Login","fieldType":"Tipo","fieldColor":"Colore","cancel":"Annulla","save":"Salva","createBtn":"Crea","created":"Tag di test creato","updated":"Tag di test aggiornato","saveFailed":"Impossibile salvare il tag di test","duplicateName":"Esiste già un tag con questo nome","nameRequired":"Il nome del tag è obbligatorio","permissionEnabled":"Gli utenti possono ora gestire i tag","permissionDisabled":"Solo gli amministratori possono gestire i tag","permissionFailed":"Impossibile aggiornare i permessi"},"elementTags":{"breadcrumb":"Strumenti","title":"Tag di Elemento","description":"Selettori nominati e stabili catturati dall'estensione del browser e dall'ispezione mobile in modo che i tuoi passaggi rimangano indirizzabili mentre il DOM cambia.","searchPlaceholder":"Cerca per nome o selettoreâ¦","filterType":"Tipo","filterPlatform":"Piattaforma","colName":"Nome","colSelector":"Selettore","colType":"Tipo","colPlatform":"Piattaforma","rowsTags":"tag","actView":"Visualizza","actCopySelector":"Copia selettore","actDelete":"Elimina","copiedSelector":"Selettore copiato","emptyTitle":"Nessun tag elemento ancora","emptyMessage":"I tag elemento vengono catturati dall'estensione del browser e dall'ispezione mobile - appariranno qui una volta che tagghi gli elementi mentre costruisci i test.","noMatch":"Nessun tag corrisponde ai tuoi filtri.","resetFilters":"Reimposta filtri","deleteTitle":"Elimina tag elemento","deleteMessage":"Eliminare â{name}â? I passaggi che fanno riferimento a questo tag torneranno al loro selettore inline. Questo non può essere annullato.","deleteConfirm":"Elimina","deleteCancel":"Annulla","deleted":"Tag elemento eliminato","deleteFailed":"Impossibile eliminare il tag elemento","loadFailed":"Impossibile caricare i tag elemento","typeLabel":"Etichetta","typeWait":"Aspetta fino a scomparire","typeExclude":"Escludi","typePredefined":"Predefinito","platformWeb":"Web","platformMobile":"Mobile","platformIos":"iOS","platformAndroid":"Android","panelSelector":"Selettore","panelXpath":"XPath","panelFullXpath":"Full XPath","panelElementId":"ID elemento","panelFrame":"URL del frame","panelScreenshots":"Screenshot","panelPage":"Pagina","panelElement":"Elemento","panelNoScreenshot":"Nessuno screenshot catturato per questo tag."},"dataSources":{"breadcrumb":"Strumenti","title":"Fonti di dati","description":"File e risposte HTTP che guidano i tuoi piani basati sui dati - una riga per iterazione, condivisa attraverso lo spazio di lavoro.","newSource":"Nuova fonte di dati","searchPlaceholder":"Cerca fonti di datiâ¦","filterFormat":"Formato","filterSource":"Fonte","sourceFile":"File","sourceHttp":"HTTP","colFormat":"Formato","colName":"Nome","colSource":"Fonte","colCreated":"Creato","rowsSources":"fonti","kpiTotal":"Fonti totali","kpiFile":"Caricamenti di file","kpiHttp":"Binding HTTP","kpiFormats":"Formati","actEdit":"Modifica dettagli","actCopyId":"Copia ID","actDelete":"Elimina","copiedId":"ID della fonte dati copiato","emptyTitle":"Nessuna fonte dati ancora","emptyMessage":"Carica un file CSV, XLS, XLSX, JSON o XML, oppure collega una richiesta HTTP salvata, per guidare piani basati sui dati.","emptyCta":"Nuova fonte dati","noMatch":"Nessuna fonte dati corrisponde ai tuoi filtri.","resetFilters":"Reimposta filtri","deleteTitle":"Elimina fonte dati","deleteMessage":"Eliminare â{name}â? I piani e i test collegati a esso falliranno al loro prossimo esecuzione fino a quando non verranno ricollegati. Questa operazione non può essere annullata.","deleteConfirm":"Elimina","deleteCancel":"Annulla","deleted":"Fonte dati eliminata","deleteFailed":"Impossibile eliminare la fonte dati","loadFailed":"Impossibile caricare le fonti dati","createTitle":"Nuova fonte dati","createSubtitle":"Carica un file o collega una richiesta HTTP salvata.","editTitle":"Modifica fonte dati","editSubtitle":"Rinominala, sostituisci il file o ricollega la richiesta HTTP.","currentFile":"File corrente","tabFile":"Caricamento file","tabHttp":"Richiesta HTTP","dropTitle":"Trascina un file o clicca per sfogliare","dropHint":"Fino a 10 MB · CSV · XLS · XLSX · JSON · XML","fileReplace":"Sostituisci","fileRemove":"Rimuovi","labelName":"Nome","placeholderName":"Nome della fonte dati","labelDescription":"Descrizione","placeholderDescription":"Breve descrizione (opzionale)","labelFormat":"Formato","labelRequest":"Richiesta HTTP","pickRequest":"Seleziona una richiesta salvata","no
66Requests":"Nessuna richiesta HTTP salvata trovata.","parseAs":"Analizza risposta come","create":"Crea","save":"Salva","cancel":"Annulla","saving":"Salvataggioâ¦","created":"Fonte dati creata","updated":"Fonte dati aggiornata","saveFailed":"Impossibile salvare la fonte dei dati","uploadFailed":"Caricamento file non riuscito","nameRequired":"à richiesto un nome.","fileRequired":"Scegli un file da caricare.","requestRequired":"Seleziona una richiesta HTTP da associare.","actDownload":"Scarica file","actQuickView":"Visualizzazione rapida","downloaded":"File scaricato","downloadFailed":"Impossibile scaricare il file","quickViewTitle":"{name} ({format})","quickViewLoading":"Caricamento anteprimaâ¦","quickViewError":"Impossibile caricare l'anteprima del file","quickViewEmpty":"Il file è vuoto","quickViewRawFallback":"Impossibile analizzare il file â visualizzazione del contenuto grezzo","quickViewRows":"{count, plural, one {# riga} other {# righe}}","quickViewCols":"{count, plural, one {# colonna} other {# colonne}}","quickViewLines":"{count, plural, one {# riga} other {# righe}}"},"httpRequest":{"breadcrumb":"Strumenti","title":"Richiesta HTTP","description":"Chiamate API salvate che puoi inviare su richiesta o collegare a un test - imposta un metodo, URL, intestazioni, corpo e autenticazione, quindi invia per ispezionare la risposta in tempo reale.","newRequest":"Nuova richiesta","searchPlaceholder":"Cerca per nome o URLâ¦","filterMethod":"Metodo","colMethod":"Metodo","colName":"Nome","colUrl":"URL","colUpdated":"Aggiornato","rowsRequests":"richieste","kpiTotal":"Richieste totali","kpiGet":"Leggi (GET)","kpiWrite":"Scrivi","kpiMethods":"Metodi utilizzati","actEdit":"Modifica","actDuplicate":"Duplica","actCopyId":"Copia ID","actDelete":"Elimina","copiedId":"ID richiesta copiato","emptyTitle":"Nessuna richiesta salvata ancora","emptyMessage":"Crea e salva una richiesta API da inviare su richiesta o fare riferimento dai tuoi test.","emptyCta":"Nuova richiesta","noMatch":"Nessuna richiesta corrisponde ai tuoi filtri.","resetFilters":"Reimposta filtri","deleteTitle":"Elimina richiesta","deleteMessage":"Eliminare â{name}â? I test e le fonti di dati che lo fanno riferimento non funzioneranno fino a quando non verranno ripuntati. Questa azione non può essere annullata.","deleteConfirm":"Elimina","deleteCancel":"Annulla","deleted":"Richiesta eliminata","deleteFailed":"Impossibile eliminare la richiesta","loadFailed":"Impossibile caricare questa richiesta.","duplicated":"Richiesta duplicata","copySuffix":"copia","back":"Torna alle richieste","namePlaceholder":"Richiesta senza titolo","descriptionPlaceholder":"Aggiungi una breve descrizioneâ¦","urlPlaceholder":"https://example.com/api","send":"Invia","sending":"Invioâ¦","save":"Salva","saving":"Salvataggioâ¦","saved":"Richiesta salvata","saveFailed":"Impossibile salvare la richiesta","sendFailed":"Impossibile inviare la richiesta","copyCurl":"Copia come cURL","copiedCurl":"cURL copiato","importCurl":"Importa cURL","unsaved":"Modifiche non salvate","savedBadge":"Salvato","tabParams":"Parametri","tabHeaders":"Intestazioni","tabBody":"Corpo","tabAuth":"Autenticazione","tabSettings":"Impostazioni","kvKey":"Chiave","kvValue":"Valore","kvHeader":"Intestazione","kvAddParam":"Aggiungi parametro","kvAddHeader":"Aggiungi intestazione","kvEmptyParams":"Nessun parametro di query. Aggiungi uno o includili nell'URL.","kvEmptyHeaders":"Nessuna intestazione ancora.","bodyNone":"Nessuno","bodyText":"Testo","bodyJson":"JSON","bodyFormData":"Dati del modulo","bodyPlaceholder":"{\\n \\"key\\": \\"value\\"\\n}","bodyTextPlaceholder":"Contenuto di testo sempliceâ¦","bodyFormPlaceholder":"Aggiungi campi del modulo qui sotto.","formatJson":"Formatta JSON","invalidJson":"Il corpo non è un JSON valido.","formKey":"Chiave","formValue":"Valore","formAddField":"Aggiungi campo","formEmptyFields":"Nessun campo del modulo. Aggiungi una coppia chiave-valore.","authNone":"Nessuna autenticazione","authBearer":"Token Bearer","authBasic":"Autenticazione di base","authApiKey":"Chiave API","authNoneHint":"Questa richiesta sarà inviata senza alcuna autenticazione.","authToken":"Token","authUsername":"Nome utente","authPassword":"Password","authKey":"Chiave","authValue":"Valore","authAddTo":"Aggiungi a","authAddToHeader":"Intestazione","authAddToQuery":"Parametro di query","settingFollow":"Segui i reindirizzamenti","settingFollowHint":"Segui automaticamente le intestazioni di posizione 3xx.","settingVerifySsl":"Verifica certificato SSL","settingVerifySslHint":"Rifiuta le risposte con un certificato TLS non valido.","responseTitle":"Risposta","responseReady":"Pronto per l'invio","responseReadyHint":"Premi Invia per attivare la richiesta e ispezionare la risposta.","responseStatus":"Stato","responseTime":"Tempo","responseSize":"Dimensione","respBody":"Corpo","respHeaders":"Intestazioni","respPretty":"Carino","respRaw":"Raw","respCopyBody":"Copia corpo","respCopied":"Copiato negli appunti","respCopyFailed":"Copia non riuscita","respExpandTitle":"Valore intestazione","respCopyValue":"C
66opia valore","tabCurl":"cURL","variables":"Variabili","variablesHintPre":"Imposta i valori per i","variablesHintPost":"segnaposto","variablePlaceholder":"Valoreâ¦","variableSecret":"Contrassegna come segreto","variablePublic":"Contrassegna come pubblico","curlAutoGenerated":"Generato automaticamente dal modulo. Modifica manualmente per sovrascrivere.","curlApply":"Applica al modulo","curlApplied":"cURL applicato al modulo","importTitle":"Importa da cURL","importSubtitle":"Incolla un comando cURL per popolare il metodo, l'URL, le intestazioni e il corpo.","importPlaceholder":"curl https://api.example.com/users \\\\\\n -H 'Authorization: Bearer abc123'","import":"Importa","importFailed":"Impossibile analizzare quel comando cURL."},"scenarioFiles":{"breadcrumb":"Strumenti","title":"Asset di test","description":"File caricati disponibili per l'uso nei passaggi dello scenario: script, dati di test o documenti di riferimento condivisi nel workspace.","newFile":"Nuovo asset di test","searchPlaceholder":"Cerca asset di testâ¦","colName":"Nome","colDescription":"Descrizione","colCreatedBy":"Creato da","colCreated":"Creato","rowsFiles":"asset","kpiTotal":"Asset totali","actEdit":"Modifica dettagli","actDownload":"Scarica file","actCopyId":"Copia ID","actDelete":"Elimina","copiedId":"ID asset di test copiato","emptyTitle":"Nessun asset di test ancora","emptyMessage":"Carica un file per renderlo disponibile per i passaggi dello scenario. Qualsiasi tipo di file è accettato, fino a 10 MB.","emptyCta":"Nuovo asset di test","noMatch":"Nessun asset di test corrisponde alla tua ricerca.","resetFilters":"Ripristina filtri","deleteTitle":"Elimina asset di test","deleteMessage":"Eliminare â{name}â? Gli scenari che fanno riferimento a questo file non potranno più accedervi. Questa azione non può essere annullata.","deleteConfirm":"Elimina","deleteCancel":"Annulla","deleted":"Asset di test eliminato","deleteFailed":"Impossibile eliminare l'asset di test","loadFailed":"Impossibile caricare gli asset di test","downloaded":"File scaricato","downloadFailed":"Impossibile scaricare il file","createTitle":"Nuovo asset di test","createSubtitle":"Carica un file per renderlo disponibile negli scenari.","editTitle":"Modifica asset di test","editSubtitle":"Cambia il nome o la descrizione. Il file caricato non può essere sostituito.","dropTitle":"Trascina un file o fai clic per sfogliare","dropHint":"Fino a 10 MB · qualsiasi tipo di file","labelName":"Nome","placeholderName":"Nome asset di test","labelDescription":"Descrizione","placeholderDescription":"Breve descrizione (opzionale)","labelFileKey":"Chiave file","create":"Crea","save":"Salva","cancel":"Annulla","saving":"Salvataggioâ¦","created":"Asset di test creato","updated":"Asset di test aggiornato","saveFailed":"Impossibile salvare l'asset di test","uploadFailed":"Caricamento file non riuscito","nameRequired":"à richiesto un nome.","fileRequired":"Scegli un file da caricare."}},"automation":{"overview":{"breadcrumb":"Automazione","title":"Piani","description":"Raggruppa i test in directory, oppure eseguili in piani. Pianificali, eseguili in parallelo o attivali dalla CI.","newPlan":"Nuovo Piano","newDirectory":"Nuova Directory","searchPlaceholder":"Cerca piani e directoryâ¦","colType":"Tipo","colName":"Nome","colCreated":"Creato","colItems":"Elementi","kpiDirectories":"Directory","kpiDirectoriesSub":"{count, plural, one {in # gruppo} other {in # gruppi}}","kpiPlans":"Piani","kpiPlansSub":"Eseguito su Chromium · Firefox · WebKit","rowsPlans":"piani","itemsCount":"{count, plural, =0 {empty} one {# elemento} other {# elementi}}","actRun":"Esegui","actStop":"Ferma","actResults":"Risultati del piano","actEdit":"Modifica","actDelete":"Elimina","actAddPlan":"Aggiungi piano","actAddDir":"Aggiungi sottodirectory","actRename":"Rinomina","actMove":"Sposta","dirPickerLabel":"Directory","dirMoveHere":"Sposta qui","dirNewHere":"+ Nuova directory qui","dirSearchPlaceholder":"Cerca directoryâ¦","dirRoot":"Tutti i piani","running":"Esecuzione del piano avviata","runFailed":"Impossibile avviare l'esecuzione del piano","stopped":"Piano fermato","stopFailed":"Impossibile fermare il piano","emptyTitle":"Nessun piano ancora","emptyMessage":"Crea un piano per eseguire un gruppo di test insieme - su richiesta o secondo un programma.","emptyTour":"Fai un rapido tour","emptyCta":"Nuovo piano","noMatch":"Nessun piano corrisponde alla tua ricerca.","resetSearch":"Cancella ricerca","dirTitle":"Nuova directory","dirTitleSub":"Creato all'interno di {parent}.","dirTitleRoot":"Appare in cima alla tua lista di piani.","dirNamePlaceholder":"Nome della directory","dirCreate":"Crea directory","renameTitle":"Rinomina directory","rename":"Rinomina","cancel":"Annulla","deleteTitlePlan":"Elimina piano","deleteMessagePlan":"Eliminare â{name}â? La sua cronologia di esecuzione viene mantenuta, ma il piano e il suo programma vengono rimossi. Questa operazione non può essere annullata.","deleteTitleDir":"Elimina directory","deleteMessageDirEmpty":"Eliminare â{name}â? Questa operazione non può essere annullata.","deleteMessageDirNotEmpty":"Eliminare â{name}â? I piani al suo interno vengono prima spostati nella directory superiore. Questa operazione non può essere annullata.","deleteConfirm":"Elimina","deleted":"Eliminato","deleteFailed":"Eliminazione non riuscita","dirCreated":"Directory creata","renamed":"Directory rinominata","saveFailed":"Salvataggio non riuscito","dirDuplicateName":"Esiste già una directory con questo nome. Prova con un altro.","move":"Sposta","moveDuplicateName":"Nella cartella di destinazione esiste già un elemento con questo nome.","moveFailed":"Impossibile spostare l'elemento","colUpdated":"Agg
66iornato"},"wizard":{"title":"Crea piano","titleIn":"Crea piano in {parent}","trackerAsset":"Seleziona tipo di asset","trackerCreate":"Crea","trackerReview":"Rivedi e invia","innerSteps":"Passaggi interni","stepCounter":"Passo {n}/{total}","reviewSubmit":"Rivedi e invia","notSet":"Non impostato","step1":"Dettagli del piano","step1sub":"Nome e opzioni","step2":"Seleziona test","step2sub":"Scegli dal tuo albero","step3":"Ordina i test","step3sub":"Imposta l'ordine di esecuzione","hintStep":"Passo {n} di {total}","labelName":"Nome del piano","placeholderName":"Inserisci il nome del piano","sectionSchedule":"Programma","scheduleToggle":"Esecuzione pianificata","frequency":"Frequenza","freqHourly":"Ogni ora","freqDaily":"Giornaliero","freqWeekly":"Settimanale","at":"A","on":"Su","freqMonthly":"Mensile","dayOfMonth":"Giorno del mese","useCustomCron":"Usa cron personalizzato","customCronHint":"Avanzato: componi direttamente lâespressione cron.","cronUnschedulable":"Questa pianificazione non è unâespressione cron valida e non verrebbe mai eseguita. Correggila prima di salvare.","cronStoredInvalid":"La pianificazione salvata non è unâespressione cron valida e non viene mai eseguita. Scegli una pianificazione per correggerla.","cronEvery":"Ogni","cronIn":"in","cronOn":"il","cronAnd":"e","cronAt":"alle","cronMinuteSep":":","cronMinutesSuffix":"minuto(i)","cronPeriodYear":"anno","cronPeriodMonth":"mese","cronPeriodWeek":"settimana","cronPeriodDay":"giorno","cronPeriodHour":"ora","cronPeriodMinute":"minuto","cronEveryMonth":"ogni mese","cronEveryMonthDay":"ogni giorno del mese","cronMonthDayShort":"giorno del mese","cronEveryWeekDay":"ogni giorno della settimana","cronWeekDayShort":"giorno della settimana","cronEveryHour":"ogni ora","cronEveryMinute":"ogni minuto","cronEveryShort":"ogni","cronEveryN":"ogni {n}","cronClear":"Cancella","cronInvalid":"Espressione cron non valida","cronPeriodAria":"Intervallo di ripetizione","cronMonthsAria":"Mesi","cronMonthDaysAria":"Giorni del mese","cronWeekDaysAria":"Giorni della settimana","cronHoursAria":"Ore","cronMinutesAria":"Minuti","monthJan":"gennaio","monthFeb":"febbraio","monthMar":"marzo","monthApr":"aprile","monthMay":"maggio","monthJun":"giugno","monthJul":"luglio","monthAug":"agosto","monthSep":"settembre","monthOct":"ottobre","monthNov":"novembre","monthDec":"dicembre","sectionTestOptions":"Opzioni di test","browsers":"Browser","browsersPlaceholder":"Seleziona browser","parallel":"Esecuzione parallela","retryToggle":"Ritenta i test non riusciti","retryLabel":"Tentativi di ripetizione","sectionReporting":"Report","recordVideo":"Includi video nei report","saveArtifacts":"Salva i dettagli dei passaggi in caso di errore","sectionProfiles":"Profili di impostazione","profilesHint":"Applica le impostazioni di esecuzione salvate al momento dell'esecuzione.","profilesPlaceholder":"Seleziona i profili di impostazione per il piano","profilesEmpty":"Ancora nessun profilo di impostazione.","sectionNotifications":"Notifiche","notifyPlaceholder":"Indirizzo email","notifyOnFailure":"In caso di errore","notifyAlways":"Sempre","notifyAdd":"Aggiungi","testSearchPlaceholder":"Cerca testâ¦","selectedCount":"{count} selezionati","noTests":"Nessun test trovato in questo workspace.","selectTag":"Seleziona un tag","allTags":"Tutti i tag","colName":"Nome","treeShowing":"{selected} di {total} test mostrati · {groups} gruppi","groupSelectAria":"Seleziona tutti i test in {name}","orderKickerStep":"Passo 03","orderKickerTests":"Ordina i test","orderTitle":"Imposta l'ordine di esecuzione","orderHint":"I test vengono eseguiti in sequenza in questo ordine (a meno che l'esecuzione parallela non sia attiva). Trascina per riordinare â o usa le frecce.","orderSelectedTests":"Test selezionati","orderEmpty":"Seleziona prima i test nel passaggio precedente.","sumName":"Nome","sumTests":"Test","sumBrowsers":"Browser","sumSchedule":"Programma","none":"Nessuno","off":"Spento","weekdaySun":"Domenica","weekdayMon":"Lunedì","weekdayTue":"Martedì","weekdayWed":"Mercoledì","weekdayThu":"Giovedì","weekdayFri":"Venerdì","weekdaySat":"Sabato","browserChrome":"Chrome","browserFirefox":"Firefox","browserSafari":"Safari","browserEdge":"Edge","nameRequired":"à richiesto un nome per il piano.","testsRequired":"Seleziona almeno un test.","created":"Pi
66ano creato","saveFailed":"Impossibile creare il piano","duplicateName":"Esiste già un piano con questo nome. Prova con un altro.","editTitle":"Modifica piano","editLoadingTitle":"Caricamento del pianoâ¦","updateBtn":"Aggiorna piano","updated":"Piano aggiornato","updateFailed":"Impossibile aggiornare il piano","step4":"Origine dati","step4sub":"Associa ai test","dsTitle":"Associa le origini dati ai test","dsIntro":"Facoltativo. Associa un'origine dati a qualsiasi test che deve essere eseguito con parametri. I test senza associazione vengono eseguiti con i valori predefiniti.","dsColTests":"Test","dsColSources":"Origini dati","dsColBindings":"Associazioni correnti","dsSearchTests":"Cerca testâ¦","dsSearchSources":"Cerca origini datiâ¦","dsSearchBindings":"Cerca associazioniâ¦","dsNoTests":"Nessun test selezionato","dsNoSources":"Nessuna origine dati","dsNoBindings":"Nessuna associazione","dsBind":"Associa selezionati","dsBound":"Associato","dsUnbind":"Rimuovi associazione","sumDataSources":"Origini dati"},"results":{"breadcrumb":"Automazione","title":"Risultati del piano","description":"Esecuzioni dei tuoi piani - analisi pass/fail per esecuzione, approfondisci il rapporto completo di qualsiasi test.","searchPlaceholder":"Cerca per nome del piano o esecutoreâ¦","filter":"Filtra","colPlan":"Esecuzione del piano","colExecutor":"Esecutore","colStatus":"Stato","colDuration":"Durata","colStarted":"Iniziato","rowsRuns":"esecuzioni","passRate":"Tasso di successo","kpiEyebrow":"Esecuzioni riuscite","ofRuns":"di {total} esecuzioni","status_passed":"Superato","status_failed":"Fallito","status_running":"In esecuzione","status_stopped":"Fermato","status_pending":"In attesa","status_error":"Errore","testsCount":"{count, plural, one {# test} other {# test}}","passFail":"{passed} superati · {failed} falliti","emptyTitle":"Nessuna esecuzione del piano ancora","emptyMessage":"Esegui un piano dalla schermata Piani e i suoi risultati appariranno qui.","noMatch":"Nessuna esecuzione del piano corrisponde ai tuoi filtri.","resetFilters":"Reimposta filtri","actView":"Visualizza","actCopyId":"Copia ID","actStop":"Ferma esecuzione","actRerunAll":"Ripeti tutte","actRerunFailures":"Ripeti fallimenti","actRerunErrors":"Ripeti errori","actionsLabel":"Azioni","nPassed":"{count} superati","nFailed":"{count} falliti","triggerScheduled":"Pianificato","triggerManual":"Manuale","stopped":"Richiesta di arresto","stopFailed":"Impossibile fermare l'esecuzione","rerunStarted":"Ripetizione del piano avviata","rerunFailed":"Impossibile avviare la ripetizione","copiedId":"ID esecuzione copiato","tabOverview":"Panoramica","tabTests":"Test","tabLogs":"Log","logsTruncated":"Vengono mostrate le prime 20.000 righe di questa esecuzione.","logsFailed":"Impossibile caricare i log di questa esecuzione.","panelCrumb":"Esecuzione del piano","mTests":"Test","mPassed":"Superato","mFailed":"Fallito","detailsTitle":"Dettagli dell'esecuzione","dPlanId":"ID esecuzione","dBy":"Attivato da","dStarted":"Iniziato","dEnded":"Terminato","dDuration":"Durata","noLogs":"Nessun log catturato per questa esecuzione.","testsEmpty":"Nessuna esecuzione di test in questa esecuzione del piano.","openReport":"Apri rapporto","chipAll":"Tutti","testsPassed":"test superati","testDistribution":"Distribuzione dei test","testExecutions":"Esecuzioni dei test","testsSummary":"{total} test · {passed} superati · {failed} falliti","filterAll":"Tutti","filterFailed":"Falliti","copyPublicLink":"Copia link pubblico","linkCopied":"Link pubblico copiato","publicLinkError":"Impossibile creare link pubblico","openInNewTab":"Apri in una nuova scheda","copyLink":"Copia link","newTab":"Nuova scheda","rerunShort":"Riesegui","retryFailed":"Riprova falliti","share":"Condividi"},"doc":{"breadcrumb":"Automazione","title":"Automazione","lead":"I piani raggruppano i test per esecuzione batch - su richiesta, secondo un programma o in CI - e i risultati del piano riportano ogni esecuzione.","onThisPage":"In questa pagina","copy":"Copia","copied":"Copiato","calloutInfo":"Nota","calloutTip":"Suggerimento","calloutWarning":"Importante","cta":"Nuovo piano","updated":"Agg
66iornato a luglio 2026"}},"auth":{"common":{"tagline":"Test software nativi AI","footer":{"copyright":"© 2026 Text2Test","privacy":"Privacy","terms":"Termini","help":"Aiuto"}},"login":{"heading":"Bentornato","subheading":"Eseguiamo alcuni test. Accedi al tuo workspace di Text2Test.","social":{"google":"Accedi con Google","microsoft":"Accedi con Microsoft","github":"Accedi con GitHub"},"or":"O","emailLabel":"Email di lavoro","emailPlaceholder":"[email protected]","passwordLabel":"Password","passwordPlaceholder":"La tua password","forgotPassword":"Hai dimenticato la password?","showPassword":"Mostra password","hidePassword":"Nascondi password","signIn":"Accedi","newHere":"Nuovo qui?","createAccount":"Crea un account","registeredToast":{"title":"Account creato!","description":"Il tuo workspace è pronto. Accedi per iniziare."},"headingSignup":"Crea il tuo account","subheadingMobile":"Accedi per visualizzare le tue esecuzioni, rilevare errori e rivedere i rapporti in movimento.","subheadingSignup":"Ottieni un workspace e inizia a eseguire test scritti da AI in pochi minuti.","labels":{"username":"Nome utente","email":"Email di lavoro","password":"Password"},"placeholders":{"username":"Nome utente","email":"[email protected]","password":"Password","passwordSignup":"Almeno 8 caratteri"},"forgotPasswordShort":"Hai dimenticato la password?","noAccount":"Non hai un account?","registerHere":"Registrati qui","hasAccount":"Hai già un account?","signingIn":"Accesso in corsoâ¦","togglePasswordShow":"Mostra password","togglePasswordHide":"Nascondi password","continueGoogle":"Continua con Google","continueMicrosoft":"Continua con Microsoft","continueGithub":"Continua con GitHub","oauthSoon":"Accesso OAuth in arrivo","terms":"Creando un account, accetti i nostri Termini di utilizzo e la nostra Politica sulla privacy.","tagline":"Test software nativo AI","errors":{"loginFailed":"Accesso non riuscito","incorrectCredentials":"Una delle tue credenziali è errata. Controlla e riprova.","network":"Errore di rete: impossibile raggiungere il server. Controlla la tua connessione.","unexpected":"Errore imprevisto: riprova più tardi.","socialFailed":"Accesso non riuscito","socialFailedDescription":"Impossibile completare l'accesso. Riprova."}},"register":{"steps":{"account":"Account","verified":"Verificato","workspace":"Workspace"},"step1":{"heading":"Crea il tuo account","subheading":"Crea un workspace ed esegui il tuo primo test in pochi minuti.","social":{"google":"Continua con Google","microsoft":"Continua con Microsoft","github":"Continua con GitHub"},"or":"O","emailLabel":"Email di lavoro","emailPlaceholder":"[email protected]","passwordLabel":"Password","passwordPlaceholder":"Almeno 8 caratteri","confirmPasswordLabel":"Conferma password","confirmPasswordPlaceholder":"Reinserisci la password","showPassword":"Mostra password","hidePassword":"Nascondi password","submit":"Crea account","termsAgreement":"Creando un account, accetti i nostri <terms>Termini di utilizzo</terms> e la <privacy>Politica sulla privacy</privacy>.","haveAccount":"Hai già un account?","signIn":"Accedi"},"step2":{"heading":"Controlla la tua posta in arrivo","sentTo":"Abbiamo appena inviato un link di attivazione a:","instructions":"Clicca sul link per attivare il tuo account. Una volta attivato, ti chiederemo il nome della tua azienda e del tuo team per impostare il tuo workspace.","didntGet":"Non l'hai ricevuto?","resend":"Invia di nuovo il link","resendIn":"Invia di nuovo in {seconds}s","maxReached":"Limite di invio raggiunto","useDifferent":"Usa un'email diversa"},"step3":{"heading":"Configura il tuo spazio di lavoro","subheading":"Dai un nome al tuo spazio di lavoro: ecco come saranno organizzati i tuoi test, esecuzioni e report.","companyLabel":"Nome del progetto","companyPlaceholder":"es. La mia app","companyHelp":"Utilizzato come identità del tuo progetto. Puoi cambiarlo in seguito.","projectNameTaken":"Questo nome di progetto è già in uso. Scegline un altro.","teamLabel":"Nome del team","teamPlaceholder":"es. Team QA","teamHelp":"Primo team nel tuo spazio di lavoro. Potrai invitare i membri del team successivamente.","submit":"Crea spazio di lavoro e continua"},"toasts":{"socialFailed":"Registrazione fallita","socialFailedDescription":"Impossibile completare la registrazione. Riprova.","requiredTitle":"Obbligatorio","step1Required":"Inserisci la tua email e password.","passwordMismatchTitle":"Le password non corrispondono","passwordMismatch":"Le password inserite non corrispondono.","registrationFailed":"Registrazione fallita","registrationFailedDescription":"Si è verificato un errore.","emailAlreadyRegistered":"Questa email è già registrata. Prova a effettuare il login.","resentTitle":"Inviato!","resentDescription":"Email di verifica reinviata.","errorTitle":"Errore","resendError":"Qualcosa è andato storto.","step3Required":"Compila entrambi i campi."}},"reset":{"form":{"heading":"Hai dimenticato la password?","subheading":"Inserisci la tua email per ricevere un link per reimpostare la password.","emailLabel":"Indirizzo email","emailPlaceholder":"Inserisci la tua email","submit":"Invia link di reimpostazione","backToLogin":"â Torna al login"},"sent":{"heading":"Reimpostazione della password","sentTo":"Abbiamo inviato un'email per reimpostare la password a","instructions":"Controlla la tua casella di posta e segui le istruzioni per reimpostare la tua password.","didntGet":"Non l'hai ricevuto?","resend":"Reinvia link","resendIn":"Reinvia in {seconds}s","maxReached":"Limite di reinvio raggiunto","resentTitle":"Link di reimpostazione inviato","resentDescription":"Abbiamo inviato un'altra email per reimpostare la password.","backToSignIn":"Torna al login"}
66,"errors":{"invalidEmailTitle":"Avviso","invalidEmail":"Inserisci un'email valida","failed":"Impossibile inviare il link di reimpostazione","tooManyTitle":"Troppe richieste","tooMany":"Hai richiesto troppi link. Attendi un attimo e riprova.","network":"Errore di rete: impossibile raggiungere il server. Controlla la tua connessione.","unexpected":"Errore imprevisto: riprova più tardi."}},"callback":{"signingIn":"Accesso in corsoâ¦","backToLogin":"Torna al login","failedToast":"Accesso fallito","genericError":"Impossibile completare l'accesso."},"socialRelay":{"expired":"Questo link di accesso è scaduto. Riprova.","backToLogin":"Torna al login"},"acceptInvite":{"pageTitle":"Accetta invito","heading":"Sei invitato","subheading":"Configura il tuo account per unirti a {workspace}.","roleNote":"Ti unirai come {role}.","role":{"ADMIN":"un amministratore","USER":"un membro","VIEWER":"un visualizzatore"},"labels":{"email":"Email","firstName":"Nome","lastName":"Cognome","password":"Password","confirmPassword":"Conferma password"},"placeholders":{"firstName":"Giovanna","lastName":"Rossi","password":"Crea una password","confirmPassword":"Reinserisci la tua password"},"accept":"Accetta e unisciti","accepting":"Impostazione in corsoâ¦","togglePasswordShow":"Mostra password","togglePasswordHide":"Nascondi password","successToast":"Benvenuto a bordo! Accedi per iniziare.","backToLogin":"Torna al login","loading":"Controllo del tuo invitoâ¦","invalidHeading":"Invito non disponibile","invalidBody":"Questo link di invito è non valido, è stato revocato o è scaduto. Chiedi a un amministratore di inviarne uno nuovo.","missingToken":"Questo link manca del suo token di invito.","validation":{"required":"Questo campo è obbligatorio.","passwordMin":"Usa almeno 8 caratteri.","passwordMismatch":"Le password non corrispondono."},"errors":{"failed":"Impossibile accettare l'invito","network":"Errore di rete: Impossibile raggiungere il server. Controlla la tua connessione.","unexpected":"Errore imprevisto: Riprova più tardi."}}},"publicShare":{"pageTitle":"Rapporto condiviso","loading":"Caricamento rapporto condivisoâ¦","notFound":"Link scaduto o non trovato","notFoundDesc":"Questo link condiviso potrebbe essere scaduto o stato revocato.","expiresOn":"Scade il {date}","noData":"Nessun dato del rapporto disponibile","executionReport":"Rapporto di esecuzione del test","planReport":"Rapporto di esecuzione del piano","totalSteps":"Passi totali","totalTests":"Test totali","passed":"Superato","failed":"Fallito","environment":"Ambiente","duration":"Durata","createdBy":"Creato da","started":"Iniziato","ended":"Terminato","skipped":"Saltato","reports":"Rapporti","artifactsAvailable":"Artefatti disponibili","timeline":"Cronologia","running":"In esecuzione","pending":"In attesa","passRate":"Tasso di superamento","testExecutions":"Esecuzioni dei test","analyticsReport":"Panoramica analitica","totalExecutions":"Esecuzioni totali","successRate":"Tasso di successo"},"publicRunShare":{"pageTitle":"Risultato del test condiviso","topbarTitle":"Risultato del test condiviso","publicLink":"Link pubblico","sharedBy":"Condiviso da {name}","expiresIn":"{count, plural, one {Scade tra # giorno} other {Scade tra # giorni}}","expiresToday":"Scade oggi","signIn":"Accedi","loading":"Caricamento del report condivisoâ¦","testRun":"Esecuzione del test","outcomeCounts":"{passed} superati · {failed} falliti · {skipped} saltati","passRate":"Tasso di superamento","stepOutcomes":"Esiti dei passaggi","ranSkipped":"{ran} eseguiti · {skipped} saltati dopo l'errore","failedAt":"Fallito a","inFailedStep":"{duration} solo nel passaggio fallito","target":"Target","duration":"Durata","replay":"Replay della sessione","syncedToSteps":"sincronizzato con i passaggi","replayUnavailable":"Questa registrazione non è disponibile. Il video potrebbe essere stato eliminato o non acquisito per questa esecuzione.","failureSnapshot":"Riepilogo errore","failureStepMeta":"Passaggio {step} - {duration}","timeline":"Cronologia dei passaggi","filter_all":"Tutti","filter_failed":"Falliti","filter_skipped":"Saltati","noSteps":"Nessun passaggio registrato","noStepsMatch":"Nessun passaggio corrisponde a questo filtro","noScreenshot":"Nessuno screenshot acquisito","console":"Console","consoleMeta":"{errors, plural, one {# errore} other {# errori}} · {warnings, plural, one {# avviso} other {# avvisi}}","consoleUnavailable":"I log della console non sono stati acquisiti per questa esecuzione.","network":"Rete","networkMeta":"{requests, plural, one {# richiesta} other {# richieste}} · {failed} fallite","networkUnavailable":"La cattura di rete non è disponibile per questa esecuzione.","runDetails":"Dettagli dell'esecuzione","workspace":"Workspace","triggeredBy":"Avviato da","trigger":"Trigger","targetUrl":"URL di destinazione","environment":"Ambiente","started":"Inizio","ended":"Fine","testId":"ID test","footerSnapshot":"Generato da Text2Test · snapshot di sola lettura del {date}","reportId":"ID report","reportAbuse":"Segnala un abuso","expiredTitle":"Questo risultato del test condiviso è scaduto","expiredWindow":"Il link che hai aperto era impostato per scadere dopo {days, plural, one {# giorno} other {# giorni}}. Chiedi al mittente di rigenerare il link, oppure accedi se hai accesso al workspace.","expiredWindowUnknown":"Il link che hai aperto è scaduto o non è più disponibile. Chiedi al mittente di rigenerare il link, oppure accedi se hai accesso al workspace.","requestNewLink":"Richiedi un nuovo link","requestNewLinkHint":"Chiedi alla persona che ha condiviso questa esecuzione di generare un nuovo link.","workspaceLink":"Solo workspace","viewInResults":"Apri nei risultati del test","runLoadErrorTitle":"Impossibile caricare questa esecuzione di test","runLoadError":"Lâesecuzione potrebbe essere stata eliminata oppure appartiene a un team non attivo al momento. Passa al team corretto e riprova.","wrongTeamTitle":"Questa esecuzione appartiene a un altro team","wrongTeamMessage":"Lâesecuzione aperta appartiene al team {team}, che non è il tuo team attivo. Passa a quel team per visualizzare il report.","switchTeamAction":"Passa a {team} e apri","wrongCompanyTitle":"Questa esecuzione appartiene a un altro workspace","wrongCompanyMessage":"Lâesecuzione aperta appartiene al team {team} del workspace {company}. Passa a quel workspace per visualizzare il report.","switchCompanyAction":"Passa a {company} e apri","signInAction":"Accedi a Text2Test"},"publicPlanShare":{"pageTitle":"Esecuzione del piano condivisa","topbarTitle":"Esecuzione del piano condivisa","noData":"Nessun dato del report del piano disponibile","untitledTest":"Test senza titolo","unknownError":"Errore sconosciuto","planRun":"Esecuzione del piano","passFailCounts":"{passed} superati · {failed} falliti","passRate":"Tasso di successo","failed":"Fallito","duration":"Durata","avgPerTest":"Media / test","dPlanId":"ID piano","dWorkspace":"Workspace","dTriggeredBy":"Avviato da","dTrigger":"Trigger","dStarted":"Avviato","dEnded":"Terminato","dEnvironment":"Ambiente","dDuration":"Durata","dSharedBy":"Condiviso da","dExpires":"Scade","replayUnavailable":"Questa registrazione non è disponibile. Il video potrebbe essere stato eliminato o non è stato acquisito per questa esecuzione.","testsInRun":"Test in questa esecuzione","noTestsMatch":"Nessun test corrisponde a questo filtro","topFailureReasons":"Principali cause di errore","noFailures":"Nessun errore in questa esecuzione","runEnvironment":"Ambiente di esecuzione","expiresToday":"Scade oggi","expires
66In":"{count, plural, one {Scade tra # giorno} other {Scade tra # giorni}}","backToPlanRun":"Torna allâesecuzione del piano","testOrdinal":"test #{n}","miniSteps":"Passaggi","miniPassed":"Superati","miniFailed":"Falliti","drillOverview":"Panoramica","drillConsole":"Console","drillNetwork":"Rete","drillSteps":"Passaggi","stepTimeline":"Cronologia dei passaggi","ranSkipped":"{ran} eseguiti · {skipped} saltati","noSteps":"Nessun passaggio registrato","footerSnapshot":"Generato da Text2Test · istantanea di sola lettura del {date}","reportId":"ID report","reportAbuse":"Segnala abuso","sharedBy":"Condiviso da {name}","publicLink":"Link pubblico","fullReportBadge":"Vista report completo","signIn":"Accedi","tabAll":"Tutti","tabFailed":"Falliti","tabPassed":"Superati"}}`)},Qse={layout:{errorBoundary:{title:`Bir Åeyler ters gitti`,desc:`Bu sayfa görüntülenirken beklenmeyen bir hata oluÅtu. Sayfayı yenilemek genellikle sorunu çözer; devam ederse destek ekibiyle iletiÅime geçin.`,reload:`Sayfayı yenile`,home:`Panoya dön`},appShell:{skipToContent:`İçeriÄe atla`,sidebarLabel:`Ana gezinme`},appSidebar:{groupTestpit:`Testpit`,groupWebTest:`Web test`,groupMobileTest:`Mobil test`,groupAutomation:`Otomasyon`,groupTools:`Araçlar`,groupSettings:`Ayarlar`,badgeNew:`Yeni`,badgeEarlyAccess:`Erken eriÅim`,navAnalytics:`Analitik`,navMyTests:`Testlerim`,navMyMobileTests:`Mobil Testlerim`,navMyPlans:`Planlarım`,navTestResults:`Test Sonuçları`,navDoc:`Nasıl Yapılır`,navGetExtension:`Uzantıyı İndir`,navPlanResults:`Plan Sonuçları`,navDataSources:`Veri Kaynakları`,navHttpRequest:`HTTP İsteÄi`,navElementTags:`Eleman Etiketleri`,navScenarioFiles:`Test Varlıkları`,navUsage:`Faturalandırma ve plan`,navPackages:`Paketler`,navSettingProfiles:`Ayar Profilleri`,navApiKeys:`API Anahtarları`,navVault:`Vault Profilleri`,navTestTags:`Test Etiketleri`,navMcpServers:`MCP Sunucuları`},appTopbar:{openMenu:`Menüyü aç`},workspaceSwitcher:{teamSuffix:`Takımı`,dropdownTitle:`ÃalıÅma alanı deÄiÅtir`,dropdownSubtitle:`Ãnce bir Åirket, sonra bir takım seçin`,searchPlaceholder:`ÃalıÅma alanı araâ¦`,noMatch:`"{query}" ile eÅleÅen çalıÅma alanı yok.`,teamCount:`{count, plural, one {# takım} other {# takım}}`,newTeam:`Yeni takımâ¦`,newTeamPlaceholder:`Takım adıâ¦`,addMemberAction:`Ãye ekle`,createWorkspaceAction:`ÃalıÅma alanı oluÅtur`,addMemberToTeam:`Takıma üye ekle`,teamCreated:`{workspace} içinde {name} takımı oluÅturuldu`,teamCreateFailed:`Takım oluÅturulamadı.`,ownCompanyBadge:`Åirketiniz`,loadingTeams:`Takımlar yükleniyorâ¦`,noTeams:`Bu Åirkette takım yok.`,confirmSwitch:`ÃalıÅma alanını deÄiÅtir`,addMember:{title:`Ãye ekle`,subtitle:`{workspace} alanına kiÅi davet edin. E-posta daveti alırlar - adresleri Enter veya virgülle ayırın.`,emailsLabel:`E-posta adresleri`,emailPlaceholder:`[email protected]`,emailPlaceholderMore:`BaÅka ekleâ¦`,invalidTooltip:`Geçerli bir e-posta deÄil`,removeEmail:`E-postayı kaldır`,invalidHint:`Bazı adresler geçersiz görünüyor - kırmızıyla iÅaretlendi.`,teamLabel:`Takıma ekle`,workspaceLabel:`ÃalıÅma alanı`,roleLabel:`Rol`,role:{ADMIN:{label:`Yönetici`,desc:`Tam eriÅim - üyeleri, faturalandırmayı ve tüm testleri yönetir.`},USER:{label:`Ãye`,desc:`Test, plan ve veri kaynaklarını oluÅturabilir, düzenleyebilir ve çalıÅtırabilir.`}},hintEmpty:`En az bir e-posta ekleyin`,hintReady:`{count, plural, one {# davet hazır} other {# davet hazır}}`,cancel:`İptal`,send:`{count, plural, one {Davet gönder} other {Davet gönder}}`,inviteSuccess:`{count, plural, one {# davet gönderildi} other {# davet gönderildi}}.`,inviteSkipped:`{count, plural, one {# adres atlandı} other {# adres atlandı}} - zaten üye veya davetli.`,inviteExists:`{count, plural, one {# adresin zaten bir hesabı var} other {# adresin zaten bir hesabı var}} - farklı bir e-posta davet edin.`,inviteError:`Davetler gönderilemedi.`},createWorkspace:{title:`ÃalıÅma alanı oluÅtur`,kickerTitle:`Yeni bir çalıÅma alanı baÅlatın`,kickerHelp:`Bir çalıÅma alanı; takımlarınızı, testlerinizi ve faturalandırmanızı tek bir Åirket altında toplar. Sahibi siz olursunuz ve kurulduktan sonra kiÅi davet edebilirsiniz.`,nameLabel:`ÃalıÅma alanı adı`,namePlaceholder:`örn. Acme A.Å.`,urlLabel:`ÃalıÅma alanı URL'si`,urlHint:`- takım arkadaÅlarınız buradan ulaÅır`,urlPlaceholder:`acme`,teamLabel:`İlk takım`,teamHint:`- daha sonra ekleyebilirsiniz`,teamPlaceholder:`QA Takımı`,teamHelp:`Takımlar; testleri, planları ve üyeleri çalıÅma alanı içinde düzenli tutar.`,footerHint:`OluÅturmak için âµ`,cancel:`İptal`,create:`ÃalıÅma alanı oluÅtur`,comingSoon:`ÃalıÅma alanı oluÅturma henüz mevcut deÄil - "{name}" oluÅturulmadı.`}},userMenu:{profile:`Profil`,account:`Hesap`,billingPlan:`Faturalandırma ve plan`,help:`Yardım`,supportEmail:`[email protected]`,settings:`Ayarlar`,logout:`ÃıkıŠyap`,signOut:`ÃıkıŠyap`,ownerBadge:`Sahip`,security:`Güvenlik`},themeToggle:{label:`Tema`,system:`Sistem`,light:`Açık`,dark:`Koyu`},mobileTabBar:{label:`Ana gezinme`,home:`Ana Sayfa`,tests:`Testler`,plans:`Planlar`,profile:`Profil`}
66,mobileAppBar:{back:`Geri dön`,defaultTitle:`Text2Test`},workspaceSheet:{title:`ÃalıÅma alanını deÄiÅtir`,subtitle:`Bir Åirket, ardından bir takım seçin`,searchPlaceholder:`ÃalıÅma alanlarını araâ¦`,noMatch:`ÃalıÅma alanı bulunamadı`,teamCount:`{count, plural, one {# takım} other {# takım}}`,addMember:`Ãye ekle`,createWorkspace:`ÃalıÅma alanı oluÅtur`,comingSoon:`Yakında`},welcomeModal:{title:`Text2Test mobilde`,subtitle:`Web uygulamasının odaklı bir yardımcısı. Telefonunuzdan Åunları yapabilirsiniz:`,viewTestpitTitle:`Testpit'i görüntüle`,viewTestpitDesc:`Hesap genel bakıÅınız, kapsam ve çalıÅtırma analizleri.`,runTestsTitle:`Mevcut testleri çalıÅtır`,runTestsDesc:`Web ve mobil test senaryolarınıza göz atın ve çalıÅtırma baÅlatın.`,viewReportsTitle:`Test ve plan raporlarını görüntüle`,viewReportsDesc:`Adımlar, konsol, aÄ ve oturum kaydı hareket halindeyken.`,note:`Yeni test oluÅturma ve prompt düzenleme web uygulamasında kalır.`,cta:`Anladım`},productTour:{title:`Text2Test iÅ baÅında`,description:`Text2Test'in etkileÅimli tanıtım turu.`}},shell:{shareSheet:{title:`Raporu paylaÅ`,publicLink:`Herkese açık link kopyala`,publicLinkDesc:`Linke sahip olan herkes · 7 gün geçerli`,publicCopied:`Herkese açık link kopyalandı`,publicLinkError:`Herkese açık link oluÅturulamadı`,workspaceOnly:`Yalnızca çalıÅma alanı`,workspaceOnlyDesc:`{name} üyeleri`,workspaceCopied:`ÃalıÅma alanı linki kopyalandı`,downloadPdf:`PDF indir`,exportingPdf:`PDF dıÅa aktarılıyorâ¦`},runActionsSheet:{titleTest:`Test çalıÅtırma iÅlemleri`,titlePlan:`Plan çalıÅtırma iÅlemleri`,rerunTest:`Testi yeniden çalıÅtır`,rerunPlan:`Planı yeniden çalıÅtır`,rerunFailed:`Yalnızca baÅarısızları çalıÅtır`,failedTests:`{count} baÅarısız test`,copyLink:`Herkese açık linki kopyala`,linkCopied:`Herkese açık link kopyalandı`,downloadReport:`Raporu indir`,downloadLogs:`Günlükleri indir`,downloadingReport:`Rapor indiriliyorâ¦`,downloadingLogs:`Günlükler indiriliyorâ¦`},liveRun:{runningTest:`Test çalıÅıyor`,runningPlan:`Plan çalıÅıyor`,stepOf:`Adım {current} / {total}`,runningTestOf:`Test {current} / {total} çalıÅıyor`,testFailed:`Test baÅarısız`,testPassed:`Test baÅarılı`,planComplete:`Plan tamamlandı`,passedCount:`{count} baÅarılı`,failedCount:`{count} baÅarısız`,skippedCount:`{count} atlandı`,stopRun:`ÃalıÅtırmayı durdur`,done:`Tamam`,viewReport:`Raporu görüntüle`,elapsed:`Geçen süre`,pending:`Bekliyor`,passed:`baÅarılı`,failed:`baÅarısız`},deleteDialog:{cancel:`Vazgeç`,typeLabel:`Onaylamak için <code>Delete</code> yaz`,typeWord:`Delete`,deleting:`Siliniyorâ¦`}},pages:JSON.parse(`{"usage":{"title":"Faturalandırma ve plan","subtitle":"AboneliÄiniz, kullanımınız, ödeme yönteminiz ve faturalarınız.","noPackage":"Aktif plan yok","notPayAsYouGoTitle":"Pay-as-you-go planı yok","notPayAsYouGoBody":"Kullanım ve token kotası pay-as-you-go abonelikler için gösterilir. ÃalıÅma alanınız farklı bir planda.","stoppedBanner":"Bu döneme ait token kotanız tükendi. Test çalıÅtırmaya devam etmek için planınızı yükseltin.","lowBalanceBanner":"Bu dönem için token kotanız azalıyor.","activityTitle":"İstek etkinliÄi (son 30 gün)","activityEmpty":"Bu dönemde henüz istek yok.","requestsLabel":"İstek","manageBilling":"Faturalandırmayı yönet","manageBillingError":"Faturalandırma portalı açılamadı. Lütfen tekrar deneyin.","payDifferentCardBefore":"Farklı bir kartla ödeme yapmak için","payDifferentCardAfter":" bölümünü açın.","upgradeCta":"Yükselt","upgradeProcessing":"Planınız yükseltiliyor â yeni kotanız birazdan görünecek.","upgradeConfirmTitle":"{plan} planına yükseltilsin mi?","upgradeConfirmText":"Planınız hemen yükseltilecek ve aradaki fark kartınızdan anında tahsil edilecek. Kalan token bakiyeniz yeni planınıza taÅınır.","upgradeSummaryNewPlan":"Yeni plan","upgradeSummaryTests":"Test senaryosu / ay","upgradeSummaryParallel":"Paralel çalıÅtırma","upgradeSummaryProrated":"Bugün tahsil edilecek tutar","upgradeConfirmCta":"Åimdi yükselt","upgradeConfirmCancel":"Åimdi deÄil","upgradeError":"Yükseltme baÅarısız. Lütfen tekrar deneyin.","checkoutError":"Ãdeme sayfası baÅlatılamadı. Lütfen birazdan tekrar deneyin.","pastDueBanner":"Son ödemeniz alınamadı. İptali önlemek için 'Faturalandırmayı yönet'ten kartınızı güncelleyin.","cancelingBanner":"AboneliÄiniz mevcut dönem sonunda iptal edilecek.","canceledBanner":"AboneliÄiniz iptal edildi. Test çalıÅtırmaya devam etmek için bir plan seçin.","choosePlanTitle":"Bir plan seçin","monthly":"Aylık","annual"
66:"Yıllık","annualSaving":"%20 indirim","perMonth":"/ay","perMonthLong":"/ ay","perYear":"/yıl","billedMonthly":"aylık faturalandırılır","billedAnnually":"yıllık faturalandırılır","tokensPerMonthSuffix":"token/ay","selectPlan":"Seç","mostPopular":"En popüler","planDescStarter":"Yapay zeka destekli testi keÅfeden bireyler ve küçük ekipler için.","planDescGrow":"Daha fazla kapasite ve daha hızlı destek isteyen büyüyen ekipler için.","planDescPro":"Ãlçekte ciddi test kapsamı yürüten ekipler için.","testCasesPerMonthSuffix":"test / ay","parallelRunsSuffix":"paralel çalıÅtırma","featWebAutomation":"Web test otomasyonu","featBrowserExtension":"Tarayıcı eklentisi","featCicd":"CI/CD entegrasyonu","featJiraSlack":"Jira & Slack entegrasyonu","featOnboarding":"Kurulum & eÄitim","featSupport48h":"48 saat destek yanıtı","featSupport24h":"24 saat destek yanıtı","featSupport12h":"12 saat destek yanıtı","purchaseSuccessToast":"Ãdeme alındı â planınız etkinleÅtiriliyor.","purchaseReturnToast":"Planınız aktif. Testinize geri dönülüyor.","purchaseCancelToast":"Ãdeme iptal edildi.","paymentRequired":{"title":"Devam etmek için ödeme gerekli","reasonGeneric":"ÃalıÅma alanınız için ödeme Åu anda kullanılamadıÄından testiniz baÅlatılamadı.","reasonBalanceInsufficient":"Token bakiyeniz bu testi baÅlatmak için yetersiz. Test çalıÅtırmaya devam etmek için planınızı yükselterek bakiye ekleyin.","reasonStopped":"Token bakiyeniz tükendiÄi için test çalıÅtırma duraklatıldı. Devam etmek için planınızı yükseltin.","reasonSubscriptionInactive":"AboneliÄiniz artık aktif olmadıÄı için test çalıÅtırma durduruldu. Devam etmek için bir plan seçin.","reasonNoPackage":"ÃalıÅma alanınızın henüz aktif bir planı yok. Test çalıÅtırmaya baÅlamak için bir plan seçin.","reasonFeatureNotAllowed":"Bu özellik mevcut planınıza dahil deÄil. Açmak için planınızı yükseltin.","balanceLabel":"Mevcut bakiye","tokens":"token","dismiss":"Åimdi deÄil","ctaUpgrade":"Planı yükselt","ctaChoosePlan":"Plan seç","draftSavedNote":"Adım metniniz taslak olarak kaydedildi. Planınız aktif olduÄunda aksiyonlara derlenecek."},"changePlanTitle":"Planı deÄiÅtir","changePlanSubtitle":"Daha fazla kapasite ve daha hızlı destek için yükseltin. DeÄiÅiklikler orantılı hesaplanır.","currentPlanBadge":"Planınız","currentPlanCta":"Mevcut planınız","customPlanName":"Custom","customPlanDesc":"Ãzel limitler, SLA'ler ve özel bir iÅ ortaÄına ihtiyaç duyan kurumlar için.","customPlanPrice":"GörüÅelim","customPlanBilling":"Ãzel sözleÅme","contactSales":"SatıÅla iletiÅime geç","customFeatureVolume":"Ãzel test case hacmi","customFeatureParallel":"Ãzel paralel çalıÅtırma","customFeatureSupport":"Ãzel iÅ ortaÄı desteÄi","customFeatureSla":"Ãzel SLA ve sözleÅme","customFeatureOnboarding":"Onboarding ve eÄitim","statusActive":"Etkin","statusCanceling":"İptal ediliyor","statusCanceled":"İptal edildi","renewsOn":"{date} tarihinde yenilenir","renewsUnknown":"Yenilenme tarihi bekleniyor","cancelSubscription":"AboneliÄi iptal et","cancelSubscriptionSectionBody":"Planınız mevcut fatura döneminin sonuna kadar aktif kalır. Sonrasında çalıÅma alanınız salt okunur olur.","cancelDialogTitle":"Abonelik iptal edilsin mi?","cancelDialogIntroBefore":"{plan} planınız Åu tarihe kadar aktif kalır:","cancelDialogIntroAfter":"Sonrasında çalıÅma alanınız salt okunur olur ve Åu özellikler kapanır:","cancelDialogQuotaImpact":"Aylık kota {count} yeni test senaryosundan 0'a düÅer","cancelDialogSchedulesImpact":"ZamanlanmıŠotomasyon planları çalıÅmayı durdurur","cancelDialogIntegrationsImpact":"Paralel koÅular, CI/CD ve Jira / Slack entegrasyonları devre dıÅı kalır","cancelDialogDowngradePrompt":"Sadece daha az koÅuya mı ihtiyacınız var?","cancelDialogDowngradeCta":"{plan} planına düÅürün ({price}/ay)","cancelDialogDowngradeSuffix":"ve testlerinizi, geçmiÅinizi ve entegrasyonlarınızı koruyun.","cancelDialogKeepPlan":"Planımı koru","cancelDialogDateFallback":"mevcut fatura döneminin sonu","reactivateSubscription":"AboneliÄi tekrar aktif et","reactivateSuccess":"AboneliÄiniz yenilenmeye devam edecek.","reactivateError":"Abonelik tekrar aktifleÅtirilemedi. Lütfen tekrar deneyin.","meterTokens":"T2T Token","meterTests":"Test senaryoları","meterUsedPct":"%{pct} kullanıldı {suffix}","tokensRemaining":"{count} kalan","tokensRemainingWithPct":"{count} kalan · %{pct} token kullanıldı","thisPeriod":"bu dönem","requestsTotal":"{count} istek","noPlanTitle":"Henüz aktif bir planınız yok","noPlanBody":"Test çalıÅtırmaya baÅlamak için aÅaÄıdan bir plan seçin â plan etkin olana kadar test çalıÅmaz.","meterParallel":"Paralel çalıÅtırma","concurrentRuns":"eÅ zamanlı çalıÅtırma","downgradeCta":"Dönem sonunda geç","downgradeScheduledCta":"Planlandı","downgradeConfirmTitle":"{plan} planına düÅürülsün mü?","downgradeConfirmText":"{currentPlan} planınız {date} tarihine kadar aktif kalır. O tarihte {plan} planına geçersiniz ve onun limitleri uygulanır.","downgradeConfirmTextNoDate":"Mevcut planınız fatura dönemi sonuna kadar aktif kalır, sonrasında {plan} planına geçersiniz.","downgradeSummaryNewPlan":"Yeni dönemden itibaren plan","downgradeSummaryCharge":"Bugün tahsil edilecek","downgradeSummaryNoChargeToday":"Yok â ilk tahsilat yenilemede","downgradeConfirmKeep":"{plan} planında kal","downgradeConfirmCta":"DüÅürmeyi onayla","downgradeScheduledToast":"{plan} planına geçiÅ bu dönemin sonuna planlandı.","downgradeError":"DüÅürme planlanamadı. Lütfen tekrar deneyin.","pendingDowngradeLine":"{date} tarihinde {plan}
66 planına geçilecek","pendingDowngradeUndo":"Vazgeç","downgradeCanceledToast":"Planlı düÅürme iptal edildi â mevcut planınız devam ediyor.","downgradeCancelError":"DüÅürme iptal edilemedi. Lütfen tekrar deneyin.","downgradeFooter":"Planınız bir sonraki fatura döneminde ({date}) {plan} planına düÅürülecek."},"packages":{"title":"Paketler","subtitle":"Kullandıkça-öde plan kataloÄunu yönetin. Token hakkı bütçeden türetilir.","empty":"Paket bulunamadı.","unauthorizedTitle":"Yetkiniz yok","unauthorizedBody":"Paket yönetimi yalnızca süper yöneticilere açıktır.","colPackage":"Paket","colPriceMonthly":"Aylık","colTokens":"Token/ay","colStatus":"Durum","statusActive":"Aktif","statusInactive":"Pasif","edit":"Düzenle","editTitle":"{name} düzenle","fieldName":"Ad","fieldDescription":"Açıklama","fieldPriceMonthly":"Aylık fiyat (USD)","fieldPriceAnnual":"Yıllık fiyat (USD)","fieldPriceLockedHint":"Fiyatlar Stripe'daki price kayıtlarından tahsil edilir ve buradan deÄiÅtirilemez. Fiyat deÄiÅikliÄi için Stripe'da yeni bir price oluÅturup aÅaÄıdaki price ID'lerini güncelleyin.","fieldBudget":"SaÄlayıcı bütçesi (USD)","fieldBudgetHint":"Token hakkı bundan türetilir (bütçe à N). Åu an: {tokens} token.","fieldParallel":"Paralel çalıÅtırma","fieldTestsLimit":"Aylık test sayısı","fieldFeatures":"Ãzellikler","feature_WEB_TESTING":"Web testi","feature_MOBILE_TESTING":"Mobil test","fieldStripeMonthly":"Stripe price ID (aylık)","fieldStripeAnnual":"Stripe price ID (yıllık)","fieldStripeProduct":"Stripe product ID","fieldDisplayOrder":"Görüntüleme sırası","fieldActive":"Aktif","cancel":"İptal","save":"Kaydet","saved":"Paket kaydedildi.","saveError":"Paket kaydedilemedi."},"analytics":{"hero":{"webTest":"Web Test","automation":"Otomasyon","tests":"Test","plans":"Plan","executions":"ÃalıÅtırma","planRuns":"Plan çalıÅtırması"},"trends":{"title":"Trendler","sideBySide":"Yan yana","combined":"BirleÅik","testsCreated":"OluÅturulan testler","plansCreated":"OluÅturulan planlar","testExecutions":"Test çalıÅtırmaları","planExecutions":"Plan çalıÅtırmaları","thisPeriod":"Bu dönem","combinedCreation":"Test ve plan oluÅturma","combinedExecutions":"Test ve plan çalıÅtırmaları"},"activityWide":{"open":"Yeni sekmede aç","title":"Testpit aktivitesi","subtitle":"Web Test ve Otomasyon genelinde ekip ve son aktivite â son {days} gün","colMember":"Ãye","colCreated":"OluÅturulan","colRuns":"ÃalıÅtırma","colLastActive":"Son aktif"},"title":"Testpit","breadcrumbAnalytics":"Analitik","subtitle":"Hesap özetiniz","description":"Testpit, Web Test ve Otomasyon aktivitenizi canlı bir panele dönüÅtürür â ne çalıÅtı, ne geçti, ne bozuldu ve kim ne yaptı; yan yana.","share":"PaylaÅ","copyPublicLink":"Herkese açık linki kopyala","linkCopied":"Link kopyalandı","publicLinkError":"Herkese açık link oluÅturulamadı","linkExpiry":"BaÄlantı 7 gün sonra sona erer","last7days":"Son 7 gün","last30days":"Son 30 gün","last90days":"Son 90 gün","lastYear":"Son 1 yıl","noData":"Bu dönem için veri yok","empty":{"title":"Henüz gösterilecek bir Åey yok","subtitle":"Test aktivitenizi burada görmeye baÅlamak için ilk testinizi veya planınızı oluÅturun.","cta":"Hızlı tura baÅla"},"overallStatus":"Genel test durumu","passing":"geçiyor","failing":"baÅarısız","notRun":"henüz çalıÅtırılmadı","cards":{"executions":"ÃalıÅtırmalar","webTests":"Web testleri","mobileTests":"Mobil testler","passed":"Geçti","failed":"BaÅarısız","statusBreakdown":"Durum daÄılımı","vsPrev":"önceki döneme göre","thisPeriod":"bu dönem"},"coverageByType":"Türe göre kapsam","runbar":{"scheduled":"ZamanlanmıÅ","passed":"geçti","failed":"baÅarısız"},"charts":{"testCases":"Test senaryoları","executions":"ÃalıÅtırmalar"},"stats":{"total":"Toplam","web":"Web","mobile":"Mobil","passed":"Geçti","failed":"BaÅarısız","errors":"Hatalar","passRate":"Geçme oranı"},"controls":{"actual":"Gerçek","cumul":"Birikimli"},"teamActivity":{"title":"Takım aktivitesi","created":"oluÅturuldu","runs":"çalıÅtırma"},"recentActivity":{"planTag":"Plan","title":"Son etkinlik","ran":"çalıÅtırdı:"},"legend":{"title":"Durum göstergesi","passed":"Geçti","failed":"BaÅarısız","errors":"Hatalar","pending":"Bekliyor","stopped":"Durduruldu"}},"web":{"overview":{"title":"Web Testleri","searchPlaceholder":"Ad, klasör, kimlik ile araâ¦","filter":"Filtrele","newTest":"Yeni Web Testi","noTests":"Filtrelerinizle eÅleÅen test yok","noTestsHint":"Aramanızı veya filtreleri deÄiÅtirmeyi deneyin.","kpiDirectories":"Dizinler","kpiDirectoriesSub":"{count, plural, one {# grup genelinde} other {# grup genelinde}}","kpiTests":"Testler","kpiTestsSub":"{count, plural, one {# grup genelinde} other {# grup genelinde}}","directoryColumn":"Klasör","directoryUnfiled":"-","directoryAssign":"Klasör ata","directoryRoot":"Tüm testler","directoryNew":"Yeni klasör","directorySubdir":"Yeni alt klasör","directoryNewHere":"+ Buraya yeni klasör","directoryRename":"Yeniden adlandır","directoryDelete":"Klasörü sil","directoryMoveHere":"Buraya taÅı","directoryRemoveAssignment":"Klasörden çıkar","directorySearchPlaceholder":"Klasör araâ¦","directoryFilterFacet":"Klasör","directoryFilterAll":"Tüm klasörler","directoryFilterUnfiled":"Klasörsüz","directoryDeleteTitle":"Klasör silinsin mi?","directoryDeleteLoading":"Klasör içeriÄi kontrol ediliyor...","directoryDeleteWithChildren":"Bu klasör {
66count, plural, =1 {1 öÄe} other {# öÄe}} içeriyor (alt klasör veya test). İçindekilere ne yapılsın:","directoryDeleteEmpty":"Bu klasör boÅ. Silinsin mi?","directoryDeleteCascade":"Hepsini birlikte sil","directoryDeleteMoveUp":"İçindekileri bir üst seviyeye taÅı","directoryDeleteCancel":"İptal","directoryDeleteConfirm":"Klasörü sil","colName":"Ad","colId":"ID","colType":"Tür","colItems":"ÃÄe","colActions":"İÅlemler","colCreated":"OluÅturulma","rowsTests":"test","edit":"Düzenle","duplicate":"ÃoÄalt","move":"TaÅı","delete":"Sil","cancel":"Vazgeç","deleteTitle":"\\"{name}\\" silinsin mi?","deleteMessage":"Bu test, tüm adımları ve çalıÅtırma geçmiÅiyle birlikte kalıcı olarak kaldırılır. Bu iÅlem geri alınamaz.","deleteMessageDirEmpty":"Bu iÅlem geri alınamaz.","deleteMessageDirNotEmpty":"İçindeki testler önce üst dizine taÅınır. Bu iÅlem geri alınamaz.","deleteTypeLabel":"Onaylamak için <code>Delete</code> yaz","deleteTypeWord":"Delete","deleteConfirm":"Testi sil","deleteConfirmDir":"Klasörü sil","deleting":"Siliniyorâ¦","createdToast":"\\"{name}\\" oluÅturuldu","duplicatedToast":"\\"{name}\\" çoÄaltıldı","updatedToast":"Test güncellendi","deletedToastTitle":"Test silindi","deletedToast":"\\"{name}\\" kaldırıldı.","emptyTitle":"Henüz web testi yok","emptySubtitle":"Adımları düz metin olarak yaz, API çaÄır, görselleri doÄrula veya AI autopilot'a devret. Text2Test testlerini tarayıcılarda çalıÅtırır ve sonuçları raporlar.","emptyTour":"Hızlı tura baÅla","emptyCreate":"Web testi oluÅtur","filterCreation":"OluÅturulma tarihi","filterAny":"Her zaman","filter7d":"Son 7 gün","filter30d":"Son 30 gün","filter90d":"Son 90 gün","filterYear":"Son 12 ay","newTestHere":"Buraya test ekle","directoryDuplicateName":"Bu adla bir dizin zaten var. BaÅka bir ad deneyin.","saveFailed":"Kaydetme baÅarısız","moveDuplicateName":"Hedef klasörde bu adla bir öÄe zaten var.","moveFailed":"ÃÄe taÅınamadı","colUpdated":"Güncellendi"},"wizard":{"newTitle":"Yeni web testi","step1Label":"OluÅtur","step1Sub":"Ad ve URL","step2Label":"İncele","step2Sub":"Onayla ve gönder","back":"Geri","next":"İleri","submit":"Testi oluÅtur","creating":"OluÅturuluyorâ¦","lede":"Testine bir ad ve baÅlayacaÄı sayfayı ver. ÃalıÅtırma profilini aÅaÄıdan ayarlayabilirsin.","name":"Test adı","namePlaceholder":"ör. Ãdeme - mutlu yol","url":"BaÅlangıç URL'si","urlPlaceholder":"https://ornek.com","urlError":"<code>http://</code> veya <code>https://</code> ile baÅlayan geçerli bir URL girin.","profile":"Ayar profili","profileDefault":"Varsayılan","mcp":"MCP sunucuları","mcpNone":"Yok","reviewTitle":"İncele ve oluÅtur","reviewLede":"AÅaÄıdaki bilgileri onayla, sonra testi oluÅtur.","summaryName":"Ad","summaryUrl":"BaÅlangıç URL'si","summaryProfile":"Profil","notSet":"Belirlenmedi","search":"Araâ¦","noResults":"Sonuç yok.","step1Kicker":"Adım 01","step2Kicker":"Adım 02","step1Heading":"Web testini adlandır ve yapılandır","step1Lede":"Teste kısa ve açıklayıcı bir ad ve baÅlangıç URL'si verin. GeliÅmiÅ ayarlar bir ayar profili ve/veya MCP sunucusu baÄlamanıza olanak tanır.","step2Heading":"Onayla ve oluÅtur","step2Lede":"AÅaÄıdaki bilgileri kontrol edin. Herhangi bir alanı düzenlemek için geri dönebilirsiniz.","advancedTitle":"GeliÅmiÅ ayarlar","advancedSub":"Ayar profili · MCP sunucuları","profileNone":"Ayar profili seçilmedi","requiredFields":"Zorunlu alanlar","edit":"Düzenle","untitled":"Adsız test","limitReachedToast":"Test limitine ulaÅıldı","limitReachedDesc":"Planınızdaki test senaryosu hakkı doldu. Daha fazla test oluÅturmak için planınızı yükseltin.","limitReachedCta":"Planı yükselt","submitFailedToast":"Test kaydedilemedi","duplicateName":"Bu adla bir test zaten var. BaÅka bir ad deneyin."},"editor":{"desktopOnly":{"title":"Düzenleme yalnızca masaüstünde","body":"Test oluÅturmak ve düzenlemek tam editörü gerektirir; bu da masaüstü web uygulamasında kullanılabilir.","cta":"Test sonuçlarına dön"},"breadcrumb":"Web Test","edit":"Düzenle","runTest":"Testi çalıÅtır","runNeedsSteps":"Testi çalıÅtırmak için en az bir adım ekleyin","runFailed":"Test çalıÅtırılamadı. Lütfen tekrar deneyin.","cacheCleared":"Bu adımın önbelleÄi temizlendi.","cacheClearFailed":"Ãnbellek temizlenemedi. Lütfen tekrar deneyin.","saved":"Adım kaydedildi.","nothingToSave":"Kaydedilecek deÄiÅiklik yok.","saveFailed":"Kaydedilemedi. Lütfen tekrar deneyin.","referenceUploaded":"Referans görsel yüklendi.","referenceUploadFailed":"Referans görsel yüklenemedi. Lütfen tekrar deneyin.","referenceImage":"Referans","removeReference":"Referans görseli kaldır","referenceRemoved":"Referans görsel kaldırıldı.","unsavedRunTitle":"KoÅmadan önce bu adımı kaydedin","unsavedRunBody":"Adımı hazırlamak için Kaydet'e basın, sonra koÅun.","unsavedLeaveTitle":"KaydedilmemiÅ adımlarınız var","unsavedLeaveBody":"{count, plural, one {# adımda} other {# adımda}} kaydedilmemiÅ deÄiÅiklik var. Åimdi çıkarsanız bunlar kaybolur.","unsavedLeaveSave":"Kaydet ve çık","unsavedLeaveDiscard":"Yine de çık","unsavedLeaveStay":"Burada kal","stop":"Durdur","runStarting":"Test çalıÅtırılıyorâ¦","runStartingHint":"Tarayıcı hazırlanıyor - ilk adım sonucu birazdan burada görünecek.","steps":"Adımlar","addSequence":"Sekans ekle","insertHere":"Buraya adım ekle","emptyTitle":"Testin hazır. İlk promptâunu ekle.","emptyBody":"Promptâlar testinin tek tek adımlarıdır. DoÄal dilde bir talimatla, bir HTTP isteÄiyle, görsel bir kontrolle, script enjeksiyonuyla baÅla ya da kontrolü Autopilotâa bırak ve gerisini ajan halletsin.","emptyTip":"İpucu: yeni bir prompt eklemek için herhangi bir yerde <kbd>N</kbd> tuÅuna bas","tag":"Etiket","findTag":"Etiket araâ¦","noTags":"Etiket yok.","allTagsAssigned":"Tüm etiketler atandı","removeTag":"{name} etiketini kaldır","deleteStepTitle":"Bu adım silinsin mi?","deleteStepA11y":"Adımı sil","deleteStepBody":"{label} ve derlenmiÅ aksiyonlarını kaldırır. Bu geri alınamaz.","cancel":"İptal","delete":"Sil","deleting":"Siliniyorâ¦","editConfig":"Test yapılandırmasını düzenle","editTest":"Testi düzenle","updateTest":"Testi güncelle","updatingTest":"Güncelleniyorâ¦","httpNoRequest":"İstek seçilmedi","httpCreate":"HTTP İsteÄi OluÅtur","httpSelect":"HTTP İsteÄi Seç","httpSearch":"Kayıtlı istekleri araâ¦","searching":"Aranıyorâ¦","httpNoSaved":"Kayıtlı istek yok. Araçlar ⺠HTTP İsteÄiânden oluÅtur.","httpRefEdit":"Referans adını düzenle","httpRefSave":"Referans adını kaydet","httpShowReqResp":"İstek ve yanıtı göster","httpTry":"İsteÄi dene","httpChange":"İsteÄi deÄiÅtir","httpDialogRequest":"İstek","httpDialogResponse":"Yanıt","httpDialogBody":"Gövde","httpDialogHeaders":"BaÅlıklar","httpDialogNoBody":"Gövde yok","httpDialogNoHeaders":"BaÅlık yok","httpDialogNoResponse":"Henüz yanıt yok â yakalamak için bu adımı çalıÅtırın.","httpDialogLoadingResponse":"Yanıt yükleniyorâ¦","httpDialogResponseFailed":"Yanıt yüklenemedi.","autopilotReasoning":"Autopilot muhakemesi","autopilotToolCalls":"Araç çaÄrıları","autopilotOutput":"Model çıktısı","autopilotNoToolCalls":"Henüz araç çaÄrısı yok","autopilotWaitingStream":"Ãıktı bekleniyorâ¦","autopilotInstruction":"Talimat","viewPayload":"Yükü görüntüle","autopilotPayload":"Autopilot yükü","railFollow":"Aktif sekansı takip et","railFollowOn":"Otomatik kaydırma açık - aktif sekans takip ediliyor","railFollowOff":"Otomatik kaydırma kapalı - aktif sekansı takip etmek için tıklayın","railExtension":"Tarayıcı eklentisi","railReports":"Raporlar","railVariables":"DeÄiÅkenler","railExtensionTip":"Tarayıcı eklentisi - testi kendi tarayıcınızda yerel çalıÅtırın ve çalıÅtırma seçeneklerini ayarlayın","railExtensionDisabledTip":"Tarayıcı eklentisi yüklü deÄil - testi kendi tarayıcınızda yerel çalıÅtırmak için eklentiyi yükleyin","railReportsTip":"Raporlar - bu testin geçmiŠçalıÅtırmalarını, durumlarını ve ekran görüntülerini görün","railVariablesTip":"DeÄiÅkenler - testin kullandıÄı deÄerler ve son çalıÅtırmanın canlı durumu","browserExtension":"Tarayıcı Eklentisi","extUse":"Eklentiyi Kullan","extTerminate":"ÃalıÅtırma S
66onrası Kapat","extIncognito":"Gizli Modu Kullan","extNotDetected":"Eklenti bulunamadı - ÃalıÅtırma uzak tarayıcıya düÅecek.","freshWindowReplay":"Açık test penceresi yok - durumu yeniden oluÅturmak için koÅum ilk adımdan seçilen adıma kadar baÅtan oynatılıyor.","extIncognitoBlocked":"Eklenti gizli pencere açamıyor - chrome://extensions sayfasından eklentiye \\"Gizli modda izin ver\\" yetkisi verin ya da koÅum ayarlarından gizli modu kapatın.","extStartError":"Eklenti koÅumu baÅlatamadı: {message}","reportsBlurb":"Bu testin her çalıÅtırmasını gör - durum, adımlar ve ekran görüntüleri.","openResults":"Test Sonuçlarını Aç â","noVariables":"Bu test için tanımlı deÄiÅken yok.","save":"Kaydet","variablesDefined":"DeÄiÅkenler","variablesEndState":"Son çalıÅtırmanın son durumu","variablesCurrentState":"ÃalıÅan yürütmenin anlık durumu","noScreenshot":"Ekran görüntüsü yok","variablesUpdated":"Güncellenen DeÄiÅkenler","variableUnset":"Atanmadı","variableVaultBadge":"Vault","variableSecretBadge":"Gizli","variableValueLabel":"deÄer","variableValuePlaceholder":"Bir deÄer girinâ¦","variableUseVault":"Vault'tan çöz","variableVaultLoading":"Vault profilleri yükleniyorâ¦","variableNoVaultProfiles":"Bu takım için tanımlı vault profili yok.","variableVaultProfile":"Vault profili","variableSecretRef":"Secret referansı","variableSecretRefPlaceholder":"örn. apps/myapp/db#password","variableSecretRefRelativePlaceholder":"örn. password veya myapp#password","variablePathPrefixHint":"Yol öneki: {prefix}","variableVaultNote":"DeÄer çalıÅma anında vault'tan alınır ve hiçbir zaman saklanmaz.","variableSecret":"Gizli olarak sakla","variableOverwriteSecret":"Gizliyi deÄiÅtir","variableClear":"Temizle","variableHelpDefault":"Bu deÄer testle birlikte kaydedilir ve yer tutucunun geçtiÄi her yerde yerine konur.","variableHelpSecret":"Bu gizli deÄer gizlenmiÅtir. DeÄiÅtirmek için üzerine yaz simgesine tıklayın.","variableHelpOverwrite":"Saklanan gizli deÄeri deÄiÅtirmek için yeni bir deÄer girin.","variableViewState":"DeÄiÅken durumunu görüntüle","insertTitle":"Ekle","insertParameter":"Parametre","insertHint":"İpucu","insertSetting":"Ayar","insertComment":"Yorum","insertTestCall":"Alt-test çaÄrısıâ¦","testCallTitle":"Alt-test çaÄrısı ekle","testCallHelp":"Alt-test olarak çaÄrılacak bir test arayın ve baÄlantı olarak ekleyin.","testCallSearch":"Testleri ada göre araâ¦","testCallHint":"ÃaÄrılacak bir test aramak için yazın.","testCallEmpty":"EÅleÅen test bulunamadı.","testCallParamsTitle":"Alt-test parametreleri","testCallParamsHelp":"{name} testinin parametrelerini bu çaÄrı için override edin. Orijinal test deÄiÅmez.","testCallParamsLoading":"Parametreler yükleniyorâ¦","testCallParamsEmpty":"Seçili testin parametresi yok.","testCallParamsError":"Parametreler yüklenemedi.","testCallNoScenario":"Seçili test için senaryo bulunamadı.","testCallParamDefault":"Varsayılan: {value}","testCallParamEmptyValue":"(boÅ)","testCallParamInherited":"Varsayılan","testCallParamOverridden":"Override edildi","testCallParamFrom":"{name} testinden","testCallParamReset":"Varsayılana dön","testCallBack":"Testi deÄiÅtir","testCallApply":"Uygula","lifecycleTitle":"YaÅam döngüsü - bu sequence'ı kurulum/temizlik kancası olarak çalıÅtır","lifecycle":{"classic":"Klasik (normal adım)","beforeEach":"Her Testten Ãnce","afterEach":"Her Testten Sonra","beforeEachStep":"Her Adımdan Ãnce","afterEachStep":"Her Adımdan Sonra","tearDown":"Temizlik (Tear Down)"},"lbStep":"Adım","lbIntention":"Amaç","lbUrl":"Mevcut URL","lbAction":"Aksiyon","lbGoal":"Hedef","lbJustification":"Gerekçe","lbDescription":"Aksiyon detayı","lbDiagnostics":"Tanılama","seeMore":"Daha fazla göster","seeLess":"Daha az göster","close":"Kapat","extConnected":"Eklenti baÄlı","extDisconnected":"Eklenti baÄlı deÄil","realtimeConnected":"Gerçek zamanlı baÄlı","realtimeDisconnected":"Gerçek zamanlı çevrimdıÅı","runFromHere":"Buradan çalıÅtır","runInProgress":"Zaten bir çalıÅtırma sürüyor","charLimitExceeded":"Karakter sınırı aÅıldı (en fazla {limit})","deleteStepLabel":"{type} ({index}. adım)","stepType":{"prompt":{"label":"Text2Test Native","short":"T2T Native"},"authored":{"label":"Text2Test Authoring Agent","short":"T2T Authoring Agent"},"http":{"label":"HTTP isteÄi","short":"HTTP isteÄi"},"visual":{"label":"Text2Test Görsel DoÄrulama","short":"T2T Görsel DoÄrulama"},"script":{"label":"Text2Test Script Ajanı","short":"T2T Script Ajanı"},"auto":{"label":"Text2Test Autopilot","short":"T2T Autopilot"}},"addSource":{"prompt":{"desc":"Düz metinden test senaryosuna. Text2Test native modeli deterministik adımlara derler."},"authored":{"desc":"Düz metinden test senaryosu; canlı ekrana bakıp yazdıÄı her adımı doÄrulayan bir AI ajanı yazar."},"script":{"desc":"Mevcut bir script yapıÅtır veya düz metinden otomatik oluÅtur; testle birlikte satır içinde çalıÅır."},"auto":{"desc":"KarmaÅık, muhakeme gerektiren akıÅlar için kontrolü LLM'e bırak."},"visual":{"desc":"Ekran görüntüsü farkı veya element görünürlüÄü kontrolü."},"http":{"desc":"Bir API çaÄır ve yanıtı doÄrula."}},"placeholder":{"prompt":"Ne olması gerektiÄini doÄal dille anlatâ¦\\nÃrn. \\"GiriÅ yap\\" butonuna tıkla, e-postanı yaz, panoyu bekle.","authored":"Bu adımın
66ne yapması gerektiÄini anlatâ¦\\nAjan canlı ekrana bakar, adımları yazar ve her birini doÄrular.","visual":"Görsel olarak neyin doÄrulanacaÄını anlat.\\nÃrn. pano baÅlıÄı görünür, üst 120px, tolerans %0,2.","auto":"Autopilot için üst düzey bir hedef anlat.\\nÃrn. onboarding'i tamamla, en fazla 8 aksiyon.","script":"// Playwright \`page\` kullanılabilir - geçme/kalma için boolean döndür.\\n// örn. return await page.locator('h1').isVisible();"},"showCompiledActions":"DerlenmiÅ aksiyonları göster","hideCompiledActions":"DerlenmiÅ aksiyonları gizle","showRunScreenshots":"ÃalıÅma ekran görüntülerini göster","hideRunScreenshots":"ÃalıÅma ekran görüntülerini gizle","moveUp":"Yukarı taÅı","moveDown":"AÅaÄı taÅı","deleteSequence":"Sekansı sil","replaceReferenceVisual":"Referans yüklendi - deÄiÅtir","uploadReferenceVisual":"Referans görsel yükle","openScriptStudio":"Script Studio'yu aç","saveSequence":"Adımı kaydet","saveAndCompile":"Kaydet ve aksiyonlara derle","unsavedBadge":"Kaydedilmedi","compilingBadge":"Derleniyorâ¦","savingBadge":"Kaydediliyorâ¦","unsavedLeaveSaving":"Adımlarınız aksiyonlara derleniyor, bu biraz sürebilir.","runThisSequence":"Bu sekansı çalıÅtır","stepScriptAria":"{index}. adım script","stepPromptAria":"{index}. adım prompt","scriptAskPlaceholder":"AI'dan yazmasını veya deÄiÅtirmesini isteâ¦","scriptChatPlaceholder":"AI'dan yazmasını veya deÄiÅtirmesini iste⦠(komutlar için /)","scriptChatRunInProgress":"Test koÅusu sürüyor - bitince sohbet devam eder","askAi":"AI'a sor","send":"Gönder","text2testAssistant":"Text2Test Asistanı","scriptPageState":{"live":"canlı sayfa","noPage":"sayfa yok","noExtension":"extension yok"},"scriptLoadingConversation":"KonuÅma yükleniyorâ¦","scriptEmptyReady":"Asistandan sayfayı inceleyip editöre Playwright kodu yazmasını iste.","scriptEmptyNoExtension":"Canlı bir sayfada extension'ı açarsan asistan ekranı görebilir. Åimdilik yine kod yazmana yardımcı olabilir.","scriptCommandCompactDesc":"Context açmak için konuÅmayı özetle","scriptCommandCompactHint":"en az 4 mesaj gerekir","scriptCommandClearDesc":"KonuÅmayı temizle ve belleÄini sil","scriptCommandClearHint":"henüz mesaj yok","rewindToHere":"Buraya geri sar","scriptCommands":"Komutlar","scriptStudio":"Script Studio","promptStudio":"Prompt Studio","authoredEmptyReady":"Bu adımın ne yapması gerektiÄini ajana söyle. Canlı ekrana bakar, her Text2Test cümlesini yazar ve tutmadan önce çalıÅtırır.","authoredEmptyNoExtension":"Extension canlı bir sayfada açıksa ajan her cümleyi gerçek ekranda doÄrulayabilir. Åimdilik sadece Text2Test kurallarına göre yazıyor.","promptEditor":"Prompt editörü","compiledStepsTitle":"Derlenen adımlar","compiledStepsEmpty":"Henüz derlenen adım yok.","openPromptStudio":"Prompt Studio'yu aç","stepAuthoredAria":"AI'ın yazdıÄı adım","authoredAskPlaceholder":"Authoring ajanına sorâ¦","stepNumber":"{index}. adım","run":"ÃalıÅtır","aiProposedChanges":"AI deÄiÅiklik önerdi","reject":"Reddet","accept":"Kabul et","scriptEditor":"Script editörü","resizeEditorChat":"Editör ve sohbeti yeniden boyutlandır","resizeEditorOutput":"Editör ve çıktıyı yeniden boyutlandır","reportsLoading":"Raporlar yükleniyorâ¦","reportsEmpty":"Henüz rapor yok. Sonuçları burada görmek için bu testi çalıÅtırın.","reportsCount":"{count} rapor","reportsSteps":"{passed}/{total} adım baÅarılı","reportsStartDate":"BaÅlangıç","reportsEndDate":"BitiÅ","reportsClearDates":"Tarih filtresini temizle","chatConnectFailed":"Asistana baÄlanılamadı. Autopilot servisi eriÅilebilir mi ve oturumunuz açık mı?","chatSendFailed":"Mesaj gönderilemedi.","chatCompactConnectFailed":"Ãzetlemek için asistana baÄlanılamadı.","chatCompactFailed":"KonuÅma özetlenemedi.","chatCompacted":"KonuÅma özetlendi.","chatWarmingUp":"ð Canlı sayfa hazırlanıyor (önceki adımlar koÅuluyor)â¦"},"results":{"breadcrumbWeb":"Web Test","title":"Test Sonuçları","description":"Bu çalıÅma alanındaki tüm web-test çalıÅtırmaları. Durumunu, adım zaman çizelgesini ve tekrar oynatmayı görmek için bir çalıÅtırmaya tıklayın.","rangeAll":"Tüm zamanlar","range24h":"Son 24 saat","range7d":"Son 7 gün","range30d":"Son 30 gün","range90d":"Son 90 gün","passRate":"BaÅarı oranı","ofRuns":"/ {total} çalıÅtırma","status_passed":"BaÅarılı","status_failed":"BaÅarısız","status_running":"ÃalıÅıyor","status_stopped":"Durduruldu","status_pending":"Bekliyor","status_error":"Hata","searchPlaceholder":"Test adı, çalıÅtıran veya çalıÅtırma kimliÄiyle araâ¦","filter":"Filtrele","colTest":"Test","colStatus":"Durum","colExecution":"ÃalıÅtırma","colDuration":"Süre","colStarted":"BaÅlangıç","colEnvironment":"Ortam","colExecutor":"ÃalıÅtıran","execScheduled":"ZamanlanmıÅ","execManual":"Manuel","actView":"Ayrıntıları gör","actCopyId":"ÃalıÅtırma kimliÄini kopyala","copiedId":"ÃalıÅtırma kimliÄi kopyalandı","truncated":"{total} çalıÅtırmadan en yeni {shown} tanesi gösteriliyor. Daha eskileri için tarih aralıÄını daraltın veya arama yapın.","noMatch":"Bu filtrelerle eÅleÅen çalıÅtırma yok.","resetFilters":"Filtreleri sıfırla","rowsRuns":"çalıÅtırma","emptyTitle":"Henüz çalıÅtırma yok","emptyMessage":"Bir web testi çalıÅtırdıÄınızda, her yürütme durumu, süresi, tekrar oynatma videosu ve adım adım tanılamasıyla burada görünür.","panel":{"runTitle":"Test çalıÅtırma","actionsLabel":"İÅlemler","run":"ÃalıÅtırma","tabOverview":"Genel BakıÅ","tabSteps":"Adımlar","tabAdminDetail
66s":"Admin Detayları","diagnostics":"Tanılama","summary":"Ãzet","steps":"Adım","passed":"BaÅarılı","failed":"BaÅarısız","skipped":"Atlanan","replay":"Tekrar oynatma","screenshots":"Ekran görüntüleri · {count}","timeline":"Adım zaman çizelgesi · {ran} çalıÅtı, {skipped} atlandı","loadingSteps":"Adımlar yükleniyorâ¦","noSteps":"Bu çalıÅtırma için adım verisi yok.","status":"Durum","action":"Aksiyon","context":"BaÄlam","aiRequest":"AI İsteÄi","aiResponse":"AI Yanıtı","screenshot":"Ekran Görüntüsü","noAiRequest":"Bu adım için istek verisi yok.","noAiResponse":"Bu adım için AI yanıt verisi yok.","noScreenshot":"Bu adım için ekran görüntüsü yok.","seeMore":"Daha fazla göster","seeLess":"Daha az göster","copy":"Kopyala","tabConsole":"Konsol","downloadLogs":"Logları indir","tabNetwork":"AÄ","loadingLogs":"Loglar yükleniyorâ¦","noLogs":"Bu çalıÅtırma için konsol logu yok.","noLogMatch":"EÅleÅen log kaydı yok.","lvl_all":"Tümü","lvl_err":"Hatalar","lvl_warn":"Uyarı","searchLog":"Logda araâ¦","errCount":"{count} hata","warnCount":"{count} uyarı","entryCount":"{count} kayıt","loadingNetwork":"AÄ yükleniyorâ¦","noNetwork":"Bu çalıÅtırma için aÄ kaydı yok.","noNetworkMatch":"EÅleÅen istek yok.","searchUrl":"URL araâ¦","onlyErrors":"Sadece hatalar","requests":"istek","ofTotal":"/ {total}","openVideo":"Videoyu aç","backToRequests":"İsteklere dön","net_headers":"BaÅlıklar","net_payload":"İstek Verisi","net_response":"Yanıt","net_timing":"Zamanlama","netGeneral":"Genel","netUrl":"İstek URL","netMethod":"İstek yöntemi","netStatus":"Durum kodu","netRemote":"Uzak adres","netResponseHeaders":"Yanıt baÅlıkları","netRequestHeaders":"İstek baÅlıkları","netNoHeaders":"BaÅlık kaydedilmemiÅ.","netNoPayload":"İstek verisi yok.","netQuery":"Sorgu parametreleri","netRequestBody":"İstek gövdesi","netNoBody":"Yanıt gövdesi kaydedilmemiÅ.","netNoTiming":"Zamanlama verisi yok.","netTotal":"Toplam","phase_blocked":"Engellendi","phase_dns":"DNS sorgusu","phase_connect":"İlk baÄlantı","phase_ssl":"SSL","phase_send":"İstek gönderildi","phase_wait":"Bekleme (TTFB)","phase_receive":"İçerik indirme","copyLink":"Herkese açık linki kopyala","openTest":"Teste git","openInNewTab":"Yeni sekmede aç","linkCopied":"Herkese açık link kopyalandı","publicLinkError":"Herkese açık link oluÅturulamadı","share":"PaylaÅ","rerunTest":"Testi yeniden çalıÅtır","rerunStarted":"Test yeniden çalıÅtırması baÅlatıldı","rerunFailed":"Yeniden çalıÅtırma baÅlatılamadı"},"shareModal":{"title":"Test çalıÅtırmasını paylaÅ","whoCanView":"Kimler görüntüleyebilir","publicLabel":"BaÄlantıya sahip herkes","publicDesc":"Salt okunur rapor, oturum açma gerektirmez. Hata ayıklayan mühendisler için idealdir.","workspaceLabel":"Yalnızca çalıÅma alanı","workspaceDesc":"{name} üyeleri. DoÄrudan uygulamada açılır.","expiresLabel":"BaÄlantı süresi","expiresOption":"{count, plural, one {# gün} other {# gün}}","revokeNote":"Görüntüleyenlerin eriÅimi Test ayarlarından istediÄiniz zaman kaldırılabilir.","linkLabel":"PaylaÅım baÄlantısı","copyLink":"BaÄlantıyı kopyala","copied":"Kopyalandı","createError":"PaylaÅım baÄlantısı oluÅturulamadı","cancel":"İptal","next":"İleri","done":"Bitti"},"artifacts":{"empty":"Bu çalıÅtırma için adım artifaktı yok.","aiRequest":"AI İsteÄi","aiResponse":"AI Yanıtı","screenshot":"Ekran Görüntüsü","refScreenshot":"Referans","currScreenshot":"Mevcut","prevScreenshot":"Ãnceki","noScreenshot":"Ekran görüntüsü yok.","copy":"Kopyala"},"actCopyLink":"Herkese açık linki kopyala","copiedLink":"Herkese açık link kopyalandı","actionsLabel":"İÅlemler","logsDownloadFailed":"Loglar indirilemedi","publicLinkError":"Herkese açık link oluÅturulamadı","deltaPassRate":"%{pct} baÅarı oranı","vsPrev":"önceki 30 güne göre","anyone":"Herkes","filterTest":"Test: {name}","clearTestFilter":"Test filtresini temizle","columns":"Kolonlar","chipAll":"Tümü"},"getExtension":{"eyebrow":"Text2Test Chrome Eklentisi","title":"Testleri çalıÅırken izleyerek yazın","subtitle":"Bir adımı düz metin olarak yazın, eklenti üzerinden canlı çalıÅtırın ve gerçek bir tarayıcıda nasıl iÅlediÄini izleyin. Neyin çalıÅtıÄını görün, çalıÅmayanı iyileÅtirin - hepsi testinizden hiç çıkmadan.","install":"Chrome'a Ekle","installHint":"Kurulumu ücretsizdir. Mevcut Text2Test planınızla çalıÅır.","chromeOnly":"Text2Test eklentisi yalnızca <b>Google Chrome</b> üzerinde çalıÅır. DiÄer tarayıcılar desteklenmez.","whatItDoes":"Eklenti neler yapar","features":{"watch":{"title":"Testleri canlı izleyin","description":"Her test çalıÅtırmasında ayrı bir tarayıcı penceresi açılır. Her adımın gerçek zamanlı çalıÅmasını izleyin."},"interact":{"title":"GerektiÄinde müdahale edin","description":"Açılır pencereleri kapatın, banner'ları kapatın, doÄrulama ekranlarını geçin. Test kaldıÄınız yerden devam eder."},"sequences":{"title":"Tüm sequence tipleriyle çalıÅır","description":"T2T Native, Autopilot, Scripting Agent, Visual Verification ve HTTP Request - hepsi eklenti üzerinden çalıÅır."}},"installed":{"connected":"Eklenti baÄlandı","title":"Her Åey hazır. İÅte yapabilecekleriniz.","subtitle":"Bilmeniz gereken üç Åey: Incognito eriÅimini açmak, her çalıÅtırmanın davranıÅını kontrol etmek ve saÄ tıklayarak elementleri hassas biçimde etiketleme
66k.","step1":{"title":"Eklentiye Incognito izni verin","description":"Text2Test eklentisini kurduÄunuzda Details'a tıklayın ve Incognito mode iznini verin. Görmüyorsanız tarayıcı araç çubuÄundaki eklenti simgesine tıklayın â Manage extension â Allow in Incognito'yu açın. Bu, Text2Test'in testlerinizi temiz, gizli bir pencerede - her seferinde sıfırdan bir oturumla - çalıÅtırmasını saÄlar.","callout":"Bunu chrome://extensions adresinde bulun, Text2Test üzerinde Details'a tıklayın, ardından Allow in Incognito'yu açın.","siteAccess":"Site eriÅimi","siteAccessDesc":"Bu eklentinin ziyaret ettiÄiniz tüm sitelerdeki verilerinizi okumasına ve deÄiÅtirmesine izin verin:","onAllSites":"Tüm sitelerde","siteSettings":"Site ayarları","pinToToolbar":"Araç çubuÄuna sabitle","allowIncognito":"Incognito'da izin ver","allowIncognitoDesc":"Uyarı: Google Chrome, eklentilerin gezinme geçmiÅinizi kaydetmesini engelleyemez. Bu eklentiyi Incognito modunda devre dıÅı bırakmak için bu seçeneÄin iÅaretini kaldırın.","allowFileUrls":"Dosya URL'lerine eriÅime izin ver","collectErrors":"Hataları topla","source":"Kaynak","sourcePath":"PaketlenmemiÅ eklenti · YüklendiÄi yer: ~/Downloads/extension-main-latest"},"step2":{"title":"Her çalıÅtırmanın davranıÅını kontrol edin","description":"Herhangi bir Web Test'i açın, Browser Extension panelini göreceksiniz. Her seçeneÄin ne yaptıÄını görmek için aÅaÄıdaki toggle'ları çevirin. Denemek için herhangi birine tıklayın.","mockCrumb":"Testler / Checkout regression","mockTitle":"Checkout regression","mockNavOverview":"Genel BakıÅ","mockNavTestEditor":"Test Düzenleyici","mockGroupMobileTest":"Mobil Test","mockNavDevicePark":"Cihaz Parkı","mockClose":"Kapat","mockInfo":"Daha fazla bilgi","replay":"Tekrar Oynat"},"step3":{"title":"SaÄ tıklayarak elementleri hassas biçimde etiketleyin","description":"Eklenti penceresinde herhangi bir elemente saÄ tıklayın ve Text2Test'in üzerine gelin. Etiketleme, adımın tam olarak doÄru Åeye tıklamasını saÄlamak için elementi sabitler - sayfada benzer görünen elementler olsa bile.","taggedButtonLabel":"Yeni proje","taggedBadge":"Etiketli","whyTagTitle":"Neden etiketlemeli?","whyTagBody":"Bir etiket, bir adımı tek bir tam elemente kilitler. Tıklamaları hassas hale getirir ve sayfa çevresinde deÄiÅtiÄinde testleri kararlı tutar.","whyTagSteps":{"step1":"Eklenti penceresinde elemente saÄ tıklayın.","step2":"Menüde <code>Text2Test</code> üzerine gelin.","step3":"<code>Label</code>'ı, ardından <code>Single</code> veya <code>Multiple</code>'ı seçin.","step4":"Element etiketlendi ve bir adımda kullanıma hazır."},"replay":"Tekrar Oynat"}}},"doc":{"breadcrumb":"Web Testi","title":"Web Testi","lead":"DoÄal dilde yazılan istemlerle tarayıcı tabanlı UI testleri oluÅturun, çalıÅtırın ve paylaÅın - ilk testinizden tarayıcı uzantısına, veri kaynaklarına ve dizilere kadar.","onThisPage":"Bu sayfada","copy":"Kopyala","copied":"Kopyalandı","calloutInfo":"Not","calloutTip":"İpucu","calloutWarning":"Ãnemli","cta":"Yeni web testi","updated":"Temmuz 2026'da güncellendi"}},"mobile":{"earlyAccess":{"eyebrow":"Mobil Test · Erken EriÅim","title":"Test etmek tarayıcıda bitmez","subtitle":"Text2Test mobili de kapsıyor. Aynı doÄal dille test oluÅturma ve yazılım testine özel yapay zeka modelleri, artık iOS ve Android uygulamalarınız için de. Ãnce web self servisini yaygınlaÅtırıyoruz; mobil ise isteyen ekipler için bugün hazır.","chip":"iOS ve Android, bugün hazır","ctaDemo":"Demo Talep Et","ctaEarly":"Erken eriÅim al","earlyDone":"Listedesiniz","ctaHint":"Taahhüt yok. Herhangi bir Åeyi etkinleÅtirmeden önce e-postayla size ulaÅacaÄız.","s1Title":"Tek yaklaÅım, her yüzey","s1Body":"Web ve mobil; iki farklı test aracı, iki farklı iÅ akıÅı ve iki farklı ekip anlamına gelmemeli. Text2Test her ikisinde de aynı test oluÅturma modelini kullanır; ekibinizin webde öÄrendikleri doÄrudan mobile taÅınır. Testi bir kez, doÄal dille yazın; gerisini platform halletsin.","benefitsLabel":"Mobil test size ne kazandırır","benefits":{"devices":"Yalnızca emüle edilmiÅ ekranlar deÄil, iOS ve Android genelinde gerçek cihaz kapsamı","steps":"Ekibinizin web için zaten kullandıÄı doÄal dilli test adımlarının aynısı","once":"Testi b
66ir kez yazın, hem iOS hem Android'de çalıÅtırın; mükerrer test paketi yok","reports":"Her çalıÅtırmada kayıt ve tam loglarla, hataları hızla çözmek için tasarlanmıŠraporlar"},"s3Title":"Neden önce web","s3Body":"Deneyimi sade tutmak ve doÄru kurgulamak için önce web self servisini yayına aldık. Mobil test, ihtiyacı olan ekipler için Åimdiden kullanımda; sürüm sürecinize ilk günden uyacak Åekilde birlikte kuruyoruz. Self servisi geniÅlettikçe mobil de bildiÄiniz planlara eklenecek.","closingTitle":"Mobil uygulamanızı test etmeye hazır mısınız?","closingBody":"Text2Test'i iOS ve Android sürümlerinize taÅımak için bizimle konuÅun. Süreci birlikte yürütür, kurulumunuzu yaparız."}},"settings":{"profiles":{"breadcrumbSettings":"Ayarlar","title":"Ayar Profilleri","description":"Testlerinize prompt, genel, takım veya Åirket seviyesinde uygulanan, yeniden kullanılabilir yürütme ayarı paketleri.","newProfile":"Yeni Profil","searchPlaceholder":"Profillerde araâ¦","filterType":"Kapsam","colName":"Ad","colType":"Kapsam","colDescription":"Açıklama","colCreated":"OluÅturulma","colSettings":"Ayarlar","settingsCount":"{count, plural, =0 {Ayar yok} other {# ayar}}","rowsProfiles":"profil","actEdit":"Düzenle","actCopyId":"ID kopyala","actDelete":"Sil","copiedId":"Profil ID kopyalandı","emptyTitle":"Henüz ayar profili yok","emptyMessage":"Prompt, takım veya Åirket seviyesindeki yürütme ayarlarını merkezi olarak yönetmek için ilk ayar profilinizi oluÅturun.","emptyCta":"Ayar profili oluÅtur","noMatch":"Filtrelerinizle eÅleÅen profil yok.","resetFilters":"Filtreleri sıfırla","deleteTitle":"Ayar profilini sil","deleteMessage":"â{name}â profilini silmek istediÄinize emin misiniz? Bu profile baÄlı testler daha düÅük öncelikli ayarlara geri dönecektir. Bu iÅlem geri alınamaz.","deleteConfirm":"Sil","deleteCancel":"Vazgeç","deleted":"Ayar profili silindi","deleteFailed":"Ayar profili silinemedi","loadFailed":"Ayar profilleri yüklenemedi","typeGeneral":"Genel","typeTeam":"Takım","typeCompany":"Åirket","typePrompt":"Prompt"},"editor":{"breadcrumbSettings":"Ayarlar","breadcrumbProfiles":"Ayar Profilleri","titleCreate":"Yeni Ayar Profili","titleEdit":"Ayar Profilini Düzenle","back":"Profillere dön","cancel":"Vazgeç","save":"Kaydet","saving":"Kaydediliyorâ¦","labelName":"Ad","placeholderName":"Profil adı","labelType":"Kapsam","placeholderType":"Kapsam seçin","labelDescription":"Açıklama","placeholderDescription":"Kısa açıklama (isteÄe baÄlı)","labelBody":"Ayarlar","placeholderBody":"timeout::30000\\nretryCount::2\\nheadless::true","bodyHint":"Her satıra key::value biçiminde bir ayar yazın. BoÅlukla ayrılmıŠifadeler kayıt sırasında ayrıÅtırılır.","typeHintTitle":"Kapsam önceliÄi","typeHint":"Aynı anahtar birden çok profilden çözümlendiÄinde yüksek öncelikli kapsam kazanır: Prompt > Genel > Takım > Åirket.","typeGeneral":"Genel","typeTeam":"Takım","typeCompany":"Åirket","typePrompt":"Prompt","nameRequired":"Profil adı zorunludur.","created":"Ayar profili oluÅturuldu","updated":"Ayar profili güncellendi","saveFailed":"Ayar profili kaydedilemedi","loadFailed":"Bu ayar profili yüklenemedi."},"vault":{"breadcrumb":"Ayarlar","title":"Vault Profilleri","description":"Test çalıÅma zamanında gizli deÄerleri güvenli bir Åekilde çözmek için vault saÄlayıcınızı baÄlayın.","newProfile":"Vault Profili Ekle","searchPlaceholder":"Vault profili araâ¦","kpiTotal":"Toplam profil","kpiProviders":"SaÄlayıcılar","kpiDefaults":"Varsayılanlar","kpiCompany":"Åirket kapsamı","colName":"Ad","colProvider":"SaÄlayıcı","colUrl":"URL","colScope":"Kapsam","colDefault":"Varsayılan","scopeCompany":"Åirket","scopeTeam":"Takım","defaultYes":"Varsayılan","rowsProfiles":"profil","noMatch":"Aramanızla eÅleÅen vault profili yok.","resetSearch":"Aramayı sıfırla","emptyTitle":"Henüz vault profili yok","emptyMessage":"Test çalıÅma zamanında gizli deÄerleri güvenli bir Åekilde çözmek için vault saÄlayıcınızı baÄlayın.","actEdit":"Düzenle","actTestConnection":"BaÄlantı Testi","actCopyId":"ID Kopyala","actDelete":"Sil","copiedId":"Vault profil ID kopyalandı","connectionSuccess":"BaÄlantı testi baÅarılı","connectionFailed":"BaÄlantı testi baÅarısız","created":"Vault profili oluÅturuldu","createFailed":"Vault profili oluÅturulamadı","updated":"Vault profili güncellendi","updateFailed":"Vault profili güncellenemedi","deleted":"Vault profili silindi","deleteFailed":"Vault profili silinemedi","deleteTitle":"Vault profilini sil","deleteMessage":"â{name}â silinsin mi? Bu profili kullanan testler gizli deÄerleri çözemeyecek. Bu iÅlem geri alınamaz.","deleteCancel":"İptal","deleteConfirm":"Sil","createTitle":"Vault Profili Ekle","editTitle":"Vault Profilini Düzenle","fieldName":"Ad","namePlaceholder":"ör. production-vault","fieldProvider":"SaÄlayıcı","providerHashicorp":"HashiCorp Vault","providerAws":"AWS Secrets Manager","providerAzure":"Azure Key Vault","providerCyberark":"CyberArk Conjur","fieldUrl":"URL","urlPlaceholder":"ör. https://vault.example.com","tokenVault":"Vault Token","tokenAws":"AWS Bearer Token","tokenAzure":"Azure AD Token","tokenCyberark":"Kullanıcı Adı & API Anahtarı","tokenPlaceholderHashicorp":"HashiCorp Vault token'ınızı girin","tokenPlaceholderAws":"AWS Bearer veya STS token'ınızı girin","tokenPlaceholderAzure":"Azure AD Bearer token'ınızı girin","tokenPlaceholderCyberark":"login:api_key (ör. admin:2ab3xyâ¦)","tokenHint":"Mevcut tokenı korumak için boÅ bırakın.","fieldNamespace":"Namespace","namespacePlaceholderHashicorp":"ör. admin/team-a","namespacePlaceholderCyberark":"Conjur hesabı (ör. default)","fieldPathPrefix":"Yol Ãn Eki","pathPrefixPlaceholder":"ör. secret/data/myapp","fieldScope":"Kapsam","fieldDescription":"Açıklama","descriptionPlaceholder":"İsteÄe baÄlı açıklamaâ¦","fieldIsDefault":"Varsayılan Profil","isDefaultHint":"Parametre eklerken bu profil otomatik seçilir.","cancel":"İptal","save":"Kaydet","update":"Güncelle"},"apiKeys":{"title":"API Anahtarları","subtitle":"Text2Test'e programatik eriÅim için API anahtarları oluÅturun ve yönetin.","searchPlaceholder":"İsim veya anahtar ile araâ¦","createButton":"API Anahtarı OluÅtur","emptyTitle":"Henüz API Anahtarı Yok","emptyDescription":"CI/CD, otomasyon ve entegrasyonlar için Text2Test API'sine programatik eriÅim saÄlayacak API anahtarları oluÅturun.","colName":"İsim","colKey":"Anahtar","colPermissions":"İzinler","colStatus":"Durum","colCreated":"OluÅturulma","colExpires":"BitiÅ","statusActive":"Aktif","statusInactive":"Pasif","never":"Süresiz","fullAccess":"Tam EriÅim","actionActivate":"AktifleÅtir","actionDeactivate":"PasifleÅtir","actionRevoke":"İptal Et","toggleSuccess":"API anahtarı durumu güncellendi.","toggleError":"API anahtarı durumu güncellenemedi.","revokeSuccess":"API anahtarı iptal edildi.","revokeError":"API anahtarı iptal edilemedi.","revokeConfirmTitle":"API Anahtarını İptal Et","revokeConfirmMessage":"Bu iÅlem geri alınamaz. Bu anahtarı kullanan entegrasyonlar anında çalıÅmayı durduracak.","createSuccess":"API anahtarı oluÅturuldu.","createError":"API anahtarı oluÅturulamadı.","createTitle":"API Anahtarı OluÅtur","createDescription":"Yeni API anahtarınızı isim, izinler ve süre ile yapılandırın.","nameLabel":"İsim","namePlaceholder":"ör. CI/CD Pipeline","permissionsLabel":"İzinler","template_fullAccess":"Tam EriÅim","template_cicd":"CI/CD","template_testRunner":"Test ÃalıÅtırıcı","template_readOnly":"Salt Okunur","template_reportViewer":"Rapor Görüntüleyici","template_custom":"Ãzel","expirationLabel":"Son Kullanma","expiryPreset_week1":"1 hafta","expiryPreset_weeks2":"2 hafta","expiryPreset_month1":"1 ay","expiryPreset_months3":"3 ay","expiryPreset_months6":"6 ay","expiryPreset_custom":"Ãzel","validityLabel":"Geçerlilik (gün)","validityMaxError":"180 günü (6 ay) aÅamaz","cancel":"İptal","revealTitle":"API Anahtarınız","revealWarning":"Bu anahtarı Åimdi kopyalayın. Bir daha göremeyeceksiniz!","done":"Tamam"},"mcpServers":{"breadcrumb":"Ayarlar","title":"MCP Sunucuları","description":"Yapay zeka asistanınızı özel araçlar ve yeteneklerle geniÅletmek için MCP sunucuları baÄlayın.","newServer":"MCP Sunucusu Ekle","searchPlaceholder":"MCP sunucularında araâ¦","filterScope":"Kapsam","colName":"Ad","colUrl":"URL","colScope":"Kapsam","colEnabled":"Etkin","colUseInChat":"Sohbette Kullan","colCreated":"OluÅturulma","rowsServers":"sunucu","kpiTotal":"Toplam sunucu","kpiEnabled":"Etkin","kpiChat":"Sohbet etkin","kpiTeam":"Takım kapsamlı","scopeTeam":"Takım","scopeCompany":"Åirket","actEdit":"Düzenle","actTestConnection":"BaÄlantı Testi","actCopyId":"ID Kopyala","actDelete":"Sil","copiedId":"Sunucu ID kopyalandı","emptyTitle":"Henüz MCP Sunucusu Yok","emptyMessage":"Yapay zeka asistanınızı özel araçlar ve yeteneklerle geniÅletmek için MCP sunucuları baÄlayın.","emptyCta":"MCP Sunucusu Ekle","noMatch":"Filtrelerinizle eÅleÅen sunucu yok.","resetFilters":"Filtreleri sıfırla","deleteTitle":"MCP Sunucusunu Sil","deleteMessage":"â{name}â sunucusunu silmek istediÄinize emin misiniz? Bu sunucuyu kullanan testler araçlarına eriÅimi kaybedecektir. Bu iÅlem geri alınamaz.","deleteConfirm":"Sil","deleteCancel":"Vazgeç","deleted":"MCP sunucusu silindi","deleteFailed":"MCP sunucusu silinemedi","loadFailed":"MCP sunucuları yüklenemedi","createTitle":"Yeni MCP Sunucusu","createSubtitle":"AI yeteneklerini geniÅletmek için yeni bir MCP sunucusu baÄlayın.","editTitle":"MCP Sunucusunu Düzenle","editSubtitle":"Sunucu ayarlarını ve baÄlantı detaylarını güncelleyin.","labelName":"Ad","placeholderName":"ör. Ãzel Araçlarım","labelUrl":"URL","placeholderUrl":"ör. https://mcp.example.com/sse","labelScope":"Kapsam","scopeTeamHint":"Yalnızca mevcut takım için kullanılabilir.","scopeCompanyHint":"Åirketteki tüm takımlar için kullanılabilir.","labelDescription":"Açıklama","placeholderDescription":"Kısa açıklama (isteÄe baÄlı)","labelEnabled":"Etkin","labelUseInChat":"Sohbette Kullan","labelHeaders":"Ãzel BaÅlıklar","addHeader":"BaÅlık ekle","headerKey":"BaÅlık adı","headerValue":"BaÅlık deÄeri","noHeaders":"Ãzel baÅlık yapılandırılmadı.","testConnection":"BaÄlantı Testi","testSuccess":"BaÄlantı baÅarılı","testFailed":"BaÄlantı baÅarısız","cancel":"Vazgeç","save":"Kaydet","create":"OluÅtur","saving":"Kaydediliyorâ¦","created":"MCP sunucusu oluÅturuldu","updated":"MCP sunucusu güncellendi","saveFailed":"MCP sunucusu kaydedilemedi","nameRequired":"Sunucu adı zorunludur.","urlRequired":"Sunucu URL'si zorunludur."},"doc":{"breadcrumb":"Ayarlar","title":"Ayar Profilleri","lead":"Platform genelinde ayarlayabileceÄiniz tüm ayarlar - yürütme, tarayıcı, beklemeler, AI eÅleÅtirme, yerelleÅtirme, video ve mobil - kabul edilen deÄerler, varsayılanlar ve örneklerle.","onThisPage":"Bu sayfada","copy":"Kopyala","copied":"Kopyalandı","calloutInfo":"Not","calloutTip":"İpucu","calloutWarning":"Ãnemli","cta":"Ayar profili oluÅtur","updated":"Güncellenme: 2 Haziran 2026"},"nav":{"aria":"Ayarlar","breadcrumb":"Ayarlar","groupPersonal":"KiÅisel","account":"Hesap","billingPlan":"Faturalandırma ve plan","security":"Güvenlik","help":"Yardım","notifications":"Bildirimler"},"account":{"title":"Hesap","subtitle":"Profilinizi, Åifrenizi ve kiÅisel tercihlerinizi yönetin.","ownerBadge":"Sahip","changePhoto":"FotoÄrafı deÄiÅtir","comingSoon":"Bu özellik henüz backend'e baÄlı deÄil.","detailsTitle":"KiÅisel bilgiler","detailsDesc":"Adınızı ve çalıÅma alanında nasıl göründüÄünüzü güncelleyin.","detailsFootnote":"DeÄiÅiklikler üye olduÄunuz tüm çalıÅma alanlarına uygulanır.","saveChanges":"DeÄiÅiklikleri kaydet","saved":"Profil güncellendi.","saveFailed":"Profiliniz kaydedilemedi.","fullName":"Ad soyad","jobTitle":"Unvan","optional":"İsteÄe baÄlı","emailAddress":"E-posta adresi","emailHint":"GiriÅ ve bildirimler için kullanılır.","emailChangeNote":"E-postanızı deÄiÅtirmek için [email protected] ile iletiÅime geçin.","phone":"Telefon","timezone":"Saat dilimi","language":"Dil","passwordTitle":"Åifre","passwordDesc":"Yeni bir Åifre belirleyin. En az 12 karakter öneririz.","passwordFootnote":"Bu cihazda oturumunuz açık kalır.","updatePassword":"Åifreyi güncelle","currentPassword":"Mevcut Åifre","newPassword":"Yeni Åifre","confirmPassword":"Yeni Åifreyi onayla","toggleVisibility":"Åifre görünürlüÄünü deÄiÅtir","passwordSaved":"Åifre güncellendi.","passwordSaveFailed":"Åifre güncellenemedi.","passwordRequired":"Tüm Åifre alanlarını doldurun.","passwordMismatch":"Yeni Åifreler eÅleÅmiyor."},"members":{"title":"Ãyeler","subtitle":"{workspace} çalıÅma alanına kimlerin eriÅebileceÄini yönetin.","seatsTitle":"Koltuklar","seatsDesc":"Planınız en fazla {limit} koltuk içerir. Test ve planlarda iÅ birliÄi için üye ekleyin.","seatsUsed":"koltuk kullanıldı","seatsFootnote":"Daha fazla koltuk mu lazım? Planınızı yükseltin veya satıÅla görüÅün.","membersTitle":"Ãyeler","membersDesc":"{workspace} çalıÅma alanına eriÅimi olan kiÅiler.","inviteMember":"Ãye davet et","empty":"Henüz üye yok.","colMember":"Ãye","colRole":"Rol","colLastActive":"Son etkin","you":"Siz","roleAdmin":"Yönetici","roleMember":"Ãye","roleOwner":"Sahip","makeAdmin":"Yönetici yap","makeMember":"Ãye yap","removeMember":"Ãyeyi kaldır","roleUpdated":"{name} kullanıcısının rolü güncellendi.","roleUpdateFailed":"Rol güncellenemedi.","memberRemoved":"{name} çalıÅma alanından kaldırıldı.","memberRemoveFailed":"Bu üye kaldırılamadı.","removeConfirmTitle":"Ãye kaldırılsın mı?","removeConfirmBody":"{name} bu çalıÅma alanına eriÅimini kaybeder ve bir koltuk boÅalır. Bu iÅlem geri alınamaz.","removeConfirmCancel":"Vazgeç","removeConfirmConfirm":"Kaldır","pendingTitle":"Bekleyen davetler","pendingDesc":"Davet edilmiÅ ancak henüz k
66atılmamıŠkiÅiler.","pendingBadge":"Bekliyor","resend":"Tekrar gönder","revoke":"İptal et","invitedToday":"Bugün davet edildi","invitedDaysAgo":"{days, plural, one {# gün} other {# gün}} önce davet edildi","inviteResent":"Davet {email} adresine tekrar gönderildi.","inviteResendFailed":"Davet tekrar gönderilemedi.","inviteRevoked":"{email} için davet iptal edildi.","inviteRevokeFailed":"Davet iptal edilemedi."},"security":{"title":"Güvenlik","subtitle":"İki adımlı doÄrulama ve etkin oturumlar.","comingSoon":"Bu özellik henüz backend'e baÄlı deÄil.","twoFactorTitle":"İki adımlı doÄrulama","twoFactorDesc":"Bir kimlik doÄrulayıcı uygulamayla giriÅe ikinci bir adım ekleyin.","authenticatorApp":"Kimlik doÄrulayıcı uygulama","on":"Açık","off":"Kapalı","configured":"Bir kimlik doÄrulayıcı uygulamayla yapılandırıldı.","notConfigured":"Yapılandırılmadı","viewBackupCodes":"Yedek kodları görüntüle","sessionsTitle":"Etkin oturumlar","sessionsDesc":"Hesabınızda Åu anda oturum açmıŠcihazlar.","signOutAll":"Tümünden çıkıŠyap","thisDevice":"Bu cihaz","revoke":"Sonlandır"},"notifications":{"title":"Bildirimler","subtitle":"Gelen kutunuza ve uygulama içi kutunuza neyin ulaÅacaÄına karar verin.","cardTitle":"Bildirimler","cardDesc":"Neyle ilgili, nerede bildirim alacaÄınızı seçin. Kritik faturalama makbuzları her zaman e-postayla gönderilir.","email":"E-posta","inApp":"Uygulama içi","footnote":"Yalnızca sizin hesabınıza uygulanır.","save":"Tercihleri kaydet","saved":"Bildirim tercihleri kaydedildi.","rows":{"testFailures":{"label":"Test çalıÅtırma hataları","desc":"Bir web testi veya plan çalıÅtırması hata ya da baÅarısızlıkla bittiÄinde."},"planCompletion":{"label":"Plan tamamlanması","desc":"ZamanlanmıŠbir otomasyon planı tam bir çalıÅtırmayı bitirdiÄinde."},"weeklyDigest":{"label":"Haftalık özet","desc":"Geçme oranı, kararsız testler ve kullanımın Pazartesi özeti."},"usageLimits":{"label":"Kullanım limitleri","desc":"Aylık test senaryosu kotanızın %80 / %100'üne ulaÅtıÄınızda."},"billingInvoices":{"label":"Faturalama ve faturalar","desc":"Ãdeme makbuzları, yenilemeler ve baÅarısız tahsilat uyarıları."},"productUpdates":{"label":"Ãrün güncellemeleri","desc":"Yeni özellikler, sürüm notu öne çıkanları ve ipuçları."}}}},"tools":{"doc":{"breadcrumb":"Araçlar","title":"Araçlar","lead":"Veri kaynakları, kayıtlı HTTP istekleri ve eleman etiketleri - testlerinizin ve planlarınızın kullandıÄı yeniden kullanılabilir yapı taÅları.","onThisPage":"Bu sayfada","copy":"Kopyala","copied":"Kopyalandı","calloutInfo":"Not","calloutTip":"İpucu","calloutWarning":"Ãnemli","cta":"Yeni veri kaynaÄı","updated":"Güncellenme: 2 Haziran 2026"},"testTags":{"breadcrumb":"Araçlar","title":"Test Etiketleri","description":"Test paketinizi düzenlemek, filtrelemek ve gruplamak için testlere veya dizinlere atadıÄınız renkli etiketler.","newTag":"Etiket OluÅtur","searchPlaceholder":"Etiket araâ¦","allowUsersLabel":"Kullanıcıların etiket yönetmesine izin ver","colName":"Ad","colColor":"Renk","colType":"Tür","typeEntity":"Teste BaÄlı","typeDirectory":"Dizine BaÄlı","rowsTags":"etiket","noMatch":"Aramanızla eÅleÅen etiket yok.","resetSearch":"Aramayı sıfırla","emptyTitle":"Henüz test etiketi yok","emptyMessage":"Testleri ve dizinleri düzenlemeye baÅlamak için ilk etiketinizi oluÅturun.","actEdit":"Düzenle","actDelete":"Sil","deleteTitle":"Test etiketini sil","deleteMessage":"â{name}â silinsin mi? Bu etiketi kullanan testler etiketi kaybedecek. Bu iÅlem geri alınamaz.","deleteConfirm":"Sil","deleteCancel":"İptal","deleted":"Test etiketi silindi","deleteFailed":"Test etiketi silinemedi","createTitle":"Test Etiketi OluÅtur","editTitle":"Test Etiketini Düzenle","fieldName":"Ad","namePlaceholder":"ör. Smoke, Regression, Login","fieldType":"Tür","fieldColor":"Renk","cancel":"İptal","save":"Kaydet","createBtn":"OluÅtur","created":"Test etiketi oluÅturuldu","updated":"Test etiketi güncellendi","saveFailed":"Test etiketi kaydedilemedi","duplicateName":"Bu isimde bir etiket zaten mevcut","nameRequired":"Etiket adı gerekli","permissionEnabled":"Kullanıcılar artık etiketleri yönetebilir","permissionDisabled":"Yalnızca yöneticiler etiketleri yönetebilir","permissionFailed":"İzin güncellenemedi"},"elementTags":{"breadcrumb":"Araçlar","title":"Eleman Etiketleri","description":"DOM deÄiÅse bile adımlarınızın er
66iÅilebilir kalması için tarayıcı uzantısı ve mobil denetleyici tarafından yakalanan, adlandırılmıŠkararlı seçiciler.","searchPlaceholder":"Ada veya seçiciye göre araâ¦","filterType":"Tür","filterPlatform":"Platform","colName":"Ad","colSelector":"Seçici","colType":"Tür","colPlatform":"Platform","rowsTags":"etiket","actView":"Görüntüle","actCopySelector":"Seçiciyi kopyala","actDelete":"Sil","copiedSelector":"Seçici kopyalandı","emptyTitle":"Henüz eleman etiketi yok","emptyMessage":"Eleman etiketleri tarayıcı uzantısı ve mobil denetleyiciden yakalanır - test oluÅtururken eleman etiketledikçe burada görünürler.","noMatch":"Filtrelerinizle eÅleÅen etiket yok.","resetFilters":"Filtreleri sıfırla","deleteTitle":"Eleman etiketini sil","deleteMessage":"â{name}â silinsin mi? Bu etiketi referans alan adımlar kendi satır içi seçicilerine geri dönecektir. Bu iÅlem geri alınamaz.","deleteConfirm":"Sil","deleteCancel":"Vazgeç","deleted":"Eleman etiketi silindi","deleteFailed":"Eleman etiketi silinemedi","loadFailed":"Eleman etiketleri yüklenemedi","typeLabel":"Etiket","typeWait":"Kaybolana kadar bekle","typeExclude":"Hariç tut","typePredefined":"Ãnceden tanımlı","platformWeb":"Web","platformMobile":"Mobil","platformIos":"iOS","platformAndroid":"Android","panelSelector":"Seçici","panelXpath":"XPath","panelFullXpath":"Tam XPath","panelElementId":"Eleman ID","panelFrame":"Ãerçeve URL","panelScreenshots":"Ekran görüntüleri","panelPage":"Sayfa","panelElement":"Eleman","panelNoScreenshot":"Bu etiket için ekran görüntüsü yakalanmamıÅ."},"dataSources":{"breadcrumb":"Araçlar","title":"Veri Kaynakları","description":"Veri odaklı planlarınızı besleyen dosyalar ve HTTP yanıtları - yineleme baÅına bir satır, çalıÅma alanı genelinde paylaÅılır.","newSource":"Yeni veri kaynaÄı","searchPlaceholder":"Veri kaynaklarında araâ¦","filterFormat":"Biçim","filterSource":"Kaynak","sourceFile":"Dosya","sourceHttp":"HTTP","colFormat":"Biçim","colName":"Ad","colSource":"Kaynak","colCreated":"OluÅturulma","rowsSources":"kaynak","kpiTotal":"Toplam kaynak","kpiFile":"Dosya yüklemeleri","kpiHttp":"HTTP baÄlamaları","kpiFormats":"Biçimler","actEdit":"Ayrıntıları düzenle","actCopyId":"ID kopyala","actDelete":"Sil","copiedId":"Veri kaynaÄı ID kopyalandı","emptyTitle":"Henüz veri kaynaÄı yok","emptyMessage":"Veri odaklı planları beslemek için bir CSV, XLS, XLSX, JSON veya XML dosyası yükleyin ya da kayıtlı bir HTTP isteÄi baÄlayın.","emptyCta":"Yeni veri kaynaÄı","noMatch":"Filtrelerinizle eÅleÅen veri kaynaÄı yok.","resetFilters":"Filtreleri sıfırla","deleteTitle":"Veri kaynaÄını sil","deleteMessage":"â{name}â silinsin mi? Buna baÄlı plan ve testler, yeniden baÄlanana kadar bir sonraki çalıÅtırmada baÅarısız olur. Bu iÅlem geri alınamaz.","deleteConfirm":"Sil","deleteCancel":"Vazgeç","deleted":"Veri kaynaÄı silindi","deleteFailed":"Veri kaynaÄı silinemedi","loadFailed":"Veri kaynakları yüklenemedi","createTitle":"Yeni veri kaynaÄı","createSubtitle":"Bir dosya yükleyin veya kayıtlı bir HTTP isteÄi baÄlayın.","editTitle":"Veri kaynaÄını düzenle","editSubtitle":"Yeniden adlandırın, dosyayı deÄiÅtirin veya HTTP isteÄini yeniden baÄlayın.","currentFile":"Mevcut dosya","tabFile":"Dosya yükleme","tabHttp":"HTTP isteÄi","dropTitle":"Bir dosya bırakın veya göz atmak için tıklayın","dropHint":"En fazla 10 MB · CSV · XLS · XLSX · JSON · XML","fileReplace":"DeÄiÅtir","fileRemove":"Kaldır","labelName":"Ad","placeholderName":"Veri kaynaÄı adı","labelDescription":"Açıklama","placeholderDescription":"Kısa açıklama (isteÄe baÄlı)","labelFormat":"Biçim","labelRequest":"HTTP isteÄi","pickRequest":"Kayıtlı bir istek seçin","noRequests":"Kayıtlı HTTP isteÄi bulunamadı.","parseAs":"Yanıtı Åu biçimde ayrıÅtır","create":"OluÅtur","save":"Kaydet","cancel":"Vazgeç","saving":"Kaydediliyorâ¦","created":"Veri kaynaÄı oluÅturuldu","updated":"Veri kaynaÄı güncellendi","saveFailed":"Veri kaynaÄı kaydedilemedi","uploadFailed":"Dosya yüklenemedi","nameRequired":"Ad zorunludur.","fileRequired":"Yüklemek için bir dosya seçin.","requestRequired":"BaÄlamak için bir HTTP isteÄi seçin.","actDownload":"Dosyayı indir","actQuickView":"Hızlı görüntüle","downloaded":"Dosya indirildi","downloadFailed":"Dosya indirilemedi","quickViewTitle":"{name} ({format})","quickViewLoading":"Ãnizleme yükleniyorâ¦","quickViewError":"Dosya önizlemesi yüklenemedi","quickViewEmpty":"Dosya bo
66Å","quickViewRawFallback":"Dosya ayrıÅtırılamadı â ham içerik gösteriliyor","quickViewRows":"{count, plural, one {# satır} other {# satır}}","quickViewCols":"{count, plural, one {# sütun} other {# sütun}}","quickViewLines":"{count, plural, one {# satır} other {# satır}}"},"httpRequest":{"breadcrumb":"Araçlar","title":"HTTP İsteÄi","description":"İstediÄinizde gönderebileceÄiniz veya bir teste baÄlayabileceÄiniz kayıtlı API çaÄrıları - bir yöntem, URL, baÅlık, gövde ve kimlik doÄrulama ayarlayın, ardından canlı yanıtı inceleyin.","newRequest":"Yeni İstek","searchPlaceholder":"Ada veya URL'ye göre araâ¦","filterMethod":"Yöntem","colMethod":"Yöntem","colName":"Ad","colUrl":"URL","colUpdated":"Güncellenme","rowsRequests":"istek","kpiTotal":"Toplam istek","kpiGet":"Okuma (GET)","kpiWrite":"Yazma","kpiMethods":"Kullanılan yöntemler","actEdit":"Düzenle","actDuplicate":"ÃoÄalt","actCopyId":"ID kopyala","actDelete":"Sil","copiedId":"İstek ID kopyalandı","emptyTitle":"Henüz kayıtlı istek yok","emptyMessage":"İstediÄinizde göndermek veya testlerinizden referans almak için bir API isteÄi oluÅturup kaydedin.","emptyCta":"Yeni istek","noMatch":"Filtrelerinizle eÅleÅen istek yok.","resetFilters":"Filtreleri sıfırla","deleteTitle":"İsteÄi sil","deleteMessage":"â{name}â silinsin mi? Bunu referans alan testler ve veri kaynakları yeniden yönlendirilene kadar bozulur. Bu iÅlem geri alınamaz.","deleteConfirm":"Sil","deleteCancel":"Vazgeç","deleted":"İstek silindi","deleteFailed":"İstek silinemedi","loadFailed":"Bu istek yüklenemedi.","duplicated":"İstek çoÄaltıldı","copySuffix":"kopya","back":"İsteklere dön","namePlaceholder":"Adsız istek","descriptionPlaceholder":"Kısa bir açıklama ekleyinâ¦","urlPlaceholder":"https://example.com/api","send":"Gönder","sending":"Gönderiliyorâ¦","save":"Kaydet","saving":"Kaydediliyorâ¦","saved":"İstek kaydedildi","saveFailed":"İstek kaydedilemedi","sendFailed":"İstek gönderilemedi","copyCurl":"cURL olarak kopyala","copiedCurl":"cURL kopyalandı","importCurl":"cURL içe aktar","unsaved":"KaydedilmemiÅ deÄiÅiklikler","savedBadge":"Kaydedildi","tabParams":"Parametreler","tabHeaders":"BaÅlıklar","tabBody":"Gövde","tabAuth":"Kimlik DoÄrulama","tabSettings":"Ayarlar","kvKey":"Anahtar","kvValue":"DeÄer","kvHeader":"BaÅlık","kvAddParam":"Parametre ekle","kvAddHeader":"BaÅlık ekle","kvEmptyParams":"Sorgu parametresi yok. Bir tane ekleyin veya URL'ye dahil edin.","kvEmptyHeaders":"Henüz baÅlık yok.","bodyNone":"Yok","bodyText":"Metin","bodyJson":"JSON","bodyFormData":"Form Verisi","bodyPlaceholder":"{\\n \\"key\\": \\"value\\"\\n}","bodyTextPlaceholder":"Düz metin içeriÄiâ¦","bodyFormPlaceholder":"AÅaÄıya form alanları ekleyin.","formatJson":"JSON Biçimlendir","invalidJson":"Gövde geçerli bir JSON deÄil.","formKey":"Anahtar","formValue":"DeÄer","formAddField":"Alan ekle","formEmptyFields":"Form alanı yok. Bir anahtar-deÄer çifti ekleyin.","authNone":"Kimlik DoÄrulama Yok","authBearer":"Bearer Token","authBasic":"Basic Auth","authApiKey":"API Anahtarı","authNoneHint":"Bu istek herhangi bir kimlik doÄrulama olmadan gönderilecek.","authToken":"Token","authUsername":"Kullanıcı adı","authPassword":"Parola","authKey":"Anahtar","authValue":"DeÄer","authAddTo":"Åuraya ekle","authAddToHeader":"BaÅlık","authAddToQuery":"Sorgu parametresi","settingFollow":"Yönlendirmeleri takip et","settingFollowHint":"3xx Location baÅlıklarını otomatik takip et.","settingVerifySsl":"SSL sertifikasını doÄrula","settingVerifySslHint":"Geçersiz TLS sertifikası olan yanıtları reddet.","responseTitle":"Yanıt","responseReady":"Göndermeye hazır","responseReadyHint":"İsteÄi göndermek ve yanıtı incelemek için Gönder'e basın.","responseStatus":"Durum","responseTime":"Süre","responseSize":"Boyut","respBody":"Gövde","respHeaders":"BaÅlıklar","respPretty":"Düzenli","respRaw":"Ham","respCopyBody":"Gövdeyi kopyala","respCopied":"Panoya kopyalandı","respCopyFailed":"Kopyalanamadı","respExpandTitle":"BaÅlık deÄeri","respCopyValue":"DeÄeri kopyala","tabCurl":"cURL","variables":"DeÄiÅkenler","variablesHintPre":"","variablesHintPost":"yer tutucularına deÄer atayın","variablePlaceholder":"DeÄerâ¦","variableSecret":"Gizli olarak iÅaretle","variablePublic":"Açık olarak iÅaretle","curlAutoGenerated":"Formdan otomatik oluÅturuldu. Elle düzenleyerek geçersiz kılabilirsiniz.","curlApply":"Forma uygula","curlApplied":"cURL forma uygulandı","importTitle":"cURL'den içe aktar","importSubtitle":"Yöntemi, URL'yi, baÅlıkları ve gövdeyi doldurmak için bir cURL komutu yapıÅtırın.","importPlaceholder":"curl https://api.example.com/users \\\\\\n -H 'Authorization: Bearer abc123'","import":"İçe aktar","importFailed":"Bu cURL komutu ayrıÅtırılamadı."},"scenarioFiles":{"breadcrumb":"Araçlar","title":"Test Varlıkları","description":"Senaryo adımlarında kullanılmak üzere yüklenen dosyalar â betikler, test veri dosyaları veya çalıÅma alanı genelinde paylaÅılan referans dokümanlar.","newFile":"Yeni test varlıÄı","
66searchPlaceholder":"Test varlıklarında araâ¦","colName":"Ad","colDescription":"Açıklama","colCreatedBy":"OluÅturan","colCreated":"OluÅturulma","rowsFiles":"varlık","kpiTotal":"Toplam varlık","actEdit":"Ayrıntıları düzenle","actDownload":"Dosyayı indir","actCopyId":"ID kopyala","actDelete":"Sil","copiedId":"Test varlıÄı ID kopyalandı","emptyTitle":"Henüz test varlıÄı yok","emptyMessage":"Senaryo adımlarında kullanılabilir bir dosya yükleyin. Her dosya türü kabul edilir, en fazla 10 MB.","emptyCta":"Yeni test varlıÄı","noMatch":"Aramanızla eÅleÅen test varlıÄı yok.","resetFilters":"Filtreleri sıfırla","deleteTitle":"Test varlıÄını sil","deleteMessage":"â{name}â silinsin mi? Bu dosyaya baÅvuran senaryolar artık dosyaya eriÅemeyecek. Bu iÅlem geri alınamaz.","deleteConfirm":"Sil","deleteCancel":"Vazgeç","deleted":"Test varlıÄı silindi","deleteFailed":"Test varlıÄı silinemedi","loadFailed":"Test varlıkları yüklenemedi","downloaded":"Dosya indirildi","downloadFailed":"Dosya indirilemedi","createTitle":"Yeni test varlıÄı","createSubtitle":"Senaryolarda kullanılabilir bir dosya yükleyin.","editTitle":"Test varlıÄını düzenle","editSubtitle":"Adı veya açıklamayı deÄiÅtirin. Yüklenen dosya deÄiÅtirilemez.","dropTitle":"Bir dosya bırakın veya göz atmak için tıklayın","dropHint":"En fazla 10 MB · tüm dosya türleri","labelName":"Ad","placeholderName":"Test varlıÄı adı","labelDescription":"Açıklama","placeholderDescription":"Kısa açıklama (isteÄe baÄlı)","labelFileKey":"Dosya anahtarı","create":"OluÅtur","save":"Kaydet","cancel":"Vazgeç","saving":"Kaydediliyorâ¦","created":"Test varlıÄı oluÅturuldu","updated":"Test varlıÄı güncellendi","saveFailed":"Test varlıÄı kaydedilemedi","uploadFailed":"Dosya yüklenemedi","nameRequired":"Ad zorunludur.","fileRequired":"Yüklemek için bir dosya seçin."}},"automation":{"overview":{"breadcrumb":"Otomasyon","title":"Planlar","description":"Testleri dizinlerde gruplandırın veya planlarda çalıÅtırın. Zamanlayın, paralel çalıÅtırın veya CI üzerinden tetikleyin.","newPlan":"Yeni Plan","newDirectory":"Yeni Dizin","searchPlaceholder":"Planlarda ve dizinlerde araâ¦","colType":"Tür","colName":"Ad","colCreated":"OluÅturulma","colItems":"ÃÄeler","kpiDirectories":"Dizinler","kpiDirectoriesSub":"{count, plural, one {# grup genelinde} other {# grup genelinde}}","kpiPlans":"Planlar","kpiPlansSub":"Chromium · Firefox · WebKit üzerinde çalıÅır","rowsPlans":"plan","itemsCount":"{count, plural, =0 {boÅ} other {# öÄe}}","actRun":"ÃalıÅtır","actStop":"Durdur","actResults":"Plan sonuçları","actEdit":"Düzenle","actDelete":"Sil","actAddPlan":"Plan ekle","actAddDir":"Alt dizin ekle","actRename":"Yeniden adlandır","actMove":"TaÅı","dirPickerLabel":"Dizin","dirMoveHere":"Buraya taÅı","dirNewHere":"+ Buraya yeni dizin","dirSearchPlaceholder":"Dizinlerde araâ¦","dirRoot":"Tüm planlar","running":"Plan çalıÅtırması baÅlatıldı","runFailed":"Plan çalıÅtırması baÅlatılamadı","stopped":"Plan durduruldu","stopFailed":"Plan durdurulamadı","emptyTitle":"Henüz plan yok","emptyMessage":"Bir grup testi birlikte - istediÄinizde veya zamanlanmıŠolarak - çalıÅtırmak için bir plan oluÅturun.","emptyTour":"Hızlı tura baÅla","emptyCta":"Yeni plan","noMatch":"Aramanızla eÅleÅen plan yok.","resetSearch":"Aramayı temizle","dirTitle":"Yeni dizin","dirTitleSub":"{parent} içinde oluÅturulur.","dirTitleRoot":"Planlar listenizin en üstünde görünür.","dirNamePlaceholder":"Dizin adı","dirCreate":"Dizin oluÅtur","renameTitle":"Dizini yeniden adlandır","rename":"Yeniden adlandır","cancel":"Vazgeç","deleteTitlePlan":"Planı sil","deleteMessagePlan":"â{name}â silinsin mi? ÃalıÅtırma geçmiÅi korunur ancak plan ve zamanlaması kaldırılır. Bu iÅlem geri alınamaz.","deleteTitleDir":"Dizini sil","deleteMessageDirEmpty":"â{name}â silinsin mi? Bu iÅlem geri alınamaz.","deleteMessageDirNotEmpty":"â{name}â silinsin mi? İçindeki planlar önce üst dizine taÅınır. Bu iÅlem geri alınamaz.","deleteConfirm":"Sil","deleted":"Silindi","deleteFailed":"Silme baÅarısız","dirCreated":"Dizin oluÅturuldu","renamed":"Dizin yeniden adlandırıldı","saveFailed":"Kaydetme baÅarısız","dirDuplicateName":"Bu adla bir dizin zaten var. BaÅka bir ad deneyin.","move":"TaÅı","moveDuplicateName":"Hedef klasörde bu adla bir öÄe zaten var.","moveFailed":"ÃÄe taÅınamadı","colUpdated":"Güncellendi"},"wizard":{"title":"Plan oluÅtur","titleIn":"{parent} içinde plan oluÅtur","trackerAsset":"Varlık türünü seç","trackerCreate":"OluÅtur","trackerReview":"İncele ve gönder","innerSteps":"İç adımlar","stepCounter"
66:"Adım {n}/{total}","reviewSubmit":"İncele ve gönder","notSet":"Ayarlanmadı","step1":"Plan ayrıntıları","step1sub":"Ad ve seçenekler","step2":"Test seç","step2sub":"AÄacınızdan seçin","step3":"Testleri sırala","step3sub":"ÃalıÅma sırasını belirleyin","hintStep":"Adım {n} / {total}","labelName":"Plan adı","placeholderName":"Plan adını girin","sectionSchedule":"Zamanlama","scheduleToggle":"ZamanlanmıŠçalıÅtırma","frequency":"Sıklık","freqHourly":"Saatlik","freqDaily":"Günlük","freqWeekly":"Haftalık","at":"Saat","on":"Gün","freqMonthly":"Aylık","dayOfMonth":"Ayın günü","useCustomCron":"Ãzel cron kullan","customCronHint":"GeliÅmiÅ: cron ifadesini doÄrudan oluÅturun.","cronUnschedulable":"Bu zamanlama geçerli bir cron ifadesi deÄil, hiçbir zaman çalıÅmaz. Kaydetmeden önce düzeltin.","cronStoredInvalid":"Kayıtlı zamanlama geçerli bir cron ifadesi deÄil ve hiç çalıÅmıyor. Düzeltmek için bir zamanlama seçin.","cronEvery":"Her","cronIn":"Ay","cronOn":"Gün","cronAnd":"ve","cronAt":"Saat","cronMinuteSep":":","cronMinutesSuffix":"dakikada","cronPeriodYear":"yıl","cronPeriodMonth":"ay","cronPeriodWeek":"hafta","cronPeriodDay":"gün","cronPeriodHour":"saat","cronPeriodMinute":"dakika","cronEveryMonth":"her ay","cronEveryMonthDay":"ayın her günü","cronMonthDayShort":"ayın günü","cronEveryWeekDay":"haftanın her günü","cronWeekDayShort":"haftanın günü","cronEveryHour":"her saat","cronEveryMinute":"her dakika","cronEveryShort":"her","cronEveryN":"her {n}","cronClear":"Temizle","cronInvalid":"Geçersiz cron ifadesi","cronPeriodAria":"Tekrar aralıÄı","cronMonthsAria":"Aylar","cronMonthDaysAria":"Ayın günleri","cronWeekDaysAria":"Haftanın günleri","cronHoursAria":"Saatler","cronMinutesAria":"Dakikalar","monthJan":"Ocak","monthFeb":"Åubat","monthMar":"Mart","monthApr":"Nisan","monthMay":"Mayıs","monthJun":"Haziran","monthJul":"Temmuz","monthAug":"AÄustos","monthSep":"Eylül","monthOct":"Ekim","monthNov":"Kasım","monthDec":"Aralık","sectionTestOptions":"Test seçenekleri","browsers":"Tarayıcılar","browsersPlaceholder":"Tarayıcı seçin","parallel":"Paralel çalıÅtırma","retryToggle":"BaÅarısız testleri yeniden dene","retryLabel":"Yeniden deneme sayısı","sectionReporting":"Raporlama","recordVideo":"Raporlara video ekle","saveArtifacts":"Hatada adım ayrıntılarını kaydet","sectionProfiles":"Ayar profilleri","profilesHint":"ÃalıÅma sırasında kayıtlı yürütme ayarlarını uygulayın.","profilesPlaceholder":"Plan için ayar profillerini seçin","profilesEmpty":"Henüz ayar profili yok.","sectionNotifications":"Bildirimler","notifyPlaceholder":"E-posta adresi","notifyOnFailure":"Hatada","notifyAlways":"Her zaman","notifyAdd":"Ekle","testSearchPlaceholder":"Testlerde araâ¦","selectedCount":"{count} seçili","noTests":"Bu çalıÅma alanında test bulunamadı.","selectTag":"Etiket seç","allTags":"Tüm etiketler","colName":"Ad","treeShowing":"{total} testin {selected} tanesi seçili · {groups} grup","groupSelectAria":"{name} içindeki tüm testleri seç","orderKickerStep":"Adım 03","orderKickerTests":"Testleri sırala","orderTitle":"ÃalıÅtırma sırasını belirleyin","orderHint":"Testler bu sırayla ardıÅık çalıÅır (Paralel çalıÅtırma açık deÄilse). Sürükleyerek ya da okları kullanarak yeniden sıralayın.","orderSelectedTests":"Seçili testler","orderEmpty":"Ãnce bir önceki adımda test seçin.","sumName":"Ad","sumTests":"Test","sumBrowsers":"Tarayıcılar","sumSchedule":"Zamanlama","none":"Yok","off":"Kapalı","weekdaySun":"Pazar","weekdayMon":"Pazartesi","weekdayTue":"Salı","weekdayWed":"ÃarÅamba","weekdayThu":"PerÅembe","weekdayFri":"Cuma","weekdaySat":"Cumartesi","browserChrome":"Chrome","browserFirefox":"Firefox","browserSafari":"Safari","browserEdge":"Edge","nameRequired":"Plan adı zorunludur.","testsRequired":"En az bir test seçin.","created":"Plan oluÅturuldu","saveFailed":"Plan oluÅturulamadı","duplicateName":"Bu adla bir plan zaten var. BaÅka bir ad deneyin.","editTitle":"Planı Düzenle","editLoadingTitle":"Plan yükleniyorâ¦","updateBtn":"Planı güncelle","updated":"Plan güncellendi","updateFailed":"Plan güncellenemedi","step4":"Veri kaynaÄı","step4sub":"Testlere baÄla","dsTitle":"Veri kaynaklarını testlere baÄla","dsIntro":"İsteÄe baÄlı. Parametrelerle çalıÅması gereken herhangi bir teste bir veri kaynaÄı eÅleyin. BaÄlantısı olmayan testler varsayılan deÄerleriyle çalıÅır.","dsColTests":"Testler","dsColSources":"Veri kaynakları","dsColBindings":"Mevcut baÄlar","dsSearchTests":"Test araâ¦","dsSearchSources":"Veri kaynaÄı araâ¦","dsSearchBindings":"BaÄ araâ¦","dsNoTests":"Seçili test yok","dsNoSources":"Veri kaynaÄı yok","dsNoBindings":"Henüz baÄ yok","dsBind":"Seçileni baÄla","dsBound":"BaÄlı","dsUnbind":"BaÄı kaldır","sumDataSources":"Veri kaynakları"},"results":{"breadcrumb":"Otomasyon","title":"Plan Sonuçları","description":"Planlarınızın çalıÅtırmaları - çalıÅtırma baÅına geçti/kaldı dökümü, herhangi bir testin tam raporuna inin.","searchPlaceholder":"Plan adına veya çalıÅtırana göre araâ¦","filter":"Filtre","colPlan":"Plan çalıÅtırması","colExecutor":"ÃalıÅtıran","colStatus":"Durum","colDuration":"Süre","colStarted":"BaÅlangıç","rowsRuns":"çalıÅtırma","passRate":"Geçme oranı","kpiEyebrow":"BaÅarılı çalıÅtırmalar","ofRuns":"{total} çalıÅtırmadan","status_passed":"Geçti","status_failed":"BaÅarısız","status_running":"ÃalıÅıyor","status_stopped":"Durduruldu","status_pending":"Beklemede","status_error":"Hata","testsCount":"{count, plural, other {# test}}","passFail":"{passed} geçti · {failed} baÅarısız","emptyTitle":"Henüz plan çalıÅtırması yok","emptyMessage":"Planlar ekranından bir plan çalıÅtırın; sonuçları burada görünür.","noMatch":"Filtrelerinizle eÅleÅen plan çalıÅtırması yok.","resetFilters":"Filtreleri sıfırla","actView":"Görüntüle","actCopyId":"ID kopyala","actStop":"ÃalıÅtırmayı durdur","actRerunAll":"Tümünü yeniden çalıÅtır","actRerunFailures":"BaÅarısızları yeniden çalıÅtır","actRerunErrors":"Hataları yeniden çalıÅtır","actionsLabel":"İÅlemler","nPassed":"{count} baÅarılı","nFailed":"{count} baÅarısız","triggerScheduled":"ZamanlanmıÅ","triggerManual":"Manuel","stopped":"Durdurma istendi","stopFailed":"ÃalıÅtırma durdurulamadı","rerunStarted":"Plan yeniden çalıÅtırması baÅlatıldı","rerunFailed":"Yeniden çalıÅtırma baÅlatılamadı","copiedId":"ÃalıÅtırma ID kopyalandı","tabOverview":"Genel bakıÅ","tabTests":"Testler","tabLogs":"Günlükler","logsTruncated":"Bu koÅunun ilk 20.000 satırı gösteriliyor.","logsFailed":"Bu koÅunun günlükleri yüklenemedi.","panelCrumb":"Plan çalıÅtırması","mTests":"Test","mPassed":"Geçti","mFailed":"BaÅarısız","detailsTitle":"ÃalıÅtırma ayrıntıları","dPlanId":"ÃalıÅtırma ID","dBy":"Tetikleyen","dStarted":"BaÅlangıç","dEnded":"BitiÅ","dDuration":"Süre","noLogs":"Bu çalıÅtırma için günlük yakalanmadı.","testsEmpty":"Bu plan çalıÅtırmasında test yok.","openReport":"Raporu aç","chipAll":"Tümü","testsPassed":"test geçti","testDistribution":"Test daÄılımı","testExecutions":"Test çalıÅtırmaları","testsSummary":"{total} test · {passed} geçti · {failed} baÅarısız","filterAll":"Tümü","filterFailed":"BaÅarısız","copyPublicLink":"Herkese açık linki kopyala","linkCopied":"Herkese açık link kopyalandı","publicLinkError":"Herkese açık link oluÅturulamadı","openInNewTab":"Yeni sekmede aç","copyLink":"Linki kopyala","newTab":"Yeni sekme","rerunShort":"Yeniden çalıÅtır","retryFailed":"BaÅarısızları dene","share":"PaylaÅ"},"doc":{"breadcrumb":"Otomasyon","title":"Otomasyon","lead":"Planlar testleri toplu yürütme için gruplar - istediÄinizde, zamanlanmıŠveya CI'da - ve Plan Sonuçları her çalıÅtırmayı raporlar.","onThisPage":"Bu sayfada","copy":"Kopyala","copied":"Kopyalandı","calloutInfo":"Not","calloutTip":"İpucu","calloutWarning":"Ãnemli","cta":"Yeni plan","updated":"Temmuz 2026'da güncellendi"}},"auth":{"common":{"tagline":"Yapay zeka tabanlı yazılım testi","footer":{"copyright":"© 2026 Text2Test","privacy":"Gizlilik","terms":"KoÅullar","help":"Yardım"}},"login":{"heading":"Tekrar hoÅ geldin","subheading":"Hadi biraz test yapalım. Text2Test çalıÅma alanına giriÅ yap.","social":{"google":"Google ile giriÅ yap","microsoft":"Microsoft ile giriÅ yap","github":"GitHub ile giriÅ yap"},"or":"VEYA","emailLabel":"İŠe-postası","emailPlaceholder":"[email protected]","passwordLabel":"Åifre","passwordPlaceholder":"Åifren","forgotPassword":"Åifreni mi unuttun?","showPassword":"Åifreyi göster","hidePassword":"Åifreyi gizle","signIn":"GiriÅ yap","newHere":"Yeni misin?","createAccount":"Hesap oluÅtur","registeredToast":{"title":"Hesap oluÅturuldu!","de
66scription":"ÃalıÅma alanın hazır. BaÅlamak için giriÅ yap."},"headingSignup":"Hesabınızı oluÅturun","subheadingMobile":"ÃalıÅtırmalarınızı izleyin, hataları yakalayın ve raporları inceleyin.","subheadingSignup":"Bir çalıÅma alanı edinin ve dakikalar içinde yapay zeka destekli test çalıÅtırmaya baÅlayın.","labels":{"username":"Kullanıcı Adı","email":"İŠe-postası","password":"Åifre"},"placeholders":{"username":"Kullanıcı Adı","email":"[email protected]","password":"Åifre","passwordSignup":"En az 8 karakter"},"forgotPasswordShort":"Åifremi unuttum?","noAccount":"Hesabınız yok mu?","registerHere":"Buradan kayıt ol","hasAccount":"Zaten hesabınız var mı?","signingIn":"GiriÅ yapılıyorâ¦","togglePasswordShow":"Åifreyi göster","togglePasswordHide":"Åifreyi gizle","continueGoogle":"Google ile devam et","continueMicrosoft":"Microsoft ile devam et","continueGithub":"GitHub ile devam et","oauthSoon":"OAuth giriÅi yakında","terms":"Hesap oluÅturarak Kullanım KoÅullarımızı ve Gizlilik Politikamızı kabul etmiÅ olursunuz.","tagline":"Yapay zeka destekli yazılım testi","errors":{"loginFailed":"GiriÅ baÅarısız","incorrectCredentials":"Kimlik bilgilerinden biri hatalı. Lütfen kontrol edip tekrar dene.","network":"AÄ hatası: Sunucuya ulaÅılamıyor. Lütfen baÄlantınızı kontrol edin.","unexpected":"Beklenmeyen hata: Lütfen daha sonra tekrar deneyin.","socialFailed":"GiriÅ baÅarısız","socialFailedDescription":"GiriÅ tamamlanamadı. Lütfen tekrar dene."}},"register":{"steps":{"account":"Hesap","verified":"DoÄrulama","workspace":"ÃalıÅma alanı"},"step1":{"heading":"Hesabını oluÅtur","subheading":"Bir çalıÅma alanı oluÅtur ve ilk testini dakikalar içinde çalıÅtır.","social":{"google":"Google ile devam et","microsoft":"Microsoft ile devam et","github":"GitHub ile devam et"},"or":"VEYA","emailLabel":"İŠe-postası","emailPlaceholder":"[email protected]","passwordLabel":"Åifre","passwordPlaceholder":"En az 8 karakter","confirmPasswordLabel":"Åifreyi onayla","confirmPasswordPlaceholder":"Åifreni tekrar gir","showPassword":"Åifreyi göster","hidePassword":"Åifreyi gizle","submit":"Hesap oluÅtur","termsAgreement":"Hesap oluÅturarak <terms>Kullanım KoÅulları</terms> ve <privacy>Gizlilik Politikası</privacy> belgelerimizi kabul etmiÅ olursun.","haveAccount":"Zaten hesabın var mı?","signIn":"GiriÅ yap"},"step2":{"heading":"Gelen kutunu kontrol et","sentTo":"Az önce Åu adrese bir etkinleÅtirme baÄlantısı gönderdik:","instructions":"Hesabını etkinleÅtirmek için baÄlantıya tıkla. EtkinleÅtirdikten sonra çalıÅma alanını kurmak için Åirket ve ekip adını isteyeceÄiz.","didntGet":"Gelmedi mi?","resend":"BaÄlantıyı tekrar gönder","resendIn":"{seconds} sn sonra tekrar gönder","maxReached":"Tekrar gönderme sınırına ulaÅıldı","useDifferent":"Farklı bir e-posta kullan"},"step3":{"heading":"ÃalıÅma alanını kur","subheading":"ÃalıÅma alanına bir isim ver â testlerin, çalıÅtırmaların ve raporların bu Åekilde düzenlenecek.","companyLabel":"Proje adı","companyPlaceholder":"örn. Uygulamam","companyHelp":"Proje kimliÄin olarak kullanılır. Daha sonra deÄiÅtirebilirsin.","projectNameTaken":"Bu proje adı zaten alınmıÅ. Lütfen farklı bir ad seç.","teamLabel":"Ekip adı","teamPlaceholder":"örn. QA Ekibi","teamHelp":"ÃalıÅma alanındaki ilk ekip. Sonraki adımda ekip arkadaÅlarını davet edebilirsin.","submit":"ÃalıÅma alanı oluÅtur ve devam et"},"toasts":{"socialFailed":"Kayıt baÅarısız","socialFailedDescription":"Kayıt tamamlanamadı. Lütfen tekrar dene.","requiredTitle":"Gerekli","step1Required":"Lütfen e-posta ve Åifreni gir.","passwordMismatchTitle":"Åifreler eÅleÅmiyor","passwordMismatch":"GirdiÄin Åifreler eÅleÅmiyor.","registrationFailed":"Kayıt baÅarısız","registrationFailedDescription":"Bir hata oluÅtu.","emailAlreadyRegistered":"Bu e-posta zaten kayıtlı. Bunun yerine giriÅ yapmayı dene.","resentTitle":"Gönderildi!","resentDescription":"DoÄrulama e-postası tekrar gönderildi.","errorTitle":"Hata","resendError":"Bir Åeyler ters gitti.","step3Required":"Lütfen her iki alanı da doldur."}},"reset":{"form":{"heading":"Åifreni mi unuttun?","subheading":"Åifre sıfırlama baÄlantısı almak için e-postanı gir.","emailLabel":"E-posta adresi","emailPlaceholder":"E-postanı gir","submit":"Sıfırlama baÄlantısı gönder","backToLogin":"â GiriÅe dön"},"sent":{"heading":"Åifre Sıfırlama","sentTo":"Åu adrese bir Åifre sıfırlama e-postası gönderdik","instructions":"Lütfen gelen kutunu kontrol et ve Åifreni sıfırlamak için talimatları izle.","didntGet":"Gelmedi mi?","resend":"BaÄlantıyı tekrar gönder","resendIn":"{seconds} sn sonra tekrar gönder","maxReached":"Tekrar gönderme sınırına ulaÅıldı","resentTitle":"Sıfırlama baÄlantısı gönderildi","resentDescription":"Yeni bir Åifre sıfırlama e-postası gönderdik.","backToSignIn":"GiriÅe geri dön"}
66,"errors":{"invalidEmailTitle":"Uyarı","invalidEmail":"Lütfen geçerli bir e-posta gir","failed":"Sıfırlama baÄlantısı gönderilemedi","tooManyTitle":"Ãok fazla istek","tooMany":"Ãok fazla baÄlantı istedin. Lütfen biraz bekleyip tekrar dene.","network":"AÄ hatası: Sunucuya ulaÅılamıyor. Lütfen baÄlantınızı kontrol edin.","unexpected":"Beklenmeyen hata: Lütfen daha sonra tekrar deneyin."}},"callback":{"signingIn":"GiriÅ yapılıyorâ¦","backToLogin":"GiriÅe geri dön","failedToast":"GiriÅ baÅarısız","genericError":"GiriÅ tamamlanamadı."},"socialRelay":{"expired":"Bu giriÅ baÄlantısının süresi doldu. Lütfen tekrar deneyin.","backToLogin":"GiriÅe geri dön"},"acceptInvite":{"pageTitle":"Daveti kabul et","heading":"Davet edildiniz","subheading":"{workspace} çalıÅma alanına katılmak için hesabınızı oluÅturun.","roleNote":"{role} olarak katılacaksınız.","role":{"ADMIN":"yönetici","USER":"üye","VIEWER":"izleyici"},"labels":{"email":"E-posta","firstName":"Ad","lastName":"Soyad","password":"Åifre","confirmPassword":"Åifreyi onayla"},"placeholders":{"firstName":"AyÅe","lastName":"Yılmaz","password":"Bir Åifre oluÅturun","confirmPassword":"Åifrenizi tekrar girin"},"accept":"Kabul et ve katıl","accepting":"OluÅturuluyorâ¦","togglePasswordShow":"Åifreyi göster","togglePasswordHide":"Åifreyi gizle","successToast":"Aramıza hoÅ geldiniz! BaÅlamak için giriÅ yapın.","backToLogin":"GiriÅe dön","loading":"Davetiniz kontrol ediliyorâ¦","invalidHeading":"Davet kullanılamıyor","invalidBody":"Bu davet baÄlantısı geçersiz, iptal edilmiÅ veya süresi dolmuÅ. Bir yöneticiden yeni bir davet isteyin.","missingToken":"Bu baÄlantıda davet jetonu eksik.","validation":{"required":"Bu alan zorunludur.","passwordMin":"En az 8 karakter kullanın.","passwordMismatch":"Åifreler eÅleÅmiyor."},"errors":{"failed":"Davet kabul edilemedi","network":"AÄ hatası: Sunucuya ulaÅılamıyor. Lütfen baÄlantınızı kontrol edin.","unexpected":"Beklenmeyen hata: Lütfen daha sonra tekrar deneyin."}}},"publicShare":{"pageTitle":"PaylaÅılan Rapor","loading":"PaylaÅılan rapor yükleniyorâ¦","notFound":"Link süresi dolmuÅ veya bulunamadı","notFoundDesc":"Bu paylaÅım linki süresi dolmuÅ veya iptal edilmiÅ olabilir.","expiresOn":"{date} tarihinde sona eriyor","noData":"Rapor verisi bulunamadı","executionReport":"Test ÃalıÅtırma Raporu","planReport":"Plan ÃalıÅtırma Raporu","totalSteps":"Toplam adım","totalTests":"Toplam test","passed":"BaÅarılı","failed":"BaÅarısız","environment":"Ortam","duration":"Süre","createdBy":"OluÅturan","started":"BaÅlangıç","ended":"BitiÅ","skipped":"Atlandı","reports":"Raporlar","artifactsAvailable":"Artifact mevcut","timeline":"Zaman akıÅı","running":"ÃalıÅıyor","pending":"Bekliyor","passRate":"BaÅarı oranı","testExecutions":"Test çalıÅtırmaları","analyticsReport":"Analitik Ãzeti","totalExecutions":"Toplam çalıÅtırma","successRate":"BaÅarı oranı"},"publicRunShare":{"pageTitle":"PaylaÅılan test sonucu","topbarTitle":"PaylaÅılan test sonucu","publicLink":"Herkese açık baÄlantı","sharedBy":"{name} paylaÅtı","expiresIn":"{count, plural, one {# gün içinde sona erer} other {# gün içinde sona erer}}","expiresToday":"Bugün sona eriyor","signIn":"Oturum aç","loading":"PaylaÅılan rapor yükleniyorâ¦","testRun":"Test çalıÅtırması","outcomeCounts":"{passed} baÅarılı · {failed} baÅarısız · {skipped} atlandı","passRate":"BaÅarı oranı","stepOutcomes":"Adım sonuçları","ranSkipped":"{ran} çalıÅtı · {skipped} hata sonrası atlandı","failedAt":"BaÅarısız adım","inFailedStep":"yalnızca baÅarısız adımda {duration}","target":"Hedef","duration":"Süre","replay":"Oturum kaydı","syncedToSteps":"adımlarla senkronize","replayUnavailable":"Bu kayıt kullanılamıyor. Video silinmiÅ olabilir veya bu çalıÅtırmada kaydedilmemiÅ olabilir.","failureSnapshot":"Hata özeti","failureStepMeta":"Adım {step} - {duration}","timeline":"Adım zaman çizelgesi","filter_all":"Tümü","filter_failed":"BaÅarısız","filter_skipped":"Atlanan","noSteps":"Kayıtlı adım yok","noStepsMatch":"Bu filtreyle eÅleÅen adım yok","noScreenshot":"Ekran görüntüsü alınmamıÅ","console":"Konsol","consoleMeta":"{errors, plural, one {# hata} other {# hata}} · {warnings, plural, one {# uyarı} other {# uyarı}}","consoleUnavailable":"Bu çalıÅtırma için konsol logları kaydedilmemiÅ.","network":"AÄ","networkMeta":"{requests, plural, one {# istek} other {# istek}} · {failed} baÅarısız","networkUnavailable":"Bu çalıÅtırma için aÄ kaydı mevcut deÄil.","runDetails":"ÃalıÅtırma ayrıntıları","workspace":"ÃalıÅma alanı","triggeredBy":"Tetikleyen","trigger":"Tetikleme","targetUrl":"Hedef URL","environment":"Ortam","started":"BaÅlangıç","ended":"BitiÅ","testId":"Test ID","footerSnapshot":"Text2Test tarafından oluÅturuldu · {date} tarihli salt görüntülenebilir anlık görüntü","reportId":"Rapor ID","reportAbuse":"Kötüye kullanımı bildir","expiredTitle":"Bu paylaÅılan test sonucunun süresi doldu","expiredWindow":"AçtıÄınız baÄlantı {days, plural, one {# gün} other {# gün}} sonra sona erecek Åekilde ayarlanmıÅtı. Gönderen kiÅiden baÄlantıyı yenilemesini isteyin veya çalıÅma alanına eriÅiminiz varsa oturum açın.","expiredWindowUnknown":"AçtıÄınız baÄlantının süresi doldu veya baÄlantı artık kullanılamıyor. Gönderen kiÅiden baÄlantıyı yenilemesini isteyin veya çalıÅma alanına eriÅiminiz varsa oturum açın.","requestNewLink":"Yeni baÄlantı iste","requestNewLinkHint":"Yeni bir baÄlantı oluÅturması için bu çalıÅtırmayı sizinle paylaÅan kiÅiye ulaÅın.","workspaceLink":"Yalnızca çalıÅma alanı","viewInResults":"Test Sonuçlarında aç","runLoadErrorTitle":"Bu test koÅusu yüklenemedi","runLoadError":"KoÅu silinmiÅ olabilir ya da Åu anda etkin olmayan bir takıma ait olabilir. DoÄru takıma geçip tekrar deneyin.","wrongTeamTitle":"Bu koÅu baÅka bir takıma ait","
66wrongTeamMessage":"AçtıÄınız koÅu {team} takımında; Åu anki etkin takımınız farklı. Raporu görüntülemek için o takıma geçin.","switchTeamAction":"{team} takımına geç ve aç","wrongCompanyTitle":"Bu koÅu baÅka bir çalıÅma alanına ait","wrongCompanyMessage":"AçtıÄınız koÅu {company} çalıÅma alanının {team} takımında. Raporu görüntülemek için oraya geçin.","switchCompanyAction":"{company} çalıÅma alanına geç ve aç","signInAction":"Text2Test'te oturum aç"},"publicPlanShare":{"pageTitle":"PaylaÅılan plan koÅusu","topbarTitle":"PaylaÅılan plan koÅusu","noData":"Kullanılabilir plan raporu verisi yok","untitledTest":"İsimsiz test","unknownError":"Bilinmeyen hata","planRun":"Plan koÅusu","passFailCounts":"{passed} baÅarılı · {failed} baÅarısız","passRate":"BaÅarı oranı","failed":"BaÅarısız","duration":"Süre","avgPerTest":"Ort. / test","dPlanId":"Plan ID","dWorkspace":"ÃalıÅma alanı","dTriggeredBy":"Tetikleyen","dTrigger":"Tetikleme","dStarted":"BaÅlangıç","dEnded":"BitiÅ","dEnvironment":"Ortam","dDuration":"Süre","dSharedBy":"PaylaÅan","dExpires":"Son kullanma","replayUnavailable":"Bu kayıt kullanılamıyor. Video silinmiÅ olabilir veya bu çalıÅtırmada kaydedilmemiÅ olabilir.","testsInRun":"Bu koÅudaki testler","noTestsMatch":"Bu filtreyle eÅleÅen test yok","topFailureReasons":"En sık baÅarısızlık nedenleri","noFailures":"Bu koÅuda baÅarısızlık yok","runEnvironment":"KoÅu ortamı","expiresToday":"Bugün sona eriyor","expiresIn":"{count, plural, one {# gün içinde sona erer} other {# gün içinde sona erer}}","backToPlanRun":"Plan koÅusuna dön","testOrdinal":"test #{n}","miniSteps":"Adım","miniPassed":"BaÅarılı","miniFailed":"BaÅarısız","drillOverview":"Genel bakıÅ","drillConsole":"Konsol","drillNetwork":"AÄ","drillSteps":"Adımlar","stepTimeline":"Adım zaman çizelgesi","ranSkipped":"{ran} çalıÅtı · {skipped} atlandı","noSteps":"Kayıtlı adım yok","footerSnapshot":"Text2Test tarafından oluÅturuldu · {date} tarihli salt görüntülenebilir anlık görüntü","reportId":"Rapor ID","reportAbuse":"Kötüye kullanımı bildir","sharedBy":"{name} paylaÅtı","publicLink":"Herkese açık baÄlantı","fullReportBadge":"Tam rapor görünümü","signIn":"Oturum aç","tabAll":"Tümü","tabFailed":"BaÅarısız","tabPassed":"BaÅarılı"}}`)},$se=[`en`,`tr`,`de`,`fr`,`it`,`es`],$x=`t2t.locale`;function eS(e){let t=(e??``).toLowerCase().split(`-`)[0];return $se.includes(t)?t:null}function tS(e){typeof window>`u`||window.localStorage.setItem($x,e)}function ece(){return typeof navigator>`u`?`en`:(typeof window<`u`?eS(window.localStorage.getItem($x)):null)||eS(navigator.language)||`en`}to.use(Qx).use(xo).init({resources:{de:{translation:qse},en:{translation:Jse},es:{translation:Yse},fr:{translation:Xse},it:{translation:Zse},tr:{translation:Qse}},lng:ece(),fallbackLng:`en`,interpolation:{escapeValue:!1},returnNull:!1});var nS=to;function rS(){let e=mr();return{push:t=>e(t),replace:t=>e(t,{replace:!0}),back:()=>e(-1),forward:()=>e(1),refresh:()=>e(0),prefetch:()=>{}}}function iS(){return dr().pathname}var aS=vr;function oS(){return Yi()[0]}function sS(e){return!e||!e.startsWith(`/`)||e.startsWith(`//`)||e.startsWith(`/usage`)?null:e}function cS(e,t){return function(){return e.apply(t,arguments)}}var{toString:tce}=Object.prototype,{getPrototypeOf:lS}=Object,{iterator:uS,toStringTag:dS}=Symbol,fS=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),pS=(e,t)=>{let n=e,r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),fS(n,t))return!0;n=lS(n)}return!1},nce=(e,t)=>e!=null&&pS(e,t)?e[t]:void 0,mS=(e=>t=>{let n=tce.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),hS=e=>(e=e.toLowerCase(),t=>mS(t)===e),gS=e=>t=>typeof t===e,{isArray:_S}=Array,vS=gS(`undefined`);function yS(e){return e!==null&&!vS(e)&&e.constructor!==null&&!vS(e.constructor)&&xS(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var bS=hS(`ArrayBuffer`);function rce(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&bS(e.buffer),t}var ice=gS(`string`),xS=gS(`function`),SS=gS(`number`),CS=e=>typeof e==`object`&&!!e,ace=e=>e===!0||e===!1,wS=e=>{if(!CS(e))return!1;let t=lS(e);return(t===null||t===Object.prototype||lS(t)===null)&&!pS(e,dS)&&!pS(e,uS)},oce=e=>{if(!CS(e)||yS(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},sce=hS(`Date`),cce=hS(`File`),lce=e=>!!(e&&e.uri!==void 0),uce=e=>e&&e.getParts!==void 0,dce=hS(`Blob`),fce=hS(`FileList`),pce=e=>CS(e)&&xS(e.pipe);function mce(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var TS=mce(),ES=TS.FormData===void 0?void 0:TS.FormData,hce=e=>{if(!e)return!1;if(ES&&e instanceof ES)return!0;let t=lS(e);if(!t||t===Object.prototype||!xS(e.append))return!1;let n=mS(e);return n===`formdata`||n===`object`&&xS(e.toString)&&e.toString()===`[object FormData]`},gce=hS(`URLSearchParams`),[_ce,vce,yce,bce]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(hS),xce=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function DS(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),_S(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(yS(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function OS(e,t){if(yS(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-->0;)if(i=n[r],t===i.toLowerCase())return i;return null}var kS=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,AS=e=>!vS(e)&&e!==kS;function jS(...e){let{caseless:t,skipUndefined:n}=AS(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&OS(r,i)||i,o=fS(r,a)?r[a]:void 0;wS(o)&&wS(e)?r[a]=jS(o,e):wS(e)?r[a]=jS({},e):_S(e)?r[a]=e.slice():(!n||!vS(e))&&(r[a]=e)};for(let t=0,n=e.length;t<n;t++){let n=e[t];if(!n||yS(n)||(DS(n,i),typeof n!=`object`||_S(n)))continue;let r=Object.getOwnPropertySymbols(n);for(let e=0;e<r.length;e++){let t=r[e];Nce.call(n,t)&&i(n[t],t)}}return r}var Sce=(e,t,n,{allOwnKeys:r}={})=>(DS(t,(t,r)=>{n&&xS(t)?Object.defineProperty(e,r,{__proto__:null,value:cS(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}
66),e),Cce=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wce=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},Tce=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-->0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&lS(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ece=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},Dce=e=>{if(!e)return null;if(_S(e))return e;let t=e.length;if(!SS(t))return null;let n=Array(t);for(;t-->0;)n[t]=e[t];return n},Oce=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&lS(Uint8Array)),kce=(e,t)=>{let n=(e&&e[uS]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},Ace=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},jce=hS(`HTMLFormElement`),Mce=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:Nce}=Object.prototype,Pce=hS(`RegExp`),MS=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};DS(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},Fce=e=>{MS(e,(t,n)=>{if(xS(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(xS(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},Ice=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return _S(e)?r(e):r(String(e).split(t)),n},Lce=()=>{},Rce=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function zce(e){return!!(e&&xS(e.append)&&e[dS]===`FormData`&&e[uS])}var Bce=e=>{let t=new WeakSet,n=e=>{if(CS(e)){if(t.has(e))return;if(yS(e))return e;if(!(`toJSON`in e)){t.add(e);let r=_S(e)?[]:{};return DS(e,(e,t)=>{let i=n(e);!vS(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},Vce=hS(`AsyncFunction`),Hce=e=>e&&(CS(e)||xS(e))&&xS(e.then)&&xS(e.catch),NS=((e,t)=>e?setImmediate:t?((e,t)=>(kS.addEventListener(`message`,({source:n,data:r})=>{n===kS&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),kS.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,xS(kS.postMessage)),Uce=typeof queueMicrotask<`u`?queueMicrotask.bind(kS):typeof process<`u`&&process.nextTick||NS,PS=e=>e!=null&&xS(e[uS]),q={isArray:_S,isArrayBuffer:bS,isBuffer:yS,isFormData:hce,isArrayBufferView:rce,isString:ice,isNumber:SS,isBoolean:ace,isObject:CS,isPlainObject:wS,isEmptyObject:oce,isReadableStream:_ce,isRequest:vce,isResponse:yce,isHeaders:bce,isUndefined:vS,isDate:sce,isFile:cce,isReactNativeBlob:lce,isReactNative:uce,isBlob:dce,isRegExp:Pce,isFunction:xS,isStream:pce,isURLSearchParams:gce,isTypedArray:Oce,isFileList:fce,forEach:DS,merge:jS,extend:Sce,trim:xce,stripBOM:Cce,inherits:wce,toFlatObject:Tce,kindOf:mS,kindOfTest:hS,endsWith:Ece,toArray:Dce,forEachEntry:kce,matchAll:Ace,isHTMLForm:jce,hasOwnProperty:fS,hasOwnProp:fS,hasOwnInPrototypeChain:pS,getSafeProp:nce,reduceDescriptors:MS,freezeMethods:Fce,toObjectSet:Ice,toCamelCase:Mce,noop:Lce,toFiniteNumber:Rce,findKey:OS,global:kS,isContextDefined:AS,isSpecCompliantForm:zce,toJSONObject:Bce,isAsyncFn:Vce,isThenable:Hce,setImmediate:NS,asap:Uce,isIterable:PS,isSafeIterable:e=>e!=null&&pS(e,uS)&&PS(e)},Wce=q.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),Gce=e=>{let t={},n,r,i;return e&&e.split(` 67`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&Wce[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t};function Kce(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}
67var qce=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),Jce=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function FS(e,t){return q.isArray(e)?e.map(e=>FS(e,t)):Kce(String(e).replace(t,``))}var Yce=e=>FS(e,qce),Xce=e=>FS(e,Jce);function IS(e){let t=Object.create(null);return q.forEach(e.toJSON(),(e,n)=>{t[n]=Xce(e)}),t}var LS=Symbol(`internals`);function RS(e){return e&&String(e).trim().toLowerCase()}function zS(e){return e===!1||e==null?e:q.isArray(e)?e.map(zS):Yce(String(e))}function Zce(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var Qce=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function BS(e,t,n,r,i){if(q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function $ce(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function ele(e,t){let n=q.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var VS=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=RS(t);if(!i)return;let a=q.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=zS(e))}let a=(e,t)=>q.forEach(e,(e,n)=>i(e,n,t));if(q.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(q.isString(e)&&(e=e.trim())&&!Qce(e))a(Gce(e),t);else if(q.isObject(e)&&q.isSafeIterable(e)){let n=Object.create(null),r,i;for(let t of e){if(!q.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);i=t[0],q.hasOwnProp(n,i)?(r=n[i],n[i]=q.isArray(r)?[...r,t[1]]:[r,t[1]]):n[i]=t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=RS(e),e){let n=q.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return Zce(e);if(q.isFunction(t))return t.call(this,e,n);if(q.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=RS(e),e){let n=q.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||BS(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=RS(e),e){let i=q.findKey(n,e);i&&(!t||BS(n,n[i],i,t))&&(delete n[i],r=!0)}}return q.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||BS(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return q.forEach(this,(r,i)=>{let a=q.findKey(n,i);if(a){t[a]=zS(r),delete t[i];return}let o=e?$ce(i):String(i).trim();o!==i&&delete t[i],t[o]=zS(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return q.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&q.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(` 68`)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[LS]=this[LS]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=RS(e);t[r]||(ele(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}};VS.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),q.reduceDescriptors(VS.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),q.freezeMethods(VS);var tle=`[REDACTED ****]`;function nle(e){if(q.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(q.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function rle(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||q.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof VS&&(e=e.toJSON()),r.push(e);let t;if(q.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);q.isUndefined(r)||(t[n]=r)});else{if(!q.isPlainObject(e)&&nle(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?tle:i(a);q.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}
68var HS=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&q.hasOwnProp(e,`redact`)?e.redact:void 0,n=q.isArray(t)&&t.length>0?rle(e,t):q.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};HS.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,HS.ERR_BAD_OPTION=`ERR_BAD_OPTION`,HS.ECONNABORTED=`ECONNABORTED`,HS.ETIMEDOUT=`ETIMEDOUT`,HS.ECONNREFUSED=`ECONNREFUSED`,HS.ERR_NETWORK=`ERR_NETWORK`,HS.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,HS.ERR_DEPRECATED=`ERR_DEPRECATED`,HS.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,HS.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,HS.ERR_CANCELED=`ERR_CANCELED`,HS.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,HS.ERR_INVALID_URL=`ERR_INVALID_URL`,HS.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function US(e){return q.isPlainObject(e)||q.isArray(e)}function WS(e){return q.endsWith(e,`[]`)?e.slice(0,-2):e}function GS(e,t,n){return e?e.concat(t).map(function(e,t){return e=WS(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function ile(e){return q.isArray(e)&&!e.some(US)}var ale=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function KS(e,t,n){if(!q.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||m,a=n.dots,o=n.indexes,s=n.Blob||typeof Blob<`u`&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,l=s&&q.isSpecCompliantForm(t),u=[];if(!q.isFunction(i))throw TypeError(`visitor must be a function`);function d(e){if(e===null)return``;if(q.isDate(e))return e.toISOString();if(q.isBoolean(e))return e.toString();if(!l&&q.isBlob(e))throw new HS(`Blob is not supported. Use a Buffer instead.`);if(q.isArrayBuffer(e)||q.isTypedArray(e)){if(l&&typeof s==`function`)return new s([e]);if(typeof Buffer<`u`)return Buffer.from(e);throw new HS(`Blob is not supported. Use a Buffer instead.`,HS.ERR_NOT_SUPPORT)}return e}function f(e){if(e>c)throw new HS(`Object is too deeply nested (`+e+` levels). Max depth: `+c,HS.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,t){if(c===1/0)return JSON.stringify(e);let n=[];return JSON.stringify(e,function(e,r){if(!q.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),f(t+n.length-1),r})}function m(e,n,i){let s=e;if(q.isReactNative(t)&&q.isReactNativeBlob(e))return t.append(GS(i,n,a),d(e)),!1;if(e&&!i&&typeof e==`object`){if(q.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=p(e,1);else if(q.isArray(e)&&ile(e)||(q.isFileList(e)||q.endsWith(n,`[]`))&&(s=q.toArray(e)))return n=WS(n),s.forEac
68h(function(e,r){!(q.isUndefined(e)||e===null)&&t.append(o===!0?GS([n],r,a):o===null?n:n+`[]`,d(e))}),!1}return US(e)?!0:(t.append(GS(i,n,a),d(e)),!1)}let h=Object.assign(ale,{defaultVisitor:m,convertValue:d,isVisitable:US});function g(e,n,r=0){if(!q.isUndefined(e)){if(f(r),u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),q.forEach(e,function(e,a){(!(q.isUndefined(e)||e===null)&&i.call(t,e,q.isString(a)?a.trim():a,n,h))===!0&&g(e,n?n.concat(a):[a],r+1)}),u.pop()}}if(!q.isObject(e))throw TypeError(`data must be an object`);return g(e),t}function qS(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function JS(e,t){this._pairs=[],e&&KS(e,this,t)}var YS=JS.prototype;YS.append=function(e,t){this._pairs.push([e,t])},YS.toString=function(e){let t=e?t=>e.call(this,t,qS):qS;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function ole(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function XS(e,t,n){if(!t)return e;e||=``;let r=q.isFunction(n)?{serialize:n}:n,i=q.getSafeProp(r,`encode`)||ole,a=q.getSafeProp(r,`serialize`),o;if(o=a?a(t,r):q.isURLSearchParams(t)?t.toString():new JS(t,r).toString(i),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var ZS=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){q.forEach(this.handlers,function(t){t!==null&&e(t)})}},QS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},sle={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:JS,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},cle=s({hasBrowserEnv:()=>$S,hasStandardBrowserEnv:()=>lle,hasStandardBrowserWebWorkerEnv:()=>ule,navigator:()=>eC,origin:()=>dle}),$S=typeof window<`u`&&typeof document<`u`,eC=typeof navigator==`object`&&navigator||void 0,lle=$S&&(!eC||[`ReactNative`,`NativeScript`,`NS`].indexOf(eC.product)<0),ule=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,dle=$S&&window.location.href||`http://localhost`,tC={...cle,...sle};function fle(e,t){return KS(e,new tC.classes.URLSearchParams,{visitor:function(e,t,n,r){return tC.isNode&&q.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}var nC=100;function rC(e){if(e>nC)throw new HS(`FormData field is too deeply nested (`+e+` levels). Max depth: `+nC,HS.ERR_FORM_DATA_DEPTH_EXCEEDED)}function ple(e){let t=[],n=/\w+|\[(\w*)]/g,r;for(;(r=n.exec(e))!==null;)rC(t.length),t.push(r[0]===`[]`?``:r[1]||r[0]);return t}function mle(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function iC(e){function t(e,n,r,i){rC(i);let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&q.isArray(r)?r.length:a,s?(q.hasOwnProp(r,a)?r[a]=q.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!q.hasOwnProp(r,a)||!q.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&q.isArray(r[a])&&(r[a]=mle(r[a])),!o)}if(q.isFormData(e)&&q.isFunction(e.entries)){let n={};return q.forEachEntry(e,(e,r)=>{t(ple(e),r,n,0)}),n}return null}var aC=(e,t)=>e!=null&&q.hasOwnProp(e,t)?e[t]:void 0;function hle(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var oC={transitional:QS,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=q.isObject(e);if(i&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(iC(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;
68if(i){let t=aC(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return fle(e,t).toString();if((a=q.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=aC(this,`env`),r=n&&n.FormData;return KS(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),hle(e)):e}],transformResponse:[function(e){let t=aC(this,`transitional`)||oC.transitional,n=t&&t.forcedJSONParsing,r=aC(this,`responseType`),i=r===`json`;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,aC(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?HS.from(e,HS.ERR_BAD_RESPONSE,this,null,aC(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:tC.classes.FormData,Blob:tC.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`],e=>{oC.headers[e]={}});function sC(e,t){let n=this||oC,r=t||n,i=VS.from(r.headers),a=r.data;return q.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function cC(e){return!!(e&&e.__CANCEL__)}var lC=class extends HS{constructor(e,t,n){super(e??`canceled`,HS.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function uC(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new HS(`Request failed with status code `+n.status,n.status>=400&&n.status<500?HS.ERR_BAD_REQUEST:HS.ERR_BAD_RESPONSE,n.config,n.request,n))}function gle(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function _le(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function vle(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var dC=(e,t,n=3)=>{let r=0,i=_le(50,250);return vle(n=>{if(!n||typeof n.loaded!=`number`)return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=o==null?a:Math.min(a,o),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},fC=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},pC=e=>(...t)=>q.asap(()=>e(...t)),yle=tC.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,tC.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(tC.origin),tC.navigator&&/(msie|trident)/i.test(tC.navigator.userAgent)):()=>!0,ble=tC.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&s.push(`path=${r}`),q.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),q.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;n<t.length;n++){let r=t[n].replace(/^\s+/,``),i=r.indexOf(`=`);if(i!==-1&&r.slice(0,i)===e)try{return decodeURIComponent(r.slice(i+1))}catch{return r.slice(i+1)}}return null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function xle(e){return typeof e==`string`&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sle(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}var Cle=/^https?:(?!\/\/)/i,wle=/[\t\n\r]/g;function Tle(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function Ele(e){return Tle(e).replace(wle,``)}function mC(e,t){if(typeof e==`string`&&Cle.test(Ele(e)))throw new HS(`Invalid URL: missing "//" after protocol`,HS.ERR_INVALID_URL,t)}function hC(e,t,n,r){mC(t,r);let i=!xle(t);return e&&(i||n===!1)?(mC(e,r),Sle(e,t)):t}var gC=e=>e instanceof VS?{...e}:e;function _C(e,t){e||={},t||={};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:r},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function i(e,t,n,i){if(!q.isUndefined(t))return r(e,t,n,i);if(!q.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!q.isUndefined(t))return r(void 0,t)}function o(e,t){if(!q.isUndefined(t))return r(void 0,t);
68if(!q.isUndefined(e))return r(void 0,e)}function s(n){let r=q.hasOwnProp(t,`transitional`)?t.transitional:void 0;if(!q.isUndefined(r))if(q.isPlainObject(r)){if(q.hasOwnProp(r,n))return r[n]}else return;let i=q.hasOwnProp(e,`transitional`)?e.transitional:void 0;if(q.isPlainObject(i)&&q.hasOwnProp(i,n))return i[n]}function c(n,i,a){if(q.hasOwnProp(t,a))return r(n,i);if(q.hasOwnProp(e,a))return r(void 0,n)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(gC(e),gC(t),n,!0)};return q.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=q.hasOwnProp(l,r)?l[r]:i,o=a(q.hasOwnProp(e,r)?e[r]:void 0,q.hasOwnProp(t,r)?t[r]:void 0,r);q.isUndefined(o)&&a!==c||(n[r]=o)}),q.hasOwnProp(t,`validateStatus`)&&q.isUndefined(t.validateStatus)&&s(`validateStatusUndefinedResolves`)===!1&&(q.hasOwnProp(e,`validateStatus`)?n.validateStatus=r(void 0,e.validateStatus):delete n.val
68idateStatus),n}var Dle=[`content-type`,`content-length`];function Ole(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t||{}).forEach(([t,n])=>{Dle.includes(t.toLowerCase())&&e.set(t,n)})}var kle=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function vC(e){let t=_C({},e),n=e=>q.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=VS.from(s),t.url=XS(hC(l,d,u,t),n(`params`),n(`paramsSerializer`)),c){let t=q.getSafeProp(c,`username`)||``,n=q.getSafeProp(c,`password`)||``;try{s.set(`Authorization`,`Basic `+btoa(t+`:`+(n?kle(n):``)))}catch(t){throw HS.from(t,HS.ERR_BAD_OPTION_VALUE,e)}}if(q.isFormData(r)&&(tC.hasStandardBrowserEnv||tC.hasStandardBrowserWebWorkerEnv||q.isReactNative(r)?s.setContentType(void 0):q.isFunction(r.getHeaders)&&Ole(s,r.getHeaders(),n(`formDataHeaderPolicy`))),tC.hasStandardBrowserEnv&&(q.isFunction(i)&&(i=i(t)),i===!0||i==null&&yle(t.url))){let e=a&&o&&ble.read(o);e&&s.set(a,e)}return t}var Ale=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=vC(e),i=r.data,a=VS.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=VS.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());uC(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.startsWith(`file:`))||setTimeout(g)},h.onabort=function(){h&&=(n(new HS(`Request aborted`,HS.ECONNABORTED,e,h)),m(),null)},h.onerror=function(t){let r=new HS(t&&t.message?t.message:`Network Error`,HS.ERR_NETWORK,e,h);r.event=t||null,n(r),m(),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||QS;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new HS(t,i.clarifyTimeoutError?HS.ETIMEDOUT:HS.ECONNABORTED,e,h)),m(),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&q.forEach(IS(a),function(e,t){h.setRequestHeader(t,e)}),q.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=dC(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=dC(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new lC(null,e,h):t),h.abort(),m(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=gle(r.url);if(_&&!tC.protocols.includes(_)){n(new HS(`Unsupported protocol `+_+`:`,HS.ERR_BAD_REQUEST,e)),m();return}h.send(i||null)})},jle=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof HS?t:new lC(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new HS(`timeout of ${t}ms exceeded`,HS.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i,{once:!0}));let{signal:s}=n;return s.unsubscribe=()=>q.asap(o),s},Mle=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Nle=async function*(e,t){for await(let n of Ple(e))yield*Mle(n,t)},Ple=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},yC=(e,t,n,r)=>{let i=Nle(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},bC=e=>e>=48&&e<=57||e>=65&&e<=70||e>
68=97&&e<=102,Fle=(e,t,n)=>t+2<n&&bC(e.charCodeAt(t+1))&&bC(e.charCodeAt(t+2));function Ile(e){if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let t=e.indexOf(`,`);if(t<0)return 0;let n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length,t=r.length;for(let n=0;n<t;n++)if(r.charCodeAt(n)===37&&n+2<t){let t=r.charCodeAt(n+1),i=r.charCodeAt(n+2);bC(t)&&bC(i)&&(e-=2,n+=2)}let n=0,i=t-1,a=e=>e>=2&&r.charCodeAt(e-2)===37&&r.charCodeAt(e-1)===51&&(r.charCodeAt(e)===68||r.charCodeAt(e)===100);i>=0&&(r.charCodeAt(i)===61?(n++,i--):a(i)&&(n++,i-=3)),n===1&&i>=0&&(r.charCodeAt(i)===61||a(i))&&n++;let o=Math.floor(e/4)*3-(n||0);return o>0?o:0}let i=0;for(let e=0,t=r.length;e<t;e++){let n=r.charCodeAt(e);if(n===37&&Fle(r,e,t))i+=1,e+=2;else if(n<128)i+=1;else if(n<2048)i+=2;else if(n>=55296&&n<=56319&&e+1<t){let t=r.charCodeAt(e+1);t>=56320&&t<=57343?(i+=4,e++):i+=3}else i+=3}return i}var xC=`1.18.1`,SC=65536,{isFunction:CC}=q,Lle=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),wC=e=>{if(!q.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},TC=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Rle=e=>{let t=e.indexOf(`://`),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes(`@`)||n.includes(`:`)},zle=e=>{let t=q.global!==void 0&&q.global!==null?q.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=q.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?CC(i):typeof fetch==`function`,c=CC(a),l=CC(o);if(!s)return!1;let u=s&&CC(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&TC(()=>{let e=!1,t=new a(tC.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&TC(()=>q.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new HS(`Response type '${e}' is not supported`,HS.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e))return(await new a(tC.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(q.isArrayBufferView(e)||q.isArrayBuffer(e))return e.byteLength;if(q.isURLSearchParams(e)&&(e+=``),q.isString(e))return(await d(e)).byteLength},g=async(e,t)=>q.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:d,timeout:_,onDownloadProgress:v,onUploadProgress:y,responseType:b,headers:x,withCredentials:S=`same-origin`,fetchOptions:C,maxContentLength:w,maxBodyLength:T}=vC(e),E=q.isNumber(w)&&w>-1,D=q.isNumber(T)&&T>-1,O=t=>q.hasOwnProp(e,t)?e[t]:void 0,k=i||fetch;b=b?(b+``).toLowerCase():`text`;let A=jle([l,d&&d.toAbortSignal()],_),j=null,M=A&&A.unsubscribe&&(()=>{A.unsubscribe()}),N,P=null,F=()=>new HS(`Request body larger than maxBodyLength limit`,HS.ERR_BAD_REQUEST,e,j);try{let i,l=O(`auth`);if(l&&(i={username:q.getSafeProp(l,`username`)||``,password:q.getSafeProp(l,`password`)||``}),Rle(t)){let e=new URL(t,tC.origin);!i&&(e.username||e.password)&&(i={username:wC(e.username),password:wC(e.password)}),(e.username||e.password)&&(e.username=``,e.password=``,t=e.href)}if(i&&(x.delete(`authorization`),x.set(`Authorization`,`Basic `+btoa(Lle((i.username||``)+`:`+(i.password||``))))),E&&typeof t==`string`&&t.startsWith(`data:`)&&Ile(t)>w)throw new HS(`maxContentLength size of `+w+` exceeded`,HS.ERR_BAD_RESPONSE,e,j);if(D&&n!==`get`&&n!==`head`){let e=await h(s);if(typeof e==`number`&&isFinite(e)&&(N=e,e>T))throw F()}let d=D&&(q.isReadableStream(s)||q.isStream(s)),_=(e,t,n)=>yC(e,SC,e=>{if(D&&e>T)throw P=F();t&&t(e)},n);if(f&&n!==`get`&&n!==`head`&&(y||d)){if(N??=await g(x,s),N!==0||d){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(q.isFormData(s)&&(n=e.headers.get(`content-type`))&&x.setContentType(n),e.body){let[t,n]=y&&fC(N,dC(pC(y)))||[];s=_(e.body,t,n)}}}else if(d&&!c&&u&&n!==`get`&&n!==`head`)s=_(s);else if(d&&c&&!f&&n!==`get`&&n!==`head`)throw new HS(`Stream request bodies are not supported by the current fetch implementation`,HS.ERR_NOT_SUPPORT,e,j);q.isString(S)||(S=S?`include`:`omit`);let I=c&&`credentials`in a.prototype;if(q.isFormData(s)){let e=x.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&x.delete(`content-type`)}
68x.set(`User-Agent`,`axios/`+xC,!1);let L={...C,signal:A,method:n.toUpperCase(),headers:IS(x.normalize()),body:s,duplex:`half`,credentials:I?S:void 0};j=c&&new a(t,L);let R=await(c?k(j,C):k(t,L)),z=VS.from(R.headers);if(E){let t=q.toFiniteNumber(z.getContentLength());if(t!=null&&t>w)throw new HS(`maxContentLength size of `+w+` exceeded`,HS.ERR_BAD_RESPONSE,e,j)}let B=p&&(b===`stream`||b===`response`);if(p&&R.body&&(v||E||B&&M)){let t={};[`status`,`statusText`,`headers`].forEach(e=>{t[e]=R[e]});let n=q.toFiniteNumber(z.getContentLength()),[r,i]=v&&fC(n,dC(pC(v),!0))||[],a=0;R=new o(yC(R.body,SC,t=>{if(E&&(a=t,a>w))throw new HS(`maxContentLength size of `+w+` exceeded`,HS.ERR_BAD_RESPONSE,e,j);r&&r(t)},()=>{i&&i(),M&&M()}),t)}b||=`text`;let ee=await m[q.findKey(m,b)||`text`](R,e);if(E&&!p&&!B){let t;if(ee!=null&&(typeof ee.byteLength==`number`?t=ee.byteLength:typeof ee.size==`number`?t=ee.size:typeof ee==`string`&&(t=typeof r==`function`?new r().encode(ee).byteLength:ee.length)),typeof t==`number`&&t>w)throw new HS(`maxContentLength size of `+w+` exceeded`,HS.ERR_BAD_RESPONSE,e,j)}return!B&&M&&M(),await new Promise((t,n)=>{uC(t,n,{data:ee,headers:VS.from(R.headers),status:R.status,statusText:R.statusText,config:e,request:j})})}catch(t){if(M&&M(),A&&A.aborted&&A.reason instanceof HS){let n=A.reason;throw n.config=e,j&&(n.request=j),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(P)throw j&&!P.request&&(P.request=j),P;if(t instanceof HS)throw j&&!t.request&&(t.request=j),t;if(t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)){let n=new HS(`Network Error`,HS.ERR_NETWORK,e,j,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw HS.from(t,t&&t.code,e,j,t&&t.response)}}},Ble=new Map,EC=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=Ble;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:zle(t)),l=c;return c};EC();var DC={http:null,xhr:Ale,fetch:{get:EC}};q.forEach(DC,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var OC=e=>`- ${e}`,Vle=e=>q.isFunction(e)||e===null||e===!1;function Hle(e,t){e=q.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!Vle(r)&&(i=DC[(n=String(r)).toLowerCase()],i===void 0))throw new HS(`Unknown adapter '${n}'`);if(i&&(q.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new HS(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since : 69`+e.map(OC).join(` 70`):` `+OC(e[0]):`as no adapter specified`),HS.ERR_NOT_SUPPORT)}return i}var kC={getAdapter:Hle,adapters:DC};function AC(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lC(null,e)}function jC(e){return AC(e),e.headers=VS.from(e.headers),e.data=sC.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),kC.getAdapter(e.adapter||oC.adapter,e)(e).then(function(t){AC(e),e.response=t;try{t.data=sC.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=VS.from(t.headers),t},function(t){if(!cC(t)&&(AC(e),t&&t.response)){e.response=t.response;try{t.response.data=sC.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=VS.from(t.response.headers)}return Promise.reject(t)})}var MC={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{MC[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var NC={};MC.transitional=function(e,t,n){function r(e,t){return`[Axios v`+xC+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new HS(r(i,` has been removed`+(t?` in `+t:``)),HS.ERR_DEPRECATED);return t&&!NC[i]&&(NC[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),!e||e(n,i,a)}},MC.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}
70`),!0)};function Ule(e,t,n){if(typeof e!=`object`||!e)throw new HS(`options must be an object`,HS.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-->0;){let a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new HS(`option `+a+` must be `+n,HS.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new HS(`Unknown option `+a,HS.ERR_BAD_OPTION)}}var PC={assertOptions:Ule,validators:MC},FC=PC.validators,IC=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ZS,response:new ZS}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=(()=>{if(!t.stack)return``;let e=t.stack.indexOf(` 71`);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(` 72`),r=t===-1?-1:n.indexOf(` 73`,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=` 74`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=_C(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&PC.assertOptions(n,{silentJSONParsing:FC.transitional(FC.boolean),forcedJSONParsing:FC.transitional(FC.boolean),clarifyTimeoutError:FC.transitional(FC.boolean),legacyInterceptorReqResOrdering:FC.transitional(FC.boolean),advertiseZstdAcceptEncoding:FC.transitional(FC.boolean),validateStatusUndefinedResolves:FC.transitional(FC.boolean)},!1),r!=null&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:PC.assertOptions(r,{encode:FC.function,serialize:FC.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),PC.assertOptions(t,{baseUrl:FC.spelling(`baseURL`),withXsrfToken:FC.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&q.merge(i.common,i[t.method]);i&&q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`,`common`],e=>{delete i[e]}),t.headers=VS.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||QS;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[jC.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=jC.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=_C(this.defaults,e),XS(hC(e.baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};q.forEach([`delete`,`get`,`head`,`options`],function(e){IC.prototype[e]=function(t,n){return this.request(_C(n||{},{method:e,url:t,data:n&&q.hasOwnProp(n,`data`)?n.data:void 0}))}}),q.forEach([`post`,`put`,`patch`,`query`],function(e){function t(t){return function(n,r,i){return this.request(_C(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}IC.prototype[e]=t(),e!==`query`&&(IC.prototype[e+`Form`]=t(!0))});var Wle=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-->0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new lC(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function Gle(e){return function(t){return e.apply(null,t)}}function Kle(e){return q.isObject(e)&&e.isAxiosError===!0}var LC={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
74setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(LC).forEach(([e,t])=>{LC[t]=e});function RC(e){let t=new IC(e),n=cS(IC.prototype.request,t);return q.extend(n,IC.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return RC(_C(e,t))},n}var zC=RC(oC);zC.Axios=IC,zC.CanceledError=lC,zC.CancelToken=Wle,zC.isCancel=cC,zC.VERSION=xC,zC.toFormData=KS,zC.AxiosError=HS,zC.Cancel=zC.CanceledError,zC.all=function(e){return Promise.all(e)},zC.spread=Gle,zC.isAxiosError=Kle,zC.mergeConfig=_C,zC.AxiosHeaders=VS,zC.formToJSON=e=>iC(q.isHTMLForm(e)?new FormData(e):e),zC.getAdapter=kC.getAdapter,zC.HttpStatusCode=LC,zC.default=zC;var BC=`accessToken`;function qle(e,t){if(typeof document>`u`)return;let n=new Date(Date.now()+t*1e3).toUTCString(),r=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${BC}=${e}; Path=/; Expires=${n}; SameSite=Lax${r}`}function Jle(){typeof document>`u`||(document.cookie=`${BC}=; Path=/; Max-Age=0; SameSite=Lax`)}var VC=`/manager`,HC=`/websocket`;function UC(e){return e.trim().replace(/\/+$/,``)}function Yle(e){let t=UC(e);return t.endsWith(VC)?t:`${t}${VC}`}function Xle(e){return e.startsWith(`https://`)?`wss://${e.slice(8)}`:e.startsWith(`http://`)?`ws://${e.slice(7)}`:e}function Zle(e){let t=UC(Xle(e));return t.endsWith(`${VC}${HC}`)?t:t.endsWith(VC)?`${t}${HC}`:t.endsWith(HC)?t:`${t}${VC}${HC}`}var WC=Yle(typeof window<`u`?`${window.location.protocol}//${window.location.host}`:`http://localhost:8080`),Qle=Zle(WC);function GC(e){try{window.dataLayer=window.dataLayer||[],window.dataLayer.push(e)}catch{}}function KC(e){GC({event:`sign_up`,method:e})}var qC=`t2t.analytics.signupMethod`;function JC(e){try{window.sessionStorage.setItem(qC,e)}catch{}}function $le(){try{let e=window.sessionStorage.getItem(qC);return window.sessionStorage.removeItem(qC),e===`google`||e===`github`||e===`microsoft`?e:`email`}catch{return`email`}}var YC=`t2t.analytics.pendingCheckout`;function eue(e){try{window.sessionStorage.setItem(YC,JSON.stringify(e))}catch{}}function tue(e){try{let t=window.sessionStorage.getItem(YC);if(!t)return null;let n=JSON.parse(t);return n?.sessionId===e?(window.sessionStorage.removeItem(YC),n):null}catch{return null}}function XC({transactionId:e,value:t,currency:n,planName:r}){GC({event:`purchase`,ecommerce:{transaction_id:e,value:t,currency:n,items:[{item_name:r,item_category:`subscription`,price:t}]}})}var ZC=null;function nue(){return ZC||=N(()=>import(`./mixpanel.module-DfN0zC3f.js`).then(e=>(e.default.init(`70bb0ea54f858c67b9d6862b7dc44493`,{api_host:`https://api-eu.mixpanel.com`,track_pageview:!1,autocapture:!1,persistence:`localStorage`}),e.default)),[]).catch(()=>null),ZC}function QC(e){nue().then(t=>{if(t)try{e(t)}catch{}})}var $C=`t2t.analytics.pendingSignupProfile`;function rue(){try{let e=window.localStorage.getItem($C);if(!e)return null;window.localStorage.removeItem($C);let t=JSON.parse(e);return t?.method&&t?.date?t:null}catch{return null}}function ew(e){QC(t=>t.track(`sign_up`,{method:e}));try{window.localStorage.setItem($C,JSON.stringify({method:e,date:new Date().toISOString().slice(0,10)}))}catch{}}function iue(e,t){QC(n=>{n.identify(e);let r=rue();r&&(n.people.set({plan:`unpaid`,signup_method:r.method,signup_date:r.date}),n.track(`workspace_created`,{workspace_id:t}))})}function aue(){QC(e=>e.reset())}function tw(e){QC(t=>t.track(`test_created`,{test_id:e}))}function oue(e,t){QC(n=>n.track(`paywall_viewed`,{test_id:e,trigger:t}))}function nw(e){QC(t=>{t.track(`purchase`,{plan:e.planName,value:e.value,currency:e.currency,transaction_id:e.transactionId}),t.people.set({plan:e.planName.toLowerCase()})})}var rw=new Set,iw=new Set;function sue(e,t){rw.add(t),QC(n=>n.track(`test_run_started`,{test_id:e,execution_id:t}))}function cue(e){return e===`SUCCESS`?`pass`:e===`FAILED`?`fail`:e===`ERROR`?`error`:null}function lue(e){!rw.has(e.runId)||iw.has(e.runId)||(iw.add(e.runId),QC(t=>t.track(`test_run_completed`,{test_id:e.testId,run_id:e.runId,status:e.status,duration_ms:e.durationMs})))}var aw=`https://app.text2test.co/kc/auth`.replace(/\/+$/,``),ow=`text2test`,sw=`text2test-client`,cw=`${aw}/realms/${ow}/protocol/openid-connect/auth`,uue=`${aw}/realms/${ow}/protocol/openid-connect/token`,due=`${aw}/realms/${ow}/protocol/openid-connect/logout`,fue=`${aw}/realms/${ow}`;function lw(e){if(!e)return null;try{return JSON.parse(atob(e.split(`.`)[1].replace(/-/g,`+`).replace(/_/g,`/`)))}catch{return null}}function uw(e){return lw(e)?.iss===fue}function dw(e,t=`${window.location.origin}/auth/login`){return`${due}?${new URLSearchParams({id_token_hint:e,client_id:sw,post_logout_redirect_uri:t}).toString()}`}
74var pue=`/auth/social-relay`,fw=`oidc_pending_auth_url`;function mue(){let e=sessionStorage.getItem(fw);if(sessionStorage.removeItem(fw),!e)return null;try{let t=new URL(e),n=new URL(cw);return t.origin===n.origin&&t.pathname===n.pathname?e:null}catch{return null}}function hue(e,t){return uw(t)?(sessionStorage.setItem(fw,e),dw(t,`${window.location.origin}${pue}`)):e}var pw=`oidc_code_verifier`,mw=`oidc_state`,hw=`oidc_provider`,gw=`text2test-oauth-result`,gue=`text2test-oauth`,_ue=`popup=yes,width=500,height=650,menubar=no,toolbar=no,location=no,status=no`;function _w(e,t){e.newUser&&(e.workspaceSetupRequired?JC(t):(KC(t),ew(t)))}function vue(){let e=localStorage.getItem(hw);return localStorage.removeItem(hw),e===`google`||e===`github`||e===`microsoft`?e:null}var vw=()=>`${window.location.origin}/auth/callback`;function yue(){return typeof navigator<`u`&&/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)}function yw(e){let t=``;return e.forEach(e=>t+=String.fromCharCode(e)),btoa(t).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/,``)}function bw(e=48){let t=new Uint8Array(e);return crypto.getRandomValues(t),yw(t)}async function bue(e){let t=await crypto.subtle.digest(`SHA-256`,new TextEncoder().encode(e));return yw(new Uint8Array(t))}async function xw(e){let t=bw(),n=bw(16);localStorage.setItem(pw,t),localStorage.setItem(mw,n),localStorage.setItem(hw,e);let r=hue(`${cw}?${new URLSearchParams({client_id:sw,response_type:`code`,scope:`openid profile email`,redirect_uri:vw(),state:n,code_challenge:await bue(t),code_challenge_method:`S256`,kc_idp_hint:e,prompt:`login`}).toString()}`,localStorage.getItem(`idToken`));if(yue())return window.location.assign(r),new Promise(()=>{});let i=window.open(r,gue,_ue);return i?new Promise((t,n)=>{let r=!1,a=()=>{r=!0,window.removeEventListener(`message`,o),window.clearInterval(s)},o=o=>{if(r||o.origin!==window.location.origin)return;let s=o.data;if(!(!s||s.type!==`text2test-oauth-result`)){a();try{i.close()}catch{}s.error?n(Error(s.error)):s.result?(_w(s.result,e),t(s.result)):n(Error(`Sign-in returned no result.`))}};window.addEventListener(`message`,o);let s=window.setInterval(()=>{r||i.closed&&(a(),n(Error(`Sign-in was cancelled.`)))},500)}):(window.location.assign(r),new Promise(()=>{}))}async function xue(e){let t=new URLSearchParams(e),n=t.get(`error`);if(n)throw Error(t.get(`error_description`)||n);let r=t.get(`code`),i=t.get(`state`),a=localStorage.getItem(pw),o=localStorage.getItem(mw);if(!r||!a)throw Error(`Missing authorization code or PKCE verifier.`);if(!i||i!==o)throw Error(`State mismatch â sign-in was interrupted, please try again.`);let s=new URLSearchParams({grant_type:`authorization_code`,code:r,redirect_uri:vw(),client_id:sw,code_verifier:a}),c=await fetch(uue,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:s.toString()});if(localStorage.removeItem(pw),localStorage.removeItem(mw),!c.ok){let e=await c.text().catch(()=>``);throw Error(`Token exchange failed (${c.status}). ${e}`.trim())}return await c.json()}var Sw=zC.create({baseURL:WC}),Sue=async e=>{let{data:t}=await Sw.post(`/v1/auth/login`,e);Aw(t)},Cue=async e=>{await Sw.post(`/v1/onboarding/payg-signup`,e)},wue=async e=>{await Sw.post(`/v1/auth/payg/resend-verification`,{email:e})},Tue=async e=>{await Sw.post(`/v1/auth/confirm-verified`,{email:e})},Eue=async(e,t,n,r)=>{let i=r?null:localStorage.getItem(`accessToken`);await Sw.post(`/v1/onboarding/complete-workspace`,{email:e,companyName:t,teamName:n,token:r},i?{headers:{Authorization:`Bearer ${i}`}}:void 0)},Due=async()=>{let e=localStorage.getItem(`accessToken`),{data:t}=await Sw.post(`/v1/onboarding/payg-social-bootstrap`,{},{headers:{Authorization:`Bearer ${e}`}});return t},Cw=async({email:e})=>{await Sw.post(`/v1/auth/forgot-password?email=${encodeURIComponent(e)}&isPAYG=true`,{email:e})},ww=async()=>{let e=localStorage.getItem(`refreshToken`);if(!e)return null;if(Ew())return Ow(),null;try{let{data:t}=await Sw.post(`/v1/auth/refresh-token`,{refreshToken:e});return Aw(t),t.access_token}catch(e){return console.error(`Token refresh failed:`,e),Ow(),null}},Oue=async()=>{let e=localStorage.getItem(`refreshToken`);if(!e||Ew())return null;try{let{data:t}=await Sw.post(`/v1/auth/refresh-token`,{refreshToken:e});return Aw(t),t.access_token}catch(e){return console.error(`Onboarding token refresh failed (ignored):`,e),null}},Tw=async()=>{let e=localStorage.getItem(`accessToken`);return e&&!Nue()&&!Dw()?e:ww()},kue=()=>localStorage.getItem(`accessToken`),Aue=()=>localStorage.getItem(`refreshToken`),jue=()=>jw(`accessTokenExpiration`),Mue=()=>jw(`refreshTokenExpiration`),Nue=()=>{let e=jw(`accessTokenExpiration`);return!e||Date.now()>e},Ew=()=>{let e=jw(`refreshTokenExpiration`);return!e||Date.now()>e},Dw=()=>{let e=jw(`refreshTokenExpiration`);return!e||Date.now()>e-6e4},Ow=()=>{let e=localStorage.getItem(`kcBrowserSession`)===`1`,t=localStorage.getItem(`idToken`);window.postMessage(JSON.stringify({type:`T2T_REMOVE_CONTEXT`}),`*`),[`accessToken`,`refreshToken`,`accessTokenExpiration`,`refreshTokenExpiration`,`activeCompanyID`,`activeTeamID`,`idToken`,`kcBrowserSession`].forEach(e
74=>localStorage.removeItem(e)),Jle();let n=e&&uw(t)?dw(t):`/auth/login`;try{window.self!==window.top&&window.top?window.top.location.href=n:window.location.href=n}catch{window.location.href=n}};function kw(e){let t=lw(e)?.sub;return typeof t==`string`?t:null}function Aw(e){let t=kw(localStorage.getItem(`accessToken`)),n=kw(e.access_token);t&&n&&t!==n&&[`activeCompanyID`,`activeTeamID`,`redirectAfterLogin`].forEach(e=>localStorage.removeItem(e));let r=Date.now();localStorage.setItem(`accessToken`,e.access_token),localStorage.setItem(`refreshToken`,e.refresh_token),localStorage.setItem(`accessTokenExpiration`,(r+e.expires_in*1e3).toString()),localStorage.setItem(`refreshTokenExpiration`,(r+e.refresh_expires_in*1e3).toString()),e.id_token&&localStorage.setItem(`idToken`,e.id_token),qle(e.access_token,e.expires_in)}function jw(e){let t=localStorage.getItem(e);return t?parseInt(t,10):null}function Pue(e){return e!=null&&/\/llm\/text2steps(\?|$)/.test(e)?`compile`:`other`}var Mw=new Set;function Fue(e){Mw.forEach(t=>t(e))}function Iue(e){return Mw.add(e),()=>{Mw.delete(e)}}var J=zC.create({baseURL:WC});J.interceptors.request.use(async e=>{try{let t=await Tw();return t&&(e.headers.Authorization=`Bearer ${t}`),e.headers[`Content-Type`]||(e.headers[`Content-Type`]=`application/json`),e}catch(e){return Ow(),Promise.reject(e)}},e=>Promise.reject(e)),J.interceptors.response.use(e=>e,async e=>{let t=e.config;if(e.response?.status===401){let n=!!t?.skipLogoutOn401;if(!t||t._retry)return n||Ow(),Promise.reject(e);t._retry=!0;try{let e=await ww();if(e)return t.headers.Authorization=`Bearer ${e}`,J(t)}catch{}n||Ow()}if(e.response?.status===402){let t=e.response.data;Fue({...t&&typeof t==`object`?t:{code:`PAYMENT_REQUIRED`,message:`Payment required`},origin:Pue(e.config?.url)})}return Promise.reject(e)});function Nw(e){return zC.isAxiosError(e)&&e.response?.status===402}function Pw(e){if(!zC.isAxiosError(e))return;let t=e.response?.data;if(typeof t==`string`&&Fw(t))return t.trim();if(t&&typeof t==`object`&&`message`in t&&typeof t.message==`string`&&Fw(t.message))return t.message.trim()}function Fw(e){let t=e.trim();return!t||t.length>400?!1:!t.startsWith(`<`)&&!/<(html|head|body|!doctype)\b/i.test(t)}function Iw(e){return zC.isAxiosError(e)&&e.response?.status===409}function Lue(e){return zC.isAxiosError(e)&&e.response?.status===400&&(Pw(e)?.includes(`has reached max test count`)??!1)}function Rue(e){return zC.isAxiosError(e)&&e.response?.status===400&&(Pw(e)?.includes(`is already taken`)??!1)}var Lw=new class{async getCurrentUser(){let{data:e}=await J.get(`/v1/users/me`);return e}async getUserAffiliation(){let{data:e}=await J.get(`/v1/users/my-details`);return e}async updateProfile(e,t){let{data:n}=await J.put(`/v1/users`,{...e,...t});return n}async changePassword(e){await J.post(`/v1/users/me/password`,e)}},Y={user:{all:[`user`],me:()=>[`user`,`me`],affiliation:()=>[`user`,`affiliation`]},members:{all:[`members`],list:e=>[`members`,`list`,e],invitations:e=>[`members`,`invitations`,e],invitePreview:e=>[`members`,`invite-preview`,e],teams:e=>[`members`,`teams`,e],company:()=>[`members`,`company`]},billing:{all:[`billing`],subscription:e=>[`billing`,`subscription`,e],usage:e=>[`billing`,`usage`,e]},usage:{all:[`usage`],wallet:e=>[`usage`,`wallet`,e],summary:e=>[`usage`,`summary`,e],graph:e=>[`usage`,`graph`,e],packages:()=>[`usage`,`packages`],upgradePreview:e=>[`usage`,`upgrade-preview`,e]},adminPackages:{all:[`admin-packages`],list:()=>[`admin-packages`,`list`]},executions:{all:[`executions`],summary:(e,t,n)=>[`executions`,`summary`,e,t,n],recent:e=>[`executions`,`recent`,e],list:e=>[`executions`,`list`,e],page:e=>[`executions`,`page`,e],byId:(e,t,n)=>[`executions`,`by-id`,e,t,n],teamLookup:(e,t,n)=>[`executions`,`team-lookup`,e,t,n],adminLookup:(e,t)=>[`executions`,`admin-lookup`,e,t],report:e=>[`executions`,`report`,e],testReports:(e,t,n)=>[`executions`,`test-reports`,e,t,n],reportData:e=>[`executions`,`report-data`,e],artifactJson:e=>[`executions`,`artifact-json`,e],har:e=>[`executions`,`har`,e],video:e=>[`executions`,`video`,e],rrweb:e=>[`executions`,`rrweb`,e],stepArtifactKeys:(e,t)=>[`executions`,`step-artifact-keys`,e,t],stepArtifact:e=>[`executions`,`step-artifact`,e],stepArtifactLogs:(e,t)=>[`executions`,`step-artifact-logs`,e,t]},settings:{profiles:(e,t)=>[`settings`,`profiles`,e,t],profile:e=>[`settings`,`profile`,e],mcpServers:(e,t)=>[`settings`,`mcp-servers`,e,t]},elementTags:{all:[`element-tags`],list:(e,t)=>
74[`element-tags`,`list`,e,t]},dataSources:{all:[`data-sources`],list:(e,t)=>[`data-sources`,`list`,e,t]},scenarioFiles:{all:[`scenario-files`],list:(e,t)=>[`scenario-files`,`list`,e,t]},httpRequests:{all:[`http-requests`],list:e=>[`http-requests`,`list`,e],byId:e=>[`http-requests`,`by-id`,e]},plans:{all:[`plans`],tree:(e,t)=>[`plans`,`tree`,e,t],byId:e=>[`plans`,`by-id`,e],webTests:(e,t,n)=>[`plans`,`web-tests`,e,t,n],webTestTree:(e,t,n,r)=>[`plans`,`web-test-tree`,e,t,n,r],testsByIds:e=>[`plans`,`tests-by-ids`,...e]},planExecutions:{all:[`plan-executions`],page:e=>[`plan-executions`,`page`,e],latest:(e,t)=>[`plan-executions`,`latest`,e,t],summary:(e,t)=>[`plan-executions`,`summary`,e,t],logs:e=>[`plan-executions`,`logs`,e]},webTests:{all:[`web-tests`],tree:(e,t)=>[`web-tests`,`tree`,e,t],deletePreview:e=>[`web-tests`,`delete-preview`,e]},editor:{all:[`editor`],test:e=>[`editor`,`test`,e],scenario:(e,t)=>[`editor`,`scenario`,e,t],effectiveParameters:e=>[`editor`,`effective-parameters`,e],prompts:(e,t=[])=>[`editor`,`prompts`,e,[...t].sort().join(`,`)],promptsRoot:e=>[`editor`,`prompts`,e],stepMessages:e=>[`editor`,`step-messages`,e],stateVariables:(e,t)=>[`editor`,`state-variables`,e,t],messageVariables:(e,t,n)=>[`editor`,`message-variables`,e,t??``,n],autopilotStream:(e,t,n)=>[`editor`,`autopilot-stream`,e,t,n],httpSearch:(e,t,n)=>[`editor`,`http-search`,e,t,n],httpRequest:e=>[`editor`,`http-request`,e],httpStepResponse:(e,t)=>[`editor`,`http-step-response`,e,t],testSearch:(e,t,n)=>[`editor`,`test-search`,e,t,n],executions:e=>[`editor`,`executions`,e],screenshot:e=>[`editor`,`screenshot`,e]},apiKeys:{all:[`api-keys`],list:()=>[`api-keys`,`list`],scopes:()=>[`api-keys`,`scopes`]},vault:{all:[`vault`],profiles:(e,t)=>[`vault`,`profiles`,e,t]},tags:{all:[`tags`],team:e=>[`tags`,`team`,e],allowUsersManage:e=>[`tags`,`allow-users-manage`,e]},superAdmin:{all:[`super-admin`],companies:()=>[`super-admin`,`companies`],companyTeams:e=>[`super-admin`,`company-teams`,e]},shares:{all:[`shares`],byResource:(e,t)=>[`shares`,`by-resource`,e,t],resolve:e=>[`shares`,`resolve`,e],artifact:(e,t)=>[`shares`,`artifact`,e,t]},analytics:{all:[`analytics`],latest:e=>[`analytics`,`latest`,Rw(e)],testCount:e=>[`analytics`,`test-count`,Rw(e)],executionByDate:e=>[`analytics`,`execution-by-date`,Rw(e)],testpitBff:e=>[`analytics`,`testpit-bff`,Rw(e)]}};function Rw(e){return{companyId:e.activeCompanyID,teamId:e.activeTeamID,start:e.startDate?.toISOString()??null,end:e.endDate?.toISOString()??null,scope:e.latestExecutionScope??null,testOrPlan:e.testOrPlan??null,tags:e.testTagIds??null}}var zw=3e5;function zue(e){return nc({queryKey:Y.user.me(),queryFn:()=>Lw.getCurrentUser(),enabled:e,staleTime:zw})}function Bue(e){return nc({queryKey:Y.user.affiliation(),queryFn:()=>Lw.getUserAffiliation(),enabled:e,staleTime:zw})}function Vue(){let e=Us();return rc({mutationFn:({current:e,patch:t})=>Lw.updateProfile(e,t),onSuccess:t=>e.setQueryData(Y.user.me(),t)})}function Hue(){return rc({mutationFn:e=>Lw.changePassword(e)})}var Uue=15e3,Bw=(0,O.createContext)(null);function Vw({children:e}){let[t,n]=(0,O.useState)(!1),r=rS(),{data:i,isLoading:a}=zue(t),o=(0,O.useCallback)(()=>{aue(),Ow()},[]);(0,O.useEffect)(()=>{i?.id&&iue(i.id,i.companyId)},[i?.id,i?.companyId]),(0,O.useEffect)(()=>{if(window.localStorage.getItem(`accessToken`)){n(!0);return}let e=window.location.pathname+window.location.search,t=e.startsWith(`/auth`)?``:`?redirect=${encodeURIComponent(e)}`;e.startsWith(`/auth`)||window.localStorage.setItem(`redirectAfterLogin`,e),r.push(`/auth/login${t}`)},[r]),(0,O.useEffect)(()=>{if(!t)return;let e=()=>{try{Dw()&&o()}catch{o()}};e();let n=()=>{document.hidden||e()},r=window.setInterval(e,Uue);return document.addEventListener(`visibilitychange`,n),()=>{window.clearInterval(r),document.removeEventListener(`visibilitychange`,n)}},[t,o]),(0,O.useEffect)(()=>{let e=eS(i?.language);!e||nS.language===e||(tS(e),nS.changeLanguage(e))},[i?.language]);let s=t&&!a&&!!i,c=(0,O.useMemo)(()=>({authenticated:t,currentUser:i??null,userLoading:a,logout:o}),[t,i,a,o]);return(0,U.jsx)(Bw.Provider,{value:c,children:s?e:null})}function Hw(){let e=(0,O.useContext)(Bw);if(!e)throw Error(`useAuth must be used within <AuthProvider>`);return e}var Uw=new class{async getAllCompanies(){let{data:e}=await J.get(`/v1/companies`);return e.map(e=>({id:e.id,name:e.name}))}async getTeamsOfCompany(e){let{data:t}=await J.get(`/v1/companies/${e}/teams`);return t}},Ww=6e4;function Wue(e){return nc({queryKey:Y.superAdmin.companies(),queryFn:()=>Uw.getAllCompanies(),enabled:e,staleTime:Ww})}function Gw(e,t){return nc({queryKey:Y.superAdmin.companyTeams(e),queryFn:()=>Uw.getTeamsOfCompany(e),enabled:t&&!!e,staleTime:Ww})}var Kw=[`USER`,`ADMIN`,`SUPER_ADMIN`];function qw(e){if(!e?.length)return`USER`;let t=-1;for(let n of e){let e=Kw.indexOf(n);e>t&&(t=e)}return t>=0?Kw[t]:`USER`}var Jw=(0,O.createContext)(null);function Yw(e){return typeof window>`u`?``:window.localStorage.getItem(e)??``}function Xw({children:e}){let{currentUser:t}=Hw(),n=Us(),r=qw(t?.roles)===`SUPER_ADMIN`,i=t?.companyId??``,{data:a}=Bue(!!t&&!r),{data:o}=Wue(r),[s,c]=(0,O.useState)(()=>Yw(`activeCompanyID`)),[l,u]=(0,O.useState)(()=>Yw(`activeTeamID`)),{data:d}=Gw(s,r&&!!s);(0,O.useEffect)(()=>{t&&(!s&&t.companyId&&(window.localStorage.setItem(`activeCompanyID`,t.companyId),c(t.companyId)),!l&&t.teamIds?.[0]&&(window.localStorage.setItem(`activeTeamID`,t.teamIds[0]),u(t.teamIds[0])))},[t,s,l]),(0,O.useEffect)(()=>
74{if(!(!t||r)){if(s&&t.companyId&&s!==t.companyId){let e=t.teamIds?.[0]??``;window.localStorage.setItem(`activeCompanyID`,t.companyId),e?window.localStorage.setItem(`activeTeamID`,e):window.localStorage.removeItem(`activeTeamID`),c(t.companyId),u(e),n.invalidateQueries();return}if(l&&a&&!new Set([...t.teamIds??[],...Object.keys(a.teamIdsAndNames??{})]).has(l)){let e=t.teamIds?.[0]??``;e?window.localStorage.setItem(`activeTeamID`,e):window.localStorage.removeItem(`activeTeamID`),u(e),n.invalidateQueries()}}},[t,r,a,s,l,n]),(0,O.useEffect)(()=>{if(!(!r||!o?.length)&&!s){let e=o[0].id;window.localStorage.setItem(`activeCompanyID`,e),c(e)}},[r,o,s]),(0,O.useEffect)(()=>{if(!r||!d?.length)return;let e=d.some(e=>e.id===l);if(!l||!e){let e=d[0].id;window.localStorage.setItem(`activeTeamID`,e),u(e)}},[r,d,l]);let f=(0,O.useMemo)(()=>r&&d?d.map(e=>({id:e.id,name:e.name})):Object.entries(a?.teamIdsAndNames??{}).map(([e,t])=>({id:e,name:t})),[r,d,a]),p=(0,O.useMemo)(()=>r&&o?o:a?[{id:i,name:a.companyName}]:i?[{id:i,name:``}]:[],[r,o,a,i]),m=(0,O.useMemo)(()=>r&&o?o.find(e=>
74e.id===s)?.name??``:a?.companyName??``,[r,o,s,a]),h=(0,O.useRef)(``);(0,O.useEffect)(()=>{if(!t||!r&&s&&s!==t.companyId)return;let e={email:t.email,username:t.username,companyId:s||t.companyId,companyName:m,role:qw(t.roles)},n=JSON.stringify(e);n!==h.current&&(h.current=n,S(e))},[t,r,s,m]);let g=(0,O.useCallback)(e=>{!e||e===l||(window.localStorage.setItem(`activeTeamID`,e),u(e),window.postMessage(JSON.stringify({type:`T2T_CHANGE_ACTIVE_ENTITY`,activeCompanyID:s,activeTeamID:e}),`*`),n.invalidateQueries())},[l,s,n]),_=(0,O.useCallback)(e=>{!e||e===s||(window.localStorage.setItem(`activeCompanyID`,e),window.localStorage.removeItem(`activeTeamID`),c(e),u(``),window.postMessage(JSON.stringify({type:`T2T_CHANGE_ACTIVE_ENTITY`,activeCompanyID:e,activeTeamID:``}),`*`),n.invalidateQueries())},[s,n]),v=(0,O.useCallback)((e,t)=>{!e||!t||(window.localStorage.setItem(`activeCompanyID`,e),window.localStorage.setItem(`activeTeamID`,t),c(e),u(t),window.postMessage(JSON.stringify({type:`T2T_CHANGE_ACTIVE_ENTITY`,activeCompanyID:e,activeTeamID:t}),`*`),n.invalidateQueries())},[n]),y=!!t?.teamIds?.length||r&&!!d?.length,b=(0,O.useMemo)(()=>({activeCompanyID:s,activeTeamID:l,companyName:m,teams:f,companies:p,isSuperAdmin:r,ownCompanyID:i,changeActiveTeam:g,changeActiveCompany:_,changeActiveWorkspace:v,loading:!s||!l&&y}),[s,l,m,f,p,r,i,g,_,v,y]);return(0,U.jsx)(Jw.Provider,{value:b,children:e})}function Zw(){let e=(0,O.useContext)(Jw);if(!e)throw Error(`useWorkspace must be used within <WorkspaceProvider>`);return e}function Gue(e,t){let n=[],r=/<(\w+)>([\s\S]*?)<\/\1>/g,i=0,a=0,o;for(;(o=r.exec(e))!==null;){o.index>i&&n.push(e.slice(i,o.index));let[r,s,c]=o,l=t[s];n.push(l?(0,U.jsx)(O.Fragment,{children:l(c)},a++):c),i=o.index+r.length}return i<e.length&&n.push(e.slice(i)),n}function X(e){let{t}=ko(),n=e?`${e}.`:``;return Object.assign((e,r)=>t(n+e,r??{}),{rich:(e,r)=>Gue(t(n+e),r),raw:e=>t(n+e,{returnObjects:!0})})}var Kue=e=>/^[a-z]+:\/\//i.test(e)||e.startsWith(`//`)||/^(mailto:|tel:|#)/i.test(e),Qw=(0,O.forwardRef)(function({href:e,replace:t,prefetch:n,scroll:r,children:i,...a},o){return Kue(e)?(0,U.jsx)(`a`,{ref:o,href:e,...a,children:i}):(0,U.jsx)(Ui,{ref:o,to:e,replace:t,...a,children:i})});function que({className:e,children:t,...n}){return(0,U.jsxs)(pre,{"data-slot":`scroll-area`,className:W(`relative overflow-hidden`,e),...n,children:[(0,U.jsx)(mre,{"data-slot":`scroll-area-viewport`,className:`focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1`,children:t}),(0,U.jsx)(Jue,{}),(0,U.jsx)(hre,{})]})}function Jue({className:e,orientation:t=`vertical`,...n}){return(0,U.jsx)(Ig,{"data-slot":`scroll-area-scrollbar`,"data-orientation":t,orientation:t,className:W(`flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent`,e),...n,children:(0,U.jsx)(Hg,{"data-slot":`scroll-area-thumb`,className:`bg-border relative flex-1 rounded-full`})})}function $w({size:e=32,showWordmark:t=!0,className:n}){return(0,U.jsxs)(`span`,{className:W(`inline-flex items-center gap-2.5`,n),children:[(0,U.jsx)(`span`,{className:`bg-brand flex shrink-0 items-center justify-center rounded-md`,style:{width:e,height:e},children:(0,U.jsx)(`svg`,{width:e*.55,height:e*.55,viewBox:`0 0 14 14`,fill:`none`,"aria-hidden":`true`,children:(0,U.jsx)(`path`,{d:`M2 4h10M2 7h7M2 10h5`,stroke:`#fff`,strokeWidth:`1.5`,strokeLinecap:`round`})})}),t&&(0,U.jsx)(`span`,{className:`font-heading text-brand-deep dark:text-foreground text-[18px] font-bold`,children:`Text2Test`})]})}var eT=`/web/overview`,tT=[{key:`groupTestpit`,items:[]},{key:`groupWebTest`,showDividerBefore:!0,items:[{key:`navMyTests`,href:`/web/overview`,icon:qy,activePrefixes:[`/web`]},{key:`navTestResults`,href:`/web/results`,icon:Jy},{key:`navGetExtension`,href:`/web/get-extension`,icon:Qy},{key:`navDoc`,href:`/docs/web`,icon:Ey}]},{key:`groupMobileTest`,badgeKey:`badgeEarlyAccess`,showDividerBefore:!0,items:[{key:`navMyMobileTests`,href:`/mobile-test`,icon:Kb}]},{key:`groupAutomation`,showDividerBefore:!0,items:[{key:`navMyPlans`,href:`/plan`,icon:qy},{key:`navPlanResults`,href:`/plan-execution`,icon:My},{key:`navDoc`,href:`/docs/automation`,icon:Ey}]},{key:`groupTools`,showDividerBefore:!0,items:[{key:`navDataSources`,href:`/data-source`,icon:Zy},{key:`navHttpRequest`,href:`/http-request`,icon:kb},{key:`navElementTags`,href:`/tag`,icon:Zb},{key:`navTestTags`,href:`/test-tags`,icon:Qb},{key:`navScenarioFiles`,href:`/scenario-file`,icon:ob},{key:`navDoc`,href:`/docs/tools`,icon:Ey}]},{key:`groupSettings`,showDividerBefore:!0,items:[{key:`navPackages`,href:`/settings/packages`,icon:aoe,activePrefixes:[`/settings/packages`],superAdminOnly:!0},{key:`navSettingProfiles`,href:`/settings/profiles`,icon:Gb,activePrefixes:[`/settings/profiles`]},{key:`navApiKeys`,href:`/settings/api-keys`,icon:fb,activePrefixes:[`/settings/api-keys`]},{key:`navVault`,href:`/settings/vault`,icon:fb,activePrefixes:[`/settings/vault`]},{key:`navMcpServers`,href:`/settings/mcp-servers`,icon:Hb,activePrefixes:[`/settings/mcp-servers`]},{key:`navDoc`,href:`/docs/settings`,icon:Ey}]}];function nT({className:e,size:t=`default`,...n}){return(0,U.jsx)(Xf,{"data-slot":`avatar`,"data-size":t,className:W(`group/avatar after:border-border relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten`,e),...n})}function rT({className:e,...t}){return(0,U.jsx)(Zf,{"data-slot":`avatar-fallback`,className:W(`bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-sm group-data-[size=sm]/avatar:text-xs`,e),...t})}function iT({...e}){return(0,U.jsx)(Dne,{"data-slot":`dropdown-menu`,...e})}function aT({...e}){return(0,U.jsx)(One,{"data-slot":`dropdown-menu-trigger`,...e})}function oT({className:e,align:t=`start`,sideOffset:n=4,...r}){return(0,U.jsx)(kne,{children:(0,U.jsx)(Ane,{"data-slot":`dropdown-menu-content`,sideOffset:n,align:t,className:W(`bg-popover text-popover-foreground ring-foreground
74/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg p-1 shadow-md ring-1 duration-100 data-[state=closed]:overflow-hidden`,e),...r})})}function sT({className:e,inset:t,variant:n=`default`,...r}){return(0,U.jsx)(Mne,{"data-slot":`dropdown-menu-item`,"data-inset":t,"data-variant":n,className:W(`group/dropdown-menu-item focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:*:[svg]:text-destructive relative flex cursor-pointer items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r})}function cT({...e}){return(0,U.jsx)(Nne,{"data-slot":`dropdown-menu-radio-group`,...e})}function lT({className:e,children:t,inset:n,...r}){return(0,U.jsxs)(Pne,{"data-slot":`dropdown-menu-radio-item`,"data-inset":n,className:W(`focu
74s:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-pointer items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r,children:[(0,U.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex items-center justify-center`,"data-slot":`dropdown-menu-radio-item-indicator`,children:(0,U.jsx)(Fne,{children:(0,U.jsx)(Py,{})})}),t]})}function Yue({className:e,inset:t,...n}){return(0,U.jsx)(jne,{"data-slot":`dropdown-menu-label`,"data-inset":t,className:W(`text-muted-foreground px-1.5 py-1 text-xs font-medium data-inset:pl-7`,e),...n})}function uT({className:e,...t}){return(0,U.jsx)(Ine,{"data-slot":`dropdown-menu-separator`,className:W(`bg-border -mx-1 my-1 h-px`,e),...t})}function Xue({collapsed:e=!1}){let t=X(`layout.userMenu`),n=X(`layout.themeToggle`),{currentUser:r,logout:i}=Hw(),{theme:a,setTheme:o}=fc(),[s,c]=(0,O.useState)(!1);(0,O.useEffect)(()=>{c(!0)},[]);let l=r?.username??r?.email??`Guest`,u=l.charAt(0).toUpperCase();return(0,U.jsxs)(iT,{children:[(0,U.jsx)(aT,{asChild:!0,children:(0,U.jsxs)(`button`,{type:`button`,className:W(`border-border bg-surface hover:border-border-strong inline-flex max-w-full items-center gap-2.5 rounded-full border-[0.5px] py-1 pr-3.5 pl-1 transition-colors`,e&&`gap-0 p-0.5`),children:[(0,U.jsx)(nT,{className:`size-[26px]`,children:(0,U.jsx)(rT,{className:`bg-avatar text-[11.5px] font-semibold text-white`,children:u})}),!e&&(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-left text-[12.5px] font-medium`,children:l})]})}),(0,U.jsxs)(oT,{align:`end`,side:`right`,className:`min-w-44`,children:[(0,U.jsx)(sT,{asChild:!0,children:(0,U.jsxs)(Qw,{href:`/settings/account`,children:[(0,U.jsx)(ix,{className:`size-3.5`}),` `,t(`account`)]})}),(0,U.jsx)(sT,{asChild:!0,children:(0,U.jsxs)(Qw,{href:`/usage`,children:[(0,U.jsx)(Xy,{className:`size-3.5`}),` `,t(`billingPlan`)]})}),(0,U.jsx)(sT,{asChild:!0,children:(0,U.jsxs)(Qw,{href:`/settings/security`,children:[(0,U.jsx)(Wb,{className:`size-3.5`}),` `,t(`security`)]})}),(0,U.jsx)(sT,{asChild:!0,children:(0,U.jsxs)(`a`,{href:`mailto:[email protected]`,children:[(0,U.jsx)(Gy,{className:`size-3.5`}),` `,t(`help`),` `,(0,U.jsx)(`span`,{className:`text-fg-hint ml-auto text-[11px] tabular-nums`,children:t(`supportEmail`)})]})}),(0,U.jsx)(uT,{}),(0,U.jsx)(Yue,{className:`text-muted-foreground text-[10px] font-medium tracking-[0.06em] uppercase`,children:n(`label`)}),(0,U.jsxs)(cT,{value:s?a??`system`:`system`,onValueChange:o,children:[(0,U.jsxs)(lT,{value:`system`,children:[(0,U.jsx)(wb,{className:`size-3.5`}),` `,n(`system`)]}),(0,U.jsxs)(lT,{value:`light`,children:[(0,U.jsx)(Xb,{className:`size-3.5`}),` `,n(`light`)]}),(0,U.jsxs)(lT,{value:`dark`,children:[(0,U.jsx)(Tb,{className:`size-3.5`}),` `,n(`dark`)]})]}),(0,U.jsx)(uT,{}),(0,U.jsxs)(sT,{onClick:i,variant:`destructive`,children:[(0,U.jsx)(yb,{className:`size-3.5`}),` `,t(`logout`)]})]})]})}var dT=new class{async getCompanyMembers(e){let{data:t}=await J.get(`/v1/companies/${e}/users`);return t}async getCompanyTeams(e){let{data:t}=await J.get(`/v1/companies/${e}/teams`);return t}async getMyCompany(){let{data:e}=await J.get(`/v1/users/my-company`);return e}async updateMemberRole(e,t){let n=t===`ADMIN`?[`USER`,`ADMIN`]:[`USER`],{data:r}=await J.put(`/v1/users`,{...e,roles:n});return r}async createTeam(e){let{data:t}=await J.post(`/v1/teams`,e);return t}async updateTeam(e){let{data:t}=await J.put(`/v1/teams`,e);return t}async deleteTeam(e){await J.delete(`/v1/teams/${e}`)}async removeMember(e,t){await J.delete(`/v1/companies/${e}/users/${t}`)}},fT=new class{async list(e){let{data:t}=await J.get(`/v1/companies/${e}/invitations`,{params:{status:`PENDING`}});return t}async create(e,t){let{data:n}=await J.post(`/v1/companies/${e}/invitations`,t);return n}async resend(e,t){await J.post(`/v1/companies/${e}/invitations/${t}/resend`)}async revoke(e,t){await J.delete(`/v1/companies/${e}/invitations/${t}`)}async acceptDetails(e){let{data:t}=await J.get(`/v1/invitations/accept`,{params:{token:e}});return t}async accept(e){await J.post(`/v1/invitations/accept`,e)}},pT=6e4;function Zue(e,t){return nc({queryKey:Y.members.list(e),queryFn:()=>dT.getCompanyMembers(e),enabled:t&&!!e,staleTime:pT})}function Que(e,t){return nc({queryKey:Y.members.teams(e),queryFn:()=>dT.getCompanyTeams(e),enabled:t&&!!e,staleTime:pT})}function $ue(e){return nc({queryKey:Y.members.company(),queryFn:()=>dT.getMyCompany(),enabled:e,staleTime:pT})}function ede(e){let t=Us();return rc({mutationFn:({user:e,role:t})=>dT.updateMemberRole(e,t),onSuccess:()=>
74t.invalidateQueries({queryKey:Y.members.list(e)})})}function tde(e,t){return nc({queryKey:Y.members.invitations(e),queryFn:()=>fT.list(e),enabled:t&&!!e,staleTime:pT})}function mT(e,t){e.invalidateQueries({queryKey:Y.members.list(t)}),e.invalidateQueries({queryKey:Y.members.invitations(t)})}function nde(e){let t=Us();return rc({mutationFn:t=>fT.create(e,t),onSuccess:()=>mT(t,e)})}function rde(e){let t=Us();return rc({mutationFn:t=>fT.resend(e,t),onSuccess:()=>t.invalidateQueries({queryKey:Y.members.invitations(e)})})}function ide(e){let t=Us();return rc({mutationFn:t=>fT.revoke(e,t),onSuccess:()=>t.invalidateQueries({queryKey:Y.members.invitations(e)})})}function ade(e){return nc({queryKey:Y.members.invitePreview(e),queryFn:()=>fT.acceptDetails(e),enabled:!!e,retry:!1,staleTime:1/0})}function ode(){return rc({mutationFn:e=>fT.accept(e)})}function sde(e){let t=Us();return rc({mutationFn:t=>dT.removeMember(e,t),onSuccess:()=>mT(t,e)})}function cde(e){let t=Us();return rc({mutationFn:e=>dT.createTeam(e),onSuccess:()=>{t.invalidateQueries({queryKey:Y.members.teams(e)}),t.invalidateQueries({queryKey:Y.user.affiliation()})}})}function hT({...e}){return(0,U.jsx)(Xne,{"data-slot":`popover`,...e})}function gT({...e}){return(0,U.jsx)(Zne,{"data-slot":`popover-trigger`,...e})}function _T({className:e,align:t=`center`,sideOffset:n=6,...r}){return(0,U.jsx)(Qne,{children:(0,U.jsx)($ne,{"data-slot":`popover-content`,align:t,sideOffset:n,className:W(`bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg p-4 shadow-md ring-1 outline-hidden`,e),...r})})}var vT=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,yT=xv,bT=(e,t)=>n=>{if(t?.variants==null)return yT(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=vT(t)||vT(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return yT(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},lde=bT(`group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,outline:`border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground`,ghost:`hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,xs:`h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3`,sm:`h-7 ga
74p-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5`,lg:`h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,icon:`size-8`,"icon-xs":`size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3`,"icon-sm":`size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg`,"icon-lg":`size-9`}},defaultVariants:{variant:`default`,size:`default`}});function Z({className:e,variant:t=`default`,size:n=`default`,asChild:r=!1,...i}){let a=r?Tc:`button`;return(0,U.jsx)(a,{"data-slot":`button`,"data-variant":t,"data-size":n,className:W(lde({variant:t,size:n,className:e})),...i})}function xT({...e}){return(0,U.jsx)(Yd,{"data-slot":`dialog`,...e})}function ude({...e}){return(0,U.jsx)(Zd,{"data-slot":`dialog-portal`,...e})}function dde({...e}){return(0,U.jsx)(nf,{"data-slot":`dialog-close`,...e})}function fde({className:e,...t}){return(0,U.jsx)(Qd,{"data-slot":`dialog-overlay`,className:W(`data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs`,e),...t})}function ST({className:e,children:t,showCloseButton:n=!0,...r}){return(0,U.jsxs)(ude,{children:[(0,U.jsx)(fde,{}),(0,U.jsxs)($d,{"data-slot":`dialog-content`,className:W(`bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 text-sm ring-1 duration-100 outline-none sm:max-w-sm`,e),...r,children:[t,n&&(0,U.jsx)(nf,{"data-slot":`dialog-close`,asChild:!0,children:(0,U.jsxs)(Z,{variant:`ghost`,className:`absolute top-2 right-2`,size:`icon-sm`,children:[(0,U.jsx)(ox,{}),(0,U.jsx)(`span`,{className:`sr-only`,children:`Close`})]})})]})]})}function CT({className:e,...t}){return(0,U.jsx)(`div`,{"data-slot":`dialog-header`,className:W(`flex flex-col gap-2`,e),...t})}function wT({className:e,showCloseButton:t=!1,children:n,...r}){return(0,U.jsxs)(`div`,{"data-slot":`dialog-footer`,className:W(`bg-muted/50 -mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t p-4 sm:flex-row sm:justify-end`,e),...r,children:[n,t&&(0,U.jsx)(nf,{asChild:!0,children:(0,U.jsx)(Z,{variant:`outline`,children:`Close`})})]})}function TT({className:e,...t}){return(0,U.jsx)(ef,{"data-slot":`dialog-title`,className:W(`font-heading text-base leading-none font-medium`,e),...t})}function ET({className:e,...t}){return(0,U.jsx)(tf,{"data-slot":`dialog-description`,className:W(`text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3`,e),...t})}function DT({className:e,...t}){return(0,U.jsx)(Rne,{"data-slot":`label`,className:W(`flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,e),...t})}function OT({...e}){return(0,U.jsx)(Ure,{"data-slot":`select`,...e})}function kT({...e}){return(0,U.jsx)(Gre,{"data-slot":`select-value`,...e})}function AT({className:e,size:t=`default`,children:n,...r}){return(0,U.jsxs)(Wre,{"data-slot":`select-trigger`,"data-size":t,className:W(`border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 flex w-fit items-center justify-between gap-1.5 rounded-lg border bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r,children:[n,(0,U.jsx)(Kre,{asChild:!0,children:(0,U.jsx)(Fy,{className:`text-muted-foreground pointer-events-none size-4`})})]})}function jT({className:e,children:t,position:n=`item-aligned`,align:r=`center`,...i}){return(0,U.jsx)(qre,{children:(0,U.jsxs)(Jre,{"data-slot":`select-content`,"data-align-trigger":n===`item-aligned`,className:W(`bg-popover text-popover-foreground ring-foreground
74/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg shadow-md ring-1 duration-100 data-[align-trigger=true]:animate-none`,n===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,e),position:n,align:r,...i,children:[(0,U.jsx)(pde,{}),(0,U.jsx)(Yre,{"data-position":n,className:W(`data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)`,n===`popper`&&``),children:t}),(0,U.jsx)(mde,{})]})})}function MT({className:e,children:t,...n}){return(0,U.jsxs)(Xre,{"data-slot":`select-item`,className:W(`focu
74s:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground relative flex w-full cursor-pointer items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,e),...n,children:[(0,U.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex size-4 items-center justify-center`,children:(0,U.jsx)(Qre,{children:(0,U.jsx)(Py,{className:`pointer-events-none`})})}),(0,U.jsx)(Zre,{children:t})]})}function pde({className:e,...t}){return(0,U.jsx)($re,{"data-slot":`select-scroll-up-button`,className:W(`bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:(0,U.jsx)(Ry,{})})}function mde({className:e,...t}){return(0,U.jsx)(eie,{"data-slot":`select-scroll-down-button`,className:W(`bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:(0,U.jsx)(Fy,{})})}function NT(){let{activeCompanyID:e,activeTeamID:t,loading:n}=Zw();return{activeCompanyID:e,activeTeamID:t,loading:n}}var PT=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,hde=[{value:`ADMIN`,icon:Wb},{value:`USER`,icon:rx}];function FT({open:e,onOpenChange:t,workspaceName:n,teams:r,defaultTeamId:i}){let a=X(`layout.workspaceSwitcher.addMember`),{activeCompanyID:o}=NT(),s=nde(o),[c,l]=(0,O.useState)([]),[u,d]=(0,O.useState)(``),[f,p]=(0,O.useState)(i??r[0]?.id??``),[m,h]=(0,O.useState)(`USER`),g=(0,O.useMemo)(()=>c.filter(e=>PT.test(e)),[c]),_=c.some(e=>!PT.test(e));function v(){let e=u.split(/[\s,]+/).map(e=>e.trim()).filter(Boolean);e.length!==0&&(l(t=>{let n=new Set(t.map(e=>e.toLowerCase())),r=[...t];for(let t of e)n.has(t.toLowerCase())||r.push(t);return r}),d(``))}function y(e){e.key===`Enter`||e.key===`,`||e.key===` `?(e.preventDefault(),v()):e.key===`Backspace`&&u===``&&c.length>0&&l(e=>e.slice(0,-1))}function b(){l([]),d(``),h(`USER`)}function x(){g.length===0||s.isPending||s.mutate({emails:g,teamId:f,role:m},{onSuccess:({created:e,skipped:n})=>{e.length>0&&G.success(a(`inviteSuccess`,{count:e.length}));let r=n.filter(e=>e.reason===`ALREADY_EXISTS`),i=n.filter(e=>e.reason!==`ALREADY_EXISTS`);r.length>0&&G.info(a(`inviteExists`,{count:r.length})),i.length>0&&G.info(a(`inviteSkipped`,{count:i.length})),t(!1),b()},onError:()=>G.error(a(`inviteError`))})}return(0,U.jsx)(xT,{open:e,onOpenChange:e=>{t(e),e||b()},children:(0,U.jsxs)(ST,{className:`sm:max-w-[540px]`,children:[(0,U.jsx)(CT,{children:(0,U.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,U.jsx)(`div`,{className:`bg-violet flex size-[30px] shrink-0 items-center justify-center rounded-lg text-white`,children:(0,U.jsx)(rx,{className:`size-4`})}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(TT,{children:a(`title`)}),(0,U.jsx)(ET,{children:a(`subtitle`,{workspace:n})})]})]})}),(0,U.jsxs)(`div`,{className:`space-y-4`,children:[(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsxs)(DT,{children:[a(`emailsLabel`),` `,(0,U.jsx)(`span`,{className:`text-danger`,children:`*`})]}),(0,U.jsxs)(`div`,{className:`border-border focus-within:border-violet bg-surface flex min-h-[42px] flex-wrap items-center gap-1.5 rounded-lg border-[0.5px] px-2 py-1.5 transition-colors`,children:[c.map((e,t)=>{let n=!PT.test(e);return(0,U.jsxs)(`span`,{className:W(`inline-flex items-center gap-1.5 rounded-full py-1 pr-1 pl-2.5 text-[12px] font-medium`,n?`bg-danger-soft text-danger`:`bg-violet-pale text-violet-dark`),title:n?a(`invalidTooltip`):void 0,children:[(0,U.jsx)(`span`,{className:`max-w-[180px] truncate`,children:e}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>l(e=>e.filter((e,n)=>n!==t)),className:`grid size-4 place-items-center rounded-full opacity-65 hover:opacity-100`,"aria-label":a(`removeEmail`),children:(0,U.jsx)(ox,{className:`size-3`})})]},`${e}-${t}`)}),(0,U.jsx)(`input`,{value:u,onChange:e=>d(e.target.value),onKeyDown:y,onBlur:v,placeholder:c.length===0?a(`emailPlaceholder`):a(`emailPlaceholderMore`),className:`text-fg-strong placeholder:text-fg-hint min-w-[120px] flex-1 bg-transparent px-0.5 py-1 text-[13px] outline-none`,"aria-label":a(`emailsLabel`)})]}),_&&(0,U.jsx)(`p`,{className:`text-danger flex items-center gap-1.5 text-[12px]`,children:a(`invali
74dHint`)})]}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsx)(DT,{children:a(`teamLabel`)}),(0,U.jsxs)(OT,{value:f,onValueChange:p,children:[(0,U.jsx)(AT,{className:`w-full`,children:(0,U.jsx)(kT,{placeholder:a(`teamLabel`)})}),(0,U.jsx)(jT,{children:r.map(e=>(0,U.jsx)(MT,{value:e.id,children:e.name},e.id))})]})]}),(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsx)(DT,{children:a(`workspaceLabel`)}),(0,U.jsx)(`div`,{className:`border-border text-fg-hint bg-surface-alt flex h-8 items-center rounded-md border-[0.5px] px-2.5 text-[13px]`,children:n})]})]}),(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsx)(DT,{children:a(`roleLabel`)}),(0,U.jsx)(`div`,{className:`border-border bg-surface-alt grid grid-cols-2 gap-1 rounded-lg border-[0.5px] p-[3px]`,children:hde.map(({value:e,icon:t})=>(0,U.jsxs)(`button`,{type:`button`,onClick:()=>h(e),className:W(`flex items-center justify-center gap-1.5 rounded-md py-1.5 text-[12.5px] font-medium transition-colors`,m===e?`bg-surface text-violet-dark shadow-sm`:`text-fg-body hover:text-fg-strong`),children:[(0,U.jsx)(t,{className:`size-3.5`}),` `,a(`role.${e}.label`)]},e))}),(0,U.jsxs)(`p`,{className:`text-muted-foreground text-[11.5px] leading-relaxed`,children:[(0,U.jsxs)(`span`,{className:`text-fg-body font-medium`,children:[a(`role.${m}.label`),`.`]}),` `,a(`role.${m}.desc`)]})]})]}),(0,U.jsxs)(`div`,{className:`border-divider flex items-center justify-between border-t pt-3`,children:[(0,U.jsx)(`span`,{className:`text-[11.5px]`,children:g.length===0?(0,U.jsx)(`span`,{className:`text-fg-hint`,children:a(`hintEmpty`)}):(0,U.jsxs)(`span`,{className:`text-fg-body flex items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:`bg-success size-1.5 rounded-full`}),` `,a(`hintReady`,{count:g.length})]})}),(0,U.jsxs)(`div`,{className:`flex gap-2`,children:[(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:()=>t(!1),children:a(`cancel`)}),(0,U.jsxs)(Z,{size:`sm`,onClick:x,disabled:g.length===0||s.isPending,children:[s.isPending?(0,U.jsx)(gb,{className:`animate-spin`}):(0,U.jsx)(bb,{}),` `,a(`send`,{count:g.length})]})]})]})]})})}function IT({className:e,type:t,...n}){return(0,U.jsx)(`input`,{type:t,"data-slot":`input`,className:W(`border-input file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 h-8 w-full min-w-0 rounded-lg border bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-3 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 md:text-sm`,e),...n})}function LT(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}function gde({open:e,onOpenChange:t}){let n=X(`layout.workspaceSwitcher.createWorkspace`),[r,i]=(0,O.useState)(``),[a,o]=(0,O.useState)(``),[s,c]=(0,O.useState)(!1),[l,u]=(0,O.useState)(``),d=s?a:LT(r),f=(r.trim().charAt(0)||`W`).toUpperCase(),p=(0,O.useMemo)(()=>r.trim().length>0&&(l.trim().length>0||!0),[r,l]);function m(){i(``),o(``),c(!1),u(``)}function h(){r.trim()&&(G.info(n(`comingSoon`,{name:r.trim()})),t(!1),m())}return(0,U.jsx)(xT,{open:e,onOpenChange:e=>{t(e),e||m()},children:(0,U.jsxs)(ST,{className:`sm:max-w-[560px]`,onKeyDown:e=>{e.key===`Enter`&&p&&h()},children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:n(`title`)}),(0,U.jsx)(ET,{className:`sr-only`,children:n(`kickerHelp`)})]}),(0,U.jsxs)(`div`,{className:`bg-violet-pale flex items-start gap-3 rounded-[10px] p-3.5`,children:[(0,U.jsx)(`div`,{className:`bg-violet flex size-[30px] shrink-0 items-center justify-center rounded-lg text-white`,children:(0,U.jsx)(ky,{className:`size-4`})}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong text-[13px] font-semibold`,children:n(`kickerTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-0.5 text-[11.5px] leading-relaxed`,children:n(`kickerHelp`)})]})]}),(0,U.jsxs)(`div`,{className:`space-y-4`,children:[(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsxs)(DT,{children:[n(`nameLabel`),` `,(0,U.jsx)(`span`,{className:`text-danger`,children:`*`})]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,U.jsx)(`div`,{className:`bg-violet flex size-[46px] shrink-0 items-center justify-center rounded-xl text-[19px] font-semibold text-white shadow-sm`,children:f}),(0,U.jsx)(IT,{value:r,onChange:e=>i(e.target.value),placeholder:n(`namePlaceholder`),autoFocus:!0,className:`flex-1`})]})]}),(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsxs)(DT,{className:`text-muted-foreground font-normal`,children:[(0,U.jsx)(`span`,{className:`text-fg-body font-medium`,children:n(`urlLabel`)}),` `,n(`urlHint`)]}),(0,U.jsxs)(`div`,{className:`border-border focus-within:border-violet flex items-stretch overflow-hidden rounded-md border-[0.5px] transition-colors`,children:[(0,U.jsx)(`span`,{className:`border-border text-fg-hint bg-surface-alt flex items-center border-r-[0.5px] px-2.5 font-mono text-[12px]`,children:`text2test.app/`}),(0,U.jsx)(`input`,{value:d,onChange:e=>{c(!0),o(LT(e.target.value))},placeholder:n(`urlPlaceholder`),className:`text-fg-strong bg-surface min-w-0 flex-1 px-2.5 py-1.5 font-mono text-[13px] outline-none`,"aria-label":n(`urlLabel`)})]})]}),(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsxs)(DT,{className:`text-muted-foreground font-normal`,children:[(0,U.jsx)(`span`,{className:`text-fg-body font-medium`,children:n(`teamLabel`)}),` `,n(`teamHint`)]}
74),(0,U.jsx)(IT,{value:l,onChange:e=>u(e.target.value),placeholder:n(`teamPlaceholder`)}),(0,U.jsx)(`p`,{className:`text-fg-hint text-[11px]`,children:n(`teamHelp`)})]})]}),(0,U.jsxs)(`div`,{className:`border-divider flex items-center justify-between border-t pt-3`,children:[(0,U.jsx)(`span`,{className:`text-fg-hint text-[11.5px]`,children:n(`footerHint`)}),(0,U.jsxs)(`div`,{className:`flex gap-2`,children:[(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:()=>t(!1),children:n(`cancel`)}),(0,U.jsxs)(Z,{size:`sm`,onClick:h,disabled:!p,children:[(0,U.jsx)(Pb,{}),` `,n(`create`)]})]})]})]})})}function _de({collapsed:e=!1}){let t=X(`layout.workspaceSwitcher`),{currentUser:n}=Hw(),{activeCompanyID:r,companyName:i,teams:a,activeTeamID:o,changeActiveTeam:s,companies:c,isSuperAdmin:l,ownCompanyID:u,changeActiveCompany:d}=Zw(),f=cde(r),[p,m]=(0,O.useState)(!1),h=Que(r,p),g=(0,O.useMemo)(()=>{let e=new Map;for(let t of h.data??[])e.set(t.id,t.members?.length??0);return e},[h.data]),[_,v]=(0,O.useState)(``),[y,b]=(0,O.useState)(null),[x,S]=(0,O.useState)(!1),[C,w]=(0,O.useState)(``),[T,E]=(0,O.useState)(!1),[D,k]=(0,O.useState)(void 0),[A,j]=(0,O.useState)(!1),M=(0,O.useRef)(null),[N,P]=(0,O.useState)(null),[F,I]=(0,O.useState)(null),L=N&&N!==r?N:``,{data:R,isLoading:z}=Gw(L,l&&!!L),B=l&&N&&N!==r&&!!F,ee=(0,O.useCallback)(()=>{b(r),P(null),I(null)},[r]),V=(0,O.useCallback)(()=>{ee(),m(!0),window.setTimeout(()=>M.current?.focus(),0)},[ee]),te=(0,O.useCallback)(e=>{m(e),e?(ee(),window.setTimeout(()=>M.current?.focus(),0)):S(!1)},[ee]);(0,O.useEffect)(()=>{function e(e){if((e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===`k`){let t=document.activeElement;if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t?.isContentEditable)return;e.preventDefault(),V()}}return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[V]);let ne=(i||`W`).charAt(0).toUpperCase(),re=a.find(e=>e.id===o)?.name,ie=_.trim().toLowerCase(),ae=(0,O.useMemo)(()=>ie?a.filter(e=>e.name.toLowerCase().includes(ie)):a,[a,ie]),oe=(0,O.useMemo)(()=>l?[...ie?c.filter(e=>e.name.toLowerCase().includes(ie)):c].sort((e,t)=>e.id===r?-1:+(t.id===r)):c,[l,c,ie,r]),H=!ie||(l?oe.length>0:i.toLowerCase().includes(ie)||ae.length>0);function se(e){s(e),m(!1)}function ce(e){if(!l){b(t=>t===e?null:e);return}if(e===r){b(t=>t===e?null:e),P(null),I(null);return}b(e),P(e),I(null)}function le(e){I(e)}function ue(){!N||!F||(d(N),setTimeout(()=>s(F),0),P(null),I(null),m(!1))}function de(){let e=C.trim();if(!e){S(!1);return}f.mutate({name:e,enabled:!0,companyId:r,members:n?.id?[n.id]:[],projects:[]},{onSuccess:()=>G.success(t(`teamCreated`,{name:e,workspace:i})),onError:()=>G.error(t(`teamCreateFailed`))}),w(``),S(!1)}function fe(e){e.key===`Enter`?(e.preventDefault(),de()):e.key===`Escape`&&(S(!1),w(``))}function pe(e){k(e),E(!0),m(!1)}if(e)return(0,U.jsx)(`div`,{className:`mx-2 my-2 flex`,children:(0,U.jsx)(dy,{content:i,side:`right`,children:(0,U.jsx)(`div`,{className:`bg-violet flex size-[30px] items-center justify-center rounded-md text-[11px] font-bold text-white`,children:ne})})});function me(){return(0,U.jsxs)(`div`,{className:`border-border my-1.5 ml-[18px] border-l border-dashed pl-3.5`,children:[ae.map(e=>{let n=e.id===o;return(0,U.jsxs)(`div`,{className:W(`group grid grid-cols-[10px_1fr_auto] items-center gap-2 rounded-lg px-2 py-1.5`,n?`bg-violet-pale`:`hover:bg-surface-hover`),children:[(0,U.jsx)(`span`,{className:W(`size-1.5 rounded-full`,n?`bg-success`:`bg-border-strong`)}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>se(e.id),className:W(`min-w-0 truncate text-left text-[12.5px]`,n?`text-violet-dark font-medium`:`text-fg-body`),children:e.name}),(0,U.jsxs)(`div`,{className:`flex items-center gap-1`,children:[n&&(0,U.jsx)(Py,{className:`text-violet size-3.5`}),g.has(e.id)&&(0,U.jsx)(`span`,{className:`bg-surface-alt text-fg-muted rounded-full px-1.5 py-0.5 font-mono text-[10px] group-hover:hidden`,children:g.get(e.id)}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>pe(e.id),className:`text-fg-muted hover:text-violet hidden size-[22px] place-items-center rounded-md group-hover:grid`,"aria-label":t(`addMemberToTeam`),children:(0,U.jsx)(rx,{className:`size-3.5`})})]})]},e.id)}),x?(0,U.jsx)(`input`,{autoFocus:!0,value:C,onChange:e=>w(e.target.value),onKeyDown:fe,onBlur:de,placeholder:t(`newTeamPlaceholder`),className:`border-border text-fg-strong placeholder:text-fg-hint bg-surface mt-0.5 w-full rounded-lg border-[0.5px] px-2 py-1.5 text-[12.5px] outline-none`}):(0,U.jsxs)(`button`,{type:`button`,onClick:()=>S(!0),className:`text-fg-muted hover:text-fg-strong hover:bg-surface-hover mt-0.5 flex w-full items-center gap-1.5 rounded-lg px-2 py-1.5 text-[12.5px]`,children:[(0,U.jsx)(Pb,{className:`size-3.5`}),` `,t(`newTeam`)]})]})}function he(){return z?(0,U.jsxs)(`div`,{className:`my-2 ml-[18px] flex items-center gap-2 pl-3.5`,children:[(0,U.jsx)(gb,{className:`text-muted-foreground size-3.5 animate-spin`}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[12px]`,children:t(`loadingTeams`)}
74)]}):R?.length?(0,U.jsx)(`div`,{className:`border-border my-1.5 ml-[18px] border-l border-dashed pl-3.5`,children:R.map(e=>{let t=e.id===F;return(0,U.jsxs)(`div`,{className:W(`group grid grid-cols-[10px_1fr_auto] items-center gap-2 rounded-lg px-2 py-1.5`,t?`bg-violet-pale`:`hover:bg-surface-hover`),children:[(0,U.jsx)(`span`,{className:W(`size-1.5 rounded-full`,t?`bg-violet`:`bg-border-strong`)}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>le(e.id),className:W(`min-w-0 truncate text-left text-[12.5px]`,t?`text-violet-dark font-medium`:`text-fg-body`),children:e.name}),t&&(0,U.jsx)(Py,{className:`text-violet size-3.5`})]},e.id)})}):(0,U.jsx)(`div`,{className:`text-fg-hint my-2 ml-[18px] pl-3.5 text-[12px]`,children:t(`noTeams`)})}function ge(e){let n=e.id===r,i=y===e.id,o=e.id===N&&!n,s=e.id===u,c=(e.name||`W`).charAt(0).toUpperCase();return(0,U.jsxs)(`div`,{children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>ce(e.id),className:W(`grid w-full grid-cols-[28px_1fr_auto] items-center gap-2.5 rounded-lg px-2 py-2 text-left`,n?`bg-violet-pale`:o?`bg-surface-alt`:`hover:bg-surface-hover`),children:[(0,U.jsx)(`div`,{className:`bg-violet flex size-[28px] items-center justify-center rounded-[7px] text-[12px] font-semibold text-white`,children:c}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12.5px] font-medium`,children:e.name||`-`}),l&&s&&(0,U.jsx)(`span`,{className:`bg-brand inline-block size-[6px] shrink-0 rounded-[2px]`,title:t(`ownCompanyBadge`)})]}),n&&(0,U.jsx)(`div`,{className:`text-muted-foreground truncate text-[10.5px]`,children:t(`teamCount`,{count:a.length})}),o&&R&&(0,U.jsx)(`div`,{className:`text-muted-foreground truncate text-[10.5px]`,children:t(`teamCount`,{count:R.length})})]}),(0,U.jsx)(Ly,{className:W(`text-fg-hint size-3.5 transition-transform`,i&&`rotate-90`)})]}),i&&n&&me(),i&&o&&he()]},e.id)}return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(hT,{open:p,onOpenChange:te,children:[(0,U.jsx)(gT,{asChild:!0,children:(0,U.jsxs)(`button`,{type:`button`,className:W(`bg-violet-pale mx-2 mt-2 mb-1 grid w-[calc(100%-1rem)] grid-cols-[28px_1fr_16px] items-center gap-2.5 rounded-[10px] border-[0.5px] border-transparent px-3 py-2.5 text-left transition-colors`,`hover:border-violet-light data-[state=open]:border-violet`),children:[(0,U.jsx)(`div`,{className:`bg-violet flex size-[28px] items-center justify-center rounded-[7px] text-[12px] font-semibold text-white`,children:ne}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12.5px] font-semibold`,children:i||`-`}),l&&r===u&&(0,U.jsx)(`span`,{className:`bg-brand inline-block size-[6px] shrink-0 rounded-[2px]`})]}),(0,U.jsx)(`div`,{className:`text-muted-foreground truncate text-[10.5px]`,children:re??t(`teamSuffix`)})]}),(0,U.jsx)(zy,{className:`text-fg-hint size-3.5`})]})}),(0,U.jsxs)(_T,{align:`start`,sideOffset:8,className:`w-[316px] p-0`,children:[(0,U.jsxs)(`div`,{className:`border-divider border-b px-4 pt-3.5 pb-2.5`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong text-[13px] font-semibold`,children:t(`dropdownTitle`)}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-[11.5px]`,children:t(`dropdownSubtitle`)})]}),(0,U.jsx)(`div`,{className:`border-divider border-b px-3 py-2`,children:(0,U.jsxs)(`div`,{className:`grid grid-cols-[16px_1fr_auto] items-center gap-2`,children:[(0,U.jsx)(Bb,{className:`text-fg-hint size-4`}),(0,U.jsx)(`input`,{ref:M,value:_,onChange:e=>v(e.target.value),placeholder:t(`searchPlaceholder`),className:`text-fg-strong placeholder:text-fg-hint bg-transparent py-1 text-[12.5px] outline-none`}),(0,U.jsx)(`kbd`,{className:`text-fg-hint font-mono text-[10px]`,children:`âK`})]})}),(0,U.jsx)(`div`,{className:`max-h-[340px] overflow-y-auto p-1.5`,children:H?l?(0,U.jsx)(`div`,{className:`space-y-0.5`,children:oe.map(e=>ge(e))}):(0,U.jsx)(`div`,{children:ge(c[0]??{id:r,name:i})}):(0,U.jsx)(`div`,{className:`text-fg-hint px-2 py-6 text-center text-[12.5px]`,children:t(`noMatch`,{query:_})})}),(0,U.jsx)(`div`,{className:`border-divider flex gap-1.5 border-t p-2`,children:B?(0,U.jsxs)(`button`,{type:`button`,onClick:ue,className:`bg-violet hover:bg-violet-dark flex w-full items-center justify-center gap-1.5 rounded-md px-3 py-1.5 text-[12px] font-medium text-white transition-colors`,children:[(0,U.jsx)(roe,{className:`size-3.5`}),` `,t(`confirmSwitch`)]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>pe(o),className:`border-border text-fg-body hover:bg-surface-hover hover:text-fg-strong flex flex-1 items-center justify-center gap-1.5 rounded-md border-[0.5px] px-3 py-1.5 text-[12px] font-medium transition-colors`,children:[(0,U.jsx)(rx,{className:`size-3.5`}),` `,t(`addMemberAction`)]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>{m(!1),j(!0)},className:`bg-violet hover:bg-violet-dark flex flex-1 items-center justify-center gap-1.5 rounded-md px-3 py-1.5 text-[12px] font-medium text-white transition-colors`,children:[(0,U.jsx)(Pb,{className:`size-3.5`}
74),` `,t(`createWorkspaceAction`)]})]})})]})]}),(0,U.jsx)(FT,{open:T,onOpenChange:E,workspaceName:i,teams:a,defaultTeamId:D}),(0,U.jsx)(gde,{open:A,onOpenChange:j})]})}function vde({collapsed:e=!1,onToggleCollapsed:t}){let n=X(`layout.appSidebar`),r=iS(),{currentUser:i}=Hw(),a=i?.roles?.includes(`SUPER_ADMIN`)??!1;return(0,U.jsxs)(`aside`,{className:W(`bg-sidebar text-sidebar-foreground border-sidebar-border flex h-full flex-col border-r transition-[width]`,e?`w-[64px]`:`w-[220px]`),"aria-label":n(`groupTestpit`),children:[(0,U.jsx)(bde,{collapsed:e,onToggle:t}),(0,U.jsx)(_de,{collapsed:e}),(0,U.jsx)(que,{className:`flex-1 px-2 py-1`,children:(0,U.jsx)(`nav`,{"aria-label":`Primary`,className:`pb-4`,children:tT.map((t,i)=>{let o=t.items.filter(e=>!e.superAdminOnly||a);return o.length===0?null:(0,U.jsxs)(`div`,{children:[t.showDividerBefore&&(0,U.jsx)(`div`,{className:`bg-sidebar-border/60 mx-2.5 my-1.5 h-px`}),!e&&(0,U.jsxs)(`div`,{className:`text-muted-foreground mt-3.5 mb-1 flex items-center gap-1.5 px-2.5 text-[9px] font-medium tracking-[0.1em] uppercase`,children:[(0,U.jsx)(`span`,{children:n(t.key)}),t.badgeKey&&(0,U.jsx)(`span`,{className:`bg-success-soft text-success-foreground rounded-full px-1.5 py-px text-[8px] font-semibold tracking-wide`,children:n(t.badgeKey)})]}),o.map(n=>(0,U.jsx)(xde,{item:n,active:yde(r,n),collapsed:e},`${t.key}-${n.key}-${n.href}`))]},`${t.key}-${i}`)})})}),(0,U.jsx)(`div`,{className:`border-sidebar-border border-t px-3 py-2.5`,children:(0,U.jsx)(Xue,{collapsed:e})})]})}function RT(e,t){return t===`/`?e===`/`:e===t||e.startsWith(t+`/`)}function yde(e,t){return e?RT(e,t.href)?!0:!t.activePrefixes?.length||tT.some(n=>n.items.some(n=>n!==t&&RT(e,n.href)))?!1:t.activePrefixes.some(t=>RT(e,t)):!1}function bde({collapsed:e,onToggle:t}){return(0,U.jsxs)(`div`,{className:W(`border-sidebar-border bg-sidebar flex h-[50px] flex-shrink-0 items-center border-b`,e?`justify-between px-2`:`gap-2.5 px-3.5`),children:[(0,U.jsx)(Qw,{href:`/analytics`,"aria-label":`Text2Test`,className:`shrink-0`,children:(0,U.jsx)($w,{size:26,showWordmark:!e})}),t&&(0,U.jsx)(`button`,{type:`button`,onClick:t,className:W(`text-muted-foreground hover:text-foreground shrink-0 rounded-md transition-colors`,e?`p-0.5`:`ml-auto p-1`),"aria-label":e?`Expand sidebar`:`Collapse sidebar`,children:(0,U.jsx)(Iy,{className:W(`size-3.5 transition-transform`,e&&`rotate-180`)})})]})}function xde({item:e,active:t,collapsed:n}){let r=X(`layout.appSidebar`),i=e.icon,a=e.level===`sub`;return(0,U.jsx)(dy,{content:n?r(e.key):void 0,side:`right`,sideOffset:8,children:(0,U.jsxs)(Qw,{href:e.href,className:W(`group relative mb-0.5 flex items-center gap-2.5 rounded-lg px-2.5 py-1.5 text-[12px] transition-colors`,a?`pl-[18px] font-normal`:`font-medium`,t?`bg-sidebar-accent text-sidebar-accent-foreground`:`text-muted-foreground hover:text-foreground hover:bg-surface-hover dark:hover:bg-muted`),"aria-current":t?`page`:void 0,children:[t&&(0,U.jsx)(`span`,{className:`bg-brand absolute top-1/2 left-0 h-5 w-[3px] -translate-y-1/2 rounded-r-[3px]`,"aria-hidden":`true`}),(0,U.jsx)(i,{className:W(`shrink-0`,a?`size-3`:`size-3.5`)}),!n&&(0,U.jsx)(`span`,{className:`truncate`,children:r(e.key)})]})})}var zT={"/analytics":{ns:`layout.appSidebar`,key:`groupTestpit`},"/web/overview":{ns:`layout.appSidebar`,key:`navMyTests`},"/web/results":{ns:`layout.appSidebar`,key:`navTestResults`},"/plan":{ns:`layout.appSidebar`,key:`navMyPlans`},"/plan-execution":{ns:`layout.appSidebar`,key:`navPlanResults`},"/data-source":{ns:`layout.appSidebar`,key:`navDataSources`},"/http-request":{ns:`layout.appSidebar`,key:`navHttpRequest`},"/tag":{ns:`layout.appSidebar`,key:`navElementTags`},"/test-tags":{ns:`layout.appSidebar`,key:`navTestTags`},"/scenario-file":{ns:`layout.appSidebar`,key:`navScenarioFiles`},"/usage":{ns:`layout.appSidebar`,key:`navUsage`},"/settings/profiles":{ns:`layout.appSidebar`,key:`navSettingProfiles`},"/settings/vault":{ns:`layout.appSidebar`,key:`navVault`},"/settings/mcp-servers":{ns:`layout.appSidebar`,key:`navMcpServers`},"/web/get-extension":{ns:`layout.appSidebar`,key:`navGetExtension`}};function Sde(e){let t=zT[e];if(t)return{...t,showBack:!1};for(let t of Object.keys(zT))if(e.startsWith(t+`/`))return{...zT[t],showBack:!0};return e.startsWith(`/web/`)?{ns:`layout.appSidebar`,key:`groupWebTest`,showBack:!0}:e.startsWith(`/settings/`)?{ns:`layout.appSidebar`,key:`groupSettings`,showBack:!0}:e.startsWith(`/docs/`)?{ns:`layout.appSidebar`,key:`navDoc`,showBack:!1}
74:{ns:`layout.mobileAppBar`,key:`defaultTitle`,showBack:!1}}var Cde=new Set([`/analytics`]);function wde(){let e=iS(),t=rS(),{ns:n,key:r,showBack:i}=Sde(e),a=X(n),o=X(`layout.mobileAppBar`),s=!Cde.has(e);return!i&&!s?null:(0,U.jsxs)(`header`,{className:`bg-surface border-border flex shrink-0 items-center gap-2.5 border-b-[0.5px] px-4 pt-3.5 pb-3 md:hidden`,children:[i&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>t.back(),className:`text-foreground active:bg-surface-alt -ml-1.5 grid size-[34px] place-items-center rounded-[9px]`,"aria-label":o(`back`),children:(0,U.jsx)(Iy,{className:`size-[22px]`,strokeWidth:2})}),s&&(0,U.jsx)(`h1`,{className:`text-foreground min-w-0 flex-1 truncate text-[18px] font-bold tracking-[-0.02em]`,children:a(r)})]})}var BT=[{id:`tests`,i18nKey:`tests`,icon:coe,href:`/web/results`},{id:`plans`,i18nKey:`plans`,icon:My,href:`/plan-execution`},{id:`profile`,i18nKey:`profile`,icon:ix,href:null}];function Tde(e,t){switch(e){case`home`:return t.startsWith(`/analytics`);case`tests`:return t.startsWith(`/web`);case`plans`:return t.startsWith(`/plan`);default:return!1}}function Ede({onProfileOpen:e}){let t=X(`layout.mobileTabBar`),n=iS();return(0,U.jsx)(`nav`,{className:W(`bg-surface border-border grid h-[calc(var(--mobile-tabbar-h)+env(safe-area-inset-bottom,0px))] shrink-0 border-t-[0.5px] md:hidden`,BT.length===4?`grid-cols-4`:`grid-cols-3`),style:{paddingBottom:`calc(6px + env(safe-area-inset-bottom, 0px))`},"aria-label":t(`label`),children:BT.map(r=>{let i=Tde(r.id,n),a=r.icon,o=W(`flex flex-col items-center gap-[3px] border-0 bg-transparent pt-1.5 pb-1 text-[10px] font-medium tracking-[0.01em] transition-colors duration-[120ms]`,i?`text-primary`:`text-fg-hint`);return r.href?(0,U.jsxs)(Qw,{href:r.href,className:o,"aria-current":i?`page`:void 0,children:[(0,U.jsx)(a,{className:`size-[23px]`,strokeWidth:i?2.1:1.8}),t(r.i18nKey)]},r.id):(0,U.jsxs)(`button`,{type:`button`,className:o,onClick:e,children:[(0,U.jsx)(a,{className:`size-[23px]`,strokeWidth:1.8}),t(r.i18nKey)]},r.id)})})}function VT({...e}){return(0,U.jsx)(Yd,{"data-slot":`sheet`,...e})}function Dde({...e}){return(0,U.jsx)(Zd,{"data-slot":`sheet-portal`,...e})}function Ode({className:e,...t}){return(0,U.jsx)(Qd,{"data-slot":`sheet-overlay`,className:W(`data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs`,e),...t})}function HT({className:e,children:t,side:n=`right`,showCloseButton:r=!0,...i}){return(0,U.jsxs)(Dde,{children:[(0,U.jsx)(Ode,{}),(0,U.jsxs)($d,{"data-slot":`sheet-content`,"data-side":n,className:W(`bg-popover text-popover-foreground data-open:animate-in data-open:fade-in-0 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:animate-out data-closed:fade-out-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=right]:data-closed:slide-out-to-right-10 data-[side=top]:data-closed:slide-out-to-top-10 fixed z-50 flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm`,e),...i,children:[t,r&&(0,U.jsx)(nf,{"data-slot":`sheet-close`,asChild:!0,children:(0,U.jsxs)(Z,{variant:`ghost`,className:`absolute top-3 right-3`,size:`icon-sm`,children:[(0,U.jsx)(ox,{}),(0,U.jsx)(`span`,{className:`sr-only`,children:`Close`})]})})]})]})}function UT({className:e,...t}){return(0,U.jsx)(`div`,{"data-slot":`sheet-header`,className:W(`flex flex-col gap-0.5 p-4`,e),...t})}function WT({className:e,...t}){return(0,U.jsx)(ef,{"data-slot":`sheet-title`,className:W(`font-heading text-foreground text-base font-medium`,e),...t})}function kde({open:e,onOpenChange:t}){let n=X(`layout.userMenu`),{currentUser:r,logout:i}=Hw(),a=r?.username??r?.email??`Guest`,o=r?.email??``,s=a.charAt(0).toUpperCase(),c=r?.roles?.includes(`ADMIN`)??!1;function l(){t(!1)}return(0,U.jsx)(VT,{open:e,onOpenChange:t,children:(0,U.jsxs)(HT,{side:`bottom`,showCloseButton:!1,className:`rounded-t-[22px] px-4 pt-2`,style:{paddingBottom:`calc(20px + env(safe-area-inset-bottom, 0px))`},children:[(0,U.jsx)(`div`,{className:`bg-border-strong mx-auto mt-1.5 mb-3.5 h-1 w-[38px] rounded-full`}),(0,U.jsx)(UT,{className:`mb-1 p-0`,children:(0,U.jsx)(WT,{className:`sr-only`,children:n(`profile`)})}),(0,U.jsxs)(`div`,{className:`border-divider mb-1.5 flex items-center gap-3.5 border-b pb-3.5`,children:[(0,U.jsx)(nT,{className:`size-[46px]`,children:(0,U.jsx)(rT,{className:`bg-violet-pale text-violet text-[16px] font-semibold`,children:s})}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`div`,{className:`text-foreground truncate text-[15.5px] font-bold tracking-[-0.01em]`,children:a}),o&&(0,U.jsx)(`div`,{className:`text-muted-foreground mt-0.5 truncate text-[12.5px]`,children:o})]}),c&&(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet shrink-0 rounded-full px-2.5 py-1 text-[11.5px] font-semibold`,children:n(`ownerBadge`)})]}),(0,U.jsx)(`nav`,{className:`flex flex-col`,children:(0,U.jsxs)(`a`,{href:`mailto:[email protected]`,onClick:l,className:`border-divider text-fg-body active:bg-surface-alt flex items-center gap-3.5 border-b px-1.5 py-3.5 text-[14px]`,children:[(0,U.jsx)(Gy,{className:`text-fg-body size-[18px]`}),(0,U.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:n(`help`)})]})}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>{l(),i()},className:`text-status-failed-fg active:bg-surface-alt flex w-full items-center gap-3.5 px-1.5 py-3.5 text-[14px] font-medium`,children:[(0,U.jsx)(yb,{className:`size-[18px]`}),n(`signOut`)]})]})})}var GT=`t2t_mobile_welcome_v1`,Ade=[{icon:My,key:`viewTestpit`},{icon:Mb,key:`runTests`},{icon:ob,key:`viewReports`}];
74function jde(){let e=X(`layout.welcomeModal`),[t,n]=(0,O.useState)(()=>typeof window>`u`||window.innerWidth>=768?!1:!localStorage.getItem(GT));function r(){localStorage.setItem(GT,`1`),n(!1)}return(0,U.jsx)(xT,{open:t,onOpenChange:e=>{e||r()},children:(0,U.jsxs)(ST,{showCloseButton:!1,className:`max-w-[380px] gap-0 rounded-[20px] p-[26px_22px_22px] md:hidden`,children:[(0,U.jsx)(`div`,{className:`mb-4 flex justify-center`,children:(0,U.jsx)($w,{size:44,showWordmark:!1})}),(0,U.jsx)(TT,{className:`text-fg-strong text-center font-sans text-[21px] leading-normal font-bold tracking-[-0.02em]`,children:e(`title`)}),(0,U.jsx)(ET,{className:`mt-2 mb-5 text-center text-[13px] leading-relaxed`,children:e(`subtitle`)}),(0,U.jsx)(`div`,{className:`mb-[18px] flex flex-col gap-[14px]`,children:Ade.map(t=>{let n=t.icon;return(0,U.jsxs)(`div`,{className:`flex items-start gap-[13px]`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet grid size-[38px] shrink-0 place-items-center rounded-[11px]`,children:(0,U.jsx)(n,{className:`size-[19px]`,strokeWidth:1.9})}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong text-[14px] font-semibold`,children:e(`${t.key}Title`)}),(0,U.jsx)(`div`,{className:`text-muted-foreground mt-0.5 text-[12px] leading-relaxed`,children:e(`${t.key}Desc`)})]})]},t.key)})}),(0,U.jsx)(`p`,{className:`text-fg-hint border-divider mb-[18px] border-t-[0.5px] pt-[14px] text-center text-[11.5px] leading-relaxed`,children:e(`note`)}),(0,U.jsx)(`button`,{type:`button`,onClick:r,className:`bg-primary hover:bg-primary/90 h-[46px] w-full rounded-xl text-[14.5px] font-semibold text-white transition-colors`,children:e(`cta`)})]})})}function Mde({children:e}){let t=X(`layout.appShell`),[n,r]=(0,O.useState)(!1),[i,a]=(0,O.useState)(!1);return(0,U.jsxs)(`div`,{className:`bg-background text-foreground flex h-dvh overflow-hidden`,children:[(0,U.jsx)(`div`,{className:`hidden md:flex`,children:(0,U.jsx)(vde,{collapsed:n,onToggleCollapsed:()=>r(e=>!e)})}),(0,U.jsxs)(`div`,{className:`relative flex min-w-0 flex-1 flex-col`,children:[(0,U.jsx)(`a`,{href:`#main-content`,className:`bg-brand focus:ring-ring sr-only focus:not-sr-only focus:fixed focus:top-2 focus:left-2 focus:z-50 focus:rounded-md focus:px-3 focus:py-1.5 focus:text-[12px] focus:text-white focus:ring-2 focus:outline-none`,children:t(`skipToContent`)}),(0,U.jsx)(wde,{}),(0,U.jsx)(`main`,{id:`main-content`,className:`flex-1 overflow-auto p-4 md:p-6`,children:e}),(0,U.jsx)(Ede,{onProfileOpen:()=>a(!0)})]}),(0,U.jsx)(kde,{open:i,onOpenChange:a}),(0,U.jsx)(jde,{})]})}var Nde=125e3,KT=new class{constructor(){this.started=!1,this.loaded=!1,this.ready=!1,this.listeners=new Set,this.pending=new Map,this.contextProvider=null,this.pingTimer=null,this.lastContextKey=null,this.onLoaded=()=>{let e=!this.loaded;e&&(this.loaded=!0,this.emit(),this.post({type:`T2T_IS_EXECUTOR_READY`}));let t=this.contextProvider?.();t&&this.sendContext(t,e)},this.onReady=e=>{let t=!!e.detail?.ready;t!==this.ready&&(this.ready=t,this.emit())},this.onContextRequest=()=>{let e=this.contextProvider?.();e&&this.sendContext(e,!0)},this.onMessage=e=>
74{if(typeof e.data!=`string`)return;let t;try{t=JSON.parse(e.data)}catch{return}if(t.type===`T2T_TOOL_RESPONSE`&&t.requestId){let e=this.pending.get(t.requestId);e&&(clearTimeout(e.timer),this.pending.delete(t.requestId),e.resolve({result:t.result,error:t.error}))}},this.ping=()=>{this.post({type:`T2T_IS_EXECUTOR_LOADED`}),this.post({type:`T2T_IS_EXECUTOR_READY`})}}start(){this.started||typeof window>`u`||(this.started=!0,window.addEventListener(`T2T_EXECUTOR_LOADED`,this.onLoaded),window.addEventListener(`T2T_EXECUTOR_READY`,this.onReady),window.addEventListener(`T2T_REQUEST_CONTEXT_FROM_CONTENT_TO_PAGE`,this.onContextRequest),window.addEventListener(`message`,this.onMessage),this.ping(),this.pingTimer=setInterval(this.ping,3e3))}subscribe(e){return this.start(),this.listeners.add(e),()=>this.listeners.delete(e)}isLoaded(){return this.loaded}isReady(){return this.ready}setContextProvider(e){this.contextProvider=e}sendContext(e,t=!1){let n=`${e.extensionApiKey}|${e.activeCompanyID??``}|${e.activeTeamID??``}`;!t&&n===this.lastContextKey||(this.lastContextKey=n,this.post({type:`T2T_ADD_CONTEXT`,extensionApiKey:e.extensionApiKey,activeCompanyID:e.activeCompanyID,activeTeamID:e.activeTeamID}))}checkReady(e=1500){return typeof window>`u`?Promise.resolve(!1):new Promise(t=>{let n=!1,r=e=>{n=!0,window.removeEventListener(`T2T_EXECUTOR_READY`,r),t(!!e.detail?.ready)};window.addEventListener(`T2T_EXECUTOR_READY`,r),this.post({type:`T2T_IS_EXECUTOR_READY`}),setTimeout(()=>{n||(window.removeEventListener(`T2T_EXECUTOR_READY`,r),t(!1))},e)})}requestTool(e,t=Nde){return typeof window>`u`?Promise.resolve({error:`Extension unavailable (no window)`}):(this.start(),new Promise(n=>{let r=setTimeout(()=>{this.pending.delete(e.requestId),n({error:`Extension tool '${e.toolName}' timed out`})},t);this.pending.set(e.requestId,{resolve:n,timer:r}),this.post({type:`T2T_TOOL_REQUEST`,requestId:e.requestId,sessionId:e.sessionId,toolName:e.toolName,parameters:e.parameters})}))}setAgentTurn(e){this.post({type:`T2T_AGENT_TURN`,active:e})}warmUpToStep(e){this.post({type:`T2T_START_MESSAGE`,...e,devMode:!0,warmup:!0})}startFullTest(e){this.post({type:`T2T_START_MESSAGE`,...e,warmup:!1,restoreVars:!1})}startSequenceRun(e){this.post({type:`T2T_START_MESSAGE`,...e,warmup:!1,restoreVars:!0})}stopRun(){this.post({type:`T2T_STOP_MESSAGE`})}async waitUntilReady(e=25e3,t=800){let n=Date.now()+e;for(;Date.now()<n;){if(await this.checkReady())return!0;await new Promise(e=>setTimeout(e,t))}return!1}post(e){typeof window>`u`||window.postMessage(JSON.stringify(e),window.location.origin)}emit(){for(let e of this.listeners)e()}_resetForTests(){typeof window<`u`&&(window.removeEventListener(`T2T_EXECUTOR_LOADED`,this.onLoaded),window.removeEventListener(`T2T_EXECUTOR_READY`,this.onReady),window.removeEventListener(`T2T_REQUEST_CONTEXT_FROM_CONTENT_TO_PAGE`,this.onContextRequest),window.removeEventListener(`message`,this.onMessage)),this.pingTimer&&clearInterval(this.pingTimer),this.pingTimer=null,this.pending.forEach(e=>clearTimeout(e.timer)),this.pending.clear(),this.listeners.clear(),this.contextProvider=null,this.started=!1,this.loaded=!1,this.ready=!1,this.lastContextKey=null}},Pde=new class{async mint(){let{data:e}=await J.get(`/v1/api-keys/internal`);return e}},Fde=3e5;function Ide(){let{activeCompanyID:e,activeTeamID:t}=NT(),n=(0,O.useRef)(null);(0,O.useEffect)(()=>{if(typeof window>`u`||!e)return;let r=!1,i,a=e=>{i=setTimeout(o,e)};async function o(){try{let{apiKey:i,expiresAt:o}=await Pde.mint();if(r)return;n.current=i,KT.sendContext({extensionApiKey:i,activeCompanyID:e,activeTeamID:t}),a(Math.max(6e4,new Date(o).getTime()-Date.now()-Fde))}catch{r||a(6e4)}}return KT.setContextProvider(()=>n.current?{extensionApiKey:n.current,activeCompanyID:e,activeTeamID:t}:null),o(),()=>{r=!0,i&&clearTimeout(i),KT.setContextProvider(null)}},[e,t])}function Lde(){return Ide(),null}function qT(e,t){return new Date(e).toLocaleDateString(nS.language,t)}function JT(e){return new Intl.DateTimeFormat(nS.language,{year:`numeric`,month:`long`,day:`numeric`}).formatToParts(new Date(e)).filter(e=>e.type===`day`||e.type===`month`||e.type===`year`).map(e=>e.value).join(` `)}
74function YT(e){return new Date(e).toLocaleString(nS.language)}function XT(e){return new Date(e).toLocaleDateString(nS.language,{year:`numeric`,month:`short`,day:`numeric`})}function ZT(e,t){return e.toLocaleString(nS.language,t)}function Rde(e,t=Date.now()){if(!e)return``;let n=new Intl.RelativeTimeFormat(nS.language,{numeric:`auto`}),r=Math.floor(Math.max(0,t-e)/6e4);if(r<1)return n.format(0,`second`);if(r<60)return n.format(-r,`minute`);let i=Math.floor(r/60);if(i<24)return n.format(-i,`hour`);let a=Math.floor(i/24);if(a<30)return n.format(-a,`day`);let o=Math.floor(a/30);return o<12?n.format(-o,`month`):n.format(-Math.floor(o/12),`year`)}var zde=new Map([[`BALANCE_INSUFFICIENT`,`reasonBalanceInsufficient`],[`STOPPED_DUE_TO_BALANCE`,`reasonStopped`],[`NO_ACTIVE_PACKAGE`,`reasonNoPackage`],[`FEATURE_NOT_ALLOWED`,`reasonFeatureNotAllowed`]]);function Bde(){let e=X(`pages.usage.paymentRequired`),t=rS(),n=iS(),[r,i]=(0,O.useState)(null);(0,O.useEffect)(()=>Iue(i),[]);let a=r?.availability?.reason??null,o=r?.availability?.balanceTokens,s=a===`STOPPED_DUE_TO_BALANCE`&&(o??0)>0,c=s?`reasonSubscriptionInactive`:a&&zde.get(a)||`reasonGeneric`,l=a===`NO_ACTIVE_PACKAGE`||s?`ctaChoosePlan`:`ctaUpgrade`,u=r?.origin===`compile`;function d(){i(null);let e=n.startsWith(`/usage`)?null:n;t.push(e?`/usage?returnTo=${encodeURIComponent(e)}`:`/usage`)}return(0,U.jsx)(xT,{open:r!=null,onOpenChange:e=>!e&&i(null),children:(0,U.jsxs)(ST,{children:[(0,U.jsxs)(CT,{children:[(0,U.jsxs)(TT,{className:`flex items-center gap-2`,children:[(0,U.jsx)(Xy,{className:`text-primary size-4`}),e(`title`)]}),(0,U.jsx)(ET,{children:e(c)})]}),u&&(0,U.jsx)(`p`,{className:`text-fg-strong text-[12.5px] leading-relaxed`,children:e(`draftSavedNote`)}),o!=null&&(0,U.jsxs)(`div`,{className:`border-border bg-surface-alt rounded-lg border-[0.5px] px-3 py-2.5 text-[12.5px]`,children:[(0,U.jsxs)(`span`,{className:`text-muted-foreground`,children:[e(`balanceLabel`),`: `]}),(0,U.jsx)(`span`,{className:`text-fg-strong font-semibold`,children:ZT(o)}),` `,(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:e(`tokens`)})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:()=>i(null),children:e(`dismiss`)}),(0,U.jsx)(Z,{size:`sm`,onClick:d,children:e(l)})]})]})})}function QT(){let e=X(`layout.errorBoundary`),t=Pr(),n=et(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:void 0;return(0,U.jsx)(`div`,{className:`bg-background text-foreground grid min-h-dvh place-items-center p-6`,children:(0,U.jsxs)(`div`,{className:`flex w-full max-w-[420px] flex-col items-center text-center`,children:[(0,U.jsx)(`div`,{className:`bg-status-failed-bg text-status-failed mb-4 grid size-12 place-items-center rounded-full`,children:(0,U.jsx)(nx,{className:`size-6`})}),(0,U.jsx)(`h1`,{className:`text-fg-strong font-display text-[22px] font-semibold`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-2 text-[13px]`,children:e(`desc`)}),n&&(0,U.jsx)(`p`,{className:`text-fg-hint bg-surface-alt border-border mt-3 max-w-full truncate rounded-md border-[0.5px] px-3 py-1.5 font-mono text-[11px]`,children:n}),(0,U.jsxs)(`div`,{className:`mt-6 flex items-center gap-2`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>window.location.reload(),className:`bg-primary hover:bg-primary/90 text-primary-foreground inline-flex items-center gap-1.5 rounded-lg px-4 py-2 text-[12.5px] font-semibold`,children:[(0,U.jsx)(Loe,{className:`size-3.5`}),e(`reload`)]}),(0,U.jsx)(Qw,{href:`/analytics`,className:`border-border text-fg-body hover:bg-surface-hover inline-flex items-center rounded-lg border-[0.5px] px-4 py-2 text-[12.5px] font-medium`,children:e(`home`)})]})]})})}var Vde=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdate
74Capture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function $T(e){return typeof e==`string`&&Vde.includes(e)}var Hde=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function eE(e){return typeof e==`string`&&Hde.has(e)}function tE(e){return typeof e==`string`&&e.startsWith(`data-`)}function nE(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(eE(n)||tE(n))&&(t[n]=e[n]);return t}function rE(e){if(e==null)return null;if((0,O.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return nE(t)}return typeof e==`object`&&!Array.isArray(e)?nE(e):null}function iE(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(eE(n)||tE(n)||$T(n))&&(t[n]=e[n]);return t}function Ude(e){return e==null?null:(0,O.isValidElement)(e)?iE(e.props):typeof e==`object`&&!Array.isArray(e)?iE(e):null}var Wde=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function aE(){return aE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aE.apply(null,arguments)}function Gde(e,t){if(e==null)return{};var n,r,i=Kde(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Kde(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var oE=(0,O.forwardRef)((e,t)=>{var{children:n,width:r,height:i,viewBox:a,className:o,style:s,title:c,desc:l}=e,u=Gde(e,Wde),d=a||{width:r,height:i,x:0,y:0},f=xv(`recharts-surface`,o);return O.createElement(`svg`,aE({},iE(u),{className:f,width:r,height:i,style:s,viewBox:`${d.x} ${d.y} ${d.width} ${d.height}`,ref:t}),O.createElement(`title`,null,c),O.createElement(`desc`,null,l),n)}),qde=[`children`,`className`];function sE(){return sE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sE.apply(null,arguments)}function Jde(e,t){if(e==null)return{};var n,r,i=Yde(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Yde(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var cE=O.forwardRef((e,t)=>
74{var{children:n,className:r}=e,i=Jde(e,qde),a=xv(`recharts-layer`,r);return O.createElement(`g`,sE({className:a},iE(i),{ref:t}),n)}),Xde=(0,O.createContext)(null);function lE(e){return function(){return e}}var uE=Math.cos,dE=Math.sin,fE=Math.sqrt,pE=Math.PI;pE/2;var mE=2*pE,hE=Math.PI,gE=2*hE,_E=1e-6,Zde=gE-_E;function vE(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Qde(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return vE;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var yE=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?vE:Qde(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>_E)if(!(Math.abs(u*s-c*l)>_E)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((hE-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>_E&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>_E||Math.abs(this._y1-l)>_E)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%gE+gE),d>Zde?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>_E&&this._append`A${n},${n},0,${+(d>=hE)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};yE.prototype;function bE(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new yE(t)}Array.prototype.slice;function xE(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function SE(e){this._context=e}SE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function CE(e){return new SE(e)}function wE(e){return e[0]}function TE(e){return e[1]}function EE(e,t){var n=lE(!0),r=null,i=CE,a=null,o=bE(s);e=typeof e==`function`?e:e===void 0?wE:lE(e),t=typeof t==`function`?t:t===void 0?TE:lE(t);function s(s){var c,l=(s=xE(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:lE(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:lE(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:lE(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function DE(e,t,n){var r=null,i=lE(!0),a=null,o=CE,s=null,c=bE(l);e=typeof e==`function`?e:e===void 0?wE:lE(+e),t=typeof t==`function`?t:lE(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?TE:lE(+n);function l(l){var u,d,f,p=(l=xE(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h)if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return EE().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:lE(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:lE(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:lE(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:lE(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:lE(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:lE(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:lE(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var OE=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function $de(e){return new OE(e,!0)}function efe(e){return new OE(e,!1)}var kE={draw(e,t){let n=fE(t/pE);e.moveTo(n,0),e.arc(0,0,n,0,mE)}},tfe={draw(e,t){let n=fE(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},AE=fE(1/3),nfe=AE*2,rfe={draw(e,t){let n=fE(t/nfe),r=n*AE;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},ife={draw(e,t){let n=fE(t),r=-n/2;e.rect(r,r,n,n)}},afe=.8908130915292852,jE=dE(pE/10)/dE(7*pE/10),ofe=dE(mE/10)*jE,sfe=-uE(mE/10)*jE,cfe={draw(e,t){let n=fE(t*afe),r=ofe*n,i=sfe*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){let a=mE*t/5,o=uE(a),s=dE(a);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}},ME=fE(3),lfe={draw(e,t){let n=-fE(t/(ME*3));e.moveTo(0,n*2),e.lineTo(-ME*n,-n),e.lineTo(ME*n,-n),e.closePath()}},NE=-.5,PE=fE(3)/2,FE=1/fE(12),ufe=(FE/2+1)*3,dfe={draw(e,t){let n=fE(t/ufe),r=n/2,i=n*FE,a=r,o=n*FE+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(NE*r-PE*i,PE*r+NE*i),e.lineTo(NE*a-PE*o,PE*a+NE*o),e.lineTo(NE*s-PE*c,PE*s+NE*c),e.lineTo(NE*r+PE*i,NE*i-PE*r),e.lineTo(NE*a+PE*o,NE*o-PE*a),e.lineTo(NE*s+PE*c,NE*c-PE*s),e.closePath()}};function ffe(e,t){let n=null,r=bE(i);e=typeof e==`function`?e:lE(e||kE),t=typeof t==`function`?t:lE(t===void 0?64:+t);function i(){let i;if(n||=i=r(),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+``||null}return i.type=function(t){return arguments.length?(e=typeof t==`function`?t:lE(t),i):e},i.size=function(e){return arguments.length?(t=typeof e==`function`?e:lE(+e),i):t}
74,i.context=function(e){return arguments.length?(n=e??null,i):n},i}function IE(){}function LE(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function RE(e){this._context=e}RE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:LE(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:LE(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function pfe(e){return new RE(e)}function zE(e){this._context=e}zE.prototype={areaStart:IE,areaEnd:IE,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:LE(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function mfe(e){return new zE(e)}function BE(e){this._context=e}BE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:LE(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function hfe(e){return new BE(e)}function VE(e){this._context=e}VE.prototype={areaStart:IE,areaEnd:IE,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function gfe(e){return new VE(e)}function HE(e){return e<0?-1:1}function UE(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(HE(a)+HE(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function WE(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function GE(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function KE(e){this._context=e}KE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:GE(this,this._t0,WE(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,GE(this,WE(this,n=UE(this,e,t)),n);break;default:GE(this,this._t0,n=UE(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function qE(e){this._context=new JE(e)}(qE.prototype=Object.create(KE.prototype)).point=function(e,t){KE.prototype.point.call(this,t,e)};function JE(e){this._context=e}JE.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function _fe(e){return new KE(e)}function vfe(e){return new qE(e)}function YE(e){this._context=e}YE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=XE(e),i=XE(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function XE(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function yfe(e){return new YE(e)}function ZE(e,t){this._context=e,this._t=t}ZE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function bfe(e){return new ZE(e,.5)}function xfe(e){return new ZE(e,0)}function Sfe(e){return new ZE(e,1)}function QE(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function $E(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function Cfe(e,t){return e[t]}function wfe(e){let t=[];return t.key=e,t}function Tfe(){var e=lE([]),t=$E,n=QE,r=Cfe;function i(i){var a=Array.from(e.apply(this,arguments),wfe),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=xE(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:lE(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:lE(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?$E:typeof e==`function`?e:lE(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??QE,i):n},i}function Efe(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}QE(e,t)}}function Dfe(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}QE(e,t)}}function Ofe(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,QE(e,t)}}var kfe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e===`__proto__`}e.isUnsafeProperty=t})),Afe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e.includes(`.`)||e.includes(`[`)||e.includes(`]`)}}e.isDeepKey=t})),eD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`
74:String(e)}e.toKey=t})),jfe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){if(e==null)return``;if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(t).join(`,`);let n=String(e);return n===`0`&&Object.is(Number(e),-0)?`-0`:n}e.toString=t})),tD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=jfe(),n=eD();function r(e){if(Array.isArray(e))return e.map(n.toKey);if(typeof e==`symbol`)return[e];e=t.toString(e);let r=[],i=e.length;if(i===0)return r;let a=0,o=``,s=``,c=!1;for(e.charCodeAt(0)===46&&(r.push(``),a++);a<i;){let t=e[a];s?t===`\\`&&a+1<i?(a++,o+=e[a]):t===s?s=``:o+=t:c?t===`"`||t===`'`?s=t:t===`]`?(c=!1,r.push(o),o=``):o+=t:t===`[`?(c=!0,o&&=(r.push(o),``)):t===`.`?o&&=(r.push(o),``):o+=t,a++}return o&&r.push(o),r}e.toPath=r})),nD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=kfe(),n=Afe(),r=eD(),i=tD();function a(e,s,c){if(e==null)return c;switch(typeof s){case`string`:{if(t.isUnsafeProperty(s))return c;let r=e[s];return r===void 0?n.isDeepKey(s)?a(e,i.toPath(s),c):c:r}case`number`:case`symbol`:{typeof s==`number`&&(s=r.toKey(s));let t=e[s];return t===void 0?c:t}default:{if(Array.isArray(s))return o(e,s,c);if(s=Object.is(s?.valueOf(),-0)?`-0`:String(s),t.isUnsafeProperty(s))return c;let n=e[s];return n===void 0?c:n}}}function o(e,n,r){if(n.length===0)return r;let i=e;for(let e=0;e<n.length;e++){if(i==null||t.isUnsafeProperty(n[e]))return r;i=i[n[e]]}return i===void 0?r:i}e.get=a})),Mfe=o(((e,t)=>{t.exports=nD().get})),Nfe=4;function rD(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:Nfe),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function iD(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+rD(i)+n},``)}var aD=l(Mfe()),oD=e=>e===0?0:e>0?1:-1,sD=e=>typeof e==`number`&&e!=+e,cD=e=>typeof e==`string`&&e.indexOf(`%`)===e.length-1,lD=e=>(typeof e==`number`||e instanceof Number)&&!sD(e),uD=e=>lD(e)||typeof e==`string`,Pfe=0,dD=e=>{var t=++Pfe;return`${e||``}${t}`},fD=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!lD(e)&&typeof e!=`string`)return n;var i;if(cD(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return sD(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},Ffe=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++)if(!n[String(e[r])])n[String(e[r])]=!0;else return!0;return!1};function pD(e,t,n){return lD(e)&&lD(t)?rD(e+n*(t-e)):t}function Ife(e,t,n){if(!(!e||!e.length))return e.find(e=>e&&(typeof t==`function`?t(e):(0,aD.default)(e,t))===n)}var mD=e=>e==null,hD=e=>mD(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function gD(e){return e!=null}function _D(){}var Lfe=[`type`,`size`,`sizeType`];function vD(){return vD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vD.apply(null,arguments)}function Rfe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zfe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Rfe(Object(n),!0).forEach(function(t){Bfe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rfe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bfe(e,t,n){return(t=Vfe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vfe(e){var t=Hfe(e,`string`);return typeof t==`symbol`?t:t+``}function Hfe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ufe(e,t){if(e==null)return{};var n,r,i=Wfe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Wfe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Gfe={symbolCircle:kE,symbolCross:tfe,symbolDiamond:rfe,symbolSquare:ife,symbolStar:cfe,symbolTriangle:lfe,symbolWye:dfe},Kfe=Math.PI/180,qfe=e=>Gfe[`symbol${hD(e)}
74`]||kE,Jfe=(e,t,n)=>{if(t===`area`)return e;switch(n){case`cross`:return 5*e*e/9;case`diamond`:return .5*e*e/Math.sqrt(3);case`square`:return e*e;case`star`:var r=18*Kfe;return 1.25*e*e*(Math.tan(r)-Math.tan(r*2)*Math.tan(r)**2);case`triangle`:return Math.sqrt(3)*e*e/4;case`wye`:return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},Yfe=(e,t)=>{Gfe[`symbol${hD(e)}`]=t},Xfe=e=>{var{type:t=`circle`,size:n=64,sizeType:r=`area`}=e,i=zfe(zfe({},Ufe(e,Lfe)),{},{type:t,size:n,sizeType:r}),a=`circle`;typeof t==`string`&&(a=t);var o=()=>{var e=qfe(a),t=ffe().type(e).size(Jfe(n,r,a))();if(t!==null)return t},{className:s,cx:c,cy:l}=i,u=iE(i);return lD(c)&&lD(l)&&lD(n)?O.createElement(`path`,vD({},u,{className:xv(`recharts-symbols`,s),transform:`translate(${c}, ${l})`,d:o()})):null};Xfe.registerSymbol=Yfe;var Zfe=e=>`radius`in e&&`startAngle`in e&&`endAngle`in e,yD=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,O.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{$T(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},Qfe=(e,t,n)=>r=>(e(t,n,r),null),$fe=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];$T(i)&&typeof a==`function`&&(r||={},r[i]=Qfe(a,t,n))}),r};function epe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tpe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?epe(Object(n),!0).forEach(function(t){npe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):epe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function npe(e,t,n){return(t=rpe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rpe(e){var t=ipe(e,`string`);return typeof t==`symbol`?t:t+``}function ipe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function bD(e,t){var n=tpe({},e),r=t;return Object.keys(t).reduce((e,t)=>(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}var ape=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i,r,e);n.has(a)||n.set(a,i)}return Array.from(n.values())}e.uniqBy=t})),ope=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){return function(...n){return e.apply(this,n.slice(0,t))}}e.ary=t})),spe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e}e.identity=t})),cpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Number.isSafeInteger(e)&&e>=0}e.isLength=t})),lpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=cpe();function n(e){return e!=null&&typeof e!=`function`&&t.isLength(e.length)}e.isArrayLike=n})),upe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`object`&&!!e}e.isObjectLike=t})),dpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=lpe(),n=upe();function r(e){return n.isObjectLike(e)&&t.isArrayLike(e)}e.isArrayLikeObject=r})),fpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=nD();function n(e){return function(n){return t.get(n,e)}}e.property=n})),ppe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}e.isObject=t})),mpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null||typeof e!=`object`&&typeof e!=`function`}e.isPrimitive=t})),hpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}e.isEqualsSameValueZero=t})),gpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ppe(),n=mpe(),r=hpe();function i(e,t,n){return typeof n==`function`?a(e,t,function e(t,r,i,o,s,c){let l=n(t,r,i,o,s,c);return l===void 0?a(t,r,e,c):!!l},new Map):i(e,t,()=>void 0)}function a(e,n,i,s){if(n===e)return!0;switch(typeof n){case`object`:return o(e,n,i,s);case`function`:return Object.keys(n).length>0?a(e,{...n},i,s):r.isEqualsSameValueZero(e,n);default:return t.isObject(e)?typeof n!=`string`||n===``:r.isEqualsSameValueZero(e,n)}}function o(e,t,r,i){if(t==null)return!0;
74if(Array.isArray(t))return c(e,t,r,i);if(t instanceof Map)return s(e,t,r,i);if(t instanceof Set)return l(e,t,r,i);let a=Object.keys(t);if(e==null||n.isPrimitive(e))return a.length===0;if(a.length===0)return!0;if(i?.has(t))return i.get(t)===e;i?.set(t,e);try{for(let o=0;o<a.length;o++){let s=a[o];if(!n.isPrimitive(e)&&!(s in e)||t[s]===void 0&&e[s]!==void 0||t[s]===null&&e[s]!==null||!r(e[s],t[s],s,e,t,i))return!1}return!0}finally{i?.delete(t)}}function s(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries())if(n(e.get(i),a,i,e,t,r)===!1)return!1;return!0}function c(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1;if(n(l,o,a,e,t,r)&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function l(e,t,n,r){return t.size===0||e instanceof Set&&c([...e],[...t],n,r)}e.isMatchWith=i,e.isSetMatch=l})),xD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=gpe();function n(e,n){return t.isMatchWith(e,n,()=>void 0)}e.isMatch=n})),_pe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}e.getSymbols=t})),SD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}e.getTag=t})),CD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.argumentsTag=`[object Arguments]`,e.arrayBufferTag=`[object ArrayBuffer]`,e.arrayTag=`[object Array]`,e.bigInt64ArrayTag=`[object BigInt64Array]`,e.bigUint64ArrayTag=`[object BigUint64Array]`,e.booleanTag=`[object Boolean]`,e.dataViewTag=`[object DataView]`,e.dateTag=`[object Date]`,e.errorTag=`[object Error]`,e.float32ArrayTag=`[object Float32Array]`,e.float64ArrayTag=`[object Float64Array]`,e.functionTag=`[object Function]`,e.int16ArrayTag=`[object Int16Array]`,e.int32ArrayTag=`[object Int32Array]`,e.int8ArrayTag=`[object Int8Array]`,e.mapTag=`[object Map]`,e.numberTag=`[object Number]`,e.objectTag=`[object Object]`,e.regexpTag=`[object RegExp]`,e.setTag=`[object Set]`,e.stringTag=`[object String]`,e.symbolTag=`[object Symbol]`,e.uint16ArrayTag=`[object Uint16Array]`,e.uint32ArrayTag=`[object Uint32Array]`,e.uint8ArrayTag=`[object Uint8Array]`,e.uint8ClampedArrayTag=`[object Uint8ClampedArray]`})),vpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.globalThis=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})()||Function(`return this`)()})),ype=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=vpe();function n(e){return t.globalThis.Buffer!==void 0&&t.globalThis.Buffer.isBuffer(e)}e.isBuffer=n})),bpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}e.isTypedArray=t})),wD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=_pe(),n=SD(),r=CD(),i=ype(),a=mpe(),o=bpe();function s(e,t){return c(e,void 0,e,new Map,t)}function c(e,t,n,r=new Map,s=void 0){let d=s?.(e,t,n,r);if(d!==void 0)return d;if(a.isPrimitive(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=c(e[i],i,n,r,s);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[i,a]of e)t.set(i,c(a,i,n,r,s));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let i of e)t.add(c(i,void 0,n,r,s));return t}if(i.isBuffer(e))return e.subarray();if(o.isTypedArray(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=c(e[i],i,n,r,s);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),l(t,e,n,r,s),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),l(t,e,n,r,s),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),l(t,e,n,r,s),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,l(t,e,n,r,s),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),l(t,e,n,r,s),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),l(t,e,n,r,s),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),l(t,e,n,r,s),t}if(typeof e==`object`&&u(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),l(t,e,n,r,s),t}return e}function l(e,n,r=e,i,a){let o=[...Object.keys(n),...t.getSymbols(n)];for(let t=0;t<o.length;t++){let s=o[t],l=Object.getOwnPropertyDescriptor(e,s);(l==null||l.writable)&&(e[s]=c(n[s],s,r,i,a))}}function u(e){switch(n.getTag(e)){case r.argumentsTag:case r.arrayTag:case r.arrayBufferTag:case r.dataViewTag:case r.booleanTag:case r.dateTag:case r.float32ArrayTag:case r.float64ArrayTag:case r.int8ArrayTag:case r.int16ArrayTag:case r.int32ArrayTag:case r.mapTag:case r.numberTag:case r.objectTag:case r.regexpTag:case r.setTag:case r.stringTag:case r.symbolTag:case r.uint8ArrayTag:case r.uint8ClampedArrayTag:case r.uint16ArrayTag:case r.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=s,e.cloneDeepWithImpl=c,e.copyProperties=l})),xpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=wD();function n(e){return t.cloneDeepWithImpl(e,void 0,e,new Map,void 0)}e.cloneDeep=n})),Spe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=xD(),n=xpe();function r(e){return e=n.cloneDeep(e),n=>t.isMatch(n,e)}e.matches=r})),Cpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=wD(),n=SD(),r=CD();function i(e,i){return t.cloneDeepWith(e,(a,o,s,c)=>{let l=i?.(a,o,s,c);if(l!==void 0)return l;if(typeof e==`object`){if(n.getTag(e)===r.objectTag&&typeof e.constructor!=`function`){let n={};return c.set(e,n),t.copyProperties(n,e,s,c),n}switch(Object.prototype.toString.call(e)){case r.numberTag:case r.stringTag:case r.booleanTag:{let n=new e.constructor(e?.valueOf());return t.copyProperties(n,e),n}case r.argumentsTag:{let n={};return t.copyProperties(n,e),n.length=e.length,n[Symbol.iterator]=e[Symbol.iterator],n}default:return}}})}e.cloneDeepWith=i})),wpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Cpe();function n(e){return t.cloneDeepWith(e)}e.cloneDeep=n})),TD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=/^(?:0|[1-9]\d*)$/;function n(e,n=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<n;case`symbol`:return!1;case`string`:return t.test(e)}}e.isIndex=n})),Tpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=SD();function n(e){return typeof e==`object`&&!!e&&t.getTag(e)===`[object Arguments]`}e.isArguments=n})),Epe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Afe(),n=TD(),r=Tpe(),i=tD();function a(e,a){let o;if(o=Array.isArray(a)?a:typeof a==`string`&&t.isDeepKey(a)&&e?.[a]==null?i.toPath(a):[a],o.length===0)return!1;let s=e;for(let e=0;e<o.length;
74e++){let t=o[e];if((s==null||!Object.hasOwn(s,t))&&!((Array.isArray(s)||r.isArguments(s))&&n.isIndex(t)&&t<s.length))return!1;s=s[t]}return!0}e.has=a})),Dpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=xD(),n=eD(),r=wpe(),i=nD(),a=Epe();function o(e,o){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=n.toKey(e)}return o=r.cloneDeep(o),function(n){let r=i.get(n,e);return r===void 0?a.has(n,e):o===void 0?r===void 0:t.isMatch(r,o)}}e.matchesProperty=o})),Ope=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=spe(),n=fpe(),r=Spe(),i=Dpe();function a(e){if(e==null)return t.identity;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?i.matchesProperty(e[0],e[1]):r.matches(e);case`string`:case`symbol`:case`number`:return n.property(e)}}e.iteratee=a})),kpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ape(),n=ope(),r=spe(),i=dpe(),a=Ope();function o(e,o=r.identity){return i.isArrayLikeObject(e)?t.uniqBy(Array.from(e),n.ary(a.iteratee(o),1)):[]}e.uniqBy=o})),ED=l(o(((e,t)=>{t.exports=kpe().uniqBy}))());function Ape(e,t,n){return t===!0?(0,ED.default)(e,n):typeof t==`function`?(0,ED.default)(e,t):e}var jpe=o((e=>{var t=p(),n=To();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),Mpe=o(((e,t)=>{t.exports=jpe()})),DD=(0,O.createContext)(null),Npe=Mpe(),Ppe=e=>e,OD=()=>{var e=(0,O.useContext)(DD);return e?e.store.dispatch:Ppe},kD=()=>{},Fpe=()=>kD,Ipe=(e,t)=>e===t;function AD(e){var t=(0,O.useContext)(DD),n=(0,O.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:kD,[t,e]);return(0,Npe.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:Fpe,t?t.store.getState:kD,t?t.store.getState:kD,n,Ipe)}function Lpe(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function Rpe(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function zpe(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var jD=e=>Array.isArray(e)?e:[e];function Bpe(e){let t=Array.isArray(e[0])?e[0]:e;return zpe(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function Vpe(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var Hpe=class{constructor(e){this.value=e}deref(){return this.value}},Upe=typeof WeakRef<`u`?WeakRef:Hpe,Wpe=0,MD=1;function ND(){return{s:Wpe,v:void 0,o:null,p:null}}function PD(e,t={}){let n=ND(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=ND(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=ND(),e.set(n,t)):t=r}}let s=t,c;if(t.s===MD)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=i?.deref?.()??i;e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new Upe(c):c}return s.s=MD,s.v=c,c}return o.clearCache=()=>{n=ND(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function Gpe(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),Lpe(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=PD,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=jD(c),p=jD(u),m=Bpe(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=Vpe(m,arguments);return i=h.apply(null,e),i},...p);return Object.assign(g,{resultFunc:o,memoizedResultFunc:h,dependencies:m,depen
74dencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var Q=Gpe(PD),Kpe=Object.assign((e,t=Q)=>{Rpe(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>Kpe}),qpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}e.compareValues=(e,n,r)=>{if(e!==n){let i=t(e),a=t(n);if(i===a&&i===0){if(e<n)return r===`desc`?1:-1;if(e>n)return r===`desc`?-1:1}return r===`desc`?a-i:i-a}return 0}})),FD=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`||e instanceof Symbol}e.isSymbol=t})),Jpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=FD(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function i(e,i){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||t.isSymbol(e)?!0:typeof e==`string`&&(r.test(e)||!n.test(e))||i!=null&&Object.hasOwn(i,e)}e.isKey=i})),Ype=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=qpe(),n=Jpe(),r=tD();function i(e,i,a,o){if(e==null)return[];a=o?void 0:a,Array.isArray(e)||(e=Object.values(e)),Array.isArray(i)||(i=i==null?[null]:[i]),i.length===0&&(i=[null]),Array.isArray(a)||(a=a==null?[]:[a]),a=a.map(e=>String(e));let s=(e,t)=>{let n=e;for(let e=0;e<t.length&&n!=null;++e)n=n[t[e]];return n},c=(e,t)=>t==null||e==null?t:typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:s(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?s(t,e):typeof t==`object`?t[e]:t,l=i.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||n.isKey(e)?e:{key:e,path:r.toPath(e)}));return e.map(e=>({original:e,criteria:l.map(t=>c(t,e))})).slice().sort((e,n)=>{for(let r=0;r<l.length;r++){let i=t.compareValues(e.criteria[r],n.criteria[r],a[r]);if(i!==0)return i}return 0}).map(e=>e.original)}e.orderBy=i})),Xpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}e.flatten=t})),ID=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=TD(),n=lpe(),r=ppe(),i=hpe();function a(e,a,o){return r.isObject(o)&&(typeof a==`number`&&n.isArrayLike(o)&&t.isIndex(a)&&a<o.length||typeof a==`string`&&a in o)?i.isEqualsSameValueZero(o[a],e):!1}e.isIterateeCall=a})),Zpe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Ype(),n=Xpe(),r=ID();function i(e,...i){let a=i.length;return a>1&&r.isIterateeCall(e,i[0],i[1])?i=[]:a>2&&r.isIterateeCall(i[0],i[1],i[2])&&(i=[i[0]]),t.orderBy(e,n.flatten(i),[`asc`])}e.sortBy=i})),LD=l(o(((e,t)=>{t.exports=Zpe().sortBy}))()),RD=e=>e.legend.settings,Qpe=e=>e.legend.size;Q([e=>e.legend.payload,RD],(e,t)=>{var{itemSorter:n}=t,r=e.flat(1);return n?(0,LD.default)(r,n):r});var zD=1;function $pe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],[t,n]=(0,O.useState)({height:0,left:0,top:0,width:0});return[t,(0,O.useCallback)(e=>{if(e!=null){var r=e.getBoundingClientRect(),i={height:r.height,left:r.left,top:r.top,width:r.width};(Math.abs(i.height-t.height)>zD||Math.abs(i.left-t.left)>zD||Math.abs(i.top-t.top)>zD||Math.abs(i.width-t.width)>zD)&&n({height:i.height,left:i.left,top:i.top,width:i.width})}},[t.width,t.height,t.top,t.left,...e])]}function BD(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var VD=typeof Symbol==`function`&&Symbol.observable||`@@observable`,HD=()=>Math.random().toString(36).substring(7).split(``).join(`.`),UD={INIT:`@@redux/INIT${HD()}`,REPLACE:`@@redux/REPLACE${HD()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${HD()}`};function WD(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function GD(e,t,n){if(typeof e!=`function`)throw Error(BD(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(BD(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(BD(1));return n(GD)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(BD(3));return i}function d(e){if(typeof e!=`function`)throw Error(BD(4));if(c)throw Error(BD(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(BD(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!WD(e))throw Error(BD(7));if(e.type===void 0)throw Error(BD(8));if(typeof e.type!=`string`)throw Error(BD(17));if(c)throw Error(BD(9));try{c=!0,i=r(i,e)}finally{c=!1}
74return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(BD(10));r=e,f({type:UD.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(BD(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[VD](){return this}}}return f({type:UD.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[VD]:m}}function eme(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:UD.INIT})===void 0)throw Error(BD(12));if(n(void 0,{type:UD.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(BD(13))})}function KD(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{eme(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(BD(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function qD(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function tme(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(BD(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=qD(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function JD(e){return WD(e)&&`type`in e&&typeof e.type==`string`}var YD=Symbol.for(`immer-nothing`),XD=Symbol.for(`immer-draftable`),ZD=Symbol.for(`immer-state`);function QD(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var $D=Object,eO=$D.getPrototypeOf,tO=`constructor`,nO=`prototype`,rO=`configurable`,iO=`enumerable`,aO=`writable`,oO=`value`,sO=e=>!!e&&!!e[ZD];function cO(e){return e?uO(e)||gO(e)||!!e[XD]||!!e[tO]?.[XD]||_O(e)||vO(e):!1}var nme=$D[nO][tO].toString(),lO=new WeakMap;function uO(e){if(!e||!yO(e))return!1;let t=eO(e);if(t===null||t===$D[nO])return!0;let n=$D.hasOwnProperty.call(t,tO)&&t[tO];if(n===Object)return!0;if(!bO(n))return!1;let r=lO.get(n);return r===void 0&&(r=Function.toString.call(n),lO.set(n,r)),r===nme}function dO(e,t,n=!0){fO(e)===0?(n?Reflect.ownKeys(e):$D.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function fO(e){let t=e[ZD];return t?t.type_:gO(e)?1:_O(e)?2:vO(e)?3:0}var pO=(e,t,n=fO(e))=>n===2?e.has(t):$D[nO].hasOwnProperty.call(e,t),mO=(e,t,n=fO(e))=>n===2?e.get(t):e[t],hO=(e,t,n,r=fO(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function rme(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var gO=Array.isArray,_O=e=>e instanceof Map,vO=e=>e instanceof Set,yO=e=>typeof e==`object`,bO=e=>typeof e==`function`,xO=e=>typeof e==`boolean`;function ime(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var SO=e=>e.copy_||e.base_,CO=e=>e.modified_?e.copy_:e.base_;function wO(e,t){if(_O(e))return new Map(e);if(vO(e))return new Set(e);if(gO(e))return Array[nO].slice.call(e);let n=uO(e);if(t===!0||t===`class_only`&&!n){let t=$D.getOwnPropertyDescriptors(e);delete t[ZD];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[aO]===!1&&(a[aO]=!0,a[rO]=!0),(a.get||a.set)&&(t[i]={[rO]:!0,[aO]:!0,[iO]:a[iO],[oO]:e[i]})}return $D.create(eO(e),t)}{let t=eO(e);if(t!==null&&n)return{...e};let r=$D.create(t);return $D.assign(r,e)}}function TO(e,t=!1){return DO(e)||sO(e)||!cO(e)?e:(fO(e)>1&&$D.defineProperties(e,{set:EO,add:EO,clear:EO,delete:EO}),$D.freeze(e),t&&dO(e,(e,t)=>{TO(t,!0)},!1),e)}function ame(){QD(2)}var EO={[oO]:ame};function DO(e){return e===null||!yO(e)||$D.isFrozen(e)}var OO=`MapSet`,kO=`Patches`,AO=`ArrayMethods`,jO={};function MO(e){let t=jO[e];return t||QD(0,e),t}var NO=e=>!!jO[e],PO,FO=()=>PO,ome=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:NO(OO)?MO(OO):void 0,arrayMethodsPlugin_:NO(AO)?MO(AO):void 0});function IO(e,t){t&&(e.patchPlugin_=MO(kO),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function LO(e){RO(e),e.drafts_.forEach(sme),e.drafts_=null}function RO(e){e===PO&&(PO=e.parent_)}var zO=e=>PO=ome(PO,e);function sme(e){let t=e[ZD];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function BO(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[ZD].modified_&&(LO(t),QD(4)),cO(e)&&(e=VO(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[ZD].base_,e,t)}else e=VO(t,n);return cme(t,e,!0),LO(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===YD?void 0:e}function VO(e,t){if(DO(t))return t;let n=t[ZD];if(!n)return KO(t,e.handledSet_,e);if(!UO(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);GO(n,e)}return n.copy_}function cme(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&TO(t,n)}function HO(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var UO=(e,t)=>
vendor: 4,999 bytes, line 74
74e.scope_===t,lme=[];function WO(e,t,n,r){let i=SO(e),a=e.type_;if(r!==void 0&&mO(i,r,a)===t){hO(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;dO(i,(e,n)=>{if(sO(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??lme;for(let e of o)hO(i,e,n,a)}function ume(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!UO(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=CO(i);WO(e,i.draft_??i,a,n),GO(i,r)})}function GO(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}HO(e)}}function dme(e,t,n){let{scope_:r}=e;if(sO(n)){let i=n[ZD];UO(i,r)&&i.callbacks_.push(function(){QO(e),WO(e,n,CO(i),t)})}else cO(n)&&e.callbacks_.push(function(){let i=SO(e);e.type_===3?i.has(n)&&KO(n,r.handledSet_,r):mO(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&KO(mO(e.copy_,t,e.type_),r.handledSet_,r)})}function KO(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||sO(e)||t.has(e)||!cO(e)||DO(e)?e:(t.add(e),dO(e,(r,i)=>{if(sO(i)){let t=i[ZD];UO(t,n)&&(hO(e,r,CO(t),e.type_),HO(t))}else cO(i)&&KO(i,t,n)}),e)}function fme(e,t){let n=gO(e),r={type_:+!!n,scope_:t?t.scope_:FO(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=qO;n&&(i=[r],a=JO);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var qO={get(e,t){if(t===ZD)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=SO(e);if(!pO(i,t,e.type_))return pme(e,i,t);let a=i[t];if(e.finalized_||!cO(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&ime(t))return a;if(a===YO(e.base_,t)){QO(e);let n=e.type_===1?+t:t,r=$O(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in SO(e)},ownKeys(e){return Reflect.ownKeys(SO(e))},set(e,t,n){let r=XO(SO(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=YO(SO(e),t),i=r?.[ZD];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(rme(n,r)&&(n!==void 0||pO(e.base_,t,e.type_)))return!0;QO(e),ZO(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),dme(e,t,n),!0)},deleteProperty(e,t){return QO(e),YO(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),ZO(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=SO(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[aO]:!0,[rO]:e.type_!==1||t!==`length`,[iO]:r[iO],[oO]:n[t]}},defineProperty(){QD(11)},getPrototypeOf(e){return eO(e.base_)},setPrototypeOf(){QD(12)}},JO={};for(let e in qO){let t=qO[e];JO[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}JO.deleteProperty=function(e,t){return JO.set.call(this,e,t,void 0)},JO.set=function(e,t,n){return qO.set.call(this,e[0],t,n,e[0])};function YO(e,t){let n=e[ZD];return(n?SO(n):e)[t]}function pme(e,t,n){let r=XO(t,n);return r?oO in r?r[oO]:r.get?.call(e.draft_):void 0}function XO(e,t){if(!(t in e))return;let n=eO(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=eO(n)}}function ZO(e){e.modified_||(e.modified_=!0,e.parent_&&ZO(e.parent_))}function QO(e){e.copy_||=(e.assigned_=new Map,wO(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var mme=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(bO(e)&&!bO(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}bO(t)||QD(6),n!==void 0&&!bO(n)&&QD(7);let r;if(cO(e)){let i=zO(this),a=$O(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?LO(i):RO(i)}return IO(i,n),BO(r,i)}if(!e||!yO(e)){if(r=t(e),r===void 0&&(r=e),r===YD&&(r=void 0),this.autoFreeze_&&TO(r,!0),n){let t=[],i=[];MO(kO).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}QD(1,e)},this.produceWithPatches=(e,t)=>{if(bO(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},xO(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),xO(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),xO(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){cO(e)||QD(8),sO(e)&&(e=ek(e));let t=zO(this),n=$O(t,e,void 0);return n[ZD].isManual_=!0,RO(t),n}finishDraft(e,t){let n=e&&e[ZD];(!n||!n.isManual_)&&QD(9);let{scope_:r}=n;return IO(r,t),BO(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>
74-1&&(t=t.slice(n+1));let r=MO(kO).applyPatches_;return sO(e)?r(e,t):this.produce(e,e=>r(e,t))}};function $O(e,t,n,r){let[i,a]=_O(t)?MO(OO).proxyMap_(t,n):vO(t)?MO(OO).proxySet_(t,n):fme(t,n);return(n?.scope_??FO()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?ume(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function ek(e){return sO(e)||QD(10,e),tk(e)}function tk(e){if(!cO(e)||DO(e))return e;let t=e[ZD],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=wO(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=wO(e,!0);return dO(n,(e,t)=>{hO(n,e,tk(t))},r),t&&(t.finalized_=!1),n}var nk=new mme().produce;function rk(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var hme=rk(),gme=rk,_me=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?qD:qD.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function ik(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(zk(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>JD(t)&&t.type===e,n}var ak=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function ok(e){return cO(e)?nk(e,()=>{}):e}function sk(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function vme(e){return typeof e==`boolean`}var yme=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new ak;return t&&(vme(t)?a.push(hme):a.push(gme(t.extraArgument))),a},ck=`RTK_autoBatch`,lk=()=>e=>({payload:e,meta:{[ck]:!0}}),uk=e=>t=>{setTimeout(t,e)},dk=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?window.requestAnimationFrame:uk(10):e.type===`callback`?e.queueNotification:uk(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[ck],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},bme=e=>function(t){let{autoBatch:n=!0}=t??{},r=new ak(e);return n&&r.push(dk(typeof n==`object`?n:void 0)),r};function xme(e){let t=yme(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(WD(n))c=KD(n);else throw Error(zk(1));let l;l=typeof r==`function`?r(t):t();let u=qD;i&&(u=_me({trace:!1,...typeof i==`object`&&i}));let d=bme(tme(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return GD(c,o,p)}function fk(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(zk(28));if(r in t)throw Error(zk(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function Sme(e){return typeof e==`function`}function Cme(e,t){let[n,r,i]=fk(t),a;if(Sme(e))a=()=>ok(e());else{let t=ok(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n)if(sO(e)){let r=n(e,t);return r===void 0?e:r}else if(cO(e))return nk(e,e=>n(e,t));else{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}return e},e)}return o.getInitialState=a,o}var wme=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,Tme=(e=21)=>{let t=``,n=e;for(;n--;)t+=wme[Math.random()*64|0];return t},Eme=Symbol.for(`rtk-slice-createasyncthunk`);function Dme(e,t){return`${e}/${t}`}function Ome({creators:e}={}){let t=e?.asyncThunk?.[Eme];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(zk(11));let i=(typeof e.reducers==`function`?e.reducers(Ame()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(zk(12));if(n in o.sliceCaseReducersByType)throw Error(zk(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:Dme(n,r),createNotation:typeof e.reducers==`function`};Mme(a)?Pme(o,a,s,t):jme(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?fk(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return Cme(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=sk(d,r,m)),i}function i(t=l){return sk(sk(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=kme(a,t,()=>sk(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function kme(e,t,n,r){function i(i,...a){let o=t(i);
vendor: 4,291 bytes, line 74
74return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var pk=Ome();function Ame(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function jme({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!Nme(r))throw Error(zk(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?ik(e,o):ik(e))}function Mme(e){return e._reducerDefinitionType===`asyncThunk`}function Nme(e){return e._reducerDefinitionType===`reducerWithPrepare`}function Pme({type:e,reducerName:t},n,r,i){if(!i)throw Error(zk(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||mk,pending:s||mk,rejected:c||mk,settled:l||mk})}function mk(){}var Fme=`task`,hk=`listener`,gk=`completed`,_k=`cancelled`,Ime=`task-${_k}`,Lme=`task-${gk}`,vk=`${hk}-${_k}`,Rme=`${hk}-${gk}`,yk=class{constructor(e){this.code=e,this.message=`${Fme} ${_k} (reason: ${e})`}name=`TaskAbortError`;message},bk=(e,t)=>{if(typeof e!=`function`)throw TypeError(zk(32))},xk=()=>{},Sk=(e,t=xk)=>(e.catch(t),e),Ck=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),wk=e=>{if(e.aborted)throw new yk(e.reason)};function Tk(e,t){let n=xk;return new Promise((r,i)=>{let a=()=>i(new yk(e.reason));if(e.aborted){a();return}n=Ck(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=xk})}var zme=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof yk?`cancelled`:`rejected`,error:e}}finally{t?.()}},Ek=e=>t=>Sk(Tk(e,t).then(t=>(wk(e),t))),Dk=e=>{let t=Ek(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:Ok}=Object,kk={},Ak=`listenerMiddleware`,Bme=(e,t)=>{let n=t=>Ck(e,()=>t.abort(e.reason));return(r,i)=>{bk(r,`taskExecutor`);let a=new AbortController;n(a);let o=zme(async()=>{wk(e),wk(a.signal);let t=await r({pause:Ek(a.signal),delay:Dk(a.signal),signal:a.signal});return wk(a.signal),t},()=>a.abort(Lme));return i?.autoJoin&&t.push(o.catch(xk)),{result:Ek(e)(o),cancel(){a.abort(Ime)}}}},Vme=(e,t)=>{let n=async(n,r)=>{wk(t);let i=()=>{},a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})];r!=null&&a.push(new Promise(e=>setTimeout(e,r,null)));try{let e=await Tk(t,Promise.race(a));return wk(t),e}finally{i()}};return(e,t)=>Sk(n(e,t))},jk=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=ik(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(zk(21));return bk(a,`options.listener`),{predicate:i,type:t,effect:a}},Mk=Ok(e=>{let{type:t,predicate:n,effect:r}=jk(e);return{id:Tme(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(zk(22))}}},{withTypes:()=>Mk}),Nk=(e,t)=>{let{type:n,effect:r,predicate:i}=jk(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},Pk=e=>{e.pending.forEach(e=>{e.abort(vk)})},Hme=(e,t)=>()=>{for(let e of t.keys())Pk(e);e.clear()},Fk=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},Ik=Ok(ik(`${Ak}/add`),{withTypes:()=>Ik}),Ume=ik(`${Ak}/removeAll`),Lk=Ok(ik(`${Ak}/remove`),{withTypes:()=>Lk}),Wme=(...e)=>{console.error(`${Ak}/error`,...e)},Rk=(e={})=>{let t=new Map,n=new Map,r=e=>{let t=n.get(e)??0;n.set(e,t+1)},i=e=>{let t=n.get(e)??1;t===1?n.delete(e):n.set(e,t-1)},{extra:a,onError:o=Wme}=e;bk(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&Pk(e)}),c=e=>{let n=Nk(t,e)??Mk(e);return s(n)};Ok(c,{withTypes:()=>c});let l=e=>{let n=Nk(t,e);return n&&(n.unsubscribe(),e.cancelActive&&Pk(n)),!!n};Ok(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=Vme(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,Ok({},s,{getOriginalState:l,condition:(e,t)=>
74d(e,t).then(Boolean),take:d,delay:Dk(u.signal),pause:Ek(u.signal),extra:a,signal:u.signal,fork:Bme(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(vk),n.delete(e))})},cancel:()=>{u.abort(vk),e.pending.delete(u)},throwIfCancelled:()=>{wk(u.signal)}})))}catch(e){e instanceof yk||Fk(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(Rme),i(e),e.pending.delete(u)}},d=Hme(t,n);return{middleware:e=>n=>r=>{if(!JD(r))return n(r);if(Ik.match(r))return c(r.payload);if(Ume.match(r)){d();return}if(Lk.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===kk)throw Error(zk(23));return i},s;try{if(s=n(r),t.size>0){let n=e.getState(),s=Array.from(t.values());for(let t of s){let s=!1;try{s=t.predicate(r,n,i)}catch(e){s=!1,Fk(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=kk}return s},startListening:c,stopListening:l,clearListeners:d}};function zk(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Bk=pk({name:`chartLayout`,initialState:{layoutType:`horizontal`,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top??0,e.margin.right=t.payload.right??0,e.margin.bottom=t.payload.bottom??0,e.margin.left=t.payload.left??0},setScale(e,t){e.scale=t.payload}}}),{setMargin:Gme,setLayout:Kme,setChartSize:qme,setScale:Jme}=Bk.actions,Yme=Bk.reducer;function Vk(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}function Hk(e){return Number.isFinite(e)}function Uk(e){return typeof e==`number`&&e>0&&Number.isFinite(e)}function Wk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Gk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Wk(Object(n),!0).forEach(function(t){Xme(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xme(e,t,n){return(t=Zme(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zme(e){var t=Qme(e,`string`);return typeof t==`symbol`?t:t+``}function Qme(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Kk(e,t,n){return mD(e)||mD(t)?n:uD(t)?(0,aD.default)(e,t,n):typeof t==`function`?t(e):n}var $me=(e,t,n)=>{if(t&&n){var{width:r,height:i}=n,{align:a,verticalAlign:o,layout:s}=t;if((s===`vertical`||s===`horizontal`&&o===`middle`)&&a!==`center`&&lD(e[a]))return Gk(Gk({},e),{},{[a]:e[a]+(r||0)});if((s===`horizontal`||s===`vertical`&&a===`center`)&&o!==`middle`&&lD(e[o]))return Gk(Gk({},e),{},{[o]:e[o]+(i||0)})}return e},qk=(e,t)=>e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`,Jk=(e,t,n,r)=>{if(r)return e.map(e=>e.coordinate);var i,a,o=e.map(e=>(e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate));return i||o.push(t),a||o.push(n),o},Yk=(e,t,n)=>{if(!e)return null;var{duplicateDomain:r,type:i,range:a,scale:o,realScaleType:s,isCategorical:c,categoricalDomain:l,tickCount:u,ticks:d,niceTicks:f,axisType:p}=e;if(!o)return null;var m=s===`scaleBand`&&o.bandwidth?o.bandwidth()/2:2,h=(t||n)&&i===`category`&&o.bandwidth?o.bandwidth()/m:0;return h=p===`angleAxis`&&a&&a.length>=2?oD(a[0]-a[1])*2*h:h,t&&(d||f)?(d||f||[]).map((e,t)=>{var n=r?r.indexOf(e):e,i=o.map(n);return Hk(i)?{coordinate:i+h,value:e,offset:h,index:t}:null}).filter(gD):c&&l?l.map((e,t)=>{var n=o.map(e);return Hk(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(gD):o.ticks&&!n&&u!=null?o.ticks(u).map((e,t)=>{var n=o.map(e);return Hk(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(gD):o.domain().map((e,t)=>{var n=o.map(e);return Hk(n)?{coordinate:n+h,value:r?r[e]:e,index:t,offset:h}:null}).filter(gD)},ehe={sign:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0,o=0;o<t;++o){var s=e[o]?.[r];if(s!=null){var c=s[1],l=s[0],u=sD(c)?l:c;u>=0?(s[0]=i,i+=u,s[1]=i):(s[0]=a,a+=u,s[1]=a)}}}},expand:Efe,none:QE,silhouette:Dfe,wiggle:Ofe,positive:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0;a<t;
74++a){var o=e[a]?.[r];if(o!=null){var s=sD(o[1])?o[0]:o[1];s>=0?(o[0]=i,i+=s,o[1]=i):(o[0]=0,o[1]=0)}}}}},the=(e,t,n)=>{var r=ehe[n]??QE,i=Tfe().keys(t).value((e,t)=>Number(Kk(e,t,0))).order($E).offset(r)(e);return i.forEach((n,r)=>{n.forEach((n,i)=>{var a=Kk(e[i],t[r],0);Array.isArray(a)&&a.length===2&&lD(a[0])&&lD(a[1])&&(n[0]=a[0],n[1]=a[1])})}),i};function nhe(e){return e==null?void 0:String(e)}function Xk(e){var{axis:t,ticks:n,bandSize:r,entry:i,index:a,dataKey:o}=e;if(t.type===`category`){if(!t.allowDuplicatedCategory&&t.dataKey&&!mD(i[t.dataKey])){var s=Ife(n,`value`,i[t.dataKey]);if(s)return s.coordinate+r/2}return n!=null&&n[a]?n[a].coordinate+r/2:null}var c=Kk(i,mD(o)?t.dataKey:o),l=t.scale.map(c);return lD(l)?l:null}var rhe=e=>{var t=e.flat(2).filter(lD);return[Math.min(...t),Math.max(...t)]},ihe=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],ahe=(e,t,n)=>{if(e!=null)return ihe(Object.keys(e).reduce((r,i)=>{var a=e[i];if(!a)return r;var{stackedData:o}=a,s=o.reduce((e,r)=>{var i=rhe(Vk(r,t,n));return!Hk(i[0])||!Hk(i[1])?e:[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(s[0],r[0]),Math.max(s[1],r[1])]},[1/0,-1/0]))},Zk=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Qk=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,$k=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=(0,LD.default)(t,e=>e.coordinate),a=1/0,o=1,s=i.length;o<s;o++){var c=i[o],l=i[o-1];a=Math.min((c?.coordinate||0)-(l?.coordinate||0),a)}return a===1/0?0:a}return n?void 0:0};function eA(e){var{tooltipEntrySettings:t,dataKey:n,payload:r,value:i,name:a}=e;return Gk(Gk({},t),{},{dataKey:n,payload:r,value:i,name:a})}function tA(e,t){if(e)return String(e);if(typeof t==`string`)return t}var ohe=(e,t)=>{if(t===`horizontal`)return e.relativeX;if(t===`vertical`)return e.relativeY},she=(e,t)=>t===`centric`?e.angle:e.radius,nA=e=>e.layout.width,rA=e=>e.layout.height,che=e=>e.layout.scale,iA=e=>e.layout.margin,aA=Q(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),oA=Q(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),lhe=`data-recharts-item-index`;function sA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?sA(Object(n),!0).forEach(function(t){uhe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uhe(e,t,n){return(t=dhe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dhe(e){var t=fhe(e,`string`);return typeof t==`symbol`?t:t+``}function fhe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var phe=e=>e.brush.height;function mhe(e){return oA(e).reduce((e,t)=>t.orientation===`left`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function hhe(e){return oA(e).reduce((e,t)=>t.orientation===`right`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function ghe(e){return aA(e).reduce((e,t)=>t.orientation===`top`&&!t.mirror&&!t.hide?e+t.height:e,0)}function _he(e){return aA(e).reduce((e,t)=>t.orientation===`bottom`&&!t.mirror&&!t.hide?e+t.height:e,0)}var lA=Q([nA,rA,iA,phe,mhe,hhe,ghe,_he,RD,Qpe],(e,t,n,r,i,a,o,s,c,l)=>{var u={left:(n.left||0)+i,right:(n.right||0)+a},d=cA(cA({},{top:(n.top||0)+o,bottom:(n.bottom||0)+s}),u),f=d.bottom;d.bottom+=r,d=$me(d,c,l);var p=e-d.left-d.right,m=t-d.top-d.bottom;return cA(cA({brushBottom:f},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),vhe=Q(lA,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),uA=Q(nA,rA,(e,t)=>({x:0,y:0,width:e,height:t})),yhe=(0,O.createContext)(null),dA=()=>(0,O.useContext)(yhe)!=null,fA=e=>e.brush,pA=Q([fA,lA,iA],(e,t,n)=>({height:e.height,x:lD(e.x)?e.x:t.left,y:lD(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:lD(e.width)?e.width:t.width})),bhe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}e.debounce=t})),xhe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=bhe();function n(e,n=0,r={}){typeof r!=`object`&&(r={});let{leading:i=!1,trailing:a=!0,maxWait:o}=r,s=[,,];i&&(s[0]=`leading`),a&&(s[1]=`trailing`);let c,l=null,u=t.debounce(function(...t){c=e.apply(this,t),l=null},n,{edges:s}
74),d=function(...t){return o!=null&&(l===null&&(l=Date.now()),Date.now()-l>=o)?(c=e.apply(this,t),l=Date.now(),u.cancel(),u.schedule(),c):(u.apply(this,t),c)};return d.cancel=u.cancel,d.flush=()=>(u.flush(),c),d}e.debounce=n})),She=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=xhe();function n(e,n=0,r={}){let{leading:i=!0,trailing:a=!0}=r;return t.debounce(e,n,{leading:i,maxWait:n,trailing:a})}e.throttle=n})),Che=o(((e,t)=>{t.exports=She().throttle})),mA=function(e,t){var n=[...arguments].slice(2);if(typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e))if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var r=0;console.warn(t.replace(/%s/g,()=>n[r++]))}},hA={width:`100%`,height:`100%`,debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},gA=(e,t,n)=>{var{width:r=hA.width,height:i=hA.height,aspect:a,maxHeight:o}=n,s=cD(r)?e:Number(r),c=cD(i)?t:Number(i);return a&&a>0&&(s?c=s/a:c&&(s=c*a),o&&c!=null&&c>o&&(c=o)),{calculatedWidth:s,calculatedHeight:c}},whe={width:0,height:0,overflow:`visible`},The={width:0,overflowX:`visible`},Ehe={height:0,overflowY:`visible`},Dhe={},Ohe=e=>{var{width:t,height:n}=e,r=cD(t),i=cD(n);return r&&i?whe:r?The:i?Ehe:Dhe};function khe(e){var{width:t,height:n,aspect:r}=e,i=t,a=n;return i===void 0&&a===void 0?(i=hA.width,a=hA.height):i===void 0?i=r&&r>0?void 0:hA.width:a===void 0&&(a=r&&r>0?void 0:hA.height),{width:i,height:a}}var Ahe=l(Che());function _A(){return _A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_A.apply(null,arguments)}function vA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?vA(Object(n),!0).forEach(function(t){jhe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jhe(e,t,n){return(t=Mhe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mhe(e){var t=Nhe(e,`string`);return typeof t==`symbol`?t:t+``}function Nhe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var bA=(0,O.createContext)(hA.initialDimension);function Phe(e){return Uk(e.width)&&Uk(e.height)}function xA(e){var{children:t,width:n,height:r}=e,i=(0,O.useMemo)(()=>({width:n,height:r}),[n,r]);return Phe(i)?O.createElement(bA.Provider,{value:i},t):null}var SA=()=>(0,O.useContext)(bA),Fhe=(0,O.forwardRef)((e,t)=>{var{aspect:n,initialDimension:r=hA.initialDimension,width:i,height:a,minWidth:o=hA.minWidth,minHeight:s,maxHeight:c,children:l,debounce:u=hA.debounce,id:d,className:f,onResize:p,style:m={}}=e,h=(0,O.useRef)(null),g=(0,O.useRef)();g.current=p,(0,O.useImperativeHandle)(t,()=>h.current);var[_,v]=(0,O.useState)({containerWidth:r.width,containerHeight:r.height}),y=(0,O.useCallback)((e,t)=>{v(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]);(0,O.useEffect)(()=>{if(h.current==null||typeof ResizeObserver>`u`)return _D;var e=e=>{var t,n=e[0];if(n!=null){var{width:r,height:i}=n.contentRect;y(r,i),(t=g.current)==null||t.call(g,r,i)}};u>0&&(e=(0,Ahe.default)(e,u,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),{width:n,height:r}=h.current.getBoundingClientRect();return y(n,r),t.observe(h.current),()=>{t.disconnect()}},[y,u]);var{containerWidth:b,containerHeight:x}=_;mA(!n||n>0,`The aspect(%s) must be greater than zero.`,n);var{calculatedWidth:S,calculatedHeight:C}=gA(b,x,{width:i,height:a,aspect:n,maxHeight:c});return mA(S!=null&&S>0||C!=null&&C>0,`The width(%s) and height(%s) of chart should be greater than 0, 75 please check the style of container, or the props width(%s) and height(%s), 76 or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the 77 height and width.`,S,C,i,a,o,s,n),O.createElement(`div`,{id:d?`${d}`:void 0,className:xv(`recharts-responsive-container`,f),style:yA(yA({},m),{},{width:i,height:a,minWidth:o,minHeight:s,maxHeight:c}),ref:h},O.createElement(`div`,{style:Ohe({width:i,height:a})},O.createElement(xA,{width:S,height:C},l)))}),CA=(0,O.forwardRef)((e,t)=>{var n=SA();if(Uk(n.width)&&Uk(n.height))return e.children;var{width:r,height:i}=khe({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:a,calculatedHeight:o}=gA(void 0,void 0,{width:r,height:i,aspect:e.aspect,maxHeight:e.maxHeight});return lD(a)&&lD(o)?O.createElement(xA,{width:a,height:o},e.children):O.createElement(Fhe,_A({},e,{width:r,height:i,ref:t}))});function wA(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var TA=()=>{var e=dA(),t=AD(vhe),n=AD(pA),r=AD(fA)?.padding;return!e||!n||!r?t:{width:n.width-r.left-r.right,height:n.height-r.top-r.bottom,x:r.left,y:r.top}},Ihe={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},EA=()=>AD(lA)??Ihe,DA=()=>AD(nA),OA=()=>AD(rA),kA=e=>e.layout.layoutType,AA=()=>AD(kA),jA=()=>{var e=AA();if(e===`horizontal`||e===`vertical`)return e},MA=e=>{var t=e.layout.layoutType;if(t===`centric`||t===`radial`)return t},Lhe=()=>AA()!==void 0,NA=e=>{var t=OD(),n=dA(),{width:r,height:i}=e,a=SA(),o=r,s=i;return a&&(o=a.width>0?a.width:r,s=a.height>0?a.height:i),(0,O.useEffect)(()=>{!n&&Uk(o)&&Uk(s)&&t(qme({width:o,height:s}))},[t,n,o,s]),null},PA=Symbol.for(`immer-nothing`),FA=Symbol.for(`immer-draftable`),IA=Symbol.for(`immer-state`);function LA(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var RA=Object.getPrototypeOf;function zA(e){return!!e&&!!e[IA]}function BA(e){return e?HA(e)||Array.isArray(e)||!!e[FA]||!!e.constructor?.[FA]||qA(e)||JA(e):!1}var Rhe=Object.prototype.constructor.toString(),VA=new WeakMap;function HA(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let n=Object.hasOwnProperty.call(t,`constructor`)&&t.constructor;if(n===Object)return!0;
77if(typeof n!=`function`)return!1;let r=VA.get(n);return r===void 0&&(r=Function.toString.call(n),VA.set(n,r)),r===Rhe}function UA(e,t,n=!0){WA(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function WA(e){let t=e[IA];return t?t.type_:Array.isArray(e)?1:qA(e)?2:JA(e)?3:0}function GA(e,t){return WA(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function KA(e,t,n){let r=WA(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function zhe(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function qA(e){return e instanceof Map}function JA(e){return e instanceof Set}function YA(e){return e.copy_||e.base_}function XA(e,t){if(qA(e))return new Map(e);if(JA(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=HA(e);if(t===!0||t===`class_only`&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[IA];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(RA(e),t)}{let t=RA(e);if(t!==null&&n)return{...e};let r=Object.create(t);return Object.assign(r,e)}}function ZA(e,t=!1){return $A(e)||zA(e)||!BA(e)?e:(WA(e)>1&&Object.defineProperties(e,{set:QA,add:QA,clear:QA,delete:QA}),Object.freeze(e),t&&Object.values(e).forEach(e=>ZA(e,!0)),e)}function Bhe(){LA(2)}var QA={value:Bhe};function $A(e){return typeof e!=`object`||!e||Object.isFrozen(e)}var Vhe={};function ej(e){let t=Vhe[e];return t||LA(0,e),t}var tj;function nj(){return tj}function Hhe(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function rj(e,t){t&&(ej(`Patches`),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ij(e){aj(e),e.drafts_.forEach(Uhe),e.drafts_=null}function aj(e){e===tj&&(tj=e.parent_)}function oj(e){return tj=Hhe(tj,e)}function Uhe(e){let t=e[IA];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function sj(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return e!==void 0&&e!==n?(n[IA].modified_&&(ij(t),LA(4)),BA(e)&&(e=cj(t,e),t.parent_||uj(t,e)),t.patches_&&ej(`Patches`).generateReplacementPatches_(n[IA].base_,e,t.patches_,t.inversePatches_)):e=cj(t,n,[]),ij(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===PA?void 0:e}function cj(e,t,n){if($A(t))return t;let r=e.immer_.shouldUseStrictIteration(),i=t[IA];if(!i)return UA(t,(r,a)=>lj(e,i,t,r,a,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return uj(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let t=i.copy_,a=t,o=!1;i.type_===3&&(a=new Set(t),t.clear(),o=!0),UA(a,(r,a)=>lj(e,i,t,r,a,n,o),r),uj(e,t,!1),n&&e.patches_&&ej(`Patches`).generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function lj(e,t,n,r,i,a,o){if(i==null||typeof i!=`object`&&!o)return;let s=$A(i);if(!(s&&!o)){if(zA(i)){let o=cj(e,i,a&&t&&t.type_!==3&&!GA(t.assigned_,r)?a.concat(r):void 0);if(KA(n,r,o),zA(o))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(BA(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===i&&s)return;cj(e,i),(!t||!t.scope_.parent_)&&typeof r!=`symbol`&&(qA(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&uj(e,i)}}}function uj(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ZA(t,n)}function Whe(e,t){let n=Array.isArray(e),r={type_:+!!n,scope_:t?t.scope_:nj(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=r,a=dj;n&&(i=[r],a=fj);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,s}var dj={get(e,t){if(t===IA)return e;let n=YA(e);if(!GA(n,t))return Ghe(e,n,t);let r=n[t];return e.finalized_||!BA(r)?r:r===pj(e.base_,t)?(gj(e),e.copy_[t]=_j(r,e)):r},has(e,t){return t in YA(e)},ownKeys(e){return Reflect.ownKeys(YA(e))},set(e,t,n){let r=mj(YA(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=pj(YA(e),t),i=r?.[IA];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(zhe(n,r)&&(n!==void 0||GA(e.base_,t)))return!0;gj(e),hj(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_[t]=!0,!0)},deleteProperty(e,t){return pj(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,gj(e),hj(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=YA(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty(){LA(11)},getPrototypeOf(e){return RA(e.base_)},setPrototypeOf(){LA(12)}},fj={};UA(dj,(e,t)=>{fj[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),fj.deleteProperty=function(e,t){return fj.set.call(this,e,t,void 0)},fj.set=function(e,t,n){return dj.set.call(this,e[0],t,n,e[0])};function pj(e,t){let n=e[IA];return(n?YA(n):e)[t]}function Ghe(e,t,n){let r=mj(t,n);return r?`value`in r?r.value:r.get?.call(e.draft_):void 0}function mj(e,t){if(!(t in e))return;let n=RA(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=RA(n)}}function hj(e){e.modified_||(e.modified_=!0,e.parent_&&hj(e.parent_))}function gj(e){e.copy_||=XA(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var Khe=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if(typeof e==`function`&&typeof t!=`function`){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}typeof t!=`function`&&LA(6),n!==void 0&&typeof n!=`function`&&LA(7);let r;if(BA(e)){let i=oj(this),a=_j(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?ij(i):aj(i)}return rj(i,n),sj(r,i)}if(!e||typeof e!=`object`){if(r=t(e),r===void 0&&(r=e),r===PA&&(r=void 0),this.autoFreeze_&&ZA(r,!0),n){let t=[],i=[];ej(`Patches`).generateReplacementPatches_(e,r,t,i),n(t,i)}return r}LA(1,e)},this.produceWithPatches=(e,t)=>{if(typeof e==`function`)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},typeof e?.autoFreeze==`boolean`&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==`boolean`&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==`boolean`&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){BA(e)||LA(8),zA(e)&&(e=qhe(e));let t=oj(this),n=_j(e,void 0);return n[IA].isManual_=!0,aj(t),n}finishDraft(e,t){let n=e&&e[IA];(!n||!n.isManual_)&&LA(9);let{scope_:r}=n;return rj(r,t),sj(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>
77-1&&(t=t.slice(n+1));let r=ej(`Patches`).applyPatches_;return zA(e)?r(e,t):this.produce(e,e=>r(e,t))}};function _j(e,t){let n=qA(e)?ej(`MapSet`).proxyMap_(e,t):JA(e)?ej(`MapSet`).proxySet_(e,t):Whe(e,t);return(t?t.scope_:nj()).drafts_.push(n),n}function qhe(e){return zA(e)||LA(10,e),vj(e)}function vj(e){if(!BA(e)||$A(e))return e;let t=e[IA],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=XA(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=XA(e,!0);return UA(n,(e,t)=>{KA(n,e,vj(t))},r),t&&(t.finalized_=!1),n}new Khe().produce;function yj(e){return e}var bj=pk({name:`legend`,initialState:{settings:{layout:`horizontal`,align:`center`,verticalAlign:`middle`,itemSorter:`value`},size:{width:0,height:0},payload:[]},reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload:{reducer(e,t){e.payload.push(yj(t.payload))},prepare:lk()},replaceLegendPayload:{reducer(e,t){var{prev:n,next:r}=t.payload,i=ek(e).payload.indexOf(yj(n));i>-1&&(e.payload[i]=yj(r))},prepare:lk()},removeLegendPayload:{reducer(e,t){var n=ek(e).payload.indexOf(yj(t.payload));n>-1&&e.payload.splice(n,1)},prepare:lk()}}}),{setLegendSize:Jhe,setLegendSettings:Yhe,addLegendPayload:Xhe,replaceLegendPayload:Zhe,removeLegendPayload:Qhe}=bj.actions,$he=bj.reducer,ege=o((e=>{var t=p();t.useSyncExternalStore,t.useRef,t.useEffect,t.useMemo,t.useDebugValue}));o(((e,t)=>{t.exports=ege()}))();function tge(e){e()}function nge(){let e=null,t=null;return{clear(){e=null,t=null},notify(){tge(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var xj={notify(){},get:()=>[]};function rge(e,t){let n,r=xj,i=0,a=!1;function o(e){u();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),d())}}function s(){r.notify()}function c(){m.onStateChange&&m.onStateChange()}function l(){return a}function u(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),r=nge())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=xj)}function f(){a||(a=!0,u())}function p(){a&&(a=!1,d())}let m={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>r};return m}var ige=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,age=typeof navigator<`u`&&navigator.product===`ReactNative`,oge=ige||age?O.useLayoutEffect:O.useEffect;function Sj(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!==e&&t!==t}function sge(e,t){if(Sj(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Sj(e[n[r]],t[n[r]]))return!1;return!0}var cge=Symbol.for(`react-redux-context`),lge=typeof globalThis<`u`?globalThis:{};function uge(){if(!O.createContext)return{};let e=lge[cge]??=new Map,t=e.get(O.createContext);return t||(t=O.createContext(null),e.set(O.createContext,t)),t}var dge=uge();function fge(e){let{children:t,context:n,serverState:r,store:i}=e,a=O.useMemo(()=>{let e=rge(i);return{store:i,subscription:e,getServerState:r?()=>r:void 0}},[i,r]),o=O.useMemo(()=>i.getState(),[i]);oge(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,o]);let s=n||dge;return O.createElement(s.Provider,{value:a},t)}var pge=fge,mge=new Set([`axisLine`,`tickLine`,`activeBar`,`activeDot`,`activeLabel`,`activeShape`,`allowEscapeViewBox`,`background`,`cursor`,`dot`,`label`,`line`,`margin`,`padding`,`position`,`shape`,`style`,`tick`,`wrapperStyle`,`radius`,`throttledEvents`]);function hge(e,t){return e==null&&t==null?!0:typeof e==`number`&&typeof t==`number`?e===t||e!==e&&t!==t:e===t}function Cj(e,t){for(var n of new Set([...Object.keys(e),...Object.keys(t)]))if(mge.has(n)){if(e[n]==null&&t[n]==null)continue;if(!sge(e[n],t[n]))return!1}else if(!hge(e[n],t[n]))return!1;return!0}function wj(){return wj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wj.apply(null,arguments)}function Tj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ej(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
77t%2?Tj(Object(n),!0).forEach(function(t){gge(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gge(e,t,n){return(t=_ge(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _ge(e){var t=vge(e,`string`);return typeof t==`symbol`?t:t+``}function vge(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yge(e){return Array.isArray(e)&&uD(e[0])&&uD(e[1])?e.join(` ~ `):e}var Dj={separator:` : `,contentStyle:{margin:0,padding:10,backgroundColor:`#fff`,border:`1px solid #ccc`,whiteSpace:`nowrap`},itemStyle:{display:`block`,paddingTop:4,paddingBottom:4,color:`#000`},labelStyle:{},accessibilityLayer:!1};function bge(e,t){return t==null?e:(0,LD.default)(e,t)}var xge=e=>{var{separator:t=Dj.separator,contentStyle:n,itemStyle:r,labelStyle:i=Dj.labelStyle,payload:a,formatter:o,itemSorter:s,wrapperClassName:c,labelClassName:l,label:u,labelFormatter:d,accessibilityLayer:f=Dj.accessibilityLayer}=e,p=()=>{if(a&&a.length){var e={padding:0,margin:0},n=bge(a,s).map((e,n)=>{if(!e||e.type===`none`)return null;var i=e.formatter||o||yge,{value:s,name:c}=e,l=s,u=c;if(i){var d=i(s,c,e,n,a);if(Array.isArray(d))[l,u]=d;else if(d!=null)l=d;else return null}var f=Ej(Ej({},Dj.itemStyle),{},{color:e.color||Dj.itemStyle.color},r);return O.createElement(`li`,{className:`recharts-tooltip-item`,key:`tooltip-item-${n}`,style:f},uD(u)?O.createElement(`span`,{className:`recharts-tooltip-item-name`},u):null,uD(u)?O.createElement(`span`,{className:`recharts-tooltip-item-separator`},t):null,O.createElement(`span`,{className:`recharts-tooltip-item-value`},l),O.createElement(`span`,{className:`recharts-tooltip-item-unit`},e.unit||``))});return O.createElement(`ul`,{className:`recharts-tooltip-item-list`,style:e},n)}return null},m=Ej(Ej({},Dj.contentStyle),n),h=Ej({margin:0},i),g=!mD(u),_=g?u:``,v=xv(`recharts-default-tooltip`,c),y=xv(`recharts-tooltip-label`,l);g&&d&&a!=null&&(_=d(u,a));var b=f?{role:`status`,"aria-live":`assertive`}:{};return O.createElement(`div`,wj({className:v,style:m},b),O.createElement(`p`,{className:y,style:h},O.isValidElement(_)?_:`${_}`),p())},Oj=`recharts-tooltip-wrapper`,Sge={visibility:`hidden`};function Cge(e){var{coordinate:t,translateX:n,translateY:r}=e;return xv(Oj,{[`${Oj}-right`]:lD(n)&&t&&lD(t.x)&&n>=t.x,[`${Oj}-left`]:lD(n)&&t&&lD(t.x)&&n<t.x,[`${Oj}-bottom`]:lD(r)&&t&&lD(t.y)&&r>=t.y,[`${Oj}-top`]:lD(r)&&t&&lD(t.y)&&r<t.y})}function kj(e){var{allowEscapeViewBox:t,coordinate:n,key:r,offset:i,position:a,reverseDirection:o,tooltipDimension:s,viewBox:c,viewBoxDimension:l}=e;if(a&&lD(a[r]))return a[r];var u=n[r]-s-(i>0?i:0),d=n[r]+i;if(t[r])return o[r]?u:d;var f=c[r];return f==null?0:o[r]?Math.max(u<f?d:u,f):l==null?0:d+s>f+l?Math.max(u,f):Math.max(d,f)}function wge(e){var{translateX:t,translateY:n,useTranslate3d:r}=e;return{transform:r?`translate3d(${t}px, ${n}px, 0)`:`translate(${t}px, ${n}px)`}}function Tge(e){var{allowEscapeViewBox:t,coordinate:n,offsetTop:r,offsetLeft:i,position:a,reverseDirection:o,tooltipBox:s,useTranslate3d:c,viewBox:l}=e,u,d,f;return s.height>0&&s.width>0&&n?(d=kj({allowEscapeViewBox:t,coordinate:n,key:`x`,offset:i,position:a,reverseDirection:o,tooltipDimension:s.width,viewBox:l,viewBoxDimension:l.width}),f=kj({allowEscapeViewBox:t,coordinate:n,key:`y`,offset:r,position:a,reverseDirection:o,tooltipDimension:s.height,viewBox:l,viewBoxDimension:l.height}),u=wge({translateX:d,translateY:f,useTranslate3d:c})):u=Sge,{cssProperties:u,cssClasses:Cge({translateX:d,translateY:f,coordinate:n})}}var Aj={devToolsEnabled:!0,isSsr:!(typeof window<`u`&&window.document&&window.document.createElement&&window.setTimeout)};function jj(){var[e,t]=(0,O.useState)(()=>Aj.isSsr||!window.matchMedia?!1:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches);return(0,O.useEffect)(()=>
77{if(window.matchMedia){var e=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=()=>{t(e.matches)};return e.addEventListener(`change`,n),()=>{e.removeEventListener(`change`,n)}}},[]),e}function Mj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Nj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Mj(Object(n),!0).forEach(function(t){Ege(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ege(e,t,n){return(t=Dge(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dge(e){var t=Oge(e,`string`);return typeof t==`symbol`?t:t+``}function Oge(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function kge(e){if(!(e.prefersReducedMotion&&e.isAnimationActive===`auto`)&&e.isAnimationActive&&e.active)return`transform ${e.animationDuration}ms ${e.animationEasing}`}function Age(e){var t=jj(),[n,r]=O.useState(()=>({dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}));O.useEffect(()=>{var t=t=>{t.key===`Escape`&&r({dismissed:!0,dismissedAtCoordinate:{x:e.coordinate?.x??0,y:e.coordinate?.y??0}})};return document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`keydown`,t)}},[e.coordinate?.x,e.coordinate?.y]),n.dismissed&&((e.coordinate?.x??0)!==n.dismissedAtCoordinate.x||(e.coordinate?.y??0)!==n.dismissedAtCoordinate.y)&&r(Nj(Nj({},n),{},{dismissed:!1}));var{cssClasses:i,cssProperties:a}=Tge({allowEscapeViewBox:e.allowEscapeViewBox,coordinate:e.coordinate,offsetLeft:typeof e.offset==`number`?e.offset:e.offset.x,offsetTop:typeof e.offset==`number`?e.offset:e.offset.y,position:e.position,reverseDirection:e.reverseDirection,tooltipBox:{height:e.lastBoundingBox.height,width:e.lastBoundingBox.width},useTranslate3d:e.useTranslate3d,viewBox:e.viewBox}),o=Nj(Nj({},e.hasPortalFromProps?{}:Nj(Nj({transition:kge({prefersReducedMotion:t,isAnimationActive:e.isAnimationActive,active:e.active,animationDuration:e.animationDuration,animationEasing:e.animationEasing})},a),{},{pointerEvents:`none`,position:`absolute`,top:0,left:0})),{},{visibility:!n.dismissed&&e.active&&e.hasPayload?`visible`:`hidden`},e.wrapperStyle);return O.createElement(`div`,{xmlns:`http://www.w3.org/1999/xhtml`,tabIndex:-1,className:i,style:o,ref:e.innerRef},e.children)}var jge=O.memo(Age),Pj=()=>AD(e=>e.rootProps.accessibilityLayer)??!0;function Fj(){return Fj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fj.apply(null,arguments)}function Ij(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Lj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Ij(Object(n),!0).forEach(function(t){Mge(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ij(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mge(e,t,n){return(t=Nge(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nge(e){var t=Pge(e,`string`);return typeof t==`symbol`?t:t+``}function Pge(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Rj={curveBasisClosed:mfe,curveBasisOpen:hfe,curveBasis:pfe,curveBumpX:$de,curveBumpY:efe,curveLinearClosed:gfe,curveLinear:CE,curveMonotoneX:_fe,curveMonotoneY:vfe,curveNatural:yfe,curveStep:bfe,curveStepAfter:Sfe,curveStepBefore:xfe},zj=e=>Hk(e.x)&&Hk(e.y),Bj=e=>e.base!=null&&zj(e.base)&&zj(e),Vj=e=>e.x,Hj=e=>e.y,Fge=(e,t)=>
77{if(typeof e==`function`)return e;var n=`curve${hD(e)}`;if((n===`curveMonotone`||n===`curveBump`)&&t){var r=Rj[`${n}${t===`vertical`?`Y`:`X`}`];if(r)return r}return Rj[n]||CE},Uj={connectNulls:!1,type:`linear`},Ige=e=>{var{type:t=Uj.type,points:n=[],baseLine:r,layout:i,connectNulls:a=Uj.connectNulls}=e,o=Fge(t,i),s=a?n.filter(zj):n;if(Array.isArray(r)){var c,l=n.map((e,t)=>Lj(Lj({},e),{},{base:r[t]}));return c=i===`vertical`?DE().y(Hj).x1(Vj).x0(e=>e.base.x):DE().x(Vj).y1(Hj).y0(e=>e.base.y),c.defined(Bj).curve(o)(a?l.filter(Bj):l)}return(i===`vertical`&&lD(r)?DE().y(Hj).x1(Vj).x0(r):lD(r)?DE().x(Vj).y1(Hj).y0(r):EE().x(Vj).y(Hj)).defined(zj).curve(o)(s)},Wj=e=>{var{className:t,points:n,path:r,pathRef:i}=e,a=AA();if((!n||!n.length)&&!r)return null;var o={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||a,connectNulls:e.connectNulls},s=n&&n.length?Ige(o):r;return O.createElement(`path`,Fj({},nE(e),yD(e),{className:xv(`recharts-curve`,t),d:s===null?void 0:s,ref:i}))},Lge=[`x`,`y`,`top`,`left`,`width`,`height`,`className`];function Gj(){return Gj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gj.apply(null,arguments)}function Kj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rge(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Kj(Object(n),!0).forEach(function(t){zge(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zge(e,t,n){return(t=Bge(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bge(e){var t=Vge(e,`string`);return typeof t==`symbol`?t:t+``}function Vge(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Hge(e,t){if(e==null)return{};var n,r,i=Uge(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Uge(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Wge=(e,t,n,r,i,a)=>`M${e},${i}v${r}M${a},${t}h${n}`,Gge=e=>{var{x:t=0,y:n=0,top:r=0,left:i=0,width:a=0,height:o=0,className:s}=e,c=Hge(e,Lge),l=Rge({x:t,y:n,top:r,left:i,width:a,height:o},c);return!lD(t)||!lD(n)||!lD(a)||!lD(o)||!lD(r)||!lD(i)?null:O.createElement(`path`,Gj({},iE(l),{className:xv(`recharts-cross`,s),d:Wge(t,n,a,o,r,i)}))};function Kge(e,t,n,r){var i=r/2;return{stroke:`none`,fill:`#ccc`,x:e===`horizontal`?t.x-i:n.left+.5,y:e===`horizontal`?n.top+.5:t.y-i,width:e===`horizontal`?r:n.width-1,height:e===`horizontal`?n.height-1:r}}function qj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qj(Object(n),!0).forEach(function(t){qge(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qge(e,t,n){return(t=Jge(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jge(e){var t=Yge(e,`string`);return typeof t==`symbol`?t:t+``}function Yge(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Xge=e=>e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`),Yj=(e,t,n)=>e.map(e=>`${Xge(e)} ${t}ms ${n}`).join(`,`),Zge=(e,t)=>
77[Object.keys(e),Object.keys(t)].reduce((e,t)=>e.filter(e=>t.includes(e))),Xj=(e,t)=>Object.keys(t).reduce((n,r)=>Jj(Jj({},n),{},{[r]:e(r,t[r])}),{});function Zj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Zj(Object(n),!0).forEach(function(t){Qge(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qge(e,t,n){return(t=$ge(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $ge(e){var t=e_e(e,`string`);return typeof t==`symbol`?t:t+``}function e_e(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var $j=(e,t,n)=>e+(t-e)*n,eM=e=>{var{from:t,to:n}=e;return t!==n},tM=(e,t,n)=>{var r=Xj((t,n)=>{if(eM(n)){var[r,i]=e(n.from,n.to,n.velocity);return Qj(Qj({},n),{},{from:r,velocity:i})}return n},t);return n<1?Xj((e,t)=>eM(t)&&r[e]!=null?Qj(Qj({},t),{},{velocity:$j(t.velocity,r[e].velocity,n),from:$j(t.from,r[e].from,n)}):t,t):tM(e,r,n-1)};function t_e(e,t,n,r,i,a){var o,s=r.reduce((n,r)=>Qj(Qj({},n),{},{[r]:{from:e[r],velocity:0,to:t[r]}}),{}),c=()=>Xj((e,t)=>t.from,s),l=()=>!Object.values(s).filter(eM).length,u=null,d=r=>{o||=r;var f=(r-o)/n.dt;s=tM(n,s,f),i(Qj(Qj(Qj({},e),t),c())),o=r,l()||(u=a.setTimeout(d))};return()=>(u=a.setTimeout(d),()=>{var e;(e=u)==null||e()})}function n_e(e,t,n,r,i,a,o){var s=null,c=i.reduce((n,r)=>{var i=e[r],a=t[r];return i==null||a==null?n:Qj(Qj({},n),{},{[r]:[i,a]})},{}),l,u=i=>{l||=i;var d=(i-l)/r,f=Xj((e,t)=>$j(...t,n(d)),c);if(a(Qj(Qj(Qj({},e),t),f)),d<1)s=o.setTimeout(u);else{var p=Xj((e,t)=>$j(...t,n(1)),c);a(Qj(Qj(Qj({},e),t),p))}};return()=>(s=o.setTimeout(u),()=>{var e;(e=s)==null||e()})}var r_e=(e,t,n,r,i,a)=>{var o=Zge(e,t);return n==null?()=>(i(Qj(Qj({},e),t)),()=>{}):n.isStepper===!0?t_e(e,t,n,o,i,a):n_e(e,t,n,r,o,i,a)},nM=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],rM=(e,t)=>e.map((e,n)=>e*t**n).reduce((e,t)=>e+t),iM=(e,t)=>n=>rM(nM(e,t),n),i_e=(e,t)=>n=>rM([...nM(e,t).map((e,t)=>e*t).slice(1),0],n),a_e=e=>{var t,n=e.split(`(`);if(n.length!==2||n[0]!==`cubic-bezier`)return null;var r=(t=n[1])==null||(t=t.split(`)`)[0])==null?void 0:t.split(`,`);if(r==null||r.length!==4)return null;var i=r.map(e=>parseFloat(e));return[i[0],i[1],i[2],i[3]]},o_e=function(){var e=[...arguments];if(e.length===1)switch(e[0]){case`linear`:return[0,0,1,1];case`ease`:return[.25,.1,.25,1];case`ease-in`:return[.42,0,1,1];case`ease-out`:return[.42,0,.58,1];case`ease-in-out`:return[0,0,.58,1];default:var t=a_e(e[0]);if(t)return t}return e.length===4?e:[0,0,1,1]},s_e=(e,t,n,r)=>{var i=iM(e,n),a=iM(t,r),o=i_e(e,n),s=e=>e>1?1:e<0?0:e,c=e=>{for(var t=e>1?1:e,n=t,r=0;r<8;++r){var c=i(n)-t,l=o(n);if(Math.abs(c-t)<1e-4||l<1e-4)return a(n);n=s(n-c/l)}return a(n)};return c.isStepper=!1,c},aM=function(){return s_e(...o_e(...arguments))},c_e=function(){var{stiff:e=100,damping:t=8,dt:n=17}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=(r,i,a)=>{var o=a+(-(r-i)*e-a*t)*n/1e3,s=a*n/1e3+r;return Math.abs(s-i)<1e-4&&Math.abs(o)<1e-4?[i,0]:[s,o]};return r.isStepper=!0,r.dt=n,r},l_e=e=>{if(typeof e==`string`)switch(e){case`ease`:case`ease-in-out`:case`ease-out`:case`ease-in`:case`linear`:return aM(e);case`spring`:return c_e();default:if(e.split(`(`)[0]===`cubic-bezier`)return aM(e)}return typeof e==`function`?e:null};function u_e(e){var t,n=()=>null,r=!1,i=null,a=o=>{if(!r){if(Array.isArray(o)){if(!o.length)return;var[s,...c]=o;if(typeof s==`number`){i=e.setTimeout(a.bind(null,c),s);return}a(s),i=e.setTimeout(a.bind(null,c));return}typeof o==`string`&&(t=o,n(t)),typeof o==`object`&&(t=o,n(t)),typeof o==`function`&&o()}};return{stop:()=>{r=!0},start:e=>{r=!1,i&&=(i(),null),a(e)},subscribe:e=>(n=e,()=>{n=()=>null}),getTimeoutController:()=>e}}
77var d_e=class{setTimeout(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=performance.now(),r=null,i=a=>{a-n>=t?e(a):typeof requestAnimationFrame==`function`&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>{r!=null&&cancelAnimationFrame(r)}}};function f_e(){return u_e(new d_e)}var p_e=(0,O.createContext)(f_e);function m_e(e,t){var n=(0,O.useContext)(p_e);return(0,O.useMemo)(()=>t??n(e),[e,t,n])}var h_e={begin:0,duration:1e3,easing:`ease`,isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},oM={t:0},sM={t:1};function cM(e){var t=bD(e,h_e),{isActive:n,canBegin:r,duration:i,easing:a,begin:o,onAnimationEnd:s,onAnimationStart:c,children:l}=t,u=jj(),d=n===`auto`?!Aj.isSsr&&!u:n,f=m_e(t.animationId,t.animationManager),[p,m]=(0,O.useState)(d?oM:sM),h=(0,O.useRef)(null);return(0,O.useEffect)(()=>{d||m(sM)},[d]),(0,O.useEffect)(()=>{if(!d||!r)return _D;var e=r_e(oM,sM,l_e(a),i,m,f.getTimeoutController());return f.start([c,o,()=>{h.current=e()},i,s]),()=>{f.stop(),h.current&&h.current(),s()}},[d,r,i,a,o,c,s,f]),l(p.t)}function lM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`animation-`,n=(0,O.useRef)(dD(t)),r=(0,O.useRef)(e);return r.current!==e&&(n.current=dD(t),r.current=e),n.current}var g_e=[`radius`],__e=[`radius`],v_e,y_e,b_e,x_e,S_e,C_e,w_e,T_e,E_e,D_e;function uM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uM(Object(n),!0).forEach(function(t){O_e(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function O_e(e,t,n){return(t=k_e(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k_e(e){var t=A_e(e,`string`);return typeof t==`symbol`?t:t+``}function A_e(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function fM(){return fM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fM.apply(null,arguments)}function pM(e,t){if(e==null)return{};var n,r,i=j_e(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function j_e(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function mM(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var hM=(e,t,n,r,i)=>{var a=rD(n),o=rD(r),s=Math.min(Math.abs(a)/2,Math.abs(o)/2),c=o>=0?1:-1,l=a>=0?1:-1,u=+(o>=0&&a>=0||o<0&&a<0),d;if(s>0&&Array.isArray(i)){for(var f=[0,0,0,0],p=0,m=4;p<m;p++){var h=i[p]??0;f[p]=h>s?s:h}d=iD(v_e||=mM([`M`,`,`,``]),e,t+c*f[0]),f[0]>0&&(d+=iD(y_e||=mM([`A `,`,`,`,0,0,`,`,`,`,`,``]),f[0],f[0],u,e+l*f[0],t)),d+=iD(b_e||=mM([`L `,`,`,``]),e+n-l*f[1],t),f[1]>0&&(d+=iD(x_e||=mM([`A `,`,`,`,0,0,`,`, 78 `,`,`,``]),f[1],f[1],u,e+n,t+c*f[1])),d+=iD(S_e||=mM([`L `,`,`,``]),e+n,t+r-c*f[2]),f[2]>0&&(d+=iD(C_e||=mM([`A `,`,`,`,0,0,`,`, 79 `,`,`,``]),f[2],f[2],u,e+n-l*f[2],t+r)),d+=iD(w_e||=mM([`L `,`,`,``]),e+l*f[3],t+r),f[3]>0&&(d+=iD(T_e||=mM([`A `,`,`,`,0,0,`,`, 80 `,`,`,``]),f[3],f[3],u,e,t+r-c*f[3])),d+=`Z`}else if(s>0&&i===+i&&i>0){var g=Math.min(s,i);d=iD(E_e||=mM(`M .,. 81 A .,.,0,0,.,.,. 82 L .,. 83 A .,.,0,0,.,.,. 84 L .,. 85 A .,.,0,0,.,.,. 86 L .,. 87 A .,.,0,0,.,.,. Z`.split(`.`)),e,t+c*g,g,g,u,e+l*g,t,e+n-l*g,t,g,g,u,e+n,t+c*g,e+n,t+r-c*g,g,g,u,e+n-l*g,t+r,e+l*g,t+r,g,g,u,e,t+r-c*g)}else d=iD(D_e||=mM([`M `,`,`,` h `,` v `,` h `,` Z`]),e,t,n,r,-n);return d},gM={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},_M=e=>{var t=bD(e,gM),n=(0,O.useRef)(null),[r,i]=(0,O.useState)(-1);(0,O.useEffect)(()=>
87{if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&i(e)}catch{}},[]);var{x:a,y:o,width:s,height:c,radius:l,className:u}=t,{animationEasing:d,animationDuration:f,animationBegin:p,isAnimationActive:m,isUpdateAnimationActive:h}=t,g=(0,O.useRef)(s),_=(0,O.useRef)(c),v=(0,O.useRef)(a),y=(0,O.useRef)(o),b=lM((0,O.useMemo)(()=>({x:a,y:o,width:s,height:c,radius:l}),[a,o,s,c,l]),`rectangle-`);if(a!==+a||o!==+o||s!==+s||c!==+c||s===0||c===0)return null;var x=xv(`recharts-rectangle`,u);if(!h){var S=iE(t),{radius:C}=S,w=pM(S,g_e);return O.createElement(`path`,fM({},w,{x:rD(a),y:rD(o),width:rD(s),height:rD(c),radius:typeof l==`number`?l:void 0,className:x,d:hM(a,o,s,c,l)}))}var T=g.current,E=_.current,D=v.current,k=y.current,A=`0px ${r===-1?1:r}px`,j=`${r}px ${r}px`,M=Yj([`strokeDasharray`],f,typeof d==`string`?d:gM.animationEasing);return O.createElement(cM,{animationId:b,key:b,canBegin:r>0,duration:f,easing:d,isActive:h,begin:p},e=>{var r=pD(T,s,e),i=pD(E,c,e),u=pD(D,a,e),d=pD(k,o,e);n.current&&(g.current=r,_.current=i,v.current=u,y.current=d);var f=m?e>0?{transition:M,strokeDasharray:j}:{strokeDasharray:A}:{strokeDasharray:j},p=iE(t),{radius:h}=p,b=pM(p,__e);return O.createElement(`path`,fM({},b,{radius:typeof l==`number`?l:void 0,className:x,d:hM(u,d,r,i,l),ref:n,style:dM(dM({},f),t.style)}))})};function vM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?vM(Object(n),!0).forEach(function(t){M_e(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function M_e(e,t,n){return(t=N_e(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N_e(e){var t=P_e(e,`string`);return typeof t==`symbol`?t:t+``}function P_e(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var bM=Math.PI/180,F_e=e=>e*180/Math.PI,xM=(e,t,n,r)=>({x:e+Math.cos(-bM*r)*n,y:t+Math.sin(-bM*r)*n}),I_e=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0,width:0,height:0,brushBottom:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},L_e=(e,t)=>{var{x:n,y:r}=e,{x:i,y:a}=t;return Math.sqrt((n-i)**2+(r-a)**2)},R_e=(e,t)=>{var{x:n,y:r}=e,{cx:i,cy:a}=t,o=L_e({x:n,y:r},{x:i,y:a});if(o<=0)return{radius:o,angle:0};var s=(n-i)/o,c=Math.acos(s);return r>a&&(c=2*Math.PI-c),{radius:o,angle:F_e(c),angleInRadian:c}},z_e=e=>{var{startAngle:t,endAngle:n}=e,r=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(r,i);return{startAngle:t-a*360,endAngle:n-a*360}},B_e=(e,t)=>{var{startAngle:n,endAngle:r}=t,i=Math.floor(n/360),a=Math.floor(r/360);return e+Math.min(i,a)*360},V_e=(e,t)=>{var{relativeX:n,relativeY:r}=e,{radius:i,angle:a}=R_e({x:n,y:r},t),{innerRadius:o,outerRadius:s}=t;if(i<o||i>s||i===0)return null;var{startAngle:c,endAngle:l}=z_e(t),u=a,d;if(c<=l){for(;u>l;)u-=360;for(;u<c;)u+=360;d=u>=c&&u<=l}else{for(;u>c;)u-=360;for(;u<l;)u+=360;d=u>=l&&u<=c}return d?yM(yM({},t),{},{radius:i,angle:B_e(u,t)}):null};function SM(e){var{cx:t,cy:n,radius:r,startAngle:i,endAngle:a}=e;return{points:[xM(t,n,r,i),xM(t,n,r,a)],cx:t,cy:n,radius:r,startAngle:i,endAngle:a}}var H_e,U_e,W_e,G_e,K_e,q_e,J_e;function CM(){return CM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CM.apply(null,arguments)}function wM(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Y_e=(e,t)=>
87oD(t-e)*Math.min(Math.abs(t-e),359.999),TM=e=>{var{cx:t,cy:n,radius:r,angle:i,sign:a,isExternal:o,cornerRadius:s,cornerIsExternal:c}=e,l=s*(o?1:-1)+r,u=Math.asin(s/l)/bM,d=c?i:i+a*u,f=xM(t,n,l,d),p=xM(t,n,r,d),m=c?i-a*u:i;return{center:f,circleTangency:p,lineTangency:xM(t,n,l*Math.cos(u*bM),m),theta:u}},EM=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o}=e,s=Y_e(a,o),c=a+s,l=xM(t,n,i,a),u=xM(t,n,i,c),d=iD(H_e||=wM([`M `,`,`,` 88 A `,`,`,`,0, 89 `,`,`,`, 90 `,`,`,` 91 `]),l.x,l.y,i,i,+(Math.abs(s)>180),+(a>c),u.x,u.y);if(r>0){var f=xM(t,n,r,a),p=xM(t,n,r,c);d+=iD(U_e||=wM([`L `,`,`,` 92 A `,`,`,`,0, 93 `,`,`,`, 94 `,`,`,` Z`]),p.x,p.y,r,r,+(Math.abs(s)>180),+(a<=c),f.x,f.y)}else d+=iD(W_e||=wM([`L `,`,`,` Z`]),t,n);return d},X_e=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,cornerRadius:a,forceCornerRadius:o,cornerIsExternal:s,startAngle:c,endAngle:l}=e,u=oD(l-c),{circleTangency:d,lineTangency:f,theta:p}=TM({cx:t,cy:n,radius:i,angle:c,sign:u,cornerRadius:a,cornerIsExternal:s}),{circleTangency:m,lineTangency:h,theta:g}=TM({cx:t,cy:n,radius:i,angle:l,sign:-u,cornerRadius:a,cornerIsExternal:s}),_=s?Math.abs(c-l):Math.abs(c-l)-p-g;if(_<0)return o?iD(G_e||=wM([`M `,`,`,` 95 a`,`,`,`,0,0,1,`,`,0 96 a`,`,`,`,0,0,1,`,`,0 97 `]),f.x,f.y,a,a,a*2,a,a,-a*2):EM({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var v=iD(K_e||=wM([`M `,`,`,` 98 A`,`,`,`,0,0,`,`,`,`,`,` 99 A`,`,`,`,0,`,`,`,`,`,`,`,` 100 A`,`,`,`,0,0,`,`,`,`,`,` 101 `]),f.x,f.y,a,a,+(u<0),d.x,d.y,i,i,+(_>180),+(u<0),m.x,m.y,a,a,+(u<0),h.x,h.y);if(r>0){var{circleTangency:y,lineTangency:b,theta:x}=TM({cx:t,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),{circleTangency:S,lineTangency:C,theta:w}=TM({cx:t,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),T=s?Math.abs(c-l):Math.abs(c-l)-x-w;if(T<0&&a===0)return`${v}L${t},${n}Z`;v+=iD(q_e||=wM([`L`,`,`,` 102 A`,`,`,`,0,0,`,`,`,`,`,` 103 A`,`,`,`,0,`,`,`,`,`,`,`,` 104 A`,`,`,`,0,0,`,`,`,`,`,`Z`]),C.x,C.y,a,a,+(u<0),S.x,S.y,r,r,+(T>180),+(u>0),y.x,y.y,a,a,+(u<0),b.x,b.y)}else v+=iD(J_e||=wM([`L`,`,`,`Z`]),t,n);return v},Z_e={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},DM=e=>{var t=bD(e,Z_e),{cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:o,forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u,className:d}=t;if(a<i||l===u)return null;var f=xv(`recharts-sector`,d),p=a-i,m=fD(o,p,0,!0),h=m>0&&Math.abs(l-u)<360?X_e({cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:Math.min(m,p/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u}):EM({cx:n,cy:r,innerRadius:i,outerRadius:a,startAngle:l,endAngle:u});return O.createElement(`path`,CM({},iE(t),{className:f,d:h}))};function Q_e(e,t,n){if(e===`horizontal`)return[{x:t.x,y:n.top},{x:t.x,y:n.top+n.height}];if(e===`vertical`)return[{x:n.left,y:t.y},{x:n.left+n.width,y:t.y}];if(Zfe(t)){if(e===`centric`){var{cx:r,cy:i,innerRadius:a,outerRadius:o,angle:s}=t,c=xM(r,i,a,s),l=xM(r,i,o,s);return[{x:c.x,y:c.y},{x:l.x,y:l.y}]}return SM(t)}}var $_e=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=FD();function n(e){return t.isSymbol(e)?NaN:Number(e)}e.toNumber=n})),eve=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=$_e();function n(e){return e?(e=t.toNumber(e),e===1/0||e===-1/0?(e<0?-1:1)*Number.MAX_VALUE:e===e?e:0):e===0?e:0}e.toFinite=n})),tve=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ID(),n=eve();function r(e,r,i){i&&typeof i!=`number`&&t.isIterateeCall(e,r,i)&&(r=i=void 0),e=n.toFinite(e),r===void 0?(r=e,e=0):r=n.toFinite(r),i=i===void 0?e<r?1:-1:n.toFinite(i);let a=Math.max(Math.ceil((r-e)/(i||1)),0),o=Array(a);for(let t=0;t<a;t++)o[t]=e,e+=i;return o}e.range=r})),nve=o(((e,t)=>{t.exports=tve().range})),OM=e=>e.chartData,kM=Q([OM],e=>{var t=e.chartData==null?0:e.chartData.length-1;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),AM=(e,t,n,r)=>
104r?kM(e):OM(e),rve=(e,t,n)=>n?kM(e):OM(e),ive=Q([AM],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)});Q([kM],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)});var ave=Q([OM],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)});function jM(e){if(Array.isArray(e)&&e.length===2){var[t,n]=e;if(Hk(t)&&Hk(n))return!0}return!1}function MM(e,t,n){return n?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function NM(e,t){if(t&&typeof e!=`function`&&Array.isArray(e)&&e.length===2){var[n,r]=e,i,a;if(Hk(n))i=n;else if(typeof n==`function`)return;if(Hk(r))a=r;else if(typeof r==`function`)return;var o=[i,a];if(jM(o))return o}}function ove(e,t,n){if(!(!n&&t==null)){if(typeof e==`function`&&t!=null)try{var r=e(t,n);if(jM(r))return MM(r,t,n)}catch{}if(Array.isArray(e)&&e.length===2){var[i,a]=e,o,s;if(i===`auto`)t!=null&&(o=Math.min(...t));else if(lD(i))o=i;else if(typeof i==`function`)try{t!=null&&(o=i(t?.[0]))}catch{}else if(typeof i==`string`&&Zk.test(i)){var c=Zk.exec(i);if(c==null||c[1]==null||t==null)o=void 0;else{var l=+c[1];o=t[0]-l}}else o=t?.[0];if(a===`auto`)t!=null&&(s=Math.max(...t));else if(lD(a))s=a;else if(typeof a==`function`)try{t!=null&&(s=a(t?.[1]))}catch{}else if(typeof a==`string`&&Qk.test(a)){var u=Qk.exec(a);if(u==null||u[1]==null||t==null)s=void 0;else{var d=+u[1];s=t[1]+d}}else s=t?.[1];var f=[o,s];if(jM(f))return t==null?f:MM(f,t,n)}}}var PM=l(o(((e,t)=>{(function(e){var n=1e9,r={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:`2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286`},i=!0,a=`[DecimalError] `,o=a+`Invalid argument: `,s=a+`Exponent out of range: `,c=Math.floor,l=Math.pow,u=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d,f=1e7,p=7,m=9007199254740991,h=c(m/p),g={};g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&=1,e},g.comparedTo=g.cmp=function(e){var t,n,r,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(r=a.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*p;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return b(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this,n=t.constructor;return D(b(t,new n(e),0,1),n.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return this.s===0},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,s=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(d))throw Error(a+`NaN`);if(n.s<1)throw Error(a+(n.s?`NaN`:`-Infinity`));return n.eq(d)?new r(0):(i=!1,t=b(T(n,s),T(e,s),s),i=!0,D(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?O(t,e):_(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(a+`NaN`);return n.s?(i=!1,t=b(n,e,0,1).times(e),i=!0,n.minus(t)):D(new r(n),o)},g.naturalExponential=g.exp=function(){return x(this)},g.naturalLogarithm=g.ln=function(){return T(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_(t,e):O(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(o+e);if(t=S(i)+1,r=i.d.length-1,n=r*p+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,s,l,u=this,d=u.constructor;if(u.s<1){if(!u.s)return new d(0);throw Error(a+`NaN`)}for(e=S(u),i=!1,o=Math.sqrt(+u),o==0||o==1/0?(t=y(u.d),(t.length+e)%2==0&&(t+=`0`),o=Math.sqrt(t),e=c((e+1)/2)-(e<0||e%2),o==1/0?t=`5e`+e:(t=o.toExponential(),t=t.slice(0,t.indexOf(`e`)+1)+e),r=new d(t)):r=new d(o.toString()),n=d.precision,o=l=n+3;;)if(s=r,r=s.plus(b(u,s,l+2)).times(.5),y(s.d).slice(0,l)===(t=y(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),o==l&&t==`4999`){if(D(s,n+1,0),s.times(s).eq(u)){r=s;break}}else if(t!=`9999`)break;l+=4}return i=!0,D(r,n)},g.times=g.mul=function(e){var t,n,r,a,o,s,c,l,u,d=this,p=d.constructor,m=d.d,h=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,n=d.e+e.e,l=m.length,u=h.length,l<u&&(o=m,m=h,h=o,s=l,l=u,u=s),o=[],s=l+u,r=s;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,a=l+r;a>r;)c=o[a]+h[r]*m[a-r-1]+t,o[a--]=c%f|0,t=c/f|0;o[a]=(o[a]+t)%f|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,i?D(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,i=r.constructor;return r=new i(r),e===void 0?r:(v(e,0,n),t===void 0?t=i.rounding:v(t,0,8),D(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,i=this,a=i.constructor;return e===void 0?r=k(i,!0):(v(e,0,n),t===void 0?t=a.rounding:v(t,0,8),i=D(new a(i),e+1,t),r=k(i,!0,e+1)),r},g.toFixed=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?k(a):(v(e,0,n),t===void 0?t=o.rounding:v(t,0,8),i=D(new o(a),e+S(a)+1,t),r=k(i.abs(),!1,e+S(i)+1),a.isneg()&&!a.isZero()?`-`+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return D(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,s,l,u=this,f=u.constructor,h=12,g=+(e=new f(e));if(!e.s)return new f(d);if(u=new f(u),!u.s){if(e.s<1)throw Error(a+`Infinity`);return u}if(u.eq(d))return u;if(r=f.precision,e.eq(d))return D(u,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=u.s,!l){if(s<0)throw Error(a+`NaN`)}else if((n=g<0?-g:g)<=m){for(o=new f(d),t=Math.ceil(r/p+4),i=!1;n%2&&(o=o.times(u),A(o.d,t)),n=c(n/2),n!==0;)u=u.times(u),A(u.d,t);return i=!0,e.s<0?new f(d).div(o):D(o,r)}return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,i=!1,o=e.times(T(u,r+h)),i=!0,o=x(o),o.s=s,o},g.toPrecision=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?(r=S(a),i=k(a,r<=o.toExpNeg||r>=o.toExpPos)):(v(e,1,n),t===void 0?t=o.rounding:v(t,0,8),a=D(new o(a),e,t),r=S(a),i=k(a,e<=r||r<=o.toExpNeg,e)),i},g.toSignificantDigits=g.tosd=function(e,t){var r=this,i=r.constructor;return e===void 0?(e=i.precision,t=i.rounding):(v(e,1,n),t===void 0?t=i.rounding:v(t,0,8)),D(new i(r),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),n=e.constructor;return k(e,t<=n.toExpNeg||t>=n.toExpPos)};function _(e,t){var n,r,a,o,s,c,l,u,d=e.constructor,m=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),i?D(t,m):t;if(l=e.d,u=t.d,s=e.e,a=t.e,l=l.slice(),o=s-a,o){for(o<0?(r=l,o=-o,c=u.length):(r=u,a=s,c=l.length),s=Math.ceil(m/p),c=s>c?s+1:c+1,o>c&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(c=l.length,o=u.length,c-o<0&&(o=c,r=u,u=l,l=r),n=0;o;
vendor: 5,099 bytes, line 104
104)n=(l[--o]=l[o]+u[o]+n)/f|0,l[o]%=f;for(n&&(l.unshift(n),++a),c=l.length;l[--c]==0;)l.pop();return t.d=l,t.e=a,i?D(t,m):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(o+e)}function y(e){var t,n,r,i=e.length-1,a=``,o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)r=e[t]+``,n=p-r.length,n&&(a+=w(n)),a+=r;o=e[t],r=o+``,n=p-r.length,n&&(a+=w(n))}else if(o===0)return`0`;for(;o%10==0;)o/=10;return a+o}var b=(function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=+(e[n]<t[n]),e[n]=r*f+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,s){var c,l,u,d,m,h,g,_,v,y,b,x,C,w,T,E,O,k,A=r.constructor,j=r.s==i.s?1:-1,M=r.d,N=i.d;if(!r.s)return new A(r);if(!i.s)throw Error(a+`Division by zero`);for(l=r.e-i.e,O=N.length,T=M.length,g=new A(j),_=g.d=[],u=0;N[u]==(M[u]||0);)++u;if(N[u]>(M[u]||0)&&--l,x=o==null?o=A.precision:s?o+(S(r)-S(i))+1:o,x<0)return new A(0);if(x=x/p+2|0,u=0,O==1)for(d=0,N=N[0],x++;(u<T||d)&&x--;u++)C=d*f+(M[u]||0),_[u]=C/N|0,d=C%N|0;else{for(d=f/(N[0]+1)|0,d>1&&(N=e(N,d),M=e(M,d),O=N.length,T=M.length),w=O,v=M.slice(0,O),y=v.length;y<O;)v[y++]=0;k=N.slice(),k.unshift(0),E=N[0],N[1]>=f/2&&++E;do d=0,c=t(N,v,O,y),c<0?(b=v[0],O!=y&&(b=b*f+(v[1]||0)),d=b/E|0,d>1?(d>=f&&(d=f-1),m=e(N,d),h=m.length,y=v.length,c=t(m,v,h,y),c==1&&(d--,n(m,O<h?k:N,h))):(d==0&&(c=d=1),m=N.slice()),h=m.length,h<y&&m.unshift(0),n(v,m,y),c==-1&&(y=v.length,c=t(N,v,O,y),c<1&&(d++,n(v,O<y?k:N,y))),y=v.length):c===0&&(d++,v=[0]),_[u++]=d,c&&v[0]?v[y++]=M[w]||0:(v=[M[w]],y=1);while((w++<T||v[0]!==void 0)&&x--)}return _[0]||_.shift(),g.e=l,D(g,s?o+S(g)+1:o)}})();function x(e,t){var n,r,a,o,c,u,f=0,p=0,m=e.constructor,h=m.precision;if(S(e)>16)throw Error(s+S(e));if(!e.s)return new m(d);for(t==null?(i=!1,u=h):u=t,c=new m(.03125);e.abs().gte(.1);)e=e.times(c),p+=5;for(r=Math.log(l(2,p))/Math.LN10*2+5|0,u+=r,n=a=o=new m(d),m.precision=u;;){if(a=D(a.times(e),u),n=n.times(++f),c=o.plus(b(a,n,u)),y(c.d).slice(0,u)===y(o.d).slice(0,u)){for(;p--;)o=D(o.times(o),u);return m.precision=h,t==null?(i=!0,D(o,h)):o}o=c}}function S(e){for(var t=e.e*p,n=e.d[0];n>=10;n/=10)t++;return t}function C(e,t,n){if(t>e.LN10.sd())throw i=!0,n&&(e.precision=n),Error(a+`LN10 precision limit exceeded`);return D(new e(e.LN10),t)}function w(e){for(var t=``;e--;)t+=`0`;return t}function T(e,t){var n,r,o,s,c,l,u,f,p,m=1,h=10,g=e,_=g.d,v=g.constructor,x=v.precision;if(g.s<1)throw Error(a+(g.s?`NaN`:`-Infinity`));if(g.eq(d))return new v(0);if(t==null?(i=!1,f=x):f=t,g.eq(10))return t??(i=!0),C(v,f);if(f+=h,v.precision=f,n=y(_),r=n.charAt(0),s=S(g),Math.abs(s)<0x5543df729c000){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)g=g.times(e),n=y(g.d),r=n.charAt(0),m++;s=S(g),r>1?(g=new v(`0.`+n),s++):g=new v(r+`.`+n.slice(1))}else return u=C(v,f+2,x).times(s+``),g=T(new v(r+`.`+n.slice(1)),f-h).plus(u),v.precision=x,t==null?(i=!0,D(g,x)):g;for(l=c=g=b(g.minus(d),g.plus(d),f),p=D(g.times(g),f),o=3;;){if(c=D(c.times(p),f),u=l.plus(b(c,new v(o),f)),y(u.d).slice(0,f)===y(l.d).slice(0,f))return l=l.times(2),s!==0&&(l=l.plus(C(v,f+2,x).times(s+``))),l=b(l,new v(m),f),v.precision=x,t==null?(i=!0,D(l,x)):l;l=u,o+=2}}function E(e,t){var n,r,a;for((n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=c(n/p),e.d=[],r=(n+1)%p,n<0&&(r+=p),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=p;r<a;)e.d.push(+t.slice(r,r+=p));t=t.slice(r),r=p-t.length}else r-=a;for(;r--;)t+=`0`;if(e.d.push(+t),i&&(e.e>h||e.e<-h))throw Error(s+n)}else e.s=0,e.e=0,e.d=[0];return e}function D(e,t,n){var r,a,o,u,d,m,g,_,v=e.d;for(u=1,o=v[0];o>=10;o/=10)u++;if(r=t-u,r<0)r+=p,a=t,g=v[_=0];else{if(_=Math.ceil((r+1)/p),o=v.length,_>=o)return e;for(g=o=v[_],u=1;o>=10;o/=10)u++;r%=p,a=r-p+u}if(n!==void 0&&(o=l(10,u-a-1),d=g/o%10|0,m=t<0||v[_+1]!==void 0||g%o,m=n<4?(d||m)&&(n==0||n==(e.s<0?3:2)):d>5||d==5&&(n==4||m||n==6&&(r>0?a>0?g/l(10,u-a):0:v[_-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return m?(o=S(e),v.length=1,t=t-o-1,v[0]=l(10,(p-t%p)%p),e.e=c(-t/p)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(r==0?(v.length=_,o=1,_--):(v.length=_+1,o=l(10,p-r),v[_]=a>0?(g/l(10,u-a)%l(10,a)|0)*o:0),m)for(;;)if(_==0){(v[0]+=o)==f&&(v[0]=1,++e.e);break}else{if(v[_]+=o,v[_]!=f)break;v[_--]=0,o=1}for(r=v.length;v[--r]===0;)v.pop();if(i&&(e.e>h||e.e<-h))throw Error(s+S(e));return e}function O(e,t){var n,r,a,o,s,c,l,u,d,m,h=e.constructor,g=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),i?D(t,g):t;if(l=e.d,m=t.d,r=t.e,u=e.e,l=l.slice(),s=u-r,s){for(d=s<0,d?(n=l,s=-s,c=m.length):(n=m,r=u,c=l.length),a=Math.max(Math.ceil(g/p),c)+2,s>a&&(s=a,n.length=1),n.reverse(),a=s;a--;)n.push(0);n.reverse()}else{for(a=l.length,c=m.length,d=a<c,d&&(c=a),a=0;a<c;a++)if(l[a]!=m[a]){d=l[a]<m[a];break}s=0}for(d&&(n=l,l=m,m=n,t.s=-t.s),c=l.length,a=m.length-c;a>
1040;--a)l[c++]=0;for(a=m.length;a>s;){if(l[--a]<m[a]){for(o=a;o&&l[--o]===0;)l[o]=f-1;--l[o],l[a]+=f}l[a]-=m[a]}for(;l[--c]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(t.d=l,t.e=r,i?D(t,g):t):new h(0)}function k(e,t,n){var r,i=S(e),a=y(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+`.`+a.slice(1)+w(r):o>1&&(a=a.charAt(0)+`.`+a.slice(1)),a=a+(i<0?`e`:`e+`)+i):i<0?(a=`0.`+w(-i-1)+a,n&&(r=n-o)>0&&(a+=w(r))):i>=o?(a+=w(i+1-o),n&&(r=n-i-1)>0&&(a=a+`.`+w(r))):((r=i+1)<o&&(a=a.slice(0,r)+`.`+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+=`.`),a+=w(r))),e.s<0?`-`+a:a}function A(e,t){if(e.length>t)return e.length=t,!0}function j(e){var t,n,r;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i){t.s=e.s,t.e=e.e,t.d=(e=e.d)?e.slice():e;return}if(typeof e==`number`){if(e*0!=0)throw Error(o+e);if(e>0)t.s=1;else if(e<0)e=-e,t.s=-1;else{t.s=0,t.e=0,t.d=[0];return}if(e===~~e&&e<1e7){t.e=0,t.d=[e];return}return E(t,e.toString())}if(typeof e!=`string`)throw Error(o+e);if(e.charCodeAt(0)===45?(e=e.slice(1),t.s=-1):t.s=1,u.test(e))E(t,e);else throw Error(o+e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=j,i.config=i.set=M,e===void 0&&(e={}),e)for(r=[`precision`,`rounding`,`toExpNeg`,`toExpPos`,`LN10`],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function M(e){if(!e||typeof e!=`object`)throw Error(a+`Object expected`);var t,r,i,s=[`precision`,1,n,`rounding`,0,8,`toExpNeg`,-1/0,0,`toExpPos`,0,1/0];for(t=0;t<s.length;t+=3)if((i=e[r=s[t]])!==void 0)if(c(i)===i&&i>=s[t+1]&&i<=s[t+2])this[r]=i;else throw Error(o+r+`: `+i);if((i=e[r=`LN10`])!==void 0)if(i==Math.LN10)this[r]=new this(i);else throw Error(o+r+`: `+i);return this}r=j(r),r.default=r.Decimal=r,d=new r(1),typeof define==`function`&&define.amd?define(function(){return r}):t!==void 0&&t.exports?t.exports=r:(e||=typeof self<`u`&&self&&self.self==self?self:Function(`return this`)(),e.Decimal=r)})(e)}))());function FM(e){return e===0?1:Math.floor(new PM.default(e).abs().log(10).toNumber())+1}function IM(e,t,n){for(var r=new PM.default(e),i=0,a=[];r.lt(t)&&i<1e5;)a.push(r.toNumber()),r=r.add(n),i++;return a}var LM=e=>{var[t,n]=e,[r,i]=[t,n];return t>n&&([r,i]=[n,t]),[r,i]},RM=(e,t,n)=>{if(e.lte(0))return new PM.default(0);var r=FM(e.toNumber()),i=new PM.default(10).pow(r),a=e.div(i),o=r===1?.1:.05,s=new PM.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);return t?new PM.default(s.toNumber()):new PM.default(Math.ceil(s.toNumber()))},zM=(e,t,n)=>{if(e.lte(0))return new PM.default(0);var r=[1,2,2.5,5],i=e.toNumber(),a=Math.floor(new PM.default(i).abs().log(10).toNumber()),o=new PM.default(10).pow(a),s=e.div(o).toNumber(),c=r.findIndex(e=>e>=s-1e-10);if(c===-1&&(o=o.mul(10),c=0),c+=n,c>=r.length){var l=Math.floor(c/r.length);c%=r.length,o=o.mul(new PM.default(10).pow(l))}var u=r[c]??1,d=new PM.default(u).mul(o);return t?d:new PM.default(Math.ceil(d.toNumber()))},sve=(e,t,n)=>{var r=new PM.default(1),i=new PM.default(e);if(!i.isint()&&n){var a=Math.abs(e);a<1?(r=new PM.default(10).pow(FM(e)-1),i=new PM.default(Math.floor(i.div(r).toNumber())).mul(r)):a>1&&(i=new PM.default(Math.floor(e)))}else e===0?i=new PM.default(Math.floor((t-1)/2)):n||(i=new PM.default(Math.floor(e)));for(var o=Math.floor((t-1)/2),s=[],c=0;c<t;c++)s.push(i.add(new PM.default(c-o).mul(r)).toNumber());return s},BM=function(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:RM;if(!Number.isFinite((t-e)/(n-1)))return{step:new PM.default(0),tickMin:new PM.default(0),tickMax:new PM.default(0)};var o=a(new PM.default(t).sub(e).div(n-1),r,i),s;e<=0&&t>=0?s=new PM.default(0):(s=new PM.default(e).add(t).div(2),s=s.sub(new PM.default(s).mod(o)));var c=Math.ceil(s.sub(e).div(o).toNumber()),l=Math.ceil(new PM.default(t).sub(s).div(o).toNumber()),u=c+l+1;return u>n?BM(e,t,n,r,i+1,a):(u<n&&(l=t>0?l+(n-u):l,c=t>0?c:c+(n-u)),{step:o,tickMin:s.sub(new PM.default(c).mul(o)),tickMax:s.add(new PM.default(l).mul(o))})},VM=function(e){var[t,n]=e,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,o=Math.max(r,2),[s,c]=LM([t,n]);if(s===-1/0||c===1/0){var l=c===1/0?[s,...Array(r-1).fill(1/0)]:[...Array(r-1).fill(-1/0),c];return t>n?l.reverse():l}if(s===c)return sve(s,r,i);var{step:u,tickMin:d,tickMax:f}=BM(s,c,o,i,0,a===`snap125`?zM:RM),p=IM(d,f.add(new PM.default(.1).mul(u)),u);return t>n?p.reverse():p},HM=function(e,t){var[n,r]=e,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,[o,s]=LM([n,r]);if(o===-1/0||s===1/0)return[n,r];if(o===s)return[o];var c=a===`snap125`?zM:RM,l=Math.max(t,2),u=c(new PM.default(s).sub(o).div(l-1),i,0
104),d=[...IM(new PM.default(o),new PM.default(s),u),s];return i===!1&&(d=d.map(e=>Math.round(e))),n>r?d.reverse():d},cve=e=>e.rootProps.barCategoryGap,UM=e=>e.rootProps.stackOffset,WM=e=>e.rootProps.reverseStackOrder,GM=e=>e.options.chartName,KM=e=>e.rootProps.syncId,qM=e=>e.rootProps.syncMethod,JM=e=>e.options.eventEmitter,lve=e=>e.rootProps.baseValue,YM={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},XM={allowDecimals:!1,allowDuplicatedCategory:!0,allowDataOverflow:!1,angle:0,angleAxisId:0,axisLine:!0,axisLineType:`polygon`,cx:0,cy:0,hide:!1,includeHidden:!1,label:!1,niceTicks:`auto`,orientation:`outer`,reversed:!1,scale:`auto`,tick:!0,tickLine:!0,tickSize:8,type:`auto`,zIndex:YM.axis},ZM={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!0,angle:0,axisLine:!0,includeHidden:!1,hide:!1,niceTicks:`auto`,label:!1,orientation:`right`,radiusAxisId:0,reversed:!1,scale:`auto`,stroke:`#ccc`,tick:!0,tickCount:5,tickLine:!0,type:`auto`,zIndex:YM.axis},QM=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t};function $M(e,t,n){if(n!==`auto`)return n;if(e!=null)return qk(e,t)?`category`:`number`}function eN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?eN(Object(n),!0).forEach(function(t){uve(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uve(e,t,n){return(t=dve(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dve(e){var t=fve(e,`string`);return typeof t==`symbol`?t:t+``}function fve(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var nN={allowDataOverflow:XM.allowDataOverflow,allowDecimals:XM.allowDecimals,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:XM.angleAxisId,includeHidden:!1,name:void 0,reversed:XM.reversed,scale:XM.scale,tick:XM.tick,tickCount:void 0,ticks:void 0,type:XM.type,unit:void 0,niceTicks:`auto`},rN={allowDataOverflow:ZM.allowDataOverflow,allowDecimals:ZM.allowDecimals,allowDuplicatedCategory:ZM.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:ZM.radiusAxisId,includeHidden:ZM.includeHidden,name:void 0,reversed:ZM.reversed,scale:ZM.scale,tick:ZM.tick,tickCount:ZM.tickCount,ticks:void 0,type:ZM.type,unit:void 0,niceTicks:`auto`},iN=Q([(e,t)=>{if(t!=null)return e.polarAxis.angleAxis[t]},MA],(e,t)=>{if(e!=null)return e;var n=$M(t,`angleAxis`,nN.type)??`category`;return tN(tN({},nN),{},{type:n})}),aN=Q([(e,t)=>e.polarAxis.radiusAxis[t],MA],(e,t)=>{if(e!=null)return e;var n=$M(t,`radiusAxis`,rN.type)??`category`;return tN(tN({},rN),{},{type:n})}),oN=e=>e.polarOptions,sN=Q([nA,rA,lA],I_e),cN=Q([oN,sN],(e,t)=>{if(e!=null)return fD(e.innerRadius,t,0)}),lN=Q([oN,sN],(e,t)=>{if(e!=null)return fD(e.outerRadius,t,t*.8)}),uN=Q([oN],e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:n}=e;return[t,n]});Q([iN,uN],QM);var dN=Q([sN,cN,lN],(e,t,n)=>{if(e!=null&&t!=null&&n!=null)return[t,n]});Q([aN,dN],QM);var fN=Q([kA,oN,cN,lN,nA,rA],(e,t,n,r,i,a)=>{if(!(e!==`centric`&&e!==`radial`||t==null||n==null||r==null)){var{cx:o,cy:s,startAngle:c,endAngle:l}=t;return{cx:fD(o,i,i/2),cy:fD(s,a,a/2),innerRadius:n,outerRadius:r,startAngle:c,endAngle:l,clockWise:!1}}}),pN=(e,t)=>t,mN=(e,t,n)=>n;function hN(e){return e?.id}function gN(e,t,n){var{chartData:r=[]}=t,{allowDuplicatedCategory:i,dataKey:a}=n,o=new Map;return e.forEach(e=>{var t=e.data??r;if(t!=null&&t.length!==0){var n=hN(e);t.forEach((t,r)=>{var s=a==null||i?r:String(Kk(t,a,null)),c=Kk(t,e.dataKey,0),l=o.has(s)?o.get(s):{};Object.assign(l,{[n]:c}),o.set(s,l)})}}),Array.from(o.values())}function _N(e){return`stackId`in e&&e.stackId!=null&&e.dataKey!=null}var vN=(e,t)=>e===t?!0:e==null||t==null?!1:e[0]===t[0]&&e[1]===t[1];function yN(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===0&&t.length===0?!0:e===t}function pve(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return!1}var bN=e=>{var t=kA(e);return t===`horizontal`?`xAxis`:t===`vertical`?`yAxis`:t===`centric`?`angleAxis`:`radiu
104sAxis`},xN=e=>e.tooltip.settings.axisId;function SN(e){if(e!=null){var t=e.ticks,n=e.bandwidth,r=e.range(),i=[Math.min(...r),Math.max(...r)];return{domain:()=>e.domain(),range:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(()=>i),rangeMin:()=>i[0],rangeMax:()=>i[1],isInRange(e){var t=i[0],n=i[1];return t<=n?e>=t&&e<=n:e>=n&&e<=t},bandwidth:n?()=>n.call(e):void 0,ticks:t?n=>t.call(e,n):void 0,map:(t,n)=>{var r=e(t);if(r!=null){if(e.bandwidth&&n!=null&&n.position){var i=e.bandwidth();switch(n.position){case`middle`:r+=i/2;break;case`end`:r+=i}}return r}}}}}var mve=(e,t)=>{if(t!=null)switch(e){case`linear`:if(!jM(t)){for(var n,r,i=0;i<t.length;i++){var a=t[i];Hk(a)&&((n===void 0||a<n)&&(n=a),(r===void 0||a>r)&&(r=a))}return n!==void 0&&r!==void 0?[n,r]:void 0}return t;default:return t}};function CN(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function hve(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function wN(e){let t,n,r;e.length===2?(t=e===CN||e===hve?e:gve,n=e,r=e):(t=CN,n=(t,n)=>CN(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function gve(){return 0}function TN(e){return e===null?NaN:+e}function*_ve(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var EN=wN(CN),DN=EN.right;EN.left,wN(TN).center;var ON=class extends Map{constructor(e,t=bve){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(kN(this,e))}has(e){return super.has(kN(this,e))}set(e,t){return super.set(vve(this,e),t)}delete(e){return super.delete(yve(this,e))}};function kN({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function vve({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function yve({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function bve(e){return typeof e==`object`&&e?e.valueOf():e}function xve(e=CN){if(e===CN)return AN;if(typeof e!=`function`)throw TypeError(`compare is not a function`);return(t,n)=>{let r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function AN(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:+(e>t))}var Sve=Math.sqrt(50),Cve=Math.sqrt(10),wve=Math.sqrt(2);function jN(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=Sve?10:a>=Cve?5:a>=wve?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?jN(e,t,n*2):[s,c,l]}function MN(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?jN(t,e,n):jN(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function NN(e,t,n){return t=+t,e=+e,n=+n,jN(e,t,n)[2]}function PN(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?NN(t,e,n):NN(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function FN(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function IN(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function LN(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?AN:xve(i);r>n;){if(r-n>600){let a=r-n+1,o=t-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(a-c)/
104a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(t-o*c/a+l)),d=Math.min(r,Math.floor(t+(a-o)*c/a+l));LN(e,t,u,d,i)}let a=e[t],o=n,s=r;for(RN(e,n,t),i(e[r],a)>0&&RN(e,n,r);o<s;){for(RN(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[n],a)===0?RN(e,n,s):(++s,RN(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function RN(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function Tve(e,t,n){if(e=Float64Array.from(_ve(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return IN(e);if(t>=1)return FN(e);var r,i=(r-1)*t,a=Math.floor(i),o=FN(LN(e,a).subarray(0,a+1));return o+(IN(e.subarray(a+1))-o)*(i-a)}}function Eve(e,t,n=TN){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),o=+n(e[a],a,e);return o+(+n(e[a+1],a+1,e)-o)*(i-a)}}function Dve(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function zN(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function BN(e,t){switch(arguments.length){case 0:break;case 1:typeof e==`function`?this.interpolator(e):this.range(e);break;default:this.domain(e),typeof t==`function`?this.interpolator(t):this.range(t)}return this}var VN=Symbol(`implicit`);function HN(){var e=new ON,t=[],n=[],r=VN;function i(i){let a=e.get(i);if(a===void 0){if(r!==VN)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new ON;for(let r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return HN(t,n).unknown(r)},zN.apply(i,arguments),i}function UN(){var e=HN().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=Dve(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()}
104,e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return UN(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},zN.apply(d(),arguments)}function WN(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return WN(t())},e}function Ove(){return WN(UN.apply(null,arguments).paddingInner(1))}function GN(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function KN(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function qN(){}var JN=.7,YN=1/JN,XN=`\\s*([+-]?\\d+)\\s*`,ZN=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,QN=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,kve=/^#([0-9a-f]{3,8})$/,Ave=RegExp(`^rgb\\(${XN},${XN},${XN}\\)$`),jve=RegExp(`^rgb\\(${QN},${QN},${QN}\\)$`),Mve=RegExp(`^rgba\\(${XN},${XN},${XN},${ZN}\\)$`),Nve=RegExp(`^rgba\\(${QN},${QN},${QN},${ZN}\\)$`),Pve=RegExp(`^hsl\\(${ZN},${QN},${QN}\\)$`),Fve=RegExp(`^hsla\\(${ZN},${QN},${QN},${ZN}\\)$`),$N={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};GN(qN,nP,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:eP,formatHex:eP,formatHex8:Ive,formatHsl:Lve,formatRgb:tP,toString:tP});function eP(){return this.rgb().formatHex()}function Ive(){return this.rgb().formatHex8()}function Lve(){return pP(this).formatHsl()}function tP(){return this.rgb().formatRgb()}function nP(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=kve.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?rP(t):n===3?new oP(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?iP(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?iP(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Ave.exec(e))?new oP(t[1],t[2],t[3],1):(t=jve.exec(e))?new oP(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Mve.exec(e))?iP(t[1],t[2],t[3],t[4]):(t=Nve.exec(e))?iP(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Pve.exec(e))?fP(t[1],t[2]/100,t[3]/100,1):(t=Fve.exec(e))?fP(t[1],t[2]/100,t[3]/100,t[4]):$N.hasOwnProperty(e)?rP($N[e]):e===`transparent`?new oP(NaN,NaN,NaN,0):null}function rP(e){return new oP(e>>16&255,e>>8&255,e&255,1)}function iP(e,t,n,r){return r<=0&&(e=t=n=NaN),new oP(e,t,n,r)}function Rve(e){return e instanceof qN||(e=nP(e)),e?(e=e.rgb(),new oP(e.r,e.g,e.b,e.opacity)):new oP}function aP(e,t,n,r){return arguments.length===1?Rve(e):new oP(e,t,n,r??1)}function oP(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}GN(oP,aP,KN(qN,{brighter(e){return e=e==null?YN:YN**+e,new oP(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?JN:JN**+e,new oP(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new oP(uP(this.r),uP(this.g),uP(this.b),lP(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:sP,formatHex:sP,formatHex8:zve,formatRgb:cP,toString:cP}));function sP(){return`#${dP(this.r)}${dP(this.g)}${dP(this.b)}`}function zve(){return`#${dP(this.r)}${dP(this.g)}${dP(this.b)}${dP((isNaN(this.opacity)?1:this.opacity)*255)}`}function cP(){let e=lP(this.opacity);return`${e===1?`rgb(`:`rgba(`}${uP(this.r)}, ${uP(this.g)}, ${uP(this.b)}${e===1?`)`:`, ${e})`}`}function lP(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function uP(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function dP(e){return e=uP(e),(e<16?`0`:``)+e.toString(16)}function fP(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new mP(e,t,n,r)}function pP(e){if(e instanceof mP)return new mP(e.h,e.s,e.l,e.opacity);if(e instanceof qN||(e=nP(e)),!e)return new mP;if(e instanceof mP)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new mP(o,s,c,e.opacity)}function Bve(e,t,n,r){return arguments.length===1?pP(e):new mP(e,t,n,r??1)}function mP(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}GN(mP,Bve,KN(qN,{brighter(e){return e=e==null?YN:YN**+e,new mP(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?JN:JN**+e,new mP(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new oP(_P(e>=240?e-240:e+120,i,r),_P(e,i,r),_P(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new mP(hP(this.h),gP(this.s),gP(this.l),lP(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=lP(this.opacity);return`${e===1?`hsl(`:`hsla(`}${hP(this.h)}, ${gP(this.s)*100}%, ${gP(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function hP(e){return e=(e||0)%360,e<0?e+360:e}function gP(e){return Math.max(0,Math.min(1,e||0))}function _P(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var vP=e=>()=>e;function Vve(e,t){return function(n){return e+n*t}}function Hve(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function Uve(e){return(e=+e)==1?yP:function(t,n){return n-t?Hve(t,n,e):vP(isNaN(t)?n:t)}}function yP(e,t){var n=t-e;return n?Vve(e,n):vP(isNaN(e)?t:e)}var bP=(function e(t){var n=Uve(t);function r(e,t){var r=n((e=aP(e)).r,(t=aP(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=yP(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function Wve(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function Gve(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Kve(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=wP(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function qve(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function xP(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Jve(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=wP(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var SP=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,CP=new RegExp(SP.source,`g`);function Yve(e){return function(){return e}}function Xve(e){return function(t){return e(t)+``}}function Zve(e,t){var n=SP.lastIndex=CP.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=SP.exec(e))&&(i=CP.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:xP(r,i)})),n=CP.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?Xve(c[0].x):Yve(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function wP(e,t){var n=typeof t,r;return t==null||n===`boolean`?vP(t):(n===`number`?xP:n===`string`?(r=nP(t))?(t=r,bP):Zve:t instanceof nP?bP:t instanceof Date?qve:Gve(t)?Wve:Array.isArray(t)?Kve:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?Jve:xP)(e,t)}function TP(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Qve(e,t){t===void 0&&(t=e,e=wP);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return a[t](e-t)}}function $ve(e){return function(){return e}}function EP(e){return+e}var DP=[0,1];function OP(e){return e}function kP(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:$ve(isNaN(t)?NaN:.5)}function eye(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function tye(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=kP(i,r),a=n(o,a)):(r=kP(r,i),a=n(a,o)),function(e){return a(r(e))}}function nye(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=kP(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=DN(e,t,1,r)-1;return a[n](i[n](t))}}function AP(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function jP(){var e=DP,t=DP,n=wP,r,i,a,o=OP,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==OP&&(o=eye(e[0],e[n-1])),s=n>2?nye:tye,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),xP))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,EP),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=TP,u()},d.clamp=function(e){return arguments.length?(o=e?!0:OP,u()):o!==OP},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function MP(){return jP()(OP,OP)}
vendor: 4,554 bytes, line 104
104function rye(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function NP(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function PP(e){return e=NP(Math.abs(e)),e?e[1]:NaN}function iye(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function aye(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var oye=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function FP(e){if(!(t=oye.exec(e)))throw Error(`invalid format: `+e);var t;return new IP({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}FP.prototype=IP.prototype;function IP(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}IP.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function sye(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0)}return r>0?e.slice(0,r)+e.slice(i+1):e}var LP;function cye(e,t){var n=NP(e,t);if(!n)return LP=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(LP=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+NP(e,Math.max(0,t+a-1))[0]}function RP(e,t){var n=NP(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var zP={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:rye,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>RP(e*100,t),r:RP,s:cye,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function BP(e){return e}var VP=Array.prototype.map,HP=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function lye(e){var t=e.grouping===void 0||e.thousands===void 0?BP:iye(VP.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?BP:aye(VP.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`â`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=FP(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):zP[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=zP[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=sye(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&LP!==void 0?HP[8+LP/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(PP(t)/3)))*3,r=10**-n,i=l((e=FP(e),e.type=`f`,e),{suffix:HP[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var UP,WP,GP;
104uye({thousands:`,`,grouping:[3],currency:[`$`,``]});function uye(e){return UP=lye(e),WP=UP.format,GP=UP.formatPrefix,UP}function dye(e){return Math.max(0,-PP(Math.abs(e)))}function fye(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(PP(t)/3)))*3-PP(Math.abs(e)))}function pye(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,PP(t)-PP(e))+1}function KP(e,t,n,r){var i=PN(e,t,n),a;switch(r=FP(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=fye(i,o))&&(r.precision=a),GP(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=pye(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=dye(i))&&(r.precision=a-(r.type===`%`)*2)}return WP(r)}function qP(e){var t=e.domain;return e.ticks=function(e){var n=t();return MN(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return KP(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-->0;){if(l=NN(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function JP(){var e=MP();return e.copy=function(){return AP(e,JP())},zN.apply(e,arguments),qP(e)}function YP(e){var t;function n(e){return e==null||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,EP),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return YP(e).unknown(t)},e=arguments.length?Array.from(e,EP):[0,1],qP(n)}function XP(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}function ZP(e){return Math.log(e)}function QP(e){return Math.exp(e)}function mye(e){return-Math.log(-e)}function hye(e){return-Math.exp(-e)}function gye(e){return isFinite(e)?+(`1e`+e):e<0?0:e}function _ye(e){return e===10?gye:e===Math.E?Math.exp:t=>e**+t}function vye(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function $P(e){return(t,n)=>-e(-t,n)}function eF(e){let t=e(ZP,QP),n=t.domain,r=10,i,a;function o(){return i=vye(r),a=_ye(r),n()[0]<0?(i=$P(i),a=$P(a),e(mye,hye)):e(ZP,QP),t}return t.base=function(e){return arguments.length?(r=+e,o()):r},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{let t=n(),o=t[0],s=t[t.length-1],c=s<o;c&&([o,s]=[s,o]);let l=i(o),u=i(s),d,f,p=e==null?10:+e,m=[];if(!(r%1)&&u-l<p){if(l=Math.floor(l),u=Math.ceil(u),o>0){for(;l<=u;++l)for(d=1;d<r;++d)if(f=l<0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}}else for(;l<=u;++l)for(d=r-1;d>=1;--d)if(f=l>0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}m.length*2<p&&(m=MN(o,s,p))}else m=MN(l,u,Math.min(u-l,p)).map(a);return c?m.reverse():m},t.tickFormat=(e,n)=>{if(e??=10,n??=r===10?`s`:`,`,typeof n!=`function`&&(!(r%1)&&(n=FP(n)).precision==null&&(n.trim=!0),n=WP(n)),e===1/0)return n;let o=Math.max(1,r*e/t.ticks().length);return e=>{let t=e/a(Math.round(i(e)));return t*r<r-.5&&(t*=r),t<=o?n(e):``}},t.nice=()=>n(XP(n(),{floor:e=>a(Math.floor(i(e))),ceil:e=>a(Math.ceil(i(e)))})),t}function tF(){let e=eF(jP()).domain([1,10]);return e.copy=()=>AP(e,tF()).base(e.base()),zN.apply(e,arguments),e}function nF(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function rF(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function iF(e){var t=1,n=e(nF(t),rF(t));return n.constant=function(n){return arguments.length?e(nF(t=+n),rF(t)):t},qP(n)}function aF(){var e=iF(jP());return e.copy=function(){return AP(e,aF()).constant(e.constant())},zN.apply(e,arguments)}function oF(e){return function(t){return t<0?-((-t)**+e):t**+e}}function yye(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function bye(e){return e<0?-e*e:e*e}function sF(e){var t=e(OP,OP),n=1;function r(){return n===1?e(OP,OP):n===.5?e(yye,bye):e(oF(n),oF(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},qP(t)}function cF(){var e=sF(jP());return e.copy=function(){return AP(e,cF()).exponent(e.exponent())},zN.apply(e,arguments),e}function xye(){return cF.apply(null,arguments).exponent(.5)}function lF(e){return Math.sign(e)*e*e}function Sye(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function uF(){var e=MP(),t=[0,1],n=!1,r;function i(t){var i=Sye(e(t));return isNaN(i)?r:n?Math.round(i):i}return i.invert=function(t){return e.invert(lF(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(n){return arguments.length?(e.range((t=Array.from(n,EP)).map(lF)),i):t.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return uF(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},zN.apply(i,arguments),qP(i)}function dF(){var e=[],t=[],n=[],r;function i(){var r=0,i=Math.max(1,t.length);for(n=Array(i-1);++r<i;)n[r-1]=Eve(e,r/i);return a}function a(e){return e==null||isNaN(e=+e)?r:t[DN(n,e)]}return a.invertExtent=function(r){var i=t.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(CN),i()},a.range=function(e){return arguments.length?(t=Array.from(e),i()):t.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.quantiles=function(){return n.slice()},a.copy=function(){return dF().domain(e).range(t).unknown(r)},zN.apply(a,arguments)}function fF(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function o(e){return e!=null&&e<=e?i[DN(r,e,0,n)]:a}function s(){var i=-1;for(r=Array(n);++i<n;)r[i]=((i+1)*t-(i-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?([e,t]=n,e=+e,t=+t,s()):[e,t]},o.range=function(e){return arguments.length?(n=(i=Array.from(e)).length-1,s()):i.slice()},o.invertExtent=function(a){var o=i.indexOf(a);return o<0?[NaN,NaN]:o<1?[e,r[0]]:o>=n?[r[n-1],t]:[r[o-1],r[o]]},o.unknown=function(e){return arguments.length&&(a=e),o},o.thresholds=function(){return r.slice()},o.copy=function(){return fF().domain([e,t]).range(i).unknown(a)},zN.apply(qP(o),arguments)}function pF(){var e=[.5],t=[0,1],n,r=1;function i(i){return i!=null&&i<=i?t[DN(e,i,0,r)]:n}return i.domain=function(n){return arguments.length?(e=Array.from(n),r=M
104ath.min(e.length,t.length-1),i):e.slice()},i.range=function(n){return arguments.length?(t=Array.from(n),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return pF().domain(e).range(t).unknown(n)},zN.apply(i,arguments)}var mF=new Date,hF=new Date;function gF(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>gF(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(mF.setTime(+t),hF.setTime(+r),e(mF),e(hF),Math.floor(n(mF,hF))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var _F=gF(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);_F.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?gF(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):_F),_F.range;var vF=1e3,yF=vF*60,bF=yF*60,xF=bF*24,SF=xF*7,CF=xF*30,wF=xF*365,TF=gF(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*vF)},(e,t)=>(t-e)/vF,e=>e.getUTCSeconds());TF.range;var EF=gF(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*vF)},(e,t)=>{e.setTime(+e+t*yF)},(e,t)=>(t-e)/yF,e=>e.getMinutes());EF.range;var DF=gF(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*yF)},(e,t)=>(t-e)/yF,e=>e.getUTCMinutes());DF.range;var OF=gF(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*vF-e.getMinutes()*yF)},(e,t)=>{e.setTime(+e+t*bF)},(e,t)=>(t-e)/bF,e=>e.getHours());OF.range;var kF=gF(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*bF)},(e,t)=>(t-e)/bF,e=>e.getUTCHours());kF.range;var AF=gF(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yF)/xF,e=>e.getDate()-1);AF.range;var jF=gF(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/xF,e=>e.getUTCDate()-1);jF.range;var MF=gF(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/xF,e=>Math.floor(e/xF));MF.range;function NF(e){return gF(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yF)/SF)}var PF=NF(0),FF=NF(1),Cye=NF(2),wye=NF(3),IF=NF(4),Tye=NF(5),Eye=NF(6);PF.range,FF.range,Cye.range,wye.range,IF.range,Tye.range,Eye.range;function LF(e){return gF(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/SF)}var RF=LF(0),zF=LF(1),Dye=LF(2),Oye=LF(3),BF=LF(4),kye=LF(5),Aye=LF(6);RF.range,zF.range,Dye.range,Oye.range,BF.range,kye.range,Aye.range;var VF=gF(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());VF.range;var HF=gF(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());HF.range;var UF=gF(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());UF.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:gF(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),UF.range;var WF=gF(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());WF.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:gF(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),WF.range;function GF(e,t,n,r,i,a){let o=[[TF,1,vF],[TF,5,5*vF],[TF,15,15*vF],[TF,30,30*vF],[a,1,yF],[a,5,5*yF],[a,15,15*yF],[a,30,30*yF],[i,1,bF],[i,3,3*bF],[i,6,6*bF],[i,12,12*bF],[r,1,xF],[r,2,2*xF],[n,1,SF],[t,1,CF],[t,3,3*CF],[e,1,wF]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=wN(([,,e])=>e).right(o,i);if(a===o.length)return e.every(PN(t/wF,n/wF,r));if(a===0)return _F.every(Math.max(PN(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[jye,Mye]=GF(WF,HF,RF,MF,kF,DF),[Nye,Pye]=GF(UF,VF,PF,AF,OF,EF);function KF(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function qF(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function JF(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function Fye(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=QF(i),u=$F(i),d=QF(a),f=$F(a),p=QF(o),m=$F(o),h=QF(s),g=$F(s),_=QF(c),v=$F(c),y={a:N,A:P,b:F,B:I,c:null,d:iI,e:iI,f:ibe,g:mbe,G:gbe,H:tbe,I:nbe,j:rbe,L:aI,m:abe,M:obe,p:L,q:R,Q:dI,s:fI,S:sbe,u:cbe,U:lbe,V:ube,w:dbe,W:fbe,x:null,X:null,y:pbe,Y:hbe,Z:_be,"%":uI}
vendor: 4,275 bytes, line 104
104,b={a:z,A:B,b:ee,B:V,c:null,d:sI,e:sI,f:xbe,g:jbe,G:Nbe,H:vbe,I:ybe,j:bbe,L:cI,m:Sbe,M:Cbe,p:te,q:ne,Q:dI,s:fI,S:wbe,u:Tbe,U:Ebe,V:Dbe,w:Obe,W:kbe,x:null,X:null,y:Abe,Y:Mbe,Z:Pbe,"%":uI},x={a:E,A:D,b:O,B:k,c:A,d:nI,e:nI,f:Zye,g:tI,G:eI,H:rI,I:rI,j:qye,L:Xye,m:Kye,M:Jye,p:T,q:Gye,Q:$ye,s:ebe,S:Yye,u:Bye,U:Vye,V:Hye,w:zye,W:Uye,x:j,X:M,y:tI,Y:eI,Z:Wye,"%":Qye};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=YF[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=JF(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=qF(JF(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?zF.ceil(a):zF(a),a=jF.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=KF(JF(r.y,0,1)),o=a.getDay(),a=o>4||o===0?FF.ceil(a):FF(a),a=AF.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else(`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?qF(JF(r.y,0,1)).getUTCDay():KF(JF(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,qF(r)):KF(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in YF?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function j(e,t,r){return w(e,n,t,r)}function M(e,t,n){return w(e,r,t,n)}function N(e){return o[e.getDay()]}function P(e){return a[e.getDay()]}function F(e){return c[e.getMonth()]}function I(e){return s[e.getMonth()]}function L(e){return i[+(e.getHours()>=12)]}function R(e){return 1+~~(e.getMonth()/3)}function z(e){return o[e.getUTCDay()]}function B(e){return a[e.getUTCDay()]}function ee(e){return c[e.getUTCMonth()]}function V(e){return s[e.getUTCMonth()]}function te(e){return i[+(e.getUTCHours()>=12)]}function ne(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var YF={"-":``,_:` `,0:`0`},XF=/^\s*\d+/,Iye=/^%/,Lye=/[\\^$*+?|[\]().{}]/g;function ZF(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function Rye(e){return e.replace(Lye,`\\$&`)}function QF(e){return RegExp(`^(?:`+e.map(Rye).join(`|`)+`)`,`i`)}function $F(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function zye(e,t,n){var r=XF.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Bye(e,t,n){var r=XF.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Vye(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Hye(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Uye(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function eI(e,t,n){var r=XF.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function tI(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}
104function Wye(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function Gye(e,t,n){var r=XF.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Kye(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function nI(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function qye(e,t,n){var r=XF.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function rI(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Jye(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Yye(e,t,n){var r=XF.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Xye(e,t,n){var r=XF.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Zye(e,t,n){var r=XF.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Qye(e,t,n){var r=Iye.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function $ye(e,t,n){var r=XF.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function ebe(e,t,n){var r=XF.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function iI(e,t){return ZF(e.getDate(),t,2)}function tbe(e,t){return ZF(e.getHours(),t,2)}function nbe(e,t){return ZF(e.getHours()%12||12,t,2)}function rbe(e,t){return ZF(1+AF.count(UF(e),e),t,3)}function aI(e,t){return ZF(e.getMilliseconds(),t,3)}function ibe(e,t){return aI(e,t)+`000`}function abe(e,t){return ZF(e.getMonth()+1,t,2)}function obe(e,t){return ZF(e.getMinutes(),t,2)}function sbe(e,t){return ZF(e.getSeconds(),t,2)}function cbe(e){var t=e.getDay();return t===0?7:t}function lbe(e,t){return ZF(PF.count(UF(e)-1,e),t,2)}function oI(e){var t=e.getDay();return t>=4||t===0?IF(e):IF.ceil(e)}function ube(e,t){return e=oI(e),ZF(IF.count(UF(e),e)+(UF(e).getDay()===4),t,2)}function dbe(e){return e.getDay()}function fbe(e,t){return ZF(FF.count(UF(e)-1,e),t,2)}function pbe(e,t){return ZF(e.getFullYear()%100,t,2)}function mbe(e,t){return e=oI(e),ZF(e.getFullYear()%100,t,2)}function hbe(e,t){return ZF(e.getFullYear()%1e4,t,4)}function gbe(e,t){var n=e.getDay();return e=n>=4||n===0?IF(e):IF.ceil(e),ZF(e.getFullYear()%1e4,t,4)}function _be(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+ZF(t/60|0,`0`,2)+ZF(t%60,`0`,2)}function sI(e,t){return ZF(e.getUTCDate(),t,2)}function vbe(e,t){return ZF(e.getUTCHours(),t,2)}function ybe(e,t){return ZF(e.getUTCHours()%12||12,t,2)}function bbe(e,t){return ZF(1+jF.count(WF(e),e),t,3)}function cI(e,t){return ZF(e.getUTCMilliseconds(),t,3)}function xbe(e,t){return cI(e,t)+`000`}function Sbe(e,t){return ZF(e.getUTCMonth()+1,t,2)}function Cbe(e,t){return ZF(e.getUTCMinutes(),t,2)}function wbe(e,t){return ZF(e.getUTCSeconds(),t,2)}function Tbe(e){var t=e.getUTCDay();return t===0?7:t}function Ebe(e,t){return ZF(RF.count(WF(e)-1,e),t,2)}function lI(e){var t=e.getUTCDay();return t>=4||t===0?BF(e):BF.ceil(e)}function Dbe(e,t){return e=lI(e),ZF(BF.count(WF(e),e)+(WF(e).getUTCDay()===4),t,2)}function Obe(e){return e.getUTCDay()}function kbe(e,t){return ZF(zF.count(WF(e)-1,e),t,2)}function Abe(e,t){return ZF(e.getUTCFullYear()%100,t,2)}function jbe(e,t){return e=lI(e),ZF(e.getUTCFullYear()%100,t,2)}function Mbe(e,t){return ZF(e.getUTCFullYear()%1e4,t,4)}function Nbe(e,t){var n=e.getUTCDay();return e=n>=4||n===0?BF(e):BF.ceil(e),ZF(e.getUTCFullYear()%1e4,t,4)}function Pbe(){return`+0000`}function uI(){return`%`}function dI(e){return+e}function fI(e){return Math.floor(e/1e3)}var pI,mI,hI;Fbe({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function Fbe(e){return pI=Fye(e),mI=pI.format,pI.parse,hI=pI.utcFormat,pI.utcParse,pI}function Ibe(e){return new Date(e)}function Lbe(e){return e instanceof Date?+e:+new Date(+e)}function gI(e,t,n,r,i,a,o,s,c,l){var u=MP(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,Lbe)):f().map(Ibe)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(XP(n,e)):u},u.copy=function(){return AP(u,gI(e,t,n,r,i,a,o,s,c,l))},u}function Rbe(){return zN.apply(gI(Nye,Pye,UF,VF,PF,AF,OF,EF,TF,mI).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function zbe(){return zN.apply(gI(jye,Mye,WF,HF,RF,jF,kF,DF,TF,hI).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function _I(){var e=0,t=1,n,r,i,a,o=OP,s=!1,c;function l(e){return e==null||isNaN(e=+e)?c:o(i===0?.5:(e=(a(e)-n)*i,s?Math.max(0,Math.min(1,e)):e))}l.domain=function(o){return arguments.length?([e,t]=o,n=a(e=+e),r=a(t=+t),i=n===r?0:1/(r-n),l):[e,t]},l.clamp=function(e){return arguments.length?(s=!!e,l):s},l.interpolator=function(e){return arguments.length?(o=e,l):o};function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,o=e(n,r),l):[o(0),o(1)]}}return l.range=u(wP),l.rangeRound=u(TP),l.unknown=function(e){return arguments.length?(c=e,l):c},function(o){return a=o,n=o(e),r=o(t),i=n===r?0:1/(r-n),l}}function vI(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function yI(){var e=qP(_I()(OP));return e.copy=function(){return vI(e,yI())},BN.apply(e,arguments)}function bI(){var e=eF(_I()).domain([1,10]);return e.copy=function(){return vI(e,bI()).base(e.base())},BN.apply(e,arguments)}function xI(){var e=iF(_I());return e.copy=function(){return vI(e,xI()).constant(e.constant())},BN.apply(e,arguments)}function SI(){var e=sF(_I());return e.copy=function(){return vI(e,SI()).exponent(e.exponent())},BN.apply(e,arguments)}function Bbe(){return SI.apply(null,arguments).exponent(.5)}function CI(){var e=[],t=OP;
104function n(n){if(n!=null&&!isNaN(n=+n))return t((DN(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(CN),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((n,r)=>t(r/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(n,r)=>Tve(e,r/t))},n.copy=function(){return CI(t).domain(e)},BN.apply(n,arguments)}function wI(){var e=0,t=.5,n=1,r=1,i,a,o,s,c,l=OP,u,d=!1,f;function p(e){return isNaN(e=+e)?f:(e=.5+((e=+u(e))-a)*(r*e<r*a?s:c),l(d?Math.max(0,Math.min(1,e)):e))}p.domain=function(l){return arguments.length?([e,t,n]=l,i=u(e=+e),a=u(t=+t),o=u(n=+n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p):[e,t,n]},p.clamp=function(e){return arguments.length?(d=!!e,p):d},p.interpolator=function(e){return arguments.length?(l=e,p):l};function m(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,l=Qve(e,[n,r,i]),p):[l(0),l(.5),l(1)]}}return p.range=m(wP),p.rangeRound=m(TP),p.unknown=function(e){return arguments.length?(f=e,p):f},function(l){return u=l,i=l(e),a=l(t),o=l(n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p}}function TI(){var e=qP(wI()(OP));return e.copy=function(){return vI(e,TI())},BN.apply(e,arguments)}function EI(){var e=eF(wI()).domain([.1,1,10]);return e.copy=function(){return vI(e,EI()).base(e.base())},BN.apply(e,arguments)}function DI(){var e=iF(wI());return e.copy=function(){return vI(e,DI()).constant(e.constant())},BN.apply(e,arguments)}function OI(){var e=sF(wI());return e.copy=function(){return vI(e,OI()).exponent(e.exponent())},BN.apply(e,arguments)}function Vbe(){return OI.apply(null,arguments).exponent(.5)}var kI=s({scaleBand:()=>UN,scaleDiverging:()=>TI,scaleDivergingLog:()=>EI,scaleDivergingPow:()=>OI,scaleDivergingSqrt:()=>Vbe,scaleDivergingSymlog:()=>DI,scaleIdentity:()=>YP,scaleImplicit:()=>VN,scaleLinear:()=>JP,scaleLog:()=>tF,scaleOrdinal:()=>HN,scalePoint:()=>Ove,scalePow:()=>cF,scaleQuantile:()=>dF,scaleQuantize:()=>fF,scaleRadial:()=>uF,scaleSequential:()=>yI,scaleSequentialLog:()=>bI,scaleSequentialPow:()=>SI,scaleSequentialQuantile:()=>CI,scaleSequentialSqrt:()=>Bbe,scaleSequentialSymlog:()=>xI,scaleSqrt:()=>xye,scaleSymlog:()=>aF,scaleThreshold:()=>pF,scaleTime:()=>Rbe,scaleUtc:()=>zbe,tickFormat:()=>KP});function Hbe(e){var t=kI;if(e in t&&typeof t[e]==`function`)return t[e]();var n=`scale${hD(e)}`;if(n in t&&typeof t[n]==`function`)return t[n]()}function AI(e,t,n){if(typeof e==`function`)return e.copy().domain(t).range(n);if(e!=null){var r=Hbe(e);if(r!=null)return r.domain(t).range(n),r}}function jI(e,t,n,r){if(n!=null&&r!=null)return typeof e.scale==`function`?AI(e.scale,n,r):AI(t,n,r)}function Ube(e){return`scale${hD(e)}`}function Wbe(e){return Ube(e)in kI}var MI=(e,t,n)=>{if(e!=null){var{scale:r,type:i}=e;if(r===`auto`)return i===`category`&&n&&(n.indexOf(`LineChart`)>=0||n.indexOf(`AreaChart`)>=0||n.indexOf(`ComposedChart`)>=0&&!t)?`point`:i===`category`?`band`:`linear`;if(typeof r==`string`)return Wbe(r)?r:`point`}};function Gbe(e,t){for(var n=0,r=e.length,i=e[0]<e[e.length-1];n<r;){var a=Math.floor((n+r)/2);(i?e[a]<t:e[a]>t)?n=a+1:r=a}return n}function NI(e,t){if(e){var n=t??e.domain(),r=n.map(t=>e(t)??0),i=e.range();if(!(n.length===0||i.length<2))return e=>{var t=Gbe(r,e);if(t<=0)return n[0];if(t>=n.length)return n[n.length-1];var i=r[t-1]??0,a=r[t]??0;return Math.abs(e-i)<=Math.abs(e-a)?n[t-1]:n[t]}}}function Kbe(e){if(e!=null)return`invert`in e&&typeof e.invert==`function`?e.invert.bind(e):NI(e,void 0)}var PI=l(nve());function FI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function II(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?FI(Object(n),!0).forEach(function(t){qbe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qbe(e,t,n){return(t=Jbe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jbe(e){var t=Ybe(e,`string`);return typeof t==`symbol`?t:t+``}function Ybe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var LI=[0,`auto`],RI={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`bottom`,padding:{left:0,right:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`category`,unit:void 0,niceTicks:`auto`},zI=(e,t)=>e.cartesianAxis.xAxis[t],BI=(e,t)=>zI(e,t)??RI,VI={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:LI,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`left`,padding:{top:0,bottom:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`number`,unit:void 0,niceTicks:`auto`,width:60},HI=(e,t)=>e.cartesianAxis.yAxis[t],UI=(e,t)=>HI(e,t)??VI,Xbe={domain:[0,`auto`],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:``,range:[64,64],scale:`auto`,type:`number`,unit:``},WI=(e,t)=>e.cartesianAxis.zAxis[t]??Xbe,GI=(e,t,n)=>{switch(t){case`xAxis`:return BI(e,n);case`yAxis`:return UI(e,n);case`zAxis`:return WI(e,n);case`angleAxis`:return iN(e,n);case`radiusAxis`:return aN(e,n);default:throw Error(`Unexpected axis type: ${t}`)}}
104,Zbe=(e,t,n)=>{switch(t){case`xAxis`:return BI(e,n);case`yAxis`:return UI(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},KI=(e,t,n)=>{switch(t){case`xAxis`:return BI(e,n);case`yAxis`:return UI(e,n);case`angleAxis`:return iN(e,n);case`radiusAxis`:return aN(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},qI=e=>e.graphicalItems.cartesianItems.some(e=>e.type===`bar`)||e.graphicalItems.polarItems.some(e=>e.type===`radialBar`);function JI(e,t){return n=>{switch(e){case`xAxis`:return`xAxisId`in n&&n.xAxisId===t;case`yAxis`:return`yAxisId`in n&&n.yAxisId===t;case`zAxis`:return`zAxisId`in n&&n.zAxisId===t;case`angleAxis`:return`angleAxisId`in n&&n.angleAxisId===t;case`radiusAxis`:return`radiusAxisId`in n&&n.radiusAxisId===t;default:return!1}}}var YI=e=>e.graphicalItems.cartesianItems,Qbe=Q([pN,mN],JI),XI=(e,t,n)=>e.filter(n).filter(e=>t?.includeHidden===!0||!e.hide),ZI=Q([YI,GI,Qbe],XI,{memoizeOptions:{resultEqualityCheck:yN}}),QI=Q([ZI],e=>e.filter(e=>e.type===`area`||e.type===`bar`).filter(_N)),$I=e=>e.filter(e=>!(`stackId`in e)||e.stackId===void 0),$be=Q([ZI],$I),eL=e=>e.map(e=>e.data).filter(Boolean).flat(1),exe=Q([ZI],e=>e.some(e=>!e.data)),tL=Q([ZI],eL,{memoizeOptions:{resultEqualityCheck:yN}}),nL=(e,t)=>{var{chartData:n=[],dataStartIndex:r,dataEndIndex:i}=t;return e.length>0?e:n.slice(r,i+1)},rL=Q([tL,AM],nL),txe=(e,t,n)=>t?.dataKey==null?n.length>0?n.map(e=>e.dataKey).flatMap(t=>e.map(e=>({value:Kk(e,t)}))):e.map(e=>({value:e})):e.map(e=>({value:Kk(e,t.dataKey)})),iL=(e,t,n,r,i,a)=>{var{chartData:o=[],dataStartIndex:s,dataEndIndex:c}=r,l=txe(e,t,n);return i&&t?.dataKey!=null&&a.length>0?[...o.slice(s,c+1).map(e=>({value:Kk(e,t.dataKey)})).filter(e=>e.value!=null),...l]:l},aL=Q([rL,GI,ZI,AM,exe,tL],iL);function oL(e){if(uD(e)||e instanceof Date){var t=Number(e);if(Hk(t))return t}}function sL(e){if(Array.isArray(e)){var t=[oL(e[0]),oL(e[1])];return jM(t)?t:void 0}var n=oL(e);if(n!=null)return[n,n]}function cL(e){return e.map(oL).filter(gD)}function nxe(e,t){var n=oL(e),r=oL(t);return n==null&&r==null?0:n==null?-1:r==null?1:n-r}var rxe=Q([aL],e=>e?.map(e=>e.value).sort(nxe));function lL(e,t){switch(e){case`xAxis`:return t.direction===`x`;case`yAxis`:return t.direction===`y`;default:return!1}}function ixe(e,t,n){if(!n||!n.length)return[];var r;if(typeof t==`number`&&!sD(t))r=t;else if(Array.isArray(t)){var i=cL(t);i.length>0&&(r=Math.max(...i))}return r==null?[]:cL(n.flatMap(t=>{var n=Kk(e,t.dataKey),i,a;if(Array.isArray(n)?[i,a]=n:i=a=n,!(!Hk(i)||!Hk(a)))return[r-i,r+a]}))}var uL=e=>KI(e,bN(e),xN(e)),dL=Q([uL],e=>e?.dataKey),axe=Q([QI,AM,uL],gN),fL=(e,t,n,r)=>{var i=t.reduce((e,t)=>{if(t.stackId==null)return e;var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},{});return Object.fromEntries(Object.entries(i).map(t=>{var[i,a]=t,o=r?[...a].reverse():a;return[i,{stackedData:the(e,o.map(hN),n),graphicalItems:o}]}))},pL=Q([axe,QI,UM,WM],fL),mL=(e,t,n,r)=>{var{dataStartIndex:i,dataEndIndex:a}=t;if(r==null&&n!==`zAxis`){var o=ahe(e,i,a);if(o==null||o[0]!==0||o[1]!==0)return o}},oxe=Q([GI],e=>e.allowDataOverflow),hL=e=>{if(e==null||!(`domain`in e))return LI;if(e.domain!=null)return e.domain;if(`ticks`in e&&e.ticks!=null){if(e.type===`number`){var t=cL(e.ticks);return[Math.min(...t),Math.max(...t)]}if(e.type===`category`)return e.ticks.map(String)}return e?.domain??LI},gL=Q([GI],hL),_L=Q([gL,oxe],NM),sxe=Q([pL,OM,pN,_L],mL,{memoizeOptions:{resultEqualityCheck:vN}}),vL=e=>e.errorBars,cxe=(e,t,n)=>e.flatMap(e=>t[e.id]).filter(Boolean).filter(e=>lL(n,e)),yL=function(){var e=[...arguments].filter(Boolean);if(e.length!==0){var t=e.flat();return[Math.min(...t),Math.max(...t)]}},bL=function(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[],o,s;if(n.length>0&&n.forEach(e=>{var n=e.data==null?a:[...e.data],c=r[e.id]?.filter(e=>lL(i,e));n.forEach(n=>{var r=Kk(n,t.dataKey??e.dataKey),i=ixe(n,r,c);if(i.length>=2){var a=Math.min(...i),l=Math.max(...i);(o==null||a<o)&&(o=a),(s==null||l>s)&&(s=l)}var u=sL(r);u!=null&&(o=o==null?u[0]:Math.min(o,u[0]),s=s==null?u[1]:Math.max(s,u[1]))})}
104),t?.dataKey!=null&&n.length===0&&e.forEach(e=>{var n=sL(Kk(e,t.dataKey));n!=null&&(o=o==null?n[0]:Math.min(o,n[0]),s=s==null?n[1]:Math.max(s,n[1]))}),Hk(o)&&Hk(s))return[o,s]},lxe=Q([rL,GI,$be,vL,pN,ive],bL,{memoizeOptions:{resultEqualityCheck:vN}});function uxe(e){var{value:t}=e;if(uD(t)||t instanceof Date)return t}var dxe=(e,t,n)=>{var r=e.map(uxe).filter(e=>e!=null);return n&&(t.dataKey==null||t.allowDuplicatedCategory&&Ffe(r))?(0,PI.default)(0,e.length):t.allowDuplicatedCategory?r:Array.from(new Set(r))},xL=e=>e.referenceElements.dots,SL=(e,t,n)=>e.filter(e=>e.ifOverflow===`extendDomain`).filter(e=>t===`xAxis`?e.xAxisId===n:e.yAxisId===n),fxe=Q([xL,pN,mN],SL),CL=e=>e.referenceElements.areas,pxe=Q([CL,pN,mN],SL),wL=e=>e.referenceElements.lines,mxe=Q([wL,pN,mN],SL),TL=(e,t)=>{if(e!=null){var n=cL(e.map(e=>t===`xAxis`?e.x:e.y));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},hxe=Q(fxe,pN,TL),EL=(e,t)=>{if(e!=null){var n=cL(e.flatMap(e=>[t===`xAxis`?e.x1:e.y1,t===`xAxis`?e.x2:e.y2]));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},gxe=Q([pxe,pN],EL);function _xe(e){if(e.x!=null)return cL([e.x]);var t=e.segment?.map(e=>e.x);return t==null||t.length===0?[]:cL(t)}function vxe(e){if(e.y!=null)return cL([e.y]);var t=e.segment?.map(e=>e.y);return t==null||t.length===0?[]:cL(t)}var DL=(e,t)=>{if(e!=null){var n=e.flatMap(e=>t===`xAxis`?_xe(e):vxe(e));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},yxe=Q(hxe,Q([mxe,pN],DL),gxe,(e,t,n)=>yL(e,n,t)),OL=(e,t,n,r,i,a,o,s)=>n??ove(t,o===`vertical`&&s===`xAxis`||o===`horizontal`&&s===`yAxis`?yL(r,a,i):yL(a,i),e.allowDataOverflow),bxe=Q([GI,gL,_L,sxe,lxe,yxe,kA,pN],OL,{memoizeOptions:{resultEqualityCheck:vN}}),xxe=[0,1],kL=(e,t,n,r,i,a,o)=>{if(e!=null&&n!=null&&n.length!==0||o!==void 0){var{dataKey:s,type:c}=e,l=qk(t,a);return l&&s==null?(0,PI.default)(0,n?.length??0):c===`category`?dxe(r,e,l):i===`expand`&&!l?xxe:o}},AL=Q([GI,kA,rL,aL,UM,pN,bxe],kL),jL=Q([GI,qI,GM],MI),ML=(e,t,n)=>{var{niceTicks:r}=t;if(r!==`none`){var i=hL(t),a=Array.isArray(i)&&(i[0]===`auto`||i[1]===`auto`);if((r===`snap125`||r===`adaptive`)&&t!=null&&t.tickCount&&jM(e)){if(a)return VM(e,t.tickCount,t.allowDecimals,r);if(t.type===`number`)return HM(e,t.tickCount,t.allowDecimals,r)}if(r===`auto`&&n===`linear`&&t!=null&&t.tickCount){if(a&&jM(e))return VM(e,t.tickCount,t.allowDecimals,`adaptive`);if(t.type===`number`&&jM(e))return HM(e,t.tickCount,t.allowDecimals,`adaptive`)}}},NL=Q([AL,KI,jL],ML),PL=(e,t,n,r)=>{if(r!==`angleAxis`&&e?.type===`number`&&jM(t)&&Array.isArray(n)&&n.length>
1040){var i=t[0],a=n[0]??0,o=t[1],s=n[n.length-1]??0;return[Math.min(i,a),Math.max(o,s)]}return t},Sxe=Q([GI,AL,NL,pN],PL),FL=Q(Q(aL,GI,(e,t)=>{if(!(!t||t.type!==`number`)){var n=1/0,r=Array.from(cL(e.map(e=>e.value))).sort((e,t)=>e-t),i=r[0],a=r[r.length-1];if(i==null||a==null)return 1/0;var o=a-i;if(o===0)return 1/0;for(var s=0;s<r.length-1;s++){var c=r[s],l=r[s+1];if(c!=null&&l!=null){var u=l-c;n=Math.min(n,u)}}return n/o}}),kA,cve,lA,(e,t,n,r,i)=>i,(e,t,n,r,i)=>{if(!Hk(e))return 0;var a=t===`vertical`?r.height:r.width;if(i===`gap`)return e*a/2;if(i===`no-gap`){var o=fD(n,e*a),s=e*a/2;return s-o-(s-o)/a*o}return 0}),Cxe=(e,t,n)=>{var r=BI(e,t);return r==null||typeof r.padding!=`string`?0:FL(e,`xAxis`,t,n,r.padding)},wxe=(e,t,n)=>{var r=UI(e,t);return r==null||typeof r.padding!=`string`?0:FL(e,`yAxis`,t,n,r.padding)},Txe=Q(BI,Cxe,(e,t)=>{if(e==null)return{left:0,right:0};var{padding:n}=e;return typeof n==`string`?{left:t,right:t}:{left:(n.left??0)+t,right:(n.right??0)+t}}),Exe=Q(UI,wxe,(e,t)=>{if(e==null)return{top:0,bottom:0};var{padding:n}=e;return typeof n==`string`?{top:t,bottom:t}:{top:(n.top??0)+t,bottom:(n.bottom??0)+t}}),Dxe=Q([lA,Txe,pA,fA,(e,t,n)=>n],(e,t,n,r,i)=>{var{padding:a}=r;return i?[a.left,n.width-a.right]:[e.left+t.left,e.left+e.width-t.right]}),Oxe=Q([lA,kA,Exe,pA,fA,(e,t,n)=>n],(e,t,n,r,i,a)=>{var{padding:o}=i;return a?[r.height-o.bottom,o.top]:t===`horizontal`?[e.top+e.height-n.bottom,e.top+n.top]:[e.top+n.top,e.top+e.height-n.bottom]}),IL=(e,t,n,r)=>{switch(t){case`xAxis`:return Dxe(e,n,r);case`yAxis`:return Oxe(e,n,r);case`zAxis`:return WI(e,n)?.range;case`angleAxis`:return uN(e);case`radiusAxis`:return dN(e,n);default:return}},LL=Q([GI,IL],QM),RL=Q([GI,jL,Q([jL,Sxe],mve),LL],jI),zL=(e,t,n,r)=>{if(n!=null&&n.dataKey!=null){var{type:i,scale:a}=n;if(qk(e,r)&&(i===`number`||a!==`auto`))return t.map(e=>e.value)}},BL=Q([kA,aL,KI,pN],zL),VL=Q([RL],SN);Q([RL],Kbe),Q([RL,rxe],NI),Q([ZI,vL,pN],cxe);function HL(e,t){return e.id<t.id?-1:+(e.id>t.id)}var UL=(e,t)=>t,WL=(e,t,n)=>n,kxe=Q(aA,UL,WL,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(HL)),Axe=Q(oA,UL,WL,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(HL)),GL=(e,t)=>({width:e.width,height:t.height}),jxe=(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height}),Mxe=Q(lA,BI,GL),Nxe=(e,t,n)=>{switch(t){case`top`:return e.top;case`bottom`:return n-e.bottom;default:return 0}},Pxe=(e,t,n)=>{switch(t){case`left`:return e.left;case`right`:return n-e.right;default:return 0}},Fxe=Q(rA,lA,kxe,UL,WL,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=GL(t,n);o??=Nxe(t,r,e);var c=r===`top`&&!i||r===`bottom`&&i;a[n.id]=o-Number(c)*s.height,o+=(c?-1:1)*s.height}),a}),Ixe=Q(nA,lA,Axe,UL,WL,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=jxe(t,n);o??=Pxe(t,r,e);var c=r===`left`&&!i||r===`right`&&i;a[n.id]=o-Number(c)*s.width,o+=(c?-1:1)*s.width}),a}),Lxe=Q([lA,BI,(e,t)=>{var n=BI(e,t);if(n!=null)return Fxe(e,n.orientation,n.mirror)},(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:e.left,y:0}:{x:e.left,y:i}}}),Rxe=Q([lA,UI,(e,t)=>{var n=UI(e,t);if(n!=null)return Ixe(e,n.orientation,n.mirror)},(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:0,y:e.top}:{x:i,y:e.top}}}),zxe=Q(lA,UI,(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height})),KL=(e,t,n,r)=>{if(n!=null){var{allowDuplicatedCategory:i,type:a,dataKey:o}=n,s=qk(e,r),c=t.map(e=>e.value),l=c.filter(e=>e!=null);if(o&&s&&a===`category`&&i&&Ffe(l))return c}},qL=Q([kA,aL,GI,pN],KL),JL=Q([kA,Zbe,jL,VL,qL,BL,IL,NL,pN],(e,t,n,r,i,a,o,s,c)=>{if(t!=null){var l=qk(e,c);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:c,categoricalDomain:a,duplicateDomain:i,isCategorical:l,niceTicks:s,range:o,realScaleType:n,scale:r}}}),YL=Q([kA,KI,jL,VL,NL,IL,qL,BL,pN],(e,t,n,r,i,a,o,s,c)=>{if(t!=null&&r!=null){var l=qk(e,c),{type:u,ticks:d,tickCount:f}=t,p=n===`scaleBand`&&typeof r.bandwidth==`function`?r.bandwidth()/2:2,m=u===`category`&&r.bandwidth?r.bandwidth()/p:0;m=c===`angleAxis`&&a!=null&&a.length>=2?oD(a[0]-a[1])*2*m:m;var h=d||i;return h?h.map((e,t)=>{var n=o?o.indexOf(e):e,i=r.map(n);return Hk(i)?{index:t,coordinate:i+m,value:e,offset:m}:null}).filter(gD):l&&s?s.map((e,t)=>{var n=r.map(e);return Hk(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(gD):r.ticks?r.ticks(f).map((e,t)=>{var n=r.map(e);return Hk(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(gD):r.domain().map((e,t)=>{var n=r.map(e);return Hk(n)?{coordinate:n+m,value:o?o[e]:e,index:t,offset:m}:null}).filter(gD)}}),XL=Q([kA,KI,VL,IL,qL,BL,pN],(e,t,n,r,i,a,o)=>
104{if(t!=null&&n!=null&&r!=null&&r[0]!==r[1]){var s=qk(e,o),{tickCount:c}=t,l=0;return l=o===`angleAxis`&&r?.length>=2?oD(r[0]-r[1])*2*l:l,s&&a?a.map((e,t)=>{var r=n.map(e);return Hk(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(gD):n.ticks?n.ticks(c).map((e,t)=>{var r=n.map(e);return Hk(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(gD):n.domain().map((e,t)=>{var r=n.map(e);return Hk(r)?{coordinate:r+l,value:i?i[e]:e,index:t,offset:l}:null}).filter(gD)}}),ZL=Q(GI,VL,(e,t)=>{if(e!=null&&t!=null)return II(II({},e),{},{scale:t})});Q((e,t,n)=>WI(e,n),Q([Q([GI,jL,AL,LL],jI)],SN),(e,t)=>{if(e!=null&&t!=null)return II(II({},e),{},{scale:t})});var Bxe=Q([kA,aA,oA],(e,t,n)=>{switch(e){case`horizontal`:return t.some(e=>e.reversed)?`right-to-left`:`left-to-right`;case`vertical`:return n.some(e=>e.reversed)?`bottom-to-top`:`top-to-bottom`;case`centric`:case`radial`:return`left-to-right`;default:return}});Q([(e,t,n)=>e.renderedTicks[t]?.[n]],e=>{if(!(!e||e.length===0))return t=>{var n=1/0,r=e[0];for(var i of e){var a=Math.abs(i.coordinate-t);a<n&&(n=a,r=i)}return r?.value}});var QL=e=>e.options.defaultTooltipEventType,$L=e=>e.options.validateTooltipEventTypes;function eR(e,t,n){if(e==null)return t;var r=e?`axis`:`item`;return n==null?t:n.includes(r)?r:t}function tR(e,t){return eR(t,QL(e),$L(e))}function Vxe(e){return AD(t=>tR(t,e))}var nR=(e,t)=>{var n,r=Number(t);if(!(sD(r)||t==null))return r>=0?e==null||(n=e[r])==null?void 0:n.value:void 0},Hxe=e=>e.tooltip.settings,rR={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},iR=pk({name:`tooltip`,initialState:{itemInteraction:{click:rR,hover:rR},axisInteraction:{click:rR,hover:rR},keyboardInteraction:rR,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:`hover`,axisId:0,active:!1,defaultIndex:void 0}},reducers:{addTooltipEntrySettings:{reducer(e,t){e.tooltipItemPayloads.push(yj(t.payload))},prepare:lk()},replaceTooltipEntrySettings:{reducer(e,t){var{prev:n,next:r}=t.payload,i=ek(e).tooltipItemPayloads.indexOf(yj(n));i>-1&&(e.tooltipItemPayloads[i]=yj(r))},prepare:lk()},removeTooltipEntrySettings:{reducer(e,t){var n=ek(e).tooltipItemPayloads.indexOf(yj(t.payload));n>-1&&e.tooltipItemPayloads.splice(n,1)},prepare:lk()},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate}}}),{addTooltipEntrySettings:Uxe,replaceTooltipEntrySettings:Wxe,removeTooltipEntrySettings:Gxe,setTooltipSettingsState:Kxe,setActiveMouseOverItemIndex:qxe,mouseLeaveItem:Jxe,mouseLeaveChart:aR,setActiveClickItemIndex:Yxe,setMouseOverAxisIndex:oR,setMouseClickAxisIndex:Xxe,setSyncInteraction:sR,setKeyboardInteraction:cR}=iR.actions,Zxe=iR.reducer;function lR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
104t%2?lR(Object(n),!0).forEach(function(t){Qxe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qxe(e,t,n){return(t=$xe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $xe(e){var t=eSe(e,`string`);return typeof t==`symbol`?t:t+``}function eSe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function tSe(e,t,n){return t===`axis`?n===`click`?e.axisInteraction.click:e.axisInteraction.hover:n===`click`?e.itemInteraction.click:e.itemInteraction.hover}function nSe(e){return e.index!=null}var dR=(e,t,n,r)=>{if(t==null)return rR;var i=tSe(e,t,n);if(i==null)return rR;if(i.active)return i;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var a=e.settings.active===!0;if(nSe(i)){if(a)return uR(uR({},i),{},{active:!0})}else if(r!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:r,graphicalItemId:void 0};return uR(uR({},rR),{},{coordinate:i.coordinate})};function rSe(e){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(e instanceof Date){var t=e.valueOf();return Number.isFinite(t)?t:void 0}var n=Number(e);return Number.isFinite(n)?n:void 0}function iSe(e,t){var n=rSe(e),r=t[0],i=t[1];return n!==void 0&&n>=Math.min(r,i)&&n<=Math.max(r,i)}function aSe(e,t,n){if(n==null||t==null)return!0;var r=Kk(e,t);return r==null||!jM(n)||iSe(r,n)}var fR=(e,t,n,r)=>{var i=e?.index;if(i==null)return null;var a=Number(i);if(!Hk(a))return i;var o=0,s=1/0;t.length>0&&(s=t.length-1);var c=Math.max(o,Math.min(a,s)),l=t[c];return l==null||aSe(l,n,r)?String(c):null},pR=(e,t,n,r,i,a,o)=>{if(a!=null){var s=o[0]?.getPosition(a);if(s!=null)return s;var c=i?.[Number(a)];if(c)switch(n){case`horizontal`:return{x:c.coordinate,y:(r.top+t)/2};default:return{x:(r.left+e)/2,y:c.coordinate}}}},mR=(e,t,n,r)=>{if(t===`axis`)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var i=n===`hover`?e.itemInteraction.hover.graphicalItemId:e.itemInteraction.click.graphicalItemId;if(e.syncInteraction.active&&i==null)return e.tooltipItemPayloads;if(i==null&&(r!=null||e.keyboardInteraction.active)){var a=e.tooltipItemPayloads[0];return a==null?[]:[a]}return e.tooltipItemPayloads.filter(e=>e.settings?.graphicalItemId===i)},hR=e=>e.options.tooltipPayloadSearcher,gR=e=>e.tooltip;function _R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?_R(Object(n),!0).forEach(function(t){oSe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_R(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oSe(e,t,n){return(t=sSe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sSe(e){var t=cSe(e,`string`);return typeof t==`symbol`?t:t+``}function cSe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function lSe(e){if(typeof e==`string`||typeof e==`number`)return e}function uSe(e){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return e}function dSe(e){if(typeof e==`string`||typeof e==`number`)return e;if(typeof e==`function`)return t=>e(t)}function yR(e){if(typeof e==`string`)return e}function fSe(e){if(!(typeof e!=`object`||!e))return{name:`name`in e?lSe(e.n
104ame):void 0,unit:`unit`in e?uSe(e.unit):void 0,dataKey:`dataKey`in e?dSe(e.dataKey):void 0,payload:`payload`in e?e.payload:void 0,color:`color`in e?yR(e.color):void 0,fill:`fill`in e?yR(e.fill):void 0}}function pSe(e,t){return e??t}var bR=(e,t,n,r,i,a,o)=>{if(t!=null&&a!=null){var{chartData:s,computedData:c,dataStartIndex:l,dataEndIndex:u}=n;return e.reduce((e,n)=>{var{dataDefinedOnItem:d,settings:f}=n,p=pSe(d,s),m=Array.isArray(p)?Vk(p,l,u):p,h=f?.dataKey??r,g=f?.nameKey,_=r&&Array.isArray(m)&&!Array.isArray(m[0])&&o===`axis`?Ife(m,r,i):a(m,t,c,g);return Array.isArray(_)?_.forEach(t=>{var n=fSe(t),r=n?.name,i=n?.dataKey,a=n?.payload,o=vR(vR({},f),{},{name:r,unit:n?.unit,color:n?.color??f?.color,fill:n?.fill??f?.fill});e.push(eA({tooltipEntrySettings:o,dataKey:i,payload:a,value:Kk(a,i),name:r==null?void 0:String(r)}))}):e.push(eA({tooltipEntrySettings:f,dataKey:h,payload:_,value:Kk(_,h),name:Kk(_,g)??f?.name})),e},[])}},xR=Q([uL,qI,GM],MI),SR=Q([Q([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),uL,Q([bN,xN],JI)],XI,{memoizeOptions:{resultEqualityCheck:yN}}),mSe=Q([SR],e=>e.filter(_N)),CR=Q([SR],eL,{memoizeOptions:{resultEqualityCheck:yN}}),hSe=Q([SR],e=>e.some(e=>!e.data)),wR=Q([CR,OM],nL),gSe=Q([mSe,OM,uL],gN),TR=Q([wR,uL,SR,OM,hSe,CR],iL),ER=Q([uL],hL),DR=Q([ER,Q([uL],e=>e.allowDataOverflow)],NM),_Se=Q([Q([gSe,Q([SR],e=>e.filter(_N)),UM,WM],fL),OM,bN,DR],mL),vSe=Q([wR,uL,Q([SR],$I),vL,bN,ave],bL,{memoizeOptions:{resultEqualityCheck:vN}}),ySe=Q([Q([xL,bN,xN],SL),bN],TL),bSe=Q([Q([CL,bN,xN],SL),bN],EL),OR=Q([uL,kA,wR,TR,UM,bN,Q([uL,ER,DR,_Se,vSe,Q([ySe,Q([Q([wL,bN,xN],SL),bN],DL),bSe],yL),kA,bN],OL)],kL),xSe=Q([uL,OR,Q([OR,uL,xR],ML),bN],PL),kR=e=>
104IL(e,bN(e),xN(e),!1),AR=Q([uL,kR],QM),jR=Q([Q([uL,xR,xSe,AR],jI)],SN),MR=Q([kA,uL,xR,jR,kR,Q([kA,TR,uL,bN],KL),Q([kA,TR,uL,bN],zL),bN],(e,t,n,r,i,a,o,s)=>{if(t){var{type:c}=t,l=qk(e,s);if(r){var u=n===`scaleBand`&&r.bandwidth?r.bandwidth()/2:2,d=c===`category`&&r.bandwidth?r.bandwidth()/u:0;return d=s===`angleAxis`&&i!=null&&i?.length>=2?oD(i[0]-i[1])*2*d:d,l&&o?o.map((e,t)=>{var n=r.map(e);return Hk(n)?{coordinate:n+d,value:e,index:t,offset:d}:null}).filter(gD):r.domain().map((e,t)=>{var n=r.map(e);return Hk(n)?{coordinate:n+d,value:a?a[e]:e,index:t,offset:d}:null}).filter(gD)}}}),NR=Q([QL,$L,Hxe],(e,t,n)=>eR(n.shared,e,t)),PR=e=>e.tooltip.settings.trigger,FR=e=>e.tooltip.settings.defaultIndex,IR=Q([gR,NR,PR,FR],dR),LR=Q([IR,wR,dL,OR],fR),RR=Q([MR,LR],nR),SSe=Q([IR],e=>{if(e)return e.dataKey}),CSe=Q([IR],e=>{if(e)return e.graphicalItemId}),zR=Q([gR,NR,PR,FR],mR),wSe=Q([IR,Q([nA,rA,kA,lA,MR,FR,zR],pR)],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),TSe=Q([IR],e=>e?.active??!1),ESe=Q([Q([zR,LR,OM,dL,RR,hR,NR],bR)],e=>{if(e!=null){var t=e.map(e=>e.payload).filter(e=>e!=null);return Array.from(new Set(t))}});function BR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?BR(Object(n),!0).forEach(function(t){DSe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function DSe(e,t,n){return(t=OSe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OSe(e){var t=kSe(e,`string`);return typeof t==`symbol`?t:t+``}function kSe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var ASe=()=>AD(uL),jSe=()=>{var e=ASe(),t=AD(MR),n=AD(jR);return $k(!e||!n?void 0:VR(VR({},e),{},{scale:n}),t)};function HR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function UR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?HR(Object(n),!0).forEach(function(t){MSe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function MSe(e,t,n){return(t=NSe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NSe(e){var t=PSe(e,`string`);return typeof t==`symbol`?t:t+``}function PSe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var FSe=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`horizontal`)return{x:i.coordinate,y:r.relativeY};if(e===`vertical`)return{x:r.relativeX,y:i.coordinate}}return{x:0,y:0}},ISe=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`centric`){var a=i.coordinate,{radius:o}=r;return UR(UR(UR({},r),xM(r.cx,r.cy,o,a)),{},{angle:a,radius:o})}var s=i.coordinate,{angle:c}=r;return UR(UR(UR({},r),xM(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function LSe(e,t){var{relativeX:n,relativeY:r}=e;return n>=t.left&&n<=t.left+t.width&&r>=t.top&&r<=t.top+t.height}var WR=(e,t,n,r,i)=>{var a=t?.length??0;if(a<=1||e==null)return 0;if(r===`angleAxis`&&i!=null&&Math.abs(Math.abs(i[1]-i[0])-360)<=1e-6)for(var o=0;o<a;o++){var s=o>0?n[o-1]?.coordinate:n[a-1]?.coordinate,c=n[o]?.coordinate,l=o>
104=a-1?n[0]?.coordinate:n[o+1]?.coordinate,u=void 0;if(s!=null&&c!=null&&l!=null)if(oD(c-s)!==oD(l-c)){var d=[];if(oD(l-c)===oD(i[1]-i[0])){u=l;var f=c+i[1]-i[0];d[0]=Math.min(f,(f+s)/2),d[1]=Math.max(f,(f+s)/2)}else{u=s;var p=l+i[1]-i[0];d[0]=Math.min(c,(p+c)/2),d[1]=Math.max(c,(p+c)/2)}var m=[Math.min(c,(u+c)/2),Math.max(c,(u+c)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1])return n[o]?.index}else{var h=Math.min(s,l),g=Math.max(s,l);if(e>(h+c)/2&&e<=(g+c)/2)return n[o]?.index}}else if(t)for(var _=0;_<a;_++){var v=t[_];if(v!=null){var y=t[_+1],b=t[_-1];if(_===0&&y!=null&&e<=(v.coordinate+y.coordinate)/2||_===a-1&&b!=null&&e>(v.coordinate+b.coordinate)/2||_>0&&_<a-1&&b!=null&&y!=null&&e>(v.coordinate+b.coordinate)/2&&e<=(v.coordinate+y.coordinate)/2)return v.index}}return-1},GR=()=>AD(GM),KR=(e,t)=>t,qR=(e,t,n)=>n,JR=(e,t,n,r)=>r,RSe=Q(MR,e=>(0,LD.default)(e,e=>e.coordinate)),YR=Q([gR,KR,qR,JR],dR),XR=Q([YR,wR,dL,OR],fR),zSe=(e,t,n)=>{if(t!=null){var r=gR(e);return t===`axis`?n===`hover`?r.axisInteraction.hover.dataKey:r.axisInteraction.click.dataKey:n===`hover`?r.itemInteraction.hover.dataKey:r.itemInteraction.click.dataKey}},ZR=Q([gR,KR,qR,JR],mR),QR=Q([nA,rA,kA,lA,MR,JR,ZR],pR),BSe=Q([YR,QR],(e,t)=>e.coordinate??t),$R=Q([MR,XR],nR),VSe=Q([ZR,XR,OM,dL,$R,hR,KR],bR),HSe=Q([YR,XR],(e,t)=>({isActive:e.active&&t!=null,activeIndex:t})),USe=(e,t,n,r,i,a,o)=>{if(!(!e||!n||!r||!i)&&LSe(e,o)){var s=WR(ohe(e,t),a,i,n,r),c=FSe(t,i,s,e);return{activeIndex:String(s),activeCoordinate:c}}},WSe=(e,t,n,r,i,a,o)=>{if(!(!e||!r||!i||!a||!n)){var s=V_e(e,n);if(s){var c=WR(she(s,t),o,a,r,i),l=ISe(t,a,c,s);return{activeIndex:String(c),activeCoordinate:l}}}},GSe=(e,t,n,r,i,a,o,s)=>{if(!(!e||!t||!r||!i||!a))return t===`horizontal`||t===`vertical`?USe(e,t,r,i,a,o,s):WSe(e,t,n,r,i,a,o)},KSe=Q(e=>e.zIndex.zIndexMap,(e,t)=>t,(e,t,n)=>n,(e,t,n)=>{if(t!=null){var r=e[t];if(r!=null)return n?r.panoramaElement:r.element}}),qSe=Q(e=>e.zIndex.zIndexMap,e=>{var t=Object.keys(e).map(e=>parseInt(e,10)).concat(Object.values(YM));return Array.from(new Set(t)).sort((e,t)=>e-t)},{memoizeOptions:{resultEqualityCheck:pve}});function ez(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ez(Object(n),!0).forEach(function(t){JSe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ez(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function JSe(e,t,n){return(t=YSe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YSe(e){var t=XSe(e,`string`);return typeof t==`symbol`?t:t+``}function XSe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var ZSe={zIndexMap:Object.values(YM).reduce((e,t)=>tz(tz({},e),{},{[t]:{element:void 0,panoramaElement:void 0,consumers:0}}),{})},QSe=new Set(Object.values(YM));function $Se(e){return QSe.has(e)}var nz=pk({name:`zIndex`,initialState:ZSe,reducers:{registerZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]?e.zIndexMap[n].consumers+=1:e.zIndexMap[n]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:lk()},unregisterZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(--e.zIndexMap[n].consumers,e.zIndexMap[n].consumers<=0&&!$Se(n)&&delete e.zIndexMap[n])},prepare:lk()},registerZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n,element:r,isPanorama:i}=t.payload;e.zIndexMap[n]?i?e.zIndexMap[n].panoramaElement=yj(r):e.zIndexMap[n].element=yj(r):e.zIndexMap[n]={consumers:0,element:i?void 0:yj(r),panoramaElement:i?yj(r):void 0}},prepare:lk()},unregisterZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(t.payload.isPanorama?e.zIndexMap[n].panoramaElement=void 0:e.zIndexMap[n].element=void 0)},prepare:lk()}}}),{registerZIndexPortal:eCe,unregisterZIndexPortal:rz,registerZIndexPortalElement:tCe,unregisterZIndexPortalElement:nCe}=nz.actions,rCe=nz.reducer;function iz(e){var{zIndex:t,children:n}=e,r=Lhe()&&t!==void 0&&t!==0,i=dA(),a=(0,O.useRef)(void 0),o=(0,O.useRef)(new Set),s=OD(),c=AD(e=>KSe(e,t,i));if((0,O.useLayoutEffect)(()=>
104{if(!r){var e=o.current;e.forEach(e=>{s(rz({zIndex:e}))}),e.clear(),a.current=void 0;return}if(o.current.has(t)||(s(eCe({zIndex:t})),o.current.add(t)),c){a.current=c;var n=o.current;n.forEach(e=>{e!==t&&(s(rz({zIndex:e})),n.delete(e))})}},[s,t,r,c]),(0,O.useLayoutEffect)(()=>{var e=o.current;return()=>{e.forEach(e=>{s(rz({zIndex:e}))}),e.clear()}},[s]),!r)return n;var l=c??a.current;return l?(0,k.createPortal)(n,l):null}function az(){return az=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},az.apply(null,arguments)}function oz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?oz(Object(n),!0).forEach(function(t){iCe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iCe(e,t,n){return(t=aCe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aCe(e){var t=oCe(e,`string`);return typeof t==`symbol`?t:t+``}function oCe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function sCe(e){var{cursor:t,cursorComp:n,cursorProps:r}=e;return(0,O.isValidElement)(t)?(0,O.cloneElement)(t,r):(0,O.createElement)(n,r)}function cCe(e){var{coordinate:t,payload:n,index:r,offset:i,tooltipAxisBandSize:a,layout:o,cursor:s,tooltipEventType:c,chartName:l}=e,u=t,d=n,f=r;if(!s||!u||l!==`ScatterChart`&&c!==`axis`)return null;var p,m,h;if(l===`ScatterChart`)p=u,m=Gge,h=YM.cursorLine;else if(l===`BarChart`)p=Kge(o,u,i,a),m=_M,h=YM.cursorRectangle;else if(o===`radial`&&Zfe(u)){var{cx:g,cy:_,radius:v,startAngle:y,endAngle:b}=SM(u);p={cx:g,cy:_,startAngle:y,endAngle:b,innerRadius:v,outerRadius:v},m=DM,h=YM.cursorLine}else p={points:Q_e(o,u,i)},m=Wj,h=YM.cursorLine;var x=typeof s==`object`&&`className`in s?s.className:void 0,S=sz(sz(sz(sz({stroke:`#ccc`,pointerEvents:`none`},i),p),rE(s)),{},{payload:d,payloadIndex:f,className:xv(`recharts-tooltip-cursor`,x)});return O.createElement(iz,{zIndex:e.zIndex??h},O.createElement(sCe,{cursor:s,cursorComp:m,cursorProps:S}))}function lCe(e){var t=jSe(),n=EA(),r=AA(),i=GR();return t==null||n==null||r==null||i==null?null:O.createElement(cCe,az({}
104,e,{offset:n,layout:r,tooltipAxisBandSize:t,chartName:i}))}var cz=(0,O.createContext)(null),uCe=()=>(0,O.useContext)(cz),dCe=l(o(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))(),1).default,lz=new dCe,uz=`recharts.syncEvent.tooltip`,dz=`recharts.syncEvent.brush`,fz=(e,t)=>{if(t&&Array.isArray(e)){var n=Number.parseInt(t,10);if(!sD(n))return e[n]}},pz=pk({name:`options`,initialState:{chartName:``,tooltipPayloadSearcher:()=>void 0,eventEmitter:void 0,defaultTooltipEventType:`axis`},reducers:{createEventEmitter:e=>{e.eventEmitter??=Symbol(`rechartsEventEmitter`)}}}),fCe=pz.reducer,{createEventEmitter:pCe}=pz.actions;function mCe(e){return e.tooltip.syncInteraction}var mz=pk({name:`chartData`,initialState:{chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},reducers:{setChartData(e,t){if(e.chartData=yj(t.payload),t.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:n,endIndex:r}=t.payload;n!=null&&(e.dataStartIndex=n),r!=null&&(e.dataEndIndex=r)}}}),{setChartData:hz,setDataStartEndIndexes:hCe,setComputedData:gCe}=mz.actions,_Ce=mz.reducer,vCe=[`x`,`y`];function gz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
104t%2?gz(Object(n),!0).forEach(function(t){yCe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yCe(e,t,n){return(t=bCe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bCe(e){var t=xCe(e,`string`);return typeof t==`symbol`?t:t+``}function xCe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function SCe(e,t){if(e==null)return{};var n,r,i=CCe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function CCe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function wCe(){var e=AD(KM),t=AD(JM),n=OD(),r=AD(qM),i=AD(MR),a=AA(),o=TA(),s=AD(e=>e.rootProps.className);(0,O.useEffect)(()=>{if(e==null)return _D;var s=(s,c,l)=>{if(t!==l&&e===s){if(c.payload.active===!1){n(sR({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(r===`index`){var u;if(o&&c!=null&&(u=c.payload)!=null&&u.coordinate&&c.payload.sourceViewBox){var d=c.payload.coordinate,{x:f,y:p}=d,m=SCe(d,vCe),{x:h,y:g,width:_,height:v}=c.payload.sourceViewBox,y=_z(_z({},m),{},{x:o.x+(_?(f-h)/_:0)*o.width,y:o.y+(v?(p-g)/v:0)*o.height});n(_z(_z({},c),{},{payload:_z(_z({},c.payload),{},{coordinate:y})}))}else n(c);return}if(i!=null){var b;typeof r==`function`?b=i[r(i,{activeTooltipIndex:c.payload.index==null?void 0:Number(c.payload.index),isTooltipActive:c.payload.active,activeIndex:c.payload.index==null?void 0:Number(c.payload.index),activeLabel:c.payload.label,activeDataKey:c.payload.dataKey,activeCoordinate:c.payload.coordinate})]:r===`value`&&(b=i.find(e=>String(e.value)===c.payload.label));var{coordinate:x}=c.payload;if(x==null||o==null){n(sR({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(b==null){n(sR({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:void 0}));return}var{x:S,y:C}=x,w=Math.min(S,o.x+o.width),T=Math.min(C,o.y+o.height),E={x:a===`horizontal`?b.coordinate:w,y:a===`horizontal`?T:b.coordinate};n(sR({active:c.payload.active,coordinate:E,dataKey:c.payload.dataKey,index:String(b.index),label:c.payload.label,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:c.payload.graphicalItemId}))}}};return lz.on(uz,s),()=>{lz.off(uz,s)}},[s,n,t,e,r,i,a,o])}function TCe(){var e=AD(KM),t=AD(JM),n=OD();(0,O.useEffect)(()=>{if(e==null)return _D;var r=(r,i,a)=>{t!==a&&e===r&&n(hCe(i))};return lz.on(dz,r),()=>{lz.off(dz,r)}},[n,t,e])}function ECe(){var e=OD();(0,O.useEffect)(()=>{e(pCe())},[e]),wCe(),TCe()}function DCe(e,t,n,r,i,a){var o=AD(n=>zSe(n,e,t)),s=AD(CSe),c=AD(JM),l=AD(KM),u=AD(qM),d=AD(mCe)?.sourceViewBox!=null,f=TA();(0,O.useEffect)(()=>{if(!d&&l!=null&&c!=null){var e=sR({active:a,coordinate:n,dataKey:o,index:i,label:typeof r==`number`?String(r):r,sourceViewBox:f,graphicalItemId:s});lz.emit(uz,l,e,c)}},[d,n,o,s,i,r,c,l,u,a,f])}function vz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?vz(Object(n),!0).forEach(function(t){OCe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function OCe(e,t,n){return(t=kCe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kCe(e){var t=ACe(e,`string`);return typeof t==`symbol`?t:t+``}function ACe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function jCe(e){return e.dataKey}function MCe(e,t){return O.isValidElement(e)?O.cloneElement(e,t):typeof e==`function`?O.createElement(e,t):O.createElement(xge,t)}var bz=[],NCe={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:`ease`,axisId:0,contentStyle:{},cursor:!0,filterNull:!0,includeHidden:!1,isAnimationActive:`auto`,itemSorter:`name`,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:` : `,trigger:`hover`,useTranslate3d:!1,wrapperStyle:{}};function xz(e){var t=bD(e,NCe),{active:n,allowEscapeViewBox:r,animationDuration:i,animationEasing:a,content:o,filterNull:s,isAnimationActive:c,offset:l,payloadUniqBy:u,position:d,reverseDirection:f,useTranslate3d:p,wrapperStyle:m,curs
104or:h,shared:g,trigger:_,defaultIndex:v,portal:y,axisId:b}=t,x=OD(),S=typeof v==`number`?String(v):v;(0,O.useEffect)(()=>{x(Kxe({shared:g,trigger:_,axisId:b,active:n,defaultIndex:S}))},[x,g,_,b,n,S]);var C=TA(),w=Pj(),T=Vxe(g),{activeIndex:E,isActive:D}=AD(e=>HSe(e,T,_,S))??{},A=AD(e=>VSe(e,T,_,S)),j=AD(e=>$R(e,T,_,S)),M=AD(e=>BSe(e,T,_,S)),N=A,P=uCe(),F=n??D??!1,[I,L]=$pe([N,F]),R=T===`axis`?j:void 0;DCe(T,_,M,R,E,F);var z=y??P;if(z==null||C==null||T==null)return null;var B=N??bz;F||(B=bz),s&&B.length&&(B=Ape(B.filter(e=>e.value!=null&&(e.hide!==!0||t.includeHidden)),u,jCe));var ee=B.length>0,V=yz(yz({},t),{},{payload:B,label:R,active:F,activeIndex:E,coordinate:M,accessibilityLayer:w}),te=O.createElement(jge,{allowEscapeViewBox:r,animationDuration:i,animationEasing:a,isAnimationActive:c,active:F,coordinate:M,hasPayload:ee,offset:l,position:d,reverseDirection:f,useTranslate3d:p,viewBox:C,wrapperStyle:m,lastBoundingBox:I,innerRef:L,hasPortalFromProps:!!y},MCe(o,V));return O.createElement(O.Fragment,null,(0,k.createPortal)(te,z),F&&O.createElement(lCe,{cursor:h,tooltipEventType:T,coordinate:M,payload:B,index:E}))}function PCe(e,t,n){return(t=FCe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FCe(e){var t=ICe(e,`string`);return typeof t==`symbol`?t:t+``}function ICe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var LCe=class{constructor(e){PCe(this,`cache`,new Map),this.maxSize=e}get(e){var t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.maxSize){var n=this.cache.keys().next().value;n!=null&&this.cache.delete(n)}this.cache.set(e,t)}clear(){this.cache.clear()}size(){return this.cache.size}};function Sz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function RCe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Sz(Object(n),!0).forEach(function(t){zCe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zCe(e,t,n){return(t=BCe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BCe(e){var t=VCe(e,`string`);return typeof t==`symbol`?t:t+``}function VCe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Cz=RCe({},{cacheSize:2e3,enableCache:!0}),wz=new LCe(Cz.cacheSize),HCe={position:`absolute`,top:`-20000px`,left:0,padding:0,margin:0,border:`none`,whiteSpace:`pre`},Tz=`recharts_measurement_span`;function UCe(e,t){return`${e}|${t.fontSize||``}|${t.fontFamily||``}|${t.fontWeight||``}|${t.fontStyle||``}|${t.letterSpacing||``}|${t.textTransform||``}`}var Ez=(e,t)=>{try{var n=document.getElementById(Tz);n||(n=document.createElement(`span`),n.setAttribute(`id`,Tz),n.setAttribute(`aria-hidden`,`true`),document.body.appendChild(n)),Object.assign(n.style,HCe,t),n.textContent=`${e}`;var r=n.getBoundingClientRect();return{width:r.width,height:r.height}}catch{return{width:0,height:0}}},Dz=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||Aj.isSsr)return{width:0,height:0};if(!Cz.enableCache)return Ez(e,t);var n=UCe(e,t),r=wz.get(n);if(r)return r;var i=Ez(e,t);return wz.set(n,i),i},Oz;function WCe(e,t,n){return(t=GCe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GCe(e){var t=KCe(e,`string`);return typeof t==`symbol`?t:t+``}function KCe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var kz=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Az=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,qCe=/^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/,JCe=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,YCe={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/101.6,px:1},XCe=[`cm`,`mm`,`pt`,`pc`,`in`,`Q`,`px`];function ZCe(e){return XCe.includes(e)}var jz=`NaN`;function QCe(e,t){return e*YCe[t]}var Mz=class e{static parse(t){var[,n,r]=JCe.exec(t)??[];return n==null?e.NaN:new e(parseFloat(n),r??``)}constructor(e,t){this.num=e,this.unit=t,this.num=e,this.unit=t,sD(e)&&(this.unit=``),t!==``&&!qCe.test(t)&&(this.num=NaN,this.unit=``),ZCe(t)&&(this.num=QCe(e,t),this.unit=`px`)}add(t){return this.unit===t.unit?new e(this.num+t.num,this.unit):new e(NaN,``)}subtract(t){return this.unit===t.unit?new e(this.num-t.num,this.unit):new e(NaN,``)}multiply(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num/t.num,this.unit||t.unit)}toString(){return`${this.num}${this.unit}`}isNaN(){return sD(this.num)}};Oz=Mz,WCe(Mz,`NaN`,new Oz(NaN,``));function Nz(e){if(e==null||e.includes(jz))return jz;for(var t=e;t.includes(`*`)||t.includes(`/`);){var[,n,r,i]=kz.exec(t)??[],a=Mz.parse(n??``),o=Mz.parse(i??``),s=r===`*`?a.multiply(o):a.divide(o);if(s.isNaN())return jz;t=t.replace(kz,s.toString())}for(;t.includes(`+`)||/.-\d+(?:\.\d+)?/.test(t);){var[,c,l,u]=Az.exec(t)??[],d=Mz.parse(c??``),f=Mz.parse(u??``),p=l===`+`?d.add(f):d.subtract(f);if(p.isNaN())return jz;t=t.replace(Az,p.toString())}return t}var Pz=/\(([^()]*)\)/;function $Ce(e){for(var t=e,n;(n=Pz.exec(t))!=null;){var[,r]=n;t=t.replace(Pz,Nz(r))}return t}function ewe(e){var t=e.replace(/\s+/g,``);return t=$Ce(t),t=Nz(t),t}function twe(e){try{return ewe(e)}catch{return jz}}function Fz(e){var t=twe(e.slice(5,-1));return t===jz?``:t}var nwe=[`x`,`y`,`lineHeight`,`capHeight`,`fill`,`scaleToFit`,`textAnchor`,`verticalAnchor`],rwe=[`dx`,`dy`,`angle`,`className`,`breakAll`];function Iz(){return Iz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}
104,Iz.apply(null,arguments)}function Lz(e,t){if(e==null)return{};var n,r,i=iwe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function iwe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Rz=/[ \f\n\r\t\v\u2028\u2029]+/,zz=e=>{var{children:t,breakAll:n,style:r}=e;try{var i=[];return mD(t)||(i=n?t.toString().split(``):t.toString().split(Rz)),{wordsWithComputedWidth:i.map(e=>({word:e,width:Dz(e,r).width})),spaceWidth:n?0:Dz(`\xA0`,r).width}}catch{return null}};function Bz(e){return e===`start`||e===`middle`||e===`end`||e===`inherit`}function awe(e){return mD(e)||typeof e==`string`||typeof e==`number`||typeof e==`boolean`}var Vz=(e,t,n,r)=>e.reduce((e,i)=>{var{word:a,width:o}=i,s=e[e.length-1];if(s&&o!=null&&(t==null||r||s.width+o+n<Number(t)))s.words.push(a),s.width+=o+n;else{var c={words:[a],width:o};e.push(c)}return e},[]),Hz=e=>e.reduce((e,t)=>e.width>t.width?e:t),owe=`â¦`,Uz=(e,t,n,r,i,a,o,s)=>{var c=zz({breakAll:n,style:r,children:e.slice(0,t)+owe});if(!c)return[!1,[]];var l=Vz(c.wordsWithComputedWidth,a,o,s);return[l.length>i||Hz(l).width>Number(a),l]},swe=(e,t,n,r,i)=>{var{maxLines:a,children:o,style:s,breakAll:c}=e,l=lD(a),u=String(o),d=Vz(t,r,n,i);if(!l||i||!(d.length>a||Hz(d).width>Number(r)))return d;for(var f=0,p=u.length-1,m=0,h;f<=p&&m<=u.length-1;){var g=Math.floor((f+p)/2),[_,v]=Uz(u,g-1,c,s,a,r,n,i),[y]=Uz(u,g,c,s,a,r,n,i);if(!_&&!y&&(f=g+1),_&&y&&(p=g-1),!_&&y){h=v;break}m++}return h||d},Wz=e=>[{words:mD(e)?[]:e.toString().split(Rz),width:void 0}],cwe=e=>{var{width:t,scaleToFit:n,children:r,style:i,breakAll:a,maxLines:o}=e;if((t||n)&&!Aj.isSsr){var s,c,l=zz({breakAll:a,children:r,style:i});if(l){var{wordsWithComputedWidth:u,spaceWidth:d}=l;s=u,c=d}else return Wz(r);return swe({breakAll:a,children:r,maxLines:o,style:i},s,c,t,!!n)}return Wz(r)},Gz=`#808080`,lwe={angle:0,breakAll:!1,capHeight:`0.71em`,fill:Gz,lineHeight:`1em`,scaleToFit:!1,textAnchor:`start`,verticalAnchor:`end`,x:0,y:0},Kz=(0,O.forwardRef)((e,t)=>{var n=bD(e,lwe),{x:r,y:i,lineHeight:a,capHeight:o,fill:s,scaleToFit:c,textAnchor:l,verticalAnchor:u}=n,d=Lz(n,nwe),f=(0,O.useMemo)(()=>cwe({breakAll:d.breakAll,children:d.children,maxLines:d.maxLines,scaleToFit:c,style:d.style,width:d.width}),[d.breakAll,d.children,d.maxLines,c,d.style,d.width]),{dx:p,dy:m,angle:h,className:g,breakAll:_}=d,v=Lz(d,rwe);if(!uD(r)||!uD(i)||f.length===0)return null;var y=Number(r)+(lD(p)?p:0),b=Number(i)+(lD(m)?m:0);if(!Hk(y)||!Hk(b))return null;var x;switch(u){case`start`:x=Fz(`calc(${o})`);break;case`middle`:x=Fz(`calc(${(f.length-1)/2} * -${a} + (${o} / 2))`);break;default:x=Fz(`calc(${f.length-1} * -${a})`)}var S=[],C=f[0];if(c&&C!=null){var w=C.width,{width:T}=d;S.push(`scale(${lD(T)&&lD(w)?T/w:1})`)}return h&&S.push(`rotate(${h}, ${y}, ${b})`),S.length&&(v.transform=S.join(` `)),O.createElement(`text`,Iz({},iE(v),{ref:t,x:y,y:b,className:xv(`recharts-text`,g),textAnchor:l,fill:s.includes(`url`)?Gz:s}),f.map((e,t)=>{var n=e.words.join(_?``:` `);return O.createElement(`tspan`,{x:y,dy:t===0?x:a,key:`${n}-${t}`},n)}))});Kz.displayName=`Text`;function qz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qz(Object(n),!0).forEach(function(t){uwe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uwe(e,t,n){return(t=dwe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dwe(e){var t=fwe(e,`string`);return typeof t==`symbol`?t:t+``}function fwe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var pwe=e=>{var{viewBox:t,position:n,offset:r=0,parentViewBox:i,clamp:a}=e,{x:o,y:s,height:c,upperWidth:l,lowerWidth:u}
104=wA(t),d=o,f=o+(l-u)/2,p=(d+f)/2,m=(l+u)/2,h=d+l/2,g=c>=0?1:-1,_=g*r,v=g>0?`end`:`start`,y=g>0?`start`:`end`,b=l>=0?1:-1,x=b*r,S=b>0?`end`:`start`,C=b>0?`start`:`end`,w=i;if(n===`top`){var T={x:d+l/2,y:s-_,horizontalAnchor:`middle`,verticalAnchor:v};return a&&w&&(T.height=Math.max(s-w.y,0),T.width=l),T}if(n===`bottom`){var E={x:f+u/2,y:s+c+_,horizontalAnchor:`middle`,verticalAnchor:y};return a&&w&&(E.height=Math.max(w.y+w.height-(s+c),0),E.width=u),E}if(n===`left`){var D={x:p-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`};return a&&w&&(D.width=Math.max(D.x-w.x,0),D.height=c),D}if(n===`right`){var O={x:p+m+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`};return a&&w&&(O.width=Math.max(w.x+w.width-O.x,0),O.height=c),O}var k=a&&w?{width:m,height:c}:{};return n===`insideLeft`?Jz({x:p+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`},k):n===`insideRight`?Jz({x:p+m-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`},k):n===`insideTop`?Jz({x:d+l/2,y:s+_,horizontalAnchor:`middle`,verticalAnchor:y},k):n===`insideBottom`?Jz({x:f+u/2,y:s+c-_,horizontalAnchor:`middle`,verticalAnchor:v},k):n===`insideTopLeft`?Jz({x:d+x,y:s+_,horizontalAnchor:C,verticalAnchor:y},k):n===`insideTopRight`?Jz({x:d+l-x,y:s+_,horizontalAnchor:S,verticalAnchor:y},k):n===`insideBottomLeft`?Jz({x:f+x,y:s+c-_,horizontalAnchor:C,verticalAnchor:v},k):n===`insideBottomRight`?Jz({x:f+u-x,y:s+c-_,horizontalAnchor:S,verticalAnchor:v},k):n&&typeof n==`object`&&(lD(n.x)||cD(n.x))&&(lD(n.y)||cD(n.y))?Jz({x:o+fD(n.x,m),y:s+fD(n.y,c),horizontalAnchor:`end`,verticalAnchor:`end`},k):Jz({x:h,y:s+c/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},k)},mwe=[`labelRef`],hwe=[`content`];function Yz(e,t){if(e==null)return{};var n,r,i=gwe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function gwe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Xz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Xz(Object(n),!0).forEach(function(t){_we(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _we(e,t,n){return(t=vwe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vwe(e){var t=ywe(e,`string`);return typeof t==`symbol`?t:t+``}function ywe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Qz(){return Qz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qz.apply(null,arguments)}var $z=(0,O.createContext)(null),bwe=e=>{var{x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o,children:s}=e,c=(0,O.useMemo)(()=>({x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o}),[t,n,r,i,a,o]);return O.createElement($z.Provider,{value:c},s)},eB=()=>{var e=(0,O.useContext)($z),t=TA();return e||(t?wA(t):void 0)},xwe=(0,O.createContext)(null),Swe=()=>{var e=(0,O.useContext)(xwe),t=AD(fN);return e||t},Cwe=e=>{var{value:t,formatter:n}=e,r=mD(e.children)?t:e.children;return typeof n==`function`?n(r):r},tB=e=>e!=null&&typeof e==`function`,wwe=(e,t)=>oD(t-e)*Math.min(Math.abs(t-e),360),Twe=(e,t,n,r,i)=>{var{offset:a,className:o}=e,{cx:s,cy:c,innerRadius:l,outerRadius:u,startAngle:d,endAngle:f,clockWise:p}=i,m=(l+u)/2,h=wwe(d,f),g=h>=0?1:-1,_,v;switch(t){case`insideStart`:_=d+g*a,v=p;break;case`insideEnd`:_=f-g*a,v=!p;break;case`end`:_=f+g*a,v=p;break;default:throw Error(`Unsupported position ${t}`)}v=h<=0?v:!v;var y=xM(s,c,m,_),b=xM(s,c,m,_+(v?1:-1)*359),x=`M${y.x},${y.y} 105 A${m},${m},0,1,${+!v}, 106 ${b.x},${b.y}`,S=mD(e.id)?dD(`recharts-radial-line-`):e.id;return O.createElement(`text`,Qz({},r,{dominantBaseline:`central`,className:xv(`recharts-radial-bar-label`,o)}),O.createElement(`defs`,null,O.createElement(`path`,{id:S,d:x})),O.createElement(`textPath`,{xlinkHref:`#${S}`},n))},Ewe=(e,t,n)=>{var{cx:r,cy:i,innerRadius:a,outerRadius:o,startAngle:s,endAngle:c}=e,l=(s+c)/2;if(n===`outside`){var{x:u,y:d}=xM(r,i,o+t,l);return{x:u,y:d,textAnchor:u>=r?`start`:`end`,verticalAnchor:`middle`}}if(n===`center`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`middle`};if(n===`centerTop`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`start`};if(n===`centerBottom`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`end`};var{x:f,y:p}=xM(r,i,(a+o)/2,l);return{x:f,y:p,textAnchor:`middle`,verticalAnchor:`middle`}},nB=e=>e!=null&&`cx`in e&&lD(e.cx),Dwe={angle:0,offset:5,zIndex:YM.label,position:`middle`,textBreakAll:!1};function Owe(e){if(!nB(e))return e;var{cx:t,cy:n,outerRadius:r}=e,i=r*2;return{x:t-r,y:n-r,width:i,upperWidth:i,lowerWidth:i,height:i}}function rB(e){var t=bD(e,Dwe),{viewBox:n,parentViewBox:r,position:i,value:a,children:o,content:s,className:c=``,textBreakAll:l,labelRef:u}=t,d=Swe(),f=eB(),p=n==null?i===`center`?f:d??f:nB(n)?n:wA(n),m,h,g=Owe(p);if(!p||mD(a)&&mD(o)&&!(0,O.isValidElement)(s)&&typeof s!=`function`)return null;var _=Zz(Zz({},t),{},{viewBox:p});if((0,O.isValidElement)(s)){var{labelRef:v}=_,y=Yz(_,mwe);return(0,O.cloneElement)(s,y)}if(typeof s==`function`){var{content:b}=_,x=Yz(_,hwe);if(m=(0,O.createElement)(s,x),(0,O.isValidElement)(m))return m}else m=Cwe(t);var S=iE(t);if(nB(p)){if(i===`insideStart`||i===`insideEnd`||i===`end`)return Twe(t,i,m,S,p);h=Ewe(p,t.offset,t.position)}else{if(!g)return null;var C=pwe({viewBox:g,position:i,offset:t.offset,parentViewBox:nB(r)?void 0:r,clamp:!0});h=Zz(Zz({x:C.x,y:C.y,textAnchor:C.horizontalAnchor,verticalAnchor:C.verticalAnchor},C.width===void 0?{}:{width:C.width}),C.height===void 0?{}:{height:C.height})}return O.createElement(iz,{zIndex:t.zIndex},O.createElement(Kz,Qz({ref:u,className:xv(`recharts-label`,c)},S,h,{textAnchor:Bz(S.textAnchor)?S.textAnchor:h.textAnchor,breakAll:l}),m))}rB.displayName=`Label`;var kwe=(e,t,n)=>{if(!e)return null;var r={viewBox:t,labelRef:n};return e===!0?O.createElement(rB,Qz({key:`label-implicit`},r)):uD(e)?O.createElement(rB,Qz({key:`label-implicit`,value:e},r)):(0,O.isValidElement)(e)?e.type===rB?(0,O.cloneElement)(e,Zz({key:`label-implicit`},r)):O.createElement(rB,Qz({key:`label-implicit`,content:e},r)):tB(e)?O.createElement(rB,Qz({key:`label-implicit`,content:e},r)):e&&typeof e==`object`?O.createElement(rB,Qz({},e,{key:`label-implicit`},r)):null};function Awe(e){var{label:t,labelRef:n}=e;return kwe(t,eB(),n)||null}var jwe=[`valueAccessor`],Mwe=[`dataKey`,`clockWise`,`id`,`textBreakAll`,`zIndex`];function iB(){return iB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iB.apply(null,arguments)}function aB(e,t){if(e==null)return{};var n,r,i=Nwe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Nwe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Pwe=e=>{var t=Array.isArray(e.value)?e.value[e.value.length-1]:e.value;if(awe(t))return t},oB=(0,O.createContext)(void 0),sB=oB.Provider,cB=(0,O.createContext)(void 0);cB.Provider;function Fwe(){return(0,O.useContext)(oB)}function Iwe(){return(0,O.useContext)(cB)}function lB(e){var{valueAccessor:t=Pwe}=e,n=aB(e,jwe),{dataKey:r,clockWise:i,id:a,textBreakAll:o,zIndex:s}=n,c=aB(n,Mwe),l=Fwe(),u=Iwe(),d=l||u;
106return!d||!d.length?null:O.createElement(iz,{zIndex:s??YM.label},O.createElement(cE,{className:`recharts-label-list`},d.map((e,i)=>{var s=mD(r)?t(e,i):Kk(e.payload,r),l=mD(a)?{}:{id:`${a}-${i}`};return O.createElement(rB,iB({key:`label-${i}`},iE(e),c,l,{fill:n.fill??e.fill,parentViewBox:e.parentViewBox,value:s,textBreakAll:o,viewBox:e.viewBox,index:i,zIndex:0}))})))}lB.displayName=`LabelList`;function uB(e){var{label:t}=e;return t?t===!0?O.createElement(lB,{key:`labelList-implicit`}):O.isValidElement(t)||tB(t)?O.createElement(lB,{key:`labelList-implicit`,content:t}):typeof t==`object`?O.createElement(lB,iB({key:`labelList-implicit`},t,{type:String(t.type)})):null:null}function dB(){return dB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dB.apply(null,arguments)}var fB=e=>{var{cx:t,cy:n,r,className:i}=e,a=xv(`recharts-dot`,i);return lD(t)&&lD(n)&&lD(r)?O.createElement(`circle`,dB({},nE(e),yD(e),{className:a,cx:t,cy:n,r})):null},pB=pk({name:`polarAxis`,initialState:{radiusAxis:{},angleAxis:{}},reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=yj(t.payload)},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=yj(t.payload)},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:Lwe,removeRadiusAxis:Rwe,addAngleAxis:zwe,removeAngleAxis:Bwe}=pB.actions,Vwe=pB.reducer;function Hwe(e){return e&&typeof e==`object`&&`className`in e&&typeof e.className==`string`?e.className:``}var Uwe=o((e=>{typeof Symbol==`function`&&Symbol.for}));o(((e,t)=>{t.exports=Uwe()}))();var mB=e=>e&&typeof e==`object`&&`clipDot`in e?!!e.clipDot:!0,Wwe=o((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}e.isPlainObject=t})),Gwe=o(((e,t)=>{t.exports=Wwe().isPlainObject})),Kwe,qwe,Jwe,Ywe,Xwe;function hB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hB(Object(n),!0).forEach(function(t){Zwe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Zwe(e,t,n){return(t=Qwe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qwe(e){var t=$we(e,`string`);return typeof t==`symbol`?t:t+``}function $we(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function _B(){return _B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_B.apply(null,arguments)}function vB(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var yB=(e,t,n,r,i)=>{var a=n-r,o=iD(Kwe||=vB([`M `,`,`,``]),e,t);return o+=iD(qwe||=vB([`L `,`,`,``]),e+n,t),o+=iD(Jwe||=vB([`L `,`,`,``]),e+n-a/2,t+i),o+=iD(Ywe||=vB([`L `,`,`,``]),e+n-a/2-r,t+i),o+=iD(Xwe||=vB([`L `,`,`,` Z`]),e,t),o},eTe={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},tTe=e=>{var t=bD(e,eTe),{x:n,y:r,upperWidth:i,lowerWidth:a,height:o,className:s}=t,{animationEasing:c,animationDuration:l,animationBegin:u,isUpdateAnimationActive:d}=t,f=(0,O.useRef)(null),[p,m]=(0,O.useState)(-1),h=(0,O.useRef)(i),g=(0,O.useRef)(a),_=(0,O.useRef)(o),v=(0,O.useRef)(n),y=(0,O.useRef)(r),b=lM(e,`trapezoid-`);if((0,O.useEffect)(()=>
106{if(f.current&&f.current.getTotalLength)try{var e=f.current.getTotalLength();e&&m(e)}catch{}},[]),n!==+n||r!==+r||i!==+i||a!==+a||o!==+o||i===0&&a===0||o===0)return null;var x=xv(`recharts-trapezoid`,s);if(!d)return O.createElement(`g`,null,O.createElement(`path`,_B({},iE(t),{className:x,d:yB(n,r,i,a,o)})));var S=h.current,C=g.current,w=_.current,T=v.current,E=y.current,D=`0px ${p===-1?1:p}px`,k=`${p}px ${p}px`,A=Yj([`strokeDasharray`],l,c);return O.createElement(cM,{animationId:b,key:b,canBegin:p>0,duration:l,easing:c,isActive:d,begin:u},e=>{var s=pD(S,i,e),c=pD(C,a,e),l=pD(w,o,e),u=pD(T,n,e),d=pD(E,r,e);f.current&&(h.current=s,g.current=c,_.current=l,v.current=u,y.current=d);var p=e>0?{transition:A,strokeDasharray:k}:{strokeDasharray:D};return O.createElement(`path`,_B({},iE(t),{className:x,d:yB(u,d,s,c,l),ref:f,style:gB(gB({},p),t.style)}))})},nTe=l(Gwe()),rTe=[`option`,`shapeType`,`activeClassName`,`inActiveClassName`];function iTe(e,t){if(e==null)return{};var n,r,i=aTe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function aTe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function bB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bB(Object(n),!0).forEach(function(t){oTe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oTe(e,t,n){return(t=sTe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sTe(e){var t=cTe(e,`string`);return typeof t==`symbol`?t:t+``}function cTe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function lTe(e,t){return xB(xB({},t),e)}function uTe(e,t){return e===`symbols`}function SB(e){var{shapeType:t,elementProps:n}=e;switch(t){case`rectangle`:return O.createElement(_M,n);case`trapezoid`:return O.createElement(tTe,n);case`sector`:return O.createElement(DM,n);case`symbols`:if(uTe(t,n))return O.createElement(Xfe,n);break;case`curve`:return O.createElement(Wj,n);default:return null}}function dTe(e){return(0,O.isValidElement)(e)?e.props:e}function fTe(e){var{option:t,shapeType:n,activeClassName:r=`recharts-active-shape`,inActiveClassName:i=`recharts-shape`}=e,a=iTe(e,rTe),o;if((0,O.isValidElement)(t))o=(0,O.cloneElement)(t,xB(xB({},a),dTe(t)));else if(typeof t==`function`)o=t(a,a.index);else if((0,nTe.default)(t)&&typeof t!=`boolean`){var s=lTe(t,a);o=O.createElement(SB,{shapeType:n,elementProps:s})}else{var c=a;o=O.createElement(SB,{shapeType:n,elementProps:c})}return a.isActive?O.createElement(cE,{className:r},o):O.createElement(cE,{className:i},o)}function CB(e){var{tooltipEntrySettings:t}=e,n=OD(),r=dA(),i=(0,O.useRef)(null);return(0,O.useLayoutEffect)(()=>{r||(i.current===null?n(Uxe(t)):i.current!==t&&n(Wxe({prev:i.current,next:t})),i.current=t)},[t,n,r]),(0,O.useLayoutEffect)(()=>()=>{i.current&&=(n(Gxe(i.current)),null)},[n]),null}function wB(e){var{legendPayload:t}=e,n=OD(),r=dA(),i=(0,O.useRef)(null);return(0,O.useLayoutEffect)(()=>{r||(i.current===null?n(Xhe(t)):i.current!==t&&n(Zhe({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,O.useLayoutEffect)(()=>()=>{i.current&&=(n(Qhe(i.current)),null)},[n]),null}var pTe=O.useId??(()=>{var[e]=O.useState(()=>dD(`uid-`));return e});function mTe(e,t){var n=pTe();return t||(e?`${e}-${n}`:n)}var hTe=(0,O.createContext)(void 0),TB=e=>{var{id:t,type:n,children:r}=e,i=mTe(`recharts-${n}`,t);return O.createElement(hTe.Provider,{value:i},r(i))},EB=pk({name:`graphicalItems`,initialState:{cartesianItems:[],polarItems:[]},reducers:{addCartesianGraphicalItem:{reducer(e,t){e.cartesianItems.push(yj(t.payload))},prepare:lk()},replaceCartesianGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=ek(e).cartesianItems.indexOf(yj(n));i>-1&&(e.cartesianItems[i]=yj(r))},prepare:lk()},removeCartesianGraphicalItem:{reducer(e,t){var n=ek(e).cartesianItems.indexOf(yj(t.payload));n>-1&&e.cartesianItems.splice(n,1)},prepare:lk()},addPolarGraphicalItem:{reducer(e,t){e.polarItems.push(yj(t.payload))},prepare:lk()},removePolarGraphicalItem:{reducer(e,t){var n=ek(e).polarItems.indexOf(yj(t.payload));n>-1&&e.polarItems.splice(n,1)},prepare:lk()},replacePolarGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=ek(e).polarItems.indexOf(yj(n));i>-1&&(e.polarItems[i]=yj(r))},prepare:lk()}}}),{addCartesianGraphicalItem:gTe,replaceCartesianGraphicalItem:_Te,removeCartesianGraphicalItem:vTe,addPolarGraphicalItem:yTe,removePolarGraphicalItem:bTe,replacePolarGraphicalItem:xTe}=EB.actions,STe=EB.reducer,DB=(0,O.memo)(e=>{var t=OD(),n=(0,O.useRef)(null);return(0,O.useLayoutEffect)(()=>{n.current===null?t(gTe(e)):n.current!==e&&t(_Te({prev:n.current,next:e})),n.current=e},[t,e]),(0,O.useLayoutEffect)(()=>()=>{n.current&&=(t(vTe(n.current)),null)},[t]),null}),CTe=[`points`];function OB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
106t%2?OB(Object(n),!0).forEach(function(t){wTe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wTe(e,t,n){return(t=TTe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TTe(e){var t=ETe(e,`string`);return typeof t==`symbol`?t:t+``}function ETe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function AB(){return AB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AB.apply(null,arguments)}function DTe(e,t){if(e==null)return{};var n,r,i=OTe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function OTe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function kTe(e){var{option:t,dotProps:n,className:r}=e;if((0,O.isValidElement)(t))return(0,O.cloneElement)(t,n);if(typeof t==`function`)return t(n);var i=xv(r,typeof t==`boolean`?``:t.className),a=n??{},{points:o}=a,s=DTe(a,CTe);return O.createElement(fB,AB({},s,{className:i}))}function ATe(e,t){return e==null?!1:t?!0:e.length===1}function jB(e){var{points:t,dot:n,className:r,dotClassName:i,dataKey:a,baseProps:o,needClip:s,clipPathId:c,zIndex:l=YM.scatter}=e;if(!ATe(t,n))return null;var u=mB(n),d=Ude(n),f=t.map((e,r)=>{var s=kB(kB(kB({r:3},o),d),{},{index:r,cx:e.x??void 0,cy:e.y??void 0,dataKey:a,value:e.value,payload:e.payload,points:t});return O.createElement(kTe,{key:`dot-${r}`,option:n,dotProps:s,className:i})}),p={};return s&&c!=null&&(p.clipPath=`url(#clipPath-${u?``:`dots-`}${c})`),O.createElement(iz,{zIndex:l},O.createElement(cE,AB({className:r},p),f))}function MB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?MB(Object(n),!0).forEach(function(t){jTe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jTe(e,t,n){return(t=MTe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function MTe(e){var t=NTe(e,`string`);return typeof t==`symbol`?t:t+``}function NTe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var PB=pk({name:`cartesianAxis`,initialState:{xAxis:{},yAxis:{},zAxis:{}},reducers:{addXAxis:{reducer(e,t){e.xAxis[t.payload.id]=yj(t.payload)},prepare:lk()},replaceXAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.xAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.xAxis[n.id],e.xAxis[r.id]=yj(r))},prepare:lk()},removeXAxis:{reducer(e,t){delete e.xAxis[t.payload.id]},prepare:lk()},addYAxis:{reducer(e,t){e.yAxis[t.payload.id]=yj(t.payload)},prepare:lk()},replaceYAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.yAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.yAxis[n.id],e.yAxis[r.id]=yj(r))},prepare:lk()},removeYAxis:{reducer(e,t){delete e.yAxis[t.payload.id]},prepare:lk()},addZAxis:{reducer(e,t){e.zAxis[t.payload.id]=yj(t.payload)},prepare:lk()},replaceZAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.zAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.zAxis[n.id],e.zAxis[r.id]=yj(r))},prepare:lk()},removeZAxis:{reducer(e,t){delete e.zAxis[t.payload.id]},prepare:lk()},updateYAxisWidth(e,t){var{id:n,width:r}=t.payload,i=e.yAxis[n];if(i){var a=i.widthHistory||[];if(a.length===3&&a[0]===a[2]&&r===a[1]&&r!==i.width&&Math.abs(r-(a[0]??0))<=1)return;var o=[...a,r].slice(-3);e.yAxis[n]=NB(NB({},i),{}
106,{width:r,widthHistory:o})}}}}),{addXAxis:PTe,replaceXAxis:FTe,removeXAxis:ITe,addYAxis:LTe,replaceYAxis:RTe,removeYAxis:zTe,addZAxis:BTe,replaceZAxis:VTe,removeZAxis:HTe,updateYAxisWidth:UTe}=PB.actions,WTe=PB.reducer,GTe=Q([Q([lA],e=>({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),nA,rA],(e,t,n)=>{if(!(!e||t==null||n==null))return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,n-e.top-e.bottom)}}),FB=()=>AD(GTe),KTe=()=>AD(ESe);function IB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function LB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?IB(Object(n),!0).forEach(function(t){qTe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qTe(e,t,n){return(t=JTe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JTe(e){var t=YTe(e,`string`);return typeof t==`symbol`?t:t+``}function YTe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var XTe=e=>{var{point:t,childIndex:n,mainColor:r,activeDot:i,dataKey:a,clipPath:o}=e;if(i===!1||t.x==null||t.y==null)return null;var s=LB(LB(LB({},{index:n,dataKey:a,cx:t.x,cy:t.y,r:4,fill:r??`none`,strokeWidth:2,stroke:`#fff`,payload:t.payload,value:t.value}),rE(i)),yD(i)),c=(0,O.isValidElement)(i)?(0,O.cloneElement)(i,s):typeof i==`function`?i(s):O.createElement(fB,s);return O.createElement(cE,{className:`recharts-active-dot`,clipPath:o},c)};function RB(e){var{points:t,mainColor:n,activeDot:r,itemDataKey:i,clipPath:a,zIndex:o=YM.activeDot}=e,s=AD(LR),c=KTe();if(t==null||c==null)return null;var l=t.find(e=>c.includes(e.payload));return mD(l)?null:O.createElement(iz,{zIndex:o},O.createElement(XTe,{point:l,childIndex:Number(s),mainColor:n,dataKey:i,activeDot:r,clipPath:a}))}var ZTe=e=>{var{chartData:t}=e,n=OD(),r=dA();return(0,O.useEffect)(()=>r?()=>{}:(n(hz(t)),()=>{n(hz(void 0))}),[t,n,r]),null},zB={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},BB=pk({name:`brush`,initialState:zB,reducers:{setBrushSettings(e,t){return t.payload==null?zB:t.payload}}}),{setBrushSettings:QTe}=BB.actions,$Te=BB.reducer;function eEe(e){return(e%180+180)%180}var tEe=function(e){var{width:t,height:n}=e,r=eEe(arguments.length>1&&arguments[1]!==void 0?arguments[1]:0)*Math.PI/180,i=Math.atan(n/t),a=r>i&&r<Math.PI-i?n/Math.sin(r):t/Math.cos(r);return Math.abs(a)},VB=pk({name:`referenceElements`,initialState:{dots:[],areas:[],lines:[]},reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var n=ek(e).dots.findIndex(e=>e===t.payload);n!==-1&&e.dots.splice(n,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var n=ek(e).areas.findIndex(e=>e===t.payload);n!==-1&&e.areas.splice(n,1)},addLine:(e,t)=>{e.lines.push(yj(t.payload))},removeLine:(e,t)=>{var n=ek(e).lines.findIndex(e=>e===t.payload);n!==-1&&e.lines.splice(n,1)}}}),{addDot:nEe,removeDot:rEe,addArea:iEe,removeArea:aEe,addLine:oEe,removeLine:sEe}=VB.actions,cEe=VB.reducer,lEe=(0,O.createContext)(void 0),uEe=e=>{var{children:t}=e,[n]=(0,O.useState)(`${dD(`recharts`)}-clip`),r=FB();if(r==null)return null;var{x:i,y:a,width:o,height:s}=r;return O.createElement(lEe.Provider,{value:n},O.createElement(`defs`,null,O.createElement(`clipPath`,{id:n},O.createElement(`rect`,{x:i,y:a,height:s,width:o}))),t)};function HB(e,t){if(t<1)return[];if(t===1)return e;for(var n=[],r=0;r<e.length;r+=t){var i=e[r];i!==void 0&&n.push(i)}return n}function dEe(e,t,n){return tEe({width:e.width+t.width,height:e.height+t.height},n)}function fEe(e,t,n){var r=n===`width`,{x:i,y:a,width:o,height:s}=e;return t===1?{start:r?i:a,end:r?i+o:a+s}:{start:r?i+o:a+s,end:r?i:a}}function UB(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var a=n();return e*(t-e*a/2-r)>=0&&e*(t+e*a/2-i)<=0}function pEe(e,t){return HB(e,t+1)}function mEe(e,t,n,r,i){for(var a=(r||[]).slice(),{start:o,end:s}=t,c=0,l=1,u=o,d=function(){var t=r?.[c];if(t===void 0)return{v:HB(r,l)};var a=c,d,f=()=>(d===void 0&&(d=n(t,a)),d),p=t.coordinate,m=c===0||UB(e,p,f,u,s);
106m||(c=0,u=o,l+=1),m&&(u=p+e*(f()/2+i),c+=l)},f;l<=a.length;)if(f=d(),f)return f.v;return[]}function hEe(e,t,n,r,i){var a=(r||[]).slice().length;if(a===0)return[];for(var{start:o,end:s}=t,c=1;c<=a;c++){for(var l=(a-1)%c,u=o,d=!0,f=function(){var t=r[m];if(t==null)return 0;var a=m,o,c=()=>(o===void 0&&(o=n(t,a)),o),f=t.coordinate,p=m===l||UB(e,f,c,u,s);if(!p)return d=!1,1;p&&(u=f+e*(c()/2+i))},p,m=l;m<a&&(p=f(),p===0||p!==1);m+=c);if(d){for(var h=[],g=l;g<a;g+=c){var _=r[g];_!=null&&h.push(_)}return h}}return[]}function WB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function GB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?WB(Object(n),!0).forEach(function(t){gEe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gEe(e,t,n){return(t=_Ee(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _Ee(e){var t=vEe(e,`string`);return typeof t==`symbol`?t:t+``}function vEe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yEe(e,t,n,r,i){for(var a=(r||[]).slice(),o=a.length,{start:s}=t,{end:c}=t,l=function(t){var r=a[t];if(r==null)return 1;var l=r,u,d=()=>(u===void 0&&(u=n(r,t)),u);if(t===o-1){var f=e*(l.coordinate+e*d()/2-c);a[t]=l=GB(GB({},l),{},{tickCoord:f>0?l.coordinate-f*e:l.coordinate})}else a[t]=l=GB(GB({},l),{},{tickCoord:l.coordinate});l.tickCoord!=null&&UB(e,l.tickCoord,d,s,c)&&(c=l.tickCoord-e*(d()/2+i),a[t]=GB(GB({},l),{},{isShow:!0}))},u=o-1;u>=0;u--)if(l(u))continue;return a}function bEe(e,t,n,r,i,a){var o=(r||[]).slice(),s=o.length,{start:c,end:l}=t;if(a){var u=r[s-1];if(u!=null){var d=n(u,s-1),f=e*(u.coordinate+e*d/2-l);o[s-1]=u=GB(GB({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate}),u.tickCoord!=null&&UB(e,u.tickCoord,()=>d,c,l)&&(l=u.tickCoord-e*(d/2+i),o[s-1]=GB(GB({},u),{},{isShow:!0}))}}for(var p=a?s-1:s,m=function(t){var r=o[t];if(r==null)return 1;var a=r,s,u=()=>(s===void 0&&(s=n(r,t)),s);if(t===0){var d=e*(a.coordinate-e*u()/2-c);o[t]=a=GB(GB({},a),{},{tickCoord:d<0?a.coordinate-d*e:a.coordinate})}else o[t]=a=GB(GB({},a),{},{tickCoord:a.coordinate});a.tickCoord!=null&&UB(e,a.tickCoord,u,c,l)&&(c=a.tickCoord+e*(u()/2+i),o[t]=GB(GB({},a),{},{isShow:!0}))},h=0;h<p;h++)if(m(h))continue;return o}function KB(e,t,n){var{tick:r,ticks:i,viewBox:a,minTickGap:o,orientation:s,interval:c,tickFormatter:l,unit:u,angle:d}=e;if(!i||!i.length||!r)return[];if(lD(c)||Aj.isSsr)return pEe(i,lD(c)?c:0)??[];var f=[],p=s===`top`||s===`bottom`?`width`:`height`,m=u&&p===`width`?Dz(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},h=(e,r)=>{var i=typeof l==`function`?l(e.value,r):e.value;return p===`width`?dEe(Dz(i,{fontSize:t,letterSpacing:n}),m,d):Dz(i,{fontSize:t,letterSpacing:n})[p]},g=i[0],_=i[1],v=i.length>=2&&g!=null&&_!=null?oD(_.coordinate-g.coordinate):1,y=fEe(a,v,p);return c===`equidistantPreserveStart`?mEe(v,y,h,i,o):c===`equidistantPreserveEnd`?hEe(v,y,h,i,o):(f=c===`preserveStart`||c===`preserveStartEnd`?bEe(v,y,h,i,o,c===`preserveStartEnd`):yEe(v,y,h,i,o),f.filter(e=>e.isShow))}var xEe=e=>{var{ticks:t,label:n,labelGapWithTick:r=5,tickSize:i=0,tickMargin:a=0}=e,o=0;if(t){Array.from(t).forEach(e=>{if(e){var t=e.getBoundingClientRect();t.width>
106o&&(o=t.width)}});var s=n?n.getBoundingClientRect().width:0,c=i+a,l=o+c+s+(n?r:0);return Math.round(l)}return 0},qB=pk({name:`renderedTicks`,initialState:{xAxis:{},yAxis:{}},reducers:{setRenderedTicks:(e,t)=>{var{axisType:n,axisId:r,ticks:i}=t.payload;e[n][r]=yj(i)},removeRenderedTicks:(e,t)=>{var{axisType:n,axisId:r}=t.payload;delete e[n][r]}}}),{setRenderedTicks:SEe,removeRenderedTicks:CEe}=qB.actions,wEe=qB.reducer,TEe=[`axisLine`,`width`,`height`,`className`,`hide`,`ticks`,`axisType`,`axisId`];function EEe(e,t){if(e==null)return{};var n,r,i=DEe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function DEe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function JB(){return JB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JB.apply(null,arguments)}function YB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function XB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?YB(Object(n),!0).forEach(function(t){OEe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function OEe(e,t,n){return(t=kEe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kEe(e){var t=AEe(e,`string`);return typeof t==`symbol`?t:t+``}function AEe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var ZB={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:`bottom`,ticks:[],stroke:`#666`,tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:`preserveEnd`,zIndex:YM.axis};function jEe(e){var{x:t,y:n,width:r,height:i,orientation:a,mirror:o,axisLine:s,otherSvgProps:c}=e;if(!s)return null;var l=XB(XB(XB({},c),nE(s)),{},{fill:`none`});if(a===`top`||a===`bottom`){var u=+(a===`top`&&!o||a===`bottom`&&o);l=XB(XB({},l),{},{x1:t,y1:n+u*i,x2:t+r,y2:n+u*i})}else{var d=+(a===`left`&&!o||a===`right`&&o);l=XB(XB({},l),{},{x1:t+d*r,y1:n,x2:t+d*r,y2:n+i})}return O.createElement(`line`,JB({},l,{className:xv(`recharts-cartesian-axis-line`,(0,aD.default)(s,`className`))}))}function MEe(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h=s?-1:1,g=e.tickSize||o,_=lD(e.tickCoord)?e.tickCoord:e.coordinate;switch(a){case`top`:l=u=e.coordinate,f=n+ +!s*i,d=f-h*g,m=d-h*c,p=_;break;case`left`:d=f=e.coordinate,u=t+ +!s*r,l=u-h*g,p=l-h*c,m=_;break;case`right`:d=f=e.coordinate,u=t+ +s*r,l=u+h*g,p=l+h*c,m=_;break;default:l=u=e.coordinate,f=n+ +s*i,d=f+h*g,m=d+h*c,p=_}return{line:{x1:l,y1:d,x2:u,y2:f},tick:{x:p,y:m}}}function NEe(e,t){switch(e){case`left`:return t?`start`:`end`;case`right`:return t?`end`:`start`;default:return`middle`}}function PEe(e,t){switch(e){case`left`:case`right`:return`middle`;case`top`:return t?`start`:`end`;default:return t?`end`:`start`}}function FEe(e){var{option:t,tickProps:n,value:r}=e,i,a=xv(n.className,`recharts-cartesian-axis-tick-value`);if(O.isValidElement(t))i=O.cloneElement(t,XB(XB({},n),{},{className:a}));else if(typeof t==`function`)i=t(XB(XB({},n),{},{className:a}));else{var o=`recharts-cartesian-axis-tick-value`;typeof t!=`boolean`&&(o=xv(o,Hwe(t))),i=O.createElement(Kz,JB({},n,{className:o}),r)}return i}function IEe(e){var{ticks:t,axisType:n,axisId:r}=e,i=OD();return(0,O.useEffect)(()=>r==null||n==null?_D:(i(SEe({ticks:t.map(e=>({value:e.value,coordinate:e.coordinate,offset:e.offset,index:e.index})),axisId:r,axisType:n})),()=>{i(CEe({axisId:r,axisType:n}))}),[i,t,r,n]),null}var LEe=(0,O.forwardRef)((e,t)=>
106{var{ticks:n=[],tick:r,tickLine:i,stroke:a,tickFormatter:o,unit:s,padding:c,tickTextProps:l,orientation:u,mirror:d,x:f,y:p,width:m,height:h,tickSize:g,tickMargin:_,fontSize:v,letterSpacing:y,getTicksConfig:b,events:x,axisType:S,axisId:C}=e,w=KB(XB(XB({},b),{},{ticks:n}),v,y),T=nE(b),E=rE(r),D=Bz(T.textAnchor)?T.textAnchor:NEe(u,d),k=PEe(u,d),A={};typeof i==`object`&&(A=i);var j=XB(XB({},T),{},{fill:`none`},A),M=w.map(e=>XB({entry:e},MEe(e,f,p,m,h,u,g,d,_))),N=M.map(e=>{var{entry:t,line:n}=e;return O.createElement(cE,{className:`recharts-cartesian-axis-tick`,key:`tick-${t.value}-${t.coordinate}-${t.tickCoord}`},i&&O.createElement(`line`,JB({},j,n,{className:xv(`recharts-cartesian-axis-tick-line`,(0,aD.default)(i,`className`))})))}),P=M.map((e,t)=>{var{entry:n,tick:i}=e,u=XB(XB({},XB(XB(XB(XB({verticalAnchor:k},T),{},{textAnchor:D,stroke:`none`,fill:a},i),{},{index:t,payload:n,visibleTicksCount:w.length,tickFormatter:o,padding:c},l),{},{angle:l?.angle??T.angle??0})),E);return O.createElement(cE,JB({className:`recharts-cartesian-axis-tick-label`,key:`tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`},$fe(x,n,t)),r&&O.createElement(FEe,{option:r,tickProps:u,value:`${typeof o==`function`?o(n.value,t):n.value}${s||``}`}))});return O.createElement(`g`,{className:`recharts-cartesian-axis-ticks recharts-${S}-ticks`},O.createElement(IEe,{ticks:w,axisId:C,axisType:S}),P.length>0&&O.createElement(iz,{zIndex:YM.label},O.createElement(`g`,{className:`recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,ref:t},P)),N.length>0&&O.createElement(`g`,{className:`recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines`},N))}),REe=(0,O.forwardRef)((e,t)=>{var{axisLine:n,width:r,height:i,className:a,hide:o,ticks:s,axisType:c,axisId:l}=e,u=EEe(e,TEe),[d,f]=(0,O.useState)(``),[p,m]=(0,O.useState)(``),h=(0,O.useRef)(null);(0,O.useImperativeHandle)(t,()=>({getCalculatedWidth:()=>xEe({ticks:h.current,label:e.labelRef?.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}));var g=(0,O.useCallback)(e=>{if(e){var t=e.getElementsByClassName(`recharts-cartesian-axis-tick-value`);h.current=t;var n=t[0];if(n){var r=window.getComputedStyle(n),i=r.fontSize,a=r.letterSpacing;(i!==d||a!==p)&&(f(i),m(a))}}},[d,p]);return o||r!=null&&r<=0||i!=null&&i<=0?null:O.createElement(iz,{zIndex:e.zIndex},O.createElement(cE,{className:xv(`recharts-cartesian-axis`,a)},O.createElement(jEe,{x:e.x,y:e.y,width:r,height:i,orientation:e.orientation,mirror:e.mirror,axisLine:n,otherSvgProps:nE(e)}),O.createElement(LEe,{ref:g,axisType:c,events:u,fontSize:d,getTicksConfig:e,height:e.height,letterSpacing:p,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:s,unit:e.unit,width:e.width,x:e.x,y:e.y,axisId:l}),O.createElement(bwe,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},O.createElement(Awe,{label:e.label,labelRef:e.labelRef}),e.children)))}),QB=O.forwardRef((e,t)=>{var n=bD(e,ZB);return O.createElement(REe,JB({},n,{ref:t}))});QB.displayName=`CartesianAxis`;var zEe=[`x1`,`y1`,`x2`,`y2`,`key`],BEe=[`offset`],VEe=[`xAxisId`,`yAxisId`],HEe=[`xAxisId`,`yAxisId`];function $B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$B(Object(n),!0).forEach(function(t){UEe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$B(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function UEe(e,t,n){return(t=WEe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WEe(e){var t=GEe(e,`string`);return typeof t==`symbol`?t:t+``}function GEe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function tV(){return tV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tV.apply(null,arguments)}function nV(e,t){if(e==null)return{};var n,r,i=KEe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function KEe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var qEe=e=>{var{fill:t}=e;if(!t||t===`none`)return null;var{fillOpacity:n,x:r,y:i,width:a,height:o,ry:s}=e;return O.createElement(`rect`,{x:r,y:i,ry:s,width:a,height:o,stroke:`none`,fill:t,fillOpacity:n,className:`recharts-cartesian-grid-bg`})};function rV(e){var{option:t,lineItemProps:n}=e,r;if(O.isValidElement(t))r=O.cloneElement(t,n);else if(typeof t==`function`)r=t(n);else{var{x1:i,y1:a,x2:o,y2:s,key:c}=n,l=nE(nV(n,zEe))??{},{offset:u}=l,d=nV(l,BEe);r=O.createElement(`line`,tV({},d,{x1:i,y1:a,x2:o,y2:s,fill:`none`,key:c}))}return r}function JEe(e){var{x:t,width:n,horizontal:r=!0,horizontalPoints:i}=e;if(!r||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=nV(e,VEe),c=i.map((e,i)=>{var a=eV(eV({},s),{},{x1:t,y1:e,x2:t+n,y2:e,key:`line-${i}`,index:i});return O.createElement(rV,{key:`line-${i}`,option:r,lineItemProps:a})});return O.createElement(`g`,{className:`recharts-cartesian-grid-horizontal`},c)}function YEe(e){var{y:t,height:n,vertical:r=!0,verticalPoints:i}=e;if(!r||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=nV(e,HEe),c=i.map((e,i)=>{var a=eV(eV({},s),{},{x1:e,y1:t,x2:e,y2:t+n,key:`line-${i}`,index:i});return O.createElement(rV,{option:r,lineItemProps:a,key:`line-${i}`})});return O.createElement(`g`,{className:`recharts-cartesian-grid-vertical`},c)}function XEe(e){var{horizontalFill:t,fillOpacity:n,x:r,y:i,width:a,height:o,horizontalPoints:s,horizontal:c=!0}=e;if(!c||!t||!t.length||s==null)return null;var l=s.map(e=>Math.round(e+i-i)).sort((e,t)=>
106e-t);i!==l[0]&&l.unshift(0);var u=l.map((e,s)=>{var c=l[s+1],u=c==null?i+o-e:c-e;if(u<=0)return null;var d=s%t.length;return O.createElement(`rect`,{key:`react-${s}`,y:e,x:r,height:u,width:a,stroke:`none`,fill:t[d],fillOpacity:n,className:`recharts-cartesian-grid-bg`})});return O.createElement(`g`,{className:`recharts-cartesian-gridstripes-horizontal`},u)}function ZEe(e){var{vertical:t=!0,verticalFill:n,fillOpacity:r,x:i,y:a,width:o,height:s,verticalPoints:c}=e;if(!t||!n||!n.length)return null;var l=c.map(e=>Math.round(e+i-i)).sort((e,t)=>e-t);i!==l[0]&&l.unshift(0);var u=l.map((e,t)=>{var c=l[t+1],u=c==null?i+o-e:c-e;if(u<=0)return null;var d=t%n.length;return O.createElement(`rect`,{key:`react-${t}`,x:e,y:a,width:u,height:s,stroke:`none`,fill:n[d],fillOpacity:r,className:`recharts-cartesian-grid-bg`})});return O.createElement(`g`,{className:`recharts-cartesian-gridstripes-vertical`},u)}var QEe=(e,t)=>{var{xAxis:n,width:r,height:i,offset:a}=e;return Jk(KB(eV(eV(eV({},ZB),n),{},{ticks:Yk(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.left,a.left+a.width,t)},$Ee=(e,t)=>{var{yAxis:n,width:r,height:i,offset:a}=e;return Jk(KB(eV(eV(eV({},ZB),n),{},{ticks:Yk(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.top,a.top+a.height,t)},eDe={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:`#ccc`,fill:`none`,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:YM.grid};function iV(e){var t=DA(),n=OA(),r=EA(),i=eV(eV({},bD(e,eDe)),{},{x:lD(e.x)?e.x:r.left,y:lD(e.y)?e.y:r.top,width:lD(e.width)?e.width:r.width,height:lD(e.height)?e.height:r.height}),{xAxisId:a,yAxisId:o,x:s,y:c,width:l,height:u,syncWithTicks:d,horizontalValues:f,verticalValues:p}=i,m=dA(),h=AD(e=>JL(e,`xAxis`,a,m)),g=AD(e=>JL(e,`yAxis`,o,m));if(!Uk(l)||!Uk(u)||!lD(s)||!lD(c))return null;var _=i.verticalCoordinatesGenerator||QEe,v=i.horizontalCoordinatesGenerator||$Ee,{horizontalPoints:y,verticalPoints:b}=i;if((!y||!y.length)&&typeof v==`function`){var x=f&&f.length,S=v({yAxis:g?eV(eV({},g),{},{ticks:x?f:g.ticks}):void 0,width:t??l,height:n??u,offset:r},x?!0:d);mA(Array.isArray(S),`horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`),Array.isArray(S)&&(y=S)}if((!b||!b.length)&&typeof _==`function`){var C=p&&p.length,w=_({xAxis:h?eV(eV({},h),{},{ticks:C?p:h.ticks}):void 0,width:t??l,height:n??u,offset:r},C?!0:d);mA(Array.isArray(w),`verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`),Array.isArray(w)&&(b=w)}return O.createElement(iz,{zIndex:i.zIndex},O.createElement(`g`,{className:`recharts-cartesian-grid`},O.createElement(qEe,{fill:i.fill,fillOpacity:i.fillOpacity,x:i.x,y:i.y,width:i.width,height:i.height,ry:i.ry}),O.createElement(XEe,tV({},i,{horizontalPoints:y})),O.createElement(ZEe,tV({},i,{verticalPoints:b})),O.createElement(JEe,tV({},i,{offset:r,horizontalPoints:y,xAxis:h,yAxis:g})),O.createElement(YEe,tV({},i,{offset:r,verticalPoints:b,xAxis:h,yAxis:g}))))}iV.displayName=`CartesianGrid`;var aV=pk({name:`errorBars`,initialState:{},reducers:{addErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]||(e[n]=[]),e[n].push(r)},replaceErrorBar:(e,t)=>{var{itemId:n,prev:r,next:i}=t.payload;e[n]&&(e[n]=e[n].map(e=>e.dataKey===r.dataKey&&e.direction===r.direction?i:e))},removeErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]&&(e[n]=e[n].filter(e=>e.dataKey!==r.dataKey||e.direction!==r.direction))}}}),{addErrorBar:tDe,replaceErrorBar:nDe,removeErrorBar:rDe}=aV.actions,iDe=aV.reducer,aDe=[`children`];function oDe(e,t){if(e==null)return{};var n,r,i=sDe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function sDe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var cDe=(0,O.createContext)({data:[],xAxisId:`xAxis-0`,yAxisId:`yAxis-0`,dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0});function lDe(e){var{children:t}=e,n=oDe(e,aDe);return O.createElement(cDe.Provider,{value:n},t)}function oV(e,t){var n=AD(t=>BI(t,e)),r=AD(e=>UI(e,t)),i=n?.allowDataOverflow??RI.allowDataOverflow,a=r?.allowDataOverflow??
106VI.allowDataOverflow;return{needClip:i||a,needClipX:i,needClipY:a}}function sV(e){var{xAxisId:t,yAxisId:n,clipPathId:r}=e,i=FB(),{needClipX:a,needClipY:o,needClip:s}=oV(t,n);if(!s||!i)return null;var{x:c,y:l,width:u,height:d}=i;return O.createElement(`clipPath`,{id:`clipPath-${r}`},O.createElement(`rect`,{x:a?c:c-u/2,y:o?l:l-d/2,width:a?u:u*2,height:o?d:d*2}))}var cV=(e,t,n,r)=>ZL(e,`xAxis`,t,r),lV=(e,t,n,r)=>XL(e,`xAxis`,t,r),uV=(e,t,n,r)=>ZL(e,`yAxis`,n,r),dV=(e,t,n,r)=>XL(e,`yAxis`,n,r),uDe=Q([kA,cV,uV,lV,dV],(e,t,n,r,i)=>qk(e,`xAxis`)?$k(t,r,!1):$k(n,i,!1)),dDe=(e,t,n,r,i)=>i;function fDe(e){return e.type===`line`}var pDe=Q([kA,cV,uV,lV,dV,Q([YI,dDe],(e,t)=>e.filter(fDe).find(e=>e.id===t)),uDe,AM],(e,t,n,r,i,a,o,s)=>{var{chartData:c,dataStartIndex:l,dataEndIndex:u}=s;if(!(a==null||t==null||n==null||r==null||i==null||r.length===0||i.length===0||o==null||e!==`horizontal`&&e!==`vertical`)){var{dataKey:d,data:f}=a,p=f!=null&&f.length>0?f:c?.slice(l,u+1);if(p!=null)return NDe({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:i,dataKey:d,bandSize:o,displayedData:p})}});function fV(e){var t=rE(e),n=3,r=2;if(t!=null){var{r:i,strokeWidth:a}=t,o=Number(i),s=Number(a);return(Number.isNaN(o)||o<0)&&(o=n),(Number.isNaN(s)||s<0)&&(s=r),{r:o,strokeWidth:s}}return{r:n,strokeWidth:r}}var mDe=[`id`],hDe=[`type`,`layout`,`connectNulls`,`needClip`,`shape`],gDe=[`activeDot`,`animateNewValues`,`animationBegin`,`animationDuration`,`animationEasing`,`connectNulls`,`dot`,`hide`,`isAnimationActive`,`label`,`legendType`,`xAxisId`,`yAxisId`,`id`];function pV(){return pV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pV.apply(null,arguments)}function mV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?mV(Object(n),!0).forEach(function(t){_De(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _De(e,t,n){return(t=vDe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vDe(e){var t=yDe(e,`string`);return typeof t==`symbol`?t:t+``}function yDe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function gV(e,t){if(e==null)return{};var n,r,i=bDe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function bDe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var xDe=e=>{var{dataKey:t,name:n,stroke:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:tA(n,t),payload:e}]},SDe=O.memo(e=>{var{dataKey:t,data:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,unit:c,tooltipType:l,id:u}=e,d={dataDefinedOnItem:n,getPosition:_D,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:tA(o,t),hide:s,type:l,color:r,unit:c,graphicalItemId:u}};return O.createElement(CB,{tooltipEntrySettings:d})}),_V=(e,t)=>`${t}px ${e}px`;function CDe(e,t){for(var n=e.length%2==0?e:[...e,0],r=[],i=0;i<t;++i)r.push(...n);return r}var wDe=(e,t,n)=>{var r=n.reduce((e,t)=>e+t,0);if(!r)return _V(t,e);for(var i=Math.floor(e/r),a=e%r,o=[],s=0,c=0;s<n.length;c+=(l=n[s])??0,++s){var l,u=n[s];if(u!=null&&c+u>a){o=[...n.slice(0,s),a-c];break}}var d=o.length%2==0?[0,t]:[t];return[...CDe(n,i),...o,...d].map(e=>`${e}px`).join(`, `)};function TDe(e){var{clipPathId:t,points:n,props:r}=e,{dot:i,dataKey:a,needClip:o}=r,{id:s}=r,c=nE(gV(r,mDe));return O.createElement(jB,{points:n,dot:i,className:`recharts-line-dots`,dotClassName:`recharts-line-dot`,dataKey:a,baseProps:c,needClip:o,clipPathId:t})}function EDe(e){var{showLabels:t,children:n,points:r}=e,i=(0,O.useMemo)(()=>r?.map(e=>{var t={x:e.x??0,y:e.y??0,width:0,lowerWidth:0,upperWidth:0,height:0};return hV(hV({},t),{},{value:e.value,payload:e.payload,viewBox:t,parentViewBox:void 0,fill:void 0})}),[r]);return O.createElement(sB,{value:t?i:void 0},n)}function vV(e){var{clipPathId:t,pathRef:n,points:r,strokeDasharray:i,props:a}=e,{type:o,layout:s,connectNulls:c,needClip:l,shape:u}=a,d=hV(hV({},iE(gV(a,hDe))),{},{fill:`none`,className:`recharts-line-curve`,clipPath:l?`url(#clipPath-${t})`:void 0,points:r,type:o,layout:s,connectNulls:c,strokeDasharray:i??a.strokeDasharray});return O.createElement(O.Fragment,null,r?.length>1&&O.createElement(fTe,pV({shapeType:`curve`,option:u},d,{pathRef:n})),O.createElement(TDe,{points:r,clipPathId:t,props:a}))}function DDe(e){try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch{return 0}}function ODe(e){var{clipPathId:t,props:n,pathRef:r,previousPointsRef:i,longestAnimatedLengthRef:a}=e,{points:o,strokeDasharray:s,isAnimationActive:c,animationBegin:l,animationDuration:u,animationEasing:d,animateNewValues:f,width:p,height:m,onAnimationEnd:h,onAnimationStart:g}=n,_=i.current,v=lM(o,`recharts-line-`),y=(0,O.useRef)(v),[b,x]=(0,O.useState)(!1),S=!b,C=(0,O.useCallback)(()=>{typeof h==`function`&&h(),x(!1)}
106,[h]),w=(0,O.useCallback)(()=>{typeof g==`function`&&g(),x(!0)},[g]),T=DDe(r.current),E=(0,O.useRef)(0);y.current!==v&&(E.current=a.current,y.current=v);var D=E.current;return O.createElement(EDe,{points:o,showLabels:S},n.children,O.createElement(cM,{animationId:v,begin:l,duration:u,isActive:c,easing:d,onAnimationEnd:C,onAnimationStart:w,key:v},e=>{var l=pD(D,T+D,e),u=Math.min(l,T),d=c?s?wDe(u,T,`${s}`.split(/[,\s]+/gim).map(e=>parseFloat(e))):_V(T,u):s==null?void 0:String(s);if(e>0&&T>0&&(i.current=o,a.current=Math.max(a.current,u)),_){var h=_.length/o.length,g=e===1?o:o.map((t,n)=>{var r=Math.floor(n*h);if(_[r]){var i=_[r];return hV(hV({},t),{},{x:pD(i.x,t.x,e),y:pD(i.y,t.y,e)})}return f?hV(hV({},t),{},{x:pD(p*2,t.x,e),y:pD(m/2,t.y,e)}):hV(hV({},t),{},{x:t.x,y:t.y})});return i.current=g,O.createElement(vV,{props:n,points:g,clipPathId:t,pathRef:r,strokeDasharray:d})}return O.createElement(vV,{props:n,points:o,clipPathId:t,pathRef:r,strokeDasharray:d})}),O.createElement(uB,{label:n.label}))}function kDe(e){var{clipPathId:t,props:n}=e,r=(0,O.useRef)(null),i=(0,O.useRef)(0),a=(0,O.useRef)(null);return O.createElement(ODe,{props:n,clipPathId:t,previousPointsRef:r,longestAnimatedLengthRef:i,pathRef:a})}var ADe=(e,t)=>({x:e.x??void 0,y:e.y??void 0,value:e.value,errorVal:Kk(e.payload,t)}),jDe=class extends O.Component{render(){var{hide:e,dot:t,points:n,className:r,xAxisId:i,yAxisId:a,top:o,left:s,width:c,height:l,id:u,needClip:d,zIndex:f}=this.props;if(e)return null;var p=xv(`recharts-line`,r),m=u,{r:h,strokeWidth:g}=fV(t),_=mB(t),v=h*2+g,y=d?`url(#clipPath-${_?``:`dots-`}${m})`:void 0;return O.createElement(iz,{zIndex:f},O.createElement(cE,{className:p},d&&O.createElement(`defs`,null,O.createElement(sV,{clipPathId:m,xAxisId:i,yAxisId:a}),!_&&O.createElement(`clipPath`,{id:`clipPath-dots-${m}`},O.createElement(`rect`,{x:s-v/2,y:o-v/2,width:c+v,height:l+v}))),O.createElement(lDe,{xAxisId:i,yAxisId:a,data:n,dataPointFormatter:ADe,errorBarOffset:0},O.createElement(kDe,{props:this.props,clipPathId:m}))),O.createElement(RB,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:y}))}},yV={activeDot:!0,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,connectNulls:!1,dot:!0,fill:`#fff`,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,xAxisId:0,yAxisId:0,zIndex:YM.line,type:`linear`};function MDe(e){var t=bD(e,yV),{activeDot:n,animateNewValues:r,animationBegin:i,animationDuration:a,animationEasing:o,connectNulls:s,dot:c,hide:l,isAnimationActive:u,label:d,legendType:f,xAxisId:p,yAxisId:m,id:h}=t,g=gV(t,gDe),{needClip:_}=oV(p,m),v=FB(),y=AA(),b=dA(),x=AD(e=>pDe(e,p,m,b,h));if(y!==`horizontal`&&y!==`vertical`||x==null||v==null)return null;var{height:S,width:C,x:w,y:T}=v;return O.createElement(jDe,pV({},g,{id:h,connectNulls:s,dot:c,activeDot:n,animateNewValues:r,animationBegin:i,animationDuration:a,animationEasing:o,isAnimationActive:u,hide:l,label:d,legendType:f,xAxisId:p,yAxisId:m,points:x,layout:y,height:S,width:C,left:w,top:T,needClip:_}))}function NDe(e){var{layout:t,xAxis:n,yAxis:r,xAxisTicks:i,yAxisTicks:a,dataKey:o,bandSize:s,displayedData:c}=e;return c.map((e,c)=>{var l=Kk(e,o);if(t===`horizontal`)return{x:Xk({axis:n,ticks:i,bandSize:s,entry:e,index:c}),y:(mD(l)?null:r.scale.map(l))??null,value:l,payload:e};var u=mD(l)?null:n.scale.map(l),d=Xk({axis:r,ticks:a,bandSize:s,entry:e,index:c});return u==null||d==null?null:{x:u,y:d,value:l,payload:e}}).filter(Boolean)}function PDe(e){var t=bD(e,yV),n=dA();return O.createElement(TB,{id:t.id,type:`line`},e=>O.createElement(O.Fragment,null,O.createElement(wB,{legendPayload:xDe(t)}),O.createElement(SDe,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),O.createElement(DB,{type:`line`,id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,hide:t.hide,isPanorama:n}),O.createElement(MDe,pV({},t,{id:e}))))}var bV=O.memo(PDe,Cj);bV.displayName=`Line`;function xV(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.xAxisId??0}function SV(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.yAxisId??0}var CV=(e,t,n)=>ZL(e,`xAxis`,xV(e,t),n),wV=(e,t,n)=>XL(e,`xAxis`,xV(e,t),n),TV=(e,t,n)=>ZL(e,`yAxis`,SV(e,t),n),EV=(e,t,n)=>XL(e,`yAxis`,SV(e,t),n),FDe=Q([kA,CV,TV,wV,EV],(e,t,n,r,i)=>qk(e,`xAxis`)?$k(t,r,!1):$k(n,i,!1)),DV=Q([YI,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`area`).find(e=>e.id===t)),OV=e=>qk(kA(e),`xAxis`)?`yAxis`:`xAxis`,IDe=(e,t)=>OV(e)===`yAxis`?SV(e,t):xV(e,t),LDe=Q([kA,CV,TV,wV,EV,Q([DV,(e,t,n)=>pL(e,OV(e),IDe(e,t),n)],(e,t)=>{if(e!=null&&t!=null){var{stackId:n}=e,r=hN(e);if(n!=null&&r!=null){var i=(t[n]?.stackedData)?.find(e=>e.key===r);if(i!=null)return i.map(e=>[e[0],e[1]])}}}),rve,FDe,DV,lve],(e,t,n,r,i,a,o,s,c,l)=>{var{chartData:u,dataStartIndex:d,dataEndIndex:f}=o;if(!(c==null||e!==`horizontal`&&e!==`vertical`||t==null||n==null||r==null||i==null||r.length===0||i.length===0||s==null)){var{data:p}=c,m=p&&p.length>
1060?p:u?.slice(d,f+1);if(m!=null)return rOe({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:i,dataStartIndex:d,areaSettings:c,stackedData:a,displayedData:m,chartBaseValue:l,bandSize:s})}}),RDe=[`id`],zDe=[`activeDot`,`animationBegin`,`animationDuration`,`animationEasing`,`connectNulls`,`dot`,`fill`,`fillOpacity`,`hide`,`isAnimationActive`,`legendType`,`stroke`,`xAxisId`,`yAxisId`];function kV(){return kV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kV.apply(null,arguments)}function AV(e,t){if(e==null)return{};var n,r,i=BDe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function BDe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function jV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?jV(Object(n),!0).forEach(function(t){VDe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function VDe(e,t,n){return(t=HDe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HDe(e){var t=UDe(e,`string`);return typeof t==`symbol`?t:t+``}function UDe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function NV(e,t){return e&&e!==`none`?e:t}var WDe=e=>{var{dataKey:t,name:n,stroke:r,fill:i,legendType:a,hide:o}=e;return[{inactive:o,dataKey:t,type:a,color:NV(r,i),value:tA(n,t),payload:e}]},GDe=O.memo(e=>{var{dataKey:t,data:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,unit:c,tooltipType:l,id:u}=e,d={dataDefinedOnItem:n,getPosition:_D,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:tA(o,t),hide:s,type:l,color:NV(r,a),unit:c,graphicalItemId:u}};return O.createElement(CB,{tooltipEntrySettings:d})});function KDe(e){var{clipPathId:t,points:n,props:r}=e,{needClip:i,dot:a,dataKey:o}=r,s=nE(r);return O.createElement(jB,{points:n,dot:a,className:`recharts-area-dots`,dotClassName:`recharts-area-dot`,dataKey:o,baseProps:s,needClip:i,clipPathId:t})}function qDe(e){var{showLabels:t,children:n,points:r}=e,i=r.map(e=>{var t={x:e.x??0,y:e.y??0,width:0,lowerWidth:0,upperWidth:0,height:0};return MV(MV({},t),{},{value:e.value,payload:e.payload,parentViewBox:void 0,viewBox:t,fill:void 0})});return O.createElement(sB,{value:t?i:void 0},n)}function PV(e){var{points:t,baseLine:n,needClip:r,clipPathId:i,props:a}=e,{layout:o,type:s,stroke:c,connectNulls:l,isRange:u}=a,{id:d}=a,f=AV(a,RDe),p=nE(f),m=iE(f);return O.createElement(O.Fragment,null,t?.length>1&&O.createElement(cE,{clipPath:r?`url(#clipPath-${i})`:void 0},O.createElement(Wj,kV({},m,{id:d,points:t,connectNulls:l,type:s,baseLine:n,layout:o,stroke:`none`,className:`recharts-area-area`})),c!==`none`&&O.createElement(Wj,kV({},p,{className:`recharts-area-curve`,layout:o,type:s,connectNulls:l,fill:`none`,points:t})),c!==`none`&&u&&Array.isArray(n)&&O.createElement(Wj,kV({},p,{className:`recharts-area-curve`,layout:o,type:s,connectNulls:l,fill:`none`,points:n}))),O.createElement(KDe,{points:t,props:f,clipPathId:i}))}function JDe(e){var{alpha:t,baseLine:n,points:r,strokeWidth:i}=e,a=r[0]?.y,o=r[r.length-1]?.y;if(!Hk(a)||!Hk(o))return null;var s=t*Math.abs(a-o),c=Math.max(...r.map(e=>e.x||0));return lD(n)?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max(...n.map(e=>e.x||0),c)),lD(c)?O.createElement(`rect`,{x:0,y:a<o?a:a-s,width:c+(i?parseInt(`${i}`,10):1),height:Math.floor(s)}):null}function YDe(e){var{alpha:t,baseLine:n,points:r,strokeWidth:i}=e,a=r[0]?.x,o=r[r.length-1]?.x;if(!Hk(a)||!Hk(o))return null;var s=t*Math.abs(a-o),c=Math.max(...r.map(e=>e.y||0));return lD(n)?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max(...n.map(e=>e.y||0),c)),lD(c)?O.createElement(`rect`,{x:a<o?a:a-s,y:0,width:s,height:Math.floor(c+(i?parseInt(`${i}`,10):1))}):null}function XDe(e){var{alpha:t,layout:n,points:r,baseLine:i,strokeWidth:a}=e;return n===`vertical`?O.createElement(JDe,{alpha:t,points:r,baseLine:i,strokeWidth:a}):O.createElement(YDe,{alpha:t,points:r,baseLine:i,strokeWidth:a})}function ZDe(e){var{needClip:t,clipPathId:n,props:r,previousPointsRef:i,previousBaselineRef:a}=e,{points:o,baseLine:s,isAnimationActive:c,animationBegin:l,animationDuration:u,animationEasing:d,onAnimationStart:f,onAnimationEnd:p}=r,m=lM((0,O.useMemo)(()=>({points:o,baseLine:s}),[o,s]),`recharts-area-`),h=jA(),[g,_]=(0,O.useState)(!1),v=!g,y=(0,O.useCallback)(()=>{typeof p==`function`&&p(),_(!1)},[p]),b=(0,O.useCallback)(()=>{typeof f==`function`&&f(),_(!0)},[f]);if(h==null)return null;var x=i.current,S=a.current;return O.createElement(qDe,{showLabels:v,points:o},r.children,O.createElement(cM,{animationId:m,begin:l,duration:u,isActive:c,easing:d,onAnimationEnd:y,onAnimationStart:b,key:m},e=>{if(x){var l=x.length/o.length,u=e===1?o:o.map((t,n)=>{var r=Math.floor(n*l);if(x[r]){var i=x[r];return MV(MV({},t),{},{x:pD(i.x,t.x,e),y:pD(i.y,t.y,e)})}return t}),d=lD(s)?pD(S,s,e):mD(s)||sD(s)?pD(S,0,e):s.map((t,n)=>{var r=Math.floor(n*l);if(Array.isArray(S)&&S[r]){var i=S[r];return MV(MV({},t),{},{x:pD(i.x,t.x,e),y:pD(i.y,t.y,e)})}return t});return e>0&&(i.current=u,a.current=d),O.createElement(PV,{points:u,baseLine:d,needClip:t,clipPathId:n,props:r})}return e>0&&(i.current=o,a.current=s),O.createElement(cE,null,c&&O.createElement(`defs`,null,O.createElement(`clipPath`,{id:`animationClipPath-${n}`},O.createElement(XDe,{alpha:e,points:o,baseLine:s,layout:h,strokeWidth:r.strokeWidth}))),O.createElement(cE,{clipPath:`url(#animationClipPath-${n})`},O.createElement(PV,{points:o,baseLine:s,needClip:t,clipPathId:n,props:r})))}),O.createElement(uB,{label:r.label}))}function QDe(e){var{needClip:t,clipPathId:n,props:r}=e,i=(0,O.useRef)(null),a=(0,O.useRef)();return O.createElement(ZDe,{needClip:t,clipPathId:n,props:r,previousPointsRef:i,previousBaselineRef:a})}var $De=class extends O.PureComponent{render(){var{hide:e,dot:t,points:n,className:r,top:i,left:a,needClip:o,xAxisId:s,yAxisId:c,width:l,height:u,id:d,baseLine:f,zIndex:p}=this.props;if(e)return null;var m=xv(`recharts-area`,r),h=d,{r:g,strokeWidth:_}
106=fV(t),v=mB(t),y=g*2+_,b=o?`url(#clipPath-${v?``:`dots-`}${h})`:void 0;return O.createElement(iz,{zIndex:p},O.createElement(cE,{className:m},o&&O.createElement(`defs`,null,O.createElement(sV,{clipPathId:h,xAxisId:s,yAxisId:c}),!v&&O.createElement(`clipPath`,{id:`clipPath-dots-${h}`},O.createElement(`rect`,{x:a-y/2,y:i-y/2,width:l+y,height:u+y}))),O.createElement(QDe,{needClip:o,clipPathId:h,props:this.props})),O.createElement(RB,{points:n,mainColor:NV(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:b}),this.props.isRange&&Array.isArray(f)&&O.createElement(RB,{points:f,mainColor:NV(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:b}))}},eOe={activeDot:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,connectNulls:!1,dot:!1,fill:`#3182bd`,fillOpacity:.6,hide:!1,isAnimationActive:`auto`,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,type:`linear`,label:!1,xAxisId:0,yAxisId:0,zIndex:YM.area};function tOe(e){var{activeDot:t,animationBegin:n,animationDuration:r,animationEasing:i,connectNulls:a,dot:o,fill:s,fillOpacity:c,hide:l,isAnimationActive:u,legendType:d,stroke:f,xAxisId:p,yAxisId:m}=e,h=AV(e,zDe),g=AA(),_=GR(),{needClip:v}=oV(p,m),y=dA(),{points:b,isRange:x,baseLine:S}=AD(t=>LDe(t,e.id,y))??{},C=FB();if(g!==`horizontal`&&g!==`vertical`||C==null||_!==`AreaChart`&&_!==`ComposedChart`)return null;var{height:w,width:T,x:E,y:D}=C;return!b||!b.length?null:O.createElement($De,kV({},h,{activeDot:t,animationBegin:n,animationDuration:r,animationEasing:i,baseLine:S,connectNulls:a,dot:o,fill:s,fillOpacity:c,height:w,hide:l,layout:g,isAnimationActive:u,isRange:x,legendT
106ype:d,needClip:v,points:b,stroke:f,width:T,left:E,top:D,xAxisId:p,yAxisId:m}))}var nOe=(e,t,n,r,i)=>{var a=n??t;if(lD(a))return a;var o=e===`horizontal`?i:r,s=o.scale.domain();if(o.type===`number`){var c=Math.max(s[0],s[1]),l=Math.min(s[0],s[1]);return a===`dataMin`?l:a===`dataMax`||c<0?c:Math.max(Math.min(s[0],s[1]),0)}return a===`dataMin`?s[0]:a===`dataMax`?s[1]:s[0]};function rOe(e){var{areaSettings:{connectNulls:t,baseValue:n,dataKey:r},stackedData:i,layout:a,chartBaseValue:o,xAxis:s,yAxis:c,displayedData:l,dataStartIndex:u,xAxisTicks:d,yAxisTicks:f,bandSize:p}=e,m=i&&i.length,h=nOe(a,o,n,s,c),g=a===`horizontal`,_=!1,v=l.map((e,n)=>{var a;if(m)a=i[u+n];else{var o=Kk(e,r);Array.isArray(o)?(a=o,_=!0):a=[h,o]}var l=a?.[1]??null,v=l==null||m&&!t&&Kk(e,r)==null;return g?{x:Xk({axis:s,ticks:d,bandSize:p,entry:e,index:n}),y:v?null:c.scale.map(l)??null,value:a,payload:e}:{x:v?null:s.scale.map(l)??null,y:Xk({axis:c,ticks:f,bandSize:p,entry:e,index:n}),value:a,payload:e}});return{points:v,baseLine:(m||_?v.map(e=>{var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:t!=null&&e.y!=null?c.scale.map(t)??null:null,payload:e.payload}:{x:t==null?null:s.scale.map(t)??null,y:e.y,payload:e.payload}}):g?c.scale.map(h):s.scale.map(h))??0,isRange:_}}function iOe(e){var t=bD(e,eOe),n=dA();return O.createElement(TB,{id:t.id,type:`area`},e=>O.createElement(O.Fragment,null,O.createElement(wB,{legendPayload:WDe(t)}),O.createElement(GDe,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),O.createElement(DB,{type:`area`,id:e,data:t.data,dataKey:t.dataKey,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,stackId:nhe(t.stackId),hide:t.hide,barSize:void 0,baseValue:t.baseValue,isPanorama:n,connectNulls:t.connectNulls}),O.createElement(tOe,kV({},t,{id:e}))))}var FV=O.memo(iOe,Cj);FV.displayName=`Area`;var aOe=[`domain`,`range`],oOe=[`domain`,`range`];function IV(e,t){if(e==null)return{};var n,r,i=sOe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function sOe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function LV(e,t){return e===t?!0:Array.isArray(e)&&e.length===2&&Array.isArray(t)&&t.length===2?e[0]===t[0]&&e[1]===t[1]:!1}function RV(e,t){if(e===t)return!0;var{domain:n,range:r}=e,i=IV(e,aOe),{domain:a,range:o}=t,s=IV(t,oOe);return!LV(n,a)||!LV(r,o)?!1:Cj(i,s)}var cOe=[`type`],lOe=[`dangerouslySetInnerHTML`,`ticks`,`scale`],uOe=[`id`,`scale`];function zV(){return zV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zV.apply(null,arguments)}function BV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?BV(Object(n),!0).forEach(function(t){dOe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dOe(e,t,n){return(t=fOe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fOe(e){var t=pOe(e,`string`);return typeof t==`symbol`?t:t+``}function pOe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function HV(e,t){if(e==null)return{};var n,r,i=mOe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function mOe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function hOe(e){var t=OD(),n=(0,O.useRef)(null),r=jA(),{type:i}=e,a=HV(e,cOe),o=$M(r,`xAxis`,i),s=(0,O.useMemo)(()=>
106{if(o!=null)return VV(VV({},a),{},{type:o})},[a,o]);return(0,O.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(PTe(s)):n.current!==s&&t(FTe({prev:n.current,next:s})),n.current=s)},[s,t]),(0,O.useLayoutEffect)(()=>()=>{n.current&&=(t(ITe(n.current)),null)},[t]),null}var gOe=e=>{var{xAxisId:t,className:n}=e,r=AD(uA),i=dA(),a=`xAxis`,o=AD(e=>YL(e,a,t,i)),s=AD(e=>Mxe(e,t)),c=AD(e=>Lxe(e,t)),l=AD(e=>zI(e,t));if(s==null||c==null||l==null)return null;var{dangerouslySetInnerHTML:u,ticks:d,scale:f}=e,p=HV(e,lOe),{id:m,scale:h}=l,g=HV(l,uOe);return O.createElement(QB,zV({},p,g,{x:c.x,y:c.y,width:s.width,height:s.height,className:xv(`recharts-${a} ${a}`,n),viewBox:r,ticks:o,axisType:a,axisId:t}))},_Oe={allowDataOverflow:RI.allowDataOverflow,allowDecimals:RI.allowDecimals,allowDuplicatedCategory:RI.allowDuplicatedCategory,angle:RI.angle,axisLine:ZB.axisLine,height:RI.height,hide:!1,includeHidden:RI.includeHidden,interval:RI.interval,label:!1,minTickGap:RI.minTickGap,mirror:RI.mirror,orientation:RI.orientation,padding:RI.padding,reversed:RI.reversed,scale:RI.scale,tick:RI.tick,tickCount:RI.tickCount,tickLine:ZB.tickLine,tickSize:ZB.tickSize,type:RI.type,niceTicks:RI.niceTicks,xAxisId:0},UV=O.memo(e=>{var t=bD(e,_Oe);return O.createElement(O.Fragment,null,O.createElement(hOe,{allowDataOverflow:t.allowDataOverflow,allowDecimals:t.allowDecimals,allowDuplicatedCategory:t.allowDuplicatedCategory,angle:t.angle,dataKey:t.dataKey,domain:t.domain,height:t.height,hide:t.hide,id:t.xAxisId,includeHidden:t.includeHidden,interval:t.interval,minTickGap:t.minTickGap,mirror:t.mirror,name:t.name,orientation:t.orientation,padding:t.padding,reversed:t.reversed,scale:t.scale,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,niceTicks:t.niceTicks}),O.createElement(gOe,t))},RV);UV.displayName=`XAxis`;var vOe=[`type`],yOe=[`dangerouslySetInnerHTML`,`ticks`,`scale`],bOe=[`id`,`scale`];function WV(){return WV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WV.apply(null,arguments)}function GV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function KV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?GV(Object(n),!0).forEach(function(t){xOe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xOe(e,t,n){return(t=SOe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SOe(e){var t=COe(e,`string`);return typeof t==`symbol`?t:t+``}function COe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function qV(e,t){if(e==null)return{};var n,r,i=wOe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function wOe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function TOe(e){var t=OD(),n=(0,O.useRef)(null),r=jA(),{type:i}=e,a=qV(e,vOe),o=$M(r,`yAxis`,i),s=(0,O.useMemo)(()=>{if(o!=null)return KV(KV({},a),{},{type:o})},[o,a]);return(0,O.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(LTe(s)):n.current!==s&&t(RTe({prev:n.current,next:s})),n.current=s)},[s,t]),(0,O.useLayoutEffect)(()=>()=>{n.current&&=(t(zTe(n.current)),null)},[t]),null}function EOe(e){var{yAxisId:t,className:n,width:r,label:i}=e,a=(0,O.useRef)(null),o=(0,O.useRef)(null),s=AD(uA),c=dA(),l=OD(),u=`yAxis`,d=AD(e=>zxe(e,t)),f=AD(e=>Rxe(e,t)),p=AD(e=>YL(e,u,t,c)),m=AD(e=>HI(e,t));if((0,O.useLayoutEffect)(()=>
106{if(!(r!==`auto`||!d||tB(i)||(0,O.isValidElement)(i)||m==null)){var e=a.current;if(e){var n=e.getCalculatedWidth();Math.round(d.width)!==Math.round(n)&&l(UTe({id:t,width:n}))}}},[p,d,l,i,t,r,m]),d==null||f==null||m==null)return null;var{dangerouslySetInnerHTML:h,ticks:g,scale:_}=e,v=qV(e,yOe),{id:y,scale:b}=m,x=qV(m,bOe);return O.createElement(QB,WV({},v,x,{ref:a,labelRef:o,x:f.x,y:f.y,tickTextProps:r===`auto`?{width:void 0}:{width:r},width:d.width,height:d.height,className:xv(`recharts-${u} ${u}`,n),viewBox:s,ticks:p,axisType:u,axisId:t}))}var DOe={allowDataOverflow:VI.allowDataOverflow,allowDecimals:VI.allowDecimals,allowDuplicatedCategory:VI.allowDuplicatedCategory,angle:VI.angle,axisLine:ZB.axisLine,hide:!1,includeHidden:VI.includeHidden,interval:VI.interval,label:!1,minTickGap:VI.minTickGap,mirror:VI.mirror,orientation:VI.orientation,padding:VI.padding,reversed:VI.reversed,scale:VI.scale,tick:VI.tick,tickCount:VI.tickCount,tickLine:ZB.tickLine,tickSize:ZB.tickSize,type:VI.type,niceTicks:VI.niceTicks,width:VI.width,yAxisId:0},JV=O.memo(e=>{var t=bD(e,DOe);return O.createElement(O.Fragment,null,O.createElement(TOe,{interval:t.interval,id:t.yAxisId,scale:t.scale,type:t.type,domain:t.domain,allowDataOverflow:t.allowDataOverflow,dataKey:t.dataKey,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDecimals:t.allowDecimals,tickCount:t.tickCount,padding:t.padding,includeHidden:t.includeHidden,reversed:t.reversed,ticks:t.ticks,width:t.width,orientation:t.orientation,mirror:t.mirror,hide:t.hide,unit:t.unit,name:t.name,angle:t.angle,minTickGap:t.minTickGap,tick:t.tick,tickFormatter:t.tickFormatter,niceTicks:t.niceTicks}),O.createElement(EOe,t))},RV);JV.displayName=`YAxis`;var YV=Q([(e,t)=>t,kA,fN,bN,AR,MR,RSe,lA],GSe);function OOe(e){return`getBBox`in e.currentTarget&&typeof e.currentTarget.getBBox==`function`}function XV(e){var t=e.currentTarget.getBoundingClientRect(),n,r;if(OOe(e)){var i=e.currentTarget.getBBox();n=i.width>0?t.width/i.width:1,r=i.height>0?t.height/i.height:1}else{var a=e.currentTarget;n=a.offsetWidth>0?t.width/a.offsetWidth:1,r=a.offsetHeight>0?t.height/a.offsetHeight:1}var o=(e,i)=>({relativeX:Math.round((e-t.left)/n),relativeY:Math.round((i-t.top)/r)});return`touches`in e?Array.from(e.touches).map(e=>o(e.clientX,e.clientY)):o(e.clientX,e.clientY)}var ZV=ik(`mouseClick`),QV=Rk();QV.startListening({actionCreator:ZV,effect:(e,t)=>{var n=e.payload,r=YV(t.getState(),XV(n));r?.activeIndex!=null&&t.dispatch(Xxe({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}});var $V=ik(`mouseMove`),eH=Rk(),tH=null,nH=null,rH=null;eH.startListening({actionCreator:$V,effect:(e,t)=>{var n=e.payload,{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i?.includes(`mousemove`);tH!==null&&(cancelAnimationFrame(tH),tH=null),nH!==null&&(typeof r!=`number`||!a)&&(clearTimeout(nH),nH=null),rH=XV(n);var o=()=>{var e=t.getState(),n=tR(e,e.tooltip.settings.shared);if(!rH){tH=null,nH=null;return}if(n===`axis`){var r=YV(e,rH);r?.activeIndex==null?t.dispatch(aR()):t.dispatch(oR({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}tH=null,nH=null};if(!a){o();return}r===`raf`?tH=requestAnimationFrame(o):typeof r==`number`&&nH===null&&(nH=setTimeout(o,r))}});function kOe(e,t){return t instanceof HTMLElement?`HTMLElement <${t.tagName} class="${t.className}">`:t===window?`global.window`:e===`children`&&typeof t==`object`&&t?`<<CHILDREN>>`:t}var iH={accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:`none`,syncId:void 0,syncMethod:`index`,baseValue:void 0,reverseStackOrder:!1},aH=pk({name:`rootProps`,initialState:iH,reducers:{updateOptions:(e,t)=>{e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=t.payload.barGap??iH.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className,e.baseValue=t.payload.baseValue,e.reverseStackOrder=t.payload.reverseStackOrder}}}),AOe=aH.reducer,{updateOptions:jOe}=aH.actions,oH=pk({name:`polarOptions`,initialState:null,reducers:{updatePolarOptions:(e,t)=>e===null?t.payload:(e.startAngle=t.payload.startAngle,e.endAngle=t.payload.endAngle,e.cx=t.payload.cx,e.cy=t.payload.cy,e.innerRadius=t.payload.innerRadius,e.outerRadius=t.payload.outerRadius,e)}}),{updatePolarOptions:MOe}=oH.actions,NOe=oH.reducer,sH=ik(`keyDown`),cH=ik(`focus`),lH=ik(`blur`),uH=Rk(),dH=null,fH=null,pH=null;uH.startListening({actionCreator:sH,effect:(e,t)=>
106{pH=e.payload,dH!==null&&(cancelAnimationFrame(dH),dH=null);var{throttleDelay:n,throttledEvents:r}=t.getState().eventSettings,i=r===`all`||r.includes(`keydown`);fH!==null&&(typeof n!=`number`||!i)&&(clearTimeout(fH),fH=null);var a=()=>{try{var e=t.getState();if(e.rootProps.accessibilityLayer===!1)return;var{keyboardInteraction:n}=e.tooltip,r=pH;if(r!==`ArrowRight`&&r!==`ArrowLeft`&&r!==`Enter`)return;var i=fR(n,wR(e),dL(e),OR(e)),a=i==null?-1:Number(i),o=!Number.isFinite(a)||a<0,s=MR(e),c=wR(e),l=tR(e,e.tooltip.settings.shared);if(r===`Enter`){if(o)return;var u=QR(e,l,`hover`,String(n.index));t.dispatch(cR({active:!n.active,activeIndex:n.index,activeCoordinate:u}));return}var d=Bxe(e)===`left-to-right`?1:-1,f=r===`ArrowRight`?1:-1,p;if(o){var m=dL(e),h=OR(e),g=f*d,_=e=>({active:!1,index:String(e),dataKey:void 0,graphicalItemId:void 0,coordinate:void 0});if(p=-1,g>0){for(var v=0;v<c.length;v++)if(fR(_(v),c,m,h)!=null){p=v;break}}else for(var y=c.length-1;y>=0;y--)if(fR(_(y),c,m,h)!=null){p=y;break}if(p<0)return}else{p=a+f*d;var b=s?.length||c.length;if(b===0||p>=b||p<0)return}var x=QR(e,l,`hover`,String(p));t.dispatch(cR({active:!0,activeIndex:p.toString(),activeCoordinate:x}))}finally{dH=null,fH=null}};if(!i){a();return}n===`raf`?dH=requestAnimationFrame(a):typeof n==`number`&&fH===null&&(a(),pH=null,fH=setTimeout(()=>{pH?a():(fH=null,dH=null)},n))}}),uH.startListening({actionCreator:cH,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;if(!r.active&&r.index==null){var i=`0`,a=QR(n,tR(n,n.tooltip.settings.shared),`hover`,String(i));t.dispatch(cR({active:!0,activeIndex:i,activeCoordinate:a}))}}}}),uH.startListening({actionCreator:lH,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;r.active&&t.dispatch(cR({active:!1,activeIndex:r.index,activeCoordinate:r.coordinate}))}}});function mH(e){e.persist();var{currentTarget:t}=e;return new Proxy(e,{get:(e,n)=>{if(n===`currentTarget`)return t;var r=Reflect.get(e,n);return typeof r==`function`?r.bind(e):r}})}var hH=ik(`externalEvent`),gH=Rk(),_H=new Map,vH=new Map,yH=new Map;gH.startListening({actionCreator:hH,effect:(e,t)=>{var{handler:n,reactEvent:r}=e.payload;if(n!=null){var i=r.type,a=mH(r);yH.set(i,{handler:n,reactEvent:a});var o=_H.get(i);o!==void 0&&(cancelAnimationFrame(o),_H.delete(i));var{throttleDelay:s,throttledEvents:c}=t.getState().eventSettings,l=c,u=l===`all`||l?.includes(i),d=vH.get(i);d!==void 0&&(typeof s!=`number`||!u)&&(clearTimeout(d),vH.delete(i));var f=()=>{var e=yH.get(i);try{if(!e)return;var{handler:n,reactEvent:r}=e,a=t.getState(),o={activeCoordinate:wSe(a),activeDataKey:SSe(a),activeIndex:LR(a),activeLabel:RR(a),activeTooltipIndex:LR(a),isTooltipActive:TSe(a)};n&&n(o,r)}finally{_H.delete(i),vH.delete(i),yH.delete(i)}};if(!u){f();return}if(s===`raf`){var p=requestAnimationFrame(f);_H.set(i,p)}else if(typeof s==`number`){if(!vH.has(i)){f();var m=setTimeout(f,s);vH.set(i,m)}}else f()}}});var POe=Q([Q([gR],e=>e.tooltipItemPayloads),(e,t)=>t,(e,t,n)=>n],(e,t,n)=>{if(t!=null){var r=e.find(e=>e.settings.graphicalItemId===n);if(r!=null){var{getPosition:i}=r;if(i!=null)return i(t)}}}),bH=ik(`touchMove`),xH=Rk(),SH=null,CH=null,wH=null,TH=null;xH.startListening({actionCreator:bH,effect:(e,t)=>{var n=e.payload;if(n.touches!=null&&n.touches.length!==0){TH=mH(n);var{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i.includes(`touchmove`);SH!==null&&(cancelAnimationFrame(SH),SH=null),CH!==null&&(typeof r!=`number`||!a)&&(clearTimeout(CH),CH=null),wH=Array.from(n.touches).map(e=>XV({clientX:e.clientX,clientY:e.clientY,currentTarget:n.currentTarget}));var o=()=>{if(TH!=null){var e=t.getState(),n=tR(e,e.tooltip.settings.shared);if(n===`axis`){var r=wH?.[0];if(r==null){SH=null,CH=null;return}var i=YV(e,r);i?.activeIndex!=null&&t.dispatch(oR({activeIndex:i.activeIndex,activeDataKey:void 0,activeCoordinate:i.activeCoordinate}))}else if(n===`item`){var a=TH.touches[0];if(document.elementFromPoint==null||a==null)return;var o=document.elementFromPoint(a.clientX,a.clientY);if(!o||!o.getAttribute)return;var s=o.getAttribute(lhe),c=o.getAttribute(`data-recharts-item-id`)??void 0,l=SR(e).find(e=>e.id===c);if(s==null||l==null||c==null)return;var{dataKey:u}=l,d=POe(e,s,c);t.dispatch(qxe({activeDataKey:u,activeIndex:s,activeCoordinate:d,activeGraphicalItemId:c}))}SH=null,CH=null}};if(!a){o();return}r===`raf`?SH=requestAnimationFrame(o):typeof r==`number`&&CH===null&&(o(),TH=null,CH=setTimeout(()=>{TH?o():(CH=null,SH=null)},r))}}});var EH={throttleDelay:`raf`,throttledEvents:[`mousemove`,`touchmove`,`pointermove`,`scroll`,`wheel`]},DH=pk({name:`eventSettings`,initialState:EH,reducers:{setEventSettings:(e,t)=>{t.payload.throttleDelay!=null&&(e.throttleDelay=t.payload.throttleDelay),t.payload.throttledEvents!=null&&(e.throttledEvents=yj(t.payload.throttledEvents))}}}),{setEventSettings:FOe}=DH.actions,IOe=DH.reducer,LOe=KD({brush:$Te,cartesianAxis:WTe,chartData:_Ce,errorBars:iDe,eventSettings:IOe,graphicalItems:STe,layout:Yme,legend:$he,options:fCe,polarAxis:Vwe,polarOptions:NOe,referenceElements:cEe,renderedTicks:wEe,rootProps:AOe,tooltip:Zxe,zIndex:rCe}),ROe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`Chart`;return xme({reducer:LOe,preloadedState:e,middleware:e=>e({serializableCheck:!1,immutableCheck:![`commonjs`,`es6`,`production`].includes(`es6`)}).concat([QV.middleware,eH.middleware,uH.middleware,gH.middleware,xH.middleware]),enhancers:e=>{var t=e;return typeof e==`function`&&(t=e()),t.concat(dk({type:`raf`}))},devTools:Aj.devToolsEnabled&&{serialize:{replacer:kOe},name:`recharts-${t}`}})};function zOe(e){var{preloadedState:t,children:n,reduxStoreName:r}=e,i=dA(),a=(0,O.useRef)(null);if(i)return n;a.current??=ROe(t,r);var o=DD;return O.createElement(pge,{context:o,store:a.current},n)}function BOe(e){var{layout:t,margin:n}=e,r=OD(),i=dA();return(0,O.useEffect)(()=>{i||(r(Kme(t)),r(Gme(n)))},[r,i,t,n]),null}var VOe=(0,O.memo)(BOe,Cj);function HOe(e){var t=OD();return(0,O.useEffect)(()=>{t(jOe(e))},[t,e]),null}var UOe=(0,O.memo)(e=>{var t=OD();return(0,O.useEffect)(()=>{t(FOe(e))},[t,e]),null},Cj);function OH(e){var{zIndex:t,isPanorama:n}=e,r=(0,O.useRef)(null),i=OD();return(0,O.useLayoutEffect)(()=>(r.current&&i(tCe({zIndex:t,element:r.current,isPanorama:n})),()=>{i(nCe({zIndex:t,isPanorama:n}))}),[i,t,n]),O.createElement(`g`,{tabIndex:-1,ref:r,className:`recharts-zIndex-layer_${t}`})}function kH(e){var{children:t,isPanorama:n}=e,r=AD(qSe);
106if(!r||r.length===0)return t;var i=r.filter(e=>e<0),a=r.filter(e=>e>0);return O.createElement(O.Fragment,null,i.map(e=>O.createElement(OH,{key:e,zIndex:e,isPanorama:n})),t,a.map(e=>O.createElement(OH,{key:e,zIndex:e,isPanorama:n})))}var WOe=[`children`];function GOe(e,t){if(e==null)return{};var n,r,i=KOe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function KOe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function AH(){return AH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AH.apply(null,arguments)}var qOe={width:`100%`,height:`100%`,display:`block`},JOe=(0,O.forwardRef)((e,t)=>{var n=DA(),r=OA(),i=Pj();if(!Uk(n)||!Uk(r))return null;var{children:a,otherAttributes:o,title:s,desc:c}=e,l,u;return o!=null&&(l=typeof o.tabIndex==`number`?o.tabIndex:i?0:void 0,u=typeof o.role==`string`?o.role:i?`application`:void 0),O.createElement(oE,AH({},o,{title:s,desc:c,role:u,tabIndex:l,width:n,height:r,style:qOe,ref:t}),a)}),YOe=e=>{var{children:t}=e,n=AD(pA);if(!n)return null;var{width:r,height:i,y:a,x:o}=n;return O.createElement(oE,{width:r,height:i,x:o,y:a},t)},jH=(0,O.forwardRef)((e,t)=>{var{children:n}=e,r=GOe(e,WOe);return dA()?O.createElement(YOe,null,O.createElement(kH,{isPanorama:!0},n)):O.createElement(JOe,AH({ref:t},r),O.createElement(kH,{isPanorama:!1},n))});function XOe(){var e=OD(),[t,n]=(0,O.useState)(null),r=AD(che);return(0,O.useEffect)(()=>{if(t!=null){var n=t.getBoundingClientRect().width/t.offsetWidth;Hk(n)&&n!==r&&e(Jme(n))}},[t,e,r]),n}function MH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ZOe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?MH(Object(n),!0).forEach(function(t){QOe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function QOe(e,t,n){return(t=$Oe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $Oe(e){var t=eke(e,`string`);return typeof t==`symbol`?t:t+``}function eke(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function NH(){return NH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NH.apply(null,arguments)}var tke=()=>(ECe(),null);function PH(e){if(typeof e==`number`)return e;if(typeof e==`string`){var t=parseFloat(e);if(!Number.isNaN(t))return t}return 0}var nke=(0,O.forwardRef)((e,t)=>{var n=(0,O.useRef)(null),[r,i]=(0,O.useState)({containerWidth:PH(e.style?.width),containerHeight:PH(e.style?.height)}),a=(0,O.useCallback)((e,t)=>{i(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),o=(0,O.useCallback)(e=>{if(typeof t==`function`&&t(e),n.current!=null&&(n.current.disconnect(),n.current=null),e!=null&&typeof ResizeObserver<`u`){var{width:r,height:i}=e.getBoundingClientRect();a(r,i);var o=new ResizeObserver(e=>{var t=e[0];if(t!=null){var{width:n,height:r}=t.contentRect;a(n,r)}});o.observe(e),n.current=o}},[t,a]);return(0,O.useEffect)(()=>()=>{n.current?.disconnect()},[a]),O.createElement(O.Fragment,null,O.createElement(NA,{width:r.containerWidth,height:r.containerHeight}),O.createElement(`div`,NH({ref:o},e)))}),rke=(0,O.forwardRef)((e,t)=>{var{width:n,height:r}=e,[i,a]=(0,O.useState)({containerWidth:PH(n),containerHeight:PH(r)}),o=(0,O.useCallback)((e,t)=>{a(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),s=(0,O.useCallback)(e=>{if(typeof t==`function`&&t(e),e!=null){var{width:n,height:r}=e.getBoundingClientRect();o(n,r)}},[t,o]);return O.createElement(O.Fragment,null,O.createElement(NA,{width:i.containerWidth,height:i.containerHeight}),O.createElement(`div`,NH({ref:s},e)))}),ike=(0,O.forwardRef)((e,t)=>{var{width:n,height:r}=e;return O.createElement(O.Fragment,null,O.createElement(NA,{width:n,height:r}),O.createElement(`div`,NH({ref:t},e)))}),ake=(0,O.forwardRef)((e,t)=>{var{width:n,height:r}=e;return typeof n==`string`||typeof r==`string`?O.createElement(rke,NH({},e,{ref:t}
106)):typeof n==`number`&&typeof r==`number`?O.createElement(ike,NH({},e,{width:n,height:r,ref:t})):O.createElement(O.Fragment,null,O.createElement(NA,{width:n,height:r}),O.createElement(`div`,NH({ref:t},e)))});function oke(e){return e?nke:ake}var ske=(0,O.forwardRef)((e,t)=>{var{children:n,className:r,height:i,onClick:a,onContextMenu:o,onDoubleClick:s,onMouseDown:c,onMouseEnter:l,onMouseLeave:u,onMouseMove:d,onMouseUp:f,onTouchEnd:p,onTouchMove:m,onTouchStart:h,style:g,width:_,responsive:v,dispatchTouchEvents:y=!0}=e,b=(0,O.useRef)(null),x=OD(),[S,C]=(0,O.useState)(null),[w,T]=(0,O.useState)(null),E=XOe(),D=SA(),k=D?.width>0?D.width:_,A=D?.height>0?D.height:i,j=(0,O.useCallback)(e=>{E(e),typeof t==`function`&&t(e),C(e),T(e),e!=null&&(b.current=e)},[E,t,C,T]),M=(0,O.useCallback)(e=>{x(ZV(e)),x(hH({handler:a,reactEvent:e}))},[x,a]),N=(0,O.useCallback)(e=>{x($V(e)),x(hH({handler:l,reactEvent:e}))},[x,l]),P=(0,O.useCallback)(e=>{x(aR()),x(hH({handler:u,reactEvent:e}))},[x,u]),F=(0,O.useCallback)(e=>{x($V(e)),x(hH({handler:d,reactEvent:e}))},[x,d]),I=(0,O.useCallback)(()=>{x(cH())},[x]),L=(0,O.useCallback)(()=>{x(lH())},[x]),R=(0,O.useCallback)(e=>{x(sH(e.key))},[x]),z=(0,O.useCallback)(e=>{x(hH({handler:o,reactEvent:e}))},[x,o]),B=(0,O.useCallback)(e=>{x(hH({handler:s,reactEvent:e}))},[x,s]),ee=(0,O.useCallback)(e=>{x(hH({handler:c,reactEvent:e}))},[x,c]),V=(0,O.useCallback)(e=>{x(hH({handler:f,reactEvent:e}))},[x,f]),te=(0,O.useCallback)(e=>{x(hH({handler:h,reactEvent:e}))},[x,h]),ne=(0,O.useCallback)(e=>{y&&x(bH(e)),x(hH({handler:m,reactEvent:e}))},[x,y,m]),re=(0,O.useCallback)(e=>{x(hH({handler:p,reactEvent:e}))},[x,p]),ie=oke(v);return O.createElement(cz.Provider,{value:S},O.createElement(Xde.Provider,{value:w},O.createElement(ie,{width:k??g?.width,height:A??g?.height,className:xv(`recharts-wrapper`,r),style:ZOe({position:`relative`,cursor:`default`,width:k,height:A},g),onClick:M,onContextMenu:z,onDoubleClick:B,onFocus:I,onBlur:L,onKeyDown:R,onMouseDown:ee,onMouseEnter:N,onMouseLeave:P,onMouseMove:F,onMouseUp:V,onTouchEnd:re,onTouchMove:ne,onTouchStart:te,ref:j},O.createElement(tke,null),n)))}),cke=[`width`,`height`,`responsive`,`children`,`className`,`style`,`compact`,`title`,`desc`];function lke(e,t){if(e==null)return{};var n,r,i=uke(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function uke(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var dke=(0,O.forwardRef)((e,t)=>{var{width:n,height:r,responsive:i,children:a,className:o,style:s,compact:c,title:l,desc:u}=e,d=nE(lke(e,cke));return c?O.createElement(O.Fragment,null,O.createElement(NA,{width:n,height:r}),O.createElement(jH,{otherAttributes:d,title:l,desc:u},a)):O.createElement(ske,{className:o,style:s,width:n,height:r,responsive:i??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},O.createElement(jH,{otherAttributes:d,title:l,desc:u,ref:t},O.createElement(uEe,null,a)))});function FH(){return FH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FH.apply(null,arguments)}function IH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fke(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?IH(Object(n),!0).forEach(function(t){pke(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pke(e,t,n){return(t=mke(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mke(e){var t=hke(e,`string`);return typeof t==`symbol`?t:t+``}function hke(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var gke=fke({accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,layout:`horizontal`,margin:{top:5,right:5,bottom:5,left:5},responsive:!1,reverseStackOrder:!1,stackOffset:`none`,syncMethod:`index`},EH),LH=(0,O.forwardRef)(function(e,t){var n=bD(e.categoricalChartProps,gke),{chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,categoricalChartProps:s}=e,c={chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,eventEmitter:void 0};return O.createElement(zOe,{preloadedState:{options:c},reduxStoreName:s.id??r},O.createElement(ZTe,{chartData:s.data}),O.createElement(VOe,{layout:n.layout,margin:n.margin}),O.createElement(UOe,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),O.createElement(HOe,{baseValue:n.baseValue,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),O.createElement(dke,FH({},n,{ref:t})))}),_ke=[`axis`],vke=(0,O.forwardRef)((e,t)=>O.createElement(LH,{chartName:`LineChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:_ke,tooltipPayloadSearcher:fz,categoricalChartProps:e,ref:t})),yke=[`axis`],bke=(0,O.forwardRef)((e,t)=>O.createElement(LH,{chartName:`AreaChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:yke,tooltipPayloadSearcher:fz,categoricalChartProps:e,ref:t}));function RH({className:e,...t}){return(0,U.jsx)(`div`,{"data-slot":`skeleton`,className:W(`bg-muted animate-pulse rounded-md`,e),...t})}function xke(e){if(!zC.isAxiosError(e)||e.response?.status!==410)return null;let t=e.response.data;return{expiresAt:t?.expiresAt,createdAt:t?.createdAt}}function zH(e,t){return e===`EXECUTION`?`${window.location.origin}/share/r/${t}`:`${window.location.origin}/public/share/${t}`}var BH=new class{async createShare(e){let{data:t}=await J.post(`/v1/shares`,e);return t}async getShareByResource(e,t){try{let{data:n}=await J.get(`/v1/shares/resource`,{params:{resourceId:e,resourceType:t}});return n}catch(e){if(zC.isAxiosError(e)&&e.response?.status===404)return null;throw e}}async revokeShare(e){await J.delete(`/v1/shares/${e}`)}async resolveShare(e){let{data:t}=await zC.get(`${WC}/public/v1/shares/${e}`);return t}sharedArtifactUrl(e,t){return`${WC}/public/v1/shares/${e}/artifacts?path=${encodeURIComponent(t)}`}async getSharedArtifactJson(e,t){let{data:n}=await zC.get(this.sharedArtifactUrl(e,t),{responseType:`json`});return n}async getSharedArtifactObjectUrl(e,t){let{data:n}=await zC.get(this.sharedArtifactUrl(e,t),{responseType:`blob`});return URL.createObjectURL(n)}};function VH(){let e=Us();return rc({mutationFn:e=>BH.createShare(e),onSuccess:(t,n)=>
106{e.invalidateQueries({queryKey:Y.shares.byResource(n.resourceId,n.resourceType)})}})}function HH(e){return nc({queryKey:Y.shares.resolve(e??``),queryFn:()=>BH.resolveShare(e),enabled:!!e,retry:(e,t)=>zC.isAxiosError(t)&&(t.response?.status===410||t.response?.status===404)?!1:e<3})}function UH(e,t,n=!0){return nc({queryKey:Y.shares.artifact(e??``,t??``),queryFn:()=>BH.getSharedArtifactJson(e,t),enabled:n&&!!e&&!!t,staleTime:3e5})}function WH(e,t){return nc({queryKey:Y.shares.artifact(e??``,t??``),queryFn:()=>BH.getSharedArtifactObjectUrl(e,t),enabled:!!e&&!!t,staleTime:1/0,gcTime:3e5})}var Ske=new class{async getExecutionLatest(e){let{data:t}=await J.get(`/v1/analytics/team/execution/latest`,{params:{companyId:e.activeCompanyID,teamId:e.activeTeamID,scope:e.latestExecutionScope??`ALL`,testOrPlan:e.testOrPlan??`TEST`,...e.testTagIds?.length?{testTagIds:e.testTagIds}:{}},paramsSerializer:{indexes:null}});return{nonExecuted:t.notExecutedTestAmount,executionSummary:t.executionSummary,dateRetrievedAt:t.dateRetrievedAt}}async getTestCountSummary(e){let{data:t}=await J.get(`/v1/analytics/team/test-count-summary`,{params:{companyId:e.activeCompanyID,teamId:e.activeTeamID,startDate:e.startDate?.toISOString(),endDate:e.endDate?.toISOString(),...e.testTagIds?.length?{testTagIds:e.testTagIds}:{}},paramsSerializer:{indexes:null}});return t}async getExecutionByDate(e){let{data:t}=await J.get(`/v1/analytics/team/execution/date`,{params:{companyId:e.activeCompanyID,teamId:e.activeTeamID,startDate:e.startDate?.toISOString(),endDate:e.endDate?.toISOString(),testOrPlan:e.testOrPlan??`TEST`,...e.testTagIds?.length?{testTagIds:e.testTagIds}:{}},paramsSerializer:{indexes:null}});return t}},Cke=new class{async getTestpit(e){let{data:t}=await J.get(`/v1/bff/analytics/testpit`,{params:{companyId:e.companyId,teamId:e.teamId,startDate:e.startDate?.toISOString(),endDate:e.endDate?.toISOString()}});return t}};function wke(e,t){return nc({queryKey:Y.analytics.testpitBff(e),queryFn:()=>Cke.getTestpit({companyId:e.activeCompanyID,teamId:e.activeTeamID,startDate:e.startDate,endDate:e.endDate}),retry:!1,enabled:t&&!!e.activeCompanyID&&!!e.activeTeamID})}function GH(e,t){return nc({queryKey:Y.analytics.executionByDate(e),queryFn:()=>Ske.getExecutionByDate(e),enabled:t&&!!e.activeCompanyID&&!!e.activeTeamID})}var Tke={SUCCESS:`passed`,FAILED:`failed`,RUNNING:`running`,STOPPED:`stopped`,PENDING:`pending`,ERROR:`error`};function KH(e){return e?Tke[e]:`pending`}var qH=new class{async getSummary(e){let{data:t}=await J.post(`/v1/execution/summary`,e);return t}async searchExecutions(e,t){let{data:n}=await J.post(`/v1/execution/search`,{filters:[],...e},{params:t});return n}async getById(e,t,n){let{data:r}=await J.get(`/v1/execution/${e}`,{params:{companyId:t,teamId:n}});return r}},JH=new class{async getByTestId(e,t={}){let{size:n=12,startDate:r,endDate:i}=t;try{let{data:t}=await J.get(`/v1/execution-report/test/${e}`,{params:{page:0,size:n,sort:`creationTime,desc`,...r==null?{}:{startDate:r},...i==null?{}:{endDate:i}}});return t?.content??[]}catch(e){if((typeof e==`object`&&e&&`response`in e?e.response?.status:void 0)===404)return[];throw e}}async getByExecutionId(e){try{let{data:t}=await J.get(`/v1/execution-report/execution/${e}`);return t??[]}catch(e){if((typeof e==`object`&&e&&`response`in e?e.response?.status:void 0)===404)return[];throw e}}async downloadLogs(e){let{data:t}=await J.get(`/v1/execution-report/execution/${e}/logs`,{responseType:`blob`});return t}},YH=new class{async getJson(e){let{data:t}=await J.get(`/v1${e}`,{responseType:`json`});return t}getReportData(e){return this.getJson(e)}getArtifactJson(e){return this.getJson(e)}getHar(e){return this.getJson(e)}async getVideoPresignedUrl(e){let t=e.split(`/`).filter(Boolean).at(-1)??e,{data:n}=await J.get(`/v1/storage/videos/presigned-url`,{params:{key:t}}),r=n.url;if(!r.startsWith(`/`))return r;let i=r.startsWith(`/v1`)?r:`/v1${r}`,{data:a}=await J.get(i,{responseType:`blob`,timeout:12e4});return URL.createObjectURL(a)}getRrwebData(e){return this.getJson(e)}async getScreenshotPresignedUrl(e,t){let{data:n}=await J.get(`/v1/storage/artifacts/presigned-url`,{params:{key:e,executionId:t}}
106);return n.url}getStepArtifactKeys(e,t){return this.getJson(`/storage/artifacts/${e}-${t}-artifacts.json`)}getStepArtifactJson(e){return this.getJson(e)}async getStepArtifactLogs(e,t){try{return await this.getJson(`/storage/artifacts/${e}-${t}-logs.json`)}catch{return[]}}},XH=new class{async runSingleTest(e){let{data:t}=await J.post(`/v1/chef/test`,e);return t}async stopTestExecution(e){await J.put(`/v1/chef/stop/execution/${e}`)}async runPlan(e,t=`ALL`,n){await J.post(`/v1/chef/plan`,e,{params:{planRunType:t,planExecutionId:n},headers:{"Content-Type":`text/plain`}})}};function Eke(e,t){let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=t,document.body.appendChild(r),r.click(),URL.revokeObjectURL(n),document.body.removeChild(r)}var ZH=5e3,Dke=new Set([`PENDING`,`RUNNING`]);function QH(e){return Dke.has(e??``)}function $H(e){return e?.content?.some(e=>QH(e.status))?ZH:!1}function eU(e,t){let n=Us(),r=(0,O.useRef)(t);(0,O.useEffect)(()=>{r.current&&!t&&n.invalidateQueries({queryKey:e}),r.current=t},[t,n,e])}function Oke(e,t,n,r,i=!1){let a=Y.executions.summary(e,t,n);return eU(a,i),nc({queryKey:a,queryFn:()=>qH.getSummary({companyId:e,teamId:t,filters:n}),enabled:r&&!!e&&!!t,placeholderData:e=>e,refetchInterval:i?ZH:!1})}function kke({companyId:e,teamId:t,size:n=5},r){return nc({queryKey:Y.executions.recent({companyId:e,teamId:t,size:n}),queryFn:()=>qH.searchExecutions({companyId:e,teamId:t,filters:[]},{page:0,size:n,sort:`startTime,desc`}),enabled:r&&!!e&&!!t,select:e=>e.content})}function Ake({companyId:e,teamId:t,size:n=200},r){return nc({queryKey:Y.executions.list({companyId:e,teamId:t,size:n}),queryFn:()=>qH.searchExecutions({companyId:e,teamId:t,filters:[]},{page:0,size:n,sort:`startTime,desc`}),enabled:r&&!!e&&!!t})}function tU(e){return nc({queryKey:Y.executions.report(e??``),queryFn:()=>JH.getByExecutionId(e),enabled:!!e})}function jke(e,t={}){let{startDate:n,endDate:r}=t;return nc({queryKey:Y.executions.testReports(e??``,n??null,r??null),queryFn:()=>JH.getByTestId(e,{startDate:n,endDate:r}),enabled:!!e})}function nU(e,t=!0){return nc({queryKey:Y.executions.reportData(e??``),queryFn:()=>YH.getReportData(e),enabled:t&&!!e,staleTime:3e5})}function Mke(e){return nc({queryKey:Y.executions.artifactJson(e??``),queryFn:()=>YH.getArtifactJson(e),enabled:!!e,staleTime:3e5})}function Nke(e,t=!0){return nc({queryKey:Y.executions.har(e??``),queryFn:()=>YH.getHar(e),enabled:t&&!!e,staleTime:3e5})}function rU(e){return nc({queryKey:Y.executions.video(e??``),queryFn:()=>YH.getVideoPresignedUrl(e),enabled:!!e,staleTime:3e5})}function Pke(e,t=!0){return nc({queryKey:Y.executions.rrweb(e??``),queryFn:()=>YH.getRrwebData(e),enabled:t&&!!e,staleTime:6e5})}function iU({companyId:e,teamId:t,filters:n,page:r,size:i,sort:a},o){return nc({queryKey:Y.executions.page({companyId:e,teamId:t,filters:n,page:r,size:i,sort:a}),queryFn:()=>qH.searchExecutions({companyId:e,teamId:t,filters:n},{page:r,size:i,sort:a}),enabled:o&&!!e&&!!t,placeholderData:e=>e,refetchInterval:e=>$H(e.state.data)})}function aU(e,t,n,r={}){return nc({queryKey:Y.executions.byId(e??``,t,n),queryFn:()=>qH.getById(e,t,n),enabled:!!e&&!!t&&!!n,refetchInterval:r.poll?e=>QH(e.state.data?.status)?1e4:!1:void 0})}function Fke(e,t,n,r){return nc({queryKey:Y.executions.teamLookup(e??``,t,n),queryFn:async()=>{for(let r of n)try{return{teamId:r,execution:await qH.getById(e,t,r)}}catch{}return null},enabled:r&&!!e&&!!t&&n.length>0,retry:!1,staleTime:6e4})}var Ike=50,oU=5;function Lke(e,t,n){return nc({queryKey:Y.executions.adminLookup(e??``,t),queryFn:async()=>{let n=t.slice(0,Ike);for(let t=0;t<n.length;t+=oU){let r=n.slice(t,t+oU),i=(await Promise.all(r.map(async t=>{let n=await Uw.getTeamsOfCompany(t).catch(()=>[]),r=(await Promise.allSettled(n.map(async n=>({companyId:t,teamId:n.id,teamName:n.name,execution:await qH.getById(e,t,n.id)})))).find(e=>e.status===`fulfilled`);return r?.status===`fulfilled`?r.value:null}))).find(Boolean);if(i)return i}return null},enabled:n&&!!e&&t.length>0,retry:!1,staleTime:6e4})}function sU(){return rc({mutationFn:e=>
106XH.runSingleTest(e),onSuccess:(e,t)=>{e.id&&sue(t.testId,e.id)},onError:(e,t)=>{Nw(e)&&oue(t.testId,`run_click`)}})}function Rke(){return rc({mutationFn:e=>XH.stopTestExecution(e)})}function cU(){return rc({mutationFn:async e=>{Eke(await JH.downloadLogs(e),`execution-${e}-logs.txt`)}})}var lU=new class{async search(e,t){let{data:n}=await J.post(`/v1/plan-execution/search`,{filters:[],...e},{params:t});return n}async summary(e){let{data:t}=await J.post(`/v1/plan-execution/summary`,{filters:[],...e});return t}async stop(e){await J.put(`/v1/chef/stop/plan-execution/${e}`)}async getLogs(e){let{data:t}=await J.get(`/v1/plan-execution/${e}/logs`);return t}};function uU({companyId:e,teamId:t,filters:n,page:r,size:i,sort:a},o){return nc({queryKey:Y.planExecutions.page({companyId:e,teamId:t,filters:n,page:r,size:i,sort:a}),queryFn:()=>lU.search({companyId:e,teamId:t,filters:n},{page:r,size:i,sort:a}),enabled:o&&!!e&&!!t,placeholderData:e=>e,refetchInterval:e=>$H(e.state.data)})}function zke(e,t,n,r=!1){let i=Y.planExecutions.summary(e,t);return eU(i,r),nc({queryKey:i,queryFn:()=>lU.summary({companyId:e,teamId:t,filters:[]}),enabled:n&&!!e&&!!t,staleTime:6e4,refetchInterval:r?ZH:!1})}function Bke(e,t){return nc({queryKey:Y.planExecutions.logs(e??``),queryFn:()=>lU.getLogs(e),enabled:t&&!!e,staleTime:6e4})}function Vke(){let e=Us();return rc({mutationFn:e=>lU.stop(e),onSuccess:()=>e.invalidateQueries({queryKey:Y.planExecutions.all})})}function Hke(){let e=Us();return rc({mutationFn:({planId:e,runType:t,planExecutionId:n})=>XH.runPlan(e,t,n),onSuccess:()=>e.invalidateQueries({queryKey:Y.planExecutions.all})})}var dU=new class{async getPathItemTestTree(e){let{pathItemBucket:t,companyId:n,teamId:r,onlyDirectories:i=!1,testTagIds:a,page:o=0,size:s=200,sort:c=`name,asc`}=e,{data:l}=await J.get(`/v1/bff/path-item`,{params:{pathItemBucket:t,companyId:n,teamId:r,onlyDirectories:i,page:o,size:s,sort:c,...a?.length?{testTagIds:a}:{}},paramsSerializer:{indexes:null}});return l}async searchPathItemTestTree(e){let{pathItemBucket:t,searchTerm:n,companyId:r,teamId:i,includeParents:a=!1,onlyDirectories:o=!1,testTagIds:s,page:c=0,size:l=200,sort:u=`name,asc`}=e,{data:d}=await J.get(`/v1/bff/path-item/search`,{params:{searchTerm:n,includeParents:a,pathItemBucket:t,companyId:r,teamId:i,onlyDirectories:o,page:c,size:l,sort:u,...s?.length?{testTagIds:s}:{}},paramsSerializer:{indexes:null}});return d}async createPathItem(e){let{data:t}=await J.post(`/v1/path-item`,e);return t}async updatePathItem(e){let{data:t}=await J.put(`/v1/path-item`,e);return t}async duplicateFolder(e){let{data:t}=await J.post(`/v1/path-item/${e}/duplicate`);return t}async deletePathItem(e,t){await J.delete(`/v1/path-item/${e}`,{params:t?{strategy:t}:void 0})}async getDeletePreview(e){let{data:t}=await J.get(`/v1/path-item/${e}/delete-preview`);return t}async movePathItems(e){await J.post(`/v1/path-item/move`,e)}async getWebTests(e){let{directoryIds:t,...n}=e,{data:r}=await J.get(`/v1/bff/path-item/web-tests`,{params:{...n,...t?.length?{directoryIds:t.join(`,`)}:{}}});return r}},fU=new class{async getById(e){let{data:t}=await J.get(`/v1/plan/${e}`);return t}async create(e,t){let{data:n}=await J.post(`/v1/plan`,e,{params:t?{parentPathItemId:t}:void 0});return n}async update(e){let{data:t}=await J.put(`/v1/plan`,e);return t}async delete(e){await J.delete(`/v1/plan/${e}`)}async stop(e){await J.put(`/v1/plan/stop/${e}`)}},pU=new class{async createTest(e,t){let{data:n}=await J.post(`/v1/test`,e,{params:{parentPathItemId:t??void 0}});return n}async duplicateTest(e){if(!e.id)throw Error(`Test id is required for duplication`);let{data:t}=await J.post(`/v1/test/${e.id}/duplicate`,e);return t}async getTestById(e){let{data:t}=await J.get(`/v1/test/${e}`);return t}async updateTest(e){let{data:t}=await J.put(`/v1/test`,e);return t}async deleteTest(e){await J.delete(`/v1/test/${e}`)}async getByIds(e){let{data:t}=await J.post(`/v1/test/by-ids`,{idList:e});return t}async searchTests(e){let{companyId:t,teamId:n,searchTerm:r,platform:i=`WEB`,page:a=0,size:o=20}=e,{data:s}=await J.get(`/v1/test/search`,{params:{companyId:t,teamId:n,searchTerm:r,platform:i,page:a,size:o}});return s?.content??[]}},mU=`PLAN`;function hU(e){return e?qT(e):`-`}function gU(e,t,n){let r=[];for(let i of e){let e=i.key||i.id;if(i.data.type===`DIRECTORY`){let a={id:e,name:i.data.name,parentId:t};n.push(a),r.push({id:e,kind:`dir`,name:i.data.name,date:hU(i.data.creationTime),dateTs:i.data.creationTime,updated:hU(i.data.updateTime??void 0),itemCount:i.itemCount,children:gU(i.children??[],e,n),directory:a})}else r.push({id:i.data.id,kind:`item`,name:i.data.name,date:hU(i.data.creationTime),dateTs:i.data.creationTime,updated:hU(i.data.updateTime??void 0),plan:{id:i.data.id,pathItemId:e,name:i.data.name,parentId:t}})}return r}function Uke(e,t,n){return nc({queryKey:Y.plans.tree(e,t),queryFn:async()=>{let n=await dU.getPathItemTestTree({pathItemBucket:mU,companyId:e,teamId:t,onlyDirectories:!1,size:1e3}),r=[];return{nodes:gU(n.content,null,r),directories:r}},enabled:n&&!!e&&!!t})}function Wke(e){return nc({queryKey:Y.plans.byId(e??``),queryFn:()=>fU.getById(e),enabled:!!e&&e!==`new`})}function _U(e){let t=[],n=0,r=0;for(let i of e)if(i.data.type===`DIRECTORY`){let e=_U(i.children??[]);t.push({id:i.data.id||i.key,name:i.data.name,kind:`dir`,children:e.nodes,testCount:e.testCount}),n+=e.testCount,r+=1+e.groupCount}else i.data.type===`WEB_TEST`&&(t.push({id:i.data.id,name:i.data.name,kind:`test`,children:[],testCount:0}),n+=1);return{nodes:t,testCount:n,groupCount:r}}function Gke(e,t,n,r,i){let a=n.trim();return nc({queryKey:Y.plans.webTestTree(e,t,a,r),queryFn:async()=>{let n=r?[r]:void 0;return _U((a?await dU.searchPathItemTestTree({pathItemBucket:`TEST`,searchTerm:a,companyId:e,teamId:t,includeParents:!0,testTagIds:n,size:500,sort:`name,asc`}):await dU.getPathItemTestTree({pathItemBucket:`TEST`,companyId:e,teamId:t,testTagIds:n,size:500,sort:`name,asc`})).content)},enabled:i&&!!e&&!!t,placeholderData:e=>e})}function vU(){let e=Us();return()=>e.invalidateQueries({queryKey:Y.plans.all})}function Kke(){return rc({mutationFn:({plan:e,parentPathItemId:t})=>fU.create(e,t),onSuccess:vU()})}function qke(e,t){return nc({queryKey:Y.plans.testsByIds(e),queryFn:()=>pU.getByIds(e),enabled:t&&e.length>0})}function Jke(){let e=Us(),t=vU();return rc({mutationFn:e=>fU.update(e),onSuccess:n=>
106{n.id&&e.setQueryData(Y.plans.byId(n.id),n),t()}})}function Yke(){return rc({mutationFn:e=>fU.delete(e),onSuccess:vU()})}function Xke(){return rc({mutationFn:e=>XH.runPlan(e,`ALL`)})}function Zke(){return rc({mutationFn:e=>fU.stop(e),onSuccess:vU()})}function Qke(e,t){return rc({mutationFn:n=>dU.createPathItem({name:n.name,bucket:mU,parentId:n.parentId,type:`DIRECTORY`,companyId:e,teamId:t}),onSuccess:vU()})}function $ke(){return rc({mutationFn:e=>dU.updatePathItem(e),onSuccess:vU()})}function eAe(){return rc({mutationFn:({id:e,strategy:t})=>dU.deletePathItem(e,t),onSuccess:vU()})}function tAe(){return rc({mutationFn:e=>dU.movePathItems(e),onSuccess:vU()})}var yU={brand:`#426add`,success:`#3a9d75`,danger:`#e24b4a`,warning:`#ba7517`,info:`#7a8fd4`,violet:`#6366f1`,navy:`#11229d`};function bU(e){let t=new Date;t.setHours(23,59,59,999);let n=new Date;return n.setDate(n.getDate()-e),n.setHours(0,0,0,0),{startDate:n,endDate:t}}function nAe(e,t){if(t===`daily`)return e.toISOString().split(`T`)[0];if(t===`weekly`){let t=new Date(e.getFullYear(),0,1),n=Math.floor((e.getTime()-t.getTime())/864e5),r=Math.ceil((n+t.getDay()+1)/7);return`${e.getFullYear()}-W${String(r).padStart(2,`0`)}`}return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}`}function xU(e,t,n,r){let i={};for(let{date:r,value:a}of e){let e=nAe(r,t);i[e]=e in i?n(i[e],a):a}return Object.entries(i).map(([e,t])=>({label:e,value:t}))}function SU(e,t){return{total:(e.total??0)+(t.total??0),success:(e.success??0)+(t.success??0),stopped:(e.stopped??0)+(t.stopped??0),running:(e.running??0)+(t.running??0),pending:(e.pending??0)+(t.pending??0),failed:(e.failed??0)+(t.failed??0),error:(e.error??0)+(t.error??0)}}function CU(){return{total:0,success:0,stopped:0,running:0,pending:0,failed:0,error:0}}function wU(e){let t={};for(let n of Object.values(e))for(let[e,r]of Object.entries(n.executionSummaryByDate??{}))t[e]=t[e]?SU(t[e],r):{...r};return t}function TU(e){return e.reduce(SU,CU())}function EU(e){return e.total?Math.round(e.success/e.total*100):0}function rAe(e){if(!e||e<0)return null;let t=Math.round(e/1e3),n=Math.floor(t/60),r=t%60;return n>0?`${n}m ${r}s`:`${r}s`}function DU(e){if(!e)return``;let t=Math.floor((Date.now()-e)/1e3);if(t<60)return`just now`;let n=Math.floor(t/60);if(n<60)return`${n}m ago`;let r=Math.floor(n/60);if(r<24)return`${r}h ago`;let i=Math.floor(r/24);return i<7?`${i}d ago`:qT(e)}function OU(e,t){let n={};for(let r of[e,t])for(let[e,t]of Object.entries(r)){let r=Object.values(t.executionSummaryByDate??{}),i=r.reduce((e,t)=>e+(t.total??0),0),a=r.reduce((e,t)=>e+(t.success??0),0),o=n[e]??{runs:0,passed:0};n[e]={runs:o.runs+i,passed:o.passed+a}}return Object.entries(n).map(([e,t])=>({user:e,...t})).sort((e,t)=>t.runs-e.runs)}function kU(e){return Object.entries(e??{}).map(([e,t])=>({date:new Date(e),value:t})).sort((e,t)=>e.date.getTime()-t.date.getTime())}var iAe=bT(`inline-flex w-fit items-center gap-1.5 rounded-full py-[3px] pr-2.5 pl-2 text-[11px] font-medium`,{variants:{tone:{passed:`bg-status-passed-bg text-status-passed-fg`,failed:`bg-status-failed-bg text-status-failed-fg`,running:`bg-status-running-bg text-status-running-fg`,stopped:`bg-status-stopped-bg text-status-stopped-fg`,pending:`bg-status-pending-bg text-status-pending-fg`,error:`bg-status-error-bg text-status-error-fg`}},defaultVariants:{tone:`pending`}}),aAe={passed:`bg-status-passed`,failed:`bg-status-failed`,running:`bg-status-running`,stopped:`bg-status-stopped`,pending:`bg-status-pending`,error:`bg-status-error`},oAe={passed:`Passed`,failed:`Failed`,running:`Running`,stopped:`Stopped`,pending:`Pending`,error:`Error`};function AU({tone:e,children:t,className:n}){return(0,U.jsxs)(`span`,{className:W(iAe({tone:e}),n),children:[(0,U.jsx)(`span`,{className:W(`size-1.5 rounded-full`,aAe[e],e===`running`&&`animate-status-pulse`),"aria-hidden":`true`}),t??oAe[e]]})}function sAe({title:e,message:t,cta:n}){return(0,U.jsxs)(`div`,{className:`bg-surface border-border rounded-lg border-[0.5px] px-5 py-20 text-center`,children:[(0,U.jsx)(My,{className:`text-muted-foreground mx-auto mb-4 size-[42px] opacity-25`}),(0,U.jsx)(`div`,{className:`text-fg-strong mb-2 text-[16px] font-semibold`,children:e}),(0,U.jsx)(`p`,{className:`text-muted-foreground mx-auto max-w-[340px] text-[13px] leading-relaxed`,children:t}),n&&(0,U.jsx)(`div`,{className:`mt-[18px]`,children:n})]})}function jU({children:e,className:t}){return(0,U.jsx)(`div`,{className:W(`text-muted-foreground mb-3 text-[10px] font-semibold tracking-[0.08em] uppercase`,t),children:e})}function MU({children:e,className:t,style:n,id:r}){return(0,U.jsx)(`div`,{id:r,className:W(`bg-surface border-border min-w-0 flex-1 rounded-lg border-[0.5px] p-4 md:min-w-[160px] md:p-[18px]`,t),style:n,children:e})}var NU=40,PU=2*Math.PI*NU;function cAe({pct:e,label:t,hasRuns:n=!0}){let r=Math.max(0,Math.min(100,e)),i=PU*r/100,a=PU-i;return(0,U.jsxs)(`div`,{className:`relative size-[88px] shrink-0`,role:`img`,"aria-label":`${t}: ${r}
106%`,children:[(0,U.jsxs)(`svg`,{viewBox:`0 0 92 92`,className:`size-full -rotate-90`,children:[(0,U.jsx)(`circle`,{className:`stroke-surface-alt fill-none`,strokeWidth:8,cx:`46`,cy:`46`,r:NU}),n&&a>0&&(0,U.jsx)(`circle`,{className:`stroke-status-failed-bg fill-none`,strokeWidth:8,cx:`46`,cy:`46`,r:NU,strokeDasharray:`${a} ${i}`,strokeDashoffset:-i}),n&&i>0&&(0,U.jsx)(`circle`,{className:`stroke-brand fill-none transition-[stroke-dasharray] duration-[600ms] ease-[cubic-bezier(.2,.7,.2,1)]`,strokeWidth:8,strokeLinecap:`round`,cx:`46`,cy:`46`,r:NU,strokeDasharray:`${i} ${a}`})]}),(0,U.jsxs)(`div`,{className:`absolute inset-0 flex flex-col items-center justify-center leading-none`,children:[(0,U.jsxs)(`span`,{className:`text-fg-strong text-[19px] font-bold tracking-[-0.01em]`,children:[r,`%`]}),(0,U.jsx)(`span`,{className:`text-muted-foreground mt-1 text-[8.5px] font-semibold tracking-[0.08em] uppercase`,children:t})]})]})}function FU({pct:e,ringLabel:t,dotClass:n,surface:r,metrics:i,hasRuns:a=!0}){return(0,U.jsxs)(`div`,{className:`bg-surface border-border flex min-w-0 flex-1 items-center gap-5 rounded-[14px] border-[0.5px] p-[16px_18px]`,children:[(0,U.jsx)(cAe,{pct:e,label:t,hasRuns:a}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[10px] font-semibold tracking-[0.08em] uppercase`,children:[(0,U.jsx)(`span`,{className:W(`size-2 rounded-full`,n)}),r]}),(0,U.jsx)(`div`,{className:`flex flex-wrap gap-6 md:gap-8`,children:i.map(e=>(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:W(`font-heading text-fg-strong text-[20px] leading-none font-bold tracking-[-0.01em] md:text-[24px]`,e.valueClass),children:e.value}),(0,U.jsx)(`div`,{className:`text-muted-foreground mt-1 text-[11px]`,children:e.label})]},e.label))})]})]})}function IU({dotClass:e,children:t}){return(0,U.jsxs)(`div`,{className:`text-fg-strong flex items-center gap-1.5 text-[12px] font-semibold`,children:[(0,U.jsx)(`span`,{className:W(`size-2 rounded-full`,e)}),t]})}var lAe={passed:`bg-status-passed`,failed:`bg-status-failed`,running:`bg-status-running`,stopped:`bg-status-stopped`,pending:`bg-status-pending`,error:`bg-status-error`};function uAe({tone:e,name:t,meta:n,stats:r,pills:i}){return(0,U.jsxs)(`div`,{className:W(`bg-surface mb-4 flex flex-wrap items-start gap-3 rounded-[10px] border-[0.5px] px-4 py-3.5 md:items-center md:gap-3.5 md:px-[18px]`,e===`failed`?`border-status-failed-bg`:`border-border`),children:[(0,U.jsx)(`span`,{className:W(`mt-1.5 size-2.5 shrink-0 rounded-full md:mt-0`,lAe[e])}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong text-[13px] font-medium`,children:t}),(0,U.jsx)(`div`,{className:`text-muted-foreground mt-0.5 text-[11px]`,children:n}),(0,U.jsx)(`div`,{className:`mt-1.5 flex items-center gap-2 text-[12px] md:hidden`,children:r})]}),(0,U.jsx)(`div`,{className:`hidden items-center gap-2 text-[12px] md:flex`,children:r}),i&&i.length>0&&(0,U.jsx)(`div`,{className:`flex gap-1.5`,children:i.map(e=>(0,U.jsx)(`span`,{className:`bg-surface-alt text-muted-foreground rounded-full px-2.5 py-[3px] text-[11px]`,children:e},e))})]})}function LU({label:e,value:t,color:n}){return(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:`text-muted-foreground mb-0.5 text-[10px] font-medium tracking-[0.06em] uppercase`,children:e}),(0,U.jsx)(`div`,{className:`font-heading text-[18px] leading-none font-bold tracking-[-0.01em] md:text-[22px]`,style:n?{color:n}:void 0,children:t})]})}function RU({title:e,controls:t,stats:n,children:r,legend:i}){return(0,U.jsxs)(MU,{children:[(0,U.jsxs)(`div`,{className:`mb-3.5 flex flex-wrap items-center justify-between gap-2.5`,children:[(0,U.jsx)(jU,{className:`mb-0`,children:e}),t&&(0,U.jsx)(`div`,{className:`flex gap-1.5`,children:t})]}),n&&(0,U.jsx)(`div`,{className:`mb-1.5 flex flex-wrap gap-4 md:gap-6`,children:n}),(0,U.jsx)(`div`,{className:`relative mt-3 h-[160px] md:h-[200px]`,children:r}),i&&(0,U.jsx)(`div`,{className:`mt-2.5 flex flex-wrap gap-4`,children:i})]})}function zU({color:e,label:t}){return(0,U.jsxs)(`span`,{className:`text-muted-foreground flex items-center gap-1.5 text-[11px]`,children:[(0,U.jsx)(`span`,{className:`size-2 shrink-0 rounded-full`,style:{background:e}}),t]})}var BU=[`bg-status-passed-bg text-status-passed-fg`,`bg-violet-pale text-violet-dark`,`bg-status-running-bg text-status-running-fg`];function VU({name:e}){let t=(e||`?`).charAt(0).toUpperCase(),n=BU[t.charCodeAt(0)%BU.length];return(0,U.jsx)(`span`,{className:W(`grid size-6 shrink-0 place-items-center rounded-full text-[10px] font-semibold`,n),children:t})}function dAe({user:e,created:t,runs:n,createdLabel:r,runsLabel:i}){return(0,U.jsxs)(`div`,{className:`border-divider flex items-center gap-2.5 border-b py-2.5 text-[12px] last:border-b-0`,children:[(0,U.jsx)(VU,{name:e}),(0,U.jsx)(`span`,{className:`text-fg-strong flex-1 truncate font-medium`,children:e}),(0,U.jsxs)(`div`,{className:`text-right text-[11px] leading-tight`,children:[(0,U.jsxs)(`div`,{className:`text-brand font-medium`,children:[t,` `,r]}),(0,U.jsxs)(`div`,{className:`text-muted-foreground`,children:[n.toLocaleStr
106ing(),` `,i]})]})]})}function HU({user:e,action:t,time:n,tone:r}){return(0,U.jsxs)(`div`,{className:`border-divider flex items-center gap-2.5 border-b py-2.5 text-[12px] last:border-b-0`,children:[(0,U.jsx)(VU,{name:e}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1 truncate`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e}),(0,U.jsxs)(`span`,{className:`text-muted-foreground`,children:[` `,t]})]}),(0,U.jsx)(`span`,{className:`text-muted-foreground mr-1 shrink-0 text-[11px]`,children:n}),(0,U.jsx)(AU,{tone:r,children:r===`passed`?`Pass`:r===`failed`?`Fail`:void 0})]})}function UU({children:e,sidePanel:t,className:n}){return(0,U.jsxs)(`div`,{className:W(`relative`,n),children:[e,t]})}function WU({icon:e,title:t,message:n,action:r,className:i}){return(0,U.jsxs)(`div`,{className:W(`bg-surface border-border-strong flex flex-col items-center gap-2 rounded-2xl border-[0.5px] border-dashed p-[60px_32px] text-center`,i),children:[(0,U.jsx)(`div`,{className:`from-violet-pale text-violet mb-1.5 grid size-[84px] place-items-center rounded-[20px] bg-gradient-to-br to-white shadow-[inset_0_0_0_0.5px_var(--color-border)]`,children:e}),(0,U.jsx)(`h2`,{className:`text-fg-strong text-[16px] font-semibold`,children:t}),(0,U.jsx)(`p`,{className:`text-muted-foreground max-w-[340px] text-[12.5px] leading-[1.55]`,children:n}),r&&(0,U.jsx)(`div`,{className:`mt-2 flex gap-2`,children:r})]})}function GU({items:e,label:t=`Row actions`,align:n=`end`,className:r}){return(0,U.jsxs)(iT,{children:[(0,U.jsx)(aT,{"aria-label":t,className:W(`text-muted-foreground hover:bg-background hover:text-fg-strong data-[state=open]:bg-background data-[state=open]:text-fg-strong grid size-[26px] place-items-center rounded-md outline-none`,r),children:(0,U.jsx)($y,{className:`size-4`})}),(0,U.jsx)(oT,{align:n,className:`min-w-[200px]`,children:e.map((e,t)=>e===`separator`?(0,U.jsx)(uT,{},`sep-${t}`):(0,U.jsxs)(sT,{disabled:e.disabled,variant:e.danger?`destructive`:`default`,onSelect:e.onSelect,className:`gap-2.5 px-2.5 py-[7px] text-[12.5px]`,children:[e.icon&&(0,U.jsx)(e.icon,{className:`size-3.5`}),e.label]},e.label))})]})}var fAe=`40px`;function KU({columns:e,rows:t,rowKey:n,density:r=`comfortable`,sort:i,onSortChange:a,selectedKey:o,onRowClick:s,rowActions:c,className:l}){let u=e.map(e=>e.width??`1fr`).join(` `)+(c?` ${fAe}`:``),d=r===`compact`?`h-[38px]`:`h-[54px]`;return(0,U.jsx)(`div`,{className:W(`bg-surface border-border overflow-hidden rounded-xl border-[0.5px] shadow-sm`,l),children:(0,U.jsxs)(`div`,{className:`overflow-x-auto`,children:[(0,U.jsxs)(`div`,{className:`bg-background border-divider grid h-9 min-w-[600px] items-center gap-2.5 border-b px-4`,style:{gridTemplateColumns:u},role:`row`,children:[e.map(e=>{let t=i?.key===e.key;return(0,U.jsxs)(`button`,{type:`button`,disabled:!e.sortable,onClick:e.sortable?()=>a?.(e.key):void 0,className:W(`text-muted-foreground inline-flex items-center gap-1 text-left text-[9.5px] font-semibold tracking-[0.08em] uppercase`,e.sortable&&`hover:text-fg-strong cursor-pointer`,t&&`text-fg-strong`,e.headerClassName),children:[e.header,e.sortable&&(t?i.dir===`asc`?(0,U.jsx)(Ry,{className:`text-violet size-2.5`}):(0,U.jsx)(Fy,{className:`text-violet size-2.5`}):(0,U.jsx)(zy,{className:`size-2.5 opacity-45`}))]},e.key)}),c&&(0,U.jsx)(`span`,{"aria-hidden":`true`})]}),t.map(t=>{let i=n(t),a=o===i;return(0,U.jsxs)(`div`,{role:`row`,onClick:()=>s?.(t),className:W(`border-divider relative grid min-w-[600px] items-center gap-2.5 border-b px-4 transition-colors last:border-b-0`,d,s&&`cursor-pointer`,a?`bg-violet-pale`:`hover:bg-surface-hover`),style:{gridTemplateColumns:u},children:[a&&(0,U.jsx)(`span`,{className:`bg-violet absolute top-0 bottom-0 left-0 w-0.5`,"aria-hidden":`true`}),e.map(e=>(0,U.jsx)(`div`,{className:W(`min-w-0`,e.cellClassName),children:e.cell(t,r)},e.key)),c&&(0,U.jsx)(`div`,{className:`flex justify-end`,onClick:e=>e.stopPropagation(),children:(0,U.jsx)(GU,{items:c(t)})})]},i)})]})})}function qU({children:e,className:t}){return(0,U.jsx)(`div`,{className:W(`mb-3 flex flex-wrap items-center gap-2`,t),children:e})}
106function JU({value:e,onChange:t,placeholder:n=`Search by nameâ¦`,className:r}){return(0,U.jsxs)(`div`,{className:W(`bg-surface border-border focus-within:border-violet-light focus-within:ring-violet/10 flex h-[34px] min-w-0 flex-1 items-center gap-2 rounded-lg border-[0.5px] px-3 focus-within:ring-[3px] md:min-w-[260px]`,r),children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3.5 shrink-0`}),(0,U.jsx)(`input`,{type:`search`,value:e,onChange:e=>t(e.target.value),placeholder:n,className:`text-fg-strong placeholder:text-fg-hint flex-1 border-0 bg-transparent text-[12.5px] outline-none`})]})}function pAe(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);let n=[1],r=Math.max(2,e-1),i=Math.min(t-1,e+1);r>2&&n.push(`gap`);for(let e=r;e<=i;e++)n.push(e);return i<t-1&&n.push(`gap`),n.push(t),n}var YU=`inline-flex h-[26px] min-w-[26px] items-center justify-center rounded-md border-[0.5px] border-transparent px-[7px] text-[11.5px] font-medium transition-colors`;function XU({page:e,pageSize:t,total:n,pageSizeOptions:r=[10,25,50,100],onPageChange:i,onPageSizeChange:a,itemLabel:o=`items`,className:s}){let c=Math.max(1,Math.ceil(n/t)),l=Math.min(e,c),u=n===0?0:(l-1)*t+1,d=Math.min(l*t,n);return(0,U.jsxs)(`div`,{className:W(`border-divider text-muted-foreground flex flex-wrap items-center gap-3.5 border-t px-[18px] py-2.5 text-[11.5px]`,s),children:[(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:`bg-violet size-1.5 rounded-full`,"aria-hidden":`true`}),(0,U.jsxs)(`span`,{children:[`Showing `,(0,U.jsx)(`strong`,{className:`text-fg-strong font-semibold tabular-nums`,children:u}),`â`,(0,U.jsx)(`strong`,{className:`text-fg-strong font-semibold tabular-nums`,children:d}),` of`,` `,(0,U.jsx)(`strong`,{className:`text-fg-strong font-semibold tabular-nums`,children:n}),` `,o]})]}),(0,U.jsx)(`div`,{className:`flex-1`}),(0,U.jsxs)(`div`,{className:`hidden items-center gap-2 md:inline-flex`,children:[(0,U.jsx)(`span`,{children:`Rows per page`}),(0,U.jsxs)(iT,{children:[(0,U.jsxs)(aT,{"aria-label":`Rows per page`,className:`border-border bg-surface hover:border-border-strong text-fg-strong inline-flex items-center gap-1.5 rounded-md border-[0.5px] py-1 pr-2 pl-2.5 font-medium outline-none`,children:[t,(0,U.jsx)(Fy,{className:`size-3`})]}),(0,U.jsx)(oT,{align:`end`,className:`min-w-[92px]`,children:r.map(e=>(0,U.jsxs)(sT,{onSelect:()=>a(e),className:`justify-between text-[11.5px] tabular-nums`,children:[e,e===t&&(0,U.jsx)(Py,{className:`text-violet size-3.5`})]},e))})]})]}),(0,U.jsxs)(`nav`,{className:`inline-flex items-center gap-0.5`,"aria-label":`Pagination`,children:[(0,U.jsx)(`button`,{type:`button`,disabled:l<=1,onClick:()=>i(l-1),"aria-label":`Previous page`,className:W(YU,l<=1?`text-fg-hint cursor-default`:`hover:bg-surface-hover hover:text-fg-strong`),children:(0,U.jsx)(Iy,{className:`size-3`})}),(0,U.jsxs)(`span`,{className:`text-fg-strong text-[11.5px] font-medium md:hidden`,children:[l,`/`,c]}),(0,U.jsx)(`span`,{className:`hidden md:contents`,children:pAe(l,c).map((e,t)=>e===`gap`?(0,U.jsx)(`span`,{className:`text-fg-hint inline-flex min-w-[18px] justify-center select-none`,children:`â¦`},`gap-${t}`):(0,U.jsx)(`button`,{type:`button`,"aria-current":e===l?`page`:void 0,onClick:()=>i(e),className:W(YU,e===l?`border-violet bg-violet hover:bg-violet-dark text-white`:`hover:bg-surface-hover hover:text-fg-strong`),children:e},e))}),(0,U.jsx)(`button`,{type:`button`,disabled:l>=c,onClick:()=>i(l+1),"aria-label":`Next page`,className:W(YU,l>=c?`text-fg-hint cursor-default`:`hover:bg-surface-hover hover:text-fg-strong`),children:(0,U.jsx)(Ly,{className:`size-3`})})]})]})}function mAe(e){return Object.values(e).reduce((e,t)=>e+t.length,0)}function ZU({label:e,groups:t,value:n,onChange:r,className:i}){let[a,o]=(0,O.useState)(!1),[s,c]=(0,O.useState)(n),l=mAe(n);function u(e){e&&c(n),o(e)}function d(e,t){c(n=>{let r=n[e.key]??[],i=r.includes(t),a=e.single?i?[]:[t]:i?r.filter(e=>e!==t):[...r,t];return{...n,[e.key]:a}})}function f(){r(s),o(!1)}function p(){c({})}return(0,U.jsxs)(hT,{open:a,onOpenChange:u,children:[(0,U.jsxs)(gT,{className:W(`border-border bg-surface text-fg-body hover:border-border-strong flex h-[34px] items-center gap-1.5 rounded-lg border-[0.5px] px-3 text-[12px] font-medium whitespace-nowrap outline-none`,l>0&&`border-violet-light bg-violet-pale text-violet-dark`,a&&`border-violet ring-violet/15 ring-[3px]`,i),children:[(0,U.jsx)(Ooe,{className:`size-3.5 opacity-70`}),e,l>0&&(0,U.jsx)(`span`,{className:`bg-primary flex h-4 min-w-4 items-center justify-center rounded-full px-1 font-mono text-[10px] font-semibold text-white`,children:l})]}),(0,U.jsxs)(_T,{align:`start`,className:`w-[300px] p-3.5`,children:[t.map(e=>(0,U.jsxs)(`div`,{className:`mb-3.5 flex flex-col gap-1.5 last:mb-0`,children:[(0,U.jsx)(`div`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:e.label}),(0,U.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:e.options.map(t=>{let n=(s[e.key]??[]).includes(t.value);return(0,U.jsxs)(`button`,{type:`button`,"aria-pressed":n,onClick:()=>d(e,t.value),className:W(`bg-background text-fg-body hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-full border-[0.5px] border-transparent px-2.5 py-[5px] text-[11.5px]`,n&&`bg-violet-pale text-violet-dark border-violet-light font-medium`),children:[t.dotClassName&&(0,U.jsx)(`span`,{className:W(`size-[7px] rounded-full`,t.dotClassName)}),t.label]},t.value)})})]},e.key)),(0,U.jsxs)(`div`,{className:`border-divider mt-1 flex items-center justify-between border-t pt-2.5`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:p,className:`text-muted-foreground hover:text-fg-strong text-[11.5px]`,children:`Clear`}),(0,U.jsx)(`button`,{type:`button`,onClick:f,className:`bg-primary rounded-md px-3.5 py-1.5 text-[11.5px] font-medium text-white`,children:`Apply`})]})]})]})}function hAe(){return(0,U.jsx)(`div`,{className:`flex flex-col gap-2`,role:`status`,"aria-label":`Loading`,children:Array.from({length:5}).map((e,t)=>(0,U.jsx)(RH,{className:`h-12 w-full rounded-lg`},t))})}function gAe({retry:e}){return(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground flex flex-col items-center gap-3 rounded-xl border-[0.5px] p-10 text-center`,role:`alert`,children:[(0,U.jsx)(nx,{className:`text-status-failed size-6`}),(0,U.jsx)(`p`,{className:`text-[12.5px]`,children:`Something went wrong while loading this view.`}),e&&(0,U.jsx)(`button`,{type:`button`,onClick:e,className:`bg-primary rounded-md px-3.5 py-1.5 text-[11.5px] font-medium text-white`,children:`Try again`})]})}function QU({query:e,isEmpty:t,loading:n,error:r,empty:i,children:a}){if(e.isPending)return(0,U.jsx)(U.Fragment,{children:n??(0,U.jsx)(hAe,{})});if(e.isError)return(0,U.jsx)(U.Fragment,{children:r?r(e.error,e.refetch):(0,U.jsx)(gAe,{retry:e.refetch})});let o=e.data;return t?.(o)?(0,U.jsx)(U.Fragment,{children:i??(0,U.jsx)(`div`,{className:`text-muted-foreground p-10 text-center text-[12.5px]`,children:`Nothing to show yet.`})}):(0,U.jsx)(U.Fragment,{children:a(o)})}var $U=function(e){return e.CSV=`CSV`,e.XLSX=`XLSX`,e.XLS=`XLS`,e.JSON=`JSON`,e.XML=`XML`,e}({}),eW=new class{constructor(){this.BASE_URL=`/v1/data-source`}async search(e){let{data:t}=await J.get(`${this.BASE_URL}/search`,{params:{name:e.name??``,page:e.page,size:e.size,companyId:e.companyId,teamId:e.teamId,sort:e.sort??`creationTime,desc`}});return t}async create(e){let{data:t}=await J.post(this.BASE_URL,e);return t}async update(e){let{data:t}=await J.put(this.BASE_URL,e);return t}async delete(e){await J.delete(`${this.BASE_URL}/${e}`)}},_Ae=6e4,vAe=500;function tW(e,t,n){return nc({queryKey:Y.dataSources.list(e,t),queryFn:()=>eW.search({page:0,size:vAe,companyId:e,teamId:t}),enabled:n&&!!e&&!!t,select:e=>e.content??[],staleTime:_Ae})}function nW(){let e=Us();return(t,n)=>e.invalidateQueries({queryKey:Y.dataSources.list(t,n)})}function yAe(){let e=nW();return rc({mutationFn:e=>eW.create(e),onSuccess:t=>e(t.companyId,t.teamId)})}function bAe(){let e=nW();return rc({mutationFn:e=>eW.update(e),onSuccess:t=>e(t.companyId,t.teamId)})}function xAe(e,t){let n=nW();return rc({mutationFn:e=>eW.delete(e),onSuccess:()=>n(e,t)})}var rW=new class{async downloadFile(e){let{data:t}=await J.get(`/v1/storage/${e}`,{responseType:`blob`,skipLogoutOn401:!0});return t}};function iW(e){let t;try{t=JSON.parse(e)}catch{try{t=JSON.parse(atob(e))}catch{return{statusCode:200,body:e,headers:{}}}}if(!t||typeof t!=`object`)return{statusCode:200,body:String(t??``),headers:{}};let n=t,r=n.statusCode,i=n.body,a=n.headers;if(typeof i==`string`)try{let e=JSON.parse(i);e&&typeof e==`object`&&(`statusCode`in e&&(r=e.statusCode),`body`in e&&(i=e.body),`headers`in e&&(a=e.headers))}catch{}let o={};if(a&&typeof a==`object`)for(let[e,t]of Object.entries(a))o[e]=Array.isArray(t)?t.map(String):[String(t)];return{statusCode:r??200,body:typeof i==`string`?i:JSON.stringify(i??``,null,2),headers:o}}var aW=new class{async search(e){let t=new URLSearchParams({name:e.name??``,page:e.page.toString(),size:e.size.toString(),companyId:e.companyId,teamId:e.teamId});e.sort&&t.append(`sort`,e.sort);let{data:n}=await J.get(`/v1/http-requests/search?${t}`);return n}async getById(e){let{data:t}=await J.get(`/v1/http-requests/${e}`);return t}async create(e){let{data:t}=await J.post(`/v1/http-requests`,e);return t}async update(e){let{data:t}=await J.put(`/v1/http-requests`,e);return t}async delete(e){await J.delete(`/v1/http-requests/${e}`)}async execute(e){let{data:t}=await J.post(`/v1/http-requests/execute`,e);return t}},oW=new class{async getObjectUrl(e){if(/^(?:blob:|data:|https?:\/\/)/i.test(e))return e;let t=e.startsWith(`/v1`)?e:`/v1${e.startsWith(`/`)?``:`/`}${e}`,{data:n}=await J.get(t,{responseType:`blob`});return URL.createObjectURL(n)}async getText(e,t){let n=/^https?:\/\//.test(e)||e.startsWith(`/v1`)?e:`/v1${e.startsWith(`/`)?``:`/`}${e}`,{data:r}=await J.get(n,{responseType:`text`,headers:t?{"X-Execution-Id":t}:void 0});return typeof r==`string`?r:JSON.stringify(r)}},sW=500;function cW(e,t,n,r){return nc({queryKey:Y.editor.httpSearch(e,t,n
106),queryFn:()=>aW.search({name:n,page:0,size:20,companyId:e,teamId:t}),enabled:r&&!!e&&!!t,placeholderData:e=>e})}function SAe(e,t,n){return nc({queryKey:Y.httpRequests.list({companyId:e,teamId:t,query:``,page:0,size:sW}),queryFn:()=>aW.search({name:``,page:0,size:sW,companyId:e,teamId:t}),enabled:n&&!!e&&!!t,select:e=>e.content??[],staleTime:6e4})}function lW(e){return nc({queryKey:Y.httpRequests.byId(e??``),queryFn:()=>aW.getById(e),enabled:!!e&&e!==`new`,staleTime:6e4})}function CAe(e,t){return nc({queryKey:Y.editor.httpStepResponse(e?.dataUrl??(e?.data?`inline`:``),e?.executionId??``),queryFn:async()=>e?.data?iW(e.data):iW(await oW.getText(e.dataUrl,e.executionId)),enabled:t&&!!(e&&(e.data||e.dataUrl)),staleTime:6e4})}function uW(){let e=Us();return()=>e.invalidateQueries({queryKey:Y.httpRequests.all})}function dW(){return rc({mutationFn:e=>aW.create(e),onSuccess:uW()})}function wAe(){let e=Us(),t=uW();return rc({mutationFn:e=>aW.update(e),onSuccess:n=>{n.id&&e.setQueryData(Y.httpRequests.byId(n.id),n),t()}})}function TAe(){return rc({mutationFn:e=>aW.delete(e),onSuccess:uW()})}function EAe(){return rc({mutationFn:e=>aW.execute(e)})}var fW=new class{async uploadReferenceImage(e,t){let{data:n}=await J.post(`/v1/upload/reference-image`,e,{params:{filename:t},headers:{"Content-Type":`text/plain`}});return n}async uploadDataSourceFile(e,t,n){let r=`${n.companyId}/${n.teamId}/${e.name}`,i=new File([e],r,{type:e.type}),a=new FormData;a.append(`file`,i),a.append(`fileType`,t);let{data:o}=await J.post(`/v1/upload/data-source`,a,{headers:{"Content-Type":`multipart/form-data`},signal:AbortSignal.timeout(3e5)});return o}async uploadScenarioFile(e,t,n){let r=new FormData;r.append(`file`,e),r.append(`companyId`,t),r.append(`teamId`,n);let{data:i}=await J.post(`/v1/upload/scenario-file`,r,{headers:{"Content-Type":`multipart/form-data`},signal:AbortSignal.timeout(3e5)});return i}},pW={GET:`text-status-passed-fg bg-status-passed-bg`,POST:`text-status-pending-fg bg-status-pending-bg`,PUT:`text-brand bg-brand/10`,PATCH:`text-violet bg-violet-pale`,DELETE:`text-status-failed-fg bg-status-failed-bg`,HEAD:`text-muted-foreground bg-surface-alt`,OPTIONS:`text-muted-foreground bg-surface-alt`};function mW({method:e,className:t}){return(0,U.jsx)(`span`,{className:W(`inline-flex w-fit items-center justify-center rounded-md px-1.5 py-0.5 font-mono text-[10px] font-bold tracking-wide`,pW[e]??pW.GET,t),children:e})}var DAe={csv:$U.CSV,xls:$U.XLS,xlsx:$U.XLSX,json:$U.JSON,xml:$U.XML};function OAe(e){return DAe[e.split(`.`).pop()?.toLowerCase()??``]??null}function hW(e){return e.split(`/`).pop()||e}var kAe={[$U.CSV]:ab,[$U.XLS]:ab,[$U.XLSX]:ab,[$U.JSON]:rb,[$U.XML]:ib};function AAe(e){return kAe[e]??ob}var jAe=[$U.JSON,$U.CSV,$U.XML,$U.XLSX,$U.XLS],MAe=10485760;function NAe({open:e,mode:t,initial:n,companyId:r,teamId:i,onClose:a}){let o=X(`pages.tools.dataSources`),s=yAe(),c=bAe(),l=(0,O.useRef)(null),u=t===`edit`,d=!!n?.httpRequestId,[f,p]=(0,O.useState)(d?`http`:`file`),[m,h]=(0,O.useState)(n?.name??``),[g,_]=(0,O.useState)(n?.description??``),[v,y]=(0,O.useState)(null),[b,x]=(0,O.useState)(n?.httpRequestId),[S,C]=(0,O.useState)(d?n.dataFormat:$U.JSON),[w,T]=(0,O.useState)(``),[E,D]=(0,O.useState)(!1),k=cW(r,i,w,e&&f===`http`).data?.content??[],A=E||s.isPending||c.isPending,j=(0,O.useMemo)(()=>v?OAe(v.name):null,[v]),M=u&&!d&&n?.fileLocation?{name:hW(n.fileLocation),format:n.dataFormat}:null;function N(e){if(e){if(e.size>MAe){G.error(o(`uploadFailed`));return}y(e),m.trim()||h(e.name.replace(/\.[^.]+$/,``))}}function P(e){let t={name:m.trim(),description:g.trim()||void 0,...e,companyId:r,teamId:i};u&&n?c.mutate({...n,...t},{onSuccess:()=>{G.success(o(`updated`)),a()},onError:()=>G.error(o(`saveFailed`))}):s.mutate(t,{onSuccess:()=>{G.success(o(`created`)),a()},onError:()=>G.error(o(`saveFailed`))})}async function F(){if(!m.trim()){G.error(o(`nameRequired`));return}if(f===`http`){if(!b){G.error(o(`requestRequired`));return}P({dataFormat:S,fileLocation:``,httpRequestId:b});return}if(v){if(!j){G.error(o(`fileRequired`));return}D(!0);try{let e=await fW.uploadDataSourceFile(v,j,{companyId:r,teamId:i});P({dataFormat:j,fileLocation:`${e.bucket}/${e.fileKey}`,httpRequestId:void 0})}catch{G.error(o(`uploadFailed`))}finally{D(!1)}return}if(M&&n){P({dataFormat:n.dataFormat,fileLocation:n.fileLocation,httpRequestId:void 0});return}G.error(o(`fileRequired`))}return(0,U.jsx)(xT,{open:e,onOpenChange:e=>!e&&a(),children:(0,U.jsxs)(ST,{className:`sm:max-w-[680px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:o(u?`editTitle`:`createTitle`)}),(0,U.jsx)(ET,{children:o(u?`editSubtitle`:`createSubtitle`)})]}),(0,U.jsx)(`div`,{className:`border-border bg-background inline-flex h-9 items-center gap-0.5 self-start rounded-lg border-[0.5px] p-0.5`,children:[`file`,`http`].map(e=>(0,U.jsxs)(`button`,{type:`button`,onClick:()=>p(e),className:W(`inline-flex items-center gap-1.5 rounded-md px-3 py-1 text-[12px] font-medium transition-colors`,f===e?`bg-surface text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`),children:[e===`file`?(0,U.jsx)(_oe,{className:`size-3.5`}):(0,U.jsx)(ub,{className:`size-3.5`}),o(e===`file`?`tabFile`:`tabHttp`)]},e))}),(0,U.jsxs)(`div`,{className:`flex max-h-[52vh] flex-col gap-4 overflow-y-auto pr-0.5`,children:[f===`file`&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsx)(`input`,{ref:l,type:`file`,accept:`.csv,.xls,.xlsx,.json,.xml`,className:`hidden`,onChange:e=>N(e.target.files?.[0]??null)}),!v&&!M&&(0,U.jsxs)(`button`,{type:`button`,onClick:()=>l.current?.click(),className:`border-violet-light from-violet-pale text-muted-foreground hover:text-fg-strong flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed bg-gradient-to-br to-transparent p-8 text-center transition-colors`,children:[(0,U.jsx)(uoe,{className:`text-violet size-7`}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[13px] font-medium`,children:o(`dropTitle`)}),(0,U.jsx)(`span`,{className:`text-[11.5px]`,children:o(`dropHint`)})]}),(v||M)&&(0,U.jsxs)(`div`,{className:`border-border bg-surface flex items-center gap-3 rounded-xl border-[0.5px] p-3`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet grid size-9 shrink-0 place-items-center rounded-lg text-[10px] font-bold uppercase`,children:v?j??`?`:M.format}),(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12.5px] font-medium`,children:v?v.name:M.name}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px]`,children:v?`${(v.size/1024).toFixed(1)} KB`:o(`currentFile`)})]}),(0,U.jsxs)(`div`,{className:`ml-auto flex items-center gap-1.5`,children:[(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:()=>l.current?.click(),children:o(`fileReplace`)}),v&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>y(null),className:`text-muted-foreground hover:text-fg-strong grid size-7 place-items-center rounded-md`,"aria-label":o(`fileRemove`),children:(0,U.jsx)(ox,{className:`size-4`})})]})]})]}),f===`http`&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,U.jsxs)(`div`,{className:`bg-surface border-border focus-within:border-violet-light flex h-[34px] items-center gap-2 rounded-lg border-[0.5px] px-3`,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3.5`}),(0,U.jsx)(`input`,{value:w,onChange:e=>T(e.target.value),placeholder:o(`searchPlaceholder`),className:`text-fg-strong placeholder:text-fg-hint flex-1 bg-transparent text-[12.5px] outline-none`})]}),(0,U.jsx)(`div`,{className:`border-border max-h-[210px] overflow-y-auto rounded-lg border-[0.5px]`,children:k.length===0?(0,U.jsx)(`div`,{className:`text-muted-foreground p-6 text-center text-[12px]`,children:o(`noRequests`)}):k.map(e=>(0,U.jsxs)(`button`,{type:`button`,onClick:()=>x(e.id),className:W(`border-divider flex w-full items-center gap-2.5 border-b px-3 py-2 text-left last:border-b-0`,b===e.id?`bg-violet-pale`:`hover:bg-surface-hover`),children:[(0,U.jsx)(`span`,{className:W(`grid size-3.5 shrink-0 place-items-center rounded-full border`,b===e.id?`border-violet`:`border-border`),children:b===e.id&&(0,U.jsx)(`span`,{className:`bg-violet size-1.5 rounded-full`})}),(0,U.jsx)(mW,{method:e.request.method}),(0,U.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12px] font-medium`,children:e.name}),(0,U.jsx)(`span`,{className:`text-fg-hint truncate font-mono text-[10.5px]`,children:e.request.url})]})]},e.id))}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`parseAs`)}),(0,U.jsxs)(OT,{value:S,onValueChange:e=>C(e),children:[(0,U.jsx)(AT,{className:`w-[200px]`,children:(0,U.jsx)(kT,{})}),(0,U.jsx)(jT,{children:jAe.map(e=>(0,U.jsx)(MT,{value:e,children:e},e))})]})]})]}),(0,U.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 md:grid-cols-2`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`ds-name`,children:o(`labelName`)}),(0,U.jsx)(IT,{id:`ds-name`,value:m,onChange:e=>h(e.target.value),placeholder:o(`placeholderName`),disabled:A})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`ds-desc`,children:o(`labelDescription`)}),(0,U.jsx)(IT,{id:`ds-desc`,value:g,onChange:e=>_(e.target.value),placeholder:o(`placeholderDescription`),disabled:A})]})]})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:a,disabled:A,children:o(`cancel`)}),(0,U.jsx)(Z,{onClick:F,disabled:A,children:o(A?`saving`:u?`save`:`create`)})]})]})})}var gW={};gW.version=`0.20.3`;var _W=1200,vW=1252,yW,PAe=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],bW={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},xW=function(e){PAe.indexOf(e)!=-1&&(vW=bW[0]=e)};function FAe(){xW(1252)}var SW=function(e){_W=e,xW(e)};function CW(){SW(1200),FAe()}function wW(e){for(var t=[],n=0,r=e.length;n<r;++n)t[n]=e.charCodeAt(n);return t}function TW(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join(``)}function IAe(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e[2*n]+(e[2*n+1]<<8));return t.join(``)}function EW(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join(``)}var DW=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return t==255&&n==254?TW(e.slice(2)):t==254&&n==255?EW(e.slice(2)):t==65279?e.slice(1):e},OW=function(e){return String.fromCharCode(e)},kW=function(e){return String.fromCharCode(e)},AW=null,jW=!0,MW=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 55,097 bytes, lines 106-114
106+/=`;function NW(e){for(var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0;l<e.length;)n=e.charCodeAt(l++),a=n>>2,r=e.charCodeAt(l++),o=(n&3)<<4|r>>4,i=e.charCodeAt(l++),s=(r&15)<<2|i>>6,c=i&63,isNaN(r)?s=c=64:isNaN(i)&&(c=64),t+=MW.charAt(a)+MW.charAt(o)+MW.charAt(s)+MW.charAt(c);return t}function PW(e){var t=``,n=0,r=0,i=0,a=0,o=0,s=0,c=0;if(e.slice(0,5)==`data:`){var l=e.slice(0,1024).indexOf(`;base64,`);l>-1&&(e=e.slice(l+8))}e=e.replace(/[^\w\+\/\=]/g,``);for(var l=0;l<e.length;)a=MW.indexOf(e.charAt(l++)),o=MW.indexOf(e.charAt(l++)),n=a<<2|o>>4,t+=String.fromCharCode(n),s=MW.indexOf(e.charAt(l++)),r=(o&15)<<4|s>>2,s!==64&&(t+=String.fromCharCode(r)),c=MW.indexOf(e.charAt(l++)),i=(s&3)<<6|c,c!==64&&(t+=String.fromCharCode(i));return t}var FW=(function(){return typeof Buffer<`u`&&typeof process<`u`&&process.versions!==void 0&&!!process.versions.node})(),IW=(function(){if(typeof Buffer<`u`){var e=!Buffer.from;if(!e)try{Buffer.from(`foo`,`utf8`)}catch{e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}})(),LW=(function(){if(typeof Buffer>`u`)return!1;var e=IW([65,0]);return e?e.toString(`utf16le`).length==1:!1})();function RW(e){return FW?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<`u`?new Uint8Array(e):Array(e)}function zW(e){return FW?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<`u`?new Uint8Array(e):Array(e)}var BW=function(e){return FW?IW(e,`binary`):e.split(``).map(function(e){return e.charCodeAt(0)&255})};function VW(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join(``);for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join(``)}function HW(e){if(typeof ArrayBuffer>`u`)throw Error(`Unsupported`);if(e instanceof ArrayBuffer)return HW(new Uint8Array(e));for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}var UW=FW?function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:IW(e)}))}:function(e){if(typeof Uint8Array<`u`){var t=0,n=0;for(t=0;t<e.length;++t)n+=e[t].length;var r=new Uint8Array(n),i=0;for(t=0,n=0;t<e.length;n+=i,++t)i=e[t].length,e[t]instanceof Uint8Array?r.set(e[t],n):typeof e[t]==`string`?r.set(new Uint8Array(BW(e[t])),n):r.set(new Uint8Array(e[t]),n);return r}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};function LAe(e){for(var t=[],n=0,r=e.length+250,i=RW(e.length+255),a=0;a<e.length;++a){var o=e.charCodeAt(a);if(o<128)i[n++]=o;else if(o<2048)i[n++]=192|o>>6&31,i[n++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var s=e.charCodeAt(++a)&1023;i[n++]=240|o>>8&7,i[n++]=128|o>>2&63,i[n++]=128|s>>6&15|(o&3)<<4,i[n++]=128|s&63}else i[n++]=224|o>>12&15,i[n++]=128|o>>6&63,i[n++]=128|o&63;n>r&&(t.push(i.slice(0,n)),n=0,i=RW(65535),r=65530)}return t.push(i.slice(0,n)),UW(t)}var WW=/\u0000/g,GW=/[\u0001-\u0006]/g;function KW(e){for(var t=``,n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function qW(e,t){var n=``+e;return n.length>=t?n:HG(`0`,t-n.length)+n}function JW(e,t){var n=``+e;return n.length>=t?n:HG(` `,t-n.length)+n}function YW(e,t){var n=``+e;return n.length>=t?n:n+HG(` `,t-n.length)}function RAe(e,t){var n=``+Math.round(e);return n.length>=t?n:HG(`0`,t-n.length)+n}function zAe(e,t){var n=``+e;return n.length>=t?n:HG(`0`,t-n.length)+n}var XW=2**32;function ZW(e,t){return e>XW||e<-XW?RAe(e,t):zAe(Math.round(e),t)}function QW(e,t){return t||=0,e.length>=7+t&&(e.charCodeAt(t)|32)==103&&(e.charCodeAt(t+1)|32)==101&&(e.charCodeAt(t+2)|32)==110&&(e.charCodeAt(t+3)|32)==101&&(e.charCodeAt(t+4)|32)==114&&(e.charCodeAt(t+5)|32)==97&&(e.charCodeAt(t+6)|32)==108}var $W=[[`Sun`,`Sunday`],[`Mon`,`Monday`],[`Tue`,`Tuesday`],[`Wed`,`Wednesday`],[`Thu`,`Thursday`],[`Fri`,`Friday`],[`Sat`,`Saturday`]],eG=[[`J`,`Jan`,`January`],[`F`,`Feb`,`February`],[`M`,`Mar`,`March`],[`A`,`Apr`,`April`],[`M`,`May`,`May`],[`J`,`Jun`,`June`],[`J`,`Jul`,`July`],[`A`,`Aug`,`August`],[`S`,`Sep`,`September`],[`O`,`Oct`,`October`],[`N`,`Nov`,`November`],[`D`,`Dec`,`December`]];function BAe(e){return e||={},e[0]=`General`,e[1]=`0`,e[2]=`0.00`,e[3]=`#,##0`,e[4]=`#,##0.00`,e[9]=`0%`,e[10]=`0.00%`,e[11]=`0.00E+00`,e[12]=`# ?/?`,e[13]=`# ??/??`,e[14]=`m/d/yy`,e[15]=`d-mmm-yy`,e[16]=`d-mmm`,e[17]=`mmm-yy`,e[18]=`h:mm AM/PM`,e[19]=`h:mm:ss AM/PM`,e[20]=`h:mm`,e[21]=`h:mm:ss`,e[22]=`m/d/yy h:mm`,e[37]=`#,##0 ;(#,##0)`,e[38]=`#,##0 ;[Red](#,##0)`,e[39]=`#,##0.00;(#,##0.00)`,e[40]=`#,##0.00;[Red](#,##0.00)`,e[45]=`mm:ss`,e[46]=`[h]:mm:ss`,e[47]=`mmss.0`,e[48]=`##0.0E+0`,e[49]=`@`,e[56]=`"ä¸å/ä¸å "hh"æ"mm"å"ss"ç§ "`,e}var tG={0:`General`,1:`0`,2:`0.00`,3:`#,##0`,4:`#,##0.00`,9:`0%`,10:`0.00%`,11:`0.00E+00`,12:`# ?/?`,13:`# ??/??`,14:`m/d/yy`,15:`d-mmm-yy`,16:`d-mmm`,17:`mmm-yy`,18:`h:mm AM/PM`,19:`h:mm:ss AM/PM`,20:`h:mm`,21:`h:mm:ss`,22:`m/d/yy h:mm`,37:`#,##0 ;(#,##0)`,38:`#,##0 ;[Red](#,##0)`,39:`#,##0.00;(#,##0.00)`,40:`#,##0.00;[Red](#,##0.00)`,45:`mm:ss`,46:`[h]:mm:ss`,47:`mmss.0`,48:`##0.0E+0`,49:`@`,56:`"ä¸å/ä¸å "hh"æ"mm"å"ss"ç§ "`},nG={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},VAe={5:`"$"#,##0_);\\("$"#,##0\\)`,63:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,41:`_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)`};function rG(e,t,n){for(var r=e<0?-1:1,i=e*r,a=0,o=1,s=0,c=1,l=0,u=0,d=Math.floor(i);l<t&&(d=Math.floor(i),s=d*o+a,u=d*l+c,!(i-d<5e-8));)i=1/(i-d),a=o,o=s,c=l,l=u;if(u>t&&(l>t?(u=c,s=a):(u=l,s=o)),!n)return[0,r*s,u];var f=Math.floor(r*s/u);return[f,r*s-f*u,u]}function HAe(e){var t=e.toPrecision(16);if(t.indexOf(`e`)>-1){var n=t.slice(0,t.indexOf(`e`));return n=n.indexOf(`.`)>-1?n.slice(0,n.slice(0,2)==`0.`?17:16):n.slice(0,15)+HG(`0`,n.length-15),n+t.slice(t.indexOf(`e`))}var r=t.indexOf(`.`)>-1?t.slice(0,t.slice(0,2)==`0.`?17:16):t.slice(0,15)+HG(`0`,t.length-15);return Number(r)}function iG(e,t,n){if(e>2958465||e<0)return null;e=HAe(e);var r=e|0,i=Math.floor(86400*(e-r)),a=0,o=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,++i==86400&&(s.T=i=0,++r,++s.D)),r===60)o=n?[1317,10,29]:[1900,2,29],a=3;else if(r===0)o=n?[1317,8,29]:[1900,1,0],a=6;else{r>60&&--r;var c=new Date(1900,0,1);c.setDate(c.getDate()+r-1),o=[c.getFullYear(),c.getMonth()+1,c.getDate()],a=c.getDay(),r<60&&(a=(a+6)%7),n&&(a=KAe(c,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=a,s}function aG(e){return e.indexOf(`.`)==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,`$1`)}function UAe(e){return e.indexOf(`E`)==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,`$1E`).replace(/(E[+-])(\d)$/,`$10$2`)}function WAe(e){var t=e<0?12:11,n=aG(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10),n.length<=t)?n:e.toExponential(5)}function GAe(e){var t=aG(e.toFixed(11));return t.length>(e<0?12:11)||t===`0`||t===`-0`?e.toPrecision(6):t}function oG(e){if(!isFinite(e))return isNaN(e)?`#NUM!`:`#DIV/0!`;var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return aG(UAe((t>=-4&&t<=-1?e.toPrecision(10+t):Math.abs(t)<=9?WAe(e):t===10?e.toFixed(10).substr(0,12):GAe(e)).toUpperCase()))}function sG(e,t){switch(typeof e){case`string`:return e;case`boolean`:return e?`TRUE`:`FALSE`;case`number`:return(e|0)===e?e.toString(10):oG(e);case`undefined`:return``;case`object`:if(e==null)return``;if(e instanceof Date)return EG(14,IG(e,t&&t.date1904),t)}throw Error(`unsupported value in General format: `+e)}function KAe(e,t){t[0]-=581;var n=e.getDay();return e<60&&(n=(n+6)%7),n}function qAe(e,t,n,r){var i=``,a=0,o=0,s=n.y,c,l=0;switch(e){case 98:s=n.y+543;case 121:switch(t.length){case 1:case 2:c=s%100,l=2;break;default:c=s%1e4,l=4}break;case 109:switch(t.length){case 1:case 2:c=n.m,l=t.length;break;case 3:return eG[n.m-1][1];case 5:return eG[n.m-1][0];default:return eG[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:c=n.d,l=t.length;break;case 3:return $W[n.q][0];default:return $W[n.q][1]}break;case 104:switch(t.length){case 1:case 2:c=1+(n.H+11)%12,l=t.length;break;default:throw`bad hour format: `+t}break;case 72:switch(t.length){case 1:case 2:c=n.H,l=t.length;break;default:throw`bad hour format: `+t}break;case 77:switch(t.length){case 1:case 2:c=n.M,l=t.length;break;default:throw`bad minute format: `+t}break;case 115:if(t!=`s`&&t!=`ss`&&t!=`.0`&&t!=`.00`&&t!=`.000`)throw`bad second format: `+t;return n.u===0&&(t==`s`||t==`ss`)?qW(n.S,t.length):(o=r>=2?r===3?1e3:100:r===1?10:1,a=Math.round(o*(n.S+n.u)),a>=60*o&&(a=0),t===`s`?a===0?`0`:``+a/o:(i=qW(a,2+r),t===`ss`?i.substr(0,2):`.`+i.substr(2,t.length-1)));case 90:switch(t){case`[h]`:case`[hh]`:c=n.D*24+n.H;break;case`[m]`:case`[mm]`:c=(n.D*24+n.H)*60+n.M;break;case`[s]`:case`[ss]`:c=((n.D*24+n.H)*60+n.M)*60+(r==0?Math.round(n.S+n.u):n.S);break;default:throw`bad abstime format: `+t}l=t.length===3?1:2;break;case 101:c=s,l=1}return l>0?qW(c,l):``}function cG(e){var t=3;if(e.length<=t)return e;for(var n=e.length%t,r=e.substr(0,n);n!=e.length;n+=t)r+=(r.length>0?`,`:``)+e.substr(n,t);return r}var lG=/%/g;function JAe(e,t,n){var r=t.replace(lG,``),i=t.length-r.length;return xG(e,r,n*10**(2*i))+HG(`%`,i)}function YAe(e,t,n){for(var r=t.length-1;t.charCodeAt(r-1)===44;)--r;return xG(e,t.substr(0,r),n/10**(3*(t.length-r)))}function uG(e,t){var n,r=e.indexOf(`E`)-e.indexOf(`.`)-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return`0.0E+0`;if(t<0)return`-`+uG(e,-t);var i=e.indexOf(`.`);i===-1&&(i=e.indexOf(`E`));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),n=(t/10**a).toPrecision(r+1+(i+a)%i),n.indexOf(`e`)===-1){var o=Math.floor(Math.log(t)*Math.LOG10E);for(n.indexOf(`.`)===-1?n=n.charAt(0)+`.`+n.substr(1)+`E+`+(o-n.length+a):n+=`E+`+(o-a);n.substr(0,2)===`0.`;)n=n.charAt(0)+n.substr(2,i)+`.`+n.substr(2+i),n=n.replace(/^0+([1-9])/,`$1`).replace(/^0+\./,`0.`);n=n.replace(/\+-/,`-`)}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+`.`+r.substr(a)+`E`})}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+`0`+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,`e`)),n.replace(`e`,`E`)}var dG=/# (\?+)( ?)\/( ?)(\d+)/;function XAe(e,t,n){var r=parseInt(e[4],10),i=Math.round(t*r),a=Math.floor(i/r),o=i-a*r,s=r;return n+(a===0?``:``+a)+` `+(o===0?HG(` `,e[1].length+1+e[4].length):JW(o,e[1].length)+e[2]+`/`+e[3]+qW(s,e[4].length))}function ZAe(e,t,n){return n+(t===0?``:``+t)+HG(` `,e[1].length+2+e[4].length)}var fG=/^#*0*\.([0#]+)/,pG=/\)[^)]*[0#]/,mG=/\(###\) ###\\?-####/;function hG(e){for(var t=``,n,r=0;r!=e.length;++r)switch(n=e.charCodeAt(r)){case 35:break;case 63:t+=` `;break;case 48:t+=`0`;break;default:t+=String.fromCharCode(n)}return t}function gG(e,t){var n=10**t;return``+Math.round(e*n)/n}function _G(e,t){var n=e-Math.floor(e),r=10**t;return t<(``+Math.round(n*r)).length?0:Math.round(n*r)}function QAe(e,t){return+(t<(``+Math.round((e-Math.floor(e))*10**t)).length)}function $Ae(e){return e<2147483647&&e>-2147483648?``+(e>=0?e|0:e-1|0):``+Math.floor(e)}function vG(e,t,n){if(e.charCodeAt(0)===40&&!t.match(pG)){var r=t.replace(/\( */,``).replace(/ \)/,``).replace(/\)/,``);return n>=0?vG(`n`,r,n):`(`+vG(`n`,r,-n)+`)`}if(t.charCodeAt(t.length-1)===44)return YAe(e,t,n);if(t.indexOf(`%`)!==-1)return JAe(e,t,n);if(t.indexOf(`E`)!==-1)return uG(t,n);if(t.charCodeAt(0)===36)return`$`+vG(e,t.substr(t.charAt(1)==` `?2:1),n);var i,a,o,s,c=Math.abs(n),l=n<0?`-`:``;if(t.match(/^00+$/))return l+ZW(c,t.length);if(t.match(/^[#?]+$/))return i=ZW(n,0),i===`0`&&(i=``),i.length>t.length?i:hG(t.substr(0,t.length-i.length))+i;if(a=t.match(dG))return XAe(a,c,l);if(t.match(/^#+0+$/))return l+ZW(c,t.length-t.indexOf(`0`));if(a=t.match(fG))return i=gG(n,a[1].length).replace(/^([^\.]+)$/,`$1.`+hG(a[1])).replace(/\.$/,`.`+hG(a[1])).replace(/\.(\d*)$/,function(e,t){return`.`+t+HG(`0`,hG(a[1]).length-t.length)}),t.indexOf(`0.`)===-1?i.replace(/^0\./,`.`):i;if(t=t.replace(/^#+([0.])/,`$1`),a=t.match(/^(0*)\.(#*)$/))return l+gG(c,a[2].length).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,a[1].length?`0.`:`.`);if(a=t.match(/^#{1,3},##0(\.?)$/))return l+cG(ZW(c,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+vG(e,t,-n):cG(``+(Math.floor(n)+QAe(n,a[1].length)))+`.`+qW(_G(n,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return vG(e,t.replace(/^#,#*,/,``),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=KW(vG(e,t.replace(/[\\-]/g,``),n)),o=0,KW(KW(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return o<i.length?i.charAt(o++):e===`0`?`0`:``}));if(t.match(mG))return i=vG(e,`##########`,n),`(`+i.substr(0,3)+`) `+i.substr(3,3)+`-`+i.substr(6);var u=``;if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=rG(c,10**o-1,!1),i=``+l,u=xG(`n`,a[1],s[1]),u.charAt(u.length-1)==` `&&(u=u.substr(0,u.length-1)+`0`),i+=u+a[2]+`/`+a[3],u=YW(s[2],o),u.length<a[4].length&&(u=hG(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=rG(c,10**o-1,!0),l+(s[0]||(s[1]?``:`0`))+` `+(s[1]?JW(s[1],o)+a[2]+`/`+a[3]+YW(s[2],o):HG(` `,2*o+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=ZW(n,0),t.length<=i.length?i:hG(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0?]+)\.([#0]+)$/)){i=``+n.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,`$1`),o=i.indexOf(`.`);var d=t.indexOf(`.`)-o,f=t.length-i.length-d;return hG(t.substr(0,d)+i+t.substr(t.length-f))}if(a=t.match(/^00,000\.([#0]*0)$/))return o=_G(n,a[1].length),n<0?`-`+vG(e,t,-n):cG($Ae(n)).replace(/^\d,\d{3}$/,`0$&`).replace(/^\d*$/,function(e){return`00,`+(e.length<3?qW(0,3-e.length):``)+e})+`.`+qW(o,a[1].length);switch(t){case`###,##0.00`:return vG(e,`#,##0.00`,n);case`###,###`:case`##,###`:case`#,###`:var p=cG(ZW(c,0));return p===`0`?``:l+p;case`###,###.00`:return vG(e,`###,##0.00`,n).replace(/^0\./,`.`);case`#,###.00`:return vG(e,`#,##0.00`,n).replace(/^0\./,`.`)}throw Error(`unsupported format |`+t+`|`)}function eje(e,t,n){for(var r=t.length-1;t.charCodeAt(r-1)===44;)--r;return xG(e,t.substr(0,r),n/10**(3*(t.length-r)))}function tje(e,t,n){var r=t.replace(lG,``),i=t.length-r.length;return xG(e,r,n*10**(2*i))+HG(`%`,i)}function yG(e,t){var n,r=e.indexOf(`E`)-e.indexOf(`.`)-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return`0.0E+0`;if(t<0)return`-`+yG(e,-t);var i=e.indexOf(`.`);i===-1&&(i=e.indexOf(`E`));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),n=(t/10**a).toPrecision(r+1+(i+a)%i),!n.match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);n.indexOf(`.`)===-1?n=n.charAt(0)+`.`+n.substr(1)+`E+`+(o-n.length+a):n+=`E+`+(o-a),n=n.replace(/\+-/,`-`)}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+a)%i)+`.`+r.substr(a)+`E`})}else n=t.toExponential(r);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+`0`+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,`e`)),n.replace(`e`,`E`)}function bG(e,t,n){if(e.charCodeAt(0)===40&&!t.match(pG)){var r=t.replace(/\( */,``).replace(/ \)/,``).replace(/\)/,``);return n>=0?bG(`n`,r,n):`(`+bG(`n`,r,-n)+`)`}if(t.charCodeAt(t.length-1)===44)return eje(e,t,n);if(t.indexOf(`%`)!==-1)return tje(e,t,n);if(t.indexOf(`E`)!==-1)return yG(t,n);if(t.charCodeAt(0)===36)return`$`+bG(e,t.substr(t.charAt(1)==` `?2:1),n);var i,a,o,s,c=Math.abs(n),l=n<0?`-`:``;if(t.match(/^00+$/))return l+qW(c,t.length);if(t.match(/^[#?]+$/))return i=``+n,n===0&&(i=``),i.length>t.length?i:hG(t.substr(0,t.length-i.length))+i;if(a=t.match(dG))return ZAe(a,c,l);if(t.match(/^#+0+$/))return l+qW(c,t.length-t.indexOf(`0`));if(a=t.match(fG))return i=(``+n).replace(/^([^\.]+)$/,`$1.`+hG(a[1])).replace(/\.$/,`.`+hG(a[1])),i=i.replace(/\.(\d*)$/,function(e,t){return`.`+t+HG(`0`,hG(a[1]).length-t.length)}),t.indexOf(`0.`)===-1?i.replace(/^0\./,`.`):i;if(t=t.replace(/^#+([0.])/,`$1`),a=t.match(/^(0*)\.(#*)$/))return l+(``+c).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,a[1].length?`0.`:`.`);if(a=t.match(/^#{1,3},##0(\.?)$/))return l+cG(``+c);if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+bG(e,t,-n):cG(``+n)+`.`+HG(`0`,a[1].length);if(a=t.match(/^#,#*,#0/))return bG(e,t.replace(/^#,#*,/,``),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=KW(bG(e,t.replace(/[\\-]/g,``),n)),o=0,KW(KW(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return o<i.length?i.charAt(o++):e===`0`?`0`:``}));if(t.match(mG))return i=bG(e,`##########`,n),`(`+i.substr(0,3)+`) `+i.substr(3,3)+`-`+i.substr(6);var u=``;if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=rG(c,10**o-1,!1),i=``+l,u=xG(`n`,a[1],s[1]),u.charAt(u.length-1)==` `&&(u=u.substr(0,u.length-1)+`0`),i+=u+a[2]+`/`+a[3],u=YW(s[2],o),u.length<a[4].length&&(u=hG(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=rG(c,10**o-1,!0),l+(s[0]||(s[1]?``:`0`))+` `+(s[1]?JW(s[1],o)+a[2]+`/`+a[3]+YW(s[2],o):HG(` `,2*o+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=``+n,t.length<=i.length?i:hG(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0]+)\.([#0]+)$/)){i=``+n.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,`$1`),o=i.indexOf(`.`);var d=t.indexOf(`.`)-o,f=t.length-i.length-d;return hG(t.substr(0,d)+i+t.substr(t.length-f))}if(a=t.match(/^00,000\.([#0]*0)$/))return n<0?`-`+bG(e,t,-n):cG(``+n).replace(/^\d,\d{3}$/,`0$&`).replace(/^\d*$/,function(e){return`00,`+(e.length<3?qW(0,3-e.length):``)+e})+`.`+qW(0,a[1].length);switch(t){case`###,###`:case`##,###`:case`#,###`:var p=cG(``+c);return p===`0`?``:l+p;default:if(t.match(/\.[0#?]*$/))return bG(e,t.slice(0,t.lastIndexOf(`.`)),n)+hG(t.slice(t.lastIndexOf(`.`)))}throw Error(`unsupported format |`+t+`|`)}function xG(e,t,n){return(n|0)===n?bG(e,t,n):vG(e,t,n)}function nje(e){for(var t=[],n=!1,r=0,i=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(i,r-i),i=r+1}if(t[t.length]=e.substr(i),n===!0)throw Error(`Format |`+e+`| unterminated string `);return t}var SG=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function CG(e){for(var t=0,n=``,r=``;t<e.length;)switch(n=e.charAt(t)){case`G`:QW(e,t)&&(t+=6),t++;break;case`"`:for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case`\\`:t+=2;break;case`_`:t+=2;break;case`@`:++t;break;case`B`:case`b`:if(e.charAt(t+1)===`1`||e.charAt(t+1)===`2`)return!0;case`M`:case`D`:case`Y`:case`H`:case`S`:case`E`:case`m`:case`d`:case`y`:case`h`:case`s`:case`e`:case`g`:return!0;case`A`:case`a`:case`ä¸`:if(e.substr(t,3).toUpperCase()===`A/P`||e.substr(t,5).toUpperCase()===`AM/PM`||e.substr(t,5).toUpperCase()===`ä¸å/ä¸å`)return!0;++t;break;case`[`:for(r=n;e.charAt(t++)!==`]`&&t<e.length;)r+=e.charAt(t);if(r.match(SG))return!0;break;case`.`:case`0`:case`#`:for(;t<e.length&&(`0#?.,E+-%`.indexOf(n=e.charAt(++t))>-1||n==`\\`&&e.charAt(t+1)==`-`&&`0#`.indexOf(e.charAt(t+2))>-1););break;case`?`:for(;e.charAt(++t)===n;);break;case`*`:++t,(e.charAt(t)==` `||e.charAt(t)==`*`)&&++t;break;case`(`:case`)`:++t;break;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:for(;t<e.length&&`0123456789`.indexOf(e.charAt(++t))>-1;);break;case` `:++t;break;default:++t}return!1}function rje(e,t,n,r){for(var i=[],a=``,o=0,s=``,c=`t`,l,u,d,f=`H`;o<e.length;)switch(s=e.charAt(o)){case`G`:if(!QW(e,o))throw Error(`unrecognized character `+s+` in `+e);i[i.length]={t:`G`,v:`General`},o+=7;break;case`"`:for(a=``;(d=e.charCodeAt(++o))!==34&&o<e.length;)a+=String.fromCharCode(d);i[i.length]={t:`t`,v:a},++o;break;case`\\`:var p=e.charAt(++o),m=p===`(`||p===`)`?p:`t`;i[i.length]={t:m,v:p},++o;break;case`_`:i[i.length]={t:`t`,v:` `},o+=2;break;case`@`:i[i.length]={t:`T`,v:t},++o;break;case`B`:case`b`:if(e.charAt(o+1)===`1`||e.charAt(o+1)===`2`){if(l==null&&(l=iG(t,n,e.charAt(o+1)===`2`),l==null))return``;i[i.length]={t:`X`,v:e.substr(o,2)},c=s,o+=2;break}case`M`:case`D`:case`Y`:case`H`:case`S`:case`E`:s=s.toLowerCase();case`m`:case`d`:case`y`:case`h`:case`s`:case`e`:case`g`:if(t<0||l==null&&(l=iG(t,n),l==null))return``;for(a=s;++o<e.length&&e.charAt(o).toLowerCase()===s;)a+=s;s===`m`&&c.toLowerCase()===`h`&&(s=`M`),s===`h`&&(s=f),i[i.length]={t:s,v:a},c=s;break;case`A`:case`a`:case`ä¸`:var h={t:s,v:s};if(l??=iG(t,n),e.substr(o,3).toUpperCase()===`A/P`?(l!=null&&(h.v=l.H>=12?e.charAt(o+2):s),h.t=`T`,f=`h`,o+=3):e.substr(o,5).toUpperCase()===`AM/PM`?(l!=null&&(h.v=l.H>=12?`PM`:`AM`),h.t=`T`,o+=5,f=`h`):e.substr(o,5).toUpperCase()===`ä¸å/ä¸å`?(l!=null&&(h.v=l.H>=12?`ä¸å`:`ä¸å`),h.t=`T`,o+=5,f=`h`):(h.t=`t`,++o),l==null&&h.t===`T`)return``;i[i.length]=h,c=s;break;case`[`:for(a=s;e.charAt(o++)!==`]`&&o<e.length;)a+=e.charAt(o);if(a.slice(-1)!==`]`)throw`unterminated "[" block: |`+a+`|`;if(a.match(SG)){if(l==null&&(l=iG(t,n),l==null))return``;i[i.length]={t:`Z`,v:a.toLowerCase()},c=a.charAt(1)}else a.indexOf(`$`)>-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||`$`,CG(e)||(i[i.length]={t:`t`,v:a}));break;case`.`:if(l!=null){for(a=s;++o<e.length&&(s=e.charAt(o))===`0`;)a+=s;i[i.length]={t:`s`,v:a};break}case`0`:case`#`:for(a=s;++o<e.length&&`0#?.,E+-%`.indexOf(s=e.charAt(o))>-1;)a+=s;i[i.length]={t:`n`,v:a};break;case`?`:for(a=s;e.charAt(++o)===s;)a+=s;i[i.length]={t:s,v:a},c=s;break;case`*`:++o,(e.charAt(o)==` `||e.charAt(o)==`*`)&&++o;break;case`(`:case`)`:i[i.length]={t:r===1?`t`:s,v:s},++o;break;case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:for(a=s;o<e.length&&`0123456789`.indexOf(e.charAt(++o))>-1;)a+=e.charAt(o);i[i.length]={t:`D`,v:a};break;case` `:i[i.length]={t:s,v:s},++o;break;case`$`:i[i.length]={t:`t`,v:`$`},++o;break;default:if(`,$-+/():!^&'~{}<>=â¬acfijklopqrtuvwxzP`.indexOf(s)===-1)throw Error(`unrecognized character `+s+` in `+e);i[i.length]={t:`t`,v:s},++o}var g=0,_=0,v;for(o=i.length-1,c=`t`;o>=0;--o)switch(i[o].t){case`h`:case`H`:i[o].t=f,c=`h`,g<1&&(g=1);break;case`s`:(v=i[o].v.match(/\.0+$/))&&(_=Math.max(_,v[0].length-1),g=4),g<3&&(g=3);case`d`:case`y`:case`e`:c=i[o].t;break;case`M`:c=i[o].t,g<2&&(g=2);break;case`m`:c===`s`&&(i[o].t=`M`,g<2&&(g=2));break;case`X`:break;case`Z`:g<1&&i[o].v.match(/[Hh]/)&&(g=1),g<2&&i[o].v.match(/[Mm]/)&&(g=2),g<3&&i[o].v.match(/[Ss]/)&&(g=3)}var y;switch(g){case 0:break;case 1:case 2:case 3:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H),l.H>=24&&(l.H=0,++l.D,y=iG(l.D),y.u=l.u,y.S=l.S,y.M=l.M,y.H=l.H,l=y);break;case 4:switch(_){case 1:l.u=Math.round(l.u*10)/10;break;case 2:l.u=Math.round(l.u*100)/100;break;case 3:l.u=Math.round(l.u*1e3)/1e3}l.u>=1&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H),l.H>=24&&(l.H=0,++l.D,y=iG(l.D),y.u=l.u,y.S=l.S,y.M=l.M,y.H=l.H,l=y)}var b=``,x;for(o=0;o<i.length;++o)switch(i[o].t){case`t`:case`T`:case` `:case`D`:break;case`X`:i[o].v=``,i[o].t=`;`;break;case`d`:case`m`:case`y`:case`h`:case`H`:case`M`:case`s`:case`e`:case`b`:case`Z`:i[o].v=qAe(i[o].t.charCodeAt(0),i[o].v,l,_),i[o].t=`t`;break;case`n`:case`?`:for(x=o+1;i[x]!=null&&((s=i[x].t)===`?`||s===`D`||(s===` `||s===`t`)&&i[x+1]!=null&&(i[x+1].t===`?`||i[x+1].t===`t`&&i[x+1].v===`/`)||i[o].t===`(`&&(s===` `||s===`n`||s===`)`)||s===`t`&&(i[x].v===`/`||i[x].v===` `&&i[x+1]!=null&&i[x+1].t==`?`));)i[o].v+=i[x].v,i[x]={v:``,t:`;`},++x;b+=i[o].v,o=x-1;break;case`G`:i[o].t=`t`,i[o].v=sG(t,n)}var S=``,C,w;if(b.length>0){b.charCodeAt(0)==40?(C=t<0&&b.charCodeAt(0)===45?-t:t,w=xG(`n`,b,C)):(C=t<0&&r>1?-t:t,w=xG(`n`,b,C),C<0&&i[0]&&i[0].t==`t`&&(w=w.substr(1),i[0].v=`-`+i[0].v)),x=w.length-1;var T=i.length;for(o=0;o<i.length;++o)if(i[o]!=null&&i[o].t!=`t`&&i[o].v.indexOf(`.`)>-1){T=o;break}var E=i.length;if(T===i.length&&w.indexOf(`E`)===-1){for(o=i.length-1;o>=0;--o)i[o]!=null&&`n?`.indexOf(i[o].t)!==-1&&(x>=i[o].v.length-1?(x-=i[o].v.length,i[o].v=w.substr(x+1,i[o].v.length)):x<0?i[o].v=``:(i[o].v=w.substr(0,x+1),x=-1),i[o].t=`t`,E=o);x>=0&&E<i.length&&(i[E].v=w.substr(0,x+1)+i[E].v)}else if(T!==i.length&&w.indexOf(`E`)===-1){for(x=w.indexOf(`.`)-1,o=T;o>=0;--o)if(i[o]!=null&&`n?`.indexOf(i[o].t)!==-1){for(u=i[o].v.indexOf(`.`)>-1&&o===T?i[o].v.indexOf(`.`)-1:i[o].v.length-1,S=i[o].v.substr(u+1);u>=0;--u)x>=0&&(i[o].v.charAt(u)===`0`||i[o].v.charAt(u)===`#`)&&(S=w.charAt(x--)+S);i[o].v=S,i[o].t=`t`,E=o}for(x>=0&&E<i.length&&(i[E].v=w.substr(0,x+1)+i[E].v),x=w.indexOf(`.`)+1,o=T;o<i.length;++o)if(!(i[o]==null||`n?(`.indexOf(i[o].t)===-1&&o!==T)){for(u=i[o].v.indexOf(`.`)>-1&&o===T?i[o].v.indexOf(`.`)+1:0,S=i[o].v.substr(0,u);u<i[o].v.length;++u)x<w.length&&(S+=w.charAt(x++));i[o].v=S,i[o].t=`t`,E=o}}}for(o=0;o<i.length;++o)i[o]!=null&&`n?`.indexOf(i[o].t)>-1&&(C=r>1&&t<0&&o>0&&i[o-1].v===`-`?-t:t,i[o].v=xG(i[o].t,i[o].v,C),i[o].t=`t`);var D=``;for(o=0;o!==i.length;++o)i[o]!=null&&(D+=i[o].v);return D}var wG=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function TG(e,t){if(t==null)return!1;var n=parseFloat(t[2]);switch(t[1]){case`=`:if(e==n)return!0;break;case`>`:if(e>n)return!0;break;case`<`:if(e<n)return!0;break;case`<>`:if(e!=n)return!0;break;case`>=`:if(e>=n)return!0;break;case`<=`:if(e<=n)return!0}return!1}function ije(e,t){var n=nje(e),r=n.length,i=n[r-1].indexOf(`@`);if(r<4&&i>-1&&--r,n.length>4)throw Error(`cannot find right format for |`+n.join(`|`)+`|`);if(typeof t!=`number`)return[4,n.length===4||i>-1?n[n.length-1]:`@`];switch(typeof t==`number`&&!isFinite(t)&&(t=0),n.length){case 1:n=i>-1?[`General`,`General`,`General`,n[0]]:[n[0],n[0],n[0],`@`];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],`@`];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],`@`]}var a=t>0?n[0]:t<0?n[1]:n[2];if(n[0].indexOf(`[`)===-1&&n[1].indexOf(`[`)===-1)return[r,a];if(n[0].match(/\[[=<>]/)!=null||n[1].match(/\[[=<>]/)!=null){var o=n[0].match(wG),s=n[1].match(wG);return TG(t,o)?[r,n[0]]:TG(t,s)?[r,n[1]]:[r,n[o!=null&&s!=null?2:1]]}return[r,a]}function EG(e,t,n){n??={};var r=``;switch(typeof e){case`string`:r=e==`m/d/yy`&&n.dateNF?n.dateNF:e;break;case`number`:r=e==14&&n.dateNF?n.dateNF:(n.table==null?tG:n.table)[e],r??=n.table&&n.table[nG[e]]||tG[nG[e]],r??=VAe[e]||`General`}if(QW(r,0))return sG(t,n);t instanceof Date&&(t=IG(t,n.date1904));var i=ije(r,t);if(QW(i[1]))return sG(t,n);if(t===!0)t=`TRUE`;else if(t===!1)t=`FALSE`;else if(t===``||t==null)return``;else if(isNaN(t)&&i[1].indexOf(`0`)>-1)return`#NUM!`;else if(!isFinite(t)&&i[1].indexOf(`0`)>-1)return`#DIV/0!`;return rje(i[1],t,n,i[0])}function aje(e,t){if(typeof t!=`number`){t=+t||-1;for(var n=0;n<392;++n){if(tG[n]==null){t<0&&(t=n);continue}if(tG[n]==e){t=n;break}}t<0&&(t=391)}return tG[t]=e,t}function DG(){tG=BAe()}var oje={5:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,23:`General`,24:`General`,25:`General`,26:`General`,27:`m/d/yy`,28:`m/d/yy`,29:`m/d/yy`,30:`m/d/yy`,31:`m/d/yy`,32:`h:mm:ss`,33:`h:mm:ss`,34:`h:mm:ss`,35:`h:mm:ss`,36:`m/d/yy`,41:`_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)`,50:`m/d/yy`,51:`m/d/yy`,52:`m/d/yy`,53:`m/d/yy`,54:`m/d/yy`,55:`m/d/yy`,56:`m/d/yy`,57:`m/d/yy`,58:`m/d/yy`,59:`0`,60:`0.00`,61:`#,##0`,62:`#,##0.00`,63:`"$"#,##0_);\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,67:`0%`,68:`0.00%`,69:`# ?/?`,70:`# ??/??`,71:`m/d/yy`,72:`m/d/yy`,73:`d-mmm-yy`,74:`d-mmm`,75:`mmm-yy`,76:`h:mm`,77:`h:mm:ss`,78:`m/d/yy h:mm`,79:`mm:ss`,80:`[h]:mm:ss`,81:`mmss.0`},OG=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function sje(e){var t=typeof e==`number`?tG[e]:e;return t=t.replace(OG,`(\\d+)`),OG.lastIndex=0,RegExp(`^`+t+`$`)}function cje(e,t,n){var r=-1,i=-1,a=-1,o=-1,s=-1,c=-1;(t.match(OG)||[]).forEach(function(e,t){var l=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case`y`:r=l;break;case`d`:a=l;break;case`h`:o=l;break;case`s`:c=l;break;case`m`:o>=0?s=l:i=l}}),OG.lastIndex=0,c>=0&&s==-1&&i>=0&&(s=i,i=-1);var l=(``+(r>=0?r:new Date().getFullYear())).slice(-4)+`-`+(`00`+(i>=1?i:1)).slice(-2)+`-`+(`00`+(a>=1?a:1)).slice(-2);l.length==7&&(l=`0`+l),l.length==8&&(l=`20`+l);var u=(`00`+(o>=0?o:0)).slice(-2)+`:`+(`00`+(s>=0?s:0)).slice(-2)+`:`+(`00`+(c>=0?c:0)).slice(-2);return o==-1&&s==-1&&c==-1?l:r==-1&&i==-1&&a==-1?u:l+`T`+u}var lje={"d.m":`d\\.m`};function kG(e,t){return aje(lje[e]||e,t)}var AG=(function(){var e={};e.version=`1.2.0`;function t(){for(var e=0,t=Array(256),n=0;n!=256;++n)e=n,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,e=e&1?-306674912^e>>>1:e>>>1,t[n]=e;return typeof Int32Array<`u`?new Int32Array(t):t}var n=t();function r(e){var t=0,n=0,r=0,i=typeof Int32Array<`u`?new Int32Array(4096):Array(4096);for(r=0;r!=256;++r)i[r]=e[r];for(r=0;r!=256;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=i[t]=n>>>8^e[n&255];var a=[];for(r=1;r!=16;++r)a[r-1]=typeof Int32Array<`u`&&typeof i.subarray==`function`?i.subarray(r*256,r*256+256):i.slice(r*256,r*256+256);return a}var i=r(n),a=i[0],o=i[1],s=i[2],c=i[3],l=i[4],u=i[5],d=i[6],f=i[7],p=i[8],m=i[9],h=i[10],g=i[11],_=i[12],v=i[13],y=i[14];function b(e,t){for(var r=t^-1,i=0,a=e.length;i<a;)r=r>>>8^n[(r^e.charCodeAt(i++))&255];return~r}function x(e,t){for(var r=t^-1,i=e.length-15,b=0;b<i;)r=y[e[b++]^r&255]^v[e[b++]^r>>8&255]^_[e[b++]^r>>16&255]^g[e[b++]^r>>>24]^h[e[b++]]^m[e[b++]]^p[e[b++]]^f[e[b++]]^d[e[b++]]^u[e[b++]]^l[e[b++]]^c[e[b++]]^s[e[b++]]^o[e[b++]]^a[e[b++]]^n[e[b++]];for(i+=15;b<i;)r=r>>>8^n[(r^e[b++])&255];return~r}function S(e,t){for(var r=t^-1,i=0,a=e.length,o=0,s=0;i<a;)o=e.charCodeAt(i++),o<128?r=r>>>8^n[(r^o)&255]:o<2048?(r=r>>>8^n[(r^(192|o>>6&31))&255],r=r>>>8^n[(r^(128|o&63))&255]):o>=55296&&o<57344?(o=(o&1023)+64,s=e.charCodeAt(i++)&1023,r=r>>>8^n[(r^(240|o>>8&7))&255],r=r>>>8^n[(r^(128|o>>2&63))&255],r=r>>>8^n[(r^(128|s>>6&15|(o&3)<<4))&255],r=r>>>8^n[(r^(128|s&63))&255]):(r=r>>>8^n[(r^(224|o>>12&15))&255],r=r>>>8^n[(r^(128|o>>6&63))&255],r=r>>>8^n[(r^(128|o&63))&255]);return~r}return e.table=n,e.bstr=b,e.buf=x,e.str=S,e})(),jG=(function(){var e={};e.version=`1.2.2`;function t(e,t){for(var n=e.split(`/`),r=t.split(`/`),i=0,a=0,o=Math.min(n.length,r.length);i<o;++i){if(a=n[i].length-r[i].length)return a;if(n[i]!=r[i])return n[i]<r[i]?-1:1}return n.length-r.length}function n(e){if(e.charAt(e.length-1)==`/`)return e.slice(0,-1).indexOf(`/`)===-1?e:n(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(0,t+1)}function r(e){if(e.charAt(e.length-1)==`/`)return r(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function i(e,t){typeof t==`string`&&(t=new Date(t));var n=t.getHours();n=n<<6|t.getMinutes(),n=n<<5|t.getSeconds()>>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=r<<4|t.getMonth()+1,r=r<<5|t.getDate(),e.write_shift(2,r)}function a(e){var t=e.read_shift(2)&65535,n=e.read_shift(2)&65535,r=new Date,i=n&31;n>>>=5;var a=n&15;n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(a-1),r.setDate(i);var o=t&31;t>>>=5;var s=t&63;return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(o<<1),r}function o(e){rq(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e.read_shift(2),i=e.read_shift(2),a=e.l+i,o={};switch(r){case 21589:n=e.read_shift(1),n&1&&(o.mtime=e.read_shift(4)),i>5&&(n&2&&(o.atime=e.read_shift(4)),n&4&&(o.ctime=e.read_shift(4))),o.mtime&&(o.mt=new Date(o.mtime*1e3));break;case 1:var s=e.read_shift(4),c=e.read_shift(4);o.usz=c*2**32+s,s=e.read_shift(4),c=e.read_shift(4),o.csz=c*2**32+s}e.l=a,t[r]=o}return t}var s;function c(){return s||=MG}function l(e,t){if(e[0]==80&&e[1]==75)return Me(e,t);if((e[0]|32)==109&&(e[1]|32)==105)return Ve(e,t);if(e.length<512)throw Error(`CFB file size `+e.length+` < 512`);var n=3,r=512,i=0,a=0,o=0,s=0,c=0,l=[],m=e.slice(0,512);rq(m,0);var g=u(m);switch(n=g[0],n){case 3:r=512;break;case 4:r=4096;break;case 0:if(g[1]==0)return Me(e,t);default:throw Error(`Major Version: Expected 3 or 4 saw `+n)}r!==512&&(m=e.slice(0,r),rq(m,28));var y=e.slice(0,r);d(m,n);var b=m.read_shift(4,`i`);if(n===3&&b!==0)throw Error(`# Directory Sectors: Expected 0 saw `+b);m.l+=4,o=m.read_shift(4,`i`),m.l+=4,m.chk(`00100000`,`Mini Stream Cutoff Size: `),s=m.read_shift(4,`i`),i=m.read_shift(4,`i`),c=m.read_shift(4,`i`),a=m.read_shift(4,`i`);for(var x=-1,S=0;S<109&&(x=m.read_shift(4,`i`),!(x<0));++S)l[S]=x;var C=f(e,r);h(c,a,C,r,l);var w=_(C,o,l,r);o<w.length&&(w[o].name=`!Directory`),i>0&&s!==O&&(w[s].name=`!MiniFAT`),w[l[0]].name=`!FAT`,w.fat_addrs=l,w.ssz=r;var T={},E=[],D=[],k=[];v(o,w,C,E,i,T,D,s),p(D,k,E),E.shift();var A={FileIndex:D,FullPaths:k};return t&&t.raw&&(A.raw={header:y,sectors:C}),A}function u(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(k,`Header Signature: `),e.l+=16;var t=e.read_shift(2,`u`);return[e.read_shift(2,`u`),t]}function d(e,t){var n=9;switch(e.l+=2,n=e.read_shift(2)){case 9:if(t!=3)throw Error(`Sector Shift: Expected 9 saw `+n);break;case 12:if(t!=4)throw Error(`Sector Shift: Expected 12 saw `+n);break;default:throw Error(`Sector Shift: Expected 9 or 12 saw `+n)}e.chk(`0600`,`Mini Sector Shift: `),e.chk(`000000000000`,`Reserved: `)}function f(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i<n;++i)r[i-1]=e.slice(i*t,(i+1)*t);return r[n-1]=e.slice(n*t),r}function p(e,t,n){for(var r=0,i=0,a=0,o=0,s=0,c=n.length,l=[],u=[];r<c;++r)l[r]=u[r]=r,t[r]=n[r];for(;s<u.length;++s)r=u[s],i=e[r].L,a=e[r].R,o=e[r].C,l[r]===r&&(i!==-1&&l[i]!==i&&(l[r]=l[i]),a!==-1&&l[a]!==a&&(l[r]=l[a])),o!==-1&&(l[o]=r),i!==-1&&r!=l[r]&&(l[i]=l[r],u.lastIndexOf(i)<s&&u.push(i)),a!==-1&&r!=l[r]&&(l[a]=l[r],u.lastIndexOf(a)<s&&u.push(a));for(r=1;r<c;++r)l[r]===r&&(a!==-1&&l[a]!==a?l[r]=l[a]:i!==-1&&l[i]!==i&&(l[r]=l[i]));for(r=1;r<c;++r)if(e[r].type!==0){if(s=r,s!=l[s])do s=l[s],t[r]=t[s]+`/`+t[r];while(s!==0&&l[s]!==-1&&s!=l[s]);l[r]=-1}for(t[0]+=`/`,r=1;r<c;++r)e[r].type!==2&&(t[r]+=`/`)}function m(e,t,n){for(var r=e.start,i=e.size,a=[],o=r;n&&i>0&&o>=0;)a.push(t.slice(o*D,o*D+D)),i-=D,o=eq(n,o*4);return a.length===0?aq(0):UW(a).slice(0,e.size)}function h(e,t,n,r,i){var a=O;if(e===O){if(t!==0)throw Error(`DIFAT chain shorter than expected`)}else if(e!==-1){var o=n[e],s=(r>>>2)-1;if(!o)return;for(var c=0;c<s&&(a=eq(o,c*4))!==O;++c)i.push(a);t>=1&&h(eq(o,r-4),t-1,n,r,i)}}function g(e,t,n,r,i){var a=[],o=[];i||=[];var s=r-1,c=0,l=0;for(c=t;c>=0;){i[c]=!0,a[a.length]=c,o.push(e[c]);var u=n[Math.floor(c*4/r)];if(l=c*4&s,r<4+l)throw Error(`FAT boundary crossed: `+c+` 4 `+r);if(!e[u])break;c=eq(e[u],l)}return{nodes:a,data:jK([o])}}function _(e,t,n,r){var i=e.length,a=[],o=[],s=[],c=[],l=r-1,u=0,d=0,f=0,p=0;for(u=0;u<i;++u)if(s=[],f=u+t,f>=i&&(f-=i),!o[f]){c=[];var m=[];for(d=f;d>=0;){m[d]=!0,o[d]=!0,s[s.length]=d,c.push(e[d]);var h=n[Math.floor(d*4/r)];if(p=d*4&l,r<4+p)throw Error(`FAT boundary crossed: `+d+` 4 `+r);if(!e[h]||(d=eq(e[h],p),m[d]))break}a[f]={nodes:s,data:jK([c])}}return a}function v(e,t,n,r,i,a,o,s){for(var c=0,l=r.length?2:0,u=t[e].data,d=0,f=0,p;d<u.length;d+=128){var h=u.slice(d,d+128);rq(h,64),f=h.read_shift(2),p=NK(h,0,f-l),r.push(p);var _={name:p,type:h.read_shift(1),color:h.read_shift(1),L:h.read_shift(4,`i`),R:h.read_shift(4,`i`),C:h.read_shift(4,`i`),clsid:h.read_shift(16),state:h.read_shift(4,`i`),start:0,size:0};h.read_shift(2)+h.read_shift(2)+h.read_shift(2)+h.read_shift(2)!==0&&(_.ct=y(h,h.l-8)),h.read_shift(2)+h.read_shift(2)+h.read_shift(2)+h.read_shift(2)!==0&&(_.mt=y(h,h.l-8)),_.start=h.read_shift(4,`i`),_.size=h.read_shift(4,`i`),_.size<0&&_.start<0&&(_.size=_.type=0,_.start=O,_.name=``),_.type===5?(c=_.start,i>0&&c!==O&&(t[c].name=`!StreamData`)):_.size>=4096?(_.storage=`fat`,t[_.start]===void 0&&(t[_.start]=g(n,_.start,t.fat_addrs,t.ssz)),t[_.start].name=_.name,_.content=t[_.start].data.slice(0,_.size)):(_.storage=`minifat`,_.size<0?_.size=0:c!==O&&_.start!==O&&t[c]&&(_.content=m(_,t[c].data,(t[s]||{}).data))),_.content&&rq(_.content,0),a[p]=_,o.push(_)}}function y(e,t){return new Date(($K(e,t+4)/1e7*2**32+$K(e,t)/1e7-11644473600)*1e3)}function b(e,t){return c(),l(s.readFileSync(e),t)}function x(e,t){var n=t&&t.type;switch(n||FW&&Buffer.isBuffer(e)&&(n=`buffer`),n||`base64`){case`file`:return b(e,t);case`base64`:return l(BW(PW(e)),t);case`binary`:return l(BW(e),t)}return l(e,t)}function S(e,t){var n=t||{},r=n.root||`Root Entry`;if(e.FullPaths||=[],e.FileIndex||=[],e.FullPaths.length!==e.FileIndex.length)throw Error(`inconsistent CFB structure`);e.FullPaths.length===0&&(e.FullPaths[0]=r+`/`,e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),C(e)}function C(e){var t=`�Sh33tJ5`;if(!jG.find(e,`/`+t)){var n=aq(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),w(e)}}function w(e,i){S(e);for(var a=!1,o=!1,s=e.FullPaths.length-1;s>=0;--s){var c=e.FileIndex[s];switch(c.type){case 0:o?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(c.R*c.L*c.C)&&(a=!0),c.R>-1&&c.L>-1&&c.R==c.L&&(a=!0);break;default:a=!0}}if(!(!a&&!i)){var l=new Date(1987,1,19),u=0,d=Object.create?Object.create(null):{},f=[];for(s=0;s<e.FullPaths.length;++s)d[e.FullPaths[s]]=!0,e.FileIndex[s].type!==0&&f.push([e.FullPaths[s],e.FileIndex[s]]);for(s=0;s<f.length;++s){var p=n(f[s][0]);for(o=d[p];!o;){for(;n(p)&&!d[n(p)];)p=n(p);f.push([p,{name:r(p).replace(`/`,``),type:1,clsid:j,ct:l,mt:l,content:null}]),d[p]=!0,p=n(f[s][0]),o=d[p]}}for(f.sort(function(e,n){return t(e[0],n[0])}),e.FullPaths=[],e.FileIndex=[],s=0;s<f.length;++s)e.FullPaths[s]=f[s][0],e.FileIndex[s]=f[s][1];for(s=0;s<f.length;++s){var m=e.FileIndex[s],h=e.FullPaths[s];if(m.name=r(h).replace(`/`,``),m.L=m.R=m.C=-(m.color=1),m.size=m.content?m.content.length:0,m.start=0,m.clsid=m.clsid||j,s===0)m.C=f.length>1?1:-1,m.size=0,m.type=5;else if(h.slice(-1)==`/`){for(u=s+1;u<f.length&&n(e.FullPaths[u])!=h;++u);for(m.C=u>=f.length?-1:u,u=s+1;u<f.length&&n(e.FullPaths[u])!=n(h);++u);m.R=u>=f.length?-1:u,m.type=1}else n(e.FullPaths[s+1]||``)==n(h)&&(m.R=s+1),m.type=2}}}function T(e,t){var n=t||{};if(n.fileType==`mad`)return He(e,n);if(w(e),n.fileType===`zip`)return Pe(e,n);var r=(function(e){for(var t=0,n=0,r=0;r<e.FileIndex.length;++r){var i=e.FileIndex[r];if(i.content){var a=i.content.length;a>0&&(a<4096?t+=a+63>>6:n+=a+511>>9)}}for(var o=e.FullPaths.length+3>>2,s=t+7>>3,c=t+127>>7,l=s+n+o+c,u=l+127>>7,d=u<=109?0:Math.ceil((u-109)/127);l+u+d+127>>7>u;)d=++u<=109?0:Math.ceil((u-109)/127);var f=[1,d,u,c,o,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f})(e),i=aq(r[7]<<9),a=0,o=0;for(a=0;a<8;++a)i.write_shift(1,A[a]);for(a=0;a<8;++a)i.write_shift(2,0);for(i.write_shift(2,62),i.write_shift(2,3),i.write_shift(2,65534),i.write_shift(2,9),i.write_shift(2,6),a=0;a<3;++a)i.write_shift(2,0);for(i.write_shift(4,0),i.write_shift(4,r[2]),i.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),i.write_shift(4,0),i.write_shift(4,4096),i.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:O),i.write_shift(4,r[3]),i.write_shift(-4,r[1]?r[0]-1:O),i.write_shift(4,r[1]),a=0;a<109;++a)i.write_shift(-4,a<r[2]?r[1]+a:-1);if(r[1])for(o=0;o<r[1];++o){for(;a<236+o*127;++a)i.write_shift(-4,a<r[2]?r[1]+a:-1);i.write_shift(-4,o===r[1]-1?O:o+1)}var s=function(e){for(o+=e;a<o-1;++a)i.write_shift(-4,a+1);e&&(++a,i.write_shift(-4,O))};for(o=a=0,o+=r[1];a<o;++a)i.write_shift(-4,M.DIFSECT);for(o+=r[2];a<o;++a)i.write_shift(-4,M.FATSECT);s(r[3]),s(r[4]);for(var c=0,l=0,u=e.FileIndex[0];c<e.FileIndex.length;++c)u=e.FileIndex[c],u.content&&(l=u.content.length,!(l<4096)&&(u.start=o,s(l+511>>9)));for(s(r[6]+7>>3);i.l&511;)i.write_shift(-4,M.ENDOFCHAIN);for(o=a=0,c=0;c<e.FileIndex.length;++c)u=e.FileIndex[c],u.content&&(l=u.content.length,!(!l||l>=4096)&&(u.start=o,s(l+63>>6)));for(;i.l&511;)i.write_shift(-4,M.ENDOFCHAIN);for(a=0;a<r[4]<<2;++a){var d=e.FullPaths[a];if(!d||d.length===0){for(c=0;c<17;++c)i.write_shift(4,0);for(c=0;c<3;++c)i.write_shift(4,-1);for(c=0;c<12;++c)i.write_shift(4,0);continue}u=e.FileIndex[a],a===0&&(u.start=u.size?u.start-1:O);var f=a===0&&n.root||u.name;if(f.length>31&&(console.error(`Name `+f+` will be truncated to `+f.slice(0,31)),f=f.slice(0,31)),l=2*(f.length+1),i.write_shift(64,f,`utf16le`),i.write_shift(2,l),i.write_shift(1,u.type),i.write_shift(1,u.color),i.write_shift(-4,u.L),i.write_shift(-4,u.R),i.write_shift(-4,u.C),u.clsid)i.write_shift(16,u.clsid,`hex`);else for(c=0;c<4;++c)i.write_shift(4,0);i.write_shift(4,u.state||0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,u.start),i.write_shift(4,u.size),i.write_shift(4,0)}for(a=1;a<e.FileIndex.length;++a)if(u=e.FileIndex[a],u.size>=4096)if(i.l=u.start+1<<9,FW&&Buffer.isBuffer(u.content))u.content.copy(i,i.l,0,u.size),i.l+=u.size+511&-512;else{for(c=0;c<u.size;++c)i.write_shift(1,u.content[c]);for(;c&511;++c)i.write_shift(1,0)}for(a=1;a<e.FileIndex.length;++a)if(u=e.FileIndex[a],u.size>0&&u.size<4096)if(FW&&Buffer.isBuffer(u.content))u.content.copy(i,i.l,0,u.size),i.l+=u.size+63&-64;else{for(c=0;c<u.size;++c)i.write_shift(1,u.content[c]);for(;c&63;++c)i.write_shift(1,0)}if(FW)i.l=i.length;else for(;i.l<i.length;)i.write_shift(1,0);return i}function E(e,t){var n=e.FullPaths.map(function(e){return e.toUpperCase()}),r=n.map(function(e){var t=e.split(`/`);return t[t.length-(e.slice(-1)==`/`?2:1)]}),i=!1;t.charCodeAt(0)===47?(i=!0,t=n[0].slice(0,-1)+t):i=t.indexOf(`/`)!==-1;var a=t.toUpperCase(),o=i===!0?n.indexOf(a):r.indexOf(a);if(o!==-1)return e.FileIndex[o];var s=!a.match(GW);for(a=a.replace(WW,``),s&&(a=a.replace(GW,`!`)),o=0;o<n.length;++o)if((s?n[o].replace(GW,`!`):n[o]).replace(WW,``)==a||(s?r[o].replace(GW,`!`):r[o]).replace(WW,``)==a)return e.FileIndex[o];return null}var D=64,O=-2,k=`d0cf11e0a1b11ae1`,A=[208,207,17,224,161,177,26,225],j=`00000000000000000000000000000000`,M={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:O,FREESECT:-1,HEADER_SIGNATURE:k,HEADER_MINOR_VERSION:`3e00`,MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:j,EntryTypes:[`unknown`,`storage`,`stream`,`lockbytes`,`property`,`root`]};function N(e,t,n){c();var r=T(e,n);s.writeFileSync(t,r)}function P(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join(``)}function F(e,t){var n=T(e,t);switch(t&&t.type||`buffer`){case`file`:return c(),s.writeFileSync(t.filename,n),n;case`binary`:return typeof n==`string`?n:P(n);case`base64`:return NW(typeof n==`string`?n:P(n));case`buffer`:if(FW)return Buffer.isBuffer(n)?n:IW(n);case`array`:return typeof n==`string`?BW(n):n}return n}var I;function L(e){try{var t=e.InflateRaw,n=new t;if(n._processChunk(new Uint8Array([3,0]),n._finishFlushFlag),n.bytesRead)I=e;else throw Error(`zlib does not expose bytesRead`)}catch(e){console.error(`cannot use native zlib: `+(e.message||e))}}function R(e,t){if(!I)return Ae(e,t);var n=I.InflateRaw,r=new n,i=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,i}function z(e){return I?I.deflateRawSync(e):Se(e)}var B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ee=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],V=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function te(e){var t=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(t>>16|t>>8|t)&255}for(var ne=typeof Uint8Array<`u`,re=ne?new Uint8Array(256):[],ie=0;ie<256;++ie)re[ie]=te(ie);function ae(e,t){var n=re[e&255];return t<=8?n>>>8-t:(n=n<<8|re[e>>8&255],t<=16?n>>>16-t:(n=n<<8|re[e>>16&255],n>>>24-t))}function oe(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function H(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function se(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}function ce(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function le(e,t){var n=t&7,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function ue(e,t,n){var r=t&7,i=t>>>3,a=(1<<n)-1,o=e[i]>>>r;return n<8-r||(o|=e[i+1]<<8-r,n<16-r)||(o|=e[i+2]<<16-r,n<24-r)||(o|=e[i+3]<<24-r),o&a}function de(e,t,n){var r=t&7,i=t>>>3;return r<=5?e[i]|=(n&7)<<r:(e[i]|=n<<r&255,e[i+1]=(n&7)>>8-r),t+3}function fe(e,t,n){var r=t&7,i=t>>>3;return n=(n&1)<<r,e[i]|=n,t+1}function pe(e,t,n){var r=t&7,i=t>>>3;return n<<=r,e[i]|=n&255,n>>>=8,e[i+1]=n,t+8}function me(e,t,n){var r=t&7,i=t>>>3;return n<<=r,e[i]|=n&255,n>>>=8,e[i+1]=n&255,e[i+2]=n>>>8,t+16}function he(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(FW){var a=zW(r);if(e.copy)e.copy(a);else for(;i<e.length;++i)a[i]=e[i];return a}if(ne){var o=new Uint8Array(r);if(o.set)o.set(e);else for(;i<n;++i)o[i]=e[i];return o}return e.length=r,e}function ge(e){for(var t=Array(e),n=0;n<e;++n)t[n]=0;return t}function _e(e,t,n){var r=1,i=0,a=0,o=0,s=0,c=e.length,l=ne?new Uint16Array(32):ge(32);for(a=0;a<32;++a)l[a]=0;for(a=c;a<n;++a)e[a]=0;c=e.length;var u=ne?new Uint16Array(c):ge(c);for(a=0;a<c;++a)l[i=e[a]]++,r<i&&(r=i),u[a]=0;for(l[0]=0,a=1;a<=r;++a)l[a+16]=s=s+l[a-1]<<1;for(a=0;a<c;++a)s=e[a],s!=0&&(u[a]=l[s+16]++);var d=0;for(a=0;a<c;++a)if(d=e[a],d!=0)for(s=ae(u[a],r)>>r-d,o=(1<<r+4-d)-1;o>=0;--o)t[s|o<<d]=d&15|a<<4;return r}var ve=ne?new Uint16Array(512):ge(512),ye=ne?new Uint16Array(32):ge(32);if(!ne){for(var be=0;be<512;++be)ve[be]=0;for(be=0;be<32;++be)ye[be]=0}(function(){for(var e=[],t=0;t<32;t++)e.push(5);_e(e,ye,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);_e(n,ve,288)})();var xe=(function(){for(var e=ne?new Uint8Array(32768):[],t=0,n=0;t<V.length-1;++t)for(;n<V[t+1];++n)e[n]=t;for(;n<32768;++n)e[n]=29;var r=ne?new Uint8Array(259):[];for(t=0,n=0;t<ee.length-1;++t)for(;n<ee[t+1];++n)r[n]=t;function i(e,t){for(var n=0;n<e.length;){var r=Math.min(65535,e.length-n),i=n+r==e.length;for(t.write_shift(1,+i),t.write_shift(2,r),t.write_shift(2,~r&65535);r-->0;)t[t.l++]=e[n++]}return t.l}function a(t,n){for(var i=0,a=0,o=ne?new Uint16Array(32768):[];a<t.length;){var s=Math.min(65535,t.length-a);if(s<10){for(i=de(n,i,+(a+s==t.length)),i&7&&(i+=8-(i&7)),n.l=i/8|0,n.write_shift(2,s),n.write_shift(2,~s&65535);s-->0;)n[n.l++]=t[a++];i=n.l*8;continue}i=de(n,i,+(a+s==t.length)+2);for(var c=0;s-->0;){var l=t[a];c=(c<<5^l)&32767;var u=-1,d=0;if((u=o[c])&&(u|=a&-32768,u>a&&(u-=32768),u<a))for(;t[u+d]==t[a+d]&&d<250;)++d;if(d>2){l=r[d],l<=22?i=pe(n,i,re[l+1]>>1)-1:(pe(n,i,3),i+=5,pe(n,i,re[l-23]>>5),i+=3);var f=l<8?0:l-4>>2;f>0&&(me(n,i,d-ee[l]),i+=f),l=e[a-u],i=pe(n,i,re[l]>>3),i-=3;var p=l<4?0:l-2>>1;p>0&&(me(n,i,a-u-V[l]),i+=p);for(var m=0;m<d;++m)o[c]=a&32767,c=(c<<5^t[a])&32767,++a;s-=d-1}else l<=143?l+=48:i=fe(n,i,1),i=pe(n,i,re[l]),o[c]=a&32767,++a}i=pe(n,i,0)-1}return n.l=(i+7)/8|0,n.l}return function(e,t){return e.length<8?i(e,t):a(e,t)}})();function Se(e){var t=aq(50+Math.floor(e.length*1.1)),n=xe(e,t);return t.slice(0,n)}var Ce=ne?new Uint16Array(32768):ge(32768),we=ne?new Uint16Array(32768):ge(32768),Te=ne?new Uint16Array(128):ge(128),Ee=1,De=1;function Oe(e,t){var n=ce(e,t)+257;t+=5;var r=ce(e,t)+1;t+=5;var i=se(e,t)+4;t+=4;for(var a=0,o=ne?new Uint8Array(19):ge(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=ne?new Uint8Array(8):ge(8),u=ne?new Uint8Array(8):ge(8),d=o.length,f=0;f<i;++f)o[B[f]]=a=H(e,t),c<a&&(c=a),l[a]++,t+=3;var p=0;for(l[0]=0,f=1;f<=c;++f)u[f]=p=p+l[f-1]<<1;for(f=0;f<d;++f)(p=o[f])!=0&&(s[f]=u[p]++);var m=0;for(f=0;f<d;++f)if(m=o[f],m!=0){p=re[s[f]]>>8-m;for(var h=(1<<7-m)-1;h>=0;--h)Te[p|h<<m]=m&7|f<<3}var g=[];for(c=1;g.length<n+r;)switch(p=Te[le(e,t)],t+=p&7,p>>>=3){case 16:for(a=3+oe(e,t),t+=2,p=g[g.length-1];a-->0;)g.push(p);break;case 17:for(a=3+H(e,t),t+=3;a-->0;)g.push(0);break;case 18:for(a=11+le(e,t),t+=7;a-->0;)g.push(0);break;default:g.push(p),c<p&&(c=p)}var _=g.slice(0,n),v=g.slice(n);for(f=n;f<286;++f)_[f]=0;for(f=r;f<30;++f)v[f]=0;return Ee=_e(_,Ce,286),De=_e(v,we,30),t}function ke(e,t){if(e[0]==3&&!(e[1]&3))return[RW(t),2];for(var n=0,r=0,i=zW(t||1<<18),a=0,o=i.length>>>0,s=0,c=0;!(r&1);){if(r=H(e,n),n+=3,r>>>1)r>>1==1?(s=9,c=5):(n=Oe(e,n),s=Ee,c=De);else{n&7&&(n+=8-(n&7));var l=e[n>>>3]|e[(n>>>3)+1]<<8;if(n+=32,l>0)for(!t&&o<a+l&&(i=he(i,a+l),o=i.length);l-->0;)i[a++]=e[n>>>3],n+=8;continue}for(;;){!t&&o<a+32767&&(i=he(i,a+32767),o=i.length);var u=ue(e,n,s),d=r>>>1==1?ve[u]:Ce[u];if(n+=d&15,d>>>=4,!(d>>>8&255))i[a++]=d;else if(d==256)break;else{d-=257;var f=d<8?0:d-4>>2;f>5&&(f=0);var p=a+ee[d];f>0&&(p+=ue(e,n,f),n+=f),u=ue(e,n,c),d=r>>>1==1?ye[u]:we[u],n+=d&15,d>>>=4;var m=d<4?0:d-2>>1,h=V[d];for(m>0&&(h+=ue(e,n,m),n+=m),!t&&o<p&&(i=he(i,p+100),o=i.length);a<p;)i[a]=i[a-h],++a}}}return t?[i,n+7>>>3]:[i.slice(0,a),n+7>>>3]}function Ae(e,t){var n=ke(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function je(e,t){if(e)typeof console<`u`&&console.error(t);else throw Error(t)}function Me(e,t){var n=e;rq(n,0);var r={FileIndex:[],FullPaths:[]};S(r,{root:t.root});for(var i=n.length-4;(n[i]!=80||n[i+1]!=75||n[i+2]!=5||n[i+3]!=6)&&i>=0;)--i;n.l=i+4,n.l+=4;var a=n.read_shift(2);for(n.l+=6,n.l=n.read_shift(4),i=0;i<a;++i){n.l+=20;var s=n.read_shift(4),c=n.read_shift(4),l=n.read_shift(2),u=n.read_shift(2),d=n.read_shift(2);n.l+=8;var f=n.read_shift(4),p=o(n.slice(n.l+l,n.l+l+u));n.l+=l+u+d;var m=n.l;n.l=f+4,p&&p[1]&&((p[1]||{}).usz&&(c=p[1].usz),(p[1]||{}).csz&&(s=p[1].csz)),Ne(n,s,c,r,p),n.l=m}return r}function Ne(e,t,n,r,i){e.l+=2;var s=e.read_shift(2),c=e.read_shift(2),l=a(e);if(s&8257)throw Error(`Unsupported ZIP encryption`);for(var u=e.read_shift(4),d=e.read_shift(4),f=e.read_shift(4),p=e.read_shift(2),m=e.read_shift(2),h=``,g=0;g<p;++g)h+=String.fromCharCode(e[e.l++]);if(m){var _=o(e.slice(e.l,e.l+m));(_[21589]||{}).mt&&(l=_[21589].mt),(_[1]||{}).usz&&(f=_[1].usz),(_[1]||{}).csz&&(d=_[1].csz),i&&((i[21589]||{}).mt&&(l=i[21589].mt),(i[1]||{}).usz&&(f=i[1].usz),(i[1]||{}).csz&&(d=i[1].csz))}e.l+=m;var v=e.slice(e.l,e.l+d);switch(c){case 8:v=R(e,f);break;case 0:e.l+=d;break;default:throw Error(`Unsupported ZIP Compression method `+c)}var y=!1;s&8&&(u=e.read_shift(4),u==134695760&&(u=e.read_shift(4),y=!0),d=e.read_shift(4),f=e.read_shift(4)),d!=t&&je(y,`Bad compressed size: `+t+` != `+d),f!=n&&je(y,`Bad uncompressed size: `+n+` != `+f),We(r,h,v,{unsafe:!0,mt:l})}function Pe(e,t){var n=t||{},r=[],a=[],o=aq(1),s=n.compression?8:0,c=0,l=0,u=0,d=0,f=0,p=e.FullPaths[0],m=p,h=e.FileIndex[0],g=[],_=0;for(l=1;l<e.FullPaths.length;++l)if(m=e.FullPaths[l].slice(p.length),h=e.FileIndex[l],!(!h.size||!h.content||Array.isArray(h.content)&&h.content.length==0||m==`�Sh33tJ5`)){var v=d,y=aq(m.length);for(u=0;u<m.length;++u)y.write_shift(1,m.charCodeAt(u)&127);y=y.slice(0,y.l),g[f]=typeof h.content==`string`?AG.bstr(h.content,0):AG.buf(h.content,0);var b=typeof h.content==`string`?BW(h.content):h.content;s==8&&(b=z(b)),o=aq(30),o.write_shift(4,67324752),o.write_shift(2,20),o.write_shift(2,c),o.write_shift(2,s),h.mt?i(o,h.mt):o.write_shift(4,0),o.write_shift(-4,c&8?0:g[f]),o.write_shift(4,c&8?0:b.length),o.write_shift(4,c&8?0:h.content.length),o.write_shift(2,y.length),o.write_shift(2,0),d+=o.length,r.push(o),d+=y.length,r.push(y),d+=b.length,r.push(b),c&8&&(o=aq(12),o.write_shift(-4,g[f]),o.write_shift(4,b.length),o.write_shift(4,h.content.length),d+=o.l,r.push(o)),o=aq(46),o.write_shift(4,33639248),o.write_shift(2,0),o.write_shift(2,20),o.write_shift(2,c),o.write_shift(2,s),o.write_shift(4,0),o.write_shift(-4,g[f]),o.write_shift(4,b.length),o.write_shift(4,h.content.length),o.write_shift(2,y.length),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(4,0),o.write_shift(4,v),_+=o.l,a.push(o),_+=y.length,a.push(y),++f}return o=aq(22),o.write_shift(4,101010256),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,f),o.write_shift(2,f),o.write_shift(4,_),o.write_shift(4,d),o.write_shift(2,0),UW([UW(r),UW(a),o])}var Fe={htm:`text/html`,xml:`text/xml`,gif:`image/gif`,jpg:`image/jpeg`,png:`image/png`,mso:`application/x-mso`,thmx:`application/vnd.ms-officetheme`,sh33tj5:`application/octet-stream`};function Ie(e,t){if(e.ctype)return e.ctype;var n=e.name||``,r=n.match(/\.([^\.]+)$/);return r&&Fe[r[1]]||t&&(r=(n=t).match(/[\.\\]([^\.\\])+$/),r&&Fe[r[1]])?Fe[r[1]]:`application/octet-stream`}function Le(e){for(var t=NW(e),n=[],r=0;r<t.length;r+=76)n.push(t.slice(r,r+76));return n.join(`\r 107`)+`\r 108`}function Re(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return`=`+(t.length==1?`0`+t:t)});t=t.replace(/ $/gm,`=20`).replace(/\t$/gm,`=09`),t.charAt(0)==` 109`&&(t=`=0D`+t.slice(1)),t=t.replace(/\r(?!\n)/gm,`=0D`).replace(/\n\n/gm,` 110=0A`).replace(/([^\r\n])\n/gm,`$1=0A`);for(var n=[],r=t.split(`\r 111`),i=0;i<r.length;++i){var a=r[i];if(a.length==0){n.push(``);continue}for(var o=0;o<a.length;){var s=76,c=a.slice(o,o+s);c.charAt(s-1)==`=`?s--:c.charAt(s-2)==`=`?s-=2:c.charAt(s-3)==`=`&&(s-=3),c=a.slice(o,o+s),o+=s,o<a.length&&(c+=`=`),n.push(c)}}return n.join(`\r 112`)}function ze(e){for(var t=[],n=0;n<e.length;++n){for(var r=e[n];n<=e.length&&r.charAt(r.length-1)==`=`;)r=r.slice(0,r.length-1)+e[++n];t.push(r)}for(var i=0;i<t.length;++i)t[i]=t[i].replace(/[=][0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return BW(t.join(`\r 113`))}function Be(e,t,n){for(var r=``,i=``,a=``,o,s=0;s<10;++s){var c=t[s];if(!c||c.match(/^\s*$/))break;var l=c.match(/^([^:]*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case`content-location`:r=l[2].trim();break;case`content-type`:a=l[2].trim();break;case`content-transfer-encoding`:i=l[2].trim();break}}switch(++s,i.toLowerCase()){case`base64`:o=BW(PW(t.slice(s).join(``)));break;case`quoted-printable`:o=ze(t.slice(s));break;default:throw Error(`Unsupported Content-Transfer-Encoding `+i)}var u=We(e,r.slice(n.length),o,{unsafe:!0});a&&(u.ctype=a)}function Ve(e,t){if(P(e.slice(0,13)).toLowerCase()!=`mime-version:`)throw Error(`Unsupported MAD header`);var n=t&&t.root||``,r=(FW&&Buffer.isBuffer(e)?e.toString(`binary`):P(e)).split(`\r 114`),i=0,a=``;for(i=0;i<r.length;++i)if(a=r[i],/^Content-Location:/i.test(a)&&(a=a.slice(a.indexOf(`file`)),n||=a.slice(0,a.lastIndexOf(`/`)+1),a.slice(0,n.length)!=n))for(;n.length>0&&(n=n.slice(0,n.length-1),n=n.slice(0,n.lastIndexOf(`/`)+1),a.slice(0,n.length)!=n););var o=(r[1]||``).match(/boundary="(.*?)"/);if(!o)throw Error(`MAD cannot find boundary`);var s=`--`+(o[1]||``),c={FileIndex:[],FullPaths:[]};S(c);var l,u=0;for(i=0;i<r.length;++i){var d=r[i];
114(d===s||d===s+`--`)&&(u++&&Be(c,r.slice(l,i),n),l=i)}return c}function He(e,t){var n=t||{},r=n.boundary||`SheetJS`;r=`------=`+r;for(var i=[`MIME-Version: 1.0`,`Content-Type: multipart/related; boundary="`+r.slice(2)+`"`,``,``,``],a=e.FullPaths[0],o=a,s=e.FileIndex[0],c=1;c<e.FullPaths.length;++c)if(o=e.FullPaths[c].slice(a.length),s=e.FileIndex[c],!(!s.size||!s.content||o==`�Sh33tJ5`)){o=o.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return`_x`+e.charCodeAt(0).toString(16)+`_`}).replace(/[\u0080-\uFFFF]/g,function(e){return`_u`+e.charCodeAt(0).toString(16)+`_`});for(var l=s.content,u=FW&&Buffer.isBuffer(l)?l.toString(`binary`):P(l),d=0,f=Math.min(1024,u.length),p=0,m=0;m<=f;++m)(p=u.charCodeAt(m))>=32&&p<128&&++d;var h=d>=f*4/5;i.push(r),i.push(`Content-Location: `+(n.root||`file:///C:/SheetJS/`)+o),i.push(`Content-Transfer-Encoding: `+(h?`quoted-printable`:`base64`)),i.push(`Content-Type: `+Ie(s,o)),i.push(``),i.push(h?Re(u):Le(u))}return i.push(r+`--\r 115`),i.join(`\r 116`)}function Ue(e){var t={};return S(t,e),t}function We(e,t,n,i){var a=i&&i.unsafe;a||S(e);var o=!a&&jG.find(e,t);if(!o){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:(s.slice(-1)!=`/`&&(s+=`/`),s=(s+t).replace(`//`,`/`)),o={name:r(t),type:2},e.FileIndex.push(o),e.FullPaths.push(s),a||jG.utils.cfb_gc(e)}return o.content=n,o.size=n?n.length:0,i&&(i.CLSID&&(o.clsid=i.CLSID),i.mt&&(o.mt=i.mt),i.ct&&(o.ct=i.ct)),o}function Ge(e,t){S(e);var n=jG.find(e,t);if(n){for(var r=0;r<e.FileIndex.length;++r)if(e.FileIndex[r]==n)return e.FileIndex.splice(r,1),e.FullPaths.splice(r,1),!0}return!1}function Ke(e,t,n){S(e);var i=jG.find(e,t);if(i){for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==i)return e.FileIndex[a].name=r(n),e.FullPaths[a]=n,!0}return!1}function qe(e){w(e,!0)}return e.find=E,e.read=x,e.parse=l,e.write=F,e.writeFile=N,e.utils={cfb_new:Ue,cfb_add:We,cfb_del:Ge,cfb_mov:Ke,cfb_gc:qe,ReadShift:tq,CheckField:nq,prep_blob:rq,bconcat:UW,use_zlib:L,_deflateRaw:Se,_inflateRaw:Ae,consts:M},e})(),MG;function uje(e){if(MG!==void 0)return MG.readFileSync(e);if(typeof Deno<`u`)return Deno.readFileSync(e);if(typeof $<`u`&&typeof File<`u`&&typeof Folder<`u`)try{var t=File(e);t.open(`r`),t.encoding=`binary`;var n=t.read();return t.close(),n}catch(e){if(!e.message||e.message.indexOf(`onstruct`)==-1)throw e}throw Error(`Cannot access file `+e)}function NG(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;++r)Object.prototype.hasOwnProperty.call(e,t[r])&&n.push(t[r]);return n}function PG(e){for(var t=[],n=NG(e),r=0;r!==n.length;++r)t[e[n[r]]]=n[r];return t}var FG=Date.UTC(1899,11,30,0,0,0),dje=Date.UTC(1899,11,31,0,0,0),fje=Date.UTC(1904,0,1,0,0,0);function IG(e,t){var n=(e.getTime()-FG)/864e5;return t?(n-=1462,n<-1402?n-1:n):n<60?n-1:n}function LG(e){if(e>=60&&e<61)return e;var t=new Date;return t.setTime((e>60?e:e+1)*24*60*60*1e3+FG),t}function pje(e){var t=0,n=0,r=!1,i=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw Error(`|`+e+`| is not an ISO8601 Duration`);for(var a=1;a!=i.length;++a)if(i[a]){switch(n=1,a>3&&(r=!0),i[a].slice(i[a].length-1)){case`Y`:throw Error(`Unsupported ISO Duration Field: `+i[a].slice(i[a].length-1));case`D`:n*=24;case`H`:n*=60;case`M`:if(r)n*=60;else throw Error(`Unsupported ISO Duration Field: M`)}t+=n*parseInt(i[a],10)}return t}var mje=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/,hje=/^(\d+)-(\d+)-(\d+)$/,RG=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function zG(e,t){if(e instanceof Date)return e;var n=e.match(mje);return n?new Date((t?fje:dje)+((parseInt(n[1],10)*60+parseInt(n[2],10))*60+(n[3]?parseInt(n[3].slice(1),10):0))*1e3+(n[4]?parseInt((n[4]+`000`).slice(1,4),10):0)):(n=e.match(hje),n?new Date(Date.UTC(+n[1],n[2]-1,+n[3],0,0,0,0)):(n=e.match(RG),n?new Date(Date.UTC(+n[1],n[2]-1,+n[3],+n[4],+n[5],n[6]&&parseInt(n[6].slice(1),10)||0,n[7]&&parseInt((n[7]+`0000`).slice(1,4),10)||0)):new Date(e)))}function BG(e,t){if(FW&&Buffer.isBuffer(e)){if(t&&LW){if(e[0]==255&&e[1]==254)return TK(e.slice(2).toString(`utf16le`));if(e[1]==254&&e[2]==255)return TK(EW(e.slice(2).toString(`binary`)))}return e.toString(`binary`)}if(typeof TextDecoder<`u`)try{if(t){if(e[0]==255&&e[1]==254)return TK(new TextDecoder(`utf-16le`).decode(e.slice(2)));if(e[0]==254&&e[1]==255)return TK(new TextDecoder(`utf-16be`).decode(e.slice(2)))}var n={"â¬":`Â`,"â":`Â`,Æ:`Â`,"â":`Â`,"â¦":` `,"â ":`Â`,"â¡":`
116Â`,Ë:`Â`,"â°":`Â`,Å :`Â`,"â¹":`Â`,Å:`Â`,Ž:`Â`,"â":`Â`,"â":`Â`,"â":`Â`,"â":`Â`,"â¢":`Â`,"â":`Â`,"â":`Â`,"Ë":`Â`,"â¢":`Â`,Å¡:`Â`,"âº":`Â`,Å:`Â`,ž:`Â`,Ÿ:`Â`};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder(`latin1`).decode(e).replace(/[â¬âÆââ¦â â¡Ëâ°Å â¹ÅŽâââââ¢ââËâ¢Å¡âºÅžŸ]/g,function(e){return n[e]||e})}catch{}var r=[],i=0;try{for(i=0;i<e.length-65536;i+=65536)r.push(String.fromCharCode.apply(0,e.slice(i,i+65536)));r.push(String.fromCharCode.apply(0,e.slice(i)))}catch{try{for(;i<e.length-16384;i+=16384)r.push(String.fromCharCode.apply(0,e.slice(i,i+16384)));r.push(String.fromCharCode.apply(0,e.slice(i)))}catch{for(;i!=e.length;++i)r.push(String.fromCharCode(e[i]))}}return r.join(``)}function VG(e){if(typeof JSON<`u`&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!=`object`||!e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=VG(e[n]));return t}function HG(e,t){for(var n=``;n.length<t;)n+=e;return n}function UG(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var n=1,r=e.replace(/([\d]),([\d])/g,`$1$2`).replace(/[$]/g,``).replace(/[%]/g,function(){return n*=100,``});return!isNaN(t=Number(r))||(r=r.replace(/[(]([^()]*)[)]/,function(e,t){return n=-n,t}),!isNaN(t=Number(r)))?t/n:t}var gje=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/,_je=/^([01]?\d|2[0-3])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))$/,vje=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)(\.\d+)?[Z]?$/,yje=new Date(`6/9/69 00:00 UTC`).valueOf()==-177984e5;function bje(e){return e[2]?e[3]?e[4]?new Date(Date.UTC(1899,11,31,e[1]%12+(e[7]==`p`?12:0),+e[2],+e[4],parseFloat(e[3])*1e3)):new Date(Date.UTC(1899,11,31,e[7]==`p`?12:0,+e[1],+e[2],parseFloat(e[3])*1e3)):e[5]?new Date(Date.UTC(1899,11,31,e[1]%12+(e[7]==`p`?12:0),+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0)):new Date(Date.UTC(1899,11,31,e[1]%12+(e[7]==`p`?12:0),+e[2],0,0)):new Date(Date.UTC(1899,11,31,e[1]%12+(e[7]==`p`?12:0),0,0,0))}function xje(e){return e[2]?e[3]?e[4]?new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[4],parseFloat(e[3])*1e3)):new Date(Date.UTC(1899,11,31,0,+e[1],+e[2],parseFloat(e[3])*1e3)):e[5]?new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0)):new Date(Date.UTC(1899,11,31,+e[1],+e[2],0,0)):new Date(Date.UTC(1899,11,31,+e[1],0,0,0))}var Sje=[`january`,`february`,`march`,`april`,`may`,`june`,`july`,`august`,`september`,`october`,`november`,`december`];function WG(e){if(vje.test(e))return e.indexOf(`Z`)==-1?KG(new Date(e)):new Date(e);var t=e.toLowerCase(),n=t.replace(/\s+/g,` `).trim(),r=n.match(gje);if(r)return bje(r);if(r=n.match(_je),r)return xje(r);if(r=n.match(RG),r)return new Date(Date.UTC(+r[1],r[2]-1,+r[3],+r[4],+r[5],r[6]&&parseInt(r[6].slice(1),10)||0,r[7]&&parseInt((r[7]+`0000`).slice(1,4),10)||0));var i=new Date(yje&&e.indexOf(`UTC`)==-1?e+` UTC`:e),a=new Date(NaN),o=i.getYear();i.getMonth();var s=i.getDate();if(isNaN(s))return a;if(t.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(t=t.replace(/[^a-z]/g,``).replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,``),t.length>3&&Sje.indexOf(t)==-1)return a}else if(t.replace(/[ap]m?/,``).match(/[a-z]/))return a;return o<0||o>8099||e.match(/[^-0-9:,\/\\\ ]/)?a:i}var Cje=(function(){var e=`abacaba`.split(/(:?b)/i).length==5;return function(t,n,r){if(e||typeof n==`string`)return t.split(n);for(var i=t.split(n),a=[i[0]],o=1;o<i.length;++o)a.push(r),a.push(i[o]);return a}})();function GG(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function KG(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}function qG(e){var t=e.slice(0,1024).indexOf(`<!DOCTYPE`);if(t==-1)return e;var n=e.match(/<[\w]/);return n?e.slice(0,t)+e.slice(n.index):e}function JG(e,t,n){for(var r=[],i=e.indexOf(t);i>-1;){var a=e.indexOf(n,i+t.length);if(a==-1)break;r.push(e.slice(i,a+n.length)),i=e.indexOf(t,a+n.length)}return r.length>0?r:null}function YG(e,t,n){var r=[],i=0,a=e.indexOf(t);if(a==-1)return e;for(;a>-1;){r.push(e.slice(i,a));var o=e.indexOf(n,a+t.length);if(o==-1)break;(a=e.indexOf(t,i=o+n.length))==-1&&r.push(e.slice(i))}return r.join(``)}var wje={" ":1," ":1,"\r":1,"\n":1,">":1};
116function XG(e,t){for(var n=e.indexOf(`<`+t),r=t.length+1,i=e.length;n>=0&&n<=i-r&&!wje[e.charAt(n+r)];)n=e.indexOf(`<`+t,n+1);if(n===-1)return null;var a=e.indexOf(`>`,n+t.length);if(a===-1)return null;var o=`</`+t+`>`,s=e.indexOf(o,a);return s==-1?null:[e.slice(n,s+o.length),e.slice(a+1,s)]}var ZG=(function(){var e={};return function(t,n){var r=e[n];r||(e[n]=r=[RegExp(`<(?:\\w+:)?`+n+`\\b[^<>]*>`,`g`),RegExp(`</(?:\\w+:)?`+n+`>`,`g`)]),r[0].lastIndex=r[1].lastIndex=0;var i=r[0].exec(t);if(!i)return null;var a=i.index,o=r[0].lastIndex;if(r[1].lastIndex=r[0].lastIndex,i=r[1].exec(t),!i)return null;var s=i.index,c=r[1].lastIndex;return[t.slice(a,c),t.slice(o,s)]}})(),QG=(function(){var e={};return function(t,n){var r=[],i=e[n];i||(e[n]=i=[RegExp(`<(?:\\w+:)?`+n+`\\b[^<>]*>`,`g`),RegExp(`</(?:\\w+:)?`+n+`>`,`g`)]),i[0].lastIndex=i[1].lastIndex=0;for(var a;a=i[0].exec(t);){var o=a.index;if(i[1].lastIndex=i[0].lastIndex,a=i[1].exec(t),!a)return null;var s=i[1].lastIndex;r.push(t.slice(o,s)),i[0].lastIndex=i[1].lastIndex}return r.length==0?null:r}})(),Tje=(function(){var e={};return function(t,n){var r=[],i=e[n];i||(e[n]=i=[RegExp(`<(?:\\w+:)?`+n+`\\b[^<>]*>`,`g`),RegExp(`</(?:\\w+:)?`+n+`>`,`g`)]),i[0].lastIndex=i[1].lastIndex=0;for(var a,o=0,s=0;a=i[0].exec(t);){if(o=a.index,r.push(t.slice(s,o)),s=o,i[1].lastIndex=i[0].lastIndex,a=i[1].exec(t),!a)return null;s=i[1].lastIndex,i[0].lastIndex=i[1].lastIndex}return r.push(t.slice(s)),r.length==0?``:r.join(``)}})(),Eje=(function(){var e={};return function(t,n){var r=[],i=e[n];i||(e[n]=i=[RegExp(`<`+n+`\\b[^<>]*>`,`ig`),RegExp(`</`+n+`>`,`ig`)]),i[0].lastIndex=i[1].lastIndex=0;for(var a;a=i[0].exec(t);){var o=a.index;if(i[1].lastIndex=i[0].lastIndex,a=i[1].exec(t),!a)return null;var s=i[1].lastIndex;r.push(t.slice(o,s)),i[0].lastIndex=i[1].lastIndex}return r.length==0?null:r}})();function $G(e){return e?e.content&&e.type?BG(e.content,!0):e.data?DW(e.data):e.asNodeBuffer&&FW?DW(e.asNodeBuffer().toString(`binary`)):e.asBinary?DW(e.asBinary()):e._data&&e._data.getContent?DW(BG(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function eK(e){if(!e)return null;if(e.data)return wW(e.data);if(e.asNodeBuffer&&FW)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return typeof t==`string`?wW(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function Dje(e){return e&&e.name.slice(-4)===`.bin`?eK(e):$G(e)}function tK(e,t){for(var n=e.FullPaths||NG(e.files),r=t.toLowerCase().replace(/[\/]/g,`\\`),i=r.replace(/\\/g,`/`),a=0;a<n.length;++a){var o=n[a].replace(/^Root Entry[\/]/,``).toLowerCase();if(r==o||i==o)return e.files?e.files[n[a]]:e.FileIndex[a]}return null}function nK(e,t){var n=tK(e,t);if(n==null)throw Error(`Cannot find file `+t+` in zip`);return n}function rK(e,t,n){if(!n)return Dje(nK(e,t));if(!t)return null;try{return rK(e,t)}catch{return null}}function iK(e,t,n){if(!n)return $G(nK(e,t));if(!t)return null;try{return iK(e,t)}catch{return null}}function aK(e,t,n){if(!n)return eK(nK(e,t));if(!t)return null;try{return aK(e,t)}catch{return null}}function oK(e){for(var t=e.FullPaths||NG(e.files),n=[],r=0;r<t.length;++r)t[r].slice(-1)!=`/`&&n.push(t[r].replace(/^Root Entry[\/]/,``));return n.sort()}function Oje(e,t,n){if(e.FullPaths){if(Array.isArray(n)&&typeof n[0]==`string`&&(n=n.join(``)),typeof n==`string`){var r=FW?IW(n):LAe(n);return jG.utils.cfb_add(e,t,r)}jG.utils.cfb_add(e,t,n)}else e.file(t,n)}function sK(e,t){switch(t.type){case`base64`:return jG.read(e,{type:`base64`});case`binary`:return jG.read(e,{type:`binary`});case`buffer`:case`array`:return jG.read(e,{type:`buffer`})}throw Error(`Unrecognized type `+t.type)}function cK(e,t){if(e.charAt(0)==`/`)return e.slice(1);var n=t.split(`/`);t.slice(-1)!=`/`&&n.pop();for(var r=e.split(`/`);r.length!==0;){var i=r.shift();i===`..`?n.pop():i!==`.`&&n.push(i)}return n.join(`/`)}var lK=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r 117`,uK=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,dK=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/gm,fK=lK.match(dK)?dK:/<[^<>]*>/g,kje=/<\w*:/,Aje=/<(\/?)\w+:/;function pK(e,t,n){for(var r={},i=0,a=0;i!==e.length&&(a=e.charCodeAt(i))!==32&&a!==10&&a!==13;++i);if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var o=e.match(uK),s=0,c=``,l=0,u=``,d=``,f=1;if(o)for(l=0;l!=o.length;++l){for(d=o[l].slice(1),a=0;a!=d.length&&d.charCodeAt(a)!==61;++a);for(u=d.slice(0,a).trim();
117d.charCodeAt(a+1)==32;)++a;for(f=+((i=d.charCodeAt(a+1))==34||i==39),c=d.slice(a+1+f,d.length-f),s=0;s!=u.length&&u.charCodeAt(s)!==58;++s);if(s===u.length)u.indexOf(`_`)>0&&(u=u.slice(0,u.indexOf(`_`))),r[u]=c,n||(r[u.toLowerCase()]=c);else{var p=(s===5&&u.slice(0,5)===`xmlns`?`xmlns`:``)+u.slice(s+1);if(r[p]&&u.slice(s-3,s)==`ext`)continue;r[p]=c,n||(r[p.toLowerCase()]=c)}}return r}function jje(e,t,n){for(var r={},i=0,a=0;i!==e.length&&(a=e.charCodeAt(i))!==32&&a!==10&&a!==13;++i);if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var o=e.match(uK),s=``,c=0,l=``,u=``,d=1;if(o)for(c=0;c!=o.length;++c){for(u=o[c].slice(1),a=0;a!=u.length&&u.charCodeAt(a)!==61;++a);for(l=u.slice(0,a).trim();u.charCodeAt(a+1)==32;)++a;d=+((i=u.charCodeAt(a+1))==34||i==39),s=u.slice(a+1+d,u.length-d),l.indexOf(`_`)>0&&(l=l.slice(0,l.indexOf(`_`))),r[l]=s,n||(r[l.toLowerCase()]=s)}return r}function mK(e){return e.replace(Aje,`<$1`)}var hK={""":`"`,"'":`'`,">":`>`,"<":`<`,"&":`&`},Mje=PG(hK),gK=(function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;function n(r){var i=r+``,a=i.indexOf(`<![CDATA[`);if(a==-1)return i.replace(e,function(e,t){return hK[e]||String.fromCharCode(parseInt(t,e.indexOf(`x`)>-1?16:10))||e}).replace(t,function(e,t){return String.fromCharCode(parseInt(t,16))});var o=i.indexOf(`]]>`);return n(i.slice(0,a))+i.slice(a+9,o)+n(i.slice(o+3))}return function(e,t){var r=n(e);return t?r.replace(/\r\n/g,` 118`):r}})(),Nje=/[&<>'"]/g,Pje=/[\u0000-\u001f]/g;function _K(e){return(e+``).replace(Nje,function(e){return Mje[e]}).replace(/\n/g,`<br/>`).replace(Pje,function(e){return`&#x`+(`000`+e.charCodeAt(0).toString(16)).slice(-4)+`;`})}var vK=(function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}})();function yK(e){switch(e){case 1:case!0:case`1`:case`true`:return!0;case 0:case!1:case`0`:case`false`:return!1}return!1}function bK(e){for(var t=``,n=0,r=0,i=0,a=0,o=0,s=0;n<e.length;){if(r=e.charCodeAt(n++),r<128){t+=String.fromCharCode(r);continue}if(i=e.charCodeAt(n++),r>191&&r<224){o=(r&31)<<6,o|=i&63,t+=String.fromCharCode(o);continue}if(a=e.charCodeAt(n++),r<240){t+=String.fromCharCode((r&15)<<12|(i&63)<<6|a&63);continue}o=e.charCodeAt(n++),s=((r&7)<<18|(i&63)<<12|(a&63)<<6|o&63)-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(s&1023))}return t}function xK(e){var t=RW(2*e.length),n,r,i=1,a=0,o=0,s;for(r=0;r<e.length;r+=i)i=1,(s=e.charCodeAt(r))<128?n=s:s<224?(n=(s&31)*64+(e.charCodeAt(r+1)&63),i=2):s<240?(n=(s&15)*4096+(e.charCodeAt(r+1)&63)*64+(e.charCodeAt(r+2)&63),i=3):(i=4,n=(s&7)*262144+(e.charCodeAt(r+1)&63)*4096+(e.charCodeAt(r+2)&63)*64+(e.charCodeAt(r+3)&63),n-=65536,o=55296+(n>>>10&1023),n=56320+(n&1023)),o!==0&&(t[a++]=o&255,t[a++]=o>>>8,o=0),t[a++]=n%256,t[a++]=n>>>8;return t.slice(0,a).toString(`ucs2`)}function SK(e){return IW(e,`binary`).toString(`utf8`)}var CK=`foo bar bazâÂÂð£`,wK=FW&&(SK(CK)==bK(CK)&&SK||xK(CK)==bK(CK)&&xK)||bK,TK=FW?function(e){return IW(e,`utf8`).toString(`binary`)}:function(e){for(var t=[],n=0,r=0,i=0;n<e.length;)switch(r=e.charCodeAt(n++),!0){case r<128:t.push(String.fromCharCode(r));break;case r<2048:t.push(String.fromCharCode(192+(r>>6))),t.push(String.fromCharCode(128+(r&63)));break;case r>=55296&&r<57344:r-=55296,i=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(i&63)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(r&63)))}return t.join(``)},EK=(function(){var e=[[`nbsp`,` `],[`middot`,`·`],[`quot`,`"`],[`apos`,`'`],[`gt`,`>`],[`lt`,`<`],[`amp`,`&`]].map(function(e){return[RegExp(`&`+e[0]+`;`,`ig`),e[1]]});return function(t){for(var n=t.replace(/^[\t\n\r ]+/,``).replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,`$1`).replace(/>\s+/g,`>`).replace(/\b\s+</g,`<`).replace(/[\t\n\r ]+/g,` `).replace(/<\s*[bB][rR]\s*\/?>/g,` 119`).replace(/<[^<>]*>/g,``),r=0;r<e.length;++r)n=n.replace(e[r][0],e[r][1]);return n}})(),Fje=/<\/?(?:vt:)?variant>
119/g,Ije=/<(?:vt:)([^<"'>]*)>([\s\S]*)</;function DK(e,t){var n=pK(e),r=QG(e,n.baseType)||[],i=[];if(r.length!=n.size){if(t.WTF)throw Error(`unexpected vector length `+r.length+` != `+n.size);return i}return r.forEach(function(e){var t=e.replace(Fje,``).match(Ije);t&&i.push({v:wK(t[2]),t:t[1]})}),i}var Lje=/(^\s|\s$|\n)/;function Rje(e){return NG(e).map(function(t){return` `+t+`="`+e[t]+`"`}).join(``)}function zje(e,t,n){return`<`+e+(n==null?``:Rje(n))+(t==null?`/`:(t.match(Lje)?` xml:space="preserve"`:``)+`>`+t+`</`+e)+`>`}function OK(e){if(FW&&Buffer.isBuffer(e))return e.toString(`utf8`);if(typeof e==`string`)return e;if(typeof Uint8Array<`u`&&e instanceof Uint8Array)return wK(VW(HW(e)));throw Error(`Bad input format: expected Buffer or string`)}var kK=/<([\/]?)([^\s?><!\/:"]*:|)([^\s?<>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/gm,Bje={CORE_PROPS:`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,CUST_PROPS:`http://schemas.openxmlformats.org/officeDocument/2006/custom-properties`,EXT_PROPS:`http://schemas.openxmlformats.org/officeDocument/2006/extended-properties`,CT:`http://schemas.openxmlformats.org/package/2006/content-types`,RELS:`http://schemas.openxmlformats.org/package/2006/relationships`,TCMNT:`http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments`,dc:`http://purl.org/dc/elements/1.1/`,dcterms:`http://purl.org/dc/terms/`,dcmitype:`http://purl.org/dc/dcmitype/`,mx:`http://schemas.microsoft.com/office/mac/excel/2008/main`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,sjs:`http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties`,vt:`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`,xsi:`http://www.w3.org/2001/XMLSchema-instance`,xsd:`http://www.w3.org/2001/XMLSchema`},Vje=[`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,`http://purl.oclc.org/ooxml/spreadsheetml/main`,`http://schemas.microsoft.com/office/excel/2006/main`,`http://schemas.microsoft.com/office/excel/2006/2`];function Hje(e,t){for(var n=1-2*(e[t+7]>>>7),r=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),i=e[t+6]&15,a=5;a>=0;--a)i=i*256+e[t+a];return r==2047?i==0?n*(1/0):NaN:(r==0?r=-1022:(r-=1023,i+=2**52),n*2**(r-52)*i)}function Uje(e,t,n){var r=(t<0||1/t==-1/0)<<7,i=0,a=0,o=r?-t:t;isFinite(o)?o==0?i=a=0:(i=Math.floor(Math.log(o)/Math.LN2),a=o*2**(52-i),i<=-1023&&(!isFinite(a)||a<2**52)?i=-1022:(a-=2**52,i+=1023)):(i=2047,a=isNaN(t)?26985:0);for(var s=0;s<=5;++s,a/=256)e[n+s]=a&255;e[n+6]=(i&15)<<4|a&15,e[n+7]=i>>4|r}var AK=function(e){for(var t=[],n=10240,r=0;r<e[0].length;++r)if(e[0][r])for(var i=0,a=e[0][r].length;i<a;i+=n)t.push.apply(t,e[0][r].slice(i,i+n));return t},jK=FW?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:IW(e)})):AK(e)}:AK,MK=function(e,t,n){for(var r=[],i=t;i<n;i+=2)r.push(String.fromCharCode(QK(e,i)));return r.join(``).replace(WW,``)},NK=FW?function(e,t,n){return!Buffer.isBuffer(e)||!LW?MK(e,t,n):e.toString(`utf16le`,t,n).replace(WW,``)}:MK,PK=function(e,t,n){for(var r=[],i=t;i<t+n;++i)r.push((`0`+e[i].toString(16)).slice(-2));return r.join(``)},FK=FW?function(e,t,n){return Buffer.isBuffer(e)?e.toString(`hex`,t,t+n):PK(e,t,n)}:PK,IK=function(e,t,n){for(var r=[],i=t;i<n;i++)r.push(String.fromCharCode(ZK(e,i)));return r.join(``)},LK=FW?function(e,t,n){return Buffer.isBuffer(e)?e.toString(`utf8`,t,n):IK(e,t,n)}:IK,RK=function(e,t){var n=$K(e,t);return n>0?LK(e,t+4,t+4+n-1):``},zK=RK,BK=function(e,t){var n=$K(e,t);return n>0?LK(e,t+4,t+4+n-1):``},VK=BK,HK=function(e,t){var n=2*$K(e,t);return n>0?LK(e,t+4,t+4+n-1):``},UK=HK,WK=function(e,t){var n=$K(e,t);return n>0?NK(e,t+4,t+4+n):``},GK=WK,KK=function(e,t){var n=$K(e,t);return n>0?LK(e,t+4,t+4+n):``},qK=KK,JK=function(e,t){return Hje(e,t)},YK=JK,XK=function(e){return Array.isArray(e)||typeof Uint8Array<`u`&&e instanceof Uint8Array};FW&&(zK=function(e,t){if(!Buffer.isBuffer(e))return RK(e,t);var n=e.readUInt32LE(t);return n>0?e.toString(`utf8`,t+4,t+4+n-1):``},VK=function(e,t){if(!Buffer.isBuffer(e))return BK(e,t);var n=e.readUInt32LE(t);return n>0?e.toString(`utf8`,t+4,t+4+n-1):``},UK=function(e,t){if(!Buffer.isBuffer(e)||!LW)return HK(e,t);var n=2*e.readUInt32LE(t);return e.toString(`utf16le`,t+4,t+4+n-1)},GK=function(e,t){if(!Buffer.isBuffer(e)||!LW)return WK(e,t);var n=e.readUInt32LE(t);return e.toString(`utf16le`,t+4,t+4+n)},qK=function(e,t){if(!Buffer.isBuffer(e))return KK(e,t);var n=e.readUInt32LE(t);return e.toString(`utf8`,t+4,t+4+n)},YK=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):JK(e,t)},XK=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array<`u`&&e instanceof Uint8Array});function Wje(){NK=function(e,t,n){return yW.utils.decode(1200,e.slice(t,n)).replace(WW,``)},LK=function(e,t,n){return yW.utils.decode(65001,e.slice(t,n))},zK=function(e,t){var n=$K(e,t);return n>0?yW.utils.decode(vW,e.slice(t+4,t+4+n-1)):``},VK=function(e,t){var n=$K(e,t);return n>0?yW.utils.decode(_W,e.slice(t+4,t+4+n-1)):``},UK=function(e,t){var n=2*$K(e,t);return n>0?yW.utils.decode(1200,e.slice(t+4,t+4+n-1)):``},GK=function(e,t){var n=$K(e,t);return n>0?yW.utils.decode(1200,e.slice(t+4,t+4+n)):``},qK=function(e,t){var n=$K(e,t);return n>0?yW.utils.decode(65001,e.slice(t+4,t+4+n)):``}}yW!==void 0&&Wje();var ZK=function(e,t){return e[t]},QK=function(e,t){return e[t+1]*256+e[t]},Gje=function(e,t){var n=e[t+1]*256+e[t];return n<32768?n:(65535-n+1)*-1},$K=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},eq=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Kje=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function tq(e,t){var n=``,r,i,a=[],o,s,c,l;switch(t){case`dbcs`:if(l=this.l,FW&&Buffer.isBuffer(this)&&LW)n=this.slice(this.l,this.l+2*e).toString(`utf16le`);else for(c=0;c<e;++c)n+=String.fromCharCode(QK(this,l)),l+=2;e*=2;break;case`utf8`:n=LK(this,this.l,this.l+e);break;case`utf16le`:e*=2,n=NK(this,this.l,this.l+e);break;case`wstr`:if(yW!==void 0)n=yW.utils.decode(_W,this.slice(this.l,this.l+2*e));else return tq.call(this,e,`dbcs`);e=2*e;break;case`lpstr-ansi`:n=zK(this,this.l),e=4+$K(this,this.l);break;case`lpstr-cp`:n=VK(this,this.l),e=4+$K(this,this.l);break;case`lpwstr`:n=UK(this,this.l),e=4+2*$K(this,this.l);break;case`lpp4`:e=4+$K(this,this.l),n=GK(this,this.l),e&2&&(e+=2);break;
vendor: 10,505 bytes, line 119
119case`8lpp4`:e=4+$K(this,this.l),n=qK(this,this.l),e&3&&(e+=4-(e&3));break;case`cstr`:for(e=0,n=``;(o=ZK(this,this.l+e++))!==0;)a.push(OW(o));n=a.join(``);break;case`_wstr`:for(e=0,n=``;(o=QK(this,this.l+e))!==0;)a.push(OW(o)),e+=2;e+=2,n=a.join(``);break;case`dbcs-cont`:for(n=``,l=this.l,c=0;c<e;++c){if(this.lens&&this.lens.indexOf(l)!==-1)return o=ZK(this,l),this.l=l+1,s=tq.call(this,e-c,o?`dbcs-cont`:`sbcs-cont`),a.join(``)+s;a.push(OW(QK(this,l))),l+=2}n=a.join(``),e*=2;break;case`cpstr`:if(yW!==void 0){n=yW.utils.decode(_W,this.slice(this.l,this.l+e));break}case`sbcs-cont`:for(n=``,l=this.l,c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(l)!==-1)return o=ZK(this,l),this.l=l+1,s=tq.call(this,e-c,o?`dbcs-cont`:`sbcs-cont`),a.join(``)+s;a.push(OW(ZK(this,l))),l+=1}n=a.join(``);break;default:switch(e){case 1:return r=ZK(this,this.l),this.l++,r;case 2:return r=(t===`i`?Gje:QK)(this,this.l),this.l+=2,r;case 4:case-4:return t===`i`||!(this[this.l+3]&128)?(r=(e>0?eq:Kje)(this,this.l),this.l+=4,r):(i=$K(this,this.l),this.l+=4,i);case 8:case-8:if(t===`f`)return i=e==8?YK(this,this.l):YK([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,i;e=8;case 16:n=FK(this,this.l,e)}}return this.l+=e,n}var qje=function(e,t,n){e[n]=t&255,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},Jje=function(e,t,n){e[n]=t&255,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Yje=function(e,t,n){e[n]=t&255,e[n+1]=t>>>8&255};function Xje(e,t,n){var r=0,i=0;if(n===`dbcs`){for(i=0;i!=t.length;++i)Yje(this,t.charCodeAt(i),this.l+2*i);r=2*t.length}else if(n===`sbcs`||n==`cpstr`)if(yW!==void 0&&vW==874){for(i=0;i!=t.length;++i){var a=yW.utils.encode(vW,t.charAt(i));this[this.l+i]=a[0]}r=t.length}else if(yW!==void 0&&n==`cpstr`){if(a=yW.utils.encode(_W,t),a.length==t.length)for(i=0;i<t.length;++i)a[i]==0&&t.charCodeAt(i)!=0&&(a[i]=95);if(a.length==2*t.length)for(i=0;i<t.length;++i)a[2*i]==0&&a[2*i+1]==0&&t.charCodeAt(i)!=0&&(a[2*i]=95);for(i=0;i<a.length;++i)this[this.l+i]=a[i];r=a.length}else{for(t=t.replace(/[^\x00-\x7F]/g,`_`),i=0;i!=t.length;++i)this[this.l+i]=t.charCodeAt(i)&255;r=t.length}else if(n===`hex`){for(;i<e;++i)this[this.l++]=parseInt(t.slice(2*i,2*i+2),16)||0;return this}else if(n===`utf16le`){var o=Math.min(this.l+e,this.length);for(i=0;i<Math.min(t.length,e);++i){var s=t.charCodeAt(i);this[this.l++]=s&255,this[this.l++]=s>>8}for(;this.l<o;)this[this.l++]=0;return this}else switch(e){case 1:r=1,this[this.l]=t&255;break;case 2:r=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:r=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:r=4,qje(this,t,this.l);break;case 8:if(r=8,n===`f`){Uje(this,t,this.l);break}case 16:break;case-4:r=4,Jje(this,t,this.l);break}return this.l+=r,this}function nq(e,t){var n=FK(this,this.l,e.length>>1);if(n!==e)throw Error(t+`Expected `+e+` saw `+n);this.l+=e.length>>1}function rq(e,t){e.l=t,e.read_shift=tq,e.chk=nq,e.write_shift=Xje}function iq(e,t){e.l+=t}function aq(e){var t=RW(e);return rq(t,0),t}function oq(e,t,n){if(e){var r,i,a;rq(e,e.l||0);for(var o=e.length,s=0,c=0;e.l<o;){s=e.read_shift(1),s&128&&(s=(s&127)+((e.read_shift(1)&127)<<7));var l=aX[s]||aX[65535];for(r=e.read_shift(1),a=r&127,i=1;i<4&&r&128;++i)a+=((r=e.read_shift(1))&127)<<7*i;c=e.l+a;var u=l.f&&l.f(e,a,n);if(e.l=c,t(u,l,s))return}}}function sq(){var e=[],t=FW?16384:2048;FW&&aq(t).copy;var n=function(e){var t=aq(e);return rq(t,0),t},r=n(t),i=function(){r&&=(r.l&&(r.length>r.l&&(r=r.slice(0,r.l),r.l=r.length),r.length>0&&e.push(r)),null)},a=function(e){return r&&e<r.length-r.l?r:(i(),r=n(Math.max(e+1,t)))};return{next:a,push:function(e){i(),r=e,r.l??(r.l=r.length),a(t)},end:function(){return i(),UW(e)},_bufs:e,end2:function(){return i(),e}}}function cq(e,t,n){var r=VG(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function lq(e,t,n){var r=VG(e);return r.s=cq(r.s,t.s,n),r.e=cq(r.e,t.s,n),r}function uq(e,t){if(e.cRel&&e.c<0)for(e=VG(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=VG(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=_q(e);return!e.cRel&&e.cRel!=null&&(n=$je(n)),!e.rRel&&e.rRel!=null&&(n=Zje(n)),n}function dq(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?``:`$`)+hq(e.s.c)+`:`+(e.e.cRel?``:`$`)+hq(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?``:`$`)+pq(e.s.r)+`:`+(e.e.rRel?``:`$`)+pq(e.e.r):uq(e.s,t.biff)+`:`+uq(e.e,t.biff)}function fq(e){return parseInt(Qje(e),10)-1}function pq(e){return``+(e+1)}function Zje(e){return e.replace(/([A-Z]|^)(\d+)$/,`$1$$$2`)}function Qje(e){return e.replace(/\$(\d+)$/,`$1`)}function mq(e){for(var t=eMe(e),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function hq(e){if(e<0)throw Error(`invalid column `+e);var t=``;for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function $je(e){return e.replace(/^([A-Z])/,`$$$1`)}function eMe(e){return e.replace(/^\$([A-Z])/,`$1`)}function tMe(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,`$1,$2`).split(`,`)}function gq(e){for(var t=0,n=0,r=0;r<e.length;++r){var i=e.charCodeAt(r);i>=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:t-1}}function _q(e){for(var t=e.c+1,n=``;t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function vq(e){var t=e.indexOf(`:`);return t==-1?{s:gq(e),e:gq(e)}:{s:gq(e.slice(0,t)),e:gq(e.slice(t+1))}}function yq(e,t){return t===void 0||typeof t==`number`?yq(e.s,e.e):(typeof e!=`string`&&(e=_q(e)),typeof t!=`string`&&(t=_q(t)),e==t?e:e+`:`+t)}function nMe(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw Error(`empty sheet name`);return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?`'`+e.replace(/'/g,`''`)+`'`:e}function bq(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,a=e.length;for(n=0;r<a&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.s.c=--n,n=0;r<a&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;if(t.s.r=--n,r===a||i!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++r,n=0;r!=a&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.e.c=--n,n=0;r!=a&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;return t.e.r=--n,t}function xq(e,t){var n=e.t==`d`&&t instanceof Date;if(e.z!=null)try{return e.w=EG(e.z,n?IG(t):t)}catch{}try{return e.w=EG((e.XF||{}).numFmtId||(n?14:0),n?IG(t):t)}catch{return``+t}}function Sq(e,t,n){return e==null||e.t==null||e.t==`z`?``:e.w===void 0?(e.t==`d`&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),e.t==`e`?qq[e.v]||e.v:t==null?xq(e,e.v):xq(e,t)):e.w}function Cq(e,t){var n=t&&t.sheet?t.sheet:`Sheet1`,r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function rMe(e){var t={};return(e||{}).dense&&(t[`!data`]=[]),t}function wq(e,t,n){var r=n||{},i=e?e[`!data`]!=null:r.dense;AW!=null&&i==null&&(i=AW);var a=e||(i?{"!data":[]}:{});i&&!a[`!data`]&&(a[`!data`]=[]);var o=0,s=0;if(a&&r.origin!=null)if(typeof r.origin==`number`)o=r.origin;else{var c=typeof r.origin==`string`?gq(r.origin):r.origin;o=c.r,s=c.c}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a[`!ref`]){var u=bq(a[`!ref`]);l.s.c=u.s.c,l.s.r=u.s.r,l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),o==-1&&(l.e.r=o=a[`!ref`]?u.e.r+1:0)}else l.s.c=l.e.c=l.s.r=l.e.r=0;for(var d=[],f=!1,p=0;p!=t.length;++p)if(t[p]){if(!Array.isArray(t[p]))throw Error(`aoa_to_sheet expects an array of arrays`);var m=o+p;i&&(a[`!data`][m]||(a[`!data`][m]=[]),d=a[`!data`][m]);for(var h=t[p],g=0;g!=h.length;++g)if(h[g]!==void 0){var _={v:h[g],t:``},v=s+g;if(l.s.r>m&&(l.s.r=m),l.s.c>v&&(l.s.c=v),l.e.r<m&&(l.e.r=m),l.e.c<v&&(l.e.c=v),f=!0,h[g]&&typeof h[g]==`object`&&!Array.isArray(h[g])&&!(h[g]instanceof Date))_=h[g];else if(Array.isArray(_.v)&&(_.f=h[g][1],_.v=_.v[0]),_.v===null)if(_.f)_.t=`n`;else if(r.nullError)_.t=`e`,_.v=0;else if(r.sheetStubs)_.t=`z`;else continue;else typeof _.v==`number`?isFinite(_.v)?_.t=`n`:isNaN(_.v)?(_.t=`e`,_.v=15):(_.t=`e`,_.v=7):typeof _.v==`boolean`?_.t=`b`:_.v instanceof Date?(_.z=r.dateNF||tG[14],r.UTC||(_.v=KG(_.v)),r.cellDates?(_.t=`d`,_.w=EG(_.z,IG(_.v,r.date1904))):(_.t=`n`,_.v=IG(_.v,r.date1904),_.w=EG(_.z,_.v))):_.t=`s`;if(i)d[v]&&d[v].z&&(_.z=d[v].z),d[v]=_;else{var y=hq(v)+(m+1);a[y]&&a[y].z&&(_.z=a[y].z),a[y]=_}}}return f&&l.s.c<104e5&&(a[`!ref`]=yq(l)),a}function Tq(e,t){return wq(null,e,t)}function iMe(e){return e.read_shift(4,`i`)}function Eq(e){var t=e.read_shift(4);return t===0?``:e.read_shift(t,`dbcs`)}function aMe(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Dq(e,t){var n=e.l,r=e.read_shift(1),i=Eq(e),a=[],o={t:i,h:i};if(r&1){for(var s=e.read_shift(4),c=0;c!=s;++c)a.push(aMe(e));o.r=a}else o.r=[{ich:0,ifnt:0}];return e.l=n+t,o}var oMe=Dq;function Oq(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function kq(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}var sMe=Eq;function Aq(e){var t=e.read_shift(4);return t===0||t===4294967295?``:e.read_shift(t,`dbcs`)}var cMe=Eq,jq=Aq;function Mq(e){var t=e.slice(e.l,e.l+4),n=t[0]&1,r=t[0]&2;e.l+=4;var i=r===0?YK([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):eq(t,0)>>2;return n?i/100:i}function Nq(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Pq=Nq;function Fq(e){if(e.length-e.l<8)throw`XLS Xnum Buffer underflow`;return e.read_shift(8,`f`)}function lMe(e){var t={},n=e.read_shift(1)>>>1,r=e.read_shift(1),i=e.read_shift(2,`i`),a=e.read_shift(1),o=e.read_shift(1),s=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=r;var c=Kq[r];c&&(t.rgb=JJ(c));break;case 2:t.rgb=JJ([a,o,s]);break;case 3:t.theme=r}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function uMe(e){var t=e.read_shift(1);return e.l++,{fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128}}function Iq(e,t){var n={2:`BITMAP`,3:`METAFILEPICT`,8:`DIB`,14:`ENHMETAFILE`},r=e.read_shift(4);switch(r){case 0:return``;case 4294967295:case 4294967294:return n[e.read_shift(4)]||``}if(r>400)throw Error(`Unsupported Clipboard: `+r.toString(16));return e.l-=4,e.read_shift(0,t==1?`lpstr`:`lpwstr`)}function dMe(e){return Iq(e,1)}function fMe(e){return Iq(e,2)}var Lq=2,Rq=3,zq=11,Bq=12,Vq=19,Hq=64,pMe=65,mMe=71,hMe=4108,gMe=4126,Uq=80,Wq=81,_Me=[Uq,Wq],vMe={1:{n:`CodePage`,t:Lq},2:{n:`Category`,t:Uq},3:{n:`PresentationFormat`,t:Uq}
119,4:{n:`ByteCount`,t:Rq},5:{n:`LineCount`,t:Rq},6:{n:`ParagraphCount`,t:Rq},7:{n:`SlideCount`,t:Rq},8:{n:`NoteCount`,t:Rq},9:{n:`HiddenCount`,t:Rq},10:{n:`MultimediaClipCount`,t:Rq},11:{n:`ScaleCrop`,t:zq},12:{n:`HeadingPairs`,t:hMe},13:{n:`TitlesOfParts`,t:gMe},14:{n:`Manager`,t:Uq},15:{n:`Company`,t:Uq},16:{n:`LinksUpToDate`,t:zq},17:{n:`CharacterCount`,t:Rq},19:{n:`SharedDoc`,t:zq},22:{n:`HyperlinksChanged`,t:zq},23:{n:`AppVersion`,t:Rq,p:`version`},24:{n:`DigSig`,t:pMe},26:{n:`ContentType`,t:Uq},27:{n:`ContentStatus`,t:Uq},28:{n:`Language`,t:Uq},29:{n:`Version`,t:Uq},255:{},2147483648:{n:`Locale`,t:Vq},2147483651:{n:`Behavior`,t:Vq},1919054434:{}},yMe={1:{n:`CodePage`,t:Lq},2:{n:`Title`,t:Uq},3:{n:`Subject`,t:Uq},4:{n:`Author`,t:Uq},5:{n:`Keywords`,t:Uq},6:{n:`Comments`,t:Uq},7:{n:`Template`,t:Uq},8:{n:`LastAuthor`,t:Uq},9:{n:`RevNumber`,t:Uq},10:{n:`EditTime`,t:Hq},11:{n:`LastPrinted`,t:Hq},12:{n:`CreatedDate`,t:Hq},13:{n:`ModifiedDate`,t:Hq},14:{n:`PageCount`,t:Rq},15:{n:`WordCount`,t:Rq},16:{n:`CharCount`,t:Rq},17:{n:`Thumbnail`,t:mMe},18:{n:`Application`,t:Uq},19:{n:`DocSecurity`,t:Rq},255:{},2147483648:{n:`Locale`,t:Vq},2147483651:{n:`Behavior`,t:Vq},1919054434:{}},Gq={1:`US`,2:`CA`,3:``,7:`RU`,20:`EG`,30:`GR`,31:`NL`,32:`BE`,33:`FR`,34:`ES`,36:`HU`,39:`IT`,41:`CH`,43:`AT`,44:`GB`,45:`DK`,46:`SE`,47:`NO`,48:`PL`,49:`DE`,52:`MX`,55:`BR`,61:`AU`,64:`NZ`,66:`TH`,81:`JP`,82:`KR`,84:`VN`,86:`CN`,90:`TR`,105:`JS`,213:`DZ`,216:`MA`,218:`LY`,351:`PT`,354:`IS`,358:`FI`,420:`CZ`,886:`TW`,961:`LB`,962:`JO`,963:`SY`,964:`IQ`,965:`KW`,966:`SA`,971:`AE`,972:`IL`,974:`QA`,981:`IR`,65535:`US`},bMe=[null,`solid`,`mediumGray`,`darkGray`,`lightGray`,`darkHorizontal`,`darkVertical`,`darkDown`,`darkUp`,`darkGrid`,`darkTrellis`,`lightHorizontal`,`lightVertical`,`lightDown`,`lightUp`,`lightGrid`,`lightTrellis`,`gray125`,`gray0625`];function xMe(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var Kq=VG(xMe([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),qq={0:`#NULL!`,7:`#DIV/0!`,15:`#VALUE!`,23:`#REF!`,29:`#NAME?`,36:`#NUM!`,42:`#N/A`,43:`#GETTING_DATA`,255:`#WTF?`},Jq={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Yq=[`_xlnm.Consolidate_Area`,`_xlnm.Auto_Open`,`_xlnm.Auto_Close`,`_xlnm.Extract`,`_xlnm.Database`,`_xlnm.Criteria`,`_xlnm.Print_Area`,`_xlnm.Print_Titles`,`_xlnm.Recorder`,`_xlnm.Data_Form`,`_xlnm.Auto_Activate`,`_xlnm.Auto_Deactivate`,`_xlnm.Sheet_Title`,`_xlnm._FilterDatabase`],Xq={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.macroEnabled.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.binary.macroEnabled.main":`workbooks`,"application/vnd.ms-excel.addin.macroEnabled.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":`sheets`,"application/vnd.ms-excel.worksheet":`sheets`,"application/vnd.ms-excel.binIndexWs":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":`charts`,"application/vnd.ms-excel.chartsheet":`charts`,"application/vnd.ms-excel.macrosheet+xml":`macros`,"application/vnd.ms-excel.macrosheet":`macros`,"application/vnd.ms-excel.intlmacrosheet":`TODO`,"application/vnd.ms-excel.binIndexMs":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":`dialogs`,"application/vnd.ms-excel.dialogsheet":`dialogs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":`strs`,"application/vnd.ms-excel.sharedStrings":`strs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":`styles`,"application/vnd.ms-excel.styles":`styles`,"application/vnd.openxmlformats-package.core-properties+xml":`coreprops`,"application/vnd.openxmlformats-officedocument.custom-properties+xml":`custprops`,"application/vnd.openxmlformats-officedocument.extended-properties+xml":`extprops`,"application/vnd.openxmlformats-officedocument.customXmlProperties+xml":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":`comments`,"application/vnd.ms-excel.comments":`comments`,"application/vnd.ms-excel.threadedcomments+xml":`threadedcomments`,"application/vnd.ms-excel.person+xml":`people`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":`metadata`,"application/vnd.ms-excel.sheetMetadata":`metadata`,"application/vnd.ms-excel.pivotTable":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":`TODO`,"application/vnd.ms-office.chartcolorstyle+xml":`TODO`,"application/vnd.ms-office.chartstyle+xml":`TODO`,"application/vnd.ms-office.chartex+xml":`TODO`,"application/vnd.ms-excel.calcChain":`calcchains`,"application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":`calcchains`,"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":`TODO`,"application/vnd.ms-office.activeX":`TODO`,"application/vnd.ms-office.activeX+xml":`TODO`,"application/vnd.ms-excel.attachedToolbars":`TODO`,"application/vnd.ms-excel.connections":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":`TODO`,"application/vnd.ms-excel.externalLink":`links`,"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":`links`,"application/vnd.ms-excel.pivotCacheDefinition":`TODO`,"application/vnd.ms-excel.pivotCacheRecords":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":`TODO`,"application/vnd.ms-excel.queryTable":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":`TODO`,"application/vnd.ms-excel.userNames":`TODO`,"application/vnd.ms-excel.revisionHeaders":`TODO`,"application/vnd.ms-excel.revisionLog":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":`TODO`,"application/vnd.ms-excel.tableSingleCells":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":`TODO`,"application/vnd.ms-excel.slicer":`TODO`,"application/vnd.ms-excel.slicerCache":`TODO`,"application/vnd.ms-excel.slicer+xml":`TODO`,"application/vnd.ms-excel.slicerCache+xml":`TODO`,"application/vnd.ms-excel.wsSortMap":`TODO`,"application/vnd.ms-excel.table":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":`TODO`,"application/vnd.openxmlformats-officedocument.theme+xml":`themes`,"application/vnd.openxmlformats-officedocument.themeOverride+xml":`TODO`,"application/vnd.ms-excel.Timeline+xml":`TODO`,"application/vnd.ms-excel.TimelineCache+xml":`TODO`,"application/vnd.ms-office.vbaProject":`vba`,"application/vnd.ms-office.vbaProjectSignature":`TODO`,"application/vnd.ms-office.volatileDependencies":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":`TODO`,"application/vnd.ms-excel.controlproperties+xml":`TODO`,"application/vnd.openxmlformats-officedocument.model+data":`TODO`,"application/vnd.ms-excel.Survey+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawing+xml":`drawings`,"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":`TODO`,"application/vnd.openxmlformats-officedocument.vmlDrawing":`TODO`,"application/vnd.openxmlformats-package.relationships+xml":`rels`,"application/vnd.openxmlformats-officedocument.oleObject":`TODO`,"image/png":`TODO`,sheet:`js`};function SMe(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:``}}function CMe(e){var t=SMe();if(!e||!e.match)return t;var n={};
119if((e.match(fK)||[]).forEach(function(e){var r=pK(e);switch(r[0].replace(kje,`<`)){case`<?xml`:break;case`<Types`:t.xmlns=r[`xmlns`+(r[0].match(/<(\w+):/)||[``,``])[1]];break;case`<Default`:n[r.Extension.toLowerCase()]=r.ContentType;break;case`<Override`:t[Xq[r.ContentType]]!==void 0&&t[Xq[r.ContentType]].push(r.PartName)}}),t.xmlns!==Bje.CT)throw Error(`Unknown Namespace: `+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:``,t.sst=t.strs.length>0?t.strs[0]:``,t.style=t.styles.length>0?t.styles[0]:``,t.defaults=n,delete t.calcchains,t}var Zq={WB:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,SHEET:`http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,HLINK:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,VML:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing`,XPATH:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath`,XMISS:`http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing`,XLINK:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`,CXML:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml`,CXMLP:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps`,CMNT:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`,CORE_PROPS:`http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties`,EXT_PROPS:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties`,CUST_PROPS:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties`,SST:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings`,STY:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles`,THEME:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme`,CHART:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,CHARTEX:`http://schemas.microsoft.com/office/2014/relationships/chartEx`,CS:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet`,WS:[`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`,`http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet`],DS:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet`,MS:`http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet`,IMG:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,DRAW:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,XLMETA:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata`,TCMNT:`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`,PEOPLE:`http://schemas.microsoft.com/office/2017/10/relationships/person`,CONN:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections`,VBA:`http://schemas.microsoft.com/office/2006/relationships/vbaProject`};function Qq(e){var t=e.lastIndexOf(`/`);return e.slice(0,t+1)+`_rels/`+e.slice(t+1)+`.rels`}function $q(e,t){var n={"!id":{}};if(!e)return n;t.charAt(0)!==`/`&&(t=`/`+t);var r={};return(e.match(fK)||[]).forEach(function(e){var i=pK(e);if(i[0]===`<Relationship`){var a={};a.Type=i.Type,a.Target=gK(i.Target),a.Id=i.Id,i.TargetMode&&(a.TargetMode=i.TargetMode);var o=i.TargetMode===`External`?i.Target:cK(i.Target,t);n[o]=a,r[i.Id]=a}}),n[`!id`]=r,n}var wMe=`application/vnd.oasis.opendocument.spreadsheet`;function TMe(e,t){for(var n=OK(e),r,i;r=kK.exec(n);)switch(r[3]){case`manifest`:break;case`file-entry`:if(i=pK(r[0],!1),i.path==`/`&&i.type!==wMe)throw Error(`This OpenDocument is not a spreadsheet`);break;case`encryption-data`:case`algorithm`:case`start-key-generation`:case`key-derivation`:throw Error(`Unsupported ODS Encryption`);default:if(t&&t.WTF)throw r}}
119var eJ=[[`cp:category`,`Category`],[`cp:contentStatus`,`ContentStatus`],[`cp:keywords`,`Keywords`],[`cp:lastModifiedBy`,`LastAuthor`],[`cp:lastPrinted`,`LastPrinted`],[`cp:revision`,`RevNumber`],[`cp:version`,`Version`],[`dc:creator`,`Author`],[`dc:description`,`Comments`],[`dc:identifier`,`Identifier`],[`dc:language`,`Language`],[`dc:subject`,`Subject`],[`dc:title`,`Title`],[`dcterms:created`,`CreatedDate`,`date`],[`dcterms:modified`,`ModifiedDate`,`date`]];function tJ(e){var t={};e=wK(e);for(var n=0;n<eJ.length;++n){var r=eJ[n],i=XG(e,r[0]);i!=null&&i.length>0&&(t[r[1]]=gK(i[1])),r[2]===`date`&&t[r[1]]&&(t[r[1]]=zG(t[r[1]]))}return t}var EMe=[[`Application`,`Application`,`string`],[`AppVersion`,`AppVersion`,`string`],[`Company`,`Company`,`string`],[`DocSecurity`,`DocSecurity`,`string`],[`Manager`,`Manager`,`string`],[`HyperlinksChanged`,`HyperlinksChanged`,`bool`],[`SharedDoc`,`SharedDoc`,`bool`],[`LinksUpToDate`,`LinksUpToDate`,`bool`],[`ScaleCrop`,`ScaleCrop`,`bool`],[`HeadingPairs`,`HeadingPairs`,`raw`],[`TitlesOfParts`,`TitlesOfParts`,`raw`]];function nJ(e,t,n,r){var i=[];if(typeof e==`string`)i=DK(e,r);else for(var a=0;a<e.length;++a)i=i.concat(e[a].map(function(e){return{v:e}}));var o=typeof t==`string`?DK(t,r).map(function(e){return e.v}):t,s=0,c=0;if(o.length>0)for(var l=0;l!==i.length;l+=2){switch(c=+i[l+1].v,i[l].v){case`Worksheets`:case`å·¥ä½è¡¨`:case`ÐиÑÑÑ`:case`Ø£ÙØ±Ø§Ù Ø§ÙØ¹Ù
Ù`:case`ã¯ã¼ã¯ã·ã¼ã`:case`××××× ×ת ×¢××××`:case`Arbeitsblätter`:case`ÃalıÅma Sayfaları`:case`Feuilles de calcul`:case`Fogli di lavoro`:case`Folhas de cálculo`:case`Planilhas`:case`Regneark`:case`Hojas de cálculo`:case`Werkbladen`:n.Worksheets=c,n.SheetNames=o.slice(s,s+c);break;case`Named Ranges`:case`Rangos con nombre`:case`ååä»ãä¸è¦§`:case`Benannte Bereiche`:case`Navngivne omrÃ¥der`:n.NamedRanges=c,n.DefinedNames=o.slice(s,s+c);break;case`Charts`:case`Diagramme`:n.Chartsheets=c,n.ChartNames=o.slice(s,s+c)}s+=c}}function DMe(e,t,n){var r={};return t||={},e=wK(e),EMe.forEach(function(n){var i=(ZG(e,n[0])||[])[1];switch(n[2]){case`string`:i&&(t[n[1]]=gK(i));break;case`bool`:t[n[1]]=i===`true`;break;case`raw`:var a=XG(e,n[0]);a&&a.length>0&&(r[n[1]]=a[1])}}),r.HeadingPairs&&r.TitlesOfParts&&nJ(r.HeadingPairs,r.TitlesOfParts,t,n),t}var OMe=/<[^<>]+>[^<]*/g;function kMe(e,t){var n={},r=``,i=e.match(OMe);if(i)for(var a=0;a!=i.length;++a){var o=i[a],s=pK(o);switch(mK(s[0])){case`<?xml`:break;case`<Properties`:break;case`<property`:r=gK(s.name);break;case`</property>`:r=null;break;default:if(o.indexOf(`<vt:`)===0){var c=o.split(`>`),l=c[0].slice(4),u=c[1];switch(l){case`lpstr`:case`bstr`:case`lpwstr`:n[r]=gK(u);break;case`bool`:n[r]=yK(u);break;case`i1`:case`i2`:case`i4`:case`i8`:case`int`:case`uint`:n[r]=parseInt(u,10);break;case`r4`:case`r8`:case`decimal`:n[r]=parseFloat(u);break;case`filetime`:case`date`:n[r]=zG(u);break;case`cy`:case`error`:n[r]=gK(u);break;default:if(l.slice(-1)==`/`)break;t.WTF&&typeof console<`u`&&console.warn(`Unexpected`,o,l,c)}}else if(o.slice(0,2)!==`</`&&t.WTF)throw Error(o)}}return n}var AMe={Title:`Title`,Subject:`Subject`,Author:`Author`,Keywords:`Keywords`,Comments:`Description`,LastAuthor:`LastAuthor`,RevNumber:`Revision`,Application:`AppName`,LastPrinted:`LastPrinted`,CreatedDate:`Created`,ModifiedDate:`LastSaved`,Category:`Category`,Manager:`Manager`,Company:`Company`,AppVersion:`Version`,ContentStatus:`ContentStatus`,Identifier:`Identifier`,Language:`Language`},rJ;function jMe(e,t,n){rJ||=PG(AMe),t=rJ[t]||t,e[t]=n}function iJ(e){var t=e.read_shift(4),n=e.read_shift(4);return new Date((n/1e7*2**32+t/1e7-11644473600)*1e3).toISOString().replace(/\.000/,``)}function MMe(e,t,n){var r=e.l,i=e.read_shift(0,`lpstr-cp`);if(n)for(;e.l-r&3;)++e.l;return i}function NMe(e,t,n){var r=e.read_shift(0,`lpwstr`);return n&&(e.l+=4-(r.length+1&3)&3),r}function aJ(e,t,n){return t===31?NMe(e):MMe(e,t,n)}function oJ(e,t,n){return aJ(e,t,n===!1?0:4)}function PMe(e,t){if(!t)throw Error(`VtUnalignedString must have positive length`);return aJ(e,t,0)}function FMe(e){for(var t=e.read_shift(4),n=[],r=0;r!=t;++r){var i=e.l;n[r]=e.read_shift(0,`lpwstr`).replace(WW,``),e.l-i&2&&(e.l+=2)}return n}function IMe(e){for(var t=e.read_shift(4),n=[],r=0;r!=t;++r)n[r]=e.read_shift(0,`lpstr-cp`).replace(WW,``);return n}function LMe(e){var t=e.l,n=lJ(e,Wq);return e[e.l]==0&&e[e.l+1]==0&&e.l-t&2&&(e.l+=2),[n,lJ(e,Rq)]}function RMe(e){for(var t=e.read_shift(4),n=[],r=0;r<t/2;++r)n.push(LMe(e));return n}function sJ(e,t){for(var n=e.read_shift(4),r={},i=0;i!=n;++i){var a=e.read_shift(4),o=e.read_shift(4);r[a]=e.read_shift(o,t===1200?`utf16le`:`utf8`).replace(WW,``).replace(GW,`!`),t===1200&&o%2&&(e.l+=2)}return e.l&3&&(e.l=e.l>>3<<2),r}function cJ(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(t&3)>0&&(e.l+=4-(t&3)&3),n}function zMe(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function lJ(e,t,n){var r=e.read_shift(2),i,a=n||{};if(e.l+=2,t!==Bq&&r!==t&&_Me.indexOf(t)===-1&&((t&65534)!=4126||(r&65534)!=4126))throw Error(`Expected type `+t+` saw `+r);switch(t===Bq?r:t){case 2:return i=e.read_shift(2,`i`),a.raw||(e.l+=2),i;case 3:return i=e.read_shift(4,`i`),i;case 11:return e.read_shift(4)!==0;case 19:return i=e.read_shift(4),i;case 30:e.l+=4,val=oJ(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,`$1`);break;case 31:e.l+=4,val=oJ(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,`$1`);break;case 64:return iJ(e);case 65:return cJ(e);case 71:return zMe(e);case 80:return oJ(e,r,!a.raw).replace(WW,``);case 81:return PMe(e,r).replace(WW,``);case 4108:return RMe(e);case 4126:case 4127:return r==4127?FMe(e):IMe(e);default:throw Error(`TypedPropertyValue unrecognized type `+t+` `+r)}}function uJ(e,t){var n=e.l,r=e.read_shift(4),i=e.read_shift(4),a=[],o=0,s=0,c=-1,l={};for(o=0;o!=i;++o){var u=e.read_shift(4),d=e.read_shift(4);a[o]=[u,d+n]}a.sort(function(e,t){return e[1]-t[1]});var f={};for(o=0;o!=i;++o){if(e.l!==a[o][1]){var p=!0;if(o>0&&t)switch(t[a[o-1][0]].t){case 2:e.l+2===a[o][1]&&(e.l+=2,p=!1);break;case 80:e.l<=a[o][1]&&(e.l=a[o][1],p=!1);break;case 4108:e.l<=a[o][1]&&(e.l=a[o][1],p=!1);break}if((!t||o==0)&&e.l<=a[o][1]&&(p=!1,e.l=a[o][1]),p)throw Error(`Read Error: Expected address `+a[o][1]+` at `+e.l+` :`+o)}if(t){if(a[o][0]==0&&a.length>o+1&&a[o][1]==a[o+1][1])continue;var m=t[a[o][0]];if(f[m.n]=lJ(e,m.t,{raw:!0}),m.p===`version`&&(f[m.n]=String(f[m.n]>>16)+`.`+(`0000`+String(f[m.n]&65535)).slice(-4)),m.n==`CodePage`)switch(f[m.n]){case 0:f[m.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:SW(s=f[m.n]>>>0&65535);break;default:throw Error(`Unsupported CodePage: `+f[m.n])}}else if(a[o][0]===1){if(s=f.CodePage=lJ(e,Lq),SW(s),c!==-1){var h=e.l;e.l=a[c][1],l=sJ(e,s),e.l=h}}else if(a[o][0]===0){if(s===0){c=o,e.l=a[o+1][1];continue}l=sJ(e,s)}else{var g=l[a[o][0]],_;switch(e[e.l]){case 65:e.l+=4,_=cJ(e);break;case 30:e.l+=4,_=oJ(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,`$1`);break;case 31:e.l+=4,_=oJ(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,`$1`);break;case 3:e.l+=4,_=e.read_shift(4,`i`);break;case 19:e.l+=4,_=e.read_shift(4);break;case 5:e.l+=4,_=e.read_shift(8,`f`);break;case 11:e.l+=4,_=pJ(e,4);break;case 64:e.l+=4,_=zG(iJ(e));break;default:throw Error(`unparsed value: `+e[e.l])}f[g]=_}}return e.l=n+r,f}function dJ(e,t,n){var r=e.content;if(!r)return{};rq(r,0);var i,a,o,s,c=0;r.chk(`feff`,`Byte Order: `),r.read_shift(2);var l=r.read_shift(4),u=r.read_shift(16);if(u!==jG.utils.consts.HEADER_CLSID&&u!==n)throw Error(`Bad PropertySet CLSID `+u);if(i=r.read_shift(4),i!==1&&i!==2)throw Error(`Unrecognized #Sets: `+i);if(a=r.read_shift(16),s=r.read_shift(4),i===1&&s!==r.l)throw Error(`Length mismatch: `+s+` !== `+r.l);i===2&&(o=r.read_shift(16),c=r.read_shift(4));var d=uJ(r,t),f={SystemIdentifier:l};for(var p in d)f[p]=d[p];if(f.FMTID=a,i===1)return f;if(c-r.l==2&&(r.l+=2),r.l!==c)throw Error(`Length mismatch 2: `+r.l+` !== `+c);var m;
119try{m=uJ(r,null)}catch{}for(p in m)f[p]=m[p];return f.FMTID=[a,o],f}function fJ(e,t){return e.read_shift(t),null}function BMe(e,t,n){for(var r=[],i=e.l+t;e.l<i;)r.push(n(e,i-e.l));if(i!==e.l)throw Error(`Slurp error`);return r}function pJ(e,t){return e.read_shift(t)===1}function mJ(e){return e.read_shift(2,`u`)}function hJ(e,t){return BMe(e,t,mJ)}function gJ(e){var t=e.read_shift(1);return e.read_shift(1)===1?t:t===1}function _J(e,t,n){var r=e.read_shift(n&&n.biff>=12?2:1),i=`sbcs-cont`,a=_W;n&&n.biff>=8&&(_W=1200),!n||n.biff==8?e.read_shift(1)&&(i=`dbcs-cont`):n.biff==12&&(i=`wstr`),n.biff>=2&&n.biff<=5&&(i=`cpstr`);var o=r?e.read_shift(r,i):``;return _W=a,o}function VMe(e){var t=_W;_W=1200;var n=e.read_shift(2),r=e.read_shift(1),i=r&4,a=r&8,o=1+(r&1),s=0,c,l={};a&&(s=e.read_shift(2)),i&&(c=e.read_shift(4));var u=o==2?`dbcs-cont`:`sbcs-cont`,d=n===0?``:e.read_shift(n,u);return a&&(e.l+=4*s),i&&(e.l+=c),l.t=d,a||(l.raw=`<t>`+l.t+`</t>`,l.r=l.t),_W=t,l}function vJ(e,t,n){var r;if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,`cpstr`);if(n.biff>=12)return e.read_shift(t,`dbcs-cont`)}return r=e.read_shift(1)===0?e.read_shift(t,`sbcs-cont`):e.read_shift(t,`dbcs-cont`),r}function yJ(e,t,n){var r=e.read_shift(n&&n.biff==2?1:2);return r===0?(e.l++,``):vJ(e,r,n)}function bJ(e,t,n){if(n.biff>5)return yJ(e,t,n);var r=e.read_shift(1);return r===0?(e.l++,``):e.read_shift(r,n.biff<=4||!e.lens?`cpstr`:`sbcs-cont`)}function HMe(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);return e.l+=2,[t,n]}function UMe(e){var t=e.read_shift(4),n=e.l,r=!1;t>24&&(e.l+=t-24,e.read_shift(16)===`795881f43b1d7f48af2c825dc4852763`&&(r=!0),e.l=n);var i=e.read_shift((r?t-24:t)>>1,`utf16le`).replace(WW,``);return r&&(e.l+=24),i}function WMe(e){for(var t=e.read_shift(2),n=``;t-->0;)n+=`../`;var r=e.read_shift(0,`lpstr-ansi`);if(e.l+=2,e.read_shift(2)!=57005)throw Error(`Bad FileMoniker`);if(e.read_shift(4)===0)return n+r.replace(/\\/g,`/`);var i=e.read_shift(4);if(e.read_shift(2)!=3)throw Error(`Bad FileMoniker`);var a=e.read_shift(i>>1,`utf16le`).replace(WW,``);return n+a}function GMe(e,t){var n=e.read_shift(16);switch(t-=16,n){case`e0c9ea79f9bace118c8200aa004ba90b`:return UMe(e,t);case`0303000000000000c000000000000046`:return WMe(e,t);default:throw Error(`Unsupported Moniker `+n)}}function xJ(e){var t=e.read_shift(4);return t>0?e.read_shift(t,`utf16le`).replace(WW,``):``}function KMe(e,t){var n=e.l+t,r=e.read_shift(4);if(r!==2)throw Error(`Unrecognized streamVersion: `+r);var i=e.read_shift(2);e.l+=2;var a,o,s,c,l=``,u,d;i&16&&(a=xJ(e,n-e.l)),i&128&&(o=xJ(e,n-e.l)),(i&257)==257&&(s=xJ(e,n-e.l)),(i&257)==1&&(c=GMe(e,n-e.l)),i&8&&(l=xJ(e,n-e.l)),i&32&&(u=e.read_shift(16)),i&64&&(d=iJ(e)),e.l=n;var f=o||s||c||``;f&&l&&(f+=`#`+l),f||=`#`+l,i&2&&f.charAt(0)==`/`&&f.charAt(1)!=`/`&&(f=`file://`+f);var p={Target:f};return u&&(p.guid=u),d&&(p.time=d),a&&(p.Tooltip=a),p}function SJ(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function CJ(e,t){var n=SJ(e,t);return n[3]=0,n}function wJ(e,t,n){var r={r:e.read_shift(2),c:e.read_shift(2),ixfe:0};return n&&n.biff==2||t==7?(r.ixfe=e.read_shift(1)&63,e.l+=2):r.ixfe=e.read_shift(2),r}function qMe(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}function JMe(e,t,n){return t===0?``:bJ(e,t,n)}function YMe(e,t,n){var r=n.biff>8?4:2;return[e.read_shift(r),e.read_shift(r,`i`),e.read_shift(r,`i`)]}function TJ(e){return[e.read_shift(2),Mq(e)]}function XMe(e,t,n){e.l+=4,t-=4;var r=e.l+t,i=_J(e,t,n),a=e.read_shift(2);if(r-=e.l,a!==r)throw Error(`Malformed AddinUdf: padding = `+r+` != `+a);return e.l+=a,i}function EJ(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2),i=e.read_shift(2);return{s:{c:r,r:t},e:{c:i,r:n}}}function DJ(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(1),i=e.read_shift(1);return{s:{c:r,r:t},e:{c:i,r:n}}}var ZMe=DJ;function OJ(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return e.l+=12,[n,t,r]}function QMe(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function $Me(e){return e.l+=4,e.cf=e.read_shift(2),{}}function kJ(e){e.l+=2,e.l+=e.read_shift(2)}var eNe={0:kJ,4:kJ,5:kJ,6:kJ,7:$Me,8:kJ,9:kJ,10:kJ,11:kJ,12:kJ,13:QMe,14:kJ,15:kJ,16:kJ,17:kJ,18:kJ,19:kJ,20:kJ,21:OJ};function tNe(e,t){for(var n=e.l+t,r=[];e.l<n;){var i=e.read_shift(2);e.l-=2;try{r[i]=eNe[i](e,n-e.l)}catch{return e.l=n,r}}return e.l!=n&&(e.l=n),r}function AJ(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e.read_shift(2),t-=2,t>=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw Error(`Unexpected BIFF Ver `+n.BIFFVer)}return e.read_shift(t),n}function nNe(e,t){return t===0||e.read_shift(2),1200}function rNe(e,t,n){if(n.enc)return e.l+=t,``;var r=e.l,i=bJ(e,0,n);return e.read_shift(t+r-e.l),i}function iNe(e,t,n){var r=n&&n.biff==8||t==2?e.read_shift(2):(e.l+=t,0);return{fDialog:r&16,fBelow:r&64,fRight:r&128}}function aNe(e,t,n){var r=``;if(n.biff==4)return r=_J(e,0,n),r.length===0&&(r=`Sheet1`),{name:r};var i=e.read_shift(4),a=e.read_shift(1)&3,o=e.read_shift(1);switch(o){case 0:o=`Worksheet`;break;case 1:o=`Macrosheet`;break;case 2:o=`Chartsheet`;break;case 6:o=`VBAModule`}return r=_J(e,0,n),r.length===0&&(r=`Sheet1`),{pos:i,hs:a,dt:o,name:r}}function oNe(e,t){for(var n=e.l+t,r=e.read_shift(4),i=e.read_shift(4),a=[],o=0;o!=i&&e.l<n;++o)a.push(VMe(e));return a.Count=r,a.Unique=i,a}function sNe(e,t){var n={};return n.dsst=e.read_shift(2),e.l+=t-2,n}function cNe(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var n=e.read_shift(2);e.l+=4;var r=e.read_shift(1);return e.l+=3,r&7&&(t.level=r&7),r&32&&(t.hidden=!0),r&64&&(t.hpt=n/20),t}function lNe(e){var t=qMe(e);if(t.type!=2211)throw Error(`Invalid Future Record `+t.type);return e.read_shift(4)!==0}function uNe(e){return e.read_shift(2),e.read_shift(4)}function jJ(e,t,n){var r=0;n&&n.biff==2||(r=e.read_shift(2));var i=e.read_shift(2);return n&&n.biff==2&&(r=1-(i>>15),i&=32767),[{Unsynced:r&1,DyZero:(r&2)>>1,ExAsc:(r&4)>>2,ExDsc:(r&8)>>3},i]}function dNe(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2),i=e.read_shift(2),a=e.read_shift(2),o=e.read_shift(2),s=e.read_shift(2),c=e.read_shift(2),l=e.read_shift(2);return{Pos:[t,n],Dim:[r,i],Flags:a,CurTab:o,FirstTab:s,Selected:c,TabRatio:l}}function fNe(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:e.read_shift(2)&64}}function pNe(){}function mNe(e,t,n){var r={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return r.name=_J(e,0,n),r}function hNe(e,t,n){var r=wJ(e,t,n);return r.isst=e.read_shift(4),r}function gNe(e,t,n){n.biffguess&&n.biff==2&&(n.biff=5);var r=e.l+t,i=wJ(e,t,n);return i.val=yJ(e,r-e.l,n),i}function _Ne(e,t,n){return[e.read_shift(2),bJ(e,0,n)]}var vNe=bJ;function MJ(e,t,n){var r=e.l+t,i=n.biff==8||!n.biff?4:2,a=e.read_shift(i),o=e.read_shift(i),s=e.read_shift(2),c=e.read_shift(2);return e.l=r,{s:{r:a,c:s},e:{r:o,c}}}function yNe(e){var t=e.read_shift(2),n=e.read_shift(2),r=TJ(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}function bNe(e,t){for(var n=e.l+t-2,r=e.read_shift(2),i=e.read_shift(2),a=[];e.l<n;)a.push(TJ(e));if(e.l!==n)throw Error(`MulRK read error`);var o=e.read_shift(2);if(a.length!=o-i+1)throw Error(`MulRK length mismatch`);return{r,c:i,C:o,rkrec:a}}function xNe(e,t){for(var n=e.l+t-2,r=e.read_shift(2),i=e.read_shift(2),a=[];e.l<n;)a.push(e.read_shift(2));if(e.l!==n)throw Error(`MulBlank read error`);var o=e.read_shift(2);if(a.length!=o-i+1)throw Error(`MulBlank length mismatch`);return{r,c:i,C:o,ixfe:a}}function SNe(e,t,n,r){var i={},a=e.read_shift(4),o=e.read_shift(4),s=e.read_shift(4),c=e.read_shift(2);return i.patternType=bMe[s>>26],r.cellStyles?(i.alc=a&7,i.fWrap=a>>3&1,i.alcV=a>>4&7,i.fJustLast=a>>7&1,i.trot=a>>8&255,i.cIndent=a>>16&15,i.fShrinkToFit=a>>20&1,i.iReadOrder=a>>22&2,i.fAtrNum=a>>26&1,i.fAtrFnt=a>>27&1,i.fAtrAlc=a>>28&1,i.fAtrBdr=a>>29&1,i.fAtrPat=a>>30&1,i.fAtrProt=a>>31&1,i.dgLeft=o&15,i.dgRight=o>>4&15,i.dgTop=o>>8&15,i.dgBottom=o>>12&15,i.icvLeft=o>>16&127,i.icvRight=o>>23&127,i.grbitDiag=o>>30&3,i.icvTop=s&127,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=c&127,i.icvBack=c>>7&127,i.fsxButton=c>>14&1,i):i}function CNe(e,t,n){var r={};return r.ifnt=e.read_shift(2),r.numFmtId=e.read_shift(2),r.flags=e.read_shift(2),r.fStyle=r.flags>>2&1,t-=6,r.data=SNe(e,t,r.fStyle,n),r}function wNe(e){var t={};return t.ifnt=e.read_shift(1),e.l++,t.flags=e.read_shift(1),t.numFmtId=t.flags&63,t.flags>>=6,t.fStyle=0,t.data={},t}function TNe(e){var t={};return t.ifnt=e.read_shift(1),t.numFmtId=e.read_shift(1),t.flags=e.read_shift(2),t.fStyle=t.flags>>2&1,t.data={},t}function ENe(e){var t={};return t.ifnt=e.read_shift(1),t.numFmtId=e.read_shift(1),t.flags=e.read_shift(2),t.fStyle=t.flags>>2&1,t.data={},t}function DNe(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0&&t[0]--,t[1]!==0&&t[1]--,t[0]>7||t[1]>7)throw Error(`Bad Gutters: `+t.join(`|`));return t}function ONe(e,t,n){var r=wJ(e,6,n),i=gJ(e,2);return r.val=i,r.t=i===!0||i===!1?`b`:`e`,r}function kNe(e,t,n){n.biffguess&&n.biff==2&&(n.biff=5);var r=wJ(e,6,n);return r.val=Fq(e,8),r}var NJ=JMe;function ANe(e,t,n){var r=e.l+t,i=e.read_shift(2),a=e.read_shift(2);
119if(n.sbcch=a,a==1025||a==14849)return[a,i];if(a<1||a>255)throw Error(`Unexpected SupBook type: `+a);for(var o=vJ(e,a),s=[];r>e.l;)s.push(yJ(e));return[a,i,o,s]}function PJ(e,t,n){var r=e.read_shift(2),i,a={fBuiltIn:r&1,fWantAdvise:r>>>1&1,fWantPict:r>>>2&1,fOle:r>>>3&1,fOleLink:r>>>4&1,cf:r>>>5&1023,fIcon:r>>>15&1};return n.sbcch===14849&&(i=XMe(e,t-2,n)),a.body=i||e.read_shift(t-2),typeof i==`string`&&(a.Name=i),a}function FJ(e,t,n){var r=e.l+t,i=e.read_shift(2),a=e.read_shift(1),o=e.read_shift(1),s=e.read_shift(n&&n.biff==2?1:2),c=0;(!n||n.biff>=5)&&(n.biff!=5&&(e.l+=2),c=e.read_shift(2),n.biff==5&&(e.l+=2),e.l+=4);var l=vJ(e,o,n);i&32&&(l=Yq[l.charCodeAt(0)]);var u=r-e.l;n&&n.biff==2&&--u;var d=r==e.l||s===0||!(u>0)?[]:oLe(e,u,n,s);return{chKey:a,Name:l,itab:c,rgce:d}}function IJ(e,t,n){if(n.biff<8||!(n.biff>8)&&t==e[e.l]+ +(e[e.l+1]==3)+1)return jNe(e,t,n);for(var r=[],i=e.l+t,a=e.read_shift(n.biff>8?4:2);a--!==0;)r.push(YMe(e,n.biff>8?12:6,n));if(e.l!=i)throw Error(`Bad ExternSheet: `+e.l+` != `+i);return r}function jNe(e,t,n){e[e.l+1]==3&&e[e.l]++;var r=_J(e,t,n);return r.charCodeAt(0)==3?r.slice(1):r}function MNe(e,t,n){if(n.biff<8){e.l+=t;return}var r=e.read_shift(2),i=e.read_shift(2);return[vJ(e,r,n),vJ(e,i,n)]}function NNe(e,t,n){var r=DJ(e,6);e.l++;var i=e.read_shift(1);return t-=8,[sLe(e,t,n),i,r]}function PNe(e,t,n){var r=ZMe(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,iLe(e,t,n,r)]}function FNe(e){return[e.read_shift(4)!==0,e.read_shift(4)!==0,e.read_shift(4)]}function INe(e,t,n){var r=e.read_shift(2),i=e.read_shift(2),a=e.read_shift(2),o=e.read_shift(2),s=bJ(e,0,n);return[{r,c:i},s,o,a]}function LNe(e,t,n){if(n&&n.biff<8){var r=e.read_shift(2),i=e.read_shift(2);if(r==65535||r==-1)return;var a=e.read_shift(2),o=e.read_shift(Math.min(a,2048),`cpstr`);return[{r,c:i},o]}return INe(e,t,n)}function RNe(e,t){for(var n=[],r=e.read_shift(2);r--;)n.push(EJ(e,t));return n}function zNe(e,t,n){if(n&&n.biff<8)return VNe(e,t,n);var r=OJ(e,22);return{cmo:r,ft:tNe(e,t-22,r[1])}}var BNe={8:function(e,t){var n=e.l+t;e.l+=10;var r=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var i=e.read_shift(1);return e.l+=i,e.l=n,{fmt:r}}};function VNe(e,t,n){e.l+=4;var r=e.read_shift(2),i=e.read_shift(2),a=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var o=[];return o.push((BNe[r]||iq)(e,t,n)),{cmo:[i,r,a],ft:o}}function HNe(e,t,n){var r=e.l,i=``;try{e.l+=4;var a=(n.lastobj||{cmo:[0,0]}).cmo[1];[0,5,7,11,12,14].indexOf(a)==-1?e.l+=6:HMe(e,6,n);var o=e.read_shift(2);e.read_shift(2),mJ(e,2);var s=e.read_shift(2);e.l+=s;for(var c=1;c<e.lens.length-1;++c){if(e.l-r!=e.lens[c])throw Error(`TxO: bad continue record`);var l=e[e.l],u=vJ(e,e.lens[c+1]-e.lens[c]-1);if(i+=u,i.length>=(l?o:2*o))break}if(i.length!==o&&i.length!==o*2)throw Error(`cchText: `+o+` != `+i.length);return e.l=r+t,{t:i}}catch{return e.l=r+t,{t:i}}}function UNe(e,t){var n=EJ(e,8);return e.l+=16,[n,KMe(e,t-24)]}function WNe(e,t){e.read_shift(2);var n=EJ(e,8),r=e.read_shift((t-10)/2,`dbcs-cont`);return r=r.replace(WW,``),[n,r]}function GNe(e){var t=[0,0],n=e.read_shift(2);return t[0]=Gq[n]||n,n=e.read_shift(2),t[1]=Gq[n]||n,t}function KNe(e){for(var t=e.read_shift(2),n=[];t-->0;)n.push(CJ(e,8));return n}function qNe(e){for(var t=e.read_shift(2),n=[];t-->0;)n.push(CJ(e,8));return n}function JNe(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function LJ(e,t,n){if(!n.cellStyles)return iq(e,t);var r=n&&n.biff>=12?4:2,i=e.read_shift(r),a=e.read_shift(r),o=e.read_shift(r),s=e.read_shift(r),c=e.read_shift(2);r==2&&(e.l+=2);var l={s:i,e:a,w:o,ixfe:s,flags:c};return(n.biff>=5||!n.biff)&&(l.level=c>>8&7),l}function YNe(e,t){var n={};return t<32?n:(e.l+=16,n.header=Fq(e,8),n.footer=Fq(e,8),e.l+=2,n)}function XNe(e,t,n){var r={area:!1};if(n.biff!=5)return e.l+=t,r;var i=e.read_shift(1);return e.l+=3,i&16&&(r.area=!0),r}var ZNe=wJ,QNe=hJ,$Ne=yJ;function ePe(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,i}
119function tPe(e,t,n){n.biffguess&&n.biff==5&&(n.biff=2);var r=wJ(e,7,n),i=bJ(e,t-7,n);return r.t=`str`,r.val=i,r}function nPe(e,t,n){var r=wJ(e,7,n),i=Fq(e,8);return r.t=`n`,r.val=i,r}function rPe(e,t,n){var r=wJ(e,7,n),i=e.read_shift(2);return r.t=`n`,r.val=i,r}function iPe(e){var t=e.read_shift(1);return t===0?(e.l++,``):e.read_shift(t,`sbcs-cont`)}function aPe(e,t,n){var r=e.l+7,i=wJ(e,6,n);e.l=r;var a=gJ(e,2);return i.val=a,i.t=a===!0||a===!1?`b`:`e`,i}function oPe(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function sPe(e,t,n){var r=e.l+t,i=wJ(e,6,n),a=vJ(e,e.read_shift(2),n);return e.l=r,i.t=`str`,i.val=a,i}function cPe(e){var t=e.read_shift(4),n=e.read_shift(1),r=e.read_shift(n,`sbcs`);return r.length===0&&(r=`Sheet1`),{flags:t,name:r}}var lPe=[2,3,48,49,131,139,140,245],RJ=(function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=PG({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(t,n){var r=[],i=RW(1);switch(n.type){case`base64`:i=BW(PW(t));break;case`binary`:i=BW(t);break;case`buffer`:case`array`:i=t}rq(i,0);var a=i.read_shift(1),o=!!(a&136),s=!1,c=!1;switch(a){case 2:break;case 3:break;case 48:s=!0,o=!0;break;case 49:s=!0,o=!0;break;case 131:break;case 139:break;case 140:c=!0;break;case 245:break;default:throw Error(`DBF Unsupported Version: `+a.toString(16))}var l=0,u=521;a==2&&(l=i.read_shift(2)),i.l+=3,a!=2&&(l=i.read_shift(4)),l>1048576&&(l=1e6),a!=2&&(u=i.read_shift(2));var d=i.read_shift(2),f=n.codepage||1252;a!=2&&(i.l+=16,i.read_shift(1),i[i.l]!==0&&(f=e[i[i.l]]),i.l+=1,i.l+=2),c&&(i.l+=36);for(var p=[],m={},h=Math.min(i.length,a==2?521:u-10-(s?264:0)),g=c?32:11;i.l<h&&i[i.l]!=13;)switch(m={},m.name=(yW===void 0?VW(i.slice(i.l,i.l+g)):yW.utils.decode(f,i.slice(i.l,i.l+g))).replace(/[\u0000\r\n][\S\s]*$/g,``),i.l+=g,m.type=String.fromCharCode(i.read_shift(1)),a!=2&&!c&&(m.offset=i.read_shift(4)),m.len=i.read_shift(1),a==2&&(m.offset=i.read_shift(2)),m.dec=i.read_shift(1),m.name.length&&p.push(m),a!=2&&(i.l+=c?13:14),m.type){case`B`:(!s||m.len!=8)&&n.WTF&&console.log(`Skipping `+m.name+`:`+m.type);break;case`G`:case`P`:n.WTF&&console.log(`Skipping `+m.name+`:`+m.type);break;case`+`:case`0`:case`@`:case`C`:case`D`:case`F`:case`I`:case`L`:case`M`:case`N`:case`O`:case`T`:case`Y`:break;default:throw Error(`Unknown Field Type: `+m.type)}if(i[i.l]!==13&&(i.l=u-1),i.read_shift(1)!==13)throw Error(`DBF Terminator not found `+i.l+` `+i[i.l]);i.l=u;var _=0,v=0;for(r[0]=[],v=0;v!=p.length;++v)r[0][v]=p[v].name;for(;l-->0;){if(i[i.l]===42){i.l+=d;continue}for(++i.l,r[++_]=[],v=0,v=0;v!=p.length;++v){var y=i.slice(i.l,i.l+p[v].len);i.l+=p[v].len,rq(y,0);var b=yW===void 0?VW(y):yW.utils.decode(f,y);switch(p[v].type){case`C`:b.trim().length&&(r[_][v]=b.replace(/([^\s])\s+$/,`$1`));break;case`D`:b.length===8?(r[_][v]=new Date(Date.UTC(+b.slice(0,4),b.slice(4,6)-1,+b.slice(6,8),0,0,0,0)),n&&n.UTC||(r[_][v]=GG(r[_][v]))):r[_][v]=b;break;case`F`:r[_][v]=parseFloat(b.trim());break;case`+`:case`I`:r[_][v]=c?y.read_shift(-4,`i`)^2147483648:y.read_shift(4,`i`);break;case`L`:switch(b.trim().toUpperCase()){case`Y`:case`T`:r[_][v]=!0;break;case`N`:case`F`:r[_][v]=!1;break;case``:case`\0`:case`?`:break;default:throw Error(`DBF Unrecognized L:|`+b+`|`)}break;case`M`:if(!o)throw Error(`DBF Unexpected MEMO for type `+a.toString(16));r[_][v]=`##MEMO##`+(c?parseInt(b.trim(),10):y.read_shift(4));break;case`N`:b=b.replace(/\u0000/g,``).trim(),b&&b!=`.`&&(r[_][v]=+b||0);break;case`@`:r[_][v]=new Date(y.read_shift(-8,`f`)-621356832e5);break;case`T`:var x=y.read_shift(4),S=y.read_shift(4);if(x==0&&S==0)break;r[_][v]=new Date((x-2440588)*864e5+S),n&&n.UTC||(r[_][v]=GG(r[_][v]));break;case`Y`:r[_][v]=y.read_shift(4,`i`)/1e4+y.read_shift(4,`i`)/1e4*2**32;break;case`O`:r[_][v]=-y.read_shift(-8,`f`);break;case`B`:if(s&&p[v].len==8){r[_][v]=y.read_shift(8,`f`);break}case`G`:case`P`:y.l+=p[v].len;break;case`0`:if(p[v].name===`_NullFlags`)break;default:throw Error(`DBF Unsupported data type `+p[v].type)}}}
vendor: 33,714 bytes, lines 119-157
119if(a!=2&&i.l<i.length&&i[i.l++]!=26)throw Error(`DBF EOF Marker missing `+(i.l-1)+` of `+i.length+` `+i[i.l-1].toString(16));return n&&n.sheetRows&&(r=r.slice(0,n.sheetRows)),n.DBF=p,r}function r(e,t){var r=t||{};r.dateNF||=`yyyymmdd`;var i=Tq(n(e,r),r);return i[`!cols`]=r.DBF.map(function(e){return{wch:e.len,DBF:e}}),delete r.DBF,i}function i(e,t){try{var n=Cq(r(e,t),t);return n.bookType=`dbf`,n}catch(e){if(t&&t.WTF)throw e}return{SheetNames:[],Sheets:{}}}var a={B:8,C:250,L:1,D:8,"?":0,"":0};function o(n,r){if(!n[`!ref`])throw Error(`Cannot export empty sheet to DBF`);var i=r||{},o=_W;if(+i.codepage>=0&&SW(+i.codepage),i.type==`string`)throw Error(`Cannot write DBF to JS string`);var s=sq(),c=PX(n,{header:1,raw:!0,cellDates:!0}),l=c[0],u=c.slice(1),d=n[`!cols`]||[],f=0,p=0,m=0,h=1;for(f=0;f<l.length;++f){if(((d[f]||{}).DBF||{}).name){l[f]=d[f].DBF.name,++m;continue}if(l[f]!=null){if(++m,typeof l[f]==`number`&&(l[f]=l[f].toString(10)),typeof l[f]!=`string`)throw Error(`DBF Invalid column name `+l[f]+` |`+typeof l[f]+`|`);if(l.indexOf(l[f])!==f){for(p=0;p<1024;++p)if(l.indexOf(l[f]+`_`+p)==-1){l[f]+=`_`+p;break}}}}var g=bq(n[`!ref`]),_=[],v=[],y=[];for(f=0;f<=g.e.c-g.s.c;++f){var b=``,x=``,S=0,C=[];for(p=0;p<u.length;++p)u[p][f]!=null&&C.push(u[p][f]);if(C.length==0||l[f]==null){_[f]=`?`;continue}for(p=0;p<C.length;++p){switch(typeof C[p]){case`number`:x=`B`;break;case`string`:x=`C`;break;case`boolean`:x=`L`;break;case`object`:x=C[p]instanceof Date?`D`:`C`;break;default:x=`C`}S=Math.max(S,(yW!==void 0&&typeof C[p]==`string`?yW.utils.encode(vW,C[p]):String(C[p])).length),b=b&&b!=x?`C`:x}S>250&&(S=250),x=((d[f]||{}).DBF||{}).type,x==`C`&&d[f].DBF.len>S&&(S=d[f].DBF.len),b==`B`&&x==`N`&&(b=`N`,y[f]=d[f].DBF.dec,S=d[f].DBF.len),v[f]=b==`C`||x==`N`?S:a[b]||0,h+=v[f],_[f]=b}var w=s.next(32);for(w.write_shift(4,318902576),w.write_shift(4,u.length),w.write_shift(2,296+32*m),w.write_shift(2,h),f=0;f<4;++f)w.write_shift(4,0);var T=+t[_W]||3;for(w.write_shift(4,0|T<<8),e[T]!=+i.codepage&&(i.codepage&&console.error(`DBF Unsupported codepage `+_W+`, using 1252`),_W=1252),f=0,p=0;f<l.length;++f)if(l[f]!=null){var E=s.next(32),D=(l[f].slice(-10)+`\0\0\0\0\0\0\0\0\0\0\0`).slice(0,11);E.write_shift(1,D,`sbcs`),E.write_shift(1,_[f]==`?`?`C`:_[f],`sbcs`),E.write_shift(4,p),E.write_shift(1,v[f]||a[_[f]]||0),E.write_shift(1,y[f]||0),E.write_shift(1,2),E.write_shift(4,0),E.write_shift(1,0),E.write_shift(4,0),E.write_shift(4,0),p+=v[f]||a[_[f]]||0}var O=s.next(264);for(O.write_shift(4,13),f=0;f<65;++f)O.write_shift(4,0);for(f=0;f<u.length;++f){var k=s.next(h);for(k.write_shift(1,0),p=0;p<l.length;++p)if(l[p]!=null)switch(_[p]){case`L`:k.write_shift(1,u[f][p]==null?63:u[f][p]?84:70);break;case`B`:k.write_shift(8,u[f][p]||0,`f`);break;case`N`:var A=`0`;for(typeof u[f][p]==`number`&&(A=u[f][p].toFixed(y[p]||0)),A.length>v[p]&&(A=A.slice(0,v[p])),m=0;m<v[p]-A.length;++m)k.write_shift(1,32);k.write_shift(1,A,`sbcs`);break;case`D`:u[f][p]?(k.write_shift(4,(`0000`+u[f][p].getFullYear()).slice(-4),`sbcs`),k.write_shift(2,(`00`+(u[f][p].getMonth()+1)).slice(-2),`sbcs`),k.write_shift(2,(`00`+u[f][p].getDate()).slice(-2),`sbcs`)):k.write_shift(8,`00000000`,`sbcs`);break;case`C`:var j=k.l,M=String(u[f][p]==null?``:u[f][p]).slice(0,v[p]);for(k.write_shift(1,M,`cpstr`),j+=v[p]-k.l,m=0;m<j;++m)k.write_shift(1,32)}}return _W=o,s.next(1).write_shift(1,26),s.end()}return{to_workbook:i,to_sheet:r,from_sheet:o}})(),uPe=(function(){var e={AA:`Ã`,BA:`Ã`,CA:`Ã`,DA:195,HA:`Ã`,JA:197,AE:`Ã`,BE:`Ã`,CE:`Ã`,HE:`Ã`,AI:`Ã`,BI:`Ã`,CI:`Ã`,HI:`Ã`,AO:`Ã`,BO:`Ã`,CO:`Ã`,DO:213,HO:`Ã`,AU:`Ã`,BU:`Ã`,CU:`Ã`,HU:`Ã`,Aa:`à `,Ba:`á`,Ca:`â`,Da:227,Ha:`ä`,Ja:229,Ae:`è`,Be:`é`,Ce:`ê`,He:`ë`,Ai:`ì`,Bi:`Ã`,Ci:`î`,Hi:`ï`,Ao:`ò`,Bo:`ó`,Co:`ô`,Do:245,Ho:`ö`,Au:`ù`,Bu:`ú`,Cu:`û`,Hu:`ü`,KC:`Ã`,Kc:`ç`,q:`æ`,z:`Å`,a:`Ã`,j:`Å`,DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=RegExp(`\x1BN(`+NG(e).join(`|`).replace(/\|\|\|/,`|\\||`).replace(/([?()+])/g,`\\$1`).replace(`{`,`\\{`)+`|\\|)`,`gm`);try{t=RegExp(`\x1BN(`+NG(e).join(`|`).replace(/\|\|\|/,`|\\||`).replace(/([?()+])/g,`\\$1`)+`|\\|)`,`gm`)}catch{}var n=function(t,n){var r=e[n];return typeof r==`number`?kW(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return r==59?e:kW(r)};e[`|`]=254;var i=function(e){return e.replace(/\n/g,`\x1B :`).replace(/\r/g,`\x1B =`)};function a(e,t){switch(t.type){case`base64`:return o(PW(e),t);case`binary`:return o(e,t);case`buffer`:return o(FW&&Buffer.isBuffer(e)?e.toString(`binary`):VW(e),t);case`array`:return o(BG(e),t)}throw Error(`Unrecognized type `+t.type)}function o(e,i){var a=e.split(/[\n\r]+/),o=-1,s=-1,c=0,l=0,u=[],d=[],f=null,p={},m=[],h=[],g=[],_=0,v,y={Workbook:{WBProps:{},Names:[]}};for(+i.codepage>=0&&SW(+i.codepage);c!==a.length;++c){_=0;var b=a[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),x=b.replace(/;;/g,`\0`).split(`;`).map(function(e){return e.replace(/\u0000/g,`;`)}),S=x[0],C;if(b.length>0)switch(S){case`ID`:break;case`E`:break;case`B`:break;case`O`:for(l=1;l<x.length;++l)switch(x[l].charAt(0)){case`V`:var w=parseInt(x[l].slice(1),10);w>=1&&w<=4&&(y.Workbook.WBProps.date1904=!0);break}break;case`W`:break;case`P`:x[1].charAt(0)===`P`&&d.push(b.slice(3).replace(/;;/g,`;`));break;case`NN`:var T={Sheet:0};for(l=1;l<x.length;++l)switch(x[l].charAt(0)){case`N`:T.Name=x[l].slice(1);break;case`E`:T.Ref=(i&&i.sheet||`Sheet1`)+`!`+dY(x[l].slice(1));break}y.Workbook.Names.push(T);break;case`C`:var E=!1,D=!1,O=!1,k=!1,A=-1,j=-1,M=``,N=`z`,P=``;for(l=1;l<x.length;++l)switch(x[l].charAt(0)){case`A`:P=x[l].slice(1);break;case`X`:s=parseInt(x[l].slice(1),10)-1,D=!0;break;case`Y`:for(o=parseInt(x[l].slice(1),10)-1,D||(s=0),v=u.length;v<=o;++v)u[v]=[];break;case`K`:C=x[l].slice(1),C.charAt(0)===`"`?(C=C.slice(1,C.length-1),N=`s`):C===`TRUE`||C===`FALSE`?(C=C===`TRUE`,N=`b`):C.charAt(0)==`#`&&Jq[C]!=null?(N=`e`,C=Jq[C]):isNaN(UG(C))||(C=UG(C),N=`n`,f!==null&&CG(f)&&i.cellDates&&(C=LG(y.Workbook.WBProps.date1904?C+1462:C),N=typeof C==`number`?`n`:`d`)),yW!==void 0&&typeof C==`string`&&(i||{}).type!=`string`&&(i||{}).codepage&&(C=yW.utils.decode(i.codepage,C)),E=!0;break;case`E`:k=!0,M=dY(x[l].slice(1),{r:o,c:s});break;case`S`:O=!0;break;case`G`:break;case`R`:A=parseInt(x[l].slice(1),10)-1;break;case`C`:j=parseInt(x[l].slice(1),10)-1;break;default:if(i&&i.WTF)throw Error(`SYLK bad record `+b)}if(E&&(u[o][s]?(u[o][s].t=N,u[o][s].v=C):u[o][s]={t:N,v:C},f&&(u[o][s].z=f),i.cellText!==!1&&f&&(u[o][s].w=EG(u[o][s].z,u[o][s].v,{date1904:y.Workbook.WBProps.date1904})),f=null),O){if(k)throw Error(`SYLK shared formula cannot have own formula`);var F=A>-1&&u[A][j];if(!F||!F[1])throw Error(`SYLK shared formula cannot find base`);M=pY(F[1],{r:o-A,c:s-j})}M&&(u[o][s]?u[o][s].f=M:u[o][s]={t:`n`,f:M}),P&&(u[o][s]||(u[o][s]={t:`z`}),u[o][s].c=[{a:`SheetJSYLK`,t:P}]);break;case`F`:var I=0;for(l=1;l<x.length;++l)switch(x[l].charAt(0)){case`X`:s=parseInt(x[l].slice(1),10)-1,++I;break;case`Y`:for(o=parseInt(x[l].slice(1),10)-1,v=u.length;v<=o;++v)u[v]=[];break;case`M`:_=parseInt(x[l].slice(1),10)/20;break;case`F`:break;case`G`:break;case`P`:f=d[parseInt(x[l].slice(1),10)];break;case`S`:break;case`D`:break;case`N`:break;case`W`:for(g=x[l].slice(1).split(` `),v=parseInt(g[0],10);v<=parseInt(g[1],10);++v)_=parseInt(g[2],10),h[v-1]=_===0?{hidden:!0}:{wch:_};break;case`C`:s=parseInt(x[l].slice(1),10)-1,h[s]||(h[s]={});break;case`R`:o=parseInt(x[l].slice(1),10)-1,m[o]||(m[o]={}),_>0?(m[o].hpt=_,m[o].hpx=oY(_)):_===0&&(m[o].hidden=!0);break;default:if(i&&i.WTF)throw Error(`SYLK bad record `+b)}I<1&&(f=null);break;default:if(i&&i.WTF)throw Error(`SYLK bad record `+b)}}return m.length>0&&(p[`!rows`]=m),h.length>0&&(p[`!cols`]=h),h.forEach(function(e){rY(e)}),i&&i.sheetRows&&(u=u.slice(0,i.sheetRows)),[u,p,y]}function s(e,t){var n=a(e,t),r=n[0],i=n[1],o=n[2],s=VG(t);s.date1904=(((o||{}).Workbook||{}).WBProps||{}).date1904;var c=Tq(r,s);NG(i).forEach(function(e){c[e]=i[e]});var l=Cq(c,t);return NG(o).forEach(function(e){l[e]=o[e]}),l.bookType=`sylk`,l}function c(e,t,n,r,i,a){var o=`C;Y`+(n+1)+`;X`+(r+1)+`;K`;switch(e.t){case`n`:o+=isFinite(e.v)?e.v||0:qq[isNaN(e.v)?36:7],e.f&&!e.F&&(o+=`;E`+UFe(e.f,{r:n,c:r}));break;case`b`:o+=e.v?`TRUE`:`FALSE`;break;case`e`:o+=e.w||qq[e.v]||e.v;break;case`d`:o+=IG(zG(e.v,a),a);break;case`s`:o+=`"`+(e.v==null?``:String(e.v)).replace(/"/g,``).replace(/;/g,`;;`)+`"`}return o}function l(e,t,n){var r=`C;Y`+(t+1)+`;X`+(n+1)+`;A`;return r+=i(e.map(function(e){return e.t}).join(``)),r}function u(e,t){t.forEach(function(t,n){var r=`F;W`+(n+1)+` `+(n+1)+` `;t.hidden?r+=`0`:(typeof t.width==`number`&&!t.wpx&&(t.wpx=QJ(t.width)),typeof t.wpx==`number`&&!t.wch&&(t.wch=$J(t.wpx)),typeof t.wch==`number`&&(r+=Math.round(t.wch))),r.charAt(r.length-1)!=` `&&e.push(r)})}function d(e,t){t.forEach(function(t,n){var r=`F;`;t.hidden?r+=`M0;`:t.hpt?r+=`M`+20*t.hpt+`;`:t.hpx&&(r+=`M`+20*aY(t.hpx)+`;`),r.length>2&&e.push(r+`R`+(n+1))})}function f(e,t,n){t||={},t._formats=[`General`];var r=[`ID;PSheetJS;N;E`],i=[],a=bq(e[`!ref`]||`A1`),o,s=e[`!data`]!=null,f=`\r 120`,p=(((n||{}).Workbook||{}).WBProps||{}).date1904,m=`General`;r.push(`P;PGeneral`);var h=a.s.r,g=a.s.c,_=[];if(e[`!ref`]){for(h=a.s.r;h<=a.e.r;++h)if(!(s&&!e[`!data`][h])){for(_=[],g=a.s.c;g<=a.e.c;++g)o=s?e[`!data`][h][g]:e[hq(g)+pq(h)],!(!o||!o.c)&&_.push(l(o.c,h,g));_.length&&i.push(_.join(f))}}if(e[`!ref`]){for(h=a.s.r;h<=a.e.r;++h)if(!(s&&!e[`!data`][h])){for(_=[],g=a.s.c;g<=a.e.c;++g)if(o=s?e[`!data`][h][g]:e[hq(g)+pq(h)],!(!o||o.v==null&&(!o.f||o.F))){if((o.z||(o.t==`d`?tG[14]:`General`))!=m){var v=t._formats.indexOf(o.z);v==-1&&(t._formats.push(o.z),v=t._formats.length-1,r.push(`P;P`+o.z.replace(/;/g,`;;`))),_.push(`F;P`+v+`;Y`+(h+1)+`;X`+(g+1))}_.push(c(o,e,h,g,t,p))}i.push(_.join(f))}}return r.push(`F;P0;DG0G8;M255`),e[`!cols`]&&u(r,e[`!cols`]),e[`!rows`]&&d(r,e[`!rows`]),e[`!ref`]&&r.push(`B;Y`+(a.e.r-a.s.r+1)+`;X`+(a.e.c-a.s.c+1)+`;D`+[a.s.c,a.s.r,a.e.c,a.e.r].join(` `)),r.push(`O;L;D;B`+(p?`;V4`:``)+`;K47;G100 0.001`),delete t._formats,r.join(f)+f+i.join(f)+f+`E`+f}return{to_workbook:s,from_sheet:f}})(),dPe=(function(){function e(e,n){switch(n.type){case`base64`:return t(PW(e),n);case`binary`:return t(e,n);case`buffer`:return t(FW&&Buffer.isBuffer(e)?e.toString(`binary`):VW(e),n);case`array`:return t(BG(e),n)}throw Error(`Unrecognized type `+n.type)}function t(e,t){for(var n=e.split(` 121`),r=-1,i=-1,a=0,o=[];a!==n.length;++a){if(n[a].trim()===`BOT`){o[++r]=[],i=0;continue}if(!(r<0)){var s=n[a].trim().split(`,`),c=s[0],l=s[1];++a;for(var u=n[a]||``;(u.match(/["]/g)||[]).length&1&&a<n.length-1;)u+=` 122`+n[++a];switch(u=u.trim(),+c){case-1:if(u===`BOT`){o[++r]=[],i=0;continue}if(u!==`EOD`)throw Error(`Unrecognized DIF special command `+u);break;case 0:u===`TRUE`?o[r][i]=!0:u===`FALSE`?o[r][i]=!1:isNaN(UG(l))?isNaN(WG(l).getDate())?o[r][i]=l:(o[r][i]=zG(l),t&&t.UTC||(o[r][i]=GG(o[r][i]))):o[r][i]=UG(l),++i;break;case 1:u=u.slice(1,u.length-1),u=u.replace(/""/g,`"`),jW&&u&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),o[r][i++]=u===``?null:u}if(u===`EOD`)break}}return t&&t.sheetRows&&(o=o.slice(0,t.sheetRows)),o}function n(t,n){return Tq(e(t,n),n)}function r(e,t){var r=Cq(n(e,t),t);return r.bookType=`dif`,r}function i(e,t){return`0,`+String(e)+`\r 123`+t}function a(e){return`1,0\r 124"`+e.replace(/"/g,`""`)+`"`}function o(e){var t=jW;if(!e[`!ref`])throw Error(`Cannot export empty sheet to DIF`);for(var n=bq(e[`!ref`]),r=e[`!data`]!=null,o=[`TABLE\r 1250,1\r 126"sheetjs"\r 127`,`VECTORS\r 1280,`+(n.e.r-n.s.r+1)+`\r 129""\r 130`,`TUPLES\r 1310,`+(n.e.c-n.s.c+1)+`\r 132""\r 133`,`DATA\r 1340,0\r 135""\r 136`],s=n.s.r;s<=n.e.r;++s){for(var c=r?e[`!data`][s]:[],l=`-1,0\r 137BOT\r 138`,u=n.s.c;u<=n.e.c;++u){var d=r?c&&c[u]:e[_q({r:s,c:u})];if(d==null){l+=`1,0\r 139""\r 140`;continue}switch(d.t){case`n`:t?d.w==null?d.v==null?d.f!=null&&!d.F?l+=a(`=`+d.f):l+=`1,0\r 141""`:l+=i(d.v,`V`):l+=`0,`+d.w+`\r 142V`:d.v==null?l+=`1,0\r 143""`:l+=i(d.v,`V`);break;case`b`:l+=d.v?i(1,`TRUE`):i(0,`FALSE`);break;case`s`:l+=a(!t||isNaN(+d.v)?d.v:`="`+d.v+`"`);break;case`d`:d.w||=EG(d.z||tG[14],IG(zG(d.v))),l+=t?i(d.w,`V`):a(d.w);break;default:l+=`1,0\r 144""`}l+=`\r 145`}o.push(l)}return o.join(``)+`-1,0\r 146EOD`}return{to_workbook:r,to_sheet:n,from_sheet:o}})(),fPe=(function(){function e(e){return e.replace(/\\b/g,`\\`).replace(/\\c/g,`:`).replace(/\\n/g,` 147`)}function t(e){return e.replace(/\\/g,`\\b`).replace(/:/g,`\\c`).replace(/\n/g,`\\n`)}function n(t,n){for(var r=t.split(` 148`),i=-1,a=-1,o=0,s=[];o!==r.length;++o){var c=r[o].trim().split(`:`);if(c[0]===`cell`){var l=gq(c[1]);if(s.length<=l.r)for(i=s.length;i<=l.r;++i)s[i]||(s[i]=[]);switch(i=l.r,a=l.c,c[2]){case`t`:s[i][a]=e(c[3]);break;case`v`:s[i][a]=+c[3];break;case`vtf`:var u=c[c.length-1];case`vtc`:switch(c[3]){case`nl`:s[i][a]=!!+c[4];break;default:s[i][a]=c[c.length-1].charAt(0)==`#`?{t:`e`,v:Jq[c[c.length-1]]}:+c[4]}c[2]==`vtf`&&(s[i][a]=[s[i][a],u])}}}return n&&n.sheetRows&&(s=s.slice(0,n.sheetRows)),s}function r(e,t){return Tq(n(e,t),t)}function i(e,t){return Cq(r(e,t),t)}var a=[`socialcalc:version:1.5`,`MIME-Version: 1.0`,`Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave`].join(` 149`),o=[`--SocialCalcSpreadsheetControlSave`,`Content-type: text/plain; charset=UTF-8`].join(` 150`)+` 151`,s=[`# SocialCalc Spreadsheet Control Save`,`part:sheet`].join(` 152`),c=`--SocialCalcSpreadsheetControlSave--`;function l(e){if(!e||!e[`!ref`])return``;for(var n=[],r=[],i,a=``,o=vq(e[`!ref`]),s=e[`!data`]!=null,c=o.s.r;c<=o.e.r;++c)for(var l=o.s.c;l<=o.e.c;++l)if(a=_q({r:c,c:l}),i=s?(e[`!data`][c]||[])[l]:e[a],!(!i||i.v==null||i.t===`z`)){switch(r=[`cell`,a,`t`],i.t){case`s`:r.push(t(i.v));break;case`b`:r[2]=`vt`+(i.f?`f`:`c`),r[3]=`nl`,r[4]=i.v?`1`:`0`,r[5]=t(i.f||(i.v?`TRUE`:`FALSE`));break;case`d`:var u=IG(zG(i.v));r[2]=`vtc`,r[3]=`nd`,r[4]=``+u,r[5]=i.w||EG(i.z||tG[14],u);break;case`n`:isFinite(i.v)?i.f?(r[2]=`vtf`,r[3]=`n`,r[4]=i.v,r[5]=t(i.f)):(r[2]=`v`,r[3]=i.v):(r[2]=`vt`+(i.f?`f`:`c`),r[3]=`e`+qq[isNaN(i.v)?36:7],r[4]=`0`,r[5]=i.f||r[3].slice(1),r[6]=`e`,r[7]=r[3].slice(1));break;case`e`:continue}n.push(r.join(`:`))}return n.push(`sheet:c:`+(o.e.c-o.s.c+1)+`:r:`+(o.e.r-o.s.r+1)+`:tvf:1`),n.push(`valueformat:1:text-wiki`),n.join(` 153`)}function u(e){return[a,o,s,o,l(e),c].join(` 154`)}return{to_workbook:i,to_sheet:r,from_sheet:u}})(),zJ=(function(){function e(e,t,n,r,i){i.raw?t[n][r]=e:e===``||(e===`TRUE`?t[n][r]=!0:e===`FALSE`?t[n][r]=!1:isNaN(UG(e))?isNaN(WG(e).getDate())?e.charCodeAt(0)==35&&Jq[e]!=null?t[n][r]={t:`e`,v:Jq[e],w:e}:t[n][r]=e:t[n][r]=zG(e):t[n][r]=UG(e))}function t(t,n){var r=n||{},i=[];if(!t||t.length===0)return i;for(var a=t.split(/[\r\n]/),o=a.length-1;o>=0&&a[o].length===0;)--o;for(var s=10,c=0,l=0;l<=o;++l)c=a[l].indexOf(` `),c==-1?c=a[l].length:c++,s=Math.max(s,c);for(l=0;l<=o;++l){i[l]=[];var u=0;for(e(a[l].slice(0,s).trim(),i,l,u,r),u=1;u<=(a[l].length-s)/10+1;++u)e(a[l].slice(s+(u-1)*10,s+u*10).trim(),i,l,u,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}var n={44:`,`,9:` `,59:`;`,124:`|`},r={44:3,9:2,59:1,124:0};function i(e){for(var t={},i=!1,a=0,o=0;a<e.length;++a)(o=e.charCodeAt(a))==34?i=!i:!i&&o in n&&(t[o]=(t[o]||0)+1);for(a in o=[],t)Object.prototype.hasOwnProperty.call(t,a)&&o.push([t[a],a]);if(!o.length)for(a in t=r,t)Object.prototype.hasOwnProperty.call(t,a)&&o.push([t[a],a]);return o.sort(function(e,t){return e[0]-t[0]||r[e[1]]-r[t[1]]}),n[o.pop()[1]]||44}function a(e,t){var n=t||{},r=``;AW!=null&&n.dense==null&&(n.dense=AW);var a={};n.dense&&(a[`!data`]=[]);var o={s:{c:0,r:0},e:{c:0,r:0}};e.slice(0,4)==`sep=`?e.charCodeAt(5)==13&&e.charCodeAt(6)==10?(r=e.charAt(4),e=e.slice(7)):e.charCodeAt(5)==13||e.charCodeAt(5)==10?(r=e.charAt(4),e=e.slice(6)):r=i(e.slice(0,1024)):r=n&&n.FS?n.FS:i(e.slice(0,1024));var s=0,c=0,l=0,u=0,d=0,f=r.charCodeAt(0),p=!1,m=0,h=e.charCodeAt(0),g=n.dateNF==null?null:sje(n.dateNF);function _(){var t=e.slice(u,d);t.slice(-1)==`\r`&&(t=t.slice(0,-1));var r={};if(t.charAt(0)==`"`&&t.charAt(t.length-1)==`"`&&(t=t.slice(1,-1).replace(/""/g,`"`)),n.cellText!==!1&&(r.w=t),t.length===0?r.t=`z`:n.raw||t.trim().length===0?(r.t=`s`,r.v=t):t.charCodeAt(0)==61?t.charCodeAt(1)==34&&t.charCodeAt(t.length-1)==34?(r.t=`s`,r.v=t.slice(2,-1).replace(/""/g,`"`)):WFe(t)?(r.t=`s`,r.f=t.slice(1),r.v=t):(r.t=`s`,r.v=t):t==`TRUE`?(r.t=`b`,r.v=!0):t==`FALSE`?(r.t=`b`,r.v=!1):isNaN(l=UG(t))?!isNaN((l=WG(t)).getDate())||g&&t.match(g)?(r.z=n.dateNF||tG[14],g&&t.match(g)?(l=zG(cje(t,n.dateNF,t.match(g)||[])),n&&n.UTC===!1&&(l=GG(l))):n&&n.UTC===!1?l=GG(l):n.cellText!==!1&&n.dateNF&&(r.w=EG(r.z,l)),n.cellDates?(r.t=`d`,r.v=l):(r.t=`n`,r.v=IG(l)),n.cellNF||delete r.z):t.charCodeAt(0)==35&&Jq[t]!=null?(r.t=`e`,r.w=t,r.v=Jq[t]):(r.t=`s`,r.v=t):(r.t=`n`,r.v=l),r.t==`z`||(n.dense?(a[`!data`][s]||(a[`!data`][s]=[]),a[`!data`][s][c]=r):a[_q({c,r:s})]=r),u=d+1,h=e.charCodeAt(u),o.e.c<c&&(o.e.c=c),o.e.r<s&&(o.e.r=s),m==f)++c;else if(c=0,++s,n.sheetRows&&n.sheetRows<=s)return!0}outer:for(;d<e.length;++d)switch(m=e.charCodeAt(d)){case 34:h===34&&(p=!p);break;case 13:if(p)break;e.charCodeAt(d+1)==10&&++d;case f:case 10:if(!p&&_())break outer;break;default:break}return d-u>0&&_(),a[`!ref`]=yq(o),a}function o(e,n){return!(n&&n.PRN)||n.FS||e.slice(0,4)==`sep=`||e.indexOf(` `)>=0||e.indexOf(`,`)>=0||e.indexOf(`;`)>=0?a(e,n):Tq(t(e,n),n)}function s(e,t){var n=``,r=t.type==`string`?[0,0,0,0]:AX(e,t);switch(t.type){case`base64`:n=PW(e);break;case`binary`:n=e;break;case`buffer`:n=t.codepage==65001?e.toString(`utf8`):t.codepage&&yW!==void 0?yW.utils.decode(t.codepage,e):FW&&Buffer.isBuffer(e)?e.toString(`binary`):VW(e);break;case`array`:n=BG(e);break;case`string`:n=e;break;default:throw Error(`Unrecognized type `+t.type)}return r[0]==239&&r[1]==187&&r[2]==191?n=wK(n.slice(3)):t.type!=`string`&&t.type!=`buffer`&&t.codepage==65001?n=wK(n):t.type==`binary`&&yW!==void 0&&t.codepage&&(n=yW.utils.decode(t.codepage,yW.utils.encode(28591,n))),n.slice(0,19)==`socialcalc:version:`?fPe.to_sheet(t.type==`string`?n:wK(n),t):o(n,t)}function c(e,t){return Cq(s(e,t),t)}function l(e){var t=[];if(!e[`!ref`])return``;for(var n=bq(e[`!ref`]),r,i=e[`!data`]!=null,a=n.s.r;a<=n.e.r;++a){for(var o=[],s=n.s.c;s<=n.e.c;++s){var c=_q({r:a,c:s});if(r=i?(e[`!data`][a]||[])[s]:e[c],!r||r.v==null){o.push(` `);continue}for(var l=(r.w||(Sq(r),r.w)||``).slice(0,10);l.length<10;)l+=` `;o.push(l+(s===0?` `:``))}t.push(o.join(``))}return t.join(` 155`)}return{to_workbook:c,to_sheet:s,from_sheet:l}})();function pPe(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=uPe.to_workbook(e,n);return n.WTF=r,i}catch(i){if(n.WTF=r,i.message.indexOf(`SYLK bad record ID`)==-1&&r)throw i;return zJ.to_workbook(e,t)}}var BJ=(function(){function e(e,t,n){if(e){rq(e,e.l||0);for(var r=n.Enum||z;e.l<e.length;){var i=e.read_shift(2),a=r[i]||r[65535],o=e.read_shift(2),s=e.l+o,c=a.f&&a.f(e,o,n);if(e.l=s,t(c,a,i))return}}}function t(e,t){switch(t.type){case`base64`:return r(BW(PW(e)),t);case`binary`:return r(BW(e),t);case`buffer`:case`array`:return r(e,t)}throw`Unsupported type `+t.type}var n=[`mmmm`,`dd-mmm-yyyy`,`dd-mmm`,`mmm-yyyy`,`@`,`mm/dd`,`hh:mm:ss AM/PM`,`hh:mm AM/PM`,`mm/dd/yyyy`,`mm/dd`,`hh:mm:ss`,`hh:mm`];function r(t,r){if(!t)return t;var i=r||{};AW!=null&&i.dense==null&&(i.dense=AW);var a={},o=`Sheet1`,s=``,c=0,l={},u=[],d=[],f=[];i.dense&&(f=a[`!data`]=[]);var p={s:{r:0,c:0},e:{r:0,c:0}},m=i.sheetRows||0,h={};if(t[4]==81&&t[5]==80&&t[6]==87)return te(t,r);if(t[2]==0&&(t[3]==8||t[3]==9)&&t.length>=16&&t[14]==5&&t[15]===108)throw Error(`Unsupported Works 3 for Mac file`);if(t[2]==2)i.Enum=z,e(t,function(e,t,r){switch(r){case 0:i.vers=e,e>=4096&&(i.qpro=!0);break;case 255:i.vers=e,i.works=!0;break;case 6:p=e;break;case 204:e&&(s=e);break;case 222:s=e;break;case 15:case 51:(!i.qpro&&!i.works||r==51)&&e[1].v.charCodeAt(0)<48&&(e[1].v=e[1].v.slice(1)),(i.works||i.works2)&&(e[1].v=e[1].v.replace(/\r\n/g,` 156`));case 13:case 14:case 16:(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15&&(e[1].z=i.dateNF||n[(e[2]&15)-1]||tG[14],i.cellDates&&(e[1].v=LG(e[1].v),e[1].t=typeof e[1].v==`number`?`n`:`d`)),i.qpro&&e[3]>c&&(a[`!ref`]=yq(p),l[o]=a,u.push(o),a={},i.dense&&(f=a[`!data`]=[]),p={s:{r:0,c:0},e:{r:0,c:0}},c=e[3],o=s||`Sheet`+(c+1),s=``);var d=i.dense?(f[e[0].r]||[])[e[0].c]:a[_q(e[0])];if(d){d.t=e[1].t,d.v=e[1].v,e[1].z!=null&&(d.z=e[1].z),e[1].f!=null&&(d.f=e[1].f),h=d;break}i.dense?(f[e[0].r]||(f[e[0].r]=[]),f[e[0].r][e[0].c]=e[1]):a[_q(e[0])]=e[1],h=e[1];break;case 21509:i.works2=!0;break;case 21506:e==5281&&(h.z=`hh:mm:ss`,i.cellDates&&h.t==`n`&&(h.v=LG(h.v),h.t=typeof h.v==`number`?`n`:`d`))}},i);else if(t[2]==26||t[2]==14)i.Enum=B,t[2]==14&&(i.qpro=!0,t.l=0),e(t,function(e,t,n){switch(n){case 204:o=e;break;case 22:e[1].v.charCodeAt(0)<48&&(e[1].v=e[1].v.slice(1)),e[1].v=e[1].v.replace(/\x0F./g,function(e){return String.fromCharCode(e.charCodeAt(1)-32)}).replace(/\r\n/g,` 157`);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>c&&(a[`!ref`]=yq(p),l[o]=a,u.push(o),a={},i.dense&&(f=a[`!data`]=[]),p={s:{r:0,c:0},e:{r:0,c:0}},c=e[3],o=`Sheet`+(c+1)),m>0&&e[0].r>=m)break;i.dense?(f[e[0].r]||(f[e[0].r]=[]),f[e[0].r][e[0].c]=e[1]):a[_q(e[0])]=e[1],p.e.c<e[0].c&&(p.e.c=e[0].c),p.e.r<e[0].r&&(p.e.r=e[0].r);break;case 27:e[14e3]&&(d[e[14e3][0]]=e[14e3][1]);break;case 1537:d[e[0]]=e[1],e[0]==c&&(o=e[1])}},i);else throw Error(`Unrecognized LOTUS BOF `+t[2]);if(a[`!ref`]=yq(p),l[s||o]=a,u.push(s||o),!d.length)return{SheetNames:u,Sheets:l};for(var g={},_=[],v=0;v<d.length;++v)l[u[v]]?(_.push(d[v]||u[v]),g[d[v]]=l[d[v]]||l[u[v]]):(_.push(d[v]),g[d[v]]={"!ref":`A1`});return{SheetNames:_,Sheets:g}}function i(e,t){var n=t||{};if(+n.codepage>=0&&SW(+n.codepage),n.type==`string`)throw Error(`Cannot write WK1 to JS string`);var r=sq();if(!e[`!ref`])throw Error(`Cannot export empty sheet to WK1`);var i=bq(e[`!ref`]),a=e[`!data`]!=null,s=[];sX(r,0,o(1030)),sX(r,6,l(i));for(var c=Math.min(i.e.r,8191),u=i.s.c;u<=i.e.c;++u)s[u]=hq(u);for(var d=i.s.r;d<=c;++d){var f=pq(d);for(u=i.s.c;u<=i.e.c;++u){var m=a?(e[`!data`][d]||[])[u]:e[s[u]+f];if(!(!m||m.t==`z`))switch(m.t){case`n`:(m.v|0)==m.v&&m.v>=-32768&&m.v<=32767?sX(r,13,g(d,u,m)):sX(r,14,v(d,u,m));break;case`d`:var h=IG(m.v);(h|0)==h&&h>=-32768&&h<=32767?sX(r,13,g(d,u,{t:`n`,v:h,z:m.z||tG[14]})):sX(r,14,v(d,u,{t:`n`,v:h,z:m.z||tG[14]}));break;default:var _=Sq(m);sX(r,15,p(d,u,_.slice(0,239)))}}}return sX(r,1),r.end()}function a(e,t){var n=t||{};if(+n.codepage>=0&&SW(+n.codepage),n.type==`string`)throw Error(`Cannot write WK3 to JS string`);var r=sq();sX(r,0,s(e));for(var i=0,a=0;i<e.SheetNames.length;++i)(e.Sheets[e.SheetNames[i]]||{})[`!ref`]&&sX(r,27,R(e.SheetNames[i],a++));var o=0;for(i=0;i<e.SheetNames.length;++i){var c=e.Sheets[e.SheetNames[i]];if(!(!c||!c[`!ref`])){for(var l=bq(c[`!ref`]),u=c[`!data`]!=null,d=[],f=Math.min(l.e.r,8191),p=l.s.r;p<=f;++p)for(var m=pq(p),h=l.s.c;h<=l.e.c;++h){p===l.s.r&&(d[h]=hq(h));var g=d[h]+m,_=u?(c[`!data`][p]||[])[h]:c[g];if(!(!_||_.t==`z`))if(_.t==`n`)sX(r,23,k(p,h,o,_.v));else{var v=Sq(_);sX(r,22,E(p,h,o,v.slice(0,239)))}}++o}}return sX(r,1),r.end()}function o(e){var t=aq(2);return t.write_shift(2,e),t}function s(e){var t=aq(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,r=0,i=0,a=0;a<e.SheetNames.length;++a){var o=e.SheetNames[a],s=e.Sheets[o];if(!(!s||!s[`!ref`])){++i;var c=vq(s[`!ref`]);n<c.e.r&&(n=c.e.r),r<c.e.c&&(r=c.e.c)}}return n>8191&&(n=8191),t.write_shift(2,n),t.write_shift(1,i),t.write_shift(1,r),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}function c(e,t,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return t==8&&n.qpro?(r.s.c=e.read_shift(1),e.l++,r.s.r=e.read_shift(2),r.e.c=e.read_shift(1),e.l++,r.e.r=e.read_shift(2),r):(r.s.c=e.read_shift(2),r.s.r=e.read_shift(2),t==12&&n.qpro&&(e.l+=2),r.e.c=e.read_shift(2),r.e.r=e.read_shift(2),t==12&&n.qpro&&(e.l+=2),r.s.c==65535&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}function l(e){var t=aq(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}function u(e,t,n){var r=[{c:0,r:0},{t:`n`,v:0},0,0];return n.qpro&&n.vers!=20768?(r[0].c=e.read_shift(1),r[3]=e.read_shift(1),r[0].r=e.read_shift(2),e.l+=2):n.works?(r[0].c=e.read_shift(2),r[0].r=e.read_shift(2),r[2]=e.read_shift(2)):(r[2]=e.read_shift(1),r[0].c=e.read_shift(2),r[0].r=e.read_shift(2)),r}function d(e){return e.z&&CG(e.z)?240|(n.indexOf(e.z)+1||2):255}function f(e,t,n){var r=e.l+t,i=u(e,t,n);if(i[1].t=`s`,(n.vers&65534)==20768){e.l++;var a=e.read_shift(1);return i[1].v=e.read_shift(a,`utf8`),i}return n.qpro&&e.l++,i[1].v=e.read_shift(r-e.l,`cstr`),i}function p(e,t,n){var r=aq(7+n.length);r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(1,39);for(var i=0;i<r.length;++i){var a=n.charCodeAt(i);r.write_shift(1,a>=128?95:a)}return r.write_shift(1,0),r}function m(e,t,n){var r=e.l+t,i=u(e,t,n);if(i[1].t=`s`,n.vers==20768){var a=e.read_shift(1);return i[1].v=e.read_shift(a,`utf8`),i}return i[1].v=e.read_shift(r-e.l,`cstr`),i}function h(e,t,n){var r=u(e,t,n);return r[1].v=e.read_shift(2,`i`),r}function g(e,t,n){var r=aq(7);return r.write_shift(1,d(n)),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(2,n.v,`i`),r}function _(e,t,n){var r=u(e,t,n);return r[1].v=e.read_shift(8,`f`),r}function v(e,t,n){var r=aq(13);return r.write_shift(1,d(n)),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(8,n.v,`f`),r}function y(e,t,n){var r=e.l+t,i=u(e,t,n);if(i[1].v=e.read_shift(8,`f`),n.qpro)e.l=r;else{var a=e.read_shift(2);C(e.slice(e.l,e.l+a),i),e.l+=a}return i}function b(e,t,n){var r=t&32768;return t&=-32769,t=(r?e:0)+(t>=8192?t-16384:t),(r?``:`$`)+(n?hq(t):pq(t))}var x={31:[`NA`,0],33:[`ABS`,1],34:[`TRUNC`,1],35:[`SQRT`,1],36:[`LOG`,1],37:[`LN`,1],38:[`PI`,0],39:[`SIN`,1],40:[`COS`,1],41:[`TAN`,1],42:[`ATAN2`,2],43:[`ATAN`,1],44:[`ASIN`,1],45:[`ACOS`,1],46:[`EXP`,1],47:[`MOD`,2],49:[`ISNA`,1],50:[`ISERR`,1],51:[`FALSE`,0],52:[`TRUE`,0],53:[`RAND`,0],54:[`DATE`,3],63:[`ROUND`,2],64:[`TIME`,3],68:[`ISNUMBER`,1],69:[`ISTEXT`,1],70:[`LEN`,1],71:[`VALUE`,1],73:[`MID`,3],74:[`CHAR`,1],80:[`SUM`,69],81:[`AVERAGEA`,69],82:[`COUNTA`,69],83:[`MINA`,69],84:[`MAXA`,69],102:[`UPPER`,1],103:[`LOWER`,1],107:[`PROPER`,1],109:[`TRIM`,1],111:[`T`,1]},S=`.........+.-.*./.^.=.<>.<=.>=.<.>.....&.......`.split(`.`);function C(e,t){rq(e,0);for(var n=[],r=0,i=``,a=``,o=``,s=``;e.l<e.length;){var c=e[e.l++];switch(c){case 0:n.push(e.read_shift(8,`f`));break;case 1:a=b(t[0].c,e.read_shift(2),!0),i=b(t[0].r,e.read_shift(2),!1),n.push(a+i);break;case 2:var l=b(t[0].c,e.read_shift(2),!0),u=b(t[0].r,e.read_shift(2),!1);a=b(t[0].c,e.read_shift(2),!0),i=b(t[0].r,e.read_shift(2),!1),n.push(l+u+`:`+a+i);break;case 3:if(e.l<e.length){console.error(`WK1 premature formula end`);return}break;case 4:n.push(`(`+n.pop()+`)`);break;case 5:n.push(e.read_shift(2));break;case 6:for(var d=``;c=e[e.l++];)d+=String.fromCharCode(c);n.push(`"`+d.replace(/"/g,`""`)+`"`);break;case 8:n.push(`-`+n.pop());break;case 23:n.push(`+`+n.pop());break;case 22:n.push(`NOT(`+n.pop()+`)`);break;case 20:case 21:s=n.pop(),o=n.pop(),n.push([`AND`,`OR`][c-20]+`(`+o+`,`+s+`)`);break;default:if(c<32&&S[c])s=n.pop(),o=n.pop(),n.push(o+S[c]+s);else if(x[c]){if(r=x[c][1],r==69&&(r=e[e.l++]),r>n.length){console.error(`WK1 bad formula parse 0x`+c.toString(16)+`:|`+n.join(`|`)+`|`);return}var f=n.slice(-r);n.length-=r,n.push(x[c][0]+`(`+f.join(`,`)+`)`)}else if(c<=7)return console.error(`WK1 invalid opcode `+c.toString(16));else if(c<=24)return console.error(`WK1 unsupported op `+c.toString(16));else if(c<=30)return console.error(`WK1 invalid opcode `+c.toString(16));else if(c<=115)return console.error(`WK1 unsupported function opcode `+c.toString(16));else return console.error(`WK1 unrecognized opcode `+c.toString(16))}}n.length==1?t[1].f=``+n[0]:console.error(`WK1 bad formula parse |`+n.join(`|`)+`|`)}function w(e){var t=[{c:0,r:0},{t:`n`,v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function T(e,t){var n=w(e,t);return n[1].t=`s`,n[1].v=e.read_shift(t-4,`cstr`),n}function E(e,t,n,r){var i=aq(6+r.length);i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),i.write_shift(1,39);for(var a=0;a<r.length;++a){var o=r.charCodeAt(a);i.write_shift(1,o>=128?95:o)}return i.write_shift(1,0),i}function D(e,t){var n=w(e,t);n[1].v=e.read_shift(2);var r=n[1].v>>1;if(n[1].v&1)switch(r&7){case 0:r=(r>>3)*5e3;break;case 1:r=(r>>3)*500;break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64}return n[1].v=r,n}function O(e,t){var n=w(e,t),r=e.read_shift(4),i=e.read_shift(4),a=e.read_shift(2);if(a==65535)return r===0&&i===3221225472?(n[1].t=`e`,n[1].v=15):r===0&&i===3489660928?(n[1].t=`e`,n[1].v=42):n[1].v=0,n;var o=a&32768;return a=(a&32767)-16446,n[1].v=(1-o*2)*(i*2**(a+32)+r*2**a),n}function k(e,t,n,r){var i=aq(14);if(i.write_shift(2,e),i.write_shift(1,n),i.write_shift(1,t),r==0)return i.write_shift(4,0),i.write_shift(4,0),i.write_shift(2,65535),i;var a=0,o=0,s=0,c=0;return r<0&&(a=1,r=-r),o=Math.log2(r)|0,r/=2**(o-31),c=r>>>0,c&2147483648||(r/=2,++o,c=r>>>0),r-=c,c|=2147483648,c>>>=0,r*=2**32,s=r>>>0,i.write_shift(4,s),i.write_shift(4,c),o+=16383+(a?32768:0),i.write_shift(2,o),i}function A(e,t){var n=O(e,14);return e.l+=t-14,n}function j(e,t){var n=w(e,t),r=e.read_shift(4);return n[1].v=r>>6,n}function M(e,t){var n=w(e,t),r=e.read_shift(8,`f`);return n[1].v=r,n}function N(e,t){var n=M(e,12);return e.l+=t-12,n}function P(e,t){return e[e.l+t-1]==0?e.read_shift(t,`cstr`):``}function F(e,t){var n=e[e.l++];n>t-1&&(n=t-1);for(var r=``;r.length<n;)r+=String.fromCharCode(e[e.l++]);return r}function I(e,t,n){if(!(!n.qpro||t<21)){var r=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[r,e.read_shift(t-21,`cstr`)]}}function L(e,t){for(var n={},r=e.l+t;e.l<r;){var i=e.read_shift(2);if(i==14e3){for(n[i]=[0,``],n[i][0]=e.read_shift(2);e[e.l];)n[i][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return n}function R(e,t){var n=aq(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var r=0;r<e.length;++r){var i=e.charCodeAt(r);n[n.l++]=i>127?95:i}return n[n.l++]=0,n}var z={0:{n:`BOF`,f:mJ},1:{n:`EOF`},2:{n:`CALCMODE`},3:{n:`CALCORDER`},4:{n:`SPLIT`},5:{n:`SYNC`},6:{n:`RANGE`,f:c},7:{n:`WINDOW1`},8:{n:`COLW1`},9:{n:`WINTWO`},10:{n:`COLW2`},11:{n:`NAME`},12:{n:`BLANK`},13:{n:`INTEGER`,f:h},14:{n:`NUMBER`,f:_},15:{n:`LABEL`,f},16:{n:`FORMULA`,f:y},24:{n:`TABLE`},25:{n:`ORANGE`},26:{n:`PRANGE`},27:{n:`SRANGE`},28:{n:`FRANGE`},29:{n:`KRANGE1`},32:{n:`HRANGE`},35:{n:`KRANGE2`},36:{n:`PROTEC`},37:{n:`FOOTER`},38:{n:`HEADER`},39:{n:`SETUP`},40:{n:`MARGINS`},41:{n:`LABELFMT`},42:{n:`TITLES`},43:{n:`SHEETJS`},45:{n:`GRAPH`},46:{n:`NGRAPH`},47:{n:`CALCCOUNT`},48:{n:`UNFORMATTED`},49:{n:`CURSORW12`},50:{n:`WINDOW`},51:{n:`STRING`,f:m},55:{n:`PASSWORD`},56:{n:`LOCKED`},60:{n:`QUERY`},61:{n:`QUERYNAME`},62:{n:`PRINT`},63:{n:`PRINTNAME`},64:{n:`GRAPH2`},65:{n:`GRAPHNAME`},66:{n:`ZOOM`},67:{n:`SYMSPLIT`},68:{n:`NSROWS`},69:{n:`NSCOLS`},70:{n:`RULER`},71:{n:`NNAME`},72:{n:`ACOMM`},73:{n:`AMACRO`},74:{n:`PARSE`},102:{n:`PRANGES??`},103:{n:`RRANGES??`},104:{n:`FNAME??`},105:{n:`MRANGES??`},204:{n:`SHEETNAMECS`,f:P},222:{n:`SHEETNAMELP`,f:F},255:{n:`BOF`,f:mJ},21506:{n:`WKSNF`,f:mJ},65535:{n:``}},B={0:{n:`BOF`},1:{n:`EOF`},2:{n:`PASSWORD`},3:{n:`CALCSET`},4:{n:`WINDOWSET`},5:{n:`SHEETCELLPTR`},6:{n:`SHEETLAYOUT`},7:{n:`COLUMNWIDTH`},8:{n:`HIDDENCOLUMN`},9:{n:`USERRANGE`},10:{n:`SYSTEMRANGE`},11:{n:`ZEROFORCE`},12:{n:`SORTKEYDIR`},13:{n:`FILESEAL`},14:{n:`DATAFILLNUMS`},15:{n:`PRINTMAIN`},16:{n:`PRINTSTRING`},17:{n:`GRAPHMAIN`},18:{n:`GRAPHSTRING`},19:{n:`??`},20:{n:`ERRCELL`},21:{n:`NACELL`},22:{n:`LABEL16`,f:T},23:{n:`NUMBER17`,f:O},24:{n:`NUMBER18`,f:D},25:{n:`FORMULA19`,f:A},26:{n:`FORMULA1A`},27:{n:`XFORMAT`,f:L},28:{n:`DTLABELMISC`},29:{n:`DTLABELCELL`},30:{n:`GRAPHWINDOW`},31:{n:`CPA`},32:{n:`LPLAUTO`},33:{n:`QUERY`},34:{n:`HIDDENSHEET`},35:{n:`??`},37:{n:`NUMBER25`,f:j},38:{n:`??`},39:{n:`NUMBER27`,f:M},40:{n:`FORMULA28`,f:N},142:{n:`??`},147:{n:`??`},150:{n:`??`},151:{n:`??`},152:{n:`??`},153:{n:`??`},154:{n:`??`},155:{n:`??`},156:{n:`??`},163:{n:`??`},174:{n:`??`},175:{n:`??`},176:{n:`??`},177:{n:`??`},184:{n:`??`},185:{n:`??`},186:{n:`??`},187:{n:`??`},188:{n:`??`},195:{n:`??`},201:{n:`??`},204:{n:`SHEETNAMECS`,f:P},205:{n:`??`},206:{n:`??`},207:{n:`??`},208:{n:`??`},256:{n:`??`},259:{n:`??`},260:{n:`??`},261:{n:`??`},262:{n:`??`},263:{n:`??`},265:{n:`??`},266:{n:`??`},267:{n:`??`},268:{n:`??`},270:{n:`??`},271:{n:`??`},384:{n:`??`},389:{n:`??`},390:{n:`??`},393:{n:`??`},396:{n:`??`},512:{n:`??`},514:{n:`??`},513:{n:`??`},516:{n:`??`},517:{n:`??`},640:{n:`??`},641:{n:`??`},642:{n:`??`},643:{n:`??`},644:{n:`??`},645:{n:`??`},646:{n:`??`},647:{n:`??`},648:{n:`??`},658:{n:`??`},659:{n:`??`},660:{n:`??`},661:{n:`??`},662:{n:`??`},665:{n:`??`},666:{n:`??`},768:{n:`??`},772:{n:`??`},1537:{n:`SHEETINFOQP`,f:I},1600:{n:`??`},1602:{n:`??`},1793:{n:`??`},1794:{n:`??`},1795:{n:`??`},1796:{n:`??`},1920:{n:`??`},2048:{n:`??`},2049:{n:`??`},2052:{n:`??`},2688:{n:`??`},10998:{n:`??`},12849:{n:`??`},28233:{n:`??`},28484:{n:`??`},65535:{n:``}},ee={5:`dd-mmm-yy`,6:`dd-mmm`,7:`mmm-yy`,8:`mm/dd/yy`,10:`hh:mm:ss AM/PM`,11:`hh:mm AM/PM`,14:`dd-mmm-yyyy`,15:`mmm-yyyy`,34:`0.00`,50:`0.00;[Red]0.00`,66:`0.00;(0.00)`,82:`0.00;[Red](0.00)`,162:`"$"#,##0.00;\\("$"#,##0.00\\)`,288:`0%`,304:`0E+00`,320:`# ?/?`};function V(e){var t=e.read_shift(2),n=e.read_shift(1);if(n!=0)throw`unsupported QPW string type `+n.toString(16);
157return e.read_shift(t,`sbcs-cont`)}function te(e,t){rq(e,0);var n=t||{};AW!=null&&n.dense==null&&(n.dense=AW);var r={};n.dense&&(r[`!data`]=[]);var i=[],a=``,o={s:{r:-1,c:-1},e:{r:-1,c:-1}},s=0,c=0,l=0,u=0,d={SheetNames:[],Sheets:{}},f=[];outer:for(;e.l<e.length;){var p=e.read_shift(2),m=e.read_shift(2),h=e.slice(e.l,e.l+m);switch(rq(h,0),p){case 1:if(h.read_shift(4)!=962023505)throw`Bad QPW9 BOF!`;break;case 2:break outer;case 8:break;case 10:for(var g=h.read_shift(4),_=(h.length-h.l)/g|0,v=0;v<g;++v){var y=h.l+_,b={};h.l+=2,b.numFmtId=h.read_shift(2),ee[b.numFmtId]&&(b.z=ee[b.numFmtId]),h.l=y,f.push(b)}break;case 1025:break;case 1026:break;case 1031:for(h.l+=12;h.l<h.length;)s=h.read_shift(2),c=h.read_shift(1),i.push(h.read_shift(s,`cstr`));break;case 1032:break;case 1537:var x=h.read_shift(2);r={},n.dense&&(r[`!data`]=[]),o.s.c=h.read_shift(2),o.e.c=h.read_shift(2),o.s.r=h.read_shift(4),o.e.r=h.read_shift(4),h.l+=4,h.l+2<h.length&&(s=h.read_shift(2),c=h.read_shift(1),a=s==0?``:h.read_shift(s,`cstr`)),a||=hq(x);break;case 1538:if(o.s.c>255||o.s.r>999999)break;o.e.c<o.s.c&&(o.e.c=o.s.c),o.e.r<o.s.r&&(o.e.r=o.s.r),r[`!ref`]=yq(o),BX(d,r,a);break;case 2561:l=h.read_shift(2),o.e.c<l&&(o.e.c=l),o.s.c>l&&(o.s.c=l),u=h.read_shift(4),o.s.r>u&&(o.s.r=u),u=h.read_shift(4),o.e.r<u&&(o.e.r=u);break;case 3073:u=h.read_shift(4),s=h.read_shift(4),o.s.r>u&&(o.s.r=u),o.e.r<u+s-1&&(o.e.r=u+s-1);for(var S=hq(l);h.l<h.length;){var C={t:`z`},w=h.read_shift(1),T=-1;w&128&&(T=h.read_shift(2));var E=w&64?h.read_shift(2)-1:0;switch(w&31){case 0:break;case 1:break;case 2:C={t:`n`,v:h.read_shift(2)};break;case 3:C={t:`n`,v:h.read_shift(2,`i`)};break;case 4:C={t:`n`,v:Mq(h)};break;case 5:C={t:`n`,v:h.read_shift(8,`f`)};break;case 7:C={t:`s`,v:i[c=h.read_shift(4)-1]};break;case 8:C={t:`n`,v:h.read_shift(8,`f`)},h.l+=2,h.l+=4,isNaN(C.v)&&(C={t:`e`,v:15});break;default:throw`Unrecognized QPW cell type `+(w&31)}T!=-1&&(f[T-1]||{}).z&&(C.z=f[T-1].z);var D=0;if(w&32)switch(w&31){case 2:D=h.read_shift(2);break;case 3:D=h.read_shift(2,`i`);break;case 7:D=h.read_shift(2);break;default:throw`Unsupported delta for QPW cell type `+(w&31)}if(!(!n.sheetStubs&&C.t==`z`)){var O=VG(C);C.t==`n`&&C.z&&CG(C.z)&&n.cellDates&&(O.v=LG(C.v),O.t=typeof O.v==`number`?`n`:`d`),r[`!data`]==null?r[S+pq(u)]=O:(r[`!data`][u]||(r[`!data`][u]=[]),r[`!data`][u][l]=O)}for(++u,--s;E-->0&&s>=0;){if(w&32)switch(w&31){case 2:C={t:`n`,v:C.v+D&65535};break;case 3:C={t:`n`,v:C.v+D&65535},C.v>32767&&(C.v-=65536);break;case 7:C={t:`s`,v:i[c=c+D>>>0]};break;default:throw`Cannot apply delta for QPW cell type `+(w&31)}else switch(w&31){case 1:C={t:`z`};break;case 2:C={t:`n`,v:h.read_shift(2)};break;case 7:C={t:`s`,v:i[c=h.read_shift(4)-1]};break;default:throw`Cannot apply repeat for QPW cell type `+(w&31)}!n.sheetStubs&&C.t==`z`||(r[`!data`]==null?r[S+pq(u)]=C:(r[`!data`][u]||(r[`!data`][u]=[]),r[`!data`][u][l]=C)),++u,--s}}break;case 3074:l=h.read_shift(2),u=h.read_shift(4);var k=V(h);r[`!data`]==null?r[hq(l)+pq(u)]={t:`s`,v:k}:(r[`!data`][u]||(r[`!data`][u]=[]),r[`!data`][u][l]={t:`s`,v:k})}e.l+=m}return d}return{sheet_to_wk1:i,book_to_wk3:a,to_workbook:t}})();function mPe(e){var t={},n=e.match(fK),r=0,i=!1;if(n)for(;r!=n.length;++r){var a=pK(n[r]);switch(a[0].replace(/<\w*:/g,`<`)){case`<condense`:break;case`<extend`:break;case`<shadow`:if(!a.val)break;case`<shadow>`:case`<shadow/>`:t.shadow=1;break;case`</shadow>`:break;case`<charset`:if(a.val==`1`)break;t.cp=bW[parseInt(a.val,10)];break;case`<outline`:if(!a.val)break;case`<outline>`:case`<outline/>`:t.outline=1;break;case`</outline>`:break;case`<rFont`:t.name=a.val;break;case`<sz`:t.sz=a.val;break;case`<strike`:if(!a.val)break;case`<strike>`:case`<strike/>`:t.strike=1;break;case`</strike>`:break;case`<u`:if(!a.val)break;switch(a.val){case`double`:t.uval=`double`;break;case`singleAccounting`:t.uval=`single-accounting`;break;case`doubleAccounting`:t.uval=`double-accounting`}case`<u>`:case`<u/>`:t.u=1;break;case`</u>`:break;case`<b`:if(a.val==`0`)break;case`<b>`:case`<b/>`:t.b=1;break;case`</b>`:break;case`<i`:if(a.val==`0`)break;case`<i>`:case`<i/>`:t.i=1;break;case`</i>`:break;case`<color`:a.rgb&&(t.color=a.rgb.slice(2,8));break;case`<color>`:case`<color/>`:case`</color>`:break;case`<family`:t.family=a.val;break;case`<family>`:case`<family/>`:case`</family>`:break;case`<vertAlign`:t.valign=a.val;break;case`<vertAlign>`:case`<vertAlign/>`:case`</vertAlign>`:break;case`<scheme`:break;case`<scheme>`:case`<scheme/>`:case`</scheme>`:break;case`<extLst`:case`<extLst>`:case`</extLst>`:break;case`<ext`:i=!0;break;case`</ext>`:i=!1;break;
157default:if(a[0].charCodeAt(1)!==47&&!i)throw Error(`Unrecognized rich format `+a[0])}}return t}var hPe=(function(){function e(e){var t=ZG(e,`t`);if(!t)return{t:`s`,v:``};var n={t:`s`,v:gK(t[1])},r=ZG(e,`rPr`);return r&&(n.s=mPe(r[1])),n}var t=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function(r){return r.replace(t,``).split(n).map(e).filter(function(e){return e.v})}})(),gPe=(function(){var e=/(\r\n|\n)/g;function t(e,t,n){var r=[];e.u&&r.push(`text-decoration: underline;`),e.uval&&r.push(`text-underline-style:`+e.uval+`;`),e.sz&&r.push(`font-size:`+e.sz+`pt;`),e.outline&&r.push(`text-effect: outline;`),e.shadow&&r.push(`text-shadow: auto;`),t.push(`<span style="`+r.join(``)+`">`),e.b&&(t.push(`<b>`),n.push(`</b>`)),e.i&&(t.push(`<i>`),n.push(`</i>`)),e.strike&&(t.push(`<s>`),n.push(`</s>`));var i=e.valign||``;return i==`superscript`||i==`super`?i=`sup`:i==`subscript`&&(i=`sub`),i!=``&&(t.push(`<`+i+`>`),n.push(`</`+i+`>`)),n.push(`</span>`),e}function n(n){var r=[[],n.v,[]];return n.v?(n.s&&t(n.s,r[0],r[2]),r[0].join(``)+r[1].replace(e,`<br/>`)+r[2].join(``)):``}return function(e){return e.map(n).join(``)}})(),_Pe=/<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g,vPe=/<(?:\w+:)?r\b[^<>]*>/;function VJ(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=gK(wK(e.slice(e.indexOf(`>`)+1).split(/<\/(?:\w+:)?t>/)[0]||``),!0),r.r=wK(e),n&&(r.h=_K(r.t))):e.match(vPe)&&(r.r=wK(e),r.t=gK(wK((Tje(e,`rPh`).match(_Pe)||[]).join(``).replace(fK,``)),!0),n&&(r.h=gPe(hPe(r.r)))),r):{t:``}}var yPe=/<(?:\w+:)?(?:si|sstItem)>/g,bPe=/<\/(?:\w+:)?(?:si|sstItem)>/;function xPe(e,t){var n=[],r=``;if(!e)return n;var i=ZG(e,`sst`);if(i){r=i[1].replace(yPe,``).split(bPe);for(var a=0;a!=r.length;++a){var o=VJ(r[a].trim(),t);o!=null&&(n[n.length]=o)}i=pK(i[0].slice(0,i[0].indexOf(`>`))),n.Count=i.count,n.Unique=i.uniqueCount}return n}function SPe(e){return[e.read_shift(4),e.read_shift(4)]}function CPe(e,t){var n=[],r=!1;return oq(e,function(e,i,a){switch(a){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(i.T,!r||t.WTF)throw Error(`Unexpected record 0x`+a.toString(16))}}),n}function HJ(e){if(yW!==void 0)return yW.utils.encode(vW,e);for(var t=[],n=e.split(``),r=0;r<n.length;++r)t[r]=n[r].charCodeAt(0);return t}function UJ(e,t){var n={};return n.Major=e.read_shift(2),n.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),n}function wPe(e){var t={};return t.id=e.read_shift(0,`lpp4`),t.R=UJ(e,4),t.U=UJ(e,4),t.W=UJ(e,4),t}function TPe(e){for(var t=e.read_shift(4),n=e.l+t-4,r={},i=e.read_shift(4),a=[];i-->0;)a.push({t:e.read_shift(4),v:e.read_shift(0,`lpp4`)});if(r.name=e.read_shift(0,`lpp4`),r.comps=a,e.l!=n)throw Error(`Bad DataSpaceMapEntry: `+e.l+` != `+n);return r}function EPe(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-->0;)t.push(TPe(e));return t}function DPe(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-->0;)t.push(e.read_shift(0,`lpp4`));return t}function OPe(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,`lpp4`),t.name=e.read_shift(0,`lpp4`),t.R=UJ(e,4),t.U=UJ(e,4),t.W=UJ(e,4),t}function kPe(e){var t=OPe(e);if(t.ename=e.read_shift(0,`8lpp4`),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),e.read_shift(4)!=4)throw Error(`Bad !Primary record`);return t}function WJ(e,t){var n=e.l+t,r={};r.Flags=e.read_shift(4)&63,e.l+=4,r.AlgID=e.read_shift(4);var i=!1;switch(r.AlgID){case 26126:case 26127:case 26128:i=r.Flags==36;break;case 26625:i=r.Flags==4;break;case 0:i=r.Flags==16||r.Flags==4||r.Flags==36;break;default:throw`Unrecognized encryption algorithm: `+r.AlgID}if(!i)throw Error(`Encryption Flags/AlgID mismatch`);return r.AlgIDHash=e.read_shift(4),r.KeySize=e.read_shift(4),r.ProviderType=e.read_shift(4),e.l+=8,r.CSPName=e.read_shift(n-e.l>>1,`utf16le`),e.l=n,r}function GJ(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function APe(e){var t=UJ(e);switch(t.Minor){case 2:return[t.Minor,jPe(e,t)];case 3:return[t.Minor,MPe(e,t)];case 4:return[t.Minor,NPe(e,t)]}throw Error(`ECMA-376 Encrypted file unrecognized Version: `+t.Minor)}function jPe(e){if((e.read_shift(4)&63)!=36)throw Error(`EncryptionInfo mismatch`);return{t:`Std`,h:WJ(e,e.read_shift(4)),v:GJ(e,e.length-e.l)}}function MPe(){throw Error(`File is password-protected: ECMA-376 Extensible`)}function NPe(e){var t=[`saltSize`,`blockSize`,`keyBits`,`hashSize`,`cipherAlgorithm`,`cipherChaining`,`hashAlgorithm`,`saltValue`];e.l+=4;var n=e.read_shift(e.length-e.l,`utf8`),r={};return n.replace(fK,function(e){var n=pK(e);switch(mK(n[0])){case`<?xml`:break;case`<encryption`:case`</encryption>`:break;case`<keyData`:t.forEach(function(e){r[e]=n[e]});break;case`<dataIntegrity`:r.encryptedHmacKey=n.encryptedHmacKey,r.encryptedHmacValue=n.encryptedHmacValue;break;case`<keyEncryptors>`:case`<keyEncryptors`:r.encs=[];break;case`</keyEncryptors>`:break;case`<keyEncryptor`:r.uri=n.uri;break;case`</keyEncryptor>`:break;case`<encryptedKey`:r.encs.push(n);break;default:throw n[0]}}),r}function PPe(e,t){var n={},r=n.EncryptionVersionInfo=UJ(e,4);
157if(t-=4,r.Minor!=2)throw Error(`unrecognized minor version code: `+r.Minor);if(r.Major>4||r.Major<2)throw Error(`unrecognized major version code: `+r.Major);n.Flags=e.read_shift(4),t-=4;var i=e.read_shift(4);return t-=4,n.EncryptionHeader=WJ(e,i),t-=i,n.EncryptionVerifier=GJ(e,t),n}function FPe(e){var t={},n=t.EncryptionVersionInfo=UJ(e,4);if(n.Major!=1||n.Minor!=1)throw`unrecognized version code `+n.Major+` : `+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function IPe(e){var t=0,n,r=HJ(e),i=r.length+1,a,o,s,c,l;for(n=RW(i),n[0]=r.length,a=1;a!=i;++a)n[a]=r[a-1];for(a=i-1;a>=0;--a)o=n[a],s=t&16384?1:0,c=t<<1&32767,l=s|c,t=l^o;return t^52811}var KJ=(function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],r=function(e){return(e/2|e*128)&255},i=function(e,t){return r(e^t)},a=function(e){for(var r=t[e.length-1],i=104,a=e.length-1;a>=0;--a)for(var o=e[a],s=0;s!=7;++s)o&64&&(r^=n[i]),o*=2,--i;return r};return function(t){for(var n=HJ(t),r=a(n),o=n.length,s=RW(16),c=0;c!=16;++c)s[c]=0;var l,u,d;for((o&1)==1&&(l=r>>8,s[o]=i(e[0],l),--o,l=r&255,u=n[n.length-1],s[o]=i(u,l));o>0;)--o,l=r>>8,s[o]=i(n[o],l),--o,l=r&255,s[o]=i(n[o],l);for(o=15,d=15-n.length;d>0;)l=r>>8,s[o]=i(e[d],l),--o,--d,l=r&255,s[o]=i(n[o],l),--o,--d;return s}})(),LPe=function(e,t,n,r,i){i||=t,r||=KJ(e);var a,o;for(a=0;a!=t.length;++a)o=t[a],o^=r[n],o=(o>>5|o<<3)&255,i[a]=o,++n;return[i,n,r]},RPe=function(e){var t=0,n=KJ(e);return function(e){var r=LPe(``,e,t,n);return t=r[1],r[0]}};function zPe(e,t,n,r){var i={key:mJ(e),verificationBytes:mJ(e)};return n.password&&(i.verifier=IPe(n.password)),r.valid=i.verificationBytes===i.verifier,r.valid&&(r.insitu=RPe(n.password)),i}function BPe(e,t,n){var r=n||{};return r.Info=e.read_shift(2),e.l-=2,r.Data=r.Info===1?FPe(e,t):PPe(e,t),r}function VPe(e,t,n){var r={Type:n.biff>=8?e.read_shift(2):0};return r.Type?BPe(e,t-2,r):zPe(e,n.biff>=8?t:t-2,n,r),r}function HPe(e,t){switch(t.type){case`base64`:return qJ(PW(e),t);case`binary`:return qJ(e,t);case`buffer`:return qJ(FW&&Buffer.isBuffer(e)?e.toString(`binary`):VW(e),t);case`array`:return qJ(BG(e),t)}throw Error(`Unrecognized type `+t.type)}function qJ(e,t){var n=t||{},r={},i=n.dense;i&&(r[`!data`]=[]);var a=JG(e,`\\trowd`,`\\row`);if(!a)throw Error(`RTF missing table`);var o={s:{c:0,r:0},e:{c:0,r:a.length-1}},s=[];return a.forEach(function(e,t){i&&(s=r[`!data`][t]=[]);for(var a=/\\[\w\-]+\b/g,c=0,l,u=-1,d=[];(l=a.exec(e))!=null;){var f=e.slice(c,a.lastIndex-l[0].length);switch(f.charCodeAt(0)==32&&(f=f.slice(1)),f.length&&d.push(f),l[0]){case`\\cell`:if(++u,d.length){var p={v:d.join(``),t:`s`};p.v==`TRUE`||p.v==`FALSE`?(p.v=p.v==`TRUE`,p.t=`b`):isNaN(UG(p.v))?Jq[p.v]!=null&&(p.t=`e`,p.w=p.v,p.v=Jq[p.v]):(p.t=`n`,n.cellText!==!1&&(p.w=p.v),p.v=UG(p.v)),i?s[u]=p:r[_q({r:t,c:u})]=p}d=[];break;case`\\par`:d.push(` 158`)}c=a.lastIndex}u>o.e.c&&(o.e.c=u)}),r[`!ref`]=yq(o),r}function UPe(e,t){var n=Cq(HPe(e,t),t);return n.bookType=`rtf`,n}function WPe(e){var t=e.slice(+(e[0]===`#`)).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function JJ(e){for(var t=0,n=1;t!=3;++t)n=n*256+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function GPe(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=i-a;if(o===0)return[0,0,t];var s=0,c=0,l=i+a;switch(c=o/(l>1?2-l:l),i){case t:s=((n-r)/o+6)%6;break;case n:s=(r-t)/o+2;break;case r:s=(t-n)/o+4}return[s/6,c,l/2]}function KPe(e){var t=e[0],n=e[1],r=e[2],i=n*2*(r<.5?r:1-r),a=r-i/2,o=[a,a,a],s=6*t,c;if(n!==0)switch(s|0){case 0:case 6:c=i*s,o[0]+=i,o[1]+=c;break;case 1:c=i*(2-s),o[0]+=c,o[1]+=i;break;case 2:c=i*(s-2),o[1]+=i,o[2]+=c;break;case 3:c=i*(4-s),o[1]+=c,o[2]+=i;break;case 4:c=i*(s-4),o[2]+=i,o[0]+=c;break;case 5:c=i*(6-s),o[2]+=c,o[0]+=i;break}for(var l=0;l!=3;++l)o[l]=Math.round(o[l]*255);return o}function YJ(e,t){if(t===0)return e;var n=GPe(WPe(e));return t<0?n[2]*=1+t:n[2]=1-(1-n[2])*(1-t),JJ(KPe(n))}var XJ=6,qPe=15,JPe=1,ZJ=XJ;function QJ(e){return Math.floor((e+Math.round(128/ZJ)/256)*ZJ)}function $J(e){return Math.floor((e-5)/ZJ*100+.5)/100}function eY(e){return Math.round((e*ZJ+5)/ZJ*256)/256}function tY(e){return eY($J(QJ(e)))}function nY(e){var t=Math.abs(e-tY(e)),n=ZJ;if(t>.005)for(ZJ=JPe;ZJ<qPe;++ZJ)Math.abs(e-tY(e))<=t&&(t=Math.abs(e-tY(e)),n=ZJ);ZJ=n}function rY(e){e.width?(e.wpx=QJ(e.width),e.wch=$J(e.wpx),e.MDW=ZJ):e.wpx?(e.wch=$J(e.wpx),e.width=eY(e.wch),e.MDW=ZJ):typeof e.wch==`number`&&(e.width=eY(e.wch),e.wpx=QJ(e.width),e.MDW=ZJ),e.customWidth&&delete e.customWidth}var iY=96;function aY(e){return e*96/iY}function oY(e){return e*iY/96}
158var YPe={None:`none`,Solid:`solid`,Gray50:`mediumGray`,Gray75:`darkGray`,Gray25:`lightGray`,HorzStripe:`darkHorizontal`,VertStripe:`darkVertical`,ReverseDiagStripe:`darkDown`,DiagStripe:`darkUp`,DiagCross:`darkGrid`,ThickDiagCross:`darkTrellis`,ThinHorzStripe:`lightHorizontal`,ThinVertStripe:`lightVertical`,ThinReverseDiagStripe:`lightDown`,ThinHorzCross:`lightGrid`};function XPe(e,t,n,r){t.Borders=[];var i={},a=!1;(e.match(fK)||[]).forEach(function(e){var n=pK(e);switch(mK(n[0])){case`<borders`:case`<borders>`:case`</borders>`:break;case`<border`:case`<border>`:case`<border/>`:i={},n.diagonalUp&&(i.diagonalUp=yK(n.diagonalUp)),n.diagonalDown&&(i.diagonalDown=yK(n.diagonalDown)),t.Borders.push(i);break;case`</border>`:break;case`<left/>`:break;case`<left`:case`<left>`:break;case`</left>`:break;case`<right/>`:break;case`<right`:case`<right>`:break;case`</right>`:break;case`<top/>`:break;case`<top`:case`<top>`:break;case`</top>`:break;case`<bottom/>`:break;case`<bottom`:case`<bottom>`:break;case`</bottom>`:break;case`<diagonal`:case`<diagonal>`:case`<diagonal/>`:break;case`</diagonal>`:break;case`<horizontal`:case`<horizontal>`:case`<horizontal/>`:break;case`</horizontal>`:break;case`<vertical`:case`<vertical>`:case`<vertical/>`:break;case`</vertical>`:break;case`<start`:case`<start>`:case`<start/>`:break;case`</start>`:break;case`<end`:case`<end>`:case`<end/>`:break;case`</end>`:break;case`<color`:case`<color>`:break;case`<color/>`:case`</color>`:break;case`<extLst`:case`<extLst>`:case`</extLst>`:break;case`<ext`:a=!0;break;case`</ext>`:a=!1;break;default:if(r&&r.WTF&&!a)throw Error(`unrecognized `+n[0]+` in borders`)}})}function ZPe(e,t,n,r){t.Fills=[];var i={},a=!1;(e.match(fK)||[]).forEach(function(e){var n=pK(e);switch(mK(n[0])){case`<fills`:case`<fills>`:case`</fills>`:break;case`<fill>`:case`<fill`:case`<fill/>`:i={},t.Fills.push(i);break;case`</fill>`:break;case`<gradientFill>`:break;case`<gradientFill`:case`</gradientFill>`:t.Fills.push(i),i={};break;case`<patternFill`:case`<patternFill>`:n.patternType&&(i.patternType=n.patternType);break;case`<patternFill/>`:case`</patternFill>`:break;case`<bgColor`:i.bgColor||(i.bgColor={}),n.indexed&&(i.bgColor.indexed=parseInt(n.indexed,10)),n.theme&&(i.bgColor.theme=parseInt(n.theme,10)),n.tint&&(i.bgColor.tint=parseFloat(n.tint)),n.rgb&&(i.bgColor.rgb=n.rgb.slice(-6));break;case`<bgColor/>`:case`</bgColor>`:break;case`<fgColor`:i.fgColor||(i.fgColor={}),n.theme&&(i.fgColor.theme=parseInt(n.theme,10)),n.tint&&(i.fgColor.tint=parseFloat(n.tint)),n.rgb!=null&&(i.fgColor.rgb=n.rgb.slice(-6));break;case`<fgColor/>`:case`</fgColor>`:break;case`<stop`:case`<stop/>`:break;case`</stop>`:break;case`<color`:case`<color/>`:break;case`</color>`:break;case`<extLst`:case`<extLst>`:case`</extLst>`:break;case`<ext`:a=!0;break;case`</ext>`:a=!1;break;default:if(r&&r.WTF&&!a)throw Error(`unrecognized `+n[0]+` in fills`)}})}function QPe(e,t,n,r){t.Fonts=[];var i={},a=!1;(e.match(fK)||[]).forEach(function(e){var o=pK(e);switch(mK(o[0])){case`<fonts`:case`<fonts>`:case`</fonts>`:break;case`<font`:case`<font>`:break;case`</font>`:case`<font/>`:t.Fonts.push(i),i={};break;case`<name`:o.val&&(i.name=wK(o.val));break;case`<name/>`:case`</name>`:break;case`<b`:i.bold=o.val?yK(o.val):1;break;case`<b/>`:i.bold=1;break;case`</b>`:case`</b`:break;case`<i`:i.italic=o.val?yK(o.val):1;break;case`<i/>`:i.italic=1;break;case`</i>`:case`</i`:break;case`<u`:switch(o.val){case`none`:i.underline=0;break;case`single`:i.underline=1;break;case`double`:i.underline=2;break;case`singleAccounting`:i.underline=33;break;case`doubleAccounting`:i.underline=34}break;case`<u/>`:i.underline=1;break;case`</u>`:case`</u`:break;case`<strike`:i.strike=o.val?yK(o.val):1;break;case`<strike/>`:i.strike=1;break;case`</strike>`:case`</strike`:break;case`<outline`:i.outline=o.val?yK(o.val):1;break;case`<outline/>`:i.outline=1;break;case`</outline>`:case`</outline`:break;case`<shadow`:i.shadow=o.val?yK(o.val):1;break;case`<shadow/>`:i.shadow=1;break;case`</shadow>`:case`</shadow`:break;case`<condense`:i.condense=o.val?yK(o.val):1;break;case`<condense/>`:i.condense=1;break;case`</condense>`:case`</condense`:break;case`<extend`:i.extend=o.val?yK(o.val):1;break;case`<extend/>`:i.extend=1;break;case`</extend>`:case`</extend`:break;case`<sz`:o.val&&(i.sz=+o.val);break;case`<sz/>`:case`</sz>`:case`</sz`:break;case`<vertAlign`:o.val&&(i.vertAlign=o.val);break;case`<vertAlign/>`:case`</vertAlign>`:case`</vertAlign`:break;case`<family`:o.val&&(i.family=parseInt(o.val,10));break;case`<family/>`:case`</family>`:case`</family`:break;case`<scheme`:o.val&&(i.scheme=o.val);break;case`<scheme/>`:case`</scheme>`:case`</scheme`:break;case`<charset`:if(o.val==`1`)break;o.codepage=bW[parseInt(o.val,10)];break;case`<charset/>`:case`</charset>`:case`</charset`:break;case`<color`:if(i.color||(i.color={}),o.auto&&(i.color.auto=yK(o.auto)),o.rgb)i.color.rgb=o.rgb.slice(-6);else if(o.indexed){i.color.index=parseInt(o.indexed,10);var s=Kq[i.color.index];i.color.index==81&&(s=Kq[1]),s||=Kq[1],i.color.rgb=s[0].toString(16)+s[1].toString(16)+s[2].toString(16)}else o.theme&&(i.color.theme=parseInt(o.theme,10),o.tint&&(i.color.tint=parseFloat(o.tint)),o.theme&&n.themeElements&&n.themeElements.clr
158Scheme&&(i.color.rgb=YJ(n.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case`<color/>`:case`</color>`:case`</color`:break;case`<AlternateContent`:a=!0;break;case`</AlternateContent>`:case`</AlternateContent`:a=!1;break;case`<extLst`:case`<extLst>`:case`</extLst>`:break;case`<ext`:a=!0;break;case`</ext>`:a=!1;break;default:if(r&&r.WTF&&!a)throw Error(`unrecognized `+o[0]+` in fonts`)}})}function $Pe(e,t,n){t.NumberFmt=[];for(var r=NG(tG),i=0;i<r.length;++i)t.NumberFmt[r[i]]=tG[r[i]];var a=e.match(fK);if(a)for(i=0;i<a.length;++i){var o=pK(a[i]);switch(mK(o[0])){case`<numFmts`:case`</numFmts>`:case`<numFmts/>`:case`<numFmts>`:break;case`<numFmt`:var s=gK(wK(o.formatCode)),c=parseInt(o.numFmtId,10);if(t.NumberFmt[c]=s,c>0){if(c>392){for(c=392;c>60&&t.NumberFmt[c]!=null;--c);t.NumberFmt[c]=s}kG(s,c)}break;case`</numFmt>`:break;default:if(n.WTF)throw Error(`unrecognized `+o[0]+` in numFmts`)}}}var sY=[`numFmtId`,`fillId`,`fontId`,`borderId`,`xfId`],cY=[`applyAlignment`,`applyBorder`,`applyFill`,`applyFont`,`applyNumberFormat`,`applyProtection`,`pivotButton`,`quotePrefix`];function eFe(e,t,n){t.CellXf=[];var r,i=!1;(e.match(fK)||[]).forEach(function(e){var a=pK(e),o=0;switch(mK(a[0])){case`<cellXfs`:case`<cellXfs>`:case`<cellXfs/>`:case`</cellXfs>`:break;case`<xf`:case`<xf/>`:case`<xf>`:for(r=a,delete r[0],o=0;o<sY.length;++o)r[sY[o]]&&(r[sY[o]]=parseInt(r[sY[o]],10));for(o=0;o<cY.length;++o)r[cY[o]]&&(r[cY[o]]=yK(r[cY[o]]));if(t.NumberFmt&&r.numFmtId>392){for(o=392;o>60;--o)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[o]){r.numFmtId=o;break}}t.CellXf.push(r);break;case`</xf>`:break;case`<alignment`:case`<alignment/>`:case`<alignment>`:var s={};a.vertical&&(s.vertical=a.vertical),a.horizontal&&(s.horizontal=a.horizontal),a.textRotation!=null&&(s.textRotation=a.textRotation),a.indent&&(s.indent=a.indent),a.wrapText&&(s.wrapText=yK(a.wrapText)),r.alignment=s;break;case`</alignment>`:break;case`<protection`:case`<protection>`:break;case`</protection>`:case`<protection/>`:break;case`<AlternateContent`:case`<AlternateContent>`:i=!0;break;case`</AlternateContent>`:i=!1;break;case`<extLst`:case`<extLst>`:case`</extLst>`:break;case`<ext`:i=!0;break;case`</ext>`:i=!1;break;default:if(n&&n.WTF&&!i)throw Error(`unrecognized `+a[0]+` in cellXfs`)}})}var tFe=(function(){return function(e,t,n){var r={};if(!e)return r;e=qG(YG(e,`<!--`,`-->`));var i;return(i=ZG(e,`numFmts`))&&$Pe(i[0],r,n),(i=ZG(e,`fonts`))&&QPe(i[0],r,t,n),(i=ZG(e,`fills`))&&ZPe(i[0],r,t,n),(i=ZG(e,`borders`))&&XPe(i[0],r,t,n),(i=ZG(e,`cellXfs`))&&eFe(i[0],r,n),r}})();function nFe(e,t){return[e.read_shift(2),Eq(e,t-2)]}function rFe(e,t,n){var r={};r.sz=e.read_shift(2)/20;var i=uMe(e,2,n);switch(i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1),e.read_shift(2)===700&&(r.bold=1),e.read_shift(2)){case 1:r.vertAlign=`superscript`;break;case 2:r.vertAlign=`subscript`}var a=e.read_shift(1);a!=0&&(r.underline=a);var o=e.read_shift(1);o>0&&(r.family=o);var s=e.read_shift(1);switch(s>0&&(r.charset=s),e.l++,r.color=lMe(e,8),e.read_shift(1)){case 1:r.scheme=`major`;break;case 2:r.scheme=`minor`}return r.name=Eq(e,t-21),r}var iFe=iq;function aFe(e,t){var n=e.l+t,r=e.read_shift(2),i=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:i}}var oFe=iq;function sFe(e,t,n){var r={};for(var i in r.NumberFmt=[],tG)r.NumberFmt[i]=tG[i];r.CellXf=[],r.Fonts=[];var a=[],o=!1;return oq(e,function(e,i,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],kG(e[1],e[0]);break;case 43:r.Fonts.push(e),e.color.theme!=null&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=YJ(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:a[a.length-1]==617&&r.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:a.push(s),o=!0;break;case 38:a.pop(),o=!1;break;default:if(i.T>0)a.push(s);else if(i.T<0)a.pop();else if(!o||n.WTF&&a[a.length-1]!=37)throw Error(`Unexpected record 0x`+s.toString(16))}}),r}var cFe=[`</a:lt1>`,`</a:dk1>
158`,`</a:lt2>`,`</a:dk2>`,`</a:accent1>`,`</a:accent2>`,`</a:accent3>`,`</a:accent4>`,`</a:accent5>`,`</a:accent6>`,`</a:hlink>`,`</a:folHlink>`];function lFe(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(fK)||[]).forEach(function(e){var i=pK(e);switch(i[0]){case`<a:clrScheme`:case`</a:clrScheme>`:break;case`<a:srgbClr`:r.rgb=i.val;break;case`</a:srgbClr>`:break;case`<a:sysClr`:r.rgb=i.lastClr;break;case`</a:sysClr>`:break;case`</a:dk1>`:case`</a:lt1>`:case`<a:dk1>`:case`<a:lt1>`:case`<a:dk2>`:case`</a:dk2>`:case`<a:lt2>`:case`</a:lt2>`:case`<a:accent1>`:case`</a:accent1>`:case`<a:accent2>`:case`</a:accent2>`:case`<a:accent3>`:case`</a:accent3>`:case`<a:accent4>`:case`</a:accent4>`:case`<a:accent5>`:case`</a:accent5>`:case`<a:accent6>`:case`</a:accent6>`:case`<a:hlink>`:case`</a:hlink>`:case`<a:folHlink>`:case`</a:folHlink>`:i[0].charAt(1)===`/`?(t.themeElements.clrScheme[cFe.indexOf(i[0])]=r,r={}):r.name=i[0].slice(3,i[0].length-1);break;default:if(n&&n.WTF)throw Error(`Unrecognized `+i[0]+` in clrScheme`)}})}function uFe(e,t,n){t.themeElements={};var r;if(!(r=XG(e,`a:clrScheme`)))throw Error(`clrScheme not found in themeElements`);if(lFe(r,t,n),!(r=XG(e,`a:fontScheme`)))throw Error(`fontScheme not found in themeElements`);if(!(r=XG(e,`a:fmtScheme`)))throw Error(`fmtScheme not found in themeElements`)}function lY(e,t){(!e||e.length===0)&&(e=dFe());var n,r={};if(!(n=XG(e,`a:themeElements`)))throw Error(`themeElements not found in theme`);return uFe(n[0],r,t),r.raw=e,r}function dFe(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw==`string`)return e.raw;var n=[lK];return n[n.length]=`<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">`,n[n.length]=`<a:themeElements>`,n[n.length]=`<a:clrScheme name="Office">`,n[n.length]=`<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>`,n[n.length]=`<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>`,n[n.length]=`<a:dk2><a:srgbClr val="1F497D"/></a:dk2>`,n[n.length]=`<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>`,n[n.length]=`<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>`,n[n.length]=`<a:accent2><a:srgbClr val="C0504D"/></a:accent2>`,n[n.length]=`<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>`,n[n.length]=`<a:accent4><a:srgbClr val="8064A2"/></a:accent4>`,n[n.length]=`<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>`,n[n.length]=`<a:accent6><a:srgbClr val="F79646"/></a:accent6>`,n[n.length]=`<a:hlink><a:srgbClr val="0000FF"/></a:hlink>`,n[n.length]=`<a:folHlink><a:srgbClr val="800080"/></a:folHlink>`,n[n.length]=`</a:clrScheme>`,n[n.length]=`<a:fontScheme name="Office">`,n[n.length]=`<a:majorFont>`,n[n.length]=`<a:latin typeface="Cambria"/>`,n[n.length]=`<a:ea typeface=""/>`,n[n.length]=`<a:cs typeface=""/>`,n[n.length]=`<a:font script="Jpan" typeface="ï¼ï¼³ ï¼°ã´ã·ãã¯"/>`,n[n.length]=`<a:font script="Hang" typeface="ë§ì ê³ ë"/>`,n[n.length]=`<a:font script="Hans" typeface="å®ä½"/>`,n[n.length]=`<a:font script="Hant" typeface="æ°ç´°æé«"/>`,n[n.length]=`<a:font script="Arab" typeface="Times New Roman"/>`,n[n.length]=`<a:font script="Hebr" typeface="Times New Roman"/>`,n[n.length]=`<a:font script="Thai" typeface="Tahoma"/>`,n[n.length]=`<a:font script="Ethi" typeface="Nyala"/>`,n[n.length]=`<a:font script="Beng" typeface="Vrinda"/>`,n[n.length]=`<a:font script="Gujr" typeface="Shruti"/>`,n[n.length]=`<a:font script="Khmr" typeface="MoolBoran"/>`,n[n.length]=`<a:font script="Knda" typeface="Tunga"/>`,n[n.length]=`<a:font script="Guru" typeface="Raavi"/>`,n[n.length]=`<a:font script="Cans" typeface="Euphemia"/>`,n[n.length]=`<a:font script="Cher" typeface="Plantagenet Cherokee"/>`,n[n.length]=`<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>`,n[n.length]=`<a:font script="Tibt" typeface="Microsoft Himalaya"/>`,n[n.length]=`<a:font script="Thaa" typeface="MV Boli"/>`,n[n.length]=`<a:font script="Deva" typeface="Mangal"/>`,n[n.length]=`<a:font script="Telu" typeface="Gautami"/>`,n[n.length]=`<a:font script="Taml" typeface="Latha"/>`,n[n.length]=`<a:font script="Syrc" typeface="Estrangelo Edessa"/>`,n[n.length]=`<a:font script="Orya" typeface="Kalinga"/>`,n[n.length]=`<a:font script="Mlym" typeface="Kartika"/>`,n[n.length]=`<a:font script="Laoo" typeface="DokChampa"/>`,n[n.length]=`<a:font script="Sinh" typeface="Iskoola Pota"/>`,n[n.length]=`<a:font script="Mong" typeface="Mongolian Baiti"/>`,n[n.length]=`<a:font script="Viet" typeface="Times New Roman"/>`,n[n.length]=`<a:font script="Uigh" typeface="Microsoft Uighur"/>`,n[n.length]=`<a:font script="Geor" typeface="Sylfaen"/>`,n[n.length]=`</a:majorFont>`,n[n.length]=`<a:minorFont>`,n[n.length]=`<a:latin typeface="Calibri"/>`,n[n.length]=`<a:ea typeface=""/>`,n[n.length]=`<a:cs typeface=""/>`,n[n.length]=`<a:font script="Jpan" typeface="ï¼ï¼³ ï¼°ã´ã·ãã¯"/>`,n[n.length]=`<a:font script="Hang" typeface="ë§ì ê³ ë"/>`,n[n.length]=`<a:font script="Hans" typeface="å®ä½"/>
158`,n[n.length]=`<a:font script="Hant" typeface="æ°ç´°æé«"/>`,n[n.length]=`<a:font script="Arab" typeface="Arial"/>`,n[n.length]=`<a:font script="Hebr" typeface="Arial"/>`,n[n.length]=`<a:font script="Thai" typeface="Tahoma"/>`,n[n.length]=`<a:font script="Ethi" typeface="Nyala"/>`,n[n.length]=`<a:font script="Beng" typeface="Vrinda"/>`,n[n.length]=`<a:font script="Gujr" typeface="Shruti"/>`,n[n.length]=`<a:font script="Khmr" typeface="DaunPenh"/>`,n[n.length]=`<a:font script="Knda" typeface="Tunga"/>`,n[n.length]=`<a:font script="Guru" typeface="Raavi"/>`,n[n.length]=`<a:font script="Cans" typeface="Euphemia"/>`,n[n.length]=`<a:font script="Cher" typeface="Plantagenet Cherokee"/>`,n[n.length]=`<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>`,n[n.length]=`<a:font script="Tibt" typeface="Microsoft Himalaya"/>`,n[n.length]=`<a:font script="Thaa" typeface="MV Boli"/>`,n[n.length]=`<a:font script="Deva" typeface="Mangal"/>`,n[n.length]=`<a:font script="Telu" typeface="Gautami"/>`,n[n.length]=`<a:font script="Taml" typeface="Latha"/>`,n[n.length]=`<a:font script="Syrc" typeface="Estrangelo Edessa"/>`,n[n.length]=`<a:font script="Orya" typeface="Kalinga"/>`,n[n.length]=`<a:font script="Mlym" typeface="Kartika"/>`,n[n.length]=`<a:font script="Laoo" typeface="DokChampa"/>`,n[n.length]=`<a:font script="Sinh" typeface="Iskoola Pota"/>`,n[n.length]=`<a:font script="Mong" typeface="Mongolian Baiti"/>`,n[n.length]=`<a:font script="Viet" typeface="Arial"/>`,n[n.length]=`<a:font script="Uigh" typeface="Microsoft Uighur"/>`,n[n.length]=`<a:font script="Geor" typeface="Sylfaen"/>`,n[n.length]=`</a:minorFont>`,n[n.length]=`</a:fontScheme>`,n[n.length]=`<a:fmtScheme name="Office">`,n[n.length]=`<a:fillStyleLst>`,n[n.length]=`<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>`,n[n.length]=`<a:gradFill rotWithShape="1">`,n[n.length]=`<a:gsLst>`,n[n.length]=`<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>`,n[n.length]=`<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>`,n[n.length]=`<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>`,n[n.length]=`</a:gsLst>`,n[n.length]=`<a:lin ang="16200000" scaled="1"/>`,n[n.length]=`</a:gradFill>`,n[n.length]=`<a:gradFill rotWithShape="1">`,n[n.length]=`<a:gsLst>`,n[n.length]=`<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>`,n[n.length]=`<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>`,n[n.length]=`</a:gsLst>`,n[n.length]=`<a:lin ang="16200000" scaled="0"/>`,n[n.length]=`</a:gradFill>`,n[n.length]=`</a:fillStyleLst>`,n[n.length]=`<a:lnStyleLst>`,n[n.length]=`<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>`,n[n.length]=`<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>`,n[n.length]=`<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>`,n[n.length]=`</a:lnStyleLst>`,n[n.length]=`<a:effectStyleLst>`,n[n.length]=`<a:effectStyle>`,n[n.length]=`<a:effectLst>`,n[n.length]=`<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>`,n[n.length]=`</a:effectLst>`,n[n.length]=`</a:effectStyle>`,n[n.length]=`<a:effectStyle>`,n[n.length]=`<a:effectLst>`,n[n.length]=`<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>`,n[n.length]=`</a:effectLst>`,n[n.length]=`</a:effectStyle>`,n[n.length]=`<a:effectStyle>`,n[n.length]=`<a:effectLst>`,n[n.length]=`<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>`,n[n.length]=`</a:effectLst>`,n[n.length]=`<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>`,n[n.length]=`<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>`,n[n.length]=`</a:effectStyle>`,n[n.length]=`</a:effectStyleLst>`,n[n.length]=`<a:bgFillStyleLst>`,n[n.length]=`<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>`,n[n.length]=`<a:gradFill rotWithShape="1">`,n[n.length]=`<a:gsLst>`,n[n.length]=`<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>`,n[n.length]=`<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>`,n[n.length]=`<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>`,n[n.length]=`</a:gsLst>`,n[n.length]=`<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/>
158</a:path>`,n[n.length]=`</a:gradFill>`,n[n.length]=`<a:gradFill rotWithShape="1">`,n[n.length]=`<a:gsLst>`,n[n.length]=`<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>`,n[n.length]=`<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>`,n[n.length]=`</a:gsLst>`,n[n.length]=`<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>`,n[n.length]=`</a:gradFill>`,n[n.length]=`</a:bgFillStyleLst>`,n[n.length]=`</a:fmtScheme>`,n[n.length]=`</a:themeElements>`,n[n.length]=`<a:objectDefaults>`,n[n.length]=`<a:spDef>`,n[n.length]=`<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>`,n[n.length]=`</a:spDef>`,n[n.length]=`<a:lnDef>`,n[n.length]=`<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>`,n[n.length]=`</a:lnDef>`,n[n.length]=`</a:objectDefaults>`,n[n.length]=`<a:extraClrSchemeLst/>`,n[n.length]=`</a:theme>`,n.join(``)}function fFe(e,t,n){var r=e.l+t;if(e.read_shift(4)!==124226){if(!n.cellStyles){e.l=r;return}var i=e.slice(e.l);e.l=r;var a;try{a=sK(i,{type:`array`})}catch{return}var o=iK(a,`theme/theme/theme1.xml`,!0);if(o)return lY(o,n)}}function pFe(e){return e.read_shift(4)}function mFe(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=hFe(e,4);break;case 2:t.xclrValue=SJ(e,4);break;case 3:t.xclrValue=pFe(e,4);break;case 4:e.l+=4}return e.l+=8,t}function hFe(e,t){return iq(e,t)}function gFe(e,t){return iq(e,t)}function _Fe(e){var t=e.read_shift(2),n=e.read_shift(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=mFe(e,n);break;case 6:r[1]=gFe(e,n);break;case 14:case 15:r[1]=e.read_shift(n===1?1:2);break;default:throw Error(`Unrecognized ExtProp type: `+t+` `+n)}return r}function vFe(e,t){var n=e.l+t;e.l+=2;var r=e.read_shift(2);e.l+=2;for(var i=e.read_shift(2),a=[];i-->0;)a.push(_Fe(e,n-e.l));return{ixfe:r,ext:a}}function yFe(e,t){t.forEach(function(e){e[0]})}function bFe(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Eq(e,t-8)}}function xFe(e){for(var t=[],n=e.read_shift(4);n-->0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function SFe(e){return e.l+=4,e.read_shift(4)!=0}function CFe(e,t,n){var r={Types:[],Cell:[],Value:[]},i=n||{},a=[],o=!1,s=2;return oq(e,function(e,t,n){switch(n){case 335:r.Types.push({name:e.name});break;case 51:e.forEach(function(e){s==1?r.Cell.push({type:r.Types[e[0]-1].name,index:e[1]}):s==0&&r.Value.push({type:r.Types[e[0]-1].name,index:e[1]})});break;case 337:s=+!!e;break;case 338:s=2;break;case 35:a.push(n),o=!0;break;case 36:a.pop(),o=!1;break;default:if(!t.T&&(!o||i.WTF&&a[a.length-1]!=35))throw Error(`Unexpected record 0x`+n.toString(16))}}),r}function wFe(e,t,n){var r={Types:[],Cell:[],Value:[]};if(!e)return r;var i=!1,a=2,o;return e.replace(fK,function(e){var t=pK(e);switch(mK(t[0])){case`<?xml`:break;case`<metadata`:case`</metadata>`:break;case`<metadataTypes`:case`</metadataTypes>`:break;case`<metadataType`:r.Types.push({name:t.name});break;case`</metadataType>`:break;case`<futureMetadata`:for(var s=0;s<r.Types.length;++s)r.Types[s].name==t.name&&(o=r.Types[s]);break;case`</futureMetadata>`:break;case`<bk>`:break;case`</bk>`:break;case`<rc`:a==1?r.Cell.push({type:r.Types[t.t-1].name,index:+t.v}):a==0&&r.Value.push({type:r.Types[t.t-1].name,index:+t.v});break;case`</rc>`:break;case`<cellMetadata`:a=1;break;case`</cellMetadata>`:a=2;break;case`<valueMetadata`:a=0;break;case`</valueMetadata>`:a=2;break;case`<extLst`:case`<extLst>`:case`</extLst>`:case`<extLst/>`:break;case`<ext`:i=!0;break;case`</ext>`:i=!1;break;case`<rvb`:if(!o)break;o.offsets||(o.offsets=[]),o.offsets.push(+t.i);break;default:if(!i&&n?.WTF)throw Error(`unrecognized `+t[0]+` in metadata`)}return e}),r}function TFe(e){var t=[];if(!e)return t;var n=1;
158return(e.match(fK)||[]).forEach(function(e){var r=pK(e);switch(r[0]){case`<?xml`:break;case`<calcChain`:case`<calcChain>`:case`</calcChain>`:break;case`<c`:delete r[0],r.i?n=r.i:r.i=n,t.push(r)}}),t}function EFe(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=_q(n);var r=e.read_shift(1);return r&2&&(t.l=`1`),r&8&&(t.a=`1`),t}function DFe(e,t,n){var r=[];return oq(e,function(e,t,n){switch(n){case 63:r.push(e);break;default:if(!t.T)throw Error(`Unexpected record 0x`+n.toString(16))}}),r}function OFe(e,t,n,r){if(!e)return e;var i=r||{},a=!1;oq(e,function(e,t,n){switch(n){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:a=!0;break;case 36:a=!1;break;default:if(!t.T&&(!a||i.WTF))throw Error(`Unexpected record 0x`+n.toString(16))}},i)}function kFe(e,t){if(!e)return`??`;var n=(e.match(/<c:chart [^<>]*r:id="([^<>"]*)"/)||[``,``])[1];return t[`!id`][n].Target}function AFe(e,t,n){var r=0;(QG(e,`shape`)||[]).forEach(function(e){var i=``,a=!0,o=-1,s=-1,c=-1;if(e.replace(fK,function(t,n){var r=pK(t);switch(mK(r[0])){case`<ClientData`:r.ObjectType&&(i=r.ObjectType);break;case`<Visible`:case`<Visible/>`:a=!1;break;case`<Row`:case`<Row>`:o=n+t.length;break;case`</Row>`:s=+e.slice(o,n).trim();break;case`<Column`:case`<Column>`:o=n+t.length;break;case`</Column>`:c=+e.slice(o,n).trim()}return``}),i===`Note`){var l=RX(t,s>=0&&c>=0?_q({r:s,c}):n[r].ref);l.c&&(l.c.hidden=a),++r}})}function uY(e,t,n,r){var i=e[`!data`]!=null,a;t.forEach(function(t){var o=gq(t.ref);if(!(o.r<0||o.c<0)){if(i?(e[`!data`][o.r]||(e[`!data`][o.r]=[]),a=e[`!data`][o.r][o.c]):a=e[t.ref],!a){a={t:`z`},i?e[`!data`][o.r][o.c]=a:e[t.ref]=a;var s=bq(e[`!ref`]||`BDWGO1000001:A1`);s.s.r>o.r&&(s.s.r=o.r),s.e.r<o.r&&(s.e.r=o.r),s.s.c>o.c&&(s.s.c=o.c),s.e.c<o.c&&(s.e.c=o.c),e[`!ref`]=yq(s)}a.c||(a.c=[]);var c={a:t.author,t:t.t,r:t.r,T:n};t.h&&(c.h=t.h);for(var l=a.c.length-1;l>=0;--l){if(!n&&a.c[l].T)return;n&&!a.c[l].T&&a.c.splice(l,1)}if(n&&r){for(l=0;l<r.length;++l)if(c.a==r[l].id){c.a=r[l].name||c.a;break}}a.c.push(c)}})}function jFe(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],r=[],i=ZG(e,`authors`);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach(function(e){if(e!==``&&e.trim()!==``){var t=e.match(/<(?:\w+:)?author[^<>]*>(.*)/);t&&n.push(t[1])}});var a=ZG(e,`commentList`);return a&&a[1]&&a[1].split(/<\/\w*:?comment>/).forEach(function(e){if(e!==``&&e.trim()!==``){var i=e.match(/<(?:\w+:)?comment[^<>]*>/);if(i){var a=pK(i[0]),o={author:a.authorId&&n[a.authorId]||`sheetjsghost`,ref:a.ref,guid:a.guid},s=gq(a.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var c=ZG(e,`text`),l=!!c&&!!c[1]&&VJ(c[1])||{r:``,t:``,h:``};o.r=l.r,l.r==`<t></t>`&&(l.t=l.h=``),o.t=(l.t||``).replace(/\r\n/g,` 159`).replace(/\r/g,` 160`),t.cellHTML&&(o.h=l.h),r.push(o)}}}}),r}function MFe(e,t){var n=[],r=!1,i={},a=0;return e.replace(fK,function(o,s){var c=pK(o);switch(mK(c[0])){case`<?xml`:break;case`<ThreadedComments`:break;case`</ThreadedComments>`:break;case`<threadedComment`:i={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case`</threadedComment>`:i.t!=null&&n.push(i);break;case`<text>`:case`<text`:a=s+o.length;break;case`</text>`:i.t=e.slice(a,s).replace(/\r\n/g,` 161`).replace(/\r/g,` 162`);break;case`<mentions`:case`<mentions>`:r=!0;break;case`</mentions>`:r=!1;break;case`<extLst`:case`<extLst>`:case`</extLst>`:case`<extLst/>`:break;case`<ext`:r=!0;break;case`</ext>`:r=!1;break;default:if(!r&&t.WTF)throw Error(`unrecognized `+c[0]+` in threaded comments`)}return o}),n}function NFe(e,t){var n=[],r=!1;return e.replace(fK,function(e){var i=pK(e);switch(mK(i[0])){case`<?xml`:break;case`<personList`:break;case`</personList>`:break;case`<person`:n.push({name:i.displayname,id:i.id});break;case`</person>`:break;case`<extLst`:case`<extLst>`:case`</extLst>`:case`<extLst/>`:break;case`<ext`:r=!0;break;case`</ext>`:r=!1;break;default:if(!r&&t.WTF)throw Error(`unrecognized `+i[0]+` in threaded comments`)}return e}),n}function PFe(e){var t={};t.iauthor=e.read_shift(4);var n=Pq(e,16);return t.rfx=n.s,t.ref=_q(n.s),e.l+=16,t}var FFe=Eq;function IFe(e,t){var n=[],r=[],i={},a=!1;return oq(e,function(e,o,s){switch(s){case 632:r.push(e);break;case 635:i=e;break;case 637:i.t=e.t,i.h=e.h,i.r=e.r;break;case 636:if(i.author=r[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=``),delete i.rfx,n.push(i);break;case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:break;case 38:break;default:if(!o.T&&(!a||t.WTF))throw Error(`Unexpected record 0x`+s.toString(16))}}),n}var LFe=`application/vnd.ms-office.vbaProject`;function RFe(e){var t=jG.utils.cfb_new({root:`R`});return e.FullPaths.forEach(function(n,r){if(!(n.slice(-1)===`/`||!n.match(/_VBA_PROJECT_CUR/))){var i=n.replace(/^[^\/]*/,`R`).replace(/\/_VBA_PROJECT_CUR\u0000*/,``);jG.utils.cfb_add(t,i,e.FileIndex[r].content)}}),jG.write(t)}function zFe(){return{"!type":`dialog`}}function BFe(){return{"!type":`dialog`}}function VFe(){return{"!type":`macro`}}function HFe(){return{"!type":`macro`}}var dY=(function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,i){var a=!1,o=!1;r.length==0?o=!0:r.charAt(0)==`[`&&(o=!0,r=r.slice(1,-1)),i.length==0?a=!0:i.charAt(0)==`[`&&(a=!0,i=i.slice(1,-1));var s=r.length>0?parseInt(r,10)|0:0,c=i.length>0?parseInt(i,10)|0:0;return a?c+=t.c:--c,o?s+=t.r:--s,n+(a?``:`$`)+hq(c)+(o?``:`$`)+pq(s)}return function(r,i){return t=i,r.replace(e,n)}})(),fY=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{fY=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch{}var UFe=(function(){return function(e,t){return e.replace(fY,function(e,n,r,i,a,o){var s=mq(i)-(r?0:t.c),c=fq(o)-(a?0:t.r),l=a==`$`?c+1:c==0?``:`[`+c+`]`,u=r==`$`?s+1:s==0?``:`[`+s+`]`;return n+`R`+l+`C`+u})}})();function pY(e,t){return e.replace(fY,function(e,n,r,i,a,o){return n+(r==`$`?r+i:hq(mq(i)+t.c))+(a==`$`?a+o:pq(fq(o)+t.r))})}function mY(e,t,n){var r=vq(t).s,i=gq(n);return pY(e,{r:i.r-r.r,c:i.c-r.c})}function WFe(e){return e.length!=1}function hY(e){return e.replace(/_xlfn\./g,``)}function gY(e){e.l+=1}function _Y(e,t){var n=e.read_shift(t==1?1:2);
vendor: 12,615 bytes, line 162
162return[n&16383,n>>14&1,n>>15&1]}function vY(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return yY(e,t,n);n.biff==12&&(r=4)}var i=e.read_shift(r),a=e.read_shift(r),o=_Y(e,2),s=_Y(e,2);return{s:{r:i,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function yY(e){var t=_Y(e,2),n=_Y(e,2),r=e.read_shift(1),i=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function GFe(e,t,n){if(n.biff<8)return yY(e,t,n);var r=e.read_shift(n.biff==12?4:2),i=e.read_shift(n.biff==12?4:2),a=_Y(e,2),o=_Y(e,2);return{s:{r,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:o[0],cRel:o[1],rRel:o[2]}}}function bY(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return KFe(e,t,n);var r=e.read_shift(n&&n.biff==12?4:2),i=_Y(e,2);return{r,c:i[0],cRel:i[1],rRel:i[2]}}function KFe(e){var t=_Y(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}function qFe(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:n&255,fQuoted:!!(n&16384),cRel:n>>15,rRel:n>>15}}function JFe(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return YFe(e,t,n);var i=e.read_shift(r>=12?4:2),a=e.read_shift(2),o=(a&16384)>>14,s=(a&32768)>>15;if(a&=16383,s==1)for(;i>524287;)i-=1048576;if(o==1)for(;a>8191;)a-=16384;return{r:i,c:a,cRel:o,rRel:s}}function YFe(e){var t=e.read_shift(2),n=e.read_shift(1),r=(t&32768)>>15,i=(t&16384)>>14;return t&=16383,r==1&&t>=8192&&(t-=16384),i==1&&n>=128&&(n-=256),{r:t,c:n,cRel:i,rRel:r}}function XFe(e,t,n){return[(e[e.l++]&96)>>5,vY(e,n.biff>=2&&n.biff<=5?6:8,n)]}function ZFe(e,t,n){var r=(e[e.l++]&96)>>5,i=e.read_shift(2,`i`),a=8;if(n)switch(n.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}return[r,i,vY(e,a,n)]}function QFe(e,t,n){var r=(e[e.l++]&96)>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}function $Fe(e,t,n){var r=(e[e.l++]&96)>>5,i=e.read_shift(2),a=8;if(n)switch(n.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}return e.l+=a,[r,i]}function eIe(e,t,n){return[(e[e.l++]&96)>>5,GFe(e,t-1,n)]}function tIe(e,t,n){var r=(e[e.l++]&96)>>5;return e.l+=n.biff==2?6:n.biff==12?14:7,[r]}function xY(e){var t=e[e.l+1]&1;return e.l+=4,[t,1]}function nIe(e,t,n){e.l+=2;for(var r=e.read_shift(n&&n.biff==2?1:2),i=[],a=0;a<=r;++a)i.push(e.read_shift(n&&n.biff==2?1:2));return i}function rIe(e,t,n){var r=e[e.l+1]&255?1:0;return e.l+=2,[r,e.read_shift(n&&n.biff==2?1:2)]}function iIe(e,t,n){var r=e[e.l+1]&255?1:0;return e.l+=2,[r,e.read_shift(n&&n.biff==2?1:2)]}function aIe(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function oIe(e,t,n){var r=e[e.l+1]&255?1:0;return e.l+=n&&n.biff==2?3:4,[r]}function SY(e){return[e.read_shift(1),e.read_shift(1)]}function sIe(e){return e.read_shift(2),SY(e,2)}function cIe(e){return e.read_shift(2),SY(e,2)}function lIe(e,t,n){var r=(e[e.l]&96)>>5;return e.l+=1,[r,bY(e,0,n)]}function uIe(e,t,n){var r=(e[e.l]&96)>>5;return e.l+=1,[r,JFe(e,0,n)]}function dIe(e,t,n){var r=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(2);return n&&n.biff==5&&(e.l+=12),[r,i,bY(e,0,n)]}function fIe(e,t,n){var r=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(n&&n.biff<=3?1:2);return[pLe[i],FY[i],r]}function pIe(e,t,n){var r=e[e.l++],i=e.read_shift(1),a=n&&n.biff<=3?[r==88?-1:0,e.read_shift(1)]:mIe(e);return[i,(a[0]===0?FY:fLe)[a[1]]]}function mIe(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function hIe(e,t,n){e.l+=n&&n.biff==2?3:4}function gIe(e,t,n){return e.l++,n&&n.biff==12?[e.read_shift(4,`i`),0]:[e.read_shift(2),e.read_shift(n&&n.biff==2?1:2)]}function _Ie(e){return e.l++,qq[e.read_shift(1)]}function vIe(e){return e.l++,e.read_shift(2)}function yIe(e){return e.l++,e.read_shift(1)!==0}function bIe(e){return e.l++,Fq(e,8)}function xIe(e,t,n){return e.l++,_J(e,t-1,n)}function SIe(e,t){var n=[e.read_shift(1)];if(t==12)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2;break}switch(n[0]){case 4:n[1]=pJ(e,1)?`TRUE`:`FALSE`,t!=12&&(e.l+=7);break;case 37:case 16:n[1]=qq[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Fq(e,8);break;case 2:n[1]=bJ(e,0,{biff:t>0&&t<8?2:t});break;default:throw Error(`Bad SerAr: `+n[0])}return n}function CIe(e,t,n){for(var r=e.read_shift(n.biff==12?4:2),i=[],a=0;a!=r;++a)i.push((n.biff==12?Pq:EJ)(e,8));return i}function wIe(e,t,n){var r=0,i=0;n.biff==12?(r=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,--i==0&&(i=256));for(var a=0,o=[];a!=r&&(o[a]=[]);++a)for(var s=0;s!=i;++s)o[a][s]=SIe(e,n.biff);return o}function TIe(e,t,n){var r=e.read_shift(1)>>>5&3,i=!n||n.biff>=8?4:2,a=e.read_shift(i);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,a]}function EIe(e,t,n){return n.biff==5?DIe(e,t,n):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}function DIe(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,`i`);e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}function OIe(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=n&&n.biff==2?3:4,[r,e.read_shift(n&&n.biff==2?1:2)]}function kIe(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&n.biff==2?1:2)]}function AIe(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,n.biff==12&&(e.l+=2),[r]}function jIe(e,t,n){var r=(e[e.l++]&96)>>5,i=e.read_shift(2),a=4;if(n)switch(n.biff){case 5:a=15;break;case 12:a=6;break}return e.l+=a,[r,i]}var MIe=iq,NIe=iq,PIe=iq;function CY(e,t,n){return e.l+=2,[qFe(e,4,n)]}function wY(e){return e.l+=6,[]}var FIe=CY,IIe=wY,LIe=wY,RIe=CY;function TY(e){return e.l+=2,[mJ(e),e.read_shift(2)&1]}var zIe=CY,BIe=TY,VIe=wY,HIe=CY,UIe=CY,WIe=[`Data`,`All`,`Headers`,`??`,`?Data2`,`??`,`?DataHeaders`,`??`,`Totals`,`??`,`??`,`??`,`?DataTotals`,`??`,`??`,`??`,`?Current`];function GIe(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i=e.read_shift(2),a=e.read_shift(2),o=WIe[n>>2&31];return{ixti:t,coltype:n&3,rt:o,idx:r,c:i,C:a}}function KIe(e){return e.l+=2,[e.read_shift(4)]}function qIe(e,t,n){return e.l+=5,e.l+=2,e.l+=n.biff==2?1:4,[`PTGSHEET`]}function JIe(e,t,n){return e.l+=n.biff==2?4:5,[`PTGENDSHEET`]}function YIe(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}function XIe(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}function ZIe(e){return e.l+=4,[0,0]}var EY={1:{n:`PtgExp`,f:gIe},2:{n:`PtgTbl`,f:PIe},3:{n:`PtgAdd`,f:gY},4:{n:`PtgSub`,f:gY},5:{n:`PtgMul`,f:gY},6:{n:`PtgDiv`,f:gY},7:{n:`PtgPower`,f:gY},8:{n:`PtgConcat`,f:gY},9:{n:`PtgLt`,f:gY},10:{n:`PtgLe`,f:gY},11:{n:`PtgEq`,f:gY},12:{n:`PtgGe`,f:gY},13:{n:`PtgGt`,f:gY},14:{n:`PtgNe`,f:gY},15:{n:`PtgIsect`,f:gY},16:{n:`PtgUnion`,f:gY},17:{n:`PtgRange`,f:gY},18:{n:`PtgUplus`,f:gY},19:{n:`PtgUminus`,f:gY},20:{n:`PtgPercent`,f:gY},21:{n:`PtgParen`,f:gY},22:{n:`PtgMissArg`,f:gY},23:{n:`PtgStr`,f:xIe},26:{n:`PtgSheet`,f:qIe},27:{n:`PtgEndSheet`,f:JIe},28:{n:`PtgErr`,f:_Ie},29:{n:`PtgBool`,f:yIe},30:{n:`PtgInt`,f:vIe},31:{n:`PtgNum`,f:bIe},32:{n:`PtgArray`,f:tIe},33:{n:`PtgFunc`,f:fIe},34:{n:`PtgFuncVar`,f:pIe},35:{n:`PtgName`,f:TIe},36:{n:`PtgRef`,f:lIe},37:{n:`PtgArea`,f:XFe},38:{n:`PtgMemArea`,f:OIe},39:{n:`PtgMemErr`,f:MIe},40:{n:`PtgMemNoMem`,f:NIe},41:{n:`PtgMemFunc`,f:kIe},42:{n:`PtgRefErr`,f:AIe},43:{n:`PtgAreaErr`,f:QFe},44:{n:`PtgRefN`,f:uIe},45:{n:`PtgAreaN`,f:eIe},46:{n:`PtgMemAreaN`,f:YIe},47:{n:`PtgMemNoMemN`,f:XIe},57:{n:`PtgNameX`,f:EIe},58:{n:`PtgRef3d`,f:dIe},59:{n:`PtgArea3d`,f:ZFe},60:{n:`PtgRefErr3d`,f:jIe},61:{n:`PtgAreaErr3d`,f:$Fe},255:{}},QIe={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},$Ie={1:{n:`PtgElfLel`,f:TY},2:{n:`PtgElfRw`,f:HIe},3:{n:`PtgElfCol`,f:FIe},6:{n:`PtgElfRwV`,f:UIe},7:{n:`PtgElfColV`,f:RIe},10:{n:`PtgElfRadical`,f:zIe},11:{n:`PtgElfRadicalS`,f:VIe},13:{n:`PtgElfColS`,f:IIe},15:{n:`PtgElfColSV`,f:LIe},16:{n:`PtgElfRadicalLel`,f:BIe},25:{n:`PtgList`,f:GIe},29:{n:`PtgSxName`,f:KIe},255:{}},eLe={0:{n:`PtgAttrNoop`,f:ZIe},1:{n:`PtgAttrSemi`,f:oIe},2:{n:`PtgAttrIf`,f:iIe},4:{n:`PtgAttrChoose`,f:nIe},8:{n:`PtgAttrGoto`,f:rIe},16:{n:`PtgAttrSum`,f:hIe},32:{n:`PtgAttrBaxcel`,f:xY},33:{n:`PtgAttrBaxcel`,f:xY},64:{n:`PtgAttrSpace`,f:sIe},65:{n:`PtgAttrSpaceSemi`,f:cIe},128:{n:`PtgAttrIfError`,f:aIe},255:{}};function DY(e,t,n,r){if(r.biff<8)return iq(e,t);for(var i=e.l+t,a=[],o=0;o!==n.length;++o)switch(n[o][0]){case`PtgArray`:n[o][1]=wIe(e,0,r),a.push(n[o][1]);break;case`PtgMemArea`:n[o][2]=CIe(e,n[o][1],r),a.push(n[o][2]);break;case`PtgExp`:r&&r.biff==12&&(n[o][1][1]=e.read_shift(4),a.push(n[o][1]));break;case`PtgList`:case`PtgElfRadicalS`:case`PtgElfColS`:case`PtgElfColSV`:throw`Unsupported `+n[o][0]}return t=i-e.l,t!==0&&a.push(iq(e,t)),a}function OY(e,t,n){for(var r=e.l+t,i,a,o=[];r!=e.l;)t=r-e.l,a=e[e.l],i=EY[a]||EY[QIe[a]],(a===24||a===25)&&(i=(a===24?$Ie:eLe)[e[e.l+1]]),!i||!i.f?iq(e,t):o.push([i.n,i.f(e,t,n)]);return o}function tLe(e){for(var t=[],n=0;n<e.length;++n){for(var r=e[n],i=[],a=0;a<r.length;++a){var o=r[a];if(o)switch(o[0]){case 2:i.push(`"`+o[1].replace(/"/g,`""`)+`"`);break;default:i.push(o[1])}else i.push(``)}t.push(i.join(`,`))}return t.join(`;`)}var nLe={PtgAdd:`+`,PtgConcat:`&`,PtgDiv:`/`,PtgEq:`=`,PtgGe:`>=`,PtgGt:`>`,PtgLe:`<=`,PtgLt:`<`,PtgMul:`*`,PtgNe:`<>`,PtgPower:`^`,PtgSub:`-`};function rLe(e,t){var n=e.lastIndexOf(`!`),r=t.lastIndexOf(`!`);return n==-1&&r==-1?e+`:`+t:n>0&&r>0&&e.slice(0,n).toLowerCase()==t.slice(0,r).toLowerCase()?e+`:`+t.slice(r+1):(console.error(`Cannot hydrate range`,e,t),e+`:`+t)}function kY(e,t,n){if(!e)return`SH33TJSERR0`;if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return`SH33TJSERR6`;var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?``:e.XTI[t-1];if(!r)return`SH33TJSERR1`;var i=``;if(n.biff>8)switch(e[r[0]][0]){case 357:return i=r[1]==-1?`#REF`:e.SheetNames[r[1]],r[1]==r[2]?i:i+`:`+e.SheetNames[r[2]];case 358:return n.SID==null?`SH33TJSSAME`+e[r[0]][0]:e.SheetNames[n.SID];case 355:default:return`SH33TJSSRC`+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return i=r[1]==-1?`#REF`:e.SheetNames[r[1]]||`SH33TJSERR3`,r[1]==r[2]?i:i+`:`+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map(function(e){return e.Name}).join(`;;`);default:return e[r[0]][0][3]?(i=r[1]==-1?`#REF`:e[r[0]][0][3][r[1]]||`SH33TJSERR4`,r[1]==r[2]?i:i+`:`+e[r[0]][0][3][r[2]]):`SH33TJSERR2`}}function AY(e,t,n){var r=kY(e,t,n);return r==`#REF`?r:nMe(r,n)}function jY(e,t,n,r,i){var a=i&&i.biff||8,o={s:{c:0,r:0},e:{c:0,r:0}},s=[],c,l,u,d=0,f=0,p,m=``;if(!e[0]||!e[0][0])return``;for(var h=-1,g=``,_=0,v=e[0].length;_<v;++_){var y=e[0][_];switch(y[0]){case`PtgUminus`:s.push(`-`+s.pop());break;case`PtgUplus`:s.push(`+`+s.pop());break;case`PtgPercent`:s.push(s.pop()+`%`);break;case`PtgAdd`:case`PtgConcat`:case`PtgDiv`:case`PtgEq`:case`PtgGe`:case`PtgGt`:case`PtgLe`:case`PtgLt`:case`PtgMul`:case`PtgNe`:case`PtgPower`:case`PtgSub`:if(c=s.pop(),l=s.pop(),h>=0){switch(e[0][h][1][0]){case 0:g=HG(` `,e[0][h][1][1]);break;case 1:g=HG(`\r`,e[0][h][1][1]);break;default:if(g=``,i.WTF)throw Error(`Unexpected PtgAttrSpaceType `+e[0][h][1][0])}l+=g,h=-1}s.push(l+nLe[y[0]]+c);break;case`PtgIsect`:c=s.pop(),l=s.pop(),s.push(l+` `+c);break;case`PtgUnion`:c=s.pop(),l=s.pop(),s.push(l+`,`+c);break;case`PtgRange`:c=s.pop(),l=s.pop(),s.push(rLe(l,c));break;case`PtgAttrChoose`:break;case`PtgAttrGoto`:break;case`PtgAttrIf`:break;case`PtgAttrIfError`:break;case`PtgRef`:u=cq(y[1][1],o,i),s.push(uq(u,a));break;case`PtgRefN`:u=n?cq(y[1][1],n,i):y[1][1],s.push(uq(u,a));break;case`PtgRef3d`:d=y[1][1],u=cq(y[1][2],o,i),m=AY(r,d,i),s.push(m+`!`+uq(u,a));break;case`PtgFunc`:case`PtgFuncVar`:var b=y[1][0],x=y[1][1];b||=0,b&=127;var S=b==0?[]:s.slice(-b);s.length-=b,x===`User`&&(x=S.shift()),s.push(x+`(`+S.join(`,`)+`)`);break;case`PtgBool`:s.push(y[1]?`TRUE`:`FALSE`);break;case`PtgInt`:s.push(y[1]);break;case`PtgNum`:s.push(String(y[1]));break;case`PtgStr`:s.push(`"`+y[1].replace(/"/g,`""`)+`"`);break;case`PtgErr`:s.push(y[1]);break;case`PtgAreaN`:p=lq(y[1][1],n?{s:n}:o,i),s.push(dq(p,i));break;case`PtgArea`:p=lq(y[1][1],o,i),s.push(dq(p,i));break;case`PtgArea3d`:d=y[1][1],p=y[1][2],m=AY(r,d,i),s.push(m+`!`+dq(p,i));break;case`PtgAttrSum`:s.push(`SUM(`+s.pop()+`)`);break;case`PtgAttrBaxcel`:case`PtgAttrSemi`:break;case`PtgName`:f=y[1][2];var C=(r.names||[])[f-1]||(r[0]||[])[f],w=C?C.Name:`SH33TJSNAME`+String(f);w&&w.slice(0,6)==`_xlfn.`&&!i.xlfn&&(w=w.slice(6)),s.push(w);break;case`PtgNameX`:var T=y[1][1];f=y[1][2];var E;if(i.biff<=5)T<0&&(T=-T),r[T]&&(E=r[T][f]);else{var D=``;if(((r[T]||[])[0]||[])[0]==14849||(((r[T]||[])[0]||[])[0]==1025?r[T][f]&&r[T][f].itab>
1620&&(D=r.SheetNames[r[T][f].itab-1]+`!`):D=r.SheetNames[f-1]+`!`),r[T]&&r[T][f])D+=r[T][f].Name;else if(r[0]&&r[0][f])D+=r[0][f].Name;else{var O=(kY(r,T,i)||``).split(`;;`);O[f-1]?D=O[f-1]:D+=`SH33TJSERRX`}s.push(D);break}E||={Name:`SH33TJSERRY`},s.push(E.Name);break;case`PtgParen`:var k=`(`,A=`)`;if(h>=0){switch(g=``,e[0][h][1][0]){case 2:k=HG(` `,e[0][h][1][1])+k;break;case 3:k=HG(`\r`,e[0][h][1][1])+k;break;case 4:A=HG(` `,e[0][h][1][1])+A;break;case 5:A=HG(`\r`,e[0][h][1][1])+A;break;default:if(i.WTF)throw Error(`Unexpected PtgAttrSpaceType `+e[0][h][1][0])}h=-1}s.push(k+s.pop()+A);break;case`PtgRefErr`:s.push(`#REF!`);break;case`PtgRefErr3d`:s.push(`#REF!`);break;case`PtgExp`:u={c:y[1][1],r:y[1][0]};var j={c:n.c,r:n.r};if(r.sharedf[_q(u)]){var M=r.sharedf[_q(u)];s.push(jY(M,o,j,r,i))}else{var N=!1;for(c=0;c!=r.arrayf.length;++c)if(l=r.arrayf[c],!(u.c<l[0].s.c||u.c>l[0].e.c)&&!(u.r<l[0].s.r||u.r>l[0].e.r)){s.push(jY(l[1],o,j,r,i)),N=!0;break}N||s.push(y[1])}break;case`PtgArray`:s.push(`{`+tLe(y[1])+`}`);break;case`PtgMemArea`:break;case`PtgAttrSpace`:case`PtgAttrSpaceSemi`:h=_;break;case`PtgTbl`:break;case`PtgMemErr`:break;case`PtgMissArg`:s.push(``);break;case`PtgAreaErr`:s.push(`#REF!`);break;case`PtgAreaErr3d`:s.push(`#REF!`);break;case`PtgList`:s.push(`Table`+y[1].idx+`[#`+y[1].rt+`]`);break;case`PtgMemAreaN`:case`PtgMemNoMemN`:case`PtgAttrNoop`:case`PtgSheet`:case`PtgEndSheet`:break;case`PtgMemFunc`:break;case`PtgMemNoMem`:break;case`PtgElfCol`:case`PtgElfColS`:case`PtgElfColSV`:case`PtgElfColV`:case`PtgElfLel`:case`PtgElfRadical`:case`PtgElfRadicalLel`:case`PtgElfRadicalS`:case`PtgElfRw`:case`PtgElfRwV`:throw Error(`Unsupported ELFs`);case`PtgSxName`:throw Error(`Unrecognized Formula Token: `+String(y));default:throw Error(`Unrecognized Formula Token: `+String(y))}if(i.biff!=3&&h>=0&&[`PtgAttrSpace`,`PtgAttrSpaceSemi`,`PtgAttrGoto`].indexOf(e[0][_][0])==-1){y=e[0][h];var P=!0;switch(y[1][0]){case 4:P=!1;case 0:g=HG(` `,y[1][1]);break;case 5:P=!1;case 1:g=HG(`\r`,y[1][1]);break;default:if(g=``,i.WTF)throw Error(`Unexpected PtgAttrSpaceType `+y[1][0])}s.push((P?g:``)+s.pop()+(P?``:g)),h=-1}}if(s.length>1&&i.WTF)throw Error(`bad formula stack`);return s[0]==`TRUE`||s[0]!=`FALSE`&&s[0]}function iLe(e,t,n){var r=e.l+t,i=n.biff==2?1:2,a,o=e.read_shift(i);if(o==65535)return[[],iq(e,t-2)];var s=OY(e,o,n);return t!==o+i&&(a=DY(e,t-o-i,s,n)),e.l=r,[s,a]}function aLe(e,t,n){var r=e.l+t,i=n.biff==2?1:2,a,o=e.read_shift(i);if(o==65535)return[[],iq(e,t-2)];var s=OY(e,o,n);return t!==o+i&&(a=DY(e,t-o-i,s,n)),e.l=r,[s,a]}function oLe(e,t,n,r){var i=e.l+t,a=OY(e,r,n),o;return i!==e.l&&(o=DY(e,i-e.l,a,n)),[a,o]}function sLe(e,t,n){var r=e.l+t,i,a=e.read_shift(2),o=OY(e,a,n);return a==65535?[[],iq(e,t-2)]:(t!==a+2&&(i=DY(e,r-a-2,o,n)),[o,i])}function cLe(e){var t;if(QK(e,e.l+6)!==65535)return[Fq(e),`n`];switch(e[e.l]){case 0:return e.l+=8,[`String`,`s`];case 1:return t=e[e.l+2]===1,e.l+=8,[t,`b`];case 2:return t=e[e.l+2],e.l+=8,[t,`e`];case 3:return e.l+=8,[``,`s`]}return[]}function MY(e,t,n){var r=e.l+t,i=wJ(e,6,n),a=cLe(e,8),o=e.read_shift(1);n.biff!=2&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var s=aLe(e,r-e.l,n);return{cell:i,val:a[0],formula:s,shared:o>>3&1,tt:a[1]}}function NY(e,t,n){var r=OY(e,e.read_shift(4),n),i=e.read_shift(4);return[r,i>0?DY(e,i,r,n):null]}var lLe=NY,PY=NY,uLe=NY,dLe=NY,fLe={0:`BEEP`,1:`OPEN`,2:`OPEN.LINKS`,3:`CLOSE.ALL`,4:`SAVE`,5:`SAVE.AS`,6:`FILE.DELETE`,7:`PAGE.SETUP`,8:`PRINT`,9:`PRINTER.SETUP`,10:`QUIT`,11:`NEW.WINDOW`,12:`ARRANGE.ALL`,13:`WINDOW.SIZE`,14:`WINDOW.MOVE`,15:`FULL`,16:`CLOSE`,17:`RUN`,22:`SET.PRINT.AREA`,23:`SET.PRINT.TITLES`,24:`SET.PAGE.BREAK`,25:`REMOVE.PAGE.BREAK`,26:`FONT`,27:`DISPLAY`,28:`PROTECT.DOCUMENT`,29:`PRECISION`,30:`A1.R1C1`,31:`CALCULATE.NOW`,32:`CALCULATION`,34:`DATA.FIND`,35:`EXTRACT`,36:`DATA.DELETE`,37:`SET.DATABASE`,38:`SET.CRITERIA`,39:`SORT`,40:`DATA.SERIES`,41:`TABLE`,42:`FORMAT.NUMBER`,43:`ALIGNMENT`,44:`STYLE`,45:`BORDER`,46:`CELL.PROTECTION`,47:`COLUMN.WIDTH`,48:`UNDO`,49:`CUT`,50:`COPY`,51:`PASTE`,52:`CLEAR`,53:`PASTE.SPECIAL`,54:`EDIT.DELETE`,55:`INSERT`,56:`FILL.RIGHT`,57:`FILL.DOWN`,61:`DEFINE.NAME`,62:`CREATE.NAMES`,63:`FORMULA.GOTO`,64:`FORMULA.FIND`,65:`SELECT.LAST.CELL`,66:`SHOW.ACTIVE.CELL`,67:`GALLERY.AREA`,68:`GALLERY.BAR`,69:`GALLERY.COLUMN`,70:`GALLERY.LINE`,71:`GALLERY.PIE`,72:`GALLERY.SCATTER`,73:`COMB
162INATION`,74:`PREFERRED`,75:`ADD.OVERLAY`,76:`GRIDLINES`,77:`SET.PREFERRED`,78:`AXES`,79:`LEGEND`,80:`ATTACH.TEXT`,81:`ADD.ARROW`,82:`SELECT.CHART`,83:`SELECT.PLOT.AREA`,84:`PATTERNS`,85:`MAIN.CHART`,86:`OVERLAY`,87:`SCALE`,88:`FORMAT.LEGEND`,89:`FORMAT.TEXT`,90:`EDIT.REPEAT`,91:`PARSE`,92:`JUSTIFY`,93:`HIDE`,94:`UNHIDE`,95:`WORKSPACE`,96:`FORMULA`,97:`FORMULA.FILL`,98:`FORMULA.ARRAY`,99:`DATA.FIND.NEXT`,100:`DATA.FIND.PREV`,101:`FORMULA.FIND.NEXT`,102:`FORMULA.FIND.PREV`,103:`ACTIVATE`,104:`ACTIVATE.NEXT`,105:`ACTIVATE.PREV`,106:`UNLOCKED.NEXT`,107:`UNLOCKED.PREV`,108:`COPY.PICTURE`,109:`SELECT`,110:`DELETE.NAME`,111:`DELETE.FORMAT`,112:`VLINE`,113:`HLINE`,114:`VPAGE`,115:`HPAGE`,116:`VSCROLL`,117:`HSCROLL`,118:`ALERT`,119:`NEW`,120:`CANCEL.COPY`,121:`SHOW.CLIPBOARD`,122:`MESSAGE`,124:`PASTE.LINK`,125:`APP.ACTIVATE`,126:`DELETE.ARROW`,127:`ROW.HEIGHT`,128:`FORMAT.MOVE`,129:`FORMAT.SIZE`,130:`FORMULA.REPLACE`,131:`SEND.KEYS`,132:`SELECT.SPECIAL`,133:`APPLY.NAMES`,134:`REPLACE.FONT`,135:`FREEZE.PANES`,136:`SHOW.INFO`,137:`SPLIT`,138:`ON.WINDOW`,139:`ON.DATA`,140:`DISABLE.INPUT`,142:`OUTLINE`,143:`LIST.NAMES`,144:`FILE.CLOSE`,145:`SAVE.WORKBOOK`,146:`DATA.FORM`,147:`COPY.CHART`,148:`ON.TIME`,149:`WAIT`,150:`FORMAT.FONT`,151:`FILL.UP`,152:`FILL.LEFT`,153:`DELETE.OVERLAY`,155:`SHORT.MENUS`,159:`SET.UPDATE.STATUS`,161:`COLOR.PALETTE`,162:`DELETE.STYLE`,163:`WINDOW.RESTORE`,164:`WINDOW.MAXIMIZE`,166:`CHANGE.LINK`,167:`CALCULATE.DOCUMENT`,168:`ON.KEY`,169:`APP.RESTORE`,170:`APP.MOVE`,171:`APP.SIZE`,172:`APP.MINIMIZE`,173:`APP.MAXIMIZE`,174:`BRING.TO.FRONT`,175:`SEND.TO.BACK`,185:`MAIN.CHART.TYPE`,186:`OVERLAY.CHART.TYPE`,187:`SELECT.END`,188:`OPEN.MAIL`,189:`SEND.MAIL`,190:`STANDARD.FONT`,191:`CONSOLIDATE`,192:`SORT.SPECIAL`,193:`GALLERY.3D.AREA`,194:`GALLERY.3D.COLUMN`,195:`GALLERY.3D.LINE`,196:`GALLERY.3D.PIE`,197:`VIEW.3D`,198:`GOAL.SEEK`,199:`WORKGROUP`,200:`FILL.GROUP`,201:`UPDATE.LINK`,202:`PROMOTE`,203:`DEMOTE`,204:`SHOW.DETAIL`,206:`UNGROUP`,207:`OBJECT.PROPERTIES`,208:`SAVE.NEW.OBJECT`,209:`SHARE`,210:`SHARE.NAME`,211:`DUPLICATE`,212:`APPLY.STYLE`,213:`ASSIGN.TO.OBJECT`,214:`OBJECT.PROTECTION`,215:`HIDE.OBJECT`,216:`SET.EXTRACT`,217:`CREATE.PUBLISHER`,218:`SUBSCRIBE.TO`,219:`ATTRIBUTES`,220:`SHOW.TOOLBAR`,222:`PRINT.PREVIEW`,223:`EDIT.COLOR`,224:`SHOW.LEVELS`,225:`FORMAT.MAIN`,226:`FORMAT.OVERLAY`,227:`ON.RECALC`,228:`EDIT.SERIES`,229:`DEFINE.STYLE`,240:`LINE.PRINT`,243:`ENTER.DATA`,249:`GALLERY.RADAR`,250:`MERGE.STYLES`,251:`EDITION.OPTIONS`,252:`PASTE.PICTURE`,253:`PASTE.PICTURE.LINK`,254:`SPELLING`,256:`ZOOM`,259:`INSERT.OBJECT`,260:`WINDOW.MINIMIZE`,265:`SOUND.NOTE`,266:`SOUND.PLAY`,267:`FORMAT.SHAPE`,268:`EXTEND.POLYGON`,269:`FORMAT.AUTO`,272:`GALLERY.3D.BAR`,273:`GALLERY.3D.SURFACE`,274:`FILL.AUTO`,276:`CUSTOMIZE.TOOLBAR`,277:`ADD.TOOL`,278:`EDIT.OBJECT`,279:`ON.DOUBLECLICK`,280:`ON.ENTRY`,281:`WORKBOOK.ADD`,282:`WORKBOOK.MOVE`,283:`WORKBOOK.COPY`,284:`WORKBOOK.OPTIONS`,285:`SAVE.WORKSPACE`,288:`CHART.WIZARD`,289:`DELETE.TOOL`,290:`MOVE.TOOL`,291:`WORKBOOK.SELECT`,292:`WORKBOOK.ACTIVATE`,293:`ASSIGN.TO.TOOL`,295:`COPY.TOOL`,296:`RESET.TOOL`,297:`CONSTRAIN.NUMERIC`,298:`PASTE.TOOL`,302:`WORKBOOK.NEW`,305:`SCENARIO.CELLS`,306:`SCENARIO.DELETE`,307:`SCENARIO.ADD`,308:`SCENARIO.EDIT`,309:`SCENARIO.SHOW`,310:`SCENARIO.SHOW.NEXT`,311:`SCENARIO.SUMMARY`,312:`PIVOT.TABLE.WIZARD`,313:`PIVOT.FIELD.PROPERTIES`,314:`PIVOT.FIELD`,315:`PIVOT.ITEM`,316:`PIVOT.ADD.FIELDS`,318:`OPTIONS.CALCULATION`,319:`OPTIONS.EDIT`,320:`OPTIONS.VIEW`,321:`ADDIN.MANAGER`,322:`MENU.EDITOR`,323:`ATTACH.TOOLBARS`,324:`VBAActivate`,325:`OPTIONS.CHART`,328:`VBA.INSERT.FILE`,330:`VBA.PROCEDURE.DEFINITION`,336:`ROUTING.SLIP`,338:`ROUTE.DOCUMENT`,339:`MAIL.LOGON`,342:`INSERT.PICTURE`,343:`EDIT.TOOL`,344:`GALLERY.DOUGHNUT`,350:`CHART.TREND`,352:`PIVOT.ITEM.PROPERTIES`,354:`WORKBOOK.INSERT`,355:`OPTIONS.TRANSITION`,356:`OPTIONS.GENERAL`,370:`FILTER.ADVANCED`,373:`MAIL.ADD.MAILER`,374:`MAIL.DELETE.MAILER`,375:`MAIL.REPLY`,376:`MAIL.REPLY.ALL`,377:`MAIL.FORWARD`,378:`MAIL.NEXT.LETTER`,379:`DATA.LABEL`,380:`INSERT.TITLE`,381:`FONT.PROPERTIES`,382:`MACRO.OPTIONS`,383:`WORKBOOK.HIDE`,384:`WORKBOOK.UNHIDE`,385:`WORKBOOK.DELETE`,386:`WORKBOOK.NAME`,388:`GALLERY.CUSTOM`,390:`ADD.CHART.AUTOFORMAT`,391:`DELETE.CHART.AUTOFORMAT`,392:`CHART.ADD.DATA`,393:`AUTO.OUTLINE`,394:`TAB.ORDER`,395:`SHOW.DIALOG`,396:`SELECT.ALL`,397:`UNGROUP.SHEETS`,398:`SUBTOTAL.CREATE`,399:`
162SUBTOTAL.REMOVE`,400:`RENAME.OBJECT`,412:`WORKBOOK.SCROLL`,413:`WORKBOOK.NEXT`,414:`WORKBOOK.PREV`,415:`WORKBOOK.TAB.SPLIT`,416:`FULL.SCREEN`,417:`WORKBOOK.PROTECT`,420:`SCROLLBAR.PROPERTIES`,421:`PIVOT.SHOW.PAGES`,422:`TEXT.TO.COLUMNS`,423:`FORMAT.CHARTTYPE`,424:`LINK.FORMAT`,425:`TRACER.DISPLAY`,430:`TRACER.NAVIGATE`,431:`TRACER.CLEAR`,432:`TRACER.ERROR`,433:`PIVOT.FIELD.GROUP`,434:`PIVOT.FIELD.UNGROUP`,435:`CHECKBOX.PROPERTIES`,436:`LABEL.PROPERTIES`,437:`LISTBOX.PROPERTIES`,438:`EDITBOX.PROPERTIES`,439:`PIVOT.REFRESH`,440:`LINK.COMBO`,441:`OPEN.TEXT`,442:`HIDE.DIALOG`,443:`SET.DIALOG.FOCUS`,444:`ENABLE.OBJECT`,445:`PUSHBUTTON.PROPERTIES`,446:`SET.DIALOG.DEFAULT`,447:`FILTER`,448:`FILTER.SHOW.ALL`,449:`CLEAR.OUTLINE`,450:`FUNCTION.WIZARD`,451:`ADD.LIST.ITEM`,452:`SET.LIST.ITEM`,453:`REMOVE.LIST.ITEM`,454:`SELECT.LIST.ITEM`,455:`SET.CONTROL.VALUE`,456:`SAVE.COPY.AS`,458:`OPTIONS.LISTS.ADD`,459:`OPTIONS.LISTS.DELETE`,460:`SERIES.AXES`,461:`SERIES.X`,462:`SERIES.Y`,463:`ERRORBAR.X`,464:`ERRORBAR.Y`,465:`FORMAT.CHART`,466:`SERIES.ORDER`,467:`MAIL.LOGOFF`,468:`CLEAR.ROUTING.SLIP`,469:`APP.ACTIVATE.MICROSOFT`,470:`MAIL.EDIT.MAILER`,471:`ON.SHEET`,472:`STANDARD.WIDTH`,473:`SCENARIO.MERGE`,474:`SUMMARY.INFO`,475:`FIND.FILE`,476:`ACTIVE.CELL.FONT`,477:`ENABLE.TIPWIZARD`,478:`VBA.MAKE.ADDIN`,480:`INSERTDATATABLE`,481:`WORKGROUP.OPTIONS`,482:`MAIL.SEND.MAILER`,485:`AUTOCORRECT`,489:`POST.DOCUMENT`,491:`PICKLIST`,493:`VIEW.SHOW`,494:`VIEW.DEFINE`,495:`VIEW.DELETE`,509:`SHEET.BACKGROUND`,510:`INSERT.MAP.OBJECT`,511:`OPTIONS.MENONO`,517:`MSOCHECKS`,518:`NORMAL`,519:`LAYOUT`,520:`RM.PRINT.AREA`,521:`CLEAR.PRINT.AREA`,522:`ADD.PRINT.AREA`,523:`MOVE.BRK`,545:`HIDECURR.NOTE`,546:`HIDEALL.NOTES`,547:`DELETE.NOTE`,548:`TRAVERSE.NOTES`,549:`ACTIVATE.NOTES`,620:`PROTECT.REVISIONS`,621:`UNPROTECT.REVISIONS`,647:`OPTIONS.ME`,653:`WEB.PUBLISH`,667:`NEWWEBQUERY`,673:`PIVOT.TABLE.CHART`,753:`OPTIONS.SAVE`,755:`OPTIONS.SPELL`,808:`HIDEALL.INKANNOTS`},FY
vendor: 6,535 bytes, line 162
162={0:`COUNT`,1:`IF`,2:`ISNA`,3:`ISERROR`,4:`SUM`,5:`AVERAGE`,6:`MIN`,7:`MAX`,8:`ROW`,9:`COLUMN`,10:`NA`,11:`NPV`,12:`STDEV`,13:`DOLLAR`,14:`FIXED`,15:`SIN`,16:`COS`,17:`TAN`,18:`ATAN`,19:`PI`,20:`SQRT`,21:`EXP`,22:`LN`,23:`LOG10`,24:`ABS`,25:`INT`,26:`SIGN`,27:`ROUND`,28:`LOOKUP`,29:`INDEX`,30:`REPT`,31:`MID`,32:`LEN`,33:`VALUE`,34:`TRUE`,35:`FALSE`,36:`AND`,37:`OR`,38:`NOT`,39:`MOD`,40:`DCOUNT`,41:`DSUM`,42:`DAVERAGE`,43:`DMIN`,44:`DMAX`,45:`DSTDEV`,46:`VAR`,47:`DVAR`,48:`TEXT`,49:`LINEST`,50:`TREND`,51:`LOGEST`,52:`GROWTH`,53:`GOTO`,54:`HALT`,55:`RETURN`,56:`PV`,57:`FV`,58:`NPER`,59:`PMT`,60:`RATE`,61:`MIRR`,62:`IRR`,63:`RAND`,64:`MATCH`,65:`DATE`,66:`TIME`,67:`DAY`,68:`MONTH`,69:`YEAR`,70:`WEEKDAY`,71:`HOUR`,72:`MINUTE`,73:`SECOND`,74:`NOW`,75:`AREAS`,76:`ROWS`,77:`COLUMNS`,78:`OFFSET`,79:`ABSREF`,80:`RELREF`,81:`ARGUMENT`,82:`SEARCH`,83:`TRANSPOSE`,84:`ERROR`,85:`STEP`,86:`TYPE`,87:`ECHO`,88:`SET.NAME`,89:`CALLER`,90:`DEREF`,91:`WINDOWS`,92:`SERIES`,93:`DOCUMENTS`,94:`ACTIVE.CELL`,95:`SELECTION`,96:`RESULT`,97:`ATAN2`,98:`ASIN`,99:`ACOS`,100:`CHOOSE`,101:`HLOOKUP`,102:`VLOOKUP`,103:`LINKS`,104:`INPUT`,105:`ISREF`,106:`GET.FORMULA`,107:`GET.NAME`,108:`SET.VALUE`,109:`LOG`,110:`EXEC`,111:`CHAR`,112:`LOWER`,113:`UPPER`,114:`PROPER`,115:`LEFT`,116:`RIGHT`,117:`EXACT`,118:`TRIM`,119:`REPLACE`,120:`SUBSTITUTE`,121:`CODE`,122:`NAMES`,123:`DIRECTORY`,124:`FIND`,125:`CELL`,126:`ISERR`,127:`ISTEXT`,128:`ISNUMBER`,129:`ISBLANK`,130:`T`,131:`N`,132:`FOPEN`,133:`FCLOSE`,134:`FSIZE`,135:`FREADLN`,136:`FREAD`,137:`FWRITELN`,138:`FWRITE`,139:`FPOS`,140:`DATEVALUE`,141:`TIMEVALUE`,142:`SLN`,143:`SYD`,144:`DDB`,145:`GET.DEF`,146:`REFTEXT`,147:`TEXTREF`,148:`INDIRECT`,149:`REGISTER`,150:`CALL`,151:`ADD.BAR`,152:`ADD.MENU`,153:`ADD.COMMAND`,154:`ENABLE.COMMAND`,155:`CHECK.COMMAND`,156:`RENAME.COMMAND`,157:`SHOW.BAR`,158:`DELETE.MENU`,159:`DELETE.COMMAND`,160:`GET.CHART.ITEM`,161:`DIALOG.BOX`,162:`CLEAN`,163:`MDETERM`,164:`MINVERSE`,165:`MMULT`,166:`FILES`,167:`IPMT`,168:`PPMT`,169:`COUNTA`,170:`CANCEL.KEY`,171:`FOR`,172:`WHILE`,173:`BREAK`,174:`NEXT`,175:`INITIATE`,176:`REQUEST`,177:`POKE`,178:`EXECUTE`,179:`TERMINATE`,180:`RESTART`,181:`HELP`,182:`GET.BAR`,183:`PRODUCT`,184:`FACT`,185:`GET.CELL`,186:`GET.WORKSPACE`,187:`GET.WINDOW`,188:`GET.DOCUMENT`,189:`DPRODUCT`,190:`ISNONTEXT`,191:`GET.NOTE`,192:`NOTE`,193:`STDEVP`,194:`VARP`,195:`DSTDEVP`,196:`DVARP`,197:`TRUNC`,198:`ISLOGICAL`,199:`DCOUNTA`,200:`DELETE.BAR`,201:`UNREGISTER`,204:`USDOLLAR`,205:`FINDB`,206:`SEARCHB`,207:`REPLACEB`,208:`LEFTB`,209:`RIGHTB`,210:`MIDB`,211:`LENB`,212:`ROUNDUP`,213:`ROUNDDOWN`,214:`ASC`,215:`DBCS`,216:`RANK`,219:`ADDRESS`,220:`DAYS360`,221:`TODAY`,222:`VDB`,223:`ELSE`,224:`ELSE.IF`,225:`END.IF`,226:`FOR.CELL`,227:`MEDIAN`,228:`SUMPRODUCT`,229:`SINH`,230:`COSH`,231:`TANH`,232:`ASINH`,233:`ACOSH`,234:`ATANH`,235:`DGET`,236:`CREATE.OBJECT`,237:`VOLATILE`,238:`LAST.ERROR`,239:`CUSTOM.UNDO`,240:`CUSTOM.REPEAT`,241:`FORMULA.CONVERT`,242:`GET.LINK.INFO`,243:`TEXT.BOX`,244:`INFO`,245:`GROUP`,246:`GET.OBJECT`,247:`DB`,248:`PAUSE`,251:`RESUME`,252:`FREQUENCY`,253:`ADD.TOOLBAR`,254:`DELETE.TOOLBAR`,255:`User`,256:`RESET.TOOLBAR`,257:`EVALUATE`,258:`GET.TOOLBAR`,259:`GET.TOOL`,260:`SPELLING.CHECK`,261:`ERROR.TYPE`,262:`APP.TITLE`,263:`WINDOW.TITLE`,264:`SAVE.TOOLBAR`,265:`ENABLE.TOOL`,266:`PRESS.TOOL`,267:`REGISTER.ID`,268:`GET.WORKBOOK`,269:`AVEDEV`,270:`BETADIST`,271:`GAMMALN`,272:`BETAINV`,273:`BINOMDIST`,274:`CHIDIST`,275:`CHIINV`,276:`COMBIN`,277:`CONFIDENCE`,278:`CRITBINOM`,279:`EVEN`,280:`EXPONDIST`,281:`FDIST`,282:`FINV`,283:`FISHER`,284:`FISHERINV`,285:`FLOOR`,286:`GAMMADIST`,287:`GAMMAINV`,288:`CEILING`,289:`HYPGEOMDIST`,290:`LOGNORMDIST`,291:`LOGINV`,292:`NEGBINOMDIST`,293:`NORMDIST`,294:`NORMSDIST`,295:`NORMINV`,296:`NORMSINV`,297:`STANDARDIZE`,298:`ODD`,299:`PERMUT`,300:`POISSON`,301:`TDIST`,302:`WEIBULL`,303:`SUMXMY2`,304:`SUMX2MY2`,305:`SUMX2PY2`,306:`CHITEST`,307:`CORREL`,308:`COVAR`,309:`FORECAST`,310:`FTEST`,311:`INTERCEPT`,312:`PEARSON`,313:`RSQ`,314:`STEYX`,315:`SLOPE`,316:`TTEST`,317:`PROB`,318:`DEVSQ`,319:`GEOMEAN`,320:`HARMEAN`,321:`SUMSQ`,322:`KURT`,323:`SKEW`,324:`ZTEST`,325:`LARGE`,326:`SMALL`,327:`QUARTILE`,328:`PERCENTILE`,329:`PERCENTRANK`,330:`MODE`,331:`TRIMMEAN`,332:`TINV`,334:`MOVIE.COMMAND`,335:`GET.MOVIE`,336:`CONCATENATE`,337:`POWER`,338:`PIVOT.ADD.DATA`,339:`GET.PIVOT.TABLE`,340:`GET.PIVOT.FIELD`,341:`GET.PIVOT.ITEM`,342:`RADIANS`,343:`DEGREES`,344:`SUBTOTAL`,345:`SUMIF`,346:`COUNTIF`,347:`COUNTBLANK`,348:`SCENARIO.GET`,349:`OPTIONS.LISTS.GET`,350:`ISPMT`,351:`DATEDIF`,352:`DATESTRING`,353:`NUMBERSTRING`,354:`ROMAN`,355:`OPEN.DIALOG`,356:`SAVE.DIALOG`,357:`VIEW.GET`,358:`GETPIVOTDATA`,359:`HYPERLINK`,360:`PHONETIC`,361:`AVERAGEA`,362:`MAXA`,363:`MINA`,364:`STDEVPA`,365:`VARPA`,366:`STDEVA`,367:`VARA`,368:`BAHTTEXT`,369:`THAIDAYOFWEEK`,370:`THAIDIGIT`,371:`THAIMONTHOFYEAR`,372:`THAINUMSOUND`,373:`THAINUMSTRING`,374:`THAISTRINGLENGTH`,375:`ISTHAIDIGIT`,376:`ROUNDBAHTDOWN`,377:`ROUNDBAHTUP`,378:`THAIYEAR`,379:`RTD`,380:`CUBEVALUE`,381:`CUBEMEMBER`,382:`CUBEMEMBERPROPERTY`,383:`CUBERANKEDMEMBER`,384:`HEX2BIN`,385:`HEX2DEC`,386:`HEX2OCT`,387:`DEC2BIN`,388:`DEC2HEX`,389:`DEC2OCT`,390:`OCT2BIN`,391:`OCT2HEX`,392:`OCT2DEC`,393:`BIN2DEC`,394:`BIN2OCT`,395:`BIN2HEX`,396:`IMSUB`,397:`IMDIV`,398:`IMPOWER`,399:`IMABS`,400:`IMSQRT`,401:`IMLN`,402:`IMLOG2`,403:`IMLOG10`,404:`IMSIN`,405:`IMCOS`,406:`IMEXP`,407:`IMARGUMENT`,408:`IMCONJUGATE`,409:`IMAGINARY`,410:`IMREAL`,411:`COMPLEX`,412:`IMSUM`,413:`IMPRODUCT`,414:`SERIESSUM`,415:`FACTDOUBLE`,416:`SQRTPI`,417:`QUOTIENT`,418:`DELTA`,419:`GESTEP`,420:`ISEVEN`,421:`ISODD`,422:`MROUND`,423:`ERF`,424:`ERFC`,425:`BESSELJ`,426:`BESSELK`,427:`BESSELY`,428:`BESSELI`,429:`XIRR`,430:`XNPV`,431:`PRICEMAT`,432:`YIELDMAT`,433:`INTRATE`,434:`RECEIVED`,435:`DISC`,436:`PRICEDISC`,437:`YIELDDISC`,438:`TBILLEQ`,439:`TBILLPRICE`,440:`TBILLYIELD`,441:`PRICE`,442:`YIELD`,443:`DOLLARDE`,444:`DOLLARFR`,445:`NOMINAL`,446:`EFFECT`,447:`CUMPRINC`,448:`CUMIPMT`,449:`EDATE`,450:`EOMONTH`,451:`YEARFRAC`,452:`COUPDAYBS`,453:`COUPDAYS`,454:`COUPDAYSNC`,455:`COUPNCD`,456:`COUPNUM`,457:`COUPPCD`,458:`DURATION`,459:`MDURATION`,460:`ODDLPRICE`,461:`ODDLYIELD`,462:`ODDFPRICE`,463:`ODDFYIELD`,464:`RANDBETWEEN`,465:`WEEKNUM`,466:`AMORDEGRC`,467:`AMORLINC`,468:`CONVERT`,724:`SHEETJS`,469:`ACCRINT`,470:`ACCRINTM`,471:`WORKDAY`,472:`NETWORKDAYS`,473:`GCD`,474:`MULTINOMIAL`,475:`LCM`,476:`FVSCHEDULE`,477:`CUBEKPIMEMBER`,478:`CUBESET`,479:`CUBESETCOUNT`,480:`IFERROR`,481:`COUNTIFS`,482:`SUMIFS`,483:`AVERAGEIF`,484:`AVERAGEIFS`},
162pLe={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function IY(e){return e.slice(0,3)==`of:`&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1),e.charCodeAt(0)==61&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,``),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,t){return t.replace(/\./g,``)}),e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)}),e=e.replace(/\$([^\]\. #$]+)/g,function(e,t){return t.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:t}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,`$1`),e.replace(/[;~]/g,`,`).replace(/\|/g,`;`)}function LY(e){e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)}),e=e.replace(/\$([^\]\. #$]+)/g,function(e,t){return t.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:t});var t=e.split(`:`);return[t[0].split(`.`)[0],t[0].split(`.`)[1]+(t.length>1?`:`+(t[1].split(`.`)[1]||t[1].split(`.`)[0]):``)]}var RY={},zY={};function BY(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];t==`xlml`&&(n=[1,1,1,1,.5,.5]),e.left??=n[0],e.right??=n[1],e.top??=n[2],e.bottom??=n[3],e.header??=n[4],e.footer??=n[5]}}function VY(e,t,n,r,i,a,o){try{r.cellNF&&(e.z=tG[t])}catch(e){if(r.WTF)throw e}if(!(e.t===`z`&&!r.cellStyles)){if(e.t===`d`&&typeof e.v==`string`&&(e.v=zG(e.v)),(!r||r.cellText!==!1)&&e.t!==`z`)try{if(tG[t]??kG(oje[t]||`General`,t),e.t===`e`)e.w=e.w||qq[e.v];else if(t===0)if(e.t===`n`)e.w=(e.v|0)===e.v?e.v.toString(10):oG(e.v);else if(e.t===`d`){var s=IG(e.v,!!o);e.w=(s|0)===s?s.toString(10):oG(s)}else if(e.v===void 0)return``;else e.w=sG(e.v,zY);else e.w=e.t===`d`?EG(t,IG(e.v,!!o),zY):EG(t,e.v,zY)}catch(e){if(r.WTF)throw e}if(r.cellStyles&&n!=null)try{e.s=a.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=YJ(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=YJ(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(e){if(r.WTF&&a.Fills)throw e}}}function mLe(e,t){var n=bq(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e[`!ref`]=yq(n))}var hLe=/<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g,gLe=/<(?:\w+:)?hyperlink [^<>]*>/gm,_Le=/"(\w*:\w*)"/,vLe=/<(?:\w+:)?col\b[^<>]*[\/]?>/g,yLe=/<(?:\w+:)?autoFilter[^>]*/g,bLe=/<(?:\w+:)?pageMargins[^<>]*\/>/g,HY=/<(?:\w+:)?sheetPr\b[^<>]*?\/>/;function xLe(e,t,n,r,i,a,o){if(!e)return e;r||={"!id":{}},AW!=null&&t.dense==null&&(t.dense=AW);var s={};t.dense&&(s[`!data`]=[]);var c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l=``,u=``,d=ZG(e,`sheetData`);d?(l=e.slice(0,d.index),u=e.slice(d.index+d[0].length)):l=u=e;var f=l.match(HY);f?UY(f[0],s,i,n):(f=ZG(l,`sheetPr`))&&SLe(f[0],f[1]||``,s,i,n,o,a);var p=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(p>0){var m=l.slice(p,p+50).match(_Le);m&&!(t&&t.nodim)&&mLe(s,m[1])}var h=ZG(l,`sheetViews`);h&&h[1]&&OLe(h[1],i);var g=[];if(t.cellStyles){var _=l.match(vLe);_&&TLe(g,_)}d&&kLe(d[1],s,t,c,a,o,i);var v=u.match(yLe);v&&(s[`!autofilter`]=ELe(v[0]));var y=[],b=u.match(hLe);if(b)for(p=0;p!=b.length;++p)y[p]=bq(b[p].slice(b[p].indexOf(`=`)+2));var x=u.match(gLe);x&&CLe(s,x,r);var S=u.match(bLe);S&&(s[`!margins`]=wLe(pK(S[0])));var C;if((C=u.match(/legacyDrawing r:id="(.*?)"/))&&(s[`!legrel`]=C[1]),t&&t.nodim&&(c.s.c=c.s.r=0),!s[`!ref`]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s[`!ref`]=yq(c)),t.sheetRows>0&&s[`!ref`]){var w=bq(s[`!ref`]);t.sheetRows<=+w.e.r&&(w.e.r=t.sheetRows-1,w.e.r>
162c.e.r&&(w.e.r=c.e.r),w.e.r<w.s.r&&(w.s.r=w.e.r),w.e.c>c.e.c&&(w.e.c=c.e.c),w.e.c<w.s.c&&(w.s.c=w.e.c),s[`!fullref`]=s[`!ref`],s[`!ref`]=yq(w))}return g.length>0&&(s[`!cols`]=g),y.length>0&&(s[`!merges`]=y),r[`!id`][s[`!legrel`]]&&(s[`!legdrawel`]=r[`!id`][s[`!legrel`]]),s}function UY(e,t,n,r){var i=pK(e);n.Sheets[r]||(n.Sheets[r]={}),i.codeName&&(n.Sheets[r].CodeName=gK(wK(i.codeName)))}function SLe(e,t,n,r,i){UY(e.slice(0,e.indexOf(`>`)),n,r,i)}function CLe(e,t,n){for(var r=e[`!data`]!=null,i=0;i!=t.length;++i){var a=pK(wK(t[i]),!0);if(!a.ref)return;var o=((n||{})[`!id`]||[])[a.id];o?(a.Target=o.Target,a.location&&(a.Target+=`#`+gK(a.location))):(a.Target=`#`+gK(a.location),o={Target:a.Target,TargetMode:`Internal`}),a.Rel=o,a.tooltip&&(a.Tooltip=a.tooltip,delete a.tooltip);for(var s=bq(a.ref),c=s.s.r;c<=s.e.r;++c)for(var l=s.s.c;l<=s.e.c;++l){var u=hq(l)+pq(c);r?(e[`!data`][c]||(e[`!data`][c]=[]),e[`!data`][c][l]||(e[`!data`][c][l]={t:`z`,v:void 0}),e[`!data`][c][l].l=a):(e[u]||(e[u]={t:`z`,v:void 0}),e[u].l=a)}}}function wLe(e){var t={};return[`left`,`right`,`top`,`bottom`,`header`,`footer`].forEach(function(n){e[n]&&(t[n]=parseFloat(e[n]))}),t}function TLe(e,t){for(var n=!1,r=0;r!=t.length;++r){var i=pK(t[r],!0);i.hidden&&=yK(i.hidden);var a=parseInt(i.min,10)-1,o=parseInt(i.max,10)-1;for(i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!n&&i.width&&(n=!0,nY(i.width)),rY(i);a<=o;)e[a++]=VG(i)}}function ELe(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}var DLe=/<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g;function OLe(e,t){t.Views||=[{}],(e.match(DLe)||[]).forEach(function(e,n){var r=pK(e);t.Views[n]||(t.Views[n]={}),+r.zoomScale&&(t.Views[n].zoom=+r.zoomScale),r.rightToLeft&&yK(r.rightToLeft)&&(t.Views[n].RTL=!0)})}var kLe=(function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/ref=["']([^"']*)["']/;return function(i,a,o,s,c,l,u){for(var d=0,f=``,p=[],m=[],h=0,g=0,_=0,v=``,y,b,x=0,S=0,C,w,T=0,E=0,D=Array.isArray(l.CellXf),O,k=[],A=[],j=a[`!data`]!=null,M=[],N={},P=!1,F=!!o.sheetStubs,I=!!((u||{}).WBProps||{}).date1904,L=i.split(t),R=0,z=L.length;R!=z;++R){f=L[R].trim();var B=f.length;if(B!==0){var ee=0;outa:for(d=0;d<B;++d)switch(f[d]){case`>`:if(f[d-1]!=`/`){++d;break outa}if(o&&o.cellStyles){if(b=pK(f.slice(ee,d),!0),x=b.r==null?x+1:parseInt(b.r,10),S=-1,o.sheetRows&&o.sheetRows<x)continue;N={},P=!1,b.ht&&(P=!0,N.hpt=parseFloat(b.ht),N.hpx=oY(N.hpt)),b.hidden&&yK(b.hidden)&&(P=!0,N.hidden=!0),b.outlineLevel!=null&&(P=!0,N.level=+b.outlineLevel),P&&(M[x-1]=N)}break;case`<`:ee=d;break}if(ee>=d)break;if(b=pK(f.slice(ee,d),!0),x=b.r==null?x+1:parseInt(b.r,10),S=-1,!(o.sheetRows&&o.sheetRows<x)){o.nodim||(s.s.r>x-1&&(s.s.r=x-1),s.e.r<x-1&&(s.e.r=x-1)),o&&o.cellStyles&&(N={},P=!1,b.ht&&(P=!0,N.hpt=parseFloat(b.ht),N.hpx=oY(N.hpt)),b.hidden&&yK(b.hidden)&&(P=!0,N.hidden=!0),b.outlineLevel!=null&&(P=!0,N.level=+b.outlineLevel),P&&(M[x-1]=N)),p=f.slice(d).split(e);for(var V=0;V!=p.length&&p[V].trim().charAt(0)==`<`;++V);for(p=p.slice(V),d=0;d!=p.length;++d)if(f=p[d].trim(),f.length!==0){if(m=f.match(n),h=d,g=0,_=0,f=`<c `+(f.slice(0,1)==`<`?`>`:``)+f,m!=null&&m.length===2){for(h=0,v=m[1],g=0;g!=v.length&&!((_=v.charCodeAt(g)-64)<1||_>26);++g)h=26*h+_;--h,S=h}else++S;for(g=0;g!=f.length&&f.charCodeAt(g)!==62;++g);if(++g,b=pK(f.slice(0,g),!0),b.r||(b.r=_q({r:x-1,c:S})),v=f.slice(g),y={t:``},(m=ZG(v,`v`))!=null&&m[1]!==``&&(y.v=gK(m[1])),o.cellFormula){if((m=ZG(v,`f`))!=null){if(m[1]==``)m[0].indexOf(`t="shared"`)>-1&&(w=pK(m[0]),A[w.si]&&(y.f=mY(A[w.si][1],A[w.si][2],b.r)));else if(y.f=gK(wK(m[1]),!0),o.xlfn||(y.f=hY(y.f)),m[0].indexOf(`t="array"`)>-1)y.F=(v.match(r)||[])[1],y.F.indexOf(`:`)>-1&&k.push([bq(y.F),y.F]);else if(m[0].indexOf(`t="shared"`)>-1){w=pK(m[0]);var te=gK(wK(m[1]));o.xlfn||(te=hY(te)),A[parseInt(w.si,10)]=[w,te,b.r]}}else(m=v.match(/<f[^<>]*\/>/))&&(w=pK(m[0]),A[w.si]&&(y.f=mY(A[w.si][1],A[w.si][2],b.r)));var ne=gq(b.r);for(g=0;g<k.length;++g)ne.r>=k[g][0].s.r&&ne.r<=k[g][0].e.r&&ne.c>=k[g][0].s.c&&ne.c<=k[g][0].e.c&&(y.F=k[g][1])}if(b.t==null&&y.v===void 0)if(y.f||y.F)y.v=0,y.t=`n`;else if(F)y.t=`z`;else continue;else y.t=b.t||`n`;switch(s.s.c>S&&(s.s.c=S),s.e.c<S&&(s.e.c=S),y.t){case`n`:if(y.v==``||y.v==null){if(!F)continue;y.t=`z`}else y.v=parseFloat(y.v);break;case`s`:if(y.v===void 0){if(!F)continue;y.t=`z`}else C=RY[parseInt(y.v,10)],y.v=C.t,y.r=C.r,o.cellHTML&&(y.h=C.h);break;case`str`:y.t=`s`,y.v=y.v==null?``:gK(wK(y.v),!0),o.cellHTML&&(y.h=_K(y.v));break;case`inlineStr`:m=ZG(v,`is`),y.t=`s`,m!=null&&(C=VJ(m[1]))?(y.v=C.t,o.cellHTML&&(y.h=C.h)):y.v=``;break;case`b`:y.v=yK(y.v);break;case`d`:o.cellDates?y.v=zG(y.v,I):(y.v=IG(zG(y.v,I),I),y.t=`n`);break;case`e`:(!o||o.cellText!==!1)&&(y.w=y.v),y.v=Jq[y.v]}if(T=E=0,O=null,D&&b.s!==void 0&&(O=l.CellXf[b.s],O!=null&&(O.numFmtId!=null&&(T=O.numFmtId),o.cellStyles&&O.fillId!=null&&(E=O.fillId))),VY(y,T,E,o,c,l,I),o.cellDates&&D&&y.t==`n`&&CG(tG[T])&&(y.v=LG(y.v+(I?1462:0)),y.t=typeof y.v==`number`?`n`:`d`),b.cm&&o.xlmeta){var re=(o.xlmeta.Cell||[])[b.cm-1];re&&re.type==`XLDAPR`&&(y.D=!0)}var ie;o.nodim&&(ie=gq(b.r),s.s.r>
162ie.r&&(s.s.r=ie.r),s.e.r<ie.r&&(s.e.r=ie.r)),j?(ie=gq(b.r),a[`!data`][ie.r]||(a[`!data`][ie.r]=[]),a[`!data`][ie.r][ie.c]=y):a[b.r]=y}}}}M.length>0&&(a[`!rows`]=M)}})();function ALe(e,t){var n={},r=e.l+t;n.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=r,a&7&&(n.level=a&7),a&16&&(n.hidden=!0),a&32&&(n.hpt=i/20),n}var jLe=Pq;function MLe(){}function NLe(e,t){var n={},r=e[e.l];return++e.l,n.above=!(r&64),n.left=!(r&128),e.l+=18,n.name=sMe(e,t-19),n}function PLe(e){return[Oq(e)]}function FLe(e){return[kq(e)]}function ILe(e){return[Oq(e),e.read_shift(1),`b`]}function LLe(e){return[kq(e),e.read_shift(1),`b`]}function RLe(e){return[Oq(e),e.read_shift(1),`e`]}function zLe(e){return[kq(e),e.read_shift(1),`e`]}function BLe(e){return[Oq(e),e.read_shift(4),`s`]}function VLe(e){return[kq(e),e.read_shift(4),`s`]}function HLe(e){return[Oq(e),Fq(e),`n`]}function WY(e){return[kq(e),Fq(e),`n`]}function ULe(e){return[Oq(e),Mq(e),`n`]}function WLe(e){return[kq(e),Mq(e),`n`]}function GLe(e){return[Oq(e),Dq(e),`is`]}function KLe(e){return[Oq(e),Eq(e),`str`]}function qLe(e){return[kq(e),Eq(e),`str`]}function JLe(e,t,n){var r=e.l+t,i=Oq(e);i.r=n[`!row`];var a=[i,e.read_shift(1),`b`];return n.cellFormula?(e.l+=2,a[3]=jY(PY(e,r-e.l,n),null,i,n.supbooks,n)):e.l=r,a}function YLe(e,t,n){var r=e.l+t,i=Oq(e);i.r=n[`!row`];var a=[i,e.read_shift(1),`e`];return n.cellFormula?(e.l+=2,a[3]=jY(PY(e,r-e.l,n),null,i,n.supbooks,n)):e.l=r,a}function XLe(e,t,n){var r=e.l+t,i=Oq(e);i.r=n[`!row`];var a=[i,Fq(e),`n`];return n.cellFormula?(e.l+=2,a[3]=jY(PY(e,r-e.l,n),null,i,n.supbooks,n)):e.l=r,a}function ZLe(e,t,n){var r=e.l+t,i=Oq(e);i.r=n[`!row`];var a=[i,Eq(e),`str`];return n.cellFormula?(e.l+=2,a[3]=jY(PY(e,r-e.l,n),null,i,n.supbooks,n)):e.l=r,a}var QLe=Pq;function $Le(e,t){var n=e.l+t,r=Pq(e,16),i=Aq(e),a=Eq(e),o=Eq(e),s=Eq(e);e.l=n;var c={rfx:r,relId:i,loc:a,display:s};return o&&(c.Tooltip=o),c}function eRe(){}function tRe(e,t,n){var r=e.l+t,i=Nq(e,16),a=e.read_shift(1),o=[i];return o[2]=a,n.cellFormula?o[1]=lLe(e,r-e.l,n):e.l=r,o}function nRe(e,t,n){var r=e.l+t,i=[Pq(e,16)];return n.cellFormula&&(i[1]=dLe(e,r-e.l,n)),e.l=r,i}var rRe=[`left`,`right`,`top`,`bottom`,`header`,`footer`];function iRe(e){var t={};return rRe.forEach(function(n){t[n]=Fq(e,8)}),t}function aRe(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function oRe(){}function sRe(){}function cRe(e,t,n,r,i,a,o){if(!e)return e;var s=t||{};r||={"!id":{}},AW!=null&&s.dense==null&&(s.dense=AW);var c={};s.dense&&(c[`!data`]=[]);var l,u={s:{r:2e6,c:2e6},e:{r:0,c:0}},d=[],f=!1,p=!1,m,h,g,_,v,y,b,x,S,C=[];s.biff=12,s[`!row`]=0;var w=0,T=!1,E=[],D={},O=s.supbooks||i.supbooks||[[]];if(O.sharedf=D,O.arrayf=E,O.SheetNames=i.SheetNames||i.Sheets.map(function(e){return e.name}),!s.supbooks&&(s.supbooks=O,i.Names))for(var k=0;k<i.Names.length;++k)O[0][k+1]=i.Names[k];var A=[],j=[],M=!1;aX[16]={n:`BrtShortReal`,f:WY};var N,P,F=1462*!!((i||{}).WBProps||{}).date1904;if(oq(e,function(e,t,k){if(!p)switch(k){case 148:l=e;break;case 0:m=e,s.sheetRows&&s.sheetRows<=m.r&&(p=!0),x=pq(_=m.r),s[`!row`]=m.r,(e.hidden||e.hpt||e.level!=null)&&(e.hpt&&(e.hpx=oY(e.hpt)),j[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(h={t:e[2]},e[2]){case`n`:h.v=e[1];break;case`s`:b=RY[e[1]],h.v=b.t,h.r=b.r;break;case`b`:h.v=!!e[1];break;case`e`:h.v=e[1],s.cellText!==!1&&(h.w=qq[h.v]);break;case`str`:h.t=`s`,h.v=e[1];break;case`is`:h.t=`s`,h.v=e[1].t}if((g=o.CellXf[e[0].iStyleRef])&&VY(h,g.numFmtId,null,s,a,o,F>0),v=e[0].c==-1?v+1:e[0].c,s.dense?(c[`!data`][_]||(c[`!data`][_]=[]),c[`!data`][_][v]=h):c[hq(v)+x]=h,s.cellFormula){for(T=!1,w=0;w<E.length;++w){var I=E[w];m.r>=I[0].s.r&&m.r<=I[0].e.r&&v>=I[0].s.c&&v<=I[0].e.c&&(h.F=yq(I[0]),T=!0)}!T&&e.length>3&&(h.f=e[3])}if(u.s.r>m.r&&(u.s.r=m.r),u.s.c>v&&(u.s.c=v),u.e.r<m.r&&(u.e.r=m.r),u.e.c<v&&(u.e.c=v),s.cellDates&&g&&h.t==`n`&&CG(tG[g.numFmtId])){var L=iG(h.v+F);L&&(h.t=`d`,h.v=new Date(Date.UTC(L.y,L.m-1,L.d,L.H,L.M,L.S,L.u)))}N&&=(N.type==`XLDAPR`&&(h.D=!0),void 0),P&&=void 0;break;case 1:case 12:if(!s.sheetStubs||f)break;h={t:`z`,v:void 0},v=e[0].c==-1?v+1:e[0].c,s.dense?(c[`!data`][_]||(c[`!data`][_]=[]),c[`!data`][_][v]=h):c[hq(v)+x]=h,u.s.r>m.r&&(u.s.r=m.r),u.s.c>v&&(u.s.c=v),u.e.r<m.r&&(u.e.r=m.r),u.e.c<v&&(u.e.c=v),N&&=(N.type==`XLDAPR`&&(h.D=!0),void 0),P&&=void 0;break;case 176:C.push(e);break;case 49:N=((s.xlmeta||{}).Cell||[])[e-1];break;case 494:var R=r[`!id`][e.relId];for(R?(e.Target=R.Target,e.loc&&(e.Target+=`#`+e.loc),e.Rel=R):e.relId==``&&(e.Target=`#`+e.loc),_=e.rfx.s.r;_<=e.rfx.e.r;++_)for(v=e.rfx.s.c;v<=e.rfx.e.c;++v)s.dense?(c[`!data`][_]||(c[`!data`][_]=[]),c[`!data`][_][v]||(c[`!data`][_][v]={t
162:`z`,v:void 0}),c[`!data`][_][v].l=e):(y=hq(v)+pq(_),c[y]||(c[y]={t:`z`,v:void 0}),c[y].l=e);break;case 426:if(!s.cellFormula)break;E.push(e),S=s.dense?c[`!data`][_][v]:c[hq(v)+x],S.f=jY(e[1],u,{r:m.r,c:v},O,s),S.F=yq(e[0]);break;case 427:if(!s.cellFormula)break;D[_q(e[0].s)]=e[1],S=s.dense?c[`!data`][_][v]:c[hq(v)+x],S.f=jY(e[1],u,{r:m.r,c:v},O,s);break;case 60:if(!s.cellStyles)break;for(;e.e>=e.s;)A[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level},M||(M=!0,nY(e.w/256)),rY(A[e.e+1]);break;case 551:e&&(c[`!legrel`]=e);break;case 161:c[`!autofilter`]={ref:yq(e)};break;case 476:c[`!margins`]=e;break;case 147:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name),(e.above||e.left)&&(c[`!outline`]={above:e.above,left:e.left});break;case 137:i.Views||=[{}],i.Views[0]||(i.Views[0]={}),e.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:f=!0;break;case 36:f=!1;break;case 37:d.push(k),f=!0;break;case 38:d.pop(),f=!1;break;default:if(!t.T&&(!f||s.WTF))throw Error(`Unexpected record 0x`+k.toString(16))}},s),delete s.supbooks,delete s[`!row`],!c[`!ref`]&&(u.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(c[`!ref`]=yq(l||u)),s.sheetRows&&c[`!ref`]){var I=bq(c[`!ref`]);s.sheetRows<=+I.e.r&&(I.e.r=s.sheetRows-1,I.e.r>u.e.r&&(I.e.r=u.e.r),I.e.r<I.s.r&&(I.s.r=I.e.r),I.e.c>u.e.c&&(I.e.c=u.e.c),I.e.c<I.s.c&&(I.s.c=I.e.c),c[`!fullref`]=c[`!ref`],c[`!ref`]=yq(I))}return C.length>0&&(c[`!merges`]=C),A.length>0&&(c[`!cols`]=A),j.length>0&&(c[`!rows`]=j),r[`!id`][c[`!legrel`]]&&(c[`!legdrawel`]=r[`!id`][c[`!legrel`]]),c}function lRe(e){var t=[],n=e.match(/^<c:numCache>/),r;(e.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<])<\/c:v><\/c:pt>/gm)||[]).forEach(function(e){var r=e.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<]*)<\/c:v><\/c:pt>/);r&&(t[+r[1]]=n?+r[2]:r[2])});var i=gK((XG(e,`c:formatCode`)||[``,`General`])[1]);return(JG(e,`<c:f>`,`</c:f>`)||[]).forEach(function(e){r=e.replace(/<[^<>]*>/g,``)}),[t,i,r]}function uRe(e,t,n,r,i,a){var o=a||{"!type":`chart`};if(!e)return a;var s=0,c=0,l=`A`,u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(JG(e,`<c:numCache>`,`</c:numCache>`)||[]).forEach(function(e){var t=lRe(e);u.s.r=u.s.c=0,u.e.c=s,l=hq(s),t[0].forEach(function(e,n){o[`!data`]?(o[`!data`][n]||(o[`!data`][n]=[]),o[`!data`][n][s]={t:`n`,v:e,z:t[1]}):o[l+pq(n)]={t:`n`,v:e,z:t[1]},c=n}),u.e.r<c&&(u.e.r=c),++s}),s>0&&(o[`!ref`]=yq(u)),o}function dRe(e,t,n,r,i){if(!e)return e;r||={"!id":{}};var a={"!type":`chart`,"!drawel":null,"!rel":``},o,s=e.match(HY);return s&&UY(s[0],a,i,n),(o=e.match(/drawing r:id="(.*?)"/))&&(a[`!rel`]=o[1]),r[`!id`][a[`!rel`]]&&(a[`!drawel`]=r[`!id`][a[`!rel`]]),a}function fRe(e,t){return e.l+=10,{name:Eq(e,t-10)}}function pRe(e,t,n,r,i){if(!e)return e;r||={"!id":{}};var a={"!type":`chart`,"!drawel":null,"!rel":``},o=[],s=!1;return oq(e,function(e,r,c){switch(c){case 550:a[`!rel`]=e;break;case 651:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:o.push(c);break;case 38:o.pop();break;default:if(r.T>0)o.push(c);else if(r.T<0)o.pop();else if(!s||t.WTF)throw Error(`Unexpected record 0x`+c.toString(16))}},t),r[`!id`][a[`!rel`]]&&(a[`!drawel`]=r[`!id`][a[`!rel`]]),a}var GY=[[`allowRefreshQuery`,!1,`bool`],[`autoCompressPictures`,!0,`bool`],[`backupFile`,!1,`bool`],[`checkCompatibility`,!1,`bool`],[`CodeName`,``],[`date1904`,!1,`bool`],[`defaultThemeVersion`,0,`int`],[`filterPrivacy`,!1,`bool`],[`hidePivotFieldList`,!1,`bool`],[`promptedSolutions`,!1,`bool`],[`publishItems`,!1,`bool`],[`refreshAllConnections`,!1,`bool`],[`saveExternalLinkValues`,!0,`bool`],[`showBorder
162UnselectedTables`,!0,`bool`],[`showInkAnnotation`,!0,`bool`],[`showObjects`,`all`],[`showPivotChartFilter`,!1,`bool`],[`updateLinks`,`userSet`]],mRe=[[`activeTab`,0,`int`],[`autoFilterDateGrouping`,!0,`bool`],[`firstSheet`,0,`int`],[`minimized`,!1,`bool`],[`showHorizontalScroll`,!0,`bool`],[`showSheetTabs`,!0,`bool`],[`showVerticalScroll`,!0,`bool`],[`tabRatio`,600,`int`],[`visibility`,`visible`]],hRe=[],gRe=[[`calcCompleted`,`true`],[`calcMode`,`auto`],[`calcOnSave`,`true`],[`concurrentCalc`,`true`],[`fullCalcOnLoad`,`false`],[`fullPrecision`,`true`],[`iterate`,`false`],[`iterateCount`,`100`],[`iterateDelta`,`0.001`],[`refMode`,`A1`]];function KY(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],i=0;i!=t.length;++i){var a=t[i];if(r[a[0]]==null)r[a[0]]=a[1];else switch(a[2]){case`bool`:typeof r[a[0]]==`string`&&(r[a[0]]=yK(r[a[0]]));break;case`int`:typeof r[a[0]]==`string`&&(r[a[0]]=parseInt(r[a[0]],10));break}}}function qY(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(e[r[0]]==null)e[r[0]]=r[1];else switch(r[2]){case`bool`:typeof e[r[0]]==`string`&&(e[r[0]]=yK(e[r[0]]));break;case`int`:typeof e[r[0]]==`string`&&(e[r[0]]=parseInt(e[r[0]],10));break}}}function JY(e){qY(e.WBProps,GY),qY(e.CalcPr,gRe),KY(e.WBView,mRe),KY(e.Sheets,hRe),zY.date1904=yK(e.WBProps.date1904)}var _Re=`:][*?/\\`.split(``);function vRe(e,t){try{if(e==``)throw Error(`Sheet name cannot be blank`);if(e.length>31)throw Error(`Sheet name cannot exceed 31 chars`);if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw Error(`Sheet name cannot start or end with apostrophe (')`);if(e.toLowerCase()==`history`)throw Error(`Sheet name cannot be 'History'`);_Re.forEach(function(t){if(e.indexOf(t)!=-1)throw Error(`Sheet name cannot contain : \\ / ? * [ ]`)})}catch(e){if(t)return!1;throw e}return!0}var yRe=/<\w+:workbook/;function bRe(e,t){if(!e)throw Error(`Could not find file`);var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:``},r=!1,i=`xmlns`,a={},o=0;if(e.replace(fK,function(s,c){var l=pK(s);switch(mK(l[0])){case`<?xml`:break;case`<workbook`:s.match(yRe)&&(i=`xmlns`+s.match(/<(\w+):/)[1]),n.xmlns=l[i];break;case`</workbook>`:break;case`<fileVersion`:delete l[0],n.AppVersion=l;break;case`<fileVersion/>`:case`</fileVersion>`:break;case`<fileSharing`:break;case`<fileSharing/>`:break;case`<workbookPr`:case`<workbookPr/>`:GY.forEach(function(e){if(l[e[0]]!=null)switch(e[2]){case`bool`:n.WBProps[e[0]]=yK(l[e[0]]);break;case`int`:n.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:n.WBProps[e[0]]=l[e[0]]}}),l.codeName&&(n.WBProps.CodeName=wK(l.codeName));break;case`</workbookPr>`:break;case`<workbookProtection`:break;case`<workbookProtection/>`:break;case`<bookViews`:case`<bookViews>`:case`</bookViews>`:break;case`<workbookView`:case`<workbookView/>`:delete l[0],n.WBView.push(l);break;case`</workbookView>`:break;case`<sheets`:case`<sheets>`:case`</sheets>`:break;case`<sheet`:switch(l.state){case`hidden`:l.Hidden=1;break;case`veryHidden`:l.Hidden=2;break;default:l.Hidden=0}delete l.state,l.name=gK(wK(l.name)),delete l[0],n.Sheets.push(l);break;case`</sheet>`:break;case`<functionGroups`:case`<functionGroups/>`:break;case`<functionGroup`:break;case`<externalReferences`:case`</externalReferences>`:case`<externalReferences>`:break;case`<externalReference`:break;case`<definedNames/>`:break;case`<definedNames>`:case`<definedNames`:r=!0;break;case`</definedNames>`:r=!1;break;case`<definedName`:a={},a.Name=wK(l.name),l.comment&&(a.Comment=l.comment),l.localSheetId&&(a.Sheet=+l.localSheetId),yK(l.hidden||`0`)&&(a.Hidden=!0),o=c+s.length;break;case`</definedName>`:a.Ref=gK(wK(e.slice(o,c))),n.Names.push(a);break;case`<definedName/>`:break;case`<calcPr`:delete l[0],n.CalcPr=l;break;case`<calcPr/>`:delete l[0],n.CalcPr=l;break;case`</calcPr>`:break;case`<oleSize`:break;case`<customWorkbookViews>`:case`</customWorkbookViews>`:case`<customWorkbookViews`:break;case`<customWorkbookView`:case`</customWorkbookView>`:break;case`<pivotCaches>`:case`</pivotCaches>`:case`<pivotCaches`:break;case`<pivotCache`:break;case`<smartTagPr`:case`<smartTagPr/>`:break;case`<smartTagTypes`:case`<smartTagTypes>`:case`</smartTagTypes>`:break;case`<smartTagType`:break;case`<webPublishing`:case`<webPublishing/>`:break;case`<fileRecoveryPr`:case`<fileRecoveryPr/>`:break;case`<webPublishObjects>`:case`<webPublishObjects`:case`</webPublishObjects>`:break;case`<webPublishObject`:break;case`<extLst`:case`<extLst>`:case`</extLst>`:case`<extLst/>`:break;case`<ext`:r=!0;break;case`</ext>`:r=!1;break;case`<ArchID`:break;case`<AlternateContent`:case`<AlternateContent>`:r=!0;break;case`</AlternateContent>`:r=!1;break;case`<revisionPtr`:break;default:if(!r&&t.WTF)throw Error(`unrecognized `+l[0]+` in workbook`)}return s}),Vje.indexOf(n.xmlns)===-1)throw Error(`Unknown Namespace: `+n.xmlns);return JY(n),n}function xRe(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=jq(e,t-8),n.name=Eq(e),n}function SRe(e,t){var n={},r=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var i=t>8?Eq(e):``;return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(r&65536),n.backupFile=!!(r&64),n.checkCompatibility=!!(r&4096),n.date1904=!!(r&1),n.filterPrivacy=!!(r&8),n.hidePivotFieldList=!!(r&1024),n.promptedSolutions=!!(r&16),n.publishItems=!!(r&2048),n.refreshAllConnections=!!(r&262144),n.saveExternalLinkValues=!!(r&128),n.showBorder
162UnselectedTables=!!(r&4),n.showInkAnnotation=!!(r&32),n.showObjects=[`all`,`placeholders`,`none`][r>>13&3],n.showPivotChartFilter=!!(r&32768),n.updateLinks=[`userSet`,`never`,`always`][r>>8&3],n}function CRe(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function wRe(e,t,n){var r=e.l+t,i=e.read_shift(4);e.l+=1;var a=e.read_shift(4),o=cMe(e),s,c=``;try{s=uLe(e,0,n);try{c=Aq(e)}catch{}}catch{console.error(`Could not parse defined name `+o)}i&32&&(o=`_xlnm.`+o),e.l=r;var l={Name:o,Ptg:s,Flags:i};return a<268435455&&(l.Sheet=a),c&&(l.Comment=c),l}function TRe(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:``},r=[],i=!1;t||={},t.biff=12;var a=[],o=[[]];return o.SheetNames=[],o.XTI=[],aX[16]={n:`BrtFRTArchID$`,f:CRe},oq(e,function(e,s,c){switch(c){case 156:o.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:e.Sheet!=null&&(t.SID=e.Sheet),e.Ref=e.Ptg?jY(e.Ptg,null,null,o,t):`#REF!`,delete t.SID,delete e.Ptg,a.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:o[0].length?o.push([c,e]):o[0]=[c,e],o[o.length-1].XTI=[];break;case 362:o.length===0&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(e),o.XTI=o.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:r.push(c),i=!0;break;case 36:r.pop(),i=!1;break;case 37:r.push(c),i=!0;break;case 38:r.pop(),i=!1;break;case 16:break;default:if(!s.T&&(!i||t.WTF&&r[r.length-1]!=37&&r[r.length-1]!=35))throw Error(`Unexpected record 0x`+c.toString(16))}},t),JY(n),n.Names=a,n.supbooks=o,n}function ERe(e,t,n){return t.slice(-4)===`.bin`?TRe(e,n):bRe(e,n)}function DRe(e,t,n,r,i,a,o,s){return t.slice(-4)===`.bin`?cRe(e,r,n,i,a,o,s):xLe(e,r,n,i,a,o,s)}function ORe(e,t,n,r,i,a,o,s){return t.slice(-4)===`.bin`?pRe(e,r,n,i,a,o,s):dRe(e,r,n,i,a,o,s)}function kRe(e,t,n,r,i,a,o,s){return t.slice(-4)===`.bin`?VFe(e,r,n,i,a,o,s):HFe(e,r,n,i,a,o,s)}function ARe(e,t,n,r,i,a,o,s){return t.slice(-4)===`.bin`?zFe(e,r,n,i,a,o,s):BFe(e,r,n,i,a,o,s)}function jRe(e,t,n,r){return t.slice(-4)===`.bin`?sFe(e,n,r):tFe(e,n,r)}function MRe(e,t,n){return t.slice(-4)===`.bin`?CPe(e,n):xPe(e,n)}function NRe(e,t,n){return t.slice(-4)===`.bin`?IFe(e,n):jFe(e,n)}function PRe(e,t,n){return t.slice(-4)===`.bin`?DFe(e,t,n):TFe(e,t,n)}function FRe(e,t,n,r){if(n.slice(-4)===`.bin`)return OFe(e,t,n,r)}function IRe(e,t,n){return t.slice(-4)===`.bin`?CFe(e,t,n):wFe(e,t,n)}var YY=/\b((?:\w+:)?[\w]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,XY=/\b((?:\w+:)?[\w]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function ZY(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),n.length===1)return r;var i=e.match(YY),a,o,s,c;if(i)for(c=0;c!=i.length;++c)a=i[c].match(XY),(o=a[1].indexOf(`:`))===-1?r[a[1]]=a[2].slice(1,a[2].length-1):(s=a[1].slice(0,6)===`xmlns:`?`xmlns`+a[1].slice(6):a[1].slice(o+1),r[s]=a[2].slice(1,a[2].length-1));return r}function LRe(e){var t=e.split(/\s+/),n={};if(t.length===1)return n;var r=e.match(YY),i,a,o,s;if(r)for(s=0;s!=r.length;++s)i=r[s].match(XY),(a=i[1].indexOf(`:`))===-1?n[i[1]]=i[2].slice(1,i[2].length-1):(o=i[1].slice(0,6)===`xmlns:`?`xmlns`+i[1].slice(6):i[1].slice(a+1),n[o]=i[2].slice(1,i[2].length-1));return n}var QY;function RRe(e,t,n){var r=QY[e]||gK(e);return r===`General`?sG(t):EG(r,t,{date1904:!!n})}function zRe(e,t,n,r){var i=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||[``,``])[1]){case`boolean`:i=yK(r);break;case`i2`:case`int`:i=parseInt(r,10);break;case`r4`:case`float`:i=parseFloat(r);break;case`date`:case`dateTime.tz`:i=zG(r);break;case`i8`:case`string`:case`fixed`:case`uuid`:case`bin.base64`:break;default:throw Error(`bad custprop:`+n[0])}e[gK(t)]=i}function BRe(e,t,n,r){if(e.t!==`z`){if(!n||n.cellText!==!1)try{e.w=e.t===`e`?e.w||qq[e.v]:t===`General`?e.t===`n`?(e.v|0)===e.v?e.v.toString(10):oG(e.v):sG(e.v):RRe(t||`General`,e.v,r)}catch(e){if(n.WTF)throw e}try{var i=QY[t]||t||`General`;if(n.cellNF&&(e.z=i),n.cellDates&&e.t==`n`&&CG(i)){var a=iG(e.v+(r?1462:0));a&&(e.t=`d`,e.v=new Date(Date.UTC(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u)))}}catch(e){if(n.WTF)throw e}}}function VRe(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=YPe[r.Pattern]||r.Pattern)}e[t.ID]=t}function HRe(e,t,n,r,i,a,o,s,c,l,u){var d=`General`,f=r.StyleID,p={};l||={};var m=[],h=0;for(f===void 0&&s&&(f=s.StyleID),f===void 0&&o&&(f=o.StyleID);a[f]!==void 0;){var g=a[f];if(g.nf&&(d=g.nf),g.Interior&&m.push(g.Interior),!g.Parent)break;f=g.Parent}switch(n.Type){case`Boolean`:r.t=`b`,r.v=yK(e);break;case`String`:r.t=`s`,r.r=vK(gK(e)),r.v=e.indexOf(`<`)>-1?gK(t||e).replace(/<[^<>]*>/g,``):r.r;break;case`DateTime`:e.slice(-1)!=`Z`&&(e+=`Z`),r.v=IG(zG(e,u),u),r.v!==r.v&&(r.v=gK(e)),(!d||d==`General`)&&(d=`yyyy-mm-dd`);case`Number`:r.v===void 0&&(r.v=+e),r.t||=`n`;break;case`Error`:r.t=`e`,r.v=Jq[e],l.cellText!==!1&&(r.w=e);break;default:e==``&&t==``?r.t=`z`:(r.t=`s`,r.v=vK(t||e))}if(BRe(r,d,l,u),l.cellFormula!==!1)if(r.Formula){var _=gK(r.Formula);
162_.charCodeAt(0)==61&&(_=_.slice(1)),r.f=dY(_,i),delete r.Formula,r.ArrayRange==`RC`?r.F=dY(`RC:RC`,i):r.ArrayRange&&(r.F=dY(r.ArrayRange,i),c.push([bq(r.F),r.F]))}else for(h=0;h<c.length;++h)i.r>=c[h][0].s.r&&i.r<=c[h][0].e.r&&i.c>=c[h][0].s.c&&i.c<=c[h][0].e.c&&(r.F=c[h][1]);l.cellStyles&&(m.forEach(function(e){!p.patternType&&e.patternType&&(p.patternType=e.patternType)}),r.s=p),r.StyleID!==void 0&&(r.ixfe=r.StyleID)}function URe(e){return Yq.indexOf(`_xlnm.`+e)>-1?`_xlnm.`+e:e}function WRe(e){e.t=e.v||``,e.t=e.t.replace(/\r\n/g,` 163`).replace(/\r/g,` 164`),e.v=e.w=e.ixfe=void 0}function $Y(e,t){var n=t||{};DG();var r=DW(OK(e));(n.type==`binary`||n.type==`array`||n.type==`base64`)&&(r=yW===void 0?wK(r):yW.utils.decode(65001,wW(r)));var i=r.slice(0,1024).toLowerCase(),a=!1;if(i=i.replace(/".*?"/g,``),(i.indexOf(`>`)&1023)>Math.min(i.indexOf(`,`)&1023,i.indexOf(`;`)&1023)){var o=VG(n);return o.type=`string`,zJ.to_workbook(r,o)}if(i.indexOf(`<?xml`)==-1&&[`html`,`table`,`head`,`meta`,`script`,`style`,`div`].forEach(function(e){i.indexOf(`<`+e)>=0&&(a=!0)}),a)return $Re(r,n);QY={"General Number":`General`,"General Date":tG[22],"Long Date":`dddd, mmmm dd, yyyy`,"Medium Date":tG[15],"Short Date":tG[14],"Long Time":tG[19],"Medium Time":tG[18],"Short Time":tG[20],Currency:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,Fixed:tG[2],Standard:tG[4],Percent:tG[10],Scientific:tG[11],"Yes/No":`"Yes";"Yes";"No";@`,"True/False":`"True";"True";"False";@`,"On/Off":`"Yes";"Yes";"No";@`};var s,c=[],l;AW!=null&&n.dense==null&&(n.dense=AW);var u={},d=[],f={},p=``;n.dense&&(f[`!data`]=[]);var m={},h={},g=ZY(`<Data ss:Type="String">`),_=0,v=0,y=0,b={s:{r:2e6,c:2e6},e:{r:0,c:0}},x={},S={},C=``,w=0,T=[],E={},D={},O=0,k=[],A=[],j={},M=[],N,P=!1,F=[],I=[],L={},R=0,z=0,B={Sheets:[],WBProps:{date1904:!1}},ee={};kK.lastIndex=0,r=YG(r,`<!--`,`-->`);for(var V=``;s=kK.exec(r);)switch(s[3]=(V=s[3]).toLowerCase()){case`data`:if(V==`data`){if(s[1]===`/`){if((l=c.pop())[0]!==s[3])throw Error(`Bad state: `+l.join(`|`))}else s[0].charAt(s[0].length-2)!==`/`&&c.push([s[3],!0]);break}if(c[c.length-1][1])break;s[1]===`/`?HRe(r.slice(_,s.index),C,g,c[c.length-1][0]==`comment`?j:m,{c:v,r:y},x,M[v],h,F,n,B.WBProps.date1904):(C=``,g=ZY(s[0]),_=s.index+s[0].length);break;case`cell`:if(s[1]===`/`)if(A.length>0&&(m.c=A),(!n.sheetRows||n.sheetRows>y)&&m.v!==void 0&&(n.dense?(f[`!data`][y]||(f[`!data`][y]=[]),f[`!data`][y][v]=m):f[hq(v)+pq(y)]=m),m.HRef&&(m.l={Target:gK(m.HRef)},m.HRefScreenTip&&(m.l.Tooltip=m.HRefScreenTip),delete m.HRef,delete m.HRefScreenTip),(m.MergeAcross||m.MergeDown)&&(R=v+(parseInt(m.MergeAcross,10)|0),z=y+(parseInt(m.MergeDown,10)|0),(R>v||z>y)&&T.push({s:{c:v,r:y},e:{c:R,r:z}})),!n.sheetStubs)m.MergeAcross?v=R+1:++v;else if(m.MergeAcross||m.MergeDown){for(var te=v;te<=R;++te)for(var ne=y;ne<=z;++ne)(te>v||ne>y)&&(n.dense?(f[`!data`][ne]||(f[`!data`][ne]=[]),f[`!data`][ne][te]={t:`z`}):f[hq(te)+pq(ne)]={t:`z`});v=R+1}else++v;else m=LRe(s[0]),m.Index&&(v=m.Index-1),v<b.s.c&&(b.s.c=v),v>b.e.c&&(b.e.c=v),s[0].slice(-2)===`/>`&&++v,A=[];break;case`row`:s[1]===`/`||s[0].slice(-2)===`/>`?(y<b.s.r&&(b.s.r=y),y>b.e.r&&(b.e.r=y),s[0].slice(-2)===`/>`&&(h=ZY(s[0]),h.Index&&(y=h.Index-1)),v=0,++y):(h=ZY(s[0]),h.Index&&(y=h.Index-1),L={},(h.AutoFitHeight==`0`||h.Height)&&(L.hpx=parseInt(h.Height,10),L.hpt=aY(L.hpx),I[y]=L),h.Hidden==`1`&&(L.hidden=!0,I[y]=L));break;case`worksheet`:if(s[1]===`/`){if((l=c.pop())[0]!==s[3])throw Error(`Bad state: `+l.join(`|`));d.push(p),b.s.r<=b.e.r&&b.s.c<=b.e.c&&(f[`!ref`]=yq(b),n.sheetRows&&n.sheetRows<=b.e.r&&(f[`!fullref`]=f[`!ref`],b.e.r=n.sheetRows-1,f[`!ref`]=yq(b))),T.length&&(f[`!merges`]=T),M.length>0&&(f[`!cols`]=M),I.length>0&&(f[`!rows`]=I),u[p]=f}else b={s:{r:2e6,c:2e6},e:{r:0,c:0}},y=v=0,c.push([s[3],!1]),l=ZY(s[0]),p=gK(l.Name),f={},n.dense&&(f[`!data`]=[]),T=[],F=[],I=[],ee={name:p,Hidden:0},B.Sheets.push(ee);break;case`table`:if(s[1]===`/`){if((l=c.pop())[0]!==s[3])throw Error(`Bad state: `+l.join(`|`))}else if(s[0].slice(-2)==`/>`)break;else c.push([s[3],!1]),M=[],P=!1;break;case`style`:s[1]===`/`?VRe(x,S,n):S=ZY(s[0]);break;case`numberformat`:S.nf=gK(ZY(s[0]).Format||`General`),QY[S.nf]&&(S.nf=QY[S.nf]);for(var re=0;re!=392&&tG[re]!=S.nf;++re);if(re==392){for(re=57;re!=392;++re)if(tG[re]==null){kG(S.nf,re);break}}break;case`column`:if(c[c.length-1][0]!==`table`||s[1]===`/`)break;if(N=ZY(s[0]),N.Hidden&&(N.hidden=!0,delete N.Hidden),N.Width&&(N.wpx=parseInt(N.Width,10)),!P&&N.wpx>10){P=!0,ZJ=XJ;for(var ie=0;ie<M.length;++ie)M[ie]&&rY(M[ie])}P&&rY(N),M[N.Index-1||M.length]=N;for(var ae=0;ae<+N.Span;++ae)M[M.length]=VG(N);break;case`namedrange`:if(s[1]===`/`)break;B.Names||=[];var oe=pK(s[0]),H={Name:URe(oe.Name),Ref:dY(oe.RefersTo.slice(1),{r:0,c:0})};B.Sheets.length>0&&(H.Sheet=B.Sheets.length-1),B.Names.push(H);break;case`namedcell`:break;case`b`:break;case`i`:break;case`u`:break;case`s`:break;case`em`:break;case`h2`:break;case`h3`:break;case`sub`:break;case`sup`:break;case`span`:break;case`alignment`:break;case`borders`:break;case`border`:break;case`font`:if(s[0].slice(-2)===`/>`)break;s[1]===`/`?C+=r.slice(w,s.index):w=s.index+s[0].length;break;case`interior`:if(!n.cellStyles)break;S.Interior=ZY(s[0]);break;case`protection`:break;case`author`:case`title`:case`description`:case`created`:case`keywords`:case`subject`:case`category`:case`company`:case`lastauthor`:case`lastsaved`:case`lastprinted`:case`version`:case`revision`:case`totalt
164ime`:case`hyperlinkbase`:case`manager`:case`contentstatus`:case`identifier`:case`language`:case`appname`:if(s[0].slice(-2)===`/>`)break;s[1]===`/`?jMe(E,V,r.slice(O,s.index)):O=s.index+s[0].length;break;case`paragraphs`:break;case`styles`:case`workbook`:if(s[1]===`/`){if((l=c.pop())[0]!==s[3])throw Error(`Bad state: `+l.join(`|`))}else c.push([s[3],!1]);break;case`comment`:if(s[1]===`/`){if((l=c.pop())[0]!==s[3])throw Error(`Bad state: `+l.join(`|`));WRe(j),A.push(j)}else c.push([s[3],!1]),l=ZY(s[0]),yK(l.ShowAlways||`0`)||(A.hidden=!0),j={a:l.Author};break;case`autofilter`:if(s[1]===`/`){if((l=c.pop())[0]!==s[3])throw Error(`Bad state: `+l.join(`|`))}else if(s[0].charAt(s[0].length-2)!==`/`){var se=ZY(s[0]);f[`!autofilter`]={ref:dY(se.Range).replace(/\$/g,``)},c.push([s[3],!0])}break;case`name`:break;case`datavalidation`:if(s[1]===`/`){if((l=c.pop())[0]!==s[3])throw Error(`Bad state: `+l.join(`|`))}else s[0].charAt(s[0].length-2)!==`/`&&c.push([s[3],!0]);break;case`pixelsperinch`:break;case`componentoptions`:case`documentproperties`:case`customdocumentproperties`:case`officedocumentsettings`:case`pivottable`:case`pivotcache`:case`names`:case`mapinfo`:case`pagebreaks`:case`querytable`:case`sorting`:case`schema`:case`conditionalformatting`:case`smarttagtype`:case`smarttags`:case`excelworkbook`:case`workbookoptions`:case`worksheetoptions`:if(s[1]===`/`){if((l=c.pop())[0]!==s[3])throw Error(`Bad state: `+l.join(`|`))}else s[0].charAt(s[0].length-2)!==`/`&&c.push([s[3],!0]);break;case`null`:break;default:if(c.length==0&&s[3]==`document`||c.length==0&&s[3]==`uof`)return oze(r,n);var ce=!0;switch(c[c.length-1][0]){case`officedocumentsettings`:switch(s[3]){case`allowpng`:break;case`removepersonalinformation`:break;case`downloadcomponents`:break;case`locationofcomponents`:break;case`colors`:break;case`color`:break;case`index`:break;case`rgb`:break;case`targetscreensize`:break;case`readonlyrecommended`:break;default:ce=!1}break;case`componentoptions`:switch(s[3]){case`toolbar`:break;case`hideofficelogo`:break;case`spreadsheetautofit`:break;case`label`:break;case`caption`:break;case`maxheight`:break;case`maxwidth`:break;case`nextsheetnumber`:break;default:ce=!1}break;case`excelworkbook`:switch(s[3]){case`date1904`:B.WBProps.date1904=!0;break;case`hidehorizontalscrollbar`:break;case`hideverticalscrollbar`:break;case`hideworkbooktabs`:break;case`windowheight`:break;case`windowwidth`:break;case`windowtopx`:break;case`windowtopy`:break;case`tabratio`:break;case`protectstructure`:break;case`protectwindow`:break;case`protectwindows`:break;case`activesheet`:break;case`displayinknotes`:break;case`firstvisiblesheet`:break;case`supbook`:break;case`sheetname`:break;case`sheetindex`:break;case`sheetindexfirst`:break;case`sheetindexlast`:break;case`dll`:break;case`acceptlabelsinformulas`:break;case`donotsavelinkvalues`:break;case`iteration`:break;case`maxiterations`:break;case`maxchange`:break;case`path`:break;case`xct`:break;case`count`:break;case`selectedsheets`:break;case`calculation`:break;case`uncalced`:break;case`startupprompt`:break;case`crn`:break;case`externname`:break;case`formula`:break;case`colfirst`:break;case`collast`:break;case`wantadvise`:break;case`boolean`:break;case`error`:break;case`text`:break;case`ole`:break;case`noautorecover`:break;case`publishobjects`:break;case`donotcalculatebeforesave`:break;case`number`:break;case`refmoder1c1`:break;case`embedsavesmarttags`:break;default:ce=!1}break;case`workbookoptions`:switch(s[3]){case`owcversion`:break;case`height`:break;
164case`width`:break;default:ce=!1}break;case`worksheetoptions`:switch(s[3]){case`visible`:if(s[0].slice(-2)!==`/>`)if(s[1]===`/`)switch(r.slice(O,s.index)){case`SheetHidden`:ee.Hidden=1;break;case`SheetVeryHidden`:ee.Hidden=2;break}else O=s.index+s[0].length;break;case`header`:f[`!margins`]||BY(f[`!margins`]={},`xlml`),isNaN(+pK(s[0]).Margin)||(f[`!margins`].header=+pK(s[0]).Margin);break;case`footer`:f[`!margins`]||BY(f[`!margins`]={},`xlml`),isNaN(+pK(s[0]).Margin)||(f[`!margins`].footer=+pK(s[0]).Margin);break;case`pagemargins`:var le=pK(s[0]);f[`!margins`]||BY(f[`!margins`]={},`xlml`),isNaN(+le.Top)||(f[`!margins`].top=+le.Top),isNaN(+le.Left)||(f[`!margins`].left=+le.Left),isNaN(+le.Right)||(f[`!margins`].right=+le.Right),isNaN(+le.Bottom)||(f[`!margins`].bottom=+le.Bottom);break;case`displayrighttoleft`:B.Views||=[],B.Views[0]||(B.Views[0]={}),B.Views[0].RTL=!0;break;case`freezepanes`:break;case`frozennosplit`:break;case`splithorizontal`:case`splitvertical`:break;case`donotdisplaygridlines`:break;case`activerow`:break;case`activecol`:break;case`toprowbottompane`:break;case`leftcolumnrightpane`:break;case`unsynced`:break;case`print`:break;case`printerrors`:break;case`panes`:break;case`scale`:break;case`pane`:break;case`number`:break;case`layout`:break;case`pagesetup`:break;case`selected`:break;case`protectobjects`:break;case`enableselection`:break;case`protectscenarios`:break;case`validprinterinfo`:break;case`horizontalresolution`:break;case`verticalresolution`:break;case`numberofcopies`:break;case`activepane`:break;case`toprowvisible`:break;case`leftcolumnvisible`:break;case`fittopage`:break;case`rangeselection`:break;case`papersizeindex`:break;case`pagelayoutzoom`:break;case`pagebreakzoom`:break;case`filteron`:break;case`fitwidth`:break;case`fitheight`:break;case`commentslayout`:break;case`zoom`:break;case`lefttoright`:break;case`gridlines`:break;case`allowsort`:break;case`allowfilter`:break;case`allowinsertrows`:break;case`allowdeleterows`:break;case`allowinsertcols`:break;case`allowdeletecols`:break;case`allowinserthyperlinks`:break;case`allowformatcells`:break;case`allowsizecols`:break;case`allowsizerows`:break;case`nosummaryrowsbelowdetail`:f[`!outline`]||(f[`!outline`]={}),f[`!outline`].above=!0;break;case`tabcolorindex`:break;case`donotdisplayheadings`:break;case`showpagelayoutzoom`:break;case`nosummarycolumnsrightdetail`:f[`!outline`]||(f[`!outline`]={}),f[`!outline`].left=!0;break;case`blackandwhite`:break;case`donotdisplayzeros`:break;case`displaypagebreak`:break;case`rowcolheadings`:break;case`donotdisplayoutline`:break;case`noorientation`:break;case`allowusepivottables`:break;case`zeroheight`:break;case`viewablerange`:break;case`selection`:break;case`protectcontents`:break;default:ce=!1}break;case`pivottable`:case`pivotcache`:switch(s[3]){case`immediateitemsondrop`:break;case`showpagemultipleitemlabel`:break;case`compactrowindent`:break;case`location`:break;case`pivotfield`:break;case`orientation`:break;case`layoutform`:break;case`layoutsubtotallocation`:break;case`layoutcompactrow`:break;case`position`:break;case`pivotitem`:break;case`datatype`:break;case`datafield`:break;case`sourcename`:break;case`parentfield`:break;case`ptlineitems`:break;case`ptlineitem`:break;case`countofsameitems`:break;case`item`:break;case`itemtype`:break;case`ptsource`:break;case`cacheindex`:break;case`consolidationreference`:break;case`filename`:break;case`reference`:break;case`nocolumngrand`:break;case`norowgrand`:break;case`blanklineafteritems`:break;case`hidden`:break;case`subtotal`:break;case`basefield`:break;case`mapchilditems`:break;case`function`:break;case`refreshonfileopen`:break;case`printsettitles`:break;case`mergelabels`:break;case`defaultversion`:break;case`refreshname`:break;case`refreshdate`:break;case`refreshdatecopy`:break;case`versionlastrefresh`:break;case`versionlastupdate`:break;case`versionupdateablemin`:break;case`versionrefreshablemin`:break;case`calculation`:break;default:ce=!1}break;case`pagebreaks`:switch(s[3]){case`colbreaks`:break;case`colbreak`:break;case`rowbreaks`:break;case`rowbreak`:break;case`colstart`:break;case`colend`:break;case`rowend`:break;default:ce=!1}break;case`autofilter`:switch(s[3]){case`autofiltercolumn`:break;case`autofiltercondition`:break;case`autofilterand`:break;case`autofilteror`:break;default:ce=!1}break;case`querytable`:switch(s[3]){case`id`:break;case`autoformatfont`:break;case`autoformatpattern`:break;case`querysource`:break;case`querytype`:break;case`enableredirections`:break;case`refreshedinxl9`:break;case`urlstring`:break;case`htmltables`:break;case`connection`:break;case`commandtext`:break;case`refreshinfo`:break;case`notitles`:break;case`nextid`:break;case`columninfo`:break;case`overwritecells`:break;case`donotpromptforfile`:break;case`textwizardsettings`:break;case`source`:break;case`number`:break;case`decimal`:break;case`thousandseparator`:break;case`trailingminusnumbers`:break;case`formatsettings`:break;case`fieldtype`:break;case`delimiters`:break;case`tab`:break;case`comma`:break;case`autoformatname`:break;case`versionlastedit`:break;case`versionlastrefresh`:break;default:ce=!1}break;case`datavalidation`:switch(s[3]){case`range`:break;case`type`:break;case`min`:break;case`max`:break;case`sort`:break;case`descending`:break;case`order`:break;case`casesensitive`:break;case`value`:break;case`errorstyle`:break;case`errormessage`:break;case`errortitle`:break;case`inputmessage`:break;case`inputtitle`:break;case`combohide`:break;case`inputhide`:break;case`condition`:break;case`qualifier`:break;case`useblank`:break;case`value1`:break;case`value2`:break;case`format`:break;case`cellrangelist`:break;default:ce=!1}break;case`sorting`:case`conditionalformatting`:switch(s[3]){case`range`:break;case`type`:break;case`min`:break;case`max`:break;case`sort`:break;case`descending`:break;case`order`:break;case`casesensitive`:break;case`value`:break;case`errorstyle`:break;case`errormessage`:break;case`errortitle`:break;case`cellrangelist`:break;case`inputmessage`:break;case`inputtitle`:break;case`combohide`:break;case`inputhide`:break;case`condition`:break;case`qualifier`:break;case`useblank`:break;case`value1`:break;case`value2`:break;case`format`:break;default:ce=!1}break;case`mapinfo`:case`schema`:case`data`:switch(s[3]){case`map`:break;case`entry`:break;case`range`:break;case`xpath`:break;case`field`:break;case`xsdtype`:break;case`filteron`:break;case`aggregate`:break;case`elementtype`:break;case`attributetype`:break;case`schema`:case`element`:case`complextype`:case`datatype`:case`all`:case`attribute`:case`extends`:break;case`row`:break;default:ce=!1}break;case`smarttags`:break;default:ce=!1}if(ce||s[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw`Unrecognized tag: `+s[3]+`|`+c.join(`|`);if(c[c.length-1][0]===`customdocumentproperties`){if(s[0].slice(-2)===`/>`)break;s[1]===`/`?zRe(D,V,k,r.slice(O,s.index)):(k=s,O=s.index+s[0].length);break}if(n.WTF)throw`Unrecognized tag: `+s[3]+`|`+c.join(`|`)}var ue={};return!n.bookSheets&&!n.bookProps&&(ue.Sheets=u),ue.SheetNames=d,ue.Workbook=B,ue.SSF=VG(tG),ue.Props=E,ue.Custprops=D,ue.bookType=`xlml`,ue}function eX(e,t){switch(OX(t||={}),t.type||`base64`){case`base64`:return $Y(PW(e),t);case`binary`:case`buffer`:case`file`:return $Y(e,t);case`array`:return $Y(VW(e),t)}}function GRe(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,`lpstr-ansi`),t.AnsiClipboardFormat=dMe(n),n.length-n.l<=4)return t;var r=n.read_shift(4);if(r==0||r>40||(n.l-=4,t.Reserved1=n.read_shift(0,`lpstr-ansi`),n.length-n.l<=4)||(r=n.read_shift(4),r!==1907505652)||(t.UnicodeClipboardFormat=fMe(n),r=n.read_shift(4),r==0||r>40))return t;n.l-=4,t.Reserved2=n.read_shift(0,`lpwstr`)}var KRe=[60,1084,2066,2165,2175];function qRe(e,t,n,r,i){var a=r,o=[],s=n.slice(n.l,n.l+a);if(i&&i.enc&&i.enc.insitu&&s.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:i.enc.insitu(s)}o.push(s),n.l+=a;for(var c=QK(n,n.l),l=oX[c],u=0;l!=null&&KRe.indexOf(c)>-1;)a=QK(n,n.l+2),u=n.l+4,c==2066?u+=4:(c==2165||c==2175)&&(u+=12),s=n.slice(u,n.l+4+a),o.push(s),n.l+=4+a,l=oX[c=QK(n,n.l)];var d=UW(o);rq(d,0);var f=0;d.lens=[];for(var p=0;p<o.length;++p)d.lens.push(f),f+=o[p].length;if(d.length<r)throw`XLS Record 0x`+e.toString(16)+` Truncated: `+d.length+` < `+r;return t.f(d,d.length,i)}
164function tX(e,t,n){if(e.t!==`z`&&e.XF){var r=0;try{r=e.z||e.XF.numFmtId||0,t.cellNF&&e.z==null&&(e.z=tG[r])}catch(e){if(t.WTF)throw e}if(!t||t.cellText!==!1)try{e.w=e.t===`e`?e.w||qq[e.v]:r===0||r==`General`?e.t===`n`?(e.v|0)===e.v?e.v.toString(10):oG(e.v):sG(e.v):EG(r,e.v,{date1904:!!n,dateNF:t&&t.dateNF})}catch(e){if(t.WTF)throw e}if(t.cellDates&&r&&e.t==`n`&&CG(tG[r]||String(r))){var i=iG(e.v+(n?1462:0));i&&(e.t=`d`,e.v=new Date(Date.UTC(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)))}}}function nX(e,t,n){return{v:e,ixfe:t,t:n}}function JRe(e,t){var n={opts:{}},r={};AW!=null&&t.dense==null&&(t.dense=AW);var i={};t.dense&&(i[`!data`]=[]);var a={},o={},s=null,c=[],l=``,u={},d,f=``,p,m,h,g,_={},v=[],y,b,x=[],S=[],C={Sheets:[],WBProps:{date1904:!1},Views:[{}]},w={},T=!1,E=function(e){return e<8?Kq[e]:e<64&&S[e-8]||Kq[e]},D=function(e,t){var n=e.XF.data;if(!(!n||!n.patternType||!t||!t.cellStyles)){e.s={},e.s.patternType=n.patternType;var r;(r=JJ(E(n.icvFore)))&&(e.s.fgColor={rgb:r}),(r=JJ(E(n.icvBack)))&&(e.s.bgColor={rgb:r})}},O=function(e,t,n){if(!(!T&&R>1)&&!(n.sheetRows&&e.r>=n.sheetRows)){if(n.cellStyles&&t.XF&&t.XF.data&&D(t,n),delete t.ixfe,delete t.XF,d=e,f=_q(e),(!o||!o.s||!o.e)&&(o={s:{r:0,c:0},e:{r:0,c:0}}),e.r<o.s.r&&(o.s.r=e.r),e.c<o.s.c&&(o.s.c=e.c),e.r+1>o.e.r&&(o.e.r=e.r+1),e.c+1>o.e.c&&(o.e.c=e.c+1),n.cellFormula&&t.f){for(var r=0;r<v.length;++r)if(!(v[r][0].s.c>e.c||v[r][0].s.r>e.r)&&!(v[r][0].e.c<e.c||v[r][0].e.r<e.r)){t.F=yq(v[r][0]),(v[r][0].s.c!=e.c||v[r][0].s.r!=e.r)&&delete t.f,t.f&&=``+jY(v[r][1],o,e,I,k);break}}n.dense?(i[`!data`][e.r]||(i[`!data`][e.r]=[]),i[`!data`][e.r][e.c]=t):i[f]=t}},k={enc:!1,sbcch:0,snames:[],sharedf:_,arrayf:v,rrtabid:[],lastuser:``,biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(k.password=t.password);var A,j=[],M=[],N=[],P=[],F=!1,I=[];I.SheetNames=k.snames,I.sharedf=k.sharedf,I.arrayf=k.arrayf,I.names=[],I.XTI=[];var L=0,R=0,z=0,B=[],ee=[],V;k.codepage=1200,SW(1200);for(var te=!1;e.l<e.length-1;){var ne=e.l,re=e.read_shift(2);if(re===0&&L===10)break;var ie=e.l===e.length?0:e.read_shift(2),ae=oX[re];if(R==0&&[9,521,1033,2057].indexOf(re)==-1)break;if(ae&&ae.f){if(t.bookSheets&&L===133&&re!==133)break;if(L=re,ae.r===2||ae.r==12){var oe=e.read_shift(2);if(ie-=2,!k.enc&&oe!==re&&((oe&255)<<8|oe>>8)!==re)throw Error(`rt mismatch: `+oe+`!=`+re);ae.r==12&&(e.l+=10,ie-=10)}var H={};if(H=re===10?ae.f(e,ie,k):qRe(re,ae,e,ie,k),R==0&&[9,521,1033,2057].indexOf(L)===-1)continue;switch(re){case 34:n.opts.Date1904=C.WBProps.date1904=H;break;case 134:n.opts.WriteProtect=!0;break;case 47:if(k.enc||(e.l=0),k.enc=H,!t.password)throw Error(`File is password-protected`);if(H.valid==null)throw Error(`Encryption scheme unsupported`);if(!H.valid)throw Error(`Password is incorrect`);break;case 92:k.lastuser=H;break;case 66:var se=Number(H);switch(se){case 21010:se=1200;break;case 32768:se=1e4;break;case 32769:se=1252}SW(k.codepage=se),te=!0;break;case 317:k.rrtabid=H;break;case 25:k.winlocked=H;break;case 439:n.opts.RefreshAll=H;break;case 12:n.opts.CalcCount=H;break;case 16:n.opts.CalcDelta=H;break;case 17:n.opts.CalcIter=H;break;case 13:n.opts.CalcMode=H;break;case 14:n.opts.CalcPrecision=H;break;case 95:n.opts.CalcSaveRecalc=H;break;case 15:k.CalcRefMode=H;break;case 2211:n.opts.FullCalc=H;break;case 129:H.fDialog&&(i[`!type`]=`dialog`),H.fBelow||((i[`!outline`]||(i[`!outline`]={})).above=!0),H.fRight||((i[`!outline`]||(i[`!outline`]={})).left=!0);break;case 67:case 579:case 1091:case 224:x.push(H);break;case 430:I.push([H]),I[I.length-1].XTI=[];break;case 35:case 547:I[I.length-1].push(H);break;case 24:case 536:V={Name:H.Name,Ref:jY(H.rgce,o,null,I,k)},H.itab>0&&(V.Sheet=H.itab-1),I.names.push(V),I[0]||(I[0]=[],I[0].XTI=[]),I[I.length-1].push(H),H.Name==`_xlnm._FilterDatabase`&&H.itab>0&&H.rgce&&H.rgce[0]&&H.rgce[0][0]&&H.rgce[0][0][0]==`PtgArea3d`&&(ee[H.itab-1]={ref:yq(H.rgce[0][0][1][2])});break;case 22:k.ExternCount=H;break;case 23:I.length==0&&(I[0]=[],I[0].XTI=[]),I[I.length-1].XTI=I[I.length-1].XTI.concat(H),I.XTI=I.XTI.concat(H);break;case 2196:if(k.biff<8)break;V!=null&&(V.Comment=H[1]);break;case 18:i[`!protect`]=H;break;case 19:H!==0&&k.WTF&&console.error(`Password verifier: `+H);break;case 133:a[k.biff==4?k.snames.length:H.pos]=H,k.snames.push(H.name);break;case 10:if(--R?!T:T)break;if(o.e){if(o.e.r>0&&o.e.c>0){if(o.e.r--,o.e.c--,i[`!ref`]=yq(o),t.sheetRows&&t.sheetRows<=o.e.r){var ce=o.e.r;o.e.r=t.sheetRows-1,i[`!fullref`]=i[`!ref`],i[`!ref`]=yq(o),o.e.r=ce}o.e.r++,o.e.c++}j.length>0&&(i[`!merges`]=j),M.length>0&&(i[`!objects`]=M),N.length>0&&(i[`!cols`]=N),P.length>0&&(i[`!rows`]=P),C.Sheets.push(w)}l===``?u=i:r[l]=i,i={},t.dense&&(i[`!data`]=[]);break;case 9:case 521:case 1033:case 2057:if(k.biff===8&&(k.biff={9:2,521:3,1033:4}[re]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[H.BIFFVer]||8),k.biffguess=H.BIFFVer==0,H.BIFFVer==0&&H.dt==4096&&(k.biff=5,te=!0,SW(k.codepage=28591)),k.biff==4&&H.dt&256&&(T=!0),k.biff==8&&H.BIFFVer==0&&H.dt==16&&(k.biff=2),R++&&!T)break;if(i={},t.dense&&(i[`!data`]=[]),k.biff<8&&!te&&(te=!0,SW(k.codepage=t.codepage||1252)),k.biff==4&&T)l=(a[k.snames.indexOf(l)+1]||{name:``}).name;else if(k.biff<5||H.BIFFVer==0&&H.dt==4096){l===``&&(l=`Sheet1`),o={s:{r:0,c:0},e:{r:0,c:0}};var le={pos:e.l-ie,name:l};a[le.pos]=le,k.snames.push(l)}else l=(a[ne]||{name:``}).name;H.dt==32&&(i[`!type`]=`chart`),H.dt==64&&(i[`!type`]=`macro`),j=[],M=[],k.arrayf=v=[],N=[],P=[],F=!1,w={Hidden:(a[ne]||{hs:0}).hs,name:l};break;case 515:case 3:case 2:i[`!type`]==`chart`&&(t.dense?(i[`!data`][H.r]||[])[H.c]:i[hq(H.c)+pq(H.r)])&&++H.c,y={ixfe:H.ixfe,XF:x[H.ixfe]||{},v:H.val,t:`n`},z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O({c:H.c,r:H.r},y,t);break;case 5:case 517:y={ixfe:H.ixfe,XF:x[H.ixfe],v:H.val,t:H.t},z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O({c:H.c,r:H.r},y,t);break;case 638:y={ixfe:H.ixfe,XF:x[H.ixfe],v:H.rknum,t:`n`},z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O({c:H.c,r:H.r},y,t);break;case 189:for(var ue=H.c;ue<=H.C;++ue){var de=H.rkrec[ue-H.c][0];y={ixfe:de,XF:x[de],v:H.rkrec[ue-H.c][1],t:`n`},z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O({c:ue,r:H.r},y,t)}break;case 6:case 518:case 1030:if(H.val==`String`){s=H;break}if(y=nX(H.val,H.cell.ixfe,H.tt),y.XF=x[y.ixfe],t.cellFormula){var fe=H.formula;if(fe&&fe[0]&&fe[0][0]&&fe[0][0][0]==`PtgExp`){var pe=fe[0][0][1][0],me=fe[0][0][1][1],he=_q({r:pe,c:me});_[he]?y.f=``+jY(H.formula,o,H.cell,I,k):y.F=((t.dense?(i[`!data`][pe]||[])[me]:i[he])||{}).F}else y.f=``+jY(H.formula,o,H.cell,I,k)}z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O(H.cell,y,t),s=H;break;case 7:case 519:if(s)s.val=H,y=nX(H,s.cell.ixfe,`s`),y.XF=x[y.ixfe],t.cellFormula&&(y.f=``+jY(s.formula,o,s.cell,I,k)),z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O(s.cell,y,t),s=null;else throw Error(`String record expects Formula`);break;case 33:case 545:v.push(H);var ge=_q(H[0].s);if(p=t.dense?(i[`!data`][H[0].s.r]||[])[H[0].s.c]:i[ge],t.cellFormula&&p){if(!s||!ge||!p)break;p.f=``+jY(H[1],o,H[0],I,k),p.F=yq(H[0])}break;case 1212:if(!t.cellFormula)break;if(f){if(!s)break;_[_q(s.cell)]=H[0],p=t.dense?(i[`!data`][s.cell.r]||[])[s.cell.c]:i[_q(s.cell)],(p||{}).f=``+jY(H[0],o,d,I,k)}break;case 253:y=nX(c[H.isst].t,H.ixfe,`s`),c[H.isst].h&&(y.h=c[H.isst].h),y.XF=x[y.ixfe],z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O({c:H.c,r:H.r},y,t);break;case 513:t.sheetStubs&&(y={ixfe:H.ixfe,XF:x[H.ixfe],t:`z`},z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O({c:H.c,r:H.r},y,t));break;case 190:if(t.sheetStubs)for(var _e=H.c;_e<=H.C;
164++_e){var ve=H.ixfe[_e-H.c];y={ixfe:ve,XF:x[ve],t:`z`},z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O({c:_e,r:H.r},y,t)}break;case 214:case 516:case 4:y=nX(H.val,H.ixfe,`s`),y.XF=x[y.ixfe],z>0&&(y.z=y.XF&&y.XF.numFmtId&&B[y.XF.numFmtId]||B[y.ixfe>>8&63]),tX(y,t,n.opts.Date1904),O({c:H.c,r:H.r},y,t);break;case 0:case 512:R===1&&(o=H);break;case 252:c=H;break;case 1054:if(k.biff>=3&&k.biff<=4){B[z++]=H[1];for(var ye=0;ye<z+163&&tG[ye]!=H[1];++ye);ye>=163&&kG(H[1],z+163)}else kG(H[1],H[0]);break;case 30:B[z++]=H;for(var be=0;be<z+163&&tG[be]!=H;++be);be>=163&&kG(H,z+163);break;case 229:j=j.concat(H);break;case 93:M[H.cmo[0]]=k.lastobj=H;break;case 438:k.lastobj.TxO=H;break;case 127:k.lastobj.ImData=H;break;case 440:for(g=H[0].s.r;g<=H[0].e.r;++g)for(h=H[0].s.c;h<=H[0].e.c;++h)p=t.dense?(i[`!data`][g]||[])[h]:i[_q({c:h,r:g})],p&&(p.l=H[1]);break;case 2048:for(g=H[0].s.r;g<=H[0].e.r;++g)for(h=H[0].s.c;h<=H[0].e.c;++h)p=t.dense?(i[`!data`][g]||[])[h]:i[_q({c:h,r:g})],p&&p.l&&(p.l.Tooltip=H[1]);break;case 28:if(p=t.dense?(i[`!data`][H[0].r]||[])[H[0].c]:i[_q(H[0])],p||(t.dense?(i[`!data`][H[0].r]||(i[`!data`][H[0].r]=[]),p=i[`!data`][H[0].r][H[0].c]={t:`z`}):p=i[_q(H[0])]={t:`z`},o.e.r=Math.max(o.e.r,H[0].r),o.s.r=Math.min(o.s.r,H[0].r),o.e.c=Math.max(o.e.c,H[0].c),o.s.c=Math.min(o.s.c,H[0].c)),p.c||(p.c=[]),k.biff<=5&&k.biff>=2)m={a:`SheetJ5`,t:H[1]};else{var xe=M[H[2]];m={a:H[1],t:xe.TxO.t},H[3]!=null&&!(H[3]&2)&&(p.c.hidden=!0)}p.c.push(m);break;case 2173:yFe(x[H.ixfe],H.ext);break;case 125:if(!k.cellStyles)break;for(;H.e>=H.s;)N[H.e--]={width:H.w/256,level:H.level||0,hidden:!!(H.flags&1)},F||(F=!0,nY(H.w/256)),rY(N[H.e+1]);break;case 520:var Se={};H.level!=null&&(P[H.r]=Se,Se.level=H.level),H.hidden&&(P[H.r]=Se,Se.hidden=!0),H.hpt&&(P[H.r]=Se,Se.hpt=H.hpt,Se.hpx=oY(H.hpt));break;case 38:case 39:case 40:case 41:i[`!margins`]||BY(i[`!margins`]={}),i[`!margins`][{38:`left`,39:`right`,40:`top`,41:`bottom`}[re]]=H;break;case 161:i[`!margins`]||BY(i[`!margins`]={}),i[`!margins`].header=H.header,i[`!margins`].footer=H.footer;break;case 574:H.RTL&&(C.Views[0].RTL=!0);break;case 146:S=H;break;case 2198:A=H;break;case 140:b=H;break;
164case 442:l?w.CodeName=H||w.name:C.WBProps.CodeName=H||`ThisWorkbook`}}else ae||console.error(`Missing Info for XLS Record 0x`+re.toString(16)),e.l+=ie}return n.SheetNames=NG(a).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return a[e].name}),t.bookSheets||(n.Sheets=r),!n.SheetNames.length&&u[`!ref`]?(n.SheetNames.push(`Sheet1`),n.Sheets&&(n.Sheets.Sheet1=u)):n.Preamble=u,n.Sheets&&ee.forEach(function(e,t){n.Sheets[n.SheetNames[t]][`!autofilter`]=e}),n.Strings=c,n.SSF=VG(tG),k.enc&&(n.Encryption=k.enc),A&&(n.Themes=A),n.Metadata={},b!==void 0&&(n.Metadata.Country=b),I.names.length>0&&(C.Names=I.names),n.Workbook=C,n}var rX={SI:`e0859ff2f94f6810ab9108002b27b3d9`,DSI:`02d5cdd59c2e1b10939708002b2cf9ae`,UDI:`05d5cdd59c2e1b10939708002b2cf9ae`};function YRe(e,t,n){var r=jG.find(e,`/!DocumentSummaryInformation`);if(r&&r.size>0)try{var i=dJ(r,vMe,rX.DSI);for(var a in i)t[a]=i[a]}catch(e){if(n.WTF)throw e}var o=jG.find(e,`/!SummaryInformation`);if(o&&o.size>0)try{var s=dJ(o,yMe,rX.SI);for(var c in s)t[c]??(t[c]=s[c])}catch(e){if(n.WTF)throw e}t.HeadingPairs&&t.TitlesOfParts&&(nJ(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}function iX(e,t){t||={},OX(t),CW(),t.codepage&&xW(t.codepage);var n,r;if(e.FullPaths){if(jG.find(e,`/encryption`))throw Error(`File is password-protected`);n=jG.find(e,`!CompObj`),r=jG.find(e,`/Workbook`)||jG.find(e,`/Book`)}else{switch(t.type){case`base64`:e=BW(PW(e));break;case`binary`:e=BW(e);break;case`buffer`:break;case`array`:Array.isArray(e)||(e=Array.prototype.slice.call(e))}rq(e,0),r={content:e}}var i,a;if(n&&GRe(n),t.bookProps&&!t.bookSheets)i={};else{var o=FW?`buffer`:`array`;if(r&&r.content)i=JRe(r.content,t);else if((a=jG.find(e,`PerfectOffice_MAIN`))&&a.content)i=BJ.to_workbook(a.content,(t.type=o,t));else if((a=jG.find(e,`NativeContent_MAIN`))&&a.content)i=BJ.to_workbook(a.content,(t.type=o,t));else if((a=jG.find(e,`MN0`))&&a.content)throw Error(`Unsupported Works 4 for Mac file`);else throw Error(`Cannot find Workbook stream`);t.bookVBA&&e.FullPaths&&jG.find(e,`/_VBA_PROJECT_CUR/VBA/dir`)&&(i.vbaraw=RFe(e))}var s={};return e.FullPaths&&YRe(e,s,t),i.Props=i.Custprops=s,t.bookFiles&&(i.cfb=e),i}var aX={0:{f:ALe},1:{f:PLe},2:{f:ULe},3:{f:RLe},4:{f:ILe},5:{f:HLe},6:{f:KLe},7:{f:BLe},8:{f:ZLe},9:{f:XLe},10:{f:JLe},11:{f:YLe},12:{f:FLe},13:{f:WLe},14:{f:zLe},15:{f:LLe},16:{f:WY},17:{f:qLe},18:{f:VLe},19:{f:Dq},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:wRe},40:{},42:{},43:{f:rFe},44:{f:nFe},45:{f:iFe},46:{f:oFe},47:{f:aFe},48:{},49:{f:iMe},50:{},51:{f:xFe},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:LJ},62:{f:GLe},63:{f:EFe},64:{f:oRe},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:iq,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:aRe},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:NLe},148:{f:jLe,p:16},151:{f:eRe},152:{},153:{f:SRe},154:{},155:{},156:{f:xRe},157:{},158:{},159:{T:1,f:SPe},160:{T:-1},161:{T:1,f:Pq},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:QLe},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1}
vendor: 6,552 bytes, line 164
164,322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:bFe},336:{T:-1},337:{f:SFe,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:jq},357:{},358:{},359:{},360:{T:1},361:{},362:{f:IJ},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:tRe},427:{f:nRe},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:iRe},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:MLe},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:$Le},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:jq},551:{f:Aq},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:FFe},633:{T:1},634:{T:-1},635:{T:1,f:PFe},636:{T:-1},637:{f:oMe},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:fRe},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:sRe},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:``}},oX={6:{f:MY},10:{f:fJ},12:{f:mJ},13:{f:mJ},14:{f:pJ},15:{f:pJ},16:{f:Fq},17:{f:pJ},18:{f:pJ},19:{f:mJ},20:{f:NJ},21:{f:NJ},23:{f:IJ},24:{f:FJ},25:{f:pJ},26:{},27:{},28:{f:LNe},29:{},34:{f:pJ},35:{f:PJ},38:{f:Fq},39:{f:Fq},40:{f:Fq},41:{f:Fq},42:{f:pJ},43:{f:pJ},47:{f:VPe},49:{f:mNe},51:{f:mJ},60:{},61:{f:dNe},64:{f:pJ},65:{f:pNe},66:{f:mJ},77:{},80:{},81:{},82:{},85:{f:mJ},89:{},90:{},91:{},92:{f:rNe},93:{f:zNe},94:{},95:{f:pJ},96:{},97:{},99:{f:pJ},125:{f:LJ},128:{f:DNe},129:{f:iNe},130:{f:mJ},131:{f:pJ},132:{f:pJ},133:{f:aNe},134:{},140:{f:GNe},141:{f:mJ},144:{},146:{f:qNe},151:{},152:{}
164,153:{},154:{},155:{},156:{f:mJ},157:{},158:{},160:{f:QNe},161:{f:YNe},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:bNe},190:{f:xNe},193:{f:fJ},197:{},198:{},199:{},200:{},201:{},202:{f:pJ},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:mJ},220:{},221:{f:pJ},222:{},224:{f:CNe},225:{f:nNe},226:{f:fJ},227:{},229:{f:RNe},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:oNe},253:{f:hNe},255:{f:sNe},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:hJ},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:pJ},353:{f:fJ},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:ANe},431:{f:pJ},432:{},433:{},434:{},437:{},438:{f:HNe},439:{f:pJ},440:{f:UNe},441:{},442:{f:yJ},443:{},444:{f:mJ},445:{},446:{},448:{f:fJ},449:{f:uNe,r:2},450:{f:fJ},512:{f:MJ},513:{f:ZNe},515:{f:kNe},516:{f:gNe},517:{f:ONe},519:{f:$Ne},520:{f:cNe},523:{},545:{f:PNe},549:{f:jJ},566:{},574:{f:fNe},638:{f:yNe},659:{},1048:{},1054:{f:_Ne},1084:{},1212:{f:NNe},2048:{f:WNe},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:AJ},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:fJ},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:JNe,r:12},2173:{f:vFe,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:pJ,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:MNe,r:12},2197:{},2198:{f:fFe,r:12},2199:{},2200:{},2201:{},2202:{f:FNe,r:12},2203:{f:fJ},2204:{},2205:{},2206:{},2207:{},2211:{f:lNe},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:mJ},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:XNe},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:KNe},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:MJ},1:{},2:{f:rPe},3:{f:nPe},4:{f:tPe},5:{f:aPe},7:{f:iPe},8:{},9:{f:AJ},11:{},22:{f:mJ},30:{f:vNe},31:{},32:{},33:{f:PNe},36:{},37:{f:jJ},50:{f:oPe},62:{},52:{},67:{f:wNe},68:{f:mJ},69:{},86:{},126:{},127:{f:ePe},135:{},136:{},137:{},143:{f:cPe},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:sPe},223:{},234:{},354:{},421:{},518:{f:MY},521:{f:AJ},536:{f:FJ},547:{f:PJ},561:{},579:{f:TNe},1030:{f:MY},1033:{f:AJ},1091:{f:ENe},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function sX(e,t,n,r){var i=t;if(!isNaN(i)){var a=r||(n||[]).length||0,o=e.next(4);o.write_shift(2,i),o.write_shift(2,a),a>0&&XK(n)&&e.push(n)}}function cX(e,t){var n=t||{},r=n.dense==null?AW:n.dense,i={};r&&(i[`!data`]=[]),e=YG(e,`<!--`,`-->`);var a=e.match(/<table/i);if(!a)throw Error(`Invalid HTML: could not find <table>`);var o=e.match(/<\/table/i),s=a.index,c=o&&o.index||e.length,l=Cje(e.slice(s,c),/(:?<tr[^<>]*>)/i,`<tr>`),u=-1,d=0,f=0,p=0,m={s:{r:1e7,c:1e7},e:{r:0,c:0}},h=[];for(s=0;s<l.length;++s){var g=l[s].trim(),_=g.slice(0,3).toLowerCase();if(_==`<tr`){if(++u,n.sheetRows&&n.sheetRows<=u){--u;break}d=0;continue}if(_==`<td`||_==`<th`){var v=g.split(/<\/t[dh]>/i);for(c=0;c<v.length;++c){var y=v[c].trim();if(y.match(/<t[dh]/i)){for(var b=y,x=0;b.charAt(0)==`<`&&(x=b.indexOf(`>`))>-1;)b=b.slice(x+1);for(var S=0;S<h.length;++S){var C=h[S];C.s.c==d&&C.s.r<u&&u<=C.e.r&&(d=C.e.c+1,S=-1)}var w=pK(y.slice(0,y.indexOf(`>`)));p=w.colspan?+w.colspan:1,((f=+w.rowspan)>1||p>1)&&h.push({s:{r:u,c:d},e:{r:u+(f||1)-1,c:d+p-1}});var T=w.t||w[`data-t`]||``;if(!b.length){d+=p;continue}if(b=EK(b),m.s.r>u&&(m.s.r=u),m.e.r<u&&(m.e.r=u),m.s.c>d&&(m.s.c=d),m.e.c<d&&(m.e.c=d),!b.length){d+=p;continue}var E={t:`s`,v:b};n.raw||!b.trim().length||T==`s`||(b===`TRUE`?E={t:`b`,v:!0}:b===`FALSE`?E={t:`b`,v:!1}:isNaN(UG(b))?isNaN(WG(b).getDate())?b.charCodeAt(0)==35&&Jq[b]!=null&&(E.t=`e`,E.w=b,E.v=Jq[b]):(E={t:`d`,v:zG(b)},n.UTC===!1&&(E.v=GG(E.v)),n.cellDates||(E={t:`n`,v:IG(E.v)}),E.z=n.dateNF||tG[14]):E={t:`n`,v:UG(b)}),E.cellText!==!1&&(E.w=b),r?(i[`!data`][u]||(i[`!data`][u]=[]),i[`!data`][u][d]=E):i[_q({r:u,c:d})]=E,d+=p}}}}return i[`!ref`]=yq(m),h.length&&(i[`!merges`]=h),i}function XRe(e,t,n,r){for(var i=e[`!merges`]||[],a=[],o={},s=e[`!data`]!=null,c=t.s.c;c<=t.e.c;++c){for(var l=0,u=0,d=0;d<i.length;++d)if(!(i[d].s.r>n||i[d].s.c>c)&&!(i[d].e.r<n||i[d].e.c<c)){if(i[d].s.r<n||i[d].s.c<c){l=-1;break}l=i[d].e.r-i[d].s.r+1,u=i[d].e.c-i[d].s.c+1;break}
vendor: 4,178 bytes, lines 164-165
164if(!(l<0)){var f=hq(c)+pq(n),p=s?(e[`!data`][n]||[])[c]:e[f];p&&p.t==`n`&&p.v!=null&&!isFinite(p.v)&&(p=isNaN(p.v)?{t:`e`,v:36,w:qq[36]}:{t:`e`,v:7,w:qq[7]});var m=p&&p.v!=null&&(p.h||_K(p.w||(Sq(p),p.w)||``))||``;o={},l>1&&(o.rowspan=l),u>1&&(o.colspan=u),r.editable?m=`<span contenteditable="true">`+m+`</span>`:p&&(o[`data-t`]=p&&p.t||`z`,p.v!=null&&(o[`data-v`]=_K(p.v instanceof Date?p.v.toISOString():p.v)),p.z!=null&&(o[`data-z`]=p.z),p.l&&(p.l.Target||`#`).charAt(0)!=`#`&&(m=`<a href="`+_K(p.l.Target)+`">`+m+`</a>`)),o.id=(r.id||`sjs`)+`-`+f,a.push(zje(`td`,m,o))}}return`<tr>`+a.join(``)+`</tr>`}var ZRe=`<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>`,QRe=`</body></html>`;function $Re(e,t){var n=Eje(e,`table`);if(!n||n.length==0)throw Error(`Invalid HTML: could not find <table>`);if(n.length==1){var r=Cq(cX(n[0],t),t);return r.bookType=`html`,r}var i=zX();return n.forEach(function(e,n){BX(i,cX(e,t),`Sheet`+(n+1))}),i.bookType=`html`,i}function eze(e,t,n){return[].join(``)+`<table`+(n&&n.id?` id="`+n.id+`"`:``)+`>`}function tze(e,t){var n=t||{},r=n.header==null?ZRe:n.header,i=n.footer==null?QRe:n.footer,a=[r],o=vq(e[`!ref`]||`A1`);if(a.push(eze(e,o,n)),e[`!ref`])for(var s=o.s.r;s<=o.e.r;++s)a.push(XRe(e,o,s,n));return a.push(`</table>`+i),a.join(``)}function lX(e,t,n){var r=t.rows;if(!r)throw`Unsupported origin when `+t.tagName+` is not a TABLE`;var i=n||{},a=e[`!data`]!=null,o=0,s=0;if(i.origin!=null)if(typeof i.origin==`number`)o=i.origin;else{var c=typeof i.origin==`string`?gq(i.origin):i.origin;o=c.r,s=c.c}var l=Math.min(i.sheetRows||1e7,r.length),u={s:{r:0,c:0},e:{r:o,c:s}};if(e[`!ref`]){var d=vq(e[`!ref`]);u.s.r=Math.min(u.s.r,d.s.r),u.s.c=Math.min(u.s.c,d.s.c),u.e.r=Math.max(u.e.r,d.e.r),u.e.c=Math.max(u.e.c,d.e.c),o==-1&&(u.e.r=o=d.e.r+1)}var f=[],p=0,m=e[`!rows`]||=[],h=0,g=0,_=0,v=0,y=0,b=0;for(e[`!cols`]||=[];h<r.length&&g<l;++h){var x=r[h];if(dX(x)){if(i.display)continue;m[g]={hidden:!0}}var S=x.cells;for(_=v=0;_<S.length;++_){var C=S[_];if(!(i.display&&dX(C))){var w=C.hasAttribute(`data-v`)?C.getAttribute(`data-v`):C.hasAttribute(`v`)?C.getAttribute(`v`):EK(C.innerHTML),T=C.getAttribute(`data-z`)||C.getAttribute(`z`);for(p=0;p<f.length;++p){var E=f[p];E.s.c==v+s&&E.s.r<g+o&&g+o<=E.e.r&&(v=E.e.c+1-s,p=-1)}b=+C.getAttribute(`colspan`)||1,((y=+C.getAttribute(`rowspan`)||1)>1||b>1)&&f.push({s:{r:g+o,c:v+s},e:{r:g+o+(y||1)-1,c:v+s+(b||1)-1}});var D={t:`s`,v:w},O=C.getAttribute(`data-t`)||C.getAttribute(`t`)||``;w!=null&&(w.length==0?D.t=O||`z`:i.raw||w.trim().length==0||O==`s`||(O==`e`&&qq[+w]?D={t:`e`,v:+w,w:qq[+w]}:w===`TRUE`?D={t:`b`,v:!0}:w===`FALSE`?D={t:`b`,v:!1}:isNaN(UG(w))?isNaN(WG(w).getDate())?w.charCodeAt(0)==35&&Jq[w]!=null&&(D={t:`e`,v:Jq[w],w}):(D={t:`d`,v:zG(w)},i.UTC&&(D.v=KG(D.v)),i.cellDates||(D={t:`n`,v:IG(D.v)}),D.z=i.dateNF||tG[14]):D={t:`n`,v:UG(w)})),D.z===void 0&&T!=null&&(D.z=T);var k=``,A=C.getElementsByTagName(`A`);if(A&&A.length)for(var j=0;j<A.length&&!(A[j].hasAttribute(`href`)&&(k=A[j].getAttribute(`href`),k.charAt(0)!=`#`));++j);k&&k.charAt(0)!=`#`&&k.slice(0,11).toLowerCase()!=`javascript:`&&(D.l={Target:k}),a?(e[`!data`][g+o]||(e[`!data`][g+o]=[]),e[`!data`][g+o][v+s]=D):e[_q({c:v+s,r:g+o})]=D,u.e.c<v+s&&(u.e.c=v+s),v+=b}}++g}return f.length&&(e[`!merges`]=(e[`!merges`]||[]).concat(f)),u.e.r=Math.max(u.e.r,g-1+o),e[`!ref`]=yq(u),g>=l&&(e[`!fullref`]=yq((u.e.r=r.length-h+g-1+o,u))),e}function uX(e,t){var n=t||{},r={};return n.dense&&(r[`!data`]=[]),lX(r,e,t)}function nze(e,t){return Cq(uX(e,t),t)}function dX(e){var t=``,n=rze(e);return n&&(t=n(e).getPropertyValue(`display`)),t||=e.style&&e.style.display,t===`none`}function rze(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==`function`?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle==`function`?getComputedStyle:null}function ize(e){return[gK(e.replace(/[\t\r\n]/g,` `).trim().replace(/ +/g,` `).replace(/<text:s\/>/g,` `).replace(/<text:s text:c="(\d+)"\/>/g,function(e,t){return Array(parseInt(t,10)+1).join(` `)}).replace(/<text:tab[^<>]*\/>/g,` `).replace(/<text:line-break\/>/g,` 165`).replace(/<[^<>]*>/g,``))]}
165function fX(e,t,n){var r=n||{},i=OK(e);kK.lastIndex=0,i=qG(YG(i,`<!--`,`-->`));for(var a,o,s=``,c=``,l,u=0,d=-1,f=``;a=kK.exec(i);)switch(a[3]=a[3].replace(/_[\s\S]*$/,``)){case`number-style`:case`currency-style`:case`percentage-style`:case`date-style`:case`time-style`:case`text-style`:a[1]===`/`?(o[`truncate-on-overflow`]==`false`&&(s.match(/h/)?s=s.replace(/h+/,`[$&]`):s.match(/m/)?s=s.replace(/m+/,`[$&]`):s.match(/s/)&&(s=s.replace(/s+/,`[$&]`))),r[o.name]=s,s=``):a[0].charAt(a[0].length-2)!==`/`&&(s=``,o=pK(a[0],!1));break;case`boolean-style`:a[1]===`/`?(r[o.name]=`General`,s=``):a[0].charAt(a[0].length-2)!==`/`&&(s=``,o=pK(a[0],!1));break;case`boolean`:s+=`General`;break;case`text`:a[1]===`/`?(f=i.slice(d,kK.lastIndex-a[0].length),f==`%`&&o[0]==`<number:percentage-style`?s+=`%`:s+=`"`+f.replace(/"/g,`""`)+`"`):a[0].charAt(a[0].length-2)!==`/`&&(d=kK.lastIndex);break;case`day`:switch(l=pK(a[0],!1),l.style){case`short`:s+=`d`;break;case`long`:s+=`dd`;break;default:s+=`dd`}break;case`day-of-week`:switch(l=pK(a[0],!1),l.style){case`short`:s+=`ddd`;break;case`long`:s+=`dddd`;break;default:s+=`ddd`}break;case`era`:switch(l=pK(a[0],!1),l.style){case`short`:s+=`ee`;break;case`long`:s+=`eeee`;break;default:s+=`eeee`}break;case`hours`:switch(l=pK(a[0],!1),l.style){case`short`:s+=`h`;break;case`long`:s+=`hh`;break;default:s+=`hh`}break;case`minutes`:switch(l=pK(a[0],!1),l.style){case`short`:s+=`m`;break;case`long`:s+=`mm`;break;default:s+=`mm`}break;case`month`:switch(l=pK(a[0],!1),l.textual&&(s+=`mm`),l.style){case`short`:s+=`m`;break;case`long`:s+=`mm`;break;default:s+=`m`}break;case`seconds`:switch(l=pK(a[0],!1),l.style){case`short`:s+=`s`;break;case`long`:s+=`ss`;break;default:s+=`ss`}l[`decimal-places`]&&(s+=`.`+HG(`0`,+l[`decimal-places`]));break;case`year`:switch(l=pK(a[0],!1),l.style){case`short`:s+=`yy`;break;case`long`:s+=`yyyy`;break;default:s+=`yy`}break;case`am-pm`:s+=`AM/PM`;break;case`week-of-year`:case`quarter`:console.error(`Excel does not support ODS format token `+a[3]);break;case`fill-character`:a[1]===`/`?(f=i.slice(d,kK.lastIndex-a[0].length),s+=`"`+f.replace(/"/g,`""`)+`"*`):a[0].charAt(a[0].length-2)!==`/`&&(d=kK.lastIndex);break;case`scientific-number`:l=pK(a[0],!1),s+=`0.`+HG(`0`,+l[`min-decimal-places`]||+l[`decimal-places`]||2)+HG(`?`,l[`decimal-places`]-+l[`min-decimal-places`]||0)+`E`+(yK(l[`forced-exponent-sign`])?`+`:``)+HG(`0`,+l[`min-exponent-digits`]||2);break;case`fraction`:l=pK(a[0],!1),+l[`min-integer-digits`]?s+=HG(`0`,+l[`min-integer-digits`]):s+=`#`,s+=` `,s+=HG(`?`,+l[`min-numerator-digits`]||1),s+=`/`,+l[`denominator-value`]?s+=l[`denominator-value`]:s+=HG(`?`,+l[`min-denominator-digits`]||1);break;case`currency-symbol`:a[1]===`/`?s+=`"`+i.slice(d,kK.lastIndex-a[0].length).replace(/"/g,`""`)+`"`:a[0].charAt(a[0].length-2)===`/`?s+=`$`:d=kK.lastIndex;break;case`text-properties`:switch(l=pK(a[0],!1),(l.color||``).toLowerCase().replace(`#`,``)){case`ff0000`:case`red`:s=`[Red]`+s}break;case`text-content`:s+=`@`;break;case`map`:l=pK(a[0],!1),gK(l.condition)==`value()>=0`?s=r[l[`apply-style-name`]]+`;`+s:console.error(`ODS number format may be incorrect: `+l.condition);break;case`number`:if(a[1]===`/`)break;l=pK(a[0],!1),c=``,c+=HG(`0`,+l[`min-integer-digits`]||1),yK(l.grouping)&&(c=cG(HG(`#`,Math.max(0,4-c.length))+c)),(+l[`min-decimal-places`]||+l[`decimal-places`])&&(c+=`.`),+l[`min-decimal-places`]&&(c+=HG(`0`,+l[`min-decimal-places`]||1)),l[`decimal-places`]-(+l[`min-decimal-places`]||0)&&(c+=HG(`0`,l[`decimal-places`]-(+l[`min-decimal-places`]||0))),s+=c;break;case`embedded-text`:a[1]===`/`?u==0?s+=`"`+i.slice(d,kK.lastIndex-a[0].length).replace(/"/g,`""`)+`"`:s=s.slice(0,u)+`"`+i.slice(d,kK.lastIndex-a[0].length).replace(/"/g,`""`)+`"`+s.slice(u):a[0].charAt(a[0].length-2)!==`/`&&(d=kK.lastIndex,u=-+pK(a[0],!1).position||0)}return r}function pX(e,t,n){var r=t||{};AW!=null&&r.dense==null&&(r.dense=AW);var i=OK(e),a=[],o,s,c,l=``,u=0,d,f,p={},m=[],h={};r.dense&&(h[`!data`]=[]);var g,_,v={value:``},y={},b=``,x=0,S,C=``,w=0,T=[],E=[],D=-1,O=-1,k={s:{r:1e6,c:1e7},e:{r:0,c:0}},A=0,j=n||{},M={},N=[],P={},F=0,I=0,L=[],R=1,z=1,B=[],ee={Names:[],WBProps:{}},V={},te=[``,``],ne=[],re={}
165,ie=``,ae=0,oe=!1,H=!1,se=0;for(kK.lastIndex=0,i=qG(YG(i,`<!--`,`-->`));g=kK.exec(i);)switch(g[3]=g[3].replace(/_[\s\S]*$/,``)){case`table`:case`å·¥ä½è¡¨`:g[1]===`/`?(k.e.c>=k.s.c&&k.e.r>=k.s.r?h[`!ref`]=yq(k):h[`!ref`]=`A1:A1`,r.sheetRows>0&&r.sheetRows<=k.e.r&&(h[`!fullref`]=h[`!ref`],k.e.r=r.sheetRows-1,h[`!ref`]=yq(k)),N.length&&(h[`!merges`]=N),L.length&&(h[`!rows`]=L),d.name=d.åç§°||d.name,typeof JSON<`u`&&JSON.stringify(d),m.push(d.name),p[d.name]=h,H=!1):g[0].charAt(g[0].length-2)!==`/`&&(d=pK(g[0],!1),D=O=-1,k.s.r=k.s.c=1e7,k.e.r=k.e.c=0,h={},r.dense&&(h[`!data`]=[]),N=[],L=[],H=!0);break;case`table-row-group`:g[1]===`/`?--A:++A;break;case`table-row`:case`è¡`:if(g[1]===`/`){D+=R,R=1;break}if(f=pK(g[0],!1),f.è¡å·?D=f.è¡å·-1:D==-1&&(D=0),R=+f[`number-rows-repeated`]||1,R<10)for(se=0;se<R;++se)A>0&&(L[D+se]={level:A});O=-1;break;case`covered-table-cell`:if(g[1]!==`/`)if(++O,v=pK(g[0],!1),z=parseInt(v[`number-columns-repeated`]||`1`,10)||1,r.sheetStubs){for(;z-->0;)r.dense?(h[`!data`][D]||(h[`!data`][D]=[]),h[`!data`][D][O]={t:`z`}):h[_q({r:D,c:O})]={t:`z`},++O;--O}else O+=z-1;b=``,T=[];break;case`table-cell`:case`æ°æ®`:if(g[0].charAt(g[0].length-2)===`/`)++O,v=pK(g[0],!1),z=parseInt(v[`number-columns-repeated`]||`1`,10)||1,_={t:`z`,v:null},v.formula&&r.cellFormula!=0&&(_.f=IY(gK(v.formula))),v[`style-name`]&&M[v[`style-name`]]&&(_.z=M[v[`style-name`]]),(v.æ°æ®ç±»å||v[`value-type`])==`string`&&(_.t=`s`,_.v=gK(v[`string-value`]||``),r.dense?(h[`!data`][D]||(h[`!data`][D]=[]),h[`!data`][D][O]=_):h[hq(O)+pq(D)]=_),O+=z-1;else if(g[1]!==`/`){++O,b=C=``,x=w=0,T=[],E=[],z=1;var ce=R?D+R-1:D;if(O>k.e.c&&(k.e.c=O),O<k.s.c&&(k.s.c=O),D<k.s.r&&(k.s.r=D),ce>k.e.r&&(k.e.r=ce),v=pK(g[0],!1),y=jje(g[0],!0),ne=[],re={},_={t:v.æ°æ®ç±»å||v[`value-type`],v:null},v[`style-name`]&&M[v[`style-name`]]&&(_.z=M[v[`style-name`]]),r.cellFormula)if(v.formula&&(v.formula=gK(v.formula)),v[`number-matrix-columns-spanned`]&&v[`number-matrix-rows-spanned`]&&(F=parseInt(v[`number-matrix-rows-spanned`],10)||0,I=parseInt(v[`number-matrix-columns-spanned`],10)||0,P={s:{r:D,c:O},e:{r:D+F-1,c:O+I-1}},_.F=yq(P),B.push([P,_.F])),v.formula)_.f=IY(v.formula);else for(se=0;se<B.length;++se)D>=B[se][0].s.r&&D<=B[se][0].e.r&&O>=B[se][0].s.c&&O<=B[se][0].e.c&&(_.F=B[se][1]);switch((v[`number-columns-spanned`]||v[`number-rows-spanned`])&&(F=parseInt(v[`number-rows-spanned`]||`1`,10)||1,I=parseInt(v[`number-columns-spanned`]||`1`,10)||1,F*I>1&&(P={s:{r:D,c:O},e:{r:D+F-1,c:O+I-1}},N.push(P))),v[`number-columns-repeated`]&&(z=parseInt(v[`number-columns-repeated`],10)),_.t){case`boolean`:_.t=`b`,_.v=yK(v[`boolean-value`])||+v[`boolean-value`]>=1;break;case`float`:_.t=`n`,_.v=parseFloat(v.value),r.cellDates&&_.z&&CG(_.z)&&(_.v=LG(_.v+(ee.WBProps.date1904?1462:0)),_.t=typeof _.v==`number`?`n`:`d`);break;case`percentage`:_.t=`n`,_.v=parseFloat(v.value);break;case`currency`:_.t=`n`,_.v=parseFloat(v.value);break;case`date`:_.t=`d`,_.v=zG(v[`date-value`],ee.WBProps.date1904),r.cellDates||(_.t=`n`,_.v=IG(_.v,ee.WBProps.date1904)),_.z||(_.z=`m/d/yy`);break;case`time`:_.t=`n`,_.v=pje(v[`time-value`])/86400,r.cellDates&&(_.v=LG(_.v),_.t=typeof _.v==`number`?`n`:`d`),_.z||(_.z=`HH:MM:SS`);break;case`number`:_.t=`n`,_.v=parseFloat(v.æ°æ®æ°å¼);break;default:if(_.t===`string`||_.t===`text`||!_.t)_.t=`s`,v[`string-value`]!=null&&(b=gK(v[`string-value`]),T=[]);else throw Error(`Unsupported value type `+_.t)}}else{if(oe=!1,y[`calcext:value-type`]==`error`&&Jq[b]!=null&&(_.t=`e`,_.w=b,_.v=Jq[b]),_.t===`s`&&(_.v=b||``,T.length&&(_.R=T),oe=x==0),V.Target&&(_.l=V),ne.length>0&&(_.c=ne,ne=[]),b&&r.cellText!==!1&&(_.w=b),oe&&(_.t=`z`,delete _.v),(!oe||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=D))for(var le=0;le<R;++le){if(z=parseInt(v[`number-columns-repeated`]||`1`,10),r.dense)for(h[`!data`][D+le]||(h[`!data`][D+le]=[]),h[`!data`][D+le][O]=le==0?_:VG(_);--z>0;)h[`!data`][D+le][O+z]=VG(_);else for(h[_q({r:D+le,c:O})]=_;--z>0;)h[_q({r:D+le,c:O+z})]=VG(_);k.e.c<=O&&(k.e.c=O)}z=parseInt(v[`number-columns-repeated`]||`1`,10),O+=z-1,z=0,_={},b=``,T=[]}V={};break;case`document`:case`document-content`:case`çµåè¡¨æ ¼ææ¡£`:case`spreadsheet`:case`主ä½`:case`scripts`:case`styles`:case`font-face-decls`:case`master-styles`:if(g[1]===`/`){if((o=a.pop())[0]!==g[3])throw`Bad state: `+o}else g[0].charAt(g[0].length-2)!==`/`&&a.push([g[3],!0]);break;case`annotation`:if(g[1]===`/`){if((o=a.pop())[0]!==g[3])throw`Bad state: `+o;re.t=b,T.length&&(re.R=T),re.a=ie,ne.push(re),b=C,x=w,T=E}else if(g[0].charAt(g[0].length-2)!==`/`){a.push([g[3],!1]);var ue=pK(g[0],!0);ue.display&&yK(ue.display)||(ne.hidden=!0),C=b,w=x,E=T,b=``,x=0,T=[]}ie=``,ae=0;break;case`creator`:g[1]===`/`?ie=i.slice(ae,g.index):ae=g.index+g[0].length;break;case`meta`:case`å
æ°æ®`:case`settings`:case`config-item-set`:case`config-item-map-indexed`:case`config-item-map-entry`:case`config-item-map-named`:case`shapes`:case`frame`:case`text-box`:case`image`:case`data-pilot-tables`:case`list-style`:case`form`:case`dde-links`:case`event-listeners`:case`chart`:if(g[1]===`/`){if((o=a.pop())[0]!==g[3])throw`Bad state: `+o}else g[0].charAt(g[0].length-2)!==`/`&&a.push([g[3],!1]);b=``,x=0,T=[];break;case`scientific-number`:case`currency-symbol`:case`fill-character`:break;case`text-style`:case`boolean-style`:case`number-style`:case`currency-style`:case`percentage-style`:case`date-style`:case`time-style`:if(g[1]===`/`){var de=kK.lastIndex;fX(i.slice(c,kK.lastIndex),t,j),kK.lastIndex=de}else g[0].charAt(g[0].length-2)!==`/`&&(c=kK.lastIndex-g[0].length);break;case`script`:break;case`libraries`:break;case`automatic-styles`:break;case`default-style`:case`page-layout`:break;case`style`:var fe=pK(g[0],!1);fe.family==`table-cell`&&j[fe[`data-style-name`]]&&(M[fe.name]=j[fe[`data-style-name`]]);break;case`map`:break;case`font-face`:break;case`paragraph-properties`:break;case`table-properties`:break;case`table-column-properties`:break;case`table-row-properties`:break;case`table-cell-properties`:break;case`number`:break;case`fraction`:break;case`day`:case`month`:case`year`:case`era`:case`day-of-week`:case`week-of-year`:case`quarter`:case`hours`:case`minutes`:case`seconds`:case`am-pm`:break;case`boolean`:break;case`text`:if(g[0].slice(-2)===`/>`)break;if(g[1]===`/`)switch(a[a.length-1][0]){case`number-style`:case`date-style`:case`time-style`:l+=i.slice(u,g.index);break}else u=g.index+g[0].length;break;case`named-range`:s=pK(g[0],!1),te=LY(s[`cell-range-address`]);var pe={Name:s.name,Ref:te[0]+`!`+te[1]};H&&(pe.Sheet=m.length),ee.Names.push(pe);break;case`text-content`:break;case`text-properties`:break;case`embedded-text`:break;case`body`:case`çµåè¡¨æ ¼`:break;case`forms`:break;case`table-column`:break;case`table-header-rows`:break;case`table-rows`:break;case`table-column-group`:break;case`table-header-columns`:break;case`table-columns`:break;case`null-date`:s=pK(g[0],!1),s[`date-value`]===`1904-01-01`&&(ee.WBProps.date1904=!0);break;case`graphic-properties`:break;case`calculation-settings`:break;case`named-expressions`:break;case`label-range`:break;case`label-ranges`:break;case`named-expression`:break;case`sort`:break;case`sort-by`:break;
165case`sort-groups`:break;case`tab`:break;case`line-break`:break;case`span`:break;case`p`:case`ææ¬ä¸²`:if([`master-styles`].indexOf(a[a.length-1][0])>-1)break;if(g[1]===`/`&&(!v||!v[`string-value`])){var me=ize(i.slice(x,g.index),S);b=(b.length>0?b+` 166`:``)+me[0]}else g[0].slice(-2)==`/>`?b+=` 167`:(S=pK(g[0],!1),x=g.index+g[0].length);break;case`s`:break;case`database-range`:if(g[1]===`/`)break;try{te=LY(pK(g[0])[`target-range-address`]),p[te[0]][`!autofilter`]={ref:te[1]}}catch{}break;case`date`:break;case`object`:break;case`title`:case`æ é¢`:break;case`desc`:break;case`binary-data`:break;case`table-source`:break;case`scenario`:break;case`iteration`:break;case`content-validations`:break;case`content-validation`:break;case`help-message`:break;case`error-message`:break;case`database-ranges`:break;case`filter`:break;case`filter-and`:break;case`filter-or`:break;case`filter-condition`:break;case`filter-set-item`:break;case`list-level-style-bullet`:break;case`list-level-style-number`:break;case`list-level-properties`:break;case`sender-firstname`:case`sender-lastname`:case`sender-initials`:case`sender-title`:case`sender-position`:case`sender-email`:case`sender-phone-private`:case`sender-fax`:case`sender-company`:case`sender-phone-work`:case`sender-street`:case`sender-city`:case`sender-postal-code`:case`sender-country`:case`sender-state-or-province`:case`author-name`:case`author-initials`:case`chapter`:case`file-name`:case`template-name`:case`sheet-name`:break;case`event-listener`:break;case`initial-creator`:case`creation-date`:case`print-date`:case`generator`:case`document-statistic`:case`user-defined`:case`editing-duration`:case`editing-cycles`:break;case`config-item`:break;case`page-number`:break;case`page-count`:break;case`time`:break;case`cell-range-source`:break;case`detective`:break;case`operation`:break;case`highlighted-range`:break;case`data-pilot-table`:case`source-cell-range`:case`source-service`:case`data-pilot-field`:case`data-pilot-level`:case`data-pilot-subtotals`:case`data-pilot-subtotal`:case`data-pilot-members`:case`data-pilot-member`:case`data-pilot-display-info`:case`data-pilot-sort-info`:case`data-pilot-layout-info`:case`data-pilot-field-reference`:case`data-pilot-groups`:case`data-pilot-group`:case`data-pilot-group-member`:break;case`rect`:break;case`dde-connection-decls`:case`dde-connection-decl`:case`dde-link`:case`dde-source`:break;case`properties`:break;case`property`:break;case`a`:if(g[1]!==`/`){if(V=pK(g[0],!1),!V.href)break;V.Target=gK(V.href),delete V.href,V.Target.charAt(0)==`#`&&V.Target.indexOf(`.`)>-1?(te=LY(V.Target.slice(1)),V.Target=`#`+te[0]+`!`+te[1]):V.Target.match(/^\.\.[\\\/]/)&&(V.Target=V.Target.slice(3))}break;case`table-protection`:break;case`data-pilot-grand-total`:break;case`office-document-common-attrs`:break;default:switch(g[2]){case`dc:`:case`calcext:`:case`loext:`:case`ooo:`:case`chartooo:`:case`draw:`:case`style:`:case`chart:`:case`form:`:case`uof:`:case`表:`:case`å:`:break;default:if(r.WTF)throw Error(g)}}var he={Sheets:p,SheetNames:m,Workbook:ee};return r.bookSheets&&delete he.Sheets,he}function aze(e,t){t||={},tK(e,`META-INF/manifest.xml`)&&TMe(rK(e,`META-INF/manifest.xml`),t);var n=iK(e,`styles.xml`),r=n&&fX(wK(n),t),i=iK(e,`content.xml`);if(!i)throw Error(`Missing content.xml in ODS / UOF file`);var a=pX(wK(i),t,r);return tK(e,`meta.xml`)&&(a.Props=tJ(rK(e,`meta.xml`))),a.bookType=`ods`,a}function oze(e,t){var n=pX(e,t);return n.bookType=`fods`,n}var mX=function(){try{return typeof Uint8Array>`u`||Uint8Array.prototype.subarray===void 0?`slice`:typeof Buffer<`u`?Buffer.prototype.subarray===void 0?`slice`:(typeof Buffer.from==`function`?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array?`subarray`:`slice`:`subarray`}catch{return`slice`}}();function hX(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function gX(e){return typeof TextDecoder<`u`?new TextDecoder().decode(e):wK(VW(e))}function _X(e){for(var t=0,n=0;n<e.length;++n)t+=e[n].length;var r=new Uint8Array(t),i=0;for(n=0;n<e.length;++n){var a=e[n],o=a.length;if(o<250)for(var s=0;s<o;++s)r[i++]=a[s];else r.set(a,i),i+=o}return r}function vX(e){return e-=e>>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function sze(e,t){for(var n=(e[t+15]&127)<<7|e[t+14]>>1,r=e[t+14]&1,i=t+13;i>=t;--i)r=r*256+e[i];return(e[t+15]&128?-r:r)*10**(n-6176)}
167function yX(e,t){var n=t.l,r=e[n]&127;varint:if(e[n++]>=128&&(r|=(e[n]&127)<<7,e[n++]<128||(r|=(e[n]&127)<<14,e[n++]<128)||(r|=(e[n]&127)<<21,e[n++]<128)||(r+=(e[n]&127)*2**28,++n,e[n++]<128)||(r+=(e[n]&127)*2**35,++n,e[n++]<128)||(r+=(e[n]&127)*2**42,++n,e[n++]<128)))break varint;return t.l=n,r}function bX(e){var t=0,n=e[t]&127;return e[t++]<128||(n|=(e[t]&127)<<7,e[t++]<128)||(n|=(e[t]&127)<<14,e[t++]<128)||(n|=(e[t]&127)<<21,e[t++]<128)||(n|=(e[t]&15)<<28),n}function xX(e){for(var t=[],n={l:0};n.l<e.length;){var r=n.l,i=yX(e,n),a=i&7;i=i/8|0;var o,s=n.l;switch(a){case 0:for(;e[s++]>=128;);o=e[mX](n.l,s),n.l=s;break;case 1:o=e[mX](s,s+8),n.l=s+8;break;case 2:var c=yX(e,n);o=e[mX](n.l,n.l+c),n.l+=c;break;case 5:o=e[mX](s,s+4),n.l=s+4;break;default:throw Error(`PB Type ${a} for Field ${i} at offset ${r}`)}var l={data:o,type:a};t[i]??(t[i]=[]),t[i].push(l)}return t}function SX(e,t){return e?.map(function(e){return t(e.data)})||[]}function cze(e){for(var t=[],n={l:0};n.l<e.length;){var r=yX(e,n),i=xX(e[mX](n.l,n.l+r));n.l+=r;var a={id:bX(i[1][0].data),messages:[]};i[2].forEach(function(t){var r=xX(t.data),i=bX(r[3][0].data);a.messages.push({meta:r,data:e[mX](n.l,n.l+i)}),n.l+=i}),i[3]?.[0]&&(a.merge=bX(i[3][0].data)>>>0>0),t.push(a)}return t}function lze(e,t){if(e!=0)throw Error(`Unexpected Snappy chunk type ${e}`);for(var n={l:0},r=yX(t,n),i=[],a=n.l;a<t.length;){var o=t[a]&3;if(o==0){var s=t[a++]>>2;if(s<60)++s;else{var c=s-59;s=t[a],c>1&&(s|=t[a+1]<<8),c>2&&(s|=t[a+2]<<16),c>3&&(s|=t[a+3]<<24),s>>>=0,s++,a+=c}i.push(t[mX](a,a+s)),a+=s;continue}var l=0,u=0;if(o==1?(u=(t[a]>>2&7)+4,l=(t[a++]&224)<<3,l|=t[a++]):(u=(t[a++]>>2)+1,o==2?(l=t[a]|t[a+1]<<8,a+=2):(l=(t[a]|t[a+1]<<8|t[a+2]<<16|t[a+3]<<24)>>>0,a+=4)),l==0)throw Error(`Invalid offset 0`);for(var d=i.length-1,f=l;d>=0&&f>=i[d].length;)f-=i[d].length,--d;if(d<0)if(f==0)f=i[d=0].length;else throw Error(`Invalid offset beyond length`);if(u<f)i.push(i[d][mX](i[d].length-f,i[d].length-f+u));else{for(f>0&&(i.push(i[d][mX](i[d].length-f)),u-=f),++d;u>=i[d].length;)i.push(i[d]),u-=i[d].length,++d;u&&i.push(i[d][mX](0,u))}i.length>25&&(i=[_X(i)])}for(var p=0,m=0;m<i.length;++m)p+=i[m].length;if(p!=r)throw Error(`Unexpected length: ${p} != ${r}`);return i}function uze(e){Array.isArray(e)&&(e=new Uint8Array(e));for(var t=[],n=0;n<e.length;){var r=e[n++],i=e[n]|e[n+1]<<8|e[n+2]<<16;n+=3,t.push.apply(t,lze(r,e[mX](n,n+i))),n+=i}if(n!==e.length)throw Error(`data is not a valid framed stream!`);return t.length==1?t[0]:_X(t)}var dze=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[],fmla:[],ferr:[],cmnt:[]}};function CX(e,t,n,r,i){var a=t&255,o=t>>8,s=o>=5?i:r;dur:if(n&(o>4?8:4)&&e.t==`n`&&a==7){var c=s[7]?.[0]?bX(s[7][0].data):-1;if(c==-1)break dur;var l=s[15]?.[0]?bX(s[15][0].data):-1,u=s[16]?.[0]?bX(s[16][0].data):-1,d=s[40]?.[0]?bX(s[40][0].data):-1,f=e.v,p=f;autodur:if(d){if(f==0){l=u=2;break autodur}l=f>=604800?1:f>=86400?2:f>=3600?4:f>=60?8:f>=1?16:32,Math.floor(f)==f?f%60?u=16:f%3600?u=8:f%86400?u=4:f%604800&&(u=2):u=32,u<l&&(u=l)}if(l==-1||u==-1)break dur;var m=[],h=[];l==1&&(p=f/604800,u==1?h.push(`d"d"`):(p|=0,f-=604800*p),m.push(p+(c==2?` week`+(p==1?``:`s`):c==1?`w`:``))),l<=2&&u>=2&&(p=f/86400,u>2&&(p|=0,f-=86400*p),h.push(`d"d"`),m.push(p+(c==2?` day`+(p==1?``:`s`):c==1?`d`:``))),l<=4&&u>=4&&(p=f/3600,u>4&&(p|=0,f-=3600*p),h.push((l>=4?`[h]`:`h`)+`"h"`),m.push(p+(c==2?` hour`+(p==1?``:`s`):c==1?`h`:``))),l<=8&&u>=8&&(p=f/60,u>8&&(p|=0,f-=60*p),h.push((l>=8?`[m]`:`m`)+`"m"`),c==0?m.push((l==8&&u==8||p>=10?``:`0`)+p):m.push(p+(c==2?` minute`+(p==1?``:`s`):c==1?`m`:``))),l<=16&&u>=16&&(p=f,u>16&&(p|=0,f-=p),h.push((l>=16?`[s]`:`s`)+`"s"`),c==0?m.push((u==16&&l==16||p>=10?``:`0`)+p):m.push(p+(c==2?` second`+(p==1?``:`s`):c==1?`s`:``))),u>=32&&(p=Math.round(1e3*f),l<32&&h.push(`.000"ms"`),c==0?m.push((p>=100?``:p>=10?`0`:`00`)+p):m.push(p+(c==2?` millisecond`+(p==1?``:`s`):c==1?`ms`:``))),e.w=m.join(c==0?`:`:` `),e.z=h.join(c==0?`":"`:` `),c==0&&(e.w=e.w.replace(/:(\d\d\d)$/,`.$1`))}}function fze(e,t,n,r){var i=hX(e),a=i.getUint32(4,!0),o=-1,s=-1,c=-1,l=NaN,u=0,d=new Date(Date.UTC(2001,0,1)),f=n>1?12:8;a&2&&(c=i.getUint32(f,!0),f+=4),f+=vX(a&(n>1?3468:396))*4,a&512&&(o=i.getUint32(f,!0),f+=4),f+=vX(a&(n>1?12288:4096))*4,a&16&&(s=i.getUint32(f,!0),f+=4),a&32&&(l=i.getFloat64(f,!0),f+=8),a&64&&(d.setTime(d.getTime()+(u=i.getFloat64(f,!0))*1e3),f+=8),n>1&&(a=i.getUint32(8,!0)>>>16,a&255&&(c==-1&&(c=i.getUint32(f,!0)),f+=4));var p,m=e[n>=4?1:2];switch(m){case 0:return;case 2:p={t:`n`,v:l};break;case 3:p={t:`s`,v:t.sst[s]};break;case 5:p=r?.cellDates?{t:`d`,v:d}:{t:`n`,v:u/86400+35430,z:tG[14]};break;case 6:p={t:`b`,v:l>0};break;case 7:p={t:`n`,v:l};break;case 8:p={t:`e`,v:0};break;case 9:if(o>
167-1){var h=t.rsst[o];p={t:`s`,v:h.v},h.l&&(p.l={Target:h.l})}else throw Error(`Unsupported cell type ${e[mX](0,4)}`);break;default:throw Error(`Unsupported cell type ${e[mX](0,4)}`)}return c>-1&&CX(p,m|n<<8,a,t.ofmt[c],t.nfmt[c]),m==7&&(p.v/=86400),p}function pze(e,t,n){var r=hX(e);r.getUint32(4,!0);var i=r.getUint32(8,!0),a=12,o=-1,s=-1,c=-1,l=NaN,u=NaN,d=0,f=new Date(Date.UTC(2001,0,1));i&1&&(l=sze(e,a),a+=16),i&2&&(u=r.getFloat64(a,!0),a+=8),i&4&&(f.setTime(f.getTime()+(d=r.getFloat64(a,!0))*1e3),a+=8),i&8&&(s=r.getUint32(a,!0),a+=4),i&16&&(o=r.getUint32(a,!0),a+=4),a+=vX(i&480)*4,i&512&&(r.getUint32(a,!0),a+=4),a+=vX(i&1024)*4,i&2048&&(r.getUint32(a,!0),a+=4);var p,m=e[1];switch(m){case 0:p={t:`z`};break;case 2:p={t:`n`,v:l};break;case 3:p={t:`s`,v:t.sst[s]};break;case 5:p=n?.cellDates?{t:`d`,v:f}:{t:`n`,v:d/86400+35430,z:tG[14]};break;case 6:p={t:`b`,v:u>0};break;case 7:p={t:`n`,v:u};break;case 8:p={t:`e`,v:0};break;case 9:if(o>-1){var h=t.rsst[o];p={t:`s`,v:h.v},h.l&&(p.l={Target:h.l})}else throw Error(`Unsupported cell type ${e[1]} : ${i&31} : ${e[mX](0,4)}`);break;case 10:p={t:`n`,v:l};break;default:throw Error(`Unsupported cell type ${e[1]} : ${i&31} : ${e[mX](0,4)}`)}if(a+=vX(i&4096)*4,i&516096&&(c==-1&&(c=r.getUint32(a,!0)),a+=4),i&524288){var g=r.getUint32(a,!0);a+=4,t.cmnt[g]&&(p.c=_ze(t.cmnt[g]))}return c>-1&&CX(p,m|1280,i>>13,t.ofmt[c],t.nfmt[c]),m==7&&(p.v/=86400),p}function mze(e,t,n){switch(e[0]){case 0:case 1:case 2:case 3:case 4:return fze(e,t,e[0],n);case 5:return pze(e,t,n);default:throw Error(`Unsupported payload version ${e[0]}`)}}function wX(e){return bX(xX(e)[1][0].data)}function TX(e,t){var n=xX(t.data),r=bX(n[1][0].data),i=n[3],a=[];return(i||[]).forEach(function(t){var n=xX(t.data);if(n[1]){var i=bX(n[1][0].data)>>>0;switch(r){case 1:a[i]=gX(n[3][0].data);break;case 8:var o=e[wX(n[9][0].data)][0],s=e[wX(xX(o.data)[1][0].data)][0],c=bX(s.meta[1][0].data);if(c!=2001)throw Error(`2000 unexpected reference to ${c}`);var l=xX(s.data),u={v:l[3].map(function(e){return gX(e.data)}).join(``)};a[i]=u;sfields:if(l?.[11]?.[0]){var d=xX(l[11][0].data)?.[1];if(!d)break sfields;d.forEach(function(t){var n=xX(t.data);if(n[2]?.[0]){var r=e[wX(n[2]?.[0].data)][0],i=bX(r.meta[1][0].data);switch(i){case 2032:var a=xX(r.data);a?.[2]?.[0]&&!u.l&&(u.l=gX(a[2][0].data));break;case 2039:break;default:console.log(`unrecognized ObjectAttribute type ${i}`)}}})}break;case 2:a[i]=xX(n[6][0].data);break;case 3:a[i]=xX(n[5][0].data);break;case 10:var f=e[wX(n[10][0].data)][0];a[i]=EX(e,f.data);break;default:throw r}}}),a}function hze(e,t){var n=xX(e),r=bX(n[1][0].data)>>>0,i=bX(n[2][0].data)>>>0,a=n[8]?.[0]?.data&&bX(n[8][0].data)>0||!1,o,s;if(n[7]?.[0]?.data&&t!=0)o=n[7]?.[0]?.data,s=n[6]?.[0]?.data;else if(n[4]?.[0]?.data&&t!=1)o=n[4]?.[0]?.data,s=n[3]?.[0]?.data;else throw`NUMBERS Tile missing ${t} cell storage`;for(var c=a?4:1,l=hX(o),u=[],d=0;d<o.length/2;++d){var f=l.getUint16(d*2,!0);f<65535&&u.push([d,f])}if(u.length!=i)throw`Expected ${i} cells, found ${u.length}`;var p=[];for(d=0;d<u.length-1;++d)p[u[d][0]]=s[mX](u[d][1]*c,u[d+1][1]*c);return u.length>=1&&(p[u[u.length-1][0]]=s[mX](u[u.length-1][1]*c)),{R:r,cells:p}}function gze(e,t){var n=xX(t.data),r=-1;n?.[7]?.[0]&&(r=bX(n[7][0].data)>>>0?1:0);var i=SX(n[5],function(e){return hze(e,r)});return{nrows:bX(n[4][0].data)>>>0,data:i.reduce(function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach(function(n,r){if(e[t.R][r])throw Error(`Duplicate cell r=${t.R} c=${r}`);e[t.R][r]=n}),e},[])}}function EX(e,t){var n={t:``,a:``},r=xX(t);if(r?.[1]?.[0]?.data&&(n.t=gX(r?.[1]?.[0]?.data)||``),r?.[3]?.[0]?.data){var i=e[wX(r?.[3]?.[0]?.data)][0],a=xX(i.data);a[1]?.[0]?.data&&(n.a=gX(a[1][0].data))}return r?.[4]&&(n.replies=[],r[4].forEach(function(t){var r=e[wX(t.data)][0];n.replies.push(EX(e,r.data))})),n}function _ze(e){var t=[];return t.push({t:e.t||``,a:e.a,T:e.replies&&e.replies.length>0}),e.replies&&e.replies.forEach(function(e){t.push({t:e.t||``,a:e.a,T:!0})}),t}function vze(e,t,n,r){var i=xX(t.data),a={s:{r:0,c:0},e:{r:0,c:0}};if(a.e.r=(bX(i[6][0].data)>>>0)-1,a.e.r<0)throw Error(`Invalid row varint ${i[6][0].data}`);if(a.e.c=(bX(i[7][0].data)>>>0)-1,a.e.c<0)throw Error(`Invalid col varint ${i[7][0].data}`);n[`!ref`]=yq(a);var o=n[`!data`]!=null,s=n,c=xX(i[4][0].data),l=dze();c[4]?.[0]&&(l.sst=TX(e,e[wX(c[4][0].data)][0])),c[6]?.[0]&&(l.fmla=TX(e,e[wX(c[6][0].data)][0])),c[11]?.[0]&&(l.ofmt=TX(e,e[wX(c[11][0].data)][0])),c[12]?.[0]&&(l.ferr=TX(e,e[wX(c[12][0].data)][0])),c[17]?.[0]&&(l.rsst=TX(e,e[wX(c[17][0].data)][0])),c[19]?.[0]&&(l.cmnt=TX(e,e[wX(c[19][0].data)][0])),c[22]?.[0]&&(l.nfmt=TX(e,e[wX(c[22][0].data)][0]));var u=xX(c[3][0].data),d=0;if(!c[9]?.[0])throw`NUMBERS file missing row tree`;if(xX(c[9][0].data)[1].map(function(e){return xX(e.data)}
167).forEach(function(t){d=bX(t[1][0].data);var i=bX(t[2][0].data),a=u[1][i];if(!a)throw`NUMBERS missing tile `+i;var c=e[wX(xX(a.data)[2][0].data)][0],f=bX(c.meta[1][0].data);if(f!=6002)throw Error(`6001 unexpected reference to ${f}`);var p=gze(e,c);p.data.forEach(function(e,t){e.forEach(function(e,i){var a=mze(e,l,r);a&&(o?(s[`!data`][d+t]||(s[`!data`][d+t]=[]),s[`!data`][d+t][i]=a):n[hq(i)+pq(d+t)]=a)})}),d+=p.nrows}),c[13]?.[0]){var f=e[wX(c[13][0].data)][0],p=bX(f.meta[1][0].data);if(p!=6144)throw Error(`Expected merge type 6144, found ${p}`);n[`!merges`]=xX(f.data)?.[1].map(function(e){var t=xX(e.data),n=hX(xX(t[1][0].data)[1][0].data),r=hX(xX(t[2][0].data)[1][0].data);return{s:{r:n.getUint16(0,!0),c:n.getUint16(2,!0)},e:{r:n.getUint16(0,!0)+r.getUint16(0,!0)-1,c:n.getUint16(2,!0)+r.getUint16(2,!0)-1}}})}if(!n[`!merges`]?.length&&i[47]?.[0]){var m=xX(i[47][0].data);if(m[2]?.[0]){var h=xX(m[2][0].data);h[3]?.[0]&&(n[`!merges`]=SX(h[3],function(e){var t=xX(xX(xX(e)[2][0].data)[1][0].data);if(t[1]?.[0]){var n=xX(t[1][0].data);if(bX(n[1][0].data)==67){var r=xX(n[40][0].data);if(!(!r[3]?.[0]||!r[4]?.[0])){var i=xX(r[3][0].data),a=xX(r[4][0].data),o=bX(i[1][0].data),s=i[2]?.[0]?bX(i[2][0].data):o,c=bX(a[1][0].data),l=a[2]?.[0]?bX(a[2][0].data):c;return{s:{r:c,c:o},e:{r:l,c:s}}}}}}).filter(function(e){return e!=null}))}}}function yze(e,t,n){var r=xX(t.data),i={"!ref":`A1`};n?.dense&&(i[`!data`]=[]);var a=e[wX(r[2][0].data)],o=bX(a[0].meta[1][0].data);if(o!=6001)throw Error(`6000 unexpected reference to ${o}`);return vze(e,a[0],i,n),i}function bze(e,t,n){var r=xX(t.data),i={name:r[1]?.[0]?gX(r[1][0].data):``,sheets:[]};
167return SX(r[2],wX).forEach(function(t){e[t].forEach(function(t){bX(t.meta[1][0].data)==6e3&&i.sheets.push(yze(e,t,n))})}),i}function xze(e,t,n){var r=zX();r.Workbook={WBProps:{date1904:!0}};var i=xX(t.data);if(i[2]?.[0])throw Error(`Keynote presentations are not supported`);if(SX(i[1],wX).forEach(function(t){e[t].forEach(function(t){if(bX(t.meta[1][0].data)==2){var i=bze(e,t,n);i.sheets.forEach(function(e,t){BX(r,e,t==0?i.name:i.name+`_`+t,!0)})}})}),r.SheetNames.length==0)throw Error(`Empty NUMBERS file`);return r.bookType=`numbers`,r}function DX(e,t){var n={},r=[];if(e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw Error(`Unsupported password protection`)}),e.FileIndex.forEach(function(e){if(e.name.match(/\.iwa$/)&&e.content[0]==0){var t;try{t=uze(e.content)}catch(t){return console.log(`?? `+e.content.length+` `+(t.message||t))}var i;try{i=cze(t)}catch(e){return console.log(`## `+(e.message||e))}i.forEach(function(e){n[e.id]=e.messages,r.push(e.id)})}}),!r.length)throw Error(`File has no messages`);if(((n?.[1])?.[0].meta?.[1])?.[0].data&&bX(n[1][0].meta[1][0].data)==1e4)throw Error(`Pages documents are not supported`);var i=(n?.[1]?.[0]?.meta?.[1])?.[0].data&&bX(n[1][0].meta[1][0].data)==1&&n[1][0];if(i||r.forEach(function(e){n[e].forEach(function(e){if(bX(e.meta[1][0].data)>>>0==1)if(!i)i=e;else throw Error(`Document has multiple roots`)})}),!i)throw Error(`Cannot find Document root`);return xze(n,i,t)}function Sze(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];t[r[0]]===void 0&&(t[r[0]]=r[1]),r[2]===`n`&&(t[r[0]]=Number(t[r[0]]))}}}function OX(e){Sze([[`cellNF`,!1],[`cellHTML`,!0],[`cellFormula`,!0],[`cellStyles`,!1],[`cellText`,!0],[`cellDates`,!1],[`sheetStubs`,!1],[`sheetRows`,0,`n`],[`bookDeps`,!1],[`bookSheets`,!1],[`bookProps`,!1],[`bookFiles`,!1],[`bookVBA`,!1],[`password`,``],[`WTF`,!1]])(e)}function Cze(e){return Zq.WS.indexOf(e)>-1?`sheet`:Zq.CS&&e==Zq.CS?`chart`:Zq.DS&&e==Zq.DS?`dialog`:Zq.MS&&e==Zq.MS?`macro`:e&&e.length?e:`sheet`}function wze(e,t){if(!e)return 0;try{e=t.map(function(t){return t.id||=t.strRelID,[t.name,e[`!id`][t.id].Target,Cze(e[`!id`][t.id].Type)]})}catch{return null}return!e||e.length===0?null:e}function Tze(e,t,n,r,i,a,o,s){if(!(!e||!e[`!legdrawel`])){var c=iK(n,cK(e[`!legdrawel`].Target,r),!0);c&&AFe(wK(c),e,s||[])}}function Eze(e,t,n,r,i,a,o,s,c,l,u,d){try{a[r]=$q(iK(e,n,!0),t);var f=rK(e,t),p;switch(s){case`sheet`:p=DRe(f,t,i,c,a[r],l,u,d);break;case`chart`:if(p=ORe(f,t,i,c,a[r],l,u,d),!p||!p[`!drawel`])break;var m=cK(p[`!drawel`].Target,t),h=Qq(m),g=cK(kFe(iK(e,m,!0),$q(iK(e,h,!0),m)),m),_=Qq(g);p=uRe(iK(e,g,!0),g,c,$q(iK(e,_,!0),g),l,p);break;case`macro`:p=kRe(f,t,i,c,a[r],l,u,d);break;case`dialog`:p=ARe(f,t,i,c,a[r],l,u,d);break;default:throw Error(`Unrecognized sheet type `+s)}o[r]=p;var v=[],y=[];a&&a[r]&&NG(a[r]).forEach(function(n){var i=``;if(a[r][n].Type==Zq.CMNT){if(i=cK(a[r][n].Target,t),v=NRe(rK(e,i,!0),i,c),!v||!v.length)return;uY(p,v,!1)}a[r][n].Type==Zq.TCMNT&&(i=cK(a[r][n].Target,t),y=y.concat(MFe(rK(e,i,!0),c)))}),y&&y.length&&uY(p,y,!0,c.people||[]),Tze(p,s,e,t,i,c,l,v)}catch(e){if(c.WTF)throw e}}function kX(e){return e.charAt(0)==`/`?e.slice(1):e}function Dze(e,t){if(DG(),t||={},OX(t),tK(e,`META-INF/manifest.xml`)||tK(e,`objectdata.xml`))return aze(e,t);if(tK(e,`Index/Document.iwa`)){if(typeof Uint8Array>`u`)throw Error(`NUMBERS file parsing requires Uint8Array support`);if(DX!==void 0){if(e.FileIndex)return DX(e,t);var n=jG.utils.cfb_new();return oK(e).forEach(function(t){Oje(n,t,aK(e,t))}),DX(n,t)}throw Error(`Unsupported NUMBERS file`)}if(!tK(e,`[Content_Types].xml`)){if(tK(e,`index.xml.gz`))throw Error(`Unsupported NUMBERS 08 file`);if(tK(e,`index.xml`))throw Error(`Unsupported NUMBERS 09 file`);var r=jG.find(e,`Index.zip`);if(r)return t=VG(t),delete t.type,typeof r.content==`string`&&(t.type=`binary`),typeof Bun<`u`&&Buffer.isBuffer(r.content)?NX(new Uint8Array(r.content),t):NX(r.content,t);throw Error(`Unsupported ZIP file`)}var i=oK(e),a=CMe(iK(e,`[Content_Types].xml`)),o=!1,s,c;if(a.workbooks.length===0&&(c=`xl/workbook.xml`,rK(e,c,!0)&&a.workbooks.push(c)),a.workbooks.length===0){if(c=`xl/workbook.bin`,!rK(e,c,!0))throw Error(`Could not find workbook`);a.workbooks.push(c),o=!0}a.workbooks[0].slice(-3)==`bin`&&(o=!0);var l={},u={};if(!t.bookSheets&&!t.bookProps){if(RY=[],a.sst)try{RY=MRe(rK(e,kX(a.sst)),a.sst,t)}catch(e){if(t.WTF)throw e}t.cellStyles&&a.themes.length&&(l=lY(iK(e,a.themes[0].replace(/^\//,``),!0)||``,t)),a.style&&(u=jRe(rK(e,kX(a.style)),a.style,l,t))}a.links.map(function(n){try{var r=$q(iK(e,Qq(kX(n))),n);return FRe(rK(e,kX(n)),r,n,t)}catch{}});var d=ERe(rK(e,kX(a.workbooks[0])),a.workbooks[0],t),f={},p=``;a.coreprops.length&&(p=rK(e,kX(a.coreprops[0]),!0),p&&(f=tJ(p)),a.extprops.length!==0&&(p=rK(e,kX(a.extprops[0]),!0),p&&DMe(p,f,t)));var m={};(!t.bookSheets||t.bookProps)&&a.custprops.length!==0&&(p=iK(e,kX(a.custprops[0]),!0),p&&(m=kMe(p,t)));var h={};if((t.bookSheets||t.bookProps)&&(d.Sheets?s=d.Sheets.map(function(e){return e.name}):f.Worksheets&&f.SheetNames.length>0&&(s=f.SheetNames),t.bookProps&&(h.Props=f,h.Custprops=m),t.bookSheets&&s!==void 0&&(h.SheetNames=s),t.bookSheets?h.SheetNames:t.bookProps))return h;s={};var g={};t.bookDeps&&a.calcchain&&(g=PRe(rK(e,kX(a.calcchain)),a.calcchain,t));var _=0,v={},y,b,x=d.Sheets;f.Worksheets=x.length,f.SheetNames=[];for(var S=0;S!=x.length;++S)f.SheetNames[S]=x[S].name;var C=o?`bin`:`xml`,w=a.workbooks[0].lastIndexOf(`/`),T=(a.workbooks[0].slice(0,w+1)+`_rels/`+a.workbooks[0].slice(w+1)+`.rels`).replace(/^\//,``);tK(e,T)||(T=`xl/_rels/workbook.`+C+`.rels`);var E=$q(iK(e,T,!0),T.replace(/_rels.*/,`s5s`));(a.metadata||[]).length>=1&&(t.xlmeta=IRe(rK(e,kX(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=NFe(rK(e,kX(a.people[0])),t)),E&&=wze(E,d.Sheets);var D=+!!rK(e,`xl/worksheets/sheet.xml`,!0);wsloop:for(_=0;_!=f.Worksheets;++_){var O=`sheet`;if(E&&E[_]?(y=`xl/`+E[_][1].replace(/[\/]?xl\//,``),tK(e,y)||(y=E[_][1]),tK(e,y)||(y=T.replace(/_rels\/[\S\s]*$/,``)+E[_][1]),O=E[_][2]):(y=`xl/worksheets/sheet`+(_+1-D)+`.`+C,y=y.replace(/sheet0\./,`sheet.`)),b=y.replace(/^(.*)(\/)([^\/]*)$/,`$1/_rels/$3.rels`),t&&t.sheets!=null)switch(typeof t.sheets){case`number`:if(_!=t.sheets)continue wsloop;break;case`string`:if(f.SheetNames[_].toLowerCase()!=t.sheets.toLowerCase())continue wsloop;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var k=!1,A=0;A!=t.sheets.length;++A)typeof t.sheets[A]==`number`&&t.sheets[A]==_&&(k=1),typeof t.sheets[A]==`string`&&t.sheets[A].toLowerCase()==f.SheetNames[_].toLowerCase()&&(k=1);if(!k)continue wsloop}}Eze(e,y,b,f.SheetNames[_],_,v,s,O,t,d,l,u)}return h={Directory:a,Workbook:d,Props:f,Custprops:m,Deps:g,Sheets:s,SheetNames:f.SheetNames,Strings:RY,Styles:u,Themes:l,SSF:VG(tG)},t&&t.bookFiles&&(e.files?(h.keys=i,h.files=e.files):(h.keys=[],h.files={},e.FullPaths.forEach(function(t,n){t=t.replace(/^Root Entry[\/]/,``),h.keys.push(t),h.files[t]=e.FileIndex[n]}))),t&&t.bookVBA&&(a.vba.length>0?h.vbaraw=rK(e,kX(a.vba[0]),!0):a.defaults&&a.defaults.bin===LFe&&(h.vbaraw=rK(e,`xl/vbaProject.bin`,!0))),h.bookType=o?`xlsb`:`xlsx`,h}function Oze(e,t){var n=t||{},r=`Workbook`,i=jG.find(e,r);try{if(r=`/!DataSpaces/Version`,i=jG.find(e,r),!i||!i.content||(wPe(i.content),r=`/!DataSpaces/DataSpaceMap`,i=jG.find(e,r),!i||!i.content))throw Error(`ECMA-376 Encrypted file missing `+r);var a=EPe(i.content);if(a.length!==1||a[0].comps.length!==1||a[0].comps[0].t!==0||a[0].name!==`StrongEncryptionDataSpace`||a[0].comps[0].v!==`EncryptedPackage`)throw Error(`ECMA-376 Encrypted file bad `+r);if(r=`/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace`,i=jG.find(e,r),!i||!i.content)throw Error(`ECMA-376 Encrypted file missing `+r);var o=DPe(i.content);if(o.length!=1||o[0]!=`StrongEncryptionTransform`)throw Error(`ECMA-376 Encrypted file bad `+r);if(r=`/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary`,i=jG.find(e,r),!i||!i.content)throw Error(`ECMA-376 Encrypted file missing `+r);kPe(i.content)}catch{}if(r=`/EncryptionInfo`,i=jG.find(e,r),!i||!i.content)throw Error(`ECMA-376 Encrypted file missing `+r);var s=APe(i.content);if(r=`/EncryptedPackage`,i=jG.find(e,r),!i||!i.content)throw Error(`ECMA-376 Encrypted file missing `+r);if(s[0]==4&&typeof decrypt_agile<`u`)return decrypt_agile(s[1],i.content,n.password||``,n);if(s[0]==2&&typeof decrypt_std76<`u`)return decrypt_std76(s[1],i.content,n.password||``,n);throw Error(`File is password-protected`)}function AX(e,t){var n=``;switch((t||{}).type||`base64`){case`buffer`:return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case`base64`:n=PW(e.slice(0,12));break;case`binary`:n=e;break;case`array`:return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw Error(`Unrecognized type `+(t&&t.type||`undefined`))}
167return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function kze(e,t){return jG.find(e,`EncryptedPackage`)?Oze(e,t):iX(e,t)}function Aze(e,t){var n,r=e,i=t||{};return i.type||=FW&&Buffer.isBuffer(e)?`buffer`:`base64`,n=sK(r,i),Dze(n,i)}function jX(e,t){var n=0;main:for(;n<e.length;)switch(e.charCodeAt(n)){case 10:case 13:case 32:++n;break;case 60:return eX(e.slice(n),t);default:break main}return zJ.to_workbook(e,t)}function jze(e,t){var n=``,r=AX(e,t);switch(t.type){case`base64`:n=PW(e);break;case`binary`:n=e;break;case`buffer`:n=e.toString(`binary`);break;case`array`:n=BG(e);break;default:throw Error(`Unrecognized type `+t.type)}return r[0]==239&&r[1]==187&&r[2]==191&&(n=wK(n)),t.type=`binary`,jX(n,t)}function Mze(e,t){var n=e;return t.type==`base64`&&(n=PW(n)),typeof ArrayBuffer<`u`&&e instanceof ArrayBuffer&&(n=new Uint8Array(e)),n=yW===void 0?FW&&Buffer.isBuffer(e)?e.slice(2).toString(`utf16le`):typeof Uint8Array<`u`&&n instanceof Uint8Array?typeof TextDecoder<`u`?new TextDecoder(`utf-16le`).decode(n.slice(2)):IAe(n.slice(2)):TW(n.slice(2)):yW.utils.decode(1200,n.slice(2),`str`),t.type=`binary`,jX(n,t)}function Nze(e){return e.match(/[^\x00-\x7F]/)?TK(e):e}function MX(e,t,n,r){return r?(n.type=`string`,zJ.to_workbook(e,n)):zJ.to_workbook(t,n)}function NX(e,t){CW();var n=t||{};if(n.codepage&&yW===void 0&&console.error(`Codepage tables are not loaded. Non-ASCII characters may not give expected results`),typeof ArrayBuffer<`u`&&e instanceof ArrayBuffer)return NX(new Uint8Array(e),(n=VG(n),n.type=`array`,n));if(typeof Int8Array<`u`&&e instanceof Int8Array)return NX(new Uint8Array(e.buffer,e.byteOffset,e.length),n);typeof Uint8Array<`u`&&e instanceof Uint8Array&&!n.type&&(n.type=typeof Deno<`u`?`buffer`:`array`);var r=e,i=[0,0,0,0],a=!1;if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),zY={},n.dateNF&&(zY.dateNF=n.dateNF),n.type||(n.type=FW&&Buffer.isBuffer(e)?`buffer`:`base64`),n.type==`file`&&(n.type=FW?`buffer`:`binary`,r=uje(e),typeof Uint8Array<`u`&&!FW&&(n.type=`array`)),n.type==`string`&&(a=!0,n.type=`binary`,n.codepage=65001,r=Nze(e)),n.type==`array`&&typeof Uint8Array<`u`&&e instanceof Uint8Array&&typeof ArrayBuffer<`u`){var o=new Uint8Array(new ArrayBuffer(3));if(o.foo=`bar`,!o.foo)return n=VG(n),n.type=`array`,NX(HW(r),n)}switch((i=AX(r,n))[0]){case 208:if(i[1]===207&&i[2]===17&&i[3]===224&&i[4]===161&&i[5]===177&&i[6]===26&&i[7]===225)return kze(jG.read(r,n),n);break;case 9:if(i[1]<=8)return iX(r,n);break;case 60:return eX(r,n);case 73:if(i[1]===73&&i[2]===42&&i[3]===0)throw Error(`TIFF Image File is not a spreadsheet`);if(i[1]===68)return pPe(r,n);break;case 84:if(i[1]===65&&i[2]===66&&i[3]===76)return dPe.to_workbook(r,n);break;case 80:return i[1]===75&&i[2]<9&&i[3]<9?Aze(r,n):MX(e,r,n,a);case 239:return i[3]===60?eX(r,n):MX(e,r,n,a);case 255:if(i[1]===254)return Mze(r,n);if(i[1]===0&&i[2]===2&&i[3]===0)return BJ.to_workbook(r,n);break;case 0:if(i[1]===0&&(i[2]>=2&&i[3]===0||i[2]===0&&(i[3]===8||i[3]===9)))return BJ.to_workbook(r,n);break;case 3:case 131:case 139:case 140:return RJ.to_workbook(r,n);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return UPe(r,n);break;case 10:case 13:case 32:return jze(r,n);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw Error(`PNG Image File is not a spreadsheet`);break;case 8:if(i[1]===231)throw Error(`Unsupported Multiplan 1.x file!`);break;case 12:if(i[1]===236)throw Error(`Unsupported Multiplan 2.x file!`);if(i[1]===237)throw Error(`Unsupported Multiplan 3.x file!`)}return lPe.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?RJ.to_workbook(r,n):MX(e,r,n,a)}function Pze(e,t,n,r,i,a,o){var s=pq(n),c=o.defval,l=o.raw||!Object.prototype.hasOwnProperty.call(o,`raw`),u=!0,d=e[`!data`]!=null,f=i===1?[]:{};if(i!==1)if(Object.defineProperty)try{Object.defineProperty(f,"__rowNum__",{value:n,enumerable:!1})}catch{f.__rowNum__=n}else f.__rowNum__=n;if(!d||e[`!data`][n])for(var p=t.s.c;p<=t.e.c;
vendor: 5,669 bytes, lines 167-169
167++p){var m=d?(e[`!data`][n]||[])[p]:e[r[p]+s];if(m==null||m.t===void 0){if(c===void 0)continue;a[p]!=null&&(f[a[p]]=c);continue}var h=m.v;switch(m.t){case`z`:if(h==null)break;continue;case`e`:h=h==0?null:void 0;break;case`s`:case`b`:case`n`:if(!m.z||!CG(m.z)||(h=LG(h),typeof h==`number`))break;case`d`:o&&(o.UTC||o.raw===!1)||(h=GG(new Date(h)));break;default:throw Error(`unrecognized type `+m.t)}if(a[p]!=null){if(h==null)if(m.t==`e`&&h===null)f[a[p]]=null;else if(c!==void 0)f[a[p]]=c;else if(l&&h===null)f[a[p]]=null;else continue;else f[a[p]]=(m.t===`n`&&typeof o.rawNumbers==`boolean`?o.rawNumbers:l)?h:Sq(m,h,o);h!=null&&(u=!1)}}return{row:f,isempty:u}}function PX(e,t){if(e==null||e[`!ref`]==null)return[];var n={t:`n`,v:0},r=0,i=1,a=[],o=0,s=``,c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},u=l.range==null?e[`!ref`]:l.range;switch(l.header===1?r=1:l.header===`A`?r=2:Array.isArray(l.header)?r=3:l.header??(r=0),typeof u){case`string`:c=bq(u);break;case`number`:c=bq(e[`!ref`]),c.s.r=u;break;default:c=u}r>0&&(i=0);var d=pq(c.s.r),f=[],p=[],m=0,h=0,g=e[`!data`]!=null,_=c.s.r,v=0,y={};g&&!e[`!data`][_]&&(e[`!data`][_]=[]);var b=l.skipHidden&&e[`!cols`]||[],x=l.skipHidden&&e[`!rows`]||[];for(v=c.s.c;v<=c.e.c;++v)if(!(b[v]||{}).hidden)switch(f[v]=hq(v),n=g?e[`!data`][_][v]:e[f[v]+d],r){case 1:a[v]=v-c.s.c;break;case 2:a[v]=f[v];break;case 3:a[v]=l.header[v-c.s.c];break;default:if(n??={w:`__EMPTY`,t:`s`},s=o=Sq(n,null,l),h=y[o]||0,!h)y[o]=1;else{do s=o+`_`+h++;while(y[s]);y[o]=h,y[s]=1}a[v]=s}for(_=c.s.r+i;_<=c.e.r;++_)if(!(x[_]||{}).hidden){var S=Pze(e,c,_,f,r,a,l);(S.isempty===!1||(r===1?l.blankrows!==!1:l.blankrows))&&(p[m++]=S.row)}return p.length=m,p}var FX=/"/g;function Fze(e,t,n,r,i,a,o,s,c){for(var l=!0,u=[],d=``,f=pq(n),p=e[`!data`]!=null,m=p&&e[`!data`][n]||[],h=t.s.c;h<=t.e.c;++h)if(r[h]){var g=p?m[h]:e[r[h]+f];if(g==null)d=``;else if(g.v!=null){l=!1,d=``+(c.rawNumbers&&g.t==`n`?g.v:Sq(g,null,c));for(var _=0,v=0;_!==d.length;++_)if((v=d.charCodeAt(_))===i||v===a||v===34||c.forceQuotes){d=`"`+d.replace(FX,`""`)+`"`;break}d==`ID`&&s==0&&u.length==0&&(d=`"ID"`)}else g.f!=null&&!g.F?(l=!1,d=`=`+g.f,d.indexOf(`,`)>=0&&(d=`"`+d.replace(FX,`""`)+`"`)):d=``;u.push(d)}if(c.strip)for(;u[u.length-1]===``;)--u.length;return c.blankrows===!1&&l?null:u.join(o)}function IX(e,t){var n=[],r=t??{};if(e==null||e[`!ref`]==null)return``;for(var i=bq(e[`!ref`]),a=r.FS===void 0?`,`:r.FS,o=a.charCodeAt(0),s=r.RS===void 0?` 168`:r.RS,c=s.charCodeAt(0),l=``,u=[],d=r.skipHidden&&e[`!cols`]||[],f=r.skipHidden&&e[`!rows`]||[],p=i.s.c;p<=i.e.c;++p)(d[p]||{}).hidden||(u[p]=hq(p));for(var m=0,h=i.s.r;h<=i.e.r;++h)(f[h]||{}).hidden||(l=Fze(e,i,h,u,o,c,a,m,r),l!=null&&(l||r.blankrows!==!1)&&n.push((m++?s:``)+l));return n.join(``)}function Ize(e,t){t||={},t.FS=` `,t.RS=` 169`;var n=IX(e,t);return yW===void 0||t.type==`string`?n:`ÿþ`+yW.utils.encode(1200,n,`str`)}function Lze(e,t){var n=``,r,i=``;if(e==null||e[`!ref`]==null)return[];var a=bq(e[`!ref`]),o=``,s=[],c,l=[],u=e[`!data`]!=null;for(c=a.s.c;c<=a.e.c;++c)s[c]=hq(c);for(var d=a.s.r;d<=a.e.r;++d)for(o=pq(d),c=a.s.c;c<=a.e.c;++c)if(n=s[c]+o,r=u?(e[`!data`][d]||[])[c]:e[n],i=``,r!==void 0){if(r.F!=null){if(n=r.F,!r.f)continue;i=r.f,n.indexOf(`:`)==-1&&(n=n+`:`+n)}if(r.f!=null)i=r.f;else if(t&&t.values===!1)continue;else if(r.t==`z`)continue;else if(r.t==`n`&&r.v!=null)i=``+r.v;else if(r.t==`b`)i=r.v?`TRUE`:`FALSE`;else if(r.w!==void 0)i=`'`+r.w;else if(r.v===void 0)continue;else i=r.t==`s`?`'`+r.v:``+r.v;l[l.length]=n+`=`+i}return l}function LX(e,t,n){var r=n||{},i=e?e[`!data`]!=null:r.dense;AW!=null&&i==null&&(i=AW);var a=+!r.skipHeader,o=e||{};!e&&i&&(o[`!data`]=[]);var s=0,c=0;if(o&&r.origin!=null)if(typeof r.origin==`number`)s=r.origin;else{var l=typeof r.origin==`string`?gq(r.origin):r.origin;s=l.r,c=l.c}var u={s:{c:0,r:0},e:{c,r:s+t.length-1+a}};if(o[`!ref`]){var d=bq(o[`!ref`]);u.e.c=Math.max(u.e.c,d.e.c),u.e.r=Math.max(u.e.r,d.e.r),s==-1&&(s=d.e.r+1,u.e.r=s+t.length-1+a)}else s==-1&&(s=0,u.e.r=t.length-1+a);var f=r.header||[],p=0,m=[];t.forEach(function(e,t){i&&!o[`!data`][s+t+a]&&(o[`!data`][s+t+a]=[]),i&&(m=o[`!data`][s+t+a]),NG(e).forEach(function(n){(p=f.indexOf(n))==-1&&(f[p=f.length]=n);var l=e[n],u=`z`,d=``,h=i?``:hq(c+p)+pq(s+t+a),g=i?m[c+p]:o[h];l&&typeof l==`object`&&!(l instanceof Date)?i?m[c+p]=l:o[h]=l:(typeof l==`number`?u=`n`:typeof l==`boolean`?u=`b`:typeof l==`string`?u=`s`:l instanceof Date?(u=`d`,r.UTC||(l=KG(l)),r.cellDates||(u=`n`,l=IG(l)),d=g!=null&&g.z&&CG(g.z)?g.z:r.dateNF||tG[14]):l===null&&r.nullError&&(u=`e`,l=0),g?(g.t=u,g.v=l,delete g.w,delete g.R,d&&(g.z=d)):i?m[c+p]=g={t:u,v:l}:o[h]=g={t:u,v:l},d&&(g.z=d))})}),u.e.c=Math.max(u.e.c,c+f.length-1);var h=pq(s);if(i&&!o[`!data`][s]&&(o[`!data`][s]=[]),a)for(p=0;p<f.length;++p)i?o[`!data`][s][p+c]={t:`s`,v:f[p]}:o[hq(p+c)+h]={t:`s`,v:f[p]};return o[`!ref`]=yq(u),o}function Rze(e,t){return LX(null,e,t)}function RX(e,t,n){if(typeof t==`string`){if(e[`!data`]!=null){var r=gq(t);return e[`!data`][r.r]||(e[`!data`][r.r]=[]),e[`!data`][r.r][r.c]||(e[`!data`][r.r][r.c]={t:`z`})}return e[t]||(e[t]={t:`z`})}return typeof t==`number`?RX(e,hq(n||0)+pq(t)):RX(e,_q(t))}function zze(e,t){if(typeof t==`number`){if(t>=0&&e.SheetNames.length>t)return t;throw Error(`Cannot find sheet # `+t)}if(typeof t==`string`){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw Error(`Cannot find sheet name |`+t+`|`)}throw Error(`Cannot find sheet |`+t+`|`)}function zX(e,t){var n={SheetNames:[],Sheets:{}};return e&&BX(n,e,t||`Sheet1`),n}function BX(e,t,n,r){var i=1;if(!n)for(;i<=65535&&e.SheetNames.indexOf(n=`Sheet`+i)!=-1;++i,n=void 0);if(!n||e.SheetNames.length>=65535)throw Error(`Too many worksheets`);
169if(r&&e.SheetNames.indexOf(n)>=0&&n.length<32){var a=n.match(/\d+$/);i=a&&+a[0]||0;var o=a&&n.slice(0,a.index)||n;for(++i;i<=65535&&e.SheetNames.indexOf(n=o+i)!=-1;++i);}if(vRe(n),e.SheetNames.indexOf(n)>=0)throw Error(`Worksheet with name |`+n+`| already exists!`);return e.SheetNames.push(n),e.Sheets[n]=t,n}function Bze(e,t,n){e.Workbook||={},e.Workbook.Sheets||(e.Workbook.Sheets=[]);var r=zze(e,t);switch(e.Workbook.Sheets[r]||(e.Workbook.Sheets[r]={}),n){case 0:case 1:case 2:break;default:throw Error(`Bad sheet visibility setting `+n)}e.Workbook.Sheets[r].Hidden=n}function Vze(e,t){return e.z=t,e}function VX(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e}function Hze(e,t,n){return VX(e,`#`+t,n)}function Uze(e,t,n){e.c||=[],e.c.push({t,a:n||`SheetJS`})}function Wze(e,t,n,r){for(var i=typeof t==`string`?bq(t):t,a=typeof t==`string`?t:yq(t),o=i.s.r;o<=i.e.r;++o)for(var s=i.s.c;s<=i.e.c;++s){var c=RX(e,o,s);c.t=`n`,c.F=a,delete c.v,o==i.s.r&&s==i.s.c&&(c.f=n,r&&(c.D=!0))}var l=vq(e[`!ref`]);return l.s.r>i.s.r&&(l.s.r=i.s.r),l.s.c>i.s.c&&(l.s.c=i.s.c),l.e.r<i.e.r&&(l.e.r=i.e.r),l.e.c<i.e.c&&(l.e.c=i.e.c),e[`!ref`]=yq(l),e}var Gze={encode_col:hq,encode_row:pq,encode_cell:_q,encode_range:yq,decode_col:mq,decode_row:fq,split_cell:tMe,decode_cell:gq,decode_range:vq,format_cell:Sq,sheet_new:rMe,sheet_add_aoa:wq,sheet_add_json:LX,sheet_add_dom:lX,aoa_to_sheet:Tq,json_to_sheet:Rze,table_to_sheet:uX,table_to_book:nze,sheet_to_csv:IX,sheet_to_txt:Ize,sheet_to_json:PX,sheet_to_html:tze,sheet_to_formulae:Lze,sheet_to_row_object_array:PX,sheet_get_cell:RX,book_new:zX,book_append_sheet:BX,book_set_sheet_visibility:Bze,cell_set_number_format:Vze,cell_set_hyperlink:VX,cell_set_internal_link:Hze,cell_add_comment:Uze,sheet_set_array_formula:Wze,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};gW.version;var Kze=l(o(((e,t)=>{((n,r)=>{typeof define==`function`&&define.amd?define([],r):typeof t==`object`&&e!==void 0?t.exports=r():n.Papa=r()})(e,function e(){var t=typeof self<`u`?self:typeof window<`u`?window:t===void 0?{}:t,n,r=!t.document&&!!t.postMessage,i=t.IS_PAPA_WORKER||!1,a={},o=0,s={};function c(e){return e.charCodeAt(0)===65279?e.slice(1):e}function l(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine=``,this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new m(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){var r=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<r){let t=this._config.newline;t||=(a=this._config.quoteChar||`"`,this._handle.guessLineEndings(e,a)),e=[...e.split(t).slice(r)].join(t)}this.isFirstChunk&&S(this._config.beforeFirstChunk)&&(a=this._config.beforeFirstChunk(e))!==void 0&&(e=a),this.isFirstChunk=!1,this._halted=!1;var r=this._partialLine+e,a=(this._partialLine=``,this._handle.parse(r,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=a.meta.cursor,r=(this._finished||(this._partialLine=r.substring(e-this._baseIndex),this._baseIndex=e),a&&a.data&&(this._rowCount+=a.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),i)t.postMessage({results:a,workerId:s.WORKER_ID,finished:r});else if(S(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=a=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!r||!S(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),r||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){S(this._config.error)?this._config.error(e):i&&this._config.error&&t.postMessage({workerId:s.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e||={}).chunkSize||(e.chunkSize=s.RemoteChunkSize),l.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)),t.open(this._config.downloadRequestBody?`POST`:`GET`,this._input,!r),this._config.downloadRequestHeaders){var e,n=this._config.downloadRequestHeaders;for(e in n)t.setRequestHeader(e,n[e])}var i;this._config.chunkSize&&(i=this._start+this._config.chunkSize-1,t.setRequestHeader(`Range`,`bytes=`+this._start+`-`+i));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&t.status===0&&this._chunkError()}},this._chunkLoaded=function(){t.readyState===4&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>(e=e.getResponseHeader(`Content-Range`))===null?-1:parseInt(e.substring(e.lastIndexOf(`/`)+1)))(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(Error(e))}}function d(e){(e||={}).chunkSize||(e.chunkSize=s.LocalChunkSize),l.call(this,e);var t,n,r=typeof FileReader<`u`;
vendor: 12,595 bytes, lines 169-177
169this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=n.call(e,this._start,i)),t.readAsText(e,this._config.encoding));r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function f(e){var t;l.call(this,e||={}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,n;if(!this._finished)return e=this._config.chunkSize,t=e?(n=t.substring(0,e),t.substring(e)):(n=t,``),this._finished=!t,this.parseChunk(n)}}function p(e){l.call(this,e||={});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on(`data`,this._streamData),this._input.on(`end`,this._streamEnd),this._input.on(`error`,this._streamError)},this._checkIsFinished=function(){r&&t.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=x(function(e){try{t.push(typeof e==`string`?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=x(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=x(function(){this._streamCleanUp(),r=!0,this._streamData(``)},this),this._streamCleanUp=x(function(){this._input.removeListener(`data`,this._streamData),this._input.removeListener(`end`,this._streamEnd),this._input.removeListener(`error`,this._streamError)},this)}function m(e){var t,n,r,i,a=2**53,o=-a,l=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,u=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,d=this,f=0,p=0,m=!1,_=!1,v=[],y={data:[],errors:[],meta:{}};function x(t){return e.skipEmptyLines===`greedy`?t.join(``).trim()===``:t.length===1&&t[0].length===0}function C(){if(y&&r&&(T(`Delimiter`,`UndetectableDelimiter`,`Unable to auto-detect delimiting character; defaulted to '`+s.DefaultDelimiter+`'`),r=!1),e.skipEmptyLines&&(y.data=y.data.filter(function(e){return!x(e)})),w()){if(y)if(Array.isArray(y.data[0])){for(var t=0;w()&&t<y.data.length;t++)y.data[t].forEach(n);y.data.splice(0,1)}else y.data.forEach(n);function n(t,n){t=c(t),S(e.transformHeader)&&(t=e.transformHeader(t,n)),v.push(t)}}function n(t,n){for(var r=e.header?{}:[],i=0;i<t.length;i++){var s=i,c=t[i],c=((t,n)=>(t=>(e.dynamicTypingFunction&&e.dynamicTyping[t]===void 0&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?n===`true`||n===`TRUE`||n!==`false`&&n!==`FALSE`&&((e=>{if(l.test(e)&&(e=parseFloat(e),o<e&&e<a))return 1})(n)?parseFloat(n):u.test(n)?new Date(n):n===``?null:n):n)(s=e.header?i>=v.length?`__parsed_extra`:v[i]:s,c=e.transform?e.transform(c,s):c);s===`__parsed_extra`?(r[s]=r[s]||[],r[s].push(c)):r[s]=c}return e.header&&(i>v.length?T(`FieldMismatch`,`TooManyFields`,`Too many fields: expected `+v.length+` fields but parsed `+i,p+n):i<v.length&&T(`FieldMismatch`,`TooFewFields`,`Too few fields: expected `+v.length+` fields but parsed `+i,p+n)),r}var i;y&&(e.header||e.dynamicTyping||e.transform)&&(i=1,!y.data.length||Array.isArray(y.data[0])?(y.data=y.data.map(n),i=y.data.length):y.data=n(y.data,0),e.header&&y.meta&&(y.meta.fields=v),p+=i)}function w(){return e.header&&v.length===0}function T(e,t,n,r){e={type:e,code:t,message:n},r!==void 0&&(e.row=r),y.errors.push(e)}S(e.step)&&(i=e.step,e.step=function(t){y=t,w()?C():(C(),y.data.length!==0&&(f+=t.data.length,e.preview&&f>e.preview?n.abort():(y.data=y.data[0],i(y,d))))}),this.parse=function(i,a,o){var c=e.quoteChar||`"`,c=(e.newline||=this.guessLineEndings(i,c),r=!1,e.delimiter?S(e.delimiter)&&(e.delimiter=e.delimiter(i),y.meta.delimiter=e.delimiter):((c=((t,n,r,i,a)=>{var o,c,l,u;a||=[`,`,` `,`|`,`;`,s.RECORD_SEP,s.UNIT_SEP];for(var d=0;d<a.length;d++){for(var f,p=a[d],m=0,h=0,_=0,v=(l=void 0,new g({comments:i,delimiter:p,newline:n,preview:10}).parse(t)),y=0;y<v.data.length;y++)r&&x(v.data[y])?_++:(f=v.data[y].length,h+=f,l===void 0?l=f:0<f&&(m+=Math.abs(f-l),l=f));0<v.data.length&&(h/=v.data.length-_),(c===void 0||m<=c)&&(u===void 0||u<h)&&1.99<h&&(c=m,o=p,u=h)}return{successful:!!(e.delimiter=o),bestDelimiter:o}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=c.bestDelimiter:(r=!0,e.delimiter=s.DefaultDelimiter),y.meta.delimiter=e.delimiter),b(e));return e.preview&&e.header&&c.preview++,t=i,n=new g(c),y=n.parse(t,a,o),C(),m?{meta:{paused:!0}}:y||{meta:{paused:!1}}},this.paused=function(){return m},this.pause=function(){m=!0,n.abort(),t=S(e.chunk)?``:t.substring(n.getCharIndex())},this.resume=function(){d.streamer._halted?(m=!1,d.streamer.parseChunk(t,!0)):setTimeout(d.resume,3)},this.aborted=function(){return _},this.abort=function(){_=!0,n.abort(),y.meta.aborted=!0,S(e.complete)&&e.complete(y),t=``},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=RegExp(h(t)+`([^]*?)`+h(t),`gm`),n=(e=e.replace(t,``)).split(`\r`),t=e.split(` 170`),e=1<t.length&&t[0].length<n[0].length;if(n.length===1||e)return` 171`;for(var r=0,i=0;i<n.length;i++)n[i][0]===` 172`&&r++;return r>=n.length/2?`\r 173`:`\r`}}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function g(e){var t=(e||={}).delimiter,n=e.newline,r=e.comments,i=e.step,a=e.preview,o=e.fastMode,l=null,u=!1,d=e.quoteChar==null?`"`:e.quoteChar,f=d;if(e.escapeChar!==void 0&&(f=e.escapeChar),(typeof t!=`string`||-1<s.BAD_DELIMITERS.indexOf(t))&&(t=`,`),r===t)throw Error(`Comment character same as delimiter`);!0===r?r=`#`:(typeof r!=`string`||-1<s.BAD_DELIMITERS.indexOf(r))&&(r=!1),n!==` 174`&&n!==`\r`&&n!==`\r 175`&&(n=` 176`);var p=0,m=!1;this.parse=function(s,g,_){if(typeof s!=`string`)throw Error(`Input must be a string`);var v=s.length,y=t.length,b=n.length,x=r.length,C=S(i),w=[],T=[],E=[],D=p=0;if(!s)return z();if(o||!1!==o&&s.indexOf(d)===-1){for(var O=s.split(n),k=0;k<O.length;k++){if(E=O[k],p+=E.length,k!==O.length-1)p+=n.length;else if(_)return z();if(!r||E.substring(0,x)!==r){if(C){if(w=[],F(E.split(t)),B(),m)return z()}else F(E.split(t));if(a&&a<=k)return w=w.slice(0,a),z(!0)}}return z()}for(var A=s.indexOf(t,p),j=s.indexOf(n,p),M=new RegExp(h(f)+h(d),`g`),N=s.indexOf(d,p);;)if(s[p]===d)for(N=p,p++;;){if((N=s.indexOf(d,N+1))===-1)return _||T.push({type:`Quotes`,code:`MissingQuotes`,message:`Quoted field unterminated`,row:w.length,index:p}),L();if(N===v-1)return L(s.substring(p,N).replace(M,d));if(d===f&&s[N+1]===f)N++;else if(d===f||N===0||s[N-1]!==f){A!==-1&&A<N+1&&(A=s.indexOf(t,N+1));var P=I((j=j!==-1&&j<N+1?s.indexOf(n,N+1):j)===-1?A:Math.min(A,j));if(s.substr(N+1+P,y)===t){E.push(s.substring(p,N).replace(M,d)),s[p=N+1+P+y]!==d&&(N=s.indexOf(d,p)),A=s.indexOf(t,p),j=s.indexOf(n,p);break}if(P=I(j),s.substring(N+1+P,N+1+P+b)===n){if(E.push(s.substring(p,N).replace(M,d)),R(N+1+P+b),A=s.indexOf(t,p),N=s.indexOf(d,p),C&&(B(),m))return z();if(a&&w.length>=a)return z(!0);break}T.push({type:`Quotes`,code:`InvalidQuotes`,message:`Trailing quote on quoted field is malformed`,row:w.length,index:p}),N++}}else if(r&&E.length===0&&s.substring(p,p+x)===r){if(j===-1)return z();p=j+b,j=s.indexOf(n,p),A=s.indexOf(t,p)}else if(A!==-1&&(A<j||j===-1))E.push(s.substring(p,A)),p=A+y,A=s.indexOf(t,p);else{if(j===-1)break;if(E.push(s.substring(p,j)),R(j+b),C&&(B(),m))return z();if(a&&w.length>=a)return z(!0)}return L();function F(e){w.push(e),D=p}function I(e){var t=0;return t=e!==-1&&(e=s.substring(N+1,e))&&e.trim()===``?e.length:t}function L(e){return _||(e===void 0&&(e=s.substring(p)),E.push(e),p=v,F(E),C&&B()),z()}function R(e){p=e,F(E),E=[],j=s.indexOf(n,p)}function z(r){if(e.header&&!g&&w.length&&!u){var i=w[0],a=Object.create(null),o=new Set(i);let t=!1;for(let n=0;n<i.length;n++){let r=c(i[n]);if(a[r=S(e.transformHeader)?e.transformHeader(r,n):r]){let e,s=a[r];for(;e=r+`_`+s,s++,o.has(e););o.add(e),i[n]=e,a[r]++,t=!0,(l=l===null?{}:l)[e]=r}else a[r]=1,i[n]=r;o.add(r)}t&&console.warn(`Duplicate headers found and renamed.`),u=!0}return{data:w,errors:T,meta:{delimiter:t,linebreak:n,aborted:m,truncated:!!r,cursor:D+(g||0),renamedHeaders:l}}}function B(){i(z()),w=[],T=[]}},this.abort=function(){m=!0},this.getCharIndex=function(){return p}}function _(e){var t=e.data,n=a[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,v(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(S(n.userStep)){for(var o=0;o<t.results.data.length&&(n.userStep({data:t.results.data[o],errors:t.results.errors,meta:t.results.meta},i),!r);o++);delete t.results}else S(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&v(t.workerId,t.results)}function v(e,t){var n=a[e];S(n.userComplete)&&n.userComplete(t),n.terminate(),delete a[e]}function y(){throw Error(`Not implemented.`)}function b(e){if(typeof e!=`object`||!e)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=b(e[t]);return n}function x(e,t){return function(){e.apply(t,arguments)}}function S(e){return typeof e==`function`}return s.parse=function(n,r){var i=(r||={}).dynamicTyping||!1;if(S(i)&&(r.dynamicTypingFunction=i,i={}),r.dynamicTyping=i,r.transform=!!S(r.transform)&&r.transform,!r.worker||!s.WORKERS_SUPPORTED)return i=null,s.NODE_STREAM_INPUT,typeof n==`string`?(n=c(n),i=new(r.download?u:f)(r)):!0===n.readable&&S(n.read)&&S(n.on)?i=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(i=new d(r)),i.stream(n);(i=(()=>{var n;return!!s.WORKERS_SUPPORTED&&(n=(()=>{var n=t.URL||t.webkitURL||null,r=e.toString();return s.BLOB_URL||=n.createObjectURL(new Blob([`var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; `,`(`,r,`)();`],{type:`text/javascript`}))})(),(n=new t.Worker(n)).onmessage=_,n.id=o++,a[n.id]=n)})()).userStep=r.step,i.userChunk=r.chunk,i.userComplete=r.complete,i.userError=r.error,r.step=S(r.step),r.chunk=S(r.chunk),r.complete=S(r.complete),r.error=S(r.error),delete r.worker,i.postMessage({input:n,config:r,workerId:i.id})},s.unparse=function(e,t){var n=!1,r=!0,i=`,`,a=`\r 177`,o=`"`,c=o+o,l=!1,u=null,d=!1,f=((()=>{if(typeof t==`object`){if(typeof t.delimiter!=`string`||s.BAD_DELIMITERS.filter(function(e){return t.delimiter.indexOf(e)!==-1}).length||(i=t.delimiter),typeof t.quotes!=`boolean`&&typeof t.quotes!=`function`&&!Array.isArray(t.quotes)||(n=t.quotes),typeof t.skipEmptyLines!=`boolean`&&typeof t.skipEmptyLines!=`string`||(l=t.skipEmptyLines),typeof t.newline==`string`&&(a=t.newline),typeof t.quoteChar==`string`&&(o=t.quoteChar,c=o+o),typeof t.header==`boolean`&&(r=t.header),Array.isArray(t.columns)){if(t.columns.length===0)throw Error(`Option columns is empty`);u=t.columns}t.escapeChar!==void 0&&(c=t.escapeChar+o),t.escapeFormulae instanceof RegExp?d=t.escapeFormulae:typeof t.escapeFormulae==`boolean`&&t.escapeFormulae&&(d=/^[=+\-@\t\r].*$/)}})(),new RegExp(h(o),`g`));if(typeof e==`string`&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return p(null,e,l);if(typeof e[0]==`object`)return p(u||Object.keys(e[0]),e,l)}else if(typeof e==`object`)return typeof e.data==`string`&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:typeof e.data[0]==`object`?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||typeof e.data[0]==`object`||(e.data=[e.data])),p(e.fields||[],e.data||[],l);throw Error(`Unable to serialize unrecognized input`);function p(e,t,n){var o=``,s=(typeof e==`string`&&(e=JSON.parse(e)),typeof t==`string`&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),c=!Array.isArray(t[0]);if(s&&r){for(var l=0;l<e.length;
177l++)0<l&&(o+=i),o+=m(e[l],l);0<t.length&&(o+=a)}for(var u=0;u<t.length;u++){var d=(s?e:t[u]).length,f=!1,p=s?Object.keys(t[u]).length===0:t[u].length===0;if(n&&!s&&(f=n===`greedy`?t[u].join(``).trim()===``:t[u].length===1&&t[u][0].length===0),n===`greedy`&&s){for(var h=[],g=0;g<d;g++){var _=c?e[g]:g;h.push(t[u][_])}f=h.join(``).trim()===``}if(!f){for(var v=0;v<d;v++){0<v&&!p&&(o+=i);var y=s&&c?e[v]:v;o+=m(t[u][y],v)}u<t.length-1&&(!n||0<d&&!p)&&(o+=a)}}return o}function m(e,t){var r,a,l;return e==null?``:e.constructor===Date?JSON.stringify(e).slice(1,25):(l=!1,d&&typeof e==`string`&&d.test(e)&&(e=`'`+e,l=!0),a=(r=e.toString()).replace(f,c),(l=l||!0===n||typeof n==`function`&&n(e,t)||Array.isArray(n)&&n[t]||((e,t)=>{for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1})(a,s.BAD_DELIMITERS)||-1<a.indexOf(i)||-1<r.indexOf(o)||a.charAt(0)===` `||a.charAt(a.length-1)===` `)?o+a+o:a)}},s.RECORD_SEP=`�`,s.UNIT_SEP=`�`,s.BYTE_ORDER_MARK=``,s.BAD_DELIMITERS=[`\r`,` 178`,`"`,s.BYTE_ORDER_MARK],s.WORKERS_SUPPORTED=!r&&!!t.Worker,s.NODE_STREAM_INPUT=1,s.LocalChunkSize=10485760,s.RemoteChunkSize=5242880,s.DefaultDelimiter=`,`,s.Parser=g,s.ParserHandle=m,s.NetworkStreamer=u,s.FileStreamer=d,s.StringStreamer=f,s.ReadableStreamStreamer=p,t.jQuery&&((n=t.jQuery).fn.parse=function(e){var r=e.config||{},i=[];return this.each(function(e){if(!(n(this).prop(`tagName`).toUpperCase()===`INPUT`&&n(this).attr(`type`).toLowerCase()===`file`&&t.FileReader)||!this.files||this.files.length===0)return!0;for(var a=0;a<this.files.length;a++)i.push({file:this.files[a],inputElem:this,instanceConfig:n.extend({},r)})}),a(),this;function a(){if(i.length===0)S(e.complete)&&e.complete();else{var t,r,a,c,l=i[0];if(S(e.before)){var u=e.before(l.file,l.inputElem);if(typeof u==`object`){if(u.action===`abort`)return t=`AbortError`,r=l.file,a=l.inputElem,c=u.reason,void(S(e.error)&&e.error({name:t},r,a,c));if(u.action===`skip`)return void o();typeof u.config==`object`&&(l.instanceConfig=n.extend(l.instanceConfig,u.config))}else if(u===`skip`)return void o()}var d=l.instanceConfig.complete;l.instanceConfig.complete=function(e){S(d)&&d(e,l.file,l.inputElem),o()},s.parse(l.file,l.instanceConfig)}}function o(){i.splice(0,1),a()}}),i&&(t.onmessage=function(e){e=e.data,s.WORKER_ID===void 0&&e&&(s.WORKER_ID=e.workerId),typeof e.input==`string`?t.postMessage({workerId:s.WORKER_ID,results:s.parse(e.input,e.config),finished:!0}):(t.File&&e.input instanceof File||e.input instanceof Object)&&(e=s.parse(e.input,e.config))&&t.postMessage({workerId:s.WORKER_ID,results:e,finished:!0})}),(u.prototype=Object.create(l.prototype)).constructor=u,(d.prototype=Object.create(l.prototype)).constructor=d,(f.prototype=Object.create(f.prototype)).constructor=f,(p.prototype=Object.create(l.prototype)).constructor=p,s})}))(),1),qze={[$U.CSV]:ab,[$U.XLS]:ab,[$U.XLSX]:ab,[$U.JSON]:rb,[$U.XML]:ib},Jze={[$U.CSV]:`text-brand bg-brand/10`,[$U.XLS]:`text-status-passed-fg bg-status-passed-bg`,[$U.XLSX]:`text-status-passed-fg bg-status-passed-bg`,[$U.JSON]:`text-status-pending-fg bg-status-pending-bg`,[$U.XML]:`text-status-error-fg bg-status-error-bg`},Yze={[$U.CSV]:`text-brand`,[$U.XLS]:`text-status-passed-fg`,[$U.XLSX]:`text-status-passed-fg`,[$U.JSON]:`text-status-pending-fg`,[$U.XML]:`text-status-error-fg`};function Xze({open:e,source:t,onClose:n}){let r=X(`pages.tools.dataSources`),i=`${t.fileLocation}:${t.dataFormat}`,a=qze[t.dataFormat];return(0,U.jsx)(xT,{open:e,onOpenChange:e=>!e&&n(),children:(0,U.jsxs)(ST,{className:`flex max-h-[85vh] flex-col sm:max-w-[90vw]`,children:[(0,U.jsx)(CT,{children:(0,U.jsxs)(TT,{className:`flex items-center gap-2`,children:[a&&(0,U.jsx)(a,{className:W(`size-4.5`,Yze[t.dataFormat])}),(0,U.jsx)(`span`,{children:r(`quickViewTitle`,{name:t.name,format:t.dataFormat})}),(0,U.jsx)(`span`,{className:W(`ml-1 inline-flex items-center rounded-md px-1.5 py-0.5 font-mono text-[10px] font-bold`,Jze[t.dataFormat]),children:t.dataFormat})]})}),e?(0,U.jsx)(Zze,{source:t},i):null]})})}function Zze({source:e}){let t=X(`pages.tools.dataSources`),[n,r]=(0,O.useState)({status:`loading`}),{fileLocation:i,dataFormat:a}=e;(0,O.useEffect)(()=>{let e=!0;return Qze(i,a).then(t=>{e&&r(t)}).catch(()=>{e&&r({status:`error`,message:t(`quickViewError`)})}),()=>{e=!1}},[i,a,t]);let o=n.status===`table`?{rows:Math.max(0,n.rows.length-1),cols:n.rows.reduce((e,t)=>
178Math.max(e,t.length),0)}:n.status===`json`?{lines:n.text.split(` 179`).length}:null;return(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[(0,U.jsxs)(`div`,{className:`min-h-0 flex-1 overflow-auto`,children:[n.status===`loading`&&(0,U.jsx)(`div`,{className:`text-muted-foreground flex items-center justify-center py-20 text-sm`,children:t(`quickViewLoading`)}),n.status===`error`&&(0,U.jsx)(`div`,{className:`text-destructive flex items-center justify-center py-20 text-sm`,children:n.message}),n.status===`empty`&&(0,U.jsx)(`div`,{className:`text-muted-foreground flex items-center justify-center py-20 text-sm`,children:t(`quickViewEmpty`)}),n.status===`table`&&(0,U.jsx)($ze,{rows:n.rows}),n.status===`json`&&(0,U.jsx)(`pre`,{className:`bg-surface-alt border-border overflow-auto rounded-lg border p-4 font-mono text-xs leading-relaxed`,children:n.text}),n.status===`raw`&&(0,U.jsxs)(`div`,{children:[n.fallback&&(0,U.jsx)(`p`,{className:`text-muted-foreground mb-2 text-xs`,children:t(`quickViewRawFallback`)}),(0,U.jsx)(`pre`,{className:`bg-surface-alt border-border overflow-auto rounded-lg border p-4 font-mono text-xs leading-relaxed break-all whitespace-pre-wrap`,children:n.text})]})]}),o&&(0,U.jsxs)(`div`,{className:`border-divider text-muted-foreground flex items-center gap-3 border-t pt-2 text-[11px]`,children:[`rows`in o&&(0,U.jsx)(U.Fragment,{children:(0,U.jsxs)(`span`,{children:[t(`quickViewRows`,{count:o.rows}),` · `,t(`quickViewCols`,{count:o.cols})]})}),`lines`in o&&(0,U.jsx)(`span`,{children:t(`quickViewLines`,{count:o.lines})})]})]})}async function Qze(e,t){let n=await rW.downloadFile(e);if(n.size===0)return{status:`empty`};if(t===$U.XLS||t===$U.XLSX){let e=await n.arrayBuffer(),t=NX(new Uint8Array(e),{type:`array`}),r=t.Sheets[t.SheetNames[0]],i=Gze.sheet_to_json(r,{header:1,raw:!1,defval:``}).map(e=>e.map(e=>{if(typeof e!=`string`)return e;let t=e.match(/^(\d{1,4})\/(\d{1,2})\/(\d{2,4})$/);if(!t)return e;let n=t[3].length===2?`20`+t[3]:t[3];return`${t[2]}.${t[1]}.${n}`}));return i.length===0?{status:`empty`}:{status:`table`,rows:i}}let r=await n.text();if(!r.trim())return{status:`empty`};if(t===$U.JSON)try{let e=JSON.parse(r);return{status:`json`,text:JSON.stringify(e,null,2)}}catch{return{status:`raw`,text:r,fallback:!0}}if(t===$U.CSV)try{let e=Kze.default.parse(r.trim(),{skipEmptyLines:!0});return e.errors.length===0&&e.data.length>0?{status:`table`,rows:e.data}:{status:`raw`,text:r,fallback:!0}}catch{return{status:`raw`,text:r,fallback:!0}}return{status:`raw`,text:r}}function $ze({rows:e}){let t=e.reduce((e,t)=>Math.max(e,t.length),0);return(0,U.jsx)(`div`,{className:`border-border overflow-auto rounded-lg border`,children:(0,U.jsxs)(`table`,{className:`w-full border-collapse font-mono text-xs`,children:[(0,U.jsx)(`thead`,{children:e.length>0&&(0,U.jsxs)(`tr`,{children:[(0,U.jsx)(`th`,{className:`bg-surface-alt text-fg-hint border-border sticky top-0 border-b px-2 py-2 text-center text-[10px] font-medium`,children:`#`}),Array.from({length:t},(t,n)=>(0,U.jsx)(`th`,{className:`bg-surface-alt text-fg-strong border-border sticky top-0 border-b px-3 py-2 text-left text-[11px] font-semibold`,children:e[0]?.[n]??``},n))]})}),(0,U.jsx)(`tbody`,{children:e.slice(1).map((e,n)=>(0,U.jsxs)(`tr`,{className:W(`hover:bg-violet-pale/30 transition-colors`,n%2==1&&`bg-surface-alt/30`),children:[(0,U.jsx)(`td`,{className:`border-border text-fg-hint border-b px-2 py-1.5 text-center text-[10px] tabular-nums`,children:n+1}),Array.from({length:t},(t,n)=>(0,U.jsx)(`td`,{className:`border-border text-fg-body border-b px-3 py-1.5 text-[11px]`,children:e[n]??``},n))]},n))})]})})}var eBe=[10,25,50],HX={[$U.CSV]:`text-brand bg-brand/10`,[$U.XLS]:`text-status-passed-fg bg-status-passed-bg`,[$U.XLSX]:`text-status-passed-fg bg-status-passed-bg`,[$U.JSON]:`text-status-pending-fg bg-status-pending-bg`,[$U.XML]:`text-status-error-fg bg-status-error-bg`};function tBe(e){return e?XT(e):`-`}var nBe={violet:`bg-violet-pale text-violet`,green:`bg-status-passed-bg text-status-passed-fg`,blue:`bg-status-pending-bg text-status-pending-fg`,orange:`bg-status-error-bg text-status-error-fg`};function UX({icon:e,label:t,value:n,tone:r=`violet`}){return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-1.5 rounded-xl border-[0.5px] p-3.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t}),(0,U.jsx)(`span`,{className:W(`grid size-[18px] place-items-center rounded-[5px]`,nBe[r]),children:(0,U.jsx)(e,{className:`size-3`})})]}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[22px] leading-none font-bold tracking-[-0.02em] tabular-nums`,children:n})]})}function rBe(){let e=X(`pages.tools.dataSources`),{activeCompanyID:t,activeTeamID:n,loading:r}=NT(),i=tW(t,n,!r&&!!t&&!!n),a=xAe(t,n),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)({}),[u,d]=(0,O.useState)({key:`created`,dir:`desc`}),[f,p]=(0,O.useState)(1),[m,h]=(0,O.useState)(10),[g,_]=(0,O.useState)(null),[v,y]=(0,O.useState)(null),[b,x]=(0,O.useState)(null),S=(0,O.useMemo)(()=>i.data??[],[i.data]),C=(0,O.useMemo)(()=>{let e=S.filter(e=>!e.httpRequestId).length,t=S.filter(e=>e.httpRequestId).length,n=new Set(S.map(e=>e.dataFormat)).size;return{total:S.length,fileCount:e,httpCount:t,formats:n}},[S]),w=(0,O.useMemo)(()=>{let e=o.trim().toLowerCase(),t=c.format??[],n=c.source??[],r=S.filter(r=>{let i=!e||r.name.toLowerCase().includes(e)||(r.description??``).toLowerCase().includes(e),a=t.length===0||t.includes(r.dataFormat),o=r.httpRequestId?`http`:`file`,s=n.length===0||n.includes(o);return i&&a&&s}),i=u.dir===`asc`?1:-1;return[...r].sort((e,t)=>
179{switch(u.key){case`name`:return e.name.localeCompare(t.name)*i;case`format`:return e.dataFormat.localeCompare(t.dataFormat)*i;default:return((e.creationTime??0)-(t.creationTime??0))*i}})},[S,o,c,u]),T=w.length,E=(0,O.useMemo)(()=>w.slice((f-1)*m,f*m),[w,f,m]);function D(){p(1)}async function k(t){try{let n=await rW.downloadFile(t.fileLocation),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=`${t.name}.${t.dataFormat.toLowerCase()}`,document.body.appendChild(i),i.click(),URL.revokeObjectURL(r),document.body.removeChild(i),G.success(e(`downloaded`))}catch{G.error(e(`downloadFailed`))}}function A(t){return[...!t.httpRequestId&&t.fileLocation?[{label:e(`actQuickView`),icon:nb,onSelect:()=>x(t)},{label:e(`actDownload`),icon:Qy,onSelect:()=>k(t)}]:[],{label:e(`actEdit`),icon:jb,onSelect:()=>y({mode:`edit`,source:t})},{label:e(`actCopyId`),icon:Yy,disabled:!t.id,onSelect:()=>{t.id&&(navigator.clipboard.writeText(t.id).catch(()=>{}),G.success(e(`copiedId`)))}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,disabled:!t.id,onSelect:()=>_(t)}]}function j(){let t=g;t?.id&&a.mutate(t.id,{onSuccess:()=>{G.success(e(`deleted`)),_(null)},onError:()=>G.error(e(`deleteFailed`))})}let M=[{key:`format`,header:e(`colFormat`),width:`80px`,sortable:!0,cell:e=>{let t=!e.httpRequestId&&!!e.fileLocation;return(0,U.jsxs)(`span`,{className:`inline-flex w-full items-center justify-between`,children:[(0,U.jsx)(`span`,{className:W(`inline-flex w-fit items-center justify-center rounded-md px-1.5 py-0.5 font-mono text-[10px] font-bold`,HX[e.dataFormat]),children:e.dataFormat}),t&&(0,U.jsx)(`button`,{type:`button`,className:`text-muted-foreground hover:text-fg-strong transition-colors`,onClick:t=>{t.stopPropagation(),x(e)},children:(0,U.jsx)(nb,{className:`size-3.5`})})]})}},{key:`name`,header:e(`colName`),width:`1.9fr`,sortable:!0,cell:e=>(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:e.name}),e.description&&(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[11px]`,children:e.description})]})},{key:`source`,header:e(`colSource`),width:`1.6fr`,cell:t=>{if(t.httpRequestId)return(0,U.jsxs)(`span`,{className:`text-violet bg-violet-pale inline-flex w-fit items-center gap-1.5 rounded-md px-2 py-[3px] text-[11px] font-medium`,children:[(0,U.jsx)(ub,{className:`size-3`}),e(`sourceHttp`)]});let n=AAe(t.dataFormat);return(0,U.jsx)(dy,{content:`(${t.dataFormat}) ${hW(t.fileLocation)}`,side:`top`,children:(0,U.jsxs)(`span`,{className:`text-fg-body inline-flex min-w-0 items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(n,{className:W(`size-3.5 shrink-0`,HX[t.dataFormat]?.split(` `)[0]??`text-muted-foreground`)}),(0,U.jsx)(`span`,{className:`text-muted-foreground truncate font-mono text-[10.5px]`,children:hW(t.fileLocation)})]})})}},{key:`created`,header:e(`colCreated`),width:`1fr`,sortable:!0,cell:e=>(0,U.jsxs)(`div`,{className:`flex flex-col text-[11.5px] tabular-nums`,children:[(0,U.jsx)(`span`,{className:`text-fg-body`,children:tBe(e.creationTime)}),e.createdBy&&(0,U.jsx)(`span`,{className:`text-muted-foreground text-[10.5px]`,children:e.createdBy})]})}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[560px] text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsxs)(Z,{size:`sm`,onClick:()=>y({mode:`create`,source:null}),children:[(0,U.jsx)(Pb,{}),e(`newSource`)]})]}),(0,U.jsx)(QU,{query:i,isEmpty:e=>e.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(Zy,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`),action:(0,U.jsxs)(Z,{onClick:()=>y({mode:`create`,source:null}),children:[(0,U.jsx)(Pb,{}),e(`emptyCta`)]})}),children:()=>(0,U.jsxs)(UU,{children:[(0,U.jsxs)(`div`,{className:`mb-3 grid grid-cols-2 gap-2.5 lg:grid-cols-4`,children:[(0,U.jsx)(UX,{icon:Zy,label:e(`kpiTotal`),value:ZT(C.total),tone:`violet`}),(0,U.jsx)(UX,{icon:ob,label:e(`kpiFile`),value:ZT(C.fileCount),tone:`blue`}),(0,U.jsx)(UX,{icon:ub,label:e(`kpiHttp`),value:ZT(C.httpCount),tone:`green`}),(0,U.jsx)(UX,{icon:Zy,label:e(`kpiFormats`),value:ZT(C.formats),tone:`orange`})]}),(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:o,onChange:e=>{s(e),D()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`}),(0,U.jsx)(ZU,{label:e(`filterFormat`),value:c,onChange:e=>{l(e),D()},groups:[{key:`format`,label:e(`colFormat`),options:[$U.CSV,$U.XLS,$U.XLSX,$U.JSON,$U.XML].map(e=>({value:e,label:e}))},{key:`source`,label:e(`colSource`),options:[{value:`file`,label:e(`sourceFile`)},{value:`http`,label:e(`sourceHttp`)}]}]})]}),E.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{s(``),l({}),D()},children:e(`resetFilters`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:M,rows:E,rowKey:e=>e.id??e.name,density:`compact`,sort:u,onSortChange:e=>{d(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`asc`}),D()},onRowClick:e=>y({mode:`edit`,source:e}),rowActions:A,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:f,pageSize:m,total:T,pageSizeOptions:eBe,onPageChange:p,onPageSizeChange:e=>{h(e),D()},itemLabel:e(`rowsSources`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),v&&(0,U.jsx)(NAe,{open:!0,mode:v.mode,initial:v.source,companyId:t,teamId:n,onClose:()=>y(null)}),(0,U.jsx)(xT,{open:!!g,onOpenChange:e=>!e&&_(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`deleteTitle`)}),(0,U.jsx)(ET,{children:e(`deleteMessage`,{name:g?.name??``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>_(null),disabled:a.isPending,children:e(`deleteCancel`)}),(0,U.jsxs)(Z,{variant:`destructive`,onClick:j,disabled:a.isPending,children:[(0,U.jsx)($b,{}),e(`deleteConfirm`)]})]})]})}),b&&(0,U.jsx)(Xze,{open:!0,source:b,onClose:()=>x(null)})]})}function iBe(){return(0,U.jsx)(rBe,{})}function WX(e){let t=0,n=0;for(let r of e)if(r.kind===`dir`){t+=1;let e=WX(r.children??[]);t+=e.dirs,n+=e.items}else n+=1;return{dirs:t,items:n}}var GX=`72px minmax(0,1.9fr) 140px 140px 90px 56px`,KX=`text-[10.5px] font-semibold tracking-[0.08em] uppercase`;function qX({label:e,sortKey:t,sort:n,onSortChange:r}){if(!r)return(0,U.jsx)(`div`,{className:W(`text-muted-foreground`,KX),children:e});let i=n?.key===t;return(0,U.jsxs)(`button`,{type:`button`,onClick:()=>r(t),className:W(`hover:text-fg-strong inline-flex cursor-pointer items-center gap-1`,i?`text-fg-strong`:`text-muted-foreground`,KX),children:[e,i?n.dir===`asc`?(0,U.jsx)(Ry,{className:`text-violet size-2.5`}):(0,U.jsx)(Fy,{className:`text-violet size-2.5`}):(0,U.jsx)(zy,{className:`size-2.5 opacity-45`})]})}function JX({nodes:e,headers:t,itemIcon:n,dirIcon:r,renderItemName:i,renderDirName:a,rowActions:o,defaultExpandedIds:s=[],sort:c,onSortChange:l,className:u}){let[d,f]=(0,O.useState)(()=>new Set(s)),p=e=>f(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n});function m(e,t){return e.flatMap(e=>{let s=e.kind===`dir`,c=d.has(e.id),l=[(0,U.jsxs)(`div`,{role:`row`,onClick:s?()=>p(e.id):void 0,className:W(`border-divider grid min-h-[48px] items-center gap-2.5 border-b px-[18px] transition-colors last:border-b-0`,s?`bg-surface-alt/35 hover:bg-surface-alt/60 cursor-pointer`:`hover:bg-surface-hover`),style:{gridTemplateColumns:GX},children:[(0,U.jsx)(`div`,{className:`flex items-center`,style:{paddingLeft:t*28},children:(0,U.jsx)(`span`,{className:W(`grid size-[30px] place-items-center rounded-lg border-[0.5px]`,s?`border-[#cfe9e4] bg-[#f1faf8] text-[#0e8a80]`:`bg-violet-pale text-violet border-violet-light`),children:s?r:n})}),(0,U.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2.5`,children:[s?(0,U.jsx)(`button`,{type:`button`,onClick:t=>{t.stopPropagation(),p(e.id)},"aria-label":c?`Collapse`:`Expand`,className:W(`text-muted-foreground hover:bg-surface-hover hover:text-fg-strong grid size-[18px] shrink-0 place-items-center rounded transition-transform`,c&&`text-fg-strong rotate-90`),children:(0,U.jsx)(Ly,{className:`size-3`,strokeWidth:2.2})}):(0,U.jsx)(`span`,{className:`size-[18px] shrink-0`}),s?(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 truncate text-[13px] font-semibold`,children:a?a(e):e.name}):(0,U.jsx)(`span`,{className:`min-w-0 truncate text-[13px]`,children:i?i(e):e.name}),s&&(0,U.jsx)(`span`,{className:`text-fg-hint bg-surface-alt shrink-0 rounded-full px-2 py-0.5 text-[11px] tabular-nums`,children:e.children?.length??0})]}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-[12px]`,children:e.date??`-`}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-[12px]`,children:e.updated||`-`}),(0,U.jsx)(`div`,{className:`text-fg-strong text-[13px] font-medium tabular-nums`,children:s?e.children?.length??0:``}),(0,U.jsx)(`div`,{className:`flex justify-end`,onClick:e=>e.stopPropagation(),children:o&&(0,U.jsx)(GU,{items:o(e)})})]},e.id)];return s&&c&&e.children?.length&&l.push(...m(e.children,t+1)),l})}return(0,U.jsxs)(`div`,{className:W(`bg-surface border-border overflow-hidden rounded-xl border-[0.5px] shadow-sm`,u),children:[(0,U.jsxs)(`div`,{className:`bg-background border-divider grid h-[38px] items-center gap-2.5 border-b px-[18px]`,style:{gridTemplateColumns:GX},role:`row`,children:[(0,U.jsx)(`div`,{className:`text-muted-foreground text-[10.5px] font-semibold tracking-[0.08em] uppercase`,children:t.type}),(0,U.jsx)(qX,{label:t.name,sortKey:`name`,sort:c,onSortChange:l}),(0,U.jsx)(qX,{label:t.date,sortKey:`date`,sort:c,onSortChange:l}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-[10.5px] font-semibold tracking-[0.08em] uppercase`,children:t.updated}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-[10.5px] font-semibold tracking-[0.08em] uppercase`,children:t.count}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-right text-[10.5px] font-semibold tracking-[0.08em] uppercase`,children:t.actions})]}),m(e,0)]})}function YX(e,t){if(!t)return e;let n=t.dir===`asc`?1:-1;return e.map(e=>e.children?.length?{...e,children:YX(e.children,t)}:e).sort((e,r)=>(t.key===`date`?(e.dateTs??0)-(r.dateTs??0):e.name.localeCompare(r.name))*n)}function aBe(e){let t=new Map;for(let n of e){let e=t.get(n.parentId)??[];e.push(n),t.set(n.parentId,e)}for(let e of t.values())e.sort((e,t)=>
179e.name.localeCompare(t.name));let n=e=>(t.get(e)??[]).map(e=>({...e,children:n(e.id)}));return n(null)}function oBe(e,t){let n=new Set,r=new Map(e.map(e=>[e.id,e])),i=t?r.get(t):void 0;for(;i&&i.parentId;)n.add(i.parentId),i=r.get(i.parentId);return n}function XX({directories:e,selectedId:t,labels:n,onSelect:r,onCreate:i,onRename:a,onDelete:o,onClose:s}){let c=(0,O.useMemo)(()=>aBe(e),[e]),[l,u]=(0,O.useState)(``),d=(0,O.useMemo)(()=>{let n={};return oBe(e,t).forEach(e=>n[e]=!0),n},[e,t]),[f,p]=(0,O.useState)(d),[m,h]=(0,O.useState)(void 0),[g,_]=(0,O.useState)(``),[v,y]=(0,O.useState)(null),[b,x]=(0,O.useState)(``),S=(0,O.useRef)(null);(0,O.useEffect)(()=>{function e(e){S.current&&!S.current.contains(e.target)&&s()}function t(e){e.key===`Escape`&&s()}return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[s]);let C=l.trim().toLowerCase(),w=(0,O.useMemo)(()=>{if(!C)return null;let t=new Set(e.filter(e=>e.name.toLowerCase().includes(C)).map(e=>e.id)),n=new Set(t),r=new Map(e.map(e=>[e.id,e]));return t.forEach(e=>{let t=r.get(e);for(;t&&t.parentId;)n.add(t.parentId),t=r.get(t.parentId)}),n},[C,e]);function T(e){p(t=>({...t,[e]:!t[e]}))}function E(e){h(e),_(``),e&&p(t=>({...t,[e]:!0}))}async function D(){let e=g.trim();if(!e||m===void 0)return;let t=await i({name:e,parentId:m});m!==null&&p(e=>({...e,[m]:!0})),h(void 0),_(``),r(t.id)}function k(){h(void 0),_(``)}
179function A(e){y(e.id),x(e.name)}function j(){if(!v)return;let e=b.trim();e&&a(v,e),y(null),x(``)}function M(){y(null),x(``)}function N(e,i){if(w&&!w.has(e.id))return null;let a=!!f[e.id]||(w?.has(e.id)??!1),s=t===e.id;return(0,U.jsxs)(`div`,{children:[(0,U.jsxs)(`div`,{className:W(`group flex items-center gap-1.5 rounded-md px-1.5 py-1 text-[12px]`,s?`bg-brand/10 text-brand-deep`:`text-foreground hover:bg-surface-hover`),style:{paddingLeft:6+i*14},children:[(0,U.jsx)(`button`,{type:`button`,onClick:()=>T(e.id),"aria-label":a?`Collapse`:`Expand`,className:W(`text-muted-foreground hover:text-foreground flex size-4 items-center justify-center rounded transition-transform`,e.children.length===0&&`invisible`,a&&`rotate-90`),children:(0,U.jsx)(Ly,{className:`size-3`,strokeWidth:2.2})}),(0,U.jsx)(lb,{className:`size-3 shrink-0`,strokeWidth:1.7}),v===e.id?(0,U.jsx)(`input`,{autoFocus:!0,value:b,onChange:e=>x(e.target.value),onKeyDown:e=>{e.key===`Enter`&&j(),e.key===`Escape`&&M()},onBlur:j,className:`border-border bg-background min-w-0 flex-1 rounded border px-1.5 py-0.5 text-[12px] outline-none`}):(0,U.jsx)(dy,{content:`Double-click to rename`,children:(0,U.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,onDoubleClick:()=>A(e),children:e.name})}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>r(e.id),className:W(`shrink-0 rounded px-1.5 py-0.5 text-[10px] font-medium opacity-0 transition group-hover:opacity-100`,s?`bg-brand/10 text-brand-deep opacity-100`:`bg-brand text-brand-foreground hover:bg-brand-deep`),children:s?`â`:n.moveHere}),(0,U.jsx)(dy,{content:n.newHere,children:(0,U.jsx)(`button`,{type:`button`,onClick:()=>E(e.id),"aria-label":n.newHere,className:`text-muted-foreground hover:text-foreground shrink-0 rounded p-0.5 opacity-0 transition group-hover:opacity-100`,children:(0,U.jsx)(sb,{className:`size-3`,strokeWidth:1.7})})}),(0,U.jsx)(dy,{content:n.rename,children:(0,U.jsx)(`button`,{type:`button`,onClick:()=>A(e),"aria-label":n.rename,className:`text-muted-foreground hover:text-foreground shrink-0 rounded p-0.5 opacity-0 transition group-hover:opacity-100`,children:(0,U.jsx)(jb,{className:`size-3`,strokeWidth:1.7})})}),(0,U.jsx)(dy,{content:n.delete,children:(0,U.jsx)(`button`,{type:`button`,onClick:()=>o(e.id),"aria-label":n.delete,className:`text-muted-foreground hover:text-danger shrink-0 rounded p-0.5 opacity-0 transition group-hover:opacity-100`,children:(0,U.jsx)($b,{className:`size-3`,strokeWidth:1.7})})})]}),m===e.id&&(0,U.jsx)(ZX,{depth:i+1,value:g,onChange:_,onSubmit:D,onCancel:k}),a&&e.children.map(e=>N(e,i+1))]},e.id)}return(0,U.jsxs)(`div`,{ref:S,className:`bg-popover text-popover-foreground border-border absolute z-50 mt-1 w-[300px] rounded-lg border shadow-lg`,role:`dialog`,"aria-label":n.ariaLabel,onClick:e=>e.stopPropagation(),children:[(0,U.jsx)(`div`,{className:`border-border flex items-center gap-2 border-b p-2`,children:(0,U.jsx)(`input`,{autoFocus:!0,value:l,onChange:e=>u(e.target.value),placeholder:n.searchPlaceholder,className:`border-border bg-background min-w-0 flex-1 rounded-md border px-2 py-1 text-[12px] outline-none`})}),(0,U.jsxs)(`div`,{className:`px-1.5 pt-1.5`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>r(null),className:W(`flex w-full items-center gap-2 rounded-md px-1.5 py-1 text-left text-[12px]`,t===null?`bg-brand/10 text-brand-deep font-medium`:`text-foreground hover:bg-surface-hover`),children:[(0,U.jsx)(`span`,{className:`size-3`}),(0,U.jsx)(lb,{className:`size-3 shrink-0 opacity-60`,strokeWidth:1.7}),(0,U.jsx)(`span`,{className:`flex-1`,children:n.root}),t===null&&(0,U.jsx)(`span`,{className:`text-[10px]`,children:`â`})]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>E(null),className:`text-muted-foreground hover:text-brand-deep mt-0.5 mb-1 flex w-full items-center gap-2 rounded-md px-1.5 py-1 text-left text-[12px]`,children:[(0,U.jsx)(sb,{className:`size-3 shrink-0`,strokeWidth:1.7}),n.newFolder]}),m===null&&(0,U.jsx)(ZX,{depth:0,value:g,onChange:_,onSubmit:D,onCancel:k})]}),(0,U.jsx)(`div`,{className:`max-h-[300px] overflow-y-auto px-1.5 pb-2`,children:c.length===0?(0,U.jsx)(`div`,{className:`text-muted-foreground px-2 py-3 text-center text-[11px]`,children:`No folders yet.`}):c.map(e=>N(e,0))}),(0,U.jsxs)(`div`,{className:`border-border flex items-center justify-between border-t px-3 py-2 text-[11px]`,children:[(0,U.jsxs)(`span`,{className:`text-muted-foreground`,children:[e.length,` folders`]}),(0,U.jsx)(`button`,{type:`button`,onClick:s,className:`text-brand-deep font-medium hover:underline`,children:`Done`})]})]})}function ZX({depth:e,value:t,onChange:n,onSubmit:r,onCancel:i}){return(0,U.jsxs)(`div`,{className:`flex items-center gap-1.5 py-1`,style:{paddingLeft:6+e*14},children:[(0,U.jsx)(`span`,{className:`size-3`}),(0,U.jsx)(lb,{className:`size-3 shrink-0 opacity-60`,strokeWidth:1.7}),(0,U.jsx)(`input`,{autoFocus:!0,value:t,onChange:e=>n(e.target.value),onKeyDown:e=>{e.key===`Enter`&&r(),e.key===`Escape`&&i()},onBlur:()=>t.trim()?r():i(),placeholder:`Folder name`,className:`border-border bg-background min-w-0 flex-1 rounded border px-1.5 py-0.5 text-[12px] outline-none`})]})}function QX(e,t){let n=new Set([e]),r=!0;for(;r;){r=!1;for(let e of t)e.parentId&&n.has(e.parentId)&&!n.has(e.id)&&(n.add(e.id),r=!0)}return n}function $X(){let e=(typeof document<`u`?document.querySelector(`[aria-haspopup="menu"][data-state="open"]`):null)?.getBoundingClientRect();return e?{x:e.right,y:e.bottom+6}:{x:0,y:0}}function eZ(e,t={}){let n=t.width??290,r=t.height??380,i=typeof window<`u`?window.innerWidth:1280,a=typeof window<`u`?window.innerHeight:800;return{left:Math.max(8,Math.min(e.x-n,i-n-8)),top:Math.max(8,Math.min(e.y,a-r-8))}}var sBe={mint:{iconBg:`bg-success-soft`,iconFg:`text-success`,bar:`bg-success`},violet:{iconBg:`bg-violet-pale`,iconFg:`text-violet`,bar:`bg-violet`}};function tZ({icon:e,label:t,value:n,subtitle:r,tone:i}){let a=sBe[i];return(0,U.jsxs)(`div`,{className:`border-border bg-surface relative flex flex-col gap-1.5 overflow-hidden rounded-[14px] border-[0.5px] px-6 py-4`,children:[(0,U.jsxs)(`div`,{className:`flex items-start justify-between gap-2`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t}),(0,U.jsx)(`span`,{className:W(`grid size-10 shrink-0 place-items-center rounded-[10px]`,a.iconBg,a.iconFg),children:(0,U.jsx)(e,{className:`size-4`})})]}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[22px] leading-none font-bold tracking-[-0.02em] tabular-nums`,children:n}),(0,U.jsx)(`span`,{className:`text-muted-foreground truncate text-[11px] leading-normal`,children:r}),(0,U.jsx)(`span`,{className:W(`absolute inset-x-0 bottom-0 h-0.5`,a.bar),"aria-hidden":`true`})]})}var cBe=`https://app.guideflow.com/embed/1pzw43ztvp`,lBe=`https://app.guideflow.com/embed/xrg4w4eawr`;function uBe({open:e,onOpenChange:t,src:n}){let r=X(`layout.productTour`);return(0,U.jsx)(xT,{open:e,onOpenChange:t,children:(0,U.jsxs)(ST,{className:`w-[calc(100vw-2rem)] max-w-[1240px] gap-0 overflow-hidden p-0 sm:max-w-[1240px]`,children:[(0,U.jsx)(`div`,{className:`border-divider flex items-center border-b-[0.5px] px-5 py-3.5 pr-12`,children:(0,U.jsx)(TT,{className:`text-fg-strong text-[15px]`,children:r(`title`)})}),(0,U.jsx)(ET,{className:`sr-only`,children:r(`description`)}),(0,U.jsx)(`div`,{className:`bg-surface-alt relative aspect-[1440/760] max-h-[calc(100vh-8rem)] w-full`,children:(0,U.jsx)(`iframe`,{src:n,title:r(`title`),className:`absolute inset-0 size-full border-0`,allow:`clipboard-write; fullscreen`,referrerPolicy:`unsafe-url`,allowFullScreen:!0})})]})})}function nZ({src:e,label:t}){let[n,r]=(0,O.useState)(!1);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`button`,{type:`button`,onClick:()=>r(!0),className:`border-border text-fg-strong hover:bg-surface-alt inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-[18px] py-2.5 text-[13px] font-medium`,children:t}),(0,U.jsx)(uBe,{open:n,onOpenChange:r,src:e})]})}var rZ=`(max-width: 767px)`;function iZ(){let[e,t]=(0,O.useState)(()=>window.matchMedia(rZ).matches);return(0,O.useEffect)(()=>{let e=window.matchMedia(rZ),n=e=>t(e.matches);return e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[]),e}var aZ=`TEST`;function oZ(e){if(!e)return`-`;let t=new Date(e);return`${String(t.getDate()).padStart(2,`0`)}/${String(t.getMonth()+1).padStart(2,`0`)}/${t.getFullYear()}`}
179function sZ(e,t,n){let r=[];for(let i of e){let e=i.key||i.id;if(i.data.type===`DIRECTORY`){let a={id:e,name:i.data.name,parentId:n};t.push(a);let o=sZ(i.children??[],t,e);r.push({id:e,kind:`dir`,name:i.data.name,date:oZ(i.data.creationTime),dateTs:i.data.creationTime,updated:oZ(i.data.updateTime??void 0),children:o,directory:a})}else if(i.data.type===`WEB_TEST`){let t={id:i.data.id,pathItemId:e,name:i.data.name,creationTime:i.data.creationTime??0,parentId:n,directoryName:null};r.push({id:i.data.id,kind:`item`,name:i.data.name,date:oZ(i.data.creationTime),dateTs:i.data.creationTime,updated:oZ(i.data.updateTime??void 0),test:t})}}return r}function cZ(e,t,n){return nc({queryKey:Y.webTests.tree(e,t),queryFn:async()=>{let n=await dU.getPathItemTestTree({pathItemBucket:aZ,companyId:e,teamId:t,onlyDirectories:!1,size:1e3}),r=[];return{nodes:sZ(n.content,r,null),directories:r}},enabled:n&&!!e&&!!t})}function lZ(){let e=Us();return()=>{e.invalidateQueries({queryKey:Y.webTests.all})}}function dBe(){let e=lZ();return rc({mutationFn:({test:e,parentPathItemId:t})=>pU.createTest(e,t),onSuccess:t=>{e(),t.id&&tw(t.id)}})}function fBe(){return rc({mutationFn:e=>pU.updateTest(e),onSuccess:lZ()})}function pBe(){let e=lZ();return rc({mutationFn:e=>pU.duplicateTest(e),onSuccess:t=>{e(),t?.id&&tw(t.id)}})}function mBe(){return rc({mutationFn:({pathItemId:e})=>dU.deletePathItem(e),onSuccess:lZ()})}function hBe(e,t){return rc({mutationFn:n=>dU.createPathItem({name:n.name,bucket:aZ,parentId:n.parentId,type:`DIRECTORY`,companyId:e,teamId:t}),onSuccess:lZ()})}function gBe(){return rc({mutationFn:e=>dU.updatePathItem(e),onSuccess:lZ()})}function _Be(){return rc({mutationFn:e=>dU.movePathItems(e),onSuccess:lZ()})}function vBe(){return rc({mutationFn:({id:e,strategy:t})=>dU.deletePathItem(e,t),onSuccess:lZ()})}function uZ({title:e,logoText:t,steps:n,current:r,onStepSelect:i,onBack:a,onNext:o,onClose:s,canAdvance:c=!0,submitLabel:l=`Create`,hint:u,tracker:d,counterLabel:f,stepsLabel:p=`Steps`,summary:m,children:h,className:g}){let _=r===n.length-1;return(0,U.jsxs)(`div`,{className:W(`bg-surface grid max-h-[calc(100dvh-2rem)] min-h-[560px] w-[880px] grid-cols-[232px_1fr] overflow-hidden rounded-[14px] shadow-[0_24px_60px_rgba(17,34,157,0.18)]`,d?`grid-rows-[auto_auto_1fr]`:`grid-rows-[auto_1fr]`,g),children:[(0,U.jsxs)(`div`,{className:`border-divider col-span-2 flex h-[54px] items-center gap-3 border-b px-[18px]`,children:[t&&(0,U.jsx)(`span`,{className:`bg-violet grid size-[30px] place-items-center rounded-lg text-[15px] font-bold text-white`,children:t}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[15px] font-semibold`,children:e}),f?(0,U.jsx)(`span`,{className:`border-border bg-surface-alt text-muted-foreground mr-1 ml-auto rounded-full border-[0.5px] px-3 py-1 font-mono text-[11px]`,children:f}):(0,U.jsxs)(`span`,{className:`text-muted-foreground mr-1 ml-auto font-mono text-[11px]`,children:[r+1,`/`,n.length]}),(0,U.jsx)(`button`,{type:`button`,onClick:s,"aria-label":`Close`,className:`text-muted-foreground hover:bg-surface-hover hover:text-fg-strong grid size-[30px] place-items-center rounded-lg`,children:(0,U.jsx)(ox,{className:`size-4`})})]}),d&&(0,U.jsx)(`div`,{className:`border-divider bg-surface-alt col-span-2 flex items-center gap-3 border-b px-[10%] py-3.5`,children:d.map((e,t)=>(0,U.jsxs)(`div`,{className:W(`flex items-center gap-3`,t>0&&`flex-1`),children:[t>0&&(0,U.jsx)(`span`,{className:W(`h-px flex-1`,e.state===`upcoming`?`bg-border`:`bg-violet`),"aria-hidden":`true`}),(0,U.jsxs)(`span`,{className:`flex shrink-0 items-center gap-2`,children:[e.state===`done`?(0,U.jsx)(Py,{className:`text-violet size-4`,"aria-hidden":`true`}):(0,U.jsx)(`span`,{className:W(`grid size-[26px] place-items-center rounded-full font-mono text-[11.5px] font-semibold`,e.state===`active`?`bg-violet text-white shadow-[0_0_0_4px_var(--color-violet-pale)]`:`bg-surface text-muted-foreground border-border border-[0.5px]`),children:t+1}),(0,U.jsx)(`span`,{className:W(`text-[12.5px] font-medium`,e.state===`done`?`text-violet`:e.state===`active`?`text-fg-strong`:`text-muted-foreground`),children:e.label})]})]},e.label))}),(0,U.jsxs)(`div`,{className:`bg-surface-alt flex flex-col gap-0.5 p-[18px_14px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-hint px-2 pb-2.5 text-[9px] font-semibold tracking-[0.08em] uppercase`,children:p}),n.map((e,t)=>{let n=t===r,a=t<r,o=a&&i;return(0,U.jsxs)(`button`,{type:`button`,disabled:!o,onClick:o?()=>i(t):void 0,className:W(`relative grid grid-cols-[26px_1fr_auto] items-center gap-2.5 rounded-lg px-2.5 py-[9px] text-left`,n&&`bg-surface shadow-[0_1px_3px_rgba(17,34,157,0.05)]`,o&&`hover:bg-violet/[0.06] cursor-pointer`),children:[n&&(0,U.jsx)(`span`,{className:`bg-violet absolute top-1/2 left-0 h-[18px] w-[3px] -translate-y-1/2 roun
179ded-r-[2px]`,"aria-hidden":`true`}),(0,U.jsx)(`span`,{className:W(`grid size-[22px] place-items-center rounded-full border-[0.5px] font-mono text-[11px] font-semibold`,n?`border-violet bg-violet text-white`:a?`bg-violet-pale text-violet-dark border-transparent`:`bg-surface text-muted-foreground border-border`),children:a?(0,U.jsx)(Py,{className:`size-3`}):t+1}),(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block truncate text-[12.5px] font-medium`,children:e.label}),e.sub&&(0,U.jsx)(`span`,{className:`text-fg-hint block truncate text-[10.5px]`,children:e.sub})]})]},e.key)}),m&&m.length>0&&(0,U.jsx)(`div`,{className:`border-divider mt-auto border-t p-[14px_10px_4px]`,children:m.map(e=>(0,U.jsxs)(`div`,{className:`flex items-center gap-2 py-1.5 text-[11px]`,children:[(0,U.jsx)(`span`,{className:`text-fg-hint w-[52px] shrink-0 text-[9px] font-semibold tracking-[0.06em] uppercase`,children:e.k}),(0,U.jsx)(`span`,{className:W(`text-fg-strong truncate font-medium`,e.mono&&`font-mono text-[10.5px]`,e.empty&&`text-fg-hint font-normal italic`),children:e.v})]},e.k))})]}),(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-col`,children:[(0,U.jsx)(`div`,{className:`flex-1 overflow-y-auto p-[22px_28px_18px]`,children:h}),(0,U.jsxs)(`div`,{className:`border-divider bg-surface flex items-center justify-between border-t p-[14px_28px]`,children:[(0,U.jsx)(`div`,{className:`text-muted-foreground flex items-center gap-1.5 text-[11.5px]`,children:u}),(0,U.jsxs)(`div`,{className:`flex gap-2`,children:[r>0&&(0,U.jsxs)(`button`,{type:`button`,onClick:a,className:`text-fg-strong border-border hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-4 py-[9px] text-[12.5px] font-medium`,children:[(0,U.jsx)(Iy,{className:`size-3.5`}),`Back`]}),(0,U.jsx)(`button`,{type:`button`,onClick:o,disabled:!c,className:`bg-violet hover:bg-violet-dark disabled:bg-violet-light inline-flex items-center gap-1.5 rounded-lg border-[0.5px] border-transparent px-4 py-[9px] text-[12.5px] font-medium text-white disabled:cursor-not-allowed`,children:_?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Py,{className:`size-3.5`}),l]}):(0,U.jsxs)(U.Fragment,{children:[`Next`,(0,U.jsx)(Ly,{className:`size-3.5`})]})})]})]})]})]})}function dZ(e){return W(`w-full rounded-lg border-[0.5px] px-3 py-2.5 text-[13px] outline-none focus:border-transparent focus:outline-solid focus:outline-[1.5px]`,e?`border-status-failed bg-status-failed-bg text-fg-strong focus:outline-status-failed`:`border-border bg-surface text-fg-strong placeholder:text-fg-hint focus:outline-violet`)}function fZ({kicker:e,title:t,lede:n,children:r}){let i=e==null?[]:Array.isArray(e)?e:[e];return(0,U.jsxs)(`div`,{children:[i.length>0&&(0,U.jsx)(`div`,{className:`text-violet-dark flex items-center gap-2 text-[9px] font-semibold tracking-[0.08em] uppercase`,children:i.map((e,t)=>(0,U.jsxs)(`span`,{className:`flex items-center gap-2`,children:[t>0&&(0,U.jsx)(`span`,{className:`bg-border-strong size-[3px] rounded-full`,"aria-hidden":`true`}),e]},t))}),(0,U.jsx)(`h2`,{className:`text-fg-strong mt-1.5 mb-1 text-[20px] font-bold`,children:t}),n&&(0,U.jsx)(`p`,{className:`text-muted-foreground mb-5 max-w-[520px] text-[13px]`,children:n}),r]})}function pZ({label:e,optional:t,required:n,section:r,error:i,children:a,className:o}){return(0,U.jsxs)(`div`,{className:W(r?`border-divider mt-3 border-t pt-4`:``,`mb-3.5`,o),children:[(0,U.jsxs)(`label`,{className:W(`mb-1.5 flex items-center gap-1.5 font-medium`,r?`text-fg-strong text-[13px]`:`text-fg-body text-[11px]`),children:[e,n&&(0,U.jsx)(`span`,{className:`text-status-failed`,children:`*`}),t&&(0,U.jsx)(`span`,{className:W(`font-normal`,r?`text-fg-hint text-[11px]`:`text-fg-hint text-[10.5px]`),children:`(optional)`})]}),a,i&&(0,U.jsxs)(`div`,{className:`text-status-failed-fg mt-1.5 flex items-start gap-1.5 text-[11.5px] leading-[1.4] font-medium`,role:`alert`,children:[(0,U.jsx)(By,{className:`text-status-failed mt-0.5 size-3.5 shrink-0`}),(0,U.jsx)(`span`,{children:i})]})]})}function yBe({title:e,subtitle:t,defaultOpen:n=!1,children:r}){let[i,a]=(0,O.useState)(n);return(0,U.jsxs)(`div`,{className:`border-border mt-[18px] overflow-hidden rounded-[10px] border-[0.5px]`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>a(e=>!e),"aria-expanded":i,className:`grid w-full grid-cols-[1fr_auto] items-center gap-2.5 p-[12px_14px] text-left`,children:[(0,U.jsxs)(`span`,{children:[(0,U.jsx)(`span`,{className:`text-fg-strong block text-[13px] font-medium`,children:e}),t&&(0,U.jsx)(`span`,{className:`text-muted-foreground mt-px block text-[11px]`,children:t})]}),(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:i?(0,U.jsx)(Ry,{className:`size-3.5`}):(0,U.jsx)(Fy,{className:`size-3.5`})})]}),i&&(0,U.jsx)(`div`,{className:`border-divider grid gap-3 border-t p-[6px_14px_14px]`,children:r})]})}var mZ=1,bBe=.9,xBe=.8,SBe=.17,hZ=.1,gZ=.999,CBe=.9999,wBe=.99,TBe=/[\\\/_+.#"@\[\(\{&]/,EBe=/[\\\/_+.#"@\[\(\{&]/g,DBe=/[\s-]/,_Z=/[\s-]/g;function vZ(e,t,n,r,i,a,o){if(a===t.length)return i===e.length?mZ:wBe;var s=`${i},${a}`;if(o[s]!==void 0)return o[s];for(var c=r.charAt(a),l=n.indexOf(c,i),u=0,d,f,p,m;l>=0;)d=vZ(e,t,n,r,l+1,a+1,o),d>u&&(l===i?d*=mZ:TBe.test(e.charAt(l-1))?(d*=xBe,p=e.slice(i,l-1).match(EBe),p&&i>0&&(d*=gZ**+p.length)):DBe.test(e.charAt(l-1))?(d*=bBe,m=e.slice(i,l-1).match(_Z),m&&i>0&&(d*=gZ**+m.length)):(d*=SBe,i>0&&(d*=gZ**+(l-i))),e.charAt(l)!==t.charAt(a)&&(d*=CBe)),(d<hZ&&n.charAt(l-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&n.charAt(l-1)!==r.charAt(a))&&(f=vZ(e,t,n,r,l+1,a+2,o),f*hZ>d&&(d=f*hZ)),d>u&&(u=d),l=n.indexOf(c,l+1);return o[s]=u,u}function yZ(e){return e.toLowerCase().replace(_Z,` `)}function OBe(e,t,n){return e=n&&n.length>0?`${e+` `+n.join(` `)}`:e,vZ(e,t,yZ(e),yZ(t),0,0,{})}
vendor: 9,838 bytes, line 179
179var bZ=`[cmdk-group=""]`,xZ=`[cmdk-group-items=""]`,kBe=`[cmdk-group-heading=""]`,SZ=`[cmdk-item=""]`,CZ=`${SZ}:not([aria-disabled="true"])`,wZ=`cmdk-item-select`,TZ=`data-value`,ABe=(e,t,n)=>OBe(e,t,n),EZ=O.createContext(void 0),DZ=()=>O.useContext(EZ),OZ=O.createContext(void 0),kZ=()=>O.useContext(OZ),AZ=O.createContext(void 0),jZ=O.forwardRef((e,t)=>{let n=FZ(()=>({search:``,value:e.value??e.defaultValue??``,selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}})),r=FZ(()=>new Set),i=FZ(()=>new Map),a=FZ(()=>new Map),o=FZ(()=>new Set),s=NZ(e),{label:c,children:l,value:u,onValueChange:d,filter:f,shouldFilter:p,loop:m,disablePointerSelection:h=!1,vimBindings:g=!0,..._}=e,v=tl(),y=tl(),b=tl(),x=O.useRef(null),S=VBe();PZ(()=>{if(u!==void 0){let e=u.trim();n.current.value=e,C.emit()}},[u]),PZ(()=>{S(6,A)},[]);let C=O.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var i,a,o;if(!Object.is(n.current[e],t)){if(n.current[e]=t,e===`search`)k(),E(),S(1,D);else if(e===`value`){if(document.activeElement.hasAttribute(`cmdk-input`)||document.activeElement.hasAttribute(`cmdk-root`)){let e=document.getElementById(b);e?e.focus():(i=document.getElementById(v))==null||i.focus()}if(S(7,()=>{n.current.selectedItemId=j()?.id,C.emit()}),r||S(5,A),s.current?.value!==void 0){let e=t??``;(o=(a=s.current).onValueChange)==null||o.call(a,e);return}}C.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),w=O.useMemo(()=>({value:(e,t,r)=>{t!==a.current.get(e)?.value&&(a.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,T(t,r)),S(2,()=>{E(),C.emit()}))},item:(e,t)=>(r.current.add(e),t&&(i.current.has(t)?i.current.get(t).add(e):i.current.set(t,new Set([e]))),S(3,()=>{k(),E(),n.current.value||D(),C.emit()}),()=>{a.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=j();S(4,()=>{k(),t?.getAttribute(`id`)===e&&D(),C.emit()})}),group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{a.current.delete(e),i.current.delete(e)}),filter:()=>s.current.shouldFilter,label:c||e[`aria-label`],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:v,inputId:b,labelId:y,listInnerRef:x}),[]);function T(e,t){let r=s.current?.filter??ABe;return e?r(e,n.current.search,t):0}function E(){if(!n.current.search||s.current.shouldFilter===!1)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=i.current.get(n),a=0;r.forEach(t=>{let n=e.get(t);a=Math.max(n,a)}),t.push([n,a])});let r=x.current;M().sort((t,n)=>{let r=t.getAttribute(`id`),i=n.getAttribute(`id`);return(e.get(i)??0)-(e.get(r)??0)}).forEach(e=>{let t=e.closest(xZ);t?t.appendChild(e.parentElement===t?e:e.closest(`${xZ} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${xZ} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{let t=x.current?.querySelector(`${bZ}[${TZ}="${encodeURIComponent(e[0])}"]`);t?.parentElement.appendChild(t)})}function D(){let e=M().find(e=>e.getAttribute(`aria-disabled`)!==`true`)?.getAttribute(TZ);C.setState(`value`,e||void 0)}function k(){if(!n.current.search||s.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let e=0;for(let t of r.current){let r=T(a.current.get(t)?.value??``,a.current.get(t)?.keywords??[]);n.current.filtered.items.set(t,r),r>0&&e++}for(let[e,t]of i.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=e}function A(){var e;let t=j();t&&(t.parentElement?.firstChild===t&&((e=t.closest(bZ)?.querySelector(kBe))==null||e.scrollIntoView({block:`nearest`})),t.scrollIntoView({block:`nearest`}))}function j(){return x.current?.querySelector(`${SZ}[aria-selected="true"]`)}function M(){return Array.from(x.current?.querySelectorAll(CZ)||[])}function N(e){let t=M()[e];t&&C.setState(`value`,t.getAttribute(TZ))}function P(e){var t;let n=j(),r=M(),i=r.findIndex(e=>e===n),a=r[i+e];(t=s.current)!=null&&t.loop&&(a=i+e<0?r[r.length-1]:i+e===r.length?r[0]:r[i+e]),a&&C.setState(`value`,a.getAttribute(TZ))}function F(e){let t=j()?.closest(bZ),n;for(;t&&!n;)t=e>0?zBe(t,bZ):BBe(t,bZ),n=t?.querySelector(CZ);n?C.setState(`value`,n.getAttribute(TZ)):P(e)}let I=()=>N(M().length-1),L=e=>{e.preventDefault(),e.metaKey?I():e.altKey?F(1):P(1)},R=e=>{e.preventDefault(),e.metaKey?N(0):e.altKey?F(-1):P(-1)};return O.createElement(Mc.div,{ref:t,tabIndex:-1,..._,"cmdk-root":``,onKeyDown:e=>{var t;(t=_.onKeyDown)==null||t.call(_,e);let n=e.nativeEvent.isComposing||e.keyCode===229;if(!(e.defaultPrevented||n))switch(e.key){case`n`:case`j`:g&&e.ctrlKey&&L(e);break;case`ArrowDown`:L(e);break;case`p`:case`k`:g&&e.ctrlKey&&R(e);break;case`ArrowUp`:R(e);break;case`Home`:e.preventDefault(),N(0);break;case`End`:e.preventDefault(),I();break;case`Enter`:{e.preventDefault();let t=j();if(t){let e=new Event(wZ);t.dispatchEvent(e)}}}}},O.createElement(`label`,{"cmdk-label":``,htmlFor:w.inputId,id:w.labelId,style:UBe},c),RZ(e,e=>O.createElement(OZ.Provider,{value:C},O.createElement(EZ.Provider,{value:w},e))))}),jBe=O.forwardRef((e,t)=>{let n=tl(),r=O.useRef(null),i=O.useContext(AZ),a=DZ(),o=NZ(e),s=o.current?.forceMount??i?.forceMount;PZ(()=>{if(!s)return a.item(n,i?.id)},[s]);let c=LZ(n,r,[e.value,e.children,r],e.keywords),l=kZ(),u=IZ(e=>e.value&&e.value===c.current),d=IZ(e=>s||a.filter()===!1?!0:!e.search||e.filtered.items.get(n)>0);O.useEffect(()=>{let t=r.current;if(!(!t||e.disabled))return t.addEventListener(wZ,f),()=>t.removeEventListener(wZ,f)},[d,e.onSelect,e.disabled]);function f(){var e,t;p(),(t=(e=o.current).onSelect)==null||t.call(e,c.current)}function p(){l.setState(`value`,c.current,!0)}if(!d)return null;let{disabled:m,value:h,onSelect:g,forceMount:_,keywords:v,...y}=e;return O.createElement(Mc.div,{ref:Sc(r,t),...y,id:n,"cmdk-item":``,role:`option`,"aria-disabled":!!m,"aria-selected":!!u,"data-disabled":!!m,"data-selected":!!u,onPointerMove:m||a.getDisablePointerSelection()?void 0:p,onClick:m?void 0:f},e.children)}),MBe=O.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:i,...a}=e,o=tl(),s=O.useRef(null),c=O.useRef(null),l=tl(),u=DZ(),d=IZ(e=>i||u.filter()===!1?!0:!e.search||e.filtered.groups.has(o));PZ(()=>u.group(o),[]),LZ(o,s,[e.value,e.heading,c]);let f=O.useMemo(()=>({id:o,forceMount:i}),[i]);return O.createElement(Mc.div,{ref:Sc(s,t),...a,"cmdk-group":``,role:`presentation`,hidden:!d||void 0},n&&O.createElement(`div`,{ref:c,"cmdk-group-heading":``,"aria-hidden":!0,id:l},n),RZ(e,e=>O.createElement(`div`,{"cmdk-group-items":``,role:`group`,"aria-labelledby":n?l:void 0},O.createElement(AZ.Provider,{value:f},e))))}),NBe=O.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,i=O.useRef(null),a=IZ(e=>!e.search);return!n&&!a?null:O.createElement(Mc.div,{ref:Sc(i,t),...r,"cmdk-separator":``,role:`separator`})}),PBe=O.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,i=e.value!=null,a=kZ(),o=IZ(e=>e.search),s=IZ(e=>e.selectedItemId),c=DZ();return O.useEffect(()=>{e.value!=null&&a.setState(`search`,e.value)},[e.value]),O.createElement(Mc.input,{ref:t,...r,"cmdk-input":``,autoComplete:`off`,autoCorrect:`off`,spellCheck:!1,"aria-autocomplete":`list`,role:`combobox`,"aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":s,id:c.inputId,type:`text`,value:i?e.value:o,onChange:e=>{i||a.setState(`search`,e.target.value),n?.(e.target.value)}})}),FBe=O.forwardRef((e,t)=>{let{children:n,label:r=`Suggestions`,...i}=e,a=O.useRef(null),o=O.useRef(null),s=IZ(e=>e.selectedItemId),c=DZ();return O.useEffect(()=>{if(o.current&&a.current){let e=o.current,t=a.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.offsetHeight;t.style.setProperty(`--cmdk-list-height`,n.toFixed(1)+`px`)})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),O.createElement(Mc.div,{ref:Sc(a,t),...i,"cmdk-list":``,role:`listbox`,tabIndex:-1,"aria-activedescendant":s,"aria-label":r,id:c.listId},RZ(e,e=>O.createElement(`div`,{ref:Sc(o,c.listInnerRef),"cmdk-list-sizer":``},e)))}),IBe=O.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:a,container:o,...s}=e;return O.createElement(Yd,{open:n,onOpenChange:r},O.createElement(Zd,{container:o},O.createElement(Qd,{"cmdk-overlay":``,className:i}),O.createElement($d,{"aria-label":e.label,"cmdk-dialog":``,className:a},O.createElement(jZ,{ref:t,...s}))))}),LBe=O.forwardRef((e,t)=>IZ(e=>e.filtered.count===0)?O.createElement(Mc.div,{ref:t,...e,"cmdk-empty":``,role:`presentation`}):null),RBe=O.forwardRef((e,t)=>{let{progress:n,children:r,label:i=`Loading...`,...a}=e;return O.createElement(Mc.div,{ref:t,...a,"cmdk-loading":``,role:`progressbar`,"aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},RZ(e,e=>O.createElement(`div`,{"aria-hidden":!0},e)))}),MZ=Object.assign(jZ,{List:FBe,Item:jBe,Input:PBe,Group:MBe,Separator:NBe,Dialog:IBe,Empty:LBe,Loading:RBe});function zBe(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function BBe(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function NZ(e){let t=O.useRef(e);return PZ(()=>{t.current=e}),t}var PZ=typeof window>`u`?O.useEffect:O.useLayoutEffect;function FZ(e){let t=O.useRef();return t.current===void 0&&(t.current=e()),t}function IZ(e){let t=kZ(),n=()=>e(t.snapshot());return O.useSyncExternalStore(t.subscribe,n,n)}function LZ(e,t,n,r=[]){let i=O.useRef(),a=DZ();return PZ(()=>{var o;let s=(()=>{for(let e of n){if(typeof e==`string`)return e.trim();if(typeof e==`object`&&`current`in e)return e.current?e.current.textContent?.trim():i.current}})(),c=r.map(e=>e.trim());a.value(e,s,c),(o=t.current)==null||o.setAttribute(TZ,s),i.current=s}),i}var VBe=()=>{let[e,t]=O.useState(),n=FZ(()=>new Map);return PZ(()=>
179{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function HBe(e){let t=e.type;return typeof t==`function`?t(e.props):`render`in t?t.render(e.props):e}function RZ({asChild:e,children:t},n){return e&&O.isValidElement(t)?O.cloneElement(HBe(t),{ref:t.ref},n(t.props.children)):n(t)}var UBe={position:`absolute`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`};function zZ({className:e,...t}){return(0,U.jsx)(MZ,{"data-slot":`command`,className:W(`bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-lg`,e),...t})}function BZ({className:e,...t}){return(0,U.jsxs)(`div`,{className:`border-divider flex items-center gap-2 border-b px-3`,"data-slot":`command-input-wrapper`,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3.5 shrink-0`}),(0,U.jsx)(MZ.Input,{"data-slot":`command-input`,className:W(`placeholder:text-fg-hint flex h-9 w-full bg-transparent py-2 text-[12.5px] outline-none disabled:cursor-not-allowed disabled:opacity-50`,e),...t})]})}function VZ({className:e,...t}){return(0,U.jsx)(MZ.List,{"data-slot":`command-list`,onWheel:e=>{e.currentTarget.scrollTop+=e.deltaY},className:W(`max-h-[240px] scroll-py-1 overflow-x-hidden overflow-y-auto overscroll-contain p-1`,e),...t})}function HZ({...e}){return(0,U.jsx)(MZ.Empty,{"data-slot":`command-empty`,className:`text-muted-foreground py-6 text-center text-[12px]`,...e})}function UZ({className:e,...t}){return(0,U.jsx)(MZ.Group,{"data-slot":`command-group`,className:W(`text-fg-strong overflow-hidden`,e),...t})}function WZ({className:e,...t}){return(0,U.jsx)(MZ.Item,{"data-slot":`command-item`,className:W(`data-[selected=true]:bg-surface-hover data-[selected=true]:text-fg-strong relative flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-[12.5px] outline-none select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50`,e),...t})}var WBe=`border-border bg-surface text-fg-strong focus:border-violet focus:ring-violet/15 flex w-full items-center justify-between gap-2 rounded-lg border-[0.5px] px-3 py-2.5 text-[13px] outline-none focus:ring-[3px]`;function GZ({options:e,value:t,onChange:n,placeholder:r=`Selectâ¦`,searchPlaceholder:i=`Searchâ¦`,emptyText:a=`No results.`,triggerClassName:o,disabled:s}){let[c,l]=(0,O.useState)(!1),u=e.find(e=>e.value===t);return(0,U.jsxs)(hT,{open:c,onOpenChange:l,children:[(0,U.jsxs)(gT,{disabled:s,role:`combobox`,"aria-expanded":c,className:W(o??WBe,s&&`cursor-not-allowed opacity-50`),children:[(0,U.jsx)(`span`,{className:W(`truncate`,!u&&`text-fg-hint`),children:u?.label??r}),(0,U.jsx)(zy,{className:`text-muted-foreground size-3.5 shrink-0`})]}),(0,U.jsx)(_T,{align:`start`,className:`w-(--radix-popover-trigger-width) p-0`,children:(0,U.jsxs)(zZ,{children:[(0,U.jsx)(BZ,{placeholder:i}),(0,U.jsxs)(VZ,{children:[(0,U.jsx)(HZ,{children:a}),(0,U.jsx)(UZ,{children:e.map(e=>(0,U.jsxs)(WZ,{value:e.label,onSelect:()=>{n(e.value),l(!1)},children:[(0,U.jsx)(Py,{className:W(`text-violet size-3.5`,t===e.value?`opacity-100`:`opacity-0`)}),(0,U.jsx)(`span`,{className:`truncate`,children:e.label})]},e.value||`__none__`))})]})]})})]})}var KZ=function(e){return e.COMPANY_SETTING=`COMPANY_SETTING`,e.TEAM_SETTING=`TEAM_SETTING`,e.PROMPT_SETTING=`PROMPT_SETTING`,e.GENERAL_SETTING=`GENERAL_SETTING`,e}({}),qZ=new class{async getAllSettingProfiles(e){let{data:t}=await J.get(`/v1/setting-profile`,{params:e});return t}async getSettingProfileById(e){let{data:t}=await J.get(`/v1/setting-profile/${e}`);return t}async createSettingProfile(e){let{data:t}=await J.post(`/v1/setting-profile`,e);return t}async updateSettingProfile(e){let{data:t}=await J.put(`/v1/setting-profile`,e);return t}async deleteSettingProfile(e){await J.delete(`/v1/setting-profile/${e}`)}},JZ=new class{constructor(){this.BASE_URL=`/v1/mcp-servers`}async list(e,t,n=0,r=100){let{data:i}=await J.get(this.BASE_URL,{params:{companyId:e,teamId:t,page:n,size:r}});return i}async create(e){let{data:t}=await J.post(this.BASE_URL,e);return t}async update(e){let{data:t}=await J.put(this.BASE_URL,e);return t}async delete(e){await J.delete(`${this.BASE_URL}/${e}`)}async testConnection(e){let{data:t}=await J.post(`${this.BASE_URL}/test-connection`,e);return t}async testConnectionById(e){let{data:t}=await J.post(`${this.BASE_URL}/${e}/test-connection`);return t}},YZ=3e5;
179function XZ(e,t,n){return nc({queryKey:Y.settings.profiles(e,t),queryFn:()=>qZ.getAllSettingProfiles({companyId:e,teamId:t}),enabled:n&&!!e&&!!t,staleTime:YZ})}function GBe(e){return nc({queryKey:Y.settings.profile(e??``),queryFn:()=>qZ.getSettingProfileById(e),enabled:!!e&&e!==`new`,staleTime:YZ})}function ZZ(){let e=Us();return(t,n)=>{e.invalidateQueries({queryKey:Y.settings.profiles(t,n)})}}function KBe(){let e=ZZ();return rc({mutationFn:e=>qZ.createSettingProfile(e),onSuccess:t=>e(t.companyId,t.teamId)})}function qBe(){let e=Us(),t=ZZ();return rc({mutationFn:e=>qZ.updateSettingProfile(e),onSuccess:n=>{n.id&&e.setQueryData(Y.settings.profile(n.id),n),t(n.companyId,n.teamId)}})}function JBe(e,t){let n=ZZ();return rc({mutationFn:e=>qZ.deleteSettingProfile(e),onSuccess:()=>n(e,t)})}function QZ(e,t,n){return nc({queryKey:Y.settings.mcpServers(e,t),queryFn:()=>JZ.list(e,t),enabled:n&&!!e&&!!t,select:e=>e.content??[],staleTime:YZ})}function $Z(){let e=Us();return(t,n)=>{e.invalidateQueries({queryKey:Y.settings.mcpServers(t,n)})}}function YBe(){let e=$Z();return rc({mutationFn:e=>JZ.create(e),onSuccess:t=>e(t.companyId,t.teamId)})}function eQ(){let e=$Z();return rc({mutationFn:e=>JZ.update(e),onSuccess:t=>e(t.companyId,t.teamId)})}function XBe(e,t){let n=$Z();return rc({mutationFn:e=>JZ.delete(e),onSuccess:()=>n(e,t)})}function ZBe(e){try{let t=new URL(e.trim());if(t.protocol!==`http:`&&t.protocol!==`https:`)return!1;let n=t.hostname;return n.includes(`.`)||n===`localhost`||n.endsWith(`.localhost`)||n.startsWith(`[`)}catch{return!1}}function tQ({title:e,initialData:t,submitLabel:n,submittingLabel:r,onClose:i,onSubmit:a}){let o=X(`pages.web.wizard`),s=rS(),{activeCompanyID:c,activeTeamID:l,loading:u}=NT(),d=!u&&!!c&&!!l,{data:f=[]}=XZ(c,l,d),{data:p=[]}=QZ(c,l,d),[m,h]=(0,O.useState)(0),[g,_]=(0,O.useState)(t?.name??``),[v,y]=(0,O.useState)(t?.url??``),[b,x]=(0,O.useState)(t?.profile??``),[S,C]=(0,O.useState)(t?.mcpServerIds?.[0]??``),[w,T]=(0,O.useState)(!1),[E,D]=(0,O.useState)(!1),k=e??o(`newTitle`),A=ZBe(v),j=w&&v.trim().length>0&&!A,M=!!g.trim()&&A,N=m===0?M:!E,P=[{key:`create`,label:o(`step1Label`),sub:o(`step1Sub`)},{key:`review`,label:o(`step2Label`),sub:o(`step2Sub`)}],F=[{k:o(`summaryName`),v:g||o(`notSet`),empty:!g},{k:o(`summaryUrl`),v:v||o(`notSet`),mono:!0,empty:!v},{k:o(`summaryProfile`),v:b||o(`profileNone`),empty:!b}],I=j?o.rich(`urlError`,{code:e=>(0,U.jsx)(`code`,{className:`bg-status-failed/15 text-status-failed-fg rounded-[3px] px-[3px] font-mono text-[10.5px]`,children:e})}):void 0;async function L(){if(m===0){h(1);return}D(!0);try{await a({name:g.trim(),url:v.trim(),profile:b||void 0,mcpServerIds:S?[S]:void 0})}catch(e){Iw(e)?G.error(o(`duplicateName`)):Lue(e)?G.error(o(`limitReachedToast`),{description:o(`limitReachedDesc`),action:{label:o(`limitReachedCta`),onClick:()=>s.push(`/usage`)}}):Nw(e)||G.error(o(`submitFailedToast`),{description:Pw(e)})}finally{D(!1)}}return(0,U.jsx)(uZ,{title:k,steps:P,current:m,onStepSelect:h,onBack:()=>h(e=>Math.max(0,e-1)),onNext:L,onClose:i,canAdvance:N,submitLabel:E?r??o(`creating`):n??o(`submit`),summary:F,children:m===0?(0,U.jsxs)(fZ,{kicker:[o(`step1Kicker`),o(`step1Label`)],title:o(`step1Heading`),lede:o(`step1Lede`),children:[(0,U.jsx)(pZ,{label:o(`name`),required:!0,children:(0,U.jsx)(`input`,{autoFocus:!0,className:dZ(!1),value:g,onChange:e=>_(e.target.value),placeholder:o(`namePlaceholder`)})}),(0,U.jsx)(pZ,{label:o(`url`),required:!0,error:I,children:(0,U.jsx)(`input`,{className:dZ(j),value:v,onChange:e=>y(e.target.value),onBlur:()=>T(!0),placeholder:o(`urlPlaceholder`),"aria-invalid":j})}),(0,U.jsxs)(yBe,{title:o(`advancedTitle`),subtitle:o(`advancedSub`),children:[(0,U.jsx)(pZ,{label:o(`profile`),optional:!0,className:`mb-0`,children:(0,U.jsx)(GZ,{value:b,onChange:x,placeholder:o(`profileNone`),searchPlaceholder:o(`search`),emptyText:o(`noResults`),options:[{value:``,label:o(`profileNone`)},...f.map(e=>({value:e.name,label:e.name}))]})}),(0,U.jsx)(pZ,{label:o(`mcp`),optional:!0,className:`mb-0`,children:(0,U.jsx)(GZ,{value:S,onChange:C,placeholder:o(`mcpNone`),searchPlaceholder:o(`search`),emptyText:o(`noResults`),options:[{value:``,label:o(`mcpNone`)},...p.filter(e=>e.id).map(e=>({value:e.id,label:e.name}))]})})]}),(0,U.jsxs)(`p`,{className:`text-muted-foreground mt-3.5 text-center text-[11px]`,children:[(0,U.jsx)(`span`,{className:`text-status-failed`,children:`*`}),` `,o(`requiredFields`)]})]}):(0,U.jsx)(fZ,{kicker:[o(`step2Kicker`),o(`step2Label`)],title:o(`step2Heading`),lede:o(`step2Lede`),children:(0,U.jsxs)(`div`,{className:`flex max-w-[520px] flex-col gap-2.5`,children:[(0,U.jsx)(nQ,{k:o(`summaryName`),v:g||o(`untitled`),empty:!g,onEdit:()=>h(0)}),(0,U.jsx)(nQ,{k:o(`summaryUrl`),v:v||o(`notSet`),empty:!v,mono:!0,onEdit:()=>h(0)}),(0,U.jsx)(nQ,{k:o(`profile`),v:b||o(`profileNone`),empty:!b,onEdit:()=>h(0)}),(0,U.jsx)(nQ,{k:o(`mcp`),v:p.find(e=>e.id===S)?.name||o(`mcpNone`),empty:!S,onEdit:()=>h(0)})]})})})}function nQ({k:e,v:t,mono:n,empty:r,onEdit:i}){let a=X(`pages.web.wizard`);return(0,U.jsxs)(`div`,{className:`border-border grid min-h-[50px] grid-cols-[100px_1fr_auto] items-center gap-3.5 rounded-[10px] border-[0.5px] bg-transparent p-[12px_14px]`,children:[(0,U.jsx)(`span`,{className:`text-fg-hint text-[10px] font-semibold tracking-[0.08em] uppercase`,children:e}),(0,U.jsx)(`span`,{className:W(`text-fg-strong truncate text-[13px] font-medium`,n&&`font-mono text-[12px]`,r&&`text-fg-hint font-normal italic`),children:t}),(0,U.jsx)(`button`,{type:`button`,onClick:i,className:`text-violet-dark hover:bg-violet-pale rounded-[5px] px-2 py-1 text-[11px] font-medium`,children:a(`edit`)})]})}function rQ({title:e,message:t,confirmLabel:n,loading:r,onCancel:i,onConfirm:a}){let o=X(`shell.deleteDialog`),[s,c]=(0,O.useState)(``),l=o(`typeWord`),u=s===l&&!r;return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&i(),children:(0,U.jsxs)(ST,{className:`w-[380px] gap-0 p-[22px_22px_18px]`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:e}),(0,U.jsx)(`div`,{className:`bg-status-failed-bg text-status-failed mb-3.5 grid size-10 place-items-center rounded-[10px]`,children:(0,U.jsx)($b,{className:`size-[18px]`,strokeWidth:1.8})}),(0,U.jsx)(`div`,{className:`text-fg-strong mb-1.5 text-[15px] font-semibold tracking-[-0.01em]`,children:e}),(0,U.jsx)(`p`,{className:`text-muted-foreground mb-3.5 text-[12.5px] leading-[1.5]`,children:t}),(0,U.jsx)(`label`,{className:`text-muted-foreground mb-1.5 block text-[11.5px]`,children:o.rich(`typeLabel`,{code:e=>(0,U.jsx)(`span`,{className:`bg-status-failed-bg text-fg-strong rounded px-1.5 font-mono font-semibold`,children:e})})}),(0,U.jsx)(`input`,{autoFocus:!0,value:s,onChange:e=>c(e.target.value),placeholder:l,className:`border-border bg-background text-fg-strong focus:border-status-failed focus:ring-status-failed/15 mb-[18px] w-full rounded-[7px] border-[0.5px] px-2.5 py-2 font-mono text-[13px] outline-none focus:ring-[3px]`}),(0,U.jsxs)(`div`,{className:`mt-[18px] flex justify-end gap-2`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:i,className:`border-border text-fg-strong hover:bg-surface-hover inline-flex items-center rounded-[7px] border-[0.5px] px-3.5 py-[7px] text-[12.5px] font-medium`,children:o(`cancel`)}),(0,U.jsxs)(`button`,{type:`button`,disabled:!u,onClick:a,className:`bg-status-failed inline-flex items-center gap-1.5 rounded-[7px] px-3.5 py-[7px] text-[12.5px] font-medium text-white disabled:cursor-not-allowed disabled:opacity-45`,children:[(0,U.jsx)($b,{className:`size-3`,strokeWidth:1.9}),r?o(`deleting`):n]})]})]})})}function iQ({title:e,label:t,initial:n=``,confirmLabel:r,onCancel:i,onConfirm:a}){let o=X(`pages.web.overview`),[s,c]=(0,O.useState)(n),[l,u]=(0,O.useState)(!1),d=s.trim();async function f(){if(!(!d||l)){u(!0);try{await a(d)}finally{u(!1)}}}return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&i(),children:(0,U.jsxs)(ST,{className:`w-[400px] gap-0 p-[22px]`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`text-fg-strong mb-3.5 text-[15px] font-semibold tracking-[-0.01em]`,children:e}),(0,U.jsx)(`label`,{className:`text-muted-foreground mb-1.5 block text-[11.5px] font-medium`,children:t}),(0,U.jsx)(`input`,{autoFocus:!0,value:s,onChange:e=>c(e.target.value),onKeyDown:e=>e.key===`Enter`&&f(),className:`border-border bg-background text-fg-strong focus:border-violet focus:ring-violet/15 mb-[18px] w-full rounded-[7px] border-[0.5px] px-2.5 py-2 text-[13px] outline-none focus:ring-[3px]`}),(0,U.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:i,className:`border-border text-fg-strong hover:bg-surface-hover inline-flex items-center rounded-[7px] border-[0.5px] px-3.5 py-[7px] text-[12.5px] font-medium`,children:o(`cancel`)}),(0,U.jsx)(`button`,{type:`button`,disabled:!d||l,onClick:f,className:`bg-violet hover:bg-violet-dark inline-flex items-center rounded-[7px] px-3.5 py-[7px] text-[12.5px] font-medium text-white disabled:cursor-not-allowed disabled:opacity-45`,children:r})]})]})})}function aQ(e){return new Map(e.map(e=>[e.id,e]))}function QBe(e,t){let n=[],r=new Set,i=t??null;for(;i&&!r.has(i);){r.add(i);let t=e.get(i);if(!t)break;n.unshift(t.name),i=t.parentId??null}return n}function oQ(e,t){return QBe(e,t).join(` / `)}function sQ({path:e,className:t}){let[n,r]=(0,O.useState)(!1),i=(0,O.useRef)(null),a=(0,O.useCallback)(e=>{if(i.current?.disconnect(),i.current=null,!e)return;let t=()=>r(e.scrollWidth>e.clientWidth+1);
179t(),i.current=new ResizeObserver(t),i.current.observe(e)},[]),o=(e??``).split(` / `).filter(Boolean);return e==null?null:(0,U.jsx)(dy,{content:n?e:``,children:(0,U.jsxs)(`span`,{ref:a,className:W(`text-fg-hint block max-w-full min-w-0 truncate text-[11px]`,t),children:[(0,U.jsx)(`span`,{"aria-hidden":!0,className:`mr-1 opacity-60`,children:`â`}),(0,U.jsx)(lb,{className:`mr-1 inline size-3 opacity-70`,"aria-hidden":!0}),o.length===0?(0,U.jsx)(`span`,{className:`opacity-80`,children:`/`}):o.map((e,t)=>(0,U.jsxs)(`span`,{children:[t>0&&(0,U.jsx)(Ly,{className:`mx-0.5 inline size-2.5 align-middle opacity-50`,"aria-hidden":!0}),e]},t))]})})}var $Be=[10,25,50,100],eVe=864e5;function cQ(e,t,n){if(!t&&!n)return{nodes:e,expandIds:[]};let r=[];function i(e){let a=[];for(let o of e)if(o.kind===`item`){let e=!t||o.name.toLowerCase().includes(t)||(o.test?.id??``).toLowerCase().includes(t),r=!n||(o.test?.creationTime??0)>=n;e&&r&&a.push(o)}else{let e=i(o.children??[]);(e.length||!t||o.name.toLowerCase().includes(t))&&(e.length&&r.push(o.id),a.push({...o,children:e}))}return a}return{nodes:i(e),expandIds:r}}function tVe(e,t,n){let r=[];function i(e){for(let a of e)if(a.kind===`item`){let e=!t||a.name.toLowerCase().includes(t)||(a.test?.id??``).toLowerCase().includes(t),i=!n||(a.test?.creationTime??0)>=n;e&&i&&r.push({...a,children:void 0})}else t&&a.name.toLowerCase().includes(t)&&r.push({...a,children:cQ(a.children??[],``,n).nodes}),i(a.children??[])}return i(e),r}function nVe(){let e=X(`pages.web.overview`),t=rS(),{activeCompanyID:n,activeTeamID:r,loading:i}=NT(),a=iZ(),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)({}),[u,d]=(0,O.useState)(void 0),[f,p]=(0,O.useState)(1),[m,h]=(0,O.useState)(10),[g,_]=(0,O.useState)(null),[v,y]=(0,O.useState)(null),[b,x]=(0,O.useState)(null),[S,C]=(0,O.useState)(null),[w,T]=(0,O.useState)(null),[E,D]=(0,O.useState)(null),[k,A]=(0,O.useState)(null),[j,M]=(0,O.useState)(null),[N,P]=(0,O.useState)(null),[F,I]=(0,O.useState)({x:0,y:0}),L=!i&&!!n&&!!r;function R(e){y(e)}function z(e){if(!e||e===`any`)return;let t=Date.now(),n=e===`7d`?7:e===`30d`?30:e===`90d`?90:e===`year`?365:0;return n?t-n*eVe:void 0}function B(e){l(e),d(z(e.creation?.[0])),p(1)}let ee=cZ(n,r,L),V=(0,O.useMemo)(()=>ee.data?.nodes??[],[ee.data]),te=(0,O.useMemo)(()=>ee.data?.directories??[],[ee.data]),ne=(0,O.useMemo)(()=>WX(V),[V]),re=(0,O.useMemo)(()=>V.filter(e=>e.kind===`dir`).length,[V]),ie=dBe(),ae=fBe(),oe=pBe(),H=mBe(),se=_Be(),ce=hBe(n,r),le=gBe(),ue=vBe(),de={ariaLabel:e(`directoryColumn`),moveHere:e(`directoryMoveHere`),newHere:e(`directoryNewHere`),rename:e(`directoryRename`),delete:e(`directoryDelete`),searchPlaceholder:e(`directorySearchPlaceholder`),root:e(`directoryRoot`),newFolder:e(`directoryNew`)},fe=!!o||!!u,pe=o.trim().length>0,me=(0,O.useMemo)(()=>aQ(te),[te]),{nodes:he,expandIds:ge}=(0,O.useMemo)(()=>{let e=o.toLowerCase().trim();return pe?{nodes:tVe(V,e,u),expandIds:[]}:cQ(V,e,u)},[V,o,u,pe]),_e=he.length,ve=(0,O.useMemo)(()=>YX(he,g),[he,g]),ye=(0,O.useMemo)(()=>ve.slice((f-1)*m,f*m),[ve,f,m]);function be(e){_(t=>t?.key===e?t.dir===`asc`?{key:e,dir:`desc`}:null:{key:e,dir:`asc`}),p(1)}async function xe(i){let a=await ie.mutateAsync({test:{name:i.name,platform:`WEB`,initialUrl:i.url,settingProfileName:i.profile,mcpServerIds:i.mcpServerIds,companyId:n,teamId:r},parentPathItemId:v?.parentId??void 0});y(null),G.success(e(`createdToast`,{name:i.name})),a.id&&t.push(`/web/${a.id}`)}async function Se(e){let t=await pU.getTestById(e.id);x({id:e.id,initial:{name:t.name,url:t.initialUrl??``,profile:t.settingProfileName,mcpServerIds:t.mcpServerIds}})}async function Ce(t){if(!b)return;let n=await pU.getTestById(b.id);await ae.mutateAsync({...n,name:t.name,initialUrl:t.url,settingProfileName:t.profile,mcpServerIds:t.mcpServerIds}),x(null),G.success(e(`updatedToast`))}async function we(t){let n=await pU.getTestById(t.id);await oe.mutateAsync(n),G.success(e(`duplicatedToast`,{name:t.name}))}async function Te(){S&&(await H.mutateAsync({pathItemId:S.pathItemId}),G.success(e(`deletedToastTitle`),{description:e(`deletedToast`,{name:S.name})}),C(null))}function Ee(t){if(t.kind===`item`&&t.test){let n=t.test;return[{label:e(`edit`),icon:jb,onSelect:()=>void Se(n)},{label:e(`duplicate`),icon:Yy,onSelect:()=>void we(n)},{label:e(`move`),icon:Ob,onSelect:()=>{I($X()),T(n)}},`separator`,{label:e(`delete`),icon:$b,danger:!0,onSelect:()=>C(n)}]}let n=t.directory;return[{label:e(`newTestHere`),icon:Pb,onSelect:()=>R({parentId:n.id})},{label:e(`directorySubdir`),icon:sb,onSelect:()=>A({parentId:n.id})},{label:e(`move`),icon:Ob,onSelect:()=>{I($X()),D(n)}},{label:e(`directoryRename`),icon:jb,onSelect:()=>M(n)},`separator`,{label:e(`directoryDelete`),icon:$b,danger:!0,onSelect:()=>P({...n,hasChildren:!!t.children?.length})}]}return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`mb-4 flex items-center justify-between gap-3`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong hidden text-[22px] font-bold tracking-[-0.015em] md:block`,children:e(`title`)}),(0,U.jsxs)(`div`,{className:`hidden items-center gap-2 md:flex`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>A({parentId:null}),className:`border-border text-fg-strong hover:bg-surface-hover inline-flex h-[34px] items-center gap-1.5 rounded-lg border-[0.5px] px-3 text-[13px] font-medium`,children:[(0,U.jsx)(sb,{className:`size-3.5`}),e(`directoryNew`)]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>R({parentId:null}),className:`bg-violet hover:bg-violet-dark inline-flex h-[34px] items-center gap-1.5 rounded-lg px-3.5 text-[13px] font-medium text-white shadow-[0_1px_2px_rgba(79,70,229,0.15)]`,children:[(0,U.jsx)(Pb,{className:`size-3`,strokeWidth:2.4}),e(`newTest`)]})]})]}),(0,U.jsx)(QU,{query:ee,isEmpty:e=>e.nodes.length===0&&!fe,empty:(0,U.jsx)(rVe,{title:e(`emptyTitle`),subtitle:e(`emptySubtitle`),tourLabel:e(`emptyTour`),createLabel:e(`emptyCreate`),onCreate:()=>R({parentId:null})}),children:()=>(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`div`,{className:`mb-3 grid grid-cols-2 gap-2.5 sm:max-w-[640px]`,children:[(0,U.jsx)(tZ,{icon:cb,label:e(`kpiDirectories`),value:ZT(ne.dirs),subtitle:e(`kpiDirectoriesSub`,{count:re}),tone:`mint`}),(0,U.jsx)(tZ,{icon:qy,label:e(`kpiTests`),value:ZT(ne.items),subtitle:e(`kpiTestsSub`,{count:re}),tone:`violet`})]}),(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:o,onChange:e=>{s(e),p(1)},placeholder:e(`searchPlaceholder`),className:`max-w-[300px] flex-none`}),(0,U.jsx)(ZU,{label:e(`filter`),value:c,onChange:B,groups:[{key:`creation`,label:e(`filterCreation`),single:!0,options:[{value:`any`,label:e(`filterAny`)},{value:`7d`,label:e(`filter7d`)},{value:`30d`,label:e(`filter30d`)},{value:`90d`,label:e(`filter90d`)},{value:`year`,label:e(`filterYear`)}]}]})]}),he.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noTests`)}),e(`noTestsHint`)]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(JX,{nodes:ye,defaultExpandedIds:ge,headers:{type:e(`colType`),name:e(`colName`),date:e(`colCreated`),updated:e(`colUpdated`),count:e(`colItems`),actions:e(`colActions`)},dirIcon:(0,U.jsx)(cb,{className:`size-3.5`,strokeWidth:1.8}),itemIcon:(0,U.jsx)(qy,{className:`size-3.5`,strokeWidth:1.8}),renderDirName:e=>{let t=pe?oQ(me,e.directory?.parentId):void 0;return(0,U.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,U.jsx)(`span`,{className:`truncate`,children:e.name}),t!=null&&(0,U.jsx)(sQ,{path:t,className:`font-normal`})]})},renderItemName:e=>{let t=pe?oQ(me,e.test?.parentId):void 0;return(0,U.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[a?(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e.name}):(0,U.jsx)(Qw,{href:`/web/${e.test?.id??``}`,className:`hover:text-violet-dark text-violet font-medium`,children:e.name}),t!=null&&(0,U.jsx)(sQ,{path:t})]})},rowActions:Ee,sort:g,onSortChange:be,className:`rounded-b-none`},`${o}-${u??``}`),(0,U.jsx)(XU,{page:f,pageSize:m,total:_e,pageSizeOptions:$Be,onPageChange:p,onPageSizeChange:e=>{h(e),p(1)},itemLabel:e(`rowsTests`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),(0,U.jsx)(lQ,{open:!!v,onClose:()=>y(null),title:e(`newTest`),children:(0,U.jsx)(tQ,{title:e(`newTest`),onClose:()=>y(null),onSubmit:xe})}),(0,U.jsx)(lQ,{open:!!b,onClose:()=>x(null),title:e(`edit`),children:b&&(0,U.jsx)(tQ,{title:e(`edit`),initialData:b.initial,onClose:()=>x(null),onSubmit:Ce})}),S&&(0,U.jsx)(rQ,{title:e(`deleteTitle`,{name:S.name}),message:e(`deleteMessage`),confirmLabel:e(`deleteConfirm`),loading:H.isPending,onCancel:()=>C(null),onConfirm:Te}),k&&(0,U.jsx)(iQ,{title:k.parentId?e(`directorySubdir`):e(`directoryNew`),label:e(`colName`),confirmLabel:k.parentId?e(`directorySubdir`):e(`directoryNew`),onCancel:()=>A(null),onConfirm:async t=>{try{await ce.mutateAsync({name:t,parentId:k.parentId}),A(null)}catch(t){G.error(Iw(t)?e(`directoryDuplicateName`):e(`saveFailed`))}}}),j&&(0,U.jsx)(iQ,{title:e(`directoryRename`),label:e(`colName`),initial:j.name,confirmLabel:e(`directoryRename`),onCancel:()=>M(null),onConfirm:async t=>{try{await le.mutateAsync({id:j.id,name:t,bucket:`TEST`,parentId:j.parentId,type:`DIRECTORY`,companyId:n,teamId:r}),M(null)}catch(t){G.error(Iw(t)?e(`directoryDuplicateName`):e(`saveFailed`))}}}),N&&(0,U.jsx)(rQ,{title:e(`deleteTitle`,{name:N.name}),message:e(N.hasChildren?`deleteMessageDirNotEmpty`:`deleteMessageDirEmpty`),confirmLabel:e(`deleteConfirmDir`),loading:ue.isPending,onCancel:()=>P(null),onConfirm:async()=>{await ue.mutateAsync({id:N.id,strategy:`MOVE_CHILDREN_TO_PARENT`}),P(null)}}),w&&(0,U.jsx)(`div`,{className:`fixed inset-0 z-50`,onClick:()=>T(null),children:(0,U.jsx)(`div`,{className:`absolute`,style:eZ(F),onClick:e=>e.stopPropagation(),children:(0,U.jsx)(XX,{directories:te,selectedId:w.parentId??null,labels:de,onSelect:async t=>{try{await se.mutateAsync({pathItemIds:[w.pathItemId],targetPathItemId:t}),T(null)}catch(t){G.error(Iw(t)?e(`moveDuplicateName`):e(`moveFailed`))}},onCreate:async e=>{let t=await ce.mutateAsync(e);return{id:t.id,name:t.name,parentId:t.parentId??null}},onRename:(e,t)=>
179{let i=te.find(t=>t.id===e);le.mutateAsync({id:e,name:t,bucket:`TEST`,parentId:i?.parentId??null,type:`DIRECTORY`,companyId:n,teamId:r})},onDelete:e=>void ue.mutateAsync({id:e,strategy:`MOVE_CHILDREN_TO_PARENT`}),onClose:()=>T(null)})})}),E&&(0,U.jsx)(`div`,{className:`fixed inset-0 z-50`,onClick:()=>D(null),children:(0,U.jsx)(`div`,{className:`absolute`,style:eZ(F),onClick:e=>e.stopPropagation(),children:(0,U.jsx)(XX,{directories:te.filter(e=>!QX(E.id,te).has(e.id)),selectedId:E.parentId??null,labels:de,onSelect:async t=>{try{await se.mutateAsync({pathItemIds:[E.id],targetPathItemId:t}),D(null)}catch(t){G.error(Iw(t)?e(`moveDuplicateName`):e(`moveFailed`))}},onCreate:async e=>{let t=await ce.mutateAsync(e);return{id:t.id,name:t.name,parentId:t.parentId??null}},onRename:(e,t)=>{let i=te.find(t=>t.id===e);le.mutateAsync({id:e,name:t,bucket:`TEST`,parentId:i?.parentId??null,type:`DIRECTORY`,companyId:n,teamId:r})},onDelete:e=>void ue.mutateAsync({id:e,strategy:`MOVE_CHILDREN_TO_PARENT`}),onClose:()=>D(null)})})})]})}function lQ({open:e,onClose:t,title:n,children:r}){return(0,U.jsx)(xT,{open:e,onOpenChange:e=>!e&&t(),children:(0,U.jsxs)(ST,{className:`w-auto max-w-none gap-0 border-0 bg-transparent p-0 shadow-none sm:max-w-none`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:n}),r]})})}function rVe({title:e,subtitle:t,tourLabel:n,createLabel:r,onCreate:i}){return(0,U.jsxs)(`div`,{className:`bg-surface border-border mt-6 flex flex-col items-center rounded-2xl border-[0.5px] px-8 pt-16 pb-[72px] text-center shadow-[0_1px_2px_rgba(17,34,157,0.03)]`,children:[(0,U.jsxs)(`div`,{className:`relative mb-7 grid size-[132px] place-items-center`,children:[(0,U.jsx)(`div`,{className:`absolute inset-0 rounded-full`,style:{background:`radial-gradient(circle at 50% 45%, rgba(99,102,241,0.18) 0%, rgba(99,102,241,0.04) 60%, transparent 80%)`}}),(0,U.jsx)(`div`,{className:`relative grid size-[88px] place-items-center rounded-full text-white shadow-[0_12px_28px_rgba(99,102,241,0.35)]`,style:{background:`linear-gradient(135deg,#6366f1 0%,#4338ca 100%)`},children:(0,U.jsx)(ub,{className:`size-9`,strokeWidth:1.4})})]}),(0,U.jsx)(`h2`,{className:`text-fg-strong mb-2 text-[22px] font-semibold tracking-[-0.015em]`,children:e}),(0,U.jsx)(`p`,{className:`text-muted-foreground mb-7 max-w-[480px] text-[14px] leading-[1.55]`,children:t}),(0,U.jsxs)(`div`,{className:`flex gap-2.5`,children:[(0,U.jsx)(nZ,{src:cBe,label:n}),(0,U.jsxs)(`button`,{type:`button`,onClick:i,className:`bg-violet hover:bg-violet-dark inline-flex items-center gap-1.5 rounded-lg border-[0.5px] border-transparent px-[18px] py-2.5 text-[13px] font-medium text-white shadow-[0_1px_2px_rgba(67,56,202,0.2)]`,children:[(0,U.jsx)(Pb,{className:`size-3`,strokeWidth:2.2}),r]})]})]})}function iVe(){return(0,U.jsx)(nVe,{})}function uQ({className:e,size:t=`default`,...n}){return(0,U.jsx)(oie,{"data-slot":`switch`,"data-size":t,className:W(`peer group/switch focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 aria-invalid:ring-3 data-disabled:cursor-not-allowed data-disabled:opacity-50 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px]`,e),...n,children:(0,U.jsx)(sie,{"data-slot":`switch-thumb`,className:`bg-background dark:data-checked:bg-primary-foreground dark:data-unchecked:bg-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0`})})}var dQ=48,fQ=2*Math.PI*dQ;function pQ({pct:e,label:t=`Pass rate`,size:n=108,className:r}){let i=Math.max(0,Math.min(100,e)),a=fQ*i/100;return(0,U.jsxs)(`div`,{className:W(`relative shrink-0`,r),style:{width:n,height:n},role:`img`,"aria-label":`${t}: ${i}
179%`,children:[(0,U.jsxs)(`svg`,{viewBox:`0 0 108 108`,className:`size-full -rotate-90`,children:[(0,U.jsx)(`circle`,{className:`stroke-background fill-none`,strokeWidth:10,cx:`54`,cy:`54`,r:dQ}),(0,U.jsx)(`circle`,{className:`stroke-status-passed fill-none transition-[stroke-dasharray] duration-[600ms] ease-[cubic-bezier(.2,.7,.2,1)]`,strokeWidth:10,strokeLinecap:`round`,cx:`54`,cy:`54`,r:dQ,strokeDasharray:`${a} ${fQ-a}`})]}),(0,U.jsxs)(`div`,{className:`absolute inset-0 flex flex-col items-center justify-center leading-none`,children:[(0,U.jsxs)(`span`,{className:`text-fg-strong text-[26px] font-bold tracking-[-0.02em]`,children:[i,(0,U.jsx)(`small`,{className:`ml-px text-[14px]`,children:`%`})]}),(0,U.jsx)(`span`,{className:`text-muted-foreground mt-[5px] text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t})]})]})}function mQ({values:e,barClassName:t=`bg-background`,highlightClassName:n,highlightLast:r=!1,className:i}){let a=Math.max(1,...e);return(0,U.jsx)(`div`,{className:W(`flex h-4 items-end gap-[2px]`,i),"aria-hidden":`true`,children:e.map((i,o)=>{let s=r&&o===e.length-1;return(0,U.jsx)(`span`,{className:W(`min-h-[2px] flex-1 rounded-[1.5px]`,s?n??t:t),style:{height:`${i/a*100}%`}},o)})})}function hQ({children:e,className:t}){return(0,U.jsx)(`div`,{className:W(`mb-[18px] grid grid-cols-1 gap-3 md:grid-cols-[300px_1fr] md:gap-3.5`,t),children:e})}function gQ({pct:e,ringLabel:t,eyebrow:n,value:r,total:i,delta:a}){return(0,U.jsxs)(`div`,{className:`bg-surface border-border flex items-center gap-[18px] rounded-[14px] border-[0.5px] p-[18px_20px] shadow-sm`,children:[(0,U.jsx)(pQ,{pct:e,label:t}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`div`,{className:`text-fg-hint text-[9.5px] font-semibold tracking-[0.1em] uppercase`,children:n}),(0,U.jsxs)(`div`,{className:`text-fg-strong my-[2px] text-[24px] leading-[1.1] font-bold tracking-[-0.02em] tabular-nums md:text-[30px]`,children:[r,i&&(0,U.jsx)(`span`,{className:`text-fg-hint ml-1 text-[18px] font-medium tracking-normal`,children:i})]}),a&&(0,U.jsxs)(`span`,{className:W(`inline-flex items-center gap-1 text-[11.5px] font-medium`,a.direction===`down`?`text-status-failed`:`text-status-passed`),children:[(0,U.jsx)(Ry,{className:W(`size-2.5`,a.direction===`down`&&`rotate-180`)}),a.label,a.since&&(0,U.jsx)(`span`,{className:`text-fg-hint ml-1 font-normal`,children:a.since})]})]})]})}function _Q({children:e,columns:t=6,className:n}){return(0,U.jsx)(`div`,{className:W(`grid grid-cols-3 gap-2 md:grid-cols-[repeat(var(--kpi-cols),minmax(0,1fr))] md:gap-2.5`,n),style:{"--kpi-cols":t},children:e})}var aVe={passed:`bg-status-passed-bg text-status-passed`,failed:`bg-status-failed-bg text-status-failed`,running:`bg-status-running-bg text-status-running`,stopped:`bg-status-stopped-bg text-status-stopped border-border border-[0.5px]`,pending:`bg-status-pending-bg text-status-pending`,error:`bg-status-error-bg text-status-error`},oVe={passed:{bar:`bg-status-passed/30`,hi:`bg-status-passed`},failed:{bar:`bg-status-failed/30`,hi:`bg-status-failed`},running:{bar:`bg-status-running/30`,hi:`bg-status-running`},stopped:{bar:`bg-status-stopped/30`,hi:`bg-status-stopped`},pending:{bar:`bg-status-pending/30`,hi:`bg-status-pending`},error:{bar:`bg-status-error/30`,hi:`bg-status-error`}};function vQ({tone:e,label:t,value:n,icon:r,spark:i}){let a=oVe[e];return(0,U.jsxs)(`div`,{className:`bg-surface border-border hover:border-border-strong relative flex flex-col gap-1.5 overflow-hidden rounded-xl border-[0.5px] p-[12px_14px] transition-colors`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between gap-1.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t}),(0,U.jsx)(`span`,{className:W(`grid size-[18px] place-items-center rounded-[5px]`,aVe[e]),children:(0,U.jsx)(r,{className:`size-3`})})]}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[18px] leading-none font-bold tracking-[-0.02em] tabular-nums md:text-[22px]`,children:n}),i&&(0,U.jsx)(mQ,{values:i,barClassName:a.bar,highlightClassName:a.hi,highlightLast:!0,className:`mt-0.5`})]})}var sVe=[`success`,`failed`,`running`,`stopped`,`pending`,`error`];function yQ(e,t){let{activeCompanyID:n,activeTeamID:r}=NT(),i=(0,O.useMemo)(()=>bU(30),[]),a=GH({activeCompanyID:n,activeTeamID:r,startDate:i.startDate,endD
179ate:i.endDate,testOrPlan:e},t);return{range:i,sparks:(0,O.useMemo)(()=>{let e=a.data?wU(a.data.executionSummaryPerUserByDate??{}):{},t=xU(Object.entries(e).map(([e,t])=>({date:new Date(e),value:t})).sort((e,t)=>e.date.getTime()-t.date.getTime()),`weekly`,SU,CU);return Object.fromEntries(sVe.map(e=>[e,t.map(t=>t.value[e]??0)]))},[a.data])}}var cVe={passed:`text-status-passed`,failed:`text-status-failed`,running:`text-status-running`,stopped:`text-status-stopped`,pending:`text-status-pending`,error:`text-status-error`},lVe={passed:{bar:`bg-status-passed/30`,hi:`bg-status-passed`},failed:{bar:`bg-status-failed/30`,hi:`bg-status-failed`},running:{bar:`bg-status-running/30`,hi:`bg-status-running`},stopped:{bar:`bg-status-stopped/30`,hi:`bg-status-stopped`},pending:{bar:`bg-status-pending/30`,hi:`bg-status-pending`},error:{bar:`bg-status-error/30`,hi:`bg-status-error`}};function bQ({passRate:e,ringLabel:t,window:n,total:r,totalSuffix:i,delta:a,cards:o}){return(0,U.jsxs)(`div`,{className:`mb-3 md:hidden`,children:[(0,U.jsxs)(`div`,{className:`bg-surface border-border mb-3 flex items-center gap-4 roun
179ded-[14px] border-[0.5px] p-4 shadow-sm`,children:[(0,U.jsx)(pQ,{pct:e,label:t,size:78}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`div`,{className:`text-muted-foreground text-[10px] font-semibold tracking-[0.08em] uppercase`,children:n}),(0,U.jsxs)(`div`,{className:`text-fg-strong mt-1 text-[26px] leading-[1.1] font-bold tracking-[-0.02em] tabular-nums`,children:[r,i&&(0,U.jsx)(`small`,{className:`text-fg-hint ml-1 text-[13px] font-medium tracking-normal`,children:i})]}),a&&(0,U.jsxs)(`span`,{className:W(`mt-1.5 inline-flex items-center gap-1 text-[11.5px] font-semibold`,a.direction===`down`?`text-status-failed`:`text-status-passed`),children:[(0,U.jsx)(Ry,{className:W(`size-3`,a.direction===`down`&&`rotate-180`)}),a.label,a.since&&(0,U.jsx)(`span`,{className:`text-fg-hint ml-0.5 font-medium`,children:a.since})]})]})]}),(0,U.jsx)(`div`,{className:`-mx-4 flex gap-2.5 overflow-x-auto px-4 pb-1`,style:{scrollSnapType:`x proximity`},children:o.map(e=>{let t=e.icon,n=lVe[e.tone];return(0,U.jsxs)(`div`,{className:`bg-surface border-border flex w-[128px] shrink-0 flex-col rounded-[13px] border-[0.5px] p-[12px_13px_11px] shadow-sm`,style:{scrollSnapAlign:`start`},children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between gap-1.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[10.5px] font-semibold tracking-[0.05em] uppercase`,children:e.label}),(0,U.jsx)(t,{className:W(`size-[13px]`,cVe[e.tone])})]}),(0,U.jsx)(`span`,{className:`text-fg-strong mt-[7px] text-[24px] leading-[1.05] font-bold tracking-[-0.02em] tabular-nums`,children:e.value}),e.spark&&(0,U.jsx)(mQ,{values:e.spark,barClassName:n.bar,highlightClassName:n.hi,highlightLast:!0,className:`mt-2.5 h-[22px]`})]},e.label)})})]})}function xQ({icon:e,iconClassName:t,name:n,sub:r,footer:i,onClick:a,className:o}){return(0,U.jsxs)(`button`,{type:`button`,onClick:a,className:W(`border-divider active:bg-surface-hover flex w-full items-start gap-3 border-b p-[14px] text-left last:border-b-0`,o),children:[(0,U.jsx)(`span`,{className:W(`mt-px grid size-9 shrink-0 place-items-center rounded-[10px]`,t),children:e}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong line-clamp-2 text-[14px] leading-[1.3] font-semibold`,children:n}),(0,U.jsx)(`div`,{className:`text-muted-foreground mt-[3px] flex flex-wrap items-center gap-[7px] text-[11px]`,children:r}),(0,U.jsx)(`div`,{className:`mt-[9px]`,children:i})]})]})}function SQ(){return(0,U.jsx)(`span`,{className:`bg-fg-hint size-[3px] shrink-0 rounded-full`})}function CQ({open:e,onOpenChange:t,kind:n,onRerun:r,onRerunFailed:i,failedCount:a,onCopyLink:o,onDownloadLogs:s,downloadPending:c=!1}){let l=X(`shell.runActionsSheet`);function u(e){e(),t(!1)}return(0,U.jsx)(VT,{open:e,onOpenChange:t,children:(0,U.jsxs)(HT,{side:`bottom`,showCloseButton:!1,className:`rounded-t-[22px] px-0 pt-2 md:hidden`,style:{paddingBottom:`calc(12px + env(safe-area-inset-bottom, 0px))`},children:[(0,U.jsx)(`div`,{className:`bg-border-strong mx-auto mt-1.5 mb-3 h-1 w-[38px] rounded-full`}),(0,U.jsx)(UT,{className:`mb-1 px-4 py-0`,children:(0,U.jsx)(WT,{className:`text-fg-strong text-[18px] font-bold tracking-[-0.02em]`,children:l(n===`plan`?`titlePlan`:`titleTest`)})}),(0,U.jsxs)(`div`,{className:`mt-2 flex flex-col px-2`,children:[r&&(0,U.jsxs)(`button`,{type:`button`,onClick:()=>u(r),className:`hover:bg-surface-hover active:bg-surface-hover flex items-center gap-3.5 rounded-xl px-4 py-3 text-left`,children:[(0,U.jsx)(`span`,{className:`bg-surface-alt grid size-[38px] shrink-0 place-items-center rounded-[10px]`,children:(0,U.jsx)(Mb,{className:`text-fg-body size-[19px]`})}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[14px] font-semibold`,children:l(n===`plan`?`rerunPlan`:`rerunTest`)})]}),n===`plan`&&i&&(a??0)>0&&(0,U.jsxs)(`button`,{type:`button`,onClick:()=>u(i),className:`hover:bg-surface-hover active:bg-surface-hover flex items-center gap-3.5 rounded-xl px-4 py-3 text-left`,children:[(0,U.jsx)(`span`,{className:`bg-surface-alt grid size-[38px] shrink-0 place-items-center rounded-[10px]`,children:(0,U.jsx)(Ib,{className:`text-fg-body size-[19px]`})}),(0,U.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block text-[14px] font-semibold`,children:l(`rerunFailed`)}),(0,U.jsx)(`span`,{className:`text-muted-foreground block text-[11.5px]`,children:l(`failedTests`,{count:a??0})})]})]}),o&&(0,U.jsxs)(`button`,{type:`button`,onClick:()=>u(o),className:`hover:bg-surface-hover active:bg-surface-hover flex items-center gap-3.5 rounded-xl px-4 py-3 text-left`,children:[(0,U.jsx)(`span`,{className:`bg-surface-alt grid size-[38px] shrink-0 place-items-center rounded-[10px]`,children:(0,U.jsx)(hb,{className:`text-fg-body size-[19px]`})}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[14px] font-semibold`,children:l(`copyLink`)})]}),s&&(0,U.jsxs)(`button`,{type:`button`,onClick:()=>
179u(s),disabled:c,className:`hover:bg-surface-hover active:bg-surface-hover flex items-center gap-3.5 rounded-xl px-4 py-3 text-left disabled:opacity-60`,children:[(0,U.jsx)(`span`,{className:`bg-surface-alt grid size-[38px] shrink-0 place-items-center rounded-[10px]`,children:c?(0,U.jsx)(gb,{className:`text-fg-body size-[19px] animate-spin`}):(0,U.jsx)(Qy,{className:`text-fg-body size-[19px]`})}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[14px] font-semibold`,children:l(`downloadLogs`)})]})]})]})})}var uVe={passed:`bg-status-passed`,failed:`bg-status-failed`,running:`bg-status-running`,stopped:`bg-status-stopped`,pending:`bg-status-pending`,error:`bg-status-error`};function wQ({options:e,selected:t,onChange:n,className:r}){return(0,U.jsx)(`div`,{className:W(`-mx-4 flex gap-2 overflow-x-auto px-4 pb-1 md:hidden`,r),style:{scrollbarWidth:`none`},children:e.map(e=>{let r=t===e.value;return(0,U.jsxs)(`button`,{type:`button`,onClick:()=>n(e.value),className:W(`inline-flex shrink-0 items-center gap-1.5 rounded-full border-[0.5px] px-[13px] py-[7px] text-[12.5px] font-medium`,r?`border-violet-light bg-violet-pale text-violet-dark`:`border-border bg-surface text-fg-body`),children:[e.tone&&(0,U.jsx)(`span`,{className:W(`size-[7px] rounded-full`,uVe[e.tone])}),e.label]},e.value)})})}function TQ({onClose:e,title:t,crumbs:n,meta:r,tabs:i,activeTab:a,onTabChange:o,onBack:s,footer:c,children:l,className:u,widthClassName:d=`w-[420px] max-w-[95vw]`,overlay:f=!1,mobileBack:p=!1,mobileTitle:m,mobileSubtitle:h,headerActions:g,bodyClassName:_=`flex-1 overflow-y-auto p-[14px_18px_22px]`}){return(0,U.jsxs)(`aside`,{className:W(`bg-surface border-border animate-side-in z-10 flex flex-col border-l-[0.5px] shadow-[-12px_0_32px_rgba(17,34,157,0.06)]`,f?`fixed top-0 right-0 bottom-[calc(var(--mobile-tabbar-h)+env(safe-area-inset-bottom,0px))] md:bottom-0`:`absolute top-0 right-0 bottom-0`,d,u),role:`dialog`,"aria-label":`Details`,children:[(0,U.jsxs)(`header`,{className:`border-divider border-b p-[16px_18px_12px]`,children:[(0,U.jsxs)(`div`,{className:`mb-2.5 flex items-center justify-between gap-2`,children:[(0,U.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[p&&(0,U.jsx)(`button`,{type:`button`,onClick:s??e,"aria-label":`Back`,className:`text-fg-strong hover:bg-surface-hover -ml-1.5 grid size-[30px] shrink-0 place-items-center rounded-md md:hidden`,children:(0,U.jsx)(Iy,{className:`size-[22px]`,strokeWidth:2})}),s&&(0,U.jsx)(`button`,{type:`button`,onClick:s,"aria-label":`Back`,className:W(`text-muted-foreground hover:bg-surface-hover hover:text-fg-strong -ml-1 grid size-[26px] shrink-0 place-items-center rounded-md`,p&&`hidden md:grid`),children:(0,U.jsx)(Sy,{className:`size-3.5`})}),m&&(0,U.jsxs)(`span`,{className:`min-w-0 md:hidden`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block truncate text-[19px] leading-tight font-bold tracking-[-0.02em]`,children:m}),h&&(0,U.jsx)(`span`,{className:`text-muted-foreground mt-0.5 block truncate font-mono text-[12.5px]`,children:h})]}),n&&(0,U.jsx)(`span`,{className:W(`text-muted-foreground truncate text-[11px]`,m&&`hidden md:inline`),children:n})]}),(0,U.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[g,(0,U.jsx)(`button`,{type:`button`,onClick:e,"aria-label":`Close panel`,className:W(`text-muted-foreground hover:bg-surface-hover hover:text-fg-strong grid size-[26px] shrink-0 place-items-center rounded-md`,p&&`hidden md:grid`),children:(0,U.jsx)(ox,{className:`size-3.5`})})]})]}),(0,U.jsx)(`div`,{className:W(`text-fg-strong mb-1.5 tracking-[-0.01em]`,m?`text-[22px] font-bold md:text-[16px] md:font-semibold`:`text-[16px] font-semibold`),children:t}),r&&(0,U.jsx)(`div`,{className:`text-muted-foreground flex flex-wrap items-center gap-2 text-[11.5px]`,children:r})]}),i&&i.length>0&&(0,U.jsx)(`div`,{className:`border-divider flex gap-1.5 overflow-x-auto border-b px-3`,role:`tablist`,style:{scrollbarWidth:`none`},children:i.map(e=>{let t=e.key===a;return(0,U.jsxs)(`button`,{type:`button`,role:`tab`,"aria-selected":t,onClick:()=>o?.(e.key),className:W(`-mb-px inline-flex shrink-0 items-center gap-1.5 border-b-2 px-3 py-2.5 text-[12px] transition-colors`,t?`border-violet text-fg-strong font-medium`:`text-muted-foreground hover:text-fg-strong border-transparent`),children:[e.label,e.count!=null&&(0,U.jsx)(`span`,{className:W(`rounded-full px-1.5 font-mono text-[10px]`,t?`bg-violet text-white`:`bg-background text-muted-foreground`),children:e.count})]},e.key)})}),(0,U.jsx)(`div`,{className:W(`min-h-0`,_),children:l}),c&&(0,U.jsxs)(`div`,{className:`border-divider relative flex justify-end gap-2 border-t p-[12px_18px]`,children:[(0,U.jsx)(`div`,{className:`from-surface pointer-events-none absolute -top-6 right-0 left-0 h-6 bg-gradient-to-t to-transparent md:hidden`}),c]})]})}var dVe=/"(?:[^"\\]|\\.)*"|\b(?:true|false|null)\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g;function fVe(e){let t=[],n=0;for(let r of e.matchAll(dVe)){let i=r.index??0,a=r[0],o=i+a.length;i>n&&t.push({text:e.slice(n,i),cls:null});let s;s=a[0]===`"`?/^\s*:/.test(e.slice(o))?`jsonhl-key`:`jsonhl-str`:a===`true`||a===`false`?`jsonhl-bool`:a===`null`?`jsonhl-null`:`jsonhl-num`,t.push({text:a,cls:s}),n=o}return n<e.length&&t.push({text:e.slice(n),cls:null}),t}function EQ({value:e,copyLabel:t=`Copy`,className:n,maxHeightClassName:r=`max-h-[260px]`}){let i=(0,O.useMemo)(()=>typeof e==`string`?e:JSON.stringify(e,null,2),[e]),a=(0,O.useMemo)(()=>fVe(i),[i]),[o,s]=(0,O.useState)(!1);function c(){navigator.clipboard.writeText(i).then(()=>{s(!0),setTimeout(()=>s(!1),1400)}).catch(()=>{})}return(0,U.jsxs)(`div`,{className:W(`border-border bg-surface relative overflow-auto rounded-md border-[0.5px]`,r,n),children:[(0,U.jsx)(`pre`,{className:`text-fg-strong p-[10px_12px] font-mono text-[10.5px] leading-[1.55] whitespace-pre`,children:a.map((e,t)=>e.cls?(0,U.jsx)(`span`,{className:e.cls,children:e.text},t):(0,U.jsx)(O.Fragment,{children:e.text},t))}),(0,U.jsx)(`button`,{type:`button`,onClick:c,"aria-label":t,className:`border-border bg-surface/90 text-muted-foreground hover:text-fg-strong absolute top-2 right-2 grid size-[22px] place-items-center rounded-[5px] border-[0.5px] backdrop-blur-sm`,children:o?(0,U.jsx)(Py,{className:`text-status-passed size-3`}):(0,U.jsx)(Yy,{className:`size-3`})})]})}var pVe=new class{async getStepMessagesByExecutionId(e){try{let{data:t}=await J.get(`/v1/step-message/execution/${e}`);return t??[]}catch(e){if((typeof e==`object`&&e&&`response`in e?e.response?.status:void 0)===404)return[];throw e}}},mVe=[`current time`];function DQ(e){return e.vars&&e.vars.trim()!==``?e.vars:e.varsUrl&&e.varsUrl.trim()!==``?e.varsUrl:null}function OQ(e){return DQ(e)!==null}function hVe(e){return typeof atob==`function`?atob(e):Buffer.from(e,`base64`).toString(`binary`)}async function kQ(e,t){try{if(e.vars?.trim())return JSON.parse(hVe(e.vars));if(e.varsUrl?.trim()){let n=await t(e.varsUrl,e.executionId);return JSON.parse(n)}}catch{return null}return null}function gVe(e){return[...e].sort((e,t)=>
179(e.creationTime??0)-(t.creationTime??0))}async function _Ve(e,t){let n=gVe(e).filter(OQ);for(let e=n.length-1;e>=0;e--){let r=await kQ(n[e],t);if(r)return vVe(r)}return null}function vVe(e){let t={};for(let[n,r]of Object.entries(e))mVe.includes(n)||(t[n]=r);return t}function AQ(e){return nc({queryKey:Y.editor.stepMessages(e??``),queryFn:()=>pVe.getStepMessagesByExecutionId(e),enabled:!!e})}function yVe(e){let t=e?DQ(e):null,n=!!e?.vars?.trim(),r=e?.executionId;return nc({queryKey:Y.editor.messageVariables(t??``,r,n),queryFn:()=>kQ({vars:n?t??void 0:void 0,varsUrl:n?void 0:t??void 0,executionId:r},(e,t)=>oW.getText(e,t)),enabled:!!t,staleTime:1/0})}function bVe(e,t){let n=e.filter(OQ),r=n.map(e=>e.id??e.varsUrl??``).join(`|`)+`#${n.length}`;return nc({queryKey:Y.editor.stateVariables(t??``,r),queryFn:()=>_Ve(e,(e,t)=>oW.getText(e,t)),enabled:n.length>0})}function jQ(e){return nc({queryKey:Y.editor.screenshot(e??``),queryFn:()=>oW.getObjectUrl(e),enabled:!!e,staleTime:1/0,gcTime:3e5})}var xVe=`not_explicit`,SVe=[{key:`parametricTask`,aliases:[`parametricTask`]},{key:`verified`,aliases:[`verified`]},{key:`verificationSummary`,aliases:[`verificationSummary`]},{key:`conditionSatisfied`,aliases:[`conditionSatisfied`]},{key:`conditionVerification`,aliases:[`conditionVerification`]},{key:`steps`,aliases:[`steps`]},{key:`args`,aliases:[`args`]},{key:`url`,aliases:[`url`]},{key:`fileLocation`,aliases:[`fileLocation`]},{key:`direction`,aliases:[`direction`]},{key:`count`,aliases:[`cnt`,`count`]},{key:`timeGapMs`,aliases:[`timeGap`,`timeGapMs`]},{key:`duration`,aliases:[`duration`]},{key:`scrollItemCount`,aliases:[`scrollItemCnt`,`scrollItemCount`]},{key:`scrollPercent`,aliases:[`scrollPercent`]},{key:`verticalHomingRequired`,aliases:[`verticalHomingRequired`]},{key:`horizontalHomingRequired`,aliases:[`horizontalHomingRequired`]},{key:`expectedState`,aliases:[`currState`,`expectedState`]},{key:`targetState`,aliases:[`targetState`]},{key:`argument`,aliases:[`argument`]},{key:`sequence`,aliases:[`sequence`]},{key:`actionType`,aliases:[`actionType`,`type`]}];function MQ(e){return typeof e==`string`&&e.trim()&&e.trim()!==xVe?e.trim():void 0}function NQ(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function PQ(e){if(e)try{let t=JSON.parse(e);return NQ(t)?t:void 0}catch{return}}function FQ(e){if(typeof e==`string`)return MQ(e);if(typeof e==`number`||typeof e==`boolean`)return e;if(Array.isArray(e)){let t=e.map(FQ).filter(e=>e!==void 0);return t.length>0?t:void 0}if(NQ(e)){let t=Object.entries(e).flatMap(([e,t])=>{let n=FQ(t);return n===void 0?[]:[[e,n]]});return t.length>0?Object.fromEntries(t):void 0}}function CVe(e,t){for(let n of t){let t=Object.getOwnPropertyDescriptor(e,n);if(t)return t.value}}function IQ(e){if(!e)return{label:``};let t=PQ(e);if(!t)return{label:e};let n=MQ(t.action)??MQ(t.type),r=[n,MQ(t.element)??MQ(t.target)??MQ(t.argument)].filter(Boolean).join(` `),i=MQ(t.stepInstruction)??MQ(t.intent)??MQ(t.instruction)??(r||``),a=t.state?.vars?.vars,o=MQ(t.url)??MQ(a?.[`current url`]?.value);return{uid:MQ(t.uid),label:i,action:n,url:o,intent:MQ(t.intent)}}function LQ(e){return IQ(e).label||`-`}function wVe(e){let t=[e.sourceId??``,IQ(e.step).uid??e.step??``,e.creationTime??``,e.status??``,e.screenshot??``].join(`|`);return e.creationTime?t:`${t}|${e.id??``}`}function TVe(e,t){let n=new Map,r=0,i=e=>{if(!e.sourceId)return;let t=n.get(e.sourceId);t||(t=new Map,n.set(e.sourceId,t));let i=wVe(e),a=t.get(i);a?t.set(i,{message:a.message.id?a.message:e,order:a.order}):t.set(i,{message:e,order:r++})};for(let t of e)i(t);for(let e of t.values())for(let t of e)i(t);let a=new Map;for(let[e,t]of n){let n=[...t.values()].sort((e,t)=>(e.message.creationTime??0)-(t.message.creationTime??0)||e.order-t.order);a.set(e,n.map(e=>e.message))}return a}function RQ(e,t){let n=[e,PQ(t)].filter(NQ),r=SVe.flatMap(e=>{for(let t of n){let n=FQ(CVe(t,e.aliases));if(n!==void 0)return[[e.key,n]]}return[]});return r.length>0?Object.fromEntries(r):null}function EVe(e,t){let n=new Blob([e.join(` 180`).replace(/\r?\n/g,`\r 181`)],{type:`text/plain;charset=utf-8`}),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=t,document.body.appendChild(i),i.click(),i.remove(),URL.revokeObjectURL(r)}function zQ(e){return/\b(error|exception|fail(ed|ure)?)\b/i.test(e)?`err`:/\bwarn(ing)?\b/i.test(e)?`warn`:`info`}var DVe={err:`text-[#fecaca]`,warn:`text-[#fde68a]`,info:`text-[#cdd2e6]`},OVe={err:`text-[#f87171]`,warn:`text-[#fbbf24]`,info:`text-[#60a5fa]`};function kVe({reportDataUrl:e,active:t,downloadName:n}){let r=nU(e,t);return(0,U.jsx)(BQ,{query:r,downloadName:n})}function BQ({query:e,downloadName:t}){let n=X(`pages.web.results`),[r,i]=(0,O.useState)(`all`),[a,o]=(0,O.useState)(``),s=(0,O.useMemo)(()=>(e.data?.logs??[]).map(e=>({text:e,lvl:zQ(e)})),[e.data]),c=s.filter(e=>e.lvl===`err`).length,l=s.filter(e=>e.lvl===`warn`).length,u=s.filter(e=>!(r!==`all`&&e.lvl!==r||a&&!e.text.toLowerCase().includes(a.toLowerCase())));return e.isPending?(0,U.jsxs)(`div`,{className:`text-muted-foreground flex items-center gap-2 p-4 text-[12px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),n(`panel.loadingLogs`)]}):s.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground p-4 text-[12px]`,children:n(`panel.noLogs`)}):(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[(0,U.jsxs)(`div`,{className:`bg-background border-divider flex items-center justify-between gap-2 border-b px-3 py-2`,children:[(0,U.jsx)(`div`,{className:`bg-surface border-border inline-flex rounded-md border-[0.5px] p-0.5`,children:[`all`,`err`,`warn`].map(e=>(0,U.jsx)(`button`,{type:`button`,onClick:()=>i(e),className:W(`rounded px-2 py-0.5 text-[10.5px] font-medium`,r===e?`bg-violet-pale text-violet-dark`:`text-muted-foreground`),children:n(`panel.lvl_${e}`)},e))}),(0,U.jsxs)(`div`,{className:`bg-surface border-border flex h-6 min-w-0 flex-1 items-center gap-1.5 rounded-md border-[0.5px] px-2`,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3`}),(0,U.jsx)(`input`,{value:a,onChange:e=>o(e.target.value),placeholder:n(`panel.searchLog`),className:`text-fg-body min-w-0 flex-1 bg-transparent text-[11px] outline-none`})]}),t&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>EVe(e.data?.logs??[],t),title:n(`panel.downloadLogs`),"aria-label":n(`panel.downloadLogs`),className:`bg-surface border-border text-muted-foreground hover:text-fg-strong grid size-6 shrink-0 place-items-center rounded-md border-[0.5px]`,children:(0,U.jsx)(Qy,{className:`size-3`})})]}),(0,U.jsx)(`div`,{className:`min-h-0 flex-1 overflow-auto bg-[#0f1326] py-1.5 font-mono text-[11px] leading-[1.65]`,children:u.length===0?(0,U.jsx)(`div`,{className:`py-6 text-center text-[11px] text-[#7a82a3]`,children:n(`panel.noLogMatch`)}):u.map((e,t)=>(0,U.jsxs)(`div`,{className:`grid grid-cols-[40px_1fr] gap-2 px-3 odd:bg-white/[0.018]`,children:[(0,U.jsx)(`span`,{className:W(`pt-px text-[9.5px] font-semibold tracking-[0.04em] uppercase`,OVe[e.lvl]),children:e.lvl}),(0,U.jsx)(`span`,{className:W(`break-words whitespace-pre-wrap`,DVe[e.lvl]),children:e.text})]},t))}),(0,U.jsxs)(`div`,{className:`flex items-center gap-3.5 bg-[#1a1f3a] px-3 py-2 font-mono text-[10.5px] text-[#7a82a3]`,children:[(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:`size-1.5 rounded-full bg-[#f87171]`}),n(`panel.errCount`,{count:c}
181)]}),(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:`size-1.5 rounded-full bg-[#fbbf24]`}),n(`panel.warnCount`,{count:l})]}),(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:`size-1.5 rounded-full bg-[#60a5fa]`}),n(`panel.entryCount`,{count:s.length})]})]})]})}function VQ(e){try{let t=new URL(e);return{path:(t.pathname||`/`)+t.search,host:t.host}}catch{return{path:e,host:``}}}function HQ(e){return e==null||e<0?`-`:e<1e3?`${Math.round(e)} ms`:`${(e/1e3).toFixed(2)} s`}var UQ={GET:`bg-status-pending-bg text-status-pending`,POST:`bg-status-passed-bg text-status-passed`,PUT:`bg-status-running-bg text-status-running`,DELETE:`bg-status-failed-bg text-status-failed`};function WQ(e){return e>=400?{text:`text-status-failed-fg`,dot:`bg-status-failed`}:e>=300?{text:`text-status-pending-fg`,dot:`bg-status-pending`}:{text:`text-status-passed-fg`,dot:`bg-status-passed`}}function AVe({harUrl:e,active:t}){let n=Nke(e,t);return(0,U.jsx)(GQ,{query:n})}function GQ({query:e}){let t=X(`pages.web.results`),[n,r]=(0,O.useState)(``),[i,a]=(0,O.useState)(!1),[o,s]=(0,O.useState)(null),c=(0,O.useMemo)(()=>e.data?.log?.entries??[],[e.data]);if(e.isPending)return(0,U.jsxs)(`div`,{className:`text-muted-foreground flex items-center gap-2 p-4 text-[12px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),t(`panel.loadingNetwork`)]});if(c.length===0)return(0,U.jsx)(`p`,{className:`text-muted-foreground p-4 text-[12px]`,children:t(`panel.noNetwork`)});if(o!=null&&c[o])return(0,U.jsx)(jVe,{entry:c[o],onBack:()=>s(null)});let l=c.map((e,t)=>{let{path:n,host:r}=VQ(e.request?.url??``);return{idx:t,method:e.request?.method??`GET`,path:n,host:r,status:e.response?.status??0,time:e.time??-1}}).filter(e=>!(i&&e.status<400||n&&!`${e.path} ${e.host}`.toLowerCase().includes(n.toLowerCase())));return(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[(0,U.jsxs)(`div`,{className:`bg-background border-divider flex items-center gap-2 border-b px-3 py-2`,children:[(0,U.jsxs)(`div`,{className:`bg-surface border-border flex h-6 min-w-0 flex-1 items-center gap-1.5 rounded-md border-[0.5px] px-2`,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3`}),(0,U.jsx)(`input`,{value:n,onChange:e=>r(e.target.value),placeholder:t(`panel.searchUrl`),className:`text-fg-body min-w-0 flex-1 bg-transparent text-[11px] outline-none`})]}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>a(e=>!e),className:W(`inline-flex shrink-0 items-center gap-1.5 rounded-md border-[0.5px] px-2 py-1 text-[11px]`,i?`border-violet bg-violet-pale text-violet-dark`:`border-border text-muted-foreground`),children:t(`panel.onlyErrors`)})]}),(0,U.jsx)(`div`,{className:`min-h-0 flex-1 overflow-auto`,children:l.length===0?(0,U.jsx)(`div`,{className:`text-muted-foreground py-6 text-center text-[11.5px]`,children:t(`panel.noNetworkMatch`)}):l.map(e=>{let t=WQ(e.status);return(0,U.jsxs)(`button`,{type:`button`,onClick:()=>s(e.idx),className:`border-divider hover:bg-surface-hover grid w-full grid-cols-[52px_1fr_46px_56px] items-center gap-2.5 border-b px-3 py-2 text-left text-[11.5px] last:border-b-0`,children:[(0,U.jsx)(`span`,{className:W(`w-fit rounded px-1.5 py-0.5 text-center font-mono text-[10px] font-semibold`,UQ[e.method]??`bg-background text-muted-foreground`),children:e.method}),(0,U.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate font-mono text-[11px]`,children:e.path}),e.host&&(0,U.jsx)(`span`,{className:`text-muted-foreground truncate text-[10px]`,children:e.host})]}),(0,U.jsxs)(`span`,{className:W(`inline-flex items-center gap-1 justify-self-start font-mono`,t.text),children:[(0,U.jsx)(`span`,{className:W(`size-1.5 rounded-full`,t.dot)}),e.status||`-`]}),(0,U.jsx)(`span`,{className:`text-fg-body justify-self-end font-mono text-[10.5px]`,children:HQ(e.time)})]},e.idx)})}),(0,U.jsxs)(`div`,{className:`bg-background border-divider text-muted-foreground border-t px-3 py-2.5 text-[11px]`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong font-semibold tabular-nums`,children:l.length}),` `,t(`panel.requests`),l.length!==c.length&&(0,U.jsxs)(`span`,{className:`text-fg-hint`,children:[` · `,t(`panel.ofTotal`,{total:c.length})]})]})]})}function jVe({entry:e,onBack:t}){let n=X(`pages.web.results`),[r,i]=(0,O.useState)(`headers`),{path:a}=VQ(e.request?.url??``),o=e.response?.status??0,s=WQ(o);return(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[(0,U.jsxs)(`div`,{className:`bg-background border-divider border-b px-3 py-2`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:t,className:`text-muted-foreground hover:text-fg-strong mb-1.5 inline-flex items-center gap-1 text-[11px]`,children:[(0,U.jsx)(Sy,{className:`size-3.5`}),n(`panel.backToRequests`)]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:W(`w-fit roun
181ded px-1.5 py-0.5 font-mono text-[10px] font-semibold`,UQ[e.request?.method??`GET`]??`bg-surface text-muted-foreground`),children:e.request?.method??`GET`}),(0,U.jsxs)(`span`,{className:W(`inline-flex items-center gap-1 font-mono text-[11px]`,s.text),children:[(0,U.jsx)(`span`,{className:W(`size-1.5 rounded-full`,s.dot)}),o||`-`]}),(0,U.jsx)(dy,{content:e.request?.url,children:(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 flex-1 truncate font-mono text-[11px]`,children:a})})]})]}),(0,U.jsx)(`div`,{className:`bg-surface border-divider flex gap-1 border-b px-3`,children:[`headers`,`payload`,`response`,`timing`].map(e=>(0,U.jsx)(`button`,{type:`button`,onClick:()=>i(e),className:W(`-mb-px border-b-2 px-2.5 py-2 text-[11.5px] transition-colors`,r===e?`border-violet text-fg-strong font-medium`:`text-muted-foreground hover:text-fg-strong border-transparent`),children:n(`panel.net_${e}`)},e))}),(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[r===`headers`&&(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-4 overflow-auto p-3`,children:[(0,U.jsx)(KQ,{title:n(`panel.netGeneral`),rows:[{name:n(`panel.netUrl`),value:e.request?.url??`-`},{name:n(`panel.netMethod`),value:e.request?.method??`-`},{name:n(`panel.netStatus`),value:o?`${o} ${e.response?.statusText??``}`.trim():`-`},...e.serverIPAddress?[{name:n(`panel.netRemote`),value:e.serverIPAddress}]:[]]}),(0,U.jsx)(KQ,{title:n(`panel.netResponseHeaders`),rows:e.response?.headers??[],empty:n(`panel.netNoHeaders`)}),(0,U.jsx)(KQ,{title:n(`panel.netRequestHeaders`),rows:e.request?.headers??[],empty:n(`panel.netNoHeaders`)})]}),r===`payload`&&(0,U.jsx)(`div`,{className:`min-h-0 flex-1 overflow-auto p-3`,children:(0,U.jsx)(MVe,{entry:e})}),r===`response`&&(0,U.jsx)(NVe,{entry:e}),r===`timing`&&(0,U.jsx)(`div`,{className:`min-h-0 flex-1 overflow-auto p-3`,children:(0,U.jsx)(PVe,{entry:e})})]})]})}function KQ({title:e,rows:t,empty:n}){return(0,U.jsxs)(`section`,{children:[(0,U.jsx)(`h5`,{className:`text-muted-foreground mb-1.5 text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:e}),t.length===0?(0,U.jsx)(`p`,{className:`text-fg-hint text-[11px]`,children:n}):(0,U.jsx)(`dl`,{className:`bg-background flex flex-col gap-1 rounded-md p-2.5`,children:t.map((e,t)=>(0,U.jsxs)(`div`,{className:`grid grid-cols-[minmax(90px,38%)_1fr] gap-2 text-[11px]`,children:[(0,U.jsx)(`dt`,{className:`text-muted-foreground truncate font-mono`,children:e.name}),(0,U.jsx)(`dd`,{className:`text-fg-body font-mono break-all`,children:e.value})]},t))})]})}function MVe({entry:e}){let t=X(`pages.web.results`),n=e.request?.queryString??[],r=e.request?.postData?.text;return n.length===0&&!r?(0,U.jsx)(`p`,{className:`text-fg-hint text-[11px]`,children:t(`panel.netNoPayload`)}):(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[n.length>0&&(0,U.jsx)(KQ,{title:t(`panel.netQuery`),rows:n}),r&&(0,U.jsxs)(`section`,{children:[(0,U.jsx)(`h5`,{className:`text-muted-foreground mb-1.5 text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t(`panel.netRequestBody`)}),(0,U.jsx)(qQ,{text:r})]})]})}function NVe({entry:e}){let t=X(`pages.web.results`),n=e.response?.content;return n?.text?(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-2 p-3`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground flex gap-3 text-[10.5px]`,children:[n.mimeType&&(0,U.jsx)(`span`,{className:`font-mono`,children:n.mimeType}),n.size!=null&&(0,U.jsxs)(`span`,{children:[n.size.toLocaleString(),` B`]})]}),(0,U.jsx)(qQ,{text:n.text,mime:n.mimeType,fill:!0})]}):(0,U.jsx)(`p`,{className:`text-fg-hint p-3 text-[11px]`,children:t(`panel.netNoBody`)})}function qQ({text:e,mime:t,fill:n}){let r=(0,O.useMemo)(()=>{if(t?.includes(`json`)||/^[[{]/.test(e.trim()))try{return JSON.stringify(JSON.parse(e),null,2)}catch{}return e},[e,t]);return(0,U.jsx)(`pre`,{className:W(`border-border overflow-auto rounded-md border-[0.5px] bg-[#0f1326] p-2.5 font-mono text-[10.5px] leading-[1.55] whitespace-pre-wrap text-[#cdd2e6]`,n&&`min-h-0 flex-1`),children:r})}var JQ=[{key:`blocked`,cls:`bg-fg-hint`},{key:`dns`,cls:`bg-status-pending`},{key:`connect`,cls:`bg-status-running`},{key:`ssl`,cls:`bg-violet`},{key:`send`,cls:`bg-status-passed`},{key:`wait`,cls:`bg-status-pending`},{key:`receive`,cls:`bg-status-passed`}];function PVe({entry:e}){let t=X(`pages.web.results`),n=e.timings??{},r=JQ.reduce((e,t)=>
181e+Math.max(0,n[t.key]??0),0)||(e.time??0),i=JQ.filter(e=>(n[e.key]??-1)>=0&&(n[e.key]??0)>0);return i.length===0?(0,U.jsx)(`p`,{className:`text-fg-hint text-[11px]`,children:t(`panel.netNoTiming`)}):(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsx)(`div`,{className:`bg-background flex h-2.5 overflow-hidden rounded-full`,children:i.map(e=>(0,U.jsx)(`span`,{className:W(`h-full`,e.cls),style:{width:`${((n[e.key]??0)/r*100).toFixed(2)}%`}},e.key))}),(0,U.jsxs)(`dl`,{className:`flex flex-col gap-1`,children:[i.map(e=>(0,U.jsxs)(`div`,{className:`flex items-center gap-2 text-[11px]`,children:[(0,U.jsx)(`span`,{className:W(`size-2 rounded-sm`,e.cls)}),(0,U.jsx)(`dt`,{className:`text-muted-foreground flex-1`,children:t(`panel.phase_${e.key}`)}),(0,U.jsx)(`dd`,{className:`text-fg-body font-mono`,children:HQ(n[e.key])})]},e.key)),(0,U.jsxs)(`div`,{className:`border-divider mt-1 flex items-center gap-2 border-t pt-1.5 text-[11px]`,children:[(0,U.jsx)(`dt`,{className:`text-fg-strong flex-1 font-medium`,children:t(`panel.netTotal`)}),(0,U.jsx)(`dd`,{className:`text-fg-strong font-mono font-medium`,children:HQ(r)})]})]})]})}function FVe({rrwebUrl:e}){let{data:t,isPending:n,isError:r}=Pke(e);return(0,U.jsx)(YQ,{events:t,isPending:n,isError:r})}function YQ({events:e,isPending:t,isError:n,unavailableMessage:r=`Replay data unavailable`}){return t?(0,U.jsx)(`div`,{className:`grid aspect-video w-full place-items-center rounded-[10px] bg-gradient-to-br from-[#1a1f36] to-[#3d4460]`,children:(0,U.jsx)(gb,{className:`size-6 animate-spin text-white/80`})}):n||!e||e.length<2?(0,U.jsx)(`div`,{className:`border-border bg-background grid aspect-video w-full place-items-center rounded-[10px] border-[0.5px]`,children:(0,U.jsx)(`span`,{className:`text-muted-foreground px-4 text-center text-[12px]`,children:r})}):(0,U.jsx)(IVe,{events:e})}function IVe({events:e}){let t=(0,O.useRef)(null),n=(0,O.useRef)(null),[r,i]=(0,O.useState)(!1);return(0,O.useEffect)(()=>{if(!t.current||n.current)return;let r=!1;return(async()=>{try{let{default:a}=await N(async()=>{let{default:e}=await import(`./rrweb-player-Cr931AuE.js`);return{default:e}},[]);if(r||!t.current)return;let o=e.map(e=>e.event),s=new a({target:t.current,props:{events:o,autoPlay:!1,mouseTail:!1,skipInactive:!0,width:t.current.clientWidth,height:Math.round(t.current.clientWidth*.5625)}});n.current=s,i(!0)}catch(e){console.error(`Failed to initialize rrweb player:`,e)}})(),()=>{r=!0}},[e]),(0,U.jsxs)(`div`,{className:`relative`,children:[(0,U.jsx)(`div`,{ref:t,className:W(`rrweb-player-container w-full overflow-hidden rounded-[10px] bg-[#0a0d1a]`,!r&&`grid aspect-video place-items-center`),children:!r&&(0,U.jsx)(gb,{className:`size-6 animate-spin text-white/80`})}),r&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>{t.current&&(document.fullscreenElement?document.exitFullscreen().catch(()=>{}):t.current.requestFullscreen().catch(()=>{}))},className:`absolute top-2 right-2 rounded-md bg-black/50 p-1.5 text-white/80 transition-colors hover:bg-black/70`,title:`Fullscreen`,children:(0,U.jsx)(xb,{className:`size-3.5`})})]})}function XQ({open:e,onOpenChange:t,resourceId:n,resourceType:r,workspaceUrl:i}){let a=X(`shell.shareSheet`),{companyName:o}=Zw(),s=VH();function c(){navigator.clipboard.writeText(i).catch(()=>{}),G.success(a(`workspaceCopied`)),t(!1)}function l(){s.mutate({resourceId:n,resourceType:r},{onSuccess:e=>{let n=zH(r,e.token);navigator.clipboard.writeText(n).catch(()=>{}),G.success(a(`publicCopied`)),t(!1)},onError:()=>{G.error(a(`publicLinkError`)),t(!1)}})}return(0,U.jsx)(VT,{open:e,onOpenChange:t,children:(0,U.jsxs)(HT,{side:`bottom`,showCloseButton:!1,className:`rounded-t-[22px] px-0 pt-2 md:hidden`,style:{paddingBottom:`calc(12px + env(safe-area-inset-bottom, 0px))`},children:[(0,U.jsx)(`div`,{className:`bg-border-strong mx-auto mt-1.5 mb-3 h-1 w-[38px] rounded-full`}),(0,U.jsx)(UT,{className:`mb-1 px-4 py-0`,children:(0,U.jsx)(WT,{className:`text-fg-strong text-[18px] font-bold tracking-[-0.02em]`,children:a(`title`)})}),(0,U.jsxs)(`div`,{className:`mt-2 flex flex-col px-2`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:l,disabled:s.isPending,className:`hover:bg-surface-hover active:bg-surface-hover flex items-center gap-3.5 rounded-xl px-4 py-3 text-left disabled:opacity-60`,children:[(0,U.jsx)(`span`,{className:`bg-surface-alt grid size-[38px] shrink-0 place-items-center rounded-[10px]`,children:s.isPending?(0,U.jsx)(gb,{className:`text-fg-body size-[19px] animate-spin`}):(0,U.jsx)(hb,{className:`text-fg-body size-[19px]`})}),(0,U.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block text-[14px] font-semibold`,children:a(`publicLink`)}),(0,U.jsx)(`span`,{className:`text-muted-foreground block text-[11.5px]`,children:a(`publicLinkDesc`)})]})]}),(0,U.jsxs)(`button`,{type:`button`,onClick:c,className:`hover:bg-surface-hover active:bg-surface-hover flex items-center gap-3.5 rounded-xl px-4 py-3 text-left`,children:[(0,U.jsx)(`span`,{className:`bg-surface-alt grid size-[38px] shrink-0 place-items-center rounded-[10px]`,children:(0,U.jsx)(ax,{className:`text-fg-body size-[19px]`})}),(0,U.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block text-[14px] font-semibold`,children:a(`workspaceOnly`)}),(0,U.jsx)(`span`,{className:`text-muted-foreground block text-[11.5px]`,children:a(`workspaceOnlyDesc`,{name:o})})]})]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>{G.info(a(`exportingPdf`)),t(!1)},className:`hover:bg-surface-hover active:bg-surface-hover flex items-center gap-3.5 rounded-xl px-4 py-3 text-left`,children:[(0,U.jsx)(`span`,{className:`bg-surface-alt grid size-[38px] shrink-0 place-items-center rounded-[10px]`,children:(0,U.jsx)(Qy,{className:`text-fg-body size-[19px]`})}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[14px] font-semibold`,children:a(`downloadPdf`)})]})]})]})})}function LVe(e){return e.planName?`scheduled`:`manual`}function ZQ(e,t){if(e==null||t==null||t<e)return`-`;let n=Math.round((t-e)/1e3);if(n<60)return`${n}s`;let r=Math.floor(n/60),i=n%60;return i?`${r}m ${String(i).padStart(2,`0`)}s`:`${r}m`}function QQ(e){return e?YT(e):``}function $Q(e,t=Date.now()){return Rde(e,t)}var e$={chrome:`Chrome`,firefox:`Firefox`,safari:`Safari`,edge:`Edge`,brave:`Brave`,opera:`Opera`,android:`Android`,ios:`iOS`,mobile:`Mobile`,extension:`Extension`,unknown:`Unknown`};function t$(e){let t=(e??``).toLowerCase();return t.includes(`firefox`)?`firefox`:t.includes(`webkit`)||t.includes(`safari`)?`safari`:t.includes(`edge`)?`edge`:t.includes(`brave`)?`brave`:t.includes(`opera`)?`opera`:t.includes(`chrom`)?`chrome`:t.includes(`android`)?`android`:t.includes(`ios`)||t.includes(`iphone`)||t.includes(`ipad`)?`ios`:t.includes(`extension`)||t===`ext`?`extension`:t.includes(`mobile`)?`mobile`:`unknown`}function n$(e,t){return e===`unknown`&&t?t.charAt(0).toUpperCase()+t.slice(1):e$[e]}function r$(e){if(e.platform===`ANDROID`)return{key:`android`,label:e$.android};if(e.platform===`IOS`)return{key:`ios`,label:e$.ios};if(e.platform!==`WEB`)return{key:`mobile`,label:e$.mobile};let t=t$(e.environment?.browser);return{key:t,label:n$(t,e.environment?.browser)}}function i$(e){let t=(e??``).toUpperCase();return t===`PASSED`||t===`SUCCESS`?`passed`:t===`FAILED`||t===`ERROR`?`failed`:`skipped`}var RVe=[1,7,30];function zVe({open:e,onOpenChange:t,execution:n,workspaceUrl:r}){let i=X(`pages.web.results.shareModal`),{companyName:a}=Zw(),o=VH(),[s,c]=(0,O.useState)(1),[l,u]=(0,O.useState)(`public`),[d,f]=(0,O.useState)(`7`),[p,m]=(0,O.useState)(``),[h,g]=(0,O.useState)(!1);function _(e){t(e),e||(c(1),u(`public`),f(`7`),m(``),g(!1))}
181function v(){if(l===`workspace`){m(r),c(2);return}n.id&&o.mutate({resourceId:n.id,resourceType:`EXECUTION`,expiresInDays:Number(d)},{onSuccess:e=>{m(zH(`EXECUTION`,e.token)),c(2)},onError:()=>G.error(i(`createError`))})}function y(){navigator.clipboard.writeText(p).catch(()=>{}),g(!0),setTimeout(()=>g(!1),2e3)}return(0,U.jsx)(xT,{open:e,onOpenChange:_,children:(0,U.jsxs)(ST,{className:`gap-0 p-0 sm:max-w-[640px]`,children:[(0,U.jsxs)(CT,{className:`border-divider flex-row items-center gap-3 space-y-0 border-b p-4`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale grid size-9 shrink-0 place-items-center rounded-[10px]`,children:(0,U.jsx)(hb,{className:`text-violet size-4`})}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(TT,{className:`text-[15px]`,children:i(`title`)}),(0,U.jsxs)(ET,{className:`mt-0.5 truncate text-[12px]`,children:[n.testName,n.startTime?` · ${QQ(n.startTime)}`:``]})]})]}),s===1?(0,U.jsxs)(`div`,{className:`flex flex-col gap-4 p-4`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:`text-muted-foreground mb-2 text-[10px] font-semibold tracking-[0.08em] uppercase`,children:i(`whoCanView`)}),(0,U.jsxs)(`div`,{role:`radiogroup`,"aria-label":i(`whoCanView`),className:`grid grid-cols-1 gap-2 sm:grid-cols-2`,children:[(0,U.jsx)(a$,{icon:ub,label:i(`publicLabel`),description:i(`publicDesc`),selected:l===`public`,onSelect:()=>u(`public`)}),(0,U.jsx)(a$,{icon:Oy,label:i(`workspaceLabel`),description:i(`workspaceDesc`,{name:a}),selected:l===`workspace`,onSelect:()=>u(`workspace`)})]})]}),l===`public`&&(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`label`,{htmlFor:`share-expiry`,className:`text-muted-foreground mb-2 block text-[10px] font-semibold tracking-[0.08em] uppercase`,children:i(`expiresLabel`)}),(0,U.jsxs)(OT,{value:d,onValueChange:f,children:[(0,U.jsx)(AT,{id:`share-expiry`,className:`bg-surface w-full`,children:(0,U.jsx)(kT,{})}),(0,U.jsx)(jT,{children:RVe.map(e=>(0,U.jsx)(MT,{value:String(e),children:i(`expiresOption`,{count:e})},e))})]})]})]}):(0,U.jsx)(`div`,{className:`p-4`,children:(0,U.jsxs)(`div`,{className:`border-border bg-surface flex items-center gap-2 rounded-lg border-[0.5px] p-1.5 pl-3`,children:[(0,U.jsx)(`input`,{readOnly:!0,value:p,"aria-label":i(`linkLabel`),onFocus:e=>e.target.select(),className:`text-fg-body h-7 min-w-0 flex-1 bg-transparent font-mono text-[12px] outline-none`}),(0,U.jsxs)(Z,{type:`button`,size:`sm`,variant:h?`secondary`:`default`,onClick:y,className:W(`shrink-0`,h&&`text-status-passed`),children:[h?(0,U.jsx)(Py,{className:`size-3.5`}):(0,U.jsx)(Yy,{className:`size-3.5`}),i(h?`copied`:`copyLink`)]})]})}),(0,U.jsxs)(`div`,{className:`border-divider flex flex-wrap items-center justify-between gap-2 border-t p-4`,children:[(0,U.jsxs)(`span`,{className:`text-muted-foreground inline-flex min-w-0 items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(zoe,{className:`size-3.5 shrink-0`}),i(`revokeNote`)]}),(0,U.jsxs)(`span`,{className:`ml-auto flex shrink-0 items-center gap-2`,children:[(0,U.jsx)(Z,{variant:`ghost`,onClick:()=>_(!1),children:i(`cancel`)}),s===1?(0,U.jsxs)(Z,{onClick:v,disabled:o.isPending,children:[o.isPending&&(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),i(`next`)]}):(0,U.jsx)(Z,{onClick:()=>_(!1),children:i(`done`)})]})]})]})})}function a$({icon:e,label:t,description:n,selected:r,onSelect:i}){return(0,U.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":r,onClick:i,className:W(`flex items-start gap-2.5 rounded-xl border-[0.5px] p-3 text-left transition-colors`,r?`border-violet bg-violet-pale`:`border-border hover:bg-surface-hover`),children:[(0,U.jsx)(e,{className:W(`mt-0.5 size-4 shrink-0`,r?`text-violet`:`text-fg-hint`)}),(0,U.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`span`,{className:W(`block text-[13px] font-semibold`,r?`text-violet-dark`:`text-fg-strong`),children:t}),(0,U.jsx)(`span`,{className:`text-muted-foreground mt-0.5 block text-[11.5px] leading-snug`,children:n})]})]})}function BVe(e){if(!e)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}function VVe(e){let t=e.details,n={};t?.action&&(n.action=t.action),t?.intent&&(n.intent=t.intent),t?.task&&(n.task=t.task),t?.actionDescription&&(n.description=t.actionDescription),t?.justification&&(n.reasoning=t.justification),e.context&&n.reasoning==null&&(n.context=e.context);let r=RQ(t,e.stepJson);return r&&Object.assign(n,r),Object.keys(n).length>0?n:null}function HVe(e){switch(e){case`parametricTask`:return`parametrized instruction`;case`verified`:return`verified`;case`verificationSummary`:return`verification`;case`conditionSatisfied`:return`condition satisfied`;case`conditionVerification`:return`condition verification`;case`steps`:return`steps`;case`args`:return`options`;case`url`:return`url`;case`fileLocation`:return`file location`;case`direction`:return`direction`;case`count`:return`count`;case`timeGapMs`:return`gap between clicks in milliseconds`;case`duration`:return`duration`;case`scrollItemCount`:return`scroll item count`;case`scrollPercent`:return`scroll percent`;case`verticalHomingRequired`:return`vertical homing required`;case`horizontalHomingRequired`:return`horizontal homing required`;case`expectedState`:return`expected state`;case`targetState`:return`target state`;case`argument`:return`argument`;case`sequence`:return`sequence`;case`actionType`:return`type`;default:return e.replace(/([a-z0-9])([A-Z])/g,`$1 $2`).toLowerCase()}}function UVe(e){return typeof e==`string`?e:typeof e==`number`||typeof e==`boolean`?String(e):JSON.stringify(e,null,2)}function WVe(e){let t=RQ(e.details,e.stepJson);return t?Object.entries(t).map(([e,t])=>({label:HVe(e),value:UVe(t)})):[]}function o$(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function s$(e){return typeof e==`string`&&e.trim()?e.trim():void 0}function GVe(e){if(typeof e==`string`)return e;if(e)try{return JSON.stringify(e)}catch{return}}function KVe(e){if(typeof e==`string`)return e;if(o$(e))return s$(e.screenshot)??s$(e.url)??s$(e.dataUrl)}function qVe(e,t){let n=IQ(e.step);return{key:e.id??`message-${t}
181`,label:n.label||LQ(e.step),detail:e.actionDetails?.intent??n.intent??e.actionDetails?.actionDescription??e.intention,tone:i$(e.status),status:e.status,action:e.actionDetails?.action??n.action,context:e.context??e.actionDetails?.justification,stepJson:e.step,details:e.actionDetails,url:n.url,screenshot:e.screenshot,uid:n.uid}}function JVe(e){return Array.isArray(e?.steps)?e.steps.flatMap((e,t)=>{if(!o$(e))return[];let n=o$(e.result)?e.result:void 0,r=Array.isArray(n?.screenshots)?n.screenshots:[];if(r.length===0)return[];let i=GVe(e.step),a=IQ(i),o=s$(n?.status)??`UNKNOWN`,s=a.label||s$(o$(e.step)?e.step.stepInstruction:void 0)||`Step ${t+1}`,c=s$(e.context)??s$(n?.context);return r.flatMap((e,n)=>{let r=KVe(e);return r?[{key:`report-${a.uid??t}-${n}`,label:s,detail:a.intent,tone:i$(o),status:o,action:a.action,context:c,stepJson:i,url:a.url,screenshot:r,uid:a.uid}]:[]})}):[]}function YVe(e,t){let n=[...e??[]].sort((e,t)=>(e.creationTime??0)-(t.creationTime??0)).map(qVe),r=JVe(t);if(n.length===0)return r;if(r.length===0)return n;let i=new Set(n.map(e=>e.screenshot).filter(Boolean)),a=new Set(n.filter(e=>e.uid&&e.screenshot).map(e=>e.uid)),o=r.filter(e=>!i.has(e.screenshot)&&!(e.uid&&a.has(e.uid)));return[...n,...o]}var c$={passed:{icon:Py,cls:`bg-status-passed-bg text-status-passed`},failed:{icon:ox,cls:`bg-status-failed-bg text-status-failed`},skipped:{icon:Cb,cls:`bg-background text-fg-hint border-border border-[0.5px]`}};function l$({execution:e,onClose:t,onBack:n,crumbs:r}){let i=X(`pages.web.results`),[a,o]=(0,O.useState)(`overview`),[s,c]=(0,O.useState)(null),[l,u]=(0,O.useState)(`ai-request`),[d,f]=(0,O.useState)(!1),[p,m]=(0,O.useState)(!1),[h,g]=(0,O.useState)(!1),{activeCompanyID:_,activeTeamID:v}=NT(),y=VH(),{currentUser:b}=Hw(),x=b?.roles?.includes(`SUPER_ADMIN`)??!1,S=sU(),C=cU(),w=AQ(e.id),T=tU(e.id),E=(T.data?.length??0)>0,D=T.data?.find(e=>e.reportDataUrl||e.harUrl||e.videoUrl||e.rrwebUrl)??T.data?.[0],k=D?.videoUrl,A=D?.rrwebUrl,j=T.data?.f
181ind(e=>e.reportDataUrl)?.reportDataUrl,M=T.data?.find(e=>e.harUrl)?.harUrl,N=T.data?.some(e=>e.hasArtifacts),P=nU(j,!!j),F=(0,O.useMemo)(()=>YVe(w.data,P.data),[w.data,P.data]),I=F.filter(e=>e.tone===`passed`).length,L=F.filter(e=>e.tone===`failed`).length,R=F.filter(e=>e.tone===`skipped`).length,z=(0,O.useMemo)(()=>F.filter(e=>e.screenshot),[F]),B=w.isPending||F.length===0&&P.isPending,ee=E||F.length>0,V=[{key:`overview`,label:i(`panel.tabOverview`)},{key:`steps`,label:i(`panel.tabSteps`),count:F.length||void 0},...j?[{key:`console`,label:i(`panel.tabConsole`)}]:[],...M?[{key:`network`,label:i(`panel.tabNetwork`)}]:[],...N&&x?[{key:`step-details`,label:i(`panel.tabAdminDetails`)}]:[]],te=`${window.location.origin}/share/w/${e.id}`,ne=`${te}?wide=1`;function re(){S.mutate({testId:e.testId,testName:e.testName,platform:`WEB`,executionType:`MANUAL`,environment:{browser:`chromium`},companyId:_,teamId:v},{onSuccess:()=>G.success(i(`panel.rerunStarted`)),onError:()=>G.error(i(`panel.rerunFailed`))})}function ie(){e.id&&y.mutate({resourceId:e.id,resourceType:`EXECUTION`},{onSuccess:e=>{navigator.clipboard.writeText(zH(`EXECUTION`,e.token)).catch(()=>{}),G.success(i(`panel.linkCopied`))},onError:()=>G.error(i(`panel.publicLinkError`))})}return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(TQ,{overlay:!0,widthClassName:`w-full md:w-[600px] md:max-w-[92vw]`,bodyClassName:`flex min-h-0 flex-1 flex-col overflow-hidden`,onClose:t,onBack:n,mobileBack:!0,headerActions:e.id&&(0,U.jsxs)(`div`,{className:`flex items-center gap-0.5 md:hidden`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:()=>f(!0),disabled:!ee,"aria-label":i(`panel.share`),className:`text-fg-strong hover:bg-surface-hover grid size-[34px] place-items-center rounded-md disabled:pointer-events-none disabled:opacity-40`,children:(0,U.jsx)(Ub,{className:`size-[19px]`})}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>g(!0),"aria-label":i(`panel.actionsLabel`),className:`text-fg-strong hover:bg-surface-hover grid size-[34px] place-items-center rounded-md`,children:(0,U.jsx)($y,{className:`size-[19px]`})})]}),crumbs:r??(0,U.jsxs)(U.Fragment,{children:[i(`panel.run`),` · `,(0,U.jsx)(`span`,{className:`font-mono`,children:(e.testId??``).slice(0,8)})]}),mobileTitle:i(`panel.runTitle`),mobileSubtitle:e.id?`#${e.id.slice(0,8)}`:void 0,title:e.testName,meta:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(AU,{tone:KH(e.status)}),(0,U.jsx)(`span`,{className:`text-fg-hint`,children:`·`}),(0,U.jsx)(`span`,{children:QQ(e.startTime)}),(0,U.jsx)(`span`,{className:`text-fg-hint`,children:`·`}),(0,U.jsx)(`span`,{className:`font-mono`,children:ZQ(e.startTime,e.endTime)})]}),tabs:V,activeTab:a,onTabChange:o,footer:e.id&&(0,U.jsx)(U.Fragment,{children:(0,U.jsxs)(`div`,{className:`hidden items-center gap-2 md:flex`,children:[ee&&(0,U.jsxs)(Qw,{href:ne,target:`_blank`,rel:`noopener noreferrer`,className:`border-border text-fg-body hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-3 py-1.5 text-[12px] font-medium`,children:[(0,U.jsx)(eb,{className:`size-3.5`}),i(`panel.openInNewTab`)]}),(0,U.jsxs)(Qw,{href:`/web/${e.testId}`,className:`border-border text-fg-body hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-3 py-1.5 text-[12px] font-medium`,children:[(0,U.jsx)(eb,{className:`size-3.5`}),i(`panel.openTest`)]}),(0,U.jsxs)(`button`,{type:`button`,disabled:!ee,onClick:()=>m(!0),className:`border-border text-fg-body hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-3 py-1.5 text-[12px] font-medium disabled:pointer-events-none disabled:opacity-40`,children:[(0,U.jsx)(Ub,{className:`size-3.5`}),i(`panel.share`)]})]})}),children:[a===`overview`&&(0,U.jsxs)(`div`,{className:`flex flex-1 flex-col gap-[18px] overflow-y-auto p-[14px_18px_22px]`,children:[(0,U.jsxs)(`section`,{children:[(0,U.jsx)(`h4`,{className:`text-muted-foreground mb-2 text-[9.5px] font-semibold tracking-[0.1em] uppercase`,children:i(`panel.summary`)}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-2 md:grid-cols-4`,children:[(0,U.jsx)(u$,{label:i(`panel.steps`),value:F.length}
181),(0,U.jsx)(u$,{label:i(`panel.passed`),value:I,tone:`passed`}),(0,U.jsx)(u$,{label:i(`panel.failed`),value:L,tone:`failed`}),(0,U.jsx)(u$,{label:i(`panel.skipped`),value:R})]})]}),(k||A)&&(0,U.jsxs)(`section`,{children:[(0,U.jsx)(`h4`,{className:`text-muted-foreground mb-2 text-[9.5px] font-semibold tracking-[0.1em] uppercase`,children:i(`panel.replay`)}),k?(0,U.jsx)(XVe,{videoUrl:k}):A?(0,U.jsx)(FVe,{rrwebUrl:A}):null]}),z.length>0&&(0,U.jsxs)(`section`,{children:[(0,U.jsx)(`h4`,{className:`text-muted-foreground mb-2 text-[9.5px] font-semibold tracking-[0.1em] uppercase`,children:i(`panel.screenshots`,{count:z.length})}),(0,U.jsx)(`div`,{className:`flex gap-1.5 overflow-x-auto pb-1`,children:z.map(e=>(0,U.jsx)(nHe,{step:e,onClick:()=>{c(e.key),u(`screenshot`),o(`steps`)}},e.key))})]}),(0,U.jsxs)(`section`,{children:[(0,U.jsx)(`h4`,{className:`text-muted-foreground mb-2 text-[9.5px] font-semibold tracking-[0.1em] uppercase`,children:i(`panel.timeline`,{ran:F.length-R,skipped:R})}),B?(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:i(`panel.loadingSteps`)}):F.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:i(`panel.noSteps`)}):(0,U.jsx)(`div`,{className:`flex flex-col gap-1.5`,children:F.map(e=>(0,U.jsxs)(`button`,{type:`button`,onClick:()=>{c(e.key),o(`steps`)},className:W(`bg-background grid grid-cols-[18px_1fr] items-center gap-2.5 rounded-lg p-[8px_10px] text-left`,e.tone===`failed`&&`bg-status-failed-bg/40`),children:[(0,U.jsx)(d$,{tone:e.tone}),(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block truncate text-[12px]`,children:e.label||`-`}),e.detail&&(0,U.jsx)(`span`,{className:`text-muted-foreground block truncate text-[10.5px]`,children:e.detail})]})]},e.key))})]})]}),a===`steps`&&(0,U.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-1.5 overflow-y-auto p-[14px_18px_22px]`,children:B?(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:i(`panel.loadingSteps`)}):F.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:i(`panel.noSteps`)}):F.map(e=>
181{let t=s===e.key;return(0,U.jsxs)(`div`,{className:W(`border-divider relative shrink-0 overflow-hidden rounded-lg border-[0.5px] transition-colors`,t&&`border-violet bg-violet-pale shadow-sm`),children:[t&&(0,U.jsx)(`span`,{className:`bg-violet absolute top-0 bottom-0 left-0 w-0.5`}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>c(t?null:e.key),className:W(`hover:bg-surface-hover grid w-full grid-cols-[18px_1fr_auto] items-center gap-2.5 p-[10px_12px] text-left transition-colors`,t&&`bg-violet-pale`),children:[(0,U.jsx)(d$,{tone:e.tone}),(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block truncate text-[12.5px]`,children:e.label||`-`}),e.detail&&(0,U.jsx)(`span`,{className:`text-muted-foreground block truncate text-[10.5px]`,children:e.detail})]}),(0,U.jsx)(Fy,{className:W(`text-muted-foreground size-3.5 transition-transform`,t&&`text-violet rotate-180`)})]}),t&&(0,U.jsx)(ZVe,{step:e})]},e.key)})}),a===`step-details`&&N&&x&&(0,U.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-1.5 overflow-y-auto p-[14px_18px_22px]`,children:B?(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:i(`panel.loadingSteps`)}):F.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:i(`panel.noSteps`)}):F.map(e=>
181{let t=s===e.key;return(0,U.jsxs)(`div`,{className:W(`border-divider relative shrink-0 overflow-hidden rounded-lg border-[0.5px] transition-colors`,t&&`border-violet bg-violet-pale shadow-sm`),children:[t&&(0,U.jsx)(`span`,{className:`bg-violet absolute top-0 bottom-0 left-0 w-0.5`}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>c(t?null:e.key),className:W(`hover:bg-surface-hover grid w-full grid-cols-[18px_1fr_auto] items-center gap-2.5 p-[10px_12px] text-left transition-colors`,t&&`bg-violet-pale`),children:[(0,U.jsx)(d$,{tone:e.tone}),(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block truncate text-[12.5px]`,children:e.label||`-`}),e.detail&&(0,U.jsx)(`span`,{className:`text-muted-foreground block truncate text-[10.5px]`,children:e.detail})]}),(0,U.jsx)(Fy,{className:W(`text-muted-foreground size-3.5 transition-transform`,t&&`text-violet rotate-180`)})]}),t&&(0,U.jsx)($Ve,{step:e,subtab:l,onSubtabChange:u})]},e.key)})}),a===`console`&&(0,U.jsx)(kVe,{reportDataUrl:j,active:a===`console`,downloadName:`${e.testId}-${e.id}-execution-logs.txt`},j),a===`network`&&(0,U.jsx)(AVe,{harUrl:M,active:a===`network`},M)]}),ee&&(0,U.jsx)(XQ,{open:d,onOpenChange:f,resourceId:e.id,resourceType:`EXECUTION`,workspaceUrl:te}),(0,U.jsx)(CQ,{open:h,onOpenChange:g,kind:`test`,onRerun:e.testId?re:void 0,onCopyLink:e.id?ie:void 0,onDownloadLogs:e.id?()=>C.mutate(e.id,{onError:()=>G.error(i(`logsDownloadFailed`))}):void 0,downloadPending:C.isPending}),ee&&(0,U.jsx)(zVe,{open:p,onOpenChange:m,execution:e,workspaceUrl:te})]})}function XVe({videoUrl:e}){let t=X(`pages.web.results`),{data:n,isPending:r,isError:i}=rU(e);return i?(0,U.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:`text-violet text-[12px] font-medium hover:underline`,children:t(`panel.openVideo`)}):r||!n?(0,U.jsx)(`div`,{className:`grid aspect-video w-full place-items-center rounded-[10px] bg-gradient-to-br from-[#1a1f36] to-[#3d4460]`,children:(0,U.jsx)(gb,{className:`size-6 animate-spin text-white/80`})}):(0,U.jsx)(`video`,{src:n,controls:!0,preload:`metadata`,className:`aspect-video w-full rounded-[10px] bg-black`})}function u$({label:e,value:t,tone:n}){return(0,U.jsxs)(`div`,{className:`bg-background rounded-lg p-[10px_12px]`,children:[(0,U.jsx)(`div`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:e}),(0,U.jsx)(`div`,{className:W(`text-fg-strong mt-1 text-[14px] font-semibold tabular-nums`,n===`passed`&&`text-status-passed`,n===`failed`&&`text-status-failed`),children:t})]})}function d$({tone:e}){let{icon:t,cls:n}=f$(e);return(0,U.jsx)(`span`,{className:W(`grid size-3.5 place-items-center rounded-full`,n),children:(0,U.jsx)(t,{className:`size-2.5`,strokeWidth:3})})}function f$(e){switch(e){case`passed`:return c$.passed;case`failed`:return c$.failed;case`skipped`:return c$.skipped}}function ZVe({step:e}){let t=X(`pages.web.results`),{data:n,isError:r}=jQ(e.screenshot);return(0,U.jsxs)(`div`,{className:`bg-background border-violet-light border-t px-3 pt-2 pb-3`,children:[e.url&&(0,U.jsxs)(`div`,{className:`border-border bg-surface mb-2 flex items-center gap-1.5 rounded-md border-[0.5px] px-2.5 py-[5px]`,children:[(0,U.jsx)(hb,{className:`text-fg-hint size-3 shrink-0`}),(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 flex-1 truncate font-mono text-[10.5px]`,children:e.url})]}),(0,U.jsx)(p$,{step:e,compact:!0}),e.screenshot&&!r?(0,U.jsx)(`div`,{className:`border-border relative flex h-[180px] items-center justify-center overflow-hidden rounded-lg border-[0.5px] bg-[#0a0d1a] md:h-[220px]`,children:n?(0,U.jsx)(`img`,{src:n,alt:e.label,className:`max-h-full max-w-full object-contain`}):(0,U.jsx)(RH,{className:`h-full w-full rounded-none`})}):(0,U.jsx)(`p`,{className:`text-muted-foreground py-4 text-center text-[11px]`,children:t(`panel.noScreenshot`)})]})}var QVe=[{key:`ai-request`,labelKey:`panel.aiRequest`},{key:`ai-response`,labelKey:`panel.aiResponse`},{key:`screenshot`,labelKey:`panel.screenshot`}];function $Ve({step:e,subtab:t,onSubtabChange:n}){let r=X(`pages.web.results`),i=(0,O.useMemo)(()=>BVe(e.stepJson),[e.stepJson]),a=(0,O.useMemo)(()=>VVe(e),[e]);return(0,U.jsxs)(`div`,{className:`bg-background border-violet-light border-t px-3 pt-0 pb-3`,children:[(0,U.jsx)(`div`,{className:`border-divider -mx-3 mb-2.5 flex border-b px-2`,role:`tablist`,children:QVe.map(e=>{let i=t===e.key;return(0,U.jsxs)(`button`,{type:`button`,role:`tab`,"aria-selected":i,onClick:()=>n(e.key),className:W(`relative px-3 py-2 text-[11.5px] font-medium transition-colors`,i?`text-violet`:`text-muted-foreground hover:text-fg-strong`),children:[r(e.labelKey),i&&(0,U.jsx)(`span`,{className:`bg-violet absolute right-1.5 -bottom-px left-1.5 h-0.5 rounded-t`})]},e.key)})}),t===`ai-request`&&(i?(0,U.jsx)(EQ,{value:i,copyLabel:r(`panel.copy`)}):(0,U.jsx)(h$,{text:r(`panel.noAiRequest`)})),t===`ai-response`&&(a?(0,U.jsx)(EQ,{value:a,copyLabel:r(`panel.copy`)}):(0,U.jsx)(h$,{text:r(`panel.noAiResponse`)})),t===`screenshot`&&(0,U.jsx)(eHe,{step:e})]})}function eHe({step:e}){let t=X(`pages.web.results`),{data:n,isError:r}=jQ(e.screenshot);return!e.screenshot||r?(0,U.jsx)(h$,{text:t(`panel.noScreenshot`)}):(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[e.url&&(0,U.jsxs)(`div`,{className:`border-border bg-surface flex items-center gap-1.5 rounded-md border-[0.5px] px-2.5 py-[7px]`,children:[(0,U.jsx)(hb,{className:`text-fg-hint size-3 shrink-0`}),(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 flex-1 truncate font-mono text-[10.5px]`,children:e.url})]}),(0,U.jsx)(p$,{step:e}),(0,U.jsx)(`div`,{className:`border-border relative flex h-[180px] items-center justify-center overflow-hidden rounded-lg border-[0.5px] bg-[#0a0d1a] md:h-[240px]`,children:n?(0,U.jsx)(`img`,{src:n,alt:e.url??`screenshot`,className:`max-h-full max-w-full object-contain`}):(0,U.jsx)(RH,{className:`h-full w-full rounded-none`})})]})}function p$({step:e,compact:t}){let n=X(`pages.web.results`),r=(0,O.useMemo)(()=>WVe(e),[e]);return r.length===0?null:t?(0,U.jsxs)(`div`,{className:`mb-2 min-w-0`,children:[(0,U.jsx)(`div`,{className:`text-muted-foreground mb-1.5 text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:n(`panel.diagnostics`)}),(0,U.jsx)(`div`,{className:`flex min-w-0 flex-wrap gap-1.5`,children:r.map(e=>(0,U.jsx)(tHe,{item:e},e.label))})]}):(0,U.jsxs)(`div`,{className:`border-border bg-surface rounded-md border-[0.5px] px-2.5 py-2`,children:[(0,U.jsx)(`div`,{className:`text-muted-foreground mb-1.5 text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:n(`panel.diagnostics`)}),(0,U.jsx)(`dl`,{className:`grid gap-1.5`,children:r.map(e=>(0,U.jsxs)(`div`,{className:`grid gap-1 text-[10.5px] md:grid-cols-[150px_1fr]`,children:[(0,U.jsx)(`dt`,{className:`text-muted-foreground min-w-0 font-medium`,children:e.label}),(0,U.jsx)(`dd`,{className:`text-fg-strong min-w-0 font-mono`,children:(0,U.jsx)(m$,{text:e.value,lines:3})})]},e.label))})]})}function tHe({item:e}){return e.value.length>54||e.value.includes(` 182`)?(0,U.jsxs)(`div`,{className:`border-border bg-background min-w-0 basis-full rounded-md border-[0.5px] px-2.5 py-2 text-[10.5px]`,children:[(0,U.jsx)(`div`,{className:`text-muted-foreground mb-1 font-medium`,children:e.label}),(0,U.jsx)(`div`,{className:`text-fg-strong min-w-0 font-mono`,children:(0,U.jsx)(m$,{text:e.value,lines:2})})]}):(0,U.jsxs)(`div`,{className:`border-border bg-background inline-flex max-w-full min-w-0 items-center gap-1.5 rounded-md border-[0.5px] px-2 py-1 text-[10.5px]`,children:[(0,U.jsxs)(`span`,{className:`text-muted-foreground shrink-0 font-medium`,children:[e.label,`:`]}),(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 truncate font-mono`,children:e.value})]})}function m$({text:e,lines:t}){let n=X(`pages.web.results`),[r,i]=(0,O.useState)(!1),a=e.length>140||e.includes(` 183`);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`block [overflow-wrap:anywhere] break-words whitespace-pre-wrap`,style:!r&&a?{display:`-webkit-box`,WebkitBoxOrient:`vertical`,WebkitLineClamp:t,overflow:`hidden`}:void 0,children:e}),a&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>i(e=>!e),className:`text-violet mt-1 text-[10.5px] font-medium hover:underline`,children:n(r?`panel.seeLess`:`panel.seeMore`)})]})}function nHe({step:e,onClick:t}){let{data:n,isError:r}=jQ(e.screenshot),{icon:i,cls:a}=f$(e.tone);return(0,U.jsxs)(`button`,{type:`button`,onClick:t,className:`group relative shrink-0 overflow-hidden rounded-md`,title:e.label,children:[(0,U.jsx)(`div`,{className:`flex h-[52px] w-[80px] items-center justify-center bg-[#0a0d1a]`,children:n&&!r?(0,U.jsx)(`img`,{src:n,alt:e.label,className:`h-full w-full object-cover`}):(0,U.jsx)(ooe,{className:`size-3.5 text-white/30`})}),(0,U.jsx)(`span`,{className:W(`absolute top-1 left-1 grid size-3 place-items-center rounded-full`,a),children:(0,U.jsx)(i,{className:`size-2`,strokeWidth:3})}),(0,U.jsx)(`span`,{className:`absolute inset-0 bg-black/0 transition-colors group-hover:bg-black/20`})]})}function h$({text:e}){return(0,U.jsx)(`p`,{className:`text-muted-foreground py-6 text-center text-[11.5px]`,children:e})}var g$={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},_$=O.createContext&&O.createContext(g$),rHe=[`attr`,`size`,`title`];function iHe(e,t){if(e==null)return{};var n,r,i=aHe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function aHe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function v$(){return v$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v$.apply(null,arguments)}function y$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
183t%2?y$(Object(n),!0).forEach(function(t){oHe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oHe(e,t,n){return(t=sHe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sHe(e){var t=cHe(e,`string`);return typeof t==`symbol`?t:t+``}function cHe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function x$(e){return e&&e.map((e,t)=>O.createElement(e.tag,b$({key:t},e.attr),x$(e.child)))}function S$(e){return t=>O.createElement(lHe,v$({attr:b$({},e.attr)},t),x$(e.child))}function lHe(e){var t=t=>{var{attr:n,size:r,title:i}=e,a=iHe(e,rHe),o=r||t.size||`1em`,s;return t.className&&(s=t.className),e.className&&(s=(s?s+` `:``)+e.className),O.createElement(`svg`,v$({stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`},t.attr,n,a,{className:s,style:b$(b$({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:`http://www.w3.org/2000/svg`}),i&&O.createElement(`title`,null,i),e.children)};return _$===void 0?t(g$):O.createElement(_$.Consumer,null,e=>t(e))}function uHe(e){return S$({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M274.69,274.69l-37.38-37.38L166,346ZM256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8ZM411.85,182.79l14.78-6.13A8,8,0,0,1,437.08,181h0a8,8,0,0,1-4.33,10.46L418,197.57a8,8,0,0,1-10.45-4.33h0A8,8,0,0,1,411.85,182.79ZM314.43,94l6.12-14.78A8,8,0,0,1,331,74.92h0a8,8,0,0,1,4.33,10.45l-6.13,14.78a8,8,0,0,1-10.45,4.33h0A8,8,0,0,1,314.43,94ZM256,60h0a8,8,0,0,1,8,8V84a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V68A8,8,0,0,1,256,60ZM181,74.92a8,8,0,0,1,10.46,4.33L197.57,94a8,8,0,1,1-14.78,6.12l-6.13-14.78A8,8,0,0,1,181,74.92Zm-63.58,42.49h0a8,8,0,0,1,11.31,0L140,128.72A8,8,0,0,1,140,140h0a8,8,0,0,1-11.31,0l-11.31-11.31A8,8,0,0,1,117.41,117.41ZM60,256h0a8,8,0,0,1,8-8H84a8,8,0,0,1,8,8h0a8,8,0,0,1-8,8H68A8,8,0,0,1,60,256Zm40.15,73.21-14.78,6.13A8,8,0,0,1,74.92,331h0a8,8,0,0,1,4.33-10.46L94,314.43a8,8,0,0,1,10.45,4.33h0A8,8,0,0,1,100.15,329.21Zm4.33-136h0A8,8,0,0,1,94,197.57l-14.78-6.12A8,8,0,0,1,74.92,181h0a8,8,0,0,1,10.45-4.33l14.78,6.13A8,8,0,0,1,104.48,193.24ZM197.57,418l-6.12,14.78a8,8,0,0,1-14.79-6.12l6.13-14.78A8,8,0,1,1,197.57,418ZM264,444a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V428a8,8,0,0,1,8-8h0a8,8,0,0,1,8,8Zm67-6.92h0a8,8,0,0,1-10.46-4.33L314.43,418a8,8,0,0,1,4.33-10.45h0a8,8,0,0,1,10.45,4.33l6.13,14.78A8,8,0,0,1,331,437.08Zm63.58-42.49h0a8,8,0,0,1-11.31,0L372,383.28A8,8,0,0,1,372,372h0a8,8,0,0,1,11.31,0l11.31,11.31A8,8,0,0,1,394.59,394.59ZM286.25,286.25,110.34,401.66,225.75,225.75,401.66,110.34ZM437.08,331h0a8,8,0,0,1-10.45,4.33l-14.78-6.13a8,8,0,0,1-4.33-10.45h0A8,8,0,0,1,418,314.43l14.78,6.12A8,8,0,0,1,437.08,331ZM444,264H428a8,8,0,0,1-8-8h0a8,8,0,0,1,8-8h16a8,8,0,0,1,8,8h0A8,8,0,0,1,444,264Z`},child:[]}]})(e)}function dHe(e){return S$({tag:`svg`,attr:{viewBox:`0 0 496 512`},child:[{tag:`path`,attr:{d:`M313.9 32.7c-170.2 0-252.6 223.8-147.5 355.1 36.5 45.4 88.6 75.6 147.5 75.6 36.3 0 70.3-11.1 99.4-30.4-43.8 39.2-101.9 63-165.3 63-3.9 0-8 0-11.9-.3C104.6 489.6 0 381.1 0 248 0 111 111 0 248 0h.8c63.1.3 120.7 24.1 164.4 63.1-29-19.4-63.1-30.4-99.3-30.4zm101.8 397.7c-40.9 24.7-90.7 23.6-132-5.8 56.2-20.5 97.7-91.6 97.7-176.6 0-84.7-41.2-155.8-97.4-176.6 41.8-29.2 91.2-30.3 132.9-5 105.9 98.7 105.5 265.7-1.2 364z`},child:[]}]})(e)}function fHe(e){return S$({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M503.52,241.48c-.12-1.56-.24-3.12-.24-4.68v-.12l-.36-4.68v-.12a245.86,245.86,0,0,0-7.32-41.15c0-.12,0-.12-.12-.24l-1.08-4c-.12-.24-.12-.48-.24-.6-.36-1.2-.72-2.52-1.08-3.72-.12-.24-.12-.6-.24-.84-.36-1.2-.72-2.4-1.08-3.48-.12-.36-.24-.6-.36-1-.36-1.2-.72-2.28-1.2-3.48l-.36-1.08c-.36-1.08-.84-2.28-1.2-3.36a8.27,8.27,0,0,0-.36-1c-.48-1.08-.84-2.28-1.32-3.36-.12-.24-.24-.6-.36-.84-.48-1.2-1-2.28-1.44-3.48,0-.12-.12-.24-.12-.36-1.56-3.84-3.24-7.68-5-11.4l-.36-.72c-.48-1-.84-1.8-1.32-2.64-.24-.48-.48-1.08-.72-1.56-.36-.84-.84-1.56-1.2-2.4-.36-.6-.6-1.2-1-1.8s-.84-1.44-1.2-2.28c-.36-.6-.72-1.32-1.08-1.92s-.84-1.44-1.2-2.16a18.07,18.07,0,0,0-1.2-2c-.36-.72-.84-1.32-1.2-2s-.84-1.32-1.2-2-.84-1.32-1.2-1.92-.84-1.44-1.32-2.16a15.63,15.63,0,0,0-1.2-1.8L463.2,119a15.63,15.63,0,0,0-1.2-1.8c-.48-.72-1.08-1.56-1.56-2.28-.36-.48-.72-1.08-1.08-1.56l-1.8-2.52c-.36-.48-.6-.84-1-1.32-1-1.32-1.8-2.52-2.76-3.72a248.76,248.76,0,0,0-23.51-26.64A186.82,186.82,0,0,0,412,62.46c-4-3.48-8.16-6.72-12.48-9.84a162.49,162.49,0,0,0-24.6-15.12
183c-2.4-1.32-4.8-2.52-7.2-3.72a254,254,0,0,0-55.43-19.56c-1.92-.36-3.84-.84-5.64-1.2h-.12c-1-.12-1.8-.36-2.76-.48a236.35,236.35,0,0,0-38-4H255.14a234.62,234.62,0,0,0-45.48,5c-33.59,7.08-63.23,21.24-82.91,39-1.08,1-1.92,1.68-2.4,2.16l-.48.48H124l-.12.12.12-.12a.12.12,0,0,0,.12-.12l-.12.12a.42.42,0,0,1,.24-.12c14.64-8.76,34.92-16,49.44-19.56l5.88-1.44c.36-.12.84-.12,1.2-.24,1.68-.36,3.36-.72,5.16-1.08.24,0,.6-.12.84-.12C250.94,20.94,319.34,40.14,367,85.61a171.49,171.49,0,0,1,26.88,32.76c30.36,49.2,27.48,111.11,3.84,147.59-34.44,53-111.35,71.27-159,24.84a84.19,84.19,0,0,1-25.56-59,74.05,74.05,0,0,1,6.24-31c1.68-3.84,13.08-25.67,18.24-24.59-13.08-2.76-37.55,2.64-54.71,28.19-15.36,22.92-14.52,58.2-5,83.28a132.85,132.85,0,0,1-12.12-39.24c-12.24-82.55,43.31-153,94.31-170.51-27.48-24-96.47-22.31-147.71,15.36-29.88,22-51.23,53.16-62.51,90.36,1.68-20.88,9.6-52.08,25.8-83.88-17.16,8.88-39,37-49.8,62.88-15.6,37.43-21,82.19-16.08,124.79.36,3.24.72,6.36,1.08,9.6,19.92,117.11,122,206.38,244.78,206.38C392.77,503.42,504,392.19,504,255,503.88,250.48,503.76,245.92,503.52,241.48Z`},child:[]}]})(e)}function pHe(e){return S$({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M481.92,134.48C440.87,54.18,352.26,8,255.91,8,137.05,8,37.51,91.68,13.47,203.66c26-46.49,86.22-79.14,149.46-79.14,79.27,0,121.09,48.93,122.25,50.18,22,23.8,33,50.39,33,83.1,0,10.4-5.31,25.82-15.11,38.57-1.57,2-6.39,4.84-6.39,11,0,5.06,3.29,9.92,9.14,14,27.86,19.37,80.37,16.81,80.51,16.81A115.39,115.39,0,0,0,444.94,322a118.92,118.92,0,0,0,58.95-102.44C504.39,176.13,488.39,147.26,481.92,134.48ZM212.77,475.67a154.88,154.88,0,0,1-46.64-45c-32.94-47.42-34.24-95.6-20.1-136A155.5,155.5,0,0,1,203,215.75c59-45.2,94.84-5.65,99.06-1a80,80,0,0,0-4.89-10.14c-9.24-15.93-24-36.41-56.56-53.51-33.72-17.69-70.59-18.59-77.64-18.59-38.71,0-77.9,13-107.53,35.69C35.68,183.3,12.77,208.72,8.6,243c-1.08,12.31-2.75,62.8,23,118.27a248,248,0,0,0,248.3,141.61C241.78,496.26,214.05,476.24,212.77,475.67Zm250.72-98.33a7.76,7.76,0,0,0-7.92-.23,181.66,181.66,0,0,1-20.41,9.12,197.54,197.54,0,0,1-69.55,12.52c-91.67,0-171.52-63.06-171.52-144A61.12,61.12,0,0,1,200.61,228,168.72,168.72,0,0,0,161.85,278c-14.92,29.37-33,88.13,13.33,151.66,6.51,8.91,23,30,56,47.67,23.57,12.65,49,19.61,71.7,19.61,35.14,0,115.43-33.44,163-108.87A7.75,7.75,0,0,0,463.49,377.34Z`},child:[]}]})(e)}function mHe(e){return S$({tag:`svg`,attr:{viewBox:`0 0 496 512`},child:[{tag:`path`,attr:{d:`M131.5 217.5L55.1 100.1c47.6-59.2 119-91.8 192-92.1 42.3-.3 85.5 10.5 124.8 33.2 43.4 25.2 76.4 61.4 97.4 103L264 133.4c-58.1-3.4-113.4 29.3-132.5 84.1zm32.9 38.5c0 46.2 37.4 83.6 83.6 83.6s83.6-37.4 83.6-83.6-37.4-83.6-83.6-83.6-83.6 37.3-83.6 83.6zm314.9-89.2L339.6 174c37.9 44.3 38.5 108.2 6.6 157.2L234.1 503.6c46.5 2.5 94.4-7.7 137.8-32.9 107.4-62 150.9-192 107.4-303.9zM133.7 303.6L40.4 120.1C14.9 159.1 0 205.9 0 256c0 124 90.8 226.7 209.5 244.9l63.7-124.8c-57.6 10.8-113.2-20.8-139.5-72.5z`},child:[]}]})(e)}function hHe(e){return S$({tag:`svg`,attr:{viewBox:`0 0 384 512`},child:[{tag:`path`,attr:{d:`M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z`},child:[]}]})(e)}function gHe(e){return S$({tag:`svg`,attr:{viewBox:`0 0 576 512`},child:[{tag:`path`,attr:{d:`M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55`},child:[]}]})(e)}function _He(e){return S$({tag:`svg`,attr:{viewBox:`0 0 576 512`},child:[{tag:`path`,attr:{d:`M519.442 288.651c-41.519 0-59.5 31.593-82.058 31.593C377.409 320.244 432 144 432 144s-196.288 80-196.288-3.297c0-35.827 36.288-46.25 36.288-85.985C272 19.216 243.885 0 210.539 0c-34.654 0-66.366 18.891-66.366 56.346 0 41.364 31.711 59.277 31.711 81.75C175.885 207.719 0 166.758 0 166.758v333.237s178.635 41.047 178.635-28.662c0-22.473-40-40.107-40-81.471 0-37.456 29.25-56.346 63.577-56.346 33.673 0 61.788 19.216 61.788 54.717 0 39.735-36.288 50.158-36.288 85.985 0 60.803 129.675 25.73 181.23 25.73 0 0-34.725-120.101 25.827-120.101 35.962 0 46.423 36.152 86.308 36.152C556.712 416 576 387.99 576 354.443c0-34.199-18.962-65.792-56.558-65.792z`},child:[]}]})(e)}function vHe(e){return S$({tag:`svg`,attr:{viewBox:`0 0 320 512`},child:[{tag:`path`,attr:{d:`M272 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM160 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm112-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v312z`},child:[]}]})(e)}function C$(e){return S$({tag:`svg`,attr:{viewBox:`0 0 496 512`},child:[{tag:`path`,attr:{d:`M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z`},child:[]}]})(e)}var yHe={chrome:mHe,firefox:fHe,safari:uHe,edge:pHe,brave:C$,opera:dHe,android:gHe,ios:hHe,mobile:vHe,extension:_He,unknown:C$};function w$({env:e,className:t}){let n=yHe[e];return(0,U.jsx)(n,{className:t,"aria-hidden":`true`})}var bHe={passed:`SUCCESS`,failed:`FAILED`,running:`RUNNING`,stopped:`STOPPED`,pending:`PENDING`,error:`ERROR`},xHe={name:`testName`,status:`status`,execution:`executionType`,dur:`duration`,start:`startTime`,env:`environment`,executor:`createdBy`};function SHe(e,t){return`${xHe[e]??`startTime`},${t}`}function CHe({search:e,testId:t,statusTones:n,envValues:r,executors:i,sinceMs:a}){let o=[],s=e?.trim();
183if(s&&o.push({field:`testName`,operator:`and`,constraints:[{value:s,matchMode:`contains`}]}),t&&o.push({field:`testId`,operator:`and`,constraints:[{value:t,matchMode:`equals`}]}),n?.length&&o.push({field:`status`,operator:`and`,constraints:[{value:n.map(e=>bHe[e]).filter(Boolean),matchMode:`in`}]}),i?.length&&o.push({field:`createdBy`,operator:`and`,constraints:[{value:i,matchMode:`in`}]}),r?.length){let e=r.filter(e=>e!==`mobile`);r.includes(`mobile`)&&o.push({field:`platform`,operator:`and`,constraints:[{value:`MOBILE`,matchMode:`equals`}]}),e.length&&o.push({field:`environment`,operator:e.length>1?`custom`:`and`,constraints:e.map(e=>({value:e,matchMode:`equals`}))})}return a&&o.push({field:`startTime`,operator:`and`,constraints:[{value:a,matchMode:`dateAfter`}]}),o}var T$=[10,25,50,100],wHe=200,E$=864e5,THe={all:null,"24h":1,"7d":7,"30d":30,"90d":90},D$={all:`rangeAll`,"24h":`range24h`,"7d":`range7d`,"30d":`range30d`,"90d":`range90d`},O$=[{key:`success`,tone:`passed`,icon:Py},{key:`failed`,tone:`failed`,icon:ox},{key:`running`,tone:`running`,icon:_b},{key:`stopped`,tone:`stopped`,icon:Yb},{key:`pending`,tone:`pending`,icon:Wy},{key:`error`,tone:`error`,icon:nx}],EHe=[{key:`status`,label:`colStatus`},{key:`execution`,label:`colExecution`},{key:`dur`,label:`colDuration`},{key:`start`,label:`colStarted`},{key:`env`,label:`colEnvironment`},{key:`executor`,label:`colExecutor`}],DHe={passed:Py,failed:ox,running:_b,stopped:Yb,pending:Wy,error:nx},OHe={passed:`bg-status-passed/15 text-status-passed`,failed:`bg-status-failed/15 text-status-failed`,running:`bg-status-running/15 text-status-running`,stopped:`bg-status-stopped/15 text-status-stopped`,pending:`bg-status-pending/15 text-status-pending`,error:`bg-status-error/15 text-status-error`};function kHe(){let e=X(`pages.web.results`),{activeCompanyID:t,activeTeamID:n,loading:r}=NT(),i=!r&&!!t&&!!n,a=oS(),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)(()=>a.get(`test`)??``),[u,d]=(0,O.useState)({}),[f,p]=(0,O.useState)(`all`),[m,h]=(0,O.useState)(0),[g,_]=(0,O.useState)({key:`start`,dir:`desc`}),[v,y]=(0,O.useState)(1),[b,x]=(0,O.useState)(10),[S,C]=(0,O.useState)(()=>a.get(`run`)),[w,T]=(0,O.useState)({}),[E,D]=(0,O.useState)({status:!0,execution:!0,dur:!0,start:!0,env:!0,executor:!0}),[k,A]=(0,O.useState)(null),j=VH(),M=sU(),N=cU(),P=Ake({companyId:t,teamId:n,size:wHe},i),F=(0,O.useMemo)(()=>Array.from(new Set((P.data?.content??[]).map(e=>e.createdBy).filter(Boolean))),[P.data]),[I,L]=(0,O.useState)(o);(0,O.useEffect)(()=>{let e=setTimeout(()=>L(o),350);return()=>clearTimeout(e)},[o]);let R=(0,O.useMemo)(()=>CHe({search:I,testId:c||void 0,statusTones:u.status??[],envValues:u.env??[],executors:w.executor??[],sinceMs:m||void 0}),[I,c,u,w,m]),z=iU({companyId:t,teamId:n,filters:R,page:v-1,size:b,sort:SHe(g.key,g.dir)},i),B=Oke(t,n,R,i,(z.data?.content??[]).some(e=>QH(e.status))),ee=(0,O.useMemo)(()=>B.data??{total:0,success:0,failed:0,running:0,stopped:0,pending:0,error:0},[B.data]),V=ee.total>0?Math.round(ee.success/ee.total*100):0,{range:te,sparks:ne}=yQ(`TEST`,i),re=(0,O.useMemo)(()=>({startDate:new Date(te.startDate.getTime()-30*E$),endDate:te.startDate}),[te]),ie=GH({activeCompanyID:t,activeTeamID:n,startDate:re.startDate,endDate:re.endDate,testOrPlan:`TEST`},i),ae=(0,O.useMemo)(()=>{let e=ie.data?wU(ie.data.executionSummaryPerUserByDate??{}):{},t=TU(Object.values(e));return{pct:EU(t),total:t.total}},[ie.data]),oe=f===`30d`&&ee.total>0&&ae.total>0?V-ae.pct:null,H=e(D$[f]),se=u.status??[],ce=u.env??[],le=(0,O.useMemo)(()=>z.data?.content??[],[z.data]),ue=z.data?.totalElements??0,de=aU(S&&!le.some(e=>e.id===S)?S:null,t,n),fe=S?le.find(e=>e.id===S)??de.data??null:null;function pe(){y(1)}function me(e){let t=THe[e];p(e),h(t?Date.now()-t*E$:0),pe()}let he=[{key:`name`,header:e(`colTest`),width:`2.2fr`,sortable:!0,cell:(e,t)=>(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:e.testName}),t===`comfortable`&&(0,U.jsx)(`span`,{className:`text-fg-hint truncate font-mono text-[10px]`,children:e.testId})]})},{key:`status`,header:e(`colStatus`),width:`1fr`,sortable:!0,cell:e=>(0,U.jsx)(AU,{tone:KH(e.status)})},{key:`execution`,header:e(`colExecution`),width:`1fr`,sortable:!0,cell:t=>{let n=LVe(t);return(0,U.jsxs)(`span`,{className:`text-fg-body inline-flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(n===`scheduled`?Ay:xoe,{className:n===`scheduled`?`text-violet size-3.5`:`text-muted-foreground size-3.5`}),e(n===`scheduled`?`execScheduled`:`execManual`)]})}},{key:`dur`,header:e(`colDuration`),width:`0.9fr`,sortable:!0,cell:e=>(0,U.jsxs)(`span`,{className:`text-fg-body inline-flex items-center gap-1 font-mono text-[11.5px]`,children:[(0,U.jsx)(Jy,{className:`text-fg-hint size-2.5`}),ZQ(e.startTime,e.endTime)]})},{key:`start`,header:e(`colStarted`),width:`1.4fr`,sortable:!0,cell:(e,t)=>
183(0,U.jsxs)(`div`,{className:`flex flex-col text-[11.5px] leading-tight tabular-nums`,children:[(0,U.jsx)(`span`,{className:`text-fg-body`,children:QQ(e.startTime)||`-`}),t===`comfortable`&&e.startTime&&(0,U.jsx)(`span`,{className:`text-muted-foreground text-[10.5px]`,children:$Q(e.startTime)})]})},{key:`env`,header:e(`colEnvironment`),width:`1fr`,sortable:!0,cell:e=>{let t=r$(e);return(0,U.jsxs)(`span`,{className:`bg-background text-fg-body inline-flex w-fit items-center gap-1.5 rounded-md px-2 py-[3px] text-[11px]`,children:[(0,U.jsx)(w$,{env:t.key,className:`size-3.5`}),t.label]})}},{key:`executor`,header:e(`colExecutor`),width:`1fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{title:e.createdBy??void 0,className:`text-fg-body truncate text-[11.5px]`,children:e.createdBy?oy(e.createdBy,15):`-`})}];function ge(t){t.id&&j.mutate({resourceId:t.id,resourceType:`EXECUTION`},{onSuccess:t=>{navigator.clipboard.writeText(zH(`EXECUTION`,t.token)).catch(()=>{}),G.success(e(`copiedLink`))},onError:()=>G.error(e(`publicLinkError`))})}function _e(r){M.mutate({testId:r.testId,testName:r.testName,platform:`WEB`,executionType:`MANUAL`,environment:{browser:`chromium`},companyId:t,teamId:n},{onSuccess:()=>G.success(e(`panel.rerunStarted`)),onError:()=>G.error(e(`panel.rerunFailed`))})}function ve(t){t.id&&N.mutate(t.id,{onError:()=>G.error(e(`logsDownloadFailed`))})}function ye(t){return[{label:e(`actView`),icon:nb,onSelect:()=>C(t.id??null)},{label:e(`actCopyLink`),icon:hb,disabled:!t.id||j.isPending,onSelect:()=>ge(t)},{label:e(`actCopyId`),icon:Yy,disabled:!t.id,onSelect:()=>{t.id&&(navigator.clipboard.writeText(t.id).catch(()=>{}),G.success(e(`copiedId`)))}}]}let be=!!o||!!c||se.length>0||ce.length>0||(w.executor?.length??0)>0||f!==`all`,xe=c?le.find(e=>e.testId===c)?.testName??c.slice(0,8):``,Se=he.filter(e=>e.key===`name`||E[e.key]),Ce=se.length===1?se[0]:`all`,we=[{value:`all`,label:e(`chipAll`)},...[`passed`,`failed`,`running`,`stopped`,`pending`,`error`].map(t=>({value:t,label:e(`status_${t}`),tone:t}))];function Te(e){let t={...u};e===`all`?delete t.status:t.status=[e],d(t),pe()}return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 hidden items-center gap-1.5 text-[11.5px] md:flex`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumbWeb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-3 md:gap-6`,children:[(0,U.jsxs)(`div`,{className:`hidden md:block`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 hidden max-w-[520px] text-[12.5px] leading-relaxed md:block`,children:e(`description`)})]}),(0,U.jsxs)(OT,{value:f,onValueChange:e=>me(e),children:[(0,U.jsxs)(AT,{className:`border-border bg-surface h-8 w-[150px] text-[12px]`,children:[(0,U.jsx)(jy,{className:`size-3.5`}),(0,U.jsx)(kT,{})]}),(0,U.jsx)(jT,{children:Object.keys(D$).map(t=>(0,U.jsx)(MT,{value:t,children:e(D$[t])},t))})]})]}),(0,U.jsx)(QU,{query:z,isEmpty:e=>e.content.length===0&&!be,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(Ny,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`)}),children:()=>(0,U.jsxs)(UU,{sidePanel:fe&&(0,U.jsx)(l$,{execution:fe,onClose:()=>C(null)},fe.id),children:[(0,U.jsxs)(`div`,{className:`hidden md:block`,children:[(0,U.jsxs)(hQ,{children:[(0,U.jsx)(gQ,{pct:V,ringLabel:e(`passRate`),eyebrow:H,value:ee.success.toLocaleString(),total:e(`ofRuns`,{total:ee.total.toLocaleString()}),delta:oe==null?void 0:{label:e(`deltaPassRate`,{pct:`${oe>=0?`+`:``}${oe}`}),direction:oe>=0?`up`:`down`,since:e(`vsPrev`)}}),(0,U.jsx)(_Q,{children:O$.map(t=>(0,U.jsx)(vQ,{tone:t.tone,label:e(`status_${t.tone}`),value:ee[t.key].toLocaleString(),icon:t.icon,spark:ne[t.key]},t.key))})]}),(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:o,onChange:e=>{s(e),pe()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`}),c&&(0,U.jsxs)(`span`,{className:`border-violet-light bg-violet-pale text-violet-dark flex h-[34px] max-w-[260px] items-center gap-1.5 rounded-lg border-[0.5px] px-3 text-[12px] font-medium whitespace-nowrap`,children:[(0,U.jsx)(`span`,{className:`truncate`,children:e(`filterTest`,{name:xe})}),(0,U.jsx)(`button`,{type:`button`,"aria-label":e(`clearTestFilter`),onClick:()=>{l(``),pe()},className:`hover:text-violet -mr-1 grid size-4 shrink-0 place-items-center`,children:(0,U.jsx)(ox,{className:`size-3`})})]}),(0,U.jsx)(ZU,{label:e(`filter`),value:u,onChange:e=>{d(e),pe()},groups:[{key:`status`,label:e(`colStatus`),options:[`passed`,`failed`,`error`,`running`,`stopped`,`pending`].map(t=>({value:t,label:e(`status_${t}`),dotClassName:`bg-status-${t}`}))},{key:`env`,label:e(`colEnvironment`),options:[{value:`mobile`,label:`Mobile`},{value:`chromium`,label:`Chrome`},{value:`msedge`,label:`Edge`},{value:`brave`,label:`Brave`},{value:`opera`,label:`Opera`},{value:`extension`,label:`Extension`}]}]}),F.length>0&&(0,U.jsx)(ZU,{label:e(`anyone`),value:w,onChange:e=>{T(e),pe()},groups:[{key:`executor`,label:e(`colExecutor`),options:F.map(e=>({value:e,label:e}))}]}),(0,U.jsxs)(hT,{children:[(0,U.jsx)(dy,{content:e(`columns`),children:(0,U.jsx)(gT,{"aria-label":e(`columns`),className:`border-border bg-surface text-muted-foreground hover:border-border-strong hover:text-fg-strong ml-auto hidden size-8 place-items-center rounded-lg border-[0.5px] md:grid`,children:(0,U.jsx)(Roe,{className:`size-3.5`})})}),(0,U.jsxs)(_T,{align:`end`,className:`w-[220px] p-0`,children:[(0,U.jsx)(`div`,{className:`border-divider text-muted-foreground border-b px-3.5 py-2 text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:e(`columns`)}),(0,U.jsx)(`div`,{className:`flex flex-col p-1.5`,children:EHe.map(t=>(0,U.jsxs)(`label`,{className:`hover:bg-surface-hover flex cursor-pointer items-center justify-between gap-3 rounded-md px-2 py-1.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:e(t.label)}),(0,U.jsx)(uQ,{checked:E[t.key],onCheckedChange:e=>D(n=>({...n,[t.key]:e}))})]},t.key))})]})]})]}),le.length===0&&!z.isPending?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{s(``),l(``),d({}),T({}),me(`all`)},children:e(`resetFilters`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:Se,rows:le,rowKey:e=>e.id??`${e.testId}-${e.startTime}`,density:`compact`,sort:g,onSortChange:e=>{_(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`desc`}),pe()},selectedKey:S,onRowClick:e=>C(e.id??null),rowActions:ye,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:v,pageSize:b,total:ue,pageSizeOptions:T$,onPageChange:y,onPageSizeChange:e=>{x(e),pe()},itemLabel:e(`rowsRuns`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]}),(0,U.jsxs)(`div`,{className:`md:hidden`,children:[(0,U.jsx)(bQ,{passRate:V,ringLabel:e(`passRate`),window:H,total:ee.success.toLocaleStr
183ing(),totalSuffix:e(`ofRuns`,{total:ee.total.toLocaleString()}),delta:oe==null?void 0:{label:e(`deltaPassRate`,{pct:`${oe>=0?`+`:``}${oe}`}),direction:oe>=0?`up`:`down`,since:e(`vsPrev`)},cards:O$.map(t=>({tone:t.tone,label:e(`status_${t.tone}`),value:ee[t.key].toLocaleString(),icon:t.icon,spark:ne[t.key]}))}),(0,U.jsx)(JU,{value:o,onChange:e=>{s(e),pe()},placeholder:e(`searchPlaceholder`),className:`mb-3`}),c&&(0,U.jsxs)(`span`,{className:`border-violet-light bg-violet-pale text-violet-dark mb-3 inline-flex h-[30px] max-w-full items-center gap-1.5 rounded-lg border-[0.5px] px-3 text-[12px] font-medium whitespace-nowrap`,children:[(0,U.jsx)(`span`,{className:`truncate`,children:e(`filterTest`,{name:xe})}),(0,U.jsx)(`button`,{type:`button`,"aria-label":e(`clearTestFilter`),onClick:()=>{l(``),pe()},className:`hover:text-violet -mr-1 grid size-4 shrink-0 place-items-center`,children:(0,U.jsx)(ox,{className:`size-3`})})]}),(0,U.jsx)(wQ,{options:we,selected:Ce,onChange:Te,className:`mb-3`}),le.length===0&&!z.isPending?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-8 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{s(``),l(``),d({}),T({}),me(`all`)},children:e(`resetFilters`)})]}):(0,U.jsx)(`div`,{className:`bg-surface border-border overflow-hidden rounded-xl border-[0.5px]`,children:le.map(t=>{let n=KH(t.status),r=DHe[n],i=r$(t);return(0,U.jsxs)(`div`,{className:`border-divider relative border-b last:border-b-0`,children:[(0,U.jsx)(xQ,{className:`border-b-0 pr-11`,icon:(0,U.jsx)(r,{className:`size-4`}),iconClassName:OHe[n],name:t.testName,sub:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{children:ZQ(t.startTime,t.endTime)}),(0,U.jsx)(SQ,{}),(0,U.jsx)(`span`,{children:$Q(t.startTime)||`-`}),(0,U.jsx)(SQ,{}),(0,U.jsx)(`span`,{children:i.label})]}),footer:(0,U.jsx)(AU,{tone:n,children:e(`status_${n}`)}),onClick:()=>C(t.id??null)}),t.id&&(0,U.jsx)(`button`,{type:`button`,"aria-label":e(`actionsLabel`),onClick:()=>A(t),className:`text-muted-foreground active:bg-surface-hover absolute top-2.5 right-2 grid size-9 place-items-center rounded-[10px]`,children:(0,U.jsx)($y,{className:`size-[18px]`})})]},t.id??`${t.testId}-${t.startTime}`)})}),(0,U.jsx)(XU,{page:v,pageSize:b,total:ue,pageSizeOptions:T$,onPageChange:y,onPageSizeChange:e=>{x(e),pe()},itemLabel:e(`rowsRuns`),className:`bg-surface border-border mt-[-1px] rounded-b-xl border-[0.5px] border-t-0`}),(0,U.jsx)(CQ,{open:!!k,onOpenChange:e=>!e&&A(null),kind:`test`,onRerun:k?.testId?()=>_e(k):void 0,onCopyLink:k?.id?()=>ge(k):void 0,onDownloadLogs:k?.id?()=>ve(k):void 0,downloadPending:N.isPending})]})]})})]})}function AHe(){return(0,U.jsx)(O.Suspense,{children:(0,U.jsx)(kHe,{})})}var k$=function(e){return e.CLASSIC=`classic`,e.AUTOPILOT=`autopilot`,e.ABSTRACT_VERIFICATION=`abstractVerification`,e.EVALUATE_JS=`evaluateJs`,e.AI_AUTHORED=`aiAuthored`,e}({}),A$=new class{async createPrompt(e){let{data:t}=await J.post(`/v1/prompt`,e);return t}async getPromptById(e){let{data:t}=await J.get(`/v1/prompt/${e}`);return t}async getAllPromptsByTestId(e){let{data:t}=await J.get(`/v1/prompt/test/${e}`);return Array.isArray(t)?t:t?.content??[]}async updatePrompt(e,t){let{data:n}=await J.put(`/v1/prompt/${e}`,t);return n}async deletePrompt(e){await J.delete(`/v1/prompt/${e}`)}},j$=new class{async createScenario(e){let{data:t}=await J.post(`/v1/scenario`,e);return t}async getScenarioByTestId(e,t=!0,n){try{let{data:r}=await J.get(`/v1/scenario/test/${e}`,{params:{replaceParameters:t,generalSettingProfileName:n}});return r}catch(e){if((typeof e==`object`&&e&&`response`in e?e.response?.status:void 0)===404)return null;throw e}}async getEffectiveParameters(e){try{let{data:t}=await J.get(`/v1/scenario/test/${e}/effective-parameters`);return t}catch(t){if((typeof t==`object`&&t&&`response`in t?t.response?.status:void 0)!==404)throw t;
183let n=await this.getScenarioByTestId(e,!1);return n?n.parameters??[]:null}}async updateScenario(e){let{data:t}=await J.put(`/v1/scenario`,e);return t}async deleteStepFromSequence(e,t,n){let{data:r}=await J.delete(`/v1/scenario/sequence/${t}/step/${n}`,{params:{testId:e}});return r}},M$=new class{async createHttpRequestSource(e){let{data:t}=await J.post(`/v1/http-request-sources`,e);return t}async getHttpRequestSourceById(e){let{data:t}=await J.get(`/v1/http-request-sources/${e}`);return t}async updateHttpRequestSource(e,t){let{data:n}=await J.put(`/v1/http-request-sources/${e}`,t);return n}async deleteHttpRequestSource(e){await J.delete(`/v1/http-request-sources/${e}`)}},N$=new class{async cacheStepActions(e){await J.post(`/v1/step/cache/actions`,e)}async clearCachedStepActions(e){await J.delete(`/v1/step/cache/clear`,{data:e})}async invalidateCachedStepActions(e){await J.post(`/v1/step/cache/invalidate`,e)}},jHe=new class{async convertTextToSteps(e){let{data:t}=await J.post(`/v1/llm/text2steps`,e);return t}},MHe=new class{async save(e){let{data:t}=await J.post(`/v1/evaluate-js/save`,e);return t}},NHe=new class{async http2Step({sourceId:e,testId:t,order:n,referenceName:r,httpRequestId:i}){let{data:a}=await J.post(`/v1/http2step/${e}`,null,{params:{order:n,testId:t,referenceName:r,httpRequestId:i}});return a}},P$=e=>Y.editor.scenario(e,!1);function F$(e){return[...e?.sequences??[]].sort((e,t)=>e.order-t.order)}function PHe(e){let t=Us();return rc({mutationFn:e=>pU.updateTest(e),onSuccess:n=>{t.setQueryData(Y.editor.test(e),n),t.invalidateQueries({queryKey:Y.webTests.all})}})}function FHe(e){return nc({queryKey:Y.editor.test(e),queryFn:()=>pU.getTestById(e),enabled:!!e})}function I$(e){return nc({queryKey:P$(e),queryFn:()=>j$.getScenarioByTestId(e,!1),enabled:!!e})}function IHe(e,t=!0){return nc({queryKey:Y.editor.effectiveParameters(e),queryFn:()=>j$.getEffectiveParameters(e),enabled:t&&!!e})}function L$(e,t,n){return e.fetchQuery({queryKey:[...Y.editor.scenario(t,!0),n??null],queryFn:()=>j$.getScenarioByTestId(t,!0,n)})}function LHe(e){let t=Us();return rc({mutationFn:({id:e,patch:t})=>A$.updatePrompt(e,t),onSuccess:n=>{n.id&&R$(t,e,n)}})}function R$(e,t,n){e.setQueriesData({queryKey:Y.editor.promptsRoot(t)},e=>{let t=new Map(e??[]);return t.set(n.id,n),t})}function RHe(e){let t=Us();return rc({mutationFn:async({sourceId:e,base64:t,filename:n})=>{let{fileKey:r}=await fW.uploadReferenceImage(t,n);return A$.updatePrompt(e,{referenceScreenshot:r})},onSuccess:n=>{n.id&&R$(t,e,n)}})}function zHe(e,t=[]){return nc({queryKey:Y.editor.prompts(e,t),queryFn:async()=>{let n=await A$.getAllPromptsByTestId(e),r=new Map(n.filter(e=>e.id).map(e=>[e.id,e])),i=t.filter(e=>e&&!r.has(e)),a=await Promise.all(i.map(e=>A$.getPromptById(e).catch(()=>null)));for(let e of a)e?.id&&r.set(e.id,e);return r},enabled:!!e})}function z$(e,t,n){e.setQueryData(P$(t),n)}function BHe(e){let t=Us();return rc({mutationFn:e=>jHe.convertTextToSteps(e),onSuccess:n=>z$(t,e,n)})}function VHe(e){let t=Us();return rc({mutationFn:e=>MHe.save(e),onSuccess:n=>{z$(t,e,n),t.invalidateQueries({queryKey:Y.editor.promptsRoot(e)})}})}async function B$(e,t,n){let r=new Map(n.map(e=>[e.sourceId,e.order]));return await Promise.all(t.filter(e=>r.get(e.sourceId)!==e.order).map(e=>e.sourceType===`HTTP_REQUEST`?M$.updateHttpRequestSource(e.sourceId,{order:e.order}):A$.updatePrompt(e.sourceId,{order:e.order}))),j$.updateScenario({...e,sequences:t})}function HHe(e){let t=Us();return rc({mutationFn:async({sourceId:n,text:r,steps:i})=>{let a=t.getQueryData(P$(e));if(!a)throw Error(`Scenario not loaded`);await A$.updatePrompt(n,{text:r});let o=F$(a).map(e=>e.sourceId===n?{...e,steps:i}:e);return j$.updateScenario({...a,sequences:o})},onSuccess:n=>{z$(t,e,n),t.invalidateQueries({queryKey:Y.editor.promptsRoot(e)})}})}function UHe(e){let t=Us();return rc({mutationFn:async({sourceType:n,promptType:r,sequenceType:i=`classic`,order:a,companyId:o,teamId:s})=>{let c=t.getQueryData(P$(e))??null,l=F$(c),u=Math.min(Math.max(a,0),l.length),d;d=n===`HTTP_REQUEST`?(await M$.createHttpRequestSource({sourceType:n,order:u,testId:e,companyId:o,teamId:s})).id:(await A$.createPrompt({text:``,order:u,testId:e,companyId:o,teamId:s,promptType:r??k$.CLASSIC,referenceScreenshot:null,sequenceType:i})).id;let f={sourceId:d,order:u,sourceType:n,steps:[],sequenceType:i,settings:n===`AUTOPILOT`?[{name:`alwaysUseLLM`,value:`true`}]:void 0},p=[...l.slice(0,u),f,...l.slice(u)].map((e,t)=>({...e,order:t}));return c?B$(c,p,l):j$.createScenario({testId:e,companyId:o,teamId:s,sequences:p})},onSuccess:n=>{z$(t,e,n),t.invalidateQueries({queryKey:Y.editor.promptsRoot(e)})}})}function WHe(e){let t=Us();return rc({mutationFn:async({sourceId:e,sourceType:t})=>{t===`HTTP_REQUEST`?await M$.deleteHttpRequestSource(e):await A$.deletePrompt(e)},onMutate:async({sourceId:n})=>{await t.cancelQueries({queryKey:P$(e)});let r=t.getQueryData(P$(e));return r&&t.setQueryData(P$(e),{...r,sequences:(r.sequences??[]).filter(e=>e.sourceId!==n)}),{previous:r}},onError:(n,r,i)=>{i?.previous&&t.setQueryData(P$(e),i.previous)},onSuccess:()=>{t.invalidateQueries({queryKey:P$(e)}),t.invalidateQueries({queryKey:Y.editor.promptsRoot(e)})}})}function GHe(e){let t=Us();return rc({mutationFn:async n=>{let r=t.getQueryData(P$(e));if(!r)throw Error(`Scenario not loaded`);let i=F$(r),a=new Map(n.map((e,t)=>[e,t])),o=[...r.sequences??[]].map(e=>({...e,order:a.get(e.sourceId)??e.order})).sort((e,t)=>
183e.order-t.order);return t.setQueryData(P$(e),{...r,sequences:o}),B$(r,o,i)},onMutate:async()=>(await t.cancelQueries({queryKey:P$(e)}),{previous:t.getQueryData(P$(e))}),onError:(n,r,i)=>{i?.previous&&t.setQueryData(P$(e),i.previous)},onSuccess:n=>z$(t,e,n)})}function KHe(e){let t=Us();return rc({mutationFn:e=>NHe.http2Step(e),onSuccess:n=>z$(t,e,n)})}function qHe(e,t,n){let r=(e.sequences??[]).map(e=>e.sourceId===t?{...e,steps:(e.steps??[]).map(e=>e.uid===n?{...e,useVLM:!e.useVLM}:e)}:e);return{...e,sequences:r}}function JHe(e){let t=Us();return rc({mutationFn:()=>{let n=t.getQueryData(P$(e));if(!n)throw Error(`Scenario not loaded`);return j$.updateScenario(n)},onMutate:async({sourceId:n,stepUid:r})=>{await t.cancelQueries({queryKey:P$(e)});let i=t.getQueryData(P$(e));return i&&t.setQueryData(P$(e),qHe(i,n,r)),{previous:i}},onError:(n,r,i)=>{i?.previous&&t.setQueryData(P$(e),i.previous)},onSuccess:n=>z$(t,e,n)})}function V$(e,t){let n=(e.sequences??[]).map(e=>({...e,steps:(e.steps??[]).map(e=>e.uid===t?{...e,useFromCache:!1,cachedEnvironments:[],cachedCallers:[]}:e)}));return{...e,sequences:n}}function YHe(e){let t=Us();return rc({mutationFn:async({stepUid:n})=>{let r=t.getQueryData(P$(e));if(!r?.id)throw Error(`Scenario not loaded`);return await N$.clearCachedStepActions({testId:r.testId,scenarioId:r.id,stepUid:n,environmentId:``}),await N$.invalidateCachedStepActions({companyId:r.companyId,stepUid:n}).catch(()=>{}),j$.updateScenario(V$(r,n))},onMutate:async({stepUid:n})=>{await t.cancelQueries({queryKey:P$(e)});let r=t.getQueryData(P$(e));return r&&t.setQueryData(P$(e),V$(r,n)),{previous:r}},onError:(n,r,i)=>{i?.previous&&t.setQueryData(P$(e),i.previous)},onSuccess:n=>z$(t,e,n)})}function XHe(e){let t=Us();return rc({mutationFn:async({sourceId:n,sourceType:r,sequenceType:i})=>{let a=t.getQueryData(P$(e));if(!a)throw Error(`Scenario not loaded`);r===`HTTP_REQUEST`?await M$.updateHttpRequestSource(n,{sequenceType:i}):await A$.updatePrompt(n,{sequenceType:i});let o=(a.sequences??[]).map(e=>e.sourceId===n?{...e,sequenceType:i}:e);return j$.updateScenario({...a,sequences:o})},onSuccess:n=>z$(t,e,n)})}function H$(e){let t=Us();return rc({mutationFn:e=>j$.updateScenario(e),onSuccess:n=>z$(t,e,n)})}var U$=new class{async getAllTestTagsByTeamId(e){let{data:t}=await J.get(`/v1/testtags/team`,{params:{teamId:e}});return t??[]}async createEntityTag(e){let{data:t}=await J.post(`/v1/testtags/assign`,e,{params:{assignedTestIds:[]},paramsSerializer:{indexes:null}});return t}async createDirectoryTag(e){let{data:t}=await J.post(`/v1/testtags/assign/directory`,e,{params:{assignedDirectoryIds:[],assignedTestIds:[]},paramsSerializer:{indexes:null}});return t}async updateTestTag(e,t){let{data:n}=await J.put(`/v1/testtags/${e}`,t);return n}async deleteTestTag(e){await J.delete(`/v1/testtags/${e}`)}async getAllowUsersToManageTags(e){let{data:t}=await J.get(`/v1/testtags/settings/allow-users-manage`,{params:{teamId:e}});return t}async setAllowUsersToManageTags(e,t){await J.put(`/v1/testtags/settings/allow-users-manage`,null,{params:{teamId:e,allowed:t}})}async assignTestTags(e,t){let{data:n}=await J.put(`/v1/testtags/assign`,null,{params:{assignedTestIds:e,assignedTagIds:t},paramsSerializer:{indexes:null}});return n??[]}async unassignTestTags(e,t){let{data:n}=await J.put(`/v1/testtags/unassign`,null,{params:{assignedTestIds:e,assignedTagIds:t},paramsSerializer:{indexes:null}});return n??[]}};function W$(e){return nc({queryKey:Y.tags.team(e),queryFn:()=>U$.getAllTestTagsByTeamId(e),enabled:!!e})}function ZHe(e){let t=Us();return rc({mutationFn:e=>e.type===`DIRECTORY_BOUND`?U$.createDirectoryTag(e):U$.createEntityTag(e),onSuccess:()=>t.invalidateQueries({queryKey:Y.tags.team(e)})})}function QHe(e){let t=Us();return rc({mutationFn:({id:e,payload:t})=>U$.updateTestTag(e,t),onSuccess:()=>t.invalidateQueries({queryKey:Y.tags.team(e)})})}function $He(e){let t=Us();return rc({mutationFn:e=>U$.deleteTestTag(e),onSuccess:()=>t.invalidateQueries({queryKey:Y.tags.team(e)})})}function eUe(e){return nc({queryKey:Y.tags.allowUsersManage(e),queryFn:()=>U$.getAllowUsersToManageTags(e),enabled:!!e})}function tUe(e){let t=Us();return rc({mutationFn:t=>U$.setAllowUsersToManageTags(e,t),onSuccess:()=>
183t.invalidateQueries({queryKey:Y.tags.allowUsersManage(e)})})}function G$(e){let t=Us();return n=>{let r=t.getQueryData(Y.editor.test(e));r&&t.setQueryData(Y.editor.test(e),{...r,testTagIds:n})}}function nUe(e){return rc({mutationFn:t=>U$.assignTestTags([e],[t]),onSuccess:G$(e)})}function rUe(e){return rc({mutationFn:t=>U$.unassignTestTags([e],[t]),onSuccess:G$(e)})}var iUe=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.StompJs={}))})(e,(function(e){function t(e,t){e.terminate=function(){let n=()=>{};this.onerror=n,this.onmessage=n,this.onopen=n;let r=new Date,i=Math.random().toString().substring(2,8),a=this.onclose;this.onclose=e=>{let n=new Date().getTime()-r.getTime();t(`Discarded socket (#${i}) closed after ${n}ms, with code/reason: ${e.code}/${e.reason}`)},this.close(),a?.call(e,{code:4001,reason:`Quick discarding socket (#${i}) without waiting for the shutdown sequence.`,wasClean:!1})}}let n={LF:` 184`,NULL:`\0`};class r{get body(){return!this._body&&this.isBinaryBody&&(this._body=new TextDecoder().decode(this._binaryBody)),this._body||``}get binaryBody(){return!this._binaryBody&&!this.isBinaryBody&&(this._binaryBody=new TextEncoder().encode(this._body)),this._binaryBody}
184constructor(e){let{command:t,headers:n,body:r,binaryBody:i,escapeHeaderValues:a,skipContentLengthHeader:o}=e;this.command=t,this.headers=Object.assign({},n||{}),i?(this._binaryBody=i,this.isBinaryBody=!0):(this._body=r||``,this.isBinaryBody=!1),this.escapeHeaderValues=a||!1,this.skipContentLengthHeader=o||!1}static fromRawFrame(e,t){let n={},i=e=>e.replace(/^\s+|\s+$/g,``);for(let a of e.headers.reverse()){a.indexOf(`:`);let o=i(a[0]),s=i(a[1]);t&&e.command!==`CONNECT`&&e.command!==`CONNECTED`&&(s=r.hdrValueUnEscape(s)),n[o]=s}return new r({command:e.command,headers:n,binaryBody:e.binaryBody,escapeHeaderValues:t})}toString(){return this.serializeCmdAndHeaders()}serialize(){let e=this.serializeCmdAndHeaders();return this.isBinaryBody?r.toUnit8Array(e,this._binaryBody).buffer:e+this._body+n.NULL}serializeCmdAndHeaders(){let e=[this.command];this.skipContentLengthHeader&&delete this.headers[`content-length`];for(let t of Object.keys(this.headers||{})){let n=this.headers[t];this.escapeHeaderValues&&this.command!==`CONNECT`&&this.command!==`CONNECTED`?e.push(`${t}:${r.hdrValueEscape(`${n}`)}`):e.push(`${t}:${n}`)}return(this.isBinaryBody||!this.isBodyEmpty()&&!this.skipContentLengthHeader)&&e.push(`content-length:${this.bodyLength()}`),e.join(n.LF)+n.LF+n.LF}isBodyEmpty(){return this.bodyLength()===0}bodyLength(){let e=this.binaryBody;return e?e.length:0}static sizeOfUTF8(e){return e?new TextEncoder().encode(e).length:0}static toUnit8Array(e,t){let n=new TextEncoder().encode(e),r=new Uint8Array([0]),i=new Uint8Array(n.length+t.length+r.length);return i.set(n),i.set(t,n.length),i.set(r,n.length+t.length),i}static marshall(e){return new r(e).serialize()}static hdrValueEscape(e){return e.replace(/\\/g,`\\\\`).replace(/\r/g,`\\r`).replace(/\n/g,`\\n`).replace(/:/g,`\\c`)}static hdrValueUnEscape(e){return e.replace(/\\r/g,`\r`).replace(/\\n
184/g,` 185`).replace(/\\c/g,`:`).replace(/\\\\/g,`\\`)}}class i{constructor(e,t){this.onFrame=e,this.onIncomingPing=t,this._encoder=new TextEncoder,this._decoder=new TextDecoder,this._token=[],this._initState()}parseChunk(e,t=!1){let n;if(n=typeof e==`string`?this._encoder.encode(e):new Uint8Array(e),t&&n[n.length-1]!==0){let e=new Uint8Array(n.length+1);e.set(n,0),e[n.length]=0,n=e}for(let e=0;e<n.length;e++){let t=n[e];this._onByte(t)}}_collectFrame(e){if(e!==0&&e!==13){if(e===10){this.onIncomingPing();return}this._onByte=this._collectCommand,this._reinjectByte(e)}}_collectCommand(e){if(e!==13){if(e===10){this._results.command=this._consumeTokenAsUTF8(),this._onByte=this._collectHeaders;return}this._consumeByte(e)}}_collectHeaders(e){if(e!==13){if(e===10){this._setupCollectBody();return}this._onByte=this._collectHeaderKey,this._reinjectByte(e)}}_reinjectByte(e){this._onByte(e)}_collectHeaderKey(e){if(e===58){this._headerKey=this._consumeTokenAsUTF8(),this._onByte=this._collectHeaderValue;return}this._consumeByte(e)}_collectHeaderValue(e){if(e!==13){if(e===10){this._results.headers.push([this._headerKey,this._consumeTokenAsUTF8()]),this._headerKey=void 0,this._onByte=this._collectHeaders;return}this._consumeByte(e)}}_setupCollectBody(){let e=this._results.headers.filter(e=>e[0]===`content-length`)[0];e?(this._bodyBytesRemaining=parseInt(e[1],10),this._onByte=this._collectBodyFixedSize):this._onByte=this._collectBodyNullTerminated}_collectBodyNullTerminated(e){if(e===0){this._retrievedBody();return}this._consumeByte(e)}_collectBodyFixedSize(e){if(this._bodyBytesRemaining--===0){this._retrievedBody();return}this._consumeByte(e)}_retrievedBody(){this._results.binaryBody=this._consumeTokenAsRaw();try{this.onFrame(this._results)}catch(e){console.log(`Ignoring an exception thrown by a frame handler. Original exception: `,e)}this._initState()}_consumeByte(e){this._token.push(e)}_consumeTokenAsUTF8(){return this._decoder.decode(this._consumeTokenAsRaw())}_consumeTokenAsRaw(){let e=new Uint8Array(this._token);return this._token=[],e}_initState(){this._results={command:void 0,headers:[],binaryBody:void 0},this._token=[],this._headerKey=void 0,this._onByte=this._collectFrame}}e.StompSocketState=void 0,(function(e){e[e.CONNECTING=0]=`CONNECTING`,e[e.OPEN=1]=`OPEN`,e[e.CLOSING=2]=`CLOSING`,e[e.CLOSED=3]=`CLOSED`})(e.StompSocketState||={}),e.ActivationState=void 0,(function(e){e[e.ACTIVE=0]=`ACTIVE`,e[e.DEACTIVATING=1]=`DEACTIVATING`,e[e.INACTIVE=2]=`INACTIVE`})(e.ActivationState||={}),e.ReconnectionTimeMode=void 0,(function(e){e[e.LINEAR=0]=`LINEAR`,e[e.EXPONENTIAL=1]=`EXPONENTIAL`})(e.ReconnectionTimeMode||={}),e.TickerStrategy=void 0,(function(e){e.Interval=`interval`,e.Worker=`worker`})(e.TickerStrategy||={});class a{constructor(t,n=e.TickerStrategy.Interval,r){this._interval=t,this._strategy=n,this._debug=r,this._workerScript=` 186 var startTime = Date.now(); 187 setInterval(function() { 188 self.postMessage(Date.now() - startTime); 189 }, ${this._interval}); 190 `}start(e){this.stop(),this.shouldUseWorker()?this.runWorker(e):this.runInterval(e)}stop(){this.disposeWorker(),this.disposeInterval()}shouldUseWorker(){return typeof Worker<`u`&&this._strategy===e.TickerStrategy.Worker}runWorker(e){this._debug(`Using runWorker for outgoing pings`),this._worker||(this._worker=new Worker(URL.createObjectURL(new Blob([this._workerScript],{type:`text/javascript`}))),this._worker.onmessage=t=>e(t.data))}runInterval(e){if(this._debug(`Using runInterval for outgoing pings`),!this._timer){let t=Date.now();this._timer=setInterval(()=>{e(Date.now()-t)},this._interval)}}disposeWorker(){this._worker&&(this._worker.terminate(),delete this._worker,this._debug(`Outgoing ping disposeWorker`))}disposeInterval(){this._timer&&(clearInterval(this._timer),delete this._timer,this._debug(`Outgoing ping disposeInterval`))}}class o{constructor(e){this.versions=e}supportedVersions(){return this.versions.join(`,`)}protocolVersions(){return this.versions.map(e=>`v${e.replace(`.`,``)}.stomp`)}}o.V1_0=`1.0`,o.V1_1=`1.1`,o.V1_2=`1.2`,o.default=new o([o.V1_2,o.V1_1,o.V1_0]);class s{get connectedVersion(){return this._connectedVersion}get connected(){return this._connected}constructor(e,t,n){this._client=e,this._webSocket=t,this._connected=!1,this._serverFrameHandlers={CONNECTED:e=>{this.debug(`connected to server ${e.headers.server}`),this._connected=!0,this._connectedVersion=e.headers.version,this._connectedVersion===o.V1_2&&(this._escapeHeaderValues=!0),this._setupHeartbeat(e.headers),this.onConnect(e)},MESSAGE:e=>{let t=e.headers.subscription,n=this._subscriptions[t]||this.onUnhandledMessage,r=e,i=this,a=this._connectedVersion===o.V1_2?r.headers.ack:r.headers[`message-id`];r.ack=(e={})=>i.ack(a,t,e),r.nack=(e={})=>i.nack(a,t,e),n(r)},RECEIPT:e=>{let t=this._receiptWatchers[e.headers[`receipt-id`]];t?(t(e),delete this._receiptWatchers[e.headers[`receipt-id`]]):this.onUnhandledReceipt(e)},ERROR:e=>{this.onStompError(e)}},this._counter=0,this._subscriptions={},this._receiptWatchers={},this._partialData=``,this._escapeHeaderValues=!1,this._lastServerActivityTS=Date.now(),this.debug=n.debug,this.stompVersions=n.stompVersions,this.connectHeaders=n.connectHeaders,this.disconnectHeaders=n.disconnectHeaders,this.heartbeatIncoming=n.heartbeatIncoming,this.heartbeatToleranceMultiplier=n.heartbeatGracePeriods,this.heartbeatOutgoing=n.heartbeatOutgoing,this.splitLargeFrames=n.splitLargeFrames,this.maxWebSocketChunkSize=n.maxWebSocketChunkSize,this.forceBinaryWSFrames=n.forceBinaryWSFrames,this.logRawCommunication=n.logRawCommunication,this.appendMissingNULLonIncoming=n.appendMissingNULLonIncoming,this.discardWebsocketOnCommFailure=n.discardWebsocketOnCommFailure,this.onConnect=n.onConnect,this.onDisconnect=n.onDisconnect,this.onStompError=n.onStompError,this.onWeb
190SocketClose=n.onWebSocketClose,this.onWebSocketError=n.onWebSocketError,this.onUnhandledMessage=n.onUnhandledMessage,this.onUnhandledReceipt=n.onUnhandledReceipt,this.onUnhandledFrame=n.onUnhandledFrame,this.onHeartbeatReceived=n.onHeartbeatReceived,this.onHeartbeatLost=n.onHeartbeatLost}start(){let t=new i(e=>{let t=r.fromRawFrame(e,this._escapeHeaderValues);this.logRawCommunication||this.debug(`<<< ${t}`),(this._serverFrameHandlers[t.command]||this.onUnhandledFrame)(t)},()=>{this.debug(`<<< PONG`),this.onHeartbeatReceived()});this._webSocket.onmessage=e=>{if(this.debug(`Received data`),this._lastServerActivityTS=Date.now(),this.logRawCommunication){let t=e.data instanceof ArrayBuffer?new TextDecoder().decode(e.data):e.data;this.debug(`<<< ${t}`)}t.parseChunk(e.data,this.appendMissingNULLonIncoming)},this._webSocket.onclose=e=>{this.debug(`Connection closed to ${this._webSocket.url}`),this._cleanUp(),this.onWebSocketClose(e)},this._webSocket.onerror=e=>{this.onWebSocketError(e)};let n=()=>{let e=Object.assign({},this.connectHeaders);this.debug(`Web Socket Opened...`),e[`accept-version`]=this.stompVersions.supportedVersions(),e[`heart-beat`]=[this.heartbeatOutgoing,this.heartbeatIncoming].join(`,`),this._transmit({command:`CONNECT`,headers:e})};this._webSocket.readyState===e.StompSocketState.OPEN?n():this._webSocket.onopen=n}_setupHeartbeat(t){if(t.version!==o.V1_1&&t.version!==o.V1_2||!t[`heart-beat`])return;let[r,i]=t[`heart-beat`].split(`,`).map(e=>parseInt(e,10));if(this.heartbeatOutgoing!==0&&i!==0){let t=Math.max(this.heartbeatOutgoing,i);this.debug(`send PING every ${t}ms`),this._pinger=new a(t,this._client.heartbeatStrategy,this.debug),this._pinger.start(()=>{this._webSocket.readyState===e.StompSocketState.OPEN&&(this._webSocket.send(n.LF),this.debug(`>>> PING`))})}if(this.heartbeatIncoming!==0&&r!==0){let e=Math.max(this.heartbeatIncoming,r);this.debug(`check PONG every ${e}ms`),this._ponger=setInterval(()=>{let t=Date.now()-this._lastServerActivityTS;t>e*this.heartbeatToleranceMultiplier&&(this.debug(`did not receive server activity for the last ${t}ms`),this.onHeartbeatLost(),this._closeOrDiscardWebsocket())},e)}}_closeOrDiscardWebsocket(){this.discardWebsocketOnCommFailure?(this.debug(`Discarding websocket, the underlying socket may linger for a while`),this.discardWebsocket()):(this.debug(`Issuing close on the websocket`),this._closeWebsocket())}forceDisconnect(){this._webSocket&&(this._webSocket.readyState===e.StompSocketState.CONNECTING||this._webSocket.readyState===e.StompSocketState.OPEN)&&this._closeOrDiscardWebsocket()}_closeWebsocket(){this._webSocket.onmessage=()=>{},this._webSocket.close()}discardWebsocket(){typeof this._webSocket.terminate!=`function`&&t(this._webSocket,e=>this.debug(e)),this._webSocket.terminate()}
190_transmit(e){let{command:t,headers:n,body:i,binaryBody:a,skipContentLengthHeader:o}=e,s=new r({command:t,headers:n,body:i,binaryBody:a,escapeHeaderValues:this._escapeHeaderValues,skipContentLengthHeader:o}),c=s.serialize();if(this.logRawCommunication?this.debug(`>>> ${c}`):this.debug(`>>> ${s}`),this.forceBinaryWSFrames&&typeof c==`string`&&(c=new TextEncoder().encode(c)),typeof c!=`string`||!this.splitLargeFrames)this._webSocket.send(c);else{let e=c;for(;e.length>0;){let t=e.substring(0,this.maxWebSocketChunkSize);e=e.substring(this.maxWebSocketChunkSize),this._webSocket.send(t),this.debug(`chunk sent = ${t.length}, remaining = ${e.length}`)}}}dispose(){if(this.connected)try{let e=Object.assign({},this.disconnectHeaders);e.receipt||=`close-${this._counter++}`,this.watchForReceipt(e.receipt,e=>{this._closeWebsocket(),this._cleanUp(),this.onDisconnect(e)}),this._transmit({command:`DISCONNECT`,headers:e})}catch(e){this.debug(`Ignoring error during disconnect ${e}`)}else(this._webSocket.readyState===e.StompSocketState.CONNECTING||this._webSocket.readyState===e.StompSocketState.OPEN)&&this._closeWebsocket()}_cleanUp(){this._connected=!1,this._pinger&&=(this._pinger.stop(),void 0),this._ponger&&=(clearInterval(this._ponger),void 0)}publish(e){let{destination:t,headers:n,body:r,binaryBody:i,skipContentLengthHeader:a}=e,o=Object.assign({destination:t},n);this._transmit({command:`SEND`,headers:o,body:r,binaryBody:i,skipContentLengthHeader:a})}watchForReceipt(e,t){this._receiptWatchers[e]=t}subscribe(e,t,n={}){n=Object.assign({},n),n.id||(n.id=`sub-${this._counter++}`),n.destination=e,this._subscriptions[n.id]=t,this._transmit({command:`SUBSCRIBE`,headers:n});let r=this;return{id:n.id,unsubscribe(e){return r.unsubscribe(n.id,e)}}}unsubscribe(e,t={}){t=Object.assign({},t),delete this._subscriptions[e],t.id=e,this._transmit({command:`UNSUBSCRIBE`,headers:t})}begin(e){let t=e||`tx-${this._counter++}`;this._transmit({command:`BEGIN`,headers:{transaction:t}});let n=this;return{id:t,commit(){n.commit(t)},abort(){n.abort(t)}}}commit(e){this._transmit({command:`COMMIT`,headers:{transaction:e}})}abort(e){this._transmit({command:`ABORT`,headers:{transaction:e}})}ack(e,t,n={}){n=Object.assign({},n),this._connectedVersion===o.V1_2?n.id=e:n[`message-id`]=e,n.subscription=t,this._transmit({command:`ACK`,headers:n})}nack(e,t,n={}){return n=Object.assign({},n),this._connectedVersion===o.V1_2?n.id=e:n[`message-id`]=e,n.subscription=t,this._transmit({command:`NACK`,headers:n})}}class c{get webSocket(){return this._stompHandler?._webSocket}get disconnectHeaders(){return this._disconnectHeaders}set disconnectHeaders(e){this._disconnectHeaders=e,this._stompHandler&&(this._stompHandler.disconnectHeaders=this._disconnectHeaders)}get connected(){return!!this._stompHandler&&this._stompHandler.connected}get connectedVersion(){return this._stompHandler?this._stompHandler.connectedVersion:void 0}get active(){return this.state===e.ActivationState.ACTIVE}_changeState(e){this.state=e,this.onChangeState(e)}constructor(t={}){this.stompVersions=o.default,this.connectionTimeout=0,this.reconnectDelay=5e3,this._nextReconnectDelay=0,this.maxReconnectDelay=9e5,this.reconnectTimeMode=e.ReconnectionTimeMode.LINEAR,this.heartbeatIncoming=1e4,this.heartbeatToleranceMultiplier=2,this.heartbeatOutgoing=1e4,this.heartbeatStrategy=e.TickerStrategy.Interval,this.splitLargeFrames=!1,this.maxWebSocketChunkSize=8192,this.forceBinaryWSFrames=!1,this.appendMissingNULLonIncoming=!1,this.discardWebsocketOnCommFailure=!1,this.state=e.ActivationState.INACTIVE;let n=()=>{};this.debug=n,this.beforeConnect=n,this.onConnect=n,this.onDisconnect=n,this.onUnhandledMessage=n,this.onUnhandledReceipt=n,this.onUnhandledFrame=n,this.onHeartbeatReceived=n,this.onHeartbeatLost=n,this.onStompError=n,this.onWebSocketClose=n,this.onWebSocketError=n,this.logRawCommunication=!1,this.onChangeState=n,this.connectHeaders={},this._disconnectHeaders={},this.configure(t)}configure(e){Object.assign(this,e),this.maxReconnectDelay>0&&this.maxReconnectDelay<this.reconnectDelay&&(this.debug(`Warning: maxReconnectDelay (${this.maxReconnectDelay}ms) is less than reconnectDelay (${this.reconnectDelay}ms). Using reconnectDelay as the maxReconnectDelay delay.`),this.maxReconnectDelay=this.reconnectDelay)}activate(){let t=()=>{if(this.active){this.debug(`Already ACTIVE, ignoring request to activate`);return}this._changeState(e.ActivationState.ACTIVE),this._nextReconnectDelay=this.reconnectDelay,this._connect()};this.state===e.ActivationState.DEACTIVATING?(this.debug(`Waiting for deactivation to finish before activating`),this.deactivate().then(()=>{t()})):t()}async _connect(){if(await this.beforeConnect(this),this._stompHandler){this.debug(`There is already a stompHandler, skipping the call to connect`);return}if(!this.active){this.debug(`Client has been marked inactive, will not attempt to connect`);return}this.connectionTimeout>0&&(this._connectionWatcher&&clearTimeout(this._connectionWatcher),this._connectionWatcher=setTimeout(()=>{this.connected||(this.debug(`Connection not established in ${this.connectionTimeout}ms, closing socket`),this.forceDisconnect())},this.connectionTimeout)),this.debug(`Opening Web Socket...`);let t=this._createWebSocket();this._stompHandler=new s(this,t,{debug:this.debug,stompVersions:this.stompVersions,connectHeaders:this.connectHeaders,disconnectHeaders:this._disconnectHeaders,heartbeatIncoming:this.heartbeatIncoming,heartbeatGracePeriods:this.heartbeatToleranceMultiplier,heartbeatOutgoing:this.heartbeatOutgoing,heartbeatStrategy:this.heartbeatStrategy,splitLargeFrames:this.splitLargeFrames,maxWebSocketChunkSize:this.maxWebSocketChunkSize,forceBinaryWSFrames:this.forceBinaryWSFrames,logRawCommunication:this.logRawCommunication,appendMissingNULLonIncoming:this.appendMissingNULLonIncoming,discardWebsocketOnCommFailure:this.discardWebsocketOnCommFailure,onConnect:e=>{if(this._connectionWatcher&&=(clearTimeout(this._connectionWatcher),void 0),this._nextReconnectDelay=this.reconnectDelay,!this.active){this.debug(`STOMP got connected while deactivate was issued, will disconnect now`),this._disposeStompHandler();return}this.onConnect(e)},onDisconnect:e=>{this.onDisconnect(e)},onStompError:e=>{this.onStompError(e)},onWebSocketClose:t=>{this._stompHandler=void 0,this.state===e.ActivationState.DEACTIVATING&&this._changeState(e.ActivationState.INACTIVE),this.onWeb
190SocketClose(t),this.active&&this._schedule_reconnect()},onWebSocketError:e=>{this.onWebSocketError(e)},onUnhandledMessage:e=>{this.onUnhandledMessage(e)},onUnhandledReceipt:e=>{this.onUnhandledReceipt(e)},onUnhandledFrame:e=>{this.onUnhandledFrame(e)},onHeartbeatReceived:()=>{this.onHeartbeatReceived()},onHeartbeatLost:()=>{this.onHeartbeatLost()}}),this._stompHandler.start()}_createWebSocket(){let e;if(this.webSocketFactory)e=this.webSocketFactory();else if(this.brokerURL)e=new WebSocket(this.brokerURL,this.stompVersions.protocolVersions());else throw Error(`Either brokerURL or webSocketFactory must be provided`);return e.binaryType=`arraybuffer`,e}_schedule_reconnect(){this._nextReconnectDelay>0&&(this.debug(`STOMP: scheduling reconnection in ${this._nextReconnectDelay}ms`),this._reconnector=setTimeout(()=>{this.reconnectTimeMode===e.ReconnectionTimeMode.EXPONENTIAL&&(this._nextReconnectDelay*=2,this.maxReconnectDelay!==0&&(this._nextReconnectDelay=Math.min(this._nextReconnectDelay,this.maxReconnectDelay))),this._connect()},this._nextReconnectDelay))}async deactivate(t={}){let n=t.force||!1,r=this.active,i;if(this.state===e.ActivationState.INACTIVE)return this.debug(`Already INACTIVE, nothing more to do`),Promise.resolve();if(this._changeState(e.ActivationState.DEACTIVATING),this._nextReconnectDelay=0,this._reconnector&&=(clearTimeout(this._reconnector),void 0),this._stompHandler&&this.webSocket.readyState!==e.StompSocketState.CLOSED){let e=this._stompHandler.onWebSocketClose;i=new Promise((t,n)=>{this._stompHandler.onWebSocketClose=n=>{e(n),t()}})}else return this._changeState(e.ActivationState.INACTIVE),Promise.resolve();return n?this._stompHandler?.discardWebsocket():r&&this._disposeStompHandler(),i}forceDisconnect(){this._stompHandler&&this._stompHandler.forceDisconnect()}_disposeStompHandler(){this._stompHandler&&this._stompHandler.dispose()}publish(e){this._checkConnection(),this._stompHandler.publish(e)}_checkConnection(){if(!this.connected)throw TypeError(`There is no underlying STOMP connection`)}watchForReceipt(e,t){this._checkConnection(),this._stompHandler.watchForReceipt(e,t)}subscribe(e,t,n={}){return this._checkConnection(),this._stompHandler.subscribe(e,t,n)}unsubscribe(e,t={}){this._checkConnection(),this._stompHandler.unsubscribe(e,t)}begin(e){return this._checkConnection(),this._stompHandler.begin(e)}commit(e){this._checkConnection(),this._stompHandler.commit(e)}abort(e){this._checkConnection(),this._stompHandler.abort(e)}ack(e,t,n={}){this._checkConnection(),this._stompHandler.ack(e,t,n)}nack(e,t,n={}){this._checkConnection(),this._stompHandler.nack(e,t,n)}}class l{}class u{}class d{constructor(e){this.client=e}get outgoing(){return this.client.heartbeatOutgoing}set outgoing(e){this.client.heartbeatOutgoing=e}get incoming(){return this.client.heartbeatIncoming}set incoming(e){this.client.heartbeatIncoming=e}}class f extends c{constructor(e){super(),this.maxWebSocketFrameSize=16384,this._heartbeatInfo=new d(this),this.reconnect_delay=0,this.webSocketFactory=e,this.debug=(...e)=>{console.log(...e)}}_parseConnect(...e){let t,n,r,i={};if(e.length<2)throw Error(`Connect requires at least 2 arguments`);if(typeof e[1]==`function`)[i,n,r,t]=e;else switch(e.length){case 6:[i.login,i.passcode,n,r,t,i.host]=e;break;default:[i.login,i.passcode,n,r,t]=e}return[i,n,r,t]}connect(...e){let t=this._parseConnect(...e);t[0]&&(this.connectHeaders=t[0]),t[1]&&(this.onConnect=t[1]),t[2]&&(this.onStompError=t[2]),t[3]&&(this.onWebSocketClose=t[3]),super.activate()}disconnect(e,t={}){e&&(this.onDisconnect=e),this.disconnectHeaders=t,super.deactivate()}send(e,t={},n=``){t=Object.assign({},t);let r=t[`content-length`]===!1;r&&delete t[`content-length`],this.publish({destination:e,headers:t,body:n,skipContentLengthHeader:r})}set reconnect_delay(e){this.reconnectDelay=e}get ws(){return this.webSocket}get version(){return this.connectedVersion}get onreceive(){return this.onUnhandledMessage}set onreceive(e){this.onUnhandledMessage=e}get onreceipt(){return this.onUnhandledReceipt}set onreceipt(e){this.onUnhandledReceipt=e}get heartbeat(){return this._heartbeatInfo}set heartbeat(e){this.heartbeatIncoming=e.incoming,this.heartbeatOutgoing=e.outgoing}}class p{static client(e,t){return t??=o.default.protocolVersions(),new f(()=>
190new(p.WebSocketClass||WebSocket)(e,t))}static over(e){let t;return typeof e==`function`?t=e:(console.warn(`Stomp.over did not receive a factory, auto reconnect will not work. Please see https://stomp-js.github.io/api-docs/latest/classes/Stomp.html#over`),t=()=>e),new f(t)}}p.WebSocketClass=null,e.Client=c,e.CompatClient=f,e.FrameImpl=r,e.Parser=i,e.Stomp=p,e.StompConfig=l,e.StompHeaders=u,e.Versions=o}))}))(),aUe=0,K$=class{constructor(e,t={}){this.socketUrl=e,this.options=t,this.connected=!1,this.handlers=new Map,this.subscriptions=new Map,this.pendingConnectCbs=new Set,this.client=new iUe.Client({brokerURL:t.auth===`connect-header`?e:void 0,reconnectDelay:5e3,heartbeatIncoming:4e3,heartbeatOutgoing:4e3,beforeConnect:async()=>{let e=await Tw();e&&(this.options.auth===`connect-header`?this.client.connectHeaders={Authorization:`Bearer ${e}`}:this.client.brokerURL=`${this.socketUrl}?token=${e}`)}}),this.client.onConnect=()=>{this.connected=!0;for(let[e,t]of this.handlers)this.openSubscription(e,t);this.startKeepAlive();let e=[...this.pendingConnectCbs];this.pendingConnectCbs.clear();for(let t of e)t()},this.client.onDisconnect=()=>this.handleConnectionLost(),this.client.onWebSocketClose=()=>this.handleConnectionLost(),this.client.onStompError=e=>{this.onErrorCb?.(`STOMP error: ${e.headers.message??`unknown`}`)}}get isConnected(){return this.connected}connect(e,t){if(t&&(this.onErrorCb=t),this.connected){e();return}this.pendingConnectCbs.add(e),this.client.activate()}subscribe(e,t){this.handlers.has(e)||(this.handlers.set(e,t),this.openSubscription(e,t))}subscribeWithReceipt(e,t,n=4e3){return this.handlers.has(e)||(this.handlers.set(e,t),!this.client.connected)?Promise.resolve():new Promise(r=>{let i=`sub-${++aUe}`,a=!1,o=()=>{a||(a=!0,clearTimeout(s),r())},s=setTimeout(o,n);this.client.watchForReceipt(i,o),this.subscriptions.set(e,this.client.subscribe(e,t,{receipt:i}))})}hasSubscription(e){return this.handlers.has(e)}unsubscribe(e){this.handlers.delete(e);let t=this.subscriptions.get(e);t&&(this.subscriptions.delete(e),this.client.connected&&t.unsubscribe())}sendMessage(e,t){this.client.connected&&this.client.publish({destination:e,body:t})}disconnect(){this.stopKeepAlive(),this.client.deactivate()}openSubscription(e,t){!this.client.connected||this.subscriptions.has(e)||this.subscriptions.set(e,this.client.subscribe(e,t))}handleConnectionLost(){this.connected=!1,this.subscriptions.clear(),this.stopKeepAlive()}startKeepAlive(){let e=this.options.keepAlive;!e||typeof window>`u`||this.keepAliveTimer||(this.subscribe(e.subscribeDestination,()=>{}),this.keepAliveTimer=setInterval(()=>{this.connected&&this.sendMessage(e.pingDestination,`ping`)},e.intervalMs))}stopKeepAlive(){let e=this.options.keepAlive;e&&this.unsubscribe(e.subscribeDestination),this.keepAliveTimer&&=(clearInterval(this.keepAliveTimer),void 0)}},q$=new K$(Qle,{keepAlive:{subscribeDestination:`/topic/keepalive`,pingDestination:`/app/keepalive`,intervalMs:3e4},auth:`connect-header`}),oUe={status:null,executionId:null,live:!1,stepMessagesBySource:new Map,autopilotBySource:new Map,evaluateJsLogsBySource:new Map};function J$(e,t,n){let r=new Map(e);return r.set(t,[...r.get(t)??[],n]),r}function sUe(e,t){switch(t.kind){case`reset`:return{status:`PENDING`,executionId:t.executionId,live:!0,stepMessagesBySource:new Map,autopilotBySource:new Map,evaluateJsLogsBySource:new Map};case`seed`:return e.status==null&&e.executionId==null?{...e,status:t.status,executionId:t.executionId}:e;case`status`:return{...e,status:t.status,executionId:t.executionId||e.executionId,live:!0};case`step`:return!t.message.sourceId||t.message.executionId&&e.executionId&&t.message.executionId!==e.executionId?e:{...e,stepMessagesBySource:J$(e.stepMessagesBySource,t.message.sourceId,t.message)};case`autopilot`:return!t.message.sourceId||t.message.executionId&&e.executionId&&t.message.executionId!==e.executionId?e:{...e,autopilotBySource:J$(e.autopilotBySource,t.message.sourceId,t.message)};case`evaluateJsLog`:return t.message.sourceId?{...e,evaluateJsLogsBySource:J$(e.evaluateJsLogsBySource,t.message.sourceId,t.message)}:e;default:return e}}var cUe=new Set([`SUCCESS`,`FAILED`,`STOPPED`,`ERROR`]);function lUe(e){let[t,n]=(0,O.useReducer)(sUe,oUe),[r,i]=(0,O.useState)(!1);(0,O.useEffect)(()=>
190{if(!e||typeof window>`u`)return;let t=`/topic/test-${e}`,r=e=>{let t;try{t=JSON.parse(e.body)}catch{return}t.type===`TEST_STATUS_MESSAGE`?n({kind:`status`,status:t.status,executionId:t.executionId}):t.type===`TEST_STEP_MESSAGE`?n({kind:`step`,message:t}):t.type===`AUTOPILOT_STREAM_MESSAGE`?n({kind:`autopilot`,message:t}):t.type===`EVALUATE_JS_LOG_MESSAGE`&&n({kind:`evaluateJsLog`,message:t})},a=!1;return q$.connect(()=>{a||(i(!0),q$.hasSubscription(t)||q$.subscribe(t,r))}),()=>{a=!0,q$.unsubscribe(t)}},[e]);let a=t.status===`RUNNING`||t.status===`PENDING`,o=t.status!=null&&cUe.has(t.status),s=(0,O.useCallback)(e=>n({kind:`reset`,executionId:e}),[]),c=(0,O.useCallback)((e,t)=>n({kind:`seed`,status:e,executionId:t}),[]);return{status:t.status,executionId:t.executionId,live:t.live,connected:r,running:a,finished:o,stepMessagesBySource:t.stepMessagesBySource,autopilotBySource:t.autopilotBySource,evaluateJsLogsBySource:t.evaluateJsLogsBySource,beginRun:s,seed:c}}function Y$(){let e=e=>KT.subscribe(e);return{loaded:(0,O.useSyncExternalStore)(e,()=>KT.isLoaded(),()=>!1),ready:(0,O.useSyncExternalStore)(e,()=>KT.isReady(),()=>!1)}}function uUe({testName:e}){let t=X(`pages.web.editor`);return(0,U.jsxs)(`div`,{className:`text-muted-foreground inline-flex items-center gap-1.5 text-[12px]`,children:[(0,U.jsx)(Qw,{href:`/web/overview`,className:`hover:text-fg-strong text-muted-foreground`,children:t(`breadcrumb`)}),(0,U.jsx)(`span`,{className:`text-fg-hint`,children:`/`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e})]})}function dUe({assigned:e,all:t,onAdd:n,onRemove:r,disabled:i}){let a=X(`pages.web.editor`),[o,s]=(0,O.useState)(!1),c=new Set(e.map(e=>e.id)),l=t.filter(e=>e.id&&!c.has(e.id));return(0,U.jsxs)(`span`,{className:`inline-flex flex-wrap items-center gap-1.5`,children:[e.map(e=>(0,U.jsxs)(`span`,{className:`border-border bg-surface text-fg-strong inline-flex items-center gap-1.5 rounded-[7px] border-[0.5px] py-1 pr-1.5 pl-2 text-[11.5px] font-medium`,children:[(0,U.jsx)(`span`,{className:`size-[7px] rounded-full`,style:{backgroundColor:e.color},"aria-hidden":`true`}),e.name,r&&(0,U.jsx)(`button`,{type:`button`,disabled:i,onClick:()=>r(e.id),className:`text-fg-hint hover:text-status-failed hover:bg-surface-hover grid size-4 place-items-center rounded`,"aria-label":a(`removeTag`,{name:e.name}),children:(0,U.jsx)(ox,{className:`size-2.5`})})]},e.id)),n&&(0,U.jsxs)(hT,{open:o,onOpenChange:s,children:[(0,U.jsxs)(gT,{disabled:i,className:`text-muted-foreground border-border hover:border-border-strong hover:text-fg-strong inline-flex items-center gap-1 rounded-[7px] border-[0.5px] border-dashed py-1 pr-2 pl-1.5 text-[11.5px] font-medium`,children:[(0,U.jsx)(Pb,{className:`size-3`}),a(`tag`)]}),(0,U.jsx)(_T,{align:`start`,className:`w-56 p-0`,children:(0,U.jsxs)(zZ,{children:[(0,U.jsx)(BZ,{placeholder:a(`findTag`)}),(0,U.jsxs)(VZ,{children:[(0,U.jsx)(HZ,{children:a(`noTags`)}),(0,U.jsxs)(UZ,{children:[l.map(e=>(0,U.jsxs)(WZ,{value:e.name,onSelect:()=>{n(e.id),s(!1)},children:[(0,U.jsx)(`span`,{className:`size-[8px] rounded-full`,style:{backgroundColor:e.color},"aria-hidden":`true`}),(0,U.jsx)(`span`,{className:`truncate`,children:e.name})]},e.id)),l.length===0&&(0,U.jsxs)(`div`,{className:`text-fg-hint flex items-center gap-1.5 px-2 py-1.5 text-[12px]`,children:[(0,U.jsx)(Zb,{className:`size-3`}),a(`allTagsAssigned`)]})]})]})]})})]})]})}function fUe({testName:e,assignedTags:t,allTags:n,onAddTag:r,onRemoveTag:i,onEdit:a,onRun:o,onStop:s,running:c,canRun:l=!0}){let u=X(`pages.web.editor`);return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex items-center gap-3 rounded-[12px] border-[0.5px] p-[10px_12px]`,children:[(0,U.jsxs)(`span`,{className:`inline-flex min-w-0 flex-wrap items-center gap-2.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[17px] font-semibold tracking-[-0.01em]`,children:e}),(0,U.jsxs)(`button`,{type:`button`,onClick:a,className:`text-violet-dark bg-violet-pale hover:bg-violet inline-flex items-center gap-1.5 rounded-[7px] py-1 pr-2.5 pl-2 text-[11.5px] font-medium hover:text-white`,children:[(0,U.jsx)(jb,{className:`size-3`}),u(`edit`)]}),(0,U.jsx)(dUe,{assigned:t,all:n,onAdd:r,onRemove:i})]}),(0,U.jsx)(`span`,{className:`flex-1`}),c?(0,U.jsxs)(`button`,{type:`button`,onClick:s,className:`bg-status-failed inline-flex items-center gap-2 rounded-lg py-2 pr-3.5 pl-3 text-[12.5px] font-semibold text-white shadow-[0_1px_2px_rgba(226,75,74,0.25)] hover:opacity-90`,children:[(0,U.jsx)(Yb,{className:`size-2.5 fill-current`}),u(`stop`)]}):(0,U.jsx)(dy,{content:l?void 0:u(`runNeedsSteps`),children:(0,U.jsxs)(`button`,{type:`button`,onClick:o,disabled:!l,className:`bg-violet hover:bg-violet-dark disabled:hover:bg-violet inl
190ine-flex items-center gap-2 rounded-lg py-2 pr-3.5 pl-3 text-[12.5px] font-semibold text-white shadow-[0_1px_2px_rgba(99,102,241,0.25)] disabled:cursor-not-allowed disabled:opacity-50 disabled:shadow-none`,children:[(0,U.jsx)(Mb,{className:`size-2.5 fill-current`}),u(`runTest`)]})})]})}function pUe(){let e=X(`pages.web.editor`);return(0,U.jsxs)(`div`,{role:`status`,"aria-live":`polite`,className:`border-status-running-bg bg-status-running-bg/50 text-status-running-fg flex items-center gap-3 rounded-[12px] border-[0.5px] p-[12px_14px]`,children:[(0,U.jsx)(`span`,{className:`bg-status-running grid size-7 shrink-0 place-items-center rounded-full text-white`,children:(0,U.jsx)(gb,{className:`size-3.5 animate-spin`})}),(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col`,children:[(0,U.jsx)(`span`,{className:`text-[12.5px] font-semibold`,children:e(`runStarting`)}),(0,U.jsx)(`span`,{className:`text-[11px] opacity-80`,children:e(`runStartingHint`)})]})]})}function mUe(e){let t=[{type:`prompt`},{type:`authored`},{type:`script`},{type:`auto`},{type:`visual`},{type:`http`}];return e?t:t.filter(e=>e.type!==`authored`)}var hUe=mUe(!1);function gUe(e){switch(e){case`http`:return{sourceType:`HTTP_REQUEST`,sequenceType:`classic`};case`auto`:return{sourceType:`AUTOPILOT`,promptType:k$.AUTOPILOT,sequenceType:`classic`};case`visual`:return{sourceType:`PROMPT`,promptType:k$.ABSTRACT_VERIFICATION,sequenceType:`classic`};case`script`:return{sourceType:`EVALUATE_JS`,promptType:k$.EVALUATE_JS,sequenceType:`classic`};case`authored`:return{sourceType:`AI_AUTHORED`,promptType:k$.AI_AUTHORED,sequenceType:`classic`};default:return{sourceType:`PROMPT`,promptType:k$.CLASSIC,sequenceType:`classic`}}}var _Ue=[`classic`,`beforeEach`,`afterEach`,`beforeEachStep`,`afterEachStep`,`tearDown`];function vUe(e){return!!e&&e!==`classic`}var X$={prompt:{node:`bg-violet-pale text-violet-dark border-violet-dark`,chip:`bg-violet-pale text-violet-dark`},http:{node:`bg-step-http-bg text-step-http-fg border-step-http-fg`,chip:`bg-step-http-bg text-step-http-fg`},visual:{node:`bg-step-visual-bg text-step-visual-fg border-step-visual-fg`,chip:`bg-step-visual-bg text-step-visual-fg`},script:{node:`bg-step-script-bg text-step-script-fg border-step-script-fg`,chip:`bg-step-script-bg text-step-script-fg`},auto:{node:`bg-status-passed-bg text-status-passed-fg border-status-passed-fg`,chip:`bg-status-passed-bg text-status-passed-fg`},authored:{node:`bg-violet-pale text-violet-dark border-violet-dark`,chip:`bg-violet-pale text-violet-dark`}};function Z$(e,t){switch(e){case`HTTP_REQUEST`:return`http`;case`AUTOPILOT`:return`auto`;case`EVALUATE_JS`:return`script`;case`AI_AUTHORED`:return`authored`;default:return t===k$.ABSTRACT_VERIFICATION?`visual`:t===k$.AUTOPILOT?`auto`:`prompt`}}var yUe={prompt:Sb,http:ub,visual:nb,auto:qb,script:foe,authored:Ab};function Q$({onPick:e,variant:t=`bar`}){let n=X(`pages.web.editor`),[r,i]=(0,O.useState)(!1);return(0,U.jsxs)(hT,{open:r,onOpenChange:i,children:[(0,U.jsx)(gT,{asChild:!0,children:t===`bar`?(0,U.jsxs)(`button`,{type:`button`,className:`bg-violet hover:bg-violet-dark inline-flex w-fit items-center gap-2 rounded-[10px] py-2 pr-2 pl-[11px] text-[12.5px] font-medium text-white`,children:[n(`addSequence`),(0,U.jsx)(`span`,{className:`-mr-1 grid size-[22px] place-items-center rounded-md bg-white/[0.16]`,children:(0,U.jsx)(Fy,{className:`size-3`})})]}):(0,U.jsx)(`button`,{type:`button`,"aria-label":`Insert step`,className:`border-border-strong text-fg-hint hover:border-violet hover:text-violet grid size-[22px] place-items-center rounded-full border border-dashed bg-[var(--surface)]`,children:(0,U.jsx)(Pb,{className:`size-3`})})}),(0,U.jsx)(_T,{align:`start`,className:`w-[380px] p-1.5`,children:hUe.map(t=>{let r=yUe[t.type],a=X$[t.type];return(0,U.jsxs)(`button`,{type:`button`,disabled:t.disabled,onClick:()=>{e(t.type),i(!1)},className:W(`hover:bg-surface-hover grid w-full grid-cols-[32px_1fr] items-center gap-2.5 rounded-lg p-2 text-left`,t.disabled&&`pointer-events-none opacity-50`),children:[(0,U.jsx)(`span`,{className:W(`grid size-8 place-items-center rounded-[9px]`,a.chip),children:(0,U.jsx)(r,{className:`size-4`})}),(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block text-[12.5px] font-medium`,children:n(`stepType.${t.type}.label`)}),(0,U.jsx)(`span`,{className:`text-muted-foreground block text-[11px]`,children:n(`addSource.${t.type}.desc`)})]})]},t.type)})})]})}function bUe({onAddSource:e}){let t=X(`pages.web.editor`);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{className:`flex items-center`,children:(0,U.jsxs)(`span`,{className:`text-fg-strong text-[13px] font-semibold`,children:[t(`steps`),` `,(0,U.jsx)(`span`,{className:`text-fg-hint ml-1 font-mono text-[11px]`,children:`0`})]})}),(0,U.jsxs)(`div`,{className:`border-border-strong bg-surface mt-1.5 flex flex-col items-center rounded-[14px] border-[0.5px] border-dashed px-6 pt-11 pb-9 text-center`,children:[(0,U.jsx)(`div`,{className:`mb-3.5 grid size-[92px] place-items-center rounded-full bg-[radial-gradient(circle_at_50%_40%,var(--t2t-violet-pale)_0%,transparent_70%)]`,children:(0,U.jsx)(Sb,{className:`text-violet size-[38px]`,strokeWidth:1.4})}),(0,U.jsx)(`h3`,{className:`text-fg-strong mb-1 text-[16px] font-semibold`,children:t(`emptyTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mb-[18px] max-w-[460px] text-[13px] leading-[1.55]`,children:t(`emptyBody`)}),(0,U.jsx)(Q$,{variant:`bar`,onPick:e}),(0,U.jsx)(`div`,{className:`border-divider text-muted-foreground mt-[22px] flex w-full max-w-[520px] items-center justify-center gap-4 border-t pt-[18px] text-[11.5px]`,children:(0,U.jsx)(`span`,{className:`inline-flex items-center gap-1.5`,children:t.rich(`emptyTip`,{kbd:e=>(0,U.jsx)(`span`,{className:`text-fg-body bg-surface border-border rounded [border-width:0.5px] px-1.5 py-1 font-mono text-[10px] leading-none`,children:e})})})})]})]})}function xUe({index:e,isFirst:t,isLast:n,type:r,sourceId:i,children:a}){let o=X$[r];return(0,U.jsxs)(`div`,{"data-source-id":i,className:`grid grid-cols-[42px_1fr] items-stretch gap-3.5`,children:[(0,U.jsxs)(`div`,{className:`relative flex justify-center`,children:[(0,U.jsx)(`span`,{className:W(`bg-border absolute left-1/2 w-px -translate-x-1/2`,t?`top-[14px]`:`top-0`,n?`bottom-[calc(100%-28px)]`:`bottom-0`),"aria-hidden":`true`}),(0,U.jsx)(`span`,{className:W(`relative z-[2] mt-3 grid size-[30px] place-items-center rounded-full border-[0.5px] font-mono text-[11.5px] font-semibold`,o.node),children:e+1})]}),(0,U.jsx)(`div`,{className:`min-w-0`,children:a})]})}function SUe({onPick:e}){let t=X(`pages.web.editor`);return(0,U.jsxs)(`div`,{className:`group grid h-8 grid-cols-[42px_1fr] items-center gap-3.5`,children:[(0,U.jsxs)(`div`,{className:`relative flex justify-center`,children:[(0,U.jsx)(`span`,{className:`bg-border absolute top-0 bottom-0 left-1/2 w-px -translate-x-1/2`,"aria-hidden":`true`}),(0,U.jsx)(`span`,{className:`relative z-[2]`,children:(0,U.jsx)(Q$,{variant:`insert`,onPick:e})})]}),(0,U.jsx)(`span`,{className:`text-fg-hint text-[11px] opacity-0 transition-opacity group-hover:opacity-100`,children:t(`insertHere`)})]})}var $$=e=>!!e;function CUe(e,t){return t!==void 0&&(t.value!==(e.value??``)||$$(t.secret)!==$$(e.secret))}function wUe(e,t=[]){return e.map(e=>{let n=t.find(t=>t.name===e.name),r=CUe(e,n)?n:e,i=$$(r.secret);return{name:e.name,description:e.description??n?.description,baseValue:e.value??``,baseSecret:$$(e.secret),value:r.value??``,secret:i,revealed:!i,sourceTestName:e.sourceTestName,depth:e.depth??0}})}var e1=e=>e.value===e.baseValue&&e.secret===e.baseSecret;function TUe(e=[],t){let n=[...e],r=!1;for(let e of t){let t=n.find(t=>t.name===e.name);if(!t){e1(e)||(n.push({name:e.name,description:e.description,value:e.value,secret:e.secret}),r=!0);continue}if(e.baseSecret&&e1(e)){n.splice(n.indexOf(t),1),r=!0;continue}let i=t.description??e.description;(t.value!==e.value||$$(t.secret)!==e.secret||t.description!==i)&&(n.splice(n.indexOf(t),1,{...t,description:i,value:e.value,secret:e.secret}),r=!0)}return r?n:null}var t1=`â¢â¢â¢â¢â¢â¢â¢â¢`;function n1(e,t=[]){for(let n of e)n.kind===`item`&&n.test?.id&&t.pu
190sh({id:n.test.id,name:n.test.name,parentId:n.test.parentId??null}),n.children?.length&&n1(n.children,t);return t}var r1=`border-divider text-fg-strong flex items-center gap-2 border-b px-4 py-3 text-[13px] font-semibold`;function EUe({companyId:e,teamId:t,currentTestId:n,initialTerm:r=``,initialTestId:i,onPick:a,onClose:o}){let s=X(`pages.web.editor`),[c,l]=(0,O.useState)(r),[u,d]=(0,O.useState)(i?{id:i,name:r}:null),f=cZ(e,t,!!(e&&t)),p=(0,O.useMemo)(()=>aQ(f.data?.directories??[]),[f.data]),m=(0,O.useMemo)(()=>n1(f.data?.nodes??[]),[f.data]),h=c.trim().toLowerCase(),g=(0,O.useMemo)(()=>m.filter(e=>e.id!==n&&(!h||e.name.toLowerCase().includes(h))),[m,h,n]);function _(e){n?d(e):a(e)}if(u&&n){let e={id:u.id,name:m.find(e=>e.id===u.id)?.name??u.name};return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&o(),children:(0,U.jsx)(ST,{className:`w-[560px] max-w-[92vw] gap-0 p-0`,children:(0,U.jsx)(DUe,{test:e,callerTestId:n,onBack:()=>d(null),onClose:o,onApply:()=>a(e)})})})}return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&o(),children:(0,U.jsxs)(ST,{className:`w-[520px] max-w-[92vw] gap-0 p-0`,children:[(0,U.jsxs)(TT,{className:r1,children:[(0,U.jsx)(`span`,{className:`text-violet`,children:(0,U.jsx)(hb,{className:`size-3.5`})}),s(`testCallTitle`)]}),(0,U.jsx)(ET,{className:`sr-only`,children:s(`testCallHelp`)}),(0,U.jsx)(`div`,{className:`border-divider border-b px-4 py-3`,children:(0,U.jsxs)(`div`,{className:`border-border focus-within:border-violet flex items-center gap-2 rounded-md border-[0.5px] px-2.5`,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3.5 shrink-0`}),(0,U.jsx)(IT,{autoFocus:!0,value:c,onChange:e=>l(e.target.value),placeholder:s(`testCallSearch`),className:`h-8 border-0 px-0 text-[12.5px] focus-visible:ring-0`})]})}),(0,U.jsx)(`div`,{className:`max-h-[320px] min-h-[120px] overflow-y-auto p-2`,children:f.isPending?(0,U.jsxs)(`div`,{className:`text-muted-foreground flex items-center gap-2 p-3 text-[12.5px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),s(`searching`)]}):g.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground p-3 text-[12.5px]`,children:s(`testCallEmpty`)}):g.map(e=>{let t=oQ(p,e.parentId);return(0,U.jsxs)(`button`,{type:`button`,onClick:()=>_(e),className:`hover:bg-surface-hover flex w-full items-center justify-between gap-3 rounded-md px-2.5 py-2 text-left`,children:[(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block truncate text-[12.5px] font-medium`,children:e.name}),t!=null&&(0,U.jsx)(sQ,{path:t})]}),(0,U.jsx)(`span`,{className:`text-fg-hint shrink-0 font-mono text-[10.5px]`,children:e.id.slice(-6)})]},e.id)})})]})})}function DUe({test:e,callerTestId:t,onBack:n,onClose:r,onApply:i}){let a=X(`pages.web.editor`),o=I$(t),s=IHe(e.id),c=H$(t),l=(0,O.useMemo)(()=>s.data?wUe(s.data,o.data?.parameters):null,[s.data,o.data]),[u,d]=(0,O.useState)(null),[f,p]=(0,O.useState)(l);l!==f&&(p(l),d(null));let m=u??l??[],h=s.isPending||o.isPending;function g(e,t){d(m.map(n=>n.name===e?{...n,...t}:n))}async function _(){let e=o.data,t=e&&u?TUe(e.parameters,u):null;e&&t&&await c.mutateAsync({...e,parameters:t}),i()}return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(TT,{className:r1,children:[(0,U.jsx)(`span`,{className:`text-violet`,children:(0,U.jsx)(hb,{className:`size-3.5`})}),a(`testCallParamsTitle`),(0,U.jsx)(`span`,{className:`text-muted-foreground truncate font-normal`,children:e.name})]}),(0,U.jsx)(ET,{className:`text-muted-foreground border-divider border-b px-4 py-2.5 text-[11.5px] leading-[15px]`,children:a(`testCallParamsHelp`,{name:e.name})}),(0,U.jsx)(`div`,{className:`flex max-h-[360px] min-h-[120px] flex-col gap-2 overflow-y-auto p-3`,children:h?(0,U.jsxs)(`div`,{className:`text-muted-foreground flex items-center gap-2 p-2 text-[12.5px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),a(`testCallParamsLoading`)]}):s.isError?(0,U.jsx)(`p`,{className:`text-status-failed p-2 text-[12.5px]`,children:a(`testCallParamsError`)}):s.data===null?(0,U.jsx)(`p`,{className:`text-muted-foreground p-2 text-[12.5px]`,children:a(`testCallNoScenario`)}):m.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground p-2 text-[12.5px]`,children:a(`testCallParamsEmpty`)}):m.map(e=>{let t=e1(e),n=e.secret&&!e.revealed;return(0,U.jsxs)(`div`,{className:`border-divider flex flex-col gap-2 rounded-md border-[0.5px] px-3 py-2.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,U.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[(0,U.jsx)(`span`,{className:`text-violet truncate font-mono text-[12.5px]`,children:`{{${e.name}}}`}),e.depth>0&&e.sourceTestName&&(0,U.jsxs)(`span`,{className:`text-fg-hint inline-flex shrink-0 items-center gap-1 text-[11px]`,children:[(0,U.jsx)(yoe,{className:`size-3`,"aria-hidden":!0}),a(`testCallParamFrom`,{name:e.sourceTestName})]})]}),(0,U.jsx)(`span`,{className:W(`shrink-0 text-[11px]`,t?`text-muted-foreground`:`text-violet font-medium`),children:a(t?`testCallParamInherited`:`testCallParamOverridden`)})]}),e.description&&(0,U.jsx)(`p`,{className:`text-muted-foreground text-[11px] leading-[15px]`,children:e.description}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(IT,{"aria-label":e.name,value:n?t1:e.value,onChange:t=>g(e.name,{value:t.target.value}),disabled:n,placeholder:a(`variableValuePlaceholder`),className:`h-8 flex-1 text-[12.5px]`}),n&&(0,U.jsx)(dy,{content:a(`variableOverwriteSecret`),children:(0,U.jsx)(Z,{variant:`ghost`,size:`icon-sm`,"aria-label":a(`variableOverwriteSecret`),onClick:()=>g(e.name,{revealed:!0,value:``}),children:(0,U.jsx)(Ib,{className:`size-3.5`})})}),(0,U.jsx)(dy,{content:a(`testCallParamReset`),children:(0,U.jsx)(Z,{variant:`ghost`,size:`icon-sm`,"aria-label":a(`testCallParamReset`),disabled:t,onClick:()=>g(e.name,{value:e.baseValue,secret:e.baseSecret,revealed:!e.baseSecret}),children:(0,U.jsx)(Lb,{className:`size-3.5`})})})]}),(0,U.jsx)(`span`,{className:`text-fg-hint text-[11px]`,children:a(`testCallParamDefault`,{value:e.baseSecret?t1:e.baseValue||a(`testCallParamEmptyValue`)})})]},e.name)})}),(0,U.jsxs)(wT,{className:`border-divider gap-2 border-t px-4 py-3 sm:justify-between`,children:[(0,U.jsxs)(Z,{variant:`ghost`,size:`sm`,onClick:n,disabled:c.isPending,children:[(0,U.jsx)(Sy,{className:`size-3.5`}),a(`testCallBack`)]}),(0,U.jsxs)(`div`,{className:`flex gap-2`,children:[(0,U.jsx)(Z,{variant:`ghost`,size:`sm`,onClick:r,disabled:c.isPending,children:a(`cancel`)}),(0,U.jsxs)(Z,{size:`sm`,onClick:_,disabled:h||c.isPending,children:[c.isPending&&(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),a(`testCallApply`)]})]})]})]})}function i1({className:e}){return(0,U.jsxs)(`div`,{className:W(`flex flex-col gap-2 py-1`,e),"aria-hidden":`true`,children:[(0,U.jsx)(`div`,{className:`bg-surface-alt h-3.5 w-[70%] animate-pulse rounded`}),(0,U.jsx)(`div`,{className:`bg-surface-alt h-3.5 w-[88%] animate-pulse rounded`}),(0,U.jsx)(`div`,{className:`bg-surface-alt h-3.5 w-[55%] animate-pulse rounded`})]})}var OUe=(0,O.lazy)(()=>N(()=>import(`./MonacoEditor-3_--Fv7u.js`),__vite__mapDeps([0,1,2,3,4])));function a1(e){return(0,U.jsx)(O.Suspense,{fallback:(0,U.jsx)(i1,{}),children:(0,U.jsx)(OUe,{...e})})}var o1=`text2test`,kUe={tokenizer:{root:[[/\{\{.*?\}\}/,`parameter`],[/\(\(.*?\)\)/,`hint`],[/--\d{2}--\d{2}--\d{4}/,`date`],[/\[(.*?)\]\((.*?)\)/,`testCall`],[/(^|\s)(#.*$)/,[{token:`white`},{token:`comment`}]],[/(\w+::)(\w+)/,[`settingKey`,`settingValue`]]]}},AUe={brackets:[[`{`,`}`],[`(`,`)`],[`[`,`]`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`(`,close:`)`},{open:`[`,close:`]`}],surroundingPairs:[{open:`{`,close:`}`},{open:`(`,close:`)`},{open:`[`,close:`]`}]},s1=/\{\{\s*([^{}]+?)\s*\}\}/g;function c1(e,t=new Set){let n=[];s1.lastIndex=0;let r;for(;(r=s1.exec(e))!==null;){let e=r[1].trim();n.push({start:r.index,end:r.index+r[0].length,name:e,secret:t.has(e)})}return n}var l1=/\[([^\][]+)\]\(([^()]+)\)/g;function u1(e){let t=[];l1.lastIndex=0;let n;for(;(n=l1.exec(e))!==null;)t.push({start:n.index,end:n.index+n[0].length,label:n[1].trim(),id:n[2].trim()});return t}function d1(e,t=new Set){let n=e.getValue(),r=(t,n)=>{let r=e.getPositionAt(t),i=e.getPositionAt(n);return{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:i.lineNumber,endColumn:i.column}},i=c1(n,t).map(e=>({range:r(e.start,e.end),options:{inlineClassName:e.secret?`t2t-param-chip-secret`:`t2t-param-chip`}})),a=u1(n).map(e=>({range:r(e.start,e.end),options:{inlineClassName:`t2t-testcall-chip`}}));return[...i,...a]}var jUe={lineNumbers:`off`,glyphMargin:!1,folding:!1,lineDecorationsWidth:0,lineNumbersMinChars:0,renderLineHighlight:`none`,occurrencesHighlight:`off`,selectionHighlight:!1,contextmenu:!0,quickSuggestions:!1,suggestOnTriggerCharacters:!1,unicodeHighlight:{ambiguousCharacters:!1},overviewRulerBorder:!1,hideCursorInOverviewRuler:!0,guides:{indentation:!1}};
190function f1({value:e,onChange:t,onBlur:n,readOnly:r,secretNames:i,onParamClick:a,onTestCallClick:o,registerApi:s,authoring:c,ariaLabel:l,placeholder:u,charLimit:d}){let f=(0,O.useRef)(a),p=(0,O.useRef)(o),m=(0,O.useRef)(s),h=(0,O.useRef)(c),g=(0,O.useRef)(d);(0,O.useEffect)(()=>{f.current=a,p.current=o,m.current=s,h.current=c,g.current=d},[a,o,s,c,d]);let _=(0,O.useCallback)(e=>{let t=e.getModel();if(!t)return;let n=e.createDecorationsCollection(d1(t,i)),r=e.createDecorationsCollection(),a=()=>{let e=g.current,n=t.getValue();if(!e||n.length<=e){r.clear();return}let i=t.getPositionAt(e),a=t.getPositionAt(n.length);r.set([{range:{startLineNumber:i.lineNumber,startColumn:i.column,endLineNumber:a.lineNumber,endColumn:a.column},options:{inlineClassName:`t2t-char-over`}}])};a();let o=e.onDidChangeModelContent(()=>{n.set(d1(t,i)),a()}),s=e.onMouseDown(e=>{let n=e.target.element?.className,r=e.target.position;if(typeof n!=`string`||!r)return;let i=t.getOffsetAt(r);if(n.includes(`t2t-param-chip`)){let e=c1(t.getValue()).find(e=>i>=e.start&&i<=e.end);e&&f.current?.(e.name)}
190else if(n.includes(`t2t-testcall-chip`)){let e=u1(t.getValue()).find(e=>i>=e.start&&i<=e.end);e&&p.current?.(e.label,e.id)}}),c=t=>{let n=e.getSelection();n&&(e.executeEdits(`t2t-insert`,[{range:n,text:t,forceMoveMarkers:!0}]),e.focus())};m.current?.({insertAtCaret:c,replaceFirst:(n,r)=>{let i=t.getValue().indexOf(n);if(i<0)return;let a=t.getPositionAt(i),o=t.getPositionAt(i+n.length);e.executeEdits(`t2t-replace`,[{range:{startLineNumber:a.lineNumber,startColumn:a.column,endLineNumber:o.lineNumber,endColumn:o.column},text:r,forceMoveMarkers:!0}]),e.focus()}});let l=[],u=h.current;if(u){let t=(t,n,r,i)=>l.push(e.addAction({id:t,label:n,contextMenuGroupId:`1_t2t`,contextMenuOrder:r,run:i}));t(`t2t.insertParameter`,u.labels.parameter,1,()=>c(`{{name}}`)),t(`t2t.insertHint`,u.labels.hint,2,()=>c(`((hint))`)),t(`t2t.insertSetting`,u.labels.setting,3,()=>c(`key::value`)),t(`t2t.insertComment`,u.labels.comment,4,()=>c(`# comment`)),u.labels.testCall&&t(`t2t.insertTestCall`,u.labels.testCall,5,()=>h.current?.onTestCall?.())}e.onDidDispose(()=>{o.dispose(),s.dispose(),l.forEach(e=>e.dispose()),m.current?.(null)})},[i]);return(0,U.jsx)(a1,{value:e,onChange:t,onBlur:n,language:o1,readOnly:r,autoHeight:{min:56,max:480},options:jUe,onMount:_,ariaLabel:l,placeholder:u,className:`text-[13px] leading-[21px]`})}var MUe=` 191interface T2TWaitForOptions { state?: 'attached' | 'detached' | 'visible' | 'hidden'; timeout?: number } 192interface T2TActionOptions { timeout?: number; force?: boolean; trial?: boolean } 193 194interface T2TLocator { 195 /** Narrow to a descendant. */ 196 locator(selector: string): T2TLocator; 197 getByRole(role: string, options?: { name?: string | RegExp; exact?: boolean }): T2TLocator; 198 getByText(text: string | RegExp, options?: { exact?: boolean }): T2TLocator; 199 getByLabel(text: string | RegExp, options?: { exact?: boolean }): T2TLocator; 200 getByTestId(testId: string | RegExp): T2TLocator; 201 getByPlaceholder(text: string | RegExp, options?: { exact?: boolean }): T2TLocator; 202 first(): T2TLocator; 203 last(): T2TLocator; 204 nth(index: number): T2TLocator; 205 filter(options: { hasText?: string | RegExp; has?: T2TLocator }): T2TLocator; 206 click(options?: T2TActionOptions): Promise<void>; 207 dblclick(options?: T2TActionOptions): Promise<void>; 208 hover(options?: T2TActionOptions): Promise<void>; 209 fill(value: string, options?: T2TActionOptions): Promise<void>; 210 type(text: string, options?: { delay?: number }): Promise<void>; 211 press(key: string, options?: { delay?: number }): Promise<void>; 212 check(options?: T2TActionOptions): Promise<void>; 213 uncheck(options?: T2TActionOptions): Promise<void>; 214 selectOption(values: string | string[]): Promise<string[]>; 215 focus(): Promise<void>; 216 blur(): Promise<void>; 217 scrollIntoViewIfNeeded(): Promise<void>; 218 waitFor(options?: T2TWaitForOptions): Promise<void>; 219 isVisible(options?: { timeout?: number }): Promise<boolean>; 220 isHidden(options?: { timeout?: number }): Promise<boolean>; 221 isEnabled(options?: { timeout?: number }): Promise<boolean>; 222 isDisabled(options?: { timeout?: number }): Promise<boolean>; 223 isChecked(options?: { timeout?: number }): Promise<boolean>; 224 isEditable(options?: { timeout?: number }): Promise<boolean>; 225 count(): Promise<number>; 226 textContent(options?: { timeout?: number }): Promise<string | null>; 227 innerText(options?: { timeout?: number }): Promise<string>; 228 innerHTML(options?: { timeout?: number }): Promise<string>; 229 inputValue(options?: { timeout?: number }): Promise<string>; 230 getAttribute(name: string, options?: { timeout?: number }): Promise<string | null>; 231 boundingBox(): Promise<{ x: number; y: number; width: number; height: number } | null>; 232 all(): Promise<T2TLocator[]>; 233 allTextContents(): Promise<string[]>; 234} 235 236interface T2TKeyboard { 237 press(key: string, options?: { delay?: number }): Promise<void>; 238 type(text: string, options?: { delay?: number }): Promise<void>; 239 down(key: string): Promise<void>; 240 up(key: string): Promise<void>; 241 insertText(text: string): Promise<void>; 242} 243 244interface T2TMouse { 245 click(x: number, y: number, options?: { button?: 'left' | 'right' | 'middle'; clickCount?: number }): Promise<void>; 246 move(x: number, y: number, options?: { steps?: number }): Promise<void>; 247 down(): Promise<void>; 248 up(): Promise<void>; 249 wheel(deltaX: number, deltaY: number): Promise<void>; 250} 251 252interface T2TPage { 253 locator(selector: string): T2TLocator; 254 getByRole(role: string, options?: { name?: string | RegExp; exact?: boolean }): T2TLocator; 255 getByText(text: string | RegExp, options?: { exact?: boolean }): T2TLocator; 256 getByLabel(text: string | RegExp, options?: { exact?: boolean }): T2TLocator; 257 getByTestId(testId: string | RegExp): T2TLocator; 258 getByPlaceholder(text: string | RegExp, options?: { exact?: boolean }): T2TLocator; 259 getByTitle(text: string | RegExp, options?: { exact?: boolean }): T2TLocator; 260 getByAltText(text: string | RegExp, options?: { exact?: boolean }): T2TLocator; 261 frameLocator(selector: string): { locator(selector: string): T2TLocator }; 262 goto(url: string, options?: { timeout?: number; waitUntil?: 'load' | 'domcontentloaded' | 'networkidle' | 'commit' }): Promise<unknown>; 263 reload(options?: { timeout?: number }): Promise<unknown>; 264 goBack(options?: { timeout?: number }): Promise<unknown>; 265 goForward(options?: { timeout?: number }): Promise<unknown>; 266 waitForURL(url: string | RegExp, options?: { timeout?: number }): Promise<void>; 267 waitForLoadState(state?: 'load' | 'domcontentloaded' | 'networkidle', options?: { timeout?: number }): Promise<void>; 268 waitForSelector(selector: string, options?: T2TWaitForOptions): Promise<unknown>; 269 waitForResponse(urlOrPredicate: string | RegExp | ((r: unknown) => boolean), options?: { timeout?: number }): Promise<unknown>; 270 waitForTimeout(timeout: number): Promise<void>; 271 /** Run JS in the page context. Use for cookies, computed styles, window state. */ 272 evaluate<R>(pageFunction: (() => R | Promise<R>) | string): Promise<R>; 273 evaluate<R, A>(pageFunction: (arg: A) => R | Promise<R>, arg: A): Promise<R>; 274 title(): Promise<string>; 275 content(): Promise<string>; 276 url(): string; 277 screenshot(options?: { fullPage?: boolean }): Promise<Uint8Array>; 278 /** Resolves with the new tab a click opens. Must be armed BEFORE the click: 279 * \`const [popup] = await Promise.all([page.waitForEvent('popup'), lnk.click()]);\` */ 280 waitForEvent(event: 'popup', options?: { timeout?: number }): Promise<T2TPage>; 281 keyboard: T2TKeyboard; 282 mouse: T2TMouse; 283} 284 285interface T2TState {
286 /** Read a test variable's value by name (undefined if unset). */ 287 get(name: string): unknown; 288 /** Write a test variable - visible to later steps in this run (not persisted across runs). */ 289 set(name: string, value: unknown): unknown; 290} 291 292/** The live Playwright page for this step (top-level API; \`addInitScript\`/\`route\` are blocked). 293 * Pinned to the tab the step STARTED on - it does NOT follow a click that opens a new tab. */ 294declare const page: T2TPage; 295/** The tab the executor is CURRENTLY driving. After an action opens a new tab, switch: 296 * \`const p = await getCurrentPage(); await p.waitForLoadState();\` then use \`p\`, not \`page\`. */ 297declare function getCurrentPage(): Promise<T2TPage>; 298/** Read/write the run's test variables. \`state.set\` is visible to later steps this run only. */ 299declare const state: T2TState; 300/** Standard console - output is captured into the step's live log panel. */ 301declare const console: Console; 302/** Not available in script steps. Use locator waits or \`throw new Error(...)\` to assert. */ 303declare const expect: never; 304`,p1=!1;function NUe(e){if(p1)return;p1=!0;let t=e.languages.typescript.javascriptDefaults;t.setCompilerOptions({target:e.languages.typescript.ScriptTarget.ESNext,lib:[`esnext`,`dom`,`dom.iterable`],allowJs:!0,allowNonTsExtensions:!0,moduleResolution:e.languages.typescript.ModuleResolutionKind.NodeJs,checkJs:!1}),t.setDiagnosticsOptions({noSemanticValidation:!0,noSyntaxValidation:!0,noSuggestionDiagnostics:!0}),t.addExtraLib(MUe,`ts:t2t-script-globals.d.ts`)}var PUe={lineNumbers:`off`,glyphMargin:!1,folding:!1,lineDecorationsWidth:0,lineNumbersMinChars:0,renderLineHighlight:`none`,contextmenu:!0,quickSuggestions:!0,suggestOnTriggerCharacters:!0,parameterHints:{enabled:!0},overviewRulerBorder:!1,hideCursorInOverviewRuler:!0,wordWrap:`off`,guides:{indentation:!0}};function m1({value:e,onChange:t,onBlur:n,readOnly:r,ariaLabel:i,placeholder:a,fill:o}){let s=X(`pages.web.editor`);return(0,U.jsx)(a1,{value:e,onChange:t,onBlur:n,language:`javascript`,readOnly:r,autoHeight:o?void 0:{min:96,max:480},options:PUe,onMount:(e,t)=>NUe(t),ariaLabel:i,placeholder:a??s(`placeholder.script`),className:`text-[13px] leading-[21px]`})}function h1({onOpen:e,placeholder:t,className:n}){let r=X(`pages.web.editor`),[i,a]=(0,O.useState)(``);function o(){e(i.trim()||void 0),a(``)}return(0,U.jsxs)(`div`,{className:W(`border-border bg-surface focus-within:border-violet flex items-center gap-2 rounded-[10px] border-[0.5px] px-2.5 py-1.5 transition-colors`,n),children:[(0,U.jsx)(qb,{className:`text-violet size-3.5 shrink-0`}),(0,U.jsx)(`input`,{type:`text`,value:i,onChange:e=>a(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),o())},placeholder:t??r(`scriptAskPlaceholder`),className:`text-foreground placeholder:text-fg-hint min-w-0 flex-1 bg-transparent text-[12px] leading-[18px] outline-none`}),(0,U.jsx)(dy,{content:r(`askAi`),children:(0,U.jsx)(`button`,{type:`button`,"aria-label":r(`askAi`),onClick:o,className:`bg-violet hover:bg-violet-dark grid size-6 shrink-0 place-items-center rounded-md text-white transition-colors`,children:(0,U.jsx)(wy,{className:`size-3.5`})})})]})}function g1({rows:e,runningStepUid:t,onToggleVlm:n,onClearCache:r,onViewVariableState:i}){return e.length?(0,U.jsx)(`div`,{className:`flex flex-col gap-1.5 p-[6px_4px_2px]`,children:e.map((e,a)=>(0,U.jsx)(FUe,{row:e,running:!!e.uid&&e.uid===t,onToggleVlm:n,onClearCache:r,onViewVariableState:i},e.uid??a))}):null}function FUe({row:e,running:t,onToggleVlm:n,onClearCache:r,onViewVariableState:i}){let a=e.llm===`vlm`,o=e.vlmToggleable&&!!e.uid&&!!n,s=e.cached&&!!e.uid&&!!r;return(0,U.jsxs)(`span`,{"data-step-uid":e.uid||void 0,className:`flex flex-wrap items-center gap-2`,children:[(0,U.jsx)(`span`,{className:W(`size-3.5 shrink-0 rounded-full border-[1.4px]`,t?`border-status-running bg-status-running animate-status-pulse`:`border-border-strong`),"aria-hidden":`true`}),(0,U.jsx)(`span`,{className:`bg-surface-alt text-fg-strong border-border inline-flex items-center gap-1 rounded-full border-[0.5px] py-[3px] pr-2.5 pl-[7px] text-[11.5px] font-medium capitalize`,children:e.label}),e.prep&&(0,U.jsx)(`span`,{className:`text-muted-foreground font-mono text-[11.5px]`,children:e.prep}),e.target&&(0,U.jsx)(`span`,{className:`bg-surface text-fg-strong border-border inline-flex items-center gap-1.5 rounded-full border-[0.5px] px-2.5 py-[3px] text-[11.5px]`,children:e.target}),e.extra&&(0,U.jsx)(`span`,{className:`text-muted-foreground inline-flex items-center gap-1.5 rounded-full border-[0.5px] border-dashed px-2.5 py-[3px] text-[11.5px]`,children:e.extra}),(0,U.jsxs)(`span`,{className:`inline-flex shrink-0 items-center gap-1`,children:[(0,U.jsx)(_1,{active:a,title:o?a?`Vision model - click to use text model`:`Text model - click to use vision model`:a?`Vision LM`:`LLM`,onClick:o?()=>n(e.uid):void 0,children:a?(0,U.jsx)(nb,{className:`size-[11px]`}):(0,U.jsx)(Aoe,{className:`size-[11px]`})}),e.cached&&(0,U.jsx)(dy,{content:s?`Cached for replay - click â to clear`:`Cached for replay`,children:(0,U.jsxs)(`button`,{type:`button`,"aria-label":s?`Cached for replay - click â to clear`:`Cached for replay`,onClick:s?()=>
304r(e.uid):void 0,className:W(`bg-violet inline-flex h-[22px] items-center gap-[5px] rounded-md px-1.5 text-white`,s?`cursor-pointer`:`cursor-default`),children:[(0,U.jsx)(Zy,{className:`size-[11px]`}),s&&(0,U.jsx)(ox,{className:`size-[9px] opacity-85 transition-transform hover:scale-110`})]})}),e.hasVar&&(0,U.jsx)(_1,{active:!0,title:i?`Uses variables - view state`:`Uses variables`,onClick:i,children:(0,U.jsx)(Dy,{className:`size-[11px]`})})]})]})}function _1({children:e,active:t,title:n,onClick:r}){let i=W(`grid size-[22px] place-items-center rounded-md`,t?`bg-violet text-white`:`text-fg-hint`);return r?(0,U.jsx)(dy,{content:n,children:(0,U.jsx)(`button`,{type:`button`,"aria-label":n,onClick:r,className:W(i,`transition-transform hover:opacity-90 active:scale-95`,!t&&`hover:bg-surface-hover hover:text-fg-strong`),children:e})}):(0,U.jsx)(dy,{content:n,children:(0,U.jsx)(`span`,{"aria-label":n,className:i,children:e})})}var IUe={GET:`text-status-passed`,POST:`text-violet`,PUT:`text-status-running`,PATCH:`text-status-running`,DELETE:`text-status-failed`};function v1({companyId:e,teamId:t,onPick:n,children:r,align:i=`end`,tooltip:a}){let o=X(`pages.web.editor`),[s,c]=(0,O.useState)(!1),[l,u]=(0,O.useState)(``),d=cW(e,t,l,s),f=d.data?.content??[],p=(0,U.jsx)(gT,{asChild:!0,children:r});return(0,U.jsxs)(hT,{open:s,onOpenChange:c,children:[a?(0,U.jsx)(dy,{content:a,children:p}):p,(0,U.jsx)(_T,{align:i,className:`w-[340px] p-0`,children:(0,U.jsxs)(zZ,{shouldFilter:!1,children:[(0,U.jsx)(BZ,{placeholder:o(`httpSearch`),value:l,onValueChange:u}),(0,U.jsxs)(VZ,{children:[(0,U.jsx)(HZ,{children:d.isPending?o(`searching`):o(`httpNoSaved`)}),(0,U.jsx)(UZ,{children:f.map(e=>(0,U.jsxs)(WZ,{value:e.id,onSelect:()=>{n(e),c(!1)},className:`flex flex-col items-start gap-0.5`,children:[(0,U.jsxs)(`span`,{className:`flex w-full items-center gap-2`,children:[(0,U.jsx)(`span`,{className:W(`font-mono text-[10.5px] font-semibold`,IUe[e.request.method]),children:e.request.method}),(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12.5px] font-medium`,children:e.name})]}),(0,U.jsx)(`span`,{className:`text-fg-hint w-full truncate font-mono text-[11px]`,children:e.request.url})]},e.id))})]})]})})]})}function LUe({className:e,orientation:t=`horizontal`,...n}){return(0,U.jsx)(die,{"data-slot":`tabs`,"data-orientation":t,className:W(`group/tabs flex gap-2 data-horizontal:flex-col`,e),...n})}var RUe=bT(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function zUe({className:e,variant:t=`default`,...n}){return(0,U.jsx)(fie,{"data-slot":`tabs-list`,"data-variant":t,className:W(RUe({variant:t}),e),...n})}function y1({className:e,...t}){return(0,U.jsx)(pie,{"data-slot":`tabs-trigger`,className:W(`text-foreground/60 hover:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,e),...t})}function b1({className:e,...t}){return(0,U.jsx)(mie,{"data-slot":`tabs-content`,className:W(`flex-1 text-sm outline-none`,e),...t})}function x1(e){let t=e.indexOf(`?`);if(t<0)return{base:e,params:[]};
304let n=e.slice(t+1).split(`&`).filter(Boolean).map(e=>{let t=e.indexOf(`=`);return t<0?{key:e,value:``}:{key:e.slice(0,t),value:e.slice(t+1)}});return{base:e.slice(0,t),params:n}}var BUe=`application/x-www-form-urlencoded`;function VUe(e){return e?Object.entries(e).some(([e,t])=>e.toLowerCase()===`content-type`&&t.toLowerCase().includes(BUe)):!1}function S1(e){try{return decodeURIComponent(e.replace(/\+/g,` `))}catch{return e}}function HUe(e){return e.split(`&`).filter(Boolean).map(e=>{let t=e.indexOf(`=`);return t<0?{key:S1(e),value:``}:{key:S1(e.slice(0,t)),value:S1(e.slice(t+1))}})}function UUe(e,t){let n=t.filter(e=>e.enabled!==!1&&e.key.trim()).map(e=>`${e.key}=${e.value}`).join(`&`);return n?e.includes(`?`)?`${e}&${n}`:`${e}?${n}`:e}function C1(e){return e>=200&&e<300?`passed`:e>=300&&e<400?`pending`:e>=400&&e<500?`failed`:e>=500?`error`:`stopped`}function w1(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}function WUe(e,t){try{return btoa(`${e}:${t}`)}catch{return`${e}:${t}`}}function GUe(e){let t=UUe(e.baseUrl,e.params),n={};for(let t of e.headers)t.enabled!==!1&&t.key.trim()&&(n[t.key]=t.value);let r=e.auth;r.type===`bearer`&&r.token?n.Authorization=`Bearer ${r.token}`:r.type===`basic`&&(r.username||r.password)?n.Authorization=`Basic ${WUe(r.username,r.password)}`:r.type===`apikey`&&r.key&&(r.addTo===`header`?n[r.key]=r.value:t=t.includes(`?`)?`${t}&${r.key}=${r.value}`:`${t}?${r.key}=${r.value}`);let i;if(e.bodyMode===`json`&&e.bodyContent.trim())i={type:`json`,content:e.bodyContent};else if(e.bodyMode===`text`&&e.bodyContent.trim())i={type:`text`,content:e.bodyContent};else if(e.bodyMode===`form-data`){let t=e.formFields.filter(e=>e.enabled!==!1&&e.key.trim()).map(e=>`${encodeURIComponent(e.key)}=${encodeURIComponent(e.value)}`).join(`&`);t&&(i={type:`text`,content:t},n[`Content-Type`]||=`application/x-www-form-urlencoded`)}return{method:e.method,url:t,headers:n,body:i,options:{location:e.followRedirects,insecure:!e.verifySsl}}}var KUe={GET:`text-status-passed`,POST:`text-violet`,PUT:`text-status-running`,PATCH:`text-status-running`,DELETE:`text-status-failed`};function qUe({open:e,onOpenChange:t,name:n,request:r,response:i}){let a=X(`pages.web.editor`),o=CAe(i,e);return(0,U.jsx)(xT,{open:e,onOpenChange:t,children:(0,U.jsxs)(ST,{className:`sm:max-w-[960px]`,children:[(0,U.jsx)(CT,{children:(0,U.jsxs)(TT,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:W(`font-mono text-[12px] font-semibold`,KUe[r.method]),children:r.method}),(0,U.jsx)(`span`,{className:`truncate`,children:n})]})}),(0,U.jsxs)(`div`,{className:`grid gap-4 md:grid-cols-2`,children:[(0,U.jsxs)(`section`,{className:`border-border bg-surface flex min-w-0 flex-col gap-2 rounded-xl border-[0.5px] p-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[12px] font-medium`,children:a(`httpDialogRequest`)}),(0,U.jsx)(`span`,{className:`text-fg-hint min-w-0 flex-1 truncate font-mono text-[11px]`,title:r.url,children:r.url})]}),(0,U.jsx)(T1,{bodyLabel:a(`httpDialogBody`),headersLabel:a(`httpDialogHeaders`),emptyBody:a(`httpDialogNoBody`),emptyHeaders:a(`httpDialogNoHeaders`),body:r.body?.content??``,headers:JUe(r.headers)})]}),(0,U.jsxs)(`section`,{className:`border-border bg-surface flex min-w-0 flex-col gap-2 rounded-xl border-[0.5px] p-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[12px] font-medium`,children:a(`httpDialogResponse`)}),o.data&&(0,U.jsx)(AU,{tone:C1(o.data.statusCode),children:o.data.statusCode})]}),i?o.isPending?(0,U.jsxs)(`p`,{className:`text-muted-foreground flex items-center justify-center gap-2 py-6 text-center text-[12px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),a(`httpDialogLoadingResponse`)]}):o.isError||!o.data?(0,U.jsx)(`p`,{className:`text-status-failed py-6 text-center text-[12px]`,children:a(`httpDialogResponseFailed`)}):(0,U.jsx)(T1,{bodyLabel:a(`httpDialogBody`),headersLabel:a(`httpDialogHeaders`),emptyBody:a(`httpDialogNoBody`),emptyHeaders:a(`httpDialogNoHeaders`),body:o.data.body,headers:o.data.headers}):(0,U.jsx)(`p`,{className:`text-muted-foreground py-6 text-center text-[12px]`,children:a(`httpDialogNoResponse`)})]})]})]})})}function T1({bodyLabel:e,headersLabel:t,emptyBody:n,emptyHeaders:r,body:i,headers:a}){let[o,s]=(0,O.useState)(`body`),c=Object.entries(a);return(0,U.jsxs)(LUe,{value:o,onValueChange:s,className:`min-w-0`,children:[(0,U.jsxs)(zUe,{children:[(0,U.jsx)(y1,{value:`body`,children:e}),(0,U.jsxs)(y1,{value:`headers`,children:[t,c.length>0&&(0,U.jsx)(`span`,{className:`bg-background text-muted-foreground ml-1.5 rounded-full px-1.5 font-mono text-[10px]`,children:c.length})]})]}),(0,U.jsx)(b1,{value:`body`,children:i.trim()?(0,U.jsx)(`pre`,{className:`text-fg-body max-h-[320px] overflow-auto rounded-lg bg-black/5 p-2.5 font-mono text-[12px] leading-relaxed whitespace-pre-wrap dark:bg-white/5`,children:w1(i)}):(0,U.jsx)(`p`,{className:`text-muted-foreground py-6 text-center text-[12px]`,children:n})}),(0,U.jsx)(b1,{value:`headers`,children:c.length>0?(0,U.jsx)(`div`,{className:`flex max-h-[320px] flex-col gap-1.5 overflow-auto`,children:c.map(([e,t])=>(0,U.jsxs)(`div`,{className:`grid grid-cols-[minmax(0,140px)_1fr] gap-3 text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate font-mono font-medium`,children:e}),(0,U.jsx)(`span`,{className:`text-fg-body min-w-0 font-mono break-all`,children:t.join(`, `)})]},e))}):(0,U.jsx)(`p`,{className:`text-muted-foreground py-6 text-center text-[12px]`,children:r})})]})}function JUe(e){let t={};for(let[n,r]of Object.entries(e??{}))t[n]=[r];return t}var YUe={GET:`text-status-passed`,POST:`text-violet`,PUT:`text-status-running`,PATCH:`text-status-running`,DELETE:`text-status-failed`};function XUe({requestId:e,referenceName:t,companyId:n,teamId:r,onPick:i,response:a}){let o=X(`pages.web.editor`),s=lW(e??null);return e?s.isPending?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground flex items-center justify-center gap-2 rounded-[10px] border-[0.5px] p-6 text-[12px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),o(`searching`)]}):s.data?(0,U.jsx)(ZUe,{request:s.data,referenceName:t??``,companyId:n,teamId:r,onPick:i,response:a}):(0,U.jsx)(E1,{companyId:n,teamId:r,onPick:i}):(0,U.jsx)(E1,{companyId:n,teamId:r,onPick:i})}function E1({companyId:e,teamId:t,onPick:n}){let r=X(`pages.web.editor`);return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col items-center gap-3 rounded-[10px] border-[0.5px] border-dashed p-6 text-center`,children:[(0,U.jsx)(`span`,{className:`bg-surface-alt text-fg-hint grid size-9 place-items-center rounded-full`,children:(0,U.jsx)(hb,{className:`size-[18px]`})}),(0,U.jsx)(`div`,{className:`text-fg-strong text-[13px] font-medium`,children:r(`httpNoRequest`)}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsxs)(Qw,{href:`/http-request`,className:`border-border text-fg-strong hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-3 py-2 text-[12px] font-medium`,children:[(0,U.jsx)(Pb,{className:`size-3.5`}),r(`httpCreate`)]}),(0,U.jsx)(v1,{companyId:e,teamId:t,onPick:e=>n(e.id,e.name),children:(0,U.jsxs)(`button`,{type:`button`,className:`bg-brand inline-flex items-center gap-1.5 rounded-lg px-3 py-2 text-[12px] font-medium text-white hover:opacity-90`,children:[(0,U.jsx)(hb,{className:`size-3.5`}),r(`httpSelect`),(0,U.jsx)(Fy,{className:`size-3`})]})})]})]})}function ZUe({request:e,referenceName:t,companyId:n,teamId:r,onPick:i,response:a}){let o=X(`pages.web.editor`),s=t.trim()||e.name,[c,l]=(0,O.useState)(!1),[u,d]=(0,O.useState)(s),[f,p]=(0,O.useState)(!1);function m(){d(t.trim()||e.name),l(!0)}function h(){l(!1);let t=u.trim()||e.name;t!==s&&i(e.id,t)}return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-3 rounded-[10px] border-[0.5px] p-3`,children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-2`,children:[(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2`,children:[c?(0,U.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,U.jsx)(IT,{value:u,onChange:e=>d(e.target.value),onKeyDown:e=>{e.key===`Enter`?h():e.key===`Escape`&&l(!1)}
304,placeholder:e.name,autoFocus:!0,className:`h-7 w-[180px] text-[13px] font-medium`}),(0,U.jsx)(D1,{title:o(`httpRefSave`),onClick:h,tone:`success`,children:(0,U.jsx)(Py,{className:`size-3.5`})}),(0,U.jsx)(D1,{title:o(`cancel`),onClick:()=>l(!1),tone:`danger`,children:(0,U.jsx)(ox,{className:`size-3.5`})})]}):(0,U.jsxs)(`span`,{className:`flex min-w-0 items-center gap-1`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13.5px] font-semibold`,title:s,children:s}),(0,U.jsx)(D1,{title:o(`httpRefEdit`),onClick:m,children:(0,U.jsx)(jb,{className:`size-3`})})]}),(0,U.jsx)(`span`,{className:W(`shrink-0 font-mono text-[10.5px] font-semibold`,YUe[e.request.method]),children:e.request.method}),(0,U.jsx)(`span`,{className:`bg-surface-alt text-muted-foreground min-w-0 flex-1 truncate rounded-md px-2 py-0.5 font-mono text-[11.5px]`,title:e.request.url,children:e.request.url})]}),(0,U.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[(0,U.jsx)(v1,{companyId:n,teamId:r,onPick:e=>i(e.id,e.name),tooltip:o(`httpChange`),children:(0,U.jsx)(`button`,{type:`button`,"aria-label":o(`httpChange`),className:`border-border text-muted-foreground hover:bg-surface-hover hover:text-fg-strong grid size-7 place-items-center rounded-[7px] border-[0.5px]`,children:(0,U.jsx)(Ioe,{className:`size-3.5`})})}),(0,U.jsx)(D1,{title:o(`httpShowReqResp`),onClick:()=>p(!0),children:(0,U.jsx)(doe,{className:`size-3.5`})}),(0,U.jsx)(dy,{content:o(`httpTry`),children:(0,U.jsx)(Qw,{href:`/http-request/${e.id}`,target:`_blank`,className:`border-border text-muted-foreground hover:bg-surface-hover hover:text-fg-strong grid size-7 place-items-center rounded-[7px] border-[0.5px]`,"aria-label":o(`httpTry`),children:(0,U.jsx)(eb,{className:`size-3.5`})})})]})]}),e.description&&(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:e.description}),(0,U.jsx)(qUe,{open:f,onOpenChange:p,name:s,request:e.request,response:a})]})}function D1({children:e,title:t,onClick:n,tone:r}){return(0,U.jsx)(dy,{content:t,children:(0,U.jsx)(Z,{type:`button`,variant:`outline`,size:`icon-sm`,onClick:n,"aria-label":t,className:W(r===`success`&&`text-status-passed-fg`,r===`danger`&&`text-status-failed`),children:e})})}function QUe({fileKey:e,onRemove:t}){let n=X(`pages.web.editor`),{data:r}=jQ(`/storage/reference-images/${encodeURIComponent(e)}`),[i,a]=(0,O.useState)(!1);return(0,O.useEffect)(()=>{if(!i)return;let e=e=>e.key===`Escape`&&a(!1);return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[i]),(0,U.jsxs)(`div`,{className:`group relative w-28 shrink-0 self-stretch`,children:[(0,U.jsx)(dy,{content:n(`referenceImage`),children:(0,U.jsx)(`button`,{type:`button`,onClick:()=>r&&a(!0),"aria-label":n(`referenceImage`),className:`border-border bg-surface-alt hover:border-violet absolute inset-0 overflow-hidden rounded-[10px] border-[0.5px] transition-colors`,children:r?(0,U.jsx)(`img`,{src:r,alt:n(`referenceImage`),className:`h-full w-full object-cover object-top`}):(0,U.jsx)(RH,{className:`h-full w-full rounded-none`})})}),t&&(0,U.jsx)(dy,{content:n(`removeReference`),children:(0,U.jsx)(`button`,{type:`button`,onClick:t,"aria-label":n(`removeReference`),className:`bg-status-failed absolute -top-1.5 -right-1.5 z-10 grid size-5 place-items-center rounded-full text-white opacity-0 shadow-sm transition-opacity group-hover:opacity-100 hover:opacity-100`,children:(0,U.jsx)(ox,{className:`size-3`})})}),i&&r&&(0,U.jsxs)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center bg-[rgba(15,23,42,0.78)] p-8 backdrop-blur-sm`,onClick:()=>a(!1),children:[(0,U.jsx)(`button`,{type:`button`,"aria-label":n(`close`),onClick:()=>a(!1),className:`absolute top-4 right-5 grid size-8 place-items-center rounded-lg text-white hover:bg-white/10`,children:(0,U.jsx)(ox,{className:`size-4`})}),(0,U.jsx)(`img`,{src:r,alt:n(`referenceImage`),className:`max-h-full max-w-full rounded-lg shadow-2xl ring-1 ring-white/10`,onClick:e=>e.stopPropagation()})]})]})}var O1=750;function $Ue({index:e,total:t,type:n,text:r,compiled:i,readOnly:a,onChange:o,onMoveUp:s,onMoveDown:c,onDelete:l,onSave:u,onOpenStudio:d,saving:f,dirty:p,blocked:m,error:h,referenceKey:g,onUploadReference:_,onRemoveReference:v,onRun:y,onRunFromHere:b,running:x,onPickHttp:S,httpRequestId:C,httpReferenceName:w,httpResponse:T,onToggleVlm:E,onClearCache:D,runningStepUid:k,secretNames:A,onParamClick:j,onViewVariableState:M,sequenceType:N,onChangeSequenceType:P,companyId:F,teamId:I,currentTestId:L,footer:R,screens:z}){let B=X(`pages.web.editor`),ee=X$[n],V=(0,O.useRef)(null),te=(0,O.useRef)(null),ne=n===`prompt`||n===`visual`||n===`auto`||n===`authored`,re=!!(F&&I),[ie,ae]=(0,O.useState)(null);function oe(e){let t=`[${e.name}](${e.id})`;ie?.mode===`edit`?te.current?.replaceFirst(`[${ie.label}](${ie.id})`,t):te.current?.insertAtCaret(t),ae(null)}let H=!!g,[se,ce]=(0,O.useState)(!1),[le,ue]=(0,O.useState)(!0),[de,fe]=(0,O.useState)(r),[pe,me]=(0,O.useState)(r),[he,ge]=(0,O.useState)(r);r===he?!p&&de!==r&&(fe(r),me(r)):(ge(r),(pe===de||pe===r)&&(fe(r),me(r)));let _e=e===0,ve=e===t-1,ye=n!==`http`&&!!u,be=n===`prompt`||n===`script`||n===`authored`,xe=ne&&pe.length>O1,Se=B(`charLimitExceeded`,{limit:O1});function Ce(e){me(e),o?.(e)}return(0,U.jsxs)(`div`,{className:`mt-1.5 flex flex-col gap-2`,children:[(0,U.jsxs)(`div`,{className:`border-border bg-surface grid grid-cols-[auto_1fr_auto] items-center rounded-[10px] border-[0.5px] p-[6px_8px]`,children:[(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-2 justify-self-start`,children:[n!==`script`&&i.length>0&&(0,U.jsx)(k1,{on:!se,title:B(se?`showCompiledActions`:`hideCompiledActions`),onClick:()=>ce(e=>!e),children:se?(0,U.jsx)(tb,{className:`size-3.5`}):(0,U.jsx)(nb,{className:`size-3.5`})}),(0,U.jsx)(k1,{on:le,title:B(le?`hideRunScreenshots`:`showRunScreenshots`),onClick:()=>ue(e=>!e),children:(0,U.jsx)(woe,{className:`size-3.5`})}),(0,U.jsx)(`span`,{className:`bg-divider mx-1 inline-block h-4 w-px`,"aria-hidden":`true`}),(0,U.jsx)(`span`,{className:W(`inline-flex items-center rounded-full px-2 py-1 text-[10.5px] font-medium`,ee.chip),children:B(`stepType.${n}.short`)}),P&&(0,U.jsx)(eWe,{value:N??`classic`,onChange:P}),f?(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet-dark inline-flex items-center rounded-full px-2 py-1 text-[10.5px] font-medium`,children:B(be?`compilingBadge`:`savingBadge`)}):p&&(0,U.jsx)(`span`,{className:`bg-warning-soft text-warning-foreground inline-flex items-center rounded-full px-2 py-1 text-[10.5px] font-medium`,children:B(`unsavedBadge`)})]}),(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-0.5 justify-self-center`,children:[(0,U.jsx)(k1,{small:!0,disabled:_e,title:B(`moveUp`),onClick:s,children:(0,U.jsx)(wy,{className:`size-[11px]`})}),(0,U.jsx)(k1,{small:!0,disabled:ve,title:B(`moveDown`),onClick:c,children:(0,U.jsx)(xy,{className:`size-[11px]`})})]}),(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-1 justify-self-end`,children:[(0,U.jsx)(k1,{title:B(`deleteSequence`),onClick:l,children:(0,U.jsx)($b,{className:`size-3.5`})}),n===`visual`&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(A1,{title:B(H?`replaceReferenceVisual`:`uploadReferenceVisual`),onClick:()=>V.current?.click(),children:(0,U.jsx)(Coe,{className:`size-3.5`})}),(0,U.jsx)(`input`,{ref:V,type:`file`,accept:`image/*`,className:`hidden`,onChange:e=>{let t=e.target.files?.[0];t&&_?.(t),e.target.value=``}})]}),(n===`script`||n===`authored`)&&d&&(0,U.jsx)(k1,{title:B(n===`authored`?`openPromptStudio`:`openScriptStudio`),onClick:()=>d(),children:(0,U.jsx)(xb,{className:`size-3.5`})}),ye&&(0,U.jsx)(A1,{disabled:f||xe,title:xe?Se:B(n===`prompt`||n===`authored`?`saveAndCompile`:`saveSequence`),onClick:u,children:f?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):(0,U.jsx)(Rb,{className:`size-3.5`})}),y&&(0,U.jsx)(A1,{disabled:xe||x,title:xe?Se:B(x?`runInProgress`:`runThisSequence`),onClick:y,children:(0,U.jsx)(Mb,{className:`size-[11px] f
304ill-current`})}),b&&!ve&&(0,U.jsx)(A1,{disabled:xe||x,title:xe?Se:B(x?`runInProgress`:`runFromHere`),onClick:b,children:(0,U.jsx)(hoe,{className:`size-[11px] fill-current`})})]})]}),n===`http`?F&&I&&(0,U.jsx)(XUe,{requestId:C,referenceName:w,companyId:F,teamId:I,onPick:(e,t)=>S?.(e,t),response:T}):(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsxs)(`div`,{className:`flex items-stretch gap-2`,children:[(0,U.jsxs)(`div`,{"data-blocked":m?`true`:void 0,className:W(`border-border bg-surface relative min-h-[56px] min-w-0 flex-1 rounded-[10px] border-[0.5px] p-[12px_14px]`,m&&`border-destructive animate-run-blocked shadow-[0_0_0_3px_color-mix(in_srgb,var(--destructive)_16%,transparent)]`),children:[n===`script`?(0,U.jsx)(m1,{value:de,onChange:Ce,readOnly:a,ariaLabel:B(`stepScriptAria`,{index:e+1})}):(0,U.jsx)(f1,{value:de,onChange:Ce,readOnly:a,secretNames:A,onParamClick:j,onTestCallClick:re?(e,t)=>ae({mode:`edit`,label:e,id:t}):void 0,registerApi:e=>{te.current=e},authoring:{labels:{parameter:B(`insertParameter`),hint:B(`insertHint`),setting:B(`insertSetting`),comment:B(`insertComment`),testCall:re?B(`insertTestCall`):void 0},onTestCall:re?()=>ae({mode:`insert`}):void 0},ariaLabel:B(n===`authored`?`stepAuthoredAria`:`stepPromptAria`,{index:e+1}),placeholder:B(`placeholder.${n}`),charLimit:O1}),ne&&(0,U.jsxs)(`span`,{"aria-live":`polite`,className:W(`pointer-events-none absolute right-2 bottom-1 font-mono text-[10.5px] tabular-nums select-none`,xe?`text-destructive`:pe.length>=O1-100?`text-warning`:`text-fg-hint`),children:[xe?`! `:``,pe.length,`/`,O1]})]}),n===`visual`&&g&&(0,U.jsx)(QUe,{fileKey:g,onRemove:v})]}),h&&(0,U.jsxs)(`p`,{role:`alert`,className:`text-destructive flex items-start gap-1.5 text-[11.5px] leading-snug`,children:[(0,U.jsx)(By,{className:`mt-px size-3.5 shrink-0`}),(0,U.jsx)(`span`,{children:h})]}),n===`script`&&d&&(0,U.jsx)(h1,{onOpen:d}),n===`authored`&&d&&(0,U.jsx)(h1,{onOpen:d,placeholder:B(`authoredAskPlaceholder`)})]}),n!==`script`&&!se&&(0,U.jsx)(g1,{rows:i,runningStepUid:k,onToggleVlm:E,onClearCache:D,onViewVariableState:M}),R,le&&z,ie&&F&&I&&(0,U.jsx)(EUe,{companyId:F,teamId:I,currentTestId:L,initialTerm:ie.mode===`edit`?ie.label:``,initialTestId:ie.mode===`edit`?ie.id:void 0,onPick:oe,onClose:()=>ae(null)})]})}function eWe({value:e,onChange:t}){let n=X(`pages.web.editor`),r=vUe(e);return(0,U.jsxs)(iT,{children:[(0,U.jsx)(dy,{content:n(`lifecycleTitle`),children:(0,U.jsxs)(aT,{"aria-label":n(`lifecycleTitle`),className:W(`inline-flex items-center gap-1 rounded-full px-2 py-1 text-[10.5px] font-medium transition-colors`,r?`bg-status-pending-bg text-status-pending-fg`:`text-fg-hint hover:bg-surface-hover hover:text-fg-strong`),children:[r?(0,U.jsx)(`span`,{children:n(`lifecycle.${e}`)}):(0,U.jsx)(Foe,{className:`size-3`}),(0,U.jsx)(Fy,{className:`size-2.5 opacity-70`})]})}),(0,U.jsx)(oT,{align:`start`,className:`min-w-[180px]`,children:(0,U.jsx)(cT,{value:e,onValueChange:e=>t(e),children:_Ue.map(e=>(0,U.jsx)(lT,{value:e,className:`text-[12.5px]`,children:n(`lifecycle.${e}`)},e))})})]})}function k1({children:e,on:t,small:n,disabled:r,title:i,onClick:a}){return(0,U.jsx)(dy,{content:i,children:(0,U.jsx)(`button`,{type:`button`,"aria-label":i,disabled:r,onClick:a,className:W(`grid place-items-center rounded-[7px] border-[0.5px] border-transparent transition-colors`,n?`size-[22px] rounded-md`:`bg-surface-alt size-7`,t?`bg-violet/12 text-violet`:`text-muted-foreground hover:bg-surface-hover hover:text-fg-strong`,r&&`pointer-events-none opacity-30`),children:e})})}function A1({children:e,disabled:t,title:n,onClick:r}){return(0,U.jsx)(dy,{content:n,children:(0,U.jsx)(`button`,{type:`button`,"aria-label":n,disabled:t,onClick:r,className:W(`bg-violet hover:bg-violet-dark grid size-7 place-items-center rounded-full text-white transition-transform active:scale-95`,t&&`pointer-events-none opacity-45`),children:e})})}var tWe=new class{async getAutopilotStreamMessages(e,t,n){try{let{data:r}=await J.get(`/v1/execution/autopilot-stream`,{params:{testId:e,sourceId:t,executionId:n}});return r??[]}catch(e){if((typeof e==`object`&&e&&`response`in e?e.response?.status:void 0)===404)return[];throw e}}};
304function nWe(e,t,n){return nc({queryKey:Y.editor.autopilotStream(e,t,n??``),queryFn:()=>tWe.getAutopilotStreamMessages(e,t,n??void 0),enabled:!!e&&!!t&&!!n})}function j1({state:e,running:t,onClose:n}){let r=X(`pages.web.editor`),i=JSON.stringify(e,null,2);return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&n(),children:(0,U.jsxs)(ST,{className:`flex h-[88vh] w-[94vw] max-w-[1320px] flex-col gap-0 overflow-hidden p-0 sm:max-w-[1320px]`,children:[(0,U.jsxs)(TT,{className:`border-divider text-fg-strong flex items-center gap-2 border-b px-4 py-3 text-[13px] font-semibold`,children:[(0,U.jsx)(`span`,{className:`text-violet`,children:(0,U.jsx)(Dy,{className:`size-3.5`})}),r(`railVariables`)]}),(0,U.jsx)(`p`,{className:`text-muted-foreground border-divider border-b px-4 py-2 text-[11.5px]`,children:r(t?`variablesCurrentState`:`variablesEndState`)}),(0,U.jsx)(`div`,{className:`min-h-0 flex-1 p-2`,children:(0,U.jsx)(a1,{value:i,language:`json`,readOnly:!0,options:{stickyScroll:{enabled:!1}}})})]})})}function M1(e){let t=(e??``).toUpperCase();return t===`PASSED`||t===`SUCCESS`?`passed`:t===`FAILED`||t===`ERROR`?`failed`:t===`RUNNING`||t===`IN_PROGRESS`?`running`:t===`STOPPED`?`stopped`:`pending`}var N1={passed:{pill:`bg-status-passed-bg`,dot:`bg-status-passed`,text:`text-status-passed-fg`},failed:{pill:`bg-status-failed-bg`,dot:`bg-status-failed`,text:`text-status-failed-fg`},running:{pill:`bg-status-running-bg`,dot:`bg-status-running`,text:`text-status-running-fg`},stopped:{pill:`bg-status-stopped-bg`,dot:`bg-status-stopped`,text:`text-status-stopped-fg`},pending:{pill:`bg-status-pending-bg`,dot:`bg-status-pending`,text:`text-status-pending-fg`}},P1={click:Eb,press:Eb,tap:Eb,hover:Eb,type:pb,fill:pb,entry:pb,input:pb,navigate:ub,goto:ub,open:ub,wait:Jy,verify:zb,assert:zb,abstractverification:zb,scroll:Db,swipe:Db};function rWe(e,t){return e&&P1[e.toLowerCase()]?P1[e.toLowerCase()]:t===`passed`?Py:t===`failed`?ox:soe}function F1({action:e,tone:t,className:n}){return(0,O.createElement)(rWe(e,t),{className:n})}function iWe({messages:e,onOpen:t,running:n}){let r=(0,O.useRef)(null),i=e,[a,o]=(0,O.useState)({start:!0,end:!0}),[s,c]=(0,O.useState)(null),l=(0,O.useCallback)(()=>{let e=r.current;e&&o({start:e.scrollLeft<=1,end:Math.ceil(e.scrollLeft+e.clientWidth)>=e.scrollWidth})},[]);if((0,O.useEffect)(()=>{let e=r.current;e&&e.scrollTo({left:e.scrollWidth,behavior:`smooth`}),l()},[i.length,l]),!i.length)return null;let u=e=>r.current?.scrollBy({left:e*200,behavior:`smooth`}),d=i.length>1,f=new Map;return i.forEach((e,t)=>{e.screenshot&&f.set(t,f.size)}),(0,U.jsxs)(`div`,{className:`border-border from-surface-alt/50 mt-2 border-t bg-gradient-to-b to-transparent p-[12px_2px_4px]`,children:[(0,U.jsxs)(`div`,{className:`relative flex items-stretch gap-2`,children:[d&&(0,U.jsx)(I1,{side:`left`,disabled:a.start,onClick:()=>u(-1)}),(0,U.jsx)(`div`,{ref:r,onScroll:l,className:`flex flex-1 gap-2.5 overflow-x-auto pb-1`,children:i.map((e,r)=>{let i=f.get(r);return(0,U.jsx)(aWe,{message:e,first:r===0,running:n,onClick:i===void 0?void 0:()=>t(i),onShowVars:OQ(e)?()=>c(e):void 0},r)})}),d&&(0,U.jsx)(I1,{side:`right`,disabled:a.end,onClick:()=>u(1)})]}),s&&(0,U.jsx)(L1,{message:s,onClose:()=>c(null)})]})}function I1({side:e,disabled:t,onClick:n}){return(0,U.jsx)(`button`,{type:`button`,"aria-label":e===`left`?`Previous`:`Next`,disabled:t,onClick:n,className:`border-border bg-surface text-muted-foreground hover:border-violet hover:bg-violet disabled:hover:bg-surface disabled:hover:text-muted-foreground grid h-[60px] w-7 shrink-0 place-items-center self-center rounded-lg border-[0.5px] transition-colors hover:text-white disabled:pointer-events-none disabled:opacity-35`,children:e===`left`?(0,U.jsx)(Iy,{className:`size-3.5`}):(0,U.jsx)(Ly,{className:`size-3.5`})})}function aWe({message:e,first:t,running:n,onClick:r,onShowVars:i}){let a=X(`pages.web.editor`),{data:o}=jQ(e.screenshot),s=IQ(e.step),c=LQ(e.step),l=M1(e.status),u=N1[l],d=!e.screenshot;return(0,U.jsx)(dy,{content:d?`${c} - ${a(`noScreenshot`)}`:s.url??c,children:(0,U.jsxs)(`div`,{className:W(`group relative flex w-[180px] shrink-0 flex-col gap-1.5`,r&&`cursor-pointer`),onClick:r,children:[(0,U.jsx)(`div`,{className:`border-border bg-surface-alt h-[130px] overflow-hidden rounded-md border-[0.5px] shadow-[0_1px_2px_rgba(15,23,42,0.06)]`,children:d?(0,U.jsx)(`div`,{role:`img`,"aria-label":a(`noScreenshot`),className:`text-muted-foreground grid h-full w-full place-items-center`,children:(0,U.jsx)(Soe,{className:`size-6 opacity-40`})}):o?(0,U.jsx)(`img`,{src:o,alt:c,className:`h-full w-full object-cover object-top`}):(0,U.jsx)(RH,{className:`h-full w-full rounded-none`})}),i&&(0,U.jsx)(dy,{content:a(`variablesUpdated`),children:(0,U.jsx)(`button`,{type:`button`,"aria-label":a(`variablesUpdated`),className:`absolute top-1 right-1 z-[2] grid size-[30px] place-items-center rounded-full bg-[#6b7280] text-white shadow-sm transition-opacity hover:bg-[#555e6a]`,onClick:e=>{e.stopPropagation(),i()},children:(0,U.jsx)(Jb,{className:`size-[15px]`})})}),(0,U.jsxs)(`div`,{className:W(`inline-flex max-w-full items-center gap-1.5 self-stretch rounded-full py-1 pr-2 pl-1`,u.pill),children:[(0,U.jsx)(`span`,{className:W(`grid size-4 shrink-0 place-items-center rounded-full text-white`,u.dot,n&&l===`running`&&`animate-status-pulse`),children:(0,U.jsx)(F1,{action:s.action,tone:l,className:`size-2.5`})}),(0,U.jsx)(`span`,{className:W(`truncate text-[11px]`,u.text),children:c})]}),t&&s.url&&(0,U.jsx)(`span`,{className:`pointer-events-none absolute top-[100px] left-2 z-[2] rounded-[5px] bg-[rgba(15,23,42,0.92)] px-2 py-1 font-mono text-[10px] whitespace-nowrap text-white opacity-0 transition-opacity group-hover:opacity-100`,children:s.url})]})})}function L1({message:e,onClose:t}){let{data:n}=yVe(e);return n?(0,U.jsx)(j1,{state:n,onClose:t}):null}function oWe(e){let t=e.replace(/([a-z0-9])([A-Z])/g,`$1 $2`).replace(/[_-]+/g,` `).trim().toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)}function sWe(e){let t=[],n=0,r=-1;for(let i=0;i<e.length;i++)e[i]===`{`?(n===0&&(r=i),n++):e[i]===`}`&&n>0&&(n--,n===0&&r!==-1&&(t.push(e.slice(r,i+1)),r=-1));return t}function cWe(e){let t=sWe(e);for(let e=t.length-1;e>=0;e--)try{let n=JSON.parse(t[e]);if(n&&typeof n==`object`&&(`result`in n||`status`in n))return{result:typeof n.result==`string`?n.result:void 0,status:typeof n.status==`string`?n.status:void 0,block:t[e]}}catch{}return null}function lWe(e){let t=e.trim();if(t.startsWith(`{`)&&t.endsWith(`}`)||t.startsWith(`[`)&&t.endsWith(`]`))try{return{text:JSON.stringify(JSON.parse(t),null,2),json:!0}}catch{}return{text:e,json:!1}}function uWe({items:e,onViewPayload:t}){let n=X(`pages.web.editor`),r=(0,O.useRef)(null),i=(0,O.useRef)(null),a=e.filter(e=>e.toolName),o=e.filter(e=>!e.toolName&&e.content).map(e=>e.content).join(``);return(0,O.useEffect)(()=>{let e=r.current;e?.scrollTo?.({top:e.scrollHeight,behavior:`smooth`})},[a.length]),(0,O.useEffect)(()=>{let e=i.current;e?.scrollTo?.({top:e.scrollHeight,behavior:`smooth`})},[o]),e.length?(0,U.jsxs)(`div`,{className:`border-divider mt-2 overflow-hidden rounded-[10px] border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`border-divider text-violet-dark bg-surface-alt flex items-center gap-1.5 border-b px-3 py-2 text-[10px] font-semibold tracking-[0.08em] uppercase`,children:[(0,U.jsx)(qb,{className:`size-3`}),n(`autopilotReasoning`),(0,U.jsx)(`span`,{className:`text-fg-hint font-mono`,children:e.length})]}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2`,children:[(0,U.jsxs)(`div`,{ref:r,className:`border-divider bg-surface-alt/40 flex max-h-[320px] min-w-0 flex-col gap-2 overflow-y-auto border-r p-2.5`,children:[(0,U.jsx)(R1,{children:n(`autopilotToolCalls`)}),a.length?a.map((e,n)=>(0,U.jsx)(dWe,{item:e,onViewPayload:t},n)):(0,U.jsx)(z1,{children:n(`autopilotNoToolCalls`)})]}),(0,U.jsxs)(`div`,{ref:i,className:`flex max-h-[320px] min-w-0 flex-col gap-2 overflow-y-auto p-2.5`,children:[(0,U.jsx)(R1,{children:n(`autopilotOutput`)}),(0,U.jsx)(pWe,{raw:o,emptyLabel:n(`autopilotWaitingStream`)})]})]})]}):null}function R1({children:e}){return(0,U.jsx)(`div`,{className:`text-fg-hint text-[9.5px] font-semibold tracking-[0.06em] uppercase`,children:e})}function z1({children:e}){return(0,U.jsx)(`div`,{className:`text-fg-hint flex flex-1 items-center justify-center py-6 text-center text-[11.5px] italic`,children:e})}function dWe({item:e,onViewPayload:t}){let n=X(`pages.web.editor`);return(0,U.jsxs)(`div`,{className:`border-border bg-surface rounded-lg border-[0.5px] p-2.5`,children:[(0,U.jsxs)(`div`,{className:`border-divider mb-2 flex items-center gap-1.5 border-b pb-2`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet-dark grid size-5 shrink-0 place-items-center rounded-md`,children:(0,U.jsx)(Koe,{className:`size-3`})}),(0,U.jsx)(`span`,{className:`text-fg-strong flex-1 text-[12px] font-semibold`,children:oWe(e.toolName)}),t&&(0,U.jsx)(dy,{content:n(`viewPayload`),children:(0,U.jsx)(`button`,{type:`button`,onClick:()=>t(e),"aria-label":n(`viewPayload`),className:`text-fg-hint hover:bg-surface-hover hover:text-fg-strong grid size-5 shrink-0 place-items-center rounded`,children:(0,U.jsx)(Dy,{className:`size-3`})})})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[e.intent&&(0,U.jsx)(B1,{label:n(`lbIntention`),children:e.intent}),e.justification&&(0,U.jsx)(B1,{label:n(`lbJustification`),children:e.justification}),e.instruction&&(0,U.jsx)(B1,{label:n(`autopilotInstruction`),children:e.instruction})]})]})}function B1({label:e,children:t}){return(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:`text-fg-hint mb-0.5 text-[9.5px] font-semibold tracking-[0.05em] uppercase`,children:e}),(0,U.jsx)(`div`,{className:`text-fg-body text-[12px] leading-[1.5]`,children:t})]})}function fWe({content:e}){let{text:t,json:n}=lWe(e);return n?(0,U.jsx)(`pre`,{className:`bg-surface border-border text-fg-body overflow-x-auto rounded-lg border-[0.5px] p-2.5 font-mono text-[11px] leading-[1.5] whitespace-pre-wrap`,children:t}):(0,U.jsx)(`p`,{className:`text-muted-foreground text-[11.5px] leading-[1.55] whitespace-pre-wrap`,children:t})}function pWe({raw:e,emptyLabel:t}){if(!e)return(0,U.jsx)(z1,{children:t});let n=cWe(e),r=(n?e.replace(n.block,``):e).trim();return(0,U.jsxs)(U.Fragment,{children:[r&&(0,U.jsx)(fWe,{content:r}),n&&(0,U.jsx)(mWe,{result:n.result,status:n.status})]})}function mWe({result:e,status:t}){let n=M1(t??``),r=N1[n],i=n===`passed`;return(0,U.jsxs)(`div`,{className:W(`flex items-start gap-2 rounded-lg p-2.5`,r.pill),children:[(0,U.jsx)(`span`,{className:W(`mt-px grid size-5 shrink-0 place-items-center rounded-full text-white`,r.dot),children:i?(0,U.jsx)(Py,{className:`size-3`}):(0,U.jsx)(ox,{className:`size-3`})}),(0,U.jsx)(`span`,{className:W(`text-[12px] leading-[1.5] font-medium`,r.text),children:e??t})]})}function hWe({value:e,onClose:t}){let n=X(`pages.web.editor`),r=JSON.stringify(e,null,2);return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&t(),children:(0,U.jsxs)(ST,{className:`w-[640px] max-w-[90vw] gap-0 p-0`,children:[(0,U.jsx)(TT,{className:`border-divider text-fg-strong border-b px-4 py-3 text-[13px] font-semibold`,children:n(`autopilotPayload`)}),(0,U.jsx)(`div`,{className:`h-[420px] p-2`,children:(0,U.jsx)(a1,{value:r,language:`json`,readOnly:!0})})]})})}function gWe({testId:e,sourceId:t,executionId:n,liveItems:r}){let i=nWe(e,t,r?.length?null:n),a=r?.length?r:i.data??[],[o,s]=(0,O.useState)(null);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(uWe,{items:a,onViewPayload:s}),o&&(0,U.jsx)(hWe,{value:o,onClose:()=>s(null)})]})}function _We({steps:e,testId:t,executionId:n,readOnly:r,running:i,runningStepUid:a,savingIds:o,unsavedIds:s,blockedSourceId:c,saveErrors:l,messagesBySource:u,autopilotLiveBySource:d,onOpenShot:f,onChangeText:p,onMove:m,onDelete:h,onSave:g,onUploadReference:_,onRemoveReference:v,onRun:y,onRunFromHere:b,onPickHttp:x,onToggleVlm:S,onClearCache:C,onAddSource:w,onOpenStudio:T,secretNames:E,onParamClick:D,onViewVariableState:k,onChangeSequenceType:A,companyId:j,teamId:M}){let N=X(`pages.web.editor`);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{className:`flex items-center`,children:(0,U.jsxs)(`span`,{className:`text-fg-strong text-[13px] font-semibold`,children:[N(`steps`),` `,(0,U.jsx)(`span`,{className:`text-fg-hint ml-1 font-mono text-[11px]`,children:e.length})]})}),(0,U.jsxs)(`div`,{className:`relative flex flex-col gap-0`,children:[e.map((N,P)=>
304(0,U.jsxs)(O.Fragment,{children:[(0,U.jsx)(xUe,{index:P,isFirst:P===0,isLast:P===e.length-1,type:N.type,sourceId:N.sourceId,children:(0,U.jsx)($Ue,{index:P,total:e.length,type:N.type,text:N.text,compiled:N.compiled,readOnly:r,saving:o?.has(N.sourceId),dirty:s?.has(N.sourceId),blocked:c===N.sourceId,error:l?.get(N.sourceId),onChange:p?e=>p(N.sourceId,e):void 0,onMoveUp:m?()=>m(P,-1):void 0,onMoveDown:m?()=>m(P,1):void 0,onDelete:h?()=>h(N.sourceId):void 0,onSave:g?()=>g(N.sourceId):void 0,onOpenStudio:T&&(N.type===`script`||N.type===`authored`)?e=>T(N.sourceId,e):void 0,referenceKey:N.referenceKey,onUploadReference:_?e=>_(N.sourceId,e):void 0,onRemoveReference:v?()=>v(N.sourceId):void 0,onRun:y?()=>y(N.sourceId):void 0,onRunFromHere:b?()=>b(N.sourceId):void 0,running:i,onPickHttp:x?(e,t)=>x(N.sourceId,e,t):void 0,httpRequestId:N.httpRequestId,httpReferenceName:N.httpReferenceName,httpResponse:N.type===`http`?vWe(u?.get(N.sourceId)):void 0,runningStepUid:a,onToggleVlm:S?e=>S(N.sourceId,e):void 0,onClearCache:C?e=>C(N.sourceId,e):void 0,secretNames:E,onParamClick:D,onViewVariableState:k,sequenceType:N.sequenceType,onChangeSequenceType:A?e=>A(N.sourceId,e):void 0,companyId:j,teamId:M,currentTestId:t,footer
304:N.type===`auto`?(0,U.jsx)(gWe,{testId:t,sourceId:N.sourceId,executionId:n,liveItems:d?.get(N.sourceId)}):void 0,screens:f?(0,U.jsx)(iWe,{messages:u?.get(N.sourceId)??[],running:i,onOpen:e=>f(N.sourceId,e)}):void 0})}),w&&P<e.length-1&&(0,U.jsx)(SUe,{onPick:e=>w(e,P+1)})]},N.sourceId)),(0,U.jsxs)(`div`,{className:`mt-1 grid grid-cols-[42px_1fr] items-center gap-3.5`,children:[(0,U.jsxs)(`div`,{className:`relative flex h-11 justify-center`,children:[(0,U.jsx)(`span`,{className:`bg-border absolute top-0 left-1/2 h-2 w-px -translate-x-1/2`,"aria-hidden":`true`}),(0,U.jsx)(`span`,{className:`border-border-strong text-fg-hint bg-surface relative z-[2] mt-2 grid size-[30px] place-items-center rounded-full border-[0.5px] border-dashed`,children:(0,U.jsx)(Pb,{className:`size-3.5`})})]}),w?(0,U.jsx)(Q$,{variant:`bar`,onPick:t=>w(t,e.length)}):(0,U.jsx)(`span`,{className:`text-fg-hint text-[12.5px]`,children:N(`addSequence`)})]})]})]})}function vWe(e){if(!e?.length)return;let t=e.filter(e=>e.data||e.dataUrl).sort((e,t)=>(t.creationTime??0)-(e.creationTime??0))[0];if(t)return{data:t.data,dataUrl:t.dataUrl,executionId:t.executionId}}function yWe({label:e,loading:t,onCancel:n,onConfirm:r}){let i=X(`pages.web.editor`);return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&n(),children:(0,U.jsxs)(ST,{className:`w-[380px] gap-0 p-[22px_22px_18px]`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:i(`deleteStepA11y`)}),(0,U.jsx)(`div`,{className:`bg-status-failed-bg text-status-failed mb-3.5 grid size-10 place-items-center rounded-[10px]`,children:(0,U.jsx)($b,{className:`size-[18px]`,strokeWidth:1.8})}),(0,U.jsx)(`div`,{className:`text-fg-strong mb-1.5 text-[15px] font-semibold tracking-[-0.01em]`,children:i(`deleteStepTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mb-[18px] text-[12.5px] leading-[1.5]`,children:i(`deleteStepBody`,{label:e})}),(0,U.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:n,className:`border-border text-fg-strong hover:bg-surface-hover inline-flex items-center rounded-[7px] border-[0.5px] px-3.5 py-[7px] text-[12.5px] font-medium`,children:i(`cancel`)}),(0,U.jsxs)(`button`,{type:`button`,disabled:t,onClick:r,className:`bg-status-failed inline-flex items-center gap-1.5 rounded-[7px] px-3.5 py-[7px] text-[12.5px] font-medium text-white disabled:opacity-45`,children:[(0,U.jsx)($b,{className:`size-3`,strokeWidth:1.9}),i(t?`deleting`:`delete`)]})]})]})})}function bWe({count:e,saving:t,onSaveAndLeave:n,onLeave:r,onStay:i}){let a=X(`pages.web.editor`);return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&i(),children:(0,U.jsxs)(ST,{className:`w-[400px] gap-0 p-[22px_22px_18px]`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:a(`unsavedLeaveTitle`)}),(0,U.jsx)(`div`,{className:`bg-warning-soft text-warning-foreground mb-3.5 grid size-10 place-items-center rounded-[10px]`,children:(0,U.jsx)(nx,{className:`size-[18px]`,strokeWidth:1.8})}),(0,U.jsx)(`div`,{className:`text-fg-strong mb-1.5 text-[15px] font-semibold tracking-[-0.01em]`,children:a(`unsavedLeaveTitle`)}),(0,U.jsx)(`p`,{className:W(`text-muted-foreground text-[12.5px] leading-[1.5]`,t?`mb-2`:`mb-[18px]`),children:a(`unsavedLeaveBody`,{count:e})}),t&&(0,U.jsx)(`p`,{className:`text-fg-hint mb-[18px] text-[11.5px] leading-[1.5]`,children:a(`unsavedLeaveSaving`)}),(0,U.jsxs)(`div`,{className:`flex flex-wrap justify-end gap-2`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:i,className:`border-border text-fg-strong hover:bg-surface-hover inline-flex items-center rounded-[7px] border-[0.5px] px-3.5 py-[7px] text-[12.5px] font-medium`,children:a(`unsavedLeaveStay`)}),(0,U.jsx)(`button`,{type:`button`,onClick:r,className:`border-border text-muted-foreground hover:bg-surface-hover inline-flex items-center rounded-[7px] border-[0.5px] px-3.5 py-[7px] text-[12.5px] font-medium`,children:a(`unsavedLeaveDiscard`)}),(0,U.jsxs)(`button`,{type:`button`,disabled:t,onClick:n,className:`bg-violet hover:bg-violet-dark inline-flex items-center gap-1.5 rounded-[7px] px-3.5 py-[7px] text-[12.5px] font-medium text-white disabled:opacity-45`,children:[t?(0,U.jsx)(gb,{className:`size-3 animate-spin`}):(0,U.jsx)(Rb,{className:`size-3`,strokeWidth:1.9}),a(`unsavedLeaveSave`)]})]})]})})}function xWe({shots:e,index:t,running:n,onClose:r,onPrev:i,onNext:a}){let o=X(`pages.web.editor`),s=t>=0?e.at(t):void 0,{data:c}=jQ(s?.screenshot),[l,u]=(0,O.useState)(null),d=l===t;if((0,O.useEffect)(()=>{let e=e=>{e.key===`Escape`&&r(),e.key===`ArrowLeft`&&i(),e.key===`ArrowRight`&&a()};
304return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r,i,a]),!s)return null;let f=IQ(s.step),p=s.actionDetails,m=p?.action??f.action,h=p?.intent??s.intention??f.intent,g=f.label||s.intention||``,_=RQ(p,s.step),v=M1(s.status),y=SWe(v),b=OQ(s);return(0,U.jsxs)(`div`,{className:`fixed inset-0 z-50 flex flex-col bg-[rgba(15,23,42,0.78)] p-6 backdrop-blur-sm sm:px-8`,onClick:r,children:[(0,U.jsxs)(`div`,{className:`flex flex-none items-center`,onClick:e=>e.stopPropagation(),children:[(0,U.jsxs)(`span`,{className:`font-mono text-[13px] font-medium text-white/95`,children:[t+1,` / `,e.length]}),(0,U.jsx)(`span`,{className:`flex-1`}),(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded-[10px] border-[1.5px] border-white/50 bg-white/[0.06] p-1`,children:[(0,U.jsx)(V1,{onClick:i,title:`Previous (â)`,children:(0,U.jsx)(Iy,{className:`size-3.5`})}),(0,U.jsx)(V1,{onClick:a,title:`Next (â)`,children:(0,U.jsx)(Ly,{className:`size-3.5`})}),(0,U.jsx)(V1,{onClick:r,title:o(`close`),danger:!0,children:(0,U.jsx)(ox,{className:`size-3.5`})})]})]}),(0,U.jsxs)(`div`,{className:`grid min-h-0 flex-1 grid-cols-1 gap-5 pt-4 md:grid-cols-[minmax(0,max-content)_320px] md:justify-center lg:gap-6`,onClick:e=>e.stopPropagation(),children:[(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-col items-center justify-center gap-3`,children:[c?(0,U.jsx)(`div`,{className:`border-violet rounded-xl border-2 p-1.5 leading-[0] shadow-[0_0_0_4px_rgba(99,102,241,0.25),0_24px_64px_rgba(0,0,0,0.4)]`,children:(0,U.jsx)(`img`,{src:c,alt:g,draggable:!1,className:`block max-h-[74vh] max-w-full rounded-lg select-none md:max-w-[calc(100vw-26rem)]`})}):(0,U.jsx)(RH,{className:`aspect-[16/10] w-full max-w-[640px] md:w-[min(640px,calc(100vw-26rem))]`}),b&&(0,U.jsx)(dy,{content:o(`variablesUpdated`),children:(0,U.jsx)(`button`,{type:`button`,"aria-label":o(`variablesUpdated`),className:`grid size-[42px] place-items-center rounded-full bg-[#6b7280] text-white transition-colors hover:bg-[#555e6a]`,onClick:()=>u(t),children:(0,U.jsx)(Jb,{className:`size-5`})})})]}),(0,U.jsxs)(`aside`,{className:`flex min-h-0 flex-col gap-2.5 overflow-y-auto pr-1 md:max-h-[74vh] md:self-center`,children:[f.url&&(0,U.jsx)(H1,{title:o(`lbUrl`),icon:(0,U.jsx)(hb,{className:`size-3`}),children:(0,U.jsx)(`div`,{className:`border-border bg-surface-alt flex items-center gap-2 rounded-[7px] border-[0.5px] px-2.5 py-1.5`,children:(0,U.jsx)(`span`,{className:`text-fg-strong flex-1 truncate font-mono text-[11px]`,children:f.url})})}),g&&(0,U.jsx)(H1,{title:o(`lbStep`),children:g}),m&&(0,U.jsx)(H1,{title:o(`lbAction`),children:(0,U.jsx)(`span`,{className:`capitalize`,children:m})}),h&&(0,U.jsx)(H1,{title:o(`lbIntention`),muted:!0,children:h}),p?.task&&(0,U.jsx)(H1,{title:o(`lbGoal`),muted:!0,children:p.task}),p?.justification&&(0,U.jsx)(H1,{title:o(`lbJustification`),muted:!0,children:p.justification}),p?.actionDescription&&(0,U.jsx)(H1,{title:o(`lbDescription`),muted:!0,children:p.actionDescription}),_&&(0,U.jsx)(H1,{title:o(`lbDiagnostics`),muted:!0,children:(0,U.jsx)(CWe,{diagnostics:_})}),(0,U.jsxs)(`div`,{className:W(`mt-0.5 inline-flex items-center gap-2 self-start rounded-full py-1.5 pr-3.5 pl-1.5 text-[12px] font-medium`,y.pill,y.text),children:[(0,U.jsx)(`span`,{className:W(`grid size-[22px] place-items-center rounded-full text-white`,y.dot,n&&v===`running`&&`animate-status-pulse`),children:(0,U.jsx)(F1,{action:m,tone:v,className:`size-3`})}),(0,U.jsx)(`span`,{className:`uppercase`,children:s.status})]})]})]}),d&&b&&(0,U.jsx)(L1,{message:s,onClose:()=>u(null)})]})}function V1({children:e,onClick:t,title:n,danger:r}){return(0,U.jsx)(dy,{content:n,children:(0,U.jsx)(`button`,{type:`button`,onClick:t,"aria-label":n,className:W(`grid size-7 place-items-center rounded-md text-white/95 transition-colors`,r?`hover:bg-status-failed/40`:`hover:bg-white/10`),children:e})})}function SWe(e){switch(e){case`passed`:return N1.passed;case`failed`:return N1.failed;case`running`:return N1.running;case`stopped`:return N1.stopped;case`pending`:return N1.pending}}function H1({title:e,icon:t,muted:n,children:r}){return(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5 rounded-[10px] bg-white/95 p-3`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground inline-flex items-center gap-1.5 text-[11px] font-medium`,children:[t,e]}),(0,U.jsx)(`div`,{className:W(`text-[12px] leading-[1.5]`,n?`text-fg-body`:`text-fg-strong`),children:typeof r==`string`?(0,U.jsx)(U1,{text:r}):r})]})}function CWe({diagnostics:e}){return(0,U.jsx)(`dl`,{className:`flex flex-col gap-2`,children:Object.entries(e).map(([e,t])=>(0,U.jsxs)(`div`,{className:`grid gap-0.5`,children:[(0,U.jsx)(`dt`,{className:`text-muted-foreground text-[10.5px] font-medium`,children:wWe(e)}),(0,U.jsx)(`dd`,{className:`text-fg-strong font-mono text-[10.5px] leading-[1.45]`,children:(0,U.jsx)(U1,{text:TWe(t),lines:3})})]},e))})}function U1({text:e,lines:t=4}){let n=X(`pages.web.editor`),[r,i]=(0,O.useState)(!1),a=e.length>180||e.includes(` 305`);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`block break-words whitespace-pre-wrap`,style:!r&&a?{display:`-webkit-box`,WebkitBoxOrient:`vertical`,WebkitLineClamp:t,overflow:`hidden`}:void 0,children:e}),a&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>i(e=>!e),className:`text-violet mt-1 text-[11px] font-medium hover:underline`,children:n(r?`seeLess`:`seeMore`)})]})}function wWe(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1 $2`).replace(/\bms\b/i,`ms`).toLowerCase()}function TWe(e){return typeof e==`string`?e:typeof e==`number`||typeof e==`boolean`?String(e):JSON.stringify(e,null,2)}function EWe({test:e,onClose:t}){let n=X(`pages.web.editor`),r=PHe(e.id);async function i(n){await r.mutateAsync({...e,name:n.name,initialUrl:n.url,settingProfileName:n.profile,mcpServerIds:n.mcpServerIds}),t()}return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&t(),children:(0,U.jsxs)(ST,{className:`w-auto max-w-none gap-0 border-0 bg-transparent p-0 shadow-none sm:max-w-none`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:n(`editConfig`)}),(0,U.jsx)(tQ,{title:n(`editTest`),submitLabel:n(`updateTest`),submittingLabel:n(`updatingTest`),initialData:{name:e.name,url:e.initialUrl??``,profile:e.settingProfileName,mcpServerIds:e.mcpServerIds},onClose:t,onSubmit:i})]})})}var W1=new class{async list(e,t){let{data:n}=await J.get(`/v1/vault-profiles`,{params:{companyId:e,teamId:t}});return n??[]}async create(e){let{data:t}=await J.post(`/v1/vault-profiles`,e);return t}async update(e,t){let{data:n}=await J.put(`/v1/vault-profiles/${e}`,t);return n}async delete(e){await J.delete(`/v1/vault-profiles/${e}`)}async testConnection(e){let{data:t}=await J.post(`/v1/vault-profiles/${e}/test-connection`);return t.success}};
305function G1(e,t,n){return nc({queryKey:Y.vault.profiles(e,t),queryFn:()=>W1.list(e,t),enabled:n&&!!(e&&t),staleTime:3e5})}function DWe(e,t){let n=Us();return rc({mutationFn:e=>W1.create(e),onSuccess:()=>n.invalidateQueries({queryKey:Y.vault.profiles(e,t)})})}function OWe(e,t){let n=Us();return rc({mutationFn:({id:e,model:t})=>W1.update(e,t),onSuccess:()=>n.invalidateQueries({queryKey:Y.vault.profiles(e,t)})})}function kWe(e,t){let n=Us();return rc({mutationFn:e=>W1.delete(e),onSuccess:()=>n.invalidateQueries({queryKey:Y.vault.profiles(e,t)})})}function AWe(){return rc({mutationFn:e=>W1.testConnection(e)})}function jWe(e){let t=e.indexOf(`#`);return t>=0?{secretPath:e.slice(0,t),key:e.slice(t+1)}:{secretPath:``,key:e}}function MWe(e){if(!e.startsWith(`vault://`))return null;let t=e.slice(8),n=t.indexOf(`/`),r=t.indexOf(`#`);return n>=0&&(r<0||n<r)?{profile:t.slice(0,n),secretRef:t.slice(n+1)}:r>=0?{profile:t.slice(0,r),secretRef:t.slice(r+1)}:{profile:t,secretRef:``}}function NWe(e,t){let{secretPath:n,key:r}=jWe(t);return n?`vault://${e}/${n}#${r}`:`vault://${e}#${r}`}function PWe(e){return typeof e==`string`&&e.startsWith(`vault://`)}var FWe=`â¢â¢â¢â¢â¢â¢â¢â¢`;function IWe({variable:e,scenario:t,companyId:n,teamId:r,onClose:i}){let a=X(`pages.web.editor`),o=H$(t.testId),s=MWe(e.value),c=e.secret,[l,u]=(0,O.useState)(!!s),[d,f]=(0,O.useState)(s?.profile??``),[p,m]=(0,O.useState)(s?.secretRef??``),[h,g]=(0,O.useState)(c),[_,v]=(0,O.useState)(!1),y=c&&!_&&!s,[b,x]=(0,O.useState)(y?FWe:s?``:e.value),S=G1(n,r,l),C=S.data??[],w=C.find(e=>e.name===d);function T(e){if(u(e),e){if(g(!0),!d){let e=S.data?.find(e=>e.isDefault);e&&f(e.name)}}else x(``),g(!1)}function E(){v(!0),x(``)}function D(n,r){let i=t.parameters??[];return i.some(t=>t.name===e.name)?i.map(t=>{if(t.name!==e.name)return t;let i=t.secret&&!_&&!l;return{...t,value:i?t.value:n,secret:r}}):[...i,{name:e.name,value:n,secret:r}]}async function k(){let e=l?NWe(d,p):b,n=l?!0:h;e!=null&&(await o.mutateAsync({...t,parameters:D(e,n)}),i())}async function A(){let n=(t.parameters??[]).map(t=>t.name===e.name?{...t,value:``,secret:!1}:t);await o.mutateAsync({...t,parameters:n}),i()}let j=o.isPending||(l?!d||!p:y);return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&i(),children:(0,U.jsxs)(ST,{className:`w-[460px] max-w-[92vw] gap-0 p-0`,children:[(0,U.jsxs)(TT,{className:`border-divider text-fg-strong flex items-center gap-2 border-b px-4 py-3 text-[13px] font-semibold`,children:[(0,U.jsx)(`span`,{className:`text-violet font-mono`,children:`{{${e.name}}}`}),(0,U.jsx)(`span`,{className:`text-muted-foreground font-normal`,children:a(`variableValueLabel`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-3.5 px-4 py-4`,children:[(0,U.jsxs)(`label`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:a(`variableUseVault`)}),(0,U.jsx)(uQ,{checked:l,onCheckedChange:T})]}),l?(0,U.jsx)(`div`,{className:`flex flex-col gap-3`,children:S.isPending?(0,U.jsxs)(`div`,{className:`text-muted-foreground flex items-center gap-2 text-[12px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),a(`variableVaultLoading`)]}):C.length===0?(0,U.jsx)(`p`,{className:`text-status-failed text-[12px]`,children:a(`variableNoVaultProfiles`)}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px] font-medium`,children:a(`variableVaultProfile`)}),(0,U.jsxs)(OT,{value:d,onValueChange:f,children:[(0,U.jsx)(AT,{className:`h-8 text-[12.5px]`,children:(0,U.jsx)(kT,{placeholder:a(`variableVaultProfile`)})}),(0,U.jsx)(jT,{children:C.map(e=>(0,U.jsxs)(MT,{value:e.name,children:[e.name,e.pathPrefix?(0,U.jsxs)(`span`,{className:`text-muted-foreground ml-1.5 text-[11px]`,children:[`(`,e.pathPrefix,`)`]}):null]},e.name))})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px] font-medium`,children:a(`variableSecretRef`)}),(0,U.jsx)(IT,{value:p,onChange:e=>m(e.target.value),placeholder:w?.pathPrefix?a(`variableSecretRefRelativePlaceholder`):a(`variableSecretRefPlaceholder`),className:`h-8 text-[12.5px]`}),w?.pathPrefix&&(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px]`,children:a(`variablePathPrefixHint`,{prefix:w.pathPrefix})})]}),(0,U.jsx)(`p`,{className:`text-muted-foreground text-[11px] leading-[15px]`,children:a(`variableVaultNote`)})]})}):(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(IT,{autoFocus:!y,value:b,onChange:e=>
305x(e.target.value),type:h&&!_?`password`:`text`,disabled:y,placeholder:a(`variableValuePlaceholder`),className:`h-8 flex-1 text-[12.5px]`}),y?(0,U.jsx)(dy,{content:a(`variableOverwriteSecret`),children:(0,U.jsx)(Z,{variant:`ghost`,size:`icon-sm`,"aria-label":a(`variableOverwriteSecret`),onClick:E,children:(0,U.jsx)(Ib,{className:`size-3.5`})})}):h?(0,U.jsx)(vb,{className:`text-violet size-4`,"aria-hidden":!0}):(0,U.jsx)(fb,{className:`text-muted-foreground size-4`,"aria-hidden":!0})]}),!y&&(0,U.jsxs)(`label`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(uQ,{checked:h,onCheckedChange:g}),(0,U.jsx)(`span`,{className:`text-fg-body text-[12px]`,children:a(`variableSecret`)})]}),(0,U.jsx)(ET,{className:`text-muted-foreground text-[11px] leading-[15px]`,children:a(c?_?`variableHelpOverwrite`:`variableHelpSecret`:`variableHelpDefault`)})]})]}),(0,U.jsxs)(wT,{className:`border-divider gap-2 border-t px-4 py-3`,children:[(0,U.jsx)(Z,{variant:`ghost`,size:`sm`,onClick:i,disabled:o.isPending,children:a(`cancel`)}),e.defined&&(0,U.jsx)(Z,{variant:`ghost`,size:`sm`,onClick:A,disabled:o.isPending,children:a(`variableClear`)}),(0,U.jsxs)(Z,{size:`sm`,onClick:k,disabled:j,children:[o.isPending&&(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),a(`save`)]})]})]})})}var LWe={error:`text-destructive`,fail:`text-destructive`,warn:`text-warning`,pass:`text-success`,success:`text-success`,info:`text-fg-hint`,debug:`text-fg-hint`,log:`text-muted-foreground`};function RWe(e){return LWe[e?.toLowerCase()]??`text-muted-foreground`}function zWe(e){if(!e)return``;let t=new Date(e),n=e=>String(e).padStart(2,`0`);return`${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}`}function BWe({logs:e,running:t,className:n}){let r=(0,O.useRef)(null);return(0,O.useEffect)(()=>{r.current?.scrollIntoView({block:`end`})},[e.length]),(0,U.jsxs)(`div`,{className:W(`bg-surface-alt border-border flex min-h-0 flex-col rounded-[10px] border-[0.5px]`,n),children:[(0,U.jsxs)(`div`,{className:`border-divider flex items-center gap-2 border-b px-3 py-1.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-[11px] font-semibold tracking-wide uppercase`,children:`Output`}),t&&(0,U.jsx)(`span`,{className:`bg-status-running-fg size-1.5 animate-pulse rounded-full`,"aria-hidden":`true`}),(0,U.jsx)(`span`,{className:`text-fg-hint ml-auto font-mono text-[10.5px]`,children:e.length})]}),(0,U.jsxs)(`div`,{className:`min-h-0 flex-1 scrollbar-none overflow-y-auto px-3 py-2 font-mono text-[12px] leading-[19px]`,children:[e.length===0?(0,U.jsx)(`p`,{className:`text-fg-hint py-3 text-center text-[12px]`,children:t?`Waiting for outputâ¦`:`No output yet. Run the step to stream console logs.`}):e.map((e,t)=>(0,U.jsxs)(`div`,{className:`flex gap-2.5 py-px`,children:[(0,U.jsx)(`span`,{className:`text-fg-hint shrink-0 tabular-nums`,children:zWe(e.creationTime)}),(0,U.jsx)(`span`,{className:W(`w-10 shrink-0 font-semibold uppercase`,RWe(e.level)),children:e.level}),(0,U.jsx)(`span`,{className:`text-foreground break-words whitespace-pre-wrap`,children:e.args?.join(` `)})]},t)),(0,U.jsx)(`div`,{ref:r})]})]})}var VWe=[{mark:`â `,icon:Py,tone:`text-success`},{mark:`â`,icon:ox,tone:`text-destructive`},{mark:`â ï¸`,icon:nx,tone:`text-warning`},{mark:`â`,icon:Jy,tone:`text-warning`},{mark:`ð`,icon:Ab,tone:`text-violet`},{mark:`ð`,icon:Nb,tone:`text-fg-hint`},{mark:`â³`,icon:gb,tone:`text-fg-hint`,pending:!0},{mark:`ð`,icon:nb,tone:`text-fg-hint`},{mark:`ð§©`,icon:Fb,tone:`text-fg-hint`},{mark:`â¶ï¸`,icon:Mb,tone:`text-fg-hint`},{mark:`âï¸`,icon:Ab,tone:`text-fg-hint`}];function HWe(e){let t=e.trim();if(!t)return null;let n=VWe.find(e=>t.startsWith(e.mark)),r=n?t.slice(n.mark.length).trim():t;return r?{icon:n?.icon??Jy,tone:n?.tone??`text-fg-hint`,pending:!!(n&&`pending`in n&&n.pending),text:r}:null}function UWe(e){return e.split("`").map((e,t)=>t%2==1?(0,U.jsx)(`code`,{className:`bg-surface-alt text-fg-strong rounded px-1 py-px font-mono text-[10.5px]`,children:e},t):(0,U.jsx)(`span`,{children:e},t))}function WWe({text:e,streaming:t,className:n}){let r=e.split(` 306`).map(HWe).filter(e=>e!==null);return r.length?(0,U.jsx)(`div`,{className:W(`border-divider bg-surface-alt/60 flex w-full flex-col gap-1 rounded-[10px] border-[0.5px] px-2.5 py-2`,n),children:r.map((e,n)=>{let i=e.icon,a=e.pending&&t&&n===r.length-1;return(0,U.jsxs)(`div`,{className:W(`flex items-start gap-1.5 text-[11px] leading-[16
306px]`,e.tone,!a&&e.pending&&`opacity-60`),children:[(0,U.jsx)(i,{className:W(`mt-px size-3 shrink-0`,a&&`animate-spin`)}),(0,U.jsx)(`span`,{className:`text-fg min-w-0 break-words`,children:UWe(e.text)})]},n)})}):null}function GWe(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var KWe=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qWe=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,JWe={};function K1(e,t){return((t||JWe).jsx?qWe:KWe).test(e)}var YWe=/[ \t\n\f\r]/g;function XWe(e){return typeof e==`object`?e.type===`text`&&q1(e.value):q1(e)}function q1(e){return e.replace(YWe,``)===``}var J1=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};J1.prototype.normal={},J1.prototype.property={},J1.prototype.space=void 0;function Y1(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new J1(n,r,t)}function X1(e){return e.toLowerCase()}var Z1=class{constructor(e,t){this.attribute=t,this.property=e}};Z1.prototype.attribute=``,Z1.prototype.booleanish=!1,Z1.prototype.boolean=!1,Z1.prototype.commaOrSpaceSeparated=!1,Z1.prototype.commaSeparated=!1,Z1.prototype.defined=!1,Z1.prototype.mustUseProperty=!1,Z1.prototype.number=!1,Z1.prototype.overloadedBoolean=!1,Z1.prototype.property=``,Z1.prototype.spaceSeparated=!1,Z1.prototype.space=void 0;var Q1=s({boolean:()=>$1,booleanish:()=>e0,commaOrSpaceSeparated:()=>a0,commaSeparated:()=>i0,number:()=>n0,overloadedBoolean:()=>t0,spaceSeparated:()=>r0}),ZWe=0,$1=o0(),e0=o0(),t0=o0(),n0=o0(),r0=o0(),i0=o0(),a0=o0();function o0(){return 2**++ZWe}var s0=Object.keys(Q1),c0=class extends Z1{constructor(e,t,n,r){let i=-1;if(super(e,t),l0(this,`space`,r),typeof n==`number`)for(;++i<s0.length;){let e=s0[i];l0(this,s0[i],(n&Q1[e])===Q1[e])}}};c0.prototype.defined=!0;function l0(e,t,n){n&&(e[t]=n)}function u0(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new c0(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[X1(r)]=r,n[X1(a.attribute)]=r}return new J1(t,n,e.space)}var d0=u0({properties:{ariaActiveDescendant:null,ariaAtomic:e0,ariaAutoComplete:null,ariaBusy:e0,ariaChecked:e0,ariaColCount:n0,ariaColIndex:n0,ariaColSpan:n0,ariaControls:r0,ariaCurrent:null,ariaDescribedBy:r0,ariaDetails:null,ariaDisabled:e0,ariaDropEffect:r0,ariaErrorMessage:null,ariaExpanded:e0,ariaFlowTo:r0,ariaGrabbed:e0,ariaHasPopup:null,ariaHidden:e0,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:r0,ariaLevel:n0,ariaLive:null,ariaModal:e0,ariaMultiLine:e0,ariaMultiSelectable:e0,ariaOrientation:null,ariaOwns:r0,ariaPlaceholder:null,ariaPosInSet:n0,ariaPressed:e0,ariaReadOnly:e0,ariaRelevant:null,ariaRequired:e0,ariaRoleDescription:r0,ariaRowCount:n0,ariaRowIndex:n0,ariaRowSpan:n0,ariaSelected:e0,ariaSetSize:n0,ariaSort:null,ariaValueMax:n0,ariaValueMin:n0,ariaValueNow:n0,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function f0(e,t){return t in e?e[t]:t}function p0(e,t){return f0(e,t.toLowerCase())}var QWe=u0({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:i0,acceptCharset:r0,accessKey:r0,action:null,allow:null,allowFullScreen:$1,allowPaymentRequest:$1,allowUserMedia:$1,alpha:$1,alt:null,as:null,async:$1,autoCapitalize:null,autoComplete:r0,autoFocus:$1,autoPlay:$1,blocking:r0,capture:null,charSet:null,checked:$1,cite:null,className:r0,closedBy:null,colorSpace:null,cols:n0,colSpan:n0,command:null,commandFor:null,content:null,contentEditable:e0,controls:$1,controlsList:r0,coords:n0|i0,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$1,defer:$1,dir:null,dirName:null,disabled:$1,download:t0,draggable:e0,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$1,formTarget:null,headers:r0,height:n0,hidden:t0,high:n0,href:null,hrefLang:null,htmlFor:r0,httpEquiv:r0,id:null,imageSizes:null,imageSrcSet:null,inert:$1,inputMode:null,integrity:null,is:null,isMap:$1,itemId:null,itemProp:r0,itemRef:r0,itemScope:$1,itemType:r0,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$1,low:n0,manifest:null,max:null,maxLength:n0,media:null,method:null,min:null,minLength:n0,multiple:$1,muted:$1,name:null,nonce:null,noModule:$1,noValidate:$1,onAbort:null,onAfterPrint:null,onAuxCl
306ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:$1,optimum:n0,pattern:null,ping:r0,placeholder:null,playsInline:$1,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$1,referrerPolicy:null,rel:r0,required:$1,reversed:$1,rows:n0,rowSpan:n0,sandbox:r0,scope:null,scoped:$1,seamless:$1,selected:$1,shadowRootClonable:$1,shadowRootCustomElementRegistry:$1,shadowRootDelegatesFocus:$1,shadowRootMode:null,shadowRootSerializable:$1,shape:null,size:n0,sizes:null,slot:null,span:n0,spellCheck:e0,src:null,srcDoc:null,srcLang:null,srcSet:null,start:n0,step:null,style:null,tabIndex:n0,target:null,title:null,translate:null,type:null,typeMustMatch:$1,useMap:null,value:e0,width:n0,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:r0,axis:null,background:null,bgColor:null,border:n0,borderColor:null,bottomMargin:n0,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$1,declare:$1,event:null,face:null,frame:null,frameBorder:null,hSpace:n0,leftMargin:n0,link:null,longDesc:null,lowSrc:null,marginHeight:n0,marginWidth:n0,noResize:$1,noHref:$1,noShade:$1,noWrap:$1,object:null,profile:null,prompt:null,rev:null,rightMargin:n0,rules:null,scheme:null,scrolling:e0,standby:null,summary:null,text:null,topMargin:n0,valueType:null,version:null,vAlign:null,vLink:null,vSpace:n0,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:$1,disablePictureInPicture:$1,disableRemotePlayback:$1,exportParts:i0,part:r0,prefix:null,property:null,results:n0,security:null,unselectable:null},space:`html`,transform:p0}),$We=u0({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,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`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,n
306avDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,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`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:a0,accentHeight:n0,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:n0,amplitude:n0,arabicForm:null,ascent:n0,attributeName:null,attributeType:null,azimuth:n0,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:n0,by:null,calcMode:null,capHeight:n0,className:r0,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:n0,diffuseConstant:n0,direction:null,display:null,dur:null,divisor:n0,dominantBaseline:null,download:$1,dx:null,dy:null,edgeMode:null,editable:null,elevation:n0,enableBackgroun
vendor: 21,380 bytes, lines 306-307
306d:null,end:null,event:null,exponent:n0,externalResourcesRequired:null,fill:null,fillOpacity:n0,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:i0,g2:i0,glyphName:i0,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:n0,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:n0,horizOriginX:n0,horizOriginY:n0,id:null,ideographic:n0,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:n0,k:n0,k1:n0,k2:n0,k3:n0,k4:n0,kernelMatrix:a0,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:n0,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:n0,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:n0,overlineThickness:n0,paintOrder:null,panose1:null,path:null,pathLength:n0,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:r0,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:n0,pointsAtY:n0,pointsAtZ:n0,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:a0,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:a0,rev:a0,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:a0,requiredFeatures:a0,requiredFonts:a0,requiredFormats:a0,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:n0,specularExponent:n0,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:n0,strikethroughThickness:n0,string:null,stroke:null,strokeDashArray:a0,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:n0,strokeOpacity:n0,strokeWidth:null,style:null,surfaceScale:n0,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:a0,tabIndex:n0,tableValues:null,target:null,targetX:n0,targetY:n0,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:a0,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:n0,underlineThickness:n0,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:n0,values:null,vAlphabetic:n0,vMathematical:n0,vectorEffect:null,vHanging:n0,vIdeographic:n0,version:null,vertAdvY:n0,vertOriginX:n0,vertOriginY:n0,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:n0,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:f0}),m0=u0({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),h0=u0({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:p0}),g0=u0({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),eGe={classId:`classID`,dataType:`datatype`,itemId:`itemID`,strokeDashArray:`strokeDasharray`,strokeDashOffset:`strokeDashoffset`,strokeLineCap:`strokeLinecap`,strokeLineJoin:`strokeLinejoin`,strokeMiterLimit:`strokeMiterlimit`,typeOf:`typeof`,xLinkActuate:`xlinkActuate`,xLinkArcRole:`xlinkArcrole`,xLinkHref:`xlinkHref`,xLinkRole:`xlinkRole`,xLinkShow:`xlinkShow`,xLinkTitle:`xlinkTitle`,xLinkType:`xlinkType`,xmlnsXLink:`xmlnsXlink`},tGe=/[A-Z]/g,_0=/-[a-z]/g,nGe=/^data[-\w.:]+$/i;function rGe(e,t){let n=X1(t),r=t,i=Z1;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&nGe.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(_0,aGe);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!_0.test(e)){let n=e.replace(tGe,iGe);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=c0}return new i(r,t)}function iGe(e){return`-`+e.toLowerCase()}function aGe(e){return e.charAt(1).toUpperCase()}var oGe=Y1([d0,QWe,m0,h0,g0],`html`),v0=Y1([d0,$We,m0,h0,g0],`svg`);function sGe(e){return e.join(` `).trim()}var cGe=o(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var l=1,u=1;function f(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(` 307`);u=~n?e.length-n:u+e.length}function p(){var e={line:l,column:u};return function(t){return t.position=new m(e),_(),t}}function m(e){this.start=e,this.end={line:l,column:u},this.source=t.source}m.prototype.content=e;function h(n){var r=Error(t.source+`:`+l+`:`+u+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=u,r.source=e,!t.silent)throw r}function g(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function _(){g(i)}function v(e){var t;for(e||=[];t=y();)t!==!1&&e.push(t);return e}function y(){var t=p();if(e.charAt(0)==`/`&&e.charAt(1)==`*`){for(var n=2;e.charAt(n)!=``&&(e.charAt(n)!=`*`||e.charAt(n+1)!=`/`);)++n;if(n+=2,e.charAt(n-1)===``)return h(`End of comment missing`);var r=e.slice(2,n-2);return u+=2,f(r),e=e.slice(n),u+=2,t({type:`comment`,comment:r})}}function b(){var e=p(),t=g(a);if(t){if(y(),!g(o))return h(`property missing ':'`);var r=g(s),i=e({type:`declaration`,property:d(t[0].replace(n,``)),value:r?d(r[0].replace(n,``)):``});return g(c),i}}function x(){var e=[];v(e);for(var t;t=b();)t!==!1&&(e.push(t),v(e));return e}return _(),x()}function d(e){return e?e.replace(l,``):``}t.exports=u})),lGe=o((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var n=t(cGe());function r(e,t){let r=null;if(!e||typeof e!=`string`)return r;let i=(0,n.default)(e),a=typeof t==`function`;return i.forEach(e=>{if(e.type!==`declaration`)return;let{property:n,value:i}=e;a?t(n,i,e):i&&(r||={},r[n]=i)}),r}})),uGe=o((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),dGe=o(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(lGe()),r=uGe();function i(e,t){var i={};return!e||typeof e!=`string`||(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}i.default=i,t.exports=i})),y0=x0(`end`),b0=x0(`start`);function x0(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function fGe(e){let t=b0(e),n=y0(e);if(t&&n)return{start:t,end:n}}function S0(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?w0(e.position):`start`in e||`end`in e?w0(e):`line`in e||`column`in e?C0(e):``}function C0(e){return T0(e&&e.line)+`:`+T0(e&&e.column)}function w0(e){return C0(e&&e.start)+`-`+C0(e&&e.end)}function T0(e){return e&&typeof e==`number`?e:1}var E0=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=S0(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};E0.prototype.file=``,E0.prototype.name=``,E0.prototype.reason=``,E0.prototype.message=``,E0.prototype.stack=``,E0.prototype.column=void 0,E0.prototype.line=void 0,E0.prototype.ancestors=void 0,E0.prototype.cause=void 0,E0.prototype.fatal=void 0,E0.prototype.place=void 0,E0.prototype.ruleId=void 0,E0.prototype.source=void 0;var pGe=l(dGe(),1),D0={}.hasOwnProperty,mGe=new Map,hGe=/[A-Z]/g,gGe=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),_Ge=new Set([`td`,`th`]);function vGe(e,t){if(!t||t.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!=`function`)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=EGe(n,t.jsxDEV)}else{if(typeof t.jsx!=`function`)throw TypeError("Expected `jsx` in production options");if(typeof t.jsxs!=`function`)throw TypeError("Expected `jsxs` in production options");r=TGe(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||`react`,evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===`svg`?v0:oGe,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=O0(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function O0(e,t,n){if(t.type===`element`)return yGe(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return bGe(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return SGe(e,t,n);if(t.type===`mdxjsEsm`)return xGe(e,t);if(t.type===`root`)return CGe(e,t,n);if(t.type===`text`)return wGe(e,t)}function yGe(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=v0,e.schema=i),e.ancestors.push(t);let a=M0(e,t.tagName,!1),o=DGe(e,t),s=j0(e,t);return gGe.has(t.tagName)&&(s=s.filter(function(e){return typeof e!=`string`||!XWe(e)})),k0(e,o,a,t),A0(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function bGe(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}N0(e,t.position)}function xGe(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);N0(e,t.position)}function SGe(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=v0,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:M0(e,t.name,!0),o=OGe(e,t),s=j0(e,t);return k0(e,o,a,t),A0(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function CGe(e,t,n){let r={};return A0(r,j0(e,t)),e.create(t,e.Fragment,r,n)}function wGe(e,t){return t.value}function k0(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function A0(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function TGe(e,t,n){return r;function r(e,r,i,a){let o=Array.isArray(i.children)?n:t;return a?o(r,i,a):o(r,i)}}function EGe(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=b0(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function DGe(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&D0.call(t.properties,i)){let a=kGe(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&_Ge.has(t.tagName)?r=o:n[i]=o}}if(r){let t=n.style||={};t[e.stylePropertyNameCase===`css`?`text-align`:`textAlign`]=r}return n}function OGe(e,t){let n={};for(let r of t.attributes)if(r.type===`mdxJsxExpressionAttribute`)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let a=i.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else N0(e,t.position);else{let i=r.name,a;if(r.value&&typeof r.value==`object`)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,a=e.evaluater.evaluateExpression(t.expression)}else N0(e,t.position);else a=r.value===null||r.value;n[i]=a}return n}function j0(e,t){let n=[],r=-1,i=e.passKeys?new Map:mGe;for(;++r<t.children.length;){let a=t.children[r],o;if(e.passKeys){let e=a.type===`element`?a.tagName:a.type===`mdxJsxFlowElement`||a.type===`mdxJsxTextElement`?a.name:void 0;if(e){let t=i.get(e)||0;o=e+`-`+t,i.set(e,t+1)}}let s=O0(e,a,o);s!==void 0&&n.push(s)}return n}function kGe(e,t,n){let r=rGe(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?GWe(n):sGe(n)),r.property===`style`){let t=typeof n==`object`?n:AGe(e,String(n));return e.stylePropertyNameCase===`css`&&(t=jGe(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?eGe[r.property]||r.property:r.attribute,n]}}function AGe(e,t){try{return(0,pGe.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new E0("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:`style`,source:`hast-util-to-jsx-runtime`});throw r.file=e.filePath||void 0,r.url=`https://github.com/syntax-tree/hast-util-to-jsx-runtime#cannot-parse-style-attribute`,r}}function M0(e,t,n){let r;if(!n)r={type:`Literal`,value:t};else if(t.includes(`.`)){let e=t.split(`.`),n=-1,i;for(;++n<e.length;){let t=K1(e[n])?{type:`Identifier`,name:e[n]}:{type:`Literal`,value:e[n]};i=i?{type:`MemberExpression`,object:i,property:t,computed:!!(n&&t.type===`Literal`),optional:!1}:t}r=i}else r=K1(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return D0.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);N0(e)}function N0(e,t){let n=new E0("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:`mdx-estree`,source:`hast-util-to-jsx-runtime`});throw n.file=e.filePath||void 0,n.url=`https://github.com/syntax-tree/hast-util-to-jsx-runtime#cannot-handle-mdx-estrees-without-createevaluater`,n}function jGe(e){let t={},n;for(n in e)D0.call(e,n)&&(t[MGe(n)]=e[n]);return t}function MGe(e){let t=e.replace(hGe,NGe);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function NGe(e){return`-`+e.toLowerCase()}var P0={action:[`form`],cite:[`blockquote`,`del`,`ins`,`q`],data:[`object`],formAction:[`button`,`input`],href:[`a`,`area`,`base`,`link`],icon:[`menuitem`],itemId:null,manifest:[`html`],ping:[`a`,`area`],poster:[`video`],src:[`audio`,`embed`,`iframe`,`img`,`input`,`script`,`source`,`track`,`video`]},PGe={};function F0(e,t){let n=t||PGe;return I0(e,typeof n.includeImageAlt!=`boolean`||n.includeImageAlt,typeof n.includeHtml!=`boolean`||n.includeHtml)}function I0(e,t,n){if(FGe(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return L0(e.children,t,n)}return Array.isArray(e)?L0(e,t,n):``}function L0(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=I0(e[i],t,n);return r.join(``)}function FGe(e){return!!(e&&typeof e==`object`)}var R0=document.createElement(`i`);function z0(e){let t=`&`+e+`;`;R0.innerHTML=t;let n=R0.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`?!1:n!==t&&n}function B0(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function V0(e,t){return e.length>0?(B0(e,e.length,0,t),e):t}var H0={}.hasOwnProperty;function U0(e){let t={},n=-1;for(;++n<e.length;)IGe(t,e[n]);return t}function IGe(e,t){let n;for(n in t){let r=(H0.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){H0.call(r,a)||(r[a]=[]);let e=i[a];LGe(r[a],Array.isArray(e)?e:e?[e]:[])}}}function LGe(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);B0(e,0,0,r)}function W0(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}function G0(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var K0=t2(/[A-Za-z]/),q0=t2(/[\dA-Za-z]/),RGe=t2(/[#-'*+\--9=?A-Z^-~]/);function J0(e){return e!==null&&(e<32||e===127)}var Y0=t2(/\d/),zGe=t2(/[\dA-Fa-f]/),BGe=t2(/[!-/:-@[-`{-~]/);function X0(e){return e!==null&&e<-2}function Z0(e){return e!==null&&(e<0||e===32)}function Q0(e){return e===-2||e===-1||e===32}var $0=t2(/\p{P}|\p{S}/u),e2=t2(/\s/);function t2(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function n2(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&q0(e.charCodeAt(n+1))&&q0(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function r2(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return Q0(r)?(e.enter(n),s(r)):t(r)}function s(r){return Q0(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var VGe={tokenize:HGe};function HGe(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),r2(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return X0(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var UGe={tokenize:WGe},i2={tokenize:GGe};function WGe(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return B0(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(i2,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m
vendor: 5,113 bytes, line 307
307(e)}function f(n){return t.containerState={},e.attempt(i2,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return X0(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;B0(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-->r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function GGe(e,t,n){return r2(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}function a2(e){if(e===null||Z0(e)||e2(e))return 1;if($0(e))return 2}function o2(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var s2={name:`attention`,resolveAll:KGe,tokenize:qGe};function KGe(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};c2(d,-c),c2(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=V0(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=V0(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=V0(l,o2(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=V0(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=V0(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,B0(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function qGe(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=a2(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=a2(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function c2(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var JGe={name:`autolink`,tokenize:YGe};function YGe(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return K0(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||q0(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||q0(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||J0(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):RGe(t)?(e.consume(t),l):n(t)}function u(e){return q0(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||q0(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var l2={partial:!0,tokenize:XGe};function XGe(e,t,n){return r;function r(t){return Q0(t)?r2(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||X0(e)?t(e):n(e)}}var u2={continuation:{tokenize:QGe},exit:$Ge,name:`blockQuote`,tokenize:ZGe};function ZGe(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}
vendor: 8,093 bytes, line 307
307return n(t)}function a(n){return Q0(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function QGe(e,t,n){let r=this;return i;function i(t){return Q0(t)?r2(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(u2,t,n)(r)}}function $Ge(e){e.exit(`blockQuote`)}var d2={name:`characterEscape`,tokenize:eKe};function eKe(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return BGe(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var f2={name:`characterReference`,tokenize:tKe};function tKe(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=q0,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=zGe,u):(e.enter(`characterReferenceValue`),a=7,o=Y0,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===q0&&!z0(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var p2={partial:!0,tokenize:rKe},m2={concrete:!0,name:`codeFenced`,tokenize:nKe};function nKe(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),Q0(t)?r2(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||X0(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(p2,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||X0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):Q0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),r2(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||X0(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||X0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&Q0(t)?r2(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||X0(t)?e.check(p2,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||X0(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),Q0(t)?r2(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),Q0(t)?r2(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||X0(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function rKe(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var h2={name:`codeIndented`,tokenize:aKe},iKe={partial:!0,tokenize:oKe};function aKe(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),r2(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):X0(t)?e.attempt(iKe,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||X0(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function oKe(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):X0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):r2(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):X0(e)?i(e):n(e)}}var sKe={name:`codeText`,previous:lKe,resolve:cKe,tokenize:uKe};function cKe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function lKe(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function uKe(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):X0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||X0(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var dKe=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&g2(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),g2(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),g2(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);g2(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);g2(this.left,t.reverse())}}};function g2(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function _2(e){let t={},n=-1,r,i,a,o,s,c,l,u=new dKe(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;
vendor: 28,584 bytes, lines 307-309
307)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,fKe(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(o[1].type!==`linePrefix`&&o[1].type!==`listItemIndent`)break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return B0(e,0,1/0,u.slice(0)),!l}function fKe(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var pKe={resolve:hKe,tokenize:gKe},mKe={partial:!0,tokenize:_Ke};function hKe(e){return _2(e),e}function gKe(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):X0(t)?e.check(mKe,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function _Ke(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),r2(e,a,`linePrefix`)}function a(i){if(i===null||X0(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function v2(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||J0(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||X0(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||Z0(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||J0(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function y2(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):X0(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||X0(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!Q0(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function b2(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):X0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),r2(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||X0(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function x2(e,t){let n;return r;function r(i){return X0(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):Q0(i)?r2(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var vKe={name:`definition`,tokenize:bKe},yKe={partial:!0,tokenize:xKe};function bKe(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return y2.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=G0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return Z0(t)?x2(e,l)(t):l(t)}function l(t){return v2(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(yKe,d,d)(t)}function d(t){return Q0(t)?r2(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||X0(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function xKe(e,t,n){return r;function r(t){return Z0(t)?x2(e,i)(t):n(t)}function i(t){return b2(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return Q0(t)?r2(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||X0(e)?t(e):n(e)}}var SKe={name:`hardBreakEscape`,tokenize:CKe};function CKe(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return X0(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var wKe={name:`headingAtx`,resolve:TKe,tokenize:EKe};function TKe(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},B0(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function EKe(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||Z0(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||X0(n)?(e.exit(`atxHeading`),t(n)):Q0(n)?r2(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||Z0(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var DKe=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),S2=[`pre`,`script`,`style`,`textarea`],OKe={concrete:!0,name:`htmlFlow`,resolveTo:jKe,tokenize:MKe},kKe={partial:!0,tokenize:PKe},AKe={partial:!0,tokenize:NKe};function jKe(e){let t=e.length;for(;t--&&(e[t][0]!==`enter`||e[t][1].type!==`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function MKe(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:I):K0(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):K0(a)?(e.consume(a),i=4,r.interrupt?t:I):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:I):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:O:m):n(i)}function h(t){return K0(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||Z0(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&S2.includes(l)?(i=1,r.interrupt?t(s):O(s)):DKe.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):O(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||q0(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:O):n(i)}function v(t){return Q0(t)?(e.consume(t),v):E(t)}function y(t){return t===47?(e.consume(t),E):t===58||t===95||K0(t)?(e.consume(t),b):Q0(t)?(e.consume(t),y):E(t)}function b(t){return t===45||t===46||t===58||t===95||q0(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):Q0(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):Q0(t)?(e.consume(t),S):w(t)}function C(t){return t===c?(e.consume(t),c=null,T):t===null||X0(t)?n(t):(e.consume(t),C)}function w(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||Z0(t)?x(t):(e.consume(t),w)}function T(e){return e===47||e===62||Q0(e)?y(e):n(e)}function E(t){return t===62?(e.consume(t),D):n(t)}function D(t){return t===null||X0(t)?O(t):Q0(t)?(e.consume(t),D):n(t)}function O(t){return t===45&&i===2?(e.consume(t),M):t===60&&i===1?(e.consume(t),N):t===62&&i===4?(e.consume(t),L):t===63&&i===3?(e.consume(t),I):t===93&&i===5?(e.consume(t),F):X0(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(kKe,R,k)(t)):t===null||X0(t)?(e.exit(`htmlFlowData`),k(t)):(e.consume(t),O)}function k(t){return e.check(AKe,A,R)(t)}function A(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),j}function j(t){return t===null||X0(t)?k(t):(e.enter(`htmlFlowData`),O(t))}function M(t){return t===45?(e.consume(t),I):O(t)}function N(t){return t===47?(e.consume(t),o=``,P):O(t)}function P(t){if(t===62){let n=o.toLowerCase();return S2.includes(n)?(e.consume(t),L):O(t)}return K0(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),P):O(t)}function F(t){return t===93?(e.consume(t),I):O(t)}function I(t){return t===62?(e.consume(t),L):t===45&&i===2?(e.consume(t),I):O(t)}function L(t){return t===null||X0(t)?(e.exit(`htmlFlowData`),R(t)):(e.consume(t),L)}function R(n){return e.exit(`htmlFlow`),t(n)}}function NKe(e,t,n){let r=this;return i;function i(t){return X0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function PKe(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(l2,t,n)}}var FKe={name:`htmlText`,tokenize:IKe};function IKe(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):K0(t)?(e.consume(t),w):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):K0(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):X0(t)?(o=d,N(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?M(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):X0(t)?(o=h,N(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?M(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?M(t):X0(t)?(o=v,N(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):X0(t)?(o=y,N(t)):(e.consume(t),y)}function b(e){return e===62?M(e):y(e)}function x(t){return K0(t)?(e.consume(t),S):n(t)}function S(t){return t===45||q0(t)?(e.consume(t),S):C(t)}function C(t){return X0(t)?(o=C,N(t)):Q0(t)?(e.consume(t),C):M(t)}function w(t){return t===45||q0(t)?(e.consume(t),w):t===47||t===62||Z0(t)?T(t):n(t)}function T(t){return t===47?(e.consume(t),M):t===58||t===95||K0(t)?(e.consume(t),E):X0(t)?(o=T,N(t)):Q0(t)?(e.consume(t),T):M(t)}function E(t){return t===45||t===46||t===58||t===95||q0(t)?(e.consume(t),E):D(t)}function D(t){return t===61?(e.consume(t),O):X0(t)?(o=D,N(t)):Q0(t)?(e.consume(t),D):T(t)}function O(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,k):X0(t)?(o=O,N(t)):Q0(t)?(e.consume(t),O):(e.consume(t),A)}function k(t){return t===i?(e.consume(t),i=void 0,j):t===null?n(t):X0(t)?(o=k,N(t)):(e.consume(t),k)}function A(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||Z0(t)?T(t):(e.consume(t),A)}function j(e){return e===47||e===62||Z0(e)?T(e):n(e)}function M(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function N(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),P}function P(t){return Q0(t)?r2(e,F,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):F(t)}function F(t){return e.enter(`htmlTextData`),o(t)}}var C2={name:`labelEnd`,resolveAll:BKe,resolveTo:VKe,tokenize:HKe},LKe={tokenize:UKe},RKe={tokenize:WKe},zKe={tokenize:GKe};function BKe(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&B0(e,0,e.length,n),e}function VKe(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=V0(s,e.slice(a+1,a+r+3)),s=V0(s,[[`enter`,u,t]]),s=V0(s,o2(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=V0(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=V0(s,e.slice(o+1)),s=V0(s,[[`exit`,c,t]]),B0(e,a,e.length,s),e}function HKe(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(G0(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(LKe,u,o?u:d)(t):t===91?e.attempt(RKe,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(zKe,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function UKe(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return Z0(t)?x2(e,a)(t):a(t)}function a(t){return t===41?u(t):v2(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return Z0(t)?x2(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?b2(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return Z0(t)?x2(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function WKe(e,t,n){let r=this;return i;function i(t){return y2.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(G0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function GKe(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var KKe={name:`labelStartImage`,resolveAll:C2.resolveAll,tokenize:qKe};function qKe(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var JKe={name:`labelStartLink`,resolveAll:C2.resolveAll,tokenize:YKe};function YKe(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var w2={name:`lineEnding`,tokenize:XKe};function XKe(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),r2(e,t,`linePrefix`)}}var T2={name:`thematicBreak`,tokenize:ZKe};function ZKe(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||X0(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),Q0(t)?r2(e,s,`whitespace`)(t):s(t))}}var E2={continuation:{tokenize:tqe},exit:rqe,name:`list`,tokenize:eqe},QKe={partial:!0,tokenize:iqe},$Ke={partial:!0,tokenize:nqe};function eqe(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:Y0(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(T2,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return Y0(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(l2,r.interrupt?n:u,e.attempt(QKe,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return Q0(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function tqe(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(l2,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,r2(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!Q0(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt($Ke,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,r2(e,e.attempt(E2,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function nqe(e,t,n){let r=this;return r2(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function rqe(e){e.exit(this.containerState.type)}function iqe(e,t,n){let r=this;return r2(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!Q0(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var D2={name:`setextUnderline`,resolveTo:aqe,tokenize:oqe};function aqe(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function oqe(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),Q0(t)?r2(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||X0(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var sqe={tokenize:cqe};function cqe(e){let t=this,n=e.attempt(l2,r,e.attempt(this.parser.constructs.flowInitial,i,r2(e,e.attempt(this.parser.constructs.flow,i,e.attempt(pKe,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var lqe={resolveAll:k2()},uqe=O2(`string`),dqe=O2(`text`);function O2(e){return{resolveAll:k2(e===`text`?fqe:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function k2(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function fqe(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var pqe=s({attentionMarkers:()=>xqe,contentInitial:()=>hqe,disable:()=>Sqe,document:()=>mqe,flow:()=>_qe,flowInitial:()=>gqe,insideSpan:()=>bqe,string:()=>vqe,text:()=>yqe}),mqe={42:E2,43:E2,45:E2,48:E2,49:E2,50:E2,51:E2,52:E2,53:E2,54:E2,55:E2,56:E2,57:E2,62:u2},hqe={91:vKe},gqe={[-2]:h2,[-1]:h2,32:h2},_qe={35:wKe,42:T2,45:[D2,T2],60:OKe,61:D2,95:T2,96:m2,126:m2},vqe={38:f2,92:d2},yqe={[-5]:w2,[-4]:w2,[-3]:w2,33:KKe,38:f2,42:s2,60:[JGe,FKe],91:JKe,92:[SKe,d2],93:C2,95:s2,96:sKe},bqe={null:[s2,lqe]},xqe={null:[42,95]},Sqe={null:[]};function Cqe(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=V0(o,e),g(),o[o.length-1]===null?(w(t,0),l.events=o2(a,l.events,l),l.events):[]}function f(e,t){return Tqe(p(e),t)}function p(e){return wqe(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,E()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){X0(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,E()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){w(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=T(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function w(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&B0(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function T(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,E()}}function E(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function wqe(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Tqe(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=` 308`;break;case-3:o=`\r 309`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function Eqe(e){let t={constructs:U0([pqe,...(e||{}).extensions||[]]),content:n(VGe),defined:[],document:n(UGe),flow:n(sqe),lazy:{},string:n(uqe),text:n(dqe)};return t;function n(e){return n;function n(n){return Cqe(t,e,n)}}}function Dqe(e){for(;!_2(e););return e}var A2=/[\0\t\n\r]/g;function Oqe(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(A2.lastIndex=u,c=A2.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var kqe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Aqe(e){return e.replace(kqe,jqe)}
vendor: 6,558 bytes, line 309
309function jqe(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return W0(n.slice(t?2:1),t?16:10)}return z0(n)||e}var j2={}.hasOwnProperty;function Mqe(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),Nqe(n)(Dqe(Eqe(n).document().write(Oqe()(e,t,!0))))}function Nqe(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(fe),autolinkProtocol:T,autolinkEmail:T,atxHeading:a(ce),blockQuote:a(ie),characterEscape:T,characterReference:T,codeFenced:a(ae),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(ae,o),codeText:a(oe,o),codeTextData:T,data:T,codeFlowValue:T,definition:a(H),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(se),hardBreakEscape:a(le),hardBreakTrailing:a(le),htmlFlow:a(ue,o),htmlFlowData:T,htmlText:a(ue,o),htmlTextData:T,image:a(de),label:o,link:a(fe),listItem:a(me),listItemValue:f,listOrdered:a(pe,d),listUnordered:a(pe),paragraph:a(he),reference:z,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(ce),strong:a(ge),thematicBreak:a(ve)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:re,autolinkProtocol:ne,blockQuote:c(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:ee,characterReferenceMarkerNumeric:ee,characterReferenceValue:V,characterReference:te,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:E,codeIndented:c(_),codeText:c(j),codeTextData:E,data:E,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(O),hardBreakTrailing:c(O),htmlFlow:c(k),htmlFlowData:E,htmlText:c(A),htmlTextData:E,image:c(N),label:F,labelText:P,lineEnding:D,link:c(M),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:B,resourceDestinationString:I,resourceTitleString:L,resource:R,setextHeading:c(w),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};N2(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];j2.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||P2).call(a,void 0,e[0])}for(r.position={start:M2(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:M2(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(t[1].type!==`linePrefix`&&t[1].type!==`blockQuotePrefix`&&t[1].type!==`blockQuotePrefixWhitespace`&&t[1].type!==`blockQuoteMarker`&&t[1].type!==`listItemIndent`)break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:M2(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||P2).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+S0({start:e.start,end:e.end})+`): itâs not open`);n.position.end=M2(e.end)}function u(){return F0(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=G0(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function T(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=_e(),n.position={start:M2(e.start),end:void 0},t.push(n)),this.stack.push(n)}function E(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=M2(e.end)}function D(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=M2(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
vendor: 4,761 bytes, lines 309-311
309ype)&&(T.call(this,e),E.call(this,e))}function O(){this.data.atHardBreak=!0}function k(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function A(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function j(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function M(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function N(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function P(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Aqe(t),n.identifier=G0(t).toLowerCase()}function F(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function I(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function L(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function R(){this.data.inReference=void 0}function z(){this.data.referenceType=`collapsed`}function B(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=G0(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function ee(e){this.data.characterReferenceType=e.type}function V(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=W0(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=z0(t);let i=this.stack[this.stack.length-1];i.value+=r}function te(e){let t=this.stack.pop();t.position.end=M2(e.end)}function ne(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function re(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function ie(){return{type:`blockquote`,children:[]}}function ae(){return{type:`code`,lang:null,meta:null,value:``}}function oe(){return{type:`inlineCode`,value:``}}function H(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function se(){return{type:`emphasis`,children:[]}}function ce(){return{type:`heading`,depth:0,children:[]}}function le(){return{type:`break`}}function ue(){return{type:`html`,value:``}}function de(){return{type:`image`,title:null,url:``,alt:null}}function fe(){return{type:`link`,title:null,url:``,children:[]}}function pe(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function me(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function he(){return{type:`paragraph`,children:[]}}function ge(){return{type:`strong`,children:[]}}function _e(){return{type:`text`,value:``}}function ve(){return{type:`thematicBreak`}}}function M2(e){return{line:e.line,column:e.column,offset:e.offset}}function N2(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?N2(e,r):Pqe(e,r)}}function Pqe(e,t){let n;for(n in t)if(j2.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function P2(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+S0({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+S0({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+S0({start:t.start,end:t.end})+`) is still open`)}function Fqe(e){let t=this;t.parser=n;function n(n){return Mqe(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function Iqe(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Lqe(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:` 310`}]}function Rqe(e,t){let n=t.value?t.value+` 311`:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}function zqe(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Bqe(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
vendor: 4,668 bytes, lines 311-313
311function Vqe(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=n2(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function Hqe(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Uqe(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function F2(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function Wqe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return F2(e,t);let i={src:n2(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function Gqe(e,t){let n={src:n2(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Kqe(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function qqe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return F2(e,t);let i={href:n2(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Jqe(e,t){let n={href:n2(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Yqe(e,t,n){let r=e.all(t),i=n?Xqe(n):I2(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:` 312`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:` 313`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function Xqe(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=I2(n[r])}return t}function I2(e){return e.spread??e.children.length>1}function Zqe(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function Qqe(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $qe(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function eJe(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function tJe(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=b0(t.children[1]),o=y0(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{}
vendor: 4,018 bytes, line 313
313,children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function nJe(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function rJe(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var L2=9,R2=32;function iJe(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(z2(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(z2(t.slice(i),i>0,!1)),a.join(``)}function z2(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===L2||t===R2;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===L2||t===R2;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function aJe(e,t){let n={type:`text`,value:iJe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function oJe(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var sJe={blockquote:Iqe,break:Lqe,code:Rqe,delete:zqe,emphasis:Bqe,footnoteReference:Vqe,heading:Hqe,html:Uqe,imageReference:Wqe,image:Gqe,inlineCode:Kqe,linkReference:qqe,link:Jqe,listItem:Yqe,list:Zqe,paragraph:Qqe,root:$qe,strong:eJe,table:tJe,tableCell:rJe,tableRow:nJe,text:aJe,thematicBreak:oJe,toml:B2,yaml:B2,definition:B2,footnoteDefinition:B2};function B2(){}var cJe=typeof self==`object`?self:globalThis,V2=(e,t)=>{switch(e){case`Function`:case`SharedWorker`:case`Worker`:case`eval`:case`setInterval`:case`setTimeout`:throw TypeError(`unable to deserialize `+e)}return new cJe[e](t)},lJe=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(V2(e,t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(V2(a,o),i)};return r},H2=e=>lJe(new Map,e)(0),U2=``,{toString:uJe}={},{keys:dJe}=Object,W2=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=uJe.call(e).slice(8,-1);switch(n){case`Array`:return[1,U2];case`Object`:return[2,U2];case`Date`:return[3,U2];case`RegExp`:return[4,U2];case`Map`:return[5,U2];case`Set`:return[6,U2];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},G2=([e,t])=>e===0&&(t===`function`||t===`symbol`),fJe=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=W2(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of dJe(r))(e||!G2(W2(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);
vendor: 2,798 bytes, lines 313-315
313for(let[n,i]of r)(e||!(G2(W2(n))||G2(W2(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!G2(W2(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},K2=(e,{json:t,lossy:n}={})=>{let r=[];return fJe(!(t||n),!!t,new Map,r)(e),r},q2=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?H2(K2(e,t)):structuredClone(e):(e,t)=>H2(K2(e,t));function pJe(e,t){let n=[{type:`text`,value:`â©`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function mJe(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function hJe(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||pJe,r=e.options.footnoteBackLabel||mJe,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=n2(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...q2(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:` 314`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:` 315`}]}}var J2=(function(e){if(e==null)return yJe;if(typeof e==`function`)return Y2(e);if(typeof e==`object`)return Array.isArray(e)?gJe(e):_Je(e);if(typeof e==`string`)return vJe(e);throw Error(`Expected function, string, or object as test`)});function gJe(e){let t=[],n=-1;for(;++n<e.length;)t[n]=J2(e[n]);return Y2(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function _Je(e){let t=e;return Y2(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function vJe(e){return Y2(t);function t(t){return t&&t.type===e}}function Y2(e){return t;
vendor: 9,183 bytes, lines 315-319
315function t(t,n,r){return!!(bJe(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function yJe(){return!0}function bJe(e){return typeof e==`object`&&!!e&&`type`in e}function xJe(e){return e}var X2=[];function Z2(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=J2(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+xJe(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=X2,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=SJe(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function SJe(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?X2:[e]}function Q2(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Z2(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var $2={}.hasOwnProperty,CJe={};function wJe(e,t){let n=t||CJe,r=new Map,i=new Map,a={all:s,applyData:EJe,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...sJe,...n.handlers},one:o,options:n,patch:TJe,wrap:OJe};return Q2(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if($2.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=q2(n);return r.children=a.all(e),r}return q2(e)}return(a.options.unknownHandler||DJe)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=e4(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=e4(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function TJe(e,t){e.position&&(t.position=fGe(e))}function EJe(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,q2(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function DJe(e,t){let n=t.data||{},r=`value`in t&&!($2.call(n,`hProperties`)||$2.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function OJe(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:` 316`});++r<e.length;)r&&n.push({type:`text`,value:` 317`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:` 318`}),n}function e4(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function t4(e,t){let n=wJe(e,t),r=n.one(e,void 0),i=hJe(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:` 319`},i)),a}function kJe(e,t){return e&&`run`in e?async function(n,r){let i=t4(n,{file:r,...t});await e.run(i,r)}:function(n,r){return t4(n,{file:r,...e||t})}}function n4(e){if(e)throw e}var AJe=o(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function r4(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function jJe(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?MJe(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function MJe(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var i4={basename:NJe,dirname:PJe,extname:FJe,join:IJe,sep:`/`};function NJe(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);a4(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function PJe(e){if(a4(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function FJe(e){a4(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function IJe(...e){let t=-1,n;for(;++t<e.length;)a4(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:LJe(n)}function LJe(e){a4(e);let t=e.codePointAt(0)===47,n=RJe(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function RJe(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(i!==o-1&&a!==1)if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function a4(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var zJe={cwd:BJe};function BJe(){return`/`}function o4(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function VJe(e){if(typeof e==`string`)e=new URL(e);else if(!o4(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return HJe(e)}function HJe(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var s4=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],c4=class{constructor(e){let t;t=e?o4(e)?{path:e}:typeof e==`string`||UJe(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:zJe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<s4.length;){let e=s4[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)s4.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?i4.basename(this.path):void 0}
vendor: 13,091 bytes, line 319
319set basename(e){u4(e,`basename`),l4(e,`basename`),this.path=i4.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?i4.dirname(this.path):void 0}set dirname(e){d4(this.basename,`dirname`),this.path=i4.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?i4.extname(this.path):void 0}set extname(e){if(l4(e,`extname`),d4(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=i4.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){o4(e)&&(e=VJe(e)),u4(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?i4.basename(this.path,this.extname):void 0}set stem(e){u4(e,`stem`),l4(e,`stem`),this.path=i4.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new E0(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function l4(e,t){if(e&&e.includes(i4.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+i4.sep+"`")}function u4(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function d4(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function UJe(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var WJe=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),f4=l(AJe(),1),GJe={}.hasOwnProperty,KJe=new class e extends WJe{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=jJe()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,f4.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(h4(`data`,this.frozen),this.namespace[e]=t,this):GJe.call(this.namespace,e)&&this.namespace[e]||void 0:e?(h4(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=v4(e),n=this.parser||this.Parser;return p4(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),p4(`process`,this.parser||this.Parser),m4(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=v4(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);JJe(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),p4(`processSync`,this.parser||this.Parser),m4(`processSync`,this.compiler||this.Compiler),this.process(e,r),_4(`processSync`,`process`,t),n;function r(e,r){t=!0,n4(e),n=r}}run(e,t,n){g4(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=v4(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),_4(`runSync`,`run`,n),r;function i(e,t){n4(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=v4(t),r=this.compiler||this.Compiler;return m4(`stringify`,r),g4(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(h4(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,f4.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];r4(o)&&r4(r)&&(r=(0,f4.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function p4(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function m4(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function h4(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function g4(e){if(!r4(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function _4(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function v4(e){return qJe(e)?e:new c4(e)}function qJe(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function JJe(e){return typeof e==`string`||YJe(e)}function YJe(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var y4=[],b4={allowDangerousHtml:!0},XJe=/^(https?|ircs?|mailto|xmpp)$/i,ZJe=[{from:`astPlugins`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowDangerousHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowNode`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowElement`},{from:`allowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowedElements`},{from:`className`,id:`remove-classname`},{from:`disallowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`disallowedElements`},{from:`escapeHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`includeElementIndex`,id:`#remove-includeelementindex`},{from:`includeNodeIndex`,id:`change-includenodeindex-to-includeelementindex`},{from:`linkTarget`,id:`remove-linktarget`},{from:`plugins`,id:`change-plugins-to-remarkplugins`,to:`remarkPlugins`},{from:`rawSourcePos`,id:`#remove-rawsourcepos`},{from:`renderers`,id:`change-renderers-to-components`,to:`components`},{from:`source`,id:`change-source-to-children`,to:`children`},{from:`sourcePos`,id:`#remove-sourcepos`},{from:`transformImageUri`,id:`#add-urltransform`,to:`urlTransform`},{from:`transformLinkUri`,id:`#add-urltransform`,to:`urlTransform`}];function x4(e){let t=QJe(e),n=$Je(e);return eYe(t.runSync(t.parse(n),n),e)}function QJe(e){let t=e.rehypePlugins||y4,n=e.remarkPlugins||y4,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...b4}:b4;return KJe().use(Fqe).use(n).use(kJe,r).use(t)}function $Je(e){let t=e.children||``,n=new c4;return typeof t==`string`?n.value=t:``+t,n}function eYe(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||tYe;for(let e of ZJe)Object.hasOwn(t,e.from)&&``+e.from+(e.to?"use `"+e.to+"` instead":`remove it`)+e.id;return Q2(e,l),vGe(e,{Fragment:U.Fragment,components:i,ignoreInvalidStyle:!0,jsx:U.jsx,jsxs:U.jsxs,passKeys:!0,passNode:!0});function l(e,t,i){if(e.type===`raw`&&i&&typeof t==`number`)return o?i.children.splice(t,1):i.children[t]={type:`text`,value:e.value},t;if(e.type===`element`){let t;for(t in P0)if(Object.hasOwn(P0,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=P0[t];(r===null||r.includes(e.tagName))&&(e.properties[t]=c(String(n||``),t,e))}}if(e.type===`element`){let o=n?!n.includes(e.tagName):a?a.includes(e.tagName):!1;if(!o&&r&&typeof t==`number`&&(o=!r(e,t,i)),o&&i&&typeof t==`number`)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}}function tYe(e){let t=e.indexOf(`:`),n=e.indexOf(`?`),r=e.indexOf(`#`),i=e.indexOf(`/`);return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||XJe.test(e.slice(0,t))?e:``}function S4(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function nYe(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function rYe(e,t,n){let r=J2((n||{}).ignore||[]),i=iYe(t),a=-1;for(;++a<i.length;)Z2(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function iYe(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([aYe(e[0]),oYe(e[1])])}return t}function aYe(e){return typeof e==`string`?new RegExp(nYe(e),`g`):e}function oYe(e){return typeof e==`function`?e:function(){return e}}var C4=`phrasing`,w4=[`autolink`,`link`,`image`,`label`];function sYe(){return{transforms:[mYe],enter:{literalAutolink:lYe,literalAutolinkEmail:T4,literalAutolinkHttp:T4,literalAutolinkWww:T4},exit:{literalAutolink:pYe,literalAutolinkEmail:fYe,literalAutolinkHttp:uYe,literalAutolinkWww:dYe}}}function cYe(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:C4,notInConstruct:w4},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:C4,notInConstruct:w4},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:C4,notInConstruct:w4}]}}function lYe(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function T4(e){this.config.enter.autolinkProtocol.call(this,e)}function uYe(e){this.config.exit.autolinkProtocol.call(this,e)}function dYe(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function fYe(e){this.config.exit.autolinkEmail.call(this,e)}function pYe(e){this.exit(e)}function mYe(e){rYe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,hYe],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,gYe]],{ignore:[`link`,`linkReference`]})}function hYe(e,t,n,r,i){let a=``;if(!E4(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!_Ye(n)))return!1;let o=vYe(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function gYe(e,t,n,r){return!E4(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function _Ye(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function vYe(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=S4(e,`(`),a=S4(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function E4(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||e2(n)||$0(n))&&(!t||n!==47)}D4.peek=DYe;function yYe(){this.buffer()}function bYe(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function xYe(){this.buffer()}function SYe(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function CYe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=G0(this.sliceSerialize(e)).toLowerCase(),n.label=t}function wYe(e){this.exit(e)}function TYe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=G0(this.sliceSerialize(e)).toLowerCase(),n.label=t}function EYe(e){this.exit(e)}function DYe(){return`[`}function D4(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function OYe(){return{enter:{gfmFootnoteCallString:yYe,gfmFootnoteCall:bYe,gfmFootnoteDefinitionLabelString:xYe,gfmFootnoteDefinition:SYe},exit:{gfmFootnoteCallString:CYe,gfmFootnoteCall:wYe,gfmFootnoteDefinitionLabelString:TYe,gfmFootnoteDefinition:EYe}}}
vendor: 9,827 bytes, lines 319-332
319function kYe(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:D4},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?` 320`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?O4:AYe))),s(),o}}function AYe(e,t,n){return t===0?e:O4(e,t,n)}function O4(e,t,n){return(n?``:` `)+e}var jYe=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];k4.peek=IYe;function MYe(){return{canContainEols:[`delete`],enter:{strikethrough:PYe},exit:{strikethrough:FYe}}}function NYe(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:jYe}],handlers:{delete:k4}}}function PYe(e){this.enter({type:`delete`,children:[]},e)}function FYe(e){this.exit(e)}function k4(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function IYe(){return`~`}function LYe(e){return e.length}function RYe(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||LYe,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=zYe(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=A4(r[d]);else{let e=A4(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&(n.alignDelimiters!==!1||i!==``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(` 321`)}function zYe(e){return e==null?``:String(e)}function A4(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function BYe(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),VYe);return i(),o}function VYe(e,t,n){return`>`+(n?``:` `)+e}function HYe(e,t){return j4(e,t.inConstruct,!0)&&!j4(e,t.notInConstruct,!1)}function j4(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function M4(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===` 322`&&HYe(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\ 323`}function UYe(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function WYe(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function GYe(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function KYe(e,t,n,r){let i=GYe(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(WYe(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,qYe);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(UYe(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:` 324`,encode:["`"],...s.current()})),t()}return u+=s.move(` 325`),a&&(u+=s.move(a+` 326`)),u+=s.move(c),l(),u}function qYe(e,t,n){return(n?``:` `)+e}function N4(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function JYe(e,t,n,r){let i=N4(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:` 327`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function YYe(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function P4(e){return`&#x`+e.toString(16).toUpperCase()+`;`}function F4(e,t,n){let r=a2(e),i=a2(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}I4.peek=XYe;function I4(e,t,n,r){let i=YYe(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=F4(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=P4(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=F4(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+P4(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function XYe(e,t,n){return n.options.emphasis||`*`}function ZYe(e,t){let n=!1;return Q2(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&F0(e)&&(t.options.setext||n))}function QYe(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(ZYe(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:` 328`,after:` 329`});return r(),t(),o+` 330`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(` 331`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:` 332`,...a.current()});return/^[\t ]/.test(l)&&(l=P4(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}L4.peek=$Ye;function L4(e){return e.value||``}function $Ye(){return`<`}R4.peek=eXe;function R4(e,t,n,r){let i=N4(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function eXe(){return`!`}z4.peek=tXe;function z4(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function tXe(){return`!`}B4.peek=nXe;function B4(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function nXe(){return"`"}function V4(e,t){let n=F0(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}H4.peek=rXe;function H4(e,t,n,r){let i=N4(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(V4(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}
vendor: 20,142 bytes, lines 332-334
332))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function rXe(e,t,n){return V4(e,n)?`<`:`[`}U4.peek=iXe;function U4(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function iXe(){return`[`}function W4(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function aXe(e){let t=W4(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function oXe(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function G4(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function sXe(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?oXe(n):W4(n),s=e.ordered?o===`.`?`)`:`.`:aXe(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),G4(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function cXe(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function lXe(e,t,n,r){let i=cXe(n),a=n.bulletCurrent||W4(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function uXe(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var dXe=J2([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function fXe(e,t,n,r){return(e.children.some(function(e){return dXe(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function pXe(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}K4.peek=mXe;function K4(e,t,n,r){let i=pXe(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=F4(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=P4(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=F4(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+P4(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function mXe(e,t,n){return n.options.strong||`*`}function hXe(e,t,n,r){return n.safe(e.value,r)}function gXe(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function _Xe(e,t,n){let r=(G4(n)+(n.options.ruleSpaces?` `:``)).repeat(gXe(n));return n.options.ruleSpaces?r.slice(0,-1):r}var q4={blockquote:BYe,break:M4,code:KYe,definition:JYe,emphasis:I4,hardBreak:M4,heading:QYe,html:L4,image:R4,imageReference:z4,inlineCode:B4,link:H4,linkReference:U4,list:sXe,listItem:lXe,paragraph:uXe,root:fXe,strong:K4,text:hXe,thematicBreak:_Xe};function vXe(){return{enter:{table:yXe,tableData:Y4,tableHeader:Y4,tableRow:xXe},exit:{codeText:SXe,table:bXe,tableData:J4,tableHeader:J4,tableRow:J4}}}function yXe(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function bXe(e){this.exit(e),this.data.inTable=void 0}function xXe(e){this.enter({type:`tableRow`,children:[]},e)}function J4(e){this.exit(e)}function Y4(e){this.enter({type:`tableCell`,children:[]},e)}function SXe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,CXe));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function CXe(e,t){return t===`|`?t:e}function wXe(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:` 333`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(` 334`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return RYe(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=q4.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function TXe(){return{exit:{taskListCheckValueChecked:X4,taskListCheckValueUnchecked:X4,paragraph:DXe}}}function EXe(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:OXe}}}function X4(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function DXe(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function OXe(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=q4.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function kXe(){return[sYe(),OYe(),MYe(),vXe(),TXe()]}function AXe(e){return{extensions:[cYe(),kYe(e),NYe(),wXe(e),EXe()]}}var jXe={tokenize:LXe,partial:!0},Z4={tokenize:RXe,partial:!0},Q4={tokenize:zXe,partial:!0},$4={tokenize:BXe,partial:!0},MXe={tokenize:VXe,partial:!0},e3={name:`wwwAutolink`,tokenize:FXe,previous:a3},t3={name:`protocolAutolink`,tokenize:IXe,previous:o3},n3={name:`emailAutolink`,tokenize:PXe,previous:s3},r3={};function NXe(){return{text:r3}}for(var i3=48;i3<123;)r3[i3]=n3,i3++,i3===58?i3=65:i3===91&&(i3=97);r3[43]=n3,r3[45]=n3,r3[46]=n3,r3[95]=n3,r3[72]=[n3,t3],r3[104]=[n3,t3],r3[87]=[n3,e3],r3[119]=[n3,e3];function PXe(e,t,n){let r=this,i,a;return o;function o(t){return!c3(t)||!s3.call(r,r.previous)||l3(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return c3(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(MXe,u,l)(t):t===45||t===95||q0(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&K0(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function FXe(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!a3.call(r,r.previous)||l3(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(jXe,e.attempt(Z4,e.attempt(Q4,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function IXe(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&o3.call(r,r.previous)&&!l3(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(K0(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||J0(t)||Z0(t)||e2(t)||$0(t)?n(t):e.attempt(Z4,e.attempt(Q4,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function LXe(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function RXe(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check($4,c,s)(t):t===null||Z0(t)||e2(t)||t!==45&&$0(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function zXe(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check($4,t,a)(o):o===null||Z0(o)||e2(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function BXe(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||Z0(o)||e2(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||Z0(e)||e2(e)?t(e):r(e)}function a(e){return K0(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):K0(t)?(e.consume(t),o):n(t)}}function VXe(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return q0(e)?n(e):t(e)}}function a3(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Z0(e)}function o3(e){return!K0(e)}function s3(e){return!(e===47||c3(e))}function c3(e){return e===43||e===45||e===46||e===95||q0(e)}function l3(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var HXe={tokenize:XXe,partial:!0};function UXe(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:qXe,continuation:{tokenize:JXe},exit:YXe}},text:{91:{name:`gfmFootnoteCall`,tokenize:KXe},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:WXe,resolveTo:GXe}}}}function WXe(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=G0(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function GXe(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function KXe(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||Z0(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(G0(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return Z0(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function qXe(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||Z0(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=G0(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return Z0(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),r2(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function JXe(e,t,n){return e.check(l2,t,e.attempt(HXe,t,n))}function YXe(e){e.exit(`gfmFootnoteDefinition`)}function XXe(e,t,n){let r=this;return r2(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function ZXe(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&B0(o,o.length,0,o2(s,e.slice(r+1,n),t)),B0(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),B0(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=a2(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=a2(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var QXe=class{constructor(){this.map=[]}add(e,t,n){$Xe(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function $Xe(e,t,n,r){let i=0;if(n!==0||r.length!==0){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function eZe(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function tZe(){return{flow:{null:{name:`table`,tokenize:nZe,resolveAll:rZe}}}}function nZe(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):X0(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):Q0(t)?r2(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||Z0(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,Q0(t)?r2(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return Q0(t)?r2(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||X0(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return Q0(t)?r2(e,b,`whitespace`)(t):b(t)}
334function b(n){return n===124?m(n):n===null||X0(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||X0(n)?(e.exit(`tableRow`),t(n)):Q0(n)?r2(e,C,`whitespace`)(n):(e.enter(`data`),w(n))}function w(t){return t===null||t===124||Z0(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?T:w)}function T(t){return t===92||t===124?(e.consume(t),w):w(t)}}function rZe(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new QXe;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(d3(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=u3(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=u3(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=u3(f,t,o,i,n,d)):(o[0]=o[1],d=u3(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&d3(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=eZe(t.events,n))}return e}function u3(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},f3(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=f3(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=f3(t.events,n[2]),a=f3(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},f3(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function d3(e,t,n,r,i){let a=[],o=f3(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function f3(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var iZe={name:`tasklistCheck`,tokenize:oZe};function aZe(){return{text:{91:iZe}}}function oZe(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return Z0(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return X0(r)?t(r):Q0(r)?e.check({tokenize:sZe},t,n)(r):n(r)}}function sZe(e,t,n){return r2(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function cZe(e){return U0([NXe(),UXe(),ZXe(e),tZe(),aZe()])}var lZe={};function p3(e){let t=this,n=e||lZe,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(cZe(n)),a.push(kXe()),o.push(AXe(n))}function uZe({children:e,className:t}){return(0,U.jsx)(`div`,{className:W(`max-w-full min-w-0 text-[12px] leading-[18px] [overflow-wrap:anywhere]`,`[&_p]:my-1 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0`,`[&_li]:my-0.5 [&_ol]:my-1 [&_ol]:list-decimal [&_ol]:pl-4 [&_ul]:my-1 [&_ul]:list-disc [&_ul]:pl-4`,`[&_em]:italic [&_h1]:my-1 [&_h1]:text-[13px] [&_h1]:font-semibold [&_h2]:my-1 [&_h2]:text-[12.5px] [&_h2]:font-semibold [&_h3]:my-1 [&_h3]:font-semibold [&_strong]:font-semibold`,`[&_a]:text-violet [&_a]:underline`,`[&_table]:block [&_table]:max-w-full [&_table]:overflow-x-auto`,`[&_pre]:bg-surface-alt [&_pre]:border-border [&_pre]:my-1.5 [&_pre]:max-w-full [&_pre]:overflow-x-auto [&_pre]:rounded-md [&_pre]:border-[0.5px] [&_pre]:p-2`,`[&_code]:font-mono [&_code]:text-[11px] [&_pre_code]:text-[11px] [&_pre_code]:leading-[17px]`,`[&_:not(pre)>code]:bg-surface-alt [&_:not(pre)>code]:rounded [&_:not(pre)>code]:px-1 [&_:not(pre)>code]:py-0.5`,t),children:(0,U.jsx)(x4,{remarkPlugins:[p3],children:e})})}function m3({messages:e,reasoning:t,streaming:n,loadingHistory:r,extensionLoaded:i,extensionReady:a,runInProgress:o,onSend:s,onStop:c,onClear:l,onRewind:u,onCompact:d,emptyReady:f,emptyNoExtension:p,className:m}){let h=X(`pages.web.editor`),g=a?`live`:i?`noPage`:`noExtension`,[_,v]=(0,O.useState)(``),[y,b]=(0,O.useState)(0),[x,S]=(0,O.useState)(!1),C=(0,O.useRef)(null);(0,O.useEffect)(()=>{C.current?.scrollIntoView({block:`end`})},[e,t,n]);let w=[];d&&w.push({name:`compact`,desc:h(`scriptCommandCompactDesc`),enabled:e.length>=4,hint:h(`scriptCommandCompactHint`),run:d}),l&&w.push({name:`clear`,desc:h(`scriptCommandClearDesc`),enabled:e.length>0,hint:h(`scriptCommandClearHint`),run:l});let T=/^\/(\w*)$/.exec(_),E=T?w.filter(e=>e.name.startsWith(T[1].toLowerCase())):[],D=!n&&!x&&E.length>0,k=E.map((e,t)=>e.enabled?t:-1).filter(e=>e>=0),A=k.includes(y)?y:k[0]??0;function j(e){v(``),S(!1),b(0),e.run()}function M(){let e=_.trim();if(!e||n||o)return;let t=w.find(t=>`/${t.name}`===e.toLowerCase());if(t){t.enabled?j(t):v(``);return}s(e),v(``)}return(0,U.jsxs)(`div`,{className:W(`border-border bg-surface-alt flex min-h-0 flex-col overflow-hidden rounded-[10px] border-[0.5px]`,m),children:[(0,U.jsxs)(`div`,{className:`border-divider text-fg-strong flex items-center gap-1.5 border-b px-2.5 py-1.5 text-[11px] font-semibold`,children:[(0,U.jsx)(qb,{className:`text-violet size-3.5`}),` `,h(`text2testAssistant`),(0,U.jsx)(`span`,{className:W(`ml-auto rounded-full px-1.5 py-0.5 text-[9.5px] font-medium`,g===`live`?`bg-status-passed-bg text-status-passed-fg`:`bg-surface text-fg-hint`),children:h(`scriptPageState.${g}`)})]}),(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 scrollbar-none flex-col gap-2.5 overflow-y-auto px-2.5 py-2.5`,children:[e.length===0&&r&&(0,U.jsxs)(`div`,{className:`text-fg-hint flex items-center justify-center gap-1.5 px-1 py-3 text-[10.5px] leading-[15px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),` `,h(`scriptLoadingConversation`)]}),e.length===0&&!r&&(0,U.jsx)(`p`,{className:`text-fg-hint px-1 py-3 text-center text-[10.5px] leading-[15px]`,children:i?f??h(`scriptEmptyReady`):
334p??h(`scriptEmptyNoExtension`)}),e.map(e=>(0,U.jsxs)(`div`,{className:W(`group flex max-w-[92%] items-center gap-1 text-[12px] leading-[18px]`,e.role===`user`?`self-end`:`self-start`),children:[e.role===`user`&&u&&!n&&(0,U.jsx)(dy,{content:h(`rewindToHere`),children:(0,U.jsx)(`button`,{type:`button`,"aria-label":h(`rewindToHere`),onClick:()=>u(e.id),className:`text-fg-hint hover:text-fg-strong order-first shrink-0 opacity-0 transition-opacity group-hover:opacity-100`,children:(0,U.jsx)(Lb,{className:`size-3`})})}),(0,U.jsx)(`div`,{className:W(`min-w-0 rounded-[9px] px-2.5 py-1.5`,!e.text&&e.streaming&&t&&`hidden`,e.role===`user`?`bg-violet whitespace-pre-wrap text-white`:e.error?`bg-status-failed-bg text-status-failed-fg whitespace-pre-wrap`:`bg-surface text-foreground border-border border-[0.5px]`),children:e.role===`assistant`&&!e.error&&e.text?(0,U.jsx)(uZe,{children:e.text}):e.text||(e.streaming&&!t?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):null)})]},e.id)),n&&t&&(0,U.jsx)(WWe,{text:t,streaming:n,className:`self-stretch`}),(0,U.jsx)(`div`,{ref:C})]}),(0,U.jsxs)(`div`,{className:`border-divider relative border-t p-2`,children:[D&&(0,U.jsxs)(`div`,{className:`border-border bg-surface absolute right-2 bottom-full left-2 mb-1 overflow-hidden rounded-md border-[0.5px] shadow-lg`,children:[(0,U.jsx)(`div`,{className:`text-fg-hint border-divider border-b px-2.5 py-1 text-[10px] font-medium tracking-wide uppercase`,children:h(`scriptCommands`)}),E.map((e,t)=>(0,U.jsxs)(`button`,{type:`button`,disabled:!e.enabled,onMouseDown:t=>{t.preventDefault(),e.enabled&&j(e)},onMouseEnter:()=>e.enabled&&b(t),className:W(`flex w-full items-center gap-2 px-2.5 py-1.5 text-left transition-colors`,e.enabled?t===A?`bg-surface-hover`:`hover:bg-surface-hover`:`cursor-not-allowed opacity-50`),children:[(0,U.jsxs)(`span`,{className:`text-fg-strong text-[12px] font-medium`,children:[`/`,e.name]}),(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[11px]`,children:e.enabled?e.desc:e.hint})]},e.name))]}),(0,U.jsxs)(`div`,{className:`border-border bg-surface focus-within:border-violet flex items-end gap-1.5 rounded-md border-[0.5px] px-2 py-1.5 transition-colors`,children:[(0,U.jsx)(`textarea`,{value:_,onChange:e=>{v(e.target.value),S(!1),b(0)},onKeyDown:e=>{if(D){if(e.key===`ArrowDown`||e.key===`ArrowUp`){if(e.preventDefault(),k.length){let t=k.indexOf(A),n=e.key===`ArrowDown`?1:-1;b(k[(t+n+k.length)%k.length])}return}if(e.key===`Enter`||e.key===`Tab`){e.preventDefault();let t=E[A];t?.enabled&&j(t);return}if(e.key===`Escape`){e.preventDefault(),S(!0);return}}if(e.key===`Enter`&&(e.altKey||e.ctrlKey||e.metaKey)){e.preventDefault();let t=e.currentTarget,n=t.selectionStart,r=t.selectionEnd;v(e=>e.slice(0,n)+` 335`+e.slice(r)),requestAnimationFrame(()=>{t.selectionStart=t.selectionEnd=n+1});return}e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),M())},rows:1,disabled:o,placeholder:h(o?`scriptChatRunInProgress`:`scriptChatPlaceholder`),className:`text-foreground placeholder:text-fg-hint max-h-24 min-h-[18px] flex-1 resize-none bg-transparent text-[12px] leading-[18px] outline-none`}),n?(0,U.jsx)(dy,{content:h(`stop`),children:(0,U.jsx)(`button`,{type:`button`,"aria-label":h(`stop`),onClick:c,className:`bg-surface-alt text-fg-strong hover:bg-surface-hover grid size-6 shrink-0 place-items-center rounded-md transition-colors`,children:(0,U.jsx)(Yb,{className:`size-3 fill-current`})})}):(0,U.jsx)(dy,{content:h(`send`),children:(0,U.jsx)(`button`,{type:`button`,"aria-label":h(`send`),onClick:M,disabled:!_.trim()||o,className:`bg-violet hover:bg-violet-dark grid size-6 shrink-0 place-items-center rounded-md text-white transition-colors disabled:opacity-40`,children:(0,U.jsx)(wy,{className:`size-3.5`})})})]})]})]})}var h3=new K$(`${window.location.protocol===`https:`?`wss`:`ws`}://${window.location.host}/autopilot/ws/web/chat`,{keepAlive:{subscribeDestination:`/topic/keepalive`,pingDestination:`/app/keepalive`,intervalMs:3e4}});function dZe(e,t,n){return`${e.toolGlyphs.get(t)??`ð§`} ${(n.intent||n.justification||t).trim()}`}var fZe=`/app/web/tool/response`,pZe=class{constructor(e,t,n){this.channel=e,this.sessionId=t,this.handlers=n,this.chatTopic=`/topic/${e.name}/chat/${t}`,this.toolTopic=`/topic/web/tool-request/${t}`}destination(e){return`/app/${this.channel.name}/chat/${e}`}start(){return new Promise((e,t)=>
335{h3.connect(()=>{h3.subscribe(this.toolTopic,e=>this.onToolFrame(e.body)),h3.subscribeWithReceipt(this.chatTopic,e=>this.onChatFrame(e.body)).then(e,t)},e=>t(Error(e)))})}sendMessage(e,t,n,r=``,i){h3.sendMessage(this.destination(`message`),JSON.stringify({type:`CHAT_MESSAGE`,message:e,conversationId:t,sessionId:this.sessionId,executorReady:n,currentCode:r,testId:i}))}clearConversation(e){h3.sendMessage(this.destination(`clear`),JSON.stringify({sessionId:this.sessionId,conversationId:e}))}rewindConversation(e,t){h3.sendMessage(this.destination(`rewind`),JSON.stringify({sessionId:this.sessionId,conversationId:e,messages:t}))}compactConversation(e){h3.sendMessage(this.destination(`compact`),JSON.stringify({sessionId:this.sessionId,conversationId:e}))}requestHistory(e){h3.sendMessage(this.destination(`history`),JSON.stringify({sessionId:this.sessionId,conversationId:e}))}stop(){h3.sendMessage(this.destination(`stop`),JSON.stringify({sessionId:this.sessionId})),h3.unsubscribe(this.chatTopic),h3.unsubscribe(this.toolTopic)}onChatFrame(e){let t;try{t=JSON.parse(e)}catch{return}if(t.type===`HISTORY`){let e=Array.isArray(t.payload)?t.payload.filter(e=>e&&(e.role===`user`||e.role===`assistant`)&&typeof e.content==`string`):[];this.handlers.onHistory?.(e);return}let n=t.payload==null?``:String(t.payload);switch(t.type){case`CHAT_RESPONSE`:this.handlers.onChatResponse?.(n);break;case`REASONING_CONTENT`:this.handlers.onReasoning?.(n);break;case`DONE`:this.handlers.onDone?.(n,!!t.success);break;case`ERROR`:this.handlers.onError?.(n);break;case`SESSION_STOPPED`:this.handlers.onStopped?.();break;case`COMPACTED`:this.handlers.onCompacted?.(n);break;case`EDITOR_PROGRESS`:try{let e=JSON.parse(n);this.handlers.onEditorProgress?.(typeof e.code==`string`?e.code:``,Array.isArray(e.steps)?e.steps:[])}catch{}}}async onToolFrame(e){let t;try{t=JSON.parse(e)}catch{return}if(!t.requestId||!t.toolName)return;let n=t.requestId;if(this.handlers.onToolCall?.(t.toolName,{instruction:t.parameters?.instruction,justification:t.parameters?.justification,intent:t.parameters?.intent}),t.toolName===`write_to_editor`){let e=typeof t.parameters?.code==`string`?t.parameters.code:``;this.handlers.onWriteToEditor?.(e,{instruction:t.parameters?.instruction,justification:t.parameters?.justification,intent:t.parameters?.intent}),this.respondTool(n,{result:`Delivered to the editor (shown as a diff for the user to accept).`});return}if(this.channel.browserTools.has(t.toolName)){let e={requestId:n,sessionId:this.sessionId,toolName:t.toolName,parameters:t.parameters??{}},r=t.toolName===`run_native_step`?await KT.requestTool(e,43e4):await KT.requestTool(e);this.respondTool(n,r);return}this.respondTool(n,{error:`Unsupported tool: ${t.toolName}`})}respondTool(e,t){h3.sendMessage(fZe,JSON.stringify({requestId:e,sessionId:this.sessionId,result:t.result,error:t.error}))}},mZe={name:`evaluatejs`,browserTools:new Set([`browser_snapshot`,`browser_get_element`,`browser_evaluate`,`browser_generate_locator`,`run_script_step`]),toolGlyphs:new Map([[`browser_snapshot`,`ð¸`],[`browser_get_element`,`ð`],[`browser_generate_locator`,`ð¯`],[`browser_evaluate`,`âï¸`],[`run_script_step`,`â¶ï¸`],[`write_to_editor`,`âï¸`]]),sessionPrefix:`evaljs-`,conversationPrefix:`evaljs-conv-`},hZe=0,g3=()=>`m${++hZe}-${typeof crypto<`u`&&crypto.randomUUID?crypto.randomUUID():Math.round(performance.now())}`;function _3(e,t,n){return Promise.race([e,new Promise((e,r)=>setTimeout(()=>r(Error(n)),t))])}function v3(e,t,n){let{loaded:r,ready:i}=Y$(),a=X(`pages.web.editor`),o=(0,O.useRef)({connectFailed:``,sendFailed:``,compactConnectFailed:``,compactFailed:``,compacted:``,warmingUp:``});(0,O.useEffect)(()=>{o.current={connectFailed:a(`chatConnectFailed`),sendFailed:a(`chatSendFailed`),compactConnectFailed:a(`chatCompactConnectFailed`),compactFailed:a(`chatCompactFailed`),compacted:a(`chatCompacted`),warmingUp:a(`chatWarmingUp`)}});let[s,c]=(0,O.useState)([]),[l,u]=(0,O.useState)(``),[d,f]=(0,O.useState)(!1),[p,m]=(0,O.useState)(!0),h=(0,O.useRef)(null),g=(0,O.useRef)(`${e.conversationPrefix}${t}`),_=(0,O.useRef)(null),v=(0,O.useRef)(n),y=(0,O.useRef)(e),b=(0,O.useRef)([]);(0,O.useEffect)(()=>{v.current=n,y.current=e});let x=(0,O.useCallback)(e=>{let t=_.current;t&&c(n=>n.map(n=>n.id===t?{...n,text:n.text+e}:n))},[]),S=(0,O.useCallback)(e=>{let t=_.current;f(!1),KT.setAgentTurn(!1),t&&c(n=>n.flatMap(n=>{if(n.id!==t)return[n];let r=e?.replaceWith&&!n.text?e.replaceWith:n.text;return r?[{...n,streaming:!1,error:e?.error,text:r}]:[]})),_.current=null},[]),C=(0,O.useCallback)(()=>
335{if(h.current)return h.current;let e=new pZe(y.current,`${y.current.sessionPrefix}${t}`,{onChatResponse:x,onReasoning:e=>u(t=>t+e),onToolCall:(e,t)=>u(n=>n+dZe(y.current,e,t)+` 336`),onDone:e=>S({replaceWith:e}),onError:e=>S({error:!0,replaceWith:e}),onStopped:()=>S(),onCompacted:e=>{b.current=[],_.current=null,u(``),f(!1),c([{id:g3(),role:`assistant`,text:`**${o.current.compacted}**\n\n${e}`}])},onHistory:e=>{m(!1),c(t=>t.length>0?t:e.map(e=>({id:g3(),role:e.role,text:e.content})))},onWriteToEditor:e=>v.current.onWriteToEditor(e),onEditorProgress:(e,t)=>v.current.onEditorProgress?.(e,t)});return h.current=e,e},[t,x,S]),w=(0,O.useCallback)(async e=>{let t=e.trim();if(!t||d)return;let n=g3(),i=g3();_.current=i,m(!1);let a=v.current.getDraft?.()??``;c(e=>(b.current.push({userMessageId:n,draft:a,messages:e}),[...e,{id:n,role:`user`,text:t},{id:i,role:`assistant`,text:``,streaming:!0}])),u(``),f(!0),KT.setAgentTurn(!0);try{let e=C();await _3(e.start(),1e4,o.current.connectFailed);let n=!1;r&&(n=await KT.checkReady(),!n&&v.current.warmUp&&(u(e=>e+o.current.warmingUp+` 337`),n=await v.current.warmUp())),e.sendMessage(t,g.current,n,v.current.getDraft?.()??``,v.current.testId)}catch(e){S({error:!0,replaceWith:e instanceof Error?e.message:o.current.sendFailed})}},[C,d,r,S]),T=(0,O.useCallback)(()=>{h.current?.stop(),S()},[S]),E=(0,O.useCallback)(()=>{KT.setAgentTurn(!1),h.current?.clearConversation(g.current),b.current=[],_.current=null,c([]),u(``),f(!1)},[]),D=(0,O.useCallback)(async()=>{if(d)return;let e=C();f(!0);try{await _3(e.start(),1e4,o.current.compactConnectFailed),e.compactConversation(g.current)}catch(e){f(!1),c(t=>[...t,{id:g3(),role:`assistant`,error:!0,text:e instanceof Error?e.message:o.current.compactFailed}])}},[d,C]),k=(0,O.useCallback)(e=>{let t=b.current.find(t=>t.userMessageId===e);if(!t)return;b.current=b.current.slice(0,b.current.indexOf(t)),_.current=null,f(!1),u(``),c(t.messages),v.current.setDraft?.(t.draft);let n=t.messages.filter(e=>e.text&&!e.error&&!e.streaming).map(e=>({role:e.role,content:e.text}));h.current?.rewindConversation(g.current,n)},[]),A=(0,O.useRef)(!1);return(0,O.useEffect)(()=>{if(A.current)return;A.current=!0;let e=!1,t=setTimeout(()=>m(!1),8e3);return(async()=>{try{let t=C();await t.start(),e||t.requestHistory(g.current)}catch{m(!1)}})(),()=>{e=!0,clearTimeout(t)}},[C]),(0,O.useEffect)(()=>()=>{KT.setAgentTurn(!1),h.current?.stop()},[]),{messages:s,reasoning:l,streaming:d,loadingHistory:p,extensionLoaded:r,extensionReady:i,send:w,stop:T,clear:E,rewind:k,compact:D}}function gZe(e,t,n,r,i){return v3(mZe,e,{onWriteToEditor:t,warmUp:n,getDraft:r,setDraft:i})}var _Ze=(0,O.lazy)(()=>N(()=>import(`./MonacoDiff-f8IH1mvq.js`),__vite__mapDeps([5,1,2,3,4])));function vZe(e){return(0,U.jsx)(O.Suspense,{fallback:(0,U.jsx)(i1,{}),children:(0,U.jsx)(_Ze,{...e})})}function y3({badgeClassName:e,title:t,stepNumber:n,onRun:r,runDisabled:i,runTitle:a,saving:o,saveDisabled:s,saveTitle:c,onSave:l,onClose:u}){let d=X(`pages.web.editor`);return(0,U.jsxs)(`header`,{className:`border-divider flex items-center gap-3 border-b px-4 py-2.5`,children:[(0,U.jsxs)(`span`,{className:W(`inline-flex items-center gap-1.5 rounded-full px-2.5 py-1 text-[11px] font-medium`,e),children:[(0,U.jsx)(qb,{className:`size-3.5`}),` `,t]}),(0,U.jsx)(`span`,{className:`text-fg-hint text-[12px]`,children:d(`stepNumber`,{index:n})}),(0,U.jsxs)(`div`,{className:`ml-auto flex items-center gap-1.5`,children:[r&&(0,U.jsxs)(`button`,{type:`button`,onClick:r,disabled:i,title:a,className:`text-fg-strong hover:bg-surface-hover border-border-strong inline-flex items-center gap-1.5 rounded-md border-[0.5px] px-2.5 py-1.5 text-[12px] font-medium transition-colors disabled:opacity-50`,children:[(0,U.jsx)(Mb,{className:`size-3.5 fill-current`}),` `,d(`run`)]}),(0,U.jsxs)(`button`,{type:`button`,disabled:o||s,title:c,onClick:l,className:`bg-violet hover:bg-violet-dark inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-[12px] font-medium text-white transition-colors disabled:opacity-50`,children:[o?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):(0,U.jsx)(Rb,{className:`size-3.5`}),` `,d(`save`)]}),(0,U.jsx)(`button`,{type:`button`,onClick:u,"aria-label":d(`close`),className:`text-muted-foreground hover:bg-surface-hover hover:text-fg-strong ml-1 grid size-7 place-items-center rounded-md transition-colors`,children:(0,U.jsx)(ox,{className:`size-4`})})]})]})}function b3({orientation:e,label:t,onPointerDown:n}){return(0,U.jsx)(`div`,{role:`separator`,"aria-orientation":e,"aria-label":t,onPointerDown:n,className:W(`bg-divider hover:bg-border-strong relative shrink-0 transition-colors`,e===`vertical`?`w-px cursor-col-resize before:absolute before:inset-y-0 before:-right-1 before:-left-1 before:content-['']`:`h-px cursor-row-resize before:absolute before:inset-x-0 before:-top-1 before:-bottom-1 before:content-['']`)})}function x3({original:e,modified:t,language:n,onAccept:r,onReject:i}){let a=X(`pages.web.editor`);return(0,U.jsxs)(`div`,{className:`border-border flex min-h-0 flex-1 flex-col overflow-hidden rounded-[10px] border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`border-divider bg-surface-alt flex items-center gap-2 border-b px-3 py-1.5`,children:[(0,U.jsx)(qb,{className:`text-violet size-3.5`}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[12px] font-medium`,children:a(`aiProposedChanges`)}),(0,U.jsxs)(`div`,{className:`ml-auto flex items-center gap-1.5`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:i,className:`border-border-strong text-fg-strong hover:bg-surface-hover inline-flex items-center gap-1 rounded-md border-[0.5px] px-2 py-1 text-[11.5px] transition-colors`,children:[(0,U.jsx)(ox,{className:`size-3.5`}),` `,a(`reject`)]}),(0,U.jsxs)(`button`,{type:`button`,onClick:r,className:`bg-violet hover:bg-violet-dark inline-flex items-center gap-1 rounded-md px-2 py-1 text-[11.5px] text-white transition-colors`,children:[(0,U.jsx)(Py,{className:`size-3.5`}),` `,a(`accept`)]})]})]}),(0,U.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,U.jsx)(vZe,{original:e,modified:t,language:n})})]})}function S3({mainRef:e,dragging:t,children:n}){return(0,U.jsx)(`div`,{ref:e,className:W(`flex min-h-0 flex-1 flex-col`,t&&`select-none`),children:n})}var C3=(e,t,n)=>Math.min(n,Math.max(t,e));function w3(e,t){let n=(0,O.useRef)(null),r=(0,O.useRef)(null),[i,a]=(0,O.useState)(()=>yZe(e,t)),[o,s]=(0,O.useState)(null),c=(0,O.useRef)(i);(0,O.useEffect)(()=>{c.current=i},[i]);function l(t,n){if(!n)return;s(t);function r(e){let r=n.getBoundingClientRect();a(t===`x`?t=>({...t,editorPct:C3((e.clientX-r.left)/r.width*100,40,82)}):t=>({...t,topPct:C3((e.clientY-r.top)/r.height*100,30,88)}))}function i(){s(null),window.removeEventListener(`pointermove`,r),window.removeEventListener(`pointerup`,i),window.removeEventListener(`pointercancel`,i);try{window.localStorage.setItem(e,JSON.stringify(c.current))}catch{}}window.addEventListener(`pointermove`,r),window.addEventListener(`pointerup`,i),window.addEventListener(`pointercancel`,i)}function u(e){e.preventDefault(),l(`x`,r.current)}function d(e){e.preventDefault(),l(`y`,n.current)}return{layout:i,dragging:o,mainRef:n,topRowRef:r,startDragX:u,startDragY:d}}function yZe(e,t){if(typeof window>`u`)return t;try{let t=JSON.parse(window.localStorage.getItem(e)??`null`);if(t&&typeof t.editorPct==`number`&&typeof t.topPct==`number`)return{editorPct:C3(t.editorPct,40,82),topPct:C3(t.topPct,30,88)}}catch{}return t}function T3(e){let t=(0,O.useRef)(e);(0,O.useEffect)(()=>{t.current=e},[e]),(0,O.useEffect)(()=>{function e(e){(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===`s`&&(e.preventDefault(),t.current())}
337return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[])}function bZe({sourceId:e,stepNumber:t,initialText:n,initialMessage:r,logs:i,running:a,saving:o,onSave:s,onRun:c,onClose:l,onWarmUp:u}){let d=X(`pages.web.editor`),[f,p]=(0,O.useState)(n),[m,h]=(0,O.useState)(null),{layout:g,dragging:_,mainRef:v,topRowRef:y,startDragX:b,startDragY:x}=w3(`script-studio-layout`,{editorPct:74,topPct:70}),S=gZe(e,e=>{f.trim()?h(e):(p(e),s(e))},u,()=>f,e=>{h(null),p(e)}),{send:C}=S,w=(0,O.useRef)(!1);(0,O.useEffect)(()=>{let e=typeof r==`string`?r.trim():``;e&&!w.current&&(w.current=!0,C(e))},[r,C]),T3(()=>s(f));function T(){m!=null&&(p(m),s(m)),h(null)}return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&l(),children:(0,U.jsxs)(ST,{className:`flex h-[88vh] w-[94vw] max-w-[1320px] flex-col gap-0 overflow-hidden p-0 sm:max-w-[1320px]`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:d(`scriptStudio`)}),(0,U.jsx)(y3,{badgeClassName:`bg-step-script-bg text-step-script-fg`,title:d(`scriptStudio`),stepNumber:t,onRun:c,saving:o,onSave:()=>s(f),onClose:l}),(0,U.jsxs)(S3,{mainRef:v,dragging:_,children:[(0,U.jsxs)(`div`,{ref:y,className:`flex min-h-0`,style:{height:`${g.topPct}%`},children:[(0,U.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-col p-3`,style:{width:`${g.editorPct}%`},children:m==null?(0,U.jsx)(`div`,{className:`border-border bg-surface min-h-0 flex-1 overflow-hidden rounded-[10px] border-[0.5px] p-[12px_14px]`,children:(0,U.jsx)(m1,{value:f,onChange:p,fill:!0,ariaLabel:d(`scriptEditor`)})}):(0,U.jsx)(x3,{original:f,modified:m,onAccept:T,onReject:()=>h(null)})}),(0,U.jsx)(b3,{orientation:`vertical`,label:d(`resizeEditorChat`),onPointerDown:b}),(0,U.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-col p-3`,children:(0,U.jsx)(m3,{messages:S.messages,reasoning:S.reasoning,streaming:S.streaming,loadingHistory:S.loadingHistory,extensionLoaded:S.extensionLoaded,extensionReady:S.extensionReady,runInProgress:a,onSend:S.send,onStop:S.stop,onClear:S.clear,onRewind:S.rewind,onCompact:S.compact,className:`min-h-0 flex-1`})})]}),(0,U.jsx)(b3,{orientation:`horizontal`,label:d(`resizeEditorOutput`),onPointerDown:x}),(0,U.jsx)(`div`,{className:`min-h-0 flex-1 px-3 pt-2 pb-3`,children:(0,U.jsx)(BWe,{logs:i,running:a,className:`h-full`})})]})]})})}var xZe={name:`authoring`,browserTools:new Set([`page_aom`,`run_native_step`]),toolGlyphs:new Map([[`page_aom`,`ð`],[`compile_prompt`,`ð§©`],[`run_native_step`,`â¶ï¸`],[`write_to_editor`,`âï¸`]]),sessionPrefix:`authoring-`,conversationPrefix:`authoring-conv-`};function SZe(e,t,n,r,i,a,o){return v3(xZe,e,{onWriteToEditor:n,warmUp:r,getDraft:i,setDraft:a,testId:t,onEditorProgress:o})}var CZe=new Set([`abstractVerification`,`httpRequest`,`autopilot`]),wZe=new Set([`click`,`entry`,`search`,`hover`,`clearField`,`drag`,`scroll`,`autopilot`]),TZe=new Set([`runInstruction`,`updateVariables`,`verifyState`]);function EZe(e,t){return t===`scroll`&&(e.scrollUntil===!0||e.scrollUntil===`true`)?!1:TZe.has(t)?e.cacheable!==!1:wZe.has(t)}var DZe=`not_explicit`;function E3(e){return typeof e==`string`&&e.trim()&&e.trim()!==DZe?e.trim():``}function OZe(e){if(typeof e==`number`&&e>0){let t=Math.floor(e/6e4),n=Math.floor(e%6e4/1e3);return[t?`${t}m`:``,n?`${n}s`:``].filter(Boolean).join(` `)||`0s`}return E3(e)}function D3(e){let t=E3(e),n=t.match(/^\s*\[([^\]]+)\]\([^)]*\)\s*$/);return n?n[1].trim():t}function kZe(e){if(!e||typeof e!=`object`)return``;let t=e;return[E3(t.action),E3(t.element)||E3(t.argument)||E3(t.intent)].filter(Boolean).join(` `)}var AZe={click:{label:`click`,kind:`click`,prep:`on`,target:e=>E3(e.element)},hover:{label:`hover`,kind:`click`,prep:`over`,target:e=>E3(e.element)},entry:{label:`enter`,kind:`type`,prep:`into`,target:e=>E3(e.element),extra:e=>E3(e.argument)},clearField:{label:`clear`,kind:`type`,target:e=>E3(e.element)},fileUpload:{label:`upload`,kind:`type`,prep:`to`,target:e=>E3(e.element),extra:e=>E3(e.fileLocation)},search:{label:`search`,kind:`type`,prep:`for`,target:e=>E3(e.argument)||E3(e.element)},selectOption:{label:`select`,kind:`select`,target:e=>E3(e.argument)||E3(e.element),extra:()=>`option`},select:{label:`select`,kind:`select`,target:e=>E3(e.argument)||E3(e.element),extra:()=>`option`},gotoURL:{label:`go to`,kind:`navigate`,target:e=>E3(e.argument)||E3(e.url)},goBack:{label:`go back`,kind:`navigate`},goForward:{label:`go forward`,kind:`navigate`},refreshScreen:{label:`refresh`,kind:`navigate`},scroll:{label:`scroll`,kind:`scroll`,target:e=>E3(e.scrollUntil)||E3(e.scrollPage)||E3(e.scrollableElement),extra:e=>E3(e.scrollPercent)},wait:{label:`wait`,kind:`wait`,prep:`for`,target:e=>OZe(e.duration)},waitUntil:{label:`wait until`,kind:`wait`,target:e=>kZe(e.condition)},verifyURL:{label:`verify URL`,kind:`verify`,target:e=>E3(e.argument)||E3(e.url)},verifyElement:{label:`verify`,kind:`verify`,target:e=>E3(e.element),extra:e=>E3(e.argument)},verifyElementValue:{label:`verify value`,kind:`verify`,prep:`of`,target:e=>E3(e.element),extra:e=>E3(e.argument)},verifyRequest:{label:`verify request`,kind:`verify`,target:e=>E3(e.endpoint)||E3(e.argument)},abstractVerification:{label:`verify`,kind:`verify`,target:e=>E3(e.intent)||E3(e.instruction)||E3(e.argument)},drag:{label:`drag`,kind:`other`,prep:`to`,target:e=>E3(e.sourceElement),extra:e=>E3(e.targetElement)?`â ${E3(e.targetElement)}`:``},httpRequest:{label:`HTTP request`,kind:`navigate`,target:e=>E3(e.httpRequestReferenceName)||E3(e.endpoint)},runInstruction:{label:`run`,kind:`other`,target:e=>E3(e.instruction)},autopilot:{label:`autopilot`,kind:`other`,target:e=>E3(e.intent)||E3(e.instruction)},extractValue:{label:`extract`,kind:`other`,prep:`to`,target:e=>E3(e.var)||E3(e.element)},abstractExtraction:{label:`extract`,kind:`other`,prep:`to`,target:e=>E3(e.var),extra:e=>E3(e.intent)}
337,updateVariables:{label:`set variables`,kind:`other`,target:e=>E3(e.argument)},scenarioCall:{label:`run scenario`,kind:`other`,target:e=>E3(e.testName)||D3(e.argument)},evaluateJS:{label:`evaluate script`,kind:`other`,target:()=>``}};function jZe(e){return e.replace(/([a-z])([A-Z])/g,`$1 $2`).replace(/[_-]+/g,` `).toLowerCase().trim()}function O3(e){return e?.length?e.map(e=>{let t=String(e.action??e.type??``),n=AZe[t],r=n?n.label:jZe(t)||`step`,i=n?n.kind:`other`,a=n?.prep??``,o=E3(e.element)||E3(e.argument)||E3(e.stepInstruction)||E3(e.instruction),s=D3(n?n.target?n.target(e)||E3(e.stepInstruction)||E3(e.instruction):``:o),c=n?.extra?.(e)??``,l=EZe(e,t);return{uid:e.uid,kind:i,label:r,prep:a,target:s,extra:c||void 0,llm:e.useVLM?`vlm`:`llm`,vlmToggleable:!CZe.has(t),cacheable:l,cached:(!!e.useFromCache||(e.cachedCallers?.length??0)>0)&&l,hasVar:/\{\{/.test(s+c)}}):[]}function MZe(e,t){let n=e=>e.trim().replace(/\.+$/,``).replace(/\s+/g,` `).toLowerCase(),r=new Set(e.map(e=>n(String(e.intent??e.stepInstruction??``))));return t.split(` 338`).map(n).filter(Boolean).every(e=>r.has(e))}function NZe({sourceId:e,testId:t,stepNumber:n,initialText:r,initialMessage:i,compiled:a,running:o,saving:s,runningStepUid:c,onSave:l,onDraftChange:u,onRun:d,onClose:f,onWarmUp:p,emptyReady:m,emptyNoExtension:h}){let g=X(`pages.web.editor`),[_,v]=(0,O.useState)(r),[y,b]=(0,O.useState)(null),[x,S]=(0,O.useState)(null),[C,w]=(0,O.useState)(r),T=(0,O.useRef)(null),E=_!==C,D=_.length>O1,k=(0,O.useRef)(u);(0,O.useEffect)(()=>{k.current=u},[u]);let A=(0,O.useCallback)(async e=>{S(null);let t=T.current,n=t&&t.text===e&&MZe(t.steps,e)?t.steps:void 0;try{await l(e,n),w(e)}catch{}},[l]),{layout:j,dragging:M,mainRef:N,topRowRef:P,startDragX:F,startDragY:I}=w3(`prompt-studio-layout`,{editorPct:62,topPct:68}),L=SZe(e,t,e=>{C.trim()?b(e):(v(e),A(e),k.current?.(e))},p,()=>_,e=>{b(null),S(null),v(e)},(e,t)=>{b(null),v(e),S(O3(t)),T.current={text:e,steps:t},k.current?.(e)}),{send:R}=L,z=(0,O.useRef)(!1);(0,O.useEffect)(()=>{let e=typeof i==`string`?i.trim():``;e&&!z.current&&(z.current=!0,R(e))}
338,[i,R]),T3(()=>{_.length<=O1&&A(_)});function B(){y!=null&&(v(y),A(y),k.current?.(y)),b(null)}function ee(){_!==C&&!D&&A(_),f()}function V(){b(null),S(null)}return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&ee(),children:(0,U.jsxs)(ST,{className:`flex h-[88vh] w-[94vw] max-w-[1320px] flex-col gap-0 overflow-hidden p-0 sm:max-w-[1320px]`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:g(`promptStudio`)}),(0,U.jsx)(y3,{badgeClassName:`bg-violet-pale text-violet-dark`,title:g(`promptStudio`),stepNumber:n,onRun:d,runDisabled:E,runTitle:E?g(`unsavedRunTitle`):void 0,saving:s,saveDisabled:D,saveTitle:D?g(`charLimitExceeded`,{limit:O1}):void 0,onSave:()=>void A(_),onClose:ee}),(0,U.jsxs)(S3,{mainRef:N,dragging:M,children:[(0,U.jsxs)(`div`,{ref:P,className:`flex min-h-0`,style:{height:`${j.topPct}%`},children:[(0,U.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-col p-3`,style:{width:`${j.editorPct}%`},children:y==null?(0,U.jsx)(`div`,{className:`border-border bg-surface min-h-0 flex-1 overflow-auto rounded-[10px] border-[0.5px] p-[12px_14px]`,children:(0,U.jsx)(f1,{value:_,onChange:e=>{v(e),k.current?.(e)},ariaLabel:g(`promptEditor`),placeholder:g(`placeholder.authored`),charLimit:O1})}):(0,U.jsx)(x3,{original:_,modified:y,language:`plaintext`,onAccept:B,onReject:V})}),(0,U.jsx)(b3,{orientation:`vertical`,label:g(`resizeEditorChat`),onPointerDown:F}),(0,U.jsx)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-col p-3`,children:(0,U.jsx)(m3,{messages:L.messages,reasoning:L.reasoning,streaming:L.streaming,loadingHistory:L.loadingHistory,extensionLoaded:L.extensionLoaded,extensionReady:L.extensionReady,runInProgress:o,onSend:L.send,onStop:L.stop,onClear:L.clear,onRewind:L.rewind,onCompact:L.compact,emptyReady:m,emptyNoExtension:h,className:`min-h-0 flex-1`})})]}),(0,U.jsx)(b3,{orientation:`horizontal`,label:g(`resizeEditorOutput`),onPointerDown:I}),(0,U.jsx)(`div`,{className:`min-h-0 flex-1 overflow-auto px-3 pt-2 pb-3`,children:(0,U.jsxs)(`div`,{className:`border-border bg-surface h-full overflow-auto rounded-[10px] border-[0.5px] p-2`,children:[(0,U.jsx)(`div`,{className:`text-fg-hint px-1 pb-1 text-[11px] font-medium`,children:g(`compiledStepsTitle`)}),(x??a).length?(0,U.jsx)(g1,{rows:x??a,runningStepUid:c}):(0,U.jsx)(`div`,{className:`text-fg-hint px-1 py-2 text-[12px]`,children:g(`compiledStepsEmpty`)})]})})]})]})})}function k3(e){return e.useExtension&&e.connected&&e.ready?`sequence`:`full`}var A3={useExtension:`t2t.run.useExtension`,terminateAfterRun:`t2t.run.terminateAfterRun`,incognito:`t2t.run.incognito`},j3={useExtension:!0,terminateAfterRun:!1,incognito:!0},M3=new Set,N3=null;function P3(e,t){let n=window.localStorage.getItem(e);return n===null?t:n===`true`}function F3(){return typeof window>`u`?j3:(N3||={useExtension:P3(A3.useExtension,j3.useExtension),terminateAfterRun:P3(A3.terminateAfterRun,j3.terminateAfterRun),incognito:P3(A3.incognito,j3.incognito)},N3)}function PZe(){return j3}function FZe(e){M3.add(e);let t=t=>{t.key&&Object.values(A3).includes(t.key)&&(N3=null,e())};return typeof window<`u`&&window.addEventListener(`storage`,t),()=>{M3.delete(e),typeof window<`u`&&window.removeEventListener(`storage`,t)}}function I3(e){if(typeof window>`u`)return;let t={...F3(),...e};for(let e of Object.keys(A3))window.localStorage.setItem(A3[e],String(t[e]));N3=t,M3.forEach(e=>e())}function L3(){return{...(0,O.useSyncExternalStore)(FZe,F3,PZe),setUseExtension:e=>I3({useExtension:e}),setTerminateAfterRun:e=>I3({terminateAfterRun:e}),setIncognito:e=>I3({incognito:e})}}function R3(){return Y$().loaded}function IZe({testId:e,variables:t,endState:n,isRunning:r,onEditVariable:i,onViewEndState:a,autoScroll:o,onToggleAutoScroll:s}){let c=X(`pages.web.editor`),l=R3();return(0,U.jsx)(sy,{delayDuration:150,children:(0,U.jsxs)(`div`,{className:`fixed top-1/2 right-3 z-30 flex -translate-y-1/2 flex-col gap-2`,children:[(0,U.jsx)(z3,{icon:(0,U.jsx)(Fb,{className:`size-4`}),label:c(`railExtension`),tooltip:c(l?`railExtensionTip`:`railExtensionDisabledTip`),disabled:!l,children:(0,U.jsx)(LZe,{})}),(0,U.jsx)(z3,{icon:(0,U.jsx)(ob,{className:`size-4`}),label:c(`railReports`),tooltip:c(`railReportsTip`),children:(0,U.jsx)(RZe,{testId:e})}),(0,U.jsx)(z3,{icon:(0,U.jsx)(Dy,{className:`size-4`}),label:c(`railVariables`),tooltip:c(`railVariablesTip`),children:(0,U.jsx)(BZe,{variables:t,endState:n,isRunning:r,onEditVariable:i,onViewEndState:a})}),s&&(0,U.jsxs)(cy,{children:[(0,U.jsx)(ly,{asChild:!0,children:(0,U.jsx)(`button`,{type:`button`,onClick:s,"aria-pressed":o,"aria-label":c(`railFollow`),className:W(`grid size-9 place-items-center rounded-[10px] border-[0.5px] shadow-sm`,o?`border-violet bg-violet text-white`:`border-border bg-surface text-muted-foreground hover:border-violet hover:text-violet`),children:(0,U.jsx)(Db,{className:`size-4`})})}),(0,U.jsx)(uy,{side:`left`,sideOffset:8,children:c(o?`railFollowOn`:`railFollowOff`)})]})]})})}function z3({icon:e,label:t,tooltip:n,disabled:r,children:i}){return r?(0,U.jsxs)(cy,{children:[(0,U.jsx)(ly,{asChild:!0,children:(0,U.jsx)(`button`,{type:`button`,"aria-disabled":!0,"aria-label":t,className:`border-border bg-surface text-muted-foreground grid size-9 cursor-not-allowed place-items-center rounded-[10px] border-[0.5px] opacity-50 shadow-sm`,children:e})}),(0,U.jsx)(uy,{side:`left`,sideOffset:8,children:n})]}):(0,U.jsxs)(hT,{children:[(0,U.jsxs)(cy,{children:[(0,U.jsx)(ly,{asChild:!0,children:(0,U.jsx)(gT,{"aria-label":t,className:`border-border bg-surface text-muted-foreground hover:border-violet hover:text-violet data-[state=open]:border-violet data-[state=open]:text-violet grid size-9 place-items-center rounded-[10px] border-[0.5px] shadow-sm`,children:e})}),(0,U.jsx)(uy,{side:`left`,sideOffset:8,children:n})]}),(0,U.jsx)(_T,{align:`end`,side:`left`,className:`w-[280px] p-0`,children:i})]})}function B3({icon:e,title:t}){return(0,U.jsxs)(`div`,{className:`border-divider text-fg-strong flex items-center gap-2 border-b px-3.5 py-3 text-[13px] font-semibold`,children:[(0,U.jsx)(`span`,{className:`text-violet`,children:e}),t]})}function LZe(){let e=X(`pages.web.editor`),{useExtension:t,terminateAfterRun:n,incognito:r,setUseExtension:i,setTerminateAfterRun:a,setIncognito:o}=L3(),s=R3();return(0,U.jsxs)(`div`,{children:[(0,U.jsx)(B3,{icon:(0,U.jsx)(Fb,{className:`size-3.5`}),title:e(`browserExtension`)}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-3 p-3.5`,children:[(0,U.jsx)(V3,{label:e(`extUse`),checked:t,onCheckedChange:i}),(0,U.jsx)(V3,{label:e(`extTerminate`),checked:t&&n,disabled:!t,onCheckedChange:a}),(0,U.jsx)(V3,{label:e(`extIncognito`),checked:t&&r,disabled:!t,onCheckedChange:o}),t&&!s&&(0,U.jsx)(`p`,{className:`text-fg-hint text-[11px] leading-[15px]`,children:e(`extNotDetected`)})]})]})}function V3({label:e,checked:t,disabled:n,onCheckedChange:r}){let i=`ext-${e.replace(/\s+/g,`-`).toLowerCase()}`;return(0,U.jsxs)(`div`,{className:`flex items-center justify-between ${n?`opacity-50`:``}`,children:[(0,U.jsx)(`label`,{htmlFor:i,className:W(`text-fg-body text-[12.5px]`,n?`cursor-not-allowed`:`cursor-pointer select-none`),children:e}),(0,U.jsx)(uQ,{id:i,checked:t,disabled:n,onCheckedChange:r})]})}function RZe({testId:e}){let t=X(`pages.web.editor`),[n,r]=(0,O.useState)(``),[i,a]=(0,O.useState)(``),o=jke(e,{startDate:n?new Date(`${n}T00:00:00`).getTime():void 0,endDate:i?new Date(`${i}T23:59:59.999`).getTime():void 0}),s=o.data??[],c=!!(n||i);return(0,U.jsxs)(`div`,{children:[(0,U.jsx)(B3,{icon:(0,U.jsx)(ob,{className:`size-3.5`}),title:t(`railReports`)}),(0,U.jsxs)(`div`,{className:`border-divider flex items-end gap-2 border-b px-3.5 py-2.5`,children:[(0,U.jsx)(H3,{label:t(`reportsStartDate`),value:n,onChange:r,max:i}),(0,U.jsx)(H3,{label:t(`reportsEndDate`),value:i,onChange:a,min:n}),c&&(0,U.jsx)(dy,{content:t(`reportsClearDates`),children:(0,U.jsx)(`button`,{type:`button`,"aria-label":t(`reportsClearDates`),onClick:()=>{r(``),a(``)},className:`text-muted-foreground hover:bg-surface-hover hover:text-fg-strong mb-px grid size-[26px] shrink-0 place-items-center rounded-md`,children:(0,U.jsx)(ox,{className:`size-3.5`})})})]}),o.isPending?(0,U.jsxs)(`div`,{className:`text-muted-foreground flex items-center gap-2 p-3.5 text-[12.5px]`,children:[(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}),t(`reportsLoading`)]}):s.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground p-3.5 text-[12.5px]`,children:t(`reportsEmpty`)}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{className:`text-muted-foreground px-3.5 pt-2 text-[11px]`,children:t(`reportsCount`,{count:s.length})}),(0,U.jsx)(`div`,{className:`max-h-[280px] overflow-y-auto p-1.5`,children:s.map((t,n)=>(0,U.jsx)(zZe,{report:t,testId:e},t.id??t.executionId??n))})]}),(0,U.jsx)(`div`,{className:`border-divider border-t p-3 text-center`,children:(0,U.jsx)(Qw,{href:`/web/results?test=${e}`,className:`text-violet text-[12px] font-medium hover:underline`,children:t(`openResults`)})})]})}function H3({label:e,value:t,onChange:n,min:r,max:i}){return(0,U.jsxs)(`label`,{className:`flex min-w-0 flex-1 flex-col gap-1`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.06em] uppercase`,children:e}),(0,U.jsx)(`input`,{type:`date`,value:t,min:r||void 0,max:i||void 0,onChange:e=>n(e.target.value),className:`border-border bg-surface text-fg-body focus:border-violet focus:ring-violet/15 h-[30px] w-full rounded-md border-[0.5px] px-2 text-[11px] [color-scheme:light] outline-none focus:ring-2 dark:[color-scheme:dark] dark:[&::-webkit-calendar-picker-indicator]:invert`})]})}function zZe({report:e,testId:t}){let n=X(`pages.web.editor`),r=e.successStepCount??0,i=r+(e.failedStepCount??0),a=(e.failedStepCount??0)===0,o=e.creationTime?new Date(e.creationTime).toLocaleStr
338ing():`-`;return(0,U.jsxs)(Qw,{href:`/web/results?test=${t}`,className:`hover:bg-surface-hover flex items-center gap-2.5 rounded-md px-2 py-2`,children:[(0,U.jsx)(`span`,{className:W(`grid size-5 shrink-0 place-items-center rounded-full`,a?`bg-status-passed-bg text-status-passed`:`bg-status-failed-bg text-status-failed`),children:a?(0,U.jsx)(Py,{className:`size-3`,strokeWidth:3}):(0,U.jsx)(ox,{className:`size-3`,strokeWidth:3})}),(0,U.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12px]`,children:o}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[10.5px]`,children:n(`reportsSteps`,{passed:r,total:i})})]}),e.environment&&(0,U.jsx)(dy,{content:n$(t$(e.environment),e.environment),children:(0,U.jsx)(`span`,{className:`text-muted-foreground ml-auto shrink-0`,children:(0,U.jsx)(w$,{env:t$(e.environment),className:`size-3.5`})})})]})}function BZe({variables:e,endState:t,isRunning:n,onEditVariable:r,onViewEndState:i}){let a=X(`pages.web.editor`),o=!!(t&&Object.keys(t).length>0);return(0,U.jsxs)(`div`,{children:[(0,U.jsx)(B3,{icon:(0,U.jsx)(Dy,{className:`size-3.5`}),title:a(`railVariables`)}),e.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground p-3.5 text-[12.5px]`,children:a(`noVariables`)}):(0,U.jsx)(`div`,{className:`max-h-[240px] overflow-y-auto p-2`,children:e.map(e=>(0,U.jsxs)(`button`,{type:`button`,onClick:()=>r(e.name),className:`hover:bg-surface-hover flex w-full items-center justify-between gap-3 rounded-md px-2 py-1.5 text-left`,children:[(0,U.jsx)(`span`,{className:`text-violet-dark truncate font-mono text-[11.5px]`,children:`{{${e.name}}}`}),(0,U.jsx)(VZe,{variable:e,unsetLabel:a(`variableUnset`),vaultLabel:a(`variableVaultBadge`)})]},e.name))}),o&&t&&(0,U.jsxs)(`div`,{className:`border-divider border-t`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between px-3.5 pt-2.5 pb-1.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px]`,children:a(n?`variablesCurrentState`:`variablesEndState`)}),i&&(0,U.jsx)(dy,{content:a(`variableViewState`),children:(0,U.jsx)(`button`,{type:`button`,onClick:i,"aria-label":a(`variableViewState`),className:`text-muted-foreground hover:text-violet -mr-1 grid size-6 place-items-center rounded-md`,children:(0,U.jsx)(xb,{className:`size-3.5`})})})]}),(0,U.jsx)(`pre`,{className:`bg-surface-alt text-fg-body mx-2 mb-2 max-h-[220px] overflow-auto rounded-md p-2.5 font-mono text-[11px] leading-[16px] break-words whitespace-pre-wrap`,children:JSON.stringify(t,null,2)})]})]})}function VZe({variable:e,unsetLabel:t,vaultLabel:n}){return e.vault?(0,U.jsx)(`span`,{className:`bg-violet/12 text-violet inline-flex items-center gap-1 rounded-full px-2 py-0.5 font-mono text-[10.5px] font-medium`,children:n}):e.secret?(0,U.jsx)(`span`,{className:`text-fg-strong truncate font-mono text-[11.5px]`,children:`â¢â¢â¢â¢â¢â¢â¢â¢`}):e.value?(0,U.jsx)(dy,{content:e.value,children:(0,U.jsx)(`span`,{className:`text-fg-strong truncate font-mono text-[11.5px]`,children:e.value})}):(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[11.5px] italic`,children:t})}function HZe(e,t){let n=new Map;for(let t of e??[])t.name&&n.set(t.name,t);let r=[],i=new Set,a=e=>{!e||i.has(e)||(i.add(e),r.push(e))};for(let e of t)for(let t of c1(e??``))a(t.name);for(let e of n.keys())a(e);return r.map(e=>{let t=n.get(e),r=t?.value??``;return{name:e,value:r,secret:!!t?.secret,vault:PWe(r),defined:n.has(e)}})}function UZe(e){return new Set((e??[]).filter(e=>e.secret&&e.name).map(e=>e.name))}var WZe=`v0.3.1`;function U3({ok:e,label:t}){return(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:W(`size-1.5 rounded-full`,e?`bg-status-passed`:`bg-status-stopped`)}),t]})}function GZe({extensionConnected:e,realtimeConnected:t}){let n=X(`pages.web.editor`);return(0,U.jsxs)(`div`,{className:`border-divider bg-surface text-muted-foreground flex h-7 shrink-0 items-center gap-3.5 border-t px-4 text-[11px]`,children:[(0,U.jsx)(U3,{ok:e,label:n(e?`extConnected`:`extDisconnected`)}),(0,U.jsx)(U3,{ok:t,label:n(t?`realtimeConnected`:`realtimeDisconnected`)}),(0,U.jsx)(`span`,{className:`flex-1`}),(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,U.jsx)(`span`,{children:`Text2Test`}),(0,U.jsx)(`span`,{children:`·`}),(0,U.jsx)(`span`,{className:`font-mono`,children:WZe})]})]})}function W3({text:e,testId:t,companyId:n,teamId:r,sequence:i,prompt:a,parameters:o}){return{text:e,testId:t,promptId:i.sourceId,companyId:n,teamId:r,order:i.order,parameters:o??[],promptType:a?.promptType??`classic`,sourceType:i.sourceType,referenceImage:a?.referenceScreenshot??null,sequenceType:i.sequenceType}}var G3=`t2t.editor.autoScroll`,K3=!1,q3=new Set,J3=null;function Y3(){return typeof window>`u`?K3:(J3===null&&(J3=window.localStorage.getItem(G3)===`true`),J3)}function KZe(){return K3}function qZe(e){q3.add(e);let t=t=>{t.key===G3&&(J3=null,e())};return typeof window<`u`&&window.addEventListener(`storage`,t),()=>{q3.delete(e),typeof window<`u`&&window.removeEventListener(`storage`,t)}}function JZe(e){typeof window>`u`||(window.localStorage.setItem(G3,String(e)),J3=e,q3.forEach(e
338=>e()))}function YZe(){return{autoScroll:(0,O.useSyncExternalStore)(qZe,Y3,KZe),toggleAutoScroll:()=>JZe(!Y3())}}function XZe(e){let t=Ir(({currentLocation:t,nextLocation:n})=>e&&t.pathname!==n.pathname);return(0,O.useEffect)(()=>{if(!e)return;let t=e=>{e.preventDefault(),e.returnValue=``};return window.addEventListener(`beforeunload`,t),()=>window.removeEventListener(`beforeunload`,t)},[e]),{blocked:t.state===`blocked`,proceed:()=>t.proceed?.(),stay:()=>t.reset?.()}}function X3(e,t,n){let r=new Set(e);return n?r.add(t):r.delete(t),r}function ZZe(e,t,n){return new Map(e).set(t,n)}function Z3(e,t){let n=new Map(e);return n.delete(t),n}function QZe({testId:e}){let t=X(`pages.web.editor`),{activeCompanyID:n,activeTeamID:r}=NT(),i=FHe(e),a=I$(e),o=zHe(e,(0,O.useMemo)(()=>F$(a.data).filter(e=>e.sourceType!==`HTTP_REQUEST`).map(e=>e.sourceId),[a.data])),s=LHe(e),c=BHe(e),l=VHe(e),u=W$(r),d=nUe(e),f=rUe(e),p=UHe(e),m=HHe(e),h=WHe(e),g=GHe(e),_=KHe(e),v=JHe(e),y=XHe(e),b=YHe(e),x=RHe(e),S=lUe(e),{loaded:C,ready:w}=Y$(),T=L3(),E=Us(),{currentUser:D}=Hw(),k=sU(),A=Rke(),j=i.data?.lastManuelExecutionId,M=S.executionId??j,N=aU(M,n,r,{poll:!0}),{live:P,status:F,seed:I}=S;(0,O.useEffect)(()=>{let e=N.data;e?.id&&e.status&&!P&&F==null&&I(e.status,e.id)},[N.data,P,F,I]),(0,O.useEffect)(()=>{let t=N.data;if(!t?.id||!t.startTime||!t.endTime)return;let n=cue(t.status);n&&lue({testId:e,runId:t.id,status:n,durationMs:t.endTime-t.startTime})},[N.data,e]);let L=N.data?.status,R=/^(SUCCESS|FAILED|STOPPED|ERROR)$/,z=!(S.status!=null&&R.test(S.status)||L!=null&&R.test(L))&&(S.running||L===`RUNNING`||L===`PENDING`),B=AQ(S.live&&z?void 0:M),ee=(0,O.useRef)(new Map),V=(0,O.useRef)(new Set),[te,ne]=(0,O.useState)(new Set),[re,ie]=(0,O.useState)(new Set),[ae,oe]=(0,O.useState)(new Map),[H,se]=(0,O.useState)(new Set),[ce,le]=(0,O.useState)(null),[ue,de]=(0,O.useState)(null),[fe,pe]=(0,O.useState)(null),[me,he]=(0,O.useState)(!1),[ge,_e]=(0,O.useState)(null),[ve,ye]=(0,O.useState)(!1),[be,xe]=(0,O.useState)(null),[Se,Ce]=(0,O.useState)(void 0),we=(e,t)=>{Ce(t),xe(e)},Te=(0,O.useMemo)(()=>F$(a.data),[a.data]),Ee=(0,O.useMemo)(()=>o.data??new Map,[o.data]),De=(0,O.useMemo)(()=>TVe(B.data??[],S.stepMessagesBySource),[B.data,S.stepMessagesBySource]),Oe=fe?(De.get(fe.sourceId)??[]).filter(e=>e.screenshot):[],ke=z&&![...De.values()].some(e=>e.length>0),Ae=a.data?.parameters,je=(0,O.useMemo)(()=>HZe(Ae,[...Ee.values()].map(e=>e.text??``)),[Ae,Ee]),Me=(0,O.useMemo)(()=>UZe(Ae),[Ae]),Ne=ge?je.find(e=>e.name===ge)??{name:ge,value:``,secret:!1,vault:!1,defined:!1}:null,Pe=bVe((0,O.useMemo)(()=>[...De.values()].flat(),[De]),S.executionId??i.data?.lastManuelExecutionId).data??null,{runningStepUid:Fe,activeSourceId:Ie}=(0,O.useMemo)(()=>{if(!z)return{runningStepUid:null,activeSourceId:null};let e=/^(PASSED|SUCCESS|FAILED|ERROR|STOPPED)$/i,t=null,n=null;for(let r of Te)for(let i of De.get(r.sourceId)??[]){if(e.test(i.status))continue;n=r.sourceId;let a=IQ(i.step).uid;a&&(t=a)}return{runningStepUid:t,activeSourceId:n}},[z,Te,De]),Le=(0,O.useRef)(null),{autoScroll:Re,toggleAutoScroll:ze}=YZe(),Be=(0,O.useMemo)(()=>Ie?(De.get(Ie)??[]).length:0,[Ie,De]);(0,O.useEffect)(()=>{!Re||!z||!Ie||Le.current?.querySelector(`[data-source-id="${Ie}"]`)?.scrollIntoView({behavior:`smooth`,block:`end`})},[Re,z,Ie,Be]);let Ve=(0,O.useRef)(!1);(0,O.useEffect)(()=>{Ve.current&&!z&&(a.refetch(),B.refetch()),Ve.current=z}),(0,O.useEffect)(()=>{let e=()=>G.info(t(`freshWindowReplay`),{duration:6e3});return window.addEventListener(`T2T_FRESH_WINDOW_REPLAY`,e),()=>window.removeEventListener(`T2T_FRESH_WINDOW_REPLAY`,e)},[t]),(0,O.useEffect)(()=>{let e=e=>{let n=e.detail??``,r=/incognito/i.test(n)?t(`extIncognitoBlocked`):t(`extStartError`,{message:n});G.error(r,{duration:8e3})};return window.addEventListener(`T2T_START_ERROR`,e),()=>window.removeEventListener(`T2T_START_ERROR`,e)},[t]);async function He(){let o=i.data;if(!o||!n||!r||k.isPending||z)return;let s=Ge.find(Je);if(s){Xe(s.sourceId);return}let c=T.useExtension&&C;T.useExtension&&!C&&G.info(t(`extNotDetected`));let l=c?await L$(E,e,o.settingProfileName).catch(()=>a.data):a.data;k.mutate({testId:e,testName:o.name,platform:`WEB`,executionType:c?`CLIENT_MANUA
338L`:`MANUAL`,environment:{browser:c?`extension`:`chromium`,mobileCapabilityName:``,mobilePlatformName:``},companyId:n,teamId:r},{onSuccess:e=>{e.id&&S.beginRun(e.id),c&&e.id&&l&&KT.startFullTest({createdBy:D?.username,test:o,scenario:l,executionId:e.id,devMode:!T.terminateAfterRun,incognito:T.incognito})},onError:e=>{Nw(e)||G.error(t(`runFailed`))}})}async function Ue(o,s){let c=i.data,l=Te.find(e=>e.sourceId===o);if(!c||!l||!n||!r||k.isPending||z)return;let u=Ge.findIndex(e=>e.sourceId===o),d=(u<0?[]:s?Ge.slice(u):[Ge[u]]).find(Je);if(d){Xe(d.sourceId);return}if(!T.useExtension||!C){G.info(t(`extNotDetected`));return}let f=await L$(E,e,c.settingProfileName).catch(()=>a.data)??a.data;if(!f)return;let p=s?{...f,sequences:(f.sequences??[]).filter(e=>e.order>=l.order)}:f;k.mutate({testId:e,testName:c.name,platform:`WEB`,executionType:`CLIENT_MANUAL`,environment:{browser:`extension`,mobileCapabilityName:``,mobilePlatformName:``},companyId:n,teamId:r},{onSuccess:e=>{e.id&&S.beginRun(e.id),e.id&&KT.startSequenceRun({createdBy:D?.username,test:c,scenario:p,executionId:e.id,devMode:!T.terminateAfterRun,incognito:T.incognito,executedSourceId:o,runAllBelow:s})},onError:e=>{Nw(e)||G.error(t(`runFailed`))}})}function We(){T.useExtension&&C&&KT.stopRun(),S.executionId&&A.mutate(S.executionId)}let Ge=(0,O.useMemo)(()=>Te.map(e=>{let t=Ee.get(e.sourceId),n=e.sourceType===`HTTP_REQUEST`?(e.steps??[]).find(e=>e.httpRequestId):void 0;return{sourceId:e.sourceId,type:Z$(e.sourceType,t?.promptType),text:t?.text??``,compiled:O3(e.steps),referenceKey:t?.referenceScreenshot??void 0,httpRequestId:n?.httpRequestId,httpReferenceName:n?.httpRequestReferenceName,sequenceType:e.sequenceType}}),[Te,Ee]);function Ke(e){return ee.current.get(e)??Ee.get(e)?.text??``}function qe(e,t){ee.current.set(e,t);let n=t!==(Ee.get(e)?.text??``);ie(t=>t.has(e)===n?t:X3(t,e,n)),le(t=>t===e?null:t),oe(t=>t.has(e)?Z3(t,e):t)}function Je(e){return e.type===`http`?!1:re.has(e.sourceId)||H.has(e.sourceId)?!0:(e.type===`prompt`||e.type===`script`||e.type===`authored`)&&!!Ke(e.sourceId).trim()&&e.compiled.length===0}let Ye=new Set(Ge.filter(Je).map(e=>e.sourceId));function Xe(e){le(e),G.warning(t(`unsavedRunTitle`),{id:`unsaved-run`,description:t(`unsavedRunBody`),duration:5e3}),Le.current?.querySelector(`[data-source-id="${e}"]`)?.scrollIntoView({behavior:`smooth`,block:`center`})}async function Ze(e,n){try{let r=await new Promise((e,t)=>{let r=new FileReader;r.onload=()=>e(String(r.result).split(`,`)[1]??``),r.onerror=()=>
338t(r.error),r.readAsDataURL(n)});await x.mutateAsync({sourceId:e,base64:r,filename:`${Date.now()}_${n.name}`}),G.success(t(`referenceUploaded`))}catch{G.error(t(`referenceUploadFailed`))}}async function Qe(e){try{await s.mutateAsync({id:e,patch:{referenceScreenshot:``}}),G.success(t(`referenceRemoved`))}catch{G.error(t(`referenceUploadFailed`))}}async function $e(e){return await et(e)===`saved`}async function et(i){let o=Te.find(e=>e.sourceId===i),l=Ge.find(e=>e.sourceId===i);if(!o||!l||V.current.has(i))return`failed`;let u=Ke(i),d=u!==(Ee.get(i)?.text??``);if(!d&&!Je(l))return G.info(t(`nothingToSave`),{id:`nothing-to-save`}),`saved`;V.current.add(i),ne(e=>X3(e,i,!0)),oe(e=>e.has(i)?Z3(e,i):e);let f=!d;try{return o.sourceType===`EVALUATE_JS`?await rt(i,u):(d&&(await s.mutateAsync({id:i,patch:{text:u}}),tt(i,u),f=!0),(l.type===`prompt`||l.type===`authored`)&&u.trim()&&await c.mutateAsync(W3({text:u,testId:e,companyId:n,teamId:r,sequence:o,prompt:Ee.get(i),parameters:a.data?.parameters}))),nt(i,u),G.success(t(`saved`)),`saved`}catch(e){return se(e=>X3(e,i,!0)),Nw(e)||(oe(n=>ZZe(n,i,Pw(e)??t(`saveFailed`))),G.error(t(`saveFailed`))),f?`text-only`:`failed`}finally{V.current.delete(i),ne(e=>X3(e,i,!1))}}function tt(e,t){ee.current.get(e)===t&&ie(t=>t.has(e)?X3(t,e,!1):t)}function nt(e,t){ee.current.set(e,t),ie(t=>t.has(e)?X3(t,e,!1):t),se(t=>t.has(e)?X3(t,e,!1):t),le(t=>t===e?null:t)}async function rt(t,i){let o=Te.find(e=>e.sourceId===t);!o||!n||!r||await l.mutateAsync(W3({text:i,testId:e,companyId:n,teamId:r,sequence:o,prompt:Ee.get(t),parameters:a.data?.parameters}))}async function it(e,n,r){if(qe(e,n),r&&r.length)try{await m.mutateAsync({sourceId:e,text:n,steps:r}),nt(e,n),G.success(t(`saved`));return}catch{}if(!await $e(e))throw Error(`save failed`)}async function at(e,n){try{await rt(e,n),nt(e,n),G.success(t(`saved`))}catch{G.error(t(`saveFailed`))}}async function ot(e){let t=i.data,n=a.data,r=Te.find(t=>t.sourceId===e);if(!t||!n||!r)return!1;let o=F$(n).filter(e=>e.order<r.order);return KT.warmUpToStep({test:t,scenario:{...n,sequences:o},token:kue(),tokenExpiration:jue(),refreshToken:Aue(),refreshTokenExpiration:Mue(),executionId:`warmup-${e}`,incognito:T.incognito}),KT.waitUntilReady()}function st(e,t){!n||!r||p.mutate({...gUe(e),order:t,companyId:n,teamId:r})}let ct=(0,O.useRef)(()=>{});(0,O.useEffect)(()=>{ct.current=()=>st(`prompt`,Te.length)}),(0,O.useEffect)(()=>{function e(e){if(e.key.toLowerCase()!==`n`||e.metaKey||e.ctrlKey||e.altKey)return;let t=e.target;t&&(t.isContentEditable||/^(input|textarea|select)$/i.test(t.tagName)||t.closest(`.monaco-editor`)||t.closest(`[role="dialog"]`))||(e.preventDefault(),ct.current())}return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[]);function lt(e,t){let n=e+t;if(n<0||n>=Te.length)return;let r=Te.map(e=>e.sourceId);[r[e],r[n]]=[r[n],r[e]],g.mutate(r)}function ut(t,n,r){let i=Te.find(e=>e.sourceId===t);i&&_.mutate({sourceId:t,testId:e,order:i.order,referenceName:r,httpRequestId:n})}function dt(e){let n=Te.findIndex(t=>t.sourceId===e),r=Te[n];if(!r)return;let i=Ee.get(e),a=Z$(r.sourceType,i?.promptType),o=t(`deleteStepLabel`,{type:t(`stepType.${a}.label`),index:n+1});de({sourceId:e,sourceType:r.sourceType,label:o})}function ft(){ue&&(h.mutate({sourceId:ue.sourceId,sourceType:ue.sourceType}),de(null))}let pt=XZe(re.size>0);async function mt(){let e=!0;for(let t of[...re])await et(t)===`failed`&&(e=!1);return e}return(0,U.jsxs)(`div`,{className:`relative flex h-full flex-col`,children:[(0,U.jsx)(IZe,{testId:e,variables:je,endState:Pe,isRunning:z,onEditVariable:_e,onViewEndState:Pe?()=>ye(!0):void 0,autoScroll:Re,onToggleAutoScroll:ze}),(0,U.jsx)(`div`,{ref:Le,className:`flex-1 scrollbar-none overflow-y-auto`,children:(0,U.jsx)(`div`,{className:`flex w-full flex-col gap-[18px] p-[22px_48px_28px]`,children:(0,U.jsx)(QU,{query:i,children:i=>{let o=u.data??[],s=new Set(i.testTagIds??[]),c=o.filter(e=>e.id&&s.has(e.id));return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(uUe,{testName:i.name}),(0,U.jsx)(fUe,{testName:i.name,assignedTags:c,allTags:o,onAddTag:e=>d.mutate(e),onRemoveTag:e=>f.mutate(e),onEdit:()=>he(!0),onRun:He,onStop:We,running:z,canRun:Ge.length>0}),ke&&(0,U.jsx)(pUe,{}),me&&(0,U.jsx)(EWe,{test:i,onClose:()=>he(!1)}),Ne&&a.data&&(0,U.jsx)(IWe,{variable:Ne,scenario:a.data,companyId:n,teamId:r,onClose:()=>_e(null)}),ve&&Pe&&(0,U.jsx)(j1,{state:Pe,running:z,onClose:()=>ye(!1)}),Ge.length>0?(0,U.jsx)(_We,{steps:Ge,testId:e,executionId:i.lastManuelExecutionId,running:z,runningStepUid:Fe,savingIds:te,unsavedIds:Ye,blockedSourceId:ce,saveErrors:ae,messagesBySource:De,autopilotLiveBySource:S.autopilotBySource,onOpenShot:(e,t)=>
338pe({sourceId:e,index:t}),onChangeText:qe,onSave:$e,onRun:T.useExtension&&C?e=>Ue(e,!1):void 0,onRunFromHere:T.useExtension&&C?e=>Ue(e,!0):void 0,onMove:lt,onDelete:dt,onPickHttp:ut,onUploadReference:Ze,onRemoveReference:Qe,onToggleVlm:(e,t)=>v.mutate({sourceId:e,stepUid:t}),onClearCache:(e,n)=>b.mutate({stepUid:n},{onSuccess:()=>G.success(t(`cacheCleared`)),onError:()=>G.error(t(`cacheClearFailed`))}),onAddSource:st,onOpenStudio:we,secretNames:Me,onParamClick:_e,onViewVariableState:Pe?()=>ye(!0):void 0,onChangeSequenceType:(e,t)=>{let n=Te.find(t=>t.sourceId===e);n&&y.mutate({sourceId:e,sourceType:n.sourceType,sequenceType:t})},companyId:n,teamId:r}):(0,U.jsx)(bUe,{onAddSource:e=>st(e,0)})]})}})})}),(0,U.jsx)(GZe,{extensionConnected:C,realtimeConnected:S.connected}),pt.blocked&&(0,U.jsx)(bWe,{count:re.size,saving:te.size>0,onSaveAndLeave:async()=>{await mt()&&pt.proceed()},onLeave:pt.proceed,onStay:pt.stay}),ue&&(0,U.jsx)(yWe,{label:ue.label,loading:h.isPending,onCancel:()=>de(null),onConfirm:ft}),be&&(()=>{let n=Te.findIndex(e=>e.sourceId===be);return n<0?null:Te[n].sourceType===`AI_AUTHORED`?(0,U.jsx)(NZe,{sourceId:be,testId:e,stepNumber:n+1,initialText:Ee.get(be)?.text??``,initialMessage:Se,compiled:Ge[n]?.compiled??[],running:z,saving:te.has(be),runningStepUid:Fe,onSave:(e,t)=>it(be,e,t),onDraftChange:e=>qe(be,e),onRun:k3({useExtension:T.useExtension,connected:C,ready:w})===`sequence`?()=>Ue(be,!1):He,onClose:()=>{xe(null),Ce(void 0)},onWarmUp:()=>ot(be),emptyReady:t(`authoredEmptyReady`),emptyNoExtension:t(`authoredEmptyNoExtension`)},be):Te[n].sourceType===`EVALUATE_JS`?(0,U.jsx)(bZe,{sourceId:be,stepNumber:n+1,initialText:Ee.get(be)?.text??``,initialMessage:Se,logs:S.evaluateJsLogsBySource.get(be)??[],running:z,saving:l.isPending,onSave:e=>at(be,e),onRun:k3({useExtension:T.useExtension,connected:C,ready:w})===`sequence`?()=>Ue(be,!1):He,onClose:()=>{xe(null),Ce(void 0)},onWarmUp:()=>ot(be)},be):null})(),fe&&Oe.length>0&&(0,U.jsx)(xWe,{shots:Oe,index:Math.min(fe.index,Oe.length-1),running:z,onClose:()=>pe(null),onPrev:()=>pe(e=>e?{...e,index:(e.index-1+Oe.length)%Oe.length}:null),onNext:()=>pe(e=>e?{...e,index:(e.index+1)%Oe.length}:null)})]})}function $Ze(){let e=X(`pages.web.editor.desktopOnly`);return(0,U.jsxs)(`div`,{className:`mx-auto flex max-w-[420px] flex-col items-center pt-10 text-center`,children:[(0,U.jsx)(`span`,{className:`bg-primary/10 text-primary grid size-14 place-items-center rounded-2xl`,children:(0,U.jsx)(wb,{className:`size-7`,strokeWidth:1.6})}),(0,U.jsx)(`h2`,{className:`font-heading text-fg-strong mt-5 text-[19px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-2 text-[13px] leading-relaxed`,children:e(`body`)}),(0,U.jsx)(Qw,{href:`/web/results`,className:`bg-primary mt-6 inline-flex h-10 items-center rounded-lg px-4 text-[13px] font-semibold text-white`,children:e(`cta`)})]})}function eQe(){let{id:e}=aS();return iZ()?(0,U.jsx)($Ze,{}):(0,U.jsx)(QZe,{testId:e??``})}var tQe=[10,25,50],nQe=[`GET`,`POST`,`PUT`,`PATCH`,`DELETE`];function rQe(e){return e?XT(e):`-`}var iQe={violet:`bg-violet-pale text-violet`,green:`bg-status-passed-bg text-status-passed-fg`,blue:`bg-status-pending-bg text-status-pending-fg`,orange:`bg-status-error-bg text-status-error-fg`};function Q3({icon:e,label:t,value:n,tone:r=`violet`}){return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-1.5 rounded-xl border-[0.5px] p-3.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t}),(0,U.jsx)(`span`,{className:W(`grid size-[18px] place-items-center rounded-[5px]`,iQe[r]),children:(0,U.jsx)(e,{className:`size-3`})})]}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[22px] leading-none font-bold tracking-[-0.02em] tabular-nums`,children:n})]})}function aQe(){let e=X(`pages.tools.httpRequest`),t=rS(),{activeCompanyID:n,activeTeamID:r,loading:i}=NT(),a=SAe(n,r,!i&&!!n&&!!r),o=dW(),s=TAe(),[c,l]=(0,O.useState)(``),[u,d]=(0,O.useState)({}),[f,p]=(0,O.useState)({key:`updated`,dir:`desc`}),[m,h]=(0,O.useState)(1),[g,_]=(0,O.useState)(10),[v,y]=(0,O.useState)(null),b=(0,O.useMemo)(()=>a.data??[],[a.data]),x=(0,O.useMemo)(()=>{let e=b.filter(e=>e.request.method===`GET`).length,t=new Set(b.map(e=>e.request.method)).size;return{total:b.length,get:e,write:b.length-e,methods:t}},[b]),S=(0,O.useMemo)(()=>{let e=c.trim().toLowerCase(),t=u.method??[],n=b.filter(n=>{let r=!e||n.name.toLowerCase().includes(e)||n.request.url.toLowerCase().includes(e),i=t.length===0||t.includes(n.request.method);return r&&i}
338),r=f.dir===`asc`?1:-1;return[...n].sort((e,t)=>{switch(f.key){case`name`:return e.name.localeCompare(t.name)*r;case`method`:return e.request.method.localeCompare(t.request.method)*r;default:return((e.updatedAt??e.createdAt??0)-(t.updatedAt??t.createdAt??0))*r}})},[b,c,u,f]),C=S.length,w=(0,O.useMemo)(()=>S.slice((m-1)*g,m*g),[S,m,g]);function T(){h(1)}function E(t){o.mutate({name:`${t.name} ${e(`copySuffix`)}`,description:t.description,request:t.request,options:t.options,companyId:n,teamId:r},{onSuccess:()=>G.success(e(`duplicated`)),onError:()=>G.error(e(`saveFailed`))})}function D(n){return[{label:e(`actEdit`),icon:jb,onSelect:()=>t.push(`/http-request/${n.id}`)},{label:e(`actDuplicate`),icon:poe,onSelect:()=>E(n)},{label:e(`actCopyId`),icon:Yy,disabled:!n.id,onSelect:()=>{navigator.clipboard.writeText(n.id).catch(()=>{}),G.success(e(`copiedId`))}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,onSelect:()=>y(n)}]}function k(){let t=v;t?.id&&s.mutate(t.id,{onSuccess:()=>{G.success(e(`deleted`)),y(null)},onError:()=>G.error(e(`deleteFailed`))})}let A=[{key:`method`,header:e(`colMethod`),width:`80px`,sortable:!0,cell:e=>(0,U.jsx)(mW,{method:e.request.method})},{key:`name`,header:e(`colName`),width:`1.6fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,title:e.description||void 0,children:e.name})},{key:`url`,header:e(`colUrl`),width:`2.4fr`,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-body block truncate font-mono text-[11.5px]`,children:e.request.url})},{key:`updated`,header:e(`colUpdated`),width:`1fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-body text-[11.5px] tabular-nums`,children:rQe(e.updatedAt??e.createdAt)})}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[560px] text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsxs)(Z,{size:`sm`,onClick:()=>t.push(`/http-request/new`),children:[(0,U.jsx)(Pb,{}),e(`newRequest`)]})]}),(0,U.jsx)(QU,{query:a,isEmpty:e=>e.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(kb,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`),action:(0,U.jsxs)(Z,{onClick:()=>t.push(`/http-request/new`),children:[(0,U.jsx)(Pb,{}),e(`emptyCta`)]})}),children:()=>(0,U.jsxs)(UU,{children:[(0,U.jsxs)(`div`,{className:`mb-3 grid grid-cols-2 gap-2.5 lg:grid-cols-4`,children:[(0,U.jsx)(Q3,{icon:kb,label:e(`kpiTotal`),value:ZT(x.total),tone:`violet`}),(0,U.jsx)(Q3,{icon:ob,label:e(`kpiGet`),value:ZT(x.get),tone:`blue`}),(0,U.jsx)(Q3,{icon:Vb,label:e(`kpiWrite`),value:ZT(x.write),tone:`orange`}),(0,U.jsx)(Q3,{icon:noe,label:e(`kpiMethods`),value:ZT(x.methods),tone:`green`})]}),(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:c,onChange:e=>{l(e),T()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`}),(0,U.jsx)(ZU,{label:e(`filterMethod`),value:u,onChange:e=>{d(e),T()},groups:[{key:`method`,label:e(`colMethod`),options:nQe.map(e=>({value:e,label:e}))}]})]}),w.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{l(``),d({}),T()},children:e(`resetFilters`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:A,rows:w,rowKey:e=>e.id,density:`compact`,sort:f,onSortChange:e=>{p(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`asc`}),T()},onRowClick:e=>t.push(`/http-request/${e.id}`),rowActions:D,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:m,pageSize:g,total:C,pageSizeOptions:tQe,onPageChange:h,onPageSizeChange:e=>{_(e),T()},itemLabel:e(`rowsRequests`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),(0,U.jsx)(xT,{open:!!v,onOpenChange:e=>!e&&y(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`deleteTitle`)}),(0,U.jsx)(ET,{children:e(`deleteMessage`,{name:v?.name??``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>y(null),disabled:s.isPending,children:e(`deleteCancel`)}),(0,U.jsxs)(Z,{variant:`destructive`,onClick:k,disabled:s.isPending,children:[(0,U.jsx)($b,{}),e(`deleteConfirm`)]})]})]})})]})}function oQe(){return(0,U.jsx)(aQe,{})}function $3({className:e,...t}){return(0,U.jsx)(`textarea`,{"data-slot":`textarea`,className:W(`border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 field-sizing-content min-h-16 w-full rounded-lg border bg-transparent px-2.5 py-2 text-base transition-colors outline-none focus-visible:ring-3 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 md:text-sm`,e),...t})}var sQe=[`GET`,`POST`,`PUT`,`PATCH`,`DELETE`];function e6(e){return`'${e.replace(/'/g,`'\\''`)}'`}function cQe(e){let t=[`curl -X ${e.method} ${e6(e.url||``)}`];
338for(let[n,r]of Object.entries(e.headers))n.trim()&&t.push(` -H ${e6(`${n}: ${r}`)}`);return e.body?.content?.trim()&&t.push(` --data ${e6(e.body.content)}`),e.options?.location&&t.push(` -L`),e.options?.insecure&&t.push(` -k`),t.join(` \\ 339`)}function lQe(e){let t=[],n=e.replace(/\\\r?\n/g,` `),r=/"((?:[^"\\]|\\.)*)"|'([^']*)'|(\S+)/g,i;for(;(i=r.exec(n))!==null;)t.push(i[1]??i[2]??i[3]??``);return t}function uQe(e){let t=lQe(e.trim());if(t.length===0||t[0]!==`curl`)return null;let n=null,r=``,i={},a,o={};for(let e=1;e<t.length;e++){let s=t[e];if(s===`-X`||s===`--request`){let r=(t[++e]??``).toUpperCase();sQe.includes(r)&&(n=r)}else if(s===`-H`||s===`--header`){let n=t[++e]??``,r=n.indexOf(`:`);r>0&&(i[n.slice(0,r).trim()]=n.slice(r+1).trim())}else if(s===`-d`||s===`--data`||s===`--data-raw`||s===`--data-binary`||s===`--data-ascii`){let n=t[++e]??``;a={type:/^\s*[[{]/.test(n)?`json`:`text`,content:n}}else s===`-L`||s===`--location`?o.location=!0:s===`-k`||s===`--insecure`?o.insecure=!0:s===`-A`||s===`--user-agent`?i[`User-Agent`]=t[++e]??``:s.startsWith(`-`)?!s.includes(`=`)&&t[e+1]&&!t[e+1].startsWith(`-`)&&!/^https?:/i.test(t[e+1])&&e++:!r&&/^https?:\/\//i.test(s)?r=s:r||=s}return r?{method:n??(a?`POST`:`GET`),url:r,headers:i,body:a,options:o}:null}var dQe=[`GET`,`POST`,`PUT`,`PATCH`,`DELETE`],fQe=[`none`,`text`,`json`,`form-data`],t6=/\{\{\s*([^{}]+?)\s*\}\}/g;function pQe(...e){let t=new Set;for(let n of e){t6.lastIndex=0;let e;for(;(e=t6.exec(n))!==null;)t.add(e[1].trim())}return Array.from(t)}function mQe(e){let t=[],n=0;t6.lastIndex=0;let r;for(;(r=t6.exec(e))!==null;)r.index>n&&t.push({text:e.slice(n,r.index),isParam:!1}),t.push({text:r[0],isParam:!0}),n=r.index+r[0].length;return n<e.length&&t.push({text:e.slice(n),isParam:!1}),t}function hQe({segments:e}){return(0,U.jsx)(U.Fragment,{children:e.map((e,t)=>e.isParam?(0,U.jsx)(`mark`,{className:`bg-violet-pale text-violet-dark rounded-[3px]`,children:e.text},t):(0,U.jsx)(`span`,{className:`text-fg-strong`,children:e.text},t))})}function gQe({name:e,onRename:t}){let[n,r]=(0,O.useState)(e);return(0,U.jsx)(`input`,{value:n,onChange:e=>r(e.target.value),onBlur:()=>{n.trim()&&n.trim()!==e&&t(n.trim())},onKeyDown:e=>{e.key===`Enter`&&e.currentTarget.blur()},className:`bg-violet-pale text-violet-dark focus:ring-violet max-w-[180px] min-w-[100px] truncate rounded-md px-2 py-1 text-center font-mono text-[11px] font-medium outline-none focus:ring-1`})}var _Qe=0,n6=(e=``,t=``,n=!0)=>({id:++_Qe,key:e,value:t,enabled:n});function vQe(){let e=X(`pages.tools.httpRequest`),t=aS()?.id??`new`,n=t===`new`,{activeCompanyID:r,activeTeamID:i}=NT(),a=lW(n?null:t),o={id:``,name:``,request:{url:``,method:`GET`,headers:{},parameters:[]},options:{location:!0,insecure:!1},companyId:r,teamId:i};return n?(0,U.jsx)(r6,{id:`new`,initial:o},`new`):(0,U.jsx)(QU,{query:a,error:()=>(0,U.jsx)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-10 text-center text-[12.5px]`,children:e(`loadFailed`)}),children:e=>(0,U.jsx)(r6,{id:t,initial:e},e.id)})}function r6({id:e,initial:t}){let n=X(`pages.tools.httpRequest`),r=rS(),{activeCompanyID:i,activeTeamID:a}=NT(),o=e===`new`,s=dW(),c=wAe(),l=EAe(),u=(0,O.useMemo)(()=>x1(t.request.url),[t]),[d,f]=(0,O.useState)(t.name),[p,m]=(0,O.useState)(t.description??``),[h,g]=(0,O.useState)(t.request.method),[_,v]=(0,O.useState)(u.base),[y,b]=(0,O.useState)(u.params.map(e=>n6(e.key,e.value))),{headerRows:x,auth:S}=(0,O.useMemo)(()=>{let e={type:`none`,token:``,username:``,password:``,key:`X-API-Key`,value:``,addTo:`header`},n=Object.entries(t.request.headers??{}),r=n.find(([e])=>e.toLowerCase()===`authorization`);if(!r)return{headerRows:n.map(([e,t])=>n6(e,t)),auth:e};let i=n.filter(([e])=>e.toLowerCase()!==`authorization`).map(([e,t])=>n6(e,t)),a=r[1];if(a.startsWith(`Bearer `))return{headerRows:i,auth:{...e,type:`bearer`,token:a.slice(7)}};if(a.startsWith(`Basic `))try{let t=atob(a.slice(6)),n=t.indexOf(`:`);return{headerRows:i,auth:{...e,type:`basic`,username:n>=0?t.slice(0,n):t,password:n>=0?t.slice(n+1):``}}}catch{}return{headerRows:n.map(([e,t])=>n6(e,t)),auth:e}},[t]),[C,w]=(0,O.useState)(x),T=(0,O.useMemo)(()=>!!t.request.body?.content&&VUe(t.request.headers),[t]),[E,D]=(0,O.useState)(()=>t.request.body?.content?T?`form-data`:t.request.body.type===`json`?`json`:`text`:`none`),[k,A]=(0,O.useState)(T?``:t.request.body?.content??``),[j,M]=(0,O.useState)(()=>T?HUe(t.request.body.content).map(e=>n6(e.key,e.value)):[]),[N,P]=(0,O.useState)(S),[F,I]=(0,O.useState)(t.options?.location??!0),[L,R]=(0,O.useState)(!(t.options?.insecure??!1)),[z,B]=(0,O.useState)(`params`),[ee,V]=(0,O.useState)(o),[te,ne]=(0,O.useState)(null),[re,ie]=(0,O.useState)(0),[ae,oe]=(0,O.useState)(`body`),[H,se]=(0,O.useState)(`pretty`),[ce,le]=(0,O.useState)(!1),[ue,de]=(0,O.useState)(``),[fe,pe]=(0,O.useState)(!1),[me,he]=(0,O.useState)(``),[ge,_e]=(0,O.useState)(t.request.parameters??[]),[ve,ye]=(0,O.useState)(!1),be=s.isPending||c.isPending,xe=l.isPending,Se=(0,O.useMemo)(()=>pQe(_,k,N.token,N.value,...C.map(e=>e.value),...C.map(e=>e.key),...y.map(e=>e.value),...j.map(e=>e.key),...j.map(e=>e.value)),[_,k,N.token,N.value,C,y,j]),Ce=(0,O.useMemo)(()=>{let e=new Map(ge.map(e=>[e.name,e]));return Se.map(t=>e.get(t)??{name:t,value:``,secret:!1})},[Se,ge]);function we(e,t){_e(n=>n.some(t=>t.name===e)?n.map(n=>n.name===e?{...n,value:t}:n):[...n,{name:e,value:t,secret:!1}]),Ee()}function Te(e){_e(t=>t.some(t=>t.name===e)?t.map(t=>t.name===e?{...t,secret:!t.secret}:t):[...t,{name:e,value:``,secret:!0}]),Ee()}function Ee(){ee||V(!0)}function De(e){ye(!0),requestAnimationFrame(()=>
339{document.querySelector(`[data-param="${e}"]`)?.focus()})}function Oe(e,t){if(!t.trim()||e===t)return;let n=RegExp(`\\{\\{\\s*${e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}\\s*\\}\\}`,`g`),r=`{{${t}}}`;v(e=>e.replace(n,r)),A(e=>e.replace(n,r)),w(e=>e.map(e=>({...e,key:e.key.replace(n,r),value:e.value.replace(n,r)}))),b(e=>e.map(e=>({...e,value:e.value.replace(n,r)}))),M(e=>e.map(e=>({...e,key:e.key.replace(n,r),value:e.value.replace(n,r)}))),P(e=>({...e,token:e.token.replace(n,r),username:e.username.replace(n,r),password:e.password.replace(n,r),key:e.key.replace(n,r),value:e.value.replace(n,r)})),_e(n=>n.map(n=>n.name===e?{...n,name:t}:n)),Ee()}let ke=(0,O.useMemo)(()=>GUe({method:h,baseUrl:_,params:y,headers:C,auth:N,bodyMode:E,bodyContent:k,formFields:j,followRedirects:F,verifySsl:L}),[h,_,y,C,N,E,k,j,F,L]),Ae=(0,O.useMemo)(()=>cQe({method:h,url:ke.url,headers:ke.headers,body:ke.body,options:ke.options}),[h,ke]),je=fe?me:Ae,Me=()=>r.push(`/http-request`);function Ne(){return{...o?{}:{id:e},name:d.trim()||n(`namePlaceholder`),description:p.trim()||void 0,request:{url:ke.url,method:h,headers:ke.headers,body:ke.body,parameters:Ce},options:ke.options,companyId:t.companyId||i,teamId:t.teamId||a}}function Pe(){o?s.mutate(Ne(),{onSuccess:e=>{G.success(n(`saved`)),V(!1),e.id&&r.replace(`/http-request/${e.id}`)},onError:()=>G.error(n(`saveFailed`))}):c.mutate(Ne(),{onSuccess:()=>{G.success(n(`saved`)),V(!1)},onError:()=>G.error(n(`saveFailed`))})}function Fe(){let e=performance.now();l.mutate({curlRequestAndOptions:{curlRequest:{method:h,url:ke.url,headers:ke.headers,body:ke.body,parameters:Ce},curlAdditionalOptions:ke.options},stateParameters:Ce},{onSuccess:t=>{ie(Math.round(performance.now()-e)),ne(t),oe(`body`)},onError:()=>G.error(n(`sendFailed`))})}function Ie(){navigator.clipboard.writeText(je).catch(()=>{}),G.success(n(`copiedCurl`))}function Le(e){let t=uQe(e);if(!t)return G.error(n(`importFailed`)),!1;let r=x1(t.url);return g(t.method),v(r.base),b(r.params.map(e=>n6(e.key,e.value))),w(Object.entries(t.headers).map(([e,t])=>n6(e,t))),t.body?.content&&(D(t.body.type===`json`?`json`:`text`),A(t.body.content)),I(t.options.location??F),R(!t.options.insecure&&L),P(e=>({...e,type:`none`})),Ee(),!0}function Re(){Le(ue)&&(le(!1),de(``))}function ze(){Le(me)&&(pe(!1),G.success(n(`curlApplied`)))}let Be=[{key:`params`,label:n(`tabParams`),count:y.filter(e=>e.key.trim()).length||void 0},{key:`headers`,label:n(`tabHeaders`),count:C.filter(e=>e.key.trim()).length||void 0},{key:`body`,label:n(`tabBody`),count:E===`none`?void 0:E===`form-data`?j.filter(e=>e.key.trim()).length||void 0:k.trim()?1:void 0},{key:`auth`,label:n(`tabAuth`)},{key:`settings`,label:n(`tabSettings`)},{key:`curl`,label:n(`tabCurl`)}];return(0,U.jsxs)(`div`,{className:`text-fg-body flex flex-col`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:Me,className:`hover:text-fg-strong transition-colors`,children:n(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`button`,{type:`button`,onClick:Me,className:`hover:text-fg-strong transition-colors`,children:n(`title`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong max-w-[240px] truncate font-medium`,children:d||n(`namePlaceholder`)})]}),(0,U.jsxs)(`div`,{className:`mb-4 flex flex-wrap items-start justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:Me,className:`border-border bg-surface text-muted-foreground hover:text-fg-strong mt-0.5 grid size-8 shrink-0 place-items-center rounded-lg border-[0.5px]`,"aria-label":n(`back`),children:(0,U.jsx)(Sy,{className:`size-4`})}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`input`,{value:d,onChange:e=>{f(e.target.value),Ee()},placeholder:n(`namePlaceholder`),className:`font-heading text-fg-strong placeholder:text-fg-hint min-w-0 border-0 bg-transparent text-[20px] font-bold tracking-[-0.01em] outline-none`}),(0,U.jsx)(`span`,{className:W(`rounded-full px-2 py-0.5 text-[10px] font-medium`,ee?`bg-status-pending-bg text-status-pending-fg`:`bg-status-passed-bg text-status-passed-fg`),children:n(ee?`unsaved`:`savedBadge`)})]}),(0,U.jsx)(`input`,{value:p,onChange:e=>{m(e.target.value),Ee()},placeholder:n(`descriptionPlaceholder`),className:`text-muted-foreground placeholder:text-fg-hint mt-0.5 w-full border-0 bg-transparent text-[12px] outline-none`})]})]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsxs)(Z,{variant:`outline`,size:`sm`,onClick:()=>le(!0),children:[(0,U.jsx)(goe,{}),n(`importCurl`)]}),(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:Ie,children:n(`copyCurl`)}),(0,U.jsxs)(Z,{onClick:Pe,disabled:be,children:[(0,U.jsx)(Rb,{}),n(be?`saving`:`save`)]})]})]}),(0,U.jsxs)(`div`,{className:`mb-3 flex items-center gap-2`,children:[(0,U.jsxs)(OT,{value:h,onValueChange:e=>{g(e),Ee()},children:[(0,U.jsx)(AT,{className:`w-[110px] font-mono text-[12px] font-semibold`,children:(0,U.jsx)(kT,{})}),(0,U.jsx)(jT,{children:dQe.map(e=>(0,U.jsx)(MT,{value:e,children:(0,U.jsx)(mW,{method:e})},e))})]}
339),(0,U.jsx)(s6,{value:_,onChange:e=>{v(e),Ee()},placeholder:n(`urlPlaceholder`),onParamClick:De}),(0,U.jsxs)(Z,{onClick:Fe,disabled:xe||!_.trim(),children:[(0,U.jsx)(Mb,{}),n(xe?`sending`:`send`)]})]}),(0,U.jsx)(`div`,{className:`border-divider mb-3 flex gap-1 border-b`,children:Be.map(e=>(0,U.jsxs)(`button`,{type:`button`,onClick:()=>B(e.key),className:W(`-mb-px inline-flex items-center gap-1.5 border-b-2 px-3 py-2 text-[12.5px] transition-colors`,z===e.key?`border-violet text-fg-strong font-medium`:`text-muted-foreground hover:text-fg-strong border-transparent`),children:[e.label,e.count!=null&&(0,U.jsx)(`span`,{className:`bg-background text-muted-foreground rounded-full px-1.5 font-mono text-[10px]`,children:e.count})]},e.key))}),Se.length>0&&(0,U.jsxs)(`div`,{className:`border-border bg-surface mb-3 rounded-xl border-[0.5px]`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>ye(e=>!e),className:`flex w-full items-center gap-2 px-4 py-2.5`,children:[(0,U.jsx)(Dy,{className:`text-violet size-3.5`}),(0,U.jsxs)(`span`,{className:`text-fg-strong text-[12px] font-medium`,children:[n(`variables`),` `,(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet ml-1 inline-block rounded-full px-1.5 font-mono text-[10px]`,children:Se.length})]}),(0,U.jsxs)(`span`,{className:`text-muted-foreground ml-auto text-[11px]`,children:[n(`variablesHintPre`),` `,(0,U.jsx)(`span`,{className:`text-violet-dark font-mono`,children:`{{`}),(0,U.jsx)(`span`,{className:`text-violet-dark mx-[1px]`,children:`var`}),(0,U.jsx)(`span`,{className:`text-violet-dark font-mono`,children:`}}`}),` `,n(`variablesHintPost`)]}),(0,U.jsx)(Fy,{className:W(`text-muted-foreground size-3.5 transition-transform`,ve&&`rotate-180`)})]}),ve&&(0,U.jsx)(`div`,{className:`border-divider border-t px-4 py-3`,children:(0,U.jsx)(`div`,{className:`flex flex-col gap-2`,children:Ce.map(e=>(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(gQe,{name:e.name,onRename:t=>Oe(e.name,t)}),(0,U.jsx)(IT,{"data-param":e.name,type:e.secret?`password`:`text`,value:e.value,onChange:t=>we(e.name,t.target.value),placeholder:n(`variablePlaceholder`),className:`h-8 flex-1 font-mono text-[12px]`}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>Te(e.name),className:W(`grid size-8 shrink-0 place-items-center rounded-lg border-[0.5px] transition-colors`,e.secret?`border-violet bg-violet-pale text-violet`:`border-border text-muted-foreground hover:text-fg-strong`),"aria-label":e.secret?n(`variablePublic`):n(`variableSecret`),title:e.secret?n(`variablePublic`):n(`variableSecret`),children:e.secret?(0,U.jsx)(vb,{className:`size-3.5`}):(0,U.jsx)(koe,{className:`size-3.5`})})]},e.name))})})]}),(0,U.jsxs)(`div`,{className:`border-border bg-surface mb-4 rounded-xl border-[0.5px] p-4`,children:[z===`params`&&(0,U.jsx)(i6,{rows:y,onChange:e=>{b(e),Ee()},addLabel:n(`kvAddParam`),keyLabel:n(`kvKey`),valueLabel:n(`kvValue`),empty:n(`kvEmptyParams`),onParamClick:De}),z===`headers`&&(0,U.jsx)(i6,{rows:C,onChange:e=>{w(e),Ee()},addLabel:n(`kvAddHeader`),keyLabel:n(`kvHeader`),valueLabel:n(`kvValue`),empty:n(`kvEmptyHeaders`),onParamClick:De}),z===`body`&&(0,U.jsx)(yQe,{mode:E,content:k,formFields:j,onModeChange:e=>{D(e),Ee()},onContentChange:e=>{A(e),Ee()},onFormFieldsChange:e=>{M(e),Ee()},onParamClick:De}),z===`auth`&&(0,U.jsx)(xQe,{auth:N,onChange:e=>{P(e),Ee()},onParamClick:De}),z===`settings`&&(0,U.jsxs)(`div`,{className:`flex max-w-[460px] flex-col gap-4`,children:[(0,U.jsx)(o6,{label:n(`settingFollow`),hint:n(`settingFollowHint`),checked:F,onCheckedChange:e=>{I(e),Ee()}}),(0,U.jsx)(o6,{label:n(`settingVerifySsl`),hint:n(`settingVerifySslHint`),checked:L,onCheckedChange:e=>{R(e),Ee()}})]}),z===`curl`&&(0,U.jsx)(bQe,{value:je,isManual:fe,onEdit:e=>{pe(!0),he(e)},onApply:ze,onCopy:Ie})]}),(0,U.jsx)(wQe,{response:te,ms:re,sending:xe,respTab:ae,setRespTab:oe,respMode:H,setRespMode:se}),(0,U.jsx)(xT,{open:ce,onOpenChange:le,children:(0,U.jsxs)(ST,{className:`sm:max-w-[560px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:n(`importTitle`)}),(0,U.jsx)(ET,{children:n(`importSubtitle`)})]}),(0,U.jsx)($3,{value:ue,onChange:e=>de(e.target.value),placeholder:n(`importPlaceholder`),spellCheck:!1,className:`min-h-[160px] font-mono text-[12px]`}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>le(!1),children:n(`deleteCancel`)}),(0,U.jsx)(Z,{onClick:Re,disabled:!ue.trim(),children:n(`import`)})]})]})})]})}function i6({rows:e,onChange:t,addLabel:n,keyLabel:r,valueLabel:i,empty:a,onParamClick:o}){function s(n,r){t(e.map(e=>e.id===n?{...e,...r}:e))}return(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[e.length===0&&(0,U.jsx)(`p`,{className:`text-muted-foreground py-2 text-[12px]`,children:a}),e.map(n=>(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`input`,{type:`checkbox`,checked:n.enabled,onChange:e=>s(n.id,{enabled:e.target.checked}),className:`accent-violet size-3.5`,"aria-label":n.key||r}),(0,U.jsx)(IT,{value:n.key,onChange:e=>s(n.id,{key:e.target.value}),placeholder:r,className:`h-8 flex-1 font-mono text-[12px]`}),(0,U.jsx)(s6,{value:n.value,onChange:e=>s(n.id,{value:e}),placeholder:i,onParamClick:o,small:!0,className:`flex-[1.4]`}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>t(e.filter(e=>
339e.id!==n.id)),className:`text-muted-foreground hover:text-status-failed grid size-7 shrink-0 place-items-center rounded-md`,"aria-label":`Remove`,children:(0,U.jsx)(ox,{className:`size-4`})})]},n.id)),(0,U.jsxs)(Z,{variant:`ghost`,size:`sm`,className:`text-violet w-fit`,onClick:()=>t([...e,n6()]),children:[(0,U.jsx)(Pb,{}),n]})]})}function yQe({mode:e,content:t,formFields:n,onModeChange:r,onContentChange:i,onFormFieldsChange:a,onParamClick:o}){let s=X(`pages.tools.httpRequest`),c={none:s(`bodyNone`),text:s(`bodyText`),json:s(`bodyJson`),"form-data":s(`bodyFormData`)},l=(0,O.useMemo)(()=>{if(e!==`json`||!t.trim())return!0;try{return JSON.parse(t),!0}catch{return!1}},[e,t]);function u(){try{i(JSON.stringify(JSON.parse(t),null,2))}catch{}}return(0,U.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`div`,{className:`bg-background border-border inline-flex h-8 w-fit items-center gap-0.5 rounded-lg border-[0.5px] p-0.5`,children:fQe.map(t=>(0,U.jsx)(`button`,{type:`button`,onClick:()=>r(t),className:W(`rounded-md px-2.5 py-1 text-[11px] font-medium transition-colors`,e===t?`bg-surface text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`),children:c[t]},t))}),e===`json`&&(0,U.jsxs)(Z,{variant:`ghost`,size:`sm`,onClick:u,className:`text-violet h-7 gap-1 text-[11px]`,children:[(0,U.jsx)(Dy,{className:`size-3.5`}),s(`formatJson`)]})]}),(e===`text`||e===`json`)&&(0,U.jsx)(CQe,{value:t,onChange:i,placeholder:s(e===`json`?`bodyPlaceholder`:`bodyTextPlaceholder`),onParamClick:o}),e===`json`&&!l&&(0,U.jsxs)(`p`,{className:`text-status-failed flex items-center gap-1.5 text-[11.5px] font-medium`,children:[(0,U.jsx)(ox,{className:`size-3.5`}),s(`invalidJson`)]}),e===`form-data`&&(0,U.jsx)(i6,{rows:n,onChange:a,addLabel:s(`formAddField`),keyLabel:s(`formKey`),valueLabel:s(`formValue`),empty:s(`formEmptyFields`),onParamClick:o})]})}function bQe({value:e,isManual:t,onEdit:n,onApply:r,onCopy:i}){let a=X(`pages.tools.httpRequest`);return(0,U.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsxs)(`p`,{className:`text-muted-foreground text-[11.5px]`,children:[(0,U.jsx)(Hoe,{className:`mr-1 inline size-3.5 align-text-bottom`}),a(`curlAutoGenerated`)]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[t&&(0,U.jsxs)(Z,{variant:`outline`,size:`sm`,onClick:r,className:`h-7 gap-1 text-[11px]`,children:[(0,U.jsx)(Py,{className:`size-3.5`}),a(`curlApply`)]}),(0,U.jsxs)(Z,{variant:`ghost`,size:`sm`,onClick:i,className:`h-7 gap-1 text-[11px]`,children:[(0,U.jsx)(loe,{className:`size-3.5`}),a(`copyCurl`)]})]})]}),(0,U.jsx)($3,{value:e,onChange:e=>n(e.target.value),spellCheck:!1,className:`min-h-[240px] font-mono text-[12px] leading-relaxed`})]})}function xQe({auth:e,onChange:t,onParamClick:n}){let r=X(`pages.tools.httpRequest`),i=[{value:`none`,label:r(`authNone`)},{value:`bearer`,label:r(`authBearer`)},{value:`basic`,label:r(`authBasic`)},{value:`apikey`,label:r(`authApiKey`)}];return(0,U.jsxs)(`div`,{className:`flex flex-col gap-4 md:flex-row`,children:[(0,U.jsx)(`div`,{className:`flex shrink-0 flex-col gap-0.5 md:w-[170px]`,children:i.map(n=>(0,U.jsx)(`button`,{type:`button`,onClick:()=>t({...e,type:n.value}),className:W(`rounded-lg px-2.5 py-1.5 text-left text-[12.5px] transition-colors`,e.type===n.value?`bg-violet-pale text-fg-strong font-medium`:`text-muted-foreground hover:text-fg-strong hover:bg-surface-hover`),children:n.label},n.value))}),(0,U.jsxs)(`div`,{className:`border-divider flex-1 md:border-l md:pl-4`,children:[e.type===`none`&&(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12.5px]`,children:r(`authNoneHint`)}),e.type===`bearer`&&(0,U.jsx)(a6,{label:r(`authToken`),children:(0,U.jsx)(s6,{value:e.token,onChange:n=>t({...e,token:n}),placeholder:`{{authToken}}`,onParamClick:n,small:!0})}),e.type===`basic`&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,U.jsx)(a6,{label:r(`authUsername`),children:(0,U.jsx)(s6,{value:e.username,onChange:n=>t({...e,username:n}),onParamClick:n,small:!0})}),(0,U.jsx)(a6,{label:r(`authPassword`),children:(0,U.jsx)(s6,{value:e.password,onChange:n=>t({...e,password:n}),onParamClick:n,small:!0})})]}),e.type===`apikey`&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,U.jsx)(a6,{label:r(`authKey`),children:(0,U.jsx)(s6,{value:e.key,onChange:n=>t({...e,key:n}),onParamClick:n,small:!0})}),(0,U.jsx)(a6,{label:r(`authValue`),children:(0,U.jsx)(s6,{value:e.value,onChange:n=>t({...e,value:n}),onParamClick:n,small:!0})}),(0,U.jsx)(a6,{label:r(`authAddTo`),children:(0,U.jsxs)(OT,{value:e.addTo,onValueChange:n=>t({...e,addTo:n}),children:[(0,U.jsx)(AT,{className:`w-[180px]`,children:(0,U.jsx)(kT,{})}),(0,U.jsxs)(jT,{children:[(0,U.jsx)(MT,{value:`header`,children:r(`authAddToHeader`)}),(0,U.jsx)(MT,{value:`query`,children:r(`authAddToQuery`)})]})]})})]})]})]})}function a6({label:e,children:t}){return(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:e}),t]})}function o6({label:e,hint:t,checked:n,onCheckedChange:r}){return(0,U.jsxs)(`label`,{className:`flex cursor-pointer items-start justify-between gap-4`,children:[(0,U.jsxs)(`span`,{className:`flex flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-[12.5px] font-medium`,children:e}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11.5px]`,children:t})]}),(0,U.jsx)(uQ,{checked:n,onCheckedChange:r})]})}
339function s6({value:e,onChange:t,placeholder:n,onParamClick:r,small:i,className:a}){let o=(0,O.useRef)(null),s=(0,O.useRef)(null),c=(0,O.useMemo)(()=>mQe(e),[e]),l=c.some(e=>e.isParam),u=i?`text-[12px]`:`text-[12.5px]`;function d(){o.current&&s.current&&(s.current.scrollLeft=o.current.scrollLeft)}function f(e){if(!l||!r||!o.current)return;let t=o.current.selectionStart??0,n=0;for(let i of c){let a=n+i.text.length;if(i.isParam&&t>=n&&t<=a){t6.lastIndex=0;let t=t6.exec(i.text);t&&r(t[1].trim()),e.preventDefault();return}n=a}}return(0,U.jsxs)(`div`,{className:W(`bg-surface border-border focus-within:border-violet-light relative flex flex-1 items-center overflow-hidden rounded-lg border-[0.5px] px-3`,i?`h-8`:`h-9`,a),children:[l&&(0,U.jsx)(`span`,{ref:s,className:W(`pointer-events-none absolute inset-y-0 right-3 left-3 flex items-center overflow-hidden font-mono leading-none whitespace-nowrap`,u),"aria-hidden":`true`,children:(0,U.jsx)(hQe,{segments:c})}),(0,U.jsx)(`input`,{ref:o,value:e,onChange:e=>t(e.target.value),onScroll:d,onClick:f,placeholder:n,className:W(`placeholder:text-fg-hint flex-1 bg-transparent font-mono leading-none outline-none`,u,l?`text-transparent caret-[var(--color-fg-strong)]`:`text-fg-strong`)})]})}var SQe={lineNumbers:`off`,glyphMargin:!1,folding:!1,lineDecorationsWidth:10,lineNumbersMinChars:0,renderLineHighlight:`none`,occurrencesHighlight:`off`,selectionHighlight:!1,contextmenu:!1,quickSuggestions:!1,suggestOnTriggerCharacters:!1,overviewRulerBorder:!1,hideCursorInOverviewRuler:!0,guides:{indentation:!1},scrollbar:{vertical:`auto`,horizontal:`hidden`,useShadows:!1},padding:{top:10,bottom:10}};function CQe({value:e,onChange:t,placeholder:n,onParamClick:r}){let i=(0,O.useRef)(r);(0,O.useEffect)(()=>{i.current=r},[r]);let a=(0,O.useCallback)(e=>{let t=e.getModel();if(!t)return;let n=()=>c1(t.getValue()).map(e=>{let n=t.getPositionAt(e.start),r=t.getPositionAt(e.end);return{range:{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column},options:{inlineClassName:`t2t-http-param`}}}),r=e.createDecorationsCollection(n()),a=e.onDidChangeModelContent(()=>{r.set(n())}),o=e.onMouseDown(e=>{let n=e.target.element?.className,r=e.target.position;if(typeof n!=`string`||!n.includes(`t2t-http-param`)||!r)return;let a=t.getOffsetAt(r),o=c1(t.getValue()).find(e=>a>=e.start&&a<=e.end);o&&i.current?.(o.name)});e.onDidDispose(()=>{a.dispose(),o.dispose()})},[]);return(0,U.jsx)(`div`,{className:`border-input focus-within:border-ring focus-within:ring-ring/50 overflow-hidden rounded-lg border focus-within:ring-3`,style:{minHeight:200},children:(0,U.jsx)(a1,{value:e,onChange:t,language:`plaintext`,autoHeight:{min:200,max:500},options:SQe,onMount:a,placeholder:n,className:`text-[12.5px] leading-[18px]`})})}var c6=80;function l6(e,t,n){navigator.clipboard.writeText(e).then(()=>G.success(t),()=>G.error(n))}function wQe({response:e,ms:t,sending:n,respTab:r,setRespTab:i,respMode:a,setRespMode:o}){let s=X(`pages.tools.httpRequest`),[c,l]=(0,O.useState)(null);if(!e)return(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground flex min-h-[180px] flex-col items-center justify-center gap-2 rounded-xl border-[0.5px] border-dashed p-8 text-center`,children:[(0,U.jsx)(Mb,{className:`text-fg-hint size-6`}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[13px] font-medium`,children:s(n?`sending`:`responseReady`)}),!n&&(0,U.jsx)(`span`,{className:`text-[12px]`,children:s(`responseReadyHint`)})]});let u=new Blob([e.body]).size,d=Object.entries(e.headers??{}),f=a===`pretty`?w1(e.body):e.body;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`div`,{className:`border-border bg-surface overflow-hidden rounded-xl border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`border-divider flex flex-wrap items-center gap-4 border-b px-4 py-2.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[12px] font-medium`,children:s(`responseTitle`)}),(0,U.jsxs)(`span`,{className:`flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:s(`responseStatus`)}),(0,U.jsx)(AU,{tone:C1(e.statusCode),children:e.statusCode})]}),(0,U.jsxs)(`span`,{className:`text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:s(`responseTime`)}),` `,(0,U.jsxs)(`span`,{className:W(`font-mono`,t>1e3?`text-status-failed`:`text-status-passed-fg`),children:[t,` ms`]})]}),(0,U.jsxs)(`span`,{className:`text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:s(`responseSize`)}),` `,(0,U.jsxs)(`span`,{className:`font-mono`,children:[(u/1024).toFixed(1),` KB`]})]})]}),(0,U.jsxs)(`div`,{className:`border-divider flex items-center justify-between border-b px-3`,children:[(0,U.jsx)(`div`,{className:`flex gap-1`,children:[`body`,`headers`].map(e=>(0,U.jsxs)(`button`,{type:`button`,onClick:()=>i(e),className:W(`-mb-px inline-flex items-center gap-1.5 border-b-2 px-3 py-2 text-[12px] transition-colors`,r===e?`border-violet text-fg-strong font-medium`:`text-muted-foreground hover:text-fg-strong border-transparent`),children:[s(e===`body`?`respBody`:`respHeaders`),e===`headers`&&d.length>0&&(0,U.jsx)(`span`,{className:`bg-background text-muted-foreground rounded-full px-1.5 font-mono text-[10px]`,children:d.length})]},e))}),(0,U.jsx)(`div`,{className:`flex items-center gap-1.5`,children:r===`body`&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{className:`bg-background border-border inline-flex h-7 items-center gap-0.5 rounded-lg border-[0.5px] p-0.5`,children:[`pretty`,`raw`].map(e=>(0,U.jsx)(`button`,{type:`button`,onClick:()=>o(e),className:W(`rounded-md px-2 py-0.5 text-[10.5px] font-medium transition-colors`,a===e?`bg-surface text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`),children:s(e===`pretty`?`respPretty`:`respRaw`)},e))}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>l6(e.body,s(`respCopied`),s(`respCopyFailed`)),className:`text-muted-foreground hover:text-fg-strong grid size-7 place-items-center rounded-md transition-colors`,"aria-label":s(`respCopyBody`),children:(0,U.jsx)(Yy,{className:`size-3.5`})})]})})]}),(0,U.jsx)(`div`,{className:`max-h-[360px] overflow-auto p-3.5`,children:r===`body`?(0,U.jsx)(`pre`,{className:`text-fg-body font-mono text-[12px] leading-relaxed whitespace-pre-wrap`,children:(0,U.jsx)(`code`,{children:f})}):(0,U.jsx)(`div`,{className:`flex flex-col gap-1.5`,children:d.map(([e,t])=>{let n=t.join(`, `),r=n.length>c6;return(0,U.jsxs)(`div`,{className:`group grid grid-cols-[200px_1fr] gap-3 text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate font-mono font-medium`,children:e}),(0,U.jsxs)(`span`,{className:`flex items-start gap-1.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-body min-w-0 font-mono break-all`,children:r?`${n.slice(0,c6)}â¦`:n}),(0,U.jsxs)(`span`,{className:`flex shrink-0 items-center gap-0.5 opacity-0 transition-opacity group-hover:opacity-100`,children:[r&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>l({title:e,text:n}),className:`text-muted-foreground hover:text-fg-strong grid size-5 place-items-center rounded`,"aria-label":s(`respExpandTitle`),children:(0,U.jsx)(moe,{className:`size-3`})}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>l6(n,s(`respCopied`),s(`respCopyFailed`)),className:`text-muted-foreground hover:text-fg-strong grid size-5 place-items-center rounded`,"aria-label":s(`respCopyValue`),children:(0,U.jsx)(Yy,{className:`size-3`})})]})]})]},e)})})})]}),(0,U.jsx)(xT,{open:!!c,onOpenChange:e=>!e&&l(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[560px]`,children:[(0,U.jsx)(CT,{children:(0,U.jsx)(TT,{children:c?.title??s(`respExpandTitle`)})}),(0,U.jsx)(`pre`,{className:`text-fg-body max-h-[300px] overflow-auto rounded-lg bg-black/5 p-3 font-mono text-[12px] leading-relaxed whitespace-pre-wrap dark:bg-white/5`,children:c?.text}),(0,U.jsx)(wT,{children:(0,U.jsxs)(Z,{variant:`outline`,size:`sm`,onClick:()=>c&&l6(c.text,s(`respCopied`),s(`respCopyFailed`)),children:[(0,U.jsx)(Yy,{className:`size-3.5`}),s(`respCopyValue`)]})})]})})]})}function TQe(){return(0,U.jsx)(vQe,{})}var u6=`border-border flex min-w-0 flex-col rounded-lg border-[0.5px]`,d6=`border-divider text-muted-foreground border-b px-3 py-2 text-[10.5px] font-semibold tracking-[0.06em] uppercase`,f6=`border-divider focus-within:border-violet-light flex h-8 items-center gap-2 border-b px-3`,p6=`text-fg-strong placeholder:text-fg-hint flex-1 bg-transparent text-[12px] outline-none`,m6=`min-h-[220px] flex-1 overflow-y-auto p-1.5`,h6=`flex w-full cursor-pointer items-center gap-2.5 rounded-md px-2 py-1.5 text-left`,g6=`text-fg-hint grid min-h-[200px] place-items-center px-3 text-center text-[12px]`;function _6({on:e}){return(0,U.jsx)(`span`,{className:W(`grid size-4 shrink-0 place-items-center rounded-full border`,e?`border-violet`:`border-border`),children:e&&(0,U.jsx)(`span`,{className:`bg-violet size-2 roun
339ded-full`})})}function EQe({tests:e,mapping:t,onChange:n,companyId:r,teamId:i}){let a=X(`pages.automation.wizard`),o=tW(r,i,!0),s=(0,O.useMemo)(()=>o.data??[],[o.data]),c=(0,O.useMemo)(()=>new Map(s.filter(e=>e.id).map(e=>[e.id,e])),[s]),[l,u]=(0,O.useState)(``),[d,f]=(0,O.useState)(``),[p,m]=(0,O.useState)(``),[h,g]=(0,O.useState)([]),[_,v]=(0,O.useState)(null),y=(0,O.useMemo)(()=>{let t=l.trim().toLowerCase();return e.filter(e=>!t||e.name.toLowerCase().includes(t))},[e,l]),b=(0,O.useMemo)(()=>{let e=d.trim().toLowerCase();return s.filter(t=>!e||t.name.toLowerCase().includes(e))},[s,d]),x=(0,O.useMemo)(()=>{let n=p.trim().toLowerCase();return Object.entries(t).map(([t,n])=>({testId:t,dsId:n,testName:e.find(e=>e.id===t)?.name??t,dsName:c.get(n)?.name??n})).filter(e=>!n||e.testName.toLowerCase().includes(n)||e.dsName.toLowerCase().includes(n))},[t,p,e,c]);function S(e){g(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}function C(){if(!_||h.length===0)return;let e={...t};for(let t of h)e[t]=_;n(e),g([])}function w(e){let r={...t};delete r[e],n(r)}let T=!!_&&h.length>0;return(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,U.jsxs)(`div`,{className:`grid grid-cols-3 gap-3`,children:[(0,U.jsxs)(`div`,{className:u6,children:[(0,U.jsx)(`div`,{className:d6,children:a(`dsColTests`)}),(0,U.jsxs)(`div`,{className:f6,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3.5`}),(0,U.jsx)(`input`,{value:l,onChange:e=>u(e.target.value),placeholder:a(`dsSearchTests`),className:p6})]}),(0,U.jsx)(`div`,{className:m6,children:y.length===0?(0,U.jsx)(`div`,{className:g6,children:a(`dsNoTests`)}):y.map(e=>{let n=h.includes(e.id),r=t[e.id]!=null;return(0,U.jsxs)(`button`,{type:`button`,onClick:()=>S(e.id),className:W(h6,n?`bg-violet-pale`:`hover:bg-surface-hover`),children:[(0,U.jsx)(_6,{on:n}),(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 flex-1 truncate text-[12px]`,children:e.name}),r&&(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet shrink-0 rounded px-1.5 py-0.5 text-[10px] font-medium`,children:a(`dsBound`)})]},e.id)})})]}),(0,U.jsxs)(`div`,{className:u6,children:[(0,U.jsx)(`div`,{className:d6,children:a(`dsColSources`)}),(0,U.jsxs)(`div`,{className:f6,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3.5`}),(0,U.jsx)(`input`,{value:d,onChange:e=>f(e.target.value),placeholder:a(`dsSearchSources`),className:p6})]}),(0,U.jsx)(`div`,{className:m6,children:b.length===0?(0,U.jsx)(`div`,{className:g6,children:a(`dsNoSources`)}):b.map(e=>{let t=_===e.id;return(0,U.jsxs)(`button`,{type:`button`,onClick:()=>v(t?null:e.id??null),className:W(h6,t?`bg-violet-pale`:`hover:bg-surface-hover`),children:[(0,U.jsx)(_6,{on:t}),(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 flex-1 truncate text-[12px]`,children:e.name})]},e.id)})})]}),(0,U.jsxs)(`div`,{className:u6,children:[(0,U.jsx)(`div`,{className:d6,children:a(`dsColBindings`)}),(0,U.jsxs)(`div`,{className:f6,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3.5`}),(0,U.jsx)(`input`,{value:p,onChange:e=>m(e.target.value),placeholder:a(`dsSearchBindings`),className:p6})]}),(0,U.jsx)(`div`,{className:m6,children:x.length===0?(0,U.jsx)(`div`,{className:g6,children:(0,U.jsxs)(`span`,{className:`flex flex-col items-center gap-1.5`,children:[(0,U.jsx)(hb,{className:`size-4 opacity-40`}),a(`dsNoBindings`)]})}):x.map(e=>(0,U.jsxs)(`div`,{className:`border-divider hover:bg-surface-hover flex items-center gap-2 rounded-md border-[0.5px] px-2 py-1.5`,children:[(0,U.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12px] font-medium`,children:e.testName}),(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[11px]`,children:e.dsName})]}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>w(e.testId),className:`text-muted-foreground hover:text-status-failed grid size-6 shrink-0 place-items-center rounded`,"aria-label":a(`dsUnbind`),children:(0,U.jsx)(ox,{className:`size-3.5`})})]},e.testId))})]})]}),(0,U.jsx)(`div`,{className:`flex justify-center`,children:(0,U.jsxs)(`button`,{type:`button`,onClick:C,disabled:!T,className:W(`inline-flex h-8 items-center gap-1.5 rounded-md px-4 text-[12px] font-medium transition`,T?`bg-primary text-primary-foreground hover:bg-primary/90`:`bg-muted text-muted-foreground cursor-not-allowed`),children:[(0,U.jsx)(hb,{className:`size-3.5`}),a(`dsBind`)]})})]})}function v6({className:e,...t}){return(0,U.jsx)(sp,{"data-slot":`checkbox`,className:W(`peer border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3`,e),...t,children:(0,U.jsx)(lp,{"data-slot":`checkbox-indicator`,className:`grid place-content-center text-current transition-none [&>svg]:size-3.5`,children:(0,U.jsx)(Py,{})})})}var y6=`all`;function b6(e){return e.kind===`test`?[{id:e.id,name:e.name}]:e.children.flatMap(b6)}function x6(e){return e.flatMap(e=>e.kind===`dir`?[e.id,...x6(e.children)]:[])}function DQe({companyId:e,teamId:t,selected:n,onToggleTest:r,onGroupSelect:i}){let a=X(`pages.automation.wizard`),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)(``),[u,d]=(0,O.useState)(()=>new Set),f=Gke(e,t,o,c,!0).data,p=W$(t).data??[],m=(0,O.useMemo)(()=>new Set(n.map(e=>e.id)),[n]),h=!!(o.trim()||c),g=(0,O.useMemo)(()=>h&&f?new Set(x6(f.nodes)):u,[h,f,u]);function _(e){d(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})}function v(e,t){return e.map(e=>{if(e.kind===`test`){let n=m.has(e.id);return(0,U.jsxs)(`label`,{className:W(`border-divider flex cursor-pointer items-center gap-2.5 border-b py-2 pr-3 last:border-b-0`,n?`bg-violet-pale/40`:`hover:bg-surface-hover`),style:{paddingLeft:12+t*26},children:[(0,U.jsx)(v6,{checked:n,onCheckedChange:()=>r({id:e.id,name:e.name}),"aria-label":e.name}),(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12.5px]`,children:e.name})]},e.id)}let n=b6(e),o=n.filter(e=>m.has(e.id)).length,s=n.length>0&&o===n.length||o>0&&`indeterminate`,c=g.has(e.id);return(0,U.jsxs)(`div`,{children:[(0,U.jsxs)(`div`,{role:`button`,tabIndex:0,onClick:()=>_(e.id),onKeyDown:t=>(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),_(e.id)),className:`border-divider hover:bg-surface-hover flex cursor-pointer items-center gap-2.5 border-b py-2 pr-3`,style:{paddingLeft:12+t*26},"aria-expanded":c,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground grid size-4 shrink-0 place-items-center`,children:c?(0,U.jsx)(Fy,{className:`size-3.5`}):(0,U.jsx)(Ly,{className:`size-3.5`})}),(0,U.jsx)(`span`,{onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:`presentation`,children:(0,U.jsx)(v6,{checked:s,disabled:n.length===0,onCheckedChange:()=>i(n,s!==!0),"aria-label":a(`groupSelectAria`,{name:e.name})})}),(0,U.jsx)(lb,{className:`text-status-passed-fg size-3.5 shrink-0`,strokeWidth:1.8}),(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[12.5px] font-medium`,children:e.name}),(0,U.jsx)(`span`,{className:`bg-surface-alt text-muted-foreground grid size-5 shrink-0 place-items-center rounded-full font-mono text-[10.5px]`,children:e.testCount})]}),c&&e.children.length>0&&(0,U.jsx)(`div`,{children:v(e.children,t+1)})]},e.id)})}return(0,U.jsxs)(`div`,{children:[(0,U.jsxs)(`div`,{className:`mb-3 flex items-center gap-2`,children:[(0,U.jsxs)(`div`,{className:`bg-surface border-border focus-within:border-violet-light flex h-9 flex-1 items-center gap-2 rounded-lg border-[0.5px] px-3`,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground size-3.5`}),(0,U.jsx)(`input`,{value:o,onChange:e=>s(e.target.value),placeholder:a(`testSearchPlaceholder`),className:`text-fg-strong placeholder:text-fg-hint flex-1 bg-transparent text-[12.5px] outline-none`})]}),(0,U.jsxs)(OT,{value:c||y6,onValueChange:e=>l(e===y6?``:e),children:[(0,U.jsxs)(AT,{className:`w-[180px]`,"aria-label":a(`selectTag`),children:[(0,U.jsx)(Zb,{className:`text-muted-foreground size-3.5`}),(0,U.jsx)(kT,{})]}),(0,U.jsxs)(jT,{children:[(0,U.jsx)(MT,{value:y6,children:a(c?`allTags`:`selectTag`)}),p.map(e=>(0,U.jsx)(MT,{value:e.id??e.name,children:e.name},e.id??e.name))]})]})]}),(0,U.jsxs)(`div`,{className:`border-border overflow-hidden rounded-lg border-[0.5px]`,children:[(0,U.jsx)(`div`,{className:`bg-surface-alt border-divider text-fg-hint border-b px-3 py-2 pl-[38px] text-[10px] font-semibold tracking-[0.08em] uppercase`,children:a(`colName`)}),(0,U.jsx)(`div`,{className:`max-h-[340px] overflow-y-auto`,children:!f||f.nodes.length===0?(0,U.jsx)(`div`,{className:`text-muted-foreground p-6 text-center text-[12px]`,children:a(`noTests`)}):v(f.nodes,0)})]}),f&&(0,U.jsxs)(`p`,{className:`text-muted-foreground mt-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`bg-violet size-1.5 rounded-full`,"aria-hidden":`true`}),a(`treeShowing`,{selected:n.length,total:f.testCount,groups:f.groupCount})]})]})}var OQe=[`JAN`,`FEB`,`MAR`,`APR`,`MAY`,`JUN`,`JUL`,`AUG`,`SEP`,`OCT`,`NOV`,`DEC`],kQe=[`SUN`,`MON`,`TUE`,`WED`,`THU`,`FRI`,`SAT`],S6={type:`minutes`,min:0,max:59,total:60},C6={type:`hours`,min:0,max:23,total:24},w6={type:`month-days`,min:1,max:31,total:31},T6={type:`months`,min:1,max:12,total:12,alt:OQe},E6={type:`week-days`,min:0,max:6,total:7,alt:kQe},AQe=new Map([[`@yearly`,`0 0 1 1 *`],[`@annually`,`0 0 1 1 *`],[`@monthly`,`0 0 1 * *`],[`@weekly`,`0 0 * * 0`],[`@daily`,`0 0 * * *`],[`@midnight`,`0 0 * * *`],[`@hourly`,`0 * * * *`]]),D6=(e,t)=>e-t;function O6(e,t){let n=[];for(let r=e;r<=t;r++)n.push(r);return n}
339function k6(e){return e.filter((t,n)=>e.indexOf(t)===n)}function A6(e,t){return t.type===`week-days`?e.map(e=>e===7?0:e):e}function j6(e,t){let n=e.at(0),r=e.at(-1);if(n!==void 0&&n<t.min)return n;if(r!==void 0&&r>t.max)return r}function M6(e){let t=parseInt(e,10);return t===Number(e)?t:NaN}function N6(e,t){let n=k6(A6(e,t)).sort(D6);if(n.length===0)return n;let r=j6(n,t);if(r!==void 0)throw Error(`Value "${r}" out of range for ${t.type}`);return n}function P6(e,t,n=!1){return n&&t.alt?t.alt.at(e-t.min)??String(e):String(e)}function jQe(e){if(e.length<=2)return;let t=e[1]-e[0];return t>1?t:void 0}function MQe(e,t){return e.every((n,r)=>r===0||n-(e.at(r-1)??0)===t)}function NQe(e,t,n){let r=e[0],i=e.at(-1)??r;return r===t.min&&i+n>t.max&&e.length===(i-r)/n+1}function PQe(e){let t=[],n=null;return e.forEach((r,i)=>{if(r===(e.at(i+1)??NaN)-1){n===null&&(n=r);return}n===null?t.push(r):(t.push([n,r]),n=null)}),t}function F6(e,t,n=!1){if(e.length===0||e.length===t.max-t.min+1)return`*`;let r=jQe(e);return r&&MQe(e,r)?NQe(e,t,r)?`*/${r}`:`${P6(e[0],t,n)}-${P6(e.at(-1)??e[0],t,n)}/${r}`:PQe(e).map(e=>Array.isArray(e)?`${P6(e[0],t,n)}-${P6(e[1],t,n)}`:P6(e,t,n)).join(`,`)}function FQe(e,t){if(!t.alt)return e;let n=e.toUpperCase();return t.alt.forEach((e,r)=>{n=n.split(e).join(String(r+t.min))}),n}function IQe(e,t,n){let r=e.split(`-`);if(r.length===1){let e=M6(r[0]);if(isNaN(e))throw Error(`Invalid value "${t}" for ${n.type}`);return[e]}if(r.length===2){let i=M6(r[0]),a=M6(r[1]);if(isNaN(i)||isNaN(a))throw Error(`Invalid value "${t}" for ${n.type}`);if(a<i)throw Error(`Max range is less than min range in "${e}" for ${n.type}`);return O6(i,a)}throw Error(`Invalid value "${e}" for ${n.type}`)}function LQe(e,t){if(e===void 0)return;let n=M6(e);if(isNaN(n)||n<1)throw Error(`Invalid interval step value "${e}" for ${t.type}`);return n}function RQe(e,t){if(!t)return e;let n=e[0];return e.filter(e=>e%t===n%t||e===n)}function I6(e,t){if(e===`*`||e===`*/1`)return[];let n=k6(A6(FQe(e,t).split(`,`).flatMap(n=>{let r=n.split(`/`);if(r.length>2)throw Error(`Invalid value "${e}" for ${t.type}`);let[i,a]=r;return RQe(i===`*`?O6(t.min,t.max):IQe(i,e,t),LQe(a,t))}),t)).sort(D6),r=j6(n,t);if(r!==void 0)throw Error(`Value "${r}" out of range for ${t.type}`);return n.length===t.total?[]:n}function zQe(e){let t=e.replace(/\s+/g,` `).trim().split(` `);if(t.length!==5)throw Error(`Invalid cron string format`);let[n,r,i,a,o]=t;return[I6(n,S6),I6(r,C6),I6(i,w6),I6(a,T6),I6(o,E6)]}function BQe(e,t,n,r,i){return r.length>0?`year`:n.length>0?`month`:i.length>0?`week`:t.length>0?`day`:e.length>0?`hour`:`minute`}function L6(e){return{months:e===`year`,monthDays:e===`year`||e===`month`,weekDays:e===`year`||e===`month`||e===`week`,hours:e!==`minute`&&e!==`hour`,minutes:e!==`minute`}}function R6(e){let t=e?.trim()??``;if(!t)return null;try{let[e,n,r,i,a]=zQe(AQe.get(t)??t);return{period:BQe(e,n,r,i,a),minutes:e,hours:n,monthDays:r,months:i,weekDays:a}}catch{return null}}function z6({period:e,minutes:t,hours:n,monthDays:r,months:i,weekDays:a},o=!1){let s=L6(e);return[[s.minutes?t??[]:[],S6],[s.hours?n??[]:[],C6],[s.monthDays?r??[]:[],w6],[s.months?i??[]:[],T6],[s.weekDays?a??[]:[],E6]].map(([e,t])=>F6(N6(e,t),t,o)).join(` `)}function VQe(e,t,n=!1){let r=F6(N6(e??[],t),t,n),i=/^\*\/(\d+),?/.exec(r);return{part:r,step:i?Number(i[1]):void 0}}function B6(e,t,n){let r=e??[],i=r.includes(t)?r.filter(e=>e!==t):[...r,t].sort(D6);return i.length===n.total?[]:i}var V6=/^\d+$/;function HQe(e){let t={freq:`daily`,hour:0,minute:0,weekday:1,dayOfMonth:1,isRaw:!0,raw:e},n=e.trim().split(/\s+/);if(n.length!==5)return t;let[r,i,a,o,s]=n;if(o!==`*`||!V6.test(r))return t;let c=Number(r);if(c>59)return t;if(i===`*`)return a!==`*`||s!==`*`?t:{...t,freq:`hourly`,minute:c,isRaw:!1};if(!V6.test(i))return t;let l=Number(i);if(l>23)return t;if(s!==`*`){if(a!==`*`||!V6.test(s))return t;let e=Number(s);return e>6?t:{...t,freq:`weekly`,hour:l,minute:c,weekday:e,isRaw:!1}}if(a!==`*`){if(!V6.test(a))return t;let e=Number(a);return e<1||e>31?t:{...t,freq:`monthly`,hour:l,minute:c,dayOfMonth:e,isRaw:!1}}return{...t,freq:`daily`,hour:l,minute:c,isRaw:!1}}function UQe(e){return e.trim().split(/\s+/).length===5&&R6(e)!==null}function H6({freq:e,hour:t,minute:n,weekday:r,dayOfMonth:i,useRawCron:a,cronRaw:o}){return a?o.trim():e===`hourly`?`${n} * * * *`:e===`weekly`?`${n} ${t} * * ${r}`:e===`monthly`?`${n} ${t} ${i} * *`:`${n} ${t} * * *`}function WQe(e){return{name:e.name.trim(),testIds:e.testIds,dataSourceMapping:e.dataSourceMapping,randomDataSelectionCounts:Object.fromEntries(Object.entries(e.randomDataSelectionCounts??{}).filter(([t])=>e.dataSourceMapping[t]!=null)),cronText:e.scheduleOn?e.cron:null,enabled:!0,browsers:e.browsers,isParallel:e.isParallel,isNotificationsEnabled:e.n
339otifications.length>0,notificationGroup:e.notifications,saveArtifacts:e.saveArtifacts,recordVideo:e.recordVideo,retryAmount:e.retryOn?e.retryAmount:null,settingProfileNames:e.profiles,platform:`WEB`,companyId:e.companyId,teamId:e.teamId}}var GQe=[{value:`year`,labelKey:`cronPeriodYear`},{value:`month`,labelKey:`cronPeriodMonth`},{value:`week`,labelKey:`cronPeriodWeek`},{value:`day`,labelKey:`cronPeriodDay`},{value:`hour`,labelKey:`cronPeriodHour`},{value:`minute`,labelKey:`cronPeriodMinute`}],KQe=[`monthJan`,`monthFeb`,`monthMar`,`monthApr`,`monthMay`,`monthJun`,`monthJul`,`monthAug`,`monthSep`,`monthOct`,`monthNov`,`monthDec`],qQe=[`weekdaySun`,`weekdayMon`,`weekdayTue`,`weekdayWed`,`weekdayThu`,`weekdayFri`,`weekdaySat`],JQe=`border-input focus-visible:border-ring focus-visible:ring-ring/50 dark:bg-input/30 dark:hover:bg-input/50 flex h-8 w-fit items-center justify-between gap-1.5 rounded-lg border bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:ring-3`;function YQe({value:e,onChange:t,className:n}){let r=X(`pages.automation.wizard`),i=(0,O.useMemo)(()=>R6(e),[e]),a=e.trim().length>0&&i===null,[o,s]=(0,O.useState)(()=>i??{period:`day`}),[c,l]=(0,O.useState)(e);e!==c&&(l(e),i&&z6(o)!==e&&s(i));function u(e){let n={...o,...e};s(n),t(z6(n))}let{period:d}=o,f=L6(d),p=!o.monthDays?.length,m=!o.weekDays?.length;return(0,U.jsxs)(`div`,{className:W(`flex flex-col gap-2`,n),children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-2 gap-y-2`,children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:r(`cronEvery`)}),(0,U.jsxs)(OT,{value:d,onValueChange:e=>u({period:e}),children:[(0,U.jsx)(AT,{className:`w-[104px]`,"aria-label":r(`cronPeriodAria`),children:(0,U.jsx)(kT,{})}),(0,U.jsx)(jT,{children:GQe.map(e=>(0,U.jsx)(MT,{value:e.value,children:r(e.labelKey)},e.value))})]}),f.months&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:r(`cronIn`)}),(0,U.jsx)(U6,{unit:T6,values:o.months,onToggle:e=>u({months:B6(o.months,e,T6)}),placeholder:r(`cronEveryMonth`),aria:r(`cronMonthsAria`),optionLabels:KQe.map(e=>r(e)),humanize:!0})]}),f.monthDays&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:r(`cronOn`)}),(0,U.jsx)(U6,{unit:w6,values:o.monthDays,onToggle:e=>u({monthDays:B6(o.monthDays,e,w6)}),placeholder:r(m?`cronEveryMonthDay`:`cronMonthDayShort`),aria:r(`cronMonthDaysAria`),columns:4,width:`w-[188px]`})]}),f.weekDays&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:r(d===`week`?`cronOn`:`cronAnd`)}),(0,U.jsx)(U6,{unit:E6,values:o.weekDays,onToggle:e=>u({weekDays:B6(o.weekDays,e,E6)}),placeholder:r(d===`week`||p?`cronEveryWeekDay`:`cronWeekDayShort`),aria:r(`cronWeekDaysAria`),optionLabels:qQe.map(e=>r(e)),humanize:!0})]}),(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-2 gap-y-2`,children:[f.hours&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:r(`cronAt`)}),(0,U.jsx)(U6,{unit:C6,values:o.hours,onToggle:e=>u({hours:B6(o.hours,e,C6)}),placeholder:r(`cronEveryHour`),aria:r(`cronHoursAria`),columns:4,width:`w-[188px]`})]}),f.minutes&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:r(d===`hour`?`cronAt`:`cronMinuteSep`)}),(0,U.jsx)(U6,{unit:S6,values:o.minutes,onToggle:e=>u({minutes:B6(o.minutes,e,S6)}),placeholder:r(d===`hour`?`cronEveryShort`:`cronEveryMinute`),aria:r(`cronMinutesAria`),columns:d===`day`||d===`hour`?5:6,width:d===`day`||d===`hour`?`w-[228px]`:`w-[272px]`}),d===`hour`&&(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:r(`cronMinutesSuffix`)})]}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>u({months:void 0,monthDays:void 0,weekDays:void 0,hours:void 0,minutes:void 0}),className:`border-status-failed/40 text-status-failed hover:bg-status-failed-bg h-8 shrink-0 rounded-lg border px-3 text-[12.5px] font-medium transition-colors`,children:r(`cronClear`)})]})]}),a&&(0,U.jsx)(`p`,{className:`text-status-failed text-[11px]`,children:r(`cronInvalid`)})]})}function U6({unit:e,values:t,onToggle:n,placeholder:r,aria:i,optionLabels:a,humanize:o=!1,columns:s,width:c=`w-[188px]`}){let l=X(`pages.automation.wizard`),[u,d]=(0,O.useState)(!1),f=t??[],p=VQe(f,e,o),m=Array.from({length:e.total},(t,n)=>n+e.min);return(0,U.jsxs)(hT,{open:u,onOpenChange:d,children:[(0,U.jsx)(gT,{asChild:!0,children:(0,U.jsxs)(`button`,{type:`button`,"aria-label":i,className:W(JQe,`max-w-[220px] min-w-[70px]`),children:[(0,U.jsx)(`span`,{className:W(`truncate text-[13px]`,f.length===0&&`text-fg-hint`),children:f.length===0?r:p.step?l(`cronEveryN`,{n:p.step}):p.part}),(0,U.jsx)(Fy,{className:`text-muted-foreground size-3.5 shrink-0`})]})}),(0,U.jsx)(_T,{align:`start`,"aria-label":i,className:W(`p-1`,c),children:(0,U.jsx)(`div`,{className:W(s?`grid gap-0.5`:`flex flex-col gap-0.5`),style:s?{gridTemplateColumns:`repeat(${s}, minmax(0, 1fr))`}:void 0,children:m.map(t=>{let r=f.includes(t);return(0,U.jsx)(`button`,{type:`button`,"aria-pressed":r,onClick:()=>n(t),className:W(`rounded-md px-2 py-1.5 text-[12.5px] transition-colors`,s?`text-center`:`text-left`,r?`bg-violet-pale text-violet-dark font-medium`:`text-fg-strong hover:bg-surface-hover`),children:a?a.at(t-e.min):P6(t,e)},t)})})})]})}var XQe=o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define(`cronstrue`,[],r):typeof e==`object`?e.cronstrue=r():n.cronstrue=r()})(globalThis,()=>(()=>
339{var e={949(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var r=n(515);t.CronParser=function(){function e(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=n}return e.prototype.parse=function(){var e,t=this.expression??``;if(t===`@reboot`)return e=[`@reboot`,``,``,``,``,``,``],e;if(t.startsWith(`@`)){var n=this.parseSpecial(this.expression);e=this.extractParts(n)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},e.prototype.parseSpecial=function(e){var t={"@yearly":`0 0 1 1 *`,"@annually":`0 0 1 1 *`,"@monthly":`0 0 1 * *`,"@weekly":`0 0 * * 0`,"@daily":`0 0 * * *`,"@midnight":`0 0 * * *`,"@hourly":`0 * * * *`,"@reboot":`@reboot`}[e];if(!t)throw Error(`Unknown special expression.`);return t},e.prototype.extractParts=function(e){if(!this.expression)throw Error(`cron expression is empty`);for(var t=e.trim().split(/[ ]+/),n=0;n<t.length;n++)if(t[n].includes(`,`)){var r=t[n].split(`,`).map(function(e){return e.trim()}).filter(function(e){return e!==``}).map(function(e){return isNaN(Number(e))?e:Number(e)}).filter(function(e){return e!==null&&e!==``});r.length===0&&r.push(`*`),r.sort(function(e,t){return e!==null&&t!==null?e-t:0}),t[n]=r.map(function(e){return e===null?``:e.toString()}).join(`,`)}if(t.length<5)throw Error(`Expression has only ${t.length} part${t.length==1?``:`s`}. At least 5 parts are required.`);if(t.length==5)t.unshift(``),t.push(``);else if(t.length==6)/\d{4}$/.test(t[5])||t[4]==`?`||t[2]==`?`?t.unshift(``):t.push(``);else if(t.length>7)throw Error(`Expression has ${t.length} parts; too many!`);return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace(`?`,`*`),e[5]=e[5].replace(`?`,`*`),e[2]=e[2].replace(`?`,`*`),e[0].indexOf(`0/`)==0&&(e[0]=e[0].replace(`0/`,`*/`)),e[1].indexOf(`0/`)==0&&(e[1]=e[1].replace(`0/`,`*/`)),e[2].indexOf(`0/`)==0&&(e[2]=e[2].replace(`0/`,`*/`)),e[3].indexOf(`1/`)==0&&(e[3]=e[3].replace(`1/`,`*/`)),e[4].indexOf(`1/`)==0&&(e[4]=e[4].replace(`1/`,`*/`)),e[6].indexOf(`1/`)==0&&(e[6]=e[6].replace(`1/`,`*/`)),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,function(e){var n=e.replace(/\D/,``),r=n;return t.dayOfWeekStartIndexZero?n==`7`&&(r=`0`):r=(parseInt(n)-1).toString(),e.replace(n,r)}),e[5]==`L`&&(e[5]=`6`),e[3]==`?`&&(e[3]=`*`),e[3].indexOf(`W`)>-1&&(e[3].indexOf(`,`)>-1||e[3].indexOf(`-`)>-1))throw Error(`The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.`);var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)e[5]=e[5].replace(new RegExp(r,`gi`),n[r].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(e){var n=e.replace(/\D/,``),r=n;return t.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),e.replace(n,r)});var i={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in i)e[4]=e[4].replace(new RegExp(a,`gi`),i[a].toString());e[0]==`0`&&(e[0]=``),!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))&&(e[2]+=`-${e[2]}`);for(var o=0;o<e.length;o++)if(e[o].indexOf(`,`)!=-1&&(e[o]=e[o].split(`,`).filter(function(e){return e!==``}).join(`,`)||`*`),e[o]==`*/1`&&(e[o]=`*`),e[o].indexOf(`/`)>-1&&!/^\*|\-|\,/.test(e[o])){var s=null;switch(o){case 4:s=`12`;break;case 5:s=`6`;break;case 6:s=`9999`;break;default:s=null}if(s!==null){var c=e[o].split(`/`);e[o]=`${c[0]}-${s}/${c[1]}`}}},e.prototype.validate=function(e){var t=`0-9,\\-*/`;this.validateOnlyExpectedCharactersFound(e[0],t),this.validateOnlyExpectedCharactersFound(e[1],t),this.validateOnlyExpectedCharactersFound(e[2],t),this.validateOnlyExpectedCharactersFound(e[3],`0-9,\\-*/LW`),this.validateOnlyExpectedCharactersFound(e[4],t),this.validateOnlyExpectedCharactersFound(e[5],`0-9,\\-*/L#`),this.validateOnlyExpectedCharactersFound(e[6],t),this.validateAnyRanges(e)},e.prototype.validateAnyRanges=function(e){r.default.secondRange(e[0]),r.default.minuteRange(e[1]),r.default.hourRange(e[2]),r.default.dayOfMonthRange(e[3]),r.default.monthRange(e[4],this.monthStartIndexZero),r.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.validateOnlyExpectedCharactersFound=function(e,t){var n=e.match(RegExp(`[^${t}]+`,`gi`));
339if(n&&n.length)throw Error(`Expression contains invalid values: '${n.toString()}'`)},e}()},333(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var r=n(823),i=n(949);t.ExpressionDescriptor=function(){function e(t,n){if(this.expression=t,this.options=n,this.expressionParts=[,,,,,],!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var r=Object.keys(e.locales)[0];console.warn(`Locale '${this.options.locale}' could not be found; falling back to '${r}'.`),this.options.locale=r}this.i18n=e.locales[this.options.locale],n.use24HourTimeFormat===void 0&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,n){var r=n===void 0?{}:n,i=r.throwExceptionOnParseError,a=i===void 0||i,o=r.verbose,s=o!==void 0&&o,c=r.dayOfWeekStartIndexZero,l=c===void 0||c,u=r.monthStartIndexZero,d=u!==void 0&&u,f=r.use24HourTimeFormat,p=r.trimHoursLeadingZero,m=p!==void 0&&p,h=r.locale,g=h===void 0?null:h,_=r.logicalAndDayFields,v={throwExceptionOnParseError:a,verbose:s,dayOfWeekStartIndexZero:l,monthStartIndexZero:d,use24HourTimeFormat:f,trimHoursLeadingZero:m,locale:g,logicalAndDayFields:_!==void 0&&_};return v.tzOffset&&console.warn(`'tzOffset' option has been deprecated and is no longer supported.`),new e(t,v).getFullDescription()},e.initialize=function(t,n){n===void 0&&(n=`en`),e.specialCharacters=[`/`,`-`,`,`,`*`],e.defaultLocale=n,t.load(e.locales)},e.prototype.getFullDescription=function(){var e,t=``;try{var n=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=n.parse(),this.expressionParts[0]===`@reboot`)return(e=this.i18n).atReboot?.call(e)||`Run once, at startup`;var r=this.getTimeOfDayDescription(),a=this.getDayOfMonthDescription(),o=this.getMonthDescription(),s=this.getDayOfWeekDescription(),c=this.getYearDescription();t+=r+a+s+o+c,t=this.transformVerbosity(t,!!this.options.verbose),t=t.charAt(0).toLocaleUpperCase()+t.substr(1)}catch(e){if(!this.options.throwExceptionOnParseError)t=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw`${e}`}return t},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],n=this.expressionParts[1],i=this.expressionParts[2],a=``;if(!r.StringUtilities.containsAny(n,e.specialCharacters)&&!r.StringUtilities.containsAny(i,e.specialCharacters)&&!r.StringUtilities.containsAny(t,e.specialCharacters))a+=this.i18n.atSpace()+this.formatTime(i,n,t);else if(!t&&n.indexOf(`-`)>-1&&!(n.indexOf(`,`)>-1)&&!(n.indexOf(`/`)>-1)&&!r.StringUtilities.containsAny(i,e.specialCharacters)){var o=n.split(`-`);a+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(i,o[0],``),this.formatTime(i,o[1],``))}else if(!t&&i.indexOf(`,`)>-1&&i.indexOf(`-`)==-1&&i.indexOf(`/`)==-1&&!r.StringUtilities.containsAny(n,e.specialCharacters)){var s=i.split(`,`);a+=this.i18n.at();for(var c=0;c<s.length;c++)a&&(a+=` `),a+=this.formatTime(s[c],n,``),c<s.length-2&&(a+=`,`),c==s.length-2&&(a+=this.i18n.spaceAnd())}else{var l=this.getSecondsDescription(),u=this.getMinutesDescription(),d=this.getHoursDescription();if(a+=l,a&&u&&(a+=`, `),a+=u,u===d)return a;a&&d&&(a+=`, `),a+=d}return a},e.prototype.getSecondsDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Seconds(t),t)},function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(t){return t==`0`?``:parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)})},e.prototype.getMinutesDescription=function(){var e=this,t=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Minutes(t),t)},function(t){return e.i18n.minutesX0ThroughX1PastTheHour()},function(r){var i;try{return r==`0`&&n.indexOf(`/`)==-1&&t==``?e.i18n.everyHour():r==`0`?(i=e.i18n).onTheHour?.call(i)||e.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?e.i18n.atX0MinutesPastTheHour(r):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(r)}catch{return e.i18n.atX0MinutesPastTheHour(r)}})},e.prototype.getHoursDescription=function(){var e=this,t=this.expressionParts[2],n=0,i=[];t.split(`/`)[0].split(`,`).forEach(function(e){var t=e.split(`-`);t.length===2&&i.push({value:t[1],index:n+1}),n+=t.length});var a=0;
339return this.getSegmentDescription(t,this.i18n.everyHour(),function(t){var n=i.find(function(e){return e.value===t&&e.index===a})&&e.expressionParts[1]!==`0`;return a++,n?e.formatTime(t,`59`,``):e.formatTime(t,`0`,``)},function(t){return r.StringUtilities.format(e.i18n.everyX0Hours(t),t)},function(t){return e.i18n.betweenX0AndX1()},function(t){return e.i18n.atX0()})},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek(),n=null;return n=this.expressionParts[5]==`*`?``:this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(n,r){var i=n;n.indexOf(`#`)>-1?i=n.substring(0,n.indexOf(`#`)):n.indexOf(`L`)>-1&&(i=i.replace(`L`,``));var a=parseInt(i),o=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(r)[a]:t[a];if(n.indexOf(`#`)>-1){var s=null,c=n.substring(n.indexOf(`#`)+1),l=n.substring(0,n.indexOf(`#`));switch(c){case`1`:s=e.i18n.first(l);break;case`2`:s=e.i18n.second(l);break;case`3`:s=e.i18n.third(l);break;case`4`:s=e.i18n.fourth(l);break;case`5`:s=e.i18n.fifth(l)}o=s+` `+o}return o},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)},function(t){var n=t.substring(0,t.indexOf(`-`));return e.expressionParts[3]==`*`?e.i18n.commaX0ThroughX1(n):e.i18n.commaAndX0ThroughX1(n)},function(t){var n=null;if(t.indexOf(`#`)>-1){var r=t.substring(t.indexOf(`#`)+1),i=t.substring(0,t.indexOf(`#`));n=e.i18n.commaOnThe(r,i).trim()+e.i18n.spaceX0OfTheMonth()}else n=t.indexOf(`L`)>-1?e.i18n.commaOnTheLastX0OfTheMonth(t.replace(`L`,``)):e.expressionParts[3]==`*`||e.options.logicalAndDayFields?e.i18n.commaOnlyOnX0(t):e.i18n.commaAndOnX0();return n}),n},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],``,function(n,r){return r&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:t[parseInt(n)-1]},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)},function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var e=this,t=null,n=this.expressionParts[3];switch(n){case`L`:t=this.i18n.commaOnTheLastDayOfTheMonth();break;case`WL`:case`LW`:t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var i=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(i){var a=parseInt(i[0].replace(`W`,``)),o=a==1?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),a.toString());t=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),o);break}var s=n.match(/L-(\d{1,2})/);if(s){var c=s[1];t=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(c),c);break}if(n==`*`&&this.expressionParts[5]!=`*`)return``;t=this.getSegmentDescription(n,this.i18n.commaEveryDay(),function(t){return t==`L`?e.i18n.lastDay():e.i18n.dayX0?r.StringUtilities.format(e.i18n.dayX0(),t):t},function(t){return t==`1`?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)},function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)},function(t){return e.i18n.commaOnDayX0OfTheMonth(t)})}return t},e.prototype.getYearDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[6],``,function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e},function(t){return r.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)},function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(e,t,n,i,a,o){var s=null,c=e.indexOf(`/`)>-1,l=e.indexOf(`-`)>-1,u=e.indexOf(`,`)>-1;if(!e)s=``;else if(e===`*`)s=t;else if(!c&&!l&&!u)s=r.StringUtilities.format(o(e),n(e));else if(u){for(var d=e.split(`,`),f=``,p=this.i18n.spaceAnd(),m=0;m<d.length;m++)if(m>0&&d.length>2&&(f+=`,`,m<d.length-1&&(f+=` `)),m>0&&d.length>1&&(m==d.length-1||d.length==2)&&(f+=p==`,`&&d.length>2?` `:`${p} `),d[m].indexOf(`/`)>-1||d[m].indexOf(`-`)>-1){var h=d[m].indexOf(`-`)>-1&&d[m].indexOf(`/`)==-1,g=this.getSegmentDescription(d[m],t,n,i,h?this.i18n.commaX0ThroughX1:a,o);h&&(g=g.replace(`, `,``)),f+=g}else if(!c)f+=n(d[m]);else{var _=this.getSegmentDescription(d[m],t,n,i,a,o);_&&_.startsWith(`, `)&&(_=_.substring(2)),f+=_}
339s=c?f:r.StringUtilities.format(o(e),f)}else if(c){var d=e.split(`/`);if(s=r.StringUtilities.format(i(d[1]),d[1]),d[0].indexOf(`-`)>-1){var v=this.generateRangeSegmentDescription(d[0],a,n);v.indexOf(`, `)!=0&&(s+=`, `),s+=v}else if(d[0].indexOf(`*`)==-1){var y=r.StringUtilities.format(o(d[0]),n(d[0]));y=y.replace(`, `,``),s+=r.StringUtilities.format(this.i18n.commaStartingX0(),y)}}else l&&(s=this.generateRangeSegmentDescription(e,a,n));return s},e.prototype.generateRangeSegmentDescription=function(e,t,n){var i=``,a=e.split(`-`),o=n(a[0],1),s=n(a[1],2),c=t(e);return i+=r.StringUtilities.format(c,o,s),i},e.prototype.formatTime=function(e,t,n){var r=0,i=0,a=parseInt(e)+r,o=parseInt(t)+i;o>=60?(o-=60,a+=1):o<0&&(o+=60,--a),a>=24?a-=24:a<0&&(a=24+a);var s=``,c=!1;this.options.use24HourTimeFormat||(c=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),s=c?`${this.getPeriod(a)} `:` ${this.getPeriod(a)}`,a>12&&(a-=12),a===0&&(a=12));var l=``;n&&(l=`:${(`00`+n).substring(n.length)}`);var u=a.toString(),d=(`00`+u).substring(u.length),f=o.toString(),p=(`00`+f).substring(f.length),m=this.options.trimHoursLeadingZero?u:d;return`${c?s:``}${m}:${p}${l}${c?``:s}`},e.prototype.transformVerbosity=function(e,t){if(!t&&(e=e.replace(RegExp(`, ${this.i18n.everyMinute()}`,`g`),``),e=e.replace(RegExp(`, ${this.i18n.everyHour()}`,`g`),``),e=e.replace(new RegExp(this.i18n.commaEveryDay(),`g`),``),e=e.replace(/\, ?$/,``),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var i=r[n],a=i[0],o=i[1];e=e.replace(new RegExp(a,`g`),o)}return e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||`PM`:this.i18n.am&&this.i18n.am()||`AM`},e.locales={},e}()},99(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.sr=t.hr=t.bg=t.my=t.vi=t.ar=t.th=t.af=t.hu=t.be=t.ca=t.fa=t.sw=t.sl=t.fi=t.sk=t.cs=t.he=t.ja=t.zh_TW=t.zh_CN=t.uk=t.tr=t.ru=t.ro=t.pt_PT=t.pt_BR=t.pl=t.sv=t.nn=t.nb=t.nl=t.ko=t.id=t.it=t.fr=t.es=t.de=t.da=t.en=void 0;var r=n(486);Object.defineProperty(t,"en",{enumerable:!0,get:function(){return r.en}});var i=n(506);Object.defineProperty(t,"da",{enumerable:!0,get:function(){return i.da}});var a=n(230);Object.defineProperty(t,"de",{enumerable:!0,get:function(){return a.de}});var o=n(153);Object.defineProperty(t,"es",{enumerable:!0,get:function(){return o.es}});var s=n(517);Object.defineProperty(t,"fr",{enumerable:!0,get:function(){return s.fr}});var c=n(488);Object.defineProperty(t,"it",{enumerable:!0,get:function(){return c.it}});var l=n(72);Object.defineProperty(t,"id",{enumerable:!0,get:function(){return l.id}});var u=n(839);Object.defineProperty(t,"ko",{enumerable:!0,get:function(){return u.ko}});var d=n(647);Object.defineProperty(t,"nl",{enumerable:!0,get:function(){return d.nl}});var f=n(957);Object.defineProperty(t,"nb",{enumerable:!0,get:function(){return f.nb}});var p=n(633);Object.defineProperty(t,"nn",{enumerable:!0,get:function(){return p.nn}});var m=n(544);Object.defineProperty(t,"sv",{enumerable:!0,get:function(){return m.sv}});var h=n(905);Object.defineProperty(t,"pl",{enumerable:!0,get:function(){return h.pl}});var g=n(556);Object.defineProperty(t,"pt_BR",{enumerable:!0,get:function(){return g.pt_BR}});var _=n(163);Object.defineProperty(t,"pt_PT",{enumerable:!0,get:function(){return _.pt_PT}});var v=n(614);Object.defineProperty(t,"ro",{enumerable:!0,get:function(){return v.ro}});var y=n(892);Object.defineProperty(t,"ru",{enumerable:!0,get:function(){return y.ru}});var b=n(631);Object.defineProperty(t,"tr",{enumerable:!0,get:function(){return b.tr}});var x=n(225);Object.defineProperty(t,"uk",{enumerable:!0,get:function(){return x.uk}});var S=n(571);Object.defineProperty(t,"zh_CN",{enumerable:!0,get:function(){return S.zh_CN}});var C=n(983);Object.defineProperty(t,"zh_TW",{enumerable:!0,get:function(){return C.zh_TW}});var w=n(904);Object.defineProperty(t,"ja",{enumerable:!0,get:function(){return w.ja}});var T=n(82);Object.defineProperty(t,"he",{enumerable:!0,get:function(){return T.he}});var E=n(651);Object.defineProperty(t,"cs",{enumerable:!0,get:function(){return E.cs}});var D=n(923);Object.defineProperty(t,"sk",{enumerable:!0,get:function(){return D.sk}});var O=n(964);Object.defineProperty(t,"fi",{enumerable:!0,get:function(){return O.fi}});var k=n(474);Object.defineProperty(t,"sl",{enumerable:!0,get:function(){return k.sl}});var A=n(799);Object.defineProperty(t,"sw",{enumerable:!0,get:function(){return A.
339sw}});var j=n(804);Object.defineProperty(t,"fa",{enumerable:!0,get:function(){return j.fa}});var M=n(845);Object.defineProperty(t,"ca",{enumerable:!0,get:function(){return M.ca}});var N=n(348);Object.defineProperty(t,"be",{enumerable:!0,get:function(){return N.be}});var P=n(194);Object.defineProperty(t,"hu",{enumerable:!0,get:function(){return P.hu}});var F=n(810);Object.defineProperty(t,"af",{enumerable:!0,get:function(){return F.af}});var I=n(33);Object.defineProperty(t,"th",{enumerable:!0,get:function(){return I.th}});var L=n(574);Object.defineProperty(t,"ar",{enumerable:!0,get:function(){return L.ar}});var R=n(292);Object.defineProperty(t,"vi",{enumerable:!0,get:function(){return R.vi}});var z=n(919);Object.defineProperty(t,"my",{enumerable:!0,get:function(){return z.my}});var B=n(622);Object.defineProperty(t,"bg",{enumerable:!0,get:function(){return B.bg}});var ee=n(131);Object.defineProperty(t,"hr",{enumerable:!0,get:function(){return ee.hr}});var V=n(716);Object.defineProperty(t,"sr",{enumerable:!0,get:function(){return V.sr}})},420(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.allLocalesLoader=void 0;var r=n(99);t.allLocalesLoader=function(){function e(){}return e.prototype.load=function(e){for(var t in r)r.hasOwnProperty(t)&&(e[t]=new r[t])},e}()},810(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.af=void 0,t.af=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return`, jaar %s na %s`},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Daar was 'n fout om die tydsuitdrukking the genereer. Raadpleeg asb die uitdrukking formaat.`},e.prototype.everyMinute=function(){return`elke minuut`},e.prototype.everyHour=function(){return`elke uur`},e.prototype.atSpace=function(){return`Teen `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Elke minuut tussen %s en %s`},e.prototype.at=function(){return`Teen`},e.prototype.spaceAnd=function(){return` en`},e.prototype.everySecond=function(){return`elke sekonde`},e.prototype.everyX0Seconds=function(){return`elke %s sekonde`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekonde %s deur na %s na die minuut`},e.prototype.atX0SecondsPastTheMinute=function(){return`teen %s sekondes na die minuut`},e.prototype.everyX0Minutes=function(){return`elke %s minute`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minute %s deur na %s na die uur`},e.prototype.atX0MinutesPastTheHour=function(){return`teen %s minute na die uur`},e.prototype.everyX0Hours=function(){return`elke %s ure`},e.prototype.betweenX0AndX1=function(){return`tussen %s en %s`},e.prototype.atX0=function(){return`teen %s`},e.prototype.commaEveryDay=function(){return`, elke dag`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, elke %s dae van die week`},e.prototype.commaX0ThroughX1=function(){return`, %s deur na %s`},e.prototype.commaAndX0ThroughX1=function(){return`, en %s deur na %s`},e.prototype.first=function(){return`eerste`},e.prototype.second=function(){return`tweede`},e.prototype.third=function(){return`derde`},e.prototype.fourth=function(){return`vierde`},e.prototype.fifth=function(){return`vyfde`},e.prototype.commaOnThe=function(){return`, op die `},e.prototype.spaceX0OfTheMonth=function(){return` %s van die maand`},e.prototype.lastDay=function(){return`die laaste dag`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, op die laaste %s van die maand`},e.prototype.commaOnlyOnX0=function(){return`, net op %s`},e.prototype.commaAndOnX0=function(){return`, en op %s`},e.prototype.commaEveryX0Months=function(){return`, elke %s maande`},e.prototype.commaOnlyInX0=function(){return`, net in %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, op die laaste dag van die maand`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, op die laaste weeksdag van die maand`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dae voor die laaste dag van die maand`},e.prototype.firstWeekday=function(){return`eerste weeksdag`},e.prototype.weekdayNearestDayX0=function(){return`weeksdag naaste aan dag %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, op die %s van die maande`},e.prototype.commaEveryX0Days=function(){return`, elke %s dae`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, tussen dag %s en %s van die maand`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, op dag %s van die maand`},e.prototype.commaEveryHour=function(){return`, elke uur`},e.prototype.commaEveryX0Years=function(){return`, elke %s jare`},e.prototype.commaStartingX0=function(){return`, beginnende %s`},e.prototype.daysOfTheWeek=function(){return[`Sondag`,`Maandag`,`Dinsdag`,`Woensdag`,`Donderdag`,`Vrydag`,`Saterdag`]},e.prototype.monthsOfTheYear=function(){return[`Januarie`,`Februarie`,`Maart`,`April`,`Mei`,`Junie`,`Julie`,`Augustus`,`September`,`Oktober`,`November`,`Desember`]},e.prototype.onTheHour=function(){return`op die uur`},e}()}
339,574(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ar=void 0,t.ar=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ØØ¯Ø« خطأ ÙÙ Ø¥ÙØ´Ø§Ø¡ ÙØµÙ اÙÙ
ØµØ·ÙØÙ ØªØ£ÙØ¯ Ù
٠ترÙÙØ¨ Ù
ØµØ·ÙØ اÙÙØ±ÙÙ`},e.prototype.everyMinute=function(){return`Ù٠دÙÙÙØ©`},e.prototype.everyHour=function(){return`Ù٠ساعة`},e.prototype.atSpace=function(){return` `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Ù٠دÙÙÙØ© بÙÙ %s Ù %s`},e.prototype.at=function(){return``},e.prototype.spaceAnd=function(){return` Ù`},e.prototype.everySecond=function(){return`Ù٠ثاÙÙØ©`},e.prototype.everyX0Seconds=function(){return`ÙÙ %s Ø«ÙØ§ÙÙ`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`Ø§ÙØ«ÙاÙÙ %s ØØªÙ %s Ù
Ù Ø¨Ø¯Ø§ÙØ© Ø§ÙØ¯ÙÙÙØ©`},e.prototype.atX0SecondsPastTheMinute=function(){return`Ø§ÙØ«Ø§ÙÙØ© %s Ù
Ù Ø¨Ø¯Ø§ÙØ© Ø§ÙØ¯ÙÙÙØ©`},e.prototype.everyX0Minutes=function(){return`ÙÙ %s Ø¯ÙØ§Ø¦Ù`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`Ø§ÙØ¯Ùائ٠%s ØØªÙ %s Ù
Ù Ø¨Ø¯Ø§ÙØ© Ø§ÙØ³Ø§Ø¹Ø©`},e.prototype.atX0MinutesPastTheHour=function(){return`Ø§ÙØ¯ÙÙÙØ© %s Ù
Ù Ø¨Ø¯Ø§ÙØ© Ø§ÙØ³Ø§Ø¹Ø©`},e.prototype.everyX0Hours=function(){return`ÙÙ %s ساعات`},e.prototype.betweenX0AndX1=function(){return`بÙÙ %s Ù %s`},e.prototype.atX0=function(){return`%s`},e.prototype.commaEveryDay=function(){return`Ø ÙÙ ÙÙÙ
`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`Ø ÙÙ %s Ù
Ù Ø£ÙØ§Ù
Ø§ÙØ£Ø³Ø¨Ùع`},e.prototype.commaX0ThroughX1=function(){return`Ø %s ØØªÙ %s`},e.prototype.commaAndX0ThroughX1=function(){return`Ø Ù %s ØØªÙ %s`},e.prototype.first=function(){return`Ø£ÙÙ`},e.prototype.second=function(){return`ثاÙÙ`},e.prototype.third=function(){return`Ø«Ø§ÙØ«`},e.prototype.fourth=function(){return`رابع`},e.prototype.fifth=function(){return`خاÙ
س`},e.prototype.commaOnThe=function(){return`Ø Ù٠اÙ`},e.prototype.spaceX0OfTheMonth=function(){return` %s Ù
Ù Ø§ÙØ´Ùر`},e.prototype.lastDay=function(){return`اÙÙÙÙ
Ø§ÙØ£Ø®Ùر`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`Ø Ù٠اخر %s Ù
Ù Ø§ÙØ´Ùر`},e.prototype.commaOnlyOnX0=function(){return`Ø %s ÙÙØ·`},e.prototype.commaAndOnX0=function(){return`Ø ÙÙÙ %s`},e.prototype.commaEveryX0Months=function(){return`Ø ÙÙ %s Ø£Ø´ÙØ±`},e.prototype.commaOnlyInX0=function(){return`Ø %s ÙÙØ·`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`Ø Ù٠اخر ÙÙÙ
Ù
Ù Ø§ÙØ´Ùر`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`Ø Ù٠اخر ÙÙÙ
Ø£Ø³Ø¨ÙØ¹ Ù
Ù Ø§ÙØ´Ùر`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`Ø %s Ø£ÙØ§Ù
ÙØ¨Ù اخر ÙÙÙ
Ù
Ù Ø§ÙØ´Ùر`},e.prototype.firstWeekday=function(){return`اÙÙ Ø§ÙØ§Ù
Ø§ÙØ£Ø³Ø¨Ùع`},e.prototype.weekdayNearestDayX0=function(){return`ÙÙÙ
Ø§ÙØ£Ø³Ø¨Ùع Ø§ÙØ£Ùرب ÙÙÙÙ
%s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`Ø ÙÙ %s Ù
Ù Ø§ÙØ´Ùر`},e.prototype.commaEveryX0Days=function(){return`Ø ÙÙ %s Ø£ÙØ§Ù
`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`Ø Ø¨ÙÙ ÙÙÙ
%s Ù %s Ù
Ù Ø§ÙØ´Ùر`},e.prototype.commaOnDayX0OfTheMonth=function(){return`Ø Ù٠اÙÙÙÙ
%s Ù
Ù Ø§ÙØ´Ùر`},e.prototype.commaEveryHour=function(){return`Ø Ù٠ساعة`},e.prototype.commaEveryX0Years=function(){return`Ø ÙÙ %s سÙÙØ§Øª`},e.prototype.commaStartingX0=function(){return`Ø Ø¨Ø¯Ø§ÙØ© Ù
Ù %s`},e.prototype.daysOfTheWeek=function(){return[`Ø§ÙØ£ØØ¯`,`Ø§ÙØ¥Ø«ÙÙÙ`,`Ø§ÙØ«Ùاثاء`,`Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡`,`Ø§ÙØ®Ù
ÙØ³`,`Ø§ÙØ¬Ù
عة`,`Ø§ÙØ³Ø¨Øª`]},e.prototype.monthsOfTheYear=function(){return[`ÙÙØ§Ùر`,`ÙØ¨Ø±Ø§Ùر`,`Ù
ارس`,`ابرÙÙ`,`Ù
اÙÙ`,`ÙÙÙÙÙ`,`ÙÙÙÙÙ`,`أغسطس`,`سبتÙ
بر`,`Ø£ÙØªÙبر`,`ÙÙÙÙ
بر`,`Ø¯ÙØ³Ù
بر`]},e.prototype.onTheHour=function(){return`Ù٠تÙ
اÙ
Ø§ÙØ³Ø§Ø¹Ø©`},e}()}
339,348(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.be=void 0,t.be=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.everyMinute=function(){return`кожнÑÑ Ñ
вÑлÑнÑ`},e.prototype.everyHour=function(){return`кожнÑÑ Ð³Ð°Ð´Ð·ÑнÑ`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ÐдбÑлаÑÑ Ð¿Ð°Ð¼Ñлка падÑÐ°Ñ Ð³ÐµÐ½ÐµÑаÑÑÑ Ð°Ð¿ÑÑÐ°Ð½Ð½Ñ Ð²ÑÑазÑ. ÐÑавеÑÑе ÑÑнÑакÑÑÑ ÐºÑон-вÑÑазÑ.`},e.prototype.atSpace=function(){return`У `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`ÐожнÑÑ Ñ
вÑлÑÐ½Ñ Ð· %s да %s`},e.prototype.at=function(){return`У`},e.prototype.spaceAnd=function(){return` Ñ`},e.prototype.everySecond=function(){return`кожнÑÑ ÑекÑндÑ`},e.prototype.everyX0Seconds=function(){return`кожнÑÑ %s ÑекÑнд`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`ÑекÑÐ½Ð´Ñ Ð· %s па %s`},e.prototype.atX0SecondsPastTheMinute=function(){return`Ñ %s ÑекÑнд`},e.prototype.everyX0Minutes=function(){return`кожнÑÑ %s Ñ
вÑлÑн`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`Ñ
вÑлÑÐ½Ñ Ð· %s па %s`},e.prototype.atX0MinutesPastTheHour=function(){return`Ñ %s Ñ
вÑлÑн`},e.prototype.everyX0Hours=function(){return`кожнÑÑ %s гадзÑн`},e.prototype.betweenX0AndX1=function(){return`з %s па %s`},e.prototype.atX0=function(){return`Ñ %s`},e.prototype.commaEveryDay=function(){return`, ÐºÐ¾Ð¶Ð½Ñ Ð´Ð·ÐµÐ½Ñ`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, кожнÑÑ %s дзÑн ÑÑднÑ`},e.prototype.commaX0ThroughX1=function(){return`, %s па %s`},e.prototype.commaAndX0ThroughX1=function(){return`, Ñ %s па %s`},e.prototype.first=function(){return`пеÑÑÑ`},e.prototype.second=function(){return`дÑÑгÑ`},e.prototype.third=function(){return`ÑÑÑÑÑ`},e.prototype.fourth=function(){return`ÑаÑвÑÑÑÑ`},e.prototype.fifth=function(){return`пÑÑÑ`},e.prototype.commaOnThe=function(){return`, Ñ `},e.prototype.spaceX0OfTheMonth=function(){return` %s меÑÑÑа`},e.prototype.lastDay=function(){return`апоÑÐ½Ñ Ð´Ð·ÐµÐ½Ñ`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, Ñ Ð°Ð¿Ð¾ÑÐ½Ñ %s меÑÑÑа`},e.prototype.commaOnlyOnX0=function(){return`, ÑолÑÐºÑ Ñ %s`},e.prototype.commaAndOnX0=function(){return`, Ñ Ñ %s`},e.prototype.commaEveryX0Months=function(){return`, кожнÑÑ %s меÑÑÑаÑ`},e.prototype.commaOnlyInX0=function(){return`, ÑолÑÐºÑ Ñ %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, Ñ Ð°Ð¿Ð¾ÑÐ½Ñ Ð´Ð·ÐµÐ½Ñ Ð¼ÐµÑÑÑа`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, Ñ Ð°Ð¿Ð¾ÑÐ½Ñ Ð±ÑÐ´Ð½Ñ Ð´Ð·ÐµÐ½Ñ Ð¼ÐµÑÑÑа`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s дзÑн да апоÑнÑга Ð´Ð½Ñ Ð¼ÐµÑÑÑа`},e.prototype.firstWeekday=function(){return`пеÑÑÑ Ð±ÑÐ´Ð½Ñ Ð´Ð·ÐµÐ½Ñ`},e.prototype.weekdayNearestDayX0=function(){return`найблÑжÑйÑÑ Ð±ÑÐ´Ð½Ñ Ð´Ð·ÐµÐ½Ñ Ð´Ð° %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, Ñ %s меÑÑÑÑ`},e.prototype.commaEveryX0Days=function(){return`, кожнÑÑ %s дзÑн`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, з %s па %s лÑк меÑÑÑа`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, Ñ %s лÑк меÑÑÑа`},e.prototype.commaEveryX0Years=function(){return`, кожнÑÑ %s гадоÑ`},e.prototype.commaStartingX0=function(){return`, паÑаÑак %s`},e.prototype.daysOfTheWeek=function(){return[`нÑдзелÑ`,`панÑдзелак`,`аÑÑоÑак`,`ÑеÑада`,`ÑаÑвеÑ`,`пÑÑнÑÑа`,`ÑÑбоÑа`]},e.prototype.monthsOfTheYear=function(){return[`ÑÑÑдзенÑ`,`лÑÑÑ`,`ÑакавÑк`,`кÑаÑавÑк`,`ÑÑавенÑ`,`ÑÑÑвенÑ`,`лÑпенÑ`,`жнÑвенÑ`,`веÑаÑенÑ`,`каÑÑÑÑÑнÑк`,`лÑÑÑапад`,`ÑнежанÑ`]},e.prototype.onTheHour=function(){return`ÑоÑна Ñ Ð³Ð°Ð´Ð·ÑнÑ`},e}()}
339,622(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bg=void 0;var n=function(e,t){return(e==null?0:Number(e))<2?t[0]:t[1]},r=function(e,t){return t[[1,0,0,1,0,0,1][e==null?0:Number(e)]]},i=function(e,t){var n=e==null?1:Number(e);n=Math.max(Math.min(n<10||n>20&&n%10!=0?n%10:3,3),1)-1;var r=[`м`,`ж`,`ÑÑ`].indexOf(t);return[`в`,`Ñ`,`Ñ`][n]+[`и`,`а`,`о`][r]};t.bg=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`вÑÑка минÑÑа`},e.prototype.everyHour=function(){return`вÑеки ÑаÑ`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ÐÑзникна гÑеÑка пÑи генеÑиÑане на опиÑаниеÑо на изÑаза. ÐÑовеÑеÑе ÑинÑакÑиÑа на cron изÑаза.`},e.prototype.atSpace=function(){return`Ð `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`ÐÑÑка минÑÑа Ð¾Ñ %s до %s`},e.prototype.at=function(){return`Ð`},e.prototype.spaceAnd=function(){return` и`},e.prototype.everySecond=function(){return`вÑÑка ÑекÑнда`},e.prototype.everyX0Seconds=function(e){return`вÑеки %s ÑекÑнди`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`ÑекÑнди Ð¾Ñ %s до %s`},e.prototype.atX0SecondsPastTheMinute=function(e){return`%s-${i(e,`ж`)} ÑекÑнда`},e.prototype.everyX0Minutes=function(e){return`вÑеки %s минÑÑи`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`минÑÑи Ð¾Ñ %s до %s`},e.prototype.atX0MinutesPastTheHour=function(e){return`%s-${i(e,`ж`)} минÑÑa`},e.prototype.everyX0Hours=function(e){return`вÑеки %s ÑаÑа`},e.prototype.betweenX0AndX1=function(){return`Ð¾Ñ %s до %s`},e.prototype.atX0=function(){return`в %s`},e.prototype.commaEveryDay=function(){return`, вÑеки ден`},e.prototype.commaEveryX0DaysOfTheWeek=function(e){return n(e,[`, вÑеки %s ден Ð¾Ñ ÑедмиÑаÑа`,`, вÑеки %s дена Ð¾Ñ ÑедмиÑаÑа`])},e.prototype.commaX0ThroughX1=function(e){return`, Ð¾Ñ %s до %s`},e.prototype.commaAndX0ThroughX1=function(e){return` и Ð¾Ñ %s до %s`},e.prototype.first=function(e){return r(e,[`пеÑвиÑÑ`,`пеÑваÑа`])},e.prototype.second=function(e){return r(e,[`вÑоÑиÑÑ`,`вÑоÑаÑа`])},e.prototype.third=function(e){return r(e,[`ÑÑеÑиÑÑ`,`ÑÑеÑаÑа`])},e.prototype.fourth=function(e){return r(e,[`ÑеÑвеÑÑиÑÑ`,`ÑеÑвеÑÑаÑа`])},e.prototype.fifth=function(e){return r(e,[`пеÑиÑÑ`,`пеÑаÑа`])},e.prototype.commaOnThe=function(e){return`, `},e.prototype.spaceX0OfTheMonth=function(){return` %s на меÑеÑа`},e.prototype.lastDay=function(){return`поÑледниÑÑ Ð´ÐµÐ½`},e.prototype.commaOnTheLastX0OfTheMonth=function(e){return r(e,[`, в поÑледниÑÑ %s Ð¾Ñ Ð¼ÐµÑеÑа`,`, в поÑледнаÑа %s оÑмеÑеÑа`])},e.prototype.commaOnlyOnX0=function(e){return`, %s`},e.prototype.commaAndOnX0=function(){return` и %s`},e.prototype.commaEveryX0Months=function(e){return` вÑеки %s меÑеÑа`},e.prototype.commaOnlyInMonthX0=function(){return`, %s`},e.prototype.commaOnlyInX0=function(){return`, в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в поÑледниÑÑ Ð´ÐµÐ½ на меÑеÑа`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в поÑÐ»ÐµÐ´Ð½Ð¸Ñ Ð´ÐµÐ»Ð½Ð¸Ñен ден Ð¾Ñ Ð¼ÐµÑеÑа`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(e){return n(e,[`, %s ден пÑеди кÑÐ°Ñ Ð½Ð° меÑеÑа`,`, %s дена пÑеди кÑÐ°Ñ Ð½Ð° меÑеÑа`])},e.prototype.firstWeekday=function(){return`пÑÑвиÑÑ Ð´ÐµÐ»Ð½Ð¸Ñен ден`},e.prototype.weekdayNearestDayX0=function(){return`най-близкиÑÑ Ð´ÐµÐ»Ð½Ð¸Ñен ден до %s ÑиÑло`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, на %s ÑиÑло Ð¾Ñ Ð¼ÐµÑеÑа`},e.prototype.commaEveryX0Days=function(e){return n(e,[`, вÑеки %s ден`,`, вÑеки %s дена`])},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(e){var t=e?.split(`-`)??[];return`, Ð¾Ñ %s-${i(t[0],`ÑÑ`)} до %s-${i(t[1],`ÑÑ`)}
339 ÑиÑло на меÑеÑа`},e.prototype.commaOnDayX0OfTheMonth=function(e){return`, на %s-${i(e,`ÑÑ`)} ÑиÑло Ð¾Ñ Ð¼ÐµÑеÑа`},e.prototype.commaEveryX0Years=function(e){return n(e,[`, вÑÑка %s година`,`, вÑеки %s години`])},e.prototype.commaStartingX0=function(){return`, запоÑвайки %s`},e.prototype.daysOfTheWeek=function(){return[`неделÑ`,`понеделник`,`вÑоÑник`,`ÑÑÑда`,`ÑеÑвÑÑÑÑк`,`пеÑÑк`,`ÑÑбоÑа`]},e.prototype.monthsOfTheYear=function(){return[`ÑнÑаÑи`,`ÑевÑÑаÑи`,`маÑÑ`,`апÑил`,`май`,`Ñни`,`Ñли`,`авгÑÑÑ`,`ÑепÑевмвÑи`,`окÑомвÑи`,`ноемвÑи`,`декемвÑи`]},e.prototype.onTheHour=function(){return`в наÑалоÑо на ÑаÑа`},e}()},845(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ca=void 0,t.ca=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`S'ha produït un error mentres es generava la descripció de l'expressió. Revisi la sintaxi de la expressió de cron.`},e.prototype.at=function(){return`A les`},e.prototype.atSpace=function(){return`A les `},e.prototype.atX0=function(){return`a les %s`},e.prototype.atX0MinutesPastTheHour=function(){return`als %s minuts de l'hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`als %s segonds del minut`},e.prototype.betweenX0AndX1=function(){return`entre les %s i les %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre els dies %s i %s del mes`},e.prototype.commaEveryDay=function(){return`, cada dia`},e.prototype.commaEveryX0Days=function(){return`, cada %s dies`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, cada %s dies de la setmana`},e.prototype.commaEveryX0Months=function(){return`, cada %s mesos`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, el dia %s del mes`},e.prototype.commaOnlyInX0=function(){return`, sólo en %s`},e.prototype.commaOnlyOnX0=function(){return`, només el %s`},e.prototype.commaAndOnX0=function(){return`, i el %s`},e.prototype.commaOnThe=function(){return`, en el `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, en l'últim dia del mes`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, en l'últim dia de la setmana del mes`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dies abans de l'últim dia del mes`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, en l'últim %s del mes`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, en el %s del mes`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, i de %s a %s`},e.prototype.everyHour=function(){return`cada hora`},e.prototype.everyMinute=function(){return`cada minut`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`cada minut entre les %s i les %s`},e.prototype.everySecond=function(){return`cada segon`},e.prototype.everyX0Hours=function(){return`cada %s hores`},e.prototype.everyX0Minutes=function(){return`cada %s minuts`},e.prototype.everyX0Seconds=function(){return`cada %s segons`},e.prototype.fifth=function(){return`cinquè`},e.prototype.first=function(){return`primer`},e.prototype.firstWeekday=function(){return`primer dia de la setmana`},e.prototype.fourth=function(){return`quart`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`del minut %s al %s passada l'hora`},e.prototype.second=function(){return`segon`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`En els segons %s al %s de cada minut`},e.prototype.spaceAnd=function(){return` i`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mes`},e.prototype.lastDay=function(){return`l'últim dia`},e.prototype.third=function(){return`tercer`},e.prototype.weekdayNearestDayX0=function(){return`dia de la setmana més proper al %s`},e.prototype.commaEveryX0Years=function(){return`, cada %s anys`},e.prototype.commaStartingX0=function(){return`, començant %s`},e.prototype.daysOfTheWeek=function(){return[`diumenge`,`dilluns`,`dimarts`,`dimecres`,`dijous`,`divendres`,`dissabte`]},e.prototype.monthsOfTheYear=function(){return[`gener`,`febrer`,`març`,`abril`,`maig`,`juny`,`juliol`,`agost`,`setembre`,`octubre`,`novembre`,`desembre`]},e.prototype.onTheHour=function(){return`en punt`},e}()}
339,651(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.cs=void 0,t.cs=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`PÅi vytváÅenà popisu doÅ¡lo k chybÄ. Zkontrolujte prosÃm správnost syntaxe cronu.`},e.prototype.everyMinute=function(){return`každou minutu`},e.prototype.everyHour=function(){return`každou hodinu`},e.prototype.atSpace=function(){return`V `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Každou minutu mezi %s a %s`},e.prototype.at=function(){return`V`},e.prototype.spaceAnd=function(){return` a`},e.prototype.everySecond=function(){return`každou sekundu`},e.prototype.everyX0Seconds=function(){return`každých %s sekund`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekundy od %s do %s`},e.prototype.atX0SecondsPastTheMinute=function(){return`v %s sekund`},e.prototype.everyX0Minutes=function(){return`každých %s minut`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuty od %s do %s`},e.prototype.atX0MinutesPastTheHour=function(){return`v %s minut`},e.prototype.everyX0Hours=function(){return`každých %s hodin`},e.prototype.betweenX0AndX1=function(){return`mezi %s a %s`},e.prototype.atX0=function(){return`v %s`},e.prototype.commaEveryDay=function(){return`, každý den`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, každých %s dnà v týdnu`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, a od %s do %s`},e.prototype.first=function(){return`prvnÃ`},e.prototype.second=function(){return`druhý`},e.prototype.third=function(){return`tÅetÃ`},e.prototype.fourth=function(){return`Ätvrtý`},e.prototype.fifth=function(){return`pátý`},e.prototype.commaOnThe=function(){return`, `},e.prototype.spaceX0OfTheMonth=function(){return` %s v mÄsÃci`},e.prototype.lastDay=function(){return`poslednà den`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, poslednà %s v mÄsÃci`},e.prototype.commaOnlyOnX0=function(){return`, pouze v %s`},e.prototype.commaAndOnX0=function(){return`, a v %s`},e.prototype.commaEveryX0Months=function(){return`, každých %s mÄsÃců`},e.prototype.commaOnlyInX0=function(){return`, pouze v %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, poslednà den v mÄsÃci`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, poslednà pracovnà den v mÄsÃci`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dnà pÅed poslednÃm dnem v mÄsÃci`},e.prototype.firstWeekday=function(){return`prvnà pracovnà den`},e.prototype.weekdayNearestDayX0=function(){return`pracovnà den nejblÞe %s. dni`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, v %s v mÄsÃci`},e.prototype.commaEveryX0Days=function(){return`, každých %s dnů`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, mezi dny %s a %s v mÄsÃci`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s. den v mÄsÃci`},e.prototype.commaEveryX0Years=function(){return`, každých %s roků`},e.prototype.commaStartingX0=function(){return`, zaÄÃnajÃcà %s`},e.prototype.daysOfTheWeek=function(){return[`NedÄle`,`PondÄlÃ`,`Ãterý`,`StÅeda`,`Ätvrtek`,`Pátek`,`Sobota`]},e.prototype.monthsOfTheYear=function(){return[`Leden`,`Ãnor`,`BÅezen`,`Duben`,`KvÄten`,`Äerven`,`Äervenec`,`Srpen`,`ZáÅÃ`,`ÅÃjen`,`Listopad`,`Prosinec`]},e.prototype.onTheHour=function(){return`v celou hodinu`},e}()},506(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.da=void 0,t.da=function(){function e(){}return e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Der opstod en fejl ved generering af udtryksbeskrivelsen. Tjek cron-ekspressionssyntaxen.`},e.prototype.at=function(){return`kl`},e.prototype.atSpace=function(){return`kl `},e.prototype.atX0=function(){return`kl %s`},e.prototype.atX0MinutesPastTheHour=function(){return`%s minutter efter timeskift`},e.prototype.atX0SecondsPastTheMinute=function(){return`%s sekunder efter minutskift`},e.prototype.betweenX0AndX1=function(){return`mellem %s og %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, mellem dag %s og %s i mÃ¥neden`},e.prototype.commaEveryDay=function(){return`, hver dag`},e.prototype.commaEveryX0Days=function(){return`, hver %s. dag`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, hver %s. ugedag`},e.prototype.commaEveryX0Months=function(){return`, hver %s. mÃ¥ned`},e.prototype.commaEveryX0Years=function(){return`, hvert %s. Ã¥r`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, pÃ¥ dag %s i mÃ¥neden`},e.prototype.commaOnlyInX0=function(){return`, kun i %s`},e.prototype.commaOnlyOnX0=function(e){return`, pÃ¥ enhver %s`},e.prototype.commaAndOnX0=function(){return`, og pÃ¥ %s`},e.prototype.commaOnThe=function(){return`, pÃ¥ den `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, pÃ¥ den sidste dag i mÃ¥neden`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, pÃ¥ den sidste hverdag i mÃ¥neden`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dage før den sidste dag i mÃ¥neden`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, pÃ¥ den sidste %s i mÃ¥neden`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, pÃ¥ den %s i mÃ¥neden`},e.prototype.commaX0ThroughX1=function(){return`, %s til og med %s`},e.prototype.commaAndX0ThroughX1=function(){return`, og %s til og med %s`},e.prototype.everyHour=function(){return`hver time`},e.prototype.everyMinute=function(){return`hvert minut`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`hvert minut mellem %s og %s`},e.prototype.everySecond=function(){return`hvert sekund`},e.prototype.everyX0Hours=function(){return`hver %s. time`},e.prototype.everyX0Minutes=function(){return`hvert %s. minut`},e.prototype.everyX0Seconds=function(){return`hvert %s. sekund`},e.prototype.fifth=function(){return`femte`},e.prototype.first=function(){return`første`},e.prototype.firstWeekday=function(){return`første hverdag`},e.prototype.fourth=function(){return`fjerde`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutterne fra %s til og med %s hver time`},e.prototype.second=function(){return`anden`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekunderne fra %s til og med %s hvert minut`},e.prototype.spaceAnd=function(){return` og`},e.prototype.spaceX0OfTheMonth=function(){return` %s i mÃ¥neden`},e.prototype.lastDay=function(){return`sidste dag`},e.prototype.third=function(){return`tredje`},e.prototype.weekdayNearestDayX0=function(){return`hverdag nærmest dag %s`},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.commaStartingX0=function(){return`, startende %s`},e.prototype.daysOfTheWeek=function(){return[`søndag`,`mandag`,`tirsdag`,`onsdag`,`torsdag`,`fredag`,`lørdag`]},e.prototype.monthsOfTheYear=function(){return[`januar`,`februar`,`marts`,`april`,`maj`,`juni`,`juli`,`august`,`september`,`oktober`,`november`,`december`]},e.prototype.onTheHour=function(){return`pÃ¥ timen`},e}()}
339,230(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.de=void 0,t.de=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`jede Minute`},e.prototype.everyHour=function(){return`jede Stunde`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Beim Generieren der Ausdrucksbeschreibung ist ein Fehler aufgetreten. Ãberprüfen Sie die Syntax des Cron-Ausdrucks.`},e.prototype.atSpace=function(){return`Um `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Jede Minute zwischen %s und %s`},e.prototype.at=function(){return`Um`},e.prototype.spaceAnd=function(){return` und`},e.prototype.everySecond=function(){return`Jede Sekunde`},e.prototype.everyX0Seconds=function(){return`alle %s Sekunden`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`Sekunden %s bis %s`},e.prototype.atX0SecondsPastTheMinute=function(){return`bei Sekunde %s`},e.prototype.everyX0Minutes=function(){return`alle %s Minuten`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`Minuten %s bis %s`},e.prototype.atX0MinutesPastTheHour=function(){return`bei Minute %s`},e.prototype.everyX0Hours=function(){return`alle %s Stunden`},e.prototype.betweenX0AndX1=function(){return`zwischen %s und %s`},e.prototype.atX0=function(){return`um %s`},e.prototype.commaEveryDay=function(){return`, jeden Tag`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, alle %s Tage der Woche`},e.prototype.commaX0ThroughX1=function(){return`, %s bis %s`},e.prototype.commaAndX0ThroughX1=function(){return`, und %s bis %s`},e.prototype.first=function(){return`ersten`},e.prototype.second=function(){return`zweiten`},e.prototype.third=function(){return`dritten`},e.prototype.fourth=function(){return`vierten`},e.prototype.fifth=function(){return`fünften`},e.prototype.commaOnThe=function(){return`, am `},e.prototype.spaceX0OfTheMonth=function(){return` %s des Monats`},e.prototype.lastDay=function(){return`der letzte Tag`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, am letzten %s des Monats`},e.prototype.commaOnlyOnX0=function(){return`, nur jeden %s`},e.prototype.commaAndOnX0=function(){return`, und jeden %s`},e.prototype.commaEveryX0Months=function(){return`, alle %s Monate`},e.prototype.commaOnlyInX0=function(){return`, nur im %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, am letzten Tag des Monats`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, am letzten Werktag des Monats`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s tage vor dem letzten Tag des Monats`},e.prototype.firstWeekday=function(){return`ersten Werktag`},e.prototype.weekdayNearestDayX0=function(){return`Werktag am nächsten zum %s Tag`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, am %s des Monats`},e.prototype.commaEveryX0Days=function(){return`, alle %s Tage`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, zwischen Tag %s und %s des Monats`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, an Tag %s des Monats`},e.prototype.commaEveryX0Years=function(){return`, alle %s Jahre`},e.prototype.commaStartingX0=function(){return`, beginnend %s`},e.prototype.daysOfTheWeek=function(){return[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`]},e.prototype.monthsOfTheYear=function(){return[`Januar`,`Februar`,`März`,`April`,`Mai`,`Juni`,`Juli`,`August`,`September`,`Oktober`,`November`,`Dezember`]},e.prototype.onTheHour=function(){return`zur vollen Stunde`},e}()},486(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0,t.en=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`An error occurred when generating the expression description. Check the cron expression syntax.`},e.prototype.everyMinute=function(){return`every minute`},e.prototype.everyHour=function(){return`every hour`},e.prototype.atSpace=function(){return`At `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Every minute between %s and %s`},e.prototype.at=function(){return`At`},e.prototype.spaceAnd=function(){return` and`},e.prototype.everySecond=function(){return`every second`},e.prototype.everyX0Seconds=function(){return`every %s seconds`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`seconds %s through %s past the minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`at %s seconds past the minute`},e.prototype.everyX0Minutes=function(){return`every %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutes %s through %s past the hour`},e.prototype.atX0MinutesPastTheHour=function(){return`at %s minutes past the hour`},e.prototype.everyX0Hours=function(){return`every %s hours`},e.prototype.betweenX0AndX1=function(){return`between %s and %s`},e.prototype.atX0=function(){return`at %s`},e.prototype.commaEveryDay=function(){return`, every day`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, every %s days of the week`},e.prototype.commaX0ThroughX1=function(){return`, %s through %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s through %s`},e.prototype.first=function(){return`first`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`third`},e.prototype.fourth=function(){return`fourth`},e.prototype.fifth=function(){return`fifth`},e.prototype.commaOnThe=function(){return`, on the `},e.prototype.spaceX0OfTheMonth=function(){return` %s of the month`},e.prototype.lastDay=function(){return`the last day`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, on the last %s of the month`},e.prototype.commaOnlyOnX0=function(){return`, only on %s`},e.prototype.commaAndOnX0=function(){return`, and on %s`},e.prototype.commaEveryX0Months=function(){return`, every %s months`},e.prototype.commaOnlyInX0=function(){return`, only in %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, on the last day of the month`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, on the last weekday of the month`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s days before the last day of the month`},e.prototype.firstWeekday=function(){return`first weekday`},e.prototype.weekdayNearestDayX0=function(){return`weekday nearest day %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, on the %s of the month`},e.prototype.commaEveryX0Days=function(){return`, every %s days in a month`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, between day %s and %s of the month`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, on day %s of the month`},e.prototype.commaEveryHour=function(){return`, every hour`},e.prototype.commaEveryX0Years=function(){return`, every %s years`},e.prototype.commaStartingX0=function(){return`, starting %s`},e.prototype.daysOfTheWeek=function(){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},e.prototype.monthsOfTheYear=function(){return[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},e.prototype.atReboot=function(){return`Run once, at startup`},e.prototype.onTheHour=function(){return`on the hour`},e}()}
339,153(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.es=void 0,t.es=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocurrió un error mientras se generaba la descripción de la expresión. Revise la sintaxis de la expresión de cron.`},e.prototype.at=function(){return`A las`},e.prototype.atSpace=function(){return`A las `},e.prototype.atX0=function(){return`a las %s`},e.prototype.atX0MinutesPastTheHour=function(){return`a los %s minutos de la hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`a los %s segundos del minuto`},e.prototype.betweenX0AndX1=function(){return`entre las %s y las %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre los dÃas %s y %s del mes`},e.prototype.commaEveryDay=function(){return`, cada dÃa`},e.prototype.commaEveryX0Days=function(){return`, cada %s dÃas`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, cada %s dÃas de la semana`},e.prototype.commaEveryX0Months=function(){return`, cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, el dÃa %s del mes`},e.prototype.commaOnlyInX0=function(){return`, sólo en %s`},e.prototype.commaOnlyOnX0=function(){return`, sólo el %s`},e.prototype.commaAndOnX0=function(){return`, y el %s`},e.prototype.commaOnThe=function(){return`, en el `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, en el último dÃa del mes`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, en el último dÃa de la semana del mes`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dÃas antes del último dÃa del mes`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, en el último %s del mes`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, en el %s del mes`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, y de %s a %s`},e.prototype.everyHour=function(){return`cada hora`},e.prototype.everyMinute=function(){return`cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`cada minuto entre las %s y las %s`},e.prototype.everySecond=function(){return`cada segundo`},e.prototype.everyX0Hours=function(){return`cada %s horas`},e.prototype.everyX0Minutes=function(){return`cada %s minutos`},e.prototype.everyX0Seconds=function(){return`cada %s segundos`},e.prototype.fifth=function(){return`quinto`},e.prototype.first=function(){return`primero`},e.prototype.firstWeekday=function(){return`primer dÃa de la semana`},e.prototype.fourth=function(){return`cuarto`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`del minuto %s al %s pasada la hora`},e.prototype.second=function(){return`segundo`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`En los segundos %s al %s de cada minuto`},e.prototype.spaceAnd=function(){return` y`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mes`},e.prototype.lastDay=function(){return`el último dÃa`},e.prototype.third=function(){return`tercer`},e.prototype.weekdayNearestDayX0=function(){return`dÃa de la semana más próximo al %s`},e.prototype.commaEveryX0Years=function(){return`, cada %s años`},e.prototype.commaStartingX0=function(){return`, comenzando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`lunes`,`martes`,`miércoles`,`jueves`,`viernes`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`enero`,`febrero`,`marzo`,`abril`,`mayo`,`junio`,`julio`,`agosto`,`septiembre`,`octubre`,`noviembre`,`diciembre`]},e.prototype.onTheHour=function(){return`en punto`},e}()},804(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.fa=void 0,t.fa=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`خطاÛÛ Ø¯Ø± ÙÙ
Ø§ÛØ´ ØªÙØ¶ÛØØ§Øª اÛÙ ÙØ¸ÛÙ٠رخ داد. ÙØ·Ùا ساختار آ٠را Ø¨Ø±Ø±Ø³Û Ú©ÙÛØ¯.`},e.prototype.everyMinute=function(){return`ÙØ± دÙÛÙÙ`},e.prototype.everyHour=function(){return`ÙØ± ساعت`},e.prototype.atSpace=function(){return`در `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`ÙØ± دÙÛÙ٠بÛÙ %s Ù %s`},e.prototype.at=function(){return`در`},e.prototype.spaceAnd=function(){return` Ù`},e.prototype.everySecond=function(){return`ÙØ± ثاÙÛÙ`},e.prototype.everyX0Seconds=function(){return`ÙØ± %s ثاÙÛÙ`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`ثاÙÛÙ %s تا %s دÙÛÙ٠گذشتÙ`},e.prototype.atX0SecondsPastTheMinute=function(){return`در %s ÙØ§ÙÛ٠از دÙÛÙ٠گذشتÙ`},e.prototype.everyX0Minutes=function(){return`ÙØ± %s دÙÛÙÙ`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`دÙÛÙÙ %s تا %s ساعت گذشتÙ`},e.prototype.atX0MinutesPastTheHour=function(){return`در %s دÙÛÙ٠پس از ساعت`},e.prototype.everyX0Hours=function(){return`ÙØ± %s ساعت`},e.prototype.betweenX0AndX1=function(){return`بÛÙ %s Ù %s`},e.prototype.atX0=function(){return`در %s`},e.prototype.commaEveryDay=function(){return`, ÙØ± Ø±ÙØ²`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, ÙØ± %s Ø±ÙØ² از ÙÙØªÙ`},e.prototype.commaX0ThroughX1=function(){return`, %s تا %s`},e.prototype.commaAndX0ThroughX1=function(){return`, Ù %s تا %s`},e.prototype.first=function(){return`اÙÙ`},e.prototype.second=function(){return`دÙÙ
`},e.prototype.third=function(){return`سÙÙ
`},e.prototype.fourth=function(){return`ÚÙØ§Ø±Ù
`},e.prototype.fifth=function(){return`Ù¾ÙØ¬Ù
`},e.prototype.commaOnThe=function(){return`, در `},e.prototype.spaceX0OfTheMonth=function(){return` %s Ù
اÙ`},e.prototype.lastDay=function(){return`آخرÛÙ Ø±ÙØ²`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, در %s Ù
اÙ`},e.prototype.commaOnlyOnX0=function(){return`, ÙÙØ· در %s`},e.prototype.commaAndOnX0=function(){return`, ٠در %s`},e.prototype.commaEveryX0Months=function(){return`, ÙØ± %s Ù
اÙ`},e.prototype.commaOnlyInX0=function(){return`, ÙÙØ· در %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, در آخرÛÙ Ø±ÙØ² Ù
اÙ`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, در آخرÛÙ Ø±ÙØ² Ù
اÙ`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s Ø±ÙØ² ÙØ¨Ù از آخرÛÙ Ø±ÙØ² Ù
اÙ`},e.prototype.firstWeekday=function(){return`اÙÙÛÙ Ø±ÙØ²`},e.prototype.weekdayNearestDayX0=function(){return`Ø±ÙØ² ÙØ²Ø¯ÛÚ© Ø¨Ù Ø±ÙØ² %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, در %s Ù
اÙ`},e.prototype.commaEveryX0Days=function(){return`, ÙØ± %s Ø±ÙØ²`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, بÛÙ Ø±ÙØ² %s Ù %s Ù
اÙ`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, در %s Ù
اÙ`},e.prototype.commaEveryMinute=function(){return`, ÙØ± minute`},e.prototype.commaEveryHour=function(){return`, ÙØ± ساعت`},e.prototype.commaEveryX0Years=function(){return`, ÙØ± %s ساÙ`},e.prototype.commaStartingX0=function(){return`, آغاز %s`},e.prototype.daysOfTheWeek=function(){return[`ÛÚ©âØ´ÙØ¨Ù`,`Ø¯ÙØ´ÙبÙ`,`سÙâØ´ÙØ¨Ù`,`ÚÙØ§Ø±Ø´ÙبÙ`,`Ù¾ÙØ¬âØ´ÙØ¨Ù`,`جÙ
عÙ`,`Ø´ÙØ¨Ù`]},e.prototype.monthsOfTheYear=function(){return[`ÚØ§ÙÙÛÙ`,`ÙÙØ±ÛÙ`,`Ù
ارس`,`آپرÛÙ`,`Ù
Ù`,`ÚÙØ¦Ù
339`,`ÚÙØ¦ÛÙ`,`Ø¢Ú¯ÙØ³Øª`,`سپتاÙ
بر`,`اکتبر`,`ÙÙØ§Ù
بر`,`دساÙ
بر`]},e.prototype.onTheHour=function(){return`سر ساعت`},e}()},964(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.fi=void 0,t.fi=function(){function e(){}return e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Virhe kuvauksen generoinnissa. Tarkista cron-syntaksi.`},e.prototype.at=function(){return`Klo`},e.prototype.atSpace=function(){return`Klo `},e.prototype.atX0=function(){return`klo %s`},e.prototype.atX0MinutesPastTheHour=function(){return`%s minuuttia yli`},e.prototype.atX0MinutesPastTheHourGt20=function(){return`%s minuuttia yli`},e.prototype.atX0SecondsPastTheMinute=function(){return`%s sekunnnin jälkeen`},e.prototype.betweenX0AndX1=function(){return`%s - %s välillä`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, kuukauden päivien %s ja %s välillä`},e.prototype.commaEveryDay=function(){return`, joka päivä`},e.prototype.commaEveryHour=function(){return`, joka tunti`},e.prototype.commaEveryMinute=function(){return`, joka minuutti`},e.prototype.commaEveryX0Days=function(){return`, joka %s. päivä`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, joka %s. viikonpäivä`},e.prototype.commaEveryX0Months=function(){return`, joka %s. kuukausi`},e.prototype.commaEveryX0Years=function(){return`, joka %s. vuosi`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, kuukauden %s päivä`},e.prototype.commaOnlyInX0=function(){return`, vain %s`},e.prototype.commaOnlyOnX0=function(){return`, vain %s`},e.prototype.commaOnThe=function(){return`,`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, kuukauden viimeisenä päivänä`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, kuukauden viimeisenä viikonpäivänä`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, kuukauden viimeinen %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, kuukauden %s`},e.prototype.commaX0ThroughX1=function(){return`, %s - %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s - %s`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s päivää ennen kuukauden viimeistä päivää`},e.prototype.commaStartingX0=function(){return`, alkaen %s`},e.prototype.everyHour=function(){return`joka tunti`},e.prototype.everyMinute=function(){return`joka minuutti`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`joka minuutti %s - %s välillä`},e.prototype.everySecond=function(){return`joka sekunti`},e.prototype.everyX0Hours=function(){return`joka %s. tunti`},e.prototype.everyX0Minutes=function(){return`joka %s. minuutti`},e.prototype.everyX0Seconds=function(){return`joka %s. sekunti`},e.prototype.fifth=function(){return`viides`},e.prototype.first=function(){return`ensimmäinen`},e.prototype.firstWeekday=function(){return`ensimmäinen viikonpäivä`},e.prototype.fourth=function(){return`neljäs`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`joka tunti minuuttien %s - %s välillä`},e.prototype.second=function(){return`toinen`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`joka minuutti sekunttien %s - %s välillä`},e.prototype.spaceAnd=function(){return` ja`},e.prototype.spaceAndSpace=function(){return` ja `},e.prototype.spaceX0OfTheMonth=function(){return` %s kuukaudessa`},e.prototype.third=function(){return`kolmas`},e.prototype.weekdayNearestDayX0=function(){return`viikonpäivä lähintä %s päivää`},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.lastDay=function(){return`viimeinen päivä`},e.prototype.commaAndOnX0=function(){return`, ja edelleen %s`},e.prototype.daysOfTheWeek=function(){return[`sunnuntai`,`maanantai`,`tiistai`,`keskiviikko`,`torstai`,`perjantai`,`lauantai`]},e.prototype.monthsOfTheYear=function(){return[`tammikuu`,`helmikuu`,`maaliskuu`,`huhtikuu`,`toukokuu`,`kesäkuu`,`heinäkuu`,`elokuu`,`syyskuu`,`lokakuu`,`marraskuu`,`joulukuu`]},e.prototype.onTheHour=function(){return`tasalta`},e}()}
339,517(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.fr=void 0,t.fr=function(){function e(){}return e.prototype.conciseVerbosityReplacements=function(){return{"de le":`du`}},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Une erreur est survenue en générant la description de l'expression cron. Vérifiez sa syntaxe.`},e.prototype.everyMinute=function(){return`toutes les minutes`},e.prototype.everyHour=function(){return`toutes les heures`},e.prototype.atSpace=function(){return`à `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Toutes les minutes entre %s et %s`},e.prototype.at=function(){return`Ã`},e.prototype.spaceAnd=function(){return` et`},e.prototype.everySecond=function(){return`toutes les secondes`},e.prototype.everyX0Seconds=function(){return`toutes les %s secondes`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`les secondes entre %s et %s après la minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`%s secondes après la minute`},e.prototype.everyX0Minutes=function(){return`toutes les %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`les minutes entre %s et %s après l'heure`},e.prototype.atX0MinutesPastTheHour=function(){return`%s minutes après l'heure`},e.prototype.everyX0Hours=function(){return`toutes les %s heures`},e.prototype.betweenX0AndX1=function(){return`de %s à %s`},e.prototype.atX0=function(){return`%s`},e.prototype.commaEveryDay=function(){return`, tous les jours`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, tous les %s jours de la semaine`},e.prototype.commaX0ThroughX1=function(){return`, de %s à %s`},e.prototype.commaAndX0ThroughX1=function(){return`, et de %s à %s`},e.prototype.first=function(){return`premier`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`troisième`},e.prototype.fourth=function(){return`quatrième`},e.prototype.fifth=function(){return`cinquième`},e.prototype.commaOnThe=function(){return`, le `},e.prototype.spaceX0OfTheMonth=function(){return` %s du mois`},e.prototype.lastDay=function(){return`le dernier jour`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, le dernier %s du mois`},e.prototype.commaOnlyOnX0=function(){return`, uniquement le %s`},e.prototype.commaAndOnX0=function(){return`, et %s`},e.prototype.commaEveryX0Months=function(){return`, tous les %s mois`},e.prototype.commaOnlyInX0=function(){return`, uniquement en %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, le dernier jour du mois`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, le dernier jour ouvrable du mois`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s jours avant le dernier jour du mois`},e.prototype.firstWeekday=function(){return`premier jour ouvrable`},e.prototype.weekdayNearestDayX0=function(){return`jour ouvrable le plus proche du %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, le %s du mois`},e.prototype.commaEveryX0Days=function(){return`, tous les %s jours`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, du %s au %s du mois`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, le %s du mois`},e.prototype.commaEveryHour=function(){return`, chaque heure`},e.prototype.commaEveryX0Years=function(){return`, tous les %s ans`},e.prototype.commaDaysX0ThroughX1=function(){return`, du %s au %s`},e.prototype.commaStartingX0=function(){return`, à partir de %s`},e.prototype.daysOfTheWeek=function(){return[`dimanche`,`lundi`,`mardi`,`mercredi`,`jeudi`,`vendredi`,`samedi`]},e.prototype.monthsOfTheYear=function(){return[`janvier`,`février`,`mars`,`avril`,`mai`,`juin`,`juillet`,`août`,`septembre`,`octobre`,`novembre`,`décembre`]},e.prototype.onTheHour=function(){return`à l'heure pile`},e}()}
339,82(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.he=void 0,t.he=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`×××¨×¢× ×©×××× ×עת ×צ×רת ת×××ר ××××××. ××××§ ×ת ת×××ר ×××××× cron.`},e.prototype.everyMinute=function(){return`×× ××§×`},e.prototype.everyHour=function(){return`×× ×©×¢×`},e.prototype.atSpace=function(){return`× `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`×× ××§× %s ×¢× %s`},e.prototype.at=function(){return`×`},e.prototype.spaceAnd=function(){return` ×`},e.prototype.everySecond=function(){return`×× ×©× ××`},e.prototype.everyX0Seconds=function(){return`×× %s ×©× ××ת`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`%s ×¢× %s ×©× ××ת ×©× ×××§×`},e.prototype.atX0SecondsPastTheMinute=function(){return`× %s ×©× ××ת ×©× ×××§×`},e.prototype.everyX0Minutes=function(){return`×× %s ××§×ת`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`%s ×¢× %s ××§×ת ×©× ×שע×`},e.prototype.atX0MinutesPastTheHour=function(){return`× %s ××§×ת ×©× ×שע×`},e.prototype.everyX0Hours=function(){return`×× %s שע×ת`},e.prototype.betweenX0AndX1=function(){return`%s ×¢× %s`},e.prototype.atX0=function(){return`× %s`},e.prototype.commaEveryDay=function(){return`, ×× ×××`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, ×× %s ×××× ×ש×××¢`},e.prototype.commaX0ThroughX1=function(){return`, %s ×¢× %s`},e.prototype.commaAndX0ThroughX1=function(){return`, × %s ×¢× %s`},e.prototype.first=function(){return`ר×ש××`},e.prototype.second=function(){return`×©× ×`},e.prototype.third=function(){return`ש××ש×`},e.prototype.fourth=function(){return`ר×××¢×`},e.prototype.fifth=function(){return`×××ש×`},e.prototype.commaOnThe=function(){return`, × `},e.prototype.spaceX0OfTheMonth=function(){return` %s ×©× ××××ש`},e.prototype.lastDay=function(){return`×××× ×××ר××`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, רק × %s ×©× ××××ש`},e.prototype.commaOnlyOnX0=function(){return`, רק × %s`},e.prototype.commaAndOnX0=function(){return`, ×× %s`},e.prototype.commaEveryX0Months=function(){return`, ×× %s ×××ש××`},e.prototype.commaOnlyInX0=function(){return`, רק × %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, ×××× ×××ר×× ×©× ××××ש`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, ×××× ×××× ×××ר×× ×©× ××××ש`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s ×××× ××¤× × ×××× ×××ר×× ××××ש`},e.prototype.firstWeekday=function(){return`××× ×××× ×ר×ש××`},e.prototype.weekdayNearestDayX0=function(){return`××× ×××× ×ר×ש×× ×קר×× ×× %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, ×××× ×%s ×©× ××××ש`},e.prototype.commaEveryX0Days=function(){return`, ×× %s ××××`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, ××× ×××× ×%s ××%s ×©× ××××ש`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, ×××× ×%s ×©× ××××ש`},e.prototype.commaEveryX0Years=function(){return`, ×× %s ×©× ××`},e.prototype.commaStartingX0=function(){return`, ××× × %s`},e.prototype.daysOfTheWeek=function(){return[`××× ×¨×ש××`,`××× ×©× ×`,`××× ×©××ש×`,`××× ×¨×××¢×`,`××× ×××ש×`,`××× ×©×ש×`,`××× ×©×ת`]},e.prototype.monthsOfTheYear=function(){return[`×× ××ר`,`פ×ר××ר`,`×רץ`,`×פר××`,`×××`,`××× ×`,`××××`,`××××ס×`,`ספ×××ר`,`×××§×××ר`,`× ××××ר`,`×צ××ר`]},e.prototype.onTheHour=function(){return`××©×¢× ×¢××××`},e}()}
339,131(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hr=void 0,t.hr=function(){function e(){}return e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`DoÅ¡lo je do pogreÅ¡ke pri generiranju izraza. Provjerite sintaksu cron izraza.`},e.prototype.at=function(){return`U`},e.prototype.atSpace=function(){return`U `},e.prototype.atX0=function(){return`u %s`},e.prototype.atX0MinutesPastTheHour=function(){return`u %s minuta nakon punog sata`},e.prototype.atX0SecondsPastTheMinute=function(){return`u %s sekundi nakon pune minute`},e.prototype.betweenX0AndX1=function(){return`izmeÄu %s i %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, izmeÄu %s. i %s. dana u mjesecu`},e.prototype.commaEveryDay=function(){return`, svaki dan`},e.prototype.commaEveryX0Days=function(){return`, svakih %s dana`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, svakih %s dana u tjednu`},e.prototype.commaEveryX0Months=function(){return`, svakih %s mjeseci`},e.prototype.commaEveryX0Years=function(){return`, svakih %s godina`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s. dan u mjesecu`},e.prototype.commaOnlyInX0=function(){return`, samo u %s`},e.prototype.commaOnlyOnX0=function(){return`, samo %s`},e.prototype.commaAndOnX0=function(){return`, i %s`},e.prototype.commaOnThe=function(){return`, `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, zadnji dan u mjesecu`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, zadnji radni dan u mjesecu`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dana prije kraja mjeseca`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, zadnji %s u mjesecu`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, %s u mjesecu`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, i od %s do %s`},e.prototype.everyHour=function(){return`svaki sat`},e.prototype.everyMinute=function(){return`svaku minutu`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Svaku minutu izmeÄu %s i %s`},e.prototype.everySecond=function(){return`svaku sekundu`},e.prototype.everyX0Hours=function(){return`svakih %s sati`},e.prototype.everyX0Minutes=function(){return`svakih %s minuta`},e.prototype.everyX0Seconds=function(){return`svakih %s sekundi`},e.prototype.fifth=function(){return`peti`},e.prototype.first=function(){return`prvi`},e.prototype.firstWeekday=function(){return`prvi radni dan`},e.prototype.fourth=function(){return`Äetvrti`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minute od %s do %s nakon punog sata`},e.prototype.second=function(){return`drugi`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekunde od %s do %s nakon pune minute`},e.prototype.spaceAnd=function(){return` i`},e.prototype.spaceX0OfTheMonth=function(){return` %s u mjesecu`},e.prototype.lastDay=function(){return`zadnji dan`},e.prototype.third=function(){return`treÄi`},e.prototype.weekdayNearestDayX0=function(){return`radni dan najbliži %s. danu`},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.commaStartingX0=function(){return`, poÄevÅ¡i od %s`},e.prototype.daysOfTheWeek=function(){return[`Nedjelja`,`Ponedjeljak`,`Utorak`,`Srijeda`,`Äetvrtak`,`Petak`,`Subota`]},e.prototype.monthsOfTheYear=function(){return[`sijeÄanj`,`veljaÄa`,`ožujak`,`travanj`,`svibanj`,`lipanj`,`srpanj`,`kolovoz`,`rujan`,`listopad`,`studeni`,`prosinac`]},e.prototype.onTheHour=function(){return`u puni sat`},e}()},194(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hu=void 0,t.hu=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Hiba történt a kifejezésleÃrás generálásakor. EllenÅrizze a cron kifejezés szintaxisát.`},e.prototype.everyMinute=function(){return`minden percben`},e.prototype.everyHour=function(){return`minden órában`},e.prototype.atSpace=function(){return`Ekkor: `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`percenként %s és %s között`},e.prototype.at=function(){return`Ekkor:`},e.prototype.spaceAnd=function(){return` és`},e.prototype.everySecond=function(){return`minden másodpercben`},e.prototype.everyX0Seconds=function(){return`%s másodpercenként`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`%s. másodpercben %s perc után`},e.prototype.atX0SecondsPastTheMinute=function(){return`%s. másodpercben`},e.prototype.everyX0Minutes=function(){return`minden %s. percben`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`%s. percben %s óra után`},e.prototype.atX0MinutesPastTheHour=function(){return`%s. percben`},e.prototype.everyX0Hours=function(){return`minden %s órában`},e.prototype.betweenX0AndX1=function(){return`%s és %s között`},e.prototype.atX0=function(){return`ekkor %s`},e.prototype.commaEveryDay=function(){return`, minden nap`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, a hét minden %s napján`},e.prototype.commaX0ThroughX1=function(){return`, %s - %s`},e.prototype.commaAndX0ThroughX1=function(){return`, és %s - %s`},e.prototype.first=function(){return`elsÅ`},e.prototype.second=function(){return`második`},e.prototype.third=function(){return`harmadik`},e.prototype.fourth=function(){return`negyedik`},e.prototype.fifth=function(){return`ötödik`},e.prototype.commaOnThe=function(){return`, `},e.prototype.spaceX0OfTheMonth=function(){return` %s a hónapban`},e.prototype.lastDay=function(){return`az utolsó nap`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, a hónap utolsó %s`},e.prototype.commaOnlyOnX0=function(){return`, csak ekkor: %s`},e.prototype.commaAndOnX0=function(){return`, és %s`},e.prototype.commaEveryX0Months=function(){return`, minden %s hónapban`},e.prototype.commaOnlyInX0=function(){return`, csak ekkor: %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, a hónap utolsó napján`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, a hónap utolsó hétköznapján`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s nappal a hónap utolsó napja elÅtt`},e.prototype.firstWeekday=function(){return`elsÅ hétköznap`},e.prototype.weekdayNearestDayX0=function(){return`hétköznap legközelebbi nap %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, a hónap %s`},e.prototype.commaEveryX0Days=function(){return`, %s naponként`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, a hónap %s és %s napja között`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, a hónap %s napján`},e.prototype.commaEveryHour=function(){return`, minden órában`},e.prototype.commaEveryX0Years=function(){return`, %s évente`},e.prototype.commaStartingX0=function(){return`, %s kezdettel`},e.prototype.daysOfTheWeek=function(){return[`vasárnap`,`hétfÅ`,`kedd`,`szerda`,`csütörtök`,`péntek`,`szombat`]},e.prototype.monthsOfTheYear=function(){return[`január`,`február`,`március`,`április`,`május`,`június`,`július`,`augusztus`,`szeptember`,`október`,`november`,`december`]},e.prototype.onTheHour=function(){return`órakor`},e}()}
339,72(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.id=void 0,t.id=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Terjadi kesalahan saat membuat deskripsi ekspresi. Periksa sintaks ekspresi cron.`},e.prototype.everyMinute=function(){return`setiap menit`},e.prototype.everyHour=function(){return`setiap jam`},e.prototype.atSpace=function(){return`Pada `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Setiap menit diantara %s dan %s`},e.prototype.at=function(){return`Pada`},e.prototype.spaceAnd=function(){return` dan`},e.prototype.everySecond=function(){return`setiap detik`},e.prototype.everyX0Seconds=function(){return`setiap %s detik`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`detik ke %s sampai %s melewati menit`},e.prototype.atX0SecondsPastTheMinute=function(){return`pada %s detik lewat satu menit`},e.prototype.everyX0Minutes=function(){return`setiap %s menit`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`menit ke %s sampai %s melewati jam`},e.prototype.atX0MinutesPastTheHour=function(){return`pada %s menit melewati jam`},e.prototype.everyX0Hours=function(){return`setiap %s jam`},e.prototype.betweenX0AndX1=function(){return`diantara %s dan %s`},e.prototype.atX0=function(){return`pada %s`},e.prototype.commaEveryDay=function(){return`, setiap hari`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, setiap hari %s dalam seminggu`},e.prototype.commaX0ThroughX1=function(){return`, %s sampai %s`},e.prototype.commaAndX0ThroughX1=function(){return`, dan %s sampai %s`},e.prototype.first=function(){return`pertama`},e.prototype.second=function(){return`kedua`},e.prototype.third=function(){return`ketiga`},e.prototype.fourth=function(){return`keempat`},e.prototype.fifth=function(){return`kelima`},e.prototype.commaOnThe=function(){return`, di `},e.prototype.spaceX0OfTheMonth=function(){return` %s pada bulan`},e.prototype.lastDay=function(){return`hari terakhir`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, pada %s terakhir bulan ini`},e.prototype.commaOnlyOnX0=function(){return`, hanya pada %s`},e.prototype.commaAndOnX0=function(){return`, dan pada %s`},e.prototype.commaEveryX0Months=function(){return`, setiap bulan %s `},e.prototype.commaOnlyInX0=function(){return`, hanya pada %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, pada hari terakhir bulan ini`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, pada hari kerja terakhir setiap bulan`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s hari sebelum hari terakhir setiap bulan`},e.prototype.firstWeekday=function(){return`hari kerja pertama`},e.prototype.weekdayNearestDayX0=function(){return`hari kerja terdekat %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, pada %s bulan ini`},e.prototype.commaEveryX0Days=function(){return`, setiap %s hari`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, antara hari %s dan %s dalam sebulan`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, pada hari %s dalam sebulan`},e.prototype.commaEveryHour=function(){return`, setiap jam`},e.prototype.commaEveryX0Years=function(){return`, setiap %s tahun`},e.prototype.commaStartingX0=function(){return`, mulai pada %s`},e.prototype.daysOfTheWeek=function(){return[`Minggu`,`Senin`,`Selasa`,`Rabu`,`Kamis`,`Jumat`,`Sabtu`]},e.prototype.monthsOfTheYear=function(){return[`Januari`,`Februari`,`Maret`,`April`,`Mei`,`Juni`,`Juli`,`Agustus`,`September`,`Oktober`,`November`,`Desember`]},e.prototype.onTheHour=function(){return`tepat pada jam`},e}()},488(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.it=void 0,t.it=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`à verificato un errore durante la generazione la descrizione espressione. Controllare la sintassi delle espressioni cron.`},e.prototype.at=function(){return`Alle`},e.prototype.atSpace=function(){return`Alle `},e.prototype.atX0=function(){return`alle %s`},e.prototype.atX0MinutesPastTheHour=function(){return`al %s minuto passata l'ora`},e.prototype.atX0SecondsPastTheMinute=function(){return`al %s secondo passato il minuto`},e.prototype.betweenX0AndX1=function(){return`tra le %s e le %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, tra il giorno %s e %s del mese`},e.prototype.commaEveryDay=function(){return`, ogni giorno`},e.prototype.commaEveryX0Days=function(){return`, ogni %s giorni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, ogni %s giorni della settimana`},e.prototype.commaEveryX0Months=function(){return`, ogni %s mesi`},e.prototype.commaEveryX0Years=function(){return`, ogni %s anni`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, il giorno %s del mese`},e.prototype.commaOnlyInX0=function(){return`, solo in %s`},e.prototype.commaOnlyOnX0=function(){return`, solo il %s`},e.prototype.commaAndOnX0=function(){return`, e il %s`},e.prototype.commaOnThe=function(){return`, il `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, l'ultimo giorno del mese`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, nell'ultima settimana del mese`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s giorni prima dell'ultimo giorno del mese`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, l'ultimo %s del mese`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, il %s del mese`},e.prototype.commaX0ThroughX1=function(){return`, %s al %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e %s al %s`},e.prototype.everyHour=function(){return`ogni ora`},e.prototype.everyMinute=function(){return`ogni minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Ogni minuto tra le %s e le %s`},e.prototype.everySecond=function(){return`ogni secondo`},e.prototype.everyX0Hours=function(){return`ogni %s ore`},e.prototype.everyX0Minutes=function(){return`ogni %s minuti`},e.prototype.everyX0Seconds=function(){return`ogni %s secondi`},e.prototype.fifth=function(){return`quinto`},e.prototype.first=function(){return`primo`},e.prototype.firstWeekday=function(){return`primo giorno della settimana`},e.prototype.fourth=function(){return`quarto`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuti %s al %s dopo l'ora`},e.prototype.second=function(){return`secondo`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`secondi %s al %s oltre il minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mese`},e.prototype.lastDay=function(){return`l'ultimo giorno`},e.prototype.third=function(){return`terzo`},e.prototype.weekdayNearestDayX0=function(){return`giorno della settimana più vicino al %s`},e.prototype.commaStartingX0=function(){return`, a partire %s`},e.prototype.daysOfTheWeek=function(){return[`domenica`,`lunedì`,`martedì`,`mercoledì`,`giovedì`,`venerdì`,`sabato`]},e.prototype.monthsOfTheYear=function(){return[`gennaio`,`febbraio`,`marzo`,`aprile`,`maggio`,`giugno`,`luglio`,`agosto`,`settembre`,`ottobre`,`novembre`,`dicembre`]},e.prototype.onTheHour=function(){return`all'ora esatta`},e}()}
339,904(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ja=void 0,t.ja=function(){function e(){}return e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`æ¯å`},e.prototype.everyHour=function(){return`æ¯æ`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`å¼ã®è¨è¿°ãçæããéã«ã¨ã©ã¼ãçºçãã¾ãããCron å¼ã®æ§æã確èªãã¦ãã ããã`},e.prototype.atSpace=function(){return`次ã«ããã¦å®æ½`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`%s ãã %s ã¾ã§æ¯å`},e.prototype.at=function(){return`次ã«ããã¦å®æ½`},e.prototype.spaceAnd=function(){return`ã¨`},e.prototype.everySecond=function(){return`æ¯ç§`},e.prototype.everyX0Seconds=function(){return`%s ç§ãã¨`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`æ¯å %s ç§ãã %s ç§ã¾ã§`},e.prototype.atX0SecondsPastTheMinute=function(){return`æ¯å %s ç§éã`},e.prototype.everyX0Minutes=function(){return`%s åãã¨`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`æ¯æ %s åãã %s åã¾ã§`},e.prototype.atX0MinutesPastTheHour=function(){return`æ¯æ %s åéã`},e.prototype.everyX0Hours=function(){return`%s æéãã¨`},e.prototype.betweenX0AndX1=function(){return`%s 㨠%s ã®é`},e.prototype.atX0=function(){return`次ã«ããã¦å®æ½ %s`},e.prototype.commaEveryDay=function(){return`ãæ¯æ¥`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`ãé±ã®ãã¡ %s æ¥ãã¨`},e.prototype.commaX0ThroughX1=function(){return`ã%s ãã %s ã¾ã§`},e.prototype.commaAndX0ThroughX1=function(){return`ã%s ãã %s ã¾ã§`},e.prototype.first=function(){return`1 çªç®`},e.prototype.second=function(){return`2 çªç®`},e.prototype.third=function(){return`3 çªç®`},e.prototype.fourth=function(){return`4 çªç®`},e.prototype.fifth=function(){return`5 çªç®`},e.prototype.commaOnThe=function(){return`次ã«`},e.prototype.spaceX0OfTheMonth=function(){return`æã®ãã¡ %s`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`æã®æå¾ã® %s ã«`},e.prototype.commaOnlyOnX0=function(){return`%s ã«ã®ã¿`},e.prototype.commaEveryX0Months=function(){return`ã%s ãæãã¨`},e.prototype.commaOnlyInX0=function(){return`%s ã§ã®ã¿`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`æ¬¡ã®æçµæ¥ã«`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`æã®æå¾ã®å¹³æ¥ã«`},e.prototype.firstWeekday=function(){return`æåã®å¹³æ¥`},e.prototype.weekdayNearestDayX0=function(){return`%s æ¥ã®ç´è¿ã®å¹³æ¥`},e.prototype.commaOnTheX0OfTheMonth=function(){return`æã® %s ã«`},e.prototype.commaEveryX0Days=function(){return`ãæã®ãã¡ %s æ¥ãã¨`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`ãæã® %s æ¥ãã %s æ¥ã®é`},e.prototype.commaOnDayX0OfTheMonth=function(){return`ãæã® %s æ¥ç®`},e.prototype.spaceAndSpace=function(){return`ã¨`},e.prototype.commaEveryMinute=function(){return`ãæ¯å`},e.prototype.commaEveryHour=function(){return`ãæ¯æ`},e.prototype.commaEveryX0Years=function(){return`ã%s å¹´ãã¨`},e.prototype.commaStartingX0=function(){return`ã%s ã«éå§`},e.prototype.aMPeriod=function(){return`AM`},e.prototype.pMPeriod=function(){return`PM`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`æã®æçµæ¥ã® %s æ¥å`},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.lastDay=function(){return`æçµæ¥`},e.prototype.commaAndOnX0=function(){return`ãã㨠%s`},e.prototype.daysOfTheWeek=function(){return[`æ¥ææ¥`,`æææ¥`,`ç«ææ¥`,`æ°´ææ¥`,`æ¨ææ¥`,`éææ¥`,`åææ¥`]},e.prototype.monthsOfTheYear=function(){return[`1æ`,`2æ`,`3æ`,`4æ`,`5æ`,`6æ`,`7æ`,`8æ`,`9æ`,`10æ`,`11æ`,`12æ`]},e.prototype.onTheHour=function(){return`æã¡ããã©`},e}()}
339,839(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ko=void 0,t.ko=function(){function e(){}return e.prototype.setPeriodBeforeTime=function(){return!0},e.prototype.pm=function(){return`ì¤í`},e.prototype.am=function(){return`ì¤ì `},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ííì ì¤ëª
ì ìì±íë ì¤ ì¤ë¥ê° ë°ìíìµëë¤. cron ííì 구문ì íì¸íììì¤.`},e.prototype.everyMinute=function(){return`1ë¶ë§ë¤`},e.prototype.everyHour=function(){return`1ìê°ë§ë¤`},e.prototype.atSpace=function(){return``},e.prototype.everyMinuteBetweenX0AndX1=function(){return`ë§¤ë¶ %s~%s`},e.prototype.at=function(){return``},e.prototype.spaceAnd=function(){return`,`},e.prototype.everySecond=function(){return`1ì´ë§ë¤`},e.prototype.everyX0Seconds=function(){return`%sì´ë§ë¤`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`%s~%sì´`},e.prototype.atX0SecondsPastTheMinute=function(){return`%sì´`},e.prototype.everyX0Minutes=function(){return`%së¶ë§ë¤`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`%s~%së¶`},e.prototype.atX0MinutesPastTheHour=function(){return`%së¶`},e.prototype.everyX0Hours=function(){return`%sìê°ë§ë¤`},e.prototype.betweenX0AndX1=function(){return`%së¶í° %sê¹ì§`},e.prototype.atX0=function(){return`%sìì`},e.prototype.commaEveryDay=function(){return`, 매ì¼`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, 주 ì¤ %sì¼ë§ë¤`},e.prototype.commaX0ThroughX1=function(){return`, %së¶í° %sê¹ì§`},e.prototype.commaAndX0ThroughX1=function(){return`, %së¶í° %sê¹ì§`},e.prototype.first=function(){return`첫 ë²ì§¸`},e.prototype.second=function(){return`ë ë²ì§¸`},e.prototype.third=function(){return`ì¸ ë²ì§¸`},e.prototype.fourth=function(){return`ë¤ ë²ì§¸`},e.prototype.fifth=function(){return`ë¤ì¯ ë²ì§¸`},e.prototype.commaOnThe=function(){return`, 매ì `},e.prototype.spaceX0OfTheMonth=function(){return` %s`},e.prototype.lastDay=function(){return`ë§ì§ë§ ë `},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, í´ë¹ ìì ë§ì§ë§ %s`},e.prototype.commaOnlyOnX0=function(){return`, %sìë§`},e.prototype.commaAndOnX0=function(){return`, %sì`},e.prototype.commaEveryX0Months=function(){return`, %sê°ìë§ë¤`},e.prototype.commaOnlyInX0=function(){return`, %sìë§`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, í´ë¹ ìì ë§ì§ë§ ë ì`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, 매ì ë§ì§ë§ íì¼`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, í´ë¹ ìì ë§ì§ë§ ë %sì¼ ì `},e.prototype.firstWeekday=function(){return`첫 ë²ì§¸ íì¼`},e.prototype.weekdayNearestDayX0=function(){return`%sì¼ê³¼ ê°ì¥ ê°ê¹ì´ íì¼`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, 매ì %s`},e.prototype.commaEveryX0Days=function(){return`, %sì¼ë§ë¤`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, í´ë¹ ìì %sì¼ìì %sì¼ê¹ì§`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, 매ì %sì¼`},e.prototype.commaEveryMinute=function(){return`, 1ë¶ë§ë¤`},e.prototype.commaEveryHour=function(){return`, 1ìê°ë§ë¤`},e.prototype.commaEveryX0Years=function(){return`, %së
ë§ë¤`},e.prototype.commaStartingX0=function(){return`, %së¶í°`},e.prototype.daysOfTheWeek=function(){return[`ì¼ìì¼`,`ììì¼`,`íìì¼`,`ììì¼`,`목ìì¼`,`ê¸ìì¼`,`í ìì¼`]},e.prototype.monthsOfTheYear=function(){return[`1ì`,`2ì`,`3ì`,`4ì`,`5ì`,`6ì`,`7ì`,`8ì`,`9ì`,`10ì`,`11ì`,`12ì`]},e.prototype.onTheHour=function(){return`ì ê°`},e}()},919(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.my=void 0,t.my=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Terdapat ralat semasa menjana penerangan ungkapan. Sila periksa sintaks ungkapan cron.`},e.prototype.everyMinute=function(){return`setiap minit`},e.prototype.everyHour=function(){return`setiap jam`},e.prototype.atSpace=function(){return`Pada `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Setiap minit antara %s dan %s`},e.prototype.at=function(){return`Pada`},e.prototype.spaceAnd=function(){return` dan`},e.prototype.everySecond=function(){return`setiap saat`},e.prototype.everyX0Seconds=function(){return`setiap %s saat`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`saat ke %s hingga %s selepas minit`},e.prototype.atX0SecondsPastTheMinute=function(){return`pada %s saat selepas minit`},e.prototype.everyX0Minutes=function(){return`setiap %s minit`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minit ke %s hingga %s selepas jam`},e.prototype.atX0MinutesPastTheHour=function(){return`pada %s minit selepas jam`},e.prototype.everyX0Hours=function(){return`setiap %s jam`},e.prototype.betweenX0AndX1=function(){return`antara %s dan %s`},e.prototype.atX0=function(){return`pada %s`},e.prototype.commaEveryDay=function(){return`, setiap hari`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, setiap %s hari dalam minggu`},e.prototype.commaX0ThroughX1=function(){return`, %s hingga %s`},e.prototype.commaAndX0ThroughX1=function(){return`, dan %s hingga %s`},e.prototype.first=function(){return`pertama`},e.prototype.second=function(){return`kedua`},e.prototype.third=function(){return`ketiga`},e.prototype.fourth=function(){return`keempat`},e.prototype.fifth=function(){return`kelima`},e.prototype.commaOnThe=function(){return`, pada `},e.prototype.spaceX0OfTheMonth=function(){return` %s pada bulan`},e.prototype.lastDay=function(){return`hari terakhir`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, pada %s terakhir bulan`},e.prototype.commaOnlyOnX0=function(){return`, hanya pada %s`},e.prototype.commaAndOnX0=function(){return`, dan pada %s`},e.prototype.commaEveryX0Months=function(){return`, setiap bulan %s`},e.prototype.commaOnlyInX0=function(){return`, hanya pada %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, pada hari terakhir bulan`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, pada minggu terakhir bulan`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s hari sebelum hari terakhir bulan`},e.prototype.firstWeekday=function(){return`hari pertama minggu bekerja`},e.prototype.weekdayNearestDayX0=function(){return`hari bekerja yang terdekat dengan %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, pada %s bulan`},e.prototype.commaEveryX0Days=function(){return`, setiap %s hari`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, antara hari %s dan %s dalam bulan`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, pada hari %s dalam bulan`},e.prototype.commaEveryHour=function(){return`, setiap jam`},e.prototype.commaEveryX0Years=function(){return`, setiap %s tahun`},e.prototype.commaStartingX0=function(){return`, bermula %s`},e.prototype.daysOfTheWeek=function(){return[`Ahad`,`Isnin`,`Selasa`,`Rabu`,`Khamis`,`Jumaat`,`Sabtu`]},e.prototype.monthsOfTheYear=function(){return[`Januari`,`Februari`,`Mac`,`April`,`Mei`,`Jun`,`Julai`,`Ogos`,`September`,`Oktober`,`November`,`Disember`]},e.prototype.onTheHour=function(){return`pada waktu yang tepat`},e}()}
339,957(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.nb=void 0,t.nb=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`En feil inntraff ved generering av uttrykksbeskrivelse. Sjekk cron syntaks.`},e.prototype.at=function(){return`Kl.`},e.prototype.atSpace=function(){return`Kl.`},e.prototype.atX0=function(){return`på %s`},e.prototype.atX0MinutesPastTheHour=function(){return`på %s minutter etter timen`},e.prototype.atX0SecondsPastTheMinute=function(){return`på %s sekunder etter minuttet`},e.prototype.betweenX0AndX1=function(){return`mellom %s og %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, mellom dag %s og %s av måneden`},e.prototype.commaEveryDay=function(){return`, hver dag`},e.prototype.commaEveryX0Days=function(){return`, hver %s dag i måneden`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, hver %s ukedag`},e.prototype.commaEveryX0Months=function(){return`, hver %s måned`},e.prototype.commaEveryX0Years=function(){return`, hvert %s år`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, på dag %s av måneden`},e.prototype.commaOnlyInX0=function(){return`, bare i %s`},e.prototype.commaOnlyOnX0=function(){return`, på %s`},e.prototype.commaAndOnX0=function(){return`, og på %s`},e.prototype.commaOnThe=function(){return`, på `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, på den siste dagen i måneden`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, den siste ukedagen i måneden`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dager før den siste dagen i måneden`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, på den siste %s av måneden`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, på den %s av måneden`},e.prototype.commaX0ThroughX1=function(){return`, %s til og med %s`},e.prototype.commaAndX0ThroughX1=function(){return`, og %s til og med %s`},e.prototype.everyHour=function(){return`hver time`},e.prototype.everyMinute=function(){return`hvert minutt`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Hvert minutt mellom %s og %s`},e.prototype.everySecond=function(){return`hvert sekund`},e.prototype.everyX0Hours=function(){return`hver %s time`},e.prototype.everyX0Minutes=function(){return`hvert %s minutt`},e.prototype.everyX0Seconds=function(){return`hvert %s sekund`},e.prototype.fifth=function(){return`femte`},e.prototype.first=function(){return`første`},e.prototype.firstWeekday=function(){return`første ukedag`},e.prototype.fourth=function(){return`fjerde`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuttene fra %s til og med %s etter timen`},e.prototype.second=function(){return`andre`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekundene fra %s til og med %s etter minuttet`},e.prototype.spaceAnd=function(){return` og`},e.prototype.spaceX0OfTheMonth=function(){return` %s i måneden`},e.prototype.lastDay=function(){return`den siste dagen`},e.prototype.third=function(){return`tredje`},e.prototype.weekdayNearestDayX0=function(){return`ukedag nærmest dag %s`},e.prototype.commaStartingX0=function(){return`, starter %s`},e.prototype.daysOfTheWeek=function(){return[`søndag`,`mandag`,`tirsdag`,`onsdag`,`torsdag`,`fredag`,`lørdag`]},e.prototype.monthsOfTheYear=function(){return[`januar`,`februar`,`mars`,`april`,`mai`,`juni`,`juli`,`august`,`september`,`oktober`,`november`,`desember`]},e.prototype.onTheHour=function(){return`på timen`},e}()},647(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.nl=void 0,t.nl=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`elke minuut`},e.prototype.everyHour=function(){return`elk uur`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Er is een fout opgetreden bij het vertalen van de gegevens. Controleer de gegevens.`},e.prototype.atSpace=function(){return`Om `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Elke minuut tussen %s en %s`},e.prototype.at=function(){return`Om`},e.prototype.spaceAnd=function(){return` en`},e.prototype.everySecond=function(){return`elke seconde`},e.prototype.everyX0Seconds=function(){return`elke %s seconden`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`seconden %s t/m %s na de minuut`},e.prototype.atX0SecondsPastTheMinute=function(){return`op %s seconden na de minuut`},e.prototype.everyX0Minutes=function(){return`elke %s minuten`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuut %s t/m %s na het uur`},e.prototype.atX0MinutesPastTheHour=function(){return`op %s minuten na het uur`},e.prototype.everyX0Hours=function(){return`elke %s uur`},e.prototype.betweenX0AndX1=function(){return`tussen %s en %s`},e.prototype.atX0=function(){return`om %s`},e.prototype.commaEveryDay=function(){return`, elke dag`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, elke %s dagen van de week`},e.prototype.commaX0ThroughX1=function(){return`, %s t/m %s`},e.prototype.commaAndX0ThroughX1=function(){return`, en %s t/m %s`},e.prototype.first=function(){return`eerste`},e.prototype.second=function(){return`tweede`},e.prototype.third=function(){return`derde`},e.prototype.fourth=function(){return`vierde`},e.prototype.fifth=function(){return`vijfde`},e.prototype.commaOnThe=function(){return`, op de `},e.prototype.spaceX0OfTheMonth=function(){return` %s van de maand`},e.prototype.lastDay=function(){return`de laatste dag`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, op de laatste %s van de maand`},e.prototype.commaOnlyOnX0=function(){return`, alleen op %s`},e.prototype.commaAndOnX0=function(){return`, en op %s`},e.prototype.commaEveryX0Months=function(){return`, elke %s maanden`},e.prototype.commaOnlyInX0=function(){return`, alleen in %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, op de laatste dag van de maand`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, op de laatste werkdag van de maand`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dagen vóór de laatste dag van de maand`},e.prototype.firstWeekday=function(){return`eerste werkdag`},e.prototype.weekdayNearestDayX0=function(){return`werkdag dichtst bij dag %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, op de %s van de maand`},e.prototype.commaEveryX0Days=function(){return`, elke %s dagen`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, tussen dag %s en %s van de maand`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, op dag %s van de maand`},e.prototype.commaEveryX0Years=function(){return`, elke %s jaren`},e.prototype.commaStartingX0=function(){return`, beginnend %s`},e.prototype.daysOfTheWeek=function(){return[`zondag`,`maandag`,`dinsdag`,`woensdag`,`donderdag`,`vrijdag`,`zaterdag`]},e.prototype.monthsOfTheYear=function(){return[`januari`,`februari`,`maart`,`april`,`mei`,`juni`,`juli`,`augustus`,`september`,`oktober`,`november`,`december`]},e.prototype.onTheHour=function(){return`op het hele uur`},e}()}
339,633(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.nn=void 0,t.nn=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ein feil oppstod ved generering av uttrykksskildring. Sjekk cron-syntaksen.`},e.prototype.at=function(){return`Kl.`},e.prototype.atSpace=function(){return`Kl.`},e.prototype.atX0=function(){return`pÃ¥ %s`},e.prototype.atX0MinutesPastTheHour=function(){return`pÃ¥ %s minutt etter timen`},e.prototype.atX0SecondsPastTheMinute=function(){return`pÃ¥ %s sekund etter minuttet`},e.prototype.betweenX0AndX1=function(){return`mellom %s og %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, mellom dag %s og %s av mÃ¥naden`},e.prototype.commaEveryDay=function(){return`, kvar dag`},e.prototype.commaEveryX0Days=function(){return`, kvar %s dag i mÃ¥naden`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, kvar %s vekedag`},e.prototype.commaEveryX0Months=function(){return`, kvar %s mÃ¥nad`},e.prototype.commaEveryX0Years=function(){return`, kvart %s Ã¥r`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, pÃ¥ dag %s av mÃ¥naden`},e.prototype.commaOnlyInX0=function(){return`, berre i %s`},e.prototype.commaOnlyOnX0=function(){return`, pÃ¥ %s`},e.prototype.commaAndOnX0=function(){return`, og pÃ¥ %s`},e.prototype.commaOnThe=function(){return`, pÃ¥ `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, pÃ¥ den siste dagen i mÃ¥naden`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, den siste vekedagen i mÃ¥naden`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dagar før den siste dagen i mÃ¥naden`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, pÃ¥ den siste %s av mÃ¥naden`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, pÃ¥ den %s av mÃ¥naden`},e.prototype.commaX0ThroughX1=function(){return`, %s til og med %s`},e.prototype.commaAndX0ThroughX1=function(){return`, og %s til og med %s`},e.prototype.everyHour=function(){return`kvar time`},e.prototype.everyMinute=function(){return`kvart minutt`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Kvart minutt mellom %s og %s`},e.prototype.everySecond=function(){return`kvart sekund`},e.prototype.everyX0Hours=function(){return`kvar %s time`},e.prototype.everyX0Minutes=function(){return`kvart %s minutt`},e.prototype.everyX0Seconds=function(){return`kvart %s sekund`},e.prototype.fifth=function(){return`femte`},e.prototype.first=function(){return`første`},e.prototype.firstWeekday=function(){return`første vekedag`},e.prototype.fourth=function(){return`fjerde`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutta frÃ¥ %s til og med %s etter timen`},e.prototype.second=function(){return`andre`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekunda frÃ¥ %s til og med %s etter minuttet`},e.prototype.spaceAnd=function(){return` og`},e.prototype.spaceX0OfTheMonth=function(){return` %s i mÃ¥naden`},e.prototype.lastDay=function(){return`den siste dagen`},e.prototype.third=function(){return`tredje`},e.prototype.weekdayNearestDayX0=function(){return`vekedag nærmast dag %s`},e.prototype.commaStartingX0=function(){return`, startar %s`},e.prototype.daysOfTheWeek=function(){return[`sundag`,`mÃ¥ndag`,`tysdag`,`onsdag`,`torsdag`,`fredag`,`laurdag`]},e.prototype.monthsOfTheYear=function(){return[`januar`,`februar`,`mars`,`april`,`mai`,`juni`,`juli`,`august`,`september`,`oktober`,`november`,`desember`]},e.prototype.onTheHour=function(){return`pÃ¥ timen`},e}()},905(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.pl=void 0,t.pl=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`WystÄ
piÅ bÅÄ
d podczas generowania opisu wyrażenia cron. Sprawdź skÅadniÄ wyrażenia cron.`},e.prototype.at=function(){return`O`},e.prototype.atSpace=function(){return`O `},e.prototype.atX0=function(){return`o %s`},e.prototype.atX0MinutesPastTheHour=function(){return`w %s minucie`},e.prototype.atX0SecondsPastTheMinute=function(){return`w %s sekundzie`},e.prototype.betweenX0AndX1=function(){return`od %s do %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, od %s-ego do %s-ego dnia miesiÄ
ca`},e.prototype.commaEveryDay=function(){return`, co dzieÅ`},e.prototype.commaEveryX0Days=function(){return`, co %s dni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, co %s dni tygodnia`},e.prototype.commaEveryX0Months=function(){return`, co %s miesiÄcy`},e.prototype.commaEveryX0Years=function(){return`, co %s lat`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s-ego dnia miesiÄ
ca`},e.prototype.commaOnlyInX0=function(){return`, tylko %s`},e.prototype.commaOnlyOnX0=function(){return`, tylko %s`},e.prototype.commaAndOnX0=function(){return`, i %s`},e.prototype.commaOnThe=function(){return`, `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, ostatni dzieÅ miesiÄ
ca`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, ostatni dzieÅ roboczy miesiÄ
ca`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dni przed ostatnim dniem miesiÄ
ca`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, ostatni %s miesiÄ
ca`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, %s miesiÄ
ca`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, i od %s do %s`},e.prototype.everyHour=function(){return`co godzinÄ`},e.prototype.everyMinute=function(){return`co minutÄ`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Co minutÄ od %s do %s`},e.prototype.everySecond=function(){return`co sekundÄ`},e.prototype.everyX0Hours=function(){return`co %s godzin`},e.prototype.everyX0Minutes=function(){return`co %s minut`},e.prototype.everyX0Seconds=function(){return`co %s sekund`},e.prototype.fifth=function(){return`piÄ
ty`},e.prototype.first=function(){return`pierwszy`},e.prototype.firstWeekday=function(){return`pierwszy dzieÅ roboczy`},e.prototype.fourth=function(){return`czwarty`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuty od %s do %s`},e.prototype.second=function(){return`drugi`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekundy od %s do %s`},e.prototype.spaceAnd=function(){return` i`},e.prototype.spaceX0OfTheMonth=function(){return` %s miesiÄ
ca`},e.prototype.lastDay=function(){return`ostatni dzieÅ`},e.prototype.third=function(){return`trzeci`},e.prototype.weekdayNearestDayX0=function(){return`dzieÅ roboczy najbliższy %s-ego dnia`},e.prototype.commaStartingX0=function(){return`, startowy %s`},e.prototype.daysOfTheWeek=function(){return[`niedziela`,`poniedziaÅek`,`wtorek`,`Åroda`,`czwartek`,`piÄ
tek`,`sobota`]}
339,e.prototype.monthsOfTheYear=function(){return[`styczeÅ`,`luty`,`marzec`,`kwiecieÅ`,`maj`,`czerwiec`,`lipiec`,`sierpieÅ`,`wrzesieÅ`,`październik`,`listopad`,`grudzieÅ`]},e.prototype.onTheHour=function(){return`o peÅnej godzinie`},e}()},556(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.pt_BR=void 0,t.pt_BR=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocorreu um erro ao gerar a descrição da expressão Cron.`},e.prototype.at=function(){return`à s`},e.prototype.atSpace=function(){return`à s `},e.prototype.atX0=function(){return`Ãs %s`},e.prototype.atX0MinutesPastTheHour=function(){return`aos %s minutos da hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`aos %s segundos do minuto`},e.prototype.betweenX0AndX1=function(){return`entre %s e %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre os dias %s e %s do mês`},e.prototype.commaEveryDay=function(){return`, a cada dia`},e.prototype.commaEveryX0Days=function(){return`, a cada %s dias`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, a cada %s dias de semana`},e.prototype.commaEveryX0Months=function(){return`, a cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, no dia %s do mês`},e.prototype.commaOnlyInX0=function(e){return e&&e.length>1&&e[1]===`-`?`somente %s`:`, somente em %s`},e.prototype.commaOnlyOnX0=function(e){return e&&e.length>1&&e[1]===`-`?`, somente %s`:`, somente de %s`},e.prototype.commaAndOnX0=function(){return`, e de %s`},e.prototype.commaOnThe=function(e,t){return t===`6`||t===`0`?`, no`:`, na `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, no último dia do mês`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, no último dia da semana do mês`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dias antes do último dia do mês`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, na última %s do mês`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, no %s do mês`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e de %s a %s`},e.prototype.everyHour=function(){return`a cada hora`},e.prototype.everyMinute=function(){return`a cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`a cada minuto entre %s e %s`},e.prototype.everySecond=function(){return`a cada segundo`},e.prototype.everyX0Hours=function(){return`a cada %s horas`},e.prototype.everyX0Minutes=function(){return`a cada %s minutos`},e.prototype.everyX0Seconds=function(){return`a cada %s segundos`},e.prototype.fifth=function(e){return e===`6`||e===`0`?`quinto`:`quinta`},e.prototype.first=function(e){return e===`6`||e===`0`?`primeiro`:`primeira`},e.prototype.firstWeekday=function(){return`primeiro dia da semana`},e.prototype.fourth=function(e){return e===`6`||e===`0`?`quarto`:`quarta`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`do minuto %s até %s de cada hora`},e.prototype.second=function(e){return e===`6`||e===`0`?`segundo`:`segunda`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`No segundo %s até %s de cada minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s do mês`},e.prototype.lastDay=function(){return`o último dia`},e.prototype.third=function(e){return e===`6`||e===`0`?`terceiro`:`terceira`},e.prototype.weekdayNearestDayX0=function(){return`dia da semana mais próximo do dia %s`},e.prototype.commaEveryX0Years=function(){return`, a cada %s anos`},e.prototype.commaStartingX0=function(){return`, iniciando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`segunda-feira`,`terça-feira`,`quarta-feira`,`quinta-feira`,`sexta-feira`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`]},e.prototype.onTheHour=function(){return`na hora certa`},e}()}
339,163(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.pt_PT=void 0,t.pt_PT=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocorreu um erro ao gerar a descrição da expressão Cron.`},e.prototype.at=function(){return`à s`},e.prototype.atSpace=function(){return`à s `},e.prototype.atX0=function(){return`Ãs %s`},e.prototype.atX0MinutesPastTheHour=function(){return`aos %s minutos da hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`aos %s segundos do minuto`},e.prototype.betweenX0AndX1=function(){return`entre %s e %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre os dias %s e %s do mês`},e.prototype.commaEveryDay=function(){return`, a cada dia`},e.prototype.commaEveryX0Days=function(){return`, a cada %s dias`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, a cada %s dias de semana`},e.prototype.commaEveryX0Months=function(){return`, a cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, no dia %s do mês`},e.prototype.commaOnlyInX0=function(){return`, somente em %s`},e.prototype.commaOnlyOnX0=function(){return`, somente de %s`},e.prototype.commaAndOnX0=function(){return`, e de %s`},e.prototype.commaOnThe=function(e,t){return t===`6`||t===`0`?`, no`:`, na `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, no último dia do mês`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, no último dia da semana do mês`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dias antes do último dia do mês`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, na última %s do mês`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, no %s do mês`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e de %s a %s`},e.prototype.everyHour=function(){return`a cada hora`},e.prototype.everyMinute=function(){return`a cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`a cada minuto entre %s e %s`},e.prototype.everySecond=function(){return`a cada segundo`},e.prototype.everyX0Hours=function(){return`a cada %s horas`},e.prototype.everyX0Minutes=function(){return`a cada %s minutos`},e.prototype.everyX0Seconds=function(){return`a cada %s segundos`},e.prototype.fifth=function(e){return e===`6`||e===`0`?`quinto`:`quinta`},e.prototype.first=function(e){return e===`6`||e===`0`?`primeiro`:`primeira`},e.prototype.firstWeekday=function(){return`primeiro dia da semana`},e.prototype.fourth=function(e){return e===`6`||e===`0`?`quarto`:`quarta`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`do minuto %s até %s de cada hora`},e.prototype.second=function(e){return e===`6`||e===`0`?`segundo`:`segunda`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`No segundo %s até %s de cada minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s do mês`},e.prototype.lastDay=function(){return`o último dia`},e.prototype.third=function(e){return e===`6`||e===`0`?`terceiro`:`terceira`},e.prototype.weekdayNearestDayX0=function(){return`dia da semana mais próximo do dia %s`},e.prototype.commaEveryX0Years=function(){return`, a cada %s anos`},e.prototype.commaStartingX0=function(){return`, iniciando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`segunda-feira`,`terça-feira`,`quarta-feira`,`quinta-feira`,`sexta-feira`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`]},e.prototype.onTheHour=function(){return`à hora certa`},e}()},614(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ro=void 0,t.ro=function(){function e(){}return e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Eroare la generarea descrierii. VerificaÈi sintaxa.`},e.prototype.at=function(){return`La`},e.prototype.atSpace=function(){return`La `},e.prototype.atX0=function(){return`la %s`},e.prototype.atX0MinutesPastTheHour=function(){return`la Èi %s minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`la Èi %s secunde`},e.prototype.betweenX0AndX1=function(){return`între %s Èi %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, între zilele %s Èi %s ale lunii`},e.prototype.commaEveryDay=function(){return`, în fiecare zi`},e.prototype.commaEveryX0Days=function(){return`, la fiecare %s zile`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, la fiecare a %s-a zi a sÄptÄmânii`},e.prototype.commaEveryX0Months=function(){return`, la fiecare %s luni`},e.prototype.commaEveryX0Years=function(){return`, o datÄ la %s ani`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, în ziua %s a lunii`},e.prototype.commaOnlyInX0=function(){return`, doar în %s`},e.prototype.commaOnlyOnX0=function(){return`, doar %s`},e.prototype.commaAndOnX0=function(){return`, Èi %s`},e.prototype.commaOnThe=function(){return`, în `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, în ultima zi a lunii`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, în ultima zi lucrÄtoare a lunii`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s zile înainte de ultima zi a lunii`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, în ultima %s a lunii`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, în %s a lunii`},e.prototype.commaX0ThroughX1=function(){return`, de %s pânÄ %s`},e.prototype.commaAndX0ThroughX1=function(){return`, Èi de %s pânÄ %s`},e.prototype.everyHour=function(){return`în fiecare orÄ`},e.prototype.everyMinute=function(){return`în fiecare minut`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Ãn fiecare minut între %s Èi %s`},e.prototype.everySecond=function(){return`în fiecare secundÄ`},e.prototype.everyX0Hours=function(){return`la fiecare %s ore`},e.prototype.everyX0Minutes=function(){return`la fiecare %s minute`},e.prototype.everyX0Seconds=function(){return`la fiecare %s secunde`},e.prototype.fifth=function(){return`a cincea`},e.prototype.first=function(){return`prima`},e.prototype.firstWeekday=function(){return`prima zi a sÄptÄmânii`},e.prototype.fourth=function(){return`a patra`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`între minutele
339%s Èi %s`},e.prototype.second=function(){return`a doua`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`între secunda %s Èi secunda %s`},e.prototype.spaceAnd=function(){return` Èi`},e.prototype.spaceX0OfTheMonth=function(){return` %s a lunii`},e.prototype.lastDay=function(){return`ultima zi`},e.prototype.third=function(){return`a treia`},e.prototype.weekdayNearestDayX0=function(){return`cea mai apropiatÄ zi a sÄptÄmânii de ziua %s`},e.prototype.commaMonthX0ThroughMonthX1=function(){return`, din %s pânÄ Ã®n %s`},e.prototype.commaYearX0ThroughYearX1=function(){return`, din %s pânÄ Ã®n %s`},e.prototype.atX0MinutesPastTheHourGt20=function(){return`la Èi %s de minute`},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return`la Èi %s de secunde`},e.prototype.commaStartingX0=function(){return`, pornire %s`},e.prototype.daysOfTheWeek=function(){return[`duminicÄ`,`luni`,`marÈi`,`miercuri`,`joi`,`vineri`,`sâmbÄtÄ`]},e.prototype.monthsOfTheYear=function(){return[`ianuarie`,`februarie`,`martie`,`aprilie`,`mai`,`iunie`,`iulie`,`august`,`septembrie`,`octombrie`,`noiembrie`,`decembrie`]},e.prototype.onTheHour=function(){return`fix la orÄ`},e}()},892(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ru=void 0;var n=function(e,t){var n=Number(e);return n===void 0?t[2]:t[n%100>4&&n%100<20?2:[2,0,1,1,1,2][n%10<5?Math.abs(n)%10:5]]},r=function(e,t){var n=Number(e);return n===void 0?t[1]:t[n===0?0:n===1||n===2||n===4?1:2]};t.ru=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`каждÑÑ Ð¼Ð¸Ð½ÑÑÑ`},e.prototype.everyHour=function(){return`каждÑй ÑаÑ`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ÐÑоизоÑла оÑибка во вÑÐµÐ¼Ñ Ð³ÐµÐ½ÐµÑаÑии опиÑÐ°Ð½Ð¸Ñ Ð²ÑÑажениÑ. ÐÑовеÑÑÑе ÑинÑакÑÐ¸Ñ ÐºÑон-вÑÑажениÑ.`},e.prototype.atSpace=function(){return`Ð `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`ÐаждÑÑ Ð¼Ð¸Ð½ÑÑÑ Ñ %s по %s`},e.prototype.at=function(){return`Ð`},e.prototype.spaceAnd=function(){return` и`},e.prototype.everySecond=function(){return`каждÑÑ ÑекÑндÑ`},e.prototype.everyX0Seconds=function(e){return n(e,[`каждÑÑ %s ÑекÑндÑ`,`каждÑе %s ÑекÑндÑ`,`каждÑе %s ÑекÑнд`])},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`ÑекÑÐ½Ð´Ñ Ñ %s по %s`},e.prototype.atX0SecondsPastTheMinute=function(e){return n(e,[`в %s ÑекÑндÑ`,`в %s ÑекÑндÑ`,`в %s ÑекÑнд`])},e.prototype.everyX0Minutes=function(e){return n(e,[`каждÑÑ %s минÑÑÑ`,`каждÑе %s минÑÑÑ`,`каждÑе %s минÑÑ`])},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`минÑÑÑ Ñ %s по %s`},e.prototype.atX0MinutesPastTheHour=function(e){return n(e,[`в %s минÑÑÑ`,`в %s минÑÑÑ`,`в %s минÑÑ`])},e.prototype.everyX0Hours=function(e){return n(e,[`каждÑй %s ÑаÑ`,`каждÑе %s ÑаÑа`,`каждÑе %s ÑаÑов`])},e.prototype.betweenX0AndX1=function(){return`Ñ %s по %s`},e.prototype.atX0=function(){return`в %s`},e.prototype.commaEveryDay=function(){return`, каждÑй денÑ`},e.prototype.commaEveryX0DaysOfTheWeek=function(e){return n(e,[`, каждÑй %s Ð´ÐµÐ½Ñ Ð½ÐµÐ´ÐµÐ»Ð¸`,`, каждÑе %s Ð´Ð½Ñ Ð½ÐµÐ´ÐµÐ»Ð¸`,`, каждÑе %s дней недели`])},e.prototype.commaX0ThroughX1=function(e){return e&&(e[0]==`2`||e[0]==`3`)?`, Ñо %s по %s`:`, Ñ %s по %s`},e.prototype.commaAndX0ThroughX1=function(e){return e&&(e[0]==`2`||e[0]==`3`)?` и Ñо %s по %s`:` и Ñ %s по %s`},e.prototype.first=function(e){return r(e,[`пеÑвое`,`пеÑвÑй`,`пеÑвÑÑ`])},e.prototype.second=function(e){return r(e,[`вÑоÑое`,`вÑоÑой`,`вÑоÑÑÑ`])},e.prototype.third=function(e){return r(e,[`ÑÑеÑÑе`,`ÑÑеÑий`,`ÑÑеÑÑÑ`])},e.prototype.fourth=function(e){return r(e,[`ÑеÑвеÑÑое`,`ÑеÑвеÑÑÑй`,`ÑеÑвеÑÑÑÑ`])},e.prototype.fifth=function(e){return r(e,[`пÑÑое`,`пÑÑÑй`,`пÑÑÑÑ`])},e.prototype.commaOnThe=function(e){return e===`2`?`, во `:`, в `},e.prototype.spaceX0OfTheMonth=function(){return` %s меÑÑÑа`},e.prototype.lastDay=function(){return`поÑледний денÑ`},e.prototype.commaOnTheLastX0OfTheMonth=function(e){return r(e,[`, в поÑледнее %s меÑÑÑа`,`, в поÑледний %s меÑÑÑа`,`, в поÑледнÑÑ %s меÑÑÑа`])},e.prototype.commaOnlyOnX0=function(e){return e&&e[0]===`2`?`, ÑолÑко во %s`:`, ÑолÑко в %s`},e.prototype.commaAndOnX0=function(){return`, и %s`},e.prototype.commaEveryX0Months=function(e){return n(e,[``,` каждÑе %s меÑÑÑа`,` каждÑе %s меÑÑÑев`])},e.prototype.commaOnlyInMonthX0=function(){return`, ÑолÑко %s`},e.prototype.commaOnlyInX0=function(){return`, ÑолÑко в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в поÑледний Ð´ÐµÐ½Ñ Ð¼ÐµÑÑÑа`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в поÑледний бÑдний Ð´ÐµÐ½Ñ Ð¼ÐµÑÑÑа`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(e){return n(e,[`, за %s Ð´ÐµÐ½Ñ Ð´Ð¾ Ð
339ºÐ¾Ð½Ñа меÑÑÑа`,`, за %s Ð´Ð½Ñ Ð´Ð¾ конÑа меÑÑÑа`,`, за %s дней до конÑа меÑÑÑа`])},e.prototype.firstWeekday=function(){return`пеÑвÑй бÑдний денÑ`},e.prototype.weekdayNearestDayX0=function(){return`ближайÑий бÑдний Ð´ÐµÐ½Ñ Ðº %s ÑиÑлÑ`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, в %s меÑÑÑа`},e.prototype.commaEveryX0Days=function(e){return n(e,[`, каждÑй %s денÑ`,`, каждÑе %s днÑ`,`, каждÑе %s дней`])},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(e){return e&&e.substring(0,e.indexOf(`-`))==`2`?`, Ñо %s по %s ÑиÑло меÑÑÑа`:`, Ñ %s по %s ÑиÑло меÑÑÑа`},e.prototype.commaOnDayX0OfTheMonth=function(e){return e&&e[0]==`2`?`, во %s ÑиÑло меÑÑÑа`:`, в %s ÑиÑло меÑÑÑа`},e.prototype.commaEveryX0Years=function(e){return n(e,[`, каждÑй %s год`,`, каждÑе %s года`,`, каждÑе %s леÑ`])},e.prototype.commaStartingX0=function(){return`, наÑало %s`},e.prototype.daysOfTheWeek=function(){return[`воÑкÑеÑенÑе`,`понеделÑник`,`вÑоÑник`,`ÑÑеда`,`ÑеÑвеÑг`,`пÑÑниÑа`,`ÑÑббоÑа`]},e.prototype.daysOfTheWeekInCase=function(e){return e===void 0&&(e=2),e==1?[`воÑкÑеÑенÑÑ`,`понеделÑника`,`вÑоÑника`,`ÑÑедÑ`,`ÑеÑвеÑга`,`пÑÑниÑÑ`,`ÑÑббоÑÑ`]:[`воÑкÑеÑенÑе`,`понеделÑник`,`вÑоÑник`,`ÑÑедÑ`,`ÑеÑвеÑг`,`пÑÑниÑÑ`,`ÑÑббоÑÑ`]},e.prototype.monthsOfTheYear=function(){return[`ÑнваÑÑ`,`ÑевÑалÑ`,`маÑÑ`,`апÑелÑ`,`май`,`иÑнÑ`,`иÑлÑ`,`авгÑÑÑ`,`ÑенÑÑбÑÑ`,`окÑÑбÑÑ`,`ноÑбÑÑ`,`декабÑÑ`]},e.prototype.monthsOfTheYearInCase=function(e){return e==1?[`ÑнваÑÑ`,`ÑевÑалÑ`,`маÑÑа`,`апÑелÑ`,`маÑ`,`иÑнÑ`,`иÑлÑ`,`авгÑÑÑа`,`ÑенÑÑбÑÑ`,`окÑÑбÑÑ`,`ноÑбÑÑ`,`декабÑÑ`]:this.monthsOfTheYear()},e.prototype.onTheHour=function(){return`Ñовно в ÑаÑ`},e}()},923(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sk=void 0,t.sk=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Pri vytváranà popisu doÅ¡lo k chybe. Skontrolujte prosÃm správnosÅ¥ syntaxe cronu.`},e.prototype.everyMinute=function(){return`každú minútu`},e.prototype.everyHour=function(){return`každú hodinu`},e.prototype.atSpace=function(){return`V `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Každú minútu medzi %s a %s`},e.prototype.at=function(){return`V`},e.prototype.spaceAnd=function(){return` a`},e.prototype.everySecond=function(){return`každú sekundu`},e.prototype.everyX0Seconds=function(){return`každých %s sekúnd`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekundy od %s do %s`},e.prototype.atX0SecondsPastTheMinute=function(){return`v %s sekúnd`},e.prototype.everyX0Minutes=function(){return`každých %s minút`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minúty od %s do %s`},e.prototype.atX0MinutesPastTheHour=function(){return`v %s minút`},e.prototype.everyX0Hours=function(){return`každých %s hodÃn`},e.prototype.betweenX0AndX1=function(){return`medzi %s a %s`},e.prototype.atX0=function(){return`v %s`},e.prototype.commaEveryDay=function(){return`, každý deÅ`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, každých %s dnà v týždni`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, a od %s do %s`},e.prototype.first=function(){return`prvý`},e.prototype.second=function(){return`druhý`},e.prototype.third=function(){return`tretÃ`},e.prototype.fourth=function(){return`Å¡tvrtý`},e.prototype.fifth=function(){return`piaty`},e.prototype.commaOnThe=function(){return`, `},e.prototype.spaceX0OfTheMonth=function(){return` %s v mesiaci`},e.prototype.lastDay=function(){return`posledný deÅ`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, posledný %s v mesiaci`},e.prototype.commaOnlyOnX0=function(){return`, iba v %s`},e.prototype.commaAndOnX0=function(){return`, a v %s`},e.prototype.commaEveryX0Months=function(){return`, každých %s mesiacov`},e.prototype.commaOnlyInX0=function(){return`, iba v %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, posledný deÅ v mesiaci`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, posledný pracovný deÅ v mesiaci`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dnà pred posledným dÅom v mesiaci`},e.prototype.firstWeekday=function(){return`prvý pracovný deÅ`},e.prototype.weekdayNearestDayX0=function(){return`pracovný deÅ najbližšie %s. dÅu`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, v %s v mesiaci`},e.prototype.commaEveryX0Days=function(){return`, každých %s dnÃ`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, medzi dÅami %s a %s v mesiaci`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s. deÅ v mesiaci`},e.prototype.commaEveryX0Years=function(){return`, každých %s rokov`},e.prototype.commaStartingX0=function(){return`, zaÄÃnajúcich %s`},e.prototype.daysOfTheWeek=function(){return[`Nedeľa`,`Pondelok`,`Utorok`,`Streda`,`Å tvrtok`,`Piatok`,`Sobota`]}
339,e.prototype.monthsOfTheYear=function(){return[`Január`,`Február`,`Marec`,`AprÃl`,`Máj`,`Jún`,`Júl`,`August`,`September`,`Október`,`November`,`December`]},e.prototype.onTheHour=function(){return`o celú hodinu`},e}()},474(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sl=void 0,t.sl=function(){function e(){}return e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Pri generiranju opisa izraza je priÅ¡lo do napake. Preverite sintakso izraza cron.`},e.prototype.at=function(){return`Ob`},e.prototype.atSpace=function(){return`Ob `},e.prototype.atX0=function(){return`ob %s`},e.prototype.atX0MinutesPastTheHour=function(){return`ob %s.`},e.prototype.atX0SecondsPastTheMinute=function(){return`ob %s.`},e.prototype.betweenX0AndX1=function(){return`od %s do %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, od %s. do %s. dne v mesecu`},e.prototype.commaEveryDay=function(){return`, vsak dan`},e.prototype.commaEveryX0Days=function(){return`, vsakih %s dni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, vsakih %s dni v tednu`},e.prototype.commaEveryX0Months=function(){return`, vsakih %s mesecev`},e.prototype.commaEveryX0Years=function(){return`, vsakih %s let`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s. dan v mesecu`},e.prototype.commaOnlyInX0=function(){return`, samo v %s`},e.prototype.commaOnlyOnX0=function(){return`, samo v %s`},e.prototype.commaAndOnX0=function(){return`in naprej %s`},e.prototype.commaOnThe=function(){return`, `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, zadnji dan v mesecu`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, zadnji delovni dan v mesecu`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dni pred koncem meseca`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, zadnji %s v mesecu`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, %s v mesecu`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, in od %s do %s`},e.prototype.everyHour=function(){return`vsako uro`},e.prototype.everyMinute=function(){return`vsako minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Vsako minuto od %s do %s`},e.prototype.everySecond=function(){return`vsako sekundo`},e.prototype.everyX0Hours=function(){return`vsakih %s ur`},e.prototype.everyX0Minutes=function(){return`vsakih %s minut`},e.prototype.everyX0Seconds=function(){return`vsakih %s sekund`},e.prototype.fifth=function(){return`peti`},e.prototype.first=function(){return`prvi`},e.prototype.firstWeekday=function(){return`prvi delovni dan`},e.prototype.fourth=function(){return`Äetrti`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minute od %s do %s`},e.prototype.second=function(){return`drugi`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekunde od %s do %s`},e.prototype.spaceAnd=function(){return` in`},e.prototype.spaceX0OfTheMonth=function(){return` %s v mesecu`},e.prototype.lastDay=function(){return`zadnjiÄ`},e.prototype.third=function(){return`tretji`},e.prototype.weekdayNearestDayX0=function(){return`delovni dan, najbližji %s. dnevu`},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.commaStartingX0=function(){return`, zaÄenÅ¡i %s`},e.prototype.daysOfTheWeek=function(){return[`Nedelja`,`Ponedeljek`,`Torek`,`Sreda`,`Äetrtek`,`Petek`,`Sobota`]},e.prototype.monthsOfTheYear=function(){return[`januar`,`februar`,`marec`,`april`,`maj`,`junij`,`julij`,`avgust`,`september`,`oktober`,`november`,`december`]},e.prototype.onTheHour=function(){return`ob toÄni uri`},e}()},716(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sr=void 0,t.sr=function(){function e(){}return e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`DoÅ¡lo je do greÅ¡ke pri generisanju izraza. Proverite sintaksu cron izraza.`},e.prototype.at=function(){return`U`},e.prototype.atSpace=function(){return`U `},e.prototype.atX0=function(){return`u %s`},e.prototype.atX0MinutesPastTheHour=function(){return`u %s minuta posle punog sata`},e.prototype.atX0SecondsPastTheMinute=function(){return`u %s sekundi posle pune minute`},e.prototype.betweenX0AndX1=function(){return`izmeÄu %s i %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, izmeÄu %s. i %s. dana u mesecu`},e.prototype.commaEveryDay=function(){return`, svaki dan`},e.prototype.commaEveryX0Days=function(){return`, svakih %s dana`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, svakih %s dana u nedelji`},e.prototype.commaEveryX0Months=function(){return`, svakih %s meseci`},e.prototype.commaEveryX0Years=function(){return`, svakih %s godina`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s. dan u mesecu`},e.prototype.commaOnlyInX0=function(){return`, samo u %s`},e.prototype.commaOnlyOnX0=function(){return`, samo %s`},e.prototype.commaAndOnX0=function(){return`, i %s`},e.prototype.commaOnThe=function(){return`, `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, poslednjeg dana u mesecu`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, poslednjeg radnog dana u mesecu`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dana pre kraja meseca`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, poslednji %s u mesecu`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, %s u mesecu`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, i od %s do %s`},e.prototype.everyHour=function(){return`svaki sat`},e.prototype.everyMinute=function(){return`svakog minuta`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Svakog minuta izmeÄu %s i %s`},e.prototype.everySecond=function(){return`svake sekunde`},e.prototype.everyX0Hours=function(){return`svakih %s sati`},e.prototype.everyX0Minutes=function(){return`svakih %s minuta`},e.prototype.everyX0Seconds=function(){return`svakih %s sekundi`},e.prototype.fifth=function(){return`peti`},e.prototype.first=function(){return`prvi`},e.prototype.firstWeekday=function(){return`prvi radni dan`},e.prototype.fourth=function(){return`Äetvrti`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minute od %s do %s posle punog sata`},e.prototype.second=function(){return`drugi`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekunde od %s do %s posle pune minute`},e.prototype.spaceAnd=function(){return` i`},e.prototype.spaceX0OfTheMonth=function(){return` %s u mesecu`},e.prototype.lastDay=function(){return`poslednji dan`},e.prototype.third=function(){return`treÄi`},e.prototype.weekdayNearestDayX0=function(){return`radni dan najbliži %s. danu`},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.commaStartingX0=function(){return`, poÄevÅ¡i od %s`},e.prototype.daysOfTheWeek=function(){return[`Nedelja`,`Ponedeljak`,`Utorak`,`Sreda`,`Äetvrtak`,`Petak`,`Subota`]},e.prototype.monthsOfTheYear=function(){return[`januar`,`februar`,`mart`,`april`,`maj`,`jun`,`jul`,`avgust`,`septembar`,`oktobar`,`novembar`,`decembar`]},e.prototype.onTheHour=function(){return`u pun sat`},e}()}
339,544(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sv=void 0,t.sv=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ett fel inträffade vid generering av uttryckets beskrivning. Kontrollera cron-uttryckets syntax.`},e.prototype.everyMinute=function(){return`varje minut`},e.prototype.everyHour=function(){return`varje timme`},e.prototype.atSpace=function(){return`Kl `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Varje minut mellan %s och %s`},e.prototype.at=function(){return`Kl`},e.prototype.spaceAnd=function(){return` och`},e.prototype.everySecond=function(){return`varje sekund`},e.prototype.everyX0Seconds=function(){return`varje %s sekund`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekunderna från %s till och med %s efter minuten`},e.prototype.atX0SecondsPastTheMinute=function(){return`på %s sekunder efter minuten`},e.prototype.everyX0Minutes=function(){return`var %s minut`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuterna från %s till och med %s efter timmen`},e.prototype.atX0MinutesPastTheHour=function(){return`på %s minuten efter timmen`},e.prototype.everyX0Hours=function(){return`var %s timme`},e.prototype.betweenX0AndX1=function(){return`mellan %s och %s`},e.prototype.atX0=function(){return`kl %s`},e.prototype.commaEveryDay=function(){return`, varje dag`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, var %s dag i veckan`},e.prototype.commaX0ThroughX1=function(){return`, %s till %s`},e.prototype.commaAndX0ThroughX1=function(){return`, och %s till %s`},e.prototype.first=function(){return`första`},e.prototype.second=function(){return`andra`},e.prototype.third=function(){return`tredje`},e.prototype.fourth=function(){return`fjärde`},e.prototype.fifth=function(){return`femte`},e.prototype.commaOnThe=function(){return`, den `},e.prototype.spaceX0OfTheMonth=function(){return` %sen av månaden`},e.prototype.lastDay=function(){return`den sista dagen`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, på sista %s av månaden`},e.prototype.commaOnlyOnX0=function(){return`, varje %s`},e.prototype.commaAndOnX0=function(){return`, och på %s`},e.prototype.commaEveryX0Months=function(){return`, var %s månad`},e.prototype.commaOnlyInX0=function(){return`, bara på %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, på sista dagen av månaden`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, på sista veckodag av månaden`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dagar före den sista dagen i månaden`},e.prototype.firstWeekday=function(){return`första veckodag`},e.prototype.weekdayNearestDayX0=function(){return`veckodagen närmast dag %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, på den %s av månaden`},e.prototype.commaEveryX0Days=function(){return`, var %s dag`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, mellan dag %s och %s av månaden`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, på dag %s av månaden`},e.prototype.commaEveryX0Years=function(){return`, var %s år`},e.prototype.commaStartingX0=function(){return`, startar %s`},e.prototype.daysOfTheWeek=function(){return[`söndag`,`måndag`,`tisdag`,`onsdag`,`torsdag`,`fredag`,`lördag`]},e.prototype.monthsOfTheYear=function(){return[`januari`,`februari`,`mars`,`april`,`maj`,`juni`,`juli`,`augusti`,`september`,`oktober`,`november`,`december`]},e.prototype.onTheHour=function(){return`på heltimmen`},e}()},799(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sw=void 0,t.sw=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Kuna tatizo wakati wa kutunga msemo. Angalia cron expression syntax.`},e.prototype.everyMinute=function(){return`kila dakika`},e.prototype.everyHour=function(){return`kila saa`},e.prototype.atSpace=function(){return`Kwa `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Kila dakika kwanzia %s hadi %s`},e.prototype.at=function(){return`Kwa`},e.prototype.spaceAnd=function(){return` na`},e.prototype.everySecond=function(){return`kila sekunde`},e.prototype.everyX0Seconds=function(){return`kila sekunde %s`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekunde ya %s hadi %s baada ya dakika`},e.prototype.atX0SecondsPastTheMinute=function(){return`sekunde %s baada ya dakika`},e.prototype.everyX0Minutes=function(){return`kila dakika %s`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutes %s through %s past the hour`},e.prototype.atX0MinutesPastTheHour=function(){return`at %s minutes past the hour`},e.prototype.everyX0Hours=function(){return`every %s hours`},e.prototype.betweenX0AndX1=function(){return`kati ya %s na %s`},e.prototype.atX0=function(){return`kwenye %s`},e.prototype.commaEveryDay=function(){return`, kila siku`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, kila siku %s ya wiki`},e.prototype.commaX0ThroughX1=function(){return`, %s hadi %s`},e.prototype.commaAndX0ThroughX1=function(){return`, na %s hadi %s`},e.prototype.first=function(){return`ya kwanza`},e.prototype.second=function(){return`ya pili`},e.prototype.third=function(){return`ya tatu`},e.prototype.fourth=function(){return`ya nne`},e.prototype.fifth=function(){return`ya tano`},e.prototype.commaOnThe=function(){return`, kwenye `},e.prototype.spaceX0OfTheMonth=function(){return` siku %s ya mwezi`},e.prototype.lastDay=function(){return`siku ya mwisho`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, siku ya %s ya mwezi`},e.prototype.commaOnlyOnX0=function(){return`, kwa %s tu`},e.prototype.commaAndOnX0=function(){return`, na pia %s`},e.prototype.commaEveryX0Months=function(){return`, kila mwezi wa %s`},e.prototype.commaOnlyInX0=function(){return`, kwa %s tu`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, siku ya mwisho wa mwezi`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, wikendi ya mwisho wa mwezi`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, siku ya %s kabla ya siku ya mwisho wa mwezi`},e.prototype.firstWeekday=function(){return`siku za kazi ya kwanza`},e.prototype.weekdayNearestDayX0=function(){return`siku ya kazi karibu na siku ya %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, siku ya %s ya mwezi`},e.prototype.commaEveryX0Days=function(){return`, kila siku %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, kati ya siku %s na %s ya mwezi`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, siku ya %s ya mwezi`},e.prototype.commaEveryX0Years=function(){return`, kila miaka %s`},e.prototype.commaStartingX0=function(){return`, kwanzia %s`},e.prototype.daysOfTheWeek=function(){return[`Jumapili`,`Jumatatu`,`Jumanne`,`Jumatano`,`Alhamisi`,`Ijumaa`,`Jumamosi`]},e.prototype.monthsOfTheYear=function(){return[`Januari`,`Februari`,`Machi`,`Aprili`,`Mei`,`Juni`,`Julai`,`Agosti`,`Septemba`,`Oktoba`,`Novemba`,`Desemba`]},e.prototype.onTheHour=function(){return`saa kamili`},e}()}
339,33(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.th=void 0,t.th=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`à¹à¸à¸´à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¸à¸à¸°à¸ªà¸£à¹à¸²à¸à¸à¸³à¸à¸à¸´à¸à¸²à¸¢à¸à¸´à¸à¸à¸à¹ à¸à¸£à¸§à¸à¸ªà¸à¸à¹à¸§à¸¢à¸²à¸à¸£à¸à¹à¸à¸´à¸à¸à¸à¹à¸à¸£à¸à¸`},e.prototype.everyMinute=function(){return`à¸à¸¸à¸à¹ à¸à¸²à¸à¸µ`},e.prototype.everyHour=function(){return`à¸à¸¸à¸à¹ à¸à¸±à¹à¸§à¹à¸¡à¸`},e.prototype.atSpace=function(){return`à¹à¸¡à¸·à¹à¸ `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`à¸à¸¸à¸à¹ à¸à¸²à¸à¸µ %s à¹à¸¥à¸° %s`},e.prototype.at=function(){return`à¹à¸¡à¸·à¹à¸`},e.prototype.spaceAnd=function(){return` à¹à¸¥à¸°`},e.prototype.everySecond=function(){return`à¸à¸¸à¸à¹ วิà¸à¸²à¸à¸µ`},e.prototype.everyX0Seconds=function(){return`à¸à¸¸à¸à¹ %s วิà¸à¸²à¸à¸µ`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`วิà¸à¸²à¸à¸µ %s à¸à¸¶à¸ %s à¸à¸²à¸à¸µà¸à¸µà¹à¸à¹à¸²à¸à¸¡à¸²`},e.prototype.atX0SecondsPastTheMinute=function(){return`à¹à¸¡à¸·à¹à¸ %s วิà¸à¸²à¸à¸µ à¸à¸²à¸à¸µà¸à¸µà¹à¸à¹à¸²à¸à¸¡à¸²`},e.prototype.everyX0Minutes=function(){return`à¸à¸¸à¸à¹ %s à¸à¸²à¸à¸µ`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`à¸à¸²à¸à¸µ %s à¸à¸¶à¸ %s à¸à¸±à¹à¸§à¹à¸¡à¸à¸à¸µà¹à¸à¹à¸²à¸à¸¡à¸²`},e.prototype.atX0MinutesPastTheHour=function(){return`à¹à¸¡à¸·à¹à¸ %s à¸à¸²à¸à¸µ à¸à¸±à¹à¸§à¹à¸¡à¸à¸à¸µà¹à¸à¹à¸²à¸à¸¡à¸²`},e.prototype.everyX0Hours=function(){return`à¸à¸¸à¸à¹ %s à¸à¸±à¹à¸§à¹à¸¡à¸`},e.prototype.betweenX0AndX1=function(){return`ระหวà¹à¸²à¸ %s à¸à¸¶à¸ %s`},e.prototype.atX0=function(){return`à¹à¸¡à¸·à¹à¸ %s`},e.prototype.commaEveryDay=function(){return`, à¸à¸¸à¸à¹ วัà¸`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, à¸à¸¸à¸à¹ %s วัà¸à¸à¸à¸à¸ªà¸±à¸à¸à¸²à¸«à¹`},e.prototype.commaX0ThroughX1=function(){return`, %s à¸à¸¶à¸ %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s à¸à¸¶à¸ %s`},e.prototype.first=function(){return`à¹à¸£à¸`},e.prototype.second=function(){return`à¸à¸µà¹à¸ªà¸à¸`},e.prototype.third=function(){return`à¸à¸µà¹à¸ªà¸²à¸¡`},e.prototype.fourth=function(){return`à¸à¸µà¹à¸ªà¸µà¹`},e.prototype.fifth=function(){return`à¸à¸µà¹à¸«à¹à¸²`},e.prototype.commaOnThe=function(){return`, à¹à¸à¸§à¸±à¸ `},e.prototype.spaceX0OfTheMonth=function(){return` %s à¸à¸à¸à¹à¸à¸·à¸à¸`},e.prototype.lastDay=function(){return`วัà¸à¸ªà¸¸à¸à¸à¹à¸²à¸¢`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, ภสุà¸à¸à¹à¸²à¸¢ %s à¸à¸à¸à¹à¸à¸·à¸à¸`},e.prototype.commaOnlyOnX0=function(){return`, à¹à¸à¹à¸²à¸à¸±à¹à¸ %s`},e.prototype.commaAndOnX0=function(){return`, à¹à¸¥à¸°à¹à¸ %s`},e.prototype.commaEveryX0Months=function(){return`, à¸à¸¸à¸à¹ %s à¹à¸à¸·à¸à¸`},e.prototype.commaOnlyInX0=function(){return`, à¹à¸à¹à¸²à¸à¸±à¹à¸ %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, à¹à¸à¸§à¸±à¸à¸ªà¸´à¹à¸à¹à¸à¸·à¸à¸`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, à¹à¸à¸§à¸±à¸à¸à¸£à¸£à¸¡à¸à¸²à¸ªà¸¸à¸à¸à¹à¸²à¸¢à¸à¸à¸à¹à¸à¸·à¸à¸`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s วัà¸à¸à¹à¸à¸à¸§à¸±à¸à¸ªà¸¸à¸à¸à¹à¸²à¸¢à¸à¸à¸à¹à¸à¸·à¸à¸`},e.prototype.firstWeekday=function(){return`วัà¸à¸à¸£à¸£à¸¡à¸à¸²à¸§à¸±à¸à¹à¸£à¸`},e.prototype.weekdayNearestDayX0=function(){return`วัà¸à¸à¸£à¸£à¸¡à¸à¸²à¸à¸µà¹à¹à¸à¸¥à¹à¸à¸µà¹à¸ªà¸¸à¸ %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, à¹à¸à¸§à¸±à¸ %s à¸à¸à¸à¹à¸à¸·à¸à¸`},e.prototype.commaEveryX0Days=function(){return`, à¸à¸¸à¸à¹ %s วัà¸`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, ระหวà¹à¸²à¸à¸§à¸±à¸ %s à¹à¸¥à¸° %s à¸à¸à¸à¹à¸à¸·à¸à¸`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, à¹à¸à¸§à¸±à¸ %s à¸à¸à¸à¹à¸à¸·à¸à¸`},e.prototype.commaEveryHour=function(){return`, à¸à¸¸à¸à¹ à¸à¸±à¹à¸§à¹à¸¡à¸`},e.prototype.commaEveryX0Years=function(){return`, à¸à¸¸à¸à¹ %s à¸à¸µ`},e.prototype.commaStartingX0=function(){return`, à¹à¸£à¸´à¹à¸¡ %s`},e.prototype.daysOfTheWeek=function(){return[`วัà¸à¸à¸²à¸à¸´à¸à¸¢à¹`,`วัà¸à¸à¸±à¸à¸à¸£à¹`,`วัà¸à¸à¸±à¸à¸à¸²à¸£`,`วัà¸à¸à¸¸à¸`,`วัà¸à¸à¸¤à¸«à¸±à¸ªà¸à¸à¸µ`,`วัà¸à¸¨à¸¸à¸à¸£à¹`,`วัà¸à¹à¸ªà¸²à¸£à¹`]},e.prototype.monthsOfTheYear=function(){return[`มà¸à¸£à¸²à¸à¸¡`,`à¸à¸¸à¸¡à¸ าà¸à¸±à¸à¸à¹`,`มีà¸à¸²à¸à¸¡`,`à¹à¸¡à¸©à¸²à¸¢à¸`,`à¸à¸¤à¸©à¸ าà¸à¸¡`,`มิà¸à¸¸à¸à¸²à¸¢à¸`,`à¸à¸£à¸à¸à¸²à¸à¸¡`,`สิà¸à¸«à¸²à¸à¸¡`,`à¸à¸±à¸à¸¢à¸²à¸¢à¸`,`à¸à¸¸à¸¥à¸²à¸à¸¡`,`à¸à¸¤à¸¨à¸à¸´à¸à¸²à¸¢à¸`,`à¸à¸±à¸à¸§à¸²à¸à¸¡`]},e.prototype.onTheHour=function(){return`à¸à¸£à¸à¸à¸±à¹à¸§à¹à¸¡à¸`},e}()}
339,631(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.tr=void 0,t.tr=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`her dakika`},e.prototype.everyHour=function(){return`her saat`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`İfade açıklamasını oluÅtururken bir hata oluÅtu. Cron ifadesini gözden geçirin.`},e.prototype.atSpace=function(){return`Saat `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Saat %s ve %s arasındaki her dakika`},e.prototype.at=function(){return`Saat`},e.prototype.spaceAnd=function(){return` ve`},e.prototype.everySecond=function(){return`her saniye`},e.prototype.everyX0Seconds=function(){return`her %s saniyede bir`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`dakikaların %s. ve %s. saniyeleri arası`},e.prototype.atX0SecondsPastTheMinute=function(){return`dakikaların %s. saniyesinde`},e.prototype.everyX0Minutes=function(){return`her %s dakikada bir`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`saatlerin %s. ve %s. dakikaları arası`},e.prototype.atX0MinutesPastTheHour=function(){return`saatlerin %s. dakikasında`},e.prototype.everyX0Hours=function(){return`her %s saatte`},e.prototype.betweenX0AndX1=function(){return`%s ile %s arasında`},e.prototype.atX0=function(){return`saat %s`},e.prototype.commaEveryDay=function(){return`, her gün`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, ayın her %s günü`},e.prototype.commaX0ThroughX1=function(){return`, %s ile %s arasında`},e.prototype.commaAndX0ThroughX1=function(){return`, ve %s ile %s arasında`},e.prototype.first=function(){return`ilk`},e.prototype.second=function(){return`ikinci`},e.prototype.third=function(){return`üçüncü`},e.prototype.fourth=function(){return`dördüncü`},e.prototype.fifth=function(){return`beÅinci`},e.prototype.commaOnThe=function(){return`, ayın `},e.prototype.spaceX0OfTheMonth=function(){return` %s günü`},e.prototype.lastDay=function(){return`son gün`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, ayın son %s günü`},e.prototype.commaOnlyOnX0=function(){return`, sadece %s günü`},e.prototype.commaAndOnX0=function(){return`, ve %s`},e.prototype.commaEveryX0Months=function(){return`, %s ayda bir`},e.prototype.commaOnlyInX0=function(){return`, sadece %s için`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, ayın son günü`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, ayın son iÅ günü`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s ayın son gününden önceki günler`},e.prototype.firstWeekday=function(){return`ilk iÅ günü`},e.prototype.weekdayNearestDayX0=function(){return`%s. günü sonrasındaki ilk iÅ günü`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, ayın %s`},e.prototype.commaEveryX0Days=function(){return`, %s günde bir`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, ayın %s. ve %s. günleri arası`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, ayın %s. günü`},e.prototype.commaEveryX0Years=function(){return`, %s yılda bir`},e.prototype.commaStartingX0=function(){return`, baÅlangıç %s`},e.prototype.daysOfTheWeek=function(){return[`Pazar`,`Pazartesi`,`Salı`,`ÃarÅamba`,`PerÅembe`,`Cuma`,`Cumartesi`]},e.prototype.monthsOfTheYear=function(){return[`Ocak`,`Åubat`,`Mart`,`Nisan`,`Mayıs`,`Haziran`,`Temmuz`,`AÄustos`,`Eylül`,`Ekim`,`Kasım`,`Aralık`]},e.prototype.onTheHour=function(){return`saatin baÅında`},e}()},225(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.uk=void 0,t.uk=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`ÑоÑ
вилини`},e.prototype.everyHour=function(){return`Ñогодини`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ÐÐдбÑлаÑÑ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° пÑдÑÐ°Ñ Ð³ÐµÐ½ÐµÑаÑÑÑ Ð¾Ð¿Ð¸ÑÑ. ÐеÑевÑÑÑа пÑавилÑнÑÑÑÑ Ð½Ð°Ð¿Ð¸ÑÐ°Ð½Ð½Ñ cron виÑазÑ.`},e.prototype.atSpace=function(){return`Ð `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`ЩоÑ
вилини мÑж %s Ñа %s`},e.prototype.at=function(){return`Ð`},e.prototype.spaceAnd=function(){return` Ñа`},e.prototype.everySecond=function(){return`ЩоÑекÑнди`},e.prototype.everyX0Seconds=function(){return`ÐºÐ¾Ð¶Ð½Ñ %s ÑекÑнд`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`з %s по %s ÑекÑндÑ`},e.prototype.atX0SecondsPastTheMinute=function(){return`о %s ÑекÑндÑ`},e.prototype.everyX0Minutes=function(){return`ÐºÐ¾Ð¶Ð½Ñ %s Ñ
вилин`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`з %s по %s Ñ
вилинÑ`},e.prototype.atX0MinutesPastTheHour=function(){return`о %s Ñ
вилинÑ`},e.prototype.everyX0Hours=function(){return`ÐºÐ¾Ð¶Ð½Ñ %s годин`},e.prototype.betweenX0AndX1=function(){return`мÑж %s Ñа %s`},e.prototype.atX0=function(){return`о %s`},e.prototype.commaEveryDay=function(){return`, Ñоденно`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, кожен %s Ð´ÐµÐ½Ñ ÑижнÑ`},e.prototype.commaX0ThroughX1=function(){return`, %s по %s`},e.prototype.commaAndX0ThroughX1=function(){return`, Ñа %s по %s`},e.prototype.first=function(){return`пеÑÑий`},e.prototype.second=function(){return`дÑÑгий`},e.prototype.third=function(){return`ÑÑеÑÑй`},e.prototype.fourth=function(){return`ÑеÑвеÑÑий`},e.prototype.fifth=function(){return`п'ÑÑий`},e.prototype.commaOnThe=function(){return`, в `},e.prototype.spaceX0OfTheMonth=function(){return` %s мÑÑÑÑÑ`},e.prototype.lastDay=function(){return`оÑÑаннÑй денÑ`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, в оÑÑаннÑй %s мÑÑÑÑÑ`},e.prototype.commaOnlyOnX0=function(){return`, ÑÑлÑки в %s`},e.prototype.commaAndOnX0=function(){return`, Ñ Ð² %s`},e.prototype.commaEveryX0Months=function(){return`, кожен %s мÑÑÑÑÑ`},e.prototype.commaOnlyInX0=function(){return`, ÑÑлÑки в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в оÑÑаннÑй Ð´ÐµÐ½Ñ Ð¼ÑÑÑÑÑ`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в оÑÑаннÑй бÑÐ´ÐµÐ½Ñ Ð¼ÑÑÑÑÑ`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s днÑв до оÑÑаннÑого Ð´Ð½Ñ Ð¼ÑÑÑÑÑ`},e.prototype.firstWeekday=function(){return`пеÑÑий бÑденÑ`},e.prototype.weekdayNearestDayX0=function(){return`бÑÐ´ÐµÐ½Ñ Ð½Ð°Ð¹Ð±Ð»Ð¸Ð¶Ñий до %s днÑ`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, в %s мÑÑÑÑÑ`},e.prototype.commaEveryX0Days=function(){return`, кожен %s денÑ`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, мÑж %s Ñа %s днÑми мÑÑÑÑÑ`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, на %s Ð´ÐµÐ½Ñ Ð¼ÑÑÑÑÑ`},e.prototype.commaEveryX0Years=function(){return`, ÐºÐ¾Ð¶Ð½Ñ %s Ñоки`},e.prototype.commaStartingX0=function(){return`, поÑаÑок %s`},e.prototype.daysOfTheWeek=function(){return[`недÑлÑ`,`понедÑлок`,`вÑвÑоÑок`,`ÑеÑеда`,`ÑеÑвеÑ`,`п'ÑÑниÑÑ`,`ÑÑбоÑа`]},e.prototype.monthsOfTheYear=function(){return[`ÑÑÑенÑ`,`лÑÑий`,`беÑезенÑ`,`квÑÑенÑ`,`ÑÑавенÑ`,`ÑеÑвенÑ`,`липенÑ`,`ÑеÑпенÑ`,`веÑеÑенÑ`,`жовÑенÑ`,`лиÑÑопад`,`гÑÑденÑ`]},e.prototype.onTheHour=function(){return`ÑÑвно о годинÑ`},e}()}
339,292(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.vi=void 0,t.vi=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Äã xảy ra lá»i khi tạo mô tả biá»u thức. Vui lòng kiá»m tra cú pháp biá»u thức cron.`},e.prototype.everyMinute=function(){return`má»i phút`},e.prototype.everyHour=function(){return`má»i giá»`},e.prototype.atSpace=function(){return`Và o `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Má»i phút giữa %s and %s`},e.prototype.at=function(){return`Và o`},e.prototype.spaceAnd=function(){return` và `},e.prototype.everySecond=function(){return`má»i giây`},e.prototype.everyX0Seconds=function(){return`má»i %s giây`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`giây thứ %s qua phút thứ %s`},e.prototype.atX0SecondsPastTheMinute=function(){return`tại giây thứ %s cá»§a má»i phút`},e.prototype.everyX0Minutes=function(){return`má»i %s phút`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`phút thứ %s qua %s tiếng`},e.prototype.atX0MinutesPastTheHour=function(){return`và o %s phút cá»§a má»i tiếng`},e.prototype.everyX0Hours=function(){return`má»i %s tiếng`},e.prototype.betweenX0AndX1=function(){return`giữa %s và %s`},e.prototype.atX0=function(){return`và o %s`},e.prototype.commaEveryDay=function(){return`, má»i ngà y`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, má»i %s ngà y trong tuần`},e.prototype.commaX0ThroughX1=function(){return`, %s Äến %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s Äến %s`},e.prototype.first=function(){return`Äầu tiên`},e.prototype.second=function(){return`thứ 2`},e.prototype.third=function(){return`thứ 3`},e.prototype.fourth=function(){return`thứ 4`},e.prototype.fifth=function(){return`thứ 5`},e.prototype.commaOnThe=function(){return`, trên `},e.prototype.spaceX0OfTheMonth=function(){return` %s cá»§a tháng`},e.prototype.lastDay=function(){return`ngà y cuá»i cùng`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, và o ngà y %s cuá»i cùng cá»§a tháng`},e.prototype.commaOnlyOnX0=function(){return`, chá» trên %s`},e.prototype.commaAndOnX0=function(){return`, và hÆ¡n %s`},e.prototype.commaEveryX0Months=function(){return`, má»i ngà y %s tháng`},e.prototype.commaOnlyInX0=function(){return`, chá» trong %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, và o ngà y cuá»i cùng cá»§a tháng`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, và o ngà y cuá»i tuần cá»§a tháng`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s ngà y trưá»c ngà y cuá»i cùng cá»§a tháng`},e.prototype.firstWeekday=function(){return`ngà y Äầu tuần`},e.prototype.weekdayNearestDayX0=function(){return`ngà y trong tuần ngà y gần nhất %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, và o ngà y %s cá»§a tháng`},e.prototype.commaEveryX0Days=function(){return`, má»i %s ngà y`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, giữa ngà y %s và %s trong tháng`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, và o %s ngà y trong tháng`},e.prototype.commaEveryHour=function(){return`, má»i tiếng`},e.prototype.commaEveryX0Years=function(){return`, má»i %s nÄm`},e.prototype.commaStartingX0=function(){return`, bắt Äầu %s`},e.prototype.daysOfTheWeek=function(){return[`Chá»§ nháºt`,`Thứ 2`,`Thứ 3`,`Thứ 4`,`Thứ 5`,`Thứ 6`,`Thứ 7`]},e.prototype.monthsOfTheYear=function(){return[`Tháng 1`,`Tháng 2`,`Tháng 3`,`Tháng 4`,`Tháng 5`,`Tháng 6`,`Tháng 7`,`Tháng 8`,`Tháng 9`,`Tháng 10`,`Tháng 11`,`Tháng 12`]},e.prototype.onTheHour=function(){return`Äúng giá»`},e}()}
339,571(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.zh_CN=void 0,t.zh_CN=function(){function e(){}return e.prototype.setPeriodBeforeTime=function(){return!0},e.prototype.pm=function(){return`ä¸å`},e.prototype.am=function(){return`ä¸å`},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return`, ä»%så¹´è³%så¹´`},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.everyMinute=function(){return`æ¯åé`},e.prototype.everyHour=function(){return`æ¯å°æ¶`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`çæè¡¨è¾¾å¼æè¿°æ¶åçäºé误ï¼è¯·æ£æ¥cron表达å¼è¯æ³ã`},e.prototype.atSpace=function(){return`å¨`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`å¨ %s è³ %s ä¹é´çæ¯åé`},e.prototype.at=function(){return`å¨`},e.prototype.spaceAnd=function(){return` å`},e.prototype.everySecond=function(){return`æ¯ç§`},e.prototype.everyX0Seconds=function(){return`æ¯é %s ç§`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`å¨ä¸åéåç第 %s å° %s ç§`},e.prototype.atX0SecondsPastTheMinute=function(){return`å¨ä¸åéåç第 %s ç§`},e.prototype.everyX0Minutes=function(){return`æ¯é %s åé`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`卿´ç¹åç第 %s å° %s åé`},e.prototype.atX0MinutesPastTheHour=function(){return`卿´ç¹åç第 %s åé`},e.prototype.everyX0Hours=function(){return`æ¯é %s å°æ¶`},e.prototype.betweenX0AndX1=function(){return`å¨ %s å %s ä¹é´`},e.prototype.atX0=function(){return`å¨%s`},e.prototype.commaEveryDay=function(){return`, æ¯å¤©`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, æ¯å¨çæ¯ %s 天`},e.prototype.commaX0ThroughX1=function(){return`, %sè³%s`},e.prototype.commaAndX0ThroughX1=function(){return`, å%sè³%s`},e.prototype.first=function(){return`第ä¸ä¸ª`},e.prototype.second=function(){return`第äºä¸ª`},e.prototype.third=function(){return`第ä¸ä¸ª`},e.prototype.fourth=function(){return`第å个`},e.prototype.fifth=function(){return`第äºä¸ª`},e.prototype.commaOnThe=function(){return`, 鿝æç`},e.prototype.spaceX0OfTheMonth=function(){return`%s`},e.prototype.lastDay=function(){return`æ¬ææåä¸å¤©`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, 鿝æçæåä¸ä¸ª%s`},e.prototype.commaOnlyOnX0=function(){return`, ä»
%s`},e.prototype.commaAndOnX0=function(){return`, æè
为%s`},e.prototype.commaEveryX0Months=function(){return`, æ¯é %s 个æ`},e.prototype.commaOnlyInX0=function(){return`, ä»
é%s`},e.prototype.commaOnlyInMonthX0=function(){return`, ä»
äº%s份`},e.prototype.commaOnlyInYearX0=function(){return`, ä»
äº %s å¹´`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, 鿝æçæåä¸å¤©`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, 鿝æçæåä¸ä¸ªå·¥ä½æ¥`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, 鿝ææå%s天`},e.prototype.firstWeekday=function(){return`第ä¸ä¸ªå·¥ä½æ¥`},e.prototype.weekdayNearestDayX0=function(){return`ææ¥è¿ %s å·ç工使¥`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, 鿝æç%s`},e.prototype.commaEveryX0Days=function(){return`, æ¯é %s 天`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, 鿝æç %s è³ %s ä¹é´`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, 鿝æ%s`},e.prototype.commaEveryX0Years=function(){return`, æ¯é %s å¹´`},e.prototype.commaStartingX0=function(){return`, %så¼å§`},e.prototype.dayX0=function(){return` %s å·`},e.prototype.daysOfTheWeek=function(){return[`æææ¥`,`ææä¸`,`ææäº`,`ææä¸`,`ææå`,`ææäº`,`ææå
`]},e.prototype.monthsOfTheYear=function(){return[`䏿`,`äºæ`,`䏿`,`åæ`,`äºæ`,`å
æ`,`䏿`,`å
«æ`,`乿`,`åæ`,`å䏿`,`åäºæ`]},e.prototype.onTheHour=function(){return`æ´ç¹`},e}()}
339,983(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.zh_TW=void 0,t.zh_TW=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return`, å¾ %s å¹´è³ %s å¹´`},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`æ¯åé`},e.prototype.everyHour=function(){return`æ¯å°æ`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ç¢ç表éå¼æè¿°æç¼çäºé¯èª¤ï¼è«æª¢æ¥ cron 表éå¼èªæ³ã`},e.prototype.atSpace=function(){return`å¨ `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`å¨ %s å %s ä¹éçæ¯åé`},e.prototype.at=function(){return`å¨`},e.prototype.spaceAnd=function(){return` å`},e.prototype.everySecond=function(){return`æ¯ç§`},e.prototype.everyX0Seconds=function(){return`æ¯ %s ç§`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`å¨ä¸åéå¾ç %s å° %s ç§`},e.prototype.atX0SecondsPastTheMinute=function(){return`å¨ä¸åéå¾ç %s ç§`},e.prototype.everyX0Minutes=function(){return`æ¯ %s åé`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`卿´é»å¾ç %s å° %s åé`},e.prototype.atX0MinutesPastTheHour=function(){return`卿´é»å¾ç %s å`},e.prototype.everyX0Hours=function(){return`æ¯ %s å°æ`},e.prototype.betweenX0AndX1=function(){return`å¨ %s å %s ä¹é`},e.prototype.atX0=function(){return`å¨ %s`},e.prototype.commaEveryDay=function(){return`, æ¯å¤©`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, æ¯é±çæ¯ %s 天`},e.prototype.commaX0ThroughX1=function(){return`, %s å° %s`},e.prototype.commaAndX0ThroughX1=function(){return`, å %s å° %s`},e.prototype.first=function(){return`第ä¸å`},e.prototype.second=function(){return`第äºå`},e.prototype.third=function(){return`第ä¸å`},e.prototype.fourth=function(){return`第åå`},e.prototype.fifth=function(){return`第äºå`},e.prototype.commaOnThe=function(){return`, 卿¯æ `},e.prototype.spaceX0OfTheMonth=function(){return`%s `},e.prototype.lastDay=function(){return`æå¾ä¸å¤©`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, æ¯æçæå¾ä¸å %s `},e.prototype.commaOnlyOnX0=function(){return`, å
å¨ %s`},e.prototype.commaAndOnX0=function(){return`, æ %s`},e.prototype.commaEveryX0Months=function(){return`, æ¯ %s æ`},e.prototype.commaOnlyInX0=function(){return`, å
å¨ %s`},e.prototype.commaOnlyInMonthX0=function(){return`, å
å¨ %s`},e.prototype.commaOnlyInYearX0=function(){return`, å
å¨ %s å¹´`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, æ¯æçæå¾ä¸å¤©`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, æ¯æçæå¾ä¸å工使¥`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s éåæçæå¾ä¸å¤©çå幾天`},e.prototype.firstWeekday=function(){return`第ä¸å工使¥`},e.prototype.weekdayNearestDayX0=function(){return`ææ¥è¿ %s èç工使¥`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, æ¯æç %s `},e.prototype.commaEveryX0Days=function(){return`, æ¯ %s 天`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, 卿¯æç %s å %s ä¹é`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, æ¯æç %s`},e.prototype.commaEveryX0Years=function(){return`, æ¯ %s å¹´`},e.prototype.commaStartingX0=function(){return`, %s éå§`},e.prototype.dayX0=function(){return` %s è`},e.prototype.daysOfTheWeek=function(){return[`æææ¥`,`ææä¸`,`ææäº`,`ææä¸`,`ææå`,`ææäº`,`ææå
`]},e.prototype.monthsOfTheYear=function(){return[`䏿`,`äºæ`,`䏿`,`åæ`,`äºæ`,`å
æ`,`䏿`,`å
«æ`,`乿`,`åæ`,`å䏿`,`åäºæ`]},e.prototype.onTheHour=function(){return`æ´é»`},e}()},515(e,t){Object.defineProperty(t,"__esModule",{value:!0});function n(e,t){if(!e)throw Error(t)}t.default=function(){function e(){}return e.secondRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=59,`seconds part must be >= 0 and <= 59`)}},e.minuteRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=59,`minutes part must be >= 0 and <= 59`)}},e.hourRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=23,`hours part must be >= 0 and <= 23`)}},e.dayOfMonthRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=1&&i<=31,`DOM part must be >= 1 and <= 31`)}},e.monthRange=function(e,t){for(var r=e.split(`,`),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var a=parseInt(r[i],10);n(a>=1&&a<=12,t?`month part must be >
339= 0 and <= 11`:`month part must be >= 1 and <= 12`)}},e.dayOfWeekRange=function(e,t){for(var r=e.split(`,`),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var a=parseInt(r[i],10);n(a>=0&&a<=6,t?`DOW part must be >= 0 and <= 6`:`DOW part must be >= 1 and <= 7`)}},e}()},823(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0,t.StringUtilities=function(){function e(){}return e.format=function(e){var t=[...arguments].slice(1);return e.replace(/%s/g,function(e){return t.shift()})},e.containsAny=function(e,t){return t.some(function(t){return e.indexOf(t)>-1})},e}()}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.toString=void 0;var t=n(333),i=n(420);t.ExpressionDescriptor.initialize(new i.allLocalesLoader),e.default=t.ExpressionDescriptor,e.toString=t.ExpressionDescriptor.toString})(),r})())})),ZQe=l(o(((e,t)=>{t.exports=XQe()}))(),1);function QQe(e){let t=e?.trim()??``;if(!t)return null;try{return ZQe.default.toString(t,{use24HourTimeFormat:!0,verbose:!0,throwExceptionOnParseError:!0,locale:eS(nS.language)??`en`})||null}catch{return null}}var W6=[{value:`chromium`,labelKey:`browserChrome`},{value:`firefox`,labelKey:`browserFirefox`},{value:`webkit`,labelKey:`browserSafari`},{value:`msedge`,labelKey:`browserEdge`}],$Qe=[`weekdaySun`,`weekdayMon`,`weekdayTue`,`weekdayWed`,`weekdayThu`,`weekdayFri`,`weekdaySat`],e$e=Array.from({length:24},(e,t)=>t),t$e=Array.from({length:60},(e,t)=>t),n$e=Array.from({length:31},(e,t)=>t+1);function G6({parentPathItemId:e,parentName:t,onClose:n,editPlanId:r}){let i=X(`pages.automation.wizard`),a=!!r,o=Wke(r??null),s=o.data,c=!!s?.testIds?.length,l=qke(s?.testIds??[],a&&c);if(a){if(o.isError)return G.error(i(`updateFailed`)),n(),null;let e=!!s,t=!c||!!l.data||l.isError;if(!e||!t)return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&n(),children:(0,U.jsxs)(ST,{className:`w-auto max-w-none gap-0 border-0 bg-transparent p-0 shadow-none sm:max-w-none`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:i(`editLoadingTitle`)}),(0,U.jsx)(ET,{className:`sr-only`,children:i(`editLoadingTitle`)}),(0,U.jsx)(`div`,{className:`bg-surface grid size-[200px] place-items-center rounded-[14px] shadow-[0_24px_60px_rgba(17,34,157,0.18)]`,children:(0,U.jsx)(gb,{className:`text-violet size-8 animate-spin`})})]})})}return(0,U.jsx)(r$e,{parentPathItemId:e,parentName:t,onClose:n,initialPlan:s,initialTests:l.data},r??`create`)}function r$e({parentPathItemId:e,parentName:t,onClose:n,initialPlan:r,initialTests:i}){let a=X(`pages.automation.wizard`),{activeCompanyID:o,activeTeamID:s}=NT(),c=Kke(),l=Jke(),u=!!r?.id,d=(0,O.useMemo)(()=>r?.cronText?HQe(r.cronText):null,[r]),[f,p]=(0,O.useState)(0),[m,h]=(0,O.useState)(r?.name??``),[g,_]=(0,O.useState)(!r||!!r.cronText),[v,y]=(0,O.useState)(d?.freq??`daily`),[b,x]=(0,O.useState)(d?.hour??0),[S,C]=(0,O.useState)(d?.minute??0),[w,T]=(0,O.useState)(d?.weekday??1),[E,D]=(0,O.useState)(d?.dayOfMonth??1),[k,A]=(0,O.useState)(d?.isRaw??!1),[j,M]=(0,O.useState)(d?.raw??`0 0 * * *`),[N,P]=(0,O.useState)(r?.browsers??[`chromium`]),[F,I]=(0,O.useState)(r?.isParallel??!1),[L,R]=(0,O.useState)(r?.retryAmount!=null&&r.retryAmount>0),[z,B]=(0,O.useState)(r?.retryAmount??1),[ee,V]=(0,O.useState)(r?.recordVideo??!1),[te,ne]=(0,O.useState)(r?.saveArtifacts??!1),[re,ie]=(0,O.useState)(r?.settingProfileNames??[]),[ae,oe]=(0,O.useState)(r?.notificationGroup??[]),[H,se]=(0,O.useState)(``),[ce,le]=(0,O.useState)(`ON_FAILURE`),[ue,de]=(0,O.useState)(()=>{if(i&&r?.testIds){let e=new Map(i.map(e=>[e.id,e.name]));return r.testIds.filter(t=>e.has(t)).map(t=>({id:t,name:e.get(t)}))}return[]}),[fe,pe]=(0,O.useState)(r?.dataSourceMapping??{}),[me,he]=(0,O.useState)(null),ge=XZ(o,s,!0),_e=(0,O.useMemo)(()=>ge.data??[],[ge.data]),ve=(0,O.useMemo)(()=>H6({freq:v,hour:b,minute:S,weekday:w,dayOfMonth:E,useRawCron:k,cronRaw:j}),[k,j,v,b,S,w,E]),ye=(0,O.useMemo)(()=>QQe(ve),[ve]),be=g&&!UQe(ve),xe=ve!==(r?.cronText??null),Se=be&&xe,Ce=[{key:`details`,label:a(`step1`),sub:a(`step1sub`)},{key:`tests`,label:a(`step2`),sub:a(`step2sub`)},{key:`order`,label:a(`step3`),sub:a(`step3sub`)},{key:`datasource`,label:a(`step4`),sub:a(`step4sub`)}],we=[{label:a(`trackerAsset`),state:`done`},{label:a(`trackerCreate`),state:`active`},{label:a(`trackerReview`),state:`upcoming`}],Te=f===0?m.trim().length>0:f!==1||ue.length>0,Ee=c.isPending||l.isPending,De=(0,O.useMemo)(()=>ue.filter(e=>fe[e.id]).length,[ue,fe]),Oe=[{k:a(`sumName`),v:m||a(`notSet`),empty:!m},{k:a(`sumTests`),v:ue.length?String(ue.length):a(`none`),empty:!ue.length},{k:a(`sumBrowsers`),v:N.length?N.length===1?a(W6.find(e=>e.value===N[0]).labelKey):`${N.length}
339`:a(`none`),empty:!N.length},{k:a(`sumSchedule`),v:g?ve:a(`off`),mono:g,empty:!g},{k:a(`sumDataSources`),v:De?String(De):a(`none`),empty:!De}];function ke(e){P(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}function Ae(e){de(t=>t.some(t=>t.id===e.id)?t.filter(t=>t.id!==e.id):[...t,e])}function je(e,t){de(n=>t?[...n,...e.filter(e=>!n.some(t=>t.id===e.id))]:n.filter(t=>!e.some(e=>e.id===t.id)))}function Me(e,t){de(n=>{if(e===t||e<0||t<0||e>=n.length||t>=n.length)return n;let r=[...n],[i]=r.splice(e,1);return r.splice(t,0,i),r})}function Ne(e,t){Me(e,e+t)}function Pe(){let e=H.trim();e&&(oe(t=>[...t.filter(t=>t.address!==e),{notificationType:`EMAIL`,notificationTimingType:ce,address:e}]),se(``))}function Fe(){if(f<Ce.length-1){p(e=>e+1);return}if(!m.trim()){G.error(a(`nameRequired`));return}if(!ue.length){G.error(a(`testsRequired`));return}if(Se){G.error(a(`cronUnschedulable`));return}let t=new Set(ue.map(e=>e.id)),i=Object.fromEntries(Object.entries(fe).filter(([e])=>t.has(e))),d=WQe({name:m,testIds:ue.map(e=>e.id),scheduleOn:g,cron:ve,browsers:N,isParallel:F,retryOn:L,retryAmount:z,recordVideo:ee,saveArtifacts:te,profiles:re,notifications:ae,dataSourceMapping:i,randomDataSelectionCounts:r?.randomDataSelectionCounts??{},companyId:o,teamId:s});if(u&&r){let e={...r,...d,id:r.id,pathItemId:r.pathItemId};l.mutate(e,{onSuccess:()=>{G.success(a(`updated`)),n()},onError:e=>G.error(Iw(e)?a(`duplicateName`):a(`updateFailed`))})}else c.mutate({plan:d,parentPathItemId:e},{onSuccess:()=>{G.success(a(`created`)),n()},onError:e=>G.error(Iw(e)?a(`duplicateName`):a(`saveFailed`))})}let Ie=u?a(`editTitle`):t?a(`titleIn`,{parent:t}):a(`title`);return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&n(),children:(0,U.jsxs)(ST,{className:`w-auto max-w-none gap-0 border-0 bg-transparent p-0 shadow-none sm:max-w-none`,showCloseButton:!1,children:[(0,U.jsx)(TT,{className:`sr-only`,children:Ie}),(0,U.jsx)(ET,{className:`sr-only`,children:Ie}),(0,U.jsxs)(uZ,{title:Ie,steps:Ce,current:f,onStepSelect:e=>e<f&&p(e),onBack:()=>p(e=>Math.max(0,e-1)),onNext:Fe,onClose:n,canAdvance:Te&&!Ee,submitLabel:a(u?`updateBtn`:`reviewSubmit`),tracker:we,counterLabel:a(`stepCounter`,{n:f+1,total:Ce.length}),stepsLabel:a(`innerSteps`),hint:a(`hintStep`,{n:f+1,total:Ce.length}),summary:Oe,className:`w-[min(1240px,calc(100vw-3rem))] grid-cols-[300px_1fr]`,children:[f===0&&(0,U.jsxs)(fZ,{title:a(`step1`),lede:a(`step1sub`),children:[(0,U.jsx)(pZ,{label:a(`labelName`),required:!0,children:(0,U.jsx)(`input`,{value:m,onChange:e=>h(e.target.value),placeholder:a(`placeholderName`),className:dZ()})}),(0,U.jsx)(K6,{icon:jy,title:a(`sectionSchedule`),action:(0,U.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2.5`,children:[(0,U.jsx)(uQ,{checked:g,onCheckedChange:_}),(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:a(`scheduleToggle`)})]}),children:g&&(0,U.jsxs)(`div`,{className:`border-divider flex flex-col gap-3 rounded-lg border-[0.5px] p-3`,children:[(0,U.jsx)(q6,{label:a(`useCustomCron`),checked:k,onChange:e=>{e&&M(H6({freq:v,hour:b,minute:S,weekday:w,dayOfMonth:E,useRawCron:!1,cronRaw:``})),A(e)}}),k?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(YQe,{value:j,onChange:M}),(0,U.jsx)(`p`,{className:`text-fg-hint text-[11px]`,children:a(`customCronHint`)})]}):(0,U.jsxs)(`div`,{className:`flex flex-wrap items-end gap-2`,children:[(0,U.jsx)(Y6,{label:a(`frequency`),ariaLabel:a(`frequency`),value:v,onChange:e=>y(e),options:[{value:`hourly`,label:a(`freqHourly`)},{value:`daily`,label:a(`freqDaily`)},{value:`weekly`,label:a(`freqWeekly`)},{value:`monthly`,label:a(`freqMonthly`)}]}),v===`weekly`&&(0,U.jsx)(Y6,{label:a(`on`),ariaLabel:a(`cronWeekDaysAria`),value:String(w),onChange:e=>T(Number(e)),options:$Qe.map((e,t)=>({value:String(t),label:a(e)}))}),v===`monthly`&&(0,U.jsx)(Y6,{label:a(`dayOfMonth`),ariaLabel:a(`dayOfMonth`),value:String(E),onChange:e=>D(Number(e)),options:n$e.map(e=>({value:String(e),label:String(e)})),width:`w-[78px]`}),v!==`hourly`&&(0,U.jsx)(Y6,{label:a(`at`),ariaLabel:a(`cronHoursAria`),value:String(b),onChange:e=>x(Number(e)),options:e$e.map(e=>({value:String(e),label:String(e).padStart(2,`0`)})),width:`w-[78px]`}),(0,U.jsx)(Y6,{label:`:`,ariaLabel:a(`cronMinutesAria`),value:String(S),onChange:e=>C(Number(e)),options:t$e.map(e=>({value:String(e),label:String(e).padStart(2,`0`)})),width:`w-[78px]`})]}),(0,U.jsx)(`p`,{className:W(`text-[11px]`,ye?`text-fg-body`:`text-muted-foreground font-mono`),children:ye??ve}),be&&(0,U.jsx)(`p`,{className:`text-destructive text-[11px]`,children:a(Se?`cronUnschedulable`:`cronStoredInvalid`)})]})}),(0,U.jsxs)(K6,{icon:Vb,title:a(`sectionNotifications`),children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`input`,{value:H,onChange:e=>se(e.target.value),placeholder:a(`notifyPlaceholder`),className:W(dZ(),`flex-1`),onKeyDown:e=>e.key===`Enter`&&(e.preventDefault(),Pe())}),(0,U.jsxs)(OT,{value:ce,onValueChange:e=>le(e),children:[(0,U.jsx)(AT,{className:`w-[130px]`,children:(0,U.jsx)(kT,{})}),(0,U.jsxs)(jT,{children:[(0,U.jsx)(MT,{value:`ON_FAILURE`,children:a(`notifyOnFailure`)}),(0,U.jsx)(MT,{value:`ALWAYS`,children:a(`notifyAlways`)})]})]}),(0,U.jsxs)(`button`,{type:`button`,onClick:Pe,className:`bg-violet-pale text-violet-dark hover:bg-violet inl
339ine-flex shrink-0 items-center gap-1.5 rounded-lg px-4 py-2.5 text-[12.5px] font-medium transition-colors hover:text-white`,children:[(0,U.jsx)(Pb,{className:`size-3.5`}),a(`notifyAdd`)]})]}),ae.length>0&&(0,U.jsx)(`div`,{className:`mt-2 flex flex-wrap gap-1.5`,children:ae.map(e=>(0,U.jsxs)(`span`,{className:`bg-surface-alt text-fg-body inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-[11px]`,children:[e.address,(0,U.jsxs)(`span`,{className:`text-fg-hint`,children:[`· `,e.notificationTimingType===`ALWAYS`?a(`notifyAlways`):a(`notifyOnFailure`)]}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>oe(t=>t.filter(t=>t.address!==e.address)),"aria-label":`Remove`,children:(0,U.jsx)(ox,{className:`size-3`})})]},e.address))})]}),(0,U.jsx)(K6,{icon:Gb,title:a(`sectionProfiles`),info:(0,U.jsxs)(cy,{children:[(0,U.jsx)(ly,{asChild:!0,children:(0,U.jsx)(`button`,{type:`button`,"aria-label":a(`profilesHint`),className:`text-fg-hint hover:text-fg-strong`,children:(0,U.jsx)(db,{className:`size-3.5`})})}),(0,U.jsx)(uy,{children:a(`profilesHint`)})]}),children:(0,U.jsx)(J6,{values:re,options:_e.map(e=>({value:e.name,label:e.name})),placeholder:a(`profilesPlaceholder`),emptyLabel:a(`profilesEmpty`),onToggle:e=>ie(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])})}),(0,U.jsxs)(K6,{icon:Eoe,title:a(`sectionTestOptions`),children:[(0,U.jsx)(pZ,{label:a(`browsers`),children:(0,U.jsx)(J6,{values:N,options:W6.map(e=>({value:e.value,label:a(e.labelKey)})),placeholder:a(`browsersPlaceholder`),onToggle:e=>ke(e)})}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,U.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-2.5`,children:[(0,U.jsx)(v6,{checked:F,onCheckedChange:e=>I(e===!0)}),(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:a(`parallel`)})]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,U.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-3`,children:[(0,U.jsx)(uQ,{checked:L,onCheckedChange:R}),(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:a(`retryToggle`)})]}),(0,U.jsx)(`input`,{type:`number`,min:1,max:10,value:L?z:0,disabled:!L,onChange:e=>B(Math.max(1,Number(e.target.value)||1)),className:W(dZ(),`w-[72px] disabled:opacity-50`),"aria-label":a(`retryLabel`)})]})]})]}),(0,U.jsx)(K6,{icon:ob,title:a(`sectionReporting`),children:(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-8 gap-y-3`,children:[(0,U.jsx)(q6,{label:a(`recordVideo`),checked:ee,onChange:V}),(0,U.jsx)(q6,{label:a(`saveArtifacts`),checked:te,onChange:ne})]})})]}),f===1&&(0,U.jsx)(fZ,{title:a(`step2`),lede:a(`selectedCount`,{count:ue.length}),children:(0,U.jsx)(DQe,{companyId:o,teamId:s,selected:ue,onToggleTest:Ae,onGroupSelect:je})}),f===2&&(0,U.jsx)(fZ,{kicker:[a(`orderKickerStep`),a(`orderKickerTests`)],title:a(`orderTitle`),lede:a(`orderHint`),children:ue.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12.5px]`,children:a(`orderEmpty`)}):(0,U.jsxs)(`div`,{className:`border-border overflow-hidden rounded-xl border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`bg-surface-alt border-divider flex items-center gap-2 border-b px-3.5 py-2.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-hint text-[10px] font-semibold tracking-[0.08em] uppercase`,children:a(`orderSelectedTests`)}),(0,U.jsx)(`span`,{className:`text-violet font-mono text-[11px] font-semibold`,children:ue.length})]}),ue.map((e,t)=>(0,U.jsxs)(`div`,{draggable:!0,onDragStart:e=>{e.dataTransfer&&(e.dataTransfer.effectAllowed=`move`),he(t)},onDragOver:e=>{e.preventDefault(),me!==null&&me!==t&&(Me(me,t),he(t))},onDrop:e=>e.preventDefault(),onDragEnd:()=>he(null),className:W(`border-divider bg-surface flex items-center gap-2.5 border-b px-3 py-2 last:border-b-0`,me===t&&`bg-violet-pale/40`),children:[(0,U.jsx)(boe,{className:`text-fg-hint size-3.5 shrink-0 cursor-grab active:cursor-grabbing`,"aria-hidden":`true`,"data-testid":`order-grip-${t}`}),(0,U.jsx)(`span`,{className:`bg-surface-alt text-fg-strong grid size-5 shrink-0 place-items-center rounded-[5px] font-mono text-[11px] font-semibold`,children:t+1}),(0,U.jsx)(`span`,{className:`text-fg-strong flex-1 truncate text-[12.5px]`,children:e.name}),(0,U.jsx)(`button`,{type:`button`,disabled:t===0,onClick:()=>Ne(t,-1),className:`text-muted-foreground hover:text-fg-strong grid size-7 shrink-0 place-items-center rounded-md disabled:opacity-30`,"aria-label":`Move up`,children:(0,U.jsx)(wy,{className:`size-3.5`})}),(0,U.jsx)(`button`,{type:`button`,disabled:t===ue.length-1,onClick:()=>Ne(t,1),className:`text-muted-foreground hover:text-fg-strong grid size-7 shrink-0 place-items-center rounded-md disabled:opacity-30`,"aria-label":`Move down`,children:(0,U.jsx)(xy,{className:`size-3.5`})}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>Ae(e),className:`text-muted-foreground hover:text-status-failed grid size-7 shrink-0 place-items-center rounded-md`,"aria-label":`Remove`,children:(0,U.jsx)(ox,{className:`size-4`})})]},e.id))]})}),f===3&&(0,U.jsx)(fZ,{title:a(`dsTitle`),lede:a(`dsIntro`),children:(0,U.jsx)(EQe,{tests:ue,mapping:fe,onChange:pe,companyId:o,teamId:s})})]})]})})}function K6({icon:e,title:t,info:n,action:r,children:i}){return(0,U.jsxs)(`div`,{className:`border-divider mt-4 border-t pt-4`,children:[(0,U.jsxs)(`div`,{className:`mb-3 flex items-center justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet grid size-[26px] place-items-center rounded-lg`,children:(0,U.jsx)(e,{className:`size-3.5`})}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[13px] font-semibold`,children:t}),n]}),r]}),i]})}function q6({label:e,checked:t,onChange:n}){return(0,U.jsxs)(`label`,{className:`flex cursor-pointer items-center gap-3`,children:[(0,U.jsx)(uQ,{checked:t,onCheckedChange:n}),(0,U.jsx)(`span`,{className:`text-fg-body text-[12.5px]`,children:e})]})}function J6({values:e,options:t,placeholder:n,emptyLabel:r,onToggle:i}){let[a,o]=(0,O.useState)(!1),s=t.filter(t=>e.includes(t.value));return(0,U.jsxs)(hT,{open:a,onOpenChange:o,children:[(0,U.jsx)(gT,{asChild:!0,children:(0,U.jsxs)(`button`,{type:`button`,className:W(dZ(),`flex items-center gap-2 text-left`),children:[(0,U.jsxs)(`span`,{className:`flex min-h-[19px] flex-1 flex-wrap items-center gap-1.5`,children:[s.length===0&&(0,U.jsx)(`span`,{className:`text-fg-hint`,children:n}),s.map(e=>(0,U.jsxs)(`span`,{className:`bg-violet-pale text-violet-dark inline-flex items-center gap-1 rounded-md px-2 py-0.5 text-[11.5px] font-medium`,children:[e.label,(0,U.jsx)(`span`,{role:`button`,tabIndex:0,"aria-label":`Remove ${e.label}`,onClick:t=>{t.stopPropagation(),i(e.value)},onKeyDown:t=>{(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),t.stopPropagation(),i(e.value))},className:`hover:text-violet cursor-pointer`,children:(0,U.jsx)(ox,{className:`size-3`})})]},e.value))]}),(0,U.jsx)(Fy,{className:`text-muted-foreground size-3.5 shrink-0`})]})}),(0,U.jsxs)(_T,{align:`start`,className:`w-[var(--radix-popover-trigger-width)] p-1`,children:[t.length===0&&(0,U.jsx)(`div`,{className:`text-fg-hint px-2.5 py-2 text-[12px]`,children:r}),t.map(t=>(0,U.jsxs)(`label`,{className:`hover:bg-surface-hover flex cursor-pointer items-center gap-2.5 rounded-md px-2.5 py-2 text-[12.5px]`,children:[(0,U.jsx)(v6,{checked:e.includes(t.value),onCheckedChange:()=>i(t.value)}),(0,U.jsx)(`span`,{className:`text-fg-strong`,children:t.label})]},t.value))]})]})}function Y6({label:e,ariaLabel:t,value:n,onChange:r,options:i,disabled:a,width:o=`w-[120px]`}){return(0,U.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,U.jsx)(`span`,{className:`text-fg-hint text-[10px] font-semibold tracking-[0.06em] uppercase`,children:e}),(0,U.jsxs)(OT,{value:n,onValueChange:r,disabled:a,children:[(0,U.jsx)(AT,{className:o,"aria-label":t,children:(0,U.jsx)(kT,{})}),(0,U.jsx)(jT,{children:i.map(e=>(0,U.jsx)(MT,{value:e.value,children:e.label},e.value))})]})]})}function i$e(e){let{dirs:t,items:n}=WX(e);return{dirs:t,plans:n}}function X6(e,t,n){if(!t)return e;let r=[];for(let i of e)if(i.kind===`dir`){let e=X6(i.children??[],t,n);(e.length||i.name.toLowerCase().includes(t))&&(n.push(i.id),r.push({...i,children:e}))}else i.name.toLowerCase().includes(t)&&r.push(i);return r}function a$e(e,t){let n=[];function r(e){for(let i of e)i.kind===`item`?(!t||i.name.toLowerCase().includes(t))&&n.push({...i,children:void 0}):r(i.children??[])}return r(e),n}function o$e(){let e=X(`pages.automation.overview`),t=rS(),{activeCompanyID:n,activeTeamID:r,loading:i}=NT(),a=Uke(n,r,!i&&!!n&&!!r),o=Qke(n,r),s=$ke(),c=eAe(),l=tAe(),u=Yke(),d=Xke(),f=Zke(),[p,m]=(0,O.useState)(``),[h,g]=(0,O.useState)(null),[_,v]=(0,O.useState)(null),[y,b]=(0,O.useState)(null),[x,S]=(0,O.useState)(null),[C,w]=(0,O.useState)(``),[T,E]=(0,O.useState)(null),[D,k]=(0,O.useState)(null),[A,j]=(0,O.useState)(null),[M,N]=(0,O.useState)({x:0,y:0}),P=(0,O.useMemo)(()=>a.data?.nodes??[],[a.data]),F=(0,O.useMemo)(()=>a.data?.directories??[],[a.data]),I=(0,O.useMemo)(()=>i$e(P),[P]),L=(0,O.useMemo)(()=>P.filter(e=>e.kind===`dir`).length,[P]),R=p.trim().length>0,z=(0,O.useMemo)(()=>aQ(F),[F]),{filtered:B,expandIds:ee}=(0,O.useMemo)(()=>{let e=p.trim().toLowerCase();if(R)return{filtered:a$e(P,e),expandIds:[]};let t=[];
339return{filtered:X6(P,e,t),expandIds:t}},[P,p,R]),V=(0,O.useMemo)(()=>YX(B,h),[B,h]);function te(e){g(t=>t?.key===e?t.dir===`asc`?{key:e,dir:`desc`}:null:{key:e,dir:`asc`})}let ne={ariaLabel:e(`dirPickerLabel`),moveHere:e(`dirMoveHere`),newHere:e(`dirNewHere`),rename:e(`actRename`),delete:e(`actDelete`),searchPlaceholder:e(`dirSearchPlaceholder`),root:e(`dirRoot`),newFolder:e(`newDirectory`)};function re(e,t){w(``),S({mode:`create`,parentId:e,parentName:t})}function ie(e){w(e.name),S({mode:`rename`,parentId:e.directory?.parentId??null,parentName:null,id:e.id,name:e.name})}function ae(){let t=C.trim();!t||!x||(x.mode===`create`?o.mutate({name:t,parentId:x.parentId},{onSuccess:()=>{G.success(e(`dirCreated`)),S(null)},onError:t=>G.error(Iw(t)?e(`dirDuplicateName`):e(`saveFailed`))}):s.mutate({id:x.id,name:t,bucket:`PLAN`,parentId:x.parentId,type:`DIRECTORY`,companyId:n,teamId:r},{onSuccess:()=>{G.success(e(`renamed`)),S(null)},onError:t=>G.error(Iw(t)?e(`dirDuplicateName`):e(`saveFailed`))}))}function oe(){let t=T;if(!t)return;let n={onSuccess:()=>{G.success(e(`deleted`)),E(null)},onError:()=>G.error(e(`deleteFailed`))};t.kind===`dir`?c.mutate({id:t.id,strategy:`MOVE_CHILDREN_TO_PARENT`},n):t.plan&&u.mutate(t.plan.id,n)}function H(n){if(n.kind===`dir`)return[{label:e(`actAddPlan`),icon:Pb,onSelect:()=>v({parentId:n.id,parentName:n.name})},{label:e(`actAddDir`),icon:sb,onSelect:()=>re(n.id,n.name)},{label:e(`actEdit`),icon:jb,onSelect:()=>ie(n)},{label:e(`actMove`),icon:Ob,onSelect:()=>{N($X()),j(n.directory??null)}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,onSelect:()=>E(n)}];let r=n.plan;return[{label:e(`actRun`),icon:Mb,onSelect:()=>d.mutate(r.id,{onSuccess:()=>G.success(e(`running`)),onError:()=>G.error(e(`runFailed`))})},{label:e(`actStop`),icon:Yb,onSelect:()=>f.mutate(r.id,{onSuccess:()=>G.success(e(`stopped`)),onError:()=>G.error(e(`stopFailed`))})},{label:e(`actResults`),icon:My,onSelect:()=>t.push(`/plan-execution?plan=${encodeURIComponent(r.name)}`)},{label:e(`actEdit`),icon:jb,onSelect:()=>b(r.id)},{label:e(`move`),icon:Ob,onSelect:()=>{N($X()),k(r)}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,onSelect:()=>E(n)}]}return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[560px] text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsxs)(Z,{variant:`outline`,onClick:()=>re(null,null),children:[(0,U.jsx)(sb,{}),e(`newDirectory`)]}),(0,U.jsxs)(Z,{onClick:()=>v({parentId:null,parentName:null}),children:[(0,U.jsx)(Pb,{}),e(`newPlan`)]})]})]}),(0,U.jsx)(QU,{query:a,isEmpty:e=>e.nodes.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(cb,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`),action:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(nZ,{src:lBe,label:e(`emptyTour`)}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>v({parentId:null,parentName:null}),className:`bg-violet hover:bg-violet-dark inline-flex items-center gap-1.5 rounded-lg border-[0.5px] border-transparent px-[18px] py-2.5 text-[13px] font-medium text-white shadow-[0_1px_2px_rgba(67,56,202,0.2)]`,children:[(0,U.jsx)(Pb,{className:`size-3`,strokeWidth:2.2}),e(`emptyCta`)]})]})}),children:()=>(0,U.jsxs)(UU,{children:[(0,U.jsxs)(`div`,{className:`mb-3 grid grid-cols-2 gap-2.5 sm:max-w-[640px]`,children:[(0,U.jsx)(tZ,{icon:cb,label:e(`kpiDirectories`),value:ZT(I.dirs),subtitle:e(`kpiDirectoriesSub`,{count:L}),tone:`mint`}),(0,U.jsx)(tZ,{icon:qy,label:e(`kpiPlans`),value:ZT(I.plans),subtitle:e(`kpiPlansSub`),tone:`violet`})]}),(0,U.jsx)(qU,{children:(0,U.jsx)(JU,{value:p,onChange:m,placeholder:e(`searchPlaceholder`),className:`max-w-[360px] flex-1`})}),V.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>m(``),children:e(`resetSearch`)})]}):(0,U.jsx)(JX,{nodes:V,headers:{type:e(`colType`),name:e(`colName`),date:e(`colCreated`),updated:e(`colUpdated`),count:e(`colItems`),actions:``},itemIcon:(0,U.jsx)(qy,{className:`size-3.5`}),dirIcon:(0,U.jsx)(cb,{className:`size-3.5`}),renderItemName:e=>{let t=R?oQ(z,e.plan?.parentId):void 0;return(0,U.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e.name}),t!=null&&(0,U.jsx)(sQ,{path:t})]})},sort:h,onSortChange:te,rowActions:H,defaultExpandedIds:ee},p)]})}),_&&(0,U.jsx)(G6,{parentPathItemId:_.parentId,parentName:_.parentName,onClose:()=>v(null)}),y&&(0,U.jsx)(G6,{editPlanId:y,onClose:()=>b(null)}),(0,U.jsx)(xT,{open:!!x,onOpenChange:e=>!e&&S(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:x?.mode===`rename`?e(`renameTitle`):e(`dirTitle`)}),(0,U.jsx)(ET,{children:x?.mode===`rename`?` `:x?.parentName?e(`dirTitleSub`,{parent:x.parentName}):e(`dirTitleRoot`)})]}),(0,U.jsx)(IT,{value:C,onChange:e=>w(e.target.value),placeholder:e(`dirNamePlaceholder`),onKeyDown:e=>e.key===`Enter`&&ae(),autoFocus:!0}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>S(null),disabled:o.isPending||s.isPending,children:e(`cancel`)}),(0,U.jsx)(Z,{onClick:ae,disabled:!C.trim()||o.isPending||s.isPending,children:x?.mode===`rename`?e(`rename`):e(`dirCreate`)})]})]})}),T&&(0,U.jsx)(rQ,{title:T.kind===`dir`?e(`deleteTitleDir`):e(`deleteTitlePlan`),message:e(T.kind===`dir`?T.children?.length?`deleteMessageDirNotEmpty`:`deleteMessageDirEmpty`:`deleteMessagePlan`,{name:T.name}),confirmLabel:e(`deleteConfirm`),loading:u.isPending||c.isPending,onCancel:()=>E(null),onConfirm:oe}),A&&(0,U.jsx)(`div`,{className:`fixed inset-0 z-50`,onClick:()=>j(null),children:(0,U.jsx)(`div`,{className:`absolute`,style:eZ(M),onClick:e=>e.stopPropagation(),children:(0,U.jsx)(XX,{directories:F.filter(e=>!QX(A.id,F).has(e.id)),selectedId:A.parentId??null,labels:ne,onSelect:async t=>{try{await l.mutateAsync({pathItemIds:[A.id],targetPathItemId:t}),j(null)}catch(t){G.error(Iw(t)?e(`moveDuplicateName`):e(`moveFailed`))}},onCreate:async e=>{let t=await o.mutateAsync(e);return{id:t.id,name:t.name,parentId:t.parentId??null}},onRename:(e,t)=>
339{let i=F.find(t=>t.id===e);s.mutateAsync({id:e,name:t,bucket:`PLAN`,parentId:i?.parentId??null,type:`DIRECTORY`,companyId:n,teamId:r})},onDelete:e=>void c.mutateAsync({id:e,strategy:`MOVE_CHILDREN_TO_PARENT`}),onClose:()=>j(null)})})}),D&&(0,U.jsx)(`div`,{className:`fixed inset-0 z-50`,onClick:()=>k(null),children:(0,U.jsx)(`div`,{className:`absolute`,style:eZ(M),onClick:e=>e.stopPropagation(),children:(0,U.jsx)(XX,{directories:F,selectedId:D.parentId??null,labels:ne,onSelect:async t=>{try{await l.mutateAsync({pathItemIds:[D.pathItemId],targetPathItemId:t}),k(null)}catch(t){G.error(Iw(t)?e(`moveDuplicateName`):e(`moveFailed`))}},onCreate:async e=>{let t=await o.mutateAsync(e);return{id:t.id,name:t.name,parentId:t.parentId??null}},onRename:(e,t)=>{let i=F.find(t=>t.id===e);s.mutateAsync({id:e,name:t,bucket:`PLAN`,parentId:i?.parentId??null,type:`DIRECTORY`,companyId:n,teamId:r})},onDelete:e=>void c.mutateAsync({id:e,strategy:`MOVE_CHILDREN_TO_PARENT`}),onClose:()=>k(null)})})})]})}function s$e(){return(0,U.jsx)(o$e,{})}var c$e={passed:`bg-status-passed`,failed:`bg-status-failed`,running:`bg-status-running`,stopped:`bg-status-stopped`,pending:`bg-status-pending`,error:`bg-status-error`};function Z6({segments:e,height:t=8,className:n}){let r=e.reduce((e,t)=>e+t.value,0),i=e.filter(e=>e.value>0);return(0,U.jsx)(`div`,{className:W(`bg-background flex overflow-hidden rounded-full`,n),style:{height:t},role:`img`,"aria-label":i.map(e=>`${e.tone}: ${e.value}`).join(`, `),children:r>0&&i.map((e,t)=>(0,U.jsx)(`span`,{className:W(`block h-full transition-[width] duration-[600ms] ease-[cubic-bezier(.2,.7,.2,1)]`,c$e[e.tone]),style:{width:`${e.value/r*100}%`}},`${e.tone}-${t}`))})}var l$e={passed:`SUCCESS`,failed:`FAILED`,running:`RUNNING`,stopped:`STOPPED`,pending:`PENDING`,error:`ERROR`};function Q6(e){let t=(e??``).toLowerCase();return t.includes(`success`)||t===`passed`?`passed`:t.includes(`fail`)?`failed`:t.includes(`run`)?`running`:t.includes(`stop`)?`stopped`:t.includes(`error`)?`error`:`pending`}function u$e(e){let t=(e??``).toUpperCase();return t.includes(`SCHEDUL`)||t.includes(`PLAN`)?`scheduled`:t.includes(`MANUAL`)?`manual`:null}function d$e(e,t){let n=[],r=e.trim();
339return r&&n.push({field:`planName`,operator:`and`,constraints:[{value:r,matchMode:`contains`}]}),t.length&&n.push({field:`status`,operator:`and`,constraints:[{value:t.map(e=>l$e[e]).filter(Boolean),matchMode:`in`}]}),n}function f$e(e){return[{field:`planExecutionId`,operator:`and`,constraints:[{value:e,matchMode:`equals`}]}]}function $6(){let e=X(`pages.automation.results`),t=Hke();return(n,r)=>{n.planId&&t.mutate({planId:n.planId,runType:r,planExecutionId:n.id},{onSuccess:()=>G.success(e(`rerunStarted`)),onError:t=>{Nw(t)||G.error(e(`rerunFailed`),{description:Pw(t)})}})}}function p$e({run:e,onClose:t,onOpenTest:n}){let r=X(`pages.automation.results`),{activeCompanyID:i,activeTeamID:a}=NT(),[o,s]=(0,O.useState)(`overview`),[c,l]=(0,O.useState)(`all`),[u,d]=(0,O.useState)(!1),[f,p]=(0,O.useState)(!1),m=$6(),h=VH(),g=Q6(e.status),_=e.planId&&g!==`running`&&g!==`pending`,v=g===`passed`||g===`failed`||g===`stopped`||g===`error`,y=iU({companyId:i,teamId:a,filters:(0,O.useMemo)(()=>f$e(e.id??``),[e.id]),page:0,size:200,sort:`startTime,asc`},!!e.id).data?.content??[],b=e.statusCounts,x=b?.successCount??0,S=b?.failedCount??0,C=e.totalTestExecutionCount??e.itemCount??y.length,w=C>0?Math.round(x/C*100):0,T=c===`failed`?y.filter(e=>KH(e.status)===`failed`):y,E=[{key:`overview`,label:r(`tabOverview`)},{key:`tests`,label:r(`tabTests`),count:C||void 0},{key:`logs`,label:r(`tabLogs`)}],D=Bke(e.id,o===`logs`),k=(0,O.useMemo)(()=>(D.data?.groups??[]).flatMap(e=>(e.logs??[]).map(t=>e.testName?`[${e.testName}] ${t}`:t)),[D.data]),A=()=>m(e,`ALL`),j=()=>m(e,`FAILURES`),M=()=>{e.id&&h.mutate({resourceId:e.id,resourceType:`PLAN_EXECUTION`},{onSuccess:e=>{navigator.clipboard.writeText(`${window.location.origin}/public/share/${e.token}`).catch(()=>{}),G.success(r(`linkCopied`))},onError:()=>G.error(r(`publicLinkError`))})};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(TQ,{onClose:t,overlay:!0,widthClassName:`w-full md:w-[460px] md:max-w-[95vw]`,bodyClassName:o===`logs`?`flex min-h-0 flex-1 flex-col`:void 0,className:`border-border rounded-l-xl border-[0.5px]`,crumbs:`${r(`panelCrumb`)} · ${e.id?.slice(0,8)??``}`,mobileTitle:r(`panelCrumb`),mobileSubtitle:e.id?`#${e.id.slice(0,8)}`:void 0,title:e.planName,meta:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(AU,{tone:Q6(e.status)}),(x>0||S>0)&&(0,U.jsxs)(`span`,{className:`font-semibold md:hidden`,children:[(0,U.jsx)(`span`,{className:`text-status-passed-fg`,children:x}),(0,U.jsx)(`span`,{className:`text-fg-hint`,children:` / `}),(0,U.jsx)(`span`,{className:`text-status-failed-fg`,children:S})]}),(0,U.jsxs)(`span`,{className:`inline-flex items-center gap-1 md:hidden`,children:[(0,U.jsx)(Jy,{className:`text-fg-hint size-3`}),ZQ(e.startTime,e.endTime)]}),e.startTime&&(0,U.jsx)(`span`,{children:QQ(e.startTime)}),(0,U.jsx)(`span`,{"aria-hidden":`true`,className:`hidden md:inline`,children:`·`}),(0,U.jsx)(`span`,{className:`hidden md:inline`,children:ZQ(e.startTime,e.endTime)})]}),tabs:E,activeTab:o,onTabChange:s,mobileBack:!0,headerActions:v&&e.id&&(0,U.jsxs)(`div`,{className:`flex items-center gap-0.5 md:hidden`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:()=>d(!0),"aria-label":r(`share`),className:`text-fg-strong hover:bg-surface-hover grid size-[34px] place-items-center rounded-md`,children:(0,U.jsx)(Ub,{className:`size-[19px]`})}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>p(!0),"aria-label":r(`actionsLabel`),className:`text-fg-strong hover:bg-surface-hover grid size-[34px] place-items-center rounded-md`,children:(0,U.jsx)($y,{className:`size-[19px]`})})]}),footer:v&&(0,U.jsx)(U.Fragment,{children:(0,U.jsxs)(`div`,{className:`hidden items-center gap-2 md:flex`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:M,disabled:!e.id||h.isPending,title:r(`copyPublicLink`),className:`border-border text-fg-body hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-3 py-1.5 text-[12px] font-medium whitespace-nowrap disabled:pointer-events-none disabled:opacity-40`,children:[h.isPending?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):(0,U.jsx)(hb,{className:`size-3.5`}),r(`copyLink`)]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>{e.id&&h.mutate({resourceId:e.id,resourceType:`PLAN_EXECUTION`},{onSuccess:e=>window.open(`${window.location.origin}/public/share/${e.token}?wide=1`,`_blank`,`noopener,noreferrer`),onError:()=>G.error(r(`publicLinkError`))})},disabled:!e.id||h.isPending,title:r(`openInNewTab`),className:`border-border text-fg-body hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-3 py-1.5 text-[12px] font-medium whitespace-nowrap disabled:pointer-events-none disabled:opacity-40`,children:[(0,U.jsx)(eb,{className:`size-3.5`}),r(`newTab`)]}),_&&(0,U.jsxs)(`button`,{type:`button`,onClick:A,title:r(`actRerunAll`),className:`border-border text-fg-body hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-3 py-1.5 text-[12px] font-medium whitespace-nowrap`,children:[(0,U.jsx)(Mb,{className:`size-3.5`}),r(`rerunShort`)]}),_&&!!e.statusCounts?.failedCount&&(0,U.jsxs)(`button`,{type:`button`,onClick:j,title:r(`actRerunFailures`),className:`border-border text-fg-body hover:bg-surface-hover inline-flex items-center gap-1.5 rounded-lg border-[0.5px] px-3 py-1.5 text-[12px] font-medium whitespace-nowrap`,children:[(0,U.jsx)(Ib,{className:`size-3.5`}),r(`retryFailed`)]})]})}),children:[o===`overview`&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-5`,children:[(0,U.jsxs)(`div`,{className:`border-border bg-surface flex items-center gap-5 rounded-xl border-[0.5px] p-4 md:hidden`,children:[(0,U.jsx)(pQ,{pct:w,size:84,className:`shrink-0`}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsxs)(`div`,{className:`text-fg-strong text-[24px] font-bold tracking-[-0.02em] tabular-nums`,children:[x,(0,U.jsxs)(`span`,{className:`text-fg-hint text-[16px] font-medium`,children:[` / `,C]})]}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-[12px]`,children:r(`testsPassed`)})]})]}),(0,U.jsx)(`div`,{className:`hidden md:block`,children:(0,U.jsx)(Z6,{segments:[{tone:`passed`,value:x},{tone:`failed`,value:S}]})}),(0,U.jsxs)(`div`,{className:`hidden gap-2 md:grid md:grid-cols-3`,children:[(0,U.jsx)(e8,{label:r(`mTests`),value:C}),(0,U.jsx)(e8,{label:r(`mPassed`),value:x,tone:`passed`}),(0,U.jsx)(e8,{label:r(`mFailed`),value:S,tone:`failed`})]}),(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-3 rounded-xl border-[0.5px] p-4 md:hidden`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:r(`testDistribution`)}),(0,U.jsx)(Z6,{segments:[{tone:`passed`,value:x},{tone:`failed`,value:S}]}),(0,U.jsxs)(`div`,{className:`grid grid-cols-3 gap-2`,children:[(0,U.jsx)(e8,{label:r(`mTests`),value:C}),(0,U.jsx)(e8,{label:r(`mPassed`),value:x,tone:`passed`}),(0,U.jsx)(e8,{label:r(`mFailed`),value:S,tone:`failed`})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:r(`detailsTitle`)}),(0,U.jsx)(t8,{k:r(`dPlanId`),v:e.id??`-`,mono:!0}),(0,U.jsx)(t8,{k:r(`dBy`),v:e.createdBy??`-`}),(0,U.jsx)(t8,{k:r(`dStarted`),v:QQ(e.startTime)||`-`}),(0,U.jsx)(t8,{k:r(`dEnded`),v:QQ(e.endTime)||`-`}),(0,U.jsx)(t8,{k:r(`dDuration`),v:ZQ(e.startTime,e.endTime)})]})]}),o===`tests`&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-3 md:hidden`,children:[(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-2.5 rounded-xl border-[0.5px] p-3.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:r(`testExecutions`)}),(0,U.jsxs)(`span`,{className:`text-muted-foreground text-[11px]`,children:[C,` · `,x,` â · `,S,` â`]})]}),(0,U.jsx)(Z6,{segments:[{tone:`passed`,value:x},{tone:`failed`,value:S}]})]}),(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:r(`tabTests`)}),(0,U.jsxs)(`div`,{className:`border-border flex overflow-hidden rounded-lg border-[0.5px]`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:()=>l(`all`),className:W(`px-3 py-1.5 text-[11.5px] font-medium transition-colors`,c===`all`?`bg-primary text-white`:`text-fg-body hover:bg-surface-hover`),children:r(`filterAll`)}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>l(`failed`),className:W(`border-border border-l-[0.5px] px-3 py-1.5 text-[11.5px] font-medium transition-colors`,c===`failed`?`bg-primary text-white`:`text-fg-body hover:bg-surface-hover`),children:r(`filterFailed`)})]})]})]}),(0,U.jsx)(`div`,{className:`flex flex-col gap-1.5`,children:T.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground py-4 text-center text-[12.5px]`,children:r(`testsEmpty`)}):T.map(e=>{let t=KH(e.status);return(0,U.jsxs)(`button`,{type:`button`,onClick:()=>n(e),className:`border-border hover:bg-surface-hover flex items-center gap-2.5 rounded-lg border-[0.5px] px-3 py-2 text-left`,children:[(0,U.jsx)(`span`,{className:W(`grid size-[30px] shrink-0 place-items-center rounded-lg md:hidden`,t===`passed`?`bg-status-passed-bg text-status-passed`:t===`failed`?`bg-status-failed-bg text-status-failed`:`bg-background text-fg-hint`),children:t===`passed`?(0,U.jsx)(Py,{className:`size-[15px]`,strokeWidth:2.6}):t===`failed`?(0,U.jsx)(ox,{className:`size-[15px]`,strokeWidth:2.6}):(0,U.jsx)(`span`,{className:`text-[10px] font-bold`,children:`â`})}),(0,U.jsx)(`span`,{className:`hidden md:block`,children:(0,U.jsx)(AU,{tone:t})}),(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 flex-1 truncate text-[12.5px]`,children:e.testName}),(0,U.jsx)(`span`,{className:`text-muted-foreground font-mono text-[11px]`,children:ZQ(e.startTime,e.endTime)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3.5 shrink-0`})]},e.id)})})]}),o===`logs`&&(D.isError?(0,U.jsx)(`p`,{className:`text-muted-foreground p-4 text-[12px]`,children:r(`logsFailed`)}):(0,U.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,children:[D.data?.truncated&&(0,U.jsx)(`p`,{className:`text-muted-foreground border-divider border-b px-3 py-2 text-[11px]`,children:r(`logsTruncated`)}),(0,U.jsx)(BQ,{query:{data:{logs:k},isPending:D.isPending},downloadName:`plan-run-${e.id?.slice(0,8)??`logs`}.txt`})]}))]}),v&&e.id&&(0,U.jsx)(XQ,{open:u,onOpenChange:d,resourceId:e.id,resourceType:`PLAN_EXECUTION`,workspaceUrl:`${window.location.origin}/plan-execution?run=${e.id}`}),(0,U.jsx)(CQ,{open:f,onOpenChange:p,kind:`plan`,failedCount:e.statusCounts?.failedCount,onRerun:_?A:void 0,onRerunFailed:_?j:void 0,onCopyLink:e.id?M:void 0})]})}function e8({label:e,value:t,tone:n}){return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-1 rounded-lg border-[0.5px] p-2.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:e}),(0,U.jsx)(`span`,{className:`text-[18px] font-bold tabular-nums ${n===`passed`?`text-status-passed-fg`:n===`failed`?`text-status-failed-fg`:`text-fg-strong`}`,children:t})]})}function t8({k:e,v:t,mono:n}){return(0,U.jsxs)(`div`,{className:`flex items-center justify-between gap-3 text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:e}),(0,U.jsx)(`span`,{className:`text-fg-body truncate ${n?`font-mono text-[10.5px]`:``}`,children:t})]})}
339var n8=[10,25,50,100],m$e={plan:`planName`,status:`status`,dur:`duration`,start:`startTime`,executor:`createdBy`},r8=[{key:`success`,tone:`passed`,icon:Py},{key:`failed`,tone:`failed`,icon:ox},{key:`running`,tone:`running`,icon:_b},{key:`stopped`,tone:`stopped`,icon:Yb},{key:`pending`,tone:`pending`,icon:Wy},{key:`error`,tone:`error`,icon:nx}],h$e={passed:Py,failed:ox,running:_b,stopped:Yb,pending:Wy,error:nx},g$e={passed:`bg-status-passed/15 text-status-passed`,failed:`bg-status-failed/15 text-status-failed`,running:`bg-status-running/15 text-status-running`,stopped:`bg-status-stopped/15 text-status-stopped`,pending:`bg-status-pending/15 text-status-pending`,error:`bg-status-error/15 text-status-error`};function _$e(){let e=X(`pages.automation.results`),{activeCompanyID:t,activeTeamID:n,loading:r}=NT(),i=!r&&!!t&&!!n,a=oS(),[o,s]=(0,O.useState)(()=>a.get(`plan`)??``),[c,l]=(0,O.useState)(o),[u,d]=(0,O.useState)({}),[f,p]=(0,O.useState)({key:`start`,dir:`desc`}),[m,h]=(0,O.useState)(1),[g,_]=(0,O.useState)(10),[v,y]=(0,O.useState)(null),[b,x]=(0,O.useState)(null),[S,C]=(0,O.useState)(null);(0,O.useEffect)(()=>{let e=setTimeout(()=>l(o),350);return()=>clearTimeout(e)},[o]);let w=u.status??[],T=uU({companyId:t,teamId:n,filters:(0,O.useMemo)(()=>d$e(c,u.status??[]),[c,u]),page:m-1,size:g,sort:`${m$e[f.key]??`startTime`},${f.dir}`},i),E=zke(t,n,i,(T.data?.content??[]).some(e=>QH(e.status))),{sparks:D}=yQ(`PLAN`,i),k=Vke(),A=$6(),j=VH(),M=T.data?.content??[],N=T.data?.totalElements??0,P=E.data??{total:0,success:0,failed:0,running:0,stopped:0,pending:0,error:0},F=P.total>0?Math.round(P.success/P.total*100):0,I=v?M.find(e=>e.id===v)??null:null,L=!!o||w.length>0;function R(){h(1)}let z=w.length===1?w[0]:`all`,B=[{value:`all`,label:e(`chipAll`)},...[`passed`,`failed`,`running`,`stopped`,`pending`,`error`].map(t=>({value:t,label:e(`status_${t}`),tone:t}))];function ee(e){let t={...u};e===`all`?delete t.status:t.status=[e],d(t),R()}function V(t){t.id&&j.mutate({resourceId:t.id,resourceType:`PLAN_EXECUTION`},{onSuccess:t=>{navigator.clipboard.writeText(`${window.location.origin}/public/share/${t.token}`).catch(()=>{}),G.success(e(`linkCopied`))},onError:()=>G.error(e(`publicLinkError`))})}function te(e){let t=Q6(e.status);return t!==`running`&&t!==`pending`}function ne(t){let n=u$e(t.executionType);return n===`scheduled`?e(`triggerScheduled`):n===`manual`?e(`triggerManual`):t.executionType?t.executionType.charAt(0)+t.executionType.slice(1).toLowerCase():null}function re(t){let n=Q6(t.status),r=[{label:e(`actView`),icon:nb,onSelect:()=>y(t.id??null)},{label:e(`copyPublicLink`),icon:hb,disabled:!t.id||n===`running`||n===`pending`||j.isPending,onSelect:()=>V(t)}];return Q6(t.status)===`running`&&t.id&&r.push({label:e(`actStop`),icon:Yb,onSelect:()=>k.mutate(t.id,{onSuccess:()=>G.success(e(`stopped`)),onError:()=>G.error(e(`stopFailed`))})}),t.planId&&n!==`running`&&n!==`pending`&&(r.push({label:e(`actRerunAll`),icon:Mb,onSelect:()=>A(t,`ALL`)}),t.statusCounts?.failedCount&&r.push({label:e(`actRerunFailures`),icon:Ib,onSelect:()=>A(t,`FAILURES`)}),t.statusCounts?.errorCount&&r.push({label:e(`actRerunErrors`),icon:Ib,onSelect:()=>A(t,`ERRORS`)})),r.push({label:e(`actCopyId`),icon:Yy,disabled:!t.id,onSelect:()=>{t.id&&(navigator.clipboard.writeText(t.id).catch(()=>{}),G.success(e(`copiedId`)))}}),r}let ie=[{key:`plan`,header:e(`colPlan`),width:`2.2fr`,sortable:!0,cell:(t,
339n)=>(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:t.planName}),n===`comfortable`&&(0,U.jsxs)(`span`,{className:`text-fg-hint truncate text-[10.5px]`,children:[t.id?.slice(0,8),` · `,e(`testsCount`,{count:t.totalTestExecutionCount??t.itemCount??0})]})]})},{key:`executor`,header:e(`colExecutor`),width:`1fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{title:e.createdBy??void 0,className:`text-fg-body truncate text-[11.5px]`,children:e.createdBy?oy(e.createdBy,15):`-`})},{key:`status`,header:e(`colStatus`),width:`1.5fr`,sortable:!0,cell:t=>{let n=t.statusCounts,r=Q6(t.status);return n&&(n.successCount||n.failedCount)?(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,U.jsx)(`span`,{className:`text-fg-body text-[11px]`,children:e(`passFail`,{passed:n.successCount,failed:n.failedCount})}),(0,U.jsxs)(`div`,{className:`bg-background flex h-1.5 w-full max-w-[160px] overflow-hidden rounded-full`,children:[(0,U.jsx)(`span`,{className:`bg-status-passed block h-full`,style:{width:`${n.successCount/Math.max(1,n.successCount+n.failedCount)*100}%`}}),(0,U.jsx)(`span`,{className:`bg-status-failed block h-full flex-1`})]})]}):(0,U.jsx)(AU,{tone:r,children:e(`status_${r}`)})}},{key:`dur`,header:e(`colDuration`),width:`0.9fr`,sortable:!0,cell:e=>(0,U.jsxs)(`span`,{className:`text-fg-body inline-flex items-center gap-1 font-mono text-[11.5px]`,children:[(0,U.jsx)(Jy,{className:`text-fg-hint size-2.5`}),ZQ(e.startTime,e.endTime)]})},{key:`start`,header:e(`colStarted`),width:`1.3fr`,sortable:!0,cell:(e,t)=>(0,U.jsxs)(`div`,{className:`flex flex-col text-[11.5px] leading-tight tabular-nums`,children:[(0,U.jsx)(`span`,{className:`text-fg-body`,children:QQ(e.startTime)||`-`}),t===`comfortable`&&e.startTime&&(0,U.jsx)(`span`,{className:`text-muted-foreground text-[10.5px]`,children:$Q(e.startTime)})]})}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 hidden items-center gap-1.5 text-[11.5px] md:flex`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] hidden md:block`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 hidden max-w-[560px] text-[12.5px] leading-relaxed md:block`,children:e(`description`)})]}),(0,U.jsx)(QU,{query:T,isEmpty:e=>e.content.length===0&&!L,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(Ny,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`)}),children:()=>(0,U.jsxs)(UU,{className:I||b?`min-h-[720px]`:void 0,sidePanel:b?(0,U.jsx)(l$,{execution:b,onBack:()=>x(null),onClose:()=>{x(null),y(null)},crumbs:(0,U.jsxs)(U.Fragment,{children:[e(`panelCrumb`),` · `,(0,U.jsx)(`span`,{className:`text-fg-body`,children:I?.planName})]})},b.id):I&&(0,U.jsx)(p$e,{run:I,onClose:()=>y(null),onOpenTest:e=>x(e)},I.id),children:[(0,U.jsxs)(`div`,{className:`hidden md:block`,children:[(0,U.jsxs)(hQ,{children:[(0,U.jsx)(gQ,{pct:F,ringLabel:e(`passRate`),eyebrow:e(`kpiEyebrow`),value:ZT(P.success),total:e(`ofRuns`,{total:ZT(P.total)})}),(0,U.jsx)(_Q,{children:r8.map(t=>(0,U.jsx)(vQ,{tone:t.tone,label:e(`status_${t.tone}`),value:ZT(P[t.key]??0),icon:t.icon,spark:D[t.key]},t.key))})]}),(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:o,onChange:e=>{s(e),R()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`}),(0,U.jsx)(ZU,{label:e(`filter`),value:u,onChange:e=>{d(e),R()},groups:[{key:`status`,label:e(`colStatus`),options:[`passed`,`failed`,`running`,`stopped`,`pending`,`error`].map(t=>({value:t,label:e(`status_${t}`),dotClassName:`bg-status-${t}`}))}]})]}),M.length===0&&!T.isPending?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{s(``),d({}),R()},children:e(`resetFilters`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:ie,rows:M,rowKey:e=>e.id??`${e.planName}-${e.startTime}`,density:`compact`,sort:f,onSortChange:e=>{p(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`desc`}),R()},selectedKey:v,onRowClick:e=>{x(null),y(e.id??null)},rowActions:re,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:m,pageSize:g,total:N,pageSizeOptions:n8,onPageChange:h,onPageSizeChange:e=>{_(e),R()},itemLabel:e(`rowsRuns`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]}),(0,U.jsxs)(`div`,{className:`md:hidden`,children:[(0,U.jsx)(bQ,{passRate:F,ringLabel:e(`passRate`),window:e(`kpiEyebrow`),total:ZT(P.success),totalSuffix:e(`ofRuns`,{total:ZT(P.total)}),cards:r8.map(t=>({tone:t.tone,label:e(`status_${t.tone}
339`),value:ZT(P[t.key]??0),icon:t.icon,spark:D[t.key]}))}),(0,U.jsx)(JU,{value:o,onChange:e=>{s(e),R()},placeholder:e(`searchPlaceholder`),className:`mb-3`}),(0,U.jsx)(wQ,{options:B,selected:z,onChange:ee,className:`mb-3`}),M.length===0&&!T.isPending?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-8 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{s(``),d({}),R()},children:e(`resetFilters`)})]}):(0,U.jsx)(`div`,{className:`bg-surface border-border overflow-hidden rounded-xl border-[0.5px]`,children:M.map(t=>{let n=Q6(t.status),r=h$e[n],i=t.totalTestExecutionCount??t.itemCount??0,a=t.statusCounts?.successCount??0,o=t.statusCounts?.failedCount??0,s=i>0?Math.round(a/i*100):0,c=ne(t);return(0,U.jsxs)(`div`,{className:`border-divider relative border-b last:border-b-0`,children:[(0,U.jsx)(xQ,{className:`border-b-0 pr-11`,icon:(0,U.jsx)(r,{className:`size-4`}),iconClassName:g$e[n],name:t.planName,sub:(0,U.jsxs)(U.Fragment,{children:[t.id&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`span`,{className:`font-mono`,children:[`#`,t.id.slice(0,8)]}),(0,U.jsx)(SQ,{})]}),(0,U.jsx)(`span`,{children:e(`testsCount`,{count:i})})]}),footer:(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[a+o>0?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2.5 text-[11.5px] font-semibold`,children:[(0,U.jsx)(`span`,{className:`text-status-passed`,children:e(`nPassed`,{count:a})}),(0,U.jsx)(`span`,{className:`text-status-failed`,children:e(`nFailed`,{count:o})}),(0,U.jsxs)(`span`,{className:`bg-status-passed/12 text-status-passed ml-auto rounded-full px-2 py-0.5 text-[11px]`,"aria-label":e(`passRate`),children:[s,`%`]})]}),(0,U.jsx)(Z6,{segments:[{tone:`passed`,value:a},{tone:`failed`,value:o}],height:6})]}):(0,U.jsx)(AU,{tone:n,children:e(`status_${n}`)}),(0,U.jsxs)(`div`,{className:`text-muted-foreground flex flex-wrap items-center gap-[7px] text-[11px]`,children:[t.createdBy&&(0,U.jsxs)(`span`,{className:`flex min-w-0 items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:`bg-primary/10 text-primary grid size-[15px] shrink-0 place-items-center rounded-full text-[8.5px] font-bold uppercase`,children:t.createdBy.charAt(0)}),(0,U.jsx)(`span`,{className:`truncate`,children:t.createdBy})]}),c&&(0,U.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,U.jsx)(Ay,{className:`text-fg-hint size-3`}),c]}),(0,U.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,U.jsx)(Jy,{className:`text-fg-hint size-3`}),ZQ(t.startTime,t.endTime)]}),(0,U.jsx)(`span`,{className:`ml-auto`,children:$Q(t.startTime)||`-`})]})]}),onClick:()=>{x(null),y(t.id??null)}}),te(t)&&(0,U.jsx)(`button`,{type:`button`,"aria-label":e(`actionsLabel`),onClick:()=>C(t),className:`text-muted-foreground active:bg-surface-hover absolute top-2.5 right-2 grid size-9 place-items-center rounded-[10px]`,children:(0,U.jsx)($y,{className:`size-[18px]`})})]},t.id??`${t.planName}-${t.startTime}`)})}),(0,U.jsx)(XU,{page:m,pageSize:g,total:N,pageSizeOptions:n8,onPageChange:h,onPageSizeChange:e=>{_(e),R()},itemLabel:e(`rowsRuns`),className:`bg-surface border-border mt-[-1px] rounded-b-xl border-[0.5px] border-t-0`}),(0,U.jsx)(CQ,{open:!!S,onOpenChange:e=>!e&&C(null),kind:`plan`,failedCount:S?.statusCounts?.failedCount,onRerun:S?.planId?()=>A(S,`ALL`):void 0,onRerunFailed:S?.planId?()=>A(S,`FAILURES`):void 0,onCopyLink:S?.id?()=>V(S):void 0})]})]})})]})}function v$e(){return(0,U.jsx)(O.Suspense,{children:(0,U.jsx)(_$e,{})})}var i8=new class{async getAllTags(e){let{data:t}=await J.get(`/v1/tag`,{params:e});return t??[]}async deleteTag(e){await J.delete(`/v1/tag/${e}`)}},y$e=3e5;function b$e(e,t,n){return nc({queryKey:Y.elementTags.list(e,t),queryFn:()=>i8.getAllTags({companyId:e,teamId:t}),enabled:n&&!!e&&!!t,staleTime:y$e})}function x$e(e,t){let n=Us();return rc({mutationFn:e=>i8.deleteTag(e),onSuccess:()=>n.invalidateQueries({queryKey:Y.elementTags.list(e,t)})})}function a8(e){return e.selector||e.query||e.xpath||e.fullXpath||``}var S$e={LABEL:`typeLabel`,WAIT_UNTIL_DISAPPEAR:`typeWait`,EXCLUDE:`typeExclude`,PREDEFINED:`typePredefined`},C$e={WEB:`platformWeb`,MOBILE:`platformMobile`,IOS:`platformIos`,ANDROID:`platformAndroid`};function o8(e){return e?e.startsWith(`data:`)||e.startsWith(`http`)?e:`data:image/png;base64,${e}`:null}function s8({label:e,value:t,mono:n}){return t?(0,U.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:e}),(0,U.jsx)(`span`,{className:`text-fg-body text-[12px] ${n?`font-mono break-all`:``}`,children:t})]}):null}function w$e({tag:e,onClose:t,onDelete:n}){let r=X(`pages.tools.elementTags`),i=o8(e.pageScreenshot),a=o8(e.elementScreenshot),[o,s]=(0,O.useState)(a?`element`:`page`),c=o===`element`?a:i;return(0,U.jsx)(TQ,{onClose:t,crumbs:r(`title`),title:e.name,meta:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{children:r(S$e[e.type])}),(0,U.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,U.jsx)(`span`,{children:r(C$e[e.platform])})]}),footer:(0,U.jsxs)(Z,{variant:`destructive`,onClick:n,children:[(0,U.jsx)($b,{}),r(`actDelete`)]}),children:(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,U.jsx)(s8,{label:r(`panelSelector`),value:a8(e),mono:!0}),(0,U.jsx)(s8,{label:r(`panelXpath`),value:e.xpath,mono:!0}),(0,U.jsx)(s8,{label:r(`panelFullXpath`),value:e.fullXpath,mono:!0}),(0,U.jsx)(s8,{label:r(`panelElementId`),value:e.elementId,mono:!0}),(0,U.jsx)(s8,{label:r(`panelFrame`),value:e.frameBaseUrl,mono:!0}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:r(`panelScreenshots`)}),i||a?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`div`,{className:`bg-background border-border inline-flex h-[30px] w-fit items-center gap-0.5 rounded-lg border-[0.5px] p-0.5`,children:[a&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>s(`element`),className:`rounded-md px-2.5 py-1 text-[11px] font-medium transition-colors ${o===`element`?`bg-surface text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`}`,children:r(`panelElement`)}),i&&(0,U.jsx)(`button`,{type:`button`,onClick:()=>s(`page`),className:`rounded-md px-2.5 py-1 text-[11px] font-medium transition-colors ${o===`page`?`bg-surface text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`}`,children:r(`panelPage`)})]}),c&&(0,U.jsx)(`img`,{src:c,alt:e.name,className:`border-border max-h-[320px] w-full rounded-lg border-[0.5px] object-contain`})]}):(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:r(`panelNoScreenshot`)})]})]})})}var T$e=[10,25,50],c8={LABEL:`typeLabel`,WAIT_UNTIL_DISAPPEAR:`typeWait`,EXCLUDE:`typeExclude`,PREDEFINED:`typePredefined`}
339,l8={LABEL:`bg-violet`,WAIT_UNTIL_DISAPPEAR:`bg-status-pending`,EXCLUDE:`bg-status-failed`,PREDEFINED:`bg-muted-foreground`},u8={WEB:`platformWeb`,MOBILE:`platformMobile`,IOS:`platformIos`,ANDROID:`platformAndroid`};function E$e(){let e=X(`pages.tools.elementTags`),{activeCompanyID:t,activeTeamID:n,loading:r}=NT(),i=b$e(t,n,!r&&!!t&&!!n),a=x$e(t,n),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)({}),[u,d]=(0,O.useState)({key:`name`,dir:`asc`}),[f,p]=(0,O.useState)(1),[m,h]=(0,O.useState)(10),[g,_]=(0,O.useState)(null),[v,y]=(0,O.useState)(null),b=(0,O.useMemo)(()=>{let e=i.data??[],t=o.trim().toLowerCase(),n=c.type??[],r=c.platform??[],a=e.filter(e=>{let i=!t||e.name.toLowerCase().includes(t)||a8(e).toLowerCase().includes(t),a=n.length===0||n.includes(e.type),o=r.length===0||r.includes(e.platform);return i&&a&&o}),s=u.dir===`asc`?1:-1;return[...a].sort((e,t)=>{switch(u.key){case`type`:return e.type.localeCompare(t.type)*s;case`platform`:return e.platform.localeCompare(t.platform)*s;case`created`:return((e.creationTime??0)-(t.creationTime??0))*s;default:return e.name.localeCompare(t.name)*s}})},[i.data,o,c,u]),x=b.length,S=(0,O.useMemo)(()=>b.slice((f-1)*m,f*m),[b,f,m]),C=g?(i.data??[]).find(e=>e.id===g)??null:null;function w(){p(1)}function T(t){return[{label:e(`actView`),icon:nb,onSelect:()=>_(t.id??null)},{label:e(`actCopySelector`),icon:Yy,onSelect:()=>{navigator.clipboard.writeText(a8(t)).catch(()=>{}),G.success(e(`copiedSelector`))}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,disabled:!t.id,onSelect:()=>y(t)}]}function E(){let t=v;t?.id&&a.mutate(t.id,{onSuccess:()=>{G.success(e(`deleted`)),g===t.id&&_(null),y(null)},onError:()=>G.error(e(`deleteFailed`))})}let D=[{key:`name`,header:e(`colName`),width:`1.6fr`,sortable:!0,cell:e=>(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:e.name}),e.createdBy&&(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[10.5px]`,children:e.createdBy})]})},{key:`selector`,header:e(`colSelector`),width:`2.2fr`,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-body block truncate font-mono text-[11.5px]`,children:a8(e)||`-`})},{key:`type`,header:e(`colType`),width:`1.1fr`,sortable:!0,cell:t=>(0,U.jsxs)(`span`,{className:`bg-surface-alt text-fg-body inline-flex w-fit items-center gap-1.5 rounded-md px-2 py-[3px] text-[11px] font-medium`,children:[(0,U.jsx)(`span`,{className:W(`size-1.5 rounded-full`,l8[t.type]),"aria-hidden":`true`}),e(c8[t.type])]})},{key:`platform`,header:e(`colPlatform`),width:`0.8fr`,sortable:!0,cell:t=>(0,U.jsx)(`span`,{className:`text-fg-body text-[11.5px]`,children:e(u8[t.platform])})}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] max-w-[620px]`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsx)(QU,{query:i,isEmpty:e=>e.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(Zb,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`)}),children:()=>(0,U.jsxs)(UU,{sidePanel:C&&(0,U.jsx)(w$e,{tag:C,onClose:()=>_(null),onDelete:()=>y(C)},C.id),children:[(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:o,onChange:e=>{s(e),w()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`}),(0,U.jsx)(ZU,{label:e(`filterType`),value:c,onChange:e=>{l(e),w()},groups:[{key:`type`,label:e(`colType`),options:[`LABEL`,`WAIT_UNTIL_DISAPPEAR`,`EXCLUDE`,`PREDEFINED`].map(t=>({value:t,label:e(c8[t]),dotClassName:l8[t]}))},{key:`platform`,label:e(`filterPlatform`),options:[`WEB`,`MOBILE`,`IOS`,`ANDROID`].map(t=>({value:t,label:e(u8[t])}))}]})]}),S.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{s(``),l({}),w()},children:e(`resetFilters`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:D,rows:S,rowKey:e=>e.id??`${e.name}-${a8(e)}`,density:`compact`,sort:u,onSortChange:e=>{d(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`asc`}),w()},selectedKey:g,onRowClick:e=>_(e.id??null),rowActions:T,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:f,pageSize:m,total:x,pageSizeOptions:T$e,onPageChange:p,onPageSizeChange:e=>{h(e),w()},itemLabel:e(`rowsTags`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),(0,U.jsx)(xT,{open:!!v,onOpenChange:e=>!e&&y(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`deleteTitle`)}),(0,U.jsx)(ET,{children:e(`deleteMessage`,{name:v?.name??``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>y(null),disabled:a.isPending,children:e(`deleteCancel`)}),(0,U.jsxs)(Z,{variant:`destructive`,onClick:E,disabled:a.isPending,children:[(0,U.jsx)($b,{}),e(`deleteConfirm`)]})]})]})})]})}function D$e(){return(0,U.jsx)(E$e,{})}var d8=[`#E03131`,`#F08C00`,`#2F9E44`,`#1971C2`,`#6741D9`,`#0B7285`,`#C2255C`,`#495057`,`#12B886`,`#7048E8`];function O$e({open:e,mode:t,tag:n,companyId:r,teamId:i,onClose:a}){let o=X(`pages.tools.testTags`),s=t===`edit`&&!!n?.id,[c,l]=(0,O.useState)(n?.name??``),[u,d]=(0,O.useState)(n?.color??d8[3]),[f,p]=(0,O.useState)(n?.type??`ENTITY_BOUND`),m=ZHe(i),h=QHe(i),g=m.isPending||h.isPending,_=(0,O.useMemo)(()=>[{label:o(`typeEntity`),value:`ENTITY_BOUND`},{label:o(`typeDirectory`),value:`DIRECTORY_BOUND`}],[o]);function v(){let e=c.trim();if(!e){G.warning(o(`nameRequired`));return}if(s&&n?.id)h.mutate({id:n.id,payload:{name:e,color:u,type:n.type??f}},{onSuccess:()=>{G.success(o(`updated`)),a()},onError:e=>{let t=e?.response?.status;G.error(o(t===409?`duplicateName`:`saveFailed`))}});else{let t={name:e,color:u,type:f,companyId:r,teamId:i};m.mutate(t,{onSuccess:()=>{G.success(o(`created`)),a()},onError:e=>{let t=e?.response?.status;G.error(o(t===409?`duplicateName`:`saveFailed`))}})}}return(0,U.jsx)(xT,{open:e,onOpenChange:e=>!e&&a(),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsx)(CT,{children:(0,U.jsx)(TT,{children:o(s?`editTitle`:`createTitle`)})}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-4 py-2`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`test-tag-name`,children:o(`fieldName`)}),(0,U.jsx)(IT,{id:`test-tag-name`,value:c,onChange:e=>l(e.target.value),placeholder:o(`namePlaceholder`),autoFocus:!0})]}),!s&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`test-tag-type`,children:o(`fieldType`)}),(0,U.jsxs)(OT,{value:f,onValueChange:e=>p(e),children:[(0,U.jsx)(AT,{id:`test-tag-type`,children:(0,U.jsx)(kT,{})}),(0,U.jsx)(jT,{children:_.map(e=>(0,U.jsx)(MT,{value:e.value,children:e.label},e.value))})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`fieldColor`)}),(0,U.jsx)(`div`,{className:`flex flex-wrap items-center gap-2`,children:d8.map(e=>(0,U.jsx)(`button`,{type:`button`,onClick:()=>d(e),className:W(`size-7 rounded-full border-2 transition-shadow`,u===e?`border-primary ring-primary/30 ring-2`:`border-border`),style:{backgroundColor:e},"aria-label":e},e))})]})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:a,disabled:g,children:o(`cancel`)}),(0,U.jsxs)(Z,{onClick:v,disabled:g||!c.trim(),children:[g&&(0,U.jsx)(gb,{className:`animate-spin`}),o(s?`save`:`createBtn`)]})]})]})})}var k$e=[10,25,50];function A$e(){let e=X(`pages.tools.testTags`),{activeCompanyID:t,activeTeamID:n}=NT(),{currentUser:r}=Hw(),i=W$(n),a=$He(n),o=eUe(n),s=tUe(n),c=(0,O.useMemo)(()=>{let e=r?.roles??[];return e.length>0&&e.every(e=>e===`USER`)},[r]),l=!c||o.data!==!1,[u,d]=(0,O.useState)(``),[f,p]=(0,O.useState)({key:`name`,dir:`asc`}),[m,h]=(0,O.useState)(1),[g,_]=(0,O.useState)(10),[v,y]=(0,O.useState)(null),[b,x]=(0,O.useState)(null),S=(0,O.useMemo)(()=>i.data??[],[i.data]),C=(0,O.useMemo)(()=>{let e=u.trim().toLowerCase(),t=S.filter(t=>!e||t.name.toLowerCase().includes(e)),n=f.dir===`asc`?1:-1;return[...t].sort((e,t)=>
339{switch(f.key){case`name`:return e.name.localeCompare(t.name)*n;case`type`:return(e.type??``).localeCompare(t.type??``)*n;default:return e.name.localeCompare(t.name)*n}})},[S,u,f]),w=C.length,T=(0,O.useMemo)(()=>C.slice((m-1)*g,m*g),[C,m,g]);function E(){h(1)}function D(t){s.mutate(t,{onSuccess:()=>G.success(e(t?`permissionEnabled`:`permissionDisabled`)),onError:()=>G.error(e(`permissionFailed`))})}function k(t){return[{label:e(`actEdit`),icon:jb,disabled:!l,onSelect:()=>x({mode:`edit`,tag:t})},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,disabled:!t.id||!l,onSelect:()=>y(t)}]}function A(){let t=v;t?.id&&a.mutate(t.id,{onSuccess:()=>{G.success(e(`deleted`)),y(null)},onError:()=>G.error(e(`deleteFailed`))})}let j=[{key:`name`,header:e(`colName`),width:`1.5fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:e.name})},{key:`color`,header:e(`colColor`),width:`80px`,cell:e=>{let t=e.type===`DIRECTORY_BOUND`?lb:voe;return(0,U.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,U.jsx)(t,{className:`size-4`,style:{color:e.color??`#ced4da`}})})}},{key:`type`,header:e(`colType`),width:`160px`,sortable:!0,cell:t=>{let n=t.type===`DIRECTORY_BOUND`;return(0,U.jsx)(`span`,{className:W(`inline-flex w-fit items-center justify-center rounded-md px-1.5 py-0.5 text-[10px] font-bold`,n?`text-brand bg-brand/10`:`text-muted-foreground bg-surface-alt`),children:e(n?`typeDirectory`:`typeEntity`)})}}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[560px] text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsxs)(Z,{size:`sm`,onClick:()=>x({mode:`create`,tag:null}),disabled:!l,children:[(0,U.jsx)(Pb,{}),e(`newTag`)]})]}),(0,U.jsx)(QU,{query:i,isEmpty:e=>e.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(Qb,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`),action:(0,U.jsxs)(Z,{onClick:()=>x({mode:`create`,tag:null}),disabled:!l,children:[(0,U.jsx)(Pb,{}),e(`newTag`)]})}),children:()=>(0,U.jsxs)(UU,{children:[(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:u,onChange:e=>{d(e),E()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`}),!c&&(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(DT,{htmlFor:`allow-user-tags`,className:`text-muted-foreground text-[11.5px] font-normal`,children:e(`allowUsersLabel`)}),(0,U.jsx)(uQ,{id:`allow-user-tags`,checked:o.data??!0,onCheckedChange:D,disabled:s.isPending})]})]}),T.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{d(``),E()},children:e(`resetSearch`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:j,rows:T,rowKey:e=>e.id??e.name,density:`compact`,sort:f,onSortChange:e=>{p(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`asc`}),E()},onRowClick:e=>l&&x({mode:`edit`,tag:e}),rowActions:k,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:m,pageSize:g,total:w,pageSizeOptions:k$e,onPageChange:h,onPageSizeChange:e=>{_(e),E()},itemLabel:e(`rowsTags`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),b&&(0,U.jsx)(O$e,{open:!0,mode:b.mode,tag:b.tag,companyId:t,teamId:n,onClose:()=>x(null)}),(0,U.jsx)(xT,{open:!!v,onOpenChange:e=>!e&&y(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`deleteTitle`)}),(0,U.jsx)(ET,{children:e(`deleteMessage`,{name:v?.name??``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>y(null),disabled:a.isPending,children:e(`deleteCancel`)}),(0,U.jsxs)(Z,{variant:`destructive`,onClick:A,disabled:a.isPending,children:[a.isPending&&(0,U.jsx)(gb,{className:`animate-spin`}),(0,U.jsx)($b,{}),e(`deleteConfirm`)]})]})]})})]})}function j$e(){return(0,U.jsx)(A$e,{})}var f8=new class{constructor(){this.BASE_URL=`/v1/scenario-file`}async search(e){let{data:t}=await J.get(`${this.BASE_URL}/search`,{params:{name:e.name??``,page:e.page,size:e.size,companyId:e.companyId,teamId:e.teamId}});return t}async create(e){let{data:t}=await J.post(this.BASE_URL,e);return t}async update(e){let{data:t}=await J.put(this.BASE_URL,e);return t}async delete(e){await J.delete(`${this.BASE_URL}/${e}`)}},M$e=6e4,N$e=500;function P$e(e,t,n){return nc({queryKey:Y.scenarioFiles.list(e,t),queryFn:()=>f8.search({page:0,size:N$e,companyId:e,teamId:t}),enabled:n&&!!e&&!!t,select:e=>e.content??[],staleTime:M$e})}function p8(){let e=Us();return(t,n)=>e.invalidateQueries({queryKey:Y.scenarioFiles.list(t,n)})}function F$e(){let e=p8();return rc({mutationFn:e=>f8.create(e),onSuccess:t=>e(t.companyId,t.teamId)})}function I$e(){let e=p8();return rc({mutationFn:e=>f8.update(e),onSuccess:t=>e(t.companyId,t.teamId)})}function L$e(e,t){let n=p8();return rc({mutationFn:e=>f8.delete(e),onSuccess:()=>n(e,t)})}var R$e=10485760;function z$e({open:e,mode:t,initial:n,companyId:r,teamId:i,onClose:a}){let o=`${t}:${n?.id??n?.fileKey??`new`}:${n?.updateTime??``}`;return(0,U.jsx)(xT,{open:e,onOpenChange:e=>!e&&a(),children:e?(0,U.jsx)(B$e,{mode:t,initial:n,companyId:r,teamId:i,onClose:a},o):null})}function B$e({mode:e,initial:t,companyId:n,teamId:r,onClose:i}
339){let a=X(`pages.tools.scenarioFiles`),o=F$e(),s=I$e(),[c,l]=(0,O.useState)(t?.name??``),[u,d]=(0,O.useState)(t?.description??``),[f,p]=(0,O.useState)(null),[m,h]=(0,O.useState)(!1),[g,_]=(0,O.useState)(!1),v=(0,O.useRef)(null),y=(0,O.useCallback)(e=>{e.size>R$e||(p(e),c.trim()||l(e.name))},[c]),b=(0,O.useCallback)(e=>{e.preventDefault(),_(!1);let t=e.dataTransfer.files?.[0];t&&y(t)},[y]),x=(0,O.useCallback)(e=>{let t=e.target.files?.[0];t&&y(t)},[y]),S=e===`create`?!!(c.trim()&&f):!!c.trim();async function C(){if(S){h(!0);try{if(e===`create`){let e=new File([f],c.trim(),{type:f.type}),t=await fW.uploadScenarioFile(e,n,r);await o.mutateAsync({companyId:n,teamId:r,fileKey:t.fileKey,name:c.trim(),description:u.trim()||void 0,bucket:t.bucket}),G.success(a(`created`))}else t&&(await s.mutateAsync({...t,name:c.trim(),description:u.trim()||void 0}),G.success(a(`updated`)));i()}catch{G.error(a(`saveFailed`))}finally{h(!1)}}}return(0,U.jsxs)(ST,{className:`sm:max-w-[520px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:a(e===`create`?`createTitle`:`editTitle`)}),(0,U.jsx)(ET,{children:a(e===`create`?`createSubtitle`:`editSubtitle`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-4 py-2`,children:[e===`create`&&(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`input`,{ref:v,type:`file`,className:`hidden`,onChange:x}),f?(0,U.jsxs)(`div`,{className:`border-border bg-surface-alt flex items-center justify-between rounded-lg border px-3 py-2`,children:[(0,U.jsx)(`span`,{className:`text-fg-body truncate text-[13px]`,children:f.name}),(0,U.jsx)(Z,{variant:`ghost`,size:`sm`,onClick:()=>{p(null),v.current&&(v.current.value=``)},children:a(`cancel`)})]}):(0,U.jsxs)(`button`,{type:`button`,className:W(`border-border hover:border-primary/40 flex w-full flex-col items-center gap-2 rounded-xl border-2 border-dashed px-4 py-8 transition-colors`,g&&`border-primary bg-primary/5`),onClick:()=>v.current?.click(),onDragOver:e=>{e.preventDefault(),_(!0)},onDragLeave:()=>_(!1),onDrop:b,children:[(0,U.jsx)(Uoe,{className:`text-muted-foreground size-8`,strokeWidth:1.4}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[13px] font-medium`,children:a(`dropTitle`)}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px]`,children:a(`dropHint`)})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`sf-name`,children:a(`labelName`)}),(0,U.jsx)(IT,{id:`sf-name`,value:c,onChange:e=>l(e.target.value),placeholder:a(`placeholderName`),disabled:m})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`sf-desc`,children:a(`labelDescription`)}),(0,U.jsx)($3,{id:`sf-desc`,value:u,onChange:e=>d(e.target.value),placeholder:a(`placeholderDescription`),rows:3,disabled:m})]}),e===`edit`&&t?.fileKey&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{className:`text-muted-foreground`,children:a(`labelFileKey`)}),(0,U.jsx)(`div`,{className:`bg-surface-alt text-muted-foreground rounded-lg px-3 py-2 font-mono text-[11px]`,children:t.fileKey})]})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:i,disabled:m,children:a(`cancel`)}),(0,U.jsx)(Z,{onClick:C,disabled:!S||m,children:a(m?`saving`:e===`create`?`create`:`save`)})]})]})}var V$e=[10,25,50];function H$e(e){return e?XT(e):`-`}function U$e({icon:e,label:t,value:n}){return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-1.5 rounded-xl border-[0.5px] p-3.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t}),(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet grid size-[18px] place-items-center rounded-[5px]`,children:(0,U.jsx)(e,{className:`size-3`})})]}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[22px] leading-none font-bold tracking-[-0.02em] tabular-nums`,children:n})]})}function W$e(){let e=X(`pages.tools.scenarioFiles`),{activeCompanyID:t,activeTeamID:n,loading:r}=NT(),i=P$e(t,n,!r&&!!t&&!!n),a=L$e(t,n),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)({key:`created`,dir:`desc`}),[u,d]=(0,O.useState)(1),[f,p]=(0,O.useState)(10),[m,h]=(0,O.useState)(null),[g,_]=(0,O.useState)(null),v=(0,O.useMemo)(()=>i.data??[],[i.data]),y=(0,O.useMemo)(()=>{let e=o.trim().toLowerCase(),t=v.filter(t=>!e||t.name.toLowerCase().includes(e)||(t.description??``).toLowerCase().includes(e)),n=c.dir===`asc`?1:-1;return[...t].sort((e,t)=>
339{switch(c.key){case`name`:return e.name.localeCompare(t.name)*n;default:return((e.creationTime??0)-(t.creationTime??0))*n}})},[v,o,c]),b=y.length,x=(0,O.useMemo)(()=>y.slice((u-1)*f,u*f),[y,u,f]);function S(){d(1)}async function C(t){try{let n=t.fileKey.split(`/`);if(n.length<3){G.error(e(`downloadFailed`));return}let r=t.bucket||`scenario-files`,i=n[0],a=n[1],o=n.slice(2).join(`/`),{data:s}=await J.get(`/v1/storage/${r}/${i}/${a}/${o}`,{responseType:`blob`}),c=URL.createObjectURL(s),l=document.createElement(`a`);l.href=c,l.download=t.name||o,document.body.appendChild(l),l.click(),URL.revokeObjectURL(c),document.body.removeChild(l),G.success(e(`downloaded`))}catch{G.error(e(`downloadFailed`))}}function w(t){return[{label:e(`actDownload`),icon:Qy,onSelect:()=>C(t)},{label:e(`actEdit`),icon:jb,onSelect:()=>_({mode:`edit`,source:t})},{label:e(`actCopyId`),icon:Yy,disabled:!t.id,onSelect:()=>{t.id&&(navigator.clipboard.writeText(t.id).catch(()=>{}),G.success(e(`copiedId`)))}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,disabled:!t.id,onSelect:()=>h(t)}]}function T(){let t=m;t?.id&&a.mutate(t.id,{onSuccess:()=>{G.success(e(`deleted`)),h(null)},onError:()=>G.error(e(`deleteFailed`))})}let E=[{key:`name`,header:e(`colName`),width:`2fr`,sortable:!0,cell:e=>(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:e.name}),e.description&&(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[11px]`,children:e.description})]})},{key:`createdBy`,header:e(`colCreatedBy`),width:`1fr`,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-body text-[11.5px]`,children:e.createdBy??`-`})},{key:`created`,header:e(`colCreated`),width:`1fr`,sortable:!0,cell:e=>(0,U.jsx)(`div`,{className:`flex flex-col text-[11.5px] tabular-nums`,children:(0,U.jsx)(`span`,{className:`text-fg-body`,children:H$e(e.creationTime)})})}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[560px] text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsxs)(Z,{size:`sm`,onClick:()=>_({mode:`create`,source:null}),children:[(0,U.jsx)(Pb,{}),e(`newFile`)]})]}),(0,U.jsx)(QU,{query:i,isEmpty:e=>e.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(ob,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`),action:(0,U.jsxs)(Z,{onClick:()=>_({mode:`create`,source:null}),children:[(0,U.jsx)(Pb,{}),e(`emptyCta`)]})}),children:()=>(0,U.jsxs)(UU,{children:[(0,U.jsx)(`div`,{className:`mb-3`,children:(0,U.jsx)(U$e,{icon:ob,label:e(`kpiTotal`),value:ZT(v.length)})}),(0,U.jsx)(qU,{children:(0,U.jsx)(JU,{value:o,onChange:e=>{s(e),S()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`})}),x.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{s(``),S()},children:e(`resetFilters`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:E,rows:x,rowKey:e=>e.id??e.name,density:`compact`,sort:c,onSortChange:e=>{l(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`asc`}),S()},onRowClick:e=>_({mode:`edit`,source:e}),rowActions:w,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:u,pageSize:f,total:b,pageSizeOptions:V$e,onPageChange:d,onPageSizeChange:e=>{p(e),S()},itemLabel:e(`rowsFiles`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),g&&(0,U.jsx)(z$e,{open:!0,mode:g.mode,initial:g.source,companyId:t,teamId:n,onClose:()=>_(null)}),(0,U.jsx)(xT,{open:!!m,onOpenChange:e=>!e&&h(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`deleteTitle`)}),(0,U.jsx)(ET,{children:e(`deleteMessage`,{name:m?.name??``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>h(null),disabled:a.isPending,children:e(`deleteCancel`)}),(0,U.jsxs)(Z,{variant:`destructive`,onClick:T,disabled:a.isPending,children:[(0,U.jsx)($b,{}),e(`deleteConfirm`)]})]})]})})]})}function G$e(){return(0,U.jsx)(W$e,{})}function K$e(){if(typeof window>`u`)return`prod`;let e=window.location.hostname;return e===`localhost`||e.startsWith(`127.`)||e===`cloud-test.text2test.ai`?`test`:`prod`}var q$e={test:`https://761018872910-text2test-extension-test.s3.eu-west-1.amazonaws.com/extension-test-latest.zip`,prod:`https://chromewebstore.google.com/detail/text2test-crx/cnfgbhjcljelphpkmmbjjiomgneeanob`};function J$e(){return q$e[K$e()]}var Y$e=[{key:`watch`,icon:nb},{key:`interact`,icon:Eb},{key:`sequences`,icon:Fb}];function X$e(){let e=X(`pages.web.getExtension`);return R3()?(0,U.jsx)(Qr,{to:`/web/get-extension/installed`,replace:!0}):(0,U.jsxs)(`div`,{className:`mx-auto max-w-[960px] pt-8 pb-20 text-center`,children:[(0,U.jsx)(`p`,{className:`text-brand text-[11px] font-bold tracking-[0.14em] uppercase`,children:e(`eyebrow`)}
339),(0,U.jsxs)(`div`,{"aria-hidden":!0,className:`relative mx-auto mt-9 mb-8 size-[120px]`,children:[(0,U.jsx)(`div`,{className:`bg-violet/10 absolute inset-0 rounded-full`}),(0,U.jsx)(`div`,{className:`bg-violet absolute top-1/2 left-1/2 grid size-[72px] -translate-x-1/2 -translate-y-1/2 place-items-center rounded-2xl text-white shadow-[0_10px_24px_rgba(99,102,241,0.35)]`,children:(0,U.jsx)(Fb,{className:`size-8`})}),(0,U.jsx)(`span`,{className:`bg-violet absolute top-[10px] right-[8px] size-[7px] rounded-full`}),(0,U.jsx)(`span`,{className:`bg-violet absolute right-[-4px] bottom-[36px] size-[5px] rounded-full`}),(0,U.jsx)(`span`,{className:`bg-violet absolute bottom-[8px] left-[12px] size-[6px] rounded-full`})]}),(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong mx-auto max-w-[820px] text-[48px] leading-[1.12] font-bold tracking-[-0.02em] [text-wrap:balance]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-fg-body mx-auto mt-4 max-w-[640px] text-[16px] leading-relaxed`,children:e(`subtitle`)}),(0,U.jsxs)(`div`,{className:`mt-8`,children:[(0,U.jsx)(Z,{asChild:!0,size:`lg`,children:(0,U.jsxs)(`a`,{href:J$e(),target:`_blank`,rel:`noreferrer`,children:[(0,U.jsx)(Qy,{}),e(`install`)]})}),(0,U.jsx)(`p`,{className:`text-fg-hint mt-3 text-[12px]`,children:e(`installHint`)}),(0,U.jsxs)(`p`,{className:`bg-warning-soft text-warning-foreground mt-5 inline-flex items-center gap-2 rounded-full px-4 py-2 text-[12.5px] leading-snug`,children:[(0,U.jsx)(db,{className:`size-3.5 shrink-0`}),(0,U.jsx)(`span`,{children:e.rich(`chromeOnly`,{b:e=>(0,U.jsx)(`strong`,{className:`font-semibold`,children:e})})})]})]}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-16 mb-4 text-[9.5px] font-semibold tracking-[0.12em] uppercase`,children:e(`whatItDoes`)}),(0,U.jsx)(`div`,{className:`mx-auto flex max-w-[620px] flex-col gap-3`,children:Y$e.map(({key:t,icon:n})=>(0,U.jsxs)(`div`,{className:`border-border bg-surface flex items-center gap-4 roun
339ded-[14px] border-[0.5px] px-5 py-4 text-left shadow-[0_4px_16px_rgba(17,34,157,0.05)]`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet grid size-11 shrink-0 place-items-center rounded-[12px]`,children:(0,U.jsx)(n,{className:`size-5`})}),(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block text-[13.5px] font-semibold`,children:e(`features.${t}.title`)}),(0,U.jsx)(`span`,{className:`text-muted-foreground block text-[12.5px] leading-relaxed`,children:e(`features.${t}.description`)})]})]},t))})]})}function Z$e(){return(0,U.jsx)(X$e,{})}function Q$e(){let e=X(`pages.web.getExtension.installed.step2`),t=X(`pages.web.editor`),n=X(`layout.appSidebar`),[r,i]=(0,O.useState)(!1),[a,o]=(0,O.useState)(!1),[s,c]=(0,O.useState)(!0),[l,u]=(0,O.useState)({x:60,y:380,on:!1}),d=(0,O.useRef)(null),f=(0,O.useRef)(null),p=(0,O.useRef)(null),m=(0,O.useRef)(null),h=(0,O.useRef)([]),g=(0,O.useCallback)(()=>{h.current.forEach(e=>clearTimeout(e)),h.current=[]},[]),_=(0,O.useCallback)(e=>{let t=d.current;if(!t||!e)return;let n=t.getBoundingClientRect(),r=e.getBoundingClientRect();u({x:r.left-n.left+r.width/2,y:r.top-n.top+r.height/2,on:!0})},[]),v=(0,O.useCallback)(()=>{g(),i(!1),o(!1),c(!0),u({x:60,y:380,on:!1});let e=(e,t)=>h.current.push(window.setTimeout(t,e));e(200,()=>u(e=>({...e,on:!0}))),e(1200,()=>_(f.current)),e(2100,()=>i(!0)),e(3200,()=>_(p.current)),e(3800,()=>o(!0)),e(4900,()=>_(m.current)),e(5500,()=>c(!1)),e(6600,()=>u(e=>({...e,on:!1})))},[g,_]);return(0,O.useEffect)(()=>{let e=window.setTimeout(v,350);return()=>{clearTimeout(e),g()}},[v,g]),(0,U.jsxs)(`div`,{ref:d,className:`border-border bg-surface relative h-[520px] overflow-hidden rounded-[14px] border-[0.5px] shadow-[0_4px_16px_rgba(17,34,157,0.05)]`,children:[(0,U.jsxs)(`div`,{className:`flex h-full`,children:[(0,U.jsxs)(`div`,{"aria-hidden":!0,className:`border-divider bg-surface hidden w-[220px] shrink-0 flex-col border-r px-3 pt-4 sm:flex`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2 px-2 pb-5`,children:[(0,U.jsx)(`span`,{className:`bg-violet grid size-6 place-items-center rounded-[7px] text-[11px] font-bold text-white`,children:`T`}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[13px] font-semibold`,children:`Text2Test`})]}),(0,U.jsxs)(m8,{label:n(`groupWebTest`),children:[(0,U.jsx)(h8,{label:e(`mockNavOverview`)}),(0,U.jsx)(h8,{label:e(`mockNavTestEditor`),active:!0}),(0,U.jsx)(h8,{label:n(`navTestResults`)}),(0,U.jsx)(h8,{label:n(`navGetExtension`)})]}),(0,U.jsxs)(m8,{label:e(`mockGroupMobileTest`),children:[(0,U.jsx)(h8,{label:e(`mockNavOverview`)}),(0,U.jsx)(h8,{label:e(`mockNavDevicePark`)})]})]}),(0,U.jsxs)(`div`,{"aria-hidden":!0,className:`bg-surface-alt/50 min-w-0 flex-1 px-7 pt-5`,children:[(0,U.jsx)(`p`,{className:`text-fg-hint text-[11px]`,children:e(`mockCrumb`)}),(0,U.jsx)(`h3`,{className:`font-heading text-fg-strong mt-1 mb-4 text-[18px] font-bold tracking-[-0.01em]`,children:e(`mockTitle`)}),(0,U.jsx)(`div`,{className:`border-border bg-surface mr-14 rounded-[10px] border-[0.5px] p-4`,children:[82,64,74,58,68,50,78,92].map((e,t)=>(0,U.jsxs)(`div`,{className:`flex items-center gap-3 py-[9px]`,children:[(0,U.jsx)(`span`,{className:`text-fg-hint w-3 text-right text-[10px]`,children:t+1}),(0,U.jsx)(`span`,{className:`bg-surface-alt h-2 rounded-full`,style:{width:`${e}%`}})]},t))})]})]}),(0,U.jsxs)(`div`,{className:`absolute top-14 right-4 flex flex-col gap-2`,children:[(0,U.jsxs)(`button`,{type:`button`,ref:f,onClick:()=>i(e=>!e),"aria-label":t(`browserExtension`),className:`border-violet bg-violet relative grid size-9 place-items-center rounded-[10px] border-[0.5px] text-white shadow-sm`,children:[!r&&(0,U.jsx)(`span`,{"aria-hidden":!0,className:`bg-violet/40 absolute inset-0 animate-ping rounded-[10px]`}),(0,U.jsx)(Fb,{className:`size-4`})]}),(0,U.jsx)(`span`,{"aria-hidden":!0,className:`border-border bg-surface text-muted-foreground grid size-9 place-items-center rounded-[10px] border-[0.5px] shadow-sm`,children:(0,U.jsx)(ob,{className:`size-4`})}
339),(0,U.jsx)(`span`,{"aria-hidden":!0,className:`border-border bg-surface text-muted-foreground grid size-9 place-items-center rounded-[10px] border-[0.5px] shadow-sm`,children:(0,U.jsx)(Dy,{className:`size-4`})})]}),(0,U.jsxs)(`div`,{className:W(`border-border bg-surface absolute top-14 right-16 w-[300px] origin-top-right rounded-[12px] border-[0.5px] shadow-[0_2px_4px_rgba(15,17,30,0.08),0_8px_22px_rgba(91,108,255,0.22)] transition-all duration-[220ms]`,r?`scale-100 opacity-100`:`pointer-events-none scale-[0.92] opacity-0`),children:[(0,U.jsxs)(`div`,{className:`border-divider text-fg-strong flex items-center gap-2 border-b px-3.5 py-3 text-[13px] font-semibold`,children:[(0,U.jsx)(Fb,{className:`text-violet size-3.5`}),t(`browserExtension`),(0,U.jsx)(`button`,{type:`button`,onClick:()=>i(!1),"aria-label":e(`mockClose`),className:`text-fg-hint hover:text-fg-strong ml-auto grid size-5 place-items-center rounded`,children:(0,U.jsx)(ox,{className:`size-3.5`})})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-3 p-3.5`,children:[(0,U.jsx)(g8,{label:t(`extUse`),checked:!0,onCheckedChange:()=>void 0}),(0,U.jsx)(g8,{ref:p,label:t(`extTerminate`),checked:a,onCheckedChange:o}),(0,U.jsx)(g8,{ref:m,label:t(`extIncognito`),checked:s,onCheckedChange:c})]})]}),(0,U.jsx)(`span`,{"aria-hidden":!0,className:`pointer-events-none absolute z-10 transition-all duration-700 ease-[cubic-bezier(.4,0,.2,1)]`,style:{left:l.x,top:l.y,opacity:+!!l.on},children:(0,U.jsx)(Eb,{className:`fill-fg-strong text-surface size-5 drop-shadow`})}),(0,U.jsxs)(`button`,{type:`button`,onClick:v,className:`border-border bg-surface text-fg-body hover:border-violet hover:text-violet absolute right-4 bottom-4 inline-flex items-center gap-1.5 rounded-full border-[0.5px] px-3.5 py-1.5 text-[12px] font-medium shadow-sm`,children:[(0,U.jsx)(Lb,{className:`size-3.5`}),e(`replay`)]})]})}function m8({label:e,children:t}){return(0,U.jsxs)(`div`,{className:`mb-4`,children:[(0,U.jsx)(`p`,{className:`text-fg-hint px-2 pb-1.5 text-[9.5px] font-semibold tracking-[0.12em] uppercase`,children:e}),(0,U.jsx)(`div`,{className:`flex flex-col gap-0.5`,children:t})]})}function h8({label:e,active:t}){return(0,U.jsx)(`span`,{className:W(`rounded-[8px] px-2 py-1.5 text-[12px]`,t?`bg-violet-pale text-violet-dark border-violet border-l-2 font-medium`:`text-fg-body`),children:e})}function g8({ref:e,label:t,checked:n,onCheckedChange:r}){let i=X(`pages.web.getExtension.installed.step2`);return(0,U.jsxs)(`div`,{ref:e,className:`flex items-center justify-between`,children:[(0,U.jsxs)(`span`,{className:`text-fg-body inline-flex items-center gap-1.5 text-[12.5px]`,children:[t,(0,U.jsx)(db,{className:`text-fg-hint size-3`,"aria-label":i(`mockInfo`)})]}),(0,U.jsx)(uQ,{checked:n,onCheckedChange:r,"aria-label":t})]})}function $$e(){let e=X(`pages.web.getExtension.installed`);return(0,U.jsxs)(`div`,{className:`mx-auto max-w-[820px] px-4 pt-8 pb-20`,children:[(0,U.jsxs)(`div`,{className:`mb-14 text-center`,children:[(0,U.jsxs)(`p`,{className:`text-status-passed inline-flex items-center gap-1.5 text-[11px] font-bold tracking-[0.14em] uppercase`,children:[(0,U.jsx)(`span`,{"aria-hidden":!0,className:`bg-status-passed animate-status-pulse size-1.5 rounded-full`}),e(`connected`)]}),(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong mx-auto mt-3 max-w-[640px] text-[34px] leading-[1.2] font-bold tracking-[-0.02em] [text-wrap:balance]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-fg-body mx-auto mt-3 max-w-[560px] text-[14.5px] leading-relaxed`,children:e(`subtitle`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-14`,children:[(0,U.jsxs)(_8,{index:1,title:e(`step1.title`),description:e(`step1.description`),children:[(0,U.jsx)(e1e,{}),(0,U.jsxs)(`div`,{className:`bg-violet-pale text-violet-dark mt-4 flex items-start gap-2.5 rounded-[10px] px-4 py-3 text-[12.5px] leading-relaxed`,children:[(0,U.jsx)(Wb,{className:`mt-0.5 size-4 shrink-0`}),(0,U.jsx)(`span`,{children:e(`step1.callout`)})]})]}),(0,U.jsx)(_8,{index:2,title:e(`step2.title`),description:e(`step2.description`),children:(0,U.jsx)(Q$e,{})}),(0,U.jsx)(_8,{index:3,title:e(`step3.title`),description:e(`step3.description`),children:(0,U.jsx)(t1e,{})})]})]})}function _8({index:e,title:t,description:n,children:r}){return(0,U.jsxs)(`section`,{children:[(0,U.jsxs)(`div`,{className:`mb-3 flex items-center gap-3`,children:[(0,U.jsx)(`span`,{className:`bg-brand grid size-[38px] shrink-0 place-items-center rounded-[10px] text-[15px] font-bold text-white`,children:e}),(0,U.jsx)(`h2`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:t})]}),(0,U.jsx)(`p`,{className:`text-fg-body mb-4 ml-[50px] text-[13.5px] leading-relaxed`,children:n}),r]})}function e1e(){let e=X(`pages.web.getExtension.installed.step1`);return(0,U.jsxs)(`div`,{className:`rounded-[12px] bg-[#1f2124] font-mono text-[12.5px] text-[#e2e2e2] shadow-[0_4px_16px_rgba(17,34,157,0.05)]`,children:[(0,U.jsx)(v8,{label:e(`siteAccess`),desc:e(`siteAccessDesc`),trailing:(0,U.jsx)(`span`,{className:`rounded-md bg-[#2c2e32] px-2.5 py-1 text-[11px]`,children:e(`onAllSites`)})}),(0,U.jsx)(v8,{label:e(`siteSettings`),trailing:(0,U.jsx)(eb,{className:`size-3.5 text-[#8ab4f8]`})}),(0,U.jsx)(v8,{label:e(`pinToToolbar`),trailing:(0,U.jsx)(Noe,{className:`size-3.5 text-[#8ab4f8]`}),toggleOn:!0}),(0,U.jsx)(v8,{highlight:!0,label:e(`allowIncognito`),labelColor:!0,desc:e(`allowIncognitoDesc`),toggleOn:!0}),(0,U.jsx)(v8,{label:e(`allowFileUrls`),toggleOn:!0}),(0,U.jsx)(v8,{label:e(`collectErrors`),toggleOn:!0}),(0,U.jsxs)(`div`,{className:`px-4 py-3.5`,children:[(0,U.jsx)(`p`,{className:`text-[11px] text-[#9aa0a6]`,children:e(`source`)}),(0,U.jsx)(`p`,{className:`mt-0.5 text-[#8ab4f8] underline`,children:e(`sourcePath`)})]})]})}function v8({label:e,labelColor:t,desc:n,trailing:r,toggleOn:i,highlight:a}){return(0,U.jsxs)(`div`,{className:`flex items-center justify-between gap-4 border-b border-[#2c2e32] px-4 py-3.5 last:border-b-0 ${a?`bg-[#8ab4f8]/[0.08]`:``}`,children:[(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`p`,{className:t?`text-[#8ab4f8]`:`text-[#e2e2e2]`,children:e}),n&&(0,U.jsx)(`p`,{className:`mt-1 max-w-[420px] text-[11px] leading-relaxed text-[#9aa0a6]`,children:n})]}
339),i?(0,U.jsx)(`span`,{"aria-hidden":!0,className:`h-[18px] w-8 shrink-0 rounded-full bg-[#8ab4f8]`}):r]})}function t1e(){let e=X(`pages.web.getExtension.installed.step3`);return(0,U.jsxs)(`div`,{className:`border-border bg-surface overflow-hidden rounded-[14px] border-[0.5px] shadow-[0_4px_16px_rgba(17,34,157,0.05)]`,children:[(0,U.jsxs)(`div`,{className:`border-divider bg-surface-alt/40 border-b p-4`,children:[(0,U.jsxs)(`div`,{className:`mb-4 flex items-center gap-1.5`,children:[(0,U.jsx)(`span`,{className:`size-2.5 rounded-full bg-[#ff5f57]`}),(0,U.jsx)(`span`,{className:`size-2.5 rounded-full bg-[#febc2e]`}),(0,U.jsx)(`span`,{className:`size-2.5 rounded-full bg-[#28c840]`})]}),(0,U.jsx)(`div`,{className:`bg-surface-alt mb-2 h-2.5 w-[68%] rounded-full`}),(0,U.jsx)(`div`,{className:`bg-surface-alt mb-2 h-2.5 w-[46%] rounded-full`}),(0,U.jsx)(`div`,{className:`bg-surface-alt mb-6 h-2.5 w-[74%] rounded-full`}),(0,U.jsxs)(`div`,{className:`relative inline-block`,children:[(0,U.jsx)(`span`,{className:`border-violet text-violet-dark bg-violet-pale inline-block rounded-[10px] border-2 px-5 py-2.5 text-[13px] font-semibold`,children:e(`taggedButtonLabel`)}),(0,U.jsx)(`span`,{className:`bg-violet absolute -top-3 left-1/2 -translate-x-1/2 rounded-full px-2 py-0.5 text-[9.5px] font-semibold whitespace-nowrap text-white uppercase`,children:e(`taggedBadge`)})]})]}),(0,U.jsxs)(`div`,{className:`p-5`,children:[(0,U.jsx)(`h3`,{className:`text-violet mb-2 text-[15px] font-bold`,children:e(`whyTagTitle`)}),(0,U.jsx)(`p`,{className:`text-fg-body mb-3 text-[12.5px] leading-relaxed`,children:e(`whyTagBody`)}),(0,U.jsx)(`ol`,{className:`mb-4 flex flex-col gap-2`,children:[`step1`,`step2`,`step3`,`step4`].map((t,n)=>(0,U.jsxs)(`li`,{className:`text-fg-body flex items-start gap-2.5 text-[12.5px] leading-relaxed`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet-dark mt-0.5 grid size-4 shrink-0 place-items-center rounded-full text-[10px] font-bold`,children:n+1}),(0,U.jsx)(`span`,{children:e.rich(`whyTagSteps.${t}`,{code:e=>(0,U.jsx)(`code`,{className:`bg-surface-alt rounded px-1.5 py-0.5 font-mono text-[11.5px]`,children:e})})})]},t))}),(0,U.jsxs)(`button`,{type:`button`,className:`border-border text-fg-body hover:border-violet hover:text-violet inline-flex items-center gap-1.5 rounded-full border-[0.5px] px-3.5 py-1.5 text-[12px] font-medium`,children:[(0,U.jsx)(Lb,{className:`size-3.5`}),e(`replay`)]})]})]})}function n1e(){return(0,U.jsx)($$e,{})}var y8=`var(--font-lexend, 'Lexend', sans-serif)`,b8=`var(--font-rajdhani, 'Rajdhani', sans-serif)`,x8=`var(--font-geist-mono, ui-monospace, monospace)`,S8=[{id:`devicefarm.site-poco`,platform:`android`,status:`online`,type:`remote`},{id:`device-park.dependuck-A55`,platform:`android`,status:`online`,type:`remote`},{id:`enuygun-prod-dependuck-a33`,platform:`android`,status:`online`,type:`remote`},{id:`kkb-findeks-ios`,platform:`ios`,status:`online`,type:`remote`},{id:`testfarm-pixel-7a`,platform:`android`,status:`online`,type:`remote`},{id:`applelab-iphone-15`,platform:`ios`,status:`online`,type:`remote`}],C8=[{filename:`checkout-prod-v2.3.1.ipa`,uploadedAgo:`2 days ago`,size:`48.2 MB`},{filename:`checkout-staging-v2.3.0.ipa`,uploadedAgo:`5 days ago`,size:`47.9 MB`}],w8=[{n:1,label:`Create`,sub:`Name & settings`},{n:2,label:`Device`,sub:`Pick capability`},{n:3,label:`Application`,sub:`APK / IPA / build`},{n:4,label:`Review`,sub:`Confirm & create`}],r1e=()=>(0,U.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`,children:(0,U.jsx)(`path`,{d:`M6 6l12 12M6 18L18 6`})}),T8=()=>(0,U.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`,children:(0,U.jsx)(`path`,{d:`M6 9l6 6 6-6`})}),i1e=()=>(0,U.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`,children:(0,U.jsx)(`path`,{d:`M6 15l6-6 6 6`})}),a1e=()=>(0,U.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`,children:(0,U.jsx)(`path`,{d:`M14 6l-6 6 6 6`})}),o1e=()=>(0,U.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`,children:(0,U.jsx)(`path`,{d:`M10 6l6 6-6 6`})}),s1e=()=>(0,U.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`currentColor`,stroke:`none`,children:(0,U.jsx)(`path`,{d:`M7 5v14l12-7z`})}),c1e=()=>(0,U.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.4,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,U.jsx)(`path`,{d:`M21 5l-9 14-6-6`})}),l1e=()=>(0,U.jsxs)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.6,strokeLinecap:`round`,children:[(0,U.jsx)(`circle`,{cx:`11`,cy:`11`,r:`7`}),(0,U.jsx)(`path`,{d:`M16 16l5 5`})]}),u1e=()=>(0,U.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.4,strokeLinecap:`round`,children:[(0,U.jsx)(`rect`,{x:`8`,y:`3`,width:`10`,height:`18`,rx:`2`}),(0,U.jsx)(`path`,{d:`M12 19h2`})]}),d1e=()=>(0,U.jsx)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.4,strokeLinecap:`round`,children:(0,U.jsx)(`path`,{d:`M12 3v12M7 10l5 5 5-5M4 21h16`})}),f1e=()=>(0,U.jsxs)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.6,strokeLinecap:`round`,children:[(0,U.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,U.jsx)(`path`,{d:`M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2.5 2-2.5 3.5`}),(0,U.jsx)(`path`,{d:`M12 17h.01`})]}),p1e=()=>(0,U.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`,children:(0,U.jsx)(`path`,{d:`M12 5v14M5 12h14`})}),E8=()=>(0,U.jsx)(`span`,{style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:20,height:20,borderRadius:5,flexShrink:0,background:`var(--secondary)`,color:`var(--info)`},children:(0,U.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 12 12`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M8.5 2.5c-.9 0-1.8.7-2.5.7-.6 0-1.4-.7-2.3-.7C2.2 2.5 1 3.9 1 5.8c0 2.5 2.2 6.2 3.3 6.2.5 0 .9-.4 1.7-.4s1.2.4 1.7.4C9 12 11 8.3 11 5.8c0-1.9-1.2-3.3-2.5-3.3zM6 1.5C6.3.7 7 .1 7.7 0c.1.7-.2 1.4-.8 1.9C6.4 2.4 5.7 2.7 5 2.5c0-.6.4-1.3 1-1z`})})}),D8=()=>(0,U.jsx)(`span`,{style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:20,height:20,borderRadius:5,flexShrink:0,background:`var(--success-soft)`,color:`var(--success)`},children:(0,U.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 12 12`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M2 4.5C2 3.1 3.8 2 6 2s4 1.1 4 2.5v4C10 9.9 8.2 11 6 11S2 9.9 2 8.5v-4zm1.5-2.3l-1-1.7m7 1.7 1-1.7M4.5 7a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm3 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z`})})});function O8({step:e,label:t}){return(0,U.jsxs)(`div`,{style:{fontSize:9,fontWeight:600,textTransform:`uppercase`,letterSpacing:`0.1em`,color:`var(--brand)`,fontFamily:y8,display:`flex`,alignItems:`center`,gap:8},children:[(0,U.jsx)(`span`,{children:e}),(0,U.jsx)(`span`,{style:{width:3,height:3,borderRadius:`50%`,background:`var(--border)`,flexShrink:0}}),(0,U.jsx)(`span`,{children:t})]})}function k8({icon:e,title:t,message:n,primaryLabel:r}){return(0,U.jsx)(`div`,{style:{border:`0.5px solid var(--border)`,borderRadius:10,background:`var(--card)`,overflow:`hidden`},children:(0,U.jsxs)(`div`,{style:{padding:`32px 16px`,textAlign:`center`}
339,children:[(0,U.jsx)(`div`,{style:{width:42,height:42,borderRadius:`50%`,background:`var(--muted)`,color:`var(--muted-foreground)`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,marginBottom:10},children:e}),(0,U.jsx)(`div`,{style:{fontSize:13,fontWeight:600,color:`var(--foreground)`,fontFamily:y8,marginBottom:4},children:t}),(0,U.jsx)(`div`,{style:{fontSize:12,color:`var(--muted-foreground)`,fontFamily:y8,maxWidth:320,margin:`0 auto 14px`,lineHeight:1.5},children:n}),(0,U.jsxs)(`div`,{style:{display:`inline-flex`,gap:8},children:[(0,U.jsxs)(`button`,{style:{display:`inline-flex`,alignItems:`center`,gap:6,padding:`8px 14px`,borderRadius:8,fontSize:12.5,fontWeight:500,fontFamily:y8,background:`transparent`,border:`0.5px solid var(--border)`,color:`var(--foreground)`,cursor:`pointer`},children:[(0,U.jsx)(f1e,{}),`Learn more`]}),(0,U.jsxs)(`button`,{style:{display:`inline-flex`,alignItems:`center`,gap:6,padding:`8px 14px`,borderRadius:8,fontSize:12.5,fontWeight:500,fontFamily:y8,background:`var(--brand)`,border:`none`,color:`var(--brand-foreground)`,cursor:`pointer`},children:[(0,U.jsx)(p1e,{}),r]})]})]})})}function A8({selected:e}){return(0,U.jsx)(`span`,{style:{width:15,height:15,borderRadius:`50%`,flexShrink:0,border:e?`1.5px solid var(--brand)`:`1.5px solid var(--border)`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`},children:e&&(0,U.jsx)(`span`,{style:{width:7,height:7,borderRadius:`50%`,background:`var(--brand)`}})})}function m1e({open:e,onClose:t}){let[n,r]=(0,O.useState)(1),[i,a]=(0,O.useState)(``),[o,s]=(0,O.useState)(`Default`),[c,l]=(0,O.useState)(``),[u,d]=(0,O.useState)(!1),[f,p]=(0,O.useState)(``),[m,h]=(0,O.useState)(``),[g,_]=(0,O.useState)(``);(0,O.useEffect)(()=>{e&&(r(1),a(``),s(`Default`),l(``),d(!1),p(``),h(``),_(``))},[e]),(0,O.useEffect)(()=>{if(!e)return;let n=e=>{e.key===`Escape`&&t()};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[e,t]);let v=e=>e===1?!!i:e===2?!!f:e===3&&!!m,y=n===1?!!i:n===2?!!f:n!==3||!!m,b=S8.find(e=>e.id===f),x=(0,O.useMemo)(()=>{if(!g.trim())return S8;let e=g.toLowerCase();return S8.filter(t=>t.id.toLowerCase().includes(e))},[g]);if(!e)return null;let S={display:`inline-flex`,alignItems:`center`,gap:6,padding:`8px 16px`,borderRadius:8,fontSize:12.5,fontWeight:500,fontFamily:y8,background:`var(--brand)`,border:`none`,color:`var(--brand-foreground)`,cursor:`pointer`},C={...S,opacity:.45,cursor:`not-allowed`},w={display:`inline-flex`,alignItems:`center`,gap:6,padding:`8px 16px`,borderRadius:8,fontSize:12.5,fontWeight:500,fontFamily:y8,background:`transparent`,border:`0.5px solid var(--border)`,color:`var(--foreground)`,cursor:`pointer`};return(0,U.jsx)(`div`,{style:{position:`fixed`,inset:0,background:`rgba(17, 24, 54, 0.35)`,zIndex:1e3,display:`flex`,alignItems:`center`,justifyContent:`center`},onClick:t,children:(0,U.jsxs)(`div`,{style:{width:880,maxWidth:`calc(100vw - 40px)`,background:`var(--card)`,borderRadius:14,boxShadow:`0 24px 60px rgba(17, 34, 157, 0.18)`,overflow:`hidden`,display:`grid`,gridTemplateColumns:`232px 1fr`,minHeight:560,maxHeight:`calc(100dvh - 60px)`},onClick:e=>e.stopPropagation(),children:[(0,U.jsxs)(`div`,{style:{gridColumn:`1 / -1`,height:54,padding:`0 18px`,display:`flex`,alignItems:`center`,gap:12,borderBottom:`0.5px solid var(--border)`,background:`var(--card)`},children:[(0,U.jsx)(`span`,{style:{width:30,height:30,borderRadius:8,background:`var(--brand)`,color:`#fff`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,fontWeight:700,fontSize:15,fontFamily:b8,letterSpacing:`-0.03em`,flexShrink:0},children:`T`}),(0,U.jsx)(`span`,{style:{fontSize:15,fontWeight:600,color:`var(--foreground)`,fontFamily:y8,letterSpacing:`-0.01em`},children:`New mobile test`}),(0,U.jsx)(`span`,{style:{flex:1}}),(0,U.jsxs)(`span`,{style:{fontSize:11,color:`var(--muted-foreground)`,fontFamily:x8,marginRight:4},children:[n,`/`,w8.length]}),(0,U.jsx)(`button`,{onClick:t,style:{width:30,height:30,borderRadius:8,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,background:`transparent`,border:`none`,color:`var(--muted-foreground)`,curs
339or:`pointer`},onMouseEnter:e=>{e.currentTarget.style.background=`var(--surface-hover)`,e.currentTarget.style.color=`var(--foreground)`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`,e.currentTarget.style.color=`var(--muted-foreground)`},children:(0,U.jsx)(r1e,{})})]}),(0,U.jsxs)(`div`,{style:{padding:`18px 14px`,borderRight:`0.5px solid var(--border)`,background:`var(--muted)`,display:`flex`,flexDirection:`column`,gap:2,overflowY:`auto`},children:[(0,U.jsx)(`div`,{style:{fontSize:9,fontWeight:600,textTransform:`uppercase`,letterSpacing:`0.1em`,color:`var(--muted-foreground)`,fontFamily:y8,padding:`0 8px 10px`},children:`Steps`}),w8.map(e=>{let t=n===e.n,i=v(e.n)&&!t;return(0,U.jsxs)(`div`,{onClick:()=>r(e.n),style:{position:`relative`,display:`grid`,gridTemplateColumns:`26px 1fr`,gap:10,alignItems:`center`,padding:`9px 10px`,borderRadius:8,cursor:`pointer`,background:t?`var(--card)`:`transparent`,border:t?`0.5px solid var(--border)`:`0.5px solid transparent`,boxShadow:t?`0 1px 3px rgba(17,34,157,0.05)`:`none`},onMouseEnter:e=>{t||(e.currentTarget.style.background=`rgba(66,106,221,0.06)`)},onMouseLeave:e=>{t||(e.currentTarget.style.background=`transparent`)},children:[t&&(0,U.jsx)(`span`,{style:{position:`absolute`,left:-14,top:10,bottom:10,width:3,background:`var(--brand)`,borderRadius:`0 2px 2px 0`}}),(0,U.jsx)(`span`,{style:{width:22,height:22,borderRadius:`50%`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,fontFamily:x8,fontSize:11,fontWeight:600,background:t?`var(--brand)`:i?`var(--secondary)`:`var(--card)`,border:t?`0.5px solid var(--brand)`:i?`0.5px solid transparent`:`0.5px solid var(--border)`,color:t?`#fff`:i?`var(--info)`:`var(--muted-foreground)`,flexShrink:0},children:i?(0,U.jsx)(c1e,{}):e.n}),(0,U.jsxs)(`span`,{children:[(0,U.jsx)(`div`,{style:{fontSize:12.5,fontWeight:500,color:`var(--foreground)`,fontFamily:y8},children:e.label}),(0,U.jsx)(`div`,{style:{fontSize:10.5,color:`var(--muted-foreground)`,fontFamily:y8,marginTop:1},children:e.sub})]})]},e.n)}),(0,U.jsx)(`div`,{style:{marginTop:`auto`,paddingTop:14,borderTop:`0.5px solid var(--border)`},children:[{k:`Name`,v:i,mono:!1},{k:`Device`,v:b?.id??``,mono:!0},{k:`Build`,v:m,mono:!0}].map(e=>(0,U.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,padding:`6px 10px`},children:[(0,U.jsx)(`span`,{style:{fontSize:9,fontWeight:600,textTransform:`uppercase`,letterSpacing:`0.08em`,color:`var(--muted-foreground)`,fontFamily:y8,width:52,flexShrink:0},children:e.k}),(0,U.jsx)(`span`,{style:{color:e.v?`var(--foreground)`:`var(--muted-foreground)`,fontStyle:e.v?`normal`:`italic`,fontWeight:e.v?500:400,fontFamily:e.mono?x8:y8,fontSize:e.mono?10.5:11,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:e.v||`Not set`})]},e.k))})]}),(0,U.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,minHeight:0,overflow:`hidden`},children:[(0,U.jsxs)(`div`,{style:{flex:1,padding:`22px 28px 18px`,overflowY:`auto`},children:[n===1&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(O8,{step:`Step 01`,label:`Create`}),(0,U.jsx)(`h2`,{style:{margin:`6px 0 4px`,fontSize:20,fontWeight:700,fontFamily:b8,color:`var(--foreground)`,letterSpacing:`-0.01em`}
339,children:`Name and configure your test`}),(0,U.jsx)(`p`,{style:{fontSize:13,color:`var(--muted-foreground)`,fontFamily:y8,margin:`0 0 20px`,maxWidth:520,lineHeight:1.5},children:`Give the test a short, descriptive name. Advanced settings let you bind a setting profile and/or MCP servers.`}),(0,U.jsxs)(`div`,{style:{marginBottom:14},children:[(0,U.jsx)(`label`,{style:{fontSize:11,fontWeight:500,color:`var(--foreground)`,fontFamily:y8,marginBottom:6,display:`block`},children:`Test name`}),(0,U.jsx)(`input`,{value:i,onChange:e=>a(e.target.value),placeholder:`Enter test name`,style:{width:`100%`,padding:`10px 12px`,background:`var(--card)`,border:`0.5px solid var(--border)`,borderRadius:8,fontSize:13,color:`var(--foreground)`,fontFamily:y8,outline:`none`,boxSizing:`border-box`},onFocus:e=>{e.currentTarget.style.outline=`1.5px solid var(--brand)`,e.currentTarget.style.borderColor=`transparent`},onBlur:e=>{e.currentTarget.style.outline=`none`,e.currentTarget.style.borderColor=`var(--border)`}})]}),(0,U.jsxs)(`div`,{style:{marginTop:18,border:`0.5px solid var(--border)`,borderRadius:10,overflow:`hidden`},children:[(0,U.jsxs)(`div`,{onClick:()=>d(e=>!e),style:{display:`grid`,gridTemplateColumns:`1fr auto`,alignItems:`center`,padding:`12px 14px`,cursor:`pointer`,gap:10},children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{style:{fontSize:13,fontWeight:500,color:`var(--foreground)`,fontFamily:y8},children:`Advanced settings`}),(0,U.jsx)(`div`,{style:{fontSize:11,color:`var(--muted-foreground)`,fontFamily:y8,marginTop:1},children:`Setting profile · MCP servers`})]}),(0,U.jsx)(`span`,{style:{color:`var(--muted-foreground)`,display:`flex`},children:u?(0,U.jsx)(i1e,{}):(0,U.jsx)(T8,{})})]}),u&&(0,U.jsx)(`div`,{style:{padding:`6px 14px 14px`,borderTop:`0.5px solid var(--border)`,display:`flex`,flexDirection:`column`,gap:12},children:[{label:`Setting profile`,value:o,onChange:s,options:[{value:``,label:`Select a Setting Profile`},{value:`Default`,label:`Default`},{value:`CI`,label:`CI`},{value:`Nightly`,label:`Nightly`}]},{label:`MCP servers`,value:c,onChange:l,options:[{value:``,label:`None`},{value:`fs`,label:`filesystem`},{value:`db`,label:`postgres`},{value:`http`,label:`http-tools`}]}].map(e=>(0,U.jsxs)(`div`,{children:[(0,U.jsxs)(`label`,{style:{fontSize:11,fontWeight:500,color:`var(--foreground)`,fontFamily:y8,marginBottom:6,display:`flex`,alignItems:`center`,gap:6},children:[e.label,(0,U.jsx)(`span`,{style:{fontSize:10.5,fontWeight:400,color:`var(--muted-foreground)`},children:`(optional)`})]}),(0,U.jsxs)(`div`,{style:{position:`relative`},children:[(0,U.jsx)(`select`,{value:e.value,onChange:t=>e.onChange(t.target.value),style:{width:`100%`,padding:`10px 32px 10px 12px`,background:`var(--card)`,border:`0.5px solid var(--border)`,borderRadius:8,fontSize:13,color:`var(--foreground)`,fontFamily:y8,appearance:`none`,WebkitAppearance:`none`,outline:`none`,cursor:`pointer`,boxSizing:`border-box`},onFocus:e=>{e.currentTarget.style.outline=`1.5px solid var(--brand)`,e.currentTarget.style.borderColor=`transparent`},onBlur:e=>{e.currentTarget.style.outline=`none`,e.currentTarget.style.borderColor=`var(--border)`},children:e.options.map(e=>(0,U.jsx)(`option`,{value:e.value,children:e.label},e.value))}),(0,U.jsx)(`span`,{style:{position:`absolute`,right:10,top:`50%`,transform:`translateY(-50%)`,pointerEvents:`none`,color:`var(--muted-foreground)`,display:`flex`},children:(0,U.jsx)(T8,{})})]})]},e.label))})]})]}),n===2&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(O8,{step:`Step 02`,label:`Device`}),(0,U.jsx)(`h2`,{style:{margin:`6px 0 4px`,fontSize:20,fontWeight:700,fontFamily:b8,color:`var(--foreground)`,letterSpacing:`-0.01em`},children:`Pick a device capability`}),(0,U.jsx)(`p`,{style:{fontSize:13,color:`var(--muted-foreground)`,fontFamily:y8,margin:`0 0 20px`,maxWidth:520,lineHeight:1.5},children:`Choose a capability you've already created. Only your own capabilities are shown here.`}),S8.length>0?(0,U.jsxs)(`div`,{style:{border:`0.5px solid var(--border)`,borderRadius:10,background:`var(--card)`,overflow:`hidden`},children:[(0,U.jsxs)(`div`,{style:{padding:`10px 12px`,borderBottom:`0.5px solid var(--border)`,display:`flex`,alignItems:`center`,gap:8},children:[(0,U.jsx)(`span`,{style:{color:`var(--muted-foreground)`,display:`flex`},children:(0,U.jsx)(l1e,{})}),(0,U.jsx)(`input`,{value:g,onChange:e=>_(e.target.value),placeholder:`Search device capabilitiesâ¦`,style:{flex:1,border:`none`,outline:`none`,background:`transparent`,fontSize:12.5,color:`var(--foreground)`,fontFamily:y8}}),(0,U.jsx)(`span`,{style:{fontFamily:x8,fontSize:10,padding:`1px 6px`,background:`var(--muted)`,border:`0.5px solid var(--border)`,borderRadius:4,color:`var(--muted-foreground)`},children:`âK`})]}),(0,U.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`22px 2fr 1fr 1fr`,padding:`8px 14px`,background:`var(--muted)`,borderBottom:`0.5px solid var(--border)`,fontSize:9.5,fontWeight:600,textTransform:`uppercase`,letterSpacing:`0.08em`,color:`var(--muted-foreground)`,fontFamily:y8},children:[(0,U.jsx)(`span`,{}),(0,U.jsx)(`span`,{children:`Capability`}),(0,U.jsx)(`span`,{children:`Status`}),(0,U.jsx)(`span`,{children:`Type`})]}),x.map((e,t)=>(0,U.jsxs)(`div`,{onClick:()=>p(e.id),style:{display:`grid`,gridTemplateColumns:`22px 2fr 1fr 1fr`,padding:`10px 14px`,alignItems:`center`,borderBottom:t<x.length-1?`0.5px solid var(--border)`:`none`,background:f===e.id?`var(--secondary)`:`transparent`,cursor:`pointer`},onMouseEnter:t=>{f!==e.id&&(t.currentTarget.style.background=`var(--surface-hover)`)},onMouseLeave:t=>{f!==e.id&&(t.currentTarget.style.background=`transparent`)},children:[(0,U.jsx)(A8,{selected:f===e.id}),(0,U.jsxs)(`span`,{style:{display:`flex`,alignItems:`center`,gap:8,fontFamily:x8,fontSize:11.5,color:`var(--foreground)`},children:[e.platform===`ios`?(0,U.jsx)(E8,{}):(0,U.jsx)(D8,{}),e.id]}),(0,U.jsxs)(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:5,fontSize:11,color:`var(--success-foreground)`,fontFamily:y8},children:[(0,U.jsx)(`span`,{style:{width:5,height:5,borderRadius:`50%`,background:`var(--success)`,flexShrink:0}}),`online`]}
339),(0,U.jsx)(`span`,{style:{fontFamily:x8,fontSize:10.5,color:`var(--muted-foreground)`},children:e.type})]},e.id))]}):(0,U.jsx)(k8,{icon:(0,U.jsx)(u1e,{}),title:`No device capabilities yet`,message:`A capability describes a device (iOS or Android) that Text2Test can provision when your test runs. Create one to continue.`,primaryLabel:`Create capability`})]}),n===3&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(O8,{step:`Step 03`,label:`Application`}),(0,U.jsx)(`h2`,{style:{margin:`6px 0 4px`,fontSize:20,fontWeight:700,fontFamily:b8,color:`var(--foreground)`,letterSpacing:`-0.01em`},children:`Select the app build to test`}),(0,U.jsx)(`p`,{style:{fontSize:13,color:`var(--muted-foreground)`,fontFamily:y8,margin:`0 0 20px`,maxWidth:520,lineHeight:1.5},children:`Upload a new APK / IPA or pick a build already linked to this capability.`}),C8.length>0?(0,U.jsxs)(`div`,{style:{border:`0.5px solid var(--border)`,borderRadius:10,background:`var(--card)`,overflow:`hidden`},children:[(0,U.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`22px 2fr 1fr 1fr`,padding:`8px 14px`,background:`var(--muted)`,borderBottom:`0.5px solid var(--border)`,fontSize:9.5,fontWeight:600,textTransform:`uppercase`,letterSpacing:`0.08em`,color:`var(--muted-foreground)`,fontFamily:y8},children:[(0,U.jsx)(`span`,{}),(0,U.jsx)(`span`,{children:`Build`}),(0,U.jsx)(`span`,{children:`Uploaded`}),(0,U.jsx)(`span`,{children:`Size`})]}),C8.map((e,t)=>(0,U.jsxs)(`div`,{onClick:()=>h(e.filename),style:{display:`grid`,gridTemplateColumns:`22px 2fr 1fr 1fr`,padding:`10px 14px`,alignItems:`center`,borderBottom:t<C8.length-1?`0.5px solid var(--border)`:`none`,background:m===e.filename?`var(--secondary)`:`transparent`,cursor:`pointer`},onMouseEnter:t=>{m!==e.filename&&(t.currentTarget.style.background=`var(--surface-hover)`)},onMouseLeave:t=>{m!==e.filename&&(t.currentTarget.style.background=`transparent`)},children:[(0,U.jsx)(A8,{selected:m===e.filename}),(0,U.jsx)(`span`,{style:{fontFamily:x8,fontSize:11.5,color:`var(--foreground)`},children:e.filename}),(0,U.jsx)(`span`,{style:{fontFamily:y8,fontSize:11.5,color:`var(--muted-foreground)`},children:e.uploadedAgo}),(0,U.jsx)(`span`,{style:{fontFamily:x8,fontSize:10.5,color:`var(--muted-foreground)`},children:e.size})]},e.filename))]}):(0,U.jsx)(k8,{icon:(0,U.jsx)(d1e,{}),title:`No builds for this capability yet`,message:`Upload an APK or IPA to continue.`,primaryLabel:`Upload build`})]}),n===4&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(O8,{step:`Step 04`,label:`Review`}),(0,U.jsx)(`h2`,{style:{margin:`6px 0 4px`,fontSize:20,fontWeight:700,fontFamily:b8,color:`var(--foreground)`,letterSpacing:`-0.01em`},children:`Confirm and create`}),(0,U.jsx)(`p`,{style:{fontSize:13,color:`var(--muted-foreground)`,fontFamily:y8,margin:`0 0 20px`,maxWidth:520,lineHeight:1.5},children:`Check everything below. You can jump back to any step to edit.`}),(0,U.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:10,maxWidth:520},children:[{k:`Name`,v:i,goTo:1,mono:!1,chip:void 0},{k:`Profile`,v:o||`None`,goTo:1,mono:!1,chip:void 0},{k:`MCP servers`,v:c||`None`,goTo:1,mono:!1,chip:void 0},{k:`Device`,v:b?.id??``,goTo:2,mono:!0,chip:b?.platform},{k:`Build`,v:m,goTo:3,mono:!0,chip:void 0}].map(e=>(0,U.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`100px 1fr auto`,alignItems:`center`,gap:14,padding:`12px 14px`,minHeight:50,border:`0.5px solid var(--border)`,borderRadius:10,background:`var(--card)`},children:[(0,U.jsx)(`span`,{style:{fontSize:10,fontWeight:600,textTransform:`uppercase`,letterSpacing:`0.08em`,color:`var(--muted-foreground)`,fontFamily:y8},children:e.k}),(0,U.jsxs)(`span`,{style:{fontSize:e.mono?12:13,fontFamily:e.mono?x8:y8,color:e.v?`var(--foreground)`:`var(--muted-foreground)`,fontStyle:e.v?`normal`:`italic`,fontWeight:e.v?500:400,display:`flex`,alignItems:`center`,gap:8},children:[e.chip===`ios`&&(0,U.jsx)(E8,{}),e.chip===`android`&&(0,U.jsx)(D8,{}),e.v||`Not selected`]}),(0,U.jsx)(`span`,{onClick:()=>r(e.goTo),style:{fontSize:11,color:`var(--brand)`,fontWeight:500,fontFamily:y8,cursor:`pointer`,padding:`4px 8px`,borderRadius:5},onMouseEnter:e=>{e.currentTarget.style.background=`var(--secondary)`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`},children:`Edit`})]},e.k))})]})]}),(0,U.jsxs)(`div`,{style:{borderTop:`0.5px solid var(--border)`,padding:`14px 28px`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,background:`var(--card)`,flexShrink:0},children:[(0,U.jsx)(`span`,{}),(0,U.jsxs)(`span`,{style:{display:`flex`,gap:8},children:[n>1&&(0,U.jsxs)(`button`,{onClick:()=>r(n-1),style:w,onMouseEnter:e=>{e.currentTarget.style.background=`var(--surface-hover)`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`},children:[(0,U.jsx)(a1e,{}),`Back`]}),n<4?(0,U.jsxs)(`button`,{onClick:()=>y&&r(n+1),style:y?S:C,onMouseEnter:e=>{y&&(e.currentTarget.style.background=`var(--brand-deep)`)},onMouseLeave:e=>{y&&(e.currentTarget.style.background=`var(--brand)`)},children:[`Continue`,(0,U.jsx)(o1e,{})]}):(0,U.jsxs)(`button`,{style:S,onMouseEnter:e=>{e.currentTarget.style.background=`var(--brand-deep)`},onMouseLeave:e=>{e.currentTarget.style.background=`var(--brand)`},children:[(0,U.jsx)(s1e,{}),`Create test`]})]})]})]})]})})}function h1e(e){let t=e?.toUpperCase();return t===`IOS`?`ios`:t===`ANDROID`?`android`:`mobile`}function j8(e){return qT(e)}function M8(e,t,n,r){let i=t.length?t[t.length-1]:null;for(let a of e)a.data.type===`MOBILE_TEST`?n.push({id:a.data.id,name:a.data.name,created:j8(a.data.creationTime),updated:a.data.updateTime?j8(a.data.updateTime):`-`,count:a.itemCount??null,platform:h1e(a.data.platform),dirs:i?[i]:[],path:t.join(` / `)}):a.data.type===`DIRECTORY`&&(r.has(a.data.name)||r.set(a.data.name,i),M8(a.children??[],[...t,a.data.name],n,r))}function g1e(e){let t=[],n=new Map;return M8(e,[],t,n),{tests:t,dirs:Array.from(n.entries()).map(([e,t])=>({name:e,parent:t})).sort((e,t)=>
339e.name.localeCompare(t.name))}}var N8=`var(--font-lexend, 'Lexend', sans-serif)`,P8=`var(--font-rajdhani, 'Rajdhani', sans-serif)`,_1e=()=>(0,U.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 12 12`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M8.5 2.5c-.9 0-1.8.7-2.5.7-.6 0-1.4-.7-2.3-.7C2.2 2.5 1 3.9 1 5.8c0 2.5 2.2 6.2 3.3 6.2.5 0 .9-.4 1.7-.4s1.2.4 1.7.4C9 12 11 8.3 11 5.8c0-1.9-1.2-3.3-2.5-3.3zM6 1.5C6.3.7 7 .1 7.7 0c.1.7-.2 1.4-.8 1.9C6.4 2.4 5.7 2.7 5 2.5c0-.6.4-1.3 1-1z`})}),v1e=()=>(0,U.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 12 12`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M2 4.5C2 3.1 3.8 2 6 2s4 1.1 4 2.5v4C10 9.9 8.2 11 6 11S2 9.9 2 8.5v-4zm1.5-2.3l-1-1.7m7 1.7 1-1.7M4.5 7a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm3 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z`})}),y1e=()=>(0,U.jsxs)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 12 12`,fill:`none`,children:[(0,U.jsx)(`rect`,{x:`2.5`,y:`0.5`,width:`7`,height:`11`,rx:`1.5`,stroke:`currentColor`,strokeWidth:`1.1`}),(0,U.jsx)(`circle`,{cx:`6`,cy:`9.5`,r:`0.6`,fill:`currentColor`})]}),F8=()=>(0,U.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 12 12`,fill:`none`,children:(0,U.jsx)(`path`,{d:`M1 3.5a1 1 0 0 1 1-1h3l1 1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3.5z`,stroke:`currentColor`,strokeWidth:`1.1`})}),I8=()=>(0,U.jsx)(`svg`,{width:`8`,height:`8`,viewBox:`0 0 12 12`,fill:`none`,children:(0,U.jsx)(`path`,{d:`M2 4l4 4 4-4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})}),b1e=()=>(0,U.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 12 12`,fill:`none`,children:(0,U.jsx)(`path`,{d:`M2 6l3 3 5-5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),x1e=()=>(0,U.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 16 16`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.117-.099zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z`})}),S1e=()=>(0,U.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 16 16`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .354.854l-4.5 4.5A.5.5 0 0 0 9.5 7v5a.5.5 0 0 1-.276.447l-3 1.5A.5.5 0 0 1 5.5 13.5V7a.5.5 0 0 0-.146-.354l-4.5-4.5A.5.5 0 0 1 1.5 1.5z`})}),C1e=()=>(0,U.jsx)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 16 16`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z`})}),L8=()=>(0,U.jsx)(`svg`,{width:`8`,height:`8`,viewBox:`0 0 16 16`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z`})}),w1e=()=>(0,U.jsx)(`svg`,{width:`9`,height:`9`,viewBox:`0 0 12 12`,fill:`none`,children:(0,U.jsx)(`path`,{d:`M6 9V3M3 6l3-3 3 3`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),T1e=()=>(0,U.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 16 16`,fill:`currentColor`,children:(0,U.jsx)(`path`,{d:`M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11z`})});function E1e({onCreateClick:e}){return(0,U.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,flex:1,height:`100%`,padding:`80px 24px`,gap:`12px`},children:[(0,U.jsxs)(`svg`,{width:`68`,height:`68`,viewBox:`0 0 68 68`,fill:`none`,children:[(0,U.jsx)(`rect`,{x:`14`,y:`8`,width:`28`,height:`48`,rx:`5`,style:{fill:`var(--secondary)`,stroke:`var(--info)`},strokeWidth:`1`}),(0,U.jsx)(`rect`,{x:`22`,y:`12`,width:`12`,height:`2`,rx:`1`,style:{fill:`var(--info)`},opacity:`0.4`}),(0,U.jsx)(`circle`,{cx:`28`,cy:`52`,r:`2`,style:{fill:`var(--info)`},opacity:`0.4`}),(0,U.jsx)(`circle`,{cx:`50`,cy:`20`,r:`13`,style:{fill:`var(--secondary)`,stroke:`var(--info)`},strokeWidth:`1`}),(0,U.jsx)(`line`,{x1:`50`,y1:`13`,x2:`50`,y2:`27`,style:{stroke:`var(--info)`},strokeWidth:`1.5`,strokeLinecap:`round`}),(0,U.jsx)(`line`,{x1:`43`,y1:`20`,x2:`57`,y2:`20`,style:{stroke:`var(--info)`},strokeWidth:`1.5`,strokeLinecap:`round`})]}),(0,U.jsx)(`div`,{style:{fontFamily:P8,fontWeight:700,fontSize:`22px`,color:`var(--foreground)`,marginTop:`4px`},children:`No mobile tests yet`}),(0,U.jsx)(`div`,{style:{fontFamily:N8,fontWeight:400,fontSize:`13px`,color:`var(--mt2-subdued)`,textAlign:`center`},children:`Create your first mobile test to start automating.`}),(0,U.jsxs)(`div`,{style:{display:`flex`,gap:`8px`,marginTop:`4px`},children:[(0,U.jsx)(`button`,{onClick:e,style:{background:`var(--brand)`,border:`none`,borderRadius:`8px`,color:`var(--brand-foreground)`,fontFamily:N8,fontWeight:600,fontSize:`12px`,padding:`7px 16px`,curs
339or:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`#3558c8`,onMouseLeave:e=>e.currentTarget.style.background=`var(--brand)`,children:`Create Mobile Test`}),(0,U.jsx)(`button`,{style:{background:`transparent`,border:`0.5px solid var(--border)`,borderRadius:`8px`,color:`var(--mt2-subdued)`,fontFamily:N8,fontWeight:400,fontSize:`12px`,padding:`7px 16px`,cursor:`pointer`},children:`Take a quick tour`})]})]})}function D1e({testId:e,currentDirs:t,dirs:n,pos:r,onToggle:i,onCreate:a,onUnparent:o,onEditDir:s,onDeleteDir:c,onClose:l}){let[u,d]=(0,O.useState)(``),[f,p]=(0,O.useState)(null),[m,h]=(0,O.useState)(new Set),[g,_]=(0,O.useState)(null),[v,y]=(0,O.useState)(``),[b,x]=(0,O.useState)(null),[S,C]=(0,O.useState)(null),w=(0,O.useRef)(null);(0,O.useEffect)(()=>{let e=setTimeout(()=>w.current?.focus(),30);return()=>clearTimeout(e)},[]),(0,O.useEffect)(()=>{if(!g)return;function e(e){let t=document.getElementById(`mt2-dir-edit`);t&&!t.contains(e.target)&&(_(null),C(null))}return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[g]);function T(e,t){t.stopPropagation(),_(e.name),y(e.name),x(e.parent);let n=t.currentTarget.getBoundingClientRect();C({top:n.bottom+6,left:Math.max(8,n.right-220)})}function E(){!g||!v.trim()||(s(g,v.trim(),b),_(null),C(null))}function D(){g&&(c(g),_(null),C(null))}let k=(0,O.useMemo)(()=>{let e=new Map;for(let t of n)t.parent&&(e.has(t.parent)||e.set(t.parent,[]),e.get(t.parent).push(t));return e},[n]),A=(0,O.useMemo)(()=>n.filter(e=>e.parent===null),[n]),j=(0,O.useMemo)(()=>n.filter(e=>e.name.toLowerCase().includes(u.toLowerCase())),[n,u]),M=n.some(e=>e.name.toLowerCase()===u.trim().toLowerCase()),N=!!u.trim()&&!M,P=n.length===0&&!u.trim(),F=!!u.trim();function I(e){h(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})}function L(){N&&a(e,u.trim(),f),l()}function R(n,r){let a=k.get(n.name)??[],s=a.length>0,c=m.has(n.name),l=t.includes(n.name);return(0,U.jsxs)(O.Fragment,{children:[(0,U.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,paddingLeft:`${r*14}px`},children:[(0,U.jsx)(`button`,{onClick:()=>s&&I(n.name),style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`20px`,height:`28px`,flexShrink:0,background:`none`,border:`none`,padding:0,cursor:s?`pointer`:`default`,color:`var(--mt2-subdued)`,transform:c?`rotate(0deg)`:`rotate(-90deg)`,transition:`transform 0.15s`,opacity:+!!s},children:(0,U.jsx)(I8,{})}),(0,U.jsxs)(`button`,{onClick:()=>i(e,n.name),style:{flex:1,display:`flex`,alignItems:`center`,gap:`5px`,background:l?`var(--mt2-dir-bg)`:`none`,border:`none`,color:`var(--foreground)`,fontFamily:N8,fontSize:`12px`,padding:`5px 4px`,cursor:`pointer`,textAlign:`left`,borderRadius:`4px`,overflow:`hidden`},onMouseEnter:e=>e.currentTarget.style.background=l?`var(--mt2-dir-hover-bg)`:`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=l?`var(--mt2-dir-bg)`:`none`,children:[(0,U.jsx)(`span`,{style:{color:`var(--info)`,display:`flex`,flexShrink:0},children:(0,U.jsx)(F8,{})}),(0,U.jsx)(`span`,{style:{flex:1,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:n.name}),l&&(0,U.jsx)(`span`,{style:{color:`var(--info)`,display:`flex`,flexShrink:0},children:(0,U.jsx)(b1e,{})})]}),n.parent!==null&&(0,U.jsx)(dy,{content:`Move to root level`,children:(0,U.jsx)(`button`,{onClick:()=>o(n.name),style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,background:`none`,border:`none`,padding:`2px 3px`,borderRadius:`3px`,cursor:`pointer`,color:`var(--mt2-subdued)`,flexShrink:0},onMouseEnter:e=>e.currentTarget.style.color=`var(--foreground)`,onMouseLeave:e=>e.currentTarget.style.color=`var(--mt2-subdued)`,children:(0,U.jsx)(w1e,{})})}),(0,U.jsx)(dy,{content:`Edit directory`,children:(0,U.jsx)(`button`,{onClick:e=>T(n,e),style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,background:g===n.name?`var(--muted)`:`none`,border:`none`,padding:`2px 4px`,marginRight:`4px`,borderRadius:`3px`,cursor:`pointer`,color:`var(--mt2-subdued)`,flexShrink:0},onMouseEnter:e=>{e.currentTarget.style.background=`var(--muted)`,e.currentTarget.style.color=`var(--foreground)`},onMouseLeave:e=>{e.currentTarget.style.background=g===n.name?`var(--muted)`:`none`,e.currentTarget.style.color=`var(--mt2-subdued)`},children:(0,U.jsx)(T1e,{})})})]}),c&&a.map(e=>R(e,r+1))]},n.name)}return(0,U.jsxs)(`div`,{id:`mt2-dir-drop`,style:{position:`fixed`,top:r.top,left
339:Math.max(8,r.left),background:`var(--card)`,border:`0.5px solid var(--border)`,borderRadius:`10px`,width:`240px`,zIndex:9999,boxShadow:`var(--mt2-shadow)`,overflow:`hidden`},children:[(0,U.jsx)(`div`,{style:{padding:`7px 7px 6px`,borderBottom:N&&n.length>0?`none`:`0.5px solid var(--border)`},children:(0,U.jsx)(`input`,{ref:w,value:u,onChange:e=>{d(e.target.value),p(null)},placeholder:`Search or createâ¦`,style:{width:`100%`,background:`var(--mt2-input-bg)`,border:`0.5px solid var(--border)`,borderRadius:`6px`,color:`var(--foreground)`,fontFamily:N8,fontSize:`11.5px`,padding:`5px 8px`,outline:`none`,boxSizing:`border-box`},onFocus:e=>e.currentTarget.style.borderColor=`var(--ring)`,onBlur:e=>e.currentTarget.style.borderColor=`var(--border)`})}),N&&n.length>0&&(0,U.jsxs)(`div`,{style:{padding:`6px 7px 7px`,borderBottom:`0.5px solid var(--border)`},children:[(0,U.jsx)(`div`,{style:{fontFamily:N8,fontSize:`10px`,color:`var(--mt2-subdued)`,textTransform:`uppercase`,letterSpacing:`0.06em`,marginBottom:`4px`},children:`Parent directory`}),(0,U.jsxs)(`div`,{style:{position:`relative`},children:[(0,U.jsxs)(`select`,{value:f??``,onChange:e=>p(e.target.value||null),style:{width:`100%`,appearance:`none`,background:`var(--mt2-input-bg)`,border:`0.5px solid var(--border)`,borderRadius:`6px`,color:f?`var(--foreground)`:`var(--mt2-subdued)`,fontFamily:N8,fontSize:`11.5px`,padding:`5px 24px 5px 8px`,cursor:`pointer`,outline:`none`,boxSizing:`border-box`},children:[(0,U.jsx)(`option`,{value:``,children:`No parent (root level)`}),n.map(e=>(0,U.jsx)(`option`,{value:e.name,children:e.name},e.name))]}),(0,U.jsx)(`span`,{style:{position:`absolute`,right:`8px`,top:`50%`,transform:`translateY(-50%)`,pointerEvents:`none`,color:`var(--mt2-subdued)`},children:(0,U.jsx)(I8,{})})]})]}),(0,U.jsxs)(`div`,{style:{maxHeight:`200px`,overflowY:`auto`},children:[P&&(0,U.jsxs)(`div`,{style:{padding:`14px 12px`,fontFamily:N8,fontSize:`11.5px`,color:`var(--mt2-subdued)`,textAlign:`center`,lineHeight:1.6},children:[`No directories yet.`,(0,U.jsx)(`br`,{}),`Type a name to create one.`]}),!P&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{style:{padding:`6px 10px 2px`,fontFamily:N8,fontSize:`10px`,color:`var(--mt2-subdued)`,textTransform:`uppercase`,letterSpacing:`0.06em`},children:`Directories`}),F?j.map(e=>R(e,0)):A.map(e=>R(e,0))]})]}),N&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{style:{height:`0.5px`,background:`var(--border)`}}),(0,U.jsxs)(`button`,{onClick:()=>{a(e,u.trim(),f),d(``),p(null)},style:{display:`flex`,alignItems:`center`,width:`100%`,textAlign:`left`,background:`none`,border:`none`,color:`var(--info)`,fontFamily:N8,fontSize:`12px`,padding:`8px 10px`,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`none`,children:[`Create â`,u.trim(),`â`,f?` under ${f}`:``]})]}),(0,U.jsx)(`div`,{style:{height:`0.5px`,background:`var(--border)`,margin:`2px 0`}}),(0,U.jsx)(`button`,{onClick:L,style:{display:`block`,width:`100%`,textAlign:`center`,background:`none`,border:`none`,color:`var(--brand)`,fontFamily:N8,fontSize:`12px`,fontWeight:600,padding:`7px 10px`,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`none`,children:`Done`}),g&&S&&(0,U.jsxs)(`div`,{id:`mt2-dir-edit`,style:{position:`fixed`,top:S.top,left
339:S.left,width:`220px`,background:`var(--card)`,border:`0.5px solid var(--border)`,borderRadius:`10px`,boxShadow:`var(--mt2-shadow)`,zIndex:1e4,overflow:`hidden`},children:[(0,U.jsx)(`div`,{style:{padding:`9px 12px 6px`,borderBottom:`0.5px solid var(--border)`},children:(0,U.jsx)(`div`,{style:{fontFamily:N8,fontSize:`12px`,fontWeight:600,color:`var(--foreground)`},children:`Edit directory`})}),(0,U.jsxs)(`div`,{style:{padding:`10px 10px 8px`,display:`flex`,flexDirection:`column`,gap:`8px`},children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{style:{fontFamily:N8,fontSize:`10px`,color:`var(--mt2-subdued)`,textTransform:`uppercase`,letterSpacing:`0.06em`,marginBottom:`4px`},children:`Name`}),(0,U.jsx)(`input`,{autoFocus:!0,value:v,onChange:e=>y(e.target.value),onKeyDown:e=>{e.key===`Enter`&&E(),e.key===`Escape`&&(_(null),C(null))},style:{width:`100%`,background:`var(--mt2-input-bg)`,border:`0.5px solid var(--border)`,borderRadius:`6px`,color:`var(--foreground)`,fontFamily:N8,fontSize:`11.5px`,padding:`5px 8px`,outline:`none`,boxSizing:`border-box`},onFocus:e=>e.currentTarget.style.borderColor=`var(--ring)`,onBlur:e=>e.currentTarget.style.borderColor=`var(--border)`})]}),(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{style:{fontFamily:N8,fontSize:`10px`,color:`var(--mt2-subdued)`,textTransform:`uppercase`,letterSpacing:`0.06em`,marginBottom:`4px`},children:`Parent directory`}),(0,U.jsxs)(`div`,{style:{position:`relative`},children:[(0,U.jsxs)(`select`,{value:b??``,onChange:e=>x(e.target.value||null),style:{width:`100%`,appearance:`none`,background:`var(--mt2-input-bg)`,border:`0.5px solid var(--border)`,borderRadius:`6px`,color:b?`var(--foreground)`:`var(--mt2-subdued)`,fontFamily:N8,fontSize:`11.5px`,padding:`5px 24px 5px 8px`,cursor:`pointer`,outline:`none`,boxSizing:`border-box`},children:[(0,U.jsx)(`option`,{value:``,children:`No parent (root level)`}),n.filter(e=>e.name!==g).map(e=>(0,U.jsx)(`option`,{value:e.name,children:e.name},e.name))]}),(0,U.jsx)(`span`,{style:{position:`absolute`,right:`8px`,top:`50%`,transform:`translateY(-50%)`,pointerEvents:`none`,color:`var(--mt2-subdued)`},children:(0,U.jsx)(I8,{})})]})]})]}),(0,U.jsxs)(`div`,{style:{display:`flex`,gap:`6px`,padding:`0 10px 10px`},children:[(0,U.jsx)(`button`,{onClick:E,disabled:!v.trim()||v.trim()===g&&b===n.find(e=>e.name===g)?.parent,style:{flex:1,background:`var(--brand)`,border:`none`,borderRadius:`6px`,color:`var(--brand-foreground)`,fontFamily:N8,fontSize:`11.5px`,fontWeight:600,padding:`6px 0`,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`#3558c8`,onMouseLeave:e=>e.currentTarget.style.background=`var(--brand)`,children:`Save`}),(0,U.jsx)(`button`,{onClick:D,style:{flex:1,background:`none`,border:`0.5px solid var(--destructive)`,borderRadius:`6px`,color:`var(--destructive)`,fontFamily:N8,fontSize:`11.5px`,fontWeight:600,padding:`6px 0`,cursor:`pointer`},onMouseEnter:e=>{e.currentTarget.style.background=`var(--destructive)`,e.currentTarget.style.color=`#fff`},onMouseLeave:e=>{e.currentTarget.style.background=`none`,e.currentTarget.style.color=`var(--destructive)`},children:`Delete`})]})]})]})}function O1e({test:e,menuOpen:t,dirDropOpen:n,searching:r,onDirClick:i,onRemoveDir:a,onMenuTrigger:o}){let s=e.platform===`ios`,c=e.platform===`android`,l=s?`var(--secondary)`:c?`var(--success-soft)`:`var(--muted)`,u=s?`var(--info)`:c?`var(--success)`:`var(--muted-foreground)`,d=s?`iOS`:c?`Android`:`Mobile`,f=s?_1e:c?v1e:y1e;return(0,U.jsxs)(`tr`,{style:{borderBottom:`0.5px solid var(--border)`},children:[(0,U.jsx)(`td`,{style:{padding:`9px 16px`},children:(0,U.jsxs)(`span`,{style:{display:`flex`,flexDirection:`column`,gap:`2px`,minWidth:0},children:[(0,U.jsx)(`span`,{style:{color:`var(--foreground)`,fontFamily:N8,fontSize:`13px`,whiteSpace:`nowrap`},children:e.name}),r&&(0,U.jsxs)(`span`,{style:{display:`inline-block`,maxWidth:`min(22rem, 40vw)`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,color:`var(--muted-foreground)`,fontFamily:N8,fontSize:`11px`,verticalAlign:`bottom`},title:e.path||`/`,children:[(0,U.jsx)(`span`,{"aria-hidden":!0,style:{opacity:.6,marginRight:`4px`},children:`â`}),(0,U.jsx)(`span`,{style:{display:`inline-flex`,opacity:.7,marginRight:`4px`,verticalAlign:`middle`},children:(0,U.jsx)(F8,{})}),e.path||`/`]})]})}),(0,U.jsx)(`td`,{style:{padding:`9px 16px`,maxWidth:`280px`},children:(0,U.jsxs)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:`4px`,alignItems:`center`},children:[e.dirs.map(e=>(0,U.jsxs)(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:`4px`,background:`var(--mt2-dir-bg)`,border:`0.5px solid var(--mt2-dir-border)`,borderRadius:`6px`,color:`var(--info)`,fontFamily:N8,fontSize:`11.5px`,padding:`3px 4px 3px 7px`,whiteSpace:`nowrap`},children:[(0,U.jsx)(`span`,{style:{display:`flex`,flexShrink:0},children:(0,U.jsx)(F8,{})}),e,(0,U.jsx)(`button`,{onClick:t=>{t.stopPropagation(),a(e)},style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,background:`none`,border:`none`,padding:`1px`,curs
339or:`pointer`,color:`var(--info)`,opacity:.55,borderRadius:`3px`,flexShrink:0},onMouseEnter:e=>e.currentTarget.style.opacity=`1`,onMouseLeave:e=>e.currentTarget.style.opacity=`0.55`,children:(0,U.jsx)(L8,{})})]},e)),(0,U.jsx)(`button`,{onClick:i,style:{display:`inline-flex`,alignItems:`center`,gap:`4px`,background:`transparent`,border:`0.5px ${e.dirs.length>0?`solid`:`dashed`} var(--border)`,borderRadius:`6px`,color:e.dirs.length>0?`var(--muted-foreground)`:`var(--mt2-faint)`,fontFamily:N8,fontSize:`11.5px`,padding:e.dirs.length>0?`3px 6px`:`3px 9px`,cursor:`pointer`,whiteSpace:`nowrap`,outline:n?`1.5px solid var(--ring)`:`none`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`var(--muted-foreground)`,e.currentTarget.style.color=`var(--muted-foreground)`},onMouseLeave:t=>{t.currentTarget.style.borderColor=`var(--border)`,t.currentTarget.style.color=e.dirs.length>0?`var(--muted-foreground)`:`var(--mt2-faint)`},children:e.dirs.length>0?`+`:`Assign directory`})]})}),(0,U.jsx)(`td`,{style:{padding:`9px 16px`},children:(0,U.jsx)(`span`,{style:{color:`var(--mt2-mono)`,fontFamily:`monospace`,fontSize:`10.5px`},children:e.id})}),(0,U.jsx)(`td`,{style:{padding:`9px 16px`},children:(0,U.jsx)(`span`,{style:{color:`var(--mt2-subdued)`,fontFamily:N8,fontSize:`12px`},children:e.created})}),(0,U.jsx)(`td`,{style:{padding:`9px 16px`},children:(0,U.jsx)(`span`,{style:{color:`var(--mt2-subdued)`,fontFamily:N8,fontSize:`12px`},children:e.updated})}),(0,U.jsx)(`td`,{style:{padding:`9px 16px`},children:s||c?(0,U.jsx)(dy,{content:d,children:(0,U.jsx)(`span`,{style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,background:l,color:u,borderRadius:`6px`,padding:`4px 6px`},children:(0,U.jsx)(f,{})})}):(0,U.jsx)(`span`,{style:{color:`var(--mt2-faint)`,fontFamily:N8,fontSize:`12px`},children:`-`})}),(0,U.jsx)(`td`,{style:{padding:`9px 16px`,whiteSpace:`nowrap`},children:(0,U.jsx)(dy,{content:`More actions`,children:(0,U.jsx)(`button`,{onClick:o,style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,background:t?`var(--muted)`:`transparent`,border:`0.5px solid var(--border)`,borderRadius:`6px`,color:`var(--muted-foreground)`,padding:`3px 5px`,cursor:`pointer`},onMouseEnter:e=>{e.currentTarget.style.background=`var(--muted)`,e.currentTarget.style.color=`var(--foreground)`},onMouseLeave:e=>{e.currentTarget.style.background=t?`var(--muted)`:`transparent`,e.currentTarget.style.color=`var(--muted-foreground)`},children:(0,U.jsx)(C1e,{})})})})]})}function k1e(){let{activeCompanyID:e,activeTeamID:t,loading:n}=NT(),[r,i]=(0,O.useState)([]),[a,o]=(0,O.useState)([]),[s,c]=(0,O.useState)(!0),[l,u]=(0,O.useState)(null),[d,f]=(0,O.useState)(``),[p,m]=(0,O.useState)(null),[h,g]=(0,O.useState)(null),[_,v]=(0,O.useState)(null),[y,b]=(0,O.useState)(null),[x,S]=(0,O.useState)(!1);(0,O.useEffect)(()=>{if(n||!e)return;let r=!1;return c(!0),u(null),dU.getPathItemTestTree({pathItemBucket:`TEST`,companyId:e,teamId:t,onlyDirectories:!1,page:0,size:500}).then(e=>{if(r)return;let{tests:t,dirs:n}=g1e(e.content);i(t),o(n)}).catch(e=>{r||(console.error(`Failed to load mobile tests`,e),u(`Failed to load tests. Please try again.`))}).finally(()=>{r||c(!1)}),()=>{r=!0}},[n,e,t]);let C=(0,O.useMemo)(()=>{if(!d.trim())return r;let e=d.toLowerCase();return r.filter(t=>t.name.toLowerCase().includes(e)||t.dirs.some(t=>t.toLowerCase().includes(e)))},[r,d]);(0,O.useEffect)(()=>{function e(e){let t=document.getElementById(`mt2-ctx-menu`);t&&!t.contains(e.target)&&(m(null),g(null));let n=document.getElementById(`mt2-dir-drop`);n&&!n.contains(e.target)&&(v(null),b(null))}return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]),(0,O.useEffect)(()=>{if(!p&&!_)return;let e=()=>{m(null),g(null),v(null),b(null)};return window.addEventListener(`scroll`,e,!0),()=>window.removeEventListener(`scroll`,e,!0)},[p,_]);function w(e,t){if(e.stopPropagation(),p===t){m(null),g(null);return}v(null),b(null);let n=e.currentTarget.getBoundingClientRect();g({top:n.bottom+4,left:n.right-164}),m(t)}function T(e,t){if(e.stopPropagation(),_===t.id){v(null),b(null);return}m(null),g(null);let n=e.currentTarget.getBoundingClientRect();b({top:n.bottom+4,left:n.left}),v(t.id)}function E(e,t){i(n=>n.map(n=>{if(n.id!==e)return n;let r=n.dirs.includes(t);return{...n,dirs:r?n.dirs.filter(e=>e!==t):[...n.dirs,t]}}))}function D(e,t){i(n=>n.map(n=>n.id===e?{...n,dirs:n.dirs.filter(e=>e!==t)}:n))}
339function k(e,t,n){a.some(e=>e.name===t)||o(e=>[...e,{name:t,parent:n}].sort((e,t)=>e.name.localeCompare(t.name))),i(n=>n.map(n=>n.id!==e||n.dirs.includes(t)?n:{...n,dirs:[...n.dirs,t]}))}function A(e){o(t=>t.map(t=>t.name===e?{...t,parent:null}:t))}function j(e,t,n){o(r=>r.map(r=>r.name===e?{name:t,parent:n}:r.parent===e?{...r,parent:t}:r).sort((e,t)=>e.name.localeCompare(t.name))),e!==t&&i(n=>n.map(n=>({...n,dirs:n.dirs.map(n=>n===e?t:n)})))}function M(e){o(t=>{let n=t.find(t=>t.name===e);return t.filter(t=>t.name!==e).map(t=>t.parent===e?{...t,parent:n?.parent??null}:t).sort((e,t)=>e.name.localeCompare(t.name))}),i(t=>t.map(t=>({...t,dirs:t.dirs.filter(t=>t!==e)})))}let N=_?r.find(e=>e.id===_)??null:null;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`style`,{children:` 340 :root { 341 --mt2-elevated: var(--card); 342 --mt2-row-hover: var(--surface-hover); 343 --mt2-subdued: #9ca3af; 344 --mt2-faint: #d1d5db; 345 --mt2-mono: #9ca3af; 346 --mt2-input-bg: var(--muted); 347 --mt2-dir-bg: #eef1fd; 348 --mt2-dir-hover-bg: #dce3fb; 349 --mt2-dir-border: rgba(66, 106, 221, 0.3); 350 --mt2-shadow: 0 4px 20px rgba(0,0,0,0.12); 351 } 352 .dark { 353 --mt2-elevated: #1f1f1f; 354 --mt2-row-hover: #222222; 355 --mt2-subdued: #666666; 356 --mt2-faint: #444444; 357 --mt2-mono: #444444; 358 --mt2-input-bg: #2a2a2a; 359 --mt2-dir-bg: #1a2035; 360 --mt2-dir-hover-bg: #1e2a4a; 361 --mt2-dir-border: #2e3a58; 362 --mt2-shadow: 0 8px 24px rgba(0,0,0,0.45); 363 } 364 .mt2-page { 365 margin: -20px; 366 height: calc(100dvh - 50px); 367 display: flex; 368 flex-direction: column; 369 background: var(--background); 370 overflow: hidden; 371 } 372 @media (min-width: 768px) { 373 .mt2-page { margin: -24px; } 374 } 375 `}),(0,U.jsxs)(`div`,{className:`mt2-page`,children:[(0,U.jsx)(`div`,{style:{background:`var(--mt2-elevated)`,borderBottom:`0.5px solid var(--border)`,padding:`0 20px`,height:`54px`,display:`flex`,alignItems:`center`,flexShrink:0},children:(0,U.jsx)(`span`,{style:{fontFamily:P8,fontWeight:700,fontSize:`18px`,color:`var(--foreground)`},children:`Mobile Tests`})}),(0,U.jsxs)(`div`,{style:{background:`var(--mt2-elevated)`,borderBottom:`0.5px solid var(--border)`,padding:`7px 16px`,display:`flex`,alignItems:`center`,gap:`6px`,flexShrink:0,flexWrap:`wrap`},children:[(0,U.jsxs)(`div`,{style:{position:`relative`,width:`260px`,flexShrink:0},children:[(0,U.jsx)(`span`,{style:{position:`absolute`,left:`8px`,top:`50%`,transform:`translateY(-50%)`,color:`var(--mt2-subdued)`,pointerEvents:`none`,display:`flex`},children:(0,U.jsx)(x1e,{})}),(0,U.jsx)(`input`,{value:d,onChange:e=>f(e.target.value),placeholder:`Search by name, directoryâ¦`,style:{width:`100%`,background:`var(--mt2-input-bg)`,border:`0.5px solid var(--border)`,borderRadius:`8px`,color:`var(--foreground)`,fontFamily:N8,fontSize:`12px`,padding:`5px 10px 5px 26px`,outline:`none`,boxSizing:`border-box`},onFocus:e=>e.currentTarget.style.borderColor=`var(--ring)`,onBlur:e=>e.currentTarget.style.borderColor=`var(--border)`})]}),(0,U.jsxs)(`button`,{style:{display:`inline-flex`,alignItems:`center`,gap:`5px`,background:`var(--card)`,border:`0.5px solid var(--border)`,borderRadius:`8px`,color:`var(--muted-foreground)`,fontFamily:N8,fontSize:`12px`,padding:`5px 10px`,cursor:`pointer`,whiteSpace:`nowrap`,flexShrink:0},onMouseEnter:e=>{e.currentTarget.style.borderColor=`var(--muted-foreground)`,e.currentTarget.style.color=`var(--foreground)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`var(--border)`,e.currentTarget.style.color=`var(--muted-foreground)`},children:[(0,U.jsx)(S1e,{}),`Filter`]}),(0,U.jsx)(`div`,{style:{width:`0.5px`,height:`20px`,background:`var(--border)`,flexShrink:0,margin:`0 12px`}}),[`Id`,`Creation Time`,`Update Time`,`Platform`].map(e=>(0,U.jsxs)(`button`,{style:{background:`var(--card)`,border:`0.5px solid var(--border)`,borderRadius:`99px`,color:`var(--muted-foreground)`,fontFamily:N8,fontSize:`11px`,padding:`3px 8px 3px 10px`,curs
375or:`pointer`,display:`inline-flex`,alignItems:`center`,gap:`5px`,whiteSpace:`nowrap`},children:[e,(0,U.jsx)(`span`,{style:{color:`var(--mt2-subdued)`,display:`flex`,lineHeight:1},children:(0,U.jsx)(L8,{})})]},e)),(0,U.jsx)(`div`,{style:{flex:1}}),(0,U.jsx)(`button`,{style:{background:`var(--brand)`,border:`none`,borderRadius:`8px`,color:`var(--brand-foreground)`,fontFamily:N8,fontWeight:600,fontSize:`12px`,padding:`6px 14px`,cursor:`pointer`,whiteSpace:`nowrap`},onClick:()=>S(!0),onMouseEnter:e=>e.currentTarget.style.background=`#3558c8`,onMouseLeave:e=>e.currentTarget.style.background=`var(--brand)`,children:`New Mobile Test`})]}),(0,U.jsx)(`div`,{style:{flex:1,overflowY:`auto`,overflowX:`auto`},children:s||n?(0,U.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,height:`100%`,color:`var(--muted-foreground)`,fontFamily:N8,fontSize:`13px`,gap:`10px`},children:[(0,U.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`currentColor`,style:{animation:`spin 0.8s linear infinite`},children:[(0,U.jsx)(`path`,{d:`M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1zm0 12.5a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z`,opacity:`0.25`}),(0,U.jsx)(`path`,{d:`M8 1a7 7 0 0 1 7 7h-1.5A5.5 5.5 0 0 0 8 2.5V1z`})]}),(0,U.jsx)(`style`,{children:`@keyframes spin { to { transform: rotate(360deg); } }`}),`Loadingâ¦`]}):l?(0,U.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,height:`100%`,color:`var(--destructive)`,fontFamily:N8,fontSize:`13px`},children:l}):C.length===0?(0,U.jsx)(E1e,{onCreateClick:()=>{}}):(0,U.jsxs)(`table`,{style:{width:`100%`,borderCollapse:`collapse`,fontFamily:N8},children:[(0,U.jsx)(`thead`,{children:(0,U.jsx)(`tr`,{style:{background:`var(--mt2-elevated)`,borderBottom:`0.5px solid var(--border)`,position:`sticky`,top:0,zIndex:10},children:[`Name`,`Directory`,`Id`,`Creation Time`,`Update Time`,`Platform`,`Actions`].map(e=>(0,U.jsx)(`th`,{style:{textAlign:`left`,padding:`8px 16px`,fontSize:`10px`,fontWeight:500,color:`var(--mt2-subdued)`,textTransform:`uppercase`,letterSpacing:`0.06em`,whiteSpace:`nowrap`},children:e},e))})}),(0,U.jsx)(`tbody`,{children:C.map(e=>(0,U.jsx)(O1e,{test:e,menuOpen:p===e.id,dirDropOpen:_===e.id,searching:d.trim().length>0,onDirClick:t=>T(t,e),onRemoveDir:t=>D(e.id,t),onMenuTrigger:t=>w(t,e.id)},e.id))})]})}),(0,U.jsxs)(`div`,{style:{background:`var(--background)`,borderTop:`0.5px solid var(--border)`,padding:`5px 16px`,display:`flex`,alignItems:`center`,gap:`6px`,fontFamily:N8,fontSize:`11px`,color:`var(--mt2-subdued)`,flexShrink:0},children:[(0,U.jsx)(`span`,{style:{width:`5px`,height:`5px`,borderRadius:`50%`,background:`var(--brand)`,flexShrink:0}}),r.length,` `,r.length===1?`test`:`tests`]})]}),p&&h&&(0,U.jsx)(`div`,{id:`mt2-ctx-menu`,style:{position:`fixed`,top:h.top,left:Math.max(8,h.left),background:`var(--card)`,border:`0.5px solid var(--border)`,borderRadius:`10px`,minWidth:`164px`,zIndex:9999,overflow:`hidden`,boxShadow:`var(--mt2-shadow)`},children:[`Run`,`Edit`,`Duplicate`,null,`Delete`].map((e,t)=>e===null?(0,U.jsx)(`div`,{style:{height:`0.5px`,background:`var(--border)`,margin:`2px 0`}},t):(0,U.jsx)(`button`,{onClick:()=>{m(null),g(null)},style:{display:`block`,width:`100%`,textAlign:`left`,background:`none`,border:`none`,color:e===`Delete`?`var(--destructive)`:`var(--foreground)`,fontFamily:N8,fontSize:`12px`,padding:`8px 12px`,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`none`,children:e},e))}),_&&y&&N&&(0,U.jsx)(D1e,{testId:_,currentDirs:N.dirs,dirs:a,pos:y,onToggle:E,onCreate:k,onUnparent:A,onEditDir:j,onDeleteDir:M,onClose:()=>{v(null),b(null)}}),(0,U.jsx)(m1e,{open:x,onClose:()=>S(!1)})]})}function A1e(){return(0,U.jsx)(k1e,{})}var R8=`https://text2test.ai/demo`,z8=`t2t.mobile-early-access`,j1e=[`devices`,`steps`,`once`,`reports`];function M1e(){let e=X(`pages.mobile.earlyAccess`),[t,n]=(0,O.useState)(()=>localStorage.getItem(z8)===`1`);function r(){localStorage.setItem(z8,`1`),n(!0)}return(0,U.jsxs)(`div`,{className:`mx-auto max-w-[960px] pt-8 pb-20 text-center`,children:[(0,U.jsx)(`p`,{className:`text-brand text-[11px] font-bold tracking-[0.14em] uppercase`,children:e(`eyebrow`)}
375),(0,U.jsxs)(`div`,{"aria-hidden":!0,className:`relative mx-auto mt-9 mb-8 size-[120px]`,children:[(0,U.jsx)(`div`,{className:`bg-brand/10 absolute inset-0 rounded-full`}),(0,U.jsx)(`div`,{className:`bg-brand absolute top-1/2 left-1/2 grid size-[72px] -translate-x-1/2 -translate-y-1/2 place-items-center rounded-2xl text-white shadow-[0_10px_24px_rgba(66,106,221,0.35)]`,children:(0,U.jsx)(Kb,{className:`size-8`})}),(0,U.jsx)(`span`,{className:`bg-brand absolute top-[10px] right-[8px] size-[7px] rounded-full`}),(0,U.jsx)(`span`,{className:`bg-brand absolute right-[-4px] bottom-[36px] size-[5px] rounded-full`}),(0,U.jsx)(`span`,{className:`bg-brand absolute bottom-[8px] left-[12px] size-[6px] rounded-full`})]}),(0,U.jsx)(`h1`,{className:`font-heading text-brand-deep mx-auto max-w-[820px] text-[40px] leading-[1.12] font-bold tracking-[-0.02em] [text-wrap:balance]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-fg-body mx-auto mt-4 max-w-[680px] text-[15px] leading-relaxed`,children:e(`subtitle`)}),(0,U.jsxs)(`div`,{className:`bg-brand/8 text-brand mt-6 inline-flex items-center gap-1.5 rounded-full px-3.5 py-1.5 text-[12.5px] font-medium`,children:[(0,U.jsx)(Voe,{className:`size-3.5`}),e(`chip`)]}),(0,U.jsxs)(`div`,{className:`mt-6 flex flex-wrap items-center justify-center gap-3`,children:[(0,U.jsx)(Z,{asChild:!0,size:`lg`,className:`bg-brand [a]:hover:bg-brand/85`,children:(0,U.jsx)(`a`,{href:R8,target:`_blank`,rel:`noreferrer`,children:e(`ctaDemo`)})}),t?(0,U.jsxs)(`span`,{className:`bg-success-soft text-success-foreground inline-flex h-9 items-center gap-1.5 rounded-lg px-3 text-sm font-medium`,children:[(0,U.jsx)(Py,{className:`size-4`}),e(`earlyDone`)]}):(0,U.jsx)(Z,{size:`lg`,variant:`outline`,onClick:r,children:e(`ctaEarly`)})]}),(0,U.jsx)(`p`,{className:`text-fg-hint mt-3 text-[12px]`,children:e(`ctaHint`)}),(0,U.jsx)(`h2`,{className:`font-heading text-brand-deep mt-20 text-[26px] font-bold tracking-[-0.01em]`,children:e(`s1Title`)}),(0,U.jsx)(`p`,{className:`text-fg-body mx-auto mt-4 max-w-[720px] text-[14px] leading-relaxed`,children:e(`s1Body`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-16 mb-4 text-[9.5px] font-semibold tracking-[0.12em] uppercase`,children:e(`benefitsLabel`)}),(0,U.jsx)(`div`,{className:`mx-auto flex max-w-[720px] flex-col gap-3`,children:j1e.map(t=>(0,U.jsxs)(`div`,{className:`border-border bg-surface flex items-center gap-4 roun
375ded-[14px] border-[0.5px] px-5 py-4 text-left shadow-[0_4px_16px_rgba(17,34,157,0.05)]`,children:[(0,U.jsx)(`span`,{className:`bg-brand/8 text-brand grid size-9 shrink-0 place-items-center rounded-[10px]`,children:(0,U.jsx)(Boe,{className:`size-4.5`})}),(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 text-[13.5px] font-medium`,children:e(`benefits.${t}`)})]},t))}),(0,U.jsx)(`h2`,{className:`font-heading text-brand-deep mt-20 text-[26px] font-bold tracking-[-0.01em]`,children:e(`s3Title`)}),(0,U.jsx)(`p`,{className:`text-fg-body mx-auto mt-4 max-w-[720px] text-[14px] leading-relaxed`,children:e(`s3Body`)}),(0,U.jsxs)(`div`,{className:`bg-brand/6 mx-auto mt-20 max-w-[820px] rounded-2xl px-8 py-12`,children:[(0,U.jsx)(`h2`,{className:`font-heading text-brand-deep text-[24px] font-bold tracking-[-0.01em]`,children:e(`closingTitle`)}),(0,U.jsx)(`p`,{className:`text-fg-body mx-auto mt-3 max-w-[560px] text-[14px] leading-relaxed`,children:e(`closingBody`)}),(0,U.jsx)(Z,{asChild:!0,size:`lg`,className:`bg-brand [a]:hover:bg-brand/85 mt-6`,children:(0,U.jsx)(`a`,{href:R8,target:`_blank`,rel:`noreferrer`,children:e(`ctaDemo`)})})]})]})}function N1e(){return(0,U.jsx)(M1e,{})}var P1e=[{key:`groupPersonal`,items:[{key:`account`,href:`/settings/account`,icon:ix},{key:`billingPlan`,href:`/usage`,icon:Xy},{key:`security`,href:`/settings/security`,icon:Wb}]}];function B8({title:e,subtitle:t,children:n}){let r=X(`pages.settings.nav`),{companyName:i}=Zw(),a=iS();return(0,U.jsxs)(`div`,{className:`text-fg-body flex gap-8`,children:[(0,U.jsx)(`nav`,{className:`sticky top-0 hidden w-[208px] shrink-0 self-start md:block`,"aria-label":r(`aria`),children:P1e.map(e=>(0,U.jsxs)(`div`,{className:`mb-5`,children:[(0,U.jsx)(`div`,{className:`text-fg-hint mb-1.5 px-2.5 text-[9.5px] font-semibold tracking-[0.09em] uppercase`,children:r(e.key)}),e.items.map(e=>{let t=a===e.href||a.startsWith(e.href+`/`),n=e.icon;return(0,U.jsxs)(Qw,{href:e.href,className:W(`mb-0.5 flex items-center gap-2.5 rounded-lg px-2.5 py-1.5 text-[12.5px] transition-colors`,t?`bg-violet-pale text-violet-dark font-medium`:`text-fg-body hover:bg-surface-hover hover:text-fg-strong`),"aria-current":t?`page`:void 0,children:[(0,U.jsx)(n,{className:`size-3.5 shrink-0`}),(0,U.jsx)(`span`,{className:`flex-1 truncate`,children:r(e.key)}),e.tail&&(0,U.jsx)(`span`,{className:`text-fg-hint text-[11px] tabular-nums`,children:e.tail})]},e.href)})]},e.key))}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`truncate`,children:i||`Workspace`}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3 shrink-0`}),(0,U.jsx)(`span`,{children:r(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3 shrink-0`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e})]}),(0,U.jsxs)(`div`,{className:`mb-6`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[25px] font-bold tracking-[-0.01em]`,children:e}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[620px] text-[13px] leading-relaxed`,children:t})]}),(0,U.jsx)(`div`,{className:`space-y-5`,children:n})]})]})}var V8=new class{async getWallet(){let{data:e}=await J.get(`/v1/payment/wallet`);return e}async getSummary(e){let{data:t}=await J.post(`/v1/unified-usage/summary`,e);return t}async getPackages(){let{data:e}=await J.get(`/v1/payment/packages`);return e.packages??[]}async createCheckout(e){let{data:t}=await J.post(`/v1/payment/checkout-session`,e);return t}async createPortalSession(e){let{data:t}=await J.post(`/v1/payment/portal-session`,e);return t}async reactivateSubscription(){await J.post(`/v1/payment/subscription/reactivate`)}async previewUpgrade(e){let{data:t}=await J.post(`/v1/payment/subscription/upgrade-preview`,e);return t}async downgrade(e){let{data:t}=await J.post(`/v1/payment/subscription/downgrade`,e);return t}async cancelDowngrade(){await J.post(`/v1/payment/subscription/downgrade/cancel`)}async upgrade(e){let{data:t}=await J.post(`/v1/payment/subscription/upgrade`,e);return t}async getGraph(e,t){let{data:n}=await J.post(`/v1/unified-usage/graph`,e,{params:{granularity:t}});return(n.billingGraph??[]).map(e=>({periodStart:e.periodStart,requests:e.entryCount}))}};function F1e(e,t){return nc({queryKey:Y.usage.wallet(e),queryFn:()=>V8.getWallet(),enabled:t&&!!e})}function I1e(e,t){return nc({queryKey:Y.usage.summary(e),queryFn:()=>V8.getSummary(e),enabled:t&&!!e.companyId})}function L1e(e,t,n){return nc({queryKey:Y.usage.graph({...e,granularity:t}),queryFn:()=>V8.getGraph(e,t),enabled:n&&!!e.companyId})}function H8(e){return nc({queryKey:Y.usage.packages(),queryFn:()=>V8.getPackages(),enabled:e})}function R1e(){return rc({mutationFn:e=>V8.createCheckout(e)})}function U8(){return rc({mutationFn:e=>V8.createPortalSession(e)})}function z1e(){return rc({mutationFn:()=>V8.reactivateSubscription()})}function B1e(e){return nc({queryKey:Y.usage.upgradePreview(e??``),queryFn:()=>V8.previewUpgrade({packageId:e}),enabled:!!e,staleTime:0,gcTime:0})}function V1e(){return rc({mutationFn:e=>V8.upgrade(e)})}function H1e(){return rc({mutationFn:e=>V8.downgrade(e)})}function U1e(){return rc({mutationFn:()=>V8.cancelDowngrade()})}var W8=new class{async getSubscription(e){let{data:t}=await J.get(`/v1/companies/${e}/subscription`);return{...t,validUntil:new Date(t.validUntil).getTime()}}async getUsage(e){let{data:t}=await J.get(`/v1/companies/${e}/usage`);return t}},G8=6e4;function K8(e,t){return nc({queryKey:Y.billing.subscription(e),queryFn:()=>W8.getSubscription(e),enabled:t&&!!e,staleTime:G8})}function W1e(e,t){return nc({queryKey:Y.billing.usage(e),queryFn:()=>W8.getUsage(e),enabled:t&&!!e,staleTime:G8})}function G1e({label:e,variant:t=`outline`,icon:n=eb}){let r=X(`pages.usage`),i=U8();function a(){i.mutate({returnUrl:`${window.location.origin}/usage`},{onSuccess:e=>{window.location.href=e.portalUrl},onError:()=>G.error(r(`manageBillingError`))})}return(0,U.jsxs)(Z,{variant:t,size:`sm`,disabled:i.isPending,onClick:a,children:[i.isPending?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):n?(0,U.jsx)(n,{className:`size-3.5`}):null,e??r(`manageBilling`)]})}function q8(){let e=X(`pages.usage`),t=U8();function n(){t.mutate({returnUrl:`${window.location.origin}/usage`,flow:`payment_method_update`},{onSuccess:e=>{window.location.href=e.portalUrl},onError:()=>G.error(e(`manageBillingError`))})}return(0,U.jsxs)(`span`,{children:[e(`payDifferentCardBefore`),` `,(0,U.jsx)(`button`,{type:`button`,className:`text-fg-strong cursor-pointer font-medium underline underline-offset-2 disabled:opacity-60`,disabled:t.isPending,onClick:n,children:e(`manageBilling`)}),e(`payDifferentCardAfter`)]})}function J8({pkg:e,activePackage:t,currentPeriodEnd:n,companyId:r,onClose:i}){let a=X(`pages.usage`),o=Us(),s=H1e(),c=n?JT(n):null;function l(){if(!e)return;let t=e;i(),s.mutate({packageId:t.id},{onSuccess:()=>{G.success(a(`downgradeScheduledToast`,{plan:t.name}
375)),[0,2500].forEach(e=>window.setTimeout(()=>o.invalidateQueries({queryKey:Y.usage.wallet(r)}),e))},onError:()=>G.error(a(`downgradeError`))})}return(0,U.jsx)(xT,{open:e!=null,onOpenChange:e=>!e&&i(),children:(0,U.jsxs)(ST,{className:`sm:max-w-md`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:a(`downgradeConfirmTitle`,{plan:e?.name??``})}),(0,U.jsx)(ET,{children:c?a(`downgradeConfirmText`,{currentPlan:t?.name??``,date:c,plan:e?.name??``}):a(`downgradeConfirmTextNoDate`,{plan:e?.name??``})})]}),e&&(0,U.jsxs)(`div`,{className:`border-border bg-surface-alt flex flex-col gap-2.5 rounded-xl border-[0.5px] px-4 py-3.5 text-[12.5px]`,children:[(0,U.jsx)(Y8,{label:a(`downgradeSummaryNewPlan`),value:`${e.name} · $${e.priceUsd??`-`}${a(`perMonth`)}`}),t&&(0,U.jsx)(Y8,{label:a(`upgradeSummaryTests`),value:`${ZT(t.numberOfTestsLimit)} â ${ZT(e.numberOfTestsLimit)}`}),t&&(0,U.jsx)(Y8,{label:a(`upgradeSummaryParallel`),value:`${t.parallelTestLimit} â ${e.parallelTestLimit}`}),(0,U.jsx)(Y8,{label:a(`downgradeSummaryCharge`),value:a(`downgradeSummaryNoChargeToday`),emphasized:!0})]}),e&&(0,U.jsxs)(`p`,{className:`text-muted-foreground text-[12px] leading-relaxed`,children:[c&&(0,U.jsxs)(U.Fragment,{children:[a(`downgradeFooter`,{plan:e.name,date:c}),` `]}),(0,U.jsx)(q8,{})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:i,children:a(`downgradeConfirmKeep`,{plan:t?.name??``})}),(0,U.jsxs)(Z,{onClick:l,disabled:s.isPending,children:[s.isPending?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):(0,U.jsx)(ex,{className:`size-3.5`}),a(`downgradeConfirmCta`)]})]})]})})}function K1e(e,t){if(!e||!t||t.priceUsd==null)return null;let n=e.filter(e=>e.active&&e.priceUsd!=null&&e.priceUsd<t.priceUsd);return n.length===0?null:n.sort((e,t)=>(t.priceUsd??0)-(e.priceUsd??0))[0]}function Y8({label:e,value:t,emphasized:n}){return(0,U.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:e}),t==null?(0,U.jsx)(gb,{className:`text-muted-foreground size-3.5 animate-spin`}):(0,U.jsx)(`span`,{className:W(`text-fg-strong font-semibold tabular-nums`,n&&`text-primary`),children:t})]})}function q1e({wallet:e,testsLimit:t}){let n=X(`pages.usage`),[r,i]=(0,O.useState)(!1),[a,o]=(0,O.useState)(null),s=U8(),c=H8(r),l=e.subscriptionInterval===`ANNUAL`||e.pendingDowngradePackageId?null:K1e(c.data,e.activePackage);if(e.subscriptionStatus===`CANCELED`||e.cancelAtPeriodEnd||!e.activePackage)return null;let u=e.activePackage.name,d=e.currentPeriodEnd?JT(e.currentPeriodEnd):n(`cancelDialogDateFallback`),f=(t??e.activePackage.numberOfTestsLimit??0).toLocaleString();function p(){s.mutate({returnUrl:`${window.location.origin}/usage`,flow:`subscription_cancel`},{onSuccess:e=>{window.location.href=e.portalUrl},onError:()=>G.error(n(`manageBillingError`))})}return(0,U.jsxs)(`section`,{className:`border-border bg-surface flex flex-col gap-4 roun
375ded-2xl border-[0.5px] px-5 py-4 sm:flex-row sm:items-center sm:justify-between`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h2`,{className:`text-fg-strong text-[15px] font-semibold`,children:n(`cancelSubscription`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[620px] text-[12.5px] leading-relaxed`,children:n(`cancelSubscriptionSectionBody`)})]}),(0,U.jsxs)(Z,{variant:`outline`,className:`border-status-error-fg/20 text-status-error-fg hover:bg-status-error-bg hover:text-status-error-fg`,onClick:()=>i(!0),children:[(0,U.jsx)(Ty,{className:`size-3.5`}),n(`cancelSubscription`)]}),(0,U.jsx)(xT,{open:r,onOpenChange:i,children:(0,U.jsxs)(ST,{className:`gap-0 overflow-hidden p-0 sm:max-w-[520px]`,children:[(0,U.jsxs)(`div`,{className:`px-6 pt-6 pb-5`,children:[(0,U.jsxs)(CT,{className:`flex-row items-start gap-3 space-y-0`,children:[(0,U.jsx)(`div`,{className:`bg-status-error-bg text-status-error-fg flex size-10 shrink-0 items-center justify-center rounded-xl`,children:(0,U.jsx)(Ty,{className:`size-4`})}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(TT,{className:`text-fg-strong text-[18px] font-bold`,children:n(`cancelDialogTitle`)}),(0,U.jsxs)(ET,{className:`mt-2 text-[13px] leading-relaxed`,children:[n(`cancelDialogIntroBefore`,{plan:u}),` `,(0,U.jsx)(`strong`,{className:`text-fg-strong font-semibold`,children:d}),`. `,n(`cancelDialogIntroAfter`)]})]})]}),(0,U.jsxs)(`ul`,{className:`mt-5 flex flex-col gap-3`,children:[(0,U.jsx)(X8,{text:n(`cancelDialogQuotaImpact`,{count:f})}),(0,U.jsx)(X8,{text:n(`cancelDialogSchedulesImpact`)}),(0,U.jsx)(X8,{text:n(`cancelDialogIntegrationsImpact`)})]}),l&&(0,U.jsxs)(`div`,{className:`border-primary/15 bg-primary/5 text-primary mt-5 flex gap-2 rounded-xl border-[0.5px] px-4 py-3 text-[12.5px] leading-relaxed`,children:[(0,U.jsx)(qb,{className:`mt-0.5 size-3.5 shrink-0`}),(0,U.jsxs)(`p`,{children:[(0,U.jsx)(`em`,{children:n(`cancelDialogDowngradePrompt`)}),` `,(0,U.jsx)(`button`,{type:`button`,className:`font-semibold underline underline-offset-2 hover:opacity-80`,onClick:()=>{i(!1),o(l)},children:n(`cancelDialogDowngradeCta`,{plan:l.name,price:`$${l.priceUsd}`})}),` `,(0,U.jsx)(`em`,{children:n(`cancelDialogDowngradeSuffix`)})]})]})]}),(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col-reverse gap-2 border-t px-6 py-4 sm:flex-row sm:justify-end`,children:[(0,U.jsx)(dde,{asChild:!0,children:(0,U.jsx)(Z,{variant:`outline`,children:n(`cancelDialogKeepPlan`)})}),(0,U.jsxs)(Z,{variant:`outline`,className:`border-status-error-fg/20 bg-surface text-status-error-fg hover:bg-status-error-bg hover:text-status-error-fg`,disabled:s.isPending,onClick:p,children:[s.isPending?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):(0,U.jsx)(Ty,{className:`size-3.5`}),n(`cancelSubscription`)]})]})]})}),(0,U.jsx)(J8,{pkg:a,activePackage:e.activePackage,currentPeriodEnd:e.currentPeriodEnd,companyId:e.companyId,onClose:()=>o(null)})]})}function X8({text:e}){return(0,U.jsxs)(`li`,{className:`text-fg-body flex items-start gap-3 text-[13px] leading-relaxed`,children:[(0,U.jsx)(Ky,{className:`text-status-error-fg mt-0.5 size-4 shrink-0`}),(0,U.jsx)(`span`,{children:e})]})}var J1e={Starter:{featured:!1,cicd:!1,supportKey:`featSupport48h`,descKey:`planDescStarter`},Grow:{featured:!1,cicd:!0,supportKey:`featSupport24h`,descKey:`planDescGrow`},Pro:{featured:!0,cicd:!0,supportKey:`featSupport12h`,descKey:`planDescPro`}},Y1e={featured:!1,cicd:!1,supportKey:``,descKey:``},Z8={Starter:1,Grow:2,Pro:3};function X1e(e,t){if(!t)return`select`;if(e.id===t.id)return`current`;let n=Z8[e.name],r=Z8[t.name];return n!=null&&r!=null?n<r?`lower`:n>r?`higher`:`current`:t.priceUsd!=null&&e.priceUsd!=null&&e.priceUsd<t.priceUsd?`lower`:t.priceUsd!=null&&e.priceUsd!=null&&e.priceUsd>t.priceUsd?`higher`:`current`}function Q8({activePackage:e=null,subscriptionInterval:t=null,companyId:n=``,currentPeriodEnd:r=null,pendingDowngradePackageId:i=null,returnTo:a=null}){let o=X(`pages.usage`),s=Us(),[c,l]=(0,O.useState)(t===`ANNUAL`?`ANNUAL`:`MONTHLY`),[u,d]=(0,O.useState)(null),[f,p]=(0,O.useState)(null),[m,h]=(0,O.useState)(null),g=B1e(f?.id??null),_=H8(!0),v=R1e(),y=V1e(),b=v.isPending||y.isPending,x=t!==`ANNUAL`;function S(e){d(e.id);let t=window.location.origin;v.mutate({packageId:e.id,interval:c,successUrl:`${t}/usage?purchase=success&session_id={CHECKOUT_SESSION_ID}`,cancelUrl:`${t}/usage?purchase=cancel`},{onSuccess:t=>{let n=c===`ANNUAL`?e.priceUsdAnnual:e.priceUsd;
375n!=null&&eue({sessionId:t.sessionId,planName:e.name,value:n,currency:`USD`,returnTo:a??void 0}),window.location.href=t.checkoutUrl},onError:()=>{d(null),G.error(o(`checkoutError`))}})}function C(){if(!f)return;let e=f;p(null),w(e)}function w(e){d(e.id),y.mutate({packageId:e.id},{onSuccess:()=>{G.success(o(`upgradeProcessing`)),d(null),[0,3e3,7e3].forEach(e=>window.setTimeout(()=>s.invalidateQueries({queryKey:Y.usage.wallet(n)}),e))},onError:()=>{d(null),G.error(o(`upgradeError`))}})}return(0,U.jsxs)(`section`,{className:`border-border bg-surface overflow-hidden rounded-[14px] border-[0.5px] shadow-sm`,children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-3 px-5 pt-5 pb-4`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h2`,{className:`text-fg-strong text-[15px] font-semibold`,children:o(e?`changePlanTitle`:`choosePlanTitle`)}),e&&(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[620px] text-[12.5px] leading-relaxed`,children:o(`changePlanSubtitle`)})]}),(0,U.jsxs)(`div`,{className:`bg-surface-alt border-border inline-flex items-center gap-0.5 rounded-lg border-[0.5px] p-0.5`,children:[(0,U.jsx)($8,{active:c===`MONTHLY`,onClick:()=>l(`MONTHLY`),children:o(`monthly`)}),(0,U.jsxs)($8,{active:c===`ANNUAL`,onClick:()=>l(`ANNUAL`),children:[o(`annual`),(0,U.jsx)(`span`,{className:`text-status-passed ml-1 text-[10px] font-semibold`,children:o(`annualSaving`)})]})]})]}),(0,U.jsx)(QU,{query:_,children:t=>(0,U.jsx)(`div`,{className:`border-divider border-t-[0.5px] px-5 pt-5 pb-5`,children:(0,U.jsxs)(`div`,{className:`grid items-stretch gap-3 sm:grid-cols-2 lg:grid-cols-4`,children:[t.filter(e=>e.active).map(t=>{let n=X1e(t,e),r=n===`higher`?()=>p(t):n===`lower`?()=>h(t):()=>S(t);return(0,U.jsx)(Z1e,{pkg:t,interval:c,relation:n,busy:u===t.id,disabled:b,downgradable:x,downgradePending:i===t.id,onSelect:r},t.id)}),(0,U.jsx)(Q1e,{})]})})}),(0,U.jsx)(xT,{open:f!=null,onOpenChange:e=>!e&&p(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-md`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:o(`upgradeConfirmTitle`,{plan:f?.name??``})}),(0,U.jsx)(ET,{children:o(`upgradeConfirmText`)})]}),f&&(0,U.jsxs)(`div`,{className:`border-border bg-surface-alt flex flex-col gap-2.5 rounded-xl border-[0.5px] px-4 py-3.5 text-[12.5px]`,children:[(0,U.jsx)(e5,{label:o(`upgradeSummaryNewPlan`),value:`${f.name} · $${(c===`ANNUAL`?f.priceUsdAnnual:f.priceUsd)??`-`}${o(c===`ANNUAL`?`perYear`:`perMonth`)}`}),e&&(0,U.jsx)(e5,{label:o(`upgradeSummaryTests`),value:`${ZT(e.numberOfTestsLimit)} â ${ZT(f.numberOfTestsLimit)}`}),e&&(0,U.jsx)(e5,{label:o(`upgradeSummaryParallel`),value:`${e.parallelTestLimit} â ${f.parallelTestLimit}`}),(0,U.jsx)(e5,{label:o(`upgradeSummaryProrated`),value:g.isPending?null:g.data?.proratedAmountUsd==null?`â`:`$${g.data.proratedAmountUsd.toFixed(2)}`,emphasized:!0})]}),f&&(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px] leading-relaxed`,children:(0,U.jsx)(q8,{})}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>p(null),children:o(`upgradeConfirmCancel`)}),(0,U.jsxs)(Z,{onClick:C,children:[(0,U.jsx)(tx,{className:`size-3.5`}),o(`upgradeConfirmCta`)]})]})]})}),(0,U.jsx)(J8,{pkg:m,activePackage:e,currentPeriodEnd:r,companyId:n,onClose:()=>h(null)})]})}function $8({active:e,onClick:t,children:n}){return(0,U.jsx)(`button`,{type:`button`,onClick:t,className:W(`rounded-md px-3 py-1 text-[12px] font-medium transition-colors`,e?`bg-surface text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`),children:n})}function Z1e({pkg:e,interval:t,relation:n,busy:r,disabled:i,downgradable:a,downgradePending:o,onSelect:s}){let c=X(`pages.usage`),l=J1e[e.name]??Y1e,u=t===`ANNUAL`,d=u?e.priceUsdAnnual:e.priceUsd,f=u&&e.priceUsdAnnual!=null?Math.round(e.priceUsdAnnual/12):null,p=n===`current`,m=l.featured;return(0,U.jsxs)(`div`,{className:W(`bg-surface border-border relative flex min-h-[430px] flex-col gap-[13px] rounded-[14px] border p-[18px_16px]`,p&&`[background:linear-gradient(180deg,var(--t2t-violet-pale),var(--surface)_60%)]`,m&&`border-violet shadow-[0_0_0_1px_var(--t2t-violet),0_8px_28px_rgba(99,102,241,0.14)]`),children:[p&&(0,U.jsx)(`span`,{className:`absolute top-[-9px] left-1/2 -translate-x-1/2 roun
375ded-full bg-[#111827] px-[10px] py-[3px] text-[9.5px] leading-none font-semibold tracking-[0.04em] whitespace-nowrap text-white uppercase`,children:c(`currentPlanBadge`)}),(0,U.jsx)(`div`,{className:W(`text-[16px] leading-tight font-bold tracking-[-0.01em]`,m?`text-violet`:`text-fg-strong`),children:e.name}),l.descKey&&(0,U.jsx)(`p`,{className:`text-muted-foreground min-h-[46px] text-[11px] leading-[1.45]`,children:c(l.descKey)}),(0,U.jsxs)(`div`,{children:[(0,U.jsxs)(`div`,{className:`flex items-baseline gap-1`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-[16px] leading-none font-semibold`,children:`$`}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[30px] leading-none font-extrabold tracking-[-0.03em] tabular-nums`,children:d??`-`}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11.5px]`,children:c(u?`perYear`:`perMonth`)})]}),(0,U.jsx)(`div`,{className:`text-fg-hint mt-1 min-h-[13px] text-[10px]`,children:f==null?c(`billedMonthly`):`~ $${f}${c(`perMonth`)} ${c(`billedAnnually`)}`})]}),(0,U.jsx)($1e,{relation:n,meta:l,busy:r,disabled:i,downgradable:a,downgradePending:o,onSelect:s,t:c}),(0,U.jsx)(`div`,{className:`border-divider mt-1 border-t-[0.5px] pt-[11px]`,children:(0,U.jsx)(`ul`,{className:`flex flex-col gap-[9px]`,children:t0e(e,l,c).map(e=>(0,U.jsxs)(`li`,{className:`text-fg-body flex items-start gap-2 text-[11.5px] leading-snug`,children:[(0,U.jsx)(Py,{className:`text-violet mt-px size-3.5 shrink-0`}),(0,U.jsx)(e0e,{text:e})]},e))})})]})}function Q1e(){let e=X(`pages.usage`);return(0,U.jsxs)(`div`,{className:`bg-surface border-border relative flex min-h-[430px] flex-col gap-[13px] rounded-[14px] border p-[18px_16px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong text-[16px] leading-tight font-bold tracking-[-0.01em]`,children:e(`customPlanName`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground min-h-[46px] text-[11px] leading-[1.45]`,children:e(`customPlanDesc`)}),(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:`text-muted-foreground text-[28px] leading-none font-extrabold tracking-[-0.03em]`,children:e(`customPlanPrice`)}),(0,U.jsx)(`div`,{className:`text-fg-hint mt-1 min-h-[13px] text-[10px]`,children:e(`customPlanBilling`)})]}),(0,U.jsx)(Z,{className:`w-full bg-[#111827] font-normal text-white hover:bg-[#0f172a]`,size:`lg`,asChild:!0,children:(0,U.jsxs)(`a`,{href:`mailto:[email protected]`,children:[(0,U.jsx)(ky,{className:`size-3.5`}),` `,e(`contactSales`)]})}),(0,U.jsx)(`div`,{className:`border-divider mt-1 border-t-[0.5px] pt-[11px]`,children:(0,U.jsx)(`ul`,{className:`flex flex-col gap-[9px]`,children:[`customFeatureVolume`,`customFeatureParallel`,`customFeatureSupport`,`customFeatureSla`,`customFeatureOnboarding`].map(t=>(0,U.jsxs)(`li`,{className:`text-fg-body flex items-start gap-2 text-[11.5px] leading-snug`,children:[(0,U.jsx)(Py,{className:`text-violet mt-px size-3.5 shrink-0`}),e(t)]},t))})})]})}function $1e({relation:e,meta:t,busy:n,disabled:r,downgradable:i,downgradePending:a,onSelect:o,t:s}){if(e===`current`)return(0,U.jsxs)(Z,{className:`w-full`,size:`lg`,variant:`outline`,disabled:!0,children:[(0,U.jsx)(Py,{className:`size-3.5`}),` `,s(`currentPlanCta`)]});if(e===`lower`)return i?a?(0,U.jsxs)(Z,{className:`w-full`,size:`lg`,variant:`outline`,disabled:!0,children:[(0,U.jsx)(Py,{className:`size-3.5`}),` `,s(`downgradeScheduledCta`)]}):(0,U.jsx)(Z,{className:`w-full`,size:`lg`,variant:`outline`,disabled:r,onClick:o,children:n?(0,U.jsx)(gb,{className:`size-4 animate-spin`}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(ex,{className:`size-3.5`}),` `,s(`downgradeCta`)]})}):null;let c=e===`higher`;return(0,U.jsx)(Z,{className:`w-full`,size:`lg`,variant:t.featured||c?`default`:`outline`,disabled:r,onClick:o,children:n?(0,U.jsx)(gb,{className:`size-4 animate-spin`}):c?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(tx,{className:`size-3.5`}),` `,s(`upgradeCta`)]}):s(`selectPlan`)})}function e5({label:e,value:t,emphasized:n}){return(0,U.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:e}),t==null?(0,U.jsx)(gb,{className:`text-muted-foreground size-3.5 animate-spin`}):(0,U.jsx)(`span`,{className:W(`text-fg-strong font-semibold tabular-nums`,n&&`text-primary`),children:t})]})}function e0e({text:e}){let t=/^([\d,.]+h?)(.*)$/.exec(e);return t?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`b`,{className:`font-[650]`,children:t[1]}),t[2]]}):e}function t0e(e,t,n){let r=[`${ZT(e.numberOfTestsLimit)} ${n(`testCasesPerMonthSuffix`)}`,n(`featWebAutomation`),`${e.parallelTestLimit} ${n(`parallelRunsSuffix`)}`,n(`featBrowserExtension`)];return t.cicd&&r.push(n(`featCicd`),n(`featJiraSlack`),n(`featOnboarding`)),t.supportKey&&r.push(n(t.supportKey)),r}function n0e({...e}){return(0,U.jsx)(pl,{"data-slot":`collapsible`,...e})}function r0e({...e}){return(0,U.jsx)(cl,{"data-slot":`collapsible-trigger`,...e})}function i0e({...e}){return(0,U.jsx)(ul,{"data-slot":`collapsible-content`,...e})}function a0e({companyId:e,from:t,to:n,enabled:r,requests:i}){let a=X(`pages.usage`),o=L1e({companyId:e,from:t,to:n},`DAY`,r),[s,c]=(0,O.useState)(!1);return(0,U.jsxs)(n0e,{open:s,onOpenChange:c,className:`bg-surface border-border rounded-xl border-[0.5px]`,children:[(0,U.jsxs)(r0e,{className:`flex w-full cursor-pointer items-center justify-between px-4 py-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-1.5 text-[13px]`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong font-semibold`,children:a(`activityTitle`)}),i!=null&&(0,U.jsxs)(`span`,{className:`text-muted-foreground tabular-nums`,children:[`· `,a(`requestsTotal`,{count:ZT(i)})]})]}),(0,U.jsx)(Fy,{className:W(`text-muted-foreground size-4 shrink-0 transition-transform duration-200`,s&&`rotate-180`)})]}),(0,U.jsx)(i0e,{children:(0,U.jsx)(`div`,{className:`px-4 pb-4`,children:(0,U.jsx)(QU,{query:o,isEmpty:e=>e.length===0||e.every(e=>e.requests===0),loading:(0,U.jsx)(RH,{className:`h-[180px] w-full rounded-lg`}),empty:(0,U.jsx)(`div`,{className:`text-muted-foreground flex h-[180px] items-center justify-center text-[12.5px]`,children:a(`activityEmpty`)}),children:e=>(0,U.jsx)(o0e,{points:e,requestsLabel:a(`requestsLabel`)})})})})]})}function o0e({points:e,requestsLabel:t}){let n=e.map(e=>({label:s0e(e.periodStart),[t]:e.requests}));return(0,U.jsx)(`div`,{className:`h-[180px]`,children:(0,U.jsx)(CA,{width:`100%`,height:`100%`,children:(0,U.jsxs)(bke,{data:n,margin:{top:5,right:8,left:-18,bottom:0},children:[(0,U.jsx)(`defs`,{children:(0,U.jsxs)(`linearGradient`,{id:`usage-req-grad`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,U.jsx)(`stop`,{offset:`0%`,stopColor:`var(--color-primary)`,stopOpacity:.28}),(0,U.jsx)(`stop`,{offset:`100%`,stopColor:`var(--color-primary)`,stopOpacity:0})]})}),(0,U.jsx)(iV,{strokeDasharray:`3 3`,stroke:`var(--color-divider)`,vertical:!1}),(0,U.jsx)(UV,{dataKey:`label`,tick:{fontSize:10,fill:`var(--color-muted-foreground)`}
375,axisLine:!1,tickLine:!1,minTickGap:24}),(0,U.jsx)(JV,{tick:{fontSize:10,fill:`var(--color-muted-foreground)`},axisLine:!1,tickLine:!1,width:32,allowDecimals:!1}),(0,U.jsx)(xz,{contentStyle:{fontSize:11,borderRadius:8,border:`0.5px solid var(--color-border)`,background:`var(--color-popover)`,color:`var(--color-popover-foreground)`}}),(0,U.jsx)(FV,{type:`monotone`,dataKey:t,stroke:`var(--color-primary)`,strokeWidth:2,fill:`url(#usage-req-grad)`,isAnimationActive:!1})]})})})}function s0e(e){return qT(e,{month:`short`,day:`numeric`})}var c0e=bT(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}});function t5({className:e,variant:t=`default`,asChild:n=!1,...r}){let i=n?Tc:`span`;return(0,U.jsx)(i,{"data-slot":`badge`,"data-variant":t,className:W(c0e({variant:t}),e),...r})}function l0e({wallet:e,testsUsed:t,testsLimit:n}){let r=X(`pages.usage`),i=Us(),a=z1e(),o=U1e();function s(){o.mutate(void 0,{onSuccess:()=>{G.success(r(`downgradeCanceledToast`)),i.invalidateQueries({queryKey:Y.usage.wallet(e.companyId)})},onError:()=>G.error(r(`downgradeCancelError`))})}function c(){a.mutate(void 0,{onSuccess:()=>{G.success(r(`reactivateSuccess`)),[0,3e3].forEach(t=>window.setTimeout(()=>i.invalidateQueries({queryKey:Y.usage.wallet(e.companyId)}),t))},onError:()=>G.error(r(`reactivateError`))})}let l=e.subscriptionStatus===`CANCELED`,u=e.activePackage,d=e.currentPeriodGrantedTokens??u?.tokenAmount??0,f=e.balanceTokens??0,p=e.spentThisPeriodTokens??Math.max(0,d-f),m=d>0?r(`tokensRemainingWithPct`,{count:ZT(f),pct:n5(p,d)}):r(`tokensRemaining`,{count:ZT(f)}),h=e.currentPeriodEnd?JT(e.currentPeriodEnd):null,g=u?.priceUsd,_=e.subscriptionInterval===`ANNUAL`?r(`billedAnnually`):r(`billedMonthly`);return(0,U.jsxs)(`section`,{className:`border-border bg-surface rounded-2xl border-[0.5px] px-5 py-4`,children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-4`,children:[(0,U.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,U.jsx)(`div`,{className:`bg-primary/10 text-primary flex size-[46px] shrink-0 items-center justify-center rounded-xl`,children:(0,U.jsx)(qb,{className:`size-5`})}),(0,U.jsxs)(`div`,{children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-[18px] font-bold`,children:u?.name??r(`noPackage`)}),l?(0,U.jsx)(t5,{className:`bg-surface-alt text-muted-foreground`,children:r(`statusCanceled`)}):e.cancelAtPeriodEnd?(0,U.jsx)(t5,{className:`bg-status-pending-bg text-status-pending`,children:r(`statusCanceling`)}):(0,U.jsx)(t5,{className:`bg-status-passed-bg text-status-passed`,children:r(`statusActive`)})]}),g!=null&&(0,U.jsxs)(`div`,{className:`text-muted-foreground mt-0.5 text-[13px] leading-5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong font-semibold tabular-nums`,children:u0e(g)}),` `,r(`perMonthLong`),` · `,_]}),l?null:(0,U.jsxs)(`div`,{className:`text-muted-foreground mt-0.5 flex items-center gap-1.5 text-[12px]`,children:[(0,U.jsx)(jy,{className:`size-3`}),` `,h?r(`renewsOn`,{date:h}):r(`renewsUnknown`)]}),!l&&e.pendingDowngradePackageName&&(0,U.jsxs)(`div`,{className:`text-status-pending mt-0.5 flex items-center gap-1.5 text-[12px]`,children:[(0,U.jsx)(ex,{className:`size-3`}),(0,U.jsx)(`span`,{children:r(`pendingDowngradeLine`,{plan:e.pendingDowngradePackageName,date:e.pendingDowngradeAt?JT(e.pendingDowngradeAt):``})}),(0,U.jsx)(`button`,{type:`button`,className:`text-primary font-medium underline-offset-2 hover:underline disabled:opacity-50`,disabled:o.isPending,onClick:s,children:r(`pendingDowngradeUndo`)})]})]})]}),(0,U.jsxs)(`div`,{className:`flex gap-2`,children:[l?null:e.cancelAtPeriodEnd?(0,U.jsxs)(Z,{variant:`ghost`,size:`sm`,disabled:a.isPending,onClick:c,children:[a.isPending?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):(0,U.jsx)(Lb,{className:`size-3.5`}),r(`reactivateSubscription`)]}):null,(0,U.jsx)(G1e,{})]})]}),(0,U.jsxs)(`div`,{className:`mt-5 grid grid-cols-1 gap-5 sm:grid-cols-3`,children:[(0,U.jsx)(r5,{label:r(`meterTokens`),used:p,limit:d,note:m}),(0,U.jsx)(r5,{label:r(`meterTests`),used:t,limit:n,noteSuffix:r(`thisPeriod`)}),(0,U.jsx)(r5,{label:r(`meterParallel`),used:u?.parallelTestLimit,noteSuffix:r(`concurrentRuns`)})]})]})}function u0e(e){let t=Number.isInteger(e)?0:2;
375return`$${e.toLocaleString(void 0,{minimumFractionDigits:t,maximumFractionDigits:2})}`}function n5(e,t){return t==null||t<=0?0:Math.min(100,Math.round(e/t*100))}function r5({label:e,used:t,limit:n,note:r,noteSuffix:i}){let a=X(`pages.usage`),o=n!=null&&n>0,s=t??0,c=n5(s,n),l=c>=90?`bg-status-error`:c>=75?`bg-status-pending`:`bg-primary`;return(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:`text-fg-hint text-[10px] font-semibold tracking-[0.08em] uppercase`,children:e}),(0,U.jsxs)(`div`,{className:`text-fg-strong mt-1 text-[14px] tabular-nums`,children:[(0,U.jsx)(`span`,{className:`font-bold`,children:ZT(s)}),o&&(0,U.jsxs)(`span`,{className:`text-muted-foreground`,children:[` / `,ZT(n)]})]}),o?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{className:`bg-surface-alt mt-1.5 h-[6px] overflow-hidden rounded-full`,children:(0,U.jsx)(`div`,{className:W(`h-full rounded-full transition-[width]`,l),style:{width:`${c}%`}})}),(0,U.jsx)(`div`,{className:`text-fg-hint mt-1 text-[10.5px]`,children:r??a(`meterUsedPct`,{pct:c,suffix:i??``})})]}):(0,U.jsx)(`div`,{className:`text-fg-hint mt-1.5 text-[10.5px]`,children:r??i??`â`})]})}var d0e=864e5;function f0e({showHeader:e=!0,className:t}={}){let n=X(`pages.usage`),{activeCompanyID:r,loading:i}=NT(),a=!i&&!!r,[o]=(0,O.useState)(()=>{let e=Date.now();return{from:e-30*d0e,to:e}}),s=F1e(r,a),c=I1e({companyId:r,from:o.from,to:o.to},a),l=K8(r,a),u=W1e(r,a),d=p0e(r,n,s.data);return(0,U.jsxs)(`div`,{className:W(`mx-auto w-full max-w-[1100px]`,e&&`p-6`,t),children:[e&&(0,U.jsxs)(`header`,{className:`mb-5`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[28px] leading-tight font-bold tracking-[-0.02em]`,children:n(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 text-[13px]`,children:n(`subtitle`)})]}),(0,U.jsx)(QU,{query:s,isEmpty:e=>!e.payAsYouGo,empty:(0,U.jsx)(g0e,{}),children:e=>(0,U.jsxs)(`div`,{className:`flex flex-col gap-6`,children:[(0,U.jsx)(h0e,{wallet:e}),e.activePackage?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(l0e,{wallet:e,testsUsed:u.data?.numberOfTests,testsLimit:l.data?.numberOfTestsLimit??e.activePackage.numberOfTestsLimit}),(0,U.jsx)(a0e,{companyId:r,from:o.from,to:o.to,enabled:a,requests:c.data?.totalEntriesCount}),(0,U.jsx)(Q8,{activePackage:e.subscriptionStatus===`CANCELED`?null:e.activePackage,subscriptionInterval:e.subscriptionInterval,companyId:r,currentPeriodEnd:e.currentPeriodEnd,pendingDowngradePackageId:e.pendingDowngradePackageId??null,returnTo:d}),(0,U.jsx)(q1e,{wallet:e,testsLimit:l.data?.numberOfTestsLimit??e.activePackage.numberOfTestsLimit})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(m0e,{}),(0,U.jsx)(Q8,{companyId:r,returnTo:d})]})]})})]})}function p0e(e,t,n){let r=oS(),i=Us(),a=rS(),o=r.get(`purchase`),s=(0,O.useRef)(!1),c=(0,O.useRef)(r.get(`session_id`)),l=(0,O.useRef)(!1),[u]=(0,O.useState)(()=>sS(r.get(`returnTo`))),[d,f]=(0,O.useState)(null),p=(0,O.useRef)(!1);return(0,O.useEffect)(()=>{if(l.current||o!==`success`)return;let e=c.current;if(!e)return;let t=tue(e);if(t){l.current=!0,f(sS(t.returnTo)),XC({transactionId:e,value:t.value,currency:t.currency,planName:t.planName}),nw({transactionId:e,value:t.value,currency:t.currency,planName:t.planName});return}let r=n?.activePackage;!r||r.priceUsd==null||(l.current=!0,XC({transactionId:e,value:r.priceUsd,currency:`USD`,planName:r.name}),nw({transactionId:e,value:r.priceUsd,currency:`USD`,planName:r.name}))},[o,n]),(0,O.useEffect)(()=>{p.current||!d||!n?.activePackage||(p.current=!0,G.success(t(`purchaseReturnToast`)),a.push(d))},[d,n,a,t]),(0,O.useEffect)(()=>{if(!(s.current||!o)){if(s.current=!0,o===`success`){G.success(t(`purchaseSuccessToast`));let n=[0,2500,6e3].map(t=>window.setTimeout(()=>i.invalidateQueries({queryKey:Y.usage.wallet(e)}),t));return window.history.replaceState(null,``,window.location.pathname),()=>n.forEach(e=>window.clearTimeout(e))}o===`cancel`&&G.info(t(`purchaseCancelToast`)),window.history.replaceState(null,``,window.location.pathname)}},[o,i,e,t]),u}function m0e(){let e=X(`pages.usage`);return(0,U.jsxs)(`section`,{className:`border-primary/30 bg-primary/5 flex items-start gap-3 rounded-2xl border-[0.5px] px-5 py-4`,children:[(0,U.jsx)(`div`,{className:`bg-primary/10 text-primary flex size-[40px] shrink-0 items-center justify-center rounded-xl`,children:(0,U.jsx)(qb,{className:`size-5`})}),(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`p`,{className:`text-fg-strong text-[14px] font-semibold`,children:e(`noPlanTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-0.5 text-[12.5px]`,children:e(`noPlanBody`)})]})]})}function h0e({wallet:e}){let t=X(`pages.usage`);return(0,U.jsx)(`div`,{className:`flex flex-col gap-3 empty:hidden`,children:e.subscriptionStatus===`CANCELED`?(0,U.jsx)(i5,{tone:`error`,text:t(`canceledBanner`)}):(0,U.jsxs)(U.Fragment,{children:[e.stoppedDueToBalance&&(0,U.jsx)(i5,{tone:`error`,text:t(`stoppedBanner`)}),!e.stoppedDueToBalance&&e.lowBalanceWarning&&(0,U.jsx)(i5,{tone:`pending`,text:t(`lowBalanceBanner`)}),e.subscriptionStatus===`PAST_DUE`&&(0,U.jsx)(i5,{tone:`error`,text:t(`pastDueBanner`)}),e.cancelAtPeriodEnd&&(0,U.jsx)(i5,{tone:`pending`,text:t(`cancelingBanner`)})]})})}function i5({tone:e,text:t}){let n=nx;return(0,U.jsxs)(`div`,{className:W(`flex items-center gap-2 rounded-lg px-3.5 py-2.5 text-[12.5px] font-medium`,e===`error`?`bg-status-error-bg text-status-error`:`bg-status-pending-bg text-status-pending`),role:`status`,children:[(0,U.jsx)(n,{className:`size-4 shrink-0`}),(0,U.jsx)(`span`,{children:t})]})}function g0e(){let e=X(`pages.usage`);return(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground flex flex-col items-center gap-2 rounded-xl border-[0.5px] p-12 text-center`,children:[(0,U.jsx)(Goe,{className:`size-6 opacity-70`}),(0,U.jsx)(`p`,{className:`text-fg-strong text-[13.5px] font-semibold`,children:e(`notPayAsYouGoTitle`)}),(0,U.jsx)(`p`,{className:`max-w-[420px] text-[12.5px]`,children:e(`notPayAsYouGoBody`)})]})}function _0e(){let e=X(`pages.usage`);return(0,U.jsx)(B8,{title:e(`title`),subtitle:e(`subtitle`),children:(0,U.jsx)(f0e,{showHeader:!1,className:`mx-0 max-w-none`})})}var a5=new class{async listPackages(){let{data:e}=await J.get(`/v1/payment/admin/packages`);return e??[]}async updatePackage(e,t){let{data:n}=await J.put(`/v1/payment/admin/packages/${e}`,t);return n}};function v0e(e){return nc({queryKey:Y.adminPackages.list(),queryFn:()=>a5.listPackages(),enabled:e})}function y0e(){let e=Us();return rc({mutationFn:({id:e,body:t})=>a5.updatePackage(e,t),onSuccess:()=>e.invalidateQueries({queryKey:Y.adminPackages.list()})})}var b0e=[`WEB_TESTING`,`MOBILE_TESTING`];function x0e(){let e=X(`pages.packages`),{currentUser:t}=Hw(),n=t?.roles?.includes(`SUPER_ADMIN`)??!1,r=v0e(n),[i,a]=(0,O.useState)(null);return n?(0,U.jsxs)(`div`,{className:`mx-auto max-w-4xl`,children:[(0,U.jsxs)(`header`,{className:`mb-5`,children:[(0,U.jsx)(`h1`,{className:`text-fg-strong text-[17px] font-semibold`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-0.5 text-[13px]`,children:e(`subt
375itle`)})]}),(0,U.jsx)(QU,{query:r,isEmpty:e=>e.length===0,empty:(0,U.jsx)(`div`,{className:`text-muted-foreground py-10 text-center text-[13px]`,children:e(`empty`)}),children:t=>(0,U.jsx)(`div`,{className:`border-border overflow-hidden rounded-xl border-[0.5px]`,children:(0,U.jsxs)(`table`,{className:`w-full text-[13px]`,children:[(0,U.jsx)(`thead`,{className:`bg-surface-alt text-muted-foreground text-[11px] tracking-wide uppercase`,children:(0,U.jsxs)(`tr`,{children:[(0,U.jsx)(`th`,{className:`px-4 py-2.5 text-left font-medium`,children:e(`colPackage`)}),(0,U.jsx)(`th`,{className:`px-4 py-2.5 text-right font-medium`,children:e(`colPriceMonthly`)}),(0,U.jsx)(`th`,{className:`px-4 py-2.5 text-right font-medium`,children:e(`colTokens`)}),(0,U.jsx)(`th`,{className:`px-4 py-2.5 text-center font-medium`,children:e(`colStatus`)}),(0,U.jsx)(`th`,{className:`px-4 py-2.5 text-right font-medium`})]})}),(0,U.jsx)(`tbody`,{children:t.map(t=>(0,U.jsxs)(`tr`,{className:`border-border border-t-[0.5px]`,children:[(0,U.jsxs)(`td`,{className:`px-4 py-2.5`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong font-medium`,children:t.name}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-[11.5px]`,children:t.description??`â`})]}),(0,U.jsx)(`td`,{className:`px-4 py-2.5 text-right tabular-nums`,children:t.priceUsd==null?`â`:`$${t.priceUsd}`}),(0,U.jsx)(`td`,{className:`px-4 py-2.5 text-right tabular-nums`,children:t.tokenAmount==null?`â`:ZT(t.tokenAmount)}),(0,U.jsx)(`td`,{className:`px-4 py-2.5 text-center`,children:(0,U.jsx)(t5,{variant:t.active?`default`:`secondary`,children:t.active?e(`statusActive`):e(`statusInactive`)})}),(0,U.jsx)(`td`,{className:`px-4 py-2.5 text-right`,children:(0,U.jsxs)(Z,{variant:`outline`,size:`sm`,onClick:()=>a(t),children:[(0,U.jsx)(jb,{className:`size-3.5`}),e(`edit`)]})})]},t.id))})]})})}),i&&(0,U.jsx)(C0e,{pkg:i,onClose:()=>a(null)},i.id)]}):(0,U.jsxs)(`div`,{className:`mx-auto max-w-2xl py-16 text-center`,children:[(0,U.jsx)(`h1`,{className:`text-fg-strong text-[15px] font-semibold`,children:e(`unauthorizedTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 text-[13px]`,children:e(`unauthorizedBody`)})]})}function S0e(e){let t=e=>e==null?``:String(e);return{name:e.name??``,description:e.description??``,priceUsd:t(e.priceUsd),priceUsdAnnual:t(e.priceUsdAnnual),actualUsdBudget:t(e.actualUsdBudget),parallelTestLimit:t(e.parallelTestLimit),numberOfTestsLimit:t(e.numberOfTestsLimit),displayOrder:t(e.displayOrder),stripePriceIdMonthly:e.stripePriceIdMonthly??``,stripePriceIdAnnual:e.stripePriceIdAnnual??``,stripeProductId:e.stripeProductId??``,features:[...e.features??[]],active:e.active}}var o5=e=>{let t=e.trim();if(t===``)return;let n=Number(t);return Number.isFinite(n)?n:void 0};function C0e({pkg:e,onClose:t}){let n=X(`pages.packages`),[r,i]=(0,O.useState)(()=>S0e(e)),a=y0e(),o=(e,t)=>i(n=>({...n,[e]:t}));function s(e,t){i(n=>({...n,features:t?[...new Set([...n.features,e])]:n.features.filter(t=>t!==e)}))}function c(){let i={name:r.name.trim(),description:r.description.trim(),priceUsd:o5(r.priceUsd),priceUsdAnnual:o5(r.priceUsdAnnual),actualUsdBudget:o5(r.actualUsdBudget),parallelTestLimit:o5(r.parallelTestLimit),numberOfTestsLimit:o5(r.numberOfTestsLimit),displayOrder:o5(r.displayOrder),stripePriceIdMonthly:r.stripePriceIdMonthly.trim(),stripePriceIdAnnual:r.stripePriceIdAnnual.trim(),stripeProductId:r.stripeProductId.trim(),features:r.features,active:r.active};a.mutate({id:e.id,body:i},{onSuccess:()=>{G.success(n(`saved`)),t()},onError:()=>G.error(n(`saveError`))})}return(0,U.jsx)(xT,{open:!0,onOpenChange:e=>!e&&t(),children:(0,U.jsxs)(ST,{className:`max-h-[85vh] overflow-y-auto sm:max-w-lg`,children:[(0,U.jsx)(CT,{children:(0,U.jsx)(TT,{children:n(`editTitle`,{name:e.name})})}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-3.5`,children:[(0,U.jsx)(s5,{label:n(`fieldName`),children:(0,U.jsx)(IT,{value:r.name,onChange:e=>o(`name`,e.target.value)})}),(0,U.jsx)(s5,{label:n(`fieldDescription`),children:(0,U.jsx)($3,{rows:2,value:r.description,onChange:e=>
375o(`description`,e.target.value)})}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,U.jsx)(s5,{label:n(`fieldPriceMonthly`),children:(0,U.jsx)(IT,{inputMode:`decimal`,value:r.priceUsd,disabled:!0,readOnly:!0})}),(0,U.jsx)(s5,{label:n(`fieldPriceAnnual`),children:(0,U.jsx)(IT,{inputMode:`decimal`,value:r.priceUsdAnnual,disabled:!0,readOnly:!0})})]}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11.5px]`,children:n(`fieldPriceLockedHint`)})]}),(0,U.jsx)(s5,{label:n(`fieldBudget`),hint:n(`fieldBudgetHint`,{tokens:e.tokenAmount==null?`â`:ZT(e.tokenAmount)}),children:(0,U.jsx)(IT,{inputMode:`decimal`,value:r.actualUsdBudget,onChange:e=>o(`actualUsdBudget`,e.target.value)})}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,U.jsx)(s5,{label:n(`fieldParallel`),children:(0,U.jsx)(IT,{inputMode:`numeric`,value:r.parallelTestLimit,onChange:e=>o(`parallelTestLimit`,e.target.value)})}),(0,U.jsx)(s5,{label:n(`fieldTestsLimit`),children:(0,U.jsx)(IT,{inputMode:`numeric`,value:r.numberOfTestsLimit,onChange:e=>o(`numberOfTestsLimit`,e.target.value)})})]}),(0,U.jsx)(s5,{label:n(`fieldFeatures`),children:(0,U.jsx)(`div`,{className:`flex flex-col gap-1.5 pt-1`,children:b0e.map(e=>(0,U.jsxs)(`label`,{className:`flex items-center gap-2 text-[13px]`,children:[(0,U.jsx)(v6,{checked:r.features.includes(e),onCheckedChange:t=>s(e,t===!0)}),n(`feature_${e}`)]},e))})}),(0,U.jsx)(s5,{label:n(`fieldStripeMonthly`),children:(0,U.jsx)(IT,{value:r.stripePriceIdMonthly,onChange:e=>o(`stripePriceIdMonthly`,e.target.value),placeholder:`price_â¦`})}),(0,U.jsx)(s5,{label:n(`fieldStripeAnnual`),children:(0,U.jsx)(IT,{value:r.stripePriceIdAnnual,onChange:e=>o(`stripePriceIdAnnual`,e.target.value),placeholder:`price_â¦`})}),(0,U.jsx)(s5,{label:n(`fieldStripeProduct`),children:(0,U.jsx)(IT,{value:r.stripeProductId,onChange:e=>o(`stripeProductId`,e.target.value),placeholder:`prod_â¦`})}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,U.jsx)(s5,{label:n(`fieldDisplayOrder`),children:(0,U.jsx)(IT,{inputMode:`numeric`,value:r.displayOrder,onChange:e=>o(`displayOrder`,e.target.value)})}),(0,U.jsxs)(`div`,{className:`flex items-end gap-2 pb-1.5`,children:[(0,U.jsx)(uQ,{id:`pkg-active`,checked:r.active,onCheckedChange:e=>o(`active`,e)}),(0,U.jsx)(DT,{htmlFor:`pkg-active`,className:`text-[13px]`,children:n(`fieldActive`)})]})]})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:t,disabled:a.isPending,children:n(`cancel`)}),(0,U.jsx)(Z,{size:`sm`,onClick:c,disabled:a.isPending||r.name.trim()===``,children:a.isPending?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):n(`save`)})]})]})})}function s5({label:e,hint:t,children:n}){return(0,U.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,U.jsx)(DT,{className:`text-[12.5px]`,children:e}),n,t&&(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11.5px]`,children:t})]})}function w0e(){return(0,U.jsx)(x0e,{})}var T0e={[KZ.COMPANY_SETTING]:`bg-brand`,[KZ.TEAM_SETTING]:`bg-violet`,[KZ.PROMPT_SETTING]:`bg-status-pending`,[KZ.GENERAL_SETTING]:`bg-muted-foreground`};function E0e({type:e,label:t,className:n}){return(0,U.jsxs)(`span`,{className:W(`bg-surface-alt text-fg-body inline-flex w-fit items-center gap-1.5 rounded-md px-2 py-[3px] text-[11px] font-medium`,n),children:[(0,U.jsx)(`span`,{className:W(`size-1.5 rounded-full`,T0e[e]),"aria-hidden":`true`}),t]})}var D0e=[10,25,50],c5={[KZ.GENERAL_SETTING]:`typeGeneral`,[KZ.TEAM_SETTING]:`typeTeam`,[KZ.COMPANY_SETTING]:`typeCompany`,[KZ.PROMPT_SETTING]:`typePrompt`},O0e={[KZ.COMPANY_SETTING]:`bg-brand`,[KZ.TEAM_SETTING]:`bg-violet`,[KZ.PROMPT_SETTING]:`bg-status-pending`,[KZ.GENERAL_SETTING]:`bg-muted-foreground`};function k0e(e){return e?qT(e,{year:`numeric`,month:`short`,day:`numeric`}):`-`}function A0e(){let e=X(`pages.settings.profiles`),t=rS(),{activeCompanyID:n,activeTeamID:r,loading:i}=NT(),a=XZ(n,r,!i&&!!n&&!!r),o=JBe(n,r),[s,c]=(0,O.useState)(``),[l,u]=(0,O.useState)({}),[d,f]=(0,O.useState)({key:`created`,dir:`desc`}),[p,m]=(0,O.useState)(1),[h,g]=(0,O.useState)(10),[_,v]=(0,O.useState)(null),y=(0,O.useMemo)(()=>{let e=a.data??[],t=s.trim().toLowerCase(),n=l.type??[],r=e.filter(e=>{let r=!t||e.name.toLowerCase().includes(t)||(e.description??``).toLowerCase().includes(t),i=n.length===0||n.includes(e.settingType);return r&&i}),i=d.dir===`asc`?1:-1;return[...r].sort((e,t)=>
375{switch(d.key){case`name`:return e.name.localeCompare(t.name)*i;case`type`:return e.settingType.localeCompare(t.settingType)*i;default:return((e.creationTime??0)-(t.creationTime??0))*i}})},[a.data,s,l,d]),b=y.length,x=(0,O.useMemo)(()=>y.slice((p-1)*h,p*h),[y,p,h]);function S(){m(1)}function C(e){e.id&&t.push(`/settings/profiles/${e.id}`)}function w(t){return[{label:e(`actEdit`),icon:jb,onSelect:()=>C(t)},{label:e(`actCopyId`),icon:Yy,disabled:!t.id,onSelect:()=>{t.id&&(navigator.clipboard.writeText(t.id).catch(()=>{}),G.success(e(`copiedId`)))}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,disabled:!t.id,onSelect:()=>v(t)}]}function T(){let t=_;t?.id&&o.mutate(t.id,{onSuccess:()=>{G.success(e(`deleted`)),v(null)},onError:()=>G.error(e(`deleteFailed`))})}let E=[{key:`name`,header:e(`colName`),width:`1.8fr`,sortable:!0,cell:e=>(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:e.name}),e.createdBy&&(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[10.5px]`,children:e.createdBy})]})},{key:`type`,header:e(`colType`),width:`1fr`,sortable:!0,cell:t=>(0,U.jsx)(E0e,{type:t.settingType,label:e(c5[t.settingType])})},{key:`description`,header:e(`colDescription`),width:`2fr`,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-body truncate text-[12px]`,children:e.description||`-`})},{key:`settings`,header:e(`colSettings`),width:`0.9fr`,cell:t=>(0,U.jsx)(`span`,{className:`text-fg-body text-[11.5px] tabular-nums`,children:e(`settingsCount`,{count:t.settings?.length??0})})},{key:`created`,header:e(`colCreated`),width:`1fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-body text-[11.5px] tabular-nums`,children:k0e(e.creationTime)})}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumbSettings`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[560px] text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsxs)(Z,{onClick:()=>t.push(`/settings/profiles/new`),children:[(0,U.jsx)(Pb,{}),e(`newProfile`)]})]}),(0,U.jsx)(QU,{query:a,isEmpty:e=>e.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(Gb,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`),action:(0,U.jsxs)(Z,{onClick:()=>t.push(`/settings/profiles/new`),children:[(0,U.jsx)(Pb,{}),e(`emptyCta`)]})}),children:()=>(0,U.jsxs)(UU,{children:[(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:s,onChange:e=>{c(e),S()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`}),(0,U.jsx)(ZU,{label:e(`filterType`),value:l,onChange:e=>{u(e),S()},groups:[{key:`type`,label:e(`colType`),options:[KZ.GENERAL_SETTING,KZ.TEAM_SETTING,KZ.COMPANY_SETTING,KZ.PROMPT_SETTING].map(t=>({value:t,label:e(c5[t]),dotClassName:O0e[t]}))}]})]}),x.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{c(``),u({}),S()},children:e(`resetFilters`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:E,rows:x,rowKey:e=>e.id??e.name,density:`compact`,sort:d,onSortChange:e=>{f(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`asc`}),S()},onRowClick:C,rowActions:w,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:p,pageSize:h,total:b,pageSizeOptions:D0e,onPageChange:m,onPageSizeChange:e=>{g(e),S()},itemLabel:e(`rowsProfiles`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),(0,U.jsx)(xT,{open:!!_,onOpenChange:e=>!e&&v(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`deleteTitle`)}),(0,U.jsx)(ET,{children:e(`deleteMessage`,{name:_?.name??``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>v(null),disabled:o.isPending,children:e(`deleteCancel`)}),(0,U.jsxs)(Z,{variant:`destructive`,onClick:T,disabled:o.isPending,children:[(0,U.jsx)($b,{}),e(`deleteConfirm`)]})]})]})})]})}function j0e(){return(0,U.jsx)(A0e,{})}var M0e=[{value:KZ.GENERAL_SETTING,labelKey:`typeGeneral`},{value:KZ.TEAM_SETTING,labelKey:`typeTeam`},{value:KZ.COMPANY_SETTING,labelKey:`typeCompany`},{value:KZ.PROMPT_SETTING,labelKey:`typePrompt`}];function N0e(){let e=X(`pages.settings.editor`),t=aS()?.id??`new`,n=t===`new`,{activeCompanyID:r,activeTeamID:i}=NT(),a=GBe(n?null:t),o={name:``,description:``,settingType:KZ.GENERAL_SETTING,text:``,companyId:r,teamId:i};return n?(0,U.jsx)(u5,{id:`new`,initial:o},`new`):(0,U.jsx)(QU,{query:a,error:()=>(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsx)(l5,{id:t}),(0,U.jsx)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-10 text-center text-[12.5px]`,children:e(`loadFailed`)})]}),children:e=>(0,U.jsx)(u5,{id:t,initial:e},e.id??t)})}function l5({id:e}){let t=X(`pages.settings.editor`),n=rS(),r=e===`new`;return(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:t(`breadcrumbSettings`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>n.push(`/settings/profiles`),className:`hover:text-fg-strong transition-colors`,children:t(`breadcrumbProfiles`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:t(r?`titleCreate`:`titleEdit`)})]})}function u5({id:e,initial:t}){let n=X(`pages.settings.editor`),r=rS(),{activeCompanyID:i,activeTeamID:a}=NT(),o=e===`new`,s=KBe(),c=qBe(),l=s.isPending||c.isPending,[u,d]=(0,O.useState)(t.name),[f,p]=(0,O.useState)(t.settingType),[m,h]=(0,O.useState)(t.description??``),[g,_]=(0,O.useState)(t.text??``),[v,y]=(0,O.useState)(!1),b=()=>r.push(`/settings/profiles`);function x(){if(!u.trim()){y(!0),G.error(n(`nameRequired`));return}let l={name:u.trim(),description:m.trim()||void 0,settingType:f,text:g,companyId:t.companyId||i,teamId:t.teamId||a},d=e=>G.error(Pw(e)??n(`saveFailed`));o?s.mutate(l,{onSuccess:e=>{G.success(n(`created`)),e.id&&r.replace(`/settings/profiles/${e.id}`)},onError:d}):c.mutate({...l,id:e},{onSuccess:()=>G.success(n(`updated`)),onError:d})}return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsx)(l5,{id:e}),(0,U.jsxs)(`div`,{className:`mb-5 flex flex-wrap items-center justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,U.jsx)(`button`,{type:`button`,onClick:b,className:`border-border bg-surface text-muted-foreground hover:text-fg-strong grid size-8 place-items-center rounded-lg border-[0.5px]`,"aria-label":n(`back`),children:(0,U.jsx)(Sy,{className:`size-4`})}),(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:n(o?`titleCreate`:`titleEdit`)})]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(Z,{variant:`outline`,onClick:b,disabled:l,children:n(`cancel`)}),(0,U.jsxs)(Z,{onClick:x,disabled:l,children:[(0,U.jsx)(Rb,{}),n(l?`saving`:`save`)]})]})]}),(0,U.jsx)(`div`,{className:`border-border bg-surface rounded-xl border-[0.5px] px-6 pt-8 pb-6 shadow-sm`,children:(0,U.jsxs)(`div`,{className:`grid grid-cols-1 gap-5 md:grid-cols-2`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`sp-name`,children:n(`labelName`)}),(0,U.jsx)(IT,{id:`sp-name`,value:u,onChange:e=>{d(e.target.value),v&&y(!1)},placeholder:n(`placeholderName`),"aria-invalid":v,disabled:l}),v&&(0,U.jsx)(`span`,{className:`text-destructive text-[11px]`,children:n(`nameRequired`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`sp-type`,children:n(`labelType`)}),(0,U.jsx)(sy,{children:(0,U.jsxs)(cy,{children:[(0,U.jsx)(ly,{asChild:!0,children:(0,U.jsx)(`button`,{type:`button`,className:`text-fg-hint hover:text-fg-body`,"aria-label":n(`typeHintTitle`),children:(0,U.jsx)(db,{className:`size-3.5`})})}),(0,U.jsxs)(uy,{className:`max-w-[260px] flex-col items-start text-left`,children:[(0,U.jsx)(`p`,{className:`mb-0.5 font-semibold`,children:n(`typeHintTitle`)}),(0,U.jsx)(`p`,{children:n(`typeHint`)})]})]})})]}),(0,U.jsxs)(OT,{value:f,onValueChange:e=>p(e),disabled:l,children:[(0,U.jsx)(AT,{id:`sp-type`,className:`w-full`,children:(0,U.jsx)(kT,{placeholder:n(`placeholderType`)})}),(0,U.jsx)(jT,{children:M0e.map(e=>(0,U.jsx)(MT,{value:e.value,children:n(e.labelKey)},e.value))})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5 md:col-span-2`,children:[(0,U.jsx)(DT,{htmlFor:`sp-desc`,children:n(`labelDescription`)}),(0,U.jsx)(IT,{id:`sp-desc`,value:m,onChange:e=>h(e.target.value),placeholder:n(`placeholderDescription`),disabled:l})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5 md:col-span-2`,children:[(0,U.jsx)(DT,{htmlFor:`sp-body`,children:n(`labelBody`)}),(0,U.jsx)($3,{id:`sp-body`,value:g,onChange:e=>_(e.target.value),placeholder:n(`placeholderBody`),disabled:l,spellCheck:!1,className:`min-h-[220px] font-mono text-[12.5px] leading-relaxed`}),(0,U.jsx)(`p`,{className:`text-muted-foreground text-[11.5px]`,children:n(`bodyHint`)})]})]})})]})}function P0e(){return(0,U.jsx)(N0e,{})}function F0e({open:e,mode:t,initial:n,companyId:r,teamId:i,onClose:a}){let o=X(`pages.settings.mcpServers`),s=YBe(),c=eQ(),l=t===`edit`,[u,d]=(0,O.useState)(n?.name??``),[f,p]=(0,O.useState)(n?.url??``),[m,h]=(0,O.useState)(n?.description??``),[g,_]=(0,O.useState)(n?.enabled??!0),[v,y]=(0,O.useState)(n?.useInChat??!1),[b,x]=(0,O.useState)(n&&(!n.teamId||n.teamId===``)?`company`:`team`),[S,C]=(0,O.useState)(n?.headers?Object.entries(n.headers).map(([e,t])=>({key:e,value:t})):[]),[w,T]=(0,O.useState)(!1),[E,D]=(0,O.useState)(null),k=s.isPending||c.isPending,A=(0,O.useCallback)(()=>{C(e=>[...e,{key:``,value:``}])},[]),j=(0,O.useCallback)(e=>{C(t=>
375t.filter((t,n)=>n!==e))},[]),M=(0,O.useCallback)((e,t,n)=>{C(r=>r.map((r,i)=>i===e?{...r,[t]:n}:r))},[]);function N(){let e={};return S.forEach(t=>{t.key.trim()&&(e[t.key.trim()]=t.value)}),Object.keys(e).length>0?e:void 0}function P(){if(!u.trim()){G.error(o(`nameRequired`));return}if(!f.trim()){G.error(o(`urlRequired`));return}let e={companyId:r,teamId:b===`company`?``:i,name:u.trim(),url:f.trim(),type:`streamable-http`,description:m.trim()||void 0,enabled:g,useInChat:v,headers:N()};l&&n?c.mutate({...n,...e},{onSuccess:()=>{G.success(o(`updated`)),a()},onError:()=>G.error(o(`saveFailed`))}):s.mutate(e,{onSuccess:()=>{G.success(o(`created`)),a()},onError:()=>G.error(o(`saveFailed`))})}async function F(){T(!0),D(null);try{let e=await JZ.testConnection({url:f.trim(),headers:N()});D(e)}catch{D({success:!1,durationMs:0,message:`Request failed`})}finally{T(!1)}}return(0,U.jsx)(xT,{open:e,onOpenChange:e=>!e&&a(),children:(0,U.jsxs)(ST,{className:`sm:max-w-[680px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:o(l?`editTitle`:`createTitle`)}),(0,U.jsx)(ET,{children:o(l?`editSubtitle`:`createSubtitle`)})]}),(0,U.jsxs)(`div`,{className:`flex max-h-[60vh] flex-col gap-4 overflow-y-auto pr-0.5`,children:[(0,U.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 md:grid-cols-2`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`mcp-name`,children:o(`labelName`)}),(0,U.jsx)(IT,{id:`mcp-name`,value:u,onChange:e=>d(e.target.value),placeholder:o(`placeholderName`),disabled:k})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`mcp-url`,children:o(`labelUrl`)}),(0,U.jsx)(IT,{id:`mcp-url`,value:f,onChange:e=>p(e.target.value),placeholder:o(`placeholderUrl`),disabled:k})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`labelScope`)}),(0,U.jsx)(`div`,{className:`border-border bg-background inline-flex h-9 items-center gap-0.5 self-start rounded-lg border-[0.5px] p-0.5`,children:[`team`,`company`].map(e=>(0,U.jsx)(`button`,{type:`button`,onClick:()=>x(e),className:W(`inline-flex items-center gap-1.5 rounded-md px-3 py-1 text-[12px] font-medium transition-colors`,b===e?`bg-surface text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`),children:o(e===`team`?`scopeTeam`:`scopeCompany`)},e))}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px]`,children:o(b===`company`?`scopeCompanyHint`:`scopeTeamHint`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`mcp-desc`,children:o(`labelDescription`)}),(0,U.jsx)($3,{id:`mcp-desc`,value:m,onChange:e=>h(e.target.value),placeholder:o(`placeholderDescription`),rows:2,disabled:k})]}),(0,U.jsxs)(`div`,{className:`flex gap-6`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(uQ,{id:`mcp-enabled`,checked:g,onCheckedChange:_,disabled:k}),(0,U.jsx)(DT,{htmlFor:`mcp-enabled`,className:`cursor-pointer`,children:o(`labelEnabled`)})]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(uQ,{id:`mcp-chat`,checked:v,onCheckedChange:y,disabled:k}),(0,U.jsx)(DT,{htmlFor:`mcp-chat`,className:`cursor-pointer`,children:o(`labelUseInChat`)})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(DT,{children:o(`labelHeaders`)}),(0,U.jsxs)(Z,{variant:`outline`,size:`sm`,onClick:A,disabled:k,children:[(0,U.jsx)(Pb,{className:`size-3`}),o(`addHeader`)]})]}),S.length===0&&(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11.5px]`,children:o(`noHeaders`)}),S.map((e,t)=>(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(IT,{value:e.key,onChange:e=>M(t,`key`,e.target.value),placeholder:o(`headerKey`),className:`flex-1`,disabled:k}),(0,U.jsx)(IT,{value:e.value,onChange:e=>M(t,`value`,e.target.value),placeholder:o(`headerValue`),className:`flex-1`,disabled:k}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>j(t),className:`text-muted-foreground hover:text-status-error-fg grid size-7 shrink-0 place-items-center rounded-md`,disabled:k,children:(0,U.jsx)($b,{className:`size-3.5`})})]},t))]}),E&&(0,U.jsxs)(`div`,{className:W(`flex flex-col gap-1 rounded-xl border-[0.5px] p-3 text-[12.5px]`,E.success?`border-status-passed-fg/20 bg-status-passed-bg`:`border-status-error-fg/20 bg-status-error-bg`),children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[E.success?(0,U.jsx)(Vy,{className:`text-status-passed-fg size-4`}):(0,U.jsx)(Ky,{className:`text-status-error-fg size-4`}),(0,U.jsx)(`span`,{className:W(`font-medium`,E.success?`text-status-passed-fg`:`text-status-error-fg`),children:E.success?o(`testSuccess`):o(`testFailed`)}),E.statusCode&&(0,U.jsxs)(`span`,{className:`text-muted-foreground`,children:[`HTTP `,E.statusCode]}),(0,U.jsxs)(`span`,{className:`text-muted-foreground`,children:[E.durationMs,`ms`]})]}),!E.success&&E.message&&(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:E.message})]})]}),(0,U.jsxs)(wT,{className:`flex-row justify-between sm:justify-between`,children:[(0,U.jsxs)(Z,{variant:`outline`,size:`sm`,onClick:F,disabled:!f.trim()||w||k,children:[w?(0,U.jsx)(gb,{className:`size-3.5 animate-spin`}):(0,U.jsx)(sx,{className:`size-3.5`}),o(`testConnection`)]}),(0,U.jsxs)(`div`,{className:`flex gap-2`,children:[(0,U.jsx)(Z,{variant:`outline`,onClick:a,disabled:k,children:o(`cancel`)}),(0,U.jsx)(Z,{onClick:P,disabled:k,children:o(k?`saving`:l?`save`:`create`)})]})]})]})})}var I0e=[10,25,50];function L0e(e){return e?XT(e):`-`}var R0e={violet:`bg-violet-pale text-violet`,green:`bg-status-passed-bg text-status-passed-fg`,blue:`bg-status-pending-bg text-status-pending-fg`,orange:`bg-status-error-bg text-status-error-fg`};function d5({icon:e,label:t,value:n,tone:r=`violet`}){return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-1.5 rounded-xl border-[0.5px] p-3.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t}),(0,U.jsx)(`span`,{className:W(`grid size-[18px] place-items-center rounded-[5px]`,R0e[r]),children:(0,U.jsx)(e,{className:`size-3`})})]}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[22px] leading-none font-bold tracking-[-0.02em] tabular-nums`,children:n})]})}function z0e(){let e=X(`pages.settings.mcpServers`),{activeCompanyID:t,activeTeamID:n,loading:r}=NT(),i=QZ(t,n,!r&&!!t&&!!n),a=XBe(t,n),o=eQ(),[s,c]=(0,O.useState)(``),[l,u]=(0,O.useState)({}),[d,f]=(0,O.useState)({key:`name`,dir:`asc`}),[p,m]=(0,O.useState)(1),[h,g]=(0,O.useState)(10),[_,v]=(0,O.useState)(null),[y,b]=(0,O.useState)(null),[x,S]=(0,O.useState)(null),C=(0,O.useMemo)(()=>i.data??[],[i.data]),w=(0,O.useMemo)(()=>{let e=C.filter(e=>e.enabled).length,t=C.filter(e=>e.useInChat).length,n=C.filter(e=>e.teamId&&e.teamId!==``).length;return{total:C.length,enabled:e,chat:t,team:n}},[C]),T=(0,O.useMemo)(()=>{let e=s.trim().toLowerCase(),t=l.scope??[],n=C.filter(n=>{let r=!e||n.name.toLowerCase().includes(e)||(n.url??``).toLowerCase().includes(e)||(n.description??``).toLowerCase().includes(e),i=n.teamId&&n.teamId!==``?`team`:`company`,a=t.length===0||t.includes(i);return r&&a}),r=d.dir===`asc`?1:-1;return[...n].sort((e,t)=>
375{switch(d.key){case`name`:return e.name.localeCompare(t.name)*r;case`url`:return e.url.localeCompare(t.url)*r;case`scope`:{let n=e.teamId&&e.teamId!==``?`team`:`company`,i=t.teamId&&t.teamId!==``?`team`:`company`;return n.localeCompare(i)*r}case`created`:return((e.creationTime??0)-(t.creationTime??0))*r;default:return e.name.localeCompare(t.name)*r}})},[C,s,l,d]),E=T.length,D=(0,O.useMemo)(()=>T.slice((p-1)*h,p*h),[T,p,h]);function k(){m(1)}function A(e,t,n){o.mutate({...e,[t]:n})}async function j(t){if(t.id){S(t.id);try{let n=await JZ.testConnectionById(t.id);n.success?G.success(`${e(`testSuccess`)} - ${n.durationMs}ms`):G.error(`${e(`testFailed`)}: ${n.message}`)}catch{G.error(e(`testFailed`))}finally{S(null)}}}function M(t){return[{label:e(`actEdit`),icon:jb,onSelect:()=>b({mode:`edit`,server:t})},{label:e(`actTestConnection`),icon:x===t.id?gb:sx,disabled:x===t.id,onSelect:()=>j(t)},{label:e(`actCopyId`),icon:Yy,disabled:!t.id,onSelect:()=>{t.id&&(navigator.clipboard.writeText(t.id).catch(()=>{}),G.success(e(`copiedId`)))}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,disabled:!t.id,onSelect:()=>v(t)}]}function N(){let t=_;t?.id&&a.mutate(t.id,{onSuccess:()=>{G.success(e(`deleted`)),v(null)},onError:()=>G.error(e(`deleteFailed`))})}let P=[{key:`name`,header:e(`colName`),width:`1.8fr`,sortable:!0,cell:e=>(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:e.name}),e.description&&(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[11px]`,children:e.description})]})},{key:`url`,header:e(`colUrl`),width:`2fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-body truncate font-mono text-[11.5px]`,children:e.url})},{key:`scope`,header:e(`colScope`),width:`0.8fr`,sortable:!0,cell:t=>{let n=t.teamId&&t.teamId!==``;return(0,U.jsx)(`span`,{className:W(`inline-flex w-fit items-center justify-center rounded-md px-1.5 py-0.5 text-[10px] font-bold`,n?`text-violet bg-violet-pale`:`text-brand bg-brand/10`),children:e(n?`scopeTeam`:`scopeCompany`)})}},{key:`enabled`,header:e(`colEnabled`),width:`0.6fr`,cell:e=>(0,U.jsx)(uQ,{checked:e.enabled,onCheckedChange:t=>A(e,`enabled`,t)})},{key:`useInChat`,header:e(`colUseInChat`),width:`0.7fr`,cell:e=>(0,U.jsx)(uQ,{checked:e.useInChat,onCheckedChange:t=>A(e,`useInChat`,t)})},{key:`created`,header:e(`colCreated`),width:`0.9fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-body text-[11.5px] tabular-nums`,children:L0e(e.creationTime)})}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[560px] text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsxs)(Z,{size:`sm`,onClick:()=>b({mode:`create`,server:null}),children:[(0,U.jsx)(Pb,{}),e(`newServer`)]})]}),(0,U.jsx)(QU,{query:i,isEmpty:e=>e.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(Hb,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`),action:(0,U.jsxs)(Z,{onClick:()=>b({mode:`create`,server:null}),children:[(0,U.jsx)(Pb,{}),e(`emptyCta`)]})}),children:()=>(0,U.jsxs)(UU,{children:[(0,U.jsxs)(`div`,{className:`mb-3 grid grid-cols-2 gap-2.5 lg:grid-cols-4`,children:[(0,U.jsx)(d5,{icon:Hb,label:e(`kpiTotal`),value:ZT(w.total),tone:`violet`}),(0,U.jsx)(d5,{icon:Poe,label:e(`kpiEnabled`),value:ZT(w.enabled),tone:`green`}),(0,U.jsx)(d5,{icon:Sb,label:e(`kpiChat`),value:ZT(w.chat),tone:`blue`}),(0,U.jsx)(d5,{icon:ax,label:e(`kpiTeam`),value:ZT(w.team),tone:`orange`})]}),(0,U.jsxs)(qU,{children:[(0,U.jsx)(JU,{value:s,onChange:e=>{c(e),k()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`}
375),(0,U.jsx)(ZU,{label:e(`filterScope`),value:l,onChange:e=>{u(e),k()},groups:[{key:`scope`,label:e(`colScope`),options:[{value:`team`,label:e(`scopeTeam`)},{value:`company`,label:e(`scopeCompany`)}]}]})]}),D.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{c(``),u({}),k()},children:e(`resetFilters`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:P,rows:D,rowKey:e=>e.id??e.name,density:`compact`,sort:d,onSortChange:e=>{f(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`asc`}),k()},onRowClick:e=>b({mode:`edit`,server:e}),rowActions:M,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:p,pageSize:h,total:E,pageSizeOptions:I0e,onPageChange:m,onPageSizeChange:e=>{g(e),k()},itemLabel:e(`rowsServers`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),y&&(0,U.jsx)(F0e,{open:!0,mode:y.mode,initial:y.server,companyId:t,teamId:n,onClose:()=>b(null)}),(0,U.jsx)(xT,{open:!!_,onOpenChange:e=>!e&&v(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`deleteTitle`)}),(0,U.jsx)(ET,{children:e(`deleteMessage`,{name:_?.name??``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>v(null),disabled:a.isPending,children:e(`deleteCancel`)}),(0,U.jsxs)(Z,{variant:`destructive`,onClick:N,disabled:a.isPending,children:[(0,U.jsx)($b,{}),e(`deleteConfirm`)]})]})]})})]})}function B0e(){return(0,U.jsx)(z0e,{})}function V0e({...e}){return(0,U.jsx)(Of,{"data-slot":`alert-dialog`,...e})}function H0e({...e}){return(0,U.jsx)(kf,{"data-slot":`alert-dialog-portal`,...e})}function U0e({className:e,...t}){return(0,U.jsx)(Af,{"data-slot":`alert-dialog-overlay`,className:W(`data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs`,e),...t})}function W0e({className:e,size:t=`default`,...n}){return(0,U.jsxs)(H0e,{children:[(0,U.jsx)(U0e,{}),(0,U.jsx)(jf,{"data-slot":`alert-dialog-content`,"data-size":t,className:W(`group/alert-dialog-content bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 ring-1 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm`,e),...n})]})}function G0e({className:e,...t}){return(0,U.jsx)(`div`,{"data-slot":`alert-dialog-header`,className:W(`grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]`,e),...t})}function K0e({className:e,...t}){return(0,U.jsx)(`div`,{"data-slot":`alert-dialog-footer`,className:W(`bg-muted/50 -mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end`,e),...t})}function q0e({className:e,...t}){return(0,U.jsx)(Pf,{"data-slot":`alert-dialog-title`,className:W(`font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2`,e),...t})}function J0e({className:e,...t}){return(0,U.jsx)(Ff,{"data-slot":`alert-dialog-description`,className:W(`text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3`,e),...t})}function Y0e({className:e,variant:t=`default`,size:n=`default`,...r}){return(0,U.jsx)(Z,{variant:t,size:n,asChild:!0,children:(0,U.jsx)(Mf,{"data-slot":`alert-dialog-action`,className:W(e),...r})})}function X0e({className:e,variant:t=`outline`,size:n=`default`,...r}){return(0,U.jsx)(Z,{variant:t,size:n,asChild:!0,children:(0,U.jsx)(Nf,{"data-slot":`alert-dialog-cancel`,className:W(e),...r})})}var f5=new class{async list(){let{data:e}=await J.get(`/v1/api-keys`);return e}async create(e){let{data:t}=await J.post(`/v1/api-keys`,e);return t}async activate(e){await J.put(`/v1/api-keys/${e}/activate`)}async deactivate(e){await J.put(`/v1/api-keys/${e}/deactivate`)}async revoke(e){await J.delete(`/v1/api-keys/${e}`)}async scopes(){let{data:e}=await J.get(`/v1/api-keys/scopes`);return e}};function Z0e(){return nc({queryKey:Y.apiKeys.list(),queryFn:()=>f5.list()})}function Q0e(e){return nc({queryKey:Y.apiKeys.scopes(),queryFn:()=>f5.scopes(),enabled:e})}function $0e(){let e=Us();return rc({mutationFn:e=>f5.create(e),onSuccess:()=>e.invalidateQueries({queryKey:Y.apiKeys.list()})})}function e2e(){let e=Us();return rc({mutationFn:e=>f5.activate(e),onSuccess:()=>e.invalidateQueries({queryKey:Y.apiKeys.list()})})}function t2e(){let e=Us();return rc({mutationFn:e=>f5.deactivate(e),onSuccess:()=>e.invalidateQueries({queryKey:Y.apiKeys.list()})})}function n2e(){let e=Us();return rc({mutationFn:e=>f5.revoke(e),onSuccess:()=>e.invalidateQueries({queryKey:Y.apiKeys.list()})})}var r2e=[{key:`fullAccess`,scopes:[`*`]},{key:`cicd`,scopes:[`tests:read`,`plans:read`,`plans:write`,`executions:read`,`executions:write`,`uploads:write`,`storage:read`]},{key:`testRunner`,scopes:[`tests:read`,`executions:read`,`executions:write`,`storage:read`,`uploads:write`]},{key:`readOnly`,scopes:[`tests:read`,`plans:read`,`executions:read`,`analytics:read`,`storage:read`,`devices:read`,`data-sources:read`]},{key:`reportViewer`,scopes:[`executions:read`,`analytics:read`,`storage:read`]}],p5=180,i2e=[{key:`week1`,days:7},{key:`weeks2`,days:14},{key:`month1`,days:30},{key:`months3`,days:90},{key:`months6`,days:180}],a2e=[{value:`tests:read`,label:`View Tests`,category:`Tests & Scenarios`},{value:`tests:write`,label:`Manage Tests`,category:`Tests & Scenarios`},{value:`plans:read`,label:`View Plans`,category:`Plans`},{value:`plans:write`,label:`Manage Plans`,category:`Plans`},{value:`executions:read`,label:`View Executions`,category:`Executions`},{value:`executions:write`,label:`Manage Executions`,category:`Executions`},{value:`analytics:read`,label:`View Analytics`,category:`Analytics`},{value:`uploads:write`,label:`Upload Files`,category:`Storage`},{value:`storage:read`,label:`Download Files`,category:`Storage`},{value:`devices:read`,label:`View Devices`,category:`Devices`},{value:`devices:write`,label:`Manage Devices`,category:`Devices`},{value:`data-sources:read`,label:`View Data Sources`,category:`Data Sources`},{value:`data-sources:write`,label:`Manage Data Sources`,category:`Data Sources`},{value:`ai`,label:`AI Features`,category:`AI`},{value:`settings`,label:`Settings`,category:`Settings`},{value:`api-keys`,label:`Manage API Keys`,category:`API Keys`}];function o2e(){let e=X(`pages.settings.apiKeys`),t=Z0e(),n=e2e(),r=t2e(),i=n2e(),[a,o]=(0,O.useState)(``),[s,c]=(0,O.useState)(null),[l,u]=(0,O.useState)(1),[d,f]=(0,O.useState)(10),[p,m]=(0,O.useState)(!1),[h,g]=(0,O.useState)(!1),[_,v]=(0,O.useState)(``),[y,b]=(0,O.useState)(null),x=(0,O.useMemo)(()=>{let e=t.data??[],n=a.toLowerCase(),r=n?e.filter(e=>e.name?.toLowerCase().includes(n)||e.maskedKey?.toLowerCase().includes(n)):e;return s?[...r].sort((e,t)=>
375{let n=e[s.key],r=t[s.key],i=String(n??``).localeCompare(String(r??``));return s.dir===`asc`?i:-i}):r},[t.data,a,s]),S=x.length,C=(0,O.useMemo)(()=>{let e=(l-1)*d;return x.slice(e,e+d)},[x,l,d]),w=(0,O.useCallback)(e=>{c(t=>t?.key===e?t.dir===`asc`?{key:e,dir:`desc`}:null:{key:e,dir:`asc`})},[]),T=(0,O.useCallback)(t=>{(t.active?r:n).mutate(t.id,{onSuccess:()=>G.success(e(`toggleSuccess`)),onError:()=>G.error(e(`toggleError`))})},[n,r,e]),E=(0,O.useCallback)(()=>{y&&i.mutate(y.id,{onSuccess:()=>{G.success(e(`revokeSuccess`)),b(null)},onError:()=>G.error(e(`revokeError`))})},[y,i,e]),D=(0,O.useCallback)(t=>{m(!1),v(t),g(!0),G.success(e(`createSuccess`))},[e]),k=(0,O.useMemo)(()=>[{key:`name`,header:e(`colName`),width:`1.5fr`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:`text-fg-strong text-[12.5px] font-medium`,children:e.name||`â`})},{key:`maskedKey`,header:e(`colKey`),width:`1.2fr`,cell:e=>(0,U.jsx)(`span`,{className:`text-muted-foreground font-mono text-[11.5px]`,children:e.maskedKey})},{key:`scopes`,header:e(`colPermissions`),width:`1.5fr`,cell:t=>(0,U.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[t.scopes?.includes(`*`)?(0,U.jsx)(t5,{className:`bg-status-passed-bg text-status-passed text-[10px]`,children:e(`fullAccess`)}):t.scopes?.slice(0,3).map(e=>(0,U.jsx)(t5,{variant:`secondary`,className:`text-[10px]`,children:e},e)),!t.scopes?.includes(`*`)&&(t.scopes?.length??0)>3&&(0,U.jsxs)(t5,{variant:`secondary`,className:`text-[10px]`,children:[`+`,(t.scopes?.length??0)-3]})]})},{key:`active`,header:e(`colStatus`),width:`100px`,sortable:!0,cell:t=>(0,U.jsx)(t5,{className:W(`text-[10px]`,t.active?`bg-status-passed-bg text-status-passed`:`bg-status-error-bg text-status-error`),children:t.active?e(`statusActive`):e(`statusInactive`)})},{key:`createdAt`,header:e(`colCreated`),width:`120px`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11.5px]`,children:e.createdAt?XT(e.createdAt):`â`})},{key:`expiresAt`,header:e(`colExpires`),width:`120px`,sortable:!0,cell:t=>(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11.5px]`,children:t.expiresAt?XT(t.expiresAt):e(`never`)})}],[e]);if(t.isPending)return(0,U.jsxs)(`div`,{className:`mx-auto w-full max-w-[1100px] p-6`,children:[(0,U.jsx)(RH,{className:`mb-4 h-8 w-48`}),(0,U.jsx)(RH,{className:`h-[300px] w-full rounded-xl`})]});let A=!t.data?.length&&!a;return(0,U.jsxs)(`div`,{className:`mx-auto w-full max-w-[1100px] p-6`,children:[(0,U.jsxs)(`header`,{className:`mb-5`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[28px] leading-tight font-bold tracking-[-0.02em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 text-[13px]`,children:e(`subtitle`)})]}),A?(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col items-center gap-3 rounded-xl border-[0.5px] p-12 text-center`,children:[(0,U.jsx)(`div`,{className:`bg-primary/10 text-primary grid size-14 place-items-center rounded-2xl`,children:(0,U.jsx)(Toe,{className:`size-7`})}),(0,U.jsx)(`p`,{className:`text-fg-strong text-[14px] font-semibold`,children:e(`emptyTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground max-w-md text-[12.5px]`,children:e(`emptyDescription`)}),(0,U.jsxs)(Z,{size:`sm`,onClick:()=>m(!0),children:[(0,U.jsx)(Pb,{className:`size-3.5`}),e(`createButton`)]})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`div`,{className:`mb-3 flex items-center justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`relative w-full max-w-xs`,children:[(0,U.jsx)(Bb,{className:`text-muted-foreground absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2`}),(0,U.jsx)(IT,{value:a,onChange:e=>{o(e.target.value),u(1)},placeholder:e(`searchPlaceholder`),className:`h-8 pl-8 text-[12.5px]`})]}),(0,U.jsxs)(Z,{size:`sm`,onClick:()=>m(!0),children:[(0,U.jsx)(Pb,{className:`size-3.5`}),e(`createButton`)]})]}),(0,U.jsx)(KU,{columns:k,rows:C,rowKey:e=>e.id,sort:s,onSortChange:w,rowActions:t=>[{label:t.active?e(`actionDeactivate`):e(`actionActivate`),icon:t.active?Moe:Mb,onSelect:()=>T(t)},`separator`,{label:e(`actionRevoke`),icon:$b,danger:!0,onSelect:()=>b(t)}]}),S>d&&(0,U.jsx)(XU,{page:l,pageSize:d,total:S,pageSizeOptions:[5,10,25,50],onPageChange:u,onPageSizeChange:e=>{f(e),u(1)},itemLabel:e(`title`).toLowerCase()})]}),(0,U.jsx)(s2e,{open:p,onOpenChange:m,onCreated:D}),(0,U.jsx)(c2e,{open:h,onOpenChange:g,apiKey:_}),(0,U.jsx)(V0e,{open:!!y,onOpenChange:e=>!e&&b(null),children:(0,U.jsxs)(W0e,{children:[(0,U.jsxs)(G0e,{children:[(0,U.jsx)(q0e,{children:e(`revokeConfirmTitle`)}),(0,U.jsx)(J0e,{children:e(`revokeConfirmMessage`)})]}),(0,U.jsxs)(K0e,{children:[(0,U.jsx)(X0e,{children:e(`cancel`)}),(0,U.jsx)(Y0e,{onClick:E,className:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,children:e(`actionRevoke`)})]})]})})]})}function s2e({open:e,onOpenChange:t,onCreated:n}){let r=X(`pages.settings.apiKeys`),i=$0e(),a=Q0e(e),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)(30),[u,d]=(0,O.useState)(!1),[f,p]=(0,O.useState)([`*`]),[m,h]=(0,O.useState)(`fullAccess`),g=a.data?.length?a.data:a2e,_=(0,O.useMemo)(()=>{let e={};for(let t of g)t.value!==`*`&&(e[t.category]??=[]).push(t);return e},[g]),v=m===`custom`;function y(){s(``),l(30),d(!1),p([`*`]),h(`fullAccess`)}function b(e){h(e.key),p([...e.scopes])}function x(e){h(`custom`),p(t=>{let n=t.filter(e=>e!==`*`);return n.includes(e)?n.filter(t=>t!==e):[...n,e]})}function S(){i.mutate({name:o,validityDays:c,roles:[`USER`],scopes:f},{onSuccess:e=>{n(e.apiKey),y()},onError:()=>G.error(r(`createError`))})}return(0,U.jsx)(xT,{open:e,onOpenChange:e=>{e||y(),t(e)},children:(0,U.jsxs)(ST,{className:`sm:max-w-[620px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:r(`createTitle`)}),(0,U.jsx)(ET,{children:r(`createDescription`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-4 py-2`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(`label`,{className:`text-fg-strong text-[12.5px] font-medium`,children:r(`nameLabel`)}),(0,U.jsx)(IT,{value:o,onChange:e=>s(e.target.value),placeholder:r(`namePlaceholder`),className:`h-8 text-[12.5px]`})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(`label`,{className:`text-fg-strong text-[12.5px] font-medium`,children:r(`permissionsLabel`)}),(0,U.jsxs)(`div`,{className:`flex flex-wrap gap-1.5`,children:[r2e.map(e=>(0,U.jsx)(Z,{size:`sm`,variant:m===e.key?`default`:`outline`,className:`h-7 text-[11px]`,onClick:()=>b(e),children:r(`template_${e.key}`)},e.key)),(0,U.jsx)(Z,{size:`sm`,variant:v?`default`:`outline`,className:`h-7 text-[11px]`,onClick:()=>{h(`custom`),p(e=>e.filter(e=>e!==`*`))},children:r(`template_custom`)})]})]}),v&&(0,U.jsx)(`div`,{className:`border-border bg-background max-h-[260px] space-y-3 overflow-y-auto rounded-lg border-[0.5px] p-3`,children:Object.entries(_).map(([e,t])=>(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`p`,{className:`text-fg-strong mb-1.5 text-[11.5px] font-semibold`,children:e}),(0,U.jsx)(`div`,{className:`flex flex-wrap gap-2 pl-1`,children:t.map(e=>(0,U.jsxs)(`label`,{className:W(`border-border flex cursor-pointer items-center gap-2 rounded-md border-[0.5px] px-2.5 py-1.5`,f.includes(e.value)&&`border-primary bg-primary/5`),children:[(0,U.jsx)(v6,{checked:f.includes(e.value),onCheckedChange:()=>x(e.value)}),(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`span`,{className:`text-[11.5px] font-medium`,children:e.label}),(0,U.jsx)(`span`,{className:`text-muted-foreground ml-1.5 text-[10px]`,children:e.value})]})]},e.value))})]},e))}),!v&&(0,U.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:f.map(e=>(0,U.jsx)(t5,{className:e===`*`?`bg-status-passed-bg text-status-passed text-[10px]`:`text-[10px]`,variant:e===`*`?`default`:`secondary`,children:e===`*`?r(`fullAccess`):e},e))}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(`label`,{className:`text-fg-strong text-[12.5px] font-medium`,children:r(`expirationLabel`)}),(0,U.jsxs)(`div`,{className:`flex flex-wrap gap-1.5`,children:[i2e.map(e=>(0,U.jsx)(Z,{size:`sm`,variant:!u&&c===e.days?`default`:`outline`,className:`h-7 text-[11px]`,onClick:()=>{d(!1),l(e.days)},children:r(`expiryPreset_${e.key}`)},e.key)),(0,U.jsx)(Z,{size:`sm`,variant:u?`default`:`outline`,className:`h-7 text-[11px]`,onClick:()=>d(!0),children:r(`expiryPreset_custom`)})]}),u&&(0,U.jsxs)(`div`,{className:`mt-1 flex flex-col gap-1`,children:[(0,U.jsx)(IT,{type:`number`,min:1,value:c,onChange:e=>l(Number(e.target.value)||30),className:W(`h-8 w-32 text-[12.5px]`,c>p5&&`border-destructive focus-visible:ring-destructive`)}),c>p5&&(0,U.jsx)(`p`,{className:`text-destructive text-[11px]`,children:r(`validityMaxError`)})]})]})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>{y(),t(!1)},children:r(`cancel`)}),(0,U.jsxs)(Z,{onClick:S,disabled:i.isPending||c<1||c>p5||f.length===0,children:[(0,U.jsx)(Pb,{className:`size-3.5`}),r(`createButton`)]})]})]})})}function c2e({open:e,onOpenChange:t,apiKey:n}){let r=X(`pages.settings.apiKeys`),[i,a]=(0,O.useState)(!1);async function o(){await navigator.clipboard.writeText(n),a(!0),window.setTimeout(()=>a(!1),2e3)}return(0,U.jsx)(xT,{open:e,onOpenChange:t,children:(0,U.jsxs)(ST,{className:`sm:max-w-[520px]`,onInteractOutside:e=>e.preventDefault(),children:[(0,U.jsx)(CT,{children:(0,U.jsx)(TT,{children:r(`revealTitle`)})}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-3 py-2`,children:[(0,U.jsxs)(`div`,{className:`text-status-pending flex items-center gap-2 text-[12.5px] font-medium`,children:[(0,U.jsx)(nx,{className:`size-4 shrink-0`}),r(`revealWarning`)]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(IT,{value:n,readOnly:!0,className:`font-mono text-[11.5px]`}),(0,U.jsx)(Z,{size:`icon`,variant:`outline`,className:`size-8 shrink-0`,onClick:o,children:i?(0,U.jsx)(Py,{className:`size-3.5`}):(0,U.jsx)(Yy,{className:`size-3.5`})})]})]}),(0,U.jsx)(wT,{children:(0,U.jsx)(Z,{onClick:()=>t(!1),children:r(`done`)})})]})})}function l2e(){return(0,U.jsx)(o2e,{})}var u2e=[{value:`HASHICORP`,labelKey:`providerHashicorp`},{value:`AWS_SECRETS_MANAGER`,labelKey:`providerAws`},{value:`AZURE_KEY_VAULT`,labelKey:`providerAzure`},{value:`CYBERARK`,labelKey:`providerCyberark`}],d2e={HASHICORP:{showNamespace:!0,tokenLabelKey:`tokenVault`,tokenPlaceholderKey:`tokenPlaceholderHashicorp`,namespacePlaceholderKey:`namespacePlaceholderHashicorp`},AWS_SECRETS_MANAGER:{showNamespace:!1,tokenLabelKey:`tokenAws`,tokenPlaceholderKey:`tokenPlaceholderAws`,namespacePlaceholderKey:``},AZURE_KEY_VAULT:{showNamespace:!1,tokenLabelKey:`tokenAzure`,tokenPlaceholderKey:`tokenPlaceholderAzure`,namespacePlaceholderKey:``},CYBERARK:{showNamespace:!0,tokenLabelKey:`tokenCyberark`,tokenPlaceholderKey:`tokenPlaceholderCyberark`,namespacePlaceholderKey:`namespacePlaceholderCyberark`}};function f2e({open:e,mode:t,initial:n,companyId:r,teamId:i,onClose:a}){let o=X(`pages.settings.vault`),s=DWe(r,i),c=OWe(r,i),l=t===`edit`,[u,d]=(0,O.useState)(n?.name??``),[f,p]=(0,O.useState)(n?.providerType??`HASHICORP`),[m,h]=(0,O.useState)(n?.url??``),[g,_]=(0,O.useState)(``),[v,y]=(0,O.useState)(!1),[b,x]=(0,O.useState)(n?.namespace??``),[S,C]=(0,O.useState)(n?.pathPrefix??``),[w,T]=(0,O.useState)(n?.scope??`TEAM`),[E,D]=(0,O.useState)(n?.isDefault??!1),[k,A]=(0,O.useState)(n?.description??``),j=s.isPending||c.isPending,M=d2e[f],N=u.trim()!==``&&m.trim()!==``&&(l?!0:g.trim()!==``);function P(){if(!N)return;
375let e={id:n?.id,companyId:r,teamId:w===`COMPANY`?``:i,name:u.trim(),providerType:f,url:m.trim(),token:g||void 0,namespace:b.trim()||void 0,pathPrefix:S.trim()||void 0,scope:w,isDefault:E,description:k.trim()||void 0};(l&&n?.id?c.mutateAsync({id:n.id,model:e}):s.mutateAsync(e)).then(()=>{G.success(o(l?`updated`:`created`)),a()}).catch(()=>G.error(o(l?`updateFailed`:`createFailed`)))}return(0,U.jsx)(xT,{open:e,onOpenChange:e=>!e&&a(),children:(0,U.jsxs)(ST,{className:`sm:max-w-[520px]`,children:[(0,U.jsx)(CT,{children:(0,U.jsx)(TT,{children:o(l?`editTitle`:`createTitle`)})}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-4 py-2`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`fieldName`)}),(0,U.jsx)(IT,{value:u,onChange:e=>d(e.target.value),placeholder:o(`namePlaceholder`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`fieldProvider`)}),(0,U.jsxs)(OT,{value:f,onValueChange:e=>p(e),children:[(0,U.jsx)(AT,{children:(0,U.jsx)(kT,{})}),(0,U.jsx)(jT,{children:u2e.map(e=>(0,U.jsx)(MT,{value:e.value,children:o(e.labelKey)},e.value))})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`fieldUrl`)}),(0,U.jsx)(IT,{value:m,onChange:e=>h(e.target.value),placeholder:o(`urlPlaceholder`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(M.tokenLabelKey)}),(0,U.jsxs)(`div`,{className:`relative`,children:[(0,U.jsx)(IT,{type:v?`text`:`password`,value:g,onChange:e=>_(e.target.value),placeholder:o(M.tokenPlaceholderKey),className:`pr-9`}),(0,U.jsx)(`button`,{type:`button`,className:`text-muted-foreground hover:text-fg-strong absolute top-1/2 right-2.5 -translate-y-1/2 transition-colors`,onClick:()=>y(!v),children:v?(0,U.jsx)(tb,{className:`size-4`}):(0,U.jsx)(nb,{className:`size-4`})})]}),l&&(0,U.jsx)(`p`,{className:`text-muted-foreground text-[11px]`,children:o(`tokenHint`)})]}),M.showNamespace&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`fieldNamespace`)}),(0,U.jsx)(IT,{value:b,onChange:e=>x(e.target.value),placeholder:o(M.namespacePlaceholderKey)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`fieldPathPrefix`)}),(0,U.jsx)(IT,{value:S,onChange:e=>C(e.target.value),placeholder:o(`pathPrefixPlaceholder`)})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`fieldScope`)}),(0,U.jsxs)(OT,{value:w,onValueChange:e=>T(e),children:[(0,U.jsx)(AT,{children:(0,U.jsx)(kT,{})}),(0,U.jsxs)(jT,{children:[(0,U.jsx)(MT,{value:`COMPANY`,children:o(`scopeCompany`)}),(0,U.jsx)(MT,{value:`TEAM`,children:o(`scopeTeam`)})]})]})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,U.jsx)(DT,{children:o(`fieldDescription`)}),(0,U.jsx)($3,{value:k,onChange:e=>A(e.target.value),placeholder:o(`descriptionPlaceholder`),rows:2})]}),(0,U.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,U.jsx)(uQ,{id:`vault-default`,checked:E,onCheckedChange:D}),(0,U.jsx)(DT,{htmlFor:`vault-default`,className:`cursor-pointer`,children:o(`fieldIsDefault`)})]}),(0,U.jsx)(`p`,{className:`text-muted-foreground -mt-2 text-[11px]`,children:o(`isDefaultHint`)})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:a,disabled:j,children:o(`cancel`)}),(0,U.jsxs)(Z,{onClick:P,disabled:!N||j,children:[j&&(0,U.jsx)(gb,{className:`animate-spin`}),o(l?`update`:`save`)]})]})]})})}var p2e=[10,25,50],m2e={HASHICORP:`HashiCorp`,AWS_SECRETS_MANAGER:`AWS`,AZURE_KEY_VAULT:`Azure`,CYBERARK:`CyberArk`},h2e={HASHICORP:`text-status-pending-fg bg-status-pending-bg`,AWS_SECRETS_MANAGER:`text-status-error-fg bg-status-error-bg`,AZURE_KEY_VAULT:`text-brand bg-brand/10`,CYBERARK:`text-status-passed-fg bg-status-passed-bg`},g2e={violet:`bg-violet-pale text-violet`,green:`bg-status-passed-bg text-status-passed-fg`,blue:`bg-status-pending-bg text-status-pending-fg`,orange:`bg-status-error-bg text-status-error-fg`};function m5({icon:e,label:t,value:n,tone:r=`violet`}){return(0,U.jsxs)(`div`,{className:`border-border bg-surface flex flex-col gap-1.5 rounded-xl border-[0.5px] p-3.5`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:t}),(0,U.jsx)(`span`,{className:W(`grid size-[18px] place-items-center rounded-[5px]`,g2e[r]),children:(0,U.jsx)(e,{className:`size-3`})})]}),(0,U.jsx)(`span`,{className:`text-fg-strong text-[22px] leading-none font-bold tracking-[-0.02em] tabular-nums`,children:n})]})}function _2e(){let e=X(`pages.settings.vault`),{activeCompanyID:t,activeTeamID:n,loading:r}=NT(),i=G1(t,n,!r&&!!t&&!!n),a=kWe(t,n),o=AWe(),[s,c]=(0,O.useState)(``),[l,u]=(0,O.useState)({key:`name`,dir:`asc`}),[d,f]=(0,O.useState)(1),[p,m]=(0,O.useState)(10),[h,g]=(0,O.useState)(null),[_,v]=(0,O.useState)(null),y=(0,O.useMemo)(()=>i.data??[],[i.data]),b=(0,O.useMemo)(()=>{let e=new Set(y.map(e=>e.providerType)).size,t=y.filter(e=>e.isDefault).length,n=y.filter(e=>e.scope===`COMPANY`).length;return{total:y.length,providers:e,defaults:t,company:n}},[y]),x=(0,O.useMemo)(()=>{let e=s.trim().toLowerCase(),t=y.filter(t=>!e||t.name.toLowerCase().includes(e)||(t.url??``).toLowerCase().includes(e)||(t.description??``).toLowerCase().includes(e)),n=l.dir===`asc`?1:-1;return[...t].sort((e,t)=>
375{switch(l.key){case`name`:return e.name.localeCompare(t.name)*n;case`provider`:return(e.providerType??``).localeCompare(t.providerType??``)*n;default:return e.name.localeCompare(t.name)*n}})},[y,s,l]),S=x.length,C=(0,O.useMemo)(()=>x.slice((d-1)*p,d*p),[x,d,p]);function w(){f(1)}function T(t){t.id&&o.mutate(t.id,{onSuccess:t=>{t?G.success(e(`connectionSuccess`)):G.error(e(`connectionFailed`))},onError:()=>G.error(e(`connectionFailed`))})}function E(t){return[{label:e(`actEdit`),icon:jb,onSelect:()=>v({mode:`edit`,profile:t})},{label:e(`actTestConnection`),icon:sx,disabled:!t.id,onSelect:()=>T(t)},{label:e(`actCopyId`),icon:Yy,disabled:!t.id,onSelect:()=>{t.id&&(navigator.clipboard.writeText(t.id).catch(()=>{}),G.success(e(`copiedId`)))}},`separator`,{label:e(`actDelete`),icon:$b,danger:!0,disabled:!t.id,onSelect:()=>g(t)}]}function D(){let t=h;t?.id&&a.mutate(t.id,{onSuccess:()=>{G.success(e(`deleted`)),g(null)},onError:()=>G.error(e(`deleteFailed`))})}let k=[{key:`name`,header:e(`colName`),width:`1.5fr`,sortable:!0,cell:e=>(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:e.name}),e.description&&(0,U.jsx)(`span`,{className:`text-fg-hint truncate text-[11px]`,children:e.description})]})},{key:`provider`,header:e(`colProvider`),width:`120px`,sortable:!0,cell:e=>(0,U.jsx)(`span`,{className:W(`inline-flex w-fit items-center justify-center rounded-md px-1.5 py-0.5 text-[10px] font-bold`,h2e[e.providerType]),children:m2e[e.providerType]??e.providerType})},{key:`url`,header:e(`colUrl`),width:`1.5fr`,cell:e=>(0,U.jsx)(`span`,{className:`text-muted-foreground truncate font-mono text-[11px]`,children:e.url})},{key:`scope`,header:e(`colScope`),width:`100px`,cell:t=>(0,U.jsx)(`span`,{className:W(`inline-flex w-fit items-center justify-center rounded-md px-1.5 py-0.5 text-[10px] font-bold`,t.scope===`COMPANY`?`text-status-error-fg bg-status-error-bg`:`text-brand bg-brand/10`),children:t.scope===`COMPANY`?e(`scopeCompany`):e(`scopeTeam`)})},{key:`default`,header:e(`colDefault`),width:`80px`,cell:t=>t.isDefault?(0,U.jsxs)(`span`,{className:`text-status-passed-fg bg-status-passed-bg inline-flex w-fit items-center gap-1 rounded-md px-1.5 py-0.5 text-[10px] font-bold`,children:[(0,U.jsx)(Vy,{className:`size-3`}),e(`defaultYes`)]}):null}];return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:e(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:e(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-[18px] flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[22px] font-bold tracking-[-0.01em]`,children:e(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1 max-w-[560px] text-[12.5px] leading-relaxed`,children:e(`description`)})]}),(0,U.jsxs)(Z,{size:`sm`,onClick:()=>v({mode:`create`,profile:null}),children:[(0,U.jsx)(Pb,{}),e(`newProfile`)]})]}),(0,U.jsx)(QU,{query:i,isEmpty:e=>e.length===0,empty:(0,U.jsx)(WU,{icon:(0,U.jsx)(fb,{className:`size-10`,strokeWidth:1.4}),title:e(`emptyTitle`),message:e(`emptyMessage`),action:(0,U.jsxs)(Z,{onClick:()=>v({mode:`create`,profile:null}),children:[(0,U.jsx)(Pb,{}),e(`newProfile`)]})}),children:()=>(0,U.jsxs)(UU,{children:[(0,U.jsxs)(`div`,{className:`mb-3 grid grid-cols-2 gap-2.5 lg:grid-cols-4`,children:[(0,U.jsx)(m5,{icon:fb,label:e(`kpiTotal`),value:ZT(b.total),tone:`violet`}),(0,U.jsx)(m5,{icon:Nb,label:e(`kpiProviders`),value:ZT(b.providers),tone:`blue`}),(0,U.jsx)(m5,{icon:Wb,label:e(`kpiDefaults`),value:ZT(b.defaults),tone:`green`}),(0,U.jsx)(m5,{icon:fb,label:e(`kpiCompany`),value:ZT(b.company),tone:`orange`})]}),(0,U.jsx)(qU,{children:(0,U.jsx)(JU,{value:s,onChange:e=>{c(e),w()},placeholder:e(`searchPlaceholder`),className:`max-w-[320px] flex-1`})}),C.length===0?(0,U.jsxs)(`div`,{className:`border-border bg-surface text-muted-foreground rounded-xl border-[0.5px] p-12 text-center text-[13px]`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong mb-1 font-medium`,children:e(`noMatch`)}),(0,U.jsx)(`button`,{type:`button`,className:`text-violet font-medium hover:underline`,onClick:()=>{c(``),w()},children:e(`resetSearch`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(KU,{columns:k,rows:C,rowKey:e=>e.id??e.name,density:`compact`,sort:l,onSortChange:e=>{u(t=>t.key===e?{key:e,dir:t.dir===`asc`?`desc`:`asc`}:{key:e,dir:`asc`}),w()},onRowClick:e=>v({mode:`edit`,profile:e}),rowActions:E,className:`rounded-b-none`}),(0,U.jsx)(XU,{page:d,pageSize:p,total:S,pageSizeOptions:p2e,onPageChange:f,onPageSizeChange:e=>{m(e),w()},itemLabel:e(`rowsProfiles`),className:`bg-surface border-border rounded-b-xl border-[0.5px] border-t-0`})]})]})}),_&&(0,U.jsx)(f2e,{open:!0,mode:_.mode,initial:_.profile,companyId:t,teamId:n,onClose:()=>v(null)}),(0,U.jsx)(xT,{open:!!h,onOpenChange:e=>!e&&g(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`deleteTitle`)}),(0,U.jsx)(ET,{children:e(`deleteMessage`,{name:h?.name??``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>g(null),disabled:a.isPending,children:e(`deleteCancel`)}),(0,U.jsxs)(Z,{variant:`destructive`,onClick:D,disabled:a.isPending,children:[a.isPending&&(0,U.jsx)(gb,{className:`animate-spin`}),(0,U.jsx)($b,{}),e(`deleteConfirm`)]})]})]})})]})}function v2e(){return(0,U.jsx)(_2e,{})}function h5({title:e,description:t,action:n,footer:r,danger:i=!1,className:a,bodyClassName:o,children:s}){return(0,U.jsxs)(`section`,{className:W(`border-border bg-surface overflow-hidden rounded-2xl border-[0.5px]`,a),children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-3 px-5 pt-4 pb-3`,children:[(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`h2`,{className:W(`text-[15px] font-semibold`,i?`text-danger`:`text-fg-strong`),children:e}),t&&(0,U.jsx)(`p`,{className:`text-muted-foreground mt-0.5 max-w-[520px] text-[12px] leading-relaxed`,children:t})]}),n&&(0,U.jsx)(`div`,{className:`flex shrink-0 items-center gap-2`,children:n})]}),s&&(0,U.jsx)(`div`,{className:W(`px-5 pb-4`,o),children:s}),r&&(0,U.jsx)(`div`,{className:`border-divider flex flex-wrap items-center justify-between gap-3 border-t px-5 py-3`,children:r})]})}
375function y2e(e,t,n){return[e,t].filter(Boolean).join(` `).trim()||n||``}function b2e(){let e=X(`pages.settings.account`),{currentUser:t}=Hw(),n=Vue(),r=Hue(),[i,a]=(0,O.useState)(``),[o,s]=(0,O.useState)(``),[c,l]=(0,O.useState)(``),[u,d]=(0,O.useState)(``),[f,p]=(0,O.useState)(`Europe/Istanbul`),[m,h]=(0,O.useState)(`en`),[g,_]=(0,O.useState)(``),[v,y]=(0,O.useState)(``),[b,x]=(0,O.useState)(``),[S,C]=(0,O.useState)(!1);(0,O.useEffect)(()=>{t&&(a(y2e(t.firstName,t.lastName,t.username)),s(t.email??``),l(t.jobTitle??``),d(t.phone??``),p(t.timezone??`Europe/Istanbul`),h(t.language??`en`))},[t]);let w=(i||t?.username||`U`).charAt(0).toUpperCase(),T=t?.roles?.includes(`ADMIN`)??!1;function E(e){h(e);let t=eS(e);!t||nS.language===t||(tS(t),nS.changeLanguage(t))}function D(){if(!t)return;let[r,...a]=i.trim().split(/\s+/),o=a.join(` `);n.mutate({current:t,patch:{firstName:r??``,lastName:o,jobTitle:c.trim(),phone:u.trim(),timezone:f,language:m}},{onSuccess:()=>G.success(e(`saved`)),onError:()=>G.error(e(`saveFailed`))})}function k(){if(!g||!v||!b){G.error(e(`passwordRequired`));return}if(v!==b){G.error(e(`passwordMismatch`));return}r.mutate({currentPassword:g,newPassword:v},{onSuccess:()=>{_(``),y(``),x(``),G.success(e(`passwordSaved`))},onError:()=>G.error(e(`passwordSaveFailed`))})}return(0,U.jsxs)(B8,{title:e(`title`),subtitle:e(`subtitle`),children:[(0,U.jsxs)(`section`,{className:`border-border bg-surface flex items-center gap-4 roun
375ded-2xl border-[0.5px] px-5 py-4`,children:[(0,U.jsx)(`div`,{className:`bg-violet flex size-16 items-center justify-center rounded-[18px] text-[26px] font-semibold text-white shadow-md`,children:w}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-[18px] font-semibold`,children:i||t?.username||`-`}),T&&(0,U.jsxs)(`span`,{className:`bg-violet inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-[10px] font-medium text-white`,children:[(0,U.jsx)(fb,{className:`size-3`}),` `,e(`ownerBadge`)]})]}),(0,U.jsx)(`div`,{className:`text-muted-foreground text-[12.5px]`,children:o||t?.email})]}),(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:()=>G.info(e(`comingSoon`)),children:e(`changePhoto`)})]}),(0,U.jsx)(h5,{title:e(`detailsTitle`),description:e(`detailsDesc`),footer:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`text-fg-hint text-[11.5px]`,children:e(`detailsFootnote`)}),(0,U.jsx)(Z,{size:`sm`,onClick:D,disabled:n.isPending||!t,children:e(`saveChanges`)})]}),children:(0,U.jsxs)(`div`,{className:`grid grid-cols-1 gap-4 sm:grid-cols-2`,children:[(0,U.jsx)(g5,{label:e(`fullName`),children:(0,U.jsx)(IT,{value:i,onChange:e=>a(e.target.value)})}),(0,U.jsx)(g5,{label:e(`jobTitle`),optional:!0,optionalLabel:e(`optional`),children:(0,U.jsx)(IT,{value:c,onChange:e=>l(e.target.value)})}),(0,U.jsx)(g5,{label:e(`emailAddress`),hint:e(`emailChangeNote`),children:(0,U.jsx)(IT,{type:`email`,value:o,disabled:!0})}),(0,U.jsx)(g5,{label:e(`phone`),optional:!0,optionalLabel:e(`optional`),children:(0,U.jsx)(IT,{value:u,onChange:e=>d(e.target.value),placeholder:`+90 5xx xxx xx xx`})}),(0,U.jsx)(g5,{label:e(`timezone`),children:(0,U.jsxs)(OT,{value:f,onValueChange:p,children:[(0,U.jsx)(AT,{className:`w-full`,children:(0,U.jsx)(kT,{})}),(0,U.jsxs)(jT,{children:[(0,U.jsx)(MT,{value:`Europe/Istanbul`,children:`Europe/Istanbul (GMT+3)`}),(0,U.jsx)(MT,{value:`Europe/London`,children:`Europe/London (GMT+1)`}),(0,U.jsx)(MT,{value:`America/New_York`,children:`America/New_York (GMT-4)`})]})]})}),(0,U.jsx)(g5,{label:e(`language`),children:(0,U.jsxs)(OT,{value:m,onValueChange:E,children:[(0,U.jsx)(AT,{className:`w-full`,children:(0,U.jsx)(kT,{})}),(0,U.jsxs)(jT,{children:[(0,U.jsx)(MT,{value:`en`,children:`English`}),(0,U.jsx)(MT,{value:`tr`,children:`Türkçe`}),(0,U.jsx)(MT,{value:`de`,children:`Deutsch`}),(0,U.jsx)(MT,{value:`fr`,children:`Français`}),(0,U.jsx)(MT,{value:`it`,children:`Italiano`}),(0,U.jsx)(MT,{value:`es`,children:`Español`})]})]})})]})}),(0,U.jsx)(h5,{title:e(`passwordTitle`),description:e(`passwordDesc`),footer:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`text-fg-hint text-[11.5px]`,children:e(`passwordFootnote`)}),(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:k,disabled:r.isPending,children:e(`updatePassword`)})]}),children:(0,U.jsxs)(`div`,{className:`grid grid-cols-1 gap-4 sm:grid-cols-2`,children:[(0,U.jsx)(g5,{label:e(`currentPassword`),children:(0,U.jsx)(IT,{type:`password`,value:g,onChange:e=>_(e.target.value),placeholder:e(`currentPassword`),autoComplete:`current-password`,disabled:r.isPending})}),(0,U.jsx)(`div`,{className:`hidden sm:block`}),(0,U.jsx)(g5,{label:e(`newPassword`),children:(0,U.jsxs)(`div`,{className:`relative`,children:[(0,U.jsx)(IT,{type:S?`text`:`password`,value:v,onChange:e=>y(e.target.value),placeholder:e(`newPassword`),autoComplete:`new-password`,className:`pr-9`,disabled:r.isPending}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>C(e=>!e),className:`text-fg-hint hover:text-fg-strong absolute top-1/2 right-2.5 -translate-y-1/2`,"aria-label":e(`toggleVisibility`),children:S?(0,U.jsx)(tb,{className:`size-4`}):(0,U.jsx)(nb,{className:`size-4`})})]})}),(0,U.jsx)(g5,{label:e(`confirmPassword`),children:(0,U.jsx)(IT,{type:`password`,value:b,onChange:e=>x(e.target.value),placeholder:e(`confirmPassword`),autoComplete:`new-password`,disabled:r.isPending})})]})})]})}function g5({label:e,hint:t,optional:n,optionalLabel:r,children:i}){return(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsxs)(DT,{className:`flex items-center gap-1.5`,children:[e,n&&(0,U.jsx)(`span`,{className:`text-fg-hint text-[10px] font-normal`,children:r})]}),i,t&&(0,U.jsx)(`p`,{className:`text-fg-hint text-[11px]`,children:t})]})}function x2e(){return(0,U.jsx)(b2e,{})}
375function _5(e){return[e.firstName,e.lastName].filter(Boolean).join(` `).trim()||e.username||e.email}function v5(e){return e.roles?.includes(`ADMIN`)??!1}function S2e(){let e=X(`pages.settings.members`),{currentUser:t}=Hw(),{companyName:n,teams:r}=Zw(),{activeCompanyID:i,loading:a}=NT(),o=!a&&!!i,s=Zue(i,o),c=tde(i,o),l=$ue(o),u=K8(i,o),d=ede(i),f=sde(i),p=rde(i),m=ide(i),[h,g]=(0,O.useState)(!1),[_,v]=(0,O.useState)(null),y=s.data??[],b=c.data??[],x=l.data?.owner,S=y.filter(v5).length,C=y.length+b.length,w=u.data?.numberOfUsersLimit??0,T=w>0?Math.min(100,Math.round(C/w*100)):0;function E(t,n){d.mutate({user:t,role:n},{onSuccess:()=>G.success(e(`roleUpdated`,{name:_5(t)})),onError:()=>G.error(e(`roleUpdateFailed`))})}function D(){let t=_;t&&f.mutate(t.id,{onSuccess:()=>{G.success(e(`memberRemoved`,{name:_5(t)})),v(null)},onError:()=>G.error(e(`memberRemoveFailed`))})}function k(t){p.mutate(t.id,{onSuccess:()=>G.success(e(`inviteResent`,{email:t.email})),onError:()=>G.error(e(`inviteResendFailed`))})}function A(t){m.mutate(t.id,{onSuccess:()=>G.success(e(`inviteRevoked`,{email:t.email})),onError:()=>G.error(e(`inviteRevokeFailed`))})}function j(t){let n=Eae(t);return n===0?e(`invitedToday`):e(`invitedDaysAgo`,{days:n})}function M(t){let n=v5(t),r=n&&S<=1;return[n?{label:e(`makeMember`),icon:Woe,onSelect:()=>E(t,`USER`)}:{label:e(`makeAdmin`),icon:Wb,onSelect:()=>E(t,`ADMIN`)},`separator`,{label:e(`removeMember`),icon:$b,danger:!0,disabled:r,onSelect:()=>v(t)}]}return(0,U.jsxs)(B8,{title:e(`title`),subtitle:e(`subtitle`,{workspace:n||``}),children:[(0,U.jsx)(h5,{title:e(`seatsTitle`),description:e(`seatsDesc`,{limit:w}),action:(0,U.jsxs)(`div`,{className:`text-right`,children:[(0,U.jsxs)(`div`,{className:`text-fg-strong text-[22px] leading-none font-bold tabular-nums`,children:[C,w>0&&(0,U.jsxs)(`span`,{className:`text-muted-foreground text-[13px] font-normal`,children:[` / `,w]})]}),(0,U.jsx)(`div`,{className:`text-fg-hint text-[11px]`,children:e(`seatsUsed`)})]}),children:(0,U.jsx)(`div`,{className:`bg-surface-alt mt-1 h-[7px] overflow-hidden rounded-full`,children:(0,U.jsx)(`div`,{className:`bg-violet h-full rounded-full transition-[width]`,style:{width:`${T}%`}})})}),(0,U.jsxs)(h5,{title:e(`membersTitle`),description:e(`membersDesc`,{workspace:n||``}),action:(0,U.jsxs)(Z,{size:`sm`,onClick:()=>g(!0),children:[(0,U.jsx)(bb,{}),` `,e(`inviteMember`)]}),bodyClassName:`px-0 pb-0`,children:[(0,U.jsx)(QU,{query:s,isEmpty:e=>e.length===0,empty:(0,U.jsx)(`div`,{className:`text-muted-foreground px-5 py-10 text-center text-[13px]`,children:e(`empty`)}),children:n=>(0,U.jsxs)(`div`,{className:`border-divider border-t`,children:[(0,U.jsxs)(`div`,{className:`text-fg-hint grid grid-cols-[2.4fr_1fr_1fr_40px] gap-3 px-5 py-2 text-[10px] font-semibold tracking-[0.06em] uppercase`,children:[(0,U.jsx)(`span`,{children:e(`colMember`)}),(0,U.jsx)(`span`,{children:e(`colRole`)}),(0,U.jsx)(`span`,{children:e(`colLastActive`)}),(0,U.jsx)(`span`,{})]}),n.map(n=>{let r=n.id===t?.id,i=n.id===x,a=v5(n);return(0,U.jsxs)(`div`,{className:`border-divider hover:bg-surface-hover grid grid-cols-[2.4fr_1fr_1fr_40px] items-center gap-3 border-t px-5 py-2.5`,children:[(0,U.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2.5`,children:[(0,U.jsx)(nT,{className:`size-8`,children:(0,U.jsx)(rT,{className:`bg-avatar text-[12px] font-semibold text-white`,children:_5(n).charAt(0).toUpperCase()})}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsxs)(`div`,{className:`text-fg-strong flex items-center gap-1.5 truncate text-[13px] font-medium`,children:[_5(n),` `,r&&(0,U.jsxs)(`span`,{className:`text-fg-hint text-[11px] font-normal`,children:[`· `,e(`you`)]})]}),(0,U.jsx)(`div`,{className:`text-fg-hint truncate text-[11.5px]`,children:n.email})]})]}),(0,U.jsx)(`div`,{children:(0,U.jsx)(t5,{variant:i||a?`default`:`secondary`,className:W(`font-medium`,i?`bg-brand`:a&&`bg-violet`),children:e(i?`roleOwner`:a?`roleAdmin`:`roleMember`)})}),(0,U.jsx)(`div`,{className:`text-fg-hint text-[11.5px]`,children:`-`}),(0,U.jsx)(`div`,{className:`flex justify-end`,children:!r&&!i&&(0,U.jsx)(GU,{items:M(n),label:_5(n)})})]},n.id)})]})}),(0,U.jsx)(`div`,{className:`border-divider text-fg-hint border-t px-5 py-3 text-[11.5px]`,children:e(`seatsFootnote`)})]}),b.length>0&&(0,U.jsx)(h5,{title:e(`pendingTitle`),description:e(`pendingDesc`),bodyClassName:`px-0 pb-0`,children:(0,U.jsx)(`div`,{className:`border-divider border-t`,children:b.map(t=>(0,U.jsxs)(`div`,{className:`border-divider hover:bg-surface-hover grid grid-cols-[2.4fr_1fr_auto_40px] items-center gap-3 border-t px-5 py-2.5`,children:[(0,U.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2.5`,children:[(0,U.jsx)(`span`,{className:`bg-warning-soft text-warning-foreground grid size-8 shrink-0 place-items-center rounded-full`,children:(0,U.jsx)(bb,{className:`size-4`})}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong truncate text-[13px] font-medium`,children:t.email}),(0,U.jsx)(`div`,{className:`text-fg-hint truncate text-[11.5px]`,children:j(t.invitedAt)})]})]}),(0,U.jsx)(`div`,{children:(0,U.jsx)(t5,{variant:`secondary`,className:`bg-warning-soft text-warning-foreground font-medium`,children:e(`pendingBadge`)})}),(0,U.jsx)(`div`,{className:`flex justify-end`,children:(0,U.jsxs)(Z,{variant:`outline`,size:`sm`,onClick:()=>k(t),disabled:p.isPending,children:[(0,U.jsx)(Ib,{}),` `,e(`resend`)]})}),(0,U.jsx)(`div`,{className:`flex justify-end`,children:(0,U.jsx)(GU,{items:[{label:e(`revoke`),icon:$b,danger:!0,onSelect:()=>A(t)}],label:t.email})})]},t.id))})}),(0,U.jsx)(FT,{open:h,onOpenChange:g,workspaceName:n,teams:r}),(0,U.jsx)(xT,{open:_!==null,onOpenChange:e=>!e&&v(null),children:(0,U.jsxs)(ST,{className:`sm:max-w-[440px]`,children:[(0,U.jsxs)(CT,{children:[(0,U.jsx)(TT,{children:e(`removeConfirmTitle`)}),(0,U.jsx)(ET,{children:e(`removeConfirmBody`,{name:_?_5(_):``})})]}),(0,U.jsxs)(wT,{children:[(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:()=>v(null),disabled:f.isPending,children:e(`removeConfirmCancel`)}),(0,U.jsx)(Z,{variant:`destructive`,size:`sm`,onClick:D,disabled:f.isPending,children:e(`removeConfirmConfirm`)})]})]})})]})}function C2e(){return(0,U.jsx)(S2e,{})}var w2e=[`testFailures`,`planCompletion`,`weeklyDigest`,`usageLimits`,`billingInvoices`,`productUpdates`],y5={testFailures:{email:!0,inApp:!0},planCompletion:{email:!1,inApp:!0},weeklyDigest:{email:!0,inApp:!1},usageLimits:{email:!0,inApp:!0},billingInvoices:{email:!0,inApp:!1},productUpdates:{email:!1,inApp:!1}},b5=`t2t-notification-prefs`;function T2e(){if(typeof window>`u`)return y5;try{let e=window.localStorage.getItem(b5);return e?{...y5,...JSON.parse(e)}:y5}catch{return y5}}function E2e(){let e=X(`pages.settings.notifications`),[t,n]=(0,O.useState)(y5);(0,O.useEffect)(()=>{n(T2e())},[]);function r(e,t,r){n(n=>({...n,[e]:{...n[e],[t]:r}}))}function i(){window.localStorage.setItem(b5,JSON.stringify(t)),G.success(e(`saved`))}return(0,U.jsx)(B8,{title:e(`title`),subtitle:e(`subtitle`),children:(0,U.jsx)(h5,{title:e(`cardTitle`),description:e(`cardDesc`),action:(0,U.jsxs)(`div`,{className:`text-fg-hint flex w-[120px] items-center justify-between text-[10px] font-semibold tracking-[0.06em] uppercase`,children:[(0,U.jsx)(`span`,{children:e(`email`)}),(0,U.jsx)(`span`,{children:e(`inApp`)})]}),bodyClassName:`px-0 pb-0`,footer:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`text-fg-hint text-[11.5px]`,children:e(`footnote`)}),(0,U.jsx)(Z,{size:`sm`,onClick:i,children:e(`save`)})]}),children:(0,U.jsx)(`div`,{className:`border-divider border-t`,children:w2e.map(n=>(0,U.jsxs)(`div`,{className:`border-divider flex items-center gap-4 border-t px-5 py-3 first:border-t-0`,children:[(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong text-[13px] font-medium`,children:e(`rows.${n}.label`)}),(0,U.jsx)(`div`,{className:`text-fg-hint text-[11.5px]`,children:e(`rows.${n}.desc`)})]}),(0,U.jsxs)(`div`,{className:`flex w-[120px] items-center justify-between pr-1`,children:[(0,U.jsx)(v6,{checked:t[n].email,onCheckedChange:e=>r(n,`email`,e===!0),"aria-label":`${e(`rows.${n}.label`)} â ${e(`email`)}`}),(0,U.jsx)(v6,{checked:t[n].inApp,onCheckedChange:e=>r(n,`inApp`,e===!0),"aria-label":`${e(`rows.${n}.label`)} â ${e(`inApp`)}`})]})]},n))})})})}function D2e(){return(0,U.jsx)(E2e,{})}var O2e=[{id:`s1`,icon:mb,device:`MacBook Pro · Chrome`,meta:`Istanbul, TR · 88.241.x.x · Active now`,current:!0},{id:`s2`,icon:Kb,device:`iPhone 15 · Safari`,meta:`Istanbul, TR · 88.241.x.x · 5h ago`},{id:`s3`,icon:mb,device:`Windows · Edge`,meta:`Ankara, TR · 95.70.x.x · 4 days ago`}];function k2e(){let e=X(`pages.settings.security`),[t,n]=(0,O.useState)(!1);function r(t){n(t),G.info(e(`comingSoon`))}return(0,U.jsxs)(B8,{title:e(`title`),subtitle:e(`subtitle`),children:[(0,U.jsx)(h5,{title:e(`twoFactorTitle`),description:e(`twoFactorDesc`),children:(0,U.jsxs)(`div`,{className:`mt-1 flex items-center gap-3`,children:[(0,U.jsx)(`div`,{className:`bg-violet-pale text-violet flex size-9 shrink-0 items-center justify-center rounded-lg`,children:(0,U.jsx)(Wb,{className:`size-4`})}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-[13px] font-medium`,children:e(`authenticatorApp`)}),(0,U.jsx)(`span`,{className:W(`rounded-full px-2 py-0.5 text-[10px] font-medium`,t?`bg-success-soft text-success-foreground`:`bg-surface-alt text-fg-muted`),children:e(t?`on`:`off`)})]}),(0,U.jsx)(`div`,{className:`text-fg-hint text-[11.5px]`,children:e(t?`configured`:`notConfigured`)})]}),t&&(0,U.jsx)(Z,{variant:`outline`,size:`sm`,onClick:()=>G.info(e(`comingSoon`)),children:e(`viewBackupCodes`)}),(0,U.jsx)(uQ,{checked:t,onCheckedChange:r,"aria-label":e(`twoFactorTitle`)})]})}),(0,U.jsx)(h5,{title:e(`sessionsTitle`),description:e(`sessionsDesc`),action:(0,U.jsx)(Z,{variant:`outline`,size:`sm`,className:`border-danger/40 text-danger hover:bg-danger/5`,onClick:()=>G.info(e(`comingSoon`)),children:e(`signOutAll`)}),bodyClassName:`px-0 pb-0`,children:(0,U.jsx)(`div`,{className:`border-divider border-t`,children:O2e.map(t=>{let n=t.icon;return(0,U.jsxs)(`div`,{className:`border-divider flex items-center gap-3 border-t px-5 py-3 first:border-t-0`,children:[(0,U.jsx)(`div`,{className:`bg-surface-alt text-fg-muted flex size-9 shrink-0 items-center justify-center rounded-lg`,children:(0,U.jsx)(n,{className:`size-4`})}),(0,U.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,U.jsxs)(`div`,{className:`text-fg-strong flex items-center gap-2 text-[13px] font-medium`,children:[t.device,t.current&&(0,U.jsxs)(`span`,{className:`text-success text-[11px] font-normal`,children:[`· `,e(`thisDevice`)]})]}),(0,U.jsx)(`div`,{className:`text-fg-hint truncate text-[11.5px]`,children:t.meta})]}),!t.current&&(0,U.jsx)(Z,{variant:`ghost`,size:`sm`,onClick:()=>G.info(e(`comingSoon`)),children:e(`revoke`)})]},t.id)})})})]})}function A2e(){return(0,U.jsx)(k2e,{})}var j2e=/^\[!(INFO|TIP|WARNING)\](.*)$/i;function x5(e,t,n){if(e.type===t&&n(e),e.children)for(let r of e.children)x5(r,t,n)}function M2e(){return e=>{x5(e,`blockquote`,e=>{let t=e.children?.[0];if(!t||t.type!==`paragraph`)return;let n=t.children?.[0];if(!n||n.type!==`text`||typeof n.value!=`string`)return;let r=n.value.replace(/\r\n/g,` 376`),i=r.indexOf(` 377`),a=i===-1?r:r.slice(0,i),o=i===-1?``:r.slice(i+1),s=j2e.exec(a);if(!s)return;let c=s[1].toLowerCase(),l=s[2].trim();o?n.value=o:(t.children?.shift(),t.children&&t.children.length===0&&e.children?.shift()),e.data=e.data??{},e.data.hName=`div`,e.data.hProperties={...e.data.hProperties??{},"data-callout":c,...l?{"data-callout-title":l}:{}}}),x5(e,`code`,e=>{let t=e.meta||e.lang||``;t&&(e.data=e.data??{},e.data.hProperties={...e.data.hProperties??{},"data-meta":t})})}}var S5={info:{icon:db,ring:`border-violet-light bg-violet-pale`,accent:`text-violet`,labelKey:`calloutInfo`},tip:{icon:Doe,ring:`border-success/30 bg-success-soft`,accent:`text-success-foreground`,labelKey:`calloutTip`},warning:{icon:nx,ring:`border-status-pending/40 bg-status-pending/10`,accent:`text-status-pending`,labelKey:`calloutWarning`}};function N2e(e){switch(e){case`tip`:return S5.tip;case`warning`:return S5.warning;default:return S5.info}}function P2e({code:e,label:t,t:n}){let[r,i]=(0,O.useState)(!1);function a(){navigator.clipboard.writeText(e).catch(()=>{}),i(!0),window.setTimeout(()=>i(!1),1500)}return(0,U.jsxs)(`div`,{className:`border-border bg-background overflow-hidden rounded-lg border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`border-divider text-muted-foreground flex items-center justify-between border-b px-3 py-1.5 text-[10.5px]`,children:[(0,U.jsx)(`span`,{className:`font-mono`,children:t}),(0,U.jsxs)(`button`,{type:`button`,onClick:a,className:`hover:text-fg-strong inline-flex items-center gap-1 transition-colors`,children:[r?(0,U.jsx)(Py,{className:`text-success size-3`}):(0,U.jsx)(Yy,{className:`size-3`}),n(r?`copied`:`copy`)]})]}),(0,U.jsx)(`pre`,{className:`text-fg-body overflow-x-auto px-3.5 py-3 font-mono text-[12px] leading-relaxed`,children:(0,U.jsx)(`code`,{children:e})})]})}function F2e({children:e,t}){return(0,U.jsx)(`div`,{className:W(`text-fg-body flex flex-col gap-3.5`,`[&>p]:text-[13px] [&>p]:leading-[1.7]`,`[&>h3]:text-fg-strong [&>h3]:mt-2 [&>h3]:text-[15px] [&>h3]:font-semibold`,`[&>ul]:flex [&>ul]:flex-col [&>ul]:gap-1.5`,`[&>ul>li]:text-fg-body [&>ul>li]:relative [&>ul>li]:pl-4 [&>ul>li]:text-[13px] [&>ul>li]:leading-[1.6]`,`[&>ul>li]:before:bg-violet [&>ul>li]:before:absolute [&>ul>li]:before:top-[0.62em] [&>ul>li]:before:left-0 [&>ul>li]:before:size-1 [&>ul>li]:before:rounded-full [&>ul>li]:before:content-['']`,`[&>ol]:flex [&>ol]:flex-col [&>ol]:gap-2 [&>ol]:[counter-reset:doc-step]`,`[&>ol>li]:text-fg-body [&>ol>li]:relative [&>ol>li]:pt-0.5 [&>ol>li]:pl-7 [&>ol>li]:text-[13px] [&>ol>li]:leading-[1.6]`,`[&>ol>li]:before:bg-violet-pale [&>ol>li]:before:text-violet [&>ol>li]:before:absolute [&>ol>li]:before:top-0 [&>ol>li]:before:left-0 [&>ol>li]:before:grid [&>ol>li]:before:size-5 [&>ol>li]:before:place-items-center [&>ol>li]:before:rounded-full [&>ol>li]:before:text-[11px] [&>ol>li]:before:font-semibold [&>ol>li]:before:content-[counter(doc-step)] [&>ol>li]:before:[counter-increment:doc-step]`,`[&_strong]:text-fg-strong [&_strong]:font-medium`,`[&_a]:text-violet [&_a]:underline`),children:(0,U.jsx)(x4,{remarkPlugins:[p3,M2e],components:{div({node:e,children:n,...r}){let i=e?.properties,a=i?.[`data-callout`]??i?.dataCallout,o=typeof a==`string`?a:void 0;if(!o||!(o in S5))return(0,U.jsx)(`div`,{...r,children:n});let s=N2e(o),c=s.icon,l=i?.[`data-callout-title`]??i?.dataCalloutTitle,u=typeof l==`string`?l:void 0;return(0,U.jsxs)(`div`,{className:W(`my-3.5 flex gap-2.5 rounded-lg border-[0.5px] p-3`,s.ring),children:[(0,U.jsx)(c,{className:W(`mt-0.5 size-4 shrink-0`,s.accent)}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-[12px] font-semibold`,children:u??t(s.labelKey)}),(0,U.jsx)(`div`,{className:`text-fg-body text-[12.5px] leading-[1.6] [&_p]:m-0`,children:n})]})]})},pre({children:e}){return(0,U.jsx)(U.Fragment,{children:e})},code({node:e,className:n,children:r,...i}){let a=/language-(\w+)/.exec(n??``),o=String(r??``);
377if(!(a||o.includes(` 378`)))return(0,U.jsx)(`code`,{className:`bg-surface-alt rounded px-1 py-0.5 font-mono text-[12px]`,...i,children:r});let s=e?.properties,c=s?.[`data-meta`]??s?.dataMeta,l=(typeof c==`string`?c:void 0)||a?.[1]||`text`;return(0,U.jsx)(P2e,{code:o.replace(/\n$/,``),label:l,t})}},children:e})})}function C5({namespace:e,sections:t,ctaHref:n}){let r=X(e);return(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{children:r(`breadcrumb`)}),(0,U.jsx)(Ly,{className:`text-fg-hint size-3`}),(0,U.jsx)(`span`,{className:`text-fg-strong font-medium`,children:r(`title`)})]}),(0,U.jsxs)(`div`,{className:`mb-6 flex flex-wrap items-start justify-between gap-6`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[26px] font-bold tracking-[-0.01em]`,children:r(`title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mt-1.5 max-w-[620px] text-[13px] leading-relaxed`,children:r(`lead`)}),(0,U.jsx)(`p`,{className:`text-fg-hint mt-2 text-[11px]`,children:r(`updated`)})]}),(0,U.jsx)(Z,{asChild:!0,children:(0,U.jsxs)(Qw,{href:n,children:[(0,U.jsx)(Pb,{}),r(`cta`)]})})]}),(0,U.jsxs)(`div`,{className:`flex gap-10`,children:[(0,U.jsx)(`article`,{className:`max-w-[760px] min-w-0 flex-1`,children:t.map(e=>(0,U.jsxs)(`section`,{id:e.id,className:`border-divider scroll-mt-6 border-t py-7 first:border-t-0 first:pt-0`,children:[(0,U.jsxs)(`h2`,{className:`group text-fg-strong mb-3 flex items-center gap-2 text-[18px] font-bold tracking-[-0.01em]`,children:[(0,U.jsx)(`a`,{href:`#${e.id}`,className:`text-fg-hint opacity-0 transition-opacity group-hover:opacity-100`,"aria-label":e.title,children:`#`}),e.title]}),(0,U.jsx)(F2e,{t:r,children:e.body})]},e.id))}),(0,U.jsx)(`aside`,{className:`hidden w-[200px] shrink-0 lg:block`,children:(0,U.jsxs)(`div`,{className:`sticky top-1`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-2.5 flex items-center gap-1.5 text-[9.5px] font-semibold tracking-[0.1em] uppercase`,children:[(0,U.jsx)(ioe,{className:`size-3`}),r(`onThisPage`)]}),(0,U.jsx)(`nav`,{className:`flex flex-col gap-0.5`,children:t.map(e=>(0,U.jsx)(`a`,{href:`#${e.id}`,className:`text-muted-foreground hover:text-fg-strong hover:border-violet border-l-[1.5px] border-transparent py-1 pl-3 text-[12px] leading-snug transition-colors`,children:e.title},e.id))})]})})]})]})}function I2e(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}function w5(e){let t=[],n=null,r=[],i=null,a=()=>{n!==null&&t.push({id:I2e(n),title:n,body:r.join(` 379`).trim()})};for(let t of e.split(` 380`)){let e=t.trimStart(),o=e.startsWith("```")?"```":e.startsWith(`~~~`)?`~~~`:null;if(o){i===null?i=o:o===i&&(i=null),r.push(t);continue}if(i===null&&t.startsWith(`## `)){a(),n=t.slice(3).trim(),r=[];continue}r.push(t)}return a(),t}var L2e=w5(`<!-- 381 Automation â Doc page content. Authored in Markdown; rendered by the shared 382 DocPage / DocMarkdown. Each \`## Heading\` becomes a section (id = slugified 383 heading). Callouts: \`> [!INFO|TIP|WARNING] Title\`. Code labels: the fence info 384 string after the language. 385--> 386 387## Introduction 388 389Automation bundles individual tests into a **Plan** - a group of tests run together on a schedule, on demand, or from CI. Text2Test rolls each execution up into a single plan run, with per-test detail one click away. 390 391Individual Web and Mobile tests answer "does this one flow work?" Plans answer "is the product healthy right now?" - running a whole suite together, on a cadence, with one pass/fail rollup instead of N separate reports. 392 393- **Directories** - organize plans into folders, nested one level, mirroring how teams group suites (by product area, by env, by team). 394- **Flexible triggers** - run manually, on a recurring schedule, or from a CI pipeline via API. 395- **Parallel browsers** - a plan can fan a test out across multiple browsers in one run. 396- **Retry policy** - failed tests can auto-retry before the plan is marked failed. 397- **Rolled-up reporting** - one stacked bar per plan run, with drill-down to every test inside it. 398 399> [!INFO] Scope 400> This document covers Automation only. Authoring individual tests is covered in the Web Test and Mobile Test documents; this one assumes tests already exist. 401 402### Surface map 403 404- **My Plans** - The list of every plan and directory in the workspace. Create, organize, and open plans. Primary CTA: Create â (Plan · Directory).
405- **Plan Results** - Every plan run - passed, failed, or in progress - with drill-down into each test's own report. 406- **Doc** - The document you're reading now, in-app. 407 408## Quickstart 409 410Bundle a handful of existing tests into a plan and run it, in under five minutes. Assumes the tests you want already exist in Web Test or Mobile Test. 411 4121. **Open My Plans** - From the sidebar, open Automation â My Plans. Click Create â and choose Plan. 4132. **Name it & set options** - Step 1 of the wizard: give the plan a name, pick browsers, and choose a schedule (or leave it manual-only for now). 4143. **Pick the tests to run** - Step 2: search or expand your test tree and check the tests to include. Order is set in Step 3, drag to reorder. 4154. **Bind data sources** - Step 4: bind a data source to any data-driven test in the plan, then Review & submit. 4165. **Run it** - From My Plans, open the row kebab and choose Run. Every bundled test executes; results roll up into one plan run. 4176. **Read the report** - Open Plan Results to see the run. The Status column shows a stacked bar ("56 passed · 13 failed"); click a row to drill into any individual test. 418 419> [!TIP] Add a schedule once the plan is stable 420> Step 1 of the wizard accepts a recurring cadence ("At 00:00, every day") so the plan runs unattended. 421 422## Core concepts 423 424A shared vocabulary for Automation. These terms recur in the wizard, the plan tree, and every plan report. 425 426- **Plan** - A bundle of tests + schedule + browsers + retry + reporting, run together and reported as one unit. 427- **Directory** - A folder for plans, nested one level. Used to group by product area, environment, or team. 428- **Trigger** - What started a plan run - Manual (a person clicked Run), Scheduled (the plan's cadence fired), or CI (an external pipeline called the run API). 429- **Executor** - The identity that kicked off the run - a workspace member's name, or a service identity like \`ci-bot\`. 430- **Plan run** - One execution of a plan. Rolls up every included test's result into a single stacked-bar status. 431- **Retry policy** - How many times a failed test re-attempts before the plan marks it failed. Configured in the plan wizard. 432- **Setting profile** - A named bundle of runtime settings (viewport, base URL, MCP servers) - the same profile concept used by individual tests. 433- **Data source** - An external input (CSV, Sheet, HTTP endpoint) bound to a specific test inside the plan in Step 4 of the wizard. 434 435### Trigger types at a glance 436 437- **Manual** - Started from the row kebab in My Plans, or the Run button in a plan's detail. Executor is the member who clicked it. 438- **Scheduled** - Fired by the plan's cadence (e.g. "At 00:00, every day"), set in Step 1 of the wizard. Executor reads as the plan itself. 439- **CI** - Started by an external call to the run API, typically from a CI pipeline. Executor is the calling service identity, e.g. \`ci-bot\`. 440 441## Organizing plans 442 443My Plans mirrors the Web Test Overview tree, but for plans: a two-level structure of directories and the plans inside them. 444 445Two KPI cards sit above the tree - Directories and Plans - followed by a toolbar (search, Creation time / Item count filters, and the Create â split button) and the tree table itself: Type · Name · Creation Time · Item Count · Actions. 446 447Directories expand and collapse to reveal their child plans. A directory's item count badge shows how many plans live inside it, including nested sub-directories. 448 449### Creating directories 450 451- Create â Directory - creates a root-level directory. 452- A directory row's kebab â Add Item offers Plan or Sub-directory, nesting one level inside that directory. 453 454### Moving & deleting 455 456Each row's kebab exposes Update, Move, and Delete. Moving a directory relocates every plan inside it. Deleting a directory that still contains plans shows a confirmation that explicitly names the count - e.g. "Delete Data Sources and its 10 plans?" - so nothing nested is removed silently. 457 458> [!INFO] Empty plans are fine 459> A plan with an item count of 0 (no tests yet assigned) can still be created, scheduled, and run - Step 2 of the wizard is simply left empty until tests are added. 460 461## Creating a plan 462 463The plan wizard is a 4-step flow inside a 3-stage outer tracker: Select asset type â Create â Review & submit. "Create" itself has four inner steps. 464 465### Step 1 â Plan details 466 467Name the plan and set its options: which browsers to run in, whether email notifications go out on completion, the retry policy for failed tests, and - optionally - a recurring schedule (e.g. "At 00:00, every day"). A plan with
467no schedule is manual- and CI-triggered only. 468 469### Step 2 â Select tests 470 471Pick the tests to bundle. Search by name or filter by tag to narrow a large tree; expand directories to reveal individual tests and check the ones to include. 472 473### Step 3 â Order tests 474 475Set the run order for the selected tests by dragging rows. Order matters when later tests depend on state left behind by earlier ones (e.g. a seeded record). 476 477### Step 4 â Data source 478 479Bind a data source to any data-driven test in the bundle, the same way an individual test binds one. Tests without variables can be left unbound. 480 481### Review & submit 482 483The final outer stage summarizes the plan - name, test count, browsers, schedule - before it's created. Launching the wizard from a directory's Add Item â Plan carries that directory in as the plan's parent automatically. 484 485## Scheduling & triggers 486 487A plan can be started three ways. Every run records which one fired it, visible as the Trigger column in Plan Results. 488 489### Manual 490 491Any workspace member with access can trigger a run from the row kebab in My Plans, or the Run action inside a plan's own detail view. The Executor recorded is that member. 492 493### Scheduled 494 495Set a cadence in Step 1 of the wizard (e.g. daily at midnight). The scheduler fires the plan unattended; no member needs to be present. Useful for nightly regression sweeps. 496 497The presets cover one run per hour, day, week, or month. For anything with more than one occurrence per period - twice a day, three days a week, every other hour - switch on **Use custom cron**: pick a repeat period, then multi-select the months, days, hours, and minutes to run on. Either way the cadence is spelled out in words under the controls ("At 09:00 and 17:00, every day"), so you can confirm it before saving without reading a cron expression. 498 499> [!NOTE] Editing a plan opens the panel it needs 500> A plan whose schedule the presets can't express reopens directly in the custom cron panel, with its existing expression intact rather than rounded to the nearest preset. 501 502### CI 503 504An external pipeline calls the plan's run API - typically a step in a CI/CD job that runs the suite against a freshly deployed build. The Executor recorded is the calling service identity (e.g. \`ci-bot\`). 505 506### Filtering by trigger 507 508Plan Results' toolbar includes a Trigger filter chip. Open it to multi-select any combination of Scheduled, Manual, and CI - the table narrows to runs from the selected trigger types, and the chip shows a count badge when more than one is active. 509 510> [!TIP] Audit CI runs in isolation 511> Filter to CI alone to audit exactly what a deploy pipeline has been running, independent of manual spot-checks. 512 513## Running & retries 514 515However a run starts, every bundled test executes according to the plan's browser and retry configuration. 516 517### Parallel browsers 518 519A plan can be configured to run each test across more than one browser (e.g. Chrome and Firefox) in the same run. Each browser's results are counted separately inside the rollup. 520 521### Retry policy 522 523When a test fails, the retry policy set in Step 1 determines how many additional attempts it gets before the plan marks it as a hard failure. A test that passes on retry counts as passed in the final rollup, but the retry is visible in that test's own Steps detail. 524 525### Notifications 526 527Turning on email notifications in Step 1 sends a summary to the plan owner when a run completes - pass rate, duration, and a link straight into Plan Results. 528 529## Plan results & reporting 530 531Plan Results is the per-plan run history - one row per execution, each rolling up N individual test results. 532 533### Layout 534 535A hero test-case pass-rate ring sits above six compact KPI cards, mirroring Test Results but counting plan-run statuses. Below it, a toolbar holds
535search, status filter, the trigger filter, a density toggle, and export. 536 537### The table 538 539- **Plan** - The plan's name, linking into its detail. 540- **Executor** - Who or what started the run - a member, or a service identity. 541- **Status** - A tight stacked bar plus an explicit chip, e.g. "56 passed · 13 failed". 542- **Duration / Started / Ended** - Timing for the full plan run. 543- **Trigger** - Scheduled, Manual, or CI. 544 545### Drilling in 546 547Clicking a row opens a side panel with four tabs: Overview · Tests · Logs · Artifacts. From the Tests tab, clicking a single test drills further into that test's own report - Overview, Console, Network, Steps - exactly like an individual Test Results entry. 548 549- **All passed** - The stacked bar renders as a solid green block; the chip reads "N passed". 550- **Mixed** - e.g. 56 / 13 / 2 - the bar segments proportionally and the chip states each count. 551- **Errored** - A plan that errored before any test ran shows a distinct error state rather than a 0-count bar. 552 553## Sharing plan reports 554 555Any plan run can be shared the same way an individual test report can - a link, fixed 7-day expiry, no password toggles. 556 557### Share scopes 558 559- **Public** - anyone with the link can view, no account required. 560- **Workspace** - the recipient needs a Text2Test account in this workspace; the shared page offers a deep link straight back into the live plan run. 561 562### Expiry 563 564Every shared link expires 7 days after creation. A recipient opening an expired link sees an explicit expired state rather than a broken page. 565 566> [!INFO] Sharing is per run 567> Sharing is per plan-run, not per plan - re-sharing after a new run generates a fresh link and expiry. 568 569## Troubleshooting 570 571Common issues when a plan doesn't behave as expected. 572 573- **Scheduled run never fires** - No cadence was set in Step 1, or the plan has since been edited to remove it. Re-open the plan and confirm a schedule is present. 574- **CI trigger returns an auth error** - The service identity's API token is missing or revoked. Re-issue a token under workspace settings and update the pipeline secret. 575- **Plan shows fewer tests than expected** - A test referenced in Step 2 was deleted or moved out of scope after the plan was created. Re-open Step 2 and re-select. 576- **Retry doesn't seem to run** - Retry policy is 0 by default - confirm it was raised above 0 in Step 1. 577- **Deleting a directory is blocked** - Not blocked - the confirmation names the nested plan count; confirm to proceed, or Move the plans out first. 578`);function R2e(){return(0,U.jsx)(C5,{namespace:`pages.automation.doc`,sections:L2e,ctaHref:`/plan`})}function z2e(){return(0,U.jsx)(R2e,{})}var B2e=w5(`<!-- 579 Settings â Doc page content. Authored in Markdown; rendered by the shared 580 DocPage / DocMarkdown. Each \`## Heading\` becomes a section (id = slugified 581 heading, drives the anchor + "On this page" outline). 582 583 Conventions: 584 - Callouts: \`> [!INFO|TIP|WARNING] Optional title\` then the body below. 585 - Code labels: the fence info string after the language, e.g. \`\`\`text Settings body 586 - Term bullets: \`**term** - explanation\`. 587 588 The setting keys below mirror the real consumers across the platform 589 (text2test-manager, text2test-chef, text2test-ai, the web executor and the 590 mobile executor). Keep them in sync if those services rename or add keys. 591--> 592 593## What is a setting profile? 594 595A setting profile is a reusable bundle of execution settings - timeouts, browser, reporting, AI matching, localization and more - that Text2Test applies when it runs your tests. Define them once in a profile and they apply everywhere the profile is in scope, instead of being repeated per test. 596 597Each setting is a key/value pair. The same key can be set at different scopes (company, team, general, prompt) and the highest-priority scope wins at run time, so a company can set safe defaults while a team or a single test overrides only what it needs. 598 599> [!INFO] Where they live 600> Manage profiles under Settings â Setting Profiles. They belong to the active workspace (company + team), so switching teams shows that teamâs profiles. 601 602## Scopes & priority 603 604Every profile has one scope. When a key is resolved for a run, scopes are consulted in priority order and the first match wins: 605 606- **Prompt** - Highest priority. Settings attached to a specific prompt/test, overriding everything below.
607- **General** - Workspace-wide defaults you opt a test into. 608- **Plan** - Applied automatically by a plan run (parallelism, artifacts, video). Not a scope you pick - it comes from the planâs configuration. 609- **Team** - Defaults shared by everyone on the active team. 610- **Company** - Lowest priority. Organisation-wide baseline, typically managed by admins. 611 612Effective priority (left wins): Prompt â General â Plan â Team â Company. 613 614> [!WARNING] One active global profile per scope 615> Promoting a profile to Team or Company can degrade a previously active profile at that scope to General, so only one stays authoritative. Keep company/team baselines deliberate. 616 617## Writing settings 618 619The body of a profile is plain text. Each setting is a key::value token, parsed on save. Tokens are whitespace-separated, so one per line keeps it readable. 620 621\`\`\`text Settings body 622timeout::600000 623browser::chromium 624generateReport::true 625language::en 626\`\`\` 627 628- **key** - A word (letters, digits, underscore) - no spaces. 629- **::** - The separator. Exactly two colons. 630- **value** - A single run of non-whitespace characters. Booleans are true / false; durations are milliseconds; a few AI flags use 0 / 1. 631 632> [!TIP] Values canât contain spaces 633> Because tokens are whitespace-separated, a value with spaces (e.g. a CSS selector or a sentence) wonât parse. Use the per-test controls for those; profiles are best for single-token values. Lines without a key::value token are ignored, so you can leave notes between settings. 634 635## Execution & run control 636 637Govern how long a run may take, how steps are paced, and how caching / self-healing behave. 638 639- **timeout** - Maximum total run time in milliseconds before the execution is aborted. Default 1800000 (30 min); minimum 30000 (30 s). 640- **waitTime** - Delay between steps in milliseconds. Default 250. Ignored while the step cache is enabled (cached steps run at full speed). 641- **maxLoopIterations** - Maximum retry attempts for a single step before it fails. 642- **disableCache** - true disables the step-action cache so every step is re-resolved by the AI. Default false (cache on). Use when a page changed and cached locators are stale. 643- **selfHealing** - When not false, a cached step that fails is cleared and re-resolved automatically. Default true. 644- **usingCache** - Enables cached step actions for scheduled runs. Default true for scheduled executions. 645- **isParallel** - true runs a planâs tests in parallel. Normally set by the plan, not by hand. 646 647\`\`\`text Fast, deterministic CI run 648timeout::900000 649disableCache::false 650selfHealing::true 651generateReport::true 652\`\`\` 653 654## Reporting & artifacts 655 656Control what each run captures - reports, screenshots, debug data and the accessibility model. 657 658- **generateReport** - true produces the full execution report (HAR, per-step data). Default false; scheduled runs enable it automatically. 659- **generateReportForExtension** - true generates a report when running through the browser extension. Default false. 660- **saveArtifacts** - true records step-by-step debug artifacts (screenshots and more). Default false. 661- **artifactsStepCount** - How many steps of artifacts to buffer. Default 5; must be > 0. 662- **screenshotsOff** - true disables per-step screenshots (faster runs). Default false. Ignored for manual runs. 663- **saveAom** - true saves the accessibility object model per step (heavy; for debugging). Default false. 664- **showUrlBar** - true overlays the current URL on screenshots. Default false. 665- **debugLogs** - true enables verbose debug logging. Default false. 666- **debugStatusMessagesOn** - true emits debug-level status messages to the live run feed. Default false. 667 668\`\`\`text Maximum visibility while debugging a flaky test 669debugLogs::true 670saveArtifacts::true 671saveAom::true 672showUrlBar::true 673disableCache::true 674\`\`\` 675 676## Browser & viewport 677 678Choose the engine and window the web executor launches. 679 680- **browser** - Engine to run on: chromium, firefox or webkit (mobile for the mobile pipeline). Falls back to defaultBrowser. 681- **defaultBrowser** - Engine used when browser is unset. Default chromium. 682- **headlessBrowser** - Controls headless mode (true to hide the browser window). 683- **args** - Comma-separated Chromium launch flags, e.g. --disable-notifications,--start-maximized. No spaces. 684- **viewportWidth** - Viewport (and video) width in pixels. Default 1280.
685- **viewportHeight** - Viewport (and video) height in pixels. Default 720. 686 687\`\`\`text Headless 1080p run with custom flags 688browser::chromium 689headlessBrowser::true 690viewportWidth::1920 691viewportHeight::1080 692args::--disable-notifications,--start-maximized 693\`\`\` 694 695## Synchronisation & waits 696 697Hold the run until the page settles. Network/idle waits take a value with no spaces; selector- and text-based waits are best set per test (their values usually contain spaces). 698 699- **waitForNetworkIdle** - Milliseconds to wait for network idle after navigation. Default -1 (off). 700- **waitForElementVisible** - A CSS selector to wait for until visible before continuing. 701- **waitForElementHidden** - A CSS selector to wait for until hidden (e.g. a spinner). 702- **waitForElementExistence** - Wait until a selector exists in the DOM. 703- **waitForElementNonExistence** - Wait until a selector is removed from the DOM. 704- **waitForTextInBody** - Wait until this text appears in the page body. 705- **waitUntilTextGoneFromBody** - Wait until this text disappears from the page body. 706 707\`\`\`text Wait for the network to quieten 708waitForNetworkIdle::2000 709\`\`\` 710 711## Network, proxy & access 712 713Route traffic through a proxy, fence the run to a set of domains, and attach custom headers. 714 715- **proxyServer** - Proxy URL, e.g. http://proxy.example.com:8080. 716- **proxyUsername** - Username for proxy auth. 717- **proxyPassword** - Password for proxy auth. 718- **proxyBypass** - Hosts that should bypass the proxy. 719- **allowedDomains** - Comma-separated allowlist. When set, navigation is restricted to only these domains. 720- **ignoredDomains** - Comma-separated blocklist of domains to block (e.g. analytics, ads). 721- **header\\<Name\\>** - Any key starting with header is sent as an HTTP request header, e.g. headerAuthorization::Bearer-{{token}}. Add as many as you need. 722- **remoteSeleniumURL** - URL of a remote Selenium/grid endpoint to run against. 723 724\`\`\`text Corporate proxy, fenced to internal apps 725proxyServer::http://proxy.corp:8080 726proxyUsername::svc-tester 727allowedDomains::app.corp.com,api.corp.com 728ignoredDomains::analytics.google.com 729\`\`\` 730 731## Device permissions & geolocation 732 733Pre-grant browser permissions and fake device inputs so prompts donât block the run. 734 735- **useGeoLocation** - Sets and grants a geolocation as latitudeXlongitude, e.g. 40.7128x-74.0060. 736- **useLocation** - true enables location services. Default false. 737- **useCamera** - true grants the camera and feeds a fake media stream. Default false. 738- **useMicrophone** - true grants the microphone and feeds a fake media stream. Default false. 739- **allowNotifications** - true grants the notifications permission. Default false. 740 741\`\`\`text Geofenced test with camera access 742useGeoLocation::40.7128x-74.0060 743useLocation::true 744useCamera::true 745\`\`\` 746 747## Video recording 748 749When recordVideo is on, these tune the encode. Frame rate and CRF have the biggest effect on size. 750 751- **recordVideo** - true records the run as video. Default false (web); the mobile executor defaults this to true. 752- **videoFrameRate** - Frames per second. Default 2. 1â5 for a status feel, 10â15 smooth, 24+ HD. 753- **videoCrf** - x264 quality: 0 lossless, 23 default, 28â32 small file, 35+ low quality. Default 32. 754- **videoScaleWidth** - Output width in pixels (keeps aspect ratio); 0 disables scaling. Default 960. 755- **videoMaxBitrate** - Max bitrate, e.g. 200k, 1M, 3M. Default 200k. 756- **videoBufferSize** - VBV buffer; rule of thumb 2à max bitrate, e.g. 400k. Default 400k. 757- **videoEncoderPreset** - Speed/compression trade-off: ultrafast ⦠medium ⦠veryslow. Default medium. 758 759\`\`\`text Smoother, sharper recording 760recordVideo::true 761videoFrameRate::12 762videoCrf::26 763videoScaleWidth::1280 764videoMaxBitrate::1M 765\`\`\` 766 767## AI matching & vision 768 769Tune how the AI resolves a plain-English step to a real element. Loosening thresholds finds more candidates but risks false matches; tightening is stricter but can miss elements. 770 771- **useVLM** - true enables the vision model for icon/image recognition. Default false. 772- **vlmFallbackOnRetry** - When not false, falls back to the vision model when a step retries. Default true. 773- **elementsToLabel** - Which element types to label in the AOM. Default editable. 774- **matchThreshold** - Confidence threshold for matching an element, 0.0â1.0. Default 0.0 (no floor). 775- **matchTopK** - How many top element matches to consider. Default 1. Raise (e.g. 3) for ambiguous UIs. 776- **interactionTopK** - How many interaction candidates to return. Default 1. 777- **errorMarginRatio** - Coordinate tolerance as a ratio of element size. Default 0.02 (2%). 778- **searchDistanceThreshold** - Max pixel distance when searching related elements. Default 1000000 (effectively unbounded). 779- **aiCertaintyLevel** - Confidence required for AI decisions, 0â1000 (higher = stricter). Default 1000. 780- **dismissIrrelevantPopups** - Auto-dismiss unrelated popups when a step fails. 1 enables, 0 disables. Off by default.
781- **fixSuspiciousCoordinates** - Verify and correct element coordinates before acting. 1 enables, 0 disables. Off by default. 782- **fineTuning** - Fine-tune / custom-model id to apply for matching. Defaults to the company id or a globally configured tuner. 783- **axBuilderType** - Accessibility-tree builder strategy. Default cdps. 784 785\`\`\`text More forgiving matching on a noisy UI 786useVLM::true 787matchTopK::3 788matchThreshold::0.5 789dismissIrrelevantPopups::1 790fixSuspiciousCoordinates::1 791\`\`\` 792 793## Localization 794 795Tell the AI which language and locale the app under test uses, so it matches labels and parses dates/numbers correctly. 796 797- **language** - Language for interpretation and element matching, e.g. en, tr, de, fr, ja. Default en. 798- **numericLocale** - Locale for parsing/formatting numbers (separators, minus), e.g. en_US, de_DE. Default en_US. 799- **dateLocale** - Locale for date-picker fields, e.g. de_DE. Defaults to the environment. 800- **timeLocale** - Locale for time-picker fields, e.g. de_DE. Defaults to the environment. 801 802\`\`\`text German app under test 803language::de 804numericLocale::de_DE 805dateLocale::de_DE 806timeLocale::de_DE 807\`\`\` 808 809## Mobile execution 810 811Settings honoured by the mobile executor (iOS / Android). recordVideo, saveArtifacts, artifactsStepCount and screenshotsOff behave as above. 812 813- **cachingEnabled** - true caches predicted actions for faster mobile runs. Default true. 814- **preselectEnabled** - true takes a fast path for already-known elements. Default true. 815- **alwaysUseLLM** - true forces the LLM on every step, bypassing the cache. Default false (diagnostic use). 816- **hideKeyboard** - Strategy to dismiss the keyboard after typing. Android: DEFAULT, ENTER, GO_BACK, NOTHING. iOS: DEFAULT, TAMAM. Default DEFAULT. 817 818\`\`\`text Android run that presses Enter to close the keyboard 819recordVideo::true 820hideKeyboard::ENTER 821cachingEnabled::true 822preselectEnabled::true 823\`\`\` 824 825## Prompt behaviour 826 827Prompt-scoped flags that change how a prompt is compiled rather than how it runs. 828 829- **abstractScenario** - true marks the prompt as an abstract scenario - no concrete steps are generated. Default false. 830- **abstractExtraction** - true marks the prompt as an abstract extraction - no concrete steps are generated. Default false. 831 832## Advanced: model configuration 833 834Override the language/vision/agentic models the AI uses. The value is a compact JSON object (no spaces) with fields like model, adapter, temperature, max_completion_tokens, request_timeout and fallback_* options. 835 836- **llmConfig** - Language-model config for step generation, rephrasing and verification. 837- **vlmConfig** - Vision-model config used when useVLM is on. 838- **agenticConfig** - Model config for the agentic reasoning/verification system. 839 840\`\`\`json Pin the LLM (minified, no spaces) 841llmConfig::{"model":"gpt-4o","temperature":0.0,"request_timeout":30} 842\`\`\` 843 844> [!WARNING] Admin territory 845> These change cost, latency and accuracy and may carry API credentials. Set them at company/team scope and keep the JSON minified - a space ends the value and breaks parsing. 846 847## Reusing profiles with import 848 849A profile can inherit another profileâs settings, then override or add a few. Reference the source profile by name with the special import key. 850 851\`\`\`text Inherit a base profile, override one key 852import::company-baseline 853timeout::1200000 854recordVideo::true 855\`\`\` 856 857Imported settings are resolved first, then the current profileâs own keys win on conflict - the same left-beats-right rule as scopes. 858 859## Creating & managing a profile 860 8611. Open Settings â Setting Profiles and click New Profile. 8622. Give it a clear name (e.g. âStaging - fast CIâ) and pick a scope. 8633. Add settings in the body, one key::value per line. 8644. Save. The profile is available to tests in this workspace; edit it any time, or use Copy ID to reference it programmatically. 865 866> [!WARNING] Deleting is permanent 867> Deleting a profile canât be undone. Tests that relied on it fall back to the next-priority scope, which may change their behaviour - review bindings before deleting a company or team profile. 868`);function V2e(){return(0,U.jsx)(C5,{namespace:`pages.settings.doc`,sections:B2e,ctaHref:`/settings/profiles/new`})}function H2e(){return(0,U.jsx)(V2e,{})}var U2e=w5(`<!-- 869 Tools â Doc page content (Data Sources, HTTP Request, Element Tags). Authored 870 in Markdown; rendered by the shared DocPage / DocMarkdown. Each \`## Heading\` 871 becomes a section (id = slugified heading). Callouts: \`> [!INFO|TIP|WARNING] 872 Title\`. Code labels: the fence info string after the language. 873--> 874 875## The Tools surface 876 877Tools are the reusable building blocks your tests and plans draw on: data that drives parameterised runs, saved API calls, and stable element selectors. They live independently of any single test so they can be shared across the workspace. 878 879- **Data Sources** - Files and HTTP responses that feed data-driven plans - one row per iteration. 880- **HTTP Request** - A saved-request builder for calling and asserting on APIs mid-test or standalone. 881- **Element Tags** - Named selectors captured by the extension/inspector so noisy DOMs stay addressable. 882 883## Data Sources 884 885A data source is a table of rows that a plan iterates over - uploaded as a file (CSV, XLS, XLSX, JSON, XML) or bound to a
885saved HTTP request whose response is parsed into rows. Each run can pick a different row, letting one test cover many inputs. 886 887### File vs HTTP sources 888 889- **File** - Upload up to ~10 MB. The schema (columns + types) is inferred from the header row. 890- **HTTP** - Point at a saved HTTP request and choose how to parse its response. Refresh on every run, on a schedule, or manually. 891 892> [!INFO] Where they are used 893> Bound data sources appear in the plan wizardâs Bindings step, and columns become {{placeholders}} available to the test steps. 894 895## HTTP Request 896 897The HTTP Request builder saves API calls you can send on demand or wire into a test. Set a method and URL, add query params, headers, a body and authentication, then Send to see the live response - status, time, size, headers and body. 898 899### Variables 900 901Anywhere a value is accepted you can reference a variable with double braces. They resolve from the workspace and from data-source columns at run time. 902 903\`\`\`http Request 904GET https://api.example.com/users/{{userId}} 905Authorization: Bearer {{authToken}} 906\`\`\` 907 908### Import from cURL 909 910Paste a cURL command to populate the method, URL, headers and body in one step - handy for copying a call straight from your browserâs network tab. 911 912> [!TIP] Send before you save 913> Hit Send to verify a request resolves and returns what you expect, then Save it so tests and data sources can reference it by name. 914 915## Element Tags 916 917Element tags are named, stable selectors for the elements your tests interact with. Instead of brittle inline XPath, a step can reference a tag and Text2Test resolves the best locator - even when class names or the DOM shift between releases. 918 919> [!WARNING] Captured externally 920> Element tags are created from the browser extension and the mobile inspector, not in this screen. Here you review, search, inspect the captured screenshots, and delete tags you no longer need. 921 922- **Label** - A reusable name for an element you reference from steps. 923- **Wait-until-disappear** - Marks loaders/overlays the runner should wait out before continuing. 924- **Exclude** - Regions to ignore during visual checks. 925`);function W2e(){return(0,U.jsx)(C5,{namespace:`pages.tools.doc`,sections:U2e,ctaHref:`/data-source`})}function G2e(){return(0,U.jsx)(W2e,{})}var K2e=w5(`<!-- 926 Web Test â Doc page content. Authored in Markdown; rendered by the shared 927 DocPage / DocMarkdown. Each \`## Heading\` becomes a section (id = slugified 928 heading). Callouts: \`> [!INFO|TIP|WARNING] Title\`. Code labels: the fence info 929 string after the language. 930--> 931 932## What Web Test is for 933 934Web Test is Text2Test's browser automation surface. You describe what a test should do in plain English; Text2Test drives a real Chromium session to carry it out, capture evidence, and verify the result. 935 936It targets end-to-end UI flows on any application you can load in Chrome - SaaS dashboards, marketing sites, checkout funnels, admin panels. It is not intended to replace unit tests or contract tests; use it where a real browser and a real DOM matter. 937 938- **Natural-language prompts** - describe steps as sentences ("Click the Sign in button", "Type \`[email protected]\` into the Email field"). No selectors, no code. 939- **Author-by-watching** - the Chrome extension runs the test in your active tab so you can see what it sees and correct it live. 940- **Reusable sequences** - sign-in, seed data, or shared teardown steps live once and are referenced by other tests. 941- **Data-driven runs** - bind a test to a CSV, Google Sheet, or HTTP endpoint to execute across many inputs. 942- **Evidence-first results** - every step captures a screenshot, console log, and network trace. Nothing is inferred. 943 944> [!INFO] Scope 945> This document covers the Web Test surface only. Mobile Test and Mobile Connect have separate documents; the Testpit analytics dashboard is documented under Testpit. 946 947## Quickstart 948 949Author and run your first web test in under five minutes. 950 9511. **Install the Chrome extension** - From the sidebar, open Web Test â Get Extension and click Add to Chrome. Approve the two permissions Chrome requests (see the Permissions reference section below). Pin the extension so its icon is always visible in the toolbar. 9522. **Enable it in Incognito** - Open \`chrome://extensions\`, click Details on Text2Test, and turn on Allow in Incognito. Required for isolated, cookie-free runs. 9533. **Create a test** - From Web Test â Overview, click New web test. Give it a name, pick a starting URL, and choose a setting profile (start with \`default\`).
9544. **Write prompts** - In the editor, add prompts one per line. Example: *Type "\`[email protected]\`" into Email*, then *Click Sign in*, then *Verify the page shows "Welcome back"*. 9555. **Run it** - Click the large green Run button. The extension opens a controlled tab and executes the prompts in order. Watch the sidebar as steps light up. 9566. **Read the report** - When the run finishes you land on Test Results. Every step has a screenshot, DOM, console output, and network calls. Click Share to send a link (fixed 7-day expiry). 957 958> [!TIP] Recover from a failed step 959> If a step fails, the sidebar shows a red badge. Click the failed step, edit the prompt inline, and hit Re-run from here - the earlier steps are not replayed. 960 961## Core concepts 962 963A shared vocabulary. These terms recur in every screen and every API response. 964 965- **Test** - The unit of authoring. A test is an ordered list of prompts plus its settings (target URL, viewport, setting profile, data source). 966- **Prompt** - A single natural-language instruction - one step of a test. Prompts can be actions ("Click Sign in") or verifications ("Verify the header reads Dashboard"). 967- **Sequence** - A reusable list of prompts. Any test can call a sequence with \`run sequence "Sign in as admin"\`. Sequences live in the workspace, not the test. 968- **Setting profile** - A named bundle of runtime settings - viewport, user-agent, timeout, MCP servers, base URL. Profiles let one test target dev / staging / prod. 969- **Run** - One execution of a test. Every run has an ID, a status (queued / running / passed / failed), and a full evidence trail. 970- **Plan** - A group of tests run together on a schedule or trigger. Reports at the plan level are covered under Automation. 971- **Element tag** - A stable label you attach to a DOM element from the right-click menu in the extension. Prompts can then reference it by name instead of by description. 972- **Data source** - An external input bound to a test - a CSV, a Google Sheet, or an HTTP endpoint. Rows become variables inside prompts. 973 974### Author, run, and share 975 976Every web test lives in exactly one of four states. Understanding the mode you're in explains what the UI is offering you. 977 978- **Authoring** - You are writing prompts in the editor. The extension is attached and shows a control rail on the target tab. Prompts stream to the tab and you correct them as they run. 979- **Running** - A background run executes without your tab attached. Extension not required; runs happen on the Text2Test cloud. Progress streams to the Test Results screen. 980- **Sharing** - A finished run is packaged into a shareable report. Links expire after 7 days. No account is required to view a shared report. 981- **Reviewing** - Team members open Test Results, filter to the runs they own, and comment inline on any step. Comments are anchored to the step, not the timestamp. 982 983## Writing prompts 984 985From Web Test â Overview, click New web test. The create modal asks for four things: a **test name** (unique per folder), a **starting URL** (absolute or relative to the profile's base URL), a **setting profile** (pick \`default\` for now), and an optional **folder**. 986 987The editor is a single vertical stack of prompt rows. Each row is one instruction. Add rows with Enter or the + Add a prompt button; reorder by dragging the row handle. 988 989\`\`\`text Sign in - happy path 9901 Go to https://admin.dablin.co 9912 Type "[email protected]" into Email 9923 Type "{{secrets.password}}" into Password 9934 Click Sign in 9945 Verify the page contains "Welcome back, QA" 995\`\`\` 996 997Prompts fall into four shapes: 998 999- **Actions** - verbs: Click, Type, Hover, Scroll to, Select, Upload. 1000- **Verifications** - Verify, Confirm, Expect. Fail the test if the condition is not met. 1001- **Waits** - Wait for, Wait until. Time-bounded; the default timeout comes from the setting profile. 1002- **Calls** - Run sequence "name", Run HTTP "name". Insert a shared block. 1003 1004Click Run to try it. The extension activates in a controlled tab. Watch the run rail on the right of the target tab: each prompt highlights as it executes, then turns green (pass) or red (fail). 1005 1006> [!INFO] Live edit 1007> Stop the run at any prompt with Esc. Edit the prompt in the editor, then click Continue from here. The controlled tab keeps its state - cookies, local storage, and the DOM are preserved. 1008 1009Saved tests live in the workspace. To share a specific run, open Test Results, pick the run, and click Share. The dialog is two steps - visibility, then confirmation. Links expire after 7 days; expiry cannot be extended (start a new run instead). 1010 1011## Sequences 1012 1013Sequences are reusable blocks. Text2Test supports three flavours, each optimised for a different job. 1014 1015- **UI sequence** - Runs in the browser. Typical use: sign-in flows, c
1015ookie banner dismissal, tenant-switching, teardown. 1016- **HTTP sequence** - Runs on the server. Typical use: seeding data, calling internal APIs, provisioning fixtures before a UI test. 1017- **Composite** - Runs in both. Chained HTTP + UI, common for "create an order via API, then check it in the dashboard". 1018 1019A UI sequence is authored the same way as a test - a list of prompts. The difference is context: it does not have its own starting URL. The caller's browser context is inherited. 1020 1021\`\`\`text Sequence: "Sign in as admin" 10221 Click "Sign in" if visible 10232 Type "{{env.admin_email}}" into Email 10243 Type "{{secrets.admin_password}}" into Password 10254 Click Continue 10265 Wait for the URL to contain "/dashboard" 1027\`\`\` 1028 1029Any test can call it: 1030 1031\`\`\`text Caller 10321 Go to https://admin.dablin.co 10332 Run sequence "Sign in as admin" 10343 Click Settings 1035\`\`\` 1036 1037An HTTP sequence is one or more HTTP requests grouped under a name. Text2Test runs them server-side, so they do not require the extension or a browser tab - see the HTTP request sequence section below for the full request shape. A composite sequence mixes UI and HTTP prompts; the runtime switches contexts automatically - use it where a single flow crosses layers, e.g. mint a token via API, paste it into a form field, then verify UI behaviour. 1038 1039> [!WARNING] No self-reference 1040> Sequences cannot call themselves. Direct or indirect recursion is rejected at save time. 1041 1042## Variables & data sources 1043 1044Any prompt can interpolate a variable using double-brace syntax: \`{{ scope.name }}\`. Four scopes exist: 1045 1046- **\`env\`** - From the setting profile. Example: \`{{env.base_url}}\`. 1047- **\`secrets\`** - From the workspace secrets vault (encrypted at rest). Example: \`{{secrets.password}}\`. 1048- **\`row\`** - The current data-source row. Example: \`{{row.email}}\`. 1049- **\`step\`** - Captured output of an earlier prompt. Example: \`{{step.5.text}}\`. 1050 1051Bind a test to a data source to iterate it across many rows. Each row becomes one run inside a single logical test result. 1052 1053- **CSV** - Uploaded to the workspace. First row is the header; remaining rows are data. 1054- **Google Sheet** - Read-only, live-linked. Requires OAuth. Sheet name and column headers are auto-detected. 1055- **HTTP endpoint** - A URL returning a JSON array. Text2Test paginates using \`next\` cursor tokens if present. 1056 1057In the test editor, open Advanced settings â Data source. Pick a source, then map columns to variables. The binding is saved with the test; each row generates a child run under one parent report. 1058 1059> [!INFO] Independent row runs 1060> Row runs fail independently. One bad row does not stop the plan; failed rows are flagged in the parent report. 1061 1062Any prompt can capture a value for later steps: 1063 1064\`\`\`text Capture and reuse 10654 Capture the order number from ".order-id" as orderId 10665 Verify the email inbox contains "{{step.4.orderId}}" 1067\`\`\` 1068 1069Captured values are available to every later prompt in the same run, under \`step.<N>.<name>\`. 1070 1071## Running & reading results 1072 1073Tests can run locally (in your browser through the extension) or in the cloud (on managed workers). Both produce the same report. 1074 1075- **Local runs** - Trigger from the editor's Run button while the extension is active. Uses your browser session, your cookies, your extensions. Best for authoring and debugging. Latency is instant, concurrency is one at a time, and it runs on your machine. 1076- **Cloud runs** - Trigger from Overview (Run menu on a row), from a plan schedule, or from the API. Text2Test spins up a clean Chromium worker sized to the setting profile. Latency is 4-12 seconds to first prompt, concurrency scales up to the plan's parallel-run limit, on a managed worker (US-East / EU-West). 1077 1078The extension popover on the run rail exposes three switches that also live in the setting profile, so cloud runs match: 1079 1080- **Terminate on failure** - Stop the run at the first failed prompt. Off by default - remaining prompts run so you can see the full state. 1081- **Incognito** - Open the controlled tab in a fresh incognito window. Guarantees no session bleed from your regular browsing. 1082- **Highlight tagged elements** - Draws a violet outline on every element that has a Text2Test tag. Helpful while writing prompts; off during unattended runs. 1083 1084Every run lands in Test Results. Passed runs show a green pill; failed runs show a red pill and the first failing step. Open any run to see the two-pane detail view (steps left, drill-down right). 1085 1086> [!TIP] Wide screens 1087> On monitors wider than 1400px, Test Results shows a two-column layout with a sticky sidebar. Click any test row to swap the sidebar to that test's overview, console, network, and steps. Use Back to plan run to restore the summary. 1088 1089## The Chrome extension 1090 1091The extension is required for authoring and for local runs. Cloud runs do not need it. 1092 10931. **Open Get Extension** - Sidebar â Web Test â Get Extension. Click Add to Chrome. Chrome will show the permission prompt described below. 10942. **Pin the icon** - Click the puzzle-piece in the Chrome toolbar, then the pin next to Text2Test. Otherwise the icon is hidden and you cannot see run status. 10953. **Allow in Incognito** - Go to \`chrome://extensions\`, click Details on Text2Test, and turn on Allow in Incognito. Required for the Incognito run flag. 10964. **Sign in** - Click the pinned icon. It opens a popup asking you to sign in to your Text2Test workspace. After signing in, the popup shows your workspace name and a green Connected pill. 1097 1098Supported browsers: **Chrome 120+** (fully supported), **Edge 120+** (install from the Chrome Web Store, same extension), **Brave, Arc, Opera** (install from the Chrome Web Store, limited testing, may work). **Firefox and Safari are not supported.** 1099 1100### Permissions reference 1101 1102The extension requests two permissions from Chrome. Both are used in a scoped way. Neither uploads your general browsing history. 1103 1104- **Read and change data on all sites** - The content script injects the run rail and the element-tag right-click menu. It only activates on tabs you explicitly attach a Text2Test run to. It does not read page content in the background.
1105- **Manage your tabs** - Open the controlled tab, focus it, and close it at the end of a run. Also detects when you close a controlled tab mid-run so the run is marked cancelled. 1106 1107The extension does **not** read your bookmarks, downloads, or history; sync with any third-party analytics; track your browsing outside a Text2Test run; or store page content on your device (screenshots and DOM snapshots live in your Text2Test workspace). 1108 1109During a run, the extension streams the following to Text2Test: screenshots of the controlled tab, serialised DOM at each prompt boundary, console messages and network events from the controlled tab only, and the prompt text with its outcome. 1110 1111### Troubleshooting 1112 1113- **The Run button is greyed out** - The extension is not detected. Confirm the icon is pinned and shows a green Connected pill. Reload the Text2Test tab. If the pill is red, sign in from the extension popup. 1114- **Incognito flag has no effect** - Chrome blocks extensions in Incognito by default. Go to \`chrome://extensions\` â Text2Test â Details â Allow in Incognito. 1115- **"Element not found" on a prompt that used to work** - Open the run, click the failed step, and inspect the DOM snapshot. If the target moved, rewrite the prompt to reference a stable landmark, or attach an element tag (see Element tags below). If the page renders slowly, add a Wait for "..." to be visible prompt before the click. 1116- **Cloud run stalled at "Queued"** - The workspace has hit its concurrent-run limit. Open Plan Results to see what's running. Cancel a stuck run or upgrade the concurrency limit in workspace settings. 1117- **"Extension unresponsive" toast** - The controlled tab was navigated away or closed manually. Reopen it from the run rail's Reattach button, or restart the run. 1118- **Right-click tag menu is missing** - Only appears on tabs attached to an active authoring session. Start a run in authoring mode from the editor first. 1119 1120> [!WARNING] Reset 1121> If nothing works: remove the extension, reload Chrome, reinstall from Get Extension, and sign in again. Local settings are preserved on the server. 1122 1123## HTTP request sequences 1124 1125HTTP sequences script API calls alongside UI prompts. They live under Tools â HTTP Request; a web test calls one by name to seed data or check a backend state without leaving the flow. 1126 1127- **Method** - GET, POST, PUT, PATCH, DELETE. HEAD and OPTIONS are supported but rare. 1128- **URL** - Absolute or relative to the setting profile's \`base_url\`. Variables allowed. 1129- **Headers** - Key/value list. \`Authorization\` is populated from workspace secrets if you type \`{{secrets.token}}\`. 1130- **Body** - JSON, form, or raw text. Auto-formatted on save. 1131- **Captures** - JSONPath expressions that pull values from the response body into variables, e.g. \`$.data.token â authToken\`. 1132- **Assertions** - Status code range, response-time budget, and JSONPath equality checks. All must pass for the sequence to pass. 1133 1134\`\`\`text Create order 1135Name: "Create order" 1136Method: POST 1137URL: {{env.base_url}}/api/orders 1138Headers: Authorization: Bearer {{secrets.token}} 1139 Content-Type: application/json 1140Body: { "sku": "{{row.sku}}", "qty": {{row.qty}} } 1141Capture: $.id -> orderId 1142Assert: status in 200..299 1143 response.time < 800ms 1144\`\`\` 1145 1146Call it from a test with \`Run HTTP "Create order"\`. Captured values are addressable as \`{{step.N.orderId}}\` in later prompts. 1147 1148## Visual verification 1149 1150Text2Test's visual verification (T2T Visual Verification) compares a snapshot of the controlled tab against a baseline. It is designed for "did this render", not pixel-perfect regression. 1151 11521. The first time a *Verify visually* prompt runs, its screenshot is stored as the baseline. 11532. Subsequent runs capture a candidate, compute a perceptual diff, and compare it to a threshold set on the prompt. 11543. Anti-aliasing, minor sub-pixel shifts, and dynamic content zones (marked with \`data-t2t-ignore\`) are excluded. 1155 1156Configure a check with a **scope** (full page, viewport, or a single element by description or tag), a **threshold** (0.0 bit-exact to 1.0 allow anything, default 0.05), and **ignore zones** (CSS selectors, or elements tagged with \`data-t2t-ignore\`). 1157 1158When a diff exceeds the threshold the step fails and shows a three-panel view: baseline, candidate, diff overlay. Click Approve new baseline to accept the candidate; subsequent runs compare against it. 1159 1160> [!WARNING] Not a substitute for content checks 1161> Do not use visual verification as a substitute for content assertions. Prefer Verify the header reads "Dashboard" over a full-page screenshot check - text assertions are far more resilient. 1162 1163## Element tags 1164 1165Element tags are stable labels you attach to DOM nodes. Prompts can reference tags directly, so w
1165ording changes and DOM churn don't break tests. 1166 11671. Start an authoring session (see Writing prompts above). 11682. Right-click the element in the controlled tab. Pick Text2Test â Tag element. 11693. Type a name. Tags are unique per test. 11704. A confirmation popover appears with the tag name and the selector Text2Test resolved to. 1171 1172Reference tags with a leading \`@\`: 1173 1174\`\`\`text Using tags 11751 Click @submit 11762 Verify @banner contains "Saved" 11773 Type "acme" into @searchBox 1178\`\`\` 1179 1180Tags live in one of two scopes: **per test** (managed in the editor's Tags pane, local to one test) or **per workspace** (managed under Tools â Element Tags, available to every test in the workspace). 1181 1182When a run encounters \`@submit\`, Text2Test resolves it in order: prefer the tag's stored selector on the current page; if not found, fall back to the tag's stored description (natural-language match); if still not found, fail the prompt with \`Tag "submit" not resolved\`. 1183 1184> [!TIP] Best practice 1185> Tag stable landmarks (nav items, primary CTAs, containers) rather than transient elements. A tag on a toast that only appears mid-flow will churn. 1186`);function q2e(){return(0,U.jsx)(C5,{namespace:`pages.web.doc`,sections:K2e,ctaHref:`/web/overview`})}function J2e(){return(0,U.jsx)(q2e,{})}var Y2e={"--normal-bg":`var(--success-soft)`,"--normal-text":`var(--success-foreground)`,"--normal-border":`var(--success)`},T5={"--normal-bg":`var(--destructive-soft)`,"--normal-text":`var(--destructive-soft-foreground)`,"--normal-border":`var(--destructive)`},E5={icon:null,closeButton:!1},D5={success:(e,t)=>G.success(e,{...E5,...t,style:Y2e}),error:(e,t)=>G.error(e,{...E5,...t,style:T5}),warning:(e,t)=>G.warning(e,{...E5,...t,style:T5})},X2e=`/web/overview`;function O5(e){let t=e.get(`redirect`),n=window.localStorage.getItem(`redirectAfterLogin`);window.localStorage.removeItem(`redirectAfterLogin`);let r=t||n;return r&&Z2e(r)?r:X2e}function Z2e(e){return e.startsWith(`/`)&&!e.startsWith(`//`)&&!e.startsWith(`/auth`)}function k5(){let e=X(`layout.themeToggle`),{theme:t,setTheme:n}=fc(),[r,i]=(0,O.useState)(!1);return(0,O.useEffect)(()=>{i(!0)},[]),(0,U.jsxs)(iT,{children:[(0,U.jsx)(aT,{asChild:!0,children:(0,U.jsxs)(Z,{variant:`ghost`,size:`icon`,"aria-label":e(`label`),children:[(0,U.jsx)(Xb,{className:`size-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90`}),(0,U.jsx)(Tb,{className:`absolute size-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0`})]})}),(0,U.jsx)(oT,{align:`end`,className:`min-w-32`,children:(0,U.jsxs)(cT,{value:r?t??`system`:`system`,onValueChange:n,children:[(0,U.jsxs)(lT,{value:`system`,children:[(0,U.jsx)(wb,{className:`size-3.5`}),` `,e(`system`)]}),(0,U.jsxs)(lT,{value:`light`,children:[(0,U.jsx)(Xb,{className:`size-3.5`}),` `,e(`light`)]}),(0,U.jsxs)(lT,{value:`dark`,children:[(0,U.jsx)(Tb,{className:`size-3.5`}),` `,e(`dark`)]})]})})]})}var Q2e={prompt:{bg:`rgba(99,102,241,0.16)`,fg:`#a5a7f5`,ring:`rgba(99,102,241,0.35)`},script:{bg:`rgba(148,163,184,0.20)`,fg:`#c1cadb`,ring:`rgba(148,163,184,0.35)`},http:{bg:`rgba(64,158,220,0.18)`,fg:`#7ec4ee`,ring:`rgba(64,158,220,0.35)`},visual:{bg:`rgba(217,158,44,0.20)`,fg:`#f0c67a`,ring:`rgba(217,158,44,0.40)`}},$2e={click:{bg:`rgba(99,102,241,0.20)`,fg:`#c2c4fa`},type:{bg:`rgba(99,102,241,0.20)`,fg:`#c2c4fa`},verify:{bg:`rgba(52,168,120,0.20)`,fg:`#9ee0bd`},req:{bg:`rgba(64,158,220,0.22)`,fg:`#9dd2f1`},script:{bg:`rgba(148,163,184,0.24)`,fg:`#d1d9e6`}},A5=[{typeKey:`prompt`,typeLabel:`T2T Native`,prompt:[`Wait until the Sign in page appears.`,`Enter Dublin into Email.`,`Enter Dublin.123 as Password.`,`Click on the Sign in button.`,`Wait until the Analytics page appears.`,`Verify that there is an Analytics heading on the screen.`],compiled:[{kind:`verify`,lex:`wait until`,target:`Sign in page`},{kind:`type`,lex:`into`,target:`Email`,arrow:`Deniz`},{kind:`type`,lex:`into`,target:`Password`,arrow:`Deniz.123`},{kind:`click`,lex:`on`,target:`Sign in`},{kind:`verify`,lex:`wait until`,target:`Analytics page`},{kind:`verify`,target:`Analytics heading on the screen`}]},{typeKey:`script`,typeLabel:`T2T Scripting Agent`,prompt:[`document.querySelector('#date').value = new Date().toISOString().slice(0,10);`,`window.scrollTo(0, document.body.scrollHeight);`,`document.querySelector('[data-cta="price"]').click();`],compiled:[{kind:`script`,lex:`run`,target:`set date to today`},{kind:`script`,lex:`run`,target:`scroll to bottom`},{kind:`script`,lex:`dispatch click`,arrow:`Get Price`}]},{typeKey:`http`,typeLabel:`HTTP request`,prompt:[`POST /api/v1/quote`,`Expect 200 · assert body.priceCents > 0`],compiled:[{kind:`req`,lex:`POST`,target:`/api/v1/quote`},{kind:`verify`,lex:`status`,target:`200`}]},{typeKey:`visual`,typeLabel:`T2T Visual Verification`,prompt:[`Screenshot diff on "Quote summary" card, tolerance 0.2%`],compiled:[{kind:`verify`,lex:`element`,target:`Quote summary`},{kind:`verify`,lex:`diff baseline`,target:`⤠0.2%`}]}],e4e=550,j5=A5.reduce((e,t)=>
1186e+1+t.prompt.length+t.compiled.length,0)+4,t4e=(()=>{let e=0;return A5.map(t=>{let n=e;return e+=1+t.prompt.length+t.compiled.length,{seq:t,start:n}})})(),M5=`ui-monospace, SFMono-Regular, Menlo, Consolas, monospace`;function n4e(){let[e,t]=(0,O.useState)(!1);return(0,O.useEffect)(()=>{let e=window.matchMedia(`(prefers-reduced-motion: reduce)`);t(e.matches);let n=()=>t(e.matches);return e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[]),e}var r4e=` 1187@keyframes au-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } 1188@keyframes au-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } 1189`;function i4e(){let[e,t]=(0,O.useState)(0),n=n4e();(0,O.useEffect)(()=>{if(n)return;let e=window.setInterval(()=>t(e=>e+1),e4e);return()=>window.clearInterval(e)},[n]);let r=n?j5:e%j5,i=n?0:Math.floor(e/j5);return(0,U.jsxs)(`div`,{style:{width:`100%`,maxWidth:600,color:`#fff`},children:[(0,U.jsx)(`style`,{children:r4e}),(0,U.jsxs)(`h2`,{style:{margin:0,fontSize:`2rem`,lineHeight:1.16,fontWeight:800,letterSpacing:`-0.02em`},children:[(0,U.jsx)(`span`,{style:{color:`#fff`},children:`One test case.`}),(0,U.jsx)(`br`,{}),(0,U.jsx)(`span`,{style:{color:`#818cf8`},children:`Five sequence types.`}),(0,U.jsx)(`br`,{}),(0,U.jsx)(`span`,{style:{color:`#fff`},children:`Fully composable.`})]}),(0,U.jsx)(`p`,{style:{margin:`1rem 0 1.75rem`,maxWidth:470,fontSize:`0.92rem`,lineHeight:1.6,color:`rgba(255,255,255,0.6)`},children:`Mix natural language, HTTP calls, visual checks, scripting agents and an LLM autopilot in the same test. Describe what you want, paste what you have, and let Text2Test handle the rest.`}),(0,U.jsxs)(`div`,{role:`img`,"aria-label":`Animated preview showing a Text2Test test being authored with five sequence types.`,style:{borderRadius:12,border:`0.5px solid rgba(255,255,255,0.10)`,background:`rgba(255,255,255,0.04)`,boxShadow:`0 12px 40px rgba(0,0,0,0.35)`,overflow:`hidden`},children:[(0,U.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,gap:10,padding:`12px 14px`,borderBottom:`0.5px solid rgba(255,255,255,0.08)`},children:[(0,U.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,minWidth:0},children:[(0,U.jsx)(`span`,{style:{fontSize:12.5,fontWeight:600,whiteSpace:`nowrap`},children:`Travel Insurance â Get Price`}),(0,U.jsx)(N5,{label:`PRIORITY`,value:`Major`,dot:`#e79c19`}),(0,U.jsx)(N5,{label:`TYPE`,value:`Happy path`,dot:`#34a878`})]}),(0,U.jsxs)(`button`,{type:`button`,tabIndex:-1,style:{display:`inline-flex`,alignItems:`center`,gap:5,background:`#6366f1`,color:`#fff`,fontSize:11,fontWeight:600,border:`none`,borderRadius:8,padding:`5px 10px`,cursor:`default`,flexShrink:0},children:[(0,U.jsx)(`svg`,{width:`9`,height:`10`,viewBox:`0 0 10 10`,fill:`currentColor`,"aria-hidden":`true`,children:(0,U.jsx)(`path`,{d:`M2.5 1.5v7l6-3.5-6-3.5z`})}),`Run test`]})]}),(0,U.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:7,padding:`12px 16px 6px`},children:[(0,U.jsx)(`span`,{style:{fontSize:11,fontWeight:600,color:`rgba(255,255,255,0.62)`},children:`Steps`}),(0,U.jsx)(`span`,{style:{fontSize:10,fontWeight:600,color:`#c2c4fa`,background:`rgba(99,102,241,0.20)`,borderRadius:999,padding:`1px 7px`},children:A5.length})]}),(0,U.jsx)(`div`,{style:{padding:`0 12px 4px`,height:`clamp(200px, calc(100vh - 380px), 520px)`,overflow:`hidden`,WebkitMaskImage:`linear-gradient(to bottom, #000 92%, transparent 100%)`,maskImage:`linear-gradient(to bottom, #000 92%, transparent 100%)`},children:t4e.map(({seq:e,start:t},i)=>{if(r<t)return null;let a=r-t,o=Math.min(a,e.prompt.length),s=Math.max(0,Math.min(a-e.prompt.length,e.compiled.length)),c=!n&&o>0&&o<e.prompt.length;return(0,U.jsx)(a4e,{seq:e,index:i,promptShown:o,compiledShown:s,typing:c,animate:!n},i)})},i)]})]})}function N5({label:e,value:t,dot:n}){return(0,U.jsxs)(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:4,fontSize:9.5,fontWeight:500,color:`rgba(255,255,255,0.7)`,background:`rgba(255,255,255,0.06)`,borderRadius:999,padding:`2px 7px`,whiteSpace:`nowrap`},children:[(0,U.jsx)(`span`,{style:{width:5,height:5,borderRadius:`50%`,background:n}}),e,` `,(0,U.jsx)(`span`,{style:{color:`#fff`,fontWeight:700},children:t})]})}function a4e({seq:e,index:t,promptShown:n,compiledShown:r,typing:i,animate:a}){let o=Q2e[e.typeKey];return(0,U.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`22px 1fr`,gap:10,padding:`8px 0`,animation:a?`au-enter 400ms ease both`:void 0},children:[(0,U.jsx)(`div`,{style:{width:22,height:22,borderRadius:`50%`,background:`rgba(99,102,241,0.18)`,color:`#c2c4fa`,fontSize:10.5,fontWeight:600,fontFamily:M5,fontVariantNumeric:`tabular-nums`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:t+1}),(0,U.jsxs)(`div`,{style:{minWidth:0},children:[(0,U.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,marginBottom:6},children:[(0,U.jsx)(`span`,{style:{fontSize:10.5,fontWeight:600,color:o.fg,background:o.bg,borderRadius:6,padding:`3px 8px`,boxShadow:`inset 0 0 0 0.5px ${o.ring}`},children:e.typeLabel}),(0,U.jsx)(P5,{glyph:`+`}),(0,U.jsx)(P5,{glyph:`â`})]}),(0,U.jsx)(`div`,{style:{background:`rgba(0,0,0,0.28)`,border:`0.5px solid rgba(255,255,255,0.10)`,borderRadius:7,padding:`8px 10px`,fontFamily:M5,fontSize:11,lineHeight:1.55,color:`rgba(255,255,255,0.82)`,whiteSpace:`pre-wrap`,wordBreak:`break-word`},children:e.prompt.slice(0,n).map((e,t)=>(0,U.jsxs)(`div`,{children:[e,i&&t===n-1&&(0,U.jsx)(`span`,{style:{display:`inline-block`,width:1,height:11,marginLeft:2,verticalAlign:`middle`,background:`rgba(255,255,255,0.6)`,animation:`au-blink 0.9s steps(2) infinite`}})]},t))}),r>0&&(0,U.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2,marginTop:6},children:e.compiled.slice(0,r).map((e,t)=>{let n=$2e[e.kind];return(0,U.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,animation:a?`au-enter 300ms ease both`:void 0},children:[(0,U.jsx)(`span`,{style:{width:9,height:9,borderRadius:`50%`,border:`1.5px solid rgba(255,255,255,0.28)`,flexShrink:0}}),(0,U.jsx)(`span`,{style:{fontSize:10,fontWeight:600,color:n.fg,background:n.bg,borderRadius:5,padding:`2px 7px`},children:e.kind}),e.lex&&(0,U.jsx)(`span`,{style:{fontSize:10.5,color:`rgba(255,255,255,0.5)`},children:e.lex}),e.target&&(0,U.jsx)(`span`,{style:{fontSize:10.5,borderRadius:4,padding:`2px 7px`,background:`rgba(255,255,255,0.06)`,color:`rgba(255,255,255,0.88)`},children:e.target}),e.arrow&&(0,U.jsxs)(`span`,{style:{fontSize:10.5,color:`rgba(255,255,255,0.45)`},children:[`â `,e.arrow]})]},t)})})]})]})}function P5({glyph:e}){return(0,U.jsx)(`span`,{style:{width:18,height:18,borderRadius:5,background:`rgba(255,255,255,0.06)`,color:`rgba(255,255,255,0.55)`,fontSize:12,lineHeight:1,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0},children:e})}var o4e=()=>
1189(0,U.jsxs)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,U.jsx)(`path`,{d:`M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z`,fill:`#4285F4`}),(0,U.jsx)(`path`,{d:`M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z`,fill:`#34A853`}),(0,U.jsx)(`path`,{d:`M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z`,fill:`#FBBC05`}),(0,U.jsx)(`path`,{d:`M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z`,fill:`#EA4335`})]}),s4e=()=>(0,U.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 21 21`,"aria-hidden":`true`,children:[(0,U.jsx)(`rect`,{x:`1`,y:`1`,width:`9`,height:`9`,fill:`#f25022`}),(0,U.jsx)(`rect`,{x:`1`,y:`11`,width:`9`,height:`9`,fill:`#00a4ef`}),(0,U.jsx)(`rect`,{x:`11`,y:`1`,width:`9`,height:`9`,fill:`#7fba00`}),(0,U.jsx)(`rect`,{x:`11`,y:`11`,width:`9`,height:`9`,fill:`#ffb900`})]}),c4e=()=>(0,U.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,children:(0,U.jsx)(`path`,{d:`M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z`})}),F5={background:`var(--surface-alt)`,border:`1px solid var(--border)`,borderRadius:`8px`,padding:`0.75rem 1rem`,width:`100%`,fontSize:`0.95rem`,color:`var(--fg-strong)`};function l4e(){let[e,t]=(0,O.useState)(``),[n,r]=(0,O.useState)(``),[i,a]=(0,O.useState)(!1),[o,s]=(0,O.useState)(!1),c=rS(),l=oS(),u=X(`pages.auth.login`),d=X(`pages.auth.common`);(0,O.useEffect)(()=>{l.get(`registered`)===`1`&&(D5.success(u(`registeredToast.title`),{description:u(`registeredToast.description`)}),c.replace(`/auth/login`))},[]);let f=async()=>{s(!0);try{await Sue({username:e.trim().toLowerCase(),password:n}),window.location.assign(O5(l))}catch(e){let t=e;if(t.response?.status===403){Ow();return}let n=t.response?.data,r=typeof n==`string`?n:``,i;t.response?i=t.response.status===401||r.includes(`Something failed during login`)?u(`errors.incorrectCredentials`):r||u(`errors.unexpected`):t.request?i=u(`errors.network`):(i=u(`errors.unexpected`),console.error(`Unexpected error:`,t.message)),D5.error(u(`errors.loginFailed`),{description:i})}finally{s(!1)}},p=async e=>{try{let t=await xw(e);t.workspaceSetupRequired?(T(t.email),window.location.assign(`/auth/register?step=3`)):window.location.assign(O5(l))}catch(e){let t=e;D5.error(u(`errors.socialFailed`),{description:t.message??u(`errors.socialFailedDescription`)})}};return(0,U.jsxs)(`div`,{className:`flex`,style:{height:`100dvh`,overflow:`hidden`},onKeyDown:e=>{e.key===`Enter`&&f()},children:[(0,U.jsxs)(`div`,{className:`relative flex w-full flex-col lg:w-1/2`,style:{background:`var(--background)`},children:[(0,U.jsx)(`div`,{style:{position:`absolute`,top:`1rem`,right:`1rem`,zIndex:20},children:(0,U.jsx)(k5,{})}),(0,U.jsx)(`div`,{style:{padding:`1.25rem 1.75rem`},children:(0,U.jsxs)(`div`,{children:[(0,U.jsxs)(`div`,{className:`font-bold`,style:{fontSize:`1rem`,letterSpacing:`-0.01em`,lineHeight:`1.3`},children:[(0,U.jsx)(`span`,{style:{color:`var(--fg-strong)`},children:`Text`}),(0,U.jsx)(`span`,{style:{color:`var(--primary)`},children:`2`}),(0,U.jsx)(`span`,{style:{color:`var(--fg-strong)`},children:`Test`})]}),(0,U.jsx)(`div`,{style:{fontSize:`0.72rem`,lineHeight:`1.3`,color:`var(--fg-muted)`},children:d(`tagline`)})]})}),(0,U.jsx)(`div`,{className:`flex-1`,style:{minHeight:0,overflowY:`auto`,display:`flex`,flexDirection:`column`,padding:`1rem 1.5rem 3rem`},children:(0,U.jsxs)(`div`,{style:{width:`100%`,maxWidth:`430px`,margin:`auto`}
1189,children:[(0,U.jsx)(`h1`,{className:`font-bold`,style:{fontSize:`2.25rem`,lineHeight:`1.2`,margin:`0 0 0.6rem 0`,color:`var(--fg-strong)`},children:u(`heading`)}),(0,U.jsx)(`p`,{style:{fontSize:`0.9rem`,lineHeight:`1.5`,margin:`0 0 2rem 0`,color:`var(--fg-muted)`},children:u(`subheading`)}),(0,U.jsxs)(`div`,{className:`mb-4 flex flex-col gap-3`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>p(`google`),style:{display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,width:`100%`,padding:`0.72rem 1.25rem`,borderRadius:`8px`,border:`1px solid var(--border-strong)`,background:`var(--surface)`,color:`var(--fg-strong)`,fontSize:`0.95rem`,fontWeight:500,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`var(--surface)`,children:[(0,U.jsx)(`span`,{style:{position:`absolute`,left:`1.1rem`,display:`flex`,alignItems:`center`},children:(0,U.jsx)(o4e,{})}),u(`social.google`)]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>p(`microsoft`),style:{display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,width:`100%`,padding:`0.72rem 1.25rem`,borderRadius:`8px`,border:`1px solid var(--border-strong)`,background:`var(--surface)`,color:`var(--fg-strong)`,fontSize:`0.95rem`,fontWeight:500,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`var(--surface)`,children:[(0,U.jsx)(`span`,{style:{position:`absolute`,left:`1.1rem`,display:`flex`,alignItems:`center`},children:(0,U.jsx)(s4e,{})}),u(`social.microsoft`)]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>p(`github`),style:{display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,width:`100%`,padding:`0.72rem 1.25rem`,borderRadius:`8px`,border:`1px solid var(--border-strong)`,background:`var(--surface)`,color:`var(--fg-strong)`,fontSize:`0.95rem`,fontWeight:500,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`var(--surface)`,children:[(0,U.jsx)(`span`,{style:{position:`absolute`,left:`1.1rem`,display:`flex`,alignItems:`center`},children:(0,U.jsx)(c4e,{})}),u(`social.github`)]})]}),(0,U.jsxs)(`div`,{className:`my-4 flex items-center gap-3`,children:[(0,U.jsx)(`div`,{style:{flex:1,height:1,background:`var(--border)`}}),(0,U.jsx)(`span`,{className:`font-medium`,style:{fontSize:`0.72rem`,textTransform:`uppercase`,letterSpacing:`0.1em`,color:`var(--fg-muted)`},children:u(`or`)}),(0,U.jsx)(`div`,{style:{flex:1,height:1,background:`var(--border)`}})]}),(0,U.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),f()},noValidate:!0,children:[(0,U.jsxs)(`div`,{className:`mb-3`,children:[(0,U.jsx)(`label`,{htmlFor:`login-email`,className:`mb-2 block font-medium`,style:{fontSize:`0.88rem`,color:`var(--fg-strong)`},children:u(`emailLabel`)}),(0,U.jsx)(`input`,{id:`login-email`,type:`text`,value:e,onChange:e=>t(e.target.value),placeholder:u(`emailPlaceholder`),autoComplete:`username`,style:F5})]}),(0,U.jsxs)(`div`,{className:`mb-4`,children:[(0,U.jsxs)(`div`,{className:`mb-2 flex items-center justify-between`,children:[(0,U.jsx)(`label`,{htmlFor:`login-password`,className:`font-medium`,style:{fontSize:`0.88rem`,color:`var(--fg-strong)`},children:u(`passwordLabel`)}),(0,U.jsx)(Qw,{href:`/auth/login/reset`,className:`font-medium`,style:{fontSize:`0.85rem`,color:`var(--primary)`,textDecoration:`none`},children:u(`forgotPassword`)})]}),(0,U.jsxs)(`div`,{style:{position:`relative`,width:`100%`},children:[(0,U.jsx)(`input`,{id:`login-password`,type:i?`text`:`password`,value:n,onChange:e=>r(e.target.value),placeholder:u(`passwordPlaceholder`),autoComplete:`current-password`,style:F5}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>a(e=>!e),style:{position:`absolute`,right:`0.75rem`,top:`50%`,transform:`translateY(-50%)`,background:`none`,border:`none`,cursor:`pointer`,color:`var(--fg-hint)`,display:`flex`,alignItems:`center`,padding:0},"aria-label":u(i?`hidePassword`:`showPassword`),children:i?(0,U.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,U.jsx)(`path`,{d:`M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94`}),(0,U.jsx)(`path`,{d:`M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19`}),(0,U.jsx)(`line`,{x1:`1`,y1:`1`,x2:`23`,y2:`23`})]}):(0,U.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,U.jsx)(`path`,{d:`M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z`}),(0,U.jsx)(`circle`,{cx:`12`,cy:`12`,r:`3`})]})})]})]}),(0,U.jsxs)(`button`,{type:`submit`,disabled:o,className:`w-full font-bold`,style:{background:`var(--primary)`,border:`1px solid var(--primary)`,color:`var(--primary-foreground)`,borderRadius:`8px`,padding:`0.8rem`,fontSize:`1rem`,cursor:o?`default`:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:`0.5rem`,opacity:o?.85:1},children:[o&&(0,U.jsx)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,className:`animate-spin`,children:(0,U.jsx)(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`})}),u(`signIn`)]})]}),(0,U.jsxs)(`p`,{className:`mt-4 text-center`,style:{fontSize:`0.9rem`},children:[(0,U.jsxs)(`span`,{style:{color:`var(--fg-muted)`},children:[u(`newHere`),` `]}),(0,U.jsx)(Qw,{href:`/auth/register`,className:`font-semibold`,style:{color:`var(--primary)`,textDecoration:`none`},children:u(`createAccount`)})]})]})}),(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,style:{borderTop:`1px solid var(--border)`,padding:`0.9rem 1.75rem`},children:[(0,U.jsx)(`span`,{style:{fontSize:`0.8rem`,color:`var(--fg-muted)`},children:d(`footer.copyright`)}),(0,U.jsx)(`div`,{className:`flex gap-4`,children:[{label:d(`footer.privacy`),href:`https://text2test.ai/privacy-policy`},{label:d(`footer.terms`),href:`https://text2test.ai/terms-of-use`},{label:d(`footer.help`),href:`https://text2test.ai/contact`}].map(({label:e,href:t})=>(0,U.jsx)(Qw,{href:t,style:{fontSize:`0.8rem`,textDecoration:`none`,color:`var(--fg-muted)`},target:`_blank`,rel:`noopener noreferrer`,children:e},e))})]})]}),(0,U.jsx)(`div`,{className:`hidden lg:flex lg:w-1/2`,style:{flexDirection:`column`,alignItems:`center`,justifyContent:`safe center`,overflow:`hidden`,background:`radial-gradient(900px 500px at 70% 15%, rgba(99,102,241,0.16), transparent 60%), #0a0c14`,padding:`2.5rem`},children:(0,U.jsx)(i4e,{})})]})}function I5(){return(0,U.jsx)(`div`,{style:{position:`fixed`,top:`1rem`,right:`1rem`,zIndex:50},children:(0,U.jsx)(k5,{})})}var u4e={background:`var(--surface-alt)`,border:`1px solid var(--border)`,borderRadius:`8px`,padding:`0.75rem 1rem`,width:`100%`,fontSize:`0.95rem`,color:`var(--fg-strong)`},d4e=()=>(0,U.jsxs)(`svg`,{width:`28`,height:`28`,viewBox:`0 0 24 24`,fill:`none`,stroke:`var(--primary)`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,U.jsx)(`rect`,{x:`3`,y:`11`,width:`18`,height:`11`,rx:`2`,ry:`2`}),(0,U.jsx)(`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`})]}),f4e=()=>(0,U.jsxs)(`svg`,{width:`28`,height:`28`,viewBox:`0 0 24 24`,fill:`none`,stroke:`var(--primary)`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,U.jsx)(`path`,{d:`M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z`}),(0,U.jsx)(`polyline`,{points:`22,6 12,13 2,6`})]}),p4e=()=>(0,U.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,U.jsx)(`path`,{d:`M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z`}),(0,U.jsx)(`polyline`,{points:`22,6 12,13 2,6`})]}),m4e=()=>{let e=X(`pages.auth.common`);return(0,U.jsxs)(`div`,{style:{padding:`1.25rem 1.75rem`},children:[(0,U.jsxs)(`div`,{className:`font-bold`,style:{fontSize:`1rem`,letterSpacing:`-0.01em`,lineHeight:`1.3`},children:[(0,U.jsx)(`span`,{style:{color:`var(--fg-strong)`},children:`Text`}),(0,U.jsx)(`span`,{style:{color:`var(--primary)`},children:`2`}),(0,U.jsx)(`span`,{style:{color:`var(--fg-strong)`},children:`Test`})]}),(0,U.jsx)(`div`,{style:{fontSize:`0.72rem`,lineHeight:`1.3`,color:`var(--fg-muted)`},children:e(`tagline`)})]})},h4e=()=>{let e=X(`pages.auth.common`);return(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,style:{borderTop:`1px solid var(--border)`,padding:`0.9rem 1.75rem`},children:[(0,U.jsx)(`span`,{style:{fontSize:`0.8rem`,color:`var(--fg-muted)`},children:e(`footer.copyright`)}),(0,U.jsx)(`div`,{className:`flex gap-4`,children:[{label:e(`footer.privacy`),href:`https://text2test.ai/privacy-policy`},{label:e(`footer.terms`),href:`https://text2test.ai/terms-of-use`},{label:e(`footer.help`),href:`https://text2test.ai/contact`}].map(({label:e,href:t})=>(0,U.jsx)(Qw,{href:t,style:{fontSize:`0.8rem`,textDecoration:`none`,color:`var(--fg-muted)`},target:`_blank`,rel:`noopener noreferrer`,children:e},e))})]})},L5=30,g4e=5;function _4e(){let e=rS(),t=X(`pages.auth.reset`),[n,r]=(0,O.useState)(``),[i,a]=(0,O.useState)(!1),[o,s]=(0,O.useState)(!1),[c,l]=(0,O.useState)(!1),[u,d]=(0,O.useState)(0),[f,p]=(0,O.useState)(0),m=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e);(0,O.useEffect)(()=>
1189{if(u<=0)return;let e=window.setInterval(()=>d(e=>e<=1?0:e-1),1e3);return()=>window.clearInterval(e)},[u]);let h=e=>{let n=e;if(n.response){if(n.response.status===429){let e=parseInt(n.response.headers?.[`retry-after`]??``,10);return{title:t(`errors.tooManyTitle`),description:typeof n.response.data==`string`&&n.response.data?n.response.data:t(`errors.tooMany`),retryAfter:Number.isFinite(e)?e:void 0}}return{title:t(`errors.failed`),description:typeof n.response.data==`string`?n.response.data:void 0}}return n.request?{title:t(`errors.failed`),description:t(`errors.network`)}:{title:t(`errors.failed`),description:t(`errors.unexpected`)}},g=e=>{let{title:t,description:n,retryAfter:r}=h(e);r&&r>0&&d(r),D5.error(t,n?{description:n}:void 0)},_=async()=>{if(!n||!m(n)){D5.warning(t(`errors.invalidEmailTitle`),{description:t(`errors.invalidEmail`)});return}a(!0);try{await Cw({email:n}),s(!0),p(1),d(L5)}catch(e){g(e)}finally{a(!1)}},v=f>=g4e,y=c||u>0||v,b=v?t(`sent.maxReached`):u>0?t(`sent.resendIn`,{seconds:u}):t(`sent.resend`);return(0,U.jsxs)(`div`,{className:`flex flex-col`,style:{height:`100dvh`,overflow:`hidden`,background:`var(--background)`},onKeyDown:o?void 0:e=>{e.key===`Enter`&&_()},children:[(0,U.jsx)(I5,{}),(0,U.jsx)(m4e,{}),(0,U.jsx)(`div`,{className:`flex-1`,style:{minHeight:0,overflowY:`auto`,display:`flex`,flexDirection:`column`,padding:`1rem 1.5rem 2rem`},children:(0,U.jsx)(`div`,{style:{width:`100%`,maxWidth:`440px`,margin:`auto`},children:o?(0,U.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,U.jsx)(`div`,{style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:64,height:64,borderRadius:`16px`,background:`var(--accent)`,marginBottom:`1.5rem`},children:(0,U.jsx)(f4e,{})}),(0,U.jsx)(`h1`,{className:`font-bold`,style:{fontSize:`2rem`,lineHeight:`1.2`,margin:`0 0 0.75rem 0`,color:`var(--fg-strong)`},children:t(`sent.heading`)}),(0,U.jsx)(`p`,{style:{fontSize:`0.9rem`,margin:`0 0 1.25rem 0`,color:`var(--fg-muted)`},children:t(`sent.sentTo`)}),(0,U.jsxs)(`div`,{className:`inline-flex items-center gap-2`,style:{background:`var(--surface-alt)`,border:`1px solid var(--border)`,borderRadius:`999px`,padding:`0.4rem 1rem`,marginBottom:`1.5rem`},children:[(0,U.jsx)(p4e,{}),(0,U.jsx)(`span`,{style:{fontSize:`0.9rem`,fontWeight:600,color:`var(--fg-strong)`},children:n})]}),(0,U.jsx)(`p`,{style:{fontSize:`0.875rem`,lineHeight:`1.6`,margin:`0 0 2rem 0`,color:`var(--fg-muted)`},children:t(`sent.instructions`)}),(0,U.jsxs)(`div`,{className:`flex items-center justify-center gap-2`,style:{fontSize:`0.85rem`},children:[(0,U.jsx)(`span`,{style:{color:`var(--fg-muted)`},children:t(`sent.didntGet`)}),(0,U.jsx)(`button`,{type:`button`,onClick:async()=>{if(!y){l(!0);try{await Cw({email:n}),D5.success(t(`sent.resentTitle`),{description:t(`sent.resentDescription`)}),p(e=>e+1),d(L5)}catch(e){g(e)}finally{l(!1)}}},disabled:y,style:{background:`none`,border:`none`,cursor:y?`default`:`pointer`,color:y?`var(--fg-hint)`:`var(--primary)`,fontWeight:600,fontSize:`0.85rem`,padding:0},children:b}),(0,U.jsx)(`span`,{style:{color:`var(--border-strong)`},children:`·`}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>e.push(`/auth/login`),style:{background:`none`,border:`none`,cursor:`pointer`,color:`var(--primary)`,fontWeight:600,fontSize:`0.85rem`,padding:0},children:t(`sent.backToSignIn`)})]})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:64,height:64,borderRadius:`16px`,background:`var(--accent)`,marginBottom:`1.5rem`},children:(0,U.jsx)(d4e,{})}),(0,U.jsx)(`h1`,{className:`font-bold`,style:{fontSize:`2rem`,lineHeight:`1.2`,margin:`0 0 0.6rem 0`,color:`var(--fg-strong)`},children:t(`form.heading`)}),(0,U.jsx)(`p`,{style:{fontSize:`0.9rem`,lineHeight:`1.5`,margin:`0 0 2rem 0`,color:`var(--fg-muted)`},children:t(`form.subheading`)}),(0,U.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),_()},noValidate:!0,children:[(0,U.jsxs)(`div`,{className:`mb-5`,children:[(0,U.jsx)(`label`,{htmlFor:`reset-email`,className:`mb-2 block font-medium`,style:{fontSize:`0.88rem`,color:`var(--fg-strong)`},children:t(`form.emailLabel`)}),(0,U.jsx)(`input`,{id:`reset-email`,type:`email`,value:n,onChange:e=>r(e.target.value),placeholder:t(`form.emailPlaceholder`),autoComplete:`email`,style:u4e})]}),(0,U.jsxs)(`button`,{type:`submit`,disabled:i,className:`w-full font-bold`,style:{background:`var(--primary)`,border:`1px solid var(--primary)`,color:`var(--primary-foreground)`,borderRadius:`8px`,padding:`0.8rem`,fontSize:`1rem`,cursor:i?`default`:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:`0.5rem`,opacity:i?.85:1},children:[i&&(0,U.jsx)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,className:`animate-spin`,children:(0,U.jsx)(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`})}),t(`form.submit`)]})]}),(0,U.jsx)(`p`,{className:`mt-4 text-center`,style:{fontSize:`0.9rem`},children:(0,U.jsx)(Qw,{href:`/auth/login`,className:`font-medium`,style:{color:`var(--primary)`,textDecoration:`none`},children:t(`form.backToLogin`)})})]})})}),(0,U.jsx)(h4e,{})]})}var v4e=()=>
1189(0,U.jsxs)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,U.jsx)(`path`,{d:`M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z`,fill:`#4285F4`}),(0,U.jsx)(`path`,{d:`M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z`,fill:`#34A853`}),(0,U.jsx)(`path`,{d:`M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z`,fill:`#FBBC05`}),(0,U.jsx)(`path`,{d:`M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z`,fill:`#EA4335`})]}),y4e=()=>(0,U.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 21 21`,"aria-hidden":`true`,children:[(0,U.jsx)(`rect`,{x:`1`,y:`1`,width:`9`,height:`9`,fill:`#f25022`}),(0,U.jsx)(`rect`,{x:`1`,y:`11`,width:`9`,height:`9`,fill:`#00a4ef`}),(0,U.jsx)(`rect`,{x:`11`,y:`1`,width:`9`,height:`9`,fill:`#7fba00`}),(0,U.jsx)(`rect`,{x:`11`,y:`11`,width:`9`,height:`9`,fill:`#ffb900`})]}),b4e=()=>(0,U.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,children:(0,U.jsx)(`path`,{d:`M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z`})}),R5=()=>(0,U.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,U.jsx)(`path`,{d:`M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z`}),(0,U.jsx)(`circle`,{cx:`12`,cy:`12`,r:`3`})]}),z5=()=>(0,U.jsxs)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,U.jsx)(`path`,{d:`M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94`}),(0,U.jsx)(`path`,{d:`M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19`}),(0,U.jsx)(`line`,{x1:`1`,y1:`1`,x2:`23`,y2:`23`})]}),x4e=()=>(0,U.jsx)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 24 24`,fill:`none`,stroke:`white`,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,U.jsx)(`polyline`,{points:`20 6 9 17 4 12`})}),S4e=()=>(0,U.jsxs)(`svg`,{width:`28`,height:`28`,viewBox:`0 0 24 24`,fill:`none`,stroke:`var(--primary)`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,U.jsx)(`path`,{d:`M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z`}),(0,U.jsx)(`polyline`,{points:`22,6 12,13 2,6`})]}),C4e=()=>(0,U.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,U.jsx)(`path`,{d:`M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z`}),(0,U.jsx)(`polyline`,{points:`22,6 12,13 2,6`})]}),B5={background:`var(--surface-alt)`,border:`1px solid var(--border)`,borderRadius:`8px`,padding:`0.75rem 1rem`,width:`100%`,fontSize:`0.95rem`,color:`var(--fg-strong)`},V5={background:`var(--primary)`,border:`1px solid var(--primary)`,color:`var(--primary-foreground)`,borderRadius:`8px`,padding:`0.8rem`,fontSize:`1rem`,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:`0.5rem`,width:`100%`,fontWeight:700},H5=()=>(0,U.jsx)(`svg`,{width:`18`,height:`18`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,className:`animate-spin`,children:(0,U.jsx)(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`})}),w4e=()=>{let e=X(`pages.auth.common`);return(0,U.jsxs)(`div`,{style:{padding:`1.25rem 1.75rem`},children:[(0,U.jsxs)(`div`,{className:`font-bold`,style:{fontSize:`1rem`,letterSpacing:`-0.01em`,lineHeight:`1.3`},children:[(0,U.jsx)(`span`,{style:{color:`var(--fg-strong)`},children:`Text`}),(0,U.jsx)(`span`,{style:{color:`var(--primary)`},children:`2`}),(0,U.jsx)(`span`,{style:{color:`var(--fg-strong)`},children:`Test`})]}),(0,U.jsx)(`div`,{style:{fontSize:`0.72rem`,lineHeight:`1.3`,color:`var(--fg-muted)`},children:e(`tagline`)})]})},T4e=()=>{let e=X(`pages.auth.common`);return(0,U.jsxs)(`div`,{className:`flex items-center justify-between`,style:{borderTop:`1px solid var(--border)`,padding:`0.9rem 1.75rem`},children:[(0,U.jsx)(`span`,{style:{fontSize:`0.8rem`,color:`var(--fg-muted)`},children:e(`footer.copyright`)}),(0,U.jsx)(`div`,{className:`flex gap-4`,children:[{label:e(`footer.privacy`),href:`https://text2test.ai/privacy-policy`},{label:e(`footer.terms`),href:`https://text2test.ai/terms-of-use`},{label:e(`footer.help`),href:`https://text2test.ai/contact`}].map(({label:e,href:t})=>(0,U.jsx)(Qw,{href:t,style:{fontSize:`0.8rem`,textDecoration:`none`,color:`var(--fg-muted)`},target:`_blank`,rel:`noopener noreferrer`,children:e},e))})]})},U5=[{number:1,key:`account`},{number:2,key:`verified`},{number:3,key:`workspace`}],W5=({currentStep:e})=>{let t=X(`pages.auth.register`);return(0,U.jsx)(`div`,{className:`hidden items-center md:flex`,style:{marginBottom:`2.5rem`},children:U5.map((n,r)=>(0,U.jsxs)(O.Fragment,{children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,U.jsx)(`div`,{style:{width:26,height:26,borderRadius:`50%`,flexShrink:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:n.number<e?`var(--success)`:n.number===e?`var(--primary)`:`var(--border)`,color:n.number>e?`var(--fg-hint)`:`white`,fontWeight:700,fontSize:`0.8rem`},children:n.number<e?(0,U.jsx)(x4e,{}):n.number}),(0,U.jsx)(`span`,{style:{fontSize:`0.875rem`,color:n.number===e?`var(--fg-strong)`:`var(--fg-muted)`,fontWeight:n.number===e?700:500},children:t(`steps.`+n.key)})]}),r<U5.length-1&&(0,U.jsx)(`div`,{style:{flex:1,height:1,background:`var(--border)`,margin:`0 0.6rem`}})]},n.number))})},E4e=({onSuccess:e})=>{let[t,n]=(0,O.useState)(``),[r,i]=(0,O.useState)(``),[a,o]=(0,O.useState)(``),[s,c]=(0,O.useState)(!1),[l,u]=(0,O.useState)(!1),[d,f]=(0,O.useState)(!1),p=oS(),m=X(`pages.auth.register`),h=async e=>{try{let t=await xw(e);t.workspaceSetupRequired?(T(t.email),window.location.assign(`/auth/register?step=3`)):window.location.assign(O5(p))}catch(e){let t=e;D5.error(m(`toasts.socialFailed`),{description:t.message??m(`toasts.socialFailedDescription`)})}},g=async()=>
1189{if(!t||!r||!a){D5.warning(m(`toasts.requiredTitle`),{description:m(`toasts.step1Required`)});return}if(r!==a){D5.warning(m(`toasts.passwordMismatchTitle`),{description:m(`toasts.passwordMismatch`)});return}f(!0);try{let n=t.trim().toLowerCase();await Cue({email:n,username:n,password:r,companyName:``,teamName:``}),JC(`email`),e(n)}catch(e){let t=e,n=typeof t.response?.data==`string`?t.response.data:``,r=/already exist|already registered/i.test(n);D5.error(m(`toasts.registrationFailed`),{description:r?m(`toasts.emailAlreadyRegistered`):n||m(`toasts.registrationFailedDescription`)})}finally{f(!1)}};return(0,U.jsx)(`div`,{className:`flex-1`,style:{minHeight:0,overflowY:`auto`,display:`flex`,flexDirection:`column`,padding:`1rem 1.5rem 3rem`},children:(0,U.jsxs)(`div`,{style:{width:`100%`,maxWidth:`430px`,margin:`auto`},children:[(0,U.jsx)(W5,{currentStep:1}),(0,U.jsx)(`h1`,{className:`font-bold`,style:{fontSize:`2.1rem`,lineHeight:`1.2`,margin:`0 0 0.6rem 0`,color:`var(--fg-strong)`},children:m(`step1.heading`)}),(0,U.jsx)(`p`,{style:{fontSize:`0.875rem`,lineHeight:`1.6`,margin:`0 0 1.75rem 0`,color:`var(--fg-muted)`},children:m(`step1.subheading`)}),(0,U.jsxs)(`div`,{className:`mb-4 flex flex-col gap-3`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>h(`google`),style:{display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,width:`100%`,padding:`0.72rem 1.25rem`,borderRadius:`8px`,border:`1px solid var(--border-strong)`,background:`var(--surface)`,color:`var(--fg-strong)`,fontSize:`0.95rem`,fontWeight:500,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`var(--surface)`,children:[(0,U.jsx)(`span`,{style:{position:`absolute`,left:`1.1rem`,display:`flex`,alignItems:`center`},children:(0,U.jsx)(v4e,{})}),m(`step1.social.google`)]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>h(`microsoft`),style:{display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,width:`100%`,padding:`0.72rem 1.25rem`,borderRadius:`8px`,border:`1px solid var(--border-strong)`,background:`var(--surface)`,color:`var(--fg-strong)`,fontSize:`0.95rem`,fontWeight:500,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`var(--surface)`,children:[(0,U.jsx)(`span`,{style:{position:`absolute`,left:`1.1rem`,display:`flex`,alignItems:`center`},children:(0,U.jsx)(y4e,{})}),m(`step1.social.microsoft`)]}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>h(`github`),style:{display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,width:`100%`,padding:`0.72rem 1.25rem`,borderRadius:`8px`,border:`1px solid var(--border-strong)`,background:`var(--surface)`,color:`var(--fg-strong)`,fontSize:`0.95rem`,fontWeight:500,cursor:`pointer`},onMouseEnter:e=>e.currentTarget.style.background=`var(--surface-hover)`,onMouseLeave:e=>e.currentTarget.style.background=`var(--surface)`,children:[(0,U.jsx)(`span`,{style:{position:`absolute`,left:`1.1rem`,display:`flex`,alignItems:`center`},children:(0,U.jsx)(b4e,{})}),m(`step1.social.github`)]})]}),(0,U.jsxs)(`div`,{className:`my-4 flex items-center gap-3`,children:[(0,U.jsx)(`div`,{style:{flex:1,height:1,background:`var(--border)`}}),(0,U.jsx)(`span`,{className:`font-medium`,style:{fontSize:`0.72rem`,textTransform:`uppercase`,letterSpacing:`0.1em`,color:`var(--fg-muted)`},children:m(`step1.or`)}),(0,U.jsx)(`div`,{style:{flex:1,height:1,background:`var(--border)`}})]}),(0,U.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),g()},noValidate:!0,children:[(0,U.jsxs)(`div`,{className:`mb-3`,children:[(0,U.jsx)(`label`,{htmlFor:`reg-email`,className:`mb-2 block font-medium`,style:{fontSize:`0.88rem`,color:`var(--fg-strong)`},children:m(`step1.emailLabel`)}),(0,U.jsx)(`input`,{id:`reg-email`,type:`email`,value:t,onChange:e=>n(e.target.value),placeholder:m(`step1.emailPlaceholder`),autoComplete:`email`,style:B5})]}),(0,U.jsxs)(`div`,{className:`mb-3`,children:[(0,U.jsx)(`label`,{htmlFor:`reg-password`,className:`mb-2 block font-medium`,style:{fontSize:`0.88rem`,color:`var(--fg-strong)`},children:m(`step1.passwordLabel`)}),(0,U.jsxs)(`div`,{style:{position:`relative`,width:`100%`},children:[(0,U.jsx)(`input`,{id:`reg-password`,type:s?`text`:`password`,value:r,onChange:e=>i(e.target.value),placeholder:m(`step1.passwordPlaceholder`),autoComplete:`new-password`,style:{...B5,paddingRight:`2.75rem`}}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>c(e=>!e),style:{position:`absolute`,right:`0.75rem`,top:`50%`,transform:`translateY(-50%)`,background:`none`,border:`none`,cursor:`pointer`,color:`var(--fg-hint)`,dis
1189play:`flex`,alignItems:`center`,padding:0},"aria-label":m(s?`step1.hidePassword`:`step1.showPassword`),children:s?(0,U.jsx)(z5,{}):(0,U.jsx)(R5,{})})]})]}),(0,U.jsxs)(`div`,{className:`mb-5`,children:[(0,U.jsx)(`label`,{htmlFor:`reg-confirm-password`,className:`mb-2 block font-medium`,style:{fontSize:`0.88rem`,color:`var(--fg-strong)`},children:m(`step1.confirmPasswordLabel`)}),(0,U.jsxs)(`div`,{style:{position:`relative`,width:`100%`},children:[(0,U.jsx)(`input`,{id:`reg-confirm-password`,type:l?`text`:`password`,value:a,onChange:e=>o(e.target.value),placeholder:m(`step1.confirmPasswordPlaceholder`),autoComplete:`new-password`,style:{...B5,paddingRight:`2.75rem`}}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>u(e=>!e),style:{position:`absolute`,right:`0.75rem`,top:`50%`,transform:`translateY(-50%)`,background:`none`,border:`none`,cursor:`pointer`,color:`var(--fg-hint)`,display:`flex`,alignItems:`center`,padding:0},"aria-label":m(l?`step1.hidePassword`:`step1.showPassword`),children:l?(0,U.jsx)(z5,{}):(0,U.jsx)(R5,{})})]})]}),(0,U.jsxs)(`button`,{type:`submit`,disabled:d,style:{...V5,cursor:d?`default`:`pointer`,opacity:d?.85:1},children:[d&&(0,U.jsx)(H5,{}),m(`step1.submit`)]})]}),(0,U.jsx)(`p`,{className:`mt-4 text-center`,style:{fontSize:`0.78rem`,color:`var(--fg-muted)`,lineHeight:`1.6`},children:m.rich(`step1.termsAgreement`,{terms:e=>(0,U.jsx)(Qw,{href:`https://text2test.ai/terms-of-use`,target:`_blank`,rel:`noopener noreferrer`,style:{color:`var(--fg-muted)`,textDecoration:`underline`},children:e}),privacy:e=>(0,U.jsx)(Qw,{href:`https://text2test.ai/privacy-policy`,target:`_blank`,rel:`noopener noreferrer`,style:{color:`var(--fg-muted)`,textDecoration:`underline`},children:e})})}),(0,U.jsxs)(`p`,{className:`mt-4 text-center`,style:{fontSize:`0.9rem`},children:[(0,U.jsxs)(`span`,{style:{color:`var(--fg-muted)`},children:[m(`step1.haveAccount`),` `]}),(0,U.jsx)(Qw,{href:`/auth/login`,className:`font-semibold`,style:{color:`var(--primary)`,textDecoration:`none`},children:m(`step1.signIn`)})]})]})})},D4e=30,O4e=5,k4e=({email:e,onResend:t,onUseDifferent:n})=>{let[r,i]=(0,O.useState)(!1),[a,o]=(0,O.useState)(0),[s,c]=(0,O.useState)(0),l=X(`pages.auth.register`);(0,O.useEffect)(()=>{if(a<=0)return;let e=window.setInterval(()=>o(e=>e<=1?0:e-1),1e3);return()=>window.clearInterval(e)},[a]);let u=s>=O4e,d=r||a>0||u,f=async()=>{if(!d){i(!0);try{await wue(e),D5.success(l(`toasts.resentTitle`),{description:l(`toasts.resentDescription`)}),c(e=>e+1),o(D4e)}catch(e){let t=e;if(t.response?.status===429){let e=parseInt(t.response.headers?.[`retry-after`]??``,10);Number.isFinite(e)&&e>0&&o(e)}D5.error(l(`toasts.errorTitle`),{description:t.response?.data||l(`toasts.resendError`)})}finally{i(!1)}t()}},p=u?l(`step2.maxReached`):a>0?l(`step2.resendIn`,{seconds:a}):l(`step2.resend`);return(0,U.jsx)(`div`,{className:`flex-1`,style:{minHeight:0,overflowY:`auto`,display:`flex`,flexDirection:`column`,padding:`1rem 1.5rem 2rem`},children:(0,U.jsxs)(`div`,{style:{width:`100%`,maxWidth:`440px`,margin:`auto`},children:[(0,U.jsx)(W5,{currentStep:2}),(0,U.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,U.jsx)(`div`,{style:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:64,height:64,borderRadius:`16px`,background:`var(--accent)`,marginBottom:`1.5rem`},children:(0,U.jsx)(S4e,{})}),(0,U.jsx)(`h1`,{className:`font-bold`,style:{fontSize:`2rem`,lineHeight:`1.2`,margin:`0 0 0.75rem 0`,color:`var(--fg-strong)`},children:l(`step2.heading`)}),(0,U.jsx)(`p`,{style:{fontSize:`0.9rem`,margin:`0 0 1.25rem 0`,color:`var(--fg-muted)`},children:l(`step2.sentTo`)}),(0,U.jsxs)(`div`,{className:`inline-flex items-center gap-2`,style:{background:`var(--surface-alt)`,border:`1px solid var(--border)`,borderRadius:`999px`,padding:`0.4rem 1rem`,marginBottom:`1.5rem`},children:[(0,U.jsx)(C4e,{}),(0,U.jsx)(`span`,{style:{fontSize:`0.9rem`,fontWeight:600,color:`var(--fg-strong)`},children:e})]}),(0,U.jsx)(`p`,{style:{fontSize:`0.875rem`,lineHeight:`1.6`,margin:`0 0 2rem 0`,color:`var(--fg-muted)`},children:l(`step2.instructions`)}),(0,U.jsxs)(`div`,{className:`flex items-center justify-center gap-2`,style:{fontSize:`0.85rem`},children:[(0,U.jsx)(`span`,{style:{color:`var(--fg-muted)`},children:l(`step2.didntGet`)}),(0,U.jsx)(`button`,{type:`button`,onClick:f,disabled:d,style:{background:`none`,border:`none`,cursor:d?`default`:`pointer`,color:d?`var(--fg-hint)`:`var(--primary)`,fontWeight:600,fontSize:`0.85rem`,padding:0},children:p}),(0,U.jsx)(`span`,{style:{color:`var(--border-strong)`},children:`·`}),(0,U.jsx)(`button`,{type:`button`,onClick:n,style:{background:`none`,border:`none`,cursor:`pointer`,color:`var(--primary)`,fontWeight:600,fontSize:`0.85rem`,padding:0},children:l(`step2.useDifferent`)})]})]})]})})},A4e=({email:e,token:t})=>{let n=rS(),[r,i]=(0,O.useState)(``),[a,o]=(0,O.useState)(``),[s,c]=(0,O.useState)(!1),[l,u]=(0,O.useState)(!1),[d,f]=(0,O.useState)(``),p=X(`pages.auth.register`),m=e=>{i(e),f(``),s||o(e.trim()?`${e.trim()} QA`:``)},h=e=>{o(e),c(e!==``)},g=e||(typeof window<`u`?sessionStorage.getItem(`verifiedEmail`):null),_=t||(typeof window<`u`?sessionStorage.getItem(`onboardingToken`)??``:``);(0,O.useEffect)(()=>{g?(sessionStorage.setItem(`verifiedEmail`,g),_&&sessionStorage.setItem(`onboardingToken`,_),Tue(g).catch(()=>void 0)):n.replace(`/auth/register`)},[g,_,n]);let v=async()=>
1189{if(!r||!a){D5.warning(p(`toasts.requiredTitle`),{description:p(`toasts.step3Required`)});return}if(g){u(!0);try{await Eue(g,r,a,_);let e=$le();KC(e),ew(e),sessionStorage.removeItem(`verifiedEmail`),sessionStorage.removeItem(`onboardingToken`),n.push(_?`/auth/login?registered=1`:`/`)}catch(e){if(Rue(e)){f(p(`step3.projectNameTaken`)),document.getElementById(`ws-company`)?.focus();return}let t=e;D5.error(p(`toasts.errorTitle`),{description:t.response?.data||t.message})}finally{u(!1)}}};return g?(0,U.jsx)(`div`,{className:`flex-1`,style:{minHeight:0,overflowY:`auto`,display:`flex`,flexDirection:`column`,padding:`1rem 1.5rem 2rem`},children:(0,U.jsxs)(`div`,{style:{width:`100%`,maxWidth:`440px`,margin:`auto`},children:[(0,U.jsx)(W5,{currentStep:3}),(0,U.jsx)(`h1`,{className:`font-bold`,style:{fontSize:`2rem`,lineHeight:`1.2`,margin:`0 0 0.75rem 0`,color:`var(--fg-strong)`},children:p(`step3.heading`)}),(0,U.jsx)(`p`,{style:{fontSize:`0.875rem`,lineHeight:`1.6`,margin:`0 0 2rem 0`,color:`var(--fg-muted)`},children:p(`step3.subheading`)}),(0,U.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),v()},noValidate:!0,children:[(0,U.jsxs)(`div`,{className:`mb-4`,children:[(0,U.jsxs)(`label`,{htmlFor:`ws-company`,className:`mb-2 block font-medium`,style:{fontSize:`0.88rem`,color:`var(--fg-strong)`},children:[p(`step3.companyLabel`),` `,(0,U.jsx)(`span`,{style:{color:`var(--destructive)`},children:`*`})]}),(0,U.jsx)(`input`,{id:`ws-company`,type:`text`,value:r,onChange:e=>m(e.target.value),placeholder:p(`step3.companyPlaceholder`),"aria-invalid":d?!0:void 0,style:d?{...B5,borderColor:`var(--destructive)`}:B5}),d?(0,U.jsx)(`p`,{role:`alert`,style:{fontSize:`0.78rem`,color:`var(--destructive)`,margin:`0.4rem 0 0 0`},children:d}):(0,U.jsx)(`p`,{style:{fontSize:`0.78rem`,color:`var(--fg-hint)`,margin:`0.4rem 0 0 0`},children:p(`step3.companyHelp`)})]}),(0,U.jsxs)(`div`,{className:`mb-5`,children:[(0,U.jsxs)(`label`,{htmlFor:`ws-team`,className:`mb-2 block font-medium`,style:{fontSize:`0.88rem`,color:`var(--fg-strong)`},children:[p(`step3.teamLabel`),` `,(0,U.jsx)(`span`,{style:{color:`var(--destructive)`},children:`*`})]}),(0,U.jsx)(`input`,{id:`ws-team`,type:`text`,value:a,onChange:e=>h(e.target.value),placeholder:p(`step3.teamPlaceholder`),style:B5}),(0,U.jsx)(`p`,{style:{fontSize:`0.78rem`,color:`var(--fg-hint)`,margin:`0.4rem 0 0 0`},children:p(`step3.teamHelp`)})]}),(0,U.jsxs)(`button`,{type:`submit`,disabled:l,style:{...V5,cursor:l?`default`:`pointer`,opacity:l?.85:1},children:[l&&(0,U.jsx)(H5,{}),p(`step3.submit`)]})]})]})}):null};function j4e(){let e=rS(),t=oS(),n=parseInt(t.get(`step`)||`1`),r=t.get(`email`)||E(`verifiedEmail`),i=t.get(`token`)||E(`onboardingToken`);return(0,U.jsxs)(`div`,{className:`flex flex-col`,style:{height:`100dvh`,overflow:`hidden`,background:`var(--background)`},children:[(0,U.jsx)(I5,{}),(0,U.jsx)(w4e,{}),n===1&&(0,U.jsx)(E4e,{onSuccess:t=>{T(t),e.push(`/auth/register?step=2`)}}),n===2&&(0,U.jsx)(k4e,{email:r,onResend:()=>{},onUseDifferent:()=>{e.push(`/auth/register`)}}),n===3&&(0,U.jsx)(A4e,{email:r,token:i}),(0,U.jsx)(T4e,{})]})}function M4e(){let e=rS(),[t,n]=(0,O.useState)(null),r=X(`pages.auth.callback`);return(0,O.useEffect)(()=>{let t=window.opener,i=!!t&&t!==window&&window.name===`text2test-oauth`,a=e=>{t.postMessage({type:gw,...e},window.location.origin),window.setTimeout(()=>window.close(),50)};(async()=>{try{Aw(await xue(window.location.search)),window.localStorage.setItem(`kcBrowserSession`,`1`);let t=await Due();if(t.newUser&&await Promise.race([Oue(),new Promise(e=>window.setTimeout(e,2e3))]),i){a({result:t});return}let n=vue();n&&_w(t,n);let r=O5(new URLSearchParams(window.location.search));t.workspaceSetupRequired?(T(t.email),e.replace(`/auth/register?step=3`)):e.replace(r)}catch(e){let t=e instanceof Error?e.message:r(`genericError`);if(i){a({error:t});return}n(t),D5.error(r(`failedToast`),{description:t})}})()},[]),(0,U.jsxs)(`div`,{className:`flex flex-col items-center justify-center`,style:{height:`100dvh`,background:`var(--background)`,color:`var(--fg-strong)`,fontFamily:`Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif`},children:[(0,U.jsx)(I5,{}),(0,U.jsxs)(`div`,{className:`font-bold`,style:{fontSize:`1.1rem`,letterSpacing:`-0.01em`,marginBottom:`1.25rem`},children:[(0,U.jsx)(`span`,{style:{color:`var(--fg-strong)`},children:`Text`}),(0,U.jsx)(`span`,{style:{color:`var(--primary)`},children:`2`}),(0,U.jsx)(`span`,{style:{color:`var(--fg-strong)`},children:`Test`})]}),t?(0,U.jsxs)(`div`,{style:{maxWidth:420,textAlign:`center`,padding:`0 1.5rem`},children:[(0,U.jsx)(`p`,{style:{fontSize:`0.95rem`,color:`var(--destructive)`,marginBottom:`1rem`},children:t}),(0,U.jsx)(Qw,{href:`/auth/login`,style:{fontSize:`0.9rem`,fontWeight:600,color:`var(--primary)`,textDecoration:`none`},children:r(`backToLogin`)})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{style:{width:36,height:36,border:`3px solid var(--border)`,borderTopColor:`var(--primary)`,borderRadius:`50%`,animation:`oidc-spin 0.8s linear infinite`}}),(0,U.jsx)(`p`,{style:{marginTop:`1rem`,fontSize:`0.9rem`,color:`var(--fg-muted)`},children:r(`signingIn`)}),(0,U.jsx)(`style`,{children:`@keyframes oidc-spin { to { transform: rotate(360deg); } }`})]})]})}function N4e(){let e=X(`pages.auth.socialRelay`),[t]=(0,O.useState)(mue);return(0,O.useEffect)(()=>
1189{if(t){window.location.replace(t);return}let n=window.opener;n&&n!==window&&window.name===`text2test-oauth`&&(n.postMessage({type:gw,error:e(`expired`)},window.location.origin),window.close())},[t,e]),t?null:(0,U.jsxs)(`div`,{className:`bg-background flex h-dvh flex-col items-center justify-center gap-4 px-6 text-center`,children:[(0,U.jsx)(I5,{}),(0,U.jsx)(`p`,{className:`text-fg-muted text-[0.9rem]`,children:e(`expired`)}),(0,U.jsx)(`a`,{href:`/auth/login`,className:`text-primary text-[0.9rem] font-semibold`,children:e(`backToLogin`)})]})}function P4e({className:e,size:t=`default`,...n}){return(0,U.jsx)(`div`,{"data-slot":`card`,"data-size":t,className:W(`group/card bg-card text-card-foreground ring-foreground/10 flex flex-col gap-4 overflow-hidden rounded-xl py-4 text-sm ring-1 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl`,e),...n})}function F4e({className:e,...t}){return(0,U.jsx)(`div`,{"data-slot":`card-content`,className:W(`px-4 group-data-[size=sm]/card:px-3`,e),...t})}var G5=e=>e.type===`checkbox`,K5=e=>e instanceof Date,q5=e=>e==null,J5=e=>typeof e==`object`,Y5=e=>!q5(e)&&!Array.isArray(e)&&J5(e)&&!K5(e),I4e=e=>Y5(e)&&e.target?G5(e.target)?e.target.checked:e.target.value:e,L4e=(e,t)=>t.split(`.`).some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join(`.`))),R4e=e=>{let t=e.constructor&&e.constructor.prototype;return Y5(t)&&t.hasOwnProperty(`isPrototypeOf`)},X5=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`;function Z5(e){if(e instanceof Date)return new Date(e);let t=typeof FileList<`u`&&e instanceof FileList;if(X5&&(e instanceof Blob||t))return e;let n=Array.isArray(e);if(!n&&!(Y5(e)&&R4e(e)))return e;let r=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=Z5(e[t]));return r}var Q5=e=>/^\w*$/.test(e),$5=e=>e===void 0,e7=e=>Array.isArray(e)?e.filter(Boolean):[],t7=e=>e7(e.replace(/["|']|\]/g,``).split(/\.|\[/)),n7=(e,t,n)=>{if(!t||!Y5(e))return n;let r=(Q5(t)?[t]:t7(t)).reduce((e,t)=>q5(e)?void 0:e[t],e);return $5(r)||r===e?$5(e[t])?n:e[t]:r},r7=e=>typeof e==`boolean`,i7=e=>typeof e==`function`,a7=(e,t,n)=>{let r=-1,i=Q5(t)?[t]:t7(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=Y5(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(t===`__proto__`||t===`constructor`||t===`prototype`)return;e[t]=a,e=e[t]}},o7={BLUR:`blur`,FOCUS_OUT:`focusout`,CHANGE:`change`,SUBMIT:`submit`,TRIGGER:`trigger`,VALID:`valid`},s7={onBlur:`onBlur`,onChange:`onChange`,onSubmit:`onSubmit`,onTouched:`onTouched`,all:`all`},c7={max:`max`,min:`min`,maxLength:`maxLength`,minLength:`minLength`,pattern:`pattern`,required:`required`,validate:`validate`},l7=`form`,u7=`root`,z4e=O.createContext(null);z4e.displayName=`HookFormControlContext`;var B4e=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==s7.all&&(t._proxyFormState[i]=!r||s7.all),n&&(n[i]=!0),e[i]}});return i},V4e=typeof window<`u`?O.useLayoutEffect:O.useEffect,d7=e=>typeof e==`string`,H4e=(e,t,n,r,i)=>d7(e)?(r&&t.watch.add(e),n7(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),n7(n,e))):(r&&(t.watchAll=!0),n),f7=e=>q5(e)||!J5(e);function p7(e,t,n=new WeakSet){if(e===t)return!0;if(f7(e)||f7(t))return Object.is(e,t);if(K5(e)&&K5(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(let i of r){let r=e[i];if(!(i in t))return!1;if(i!==`ref`){let e=t[i];if(K5(r)&&K5(e)||(Y5(r)||Array.isArray(r))&&(Y5(e)||Array.isArray(e))?!p7(r,e,n):!Object.is(r,e))return!1}}return!0}var U4e=O.createContext(null);U4e.displayName=`HookFormContext`;var m7=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},h7=e=>Array.isArray(e)?e:[e],g7=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function _7(e,t){let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],a=t[r];if(i&&Y5(i)&&a){let e=_7(i,a);Y5(e)&&(n[r]=e)}else e[r]&&(n[r]=a)}return n}var v7=e=>Y5(e)&&!Object.keys(e).length,y7=e=>e.type===`file`,b7=e=>{if(!X5)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},x7=e=>e.type===`select-multiple`,S7=e=>e.type===`radio`,W4e=e=>S7(e)||G5(e),C7=e=>b7(e)&&e.isConnected;function G4e(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=$5(e)?r++:e[t[r++]];return e}function K4e(e){for(let t in e)if(e.hasOwnProperty(t)&&!$5(e[t]))return!1;return!0}function w7(e,t){if(d7(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let n=Array.isArray(t)?t:Q5(t)?[t]:t7(t),r=n.length===1?e:G4e(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(Y5(r)&&v7(r)||Array.isArray(r)&&K4e(r))&&w7(e,n.slice(0,-1)),e}var q4e=e=>{for(let t in e)if(i7(e[t]))return!0;return!1};function T7(e){return Array.isArray(e)||Y5(e)&&!q4e(e)}function E7(e,t={}){for(let n in e){let r=e[n];T7(r)?(t[n]=Array.isArray(r)?[]:{},E7(r,t[n])):$5(r)||(t[n]=!0)}return t}function D7(e,t,n){n||=E7(t);for(let r in e){let i=e[r];if(T7(i))$5(t)||f7(n[r])?n[r]=E7(i,Array.isArray(i)?[]:{}):D7(i,q5(t)?{}:t[r],n[r]);else{let e=t[r];n[r]=!p7(i,e)}}return n}var O7={value:!1,isValid:!1},k7={value:!0,isValid:!0},A7=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!$5(e[0].attributes.value)?$5(e[0].value)||e[0].value===``?k7:{value:e[0].value,isValid:!0}:k7:O7}return O7},j7=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>$5(e)?e:t?e===``?NaN:e&&+e:n&&d7(e)?new Date(e):r?r(e):e,M7={isValid:!1,value:null},N7=e=>Array.isArray(e)?e.reduce((e,t)=>
vendor: 18,639 bytes, line 1189
1189t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,M7):M7;function P7(e){let t=e.ref;return y7(t)?t.files:S7(t)?N7(e.refs).value:x7(t)?[...t.selectedOptions].map(({value:e})=>e):G5(t)?A7(e.refs).value:j7($5(t.value)?e.ref.value:t.value,e)}var J4e=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Y4e=(e,t,n,r)=>{let i={};for(let n of e){let e=n7(t,n);e&&a7(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},F7=e=>e instanceof RegExp,I7=e=>$5(e)?e:F7(e)?e.source:Y5(e)?F7(e.value)?e.value.source:e.value:e,X4e=e=>({isOnSubmit:!e||e===s7.onSubmit,isOnBlur:e===s7.onBlur,isOnChange:e===s7.onChange,isOnAll:e===s7.all,isOnTouch:e===s7.onTouched}),Z4e=`AsyncFunction`,Q4e=e=>!!e&&!!e.validate&&!!(i7(e.validate)&&e.validate.constructor.name===Z4e||Y5(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===Z4e)),$4e=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),e3e=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),L7=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=n7(e,i);if(n){let{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r||e.ref&&t(e.ref,e.name)&&!r)return!0;if(L7(a,t))break}else if(Y5(a)&&L7(a,t))break}}};function t3e(e,t,n){let r=n7(e,n);if(r||Q5(n))return{error:r,name:n};let i=n.split(`.`);for(;i.length;){let r=i.join(`.`),a=n7(t,r),o=n7(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var n3e=(e,t,n,r)=>{n(e);let{name:i,...a}=e;return v7(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||s7.all))},r3e=(e,t,n)=>!e||!t||e===t||h7(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),i3e=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e,a3e=(e,t)=>!e7(n7(e,t)).length&&w7(e,t),o3e=(e,t,n)=>{let r=h7(n7(e,n));return a7(r,u7,t[n]),a7(e,n,r),e};function s3e(e,t,n=`validate`){if(d7(e)||Array.isArray(e)&&e.every(d7)||r7(e)&&!e)return{type:n,message:d7(e)?e:``,ref:t}}var R7=e=>Y5(e)&&!F7(e)?e:{value:e,message:``},c3e=async(e,t,n,r,i,a)=>{let{ref:o,refs:s,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:p,validate:m,name:h,valueAsNumber:g,mount:_}=e._f,v=n7(n,h);if(!_||t.has(h))return{};let y=s?s[0]:o,b=e=>{i&&y.reportValidity&&(y.setCustomValidity(r7(e)?``:e||``),y.reportValidity())},x={},S=S7(o),C=G5(o),w=S||C,T=(g||y7(o))&&$5(o.value)&&$5(v)||b7(o)&&o.value===``||v===``||Array.isArray(v)&&!v.length,E=m7.bind(null,h,r,x),D=(e,t,n,r=c7.maxLength,i=c7.minLength)=>{let a=e?t:n;x[h]={type:e?r:i,message:a,ref:o,...E(e?r:i,a)}};if(a?!Array.isArray(v)||!v.length:c&&(!w&&(T||q5(v))||r7(v)&&!v||C&&!A7(s).isValid||S&&!N7(s).isValid)){let{value:e,message:t}=d7(c)?{value:!!c,message:c}:R7(c);if(e&&(x[h]={type:c7.required,message:t,ref:y,...E(c7.required,t)},!r))return b(t),x}if(!T&&(!q5(d)||!q5(f))){let e,t,n=R7(f),i=R7(d);if(!q5(v)&&!isNaN(v)){let r=o.valueAsNumber||v&&+v;q5(n.value)||(e=r>n.value),q5(i.value)||(t=r<i.value)}else{let r=o.valueAsDate||new Date(v),a=e=>new Date(new Date().toDateString()+` `+e),s=o.type==`time`,c=o.type==`week`;d7(n.value)&&v&&(e=s?a(v)>a(n.value):c?v>n.value:r>new Date(n.value)),d7(i.value)&&v&&(t=s?a(v)<a(i.value):c?v<i.value:r<new Date(i.value))}if((e||t)&&(D(!!e,n.message,i.message,c7.max,c7.min),!r))return b(x[h].message),x}if((l||u)&&!T&&(d7(v)||a&&Array.isArray(v))){let e=R7(l),t=R7(u),n=!q5(e.value)&&v.length>+e.value,i=!q5(t.value)&&v.length<+t.value;if((n||i)&&(D(n,e.message,t.message),!r))return b(x[h].message),x}if(p&&!T&&d7(v)){let{value:e,message:t}=R7(p);if(F7(e)&&!v.match(e)&&(x[h]={type:c7.pattern,message:t,ref:o,...E(c7.pattern,t)},!r))return b(t),x}if(m){if(i7(m)){let e=s3e(await m(v,n),y);if(e&&(x[h]={...e,...E(c7.validate,e.message)},!r))return b(e.message),x}else if(Y5(m)){let e={};for(let t in m){if(!v7(e)&&!r)break;let i=s3e(await m[t](v,n),y,t);i&&(e={...i,...E(t,i.message)},b(i.message),r&&(x[h]=e))}if(!v7(e)&&(x[h]={ref:y,...e},!r))return x}}return b(!0),x},l3e={mode:s7.onSubmit,reValidateMode:s7.onChange,shouldFocusError:!0};function u3e(e={}){let t={...l3e,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:i7(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=(Y5(t.defaultValues)||Y5(t.values))&&Z5(t.defaultValues||t.values)||{},a=t.shouldUnregister?{}:Z5(i),o={action:!1,mount:!1,watch:!1,keepIsValid:!1},s={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},c,l=0,u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={...u},f={...d},p={array:g7(),state:g7()},m=t.criteriaMode===s7.all,h=e=>t=>{clearTimeout(l),l=setTimeout(e,t)},g=async e=>{if(!o.keepIsValid&&!t.disabled&&(d.isValid||f.isValid||e)){let e;t.resolver?(e=v7((await T()).errors),_()):e=await O({fields:r,onlyCheckValid:!0,eventType:o7.VALID}),e!==n.isValid&&p.state.next({isValid:e})}},_=(e,r)=>{!t.disabled&&(d.isValidating||d.validatingFields||f.isValidating||f.validatingFields)&&((e||Array.from(s.mount)).forEach(e=>{e&&(r?a7(n.validatingFields,e,r):w7(n.validatingFields,e))}),p.state.next({validatingFields:n.validatingFields,isValidating:!v7(n.validatingFields)}))},v=e=>{let t=D7(i,a),r=J4e(e);a7(n.dirtyFields,r,n7(t,r))},y=(e,i=[],s,c,l=!0,u=!0)=>{if(c&&s&&!t.disabled){if(o.action=!0,u&&Array.isArray(n7(r,e))){let t=s(n7(r,e),c.argA,c.argB);l&&a7(r,e,t)}if(u&&Array.isArray(n7(n.errors,e))){let t=s(n7(n.errors,e),c.argA,c.argB);l&&a7(n.errors,e,t),a3e(n.errors,e)}if((d.touchedFields||f.touchedFields)&&u&&Array.isArray(n7(n.touchedFields,e))){let t=s(n7(n.touchedFields,e),c.argA,c.argB);l&&a7(n.touchedFields,e,t)}(d.dirtyFields||f.dirtyFields)&&v(e),p.state.next({name:e,isDirty:A(e,i),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else a7(a,e,i)},b=(e,t)=>{a7(n.errors,e,t),p.state.next({errors:n.errors})},x=e=>{n.errors=e,p.state.next({errors:n.errors,isValid:!1})},S=(e,t,n,s)=>{let c=n7(r,e);if(c){let r=n7(a,e,$5(n)?n7(i,e):n);$5(r)||s&&s.defaultChecked||t?a7(a,e,t?r:P7(c._f)):N(e,r),o.mount&&!o.action&&g()}},C=(e,r,a,o,s)=>{let c=!1,l=!1,u={name:e};if(!t.disabled){if(!a||o){(d.isDirty||f.isDirty)&&(l=n.isDirty,n.isDirty=u.isDirty=A(),c=l!==u.isDirty);let t=p7(n7(i,e),r);l=!!n7(n.dirtyFields,e),t?w7(n.dirtyFields,e):a7(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,c||=(d.dirtyFields||f.dirtyFields)&&l!==!t}if(a){let t=n7(n.touchedFields,e);t||(a7(n.touchedFields,e,a),u.touchedFields=n.touchedFields,c||=(d.touchedFields||f.touchedFields)&&t!==a)}c&&s&&p.state.next(u)}return c?u:{}},w=(e,r,i,a)=>{let o=n7(n.errors,e),s=(d.isValid||f.isValid)&&r7(r)&&n.isValid!==r;if(t.delayError&&i?(c=h(()=>b(e,i)),c(t.delayError)):(clearTimeout(l),c=null,i?a7(n.errors,e,i):w7(n.errors,e)),(i?!p7(o,i):o)||!v7(a)||s){let t={...a,...s&&r7(r)?{isValid:r}:{},errors:n.errors,name:e};n={...n,...t},p.state.next(t)}},T=async e=>(_(e,!0),await t.resolver(a,t.context,Y4e(e||s.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),E=async e=>{let{errors:t}=await T(e);if(_(e),e)for(let r of e){let e=n7(t,r);e?a7(n.errors,r,e):w7(n.errors,r)}else n.errors=t;return t},D=async({name:t,eventType:r})=>{if(e.validate){let i=await e.validate({formValues:a,formState:n,name:t,eventType:r});if(Y5(i))for(let e in i)i[e]&&V(`${l7}.${e}`,{message:d7(i.message)?i.message:``,type:c7.validate});else d7(i)||!i?V(l7,{message:i||``,type:c7.validate}):ee(l7);return i}return!0},O=async({fields:r,onlyCheckValid:i,name:o,eventType:c,context:l={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(l.runRootValidation=!0,!await D({name:o,eventType:c})&&(l.valid=!1,i)))return l.valid;for(let o in r){let u=r[o];if(u){let{_f:r,...f}=u;if(r){let o=s.array.has(r.name),c=u._f&&Q4e(u._f);c&&d.validatingFields&&_([r.name],!0);let f=await c3e(u,s.disabled,a,m,t.shouldUseNativeValidation&&!i,o);if(c&&d.validatingFields&&_([r.name]),f[r.name]&&(l.valid=!1,i)||(!i&&(n7(f,r.name)?o?o3e(n.errors,f,r.name):a7(n.errors,r.name,f[r.name]):w7(n.errors,r.name)),e.shouldUseNativeValidation&&f[r.name]))break}!v7(f)&&await O({context:l,onlyCheckValid:i,fields:f,name:o,eventType:c})}}return l.valid},k=()=>{for(let e of s.unMount){let t=n7(r,e);t&&(t._f.refs?t._f.refs.every(e=>!C7(e)):!C7(t._f.ref))&&ie(e)}s.unMount=new Set},A=(e,n)=>!t.disabled&&(e&&n&&a7(a,e,n),!p7(z(),i)),j=(e,t,n)=>H4e(e,s,{...o.mount?a:$5(t)?i:d7(e)?{[e]:t}:t},n,t),M=e=>e7(n7(o.mount?a:i,e,t.shouldUnregister?n7(i,e,[]):[])),N=(e,t,n={})=>{let i=n7(r,e),o=t;if(i){let n=i._f;n&&(!n.disabled&&a7(a,e,j7(t,n)),o=b7(n.ref)&&q5(t)?``:t,x7(n.ref)?[...n.ref.options].forEach(e=>e.selected=o.includes(e.value)):n.refs?G5(n.ref)?n.refs.forEach(e=>{(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(o)?!!o.find(t=>t===e.value):o===e.value||!!o)}):n.refs.forEach(e=>e.checked=e.value===o):y7(n.ref)?n.ref.value=``:(n.ref.value=o,n.ref.type||p.state.next({name:e,values:Z5(a)})))}(n.shouldDirty||n.shouldTouch)&&C(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&R(e)},P=(e,t,n)=>{for(let i in t){if(!t.hasOwnProperty(i))return;let a=t[i],o=e+`.`+i,c=n7(r,o);(s.array.has(e)||Y5(a)||c&&!c._f)&&!K5(a)?P(o,a,n):N(o,a,n)}},F=(e,t,i={})=>{let c=n7(r,e),l=s.array.has(e),u=Z5(t),d=p7(n7(a,e),u);if(a7(a,e,u),l)p.array.next({name:e,values:Z5(a)}),i.shouldDirty&&(v(e),p.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:A(e,u)}));else{let t=Array.isArray(u)&&!u.length||v7(u);!c||c._f||q5(u)||t?N(e,u,i):P(e,u,i)}d||(e3e(e,s)?p.state.next({...n,name:e,values:Z5(a)}):p.state.next({name:o.mount?e:void 0,values:Z5(a)}))},I=async i=>{o.mount=!0;let l=i.target,u=l.name,h=!0,v=n7(r,u),y=e=>{h=Number.isNaN(e)||K5(e)&&isNaN(e.getTime())||p7(e,n7(a,u,e))},b=X4e(t.mode),x=X4e(t.reValidateMode);if(v){let o,S,E=l.type?P7(v._f):I4e(i),k=i.type===o7.BLUR||i.type===o7.FOCUS_OUT,A=!$4e(v._f)&&!e.validate&&!t.resolver&&!n7(n.errors,u)&&!v._f.deps||i3e(k,n7(n.touchedFields,u),n.isSubmitted,x,b),j=e3e(u,s,k);a7(a,u,E),k?(!l||!l.readOnly)&&(v._f.onBlur&&v._f.onBlur(i),c&&c(0)):v._f.onChange&&v._f.onChange(i);let M=C(u,E,k),N=!v7(M)||j;if(!k&&p.state.next({name:u,type:i.type,values:Z5(a)}),A)return(d.isValid||f.isValid)&&(t.mode===`onBlur`?k&&g():k||g()),N&&p.state.next({name:u,...j?{}:M});if(!t.resolver&&e.validate&&await D({name:u,eventType:i.type}),!k&&j&&p.state.next({...n}),t.resolver){let{errors:e}=await T([u]);if(_([u]),y(E),h){let t=t3e(n.errors,r,u),i=t3e(e,r,t.name||u);o=i.error,u=i.name,S=v7(e)}}else _([u],!0),o=(await c3e(v,s.disabled,a,m,t.shouldUseNativeValidation))[u],_([u]),y(E),h&&(o?S=!1:(d.isValid||f.isValid)&&(S=await O({fields:r,onlyCheckValid:!0,name:u,eventType:i.type})));h&&(v._f.deps&&(!Array.isArray(v._f.deps)||v._f.deps.length>0)&&R(v._f.deps),w(u,S,o,M))}},L=(e,t)=>{if(n7(n.errors,t)&&e.focus)return e.focus(),1},R=async(e,i={})=>{let a,o,c=h7(e);if(t.resolver){let t=await E($5(e)?e:c);a=v7(t),o=e?!c.some(e=>n7(t,e)):a}else e?(o=(await Promise.all(c.map(async e=>{let t=n7(r,e);return await O({fields:t&&t._f?{[e]:t}:t,eventType:o7.TRIGGER})}))).every(Boolean),!(!o&&!n.isValid)&&g()):o=a=await O({fields:r,name:e,eventType:o7.TRIGGER});return p.state.next({...!d7(e)||(d.isValid||f.isValid)&&a!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},errors:n.errors}),i.shouldFocus&&!o&&L7(r,L,e?c:s.mount),o},z=(e,t)=>{let r={...o.mount?a:i};return t&&(r=_7(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),$5(e)?r:d7(e)?n7(r,e):e.map(e=>n7(r,e))},B=(e,t)=>({invalid:!!n7((t||n).errors,e),isDirty:!!n7((t||n).dirtyFields,e),error:n7((t||n).errors,e),isValidating:!!n7(n.validatingFields,e),isTouched:!!n7((t||n).touchedFields,e)}),ee=e=>{let t=e?h7(e):void 0;t?.forEach(e=>w7(n.errors,e)),t?t.forEach(e=>{p.state.next({name:e,errors:n.errors})}):p.state.next({errors:{}})},V=(e,t,i)=>{let a=(n7(r,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:c,...l}=n7(n.errors,e)||{};a7(n.errors,e,{...l,...t,ref:a}),p.state.next({name:e,errors:n.errors,isValid:!1}),i&&i.shouldFocus&&a&&a.focus&&a.focus()},te=(e,t)=>i7(e)?p.state.subscribe({next:n=>`values`in n&&e(n.values||j(void 0,t),n)}):j(e,t,!0),ne=e=>p.state.subscribe({next:t=>{if(r3e(e.name,t.name,e.exact)&&n3e(t,e.formState||d,pe,e.reRenderRoot)){let r={...a};e.callback({values:r,...n,...t,defaultValues:i})}}}).unsubscribe,re=e=>(o.mount=!0,f={...f,...e.formState},ne({...e,formState:{...u,...e.formState}})),ie=(e,o={})=>{for(let c of e?h7(e):s.mount)s.mount.delete(c),s.array.delete(c),o.keepValue||(w7(r,c),w7(a,c)),!o.keepError&&w7(n.errors,c),!o.keepDirty&&w7(n.dirtyFields,c),!o.keepTouched&&w7(n.touchedFields,c),!o.keepIsValidating&&w7(n.validatingFields,c),!t.shouldUnregister&&!o.keepDefaultValue&&w7(i,c);p.state.next({values:Z5(a)}),p.state.next({...n,...o.keepDirty?{isDirty:A()}:{}}),!o.keepIsValid&&g()},ae=({disabled:e,name:t})=>{if(r7(e)&&o.mount||e||s.disabled.has(t)){let n=s.disabled.has(t)!==!!e;e?s.disabled.add(t):s.disabled.delete(t),n&&o.mount&&!o.action&&g()}},oe=(e,n={})=>{let a=n7(r,e),c=r7(n.disabled)||r7(t.disabled),l=!s.registerName.has(e)&&a&&a._f&&!a._f.mount;return a7(r,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...n}}),s.mount.add(e),a&&!l?ae({disabled:r7(n.disabled)?n.disabled:t.disabled,name:e}):S(e,!0,n.value),{...c?{disabled:n.disabled||t.disabled}:{},...t.progressive?{required:!!n.required,min:I7(n.min),max:I7(n.max),minLength:I7(n.minLength),maxLength:I7(n.maxLength),pattern:I7(n.pattern)}:{},name:e,onChange:I,onBlur:I,ref:c=>{if(c){s.registerName.add(e),oe(e,n),s.registerName.delete(e),a=n7(r,e);let t=$5(c.value)&&c.querySelectorAll&&c.querySelectorAll(`input,select,textarea`)[0]||c,o=W4e(t),l=a._f.refs||[];if(o?l.find(e=>e===t):t===a._f.ref)return;a7(r,e,{_f:{...a._f,...o?{refs:[...l.filter(C7),t,...Array.isArray(n7(i,e))?[{}]:[]],ref:{type:t.type,name:e}}:{ref:t}}}),S(e,!1,void 0,t)}else a=n7(r,e,{}),a._f&&(a._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(L4e(s.array,e)&&o.action)&&s.unMount.add(e)}}},H=()=>t.shouldFocusError&&L7(r,L,s.mount),se=e=>{r7(e)&&(p.state.next({disabled:e}),L7(r,(t,n)=>{let i=n7(r,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},ce=(e,i)=>async o=>{let c;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let l=Z5(a);if(p.state.next({isSubmitting:!0}),t.resolver){let{errors:e,values:t}=await T();_(),n.errors=e,l=Z5(t)}else await O({fields:r,eventType:o7.SUBMIT});if(s.disabled.size)for(let e of s.disabled)w7(l,e);if(w7(n.errors,u7),v7(n.errors)){p.state.next({errors:{}});try{await e(l,o)}catch(e){c=e}}else i&&await i({...n.errors},o),H(),setTimeout(H);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:v7(n.errors)&&!c,submitCount:n.submitCount+1,errors:n.errors}),c)throw c},le=(e,t={})=>{n7(r,e)&&($5(t.defaultValue)?F(e,Z5(n7(i,e))):(F(e,t.defaultValue),a7(i,e,Z5(t.defaultValue))),t.keepTouched||w7(n.touchedFields,e),t.keepDirty||(w7(n.dirtyFields,e),n.isDirty=t.defaultValue?A(e,Z5(n7(i,e))):A()),t.keepError||(w7(n.errors,e),d.isValid&&g()),p.state.next({...n}))},ue=(e,c={})=>{let l=e?Z5(e):i,u=Z5(l),f=v7(e),m=f?i:u;if(c.keepDefaultValues||(i=l),!c.keepValues){if(c.keepDirtyValues){let e=new Set([...s.mount,...Object.keys(D7(i,a))]);for(let t of Array.from(e)){let e=n7(n.dirtyFields,t),r=n7(a,t),i=n7(m,t);e&&!$5(r)?a7(m,t,r):!e&&!$5(i)&&F(t,i)}}else{if(X5&&$5(e))for(let e of s.mount){let t=n7(r,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(b7(e)){let t=e.closest(`form`);if(t){t.reset();break}}}}if(c.keepFieldsRef)for(let e of s.mount)F(e,n7(m,e));else r={}}a=t.shouldUnregister?c.keepDefaultValues?Z5(i):{}:Z5(m),p.array.next({values:{...m}}),p.state.next({values:{...m}})}s={mount:c.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:``},o.mount=!d.isValid||!!c.keepIsValid||!!c.keepDirtyValues||!t.shouldUnregister&&!v7(m),o.watch=!!t.shouldUnregister,o.keepIsValid=!!c.keepIsValid,o.action=!1,c.keepErrors||(n.errors={}),p.state.next({submitCount:c.keepSubmitCount?n.submitCount:0,isDirty:f?!1:c.keepDirty?n.isDirty:!!(c.keepDefaultValues&&!p7(e,i)),isSubmitted:c.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:f?{}:c.keepDirtyValues?c.keepDefaultValues&&a?D7(i,a):n.dirtyFields:c.keepDefaultValues&&e?D7(i,e):c.keepDirty?n.dirtyFields:{},touchedFields:c.keepTouched?n.touchedFields:{},errors:c.keepErrors?n.errors:{},isSubmitSuccessful:c.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},de=(e,n)=>ue(i7(e)?e(a):e,{...t.resetOptions,...n}),fe=(e,t={})=>{let n=n7(r,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&i7(e.select)&&e.select()})}},pe=e=>{n={...n,...e}},me={control:{register:oe,unregister:ie,getFieldState:B,handleSubmit:ce,setError:V,_subscribe:ne,_runSchema:T,_updateIsValidating:_,_focusError:H,_getWatch:j,_getDirty:A,_setValid:g,_setFieldArray:y,_setDisabledField:ae,_setErrors:x,_getFieldArray:M,_reset:ue,_resetDefaultValues:()=>i7(t.defaultValues)&&t.defaultValues().then(e=>{de(e,t.resetOptions),p.state.next({isLoading:!1})}),_removeUnmounted:k,_disableForm:se,_subjects:p,_proxyFormState:d,get _fields(){return r},get _formValues(){return a},get _state(){return o},set _state(e){o=e},get _defaultValues(){return i},get _names(){return s},set _names(e){s=e},get _formState(){return n},get _options(){return t},set _options(e){t={...t,...e}}},subscribe:re,trigger:R,register:oe,handleSubmit:ce,watch:te,setValue:F,getValues:z,reset:de,resetField:le,clearErrors:ee,unregister:ie,setError:V,setFocus:fe,getFieldState:B};return{...me,formControl:me}}function d3e(e={}){let t=O.useRef(void 0),n=O.useRef(void 0),[r,i]=O.useState({isDirty:!1,isValidating:!1,isLoading:i7(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:i7(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!i7(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...i}=u3e(e);t.current={...i,formState:r}}let a=t.current.control;return a._options=e,V4e(()=>{let e=a._subscribe({formState:a._proxyFormState,callback:()=>i({...a._formState}
1189),reRenderRoot:!0});return i(e=>({...e,isReady:!0})),a._formState.isReady=!0,e},[a]),O.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),O.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),O.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),O.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),O.useEffect(()=>{if(a._proxyFormState.isDirty){let e=a._getDirty();e!==r.isDirty&&a._subjects.state.next({isDirty:e})}},[a,r.isDirty]),O.useEffect(()=>{e.values&&!p7(e.values,n.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),a._options.resetOptions?.keepIsValid||a._setValid(),n.current=e.values,i(e=>({...e}))):a._resetDefaultValues()},[a,e.values]),O.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=O.useMemo(()=>B4e(r,a),[a,r]),t.current}var f3e=(e,t,n)=>{if(e&&`reportValidity`in e){let r=n7(n,t);e.setCustomValidity(r&&r.message||``),e.reportValidity()}},z7=(e,t)=>{for(let n in t.fields){let r=t.fields[n];r&&r.ref&&`reportValidity`in r.ref?f3e(r.ref,n,e):r&&r.refs&&r.refs.forEach(t=>f3e(t,n,e))}},p3e=(e,t)=>{t.shouldUseNativeValidation&&z7(e,t);let n={};for(let r in e){let i=n7(t.fields,r),a=Object.assign(e[r]||{},{ref:i&&i.refs?i.refs[0]:i&&i.ref});if(m3e(t.names||Object.keys(e),r)){let e=Object.assign({},n7(n,r));a7(e,`root`,a),a7(n,r,e)}else a7(n,r,a)}return n},m3e=(e,t)=>{let n=h3e(t).replace(/[.*+?^${}()|\\]/g,`\\$&`);return e.some(e=>h3e(e).match(`^${n}\\.\\d+`))};function h3e(e){return e.replace(/[\[\]]/g,``)}function B7(){return B7=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B7.apply(null,arguments)}function g3e(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function _3e(e,t){for(var n={};e.length;){var r=e[0],i=r.code,a=r.message,o=r.path.join(`.`);if(!n[o])if(`unionErrors`in r){var s=r.unionErrors.reduce(function(e,t){return t.errors.length<e.errors.length?t:e}).errors[0];n[o]={message:s?.message??a,type:s?.code??i}}else n[o]={message:a,type:i};if(`unionErrors`in r&&r.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=m7(o,t,n,i,l?[].concat(l,r.message):r.message)}e.shift()}return n}function v3e(e,t){for(var n={},r=function(){var r=e[0],i=r.code,a=r.message,o=r.path.join(`.`);if(!n[o])if(r.code===`invalid_union`&&r.errors.length>0){var s=r.errors.reduce(function(e,t){return t.length<e.length?t:e})[0];n[o]={message:s?.message??a,type:s?.code??i}}else n[o]={message:a,type:i};if(r.code===`invalid_union`&&r.errors.forEach(function(t){return t.forEach(function(t){return e.push(B7({},t,{path:[].concat(r.path,t.path)}))})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=m7(o,t,n,i,l?[].concat(l,r.message):r.message)}e.shift()};e.length;)r();return n}function y3e(e,t,n){if(n===void 0&&(n={}),function(e){return`_zod`in e&&typeof e._zod==`object`}(e))return function(r,i,a){try{return Promise.resolve(g3e(function(){function i(e){return a.shouldUseNativeValidation&&z7({},a),{errors:{},values:n.raw?Object.assign({},r):e}}var o=e;return n.mode===`sync`?i(o.parse(r,t)):Promise.resolve(o.parseAsync(r,t)).then(i)},function(e){if(function(e){var t;return!(e==null||(t=e._zod)==null||(t=t.traits)==null||!t.has(`$ZodError`))}(e))return{values:{},errors:p3e(v3e(e.issues,!a.shouldUseNativeValidation&&a.criteriaMode===`all`),a)};throw e}))}catch(e){return Promise.reject(e)}};if(function(e){return`_def`in e&&typeof e._def==`object`}(e))return function(r,i,a){try{return Promise.resolve(g3e(function(){return Promise.resolve(e[n.mode===`sync`?`parse`:`parseAsync`](r,t)).then(function(e){return a.shouldUseNativeValidation&&z7({},a),{errors:{},values:n.raw?Object.assign({},r):e}})},function(e){if(function(e){return Array.isArray(e?.issues)}(e))return{values:{},errors:p3e(_3e(e.errors,!a.shouldUseNativeValidation&&a.criteriaMode===`all`),a)};throw e}))}catch(e){return Promise.reject(e)}};throw Error(`Invalid input: not a Zod schema`)}Object.freeze({status:`aborted`});
vendor: 4,156 bytes, line 1189
1189function V7(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var H7=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},b3e=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},U7={};function W7(e){return e&&Object.assign(U7,e),U7}function x3e(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function G7(e,t){return typeof t==`bigint`?t.toString():t}function K7(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function q7(e){return e==null}function J7(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}var S3e=Symbol(`evaluating`);function Y7(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==S3e)return r===void 0&&(r=S3e,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function X7(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Z7(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function C3e(e){return JSON.stringify(e)}function w3e(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var T3e=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Q7(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var E3e=K7(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function $7(e){if(Q7(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return Q7(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function D3e(e){return $7(e)?{...e}:Array.isArray(e)?[...e]:e}var O3e=new Set([`string`,`number`,`symbol`]);function e9(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function t9(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function n9(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function k3e(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}-Number.MAX_VALUE,Number.MAX_VALUE;function A3e(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return t9(e,Z7(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return X7(this,`shape`,e),e},checks:[]}))}function j3e(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return t9(e,Z7(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return X7(this,`shape`,r),r},checks:[]}))}function M3e(e,t){if(!$7(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot over
1189write keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return t9(e,Z7(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return X7(this,`shape`,n),n}}))}function N3e(e,t){if(!$7(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return t9(e,Z7(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return X7(this,`shape`,n),n}}))}function P3e(e,t){return t9(e,Z7(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return X7(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function F3e(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return t9(t,Z7(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return X7(this,`shape`,i),i},checks:[]}))}function I3e(e,t,n){return t9(t,Z7(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return X7(this,`shape`,i),i}}))}function r9(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function L3e(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function i9(e){return typeof e==`string`?e:e?.message}function a9(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=i9(e.inst?._zod.def?.error?.(e))??i9(t?.error?.(e))??i9(n.customError?.(e))??i9(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function o9(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function s9(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var R3e=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,G7,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},z3e=V7(`$ZodError`,R3e),B3e=V7(`$ZodError`,R3e,{Parent:Error});function V3e(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function H3e(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`&&i.errors.length)i.errors.map(e=>r({issues:e}));else if(i.code===`invalid_key`)r({issues:i.issues});else if(i.code===`invalid_element`)r({issues:i.issues});else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}var c9=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new H7;if(o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>a9(e,a,W7())));throw T3e(t,i?.callee),t}return o.value},l9=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>a9(e,a,W7())));throw T3e(t,i?.callee),t}return o.value},u9=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new H7;return a.issues.length?{success:!1,error:new(e??z3e)(a.issues.map(e=>a9(e,i,W7())))}:{success:!0,data:a.value}},U3e=u9(B3e),d9=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>a9(e,i,W7())))}:{success:!0,data:a.value}},W3e=d9(B3e),G3e=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return c9(e)(t,n,i)},K3e=e=>(t,n,r)=>c9(e)(t,n,r),q3e=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return l9(e)(t,n,i)},J3e=e=>async(t,n,r)=>l9(e)(t,n,r),Y3e=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return u9(e)(t,n,i)},X3e=e=>(t,n,r)=>u9(e)(t,n,r),Z3e=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return d9(e)(t,n,i)},Q3e=e=>async(t,n,r)=>d9(e)(t,n,r),$3e=/^[cC][^\s-]{8,}
vendor: 7,554 bytes, lines 1189-1191
1189$/,e6e=/^[0-9a-z]+$/,t6e=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,n6e=/^[0-9a-vA-V]{20}$/,r6e=/^[A-Za-z0-9]{27}$/,i6e=/^[a-zA-Z0-9_-]{21}$/,a6e=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,o6e=/^([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})$/,s6e=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[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)$/,c6e=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,l6e=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function u6e(){return new RegExp(l6e,`u`)}var d6e=/^(?:(?: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])$/,f6e=/^(([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}|:))$/,p6e=/^((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])$/,m6e=/^(([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])$/,h6e=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,g6e=/^[A-Za-z0-9_-]*$/,_6e=/^\+[1-9]\d{6,14}$/,v6e=`(?:(?:\\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])))`,y6e=RegExp(`^${v6e}$`);function b6e(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function x6e(e){return RegExp(`^${b6e(e)}$`)}function S6e(e){let t=b6e({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${v6e}T(?:${r})$`)}var C6e=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},w6e=/^[^A-Z]*$/,T6e=/^[^a-z]*$/,f9=V7(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),E6e=V7(`$ZodCheckMaxLength`,(e,t)=>{var n;f9.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!q7(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=o9(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),D6e=V7(`$ZodCheckMinLength`,(e,t)=>{var n;f9.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!q7(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=o9(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),O6e=V7(`$ZodCheckLengthEquals`,(e,t)=>{var n;f9.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!q7(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=o9(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),p9=V7(`$ZodCheckStringFormat`,(e,t)=>{var n,r;f9.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),k6e=V7(`$ZodCheckRegex`,(e,t)=>{p9.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),A6e=V7(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=w6e,p9.init(e,t)}),j6e=V7(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=T6e,p9.init(e,t)}),M6e=V7(`$ZodCheckIncludes`,(e,t)=>{f9.init(e,t);let n=e9(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),N6e=V7(`$ZodCheckStartsWith`,(e,t)=>{f9.init(e,t);let n=RegExp(`^${e9(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),P6e=V7(`$ZodCheckEndsWith`,(e,t)=>{f9.init(e,t);let n=RegExp(`.*${e9(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),F6e=V7(`$ZodCheckOverwrite`,(e,t)=>{f9.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),I6e=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(` 1190`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(` 1191`))}},L6e={major:4,minor:3,patch:6},m9=V7(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=L6e;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=r9(e),i;for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new H7;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=r9(e,t))});else{if(e.issues.length===t)continue;r||=r9(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(r9(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new H7;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>
vendor: 5,491 bytes, line 1191
1191{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new H7;return o.then(e=>t(e,r,a))}return t(o,r,a)}}Y7(e,`~standard`,()=>({validate:t=>{try{let n=U3e(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return W3e(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),h9=V7(`$ZodString`,(e,t)=>{m9.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??C6e(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),g9=V7(`$ZodStringFormat`,(e,t)=>{p9.init(e,t),h9.init(e,t)}),R6e=V7(`$ZodGUID`,(e,t)=>{t.pattern??=o6e,g9.init(e,t)}),z6e=V7(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=s6e(e)}else t.pattern??=s6e();g9.init(e,t)}),B6e=V7(`$ZodEmail`,(e,t)=>{t.pattern??=c6e,g9.init(e,t)}),V6e=V7(`$ZodURL`,(e,t)=>{g9.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),n.value=t.normalize?i.href:r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),H6e=V7(`$ZodEmoji`,(e,t)=>{t.pattern??=u6e(),g9.init(e,t)}),U6e=V7(`$ZodNanoID`,(e,t)=>{t.pattern??=i6e,g9.init(e,t)}),W6e=V7(`$ZodCUID`,(e,t)=>{t.pattern??=$3e,g9.init(e,t)}),G6e=V7(`$ZodCUID2`,(e,t)=>{t.pattern??=e6e,g9.init(e,t)}),K6e=V7(`$ZodULID`,(e,t)=>{t.pattern??=t6e,g9.init(e,t)}),q6e=V7(`$ZodXID`,(e,t)=>{t.pattern??=n6e,g9.init(e,t)}),J6e=V7(`$ZodKSUID`,(e,t)=>{t.pattern??=r6e,g9.init(e,t)}),Y6e=V7(`$ZodISODateTime`,(e,t)=>{t.pattern??=S6e(t),g9.init(e,t)}),X6e=V7(`$ZodISODate`,(e,t)=>{t.pattern??=y6e,g9.init(e,t)}),Z6e=V7(`$ZodISOTime`,(e,t)=>{t.pattern??=x6e(t),g9.init(e,t)}),Q6e=V7(`$ZodISODuration`,(e,t)=>{t.pattern??=a6e,g9.init(e,t)}),$6e=V7(`$ZodIPv4`,(e,t)=>{t.pattern??=d6e,g9.init(e,t),e._zod.bag.format=`ipv4`}),e8e=V7(`$ZodIPv6`,(e,t)=>{t.pattern??=f6e,g9.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),t8e=V7(`$ZodCIDRv4`,(e,t)=>{t.pattern??=p6e,g9.init(e,t)}),n8e=V7(`$ZodCIDRv6`,(e,t)=>{t.pattern??=m6e,g9.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function r8e(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var i8e=V7(`$ZodBase64`,(e,t)=>{t.pattern??=h6e,g9.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{r8e(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function a8e(e){if(!g6e.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return r8e(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var o8e=V7(`$ZodBase64URL`,(e,t)=>{t.pattern??=g6e,g9.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{a8e(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),s8e=V7(`$ZodE164`,(e,t)=>{t.pattern??=_6e,g9.init(e,t)});function c8e(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var l8e=V7(`$ZodJWT`,(e,t)=>{g9.init(e,t),e._zod.check=n=>{c8e(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),u8e=V7(`$ZodUnknown`,(e,t)=>{m9.init(e,t),e._zod.parse=e=>e}),d8e=V7(`$ZodNever`,(e,t)=>{m9.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function f8e(e,t,n){e.issues.length&&t.issues.push(...L3e(n,e.issues)),t.value[n]=e.value}var p8e=V7(`$ZodArray`,(e,t)=>{m9.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>f8e(t,n,e))):f8e(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function _9(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...L3e(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function m8e(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=k3e(e.shape);
vendor: 12,226 bytes, lines 1191-1225
1191return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function h8e(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optout===`optional`;for(let i in t){if(s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>_9(e,n,i,t,u))):_9(a,n,i,t,u)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var g8e=V7(`$ZodObject`,(e,t)=>{if(m9.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let n=K7(()=>m8e(t));Y7(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=Q7,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optout===`optional`,i=n._zod.run({value:s[e],issues:[]},o);i instanceof Promise?c.push(i.then(n=>_9(n,t,e,s,r))):_9(i,t,e,s,r)}return i?h8e(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),_8e=V7(`$ZodObjectJIT`,(e,t)=>{g8e.init(e,t);let n=e._zod.parse,r=K7(()=>m8e(t)),i=e=>{let t=new I6e([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=C3e(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=C3e(r),s=e[r]?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),s?t.write(` 1192 if (${n}.issues.length) { 1193 if (${o} in input) { 1194 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 1195 ...iss, 1196 path: iss.path ? [${o}, ...iss.path] : [${o}] 1197 }))); 1198 } 1199 } 1200 1201 if (${n}.value === undefined) { 1202 if (${o} in input) { 1203 newResult[${o}] = undefined; 1204 } 1205 } else { 1206 newResult[${o}] = ${n}.value; 1207 } 1208 1209 `):t.write(` 1210 if (${n}.issues.length) { 1211 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 1212 ...iss, 1213 path: iss.path ? [${o}, ...iss.path] : [${o}] 1214 }))); 1215 } 1216 1217 if (${n}.value === undefined) { 1218 if (${o} in input) { 1219 newResult[${o}] = undefined; 1220 } 1221 } else { 1222 newResult[${o}] = ${n}.value; 1223 } 1224 1225 `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=Q7,s=!U7.jitless,c=s&&E3e.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?h8e([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function v8e(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!r9(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>a9(e,r,W7())))}),t)}var y8e=V7(`$ZodUnion`,(e,t)=>{m9.init(e,t),Y7(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),Y7(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),Y7(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),Y7(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>J7(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>v8e(t,i,e,a)):v8e(s,i,e,a)}}),b8e=V7(`$ZodIntersection`,(e,t)=>{m9.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>x8e(e,t,n)):x8e(e,i,a)}});function v9(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if($7(e)&&$7(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=v9(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=v9(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function x8e(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),r9(e))return e;let o=v9(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var S8e=V7(`$ZodEnum`,(e,t)=>{m9.init(e,t);let n=x3e(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>O3e.has(typeof e)).map(e=>typeof e==`string`?e9(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),C8e=V7(`$ZodTransform`,(e,t)=>{m9.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new b3e(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new H7;return n.value=i,n}});function w8e(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var T8e=V7(`$ZodOptional`,(e,t)=>{m9.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,Y7(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Y7(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${J7(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>w8e(t,e.value)):w8e(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),E8e=V7(`$ZodExactOptional`,(e,t)=>{T8e.init(e,t),Y7(e._zod,`values`,()=>t.innerType._zod.values),Y7(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),D8e=V7(`$ZodNullable`,(e,t)=>{m9.init(e,t),Y7(e._zod,`optin`,()=>t.innerType._zod.optin),Y7(e._zod,`optout`,()=>t.innerType._zod.optout),Y7(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${J7(e.source)}|null)$`):void 0}),Y7(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),O8e=V7(`$ZodDefault`,(e,t)=>{m9.init(e,t),e._zod.optin=`optional`,Y7(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>k8e(e,t)):k8e(r,t)}});function k8e(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var A8e=V7(`$ZodPrefault`,(e,t)=>{m9.init(e,t),e._zod.optin=`optional`,Y7(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),j8e=V7(`$ZodNonOptional`,(e,t)=>{m9.init(e,t),Y7(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>M8e(t,e)):M8e(i,e)}});function M8e(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var N8e=V7(`$ZodCatch`,(e,t)=>{m9.init(e,t),Y7(e._zod,`optin`,()=>t.innerType._zod.optin),Y7(e._zod,`optout`,()=>t.innerType._zod.optout),Y7(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>a9(e,n,W7()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>a9(e,n,W7()))},input:e.value}),e.issues=[]),e)}}),P8e=V7(`$ZodPipe`,(e,t)=>{m9.init(e,t),Y7(e._zod,`values`,()=>t.in._zod.values),Y7(e._zod,`optin`,()=>t.in._zod.optin),Y7(e._zod,`optout`,()=>t.out._zod.optout),Y7(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>y9(e,t.in,n)):y9(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>y9(e,t.out,n)):y9(r,t.out,n)}});function y9(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var F8e=V7(`$ZodReadonly`,(e,t)=>{m9.init(e,t),Y7(e._zod,`propValues`,()=>t.innerType._zod.propValues),Y7(e._zod,`values`,()=>t.innerType._zod.values),Y7(e._zod,`optin`,()=>t.innerType?._zod?.optin),Y7(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(I8e):I8e(r)}});function I8e(e){return e.value=Object.freeze(e.value),e}var L8e=V7(`$ZodCustom`,(e,t)=>{f9.init(e,t),m9.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>R8e(t,n,r,e));R8e(i,n,r,e)}});function R8e(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(s9(e))}}var z8e,B8e=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function V8e(){return new B8e}(z8e=globalThis).__zod_globalRegistry??(z8e.__zod_globalRegistry=V8e());var b9=globalThis.__zod_globalRegistry;function H8e(e,t){return new e({type:`string`,...n9(t)})}function U8e(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...n9(t)})}function W8e(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...n9(t)})}function G8e(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...n9(t)})}function K8e(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...n9(t)})}function q8e(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...n9(t)})}function J8e(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...n9(t)})}function Y8e(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...n9(t)})}function X8e(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...n9(t)})}
1225function Z8e(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...n9(t)})}function Q8e(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...n9(t)})}function $8e(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...n9(t)})}function e5e(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...n9(t)})}function t5e(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...n9(t)})}function n5e(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...n9(t)})}function r5e(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...n9(t)})}function i5e(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...n9(t)})}function a5e(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...n9(t)})}function o5e(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...n9(t)})}function s5e(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...n9(t)})}function c5e(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...n9(t)})}function l5e(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...n9(t)})}function u5e(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...n9(t)})}function d5e(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...n9(t)})}function f5e(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...n9(t)})}function p5e(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...n9(t)})}function m5e(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...n9(t)})}function h5e(e){return new e({type:`unknown`})}function g5e(e,t){return new e({type:`never`,...n9(t)})}function _5e(e,t){return new E6e({check:`max_length`,...n9(t),maximum:e})}function x9(e,t){return new D6e({check:`min_length`,...n9(t),minimum:e})}function v5e(e,t){return new O6e({check:`length_equals`,...n9(t),length:e})}function y5e(e,t){return new k6e({check:`string_format`,format:`regex`,...n9(t),pattern:e})}function b5e(e){return new A6e({check:`string_format`,format:`lowercase`,...n9(e)})}function x5e(e){return new j6e({check:`string_format`,format:`uppercase`,...n9(e)})}function S5e(e,t){return new M6e({check:`string_format`,format:`includes`,...n9(t),includes:e})}function C5e(e,t){return new N6e({check:`string_format`,format:`starts_with`,...n9(t),prefix:e})}function w5e(e,t){return new P6e({check:`string_format`,format:`ends_with`,...n9(t),suffix:e})}function S9(e){return new F6e({check:`overwrite`,tx:e})}function T5e(e){return S9(t=>t.normalize(e))}function E5e(){return S9(e=>e.trim())}function D5e(){return S9(e=>e.toLowerCase())}function O5e(){return S9(e=>e.toUpperCase())}function k5e(){return S9(e=>w3e(e))}function A5e(e,t,n){return new e({type:`array`,element:t,...n9(n)})}function j5e(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...n9(n)})}function M5e(e){let t=N5e(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(s9(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(s9(r))}},e(n.value,n)));return t}function N5e(e,t){let n=new f9({check:`custom`,...n9(t)});return n._zod.check=e,n}function P5e(e){let t=e?.target??`draft-2020-12`;
vendor: 4,163 bytes, lines 1225-1227
1225return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??b9,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function C9(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,C9(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&w9(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function F5e(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root> 1226 1227Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function I5e(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>
vendor: 7,273 bytes, line 1227
12270&&(e.target===`draft-2020-12`?i.$defs=a:i.definitions=a);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:T9(t,`input`,e.processors),output:T9(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function w9(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return w9(r.element,n);if(r.type===`set`)return w9(r.valueType,n);if(r.type===`lazy`)return w9(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return w9(r.innerType,n);if(r.type===`intersection`)return w9(r.left,n)||w9(r.right,n);if(r.type===`record`||r.type===`map`)return w9(r.keyType,n)||w9(r.valueType,n);if(r.type===`pipe`)return w9(r.in,n)||w9(r.out,n);if(r.type===`object`){for(let e in r.shape)if(w9(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(w9(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(w9(e,n))return!0;return!!(r.rest&&w9(r.rest,n))}return!1}var L5e=(e,t={})=>n=>{let r=P5e({...n,processors:t});return C9(e,r),F5e(r,e),I5e(r,e)},T9=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=P5e({...i??{},target:a,io:t,processors:n});return C9(e,o),F5e(o,e),I5e(o,e)},R5e={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},z5e=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=R5e[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},B5e=(e,t,n,r)=>{n.not={}},V5e=(e,t,n,r)=>{let i=e._zod.def,a=x3e(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},H5e=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},U5e=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},W5e=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=C9(a.element,t,{...r,path:[...r.path,`items`]})},G5e=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=C9(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=C9(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},K5e=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>C9(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},q5e=(e,t,n,r)=>{let i=e._zod.def,a=C9(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=C9(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},J5e=(e,t,n,r)=>{let i=e._zod.def,a=C9(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Y5e=(e,t,n,r)=>{let i=e._zod.def;C9(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},X5e=(e,t,n,r)=>{let i=e._zod.def;C9(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},Z5e=(e,t,n,r)=>{let i=e._zod.def;C9(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},Q5e=(e,t,n,r)=>{let i=e._zod.def;C9(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},$5e=(e,t,n,r)=>{let i=e._zod.def,a=t.io===`input`?i.in._zod.def.type===`transform`?i.out:i.in:i.out;C9(a,t,r);let o=t.seen.get(e);o.ref=a},e7e=(e,t,n,r)=>{let i=e._zod.def;C9(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},t7e=(e,t,n,r)=>{let i=e._zod.def;C9(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},n7e=V7(`ZodISODateTime`,(e,t)=>{Y6e.init(e,t),k9.init(e,t)});function r7e(e){return d5e(n7e,e)}var i7e=V7(`ZodISODate`,(e,t)=>{X6e.init(e,t),k9.init(e,t)});function a7e(e){return f5e(i7e,e)}var o7e=V7(`ZodISOTime`,(e,t)=>{Z6e.init(e,t),k9.init(e,t)});function s7e(e){return p5e(o7e,e)}var c7e=V7(`ZodISODuration`,(e,t)=>{Q6e.init(e,t),k9.init(e,t)});function l7e(e){return m5e(c7e,e)}var u7e=(e,t)=>{z3e.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>H3e(e,t)},flatten:{value:t=>V3e(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,G7,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,G7,2)}},isEmpty:{get(){return e.issues.length===0}}})};V7(`ZodError`,u7e);var E9=V7(`ZodError`,u7e,{Parent:Error}),d7e=c9(E9),f7e=l9(E9),p7e=u9(E9),m7e=d9(E9),h7e=G3e(E9),g7e=K3e(E9),_7e=q3e(E9),v7e=J3e(E9),y7e=Y3e(E9),b7e=X3e(E9),x7e=Z3e(E9),S7e=Q3e(E9),D9=V7(`ZodType`,(e,t)=>(m9.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:T9(e,`input`),output:T9(e,`output`)}}),e.toJSONSchema=L5e(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(Z7(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>t9(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>d7e(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>p7e(e,t,n),e.parseAsync=async(t,n)=>f7e(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>m7e(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>h7e(e,t,n),e.decode=(t,n)=>g7e(e,t,n),e.encodeAsync=async(t,n)=>_7e(e,t,n),e.decodeAsync=async(t,n)=>v7e(e,t,n),e.safeEncode=(t,n)=>y7e(e,t,n),e.safeDecode=(t,n)=>b7e(e,t,n),e.safeEncodeAsync=async(t,n)=>x7e(e,t,n),e.safeDecodeAsync=async(t,n)=>S7e(e,t,n),e.refine=(t,n)=>e.check(C9e(t,n)),e.superRefine=t=>e.check(w9e(t)),e.overwrite=t=>e.check(S9(t)),e.optional=()=>a9e(e),e.exactOptional=()=>s9e(e),e.nullable=()=>l9e(e),e.nullish=()=>a9e(l9e(e)),e.nonoptional=t=>h9e(e,t),e.array=()=>J7e(e),e.or=t=>Q7e([e,t]),e.and=t=>e9e(e,t),e.transform=t=>y9e(e,r9e(t)),e.default=t=>d9e(e,t),e.prefault=t=>p9e(e,t),e.catch=t=>_9e(e,t),e.pipe=t=>y9e(e,t),e.readonly=()=>x9e(e),e.describe=t=>{let n=e.clone();return b9.add(n,{description:t}),n},Object.defineProperty(e,"description",{get(){return b9.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return b9.get(e);let n=e.clone();return b9.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>
1227e.safeParse(null).success,e.apply=t=>t(e),e)),C7e=V7(`_ZodString`,(e,t)=>{h9.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>z5e(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(y5e(...t)),e.includes=(...t)=>e.check(S5e(...t)),e.startsWith=(...t)=>e.check(C5e(...t)),e.endsWith=(...t)=>e.check(w5e(...t)),e.min=(...t)=>e.check(x9(...t)),e.max=(...t)=>e.check(_5e(...t)),e.length=(...t)=>e.check(v5e(...t)),e.nonempty=(...t)=>e.check(x9(1,...t)),e.lowercase=t=>e.check(b5e(t)),e.uppercase=t=>e.check(x5e(t)),e.trim=()=>e.check(E5e()),e.normalize=(...t)=>e.check(T5e(...t)),e.toLowerCase=()=>e.check(D5e()),e.toUpperCase=()=>e.check(O5e()),e.slugify=()=>e.check(k5e())}),w7e=V7(`ZodString`,(e,t)=>{h9.init(e,t),C7e.init(e,t),e.email=t=>e.check(U8e(T7e,t)),e.url=t=>e.check(Y8e(D7e,t)),e.jwt=t=>e.check(u5e(H7e,t)),e.emoji=t=>e.check(X8e(O7e,t)),e.guid=t=>e.check(W8e(E7e,t)),e.uuid=t=>e.check(G8e(A9,t)),e.uuidv4=t=>e.check(K8e(A9,t)),e.uuidv6=t=>e.check(q8e(A9,t)),e.uuidv7=t=>e.check(J8e(A9,t)),e.nanoid=t=>e.check(Z8e(k7e,t)),e.guid=t=>e.check(W8e(E7e,t)),e.cuid=t=>e.check(Q8e(A7e,t)),e.cuid2=t=>e.check($8e(j7e,t)),e.ulid=t=>e.check(e5e(M7e,t)),e.base64=t=>e.check(s5e(z7e,t)),e.base64url=t=>e.check(c5e(B7e,t)),e.xid=t=>e.check(t5e(N7e,t)),e.ksuid=t=>e.check(n5e(P7e,t)),e.ipv4=t=>e.check(r5e(F7e,t)),e.ipv6=t=>e.check(i5e(I7e,t)),e.cidrv4=t=>e.check(a5e(L7e,t)),e.cidrv6=t=>e.check(o5e(R7e,t)),e.e164=t=>e.check(l5e(V7e,t)),e.datetime=t=>e.check(r7e(t)),e.date=t=>e.check(a7e(t)),e.time=t=>e.check(s7e(t)),e.duration=t=>e.check(l7e(t))});function O9(e){return H8e(w7e,e)}var k9=V7(`ZodStringFormat`,(e,t)=>{g9.init(e,t),C7e.init(e,t)}),T7e=V7(`ZodEmail`,(e,t)=>{B6e.init(e,t),k9.init(e,t)}),E7e=V7(`ZodGUID`,(e,t)=>{R6e.init(e,t),k9.init(e,t)}),A9=V7(`ZodUUID`,(e,t)=>{z6e.init(e,t),k9.init(e,t)}),D7e=V7(`ZodURL`,(e,t)=>{V6e.init(e,t),k9.init(e,t)}),O7e=V7(`ZodEmoji`,(e,t)=>{H6e.init(e,t),k9.init(e,t)}),k7e=V7(`ZodNanoID`,(e,t)=>{U6e.init(e,t),k9.init(e,t)}),A7e=V7(`ZodCUID`,(e,t)=>{W6e.init(e,t),k9.init(e,t)}),j7e=V7(`ZodCUID2`,(e,t)=>{G6e.init(e,t),k9.init(e,t)}),M7e=V7(`ZodULID`,(e,t)=>{K6e.init(e,t),k9.init(e,t)}),N7e=V7(`ZodXID`,(e,t)=>{q6e.init(e,t),k9.init(e,t)}),P7e=V7(`ZodKSUID`,(e,t)=>{J6e.init(e,t),k9.init(e,t)}),F7e=V7(`ZodIPv4`,(e,t)=>{$6e.init(e,t),k9.init(e,t)}),I7e=V7(`ZodIPv6`,(e,t)=>{e8e.init(e,t),k9.init(e,t)}),L7e=V7(`ZodCIDRv4`,(e,t)=>{t8e.init(e,t),k9.init(e,t)}),R7e=V7(`ZodCIDRv6`,(e,t)=>{n8e.init(e,t),k9.init(e,t)}),z7e=V7(`ZodBase64`,(e,t)=>{i8e.init(e,t),k9.init(e,t)}),B7e=V7(`ZodBase64URL`,(e,t)=>{o8e.init(e,t),k9.init(e,t)}),V7e=V7(`ZodE164`,(e,t)=>{s8e.init(e,t),k9.init(e,t)}),H7e=V7(`ZodJWT`,(e,t)=>{l8e.init(e,t),k9.init(e,t)}),U7e=V7(`ZodUnknown`,(e,t)=>{u8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function W7e(){return h5e(U7e)}var G7e=V7(`ZodNever`,(e,t)=>{d8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>B5e(e,t,n,r)});function K7e(e){return g5e(G7e,e)}var q7e=V7(`ZodArray`,(e,t)=>{p8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>W5e(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(x9(t,n)),e.nonempty=t=>e.check(x9(1,t)),e.max=(t,n)=>e.check(_5e(t,n)),e.length=(t,n)=>e.check(v5e(t,n)),e.unwrap=()=>e.element});function J7e(e,t){return A5e(q7e,e,t)}var Y7e=V7(`ZodObject`,(e,t)=>{_8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>G5e(e,t,n,r),Y7(e,`shape`,()=>t.shape),e.keyof=()=>t9e(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:W7e()}),e.loose=()=>e.clone({...e._zod.def,catchall:W7e()}),e.strict=()=>e.clone({...e._zod.def,catchall:K7e()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>M3e(e,t),e.safeExtend=t=>N3e(e,t),e.merge=t=>P3e(e,t),e.pick=t=>A3e(e,t),e.omit=t=>j3e(e,t),e.partial=(...t)=>F3e(i9e,e,t[0]),e.required=(...t)=>I3e(m9e,e,t[0])});function X7e(e,t){return new Y7e({type:`object`,shape:e??{},...n9(t)})}var Z7e=V7(`ZodUnion`,(e,t)=>{y8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>K5e(e,t,n,r),e.options=t.options});function Q7e(e,t){return new Z7e({type:`union`,options:e,...n9(t)})}var $7e=V7(`ZodIntersection`,(e,t)=>{b8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>q5e(e,t,n,r)});function e9e(e,t){return new $7e({type:`intersection`,left:e,right:t})}var j9=V7(`ZodEnum`,(e,t)=>{S8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>V5e(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new j9({...t,checks:[],...n9(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new j9({...t,checks:[],...n9(r),entries:i})}});function t9e(e,t){return new j9({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...n9(t)})}var n9e=V7(`ZodTransform`,(e,t)=>{C8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>U5e(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new b3e(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(s9(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(s9(t))}};
1227let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function r9e(e){return new n9e({type:`transform`,transform:e})}var i9e=V7(`ZodOptional`,(e,t)=>{T8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>t7e(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function a9e(e){return new i9e({type:`optional`,innerType:e})}var o9e=V7(`ZodExactOptional`,(e,t)=>{E8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>t7e(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function s9e(e){return new o9e({type:`optional`,innerType:e})}var c9e=V7(`ZodNullable`,(e,t)=>{D8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>J5e(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function l9e(e){return new c9e({type:`nullable`,innerType:e})}var u9e=V7(`ZodDefault`,(e,t)=>{O8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>X5e(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function d9e(e,t){return new u9e({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():D3e(t)}})}var f9e=V7(`ZodPrefault`,(e,t)=>{A8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Z5e(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function p9e(e,t){return new f9e({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():D3e(t)}})}var m9e=V7(`ZodNonOptional`,(e,t)=>{j8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Y5e(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function h9e(e,t){return new m9e({type:`nonoptional`,innerType:e,...n9(t)})}var g9e=V7(`ZodCatch`,(e,t)=>{N8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Q5e(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function _9e(e,t){return new g9e({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var v9e=V7(`ZodPipe`,(e,t)=>{P8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$5e(e,t,n,r),e.in=t.in,e.out=t.out});function y9e(e,t){return new v9e({type:`pipe`,in:e,out:t})}var b9e=V7(`ZodReadonly`,(e,t)=>{F8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>e7e(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function x9e(e){return new b9e({type:`readonly`,innerType:e})}var S9e=V7(`ZodCustom`,(e,t)=>{L8e.init(e,t),D9.init(e,t),e._zod.processJSONSchema=(t,n,r)=>H5e(e,t,n,r)});function C9e(e,t={}){return j5e(S9e,e,t)}function w9e(e){return M5e(e)}var T9e=bT(`group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-card text-card-foreground`,destructive:`bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current`}},defaultVariants:{variant:`default`}});function E9e({className:e,variant:t,...n}){return(0,U.jsx)(`div`,{"data-slot":`alert`,role:`alert`,className:W(T9e({variant:t}),e),...n})}function D9e({className:e,...t}){return(0,U.jsx)(`div`,{"data-slot":`alert-title`,className:W(`[&_a]:hover:text-foreground font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3`,e),...t})}function O9e({className:e,...t}){return(0,U.jsx)(`div`,{"data-slot":`alert-description`,className:W(`text-muted-foreground [&_a]:hover:text-foreground text-sm text-balance md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4`,e),...t})}function k9e(){let e=X(`pages.auth.acceptInvite`),t=oS().get(`token`)??``,n=ade(t);return t?n.isPending?(0,U.jsxs)(`div`,{className:`text-muted-foreground flex flex-col items-center gap-3 py-6 text-center text-[13px]`,role:`status`,children:[(0,U.jsx)(gb,{className:`text-brand size-6 animate-spin`}),e(`loading`)]}):n.isError||n.data.status!==`PENDING`?(0,U.jsx)(A9e,{body:e(`invalidBody`)}):(0,U.jsx)(j9e,{token:t,email:n.data.email,workspace:n.data.companyName,role:n.data.role}):(0,U.jsx)(A9e,{body:e(`missingToken`)})}function A9e({body:e}){let t=X(`pages.auth.acceptInvite`);return(0,U.jsxs)(`div`,{className:`flex flex-col items-center gap-4 py-2 text-center`,children:[(0,U.jsx)(`div`,{className:`bg-danger-soft text-danger grid size-11 place-items-center rounded-full`,children:(0,U.jsx)(nx,{className:`size-5`})}),(0,U.jsxs)(`div`,{className:`space-y-1`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong text-[18px] font-bold`,children:t(`invalidHeading`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12.5px]`,children:e})]}),(0,U.jsx)(Z,{asChild:!0,variant:`outline`,size:`sm`,children:(0,U.jsx)(Qw,{href:`/auth/login`,children:t(`backToLogin`)})})]})}function j9e({token:e,email:t,workspace:n,role:r}){let i=X(`pages.auth.acceptInvite`),a=rS(),o=ode(),[s,c]=(0,O.useState)(!1),[l,u]=(0,O.useState)(null),{register:d,handleSubmit:f,formState:{errors:p,isSubmitting:m}}=d3e({resolver:y3e((0,O.useMemo)(()=>X7e({firstName:O9().trim().min(1,i(`validation.required`)),lastName:O9().trim().min(1,i(`validation.required`)),password:O9().min(8,i(`validation.passwordMin`)),confirmPassword:O9().min(1,i(`validation.required`))}).refine(e=>e.password===e.confirmPassword,{path:[`confirmPassword`],message:i(`validation.passwordMismatch`)}),[i])),defaultValues:{firstName:``,lastName:``,password:``,confirmPassword:``}}),h=f(async t=>{u(null);try{await o.mutateAsync({token:e,firstName:t.firstName.trim(),lastName:t.lastName.trim(),password:t.password}),G.success(i(`successToast`)),a.push(`/auth/login`)}catch(e){u(M9e(e,i))}});return(0,U.jsxs)(`div`,{className:`space-y-5`,children:[(0,U.jsxs)(`div`,{className:`space-y-1 text-center`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-brand-deep dark:text-foreground text-[20px] font-bold`,children:i(`heading`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px]`,children:i(`subheading`,{workspace:n})}),(0,U.jsx)(`p`,{className:`text-fg-hint text-[11.5px]`,children:i(`roleNote`,{role:i(`role.${r}`)})})]}),(0,U.jsxs)(`form`,{noValidate:!0,onSubmit:h,className:`space-y-4`,"aria-describedby":l?`accept-form-error`:void 0,children:[l&&(0,U.jsxs)(E9e,{id:`accept-form-error`,variant:`destructive`,role:`alert`,children:[(0,U.jsx)(D9e,{children:i(`errors.failed`)}),(0,U.jsx)(O9e,{children:l})]}),(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`email`,children:i(`labels.email`)}),(0,U.jsx)(IT,{id:`email`,type:`email`,value:t,readOnly:!0,disabled:!0,className:`opacity-80`})]}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`firstName`,children:i(`labels.firstName`)}),(0,U.jsx)(IT,{id:`firstName`,type:`text`,autoComplete:`given-name`,autoFocus:!0,placeholder:i(`placeholders.firstName`),"aria-invalid":!!p.firstName||void 0,disabled:m,...d(`firstName`)}),p.firstName&&(0,U.jsx)(`p`,{className:`text-danger text-[11.5px]`,children:p.firstName.message})]}),(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`lastName`,children:i(`labels.lastName`)}),(0,U.jsx)(IT,{id:`lastName`,type:`text`,autoComplete:`family-name`,placeholder:i(`placeholders.lastName`),"aria-invalid":!!p.lastName||void 0,disabled:m,...d(`lastName`)}),p.lastName&&(0,U.jsx)(`p`,{className:`text-danger text-[11.5px]`,children:p.lastName.message})]})]}),(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`password`,children:i(`labels.password`)}),(0,U.jsxs)(`div`,{className:`relative`,children:[(0,U.jsx)(IT,{id:`password`,type:s?`text`:`password`,autoComplete:`new-password`,placeholder:i(`placeholders.password`),"aria-invalid":!!p.password||void 0,disabled:m,className:`pr-9`,...d(`password`)}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>c(e=>!e),className:`text-muted-foreground hover:text-foreground focus-visible:ring-ring absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus-visible:ring-2 focus-visible:outline-none`,"aria-label":i(s?`togglePasswordHide`:`togglePasswordShow`),tabIndex:m?-1:0,children:s?(0,U.jsx)(tb,{className:`size-4`}):(0,U.jsx)(nb,{className:`size-4`})})]}),p.password&&(0,U.jsx)(`p`,{className:`text-danger text-[11.5px]`,children:p.password.message})]}),(0,U.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,U.jsx)(DT,{htmlFor:`confirmPassword`,children:i(`labels.confirmPassword`)}),(0,U.jsx)(IT,{id:`confirmPassword`,type:s?`text`:`password`,autoComplete:`new-password`,placeholder:i(`placeholders.confirmPassword`),"aria-invalid":!!p.confirmPassword||void 0,disabled:m,...d(`confirmPassword`)}),p.confirmPassword&&(0,U.jsx)(`p`,{className:`text-danger text-[11.5px]`,children:p.confirmPassword.message})]}),(0,U.jsx)(Z,{type:`submit`,className:`w-full`,disabled:m,children:m?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(gb,{className:`size-4 animate-spin`}),i(`accepting`)]}):i(`accept`)}),(0,U.jsx)(`p`,{className:`text-center`,children:(0,U.jsx)(Qw,{href:`/auth/login`,className:`text-brand hover:text-brand/90 text-[12px] font-medium`,children:i(`backToLogin`)})})]})]})}function M9e(e,t){let n=e;if(n?.response){let e=n.response.data;if(typeof e==`string`&&e.trim())return e;if(e&&typeof e==`object`){let t=e.message??e.error;if(typeof t==`string`&&t.trim())return t}return t(`errors.unexpected`)}return n?.request?t(`errors.network`):t(`errors.unexpected`)}function N9e(){let e=X(`pages.auth.acceptInvite`);return(0,O.useEffect)(()=>{document.title=`${e(`pageTitle`)} · Text2Test`},[e]),(0,U.jsxs)(`div`,{className:`bg-background text-foreground relative flex min-h-dvh flex-col`,children:[(0,U.jsx)(`div`,{className:`absolute top-4 right-4 z-10`,children:(0,U.jsx)(k5,{})}),(0,U.jsx)(`div`,{"aria-hidden":`true`,className:`via-brand/5 pointer-events-none absolute inset-0 bg-gradient-to-b from-transparent to-transparent dark:via-trans
1227parent`}),(0,U.jsx)(`main`,{className:`relative flex flex-1 items-center justify-center px-4 py-10`,children:(0,U.jsxs)(`div`,{className:`w-full max-w-sm`,children:[(0,U.jsx)(`div`,{className:`mb-6 flex flex-col items-center gap-3 text-center`,children:(0,U.jsx)($w,{size:36,showWordmark:!0})}),(0,U.jsx)(`div`,{className:`from-brand/40 rounded-[calc(var(--radius-lg)+2px)] bg-gradient-to-b via-transparent to-transparent p-px`,children:(0,U.jsx)(P4e,{className:`bg-card border-border rounded-lg border shadow-sm`,children:(0,U.jsx)(F4e,{className:`p-6 sm:p-7`,children:(0,U.jsx)(k9e,{})})})})]})})]})}function M9(e){let t=e.get(`wide`);return t!=null&&t!==`0`&&t.toLowerCase()!==`false`}var P9e=`[email protected]`;function F9e(e,t){let n=[...e??[]].sort((e,t)=>(e.creationTime??0)-(t.creationTime??0));return n.map((e,r)=>{let i=IQ(e.step),a=n[r+1]?.creationTime??t,o=e.creationTime&&a&&a>e.creationTime?a-e.creationTime:void 0;return{key:e.id??`step-${r}`,index:r+1,label:i.label||LQ(e.step),detail:e.actionDetails?.action?[e.actionDetails.action,e.actionDetails.intent??i.intent].filter(
1227Boolean).join(` · `):e.actionDetails?.intent??i.intent??e.intention,tone:i$(e.status),url:i.url,screenshot:e.screenshot,durationMs:o}})}function I9e({run:e,artifacts:t,workspaceName:n,wide:r=!1,snapshotDate:i,showAbuseLink:a,topbarMeta:o,topbarActions:s}){let c=X(`pages.publicRunShare`),{useArtifactJson:l,useScreenshot:u,useVideoSrc:d}=t,[f,p]=(0,O.useState)(`all`),[m,h]=(0,O.useState)(null),[g,_]=(0,O.useState)(null),v=e.execution,y=e.reports??[],b=y.find(e=>e.reportDataUrl||e.harUrl||e.videoUrl||e.rrwebUrl)??y[0],x=b?.rrwebUrl,S=b?.videoUrl,C=y.find(e=>e.reportDataUrl)?.reportDataUrl,w=y.find(e=>e.harUrl)?.harUrl,T=l(x),E=l(C),D=l(w),k=d(x?void 0:S),A=(0,O.useMemo)(()=>F9e(e.steps,e.execution?.endTime),[e.steps,e.execution?.endTime]),j=A.filter(e=>e.tone===`passed`).length,M=A.filter(e=>e.tone===`failed`).length,N=A.filter(e=>e.tone===`skipped`).length,P=A.length||(b?.successStepCount??0)+(b?.failedStepCount??0),F=A.length-N,I=P>0?Math.round((A.length?j:b?.successStepCount??0)/P*100):0,L=A.find(e=>e.tone===`failed`),R=b?.environment??v?.environment?.browser??v?.platform??`-`,z=A.find(e=>e.url)?.url,B=(0,O.useMemo)(()=>{if(!z)return R;try{return new URL(z).host}catch{return z}},[z,R]),ee=A.filter(e=>f===`all`?!0:f===`failed`?e.tone===`failed`:e.tone===`skipped`),V=v?.status?KH(v.status):`pending`,te=E.data?.logs??[],ne=te.filter(e=>zQ(e)===`err`).length,re=te.filter(e=>zQ(e)===`warn`).length,ie=D.data?.log?.entries??[],ae=ie.filter(e=>(e.response?.status??0)>=400).length,oe=L?.durationMs==null?`-`:B9(L.durationMs),H=[L?.detail,L?.label].find(e=>e&&!U9e(e))??``,se=!!(k.data&&g===k.data),ce=!!(x&&!T.isPending&&(T.isError||!T.data||T.data.length<2)),le=r?`min(680px, calc(100dvh - 340px))`:`min(620px, calc(100dvh - 260px))`,ue=W9e(v),de=(0,U.jsxs)(`div`,{className:`grid min-w-0 flex-1 grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4`,children:[(0,U.jsxs)(R9,{label:c(`stepOutcomes`),children:[(0,U.jsxs)(`span`,{className:`text-fg-strong text-[16px] font-bold`,children:[A.length?j:b?.successStepCount??0,(0,U.jsxs)(`span`,{className:`text-muted-foreground text-[12px] font-medium`,children:[` / `,P]})]}),A.length>0&&(0,U.jsx)(`span`,{className:`text-muted-foreground block text-[11px]`,children:c(`ranSkipped`,{ran:F,skipped:N})})]}),(0,U.jsxs)(R9,{label:c(`failedAt`),accent:L?`failed`:void 0,children:[(0,U.jsx)(`span`,{className:W(`text-[16px] font-bold`,L?`text-status-failed`:`text-fg-strong`),children:L?`#${String(L.index).padStart(2,`0`)}`:`-`}),L&&(0,U.jsx)(`span`,{className:`text-muted-foreground block truncate text-[11px]`,children:L.label})]}),(0,U.jsxs)(R9,{label:c(`duration`),children:[(0,U.jsx)(`span`,{className:`text-fg-strong font-mono text-[16px] font-bold`,children:ZQ(v?.startTime,v?.endTime)}),L?.durationMs!=null&&(0,U.jsx)(`span`,{className:`text-muted-foreground block text-[11px]`,children:c(`inFailedStep`,{duration:oe})})]}),(0,U.jsxs)(R9,{label:c(`target`),children:[(0,U.jsx)(`span`,{className:`text-fg-strong block truncate text-[14px] font-bold`,title:z??R,children:B}),R!==`-`&&(0,U.jsx)(`span`,{className:`text-muted-foreground block truncate text-[11px]`,children:R})]})]}),fe=r?(0,U.jsxs)(`section`,{className:`grid grid-cols-1 gap-4 lg:grid-cols-[220px_minmax(0,1fr)]`,children:[(0,U.jsx)(`div`,{className:`border-border bg-card flex items-center justify-center rounded-xl border-[0.5px] p-5`,children:(0,U.jsx)(pQ,{pct:I,size:108,label:c(`passRate`)})}),(0,U.jsx)(`div`,{className:`border-border bg-card rounded-xl border-[0.5px] p-5`,children:de})]}):(0,U.jsx)(`section`,{className:`border-border bg-card rounded-xl border-[0.5px] p-5`,children:(0,U.jsxs)(`div`,{className:`flex flex-col gap-5 md:flex-row md:items-center`,children:[(0,U.jsx)(pQ,{pct:I,size:92,label:c(`passRate`)}),de]})}),pe=r||x||S?(0,U.jsx)(P9,{title:c(`replay`),meta:c(`syncedToSteps`),children:(0,U.jsx)(`div`,{className:`px-4 pb-4`,children:ce?(0,U.jsx)(F9,{message:c(`replayUnavailable`)}):x?(0,U.jsx)(YQ,{events:T.data,isPending:T.isPending,isError:T.isError,unavailableMessage:c(`replayUnavailable`)}):k.data&&!se?(0,U.jsx)(`video`,{src:k.data,controls:!0,preload:`metadata`,onError:()=>
1227_(k.data??null),className:`aspect-video w-full rounded-[10px] bg-black`}):k.isError||se||!S?(0,U.jsx)(F9,{message:c(`replayUnavailable`)}):(0,U.jsx)(L9e,{})})}):null,me=L&&H?(0,U.jsx)(P9,{title:c(`failureSnapshot`),meta:c(`failureStepMeta`,{step:`#${String(L.index).padStart(2,`0`)}`,duration:oe}),children:(0,U.jsx)(`p`,{className:`text-fg-body px-4 pb-4 text-[12.5px] leading-relaxed`,children:H})}):null,he=(0,U.jsx)(P9,{title:c(`timeline`),actions:(0,U.jsx)(z9e,{filter:f,setFilter:p,counts:{all:A.length,failed:M,skipped:N}}),children:A.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground px-4 pb-4 text-center text-[12px]`,children:c(`noSteps`)}):ee.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground px-4 pb-4 text-center text-[12px]`,children:c(`noStepsMatch`)}):(0,U.jsx)(`div`,{className:`border-divider scrollbar-modern overflow-y-auto overscroll-contain border-t`,style:{maxHeight:le},children:ee.map(e=>(0,U.jsx)(L9,{step:e,useScreenshot:u,open:m===e.key,onToggle:()=>h(m===e.key?null:e.key)},e.key))})}),ge=C?(0,U.jsx)(P9,{title:c(`console`),meta:te.length>0?c(`consoleMeta`,{errors:ne,warnings:re}):void 0,children:(0,U.jsx)(`div`,{className:`border-divider flex h-[320px] flex-col overflow-hidden rounded-b-xl border-t`,children:(0,U.jsx)(BQ,{query:E,downloadName:ue})})}):r?(0,U.jsx)(P9,{title:c(`console`),children:(0,U.jsx)(R9e,{message:c(`consoleUnavailable`)})}):null,_e=w?(0,U.jsx)(P9,{title:c(`network`),meta:ie.length>0?c(`networkMeta`,{requests:ie.length,failed:ae}):void 0,children:(0,U.jsx)(`div`,{className:`border-divider flex h-[320px] flex-col overflow-hidden rounded-b-xl border-t`,children:(0,U.jsx)(GQ,{query:D})})}):r?(0,U.jsx)(P9,{title:c(`network`),children:(0,U.jsx)(R9e,{message:c(`networkUnavailable`)})}):null,ve=ge||_e?(0,U.jsxs)(`div`,{className:W(`grid grid-cols-1 gap-4`,ge&&_e&&`md:grid-cols-2`),children:[ge,_e]}):null,ye=(0,U.jsx)(P9,{title:c(`runDetails`),children:(0,U.jsxs)(`dl`,{className:`grid grid-cols-1 gap-x-8 px-4 pb-4 md:grid-cols-2`,children:[(0,U.jsx)(z9,{label:c(`testId`),value:v?.testId,mono:!0}),(0,U.jsx)(z9,{label:c(`workspace`),value:n}),(0,U.jsx)(z9,{label:c(`triggeredBy`),value:v?.createdBy}),(0,U.jsx)(z9,{label:c(`trigger`),value:v?.executionType?H9e(v.executionType):void 0}),(0,U.jsx)(z9,{label:c(`started`),value:v?.startTime?QQ(v.startTime):void 0}),(0,U.jsx)(z9,{label:c(`targetUrl`),value:z,mono:!0}),(0,U.jsx)(z9,{label:c(`ended`),value:v?.endTime?QQ(v.endTime):void 0}),(0,U.jsx)(z9,{label:c(`duration`),value:ZQ(v?.startTime,v?.endTime),mono:!0}),(0,U.jsx)(z9,{label:c(`environment`),value:R})]})}),be=pe||me;return(0,U.jsx)(N9,{topbarMeta:o,topbarActions:s,wide:r,children:(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,U.jsxs)(`header`,{className:`mt-1`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground text-[10px] font-semibold tracking-[0.1em] uppercase`,children:[c(`testRun`),` `,(0,U.jsx)(`span`,{className:`font-mono n
1227ormal-case`,children:G9e(v?.id)})]}),(0,U.jsx)(`h1`,{className:`text-fg-strong mt-1 text-[24px] font-bold tracking-[-0.01em]`,children:v?.testName??c(`pageTitle`)}),(0,U.jsxs)(`div`,{className:`text-muted-foreground mt-2 flex flex-wrap items-center gap-x-3 gap-y-1 text-[11.5px]`,children:[(0,U.jsx)(AU,{tone:V,children:v?.status??b?.result??`UNKNOWN`}),A.length>0&&(0,U.jsx)(`span`,{children:c(`outcomeCounts`,{passed:j,failed:M,skipped:N})}),v?.startTime&&(0,U.jsx)(`span`,{children:QQ(v.startTime)}),(0,U.jsx)(`span`,{className:`font-mono`,children:ZQ(v?.startTime,v?.endTime)}),R!==`-`&&(0,U.jsx)(`span`,{children:R}),v?.executionType&&(0,U.jsx)(`span`,{children:H9e(v.executionType)}),v?.createdBy&&(0,U.jsx)(`span`,{children:v.createdBy})]})]}),fe,r?(0,U.jsxs)(`div`,{className:`grid grid-cols-1 gap-4 xl:grid-cols-[minmax(0,2fr)_minmax(320px,1fr)]`,children:[(0,U.jsx)(`div`,{className:W(`min-w-0`,!be&&`xl:col-span-2`),children:he}),be&&(0,U.jsxs)(`aside`,{className:`flex min-w-0 flex-col gap-4`,children:[pe,me]}),ve&&(0,U.jsx)(`div`,{className:`xl:col-span-2`,children:ve}),(0,U.jsx)(`div`,{className:`xl:col-span-2`,children:ye})]}):(0,U.jsxs)(U.Fragment,{children:[pe,he,ve,ye]}),(0,U.jsxs)(`footer`,{className:`text-muted-foreground flex flex-wrap items-center justify-between gap-x-4 gap-y-1 pb-6 text-[11px]`,children:[(0,U.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,U.jsx)($w,{size:14,showWordmark:!1}),c(`footerSnapshot`,{date:i?qT(i):QQ(v?.endTime??v?.startTime)})]}),(0,U.jsxs)(`span`,{className:`flex items-center gap-3`,children:[(0,U.jsxs)(`span`,{children:[c(`reportId`),` `,(0,U.jsx)(`span`,{className:`text-fg-body font-mono`,children:G9e(v?.id)})]}),a&&(0,U.jsx)(`a`,{href:`mailto:${P9e}?subject=${encodeURIComponent(`Report abuse - shared report ${v?.id??``}`)}`,className:`hover:text-fg-strong underline underline-offset-2`,children:c(`reportAbuse`)})]})]})]})})}function N9({children:e,topbarMeta:t,topbarActions:n,wide:r=!1}){let i=X(`pages.publicRunShare`);return(0,U.jsxs)(`div`,{className:`bg-surface-alt text-foreground flex min-h-dvh flex-col`,children:[(0,U.jsx)(`header`,{className:`border-divider bg-card sticky top-0 z-10 border-b`,children:(0,U.jsxs)(`div`,{className:W(`mx-auto flex w-full items-center gap-3 px-4 py-2`,r?`max-w-[1660px] sm:px-6 xl:px-8`:`max-w-6xl`),children:[(0,U.jsxs)(`span`,{className:`flex shrink-0 items-center gap-2`,children:[(0,U.jsx)($w,{size:22,showWordmark:!0}),(0,U.jsxs)(`span`,{className:`text-muted-foreground text-[12px]`,children:[`· `,i(`topbarTitle`)]})]}),(0,U.jsx)(`span`,{className:`flex min-w-0 flex-1 flex-wrap items-center gap-x-3 gap-y-1`,children:t}),n&&(0,U.jsx)(`span`,{className:`ml-auto shrink-0`,children:n})]})}),(0,U.jsx)(`main`,{"data-report-mode":r?`wide`:`standard`,className:W(`mx-auto w-full flex-1 px-4 py-5`,r?`max-w-[1660px] sm:px-6 xl:px-8`:`max-w-[780px]`),children:e})]})}function P9({title:e,meta:t,actions:n,children:r}){return(0,U.jsxs)(`section`,{className:`border-border bg-card overflow-hidden rounded-xl border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-2 p-4 pb-3`,children:[(0,U.jsx)(`h2`,{className:`text-fg-strong text-[13.5px] font-semibold`,children:e}),t&&(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px]`,children:t}),n]}),r]})}function L9e(){return(0,U.jsx)(`div`,{className:`grid aspect-video w-full place-items-center rounded-[10px] bg-gradient-to-br from-[#1a1f36] to-[#3d4460]`,children:(0,U.jsx)(gb,{className:`size-6 animate-spin text-white/80`})})}function F9({message:e}){return(0,U.jsx)(`div`,{className:`grid aspect-video w-full place-items-center rounded-[10px] bg-gradient-to-br from-[#1a1f36] to-[#3d4460] px-8 text-center`,children:(0,U.jsxs)(`div`,{className:`flex max-w-[280px] flex-col items-center gap-2`,children:[(0,U.jsx)(`div`,{className:`h-8 w-8 animate-pulse rounded-full bg-white/18`}),(0,U.jsx)(`p`,{className:`text-[12px] leading-relaxed text-white/82`,children:e})]})})}function R9e({message:e}){return(0,U.jsx)(`div`,{className:`border-divider bg-surface-alt/35 grid h-[320px] place-items-center rounded-b-xl border-t px-6 text-center`,children:(0,U.jsxs)(`div`,{className:`flex w-full max-w-[300px] flex-col items-center gap-3`,children:[(0,U.jsxs)(`div`,{className:`grid w-full gap-2`,children:[(0,U.jsx)(`span`,{className:`bg-border/70 mx-auto h-2 w-3/4 animate-pulse rounded-full`}),(0,U.jsx)(`span`,{className:`bg-border/55 mx-auto h-2 w-1/2 animate-pulse rounded-full`}),(0,U.jsx)(`span`,{className:`bg-border/40 mx-auto h-2 w-2/3 animate-pulse rounded-full`})]}),(0,U.jsx)(`p`,{className:`text-muted-foreground text-[12px] leading-relaxed`,children:e})]})})}function z9e({filter:e,setFilter:t,counts:n}){let r=X(`pages.publicRunShare`);return(0,U.jsxs)(`div`,{className:`bg-surface border-border inline-flex rounded-lg border-[0.5px] p-0.5`,children:[(0,U.jsx)(I9,{active:e===`all`,onClick:()=>t(`all`),label:r(`filter_all`),count:n.all}),(0,U.jsx)(I9,{active:e===`failed`,onClick:()=>t(`failed`),label:r(`filter_failed`),count:n.failed}),(0,U.jsx)(I9,{active:e===`skipped`,onClick:()=>t(`skipped`),label:r(`filter_skipped`),count:n.skipped})]})}function I9({active:e,onClick:t,label:n,count:r}){return(0,U.jsxs)(`button`,{type:`button`,onClick:t,className:W(`inline-flex items-center gap-1.5 rounded-md px-2.5 py-1 text-[11px] font-medium transition-colors`,e?`bg-card text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`),children:[n,(0,U.jsx)(`span`,{className:W(`rounded-full px-1.5 text-[9.5px] font-semibold`,e?`bg-violet-pale text-violet-dark`:`bg-surface-alt text-fg-hint`),children:r})]})}var B9e={passed:{icon:Py,cls:`bg-status-passed-bg text-status-passed`},failed:{icon:ox,cls:`bg-status-failed-bg text-status-failed`},skipped:{icon:Cb,cls:`bg-background text-fg-hint border-border border-[0.5px]`}};function L9({step:e,useScreenshot:t,open:n,onToggle:r}){let{icon:i,cls:a}=B9e[e.tone];return(0,U.jsxs)(`div`,{className:W(`border-divider border-b last:border-b-0`,e.tone===`failed`&&`bg-status-failed-bg/25`,e.tone===`skipped`&&`opacity-60`),children:[(0,U.jsxs)(`button`,{type:`button`,onClick:r,className:`hover:bg-surface-hover grid w-full grid-cols-[18px_30px_1fr_auto_14px] items-center gap-2.5 px-4 py-2.5 text-left transition-colors`,children:[(0,U.jsx)(`span`,{className:W(`grid size-[18px] place-items-center rounded-full`,a),children:(0,U.jsx)(i,{className:`size-2.5`,strokeWidth:3})}),(0,U.jsxs)(`span`,{className:`text-fg-hint font-mono text-[10.5px]`,children:[`#`,String(e.index).padStart(2,`0`)]}),(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong block truncate text-[12.5px] font-medium`,children:e.label||`-`}),e.detail&&(0,U.jsx)(`span`,{className:W(`mt-0.5 block truncate font-mono text-[10.5px]`,e.tone===`failed`?`text-status-failed`:`text-muted-foreground`),children:e.detail})]}),(0,U.jsx)(`span`,{className:`text-muted-foreground font-mono text-[11px]`,children:e.durationMs==null?`-`:B9(e.durationMs)}),(0,U.jsx)(Fy,{className:W(`text-fg-hint size-3.5 transition-transform`,n&&`rotate-180`)})]}),n&&(0,U.jsx)(V9e,{step:e,useScreenshot:t})]})}function V9e({step:e,useScreenshot:t}){let n=X(`pages.publicRunShare`),{data:r,isError:i}=t(e.screenshot);return(0,U.jsxs)(`div`,{className:`bg-background border-divider border-t px-4 pt-2 pb-3`,children:[e.url&&(0,U.jsxs)(`div`,{className:`border-border bg-surface mb-2 flex items-center gap-1.5 rounded-md border-[0.5px] px-2.5 py-[5px]`,children:[(0,U.jsx)(hb,{className:`text-fg-hint size-3 shrink-0`}),(0,U.jsx)(`span`,{className:`text-fg-strong min-w-0 flex-1 truncate font-mono text-[10.5px]`,children:e.url})]}),e.screenshot&&!i?(0,U.jsx)(`div`,{className:`border-border relative flex h-[180px] items-center justify-center overflow-hidden rounded-lg border-[0.5px] bg-[#0a0d1a] md:h-[240px]`,children:r?(0,U.jsx)(`img`,{src:r,alt:e.label,className:`max-h-full max-w-full object-contain`}):(0,U.jsx)(gb,{className:`size-5 animate-spin text-white/60`})}):(0,U.jsx)(`p`,{className:`text-muted-foreground py-4 text-center text-[11px]`,children:n(`noScreenshot`)})]})}function R9({label:e,accent:t,children:n}){return(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsxs)(`div`,{className:W(`mb-1 flex items-center gap-1 text-[9.5px] font-semibold tracking-[0.08em] uppercase`,t===`failed`?`text-status-failed`:`text-muted-foreground`),children:[t===`failed`&&(0,U.jsx)(`span`,{className:`bg-status-failed size-1.5 rounded-full`}),e]}),n]})}function z9({label:e,value:t,mono:n}){return(0,U.jsxs)(`div`,{className:`border-divider grid grid-cols-[110px_1fr] gap-2 border-b py-2 text-[12px] last:border-b-0`,children:[(0,U.jsx)(`dt`,{className:`text-muted-foreground`,children:e}),(0,U.jsx)(`dd`,{className:W(`text-fg-strong min-w-0 truncate`,n&&`font-mono text-[11.5px]`),title:t??`-`,children:t??`-`})]})}function H9e(e){let t=e.toUpperCase();return t.includes(`MANUAL`)?`Manual`:t.includes(`SCHEDUL`)||t.includes(`PLAN`)?`Scheduled`:e.charAt(0)+e.slice(1).toLowerCase()}function B9(e){if(e<1e3)return`${Math.round(e)}ms`;let t=e/1e3;return t<60?`${t.toFixed(1)}s`:ZQ(0,e)}function U9e(e){return/failed to load resource/i.test(e)||/the server responded with a status of \d{3}/i.test(e)}function W9e(e){if(!(!e?.testId||!e.id))return`${e.testId}-${e.id}-execution-logs.txt`}function G9e(e){return e?e.slice(0,8):`-`}var K9e=`[email protected]`;function q9e({run:e,tests:t,artifacts:n,workspaceName:r,snapshotDate:i,sharedBy:a,expiresInDays:o,showAbuseLink:s,topbarMeta:c,topbarActions:l}){let u=X(`pages.publicPlanShare`),[d,f]=(0,O.useState)(null),[p,m]=(0,O.useState)(`all`),[h,g]=(0,O.useState)(`overview`),_=(0,O.useMemo)(()=>t.map((e,t)=>{let n=e.execution,r=e.reports??[],i=r.find(e=>e.reportDataUrl||e.harUrl||e.videoUrl||e.rrwebUrl)??r[0],a=F9e(e.steps,n?.endTime),o=a.find(e=>e.tone===`failed`),s=n?.status?KH(n.status):net(i?.result);return{key:n?.id??`test-${t}`,index:t+1,execution:n,tone:s,title:n?.testName??u(`untitledTest`),errorText:o?o.detail||o.label:void 0,durationMs:n?.startTime&&n?.endTime?n.endTime-n.startTime:void 0,steps:a,report:i}}
1227),[t,u]),v=e.statusCounts,y=v?.successCount??_.filter(e=>e.tone===`passed`).length,b=v?.failedCount??_.filter(e=>e.tone===`failed`).length,x=v?.runningCount??0,S=v?.pendingCount??0,C=v?.stoppedCount??0,w=v?.errorCount??0,T=y+b+x+S+C+w,E=e.totalTestExecutionCount??(T||_.length),D=E>0?Math.round(y/E*100):0,k=tet(e.status),A=_.map(e=>e.durationMs).filter(e=>e!=null),j=A.length?A.reduce((e,t)=>e+t,0)/A.length:void 0,M=_.filter(e=>e.tone===`failed`).length,N=_.filter(e=>e.tone===`passed`).length,P=p===`all`?_:_.filter(e=>e.tone===p),F=(0,O.useMemo)(()=>{let e=new Map;return _.filter(e=>e.tone===`failed`).forEach(t=>{let n=t.errorText||u(`unknownError`);e.set(n,(e.get(n)??0)+1)}),[...e.entries()].sort((e,t)=>t[1]-e[1]).slice(0,5)},[_,u]),I=(0,O.useMemo)(()=>{let e=_.findIndex(e=>e.tone===`failed`);return e>=0?e:_.length?0:null},[_]),L=d??I,R=L==null?null:_[L],z=R?.report,B=z?.rrwebUrl,ee=z?.videoUrl,V=z?.reportDataUrl,te=z?.harUrl,ne=n.useArtifactJson(B),re=n.useArtifactJson(V),ie=n.useArtifactJson(te),ae=n.useVideoSrc(B?void 0:ee),oe=!!(B&&!ne.isPending&&(ne.isError||!ne.data||ne.data.length<2)),H=R?.report?.environment??R?.execution?.environment?.browser??R?.execution?.platform,se=e=>!R||oe?(0,U.jsx)(F9,{message:u(`replayUnavailable`)}):B?(0,U.jsx)(YQ,{events:ne.data,isPending:ne.isPending,isError:ne.isError,unavailableMessage:u(`replayUnavailable`)}):ae.data?(0,U.jsx)(`video`,{src:ae.data,controls:!0,preload:`metadata`,className:W(`aspect-video w-full rounded-[10px] bg-black`,e&&`max-h-[140px]`)}):ae.isError||!ee?(0,U.jsx)(F9,{message:u(`replayUnavailable`)}):(0,U.jsx)(L9e,{});function ce(e){f(e),g(`overview`)}return(0,U.jsx)(J9e,{topbarMeta:c,topbarActions:l,children:(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,U.jsxs)(`header`,{className:`mt-1`,children:[(0,U.jsxs)(`div`,{className:`text-muted-foreground text-[10px] font-semibold tracking-[0.1em] uppercase`,children:[u(`planRun`),` `,(0,U.jsx)(`span`,{className:`font-mono n
1227ormal-case`,children:ret(e.id)})]}),(0,U.jsx)(`h1`,{className:`text-fg-strong mt-1 text-[24px] font-bold tracking-[-0.01em]`,children:e.planName??u(`pageTitle`)}),(0,U.jsxs)(`div`,{className:`text-muted-foreground mt-2 flex flex-wrap items-center gap-x-3 gap-y-1 text-[11.5px]`,children:[(0,U.jsx)(AU,{tone:k,children:e.status??`UNKNOWN`}),(0,U.jsx)(`span`,{children:u(`passFailCounts`,{passed:y,failed:b})}),e.startTime&&(0,U.jsx)(`span`,{children:QQ(e.startTime)}),(0,U.jsx)(`span`,{className:`font-mono`,children:ZQ(e.startTime,e.endTime)}),e.executionType&&(0,U.jsx)(`span`,{children:G9(e.executionType)}),e.createdBy&&(0,U.jsx)(`span`,{children:e.createdBy})]})]}),(0,U.jsxs)(`section`,{className:`grid grid-cols-1 gap-4 lg:grid-cols-[220px_minmax(0,1fr)]`,children:[(0,U.jsx)(`div`,{className:`border-border bg-card flex items-center justify-center rounded-xl border-[0.5px] p-5`,children:(0,U.jsx)(pQ,{pct:D,size:108,label:u(`passRate`)})}),(0,U.jsxs)(`div`,{className:`border-border bg-card grid grid-cols-1 gap-4 rounded-xl border-[0.5px] p-5 sm:grid-cols-3`,children:[(0,U.jsx)(V9,{label:u(`failed`),accent:b>0,children:(0,U.jsx)(`span`,{className:W(`text-[20px] font-bold`,b>0?`text-status-failed`:`text-fg-strong`),children:b})}),(0,U.jsx)(V9,{label:u(`duration`),children:(0,U.jsx)(`span`,{className:`text-fg-strong font-mono text-[20px] font-bold`,children:ZQ(e.startTime,e.endTime)})}),(0,U.jsx)(V9,{label:u(`avgPerTest`),children:(0,U.jsx)(`span`,{className:`text-fg-strong font-mono text-[20px] font-bold`,children:j==null?`-`:B9(j)})})]})]}),(0,U.jsxs)(`section`,{className:`border-border bg-card rounded-xl border-[0.5px] p-5`,children:[(0,U.jsx)(Z6,{segments:[{tone:`passed`,value:y},{tone:`failed`,value:b},{tone:`running`,value:x},{tone:`pending`,value:S},{tone:`stopped`,value:C},{tone:`error`,value:w}]}),(0,U.jsxs)(`dl`,{className:`mt-4 grid grid-cols-1 gap-x-10 sm:grid-cols-2`,children:[(0,U.jsx)(U9,{label:u(`dPlanId`),value:e.id,mono:!0}),(0,U.jsx)(U9,{label:u(`dWorkspace`),value:r}),(0,U.jsx)(U9,{label:u(`dTriggeredBy`),value:e.createdBy}),(0,U.jsx)(U9,{label:u(`dTrigger`),value:e.executionType?G9(e.executionType):void 0}),(0,U.jsx)(U9,{label:u(`dStarted`),value:e.startTime?QQ(e.startTime):void 0}),(0,U.jsx)(U9,{label:u(`dEnded`),value:e.endTime?QQ(e.endTime):void 0}),(0,U.jsx)(U9,{label:u(`dEnvironment`),value:H}),(0,U.jsx)(U9,{label:u(`dDuration`),value:ZQ(e.startTime,e.endTime),mono:!0})]})]}),(0,U.jsxs)(`section`,{className:`grid grid-cols-1 items-start gap-4 xl:grid-cols-[minmax(0,1fr)_460px]`,children:[(0,U.jsxs)(`div`,{className:`border-border bg-card min-w-0 overflow-hidden rounded-xl border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-2 p-4 pb-3`,children:[(0,U.jsx)(`h2`,{className:`text-fg-strong text-[13.5px] font-semibold`,children:u(`testsInRun`)}),(0,U.jsx)(X9e,{testTab:p,setTestTab:m,counts:{all:_.length,failed:M,passed:N}})]}),(0,U.jsx)(`div`,{className:`border-divider scrollbar-modern max-h-[720px] overflow-y-auto border-t`,children:P.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground px-4 py-6 text-center text-[12px]`,children:u(`noTestsMatch`)}):P.map(e=>(0,U.jsx)(Q9e,{row:e,selected:L===e.index-1,onSelect:()=>ce(e.index-1)},e.key))})]}),(0,U.jsx)(`aside`,{className:`sticky top-4 flex min-w-0 flex-col gap-4`,children:d==null||!R?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Y9e,{title:u(`topFailureReasons`),children:F.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground px-4 pb-4 text-[12px]`,children:u(`noFailures`)}):(0,U.jsx)(`ul`,{className:`flex flex-col gap-2 px-4 pb-4`,children:F.map(([e,t])=>(0,U.jsxs)(`li`,{className:`flex items-start gap-2 text-[12px]`,children:[(0,U.jsxs)(`span`,{className:`text-status-failed shrink-0 font-mono font-semibold`,children:[`Ã`,t]}),(0,U.jsx)(`span`,{className:`text-fg-body min-w-0 truncate`,children:e})]},e))})}),(0,U.jsx)(Y9e,{title:u(`runEnvironment`),children:(0,U.jsxs)(`dl`,{className:`flex flex-col gap-2 px-4 pb-4`,children:[(0,U.jsx)(U9,{label:u(`dTrigger`),value:e.executionType?G9(e.executionType):void 0}),(0,U.jsx)(U9,{label:u(`dEnvironment`),value:H}),(0,U.jsx)(U9,{label:u(`dStarted`),value:e.startTime?QQ(e.startTime):void 0}),(0,U.jsx)(U9,{label:u(`dDuration`),value:ZQ(e.startTime,e.endTime),mono:!0}),a&&(0,U.jsx)(U9,{label:u(`dSharedBy`),value:a}),o!=null&&(0,U.jsx)(U9,{label:u(`dExpires`),value:o===0?u(`expiresToday`):u(`expires
1227In`,{count:o})})]})})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`div`,{className:`border-border bg-card overflow-hidden rounded-xl border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-2 p-4 pb-3`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>f(null),className:`text-violet inline-flex items-center gap-1 self-start text-[11.5px] font-medium hover:underline`,children:[(0,U.jsx)(Ly,{className:`size-3 rotate-180`}),u(`backToPlanRun`)]}),(0,U.jsxs)(`span`,{className:`text-muted-foreground text-[10.5px]`,children:[e.planName,` · `,u(`testOrdinal`,{n:R.index})]}),(0,U.jsx)(`h3`,{className:`text-fg-strong text-[15px] font-bold`,children:R.title}),(0,U.jsxs)(`div`,{className:`text-muted-foreground flex flex-wrap items-center gap-x-2 gap-y-1 text-[11px]`,children:[(0,U.jsx)(AU,{tone:R.tone}),R.execution?.startTime&&(0,U.jsx)(`span`,{children:QQ(R.execution.startTime)}),(0,U.jsx)(`span`,{className:`font-mono`,children:ZQ(R.execution?.startTime,R.execution?.endTime)})]}),(0,U.jsx)(Z9e,{drillTab:h,setDrillTab:g,counts:{console:re.data?.logs?.length??0,network:ie.data?.log?.entries?.length??0}})]}),(0,U.jsxs)(`div`,{className:`border-divider border-t`,children:[h===`overview`&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-3 p-4`,children:[(0,U.jsxs)(`div`,{className:`grid grid-cols-3 gap-2`,children:[(0,U.jsx)(H9,{label:u(`miniSteps`),value:R.steps.length}),(0,U.jsx)(H9,{label:u(`miniPassed`),value:R.steps.filter(e=>e.tone===`passed`).length,tone:`passed`}),(0,U.jsx)(H9,{label:u(`miniFailed`),value:R.steps.filter(e=>e.tone===`failed`).length,tone:`failed`})]}),se(!0)]}),h===`console`&&(0,U.jsx)(`div`,{className:`h-[260px]`,children:(0,U.jsx)(BQ,{query:re})}),h===`network`&&(0,U.jsx)(`div`,{className:`h-[260px]`,children:(0,U.jsx)(GQ,{query:ie})}),h===`steps`&&(0,U.jsx)(`div`,{className:`scrollbar-modern max-h-[420px] overflow-y-auto`,children:R.steps.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground px-4 py-6 text-center text-[12px]`,children:u(`noSteps`)}):R.steps.map(e=>(0,U.jsx)(L9,{step:e,useScreenshot:n.useScreenshot,open:!1,onToggle:()=>{}},e.key))})]})]}),h!==`steps`&&(0,U.jsxs)(`div`,{className:`border-border bg-card overflow-hidden rounded-xl border-[0.5px]`,children:[(0,U.jsxs)(`div`,{className:`flex items-center justify-between p-4 pb-3`,children:[(0,U.jsx)(`h4`,{className:`text-fg-strong text-[13px] font-semibold`,children:u(`stepTimeline`)}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[11px]`,children:u(`ranSkipped`,{ran:R.steps.filter(e=>e.tone!==`skipped`).length,skipped:R.steps.filter(e=>e.tone===`skipped`).length})})]}),(0,U.jsx)(`div`,{className:`border-divider scrollbar-modern max-h-[320px] overflow-y-auto border-t`,children:R.steps.length===0?(0,U.jsx)(`p`,{className:`text-muted-foreground px-4 py-6 text-center text-[12px]`,children:u(`noSteps`)}):R.steps.map(e=>(0,U.jsx)(L9,{step:e,useScreenshot:n.useScreenshot,open:!1,onToggle:()=>{}},e.key))})]})]})})]}),(0,U.jsxs)(`footer`,{className:`text-muted-foreground flex flex-wrap items-center justify-between gap-x-4 gap-y-1 pb-6 text-[11px]`,children:[(0,U.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,U.jsx)($w,{size:14,showWordmark:!1}),u(`footerSnapshot`,{date:i?qT(i):QQ(e.endTime??e.startTime)})]}),(0,U.jsxs)(`span`,{className:`flex items-center gap-3`,children:[(0,U.jsxs)(`span`,{children:[u(`reportId`),` `,(0,U.jsx)(`span`,{className:`text-fg-body font-mono`,children:ret(e.id)})]}),s&&(0,U.jsx)(`a`,{href:`mailto:${K9e}?subject=${encodeURIComponent(`Report abuse - shared plan report ${e.id??``}`)}`,className:`hover:text-fg-strong underline underline-offset-2`,children:u(`reportAbuse`)})]})]})]})})}function J9e({children:e,topbarMeta:t,topbarActions:n}){let r=X(`pages.publicPlanShare`);return(0,U.jsxs)(`div`,{className:`bg-surface-alt text-foreground flex min-h-dvh flex-col`,children:[(0,U.jsx)(`header`,{className:`border-divider bg-card sticky top-0 z-10 border-b`,children:(0,U.jsxs)(`div`,{className:`mx-auto flex w-full max-w-[1660px] items-center gap-3 px-4 py-2 sm:px-6 xl:px-8`,children:[(0,U.jsxs)(`span`,{className:`flex shrink-0 items-center gap-2`,children:[(0,U.jsx)($w,{size:22,showWordmark:!0}),(0,U.jsxs)(`span`,{className:`text-muted-foreground text-[12px]`,children:[`· `,r(`topbarTitle`)]})]}),(0,U.jsx)(`span`,{className:`flex min-w-0 flex-1 flex-wrap items-center gap-x-3 gap-y-1`,children:t}),n&&(0,U.jsx)(`span`,{className:`ml-auto shrink-0`,children:n})]})}),(0,U.jsx)(`main`,{"data-report-mode":`wide`,className:`mx-auto w-full max-w-[1660px] flex-1 px-4 py-5 sm:px-6 xl:px-8`,children:e})]})}function V9({label:e,accent:t,children:n}){return(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsxs)(`div`,{className:W(`mb-1 flex items-center gap-1 text-[9.5px] font-semibold tracking-[0.08em] uppercase`,t?`text-status-failed`:`text-muted-foreground`),children:[t&&(0,U.jsx)(`span`,{className:`bg-status-failed size-1.5 rounded-full`}),e]}),n]})}function H9({label:e,value:t,tone:n}){return(0,U.jsxs)(`div`,{className:`border-border bg-surface-alt flex flex-col gap-1 rounded-lg border-[0.5px] p-2.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[9.5px] font-semibold tracking-[0.08em] uppercase`,children:e}),(0,U.jsx)(`span`,{className:W(`text-[16px] font-bold tabular-nums`,n===`passed`?`text-status-passed-fg`:n===`failed`?`text-status-failed-fg`:`text-fg-strong`),children:t})]})}function U9({label:e,value:t,mono:n}){return(0,U.jsxs)(`div`,{className:`border-divider flex items-center justify-between gap-2 border-b py-2 text-[12px] last:border-b-0`,children:[(0,U.jsx)(`dt`,{className:`text-muted-foreground shrink-0`,children:e}),(0,U.jsx)(`dd`,{className:W(`text-fg-strong min-w-0 truncate text-right`,n&&`font-mono text-[11.5px]`),title:t??`-`,children:t??`-`})]})}function Y9e({title:e,children:t}){return(0,U.jsxs)(`section`,{className:`border-border bg-card overflow-hidden rounded-xl border-[0.5px]`,children:[(0,U.jsx)(`div`,{className:`p-4 pb-3`,children:(0,U.jsx)(`h2`,{className:`text-fg-strong text-[13.5px] font-semibold`,children:e})}),t]})}function X9e({testTab:e,setTestTab:t,counts:n}){let r=X(`pages.publicPlanShare`);return(0,U.jsxs)(`div`,{className:`bg-surface border-border inline-flex rounded-lg border-[0.5px] p-0.5`,children:[(0,U.jsx)(W9,{active:e===`all`,onClick:()=>t(`all`),label:r(`tabAll`),count:n.all}),(0,U.jsx)(W9,{active:e===`failed`,onClick:()=>t(`failed`),label:r(`tabFailed`),count:n.failed}),(0,U.jsx)(W9,{active:e===`passed`,onClick:()=>t(`passed`),label:r(`tabPassed`),count:n.passed})]})}function W9({active:e,onClick:t,label:n,count:r}){return(0,U.jsxs)(`button`,{type:`button`,onClick:t,className:W(`inline-flex items-center gap-1.5 rounded-md px-2.5 py-1 text-[11px] font-medium transition-colors`,e?`bg-card text-fg-strong shadow-sm`:`text-muted-foreground hover:text-fg-strong`),children:[n,(0,U.jsx)(`span`,{className:W(`rounded-full px-1.5 text-[9.5px] font-semibold`,e?`bg-violet-pale text-violet-dark`:`bg-surface-alt text-fg-hint`),children:r})]})}function Z9e({drillTab:e,setDrillTab:t,counts:n}){let r=X(`pages.publicPlanShare`),i=[{key:`overview`,label:r(`drillOverview`)},{key:`console`,label:r(`drillConsole`),count:n.console},{key:`network`,label:r(`drillNetwork`),count:n.network},{key:`steps`,label:r(`drillSteps`)}];return(0,U.jsx)(`div`,{className:`mt-1 flex items-center gap-3 text-[11.5px]`,children:i.map(n=>(0,U.jsxs)(`button`,{type:`button`,onClick:()=>t(n.key),className:W(`border-b-2 pb-1 font-medium transition-colors`,e===n.key?`border-primary text-fg-strong`:`text-muted-foreground hover:text-fg-strong border-transparent`),children:[n.label,n.count!=null&&n.count>0&&` ${n.count}`]},n.key))})}function Q9e({row:e,selected:t,onSelect:n}){return(0,U.jsxs)(`button`,{type:`button`,onClick:n,className:W(`border-divider hover:bg-surface-hover grid w-full grid-cols-[18px_28px_1fr_90px_14px] items-center gap-2.5 border-b px-4 py-2.5 text-left transition-colors last:border-b-0`,t&&`bg-violet-pale shadow-[inset_3px_0_0_var(--primary)]`),children:[(0,U.jsx)(eet,{tone:e.tone}),(0,U.jsxs)(`span`,{className:`text-fg-hint font-mono text-[10.5px]`,children:[`#`,String(e.index).padStart(2,`0`)]}),(0,U.jsxs)(`span`,{className:`min-w-0`,children:[(0,U.jsx)(`span`,{className:W(`block truncate text-[12.5px] font-medium`,t?`text-violet-dark`:`text-fg-strong`),children:e.title}),e.errorText&&(0,U.jsx)(`span`,{className:`text-status-failed mt-0.5 block truncate font-mono text-[10.5px]`,children:e.errorText})]}),(0,U.jsx)(`span`,{className:`text-muted-foreground font-mono text-[11px]`,children:e.durationMs==null?`-`:B9(e.durationMs)}),(0,U.jsx)(Fy,{className:`text-fg-hint size-3.5 -rotate-90`})]})}var $9e={passed:`bg-status-passed-bg text-status-passed`,failed:`bg-status-failed-bg text-status-failed`,running:`bg-status-running-bg text-status-running`,stopped:`bg-status-stopped-bg text-status-stopped`,pending:`bg-background text-fg-hint border-border border-[0.5px]`,error:`bg-status-error-bg text-status-error`};function eet({tone:e}){return(0,U.jsx)(`span`,{className:W(`size-[10px] rounded-full`,$9e[e])})}function tet(e){let t=(e??``).toLowerCase();return t.includes(`success`)||t===`passed`?`passed`:t.includes(`fail`)?`failed`:t.includes(`run`)?`running`:t.includes(`stop`)?`stopped`:t.includes(`error`)?`error`:`pending`}function net(e){if(!e)return`pending`;let t=e.toUpperCase();return t===`SUCCESS`?`passed`:t===`FAILED`||t===`ERROR`?`failed`:t===`RUNNING`?`running`:`pending`}function G9(e){let t=e.toUpperCase();return t.includes(`MANUAL`)?`Manual`:t.includes(`SCHEDUL`)||t.includes(`PLAN`)?`Scheduled`:e.charAt(0)+e.slice(1).toLowerCase()}function ret(e){return e?e.slice(0,8):`-`}var K9=`-`;function q9(e){return e==null?K9:ZT(e)}function iet(e){switch(e){case`chromium`:return`Chrome`;case`firefox`:return`Firefox`;case`webkit`:return`WebKit`;
1227case`msedge`:return`Edge`;case`brave`:return`Brave`;case`opera`:return`Opera`;default:return e}}function aet(e){switch(e){case`MOBILE`:return`Mobile`;case`IOS`:return`iOS`;case`ANDROID`:return`Android`;default:return}}function J9({data:e,lines:t,emptyLabel:n}){return e.length===0&&n?(0,U.jsx)(`div`,{className:`text-fg-hint grid h-full place-items-center text-[12px]`,children:n}):(0,U.jsx)(CA,{width:`100%`,height:`100%`,children:(0,U.jsxs)(vke,{data:e,margin:{top:5,right:8,left:-18,bottom:0},children:[(0,U.jsx)(iV,{strokeDasharray:`3 3`,stroke:`var(--color-divider)`,vertical:!1}),(0,U.jsx)(UV,{dataKey:`label`,tick:{fontSize:10,fill:`var(--color-muted-foreground)`},axisLine:!1,tickLine:!1,minTickGap:20}),(0,U.jsx)(JV,{tick:{fontSize:10,fill:`var(--color-muted-foreground)`},axisLine:!1,tickLine:!1,width:36,allowDecimals:!1}),(0,U.jsx)(xz,{contentStyle:{fontSize:11,borderRadius:8,border:`0.5px solid var(--color-border)`,background:`var(--color-popover)`,color:`var(--color-popover-foreground)`}}),t.map(e=>(0,U.jsx)(bV,{type:`monotone`,dataKey:e.key,stroke:e.color,strokeWidth:1.8,dot:!1,isAnimationActive:!1},e.key))]})})}function oet({data:e}){let t=X(`pages.analytics`),n=(0,O.useMemo)(()=>{let t=e.executionByDate?wU(e.executionByDate.executionSummaryPerUserByDate??{}):{};return Object.entries(t).map(([e,t])=>({date:new Date(e),value:t})).sort((e,t)=>e.date.getTime()-t.date.getTime())},[e.executionByDate]),r=(0,O.useMemo)(()=>xU(n,`daily`,SU,CU),[n]),i=(0,O.useMemo)(()=>r.map(({label:e,value:n})=>({label:e,[t(`stats.total`)]:n.total,[t(`stats.passed`)]:n.success,[t(`stats.failed`)]:n.failed})),[r,t]),a=(0,O.useMemo)(()=>TU(n.map(e=>e.value)),[n]),o=(0,O.useMemo)(()=>kU(e.testCountSummary?.testCountByDate),[e.testCountSummary]),s=(0,O.useMemo)(()=>xU(o,`daily`,(e,t)=>e+t,()=>0).map(({label:e,value:n})=>({label:e,[t(`trends.testsCreated`)]:n})),[o,t]),c=(0,O.useMemo)(()=>o.reduce((e,t)=>e+t.value,0),[o]),l=(0,O.useMemo)(()=>{let t=e.planExecutionByDate?wU(e.planExecutionByDate.executionSummaryPerUserByDate??{}):{};return Object.entries(t).map(([e,t])=>({date:new Date(e),value:t})).sort((e,t)=>e.date.getTime()-t.date.getTime())},[e.planExecutionByDate]),u=(0,O.useMemo)(()=>xU(l,`daily`,SU,CU),[l]),d=(0,O.useMemo)(()=>u.map(({label:e,value:n})=>({label:e,[t(`stats.total`)]:n.total,[t(`stats.passed`)]:n.success,[t(`stats.failed`)]:n.failed})),[u,t]),f=(0,O.useMemo)(()=>TU(l.map(e=>e.value)),[l]),p=(0,O.useMemo)(()=>kU(e.testpit?.planCountByDate),[e.testpit]),m=(0,O.useMemo)(()=>xU(p,`daily`,(e,t)=>e+t,()=>0).map(({label:e,value:n})=>({label:e,[t(`trends.plansCreated`)]:n})),[p,t]),h=(0,O.useMemo)(()=>p.reduce((e,t)=>e+t.value,0),[p]),g=(0,O.useMemo)(()=>OU(e.executionByDate?.executionSummaryPerUserByDate??{},e.planExecutionByDate?.executionSummaryPerUserByDate??{}),[e.executionByDate,e.planExecutionByDate]),_=(0,O.useMemo)(()=>{if(!e.testpit)return null;let t={...e.testpit.testCreatedByUser};for(let[n,r]of Object.entries(e.testpit.planCreatedByUser??{}))t[n]=(t[n]??0)+r;return t},[e.testpit]),v=(0,O.useMemo)(()=>{let n=(e.recentExecutions??[]).map(e=>({key:`t-${e.id??e.testName}`,user:e.createdBy??K9,action:`${t(`recentActivity.ran`)} ${e.testName} (${t(`hero.webTest`)})`,time:e.startTime??e.creationTime,tone:KH(e.status)})),r=(e.recentPlanExecutions??[]).map(e=>({key:`p-${e.id??e.planName}`,user:e.createdBy??K9,action:`${t(`recentActivity.ran`)} ${e.planName} (${t(`recentActivity.planTag`)})`,time:e.startTime??e.creationTime,tone:KH(e.status??`PENDING`)}));return[...n,...r].sort((e,t)=>(t.time??0)-(e.time??0)).slice(0,5)},[e.recentExecutions,e.recentPlanExecutions,t]),y=e.latestPlanExecution??null,b=y?.statusCounts,x=y?.endTime&&y?.startTime?y.endTime-y.startTime:void 0,S=[y?.startTime?YT(y.startTime):``,rAe(x)].filter(Boolean).join(` · `),C=(e.latestPlanDefinition?e.latestPlanDefinition.platform===`WEB`?(e.latestPlanDefinition.browsers??[]).map(iet):[aet(e.latestPlanDefinition.platform)]:[]).filter(Boolean),w=a.total===0&&f.total===0&&c===0&&(e.recentExecutions?.length??0)===0&&!y,T=(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(zU,{color:yU.navy,label:t(`stats.total`)}),(0,U.jsx)(zU,{color:yU.success,label:t(`stats.passed`)}),(0,U.jsx)(zU,{color:yU.danger,label:t(`stats.failed`)})]}),E=[{key:t(`stats.total`),color:yU.navy},{key:t(`stats.passed`),color:yU.success},{key:t(`stats.failed`),color:yU.danger}];return w?(0,U.jsx)(sAe,{title:t(`empty.title`),message:t(`empty.subtitle`)}):(0,U.jsxs)(`div`,{className:`text-fg-body`,children:[(0,U.jsxs)(`div`,{className:`mb-5`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong dark:text-foreground text-[22px] leading-tight font-bold tracking-[-0.02em] md:text-[28px]`,children:t(`title`)}),(0,U.jsx)(`div`,{className:`text-muted-foreground mt-1 text-[13px]`,children:t(`subtitle`)})]}),y&&(0,U.jsx)(uAe,{tone:KH(y.status),name:y.planName??t(`overallStatus`),meta:S,stats:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`span`,{className:`text-status-passed font-medium`,children:[q9(b?.successCount),` `,t(`runbar.passed`)]}),(0,U.jsx)(`span`,{className:`text-fg-hint`,children:`/`}),(0,U.jsxs)(`span`,{className:`text-status-failed font-medium`,children:[q9(b?.failedCount),` `,t(`runbar.failed`)]})]}),pills:C}),(0,U.jsxs)(`div`,{className:`mb-4 flex flex-col gap-3.5 md:flex-row`,children:[(0,U.jsx)(FU,{pct:EU(a),ringLabel:t(`stats.passRate`),dotClass:`bg-brand`,hasRuns:a.total>0,surface:t(`hero.webTest`),metrics:[{value:q9(e.testpit?.totalTestCount),label:t(`hero.tests`)},{value:ZT(a.total),label:t(`hero.executions`)},{value:ZT(a.failed),label:t(`stats.failed`),valueClass:`text-status-failed`}]}),(0,U.jsx)(FU,{pct:EU(f),ringLabel:t(`stats.passRate`),dotClass:`bg-vi
1227olet`,hasRuns:f.total>0,surface:t(`hero.automation`),metrics:[{value:q9(e.testpit?.totalPlanCount),label:t(`hero.plans`)},{value:ZT(f.total),label:t(`hero.planRuns`)},{value:ZT(f.failed),label:t(`stats.failed`),valueClass:`text-status-failed`}]})]}),(0,U.jsx)(jU,{children:t(`trends.title`)}),(0,U.jsxs)(`div`,{className:`grid grid-cols-1 gap-4 lg:grid-cols-2`,children:[(0,U.jsxs)(`div`,{className:`flex flex-col gap-3.5`,children:[(0,U.jsx)(IU,{dotClass:`bg-brand`,children:t(`hero.webTest`)}),(0,U.jsx)(RU,{title:t(`trends.testsCreated`),stats:(0,U.jsx)(LU,{label:t(`trends.thisPeriod`),value:ZT(c),color:yU.brand}),children:(0,U.jsx)(J9,{data:s,lines:[{key:t(`trends.testsCreated`),color:yU.brand}],emptyLabel:t(`noData`)})}),(0,U.jsx)(RU,{title:t(`trends.testExecutions`),stats:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(LU,{label:t(`stats.total`),value:ZT(a.total)}),(0,U.jsx)(LU,{label:t(`stats.passed`),value:ZT(a.success),color:yU.success}),(0,U.jsx)(LU,{label:t(`stats.failed`),value:ZT(a.failed),color:yU.danger})]}),legend:T,children:(0,U.jsx)(J9,{data:i,lines:E,emptyLabel:t(`noData`)})})]}),(0,U.jsxs)(`div`,{className:`flex flex-col gap-3.5`,children:[(0,U.jsx)(IU,{dotClass:`bg-violet`,children:t(`hero.automation`)}),(0,U.jsx)(RU,{title:t(`trends.plansCreated`),stats:(0,U.jsx)(LU,{label:t(`trends.thisPeriod`),value:e.testpit?ZT(h):K9,color:yU.violet}),children:(0,U.jsx)(J9,{data:m,lines:[{key:t(`trends.plansCreated`),color:yU.violet}],emptyLabel:t(`noData`)})}),(0,U.jsx)(RU,{title:t(`trends.planExecutions`),stats:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(LU,{label:t(`stats.total`),value:ZT(f.total)}),(0,U.jsx)(LU,{label:t(`stats.passed`),value:ZT(f.success),color:yU.success}),(0,U.jsx)(LU,{label:t(`stats.failed`),value:ZT(f.failed),color:yU.danger})]}),legend:T,children:(0,U.jsx)(J9,{data:d,lines:E,emptyLabel:t(`noData`)})})]})]}),(0,U.jsxs)(`div`,{className:`mt-4 flex flex-col gap-3.5 md:flex-row md:flex-wrap`,children:[(0,U.jsxs)(MU,{children:[(0,U.jsx)(jU,{children:t(`teamActivity.title`)}),g.length===0?(0,U.jsx)(`div`,{className:`text-fg-hint py-2 text-[12px]`,children:t(`noData`)}):g.map(e=>(0,U.jsx)(dAe,{user:e.user,created:_?ZT(_[e.user]??0):K9,runs:e.runs,createdLabel:t(`teamActivity.created`),runsLabel:t(`teamActivity.runs`)},e.user))]}),(0,U.jsxs)(MU,{children:[(0,U.jsx)(jU,{children:t(`recentActivity.title`)}),v.length===0?(0,U.jsx)(`div`,{className:`text-fg-hint py-2 text-[12px]`,children:t(`noData`)}):v.map(e=>(0,U.jsx)(HU,{user:e.user,action:e.action,time:DU(e.time)||K9,tone:e.tone},e.key))]})]})]})}function Y9(e){if(!e)return`pending`;let t=e.toUpperCase();return t===`SUCCESS`?`passed`:t===`FAILED`||t===`ERROR`?`failed`:t===`RUNNING`?`running`:`pending`}function set(){let{token:e}=vr(),t=M9(oS()),n=X(`pages.publicShare`),{data:r,isLoading:i,isError:a}=HH(e);if((0,O.useEffect)(()=>{document.title=`${n(`pageTitle`)} · Text2Test`},[n]),i)return(0,U.jsx)(X9,{children:(0,U.jsxs)(`div`,{className:`flex flex-col items-center gap-3 py-20`,children:[(0,U.jsx)(gb,{className:`text-primary size-8 animate-spin`}),(0,U.jsx)(`p`,{className:`text-muted-foreground text-sm`,children:n(`loading`)})]})});if(a||!r)return(0,U.jsx)(X9,{children:(0,U.jsxs)(`div`,{className:`flex flex-col items-center gap-3 py-20`,children:[(0,U.jsx)(nx,{className:`text-destructive size-8`}),(0,U.jsx)(`p`,{className:`text-fg-strong font-semibold`,children:n(`notFound`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground text-sm`,children:n(`notFoundDesc`)})]})});if(r.resourceType===`PLAN_EXECUTION`&&t)return(0,U.jsx)(cet,{token:e,data:r.data,sharedBy:r.sharedBy,expiresAt:r.expiresAt,createdAt:r.createdAt,workspaceName:r.workspaceName});let o=r.expiresAt?qT(r.expiresAt):null,s=r.resourceType===`ANALYTICS`||r.resourceType===`EXECUTION`||r.resourceType===`PLAN_EXECUTION`;return(0,U.jsxs)(X9,{wide:s,children:[o&&(0,U.jsxs)(`div`,{className:`text-muted-foreground mb-4 flex items-center gap-1.5 text-xs`,children:[(0,U.jsx)(Jy,{className:`size-3.5`}),n(`expiresOn`,{date:o})]}),r.resourceType===`EXECUTION`&&(0,U.jsx)(det,{data:r.data}),r.resourceType===`PLAN_EXECUTION`&&(0,U.jsx)(fet,{data:r.data}),r.resourceType===`ANALYTICS`&&(0,U.jsx)(oet,{data:r.data})]})}function cet({token:e,data:t,sharedBy:n,expiresAt:r,createdAt:i,workspaceName:a}){let o=X(`pages.publicPlanShare`),s=met(t),[c]=(0,O.useState)(()=>Date.now()),l=r?Math.max(0,Math.ceil((new Date(r).getTime()-c)/864e5)):null,u={useArtifactJson:t=>UH(e,t),useScreenshot:t=>WH(e,t),useVideoSrc:t=>({data:t?BH.sharedArtifactUrl(e,t):void 0})},d=s.testExecutions;if((0,O.useEffect)(()=>{document.title=`${o(`pageTitle`)} · Text2Test`},[o]),!s.planExecution)return(0,U.jsx)(X9,{wide:!0,children:(0,U.jsx)(`p`,{className:`text-muted-foreground text-center text-sm`,children:o(`noData`)})});let f=s.planExecution;
1227return(0,U.jsx)(q9e,{run:f,tests:d,artifacts:u,workspaceName:a,snapshotDate:i,sharedBy:n,expiresInDays:l,showAbuseLink:!0,topbarMeta:(0,U.jsxs)(U.Fragment,{children:[n&&(0,U.jsxs)(`span`,{className:`text-fg-body flex min-w-0 items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet-dark grid size-5 shrink-0 place-items-center rounded-full text-[8.5px] font-bold uppercase`,children:uet(n)}),(0,U.jsx)(`span`,{className:`truncate`,children:o(`sharedBy`,{name:n})})]}),(0,U.jsxs)(`span`,{className:`bg-violet-pale text-violet-dark inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 text-[10.5px] font-semibold`,children:[(0,U.jsx)(ub,{className:`size-3`}),o(`publicLink`)]}),l!=null&&(0,U.jsxs)(`span`,{className:`text-muted-foreground inline-flex shrink-0 items-center gap-1 text-[11.5px]`,children:[(0,U.jsx)(Jy,{className:`size-3`}),l===0?o(`expiresToday`):o(`expiresIn`,{count:l})]}),(0,U.jsx)(`span`,{className:`bg-primary/10 text-primary inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 text-[10.5px] font-semibold`,children:o(`fullReportBadge`)})]}),topbarActions:(0,U.jsx)(Z,{asChild:!0,size:`sm`,children:(0,U.jsx)(Qw,{href:`/auth/login`,children:o(`signIn`)})})})}function uet(e){let t=e.split(/[\s._@-]+/).filter(Boolean);return((t[0]?.[0]??``)+(t[1]?.[0]??``)).toUpperCase()||e.slice(0,2).toUpperCase()}function X9({children:e,wide:t=!1}){return(0,U.jsxs)(`div`,{className:`bg-background text-foreground relative flex min-h-dvh flex-col`,children:[(0,U.jsx)(`div`,{className:`absolute top-4 right-4 z-10`,children:(0,U.jsx)(k5,{})}),(0,U.jsx)(`div`,{"aria-hidden":`true`,className:`via-brand/5 pointer-events-none absolute inset-0 bg-gradient-to-b from-transparent to-transparent dark:via-transparent`}),(0,U.jsx)(`header`,{className:`relative flex items-center justify-center py-6`,children:(0,U.jsx)($w,{size:28,showWordmark:!0})}),(0,U.jsx)(`main`,{className:`relative mx-auto w-full px-4 pb-16 ${t?`max-w-6xl`:`max-w-2xl`}`,children:e})]})}function det({data:e}){let t=X(`pages.publicShare`),n=pet(e),r=n.reports,i=n.steps,a=n.execution,o=r.find(e=>e.reportDataUrl||e.harUrl||e.videoUrl||e.rrwebUrl)??r[0];if(!a&&!o&&i.length===0)return(0,U.jsx)(`p`,{className:`text-muted-foreground text-center text-sm`,children:t(`noData`)});let s=a?.status?KH(a.status):Y9(o?.result),c=i.map((e,t)=>vet(e,t)),l=c.length>0?c.filter(e=>e.tone===`passed`).length:o?.successStepCount??0,u=c.length>0?c.filter(e=>e.tone===`failed`).length:o?.failedStepCount??0,d=c.filter(e=>e.tone===`skipped`).length,f=c.length||l+u,p=o?.environment??a?.environment?.browser??a?.environment?.mobileCapabilityName??a?.platform??`-`;return(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,U.jsxs)(`div`,{className:`border-border bg-card rounded-lg border-[0.5px] p-5`,children:[(0,U.jsxs)(`div`,{className:`mb-4 flex flex-wrap items-start justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`h2`,{className:`text-fg-strong truncate text-lg font-bold`,children:a?.testName??t(`executionReport`)}),(0,U.jsxs)(`div`,{className:`text-muted-foreground mt-1 flex flex-wrap items-center gap-x-2 gap-y-1 text-xs`,children:[a?.createdBy&&(0,U.jsxs)(`span`,{children:[t(`createdBy`),`: `,a.createdBy]}),a?.startTime&&(0,U.jsxs)(`span`,{children:[t(`started`),`: `,QQ(a.startTime)]}),(0,U.jsxs)(`span`,{children:[t(`duration`),`: `,ZQ(a?.startTime,a?.endTime)]})]})]}),(0,U.jsx)(AU,{tone:s,children:a?.status??o?.result??`UNKNOWN`})]}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 md:grid-cols-5`,children:[(0,U.jsx)(Q9,{label:t(`totalSteps`),value:String(f)}),(0,U.jsx)(Q9,{label:t(`passed`),value:String(l),icon:(0,U.jsx)(Hy,{className:`text-status-passed-fg size-3.5`})}),(0,U.jsx)(Q9,{label:t(`failed`),value:String(u),icon:(0,U.jsx)(Ky,{className:`text-status-failed-fg size-3.5`})}),(0,U.jsx)(Q9,{label:t(`skipped`),value:String(d),icon:(0,U.jsx)(Uy,{className:`text-fg-hint size-3.5`})}),(0,U.jsx)(Q9,{label:t(`environment`),value:p})]})]}),r.length>0&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,U.jsx)(Z9,{title:t(`reports`)}),r.map(e=>(0,U.jsxs)(`div`,{className:`border-border bg-card rounded-lg border-[0.5px] p-4`,children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-2`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-sm font-semibold`,children:e.environment??`Environment`}),(0,U.jsx)(AU,{tone:Y9(e.result),children:e.result??`UNKNOWN`})]}),(0,U.jsxs)(`div`,{className:`mt-2 flex flex-wrap gap-4 text-xs`,children:[(0,U.jsxs)(`span`,{className:`text-status-passed-fg`,children:[e.successStepCount??0,` `,t(`passed`).toLowerCase()]}),(0,U.jsxs)(`span`,{className:`text-status-failed-fg`,children:[e.failedStepCount??0,` `,t(`failed`).toLowerCase()]}),e.hasArtifacts&&(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:t(`artifactsAvailable`)})]})]},e.id))]}),c.length>0&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsx)(Z9,{title:t(`timeline`)}),c.map(e=>(0,U.jsx)(yet,{step:e},e.key))]})]})}function fet({data:e}){let t=X(`pages.publicShare`),n=met(e),r=n.planExecution,i=n.testExecutions;if(!r)return(0,U.jsx)(`p`,{className:`text-muted-foreground text-center text-sm`,children:t(`noData`)});let a=Y9(r.status),o=r.statusCounts?.successCount??r.successTestExecutionCount??0,s=r.statusCounts?.failedCount??r.failedTestExecutionCount??0,c=r.statusCounts?.runningCount??0,l=r.statusCounts?.pendingCount??0,u=r.statusCounts?.stoppedCount??0,d=r.statusCounts?.errorCount??0,f=o+s+c+l+u+d,p=r.totalTestExecutionCount??r.itemCount??(f||i.length),m=ZQ(r.startTime,r.endTime),h=p>0?Math.round(o/p*100):0;return(0,U.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,U.jsxs)(`div`,{className:`border-border bg-card rounded-lg border-[0.5px] p-5`,children:[(0,U.jsxs)(`div`,{className:`mb-4 flex flex-wrap items-start justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`h2`,{className:`text-fg-strong truncate text-lg font-bold`,children:r.planName??t(`planReport`)}),(0,U.jsxs)(`div`,{className:`text-muted-foreground mt-1 flex flex-wrap items-center gap-x-2 gap-y-1 text-xs`,children:[r.createdBy&&(0,U.jsxs)(`span`,{children:[t(`createdBy`),`: `,r.createdBy]}),r.startTime&&(0,U.jsxs)(`span`,{children:[t(`started`),`: `,QQ(r.startTime)]}),r.endTime&&(0,U.jsxs)(`span`,{children:[t(`ended`),`: `,QQ(r.endTime)]})]})]}),(0,U.jsx)(AU,{tone:a,children:r.status??`UNKNOWN`})]}),(0,U.jsxs)(`div`,{className:`mb-4 flex flex-col gap-4 md:flex-row md:items-center`,children:[(0,U.jsx)(pQ,{pct:h,size:86,label:t(`passRate`)}),(0,U.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,U.jsx)(Z6,{segments:[{tone:`passed`,value:o},{tone:`failed`,value:s},{tone:`running`,value:c},{tone:`pending`,value:l},{tone:`stopped`,value:u},{tone:`error`,value:d}]})})]}),(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 md:grid-cols-6`,children:[(0,U.jsx)(Q9,{label:t(`totalTests`),value:String(p)}),(0,U.jsx)(Q9,{label:t(`passed`),value:String(o),icon:(0,U.jsx)(Hy,{className:`text-status-passed-fg size-3.5`})}),(0,U.jsx)(Q9,{label:t(`failed`),value:String(s),icon:(0,U.jsx)(Ky,{className:`text-status-failed-fg size-3.5`})}),(0,U.jsx)(Q9,{label:t(`running`),value:String(c)}),(0,U.jsx)(Q9,{label:t(`pending`),value:String(l)}
1227),(0,U.jsx)(Q9,{label:t(`duration`),value:m})]})]}),i.length>0&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsx)(Z9,{title:t(`testExecutions`)}),i.map((e,t)=>(0,U.jsx)(xet,{data:e},e.execution?.id??`${e.execution?.testId}-${e.execution?.startTime??t}`))]})]})}function pet(e){return Array.isArray(e)?{execution:void 0,reports:e,steps:[]}:{execution:e.execution,reports:e.reports??[],steps:e.steps??[]}}function met(e){return het(e)?{planExecution:e.planExecution,testExecutions:(e.testExecutions??[]).map(get)}:{planExecution:e,testExecutions:[]}}function het(e){return`planExecution`in e||`testExecutions`in e}function get(e){return _et(e)?{execution:e,reports:[],steps:[]}:e}function _et(e){return`testId`in e&&`testName`in e&&`platform`in e}function vet(e,t){let n=IQ(e.step);return{key:e.id??`${t}`,label:n.label||LQ(e.step),detail:e.actionDetails?.intent??n.intent??e.actionDetails?.actionDescription??e.intention,tone:i$(e.status),status:e.status,action:e.actionDetails?.action??n.action,url:n.url,context:e.context??e.actionDetails?.justification,creationTime:e.creationTime}}function Z9({title:e}){return(0,U.jsx)(`h3`,{className:`text-muted-foreground text-[10px] font-semibold tracking-[0.08em] uppercase`,children:e})}function yet({step:e}){return(0,U.jsx)(`div`,{className:W(`border-border bg-card rounded-lg border-[0.5px] p-3`,e.tone===`failed`&&`bg-status-failed-bg/30`),children:(0,U.jsxs)(`div`,{className:`grid grid-cols-[18px_1fr_auto] items-start gap-2.5`,children:[(0,U.jsx)(bet,{tone:e.tone}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong text-[12.5px] font-semibold`,children:e.label||`-`}),e.detail&&(0,U.jsx)(`div`,{className:`text-muted-foreground mt-0.5 text-[11px]`,children:e.detail}),(0,U.jsxs)(`div`,{className:`text-fg-hint mt-1 flex flex-wrap gap-x-3 gap-y-1 text-[10.5px]`,children:[e.action&&(0,U.jsx)(`span`,{children:e.action}),e.url&&(0,U.jsx)(`span`,{className:`max-w-full truncate font-mono`,children:e.url}),e.context&&(0,U.jsx)(`span`,{children:e.context})]})]}),(0,U.jsx)(`span`,{className:`text-muted-foreground text-[10.5px]`,children:e.creationTime?QQ(e.creationTime):e.status})]})})}function bet({tone:e}){return(0,U.jsx)(e===`passed`?Hy:e===`failed`?Ky:Uy,{className:W(`mt-0.5 size-4`,e===`passed`?`text-status-passed-fg`:e===`failed`?`text-status-failed-fg`:`text-fg-hint`)})}function xet({data:e}){let t=X(`pages.publicShare`),n=e.execution,r=e.reports??[],i=e.steps??[],a=r.find(e=>e.reportDataUrl||e.harUrl||e.videoUrl||e.rrwebUrl)??r[0],o=n?.status?KH(n.status):Y9(a?.result),s=i.map((e,t)=>vet(e,t)),c=s.length>0?s.filter(e=>e.tone===`passed`).length:a?.successStepCount??0,l=s.length>0?s.filter(e=>e.tone===`failed`).length:a?.failedStepCount??0,u=s.filter(e=>e.tone===`skipped`).length,d=s.length||c+l,f=a?.environment??n?.environment?.browser??n?.environment?.mobileCapabilityName??n?.platform??`-`;return(0,U.jsxs)(`details`,{className:`group border-border bg-card overflow-hidden rounded-lg border-[0.5px]`,children:[(0,U.jsxs)(`summary`,{className:`hover:bg-surface-hover grid cursor-pointer list-none grid-cols-[auto_1fr_auto_auto] items-center gap-3 p-3 [&::-webkit-details-marker]:hidden`,children:[(0,U.jsx)(AU,{tone:o,children:n?.status??a?.result??`UNKNOWN`}),(0,U.jsxs)(`div`,{className:`min-w-0`,children:[(0,U.jsx)(`div`,{className:`text-fg-strong truncate text-[12.5px] font-semibold`,children:n?.testName??t(`executionReport`)}),(0,U.jsxs)(`div`,{className:`text-muted-foreground mt-0.5 flex flex-wrap gap-x-2 gap-y-1 text-[10.5px]`,children:[n?.createdBy&&(0,U.jsx)(`span`,{children:n.createdBy}),n?.startTime&&(0,U.jsx)(`span`,{children:QQ(n.startTime)}),f!==`-`&&(0,U.jsx)(`span`,{children:f})]})]}),(0,U.jsx)(`span`,{className:`text-muted-foreground font-mono text-[11px]`,children:ZQ(n?.startTime,n?.endTime)}),(0,U.jsx)(Fy,{className:`text-fg-hint size-3.5 transition-transform group-open:rotate-180`})]}),(0,U.jsxs)(`div`,{className:`border-border flex flex-col gap-3 border-t px-3 pt-3 pb-3`,children:[(0,U.jsxs)(`div`,{className:`grid grid-cols-2 gap-2 md:grid-cols-5`,children:[(0,U.jsx)(Q9,{label:t(`totalSteps`),value:String(d)}),(0,U.jsx)(Q9,{label:t(`passed`),value:String(c),icon:(0,U.jsx)(Hy,{className:`text-status-passed-fg size-3.5`})}),(0,U.jsx)(Q9,{label:t(`failed`),value:String(l),icon:(0,U.jsx)(Ky,{className:`text-status-failed-fg size-3.5`})}),(0,U.jsx)(Q9,{label:t(`skipped`),value:String(u),icon:(0,U.jsx)(Uy,{className:`text-fg-hint size-3.5`})}),(0,U.jsx)(Q9,{label:t(`environment`),value:f})]}),r.length>0&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsx)(Z9,{title:t(`reports`)}),r.map(e=>(0,U.jsxs)(`div`,{className:`border-border bg-background rounded-lg border-[0.5px] p-3`,children:[(0,U.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-2`,children:[(0,U.jsx)(`span`,{className:`text-fg-strong text-sm font-semibold`,children:e.environment??`Environment`}),(0,U.jsx)(AU,{tone:Y9(e.result),children:e.result??`UNKNOWN`})]}),(0,U.jsxs)(`div`,{className:`mt-2 flex flex-wrap gap-4 text-xs`,children:[(0,U.jsxs)(`span`,{className:`text-status-passed-fg`,children:[e.successStepCount??0,` `,t(`passed`).toLowerCase()]}),(0,U.jsxs)(`span`,{className:`text-status-failed-fg`,children:[e.failedStepCount??0,` `,t(`failed`).toLowerCase()]}),e.hasArtifacts&&(0,U.jsx)(`span`,{className:`text-muted-foreground`,children:t(`artifactsAvailable`)})]})]},e.id))]}),s.length>0&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,U.jsx)(Z9,{title:t(`timeline`)}),s.map(e=>(0,U.jsx)(yet,{step:e},e.key))]})]})]})}function Q9({label:e,value:t,icon:n}){return(0,U.jsxs)(`div`,{className:`flex flex-col gap-0.5`,children:[(0,U.jsx)(`span`,{className:`text-muted-foreground text-[10px] font-semibold tracking-[0.08em] uppercase`,children:e}),(0,U.jsxs)(`span`,{className:`text-fg-strong flex items-center gap-1 text-sm font-bold`,children:[n,t]})]})}function Cet({message:e}){return(0,U.jsxs)(`div`,{className:`flex flex-col items-center gap-3 py-24`,children:[(0,U.jsx)(gb,{className:`text-primary size-8 animate-spin`}),(0,U.jsx)(`p`,{className:`text-muted-foreground text-sm`,children:e})]})}function wet(){let{token:e}=vr(),t=M9(oS()),n=X(`pages.publicRunShare`),{data:r,isLoading:i,isError:a,error:o}=HH(e);if((0,O.useEffect)(()=>{document.title=`${n(`pageTitle`)} · Text2Test`},[n]),i)return(0,U.jsx)(N9,{wide:t,children:(0,U.jsx)(Cet,{message:n(`loading`)})});if(a||!r)return(0,U.jsx)(Eet,{error:o,wide:t});if(r.resourceType!==`EXECUTION`)return(0,U.jsx)(Qr,{to:`/public/share/${e}${t?`?wide=1`:``}`,replace:!0});let s=r.data??{};return(0,U.jsx)(Tet,{token:e,run:s,wide:t,sharedBy:r.sharedBy,expiresAt:r.expiresAt,createdAt:r.createdAt,workspaceName:r.workspaceName})}function Tet({token:e,run:t,wide:n,sharedBy:r,expiresAt:i,createdAt:a,workspaceName:o}){let s=X(`pages.publicRunShare`),[c]=(0,O.useState)(()=>Date.now()),l=i?Math.max(0,Math.ceil((new Date(i).getTime()-c)/864e5)):null;return(0,U.jsx)(I9e,{run:t,artifacts:{useArtifactJson:t=>UH(e,t),useScreenshot:t=>WH(e,t),useVideoSrc:t=>({data:t?BH.sharedArtifactUrl(e,t):void 0})},workspaceName:o,wide:n,snapshotDate:a,showAbuseLink:!0,topbarMeta:(0,U.jsxs)(U.Fragment,{children:[r&&(0,U.jsxs)(`span`,{className:`text-fg-body flex min-w-0 items-center gap-1.5 text-[11.5px]`,children:[(0,U.jsx)(`span`,{className:`bg-violet-pale text-violet-dark grid size-5 shrink-0 place-items-center rounded-full text-[8.5px] font-bold uppercase`,children:Oet(r)}),(0,U.jsx)(`span`,{className:`truncate`,children:s(`sharedBy`,{name:r})})]}),(0,U.jsxs)(`span`,{className:`bg-violet-pale text-violet-dark inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 text-[10.5px] font-semibold`,children:[(0,U.jsx)(ub,{className:`size-3`}),s(`publicLink`)]}),l!=null&&(0,U.jsxs)(`span`,{className:`text-muted-foreground inline-flex shrink-0 items-center gap-1 text-[11.5px]`,children:[(0,U.jsx)(Jy,{className:`size-3`}
1227),l===0?s(`expiresToday`):s(`expiresIn`,{count:l})]})]}),topbarActions:(0,U.jsx)(Z,{asChild:!0,size:`sm`,children:(0,U.jsx)(Qw,{href:`/auth/login`,children:s(`signIn`)})})})}function Eet({error:e,wide:t}){let n=X(`pages.publicRunShare`),r=xke(e),i=r?.expiresAt&&r?.createdAt?Math.max(1,Math.round((new Date(r.expiresAt).getTime()-new Date(r.createdAt).getTime())/864e5)):null,a=ket(window.location.href);return(0,U.jsx)(N9,{wide:t,children:(0,U.jsx)(`div`,{className:`flex justify-center py-14`,children:(0,U.jsxs)(`div`,{className:`border-border bg-card flex w-full max-w-[560px] flex-col items-center gap-4 rounded-2xl border-[0.5px] px-8 py-12 text-center shadow-sm`,children:[(0,U.jsx)(`span`,{className:`bg-status-error-bg grid size-16 place-items-center rounded-2xl`,children:(0,U.jsx)(nx,{className:`text-status-error size-7`})}),(0,U.jsx)(`h1`,{className:`text-fg-strong mt-1 text-[22px] font-bold`,children:n(`expiredTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground max-w-[420px] text-[13.5px] leading-relaxed`,children:i==null?n(`expiredWindowUnknown`):n(`expiredWindow`,{days:i})}),(0,U.jsx)(`div`,{className:`border-border bg-surface flex w-full items-center justify-center gap-1.5 rounded-lg border-[0.5px] px-3 py-2.5`,children:(0,U.jsx)(`span`,{className:`text-fg-hint min-w-0 truncate font-mono text-[12px]`,children:a})}),(0,U.jsxs)(`div`,{className:`mt-2 flex flex-wrap items-center justify-center gap-2`,children:[(0,U.jsx)(Det,{}),(0,U.jsx)(Z,{asChild:!0,children:(0,U.jsx)(Qw,{href:`/auth/login`,children:n(`signInAction`)})})]})]})})})}function Det(){let e=X(`pages.publicRunShare`),[t,n]=(0,O.useState)(!1);return(0,U.jsxs)(`span`,{className:`flex flex-col items-center gap-1`,children:[(0,U.jsx)(Z,{variant:`outline`,onClick:()=>n(!0),children:e(`requestNewLink`)}),t&&(0,U.jsx)(`span`,{className:`text-muted-foreground max-w-[240px] text-[11px]`,children:e(`requestNewLinkHint`)})]})}function Oet(e){let t=e.split(/[\s._@-]+/).filter(Boolean);return((t[0]?.[0]??``)+(t[1]?.[0]??``)).toUpperCase()||e.slice(0,2).toUpperCase()}function ket(e){let t=e.replace(/^https?:\/\//,``);return t.length>44?`${t.slice(0,41)}â¦`:t}var Aet={useArtifactJson:e=>Mke(e),useScreenshot:jQ,useVideoSrc:rU};function jet(){let{executionId:e}=vr(),t=M9(oS()),n=X(`pages.publicRunShare`),{activeCompanyID:r,activeTeamID:i,loading:a}=NT(),{companyName:o,teams:s,changeActiveTeam:c,isSuperAdmin:l,companies:u,changeActiveWorkspace:d}=Zw(),f=aU(e,r,i),p=tU(e),m=AQ(e),h=(0,O.useMemo)(()=>s.map(e=>e.id).filter(e=>e!==i),[s,i]),g=Fke(e,r,h,f.isError),_=g.data?s.find(e=>e.id===g.data?.teamId)??null:null,v=(0,O.useMemo)(()=>u.map(e=>e.id).filter(e=>e!==r),[u,r]),y=h.length===0||!g.isPending&&!g.data,b=Lke(e,v,l&&f.isError&&y),x=l?b.data??null:null,S=x?u.find(e=>e.id===x.companyId)?.name??``:``;(0,O.useEffect)(()=>{document.title=`${n(`pageTitle`)} · Text2Test`},[n]);let C=(0,U.jsxs)(`span`,{className:`bg-violet-pale text-violet-dark inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 text-[10.5px] font-semibold`,children:[(0,U.jsx)(Oy,{className:`size-3`}),n(`workspaceLink`)]}),w=(0,U.jsx)(Z,{asChild:!0,size:`sm`,children:(0,U.jsx)(Qw,{href:`/web/results?run=${e??``}`,children:n(`viewInResults`)})}),T=f.isError&&h.length>0&&g.isPending,E=l&&f.isError&&y&&v.length>0&&b.isPending;return a||f.isPending||T||E||!f.isError&&(m.isPending||p.isPending)?(0,U.jsx)(N9,{topbarMeta:C,wide:t,children:(0,U.jsx)(Cet,{message:n(`loading`)})}):f.isError||!f.data?(0,U.jsx)(N9,{topbarMeta:C,wide:t,children:(0,U.jsx)(`div`,{className:`flex justify-center py-14`,children:(0,U.jsx)(`div`,{className:`border-border bg-card flex w-full max-w-[560px] flex-col items-center gap-4 roun
1227ded-2xl border-[0.5px] px-8 py-12 text-center shadow-sm`,children:_?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`bg-status-pending-bg grid size-16 place-items-center rounded-2xl`,children:(0,U.jsx)(Cy,{className:`text-status-pending size-7`})}),(0,U.jsx)(`h1`,{className:`text-fg-strong mt-1 text-[22px] font-bold`,children:n(`wrongTeamTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground max-w-[420px] text-[13.5px] leading-relaxed`,children:n(`wrongTeamMessage`,{team:_.name})}),(0,U.jsxs)(Z,{className:`mt-2`,onClick:()=>c(_.id),children:[(0,U.jsx)(Cy,{className:`size-3.5`}),n(`switchTeamAction`,{team:_.name})]})]}):x?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`bg-status-pending-bg grid size-16 place-items-center rounded-2xl`,children:(0,U.jsx)(Cy,{className:`text-status-pending size-7`})}),(0,U.jsx)(`h1`,{className:`text-fg-strong mt-1 text-[22px] font-bold`,children:n(`wrongCompanyTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground max-w-[420px] text-[13.5px] leading-relaxed`,children:n(`wrongCompanyMessage`,{company:S,team:x.teamName})}),(0,U.jsxs)(Z,{className:`mt-2`,onClick:()=>d(x.companyId,x.teamId),children:[(0,U.jsx)(Cy,{className:`size-3.5`}),n(`switchCompanyAction`,{company:S})]})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`span`,{className:`bg-status-error-bg grid size-16 place-items-center rounded-2xl`,children:(0,U.jsx)(nx,{className:`text-status-error size-7`})}),(0,U.jsx)(`h1`,{className:`text-fg-strong mt-1 text-[22px] font-bold`,children:n(`runLoadErrorTitle`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground max-w-[420px] text-[13.5px] leading-relaxed`,children:n(`runLoadError`)}),(0,U.jsx)(Z,{asChild:!0,className:`mt-2`,children:(0,U.jsx)(Qw,{href:`/web/results`,children:n(`viewInResults`)})})]})})})}):(0,U.jsx)(I9e,{run:{execution:f.data,reports:p.data,steps:m.data},artifacts:Aet,workspaceName:o,wide:t,topbarMeta:C,topbarActions:w})}var $9=`-`,Met=30;function Net(){let e=X(`pages.analytics`),{activeCompanyID:t,activeTeamID:n,loading:r}=NT(),i=!r&&!!t&&!!n,{startDate:a,endDate:o}=(0,O.useMemo)(()=>bU(Met),[]),s={activeCompanyID:t,activeTeamID:n,startDate:a,endDate:o},{data:c,isLoading:l}=GH({...s,testOrPlan:`TEST`},i),{data:u,isLoading:d}=GH({...s,testOrPlan:`PLAN`},i),{data:f}=wke(s,i),{data:p}=kke({companyId:t,teamId:n,size:10},i),{data:m}=uU({companyId:t,teamId:n,filters:[],page:0,size:10,sort:`startTime,desc`},i),h=(0,O.useMemo)(()=>OU(c?.executionSummaryPerUserByDate??{},u?.executionSummaryPerUserByDate??{}),[c,u]),g=(0,O.useMemo)(()=>{if(!f)return null;let e={...f.testCreatedByUser};for(let[t,n]of Object.entries(f.planCreatedByUser??{}))e[t]=(e[t]??0)+n;return e},[f]),_=(0,O.useMemo)(()=>{let t=(p??[]).map(t=>({key:`t-${t.id??t.testName}`,user:t.createdBy??$9,action:`${e(`recentActivity.ran`)} ${t.testName} (${e(`hero.webTest`)})`,time:t.startTime??t.creationTime,tone:KH(t.status)})),n=(m?.content??[]).map(t=>({key:`p-${t.id??t.planName}`,user:t.createdBy??$9,action:`${e(`recentActivity.ran`)} ${t.planName} (${e(`recentActivity.planTag`)})`,time:t.startTime??t.creationTime,tone:KH(t.status??`PENDING`)}));return[...t,...n].sort((e,t)=>(t.time??0)-(e.time??0)).slice(0,10)},[p,m,e]),v=r||l||d;return(0,U.jsx)(`div`,{className:`bg-background text-fg-body min-h-dvh p-6 md:p-8`,children:(0,U.jsxs)(`div`,{className:`mx-auto max-w-[1400px]`,children:[(0,U.jsx)(`h1`,{className:`font-heading text-fg-strong mb-1 text-[22px] font-bold tracking-[-0.02em]`,children:e(`activityWide.title`)}),(0,U.jsx)(`p`,{className:`text-muted-foreground mb-6 text-[12.5px]`,children:e(`activityWide.subtitle`,{days:Met})}),v?(0,U.jsxs)(`div`,{className:`grid grid-cols-1 gap-4 lg:grid-cols-2`,children:[(0,U.jsx)(RH,{className:`h-[400px] rounded-lg`}),(0,U.jsx)(RH,{className:`h-[400px] rounded-lg`})]}):(0,U.jsxs)(`div`,{className:`grid grid-cols-1 items-start gap-4 lg:grid-cols-2`,children:[(0,U.jsxs)(MU,{id:`team`,className:`scroll-mt-6`,children:[(0,U.jsx)(jU,{children:e(`teamActivity.title`)}),h.length===0?(0,U.jsx)(`div`,{className:`text-fg-hint py-2 text-[12px]`,children:e(`noData`)}):(0,U.jsxs)(`table`,{className:`w-full text-[12px]`,children:[(0,U.jsx)(`thead`,{children:(0,U.jsxs)(`tr`,{className:`text-muted-foreground border-divider border-b text-left text-[10px] font-semibold tracking-[0.06em] uppercase`,children:[(0,U.jsx)(`th`,{className:`py-2 font-semibold`,children:e(`activityWide.colMember`)}),(0,U.jsx)(`th`,{className:`py-2 text-right font-semibold`,children:e(`activityWide.colCreated`)}),(0,U.jsx)(`th`,{className:`py-2 text-right font-semibold`,children:e(`activityWide.colRuns`)}),(0,U.jsx)(`th`,{className:`py-2 text-right font-semibold`,children:e(`stats.passRate`)}),(0,U.jsx)(`th`,{className:`py-2 text-right font-semibold`,children:e(`activityWide.colLastActive`)})]})}),(0,U.jsx)(`tbody`,{children:h.map(e=>{let t=EU({...CU(),total:e.runs,success:e.passed}),n=f?.lastActiveByUser?.[e.user];return(0,U.jsxs)(`tr`,{className:`border-divider border-b last:border-b-0`,children:[(0,U.jsx)(`td`,{className:`py-2.5`,children:(0,U.jsxs)(`span`,{className:`flex items-center gap-2.5`,children:[(0,U.jsx)(VU,{name:e.user}),(0,U.jsx)(`span`,{className:`text-fg-strong truncate font-medium`,children:e.user})]})}),(0,U.jsx)(`td`,{className:`text-brand py-2.5 text-right font-medium`,children:g?(g[e.user]??0).toLocaleStr
1227ing():$9}),(0,U.jsx)(`td`,{className:`py-2.5 text-right`,children:e.runs.toLocaleString()}),(0,U.jsx)(`td`,{className:`py-2.5 text-right font-medium`,style:{color:t>=80?`var(--color-status-passed)`:t>=60?`var(--color-warning)`:`var(--color-status-failed)`},children:e.runs>0?`${t}%`:$9}),(0,U.jsx)(`td`,{className:`text-muted-foreground py-2.5 text-right`,children:n?DU(n):$9})]},e.user)})})]})]}),(0,U.jsxs)(MU,{id:`activity`,className:`scroll-mt-6`,children:[(0,U.jsx)(jU,{children:e(`recentActivity.title`)}),_.length===0?(0,U.jsx)(`div`,{className:`text-fg-hint py-2 text-[12px]`,children:e(`noData`)}):_.map(e=>(0,U.jsx)(HU,{user:e.user,action:e.action,time:DU(e.time),tone:e.tone},e.key))]})]})]})})}function Pet(){return(0,U.jsx)(Net,{})}function Fet(){return(0,U.jsx)(Vw,{children:(0,U.jsxs)(Xw,{children:[(0,U.jsx)(Lde,{}),(0,U.jsx)(Bde,{}),(0,U.jsx)(Mde,{children:(0,U.jsx)($r,{})})]})})}function Iet(){return(0,U.jsx)(Vw,{children:(0,U.jsx)(Xw,{children:(0,U.jsx)($r,{})})})}function Let(){return(0,U.jsx)(`div`,{className:`bg-background text-foreground min-h-dvh`,children:(0,U.jsx)($r,{})})}var Ret=zi([{index:!0,element:(0,U.jsx)(Qr,{to:eT,replace:!0})},{element:(0,U.jsx)(Fet,{}),errorElement:(0,U.jsx)(QT,{}),children:[{path:`analytics`,element:(0,U.jsx)(Qr,{to:eT,replace:!0})},{path:`data-source`,element:(0,U.jsx)(iBe,{})},{path:`web/overview`,element:(0,U.jsx)(iVe,{})},{path:`web/results`,element:(0,U.jsx)(AHe,{})},{path:`web/get-extension`,element:(0,U.jsx)(Z$e,{})},{path:`web/get-extension/installed`,element:(0,U.jsx)(n1e,{})},{path:`web/:id`,element:(0,U.jsx)(eQe,{})},{path:`http-request`,element:(0,U.jsx)(oQe,{})},{path:`http-request/:id`,element:(0,U.jsx)(TQe,{})},{path:`plan`,element:(0,U.jsx)(s$e,{})},{path:`plan-execution`,element:(0,U.jsx)(v$e,{})},{path:`tag`,element:(0,U.jsx)(D$e,{})},{path:`test-tags`,element:(0,U.jsx)(j$e,{})},{path:`scenario-file`,element:(0,U.jsx)(G$e,{})},{path:`download-extension`,element:(0,U.jsx)(Qr,{to:`/web/get-extension`,replace:!0})},{path:`mobile-tests`,element:(0,U.jsx)(A1e,{})},{path:`mobile-test`,element:(0,U.jsx)(N1e,{})},{path:`usage`,element:(0,U.jsx)(_0e,{})},{path:`settings/packages`,element:(0,U.jsx)(w0e,{})},{path:`settings/profiles`,element:(0,U.jsx)(j0e,{})},{path:`settings/profiles/:id`,element:(0,U.jsx)(P0e,{})},{path:`settings/mcp-servers`,element:(0,U.jsx)(B0e,{})},{path:`settings/api-keys`,element:(0,U.jsx)(l2e,{})},{path:`settings/vault`,element:(0,U.jsx)(v2e,{})},{path:`settings/account`,element:(0,U.jsx)(x2e,{})},{path:`settings/members`,element:(0,U.jsx)(C2e,{})},{path:`settings/notifications`,element:(0,U.jsx)(D2e,{})},{path:`settings/security`,element:(0,U.jsx)(A2e,{})},{path:`docs/automation`,element:(0,U.jsx)(z2e,{})},{path:`docs/settings`,element:(0,U.jsx)(H2e,{})},{path:`docs/tools`,element:(0,U.jsx)(G2e,{})},{path:`docs/web`,element:(0,U.jsx)(J2e,{})}]},{element:(0,U.jsx)(Iet,{}),errorElement:(0,U.jsx)(QT,{}),children:[{path:`share/w/:executionId`,element:(0,U.jsx)(jet,{})},{path:`analytics/activity`,element:(0,U.jsx)(Pet,{})}]},{element:(0,U.jsx)(Let,{}),errorElement:(0,U.jsx)(QT,{}),children:[{path:`auth/login`,element:(0,U.jsx)(l4e,{})},{path:`auth/login/reset`,element:(0,U.jsx)(_4e,{})},{path:`auth/register`,element:(0,U.jsx)(j4e,{})},{path:`auth/callback`,element:(0,U.jsx)(M4e,{})},{path:`auth/social-relay`,element:(0,U.jsx)(N4e,{})},{path:`invite/accept`,element:(0,U.jsx)(N9e,{})},{path:`public/share/:token`,element:(0,U.jsx)(set,{})},{path:`share/r/:token`,element:(0,U.jsx)(wet,{})}]},{path:`*`,element:(0,U.jsx)(Qr,{to:eT,replace:!0})}]);function zet(){return(0,U.jsx)(ac,{children:(0,U.jsx)(bc,{children:(0,U.jsx)(Ao,{i18n:nS,children:(0,U.jsxs)(sy,{delayDuration:150,children:[(0,U.jsx)(Jr,{router:Ret}),(0,U.jsx)(qoe,{})]})})})})}D(),b(),x(),y(),window.addEventListener(`vite:preloadError`,e=>{let t=`t2t.chunk-reload-at`,n=Number(sessionStorage.getItem(t)??0);Date.now()-n<3e4||(sessionStorage.setItem(t,String(Date.now())),e.preventDefault(),window.location.reload())}),(0,_.createRoot)(document.getElementById(`root`)).render((0,U.jsx)(zet,{}));export{fc as a,y as c,l as d,W as i,p as l,AUe as n,Vs as o,kUe as r,N as s,o1 as t,s as u};
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.