1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/users-BGARhh4y.js","assets/shell-Bn-pLm8q.js","assets/native-select-fTNyhO3G.js","assets/badge-C6AVSyeW.js","assets/layout-BynoxVSO.js","assets/close-button-D-2-qEiH.js","assets/icon-Bruzx3bx.js","assets/h-stack-BuHvPea0.js","assets/protected-route-CEjk3kuo.js","assets/unsubscribe-DLjs_fXH.js","assets/checkbox-CfDED0sa.js","assets/press-BvUZXTVU.js","assets/field-B4yOim5f.js","assets/report-subscription-8ZfWwt_n.js","assets/support-ticket-bdpj00xW.js","assets/support-rich-text-editor-Bxo5ez2Y.js","assets/rich-text-editor-Bs90s5QK.js","assets/support-utils-B5KIVYpL.js","assets/support-FlEkjGxg.js","assets/support-CMVP8xMb.js","assets/link-Dkb5Vr5l.js","assets/table-BLIXbcUA.js","assets/ticket-activity-feed-CZSsbxj0.js","assets/date-utils-_mb5LLQH.js","assets/revenue-6u_WxxM8.js","assets/tabs-DfRjO_V8.js","assets/resize-observer-CqCA6jpD.js","assets/number-DK2xzHEj.js","assets/reporting-BiYYuEsO.js","assets/date-picker-ASlSc2KC.js","assets/separator-D3WCnQEF.js","assets/simple-grid-CMq8ZRQJ.js","assets/grid-pJc9p-aa.js","assets/reporting-DTwySCUu.js","assets/useLocation-oPBxgNDW.js","assets/promo-plans-4bMOYmM8.js","assets/promo-plans-Qg-u7iIH.js","assets/revenue-CUDWn9C4.js","assets/stat-DMZnLptE.js","assets/section-header-count-BgUvG1qP.js","assets/organizations-Uq9nfvVk.js","assets/leads-HzXIBbx-.js","assets/textarea-DT_dZE7N.js","assets/filter-options-CL8sdOnW.js","assets/invoices-BOCngjNN.js","assets/front-app-UHoeAdI0.js","assets/radio-group-M57cbOIA.js","assets/radio-group.machine-D-oflCYc.js","assets/forbidden-D4A6v7u8.js","assets/access-requests-uGFFcdka.js","assets/customers-8icbs2Lv.js","assets/access-request-organization-select-Dyup7lIo.js","assets/_storeId-C-o1KAG0.js","assets/_-D9gVdr-S.js","assets/routes-CAs6KVoJ.js","assets/popover-VAYX2rBL.js","assets/alert-3oexvx4L.js","assets/ui-kit-Moe4eQ1D.js","assets/ui-blocks-lYMHF7RD.js","assets/typography-Bue3HHKd.js","assets/theme-Cl61Dwkv.js","assets/tables-h1EEOy_P.js","assets/stats-YrGQu9hl.js","assets/format-bytes-3QkVpKAM.js","assets/primitives-CzujO6Ko.js","assets/loading-BpI9FrkA.js","assets/forms-B7r789A-.js","assets/fieldset-BdzEv0zt.js","assets/switch-CceisZg-.js","assets/cards-CW5HLR8N.js","assets/buttons-Cke9EL8I.js","assets/alerts-C8OcKHqr.js","assets/session-expired-7VF1
vendor: 21,071 bytes, lines 1-4
1ZjA1.js","assets/logged-out-CwTZi1kT.js","assets/error-DH7RrsoR.js","assets/users-QrVgELJf.js","assets/users-nvQFbyY7.js","assets/user-partner-access-card-Ba7m8ioG.js","assets/customer-utils-CqAbTQM-.js","assets/_userEmail-CTKInTIM.js","assets/revenue-BEtbWhtg.js","assets/updated-B-InmDov.js","assets/new-7WQ1Zlht.js","assets/cancelled-CCj5gWwb.js","assets/organizations-B8wMs7E-.js","assets/customers-CVnfc__R.js","assets/_organizationId-DXPIcW7G.js","assets/_storeId-CM5ZEk12.js","assets/users-CBdLfm3e.js","assets/synonyms-CkibMpkf.js","assets/segment-group-BYhD0pIl.js","assets/tag-D1Uys4MD.js","assets/status-CUVNWkDN.js","assets/code-CRnrRFI_.js","assets/sources-DZHZvFSj.js","assets/reporting-B0uIQAgE.js","assets/billing-Bwmd1Tri.js","assets/ai-tools-DIQT8SdD.js","assets/_storeId-9U_F9Spz.js","assets/support-DF9_SUDg.js","assets/_ticketId-D6Ly3dt6.js","assets/sources-DyuqF_PL.js","assets/_sourceType-c1tAUtiA.js","assets/reporting-DazTUWkG.js","assets/vehicles-Bd_2-RH2.js","assets/queries-B-Viatph.js","assets/products-DUwLXxLZ.js","assets/filters-BODths1k.js","assets/sessions-Iv_saNcn.js","assets/_sessionId-D6FFoLzU.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=(e,t,n)=>(c(e,t,`default`),n&&c(n,t,`default`)),u=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=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},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function N(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===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function P(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,P(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),P(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+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+M(a,u),c+=P(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+M(a,u++),c+=P(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return P(N(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function F(e,t,n){if(e==null)return e;var r=[],i=0;return P(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ee(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:F,forEach:function(e,t,n){F(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return F(e,function(){t++}),t},toArray:function(e){return F(e,function(e){return e})||[]},only:function(e){if(!k(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)!E.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 D(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)E.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 D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=k,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ee}},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()},e.version=`19.2.6`})),f=o(((e,t)=>{t.exports=d()})),p=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,k());else{var t=n(l);t!==null&&M(x,t.startTime-e)}}var S=!1,C=-1,w=5,E=-1;function D(){return g?!0:!(e.unstable_now()-E<w)}function O(){if(g=!1,S){var t=e.unstable_now();E=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&&D());){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&&M(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?k():S=!1}}}var k;if(typeof y==`function`)k=function(){y(O)};else if(typeof MessageChannel<`u`){var A=new MessageChannel,j=A.port2;A.port1.onmessage=O,k=function(){j.postMessage(null)}}else k=function(){_(O,0)};function M(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,M(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,k()))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),m=o(((e,t)=>{t.exports=p()})),h=o((e=>{var t=f();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.6`})),g=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=h()})),_=o((e=>{var t=m(),n=f(),r=g();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 d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,h=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`),E=Symbol.for(`react.suspense`),D=Symbol.for(`react.suspense_list`),O=Symbol.for(`react.memo`),k=Symbol.for(`react.lazy`),A=Symbol.for(`react.activity`),j=Symbol.for(`react.memo_cache_sentinel`),M=Symbol.iterator;function N(e){return typeof e!=`object`||!e?null:(e=M&&e[M]||e[`@@iterator`],typeof e==`function`?e:null)}var P=Symbol.for(`react.client.reference`);function F(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===P?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 E:return`Suspense`;case D:return`SuspenseList`;case A: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 O:return t=e.displayName||null,t===null?F(e.type)||`Memo`:t;case k:t=e._payload,e=e._init;try{return F(e(t))}catch{}}return null}var ee=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,te={pending:!1,data:null,method:null,action:null},ne=[],re=-1;function ie(e){return{current:e}}function ae(e){0>re||(e.current=ne[re],ne[re]=null,re--)}function R(e,t){re++,ne[re]=e.current,e.current=t}var oe=ie(null),se=ie(null),ce=ie(null),le=ie(null);function ue(e,t){switch(R(ce,t),R(se,e),R(oe,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Xd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Xd(t),e=Zd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ae(oe),R(oe,e)}function de(){ae(oe),ae(se),ae(ce)}function fe(e){e.memoizedState!==null&&R(le,e);var t=oe.current,n=Zd(t,e.type);t!==n&&(R(se,e),R(oe,n))}function pe(e){se.current===e&&(ae(oe),ae(se)),le.current===e&&(ae(le),sp._currentValue=te)}var me,he;function ge(e){if(me===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);me=t&&t[1]||``,he=-1<e.stack.indexOf(` 3 at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return` 4`+me+e+he}var _e=!1;function ve(e,t){if(!e||_e)return``;_e=!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)}
vendor: 6,582 bytes, lines 4-9
4else{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{_e=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?ge(n):``}function ye(e,t){switch(e.tag){case 26:case 27:case 5:return ge(e.type);case 16:return ge(`Lazy`);case 13:return e.child!==t&&t!==null?ge(`Suspense Fallback`):ge(`Suspense`);case 19:return ge(`SuspenseList`);case 0:case 15:return ve(e.type,!1);case 11:return ve(e.type.render,!1);case 1:return ve(e.type,!0);case 31:return ge(`Activity`);default:return``}}function be(e){try{var t=``,n=null;do t+=ye(e,n),n=e,e=e.return;while(e);return t}catch(e){return` 8Error generating stack: `+e.message+` 9`+e.stack}}var xe=Object.prototype.hasOwnProperty,Se=t.unstable_scheduleCallback,Ce=t.unstable_cancelCallback,we=t.unstable_shouldYield,Te=t.unstable_requestPaint,Ee=t.unstable_now,De=t.unstable_getCurrentPriorityLevel,Oe=t.unstable_ImmediatePriority,ke=t.unstable_UserBlockingPriority,Ae=t.unstable_NormalPriority,je=t.unstable_LowPriority,Me=t.unstable_IdlePriority,Ne=t.log,Pe=t.unstable_setDisableYieldValue,Fe=null,Ie=null;function Le(e){if(typeof Ne==`function`&&Pe(e),Ie&&typeof Ie.setStrictMode==`function`)try{Ie.setStrictMode(Fe,e)}catch{}}var Re=Math.clz32?Math.clz32:Ve,ze=Math.log,Be=Math.LN2;function Ve(e){return e>>>=0,e===0?32:31-(ze(e)/Be|0)|0}var He=256,Ue=262144,We=4194304;function Ge(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 Ke(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=Ge(n))):i=Ge(o):i=Ge(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ge(n))):i=Ge(o)):i=Ge(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 qe(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Je(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 Ye(){var e=We;return We<<=1,!(We&62914560)&&(We=4194304),e}function Xe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ze(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-Re(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&&$e(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function $e(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Re(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function et(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Re(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function tt(e,t){var n=t&-t;return n=n&42?1:nt(n),(n&(e.suspendedLanes|t))===0?n:0}function nt(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 rt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function it(){var e=L.p;return e===0?(e=window.event,e===void 0?32:Cp(e.type)):e}function at(e,t){var n=L.p;try{return L.p=e,t()}finally{L.p=n}}var ot=Math.random().toString(36).slice(2),st=`__reactFiber$`+ot,ct=`__reactProps$`+ot,lt=`__reactContainer$`+ot,ut=`__reactEvents$`+ot,dt=`__reactListeners$`+ot,ft=`__reactHandles$`+ot,pt=`__reactResources$`+ot,mt=`__reactMarker$`+ot;function ht(e){delete e[st],delete e[ct],delete e[ut],delete e[dt],delete e[ft]}function gt(e){var t=e[st];if(t)return t;for(var n=e.parentNode;n;){if(t=n[lt]||n[st]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=bf(e);e!==null;){if(n=e[st])return n;e=bf(e)}return t}e=n,n=e.parentNode}return null}function _t(e){if(e=e[st]||e[lt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function vt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function yt(e){var t=e[pt];return t||=e[pt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function bt(e){e[mt]=!0}var xt=new Set,St={};function Ct(e,t){wt(e,t),wt(e+`Capture`,t)}function wt(e,t){for(St[e]=t,e=0;e<t.length;e++)xt.add(t[e])}var Tt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
9037D\\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]*$`),Et={},Dt={};function Ot(e){return xe.call(Dt,e)?!0:xe.call(Et,e)?!1:Tt.test(e)?Dt[e]=!0:(Et[e]=!0,!1)}function kt(e,t,n){if(Ot(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 At(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 jt(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 Mt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Nt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Pt(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 Ft(e){if(!e._valueTracker){var t=Nt(e)?`checked`:`value`;e._valueTracker=Pt(e,t,``+e[t])}}function It(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Nt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Lt(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 Rt=/[\n"\\]/g;function zt(e){return e.replace(Rt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Bt(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=``+Mt(t)):e.value!==``+Mt(t)&&(e.value=``+Mt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Ht(e,o,Mt(n)):Ht(e,o,Mt(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=``+Mt(s):e.removeAttribute(`name`)}function Vt(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)){Ft(e);return}n=n==null?``:``+Mt(n),t=t==null?n:``+Mt(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),Ft(e)}function Ht(e,t,n){t===`number`&&Lt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Ut(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=``+Mt(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 Wt(e,t,n){if(t!=null&&(t=``+Mt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Mt(n)}function Gt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ee(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}
vendor: 116,031 bytes, line 9
9n=Mt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Ft(e)}function Kt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qt=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 Jt(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||qt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Yt(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&&Jt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Jt(e,o,t[o])}function Xt(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 Zt=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 $t(e){return Qt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function en(){}var tn=null;function nn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rn=null,an=null;function on(e){var t=_t(e);if(t&&(e=t.stateNode)){var n=e[ct]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Bt(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="`+zt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ct]||null;if(!a)throw Error(i(90));Bt(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&&It(r)}break a;case`textarea`:Wt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Ut(e,!!n.multiple,t,!1)}}}var sn=!1;function cn(e,t,n){if(sn)return e(t,n);sn=!0;try{return e(t)}finally{if(sn=!1,(rn!==null||an!==null)&&(Eu(),rn&&(t=rn,e=an,an=rn=null,on(t),e)))for(t=0;t<e.length;t++)on(e[t])}}function ln(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ct]||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 un=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),dn=!1;if(un)try{var fn={};Object.defineProperty(fn,`passive`,{get:function(){dn=!0}}),window.addEventListener(`test`,fn,fn),window.removeEventListener(`test`,fn,fn)}catch{dn=!1}var pn=null,mn=null,hn=null;function gn(){if(hn)return hn;var e,t=mn,n=t.length,r,i=`value`in pn?pn.value:pn.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 hn=i.slice(e,1<r?1-r:void 0)}function _n(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function vn(){return!0}function yn(){return!1}function bn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?vn:yn,this.isPropagationStopped=yn,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=vn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=vn)},persist:function(){},isPersistent:vn}),t}var xn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sn=bn(xn),Cn=p({},xn,{view:0,detail:0}),wn=bn(Cn),Tn,En,Dn,On=p({},Cn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zn,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!==Dn&&(Dn&&e.type===`mousemove`?(Tn=e.screenX-Dn.screenX,En=e.screenY-Dn.screenY):En=Tn=0,Dn=e),Tn)},movementY:function(e){return`movementY`in e?e.movementY:En}}),kn=bn(On),An=bn(p({},On,{dataTransfer:0})),jn=bn(p({},Cn,{relatedTarget:0})),Mn=bn(p({},xn,{animationName:0,elapsedTime:0,pseudoElement:0})),Nn=bn(p({},xn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Pn=bn(p({},xn,{data:0})),Fn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},In={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Ln={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Rn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ln[e])?!!t[e]:!1}function zn(){return Rn}var Bn=bn(p({},Cn,{key:function(e){if(e.key){var t=Fn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=_n(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?In[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zn,charCode:function(e){return e.type===`keypress`?_n(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?_n(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Vn=bn(p({},On,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Hn=bn(p({},Cn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zn})),Un=bn(p({},xn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Wn=bn(p({},On,{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})),z=bn(p({},xn,{newState:0,oldState:0})),Gn=[9,13,27,32],Kn=un&&`CompositionEvent`in window,qn=null;un&&`documentMode`in document&&(qn=document.documentMode);var Jn=un&&`TextEvent`in window&&!qn,Yn=un&&(!Kn||qn&&8<qn&&11>=qn),Xn=` `,Zn=!1;function Qn(e,t){switch(e){case`keyup`:return Gn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function $n(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var er=!1;function tr(e,t){switch(e){case`compositionend`:return $n(t);case`keypress`:return t.which===32?(Zn=!0,Xn):null;case`textInput`:return e=t.data,e===Xn&&Zn?null:e;default:return null}}function nr(e,t){if(er)return e===`compositionend`||!Kn&&Qn(e,t)?(e=gn(),hn=mn=pn=null,er=!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 Yn&&t.locale!==`ko`?null:t.data;default:return null}}var rr={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 ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!rr[e.type]:t===`textarea`}function ar(e,t,n,r){rn?an?an.push(r):an=[r]:rn=r,t=Pd(t,`onChange`),0<t.length&&(n=new Sn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var or=null,sr=null;function cr(e){Ed(e,0)}function lr(e){if(It(vt(e)))return e}function ur(e,t){if(e===`change`)return t}var dr=!1;if(un){var fr;if(un){var pr=`oninput`in document;if(!pr){var mr=document.createElement(`div`);mr.setAttribute(`oninput`,`return;`),pr=typeof mr.oninput==`function`}fr=pr}else fr=!1;dr=fr&&(!document.documentMode||9<document.documentMode)}function hr(){or&&(or.detachEvent(`onpropertychange`,gr),sr=or=null)}function gr(e){if(e.propertyName===`value`&&lr(sr)){var t=[];ar(t,sr,e,nn(e)),cn(cr,t)}}function _r(e,t,n){e===`focusin`?(hr(),or=t,sr=n,or.attachEvent(`onpropertychange`,gr)):e===`focusout`&&hr()}function vr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return lr(sr)}function yr(e,t){if(e===`click`)return lr(t)}function br(e,t){if(e===`input`||e===`change`)return lr(t)}function xr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Sr=typeof Object.is==`function`?Object.is:xr;function Cr(e,t){if(Sr(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(!xe.call(t,i)||!Sr(e[i],t[i]))return!1}return!0}function wr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Tr(e,t){var n=wr(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=wr(n)}}function Er(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Er(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Lt(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=Lt(e.document)}return t}function Or(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 kr=un&&`documentMode`in document&&11>=document.documentMode,Ar=null,jr=null,Mr=null,Nr=!1;function Pr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Nr||Ar==null||Ar!==Lt(r)||(r=Ar,`selectionStart`in r&&Or(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Mr&&Cr(Mr,r)||(Mr=r,r=Pd(jr,`onSelect`),0<r.length&&(t=new Sn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Ar)))}function Fr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Ir={animationend:Fr(`Animation`,`AnimationEnd`),animationiteration:Fr(`Animation`,`AnimationIteration`),animationstart:Fr(`Animation`,`AnimationStart`),transitionrun:Fr(`Transition`,`TransitionRun`),transitionstart:Fr(`Transition`,`TransitionStart`),transitioncancel:Fr(`Transition`,`TransitionCancel`),transitionend:Fr(`Transition`,`TransitionEnd`)},Lr={},Rr={};un&&(Rr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Ir.animationend.animation,delete Ir.animationiteration.animation,delete Ir.animationstart.animation),`TransitionEvent`in window||delete Ir.transitionend.transition);function zr(e){if(Lr[e])return Lr[e];if(!Ir[e])return e;var t=Ir[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Rr)return Lr[e]=t[n];return e}var Br=zr(`animationend`),Vr=zr(`animationiteration`),Hr=zr(`animationstart`),Ur=zr(`transitionrun`),Wr=zr(`transitionstart`),Gr=zr(`transitioncancel`),Kr=zr(`transitionend`),qr=new Map,Jr=`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(` `);Jr.push(`scrollEnd`);function Yr(e,t){qr.set(e,t),Ct(t,[e])}var Xr=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)},Zr=[],Qr=0,$r=0;function ei(){for(var e=Qr,t=$r=Qr=0;t<e;){var n=Zr[t];Zr[t++]=null;var r=Zr[t];Zr[t++]=null;var i=Zr[t];Zr[t++]=null;var a=Zr[t];if(Zr[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&&ii(n,i,a)}}function ti(e,t,n,r){Zr[Qr++]=e,Zr[Qr++]=t,Zr[Qr++]=n,Zr[Qr++]=r,$r|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ni(e,t,n,r){return ti(e,t,n,r),ai(e)}function ri(e,t){return ti(e,null,null,t),ai(e)}function ii(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-Re(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ai(e){if(50<_u)throw _u=0,vu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var oi={};function si(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 ci(e,t,n,r){return new si(e,t,n,r)}function li(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ui(e,t){var n=e.alternate;return n===null?(n=ci(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 di(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 fi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)li(e)&&(s=1);else if(typeof e==`string`)s=Qf(e,n,oe.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case A:return e=ci(31,n,t,a),e.elementType=A,e.lanes=o,e;case y:return pi(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=ci(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case E:return e=ci(13,n,t,a),e.elementType=E,e.lanes=o,e;case D:return e=ci(19,n,t,a),e.elementType=D,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 O:s=14;break a;case k:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=ci(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function pi(e,t,n,r){return e=ci(7,e,r,t),e.lanes=n,e}function mi(e,t,n){return e=ci(6,e,null,t),e.lanes=n,e}function hi(e){var t=ci(18,null,null,0);return t.stateNode=e,t}function gi(e,t,n){return t=ci(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var _i=new WeakMap;function vi(e,t){if(typeof e==`object`&&e){var n=_i.get(e);return n===void 0?(t={value:e,source:t,stack:be(t)},_i.set(e,t),t):n}return{value:e,source:t,stack:be(t)}}var yi=[],bi=0,xi=null,Si=0,Ci=[],wi=0,Ti=null,Ei=1,Di=``;function Oi(e,t){yi[bi++]=Si,yi[bi++]=xi,xi=e,Si=t}function ki(e,t,n){Ci[wi++]=Ei,Ci[wi++]=Di,Ci[wi++]=Ti,Ti=e;var r=Ei;e=Di;var i=32-Re(r)-1;r&=~(1<<i),n+=1;var a=32-Re(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ei=1<<32-Re(t)+i|n<<i|r,Di=a+e}else Ei=1<<a|n<<i|r,Di=e}function Ai(e){e.return!==null&&(Oi(e,1),ki(e,1,0))}function ji(e){for(;e===xi;)xi=yi[--bi],yi[bi]=null,Si=yi[--bi],yi[bi]=null;for(;e===Ti;)Ti=Ci[--wi],Ci[wi]=null,Di=Ci[--wi],Ci[wi]=null,Ei=Ci[--wi],Ci[wi]=null}function Mi(e,t){Ci[wi++]=Ei,Ci[wi++]=Di,Ci[wi++]=Ti,Ei=t.id,Di=t.overflow,Ti=e}var Ni=null,Pi=null,Fi=!1,Ii=null,Li=!1,Ri=Error(i(519));function zi(e){throw Gi(vi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ri}function Bi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[st]=e,t[ct]=r,n){case`dialog`:Dd(`cancel`,t),Dd(`close`,t);break;case`iframe`:case`object`:case`embed`:Dd(`load`,t);break;case`video`:case`audio`:for(n=0;n<wd.length;n++)Dd(wd[n],t);break;case`source`:Dd(`error`,t);break;case`img`:case`image`:case`link`:Dd(`error`,t),Dd(`load`,t);break;case`details`:Dd(`toggle`,t);break;case`input`:Dd(`invalid`,t),Vt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Dd(`invalid`,t);break;case`textarea`:Dd(`invalid`,t),Gt(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||Bd(t.textContent,n)?(r.popover!=null&&(Dd(`beforetoggle`,t),Dd(`toggle`,t)),r.onScroll!=null&&Dd(`scroll`,t),r.onScrollEnd!=null&&Dd(`scrollend`,t),r.onClick!=null&&(t.onclick=en),t=!0):t=!1,t||zi(e,!0)}function Vi(e){for(Ni=e.return;Ni;)switch(Ni.tag){case 5:case 31:case 13:Li=!1;return;case 27:case 3:Li=!0;return;default:Ni=Ni.return}}function Hi(e){if(e!==Ni)return!1;if(!Fi)return Vi(e),Fi=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Qd(e.type,e.memoizedProps)),n=!n),n&&Pi&&zi(e),Vi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Pi=yf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Pi=yf(e)}else t===27?(t=Pi,sf(e.type)?(e=vf,vf=null,Pi=e):Pi=t):Pi=Ni?_f(e.stateNode.nextSibling):null;return!0}function Ui(){Pi=Ni=null,Fi=!1}function Wi(){var e=Ii;return e!==null&&(ru===null?ru=e:ru.push.apply(ru,e),Ii=null),e}function Gi(e){Ii===null?Ii=[e]:Ii.push(e)}var Ki=ie(null),qi=null,Ji=null;function Yi(e,t,n){R(Ki,t._currentValue),t._currentValue=n}function Xi(e){e._currentValue=Ki.current,ae(Ki)}function Zi(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 Qi(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),Zi(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),Zi(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 $i(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;Sr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===le.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[sp]:e.push(sp))}a=a.return}e!==null&&Qi(t,e,n,r),t.flags|=262144}function ea(e){for(e=e.firstContext;e!==null;){if(!Sr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ta(e){qi=e,Ji=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function na(e){return ia(qi,e)}function ra(e,t){return qi===null&&ta(e),ia(e,t)}function ia(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ji===null){if(e===null)throw Error(i(308));Ji=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ji=Ji.next=t;return n}var aa=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()})}},oa=t.unstable_scheduleCallback,sa=t.unstable_NormalPriority,ca={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function la(){return{controller:new aa,data:new Map,refCount:0}}function ua(e){e.refCount--,e.refCount===0&&oa(sa,function(){e.controller.abort()})}var da=null,fa=0,pa=0,ma=null;function ha(e,t){if(da===null){var n=da=[];fa=0,pa=vd(),ma={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return fa++,t.then(ga,ga),t}function ga(){if(--fa===0&&da!==null){ma!==null&&(ma.status=`fulfilled`);var e=da;da=null,pa=0,ma=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function _a(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 va=I.S;I.S=function(e,t){ou=Ee(),typeof t==`object`&&t&&typeof t.then==`function`&&ha(e,t),va!==null&&va(e,t)};var ya=ie(null);function ba(){var e=ya.current;return e===null?Hl.pooledCache:e}function xa(e,t){t===null?R(ya,ya.current):R(ya,t.pool)}function Sa(){var e=ba();return e===null?null:{parent:ca._currentValue,pool:e}}var Ca=Error(i(460)),wa=Error(i(474)),Ta=Error(i(542)),Ea={then:function(){}};function Da(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Oa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(en,en),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ma(e),e;default:if(typeof t.status==`string`)t.then(en,en);else{if(e=Hl,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,Ma(e),e}throw Aa=t,Ca}}function ka(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Aa=e,Ca):e}}var Aa=null;function ja(){if(Aa===null)throw Error(i(459));var e=Aa;return Aa=null,e}function Ma(e){if(e===Ca||e===Ta)throw Error(i(483))}var Na=null,Pa=0;function Fa(e){var t=Pa;return Pa+=1,Na===null&&(Na=[]),Oa(Na,e,t)}function Ia(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function La(e,t){throw t.$$typeof===h?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ra(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=ui(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=mi(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===k&&ka(i)===t.type)?(t=a(t,n.props),Ia(t,n),t.return=e,t):(t=fi(n.type,n.key,n.props,null,e.mode,r),Ia(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=gi(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=pi(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=mi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case _:return n=fi(t.type,t.key,t.props,null,e.mode,n),Ia(n,t),n.return=e,n;case v:return t=gi(t,e.mode,n),t.return=e,t;case k:return t=ka(t),f(e,t,n)}if(ee(t)||N(t))return t=pi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Fa(t),n);if(t.$$typeof===C)return f(e,ra(e,t),n);La(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 k:return n=ka(n),p(e,t,n,r)}if(ee(n)||N(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Fa(n),r);if(n.$$typeof===C)return p(e,t,ra(e,n),r);La(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 k:return r=ka(r),m(e,t,n,r,i)}if(ee(r)||N(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Fa(r),i);if(r.$$typeof===C)return m(e,t,n,ra(t,r),i);La(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),Fi&&Oi(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 Fi&&Oi(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)}),Fi&&Oi(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),Fi&&Oi(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 Fi&&Oi(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)}),Fi&&Oi(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===k&&ka(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ia(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=pi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=fi(o.type,o.key,o.props,null,e.mode,c),Ia(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}else t(e,r);r=r.sibling}c=gi(o,e.mode,c),c.return=e,e=c}return s(e);case k:return o=ka(o),b(e,r,o,c)}if(ee(o))return h(e,r,o,c);if(N(o)){if(l=N(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,Fa(o),c);if(o.$$typeof===C)return b(e,r,ra(e,o),c);La(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=mi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Pa=0;var i=b(e,t,n,r);return Na=null,i}catch(t){if(t===Ca||t===Ta)throw t;var a=ci(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var za=Ra(!0),Ba=Ra(!1),Va=!1;function Ha(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ua(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 Wa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ga(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Vl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ai(e),ii(e,null,n),t}return ti(e,r,t,n),ai(e)}function Ka(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,et(e,n)}}function qa(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 Ja=!1;function Ya(){if(Ja){var e=ma;if(e!==null)throw e}}function Xa(e,t,n,r){Ja=!1;var i=e.updateQueue;Va=!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,m=f!==s.lane;if(m?(Ul&f)===f:(r&f)===f){f!==0&&f===pa&&(Ja=!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=p({},d,f);break a;case 2:Va=!0}}f=s.callback,f!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[f]:m.push(f))}else m={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,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),Zl|=o,e.lanes=o,e.memoizedState=d}}function Za(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Qa(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Za(n[e],t)}var $a=ie(null),eo=ie(0);function to(e,t){e=Yl,R(eo,e),R($a,t),Yl=e|t.baseLanes}function no(){R(eo,Yl),R($a,$a.current)}function ro(){Yl=eo.current,ae($a),ae(eo)}var io=ie(null),ao=null;function oo(e){var t=e.alternate;R(fo,fo.current&1),R(io,e),ao===null&&(t===null||$a.current!==null||t.memoizedState!==null)&&(ao=e)}function so(e){R(fo,fo.current),R(io,e),ao===null&&(ao=e)}function co(e){e.tag===22?(R(fo,fo.current),R(io,e),ao===null&&(ao=e)):lo(e)}function lo(){R(fo,fo.current),R(io,io.current)}function uo(e){ae(io),ao===e&&(ao=null),ae(fo)}var fo=ie(0);function po(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||mf(n)||hf(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 mo=0,B=null,ho=null,go=null,_o=!1,vo=!1,yo=!1,bo=0,xo=0,So=null,Co=0;function wo(){throw Error(i(321))}function To(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Sr(e[n],t[n]))return!1;return!0}function Eo(e,t,n,r,i,a){return mo=a,B=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,I.H=e===null||e.memoizedState===null?Vs:Hs,yo=!1,a=n(r,i),yo=!1,vo&&(a=Oo(t,n,r,i)),Do(e),a}function Do(e){I.H=Bs;var t=ho!==null&&ho.next!==null;if(mo=0,go=ho=B=null,_o=!1,xo=0,So=null,t)throw Error(i(300));e===null||ac||(e=e.dependencies,e!==null&&ea(e)&&(ac=!0))}function Oo(e,t,n,r){B=e;var a=0;do{if(vo&&(So=null),xo=0,vo=!1,25<=a)throw Error(i(301));if(a+=1,go=ho=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=Us,o=t(n,r)}while(vo);return o}function ko(){var e=I.H,t=e.useState()[0];return t=typeof t.then==`function`?Io(t):t,e=e.useState()[0],(ho===null?null:ho.memoizedState)!==e&&(B.flags|=1024),t}function Ao(){var e=bo!==0;return bo=0,e}function jo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Mo(e){if(_o){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}_o=!1}mo=0,go=ho=B=null,vo=!1,xo=bo=0,So=null}function No(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return go===null?B.memoizedState=go=e:go=go.next=e,go}function Po(){if(ho===null){var e=B.alternate;e=e===null?null:e.memoizedState}else e=ho.next;var t=go===null?B.memoizedState:go.next;if(t!==null)go=t,ho=e;else{if(e===null)throw B.alternate===null?Error(i(467)):Error(i(310));ho=e,e={memoizedState:ho.memoizedState,baseState:ho.baseState,baseQueue:ho.baseQueue,queue:ho.queue,next:null},go===null?B.memoizedState=go=e:go=go.next=e}return go}function Fo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Io(e){var t=xo;return xo+=1,So===null&&(So=[]),e=Oa(So,e,t),t=B,(go===null?t.memoizedState:go.next)===null&&(t=t.alternate,I.H=t===null||t.memoizedState===null?Vs:Hs),e}function Lo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Io(e);if(e.$$typeof===C)return na(e)}throw Error(i(438,String(e)))}function Ro(e){var t=null,n=B.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=B.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=Fo(),B.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]=j;return t.index++,n}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){return Vo(Po(),ho,e)}function Vo(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?(mo&f)===f:(Ul&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===pa&&(d=!0);else if((mo&p)===p){u=u.next,p===pa&&(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,B.lanes|=p,Zl|=p;f=u.action,yo&&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,B.lanes|=f,Zl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Sr(o,e.memoizedState)&&(ac=!0,d&&(n=ma,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 Ho(e){var t=Po(),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);Sr(o,t.memoizedState)||(ac=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Uo(e,t,n){var r=B,a=Po(),o=Fi;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Sr((ho||a).memoizedState,n);if(s&&(a.memoizedState=n,ac=!0),a=a.queue,fs(Ko.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||go!==null&&go.memoizedState.tag&1){if(r.flags|=2048,cs(9,{destroy:void 0},Go.bind(null,r,a,n,t),null),Hl===null)throw Error(i(349));o||mo&127||Wo(r,t,n)}return n}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=B.updateQueue,t===null?(t=Fo(),B.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,qo(t)&&Jo(e)}function Ko(e,t,n){return n(function(){qo(t)&&Jo(e)})}function qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Sr(e,n)}catch{return!0}}function Jo(e){var t=ri(e,2);t!==null&&xu(t,e,2)}function Yo(e){var t=No();if(typeof e==`function`){var n=e;if(e=n(),yo){Le(!0);try{n()}finally{Le(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t}function Xo(e,t,n,r){return e.baseState=n,Vo(e,ho,typeof r==`function`?r:zo)}function Zo(e,t,n,r,a){if(Ls(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,Qo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Qo(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),$o(e,t,s)}catch(n){ts(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),I.T=a}}else try{a=n(i,r),$o(e,t,a)}catch(n){ts(e,t,n)}}function $o(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){es(e,t,n)},function(n){return ts(e,t,n)}):es(e,t,n)}function es(e,t,n){t.status=`fulfilled`,t.value=n,ns(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Qo(e,n)))}function ts(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ns(t),t=t.next;while(t!==r)}e.action=null}function ns(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rs(e,t){return t}function V(e,t){if(Fi){var n=Hl.formState;if(n!==null){a:{var r=B;if(Fi){if(Pi){b:{for(var i=Pi,a=Li;i.nodeType!==8;){if(!a){i=null;break b}if(i=_f(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Pi=_f(i.nextSibling),r=i.data===`F!`;break a}}zi(r)}r=!1}r&&(t=n[0])}}return n=No(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:t},n.queue=r,n=Ps.bind(null,B,r),r.dispatch=n,r=Yo(!1),a=Is.bind(null,B,!1,r.queue),r=No(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Zo.bind(null,B,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function is(e){return as(Po(),ho,e)}function as(e,t,n){if(t=Vo(e,t,rs)[0],e=Bo(zo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Io(t)}catch(e){throw e===Ca?Ta:e}else r=t;t=Po();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(B.flags|=2048,cs(9,{destroy:void 0},os.bind(null,i,n),null)),[r,a,e]}function os(e,t){e.action=t}function ss(e){var t=Po(),n=ho;if(n!==null)return as(t,n,e);Po(),t=t.memoizedState,n=Po();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function cs(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=B.updateQueue,t===null&&(t=Fo(),B.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 ls(){return Po().memoizedState}function us(e,t,n,r){var i=No();B.flags|=e,i.memoizedState=cs(1|t,{destroy:void 0},n,r===void 0?null:r)}function H(e,t,n,r){var i=Po();r=r===void 0?null:r;var a=i.memoizedState.inst;ho!==null&&r!==null&&To(r,ho.memoizedState.deps)?i.memoizedState=cs(t,a,n,r):(B.flags|=e,i.memoizedState=cs(1|t,a,n,r))}function ds(e,t){us(8390656,8,e,t)}function fs(e,t){H(2048,8,e,t)}function ps(e){B.flags|=4;var t=B.updateQueue;if(t===null)t=Fo(),B.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ms(e){var t=Po().memoizedState;return ps({ref:t,nextImpl:e}),function(){if(Vl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function hs(e,t){return H(4,2,e,t)}function gs(e,t){return H(4,4,e,t)}function _s(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 vs(e,t,n){n=n==null?null:n.concat([e]),H(4,4,_s.bind(null,t,e),n)}function ys(){}function bs(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&To(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function xs(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&To(t,r[1]))return r[0];if(r=e(),yo){Le(!0);try{e()}finally{Le(!1)}}return n.memoizedState=[r,t],r}function Ss(e,t,n){return n===void 0||mo&1073741824&&!(Ul&261930)?e.memoizedState=t:(e.memoizedState=n,e=bu(),B.lanes|=e,Zl|=e,n)}function Cs(e,t,n,r){return Sr(n,t)?n:$a.current===null?!(mo&42)||mo&1073741824&&!(Ul&261930)?(ac=!0,e.memoizedState=n):(e=bu(),B.lanes|=e,Zl|=e,t):(e=Ss(e,n,r),Sr(e,t)||(ac=!0),e)}function ws(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,Is(e,!1,t,n);try{var c=i(),l=I.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Fs(e,t,_a(c,r),yu(e)):Fs(e,t,r,yu(e))}catch(n){Fs(e,t,{then:function(){},status:`rejected`,reason:n},yu())}finally{L.p=a,o!==null&&s.types!==null&&(o.types=s.types),I.T=o}}function Ts(){}function Es(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Ds(e).queue;ws(e,a,t,te,n===null?Ts:function(){return Os(e),n(r)})}function Ds(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:te},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Os(e){var t=Ds(e);t.next===null&&(t=e.alternate.memoizedState),Fs(e,t.next.queue,{},yu())}function ks(){return na(sp)}function As(){return Po().memoizedState}function js(){return Po().memoizedState}function Ms(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=yu();e=Wa(n);var r=Ga(t,e,n);r!==null&&(xu(r,t,n),Ka(r,t,n)),t={cache:la()},e.payload=t;return}t=t.return}}function Ns(e,t,n){var r=yu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ls(e)?Rs(t,n):(n=ni(e,t,n,r),n!==null&&(xu(n,e,r),zs(n,t,r)))}function Ps(e,t,n){Fs(e,t,n,yu())}function Fs(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ls(e))Rs(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,Sr(s,o))return ti(e,t,i,0),Hl===null&&ei(),!1}catch{}if(n=ni(e,t,i,r),n!==null)return xu(n,e,r),zs(n,t,r),!0}return!1}function Is(e,t,n,r){if(r={lane:2,revertLane:vd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ls(e)){if(t)throw Error(i(479))}else t=ni(e,n,r,2),t!==null&&xu(t,e,2)}function Ls(e){var t=e.alternate;return e===B||t!==null&&t===B}function Rs(e,t){vo=_o=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,et(e,n)}}var Bs={readContext:na,use:Lo,useCallback:wo,useContext:wo,useEffect:wo,useImperativeHandle:wo,useLayoutEffect:wo,useInsertionEffect:wo,useMemo:wo,useReducer:wo,useRef:wo,useState:wo,useDebugValue:wo,useDeferredValue:wo,useTransition:wo,useSyncExternalStore:wo,useId:wo,useHostTransitionStatus:wo,useFormState:wo,useActionState:wo,useOptimistic:wo,useMemoCache:wo,useCacheRefresh:wo};Bs.useEffectEvent=wo;var Vs={readContext:na,use:Lo,useCallback:function(e,t){return No().memoizedState=[e,t===void 0?null:t],e},useContext:na,useEffect:ds,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),us(4194308,4,_s.bind(null,t,e),n)},useLayoutEffect:function(e,t){return us(4194308,4,e,t)},useInsertionEffect:function(e,t){us(4,2,e,t)},useMemo:function(e,t){var n=No();t=t===void 0?null:t;var r=e();if(yo){Le(!0);try{e()}finally{Le(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=No();if(n!==void 0){var i=n(t);if(yo){Le(!0);try{n(t)}finally{Le(!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=Ns.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=No();return e={current:e},t.memoizedState=e},useState:function(e){e=Yo(e);var t=e.queue,n=Ps.bind(null,B,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ys,useDeferredValue:function(e,t){return Ss(No(),e,t)},useTransition:function(){var e=Yo(!1);return e=ws.bind(null,B,e.queue,!0,!1),No().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=B,a=No();if(Fi){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Hl===null)throw Error(i(349));Ul&127||Wo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ds(Ko.bind(null,r,o,e),[e]),r.flags|=2048,cs(9,{destroy:void 0},Go.bind(null,r,o,n,t),null),n},useId:function(){var e=No(),t=Hl.identifierPrefix;if(Fi){var n=Di,r=Ei;n=(r&~(1<<32-Re(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=bo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Co++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:ks,useFormState:V,useActionState:V,useOptimistic:function(e){var t=No();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Is.bind(null,B,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ro,useCacheRefresh:function(){return No().memoizedState=Ms.bind(null,B)},useEffectEvent:function(e){var t=No(),n={impl:e};return t.memoizedState=n,function(){if(Vl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Hs={readContext:na,use:Lo,useCallback:bs,useContext:na,useEffect:fs,useImperativeHandle:vs,useInsertionEffect:hs,useLayoutEffect:gs,useMemo:xs,useReducer:Bo,useRef:ls,useState:function(){return Bo(zo)},useDebugValue:ys,useDeferredValue:function(e,t){return Cs(Po(),ho.memoizedState,e,t)},useTransition:function(){var e=Bo(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:As,useHostTransitionStatus:ks,useFormState:is,useActionState:is,useOptimistic:function(e,t){return Xo(Po(),ho,e,t)},useMemoCache:Ro,useCacheRefresh:js};Hs.useEffectEvent=ms;var Us={readContext:na,use:Lo,useCallback:bs,useContext:na,useEffect:fs,useImperativeHandle:vs,useInsertionEffect:hs,useLayoutEffect:gs,useMemo:xs,useReducer:Ho,useRef:ls,useState:function(){return Ho(zo)},useDebugValue:ys,useDeferredValue:function(e,t){var n=Po();return ho===null?Ss(n,e,t):Cs(n,ho.memoizedState,e,t)},useTransition:function(){var e=Ho(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:As,useHostTransitionStatus:ks,useFormState:ss,useActionState:ss,useOptimistic:function(e,t){var n=Po();return ho===null?(n.baseState=e,[e,n.queue.dispatch]):Xo(n,ho,e,t)},useMemoCache:Ro,useCacheRefresh:js};Us.useEffectEvent=ms;function Ws(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:p({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Gs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=yu(),i=Wa(r);i.payload=t,n!=null&&(i.callback=n),t=Ga(e,i,r),t!==null&&(xu(t,e,r),Ka(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=yu(),i=Wa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ga(e,i,r),t!==null&&(xu(t,e,r),Ka(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=yu(),r=Wa(n);r.tag=2,t!=null&&(r.callback=t),t=Ga(e,r,n),t!==null&&(xu(t,e,n),Ka(t,e,n))}};function Ks(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?!Cr(n,r)||!Cr(i,a):!0}function qs(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&&Gs.enqueueReplaceState(t,t.state,null)}function Js(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=p({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Ys(e){Xr(e)}function Xs(e){console.error(e)}function Zs(e){Xr(e)}function Qs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function $s(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 ec(e,t,n){return n=Wa(n),n.tag=3,n.payload={element:null},n.callback=function(){Qs(e,t)},n}function tc(e){return e=Wa(e),e.tag=3,e}function nc(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(){$s(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){$s(t,n,r),typeof i!=`function`&&(lu===null?lu=new Set([this]):lu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function rc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&$i(t,n,a,!0),n=io.current,n!==null){switch(n.tag){case 31:case 13:return ao===null?Nu():n.alternate===null&&Xl===0&&(Xl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Ea?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Qu(e,r,a)),!1;case 22:return n.flags|=65536,r===Ea?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)),Qu(e,r,a)),!1}throw Error(i(435,n.tag))}return Qu(e,r,a),Nu(),!1}if(Fi)return t=io.current,t===null?(r!==Ri&&(t=Error(i(423),{cause:r}),Gi(vi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=vi(r,n),a=ec(e.stateNode,r,a),qa(e,a),Xl!==4&&(Xl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ri&&(e=Error(i(422),{cause:r}),Gi(vi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=vi(o,n),nu===null?nu=[o]:nu.push(o),Xl!==4&&(Xl=2),t===null)return!0;r=vi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=ec(n.stateNode,r,e),qa(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`&&(lu===null||!lu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=tc(a),nc(a,e,n,r),qa(n,a),!1}n=n.return}while(n!==null);return!1}var ic=Error(i(461)),ac=!1;function oc(e,t,n,r){t.child=e===null?Ba(t,null,n,r):za(t,e.child,n,r)}function sc(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 ta(t),r=Eo(e,t,n,o,a,i),s=Ao(),e!==null&&!ac?(jo(e,t,i),kc(e,t,i)):(Fi&&s&&Ai(t),t.flags|=1,oc(e,t,r,i),t.child)}function cc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!li(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,lc(e,t,a,r,i)):(e=fi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Ac(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Cr:n,n(o,r)&&e.ref===t.ref)return kc(e,t,i)}return t.flags|=1,e=ui(a,r),e.ref=t.ref,e.return=t,t.child=e}function lc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Cr(a,r)&&e.ref===t.ref)if(ac=!1,t.pendingProps=r=a,Ac(e,i))e.flags&131072&&(ac=!0);else return t.lanes=e.lanes,kc(e,t,i)}return _c(e,t,n,r,i)}function uc(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 fc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&xa(t,a===null?null:a.cachePool),a===null?no():to(t,a),co(t);else return r=t.lanes=536870912,fc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&xa(t,null),no(),lo(t)):(xa(t,a.cachePool),to(t,a),lo(t),t.memoizedState=null);return oc(e,t,i,n),t.child}function dc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function fc(e,t,n,r,i){var a=ba();return a=a===null?null:{parent:ca._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&xa(t,null),no(),co(t),e!==null&&$i(e,t,r,!0),t.childLanes=i,null}function pc(e,t){return t=wc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function mc(e,t,n){return za(t,e.child,null,n),e=pc(t,t.pendingProps),e.flags|=2,uo(t),t.memoizedState=null,e}function hc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(Fi){if(r.mode===`hidden`)return e=pc(t,r),t.lanes=536870912,dc(null,e);if(so(t),(e=Pi)?(e=pf(e,Li),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ti===null?null:{id:Ei,overflow:Di},retryLane:536870912,hydrationErrors:null},n=hi(e),n.return=t,t.child=n,Ni=t,Pi=null)):e=null,e===null)throw zi(t);return t.lanes=536870912,null}return pc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(so(t),a)if(t.flags&256)t.flags&=-257,t=mc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(ac||$i(e,t,n,!1),a=(n&e.childLanes)!==0,ac||a){if(r=Hl,r!==null&&(s=tt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,ri(e,s),xu(r,e,s),ic;Nu(),t=mc(e,t,n)}else e=o.treeContext,Pi=_f(s.nextSibling),Ni=t,Fi=!0,Ii=null,Li=!1,e!==null&&Mi(t,e),t=pc(t,r),t.flags|=4096;return t}return e=ui(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function gc(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 _c(e,t,n,r,i){return ta(t),n=Eo(e,t,n,r,void 0,i),r=Ao(),e!==null&&!ac?(jo(e,t,i),kc(e,t,i)):(Fi&&r&&Ai(t),t.flags|=1,oc(e,t,n,i),t.child)}function vc(e,t,n,r,i,a){return ta(t),t.updateQueue=null,n=Oo(t,r,n,i),Do(e),r=Ao(),e!==null&&!ac?(jo(e,t,a),kc(e,t,a)):(Fi&&r&&Ai(t),t.flags|=1,oc(e,t,n,a),t.child)}function yc(e,t,n,r,i){if(ta(t),t.stateNode===null){var a=oi,o=n.contextType;typeof o==`object`&&o&&(a=na(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Gs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ha(t),o=n.contextType,a.context=typeof o==`object`&&o?na(o):oi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ws(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&&Gs.enqueueReplaceState(a,a.state,null),Xa(t,r,a,i),Ya(),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=Js(n,s);a.props=c;var l=a.context,u=n.contextType;o=oi,typeof u==`object`&&u&&(o=na(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)&&qs(t,a,r,o),Va=!1;var f=t.memoizedState;a.state=f,Xa(t,r,a,i),Ya(),l=t.memoizedState,s||f!==l||Va?(typeof d==`function`&&(Ws(t,n,d,r),l=t.memoizedState),(c=Va||Ks(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,Ua(e,t),o=t.memoizedProps,u=Js(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=oi,typeof l==`object`&&l&&(c=na(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)&&qs(t,a,r,c),Va=!1,f=t.memoizedState,a.state=f,Xa(t,r,a,i),Ya();var p=t.memoizedState;o!==d||f!==p||Va||e!==null&&e.dependencies!==null&&ea(e.dependencies)?(typeof s==`function`&&(Ws(t,n,s,r),p=t.memoizedState),(u=Va||Ks(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ea(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,gc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=za(t,e.child,null,i),t.child=za(t,null,n,i)):oc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=kc(e,t,i),e}function bc(e,t,n,r){return Ui(),t.flags|=256,oc(e,t,n,r),t.child}var xc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sc(e){return{baseLanes:e,cachePool:Sa()}}function U(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=eu),e}function Cc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(fo.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(Fi){if(a?oo(t):lo(t),(e=Pi)?(e=pf(e,Li),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ti===null?null:{id:Ei,overflow:Di},retryLane:536870912,hydrationErrors:null},n=hi(e),n.return=t,t.child=n,Ni=t,Pi=null)):e=null,e===null)throw zi(t);return hf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(lo(t),a=t.mode,c=wc({mode:`hidden`,children:c},a),r=pi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=Sc(n),r.childLanes=U(e,s,n),t.memoizedState=xc,dc(null,r)):(oo(t),W(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(oo(t),t.flags&=-257,t=Tc(e,t,n)):t.memoizedState===null?(lo(t),c=r.fallback,a=t.mode,r=wc({mode:`visible`,children:r.children},a),c=pi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,za(t,e.child,null,n),r=t.child,r.memoizedState=Sc(n),r.childLanes=U(e,s,n),t.memoizedState=xc,t=dc(null,r)):(lo(t),t.child=e.child,t.flags|=128,t=null);else if(oo(t),hf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Gi({value:r,source:null,stack:null}),t=Tc(e,t,n)}else if(ac||$i(e,t,n,!1),s=(n&e.childLanes)!==0,ac||s){if(s=Hl,s!==null&&(r=tt(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,ri(e,r),xu(s,e,r),ic;mf(c)||Nu(),t=Tc(e,t,n)}else mf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Pi=_f(c.nextSibling),Ni=t,Fi=!0,Ii=null,Li=!1,e!==null&&Mi(t,e),t=W(t,r.children),t.flags|=4096);return t}return a?(lo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=ui(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=pi(c,a,n,null),c.flags|=2):c=ui(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,dc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=Sc(n):(a=c.cachePool,a===null?a=Sa():(l=ca._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=U(e,s,n),t.memoizedState=xc,dc(e.child,r)):(oo(t),n=e.child,e=n.sibling,n=ui(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 W(e,t){return t=wc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function wc(e,t){return e=ci(22,e,null,t),e.lanes=0,e}function Tc(e,t,n){return za(t,e.child,null,n),e=W(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ec(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zi(e.return,t,n)}function Dc(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 Oc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=fo.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,R(fo,o),oc(e,t,r,n),r=Fi?Si:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ec(e,n,t);else if(e.tag===19)Ec(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&&po(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Dc(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&&po(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Dc(t,!0,n,null,a,r);break;case`together`:Dc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function kc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Zl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if($i(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=ui(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ui(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ac(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ea(e))):!0}function jc(e,t,n){switch(t.tag){case 3:ue(t,t.stateNode.containerInfo),Yi(t,ca,e.memoizedState.cache),Ui();break;case 27:case 5:fe(t);break;case 4:ue(t,t.stateNode.containerInfo);break;case 10:Yi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,so(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(oo(t),e=kc(e,t,n),e===null?null:e.sibling):Cc(e,t,n):(oo(t),t.flags|=128,null);oo(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=($i(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Oc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),R(fo,fo.current),r)break;return null;case 22:return t.lanes=0,uc(e,t,n,t.pendingProps);case 24:Yi(t,ca,e.memoizedState.cache)}return kc(e,t,n)}function Mc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ac=!0;else{if(!Ac(e,n)&&!(t.flags&128))return ac=!1,jc(e,t,n);ac=!!(e.flags&131072)}else ac=!1,Fi&&t.flags&1048576&&ki(t,Si,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=ka(t.elementType),t.type=e,typeof e==`function`)li(e)?(r=Js(e,r),t.tag=1,t=yc(null,t,e,r,n)):(t.tag=0,t=_c(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=sc(null,t,e,r,n);break a}else if(a===O){t.tag=14,t=cc(null,t,e,r,n);break a}}throw t=F(e)||e,Error(i(306,t,``))}}return t;case 0:return _c(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Js(r,t.pendingProps),yc(e,t,r,a,n);case 3:a:{if(ue(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ua(e,t),Xa(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Yi(t,ca,r),r!==o.cache&&Qi(t,[ca],n,!0),Ya(),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=bc(e,t,r,n);break a}else if(r!==a){a=vi(Error(i(424)),t),Gi(a),t=bc(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(Pi=_f(e.firstChild),Ni=t,Fi=!0,Ii=null,Li=!0,n=Ba(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ui(),r===a){t=kc(e,t,n);break a}oc(e,t,r,n)}t=t.child}return t;case 26:return gc(e,t),e===null?(n=Rf(t.type,null,t.pendingProps,null))?t.memoizedState=n:Fi||(n=t.type,e=t.pendingProps,r=Yd(ce.current).createElement(n),r[st]=t,r[ct]=e,Ud(r,n,e),bt(r),t.stateNode=r):t.memoizedState=Rf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fe(t),e===null&&Fi&&(r=t.stateNode=xf(t.type,t.pendingProps,ce.current),Ni=t,Li=!0,a=Pi,sf(t.type)?(vf=a,Pi=_f(r.firstChild)):Pi=a),oc(e,t,t.pendingProps.children,n),gc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Fi&&((a=r=Pi)&&(r=df(r,t.type,t.pendingProps,Li),r===null?a=!1:(t.stateNode=r,Ni=t,Pi=_f(r.firstChild),Li=!1,a=!0)),a||zi(t)),fe(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Qd(a,o)?r=null:s!==null&&Qd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Eo(e,t,ko,null,null,n),sp._currentValue=a),gc(e,t),oc(e,t,r,n),t.child;case 6:return e===null&&Fi&&((e=n=Pi)&&(n=ff(n,t.pendingProps,Li),n===null?e=!1:(t.stateNode=n,Ni=t,Pi=null,e=!0)),e||zi(t)),null;case 13:return Cc(e,t,n);case 4:return ue(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=za(t,null,r,n):oc(e,t,r,n),t.child;case 11:return sc(e,t,t.type,t.pendingProps,n);case 7:return oc(e,t,t.pendingProps,n),t.child;case 8:return oc(e,t,t.pendingProps.children,n),t.child;case 12:return oc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Yi(t,t.type,r.value),oc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,ta(t),a=na(a),r=r(a),t.flags|=1,oc(e,t,r,n),t.child;case 14:return cc(e,t,t.type,t.pendingProps,n);case 15:return lc(e,t,t.type,t.pendingProps,n);case 19:return Oc(e,t,n);case 31:return hc(e,t,n);case 22:return uc(e,t,n,t.pendingProps);case 24:return ta(t),r=na(ca),e===null?(a=ba(),a===null&&(a=Hl,o=la(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ha(t),Yi(t,ca,a)):((e.lanes&n)!==0&&(Ua(e,t),Xa(t,null,null,n),Ya()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Yi(t,ca,r),r!==a.cache&&Qi(t,[ca],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Yi(t,ca,r))),oc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Nc(e){e.flags|=4}function Pc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Au())e.flags|=8192;else throw Aa=Ea,wa}else e.flags&=-16777217}function Fc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!$f(t))if(Au())e.flags|=8192;else throw Aa=Ea,wa}function Ic(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Ye(),e.lanes|=t,tu|=t)}function Lc(e,t){if(!Fi)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 Rc(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 zc(e,t,n){var r=t.pendingProps;switch(ji(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rc(t),null;case 1:return Rc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Xi(ca),de(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Hi(t)?Nc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Wi())),Rc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Nc(t),o===null?(Rc(t),Pc(t,a,null,r,n)):(Rc(t),Fc(t,o))):o?o===e.memoizedState?(Rc(t),t.flags&=-16777217):(Nc(t),Rc(t),Fc(t,o)):(e=e.memoizedProps,e!==r&&Nc(t),Rc(t),Pc(t,a,e,r,n)),null;case 27:if(pe(t),n=ce.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Rc(t),null}e=oe.current,Hi(t)?Bi(t,e):(e=xf(a,r,n),t.stateNode=e,Nc(t))}return Rc(t),null;case 5:if(pe(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Rc(t),null}if(o=oe.current,Hi(t))Bi(t,o);else{var s=Yd(ce.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[st]=t,o[ct]=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(Ud(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&&Nc(t)}}return Rc(t),Pc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ce.current,Hi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ni,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[st]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Bd(e.nodeValue,n)),e||zi(t,!0)}else e=Yd(e).createTextNode(r),e[st]=t,t.stateNode=e}return Rc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Hi(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[st]=t}else Ui(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Rc(t),e=!1}else n=Wi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(uo(t),t):(uo(t),null);if(t.flags&128)throw Error(i(558))}return Rc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Hi(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[st]=t}else Ui(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Rc(t),a=!1}else a=Wi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(uo(t),t):(uo(t),null)}return uo(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),Ic(t,t.updateQueue),Rc(t),null);case 4:return de(),e===null&&Ad(t.stateNode.containerInfo),Rc(t),null;case 10:return Xi(t.type),Rc(t),null;case 19:if(ae(fo),r=t.memoizedState,r===null)return Rc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Lc(r,!1);else{if(Xl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=po(e),o!==null){for(t.flags|=128,Lc(r,!1),e=o.updateQueue,t.updateQueue=e,Ic(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)di(n,e),n=n.sibling;return R(fo,fo.current&1|2),Fi&&Oi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ee()>su&&(t.flags|=128,a=!0,Lc(r,!1),t.lanes=4194304)}else{if(!a)if(e=po(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Ic(t,e),Lc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!Fi)return Rc(t),null}else 2*Ee()-r.renderingStartTime>su&&n!==536870912&&(t.flags|=128,a=!0,Lc(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?(Rc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ee(),e.sibling=null,n=fo.current,R(fo,a?n&1|2:n&1),Fi&&Oi(t,r.treeForkCount),e);case 22:case 23:return uo(t),ro(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Rc(t),t.subtreeFlags&6&&(t.flags|=8192)):Rc(t),n=t.updateQueue,n!==null&&Ic(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&&ae(ya),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Xi(ca),Rc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Bc(e,t){switch(ji(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xi(ca),de(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return pe(t),null;case 31:if(t.memoizedState!==null){if(uo(t),t.alternate===null)throw Error(i(340));Ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(uo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(fo),null;case 4:return de(),null;case 10:return Xi(t.type),null;case 22:case 23:return uo(t),ro(),e!==null&&ae(ya),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Xi(ca),null;case 25:return null;default:return null}}function Vc(e,t){switch(ji(t),t.tag){case 3:Xi(ca),de();break;case 26:case 27:case 5:pe(t);break;case 4:de();break;case 31:t.memoizedState!==null&&uo(t);break;case 13:uo(t);break;case 19:ae(fo);break;case 10:Xi(t.type);break;case 22:case 23:uo(t),ro(),e!==null&&ae(ya);break;case 24:Xi(ca)}}function Hc(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){Zu(t,t.return,e)}}function Uc(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){Zu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Zu(t,t.return,e)}}function Wc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Qa(t,n)}catch(t){Zu(e,e.return,t)}}}function Gc(e,t,n){n.props=Js(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Zu(e,t,n)}}function Kc(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){Zu(e,t,n)}}function qc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Zu(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){Zu(e,t,n)}else n.current=null}function Jc(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){Zu(e,e.return,t)}}function Yc(e,t,n){try{var r=e.stateNode;Wd(r,e.type,n,t),r[ct]=t}catch(t){Zu(e,e.return,t)}}function Xc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&sf(e.type)||e.tag===4}function Zc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Xc(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&&sf(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 Qc(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=en));else if(r!==4&&(r===27&&sf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(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&&sf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function el(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Ud(t,r,n),t[st]=e,t[ct]=n}catch(t){Zu(e,e.return,t)}}var tl=!1,nl=!1,rl=!1,il=typeof WeakSet==`function`?WeakSet:Set,al=null;function ol(e,t){if(e=e.containerInfo,qd=gp,e=Dr(e),Or(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(Jd={focusedElem:e,selectionRange:n},gp=!1,al=t;al!==null;)if(t=al,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,al=e;else for(;al!==null;){switch(t=al,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=Js(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Zu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)uf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:uf(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,al=e;break}al=t.return}}function sl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Sl(e,n),r&4&&Hc(5,n);break;case 1:if(Sl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Zu(n,n.return,e)}else{var i=Js(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Zu(n,n.return,e)}}r&64&&Wc(n),r&512&&Kc(n,n.return);break;case 3:if(Sl(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{Qa(e,t)}catch(e){Zu(n,n.return,e)}}break;case 27:t===null&&r&4&&el(n);case 26:case 5:Sl(e,n),t===null&&r&4&&Jc(n),r&512&&Kc(n,n.return);break;case 12:Sl(e,n);break;case 31:Sl(e,n),r&4&&pl(e,n);break;case 13:Sl(e,n),r&4&&ml(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=td.bind(null,n),gf(e,n))));break;case 22:if(r=n.memoizedState!==null||tl,!r){t=t!==null&&t.memoizedState!==null||nl,i=tl;var a=nl;tl=r,(nl=t)&&!a?wl(e,n,(n.subtreeFlags&8772)!=0):Sl(e,n),tl=i,nl=a}break;case 30:break;default:Sl(e,n)}}function cl(e){var t=e.alternate;t!==null&&(e.alternate=null,cl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ht(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ll=null,ul=!1;function dl(e,t,n){for(n=n.child;n!==null;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(Ie&&typeof Ie.onCommitFiberUnmount==`function`)try{Ie.onCommitFiberUnmount(Fe,n)}catch{}switch(n.tag){case 26:nl||qc(n,t),dl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:nl||qc(n,t);var r=ll,i=ul;sf(n.type)&&(ll=n.stateNode,ul=!1),dl(e,t,n),Sf(n.stateNode),ll=r,ul=i;break;case 5:nl||qc(n,t);case 6:if(r=ll,i=ul,ll=null,dl(e,t,n),ll=r,ul=i,ll!==null)if(ul)try{(ll.nodeType===9?ll.body:ll.nodeName===`HTML`?ll.ownerDocument.body:ll).removeChild(n.stateNode)}catch(e){Zu(n,t,e)}else try{ll.removeChild(n.stateNode)}catch(e){Zu(n,t,e)}break;case 18:ll!==null&&(ul?(e=ll,cf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Hp(e)):cf(ll,n.stateNode));break;case 4:r=ll,i=ul,ll=n.stateNode.containerInfo,ul=!0,dl(e,t,n),ll=r,ul=i;break;case 0:case 11:case 14:case 15:Uc(2,n,t),nl||Uc(4,n,t),dl(e,t,n);break;case 1:nl||(qc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Gc(n,t,r)),dl(e,t,n);break;case 21:dl(e,t,n);break;case 22:nl=(r=nl)||n.memoizedState!==null,dl(e,t,n),nl=r;break;default:dl(e,t,n)}}function pl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Hp(e)}catch(e){Zu(t,t.return,e)}}}function ml(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Hp(e)}catch(e){Zu(t,t.return,e)}}function hl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new il),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new il),t;default:throw Error(i(435,e.tag))}}function gl(e,t){var n=hl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=nd.bind(null,e,t);t.then(r,r)}})}function _l(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(sf(c.type)){ll=c.stateNode,ul=!1;break a}break;case 5:ll=c.stateNode,ul=!1;break a;case 3:case 4:ll=c.stateNode.containerInfo,ul=!0;break a}c=c.return}if(ll===null)throw Error(i(160));fl(o,s,a),ll=null,ul=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)yl(t,e),t=t.sibling}var vl=null;function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_l(t,e),bl(e),r&4&&(Uc(3,e,e.return),Hc(3,e),Uc(5,e,e.return));break;case 1:_l(t,e),bl(e),r&512&&(nl||n===null||qc(n,n.return)),r&64&&tl&&(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=vl;if(_l(t,e),bl(e),r&512&&(nl||n===null||qc(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[mt]||o[st]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Ud(o,r,n),o[st]=e,bt(o),r=o;break a;case`link`:var s=Xf(`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),Ud(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Xf(`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),Ud(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[st]=e,bt(o),r=o}e.stateNode=r}else Zf(a,e.type,e.stateNode);else e.stateNode=Gf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Yc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Zf(a,e.type,e.stateNode):Gf(a,r,e.memoizedProps))}break;case 27:_l(t,e),bl(e),r&512&&(nl||n===null||qc(n,n.return)),n!==null&&r&4&&Yc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(_l(t,e),bl(e),r&512&&(nl||n===null||qc(n,n.return)),e.flags&32){a=e.stateNode;try{Kt(a,``)}catch(t){Zu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Yc(e,a,n===null?a:n.memoizedProps)),r&1024&&(rl=!0);break;case 6:if(_l(t,e),bl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Zu(e,e.return,t)}}break;case 3:if(Yf=null,a=vl,vl=Tf(t.containerInfo),_l(t,e),vl=a,bl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Hp(t.containerInfo)}catch(t){Zu(e,e.return,t)}rl&&(rl=!1,xl(e));break;case 4:r=vl,vl=Tf(e.stateNode.containerInfo),_l(t,e),bl(e),vl=r;break;case 12:_l(t,e),bl(e);break;case 31:_l(t,e),bl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 13:_l(t,e),bl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(au=Ee()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=tl,d=nl;if(tl=u||a,nl=d||l,_l(t,e),nl=d,tl=u,bl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||tl||nl||Cl(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){Zu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Zu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?lf(m,!0):lf(l.stateNode,!1)}catch(e){Zu(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,gl(e,n))));break;case 19:_l(t,e),bl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 30:break;case 21:break;default:_l(t,e),bl(e)}}function bl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Xc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;$c(e,Zc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Kt(o,``),n.flags&=-33),$c(e,Zc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Qc(e,Zc(e),s);break;default:throw Error(i(161))}}catch(t){Zu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;xl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Sl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)sl(e,t.alternate,t),t=t.sibling}function Cl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Uc(4,t,t.return),Cl(t);break;case 1:qc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Gc(t,t.return,n),Cl(t);break;case 27:Sf(t.stateNode);case 26:case 5:qc(t,t.return),Cl(t);break;case 22:t.memoizedState===null&&Cl(t);break;case 30:Cl(t);break;default:Cl(t)}e=e.sibling}}function wl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,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:wl(i,a,n),Hc(4,a);break;case 1:if(wl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Zu(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++)Za(c[i],s)}catch(e){Zu(r,r.return,e)}}n&&o&64&&Wc(a),Kc(a,a.return);break;case 27:el(a);case 26:case 5:wl(i,a,n),n&&r===null&&o&4&&Jc(a),Kc(a,a.return);break;case 12:wl(i,a,n);break;case 31:wl(i,a,n),n&&o&4&&pl(i,a);break;case 13:wl(i,a,n),n&&o&4&&ml(i,a);break;case 22:a.memoizedState===null&&wl(i,a,n),Kc(a,a.return);break;case 30:break;default:wl(i,a,n)}t=t.sibling}}function Tl(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&&ua(n))}function El(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ua(e))}function Dl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ol(e,t,n,r),t=t.sibling}function Ol(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Dl(e,t,n,r),i&2048&&Hc(9,t);break;case 1:Dl(e,t,n,r);break;case 3:Dl(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&&ua(e)));break;case 12:if(i&2048){Dl(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){Zu(t,t.return,e)}}else Dl(e,t,n,r);break;case 31:Dl(e,t,n,r);break;case 13:Dl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Dl(e,t,n,r):(a._visibility|=2,kl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Dl(e,t,n,r):Al(e,t),i&2048&&Tl(o,t);break;case 24:Dl(e,t,n,r),i&2048&&El(t.alternate,t);break;default:Dl(e,t,n,r)}}function kl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!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:kl(a,o,s,c,i),Hc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,kl(a,o,s,c,i)):u._visibility&2?kl(a,o,s,c,i):Al(a,o),i&&l&2048&&Tl(o.alternate,o);break;case 24:kl(a,o,s,c,i),i&&l&2048&&El(o.alternate,o);break;default:kl(a,o,s,c,i)}t=t.sibling}}function Al(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:Al(n,r),i&2048&&Tl(r.alternate,r);break;case 24:Al(n,r),i&2048&&El(r.alternate,r);break;default:Al(n,r)}t=t.sibling}}var jl=8192;function Ml(e,t,n){if(e.subtreeFlags&jl)for(e=e.child;e!==null;)Nl(e,t,n),e=e.sibling}function Nl(e,t,n){switch(e.tag){case 26:Ml(e,t,n),e.flags&jl&&e.memoizedState!==null&&ep(n,vl,e.memoizedState,e.memoizedProps);break;case 5:Ml(e,t,n);break;case 3:case 4:var r=vl;vl=Tf(e.stateNode.containerInfo),Ml(e,t,n),vl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=jl,jl=16777216,Ml(e,t,n),jl=r):Ml(e,t,n));break;default:Ml(e,t,n)}}function Pl(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 Fl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];al=r,Rl(r,e)}Pl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Il(e),e=e.sibling}function Il(e){switch(e.tag){case 0:case 11:case 15:Fl(e),e.flags&2048&&Uc(9,e,e.return);break;case 3:Fl(e);break;case 12:Fl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ll(e)):Fl(e);break;default:Fl(e)}}function Ll(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];al=r,Rl(r,e)}Pl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Uc(8,t,t.return),Ll(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Ll(t));break;default:Ll(t)}e=e.sibling}}function Rl(e,t){for(;al!==null;){var n=al;switch(n.tag){case 0:case 11:case 15:Uc(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:ua(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,al=r;else a:for(n=e;al!==null;){r=al;var i=r.sibling,a=r.return;if(cl(r),r===n){al=null;break a}if(i!==null){i.return=a,al=i;break a}al=a}}}var zl={getCacheForType:function(e){var t=na(ca),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return na(ca).controller.signal}},Bl=typeof WeakMap==`function`?WeakMap:Map,Vl=0,Hl=null,G=null,Ul=0,Wl=0,Gl=null,Kl=!1,ql=!1,Jl=!1,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=0,tu=0,nu=null,ru=null,iu=!1,au=0,ou=0,su=1/0,cu=null,lu=null,uu=0,du=null,fu=null,pu=0,mu=0,hu=null,gu=null,_u=0,vu=null;function yu(){return Vl&2&&Ul!==0?Ul&-Ul:I.T===null?it():vd()}function bu(){if(eu===0)if(!(Ul&536870912)||Fi){var e=Ue;Ue<<=1,!(Ue&3932160)&&(Ue=262144),eu=e}else eu=536870912;return e=io.current,e!==null&&(e.flags|=32),eu}function xu(e,t,n){(e===Hl&&(Wl===2||Wl===9)||e.cancelPendingCommit!==null)&&(Ou(e,0),Tu(e,Ul,eu,!1)),Ze(e,n),(!(Vl&2)||e!==Hl)&&(e===Hl&&(!(Vl&2)&&(Ql|=n),Xl===4&&Tu(e,Ul,eu,!1)),ud(e))}function Su(e,t,n){if(Vl&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||qe(e,t),a=r?Iu(e,t):Pu(e,t,!0),o=r;do{if(a===0){ql&&!r&&Tu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!wu(n)){a=Pu(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=nu;var l=c.current.memoizedState.isDehydrated;if(l&&(Ou(c,s).flags|=256),s=Pu(c,s,!1),s!==2){if(Jl&&!l){c.errorRecoveryDisabledLanes|=o,Ql|=o,a=4;break a}o=ru,ru=a,o!==null&&(ru===null?ru=o:ru.push.apply(ru,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Ou(e,0),Tu(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:Tu(r,t,eu,!Kl);break a;case 2:ru=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=au+300-Ee(),10<a)){if(Tu(r,t,eu,!Kl),Ke(r,0,!0)!==0)break a;pu=t,r.timeoutHandle=tf(Cu.bind(null,r,n,ru,cu,iu,t,eu,Ql,tu,Kl,o,`Throttled`,-0,0),a);break a}Cu(r,n,ru,cu,iu,t,eu,Ql,tu,Kl,o,null,-0,0)}}break}while(1);ud(e)}function Cu(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:en},Nl(t,a,d);var m=(a&62914560)===a?au-Ee():(a&4194048)===a?ou-Ee():0;if(m=np(d,m),m!==null){pu=a,e.cancelPendingCommit=m(Uu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Tu(e,a,o,!l);return}}Uu(e,t,a,n,r,i,o,s,c)}function wu(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(!Sr(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 Tu(e,t,n,r){t&=~$l,t&=~Ql,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Re(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&$e(e,n,t)}function Eu(){return Vl&6?!0:(dd(0,!1),!1)}function Du(){if(G!==null){if(Wl===0)var e=G.return;else e=G,Ji=qi=null,Mo(e),Na=null,Pa=0,e=G;for(;e!==null;)Vc(e.alternate,e),e=e.return;G=null}}function Ou(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,nf(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),pu=0,Du(),Hl=e,G=n=ui(e.current,null),Ul=t,Wl=0,Gl=null,Kl=!1,ql=qe(e,t),Jl=!1,tu=eu=$l=Ql=Zl=Xl=0,ru=nu=null,iu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Re(r),a=1<<i;t|=e[i],r&=~a}return Yl=t,ei(),n}function ku(e,t){B=null,I.H=Bs,t===Ca||t===Ta?(t=ja(),Wl=3):t===wa?(t=ja(),Wl=4):Wl=t===ic?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Gl=t,G===null&&(Xl=1,Qs(e,vi(t,e.current)))}function Au(){var e=io.current;return e===null?!0:(Ul&4194048)===Ul?ao===null:(Ul&62914560)===Ul||Ul&536870912?e===ao:!1}function ju(){var e=I.H;return I.H=Bs,e===null?Bs:e}function Mu(){var e=I.A;return I.A=zl,e}function Nu(){Xl=4,Kl||(Ul&4194048)!==Ul&&io.current!==null||(ql=!0),!(Zl&134217727)&&!(Ql&134217727)||Hl===null||Tu(Hl,Ul,eu,!1)}function Pu(e,t,n){var r=Vl;Vl|=2;var i=ju(),a=Mu();(Hl!==e||Ul!==t)&&(cu=null,Ou(e,t)),t=!1;var o=Xl;a:do try{if(Wl!==0&&G!==null){var s=G,c=Gl;switch(Wl){case 8:Du(),o=6;break a;case 3:case 2:case 9:case 6:io.current===null&&(t=!0);var l=Wl;if(Wl=0,Gl=null,Bu(e,s,c,l),n&&ql){o=0;break a}break;default:l=Wl,Wl=0,Gl=null,Bu(e,s,c,l)}}Fu(),o=Xl;break}catch(t){ku(e,t)}while(1);return t&&e.shellSuspendCounter++,Ji=qi=null,Vl=r,I.H=i,I.A=a,G===null&&(Hl=null,Ul=0,ei()),o}function Fu(){for(;G!==null;)Ru(G)}function Iu(e,t){var n=Vl;Vl|=2;var r=ju(),a=Mu();Hl!==e||Ul!==t?(cu=null,su=Ee()+500,Ou(e,t)):ql=qe(e,t);a:do try{if(Wl!==0&&G!==null){t=G;var o=Gl;b:switch(Wl){case 1:Wl=0,Gl=null,Bu(e,t,o,1);break;case 2:case 9:if(Da(o)){Wl=0,Gl=null,zu(t);break}t=function(){Wl!==2&&Wl!==9||Hl!==e||(Wl=7),ud(e)},o.then(t,t);break a;case 3:Wl=7;break a;case 4:Wl=5;break a;case 7:Da(o)?(Wl=0,Gl=null,zu(t)):(Wl=0,Gl=null,Bu(e,t,o,7));break;case 5:var s=null;switch(G.tag){case 26:s=G.memoizedState;case 5:case 27:var c=G;if(s?$f(s):c.stateNode.complete){Wl=0,Gl=null;var l=c.sibling;if(l!==null)G=l;else{var u=c.return;u===null?G=null:(G=u,Vu(u))}break b}}Wl=0,Gl=null,Bu(e,t,o,5);break;case 6:Wl=0,Gl=null,Bu(e,t,o,6);break;case 8:Du(),Xl=6;break a;default:throw Error(i(462))}}Lu();break}catch(t){ku(e,t)}while(1);return Ji=qi=null,I.H=r,I.A=a,Vl=n,G===null?(Hl=null,Ul=0,ei(),Xl):0}function Lu(){for(;G!==null&&!we();)Ru(G)}function Ru(e){var t=Mc(e.alternate,e,Yl);e.memoizedProps=e.pendingProps,t===null?Vu(e):G=t}function zu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=vc(n,t,t.pendingProps,t.type,void 0,Ul);break;case 11:t=vc(n,t,t.pendingProps,t.type.render,t.ref,Ul);break;case 5:Mo(t);default:Vc(n,t),t=G=di(t,Yl),t=Mc(n,t,Yl)}e.memoizedProps=e.pendingProps,t===null?Vu(e):G=t}function Bu(e,t,n,r){Ji=qi=null,Mo(t),Na=null,Pa=0;var i=t.return;try{if(rc(e,i,t,n,Ul)){Xl=1,Qs(e,vi(n,e.current)),G=null;return}}catch(t){if(i!==null)throw G=i,t;Xl=1,Qs(e,vi(n,e.current)),G=null;return}t.flags&32768?(Fi||r===1?e=!0:ql||Ul&536870912?e=!1:(Kl=e=!0,(r===2||r===9||r===3||r===6)&&(r=io.current,r!==null&&r.tag===13&&(r.flags|=16384))),Hu(t,e)):Vu(t)}function Vu(e){var t=e;do{if(t.flags&32768){Hu(t,Kl);return}e=t.return;var n=zc(t.alternate,t,Yl);if(n!==null){G=n;return}if(t=t.sibling,t!==null){G=t;return}G=t=e}while(t!==null);Xl===0&&(Xl=5)}function Hu(e,t){do{var n=Bc(e.alternate,e);if(n!==null){n.flags&=32767,G=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){G=e;return}G=e=n}while(e!==null);Xl=6,G=null}function Uu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Ju();while(uu!==0);if(Vl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=$r,Qe(e,n,o,s,c,l),e===Hl&&(G=Hl=null,Ul=0),fu=t,du=e,pu=n,mu=o,hu=a,gu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,rd(Ae,function(){return Yu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=I.T,I.T=null,a=L.p,L.p=2,s=Vl,Vl|=4;try{ol(e,t,n)}finally{Vl=s,L.p=a,I.T=r}}uu=1,Wu(),Gu(),Ku()}}function Wu(){if(uu===1){uu=0;var e=du,t=fu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=I.T,I.T=null;var r=L.p;L.p=2;var i=Vl;Vl|=4;try{yl(t,e);var a=Jd,o=Dr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Er(s.ownerDocument.documentElement,s)){if(c!==null&&Or(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 _=Tr(s,h),v=Tr(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}}gp=!!qd,Jd=qd=null}finally{Vl=i,L.p=r,I.T=n}}e.current=t,uu=2}}function Gu(){if(uu===2){uu=0;var e=du,t=fu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=I.T,I.T=null;var r=L.p;L.p=2;var i=Vl;Vl|=4;try{sl(e,t.alternate,t)}finally{Vl=i,L.p=r,I.T=n}}uu=3}}function Ku(){if(uu===4||uu===3){uu=0,Te();var e=du,t=fu,n=pu,r=gu;t.subtreeFlags&10256||t.flags&10256?uu=5:(uu=0,fu=du=null,qu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(lu=null),rt(n),t=t.stateNode,Ie&&typeof Ie.onCommitFiberRoot==`function`)try{Ie.onCommitFiberRoot(Fe,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}}pu&3&&Ju(),ud(e),i=e.pendingLanes,n&261930&&i&42?e===vu?_u++:(_u=0,vu=e):_u=0,dd(0,!1)}}function qu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ua(t)))}function Ju(){return Wu(),Gu(),Ku(),Yu()}function Yu(){if(uu!==5)return!1;var e=du,t=mu;mu=0;var n=rt(pu),r=I.T,a=L.p;try{L.p=32>n?32:n,I.T=null,n=hu,hu=null;var o=du,s=pu;if(uu=0,fu=du=null,pu=0,Vl&6)throw Error(i(331));var c=Vl;if(Vl|=4,Il(o.current),Ol(o,o.current,s,n),Vl=c,dd(0,!1),Ie&&typeof Ie.onPostCommitFiberRoot==`function`)try{Ie.onPostCommitFiberRoot(Fe,o)}catch{}return!0}finally{L.p=a,I.T=r,qu(e,t)}}function Xu(e,t,n){t=vi(n,t),t=ec(e.stateNode,t,2),e=Ga(e,t,2),e!==null&&(Ze(e,2),ud(e))}function Zu(e,t,n){if(e.tag===3)Xu(e,e,n);else for(;t!==null;){if(t.tag===3){Xu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(lu===null||!lu.has(r))){e=vi(n,e),n=tc(2),r=Ga(t,n,2),r!==null&&(nc(n,r,t,e),Ze(r,2),ud(r));break}}t=t.return}}function Qu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bl;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)||(Jl=!0,i.add(n),e=$u.bind(null,e,t,n),t.then(e,e))}function $u(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Hl===e&&(Ul&n)===n&&(Xl===4||Xl===3&&(Ul&62914560)===Ul&&300>Ee()-au?!(Vl&2)&&Ou(e,0):$l|=n,tu===Ul&&(tu=0)),ud(e)}function ed(e,t){t===0&&(t=Ye()),e=ri(e,t),e!==null&&(Ze(e,t),ud(e))}function td(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ed(e,n)}function nd(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),ed(e,n)}function rd(e,t){return Se(e,t)}var id=null,ad=null,od=!1,sd=!1,cd=!1,ld=0;function ud(e){e!==ad&&e.next===null&&(ad===null?id=ad=e:ad=ad.next=e),sd=!0,od||(od=!0,_d())}function dd(e,t){if(!cd&&sd){cd=!0;do for(var n=!1,r=id;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-Re(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,gd(r,a))}else a=Ul,a=Ke(r,r===Hl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||qe(r,a)||(n=!0,gd(r,a));r=r.next}while(n);cd=!1}}function fd(){pd()}function pd(){sd=od=!1;var e=0;ld!==0&&ef()&&(e=ld);for(var t=Ee(),n=null,r=id;r!==null;){var i=r.next,a=md(r,t);a===0?(r.next=null,n===null?id=i:n.next=i,i===null&&(ad=n)):(n=r,(e!==0||a&3)&&(sd=!0)),r=i}uu!==0&&uu!==5||dd(e,!1),ld!==0&&(ld=0)}function md(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Re(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Je(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Hl,n=Ul,n=Ke(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Wl===2||Wl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Ce(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||qe(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Ce(r),rt(n)){case 2:case 8:n=ke;break;case 32:n=Ae;break;case 268435456:n=Me;break;default:n=Ae}return r=hd.bind(null,e),n=Se(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Ce(r),e.callbackPriority=2,e.callbackNode=null,2}function hd(e,t){if(uu!==0&&uu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ju()&&e.callbackNode!==n)return null;var r=Ul;return r=Ke(e,e===Hl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Su(e,r,t),md(e,Ee()),e.callbackNode!=null&&e.callbackNode===n?hd.bind(null,e):null)}function gd(e,t){if(Ju())return null;Su(e,t,!0)}function _d(){af(function(){Vl&6?Se(Oe,fd):pd()})}function vd(){if(ld===0){var e=pa;e===0&&(e=He,He<<=1,!(He&261888)&&(He=256)),ld=e}return ld}function yd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:$t(``+e)}function bd(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 xd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=yd((i[ct]||null).action),o=r.submitter;o&&(t=(t=o[ct]||null)?yd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Sn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(ld!==0){var e=o?bd(i,o):new FormData(i);Es(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?bd(i,o):new FormData(i),Es(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Sd=0;Sd<Jr.length;Sd++){var Cd=Jr[Sd];Yr(Cd.toLowerCase(),`on`+(Cd[0].toUpperCase()+Cd.slice(1)))}Yr(Br,`onAnimationEnd`),Yr(Vr,`onAnimationIteration`),Yr(Hr,`onAnimationStart`),Yr(`dblclick`,`onDoubleClick`),Yr(`focusin`,`onFocus`),Yr(`focusout`,`onBlur`),Yr(Ur,`onTransitionRun`),Yr(Wr,`onTransitionStart`),Yr(Gr,`onTransitionCancel`),Yr(Kr,`onTransitionEnd`),wt(`onMouseEnter`,[`mouseout`,`mouseover`]),wt(`onMouseLeave`,[`mouseout`,`mouseover`]),wt(`onPointerEnter`,[`pointerout`,`pointerover`]),wt(`onPointerLeave`,[`pointerout`,`pointerover`]),Ct(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Ct(`onSelect`,`focusout contextmenu dragend focu
9sin keydown keyup mousedown mouseup selectionchange`.split(` `)),Ct(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Ct(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Ct(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Ct(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var wd=`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(` `),Td=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(wd));function Ed(e,t){t=(t&4)!=0;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){Xr(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){Xr(e)}i.currentTarget=null,a=c}}}}function Dd(e,t){var n=t[ut];n===void 0&&(n=t[ut]=new Set);var r=e+`__bubble`;n.has(r)||(jd(t,e,2,!1),n.add(r))}function Od(e,t,n){var r=0;t&&(r|=4),jd(n,e,r,t)}var kd=`_reactListening`+Math.random().toString(36).slice(2);function Ad(e){if(!e[kd]){e[kd]=!0,xt.forEach(function(t){t!==`selectionchange`&&(Td.has(t)||Od(t,!1,e),Od(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[kd]||(t[kd]=!0,Od(`selectionchange`,!1,t))}}function jd(e,t,n,r){switch(Cp(t)){case 2:var i=_p;break;case 8:i=vp;break;default:i=yp}n=i.bind(null,t,n,e),i=void 0,!dn||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 Md(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=gt(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}cn(function(){var r=a,i=nn(n),s=[];a:{var c=qr.get(e);if(c!==void 0){var l=Sn,u=e;switch(e){case`keypress`:if(_n(n)===0)break a;case`keydown`:case`keyup`:l=Bn;break;case`focusin`:u=`focus`,l=jn;break;case`focusout`:u=`blur`,l=jn;break;case`beforeblur`:case`afterblur`:l=jn;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=kn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=An;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Hn;break;case Br:case Vr:case Hr:l=Mn;break;case Kr:l=Un;break;case`scroll`:case`scrollend`:l=wn;break;case`wheel`:l=Wn;break;case`copy`:case`cut`:case`paste`:l=Nn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Vn;break;case`toggle`:case`beforetoggle`:l=z}var d=(t&4)!=0,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=ln(m,p),g!=null&&d.push(Nd(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!==tn&&(u=n.relatedTarget||n.fromElement)&&(gt(u)||u[lt]))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?gt(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=kn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Vn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:vt(l),h=u==null?c:vt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,gt(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=Fd,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&&Id(s,c,l,d,!1),u!==null&&f!==null&&Id(s,f,u,d,!0)}}a:{if(c=r?vt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=ur;else if(ir(c))if(dr)v=br;else{v=vr;var y=_r}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Xt(r.elementType)&&(v=ur):v=yr;if(v&&=v(e,r)){ar(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Ht(c,`number`,c.value)}switch(y=r?vt(r):window,e){case`focusin`:(ir(y)||y.contentEditable===`true`)&&(Ar=y,jr=r,Mr=null);break;case`focusout`:Mr=jr=Ar=null;break;case`mousedown`:Nr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Nr=!1,Pr(s,n,i);break;case`selectionchange`:if(kr)break;case`keydown`:case`keyup`:Pr(s,n,i)}var b;if(Kn)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 er?Qn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Yn&&n.locale!==`ko`&&(er||x!==`onCompositionStart`?x===`onCompositionEnd`&&er&&(b=gn()):(pn=i,mn=`value`in pn?pn.value:pn.textContent,er=!0)),y=Pd(r,x),0<y.length&&(x=new Pn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=$n(n),b!==null&&(x.data=b)))),(b=Jn?tr(e,n):nr(e,n))&&(x=Pd(r,`onBeforeInput`),0<x.length&&(y=new Pn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),xd(s,e,r,n,i)}Ed(s,t)})}function Nd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Pd(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=ln(e,n),i!=null&&r.unshift(Nd(e,i,a)),i=ln(e,t),i!=null&&r.push(Nd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Fd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Id(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=ln(n,a),l!=null&&o.unshift(Nd(n,l,c))):i||(l=ln(n,a),l!=null&&o.push(Nd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ld=/\r\n?/g,Rd=/\u0000|\uFFFD/g;function zd(e){return(typeof e==`string`?e:``+e).replace(Ld,` 10`).replace(Rd,``)}function Bd(e,t){return t=zd(t),zd(e)===t}function Vd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Kt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Kt(e,``+r);break;case`className`:At(e,`class`,r);break;case`tabIndex`:At(e,`tabindex`,r);break;
vendor: 10,096 bytes, line 10
10case`dir`:case`role`:case`viewBox`:case`width`:case`height`:At(e,n,r);break;case`style`:Yt(e,r,o);break;case`data`:if(t!==`object`){At(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=$t(``+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}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Vd(e,t,`name`,a.name,a,null),Vd(e,t,`formEncType`,a.formEncType,a,null),Vd(e,t,`formMethod`,a.formMethod,a,null),Vd(e,t,`formTarget`,a.formTarget,a,null)):(Vd(e,t,`encType`,a.encType,a,null),Vd(e,t,`method`,a.method,a,null),Vd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=$t(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=en);break;case`onScroll`:r!=null&&Dd(`scroll`,e);break;case`onScrollEnd`:r!=null&&Dd(`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=$t(``+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`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Dd(`beforetoggle`,e),Dd(`toggle`,e),kt(e,`popover`,r);break;case`xlinkActuate`:jt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:jt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:jt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:jt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:jt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:jt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:jt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:jt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:jt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:kt(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=Zt.get(n)||n,kt(e,n,r))}}function Hd(e,t,n,r,a,o){switch(n){case`style`:Yt(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`?Kt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Kt(e,``+r);break;case`onScroll`:r!=null&&Dd(`scroll`,e);break;case`onScrollEnd`:r!=null&&Dd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=en);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!St.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[ct]||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,``):kt(e,n,r)}}}function Ud(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Dd(`error`,e),Dd(`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:Vd(e,t,o,s,n,null)}}a&&Vd(e,t,`srcSet`,n.srcSet,n,null),r&&Vd(e,t,`src`,n.src,n,null);return;case`input`:Dd(`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:Vd(e,t,r,d,n,null)}}Vt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Dd(`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:Vd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Ut(e,!!r,n,!0):Ut(e,!!r,t,!1);return;case`textarea`:for(s in Dd(`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:Vd(e,t,s,c,n,null)}Gt(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:Vd(e,t,l,r,n,null)}return;case`dialog`:Dd(`beforetoggle`,e),Dd(`toggle`,e),Dd(`cancel`,e),Dd(`close`,e);break;case`iframe`:case`object`:Dd(`load`,e);break;case`video`:case`audio`:for(r=0;r<wd.length;r++)Dd(wd[r],e);break;case`image`:Dd(`error`,e),Dd(`load`,e);break;case`details`:Dd(`toggle`,e);break;case`embed`:case`source`:case`link`:Dd(`error`,e),Dd(`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:Vd(e,t,u,r,n,null)}return;default:if(Xt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Hd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Vd(e,t,c,r,n,null))}function Wd(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)||Vd(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&&Vd(e,t,p,m,r,f)}}Bt(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)||Vd(e,t,o,null,r,l)}for(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&&Vd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Ut(e,!!n,n?[]:``,!1):Ut(e,!!n,t,!0)):Ut(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:Vd(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&&Vd(e,t,s,a,r,o)}Wt(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:Vd(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:Vd(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)&&Vd(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:Vd(e,t,u,p,r,m)}return;default:if(Xt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Hd(e,t,_,void 0,r,p);
vendor: 4,463 bytes, line 10
10for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Hd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Vd(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||Vd(e,t,f,p,r,m)}function Gd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Kd(){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&&Gd(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&&Gd(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 qd=null,Jd=null;function Yd(e){return e.nodeType===9?e:e.ownerDocument}function Xd(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 Zd(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 Qd(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 $d=null;function ef(){var e=window.event;return e&&e.type===`popstate`?e===$d?!1:($d=e,!0):($d=null,!1)}var tf=typeof setTimeout==`function`?setTimeout:void 0,nf=typeof clearTimeout==`function`?clearTimeout:void 0,rf=typeof Promise==`function`?Promise:void 0,af=typeof queueMicrotask==`function`?queueMicrotask:rf===void 0?tf:function(e){return rf.resolve(null).then(e).catch(of)};function of(e){setTimeout(function(){throw e})}function sf(e){return e===`head`}function cf(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),Hp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)Sf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,Sf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[mt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&Sf(e.ownerDocument.body);n=i}while(n);Hp(t)}function lf(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 uf(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`:uf(n),ht(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function df(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[mt])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=_f(e.nextSibling),e===null)break}return null}function ff(e,t,n){if(t===``)return null;for(;
vendor: 17,789 bytes, line 10
10e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=_f(e.nextSibling),e===null))return null;return e}function pf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=_f(e.nextSibling),e===null))return null;return e}function mf(e){return e.data===`$?`||e.data===`$~`}function hf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function gf(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 _f(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 vf=null;function yf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return _f(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function bf(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 xf(e,t,n){switch(t=Yd(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 Sf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ht(e)}var Cf=new Map,wf=new Set;function Tf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ef=L.d;L.d={f:Df,r:Of,D:jf,C:Mf,L:Nf,m:Pf,X:If,S:Ff,M:Lf};function Df(){var e=Ef.f(),t=Eu();return e||t}function Of(e){var t=_t(e);t!==null&&t.tag===5&&t.type===`form`?Os(t):Ef.r(e)}var kf=typeof document>`u`?null:document;function Af(e,t,n){var r=kf;if(r&&typeof t==`string`&&t){var i=zt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),wf.has(i)||(wf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Ud(t,`link`,e),bt(t),r.head.appendChild(t)))}}function jf(e){Ef.D(e),Af(`dns-prefetch`,e,null)}function Mf(e,t){Ef.C(e,t),Af(`preconnect`,e,t)}function Nf(e,t,n){Ef.L(e,t,n);var r=kf;if(r&&e&&t){var i=`link[rel="preload"][as="`+zt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+zt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+zt(n.imageSizes)+`"]`)):i+=`[href="`+zt(e)+`"]`;var a=i;switch(t){case`style`:a=zf(e);break;case`script`:a=Uf(e)}Cf.has(a)||(e=p({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Cf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Bf(a))||t===`script`&&r.querySelector(Wf(a))||(t=r.createElement(`link`),Ud(t,`link`,e),bt(t),r.head.appendChild(t)))}}function Pf(e,t){Ef.m(e,t);var n=kf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+zt(r)+`"][href="`+zt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Uf(e)}if(!Cf.has(a)&&(e=p({rel:`modulepreload`,href:e},t),Cf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Wf(a)))return}r=n.createElement(`link`),Ud(r,`link`,e),bt(r),n.head.appendChild(r)}}}function Ff(e,t,n){Ef.S(e,t,n);var r=kf;if(r&&e){var i=yt(r).hoistableStyles,a=zf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Bf(a)))s.loading=5;else{e=p({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Cf.get(a))&&qf(e,n);var c=o=r.createElement(`link`);bt(c),Ud(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,Kf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function If(e,t){Ef.X(e,t);var n=kf;if(n&&e){var r=yt(n).hoistableScripts,i=Uf(e),a=r.get(i);a||(a=n.querySelector(Wf(i)),a||(e=p({src:e,async:!0},t),(t=Cf.get(i))&&Jf(e,t),a=n.createElement(`script`),bt(a),Ud(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Lf(e,t){Ef.M(e,t);var n=kf;if(n&&e){var r=yt(n).hoistableScripts,i=Uf(e),a=r.get(i);a||(a=n.querySelector(Wf(i)),a||(e=p({src:e,async:!0,type:`module`},t),(t=Cf.get(i))&&Jf(e,t),a=n.createElement(`script`),bt(a),Ud(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Rf(e,t,n,r){var a=(a=ce.current)?Tf(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=zf(n.href),n=yt(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=zf(n.href);var o=yt(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(Bf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),Cf.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},Cf.set(e,n),o||Hf(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=Uf(n),n=yt(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 zf(e){return`href="`+zt(e)+`"`}function Bf(e){return`link[rel="stylesheet"][`+e+`]`}function Vf(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function Hf(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}),Ud(t,`link`,n),bt(t),e.head.appendChild(t))}function Uf(e){return`[src="`+zt(e)+`"]`}function Wf(e){return`script[async]`+e}function Gf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+zt(n.href)+`"]`);if(r)return t.instance=r,bt(r),r;var a=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),bt(r),Ud(r,`style`,a),Kf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=zf(n.href);var o=e.querySelector(Bf(a));if(o)return t.state.loading|=4,t.instance=o,bt(o),o;r=Vf(n),(a=Cf.get(a))&&qf(r,a),o=(e.ownerDocument||e).createElement(`link`),bt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Ud(o,`link`,r),t.state.loading|=4,Kf(o,n.precedence,e),t.instance=o;case`script`:return o=Uf(n.src),(a=e.querySelector(Wf(o)))?(t.instance=a,bt(a),a):(r=n,(a=Cf.get(o))&&(r=p({},n),Jf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),bt(a),Ud(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,Kf(r,n.precedence,e));return t.instance}function Kf(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 qf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Jf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Yf=null;function Xf(e,t,n){if(Yf===null){var r=new Map,i=Yf=new Map;i.set(n,r)}else i=Yf,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[mt]||a[st]||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 Zf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Qf(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 $f(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function ep(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=zf(r.href),a=t.querySelector(Bf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=rp.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,bt(a);return}a=t.ownerDocument||t,r=Vf(r),(i=Cf.get(i))&&qf(r,i),a=a.createElement(`link`),bt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Ud(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=rp.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var tp=0;function np(e,t){return e.stylesheets&&e.count===0&&ap(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&ap(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&tp===0&&(tp=62500*Kd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ap(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>tp?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function rp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ap(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ip=null;function ap(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ip=new Map,t.forEach(op,e),ip=null,rp.call(e))}function op(e,t){if(!(t.state.loading&4)){var n=ip.get(e);if(n)var r=n.get(null);else{n=new Map,ip.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=rp.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 sp={$$typeof:C,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function cp(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=Xe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xe(0),this.hiddenUpdates=Xe(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 lp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new cp(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=ci(3,null,null,t),e.current=a,a.stateNode=e,t=la(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ha(a),e}function up(e){return e?(e=oi,e):oi}function dp(e,t,n,r,i,a){i=up(i),r.context===null?r.context=i:r.pendingContext=i,r=Wa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ga(e,r,t),n!==null&&(xu(n,e,t),Ka(n,e,t))}function fp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function pp(e,t){fp(e,t),(e=e.alternate)&&fp(e,t)}function mp(e){if(e.tag===13||e.tag===31){var t=ri(e,67108864);t!==null&&xu(t,e,67108864),pp(e,67108864)}}function hp(e){if(e.tag===13||e.tag===31){var t=yu();t=nt(t);var n=ri(e,t);n!==null&&xu(n,e,t),pp(e,t)}}var gp=!0;function _p(e,t,n,r){var i=I.T;I.T=null;var a=L.p;try{L.p=2,yp(e,t,n,r)}finally{L.p=a,I.T=i}}function vp(e,t,n,r){var i=I.T;I.T=null;var a=L.p;try{L.p=8,yp(e,t,n,r)}finally{L.p=a,I.T=i}}function yp(e,t,n,r){if(gp){var i=bp(r);if(i===null)Md(e,t,r,xp,n),Mp(e,r);else if(Pp(i,e,t,n,r))r.stopPropagation();else if(Mp(e,r),t&4&&-1<jp.indexOf(e)){for(;i!==null;){var a=_t(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ge(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Re(o);s.entanglements[1]|=c,o&=~c}ud(a),!(Vl&6)&&(su=Ee()+500,dd(0,!1))}}break;case 31:case 13:s=ri(a,2),s!==null&&xu(s,a,2),Eu(),pp(a,2)}if(a=bp(r),a===null&&Md(e,t,r,xp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Md(e,t,r,null,n)}}function bp(e){return e=nn(e),Sp(e)}var xp=null;function Sp(e){if(xp=null,e=gt(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 xp=e,null}function Cp(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(De()){case Oe:return 2;case ke:return 8;case Ae:case je:return 32;case Me:return 268435456;default:return 32}default:return 32}}var wp=!1,Tp=null,Ep=null,Dp=null,Op=new Map,kp=new Map,Ap=[],jp=`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 Mp(e,t){switch(e){case`focusin`:case`focusout`:Tp=null;break;case`dragenter`:case`dragleave`:Ep=null;break;case`mouseover`:case`mouseout`:Dp=null;break;case`pointerover`:case`pointerout`:Op.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:kp.delete(t.pointerId)}}function Np(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=_t(t),t!==null&&mp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Pp(e,t,n,r,i){switch(t){case`focusin`:return Tp=Np(Tp,e,t,n,r,i),!0;case`dragenter`:return Ep=Np(Ep,e,t,n,r,i),!0;case`mouseover`:return Dp=Np(Dp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Op.set(a,Np(Op.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,kp.set(a,Np(kp.get(a)||null,e,t,n,r,i)),!0}return!1}function Fp(e){var t=gt(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,at(e.priority,function(){hp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,at(e.priority,function(){hp(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 Ip(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=bp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);tn=r,n.target.dispatchEvent(r),tn=null}else return t=_t(n),t!==null&&mp(t),e.blockedOn=n,!1;t.shift()}return!0}
10function Lp(e,t,n){Ip(e)&&n.delete(t)}function Rp(){wp=!1,Tp!==null&&Ip(Tp)&&(Tp=null),Ep!==null&&Ip(Ep)&&(Ep=null),Dp!==null&&Ip(Dp)&&(Dp=null),Op.forEach(Lp),kp.forEach(Lp)}function zp(e,n){e.blockedOn===n&&(e.blockedOn=null,wp||(wp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Rp)))}var Bp=null;function Vp(e){Bp!==e&&(Bp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Bp===e&&(Bp=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(Sp(r||n)===null)continue;break}var a=_t(n);a!==null&&(e.splice(t,3),t-=3,Es(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Hp(e){function t(t){return zp(t,e)}Tp!==null&&zp(Tp,e),Ep!==null&&zp(Ep,e),Dp!==null&&zp(Dp,e),Op.forEach(t),kp.forEach(t);for(var n=0;n<Ap.length;n++){var r=Ap[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ap.length&&(n=Ap[0],n.blockedOn===null);)Fp(n),n.blockedOn===null&&Ap.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[ct]||null;if(typeof a==`function`)o||Vp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ct]||null)s=o.formAction;else if(Sp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Vp(n)}}}function Up(){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 Wp(e){this._internalRoot=e}Gp.prototype.render=Wp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;dp(n,yu(),e,t,null,null)},Gp.prototype.unmount=Wp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;dp(e.current,2,null,e,null,null),Eu(),t[lt]=null}};function Gp(e){this._internalRoot=e}Gp.prototype.unstable_scheduleHydration=function(e){if(e){var t=it();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ap.length&&t!==0&&t<Ap[n].priority;n++);Ap.splice(n,0,e),n===0&&Fp(e)}};var Kp=n.version;if(Kp!==`19.2.6`)throw Error(i(527,Kp,`19.2.6`));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:d(e),e=e===null?null:e.stateNode,e};var qp={bundleType:0,version:`19.2.6`,rendererPackageName:`react-dom`,currentDispatcherRef:I,reconcilerVersion:`19.2.6`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Jp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jp.isDisabled&&Jp.supportsFiber)try{Fe=Jp.inject(qp),Ie=Jp}catch{}}e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=Ys,c=Xs,l=Zs,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=lp(e,1,!0,t,n??null,r,o,u,s,c,l,Up),t.context=up(null),n=t.current,r=yu(),r=nt(r),o=Wa(r),o.callback=null,Ga(n,o,r),n=r,t.current.lanes=n,Ze(t,n),ud(t),e[lt]=t.current,Ad(e),new Gp(t)}})),v=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=_()})),y=`__TSS_CONTEXT`,b=Symbol.for(`TSS_SERVER_FUNCTION`),x=`application/x-tss-framed`,S={JSON:0,CHUNK:1,END:2,ERROR:3};`${x}`;var C=/;\s*v=(\d+)/;function w(e){let t=e.match(C);return t?parseInt(t[1],10):void 0}function E(e){let t=w(e);if(t!==void 0&&t!==1)throw Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var D=()=>window.__TSS_START_OPTIONS__;function O(e){return e[e.length-1]}function k(e){return typeof e==`function`}function A(e,t){return k(e)?e(t):e}var j=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;function N(e){for(let t in e)if(j.call(e,t))return!0;return!1}var P=()=>Object.create(null),F=(e,t)=>ee(e,t,P);function ee(e,t,n=()=>({}),r=0){if(e===t)return e;if(r>500)return t;let i=t,a=ne(e)&&ne(i);if(!a&&!(L(e)&&L(i)))return i;let o=a?e:I(e);if(!o)return i;let s=a?i:I(i);if(!s)return i;let c=o.length,l=s.length,u=a?Array(l):n(),d=0;for(let t=0;t<l;t++){let o=a?t:s[t],l=e[o],f=i[o];if(l===f){u[o]=l,(a?t<c:j.call(e,o))&&d++;continue}if(l===null||f===null||typeof l!=`object`||typeof f!=`object`){u[o]=f;continue}let p=ee(l,f,n,r+1);u[o]=p,p===l&&d++}return c===l&&d===c?e:u}function I(e){let t=Object.getOwnPropertyNames(e);for(let n of t)if(!M.call(e,n))return!1;let n=Object.getOwnPropertySymbols(e);if(n.length===0)return t;let r=t;for(let t of n){if(!M.call(e,t))return!1;r.push(t)}return r}function L(e){if(!te(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!te(n)||!n.hasOwnProperty(`isPrototypeOf`))}function te(e){return Object.prototype.toString.call(e)===`[object Object]`}function ne(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function re(e,t,n){if(e===t)return!0;
10if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!re(e[r],t[r],n))return!1;return!0}if(L(e)&&L(t)){let r=n?.ignoreUndefined??!0;if(n?.partial){for(let i in t)if((!r||t[i]!==void 0)&&!re(e[i],t[i],n))return!1;return!0}let i=0;if(!r)i=Object.keys(e).length;else for(let t in e)e[t]!==void 0&&i++;let a=0;for(let o in t)if((!r||t[o]!==void 0)&&(a++,a>i||!re(e[o],t[o],n)))return!1;return i===a}return!1}function ie(e){let t,n,r=new Promise((e,r)=>{t=e,n=r});return r.status=`pending`,r.resolve=n=>{r.status=`resolved`,r.value=n,t(n),e?.(n)},r.reject=e=>{r.status=`rejected`,n(e)},r}function ae(e){return typeof e?.message==`string`?e.message.startsWith(`Failed to fetch dynamically imported module`)||e.message.startsWith(`error loading dynamically imported module`)||e.message.startsWith(`Importing a module script failed`):!1}function R(e){return!!(e&&typeof e==`object`&&typeof e.then==`function`)}function oe(e){return e.replace(/[\x00-\x1f\x7f]/g,``)}function se(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,e=>{try{return decodeURI(e)}catch{return e}})}return oe(t)}var ce=[`http:`,`https:`,`mailto:`,`tel:`];function le(e,t){if(!e)return!1;try{let n=new URL(e);return!t.has(n.protocol)}catch{return!1}}var ue={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},de=/[&><\u2028\u2029]/g;function fe(e){return e.replace(de,e=>ue[e])}function pe(e){if(!e||!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith(`//`))return{path:e,handledProtocolRelativeURL:!1};let t=/%25|%5C/gi,n=0,r=``,i;for(;(i=t.exec(e))!==null;)r+=se(e.slice(n,i.index))+i[0],n=t.lastIndex;r+=se(n?e.slice(n):e);let a=!1;return r.startsWith(`//`)&&(a=!0,r=`/`+r.replace(/^\/+/,``)),{path:r,handledProtocolRelativeURL:a}}function me(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function he(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function ge(){throw Error(`Invariant failed`)}function _e(e){let t=new Map,n,r,i=e=>{e.next&&(e.prev?(e.prev.next=e.next,e.next.prev=e.prev,e.next=void 0,r&&(r.next=e,e.prev=r)):(e.next.prev=void 0,n=e.next,e.next=void 0,r&&(e.prev=r,r.next=e)),r=e)};return{get(e){let n=t.get(e);if(n)return i(n),n.value},set(a,o){if(t.size>=e&&n){let e=n;t.delete(e.key),e.next&&(n=e.next,e.next.prev=void 0),e===r&&(r=void 0)}let s=t.get(a);if(s)s.value=o,i(s);else{let e={key:a,value:o,prev:r};r&&(r.next=e),r=e,n||=e,t.set(a,e)}},clear(){t.clear(),n=void 0,r=void 0}}}var ve=4,ye=5;function be(e){let t=e.indexOf(`{`);if(t===-1)return null;let n=e.indexOf(`}`,t);return n===-1||t+1>=e.length?null:[t,n]}function xe(e,t,n=new Uint16Array(6)){let r=e.indexOf(`/`,t),i=r===-1?e.length:r,a=e.substring(t,i);if(!a||!a.includes(`$`))return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n;if(a===`$`){let r=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=r,n[4]=r,n[5]=r,n}if(a.charCodeAt(0)===36)return n[0]=1,n[1]=t,n[2]=t+1,n[3]=i,n[4]=i,n[5]=i,n;let o=be(a);if(o){let[r,s]=o,c=a.charCodeAt(r+1);if(c===45){if(r+2<a.length&&a.charCodeAt(r+2)===36){let e=r+3,a=s;if(e<a)return n[0]=3,n[1]=t+r,n[2]=t+e,n[3]=t+a,n[4]=t+s+1,n[5]=i,n}}else if(c===36){let a=r+1,o=r+2;return o===s?(n[0]=2,n[1]=t+r,n[2]=t+a,n[3]=t+o,n[4]=t+s+1,n[5]=e.length,n):(n[0]=1,n[1]=t+r,n[2]=t+o,n[3]=t+s,n[4]=t+s+1,n[5]=i,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n}function Se(e,t,n,r,i,a,o){o?.(n);let s=r;{let r=n.fullPath??n.from,o=r.length,c=n.options?.caseSensitive??e,l=n.options?.params?.parse??n.options?.parseParams;for(;s<o;){let e=xe(r,s,t),o,u=s,d=e[5];switch(s=d+1,a++,e[0]){case 0:{let t=r.substring(e[2],e[3]);if(c){let e=i.static?.get(t);if(e)o=e;else{i.static??=new Map;let e=Te(n.fullPath??n.from);e.parent=i,e.depth=a,o=e,i.static.set(t,e)}}else{let e=t.toLowerCase(),r=i.staticInsensitive?.get(e);if(r)o=r;else{i.staticInsensitive??=new Map;let t=Te(n.fullPath??n.from);t.parent=i,t.depth=a,o=t,i.staticInsensitive.set(e,t)}}break}case 1:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.dynamic?.find(e=>!e.parse&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=Ee(1,n.fullPath??n.from,f,p,m);o=e,e.depth=a,e.parent=i,i.dynamic??=[],i.dynamic.push(e)}break}case 3:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.optional?.find(e=>!e.parse&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=Ee(3,n.fullPath??n.from,f,p,m);
10o=e,e.parent=i,e.depth=a,i.optional??=[],i.optional.push(e)}break}case 2:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),l=c&&!!(t||s),f=t?l?t:t.toLowerCase():void 0,p=s?l?s:s.toLowerCase():void 0,m=Ee(2,n.fullPath??n.from,l,f,p);o=m,m.parent=i,m.depth=a,i.wildcard??=[],i.wildcard.push(m)}}i=o}if(l&&n.children&&!n.isRoot&&n.id&&n.id.charCodeAt(n.id.lastIndexOf(`/`)+1)===95){let e=Te(n.fullPath??n.from);e.kind=ye,e.parent=i,a++,e.depth=a,i.pathless??=[],i.pathless.push(e),i=e}let u=(n.path||!n.children)&&!n.isRoot;if(u&&r.endsWith(`/`)){let e=Te(n.fullPath??n.from);e.kind=ve,e.parent=i,a++,e.depth=a,i.index=e,i=e}i.parse=l??null,i.priority=n.options?.params?.priority??0,u&&!i.route&&(i.route=n,i.fullPath=n.fullPath??n.from)}if(n.children)for(let r of n.children)Se(e,t,r,s,i,a,o)}function Ce(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function we(e){if(e.pathless)for(let t of e.pathless)we(t);if(e.static)for(let t of e.static.values())we(t);if(e.staticInsensitive)for(let t of e.staticInsensitive.values())we(t);if(e.dynamic?.length){e.dynamic.sort(Ce);for(let t of e.dynamic)we(t)}if(e.optional?.length){e.optional.sort(Ce);for(let t of e.optional)we(t)}if(e.wildcard?.length){e.wildcard.sort(Ce);for(let t of e.wildcard)we(t)}}function Te(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function Ee(e,t,n,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:n,prefix:r,suffix:i}}function De(e,t){let n=Te(`/`),r=new Uint16Array(6);for(let t of e)Se(!1,r,t,1,n,0);we(n),t.masksTree=n,t.flatCache=_e(1e3)}function Oe(e,t){e||=`/`;let n=t.flatCache.get(e);if(n)return n;let r=Ne(e,t.masksTree);return t.flatCache.set(e,r),r}function ke(e,t,n,r,i){e||=`/`,r||=`/`;let a=t?`case\0${e}`:e,o=i.singleCache.get(a);return o||(o=Te(`/`),Se(t,new Uint16Array(6),{from:e},1,o,0),i.singleCache.set(a,o)),Ne(r,o,n)}function Ae(e,t,n=!1){let r=n?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||=`/`;let a;try{a=Ne(e,t.segmentTree,n)}catch(e){if(e instanceof URIError)a=null;else throw e}return a&&(a.branch=Fe(a.route)),t.matchCache.set(r,a),a}function je(e){return e===`/`?e:e.replace(/\/{1,}$/,``)}function Me(e,t=!1,n){let r=Te(e.fullPath),i=new Uint16Array(6),a={},o={},s=0;return Se(t,i,e,1,r,0,e=>{if(n?.(e,s),e.id in a&&ge(),a[e.id]=e,s!==0&&e.path){let t=je(e.fullPath);(!o[t]||e.fullPath.endsWith(`/`))&&(o[t]=e)}s++}),we(r),{processedTree:{segmentTree:r,singleCache:_e(1e3),matchCache:_e(1e3),flatCache:null,masksTree:null},routesById:a,routesByPath:o}}function Ne(e,t,n=!1){let r=e.split(`/`),i=Le(e,r,t,n);if(!i)return null;let[a]=Pe(e,r,i);return{route:i.node.route,rawParams:a}}function Pe(e,t,n){let r=Ie(n.node),i=null,a=Object.create(null),o=n.extract?.part??0,s=n.extract?.node??0,c=n.extract?.path??0,l=n.extract?.segment??0;for(;s<r.length;o++,s++,c++,l++){let u=r[s];if(u.kind===ve)break;if(u.kind===ye){l--,o--,c--;continue}let d=t[o],f=c;if(d&&(c+=d.length),u.kind===1){i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0;if(e.charCodeAt(t)===123){let n=u.suffix?.length??0,r=e.substring(t+2,e.length-n-1),i=d.substring(t,d.length-n);a[r]=decodeURIComponent(i)}else{let t=e.substring(1);a[t]=decodeURIComponent(d)}}else if(u.kind===3){if(n.skipped&1<<s){o--,c=f-1;continue}i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0,r=u.suffix?.length??0,p=e.substring(t+3,e.length-r-1),m=u.suffix||u.prefix?d.substring(t,d.length-r):d;m&&(a[p]=decodeURIComponent(m))}else if(u.kind===2){let t=u,n=e.substring(f+(t.prefix?.length??0),e.length-(t.suffix?.length??0)),r=decodeURIComponent(n);a[`*`]=r,a._splat=r;break}}return n.rawParams&&Object.assign(a,n.rawParams),[a,{part:o,node:s,path:c,segment:l}]}function Fe(e){let t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function Ie(e){let t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function Le(e,t,n,r){if(e===`/`&&n.index)return{node:n.index,skipped:0};let i=!O(t),a=i&&e!==`/`,o=t.length-+!!i,s=[{node:n,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],c=null,l=null;for(;s.length;){let n=s.pop(),{node:i,index:u,skipped:d,depth:f,statics:p,dynamics:m,optionals:h}=n,{extract:g,rawParams:_}=n;if(i.kind===2&&i.route&&!Ve(l,n))continue;if(i.parse){if(!Be(e,t,n))continue;_=n.rawParams,g=n.extract}r&&i.route&&i.kind!==ve&&Ve(c,n)&&(c=n);let v=u===o;if(v&&(i.route&&(!a||i.kind===ve||i.kind===2)&&Ve(l,n)&&(l=n),!i.optional&&!i.wildcard&&!i.index&&!i.pathless))continue;let y=v?void 0:t[u],b;if(v&&i.index){let n={node:i.index,index:u,skipped:d,depth:f+1,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_},r=!0;
10if(i.index.parse&&(Be(e,t,n)||(r=!1)),r){if(!m&&!h&&!d&&ze(p,o))return n;Ve(l,n)&&(l=n)}}if(i.wildcard)for(let e=i.wildcard.length-1;e>=0;e--){let n=i.wildcard[e],{prefix:r,suffix:a}=n;if(!(r&&(v||!(n.caseSensitive?y:b??=y.toLowerCase()).startsWith(r)))){if(a){if(v)continue;let e=t.slice(u).join(`/`).slice(-a.length);if((n.caseSensitive?e:e.toLowerCase())!==a)continue}s.push({node:n,index:o,skipped:d,depth:f+1,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}}if(i.optional){let e=d|1<<f,t=f+1;for(let n=i.optional.length-1;n>=0;n--){let r=i.optional[n];s.push({node:r,index:u,skipped:e,depth:t,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}if(!v)for(let e=i.optional.length-1;e>=0;e--){let n=i.optional[e],{prefix:r,suffix:a}=n;if(r||a){let e=n.caseSensitive?y:b??=y.toLowerCase();if(r&&!e.startsWith(r)||a&&!e.endsWith(a))continue}s.push({node:n,index:u+1,skipped:d,depth:t,statics:p,dynamics:m,optionals:h+Re(o,u),extract:g,rawParams:_})}}if(!v&&i.dynamic&&y)for(let e=i.dynamic.length-1;e>=0;e--){let t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?y:b??=y.toLowerCase();if(n&&!e.startsWith(n)||r&&!e.endsWith(r))continue}s.push({node:t,index:u+1,skipped:d,depth:f+1,statics:p,dynamics:m+Re(o,u),optionals:h,extract:g,rawParams:_})}if(!v&&i.staticInsensitive){let e=i.staticInsensitive.get(b??=y.toLowerCase());e&&s.push({node:e,index:u+1,skipped:d,depth:f+1,statics:p+Re(o,u),dynamics:m,optionals:h,extract:g,rawParams:_})}if(!v&&i.static){let e=i.static.get(y);e&&s.push({node:e,index:u+1,skipped:d,depth:f+1,statics:p+Re(o,u),dynamics:m,optionals:h,extract:g,rawParams:_})}if(i.pathless){let e=f+1;for(let t=i.pathless.length-1;t>=0;t--){let n=i.pathless[t];s.push({node:n,index:u,skipped:d,depth:e,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}}}if(l)return l;if(r&&c){let n=c.index;for(let e=0;e<c.index;e++)n+=t[e].length;let r=n===e.length?`/`:e.slice(n);return c.rawParams??=Object.create(null),c.rawParams[`**`]=decodeURIComponent(r),c}return null}function Re(e,t){return 2**(e-t-1)}function ze(e,t){return e===2**(t-1)-1}function Be(e,t,n){let r,i;try{[r,i]=Pe(e,t,n)}catch{return null}if(n.rawParams=r,n.extract=i,!n.node.parse)return!0;try{if(n.node.parse(r)===!1)return null}catch{}return!0}function Ve(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===ve)>(e.node.kind===ve)||t.node.kind===ve==(e.node.kind===ve)&&t.depth>e.depth))):!0}function He(e){return Ue(e.filter(e=>e!==void 0).join(`/`))}function Ue(e){return e.replace(/\/{2,}/g,`/`)}function We(e){return e===`/`?e:e.replace(/^\/{1,}/,``)}function Ge(e){let t=e.length;return t>1&&e[t-1]===`/`?e.replace(/\/{1,}$/,``):e}function Ke(e){return Ge(We(e))}function qe(e,t){return e?.endsWith(`/`)&&e!==`/`&&e!==`${t}/`?e.slice(0,-1):e}function Je(e,t,n){return qe(e,n)===qe(t,n)}function Ye({base:e,to:t,trailingSlash:n=`never`,cache:r}){let i=t.startsWith(`/`),a=!i&&t===`.`,o;if(r){o=i?t:a?e:e+`\0`+t;let n=r.get(o);if(n)return n}let s;if(a)s=e.split(`/`);else if(i)s=t.split(`/`);else{for(s=e.split(`/`);s.length>1&&O(s)===``;)s.pop();let n=t.split(`/`);for(let e=0,t=n.length;e<t;e++){let r=n[e];r===``?e?e===t-1&&s.push(r):s=[r]:r===`..`?s.pop():r===`.`||s.push(r)}}s.length>1&&(O(s)===``?n===`never`&&s.pop():n===`always`&&s.push(``));let c=Ue(s.join(`/`))||`/`;return o&&r&&r.set(o,c),c}function Xe(e){let t=new Map(e.map(e=>[encodeURIComponent(e),e])),n=Array.from(t.keys()).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),r=new RegExp(n,`g`);return e=>e.replace(r,e=>t.get(e)??e)}function Ze(e,t,n){let r=t[e];return typeof r==`string`?e===`_splat`?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split(`/`).map(e=>$e(e,n)).join(`/`):$e(r,n):r}function Qe({path:e,params:t,decoder:n,...r}){let i=!1,a=Object.create(null);if(!e||e===`/`)return{interpolatedPath:`/`,usedParams:a,isMissingParams:i};if(!e.includes(`$`))return{interpolatedPath:e,usedParams:a,isMissingParams:i};let o=e.length,s=0,c,l=``;for(;s<o;){let r=s;c=xe(e,r,c);let o=c[5];if(s=o+1,r===o)continue;let u=c[0];if(u===0){l+=`/`+e.substring(r,o);continue}if(u===2){let s=t._splat;a._splat=s,a[`*`]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o);if(!s){i=!0,(u||d)&&(l+=`/`+u+d);continue}let f=Ze(`_splat`,t,n);l+=`/`+u+f+d;continue}if(u===1){let s=e.substring(c[2],c[3]);!i&&!(s in t)&&(i=!0),a[s]=t[s];let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=Ze(s,t,n)??`undefined`;l+=`/`+u+f+d;continue}if(u===3){let i=e.substring(c[2],c[3]),s=t[i];if(s==null)continue;a[i]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=Ze(i,t,n)??``;l+=`/`+u+f+d;continue}}return e.endsWith(`/`)&&(l+=`/`),{usedParams:a,interpolatedPath:l||`/`,isMissingParams:i}}function $e(e,t){let n=encodeURIComponent(e);return t?.(n)??n}function et(e){return e?.isNotFound===!0}function tt(){try{return typeof window<`u`&&typeof window.sessionStorage==`object`?window.sessionStorage:void 0}catch{return}}var nt=`tsr-scroll-restoration-v1_3`;function rt(){let e=tt();if(!e)return null;let t={};try{let n=JSON.parse(e.getItem(`tsr-scroll-restoration-v1_3`)||`{}`);L(n)&&(t=n)}catch{}return{get state(){return t},set:e=>{t=A(e,t)||t},persist:()=>{try{e.setItem(nt,JSON.stringify(t))}catch{}}}}var it=rt(),at=e=>e.state.__TSR_key||e.href;function ot(e){let t=[],n;for(;n=e.parentNode;)t.push(`${e.tagName}:nth-child(${Array.prototype.indexOf.call(n.children,e)+1})`),e=n;return`${t.reverse().join(` > `)}`.toLowerCase()}var st=!1,ct=`window`,lt=`data-scroll-restoration-id`;function ut(e,t){if(!it)return;let n=it;if((t??e.options.scrollRestoration??!1)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup||!n)return;e.isScrollRestorationSetup=!0,st=!1;let r=e.options.getScrollRestorationKey||at,i=new Map;window.history.scrollRestoration=`manual`;let a=t=>{if(!(st||!e.isScrollRestoring))if(t.target===document||t.target===window)i.set(ct,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{let e=t.target;i.set(e,{scrollX:e.scrollLeft||0,scrollY:e.scrollTop||0})}},o=t=>{if(!e.isScrollRestoring||!t||i.size===0||!n)return;let r=n.state[t]||={};for(let[e,t]of i){let n;if(e===ct)n=ct;else if(e.isConnected){let t=e.getAttribute(lt);n=t?`[${lt}="${t}"]`:ot(e)}n&&(r[n]=t)}};document.addEventListener(`scroll`,a,!0),e.subscribe(`onBeforeLoad`,e=>{o(e.fromLocation?r(e.fromLocation):void 0),i.clear()}),window.addEventListener(`pagehide`,()=>{o(r(e.stores.resolvedLocation.get()??e.stores.location.get())),n.persist()}),e.subscribe(`onRendered`,t=>{let a=r(t.toLocation),o=e.options.scrollRestorationBehavior,s=e.options.scrollToTopSelectors;if(i.clear(),!e.resetNextScroll){e.resetNextScroll=!0;return}
10if(!(typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))){st=!0;try{let t=e.isScrollRestoring?n.state[a]:void 0,r=!1;if(t)for(let e in t){let n=t[e];if(!L(n))continue;let{scrollX:i,scrollY:a}=n;if(!(!Number.isFinite(i)||!Number.isFinite(a))){if(e===ct)window.scrollTo({top:a,left:i,behavior:o}),r=!0;else if(e){let t;try{t=document.querySelector(e)}catch{continue}t&&(t.scrollLeft=i,t.scrollTop=a,r=!0)}}}if(!r){let t=e.history.location.hash.slice(1);if(t){let e=window.history.state?.__hashScrollIntoViewOptions??!0;if(e){let n=document.getElementById(t);n&&n.scrollIntoView(e)}}else{let e={top:0,left:0,behavior:o};if(window.scrollTo(e),s)for(let t of s){if(t===ct)continue;let n=typeof t==`function`?t():document.querySelector(t);n&&n.scrollTo(e)}}}}finally{st=!1}e.isScrollRestoring&&n.set(e=>(e[a]||={},e))}})}function dt(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function ft(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function pt(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=ft(r):Array.isArray(t)?t.push(ft(r)):n[e]=[t,ft(r)]}return n}var mt=gt(JSON.parse),ht=_t(JSON.stringify,JSON.parse);function gt(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=pt(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function _t(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=dt(e,r);return t?`?${t}`:``}}var vt=`__root__`;function yt(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href==`string`)try{new URL(e.href),e.reloadDocument=!0}catch{}let t=new Headers(e.headers);e.href&&t.get(`Location`)===null&&t.set(`Location`,e.href);let n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function bt(e){return e instanceof Response&&!!e.options}function xt(e){if(typeof e==`object`&&e&&e.isSerializedRedirect)return yt(e)}function St(e){return{input:({url:t})=>{for(let n of e)t=wt(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=Tt(e[n],t);return t}}}function Ct(e){let t=Ke(e.basepath),n=`/${t}`,r=`${n}/`,i=e.caseSensitive?n:n.toLowerCase(),a=e.caseSensitive?r:r.toLowerCase();return{input:({url:t})=>{let r=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return r===i?t.pathname=`/`:r.startsWith(a)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=He([`/`,t,e.pathname]),e)}}function wt(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Tt(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Et(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i,init:a}=t,o=new Map,s=new Map,c=new Map,l=n(e.status),u=n(e.loadedAt),d=n(e.isLoading),f=n(e.isTransitioning),p=n(e.location),m=n(e.resolvedLocation),h=n(e.statusCode),g=n(e.redirect),_=n([]),v=n([]),y=n([]),b=r(()=>Dt(o,_.get())),x=r(()=>Dt(s,v.get())),S=r(()=>Dt(c,y.get())),C=r(()=>_.get()[0]),w=r(()=>_.get().some(e=>o.get(e)?.get().status===`pending`)),E=r(()=>({locationHref:p.get().href,resolvedLocationHref:m.get()?.href,status:l.get()})),D=r(()=>({status:l.get(),loadedAt:u.get(),isLoading:d.get(),isTransitioning:f.get(),matches:b.get(),location:p.get(),resolvedLocation:m.get(),statusCode:h.get(),redirect:g.get()})),O=_e(64);function k(e){let t=O.get(e);return t||(t=r(()=>{let t=_.get();for(let n of t){let t=o.get(n);if(t&&t.routeId===e)return t.get()}}),O.set(e,t)),t}let A={status:l,loadedAt:u,isLoading:d,isTransitioning:f,location:p,resolvedLocation:m,statusCode:h,redirect:g,matchesId:_,pendingIds:v,cachedIds:y,matches:b,pendingMatches:x,cachedMatches:S,firstId:C,hasPending:w,matchRouteDeps:E,matchStores:o,pendingMatchStores:s,cachedMatchStores:c,__store:D,getRouteMatchStore:k,setMatches:j,setPending:M,setCached:N};j(e.matches),a?.(A);function j(e){Ot(e,o,_,n,i)}function M(e){Ot(e,s,v,n,i)}function N(e){Ot(e,c,y,n,i)}return A}function Dt(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function Ot(e,t,n,r,i){let a=e.map(e=>
10e.id),o=new Set(a);i(()=>{for(let e of t.keys())o.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}he(n.get(),a)||n.set(a)})}var kt=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},At=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),jt=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),Mt=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},Nt=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},Pt=(e,t,n)=>{if(!(!bt(n)&&!et(n)))throw bt(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:bt(n)?`redirected`:et(n)?`notFound`:r.status===`pending`?`success`:r.status,context:Mt(e,t.index),isFetching:!1,error:n})),et(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),bt(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},Ft=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},It=(e,t,n)=>{let r=Mt(e,n);e.updateMatch(t,e=>({...e,context:r}))},Lt=(e,t,n,r)=>{let{id:i,routeId:a}=e.matches[t],o=e.router.looseRoutesById[a];if(n instanceof Promise)throw n;n.routerCode=r,e.firstBadMatchIndex??=t,Pt(e,e.router.getMatch(i),n);try{o.options.onError?.(n)}catch(t){n=t,Pt(e,e.router.getMatch(i),n)}e.updateMatch(i,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!bt(n)&&!et(n)&&(e.serialError??=n)},Rt=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!jt(e,t)&&(n.options.loader||n.options.beforeLoad||Yt(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{kt(e)},i);r._nonReactive.pendingTimeout=t}},zt=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;Rt(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&Pt(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},Bt=(e,t,n,r)=>{let i=e.router.getMatch(t),a=i._nonReactive.loadPromise;i._nonReactive.loadPromise=ie(()=>{a?.resolve(),a=void 0});let{paramsError:o,searchError:s}=i;o&&Lt(e,n,o,`PARSE_PARAMS`),s&&Lt(e,n,s,`VALIDATE_SEARCH`),Rt(e,t,r,i);let c=new AbortController,l=!1,u=()=>{l||(l=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:c})))},d=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{u(),d()});return}i._nonReactive.beforeLoadPromise=ie();let f={...Mt(e,n,!1),...i.__routeContext},{search:p,params:m,cause:h}=i,g=jt(e,t),_={search:p,abortController:c,params:m,preload:g,context:f,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:g?`preload`:h,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},v=r=>{if(r===void 0){e.router.batch(()=>{u(),d()});return}(bt(r)||et(r))&&(u(),Lt(e,n,r,`BEFORE_LOAD`)),e.router.batch(()=>{u(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),d()})},y;try{if(y=r.options.beforeLoad(_),R(y))return u(),y.catch(t=>{Lt(e,n,t,`BEFORE_LOAD`)}).then(v)}catch(t){u(),Lt(e,n,t,`BEFORE_LOAD`)}v(y)},Vt=(e,t)=>
10{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>Bt(e,n,t,i),s=()=>{if(Ft(e,n))return;let t=zt(e,n,i);return R(t)?t.then(o):o()};return a()},Ht=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},Ut=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=Mt(e,r),d=jt(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},Wt=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{Jt(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,c=s?.(Ut(e,t,n,r,i)),l=!!s&&R(c);if((l||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=l?await c:c;Pt(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let u=a._nonReactive.minPendingPromise;u&&await u,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:Mt(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:Mt(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,et(t)&&await i.options.notFoundComponent?.preload?.(),Pt(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,Pt(e,e.router.getMatch(n),t)}!bt(o)&&!et(o)&&await Jt(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:Mt(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),Pt(e,r,t)}},Gt=async(e,t,n)=>{async function r(r,a,c,l,d){let f=Date.now()-a.updatedAt,p=r?d.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:d.options.staleTime??e.router.options.defaultStaleTime??0,m=d.options.shouldReload,h=typeof m==`function`?m(Ut(e,t,i,n,d)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||c!==void 0&&c!==l.id);o=g===`success`&&(_||(h??v)),r&&d.options.preload===!1||(o&&!e.sync&&u?(s=!0,(async()=>{try{await Wt(e,t,i,n,d);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){bt(t)&&await e.router.navigate(t.options)}})()):g!==`success`||o?await Wt(e,t,i,n,d):It(e,i,n))}let{id:i,routeId:a}=e.matches[n],o=!1,s=!1,c=e.router.looseRoutesById[a],l=c.options.loader,u=((typeof l==`function`?void 0:l?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(Ft(e,i)){if(!e.router.getMatch(i))return e.matches[n];It(e,i,n)}else{let t=e.router.getMatch(i),o=e.router.stores.matchesId.get()[n],s=(o&&e.router.stores.matchStores.get(o)||null)?.routeId===a?o:e.router.stores.matches.get().find(e=>e.routeId===a)?.id,l=jt(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&u)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&Pt(e,n,a),n.status===`pending`&&await r(l,t,s,n,c)}else{let n=l&&!e.router.stores.matchStores.has(i),a=e.router.getMatch(i);a._nonReactive.loaderPromise=ie(),n!==a.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(l,t,s,a,c)}}let d=e.router.getMatch(i);s||(d._nonReactive.loaderPromise?.resolve(),d._nonReactive.loadPromise?.resolve(),d._nonReactive.loadPromise=void 0),clearTimeout(d._nonReactive.pen
10dingTimeout),d._nonReactive.pendingTimeout=void 0,s||(d._nonReactive.loaderPromise=void 0),d._nonReactive.dehydrated=void 0;let f=s?d.isFetching:!1;return f!==d.isFetching||d.invalid!==!1?(e.updateMatch(i,e=>({...e,isFetching:f,invalid:!1})),e.router.getMatch(i)):d};async function Kt(e){let t=e,n=[];At(t.router)&&kt(t);let r;for(let e=0;e<t.matches.length;e++){try{let n=Vt(t,e);R(n)&&await n}catch(e){if(bt(e))throw e;if(et(e))r=e;else if(!t.preload)throw e;break}if(t.serialError||t.firstBadMatchIndex!=null)break}let i=t.firstBadMatchIndex??t.matches.length,a=r&&!t.preload?Nt(t,r):void 0,o=r&&t.preload?0:a===void 0?i:Math.min(a+1,i),s,c;for(let e=0;e<o;e++)n.push(Gt(t,n,e));try{await Promise.all(n)}catch{let e=await Promise.allSettled(n);for(let t of e){if(t.status!==`rejected`)continue;let e=t.reason;if(bt(e))throw e;et(e)?s??=e:c??=e}if(c!==void 0)throw c}let l=s??(r&&!t.preload?r:void 0),u=t.firstBadMatchIndex===void 0?t.matches.length-1:t.firstBadMatchIndex;if(!l&&r&&t.preload)return t.matches;if(l){let e=Nt(t,l);e===void 0&&ge();let n=t.matches[e],r=t.router.looseRoutesById[n.routeId],i=t.router.options?.defaultNotFoundComponent;!r.options.notFoundComponent&&i&&(r.options.notFoundComponent=i),l.routeId=n.routeId;let a=n.routeId===t.router.routeTree.id;t.updateMatch(n.id,e=>({...e,...a?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:l},isFetching:!1})),u=e,await Jt(r,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await Jt(e,[`errorComponent`])}for(let e=0;e<=u;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];try{let e=Ht(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let d=kt(t);if(R(d)&&await d,l)throw l;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function qt(e,t){let n=t.map(t=>e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function Jt(e,t=Xt){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===Xt?(()=>{if(e._componentsPromise===void 0){let t=qt(e,Xt);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():qt(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function Yt(e){for(let t of Xt)if(e.options[t]?.preload)return!0;return!1}var Xt=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`],Zt=`__TSR_index`,Qt=`popstate`,$t=`beforeunload`;function en(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=an(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[Zt];i=tn(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[Zt];i=tn(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[Zt]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function tn(e,t){t||={};let n=on();return{...t,key:n,__TSR_key:n,[Zt]:e}}function nn(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>an(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=on();t.history.replaceState({[Zt]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(C._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),C._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=an(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),C.notify({type:e})},x=async()=>
10{if(f){f=!1;return}let e=c(),n=e.state[Zt]-l.state[Zt],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),C.notify(u);return}}}l=c(),C.notify(u)},S=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},C=en({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener($t,S,{capture:!0}),t.removeEventListener(Qt,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener($t,S,{capture:!0}),t.addEventListener(Qt,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return C._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return C._ignoreSubscribers||b(`REPLACE`),n},C}function rn(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function an(e,t){let n=rn(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=on();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[Zt]:0,key:a,__TSR_key:a}}}function on(){return(Math.random()+1).toString(36).substring(7)}function sn(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function cn(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var ln=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.routeBranchCache=new WeakMap,this.startTransition=e=>e(),this.update=e=>{let t=this.options,n=this.basepath??t?.basepath??`/`,r=this.basepath===void 0,i=t?.rewrite;if(this.options={...t,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=Xe(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=nn()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!==`null`?this.origin=window.origin:this.origin=`http://localhost`),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;this.resolvePathCache=_e(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=Et(fn(this.latestLocation),e),ut(this)}let a=!1,o=this.options.basepath??`/`,s=this.options.rewrite;if(r||n!==o||i!==s){this.basepath=o;let e=[],t=Ke(o);t&&t!==`/`&&e.push(Ct({basepath:o})),s&&e.push(s),this.rewrite=e.length===0?void 0:e.length===1?e[0]:St(e),this.history&&this.updateLatestLocation(),a=!0}a&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<`u`&&`CSS`in window&&typeof window.CSS?.supports==`function`&&(this.isViewTransitionTypesSupported=window.CSS.supports(`selector(:active-view-transition-type(a))`))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=Me(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&De(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>
10{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i,state:a})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:pe(e).path,external:!1,searchStr:o,search:F(t?.search,i),hash:pe(r.slice(1)).path,state:ee(t?.state,a)}}let o=new URL(i,this.origin),s=wt(this.rewrite,o),c=this.options.parseSearch(s.search),l=this.options.stringifySearch(c);return s.search=l,{href:s.href.replace(s.origin,``),publicHref:i,pathname:pe(s.pathname).path,external:!!this.rewrite&&s.origin!==this.origin,searchStr:l,search:F(t?.search,c),hash:pe(s.hash.slice(1)).path,state:ee(t?.state,a)}},r=n(e),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>Ye({base:e,to:t.includes(`//`)?Ue(t):t,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>mn({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{if(this.stores.pendingMatchStores.has(e))return;let t=this.stores.matchStores.get(e)?.get();t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,r=this.matchRoutesLightweight(n);t.from;let i=t.unsafeRelative===`path`?n.pathname:t.from??r.fullPath,a=t.to?`${t.to}`:void 0,o=r.search,s=Object.assign(Object.create(null),r.params),c=a?.charCodeAt(0)===47?`/`:this.resolvePathWithBase(i,`.`),l=a?this.resolvePathWithBase(c,a):c,u=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?s:Object.assign(s,A(t.params,s)),d=this.routesByPath[Ge(l)],f;if(d)f=this.getRouteBranch(d);else if(l.includes(`$`))f=[];else{let e=this.getMatchedRoutes(l);f=e.matchedRoutes,this.options.notFoundRoute&&(!e.foundRoute||e.foundRoute.path!==`/`&&e.routeParams[`**`])&&(f=[...f,this.options.notFoundRoute])}if(f.length&&N(u))for(let e of f){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(u,t(u))}catch{}}let p=e.leaveParams?l:pe(Qe({path:l,params:u,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,m=o;if(e._includeValidateSearch&&this.options.search?.strict){let e={};f.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,pn(t.options.validateSearch,{...e,...m}))}catch{}}),m=e}m=hn({search:m,dest:t,destRoutes:f,_includeValidateSearch:e._includeValidateSearch}),m=F(o,m);let h=this.options.stringifySearch(m),g=t.hash===!0?n.hash:t.hash?A(t.hash,n.hash):void 0,_=g?`#${g}`:``,v=t.state===!0?n.state:t.state?A(t.state,n.state):{};v=ee(n.state,v);let y=`${p}${h}${_}`,b,x,S=!1;if(this.rewrite){let e=new URL(y,this.origin),t=Tt(this.rewrite,e);b=e.href.replace(e.origin,``),t.origin===this.origin?x=t.pathname+t.search+t.hash:(x=t.href,S=!0)}else b=me(y),x=b;return{publicHref:x,href:b,pathname:p,search:m,searchStr:h,state:v,hash:g??``,external:S,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let i=t(n),a=r?t(r):void 0;if(!a){let n=Object.create(null);if(this.options.routeMasks){let o=Oe(i.pathname,this.processedTree);if(o){Object.assign(n,o.rawParams);let{from:i,params:s,...c}=o.route,l=s===!1||s===null?Object.create(null):(s??!0)===!0?n:Object.assign(n,A(s,n));r={from:e.from,...c,params:l},a=t(r)}}}return a&&(i.maskedLocation=a),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];
10e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});let t=re(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},i=Ge(this.latestLocation.href)===Ge(n.href),a=this.commitLocationPromise;if(this.commitLocationPromise=ie(()=>{a?.resolve(),a=void 0}),i&&r())this.load();else{let{maskedLocation:r,hashScrollIntoView:i,...a}=n;r&&(a={...r,state:{...r.state,__tempKey:void 0,__tempLocation:{...a,search:a.searchStr,state:{...a.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(a.unmaskOnReload??this.options.unmaskOnReload??!1)&&(a.state.__tempKey=this.tempLocationKey)),a.state.__hashScrollIntoViewOptions=i??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,this.history[n.replace?`replace`:`push`](a.publicHref,a.state,{ignoreBlocker:t})}return this.resetNextScroll=n.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=an(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=wt(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(le(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.set(`pending`),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(e),this.stores.setCached(t)})},this.load=async e=>{let t,n,r,i=this.stores.resolvedLocation.get()??this.stores.location.get();for(r=new Promise(a=>{this.startTransition(async()=>{try{this.beforeLoad();let t=this.latestLocation,n=cn(t,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...n}),this.emit({type:`onBeforeLoad`,...n}),await Kt({router:this,sync:e?.sync,forceStaleReload:i.href===t.href,matches:this.stores.pendingMatches.get(),location:t,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatches.get(),a=i.length,o=this.stores.matches.get();e=a?o.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStores.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.matchStores.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),a&&(this.stores.setMatches(i),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){bt(e)?(t=e,this.navigate({...t.options,replace:!0,ignoreBlocker:!0})):et(e)&&(n=e);let r=t?t.status:n?404:this.stores.matches.get().some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.set(r),this.stores.redirect.set(t)})}this.latestLoadPromise===r&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),a()})}),this.latestLoadPromise=r,await r;this.latestLoadPromise&&r!==this.latestLoadPromise;)await this.latestLoadPromise;let a;this.hasNotFoundMatch()?a=404:this.stores.matches.get().some(e=>e.status===`error`)&&(a=500),a!==void 0&&this.stores.statusCode.set(a)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(cn(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>
10{let n=this.stores.pendingMatchStores.get(e);if(n){n.set(t);return}let r=this.stores.matchStores.get(e);if(r){r.set(t);return}let i=this.stores.cachedMatchStores.get(e);if(i){let n=t(i.get());n.status===`redirected`?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>this.stores.cachedMatchStores.get(e)?.get()??this.stores.pendingMatchStores.get(e)?.get()??this.stores.matchStores.get(e)?.get(),this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pendingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&le(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCached([]):this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??300*1e3;return t.status===`error`?!0:e-t.updatedAt>=r}})},this.loadRouteChunk=Jt,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatches.get();this.stores.setCached([...e,...a])}try{return n=await Kt({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(bt(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});et(e)||console.error(e);return}},this.matchRoute=(e,t)=>{let n={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if(t?.pending&&this.stores.status.get()!==`pending`)return!1;let i=(t?.pending===void 0?!this.stores.isLoading.get():t.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),a=ke(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!re(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?re(i.search,r.search,{partial:!0})?a.rawParams:!1:a.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??ht,parseSearch:e.parseSearch??mt,protocolAllowlist:e.protocolAllowlist??ce}),typeof document<`u`&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=Fe(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParam
10s:i}=n,{matchedRoutes:a}=n,o=!1;(r?r.path!==`/`&&i[`**`]:Ge(e.pathname))&&(this.options.notFoundRoute?a=[...a,this.options.notFoundRoute]:o=!0);let s=o?_n(this.options.notFoundMode,a):void 0,c=Array(a.length),l=new Map;for(let e of this.stores.matchStores.values())e.routeId&&l.set(e.routeId,e.get());for(let n=0;n<a.length;n++){let r=a[n],o=c[n-1],u,d,f;{let n=o?.search??e.search,i=o?._strictSearch??void 0;try{let e=pn(r.options.validateSearch,{...n})??void 0;u={...n,...e},d={...i,...e},f=void 0}catch(e){let r=e;if(e instanceof un||(r=new un(e.message,{cause:e})),t?.throwOnError)throw r;u=n,d={},f=r}}let p=r.options.loaderDeps?.({search:u})??``,m=p?JSON.stringify(p):``,{interpolatedPath:h,usedParams:g}=Qe({path:r.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),_=r.id+h+m,v=this.getMatch(_),y=l.get(r.id),b=v?._strictParams??g,x;if(!v)try{vn(r,b)}catch(e){if(x=et(e)||bt(e)?e:new dn(e.message,{cause:e}),t?.throwOnError)throw x}Object.assign(i,b);let S=y?`stay`:`enter`,C;if(v)C={...v,cause:S,params:y?.params??i,_strictParams:b,search:F(y?y.search:v.search,u),_strictSearch:d};else{let e=r.options.loader||r.options.beforeLoad||r.lazyFn||Yt(r)?`pending`:`success`;C={id:_,ssr:r.options.ssr,index:n,routeId:r.id,params:y?.params??i,_strictParams:b,pathname:h,updatedAt:Date.now(),search:y?F(y.search,u):u,_strictSearch:d,searchError:void 0,status:e,isFetching:!1,error:void 0,paramsError:x,__routeContext:void 0,_nonReactive:{loadPromise:ie()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:S,loaderDeps:y?ee(y.loaderDeps,p):p,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:r.options.staticData||{},fullPath:r.fullPath}}t?.preload||(C.globalNotFound=s===r.id),C.searchError=f;let w=this.getParentContext(o);C.context={...w,...C.__routeContext,...C.__beforeLoadContext},c[n]=C}for(let t=0;t<c.length;t++){let n=c[t],r=this.looseRoutesById[n.routeId],a=this.getMatch(n.id),o=l.get(n.routeId);if(n.params=o?F(o.params,i):i,!a){let i=c[t-1],a=this.getParentContext(i);if(r.options.context){let t={deps:n.loaderDeps,params:n.params,context:a??{},location:e,navigate:t=>this.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:c,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return c}matchRoutesLightweight(e){let{matchedRoutes:t,routeParams:n}=this.getMatchedRoutes(e.pathname),r=O(t),i={...e.search};for(let e of t)try{Object.assign(i,pn(e.options.validateSearch,i))}catch{}let a=O(this.stores.matchesId.get()),o=a&&this.stores.matchStores.get(a)?.get(),s=o&&o.routeId===r.id&&o.pathname===e.pathname,c;if(s)c=o.params;else{let e=Object.assign(Object.create(null),n);for(let n of t)try{vn(n,e)}catch{}c=e}return{matchedRoutes:t,fullPath:r.fullPath,search:i,params:c}}},un=class extends Error{},dn=class extends Error{};function fn(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function pn(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new un(`Async validation not supported`);if(n.issues)throw new un(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function mn({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=Ge(e),a,o=Ae(i,n,!0);return o&&(a=o.route,Object.assign(r,o.rawParams)),{matchedRoutes:o?.branch||[t.__root__],routeParams:r,foundRoute:a}}function hn({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return gn(n)(e,t,r??!1)}function gn(e){let t={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let n of e)`search`in n.options?n.options.search?.middlewares&&t.middlewares.push(...n.options.search.middlewares):(n.options.preSearchFilters||n.options.postSearchFilters)&&t.middlewares.push(({search:e,next:t})=>{let r=e;
10`preSearchFilters`in n.options&&n.options.preSearchFilters&&(r=n.options.preSearchFilters.reduce((e,t)=>t(e),e));let i=t(r);return`postSearchFilters`in n.options&&n.options.postSearchFilters?n.options.postSearchFilters.reduce((e,t)=>t(e),i):i}),n.options.validateSearch&&t.middlewares.push(({search:e,next:r})=>{let i=r(e);if(!t._includeValidateSearch)return i;try{return{...i,...pn(n.options.validateSearch,i)??void 0}}catch{return i}});t.middlewares.push(({search:e})=>{let n=t.dest;return n.search?n.search===!0?e:A(n.search,e):{}});let n=(e,t,r)=>{if(e>=r.length)return t;let i=r[e];return i({search:t,next:t=>n(e+1,t,r)})};return function(e,r,i){return t.dest=r,t._includeValidateSearch=i,n(0,e,t.middlewares)}}function _n(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return vt}function vn(e,t){let n=e.options.params?.parse??e.options.parseParams;if(n){let e=n(t);if(e===!1)throw Error(`Route params.parse returned false for a matched route`);Object.assign(t,e)}}var yn=Symbol.for(`TSR_DEFERRED_PROMISE`);function bn(e,t){let n=e;return n[yn]?n:(n[yn]={status:`pending`},n.then(e=>{n[yn].status=`success`,n[yn].data=e}).catch(e=>{n[yn].status=`error`,n[yn].error={data:(t?.serializeError??sn)(e),__isServerError:!0}}),n)}var xn=`Error preloading route! âï¸`;function Sn(e,t){if(e)return typeof e==`string`?e:e[t]}function Cn(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function wn(e){if(e.tag!==`link`)return;let t=e.attrs?.rel,n=e.attrs?.href;if(typeof n==`string`&&(typeof t==`string`?t.split(/\s+/):[]).includes(`stylesheet`))return n}function Tn(e,t){let n=wn(t);return!!n&&e?.inlineCss?.styles[n]!==void 0}var En=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=vt:this.parentRoute||ge();let r=n?vt:t?.path;r&&r!==`/`&&(r=We(r));let i=t?.id||r,a=n?vt:He([this.parentRoute.id===`__root__`?``:this.parentRoute.id,i]);r===`__root__`&&(r=`/`),a!==`__root__`&&(a=He([`/`,a]));let o=a===`__root__`?`/`:He([this.parentRoute.fullPath,r]);this._path=r,this._id=a,this._fullPath=o,this._to=Ge(o)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>yt({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},Dn=class extends En{constructor(e){super(e)}};function On(e){if(typeof document<`u`&&document.querySelector){let t=e.stores.location.get(),n=t.state.__hashScrollIntoViewOptions??!0;if(n&&t.hash!==``){let e=document.getElementById(t.hash);e&&e.scrollIntoView(n)}}}var kn=(e=>(e[e.AggregateError=1]=`AggregateError`,e[e.ArrowFunction=2]=`ArrowFunction`,e[e.ErrorPrototypeStack=4]=`ErrorPrototypeStack`,e[e.ObjectAssign=8]=`ObjectAssign`,e[e.BigIntTypedArray=16]=`BigIntTypedArray`,e[e.RegExp=32]=`RegExp`,e))(kn||{}),An=Symbol.asyncIterator,jn=Symbol.hasInstance,Mn=Symbol.isConcatSpreadable,Nn=Symbol.iterator,Pn=Symbol.match,Fn=Symbol.matchAll,In=Symbol.replace,Ln=Symbol.search,Rn=Symbol.species,zn=Symbol.split,Bn=Symbol.toPrimitive,Vn=Symbol.toStringTag,Hn=Symbol.unscopables,Un={[An]:0,[jn]:1,[Mn]:2,[Nn]:3,[Pn]:4,[Fn]:5,[In]:6,[Ln]:7,[Rn]:8,[zn]:9,[Bn]:10,[Vn]:11,[Hn]:12},Wn={0:An,1:jn,2:Mn,3:Nn,4:Pn,5:Fn,6:In,7:Ln,8:Rn,9:zn,10:Bn,11:Vn,12:Hn},z=void 0,Gn={2:!0,3:!1,1:z,0:null,4:-0,5:1/0,6:-1/0,7:NaN},Kn={0:`Error`,1:`EvalError`,2:`RangeError`,3:`ReferenceError`,4:`SyntaxError`,5:`TypeError`,6:`URIError`},qn={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function Jn(e,t,n,r,i,a,o,s,c,l,u,d){return{t:e,i:t,s:n,c:r,m:i,p:a,e:o,a:s,f:c,b:l,o:u,l:d}}function Yn(e){return Jn(2,z,e,z,z,z,z,z,z,z,z,z)}var Xn=Yn(2),Zn=Yn(3),Qn=Yn(1),$n=Yn(0),er=Yn(4),tr=Yn(5),nr=Yn(6),rr=Yn(7);function ir(e){switch(e){case`"`:return`\\"`;case`\\`:return`\\\\`;case` 11`:return`\\n`;case`\r`:return`\\r`;case`\b`:return`\\b`;case` `:return`\\t`;case`\f`:return`\\f`;case`<`:return`\\x3C`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return z}}function ar(e){let t=``,n=0,r;for(let i=0,a=e.length;i<a;i++)r=ir(e[i]),r&&(t+=e.slice(n,i)+r,n=i+1);return n===0?t=e:t+=e.slice(n),t}function or(e){switch(e){case`\\\\`:return`\\`;case`\\"`:return`"`;case`\\n`:return` 12`;case`\\r`:return`\r`;case`\\b`:return`\b`;case`\\t`:return` `;case`\\f`:return`\f`;case`\\x3C`:return`<`;case`\\u2028`:return`\u2028`;case`\\u2029`:return`\u2029`;default:return e}}function sr(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,or)}var cr=`__SEROVAL_REFS__`,lr=new Map,ur=new Map;function dr(e){return lr.has(e)}function fr(e){return ur.has(e)}function pr(e){if(dr(e))return lr.get(e);throw new ti(e)}function mr(e){if(fr(e))return ur.get(e);throw new ni(e)}typeof globalThis<`u`?Object.defineProperty(globalThis,cr,{value:ur,configurable:!0,writable:!1,enumerable:!1}):typeof window<`u`?Object.defineProperty(window,cr,{value:ur,configurable:!0,writable:!1,enumerable:!1}):typeof self<`u`?Object.defineProperty(self,cr,{value:ur,configurable:!0,writable:!1,enumerable:!1}):typeof global<`u`&&Object.defineProperty(global,cr,{value:ur,configurable:!0,writable:!1,enumerable:!1});function hr(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function gr(e){let t=Kn[hr(e)];return e.name===t?e.constructor.name===t?{}:{name:e.constructor.name}:{name:e.name}}function _r(e,t){let n=gr(e),r=Object.getOwnPropertyNames(e);for(let i=0,a=r.length,o;i<a;i++)o=r[i],o!==`name`&&o!==`message`&&(o===`stack`?t&4&&(n||={},n[o]=e[o]):(n||={},n[o]=e[o]));return n}function vr(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:+!Object.isExtensible(e)}function yr(e){switch(e){case 1/0:return tr;case-1/0:return nr}return e===e?Object.is(e,-0)?er:Jn(0,z,e,z,z,z,z,z,z,z,z,z):rr}function br(e){return Jn(1,z,ar(e),z,z,z,z,z,z,z,z,z)}function xr(e){return Jn(3,z,``+e,z,z,z,z,z,z,z,z,z)}function Sr(e){return Jn(4,e,z,z,z,z,z,z,z,z,z,z)}function Cr(e,t){let n=t.valueOf();return Jn(5,e,n===n?t.toISOString():``,z,z,z,z,z,z,z,z,z)}function wr(e,t){return Jn(6,e,z,ar(t.source),t.flags,z,z,z,z,z,z,z)}function Tr(e,t){return Jn(17,e,Un[t],z,z,z,z,z,z,z,z,z)}function Er(e,t){return Jn(18,e,ar(pr(t)),z,z,z,z,z,z,z,z,z)}function Dr(e,t,n){return Jn(25,e,n,ar(t),z,z,z,z,z,z,z,z)}function Or(e,t,n){return Jn(9,e,z,z,z,z,z,n,z,z,vr(t),z)}function kr(e,t){return Jn(21,e,z,z,z,z,z,z,t,z,z,z)}
12function Ar(e,t,n){return Jn(15,e,z,t.constructor.name,z,z,z,z,n,t.byteOffset,z,t.length)}function jr(e,t,n){return Jn(16,e,z,t.constructor.name,z,z,z,z,n,t.byteOffset,z,t.byteLength)}function Mr(e,t,n){return Jn(20,e,z,z,z,z,z,z,n,t.byteOffset,z,t.byteLength)}function Nr(e,t,n){return Jn(13,e,hr(t),z,ar(t.message),n,z,z,z,z,z,z)}function Pr(e,t,n){return Jn(14,e,hr(t),z,ar(t.message),n,z,z,z,z,z,z)}function Fr(e,t){return Jn(7,e,z,z,z,z,z,t,z,z,z,z)}function Ir(e,t){return Jn(28,z,z,z,z,z,z,[e,t],z,z,z,z)}function Lr(e,t){return Jn(30,z,z,z,z,z,z,[e,t],z,z,z,z)}function Rr(e,t,n){return Jn(31,e,z,z,z,z,z,n,t,z,z,z)}function zr(e,t){return Jn(32,e,z,z,z,z,z,z,t,z,z,z)}function Br(e,t){return Jn(33,e,z,z,z,z,z,z,t,z,z,z)}function Vr(e,t){return Jn(34,e,z,z,z,z,z,z,t,z,z,z)}function Hr(e,t,n,r){return Jn(35,e,n,z,z,z,z,t,z,z,z,r)}var{toString:Ur}=Object.prototype,Wr={parsing:1,serialization:2,deserialization:3};function Gr(e){return`Seroval Error (step: ${Wr[e]})`}var Kr=(e,t)=>Gr(e),qr=class extends Error{constructor(e,t){super(Kr(e,t)),this.cause=t}},Jr=class extends qr{constructor(e){super(`parsing`,e)}},Yr=class extends qr{constructor(e){super(`deserialization`,e)}};function Xr(e){return`Seroval Error (specific: ${e})`}var Zr=class extends Error{constructor(e){super(Xr(1)),this.value=e}},Qr=class extends Error{constructor(e){super(Xr(2))}},$r=class extends Error{constructor(e){super(Xr(3))}},ei=class extends Error{constructor(e){super(Xr(4))}},ti=class extends Error{constructor(e){super(Xr(5)),this.value=e}},ni=class extends Error{constructor(e){super(Xr(6))}},ri=class extends Error{constructor(e){super(Xr(7))}},ii=class extends Error{constructor(e){super(Xr(8))}},ai=class extends Error{constructor(e){super(Xr(9))}},oi=class{constructor(e,t){this.value=e,this.replacement=t}},si=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e};si.toString(),((e,t)=>{e.s(t),e.p.s=1,e.p.v=t}).toString(),((e,t)=>{e.f(t),e.p.s=2,e.p.v=t}).toString();var ci=()=>{let e=[],t=[],n=!0,r=!1,i=0,a=(e,n,r)=>{for(r=0;r<i;r++)t[r]&&t[r][n](e)},o=(t,i,a,o)=>{for(i=0,a=e.length;i<a;i++)o=e[i],!n&&i===a-1?t[r?`return`:`throw`](o):t.next(o)},s=(e,r)=>(n&&(r=i++,t[r]=e),o(e),()=>{n&&(t[r]=t[i],t[i--]=void 0)});return{__SEROVAL_STREAM__:!0,on:e=>s(e),next:t=>{n&&(e.push(t),a(t,`next`))},throw:i=>{n&&(e.push(i),a(i,`throw`),n=!1,r=!1,t.length=0)},return:i=>{n&&(e.push(i),a(i,`return`),n=!1,r=!0,t.length=0)}}};ci.toString();var li=e=>t=>()=>{let n=0,r={[e]:()=>r,next:()=>{if(n>t.d)return{done:!0,value:void 0};let e=n++,r=t.v[e];if(e===t.t)throw r;return{done:e===t.d,value:r}}};return r};li.toString();var ui=(e,t)=>n=>()=>{let r=0,i=-1,a=!1,o=[],s=[],c=(e=0,t=s.length)=>{for(;e<t;e++)s[e].s({done:!0,value:void 0})};n.on({next:e=>{let t=s.shift();t&&t.s({done:!1,value:e}),o.push(e)},throw:e=>{let t=s.shift();t&&t.f(e),c(),i=o.length,a=!0,o.push(e)},return:e=>{let t=s.shift();t&&t.s({done:!0,value:e}),c(),i=o.length,o.push(e)}});let l={[e]:()=>l,next:()=>{if(i===-1){let e=r++;if(e>=o.length){let e=t();return s.push(e),e.p}return{done:!1,value:o[e]}}if(r>i)return{done:!0,value:void 0};let e=r++,n=o[e];if(e!==i)return{done:!1,value:n};if(a)throw n;return{done:!0,value:n}}};return l};ui.toString();var di=e=>{let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer};di.toString();function fi(e){return`__SEROVAL_SEQUENCE__`in e}function pi(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function mi(e){let t=[],n=-1,r=-1,i=e[Nn]();for(;;)try{let e=i.next();if(t.push(e.value),e.done){r=t.length-1;break}}catch(e){n=t.length,t.push(e)}return pi(t,n,r)}var hi=li(Nn);function gi(e){return hi(e)}var _i={},vi={},yi={0:{},1:{},2:{},3:{},4:{},5:{}};function bi(e){return`__SEROVAL_STREAM__`in e}function xi(){return ci()}function Si(e){let t=xi(),n=e[An]();async function r(){try{let e=await n.next();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var Ci=ui(An,si);function wi(e){return Ci(e)}async function Ti(e){try{return[1,await e]}catch(e){return[0,e]}}function Ei(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:63^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function Di(e,t){e.marked.add(t)}function Oi(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function ki(e,t){let n=e.refs.get(t);return n==null?{type:0,value:Oi(e,t)}:(Di(e,n),{type:1,value:Sr(n)})}function Ai(e,t){let n=ki(e,t);return n.type===1?n:dr(t)?{type:2,value:Er(n.value,t)}:n}function ji(e,t){let n=Ai(e,t);if(n.type!==0)return n.value;if(t in Un)return Tr(n.value,t);throw new Zr(t)}function Mi(e,t){let n=ki(e,yi[t]);return n.type===1?n.value:Jn(26,n.value,t,z,z,z,z,z,z,z,z,z)}function Ni(e){let t=ki(e,_i);return t.type===1?t.value:Jn(27,t.value,z,z,z,z,z,z,ji(e,Nn),z,z,z)}function Pi(e){let t=ki(e,vi);return t.type===1?t.value:Jn(29,t.value,z,z,z,z,z,[Mi(e,1),ji(e,An)],z,z,z,z)}function Fi(e,t,n,r){return Jn(n?11:10,e,z,z,z,r,z,z,z,z,vr(t),z)}function Ii(e,t,n,r){return Jn(8,t,z,z,z,z,{k:n,v:r},z,Mi(e,0),z,z,z)}function Li(e,t,n){let r=new Uint8Array(n),i=``;for(let e=0,t=r.length;e<t;e++)i+=String.fromCharCode(r[e]);return Jn(19,t,ar(btoa(i)),z,z,z,z,z,Mi(e,5),z,z,z)}function Ri(e,t){return{base:Ei(e,t),child:void 0}}var zi=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return aa(this._p,this.depth,e)}};async function Bi(e,t,n){let r=[];for(let i=0,a=n.length;i<a;i++)i in n?r[i]=await aa(e,t,n[i]):r[i]=0;return r}async function Vi(e,t,n,r){return Or(n,r,await Bi(e,t,r))}async function Hi(e,t,n){let r=Object.entries(n),i=[],a=[];for(let n=0,o=r.length;n<o;n++)i.push(ar(r[n][0])),a.push(await aa(e,t,r[n][1]));return Nn in n&&(i.push(ji(e.base,Nn)),a.push(Ir(Ni(e.base),await aa(e,t,mi(n))))),An in n&&(i.push(ji(e.base,An)),a.push(Lr(Pi(e.base),await aa(e,t,Si(n))))),Vn in n&&(i.push(ji(e.base,Vn)),a.push(br(n[Vn]))),Mn in n&&(i.push(ji(e.base,Mn)),a.push(n[Mn]?Xn:Zn)),{k:i,v:a}}async function Ui(e,t,n,r,i){return Fi(n,r,i,await Hi(e,t,r))}async function Wi(e,t,n,r){return kr(n,await aa(e,t,r.valueOf()))}async function Gi(e,t,n,r){return Ar(n,r,await aa(e,t,r.buffer))}async function Ki(e,t,n,r){return jr(n,r,await aa(e,t,r.buffer))}async function qi(e,t,n,r){return Mr(n,r,await aa(e,t,r.buffer))}async function Ji(e,t,n,r){let i=_r(r,e.base.features);return Nr(n,r,i?await Hi(e,t,i):z)}async function Yi(e,t,n,r){let i=_r(r,e.base.features);return Pr(n,r,i?await Hi(e,t,i):z)}async function Xi(e,t,n,r){let i=[],a=[];
12for(let[n,o]of r.entries())i.push(await aa(e,t,n)),a.push(await aa(e,t,o));return Ii(e.base,n,i,a)}async function Zi(e,t,n,r){let i=[];for(let n of r.keys())i.push(await aa(e,t,n));return Fr(n,i)}async function Qi(e,t,n,r){let i=e.base.plugins;if(i)for(let a=0,o=i.length;a<o;a++){let o=i[a];if(o.parse.async&&o.test(r))return Dr(n,o.tag,await o.parse.async(r,new zi(e,t),{id:n}))}return z}async function $i(e,t,n,r){let[i,a]=await Ti(r);return Jn(12,n,i,z,z,z,z,z,await aa(e,t,a),z,z,z)}function ea(e,t,n,r,i){let a=[],o=n.on({next:n=>{Di(this.base,t),aa(this,e,n).then(e=>{a.push(zr(t,e))},e=>{i(e),o()})},throw:n=>{Di(this.base,t),aa(this,e,n).then(e=>{a.push(Br(t,e)),r(a),o()},e=>{i(e),o()})},return:n=>{Di(this.base,t),aa(this,e,n).then(e=>{a.push(Vr(t,e)),r(a),o()},e=>{i(e),o()})}})}async function ta(e,t,n,r){return Rr(n,Mi(e.base,4),await new Promise(ea.bind(e,t,n,r)))}async function na(e,t,n,r){let i=[];for(let n=0,a=r.v.length;n<a;n++)i[n]=await aa(e,t,r.v[n]);return Hr(n,i,r.t,r.d)}async function ra(e,t,n,r){if(Array.isArray(r))return Vi(e,t,n,r);if(bi(r))return ta(e,t,n,r);if(fi(r))return na(e,t,n,r);let i=r.constructor;if(i===oi)return aa(e,t,r.replacement);let a=await Qi(e,t,n,r);if(a)return a;switch(i){case Object:return Ui(e,t,n,r,!1);case z:return Ui(e,t,n,r,!0);case Date:return Cr(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Ji(e,t,n,r);case Number:case Boolean:case String:case BigInt:return Wi(e,t,n,r);case ArrayBuffer:return Li(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return Gi(e,t,n,r);case DataView:return qi(e,t,n,r);case Map:return Xi(e,t,n,r);case Set:return Zi(e,t,n,r);default:break}if(i===Promise||r instanceof Promise)return $i(e,t,n,r);let o=e.base.features;if(o&32&&i===RegExp)return wr(n,r);if(o&16)switch(i){case BigInt64Array:case BigUint64Array:return Ki(e,t,n,r);default:break}if(o&1&&typeof AggregateError<`u`&&(i===AggregateError||r instanceof AggregateError))return Yi(e,t,n,r);if(r instanceof Error)return Ji(e,t,n,r);if(Nn in r||An in r)return Ui(e,t,n,r,!!i);throw new Zr(r)}async function ia(e,t,n){let r=Ai(e.base,n);if(r.type!==0)return r.value;let i=await Qi(e,t,r.value,n);if(i)return i;throw new Zr(n)}async function aa(e,t,n){switch(typeof n){case`boolean`:return n?Xn:Zn;case`undefined`:return Qn;case`string`:return br(n);case`number`:return yr(n);case`bigint`:return xr(n);case`object`:if(n){let r=Ai(e.base,n);return r.type===0?await ra(e,t+1,r.value,n):r.value}return $n;case`symbol`:return ji(e.base,n);case`function`:return ia(e,t,n);default:throw new Zr(n)}}async function oa(e,t){try{return await aa(e,0,t)}catch(e){throw e instanceof Jr?e:new Jr(e)}}var sa=(e=>(e[e.Vanilla=1]=`Vanilla`,e[e.Cross=2]=`Cross`,e))(sa||{});function ca(e){return e}function la(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&la(e,r.extends))}}function ua(e){if(e){let t=new Set;return la(t,e),[...t]}}function da(e){switch(e){case`Int8Array`:return Int8Array;case`Int16Array`:return Int16Array;case`Int32Array`:return Int32Array;case`Uint8Array`:return Uint8Array;case`Uint16Array`:return Uint16Array;case`Uint32Array`:return Uint32Array;case`Uint8ClampedArray`:return Uint8ClampedArray;case`Float32Array`:return Float32Array;case`Float64Array`:return Float64Array;case`BigInt64Array`:return BigInt64Array;case`BigUint64Array`:return BigUint64Array;default:throw new ri(e)}}var fa=1e6,pa=1e4,ma=2e4;function ha(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var ga=1e3;function _a(e,t){let n=t.refs||new Map;return`types`in n||Object.assign(n,{types:new Map}),{mode:e,plugins:t.plugins,refs:n,features:t.features??63^(t.disabledFeatures||0),depthLimit:t.depthLimit||ga}}function va(e){return{mode:2,base:_a(2,e),child:z}}var ya=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return oo(this._p,this.depth,e)}};function ba(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new ii({t:4,i:t});if(e.refs.has(t))throw Error(`Conflicted ref id: `+t)}
12function xa(e,t,n){return ba(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function Sa(e,t,n){return ba(e.base,t),e.base.refs.set(t,n),n}function Ca(e,t,n){return e.mode===1?xa(e,t,n):Sa(e,t,n)}function wa(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new ii(e)}function Ta(e,t){return Ca(e,t.i,mr(sr(t.s)))}function Ea(e,t,n){let r=n.a,i=r.length,a=Ca(e,n.i,Array(i));for(let n=0,o;n<i;n++)o=r[n],o&&(a[n]=oo(e,t,o));return ha(a,n.o),a}function Da(e){switch(e){case`constructor`:case`__proto__`:case`prototype`:case`__defineGetter__`:case`__defineSetter__`:case`__lookupGetter__`:case`__lookupSetter__`:return!1;default:return!0}}function Oa(e){switch(e){case An:case Mn:case Vn:case Nn:return!0;default:return!1}}function ka(e,t,n){Da(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function Aa(e,t,n,r,i){if(typeof r==`string`)ka(n,sr(r),oo(e,t,i));else{let a=oo(e,t,r);switch(typeof a){case`string`:ka(n,a,oo(e,t,i));break;case`symbol`:Oa(a)&&(n[a]=oo(e,t,i));break;default:throw new ii(r)}}}function ja(e,t,n){e.base.refs.types.set(t,n)}function Ma(e,t,n,r){if(e.base.refs.types.get(n)!==r)throw new ii(t)}function Na(e,t,n,r){let i=n.k;if(i.length>0)for(let a=0,o=n.v,s=i.length;a<s;a++)Aa(e,t,r,i[a],o[a]);return r}function Pa(e,t,n){let r=Ca(e,n.i,n.t===10?{}:Object.create(null));return Na(e,t,n.p,r),ha(r,n.o),r}function Fa(e,t){return Ca(e,t.i,new Date(t.s))}function Ia(e,t){if(e.base.features&32){let n=sr(t.c);if(n.length>ma)throw new ii(t);return Ca(e,t.i,new RegExp(n,t.m))}throw new Qr(t)}function La(e,t,n){let r=Ca(e,n.i,new Set);for(let i=0,a=n.a,o=a.length;i<o;i++)r.add(oo(e,t,a[i]));return r}function Ra(e,t,n){let r=Ca(e,n.i,new Map);for(let i=0,a=n.e.k,o=n.e.v,s=a.length;i<s;i++)r.set(oo(e,t,a[i]),oo(e,t,o[i]));return r}function za(e,t){if(t.s.length>fa)throw new ii(t);return Ca(e,t.i,di(sr(t.s)))}function Ba(e,t,n){let r=da(n.c),i=oo(e,t,n.f),a=n.b??0;if(a<0||a>i.byteLength)throw new ii(n);return Ca(e,n.i,new r(i,a,n.l))}function Va(e,t,n){let r=oo(e,t,n.f),i=n.b??0;if(i<0||i>r.byteLength)throw new ii(n);return Ca(e,n.i,new DataView(r,i,n.l))}function Ha(e,t,n,r){if(n.p){let i=Na(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(i))}return r}function Ua(e,t,n){return Ha(e,t,n,Ca(e,n.i,AggregateError([],sr(n.m))))}function Wa(e,t,n){let r=wa(n,qn,n.s);return Ha(e,t,n,Ca(e,n.i,new r(sr(n.m))))}function Ga(e,t,n){let r=si(),i=Ca(e,n.i,r.p),a=oo(e,t,n.f);return n.s?r.s(a):r.f(a),i}function Ka(e,t,n){return Ca(e,n.i,Object(oo(e,t,n.f)))}function qa(e,t,n){let r=e.base.plugins;if(r){let i=sr(n.c);for(let a=0,o=r.length;a<o;a++){let o=r[a];if(o.tag===i)return Ca(e,n.i,o.deserialize(n.s,new ya(e,t),{id:n.i}))}}throw new $r(n.c)}function Ja(e,t){let n=Ca(e,t.i,Ca(e,t.s,si()).p);return ja(e,t.s,22),n}function Ya(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ma(e,n,n.i,22),r.s(oo(e,t,n.a[1])),z;throw new ei(`Promise`)}function Xa(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ma(e,n,n.i,22),r.f(oo(e,t,n.a[1])),z;throw new ei(`Promise`)}function Za(e,t,n){return oo(e,t,n.a[0]),gi(oo(e,t,n.a[1]))}function Qa(e,t,n){return oo(e,t,n.a[0]),wi(oo(e,t,n.a[1]))}function $a(e,t,n){let r=Ca(e,n.i,xi());ja(e,n.i,31);let i=n.a,a=i.length;if(a)for(let n=0;n<a;n++)oo(e,t,i[n]);return r}function eo(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ma(e,n,n.i,31),r.next(oo(e,t,n.f)),z;throw new ei(`Stream`)}function to(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ma(e,n,n.i,31),r.throw(oo(e,t,n.f)),z;throw new ei(`Stream`)}function no(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ma(e,n,n.i,31),r.return(oo(e,t,n.f)),z;throw new ei(`Stream`)}function ro(e,t,n){return oo(e,t,n.f),z}function io(e,t,n){return oo(e,t,n.a[1]),z}function ao(e,t,n){let r=Ca(e,n.i,pi([],n.s,n.l));for(let i=0,a=n.a.length;i<a;i++)r.v[i]=oo(e,t,n.a[i]);return r}function oo(e,t,n){if(t>e.base.depthLimit)throw new ai(e.base.depthLimit);switch(t+=1,n.t){case 2:return wa(n,Gn,n.s);case 0:return Number(n.s);case 1:return sr(String(n.s));case 3:if(String(n.s).length>pa)throw new ii(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return Ta(e,n);case 9:return Ea(e,t,n);case 10:case 11:return Pa(e,t,n);case 5:return Fa(e,n);
12case 6:return Ia(e,n);case 7:return La(e,t,n);case 8:return Ra(e,t,n);case 19:return za(e,n);case 16:case 15:return Ba(e,t,n);case 20:return Va(e,t,n);case 14:return Ua(e,t,n);case 13:return Wa(e,t,n);case 12:return Ga(e,t,n);case 17:return wa(n,Wn,n.s);case 21:return Ka(e,t,n);case 25:return qa(e,t,n);case 22:return Ja(e,n);case 23:return Ya(e,t,n);case 24:return Xa(e,t,n);case 28:return Za(e,t,n);case 30:return Qa(e,t,n);case 31:return $a(e,t,n);case 32:return eo(e,t,n);case 33:return to(e,t,n);case 34:return no(e,t,n);case 27:return ro(e,t,n);case 29:return io(e,t,n);case 35:return ao(e,t,n);default:throw new Qr(n)}}function so(e,t){try{return oo(e,0,t)}catch(e){throw new Yr(e)}}var co=(()=>T).toString();/=>/.test(co);function lo(e,t){return so(va({plugins:ua(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function uo(e,t={}){let n=Ri(1,{plugins:ua(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await oa(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function fo(e){return e}function po(e){return ca({tag:`$TSR/t/`+e.key,test:e.test,parse:{sync(t,n,r){return{v:n.parse(e.toSerializable(t))}},async async(t,n,r){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,r){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,r){return e.fromSerializable(n.deserialize(t.v))}})}var mo=class{constructor(e,t){this.stream=e,this.hint=t?.hint??`binary`}},B=globalThis.Buffer,ho=!!B&&typeof B.from==`function`;function go(e){if(e.length===0)return``;if(ho)return B.from(e).toString(`base64`);let t=32768,n=[];for(let r=0;r<e.length;r+=t){let i=e.subarray(r,r+t);n.push(String.fromCharCode.apply(null,i))}return btoa(n.join(``))}function _o(e){if(e.length===0)return new Uint8Array;
12if(ho){let t=B.from(e,`base64`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var vo=Object.create(null),yo=Object.create(null),bo=e=>new ReadableStream({start(t){e.on({next(e){try{t.enqueue(_o(e))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),xo=new TextEncoder,So=e=>new ReadableStream({start(t){e.on({next(e){try{typeof e==`string`?t.enqueue(xo.encode(e)):t.enqueue(_o(e.$b64))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),Co=`(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))`,wo=`(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})`;function To(e){let t=xi(),n=e.getReader();return(async()=>{try{for(;;){let{done:e,value:r}=await n.read();if(e){t.return(void 0);break}t.next(go(r))}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}function Eo(e){let t=xi(),n=e.getReader(),r=new TextDecoder(`utf-8`,{fatal:!0});return(async()=>{try{for(;;){let{done:e,value:i}=await n.read();if(e){try{let e=r.decode();e.length>0&&t.next(e)}catch{}t.return(void 0);break}try{let e=r.decode(i,{stream:!0});e.length>0&&t.next(e)}catch{t.next({$b64:go(i)})}}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}var Do=ca({tag:`tss/RawStream`,extends:[ca({tag:`tss/RawStreamFactory`,test(e){return e===vo},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return Co},deserialize(e,t,n){return vo}}),ca({tag:`tss/RawStreamFactoryText`,test(e){return e===yo},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return wo},deserialize(e,t,n){return yo}})],test(e){return e instanceof mo},parse:{sync(e,t,n){let r=e.hint===`text`?yo:vo;return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(xi())}},async async(e,t,n){let r=e.hint===`text`?yo:vo,i=e.hint===`text`?Eo(e.stream):To(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(r),stream:await t.parse(i)}},stream(e,t,n){let r=e.hint===`text`?yo:vo,i=e.hint===`text`?Eo(e.stream):To(e.stream);return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(i)}}},serialize(e,t,n){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t,n){let r=t.deserialize(e.stream);return t.deserialize(e.hint)===`text`?So(r):bo(r)}});function Oo(e){return ca({tag:`tss/RawStream`,test:()=>!1,parse:{},serialize(){throw Error(`RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.`)},deserialize(t,n,r){return e(typeof n?.deserialize==`function`?n.deserialize(t.streamId):t.streamId)}})}var ko=ca({tag:`$TSR/Error`,test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return`new Error(`+t.serialize(e.message)+`)`},deserialize(e,t){return Error(t.deserialize(e.message))}}),Ao={},jo=e=>new ReadableStream({start:t=>{e.on({next:e=>{try{t.enqueue(e)}catch{}},throw:e=>{t.error(e)},return:()=>{try{t.close()}catch{}}})}}),Mo=ca({tag:`seroval-plugins/web/ReadableStreamFactory`,test(e){return e===Ao},parse:{sync(){return Ao},async async(){return await Promise.resolve(Ao)},stream(){return Ao}},serialize(){return jo.toString()},deserialize(){return Ao}});function No(e){let t=xi(),n=e.getReader();async function r(){try{let e=await n.read();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var Po=[ko,Do,ca({tag:`seroval/plugins/web/ReadableStream`,extends:[Mo],test(e){return typeof ReadableStream>`u`?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(Ao),stream:t.parse(xi())}},async async(e,t){return{factory:await t.parse(Ao),stream:await t.parse(No(e))}},stream(e,t){return{factory:t.parse(Ao),stream:t.parse(No(e))}}},serialize(e,t){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t){return jo(t.deserialize(e.stream))}})];function Fo(){return[...(D()?.serializationAdapters)?.map(po)??[],...Po]}var Io=new TextDecoder,Lo=new Uint8Array,Ro=16*1024*1024,zo=32*1024*1024,Bo=1024,Vo=1e5;function Ho(e){let t=new Map,n=new Map,r=new Set,i=!1,a=null,o=0,s,c=new ReadableStream({start(e){s=e},cancel(){i=!0;try{a?.cancel()}catch{}
12t.forEach(e=>{try{e.error(Error(`Framed response cancelled`))}catch{}}),t.clear(),n.clear(),r.clear()}});function l(e){let i=n.get(e);if(i)return i;if(r.has(e))return new ReadableStream({start(e){e.close()}});if(n.size>=Bo)throw Error(`Too many raw streams in framed response (max ${Bo})`);let a=new ReadableStream({start(n){t.set(e,n)},cancel(){r.add(e),t.delete(e),n.delete(e)}});return n.set(e,a),a}function u(e){return l(e),t.get(e)}return(async()=>{let n=e.getReader();a=n;let c=[],l=0;function d(){if(l<9)return null;let e=c[0];if(e.length>=9)return{type:e[0],streamId:(e[1]<<24|e[2]<<16|e[3]<<8|e[4])>>>0,length:(e[5]<<24|e[6]<<16|e[7]<<8|e[8])>>>0};let t=new Uint8Array(9),n=0,r=9;for(let e=0;e<c.length&&r>0;e++){let i=c[e],a=Math.min(i.length,r);t.set(i.subarray(0,a),n),n+=a,r-=a}return{type:t[0],streamId:(t[1]<<24|t[2]<<16|t[3]<<8|t[4])>>>0,length:(t[5]<<24|t[6]<<16|t[7]<<8|t[8])>>>0}}function f(e){if(e===0)return Lo;let t=new Uint8Array(e),n=0,r=e;for(;r>0&&c.length>0;){let e=c[0];if(!e)break;let i=Math.min(e.length,r);t.set(e.subarray(0,i),n),n+=i,r-=i,i===e.length?c.shift():c[0]=e.subarray(i)}return l-=e,t}try{for(;;){let{done:e,value:a}=await n.read();if(i||e)break;if(a){if(l+a.length>zo)throw Error(`Framed response buffer exceeded ${zo} bytes`);for(c.push(a),l+=a.length;;){let e=d();if(!e)break;let{type:n,streamId:i,length:a}=e;if(n!==S.JSON&&n!==S.CHUNK&&n!==S.END&&n!==S.ERROR)throw Error(`Unknown frame type: ${n}`);if(n===S.JSON){if(i!==0)throw Error(`Invalid JSON frame streamId (expected 0)`)}else if(i===0)throw Error(`Invalid raw frame streamId (expected non-zero)`);if(a>Ro)throw Error(`Frame payload too large: ${a} bytes (max ${Ro})`);let c=9+a;if(l<c)break;if(++o>Vo)throw Error(`Too many frames in framed response (max ${Vo})`);f(9);let p=f(a);switch(n){case S.JSON:try{s.enqueue(Io.decode(p))}catch{}break;case S.CHUNK:{let e=u(i);e&&e.enqueue(p);break}case S.END:{let e=u(i);if(r.add(i),e){try{e.close()}catch{}t.delete(i)}break}case S.ERROR:{let e=u(i);if(r.add(i),e){let n=Io.decode(p);e.error(Error(n)),t.delete(i)}break}}}}}if(l!==0)throw Error(`Incomplete frame at end of framed response`);try{s.close()}catch{}t.forEach(e=>{try{e.close()}catch{}}),t.clear()}catch(e){try{s.error(e)}catch{}t.forEach(t=>{try{t.error(e)}catch{}}),t.clear()}finally{try{n.releaseLock()}catch{}a=null}})(),{getOrCreateStream:l,jsonChunks:c}}var Uo=null;async function Wo(e){e.length>0&&await Promise.allSettled(e)}var Go=Object.prototype.hasOwnProperty;function Ko(e){for(let t in e)if(Go.call(e,t))return!0;return!1}async function qo(e,t,n){Uo||=Fo();let r=t[0],i=r.fetch??n,a=r.data instanceof FormData?`formData`:`payload`,o=r.headers?new Headers(r.headers):new Headers;if(o.set(`x-tsr-serverFn`,`true`),a===`payload`&&o.set(`accept`,`${x}, application/x-ndjson, application/json`),r.method===`GET`){if(a===`formData`)throw Error(`FormData is not supported with GET requests`);let t=await Jo(r);if(t!==void 0){let n=dt({payload:t});e.includes(`?`)?e+=`&${n}`:e+=`?${n}`}}let s;if(r.method===`POST`){let e=await Xo(r);e?.contentType&&o.set(`content-type`,e.contentType),s=e?.body}return await Zo(async()=>i(e,{method:r.method,headers:o,signal:r.signal,body:s}))}async function Jo(e){let t=!1,n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&Ko(e.context)&&(t=!0,n.context=e.context),t)return Yo(n)}async function Yo(e){return JSON.stringify(await Promise.resolve(uo(e,{plugins:Uo})))}async function Xo(e){if(e.data instanceof FormData){let t;return e.context&&Ko(e.context)&&(t=await Yo(e.context)),t!==void 0&&e.data.set(y,t),{body:e.data}}let t=await Jo(e);if(t)return{body:t,contentType:`application/json`}}async function Zo(e){let t;try{t=await e()}catch(e){if(e instanceof Response)t=e;else throw console.log(e),e}if(t.headers.get(`x-tss-raw`)===`true`)return t;let n=t.headers.get(`content-type`);if(n||ge(),t.headers.get(`x-tss-serialized`)){let e;if(n.includes(`application/x-tss-framed`)){if(E(n),!t.body)throw Error(`No response body for framed response`);
12let{getOrCreateStream:r,jsonChunks:i}=Ho(t.body),a=[Oo(r),...Uo||[]],o=new Map;e=await Qo({jsonStream:i,onMessage:e=>lo(e,{refs:o,plugins:a}),onError(e,t){console.error(e,t)}})}else if(n.includes(`application/json`)){let n=await t.json(),r=[];try{e=lo(n,{plugins:Uo})}finally{}await Wo(r)}if(e||ge(),e instanceof Error)throw e;return e}if(n.includes(`application/json`)){let e=await t.json(),n=xt(e);if(n)throw n;if(et(e))throw e;return e}if(!t.ok)throw Error(await t.text());return t}async function Qo({jsonStream:e,onMessage:t,onError:n}){let r=e.getReader(),{value:i,done:a}=await r.read();if(a||!i)throw Error(`Stream ended before first object`);let o=JSON.parse(i),s=!1,c=(async()=>{try{for(;;){let{value:e,done:i}=await r.read();if(i)break;if(e)try{let n=[];try{t(JSON.parse(e))}finally{}await Wo(n)}catch(t){n?.(`Invalid JSON: ${e}`,t)}}}catch(e){s||n?.(`Stream processing error:`,e)}})(),l,u=[];try{l=t(o)}catch(e){throw s=!0,r.cancel().catch(()=>{}),e}return await Wo(u),Promise.resolve(l).catch(()=>{s=!0,r.cancel().catch(()=>{})}),c.finally(()=>{try{r.releaseLock()}catch{}}),l}function $o(e){let t=`/_serverFn/`+e;return Object.assign((...e)=>{let n=D()?.serverFns?.fetch;return qo(t,e,n??fetch)},{url:t,serverFnMeta:{id:e},[b]:!0})}var es=fo({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!(b in e)?!1:!!e[b],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>$o(e)});function ts(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`)}function ns(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function rs(e){window.$_TSR||ge();let t=e.options.serializationAdapters;if(t?.length){let e=new Map;t.forEach(t=>{e.set(t.key,t.fromSerializable)}),window.$_TSR.t=e,window.$_TSR.buffer.forEach(e=>e())}window.$_TSR.initialized=!0,window.$_TSR.router||ge();let n=window.$_TSR.router;n.matches.forEach(e=>{e.i=ts(e.i)}),n.lastMatchId&&=ts(n.lastMatchId);let{manifest:r,dehydratedData:i,lastMatchId:a}=n;e.ssr={manifest:r};let o=document.querySelector(`meta[property="csp-nonce"]`)?.content;e.options.ssr={nonce:o},await e.options.hydrate?.(i);let s=e.matchRoutes(e.stores.location.get()),c=Promise.all(s.map(t=>e.loadRouteChunk(e.looseRoutesById[t.routeId])));function l(t){let n=e.looseRoutesById[t.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(n){let r=ie();t._nonReactive.minPendingPromise=r,t._forcePending=!0,setTimeout(()=>{r.resolve(),e.updateMatch(t.id,e=>(e._nonReactive.minPendingPromise=void 0,{...e,_forcePending:void 0}))},n)}}function u(t){let n=e.looseRoutesById[t.routeId];n&&(n.options.ssr=t.ssr)}let d;s.forEach(e=>{let t=n.matches.find(t=>t.i===e.id);if(!t){e._nonReactive.dehydrated=!1,e.ssr=!1,u(e);return}ns(e,t),u(e),e._nonReactive.dehydrated=e.ssr!==!1,(e.ssr===`data-only`||e.ssr===!1)&&d===void 0&&(d=e.index,l(e))}),e.stores.setMatches(s);let f=e.stores.matches.get(),p=e.stores.location.get();await Promise.all(f.map(async t=>{try{let n=e.looseRoutesById[t.routeId],r=f[t.index-1]?.context??e.options.context;if(n.options.context){let i={deps:t.loaderDeps,params:t.params,context:r??{},location:p,navigate:t=>e.navigate({...t,_fromLocation:p}),buildLocation:e.buildLocation,cause:t.cause,abortController:t.abortController,preload:!1,matches:s,routeId:n.id};t.__routeContext=n.options.context(i)??void 0}t.context={...r,...t.__routeContext,...t.__beforeLoadContext};let i={ssr:e.options.ssr,matches:f,match:t,params:t.params,loaderData:t.loaderData},a=await n.options.head?.(i),o=await n.options.scripts?.(i);t.meta=a?.meta,t.links=a?.links,t.headScripts=a?.scripts,t.styles=a?.styles,t.scripts=o}catch(e){if(et(e))t.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${t.routeId}`,e);else throw t.error=e,console.error(`Error during hydration for route ${t.routeId}:`,e),e}}));let m=s[s.length-1].id!==a;if(!s.some(e=>e.ssr===!1)&&!m)return s.forEach(e=>{e._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),c;let h=Promise.resolve().then(()=>e.load()).catch(e=>{console.error(`Error during router hydration:`,e)});if(m){let t=s[1];t||ge(),l(t),t._displayPending=!0,t._nonReactive.displayPendingPromise=h,h.then(()=>{e.batch(()=>
12{e.stores.status.get()===`pending`&&(e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(t.id,e=>({...e,_displayPending:void 0,displayPendingPromise:void 0}))})})}return c}var V=u(f(),1),is=V.use,as=typeof window<`u`?V.useLayoutEffect:V.useEffect;function os(e){let t=V.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function ss(e,t,n={},r={}){V.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!=`function`)return;let i=new IntersectionObserver(([e])=>{t(e)},n);return i.observe(e.current),()=>{i.disconnect()}},[t,n,r.disabled,e])}function cs(e){let t=V.useRef(null);return V.useImperativeHandle(e,()=>t.current,[]),t}var ls=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})),us=o(((e,t)=>{t.exports=ls()})),H=us();function ds({promise:e}){if(is)return is(e);let t=bn(e);if(t[yn].status===`pending`)throw t;if(t[yn].status===`error`)throw t[yn].error;return t[yn].data}function fs(e){let t=(0,H.jsx)(ps,{...e});return e.fallback?(0,H.jsx)(V.Suspense,{fallback:e.fallback,children:t}):t}function ps(e){let t=ds(e);return e.children(t)}function ms(e){let t=e.errorComponent??gs;return(0,H.jsx)(hs,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?V.createElement(t,{error:n,reset:r}):e.children})}var hs=class extends V.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function gs({error:e}){let[t,n]=V.useState(!1);return(0,H.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,H.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,H.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,H.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,H.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,H.jsx)(`div`,{children:(0,H.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,H.jsx)(`code`,{children:e.message}):null})}):null]})}function _s({children:e,fallback:t=null}){return vs()?(0,H.jsx)(V.Fragment,{children:e}):(0,H.jsx)(V.Fragment,{children:t})}function vs(){return V.useSyncExternalStore(ys,()=>!0,()=>!1)}function ys(){return()=>{}}var bs=V.createContext(null);function xs(e){return V.useContext(bs)}var Ss=V.createContext(void 0),Cs=V.createContext(void 0),ws=(e=>(e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e))(ws||{});function Ts({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;
12if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function Es(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var Ds=[],Os=0,{link:ks,unlink:As,propagate:js,checkDirty:Ms,shallowPropagate:Ns}=Ts({update(e){return e._update()},notify(e){Ds[Fs++]=e,e.flags&=~ws.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=ws.Mutable|ws.Dirty,zs(e))}}),Ps=0,Fs=0,Is,Ls=0;function Rs(e){try{++Ls,e()}finally{--Ls||Bs()}}function zs(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=As(n,e)}function Bs(){if(!(Ls>0)){for(;Ps<Fs;){let e=Ds[Ps];Ds[Ps++]=void 0,e.notify()}Ps=0,Fs=0}}function Vs(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?ws.None:ws.Mutable,get(){return Is!==void 0&&ks(i,Is,Os),i._snapshot},subscribe(e){let t=Es(e),n={current:!1},r=Hs(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=Is,o=t?.compare??Object.is;if(n)Is=i,++Os,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=ws.Mutable|ws.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{Is=a,n&&(i.flags&=~ws.RecursedCheck),zs(i)}}};return n?(i.flags=ws.Mutable|ws.Dirty,i.get=function(){let e=i.flags;if(e&ws.Dirty||e&ws.Pending&&Ms(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&Ns(e)}}else e&ws.Pending&&(i.flags=e&~ws.Pending);return Is!==void 0&&ks(i,Is,Os),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(js(e),Ns(e),Bs())}},i}function Hs(e){let t=()=>{let t=Is;Is=n,++Os,n.depsTail=void 0,n.flags=ws.Watching|ws.RecursedCheck;try{return e()}finally{Is=t,n.flags&=~ws.RecursedCheck,zs(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:ws.Watching|ws.RecursedCheck,notify(){let e=this.flags;e&ws.Dirty||e&ws.Pending&&Ms(this.deps,this)?t():this.flags=ws.Watching},stop(){this.flags=ws.None,this.depsTail=void 0,zs(this)}};return t(),n}var Us=o((e=>{var t=f();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})),Ws=o(((e,t)=>{t.exports=Us()})),Gs=o((e=>{var t=f(),n=Ws();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}})),Ks=o(((e,t)=>{t.exports=Gs()})),qs=Ks();function Js(e,t){return e===t}function Ys(e,t,n=Js){let r=(0,V.useCallback)(t=>{if(!e)return()=>{};let{unsubscribe:n}=e.subscribe(t);return n},[e]),i=(0,V.useCallback)(()=>e?.get(),[e]);return(0,qs.useSyncExternalStoreWithSelector)(r,i,i,t,n)}var Xs={get:()=>void 0,subscribe:()=>({unsubscribe:()=>{}})};function Zs(e){let t=xs(),n=V.useContext(e.from?Cs:Ss),r=e.from??n,i=r?e.from?t.stores.getRouteMatchStore(r):t.stores.matchStores.get(r):void 0,a=V.useRef(void 0);return Ys(i??Xs,n=>
12{if((e.shouldThrow??!0)&&!n&&ge(),n===void 0)return;let r=e.select?e.select(n):n;if(e.structuralSharing??t.options.defaultStructuralSharing){let e=ee(a.current,r);return a.current=e,e}return r})}function Qs(e){return Zs({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function $s(e){let{select:t,...n}=e;return Zs({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function ec(e){return Zs({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function tc(e){return Zs({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function nc(e){let t=xs();return V.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function rc(e){let t=xs(),n=nc(),r=V.useRef(null);return as(()=>{r.current!==e&&(n(e),r.current=e)},[t,e,n]),null}function ic(e){return Zs({...e,select:t=>e.select?e.select(t.context):t.context})}var ac=u(g(),1);function oc(e,t){let n=xs(),r=cs(t),{activeProps:i,inactiveProps:a,activeOptions:o,to:s,preload:c,preloadDelay:l,preloadIntentProximity:u,hashScrollIntoView:d,replace:f,startTransition:p,resetScroll:m,viewTransition:h,children:g,target:_,disabled:v,style:y,className:b,onClick:x,onBlur:S,onFocus:C,onMouseEnter:w,onMouseLeave:E,onTouchStart:D,ignoreBlocker:O,params:k,search:j,hash:M,state:N,mask:P,reloadDocument:F,unsafeRelative:ee,from:I,_fromLocation:L,...te}=e,ne=vs(),ie=V.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ae=Ys(n.stores.location,e=>e,(e,t)=>e.href===t.href),R=V.useMemo(()=>{let e={_fromLocation:ae,...ie};return n.buildLocation(e)},[n,ae,ie]),oe=R.maskedLocation?R.maskedLocation.publicHref:R.publicHref,se=R.maskedLocation?R.maskedLocation.external:R.external,ce=V.useMemo(()=>hc(oe,se,n.history,v),[v,se,oe,n.history]),ue=V.useMemo(()=>{if(ce?.external)return le(ce.href,n.protocolAllowlist)?void 0:ce.href;if(!gc(s)&&!(typeof s!=`string`||s.indexOf(`:`)===-1))try{return new URL(s),le(s,n.protocolAllowlist)?void 0:s}catch{}},[s,ce,n.protocolAllowlist]),de=V.useMemo(()=>{if(ue)return!1;if(o?.exact){if(!Je(ae.pathname,R.pathname,n.basepath))return!1}else{let e=qe(ae.pathname,n.basepath),t=qe(R.pathname,n.basepath);if(!(e.startsWith(t)&&(e.length===t.length||e[t.length]===`/`)))return!1}return(o?.includeSearch??!0)&&!re(ae.search,R.search,{partial:!o?.exact,ignoreUndefined:!o?.explicitUndefined})?!1:o?.includeHash?ne&&ae.hash===R.hash:!0},[o?.exact,o?.explicitUndefined,o?.includeHash,o?.includeSearch,ae,ue,ne,R.hash,R.pathname,R.search,n.basepath]),fe=de?A(i,{})??cc:sc,pe=de?sc:A(a,{})??sc,me=[b,fe.className,pe.className].filter(Boolean).join(` `),he=(y||fe.style||pe.style)&&{...y,...fe.style,...pe.style},[ge,_e]=V.useState(!1),ve=V.useRef(!1),ye=e.reloadDocument||ue?!1:c??n.options.defaultPreload,be=l??n.options.defaultPreloadDelay??0,xe=V.useCallback(()=>{n.preloadRoute({...ie,_builtLocation:R}).catch(e=>{console.warn(e),console.warn(xn)})},[n,ie,R]);ss(r,V.useCallback(e=>{e?.isIntersecting&&xe()},[xe]),pc,{disabled:!!v||ye!==`viewport`}),V.useEffect(()=>{ve.current||!v&&ye===`render`&&(xe(),ve.current=!0)},[v,xe,ye]);let Se=e=>{let t=e.currentTarget.getAttribute(`target`),r=_===void 0?t:_;if(!v&&!vc(e)&&!e.defaultPrevented&&(!r||r===`_self`)&&e.button===0){e.preventDefault(),(0,ac.flushSync)(()=>{_e(!0)});let t=n.subscribe(`onResolved`,()=>{t(),_e(!1)});n.navigate({...ie,replace:f,resetScroll:m,hashScrollIntoView:d,startTransition:p,viewTransition:h,ignoreBlocker:O})}};if(ue)return{...te,ref:r,href:ue,...g&&{children:g},..._&&{target:_},...v&&{disabled:v},...y&&{style:y},...b&&{className:b},...x&&{onClick:x},...S&&{onBlur:S},...C&&{onFocus:C},...w&&{onMouseEnter:w},...E&&{onMouseLeave:E},...D&&{onTouchStart:D}};let Ce=e=>{if(v||ye!==`intent`)return;if(!be){xe();return}let t=e.currentTarget;if(fc.has(t))return;let n=setTimeout(()=>{fc.delete(t),xe()},be);fc.set(t,n)},we=e=>{v||ye!==`intent`||xe()},Te=e=>{if(v||!ye||!be)return;let t=e.currentTarget,n=fc.get(t);n&&(clearTimeout(n),fc.delete(t))};return{...te,...fe,...pe,href:ce?.href,ref:r,onClick:mc([x,Se]),onBlur:mc([S,Te]),onFocus:mc([C,Ce]),onMouseEnter:mc([w,Ce]),onMouseLeave:mc([E,Te]),onTouchStart:mc([D,we]),disabled:!!v,target:_,...he&&{style:he},...me&&{className:me},...v&&lc,...de&&uc,...ne&&ge&&dc}}var sc={},cc={className:`active`},lc={role:`link`,"aria-disabled":!0},uc={"data-status":`active`,"aria-current":`page`},dc={"data-transitioning":`transitioning`},fc=new WeakMap,pc={rootMargin:`100px`},mc=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}};function hc(e,t,n,r){if(!r)return t?{href:e,external:!0}:{href:n.createHref(e)||`/`,external:!1}}function gc(e){if(typeof e!=`string`)return!1;let t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var _c=V.forwardRef((e,t)=>
12{let{_asChild:n,...r}=e,{type:i,...a}=oc(r,t),o=typeof r.children==`function`?r.children({isActive:a[`data-status`]===`active`}):r.children;if(!n){let{disabled:e,...t}=a;return V.createElement(`a`,t,o)}return V.createElement(n,a,o)});function vc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var yc=class extends En{constructor(e){super(e),this.useMatch=e=>Zs({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>ic({...e,from:this.id}),this.useSearch=e=>tc({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>ec({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>$s({...e,from:this.id}),this.useLoaderData=e=>Qs({...e,from:this.id}),this.useNavigate=()=>nc({from:this.fullPath}),this.Link=V.forwardRef((e,t)=>(0,H.jsx)(_c,{ref:t,from:this.fullPath,...e}))}};function bc(e){return new yc(e)}var xc=class extends Dn{constructor(e){super(e),this.useMatch=e=>Zs({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>ic({...e,from:this.id}),this.useSearch=e=>tc({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>ec({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>$s({...e,from:this.id}),this.useLoaderData=e=>Qs({...e,from:this.id}),this.useNavigate=()=>nc({from:this.fullPath}),this.Link=V.forwardRef((e,t)=>(0,H.jsx)(_c,{ref:t,from:this.fullPath,...e}))}};function Sc(e){return new xc(e)}function U(e){return new Cc(e,{silent:!0}).createRoute}var Cc=class{constructor(e,t){this.path=e,this.createRoute=e=>{let t=bc(e);return t.isRoot=!1,t},this.silent=t?.silent}};function W(e,t){let n,r,i,a,o=()=>(n||=e().then(e=>{n=void 0,r=e[t??`default`]}).catch(e=>{if(i=e,ae(i)&&i instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),a=!0)}}),n),s=function(e){if(a)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r)if(is)is(o());else throw o();return V.createElement(r,e)};return s.preload=o,s}function wc(e){let t=xs(),n=`not-found-${Ys(t.stores.location,e=>e.pathname)}-${Ys(t.stores.status,e=>e)}`;return(0,H.jsx)(ms,{getResetKey:()=>n,onCatch:(t,n)=>{if(et(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(et(t))return e.fallback?.(t);throw t},children:e.children})}function Tc(){return(0,H.jsx)(`p`,{children:`Not Found`})}function Ec(e){return(0,H.jsx)(H.Fragment,{children:e.children})}function Dc(e,t,n){return t.options.notFoundComponent?(0,H.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,H.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,H.jsx)(Tc,{})}var Oc=V.memo(function({matchId:e}){let t=xs(),n=t.stores.matchStores.get(e);n||ge();let r=Ys(t.stores.loadedAt,e=>e),i=Ys(n,e=>e);return(0,H.jsx)(kc,{router:t,matchId:e,resetKey:r,matchState:V.useMemo(()=>{let e=i.routeId,n=t.routesById[e].parentRoute?.id;return{routeId:e,ssr:i.ssr,_displayPending:i._displayPending,parentRouteId:n}},[i._displayPending,i.routeId,i.ssr,t.routesById])})});function kc({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,H.jsx)(a,{}):null,s=i.options.errorComponent??e.options.defaultErrorComponent,c=i.options.onCatch??e.options.defaultOnCatch,l=i.isRoot?i.options.notFoundComponent??e.options.notFoundRoute?.options.component:i.options.notFoundComponent,u=r.ssr===!1||r.ssr===`data-only`,d=(!i.isRoot||i.options.wrapInSuspense||u)&&(i.options.wrapInSuspense??a??(i.options.errorComponent?.preload||u))?V.Suspense:Ec,f=s?ms:Ec,p=l?wc:Ec;return(0,H.jsxs)(i.isRoot?i.options.shellComponent??Ec:Ec,{children:[(0,H.jsx)(Ss.Provider,{value:t,children:(0,H.jsx)(d,{fallback:o,children:(0,H.jsx)(f,{getResetKey:()=>n,errorComponent:s||gs,onCatch:(e,t)=>{if(et(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,H.jsx)(p,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&
12!i.isRoot)throw e;return V.createElement(l,e)},children:u||r._displayPending?(0,H.jsx)(_s,{fallback:o,children:(0,H.jsx)(jc,{matchId:t})}):(0,H.jsx)(jc,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(Ac,{resetKey:n}),(e.options.scrollRestoration,null)]}):null]})}function Ac({resetKey:e}){let t=xs(),n=V.useRef(void 0);return as(()=>{let e=t.latestLocation.href;(n.current===void 0||n.current!==e)&&(t.emit({type:`onRendered`,...cn(t.stores.location.get(),t.stores.resolvedLocation.get())}),n.current=e)},[t.latestLocation.state.__TSR_key,e,t]),null}var jc=V.memo(function({matchId:e}){let t=xs(),n=(e,n)=>t.getMatch(e.id)?._nonReactive[n]??e._nonReactive[n],r=t.stores.matchStores.get(e);r||ge();let i=Ys(r,e=>e),a=i.routeId,o=t.routesById[a],s=V.useMemo(()=>{let e=(t.routesById[a].options.remountDeps??t.options.defaultRemountDeps)?.({routeId:a,loaderDeps:i.loaderDeps,params:i._strictParams,search:i._strictSearch});return e?JSON.stringify(e):void 0},[a,i.loaderDeps,i._strictParams,i._strictSearch,t.options.defaultRemountDeps,t.routesById]),c=V.useMemo(()=>{let e=o.options.component??t.options.defaultComponent;return e?(0,H.jsx)(e,{},s):(0,H.jsx)(Mc,{})},[s,o.options.component,t.options.defaultComponent]);if(i._displayPending)throw n(i,`displayPendingPromise`);if(i._forcePending)throw n(i,`minPendingPromise`);if(i.status===`pending`){let e=o.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){let n=t.getMatch(i.id);if(n&&!n._nonReactive.minPendingPromise){let t=ie();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw n(i,`loadPromise`)}if(i.status===`notFound`)return et(i.error)||ge(),Dc(t,o,i.error);if(i.status===`redirected`)throw bt(i.error)||ge(),n(i,`loadPromise`);if(i.status===`error`)throw i.error;return c}),Mc=V.memo(function(){let e=xs(),t=V.useContext(Ss),n,r=!1,i;{let a=t?e.stores.matchStores.get(t):void 0;[n,r]=Ys(a,e=>[e?.routeId,e?.globalNotFound??!1]),i=Ys(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let a=n?e.routesById[n]:void 0,o=e.options.defaultPendingComponent?(0,H.jsx)(e.options.defaultPendingComponent,{}):null;if(r)return a||ge(),Dc(e,a,void 0);if(!i)return null;let s=(0,H.jsx)(Oc,{matchId:i});return n===`__root__`?(0,H.jsx)(V.Suspense,{fallback:o,children:s}):s});function Nc(){let e=xs(),t=V.useRef({router:e,mounted:!1}),[n,r]=V.useState(!1),i=Ys(e.stores.isLoading,e=>e),a=Ys(e.stores.hasPending,e=>e),o=os(i),s=i||n||a,c=os(s),l=i||a,u=os(l);return e.startTransition=e=>{r(!0),V.startTransition(()=>{e(),r(!1)})},V.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Ge(e.latestLocation.publicHref)!==Ge(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),as(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),as(()=>{o&&!i&&e.emit({type:`onLoad`,...cn(e.stores.location.get(),e.stores.resolvedLocation.get())})},[o,e,i]),as(()=>{u&&!l&&e.emit({type:`onBeforeRouteMount`,...cn(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,u,e]),as(()=>{if(c&&!s){let t=cn(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),Rs(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())}),t.hrefChanged&&On(e)}},[s,c,e]),null}function Pc(){let e=xs(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,H.jsx)(t,{}):null,r=(0,H.jsxs)(typeof document<`u`&&e.ssr?Ec:V.Suspense,{fallback:n,children:[(0,H.jsx)(Nc,{}),(0,H.jsx)(Fc,{})]});return e.options.InnerWrap?(0,H.jsx)(e.options.InnerWrap,{children:r}):r}function Fc(){let e=xs(),t=Ys(e.stores.firstId,e=>e),n=Ys(e.stores.loadedAt,e=>e),r=t?(0,H.jsx)(Oc,{matchId:t}):null;return(0,H.jsx)(Ss.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,H.jsx)(ms,{getResetKey:()=>n,errorComponent:gs,onCatch:void 0,children:r})})}function Ic(e){let t=xs(),n=V.useRef(void 0);
12return Ys(t.stores.matches,r=>{let i=e?.select?e.select(r):r;if(e?.structuralSharing??t.options.defaultStructuralSharing){let e=ee(n.current,i);return n.current=e,e}return i})}var Lc=e=>({createMutableStore:Vs,createReadonlyStore:Vs,batch:Rs}),Rc=e=>new zc(e),zc=class extends ln{constructor(e){super(e,Lc)}};function Bc({router:e,children:t,...n}){N(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,H.jsx)(bs.Provider,{value:e,children:t});return e.options.Wrap?(0,H.jsx)(e.options.Wrap,{children:r}):r}function Vc({router:e,...t}){return(0,H.jsx)(Bc,{router:e,...t,children:(0,H.jsx)(Pc,{})})}function Hc(e){let t=xs({warn:e?.router===void 0}),n=e?.router||t,r=(0,V.useRef)(void 0);return Ys(n.stores.__store,t=>{if(e?.select){if(e.structuralSharing??n.options.defaultStructuralSharing){let n=ee(r.current,e.select(t));return r.current=n,n}return e.select(t)}return t})}function Uc(e){let{attrs:t,children:n,nonce:r}=e;switch(e.tag){case`title`:return(0,H.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,H.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,H.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,H.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,H.jsx)(Wc,{attrs:t,children:n});default:return null}}function Wc({attrs:e,children:t}){xs();let n=vs(),r=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(V.useEffect(()=>{if(!r){if(e?.src){let t=(()=>{try{let t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();if(Array.from(document.querySelectorAll(`script[src]`)).find(e=>e.src===t))return;let n=document.createElement(`script`);
12for(let[t,r]of Object.entries(e))t!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&n.setAttribute(t,typeof r==`boolean`?``:String(r));return document.head.appendChild(n),()=>{n.parentNode&&n.parentNode.removeChild(n)}}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;if(Array.from(document.querySelectorAll(`script:not([src])`)).find(e=>{if(!(e instanceof HTMLScriptElement))return!1;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;return e.textContent===t&&i===n&&a===r}))return;let i=document.createElement(`script`);if(i.textContent=t,e)for(let[t,n]of Object.entries(e))t!==`suppressHydrationWarning`&&n!==void 0&&n!==!1&&i.setAttribute(t,typeof n==`boolean`?``:String(n));return document.head.appendChild(i),()=>{i.parentNode&&i.parentNode.removeChild(i)}}}},[e,t,r]),r&&typeof t==`string`)return(0,H.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!n){if(e?.src)return(0,H.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,H.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var Gc=e=>
12{let t=xs(),n=t.options.ssr?.nonce,r=Ys(t.stores.matches,e=>e.map(e=>e.meta).filter(Boolean),re),i=V.useMemo(()=>{let e=[],t={},i;for(let a=r.length-1;a>=0;a--){let o=r[a];for(let r=o.length-1;r>=0;r--){let a=o[r];if(a)if(a.title)i||={tag:`title`,children:a.title};else if(`script:ld+json`in a)try{let t=JSON.stringify(a[`script:ld+json`]);e.push({tag:`script`,attrs:{type:`application/ld+json`},children:fe(t)})}catch{}else{let r=a.name??a.property;if(r){if(t[r])continue;t[r]=!0}e.push({tag:`meta`,attrs:{...a,nonce:n}})}}}return i&&e.push(i),n&&e.push({tag:`meta`,attrs:{property:`csp-nonce`,content:n}}),e.reverse(),e},[r,n]),a=Ys(t.stores.matches,r=>{let i=r.map(e=>e.links).filter(Boolean).flat(1).map(e=>({tag:`link`,attrs:{...e,nonce:n}})),a=t.ssr?.manifest,o=r.map(e=>a?.routes[e.routeId]?.assets??[]).filter(Boolean).flat(1).flatMap(t=>t.tag===`link`?Tn(a,t)?[]:[{tag:`link`,attrs:{...t.attrs,crossOrigin:Sn(e,`stylesheet`)??t.attrs?.crossOrigin,suppressHydrationWarning:!0,nonce:n}}]:t.tag===`style`?[{tag:`style`,attrs:{...t.attrs,nonce:n},children:t.children,...t.inlineCss?{inlineCss:!0}:{}}]:[]);return[...i,...o]},re),o=Ys(t.stores.matches,r=>{let i=[];return r.map(e=>t.looseRoutesById[e.routeId]).forEach(r=>t.ssr?.manifest?.routes[r.id]?.preloads?.filter(Boolean).forEach(t=>{let r=Cn(t);i.push({tag:`link`,attrs:{rel:`modulepreload`,href:r.href,crossOrigin:Sn(e,`modulepreload`)??r.crossOrigin,nonce:n}})})),i},re),s=Ys(t.stores.matches,e=>e.map(e=>e.styles).flat(1).filter(Boolean).map(({children:e,...t})=>({tag:`style`,attrs:{...t,nonce:n},children:e})),re),c=Ys(t.stores.matches,e=>e.map(e=>e.headScripts).flat(1).filter(Boolean).map(({children:e,...t})=>({tag:`script`,attrs:{...t,nonce:n},children:e})),re);return Kc([...i,...o,...a,...s,...c],e=>JSON.stringify(e))};function Kc(e,t){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function qc(e){let t=Gc(e.assetCrossOrigin),n=xs().options.ssr?.nonce;return(0,H.jsx)(H.Fragment,{children:t.map(e=>(0,V.createElement)(Uc,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var Jc=()=>{let e=xs(),t=e.options.ssr?.nonce,n=n=>{let r=[],i=e.ssr?.manifest;return i?(n.map(t=>e.looseRoutesById[t.routeId]).forEach(e=>i.routes[e.id]?.assets?.filter(e=>e.tag===`script`).forEach(e=>{r.push({tag:`script`,attrs:{...e.attrs,nonce:t},children:e.children})})),r):[]},r=e=>e.map(e=>e.scripts).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`script`,attrs:{...n,suppressHydrationWarning:!0,nonce:t},children:e})),i=Ys(e.stores.matches,n,re);return Yc(e,Ys(e.stores.matches,r,re),i)};function Yc(e,t,n){let r;e.serverSsr&&(r=e.serverSsr.takeBufferedScripts());let i=[...t,...n];return r&&i.unshift(r),(0,H.jsx)(H.Fragment,{children:i.map((e,t)=>(0,V.createElement)(Uc,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})}var Xc=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(){}},Zc=new class extends Xc{#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();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},Qc={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},$c=new class{#e=Qc;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 el(e){setTimeout(e,0)}var tl=typeof window>`u`||`Deno`in globalThis;function nl(){}function rl(e,t){return typeof e==`function`?e(t):e}function il(e){return typeof e==`number`&&e>=0&&e!==1/0}function al(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ol(e,t){return typeof e==`function`?e(t):e}function sl(e,t){return typeof e==`function`?e(t):e}function cl(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==ul(o,t.options))return!1}else if(!fl(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 ll(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(dl(t.options.mutationKey)!==dl(a))return!1}else if(!fl(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ul(e,t){return(t?.queryKeyHashFn||dl)(e)}function dl(e){return JSON.stringify(e,(e,t)=>_l(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function fl(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>
12fl(e[n],t[n])):!1}var pl=Object.prototype.hasOwnProperty;function ml(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=gl(e)&&gl(t);if(!r&&!(_l(e)&&_l(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:pl.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=ml(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function hl(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 gl(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function _l(e){if(!vl(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!vl(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function vl(e){return Object.prototype.toString.call(e)===`[object Object]`}function yl(e){return new Promise(t=>{$c.setTimeout(t,e)})}function bl(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:ml(e,t)}function xl(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Sl(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Cl=Symbol();function wl(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Cl?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Tl(e,t){return typeof e==`function`?e(...t):!!e}function El(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 Dl=(()=>{let e=()=>tl;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ol(){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 kl=el;function Al(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=kl,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{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 jl=Al(),Ml=new class extends Xc{#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 Nl(e){return Math.min(1e3*2**e,3e4)}function Pl(e){return(e??`online`)===`online`?Ml.isOnline():!0}var Fl=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Il(e){let t=!1,n=0,r,i=Ol(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new Fl(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>Zc.isFocused()&&(e.networkMode===`always`||Ml.isOnline())&&e.canRun(),u=()=>Pl(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??(Dl.isServer()?0:3),o=e.retryDelay??Nl,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),yl(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 Ll=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),il(this.gcTime)&&(this.#e=$c.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Dl.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&($c.clearTimeout(this.#e),this.#e=void 0)}};function Rl(e){return{onFetch:(t,n)=>
12{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=>{El(e,()=>t.signal,()=>n=!0)},u=wl(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=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?Sl:xl;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Bl:zl,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:zl(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function zl(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 Bl(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Vl=class extends Ll{#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=Ul(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=Ul(this.options);e.data!==void 0&&(this.setState(G(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=bl(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(nl).catch(nl):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=>sl(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Cl||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>ol(e.options.staleTime,this)===`static`):!1}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:!al(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)}
12)},i=()=>{let e=wl(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`?Rl(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=Il({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Fl&&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 Fl){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,...Hl(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...G(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),jl.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Hl(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pl(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function G(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Ul(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,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Wl=class extends Xc{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=Ol(),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),Kl(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ql(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ql(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 sl(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&&!hl(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&Jl(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||sl(this.options.enabled,this.#t)!==sl(t.enabled,this.#t)||ol(this.options.staleTime,this.#t)!==ol(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||sl(this.options.enabled,this.#t)!==sl(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 Xl(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===`pen
12ding`&&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(nl)),t}#g(){this.#b();let e=ol(this.options.staleTime,this.#t);if(Dl.isServer()||this.#r.isStale||!il(e))return;let t=al(this.#r.dataUpdatedAt,e)+1;this.#d=$c.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,!(Dl.isServer()||sl(this.options.enabled,this.#t)===!1||!il(this.#p)||this.#p===0)&&(this.#f=$c.setInterval(()=>{(this.options.refetchIntervalInBackground||Zc.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&($c.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&($c.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&&Kl(e,t),o=i&&Jl(e,n,t,r);(a||o)&&(l={...l,...Hl(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=bl(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=bl(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,errorUpdateCount: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:Yl(e,t),refetch:this.refetch,promise:this.#o,isEnabled:sl(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=()=>{i(this.#o=x.promise=Ol())},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();break}}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),!hl(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){jl.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function Gl(e,t){return sl(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&sl(t.retryOn
12Mount,e)===!1)}function Kl(e,t){return Gl(e,t)||e.state.data!==void 0&&ql(e,t,t.refetchOnMount)}function ql(e,t,n){if(sl(t.enabled,e)!==!1&&ol(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Yl(e,t)}return!1}function Jl(e,t,n,r){return(e!==t||sl(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Yl(e,n)}function Yl(e,t){return sl(t.enabled,e)!==!1&&e.isStaleByTime(ol(t.staleTime,e))}function Xl(e,t){return!hl(e.getCurrentResult(),t)}var Zl=class extends Ll{#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||Ql(),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=Il({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,isPaused:!1,status:`error`}}};this.state=t(this.state),jl.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Ql(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var $l=class extends Xc{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 Zl({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=eu(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=eu(e);
12if(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=eu(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=eu(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){jl.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=>ll(t,e))}findAll(e={}){return this.getAll().filter(t=>ll(e,t))}notify(e){jl.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return jl.batch(()=>Promise.all(e.map(e=>e.continue().catch(nl))))}};function eu(e){return e.options.scope?.id}var tu=class extends Xc{#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),hl(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&dl(t.mutationKey)!==dl(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??Ql();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){jl.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)})})}},nu=class extends Xc{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??ul(r,t),a=this.get(i);return a||(a=new Vl({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(){jl.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=>cl(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>cl(e,t)):t}notify(e){jl.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){jl.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){jl.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ru=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new nu,this.#t=e.mutationCache||new $l,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Zc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Ml.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(ol(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=rl(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}
12setQueriesData(e,t,n){return jl.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;jl.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return jl.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=jl.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(nl).catch(nl)}invalidateQueries(e,t={}){return jl.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=jl.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(nl)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(nl)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(ol(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(nl).catch(nl)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(nl).catch(nl)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return Ml.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(dl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{fl(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(dl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{fl(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||=ul(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===Cl&&(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()}},iu=V.createContext(void 0),au=e=>{let t=V.useContext(iu);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},ou=({client:e,children:t})=>(V.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,H.jsx)(iu.Provider,{value:e,children:t})),su=V.createContext(!1),cu=()=>V.useContext(su);su.Provider;function lu(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var uu=V.createContext(lu()),du=()=>
12V.useContext(uu),fu=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?Tl(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},pu=e=>{V.useEffect(()=>{e.clearReset()},[e])},mu=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||Tl(n,[e.error,r])),hu=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))}},gu=(e,t)=>e.isLoading&&e.isFetching&&!t,_u=(e,t)=>e?.suspense&&t.isPending,vu=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function yu(e,t,n){let r=cu(),i=du(),a=au(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash);o._optimisticResults=r?`isRestoring`:`optimistic`,hu(o),fu(o,i,s),pu(i);let c=!a.getQueryCache().get(o.queryHash),[l]=V.useState(()=>new t(a,o)),u=l.getOptimisticResult(o),d=!r&&e.subscribed!==!1;if(V.useSyncExternalStore(V.useCallback(e=>{let t=d?l.subscribe(jl.batchCalls(e)):nl;return l.updateResult(),t},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),V.useEffect(()=>{l.setOptions(o)},[o,l]),_u(o,u))throw vu(o,l,i);if(mu({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw u.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,u),o.experimental_prefetchInRender&&!Dl.isServer()&&gu(u,r)&&(c?vu(o,l,i):s?.promise)?.catch(nl).finally(()=>{l.updateResult()}),o.notifyOnChangeProps?u:l.trackResult(u)}function bu(e,t){return yu(e,Wl,t)}function xu(e,t){let n=au(t),[r]=V.useState(()=>new tu(n,e));V.useEffect(()=>{r.setOptions(e)},[r,e]);let i=V.useSyncExternalStore(V.useCallback(e=>r.subscribe(jl.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=V.useCallback((e,t)=>{r.mutate(e,t).catch(nl)},[r]);if(i.error&&Tl(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}function Su(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Cu=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRen
12dering|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|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|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|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,wu=Su(function(e){return Cu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Tu=!1;function Eu(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Du(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Ou=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!Tu:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(Du(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Eu(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 10,009 bytes, line 12
12,t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),ku=`-ms-`,Au=`-moz-`,ju=`-webkit-`,Mu=`comm`,Nu=`rule`,Pu=`decl`,Fu=`@import`,Iu=`@keyframes`,Lu=`@layer`,Ru=Math.abs,zu=String.fromCharCode,Bu=Object.assign;function Vu(e,t){return Ku(e,0)^45?(((t<<2^Ku(e,0))<<2^Ku(e,1))<<2^Ku(e,2))<<2^Ku(e,3):0}function Hu(e){return e.trim()}function Uu(e,t){return(e=t.exec(e))?e[0]:e}function Wu(e,t,n){return e.replace(t,n)}function Gu(e,t){return e.indexOf(t)}function Ku(e,t){return e.charCodeAt(t)|0}function qu(e,t,n){return e.slice(t,n)}function Ju(e){return e.length}function Yu(e){return e.length}function Xu(e,t){return t.push(e),e}function Zu(e,t){return e.map(t).join(``)}var Qu=1,$u=1,ed=0,td=0,nd=0,rd=``;function id(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Qu,column:$u,length:o,return:``}}function ad(e,t){return Bu(id(``,null,null,``,null,null,0),e,{length:-e.length},t)}function od(){return nd}function sd(){return nd=td>0?Ku(rd,--td):0,$u--,nd===10&&($u=1,Qu--),nd}function cd(){return nd=td<ed?Ku(rd,td++):0,$u++,nd===10&&($u=1,Qu++),nd}function ld(){return Ku(rd,td)}function ud(){return td}function dd(e,t){return qu(rd,e,t)}function fd(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function pd(e){return Qu=$u=1,ed=Ju(rd=e),td=0,[]}function md(e){return rd=``,e}function hd(e){return Hu(dd(td-1,vd(e===91?e+2:e===40?e+1:e)))}function gd(e){for(;(nd=ld())&&nd<33;)cd();return fd(e)>2||fd(nd)>3?``:` `}function _d(e,t){for(;--t&&cd()&&!(nd<48||nd>102||nd>57&&nd<65||nd>70&&nd<97););return dd(e,ud()+(t<6&&ld()==32&&cd()==32))}function vd(e){for(;cd();)switch(nd){case e:return td;case 34:case 39:e!==34&&e!==39&&vd(nd);break;case 40:e===41&&vd(e);break;case 92:cd();break}return td}function yd(e,t){for(;cd()&&e+nd!==57&&!(e+nd===84&&ld()===47););return`/*`+dd(t,td-1)+`*`+zu(e===47?e:cd())}function bd(e){for(;!fd(ld());)cd();return dd(e,td)}function xd(e){return md(Sd(``,null,null,null,[``],e=pd(e),0,[0],e))}function Sd(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=cd()){case 40:if(m!=108&&Ku(C,d-1)==58){Gu(C+=Wu(hd(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=hd(v);break;case 9:case 10:case 13:case 32:C+=gd(m);break;case 92:C+=_d(ud()-1,7);continue;case 47:switch(ld()){case 42:case 47:Xu(wd(yd(cd(),ud()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Ju(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Wu(C,/\f/g,``)),p>0&&Ju(C)-d&&Xu(p>32?Td(C+`;`,r,n,d-1):Td(Wu(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Xu(S=Cd(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)Sd(C,t,S,S,b,a,d,s,x);else switch(f===99&&Ku(C,3)===110?100:f){case 100:case 108:case 109:case 115:Sd(e,S,S,r&&Xu(Cd(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Sd(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Ju(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&sd()==125)continue}switch(C+=zu(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Ju(C)-1)*_,_=1;break;case 64:ld()===45&&(C+=hd(cd())),f=ld(),u=d=Ju(y=C+=bd(ud())),v++;break;case 45:m===45&&Ju(C)==2&&(h=0)}}return a}function Cd(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Yu(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=qu(e,d+1,d=Ru(h=o[m])),y=e;_<p;++_)(y=Hu(h>0?f[_]+` `+v:Wu(v,/&\f/g,f[_])))&&(c[g++]=y);return id(e,t,n,i===0?Nu:s,c,l,u)}function wd(e,t,n){return id(e,t,n,Mu,zu(od()),qu(e,2,-2),0)}function Td(e,t,n,r){return id(e,t,n,Pu,qu(e,0,r),qu(e,r+1,-1),r)}function Ed(e,t){for(var n=``,r=Yu(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Dd(e,t,n,r){switch(e.type){case Lu:if(e.children.length)break;case Fu:case Pu:return e.return=e.return||e.value;case Mu:return``;case Iu:return e.return=e.value+`{`+Ed(e.children,r)+`}`;case Nu:e.value=e.props.join(`,`)}return Ju(n=Ed(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Od(e){var t=Yu(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function kd(e){return function(t){t.root||(t=t.return)&&e(t)}}var Ad=function(e,t,n){for(var r=0,i=0;r=i,i=ld(),r===38&&i===12&&(t[n]=1),!fd(i);)cd();return dd(e,td)},jd=function(e,t){var n=-1,r=44;do switch(fd(r)){case 0:r===38&&ld()===12&&(t[n]=1),e[n]+=Ad(td-1,t,n);break;case 2:e[n]+=hd(r);break;case 4:if(r===44){e[++n]=ld()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=zu(r)}while(r=cd());return e},Md=function(e,t){return md(jd(pd(e),t))},Nd=new WeakMap,Pd=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Nd.get(n))&&!r){Nd.set(e,!0);for(var i=[],a=Md(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Fd=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Id(e,t){switch(Vu(e,t)){case 5103:return ju+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ju+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ju+e+Au+e+ku+e+e;case 6828:case 4268:return ju+e+ku+e+e;case 6165:return ju+e+ku+`flex-`+e+e;case 5187:return ju+e+Wu(e,/(\w+).+(:[^]+)/,ju+`box-$1$2`+ku+`flex-$1$2`)+e;case 5443:return ju+e+ku+`flex-item-`+Wu(e,/flex-|-self/,``)+e;case 4675:return ju+e+ku+`flex-line-pack`+Wu(e,/align-content|flex-|-self/,``)+e;case 5548:return ju+e+ku+Wu(e,`shrink`,`negative`)+e;case 5292:return ju+e+ku+Wu(e,`basis`,`preferred-size`)+e;case 6060:return ju+`box-`+Wu(e,`-grow`,``)+ju+e+ku+Wu(e,`grow`,`positive`)+e;case 4554:return ju+Wu(e,/([^-])(transform)/g,`$1`+ju+`$2`)+e;case 6187:return Wu(Wu(Wu(e,/(zoom-|grab)/,ju+`$1`),/(image-set)/,ju+`$1`),e,``)+e;case 5495:case 3959:return Wu(e,/(image-set\([^]*)/,ju+"$1$`$1");case 4968:return Wu(Wu(e,/(.+:)(flex-)?(.*)/,ju+`box-pack:$3`+ku+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+ju+e+e;case 4095:case 3583:case 4068:case 2532:return Wu(e,/(.+)-inline(.+)/,ju+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ju(e)-1-t>6)switch(Ku(e,t+1)){case 109:if(Ku(e,t+4)!==45)break;case 102:return Wu(e,/(.+:)(.+)-([^]+)/,`$1`+ju+`$2-$3$1`+Au+(Ku(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Gu(e,`stretch`)?Id(Wu(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Ku(e,t+1)!==115)break;case 6444:switch(Ku(e,Ju(e)-3-(~Gu(e,`!important`)&&10))){case 107:return Wu(e,`:`,`:`+ju)+e;case 101:return Wu(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+ju+(Ku(e,14)===45?`inline-`:``)+`box$3$1`+ju+`$2$3$1`+ku+`$2box$3`)+e}break;case 5936:switch(Ku(e,t+11)){case 114:return ju+e+ku+Wu(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return ju+e+ku+Wu(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return ju+e+ku+Wu(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return ju+e+ku+e+e}return e}var Ld=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Pu:e.return=Id(e.value,e.length);break;case Iu:return Ed([ad(e,{value:Wu(e.value,`@`,`@`+ju)})],r);case Nu:if(e.length)return Zu(e.props,function(t){switch(Uu(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Ed([ad(e,{props:[Wu(t,/:(read-\w+)/,`:`+Au+`$1`)]})],r);case`::placeholder`:return Ed([ad(e,{props:[Wu(t,/:(plac\w+)/,`:`+ju+`input-$1`)]}),ad(e,{props:[Wu(t,/:(plac\w+)/,`:`+Au+`$1`)]}),ad(e,{props:[Wu(t,/:(plac\w+)/,ku+`input-$1`)]})],r)}return``})}}],Rd=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Ld,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Pd,Fd],l,u=[Dd,kd(function(e){l.insert(e)})],d=Od(c.concat(r,u)),f=function(e){return Ed(xd(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Ou({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},zd=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.
12Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Bd=o(((e,t)=>{t.exports=zd()})),Vd=o(((e,t)=>{var n=Bd(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),Hd=!0;function Ud(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Wd=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||Hd===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Gd=function(e,t,n){Wd(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Kd(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var qd={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jd=!1,Yd=/[A-Z]|^ms/g,Xd=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zd=function(e){return e.charCodeAt(1)===45},Qd=function(e){return e!=null&&typeof e!=`boolean`},$d=Su(function(e){return Zd(e)?e:e.replace(Yd,`-$&`).toLowerCase()}),ef=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Xd,function(e,t,n){return of={name:t,styles:n,next:of},t})}return qd[e]!==1&&!Zd(e)&&typeof t==`number`&&t!==0?t+`px`:t},tf=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function nf(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;
12if(i.anim===1)return of={name:i.name,styles:i.styles,next:of},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)of={name:o.name,styles:o.styles,next:of},o=o.next;return a.styles+`;`}return rf(e,t,n);case`function`:if(e!==void 0){var s=of,c=n(e);return of=s,nf(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function rf(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=nf(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Qd(s)&&(r+=$d(a)+`:`+ef(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Jd)throw Error(tf);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Qd(o[c])&&(r+=$d(a)+`:`+ef(a,o[c])+`;`);else{var l=nf(e,t,o);switch(a){case`animation`:case`animationName`:r+=$d(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var af=/label:\s*([^\s;{]+)\s*(;|$)/g,of;function sf(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;of=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=nf(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=nf(n,t,e[o]),r&&(i+=a[o]);af.lastIndex=0;for(var s=``,c;(c=af.exec(i))!==null;)s+=`-`+c[1];return{name:Kd(i)+s,styles:i,next:of}}var cf=function(e){return e()},lf=V.useInsertionEffect?V.useInsertionEffect:!1,uf=lf||cf,df=lf||V.useLayoutEffect,ff=V.createContext(typeof HTMLElement<`u`?Rd({key:`css`}):null);ff.Provider;var pf=function(e){return(0,V.forwardRef)(function(t,n){return e(t,(0,V.useContext)(ff),n)})},mf=V.createContext({}),hf={}.hasOwnProperty,gf=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,_f=function(e,t){var n={};for(var r in t)hf.call(t,r)&&(n[r]=t[r]);return n[gf]=e,n},vf=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Wd(t,n,r),uf(function(){return Gd(t,n,r)}),null},yf=pf(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[gf],a=[r],o=``;typeof e.className==`string`?o=Ud(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=sf(a,void 0,V.useContext(mf));o+=t.key+`-`+s.name;var c={};for(var l in e)hf.call(e,l)&&l!==`css`&&l!==gf&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),V.createElement(V.Fragment,null,V.createElement(vf,{cache:t,serialized:s,isStringTag:typeof i==`string`}),V.createElement(i,c))});Vd();var bf=function(e,t){var n=arguments;if(t==null||!hf.call(t,`css`))return V.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=yf,i[1]=_f(e,t);for(var a=2;a<r;a++)i[a]=n[a];return V.createElement.apply(null,i)};(function(e){var t;(function(e){})(t||=e.JSX||={})})(bf||={});var xf=pf(function(e,t){var n=e.styles,r=sf([n],void 0,V.useContext(mf)),i=V.useRef();return df(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),df(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&Gd(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function Sf(...e){return function(...t){e.forEach(e=>e?.(...t))}}var Cf=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(` `),wf=/^on[A-Z]/;function Tf(...e){let t={};for(let n of e){for(let e in t){if(wf.test(e)&&typeof t[e]==`function`&&typeof n[e]==`function`){t[e]=Sf(t[e],n[e]);continue}if(e===`className`||e===`class`){t[e]=Cf(t[e],n[e]);continue}if(e===`style`){t[e]=Object.assign({},t[e]??{},n[e]??{});continue}t[e]=n[e]===void 0?t[e]:n[e]}for(let e in n)t[e]===void 0&&(t[e]=n[e])}return t}var Ef=parseInt(`19.2.6`.split(`.`)[0],10)>=19;function Df(e,t){if(e!=null){if(typeof e==`function`)return e(t);try{e.current=t}catch{throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function Of(...e){let t=e.filter(e=>e!=null);if(Ef){let e=new Map;return n=>(t.forEach(t=>{let r=Df(t,n);r&&e.set(t,r)}),()=>{t.forEach(t=>{let n=e.get(t);n&&typeof n==`function`?n():Df(t,null)}),e.clear()})}else return e=>{t.forEach(t=>{Df(t,e)})}}function kf(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}var Af=e=>typeof e==`object`&&!!e&&!Array.isArray(e),jf=e=>/^var\(--.+\)$/.test(e),Mf=e=>typeof e==`string`,Nf=e=>typeof e==`function`,Pf=(...e)=>{let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!Mf(r))continue;let i=r.trim();
12i&&t.push(i)}return t.join(` `)};function Ff(e){return e.default||e}function If(e){let t=`19.2.6`;return!Mf(t)||t.startsWith(`18.`)?e?.ref:e?.props?.ref}var Lf=(...e)=>{let t=e.reduce((e,t)=>(t?.forEach(t=>e.add(t)),e),new Set([]));return Array.from(t)};function Rf(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function zf(e={}){let{name:t,strict:n=!0,hookName:r=`useContext`,providerName:i=`Provider`,errorMessage:a,defaultValue:o}=e,s=(0,V.createContext)(o);s.displayName=t;function c(){let e=(0,V.useContext)(s);if(!e&&n){let e=Error(a??Rf(r,i));throw e.name=`ContextError`,Error.captureStackTrace?.(e,c),e}return e}return[s.Provider,c,s]}var[Bf,Vf]=zf({name:`ChakraContext`,strict:!0,providerName:`<ChakraProvider />`});function Hf(e){let{value:t,children:n}=e;return(0,H.jsxs)(Bf,{value:t,children:[!t._config.disableLayers&&(0,H.jsx)(xf,{styles:t.layers.atRule}),(0,H.jsx)(xf,{styles:t._global}),n]})}var Uf=(e,t)=>{let n={},r={},i=Object.keys(e);for(let a of i)t(a)?r[a]=e[a]:n[a]=e[a];return[r,n]},Wf=(e,t)=>Uf(e,Nf(t)?t:e=>t.includes(e)),Gf=new Set([`htmlWidth`,`htmlHeight`,`htmlSize`,`htmlTranslate`]);function Kf(e){return typeof e==`string`&&Gf.has(e)}function qf(e,t,n){let{css:r,isValidProperty:i}=Vf(),{children:a,...o}=e,s=(0,V.useMemo)(()=>{let[e,r]=Wf(o,e=>n(e,t.variantKeys)),[a,s]=Wf(r,t.variantKeys),[c,l]=Wf(s,i);return{forwardedProps:e,variantProps:a,styleProps:c,elementProps:l}},[t.variantKeys,n,o,i]),{css:c,...l}=s.styleProps,u=(0,V.useMemo)(()=>{let e={...s.variantProps},n=t.variantKeys.includes(`colorPalette`),r=t.variantKeys.includes(`orientation`);return n||(e.colorPalette=o.colorPalette),r||(e.orientation=o.orientation),t(e)},[t,s.variantProps,o.colorPalette,o.orientation]);return{styles:(0,V.useMemo)(()=>r(u,...Jf(c),l),[r,u,c,l]),props:{...s.forwardedProps,...s.elementProps,children:a}}}var Jf=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),Yf=Ff(wu),Xf=e=>e!==`theme`,Zf=(e,t,n)=>{let r;if(t){let n=t.shouldForwardProp;r=e.__emotion_forwardProp&&n?t=>e.__emotion_forwardProp(t)&&n(t):n}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Qf=typeof document<`u`,$f=({cache:e,serialized:t,isStringTag:n})=>{Wd(e,t,n);let r=uf(()=>Gd(e,t,n));if(!Qf&&r!==void 0){let n=t.name,i=t.next;for(;i!==void 0;)n=Pf(n,i.name),i=i.next;return(0,H.jsx)(`style`,{"data-emotion":Pf(e.key,n),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},ep={path:[`d`],text:[`x`,`y`],circle:[`cx`,`cy`,`r`],rect:[`width`,`height`,`x`,`y`,`rx`,`ry`],ellipse:[`cx`,`cy`,`rx`,`ry`],g:[`transform`],stop:[`offset`,`stopOpacity`]},tp=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),np=((e,t={},n={})=>{if(tp(ep,e)){n.forwardProps||=[];let t=ep[e];n.forwardProps=Lf([...n.forwardProps,...t])}let r=e.__emotion_real===e,i=r&&e.__emotion_base||e,a,o;n!==void 0&&(a=n.label,o=n.target);let s=[],c=pf((a,c,l)=>{let{cva:u,isValidProperty:d}=Vf(),f=t.__cva__?t:u(t),p=ap(e.__emotion_cva,f);!n.shouldForwardProp&&n.forwardProps&&(n.shouldForwardProp=(e=>(t,n)=>e.includes(t)?!0:!n?.includes(t)&&!d(t))(n.forwardProps));let m=Zf(e,n,r)||((t,n)=>{let r=typeof e==`string`&&e.charCodeAt(0)>96?Yf:Xf,i=!n?.includes(t)&&!d(t);return r(t)&&i}),{props:h,styles:g}=qf(V.useMemo(()=>Object.assign({},n.defaultProps,kf(a)),[a]),p,m),_=``,v=[g],y=h;if(h.theme==null){y={};for(let e in h)y[e]=h[e];y.theme=V.useContext(mf)}typeof h.className==`string`?_=Ud(c.registered,v,h.className):h.className!=null&&(_=Pf(_,h.className));let b=sf(s.concat(v),c.registered,y);b.styles&&(_=Pf(_,`${c.key}-${b.name}`)),o!==void 0&&(_=Pf(_,o));let x=!m(`as`),S=x&&h.as||i,C={};for(let e in h)if(!(x&&e===`as`)){if(Kf(e)){let t=e.replace(`html`,``).toLowerCase();C[t]=h[e];continue}m(e)&&(C[e]=h[e])}let w=_.trim();w?C.className=w:Reflect.deleteProperty(C,`className`),C.ref=l;let E=n.forwardAsChild||n.forwardProps?.includes(`asChild`);if(h.asChild&&!E){let e=V.isValidElement(h.children)?V.Children.only(h.children):V.Children.toArray(h.children).find(V.isValidElement);if(!e)throw Error(`[chakra-ui > factory] No valid child found`);S=e.type,C.children=null,Reflect.deleteProperty(C,`asChild`),C=Tf(C,e.props),C.ref=Of(l,If(e))}return C.as&&E?(C.as=void 0,(0,H.jsxs)(V.Fragment,{children:[(0,H.jsx)($f,{cache:c,serialized:b,isStringTag:typeof S==`string`}),(0,H.jsx)(S,{asChild:!0,...C,children:(0,H.jsx)(h.as,{children:C.children})})]})):(0,H.jsxs)(V.Fragment,{children:[(0,H.jsx)($f,{cache:c,serialized:b,isStringTag:typeof S==`string`}),(0,H.jsx)(S,{...C})]})});return c.displayName=a===void 0?`chakra(${typeof i==`string`?i:i.displayName||i.name||`Component`})`:a,c.__emotion_real=c,c.__emotion_base=i,c.__emotion_forwardProp=n.shouldForwardProp,c.__emotion_cva=t,Object.defineProperty(c,`toString`,{value(
12){return`.${o}`}}),c}).bind(),rp=new Map,ip=new Proxy(np,{apply(e,t,n){return np(...n)},get(e,t){return rp.has(t)||rp.set(t,np(t)),rp.get(t)}}),ap=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t),op=ip(`div`);op.displayName=`Box`;var sp=(0,V.forwardRef)(function(e,t){let{size:n,...r}=e;return(0,H.jsx)(op,{...r,ref:t,boxSize:n,css:{display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0,flexGrow:0,...e.css}})});sp.displayName=`Square`;var cp=(0,V.forwardRef)(function(e,t){let{size:n,...r}=e;return(0,H.jsx)(sp,{size:n,ref:t,borderRadius:`9999px`,...r})});cp.displayName=`Circle`;function lp(e){if(typeof e!=`string`)return e.displayName||e.name}function up(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}function dp(e,t){return e+up(t)}function fp(e,t){if(t)return e+up(t)}var pp=Object.freeze({}),mp=Object.freeze({});function hp(e){let{key:t,recipe:n}=e,r=Vf();return(0,V.useMemo)(()=>{let e=n||(t==null?{}:r.getRecipe(t));return r.cva(structuredClone(e))},[t,n,r])}function gp(e){let{key:t,recipe:n}=e,r=up(t||n.className||`Component`),[i,a]=zf({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function o(e){let{unstyled:r,...i}=e,a=hp({key:t,recipe:i.recipe||n}),[o,s]=(0,V.useMemo)(()=>a.splitVariantProps(i),[a,i]);return{styles:r?pp:a(o),className:a.className,props:s}}let s=(e,t)=>{let{displayName:n,...i}=t??{},s=ip(e,{},i),c=(0,V.forwardRef)((e,t)=>{let n=a(),r=(0,V.useMemo)(()=>Tf(n,e),[e,n]),{styles:i,className:c,props:l}=o(r);return(0,H.jsx)(s,{...l,ref:t,css:[i,r.css],className:Pf(c,r.className)})});return c.displayName=n??r??lp(e),c};function c(){return i}return{withContext:s,PropsProvider:i,withPropsProvider:c,usePropsContext:a,useRecipeResult:o}}var _p=Object.defineProperty,vp=e=>{throw TypeError(e)},yp=(e,t,n)=>t in e?_p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bp=(e,t,n)=>yp(e,typeof t==`symbol`?t:t+``,n),xp=(e,t,n)=>t.has(e)||vp(`Cannot `+n),Sp=(e,t,n)=>(xp(e,t,`read from private field`),n?n.call(e):t.get(e)),Cp=(e,t,n)=>t.has(e)?vp(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n);function wp(e){return e==null?[]:Array.isArray(e)?e:[e]}var Tp=e=>e[0],Ep=e=>e[e.length-1],Dp=(e,t)=>e.indexOf(t)!==-1,Op=(e,...t)=>e.concat(t),kp=(e,...t)=>e.filter(e=>!t.includes(e)),Ap=e=>Array.from(new Set(e)),jp=(e,t)=>Dp(e,t)?kp(e,t):Op(e,t);function Mp(e,t,n={}){let{step:r=1,loop:i=!0}=n,a=t+r,o=e.length,s=o-1;return t===-1?r>0?0:s:a<0?i?s:0:a>=o?i?0:t>o?o:t:a}function Np(e,t,n={}){return e[Mp(e,t,n)]}function Pp(e,t,n={}){let{step:r=1,loop:i=!0}=n;return Mp(e,t,{step:-r,loop:i})}function Fp(e,t,n={}){return e[Pp(e,t,n)]}function Ip(e,t){return e.reduce((e,n,r)=>(r%t===0?e.push([n]):Ep(e)?.push(n),e),[])}function Lp(e){return e.reduce((e,t)=>Array.isArray(t)?e.concat(Lp(t)):e.concat(t),[])}var Rp=e=>Array.isArray(e),zp=e=>typeof e==`object`&&!!e,Bp=e=>zp(e)&&!Rp(e),Vp=e=>typeof e==`number`&&!Number.isNaN(e),Hp=e=>typeof e==`string`,Up=e=>typeof e==`function`,Wp=e=>e==null,Gp=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Kp=e=>Object.prototype.toString.call(e),qp=Function.prototype.toString,Jp=qp.call(Object),Yp=e=>{if(!zp(e)||Kp(e)!=`[object Object]`||Qp(e))return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let n=Gp(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&qp.call(n)==Jp},Xp=e=>typeof e==`object`&&!!e&&`$$typeof`in e&&`props`in e,Zp=e=>typeof e==`object`&&!!e&&`__v_isVNode`in e,Qp=e=>Xp(e)||Zp(e),$p=(e,...t)=>(typeof e==`function`?e(...t):e)??void 0,em=e=>e,tm=e=>e(),nm=()=>{},rm=(...e)=>(...t)=>{e.forEach(function(e){e?.(...t)})},im=(()=>{let e=0;return()=>(e++,e.toString(36))})();function am(e,t,...n){if(e in t){let r=t[e];return Up(r)?r(...n):r}let r=Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw Error.captureStackTrace?.(r,am),r}var om=e=>String.fromCharCode(e+(e>25?39:97));function sm(e){let t=``,n;for(n=Math.abs(e);n>52;n=n/52|0)t=om(n%52)+t;return om(n%52)+t}function cm(e,t){let n=t.length;for(;n;)e=e*33^t.charCodeAt(--n);return e}var lm=e=>sm(cm(5381,e)>>>0);function um(e){if(!Yp(e)||e===void 0)return e;let t=Reflect.ownKeys(e).filter(e=>typeof e==`string`),n={};for(let r of t){let t=e[r];t!==void 0&&(n[r]=um(t))}return n}function dm(e,t=Object.is){let n={...e},r=new Set,i=e=>(r.add(e),()=>r.delete(e)),a=()=>
12{r.forEach(e=>e())};return{subscribe:i,get:e=>n[e],set:(e,r)=>{t(n[e],r)||(n[e]=r,a())},update:e=>{let r=!1;for(let i in e){let a=e[i];a!==void 0&&!t(n[i],a)&&(n[i]=a,r=!0)}r&&a()},snapshot:()=>({...n})}}var fm=()=>performance.now(),pm,mm=class{constructor(e){bp(this,`onTick`,e),bp(this,`frameId`,null),bp(this,`pausedAtMs`,null),bp(this,`context`),bp(this,`cancelFrame`,()=>{this.frameId!==null&&(cancelAnimationFrame(this.frameId),this.frameId=null)}),bp(this,`setStartMs`,e=>{this.context.startMs=e}),bp(this,`start`,()=>{if(this.frameId!==null)return;let e=fm();this.pausedAtMs===null?this.context.startMs=e:(this.context.startMs+=e-this.pausedAtMs,this.pausedAtMs=null),this.frameId=requestAnimationFrame(Sp(this,pm))}),bp(this,`pause`,()=>{this.frameId!==null&&(this.cancelFrame(),this.pausedAtMs=fm())}),bp(this,`stop`,()=>{this.frameId!==null&&(this.cancelFrame(),this.pausedAtMs=null)}),Cp(this,pm,e=>{if(this.context.now=e,this.context.deltaMs=e-this.context.startMs,this.onTick(this.context)===!1){this.stop();return}this.frameId=requestAnimationFrame(Sp(this,pm))}),this.context={now:0,startMs:fm(),deltaMs:0}}get elapsedMs(){return this.pausedAtMs===null?fm()-this.context.startMs:this.pausedAtMs-this.context.startMs}};pm=new WeakMap;function hm(e,t){let n=new mm(({deltaMs:n})=>{if(n>=t)return e(),!1});return n.start(),()=>n.stop()}function gm(...e){e.length===1?e[0]:e[1],e.length===2&&e[0]}function _m(...e){e.length===1?e[0]:e[1],e.length===2&&e[0]}function vm(e,t){if(e==null)throw Error(t())}function ym(e,t,n){let r=[];for(let n of t)e[n]??r.push(n);if(r.length>0)throw Error(`[zag-js${n?` > ${n}`:``}] missing required props: ${r.join(`, `)}`)}function bm(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function xm(e={}){let{name:t,strict:n=!0,hookName:r=`useContext`,providerName:i=`Provider`,errorMessage:a,defaultValue:o}=e,s=(0,V.createContext)(o);s.displayName=t;function c(){let e=(0,V.useContext)(s);if(!e&&n){let e=Error(a??bm(r,i));throw e.name=`ContextError`,Gp(Error,`captureStackTrace`)&&Up(Error.captureStackTrace)&&Error.captureStackTrace(e,c),e}return e}return[s.Provider,c,s]}var[Sm,Cm]=xm({name:`EnvironmentContext`,hookName:`useEnvironmentContext`,providerName:`<EnvironmentProvider />`,strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});function wm(...e){return t=>{let n=[];for(let r of e)if(typeof r==`function`){let e=r(t);typeof e==`function`&&n.push(e)}else r&&(r.current=t);if(n.length)return()=>{for(let e of n)e()}}}var Tm=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(` `),Em=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Dm=e=>{let t={},n;for(;n=Em.exec(e);)t[n[1]]=n[2];return t},Om=(e,t)=>{if(Hp(e)){if(Hp(t))return`${e};${t}`;e=Dm(e)}else Hp(t)&&(t=Dm(t));return Object.assign({},e??{},t??{})};function km(...e){let t={};for(let n of e){if(!n)continue;for(let e in t){if(e.startsWith(`on`)&&typeof t[e]==`function`&&typeof n[e]==`function`){t[e]=rm(n[e],t[e]);continue}if(e===`className`||e===`class`){t[e]=Tm(t[e],n[e]);continue}if(e===`style`){t[e]=Om(t[e],n[e]);continue}t[e]=n[e]===void 0?t[e]:n[e]}for(let e in n)t[e]===void 0&&(t[e]=n[e]);let e=Object.getOwnPropertySymbols(n);for(let r of e)t[r]=n[r]}return t}var Am=`.`,jm=`#`,Mm=new WeakMap,Nm=new WeakMap;function Pm(e){return e.join(Am)}function Fm(e){return e.includes(Am)}function Im(e){return e.startsWith(jm)}function Lm(e){return e.startsWith(Am)}function Rm(e){return Im(e)?e.slice(jm.length):e}function zm(e,t){return e?`${e}${Am}${t}`:t}function Bm(e){let t=new Map,n=new Map,r=(e,i)=>{t.set(e,i);let a=i.id;a&&(n.has(a)&&_m(`[zag-js] Duplicate state id: "${a}"`),n.set(a,e));let o=i.states;if(o){vm(i.initial,()=>`[zag-js] Compound state "${e}" has child states but no "initial" property`),i.initial in o||_m(`[zag-js] Compound state "${e}" has initial "${String(i.initial)}" which is not a child state`);for(let[t,n]of Object.entries(o))n&&r(zm(e,t),n)}};for(let[t,n]of Object.entries(e.states))n&&r(t,n);return{index:t,idIndex:n}}function Vm(e){let t=Mm.get(e);if(t)return t;let{index:n,idIndex:r}=Bm(e);return Mm.set(e,n),Nm.set(e,r),n}function Hm(e,t){return Vm(e),Nm.get(e)?.get(t)}
12function Um(e){return e?String(e).split(Am).filter(Boolean):[]}function Wm(e,t){if(!t)return[];let n=Vm(e),r=Um(t),i=[],a=[];for(let e of r){a.push(e);let t=Pm(a),r=n.get(t);if(!r)break;i.push({path:t,state:r})}return i}function Gm(e,t){let n=Vm(e),r=Um(t);if(!r.length)return t;let i=[];for(let e of r){i.push(e);let r=Pm(i);if(!n.has(r))return t}let a=Pm(i),o=n.get(a);for(;o?.initial;){let e=`${a}${Am}${o.initial}`,t=n.get(e);if(!t)break;a=e,o=t}return a}function Km(e,t){return Vm(e).has(t)}function qm(e,t,n){let r=String(t);if(Im(r)){let t=Rm(r),n=Hm(e,t);return vm(n,()=>`[zag-js] Unknown state id: "${t}"`),Gm(e,n)}if(Lm(r)&&n)return Gm(e,zm(n,r.slice(1)));if(!Fm(r)&&n){let t=Um(n);for(let n=t.length-1;n>=1;n--){let i=zm(t.slice(0,n).join(Am),r);if(Km(e,i))return Gm(e,i)}if(Km(e,r))return Gm(e,r)}return Gm(e,r)}function Jm(e,t,n){let r=Wm(e,t);for(let e=r.length-1;e>=0;e--){let t=r[e]?.state.on?.[n];if(t)return{transitions:t,source:r[e]?.path}}return{transitions:e.on?.[n],source:void 0}}function Ym(e,t,n,r){let i=t?Wm(e,t):[],a=Wm(e,n),o=0;for(;o<i.length&&o<a.length&&i[o]?.path===a[o]?.path;)o+=1;let s=i.slice(o).reverse(),c=a.slice(o),l=i.at(-1)?.path===a.at(-1)?.path;return r&&l&&(s=i.slice().reverse(),c=a),{exiting:s,entering:c}}function Xm(e,t){return e?e===t||e.startsWith(`${t}${Am}`):!1}function Zm(e,t,n){return Wm(e,t).some(e=>e.state.tags?.includes(n))}function Qm(){return{and:(...e)=>function(t){return e.every(e=>t.guard(e))},or:(...e)=>function(t){return e.some(e=>t.guard(e))},not:e=>function(t){return!t.guard(e)}}}function $m(e){return Vm(e),e}function eh(){return{guards:Qm(),createMachine:e=>$m(e),choose:e=>function({choose:t}){return t(e)?.actions}}}var th=(e=>(e.NotStarted=`Not Started`,e.Started=`Started`,e.Stopped=`Stopped`,e))(th||{}),nh=`__init__`,rh=Object.defineProperty,ih=(e,t,n)=>t in e?rh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ah=(e,t,n)=>ih(e,typeof t==`symbol`?t:t+``,n),oh=(e,t)=>e.map((n,r)=>e[(Math.max(t,0)+r)%e.length]),sh=(...e)=>t=>e.reduce((e,t)=>t(e),t),ch=()=>void 0,lh=e=>typeof e==`object`&&!!e,uh=2147483647,dh=e=>e?``:void 0,fh=e=>e?`true`:void 0,ph=1,mh=9,hh=11,gh=e=>lh(e)&&e.nodeType===ph&&typeof e.nodeName==`string`,_h=e=>lh(e)&&e.nodeType===mh,vh=e=>lh(e)&&e===e.window,yh=e=>gh(e)?e.localName||``:`#document`;function bh(e){return[`html`,`body`,`#document`].includes(yh(e))}var xh=e=>lh(e)&&e.nodeType!==void 0,Sh=e=>xh(e)&&e.nodeType===hh&&`host`in e,Ch=e=>gh(e)&&e.localName===`input`,wh=e=>!!e?.matches(`a[href]`),Th=e=>gh(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function Eh(e){return e?Nh(e.getRootNode())===e:!1}var Dh=/(textarea|select)/;function Oh(e){if(e==null||!gh(e))return!1;try{return Ch(e)&&e.selectionStart!=null||Dh.test(e.localName)||e.isContentEditable||e.getAttribute(`contenteditable`)===`true`||e.getAttribute(`contenteditable`)===``}catch{return!1}}function kh(e,t){if(!e||!t||!gh(e)||!xh(t))return!1;if(gh(t)&&e===t||e.contains(t))return!0;let n=t.getRootNode?.();if(n&&Sh(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Ah(e){return _h(e)?e:vh(e)?e.document:e?.ownerDocument??document}function jh(e){return Ah(e).documentElement}function Mh(e){return Sh(e)?Mh(e.host):_h(e)?e.defaultView??window:gh(e)?e.ownerDocument?.defaultView??window:window}function Nh(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(!e||e===t)break;t=e}return t}function Ph(e){if(yh(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Sh(e)&&e.host||jh(e);return Sh(t)?t.host:t}function Fh(e){let t;try{if(t=e.getRootNode({composed:!0}),_h(t)||Sh(t))return t}catch{}return e.ownerDocument??document}var Ih=new WeakMap;function Lh(e){return Ih.has(e)||Ih.set(e,Mh(e).getComputedStyle(e)),Ih.get(e)}var Rh=new Set([`menu`,`listbox`,`dialog`,`grid`,`tree`,`region`]),zh=e=>Rh.has(e),Bh=e=>e.getAttribute(`aria-controls`)?.split(` `)||[];function Vh(e,t){let n=new Set,r=Fh(e),i=e=>{let a=e.querySelectorAll(`[aria-controls]`);for(let e of a){if(e.getAttribute(`aria-expanded`)!==`true`)continue;let a=Bh(e);for(let e of a){if(!e||n.has(e))continue;n.add(e);let a=r.getElementById(e);if(a){let e=a.getAttribute(`role`),n=a.getAttribute(`aria-modal`)===`true`;if(e&&zh(e)&&!n&&(a===t||a.contains(t)||i(a)))return!0}}}return!1};return i(e)}function Hh(e,t){let n=Fh(e),r=new Set,i=e=>{let a=e.querySelectorAll(`[aria-controls]`);for(let e of a){if(e.getAttribute(`aria-expanded`)!==`true`)continue;let a=Bh(e);for(let e of a){if(!e||r.has(e))continue;r.add(e);let a=n.getElementById(e);if(a){let e=a.getAttribute(`role`),n=a.getAttribute(`aria-modal`)===`true`;e&&Rh.has(e)&&!n&&(t(a),i(a))}}}};i(e)}function Uh(e){let t=new Set;return Hh(e,n=>{e.contains(n)||t.add(n)}),Array.from(t)}function Wh(e){let t=e.getAttribute(`role`);return!!(t&&Rh.has(t))}function Gh(e){return e.hasAttribute(`aria-controls`)&&e.getAttribute(`aria-expanded`)===`true`}function Kh(e){return Gh(e)?!0:!!e.querySelector?.(`[aria-controls][aria-expanded="true"]`)}function qh(e){if(!e.id)return!1;let t=Fh(e),n=CSS.escape(e.id),r=`[aria-controls~="${n}"][aria-expanded="true"], [aria-controls="${n}"][aria-expanded="true"]`;return!!(t.querySelector(r)&&Wh(e))}var Jh=()=>typeof document<`u`;function Yh(){return navigator.userAgentData?.platform??navigator.platform}function Xh(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(` `):navigator.userAgent}var Zh=e=>Jh()&&e.test(Yh()),Qh=e=>Jh()&&e.test(Xh()),$h=e=>Jh()&&e.test(navigator.vendor),eg=()=>Jh()&&!!navigator.maxTouchPoints,tg=()=>Zh(/^iPhone/i),ng=()=>Zh(/^iPad/i)||ag()&&navigator.maxTouchPoints>1,rg=()=>tg()||ng(),ig=()=>ag()||rg(),ag=()=>Zh(/^Mac/i),og=()=>ig()&&$h(/apple/i),sg=()=>Qh(/Firefox/i),cg=()=>Qh(/Android/i);function lg(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function ug(e){return lg(e)?.[0]??e.target}function dg(e){let t=e.currentTarget;if(!t||!t.matches(`a[href], button[type='submit'], input[type='submit']`))return!1;let n=e.button===1,r=mg(e);return n||r}function fg(e){let t=e.currentTarget;if(!t)return!1;let n=t.localName;return e.altKey?n===`a`||n===`button`&&t.type===`submit`||n===`input`&&t.type===`submit`:!1}function pg(e){return wg(e).isComposing||e.keyCode===229}function mg(e){return ag()?e.metaKey:e.ctrlKey}function hg(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}
vendor: 4,299 bytes, line 12
12function gg(e){return e.pointerType===``&&e.isTrusted?!0:cg()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}var _g=e=>e.button===0,vg=e=>e.button===2||ag()&&e.ctrlKey&&e.button===0,yg=e=>e.ctrlKey||e.altKey||e.metaKey,bg=e=>`touches`in e&&e.touches.length>0,xg={Up:`ArrowUp`,Down:`ArrowDown`,Esc:`Escape`," ":`Space`,",":`Comma`,Left:`ArrowLeft`,Right:`ArrowRight`},Sg={ArrowLeft:`ArrowRight`,ArrowRight:`ArrowLeft`};function Cg(e,t={}){let{dir:n=`ltr`,orientation:r=`horizontal`}=t,i=e.key;return i=xg[i]??i,n===`rtl`&&r===`horizontal`&&i in Sg&&(i=Sg[i]),i}function wg(e){return e.nativeEvent??e}function Tg(e,t=`client`){let n=bg(e)?e.touches[0]||e.changedTouches[0]:e;return{x:n[`${t}X`],y:n[`${t}Y`]}}var Eg=(e,t,n,r)=>{let i=typeof e==`function`?e():e;return i?.addEventListener(t,n,r),()=>{i?.removeEventListener(t,n,r)}},Dg=e=>gh(e)&&e.tagName===`IFRAME`,Og=/^(audio|video|details)$/;function kg(e){let t=e.getAttribute(`tabindex`);return t?parseInt(t,10):NaN}var Ag=e=>!Number.isNaN(kg(e)),jg=e=>kg(e)<0;function Mg(e){return Ch(e)&&e.type===`radio`}function Ng(e){if(!Mg(e)||!e.name||e.checked)return!0;let t=`input[type="radio"][name="${CSS.escape(e.name)}"]`,n=e.form??e.ownerDocument,r=Array.from(n.querySelectorAll(t)).filter(t=>t.form===e.form&&Rg(t)),i=r.find(e=>e.checked);return i?i===e:r[0]===e}function Pg(e,t){if(!t)return null;if(t===!0)return e.shadowRoot||null;let n=t(e);return(n===!0?e.shadowRoot:n)||null}function Fg(e,t,n){let r=[...e],i=[...e],a=new Set,o=new Map;e.forEach((e,t)=>o.set(e,t));let s=0;for(;s<i.length;){let e=i[s++];if(!e||a.has(e))continue;a.add(e);let c=Pg(e,t);if(c){let t=Array.from(c.querySelectorAll(Ig)).filter(n),a=o.get(e);if(a!==void 0){let e=a+1;r.splice(e,0,...t),t.forEach((t,n)=>{o.set(t,e+n)});for(let n=e+t.length;n<r.length;n++)o.set(r[n],n)}else{let e=r.length;r.push(...t),t.forEach((t,n)=>{o.set(t,e+n)})}i.push(...t)}}return r}var Ig=`input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type`,Lg=(e,t={})=>{if(!e)return[];let{includeContainer:n=!1,getShadowRoot:r}=t,i=Array.from(e.querySelectorAll(Ig));(n==1||n==`if-empty`&&i.length===0)&&gh(e)&&Rg(e)&&i.unshift(e);let a=[];for(let e of i)if(Rg(e)){if(Dg(e)&&e.contentDocument){let t=e.contentDocument.body;a.push(...Lg(t,{getShadowRoot:r}));continue}a.push(e)}return r?Fg(a,r,Rg):a};function Rg(e){return!gh(e)||e.closest(`[inert]`)?!1:e.matches(Ig)&&Th(e)}function zg(e,t={}){if(!e)return[];let{includeContainer:n,getShadowRoot:r}=t,i=Array.from(e.querySelectorAll(Ig));n&&Bg(e)&&i.unshift(e);let a=[];for(let e of i)if(Bg(e)){if(Dg(e)&&e.contentDocument){let t=e.contentDocument.body;a.push(...zg(t,{getShadowRoot:r}));continue}a.push(e)}if(r){let e=Fg(a,r,Bg);return!e.length&&n?i:e}return!a.length&&n?i:a}function Bg(e){return gh(e)&&e.tabIndex>0?!0:!Rg(e)||jg(e)?!1:Ng(e)}function Vg(e,t={}){let n=zg(e,t);return[n[0]||null,n[n.length-1]||null]}function Hg(e,t={}){let{current:n,getShadowRoot:r}=t,i=zg(e,{getShadowRoot:r}),a=e?.ownerDocument||document,o=n??Nh(a);return o&&i[i.indexOf(o)+1]||null}function Ug(e){return e.tabIndex<0&&(Og.test(e.localName)||Oh(e))&&!Ag(e)?0:e.tabIndex}var Wg=class e{constructor(){ah(this,`id`,null),ah(this,`fn_cleanup`),ah(this,`cleanup`,()=>{this.cancel()})}static create(){return new e}request(e){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=e?.()})}cancel(){this.id!==null&&(globalThis.cancelAnimationFrame(this.id),this.id=null),this.fn_cleanup?.(),this.fn_cleanup=void 0}isActive(){return this.id!==null}};function Gg(e){let t=Wg.create();return t.request(e),t.cleanup}function Kg(e){let t=new Set;function n(e){let n=globalThis.requestAnimationFrame(e);t.add(()=>globalThis.cancelAnimationFrame(n))}return n(()=>n(e)),function(){t.forEach(e=>e())}}function qg(e,t,n){let r=Gg(()=>{e.removeEventListener(t,i,!0),n()}),i=()=>{r(),n()};return e.addEventListener(t,i,{once:!0,capture:!0}),r}function Jg(e){let t=Ph(e);return bh(t)?Ah(t).body:gh(t)&&Qg(t)?t:Jg(t)}function Yg(e,t=[]){let n=Jg(e),r=n===e.ownerDocument.body,i=Mh(n);
12return r?t.concat(i,i.visualViewport||[],Qg(n)?n:[]):t.concat(n,Yg(n,[]))}var Xg=/auto|scroll|overlay|hidden|clip/,Zg=new Set([`inline`,`contents`]);function Qg(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Mh(e).getComputedStyle(e);return Xg.test(t+r+n)&&!Zg.has(i)}function $g(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function e_(e,t){let{rootEl:n,...r}=t||{};!e||!n||!Qg(n)||!$g(n)||e.scrollIntoView(r)}function t_(e,t){return Array.from(e?.querySelectorAll(t)??[])}function n_(e,t){return e?.querySelector(t)??null}var r_=e=>e.id;function i_(e,t,n=r_){return e.find(e=>n(e)===t)}function a_(e,t,n=r_){let r=i_(e,t,n);return r?e.indexOf(r):-1}function o_(e,t,n=!0){let r=a_(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function s_(e,t,n=!0){let r=a_(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}function c_(e,t){if(!e)return ch;let n=Object.keys(t).reduce((t,n)=>(t[n]=e.style.getPropertyValue(n),t),{});return u_(n,t)?ch:(Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute(`style`)})}function l_(e,t,n){if(!e)return ch;let r=e.style.getPropertyValue(t);return r===n?ch:(e.style.setProperty(t,n),()=>{e.style.setProperty(t,r),e.style.length===0&&e.removeAttribute(`style`)})}function u_(e,t){return Object.keys(e).every(n=>e[n]===t[n])}function d_(e,t,n){let{signal:r}=t;return[new Promise((t,i)=>{let a=setTimeout(()=>{i(Error(`Timeout of ${n}ms exceeded`))},n);r.addEventListener(`abort`,()=>{clearTimeout(a),i(new DOMException(`Promise aborted`,`AbortError`))}),e.then(e=>{r.aborted||(clearTimeout(a),t(e))}).catch(e=>{r.aborted||(clearTimeout(a),i(e))})}),()=>t.abort()]}function f_(e,t){let{timeout:n,rootNode:r}=t,i=Mh(r),a=Ah(r),o=new i.AbortController;return d_(new Promise(t=>{let n=e();if(n){t(n);return}let r=new i.MutationObserver(()=>{let n=e();n&&n.isConnected&&(r.disconnect(),t(n))});r.observe(a.body,{childList:!0,subtree:!0})}),o,n)}function p_(e){let t=()=>e.getRootNode?.()??document,n=()=>Ah(t()),r=()=>n().defaultView??window,i=()=>Nh(t()),a=e=>t().getElementById(e);return{...e,getRootNode:t,getDoc:n,getWin:r,getActiveElement:i,isActiveElement:Eh,getById:a}}function m_(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 h_=e=>{let t=(0,V.memo)((0,V.forwardRef)((t,n)=>{let{asChild:r,children:i,...a}=t;if(!r)return(0,V.createElement)(e,{...a,ref:n},i);if(!(0,V.isValidElement)(i))return null;let o=V.Children.only(i),s=m_(o);return(0,V.cloneElement)(o,{...km(a,o.props),ref:n?wm(n,s):s})}));return t.displayName=e.displayName||e.name,t},g_=(()=>{let e=new Map;return new Proxy(h_,{apply(e,t,n){return h_(n[0])},get(t,n){let r=n;return e.has(r)||e.set(r,h_(r)),e.get(r)}})})(),[__,v_]=xm({name:`LocaleContext`,hookName:`useLocaleContext`,providerName:`<LocaleProvider />`,strict:!1,defaultValue:{dir:`ltr`,locale:`en-US`}}),y_=Object.defineProperty,b_=(e,t)=>{let n={};for(var r in e)y_(n,r,{get:e[r],enumerable:!0});return t||y_(n,Symbol.toStringTag,{value:`Module`}),n},{withContext:x_,PropsProvider:S_}=gp({key:`heading`}),C_=x_(`h2`),w_=()=>(e,t)=>t.reduce((e,t)=>{let[n,r]=e,i=t;return r[i]!==void 0&&(n[i]=r[i]),delete r[i],[n,r]},[{},{...e}]),T_=e=>w_()(e,[`immediate`,`lazyMount`,`onExitComplete`,`present`,`skipAnimationOnMount`,`unmountOnExit`]);function E_(e,t={}){let{sync:n=!1}=t,r=D_(e);return(0,V.useCallback)((...e)=>n?queueMicrotask(()=>r.current?.(...e)):r.current?.(...e),[n,r])}function D_(e){let t=(0,V.useRef)(e);return t.current=e,t}var O_=globalThis.document===void 0?V.useEffect:V.useLayoutEffect;function k_(e){let t=e().value??e().defaultValue,n=e().isEqual??Object.is,[r]=(0,V.useState)(t),[i,a]=(0,V.useState)(r),o=e().value!==void 0,s=(0,V.useRef)(i);s.current=o?e().value:i;let c=(0,V.useRef)(s.current);O_(()=>{c.current=s.current},[i,e().value]);let l=t=>{let r=c.current,i=Up(t)?t(r):t;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:i,prev:r}),o||a(i),n(i,r)||e().onChange?.(i,r)};function u(){return o?e().value:i}return{initial:r,ref:s,get:u,set(t){(e().sync?ac.flushSync:tm)(()=>l(t))},invoke(t,n){e().onChange?.(t,n)},hash(t){return e().hash?.(t)??String(t)}}}k_.cleanup=e=>{(0,V.useEffect)(()=>e,[])},k_.ref=e=>{let t=(0,V.useRef)(e);return{get:()=>t.current,set:e=>{t.current=e}}};function A_(e){let t=(0,V.useRef)(e);return{get(e){return t.current[e]},set(e,n){t.current[e]=n}}}var j_=(e,t)=>{let n=(0,V.useRef)(!1),r=(0,V.useRef)(!1);(0,V.useEffect)(()=>
12{if(n.current&&r.current)return t();r.current=!0},[...(e??[]).map(e=>typeof e==`function`?e():e)]),(0,V.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[])};function M_(e,t={}){let n=(0,V.useMemo)(()=>{let{id:e,ids:n,getRootNode:r}=t;return p_({id:e,ids:n,getRootNode:r})},[t]),r=(...t)=>{e.debug&&console.log(...t)},i=P_(e.props?.({props:um(t),scope:n})??t),a=e.context?.({prop:i,bindable:k_,scope:n,flush:F_,getContext(){return s},getComputed(){return b},getRefs(){return m},getEvent(){return f()}}),o=N_(a),s={get(e){return o.current?.[e].ref.current},set(e,t){o.current?.[e].set(t)},initial(e){return o.current?.[e].initial},hash(e){let t=o.current?.[e].get();return o.current?.[e].hash(t)}},c=(0,V.useRef)(new Map),l=(0,V.useRef)(null),u=(0,V.useRef)(null),d=(0,V.useRef)({type:``}),f=()=>({...d.current,current(){return d.current},previous(){return u.current}}),p=()=>({...x,matches(...e){return e.some(e=>Xm(x.ref.current,e))},hasTag(t){return Zm(e,x.ref.current,t)}}),m=A_(e.refs?.({prop:i,context:s})??{}),h=()=>({state:p(),context:s,event:f(),prop:i,send:E,action:g,guard:_,track:j_,refs:m,computed:b,flush:F_,scope:n,choose:y}),g=t=>{let n=Up(t)?t(h()):t;if(!n)return;let r=n.map(t=>{let n=e.implementations?.actions?.[t];return n||gm(`[zag-js] No implementation found for action "${JSON.stringify(t)}"`),n});for(let e of r)e?.(h())},_=t=>Up(t)?t(h()):e.implementations?.guards?.[t](h()),v=t=>{let n=Up(t)?t(h()):t;if(!n)return;let r=n.map(t=>{let n=e.implementations?.effects?.[t];return n||gm(`[zag-js] No implementation found for effect "${JSON.stringify(t)}"`),n}),i=[];for(let e of r){let t=e?.(h());t&&i.push(t)}return()=>i.forEach(e=>e?.())},y=e=>wp(e).find(e=>{let t=!e.guard;return Hp(e.guard)?t=!!_(e.guard):Up(e.guard)&&(t=e.guard(h())),t}),b=t=>{vm(e.computed,()=>`[zag-js] No computed object found on machine`);let r=e.computed[t];return r({context:s,event:f(),prop:i,refs:m,scope:n,computed:b})},x=k_(()=>({defaultValue:qm(e,e.initialState({prop:i})),onChange(t,n){let{exiting:r,entering:i}=Ym(e,n,t,l.current?.reenter);if(r.forEach(e=>{c.current.get(e.path)?.(),c.current.delete(e.path)}),r.forEach(e=>{g(e.state?.exit)}),g(l.current?.actions),i.forEach(e=>{let t=v(e.state?.effects);t&&c.current.set(e.path,t)}),n===`__init__`){g(e.entry);let t=v(e.effects);t&&c.current.set(nh,t)}i.forEach(e=>{g(e.state?.entry)})}})),S=(0,V.useRef)(void 0),C=(0,V.useRef)(th.NotStarted);O_(()=>{queueMicrotask(()=>{let e=C.current===th.Started;C.current=th.Started,r(e?`rehydrating...`:`initializing...`);let t=S.current??x.initial;x.invoke(t,e?x.get():nh)});let t=c.current;return()=>{let n=w();r(`unmounting...`),S.current=n,C.current=th.Stopped,t.forEach(e=>e?.()),c.current=new Map,l.current=null,queueMicrotask(()=>{g(e.exit),C.current=th.Stopped})}},[]);let w=()=>`ref`in x?x.ref.current:x.get(),E=t=>{queueMicrotask(()=>{if(C.current!==th.Started)return;u.current=d.current,d.current=t;let n=w(),{transitions:i,source:a}=Jm(e,n,t.type),o=y(i);if(!o)return;l.current=o;let s=qm(e,o.target??n,a);r(`transition`,t.type,o.target||n,`(${o.actions})`),s===n?o.reenter?x.invoke(n,n):g(o.actions??[]):(0,ac.flushSync)(()=>x.set(s))})};return e.watch?.(h()),{state:p(),send:E,context:s,prop:i,scope:n,refs:m,computed:b,event:f(),getStatus:()=>
12C.current}}function N_(e){let t=(0,V.useRef)(e);return t.current=e,t}function P_(e){let t=N_(e);return function(e){return t.current[e]}}function F_(e){queueMicrotask(()=>{(0,ac.flushSync)(()=>e())})}function I_(e){return new Proxy({},{get(t,n){return n===`style`?t=>e({style:t}).style:e}})}var L_=I_(e=>e);function R_(e,t){let{state:n,send:r,context:i}=e,a=n.matches(`mounted`,`unmountSuspended`);return{skip:!i.get(`initial`),present:a,setNode(e){e&&r({type:`NODE.SET`,node:e})},unmount(){r({type:`UNMOUNT`})}}}var z_=$m({props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e(`present`)?`mounted`:`unmounted`},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:[`cleanupNode`],watch({track:e,prop:t,send:n}){e([()=>t(`present`)],()=>{n({type:`PRESENCE.CHANGED`})})},on:{"NODE.SET":{actions:[`setupNode`]},"PRESENCE.CHANGED":{actions:[`setInitial`,`syncPresence`]}},states:{mounted:{on:{UNMOUNT:{target:`unmounted`,actions:[`clearPrevAnimationName`,`invokeOnExitComplete`]},"UNMOUNT.SUSPEND":{target:`unmountSuspended`}}},unmountSuspended:{effects:[`trackAnimationEvents`],on:{MOUNT:{target:`mounted`,actions:[`setPrevAnimationName`]},UNMOUNT:{target:`unmounted`,actions:[`clearPrevAnimationName`,`invokeOnExitComplete`]}}},unmounted:{on:{MOUNT:{target:`mounted`,actions:[`setPrevAnimationName`]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get(`initial`)||queueMicrotask(()=>{e.set(`initial`,!0)})},invokeOnExitComplete:({prop:e,refs:t})=>{e(`onExitComplete`)?.();let n=t.get(`node`);if(!n)return;let r=new(Mh(n)).CustomEvent(`exitcomplete`,{bubbles:!1});n.dispatchEvent(r)},setupNode:({refs:e,event:t})=>{e.get(`node`)!==t.node&&(e.set(`node`,t.node),e.set(`styles`,Lh(t.node)))},cleanupNode:({refs:e})=>{e.set(`node`,null),e.set(`styles`,null)},syncPresence:({context:e,refs:t,send:n,prop:r})=>{let i=r(`present`);if(i)return n({type:`MOUNT`,src:`presence.changed`});let a=t.get(`node`);if(!i&&a?.ownerDocument.visibilityState===`hidden`)return n({type:`UNMOUNT`,src:`visibilitychange`});Gg(()=>{if(r(`present`))return;let i=B_(t.get(`styles`));e.set(`unmountAnimationName`,i),i===`none`||i===e.get(`prevAnimationName`)||t.get(`styles`)?.display===`none`||t.get(`styles`)?.animationDuration===`0s`?n({type:`UNMOUNT`,src:`presence.changed`}):n({type:`UNMOUNT.SUSPEND`})})},setPrevAnimationName:({context:e,refs:t})=>{Gg(()=>{e.set(`prevAnimationName`,B_(t.get(`styles`)))})},clearPrevAnimationName:({context:e})=>{e.set(`prevAnimationName`,null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:n,prop:r})=>{let i=t.get(`node`);if(!i)return;let a=n=>{(n.composedPath?.()?.[0]??n.target)===i&&e.set(`prevAnimationName`,B_(t.get(`styles`)))},o=a=>{let o=B_(t.get(`styles`));ug(a)===i&&o===e.get(`unmountAnimationName`)&&!r(`present`)&&n({type:`UNMOUNT`,src:`animationend`})},s=e=>{ug(e)===i&&!r(`present`)&&n({type:`UNMOUNT`,src:`animationcancel`})};i.addEventListener(`animationstart`,a),i.addEventListener(`animationcancel`,s),i.addEventListener(`animationend`,o);let c=c_(i,{animationFillMode:`forwards`});return()=>{i.removeEventListener(`animationstart`,a),i.removeEventListener(`animationcancel`,s),i.removeEventListener(`animationend`,o),Kg(()=>c())}}}}});function B_(e){return e?.animationName||`none`}var V_=(e={})=>{let{lazyMount:t,unmountOnExit:n,present:r,skipAnimationOnMount:i=!1,...a}=e,o=(0,V.useRef)(!1),s=R_(M_(z_,{...a,present:r,onExitComplete:E_(e.onExitComplete)}),L_);s.present&&(o.current=!0);let c=!s.present&&!o.current&&t||n&&!s.present&&o.current;return{ref:s.setNode,getPresenceProps:()=>({"data-state":s.skip&&i?void 0:r?`open`:`closed`,hidden:!s.present}),present:s.present,unmounted:c}},[H_,U_]=xm({name:`PresenceContext`,hookName:`usePresenceContext`,providerName:`<PresenceProvider />`}),W_=ip(`span`);W_.displayName=`Span`;var{withContext:G_,PropsProvider:K_}=gp({key:`text`}),q_=G_(`p`),K=(e,t=[])=>({parts:(...n)=>{if(Y_(t))return K(e,n);throw Error(`createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?`)},extendWith:(...n)=>K(e,[...t,...n]),omit:(...n)=>K(e,t.filter(e=>!n.includes(e))),rename:e=>K(e,t),keys:()=>t,build:()=>[...new Set(t)].reduce((t,n)=>Object.assign(t,{[n]:{selector:[`&[data-scope="${J_(e)}"][data-part="${J_(n)}"]`,`& [data-scope="${J_(e)}"][data-part="${J_(n)}"]`].join(`, `),attrs:{"data-scope":J_(e),"data-part":J_(n)}}}),{})}),J_=e=>e.replace(/([A-Z])([A-Z])/g,`$1-$2`).replace(/([a-z])([A-Z])/g,`$1-$2`).replace(/[\s_]+/g,`-`).toLowerCase(),Y_=e=>e.length===0,X_=K(`accordion`).parts(`root`,`item`,`itemTrigger`,`itemContent`,`itemIndicator`);X_.build();var Z_=K(`avatar`).parts(`root`,`image`,`fallback`),Q_=Z_.build();function $_(e){let t={each(t){for(let n=0;n<e.frames?.length;n+=1){let r=e.frames[n];r&&t(r)}},addEventListener(e,n,r){return t.each(t=>{try{t.document.addEventListener(e,n,r)}catch{}}),()=>{try{t.removeEventListener(e,n,r)}catch{}}},removeEventListener(e,n,r){t.each(t=>{try{t.document.removeEventListener(e,n,r)}catch{}})}};return t}function ev(e){let t=e.frameElement==null?null:e.parent;return{addEventListener:(e,n,r)=>{try{t?.addEventListener(e,n,r)}catch{}return()=>{try{t?.removeEventListener(e,n,r)}catch{}}},removeEventListener:(e,n,r)=>{try{t?.removeEventListener(e,n,r)}catch{}}}}var tv=`pointerdown.outside`,nv=`focus.outside`;function rv(e){for(let t of e)if(gh(t)&&Rg(t))return!0;return!1}var iv=e=>`clientY`in e;function av(e,t){if(!iv(t)||!e)return!1;let n=e.getBoundingClientRect();
12return n.width===0||n.height===0?!1:n.top<=t.clientY&&t.clientY<=n.top+n.height&&n.left<=t.clientX&&t.clientX<=n.left+n.width}function ov(e,t){return e.y<=t.y&&t.y<=e.y+e.height&&e.x<=t.x&&t.x<=e.x+e.width}function sv(e,t){if(!t||!iv(e))return!1;let n=t.scrollHeight>t.clientHeight,r=n&&e.clientX>t.offsetLeft+t.clientWidth,i=t.scrollWidth>t.clientWidth,a=i&&e.clientY>t.offsetTop+t.clientHeight;return ov({x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+(n?16:0),height:t.clientHeight+(i?16:0)},{x:e.clientX,y:e.clientY})?r||a:!1}function cv(e,t){let{exclude:n,onFocusOutside:r,onPointerDownOutside:i,onInteractOutside:a,defer:o,followControlledElements:s=!0}=t;if(!e)return;let c=Ah(e),l=Mh(e),u=$_(l),d=ev(l);function f(t,r){if(!gh(r)||!r.isConnected||kh(e,r)||av(e,t)||s&&Vh(e,r))return!1;let i=c.querySelector(`[aria-controls="${e.id}"]`);return i&&sv(t,Jg(i))||sv(t,Jg(e))?!1:!n?.(r)}let p=new Set,m=Sh(e?.getRootNode()),h=!1;function g(t){h=!0;let n=()=>{h=!1};c.addEventListener(`pointerup`,n,{once:!0}),l.addEventListener(`pointerup`,n,{once:!0});function r(n){let r=o&&!eg()?Gg:e=>e(),s=n??t,c=s?.composedPath?.()??[s?.target];r(()=>{let n=m?c[0]:ug(t);if(!(!e||!f(t,n))){if(i||a){let t=rm(i,a);e.addEventListener(tv,t,{once:!0})}uv(e,tv,{bubbles:!1,cancelable:!0,detail:{originalEvent:s,contextmenu:vg(s),focusable:rv(c),target:n}})}})}t.pointerType===`touch`?(p.forEach(e=>e()),p.add(Eg(c,`click`,r,{once:!0})),p.add(d.addEventListener(`click`,r,{once:!0})),p.add(u.addEventListener(`click`,r,{once:!0}))):r()}let _=new Set,v=setTimeout(()=>{_.add(Eg(c,`pointerdown`,g,!0)),_.add(d.addEventListener(`pointerdown`,g,!0)),_.add(u.addEventListener(`pointerdown`,g,!0))},0);function y(t){h||(o?Gg:e=>e())(()=>{let n=t?.composedPath?.()??[t?.target],i=m?n[0]:ug(t);if(!(!e||!f(t,i))){if(r||a){let t=rm(r,a);e.addEventListener(nv,t,{once:!0})}uv(e,nv,{bubbles:!1,cancelable:!0,detail:{originalEvent:t,contextmenu:!1,focusable:Rg(i),target:i}})}})}return eg()||(_.add(Eg(c,`focusin`,y,!0)),_.add(d.addEventListener(`focusin`,y,!0)),_.add(u.addEventListener(`focusin`,y,!0))),()=>{clearTimeout(v),p.forEach(e=>e()),_.forEach(e=>e())}}function lv(e,t){let{defer:n}=t,r=n?Gg:e=>e(),i=[];return i.push(r(()=>{let n=typeof e==`function`?e():e;i.push(cv(n,t))})),()=>{i.forEach(e=>e?.())}}function uv(e,t,n){let r=new(e.ownerDocument.defaultView||window).CustomEvent(t,n);return e.dispatchEvent(r)}function dv(e,t){return Eg(Ah(e),`keydown`,e=>{e.key===`Escape`&&(e.isComposing||t?.(e))},{capture:!0})}var fv=`layer:request-dismiss`,pv={layers:[],branches:[],recentlyRemoved:new Set,count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){return this.indexOf(e)<(this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1)},isTopMost(e){return this.layers[this.count()-1]?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},getLayersByType(e){return this.layers.filter(t=>t.type===e)},getNestedLayersByType(e,t){let n=this.indexOf(e);return n===-1?[]:this.layers.slice(n+1).filter(e=>e.type===t)},getParentLayerOfType(e,t){let n=this.indexOf(e);if(!(n<=0))return this.layers.slice(0,n).reverse().find(e=>e.type===t)},countNestedLayersOfType(e,t){return this.getNestedLayersByType(e,t).length},isInNestedLayer(e,t){return!!(this.getNestedLayers(e).some(e=>kh(e.node,t))||this.recentlyRemoved.size>0)},isInBranch(e){return Array.from(this.branches).some(t=>kh(t,e))},add(e){this.layers.push(e),this.syncLayers()},addBranch(e){this.branches.push(e)},remove(e){let t=this.indexOf(e);t<0||(this.recentlyRemoved.add(e),Kg(()=>this.recentlyRemoved.delete(e)),t<this.count()-1&&this.getNestedLayers(e).forEach(t=>pv.dismiss(t.node,e)),this.layers.splice(t,1),this.syncLayers())},removeBranch(e){let t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},syncLayers(){this.layers.forEach((e,t)=>{e.node.style.setProperty(`--layer-index`,`${t}`),e.node.removeAttribute(`data-nested`),e.node.removeAttribute(`data-has-nested`),this.getParentLayerOfType(e.node,e.type)&&e.node.setAttribute(`data-nested`,e.type);let n=this.countNestedLayersOfType(e.node,e.type);n>0&&e.node.setAttribute(`data-has-nested`,e.type),e.node.style.setProperty(`--nested-layer-count`,`${n}`)})},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e,t){let n=this.indexOf(e);if(n===-1)return;let r=this.layers[n];hv(e,fv,e=>
vendor: 4,073 bytes, line 12
12{r.requestDismiss?.(e),e.defaultPrevented||r?.dismiss()}),mv(e,fv,{originalLayer:e,targetLayer:t,originalIndex:n,targetIndex:t?this.indexOf(t):-1}),this.syncLayers()},clear(){this.remove(this.layers[0].node)}};function mv(e,t,n){let r=new(e.ownerDocument.defaultView||window).CustomEvent(t,{cancelable:!0,bubbles:!0,detail:n});return e.dispatchEvent(r)}function hv(e,t,n){e.addEventListener(t,n,{once:!0})}var gv;function _v(){pv.layers.forEach(({node:e})=>{e.style.pointerEvents=pv.isBelowPointerBlockingLayer(e)?`none`:`auto`})}function vv(e){e.style.pointerEvents=``}function yv(e,t){let n=Ah(e),r=[];return pv.hasPointerBlockingLayer()&&!n.body.hasAttribute(`data-inert`)&&(gv=document.body.style.pointerEvents,queueMicrotask(()=>{n.body.style.pointerEvents=`none`,n.body.setAttribute(`data-inert`,``)})),t?.forEach(e=>{let[t,n]=f_(()=>{let t=e();return gh(t)?t:null},{timeout:1e3});t.then(e=>r.push(c_(e,{pointerEvents:`auto`}))),r.push(n)}),()=>{pv.hasPointerBlockingLayer()||(queueMicrotask(()=>{n.body.style.pointerEvents=gv,n.body.removeAttribute(`data-inert`),n.body.style.length===0&&n.body.removeAttribute(`style`)}),r.forEach(e=>e()))}}function bv(e,t){let{warnOnMissingNode:n=!0}=t;if(n&&!e){gm("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;let{onDismiss:r,onRequestDismiss:i,pointerBlocking:a,exclude:o,debug:s,type:c=`dialog`}=t,l={dismiss:r,node:e,type:c,pointerBlocking:a,requestDismiss:i};pv.add(l),_v();function u(n){let i=ug(n.detail.originalEvent);pv.isBelowPointerBlockingLayer(e)||pv.isInBranch(i)||(t.onPointerDownOutside?.(n),t.onInteractOutside?.(n),!n.defaultPrevented&&(s&&console.log(`onPointerDownOutside:`,n.detail.originalEvent),r?.()))}function d(e){let n=ug(e.detail.originalEvent);pv.isInBranch(n)||(t.onFocusOutside?.(e),t.onInteractOutside?.(e),!e.defaultPrevented&&(s&&console.log(`onFocusOutside:`,e.detail.originalEvent),r?.()))}function f(n){pv.isTopMost(e)&&(t.onEscapeKeyDown?.(n),!n.defaultPrevented&&r&&(n.preventDefault(),r()))}function p(n){if(!e)return!1;let r=typeof o==`function`?o():o,i=Array.isArray(r)?r:[r],a=t.persistentElements?.map(e=>e()).filter(gh);return a&&i.push(...a),i.some(e=>kh(e,n))||pv.isInNestedLayer(e,n)}let m=[a?yv(e,t.persistentElements):void 0,dv(e,f),lv(e,{exclude:p,onFocusOutside:d,onPointerDownOutside:u,defer:t.defer})];return()=>{pv.remove(e),_v(),vv(e),m.forEach(e=>e?.())}}function xv(e,t){let{defer:n}=t,r=n?Gg:e=>e(),i=[];return i.push(r(()=>{let n=Up(e)?e():e;i.push(bv(n,t))})),()=>{i.forEach(e=>e?.())}}function Sv(e,t={}){let{defer:n}=t,r=n?Gg:e=>e(),i=[];return i.push(r(()=>{let t=Up(e)?e():e;if(!t){gm("[@zag-js/dismissable] branch node is `null` or `undefined`");return}pv.addBranch(t),i.push(()=>{pv.removeBranch(t)})})),()=>{i.forEach(e=>e?.())}}var Cv=K(`carousel`).parts(`root`,`itemGroup`,`item`,`control`,`nextTrigger`,`prevTrigger`,`indicatorGroup`,`indicator`,`autoplayTrigger`,`progressText`);Cv.build();var wv=Cv.extendWith(`progressText`,`autoplayIndicator`),Tv=K(`checkbox`).parts(`root`,`label`,`control`,`indicator`),Ev=Tv.build();function Dv(e){return!(e.metaKey||!ag()&&e.altKey||e.ctrlKey||e.key===`Control`||e.key===`Shift`||e.key===`Meta`)}var Ov=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function kv(e,t,n){let r=n?ug(n):null,i=Ah(r),a=Mh(r),o=Nh(i);return e=e||o instanceof a.HTMLInputElement&&!Ov.has(o?.type)||o instanceof a.HTMLTextAreaElement||o instanceof a.HTMLElement&&o.isContentEditable,!(e&&t===`keyboard`&&n instanceof a.KeyboardEvent&&!Reflect.has(Fv,n.key))}var Av=null,jv=new Set,Mv=new Map,Nv=!1,Pv=!1,Fv={Tab:!0,Escape:!0};function Iv(e,t){for(let n of jv)n(e,t)}function Lv(e){Nv=!0,Dv(e)&&(Av=`keyboard`,Iv(`keyboard`,e))}function Rv(e){Av=`pointer`,(e.type===`mousedown`||e.type===`pointerdown`)&&(Nv=!0,Iv(`pointer`,e))}function zv(e){gg(e)&&(Nv=!0,Av=`virtual`)}function Bv(e){let t=ug(e);t===Mh(t)||t===Ah(t)||!e.isTrusted||(!Nv&&!Pv&&(Av=`virtual`,Iv(`virtual`,e)),Nv=!1,Pv=!1)}function Vv(){Nv=!1,Pv=!0}function Hv(e){if(typeof window>`u`||Mv.get(Mh(e)))return;
12let t=Mh(e),n=Ah(e),r=t.HTMLElement.prototype.focus;function i(){Nv=!0,r.apply(this,arguments)}try{Object.defineProperty(t.HTMLElement.prototype,`focus`,{configurable:!0,value:i})}catch{}n.addEventListener(`keydown`,Lv,!0),n.addEventListener(`keyup`,Lv,!0),n.addEventListener(`click`,zv,!0),t.addEventListener(`focus`,Bv,!0),t.addEventListener(`blur`,Vv,!1),t.PointerEvent===void 0?(n.addEventListener(`mousedown`,Rv,!0),n.addEventListener(`mousemove`,Rv,!0),n.addEventListener(`mouseup`,Rv,!0)):(n.addEventListener(`pointerdown`,Rv,!0),n.addEventListener(`pointermove`,Rv,!0),n.addEventListener(`pointerup`,Rv,!0)),t.addEventListener(`beforeunload`,()=>{Uv(e)},{once:!0}),Mv.set(t,{focus:r})}var Uv=(e,t)=>{let n=Mh(e),r=Ah(e);t&&r.removeEventListener(`DOMContentLoaded`,t);let i=Mv.get(n);if(i){try{Object.defineProperty(n.HTMLElement.prototype,`focus`,{configurable:!0,value:i.focus})}catch{}r.removeEventListener(`keydown`,Lv,!0),r.removeEventListener(`keyup`,Lv,!0),r.removeEventListener(`click`,zv,!0),n.removeEventListener(`focus`,Bv,!0),n.removeEventListener(`blur`,Vv,!1),n.PointerEvent===void 0?(r.removeEventListener(`mousedown`,Rv,!0),r.removeEventListener(`mousemove`,Rv,!0),r.removeEventListener(`mouseup`,Rv,!0)):(r.removeEventListener(`pointerdown`,Rv,!0),r.removeEventListener(`pointermove`,Rv,!0),r.removeEventListener(`pointerup`,Rv,!0)),Mv.delete(n)}};function Wv(){return Av}function Gv(e){Av=e,Iv(e,null)}function Kv(){return Av===`keyboard`||Av===`virtual`}function qv(e={}){let{isTextInput:t,autoFocus:n,onChange:r,root:i}=e;Hv(i),r?.({isFocusVisible:n||Kv(),modality:Av});let a=(e,n)=>{kv(!!t,e,n)&&r?.({isFocusVisible:Kv(),modality:e})};return jv.add(a),()=>{jv.delete(a)}}var Jv=Tv.extendWith(`group`),Yv=K(`clipboard`).parts(`root`,`control`,`trigger`,`indicator`,`input`,`label`),Xv=Yv.build(),Zv=K(`collapsible`).parts(`root`,`trigger`,`content`,`indicator`);Zv.build();var Qv=K(`color-picker`,[`root`,`label`,`control`,`trigger`,`positioner`,`content`,`area`,`areaThumb`,`valueText`,`areaBackground`,`channelSlider`,`channelSliderLabel`,`channelSliderTrack`,`channelSliderThumb`,`channelSliderValueText`,`channelInput`,`transparencyGrid`,`swatchGroup`,`swatchTrigger`,`swatchIndicator`,`swatch`,`eyeDropperTrigger`,`formatTrigger`,`formatSelect`]);Qv.build();var $v=[`top`,`right`,`bottom`,`left`],ey=Math.min,ty=Math.max,ny=Math.round,ry=Math.floor,iy=e=>({x:e,y:e}),ay={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function oy(e,t,n){return ty(e,ey(t,n))}function sy(e,t){return typeof e==`function`?e(t):e}function cy(e){return e.split(`-`)[0]}function ly(e){return e.split(`-`)[1]}function uy(e){return e===`x`?`y`:`x`}function dy(e){return e===`y`?`height`:`width`}function fy(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function py(e){return uy(fy(e))}function my(e,t,n){n===void 0&&(n=!1);let r=ly(e),i=py(e),a=dy(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Cy(o)),[o,Cy(o)]}function hy(e){let t=Cy(e);return[gy(e),t,gy(t)]}function gy(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var _y=[`left`,`right`],vy=[`right`,`left`],yy=[`top`,`bottom`],by=[`bottom`,`top`];function xy(e,t,n){switch(e){case`top`:case`bottom`:return n?t?vy:_y:t?_y:vy;case`left`:case`right`:return t?yy:by;default:return[]}}function Sy(e,t,n,r){let i=ly(e),a=xy(cy(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(gy)))),a}function Cy(e){let t=cy(e);return ay[t]+e.slice(t.length)}function wy(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ty(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:wy(e)}function Ey(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 Dy(e,t,n){let{reference:r,floating:i}=e,a=fy(t),o=py(t),s=dy(o),c=cy(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(ly(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}
vendor: 4,933 bytes, line 12
12async function Oy(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}=sy(t,e),p=Ty(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ey(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=Ey(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 ky=50,Ay=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Oy},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Dy(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<ky&&(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}=Dy(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},jy=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}=sy(e,t)||{};if(l==null)return{};let d=Ty(u),f={x:n,y:r},p=py(i),m=dy(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,E=C/2-h[m]/2-1,D=ey(d[_],E),O=ey(d[v],E),k=D,A=C-h[m]-O,j=C/2-h[m]/2+w,M=oy(k,j,A),N=!c.arrow&&ly(i)!=null&&j!==M&&a.reference[m]/2-(j<k?D:O)-h[m]/2<0,P=N?j<k?j-k:j-A:0;return{[p]:f[p]+P,data:{[p]:M,centerOffset:j-M-P,...N&&{alignmentOffset:P}},reset:N}}}),My=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}=sy(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=cy(r),_=fy(o),v=cy(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Cy(o)]:hy(o)),x=p!==`none`;!d&&x&&b.push(...Sy(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],E=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=my(r,a,y);w.push(C[e[0]],C[e[1]])}if(E=[...E,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==fy(t))||E.every(e=>fy(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:E},reset:{placement:t}};let n=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=E.filter(e=>{if(x){let t=fy(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;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function Ny(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Py(e){return $v.some(t=>e[t]>=0)}var Fy=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=sy(e,t);switch(i){case`referenceHidden`:{let e=Ny(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Py(e)}}}case`escaped`:{let e=Ny(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Py(e)}}}default:return{}}}}},Iy=new Set([`left`,`top`]);async function Ly(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=cy(n),s=ly(n),c=fy(n)===`y`,l=Iy.has(o)?-1:1,u=a&&c?-1:1,d=sy(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}
12:{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 Ry=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 Ly(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}}}}},zy=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}=sy(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=fy(cy(i)),p=uy(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=oy(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=oy(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}}}}}},By=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}=sy(e,t),u={x:n,y:r},d=fy(i),f=uy(d),p=u[f],m=u[d],h=sy(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=Iy.has(cy(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}}}},Vy=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}=sy(e,t),u=await o.detectOverflow(t,l),d=cy(i),f=ly(i),p=fy(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=ey(h-u[g],v),x=ey(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=ty(u.left,0),t=ty(u.right,0),n=ty(u.top,0),r=ty(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:ty(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:ty(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let E=await o.getDimensions(s.floating);return m!==E.width||h!==E.height?{reset:{rects:!0}}:{}}}};function Hy(){return typeof window<`u`}function Uy(e){return Ky(e)?(e.nodeName||``).toLowerCase():`#document`}function Wy(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gy(e){return((Ky(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Ky(e){return Hy()?e instanceof Node||e instanceof Wy(e).Node:!1}function qy(e){return Hy()?e instanceof Element||e instanceof Wy(e).Element:!1}function Jy(e){return Hy()?e instanceof HTMLElement||e instanceof Wy(e).HTMLElement:!1}function Yy(e){return!Hy()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Wy(e).ShadowRoot}function Xy(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=sb(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Zy(e){return/^(table|td|th)$/.test(Uy(e))}function Qy(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var $y=/transform|translate|scale|rotate|perspective|filter/,eb=/paint|layout|strict|content/,tb=e=>!!e&&e!==`none`,nb;function rb(e){let t=qy(e)?sb(e):e;return tb(t.transform)||tb(t.translate)||tb(t.scale)||tb(t.rotate)||tb(t.perspective)||!ab()&&(tb(t.backdropFilter)||tb(t.filter))||$y.test(t.willChange||``)||eb.test(t.contain||``)}function ib(e){let t=lb(e);for(;Jy(t)&&!ob(t);){if(rb(t))return t;if(Qy(t))return null;t=lb(t)}return null}function ab(){return nb??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),nb}function ob(e){return/^(html|body|#document)$/.test(Uy(e))}
vendor: 4,670 bytes, line 12
12function sb(e){return Wy(e).getComputedStyle(e)}function cb(e){return qy(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function lb(e){if(Uy(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Yy(e)&&e.host||Gy(e);return Yy(t)?t.host:t}function ub(e){let t=lb(e);return ob(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jy(t)&&Xy(t)?t:ub(t)}function db(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ub(e),i=r===e.ownerDocument?.body,a=Wy(r);if(i){let e=fb(a);return t.concat(a,a.visualViewport||[],Xy(r)?r:[],e&&n?db(e):[])}else return t.concat(r,db(r,[],n))}function fb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function pb(e){let t=sb(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Jy(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ny(n)!==a||ny(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function mb(e){return qy(e)?e:e.contextElement}function hb(e){let t=mb(e);if(!Jy(t))return iy(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=pb(t),o=(a?ny(n.width):n.width)/r,s=(a?ny(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var gb=iy(0);function _b(e){let t=Wy(e);return!ab()||!t.visualViewport?gb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Wy(e)?!1:t}function yb(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=mb(e),o=iy(1);t&&(r?qy(r)&&(o=hb(r)):o=hb(e));let s=vb(a,n,r)?_b(a):iy(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=Wy(a),t=r&&qy(r)?Wy(r):r,n=e,i=fb(n);for(;i&&r&&t!==n;){let e=hb(i),t=i.getBoundingClientRect(),r=sb(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=Wy(i),i=fb(n)}}return Ey({width:u,height:d,x:c,y:l})}function bb(e,t){let n=cb(e).scrollLeft;return t?t.left+n:yb(Gy(e)).left+n}function xb(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-bb(e,n),y:n.top+t.scrollTop}}function Sb(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Gy(r),s=t?Qy(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=iy(1),u=iy(0),d=Jy(r);if((d||!d&&!a)&&((Uy(r)!==`body`||Xy(o))&&(c=cb(r)),d)){let e=yb(r);l=hb(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?xb(o,c):iy(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 Cb(e){return Array.from(e.getClientRects())}function wb(e){let t=Gy(e),n=cb(e),r=e.ownerDocument.body,i=ty(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=ty(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+bb(e),s=-n.scrollTop;return sb(r).direction===`rtl`&&(o+=ty(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Tb=25;function Eb(e,t){let n=Wy(e),r=Gy(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=ab();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=bb(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<=Tb&&(a-=o)}else l<=Tb&&(a+=l);return{width:a,height:o,x:s,y:c}}function Db(e,t){let n=yb(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Jy(e)?hb(e):iy(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Ob(e,t,n){let r;if(t===`viewport`)r=Eb(e,n);else if(t===`document`)r=wb(Gy(e));else if(qy(t))r=Db(t,n);else{let n=_b(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Ey(r)}function kb(e,t){let n=lb(e);return n===t||!qy(n)||ob(n)?!1:sb(n).position===`fixed`||kb(n,t)}function Ab(e,t){let n=t.get(e);if(n)return n;let r=db(e,[],!1).filter(e=>qy(e)&&Uy(e)!==`body`),i=null,a=sb(e).position===`fixed`,o=a?lb(e):e;for(;qy(o)&&!ob(o);){let t=sb(o),n=rb(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||Xy(o)&&!n&&kb(e,o))?r=r.filter(e=>e!==o):i=t,o=lb(o)}return t.set(e,r),r}function jb(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Qy(t)?[]:Ab(t,this._c):[].concat(n),r],o=Ob(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=Ob(t,a[e],i);s=ty(n.top,s),c=ey(n.right,c),l=ey(n.bottom,l),u=ty(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Mb(e){let{width:t,height:n}=pb(e);return{width:t,height:n}}
vendor: 7,070 bytes, line 12
12function Nb(e,t,n){let r=Jy(t),i=Gy(t),a=n===`fixed`,o=yb(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=iy(0);function l(){c.x=bb(i)}if(r||!r&&!a)if((Uy(t)!==`body`||Xy(i))&&(s=cb(t)),r){let e=yb(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?xb(i,s):iy(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 Pb(e){return sb(e).position===`static`}function Fb(e,t){if(!Jy(e)||sb(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Gy(e)===n&&(n=n.ownerDocument.body),n}function Ib(e,t){let n=Wy(e);if(Qy(e))return n;if(!Jy(e)){let t=lb(e);for(;t&&!ob(t);){if(qy(t)&&!Pb(t))return t;t=lb(t)}return n}let r=Fb(e,t);for(;r&&Zy(r)&&Pb(r);)r=Fb(r,t);return r&&ob(r)&&Pb(r)&&!rb(r)?n:r||ib(e)||n}var Lb=async function(e){let t=this.getOffsetParent||Ib,n=this.getDimensions,r=await n(e.floating);return{reference:Nb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Rb(e){return sb(e).direction===`rtl`}var zb={convertOffsetParentRelativeRectToViewportRelativeRect:Sb,getDocumentElement:Gy,getClippingRect:jb,getOffsetParent:Ib,getElementRects:Lb,getClientRects:Cb,getDimensions:Mb,getScale:hb,isElement:qy,isRTL:Rb};function Bb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Vb(e,t){let n=null,r,i=Gy(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=ry(d),h=ry(i.clientWidth-(u+f)),g=ry(i.clientHeight-(d+p)),_=ry(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:ty(0,ey(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&&!Bb(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 Hb(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=mb(e),u=i||a?[...l?db(l):[],...t?db(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Vb(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?yb(e):null;c&&g();function g(){let t=yb(e);h&&!Bb(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 Ub=Ry,Wb=zy,Gb=My,Kb=Vy,qb=Fy,Jb=jy,Yb=By,Xb=(e,t,n)=>{let r=new Map,i={platform:zb,...n},a={...i.platform,_c:r};return Ay(e,t,{...i,platform:a})};function Zb(e=0,t=0,n=0,r=0){if(typeof DOMRect==`function`)return new DOMRect(e,t,n,r);let i={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return{...i,toJSON:()=>i}}function Qb(e){if(!e)return Zb();let{x:t,y:n,width:r,height:i}=e;return Zb(t,n,r,i)}function $b(e,t){return{contextElement:gh(e)?e:e?.contextElement,getBoundingClientRect:()=>{let n=e,r=t?.(n);return r||!n?Qb(r):n.getBoundingClientRect()}}}var ex=e=>({variable:e,reference:`var(${e})`}),tx={arrowSize:ex(`--arrow-size`),arrowSizeHalf:ex(`--arrow-size-half`),arrowBg:ex(`--arrow-background`),transformOrigin:ex(`--transform-origin`),arrowOffset:ex(`--arrow-offset`)},nx=e=>e===`top`||e===`bottom`?`y`:`x`;function rx(e,t){return{name:`transformOrigin`,fn(n){let{elements:r,middlewareData:i,placement:a,rects:o,y:s}=n,c=a.split(`-`)[0],l=nx(c),u=i.arrow?.x||0,d=i.arrow?.y||0,f=t?.clientWidth||0,p=t?.clientHeight||0,m=u+f/2,h=d+p/2,g=Math.abs(i.shift?.y||0),_=o.reference.height/2,v=p/2,y=e.offset?.mainAxis??e.gutter,b=typeof y==`number`?y+v:y??v,x=g>b,S={top:`${m}px calc(100% + ${b}px)`,bottom:`${m}px ${-b}px`,left:`calc(100% + ${b}px) ${h}px`,right:`${-b}px ${h}px`}[c],C=`${m}px ${o.reference.y+_-s}px`,w=!!e.overlap&&l===`y`&&x;return r.floating.style.setProperty(tx.transformOrigin.variable,w?C:S),{data:{transformOrigin:w?C:S}}}}}var ix={name:`rects`,fn({rects:e}){return{data:e}}},ax=e=>{if(e)return{name:`shiftArrow`,fn({placement:t,middlewareData:n}){if(!n.arrow)return{};let{x:r,y:i}=n.arrow,a=t.split(`-`)[0];return Object.assign(e.style,{left:r==null?``:`${r}px`,top:i==null?``:`${i}px`,[a]:`calc(100% + ${tx.arrowOffset.reference})`}),{}}}};function ox(e){let[t,n]=e.split(`-`);return{side:t,align:n,hasAlign:n!=null}}function sx(e){return e.split(`-`)[0]}var cx={strategy:`absolute`,placement:`bottom`,listeners:!0,restoreStyles:!1,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function lx(e,t){let n=e.devicePixelRatio||1;return Math.round(t*n)/n}function ux(e,t){return e!=null&&Math.abs(e-t)<.5}function dx(e){return typeof e==`function`?e():e===`clipping-ancestors`?`clippingAncestors`:e}function fx(e,t,n){return Jb({element:e||t.createElement(`div`),padding:n.arrowPadding})}function px(e,t){if(!Wp(t.offset??t.gutter))return Ub(({placement:n})=>{let r=(e?.clientHeight||0)/2,i=t.offset?.mainAxis??t.gutter,a=typeof i==`number`?i+r:i??r,{hasAlign:o}=ox(n),s=o?void 0:t.shift;return um({crossAxis:t.offset?.crossAxis??s,mainAxis:a,alignmentAxis:t.shift})})}function mx(e){if(!e.flip)return;let t=dx(e.boundary);return Gb({...t?{boundary:t}:void 0,padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function hx(e){if(!e.slide&&!e.overlap)return;let t=dx(e.boundary);return Wb({...t?{boundary:t}:void 0,mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:Yb()})}function gx(e){if(e.sizeMiddleware===!1&&!e.sameWidth&&!e.fitViewport)return;let t,n,r,i;return Kb({padding:e.overflowPadding,apply({elements:e,rects:a,availableHeight:o,availableWidth:s}){let c=e.floating,l=Math.round(a.reference.width),u=Math.round(a.reference.height);s=Math.floor(s),o=Math.floor(o),ux(t,l)||(c.style.setProperty(`--reference-width`,`${l}px`),t=l),ux(n,u)||(c.style.setProperty(`--reference-height`,`${u}px`),n=u),ux(r,s)||(c.style.setProperty(`--available-width`,`${s}px`),r=s),ux(i,o)||(c.style.setProperty(`--available-height`,`${o}px`),i=o)}})}function _x(e){if(e.hideWhenDetached)return qb({strategy:`referenceHidden`,boundary:dx(e.boundary)??`clippingAncestors`})}function vx(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}var yx=[`transform`,`visibility`,`pointer-events`,`--x`,`--y`,`--z-index`,`--reference-width`,`--reference-height`,`--available-width`,`--available-height`,`--transform-origin`],bx=[`top`,`right`,`bottom`,`left`];function xx(e,t){if(!e)return nm;let n=new Map(t.map(t=>[t,e.style.getPropertyValue(t)]));return()=>
12{n.forEach((t,n)=>{t?e.style.setProperty(n,t):e.style.removeProperty(n)}),e.style.length===0&&e.removeAttribute(`style`)}}function Sx(e){return e==null?null:gh(e)?e:typeof e==`object`&&e&&`contextElement`in e&&e.contextElement?e.contextElement:e}function Cx(e,t,n={}){let r=()=>(typeof t==`function`?t():t)??null,i=()=>{let t=typeof e==`function`?e():e;return n.getAnchorElement?.()??t},a=()=>{let e=i();return!e&&!n.getAnchorRect?null:$b(e,n.getAnchorRect)},o=Object.assign({},cx,n),s=[],c=null,l,u;function d(e){l?.(),u?.(),c=e,l=o.restoreStyles?xx(e,yx):void 0;let t=e.querySelector(`[data-part=arrow]`);u=o.restoreStyles?xx(t,bx):void 0,s=[px(t,o),mx(o),hx(o),fx(t,e.ownerDocument,o),ax(t),rx({gutter:o.gutter,offset:o.offset,overlap:o.overlap},t),gx(o),_x(o),ix]}let{placement:f,strategy:p,onComplete:m,onPositioned:h}=o,g,_,v=!1,y,b,x=nm,S=vx(o.listeners);function C(){if(!o.listeners)return;let e=i(),t=a(),n=r();!t||!n||(Sx(e)!==Sx(y)||n!==b)&&(x(),y=e,b=n,x=Hb(t,n,E,S))}async function w(){C();let e=r();if(!e)return;e!==c&&(d(e),v=!1);let t=a();if(!t)return;let n=await Xb(t,e,{placement:f,middleware:s,strategy:p});m?.(n);let i=Mh(e),l=lx(i,n.x),u=lx(i,n.y);if(ux(g,l)||(e.style.setProperty(`--x`,`${l}px`),g=l),ux(_,u)||(e.style.setProperty(`--y`,`${u}px`),_=u),o.hideWhenDetached&&(n.middlewareData.hide?.referenceHidden?(e.style.setProperty(`visibility`,`hidden`),e.style.setProperty(`pointer-events`,`none`)):(e.style.removeProperty(`visibility`),e.style.removeProperty(`pointer-events`))),!v){let t=e.firstElementChild;t&&(e.style.setProperty(`--z-index`,Lh(t).zIndex),v=!0)}}async function E(){n.updatePosition?(await n.updatePosition({updatePosition:w,floatingElement:r()}),h?.({placed:!0})):await w()}return E(),()=>{x(),u?.(),l?.(),h?.({placed:!1})}}function wx(e,t,n={}){let{defer:r,...i}=n,a=r?Gg:e=>e(),o=[];return o.push(a(()=>{o.push(Cx(e,t,i))})),()=>{o.forEach(e=>e?.())}}var Tx={bottom:`rotate(45deg)`,left:`rotate(135deg)`,top:`rotate(225deg)`,right:`rotate(315deg)`};function Ex(e={}){let{placement:t,sameWidth:n,fitViewport:r,strategy:i=`absolute`}=e;return{arrow:{position:`absolute`,width:tx.arrowSize.reference,height:tx.arrowSize.reference,[tx.arrowSizeHalf.variable]:`calc(${tx.arrowSize.reference} / 2)`,[tx.arrowOffset.variable]:`calc(${tx.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?Tx[t.split(`-`)[0]]:void 0,background:tx.arrowBg.reference,top:`0`,left:`0`,width:`100%`,height:`100%`,position:`absolute`,zIndex:`inherit`},floating:{position:i,isolation:`isolate`,minWidth:n?void 0:`max-content`,width:n?`var(--reference-width)`:void 0,maxWidth:r?`var(--available-width)`:void 0,maxHeight:r?`var(--available-height)`:void 0,pointerEvents:t?void 0:`none`,top:`0px`,left:`0px`,transform:t?`translate3d(var(--x), var(--y), 0)`:`translate3d(0, -100vh, 0)`,zIndex:`var(--z-index)`}}}var Dx=Qv.extendWith(`view`),Ox=K(`combobox`).parts(`root`,`clearTrigger`,`content`,`control`,`input`,`item`,`itemGroup`,`itemGroupLabel`,`itemIndicator`,`itemText`,`label`,`list`,`positioner`,`trigger`);Ox.build();var kx=Ox.extendWith(`empty`);function Ax(e,t){return e-t*Math.floor(e/t)}var jx=1721426;function Mx(e,t,n,r){t=Px(e,t);let i=t-1,a=-2;return n<=2?a=0:Nx(t)&&(a=-1),jx-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function Nx(e){return e%4==0&&(e%100!=0||e%400==0)}function Px(e,t){return e===`BC`?1-t:t}function Fx(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var Ix={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},Lx=class{fromJulianDay(e){let t=e,n=t-jx,r=Math.floor(n/146097),i=Ax(n,146097),a=Math.floor(i/36524),o=Ax(i,36524),s=Math.floor(o/1461),c=Ax(o,1461),l=Math.floor(c/365),[u,d]=Fx(r*400+a*100+s*4+l+ +(a!==4&&l!==4)),f=t-Mx(u,d,1,1),p=2;t<Mx(u,d,3,1)?p=0:Nx(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new _C(u,d,m,t-Mx(u,d,m,1)+1)}toJulianDay(e){return Mx(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return Ix[Nx(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return Nx(e.year)?366:365}getMaximumMonthsInYear(){return 12}
vendor: 6,637 bytes, line 12
12getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}},Rx={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function zx(e,t){return t=MS(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Bx(e,t){return t=MS(t,e.calendar),e=iS(e),t=iS(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function Vx(e,t){return t=MS(t,e.calendar),e=oS(e),t=oS(t),e.era===t.era&&e.year===t.year}function Hx(e,t){return Gx(e.calendar,t.calendar)&&zx(e,t)}function Ux(e,t){return Gx(e.calendar,t.calendar)&&Bx(e,t)}function Wx(e,t){return Gx(e.calendar,t.calendar)&&Vx(e,t)}function Gx(e,t){return e.isEqual?.call(e,t)??t.isEqual?.call(t,e)??e.identifier===t.identifier}function Kx(e,t){return zx(e,Xx(t))}var qx={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Jx(e,t,n){let r=e.calendar.toJulianDay(e),i=n?qx[n]:pS(t),a=Math.ceil(r+1-i)%7;return a<0&&(a+=7),a}function Yx(e){return kS(Date.now(),e)}function Xx(e){return AS(Yx(e))}function Zx(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Qx(e,t){return $x(e)-$x(t)}function $x(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var eS=null,tS=!1;function nS(){return eS??=new Intl.DateTimeFormat().resolvedOptions().timeZone,eS}function rS(){return tS}function iS(e){return e.subtract({days:e.day-1})}function aS(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function oS(e){return iS(e.subtract({months:e.month-1}))}function sS(e){return aS(e.add({months:e.calendar.getMonthsInYear(e)-e.month}))}function cS(e,t,n){let r=Jx(e,t,n);return e.subtract({days:r})}function lS(e,t,n){return cS(e,t,n).add({days:6})}var uS=new Map,dS=new Map;function fS(e){if(Intl.Locale){let t=uS.get(e);return t||(t=new Intl.Locale(e).maximize().region,t&&uS.set(e,t)),t}let t=e.split(`-`)[1];return t===`u`?void 0:t}function pS(e){let t=dS.get(e);if(!t){if(Intl.Locale){let n=new Intl.Locale(e);if(`getWeekInfo`in n&&(t=n.getWeekInfo(),t))return dS.set(e,t),t.firstDay}let n=fS(e);if(e.includes(`-fw-`)){let n=e.split(`-fw-`)[1].split(`-`)[0];t=n===`mon`?{firstDay:1}:n===`tue`?{firstDay:2}:n===`wed`?{firstDay:3}:n===`thu`?{firstDay:4}:n===`fri`?{firstDay:5}:n===`sat`?{firstDay:6}:{firstDay:0}}else t=e.includes(`-ca-iso8601`)?{firstDay:1}:{firstDay:n&&Rx[n]||0};dS.set(e,t)}return t.firstDay}function mS(e,t,n){let r=e.calendar.getDaysInMonth(e);return Math.ceil((Jx(iS(e),t,n)+r)/7)}function hS(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function gS(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}var _S={AF:[4,5],AE:[5,6],BH:[5,6],DZ:[5,6],EG:[5,6],IL:[5,6],IQ:[5,6],IR:[5,5],JO:[5,6],KW:[5,6],LY:[5,6],OM:[5,6],QA:[5,6],SA:[5,6],SD:[5,6],SY:[5,6],YE:[5,6]};function vS(e,t){let n=e.calendar.toJulianDay(e),r=Math.ceil(n+1)%7;r<0&&(r+=7);let[i,a]=_S[fS(t)]||[6,0];return r===i||r===a}function yS(e){return e=MS(e,new Lx),bS(Px(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function bS(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function xS(e,t){if(t===`UTC`)return 0;if(e>0&&t===nS()&&!rS())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=CS(e,t);return bS(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var SS=new Map;function CS(e,t){let n=SS.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),SS.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var wS=864e5;function TS(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>ES(e,t,n))}function ES(e,t,n){let r=CS(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function DS(e,t,n=`compatible`){let r=jS(e);if(t===`UTC`)return yS(r);if(t===nS()&&n===`compatible`&&!rS()){r=MS(r,new Lx);let e=new Date,t=Px(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=yS(r),a=xS(i-wS,t),o=xS(i+wS,t),s=TS(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function OS(e,t,n=`compatible`){return new Date(DS(e,t,n))}function kS(e,t){let n=xS(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new xC(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function AS(e){return new _C(e.calendar,e.era,e.year,e.month,e.day)}function jS(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new yC(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function MS(e,t){if(Gx(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,HS(r),r}function NS(e,t,n){return e instanceof xC?e.timeZone===t?e:FS(e,t):kS(DS(e,t,n),t)}function PS(e){let t=yS(e)-e.offset;return new Date(t)}function FS(e,t){return MS(kS(yS(e)-e.offset,t),e.calendar)}var IS=36e5;function LS(e,t){let n=e.copy(),r=`hour`in n?XS(n,t):0;RS(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,zS(n),VS(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,BS(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a;let e=(a=n.calendar).isInverseEra?.call(a,n);
vendor: 4,487 bytes, line 12
12n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function RS(e,t){var n;(n=e.calendar).isInverseEra?.call(n,e)&&(t=-t),e.year+=t}function zS(e){for(;e.month<1;)RS(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,RS(e,1)}function BS(e){for(;e.day<1;)e.month--,zS(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,zS(e)}function VS(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function HS(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),VS(e)}function US(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function WS(e,t){return LS(e,US(t))}function GS(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),HS(n),n}function KS(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),JS(n),n}function qS(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=YS(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=YS(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=YS(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=YS(e.hour,24),t}function JS(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function YS(e,t){let n=e%t;return n<0&&(n+=t),n}function XS(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,qS(e)}function ZS(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=$S(a,n,0,t.length-1,r?.round),i.era=t[a],HS(i);break}case`year`:var a;(a=i.calendar).isInverseEra?.call(a,i)&&(n=-n),i.year=$S(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=$S(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=$S(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),HS(i),i}function QS(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=$S(t,n,a,o,r?.round);break}case`minute`:i.minute=$S(e.minute,n,0,59,r?.round);break;case`second`:i.second=$S(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=$S(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function $S(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function eC(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?DS(LS(jS(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):yS(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,MS(kS(n,e.timeZone),e.calendar)}function tC(e,t){return eC(e,US(t))}function nC(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=jS(e),o=MS(KS(a,{hour:t}),new Lx),s=[DS(o,e.timeZone,`earlier`),DS(o,e.timeZone,`later`)].filter(t=>kS(t,e.timeZone).day===o.day)[0],c=MS(KS(a,{hour:i}),new Lx),l=[DS(c,e.timeZone,`earlier`),DS(c,e.timeZone,`later`)].filter(t=>kS(t,e.timeZone).day===c.day).pop(),u=yS(e)-e.offset,d=Math.floor(u/IS),f=u%IS;return u=$S(d,n,Math.floor(s/IS),Math.floor(l/IS),r?.round)*IS+f,MS(kS(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return QS(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return MS(kS(DS(ZS(jS(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}
12function rC(e,t,n){let r=jS(e),i=KS(GS(r,t),t);return i.compare(r)===0?e:MS(kS(DS(i,e.timeZone,n),e.timeZone),e.calendar)}var iC=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,aC=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function oC(e){let t=e.match(iC);if(!t)throw aC.test(e)?Error(`Invalid ISO 8601 date string: ${e}. Use parseAbsolute() instead.`):Error(`Invalid ISO 8601 date string: `+e);let n=new _C(sC(t[1],0,9999),sC(t[2],1,12),1);return n.day=sC(t[3],1,n.calendar.getDaysInMonth(n)),n}function sC(e,t,n){let r=Number(e);if(r<t||r>n)throw RangeError(`Value out of range: ${t} <= ${r} <= ${n}`);return r}function cC(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function lC(e){let t=MS(e,new Lx),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function uC(e){return`${lC(e)}T${cC(e)}`}function dC(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),i=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`;return i!==0&&(a+=`:${String(i).padStart(2,`0`)}`),a}function fC(e){return`${uC(e)}${dC(e.offset)}[${e.timeZone}]`}function pC(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function mC(e,t,n){pC(e,t),t.set(e,n)}function hC(e){let t=typeof e[0]==`object`?e.shift():new Lx,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var gC=new WeakMap,_C=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return LS(this,e)}subtract(e){return WS(this,e)}set(e){return GS(this,e)}cycle(e,t,n){return ZS(this,e,t,n)}toDate(e){return OS(this,e)}toString(){return lC(this)}compare(e){return Zx(this,e)}constructor(...e){mC(this,gC,{writable:!0,value:void 0});let[t,n,r,i,a]=hC(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,HS(this)}},vC=new WeakMap,yC=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return LS(this,e)}subtract(e){return WS(this,e)}set(e){return GS(KS(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return ZS(this,e,t,n);default:return QS(this,e,t,n)}}toDate(e,t){return OS(this,e,t)}toString(){return uC(this)}compare(e){let t=Zx(this,e);return t===0?Qx(this,jS(e)):t}constructor(...e){mC(this,vC,{writable:!0,value:void 0});let[t,n,r,i,a]=hC(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,HS(this)}},bC=new WeakMap,xC=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return eC(this,e)}subtract(e){return tC(this,e)}set(e,t){return rC(this,e,t)}cycle(e,t,n){return nC(this,e,t,n)}toDate(){return PS(this)}toString(){return fC(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-NS(e,this.timeZone).toDate().getTime()}constructor(...e){mC(this,bC,{writable:!0,value:void 0});let[t,n,r,i,a]=hC(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,HS(this)}},SC=K(`date-picker`).parts(`clearTrigger`,`content`,`control`,`input`,`label`,`monthSelect`,`nextTrigger`,`positioner`,`presetTrigger`,`prevTrigger`,`rangeText`,`root`,`table`,`tableBody`,`tableCell`,`tableCellTrigger`,`tableHead`,`tableHeader`,`tableRow`,`trigger`,`view`,`viewControl`,`viewTrigger`,`yearSelect`),CC=SC.build();function wC(e){return Array.isArray(e)?e.map(e=>wC(e)):e instanceof Date?new _C(e.getFullYear(),e.getMonth()+1,e.getDate()):oC(e)}var TC=SC.extendWith(`view`,`valueText`),EC=K(`dialog`).parts(`trigger`,`backdrop`,`positioner`,`content`,`title`,`description`,`closeTrigger`),DC=EC.build(),OC=K(`editable`).parts(`root`,`area`,`label`,`preview`,`input`,`editTrigger`,`submitTrigger`,`cancelTrigger`,`control`);OC.build();var kC=K(`field`).parts(`root`,`errorText`,`helperText`,`input`,`label`,`select`,`textarea`,`requiredIndicator`),AC=kC.build(),jC=K(`fieldset`).parts(`root`,`errorText`,`helperText`,`legend`),MC=jC.build(),NC=K(`file-upload`).parts(`root`,`dropzone`,`item`,`itemDeleteTrigger`,`itemGroup`,`itemName`,`itemPreview`,`itemPreviewImage`,`itemSizeText`,`label`,`trigger`,`clearTrigger`),PC=NC.build(),FC=K(`hoverCard`).parts(`arrow`,`arrowTip`,`trigger`,`positioner`,`content`);FC.build();var IC=K(`listbox`).parts(`label`,`input`,`item`,`itemText`,`itemIndicator`,`itemGroup`,`itemGroupLabel`,`content`,`root`,`valueText`);IC.build();var LC=IC.extendWith(`empty`),RC=K(`marquee`).parts(`root`,`viewport`,`content`,`edge`,`item`);RC.build();var zC=K(`menu`).parts(`arrow`,`arrowTip`,`content`,`contextTrigger`,`indicator`,`item`,`itemGroup`,`itemGroupLabel`,`itemIndicator`,`itemText`,`positioner`,`separator`,`trigger`,`triggerItem`),BC=zC.build(),VC=K(`numberInput`).parts(`root`,`label`,`input`,`control`,`valueText`,`incrementTrigger`,`decrementTrigger`,`scrubber`);VC.build();var HC=K(`pinInput`).parts(`root`,`label`,`input`,`control`);HC.build();var UC=K(`popover`).parts(`arrow`,`arrowTip`,`anchor`,`trigger`,`indicator`,`positioner`,`content`,`title`,`description`,`closeTrigger`),WC=UC.build(),GC=K(`progress`).parts(`root`,`label`,`track`,`range`,`valueText`,`view`,`circle`,`circleTrack`,`circleRange`),KC=GC.build(),qC=K(`qr-code`).parts(`root`,`frame`,`pattern`,`overlay`,`downloadTrigger`);qC.build();var JC=K(`radio-group`).parts(`root`,`label`,`item`,`itemText`,`itemControl`,`indicator`),YC=JC.build(),XC=K(`rating-group`).parts(`root`,`label`,`item`,`control`);XC.build();var ZC=K(`scroll-area`).parts(`root`,`viewport`,`content`,`scrollbar`,`thumb`,`corner`);ZC.build();var QC=JC.rename(`segment-group`),$C=QC.build(),ew=K(`select`).parts(`label`,`positioner`,`trigger`,`indicator`,`clearTrigger`,`item`,`itemText`,`itemIndicator`,`itemGroup`,`itemGroupLabel`,`list`,`content`,`root`,`control`,`valueText`),tw=ew.build(),nw=K(`slider`).parts(`root`,`label`,`thumb`,`valueText`,`track`,`range`,`control`,`markerGroup`,`marker`,`draggingIndicator`);nw.build();var rw=K(`splitter`).parts(`root`,`panel`,`resizeTrigger`,`resizeTriggerIndicator`);rw.build();var iw=K(`switch`).parts(`root`,`label`,`control`,`thumb`),aw=iw.build(),ow=K(`tagsInput`).parts(`root`,`label`,`control`,`input`,`clearTrigger`,`item`,`itemPreview`,`itemInput`,`itemText`,`itemDeleteTrigger`);ow.build();var sw=K(`toast`).parts(`group`,`root`,`title`,`description`,`actionTrigger`,`closeTrigger`).build(),cw=e=>`toast-group:${e}`,lw=(e,t)=>e.getById(`toast-group:${t}`),uw=e=>`toast:${e.id}
12`,dw=e=>e.getById(uw(e)),fw=e=>`toast:${e.id}:title`,pw=e=>`toast:${e.id}:description`,mw=e=>`toast${e.id}:close`,hw={info:5e3,error:5e3,success:2e3,loading:1/0,warning:5e3,DEFAULT:5e3};function gw(e,t){return e??hw[t]??hw.DEFAULT}var _w=e=>typeof e==`string`?{left:e,right:e,bottom:e,top:e}:e;function vw(e,t){let{prop:n,computed:r,context:i}=e,{offsets:a,gap:o}=n(`store`).attrs,s=i.get(`heights`),c=_w(a),l=n(`dir`)===`rtl`,u=t.replace(`-start`,l?`-right`:`-left`).replace(`-end`,l?`-left`:`-right`),d=u.includes(`right`),f=u.includes(`left`),p={position:`fixed`,pointerEvents:r(`count`)>0?void 0:`none`,display:`flex`,flexDirection:`column`,"--gap":`${o}px`,"--first-height":`${s[0]?.height||0}px`,"--viewport-offset-left":c.left,"--viewport-offset-right":c.right,"--viewport-offset-top":c.top,"--viewport-offset-bottom":c.bottom,zIndex:uh},m=`center`;return d&&(m=`flex-end`),f&&(m=`flex-start`),p.alignItems=m,u.includes(`top`)&&(p.top=`max(env(safe-area-inset-top, 0px), ${c.top})`),u.includes(`bottom`)&&(p.bottom=`max(env(safe-area-inset-bottom, 0px), ${c.bottom})`),u.includes(`left`)||(p.insetInlineEnd=`calc(env(safe-area-inset-right, 0px) + ${c.right})`),u.includes(`right`)||(p.insetInlineStart=`calc(env(safe-area-inset-left, 0px) + ${c.left})`),p}function yw(e,t){let{prop:n,context:r,computed:i}=e,a=n(`parent`),o=a.computed(`placement`),{gap:s}=a.prop(`store`).attrs,[c]=o.split(`-`),l=r.get(`mounted`),u=r.get(`remainingTime`),d=i(`height`),f=i(`frontmost`),p=!f,m=!n(`stacked`),h=n(`stacked`),g=n(`type`)===`loading`?2**53-1:u,_=i(`heightIndex`)*s+i(`heightBefore`),v={position:`absolute`,pointerEvents:`auto`,"--opacity":`0`,"--remove-delay":`${n(`removeDelay`)}ms`,"--duration":`${g}ms`,"--initial-height":`${d}px`,"--offset":`${_}px`,"--index":n(`index`),"--z-index":i(`zIndex`),"--lift-amount":`calc(var(--lift) * var(--gap))`,"--y":`100%`,"--x":`0`},y=e=>Object.assign(v,e);return c===`top`?y({top:`0`,"--sign":`-1`,"--y":`-100%`,"--lift":`1`}):c===`bottom`&&y({bottom:`0`,"--sign":`1`,"--y":`100%`,"--lift":`-1`}),l&&(y({"--y":`0`,"--opacity":`1`}),h&&y({"--y":`calc(var(--lift) * var(--offset))`,"--height":`var(--initial-height)`})),t||y({"--opacity":`0`,pointerEvents:`none`}),p&&m&&(y({"--base-scale":`var(--index) * 0.05 + 1`,"--y":`calc(var(--lift-amount) * var(--index))`,"--scale":`calc(-1 * var(--base-scale))`,"--height":`var(--first-height)`}),t||y({"--y":`calc(var(--sign) * 40%)`})),p&&h&&!t&&y({"--y":`calc(var(--lift) * var(--offset) + var(--lift) * -100%)`}),f&&!t&&y({"--y":`calc(var(--lift) * -100%)`}),v}function bw(e,t){let{computed:n}=e,r={position:`absolute`,inset:`0`,scale:`1 2`,pointerEvents:t?`none`:`auto`};return n(`frontmost`)&&!t&&(e=>Object.assign(r,e))({height:`calc(var(--initial-height) + 80%)`}),r}function xw(){return{position:`absolute`,left:`0`,height:`calc(var(--gap) + 2px)`,bottom:`100%`,width:`100%`}}function Sw(e,t){let{context:n,prop:r,send:i,refs:a,computed:o}=e;return{getCount(){return n.get(`toasts`).length},getToasts(){return n.get(`toasts`)},getGroupProps(n={}){let{label:s=`Notifications`}=n,{hotkey:c}=r(`store`).attrs,l=c.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),u=o(`placement`),[d,f=`center`]=u.split(`-`);return t.element({...sw.group.attrs,dir:r(`dir`),tabIndex:-1,role:`region`,"aria-label":`${s}, ${u} (${l})`,id:cw(u),"data-placement":u,"data-side":d,"data-align":f,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`,style:vw(e,u),onMouseEnter(){a.get(`ignoreMouseTimer`).isActive()||i({type:`REGION.POINTER_ENTER`,placement:u})},onMouseMove(){a.get(`ignoreMouseTimer`).isActive()||i({type:`REGION.POINTER_ENTER`,placement:u})},onMouseLeave(){a.get(`ignoreMouseTimer`).isActive()||i({type:`REGION.POINTER_LEAVE`,placement:u})},onFocus(e){i({type:`REGION.FOCUS`,target:e.relatedTarget})},onBlur(e){a.get(`isFocusWithin`)&&!kh(e.currentTarget,e.relatedTarget)&&queueMicrotask(()=>i({type:`REGION.BLUR`}))}})},subscribe(e){return r(`store`).subscribe(()=>e(n.get(`toasts`)))}}}var{guards:Cw,createMachine:ww}=eh(),{and:Tw}=Cw,Ew=ww({props({props:e}){return{dir:`ltr`,id:im(),...e,store:e.store}},initialState({prop:e}){return e(`store`).attrs.overlap?`overlap`:`stack`},refs(){return{lastFocusedEl:null,isFocusWithin:!1,isPointerWithin:!1,ignoreMouseTimer:Wg.create(),dismissableCleanup:void 0}},context({bindable:e}){return{toasts:e(()=>({defaultValue:[],sync:!0,hash:e=>e.map(e=>e.id).join(`,`)})),heights:e(()=>({defaultValue:[],sync:!0}))}},computed:{count:({context:e})=>e.get(`toasts`).length,overlap:({prop:e})=>e(`store`).attrs.overlap,placement:({prop:e})=>e(`store`).attrs.placement},effects:[`subscribeToStore`,`trackDocumentVisibility`,`trackHotKeyPress`],watch({track:e,context:t,action:n}){e([()=>t.hash(`toasts`)],()=>{queueMicrotask(()=>{n([`collapsedIfEmpty`,`setDismissableBranch`])})})},exit:[`clearDismissableBranch`,`clearLastFocusedEl`,`clearMouseEventTimer`],on:{"DOC.HOTKEY":{actions:[`focusRegionEl`]},"REGION.BLUR":[{guard:Tw(`isOverlapping`,`isPointerOut`),target:`overlap`,actions:[`collapseToasts`,`resumeToasts`,`restoreFocusIfPointerOut`]},{guard:`isPointerOut`,target:`stack`,actions:[`resumeToasts`,`restoreFocusIfPointerOut`]},{actions:[`clearFocusWithin`]}],"TOAST.REMOVE":{actions:[`removeToast`,`removeHeight`,`ignoreMouseEventsTemporarily`]},"TOAST.PAUSE":{actions:[`pauseToasts`]}},states:{stack:{on:{"REGION.POINTER_LEAVE":[{guard:`isOverlapping`,target:`overlap`,actions:[`clearPointerWithin`,`resumeToasts`,`collapseToasts`]},{actions:[`clearPointerWithin`,`resumeToasts`]}],"REGION.OVERLAP":{target:`overlap`,actions:[`collapseToasts`]},"REGION.FOCUS":{actions:[`setLastFocusedEl`,`pauseToasts`]},"REGION.POINTER_ENTER":{actions:[`setPointerWithin`,`pauseToasts`]}}},overlap:{on:{"REGION.STACK":{target:`stack`,actions:[`expandToasts`]},"REGION.POINTER_ENTER":{target:`stack`,actions:[`setPointerWithin`,`pauseToasts`,`expandToasts`]},"REGION.FOCUS":{target:`stack`,actions:[`setLastFocusedEl`,`pauseToasts`,`expandToasts`]}}}},implementations:{guards:{isOverlapping:({computed:e})=>e(`overlap`),isPointerOut:({refs:e})=>!e.get(`isPointerWithin`)},effects:{subscribeToStore({context:e,prop:t}){let n=t(`store`);return e.set(`toasts`,n.getVisibleToasts()),n.subscribe(t=>
vendor: 4,876 bytes, line 12
12{if(t.dismiss){e.set(`toasts`,e=>e.filter(e=>e.id!==t.id));return}e.set(`toasts`,e=>{let n=e.findIndex(e=>e.id===t.id);return n===-1?[t,...e]:[...e.slice(0,n),{...e[n],...t},...e.slice(n+1)]})})},trackHotKeyPress({prop:e,send:t}){return Eg(document,`keydown`,n=>{let{hotkey:r}=e(`store`).attrs;r.every(e=>n[e]||n.code===e)&&t({type:`DOC.HOTKEY`})},{capture:!0})},trackDocumentVisibility({prop:e,send:t,scope:n}){let{pauseOnPageIdle:r}=e(`store`).attrs;if(!r)return;let i=n.getDoc();return Eg(i,`visibilitychange`,()=>{t({type:i.visibilityState===`hidden`?`PAUSE_ALL`:`RESUME_ALL`})})}},actions:{setDismissableBranch({refs:e,context:t,computed:n,scope:r}){let i=t.get(`toasts`),a=n(`placement`),o=i.length>0;if(!o){e.get(`dismissableCleanup`)?.();return}if(o&&e.get(`dismissableCleanup`))return;let s=Sv(()=>lw(r,a),{defer:!0});e.set(`dismissableCleanup`,s)},clearDismissableBranch({refs:e}){e.get(`dismissableCleanup`)?.()},focusRegionEl({scope:e,computed:t}){queueMicrotask(()=>{lw(e,t(`placement`))?.focus()})},pauseToasts({prop:e}){e(`store`).pause()},resumeToasts({prop:e}){e(`store`).resume()},expandToasts({prop:e}){e(`store`).expand()},collapseToasts({prop:e}){e(`store`).collapse()},removeToast({prop:e,event:t}){e(`store`).remove(t.id)},removeHeight({event:e,context:t}){e?.id!=null&&queueMicrotask(()=>{t.set(`heights`,t=>t.filter(t=>t.id!==e.id))})},collapsedIfEmpty({send:e,computed:t}){!t(`overlap`)||t(`count`)>1||e({type:`REGION.OVERLAP`})},setLastFocusedEl({refs:e,event:t}){e.get(`isFocusWithin`)||!t.target||(e.set(`isFocusWithin`,!0),e.set(`lastFocusedEl`,t.target))},restoreFocusIfPointerOut({refs:e}){!e.get(`lastFocusedEl`)||e.get(`isPointerWithin`)||(e.get(`lastFocusedEl`)?.focus({preventScroll:!0}),e.set(`lastFocusedEl`,null),e.set(`isFocusWithin`,!1))},setPointerWithin({refs:e}){e.set(`isPointerWithin`,!0)},clearPointerWithin({refs:e}){e.set(`isPointerWithin`,!1),e.get(`lastFocusedEl`)&&!e.get(`isFocusWithin`)&&(e.get(`lastFocusedEl`)?.focus({preventScroll:!0}),e.set(`lastFocusedEl`,null))},clearFocusWithin({refs:e}){e.set(`isFocusWithin`,!1)},clearLastFocusedEl({refs:e}){e.get(`lastFocusedEl`)&&(e.get(`lastFocusedEl`)?.focus({preventScroll:!0}),e.set(`lastFocusedEl`,null),e.set(`isFocusWithin`,!1))},ignoreMouseEventsTemporarily({refs:e}){e.get(`ignoreMouseTimer`).request()},clearMouseEventTimer({refs:e}){e.get(`ignoreMouseTimer`).cancel()}}}});function Dw(e,t){let{state:n,send:r,prop:i,scope:a,context:o,computed:s}=e,c=i(`translations`),l=n.hasTag(`visible`),u=n.hasTag(`paused`),d=o.get(`mounted`),f=s(`frontmost`),p=i(`parent`).computed(`placement`),m=i(`type`),h=i(`stacked`),g=i(`title`),_=i(`description`),v=i(`action`),[y,b=`center`]=p.split(`-`);return{type:m,title:g,description:_,placement:p,visible:l,paused:u,closable:!!i(`closable`),pause(){r({type:`PAUSE`})},resume(){r({type:`RESUME`})},dismiss(){r({type:`DISMISS`,src:`programmatic`})},getRootProps(){return t.element({...sw.root.attrs,dir:i(`dir`),id:uw(a),"data-state":l?`open`:`closed`,"data-type":m,"data-placement":p,"data-align":b,"data-side":y,"data-mounted":dh(d),"data-paused":dh(u),"data-first":dh(f),"data-sibling":dh(!f),"data-stack":dh(h),"data-overlap":dh(!h),role:`status`,"aria-atomic":`true`,"aria-describedby":_?pw(a):void 0,"aria-labelledby":g?fw(a):void 0,tabIndex:0,style:yw(e,l),onKeyDown(e){e.defaultPrevented||e.key==`Escape`&&(r({type:`DISMISS`,src:`keyboard`}),e.preventDefault())}})},getGhostBeforeProps(){return t.element({"data-ghost":`before`,style:bw(e,l)})},getGhostAfterProps(){return t.element({"data-ghost":`after`,style:xw()})},getTitleProps(){return t.element({...sw.title.attrs,id:fw(a)})},getDescriptionProps(){return t.element({...sw.description.attrs,id:pw(a)})},getActionTriggerProps(){return t.button({...sw.actionTrigger.attrs,type:`button`,onClick(e){e.defaultPrevented||(v?.onClick?.(),r({type:`DISMISS`,src:`user`}))}})},getCloseTriggerProps(){return t.button({id:mw(a),...sw.closeTrigger.attrs,type:`button`,"aria-label":c?.closeTriggerLabel,onClick(e){e.defaultPrevented||r({type:`DISMISS`,src:`user`})}})}}}var{not:Ow}=Qm(),kw=$m({props({props:e}){return ym(e,[`id`,`type`,`parent`,`removeDelay`],`toast`),{closable:!0,...e,translations:{closeTriggerLabel:`Dismiss notification`,...e.translations},duration:gw(e.duration,e.type)}},initialState({prop:e}){return e(`type`)===`loading`||e(`duration`)===1/0?`visible:persist`:`visible`},context({prop:e,bindable:t}){return{remainingTime:t(()=>({defaultValue:gw(e(`duration`),e(`type`))})),createdAt:t(()=>({defaultValue:Date.now()})),mounted:t(()=>({defaultValue:!1})),initialHeight:t(()=>({defaultValue:0}))}},refs(){return{closeTimerStartTime:Date.now(),lastCloseStartTimerStartTime:0}},computed:{zIndex:({prop:e})=>{let t=e(`parent`).context.get(`toasts`),n=t.findIndex(t=>t.id===e(`id`));return t.length-n},height:({prop:e})=>e(`parent`).context.get(`heights`).find(t=>
vendor: 4,135 bytes, line 12
12t.id===e(`id`))?.height??0,heightIndex:({prop:e})=>e(`parent`).context.get(`heights`).findIndex(t=>t.id===e(`id`)),frontmost:({prop:e})=>e(`index`)===0,heightBefore:({prop:e})=>{let t=e(`parent`).context.get(`heights`),n=t.findIndex(t=>t.id===e(`id`));return t.reduce((e,t,r)=>r>=n?e:e+t.height,0)},shouldPersist:({prop:e})=>e(`type`)===`loading`||e(`duration`)===1/0},watch({track:e,prop:t,send:n}){e([()=>t(`message`)],()=>{let e=t(`message`);e&&n({type:e,src:`programmatic`})}),e([()=>t(`type`),()=>t(`duration`)],()=>{n({type:`UPDATE`})})},on:{UPDATE:[{guard:`shouldPersist`,target:`visible:persist`,actions:[`resetCloseTimer`]},{target:`visible:updating`,actions:[`resetCloseTimer`]}],MEASURE:{actions:[`measureHeight`]}},entry:[`setMounted`,`measureHeight`,`invokeOnVisible`],effects:[`trackHeight`],states:{"visible:updating":{tags:[`visible`,`updating`],effects:[`waitForNextTick`],on:{SHOW:{target:`visible`}}},"visible:persist":{tags:[`visible`,`paused`],on:{RESUME:{guard:Ow(`isLoadingType`),target:`visible`,actions:[`setCloseTimer`]},DISMISS:{target:`dismissing`}}},visible:{tags:[`visible`],effects:[`waitForDuration`],on:{DISMISS:{target:`dismissing`},PAUSE:{target:`visible:persist`,actions:[`syncRemainingTime`]}}},dismissing:{entry:[`invokeOnDismiss`],effects:[`waitForRemoveDelay`],on:{REMOVE:{target:`unmounted`,actions:[`notifyParentToRemove`]}}},unmounted:{entry:[`invokeOnUnmount`]}},implementations:{effects:{waitForRemoveDelay({prop:e,send:t}){return hm(()=>{t({type:`REMOVE`,src:`timer`})},e(`removeDelay`))},waitForDuration({send:e,context:t,computed:n}){if(!n(`shouldPersist`))return hm(()=>{e({type:`DISMISS`,src:`timer`})},t.get(`remainingTime`))},waitForNextTick({send:e}){return hm(()=>{e({type:`SHOW`,src:`timer`})},0)},trackHeight({scope:e,prop:t}){let n;return Gg(()=>{let r=dw(e);if(!r)return;let i=new(e.getWin()).MutationObserver(()=>{let e=r.style.height;r.style.height=`auto`;let n=r.getBoundingClientRect().height;r.style.height=e;let i={id:t(`id`),height:n};Aw(t(`parent`),i)});i.observe(r,{childList:!0,subtree:!0,characterData:!0}),n=()=>i.disconnect()}),()=>n?.()}},guards:{isLoadingType:({prop:e})=>e(`type`)===`loading`,shouldPersist:({computed:e})=>e(`shouldPersist`)},actions:{setMounted({context:e}){Gg(()=>{e.set(`mounted`,!0)})},measureHeight({scope:e,prop:t,context:n}){queueMicrotask(()=>{let r=dw(e);if(!r)return;let i=r.style.height;r.style.height=`auto`;let a=r.getBoundingClientRect().height;r.style.height=i,n.set(`initialHeight`,a);let o={id:t(`id`),height:a};Aw(t(`parent`),o)})},setCloseTimer({refs:e}){e.set(`closeTimerStartTime`,Date.now())},resetCloseTimer({context:e,refs:t,prop:n}){t.set(`closeTimerStartTime`,Date.now()),e.set(`remainingTime`,gw(n(`duration`),n(`type`)))},syncRemainingTime({context:e,refs:t}){e.set(`remainingTime`,e=>{let n=t.get(`closeTimerStartTime`),r=Date.now()-n;return t.set(`lastCloseStartTimerStartTime`,Date.now()),e-r})},notifyParentToRemove({prop:e}){e(`parent`).send({type:`TOAST.REMOVE`,id:e(`id`)})},invokeOnDismiss({prop:e,event:t}){e(`onStatusChange`)?.({status:`dismissing`,src:t.src})},invokeOnUnmount({prop:e}){e(`onStatusChange`)?.({status:`unmounted`})},invokeOnVisible({prop:e}){e(`onStatusChange`)?.({status:`visible`})}}}});function Aw(e,t){let{id:n,height:r}=t;e.context.set(`heights`,e=>e.find(e=>e.id===n)?e.map(e=>e.id===n?{...e,height:r}:e):[{id:n,height:r},...e])}var jw=(e,t)=>({...t,...um(e)}),Mw={error:[1,2],warning:[3,6],loading:[4,5],success:[5,7],info:[6,8]},Nw=`info`,Pw=(e,t)=>{let[n,r]=Mw[e??Nw];return t?n:r},Fw=e=>e.sort((e,t)=>(e.priority??Pw(e.type,!!e.action))-(t.priority??Pw(t.type,!!t.action)));function Iw(e={}){let t=jw(e,{placement:`bottom`,overlap:!1,max:24,gap:16,offsets:`1rem`,hotkey:[`altKey`,`KeyT`],removeDelay:200,pauseOnPageIdle:!0}),n=[],r=[],i=new Set,a=[],o=e=>(n.push(e),()=>{let t=n.indexOf(e);n.splice(t,1)}),s=e=>(n.forEach(t=>t(e)),e),c=e=>{if(r.length>=t.max){a.push(e);return}s(e),r.unshift(e)},l=()=>{for(a=Fw(a);a.length>0&&r.length<t.max;){let e=a.shift();e&&(s(e),r.unshift(e))}},u=e=>{let n=e.id??`toast:${im()}`,a=r.find(e=>e.id===n);if(i.has(n)&&i.delete(n),a)r=r.map(t=>
12t.id===n?s({...t,...e,id:n}):t);else{let r={id:n,duration:t.duration,removeDelay:t.removeDelay,type:Nw,...e,stacked:!t.overlap,gap:t.gap},i=r.priority??Pw(r.type,!!r.action);c({...r,priority:i})}return n},d=e=>(i.add(e),e?(n.forEach(t=>t({id:e,dismiss:!0})),r=r.filter(t=>t.id!==e),l()):(r.forEach(e=>{n.forEach(t=>t({id:e.id,dismiss:!0}))}),r=[],a=[]),e);return{attrs:t,subscribe:o,create:u,update:(e,t)=>u({id:e,...t}),remove:d,dismiss:e=>{r=e==null?r.map(e=>s({...e,message:`DISMISS`})):r.map(t=>t.id===e?s({...t,message:`DISMISS`}):t)},error:e=>u({...e,type:`error`}),success:e=>u({...e,type:`success`}),info:e=>u({...e,type:`info`}),warning:e=>u({...e,type:`warning`}),loading:e=>u({...e,type:`loading`}),getVisibleToasts:()=>r.filter(e=>!i.has(e.id)),getCount:()=>r.length,promise:(e,t,n={})=>{if(!t||!t.loading){gm(`[zag-js > toast] toaster.promise() requires at least a 'loading' option to be specified`);return}let r=u({...n,...t.loading,promise:e,type:`loading`}),i=!0,a,o=$p(e).then(async e=>{if(a=[`resolve`,e],Lw(e)&&!e.ok){i=!1;let a=$p(t.error,`HTTP Error! status: ${e.status}`);u({...n,...a,id:r,type:`error`})}else if(t.success!==void 0){i=!1;let a=$p(t.success,e);u({...n,...a,id:r,type:a.type??`success`})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let a=$p(t.error,e);u({...n,...a,id:r,type:`error`})}}).finally(()=>{i&&d(r),t.finally?.()});return{id:r,unwrap:()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t))}},pause:e=>{r=e==null?r.map(e=>s({...e,message:`PAUSE`})):r.map(t=>t.id===e?s({...t,message:`PAUSE`}):t)},resume:e=>{r=e==null?r.map(e=>s({...e,message:`RESUME`})):r.map(t=>t.id===e?s({...t,message:`RESUME`}):t)},isVisible:e=>!i.has(e)&&!!r.find(t=>t.id===e),isDismissed:e=>i.has(e),expand:()=>{r=r.map(e=>s({...e,stacked:!0}))},collapse:()=>{r=r.map(e=>s({...e,stacked:!1}))}}}var Lw=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,Rw={connect:Sw,machine:Ew},zw=K(`tooltip`).parts(`trigger`,`arrow`,`arrowTip`,`positioner`,`content`),Bw=zw.build(),Vw=(e,t)=>{let n=e.ids?.trigger;return n==null?t?`tooltip:${e.id}:trigger:${t}`:`tooltip:${e.id}:trigger`:Up(n)?n(t):n},Hw=e=>e.ids?.content??`tooltip:${e.id}:content`,Uw=e=>e.ids?.arrow??`tooltip:${e.id}:arrow`,Ww=e=>e.ids?.positioner??`tooltip:${e.id}:popper`,Gw=e=>e.getById(Ww(e)),Kw=e=>t_(e.getDoc(),`[data-scope="tooltip"][data-part="trigger"][data-ownedby="${e.id}"]`),qw=(e,t)=>t==null?Kw(e)[0]:e.getById(Vw(e,t)),Jw=dm({id:null,prevId:null,instant:!1});function Yw(e,t){let{state:n,context:r,send:i,scope:a,prop:o,event:s}=e,c=o(`id`),l=!!o(`aria-label`),u=n.matches(`open`,`closing`),d=r.get(`triggerValue`),f=Hw(a),p=o(`disabled`),m=Ex({...o(`positioning`),placement:r.get(`currentPlacement`)});return{open:u,setOpen(e){n.matches(`open`,`closing`)!==e&&i({type:e?`open`:`close`})},triggerValue:d,setTriggerValue(e){i({type:`triggerValue.set`,value:e??void 0})},reposition(e={}){i({type:`positioning.set`,options:e})},getTriggerProps(e={}){let{value:n}=e,r=n==null?!1:d===n,s=Vw(a,n);return t.button({...Bw.trigger.attrs,id:s,"data-ownedby":a.id,"data-value":n,"data-current":dh(r),dir:o(`dir`),"data-expanded":dh(u),"data-state":u?`open`:`closed`,"aria-describedby":u?f:void 0,onClick(e){e.defaultPrevented||p||o(`closeOnClick`)&&i({type:u&&n!=null&&!r?`triggerValue.set`:`close`,src:`trigger.click`,value:n,triggerId:s})},onFocus(e){e.defaultPrevented||p||Kv()&&i({type:u&&n!=null&&!r?`triggerValue.set`:`open`,src:`trigger.focus`,value:n,triggerId:s})},onBlur(e){e.defaultPrevented||p||c===Jw.get(`id`)&&((e.relatedTarget??a.getDoc().activeElement)?.closest(`[data-ownedby="${a.id}"]`)??i({type:`close`,src:`trigger.blur`,value:n,triggerId:s}))},onPointerDown(e){e.defaultPrevented||p||_g(e)&&o(`closeOnPointerDown`)&&c===Jw.get(`id`)&&i({type:`close`,src:`trigger.pointerdown`,value:n,triggerId:s})},onPointerMove(e){e.defaultPrevented||p||e.pointerType!==`touch`&&i({type:u&&n!=null&&!r?`triggerValue.set`:`pointer.move`,value:n,triggerId:s})},onPointerOver(e){e.defaultPrevented||p||e.pointerType!==`touch`&&i({type:`pointer.move`,value:n,triggerId:s})},onPointerLeave(){p||i({type:`pointer.leave`})},onPointerCancel(){p||i({type:`pointer.leave`})}})},getArrowProps(){return t.element({id:Uw(a),...Bw.arrow.attrs,dir:o(`dir`),style:m.arrow})},getArrowTipProps(){return t.element({...Bw.arrowTip.attrs,dir:o(`dir`),style:m.arrowTip})},getPositionerProps(){return t.element({id:Ww(a),...Bw.positioner.attrs,dir:o(`dir`),style:m.floating})},getContentProps(){let e=Jw.get(`id`)===c,n=Jw.get(`prevId`)===c,a=Jw.get(`instant`)&&(u&&e||n);return t.element({...Bw.content.attrs,dir:o(`dir`),hidden:!u,"data-state":u?`open`:`closed`,"data-instant":dh(a),role:l?void 0:`tooltip`,id:l?void 0:f,"data-
12placement":r.get(`currentPlacement`),onPointerEnter(){i({type:`content.pointer.move`})},onPointerLeave(){i({type:`content.pointer.leave`})},style:{pointerEvents:o(`interactive`)?`auto`:`none`}})}}}var{and:Xw,not:Zw}=Qm(),Qw=$m({initialState:({prop:e})=>e(`open`)||e(`defaultOpen`)?`open`:`closed`,props({props:e}){ym(e,[`id`]);let t=e.closeOnClick??!0,n=e.closeOnPointerDown??t;return{openDelay:400,closeDelay:150,closeOnEscape:!0,interactive:!1,closeOnScroll:!0,disabled:!1,...e,closeOnPointerDown:n,closeOnClick:t,positioning:{placement:`bottom`,...e.positioning}}},effects:[`trackFocusVisible`,`trackStore`],context:({bindable:e,prop:t,scope:n})=>({currentPlacement:e(()=>({defaultValue:void 0})),hasPointerMoveOpened:e(()=>({defaultValue:null})),triggerValue:e(()=>({defaultValue:t(`defaultTriggerValue`)??null,value:t(`triggerValue`),onChange(e){let r=t(`onTriggerValueChange`);r&&r({value:e,triggerElement:qw(n,e)})}}))}),watch({track:e,action:t,prop:n}){e([()=>n(`disabled`)],()=>{t([`closeIfDisabled`])}),e([()=>n(`open`)],()=>{t([`toggleVisibility`])}),e([()=>n(`triggerValue`)],()=>{t([`repositionImmediate`])})},on:{"triggerValue.set":{actions:[`setTriggerValue`,`repositionImmediate`]}},states:{closed:{entry:[`clearGlobalId`],on:{"controlled.open":{target:`open`},open:[{guard:`isOpenControlled`,actions:[`setTriggerValue`,`invokeOnOpen`]},{target:`open`,actions:[`setTriggerValue`,`invokeOnOpen`]}],"pointer.leave":{actions:[`clearPointerMoveOpened`]},"pointer.move":[{guard:Xw(`noVisibleTooltip`,Zw(`hasPointerMoveOpened`)),target:`opening`,actions:[`setTriggerValue`]},{guard:Zw(`hasPointerMoveOpened`),target:`open`,actions:[`setPointerMoveOpened`,`invokeOnOpen`,`setTriggerValue`]}]}},opening:{effects:[`trackScroll`,`trackPointerlockChange`,`waitForOpenDelay`],on:{"after.openDelay":[{guard:`isOpenControlled`,actions:[`setPointerMoveOpened`,`invokeOnOpen`]},{target:`open`,actions:[`setPointerMoveOpened`,`invokeOnOpen`]}],"controlled.open":{target:`open`},"controlled.close":{target:`closed`},open:[{guard:`isOpenControlled`,actions:[`setTriggerValue`,`invokeOnOpen`]},{target:`open`,actions:[`setTriggerValue`,`invokeOnOpen`]}],"pointer.leave":[{guard:`isOpenControlled`,actions:[`clearPointerMoveOpened`,`invokeOnClose`,`toggleVisibility`]},{target:`closed`,actions:[`clearPointerMoveOpened`,`invokeOnClose`]}],close:[{guard:`isOpenControlled`,actions:[`invokeOnClose`,`toggleVisibility`]},{target:`closed`,actions:[`invokeOnClose`]}]}},open:{effects:[`trackEscapeKey`,`trackScroll`,`trackPointerlockChange`,`trackPositioning`],entry:[`setGlobalId`],on:{"controlled.close":{target:`closed`},close:[{guard:`isOpenControlled`,actions:[`invokeOnClose`]},{target:`closed`,actions:[`invokeOnClose`]}],"pointer.leave":[{guard:`isVisible`,target:`closing`,actions:[`clearPointerMoveOpened`]},{guard:`isOpenControlled`,actions:[`clearPointerMoveOpened`,`invokeOnClose`]},{target:`closed`,actions:[`clearPointerMoveOpened`,`invokeOnClose`]}],"content.pointer.leave":{guard:`isInteractive`,target:`closing`},"positioning.set":{actions:[`reposition`]},"triggerValue.set":{target:`closing`,actions:[`setTriggerValue`,`immediateReopen`]}}},closing:{effects:[`trackPositioning`,`waitForCloseDelay`],on:{"after.closeDelay":[{guard:`isOpenControlled`,actions:[`invokeOnClose`]},{target:`closed`,actions:[`invokeOnClose`]}],"controlled.close":{target:`closed`},"controlled.open":{target:`open`},close:[{guard:`isOpenControlled`,actions:[`invokeOnClose`]},{target:`closed`,actions:[`invokeOnClose`]}],"pointer.move":[{guard:`isOpenControlled`,actions:[`setPointerMoveOpened`,`setTriggerValue`,`invokeOnOpen`,`toggleVisibility`]},{target:`open`,actions:[`setPointerMoveOpened`,`setTriggerValue`,`invokeOnOpen`]}],"triggerValue.set":{target:`open`,actions:[`setTriggerValue`,`repositionImmediate`]},reopen:{target:`open`},"content.pointer.move":{guard:`isInteractive`,target:`open`},"positioning.set":{actions:[`reposition`]}}}},implementations:{guards:{noVisibleTooltip:()=>Jw.get(`id`)===null,isVisible:({prop:e})=>e(`id`)===Jw.get(`id`),isInteractive:({prop:e})=>!!e(`interactive`),hasPointerMoveOpened:({context:e})=>!!e.get(`hasPointerMoveOpened`),isOpenControlled:({prop:e})=>e(`open`)!==void 0},actions:{setGlobalId:({prop:e})=>{let t=Jw.get(`id`),n=t!==null&&t!==e(`id`);Jw.update({id:e(`id`),prevId:n?t:null,instant:n})},clearGlobalId:({prop:e})=>{e(`id`)===Jw.get(`id`)&&Jw.update({id:null,prevId:null,instant:!1})},invokeOnOpen:({prop:e})=>{e(`onOpenChange`)?.({open:!0})},invokeOnClose:({prop:e})=>{e(`onOpenChange`)?.({open:!1})},closeIfDisabled:({prop:e,send:t})=>{e(`disabled`)&&t({type:`close`,src:`disabled.change`})},reposition:({context:e,event:t,prop:n,scope:r})=>{t.type===`positioning.set`&&wx(()=>qw(r,e.get(`triggerValue`)),()=>Gw(r),{...n(`positioning`),...t.options,listeners:!1,onComplete(t){e.set(`currentPlacement`,t.placement)}})},repositionImmediate:({context:e,event:t,prop:n,scope:r})=>{let i=t.value??e.get(`triggerValue`);return wx(()=>qw(r,i),()=>Gw(r),{...n(`positioning`),onComplete(t){e.set(`currentPlacement`,t.placement)}})},toggleVisibility:({prop:e,event:t,send:n})=>{queueMicrotask(()=>{n({type:e(`open`)?`controlled.open`:`controlled.close`,previousEvent:t})})},setPointerMoveOpened:({context:e,event:t})=>{let n=t.triggerId??t.previousEvent?.triggerId;e.set(`hasPointerMoveOpened`,n??null)},clearPointerMoveOpened:({context:e})=>{e.set(`hasPointerMoveOpened`,null)},setTriggerValue:({context:e,event:t})=>{t.value!==void 0&&e.set(`triggerValue`,t.value)},immediateReopen:({send:e})=>{queueMicrotask(()=>{e({type:`reopen`})})}},effects:{trackFocusVisible:({scope:e})=>qv({root:e.getRootNode?.()}),trackPositioning:({context:e,prop:t,scope:n})=>(e.get(`currentPlacement`)||e.set(`currentPlacement`,t(`positioning`).placement),wx(()=>qw(n,e.get(`triggerValue`)),()=>Gw(n),{...t(`positioning`),defer:!0,onComplete(t){e.set(`currentPlacement`,t.placement)}})),trackPointerlockChange:({send:e,scope:t})=>Eg(t.getDoc(),`pointerlockchange`,()=>e({type:`close`,src:`pointerlock:change`}),!1),trackScroll:({send:e,prop:t,scope:n,context:r})=>{if(!t(`closeOnScroll`))return;let i=qw(n,r.get(`triggerValue`));if(!i)return;let a=Yg(i).map(t=>Eg(t,`scroll`,()=>{e({type:`close`,src:`scroll`})},{passive:!0,capture:!0}));return()=>
12{a.forEach(e=>e?.())}},trackStore:({prop:e,send:t})=>{let n;return queueMicrotask(()=>{n=Jw.subscribe(()=>{Jw.get(`id`)!==e(`id`)&&t({type:`close`,src:`id.change`})})}),()=>n?.()},trackEscapeKey:({send:e,prop:t})=>t(`closeOnEscape`)?Eg(document,`keydown`,t=>{pg(t)||t.key===`Escape`&&(t.stopPropagation(),e({type:`close`,src:`keydown.escape`}))},!0):void 0,waitForOpenDelay:({send:e,prop:t,event:n})=>{let r=setTimeout(()=>{e({type:`after.openDelay`,previousEvent:n})},t(`openDelay`));return()=>clearTimeout(r)},waitForCloseDelay:({send:e,prop:t,event:n})=>{let r=setTimeout(()=>{e({type:`after.closeDelay`,previousEvent:n})},t(`closeDelay`));return()=>clearTimeout(r)}}}}),$w=K(`tree-view`).parts(`branch`,`branchContent`,`branchControl`,`branchIndentGuide`,`branchIndicator`,`branchText`,`branchTrigger`,`item`,`itemIndicator`,`itemText`,`label`,`nodeCheckbox`,`nodeRenameInput`,`root`,`tree`);$w.build();var eT=e=>{let{children:t,disabled:n}=e,[r,i]=(0,V.useState)(e.container?.current),a=(0,V.useSyncExternalStore)(nT,()=>!1,()=>!0),{getRootNode:o}=Cm();if((0,V.useEffect)(()=>{i(()=>e.container?.current)},[e.container]),a||n)return(0,H.jsx)(H.Fragment,{children:t});let s=r??tT(o);return(0,H.jsx)(H.Fragment,{children:V.Children.map(t,e=>(0,ac.createPortal)(e,s))})},tT=e=>{let t=e?.(),n=t.getRootNode();return Sh(n)?n:Ah(t).body},nT=()=>()=>{},rT=e=>Iw(e),[iT,aT]=xm({name:`ToastContext`,hookName:`useToastContext`,providerName:`<ToastProvider />`}),oT=(0,V.forwardRef)((e,t)=>{let n=km(aT().getActionTriggerProps(),e);return(0,H.jsx)(g_.button,{...n,ref:t})});oT.displayName=`ToastActionTrigger`;var sT=(0,V.forwardRef)((e,t)=>{let n=km(aT().getCloseTriggerProps(),e);return(0,H.jsx)(g_.button,{...n,ref:t})});sT.displayName=`ToastCloseTrigger`;var cT=e=>e.children(aT()),lT=(0,V.forwardRef)((e,t)=>{let n=km(aT().getDescriptionProps(),e);return(0,H.jsx)(g_.div,{...n,ref:t})});lT.displayName=`ToastDescription`;var uT=(0,V.forwardRef)((e,t)=>{let n=aT();return(0,H.jsxs)(`div`,{...km(n.getRootProps(),e),ref:t,children:[(0,H.jsx)(`div`,{...n.getGhostBeforeProps()}),e.children,(0,H.jsx)(`div`,{...n.getGhostAfterProps()})]})});uT.displayName=`ToastRoot`;var dT=(0,V.forwardRef)((e,t)=>{let n=km(aT().getTitleProps(),e);return(0,H.jsx)(g_.div,{...n,ref:t})});dT.displayName=`ToastTitle`;var fT=(0,V.forwardRef)((e,t)=>{let{toaster:n,children:r,...i}=e,a=v_(),o=Cm(),s=M_(Rw.machine,{store:n,id:(0,V.useId)(),dir:a?.dir,getRootNode:o?.getRootNode}),c=Rw.connect(s,L_),l=km(c.getGroupProps(),i);return(0,H.jsx)(g_.div,{...l,ref:t,children:c.getToasts().map((e,t)=>(0,H.jsx)(pT,{value:e,parent:s,index:t,children:e=>r(e)},e.id))})});fT.displayName=`Toaster`;var pT=e=>{let t=Cm(),n=M_(kw,{...e.value,parent:e.parent,index:e.index,getRootNode:t.getRootNode});return(0,H.jsx)(iT,{value:Dw(n,L_),children:e.children(e.value)})};pT.displayName=`ToastActor`;var mT=b_({ActionTrigger:()=>oT,CloseTrigger:()=>sT,Context:()=>cT,Description:()=>lT,Root:()=>uT,Title:()=>dT}),[hT,gT]=xm({name:`TooltipContext`,hookName:`useTooltipContext`,providerName:`<TooltipProvider />`}),_T=(0,V.forwardRef)((e,t)=>{let n=km(gT().getArrowProps(),e);return(0,H.jsx)(g_.div,{...n,ref:t})});_T.displayName=`TooltipArrow`;var vT=(0,V.forwardRef)((e,t)=>{let n=km(gT().getArrowTipProps(),e);return(0,H.jsx)(g_.div,{...n,ref:t})});vT.displayName=`TooltipArrowTip`;var yT=(0,V.forwardRef)((e,t)=>{let n=gT(),r=U_(),i=km(n.getContentProps(),r.getPresenceProps(),e);return r.unmounted?null:(0,H.jsx)(g_.div,{...i,ref:wm(r.ref,t)})});yT.displayName=`TooltipContent`;var bT=e=>e.children(gT()),xT=(0,V.forwardRef)((e,t)=>{let n=km(gT().getPositionerProps(),e);return U_().unmounted?null:(0,H.jsx)(g_.div,{...n,ref:t})});xT.displayName=`TooltipPositioner`;var ST=e=>{let t=(0,V.useId)(),{getRootNode:n}=Cm(),{dir:r}=v_();return Yw(M_(Qw,{id:t,dir:r,getRootNode:n,...e}),L_)},CT=e=>{let[t,{children:n,...r}]=T_(e),i=ST(r);return(0,H.jsx)(hT,{value:i,children:(0,H.jsx)(H_,{value:V_(km({present:i.open},t)),children:n})})},wT=e=>{let[t,{value:n,children:r}]=T_(e);return(0,H.jsx)(hT,{value:n,children:(0,H.jsx)(H_,{value:V_(km({present:n.open},t)),children:r})})},TT=w_(),ET=(0,V.forwardRef)((e,t)=>
12{let[n,r]=TT(e,[`value`]),i=km(gT().getTriggerProps(n),r);return(0,H.jsx)(g_.button,{...i,ref:t})});ET.displayName=`TooltipTrigger`;var DT=b_({Arrow:()=>_T,ArrowTip:()=>vT,Content:()=>yT,Context:()=>bT,Positioner:()=>xT,Root:()=>CT,RootProvider:()=>wT,Trigger:()=>ET});function OT(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var kT=(e,t)=>{if(!e||typeof e!=`string`)return{invalid:!0,value:e};let[n,r]=e.split(`/`);if(!n||!r||n===`currentBg`)return{invalid:!0,value:n};let i=t(`colors.${n}`),a=t.raw(`opacity.${r}`)?.value;if(!a&&isNaN(Number(r)))return{invalid:!0,value:n};let o=a?Number(a)*100+`%`:`${r}%`,s=i??n;return{invalid:!1,color:s,value:`color-mix(in srgb, ${s} ${o}, transparent)`}},AT=e=>(t,n)=>{let r=n.utils.colorMix(t);if(r.invalid)return{[e]:t};let i=`--mix-`+e;return{[i]:r.value,[e]:`var(${i}, ${r.color})`}};function jT(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(e=>jT(e));let t=Object.create(Object.getPrototypeOf(e));for(let n of Object.keys(e))t[n]=jT(e[n]);return t}function MT(e,t){if(t==null)return e;for(let n of Object.keys(t))if(!(t[n]===void 0||n===`__proto__`))if(!Af(e[n])&&Af(t[n]))Object.assign(e,{[n]:t[n]});else if(e[n]&&Af(t[n]))MT(e[n],t[n]);else if(Array.isArray(t[n])&&Array.isArray(e[n])){let r=0;for(;r<t[n].length;r++)Af(e[n][r])&&Af(t[n][r])?MT(e[n][r],t[n][r]):e[n][r]=t[n][r]}else Object.assign(e,{[n]:t[n]});return e}function NT(e,...t){for(let n of t)MT(e,n);return e}var PT=e=>e!=null;function FT(e,t,n={}){let{stop:r,getKey:i}=n;function a(e,n=[]){if(Af(e)||Array.isArray(e)){let o={};for(let[s,c]of Object.entries(e)){let l=i?.(s,c)??s,u=[...n,l];if(r?.(e,u))return t(e,n);let d=a(c,u);
12PT(d)&&(o[l]=d)}return o}return t(e,n)}return a(e)}function IT(e,t){return Array.isArray(e)?e.map(e=>PT(e)?t(e):e):Af(e)?FT(e,e=>t(e)):PT(e)?t(e):e}var LT=[`value`,`type`,`description`],RT=e=>e&&typeof e==`object`&&!Array.isArray(e),zT=(...e)=>{let t=NT({},...e.map(jT));return t.theme?.tokens&&FT(t.theme.tokens,e=>{let t=Object.keys(e).filter(e=>!LT.includes(e)).length>0,n=LT.some(t=>e[t]!=null);return t&&n&&(e.DEFAULT||={},LT.forEach(t=>{var n;e[t]!=null&&((n=e.DEFAULT)[t]||(n[t]=e[t]),delete e[t])})),e},{stop(e){return RT(e)&&Object.keys(e).some(e=>LT.includes(e)||e!==e.toLowerCase()&&e!==e.toUpperCase())}}),t},BT=e=>e,VT=e=>e,q=e=>e,HT=e=>e,UT=e=>e,WT=e=>e,GT=e=>e,KT=e=>e,qT=e=>e;function JT(){let e=e=>e;return new Proxy(e,{get(){return e}})}var YT=JT(),XT=JT(),ZT=e=>e,QT=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function $T(e){return`${e}`.replace(QT,e=>`\\${e}`)}var eE=/[A-Z]/g;function tE(e){return e.replace(eE,e=>`-${e.toLowerCase()}`)}function nE(e,t={}){let{fallback:n=``,prefix:r=``}=t,i=tE([`-`,r,$T(e)].filter(Boolean).join(`-`));return{var:i,ref:`var(${i}${n?`, ${n}`:``})`}}var rE=e=>/^var\(--.+\)$/.test(e),iE=(e,t)=>t==null?t:`${e}(${t})`,aE=e=>{if(rE(e)||e==null)return e;let t=typeof e==`string`&&!e.endsWith(`deg`);return typeof e==`number`||t?`${e}deg`:e},oE=e=>({values:[`outside`,`inside`,`mixed`,`none`],transform(t,{token:n}){let r=n(`colors.colorPalette.focusRing`);return{inside:{"--focus-ring-color":r,[e]:{outlineOffset:`0px`,outlineWidth:`var(--focus-ring-width, 1px)`,outlineColor:`var(--focus-ring-color)`,outlineStyle:`var(--focus-ring-style, solid)`,borderColor:`var(--focus-ring-color)`}},outside:{"--focus-ring-color":r,[e]:{outlineWidth:`var(--focus-ring-width, 2px)`,outlineOffset:`var(--focus-ring-offset, 2px)`,outlineStyle:`var(--focus-ring-style, solid)`,outlineColor:`var(--focus-ring-color)`}},mixed:{"--focus-ring-color":r,[e]:{outlineWidth:`var(--focus-ring-width, 3px)`,outlineStyle:`var(--focus-ring-style, solid)`,outlineColor:`color-mix(in srgb, var(--focus-ring-color), transparent 60%)`,borderColor:`var(--focus-ring-color)`}},none:{"--focus-ring-color":r,[e]:{outline:`none`}}}[t]??{}}}
12),sE=AT(`borderColor`),cE=e=>({transition:e,transitionTimingFunction:`cubic-bezier(0.4, 0, 0.2, 1)`,transitionDuration:`150ms`}),lE=BT({hover:[`@media (hover: hover)`,`&:is(:hover, [data-hover]):not(:disabled, [data-disabled])`],active:`&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])`,focus:`&:is(:focus, [data-focus])`,focusWithin:`&:is(:focus-within, [data-focus-within])`,focusVisible:`&:is(:focus-visible, [data-focus-visible])`,disabled:`&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])`,visited:`&:visited`,target:`&:target`,readOnly:`&:is([data-readonly], [aria-readonly=true], [readonly])`,readWrite:`&:read-write`,empty:`&:is(:empty, [data-empty])`,checked:`&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])`,enabled:`&:enabled`,expanded:`&:is([aria-expanded=true], [data-expanded], [data-state=expanded])`,highlighted:`&[data-highlighted]`,complete:`&[data-complete]`,incomplete:`&[data-incomplete]`,dragging:`&[data-dragging]`,before:`&::before`,after:`&::after`,firstLetter:`&::first-letter`,firstLine:`&::first-line`,marker:`&::marker`,selection:`&::selection`,file:`&::file-selector-button`,backdrop:`&::backdrop`,first:`&:first-of-type`,last:`&:last-of-type`,notFirst:`&:not(:first-of-type)`,notLast:`&:not(:last-of-type)`,only:`&:only-child`,even:`&:nth-of-type(even)`,odd:`&:nth-of-type(odd)`,peerFocus:`.peer:is(:focus, [data-focus]) ~ &`,peerHover:`.peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &`,peerActive:`.peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &`,peerFocusWithin:`.peer:focus-within ~ &`,peerFocusVisible:`.peer:is(:focus-visible, [data-focus-visible]) ~ &`,peerDisabled:`.peer:is(:disabled, [disabled], [data-disabled]) ~ &`,peerChecked:`.peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &`,peerInvalid:`.peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &`,peerExpanded:`.peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &`,peerPlaceholderShown:`.peer:placeholder-shown ~ &`,groupFocus:`.group:is(:focus, [data-focus]) &`,groupHover:`.group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &`,groupActive:`.group:is(:active, [data-active]):not(:disabled, [data-disabled]) &`,groupFocusWithin:`.group:focus-within &`,groupFocusVisible:`.group:is(:focus-visible, [data-focus-visible]) &`,groupDisabled:`.group:is(:disabled, [disabled], [data-disabled]) &`,groupChecked:`.group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &`,groupExpanded:`.group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &`,groupInvalid:`.group:invalid &`,indeterminate:`&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])`,required:`&:is([data-required], [aria-required=true])`,valid:`&:is([data-valid], [data-state=valid])`,invalid:`&:is([data-invalid], [aria-invalid=true], [data-state=invalid])`,autofill:`&:autofill`,inRange:`&:is(:in-range, [data-in-range])`,outOfRange:`&:is(:out-of-range, [data-outside-range])`,placeholder:`&::placeholder, &[data-placeholder]`,placeholderShown:`&:is(:placeholder-shown, [data-placeholder-shown])`,pressed:`&:is([aria-pressed=true], [data-pressed])`,selected:`&:is([aria-selected=true], [data-selected])`,grabbed:`&:is([aria-grabbed=true], [data-grabbed])`,underValue:`&[data-state=under-value]`,overValue:`&[data-state=over-value]`,atValue:`&[data-state=at-value]`,default:`&:default`,optional:`&:optional`,open:`&:is([open], [data-open], [data-state=open])`,closed:`&:is([closed], [data-closed], [data-state=closed])`,fullscreen:`&:is(:fullscreen, [data-fullscreen])`,loading:`&:is([data-loading], [aria-busy=true])`,hidden:`&:is([hidden], [data-hidden])`,current:`&[data-current]`,currentPage:`&[aria-current=page]`,currentStep:`&[aria-current=step]`,today:`&[data-today]`,unavailable:`&[data-unavailable]`,rangeStart:`&[data-range-start]`,rangeEnd:`&[data-range-end]`,now:`&[data-now]`,topmost:`&[data-topmost]`,motionReduce:`@media (prefers-reduced-motion: reduce)`,motionSafe:`@media (prefers-reduced-motion: no-preference)`,print:`@media print`,landscape:`@media (orientation: landscape)`,portrait:`@media (orientation: portrait)`,dark:`.dark &, .dark .chakra-theme:not(.light) &`,light:`:root &, .light &`,osDark:`@media (prefers-color-scheme: dark)`,osLight:`@media (prefers-color-scheme: light)`,highContrast:`@media (forced-colors: active)`,lessContrast:`@media (prefers-contrast: less)`,moreContrast:`@media (prefers-contrast: more)`,ltr:`[dir=ltr] &`,rtl:`[dir=rtl] &`,scrollbar:`&::-webkit-scrollbar`,scrollbarThumb:`&::-webkit-scrollbar-thumb`,scrollbarTrack:`&::-webkit-scrollbar-track`,horizontal:`&[data-orientation=horizontal]`,vertical:`&[data-orientation=vertical]`,icon:`& :where(svg)`,starting:`@starting-style`}),uE=nE(`bg-currentcolor`),dE=e=>e===uE.ref||e===`currentBg`,fE=e=>({...e(`colors`),currentBg:uE}),pE=ZT({conditions:lE,utilities:{background:{values:fE,shorthand:[`bg`],transform(e,t){if(dE(t.raw))return{background:uE.ref};let n=AT(`background`)(e,t);return{...n,[uE.var]:n?.background}}},backgroundColor:{values:fE,shorthand:[`bgColor`],transform(e,t){if(dE(t.raw))return{backgroundColor:uE.ref};let n=AT(`backgroundColor`)(e,t);return{...n,[uE.var]:n?.backgroundColor}}},backgroundSize:{shorthand:[`bgSize`]},backgroundPosition:{shorthand:[`bgPos`]},backgroundRepeat:{shorthand:[`bgRepeat`]},backgroundAttachment:{shorthand:[`bgAttachment`]},backgroundClip:{shorthand:[`bgClip`],values:[`text`],transform(e){return e===`text`?{color:`transparent`,backgroundClip:`text`}:{backgroundClip:e}}},backgroundGradient:{shorthand:[`bgGradient`],values(e){return{...e(`gradients`),"to-t":`linear-gradient(to top, var(--gradient))`,"to-tr"
12:`linear-gradient(to top right, var(--gradient))`,"to-r":`linear-gradient(to right, var(--gradient))`,"to-br":`linear-gradient(to bottom right, var(--gradient))`,"to-b":`linear-gradient(to bottom, var(--gradient))`,"to-bl":`linear-gradient(to bottom left, var(--gradient))`,"to-l":`linear-gradient(to left, var(--gradient))`,"to-tl":`linear-gradient(to top left, var(--gradient))`}},transform(e){return{"--gradient-stops":`var(--gradient-from), var(--gradient-to)`,"--gradient":`var(--gradient-via-stops, var(--gradient-stops))`,backgroundImage:e}}},gradientFrom:{values:fE,transform:AT(`--gradient-from`)},gradientTo:{values:fE,transform:AT(`--gradient-to`)},gradientVia:{values:fE,transform(e,t){return{...AT(`--gradient-via`)(e,t),"--gradient-via-stops":`var(--gradient-from), var(--gradient-via), var(--gradient-to)`}}},backgroundImage:{values(e){return{...e(`gradients`),...e(`assets`)}},shorthand:[`bgImg`,`bgImage`]},border:{values:`borders`},borderTop:{values:`borders`},borderLeft:{values:`borders`},borderBlockStart:{values:`borders`},borderRight:{values:`borders`},borderBottom:{values:`borders`},borderBlockEnd:{values:`borders`},borderInlineStart:{values:`borders`,shorthand:[`borderStart`]},borderInlineEnd:{values:`borders`,shorthand:[`borderEnd`]},borderInline:{values:`borders`,shorthand:[`borderX`]},borderBlock:{values:`borders`,shorthand:[`borderY`]},borderColor:{values:fE,transform:AT(`borderColor`)},borderTopColor:{values:fE,transform:AT(`borderTopColor`)},borderBlockStartColor:{values:fE,transform:AT(`borderBlockStartColor`)},borderBottomColor:{values:fE,transform:AT(`borderBottomColor`)},borderBlockEndColor:{values:fE,transform:AT(`borderBlockEndColor`)},borderLeftColor:{values:fE,transform:AT(`borderLeftColor`)},borderInlineStartColor:{values:fE,shorthand:[`borderStartColor`],transform:AT(`borderInlineStartColor`)},borderRightColor:{values:fE,transform:AT(`borderRightColor`)},borderInlineEndColor:{values:fE,shorthand:[`borderEndColor`],transform:AT(`borderInlineEndColor`)},borderStyle:{values:`borderStyles`},borderTopStyle:{values:`borderStyles`},borderBlockStartStyle:{values:`borderStyles`},borderBottomStyle:{values:`borderStyles`},borderBlockEndStyle:{values:`borderStyles`},borderInlineStartStyle:{values:`borderStyles`,shorthand:[`borderStartStyle`]},borderInlineEndStyle:{values:`borderStyles`,shorthand:[`borderEndStyle`]},borderLeftStyle:{values:`borderStyles`},borderRightStyle:{values:`borderStyles`},borderRadius:{values:`radii`,shorthand:[`rounded`]},borderTopLeftRadius:{values:`radii`,shorthand:[`roundedTopLeft`]},borderStartStartRadius:{values:`radii`,shorthand:[`roundedStartStart`,`borderTopStartRadius`]},borderEndStartRadius:{values:`radii`,shorthand:[`roundedEndStart`,`borderBottomStartRadius`]},borderTopRightRadius:{values:`radii`,shorthand:[`roundedTopRight`]},borderStartEndRadius:{values:`radii`,shorthand:[`roundedStartEnd`,`borderTopEndRadius`]},borderEndEndRadius:{values:`radii`,shorthand:[`roundedEndEnd`,`borderBottomEndRadius`]},borderBottomLeftRadius:{values:`radii`,shorthand:[`roundedBottomLeft`]},borderBottomRightRadius:{values:`radii`,shorthand:[`roundedBottomRight`]},borderInlineStartRadius:{values:`radii`,property:`borderRadius`,shorthand:[`roundedStart`,`borderStartRadius`],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:`radii`,property:`borderRadius`,shorthand:[`roundedEnd`,`borderEndRadius`],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:`radii`,property:`borderRadius`,shorthand:[`roundedTop`],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:`radii`,property:`borderRadius`,shorthand:[`roundedBottom`],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:`radii`,property:`borderRadius`,shorthand:[`roundedLeft`],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:`radii`,property:`borderRadius`,shorthand:[`roundedRight`],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:`borderWidths`},borderBlockStartWidth:{values:`borderWidths`},borderTopWidth:{values:`borderWidths`},borderBottomWidth:{values:`borderWidths`},borderBlockEndWidth:{values:`borderWidths`},borderRightWidth:{values:`borderWidths`},borderInlineWidth:{values:`borderWidths`,shorthand:[`borderXWidth`]},borderInlineStartWidth:{values:`borderWidths`,shorthand:[`borderStartWidth`]},borderInlineEndWidth:{values:`borderWidths`,shorthand:[`borderEndWidth`]},borderLeftWidth:{values:`borderWidths`},borderBlockWidth:{values:`borderWidths`,shorthand:[`borderYWidth`]},color:{values:fE,transform:AT(`color`)},fill:{values:fE,transform:AT(`fill`)},stroke:{values:fE,transform:AT(`stroke`)},accentColor:{values:fE,transform:AT(`accentColor`)},divideX:{values:{type:`string`},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:`0px`}}}},divideY:{values:{type:`string`},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:`0px`}}}},divideColor:{values:fE,transform(e,t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":sE(e,t)}}},divideStyle:{property:`borderStyle`,transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:`shadows`,shorthand:[`shadow`]}
12,boxShadowColor:{values:fE,transform:AT(`--shadow-color`),shorthand:[`shadowColor`]},mixBlendMode:{shorthand:[`blendMode`]},backgroundBlendMode:{shorthand:[`bgBlendMode`]},opacity:{values:`opacity`},filter:{transform(e){return e===`auto`?{filter:`var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)`}:{filter:e}}},blur:{values:`blurs`,transform:e=>({"--blur":iE(`blur`,e)})},brightness:{transform:e=>({"--brightness":iE(`brightness`,e)})},contrast:{transform:e=>({"--contrast":iE(`contrast`,e)})},grayscale:{transform:e=>({"--grayscale":iE(`grayscale`,e)})},hueRotate:{transform:e=>({"--hue-rotate":iE(`hue-rotate`,aE(e))})},invert:{transform:e=>({"--invert":iE(`invert`,e)})},saturate:{transform:e=>({"--saturate":iE(`saturate`,e)})},sepia:{transform:e=>({"--sepia":iE(`sepia`,e)})},dropShadow:{transform:e=>({"--drop-shadow":iE(`drop-shadow`,e)})},backdropFilter:{transform(e){return e===`auto`?{backdropFilter:`var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)`}:{backdropFilter:e}}},backdropBlur:{values:`blurs`,transform:e=>({"--backdrop-blur":iE(`blur`,e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":iE(`brightness`,e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":iE(`contrast`,e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":iE(`grayscale`,e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":iE(`hue-rotate`,aE(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":iE(`invert`,e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":iE(`opacity`,e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":iE(`saturate`,e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":iE(`sepia`,e)})},flexBasis:{values:`sizes`},gap:{values:`spacing`},rowGap:{values:`spacing`,shorthand:[`gapY`]},columnGap:{values:`spacing`,shorthand:[`gapX`]},flexDirection:{shorthand:[`flexDir`]},gridGap:{values:`spacing`},gridColumnGap:{values:`spacing`},gridRowGap:{values:`spacing`},outlineColor:{values:fE,transform:AT(`outlineColor`)},focusRing:oE(`&:is(:focus, [data-focus])`),focusVisibleRing:oE(`&:is(:focus-visible, [data-focus-visible])`),focusRingColor:{values:fE,transform:AT(`--focus-ring-color`)},focusRingOffset:{values:`spacing`,transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:`borderWidths`,property:`outlineWidth`,transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:`borderStyles`,property:`outlineStyle`,transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:`aspectRatios`},width:{values:`sizes`,shorthand:[`w`]},inlineSize:{values:`sizes`},height:{values:`sizes`,shorthand:[`h`]},blockSize:{values:`sizes`},boxSize:{values:`sizes`,property:`width`,transform:e=>({width:e,height:e})},minWidth:{values:`sizes`,shorthand:[`minW`]},minInlineSize:{values:`sizes`},minHeight:{values:`sizes`,shorthand:[`minH`]},minBlockSize:{values:`sizes`},maxWidth:{values:`sizes`,shorthand:[`maxW`]},maxInlineSize:{values:`sizes`},maxHeight:{values:`sizes`,shorthand:[`maxH`]},maxBlockSize:{values:`sizes`},hideFrom:{values:`breakpoints`,transform:(e,{raw:t,token:n})=>({[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`]:{display:`none`}})},hideBelow:{values:`breakpoints`,transform(e,{raw:t,token:n}){return{[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`]:{display:`none`}}}},overscrollBehavior:{shorthand:[`overscroll`]},overscrollBehaviorX:{shorthand:[`overscrollX`]},overscrollBehaviorY:{shorthand:[`overscrollY`]},scrollbar:{values:[`visible`,`hidden`],transform(e){switch(e){case`visible`:return{msOverflowStyle:`auto`,scrollbarWidth:`auto`,"&::-webkit-scrollbar":{display:`block`}};case`hidden`:return{msOverflowStyle:`none`,scrollbarWidth:`none`,"&::-webkit-scrollbar":{display:`none`}};default:return{}}}},scrollbarColor:{values:fE,transform:AT(`scrollbarColor`)},scrollbarGutter:{values:`spacing`},scrollbarWidth:{values:`sizes`},scrollMargin:{values:`spacing`},scrollMarginTop:{values:`spacing`},scrollMarginBottom:{values:`spacing`},scrollMarginLeft:{values:`spacing`},scrollMarginRight:{values:`spacing`},scrollMarginX:{values:`spacing`,transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:`spacing`,transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:`spacing`},scrollPaddingTop:{values:`spacing`},scrollPaddingBottom:{values:`spacing`},scrollPaddingLeft:{values:`spacing`},scrollPaddingRight:{values:`spacing`},scrollPaddingInline:{values:`spacing`,shorthand:[`scrollPaddingX`]},scrollPaddingBlock:{values:`spacing`,shorthand:[`scrollPaddingY`]},scrollSnapType:{values:{none:`none`,x:`x var(--scroll-snap-strictness)`,y:`y var(--scroll-snap-strictness)`,both:`both var(--scroll-snap-strictness)`}},scrollSnapStrictness:{values:[`mandatory`,`proximity`],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:`spacing`},scrollSnapMarginTop:{values:`spacing`},scrollSnapMarginBottom:{values:`spacing`},scrollSnapMarginLeft:{values:`spacing`},scrollSnapMarginRight:{values:`spacing`},listStylePosition:{shorthand:[`listStylePos`]},listStyleImage:{values:`assets`,shorthand:[`listStyleImg`]},position:{shorthand:[`pos`]},zIndex:{values:`zIndex`},inset:{values:`spacing`},insetInline:{values:`spacing`,shorthand:[`insetX`]},insetBlock:{values:`spacing`,shorthand:[`insetY`]},top:{values:`spacing`},insetBlockStart:{values:`spacing`},bottom:{values:`spacing`},insetBlockEnd:{values:`spacing`},left:{values:`spacing`},right:{values:`spacing`},insetInlineStart:{values:`spacing`,shorthand:[`insetStart`]},insetInlineEnd:{values:`spacing`,shorthand:[`insetEnd`]},ring:{transform(e){return{"--ring-offset-shadow":`var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)`,"--ring-shadow":`var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)`,"--ring-width":e,boxShadow:`var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)`}}},ringColor:{values:fE,transform:AT(`--ring-color`)},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:fE,transform:AT(`--ring-offset-color`)},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:`spacing`,shorthand:[`m`]},marginTop:{values:`spacing`,shorthand:[`mt`]},marginBlockStart:{values:`spacing`},marginRight:{values:`spacing`,shorthand:[`mr`]},marginBottom:{values:`spacing`,shorthand:[`mb`]},marginBlockEnd:{values:`spacing`},marginLeft:{values:`spacing`,shorthand:[`ml`]},marginInlineStart:{values:`spacing`,shorthand:[`ms`,`marginStart`]},marginInlineEnd:{values:`spacing`,shorthand:[`me`,`marginEnd`]},marginInline:{values:`spacing`,shorthand:[`mx`,`marginX`]},marginBlock:{values:`spacing`,shorthand:[`my`,`marginY`]},padding:{values:`spacing`,shorthand:[`p`]},paddingTop:{values:`spacing`,shorthand:[`pt`]},paddingRight:{values:`spacing`,shorthand:[`pr`]},paddingBottom:{values:`spacing`,shorthand:[`pb`]},paddingBlockStart:{values:`spacing`},paddingBlockEnd:{values:`spacing`},paddingLeft:{values:`spacing`,shorthand:[`pl`]},paddingInlineStart:{values:`spacing`,shorthand:[`ps`,`paddingStart`]},paddingInlineEnd:{values:`spacing`,shorthand:[`pe`,`paddingEnd`]},paddingInline:{values:`spacing`,shorthand:[`px`,`paddingX`]},paddingBlock:{values:`spacing`,shorthand:[`py`,`paddingY`]},textDecoration:{shorthand:[`textDecor`]},textDecorationColor:{values:fE,transform:AT(`textDecorationColor`)},textShadow:{values:`shadows`},transform:{transform:e=>{let t=e;return e===`auto`&&(t=`translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))`),e===`auto-gpu`&&(t=`translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))`),{transform:t}}},skewX:{transform:e=>({"--skew-x":aE(e)})},skewY:{transform:e=>({"--skew-y":aE(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform(e){return e===`auto`?{scale:`var(--scale-x, 1) var(--scale-y, 1)`}:{scale:e}}},spaceXReverse:{values:{type:`boolean`},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?`1`:void 0}}}},spaceX:{property:`marginInlineStart`,values:`spacing`,transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":`0`,marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})}
12,spaceYReverse:{values:{type:`boolean`},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?`1`:void 0}}}},spaceY:{property:`marginTop`,values:`spacing`,transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":`0`,marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform(e){return e===`auto`?{rotate:`var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)`}:{rotate:aE(e)}}},rotateX:{transform(e){return{"--rotate-x":aE(e)}}},rotateY:{transform(e){return{"--rotate-y":aE(e)}}},translate:{transform(e){return e===`auto`?{translate:`var(--translate-x) var(--translate-y)`}:{translate:e}}},translateX:{values:`spacing`,transform:e=>({"--translate-x":e})},translateY:{values:`spacing`,transform:e=>({"--translate-y":e})},transition:{values:[`all`,`common`,`colors`,`opacity`,`position`,`backgrounds`,`size`,`shadow`,`transform`],transform(e){switch(e){case`all`:return cE(`all`);case`position`:return cE(`left, right, top, bottom, inset-inline, inset-block`);case`colors`:return cE(`color, background-color, border-color, text-decoration-color, fill, stroke`);case`opacity`:return cE(`opacity`);case`shadow`:return cE(`box-shadow`);case`transform`:return cE(`transform`);case`size`:return cE(`width, height`);case`backgrounds`:return cE(`background, background-color, background-image, background-position`);case`common`:return cE(`color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter`);default:return{transition:e}}}},transitionDuration:{values:`durations`},transitionProperty:{values:{common:`background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform`,colors:`background-color, border-color, color, fill, stroke`,size:`width, height`,position:`left, right, top, bottom, inset-inline, inset-block`,background:`background, background-color, background-image, background-position`}},transitionTimingFunction:{values:`easings`},animation:{values:`animations`},animationDuration:{values:`durations`},animationDelay:{values:`durations`},animationTimingFunction:{values:`easings`},fontFamily:{values:`fonts`},fontSize:{values:`fontSizes`},fontWeight:{values:`fontWeights`},lineHeight:{values:`lineHeights`},letterSpacing:{values:`letterSpacings`},textIndent:{values:`spacing`},truncate:{values:{type:`boolean`},transform(e){return e===!0?{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}:{}}},lineClamp:{transform(e){return e===`none`?{WebkitLineClamp:`unset`}:{overflow:`hidden`,display:`-webkit-box`,WebkitLineClamp:e,WebkitBoxOrient:`vertical`,textWrap:`wrap`}}},borderSpacing:{values:e=>({...e(`spacing`),auto:`var(--border-spacing-x, 0) var(--border-spacing-y, 0)`})},borderSpacingX:{values:`spacing`,transform(e){return{"--border-spacing-x":e}}},borderSpacingY:{values:`spacing`,transform(e){return{"--border-spacing-y":e}}},srOnly:{values:{type:`boolean`},transform(e){return mE[e]||{}}},debug:{values:{type:`boolean`},transform(e){return e?{outline:`1px solid blue !important`,"& > *":{outline:`1px solid red !important`}}:{}}},caretColor:{values:fE,transform:AT(`caretColor`)},cursor:{values:`cursor`}}}),mE={true:{position:`absolute`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`},false:{position:`static`,width:`auto`,height:`auto`,padding:`0`,margin:`0`,overflow:`visible`,clip:`auto`,whiteSpace:`normal`}},hE=``.split(`,`),gE=`WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,al
12ignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,cornerShape,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,
12scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical`.split(`,`).concat(hE),_E=new Map(gE.map(e=>[e,!0]));function vE(e){let t=Object.create(null);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var yE=/&|@/,bE=vE(e=>_E.has(e)||e.startsWith(`--`)||yE.test(e));function xE(e,t){let n={};for(let r in e){let i=t(r,e[r]);n[i[0]]=i[1]}return n}function SE(e,t){let n={};return FT(e,(e,t)=>{e&&(n[t.join(`.`)]=e.value)},{stop:t}),n}var CE=Object.defineProperty,wE=(e,t,n)=>t in e?CE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,TE=(e,t,n)=>wE(e,typeof t==`symbol`?t:t+``,n);function EE(e){if(e===null)return`null`;if(e===void 0)return`undefined`;let t=typeof e;return t===`string`?`s:${e}`:t===`number`?`n:${e}`:t===`boolean`?`b:${e}`:t===`function`?`f:${e.name||`anonymous`}`:Array.isArray(e)?`a:[${e.map(EE).join(`,`)}]`:t===`object`?`o:{${Object.keys(e).sort().map(t=>`${t}:${EE(e[t])}`).join(`,`)}}`:String(e)}var DE=class{constructor(e=500){TE(this,`cache`,new Map),TE(this,`maxSize`),this.maxSize=e}get(e){let 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){let e=this.cache.keys().next().value;e!==void 0&&this.cache.delete(e)}this.cache.set(e,t)}clear(){this.cache.clear()}},OE=e=>{let t=new DE;function n(...n){let r=n.length===1?EE(n[0]):n.map(EE).join(`|`),i=t.get(r);return i===void 0&&(i=e.apply(this,n),t.set(r,i)),i}return n},kE=16,AE=`px`,jE=`em`,ME=`rem`;function NE(e=``){let t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),n=RegExp(`${AE}|${jE}|${ME}`);return e.match(RegExp(`${t.source}(${n.source})`))?.[1]}function PE(e=``){if(typeof e==`number`)return`${e}px`;let t=NE(e);if(!t||t===AE)return e;if(t===jE||t===ME)return`${parseFloat(e)*kE}${AE}`}function FE(e=``){let t=NE(e);if(!t||t===ME)return e;if(t===jE)return`${parseFloat(e)}${ME}`;if(t===AE)return`${parseFloat(e)/kE}${ME}`}var IE=e=>e.charAt(0).toUpperCase()+e.slice(1);function LE(e){let t=zE(e),n=Object.fromEntries(t);function r(e){return n[e]}function i(e){return VE(r(e))}function a(){let e=Object.keys(n),t=BE(e),a=e.flatMap(e=>{let t=r(e),n=[`${e}Down`,VE({max:RE(t.min)})];return[[e,VE({min:t.min})],[`${e}Only`,i(e)],n]}).filter(([,e])=>e!==``).concat(t.map(([e,t])=>{let n=r(e),i=r(t);return[`${e}To${IE(t)}`,VE({min:n.min,max:RE(i.min)})]}));return Object.fromEntries(a)}function o(){let e=a();return Object.fromEntries(Object.entries(e))}let s=o(),c=e=>s[e];function l(){return Lf([`base`,...Object.keys(n)])}function u(e){return VE({min:r(e).min})}function d(e){return VE({max:RE(r(e).min)})}return{values:Object.values(n),only:i,keys:l,conditions:s,getCondition:c,up:u,down:d}}function RE(e){return FE(`${parseFloat(PE(e)??``)-.04}px`)}function zE(e){return Object.entries(e).sort(([,e],[,t])=>parseInt(e,10)<parseInt(t,10)?-1:1).map(([e,t],n,r)=>{let i=null;return n<=r.length-1&&(i=r[n+1]?.[1]),i!=null&&(i=RE(i)),[e,{name:e,min:FE(t),max:i}]})}function BE(e){let t=[];return e.forEach((n,r)=>{let i=r;i++;let a=e[i];for(;a;)t.push([n,a]),i++,a=e[i]}),t}function VE({min:e,max:t}){return e==null&&t==null?``:[`@media screen`,e&&`(min-width: ${e})`,t&&`(max-width: ${t}
12)`].filter(Boolean).join(` and `)}var HE=/^@|&|&$/,UE=e=>{let{breakpoints:t,conditions:n={}}=e,r=xE(n,(e,t)=>[`_${e}`,t]),i=Object.assign({},r,t.conditions);function a(){return Object.keys(i)}function o(e){return a().includes(e)||HE.test(e)||e.startsWith(`_`)}let s=OE(e=>e.filter(e=>e!==`base`).sort((e,t)=>{let n=o(e),r=o(t);return n&&!r?1:!n&&r?-1:0}));function c(e){return e.startsWith(`@breakpoint`)?t.getCondition(e.replace(`@breakpoint `,``)):e}function l(e){return Reflect.get(i,e)||e}return{keys:a,sort:s,has:o,resolve:l,breakpoints:t.keys(),expandAtRule:c}},WE=Object.freeze(Object.create(null)),GE=Object.freeze([]);function KE(){return Object.create(null)}var qE=e=>({minMax:RegExp(`(!?\\(\\s*min(-device-)?-${e})(.| 13)+\\(\\s*max(-device)?-${e}`,`i`),min:RegExp(`\\(\\s*min(-device)?-${e}`,`i`),maxMin:RegExp(`(!?\\(\\s*max(-device)?-${e})(.| 14)+\\(\\s*min(-device)?-${e}`,`i`),max:RegExp(`\\(\\s*max(-device)?-${e}`,`i`)}),JE=qE(`width`),YE=qE(`height`),XE=e=>({isMin:cD(e.minMax,e.maxMin,e.min),isMax:cD(e.maxMin,e.minMax,e.max)}),{isMin:ZE,isMax:QE}=XE(JE),{isMin:$E,isMax:eD}=XE(YE),tD=/print/i,nD=/^print$/i,rD=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,iD=/(\d)/,aD=Number.MAX_VALUE,oD={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function sD(e){let t=rD.exec(e)||(ZE(e)||$E(e)?iD.exec(e):null);return t?t[0]===`0`?0:parseFloat(t[1])*(oD[t[2]]||1):aD}function cD(e,t,n){return r=>e.test(r)||!t.test(r)&&n.test(r)}function lD(e,t){let n=tD.test(e),r=nD.test(e),i=tD.test(t),a=nD.test(t);return n&&i?!r&&a?1:r&&!a?-1:e.localeCompare(t):n?1:i?-1:null}var uD=OE((e,t)=>{let n=lD(e,t);if(n!==null)return n;let r=ZE(e)||$E(e),i=QE(e)||eD(e),a=ZE(t)||$E(t),o=QE(t)||eD(t);if(r&&o)return-1;if(i&&a)return 1;let s=sD(e),c=sD(t);return s===aD&&c===aD?e.localeCompare(t):s===aD?1:c===aD?-1:s===c?e.localeCompare(t):s>c?i?-1:1:i?1:-1});function dD(e){return e.sort(([e],[t])=>uD(e,t))}function fD(e){let t=[],n=[],r={};for(let[i,a]of Object.entries(e))i.startsWith(`@media`)?t.push([i,a]):i.startsWith(`@container`)?n.push([i,a]):Af(a)?r[i]=fD(a):r[i]=a;let i=dD(t),a=dD(n);return{...r,...Object.fromEntries(i),...Object.fromEntries(a)}}var pD=/\s*!(important)?/i,mD=OE(e=>Mf(e)?pD.test(e):!1),hD=OE(e=>Mf(e)?e.replace(pD,``).trim():e);function gD(e){let{transform:t,conditions:n,normalize:r}=e,i=yD(e);return OE(function(...e){let a=r(i(...e)),o=KE();return FT(a,(e,r)=>{if(e==null)return;let[i,...a]=n.sort(r).map(n.resolve),s=mD(e);s&&(e=hD(e));let c=t(i,e)??WE;c=FT(c,e=>Mf(e)&&s?`${e} !important`:e,{getKey:e=>n.expandAtRule(e)}),_D(o,a.flat(),c)}),fD(o)})}function _D(e,t,n){let r=e;for(let e of t)e&&(r[e]||(r[e]=KE()),r=r[e]);NT(r,n)}function vD(...e){return e.filter(e=>{if(!Af(e))return!1;let t=kf(e);return Object.keys(t).length>0})}function yD(e){function t(t){let n=vD(...t);return n.length===1?n:n.map(t=>e.normalize(t))}return OE(function(...e){return NT({},...t(e))})}var bD=e=>({base:WE,variants:WE,defaultVariants:WE,compoundVariants:[],...e});function xD(e){let{css:t,conditions:n,normalize:r,layers:i}=e;function a(s={}){let c=bD(s),{base:l,defaultVariants:u,compoundVariants:d}=c,f=xE(c.variants,(e,t)=>[e,xE(t,(e,t)=>[e,r(t)])]),p=gD({conditions:n,normalize:r,transform(e,t){return f[e]?.[t]}}),m=(e={})=>{let n=r({...u,...kf(e)}),a={...r(l)};NT(a,p(n));let s=o(d,n);return i.wrap(`recipes`,t(a,s))},h=Object.keys(f),g=e=>{let[t,n]=Wf(OT(e,[`recipe`]),h),r=h.includes(`colorPalette`),i=h.includes(`orientation`);return r||(t.colorPalette=e.colorPalette||u.colorPalette),i&&(n.orientation=e.orientation),[t,n]},_=xE(f,(e,t)=>[e,Object.keys(t)]);return Object.assign(e=>t(m(e)),{className:s.className,__cva__:!0,variantMap:_,variantKeys:h,raw:m,config:s,splitVariantProps:g,merge(t){return a(SD(e)(this,t))}})}function o(e,n){let r=WE;return e.forEach(e=>{Object.entries(e).every(([e,t])=>e===`css`?!0:(Array.isArray(t)?t:[t]).some(t=>n[e]===t))&&(r=t(r,e.css))}),r}return a}function SD(e){let{css:t}=e;return function(e,n){let r=bD(n.config),i=Lf(e.variantKeys,Object.keys(n.variants)),a=t(e.base,r.base),o=Object.fromEntries(i.map(n=>[n,t(e.config.variants[n],r.variants[n])])),s=NT(e.config.defaultVariants,r.defaultVariants),c=[...e.compoundVariants,...r.compoundVariants];return{className:Pf(e.className,n.className),base:a,variants:o,defaultVariants:s,compoundVariants:c}}}var CD={reset:`reset`,base:`base`,tokens:`tokens`,recipes:`recipes`},wD={reset:0,base:1,tokens:2,recipes:3};function TD(e){let t=e.layers??CD,n=Object.values(t).sort((e,t)=>
14wD[e]-wD[t]);return{names:n,atRule:`@layer ${n.join(`, `)};`,wrap(n,r){return e.disableLayers?r:{[`@layer ${t[n]}`]:r}}}}function ED(e){let{utility:t,normalize:n}=e,{hasShorthand:r,resolveShorthand:i}=t;return function(e){return FT(e,n,{stop:e=>Array.isArray(e),getKey:r?i:void 0})}}function DD(e){let{preflight:t}=e;if(!t)return{};let{scope:n=``,level:r=`parent`}=Af(t)?t:{},i=``;n&&r===`parent`?i=`${n} `:n&&r===`element`&&(i=`&${n}`);let a={"*":{margin:`0px`,padding:`0px`,font:`inherit`,wordWrap:`break-word`,WebkitTapHighlightColor:`transparent`},"*, *::before, *::after, *::backdrop":{boxSizing:`border-box`,borderWidth:`0px`,borderStyle:`solid`,borderColor:`var(--global-color-border, currentColor)`},hr:{height:`0px`,color:`inherit`,borderTopWidth:`1px`},body:{minHeight:`100dvh`,position:`relative`},img:{borderStyle:`none`},"img, svg, video, canvas, audio, iframe, embed, object":{display:`block`,verticalAlign:`middle`},iframe:{border:`none`},"img, video":{maxWidth:`100%`,height:`auto`},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:`break-word`},"ol, ul":{listStyle:`none`},"code, kbd, pre, samp":{fontSize:`1em`},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:`button`,backgroundColor:`transparent`,backgroundImage:`none`},"button, input, optgroup, select, textarea":{color:`inherit`},"button, select":{textTransform:`none`},table:{textIndent:`0px`,borderColor:`inherit`,borderCollapse:`collapse`},"*::placeholder":{opacity:`unset`,color:`#9ca3af`,userSelect:`none`},textarea:{resize:`vertical`},summary:{display:`list-item`},small:{fontSize:`80%`},"sub, sup":{fontSize:`75%`,lineHeight:0,position:`relative`,verticalAlign:`baseline`},sub:{bottom:`-0.25em`},sup:{top:`-0.5em`},dialog:{padding:`0px`},a:{color:`inherit`,textDecoration:`inherit`},"abbr:where([title])":{textDecoration:`underline dotted`},"b, strong":{fontWeight:`bolder`},"code, kbd, samp, pre":{fontSize:`1em`,"--font-mono-fallback":`ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'`,fontFamily:`var(--global-font-mono, var(--font-mono-fallback))`},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:`none`,MozAppearance:`none`},"input[type='search']":{WebkitAppearance:`textfield`,outlineOffset:`-2px`},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:`none`},"::-webkit-file-upload-button":{WebkitAppearance:`button`,font:`inherit`},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:`auto`},"input[type='number']":{MozAppearance:`textfield`},":-moz-ui-invalid":{boxShadow:`none`},":-moz-focusring":{outline:`auto`},"[hidden]:where(:not([hidden='until-found']))":{display:`none !important`}},o={[n||`html`]:{lineHeight:1.5,"--font-fallback":`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'`,WebkitTextSizeAdjust:`100%`,WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,textRendering:`optimizeLegibility`,touchAction:`manipulation`,MozTabSize:`4`,tabSize:`4`,fontFamily:`var(--global-font-body, var(--font-fallback))`}};if(r===`element`){let e=Object.entries(a).reduce((e,[t,n])=>(e[t]={[i]:n},e),{});Object.assign(o,e)}else i?o[i]=a:Object.assign(o,a);return o}function OD(e){let{conditions:t,isValidProperty:n}=e,r=OE((e,r)=>n(e)?!r.split(`,`).every(e=>e===`base`||t.has(e)):!0);return function(e){return FT(e,e=>e,{stop:e=>Array.isArray(e),getKey:(e,n)=>!Af(n)||t.has(e)?e:r(e,Object.keys(n).join(`,`))?AD(e).map(e=>{let t=e.startsWith(`&`)?e.slice(1):e;return kD(t)?`${t} &`:`&${t}`}).join(`, `):e})}}function kD(e){let t=e.toLowerCase();return t.startsWith(`:host-context`)||t.startsWith(`:host`)||t.startsWith(`::slotted`)}function AD(e){let t=[],n=0,r=``,i=!1;for(let a=0;a<e.length;a++){let o=e[a];if(o===`\\`&&!i){i=!0,r+=o;continue}if(i){i=!1,r+=o;continue}o===`(`?n++:o===`)`&&n--,o===`,`&&n===0?(t.push(r.trim()),r=``):r+=o}return r&&t.push(r.trim()),t}var jD=(e=WE)=>{let t=t=>({base:e.base?.[t]??WE,variants:KE(),defaultVariants:e.defaultVariants??WE,compoundVariants:e.compoundVariants?MD(e.compoundVariants,t):GE}),n=(e.slots??[]).map(e=>[e,t(e)]);for(let[t,r]of Object.entries(e.variants??{}))for(let[e,i]of Object.entries(r))n.forEach(([n,r])=>{var a;(a=r.variants)[t]??(a[t]={}),r.variants[t][e]=i[n]??WE});return Object.fromEntries(n)},MD=(e,t)=>e.filter(e=>e.css[t]).map(e=>({...e,css:e.css[t]}));function ND(e){let{cva:t}=e;return function(e=WE){let n=Object.entries(jD(e)).map(([e,n])=>[e,t(n)]);function r(e){let t=n.map(([t,n])=>[t,n(e)]);return Object.fromEntries(t)}let i=e.variants??WE,a=Object.keys(i);function o(t){let[n,r]=Wf(OT(t,[`recipe`]),a),i=a.includes(`colorPalette`),o=a.includes(`orientation`);
14return i||(n.colorPalette=t.colorPalette||e.defaultVariants?.colorPalette),o&&(r.orientation=t.orientation),[n,r]}let s=xE(i,(e,t)=>[e,Object.keys(t)]),c={};return e.className&&(c=Object.fromEntries(e.slots.map(t=>[t,`${e.className}__${t}`]))),Object.assign(r,{variantMap:s,variantKeys:a,splitVariantProps:o,classNameMap:c})}}var PD=()=>e=>Array.from(new Set(e)),FD=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,ID=function(e,t){return t?e===`\0`?`�`:e===`-`&&e.length===1?`\\-`:e.slice(0,-1)+`\\`+e.charCodeAt(e.length-1).toString(16):`\\`+e},LD=e=>(e+``).replace(FD,ID),RD=(e,t)=>{let n=``,r=0,i=`char`,a=``,o=``,s=[];for(;r<e.length;){let c=e[r];if(c===`{`){let i=e.indexOf(`}`,r);if(i===-1)break;let a=e.slice(r+1,i),o=t(a);n+=o??a,r=i+1;continue}if(i===`token`&&c===`,`){e[r]===``&&r++,i=`fallback`,s.push(i);let c=t(a);c?.endsWith(`)`)&&(n+=c.slice(0,-1)),a=``,o=``;continue}if(i===`fallback`&&o+c===`, var(`){let t=zD(e.slice(r+1))+r+1,a=e.slice(r+1,t);if(t===-1)break;n+=`, var(`+a+`)`,r=t+1,i=s.pop()??i,o=``;continue}if(i===`token`||i===`fallback`){if(r++,c===`)`){i=s.pop()??i??`char`,o+=c;let e=a&&(t(a)??LD(a));if(o){if(o=o.slice(1).trim(),!o.startsWith(`token(`)&&o.endsWith(`)`)&&(o=o.slice(0,-1)),o.includes(`token(`)){let e=RD(o,t);e&&(o=e.slice(0,-1))}else if(o){let e=t(o);e&&(o=e)}}let r=n.at(-1);o?r?.trim()?n+=e.slice(0,-1)+(`, `+o+`)`):n+=o:n+=e||`)`,a=``,o=``,i=`char`;continue}i===`token`&&(a+=c),i===`fallback`&&(o+=c);continue}let l=e.indexOf(`token(`,r);if(l!==-1){let t=l+6;n+=e.slice(r,l),r=t,i=`token`,s.push(i);continue}n+=c,r++}return n},zD=e=>{let t=0,n=[`(`];for(;t<e.length;){let r=e[t];if(r===`(`)n.push(r);else if(r===`)`&&(n.pop(),n.length===0))return t;t++}return t};function BD(e){let t={};return e.forEach((e,n)=>{e instanceof Map?t[n]=Object.fromEntries(e):t[n]=e}),t}var VD=/({([^}]*)})/g,HD=/[{}]/g,UD=/\w+\.\w+/,WD=e=>{if(!Mf(e))return[];let t=e.match(VD);return t?t.map(e=>e.replace(HD,``).trim()):[]},GD=e=>VD.test(e);function KD(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;let t=e.extensions.references??{},n=e.value,r=Object.keys(t);for(let e=0;e<r.length;e++){let i=r[e],a=t[i];if(a.extensions.conditions)continue;let o=KD(a);n=n.replace(`{${i}}`,o)}return e.value=n,delete e.extensions.references,e.value}function qD(e,t){if(t==null||!Array.isArray(t))return t;switch(e){case`easings`:return`cubic-bezier(${t.join(`, `)})`;case`animations`:case`fonts`:case`gradients`:case`shadows`:return t.join(`, `);default:return t}}function JD(e,t){let n={};for(let r in t)n[r]=qD(e,t[r]);return n}var YD=/calc/g;function XD(e){return Af(e)&&e.reference?e.reference:String(e)}var ZD=(e,...t)=>t.map(XD).join(` ${e} `).replace(YD,``),QD=(...e)=>`calc(${ZD(`+`,...e)})`,$D=(...e)=>`calc(${ZD(`-`,...e)})`,eO=(...e)=>`calc(${ZD(`*`,...e)})`,tO=(...e)=>`calc(${ZD(`/`,...e)})`,nO=e=>{let t=XD(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith(`-`)?String(t).slice(1):`-${t}`:eO(t,-1)},rO=Object.assign(e=>({add:(...t)=>rO(QD(e,...t)),subtract:(...t)=>rO($D(e,...t)),multiply:(...t)=>rO(eO(e,...t)),divide:(...t)=>rO(tO(e,...t)),negate:()=>rO(nO(e)),toString:()=>e.toString()}),{add:QD,subtract:$D,multiply:eO,divide:tO,negate:nO}),iO={enforce:`pre`,transform(e){let{prefix:t,allTokens:n,formatCssVar:r,formatTokenName:i,registerToken:a}=e;n.filter(({extensions:e})=>e.category===`spacing`).forEach(e=>{let n=e.path.slice(),o=r(n,t);if(Mf(e.value)&&e.value===`0rem`)return;let s=[...e.path],c=s[s.length-1];c!=null&&(s[s.length-1]=`-${c}`),a({...e,value:rO.negate(o.ref),name:i(s),path:s,extensions:{...e.extensions,negative:!0,prop:`-${e.extensions.prop}`,originalPath:n}})})}},aO=new Set([`spacing`,`sizes`,`borderWidths`,`fontSizes`,`radii`]),oO=[iO,{enforce:`post`,transform(e){let{allTokens:t,registerToken:n,formatTokenName:r}=e,i=t.filter(({extensions:e})=>e.category===`colors`),a=new Map,o=new Map;i.forEach(e=>{let{colorPalette:t}=e.extensions;t&&(t.keys.forEach(e=>{a.set(r(e),e)}),t.roots.forEach(n=>{let i=r(n),s=o.get(i)||[];if(s.push(e),o.set(i,s),e.extensions.default&&n.length===1){let e=t.keys[0]?.filter(Boolean);if(!e.length)return;let i=n.concat(e);a.set(r(i),[])}}))}
14),a.forEach(e=>{let t=[`colors`,`colorPalette`,...e].filter(Boolean),i=r(t);n({name:i,value:i,originalValue:i,path:t,extensions:{condition:`base`,originalPath:t,category:`colors`,prop:r(t.slice(1)),virtual:!0}},`pre`)})}},{enforce:`post`,transform(e){e.allTokens.filter(e=>aO.has(e.extensions.category)&&!e.extensions.negative).forEach(e=>{Object.assign(e.extensions,{pixelValue:PE(e.value)})})}},{enforce:`post`,transform(e){e.allTokens=e.allTokens.filter(e=>e.value!==``)}}],sO=[{type:`extensions`,enforce:`pre`,name:`tokens/css-var`,transform(e,t){let{prefix:n,formatCssVar:r}=t,{negative:i,originalPath:a}=e.extensions;return{cssVar:r((i?a:e.path).filter(Boolean),n)}}},{enforce:`post`,type:`value`,name:`tokens/conditionals`,transform(e,t){let{prefix:n,formatCssVar:r,getByName:i}=t,a=WD(e.value);return a.length&&a.forEach(t=>{if(!i(t))return;let a=r(t.split(`.`),n);e.value=e.value.replaceAll(`{${t}}`,a.ref)}),e.value}},{type:`extensions`,enforce:`pre`,name:`tokens/colors/colorPalette`,match(e){return e.extensions.category===`colors`&&!e.extensions.virtual},transform(e,t){let n=e.path.slice();if(n.pop(),n.shift(),n.length===0){let t=[...e.path];t.shift(),n=t}if(n.length===0)return{};let r=n.reduce((e,t,n,r)=>{let i=r.slice(0,n+1);return e.push(i),e},[]),i=n[0],a=t.formatTokenName(n),o=e.path.slice(e.path.indexOf(i)+1).reduce((e,t,n,r)=>(e.push(r.slice(n)),e),[]);return o.length===0&&o.push([``]),{colorPalette:{value:a,roots:r,keys:o}}}}],cO=e=>Af(e)&&Object.prototype.hasOwnProperty.call(e,`value`);function lO(e){return e?{breakpoints:IT(e,e=>({value:e})),sizes:xE(e,(e,t)=>[`breakpoint-${e}`,{value:t}])}:{breakpoints:{},sizes:{}}}function uO(e){let{prefix:t=``,tokens:n={},semanticTokens:r={},breakpoints:i={}}=e,a=e=>e.join(`.`),o=(e,t)=>nE(e.join(`-`),{prefix:t}),s=[],c=new Map,l=new Map,u=new Map,d=new Map,f=new Map,p=new Map,m=new Map,h=new Map,g=[];function _(e,t){s.push(e),c.set(e.name,e),t&&h.forEach(n=>{n.enforce===t&&F(n,e)})}let v=lO(i),y=kf({...n,breakpoints:v.breakpoints,sizes:{...n.sizes,...v.sizes}});function b(){FT(y,(e,t)=>{let n=t.includes(`DEFAULT`);t=dO(t);let r=t[0],i=a(t),o=qD(r,(Mf(e)?{value:e}:e).value),s={value:o,originalValue:o,name:i,path:t,extensions:{condition:`base`,originalPath:t,category:r,prop:a(t.slice(1))}};n&&(s.extensions.default=!0),_(s)},{stop:cO}),FT(r,(e,t)=>{let n=t.includes(`DEFAULT`);t=fO(dO(t));let r=t[0],i=a(t),o=JD(r,(Mf(e.value)||Array.isArray(e.value)?{value:{base:e.value}}:e).value),s={value:o.base??``,originalValue:o.base??``,name:i,path:t,extensions:{originalPath:t,category:r,conditions:o,condition:`base`,prop:a(t.slice(1))}};n&&(s.extensions.default=!0),_(s)},{stop:cO})}function x(e){return c.get(e)}function S(e){let{condition:t}=e.extensions;t&&(l.has(t)||l.set(t,new Set),l.get(t).add(e))}function C(e){let{category:t,prop:n,condition:r}=e.extensions;t&&(r!=null&&r!==`base`||(m.has(t)||m.set(t,new Map),m.get(t).set(n,e)))}function w(e){let{condition:t,negative:n,virtual:r,cssVar:i}=e.extensions;n||r||!t||!i||(u.has(t)||u.set(t,new Map),u.get(t).set(i.var,e.value))}function E(e){let{category:t,prop:n,cssVar:r,negative:i}=e.extensions;if(!t)return;p.has(t)||p.set(t,new Map);let a=i?e.extensions.conditions?e.originalValue:e.value:r.ref;p.get(t).set(n,a),f.set([t,n].join(`.`),a)}function D(e){let{colorPalette:t,virtual:n,default:r}=e.extensions;!t||n||t.roots.forEach(n=>{let i=a(n);d.has(i)||d.set(i,new Map);let o=x(a(mO([...e.path],[...n])));if(!o||!o.extensions.cssVar)return;let{var:s}=o.extensions.cssVar;if(d.get(i).set(s,e.extensions.cssVar.ref),r&&n.length===1){let r=x(a([`colors`,`colorPalette`]));if(!r)return;let i=x(a(e.path));if(!i)return;let o=t.keys[0]?.filter(Boolean);if(!o.length)return;let s=a(n.concat(o));d.has(s)||d.set(s,new Map),d.get(s).set(r.extensions.cssVar.var,i.extensions.cssVar.ref)}})}let O={};function k(){s.forEach(e=>{S(e),C(e),w(e),E(e),D(e)}),O=BD(p)}let A=(e,t)=>{if(!e||typeof e!=`string`)return{invalid:!0,value:e};let[n,r]=e.split(`/`);if(!n||!r)return{invalid:!0,value:n};let i=t(n),a=x(`opacity.${r}`)?.value;if(!a&&isNaN(Number(r)))return{invalid:!0,value:n};let o=a?Number(a)*100+`%`:`${r}%`,s=i??n;
14return{invalid:!1,color:s,value:`color-mix(in srgb, ${s} ${o}, transparent)`}},j=OE((e,t)=>f.get(e)??t),M={prefix:t,allTokens:s,tokenMap:c,registerToken:_,getByName:x,formatTokenName:a,formatCssVar:o,flatMap:f,cssVarMap:u,categoryMap:m,colorPaletteMap:d,getVar:j,getCategoryValues:OE(e=>O[e]||null),expandReferenceInValue:OE(e=>RD(e,e=>{if(e){if(e.includes(`/`)){let t=A(e,e=>j(e));if(t.invalid)throw Error(`Invalid color mix at `+e+`: `+t.value);return t.value}return j(e)||(UD.test(e)?LD(e):e)}}))};function N(...e){e.forEach(e=>{h.set(e.name,e)})}function P(...e){g.push(...e)}function F(e,t){if(t.extensions.references||Nf(e.match)&&!e.match(t))return;let n=(t=>e.transform(t,M))(t);switch(!0){case e.type===`extensions`:Object.assign(t.extensions,n);break;case e.type===`value`:t.value=n;break;default:t[e.type]=n;break}}function ee(e){g.forEach(t=>{t.enforce===e&&t.transform(M)})}function I(e){h.forEach(t=>{t.enforce===e&&s.forEach(e=>{F(t,e)})})}function L(){s.slice().forEach(e=>{let t=pO(e);!t||t.length===0||t.forEach(e=>{_(e)})})}function te(e){let t=WD(e),n=[];for(let e=0;e<t.length;e++){let r=x(t[e]);r&&n.push(r)}return n}function ne(){s.forEach(e=>{if(!GD(e.value))return;let t=te(e.value);e.extensions.references=t.reduce((e,t)=>(e[t.name]=t,e),{})})}function re(){s.forEach(e=>{KD(e)})}function ie(){ee(`pre`),I(`pre`),L(),ne(),re(),ee(`post`),I(`post`),k()}return b(),N(...sO),P(...oO),ie(),M}function dO(e){return e[0]===`DEFAULT`?e:e.filter(e=>e!==`DEFAULT`)}function fO(e){return e.filter(e=>e!==`base`)}function pO(e){if(!e.extensions.conditions)return;let{conditions:t}=e.extensions,n=[];return FT(t,(t,r)=>{let i=fO(r);if(!i.length)return;let a={...e,value:t,extensions:{...OT(e.extensions,[`conditions`]),condition:i.join(`:`)}};n.push(a)}),n}function mO(e,t){let n=e.findIndex((n,r)=>t.every((t,n)=>e[r+n]===t));return n===-1?e:(e.splice(n,t.length),e.splice(n,0,`colorPalette`),e)}PD()([`aspectRatios`,`zIndex`,`opacity`,`colors`,`fonts`,`fontSizes`,`fontWeights`,`lineHeights`,`letterSpacings`,`sizes`,`shadows`,`spacing`,`radii`,`cursor`,`borders`,`borderWidths`,`borderStyles`,`durations`,`easings`,`animations`,`blurs`,`gradients`,`breakpoints`,`assets`]);function hO(e){return e}function gO(e){return xE(e,(e,t)=>[e,hO(t)])}function _O(e){let t=gO(e.config),n=e.tokens,r=new Map,i=new Map;function a(e,n){t[e]=hO(n),o(e,n)}let o=(e,t)=>{let n=h(t);n&&(i.set(e,n),d(e,t))},s=()=>{for(let[e,n]of Object.entries(t))n&&o(e,n)},c=()=>{for(let[e,n]of Object.entries(t)){let{shorthand:t}=n??{};t&&(Array.isArray(t)?t:[t]).forEach(t=>r.set(t,e))}},l=()=>{let e=BD(n.colorPaletteMap);a(`colorPalette`,{values:Object.keys(e),transform:OE(t=>e[t])})},u=new Map,d=(e,t)=>{if(!t)return;let n=h(t,e=>`type:Tokens["${e}"]`);if(typeof n==`object`&&n.type){u.set(e,new Set([`type:${n.type}`]));return}if(n){let t=new Set(Object.keys(n));u.set(e,t)}let r=u.get(e)??new Set;t.property&&u.set(e,r.add(`CssProperties["${t.property}"]`))},f=()=>{for(let[e,n]of Object.entries(t))n&&d(e,n)},p=(e,t)=>{let n=u.get(e)??new Set;u.set(e,new Set([...n,...t]))},m=()=>{let e=new Map;for(let[t,n]of u.entries()){if(n.size===0){e.set(t,[`string`]);continue}let r=Array.from(n).map(e=>e.startsWith(`CssProperties`)?e:e.startsWith(`type:`)?e.replace(`type:`,``):JSON.stringify(e));e.set(t,r)}return e},h=(e,t)=>{let{values:r}=e,i=e=>{let n=t?.(e);return n?{[n]:n}:void 0};if(Mf(r))return i?.(r)??n.getCategoryValues(r)??WE;if(Array.isArray(r)){let e={};for(let t=0;t<r.length;t++)e[r[t]]=r[t];return e}return Nf(r)?r(t?i:n.getCategoryValues):r},g=OE((e,t)=>({[e]:e.startsWith(`--`)?n.getVar(t,t):t})),_=Object.assign(n.getVar,{raw:e=>n.getByName(e)}),v=OE((e,r)=>{let a=x(e);Mf(r)&&!r.includes(`_EMO_`)&&(r=n.expandReferenceInValue(r));let o=t[a];if(!o)return g(a,r);let s=i.get(a)?.[r];return o.transform?o.transform(s??r,{raw:r,token:_,utils:{colorMix:e=>kT(e,_)}}):g(e,s??r)});function y(){c(),l(),s(),f()}y();let b=r.size>0,x=OE(e=>r.get(e)??e);return{keys:()=>[...Array.from(r.keys()),...Object.keys(t)],hasShorthand:b,transform:v,shorthands:r,resolveShorthand:x,register:a,getTypes:m,addPropertyType:p}}function vO(...e){let t=zT(...e),{theme:n={},utilities:r={},globalCss:i={},cssVarsRoot:a=`:where(:root, :host)`,cssVarsPrefix:o=`chakra`,preflight:s}=t,c=TD(t),l=uO({breakpoints:n.breakpoints,tokens:n.tokens,semanticTokens:n.semanticTokens,prefix:o}),u=LE(n.breakpoints??WE),d=UE({conditions:t.conditions??WE,breakpoints:u}),f=_O({config:r,tokens:l});function p(){let{textStyles:e,layerStyles:t,animationStyles:r}=n,i=kf({textStyle:e,layerStyle:t,animationStyle:r});for(let[e,t]of Object.entries(i)){let n=SE(t??WE,bO);f.register(e,{values:Object.keys(n),transform(e){return y(n[e])}})}}p(),f.addPropertyType(`animationName`,Object.keys(n.keyframes??WE));let m=new Set([`css`,...f.keys(),...d.keys()]),h=OE(e=>m.has(e)||bE(e)),g=e=>{if(Array.isArray(e)){let t=KE();for(let n=0;n<e.length;n++){let r=e[n];if(r!=null){let e=d.breakpoints[n];t[e]=r}}return t}return e},_=ED({utility:f,normalize:g}),v=OD({conditions:d,isValidProperty:h}),y=gD({transform:f.transform,conditions:d,normalize:_}),b=xD({css:y,conditions:d,normalize:_,layers:c}),x=ND({cva:b});function S(){let e={};for(let[t,n]of l.cssVarMap.entries()){let r=Object.fromEntries(n);if(Object.keys(r).length===0)continue;let i=t===`base`?a:d.resolve(t),o=i.startsWith(`@`);NT(e,y(v({[i]:o?{[a]:r}:r})))}return c.wrap(`tokens`,e)}function C(){let e=xE(n.keyframes??WE,(e,t)=>[`@keyframes ${e}`,t]),t=Object.assign({},e,y(v(i)));return c.wrap(`base`,t)}function w(e){return Wf(e,h)}function E(){let e=DD({preflight:s});return c.wrap(`reset`,e)}let D=yO(l),O=(e,t)=>D.get(e)?.value||t;O.var=(e,t)=>
14D.get(e)?.variable||t;function k(e,t){return n.recipes?.[e]??t}function A(e,t){return n.slotRecipes?.[e]??t}function j(e){return Object.hasOwnProperty.call(n.recipes??WE,e)}function M(e){return Object.hasOwnProperty.call(n.slotRecipes??WE,e)}function N(e){return j(e)||M(e)}return{$$chakra:!0,_config:t,_global:[E(),C(),S()],breakpoints:u,tokens:l,conditions:d,utility:f,token:O,properties:m,layers:c,isValidProperty:h,splitCssProps:w,normalizeValue:g,getTokenCss:S,getGlobalCss:C,getPreflightCss:E,css:y,cva:b,sva:x,getRecipe:k,getSlotRecipe:A,hasRecipe:N,isRecipe:j,isSlotRecipe:M,query:{layerStyles:xO(n.layerStyles??WE),textStyles:xO(n.textStyles??WE),animationStyles:xO(n.animationStyles??WE),tokens:SO(l,Object.keys(n.tokens??WE),(e,t)=>!e.extensions.conditions&&!t.includes(`colorPalette`)),semanticTokens:SO(l,Object.keys(n.semanticTokens??WE),e=>!!e.extensions.conditions),keyframes:CO(n.keyframes??WE),breakpoints:CO(n.breakpoints??WE)}}}function yO(e){let t=new Map;return e.allTokens.forEach(e=>{let{cssVar:n,virtual:r,conditions:i}=e.extensions,a=i||r?n.ref:e.value;t.set(e.name,{value:a,variable:n.ref})}),t}var bO=e=>Af(e)&&`value`in e,xO=e=>({list(){return Object.keys(SE(e,bO))},search(e){return this.list().filter(t=>t.includes(e))}}),SO=(e,t,n)=>({categoryKeys:t,list(t){let r=e.categoryMap.get(t),i=r?[...r.entries()]:[],a=[];for(let e=0;e<i.length;e++){let[t,r]=i[e];n(r,t)&&a.push(t)}return a},search(e,t){return this.list(e).filter(e=>e.includes(t))}}),CO=e=>({list(){return Object.keys(e)},search(e){return this.list().filter(t=>t.includes(e))}}),wO={sm:`480px`,md:`768px`,lg:`1024px`,xl:`1280px`,"2xl":`1536px`},TO=`var(--chakra-empty, )`,EO=UT({"*":{fontFeatureSettings:`"cv11"`,"--ring-inset":TO,"--ring-offset-width":`0px`,"--ring-offset-color":`#fff`,"--ring-color":`rgba(66, 153, 225, 0.6)`,"--ring-offset-shadow":`0 0 #0000`,"--ring-shadow":`0 0 #0000`,...Object.fromEntries([`brightness`,`contrast`,`grayscale`,`hue-rotate`,`invert`,`saturate`,`sepia`,`drop-shadow`].map(e=>[`--${e}`,TO])),...Object.fromEntries([`blur`,`brightness`,`contrast`,`grayscale`,`hue-rotate`,`invert`,`opacity`,`saturate`,`sepia`].map(e=>[`--backdrop-${e}`,TO])),"--global-font-mono":`fonts.mono`,"--global-font-body":`fonts.body`,"--global-color-border":`colors.border`},html:{color:`fg`,bg:`bg`,lineHeight:`1.5`,colorPalette:`gray`},"*::placeholder, *[data-placeholder]":{color:`fg.muted/80`},"*::selection":{bg:`colorPalette.emphasized/80`}}),DO=qT({"fill.muted":{value:{background:`colorPalette.muted`,color:`colorPalette.fg`}},"fill.subtle":{value:{background:`colorPalette.subtle`,color:`colorPalette.fg`}},"fill.surface":{value:{background:`colorPalette.subtle`,color:`colorPalette.fg`,boxShadow:`0 0 0px 1px var(--shadow-color)`,boxShadowColor:`colorPalette.muted`}},"fill.solid":{value:{background:`colorPalette.solid`,color:`colorPalette.contrast`}},"outline.subtle":{value:{color:`colorPalette.fg`,boxShadow:`inset 0 0 0px 1px var(--shadow-color)`,boxShadowColor:`colorPalette.subtle`}},"outline.solid":{value:{borderWidth:`1px`,borderColor:`colorPalette.solid`,color:`colorPalette.fg`}},"indicator.bottom":{value:{position:`relative`,"--indicator-color-fallback":`colors.colorPalette.solid`,_before:{content:`""`,position:`absolute`,bottom:`var(--indicator-offset-y, 0)`,insetInline:`var(--indicator-offset-x, 0)`,height:`var(--indicator-thickness, 2px)`,background:`var(--indicator-color, var(--indicator-color-fallback))`}}},"indicator.top":{value:{position:`relative`,"--indicator-color-fallback":`colors.colorPalette.solid`,_before:{content:`""`,position:`absolute`,top:`var(--indicator-offset-y, 0)`,insetInline:`var(--indicator-offset-x, 0)`,height:`var(--indicator-thickness, 2px)`,background:`var(--indicator-color, var(--indicator-color-fallback))`}}},"indicator.start":{value:{position:`relative`,"--indicator-color-fallback":`colors.colorPalette.solid`,_before:{content:`""`,position:`absolute`,insetInlineStart:`var(--indicator-offset-x, 0)`,insetBlock:`var(--indicator-offset-y, 0)`,width:`var(--indicator-thickness, 2px)`,background:`var(--indicator-color, var(--indicator-color-fallback))`}}},"indicator.end":{value:{position:`relative`,"--indicator-color-fallback":`colors.colorPalette.solid`,_before:{content:`""`,position:`absolute`,insetInlineEnd:`var(--indicator-offset-x, 0)`,insetBlock:`var(--indicator-offset-y, 0)`,width:`var(--indicator-thickness, 2px)`,background:`var(--indicator-color, var(--indicator-color-fallback))`}}},disabled:{value:{opacity:`0.5`,cursor:`not-allowed`}},none:{value:{}}}),OO=KT({"slide-fade-in":{value:{transformOrigin:`var(--transform-origin)`,"&[data-placement^=top]":{animationName:`slide-from-bottom, fade-in`},"&[data-placement^=bottom]":{animationName:`slide-from-top, fade-in`},"&[data-placement^=left]":{animationName:`slide-from-right, fade-in`},"&[data-placement^=right]":{animationName:`slide-from-left, fade-in`}}}
14,"slide-fade-out":{value:{transformOrigin:`var(--transform-origin)`,"&[data-placement^=top]":{animationName:`slide-to-bottom, fade-out`},"&[data-placement^=bottom]":{animationName:`slide-to-top, fade-out`},"&[data-placement^=left]":{animationName:`slide-to-right, fade-out`},"&[data-placement^=right]":{animationName:`slide-to-left, fade-out`}}},"scale-fade-in":{value:{transformOrigin:`var(--transform-origin)`,animationName:`scale-in, fade-in`}},"scale-fade-out":{value:{transformOrigin:`var(--transform-origin)`,animationName:`scale-out, fade-out`}}}),kO=VT({className:`chakra-badge`,base:{display:`inline-flex`,alignItems:`center`,borderRadius:`l2`,gap:`1`,fontWeight:`medium`,fontVariantNumeric:`tabular-nums`,whiteSpace:`nowrap`,userSelect:`none`},variants:{variant:{solid:{bg:`colorPalette.solid`,color:`colorPalette.contrast`},subtle:{bg:`colorPalette.subtle`,color:`colorPalette.fg`},outline:{color:`colorPalette.fg`,"--outline-shadow-legacy":`colors.colorPalette.muted`,"--outline-shadow":`colors.colorPalette.border`,shadow:`inset 0 0 0px 1px var(--shadow-color)`,shadowColor:`var(--outline-shadow, var(--outline-shadow-legacy))`},surface:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,shadow:`inset 0 0 0px 1px var(--shadow-color)`,shadowColor:`colorPalette.muted`},plain:{color:`colorPalette.fg`}},size:{xs:{textStyle:`2xs`,px:`1`,minH:`4`},sm:{textStyle:`xs`,px:`1.5`,minH:`5`},md:{textStyle:`sm`,px:`2`,minH:`6`},lg:{textStyle:`sm`,px:`2.5`,minH:`7`}}},defaultVariants:{variant:`subtle`,size:`sm`}}),AO=VT({className:`chakra-button`,base:{display:`inline-flex`,appearance:`none`,alignItems:`center`,justifyContent:`center`,userSelect:`none`,position:`relative`,borderRadius:`l2`,whiteSpace:`nowrap`,verticalAlign:`middle`,borderWidth:`1px`,borderColor:`transparent`,cursor:`button`,flexShrink:`0`,outline:`0`,lineHeight:`1.2`,isolation:`isolate`,fontWeight:`medium`,transitionProperty:`common`,transitionDuration:`moderate`,focusVisibleRing:`outside`,_disabled:{layerStyle:`disabled`},_icon:{flexShrink:`0`}},variants:{size:{"2xs":{h:`6`,minW:`6`,textStyle:`xs`,px:`2`,gap:`1`,_icon:{width:`3.5`,height:`3.5`}},xs:{h:`8`,minW:`8`,textStyle:`xs`,px:`2.5`,gap:`1`,_icon:{width:`4`,height:`4`}},sm:{h:`9`,minW:`9`,px:`3.5`,textStyle:`sm`,gap:`2`,_icon:{width:`4`,height:`4`}},md:{h:`10`,minW:`10`,textStyle:`sm`,px:`4`,gap:`2`,_icon:{width:`5`,height:`5`}},lg:{h:`11`,minW:`11`,textStyle:`md`,px:`5`,gap:`3`,_icon:{width:`5`,height:`5`}},xl:{h:`12`,minW:`12`,textStyle:`md`,px:`5`,gap:`2.5`,_icon:{width:`5`,height:`5`}},"2xl":{h:`16`,minW:`16`,textStyle:`lg`,px:`7`,gap:`3`,_icon:{width:`6`,height:`6`}}},variant:{solid:{bg:`colorPalette.solid`,color:`colorPalette.contrast`,borderColor:`transparent`,_hover:{bg:`colorPalette.solid/90`},_expanded:{bg:`colorPalette.solid/90`}},subtle:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,borderColor:`transparent`,_hover:{bg:`colorPalette.muted`},_expanded:{bg:`colorPalette.muted`}},surface:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,shadow:`0 0 0px 1px var(--shadow-color)`,shadowColor:`colorPalette.muted`,_hover:{bg:`colorPalette.muted`},_expanded:{bg:`colorPalette.muted`}},outline:{borderWidth:`1px`,"--outline-color-legacy":`colors.colorPalette.muted`,"--outline-color":`colors.colorPalette.border`,borderColor:`var(--outline-color, var(--outline-color-legacy))`,color:`colorPalette.fg`,_hover:{bg:`colorPalette.subtle`},_expanded:{bg:`colorPalette.subtle`}},ghost:{bg:`transparent`,color:`colorPalette.fg`,_hover:{bg:`colorPalette.subtle`},_expanded:{bg:`colorPalette.subtle`}},plain:{color:`colorPalette.fg`}}},defaultVariants:{size:`md`,variant:`solid`}}),jO=VT({className:`chakra-checkmark`,base:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,flexShrink:`0`,color:`white`,borderWidth:`1px`,borderColor:`transparent`,borderRadius:`l1`,cursor:`checkbox`,focusVisibleRing:`outside`,_icon:{boxSize:`full`},_invalid:{colorPalette:`red`,borderColor:`border.error`},_disabled:{opacity:`0.5`,cursor:`disabled`}},variants:{size:{xs:{boxSize:`3`},sm:{boxSize:`4`},md:{boxSize:`5`,p:`0.5`},lg:{boxSize:`6`,p:`0.5`}},variant:{solid:{borderColor:`border.emphasized`,"&:is([data-state=checked], [data-state=indeterminate])":{bg:`colorPalette.solid`,color:`colorPalette.contrast`,borderColor:`colorPalette.solid`}},outline:{borderColor:`border`,"&:is([data-state=checked], [data-state=indeterminate])":{color:`colorPalette.fg`,borderColor:`colorPalette.solid`}},subtle:{bg:`colorPalette.muted`,borderColor:`colorPalette.muted`,"&:is([data-state=checked], [data-state=indeterminate])":{color:`colorPalette.fg`}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:`colorPalette.fg`}},inverted:{borderColor:`border`,color:`colorPalette.fg`,"&:is([data-state=checked], [data-state=indeterminate])":{borderColor:`colorPalette.solid`}}},filled:{true:{bg:`bg`}}},defaultVariants:{variant:`solid`,size:`md`}}),{variants:MO,defaultVariants:NO}
14=kO,PO=VT({className:`chakra-code`,base:{fontFamily:`mono`,alignItems:`center`,display:`inline-flex`,borderRadius:`l2`},variants:MO,defaultVariants:NO}),FO=VT({className:`color-swatch`,base:{boxSize:`var(--swatch-size)`,shadow:`inset 0 0 0 1px rgba(0, 0, 0, 0.1)`,"--checker-size":`8px`,"--checker-bg":`colors.bg`,"--checker-fg":`colors.bg.emphasized`,background:`linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,flexShrink:`0`},variants:{size:{"2xs":{"--swatch-size":`sizes.3.5`},xs:{"--swatch-size":`sizes.4`},sm:{"--swatch-size":`sizes.4.5`},md:{"--swatch-size":`sizes.5`},lg:{"--swatch-size":`sizes.6`},xl:{"--swatch-size":`sizes.7`},"2xl":{"--swatch-size":`sizes.8`},inherit:{"--swatch-size":`inherit`},full:{"--swatch-size":`100%`}},shape:{square:{borderRadius:`none`},circle:{borderRadius:`full`},rounded:{borderRadius:`l1`}}},defaultVariants:{size:`md`,shape:`rounded`}}
14),IO=VT({className:`chakra-container`,base:{position:`relative`,maxWidth:`8xl`,w:`100%`,mx:`auto`,px:{base:`4`,md:`6`,lg:`8`}},variants:{centerContent:{true:{display:`flex`,flexDirection:`column`,alignItems:`center`}},fluid:{true:{maxWidth:`full`}}}}),LO=VT({className:`chakra-heading`,base:{fontFamily:`heading`,fontWeight:`semibold`},variants:{size:{xs:{textStyle:`xs`},sm:{textStyle:`sm`},md:{textStyle:`md`},lg:{textStyle:`lg`},xl:{textStyle:`xl`},"2xl":{textStyle:`2xl`},"3xl":{textStyle:`3xl`},"4xl":{textStyle:`4xl`},"5xl":{textStyle:`5xl`},"6xl":{textStyle:`6xl`},"7xl":{textStyle:`7xl`}}},defaultVariants:{size:`xl`}}),RO=VT({className:`chakra-icon`,base:{display:`inline-block`,lineHeight:`1em`,flexShrink:`0`,color:`currentcolor`,verticalAlign:`middle`},variants:{size:{inherit:{},xs:{boxSize:`3`},sm:{boxSize:`4`},md:{boxSize:`5`},lg:{boxSize:`6`},xl:{boxSize:`7`},"2xl":{boxSize:`8`}}},defaultVariants:{size:`inherit`}}),zO=VT({className:`chakra-input`,base:{width:`100%`,minWidth:`0`,outline:`0`,position:`relative`,appearance:`none`,textAlign:`start`,borderRadius:`l2`,_disabled:{layerStyle:`disabled`},height:`var(--input-height)`,minW:`var(--input-height)`,"--focus-color":`colors.colorPalette.focusRing`,"--error-color":`colors.border.error`,_invalid:{focusRingColor:`var(--error-color)`,borderColor:`var(--error-color)`}},variants:{size:{"2xs":{textStyle:`xs`,px:`2`,"--input-height":`sizes.7`},xs:{textStyle:`xs`,px:`2`,"--input-height":`sizes.8`},sm:{textStyle:`sm`,px:`2.5`,"--input-height":`sizes.9`},md:{textStyle:`sm`,px:`3`,"--input-height":`sizes.10`},lg:{textStyle:`md`,px:`4`,"--input-height":`sizes.11`},xl:{textStyle:`md`,px:`4.5`,"--input-height":`sizes.12`},"2xl":{textStyle:`lg`,px:`5`,"--input-height":`sizes.16`}},variant:{outline:{bg:`transparent`,borderWidth:`1px`,borderColor:`border`,focusVisibleRing:`inside`,focusRingColor:`var(--focus-color)`},subtle:{borderWidth:`1px`,borderColor:`transparent`,bg:`bg.muted`,focusVisibleRing:`inside`,focusRingColor:`var(--focus-color)`},flushed:{bg:`transparent`,borderBottomWidth:`1px`,borderBottomColor:`border`,borderRadius:`0`,px:`0`,_focusVisible:{borderColor:`var(--focus-color)`,boxShadow:`0px 1px 0px 0px var(--focus-color)`,_invalid:{borderColor:`var(--error-color)`,boxShadow:`0px 1px 0px 0px var(--error-color)`}}}}},defaultVariants:{size:`md`,variant:`outline`}}),BO=VT({className:`chakra-input-addon`,base:{flex:`0 0 auto`,width:`auto`,display:`flex`,alignItems:`center`,whiteSpace:`nowrap`,alignSelf:`stretch`,borderRadius:`l2`},variants:{size:zO.variants.size,variant:{outline:{borderWidth:`1px`,borderColor:`border`,bg:`bg.muted`},subtle:{borderWidth:`1px`,borderColor:`transparent`,bg:`bg.emphasized`},flushed:{borderBottom:`1px solid`,borderColor:`inherit`,borderRadius:`0`,px:`0`,bg:`transparent`}}},defaultVariants:{size:`md`,variant:`outline`}}),VO=VT({className:`chakra-kbd`,base:{display:`inline-flex`,alignItems:`center`,fontWeight:`medium`,fontFamily:`mono`,flexShrink:`0`,whiteSpace:`nowrap`,wordSpacing:`-0.5em`,userSelect:`none`,px:`1`,borderRadius:`l2`},variants:{variant:{raised:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,borderWidth:`1px`,borderBottomWidth:`2px`,borderColor:`colorPalette.muted`},outline:{borderWidth:`1px`,color:`colorPalette.fg`},subtle:{bg:`colorPalette.muted`,color:`colorPalette.fg`},plain:{color:`colorPalette.fg`}},size:{sm:{textStyle:`xs`,height:`4.5`},md:{textStyle:`sm`,height:`5`},lg:{textStyle:`md`,height:`6`}}},defaultVariants:{size:`md`,variant:`raised`}}),HO=VT({className:`chakra-link`,base:{display:`inline-flex`,alignItems:`center`,outline:`none`,gap:`1.5`,cursor:`pointer`,borderRadius:`l1`,focusRing:`outside`},variants:{variant:{underline:{color:`colorPalette.fg`,textDecoration:`underline`,textUnderlineOffset:`3px`,textDecorationColor:`currentColor/20`},plain:{color:`colorPalette.fg`,_hover:{textDecoration:`underline`,textUnderlineOffset:`3px`,textDecorationColor:`currentColor/20`}}}},defaultVariants:{variant:`plain`}}),UO=VT({className:`chakra-mark`,base:{bg:`transparent`,color:`inherit`,whiteSpace:`nowrap`},variants:{variant:{subtle:{bg:`colorPalette.subtle`,color:`inherit`},solid:{bg:`colorPalette.solid`,color:`colorPalette.contrast`},text:{fontWeight:`medium`},plain:{}}}}),WO=VT({className:`chakra-radiomark`,base:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0,verticalAlign:`to
14p`,color:`white`,borderWidth:`1px`,borderColor:`transparent`,borderRadius:`full`,cursor:`radio`,_focusVisible:{outline:`2px solid`,outlineColor:`colorPalette.focusRing`,outlineOffset:`2px`},_invalid:{colorPalette:`red`,borderColor:`red.500`},_disabled:{opacity:`0.5`,cursor:`disabled`},"& .dot":{height:`100%`,width:`100%`,borderRadius:`full`,bg:`currentColor`,scale:`0.4`}},variants:{variant:{solid:{borderWidth:`1px`,borderColor:`border.emphasized`,_checked:{bg:`colorPalette.solid`,color:`colorPalette.contrast`,borderColor:`colorPalette.solid`}},subtle:{borderWidth:`1px`,bg:`colorPalette.muted`,borderColor:`colorPalette.muted`,color:`transparent`,_checked:{color:`colorPalette.fg`}},outline:{borderWidth:`1px`,borderColor:`inherit`,_checked:{color:`colorPalette.fg`,borderColor:`colorPalette.solid`},"& .dot":{scale:`0.6`}},inverted:{bg:`bg`,borderWidth:`1px`,borderColor:`inherit`,_checked:{color:`colorPalette.solid`,borderColor:`currentcolor`}}},size:{xs:{boxSize:`3`},sm:{boxSize:`4`},md:{boxSize:`5`},lg:{boxSize:`6`}},filled:{true:{bg:`bg`}}},defaultVariants:{variant:`solid`,size:`md`}}),GO={badge:kO,button:AO,code:PO,container:IO,heading:LO,input:zO,inputAddon:BO,kbd:VO,link:HO,mark:UO,separator:VT({className:`chakra-separator`,base:{display:`block`,borderColor:`border`},variants:{variant:{solid:{borderStyle:`solid`},dashed:{borderStyle:`dashed`},dotted:{borderStyle:`dotted`}},orientation:{vertical:{borderInlineStartWidth:`var(--separator-thickness)`},horizontal:{borderTopWidth:`var(--separator-thickness)`}},size:{xs:{"--separator-thickness":`0.5px`},sm:{"--separator-thickness":`1px`},md:{"--separator-thickness":`2px`},lg:{"--separator-thickness":`3px`}}},defaultVariants:{size:`sm`,variant:`solid`,orientation:`horizontal`}}),skeleton:VT({className:`chakra-skeleton`,base:{},variants:{loading:{true:{borderRadius:`l2`,boxShadow:`none`,backgroundClip:`padding-box`,cursor:`default`,color:`transparent`,pointerEvents:`none`,userSelect:`none`,flexShrink:`0`,"&::before, &::after, *":{visibility:`hidden`}},false:{background:`unset`,animation:`fade-in var(--fade-duration, 0.1s) ease-out !important`}},variant:{pulse:{background:`bg.emphasized`,animation:`pulse`,animationDuration:`var(--duration, 1.2s)`},shine:{"--animate-from":`200%`,"--animate-to":`-200%`,"--start-color":`colors.bg.muted`,"--end-color":`colors.bg.emphasized`,backgroundImage:`linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))`,backgroundSize:`400% 100%`,animation:`bg-position var(--duration, 5s) ease-in-out infinite`},none:{animation:`none`}}},defaultVariants:{variant:`pulse`,loading:!0}}),skipNavLink:VT({className:`chakra-skip-nav`,base:{display:`inline-flex`,bg:`bg.panel`,padding:`2.5`,borderRadius:`l2`,fontWeight:`semibold`,focusVisibleRing:`outside`,textStyle:`sm`,userSelect:`none`,border:`0`,height:`1px`,width:`1px`,margin:`-1px`,outline:`0`,overflow:`hidden`,position:`absolute`,clip:`rect(0 0 0 0)`,_focusVisible:{clip:`auto`,width:`auto`,height:`auto`,position:`fixed`,top:`6`,insetStart:`6`}}}
14),spinner:VT({className:`chakra-spinner`,base:{display:`inline-block`,borderColor:`currentColor`,borderStyle:`solid`,borderWidth:`2px`,borderRadius:`full`,width:`var(--spinner-size)`,height:`var(--spinner-size)`,animation:`spin`,animationDuration:`slowest`,"--spinner-track-color":`transparent`,borderBottomColor:`var(--spinner-track-color)`,borderInlineStartColor:`var(--spinner-track-color)`},variants:{size:{inherit:{"--spinner-size":`1em`},xs:{"--spinner-size":`sizes.3`},sm:{"--spinner-size":`sizes.4`},md:{"--spinner-size":`sizes.5`},lg:{"--spinner-size":`sizes.8`},xl:{"--spinner-size":`sizes.10`}}},defaultVariants:{size:`md`}}),textarea:VT({className:`chakra-textarea`,base:{width:`100%`,minWidth:`0`,outline:`0`,position:`relative`,appearance:`none`,textAlign:`start`,borderRadius:`l2`,_disabled:{layerStyle:`disabled`},"--focus-color":`colors.colorPalette.focusRing`,"--error-color":`colors.border.error`,_invalid:{focusRingColor:`var(--error-color)`,borderColor:`var(--error-color)`}},variants:{size:{xs:{textStyle:`xs`,px:`2`,py:`1.5`,scrollPaddingBottom:`1.5`},sm:{textStyle:`sm`,px:`2.5`,py:`2`,scrollPaddingBottom:`2`},md:{textStyle:`sm`,px:`3`,py:`2`,scrollPaddingBottom:`2`},lg:{textStyle:`md`,px:`4`,py:`3`,scrollPaddingBottom:`3`},xl:{textStyle:`md`,px:`4.5`,py:`3.5`,scrollPaddingBottom:`3.5`}},variant:{outline:{bg:`transparent`,borderWidth:`1px`,borderColor:`border`,focusVisibleRing:`inside`},subtle:{borderWidth:`1px`,borderColor:`transparent`,bg:`bg.muted`,focusVisibleRing:`inside`},flushed:{bg:`transparent`,borderBottomWidth:`1px`,borderBottomColor:`border`,borderRadius:`0`,px:`0`,_focusVisible:{borderColor:`var(--focus-color)`,boxShadow:`0px 1px 0px 0px var(--focus-color)`}}}},defaultVariants:{size:`md`,variant:`outline`}}),icon:RO,checkmark:jO,radiomark:WO,colorSwatch:FO},KO=XT.colors({bg:{DEFAULT:{value:{_light:`{colors.white}`,_dark:`{colors.black}`}},subtle:{value:{_light:`{colors.gray.50}`,_dark:`{colors.gray.950}`}},muted:{value:{_light:`{colors.gray.100}
14`,_dark:`{colors.gray.900}`}},emphasized:{value:{_light:`{colors.gray.200}`,_dark:`{colors.gray.800}`}},inverted:{value:{_light:`{colors.black}`,_dark:`{colors.white}`}},panel:{value:{_light:`{colors.white}`,_dark:`{colors.gray.950}`}},error:{value:{_light:`{colors.red.50}`,_dark:`{colors.red.950}`}},warning:{value:{_light:`{colors.orange.50}`,_dark:`{colors.orange.950}`}},success:{value:{_light:`{colors.green.50}`,_dark:`{colors.green.950}`}},info:{value:{_light:`{colors.blue.50}`,_dark:`{colors.blue.950}`}}},fg:{DEFAULT:{value:{_light:`{colors.black}`,_dark:`{colors.gray.50}`}},muted:{value:{_light:`{colors.gray.600}`,_dark:`{colors.gray.400}`}},subtle:{value:{_light:`{colors.gray.400}`,_dark:`{colors.gray.500}`}},inverted:{value:{_light:`{colors.gray.50}`,_dark:`{colors.black}`}},error:{value:{_light:`{colors.red.500}`,_dark:`{colors.red.400}`}},warning:{value:{_light:`{colors.orange.600}`,_dark:`{colors.orange.300}`}},success:{value:{_light:`{colors.green.600}`,_dark:`{colors.green.300}`}},info:{value:{_light:`{colors.blue.600}`,_dark:`{colors.blue.300}`}}},border:{DEFAULT:{value:{_light:`{colors.gray.200}`,_dark:`{colors.gray.800}`}},muted:{value:{_light:`{colors.gray.100}
14`,_dark:`{colors.gray.900}`}},subtle:{value:{_light:`{colors.gray.50}`,_dark:`{colors.gray.950}`}},emphasized:{value:{_light:`{colors.gray.300}`,_dark:`{colors.gray.700}`}},inverted:{value:{_light:`{colors.gray.800}`,_dark:`{colors.gray.200}`}},error:{value:{_light:`{colors.red.500}`,_dark:`{colors.red.400}`}},warning:{value:{_light:`{colors.orange.500}`,_dark:`{colors.orange.400}`}},success:{value:{_light:`{colors.green.500}`,_dark:`{colors.green.400}`}},info:{value:{_light:`{colors.blue.500}`,_dark:`{colors.blue.400}`}}},gray:{contrast:{value:{_light:`{colors.white}`,_dark:`{colors.black}`}},fg:{value:{_light:`{colors.gray.800}`,_dark:`{colors.gray.200}`}},subtle:{value:{_light:`{colors.gray.100}`,_dark:`{colors.gray.900}`}},muted:{value:{_light:`{colors.gray.200}`,_dark:`{colors.gray.800}`}},emphasized:{value:{_light:`{colors.gray.300}`,_dark:`{colors.gray.700}`}},solid:{value:{_light:`{colors.gray.900}`,_dark:`{colors.white}`}},focusRing:{value:{_light:`{colors.gray.400}`,_dark:`{colors.gray.400}`}},border:{value:{_light:`{colors.gray.200}`,_dark:`{colors.gray.800}`}}},red:{contrast:{value:{_light:`white`,_dark:`white`}},fg:{value:{_light:`{colors.red.700}`,_dark:`{colors.red.300}`}},subtle:{value:{_light:`{colors.red.100}`,_dark:`{colors.red.900}`}},muted:{value:{_light:`{colors.red.200}`,_dark:`{colors.red.800}`}},emphasized:{value:{_light:`{colors.red.300}`,_dark:`{colors.red.700}`}},solid:{value:{_light:`{colors.red.600}`,_dark:`{colors.red.600}`}},focusRing:{value:{_light:`{colors.red.500}`,_dark:`{colors.red.500}`}},border:{value:{_light:`{colors.red.500}`,_dark:`{colors.red.400}`}}},orange:{contrast:{value:{_light:`white`,_dark:`black`}},fg:{value:{_light:`{colors.orange.700}`,_dark:`{colors.orange.300}`}},subtle:{value:{_light:`{colors.orange.100}`,_dark:`{colors.orange.900}`}},muted:{value:{_light:`{colors.orange.200}`,_dark:`{colors.orange.800}`}},emphasized:{value:{_light:`{colors.orange.300}`,_dark:`{colors.orange.700}`}},solid:{value:{_light:`{colors.orange.600}`,_dark:`{colors.orange.500}`}},focusRing:{value:{_light:`{colors.orange.500}`,_dark:`{colors.orange.500}`}},border:{value:{_light:`{colors.orange.500}`,_dark:`{colors.orange.400}`}}},green:{contrast:{value:{_light:`white`,_dark:`white`}},fg:{value:{_light:`{colors.green.700}`,_dark:`{colors.green.300}`}},subtle:{value:{_light:`{colors.green.100}`,_dark:`{colors.green.900}`}},muted:{value:{_light:`{colors.green.200}`,_dark:`{colors.green.800}`}},emphasized:{value:{_light:`{colors.green.300}`,_dark:`{colors.green.700}`}},solid:{value:{_light:`{colors.green.600}`,_dark:`{colors.green.600}`}},focusRing:{value:{_light:`{colors.green.500}`,_dark:`{colors.green.500}`}},border:{value:{_light:`{colors.green.500}`,_dark:`{colors.green.400}`}}},blue:{contrast:{value:{_light:`white`,_dark:`white`}},fg:{value:{_light:`{colors.blue.700}`,_dark:`{colors.blue.300}`}},subtle:{value:{_light:`{colors.blue.100}`,_dark:`{colors.blue.900}`}},muted:{value:{_light:`{colors.blue.200}`,_dark:`{colors.blue.800}`}},emphasized:{value:{_light:`{colors.blue.300}`,_dark:`{colors.blue.700}`}},solid:{value:{_light:`{colors.blue.600}`,_dark:`{colors.blue.600}`}},focusRing:{value:{_light:`{colors.blue.500}`,_dark:`{colors.blue.500}`}},border:{value:{_light:`{colors.blue.500}`,_dark:`{colors.blue.400}`}}},yellow:{contrast:{value:{_light:`black`,_dark:`black`}},fg:{value:{_light:`{colors.yellow.800}`,_dark:`{colors.yellow.300}`}},subtle:{value:{_light:`{colors.yellow.100}`,_dark:`{colors.yellow.900}`}},muted:{value:{_light:`{colors.yellow.200}`,_dark:`{colors.yellow.800}`}},emphasized:{value:{_light:`{colors.yellow.300}`,_dark:`{colors.yellow.700}`}},solid:{value:{_light:`{colors.yellow.300}`,_dark:`{colors.yellow.300}`}},focusRing:{value:{_light:`{colors.yellow.500}`,_dark:`{colors.yellow.500}`}},border:{value:{_light:`{colors.yellow.500}`,_dark:`{colors.yellow.500}`}}},teal:{contrast:{value:{_light:`white`,_dark:`white`}},fg:{value:{_light:`{colors.teal.700}`,_dark:`{colors.teal.300}`}},subtle:{value:{_light:`{colors.teal.100}`,_dark:`{colors.teal.900}`}},muted:{value:{_light:`{colors.teal.200}`,_dark:`{colors.teal.800}`}},emphasized:{value:{_light:`{colors.teal.300}`,_dark:`{colors.teal.700}`}},solid:{value:{_light:`{colors.teal.600}`,_dark:`{colors.teal.600}`}},focusRing:{value:{_light:`{colors.teal.500}`,_dark:`{colors.teal.500}`}},border:{value:{_light:`{colors.teal.500}`,_dark:`{colors.teal.400}`}}},purple:{contrast:{value:{_light:`white`,_dark:`white`}},fg:{value:{_light:`{colors.purple.700}`,_dark:`{colors.purple.300}`}},subtle:{value:{_light:`{colors.purple.100}`,_dark:`{colors.purple.900}`}},muted:{value:{_light:`{colors.purple.200}`,_dark:`{colors.purple.800}`}},emphasized:{value:{_light:`{colors.purple.300}`,_dark:`{colors.purple.700}`}},solid:{value:{_light:`{colors.purple.600}`,_dark:`{colors.purple.600}`}},focusRing:{value:{_light:`{colors.purple.500}`,_dark:`{colors.purple.500}`}},border:{value:{_light:`{colors.purple.500}`,_dark:`{colors.purple.400}`}}},pink:{contrast:{value:{_light:`white`,_dark:`white`}},fg:{value:{_light:`{colors.pink.700}`,_dark:`{colors.pink.300}`}},subtle:{value:{_light:`{colors.pink.100}`,_dark:`{colors.pink.900}`}},muted:{value:{_light:`{colors.pink.200}`,_dark:`{colors.pink.800}`}},emphasized:{value:{_light:`{colors.pink.300}`,_dark:`{colors.pink.700}`}},solid:{value:{_light:`{colors.pink.600}`,_dark:`{colors.pink.600}`}},focusRing:{value:{_light:`{colors.pink.500}`,_dark:`{colors.pink.500}`}}
14,border:{value:{_light:`{colors.pink.500}`,_dark:`{colors.pink.400}`}}},cyan:{contrast:{value:{_light:`white`,_dark:`white`}},fg:{value:{_light:`{colors.cyan.700}`,_dark:`{colors.cyan.300}`}},subtle:{value:{_light:`{colors.cyan.100}`,_dark:`{colors.cyan.900}`}},muted:{value:{_light:`{colors.cyan.200}`,_dark:`{colors.cyan.800}`}},emphasized:{value:{_light:`{colors.cyan.300}`,_dark:`{colors.cyan.700}`}},solid:{value:{_light:`{colors.cyan.600}`,_dark:`{colors.cyan.600}`}},focusRing:{value:{_light:`{colors.cyan.500}`,_dark:`{colors.cyan.500}`}},border:{value:{_light:`{colors.cyan.500}`,_dark:`{colors.cyan.400}`}}}}),qO=XT.radii({l1:{value:`{radii.xs}`},l2:{value:`{radii.sm}`},l3:{value:`{radii.md}`}}),JO=XT.shadows({xs:{value:{_light:`0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}`,_dark:`0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}`}},sm:{value:{_light:`0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}`,_dark:`0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}`}}
14,md:{value:{_light:`0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}`,_dark:`0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}`}},lg:{value:{_light:`0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}`,_dark:`0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}`}},xl:{value:{_light:`0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}`,_dark:`0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}`}},"2xl":{value:{_light:`0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}`,_dark:`0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}`}},inner:{value:{_light:`inset 0 2px 4px 0 {black/5}`,_dark:`inset 0 2px 4px 0 black`}},inset:{value:{_light:`inset 0 0 0 1px {black/5}`,_dark:`inset 0 0 0 1px {colors.gray.300/5}`}}}),YO=X_.extendWith(`itemBody`),XO=K(`action-bar`).parts(`positioner`,`content`,`separator`,`selectionTrigger`,`closeTrigger`),ZO=K(`alert`).parts(`title`,`description`,`root`,`indicator`,`content`),QO=K(`breadcrumb`).parts(`link`,`currentLink`,`item`,`list`,`root`,`ellipsis`,`separator`),$O=K(`blockquote`).parts(`root`,`icon`,`content`,`caption`),ek=K(`card`).parts(`root`,`header`,`body`,`footer`,`title`,`description`),tk=K(`checkbox-card`,[`root`,`control`,`label`,`description`,`addon`,`indicator`,`content`]),nk=K(`data-list`).parts(`root`,`item`,`itemLabel`,`itemValue`),rk=TC.extendWith(`indicatorGroup`),ik=EC.extendWith(`header`,`body`,`footer`,`backdrop`),ak=EC.extendWith(`header`,`body`,`footer`,`backdrop`),ok=OC.extendWith(`textarea`),sk=K(`empty-state`,[`root`,`content`,`indicator`,`title`,`description`]),ck=kC.extendWith(`requiredIndicator`),lk=jC.extendWith(`content`),uk=NC.extendWith(`itemContent`,`dropzoneContent`,`fileText`),dk=K(`list`).parts(`root`,`item`,`indicator`),fk=zC.extendWith(`itemCommand`),pk=K(`select`).parts(`root`,`field`,`indicator`),mk=UC.extendWith(`header`,`body`,`footer`),hk=JC.extendWith(`itemAddon`,`itemIndicator`),gk=hk.extendWith(`itemContent`,`itemDescription`),_k=XC.extendWith(`itemIndicator`),vk=ew.extendWith(`indicatorGroup`),yk=kx.extendWith(`indicatorGroup`,`empty`),bk=nw.extendWith(`markerIndicator`,`markerLabel`),xk=K(`stat`).parts(`root`,`label`,`helpText`,`valueText`,`valueUnit`,`indicator`),Sk=K(`status`).parts(`root`,`indicator`),Ck=K(`steps`,[`root`,`list`,`item`,`trigger`,`indicator`,`separator`,`content`,`title`,`description`,`nextTrigger`,`prevTrigger`,`progress`]),wk=iw.extendWith(`indicator`),Tk=K(`table`).parts(`root`,`header`,`body`,`row`,`columnHeader`,`cell`,`footer`,`caption`),Ek=K(`toast`).parts(`root`,`title`,`description`,`indicator`,`closeTrigger`,`actionTrigger`),Dk=K(`tabs`).parts(`root`,`trigger`,`list`,`content`,`contentGroup`,`indicator`),Ok=K(`tag`).parts(`root`,`label`,`closeTrigger`,`startElement`,`endElement`),kk=K(`timeline`).parts(`root`,`item`,`content`,`separator`,`indicator`,`connector`,`title`,`description`),Ak=Dx.extendWith(`channelText`),jk=K(`code-block`,[`root`,`content`,`title`,`header`,`footer`,`control`,`overlay`,`code`,`codeText`,`copyTrigger`,`copyIndicator`,`collapseTrigger`,`collapseIndicator`,`collapseText`]),Mk=rw.extendWith(`resizeTriggerSeparator`,`resizeTriggerIndicator`);Yv.extendWith(`valueText`);var Nk=LC,Pk=q({className:`chakra-accordion`,slots:YO.keys(),base:{root:{width:`full`,"--accordion-radius":`radii.l2`},item:{overflowAnchor:`none`},itemTrigger:{display:`flex`,alignItems:`center`,textAlign:`start`,width:`full`,outline:`0`,gap:`3`,fontWeight:`medium`,borderRadius:`var(--accordion-radius)`,_focusVisible:{outline:`2px solid`,outlineColor:`colorPalette.focusRing`},_disabled:{layerStyle:`disabled`}},itemBody:{pt:`var(--accordion-padding-y)`,pb:`calc(var(--accordion-padding-y) * 2)`},itemContent:{overflow:`hidden`,borderRadius:`var(--accordion-radius)`,_open:{animationName:`expand-height, fade-in`,animationDuration:`moderate`},_closed:{animationName:`collapse-height, fade-out`,animationDuration:`moderate`}},itemIndicator:{transition:`rotate 0.2s`,transformOrigin:`center`,color:`fg.subtle`,_open:{rotate:`180deg`},_icon:{width:`1.2em`,height:`1.2em`}}},variants:{variant:{outline:{item:{borderBottomWidth:`1px`}},subtle:{itemTrigger:{px:`var(--accordion-padding-x)`},itemContent:{px:`var(--accordion-padding-x)`},item:{borderRadius:`var(--accordion-radius)`,_open:{bg:`colorPalette.subtle`}}},enclosed:{root:{borderWidth:`1px`,borderRadius:`var(--accordion-radius)`,divi
14deY:`1px`,overflow:`hidden`},itemTrigger:{px:`var(--accordion-padding-x)`},itemContent:{px:`var(--accordion-padding-x)`},item:{_open:{bg:`bg.subtle`}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":`spacing.3`,"--accordion-padding-y":`spacing.2`},itemTrigger:{textStyle:`sm`,py:`var(--accordion-padding-y)`}},md:{root:{"--accordion-padding-x":`spacing.4`,"--accordion-padding-y":`spacing.2`},itemTrigger:{textStyle:`md`,py:`var(--accordion-padding-y)`}},lg:{root:{"--accordion-padding-x":`spacing.4.5`,"--accordion-padding-y":`spacing.2.5`},itemTrigger:{textStyle:`lg`,py:`var(--accordion-padding-y)`}}}},defaultVariants:{size:`md`,variant:`outline`}}),Fk=q({className:`chakra-action-bar`,slots:XO.keys(),base:{positioner:{position:`fixed`,display:`flex`,pointerEvents:`none`,insetInline:`0`,"--action-bar-offset":`spacing.4`},content:{bg:`bg.panel`,shadow:`md`,display:`flex`,alignItems:`center`,gap:`3`,borderRadius:`l3`,py:`2.5`,px:`3`,pointerEvents:`auto`,translate:`calc(-1 * var(--scrollbar-width) / 2) 0px`,_open:{animationName:`slide-from-bottom, fade-in`,animationDuration:`moderate`},_closed:{animationName:`slide-to-bottom, fade-out`,animationDuration:`faster`}},separator:{width:`1px`,height:`5`,bg:`border`},selectionTrigger:{display:`inline-flex`,alignItems:`center`,gap:`2`,alignSelf:`stretch`,textStyle:`sm`,px:`4`,py:`1`,borderRadius:`l2`,borderWidth:`1px`,borderStyle:`dashed`}},variants:{placement:{bottom:{positioner:{bottom:`calc(env(safe-area-inset-bottom) + var(--action-bar-offset))`,justifyContent:`center`}},"bottom-start":{positioner:{bottom:`calc(env(safe-area-inset-bottom) + var(--action-bar-offset))`,justifyContent:`flex-start`,ps:`var(--action-bar-offset)`}},"bottom-end":{positioner:{bottom:`calc(env(safe-area-inset-bottom) + var(--action-bar-offset))`,justifyContent:`flex-end`,pe:`var(--action-bar-offset)`}}}},defaultVariants:{placement:`bottom`}}),Ik=q({slots:ZO.keys(),className:`chakra-alert`,base:{root:{width:`full`,display:`flex`,alignItems:`flex-start`,position:`relative`,borderRadius:`l3`},title:{fontWeight:`medium`},description:{display:`inline`},indicator:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,flexShrink:`0`,width:`1em`,height:`1em`,_icon:{boxSize:`full`}},content:{display:`flex`,flex:`1`,gap:`1`}},variants:{status:{info:{root:{colorPalette:`blue`}},warning:{root:{colorPalette:`orange`}},success:{root:{colorPalette:`green`}},error:{root:{colorPalette:`red`}},neutral:{root:{colorPalette:`gray`}}},inline:{true:{content:{display:`inline-flex`,flexDirection:`row`,alignItems:`center`}},false:{content:{display:`flex`,flexDirection:`column`}}},variant:{subtle:{root:{bg:`colorPalette.subtle`,color:`colorPalette.fg`}},surface:{root:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,shadow:`inset 0 0 0px 1px var(--shadow-color)`,shadowColor:`colorPalette.muted`},indicator:{color:`colorPalette.fg`}},outline:{root:{color:`colorPalette.fg`,shadow:`inset 0 0 0px 1px var(--shadow-color)`,"--outline-shadow-legacy":`colors.colorPalette.muted`,"--outline-shadow":`colors.colorPalette.border`,shadowColor:`var(--outline-shadow, var(--outline-shadow-legacy))`},indicator:{color:`colorPalette.fg`}},solid:{root:{bg:`colorPalette.solid`,color:`colorPalette.contrast`},indicator:{color:`colorPalette.contrast`}}},size:{sm:{root:{gap:`2`,px:`3`,py:`3`,textStyle:`xs`},indicator:{textStyle:`lg`}},md:{root:{gap:`3`,px:`4`,py:`4`,textStyle:`sm`},indicator:{textStyle:`xl`}},lg:{root:{gap:`3`,px:`4`,py:`4`,textStyle:`md`},indicator:{textStyle:`2xl`}}}},defaultVariants:{status:`info`,variant:`subtle`,size:`md`,inline:!1}}),Lk=q({slots:Z_.keys(),className:`chakra-avatar`,base:{root:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,fontWeight:`medium`,position:`relative`,verticalAlign:`top`,flexShrink:`0`,userSelect:`none`,width:`var(--avatar-size)`,height:`var(--avatar-size)`,fontSize:`var(--avatar-font-size)`,borderRadius:`var(--avatar-radius)`,"&[data-group-item]":{borderWidth:`2px`,borderColor:`bg`}},image:{width:`100%`,height:`100%`,objectFit:`cover`,borderRadius:`var(--avatar-radius)`},fallback:{lineHeight:`1`,textTransform:`uppercase`,fontWeight:`medium`,fontSize:`var(--avatar-font-size)`,borderRadius:`var(--avatar-radius)`}},variants:{size:{full:{root:{"--avatar-size":`100%`,"--avatar-font-size":`100%`}},"2xs":{root:{"--avatar-font-size":`fontSizes.2xs`,"--avatar-size":`sizes.6`}},xs:{root:{"--avatar-font-size":`fontSizes.xs`,"--avatar-size":`sizes.8`}},sm:{root:{"--avatar-font-size":`fontSizes.sm`,"--avatar-size":`sizes.9`}},md:{root:{"--avatar-font-size":`fontSizes.md`,"--avatar-size":`sizes.10`}},lg:{root:{"--avatar-font-size":`fontSizes.md`,"--avatar-size":`sizes.11`}},xl:{root:{"--avatar-font-size":`fontSizes.lg`,"--avatar-size":`sizes.12`}},"2xl":{root:{"--avatar-font-size":`fontSizes.xl`,"--avatar-size":`sizes.16`}}},variant:{solid:{root:{bg:`colorPalette.solid`,color:`colorPalette.contrast`}},subtle:{root:{bg:`colorPalette.muted`,color:`colorPalette.fg`}},outline:{root:{color:`colorPalette.fg`,borderWidth:`1px`,"--outline-shadow-legacy":`colors.colorPalette.muted`,"--outline-shadow":`colors.colorPalette.border`,borderColor:`var(--outline-shadow, var(--outline-shadow-legacy))`}}},shape:{square:{},rounded:{root:{"--avatar-radius":`radii.l3`}},full:{root:{"--avatar-radius":`radii.full`}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:`0px`}}}}},defaultVariants:{size:`md`,shape:`full`,variant:`subtle`}}
vendor: 8,616 bytes, line 14
14),Rk=q({className:`chakra-blockquote`,slots:$O.keys(),base:{root:{position:`relative`,display:`flex`,flexDirection:`column`,gap:`2`},caption:{textStyle:`sm`,color:`fg.muted`},icon:{boxSize:`5`}},variants:{justify:{start:{root:{alignItems:`flex-start`,textAlign:`start`}},center:{root:{alignItems:`center`,textAlign:`center`}},end:{root:{alignItems:`flex-end`,textAlign:`end`}}},variant:{subtle:{root:{paddingX:`5`,borderStartWidth:`4px`,borderStartColor:`colorPalette.muted`},icon:{color:`colorPalette.fg`}},solid:{root:{paddingX:`5`,borderStartWidth:`4px`,borderStartColor:`colorPalette.solid`},icon:{color:`colorPalette.solid`}},plain:{root:{paddingX:`5`},icon:{color:`colorPalette.solid`}}}},defaultVariants:{variant:`subtle`,justify:`start`}}),zk=q({className:`chakra-breadcrumb`,slots:QO.keys(),base:{list:{display:`flex`,alignItems:`center`,wordBreak:`break-word`,color:`fg.muted`,listStyle:`none`},link:{outline:`0`,textDecoration:`none`,borderRadius:`l1`,focusRing:`outside`,display:`inline-flex`,alignItems:`center`,gap:`2`},item:{display:`inline-flex`,alignItems:`center`},separator:{color:`fg.muted`,opacity:`0.8`,_icon:{boxSize:`1em`},_rtl:{rotate:`180deg`}},ellipsis:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,_icon:{boxSize:`1em`}}},variants:{variant:{underline:{link:{color:`colorPalette.fg`,textDecoration:`underline`,textUnderlineOffset:`0.2em`,textDecorationColor:`colorPalette.muted`},currentLink:{color:`colorPalette.fg`}},plain:{link:{color:`fg.muted`,_hover:{color:`fg`}},currentLink:{color:`fg`}}},size:{sm:{list:{gap:`1`,textStyle:`xs`}},md:{list:{gap:`1.5`,textStyle:`sm`}},lg:{list:{gap:`2`,textStyle:`md`}}}},defaultVariants:{variant:`plain`,size:`md`}}),Bk=q({className:`chakra-card`,slots:ek.keys(),base:{root:{display:`flex`,flexDirection:`column`,position:`relative`,minWidth:`0`,wordWrap:`break-word`,borderRadius:`l3`,color:`fg`,textAlign:`start`},title:{fontWeight:`semibold`},description:{color:`fg.muted`,fontSize:`sm`},header:{paddingInline:`var(--card-padding)`,paddingTop:`var(--card-padding)`,display:`flex`,flexDirection:`column`,gap:`1.5`},body:{padding:`var(--card-padding)`,flex:`1`,display:`flex`,flexDirection:`column`},footer:{display:`flex`,alignItems:`center`,gap:`2`,paddingInline:`var(--card-padding)`,paddingBottom:`var(--card-padding)`}},variants:{size:{sm:{root:{"--card-padding":`spacing.4`},title:{textStyle:`md`}},md:{root:{"--card-padding":`spacing.6`},title:{textStyle:`lg`}},lg:{root:{"--card-padding":`spacing.7`},title:{textStyle:`xl`}}},variant:{elevated:{root:{bg:`bg.panel`,boxShadow:`md`}},outline:{root:{bg:`bg.panel`,borderWidth:`1px`,borderColor:`border`}},subtle:{root:{bg:`bg.muted`}}}},defaultVariants:{variant:`outline`,size:`md`}}),Vk=q({className:`carousel`,slots:wv.keys(),base:{root:{position:`relative`,display:`flex`,gap:`2`,_horizontal:{flexDirection:`column`},_vertical:{flexDirection:`row`}},item:{_horizontal:{width:`100%`},_vertical:{height:`100%`}},control:{display:`flex`,alignItems:`center`,_horizontal:{flexDirection:`row`,width:`100%`},_vertical:{flexDirection:`column`,height:`100%`}},indicatorGroup:{display:`flex`,justifyContent:`center`,gap:`3`,_horizontal:{flexDirection:`row`},_vertical:{flexDirection:`column`}},indicator:{width:`2.5`,height:`2.5`,borderRadius:`full`,bg:`colorPalette.subtle`,cursor:`button`,_current:{bg:`colorPalette.solid`}}},defaultVariants:{}}),Hk=q({slots:Jv.keys(),className:`chakra-checkbox`,base:{root:{display:`inline-flex`,gap:`2`,alignItems:`center`,verticalAlign:`top`,position:`relative`},control:jO.base,label:{fontWeight:`medium`,userSelect:`none`,_disabled:{opacity:`0.5`}}},variants:{size:{xs:{root:{gap:`1.5`},label:{textStyle:`xs`},control:jO.variants?.size?.xs},sm:{root:{gap:`2`},label:{textStyle:`sm`},control:jO.variants?.size?.sm},md:{root:{gap:`2.5`},label:{textStyle:`sm`},control:jO.variants?.size?.md},lg:{root:{gap:`3`},label:{textStyle:`md`},control:jO.variants?.size?.lg}},variant:{outline:{control:jO.variants?.variant?.outline},solid:{control:jO.variants?.variant?.solid},subtle:{control:jO.variants?.variant?.subtle}}},defaultVariants:{variant:`solid`,size:`md`}}),Uk=q({slots:tk.keys(),className:`chakra-checkbox-card`,base:{root:{display:`flex`,flexDirection:`column`,userSelect:`none`,position:`relative`,borderRadius:`l2`,flex:`1`,focusVisibleRing:`outside`,_disabled:{opacity:`0.8`},_invalid:{outline:`2px solid`,outlineColor:`border.error`}},control:{display:`inline-flex`,flex:`1`,position:`relative`,borderRadius:`inherit`,justifyContent:`var(--checkbox-card-justify)`,alignItems:`var(--checkbox-card-align)`},label:{fontWeight:`medium`,display:`flex`,alignItems:`center`,gap:`2`,flex:`1`,_disabled:{opacity:`0.5`}},description:{opacity:`0.64`,textStyle:`sm`,_disabled:{opacity:`0.5`}},addon:{_disabled:{opacity:`0.5`}},indicator:jO.base,content:{display:`flex`,flexDirection:`column`,flex:`1`,gap:`1`,justifyContent:`var(--checkbox-card-justify)`,alignItems:`var(--checkbox-card-align)`}},variants:{size:{sm:{root:{textStyle:`sm`},control:{padding:`3`,gap:`1.5`},addon:{px:`3`,py:`1.5`,borderTopWidth:`1px`},indicator:jO.variants?.size.sm},md:{root:{textStyle:`sm`},control:{padding:`4`,gap:`2.5`},addon:{px:`4`,py:`2`,borderTopWidth:`1px`},indicator:jO.variants?.size.md},lg:{root:{textStyle:`md`},control:{padding:`4`,gap:`3.5`},addon:{px:`4`,py:`2`,borderTopWidth:`1px`},indicator:jO.variants?.size.lg}},variant:{surface:{root:{borderWidth:`1px`,borderColor:`border`,_checked:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,borderColor:`colorPalette.muted`},_disabled:{bg:`bg.muted`}},indicator:jO.variants?.variant.solid},subtle:{root:{bg:`bg.muted`},control:{_checked:{bg:`colorPalette.muted`,color:`colorPalette.fg`}},indicator:jO.variants?.variant.plain},outline:{root:{borderWidth:`1px`,borderColor:`border`,_checked:{boxShadow:`0 0 0 1px var(--shadow-color)`,boxShadowColor:`colorPalette.solid`,borderColor:`colorPalette.solid`}},indicator:jO.variants?.variant.solid},solid:{root:{borderWidth:`1px`,_checked:{bg:`colorPalette.solid`,color:`colorPalette.contrast`,borderColor:`colorPalette.solid`}},indicator:jO.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":`flex-start`}},end:{root:{"--checkbox-card-justify":`flex-end`}},center:{root:{"--checkbox-card-justify":`center`}}},align:{start:{root:{"--checkbox-card-align":`flex-start`},content:{textAlign:`start`}},end:{root:{"--checkbox-card-align":`flex-end`},content:{textAlign:`end`}},center:{root:{"--checkbox-card-align":`center`},content:{textAlign:`center`}}},orientation:{vertical:{control:{flexDirection:`column`}},horizontal:{control:{flexDirection:`row`}}}},defaultVariants:{size:`md`,variant:`outline`,align:`start`,orientation:`horizontal`}}),Wk=q({slots:jk.keys(),className:`code-block`,base:{root:{colorPalette:`gray`,rounded:`var(--code-block-radius)`,overflow:`hidden`,bg:`bg`,color:`fg`,borderWidth:`1px`,"--code-block-max-height":`320px`,"--code-block-bg":`colors.bg`,"--code-block-fg":`colors.fg`,"--code-block-obscured-opacity":`0.5`,"--code-block-obscured-blur":`1px`,"--code-block-line-number-width":`sizes.3`,"--code-block-line-number-margin":`spacing.4`,"--code-block-highlight-bg":`{colors.teal.focusRing/20}`,"--code-block-highlight-border":`colors.teal.focusRing`,"--code-block-highlight-added-bg":`{colors.green.focusRing/20}`,"--code-block-highlight-added-border":`colors.green.focusRing`,"--code-block-highlight-removed-bg":`{colors.red.focusRing/20}`,"--code-block-highlight-removed-border":`colors.red.focusRing`},header:{display:`flex`,alignItems:`center`,gap:`2`,position:`relative`,px:`var(--code-block-padding)`,minH:`var(--code-block-header-height)`,mb:`calc(var(--code-block-padding) / 2 * -1)`},title:{display:`inline-flex`,alignItems:`center`,gap:`1.5`,flex:`1`,color:`fg.muted`},control:{gap:`1.5`,display:`inline-flex`,alignItems:`center`},footer:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:`2`,px:`var(--code-block-padding)`,minH:`var(--code-block-header-height)`},content:{position:`relative`,colorScheme:`dark`,borderBottomRadius:`var(--code-block-radius)`,maxHeight:`var(--code-block-max-height)`,"& ::selection":{bg:`blue.500/40`},_expanded:{maxHeight:`unset`}},overlay:{"--bg":`{colors.black/50}`,display:`flex`,alignItems:`flex-end`,justifyContent:`center`,padding:`4`,bgImage:`linear-gradient(0deg,var(--bg) 25%,transparent 100%)`,color:`white`,minH:`5rem`,pos:`absolute`,bottom:`0`,insetInline:`0`,zIndex:`1`,fontWeight:`medium`,_expanded:{display:`none`}},code:{fontFamily:`mono`,lineHeight:`tall`,whiteSpace:`pre`,counterReset:`line 0`,overflowX:`auto`,overflowY:`hidden`}
14,codeText:{px:`var(--code-block-padding)`,py:`var(--code-block-padding)`,position:`relative`,display:`block`,width:`100%`,"&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:`opacity, filter`,transitionDuration:`moderate`,transitionTimingFunction:`ease-in-out`,opacity:`var(--code-block-obscured-opacity)`,filter:`blur(var(--code-block-obscured-blur))`},"&:hover":{"--code-block-obscured-opacity":`1`,"--code-block-obscured-blur":`0px`}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:`calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))`},"& [data-line]":{position:`relative`,paddingInlineEnd:`var(--code-block-padding)`,"--highlight-bg":`var(--code-block-highlight-bg)`,"--highlight-border":`var(--code-block-highlight-border)`,"&[data-highlight], &[data-diff]":{display:`inline-block`,width:`full`,"&:after":{content:`''`,display:`block`,position:`absolute`,top:`0`,insetStart:`calc(var(--code-block-padding) * -1)`,insetEnd:`0px`,width:`calc(100% + var(--code-block-padding) * 2)`,height:`100%`,bg:`var(--highlight-bg)`,borderStartWidth:`2px`,borderStartColor:`var(--highlight-border)`}},"&[data-diff='added']":{"--highlight-bg":`var(--code-block-highlight-added-bg)`,"--highlight-border":`var(--code-block-highlight-added-border)`},"&[data-diff='removed']":{"--highlight-bg":`var(--code-block-highlight-removed-bg)`,"--highlight-border":`var(--code-block-highlight-removed-border)`}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:`pre-wrap`,wordBreak:`break-all`}},"&[data-has-line-numbers]":{"--content":`counter(line)`,"& [data-line]:before":{content:`var(--content)`,counterIncrement:`line`,width:`var(--code-block-line-number-width)`,marginRight:`var(--code-block-line-number-margin)`,display:`inline-block`,textAlign:`end`,userSelect:`none`,whiteSpace:`nowrap`,opacity:.4},"& [data-diff='added']:before":{content:`'+'`},"& [data-diff='removed']:before":{content:`'-'`}}}},variants:{size:{sm:{root:{"--code-block-padding":`spacing.4`,"--code-block-radius":`radii.md`,"--code-block-header-height":`sizes.8`},title:{textStyle:`xs`},code:{fontSize:`xs`}},md:{root:{"--code-block-padding":`spacing.4`,"--code-block-radius":`radii.lg`,"--code-block-header-height":`sizes.10`},title:{textStyle:`xs`},code:{fontSize:`sm`}},lg:{root:{"--code-block-padding":`spacing.5`,"--code-block-radius":`radii.xl`,"--code-block-header-height":`sizes.12`},title:{textStyle:`sm`},code:{fontSize:`sm`}}}},defaultVariants:{size:`md`}}),Gk=q({slots:Zv.keys(),className:`chakra-collapsible`,base:{content:{overflow:`hidden`,_open:{animationName:`expand-height, fade-in`,animationDuration:`moderate`,"&[data-has-collapsed-size]":{animationName:`expand-height`}},_closed:{animationName:`collapse-height, fade-out`,animationDuration:`moderate`,"&[data-has-collapsed-size]":{animationName:`collapse-height`}}}}}),Kk=q({className:`colorPicker`,slots:Ak.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`1.5`},label:{color:`fg`,fontWeight:`medium`,textStyle:`sm`,_disabled:{opacity:`0.5`}},valueText:{textAlign:`start`},control:{display:`flex`,alignItems:`center`,flexDirection:`row`,gap:`2`,position:`relative`},swatchTrigger:{display:`flex`,alignItems:`center`,justifyContent:`center`},trigger:{display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`row`,flexShrink:`0`,gap:`2`,textStyle:`sm`,minH:`var(--input-height)`,minW:`var(--input-height)`,px:`1`,rounded:`l2`,_disabled:{opacity:`0.5`},"--focus-color":`colors.colorPalette.focusRing`,"&:focus-visible":{borderColor:`var(--focus-color)`,outline:`1px solid var(--focus-color)`},"&[data-fit-content]":{"--input-height":`unset`,px:`0`,border:`0`}},content:{display:`flex`,flexDirection:`column`,bg:`bg.panel`,borderRadius:`l3`,boxShadow:`lg`,width:`64`,p:`4`,gap:`3`,"--color-picker-z-index":`zIndex.popover`,zIndex:`calc(var(--color-picker-z-index) + var(--layer-index, 0))`,_open:{animationStyle:`slide-fade-in`,animationDuration:`fast`},_closed:{animationStyle:`slide-fade-out`,animationDuration:`faster`}}
vendor: 4,349 bytes, line 14
14,area:{height:`180px`,borderRadius:`l2`,overflow:`hidden`},areaThumb:{borderRadius:`full`,height:`var(--thumb-size)`,width:`var(--thumb-size)`,borderWidth:`2px`,borderColor:`white`,shadow:`sm`,focusVisibleRing:`mixed`,focusRingColor:`white`},areaBackground:{height:`full`},channelSlider:{borderRadius:`l2`,flex:`1`},channelSliderTrack:{height:`var(--slider-height)`,borderRadius:`inherit`,boxShadow:`inset 0 0 0 1px rgba(0,0,0,0.1)`},channelText:{textStyle:`xs`,color:`fg.muted`,fontWeight:`medium`,textTransform:`capitalize`},swatchGroup:{display:`flex`,flexDirection:`row`,flexWrap:`wrap`,gap:`2`},swatch:{...FO.base,borderRadius:`l1`},swatchIndicator:{color:`white`,rounded:`full`},channelSliderThumb:{borderRadius:`full`,height:`var(--thumb-size)`,width:`var(--thumb-size)`,borderWidth:`2px`,borderColor:`white`,shadow:`sm`,transform:`translate(-50%, -50%)`,focusVisibleRing:`outside`,focusRingOffset:`1px`},channelInput:{...zO.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:`none`,margin:0}},formatSelect:{textStyle:`xs`,textTransform:`uppercase`,borderWidth:`1px`,minH:`6`,focusRing:`inside`,rounded:`l2`},transparencyGrid:{borderRadius:`l2`},view:{display:`flex`,flexDirection:`column`,gap:`2`}},variants:{size:{"2xs":{channelInput:zO.variants?.size?.[`2xs`],swatch:{"--swatch-size":`sizes.4.5`},trigger:{"--input-height":`sizes.7`},area:{"--thumb-size":`sizes.3`},channelSlider:{"--slider-height":`sizes.3`,"--thumb-size":`sizes.3`}},xs:{channelInput:zO.variants?.size?.xs,swatch:{"--swatch-size":`sizes.5`},trigger:{"--input-height":`sizes.8`},area:{"--thumb-size":`sizes.3.5`},channelSlider:{"--slider-height":`sizes.3.5`,"--thumb-size":`sizes.3.5`}},sm:{channelInput:zO.variants?.size?.sm,swatch:{"--swatch-size":`sizes.6`},trigger:{"--input-height":`sizes.9`},area:{"--thumb-size":`sizes.3.5`},channelSlider:{"--slider-height":`sizes.3.5`,"--thumb-size":`sizes.3.5`}},md:{channelInput:zO.variants?.size?.md,swatch:{"--swatch-size":`sizes.7`},trigger:{"--input-height":`sizes.10`},area:{"--thumb-size":`sizes.3.5`},channelSlider:{"--slider-height":`sizes.3.5`,"--thumb-size":`sizes.3.5`}},lg:{channelInput:zO.variants?.size?.lg,swatch:{"--swatch-size":`sizes.7`},trigger:{"--input-height":`sizes.11`},area:{"--thumb-size":`sizes.3.5`},channelSlider:{"--slider-height":`sizes.3.5`,"--thumb-size":`sizes.3.5`}},xl:{channelInput:zO.variants?.size?.xl,swatch:{"--swatch-size":`sizes.8`},trigger:{"--input-height":`sizes.12`},area:{"--thumb-size":`sizes.3.5`},channelSlider:{"--slider-height":`sizes.3.5`,"--thumb-size":`sizes.3.5`}},"2xl":{channelInput:zO.variants?.size?.[`2xl`],swatch:{"--swatch-size":`sizes.10`},trigger:{"--input-height":`sizes.16`},area:{"--thumb-size":`sizes.3.5`},channelSlider:{"--slider-height":`sizes.3.5`,"--thumb-size":`sizes.3.5`}}},variant:{outline:{channelInput:zO.variants?.variant?.outline,trigger:{borderWidth:`1px`}},subtle:{channelInput:zO.variants?.variant?.subtle,trigger:{borderWidth:`1px`,borderColor:`transparent`,bg:`bg.muted`}}}},defaultVariants:{size:`md`,variant:`outline`}}),qk=q({className:`chakra-combobox`,slots:yk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`1.5`,width:`full`},label:{fontWeight:`medium`,userSelect:`none`,textStyle:`sm`,_disabled:{layerStyle:`disabled`}},control:{pos:`relative`,"--padding-factor":`1`,"--combobox-input-padding-end":`var(--combobox-input-padding-x)`,"&:has([data-part=trigger]), &:has([data-part=clear-trigger])":{"--combobox-input-padding-end":`calc(var(--combobox-input-height) * var(--padding-factor))`},"&:has([data-part=trigger]):has([data-part=clear-trigger]:not([hidden]))":{"--padding-factor":`1.5`}},input:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,background:`bg.panel`,width:`full`,minH:`var(--combobox-input-height)`,ps:`var(--combobox-input-padding-x)`,pe:`var(--combobox-input-padding-end)`,"--input-height":`var(--combobox-input-height)`,borderRadius:`l2`,outline:0,userSelect:`none`,textAlign:`start`,_placeholderShown:{color:`fg.muted`},_disabled:{layerStyle:`disabled`},"--focus-color":`colors.colorPalette.focusRing`,"--error-color":`colors.border.error`,_invalid:{focusRingColor:`var(--error-color)`,borderColor:`var(--error-color)`}},trigger:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,"--input-height":`var(--combobox-input-height)`}
14,clearTrigger:{color:`fg.muted`,pointerEvents:`auto`,focusVisibleRing:`inside`,focusRingWidth:`2px`,rounded:`l1`},indicatorGroup:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:`1`,pos:`absolute`,insetEnd:`0`,top:`0`,bottom:`0`,px:`var(--combobox-input-padding-x)`,_icon:{boxSize:`var(--combobox-indicator-size)`},"[data-disabled] &":{opacity:.5}},content:{background:`bg.panel`,display:`flex`,flexDirection:`column`,"--combobox-z-index":`zIndex.popover`,zIndex:`calc(var(--combobox-z-index) + var(--layer-index, 0))`,borderRadius:`l2`,outline:0,maxH:`96`,overflowY:`auto`,boxShadow:`md`,_open:{animationStyle:`slide-fade-in`,animationDuration:`fast`},_closed:{animationStyle:`slide-fade-out`,animationDuration:`0s`},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:`relative`,userSelect:`none`,display:`flex`,alignItems:`center`,gap:`2`,py:`var(--combobox-item-padding-y)`,px:`var(--combobox-item-padding-x)`,cursor:`option`,justifyContent:`space-between`,flex:`1`,textAlign:`start`,borderRadius:`l1`,_highlighted:{bg:`bg.emphasized/60`},_disabled:{pointerEvents:`none`,opacity:`0.5`},_icon:{boxSize:`var(--combobox-indicator-size)`}},empty:{py:`var(--combobox-item-padding-y)`,px:`var(--combobox-item-padding-x)`},itemText:{flex:`1`},itemGroup:{pb:`var(--combobox-item-padding-y)`,_last:{pb:`0`}},itemGroupLabel:{fontWeight:`medium`,py:`var(--combobox-item-padding-y)`,px:`var(--combobox-item-padding-x)`}},variants:{variant:{outline:{input:{bg:`transparent`,borderWidth:`1px`,borderColor:`border`,focusVisibleRing:`inside`}},subtle:{input:{borderWidth:`1px`,borderColor:`transparent`,bg:`bg.muted`,focusVisibleRing:`inside`}},flushed:{input:{bg:`transparent`,borderBottomWidth:`1px`,borderBottomColor:`border`,borderRadius:`0`,px:`0`,_focusVisible:{borderColor:`var(--focus-color)`,boxShadow:`0px 1px 0px 0px var(--focus-color)`}},indicatorGroup:{px:`0`}}},size:{xs:{root:{"--combobox-input-height":`sizes.8`,"--combobox-input-padding-x":`spacing.2`,"--combobox-indicator-size":`sizes.3.5`},input:{textStyle:`xs`},content:{"--combobox-item-padding-x":`spacing.1.5`,"--combobox-item-padding-y":`spacing.1`,"--combobox-indicator-size":`sizes.3.5`,p:`1`,textStyle:`xs`},trigger:{textStyle:`xs`,gap:`1`}},sm:{root:{"--combobox-input-height":`sizes.9`,"--combobox-input-padding-x":`spacing.2.5`,"--combobox-indicator-size":`sizes.4`},input:{textStyle:`sm`},content:{"--combobox-item-padding-x":`spacing.2`,"--combobox-item-padding-y":`spacing.1.5`,"--combobox-indicator-size":`sizes.4`,p:`1`,textStyle:`sm`},trigger:{textStyle:`sm`,gap:`1`}},md:{root:{"--combobox-input-height":`sizes.10`,"--combobox-input-padding-x":`spacing.3`,"--combobox-indicator-size":`sizes.4`},input:{textStyle:`sm`},content:{"--combobox-item-padding-x":`spacing.2`,"--combobox-item-padding-y":`spacing.1.5`,"--combobox-indicator-size":`sizes.4`,p:`1`,textStyle:`sm`},itemIndicator:{display:`flex`,alignItems:`center`,justifyContent:`center`},trigger:{textStyle:`sm`,gap:`2`}},lg:{root:{"--combobox-input-height":`sizes.12`,"--combobox-input-padding-x":`spacing.4`,"--combobox-indicator-size":`sizes.5`},input:{textStyle:`md`},content:{"--combobox-item-padding-y":`spacing.2`,"--combobox-item-padding-x":`spacing.3`,"--combobox-indicator-size":`sizes.5`,p:`1.5`,textStyle:`md`},trigger:{textStyle:`md`,py:`3`,gap:`2`}}}},defaultVariants:{size:`md`,variant:`outline`}}),Jk=q({slots:nk.keys(),className:`chakra-data-list`,base:{itemLabel:{display:`flex`,alignItems:`center`,gap:`1`},itemValue:{display:`flex`,minWidth:`0`,flex:`1`}},variants:{orientation:{horizontal:{root:{display:`flex`,flexDirection:`column`},item:{display:`inline-flex`,alignItems:`center`,gap:`4`},itemLabel:{minWidth:`120px`}},vertical:{root:{display:`flex`,flexDirection:`column`},item:{display:`flex`,flexDirection:`column`,gap:`1`}}},size:{sm:{root:{gap:`3`},item:{textStyle:`xs`}},md:{root:{gap:`4`},item:{textStyle:`sm`}},lg:{root:{gap:`5`},item:{textStyle:`md`}}},variant:{subtle:{itemLabel:{color:`fg.muted`}},bold:{itemLabel:{fontWeight:`medium`},itemValue:{color:`fg.muted`}}}},defaultVariants:{size:`md`,orientation:`vertical`,variant:`subtle`}}),Yk=WT({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,boxSize:`var(--datepicker-nav-trigger-size)`,borderRadius:`l2`,color:`fg`,focusVisibleRing:`inside`,focusRingWidth:`2px`,_hover:{bg:`colorPalette.subtle`},_focusVisible:{boxShadow:`0 0 0 2px var(--colors-color-palette-focus-ring)`},_disabled:{opacity:.5},_icon:{boxSize:`4`}}),Xk=WT({height:`var(--datepicker-select-height)`,ps:`2`,pe:`8`,textStyle:`sm`,borderWidth:`1px`,borderRadius:`l2`,outline:`none`,focusVisibleRing:`inside`,appearance:`none`,fieldSizing:`content`,backgroundImage:`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")`,backgroundRepeat:`no-repeat`,backgroundPosition:`right 0.375rem center`,backgroundSize:`1.25em`}),Zk=q({className:`date-picker`,slots:rk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`1.5`,width:`full`,"--datepicker-indicators-offset":`sizes.3`,_disabled:{opacity:.5}},label:{textStyle:`sm`,fontWeight:`medium`},indicatorGroup:{position:`absolute`,insetEnd:`var(--datepicker-indicators-offset)`,top:`50%`,transform:`translateY(-50%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:`1`},control:{display:`flex`,alignItems:`center`,gap:`2`,width:`full`,position:`relative`},input:{flex:`1`,minWidth:`0`,height:`var(--datepicker-input-height)`,"--input-height":`var(--datepicker-input-height)`,px:`var(--datepicker-input-px)`,textStyle:`sm`,bg:`transparent`,borderRadius:`l2`,outline:`0`,appearance:`none`,color:`fg`,"--focus-color":`colors.colorPalette.focusRing`,"--error-color":`colors.border.error`,_placeholder:{color:`fg.muted`},_invalid:{focusRingColor:`var(--error-color)`,borderColor:`var(--error-color)`}},trigger:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`6`,he
14ight:`6`,borderRadius:`l1`,color:`fg.muted`,outline:`none`,_hover:{color:`fg`},focusVisibleRing:`inside`,focusRingWidth:`2px`,_icon:{boxSize:`4`}},content:{display:`flex`,flexDirection:`column`,gap:`3`,p:`3`,minW:`18rem`,bg:`bg.panel`,borderRadius:`l2`,boxShadow:`lg`,color:`fg`,"--date-picker-z-index":`zIndex.popover`,zIndex:`calc(var(--date-picker-z-index) + var(--layer-index, 0))`,outline:`none`,_open:{animationStyle:`scale-fade-in`,animationDuration:`fast`},_closed:{animationStyle:`scale-fade-out`,animationDuration:`faster`}},view:{display:`flex`,flexDirection:`column`,gap:`3`},viewControl:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,gap:`2`,height:`var(--datepicker-nav-trigger-size)`},viewTrigger:{display:`inline-flex`,flex:`1`,alignItems:`center`,justifyContent:`center`,gap:`1`,py:`1.5`,px:`2`,textStyle:`sm`,fontWeight:`semibold`,borderRadius:`l2`,focusVisibleRing:`inside`,focusRingWidth:`2px`,_hover:{bg:`colorPalette.subtle`}},prevTrigger:Yk,nextTrigger:Yk,rangeText:{textStyle:`sm`,fontWeight:`semibold`},table:{borderCollapse:`separate`,borderSpacing:`0`},tableHeader:{width:`var(--table-cell-size)`,py:`2`,textStyle:`xs`,fontWeight:`medium`,color:`fg.muted`,textAlign:`center`,textTransform:`uppercase`,"&[data-type='week-number']":{color:`fg.subtle`}},tableCell:{py:`0.5`,"&[data-type='week-number']":{color:`fg.subtle`}},tableCellTrigger:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,minWidth:`var(--table-cell-size)`,minHeight:`var(--table-cell-size)`,textStyle:`sm`,borderRadius:`l2`,focusVisibleRing:`inside`,focusRingWidth:`2px`,focusRingOffset:`0px`,cursor:`default`,position:`relative`,_hover:{bg:`colorPalette.subtle`},"[data-view=month] &, [data-view=year] &":{width:`calc(var(--table-cell-size) * 1.75)`},_today:{color:`colorPalette.fg`,fontWeight:`semibold`,textDecoration:`underline`,textUnderlineOffset:`3px`,textDecorationThickness:`2px`},"&[data-selected]":{bg:`colorPalette.solid`,color:`colorPalette.contrast`,_hover:{bg:`colorPalette.solid`}},"&[data-in-range]":{bg:`colorPalette.subtle`,color:`colorPalette.fg`,borderRadius:`0`,_hover:{bg:`colorPalette.subtle`}},"&[data-in-range][data-selected]":{bg:`colorPalette.solid`,color:`colorPalette.contrast`,borderRadius:`0`,_hover:{bg:`colorPalette.solid`},"&[data-range-start][data-range-end]":{borderRadius:`l2`},"&[data-range-start]:not([data-range-end])":{borderStartRadius:`l2`,borderEndRadius:`0`},"&[data-range-end]:not([data-range-start])":{borderEndRadius:`l2`,borderStartRadius:`0`}},_disabled:{opacity:.4}},monthSelect:Xk,yearSelect:Xk,clearTrigger:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`6`,height:`6`,flexShrink:0,textStyle:`xs`,borderRadius:`l2`,color:`fg.muted`,_hover:{color:`fg`},focusVisibleRing:`inside`,_icon:{width:`4`,height:`4`}}},variants:{size:{xs:{root:{"--datepicker-input-height":`sizes.8`,"--datepicker-input-px":`sizes.2`,"--datepicker-indicators-offset":`sizes.2`},view:{"--table-cell-size":`sizes.8`,"--datepicker-nav-trigger-size":`sizes.7`,"--datepicker-select-height":`sizes.8`}},sm:{root:{"--datepicker-input-height":`sizes.9`,"--datepicker-input-px":`sizes.2.5`,"--datepicker-indicators-offset":`sizes.2.5`},view:{"--table-cell-size":`sizes.9`,"--datepicker-nav-trigger-size":`sizes.8`,"--datepicker-select-height":`sizes.9`}},md:{root:{"--datepicker-input-height":`sizes.10`,"--datepicker-input-px":`sizes.3`},view:{"--table-cell-size":`sizes.10`,"--datepicker-nav-trigger-size":`sizes.8`,"--datepicker-select-height":`sizes.10`}},lg:{root:{"--datepicker-input-height":`sizes.11`,"--datepicker-input-px":`sizes.4`},view:{"--table-cell-size":`sizes.10`,"--datepicker-nav-trigger-size":`sizes.9`,"--datepicker-select-height":`sizes.10`}},xl:{root:{"--datepicker-input-height":`sizes.12`,"--datepicker-input-px":`sizes.4.5`},view:{"--table-cell-size":`sizes.10`,"--datepicker-nav-trigger-size":`sizes.9`,"--datepicker-select-height":`sizes.10`}}},hideOutsideDays:{true:{tableCellTrigger:{"&[data-outside-range]":{visibility:`hidden`}}}},variant:{outline:{input:{bg:`transparent`,borderWidth:`1px`,borderColor:`border`,focusVisibleRing:`inside`,focusRingColor:`var(--focus-color)`}},subtle:{input:{borderWidth:`1px`,borderColor:`transparent`,bg:`bg.muted`,focusVisibleRing:`inside`,focusRingColor:`var(--focus-color)`}},flushed:{input:{bg:`transparent`,borderBottomWidth:`1px`,borderBottomColor:`border`,borderRadius:`0`,px:`0`,_focusVisible:{borderColor:`var(--focus-color)`,boxShadow:`0px 1px 0px 0px var(--focus-color)`,_invalid:{borderColor:`var(--error-color)`,boxShadow:`0px 1px 0px 0px var(--error-color)`}}},indicatorGroup:{insetEnd:`0`}}}},defaultVariants:{size:`md`,variant:`outline`}}),Qk=q({slots:ik.keys(),className:`chakra-dialog`,base:{backdrop:{bg:`blackAlpha.500`,pos:`fixed`,left:0,top:0,w:`100dvw`,h:`100dvh`,"--dialog-z-index":`zIndex.popover`,zIndex:`calc(var(--dialog-z-index) + var(--layer-index, 0) - 1)`,_open:{animationName:`fade-in`,animationDuration:`slow`},_closed:{animationName:`fade-out`,animationDuration:`moderate`}},positioner:{display:`flex`,width:`100dvw`,height:`100dvh`,position:`fixed`,left:0,top:0,"--dialog-z-index":`zIndex.popover`,zIndex:`calc(var(--dialog-z-index) + var(--layer-index, 0))`,justifyContent:`center`,overscrollBehaviorY:`n
14one`},content:{display:`flex`,flexDirection:`column`,position:`relative`,width:`100%`,outline:0,borderRadius:`l3`,textStyle:`sm`,my:`var(--dialog-margin, var(--dialog-base-margin))`,"--dialog-z-index":`zIndex.popover`,zIndex:`calc(var(--dialog-z-index) + var(--layer-index, 0))`,bg:`bg.panel`,boxShadow:`lg`,_open:{animationDuration:`moderate`},_closed:{animationDuration:`faster`}},header:{display:`flex`,gap:`2`,flex:0,px:`6`,pt:`6`,pb:`4`},body:{flex:`1`,px:`6`,pt:`2`,pb:`6`},footer:{display:`flex`,alignItems:`center`,justifyContent:`flex-end`,gap:`3`,px:`6`,pt:`2`,pb:`4`},title:{textStyle:`lg`,fontWeight:`semibold`},description:{color:`fg.muted`},closeTrigger:{pos:`absolute`,top:`2`,insetEnd:`2`}},variants:{placement:{center:{positioner:{alignItems:`center`},content:{"--dialog-base-margin":`auto`,mx:`auto`}},top:{positioner:{alignItems:`flex-start`},content:{"--dialog-base-margin":`spacing.16`,mx:`auto`}},bottom:{positioner:{alignItems:`flex-end`},content:{"--dialog-base-margin":`spacing.16`,mx:`auto`}}},scrollBehavior:{inside:{positioner:{overflow:`hidden`},content:{maxH:`calc(100% - 7.5rem)`},body:{overflow:`auto`}},outside:{positioner:{overflow:`auto`,pointerEvents:`auto`}}},size:{xs:{content:{maxW:`sm`}},sm:{content:{maxW:`md`}},md:{content:{maxW:`lg`}},lg:{content:{maxW:`2xl`}},xl:{content:{maxW:`4xl`}},cover:{positioner:{padding:`10`},content:{width:`100%`,height:`100%`,"--dialog-margin":`0`}},full:{content:{maxW:`100dvw`,minH:`100dvh`,"--dialog-margin":`0`,borderRadius:`0`}}},motionPreset:{scale:{content:{_open:{animationName:`scale-in, fade-in`},_closed:{animationName:`scale-out, fade-out`}}},"slide-in-bottom":{content:{_open:{animationName:`slide-from-bottom, fade-in`},_closed:{animationName:`slide-to-bottom, fade-out`}}},"slide-in-top":{content:{_open:{animationName:`slide-from-top, fade-in`},_closed:{animationName:`slide-to-top, fade-out`}}},"slide-in-left":{content:{_open:{animationName:`slide-from-left, fade-in`},_closed:{animationName:`slide-to-left, fade-out`}}},"slide-in-right":{content:{_open:{animationName:`slide-from-right, fade-in`},_closed:{animationName:`slide-to-right, fade-out`}}},none:{}}},defaultVariants:{size:`md`,scrollBehavior:`outside`,placement:`top`,motionPreset:`scale`}}),$k=q({slots:ak.keys(),className:`chakra-drawer`,base:{backdrop:{bg:`blackAlpha.500`,pos:`fixed`,insetInlineStart:0,top:0,w:`100vw`,h:`100dvh`,"--drawer-z-index":`zIndex.popover`,zIndex:`calc(var(--drawer-z-index) + var(--layer-index, 0) - 1)`,_open:{animationName:`fade-in`,animationDuration:`slow`},_closed:{animationName:`fade-out`,animationDuration:`moderate`}},positioner:{display:`flex`,width:`100vw`,height:`100dvh`,position:`fixed`,insetInlineStart:0,top:0,"--drawer-z-index":`zIndex.popover`,zIndex:`calc(var(--drawer-z-index) + var(--layer-index, 0))`,overscrollBehaviorY:`none`},content:{display:`flex`,flexDirection:`column`,position:`relative`,width:`100%`,outline:0,"--drawer-z-index":`zIndex.popover`,zIndex:`calc(var(--drawer-z-index) + var(--layer-index, 0))`,textStyle:`sm`,maxH:`100dvh`,color:`inherit`,bg:`bg.panel`,boxShadow:`lg`,_open:{animationDuration:`slowest`,animationTimingFunction:`ease-in-smooth`},_closed:{animationDuration:`slower`,animationTimingFunction:`ease-in-smooth`}},header:{display:`flex`,alignItems:`center`,gap:`2`,flex:0,px:`6`,pt:`6`,pb:`4`},body:{px:`6`,py:`2`,flex:`1`,overflow:`auto`},footer:{display:`flex`,alignItems:`center`,justifyContent:`flex-end`,gap:`3`,px:`6`,pt:`2`,pb:`4`},title:{flex:`1`,textStyle:`lg`,fontWeight:`semibold`},description:{color:`fg.muted`},closeTrigger:{pos:`absolute`,top:`3`,insetEnd:`2`}},variants:{size:{xs:{content:{maxW:`xs`}},sm:{content:{maxW:`md`}},md:{content:{maxW:`lg`}},lg:{content:{maxW:`2xl`}},xl:{content:{maxW:`4xl`}},full:{content:{maxW:`100vw`,h:`100dvh`}}},placement:{start:{positioner:{justifyContent:`flex-start`,alignItems:`stretch`},content:{_open:{animationName:{base:`slide-from-left-full, fade-in`,_rtl:`slide-from-right-full, fade-in`}},_closed:{animationName:{base:`slide-to-left-full, fade-out`,_rtl:`slide-to-right-full, fade-out`}}}},end:{positioner:{justifyContent:`flex-end`,alignItems:`stretch`}
14,content:{_open:{animationName:{base:`slide-from-right-full, fade-in`,_rtl:`slide-from-left-full, fade-in`}},_closed:{animationName:{base:`slide-to-right-full, fade-out`,_rtl:`slide-to-left-full, fade-out`}}}},top:{positioner:{justifyContent:`stretch`,alignItems:`flex-start`},content:{maxW:`100%`,_open:{animationName:`slide-from-top-full, fade-in`},_closed:{animationName:`slide-to-top-full, fade-out`}}},bottom:{positioner:{justifyContent:`stretch`,alignItems:`flex-end`},content:{maxW:`100%`,_open:{animationName:`slide-from-bottom-full, fade-in`},_closed:{animationName:`slide-to-bottom-full, fade-out`}}}},contained:{true:{positioner:{padding:`4`},content:{borderRadius:`l3`}}}},defaultVariants:{size:`xs`,placement:`end`}}),eA=WT({fontSize:`inherit`,fontWeight:`inherit`,textAlign:`inherit`,bg:`transparent`,borderRadius:`l2`}),tA=q({slots:ok.keys(),className:`chakra-editable`,base:{root:{display:`inline-flex`,alignItems:`center`,position:`relative`,gap:`1.5`,width:`full`},preview:{...eA,py:`1`,px:`1`,display:`inline-flex`,alignItems:`center`,transitionProperty:`common`,transitionDuration:`moderate`,cursor:`text`,_hover:{bg:`bg.muted`},_disabled:{userSelect:`none`}},input:{...eA,outline:`0`,py:`1`,px:`1`,transitionProperty:`common`,transitionDuration:`normal`,width:`full`,focusVisibleRing:`inside`,focusRingWidth:`2px`,_placeholder:{opacity:.6}},control:{display:`inline-flex`,alignItems:`center`,gap:`1.5`}},variants:{size:{sm:{root:{textStyle:`sm`},preview:{minH:`8`},input:{minH:`8`}},md:{root:{textStyle:`sm`},preview:{minH:`9`},input:{minH:`9`}},lg:{root:{textStyle:`md`},preview:{minH:`10`},input:{minH:`10`}}}},defaultVariants:{size:`md`}}),nA=q({slots:sk.keys(),className:`chakra-empty-state`,base:{root:{width:`full`},content:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`},indicator:{display:`flex`,alignItems:`center`,justifyContent:`center`,color:`fg.subtle`,_icon:{boxSize:`1em`}},title:{fontWeight:`semibold`},description:{textStyle:`sm`,color:`fg.muted`}},variants:{size:{sm:{root:{px:`4`,py:`6`},title:{textStyle:`md`},content:{gap:`4`},indicator:{textStyle:`2xl`}},md:{root:{px:`8`,py:`12`},title:{textStyle:`lg`},content:{gap:`6`},indicator:{textStyle:`4xl`}},lg:{root:{px:`12`,py:`16`},title:{textStyle:`xl`},content:{gap:`8`},indicator:{textStyle:`6xl`}}}},defaultVariants:{size:`md`}}),rA=q({className:`chakra-field`,slots:ck.keys(),base:{requiredIndicator:{color:`fg.error`,lineHeight:`1`},root:{display:`flex`,width:`100%`,position:`relative`,gap:`1.5`},label:{display:`flex`,alignItems:`center`,textAlign:`start`,textStyle:`sm`,fontWeight:`medium`,gap:`1`,userSelect:`none`,_disabled:{opacity:`0.5`}},errorText:{display:`inline-flex`,alignItems:`center`,fontWeight:`medium`,gap:`1`,color:`fg.error`,textStyle:`xs`},helperText:{color:`fg.muted`,textStyle:`xs`}},variants:{orientation:{vertical:{root:{flexDirection:`column`,alignItems:`flex-start`}},horizontal:{root:{flexDirection:`row`,alignItems:`center`,justifyContent:`space-between`},label:{flex:`0 0 var(--field-label-width, 80px)`}}}},defaultVariants:{orientation:`vertical`}}),iA=q({className:`fieldset`,slots:lk.keys(),base:{root:{display:`flex`,flexDirection:`column`,width:`full`},content:{display:`flex`,flexDirection:`column`,width:`full`},legend:{color:`fg`,fontWeight:`medium`,_disabled:{opacity:`0.5`}},helperText:{color:`fg.muted`,textStyle:`sm`},errorText:{display:`inline-flex`,alignItems:`center`,color:`fg.error`,gap:`2`,fontWeight:`medium`,textStyle:`sm`}},variants:{size:{sm:{root:{spaceY:`2`},content:{gap:`1.5`},legend:{textStyle:`sm`}},md:{root:{spaceY:`4`},content:{gap:`4`},legend:{textStyle:`sm`}},lg:{root:{spaceY:`6`},content:{gap:`4`},legend:{textStyle:`md`}}}},defaultVariants:{size:`md`}}),aA=q({className:`chakra-file-upload`,slots:uk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`4`,width:`100%`,alignItems:`flex-start`},label:{fontWeight:`medium`,textStyle:`sm`},dropzone:{background:`bg`,borderRadius:`l3`,borderWidth:`2px`,borderStyle:`dashed`,display:`flex`,alignItems:`center`,flexDirection:`column`,gap:`4`,justifyContent:`center`,minHeight:`2xs`,px:`3`,py:`2`,transition:`backgrounds`,focusVisibleRing:`outside`,_hover:{bg:`bg.subtle`},_dragging:{bg:`colorPalette.subtle`,borderStyle:`solid`,borderColor:`colorPalette.solid`}},dropzoneContent:{display:`flex`,flexDirection:`column`,alignItems:`center`,textAlign:`center`,gap:`1`,textStyle:`sm`},item:{pos:`relative`,textStyle:`sm`,animationName:`fade-in`,animationDuration:`moderate`,background:`bg`,borderRadius:`l2`,borderWidth:`1px`,width:`100%`,dis
14play:`flex`,alignItems:`center`,gap:`3`,p:`4`},itemGroup:{width:`100%`,display:`flex`,flexDirection:`column`,gap:`3`,_empty:{display:`none`}},itemName:{color:`fg`,fontWeight:`medium`,lineClamp:`1`},itemContent:{display:`flex`,flexDirection:`column`,gap:`0.5`,flex:`1`},itemSizeText:{color:`fg.muted`,textStyle:`xs`},itemDeleteTrigger:{display:`flex`,alignItems:`center`,justifyContent:`center`,alignSelf:`flex-start`,boxSize:`5`,p:`2px`,color:`fg.muted`,cursor:`button`},itemPreview:{color:`fg.muted`,_icon:{boxSize:`4.5`}}},defaultVariants:{}}),oA=q({className:`chakra-hover-card`,slots:FC.keys(),base:{content:{position:`relative`,display:`flex`,flexDirection:`column`,textStyle:`sm`,"--hovercard-bg":`colors.bg.panel`,bg:`var(--hovercard-bg)`,boxShadow:`lg`,maxWidth:`80`,borderRadius:`l3`,"--hover-card-z-index":`zIndex.popover`,zIndex:`calc(var(--hover-card-z-index) + var(--layer-index, 0))`,transformOrigin:`var(--transform-origin)`,outline:`0`,_open:{animationStyle:`slide-fade-in`,animationDuration:`fast`},_closed:{animationStyle:`slide-fade-out`,animationDuration:`faster`}},arrow:{"--arrow-size":`sizes.3`,"--arrow-background":`var(--hovercard-bg)`},arrowTip:{borderTopWidth:`0.5px`,borderLeftWidth:`0.5px`}},variants:{size:{xs:{content:{padding:`3`}},sm:{content:{padding:`4`}},md:{content:{padding:`5`}},lg:{content:{padding:`6`}}}},defaultVariants:{size:`md`}}),sA=q({className:`chakra-list`,slots:dk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`var(--list-gap)`,"& :where(ul, ol)":{marginTop:`var(--list-gap)`}},item:{whiteSpace:`normal`,display:`list-item`},indicator:{marginEnd:`2`,minHeight:`1lh`,flexShrink:0,display:`inline-block`,verticalAlign:`middle`}},variants:{variant:{marker:{root:{listStyle:`revert`},item:{_marker:{color:`fg.subtle`}}},plain:{item:{alignItems:`flex-start`,display:`inline-flex`}}},align:{center:{item:{alignItems:`center`}},start:{item:{alignItems:`flex-start`}},end:{item:{alignItems:`flex-end`}}}},defaultVariants:{variant:`marker`}}),cA=q({className:`chakra-listbox`,slots:Nk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`1.5`,width:`full`},content:{display:`flex`,maxH:`96`,p:`1`,gap:`1`,textStyle:`sm`,outline:`none`,scrollPadding:`1`,_horizontal:{flexDirection:`row`,overflowX:`auto`},_vertical:{flexDirection:`column`,overflowY:`auto`},"--listbox-item-padding-x":`spacing.2`,"--listbox-item-padding-y":`spacing.1.5`},item:{position:`relative`,userSelect:`none`,display:`flex`,alignItems:`center`,gap:`2`,cursor:`pointer`,justifyContent:`space-between`,flex:`1`,textAlign:`start`,borderRadius:`l1`,py:`var(--listbox-item-padding-y)`,px:`var(--listbox-item-padding-x)`,_highlighted:{outline:`2px solid`,outlineColor:`border.emphasized`},_disabled:{pointerEvents:`none`,opacity:`0.5`}},empty:{py:`var(--listbox-item-padding-y)`,px:`var(--listbox-item-padding-x)`},itemText:{flex:`1`},itemGroup:{mt:`1.5`,_first:{mt:`0`}},itemGroupLabel:{py:`1.5`,px:`2`,fontWeight:`medium`},label:{fontWeight:`medium`,userSelect:`none`,textStyle:`sm`,_disabled:{layerStyle:`disabled`}},valueText:{lineClamp:`1`,maxW:`80%`},itemIndicator:{display:`flex`,alignItems:`center`,justifyContent:`center`,_icon:{boxSize:`4`}}},variants:{variant:{subtle:{content:{bg:`bg.panel`,borderWidth:`1px`,borderRadius:`l2`},item:{_hover:{bg:`bg.emphasized/60`},_selected:{bg:`bg.muted`}}},solid:{content:{bg:`bg.panel`,borderWidth:`1px`,borderRadius:`l2`},item:{_selected:{bg:`colorPalette.solid`,color:`colorPalette.contrast`}}},plain:{}}},defaultVariants:{variant:`subtle`}}),lA=q({className:`chakra-marquee`,slots:RC.keys(),base:{root:{position:`relative`,width:`100%`,"--marquee-edge-color":`colors.bg`,"--marquee-edge-size":`20%`,"&[data-paused]":{animationPlayState:`paused !important`,"& *":{animationPlayState:`paused !important`}}},viewport:{overflow:`hidden`,display:`flex`,width:`100%`,height:`100%`},content:{display:`flex`,minWidth:`max-content`,animationTimingFunction:`linear`,animationFillMode:`forwards`,animationDuration:`var(--marquee-duration)`,animationDelay:`var(--marquee-delay)`,animationIterationCount:`var(--marquee-loop-count)`,_motionReduce:{animation:`none !important`},"&[data-side='start'], &[data-side='end']":{animationName:`marqueeX`},"&[data-side='top'], &[data-side='bottom']":{animationName:`marqueeY`},"&[data-reverse]":{animationDirection:`reverse`},"&[data-orientation='horizontal']":{flexDirection:`row`},"&[data-orientation='vertical']":{flexDirection:`column`}},edge:{position:`absolute`,zIndex:`1`,pointerEvents:`none`,"&[data-side='start']":{width:`var(--marquee-edge-size)`,insetY:`0`,insetInlineStart:`0`,background:`linear-gradient(to right, var(--marquee-edge-color, white), transparent)`,_rtl:{background:`linear-gradient(to left, var(--marquee-edge-color, white), transparent)`}},"&[data-side='end']":{width:`var(--marquee-edge-size)`,insetY:`0`,insetInlineEnd:`0`,background:`linear-gradient(to left, var(--marquee-edge-color, white), transparent)`,_rtl:{background:`linear-gradient(to right, var(--marquee-edge-color, white), transparent)`}},"&[data-side='top']":{height:`var(--marquee-edge-size)`,insetX:`0`,top:`0`,background:`linear-gradient(to bottom, var(--marquee-edge-color, white), transparent)`},"&[data-side='bottom']":{height:`var(--marquee-edge-size)`,insetX:`0`,bottom:`0`,background:`linear-gradient(to top, var(--marquee-edge-color, white), transparent)`}}}}),uA=q({className:`chakra-menu`,slots:fk.keys(),base:{content:{outline:0,"--menu-bg":`colors.bg.panel`,bg:`var(--menu-bg)`,boxShadow:`lg`,color:`fg`,maxHeight:`var(--available-height)`,"--menu-z-index":`zIndex.popover`,zIndex:`calc(var(--menu-z-index) + var(--layer-index, 0))`,borderRadius:`l2`,overflow:`hidden`,overflowY:`auto`,_open:{animationStyle:`slide-fade-in`,animationDuration:`fast`},_closed:{animationStyle:`slide-fade-out`,animationDuration:`faster`}},item:{textDecoration:`none`,color:`fg`,userSelect:`none`,borderRadius:`l1`,width:`100%`,dis
vendor: 20,568 bytes, line 14
14play:`flex`,cursor:`menuitem`,alignItems:`center`,textAlign:`start`,position:`relative`,flex:`0 0 auto`,outline:0,_disabled:{layerStyle:`disabled`},"&[data-type]":{ps:`8`}},itemText:{flex:`1`},itemIndicator:{position:`absolute`,insetStart:`2`,transform:`translateY(-50%)`,top:`50%`},itemGroupLabel:{px:`2`,py:`1.5`,fontWeight:`semibold`,textStyle:`sm`},indicator:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,flexShrink:`0`},itemCommand:{opacity:`0.6`,textStyle:`xs`,ms:`auto`,ps:`4`,letterSpacing:`widest`,fontFamily:`inherit`},separator:{height:`1px`,bg:`bg.muted`,my:`1`,mx:`-1`},arrow:{"--arrow-size":`sizes.3`,"--arrow-background":`var(--menu-bg)`},arrowTip:{borderTopWidth:`1px`,borderLeftWidth:`1px`}},variants:{variant:{subtle:{item:{_highlighted:{bg:`bg.emphasized/60`}}},solid:{item:{_highlighted:{bg:`colorPalette.solid`,color:`colorPalette.contrast`}}}},size:{sm:{content:{minW:`8rem`,padding:`1`,scrollPadding:`1`},item:{gap:`1`,textStyle:`xs`,py:`1`,px:`1.5`}},md:{content:{minW:`8rem`,padding:`1.5`,scrollPadding:`1.5`},item:{gap:`2`,textStyle:`sm`,py:`1.5`,px:`2`}}}},defaultVariants:{size:`md`,variant:`subtle`}}),dA=q({className:`chakra-select`,slots:vk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`1.5`,width:`full`},trigger:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,width:`full`,minH:`var(--select-trigger-height)`,"--input-height":`var(--select-trigger-height)`,px:`var(--select-trigger-padding-x)`,borderRadius:`l2`,userSelect:`none`,textAlign:`start`,focusVisibleRing:`inside`,_placeholderShown:{color:`fg.muted/80`},_disabled:{layerStyle:`disabled`},_invalid:{borderColor:`border.error`}},indicatorGroup:{display:`flex`,alignItems:`center`,gap:`1`,pos:`absolute`,insetEnd:`0`,top:`0`,bottom:`0`,px:`var(--select-trigger-padding-x)`,pointerEvents:`none`},indicator:{display:`flex`,alignItems:`center`,justifyContent:`center`,color:{base:`fg.muted`,_disabled:`fg.subtle`,_invalid:`fg.error`}},content:{background:`bg.panel`,display:`flex`,flexDirection:`column`,"--select-z-index":`zIndex.popover`,zIndex:`calc(var(--select-z-index) + var(--layer-index, 0))`,borderRadius:`l2`,outline:0,maxH:`96`,overflowY:`auto`,boxShadow:`md`,_open:{animationStyle:`slide-fade-in`,animationDuration:`fast`},_closed:{animationStyle:`slide-fade-out`,animationDuration:`fastest`}},item:{position:`relative`,userSelect:`none`,display:`flex`,alignItems:`center`,gap:`2`,cursor:`option`,justifyContent:`space-between`,flex:`1`,textAlign:`start`,borderRadius:`l1`,_highlighted:{bg:`bg.emphasized/60`},_disabled:{pointerEvents:`none`,opacity:`0.5`},_icon:{width:`4`,height:`4`}},control:{pos:`relative`},itemText:{flex:`1`},itemGroup:{_first:{mt:`0`}},itemGroupLabel:{py:`1`,fontWeight:`medium`},label:{fontWeight:`medium`,userSelect:`none`,textStyle:`sm`,_disabled:{layerStyle:`disabled`}},valueText:{lineClamp:`1`,maxW:`80%`},clearTrigger:{color:`fg.muted`,pointerEvents:`auto`,focusVisibleRing:`inside`,focusRingWidth:`2px`,rounded:`l1`}},variants:{variant:{outline:{trigger:{bg:`transparent`,borderWidth:`1px`,borderColor:`border`,_expanded:{borderColor:`border.emphasized`}}},subtle:{trigger:{borderWidth:`1px`,borderColor:`transparent`,bg:`bg.muted`}},ghost:{trigger:{bg:`transparent`,_expanded:{bg:`bg.muted`}}}},size:{xs:{root:{"--select-trigger-height":`sizes.8`,"--select-trigger-padding-x":`spacing.2`},content:{p:`1`,gap:`1`,textStyle:`xs`},trigger:{textStyle:`xs`,gap:`1`},item:{py:`1`,px:`2`},itemGroupLabel:{py:`1`,px:`2`},indicator:{_icon:{width:`3.5`,height:`3.5`}}},sm:{root:{"--select-trigger-height":`sizes.9`,"--select-trigger-padding-x":`spacing.2.5`},content:{p:`1`,textStyle:`sm`},trigger:{textStyle:`sm`,gap:`1`},indicator:{_icon:{width:`4`,height:`4`}},item:{py:`1`,px:`1.5`},itemGroup:{mt:`1`},itemGroupLabel:{py:`1`,px:`1.5`}},md:{root:{"--select-trigger-height":`sizes.10`,"--select-trigger-padding-x":`spacing.3`},content:{p:`1`,textStyle:`sm`},itemGroup:{mt:`1.5`},item:{py:`1.5`,px:`2`},itemIndicator:{display:`flex`,alignItems:`center`,justifyContent:`center`},itemGroupLabel:{py:`1.5`,px:`2`},trigger:{textStyle:`sm`,gap:`2`},indicator:{_icon:{width:`4`,height:`4`}}},lg:{root:{"--select-trigger-height":`sizes.12`,"--select-trigger-padding-x":`spacing.4`},content:{p:`1.5`,textStyle:`md`},itemGroup:{mt:`2`},item:{py:`2`,px:`3`},itemGroupLabel:{py:`2`,px:`3`},trigger:{textStyle:`md`,py:`3`,gap:`2`},indicator:{_icon:{width:`5`,height:`5`}}}}},defaultVariants:{size:`md`,variant:`outline`}}),fA=q({className:`chakra-native-select`,slots:pk.keys(),base:{root:{height:`fit-content`,display:`flex`,width:`100%`,position:`relative`},field:{width:`100%`,minWidth:`0`,outline:`0`,appearance:`none`,borderRadius:`l2`,"--error-color":`colors.border.error`,"--input-height":`var(--select-field-height)`,height:`var(--select-field-height)`,_disabled:{layerStyle:`disabled`},_invalid:{focusRingColor:`var(--error-color)`,borderColor:`var(--error-color)`},focusVisibleRing:`inside`,lineHeight:`normal`,"& > option, & > optgroup":{bg:`bg`}},indicator:{position:`absolute`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,pointerEvents:`none`,top:`50%`,transform:`translateY(-50%)`,height:`100%`,color:`fg.muted`,_disabled:{opacity:`0.5`},_invalid:{color:`fg.error`},_icon:{width:`1em`,height:`1em`}}},variants:{variant:{outline:{field:dA.variants?.variant.outline.trigger},subtle:{field:dA.variants?.variant.subtle.trigger},plain:{field:{bg:`transparent`,color:`fg`,focusRingWidth:`2px`}},ghost:{field:dA.variants?.variant.ghost.trigger}},size:{xs:{root:{"--select-field-height":`sizes.8`},field:{textStyle:`xs`,ps:`2`,pe:`6`},indicator:{textStyle:`sm`,insetEnd:`1.5`}},sm:{root:{"--select-field-height":`sizes.9`},field:{textStyle:`sm`,ps:`2.5`,pe:`8`},indicator:{textStyle:`md`,insetEnd:`2`}},md:{root:{"--select-field-height":`sizes.10`},field:{textStyle:`sm`,ps:`3`,pe:`8`},indicator:{textStyle:`lg`,insetEnd:`2`}},lg:{root:{"--select-field-height":`sizes.11`},field:{textStyle:`md`,ps:`4`,pe:`8`},indicator:{textStyle:`xl`,insetEnd:`3`}},xl:{root:{"--select-field-height":`sizes.12`},field:{textStyle:`md`,ps:`4.5`,pe:`10`},indicator:{textStyle:`xl`,insetEnd:`3`}}}},defaultVariants:dA.defaultVariants}),pA=WT({display:`flex`,justifyContent:`center`,alignItems:`center`,flex:`1`,userSelect:`none`,cursor:`button`,lineHeight:`1`,color:`fg.muted`,"--stepper-base-radius":`radii.l1`,"--stepper-radius":`calc(var(--stepper-base-radius) + 1px)`,_icon:{boxSize:`1em`},_disabled:{opacity:`0.5`},_hover:{bg:`bg.muted`},_active:{bg:`bg.emphasized`}}),mA=q({className:`chakra-number-input`,slots:VC.keys(),base:{root:{position:`relative`,zIndex:`0`,isolation:`isolate`},input:{...zO.base,verticalAlign:`top`,pe:`calc(var(--stepper-width) + 0.5rem)`},control:{display:`flex`,flexDirection:`column`,position:`absolute`,top:`0`,insetEnd:`0px`,margin:`1px`,width:`var(--stepper-width)`,height:`calc(100% - 2px)`,zIndex:`1`,borderStartWidth:`1px`,divideY:`1px`},incrementTrigger:{...pA,borderTopEndRadius:`var(--stepper-radius)`},decrementTrigger:{...pA,borderBottomEndRadius:`var(--stepper-radius)`},valueText:{fontWeight:`medium`,fontFeatureSettings:`pnum`,fontVariantNumeric:`proportional-nums`}},variants:{size:{xs:{input:zO.variants.size.xs,control:{fontSize:`2xs`,"--stepper-width":`sizes.4`}},sm:{input:zO.variants.size.sm,control:{fontSize:`xs`,"--stepper-width":`sizes.5`}},md:{input:zO.variants.size.md,control:{fontSize:`sm`,"--stepper-width":`sizes.6`}},lg:{input:zO.variants.size.lg,control:{fontSize:`sm`,"--stepper-width":`sizes.6`}}},variant:xE(zO.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:`md`,variant:`outline`}}),{variants:hA,defaultVariants:gA}=zO,_A=q({className:`chakra-pin-input`,slots:HC.keys(),base:{input:{...zO.base,textAlign:`center`,width:`var(--input-height)`},control:{display:`inline-flex`,gap:`2`,isolation:`isolate`}},variants:{size:xE(hA.size,(e,t)=>[e,{input:{...t,px:`1`}}]),variant:xE(hA.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:`0`,spaceX:`-1px`},input:{_notFirst:{borderStartRadius:`0`},_notLast:{borderEndRadius:`0`},_focusVisible:{zIndex:`1`}}}}},defaultVariants:gA}),vA=q({className:`chakra-popover`,slots:mk.keys(),base:{content:{position:`relative`,display:`flex`,flexDirection:`column`,textStyle:`sm`,"--popover-bg":`colors.bg.panel`,bg:`var(--popover-bg)`,boxShadow:`lg`,"--popover-size":`sizes.xs`,"--popover-mobile-size":`calc(100dvw - 1rem)`,width:{base:`min(var(--popover-mobile-size), var(--popover-size))`,sm:`var(--popover-size)`},borderRadius:`l3`,"--popover-z-index":`zIndex.popover`,zIndex:`calc(var(--popover-z-index) + var(--layer-index, 0))`,outline:`0`,transformOrigin:`var(--transform-origin)`,maxHeight:`var(--available-height)`,_open:{animationStyle:`scale-fade-in`,animationDuration:`fast`},_closed:{animationStyle:`scale-fade-out`,animationDuration:`faster`}},header:{paddingInline:`var(--popover-padding)`,paddingTop:`var(--popover-padding)`},body:{padding:`var(--popover-padding)`,flex:`1`},footer:{display:`flex`,alignItems:`center`,paddingInline:`var(--popover-padding)`,paddingBottom:`var(--popover-padding)`},arrow:{"--arrow-size":`sizes.3`,"--arrow-background":`var(--popover-bg)`},arrowTip:{borderTopWidth:`1px`,borderLeftWidth:`1px`}},variants:{size:{xs:{content:{"--popover-padding":`spacing.3`}},sm:{content:{"--popover-padding":`spacing.4`}},md:{content:{"--popover-padding":`spacing.5`}},lg:{content:{"--popover-padding":`spacing.6`}}}},defaultVariants:{size:`md`}}),yA=q({slots:GC.keys(),className:`chakra-progress`,base:{root:{textStyle:`sm`,position:`relative`},track:{overflow:`hidden`,position:`relative`},range:{display:`flex`,alignItems:`center`,justifyContent:`center`,transitionProperty:`width, height`,transitionDuration:`slow`,height:`100%`,bgColor:`var(--track-color)`,_indeterminate:{"--animate-from-x":`-40%`,"--animate-to-x":`100%`,position:`absolute`,willChange:`left`,minWidth:`50%`,animation:`position 1s ease infinite normal none running`,backgroundImage:`linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)`}},label:{display:`inline-flex`,fontWeight:`medium`,alignItems:`center`,gap:`1`},valueText:{textStyle:`xs`,lineHeight:`1`,fontWeight:`medium`}},variants:{variant:{outline:{track:{shadow:`inset`,bgColor:`bg.muted`},range:{bgColor:`colorPalette.solid`}},subtle:{track:{bgColor:`colorPalette.muted`},range:{bgColor:`colorPalette.solid/72`}}},shape:{square:{},rounded:{track:{borderRadius:`l1`}},full:{track:{borderRadius:`full`}}},striped:{true:{range:{backgroundImage:`linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)`,backgroundSize:`var(--stripe-size) var(--stripe-size)`,"--stripe-size":`1rem`,"--stripe-color":{_light:`rgba(255, 255, 255, 0.3)`,_dark:`rgba(0, 0, 0, 0.3)`}}}},animated:{true:{range:{"--animate-from":`var(--stripe-size)`,animation:`bg-position 1s linear infinite`}}},size:{xs:{track:{h:`1.5`}},sm:{track:{h:`2`}},md:{track:{h:`2.5`}},lg:{track:{h:`3`}},xl:{track:{h:`4`}}}},defaultVariants:{variant:`outline`,size:`md`,shape:`rounded`}}),bA=q({className:`chakra-progress-circle`,slots:GC.keys(),base:{root:{display:`inline-flex`,textStyle:`sm`,position:`relative`},circle:{_indeterminate:{animation:`spin 2s linear infinite`}},circleTrack:{"--track-color":`colors.colorPalette.muted`,stroke:`var(--track-color)`},circleRange:{stroke:`colorPalette.solid`,transitionProperty:`stroke-dashoffset, stroke-dasharray`,transitionDuration:`0.6s`,_indeterminate:{animation:`circular-progress 1.5s linear infinite`}},label:{display:`inline-flex`},valueText:{lineHeight:`1`,fontWeight:`medium`,letterSpacing:`tight`,fontVariantNumeric:`tabular-nums`}},variants:{size:{xs:{circle:{"--size":`24px`,"--thickness":`4px`},valueText:{textStyle:`2xs`}},sm:{circle:{"--size":`32px`,"--thickness":`5px`},valueText:{textStyle:`2xs`}},md:{circle:{"--size":`40px`,"--thickness":`6px`},valueText:{textStyle:`xs`}},lg:{circle:{"--size":`48px`,"--thickness":`7px`},valueText:{textStyle:`sm`}},xl:{circle:{"--size":`64px`,"--thickness":`8px`},valueText:{textStyle:`sm`}}}},defaultVariants:{size:`md`}}),xA=q({slots:qC.keys(),className:`chakra-qr-code`,base:{root:{position:`relative`,width:`fit-content`,"--qr-code-overlay-size":`calc(var(--qr-code-size) / 3)`},frame:{width:`var(--qr-code-size)`,height:`var(--qr-code-size)`,fill:`currentColor`},overlay:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`var(--qr-code-overlay-size)`,height:`var(--qr-code-overlay-size)`,padding:`1`,bg:`bg`,rounded:`l1`}},variants:{size:{"2xs":{root:{"--qr-code-size":`40px`}},xs:{root:{"--qr-code-size":`64px`}},sm:{root:{"--qr-code-size":`80px`}},md:{root:{"--qr-code-size":`120px`}},lg:{root:{"--qr-code-size":`160px`}},xl:{root:{"--qr-code-size":`200px`}},"2xl":{root:{"--qr-code-size":`240px`}},full:{root:{"--qr-code-size":`100%`}}}},defaultVariants:{size:`md`}}),SA=q({className:`chakra-radio-card`,slots:gk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`1.5`,isolation:`isolate`},item:{flex:`1`,display:`flex`,flexDirection:`column`,userSelect:`none`,position:`relative`,borderRadius:`l2`,_focus:{bg:`colorPalette.muted/20`},_disabled:{opacity:`0.5`},_checked:{zIndex:`1`}},label:{display:`inline-flex`,fontWeight:`medium`,textStyle:`sm`,_disabled:{opacity:`0.5`}},itemText:{fontWeight:`medium`,flex:`1`},itemDescription:{opacity:`0.64`,textStyle:`sm`},itemControl:{display:`inline-flex`,flex:`1`,pos:`relative`,rounded:`inherit`,justifyContent:`var(--radio-card-justify)`,alignItems:`var(--radio-card-align)`,_disabled:{bg:`bg.muted`}},itemIndicator:WO.base,itemAddon:{roundedBottom:`inherit`,_disabled:{color:`fg.muted`}},itemContent:{display:`flex`,flexDirection:`column`,flex:`1`,gap:`1`,justifyContent:`var(--radio-card-justify)`,alignItems:`var(--radio-card-align)`}},variants:{size:{sm:{item:{textStyle:`sm`},itemControl:{padding:`3`,gap:`1.5`},itemAddon:{px:`3`,py:`1.5`,borderTopWidth:`1px`},itemIndicator:WO.variants?.size.sm},md:{item:{textStyle:`sm`},itemControl:{padding:`4`,gap:`2.5`},itemAddon:{px:`4`,py:`2`,borderTopWidth:`1px`},itemIndicator:WO.variants?.size.md},lg:{item:{textStyle:`md`},itemControl:{padding:`4`,gap:`3.5`},itemAddon:{px:`4`,py:`2`,borderTopWidth:`1px`},itemIndicator:WO.variants?.size.lg}},variant:{surface:{item:{borderWidth:`1px`,_checked:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,borderColor:`colorPalette.muted`}},itemIndicator:WO.variants?.variant.solid},subtle:{item:{bg:`bg.muted`},itemControl:{_checked:{bg:`colorPalette.muted`,color:`colorPalette.fg`}},itemIndicator:WO.variants?.variant.outline},outline:{item:{borderWidth:`1px`,_checked:{boxShadow:`0 0 0 1px var(--shadow-color)`,boxShadowColor:`colorPalette.solid`,borderColor:`colorPalette.solid`}},itemIndicator:WO.variants?.variant.solid},solid:{item:{borderWidth:`1px`,_checked:{bg:`colorPalette.solid`,color:`colorPalette.contrast`,borderColor:`colorPalette.solid`}},itemControl:{_disabled:{bg:`unset`}},itemIndicator:WO.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":`flex-start`}},end:{item:{"--radio-card-justify":`flex-end`}},center:{item:{"--radio-card-justify":`center`}}},align:{start:{item:{"--radio-card-align":`flex-start`},itemControl:{textAlign:`start`}},end:{item:{"--radio-card-align":`flex-end`},itemControl:{textAlign:`end`}},center:{item:{"--radio-card-align":`center`},itemControl:{textAlign:`center`}}},orientation:{vertical:{itemControl:{flexDirection:`column`}},horizontal:{itemControl:{flexDirection:`row`}}}},defaultVariants:{size:`md`,variant:`outline`,align:`start`,orientation:`horizontal`}}),CA=q({className:`chakra-radio-group`,slots:hk.keys(),base:{item:{display:`inline-flex`,alignItems:`center`,position:`relative`,fontWeight:`medium`,_disabled:{cursor:`disabled`}},itemControl:WO.base,label:{userSelect:`none`,textStyle:`sm`,_disabled:{opacity:`0.5`}}},variants:{variant:{outline:{itemControl:WO.variants?.variant?.outline},subtle:{itemControl:WO.variants?.variant?.subtle},solid:{itemControl:WO.variants?.variant?.solid}},size:{xs:{item:{textStyle:`xs`,gap:`1.5`},itemControl:WO.variants?.size?.xs},sm:{item:{textStyle:`sm`,gap:`2`},itemControl:WO.variants?.size?.sm},md:{item:{textStyle:`sm`,gap:`2.5`},itemControl:WO.variants?.size?.md},lg:{item:{textStyle:`md`,gap:`3`},itemControl:WO.variants?.size?.lg}}},defaultVariants:{size:`md`,variant:`solid`}}),wA=q({className:`chakra-rating-group`,slots:_k.keys(),base:{root:{display:`inline-flex`},control:{display:`inline-flex`,alignItems:`center`},item:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,userSelect:`none`},itemIndicator:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`1em`,height:`1em`,position:`relative`,"--clip-path":{base:`inset(0 50% 0 0)`,_rtl:`inset(0 0 0 50%)`},_icon:{stroke:`currentColor`,width:`100%`,height:`100%`,display:`inline-block`,flexShrink:0,position:`absolute`,left:0,top:0},"& [data-bg]":{color:`bg.emphasized`},"& [data-fg]":{color:`transparent`},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:`colorPalette.solid`}},"&[data-half]":{"& [data-fg]":{color:`colorPalette.solid`,clipPath:`var(--clip-path)`}}}},variants:{size:{xs:{item:{textStyle:`sm`}},sm:{item:{textStyle:`md`}},md:{item:{textStyle:`xl`}},lg:{item:{textStyle:`2xl`}}}},defaultVariants:{size:`md`}}),TA=q({className:`chakra-scroll-area`,slots:ZC.keys(),base:{root:{display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,position:`relative`,overflow:`hidden`,"--scrollbar-margin":`2px`,"--scrollbar-click-area":`calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))`},viewport:{display:`flex`,flexDirection:`column`,height:`100%`,width:`100%`,borderRadius:`inherit`,WebkitOverflowScrolling:`touch`,scrollbarWidth:`none`,"&::-webkit-scrollbar":{display:`none`}},content:{minWidth:`100%`},scrollbar:{display:`flex`,userSelect:`none`,touchAction:`none`,borderRadius:`full`,colorPalette:`gray`,transition:`opacity 150ms 300ms`,position:`relative`,margin:`var(--scrollbar-margin)`,"&:not([data-overflow-x], [data-overflow-y])":{display:`none`},bg:`{colors.colorPalette.solid/10}`,"--thumb-bg":`{colors.colorPalette.solid/25}`,"&:is(:hover, :active)":{"--thumb-bg":`{colors.colorPalette.solid/50}`},_before:{content:`""`,position:`absolute`},_vertical:{width:`var(--scrollbar-size)`,flexDirection:`column`,"&::before":{width:`var(--scrollbar-click-area)`,height:`100%`,insetInlineStart:`calc(var(--scrollbar-margin) * -1)`}},_horizontal:{height:`var(--scrollbar-size)`,flexDirection:`row`,"&::before":{height:`var(--scrollbar-click-area)`,width:`100%`,top:`calc(var(--scrollbar-margin) * -1)`}}},thumb:{borderRadius:`inherit`,bg:`var(--thumb-bg)`,transition:`backgrounds`,_vertical:{width:`full`},_horizontal:{height:`full`}},corner:{bg:`bg.muted`,margin:`var(--scrollbar-margin)`,opacity:0,transition:`opacity 150ms 300ms`,"&[data-hover]":{transitionDelay:`0ms`,opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:`0`,"&[data-hover], &[data-scrolling]":{opacity:`1`,transitionDuration:`faster`,transitionDelay:`0ms`}}},always:{scrollbar:{opacity:`1`}}},size:{xs:{root:{"--scrollbar-size":`sizes.1`}},sm:{root:{"--scrollbar-size":`sizes.1.5`}},md:{root:{"--scrollbar-size":`sizes.2`}},lg:{root:{"--scrollbar-size":`sizes.3`}}}},defaultVariants:{size:`md`,variant:`hover`}}),EA=q({className:`chakra-segment-group`,slots:QC.keys(),base:{root:{"--segment-radius":`radii.l2`,"--segment-indicator-bg":{_light:`colors.bg`,_dark:`colors.bg.emphasized`},"--segment-indicator-shadow":`shadows.sm`,borderRadius:`var(--segment-radius)`,display:`inline-flex`,boxShadow:`inset`,minW:`max-content`,textAlign:`center`,position:`relative`,isolation:`isolate`,bg:`bg.muted`,_vertical:{flexDirection:`column`}},item:{display:`flex`,alignItems:`center`,justifyContent:`center`,userSelect:`none`,fontSize:`sm`,position:`relative`,color:`fg`,borderRadius:`var(--segment-radius)`,_disabled:{opacity:`0.5`},"&:has(input:focus-visible)":{focusRing:`outside`},_before:{content:`""`,position:`absolute`,bg:`border`,transition:`opacity 0.2s`},_horizontal:{_before:{insetInlineStart:0,insetBlock:`1.5`,width:`1px`}},_vertical:{_before:{insetBlockStart:0,insetInline:`1.5`,height:`1px`}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:`0`}},"&[data-state=checked][data-ssr]":{shadow:`sm`,bg:`bg`,borderRadius:`var(--segment-radius)`}},indicator:{shadow:`var(--segment-indicator-shadow)`,pos:`absolute`,bg:`var(--segment-indicator-bg)`,width:`var(--width)`,he
14ight:`var(--height)`,top:`var(--top)`,left:`var(--left)`,zIndex:-1,borderRadius:`var(--segment-radius)`}},variants:{size:{xs:{item:{textStyle:`xs`,px:`3`,gap:`1`,height:`6`}},sm:{item:{textStyle:`sm`,px:`4`,gap:`2`,height:`8`}},md:{item:{textStyle:`sm`,px:`4`,gap:`2`,height:`10`}},lg:{item:{textStyle:`md`,px:`4.5`,gap:`3`,height:`11`}}}},defaultVariants:{size:`md`}}),DA=q({className:`chakra-slider`,slots:bk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`1`,textStyle:`sm`,position:`relative`,isolation:`isolate`,touchAction:`none`},label:{fontWeight:`medium`,textStyle:`sm`},control:{display:`inline-flex`,alignItems:`center`,position:`relative`},track:{overflow:`hidden`,borderRadius:`full`,flex:`1`},range:{width:`inherit`,height:`inherit`,_disabled:{bg:`border.emphasized!`}},markerGroup:{position:`absolute!`,zIndex:`1`},marker:{"--marker-bg":{base:`white`,_underValue:`colors.bg`},display:`flex`,alignItems:`center`,gap:`calc(var(--slider-thumb-size) / 2)`,color:`fg.muted`,textStyle:`xs`},markerIndicator:{width:`var(--slider-marker-size)`,height:`var(--slider-marker-size)`,borderRadius:`full`,bg:`var(--marker-bg)`},thumb:{width:`var(--slider-thumb-size)`,height:`var(--slider-thumb-size)`,display:`flex`,alignItems:`center`,justifyContent:`center`,outline:0,zIndex:`2`,borderRadius:`full`,transition:`shadow`,_focusVisible:{ring:`3px`,ringColor:`colorPalette.focusRing/50`}}},variants:{size:{sm:{root:{"--slider-thumb-size":`sizes.4`,"--slider-track-size":`sizes.1.5`,"--slider-marker-center":`6px`,"--slider-marker-size":`sizes.1`,"--slider-marker-inset":`3px`}},md:{root:{"--slider-thumb-size":`sizes.5`,"--slider-track-size":`sizes.2`,"--slider-marker-center":`8px`,"--slider-marker-size":`sizes.1`,"--slider-marker-inset":`4px`}},lg:{root:{"--slider-thumb-size":`sizes.6`,"--slider-track-size":`sizes.2.5`,"--slider-marker-center":`9px`,"--slider-marker-size":`sizes.1.5`,"--slider-marker-inset":`5px`}}},variant:{outline:{track:{shadow:`inset`,bg:`bg.emphasized/72`},range:{bg:`colorPalette.solid`},thumb:{borderWidth:`2px`,borderColor:`colorPalette.solid`,bg:`bg`,_disabled:{bg:`border.emphasized`,borderColor:`border.emphasized`}}},solid:{track:{bg:`colorPalette.subtle`,_disabled:{bg:`bg.muted`}},range:{bg:`colorPalette.solid`},thumb:{bg:`colorPalette.solid`,_disabled:{bg:`border.emphasized`}}}},orientation:{vertical:{root:{display:`inline-flex`},control:{flexDirection:`column`,height:`100%`,minWidth:`var(--slider-thumb-size)`,"&:has(.chakra-slider__markerLabel)":{marginEnd:`4`}},track:{width:`var(--slider-track-size)`},thumb:{left:`50%`,translate:`-50% 0`},markerGroup:{insetStart:`var(--slider-marker-center)`,insetBlock:`var(--slider-marker-inset)`},marker:{flexDirection:`row`}},horizontal:{control:{flexDirection:`row`,width:`100%`,minHeight:`var(--slider-thumb-size)`,"&:has(.chakra-slider__markerLabel)":{marginBottom:`4`}},track:{height:`var(--slider-track-size)`},thumb:{top:`50%`,translate:`0 -50%`},markerGroup:{top:`var(--slider-marker-center)`,insetInline:`var(--slider-marker-inset)`},marker:{flexDirection:`column`}}}},defaultVariants:{size:`md`,variant:`outline`,orientation:`horizontal`}}),OA=q({slots:Mk.keys(),className:`splitter`,base:{resizeTrigger:{"--splitter-border-color":`colors.border`,"--splitter-thumb-color":`colors.bg`,"--splitter-thumb-size":`sizes.2`,"--splitter-thumb-inset":`calc(var(--splitter-thumb-size) * -0.5)`,"--splitter-border-size":`1px`,"--splitter-handle-size":`sizes.6`,outline:`0`,display:`grid`,placeItems:`center`,position:`relative`,_focus:{"--splitter-border-color":`colors.border.emphasized`,"--splitter-thumb-color":`colors.colorPalette.subtle`},_dragging:{"--splitter-thumb-color":`colors.colorPalette.focusRing`},_horizontal:{minWidth:`var(--splitter-thumb-size)`,marginInline:`var(--splitter-thumb-inset)`},_vertical:{minHeight:`var(--splitter-thumb-size)`,marginBlock:`var(--splitter-thumb-inset)`}},resizeTriggerSeparator:{position:`absolute`,bg:`var(--splitter-border-color)`,"[data-part='resize-trigger'][data-orientation=horizontal] &":{insetInlineEnd:`calc(var(--splitter-thumb-size) * 0.5)`,insetBlock:`0`,insetInlineStart:`auto`,w:`var(--splitter-border-size)`}
14,"[data-part='resize-trigger'][data-orientation=vertical] &":{insetBlockEnd:`calc(var(--splitter-thumb-size) * 0.5)`,insetInline:`0`,insetBlockStart:`auto`,h:`var(--splitter-border-size)`}},resizeTriggerIndicator:{position:`relative`,rounded:`full`,bg:`var(--splitter-thumb-color)`,shadow:`xs`,borderWidth:`1px`,zIndex:`1`,"[data-part='resize-trigger'][data-orientation=horizontal] &":{w:`full`,h:`var(--splitter-handle-size)`},"[data-part='resize-trigger'][data-orientation=vertical] &":{w:`var(--splitter-handle-size)`,h:`full`},"[data-part='resize-trigger'][data-focus]:focus-visible &":{outlineWidth:`2px`,outlineColor:`colorPalette.focusRing`,outlineStyle:`solid`},"[data-part='resize-trigger'][data-disabled] &":{visibility:`hidden`}}}}),kA=q({className:`chakra-stat`,slots:xk.keys(),base:{root:{display:`flex`,flexDirection:`column`,gap:`1`,position:`relative`,flex:`1`},label:{display:`inline-flex`,gap:`1.5`,alignItems:`center`,color:`fg.muted`,textStyle:`sm`},helpText:{color:`fg.muted`,textStyle:`xs`},valueUnit:{color:`fg.muted`,textStyle:`xs`,fontWeight:`initial`,letterSpacing:`initial`},valueText:{verticalAlign:`baseline`,fontWeight:`semibold`,letterSpacing:`tight`,fontFeatureSettings:`pnum`,fontVariantNumeric:`proportional-nums`,display:`inline-flex`,gap:`1`},indicator:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,marginEnd:1,"& :where(svg)":{w:`1em`,h:`1em`},"&[data-type=up]":{color:`fg.success`},"&[data-type=down]":{color:`fg.error`}}},variants:{size:{sm:{valueText:{textStyle:`xl`}},md:{valueText:{textStyle:`2xl`}},lg:{valueText:{textStyle:`3xl`}}}},defaultVariants:{size:`md`}}),AA=q({className:`chakra-status`,slots:Sk.keys(),base:{root:{display:`inline-flex`,alignItems:`center`,gap:`2`},indicator:{width:`0.64em`,height:`0.64em`,flexShrink:0,borderRadius:`full`,forcedColorAdjust:`none`,bg:`colorPalette.solid`}},variants:{size:{sm:{root:{textStyle:`xs`}},md:{root:{textStyle:`sm`}},lg:{root:{textStyle:`md`}}}},defaultVariants:{size:`md`}}),jA=q({className:`chakra-steps`,slots:Ck.keys(),base:{root:{display:`flex`,width:`full`},list:{display:`flex`,justifyContent:`space-between`,"--steps-gutter":`spacing.3`,"--steps-thickness":`2px`},title:{fontWeight:`medium`,color:`fg`},description:{color:`fg.muted`},separator:{bg:`border`,flex:`1`},indicator:{display:`flex`,justifyContent:`center`,alignItems:`center`,flexShrink:`0`,borderRadius:`full`,fontWeight:`medium`,width:`var(--steps-size)`,height:`var(--steps-size)`,_icon:{flexShrink:`0`,width:`var(--steps-icon-size)`,height:`var(--steps-icon-size)`}},item:{position:`relative`,display:`flex`,gap:`3`,flex:`1 0 0`,"&:last-of-type":{flex:`initial`,"& [data-part=separator]":{display:`none`}}},trigger:{display:`flex`,alignItems:`center`,gap:`3`,textAlign:`start`,focusVisibleRing:`outside`,borderRadius:`l2`},content:{focusVisibleRing:`outside`}},variants:{orientation:{vertical:{root:{flexDirection:`row`,height:`100%`},list:{flexDirection:`column`,alignItems:`flex-start`},separator:{position:`absolute`,width:`var(--steps-thickness)`,height:`100%`,maxHeight:`calc(100% - var(--steps-size) - var(--steps-gutter) * 2)`,top:`calc(var(--steps-size) + var(--steps-gutter))`,insetStart:`calc(var(--steps-size) / 2 - 1px)`},item:{alignItems:`flex-start`}},horizontal:{root:{flexDirection:`column`,width:`100%`},list:{flexDirection:`row`,alignItems:`center`},separator:{width:`100%`,height:`var(--steps-thickness)`,marginX:`var(--steps-gutter)`},item:{alignItems:`center`}}},variant:{solid:{indicator:{_incomplete:{borderWidth:`var(--steps-thickness)`},_current:{bg:`colorPalette.muted`,borderWidth:`var(--steps-thickness)`,borderColor:`colorPalette.solid`,color:`colorPalette.fg`},_complete:{bg:`colorPalette.solid`,borderColor:`colorPalette.solid`,color:`colorPalette.contrast`}},separator:{_complete:{bg:`colorPalette.solid`}}},subtle:{indicator:{_incomplete:{bg:`bg.muted`},_current:{bg:`colorPalette.muted`,color:`colorPalette.fg`},_complete:{bg:`colorPalette.emphasized`,color:`colorPalette.fg`}},separator:{_complete:{bg:`colorPalette.emphasized`}}}},size:{xs:{root:{gap:`2.5`},list:{"--steps-size":`sizes.6`,"--steps-icon-size":`sizes.3.5`,textStyle:`xs`},title:{textStyle:`sm`}},sm:{root:{gap:`3`},list:{"--steps-size":`sizes.8`,"--steps-icon-size":`sizes.4`,textStyle:`xs`},title:{textStyle:`sm`}},md:{root:{gap:`4`},list:{"--steps-size":`sizes.10`,"--steps-icon-size":`sizes.4`,textStyle:`sm`},title:{textStyle:`sm`}},lg:{root:{gap:`6`},list:{"--steps-size":`sizes.11`,"--steps-icon-size":`sizes.5`,textStyle:`md`},title:{textStyle:`md`}}}},defaultVariants:{size:`md`,variant:`solid`,orientation:`horizontal`}}),MA=q({slots:wk.keys(),className:`chakra-switch`,base:{root:{display:`inline-flex`,ga
vendor: 9,811 bytes, line 14
14p:`2.5`,alignItems:`center`,position:`relative`,verticalAlign:`middle`,"--switch-diff":`calc(var(--switch-width) - var(--switch-height))`,"--switch-x":{base:`var(--switch-diff)`,_rtl:`calc(var(--switch-diff) * -1)`}},label:{lineHeight:`1`,userSelect:`none`,fontSize:`sm`,fontWeight:`medium`,_disabled:{opacity:`0.5`}},indicator:{position:`absolute`,height:`var(--switch-height)`,width:`var(--switch-height)`,fontSize:`var(--switch-indicator-font-size)`,fontWeight:`medium`,flexShrink:0,userSelect:`none`,display:`grid`,placeContent:`center`,transition:`inset-inline-start 0.12s ease`,insetInlineStart:`calc(var(--switch-x) - 2px)`,_checked:{insetInlineStart:`2px`}},control:{display:`inline-flex`,gap:`0.5rem`,flexShrink:0,justifyContent:`flex-start`,cursor:`switch`,borderRadius:`full`,position:`relative`,width:`var(--switch-width)`,height:`var(--switch-height)`,transition:`backgrounds`,_disabled:{opacity:`0.5`,cursor:`not-allowed`},_invalid:{outline:`2px solid`,outlineColor:`border.error`,outlineOffset:`2px`}},thumb:{display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0,transitionProperty:`translate`,transitionDuration:`fast`,borderRadius:`inherit`,_checked:{translate:`var(--switch-x) 0`}}},variants:{variant:{solid:{control:{borderRadius:`full`,bg:`bg.emphasized`,focusVisibleRing:`outside`,_checked:{bg:`colorPalette.solid`}},thumb:{bg:`white`,width:`var(--switch-height)`,height:`var(--switch-height)`,scale:`0.8`,boxShadow:`sm`,_checked:{bg:`colorPalette.contrast`}}},raised:{control:{borderRadius:`full`,height:`calc(var(--switch-height) / 2)`,bg:`bg.muted`,boxShadow:`inset`,_checked:{bg:`colorPalette.solid/60`}},thumb:{width:`var(--switch-height)`,height:`var(--switch-height)`,position:`relative`,top:`calc(var(--switch-height) * -0.25)`,bg:`white`,boxShadow:`xs`,focusVisibleRing:`outside`,_checked:{bg:`colorPalette.solid`}}}},size:{xs:{root:{"--switch-width":`sizes.6`,"--switch-height":`sizes.3`,"--switch-indicator-font-size":`fontSizes.xs`}},sm:{root:{"--switch-width":`sizes.8`,"--switch-height":`sizes.4`,"--switch-indicator-font-size":`fontSizes.xs`}},md:{root:{"--switch-width":`sizes.10`,"--switch-height":`sizes.5`,"--switch-indicator-font-size":`fontSizes.sm`}},lg:{root:{"--switch-width":`sizes.12`,"--switch-height":`sizes.6`,"--switch-indicator-font-size":`fontSizes.md`}}}},defaultVariants:{variant:`solid`,size:`md`}}),NA=q({className:`chakra-table`,slots:Tk.keys(),base:{root:{fontVariantNumeric:`lining-nums tabular-nums`,borderCollapse:`collapse`,width:`full`,textAlign:`start`,verticalAlign:`top`},row:{_selected:{bg:`colorPalette.subtle`}},cell:{textAlign:`start`,alignItems:`center`},columnHeader:{fontWeight:`medium`,textAlign:`start`,color:`fg`},caption:{fontWeight:`medium`,textStyle:`xs`},footer:{fontWeight:`medium`}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:`colorPalette.subtle`}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:`var(--table-sticky-offset, 0)`,position:`sticky`,zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:`bg.muted`}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:`1px`}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:`1px`}}}},variant:{line:{columnHeader:{borderBottomWidth:`1px`},cell:{borderBottomWidth:`1px`},row:{bg:`bg`}},outline:{root:{boxShadow:`0 0 0 1px {colors.border}`},columnHeader:{borderBottomWidth:`1px`},header:{bg:`bg.muted`},row:{"&:not(:last-of-type)":{borderBottomWidth:`1px`}},footer:{borderTopWidth:`1px`}}},size:{sm:{root:{textStyle:`sm`},columnHeader:{px:`2`,py:`2`},cell:{px:`2`,py:`2`}},md:{root:{textStyle:`sm`},columnHeader:{px:`3`,py:`3`},cell:{px:`3`,py:`3`}},lg:{root:{textStyle:`md`},columnHeader:{px:`4`,py:`3`},cell:{px:`4`,py:`3`}}}},defaultVariants:{variant:`line`,size:`md`}}),PA=q({slots:Dk.keys(),className:`chakra-tabs`,base:{root:{"--tabs-trigger-radius":`radii.l2`,"--tabs-indicator-shadow":`shadows.xs`,"--tabs-indicator-bg":`colors.bg`,position:`relative`,_horizontal:{display:`block`},_vertical:{display:`flex`}},list:{display:`inline-flex`,position:`relative`,isolation:`isolate`,minH:`var(--tabs-height)`,_horizontal:{flexDirection:`row`},_vertical:{flexDirection:`column`}},trigger:{outline:`0`,minW:`var(--tabs-height)`,height:`var(--tabs-height)`,display:`flex`,alignItems:`center`,fontWeight:`medium`,position:`relative`,cursor:`button`,gap:`2`,_focusVisible:{zIndex:1,outline:`2px solid`,outlineColor:`colorPalette.focusRing`},_disabled:{cursor:`not-allowed`,opacity:.5}},content:{focusVisibleRing:`inside`,_horizontal:{width:`100%`,pt:`var(--tabs-content-padding)`},_vertical:{height:`100%`,ps:`var(--tabs-content-padding)`}},indicator:{width:`var(--width)`,height:`var(--height)`,borderRadius:`var(--tabs-trigger-radius)`,bg:`var(--tabs-indicator-bg)`,shadow:`var(--tabs-indicator-shadow)`,zIndex:-1}},variants:{fitted:{true:{list:{display:`flex`},trigger:{flex:1,textAlign:`center`,justifyContent:`center`}}},justify:{start:{list:{justifyContent:`flex-start`}},center:{list:{justifyContent:`center`}},end:{list:{justifyContent:`flex-end`}}},size:{sm:{root:{"--tabs-height":`sizes.9`,"--tabs-content-padding":`spacing.3`},trigger:{py:`1`,px:`3`,textStyle:`sm`}},md:{root:{"--tabs-height":`sizes.10`,"--tabs-content-padding":`spacing.4`},trigger:{py:`2`,px:`4`,textStyle:`sm`}},lg:{root:{"--tabs-height":`sizes.11`,"--tabs-content-padding":`spacing.4.5`},trigger:{py:`2`,px:`4.5`,textStyle:`md`}}},variant:{line:{list:{display:`flex`,borderColor:`border`,_horizontal:{borderBottomWidth:`1px`},_vertical:{borderEndWidth:`1px`}},trigger:{color:`fg.muted`,_disabled:{_active:{bg:`initial`}},_selected:{color:`fg`,_horizontal:{layerStyle:`indicator.bottom`,"--indicator-offset-y":`-1px`,"--indicator-color":`colors.colorPalette.solid`},_vertical:{layerStyle:`indicator.end`,"--indicator-offset-x":`-1px`}}}},subtle:{trigger:{borderRadius:`var(--tabs-trigger-radius)`,color:`fg.muted`,_selected:{bg:`colorPalette.subtle`,color:`colorPalette.fg`}}},enclosed:{list:{bg:`bg.muted`,padding:`1`,borderRadius:`l3`,minH:`calc(var(--tabs-height) - 4px)`},trigger:{justifyContent:`center`,color:`fg.muted`,borderRadius:`var(--tabs-trigger-radius)`,_selected:{bg:`bg`,color:`colorPalette.fg`,shadow:`xs`}}},outline:{list:{"--line-thickness":`1px`,"--line-offset":`calc(var(--line-thickness) * -1)`,borderColor:`border`,display:`flex`,_horizontal:{_before:{content:`""`,position:`absolute`,bottom:`0px`,width:`100%`,borderBottomWidth:`var(--line-thickness)`,borderBottomColor:`border`}},_vertical:{_before:{content:`""`,position:`absolute`,insetInline:`var(--line-offset)`,height:`calc(100% - calc(var(--line-thickness) * 2))`,borderEndWidth:`var(--line-thickness)`,borderEndColor:`border`}}},trigger:{color:`fg.muted`,borderWidth:`1px`,borderColor:`transparent`,_selected:{bg:`currentBg`,color:`colorPalette.fg`},_horizontal:{borderTopRadius:`var(--tabs-trigger-radius)`,marginBottom:`var(--line-offset)`,marginEnd:{_notLast:`var(--line-offset)`},_selected:{borderColor:`border`,borderBottomColor:`transparent`}},_vertical:{borderStartRadius:`var(--tabs-trigger-radius)`,marginEnd:`var(--line-offset)`,marginBottom:{_notLast:`var(--line-offset)`},_selected:{borderColor:`border`,borderEndColor:`transparent`}}}},plain:{trigger:{color:`fg.muted`,_selected:{color:`colorPalette.fg`},borderRadius:`var(--tabs-trigger-radius)`,"&[data-selected][data-ssr]":{bg:`var(--tabs-indicator-bg)`,shadow:`var(--tabs-indicator-shadow)`,borderRadius:`var(--tabs-trigger-radius)`}}}}},defaultVariants:{size:`md`,variant:`line`}}),FA=kO.variants?.variant,IA=q({slots:Ok.keys(),className:`chakra-tag`,base:{root:{display:`inline-flex`,alignItems:`center`,verticalAlign:`top`,maxWidth:`100%`,userSelect:`none`,borderRadius:`l2`,focusVisibleRing:`outside`},label:{lineClamp:`1`},closeTrigger:{display:`flex`,alignItems:`center`,justifyContent:`center`,outline:`0`,borderRadius:`l1`,color:`currentColor`,focusVisibleRing:`inside`,focusRingWidth:`2px`},startElement:{flexShrink:0,boxSize:`var(--tag-element-size)`,ms:`var(--tag-element-offset)`,"&:has([data-scope=avatar])":{boxSize:`var(--tag-avatar-size)`,ms:`calc(var(--tag-element-offset) * 1.5)`},_icon:{boxSize:`100%`}},endElement:{flexShrink:0,boxSize:`var(--tag-element-size)`,me:`var(--tag-element-offset)`,_icon:{boxSize:`100%`},"&:has(button)":{ms:`calc(var(--tag-element-offset) * -1)`}}},variants:{size:{sm:{root:{px:`1.5`,minH:`4.5`,gap:`1`,"--tag-avatar-size":`spacing.3`,"--tag-element-size":`spacing.3`,"--tag-element-offset":`-2px`},label:{textStyle:`xs`}},md:{root:{px:`1.5`,minH:`5`,gap:`1`,"--tag-avatar-size":`spacing.3.5`,"--tag-element-size":`spacing.3.5`,"--tag-element-offset":`-2px`},label:{textStyle:`xs`}},lg:{root:{px:`2`,minH:`6`,gap:`1.5`,"--tag-avatar-size":`spacing.4.5`,"--tag-element-size":`spacing.4`,"--tag-element-offset":`-3px`},label:{textStyle:`sm`}},xl:{root:{px:`2.5`,minH:`8`,gap:`1.5`,"--tag-avatar-size":`spacing.6`,"--tag-element-size":`spacing.4.5`,"--tag-element-offset":`-4px`},label:{textStyle:`sm`}}},variant:{subtle:{root:FA?.subtle},solid:{root:FA?.solid},outline:{root:FA?.outline},surface:{root:FA?.surface}}},defaultVariants:{size:`md`,variant:`surface`}}),LA=q({slots:ow.keys(),className:`tags-input`,base:{root:{display:`flex`,flexDirection:`column`,gap:`1.5`,width:`full`},label:{fontWeight:`medium`,textStyle:`sm`,_disabled:{opacity:`0.5`}},control:{"--focus-color":`colors.colorPalette.focusRing`,"--error-color":`colors.border.error`,minH:`var(--tags-input-height)`,"--input-height":`var(--tags-input-height)`,px:`var(--tags-input-px)`,py:`var(--tags-input-py)`,gap:`var(--tags-input-gap)`,display:`flex`,flexWrap:`wrap`,alignItems:`center`,borderRadius:`l2`,pos:`relative`,transitionProperty:`border-color, box-shadow`,transitionDuration:`normal`,_disabled:{opacity:`0.5`},_invalid:{borderColor:`var(--error-color)`}}
14,input:{flex:`1`,minWidth:`20`,outline:`none`,bg:`transparent`,color:`fg`,px:`calc(var(--tags-input-item-px) / 1.25)`,height:`var(--tags-input-item-height)`,_readOnly:{display:`none`}},item:{maxWidth:`100%`,minWidth:`0`},itemText:{lineClamp:`1`,minWidth:`0`},itemInput:{outline:`none`,bg:`transparent`,minWidth:`2ch`,color:`inherit`,px:`var(--tags-input-item-px)`,height:`var(--tags-input-item-height)`},itemPreview:{height:`var(--tags-input-item-height)`,userSelect:`none`,display:`inline-flex`,alignItems:`center`,gap:`1`,rounded:`l1`,px:`var(--tags-input-item-px)`,maxWidth:`100%`},itemDeleteTrigger:{display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:`0`,boxSize:`calc(var(--tags-input-item-height) / 1.5)`,cursor:{base:`button`,_disabled:`initial`},me:`-1`,opacity:`0.4`,_hover:{opacity:`1`},"[data-highlighted] &":{opacity:`1`},_icon:{boxSize:`80%`}},clearTrigger:{display:`flex`,alignItems:`center`,justifyContent:`center`,boxSize:`calc(var(--tags-input-item-height) / 1.5)`,cursor:{base:`button`,_disabled:`initial`},color:`fg.muted`,focusVisibleRing:`inside`,focusRingWidth:`2px`,rounded:`l1`,_icon:{boxSize:`5`}}},variants:{size:{xs:{root:{"--tags-input-height":`sizes.8`,"--tags-input-px":`spacing.1.5`,"--tags-input-py":`spacing.1`,"--tags-input-gap":`spacing.1`,"--tags-input-item-height":`sizes.6`,"--tags-input-item-px":`spacing.2`,textStyle:`xs`}},sm:{root:{"--tags-input-height":`sizes.9`,"--tags-input-px":`spacing.1.5`,"--tags-input-py":`spacing.1`,"--tags-input-gap":`spacing.1`,"--tags-input-item-height":`sizes.6`,"--tags-input-item-px":`spacing.2`,textStyle:`sm`}},md:{root:{"--tags-input-height":`sizes.10`,"--tags-input-px":`spacing.1.5`,"--tags-input-py":`spacing.1`,"--tags-input-gap":`spacing.1`,"--tags-input-item-height":`sizes.7`,"--tags-input-item-px":`spacing.2`,textStyle:`sm`}},lg:{root:{"--tags-input-height":`sizes.11`,"--tags-input-px":`spacing.1.5`,"--tags-input-py":`spacing.1`,"--tags-input-gap":`spacing.1`,"--tags-input-item-height":`sizes.8`,"--tags-input-item-px":`spacing.2`,textStyle:`md`}}},variant:{outline:{control:{borderWidth:`1px`,bg:`bg`,_focus:{outlineWidth:`1px`,outlineStyle:`solid`,outlineColor:`var(--focus-color)`,borderColor:`var(--focus-color)`,_invalid:{outlineColor:`var(--error-color)`,borderColor:`var(--error-color)`}}},itemPreview:{bg:`colorPalette.subtle`,_highlighted:{bg:`colorPalette.muted`}}},subtle:{control:{bg:`bg.muted`,borderWidth:`1px`,borderColor:`transparent`,_focus:{outlineWidth:`1px`,outlineStyle:`solid`,outlineColor:`var(--focus-color)`,borderColor:`var(--focus-color)`,_invalid:{outlineColor:`var(--error-color)`,borderColor:`var(--error-color)`}}},itemPreview:{bg:`bg`,borderWidth:`1px`,_highlighted:{bg:`colorPalette.subtle`,borderColor:`colorPalette.emphasized`}}},flushed:{control:{borderRadius:`0`,px:`0`,bg:`transparent`,borderBottomWidth:`1px`,borderBottomColor:`border`,_focus:{borderColor:`var(--focus-color)`,boxShadow:`0px 1px 0px 0px var(--focus-color)`}},itemPreview:{bg:`colorPalette.subtle`,_highlighted:{bg:`colorPalette.muted`}}}}},defaultVariants:{size:`md`,variant:`outline`}}),RA=q({slots:kk.keys(),className:`chakra-timeline`,base:{root:{display:`flex`,flexDirection:`column`,width:`full`,"--timeline-thickness":`1px`,"--timeline-gutter":`4px`},item:{"--timeline-content-gap":`spacing.6`,display:`flex`,position:`relative`,alignItems:`flex-start`,flexShrink:0,gap:`4`,_last:{"--timeline-content-gap":`0`}},separator:{display:`var(--timeline-separator-display)`,position:`absolute`,borderStartWidth:`var(--timeline-thickness)`,ms:`calc(-1 * var(--timeline-thickness) / 2)`,insetInlineStart:`calc(var(--timeline-indicator-size) / 2)`,insetBlock:`0`,borderColor:`border`},indicator:{outline:`2px solid {colors.bg}`,position:`relative`,flexShrink:`0`,boxSize:`var(--timeline-indicator-size)`,fontSize:`var(--timeline-font-size)`,display:`flex`,alignItems:`center`,justifyContent:`center`,borderRadius:`full`,fontWeight:`medium`},connector:{alignSelf:`stretch`,position:`relative`},content:{pb:`var(--timeline-content-gap)`,display:`flex`,flexDirection:`column`,width:`full`,gap:`2`},title:{display:`flex`,fontWeight:`medium`,flexWrap:`wrap`,gap:`1.5`,alignItems:`center`,mt:`var(--timeline-margin)`},description:{color:`fg.muted`,textStyle:`xs`}},variants:{variant:{subtle:{indicator:{bg:`colorPalette.muted`}},solid:{indicator:{bg:`colorPalette.solid`,color:`colorPalette.contrast`}},outline:{indicator:{bg:`currentBg`,borderWidth:`1px`,borderColor:`colorPalette.muted`}},plain:{}},showLastSeparator:{true:{item:{_last:{"--timeline-separator-display":`initial`}}},false:{item:{_last:{"--timeline-separator-display":`none`}}}},size:{sm:{root:{"--timeline-indicator-size":`sizes.4`,"--timeline-font-size":`fontSizes.2xs`},title:{textStyle:`xs`}},md:{root:{"--timeline-indicator-size":`sizes.5`,"--timeline-font-size":`fontSizes.xs`},title:{textStyle:`sm`}},lg:{root:{"--timeline-indicator-size":`sizes.6`,"--timeline-font-size":`fontSizes.xs`},title:{mt:`0.5`,textStyle:`sm`}},xl:{root:{"--timeline-indicator-size":`sizes.8`,"--timeline-font-size":`fontSizes.sm`},title:{mt:`1.5`,textStyle:`sm`}}}},defaultVariants:{size:`md`,variant:`solid`,showLastSeparator:!1}}),zA=q({slots:Ek.keys(),className:`chakra-toast`,base:{root:{width:`full`,display:`flex`,alignItems:`flex-start`,position:`relative`,gap:`3`,py:`4`,ps:`4`,pe:`6`,borderRadius:`l2`,translate:`var(--x) var(--y)`,scale:`var(--scale)`,zIndex:`var(--z-index)`,height:`var(--height)`,opacity:`var(--opacity)`,willChange:`translate, opacity, scale`,transition:`translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms`,transitionTimingFunction:`cubic-bezier(0.21, 1.02, 0.73,
141)`,_closed:{transition:`translate 400ms, scale 400ms, opacity 200ms`,transitionTimingFunction:`cubic-bezier(0.06, 0.71, 0.55, 1)`},bg:`bg.panel`,color:`fg`,boxShadow:`xl`,"--toast-trigger-bg":`colors.bg.muted`,"&[data-type=warning]":{bg:`orange.solid`,color:`orange.contrast`,"--toast-trigger-bg":`{white/10}`,"--toast-border-color":`{white/40}`},"&[data-type=success]":{bg:`green.solid`,color:`green.contrast`,"--toast-trigger-bg":`{white/10}`,"--toast-border-color":`{white/40}`},"&[data-type=error]":{bg:`red.solid`,color:`red.contrast`,"--toast-trigger-bg":`{white/10}`,"--toast-border-color":`{white/40}`}},title:{fontWeight:`medium`,textStyle:`sm`,marginEnd:`2`},description:{display:`inline`,textStyle:`sm`,opacity:`0.8`},indicator:{flexShrink:`0`,boxSize:`5`},actionTrigger:{textStyle:`sm`,fontWeight:`medium`,height:`8`,px:`3`,borderRadius:`l2`,alignSelf:`center`,borderWidth:`1px`,borderColor:`var(--toast-border-color, inherit)`,transition:`background 200ms`,_hover:{bg:`var(--toast-trigger-bg)`}},closeTrigger:{position:`absolute`,top:`1`,insetEnd:`1`,padding:`1`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,color:`{currentColor/60}`,borderRadius:`l2`,textStyle:`md`,transition:`background 200ms`,_icon:{boxSize:`1em`}}}}),BA=q({slots:zw.keys(),className:`chakra-tooltip`,base:{content:{"--tooltip-bg":`colors.bg.inverted`,bg:`var(--tooltip-bg)`,color:`fg.inverted`,px:`2.5`,py:`1`,borderRadius:`l2`,fontWeight:`medium`,textStyle:`xs`,boxShadow:`md`,maxW:`xs`,zIndex:`tooltip`,transformOrigin:`var(--transform-origin)`,_open:{animationStyle:`scale-fade-in`,animationDuration:`fast`},_closed:{animationStyle:`scale-fade-out`,animationDuration:`fast`}},arrow:{"--arrow-size":`sizes.2`,"--arrow-background":`var(--tooltip-bg)`},arrowTip:{borderTopWidth:`1px`,borderLeftWidth:`1px`,borderColor:`var(--tooltip-bg)`}}}),VA=WT({display:`flex`,alignItems:`center`,gap:`var(--tree-item-gap)`,rounded:`l2`,userSelect:`none`,position:`relative`,"--tree-depth":`calc(var(--depth) - 1)`,"--tree-indentation-offset":`calc(var(--tree-indentation) * var(--tree-depth))`,"--tree-icon-offset":`calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)`,"--tree-offset":`calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))`,ps:`var(--tree-offset)`,pe:`var(--tree-padding-inline)`,py:`var(--tree-padding-block)`,focusVisibleRing:`inside`,focusRingColor:`border.emphasized`,focusRingWidth:`2px`,"&:hover, &:focus-visible":{bg:`bg.muted`},_disabled:{layerStyle:`disabled`}}),HA=WT({flex:`1`}),UA=WT({_selected:{bg:`colorPalette.subtle`,color:`colorPalette.fg`}}),WA=WT({_selected:{layerStyle:`fill.solid`}}),GA={accordion:Pk,actionBar:Fk,alert:Ik,avatar:Lk,blockquote:Rk,breadcrumb:zk,card:Bk,carousel:Vk,checkbox:Hk,checkboxCard:Uk,codeBlock:Wk,collapsible:Gk,dataList:Jk,datePicker:Zk,dialog:Qk,drawer:$k,editable:tA,emptyState:nA,field:rA,fieldset:iA,fileUpload:aA,hoverCard:oA,list:sA,listbox:cA,menu:uA,nativeSelect:fA,numberInput:mA,pinInput:_A,popover:vA,progress:yA,progressCircle:bA,radioCard:SA,radioGroup:CA,ratingGroup:wA,scrollArea:TA,segmentGroup:EA,select:dA,combobox:qk,slider:DA,splitter:OA,stat:kA,steps:jA,switch:MA,table:NA,tabs:PA,tag:IA,tagsInput:LA,toast:zA,tooltip:BA,status:AA,timeline:RA,colorPicker:Kk,qrCode:xA,treeView:q({slots:$w.keys(),className:`chakra-tree-view`,base:{root:{width:`full`,display:`flex`,flexDirection:`column`,gap:`2`},tree:{display:`flex`,flexDirection:`column`,"--tree-item-gap":`spacing.2`,_icon:{boxSize:`var(--tree-icon-size)`}},label:{fontWeight:`medium`,textStyle:`sm`},branch:{position:`relative`},branchContent:{position:`relative`},branchIndentGuide:{height:`100%`,width:`1px`,bg:`border`,position:`absolute`,"--tree-depth":`calc(var(--depth) - 1)`,"--tree-indentation-offset":`calc(var(--tree-indentation) * var(--tree-depth))`,"--tree-offset":`calc(var(--tree-padding-inline) + var(--tree-indentation-offset))`,"--tree-icon-offset":`calc(var(--tree-icon-size) * 0.5 * var(--depth))`,insetInlineStart:`calc(var(--tree-offset) + var(--tree-icon-offset))`,zIndex:`1`},branchIndicator:{color:`fg.muted`,transformOrigin:`center`,transitionDuration:`normal`,transitionProperty:`transform`,transitionTimingFunction:`default`,_open:{transform:`rotate(90deg)`}},branchTrigger:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`}
vendor: 8,562 bytes, line 14
14,branchControl:VA,item:VA,itemText:HA,branchText:HA,nodeCheckbox:{display:`inline-flex`}},variants:{size:{md:{tree:{textStyle:`sm`,"--tree-indentation":`spacing.4`,"--tree-padding-inline":`spacing.3`,"--tree-padding-block":`spacing.1.5`,"--tree-icon-size":`spacing.4`}},sm:{tree:{textStyle:`sm`,"--tree-indentation":`spacing.4`,"--tree-padding-inline":`spacing.3`,"--tree-padding-block":`spacing.1`,"--tree-icon-size":`spacing.3`}},xs:{tree:{textStyle:`xs`,"--tree-indentation":`spacing.4`,"--tree-padding-inline":`spacing.2`,"--tree-padding-block":`spacing.1`,"--tree-icon-size":`spacing.3`}}},variant:{subtle:{branchControl:UA,item:UA},solid:{branchControl:WA,item:WA}},animateContent:{true:{branchContent:{_open:{animationName:`expand-height, fade-in`,animationDuration:`moderate`},_closed:{animationName:`collapse-height, fade-out`,animationDuration:`moderate`}}}}},defaultVariants:{size:`md`,variant:`subtle`}}),marquee:lA},KA=GT({"2xs":{value:{fontSize:`2xs`,lineHeight:`0.75rem`}},xs:{value:{fontSize:`xs`,lineHeight:`1rem`}},sm:{value:{fontSize:`sm`,lineHeight:`1.25rem`}},md:{value:{fontSize:`md`,lineHeight:`1.5rem`}},lg:{value:{fontSize:`lg`,lineHeight:`1.75rem`}},xl:{value:{fontSize:`xl`,lineHeight:`1.875rem`}},"2xl":{value:{fontSize:`2xl`,lineHeight:`2rem`}},"3xl":{value:{fontSize:`3xl`,lineHeight:`2.375rem`}},"4xl":{value:{fontSize:`4xl`,lineHeight:`2.75rem`,letterSpacing:`-0.025em`}},"5xl":{value:{fontSize:`5xl`,lineHeight:`3.75rem`,letterSpacing:`-0.025em`}},"6xl":{value:{fontSize:`6xl`,lineHeight:`4.5rem`,letterSpacing:`-0.025em`}},"7xl":{value:{fontSize:`7xl`,lineHeight:`5.75rem`,letterSpacing:`-0.025em`}},none:{value:{}},label:{value:{fontSize:`sm`,lineHeight:`1.25rem`,fontWeight:`medium`}}}),qA=YT.animations({spin:{value:`spin 1s linear infinite`},ping:{value:`ping 1s cubic-bezier(0, 0, 0.2, 1) infinite`},pulse:{value:`pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite`},bounce:{value:`bounce 1s infinite`}}),JA=YT.aspectRatios({square:{value:`1 / 1`},landscape:{value:`4 / 3`},portrait:{value:`3 / 4`},wide:{value:`16 / 9`},ultrawide:{value:`18 / 5`},golden:{value:`1.618 / 1`}}),YA=YT.blurs({none:{value:` `},sm:{value:`4px`},md:{value:`8px`},lg:{value:`12px`},xl:{value:`16px`},"2xl":{value:`24px`},"3xl":{value:`40px`},"4xl":{value:`64px`}}),XA=YT.borders({xs:{value:`0.5px solid`},sm:{value:`1px solid`},md:{value:`2px solid`},lg:{value:`4px solid`},xl:{value:`8px solid`}}),ZA=YT.colors({transparent:{value:`transparent`},current:{value:`currentColor`},black:{value:`#09090B`},white:{value:`#FFFFFF`},whiteAlpha:{50:{value:`rgba(255, 255, 255, 0.04)`},100:{value:`rgba(255, 255, 255, 0.06)`},200:{value:`rgba(255, 255, 255, 0.08)`},300:{value:`rgba(255, 255, 255, 0.16)`},400:{value:`rgba(255, 255, 255, 0.24)`},500:{value:`rgba(255, 255, 255, 0.36)`},600:{value:`rgba(255, 255, 255, 0.48)`},700:{value:`rgba(255, 255, 255, 0.64)`},800:{value:`rgba(255, 255, 255, 0.80)`},900:{value:`rgba(255, 255, 255, 0.92)`},950:{value:`rgba(255, 255, 255, 0.95)`}},blackAlpha:{50:{value:`rgba(0, 0, 0, 0.04)`},100:{value:`rgba(0, 0, 0, 0.06)`},200:{value:`rgba(0, 0, 0, 0.08)`},300:{value:`rgba(0, 0, 0, 0.16)`},400:{value:`rgba(0, 0, 0, 0.24)`},500:{value:`rgba(0, 0, 0, 0.36)`},600:{value:`rgba(0, 0, 0, 0.48)`},700:{value:`rgba(0, 0, 0, 0.64)`},800:{value:`rgba(0, 0, 0, 0.80)`},900:{value:`rgba(0, 0, 0, 0.92)`},950:{value:`rgba(0, 0, 0, 0.95)`}},gray:{50:{value:`#fafafa`},100:{value:`#f4f4f5`},200:{value:`#e4e4e7`},300:{value:`#d4d4d8`},400:{value:`#a1a1aa`},500:{value:`#71717a`},600:{value:`#52525b`},700:{value:`#3f3f46`},800:{value:`#27272a`},900:{value:`#18181b`},950:{value:`#111111`}},red:{50:{value:`#fef2f2`},100:{value:`#fee2e2`},200:{value:`#fecaca`},300:{value:`#fca5a5`},400:{value:`#f87171`},500:{value:`#ef4444`},600:{value:`#dc2626`},700:{value:`#991919`},800:{value:`#511111`},900:{value:`#300c0c`},950:{value:`#1f0808`}},orange:{50:{value:`#fff7ed`},100:{value:`#ffedd5`},200:{value:`#fed7aa`},300:{value:`#fdba74`},400:{value:`#fb923c`},500:{value:`#f97316`},600:{value:`#ea580c`},700:{value:`#92310a`},800:{value:`#6c2710`},900:{value:`#3b1106`},950:{value:`#220a04`}},yellow:{50:{value:`#fefce8`},100:{value:`#fef9c3`},200:{value:`#fef08a`},300:{value:`#fde047`},400:{value:`#facc15`},500:{value:`#eab308`},600:{value:`#ca8a04`},700:{value:`#845209`},800:{value:`#713f12`},900:{value:`#422006`},950:{value:`#281304`}},green:{50:{value:`#f0fdf4`},100:{value:`#dcfce7`},200:{value:`#bbf7d0`},300:{value:`#86efac`},400:{value:`#4ade80`},500:{value:`#22c55e`},600:{value:`#16a34a`},700:{value:`#116932`},800:{value:`#124a28`},900:{value:`#042713`},950:{value:`#03190c`}},teal:{50:{value:`#f0fdfa`},100:{value:`#ccfbf1`},200:{value:`#99f6e4`},300:{value:`#5eead4`},400:{value:`#2dd4bf`},500:{value:`#14b8a6`},600:{value:`#0d9488`},700:{value:`#0c5d56`},800:{value:`#114240`},900:{value:`#032726`},950:{value:`#021716`}},blue:{50:{value:`#eff6ff`},100:{value:`#dbeafe`},200:{value:`#bfdbfe`},300:{value:`#a3cfff`},400:{value:`#60a5fa`},500:{value:`#3b82f6`},600:{value:`#2563eb`},700:{value:`#173da6`},800:{value:`#1a3478`},900:{value:`#14204a`},950:{value:`#0c142e`}},cyan:{50:{value:`#ecfeff`},100:{value:`#cffafe`},200:{value:`#a5f3fc`},300:{value:`#67e8f9`},400:{value:`#22d3ee`},500:{value:`#06b6d4`},600:{value:`#0891b2`},700:{value:`#0c5c72`},800:{value:`#134152`},900:{value:`#072a38`},950:{value:`#051b24`}},purple:{50:{value:`#faf5ff`},100:{value:`#f3e8ff`},200:{value:`#e9d5ff`},300:{value:`#d8b4fe`},400:{value:`#c084fc`},500:{value:`#a855f7`},600:{value:`#9333ea`},700:{value:`#641ba3`},800:{value:`#4a1772`},900:{value:`#2f0553`},950:{value:`#1a032e`}},pink:{50:{value:`#fdf2f8`},100:{value:`#fce7f3`},200:{value:`#fbcfe8`},300:{value:`#f9a8d4`},400:{value:`#f472b6`},500:{value:`#ec4899`},600:{value:`#db2777`},700:{value:`#a41752`},800:{value:`#6d0e34`},900:{value:`#45061f`},950:{value:`#2c0514`}}}),QA=YT.cursor({button:{value:`pointer`},checkbox:{value:`default`},disabled:{value:`not-allowed`},menuitem:{value:`default`},option:{value:`default`},radio:{value:`default`},slider:{value:`default`},switch:{value:`pointer`}}),$A=YT.durations({fastest:{value:`50ms`},faster:{value:`100ms`},fast:{value:`150ms`},moderate:{value:`200ms`},slow:{value:`300ms`},slower:{value:`400ms`},slowest:{value:`500ms`}}),ej=YT.easings({"ease-in":{value:`cubic-bezier(0.42, 0, 1, 1)`},"ease-out":{value:`cubic-bezier(0, 0, 0.58, 1)`},"ease-in-out":{value:`cubic-bezier(0.42, 0, 0.58, 1)`},"ease-in-smooth":{value:`cubic-bezier(0.32, 0.72, 0, 1)`}}),tj=YT.fontSizes({"2xs":{value:`0.625rem`},xs:{value:`0.75rem`},sm:{value:`0.875rem`},md:{value:`1rem`},lg:{value:`1.125rem`},xl:{value:`1.25rem`},"2xl":{value:`1.5rem`},"3xl":{value:`1.875rem`},"4xl":{value:`2.25rem`},"5xl":{value:`3rem`},"6xl":{value:`3.75rem`},"7xl":{value:`4.5rem`},"8xl":{value:`6rem`},"9xl":{value:`8rem`}}),nj=YT.fontWeights({thin:{value:`100`},extralight:{value:`200`},light:{value:`300`},normal:{value:`400`},medium:{value:`500`},semibold:{value:`600`},bold:{value:`700`},extrabold:{value:`800`},black:{value:`900`}}),rj=`-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"`,ij=YT.fonts({heading:{value:`Inter, ${rj}`},body:{value:`Inter, ${rj}`},mono:{value:`SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace`}}),aj=HT({spin:{"0%":{transform:`rotate(0deg)`},"100%":{transform:`rotate(360deg)`}},pulse:{"50%":{opacity:`0.5`}},ping:{"75%, 100%":{transform:`scale(2)`,opacity:`0`}},bounce:{"0%, 100%":{transform:`translateY(-25%)`,animationTimingFunction:`cubic-bezier(0.8,0,1,1)`},"50%":{transform:`none`,animationTimingFunction:`cubic-bezier(0,0,0.2,1)`}},"bg-position":{from:{backgroundPosition:`var(--animate-from, 1rem) 0`},to:{backgroundPosition:`var(--animate-to, 0) 0`}},position:{from:{insetInlineStart:`var(--animate-from-x)`,insetBlockStart:`var(--animate-from-y)`},to:{insetInlineStart:`var(--animate-to-x)`,insetBlockStart:`var(--animate-to-y)`}},"circular-progress":{"0%":{strokeDasharray:`1, 400`,strokeDashoffset:`0`},"50%":{strokeDasharray:`400, 400`,strokeDashoffset:`-100%`},"100%":{strokeDasharray:`400, 400`,strokeDashoffset:`-260%`}},"expand-height":{from:{height:`var(--collapsed-height, 0)`},to:{height:`var(--height)`}},"collapse-height":{from:{height:`var(--height)`},to:{height:`var(--collapsed-height, 0)`}},"expand-width":{from:{width:`var(--collapsed-width, 0)`},to:{width:`var(--width)`}},"collapse-width":{from:{width:`var(--width)`},to:{width:`var(--collapsed-width, 0)`}},"fade-in":{from:{opacity:0}
14,to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:`-100% 0`},to:{translate:`0 0`}},"slide-from-right-full":{from:{translate:`100% 0`},to:{translate:`0 0`}},"slide-from-top-full":{from:{translate:`0 -100%`},to:{translate:`0 0`}},"slide-from-bottom-full":{from:{translate:`0 100%`},to:{translate:`0 0`}},"slide-to-left-full":{from:{translate:`0 0`},to:{translate:`-100% 0`}},"slide-to-right-full":{from:{translate:`0 0`},to:{translate:`100% 0`}},"slide-to-top-full":{from:{translate:`0 0`},to:{translate:`0 -100%`}},"slide-to-bottom-full":{from:{translate:`0 0`},to:{translate:`0 100%`}},"slide-from-top":{"0%":{translate:`0 calc(var(--slide-from-top-distance, 0.5rem) * -1)`},to:{translate:`0`}},"slide-from-bottom":{"0%":{translate:`0 var(--slide-from-bottom-distance, 0.5rem)`},to:{translate:`0`}},"slide-from-left":{"0%":{translate:`calc(var(--slide-from-left-distance, 0.5rem) * -1) 0`},to:{translate:`0`}},"slide-from-right":{"0%":{translate:`var(--slide-from-right-distance, 0.5rem) 0`},to:{translate:`0`}},"slide-to-top":{"0%":{translate:`0`},to:{translate:`0 calc(var(--slide-to-top-distance, 0.5rem) * -1)`}},"slide-to-bottom":{"0%":{translate:`0`},to:{translate:`0 var(--slide-to-bottom-distance, 0.5rem)`}},"slide-to-left":{"0%":{translate:`0`},to:{translate:`calc(var(--slide-to-left-distance, 0.5rem) * -1) 0`}},"slide-to-right":{"0%":{translate:`0`},to:{translate:`var(--slide-to-right-distance, 0.5rem) 0`}},"scale-in":{from:{scale:`0.95`},to:{scale:`1`}},"scale-out":{from:{scale:`1`},to:{scale:`0.95`}},marqueeX:{from:{transform:`translateX(0%)`},to:{transform:`translateX(var(--marquee-translate))`}},marqueeY:{from:{transform:`translateY(0%)`},to:{transform:`translateY(var(--marquee-translate))`}}}),oj=YT.letterSpacings({tighter:{value:`-0.05em`},tight:{value:`-0.025em`},wide:{value:`0.025em`},wider:{value:`0.05em`},widest:{value:`0.1em`}}),sj=YT.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),cj=YT.radii({none:{value:`0`},"2xs":{value:`0.0625rem`},xs:{value:`0.125rem`},sm:{value:`0.25rem`},md:{value:`0.375rem`},lg:{value:`0.5rem`},xl:{value:`0.75rem`},"2xl":{value:`1rem`},"3xl":{value:`1.5rem`},"4xl":{value:`2rem`},full:{value:`9999px`}}),lj=YT.spacing({.5:{value:`0.125rem`},1:{value:`0.25rem`},1.5:{value:`0.375rem`},2:{value:`0.5rem`},2.5:{value:`0.625rem`},3:{value:`0.75rem`},3.5:{value:`0.875rem`},4:{value:`1rem`},4.5:{value:`1.125rem`},5:{value:`1.25rem`},6:{value:`1.5rem`},7:{value:`1.75rem`},8:{value:`2rem`},9:{value:`2.25rem`},10:{value:`2.5rem`},11:{value:`2.75rem`},12:{value:`3rem`},14:{value:`3.5rem`},16:{value:`4rem`},20:{value:`5rem`},24:{value:`6rem`},28:{value:`7rem`},32:{value:`8rem`},36:{value:`9rem`},40:{value:`10rem`},44:{value:`11rem`},48:{value:`12rem`},52:{value:`13rem`},56:{value:`14rem`},60:{value:`15rem`},64:{value:`16rem`},72:{value:`18rem`},80:{value:`20rem`},96:{value:`24rem`}}),uj=YT.sizes({"3xs":{value:`14rem`},"2xs":{value:`16rem`},xs:{value:`20rem`},sm:{value:`24rem`},md:{value:`28rem`},lg:{value:`32rem`},xl:{value:`36rem`},"2xl":{value:`42rem`},"3xl":{value:`48rem`},"4xl":{value:`56rem`},"5xl":{value:`64rem`},"6xl":{value:`72rem`},"7xl":{value:`80rem`},"8xl":{value:`90rem`}}),dj=YT.sizes({max:{value:`max-content`},min:{value:`min-content`},fit:{value:`fit-content`},prose:{value:`60ch`},full:{value:`100%`},dvh:{value:`100dvh`},svh:{value:`100svh`},lvh:{value:`100lvh`},dvw:{value:`100dvw`},svw:{value:`100svw`},lvw:{value:`100lvw`},vw:{value:`100vw`},vh:{value:`100vh`}}),fj=YT.sizes({"1/2":{value:`50%`},"1/3":{value:`33.333333%`},"2/3":{value:`66.666667%`},"1/4":{value:`25%`},"3/4":{value:`75%`},"1/5":{value:`20%`},"2/5":{value:`40%`},"3/5":{value:`60%`},"4/5":{value:`80%`},"1/6":{value:`16.666667%`},"2/6":{value:`33.333333%`},"3/6":{value:`50%`},"4/6":{value:`66.666667%`},"5/6":{value:`83.333333%`},"1/12":{value:`8.333333%`},"2/12":{value:`16.666667%`},"3/12":{value:`25%`},"4/12":{value:`33.333333%`},"5/12":{value:`41.666667%`},"6/12":{value:`50%`},"7/12":{value:`58.333333%`},"8/12":{value:`66.666667%`},"9/12":{value:`75%`},"10/12":{value:`83.333333%`},"11/12":{value:`91.666667%`}}),pj=zT(pE,ZT({preflight:!0,cssVarsPrefix:`chakra`,cssVarsRoot:`:where(html, .chakra-theme)`,globalCss:EO,theme:{breakpoints:wO,keyframes:aj,tokens:{aspectRatios:JA,animations:qA,blurs:YA,borders:XA,colors:ZA,durations:$A,easings:ej,fonts:ij,fontSizes:tj,fontWeights:nj,letterSpacings:oj,lineHeights:sj,radii:cj,spacing:lj,sizes:YT.sizes({...uj,...lj,...fj,...dj}),zIndex:YT.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}}),cursor:QA},semanticTokens:{colors:KO,shadows:JO,radii:qO},recipes:GO,slotRecipes:GA,textStyles:KA,layerStyles:DO,animationStyles:OO}})),mj=vO(pj);function hj(e){let{key:t,recipe:n}=e,r=Vf();return(0,V.useMemo)(()=>{let e=n||(t==null?{}:r.getSlotRecipe(t));return r.sva(structuredClone(e))},[t,n,r])}var gj=e=>{let{key:t,recipe:n}=e,r=up(t||n.className||`Component`),[i,a]=zf({name:`${r}StylesContext`,errorMessage:`use${r}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `}),[o,s]=zf({name:`${r}ClassNameContext`,errorMessage:`use${r}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `,strict:!1}),[c,l]=zf({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`,defaultValue:{}});function u(e){let{unstyled:r,...i}=e,a=hj({key:t,recipe:i.recipe||n}),[o,s]=(0,V.useMemo)(()=>a.splitVariantProps(i),[i,a]);return{styles:(0,V.useMemo)(()=>r?mp:a(o),[r,o,a]),classNames:a.classNameMap,props:s}}function d(e,t={}){let{defaultProps:n,displayName:a}=t,s=lp(e),c=fp(r,s),d=t=>{let r=l(),{styles:a,classNames:s,props:c}=u((0,V.useMemo)(()=>Tf(n,r,t),[r,t]));return(0,H.jsx)(i,{value:a,children:(0,H.jsx)(o,{value:s,children:(0,H.jsx)(e,{...c})})})};return d.displayName=a??c??s,d}return{StylesProvider:i,ClassNamesProvider:o,PropsProvider:c,usePropsContext:l,useRecipeResult:u,withProvider:(e,t,n)=>{let{defaultProps:a,displayName:s,wrapElement:c,...d}=n??{},f=dp(r,String(t)),p=ip(e,{},d),m=(0,V.forwardRef)((e,n)=>{let r=l(),s=(0,V.useMemo)(()=>Tf(a??{},r,e),[r,e]),{styles:d,props:f,classNames:m}=u(s),h=m[t],g=(0,H.jsx)(i,{value:d,children:(0,H.jsx)(o,{value:m,children:(0,H.jsx)(p,{ref:n,...f,css:[d[t],s.css],className:Pf(s.className,h)})})});return c?.(g,s)??g});return m.displayName=s??f??lp(e),m}
14,withContext:(e,t,n)=>{let{displayName:i,...o}=n??{},c=t!=null&&t!==``?dp(r,String(t)):r,l=ip(e,{},o),u=(0,V.forwardRef)((e,n)=>{let{unstyled:r,...i}=e,o=a(),c=s()?.[t];return(0,H.jsx)(l,{...i,css:[!r&&t?o[t]:void 0,e.css],ref:n,className:Pf(e.className,c)})});return u.displayName=i??c??lp(e),u},withRootProvider:d,useStyles:a,useClassNames:s}};function _j(e,t){let n=Vf();return(0,V.useMemo)(()=>(Array.isArray(t)?t:[t]).map(t=>n.token(`${e}.${t}`,t)),[n,e,t])}var vj=ip(`div`,{base:{position:`absolute`,display:`flex`,alignItems:`center`,justifyContent:`center`},variants:{axis:{horizontal:{insetStart:`50%`,translate:`-50%`,_rtl:{translate:`50%`}},vertical:{top:`50%`,translate:`0 -50%`},both:{insetStart:`50%`,top:`50%`,translate:`-50% -50%`,_rtl:{translate:`50% -50%`}}}},defaultVariants:{axis:`both`}});vj.displayName=`AbsoluteCenter`;var yj=e=>(0,H.jsx)(ip.svg,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:(0,H.jsx)(`path`,{d:`M20 6 9 17l-5-5`})}),bj=e=>(0,H.jsx)(ip.svg,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:(0,H.jsx)(`path`,{d:`m15 18-6-6 6-6`})}),xj=e=>(0,H.jsx)(ip.svg,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:(0,H.jsx)(`path`,{d:`m6 9 6 6 6-6`})}),Sj=e=>(0,H.jsx)(ip.svg,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:(0,H.jsx)(`path`,{d:`m9 18 6-6-6-6`})}),Cj=e=>(0,H.jsxs)(ip.svg,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:[(0,H.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1`}),(0,H.jsx)(`circle`,{cx:`19`,cy:`12`,r:`1`}),(0,H.jsx)(`circle`,{cx:`5`,cy:`12`,r:`1`})]}),wj=e=>(0,H.jsxs)(ip.svg,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:[(0,H.jsx)(`path`,{d:`m5 12 7-7 7 7`}),(0,H.jsx)(`path`,{d:`M12 19V5`})]}),Tj=e=>(0,H.jsxs)(ip.svg,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:[(0,H.jsx)(`path`,{d:`M12 5v14`}),(0,H.jsx)(`path`,{d:`m19 12-7 7-7-7`})]}),Ej=e=>(0,H.jsx)(ip.svg,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 24 24`,...e,children:(0,H.jsx)(`path`,{d:`M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11.0026 16L6.75999 11.7574L8.17421 10.3431L11.0026 13.1716L16.6595 7.51472L18.0737 8.92893L11.0026 16Z`})}),Dj=e=>(0,H.jsx)(ip.svg,{stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`,viewBox:`0 0 24 24`,...e,children:(0,H.jsx)(`path`,{d:`M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z`})}),Oj=e=>(0,H.jsx)(ip.svg,{viewBox:`0 0 24 24`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`0`,...e,children:(0,H.jsx)(`path`,{d:`M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z`})}),kj=e=>(0,H.jsx)(ip.svg,{viewBox:`0 0 24 24`,fill:`currentColor`,...e,children:(0,H.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.29289 17.2929C4.90237 17.6834 4.90237 18.3166 5.29289 18.7071C5.68342 19.0976 6.31658 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711Z`})}),Aj=e=>(0,H.jsxs)(ip.svg,{stroke:`currentColor`,fill:`none`,strokeWidth:`2`,viewBox:`0 0 24 24`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:[(0,H.jsx)(`path`,{d:`M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z`}),(0,H.jsx)(`path`,{d:`M14 2v4a2 2 0 0 0 2 2h4`})]}),jj=e=>(0,H.jsxs)(ip.svg,{stroke:`currentColor`,fill:`none`,strokeWidth:`2`,viewBox:`0 0 24 24`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:[(0,H.jsx)(`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}),(0,H.jsx)(`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`})]}),Mj=e=>(0,H.jsxs)(ip.svg,{stroke:`currentColor`,fill:`none`,strokeWidth:`2`,viewBox:`0 0 24 24`,strokeLinecap:`round`,strokeLinejoin:`round`,...e,children:[(0,H.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1`}),(0,H.jsx)(`circle`,{cx:`19`,cy:`12`,r:`1`}),(0,H.jsx)(`circle`,{cx:`5`,cy:`12`,r:`1`})]}),Nj=e=>e?``:void 0,{withContext:Pj,PropsProvider:Fj}=gp({key:`spinner`}),Ij=Pj(`span`),Lj=V.forwardRef(function(e,t){let{spinner:n=(0,H.jsx)(Ij,{size:`inherit`,borderWidth:`0.125em`,color:`inherit`}),spinnerPlacement:r=`start`,children:i,text:a,visible:o=!0,...s}=e;return o?a?(0,H.jsxs)(W_,{ref:t,display:`contents`,...s,children:[r===`
14start`&&n,a,r===`end`&&n]}):n?(0,H.jsxs)(W_,{ref:t,display:`contents`,...s,children:[(0,H.jsx)(vj,{display:`inline-flex`,children:n}),(0,H.jsx)(W_,{visibility:`hidden`,display:`contents`,children:i})]}):(0,H.jsx)(W_,{ref:t,display:`contents`,...s,children:i}):i});Lj.displayName=`Loader`;var{useRecipeResult:Rj,PropsProvider:zj,usePropsContext:Bj}=gp({key:`button`}),Vj=(0,V.forwardRef)(function(e,t){let n=Bj(),r=(0,V.useMemo)(()=>Tf(n,e),[n,e]),i=Rj(r),{loading:a,loadingText:o,children:s,spinner:c,spinnerPlacement:l,...u}=i.props;return(0,H.jsx)(ip.button,{type:`button`,ref:t,...u,"data-loading":Nj(a),disabled:a||u.disabled,className:Pf(i.className,r.className),css:[i.styles,r.css],children:!r.asChild&&a?(0,H.jsx)(Lj,{spinner:c,text:o,spinnerPlacement:l,children:s}):s})});Vj.displayName=`Button`;var{withProvider:Hj,withContext:Uj,useStyles:Wj,PropsProvider:Gj}=gj({key:`card`}),Kj=Hj(`div`,`root`),qj=Uj(`div`,`body`),Jj=Uj(`div`,`header`),Yj=Uj(`div`,`footer`),Xj=Uj(`h3`,`title`),Zj=Uj(`p`,`description`);function Qj(e){let{when:t,fallback:n,children:r}=e,i;return i=t?typeof r==`function`?r(t):r:n,(0,V.isValidElement)(i)?i:(0,H.jsx)(H.Fragment,{children:i})}var $j=e=>{let{children:t,fallback:n}=e,[r,i]=(0,V.useState)(!1);return(0,V.useEffect)(()=>{i(!0)},[]),(0,H.jsx)(Qj,{when:r,fallback:n,children:t})},eM=(0,V.forwardRef)(function(e,t){return(0,H.jsx)(Vj,{px:`0`,py:`0`,_icon:{fontSize:`1.2em`},ref:t,...e})});eM.displayName=`IconButton`;function tM(e){let{gap:t,direction:n}=e,r={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:`1px`},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:`1px`},row:{marginX:t,marginY:0,borderInlineStartWidth:`1px`,borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:`1px`,borderTopWidth:0}};return{"&":IT(n,e=>r[e])}}function nM(e){return V.Children.toArray(e).filter(e=>(0,V.isValidElement)(e))}var rM=(0,V.forwardRef)(function(e,t){let{direction:n=`column`,align:r,justify:i,gap:a=`0.5rem`,wrap:o,children:s,separator:c,className:l,...u}=e,d=(0,V.useMemo)(()=>tM({gap:a,direction:n}),[a,n]),f=(0,V.useMemo)(()=>(0,V.isValidElement)(c)?nM(s).map((e,t,n)=>{let r=e.key===void 0?t:e.key,i=c,a=(0,V.cloneElement)(i,{css:[d,i.props.css]});return(0,H.jsxs)(V.Fragment,{children:[e,t===n.length-1?null:a]},r)}):s,[s,c,d]);return(0,H.jsx)(ip.div,{ref:t,display:`flex`,alignItems:r,justifyContent:i,flexDirection:n,flexWrap:o,gap:c?void 0:a,className:Pf(`chakra-stack`,l),...u,children:f})});rM.displayName=`Stack`;var{withProvider:iM,withContext:aM,useStyles:oM,PropsProvider:sM}=gj({key:`emptyState`}),cM=iM(`div`,`root`),lM=aM(`div`,`content`),uM=aM(`div`,`indicator`),dM=aM(`h3`,`title`),fM=aM(`p`,`description`),{withContext:pM,PropsProvider:mM}=gp({key:`skeleton`}),hM=pM(`div`),gM=V.forwardRef(function(e,t){let{size:n,...r}=e;return(0,H.jsx)(cp,{size:n,asChild:!0,ref:t,children:(0,H.jsx)(hM,{...r})})});gM.displayName=`SkeletonCircle`;var _M=V.forwardRef(function(e,t){let{loading:n=!0,noOfLines:r=3,gap:i,rootProps:a,...o}=e;return(0,H.jsx)(rM,{gap:i,width:`full`,ref:t,...a,children:Array.from({length:n?r:1}).map((e,t)=>(0,H.jsx)(hM,{loading:n,height:n?`4`:void 0,maxW:n?t===r-1&&r>1?`80%`:`100%`:void 0,...o},t))})});_M.displayName=`SkeletonText`;var{withProvider:vM,withContext:yM,useStyles:bM}=gj({key:`toast`}),xM=ip(fT,{},{forwardAsChild:!0}),SM=vM(mT.Root,`root`,{forwardAsChild:!0}),CM=yM(mT.CloseTrigger,`closeTrigger`,{forwardAsChild:!0,defaultProps:{children:(0,H.jsx)(kj,{})}}),wM=yM(mT.Title,`title`,{forwardAsChild:!0}),TM=yM(mT.Description,`description`,{forwardAsChild:!0}),EM=yM(mT.ActionTrigger,`actionTrigger`,{forwardAsChild:!0}),DM={warning:Dj,success:Ej,error:Dj},OM=(0,V.forwardRef)(function(e,t){let{unstyled:n,...r}=e,i=aT(),a=bM(),o=DM[i.type];return o?(0,H.jsx)(o,{ref:t,...r,css:[n?void 0:a.indicator,e.css]}):null}),{withRootProvider:kM,withContext:AM,useStyles:jM,PropsProvider:MM}=gj({key:`tooltip`});kM(DT.RootProvider);var NM=kM(DT.Root,{defaultProps:{lazyMount:!0,unmountOnExit:!0}}),PM=AM(DT.Trigger,`trigger`,{forwardAsChild:!0}),FM=AM(DT.Positioner,`positioner`,{forwardAsChild:!0}),IM=AM(DT.Content,`content`,{forwardAsChild:!0}),LM=AM(DT.ArrowTip,`arrowTip`,{forwardAsChild:!0}),RM=AM(DT.Arrow,`arrow`,{forwardAsChild:!0,defaultProps:{children:(0,H.jsx)(LM,{})}});DT.Context;var zM=(0,V.forwardRef)(function(e,t){return(0,H.jsx)(rM,{align:`center`,...e,direction:`column`,ref:t})});zM.displayName=`VStack`;var BM=(e,t,n,r,i,a,o,s)=>{let c=document.documentElement,l=[`light`,`dark`];
14function 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{}},VM=[`light`,`dark`],HM=`(prefers-color-scheme: dark)`,UM=typeof window>`u`,WM=V.createContext(void 0),GM={setTheme:e=>{},themes:[]},KM=()=>V.useContext(WM)??GM,qM=e=>V.useContext(WM)?V.createElement(V.Fragment,null,e.children):V.createElement(YM,{...e}),JM=[`light`,`dark`],YM=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i=`theme`,themes:a=JM,defaultTheme:o=n?`system`:`light`,attribute:s=`data-theme`,value:c,children:l,nonce:u,scriptProps:d})=>{let[f,p]=V.useState(()=>ZM(i,o)),[m,h]=V.useState(()=>f===`system`?$M():f),g=c?Object.values(c):a,_=V.useCallback(e=>{let i=e;if(!i)return;e===`system`&&n&&(i=$M());let a=c?c[i]:i,l=t?QM(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=VM.includes(o)?o:null,t=VM.includes(i)?i:e;d.style.colorScheme=t}l?.()},[u]),v=V.useCallback(e=>{let t=typeof e==`function`?e(f):e;p(t);try{localStorage.setItem(i,t)}catch{}},[f]),y=V.useCallback(t=>{h($M(t)),f===`system`&&n&&!e&&_(`system`)},[f,e]);V.useEffect(()=>{let e=window.matchMedia(HM);return e.addListener(y),y(e),()=>e.removeListener(y)},[y]),V.useEffect(()=>{let e=e=>{e.key===i&&(e.newValue?p(e.newValue):v(o))};return window.addEventListener(`storage`,e),()=>window.removeEventListener(`storage`,e)},[v]),V.useEffect(()=>{_(e??f)},[e,f]);let b=V.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 V.createElement(WM.Provider,{value:b},V.createElement(XM,{forcedTheme:e,storageKey:i,attribute:s,enableSystem:n,enableColorScheme:r,defaultTheme:o,value:c,themes:a,nonce:u,scriptProps:d}),l)},XM=V.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 V.createElement(`script`,{...l,suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(${BM.toString()})(${u})`}})}),ZM=(e,t)=>{if(UM)return;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},QM=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)}},$M=e=>(e||=window.matchMedia(HM),e.matches?`dark`:`light`),eN={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},tN=V.createContext&&V.createContext(eN),nN=[`attr`,`size`,`title`];function rN(e,t){if(e==null)return{};var n,r,i=iN(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 iN(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 aN(){return aN=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},aN.apply(null,arguments)}function oN(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 sN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
14t%2?oN(Object(n),!0).forEach(function(t){cN(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cN(e,t,n){return(t=lN(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lN(e){var t=uN(e,`string`);return typeof t==`symbol`?t:t+``}function uN(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 dN(e){return e&&e.map((e,t)=>V.createElement(e.tag,sN({key:t},e.attr),dN(e.child)))}function J(e){return t=>V.createElement(fN,aN({attr:sN({},e.attr)},t),dN(e.child))}function fN(e){var t=t=>{var{attr:n,size:r,title:i}=e,a=rN(e,nN),o=r||t.size||`1em`,s;return t.className&&(s=t.className),e.className&&(s=(s?s+` `:``)+e.className),V.createElement(`svg`,aN({stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`},t.attr,n,a,{className:s,style:sN(sN({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:`http://www.w3.org/2000/svg`}),i&&V.createElement(`title`,null,i),e.children)};return tN===void 0?t(eN):V.createElement(tN.Consumer,null,e=>t(e))}function pN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]}]})(e)}function mN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M18 6 6 18`},child:[]},{tag:`path`,attr:{d:`m6 6 12 12`},child:[]}]})(e)}function hN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`},child:[]},{tag:`circle`,attr:{cx:`9`,cy:`7`,r:`4`},child:[]},{tag:`path`,attr:{d:`M22 21v-2a4 4 0 0 0-3-3.87`},child:[]},{tag:`path`,attr:{d:`M16 3.13a4 4 0 0 1 0 7.75`},child:[]}]})(e)}function gN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`},child:[]},{tag:`circle`,attr:{cx:`12`,cy:`7`,r:`4`},child:[]}]})(e)}function _N(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`},child:[]},{tag:`circle`,attr:{cx:`9`,cy:`7`,r:`4`},child:[]},{tag:`line`,attr:{x1:`19`,x2:`19`,y1:`8`,y2:`14`},child:[]},{tag:`line`,attr:{x1:`22`,x2:`16`,y1:`11`,y2:`11`},child:[]}]})(e)}function vN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`},child:[]},{tag:`polyline`,attr:{points:`17 8 12 3 7 8`},child:[]},{tag:`line`,attr:{x1:`12`,x2:`12`,y1:`3`,y2:`15`},child:[]}]})(e)}function yN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M9 14 4 9l5-5`},child:[]},{tag:`path`,attr:{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`},child:[]}]})(e)}function bN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`4 7 4 4 20 4 20 7`},child:[]},{tag:`line`,attr:{x1:`9`,x2:`15`,y1:`20`,y2:`20`},child:[]},{tag:`line`,attr:{x1:`12`,x2:`12`,y1:`4`,y2:`20`},child:[]}]})(e)}function xN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]},{tag:`path`,attr:{d:`M12 9v4`},child:[]},{tag:`path`,attr:{d:`M12 17h.01`},child:[]}]})(e)}function SN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`22 7 13.5 15.5 8.5 10.5 2 17`},child:[]},{tag:`polyline`,attr:{points:`16 7 22 7 22 13`},child:[]}]})(e)}function CN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 6h18`},child:[]},{tag:`path`,attr:{d:`M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6`},child:[]}
14,{tag:`path`,attr:{d:`M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2`},child:[]}]})(e)}function wN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 6h18`},child:[]},{tag:`path`,attr:{d:`M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6`},child:[]},{tag:`path`,attr:{d:`M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2`},child:[]},{tag:`line`,attr:{x1:`10`,x2:`10`,y1:`11`,y2:`17`},child:[]},{tag:`line`,attr:{x1:`14`,x2:`14`,y1:`11`,y2:`17`},child:[]}]})(e)}function TN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`},child:[]},{tag:`path`,attr:{d:`M13 5v2`},child:[]},{tag:`path`,attr:{d:`M13 17v2`},child:[]},{tag:`path`,attr:{d:`M13 11v2`},child:[]}]})(e)}function EN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1`},child:[]},{tag:`path`,attr:{d:`M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5`},child:[]},{tag:`path`,attr:{d:`M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1`},child:[]},{tag:`path`,attr:{d:`M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7`},child:[]},{tag:`path`,attr:{d:`M9 7v10`},child:[]}]})(e)}function DN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 3v18`},child:[]},{tag:`rect`,attr:{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`},child:[]},{tag:`path`,attr:{d:`M3 9h18`},child:[]},{tag:`path`,attr:{d:`M3 15h18`},child:[]}]})(e)}function ON(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`4`},child:[]},{tag:`path`,attr:{d:`M12 2v2`},child:[]},{tag:`path`,attr:{d:`M12 20v2`},child:[]},{tag:`path`,attr:{d:`m4.93 4.93 1.41 1.41`},child:[]},{tag:`path`,attr:{d:`m17.66 17.66 1.41 1.41`},child:[]},{tag:`path`,attr:{d:`M2 12h2`},child:[]},{tag:`path`,attr:{d:`M20 12h2`},child:[]},{tag:`path`,attr:{d:`m6.34 17.66-1.41 1.41`},child:[]},{tag:`path`,attr:{d:`m19.07 4.93-1.41 1.41`},child:[]}]})(e)}function kN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M16 4H9a3 3 0 0 0-2.83 4`},child:[]},{tag:`path`,attr:{d:`M14 12a4 4 0 0 1 0 8H6`},child:[]},{tag:`line`,attr:{x1:`4`,x2:`20`,y1:`12`,y2:`12`},child:[]}]})(e)}function AN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7`},child:[]},{tag:`path`,attr:{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`},child:[]},{tag:`path`,attr:{d:`M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4`},child:[]},{tag:`path`,attr:{d:`M2 7h20`},child:[]},{tag:`path`,attr:{d:`M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7`},child:[]}]})(e)}function jN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`21`,x2:`14`,y1:`4`,y2:`4`},child:[]},{tag:`line`,attr:{x1:`10`,x2:`3`,y1:`4`,y2:`4`},child:[]},{tag:`line`,attr:{x1:`21`,x2:`12`,y1:`12`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`8`,x2:`3`,y1:`12`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`21`,x2:`16`,y1:`20`,y2:`20`},child:[]},{tag:`line`,attr:{x1:`12`,x2:`3`,y1:`20`,y2:`20`},child:[]},{tag:`line`,attr:{x1:`14`,x2:`14`,y1:`2`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`8`,x2:`8`,y1:`10`,y2:`14`},child:[]},{tag:`line`,attr:{x1:`16`,x2:`16`,y1:`18`,y2:`22`},child:[]}]})(e)}function MN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]}]})(e)}function NN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]},{tag:`path`,attr:{d:`m14.5 9.5-5 5`},child:[]},{tag:`path`,attr:{d:`m9.5 9.5 5 5`},child:[]}]})(e)}function PN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]},{tag:`path`,attr:{d:`m21.854 2.147-10.94 10.939`},child:[]}]})(e)}function FN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`11`,cy:`11`,r:`8`},child:[]},{tag:`path`,attr:{d:`m21 21-4.3-4.3`},child:[]}]})(e)}function IN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m13.5 8.5-5 5`},child:[]},{tag:`path`,attr:{d:`m8.5 8.5 5 5`},child:[]},{tag:`circle`,attr:{cx:`11`,cy:`11`,r:`8`},child:[]},{tag:`path`,attr:{d:`m21 21-4.3-4.3`},child:[]}]})(e)}function LN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`},child:[]},{tag:`path`,attr:{d:`M3 3v5h5`},child:[]}]})(e)}function RN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M14 14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2`},child:[]},{tag:`path`,attr:{d:`M14 4a2 2 0 0 1 2-2`},child:[]},{tag:`path`,attr:{d:`M16 10a2 2 0 0 1-2-2`},child:[]},{tag:`path`,attr:{d:`M20 14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2`},child:[]},{tag:`path`,attr:{d:`M20 2a2 2 0 0 1 2 2`},child:[]},{tag:`path`,attr:{d:`M22 8a2 2 0 0 1-2 2`},child:[]},{tag:`path`,attr:{d:`m3 7 3 3 3-3`},child:[]},{tag:`path`,attr:{d:`M6 10V5a 3 3 0 0 1 3-3h1`},child:[]},{tag:`rect`,attr:{x:`2`,y:`14`,width:`8`,height:`8`,rx:`2`},child:[]}]})(e)}function zN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`},child:[]},{tag:`path`,attr:{d:`M21 3v5h-5`},child:[]},{tag:`path`,attr:{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`},child:[]},{tag:`path`,attr:{d:`M8 16H3v5`},child:[]}]})(e)}function BN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m15 14 5-5-5-5`},child:[]},{tag:`path`,attr:{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`},child:[]}]})(e)}function VN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z`},child:[]},{tag:`path`,attr:{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`},child:[]},{tag:`path`,attr:{d:`M12 17.5v-11`},child:[]}]})(e)}function HN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`},child:[]},{tag:`path`,attr:{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`},child:[]}]})(e)}function UN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M5 12h14`},child:[]},{tag:`path`,attr:{d:`M12 5v14`},child:[]}]})(e)}function WN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`19`,x2:`5`,y1:`5`,y2:`19`},child:[]},{tag:`circle`,attr:{cx:`6.5`,cy:`6.5`,r:`2.5`},child:[]},{tag:`circle`,attr:{cx:`17.5`,cy:`17.5`,r:`2.5`},child:[]}]})(e)}function GN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]},{tag:`path`,attr:{d:`m15 5 4 4`},child:[]}]})(e)}function KN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48`},child:[]}]})(e)}function qN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`},child:[]},{tag:`circle`,attr:{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`},child:[]},{tag:`circle`,attr:{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`},child:[]},{tag:`circle`,attr:{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`},child:[]},{tag:`path`,attr:{d:`M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z`},child:[]}]})(e)}function JN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`},child:[]},{tag:`path`,attr:{d:`M12 22V12`},child:[]},{tag:`path`,attr:{d:`m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7`},child:[]},{tag:`path`,attr:{d:`m7.5 4.27 9 5.15`},child:[]}]})(e)}function YN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12.586 12.586 19 19`},child:[]},{tag:`path`,attr:{d:`M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.5
1479a.5.5 0 0 0 .063-.947z`},child:[]}]})(e)}function XN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M14 4.1 12 6`},child:[]},{tag:`path`,attr:{d:`m5.1 8-2.9-.8`},child:[]},{tag:`path`,attr:{d:`m6 12-1.9 2`},child:[]},{tag:`path`,attr:{d:`M7.2 2.2 8 5.1`},child:[]},{tag:`path`,attr:{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`},child:[]}]})(e)}function ZN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z`},child:[]}]})(e)}function QN(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z`},child:[]},{tag:`path`,attr:{d:`M12 7v6`},child:[]},{tag:`path`,attr:{d:`M9 10h6`},child:[]}]})(e)}function $N(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M7.9 20A9 9 0 1 0 4 16.1L2 22Z`},child:[]}]})(e)}function eP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`4`,x2:`20`,y1:`12`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`4`,x2:`20`,y1:`6`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`4`,x2:`20`,y1:`18`,y2:`18`},child:[]}]})(e)}function tP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m3 11 18-5v12L3 14v-3z`},child:[]},{tag:`path`,attr:{d:`M11.6 16.8a3 3 0 1 1-5.8-1.6`},child:[]}]})(e)}function nP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`},child:[]},{tag:`path`,attr:{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`},child:[]}]})(e)}function rP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9`},child:[]},{tag:`path`,attr:{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`},child:[]},{tag:`path`,attr:{d:`m17 17 4 4`},child:[]},{tag:`path`,attr:{d:`m21 17-4 4`},child:[]}]})(e)}function iP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`},child:[]},{tag:`polyline`,attr:{points:`16 17 21 12 16 7`},child:[]},{tag:`line`,attr:{x1:`21`,x2:`9`,y1:`12`,y2:`12`},child:[]}]})(e)}function aP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`},child:[]},{tag:`polyline`,attr:{points:`10 17 15 12 10 7`},child:[]},{tag:`line`,attr:{x1:`15`,x2:`3`,y1:`12`,y2:`12`},child:[]}]})(e)}function oP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`},child:[]},{tag:`path`,attr:{d:`M7 11V7a5 5 0 0 1 10 0v4`},child:[]}]})(e)}function sP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 2v4`},child:[]},{tag:`path`,attr:{d:`m16.2 7.8 2.9-2.9`},child:[]},{tag:`path`,attr:{d:`M18 12h4`},child:[]},{tag:`path`,attr:{d:`m16.2 16.2 2.9 2.9`},child:[]},{tag:`path`,attr:{d:`M12 18v4`},child:[]},{tag:`path`,attr:{d:`m4.9 19.1 2.9-2.9`},child:[]},{tag:`path`,attr:{d:`M2 12h4`},child:[]},{tag:`path`,attr:{d:`m4.9 4.9 2.9 2.9`},child:[]}]})(e)}function cP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 12h.01`},child:[]},{tag:`path`,attr:{d:`M3 18h.01`},child:[]},{tag:`path`,attr:{d:`M3 6h.01`},child:[]},{tag:`path`,attr:{d:`M8 12h13`},child:[]},{tag:`path`,attr:{d:`M8 18h13`},child:[]},{tag:`path`,attr:{d:`M8 6h13`},child:[]}]})(e)}function lP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}
14,child:[{tag:`rect`,attr:{x:`3`,y:`5`,width:`6`,height:`6`,rx:`1`},child:[]},{tag:`path`,attr:{d:`m3 17 2 2 4-4`},child:[]},{tag:`path`,attr:{d:`M13 6h8`},child:[]},{tag:`path`,attr:{d:`M13 12h8`},child:[]},{tag:`path`,attr:{d:`M13 18h8`},child:[]}]})(e)}function uP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M10 12h11`},child:[]},{tag:`path`,attr:{d:`M10 18h11`},child:[]},{tag:`path`,attr:{d:`M10 6h11`},child:[]},{tag:`path`,attr:{d:`M4 10h2`},child:[]},{tag:`path`,attr:{d:`M4 6h1v4`},child:[]},{tag:`path`,attr:{d:`M6 18H4c0-1 2-2 2-3s-1-1.5-2-1`},child:[]}]})(e)}function dP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`},child:[]},{tag:`path`,attr:{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`},child:[]}]})(e)}function fP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`path`,attr:{d:`m4.93 4.93 4.24 4.24`},child:[]},{tag:`path`,attr:{d:`m14.83 9.17 4.24-4.24`},child:[]},{tag:`path`,attr:{d:`m14.83 14.83 4.24 4.24`},child:[]},{tag:`path`,attr:{d:`m9.17 14.83-4.24 4.24`},child:[]},{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`4`},child:[]}]})(e)}function pP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`},child:[]},{tag:`rect`,attr:{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`},child:[]},{tag:`rect`,attr:{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`},child:[]},{tag:`rect`,attr:{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`},child:[]}]})(e)}function mP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`},child:[]},{tag:`rect`,attr:{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`},child:[]},{tag:`rect`,attr:{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`},child:[]},{tag:`rect`,attr:{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`},child:[]}]})(e)}function hP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]},{tag:`path`,attr:{d:`m21 2-9.6 9.6`},child:[]},{tag:`circle`,attr:{cx:`7.5`,cy:`15.5`,r:`5.5`},child:[]}]})(e)}function gP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`19`,x2:`10`,y1:`4`,y2:`4`},child:[]},{tag:`line`,attr:{x1:`14`,x2:`5`,y1:`20`,y2:`20`},child:[]},{tag:`line`,attr:{x1:`15`,x2:`9`,y1:`4`,y2:`20`},child:[]}]})(e)}function _P(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`path`,attr:{d:`M12 16v-4`},child:[]},{tag:`path`,attr:{d:`M12 8h.01`},child:[]}]})(e)}function vP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`22 12 16 12 14 15 10 15 8 12 2 12`},child:[]},{tag:`path`,attr:{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`},child:[]}]})(e)}function yP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`},child:[]},{tag:`circle`,attr:{cx:`9`,cy:`9`,r:`2`},child:[]},{tag:`path`,attr:{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`},child:[]}]})(e)}function bP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`},child:[]},{tag:`path`,attr:{d:`M3 3v5h5`},child:[]},{tag:`path`,attr:{d:`M12 7v5l4 2`},child:[]}]})(e)}function xP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m11 17 2 2a1 1 0 1 0 3-3`},child:[]},{tag:`path`,attr:{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`},child:[]},{tag:`path`,attr:{d:`m21 3 1 11h-2`},child:[]},{tag:`path`,attr:{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`},child:[]},{tag:`path`,attr:{d:`M3 4h8`},child:[]}]})(e)}function SP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`path`,attr:{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`},child:[]},{tag:`path`,attr:{d:`M2 12h20`},child:[]}]})(e)}function CP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`18`,cy:`18`,r:`3`},child:[]},{tag:`circle`,attr:{cx:`6`,cy:`6`,r:`3`},child:[]},{tag:`path`,attr:{d:`M6 21V9a9 9 0 0 0 9 9`},child:[]}]})(e)}function wP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]}]})(e)}function TP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polygon`,attr:{points:`22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3`},child:[]}]})(e)}function EP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055`},child:[]},{tag:`path`,attr:{d:`m22 3-5 5`},child:[]},{tag:`path`,attr:{d:`m17 3 5 5`},child:[]}]})(e)}function DP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z`},child:[]},{tag:`path`,attr:{d:`M14 2v4a2 2 0 0 0 2 2h4`},child:[]}]})(e)}function OP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z`},child:[]},{tag:`path`,attr:{d:`M14 2v4a2 2 0 0 0 2 2h4`},child:[]},{tag:`path`,attr:{d:`M10 9H8`},child:[]},{tag:`path`,attr:{d:`M16 13H8`},child:[]},{tag:`path`,attr:{d:`M16 17H8`},child:[]}]})(e)}function kP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 17h.01`},child:[]},{tag:`path`,attr:{d:`M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z`},child:[]},{tag:`path`,attr:{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`},child:[]}]})(e)}function AP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{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`},child:[]},{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`3`},child:[]}]})(e)}function jP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M15 3h6v6`},child:[]},{tag:`path`,attr:{d:`M10 14 21 3`},child:[]},{tag:`path`,attr:{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`},child:[]}]})(e)}function MP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21`},child:[]},{tag:`path`,attr:{d:`M22 21H7`},child:[]},{tag:`path`,attr:{d:`m5 11 9 9`},child:[]}]})(e)}function NP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`1`},child:[]},{tag:`circle`,attr:{cx:`19`,cy:`12`,r:`1`},child:[]},{tag:`circle`,attr:{cx:`5`,cy:`12`,r:`1`},child:[]}]})(e)}function PP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`},child:[]},{tag:`polyline`,attr:{points:`7 10 12 15 17 10`},child:[]},{tag:`line`,attr:{x1:`12`,x2:`12`,y1:`15`,y2:`3`},child:[]}]})(e)}function FP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`12`,x2:`12`,y1:`2`,y2:`22`},child:[]},{tag:`path`,attr:{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`},child:[]}]})(e)}function IP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z`},child:[]}]})(e)}function LP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`ellipse`,attr:{cx:`12`,cy:`5`,rx:`9`,ry:`3`},child:[]},{tag:`path`,attr:{d:`M3 5V19A9 3 0 0 0 21 19V5`},child:[]},{tag:`path`,attr:{d:`M3 12A9 3 0 0 0 21 12`},child:[]}]})(e)}function RP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}
14,child:[{tag:`rect`,attr:{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`},child:[]},{tag:`line`,attr:{x1:`2`,x2:`22`,y1:`10`,y2:`10`},child:[]}]})(e)}function zP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`},child:[]},{tag:`path`,attr:{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`},child:[]}]})(e)}function BP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`16 18 22 12 16 6`},child:[]},{tag:`polyline`,attr:{points:`8 6 2 12 8 18`},child:[]}]})(e)}function VP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 13v8`},child:[]},{tag:`path`,attr:{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`},child:[]},{tag:`path`,attr:{d:`m8 17 4-4 4 4`},child:[]}]})(e)}function HP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`polyline`,attr:{points:`12 6 12 12 16 14`},child:[]}]})(e)}function UP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`},child:[]},{tag:`path`,attr:{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`},child:[]}]})(e)}function WP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]}]})(e)}function GP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`path`,attr:{d:`m15 9-6 6`},child:[]},{tag:`path`,attr:{d:`m9 9 6 6`},child:[]}]})(e)}function KP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`path`,attr:{d:`M8 12h8`},child:[]},{tag:`path`,attr:{d:`M12 8v8`},child:[]}]})(e)}function qP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`path`,attr:{d:`m9 12 2 2 4-4`},child:[]}]})(e)}function JP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`line`,attr:{x1:`12`,x2:`12`,y1:`8`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`},child:[]}]})(e)}function YP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m18 15-6-6-6 6`},child:[]}]})(e)}function XP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m9 18 6-6-6-6`},child:[]}]})(e)}function ZP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m15 18-6-6 6-6`},child:[]}]})(e)}function QP(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m6 9 6 6 6-6`},child:[]}]})(e)}function $P(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M20 6 9 17l-5-5`},child:[]}]})(e)}function eF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z`},child:[]},{tag:`path`,attr:{d:`M21.21 15.89A10 10 0 1 1 8 2.83`},child:[]}]})(e)}function tF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M3 3v16a2 2 0 0 0 2 2h16`},child:[]},{tag:`path`,attr:{d:`M18 17V9`},child:[]},{tag:`path`,attr:{d:`M13 17V5`},child:[]},{tag:`path`,attr:{d:`M8 17v-3`},child:[]}]})(e)}function nF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2`},child:[]},{tag:`circle`,attr:{cx:`7`,cy:`17`,r:`2`},child:[]},{tag:`path`,attr:{d:`M9 17h6`},child:[]},{tag:`circle`,attr:{cx:`17`,cy:`17`,r:`2`},child:[]}]})(e)}function rF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M8 2v4`},child:[]},{tag:`path`,attr:{d:`M16 2v4`},child:[]},{tag:`rect`,attr:{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`},child:[]},{tag:`path`,attr:{d:`M3 10h18`},child:[]}]})(e)}function iF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z`},child:[]},{tag:`path`,attr:{d:`M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2`},child:[]},{tag:`path`,attr:{d:`M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2`},child:[]},{tag:`path`,attr:{d:`M10 6h4`},child:[]},{tag:`path`,attr:{d:`M10 10h4`},child:[]},{tag:`path`,attr:{d:`M10 14h4`},child:[]},{tag:`path`,attr:{d:`M10 18h4`},child:[]}]})(e)}function aF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`},child:[]},{tag:`path`,attr:{d:`m3.3 7 8.7 5 8.7-5`},child:[]},{tag:`path`,attr:{d:`M12 22V12`},child:[]}]})(e)}function oF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 8V4H8`},child:[]},{tag:`rect`,attr:{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`},child:[]},{tag:`path`,attr:{d:`M2 14h2`},child:[]},{tag:`path`,attr:{d:`M20 14h2`},child:[]},{tag:`path`,attr:{d:`M15 13v2`},child:[]},{tag:`path`,attr:{d:`M9 13v2`},child:[]}]})(e)}function sF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 7v14`},child:[]},{tag:`path`,attr:{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`},child:[]}]})(e)}function cF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`},child:[]}]})(e)}function lF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9`},child:[]},{tag:`path`,attr:{d:`M10.3 21a1.94 1.94 0 0 0 3.4 0`},child:[]}]})(e)}function uF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9`},child:[]},{tag:`path`,attr:{d:`M10.3 21a1.94 1.94 0 0 0 3.4 0`},child:[]},{tag:`path`,attr:{d:`M4 2C2.8 3.7 2 5.7 2 8`},child:[]},{tag:`path`,attr:{d:`M22 8c0-2.3-.8-4.3-2-6`},child:[]}]})(e)}function dF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`path`,attr:{d:`m4.9 4.9 14.2 14.2`},child:[]}]})(e)}function fF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m5 12 7-7 7 7`},child:[]},{tag:`path`,attr:{d:`M12 19V5`},child:[]}]})(e)}function pF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m21 16-4 4-4-4`},child:[]},{tag:`path`,attr:{d:`M17 20V4`},child:[]},{tag:`path`,attr:{d:`m3 8 4-4 4 4`},child:[]},{tag:`path`,attr:{d:`M7 4v16`},child:[]}]})(e)}function mF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`m12 19-7-7 7-7`},child:[]},{tag:`path`,attr:{d:`M19 12H5`},child:[]}]})(e)}function hF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 5v14`},child:[]},{tag:`path`,attr:{d:`m19 12-7 7-7-7`},child:[]}]})(e)}function gF(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`13`,r:`8`},child:[]},{tag:`path`,attr:{d:`M5 3 2 6`},child:[]},{tag:`path`,attr:{d:`m22 6-3-3`},child:[]},{tag:`path`,attr:{d:`M6.38 18.7 4 21`},child:[]},{tag:`path`,attr:{d:`M17.64 18.67 20 21`},child:[]},{tag:`path`,attr:{d:`M12 10v6`},child:[]},{tag:`path`,attr:{d:`M9 13h6`},child:[]}]})(e)}function _F(e){return J({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
14-2.35 8.36A2 2 0 0 1 4.49 12H2`},child:[]}]})(e)}function vF(e){return(0,H.jsx)(qM,{attribute:`class`,disableTransitionOnChange:!0,...e})}function yF(){let{resolvedTheme:e,setTheme:t,forcedTheme:n}=KM();return{colorMode:n||e,setColorMode:t,toggleColorMode:()=>{t(e===`dark`?`light`:`dark`)}}}function bF(e,t){let{colorMode:n}=yF();return n===`dark`?t:e}function xF(){let{colorMode:e}=yF();return e===`dark`?(0,H.jsx)(ZN,{}):(0,H.jsx)(ON,{})}var SF=V.forwardRef(function(e,t){let{toggleColorMode:n}=yF();return(0,H.jsx)($j,{fallback:(0,H.jsx)(hM,{boxSize:`9`}),children:(0,H.jsx)(eM,{onClick:n,variant:`ghost`,"aria-label":`Toggle color mode`,size:`sm`,ref:t,...e,css:{_icon:{width:`5`,height:`5`}},children:(0,H.jsx)(xF,{})})})}),CF=V.forwardRef(function(e,t){return(0,H.jsx)(W_,{color:`fg`,display:`contents`,className:`chakra-theme light`,colorPalette:`gray`,colorScheme:`light`,ref:t,...e})}),wF=V.forwardRef(function(e,t){return(0,H.jsx)(W_,{color:`fg`,display:`contents`,className:`chakra-theme dark`,colorPalette:`gray`,colorScheme:`dark`,ref:t,...e})}),TF=V.forwardRef(function(e,t){let{title:n,description:r,icon:i,iconColor:a=`fg.muted`,children:o,...s}=e;return(0,H.jsx)(cM,{ref:t,...s,children:(0,H.jsxs)(lM,{children:[i&&(0,H.jsx)(uM,{color:a,children:i}),r?(0,H.jsxs)(zM,{textAlign:`center`,children:[(0,H.jsx)(dM,{children:n}),(0,H.jsx)(fM,{children:r})]}):(0,H.jsx)(dM,{children:n}),o]})})}),EF=V.forwardRef(function(e,t){let{showArrow:n,children:r,disabled:i,portalled:a=!0,content:o,contentProps:s,portalRef:c,...l}=e;return i?r:(0,H.jsxs)(NM,{...l,children:[(0,H.jsx)(PM,{asChild:!0,children:r}),(0,H.jsx)(eT,{disabled:!a,container:c,children:(0,H.jsx)(FM,{children:(0,H.jsxs)(IM,{ref:t,...s,children:[n&&(0,H.jsx)(RM,{children:(0,H.jsx)(LM,{})}),o]})})})]})}),DF=rT({placement:`bottom-end`,pauseOnPageIdle:!0}),OF=()=>(0,H.jsx)(eT,{children:(0,H.jsx)(xM,{toaster:DF,insetInline:{mdDown:`4`},children:e=>(0,H.jsxs)(SM,{width:{md:`sm`},children:[e.type===`loading`?(0,H.jsx)(Ij,{size:`sm`,color:`blue.solid`}):(0,H.jsx)(OM,{}),(0,H.jsxs)(rM,{gap:`1`,flex:`1`,maxWidth:`100%`,children:[e.title&&(0,H.jsx)(wM,{children:e.title}),e.description&&(0,H.jsx)(TM,{children:e.description})]}),e.action&&(0,H.jsx)(EM,{children:e.action.label}),e.closable&&(0,H.jsx)(CM,{})]})})}),kF=u(o(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEac
vendor: 4,122 bytes, line 14
14h(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function x(e,t){let n=e&&e.exec(t);return n&&n.index===0}var S=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=S.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var w=/\b\B/,E=`[a-zA-Z]\\w*`,D=`[a-zA-Z_]\\w*`,O=`\\b\\d+(\\.\\d+)?`,k=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,A=`\\b(0b[01]+)`,j=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,M=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},N={begin:`\\\\[\\s\\S]`,relevance:0},P={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[N]},F={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[N]},ee={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},L=I(`//`,`$`),te=I(`/\\*`,`\\*/`),ne=I(`#`,`$`),re={scope:`number`,begin:O,relevance:0},ie={scope:`number`,begin:k,relevance:0},ae={scope:`number`,begin:A,relevance:0},R={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[N,{begin:/\[/,end:/\]/,relevance:0,contains:[N]}]},oe={scope:`title`,begin:E,relevance:0},se={scope:`title`,begin:D,relevance:0},ce={begin:`\\.\\s*`+D,relevance:0},le=Object.freeze({__proto__:null,APOS_STRING_MODE:P,BACKSLASH_ESCAPE:N,BINARY_NUMBER_MODE:ae,BINARY_NUMBER_RE:A,COMMENT:I,C_BLOCK_COMMENT_MODE:te,C_LINE_COMMENT_MODE:L,C_NUMBER_MODE:ie,C_NUMBER_RE:k,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:ne,IDENT_RE:E,MATCH_NOTHING_RE:w,METHOD_GUARD:ce,NUMBER_MODE:re,NUMBER_RE:O,PHRASAL_WORDS_MODE:ee,QUOTE_STRING_MODE:F,REGEXP_MODE:R,RE_STARTERS_RE:j,SHEBANG:M,TITLE_MODE:oe,UNDERSCORE_IDENT_RE:D,UNDERSCORE_TITLE_MODE:se});function ue(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function de(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function fe(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=ue,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function pe(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}
vendor: 5,038 bytes, line 14
14function me(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function he(e,t){e.relevance===void 0&&(e.relevance=1)}var ge=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},_e=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],ve=`keyword`;function ye(e,t,n=ve){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,ye(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,be(n[0],n[1])]})}}function be(e,t){return t?Number(t):+!xe(e)}function xe(e){return _e.includes(e.toLowerCase())}var Se={},Ce=e=>{console.error(e)},we=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Te=(e,t)=>{Se[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Se[`${e}/${t}`]=!0)},Ee=Error();function De(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Oe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Ce(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),Ee;if(typeof e.beginScope!=`object`||e.beginScope===null)throw Ce(`beginScope must be object`),Ee;De(e,e.begin,{key:`beginScope`}),e.begin=C(e.begin,{joinWith:``})}}function ke(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Ce(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),Ee;if(typeof e.endScope!=`object`||e.endScope===null)throw Ce(`endScope must be object`),Ee;De(e,e.end,{key:`endScope`}),e.end=C(e.end,{joinWith:``})}}function Ae(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function je(e){Ae(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),Oe(e),ke(e)}function Me(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(C(e,{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[de,me,je,ge].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[fe,pe,he].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=ye(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return Pe(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function Ne(e){return e?e.endsWithParent||Ne(e.starts):!1}
vendor: 4,371 bytes, lines 14-15
14function Pe(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Ne(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Fe=`11.11.1`,Ie=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},Le=i,Re=a,ze=Symbol(`nomatch`),Be=7,Ve=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=P(n[1]);return t||(we(s.replace(`{}`,n[1])),we(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||P(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(Te(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),Te(`10.7.0`,`Please use highlight(code, options) instead. 15https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};ne(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,ne(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!j.keywords){N.addText(F);return}let e=0;j.keywordPatternRe.lastIndex=0;let t=j.keywordPatternRe.exec(F),n=``;for(;t;){n+=F.substring(e,t.index);let r=O.case_insensitive?t[0].toLowerCase():t[0],i=u(j,r);if(i){let[e,a]=i;if(N.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=Be&&(ee+=a),e.startsWith(`_`))n+=t[0];else{let n=O.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=j.keywordPatternRe.lastIndex,t=j.keywordPatternRe.exec(F)}n+=F.substring(e),N.addText(n)}function f(){if(F===``)return;let e=null;if(typeof j.subLanguage==`string`){if(!t[j.subLanguage]){N.addText(F);return}e=v(j.subLanguage,F,!0,M[j.subLanguage]),M[j.subLanguage]=e._top}else e=S(F,j.subLanguage.length?j.subLanguage:null);j.relevance>0&&(ee+=e.relevance),N.__addSublanguage(e._emitter,e.language)}function p(){j.subLanguage==null?d():f(),F=``}function m(e,t){e!==``&&(N.startScope(t),N.addText(e),N.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=O.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(F=i,d(),F=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&N.openNode(O.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(F,O.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),F=``):e.beginScope._multi&&(h(e.beginScope,t),F=``)),j=Object.create(e,{parent:{value:j}}),j}function _(e,t,n){let i=x(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return j.matcher.regexIndex===0?(F+=e[0],1):(te=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?F+=t:(n.excludeBegin&&(F+=t),p(),!n.returnBegin&&!n.excludeBegin&&(F=t)),g(n,e),n.returnBegin?0:t.length}function C(e){let t=e[0],r=n.substring(e.index),i=_(j,e,r);if(!i)return ze;let a=j;j.endScope&&j.endScope._wrap?(p(),m(t,j.endScope._wrap)):j.endScope&&j.endScope._multi?(p(),h(j.endScope,e)):a.skip?F+=t:(a.returnEnd||a.excludeEnd||(F+=t),p(),a.excludeEnd&&(F=t));do j.scope&&N.closeNode(),!j.skip&&!j.subLanguage&&(ee+=j.relevance),j=j.parent;while(j!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function w(){let e=[];for(let t=j;t!==O;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>N.openNode(e))}let E={};function D(t,r){let a=r&&r[0];if(F+=t,a==null)return p(),0;if(E.type===`begin`&&r.type===`end`&&E.index===r.index&&a===``){if(F+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=E.rule,t}return 1}if(E=r,r.type===`begin`)return b(r);
vendor: 1,977 bytes, lines 15-16
15if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(j.scope||`<unnamed>`)+`"`);throw e.mode=j,e}else if(r.type===`end`){let e=C(r);if(e!==ze)return e}if(r.type===`illegal`&&a===``)return F+=` 16`,1;if(L>1e5&&L>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return F+=a,a.length}let O=P(e);if(!O)throw Ce(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let k=Me(O),A=``,j=a||k,M={},N=new l.__emitter(l);w();let F=``,ee=0,I=0,L=0,te=!1;try{if(O.__emitTokens)O.__emitTokens(n,N);else{for(j.matcher.considerAll();;){L++,te?te=!1:j.matcher.considerAll(),j.matcher.lastIndex=I;let e=j.matcher.exec(n);if(!e)break;let t=D(n.substring(I,e.index),e);I=e.index+t}D(n.substring(I))}return N.finalize(),A=N.toHTML(),{language:e,value:A,relevance:ee,illegal:!1,_emitter:N,_top:j}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:Le(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:I,context:n.slice(I-100,I+100),mode:t.mode,resultSoFar:A},_emitter:N};if(o)return{language:e,value:Le(n),illegal:!1,relevance:0,errorRaised:t,_emitter:N,_top:j};throw t}}function b(e){let t={value:Le(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function S(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(P).filter(ee).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(P(e.language).supersetOf===t.language)return 1;if(P(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function C(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function w(e){let t=null,n=d(e);if(u(n))return;if(ne(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>
vendor: 4,086 bytes, line 16
160&&(l.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),l.throwUnescapedHTML))throw new Ie(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):S(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,C(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),ne(`after:highlightElement`,{el:e,result:i,text:r})}function E(e){l=Re(l,e)}let D=()=>{A(),Te(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function O(){A(),Te(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let k=!1;function A(){function e(){A()}if(document.readyState===`loading`){k||window.addEventListener(`DOMContentLoaded`,e,!1),k=!0;return}document.querySelectorAll(l.cssSelector).forEach(w)}function j(n,r){let i=null;try{i=r(e)}catch(e){if(Ce(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)Ce(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&F(i.aliases,{languageName:n})}function M(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function N(){return Object.keys(t)}function P(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function F(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function ee(e){let t=P(e);return t&&!t.disableAutodetect}function I(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function L(e){I(e),a.push(e)}function te(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function ne(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function re(e){return Te(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),Te(`10.7.0`,`Please use highlightElement now.`),w(e)}Object.assign(e,{highlight:p,highlightAuto:S,highlightAll:A,highlightElement:w,highlightBlock:re,configure:E,initHighlighting:D,initHighlightingOnLoad:O,registerLanguage:j,unregisterLanguage:M,listLanguages:N,getLanguage:P,registerAliases:F,autoDetection:ee,inherit:Re,addPlugin:L,removePlugin:te}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Fe,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in le)typeof le[e]==`object`&&n(le[e]);return Object.assign(e,le),e},He=Ve({});He.newInstance=()=>Ve({}),t.exports=He,He.HighlightJS=He,He.default=He}))()).default;function AF(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/}
vendor: 8,090 bytes, line 16
16,_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}function jF(e){let t=[`bool`,`byte`,`char`,`decimal`,`delegate`,`double`,`dynamic`,`enum`,`float`,`int`,`long`,`nint`,`nuint`,`object`,`sbyte`,`short`,`string`,`ulong`,`uint`,`ushort`],n=[`public`,`private`,`protected`,`static`,`internal`,`protected`,`abstract`,`async`,`extern`,`override`,`unsafe`,`virtual`,`new`,`sealed`,`partial`],r={keyword:`abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while`.split(`.`).concat(`add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield`.split(`.`)),built_in:t,literal:[`default`,`false`,`null`,`true`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a={className:`number`,variants:[{begin:`\\b(0b[01']+)`},{begin:`(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)`},{begin:`(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)`}],relevance:0},o={className:`string`,begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:`string`,begin:`@"`,end:`"`,contains:[{begin:`""`}]},c=e.inherit(s,{illegal:/\n/}),l={className:`subst`,begin:/\{/,end:/\}/,keywords:r},u=e.inherit(l,{illegal:/\n/}),d={className:`string`,begin:/\$"/,end:`"`,illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:`string`,begin:/\$@"/,end:`"`,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},l]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]});l.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},g=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,_={begin:`@`+e.IDENT_RE,relevance:0};return{name:`C#`,aliases:[`cs`,`c#`],keywords:r,illegal:/::/,contains:[e.COMMENT(`///`,`$`,{returnBegin:!0,contains:[{className:`doctag`,variants:[{begin:`///`,relevance:0},{begin:`<!--|-->`},{begin:`</?`,end:`>`}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`meta`,begin:`#`,end:`$`,keywords:{keyword:`if else elif endif define undef warning error line region endregion pragma checksum`}},m,a,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`meta`,begin:`^\\s*\\[(?=[\\w])`,excludeBegin:!0,end:`\\]`,excludeEnd:!0,contains:[{className:`string`,begin:/"/,end:/"/}]},{beginKeywords:`new return throw await else`,relevance:0},{className:`function`,begin:`(`+g+`\\s+)+`+e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(` `),relevance:0},{begin:e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}var MF=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),NF=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),PF=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),FF=[...NF,...PF],IF=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),LF=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),RF=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),zF
vendor: 7,830 bytes, line 16
16=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function
vendor: 4,258 bytes, line 16
16BF(e){let t=e.regex,n=MF(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+LF.join(`|`)+`)`},{begin:`:(:)?(`+RF.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+zF.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:IF.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+FF.join(`|`)+`)\\b`}]}}var VF=`[A-Za-z$_][0-9A-Za-z$_]*`,HF=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),UF=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],WF=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),GF=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],KF=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],qF=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],JF=[].concat(KF,WF,GF);function YF(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=VF,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:VF,keyword:HF,literal:UF,built_in:JF,"variable.language":qF},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0}
vendor: 4,171 bytes, line 16
16,{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...WF,...GF]}},w={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},E={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},D={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function O(e){return t.concat(`(?!`,e.join(`|`),`)`)}let k={match:t.concat(/\b/,O([...KF,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},A={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},j={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},M=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,N={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(M)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,C,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},N,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:M,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},E,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},A,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},k,D,S,j,{match:/\$[(.]/}]}}function XF(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}function ZF(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`true`,`false`,`unknown`],o=[`double precision`,`large object`,`with timezone`,`without timezone`],s=`bigint.binary.blob.boolean.char.character.clob.date.dec.decfloat.decimal.float.int.integer.interval.nc
16har.nclob.national.numeric.real.row.smallint.time.timestamp.varchar.varying.varbinary`.split(`.`),c=[`add`,`asc`,`collation`,`desc`,`final`,`first`,`last`,`view`],l=`abs.acos.all.allocate.alter.and.any.are.array.array_agg.array_max_cardinality.as.asensitive.asin.asymmetric.at.atan.atomic.authorization.avg.begin.begin_frame.begin_partition.between.bigint.binary.blob.boolean.both.by.call.called.cardinality.cascaded.case.cast.ceil.ceiling.char.char_length.character.character_length.check.classifier.clob.close.coalesce.collate.collect.column.commit.condition.connect.constraint.contains.convert.copy.corr.corresponding.cos.cosh.count.covar_pop.covar_samp.create.cross.cube.cume_dist.current.current_catalog.current_date.current_default_transform_group.current_path.current_role.current_row.current_schema.current_time.current_timestamp.current_path.current_role.current_transform_group_for_type.current_user.cursor.cycle.date.day.deallocate.dec.decimal.decfloat.declare.default.define.delete.dense_rank.deref.describe.deterministic.disconnect.distinct.double.drop.dynamic.each.element.else.empty.end.end_frame.end_partition.end-exec.equals.escape.every.except.exec.execute.exists.exp.external.extract.false.fetch.filter.first_value.float.floor.for.foreign.frame_row.free.from.full.function.fusion.get.global.grant.group.grouping.groups.having.hold.hour.identity.in.indicator.initial.inner.inout.insensitive.insert.int.integer.intersect.intersection.interval.into.is.join.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.language.large.last_value.lateral.lead.leading.left.like.like_regex.listagg.ln.local.localtime.localtimestamp.log.log10.lower.match.match_number.match_recognize.matches.max.member.merge.method.min.minute.mod.modifies.module.month.multiset.national.natural.nchar.nclob.new.no.none.normalize.not.nth_value.ntile.null.nullif.numeric.octet_length.occurrences_regex.of.offset.old.omit.on.one.only.open.or.order.out.outer.over.overlaps.overlay.parameter.partition.pattern.per.percent.percent_rank.percentile_cont.percentile_disc.period.portion.position.position_regex.power.precedes.precision.prepare.primary.procedure.ptf.range.rank.reads.real.recursive.ref.references.referencing.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.release.result.return.returns.revoke.right.rollback.rollup.row.row_number.rows.running.savepoint.scope.scroll.search.second.seek.select.sensitive.session_user.set.show.similar.sin.sinh.skip.smallint.some.specific.specifictype.sql.sqlexception.sqlstate.sqlwarning.sqrt.start.static.stddev_pop.stddev_samp.submultiset.subset.substring.substring_regex.succeeds.sum.symmetric.system.system_time.system_user.table.tablesample.tan.tanh.then.time.timestamp.timezone_hour.timezone_minute.to.trailing.translate.translate_regex.translation.treat.trigger.trim.trim_array.true.truncate.uescape.union.unique.unknown.unnest.update.upper.user.using.value.values.value_of.var_pop.var_samp.varbinary.varchar.varying.versioning.when.whenever.where.width_bucket.window.with.within.without.year`.split(`.`),u=`abs.acos.array_agg.asin.atan.avg.cast.ceil.ceiling.coalesce.corr.cos.cosh.count.covar_pop.covar_samp.cume_dist.dense_rank.deref.element.exp.extract.first_value.floor.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.last_value.lead.listagg.ln.log.log10.lower.max.min.mod.nth_value.ntile.nullif.percent_rank.percentile_cont.percentile_disc.position.position_regex.power.rank.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.row_number.sin.sinh.sqrt.stddev_pop.stddev_samp.substring.substring_regex.sum.tan.tanh.translate.translate_regex.treat.trim.trim_array.unnest.upper.value_of.var_pop.var_samp.width_bucket`.split(`.`),d=[`current_catalog`,`current_date`,`current_default_transform_group`,`current_path`,`current_role`,`current_schema`,`current_transform_group_for_type`,`current_user`,`session_user`,`system_time`,`system_user`,`current_time`,`localtime`,`current_timestamp`,`localtimestamp`],f=[`create table`,`insert into`,`primary key`,`foreign key`,`not null`,`alter table`,`add constraint`,`grouping sets`,`on overflow`,`character set`,`respect nulls`,`ignore nulls`,`nulls first`,`nulls last`,`depth first`,`breadth first`],p=u,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,`\\s+`))),/\b/)}let y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}var QF=`[A-Za-z$_][0-9A-Za-z$_]*`,$F=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),eI=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],tI=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),nI=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],rI=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],iI=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],aI=[].concat(rI,tI,nI);function oI(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=QF,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>
vendor: 4,099 bytes, line 16
16{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:QF,keyword:$F,literal:eI,built_in:aI,"variable.language":iI},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...tI,...nI]}},w={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},E={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},D={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function O(e){return t.concat(`(?!`,e.join(`|`),`)`)}let k={match:t.concat(/\b/,O([...rI,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},A={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},j={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},M=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,N={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(M)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,C,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},N,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:M,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0}
vendor: 4,301 bytes, line 16
16,{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},E,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},A,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},k,D,S,j,{match:/\$[(.]/}]}}function sI(e){let t=e.regex,n=oI(e),r=QF,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:QF,keyword:$F.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:eI,built_in:aI.concat(i),"variable.language":iI},l={className:`meta`,begin:`@`+r},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.scope===`attr`),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}function cI(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:[`javascript`,`handlebars`,`xml`]}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var lI=[`javascript`,`typescript`,`json`,`bash`,`xml`,`css`,`sql`,`csharp`],uI=!1;function dI(){uI||=(kF.registerLanguage(`javascript`,YF),kF.registerLanguage(`typescript`,sI),kF.registerLanguage(`json`,XF),kF.registerLanguage(`bash`,AF),kF.registerLanguage(`xml`,cI),kF.registerLanguage(`css`,BF),kF.registerLanguage(`sql`,ZF),kF.registerLanguage(`csharp`,jF),!0)}
16function fI(e){dI(),e.querySelectorAll(`pre`).forEach(e=>{e.removeAttribute(`style`);let t=e.querySelector(`code`)??e,n=t.textContent??``;t.removeAttribute(`style`),t.className=`hljs`;let r=kF.highlightAuto(n,lI);t.innerHTML=r.value;let i=document.createElement(`div`);i.className=`code-container`;let a=e.parentNode;a&&(a.insertBefore(i,e),i.appendChild(e));let o=document.createElement(`div`);o.className=`code-lang-label`,o.textContent=`${r.language??`TEXT`} detected`,i.appendChild(o);let s=n.split(` 17`),c=s[s.length-1]===``?s.length-1:s.length,l=document.createElement(`div`);l.className=`line-numbers-rows`;for(let e=0;e<c;e++){let e=document.createElement(`span`);l.appendChild(e)}if(e.appendChild(l),e.innerText.trim()!==``){let e=document.createElement(`button`);e.className=`copy-btn`,e.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.6 2.25h-.626a2.022 2.022 0 0 0-.225-.013h-6.45A2.4 2.4 0 0 1 6.4 1h5.2A2.4 2.4 0 0 1 14 3.4v6.2a2.4 2.4 0 0 1-1.251 2.108V9.655l.001-.055V3.4a1.15 1.15 0 0 0-1.15-1.15ZM9.247 5.013H3.012a.75.75 0 0 0-.75.75v7.225c0 .414.336.75.75.75h6.235a.75.75 0 0 0 .75-.75V5.763a.75.75 0 0 0-.75-.75Zm-6.235-1.25a2 2 0 0 0-2 2v7.225a2 2 0 0 0 2 2h6.235a2 2 0 0 0 2-2V5.763a2 2 0 0 0-2-2H3.012Zm1 3.725a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Zm.5 1.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Zm-.5 2.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z" clip-rule="evenodd"></path></svg>`,e.addEventListener(`click`,()=>{navigator.clipboard.writeText(n),e.classList.add(`copied`),setTimeout(()=>e.classList.remove(`copied`),2e3)}),i.appendChild(e)}}),e.querySelectorAll(`code`).forEach(e=>{e.closest(`pre`)||e.removeAttribute(`style`)})}var pI=`https://tasks.convermax.com`;function mI(e){return`${pI}/issue/${e}`}var hI=V.forwardRef(function(e,t){let{html:n,...r}=e,[i,a,o,s,c,l,u,d,f,p]=_j(`colors`,[`fg.link`,`bg.muted`,`fg.muted`,`border.muted`,`fg`,`info.fg`,`success.fg`,`warning.fg`,`brand.fg`,`error.fg`]),m=V.useRef(null),h=V.useRef(null),g=V.useRef(null),_=V.useMemo(()=>n?n.replace(/<img\s+([^>]*?)src=["'](?!https?:\/\/)([^"']+)["']/gi,(e,t,n)=>`<img ${t}src="${`${pI}${n.startsWith(`/`)?``:`/`}${n}`}"`):``,[n]),v=V.useMemo(()=>` 18 :host { 19 display: block; 20 } 21 .content { 22 font-family: inherit; 23 font-size: inherit; 24 line-height: inherit; 25 color: inherit; 26 } 27 p { 28 margin: 0 0 0.75em 0; 29 } 30 p:last-child { 31 margin-bottom: 0; 32 } 33 img { 34 max-width: 100%; 35 height: auto; 36 } 37 a { 38 color: ${i}; 39 } 40 pre, code, .wikicode { 41 background: rgba(235, 236, 240, .5); 42 color: #000; 43 padding: 0.125em 0.25em; 44 border-radius: 4px; 45 font-size: 14px; 46 font-family: Menlo, 'Bitstream Vera Sans Mono', 'Ubuntu Mono', Consolas, 'Courier New', Courier, monospace; 47 } 48 pre, .wikicode { 49 padding: 24px 16px; 50 padding-left: 2.6em; 51 overflow-x: auto; 52 position: relative; 53 } 54 pre code { 55 padding: 0; 56 background: transparent; 57 border: 0; 58 } 59 .code-container { 60 position: relative; 61 margin: 8px 0; 62 border-radius: 6px; 63 overflow: hidden; 64 } 65 .code-container pre { 66 margin: 0; 67 border: none; 68 } 69 .code-lang-label { 70 color: #6c707e; 71 position: absolute; 72 right: 4px; 73 bottom: 4px; 74 font-size: 12px; 75 font-family: Menlo, 'Bitstream Vera Sans Mono', 'Ubuntu Mono', Consolas, 'Courier New', Courier, monospace; 76 -webkit-user-select: none; 77 user-select: none; 78 background-color: #fff; 79 border-radius: 4px; 80 padding: 0 8px; 81 white-space: nowrap; 82 max-width: 160px; 83 overflow: hidden; 84 text-overflow: ellipsis; 85 } 86 .line-numbers-rows { 87 position: absolute; 88 pointer-events: none; 89 top: 50%; 90 font-size: 100%; 91 left: -0.7em; 92 transform: translateY(-50%); 93 width: 3em; 94 letter-spacing: -1px; 95 -webkit-user-select: none; 96 user-select: none; 97 } 98 .line-numbers-rows span { 99 display: block; 100 counter-increment: linenumber; 101 } 102 .line-numbers-rows span::before { 103 content: counter(linenumber); 104 color: #6c707e; 105 display: block; 106 padding-right: 0.8em; 107 text-align: right; 108 } 109 .copy-btn { 110 position: absolute; 111 top: 6px; 112 right: 6px; 113 background: transparent; 114 border: none; 115 cursor: pointer; 116 color: ${o}; 117 padding: 4px; 118 border-radius: 4px; 119 display: flex; 120 align-items: center; 121 justify-content: center; 122 opacity: 0; 123 transition: opacity 0.15s, color 0.15s; 124 } 125 .code-container:hover .copy-btn { 126 opacity: 1; 127 } 128 .copy-btn:hover { 129 color: ${c}; 130 } 131 .copy-btn.copied { 132 color: ${u}; 133 } 134 ul, ol { 135 padding-left: 1.5em; 136 margin: 0.5em 0; 137 } 138 blockquote { 139 border-left: 3px solid ${s}; 140 padding-left: 1em; 141 margin: 0.5em 0; 142 color: ${o}; 143 } 144 /* 145 * Theme-aware syntax highlighting. We re-highlight YouTrack code blocks 146 * with class-based hljs tokens and color them via semantic tokens so they 147 * adapt automatically to light/dark mode. 148 */ 149 code.hljs { 150 display: block; 151 color: #000; 152 background: transparent; 153 } 154 .hljs-comment, .hljs-quote { 155 color: ${o}; 156 font-style: italic; 157 } 158 .hljs-keyword, .hljs-selector-tag, .hljs-literal, .hljs-built_in, 159 .hljs-name, .hljs-tag, .hljs-attr, .hljs-attribute { 160 color: ${l}; 161 } 162 .hljs-string, .hljs-regexp, .hljs-addition, .hljs-meta .hljs-string { 163 color: ${u}; 164 } 165 .hljs-number, .hljs-type, .hljs-symbol, .hljs-bullet, 166 .hljs-template-variable, .hljs-variable { 167 color: ${d}; 168 } 169 .hljs-title, .hljs-section, .hljs-selector-id, .hljs-selector-class { 170 color: ${f}; 171 } 172 .hljs-meta { 173 color: ${o}; 174 } 175 .hljs-deletion { 176 color: ${p}; 177 } 178 .hljs-link { 179 color: ${i}; 180 text-decoration: underline; 181 } 182 .hljs-emphasis { 183 font-style: italic; 184 } 185 .hljs-strong { 186 font-weight: 600; 187 } 188 `,[c,a,p,l,i,s,o,d,u,f]);return V.useEffect(()=>{let e=m.current;if(!e)return;if(!h.current){h.current=e.attachShadow({mode:`open`});let t=document.createElement(`style`);t.textContent=v,g.current=t,h.current.appendChild(t);let n=document.createElement(`div`);n.className=`content`,h.current.appendChild(n)}g.current&&(g.current.textContent=v);let t=h.current.querySelector(`.content`);t&&(t.innerHTML=_,fI(t))},[v,_]),(0,H.jsx)(op,{ref:V.useCallback(e=>{m.current=e,typeof t==`function`?t(e):t&&(t.current=e)},[t]),...r})}),gI=VT({base:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,gap:`2`,borderRadius:`md`,fontWeight:`medium`,cursor:`pointer`,transition:`all 0.2s ease`,_focusVisible:{outline:`2px solid`,outlineColor:`brand.focusRing`,outlineOffset:`2px`},_disabled:{opacity:.5,cursor:`not-allowed`}},variants:{variant:{solid:{bg:`colorPalette.solid`,color:`colorPalette.contrast`,_hover:{opacity:.9},_active:{opacity:.85}},outline:{borderWidth:`1px`,borderColor:`colorPalette.border`,color:`colorPalette.fg`,bg:`transparent`,_hover:{bg:`colorPalette.subtle`},_active:{bg:`colorPalette.muted`}},ghost:{bg:`transparent`,color:`colorPalette.fg`,_hover:{bg:`colorPalette.subtle`},_active:{bg:`colorPalette.muted`}},subtle:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,_hover:{bg:`colorPalette.muted`},_active:{bg:`colorPalette.emphasized`}},surface:{bg:`colorPalette.subtle`,color:`colorPalette.fg`,borderWidth:`1px`,borderColor:`colorPalette.borderSubtle`,_hover:{bg:`colorPalette.muted`},_active:{bg:`colorPalette.emphasized`}},plain:{bg:`transparent`,color:`colorPalette.fg`,_hover:{textDecoration:`underline`}}},size:{"2xs":{h:`6`,minW:`6`,px:`2`,fontSize:`2xs`,gap:`1`},xs:{h:`7`,minW:`7`,px:`2`,fontSize:`xs`,gap:`1`},sm:{h:`8`,minW:`8`,px:`3`,fontSize:`sm`,gap:`1.5`},md:{h:`10`,minW:`10`,px:`4`,fontSize:`sm`,gap:`2`}
188,lg:{h:`12`,minW:`12`,px:`6`,fontSize:`md`,gap:`2`},xl:{h:`14`,minW:`14`,px:`8`,fontSize:`md`,gap:`2.5`},"2xl":{h:`16`,minW:`16`,px:`10`,fontSize:`lg`,gap:`3`}}},defaultVariants:{variant:`solid`,size:`md`}}),_I=q({slots:ek.keys(),base:{root:{bg:`bg.card`,borderRadius:`lg`,display:`flex`,flexDirection:`column`,position:`relative`,overflow:`hidden`},header:{display:`flex`,flexDirection:`column`,gap:`1`},body:{flex:`1`},footer:{display:`flex`,alignItems:`center`,gap:`2`},title:{fontWeight:`medium`,fontSize:`lg`,lineHeight:`tight`},description:{fontSize:`sm`,color:`fg.muted`}},variants:{variant:{outline:{root:{borderWidth:`1px`,borderColor:`border`,boxShadow:`none`}},elevated:{root:{boxShadow:`md`,borderWidth:`0`}},subtle:{root:{bg:`bg.subtle`,borderWidth:`1px`,borderColor:`border.muted`}},ghost:{root:{bg:`transparent`,borderWidth:`0`,boxShadow:`none`,borderRadius:`0`}}},size:{sm:{root:{borderRadius:`md`},header:{px:`4`,pt:`4`,pb:`2`},body:{px:`4`,py:`3`},footer:{px:`4`,pb:`4`,pt:`2`},title:{fontSize:`md`},description:{fontSize:`xs`}},md:{header:{px:{base:`4`,md:`6`},pt:{base:`4`,md:`6`},pb:`2`},body:{px:{base:`4`,md:`6`},py:{base:`3`,md:`4`}},footer:{px:{base:`4`,md:`6`},pb:{base:`4`,md:`6`},pt:`2`}},lg:{root:{borderRadius:`xl`},header:{px:`8`,pt:`8`,pb:`3`},body:{px:`8`,py:`6`},footer:{px:`8`,pb:`8`,pt:`3`},title:{fontSize:`xl`},description:{fontSize:`sm`}}}},defaultVariants:{variant:`outline`,size:`md`}}),vI=q({slots:Tk.keys(),base:{root:{width:`full`,borderCollapse:`collapse`,fontVariantNumeric:`lining-nums tabular-nums`},header:{textAlign:`start`},row:{_selected:{bg:`bg.subtle`}},columnHeader:{fontWeight:`medium`,fontSize:`xs`,color:`fg.muted`,textAlign:`start`,letterSpacing:`wider`,textTransform:`uppercase`},cell:{textAlign:`start`}},variants:{variant:{line:{columnHeader:{bg:`bg.muted`,borderBottomWidth:`1px`,borderColor:`border`},cell:{borderBottomWidth:`1px`,borderColor:`border.muted`},row:{_hover:{bg:`bg.subtle`}}},outline:{root:{borderWidth:`1px`,borderColor:`border`,borderRadius:`lg`,overflow:`hidden`},columnHeader:{bg:`bg.muted`,borderBottomWidth:`1px`,borderColor:`border`},cell:{borderBottomWidth:`1px`,borderColor:`border.muted`},row:{_last:{"& td":{borderBottomWidth:`0`}},_hover:{bg:`bg.subtle`}}}},size:{sm:{columnHeader:{px:`3`,py:`2`,fontSize:`2xs`},cell:{px:`3`,py:`2`,fontSize:`sm`}},md:{columnHeader:{px:`4`,py:`3`},cell:{px:`4`,py:`3`}}},interactive:{true:{row:{cursor:`pointer`,_hover:{bg:`bg.subtle`}}}},striped:{true:{row:{_odd:{bg:`bg.subtle`}}}}},defaultVariants:{variant:`line`,size:`md`}}),yI=e=>({solid:{value:`{colors.${e}.500}`},contrast:{value:`white`}
188,fg:{value:{base:`{colors.${e}.600}`,_dark:`{colors.${e}.400}`}},subtle:{value:{base:`{colors.${e}.50}`,_dark:`{colors.${e}.900}`}},muted:{value:{base:`{colors.${e}.100}`,_dark:`{colors.${e}.800}`}},border:{value:{base:`{colors.${e}.500}`,_dark:`{colors.${e}.400}`}},borderSubtle:{value:{base:`{colors.${e}.200}`,_dark:`{colors.${e}.800}`}}}),bI=vO(pj,ZT({cssVarsPrefix:`cm`,globalCss:{html:{colorPalette:`brand`,scrollBehavior:`smooth`},body:{bg:`bg`,color:`fg`,minHeight:`100dvh`,fontFeatureSettings:`"cv02", "cv03", "cv04", "cv11"`},"::selection":{bg:`brand.200`,color:`brand.900`},":focus-visible":{outlineColor:`brand.focusRing`,outlineOffset:`2px`},"a, button":{transition:`all 0.2s ease`}},theme:{tokens:{colors:{brand:{50:{value:`#fef3f1`},100:{value:`#fde4df`},200:{value:`#fcccc4`},300:{value:`#f9a799`},400:{value:`#f57a64`},500:{value:`#f85c3c`},600:{value:`#e54a2a`},700:{value:`#c73d20`},800:{value:`#982c1a`},900:{value:`#7e2a1c`},950:{value:`#44120a`}},neutral:{50:{value:`#fafafa`},100:{value:`#f4f4f4`},200:{value:`#e5e5e5`},300:{value:`#d4d4d4`},400:{value:`#a3a3a3`},500:{value:`#737373`},600:{value:`#525252`},700:{value:`#3d3d3d`},800:{value:`#262626`},900:{value:`#171717`},950:{value:`#0a0a0a`}},charcoal:{50:{value:`#f7f7f7`},100:{value:`#e3e3e3`},200:{value:`#c8c8c8`},300:{value:`#a4a4a4`},400:{value:`#818181`},500:{value:`#666666`},600:{value:`#515151`},700:{value:`#434343`},800:{value:`#383838`},900:{value:`#1f1f1f`},950:{value:`#141414`}},success:{50:{value:`#ecfdf5`},100:{value:`#d1fae5`},200:{value:`#a7f3d0`},300:{value:`#6ee7b7`},400:{value:`#34d399`},500:{value:`#10b981`},600:{value:`#059669`},700:{value:`#047857`},800:{value:`#065f46`},900:{value:`#064e3b`},950:{value:`#022c22`}},warning:{50:{value:`#fffbeb`},100:{value:`#fef3c7`},200:{value:`#fde68a`},300:{value:`#fcd34d`},400:{value:`#fbbf24`},500:{value:`#f59e0b`},600:{value:`#d97706`},700:{value:`#b45309`},800:{value:`#92400e`},900:{value:`#78350f`},950:{value:`#451a03`}},error:{50:{value:`#fef2f2`},100:{value:`#fee2e2`},200:{value:`#fecaca`},300:{value:`#fca5a5`},400:{value:`#f87171`},500:{value:`#ef4444`},600:{value:`#dc2626`},700:{value:`#b91c1c`},800:{value:`#991b1b`},900:{value:`#7f1d1d`},950:{value:`#450a0a`}},info:{50:{value:`#eff6ff`},100:{value:`#dbeafe`},200:{value:`#bfdbfe`},300:{value:`#93c5fd`},400:{value:`#60a5fa`},500:{value:`#3b82f6`},600:{value:`#2563eb`},700:{value:`#1d4ed8`},800:{value:`#1e40af`},900:{value:`#1e3a8a`},950:{value:`#172554`}}},fonts:{heading:{value:`"TT Hoves Pro", system-ui, sans-serif`},body:{value:`"TT Hoves Pro", system-ui, sans-serif`},mono:{value:`"JetBrains Mono", monospace`}},fontSizes:{"2xs":{value:`0.625rem`},xs:{value:`0.75rem`},sm:{value:`0.875rem`},md:{value:`1rem`},lg:{value:`1.125rem`},xl:{value:`1.25rem`},"2xl":{value:`1.5rem`},"3xl":{value:`1.875rem`},"4xl":{value:`2.25rem`},"5xl":{value:`3rem`}},fontWeights:{normal:{value:`400`},medium:{value:`500`},semibold:{value:`500`},bold:{value:`500`}},lineHeights:{tight:{value:`1.25`},snug:{value:`1.4`},normal:{value:`1.5`},relaxed:{value:`1.6`},loose:{value:`1.75`}},radii:{none:{value:`0`},xs:{value:`2px`},sm:{value:`4px`},md:{value:`8px`},lg:{value:`12px`},xl:{value:`16px`},"2xl":{value:`20px`},"3xl":{value:`24px`},pill:{value:`999px`},full:{value:`9999px`}},shadows:{xs:{value:`0 1px 2px rgba(0, 0, 0, 0.05)`},sm:{value:`0 2px 4px rgba(0, 0, 0, 0.06)`},md:{value:`0 4px 12px rgba(0, 0, 0, 0.08)`},lg:{value:`0 8px 24px rgba(0, 0, 0, 0.12)`},xl:{value:`0 16px 48px rgba(0, 0, 0, 0.16)`},inner:{value:`inset 0 2px 4px rgba(0, 0, 0, 0.06)`}},durations:{instant:{value:`50ms`},fast:{value:`150ms`},normal:{value:`250ms`},slow:{value:`400ms`},slower:{value:`600ms`}},easings:{default:{value:`cubic-bezier(0.4, 0, 0.2, 1)`},easeIn:{value:`cubic-bezier(0.4, 0, 1, 1)`},easeOut:{value:`cubic-bezier(0, 0, 0.2, 1)`},easeInOut:{value:`cubic-bezier(0.4, 0, 0.2, 1)`},bounce:{value:`cubic-bezier(0.68, -0.55, 0.265, 1.55)`}},spacing:{px:{value:`1px`},.5:{value:`0.125rem`},1:{value:`0.25rem`},1.5:{value:`0.375rem`},2:{value:`0.5rem`},2.5:{value:`0.625rem`},3:{value:`0.75rem`},3.5:{value:`0.875rem`},4:{value:`1rem`},5:{value:`1.25rem`},6:{value:`1.5rem`},7:{value:`1.75rem`},8:{value:`2rem`},9:{value:`2.25rem`},10:{value:`2.5rem`},12:{value:`3rem`},14:{value:`3.5rem`},16:{value:`4rem`},20:{value:`5rem`},24:{value:`6rem`},28:{value:`7rem`},32:{value:`8rem`}},sizes:{sidebar:{value:`280px`},header:{value:`64px`},container:{sm:{value:`640px`},md:{value:`768px`},lg:{value:`1024px`},xl:{value:`1280px`}}},zIndex:{hide:{value:-1},base:{value:0},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},toast:{value:1600},tooltip:{value:1700}}},keyframes:{fadeIn:{from:{opacity:`0`},to:{opacity:`1`}},fadeOut:{from:{opacity:`1`},to:{opacity:`0`}},slideInUp:{from:{transform:`translateY(8px)`,opacity:`0`},to:{transform:`translateY(0)`,opacity:`1`}},slideInDown:{from:{transform:`translateY(-8px)`,opacity:`0`},to:{transform:`translateY(0)`,opacity:`1`}},slideInLeft:{from:{transform:`translateX(-8px)`,opacity:`0`},to:{transform:`translateX(0)`,opacity:`1`}},slideInRight:{from:{transform:`translateX(8px)`,opacity:`0`},to:{transform:`translateX(0)`,opacity:`1`}},scaleIn:{from:{transform:`scale(0.95)`,opacity:`0`},to:{transform:`scale(1)`,opacity:`1`}},pulse:{"0%, 100%":{opacity:`1`},"50%":{opacity:`0.5`}},spin:{from:{transform:`rotate(0deg)`},to:{transform:`rotate(360deg)`}}},semanticTokens:{colors:{brand:{solid:{value:`{colors.brand.500}`},contrast:{value:`white`}
188,fg:{value:{base:`{colors.brand.700}`,_dark:`{colors.brand.300}`}},muted:{value:{base:`{colors.brand.100}`,_dark:`{colors.brand.900}`}},subtle:{value:{base:`{colors.brand.50}`,_dark:`{colors.brand.950}`}},emphasized:{value:{base:`{colors.brand.200}`,_dark:`{colors.brand.800}`}},focusRing:{value:`{colors.brand.500}`},border:{value:{base:`{colors.brand.500}`,_dark:`{colors.brand.400}`}},borderSubtle:{value:{base:`{colors.brand.200}`,_dark:`{colors.brand.800}`}}},neutral:{solid:{value:{base:`{colors.neutral.600}`,_dark:`{colors.neutral.400}`}},contrast:{value:{base:`white`,_dark:`{colors.neutral.900}`}},fg:{value:{base:`{colors.neutral.700}`,_dark:`{colors.neutral.300}`}},muted:{value:{base:`{colors.neutral.100}`,_dark:`{colors.neutral.800}`}},subtle:{value:{base:`{colors.neutral.50}`,_dark:`{colors.neutral.900}`}},emphasized:{value:{base:`{colors.neutral.200}`,_dark:`{colors.neutral.700}`}},focusRing:{value:`{colors.neutral.500}`},border:{value:{base:`{colors.neutral.300}`,_dark:`{colors.neutral.600}`}},borderSubtle:{value:{base:`{c
188olors.neutral.200}`,_dark:`{colors.neutral.700}`}}},bg:{DEFAULT:{value:{base:`white`,_dark:`{colors.neutral.900}`}},subtle:{value:{base:`{colors.neutral.50}`,_dark:`{colors.neutral.700}`}},muted:{value:{base:`{colors.neutral.100}`,_dark:`{colors.neutral.700}`}},emphasized:{value:{base:`{colors.neutral.200}`,_dark:`{colors.neutral.600}`}},inverted:{value:{base:`{colors.charcoal.900}`,_dark:`white`}},card:{value:{base:`white`,_dark:`{colors.neutral.800}`}},section:{value:{base:`{colors.neutral.100}`,_dark:`{colors.neutral.800}`}}},fg:{DEFAULT:{value:{base:`{colors.neutral.900}`,_dark:`{colors.neutral.50}`}},muted:{value:{base:`{colors.neutral.600}`,_dark:`{colors.neutral.400}`}},subtle:{value:{base:`{colors.neutral.500}`,_dark:`{colors.neutral.500}`}},inverted:{value:{base:`white`,_dark:`{colors.neutral.900}`}},link:{value:{base:`{colors.brand.700}`,_dark:`{colors.brand.300}`}}},border:{DEFAULT:{value:{base:`{colors.neutral.300}`,_dark:`{colors.neutral.600}`}},subtle:{value:{base:`{colors.neutral.200}`,_dark:`{colors.neutral.700}`}}
188,muted:{value:{base:`{colors.neutral.200}`,_dark:`{colors.neutral.700}`}},emphasized:{value:{base:`{colors.neutral.400}`,_dark:`{colors.neutral.500}`}},brand:{value:{base:`{colors.brand.500}`,_dark:`{colors.brand.400}`}}},success:yI(`success`),warning:yI(`warning`),error:yI(`error`),info:yI(`info`)},shadows:{xs:{value:{base:`{shadows.xs}`,_dark:`0 1px 2px rgba(0, 0, 0, 0.4)`}},sm:{value:{base:`{shadows.sm}`,_dark:`0 2px 4px rgba(0, 0, 0, 0.5)`}},md:{value:{base:`{shadows.md}`,_dark:`0 4px 12px rgba(0, 0, 0, 0.6)`}},lg:{value:{base:`{shadows.lg}`,_dark:`0 8px 24px rgba(0, 0, 0, 0.7)`}},xl:{value:{base:`{shadows.xl}`,_dark:`0 16px 48px rgba(0, 0, 0, 0.8)`}},inner:{value:{base:`{shadows.inner}`,_dark:`inset 0 2px 4px rgba(0, 0, 0, 0.4)`}}}},textStyles:{display:{xl:{value:{fontSize:`{fontSizes.5xl}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.tight}`,letterSpacing:`-0.02em`}},lg:{value:{fontSize:`{fontSizes.4xl}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.tight}`,letterSpacing:`-0.02em`}},md:{value:{fontSize:`{fontSizes.3xl}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.tight}`,letterSpacing:`-0.01em`}}},heading:{xl:{value:{fontSize:`{fontSizes.3xl}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.tight}`}},lg:{value:{fontSize:`{fontSizes.2xl}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.tight}`}},md:{value:{fontSize:`{fontSizes.xl}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.normal}`}},sm:{value:{fontSize:`{fontSizes.lg}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.normal}`}}},body:{lg:{value:{fontSize:`{fontSizes.lg}`,fontWeight:`{fontWeights.normal}`,lineHeight:`{lineHeights.loose}`}},md:{value:{fontSize:`{fontSizes.md}`,fontWeight:`{fontWeights.normal}`,lineHeight:`{lineHeights.relaxed}`}},sm:{value:{fontSize:`{fontSizes.sm}`,fontWeight:`{fontWeights.normal}`,lineHeight:`{lineHeights.normal}`}}},label:{lg:{value:{fontSize:`{fontSizes.sm}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.normal}`}},md:{value:{fontSize:`{fontSizes.xs}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.normal}`}},sm:{value:{fontSize:`{fontSizes.2xs}`,fontWeight:`{fontWeights.medium}`,lineHeight:`{lineHeights.normal}`,textTransform:`uppercase`,letterSpacing:`0.05em`}}},nav:{value:{fontSize:`{fontSizes.sm}`,fontWeight:`{fontWeights.medium}`,letterSpacing:`0.02em`,textTransform:`uppercase`}},link:{value:{fontSize:`inherit`,fontWeight:`{fontWeights.normal}`,textDecoration:`underline`,textUnderlineOffset:`2px`}}},layerStyles:{subtleRegion:{value:{bg:`bg.subtle`,p:`4`,borderRadius:`md`}},mutedRegion:{value:{bg:`bg.muted`,p:`4`,borderRadius:`md`}},panel:{value:{bg:`bg.subtle`,p:`6`,borderRadius:`lg`}},surface:{value:{bg:`bg`,borderWidth:`1px`,borderColor:`border.subtle`,borderRadius:`md`,p:`4`}},highlighted:{value:{bg:`brand.subtle`,borderLeftWidth:`3px`,borderLeftColor:`brand.solid`,p:`4`,borderRadius:`md`}},successRegion:{value:{bg:`success.subtle`,borderLeftWidth:`3px`,borderLeftColor:`success.solid`,p:`4`,borderRadius:`md`}},warningRegion:{value:{bg:`warning.subtle`,borderLeftWidth:`3px`,borderLeftColor:`warning.solid`,p:`4`,borderRadius:`md`}},errorRegion:{value:{bg:`error.subtle`,borderLeftWidth:`3px`,borderLeftColor:`error.solid`,p:`4`,borderRadius:`md`}},infoRegion:{value:{bg:`info.subtle`,borderLeftWidth:`3px`,borderLeftColor:`info.solid`,p:`4`,borderRadius:`md`}}},recipes:{button:gI},slotRecipes:{card:_I,table:vI}}})),xI=`ui-theme`,SI=V.createContext(void 0);function CI(){if(typeof window>`u`)return`convermax`;let e=localStorage.getItem(xI);return e===`default`||e===`convermax`?e:`convermax`}function wI({children:e}){let[t,n]=V.useState(CI),r=V.useCallback(e=>{n(e),localStorage.setItem(xI,e)},[]),i=V.useMemo(()=>({themePreset:t,setThemePreset:r}),[t,r]);return(0,H.jsx)(SI.Provider,{value:i,children:e})}function TI(){let e=V.useContext(SI);if(!e)throw Error(`useThemePreset must be used within a ThemePresetProvider`);return e}var EI={default:mj,convermax:bI};function DI({children:e}){let{themePreset:t}=TI(),n=EI[t];return(0,H.jsx)(Hf,{value:n,children:e})}function OI(e){return(0,H.jsx)(wI,{children:(0,H.jsx)(DI,{children:(0,H.jsx)(vF,{...e})})})}function kI({title:e,description:t,children:n}){return(0,H.jsxs)(Kj,{variant:`outline`,size:`md`,children:[(0,H.jsxs)(Jj,{children:[(0,H.jsx)(Xj,{children:e}),t&&(0,H.jsx)(Zj,{children:t})]}),(0,H.jsx)(qj,{children:n})]})}var AI=!1,jI=new Set,MI=()=>AI,NI=e=>(jI.add(e),()=>{jI.delete(e)}
188),PI=class extends Error{status=403;constructor(){super(`Your account has been suspended.`),this.name=`AccountSuspendedError`}};async function FI(e){if(e.status===403&&(await e.clone().json().catch(()=>null))?.code===`account_suspended`)throw AI=!0,jI.forEach(e=>e()),new PI}var II=`1.9.1`,LI=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function RI(e){let t=new Set([e]),n=new Set,r=e.match(LI);if(!r)return()=>!1;let i={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(i.prerelease!=null)return function(t){return t===e};function a(e){return n.add(e),!1}function o(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(n.has(e))return!1;let r=e.match(LI);if(!r)return a(e);let s={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};return s.prerelease!=null||i.major!==s.major?a(e):i.major===0?i.minor===s.minor&&i.patch<=s.patch?o(e):a(e):i.minor<=s.minor?o(e):a(e)}}var zI=RI(II),BI=II.split(`.`)[0],VI=Symbol.for(`opentelemetry.js.api.${BI}`),HI=typeof globalThis==`object`?globalThis:typeof self==`object`?self:typeof window==`object`?window:typeof global==`object`?global:{};function UI(e,t,n,r=!1){let i=HI[VI]=HI[VI]??{version:II};if(!r&&i[e]){let t=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return n.error(t.stack||t.message),!1}if(i.version!==`1.9.1`){let t=Error(`@opentelemetry/api: Registration of version v${i.version} for ${e} does not match previously registered API v${II}`);return n.error(t.stack||t.message),!1}return i[e]=t,n.debug(`@opentelemetry/api: Registered a global for ${e} v${II}.`),!0}function WI(e){let t=HI[VI]?.version;if(!(!t||!zI(t)))return HI[VI]?.[e]}function GI(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${II}.`);let n=HI[VI];n&&delete n[e]}var KI=class{constructor(e){this._namespace=e.namespace||`DiagComponentLogger`}debug(...e){return qI(`debug`,this._namespace,e)}error(...e){return qI(`error`,this._namespace,e)}info(...e){return qI(`info`,this._namespace,e)}warn(...e){return qI(`warn`,this._namespace,e)}verbose(...e){return qI(`verbose`,this._namespace,e)}};function qI(e,t,n){let r=WI(`diag`);if(r)return r[e](t,...n)}var JI;(function(e){e[e.NONE=0]=`NONE`,e[e.ERROR=30]=`ERROR`,e[e.WARN=50]=`WARN`,e[e.INFO=60]=`INFO`,e[e.DEBUG=70]=`DEBUG`,e[e.VERBOSE=80]=`VERBOSE`,e[e.ALL=9999]=`ALL`})(JI||={});function YI(e,t){e<JI.NONE?e=JI.NONE:e>JI.ALL&&(e=JI.ALL),t||={};function n(n,r){let i=t[n];return typeof i==`function`&&e>=r?i.bind(t):function(){}}return{error:n(`error`,JI.ERROR),warn:n(`warn`,JI.WARN),info:n(`info`,JI.INFO),debug:n(`debug`,JI.DEBUG),verbose:n(`verbose`,JI.VERBOSE)}}var XI=`diag`,ZI=class e{static instance(){return this._instance||=new e,this._instance}constructor(){function e(e){return function(...t){let n=WI(`diag`);if(n)return n[e](...t)}}let t=this;t.setLogger=(e,n={logLevel:JI.INFO})=>{if(e===t){let e=Error(`Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation`);return t.error(e.stack??e.message),!1}typeof n==`number`&&(n={logLevel:n});let r=WI(`diag`),i=YI(n.logLevel??JI.INFO,e);if(r&&!n.suppressOverrideMessage){let e=Error().stack??`<failed to generate stacktrace>`;r.warn(`Current logger will be overwritten from ${e}
188`),i.warn(`Current logger will overwrite one already registered from ${e}`)}return UI(`diag`,i,t,!0)},t.disable=()=>{GI(XI,t)},t.createComponentLogger=e=>new KI(e),t.verbose=e(`verbose`),t.debug=e(`debug`),t.info=e(`info`),t.warn=e(`warn`),t.error=e(`error`)}},QI=class e{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(t,n){let r=new e(this._entries);return r._entries.set(t,n),r}removeEntry(t){let n=new e(this._entries);return n._entries.delete(t),n}removeEntries(...t){let n=new e(this._entries);for(let e of t)n._entries.delete(e);return n}clear(){return new e}},$I=Symbol(`BaggageEntryMetadata`),eL=ZI.instance();function tL(e={}){return new QI(new Map(Object.entries(e)))}function nL(e){return typeof e!=`string`&&(eL.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=``),{__TYPE__:$I,toString(){return e}}}function rL(e){return Symbol.for(e)}var iL=new class e{constructor(t){let n=this;n._currentContext=t?new Map(t):new Map,n.getValue=e=>n._currentContext.get(e),n.setValue=(t,r)=>{let i=new e(n._currentContext);return i._currentContext.set(t,r),i},n.deleteValue=t=>{let r=new e(n._currentContext);return r._currentContext.delete(t),r}}},aL=class{constructor(){}createGauge(e,t){return _L}createHistogram(e,t){return vL}createCounter(e,t){return gL}createUpDownCounter(e,t){return yL}createObservableGauge(e,t){return xL}createObservableCounter(e,t){return bL}createObservableUpDownCounter(e,t){return SL}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}},oL=class{},sL=class extends oL{add(e,t){}},cL=class extends oL{add(e,t){}},lL=class extends oL{record(e,t){}},uL=class extends oL{record(e,t){}},dL=class{addCallback(e){}removeCallback(e){}},fL=class extends dL{},pL=class extends dL{},mL=class extends dL{},hL=new aL,gL=new sL,_L=new lL,vL=new uL,yL=new cL,bL=new fL,xL=new pL,SL=new mL;function CL(){return hL}var wL={get(e,t){if(e!=null)return e[t]},keys(e){return e==null?[]:Object.keys(e)}},TL={set(e,t,n){e!=null&&(e[t]=n)}},EL=class{active(){return iL}with(e,t,n,...r){return t.call(n,...r)}bind(e,t){return t}enable(){return this}disable(){return this}},DL=`context`,OL=new EL,kL=class e{constructor(){}static getInstance(){return this._instance||=new e,this._instance}setGlobalContextManager(e){return UI(DL,e,ZI.instance())}active(){return this._getContextManager().active()}with(e,t,n,...r){return this._getContextManager().with(e,t,n,...r)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return WI(DL)||OL}disable(){this._getContextManager().disable(),GI(DL,ZI.instance())}},AL;(function(e){e[e.NONE=0]=`NONE`,e[e.SAMPLED=1]=`SAMPLED`})(AL||={});var jL={traceId:`00000000000000000000000000000000`,spanId:`0000000000000000`,traceFlags:AL.NONE},ML=class{constructor(e=jL){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}addLink(e){return this}addLinks(e){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return!1}recordException(e,t){}},NL=rL(`OpenTelemetry Context Key SPAN`);function PL(e){return e.getValue(NL)||void 0}function FL(){return PL(kL.getInstance().active())}function IL(e,t){return e.setValue(NL,t)}function LL(e){return e.deleteValue(NL)}function RL(e,t){return IL(e,new ML(t))}function zL(e){return PL(e)?.spanContext()}var BL=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1]);function VL(e,t){if(typeof e!=`string`||e.length!==t)return!1;let n=0;for(let t=0;t<e.length;t+=4)n+=(BL[e.charCodeAt(t)]|0)+(BL[e.charCodeAt(t+1)]|0)+(BL[e.charCodeAt(t+2)]|0)+(BL[e.charCodeAt(t+3)]|0);return n===t}function HL(e){return VL(e,32)&&e!==`00000000000000000000000000000000`}function UL(e){return VL(e,16)&&e!==`0000000000000000`}function WL(e){return HL(e.traceId)&&UL(e.spanId)}function GL(e){return new ML(e)}var KL=kL.getInstance(),qL=class{startSpan(e,t,n=KL.active()){if(t?.root)return new ML;let r=n&&zL(n);return JL(r)&&WL(r)?new ML(r):new ML}startActiveSpan(e,t,n,r){let i,a,o;if(arguments.length<2)return;arguments.length===2?o=t:arguments.length===3?(i=t,o=n):(i=t,a=n,o=r);let s=a??KL.active(),c=this.startSpan(e,i,s),l=IL(s,c);return KL.with(l,o,void 0,c)}};function JL(e){return typeof e==`object`&&!!e&&`spanId`in e&&typeof e.spanId==`string`&&`traceId`in e&&typeof e.traceId==`string`&&`traceFlags`in e&&typeof e.traceFlags==`
188number`}var YL=new qL,XL=class{constructor(e,t,n,r){this._provider=e,this.name=t,this.version=n,this.options=r}startSpan(e,t,n){return this._getTracer().startSpan(e,t,n)}startActiveSpan(e,t,n,r){let i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)}_getTracer(){if(this._delegate)return this._delegate;let e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):YL}},ZL=new class{getTracer(e,t,n){return new qL}},QL=class{getTracer(e,t,n){return this.getDelegateTracer(e,t,n)??new XL(this,e,t,n)}getDelegate(){return this._delegate??ZL}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,n){return this._delegate?.getTracer(e,t,n)}},$L;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})($L||={});var eR;(function(e){e[e.INTERNAL=0]=`INTERNAL`,e[e.SERVER=1]=`SERVER`,e[e.CLIENT=2]=`CLIENT`,e[e.PRODUCER=3]=`PRODUCER`,e[e.CONSUMER=4]=`CONSUMER`})(eR||={});var tR;(function(e){e[e.UNSET=0]=`UNSET`,e[e.OK=1]=`OK`,e[e.ERROR=2]=`ERROR`})(tR||={});var nR=kL.getInstance(),rR=ZI.instance(),iR=new class{getMeter(e,t,n){return hL}},aR=`metrics`,oR=class e{constructor(){}static getInstance(){return this._instance||=new e,this._instance}setGlobalMeterProvider(e){return UI(aR,e,ZI.instance())}getMeterProvider(){return WI(aR)||iR}getMeter(e,t,n){return this.getMeterProvider().getMeter(e,t,n)}disable(){GI(aR,ZI.instance())}}.getInstance(),sR=class{inject(e,t){}extract(e,t){return e}fields(){return[]}},cR=rL(`OpenTelemetry Baggage Key`);function lR(e){return e.getValue(cR)||void 0}function uR(){return lR(kL.getInstance().active())}function dR(e,t){return e.setValue(cR,t)}function fR(e){return e.deleteValue(cR)}var pR=`propagation`,mR=new sR,hR=class e{constructor(){this.createBaggage=tL,this.getBaggage=lR,this.getActiveBaggage=uR,this.setBaggage=dR,this.deleteBaggage=fR}static getInstance(){return this._instance||=new e,this._instance}setGlobalPropagator(e){return UI(pR,e,ZI.instance())}inject(e,t,n=TL){return this._getGlobalPropagator().inject(e,t,n)}extract(e,t,n=wL){return this._getGlobalPropagator().extract(e,t,n)}fields(){return this._getGlobalPropagator().fields()}disable(){GI(pR,ZI.instance())}_getGlobalPropagator(){return WI(pR)||mR}}.getInstance(),gR=`trace`,_R=class e{constructor(){this._proxyTracerProvider=new QL,this.wrapSpanContext=GL,this.isSpanContextValid=WL,this.deleteSpan=LL,this.getSpan=PL,this.getActiveSpan=FL,this.getSpanContext=zL,this.setSpan=IL,this.setSpanContext=RL}static getInstance(){return this._instance||=new e,this._instance}setGlobalTracerProvider(e){let t=UI(gR,this._proxyTracerProvider,ZI.instance());return t&&this._proxyTracerProvider.setDelegate(e),t}getTracerProvider(){return WI(gR)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){GI(gR,ZI.instance()),this._proxyTracerProvider=new QL}}.getInstance(),vR=rL(`OpenTelemetry SDK Context Key SUPPRESS_TRACING`);function yR(e){return e.setValue(vR,!0)}function bR(e){return e.getValue(vR)===!0}var xR=`baggage`,SR=4096;function CR(e){return e.reduce((e,t)=>{let n=`${e}${e===``?``:`,`}${t}`;return n.length>8192?e:n},``)}function wR(e){return e.getAllEntries().map(([e,t])=>{let n=`${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`;return t.metadata!==void 0&&(n+=`;`+t.metadata.toString()),n})}function TR(e){if(!e)return;let t=e.indexOf(`;`),n=t===-1?e:e.substring(0,t),r=n.indexOf(`=`);if(r<=0)return;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();if(!i||!a)return;let o,s;try{o=decodeURIComponent(i),s=decodeURIComponent(a)}catch{return}let c;return t!==-1&&t<e.length-1&&(c=nL(e.substring(t+1))),{key:o,value:s,metadata:c}}var ER=class{inject(e,t,n){let r=hR.getBaggage(e);if(!r||bR(e))return;let i=CR(wR(r).filter(e=>e.length<=SR).slice(0,180));i.length>0&&n.set(t,xR,i)}extract(e,t,n){let r=n.get(t,xR),i=Array.isArray(r)?r.join(`,`):r;if(!i)return e;let a={};return i.length===0||(i.split(`,`).forEach(e=>{let t=TR(e);if(t){let e={value:t.value};t.metadata&&(e.metadata=t.metadata),a[t.key]=e}}),Object.entries(a).length===0)?e:hR.setBaggage(e,hR.createBaggage(a))}fields(){return[xR]}};function DR(e){let t={};if(typeof e!=`object`||!e)return t;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(!OR(n)){rR.warn(`Invalid attribute key: ${n}`);continue}let r=e[n];if(!kR(r)){rR.warn(`Invalid attribute value set for key: ${n}`);continue}Array.isArray(r)?t[n]=r.slice():t[n]=r}return t}function OR(e){return typeof e==`string`&&e!==``}function kR(e){return e==null?!0:Array.isArray(e)?AR(e):jR(typeof e)}function AR(e){let t;for(let n of e){if(n==null)continue;let e=typeof n;if(e!==t){if(!t){if(jR(e)){t=e;continue}return!1}return!1}}return!0}function jR(e){switch(e){case`number`:case`boolean`:case`string`:return!0}return!1}function MR(){return e=>{rR.error(NR(e))}}function NR(e){return typeof e==`string`?e:JSON.stringify(PR(e))}function PR(e){let t={},n=e;for(;n!==null;
188)Object.getOwnPropertyNames(n).forEach(e=>{if(t[e])return;let r=n[e];r&&(t[e]=String(r))}),n=Object.getPrototypeOf(n);return t}var FR=MR();function IR(e){try{FR(e)}catch{}}var LR=`2.7.1`,RR=`error.type`,zR=`exception.message`,BR=`exception.stacktrace`,VR=`exception.type`,HR=`http.request.method`,UR=`http.request.method_original`,WR=`http.response.status_code`,GR=`server.address`,KR=`server.port`,qR=`service.name`,JR=`telemetry.sdk.language`,YR=`webjs`,XR=`telemetry.sdk.name`,ZR=`telemetry.sdk.version`,QR=`url.full`,$R=`user_agent.original`,ez=`process.runtime.name`,tz={[XR]:`opentelemetry`,[ez]:`browser`,[JR]:YR,[ZR]:LR},nz=performance,rz=9,iz=10**6,az=10**rz;function oz(e){let t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*iz)]}function sz(e){return pz(oz(nz.timeOrigin),oz(typeof e==`number`?e:nz.now()))}function cz(e){if(dz(e))return e;if(typeof e==`number`)return e<nz.timeOrigin?sz(e):oz(e);if(e instanceof Date)return oz(e.getTime());throw TypeError(`Invalid input type`)}function lz(e,t){let n=t[0]-e[0],r=t[1]-e[1];return r<0&&(--n,r+=az),[n,r]}function uz(e){return e[0]*az+e[1]}function dz(e){return Array.isArray(e)&&e.length===2&&typeof e[0]==`number`&&typeof e[1]==`number`}function fz(e){return dz(e)||typeof e==`number`||e instanceof Date}function pz(e,t){let n=[e[0]+t[0],e[1]+t[1]];return n[1]>=az&&(n[1]-=az,n[0]+=1),n}var mz;(function(e){e[e.SUCCESS=0]=`SUCCESS`,e[e.FAILED=1]=`FAILED`})(mz||={});var hz=class{_propagators;_fields;constructor(e={}){this._propagators=e.propagators??[];let t=new Set;for(let e of this._propagators){let n=typeof e.fields==`function`?e.fields():[];for(let e of n)t.add(e)}this._fields=Array.from(t)}inject(e,t,n){for(let r of this._propagators)try{r.inject(e,t,n)}catch(e){rR.warn(`Failed to inject with ${r.constructor.name}. Err: ${e.message}`)}}extract(e,t,n){return this._propagators.reduce((e,r)=>{try{return r.extract(e,t,n)}catch(e){rR.warn(`Failed to extract with ${r.constructor.name}. Err: ${e.message}`)}return e},e)}fields(){return this._fields.slice()}},gz=`[_0-9a-z-*/]`,_z=`[a-z]${gz}{0,255}`,vz=`[a-z0-9]${gz}{0,240}@[a-z]${gz}{0,13}`,yz=RegExp(`^(?:${_z}|${vz})$`),bz=/^[ -~]{0,255}[!-~]$/,xz=/,|=/;function Sz(e){return yz.test(e)}function Cz(e){return bz.test(e)&&!xz.test(e)}var wz=32,Tz=512,Ez=`,`,Dz=`=`,Oz=class e{_length;_rawTraceState;_internalState;constructor(e){this._rawTraceState=typeof e==`string`?e:``,this._length=this._rawTraceState.length}set(e,t){if(!Sz(e)||!Cz(t))return this;let n=this._getState(),r=n.get(e),i=this._length;if(typeof r==`string`?i+=t.length-r.length:i+=e.length+t.length+(n.size>0?2:1),i>Tz)return this;let a=new Map(n);return a.delete(e),a.set(e,t),this._fromState(a,i)}unset(e){let t=this._getState(),n=t.get(e);if(typeof n!=`string`)return this;let r=this._length-(e.length+n.length+1);t.size>1&&--r;let i=new Map(t);return i.delete(e),this._fromState(i,r)}get(e){return this._getState().get(e)}serialize(){let e=``,t=0;for(let n of this._getState())t>0&&(e=Ez+e),e=`${n[0]}${Dz}${n[1]}`+e,t++;return e}_getState(){if(this._internalState)return this._internalState;let e=this._rawTraceState.split(Ez),t=new Map,n=0;for(let r of e){let e=r.trim(),i=e.indexOf(Dz);if(i===-1)continue;let a=e.slice(0,i),o=e.slice(i+1);if(!Sz(a)||!Cz(o))continue;let s=n+e.length+ +(t.size>0);if(!(s>Tz)&&(t.set(a,o),n=s,t.size>=wz))break}return this._length=n,this._internalState=new Map(Array.from(t.entries()).reverse()),this._internalState}_fromState(t,n){let r=Object.create(e.prototype);return r._internalState=t,r._length=n,r}},kz=`traceparent`,Az=`tracestate`,jz=`00`,Mz=RegExp(`^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$`);function Nz(e){let t=Mz.exec(e);return!t||t[1]===`00`&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}var Pz=class{inject(e,t,n){let r=_R.getSpanContext(e);if(!r||bR(e)||!WL(r))return;let i=`${jz}-${r.traceId}-${r.spanId}-0${Number(r.traceFlags||AL.NONE).toString(16)}`;n.set(t,kz,i),r.traceState&&n.set(t,Az,r.traceState.serialize())}extract(e,t,n){let r=n.get(t,kz);if(!r)return e;let i=Array.isArray(r)?r[0]:r;if(typeof i!=`string`)return e;let a=Nz(i);if(!a)return e;a.isRemote=!0;let o=n.get(t,Az);if(o){let e=Array.isArray(o)?o.join(`,`):o;a.traceState=new Oz(typeof e==`string`?e:void 0)}return _R.setSpanContext(e,a)}fields(){return[kz,Az]}}
188,Fz=`[object Object]`,Iz=`[object Null]`,Lz=`[object Undefined]`,Rz=Function.prototype.toString,zz=Rz.call(Object),Bz=Object.getPrototypeOf,Vz=Object.prototype,Hz=Vz.hasOwnProperty,Uz=Symbol?Symbol.toStringTag:void 0,Wz=Vz.toString;function Gz(e){if(!Kz(e)||qz(e)!==Fz)return!1;let t=Bz(e);if(t===null)return!0;let n=Hz.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Rz.call(n)===zz}function Kz(e){return typeof e==`object`&&!!e}function qz(e){return e==null?e===void 0?Lz:Iz:Uz&&Uz in Object(e)?Jz(e):Yz(e)}function Jz(e){let t=Hz.call(e,Uz),n=e[Uz],r=!1;try{e[Uz]=void 0,r=!0}catch{}let i=Wz.call(e);return r&&(t?e[Uz]=n:delete e[Uz]),i}function Yz(e){return Wz.call(e)}var Xz=20;function Zz(...e){let t=e.shift(),n=new WeakMap;for(;e.length>0;)t=$z(t,e.shift(),0,n);return t}function Qz(e){return tB(e)?e.slice():e}function $z(e,t,n=0,r){let i;if(!(n>Xz)){if(n++,iB(e)||iB(t)||nB(t))i=Qz(t);else if(tB(e)){if(i=e.slice(),tB(t))for(let e=0,n=t.length;e<n;e++)i.push(Qz(t[e]));else if(rB(t)){let e=Object.keys(t);for(let n=0,r=e.length;n<r;n++){let r=e[n];r===`__proto__`||r===`constructor`||r===`prototype`||(i[r]=Qz(t[r]))}}}else if(rB(e))if(rB(t)){if(!aB(e,t))return t;i=Object.assign({},e);let a=Object.keys(t);for(let o=0,s=a.length;o<s;o++){let s=a[o];if(s===`__proto__`||s===`constructor`||s===`prototype`)continue;let c=t[s];if(iB(c))c===void 0?delete i[s]:i[s]=c;else{let a=i[s],o=c;if(eB(e,s,r)||eB(t,s,r))delete i[s];else{if(rB(a)&&rB(o)){let n=r.get(a)||[],i=r.get(o)||[];n.push({obj:e,key:s}),i.push({obj:t,key:s}),r.set(a,n),r.set(o,i)}i[s]=$z(i[s],c,n,r)}}}}else i=t;return i}}function eB(e,t,n){let r=n.get(e[t])||[];for(let n=0,i=r.length;n<i;n++){let i=r[n];if(i.key===t&&i.obj===e)return!0}return!1}function tB(e){return Array.isArray(e)}function nB(e){return typeof e==`function`}function rB(e){return!iB(e)&&!tB(e)&&!nB(e)&&typeof e==`object`}function iB(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||e===void 0||e instanceof Date||e instanceof RegExp||e===null}function aB(e,t){return!(!Gz(e)||!Gz(t))}function oB(e,t){return typeof t==`string`?e===t:!!e.match(t)}function sB(e,t){if(!t)return!1;for(let n of t)if(oB(e,n))return!0;return!1}var cB=class{_promise;_resolve;_reject;constructor(){this._promise=new Promise((e,t)=>{this._resolve=e,this._reject=t})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}},lB=class{_isCalled=!1;_deferred=new cB;_callback;_that;constructor(e,t){this._callback=e,this._that=t}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(e=>this._deferred.resolve(e),e=>this._deferred.reject(e))}catch(e){this._deferred.reject(e)}}return this._deferred.promise}},uB;function dB(){if(uB===void 0)try{let e=globalThis.process.argv0;uB=e?`unknown_service:${e}`:`unknown_service`}catch{uB=`unknown_service`}return uB}var fB=e=>typeof e==`object`&&!!e&&typeof e.then==`function`,pB=class e{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,n){let r=new e({},n);return r._rawAttributes=gB(t),r._asyncAttributesPending=t.filter(([e,t])=>fB(t)).length>0,r}constructor(e,t){let n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([e,t])=>(fB(t)&&(this._asyncAttributesPending=!0),[e,t])),this._rawAttributes=gB(this._rawAttributes),this._schemaUrl=_B(t?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){let[t,n]=this._rawAttributes[e];this._rawAttributes[e]=[t,fB(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&rR.error(`Accessing resource attributes before async attributes settled`),this._memoizedAttributes)return this._memoizedAttributes;let e={};for(let[t,n]of this._rawAttributes){if(fB(n)){rR.debug(`Unsettled resource attribute ${t} skipped`);continue}n!=null&&(e[t]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;let n=vB(this,t),r=n?{schemaUrl:n}:void 0;return e.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],r)}};function mB(e,t){return pB.FromAttributeList(Object.entries(e),t)}function hB(){return mB({[qR]:dB(),[JR]:tz[JR],[XR]:tz[XR],[ZR]:tz[ZR]})}function gB(e){return e.map(([e,t])=>fB(t)?[e,t.catch(t=>{rR.debug(`promise rejection for resource attribute: %s - %s`,e,t)})]:[e,t])}function _B(e){if(typeof e==`string`||e===void 0)return e;rR.warn(`Schema URL must be string or undefined, got %s. Schema URL will be ignored.`,e)}function vB(e,t){let n=e?.schemaUrl,r=t?.schemaUrl,i=n===void 0||n===``,a=r===void 0||r===``;if(i)return r;if(a||n===r)return n;rR.warn(`Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.`,
188n,r)}var yB=`exception`,bB=class{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:tR.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(e){let t=Date.now();if(this._spanContext=e.spanContext,this._performanceStartTime=nz.now(),this._performanceOffset=t-(this._performanceStartTime+nz.timeOrigin),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,e.links)for(let t of e.links)this.addLink(t);this.startTime=this._getTime(e.startTime??t),this.resource=e.resource,this.instrumentationScope=e.scope,this._recordEndMetrics=e.recordEndMetrics,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,t){if(t==null||this._isSpanEnded())return this;if(e.length===0)return rR.warn(`Invalid attribute key: ${e}`),this;if(!kR(t))return rR.warn(`Invalid attribute value set for key: ${e}`),this;let{attributeCountLimit:n}=this._spanLimits,r=!Object.prototype.hasOwnProperty.call(this.attributes,e);return n!==void 0&&this._attributesCount>=n&&r?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(t),r&&this._attributesCount++,this)}setAttributes(e){for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.setAttribute(t,e[t]);return this}addEvent(e,t,n){if(this._isSpanEnded())return this;let{eventCountLimit:r}=this._spanLimits;if(r===0)return rR.warn(`No events allowed.`),this._droppedEventsCount++,this;r!==void 0&&this.events.length>=r&&(this._droppedEventsCount===0&&rR.debug(`Dropping extra events.`),this.events.shift(),this._droppedEventsCount++),fz(t)&&(fz(n)||(n=t),t=void 0);let i=DR(t),{attributePerEventCountLimit:a}=this._spanLimits,o={},s=0,c=0;for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;let t=i[e];if(a!==void 0&&c>=a){s++;continue}o[e]=this._truncateToSize(t),c++}return this.events.push({name:e,attributes:o,time:this._getTime(n),droppedAttributesCount:s}),this}addLink(e){if(this._isSpanEnded())return this;let{linkCountLimit:t}=this._spanLimits;if(t===0)return this._droppedLinksCount++,this;t!==void 0&&this.links.length>=t&&(this._droppedLinksCount===0&&rR.debug(`Dropping extra links.`),this.links.shift(),this._droppedLinksCount++);let{attributePerLinkCountLimit:n}=this._spanLimits,r=DR(e.attributes),i={},a=0,o=0;for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let t=r[e];if(n!==void 0&&o>=n){a++;continue}i[e]=this._truncateToSize(t),o++}let s={context:e.context};return o>0&&(s.attributes=i),a>0&&(s.droppedAttributesCount=a),this.links.push(s),this}addLinks(e){for(let t of e)this.addLink(t);return this}setStatus(e){if(this._isSpanEnded()||e.code===tR.UNSET||this.status.code===tR.OK)return this;let t={code:e.code};return e.code===tR.ERROR&&(typeof e.message==`string`?t.message=e.message:e.message!=null&&rR.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`)),this.status=t,this}updateName(e){return this._isSpanEnded()||(this.name=e),this}end(e){if(this._isSpanEnded()){rR.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(e),this._duration=lz(this.startTime,this.endTime),this._duration[0]<0&&(rR.warn(`Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.`,this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&rR.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&rR.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e==`number`&&e<=nz.now())return sz(e+this._performanceOffset);if(typeof e==`number`)return oz(e);if(e instanceof Date)return oz(e.getTime());if(dz(e))return e;if(this._startTimeProvided)return oz(Date.now());let t=nz.now()-this._performanceStartTime;return pz(this.startTime,oz(t))}isRecording(){return this._ended===!1}
188recordException(e,t){let n={};typeof e==`string`?n[zR]=e:e&&(e.code?n[VR]=e.code.toString():e.name&&(n[VR]=e.name),e.message&&(n[zR]=e.message),e.stack&&(n[BR]=e.stack)),n[`exception.type`]||n[`exception.message`]?this.addEvent(yB,n,t):rR.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let e=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);rR.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,t){return e.length<=t?e:e.substring(0,t)}_truncateToSize(e){let t=this._attributeValueLengthLimit;return t<=0?(rR.warn(`Attribute value limit must be positive, got ${t}`),e):typeof e==`string`?this._truncateToLimitUtil(e,t):Array.isArray(e)?e.map(e=>typeof e==`string`?this._truncateToLimitUtil(e,t):e):e}},xB;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(xB||={});var SB=class{shouldSample(){return{decision:xB.NOT_RECORD}}toString(){return`AlwaysOffSampler`}},CB=class{shouldSample(){return{decision:xB.RECORD_AND_SAMPLED}}toString(){return`AlwaysOnSampler`}},wB=class{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(e){this._root=e.root,this._root||=(IR(Error(`ParentBasedSampler must have a root sampler configured`)),new CB),this._remoteParentSampled=e.remoteParentSampled??new CB,this._remoteParentNotSampled=e.remoteParentNotSampled??new SB,this._localParentSampled=e.localParentSampled??new CB,this._localParentNotSampled=e.localParentNotSampled??new SB}shouldSample(e,t,n,r,i,a){let o=_R.getSpanContext(e);return!o||!WL(o)?this._root.shouldSample(e,t,n,r,i,a):o.isRemote?o.traceFlags&AL.SAMPLED?this._remoteParentSampled.shouldSample(e,t,n,r,i,a):this._remoteParentNotSampled.shouldSample(e,t,n,r,i,a):o.traceFlags&AL.SAMPLED?this._localParentSampled.shouldSample(e,t,n,r,i,a):this._localParentNotSampled.shouldSample(e,t,n,r,i,a)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}},TB=class{_ratio;_upperBound;constructor(e=0){this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,t){return{decision:HL(t)&&this._accumulate(t)<this._upperBound?xB.RECORD_AND_SAMPLED:xB.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!=`number`||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let t=0;for(let n=0;n<32;n+=8){let r=0;for(let t=0;t<8;t++){let i=e.charCodeAt(n+t),a=i<58?i-48:i<71?i-55:i-87;r=r<<4|a}t=(t^r)>>>0}return t}},EB;(function(e){e.AlwaysOff=`always_off`,e.AlwaysOn=`always_on`,e.ParentBasedAlwaysOff=`parentbased_always_off`,e.ParentBasedAlwaysOn=`parentbased_always_on`,e.ParentBasedTraceIdRatio=`parentbased_traceidratio`,e.TraceIdRatio=`traceidratio`})(EB||={});var DB=1;function OB(){return{sampler:kB(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function kB(){let e=EB.ParentBasedAlwaysOn;switch(e){case EB.AlwaysOn:return new CB;case EB.AlwaysOff:return new SB;case EB.ParentBasedAlwaysOn:return new wB({root:new CB});case EB.ParentBasedAlwaysOff:return new wB({root:new SB});case EB.TraceIdRatio:return new TB(AB());case EB.ParentBasedTraceIdRatio:return new wB({root:new TB(AB())});default:return rR.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${EB.ParentBasedAlwaysOn}".`),new wB({root:new CB})}}function AB(){return rR.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${DB}.`),DB}function jB(e){let t={sampler:kB()},n=OB(),r=Object.assign({},n,t,e);return r.generalLimits=Object.assign({},n.generalLimits,e.generalLimits||{}),r.spanLimits=Object.assign({},n.spanLimits,e.spanLimits||{}),r}function MB(e){let t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??128,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??1/0,Object.assign({},e,{spanLimits:t})}var NB=class{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(e,t){this._exporter=e,this._maxExportBatchSize=typeof t?.maxExportBatchSize==`number`?t.maxExportBatchSize:512,this._maxQueueSize=typeof t?.maxQueueSize==`number`?t.maxQueueSize:2048,this._scheduledDelayMillis=typeof t?.scheduledDelayMillis==`number`?t.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof t?.exportTimeoutMillis==`number`?t.exportTimeoutMillis:3e4,this._shutdownOnce=new lB(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(rR.warn(`BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize`),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,t){}onEnd(e){this._shutdownOnce.isCalled||(e.spanContext().traceFlags&AL.SAMPLED)!==0&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&rR.debug(`maxQueueSize reached, dropping spans`),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(rR.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,t)=>
188{let n=[],r=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let e=0,t=r;e<t;e++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{e()}).catch(t)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,t)=>{let n=setTimeout(()=>{t(Error(`Timeout`))},this._exportTimeoutMillis);nR.with(yR(nR.active()),()=>{let r;this._finishedSpans.length<=this._maxExportBatchSize?(r=this._finishedSpans,this._finishedSpans=[]):r=this._finishedSpans.splice(0,this._maxExportBatchSize);let i=()=>this._exporter.export(r,r=>{clearTimeout(n),r.code===mz.SUCCESS?e():t(r.error??Error(`BatchSpanProcessor: span export failed`))}),a=null;for(let e=0,t=r.length;e<t;e++){let t=r[e];t.resource.asyncAttributesPending&&t.resource.waitForAsyncAttributes&&(a??=[],a.push(t.resource.waitForAsyncAttributes()))}a===null?i():Promise.all(a).then(i,e=>{IR(e),t(e)})})})}_maybeStartTimer(){if(this._isExporting)return;let e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(e=>{this._isExporting=!1,IR(e)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),typeof this._timer!=`number`&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}},PB=class extends NB{_visibilityChangeListener;_pageHideListener;constructor(e,t){super(e,t),this.onInit(t)}onInit(e){e?.disableAutoFlushOnDocumentHide!==!0&&typeof document<`u`&&(this._visibilityChangeListener=()=>{document.visibilityState===`hidden`&&this.forceFlush().catch(e=>{IR(e)})},this._pageHideListener=()=>{this.forceFlush().catch(e=>{IR(e)})},document.addEventListener(`visibilitychange`,this._visibilityChangeListener),document.addEventListener(`pagehide`,this._pageHideListener))}onShutdown(){typeof document<`u`&&(this._visibilityChangeListener&&document.removeEventListener(`visibilitychange`,this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener(`pagehide`,this._pageHideListener))}},FB=16,IB=8,LB=new Uint8Array(FB),RB=new Uint8Array(IB),zB=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function BB(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function VB(e){let t=``;for(let n=0;n<e.length;n++)t+=zB[e[n]];return t}var HB=class{generateTraceId(){return BB(LB),VB(LB)}generateSpanId(){return BB(RB),VB(RB)}},UB=`otel.span.parent.origin`,WB=`otel.span.sampling_result`,GB=`otel.sdk.span.live`,KB=`otel.sdk.span.started`,qB=class{startedSpans;liveSpans;constructor(e){this.startedSpans=e.createCounter(KB,{unit:`{span}`,description:`The number of created spans.`}),this.liveSpans=e.createUpDownCounter(GB,{unit:`{span}`,description:`The number of currently live spans.`})}startSpan(e,t){let n=YB(t);if(this.startedSpans.add(1,{[UB]:JB(e),[WB]:n}),t===xB.NOT_RECORD)return()=>{};let r={[WB]:n};return this.liveSpans.add(1,r),()=>{this.liveSpans.add(-1,r)}}};function JB(e){return e?e.isRemote?`remote`:`local`:`none`}function YB(e){switch(e){case xB.RECORD_AND_SAMPLED:return`RECORD_AND_SAMPLE`;case xB.RECORD:return`RECORD_ONLY`;case xB.NOT_RECORD:return`DROP`}}var XB=`2.7.1`,ZB=class{_sampler;_generalLimits;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(e,t,n,r){let i=jB(t);this._sampler=i.sampler,this._generalLimits=i.generalLimits,this._spanLimits=i.spanLimits,this._idGenerator=t.idGenerator||new HB,this._resource=n,this._spanProcessor=r,this.instrumentationScope=e;let a=i.meterProvider?i.meterProvider.getMeter(`@opentelemetry/sdk-trace`,XB):CL();this._tracerMetrics=new qB(a)}startSpan(e,t={},n=nR.active()){t.root&&(n=_R.deleteSpan(n));let r=_R.getSpan(n);if(bR(n))return rR.debug(`Instrumentation suppressed, returning Noop Span`),_R.wrapSpanContext(jL);let i=r?.spanContext(),a=this._idGenerator.generateSpanId(),o,s,c;!i||!_R.isSpanContextValid(i)?s=this._idGenerator.generateTraceId():(s=i.traceId,c=i.traceState,o=i);let l=t.kind??eR.INTERNAL,u=(t.links??[]).map(e=>({context:e.context,attributes:DR(e.attributes)})),d=DR(t.attributes),f=this._sampler.shouldSample(n,s,e,l,d,u),p=this._tracerMetrics.startSpan(i,f.decision);c=f.traceState??c;let m=f.decision===$L.RECORD_AND_SAMPLED?AL.SAMPLED:AL.NONE,h={traceId:s,spanId:a,traceFlags:m,traceState:c};if(f.decision===$L.NOT_RECORD)return rR.debug(`Recording is off, prop
188agating context in a non-recording span`),_R.wrapSpanContext(h);let g=DR(Object.assign(d,f.attributes));return new bB({resource:this._resource,scope:this.instrumentationScope,context:n,spanContext:h,name:e,kind:l,links:u,parentSpanContext:o,attributes:g,startTime:t.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:p})}startActiveSpan(e,t,n,r){let i,a,o;if(arguments.length<2)return;arguments.length===2?o=t:arguments.length===3?(i=t,o=n):(i=t,a=n,o=r);let s=a??nR.active(),c=this.startSpan(e,i,s),l=_R.setSpan(s,c);return nR.with(l,o,void 0,c)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}},QB=class{_spanProcessors;constructor(e){this._spanProcessors=e}forceFlush(){let e=[];for(let t of this._spanProcessors)e.push(t.forceFlush());return new Promise(t=>{Promise.all(e).then(()=>{t()}).catch(e=>{IR(e||Error(`MultiSpanProcessor: forceFlush failed`)),t()})})}onStart(e,t){for(let n of this._spanProcessors)n.onStart(e,t)}onEnding(e){for(let t of this._spanProcessors)t.onEnding&&t.onEnding(e)}onEnd(e){for(let t of this._spanProcessors)t.onEnd(e)}shutdown(){let e=[];for(let t of this._spanProcessors)e.push(t.shutdown());return new Promise((t,n)=>{Promise.all(e).then(()=>{t()},n)})}},$B;(function(e){e[e.resolved=0]=`resolved`,e[e.timeout=1]=`timeout`,e[e.error=2]=`error`,e[e.unresolved=3]=`unresolved`})($B||={});var eV=class{_config;_tracers=new Map;_resource;_activeSpanProcessor;constructor(e={}){let t=Zz({},OB(),MB(e));this._resource=t.resource??hB(),this._config=Object.assign({},t,{resource:this._resource});let n=[];e.spanProcessors?.length&&n.push(...e.spanProcessors),this._activeSpanProcessor=new QB(n)}getTracer(e,t,n){let r=`${e}@${t||``}:${n?.schemaUrl||``}`;return this._tracers.has(r)||this._tracers.set(r,new ZB({name:e,version:t,schemaUrl:n?.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(r)}forceFlush(){let e=this._config.forceFlushTimeoutMillis,t=this._activeSpanProcessor._spanProcessors.map(t=>new Promise(n=>{let r,i=setTimeout(()=>{n(Error(`Span processor did not completed within timeout period of ${e} ms`)),r=$B.timeout},e);t.forceFlush().then(()=>{clearTimeout(i),r!==$B.timeout&&(r=$B.resolved,n(r))}).catch(e=>{clearTimeout(i),r=$B.error,n(e)})}));return new Promise((e,n)=>{Promise.all(t).then(t=>{let r=t.filter(e=>e!==$B.resolved);r.length>0?n(r):e()}).catch(e=>n([e]))})}shutdown(){return this._activeSpanProcessor.shutdown()}},tV=class{_enabled=!1;_currentContext=iL;_bindFunction(e=iL,t){let n=this,r=function(...r){return n.with(e,()=>t.apply(this,r))};return Object.defineProperty(r,`length`,{enumerable:!1,configurable:!0,writable:!1,value:t.length}),r}active(){return this._currentContext}bind(e,t){return e===void 0&&(e=this.active()),typeof t==`function`?this._bindFunction(e,t):t}disable(){return this._currentContext=iL,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=iL,this)}with(e,t,n,...r){let i=this._currentContext;this._currentContext=e||iL;try{return t.call(n,...r)}finally{this._currentContext=i}}};function nV(e){if(e!==null){if(e===void 0){let e=new tV;e.enable(),nR.setGlobalContextManager(e);return}e.enable(),nR.setGlobalContextManager(e)}}function rV(e){if(e!==null){if(e===void 0){hR.setGlobalPropagator(new hz({propagators:[new Pz,new ER]}));return}hR.setGlobalPropagator(e)}}var iV=class extends eV{constructor(e={}){super(e)}register(e={}){_R.setGlobalTracerProvider(this),rV(e.propagator),nV(e.contextManager)}},Y;(function(e){e.CONNECT_END=`connectEnd`,e.CONNECT_START=`connectStart`,e.DECODED_BODY_SIZE=`decodedBodySize`,e.DOM_COMPLETE=`domComplete`,e.DOM_CONTENT_LOADED_EVENT_END=`domContentLoadedEventEnd`,e.DOM_CONTENT_LOADED_EVENT_START=`domContentLoadedEventStart`,e.DOM_INTERACTIVE=`domInteractive`,e.DOMAIN_LOOKUP_END=`domainLookupEnd`,e.DOMAIN_LOOKUP_START=`domainLookupStart`,e.ENCODED_BODY_SIZE=`encodedBodySize`,e.FETCH_START=`fetchStart`,e.LOAD_EVENT_END=`loadEventEnd`,e.LOAD_EVENT_START=`loadEventStart`,e.NAVIGATION_START=`navigationStart`,e.REDIRECT_END=`redirectEnd`,e.REDIRECT_START=`redirectStart`,e.REQUEST_START=`requestStart`,e.RESPONSE_END=`responseEnd`,e.RESPONSE_START=`responseStart`,e.SECURE_CONNECTION_START=`secureConnectionStart`,e.START_TIME=`startTime`,e.UNLOAD_EVENT_END=`unloadEventEnd`,e.UNLOAD_EVENT_START=`unloadEventStart`})(Y||={});var aV=`http.response_content_length`,oV=`http.response_content_length_uncompressed`,sV;function cV(){return sV||=document.createElement(`a`),sV}function lV(e,t){return t in e}
188function uV(e,t,n,r=!0){if(lV(n,t)&&typeof n[t]==`number`&&!(r&&n[t]===0))return e.addEvent(t,n[t])}function dV(e,t,n=!1,r,i){if(r===void 0&&(r=t[Y.START_TIME]!==0),n||(uV(e,Y.FETCH_START,t,r),uV(e,Y.DOMAIN_LOOKUP_START,t,r),uV(e,Y.DOMAIN_LOOKUP_END,t,r),uV(e,Y.CONNECT_START,t,r),uV(e,Y.SECURE_CONNECTION_START,t,r),uV(e,Y.CONNECT_END,t,r),uV(e,Y.REQUEST_START,t,r),uV(e,Y.RESPONSE_START,t,r),uV(e,Y.RESPONSE_END,t,r)),!i){let n=t[Y.ENCODED_BODY_SIZE];n!==void 0&&e.setAttribute(aV,n);let r=t[Y.DECODED_BODY_SIZE];r!==void 0&&n!==r&&e.setAttribute(oV,r)}}function fV(e){return e.slice().sort((e,t)=>{let n=e[Y.FETCH_START],r=t[Y.FETCH_START];return n>r?1:n<r?-1:0})}function pV(){return typeof location<`u`?location.origin:void 0}function mV(e,t,n,r,i=new WeakSet,a){let o=_V(e);e=o.toString();let s=gV(e,t,n,r,i,a);if(s.length===0)return{mainRequest:void 0};if(s.length===1)return{mainRequest:s[0]};let c=fV(s);if(o.origin!==pV()&&c.length>1){let e=c[0],t=hV(c,e[Y.RESPONSE_END],n),r=e[Y.RESPONSE_END];return t[Y.FETCH_START]<r&&(t=e,e=void 0),{corsPreFlightRequest:e,mainRequest:t}}else return{mainRequest:s[0]}}function hV(e,t,n){let r=uz(n),i=uz(cz(t)),a=e[1],o,s=e.length;for(let t=1;t<s;t++){let n=e[t],s=uz(cz(n[Y.FETCH_START])),c=r-uz(cz(n[Y.RESPONSE_END]));s>=i&&(!o||c<o)&&(o=c,a=n)}return a}function gV(e,t,n,r,i,a){let o=uz(t),s=uz(n),c=r.filter(t=>{let n=uz(cz(t[Y.FETCH_START])),r=uz(cz(t[Y.RESPONSE_END]));return t.initiatorType.toLowerCase()===(a||`xmlhttprequest`)&&t.name===e&&n>=o&&r<=s});return c.length>0&&(c=c.filter(e=>!i.has(e))),c}function _V(e){if(typeof URL==`function`)return new URL(e,typeof document<`u`?document.baseURI:typeof location<`u`?location.href:void 0);let t=cV();return t.href=e,t}function vV(e,t){let n=t||[];return(typeof n==`string`||n instanceof RegExp)&&(n=[n]),_V(e).origin===pV()?!0:n.some(t=>oB(e,t))}function yV(e){return typeof e==`object`&&!!e&&`addEventListener`in e&&typeof e.addEventListener==`function`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`}var bV=`OT_ZONE_CONTEXT`,xV=class{_enabled=!1;_bindFunction(e,t){let n=this,r=function(...r){return n.with(e,()=>t.apply(this,r))};return Object.defineProperty(r,`length`,{enumerable:!1,configurable:!0,writable:!1,value:t.length}),r}_bindListener(e,t){let n=t;return n.__ot_listeners===void 0?(n.__ot_listeners={},typeof n.addEventListener==`function`&&(n.addEventListener=this._patchAddEventListener(n,n.addEventListener,e)),typeof n.removeEventListener==`function`&&(n.removeEventListener=this._patchRemoveEventListener(n,n.removeEventListener)),t):t}_createZone(e,t){return Zone.current.fork({name:e,properties:{[bV]:t},onCancelTask(e,t,n,r){return r.state===`notScheduled`||r.state===`running`?r:e.cancelTask(n,r)}})}_patchAddEventListener(e,t,n){let r=this;return function(i,a,o){e.__ot_listeners===void 0&&(e.__ot_listeners={});let s=e.__ot_listeners[i];s===void 0&&(s=new WeakMap,e.__ot_listeners[i]=s);let c=r.bind(n,a);return s.set(a,c),t.call(this,i,c,o)}}_patchRemoveEventListener(e,t){return function(n,r){if(e.__ot_listeners===void 0||e.__ot_listeners[n]===void 0)return t.call(this,n,r);let i=e.__ot_listeners[n],a=i.get(r);return i.delete(r),t.call(this,n,a||r)}}active(){return!this._enabled||!Zone.current?iL:Zone.current.get(bV)||iL}bind(e,t){return typeof t==`function`?this._bindFunction(e,t):(yV(t)&&this._bindListener(e,t),t)}disable(){return this._enabled=!1,this}enable(){return this._enabled=!0,this}with(e,t,n,...r){let i=`otel:with`;return t.name&&(i+=`:${t.name}`),this._createZone(i,e).run(t,n,r)}},SV=Object.defineProperty,CV=Object.defineProperties,wV=Object.getOwnPropertyDescriptors,TV=Object.getOwnPropertySymbols,EV=Object.prototype.hasOwnProperty,DV=Object.prototype.propertyIsEnumerable,OV=(e,t,n)=>t in e?SV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kV=(e,t)=>{for(var n in t||={})EV.call(t,n)&&OV(e,n,t[n]);if(TV)for(var n of TV(t))DV.call(t,n)&&OV(e,n,t[n]);return e},AV=(e,t)=>CV(e,wV(t)),X=(e,t,n)=>(OV(e,typeof t==`symbol`?t:t+``,n),n),jV=globalThis;function MV(e){return(jV.__Zone_symbol_prefix||`__zone_symbol__`)+e}function NV(){let e=jV.performance;function t(t){e&&e.mark&&e.mark(t)}function n(t,n){e&&e.measure&&e.measure(t,n)}t(`Zone`);let r=class e{constructor(e,t){X(this,`_parent`),X(this,`_name`),X(this,`_properties`),X(this,`_zoneDelegate`),this._parent=e,this._name=t?t.name||`unnamed`:`<root>`,this._properties=t&&t.properties||{},this._zoneDelegate=new o(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(jV.Promise!==k.ZoneAwarePromise)throw Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=e.current;for(;t.parent;)t=t.parent;return t}static get current(){return j.zone}static get currentTask(){return M}static __load_patch(r,i,a=!1){if(k.hasOwnProperty(r)){let e=jV[MV(`forceDuplicateZoneCheck`)]===!0;if(!a&&e)throw Error(`Already loaded patch: `+r)}else if(!jV[`__Zone_disable_`+r]){let a=`Zone:`+r;t(a),k[r]=i(jV,e,A),n(a,a)}}get parent(){return this._parent}get name(){return this._name}get(e){let t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw Error(`ZoneSpec required!`);return this._zoneDelegate.fork(this,e)}wrap(e,t){if(typeof e!=`function`)throw Error(`Expecting function got: `+e);let n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}run(e,t,n,r){j={parent:j,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{j=j.parent}}runGuarded(e,t=null,n,r){j={parent:j,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{j=j.parent}}runTask(e,t,n){if(e.zone!=this)throw Error(`A task can only be run in the zone of creation! (Creation: `+(e.zone||v).name+`; Execution: `+this.name+`)`);let r=e,{type:i,data:{isPeriodic:a=!1,isRefreshable:o=!1}={}}=e;if(e.state===y&&(i===O||i===D))return;let s=e.state!=S;s&&r._transitionTo(S,x);let c=M;M=r,j={parent:j,zone:this};try{i==D&&e.data&&!a&&!o&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{let t=e.state;if(t!==y&&t!==w)if(i==O||a||o&&t===b)s&&r._transitionTo(x,S,b);else{let e=r._zoneDelegates;this._updateTaskCount(r,-1),s&&r._transitionTo(y,S,y),o&&(r._zoneDelegates=e)}j=j.parent,M=c}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(b,y);let t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(w,b,y),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(x,b),e}scheduleMicroTask(e,t,n,r){return this.scheduleTask(new s(E,e,t,n,r,void 0))}scheduleMacroTask(e,t,n,r,i){return this.scheduleTask(new s(D,e,t,n,r,i))}scheduleEventTask(e,t,n,r,i){return this.scheduleTask(new s(O,e,t,n,r,i))}cancelTask(e){if(e.zone!=this)throw Error(`A task can only be cancelled in the zone of creation! (Creation: `+(e.zone||v).name+`; Execution: `+this.name+`)`);if(!(e.state!==x&&e.state!==S)){e._transitionTo(C,x,S);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(w,C),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,C),e.runCount=-1,e}}_updateTaskCount(e,t){let n=e._zoneDelegates;t==-1&&(e._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)}};X(r,`__symbol__`,MV);let i=r,a={name:``,onHasTask:(e,t,n,r)=>e.hasTask(n,r),onScheduleTask:(e,t,n,r)=>e.scheduleTask(n,r),onInvokeTask:(e,t,n,r,i,a)=>e.invokeTask(n,r,i,a),onCancelTask:(e,t,n,r)=>e.cancelTask(n,r)};class o{constructor(e,t,n){X(this,`_zone`),X(this,`_taskCounts`,{microTask:0,macroTask:0,eventTask:0}),X(this,`_forkDlgt`),X(this,`_forkZS`),X(this,`_forkCurrZone`),X(this,`_interceptDlgt`),X(this,`_interceptZS`),X(this,`_interceptCurrZone`),X(this,`_invokeDlgt`),X(this,`_invokeZS`),X(this,`_invokeCurrZone`),X(this,`_handleErrorDlgt`),X(this,`_handleErrorZS`),X(this,`_handleErrorCurrZone`),X(this,`_scheduleTaskDlgt`),X(this,`_scheduleTaskZS`),X(this,`_scheduleTaskCurrZone`),X(this,`_invokeTaskDlgt`),X(this,`_invokeTaskZS`),X(this,`_invokeTaskCurrZone`),X(this,`_cancelTaskDlgt`),X(this,`_cancelTaskZS`),X(this,`_cancelTaskCurrZone`),X(this,`_hasTaskDlgt`),X(this,`_hasTaskDlgtOwner`),X(this,`_hasTaskZS`),X(this,`_hasTaskCurrZone`),this._zone=e,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this._zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this._zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this._zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this._zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this._zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this._zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this._zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let r=n&&n.onHasTask,i=t&&t._hasTaskZS;(r||i)&&(this._hasTaskZS=r?n:a,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,n.onScheduleTask||(this._scheduleTaskZS=a,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this._zone),n.onInvokeTask||(this._invokeTaskZS=a,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this._zone),n.onCancelTask||(this._cancelTaskZS=a,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this._zone))}get zone(){return this._zone}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,i):t.apply(n,r)}handleError(e,t){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t):!0}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||=t;else if(t.scheduleFn)t.scheduleFn(t);else if(t.type==E)g(t);else throw Error(`Task is missing scheduleFn.`);return n}invokeTask(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error(`Task is not cancelable`);n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(t){this.handleError(e,t)}}_updateTaskCount(e,t){let n=this._taskCounts,r=n[e],i=n[e]=r+t;if(i<0)throw Error(`More tasks executed then were scheduled.`);if(r==0||i==0){let t={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};this.hasTask(this._zone,t)}}}class s{constructor(e,t,n,r,i,a){if(X(this,`type`),X(this,`source`),X(this,`invoke`),X(this,`callback`),X(this,`data`),X(this,`scheduleFn`),X(this,`cancelFn`),X(this,`_zone`,null),X(this,`runCount`,0),X(this,`_zoneDelegates`,null),X(this,`_state`,`notScheduled`),this.type=e,this.source=t,this.data=r,this.scheduleFn=i,this.cancelFn=a,!n)throw Error(`callback is not defined`);this.callback=n;let o=this;e===O&&r&&r.useG?this.invoke=s.invokeTask:this.invoke=function(){return s.invokeTask.call(jV,o,this,arguments)}}static invokeTask(e,t,n){e||=this,N++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{N===1&&!jV[d]&&_(),N--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(y,b)}_transitionTo(e,t,n){if(this._state===t||this._state===n)this._state=e,e==y&&(this._zoneDelegates=null);else throw Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?` or '`+n+`'`:``}, was '${this._state}'.`)}toString(){return this.data&&this.data.handleId!==void 0?this.data.handleId.toString():Object.prototype.toString.call(this)}
188toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let c=MV(`setTimeout`),l=MV(`Promise`),u=MV(`then`),d=MV(`enable_native_microtask_draining`),f=[],p=!1,m;function h(e){!m&&jV[l]&&(m=jV[l].resolve(0)),m?(m[u]??m.then).call(m,e):jV[c](e,0)}function g(e){let t=jV[d],n=t&&f.length===0&&!p,r=!t&&N===0&&f.length===0;(n||r)&&h(_),e&&f.push(e)}function _(){if(!p){for(p=!0;f.length;){let e=f;f=[];for(let t of e)try{t.zone.runTask(t,null,null)}catch(e){A.onUnhandledError(e)}}jV[d]?(p=!1,A.microtaskDrainDone()):(A.microtaskDrainDone(),p=!1)}}let v={name:`NO ZONE`},y=`notScheduled`,b=`scheduling`,x=`scheduled`,S=`running`,C=`canceling`,w=`unknown`,E=`microTask`,D=`macroTask`,O=`eventTask`,k={},A={symbol:MV,currentZoneFrame:()=>j,onUnhandledError:P,microtaskDrainDone:P,scheduleMicroTask:g,showUncaughtError:()=>!i[MV(`ignoreConsoleErrorUncaughtError`)],patchEventTarget:()=>[],patchOnProperties:P,patchMethod:()=>P,bindArguments:()=>[],patchThen:()=>P,patchMacroTask:()=>P,patchEventPrototype:()=>P,getGlobalObjects:()=>void 0,ObjectDefineProperty:()=>P,ObjectGetOwnPropertyDescriptor:()=>void 0,ObjectCreate:()=>void 0,ArraySlice:()=>[],patchClass:()=>P,wrapWithCurrentZone:()=>P,filterProperties:()=>[],attachOriginToPatched:()=>P,_redefineProperty:()=>P,patchCallbacks:()=>P,nativeScheduleMicroTask:h},j={parent:null,zone:new i(null,null)},M=null,N=0;function P(){}return n(`Zone`,`Zone`),i}function PV(){let e=globalThis,t=e[MV(`forceDuplicateZoneCheck`)]===!0;if(e.Zone&&(t||typeof e.Zone.__symbol__!=`function`))throw Error(`Zone already loaded.`);return e.Zone??=NV(),e.Zone}var FV=Object.getOwnPropertyDescriptor,IV=Object.defineProperty,LV=Object.getPrototypeOf,RV=Object.create,zV=Array.prototype.slice,BV=`addEventListener`,VV=`removeEventListener`,HV=MV(BV),UV=MV(VV),WV=`true`,GV=`false`,KV=MV(``);function qV(e,t){return Zone.current.wrap(e,t)}function JV(e,t,n,r,i){return Zone.current.scheduleMacroTask(e,t,n,r,i)}var YV=MV,XV=typeof window<`u`,ZV=XV?window:void 0,QV=XV&&ZV||globalThis,$V=`removeAttribute`;function eH(e,t){for(let n=e.length-1;n>=0;n--)typeof e[n]==`function`&&(e[n]=qV(e[n],t+`_`+n));return e}function tH(e,t){let n=e.constructor.name;for(let r=0;r<t.length;r++){let i=t[r],a=e[i];if(a){if(!nH(FV(e,i)))continue;e[i]=(e=>{let t=function(){return e.apply(this,eH(arguments,n+`.`+i))};return vH(t,e),t})(a)}}}function nH(e){return e?e.writable===!1?!1:!(typeof e.get==`function`&&e.set===void 0):!0}var rH=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope,iH=!(`nw`in QV)&&QV.process!==void 0&&QV.process.toString()===`[object process]`,aH=!iH&&!rH&&!!(XV&&ZV.HTMLElement),oH=QV.process!==void 0&&QV.process.toString()===`[object process]`&&!rH&&!!(XV&&ZV.HTMLElement),sH={},cH=YV(`enable_beforeunload`),lH=function(e){if(e||=QV.event,!e)return;let t=sH[e.type];t||=sH[e.type]=YV(`ON_PROPERTY`+e.type);let n=this||e.target||QV,r=n[t],i;if(aH&&n===ZV&&e.type===`error`){let t=e;i=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),i===!0&&e.preventDefault()}else i=r&&r.apply(this,arguments),e.type===`beforeunload`&&QV[cH]&&typeof i==`string`?e.returnValue=i:i!=null&&!i&&e.preventDefault();return i};function uH(e,t,n){let r=FV(e,t);if(!r&&n&&FV(n,t)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let i=YV(`on`+t+`patched`);if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;let a=r.get,o=r.set,s=t.slice(2),c=sH[s];c||=sH[s]=YV(`ON_PROPERTY`+s),r.set=function(t){let n=this;!n&&e===QV&&(n=QV),n&&(typeof n[c]==`function`&&n.removeEventListener(s,lH),o?.call(n,null),n[c]=t,typeof t==`function`&&n.addEventListener(s,lH,!1))},r.get=function(){let n=this;if(!n&&e===QV&&(n=QV),!n)return null;let i=n[c];if(i)return i;if(a){let e=a.call(this);if(e)return r.set.call(this,e),typeof n[$V]==`function`&&n.removeAttribute(t),e}return null},IV(e,t,r),e[i]=!0}function dH(e,t,n){if(t)for(let r=0;r<t.length;r++)uH(e,`on`+t[r],n);else{let t=[];for(let n in e)n.slice(0,2)==`on`&&t.push(n);for(let r=0;r<t.length;r++)uH(e,t[r],n)}}var fH=YV(`originalInstance`);function pH(e){let t=QV[e];if(!t)return;QV[YV(e)]=t,QV[e]=function(){let n=eH(arguments,e);switch(n.length){case 0:this[fH]=new t;break;case 1:this[fH]=new t(n[0]);break;case 2:this[fH]=new t(n[0],n[1]);break;case 3:this[fH]=new t(n[0],n[1],n[2]);break;case 4:this[fH]=new t(n[0],n[1],n[2],n[3]);break;default:throw Error(`Arg list too long.`)}},vH(QV[e],t);let n=new t(function(){}),r;for(r in n)e===`XMLHttpRequest`&&r===`responseBlob`||(function(t){typeof n[t]==`function`?QV[e].prototype[t]=function(){return this[fH][t].apply(this[fH],arguments)}
188:IV(QV[e].prototype,t,{set:function(n){typeof n==`function`?(this[fH][t]=qV(n,e+`.`+t),vH(this[fH][t],n)):this[fH][t]=n},get:function(){return this[fH][t]}})})(r);for(r in t)r!==`prototype`&&t.hasOwnProperty(r)&&(QV[e][r]=t[r])}function mH(e,t){typeof Object.getOwnPropertySymbols==`function`&&Object.getOwnPropertySymbols(e).forEach(n=>{let r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){r&&(!r.writable||typeof r.set!=`function`)||(e[n]=t)},enumerable:r?r.enumerable:!0,configurable:r?r.configurable:!0})})}var hH=!1;function gH(e,t,n){let r=e;for(;r&&!r.hasOwnProperty(t);)r=LV(r);!r&&e[t]&&(r=e);let i=YV(t),a=null;if(r&&(!(a=r[i])||!r.hasOwnProperty(i))&&(a=r[i]=r[t],nH(r&&FV(r,t)))){let e=n(a,i,t);r[t]=function(){return e(this,arguments)},vH(r[t],a),hH&&mH(a,r[t])}return a}function _H(e,t,n){let r=null;function i(e){let t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=gH(e,t,e=>function(t,r){let a=n(t,r);return a.cbIdx>=0&&typeof r[a.cbIdx]==`function`?JV(a.name,r[a.cbIdx],a,i):e.apply(t,r)})}function vH(e,t){e[YV(`OriginalDelegate`)]=t}function yH(e){return typeof e==`function`}function bH(e){return typeof e==`number`}var xH={useG:!0},SH={},CH={},wH=RegExp(`^`+KV+`(\\w+)(true|false)$`),TH=YV(`propagationStopped`);function EH(e,t){let n=(t?t(e):e)+GV,r=(t?t(e):e)+WV,i=KV+n,a=KV+r;SH[e]={},SH[e][GV]=i,SH[e][WV]=a}function DH(e,t,n,r){let i=r&&r.add||BV,a=r&&r.rm||VV,o=r&&r.listeners||`eventListeners`,s=r&&r.rmAll||`removeAllListeners`,c=YV(i),l=`.`+i+`:`,u=`prependListener`;``+u;let d=function(e,t,n){if(e.isRemoved)return;let r=e.callback;typeof r==`object`&&r.handleEvent&&(e.callback=e=>r.handleEvent(e),e.originalDelegate=r);let i;try{e.invoke(e,t,[n])}catch(e){i=e}let o=e.options;if(o&&typeof o==`object`&&o.once){let r=e.originalDelegate?e.originalDelegate:e.callback;t[a].call(t,n.type,r,o)}return i};function f(n,r,i){if(r||=e.event,!r)return;let a=n||r.target||e,o=a[SH[r.type][i?WV:GV]];if(o){let e=[];
vendor: 5,655 bytes, line 188
188if(o.length===1){let t=d(o[0],a,r);t&&e.push(t)}else{let t=o.slice();for(let n=0;n<t.length&&!(r&&r[TH]===!0);n++){let i=d(t[n],a,r);i&&e.push(i)}}if(e.length===1)throw e[0];for(let n=0;n<e.length;n++){let r=e[n];t.nativeScheduleMicroTask(()=>{throw r})}}}let p=function(e){return f(this,e,!1)},m=function(e){return f(this,e,!0)};function h(t,n){if(!t)return!1;let r=!0;n&&n.useG!==void 0&&(r=n.useG);let d=n&&n.vh,f=!0;n&&n.chkDup!==void 0&&(f=n.chkDup);let h=!1;n&&n.rt!==void 0&&(h=n.rt);let g=t;for(;g&&!g.hasOwnProperty(i);)g=LV(g);if(!g&&t[i]&&(g=t),!g||g[c])return!1;let _=n&&n.eventNameToString,v={},y=g[c]=g[i],b=g[YV(a)]=g[a],x=g[YV(o)]=g[o],S=g[YV(s)]=g[s],C;n&&n.prepend&&(C=g[YV(n.prepend)]=g[n.prepend]);function w(e,t){return t?typeof e==`boolean`?{capture:e,passive:!0}:e?typeof e==`object`&&e.passive!==!1?AV(kV({},e),{passive:!0}):e:{passive:!0}:e}let E=function(e){if(!v.isExisting)return y.call(v.target,v.eventName,v.capture?m:p,v.options)},D=function(e){if(!e.isRemoved){let t=SH[e.eventName],n;t&&(n=t[e.capture?WV:GV]);let r=n&&e.target[n];if(r){for(let t=0;t<r.length;t++)if(r[t]===e){r.splice(t,1),e.isRemoved=!0,e.removeAbortListener&&=(e.removeAbortListener(),null),r.length===0&&(e.allRemoved=!0,e.target[n]=null);break}}}if(e.allRemoved)return b.call(e.target,e.eventName,e.capture?m:p,e.options)},O=function(e){return y.call(v.target,v.eventName,e.invoke,v.options)},k=function(e){return C.call(v.target,v.eventName,e.invoke,v.options)},A=function(e){return b.call(e.target,e.eventName,e.invoke,e.options)},j=r?E:O,M=r?D:A,N=n?.diff||function(e,t){let n=typeof t;return n===`function`&&e.callback===t||n===`object`&&e.originalDelegate===t},P=Zone[YV(`UNPATCHED_EVENTS`)],F=e[YV(`PASSIVE_EVENTS`)];function ee(e){if(typeof e==`object`&&e){let t=kV({},e);return e.signal&&(t.signal=e.signal),t}return e}let I=function(t,i,a,o,s=!1,c=!1){return function(){let l=this||e,u=arguments[0];n&&n.transferEventName&&(u=n.transferEventName(u));let p=arguments[1];if(!p||iH&&u===`uncaughtException`)return t.apply(this,arguments);let m=!1;if(typeof p!=`function`){if(!p.handleEvent)return t.apply(this,arguments);m=!0}if(d&&!d(t,p,l,arguments))return;let h=!!F&&F.indexOf(u)!==-1,g=ee(w(arguments[2],h)),y=g?.signal;if(y?.aborted)return;if(P){for(let e=0;e<P.length;e++)if(u===P[e])return h?t.call(l,u,p,g):t.apply(this,arguments)}let b=g?typeof g==`boolean`?!0:g.capture:!1,x=g&&typeof g==`object`?g.once:!1,S=Zone.current,C=SH[u];C||=(EH(u,_),SH[u]);let E=C[b?WV:GV],D=l[E],O=!1;if(D){if(O=!0,f){for(let e=0;e<D.length;e++)if(N(D[e],p))return}}else D=l[E]=[];let k,A=l.constructor.name,j=CH[A];j&&(k=j[u]),k||=A+i+(_?_(u):u),v.options=g,x&&(v.options.once=!1),v.target=l,v.capture=b,v.eventName=u,v.isExisting=O;let M=r?xH:void 0;M&&(M.taskData=v),y&&(v.options.signal=void 0);let I=S.scheduleEventTask(k,p,M,a,o);if(y){v.options.signal=y;let e=()=>I.zone.cancelTask(I);t.call(y,`abort`,e,{once:!0}),I.removeAbortListener=()=>y.removeEventListener(`abort`,e)}if(v.target=null,M&&(M.taskData=null),x&&(v.options.once=!0),typeof I.options!=`boolean`&&(I.options=g),I.target=l,I.capture=b,I.eventName=u,m&&(I.originalDelegate=p),c?D.unshift(I):D.push(I),s)return l}};return g[i]=I(y,l,j,M,h),C&&(g[u]=I(C,`.prependListener:`,k,M,h,!0)),g[a]=function(){let t=this||e,r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));let i=arguments[2],a=i?typeof i==`boolean`?!0:i.capture:!1,o=arguments[1];if(!o)return b.apply(this,arguments);if(d&&!d(b,o,t,arguments))return;let s=SH[r],c;s&&(c=s[a?WV:GV]);let l=c&&t[c];if(l)for(let e=0;e<l.length;e++){let n=l[e];if(N(n,o)){if(l.splice(e,1),n.isRemoved=!0,l.length===0&&(n.allRemoved=!0,t[c]=null,!a&&typeof r==`string`)){let e=KV+`ON_PROPERTY`+r;t[e]=null}return n.zone.cancelTask(n),h?t:void 0}}return b.apply(this,arguments)},g[o]=function(){let t=this||e,r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));let i=[],a=OH(t,_?_(r):r);for(let e=0;e<a.length;e++){let t=a[e],n=t.originalDelegate?t.originalDelegate:t.callback;i.push(n)}return i},g[s]=function(){let t=this||e,r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));let e=SH[r];if(e){let n=e[GV],i=e[WV],o=t[n],s=t[i];if(o){let e=o.slice();for(let t=0;t<e.length;t++){let n=e[t],i=n.originalDelegate?n.originalDelegate:n.callback;this[a].call(this,r,i,n.options)}}if(s){let e=s.slice();for(let t=0;t<e.length;t++){let n=e[t],i=n.originalDelegate?n.originalDelegate:n.callback;this[a].call(this,r,i,n.options)}}}}else{let e=Object.keys(t);for(let t=0;t<e.length;t++){let n=e[t],r=wH.exec(n),i=r&&r[1];i&&i!==`removeListener`&&this[s].call(this,i)}this[s].call(this,`removeListener`)}if(h)return this},vH(g[i],y),vH(g[a],b),S&&vH(g[s],S),x&&vH(g[o],x),!0}let g=[];for(let e=0;e<n.length;e++)g[e]=h(n[e],r);return g}function OH(e,t){if(!t){let n=[];for(let r in e){let i=wH.exec(r),a=i&&i[1];if(a&&(!t||a===t)){let t=e[r];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=SH[t];n||=(EH(t),SH[t]);let r=e[n[GV]],i=e[n[WV]];return r?i?r.concat(i):r.slice():i?i.slice():[]}function kH(e,t){let n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,`stopImmediatePropagation`,e=>function(t,n){t[TH]=!0,e&&e.apply(t,n)})}function AH(e,t){t.patchMethod(e,`queueMicrotask`,e=>function(e,t){Zone.current.scheduleMicroTask(`queueMicrotask`,t[0])})}var jH=YV(`zoneTask`);function MH(e,t,n,r){let i=null,a=null;t+=r,n+=r;let o={};function s(t){let n=t.data;n.args[0]=function(){return t.invoke.apply(this,arguments)};let r=i.apply(e,n.args);return bH(r)?n.handleId=r:(n.handle=r,n.isRefreshable=yH(r.refresh)),t}function c(t){let{handle:n,handleId:r}=t.data;return a.call(e,n??r)}i=gH(e,t,n=>
188function(i,a){if(yH(a[0])){let e={isRefreshable:!1,isPeriodic:r===`Interval`,delay:r===`Timeout`||r===`Interval`?a[1]||0:void 0,args:a},n=a[0];a[0]=function(){try{return n.apply(this,arguments)}finally{let{handle:t,handleId:n,isPeriodic:r,isRefreshable:i}=e;!r&&!i&&(n?delete o[n]:t&&(t[jH]=null))}};let i=JV(t,a[0],e,s,c);if(!i)return i;let{handleId:l,handle:u,isRefreshable:d,isPeriodic:f}=i.data;if(l)o[l]=i;else if(u&&(u[jH]=i,d&&!f)){let e=u.refresh;u.refresh=function(){let{zone:t,state:n}=i;return n===`notScheduled`?(i._state=`scheduled`,t._updateTaskCount(i,1)):n===`running`&&(i._state=`scheduling`),e.call(this)}}return u??l??i}else return n.apply(e,a)}),a=gH(e,n,t=>function(n,r){let i=r[0],a;bH(i)?(a=o[i],delete o[i]):(a=i?.[jH],a?i[jH]=null:a=i),a?.type?a.cancelFn&&a.zone.cancelTask(a):t.apply(e,r)})}function NH(e,t){let{isBrowser:n,isMix:r}=t.getGlobalObjects();!n&&!r||!e.customElements||!(`customElements`in e)||t.patchCallbacks(t,e.customElements,`customElements`,`define`,[`connectedCallback`,`disconnectedCallback`,`adoptedCallback`,`attributeChangedCallback`,`formAssociatedCallback`,`formDisabledCallback`,`formResetCallback`,`formStateRestoreCallback`])}function PH(e,t){if(Zone[t.symbol(`patchEventTarget`)])return;let{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:a,ZONE_SYMBOL_PREFIX:o}=t.getGlobalObjects();for(let e=0;e<n.length;e++){let t=n[e],s=t+a,c=t+i,l=o+s,u=o+c;r[t]={},r[t][a]=l,r[t][i]=u}let s=e.EventTarget;if(!(!s||!s.prototype))return t.patchEventTarget(e,t,[s&&s.prototype]),!0}function FH(e,t){t.patchEventPrototype(e,t)}function IH(e,t,n){if(!n||n.length===0)return t;let r=n.filter(t=>t.target===e);if(r.length===0)return t;let i=r[0].ignoreProperties;return t.filter(e=>i.indexOf(e)===-1)}function LH(e,t,n,r){e&&dH(e,IH(e,t,n),r)}function RH(e){return Object.getOwnPropertyNames(e).filter(e=>e.startsWith(`on`)&&e.length>2).map(e=>e.substring(2))}function zH(e,t){if(iH&&!oH||Zone[e.symbol(`patchEvents`)])return;let n=t.__Zone_ignore_on_properties,r=[];if(aH){let e=window;r=r.concat([`Document`,`SVGElement`,`Element`,`HTMLElement`,`HTMLBodyElement`,`HTMLMediaElement`,`HTMLFrameSetElement`,`HTMLFrameElement`,`HTMLIFrameElement`,`HTMLMarqueeElement`,`Worker`]),LH(e,RH(e),n,LV(e))}r=r.concat([`XMLHttpRequest`,`XMLHttpRequestEventTarget`,`IDBIndex`,`IDBRequest`,`IDBOpenDBRequest`,`IDBDatabase`,`IDBTransaction`,`IDBCursor`,`WebSocket`]);for(let e=0;e<r.length;e++){let i=t[r[e]];i!=null&&i.prototype&&LH(i.prototype,RH(i.prototype),n)}}function BH(e){e.__load_patch(`timers`,e=>{let t=`clear`;MH(e,`set`,t,`Timeout`),MH(e,`set`,t,`Interval`),MH(e,`set`,t,`Immediate`)}),e.__load_patch(`requestAnimationFrame`,e=>{MH(e,`request`,`cancel`,`AnimationFrame`),MH(e,`mozRequest`,`mozCancel`,`AnimationFrame`),MH(e,`webkitRequest`,`webkitCancel`,`AnimationFrame`)}),e.__load_patch(`blocking`,(e,t)=>{let n=[`alert`,`prompt`,`confirm`];for(let r=0;r<n.length;r++){let i=n[r];gH(e,i,(n,r,i)=>function(r,a){return t.current.run(n,e,a,i)})}}),e.__load_patch(`EventTarget`,(e,t,n)=>{FH(e,n),PH(e,n);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,n,[r.prototype])}),e.__load_patch(`MutationObserver`,(e,t,n)=>{pH(`MutationObserver`),pH(`WebKitMutationObserver`)}),e.__load_patch(`IntersectionObserver`,(e,t,n)=>{pH(`IntersectionObserver`)}),e.__load_patch(`FileReader`,(e,t,n)=>{pH(`FileReader`)}),e.__load_patch(`on_property`,(e,t,n)=>{zH(n,e)}),e.__load_patch(`customElements`,(e,t,n)=>{NH(e,n)}),e.__load_patch(`XHR`,(e,t)=>{c(e);let n=YV(`xhrTask`),r=YV(`xhrSync`),i=YV(`xhrListener`),a=YV(`xhrScheduled`),o=YV(`xhrURL`),s=YV(`xhrErrorBeforeScheduled`);function c(e){let c=e.XMLHttpRequest;if(!c)return;let l=c.prototype;function u(e){return e[n]}let d=l[HV],f=l[UV];if(!d){let t=e.XMLHttpRequestEventTarget;if(t){let e=t.prototype;d=e[HV],f=e[UV]}}let p=`readystatechange`,m=`scheduled`;function h(e){let r=e.data,o=r.target;o[a]=!1,o[s]=!1;let c=o[i];d||(d=o[HV],f=o[UV]),c&&f.call(o,p,c);let l=o[i]=()=>
188{if(o.readyState===o.DONE)if(!r.aborted&&o[a]&&e.state===m){let n=o[t.__symbol__(`loadfalse`)];if(o.status!==0&&n&&n.length>0){let i=e.invoke;e.invoke=function(){let n=o[t.__symbol__(`loadfalse`)];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);!r.aborted&&e.state===m&&i.call(e)},n.push(e)}else e.invoke()}else !r.aborted&&o[a]===!1&&(o[s]=!0)};return d.call(o,p,l),o[n]||(o[n]=e),x.apply(o,r.args),o[a]=!0,e}function g(){}function _(e){let t=e.data;return t.aborted=!0,S.apply(t.target,t.args)}let v=gH(l,`open`,()=>function(e,t){return e[r]=t[2]==0,e[o]=t[1],v.apply(e,t)}),y=YV(`fetchTaskAborting`),b=YV(`fetchTaskScheduling`),x=gH(l,`send`,()=>function(e,n){if(t.current[b]===!0||e[r])return x.apply(e,n);{let t={target:e,url:e[o],isPeriodic:!1,args:n,aborted:!1},r=JV(`XMLHttpRequest.send`,g,t,h,_);e&&e[s]===!0&&!t.aborted&&r.state===m&&r.invoke()}}),S=gH(l,`abort`,()=>function(e,n){let r=u(e);if(r&&typeof r.type==`string`){if(r.cancelFn==null||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(t.current[y]===!0)return S.apply(e,n)})}}),e.__load_patch(`geolocation`,e=>{e.navigator&&e.navigator.geolocation&&tH(e.navigator.geolocation,[`getCurrentPosition`,`watchPosition`])}),e.__load_patch(`PromiseRejectionEvent`,(e,t)=>{function n(t){return function(n){OH(e,t).forEach(r=>{let i=e.PromiseRejectionEvent;if(i){let e=new i(t,{promise:n.promise,reason:n.rejection});r.invoke(e)}})}}e.PromiseRejectionEvent&&(t[YV(`unhandledPromiseRejectionHandler`)]=n(`unhandledrejection`),t[YV(`rejectionHandledHandler`)]=n(`rejectionhandled`))}),e.__load_patch(`queueMicrotask`,(e,t,n)=>{AH(e,n)})}function VH(e){e.__load_patch(`ZoneAwarePromise`,(e,t,n)=>{let r=Object.getOwnPropertyDescriptor,i=Object.defineProperty;function a(e){return e&&e.toString===Object.prototype.toString?(e.constructor&&e.constructor.name||``)+`: `+JSON.stringify(e):e?e.toString():Object.prototype.toString.call(e)}let o=n.symbol,s=[],c=e[o(`DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION`)]!==!1,l=o(`Promise`),u=o(`then`);n.onUnhandledError=e=>{if(n.showUncaughtError()){let t=e&&e.rejection;t?console.error(`Unhandled Promise rejection:`,t instanceof Error?t.message:t,`; Zone:`,e.zone.name,`; Task:`,e.task&&e.task.source,`; Value:`,t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;s.length;){let e=s.shift();try{e.zone.runGuarded(()=>{throw e.throwOriginal?e.rejection:e})}catch(e){f(e)}}};let d=o(`unhandledPromiseRejectionHandler`);function f(e){n.onUnhandledError(e);try{let n=t[d];typeof n==`function`&&n.call(this,e)}catch{}}function p(e){return e&&typeof e.then==`function`}function m(e){return e}function h(e){return j.reject(e)}let g=o(`state`),_=o(`value`),v=o(`finally`),y=o(`parentPromiseValue`),b=o(`parentPromiseState`);function x(e,t){return n=>{try{w(e,t,n)}catch(t){w(e,!1,t)}}}let S=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},C=o(`currentTaskTrace`);function w(e,r,o){let l=S();if(e===o)throw TypeError(`Promise resolved with itself`);if(e[g]===null){let u=null;try{(typeof o==`object`||typeof o==`function`)&&(u=o&&o.then)}catch(t){return l(()=>{w(e,!1,t)})(),e}if(r!==!1&&o instanceof j&&o.hasOwnProperty(g)&&o.hasOwnProperty(_)&&o[g]!==null)D(o),w(e,o[g],o[_]);else if(r!==!1&&typeof u==`function`)try{u.call(o,l(x(e,r)),l(x(e,!1)))}catch(t){l(()=>{w(e,!1,t)})()}else{e[g]=r;let l=e[_];if(e[_]=o,e[v]===v&&r===!0&&(e[g]=e[b],e[_]=e[y]),r===!1&&o instanceof Error){let e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&i(o,C,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<l.length;)O(e,l[t++],l[t++],l[t++],l[t++]);if(l.length==0&&r==0){e[g]=0;let r=o;try{throw Error(`Uncaught (in promise): `+a(o)+(o&&o.stack?` 189`+o.stack:``))}catch(e){r=e}
189c&&(r.throwOriginal=!0),r.rejection=o,r.promise=e,r.zone=t.current,r.task=t.currentTask,s.push(r),n.scheduleMicroTask()}}}return e}let E=o(`rejectionHandledHandler`);function D(e){if(e[g]===0){try{let n=t[E];n&&typeof n==`function`&&n.call(this,{rejection:e[_],promise:e})}catch{}e[g]=!1;for(let t=0;t<s.length;t++)e===s[t].promise&&s.splice(t,1)}}function O(e,t,n,r,i){D(e);let a=e[g],o=a?typeof r==`function`?r:m:typeof i==`function`?i:h;t.scheduleMicroTask(`Promise.then`,()=>{try{let r=e[_],i=!!n&&v===n[v];i&&(n[y]=r,n[b]=a),w(n,!0,t.run(o,void 0,i&&o!==h&&o!==m?[]:[r]))}catch(e){w(n,!1,e)}},n)}let k=function(){},A=e.AggregateError;class j{static toString(){return`function ZoneAwarePromise() { [native code] }`}static resolve(e){return e instanceof j?e:w(new this(null),!0,e)}static reject(e){return w(new this(null),!1,e)}static withResolvers(){let e={};return e.promise=new j((t,n)=>{e.resolve=t,e.reject=n}),e}static any(e){if(!e||typeof e[Symbol.iterator]!=`function`)return Promise.reject(new A([],`All promises were rejected`));let t=[],n=0;try{for(let r of e)n++,t.push(j.resolve(r))}catch{return Promise.reject(new A([],`All promises were rejected`))}if(n===0)return Promise.reject(new A([],`All promises were rejected`));let r=!1,i=[];return new j((e,a)=>{for(let o=0;o<t.length;o++)t[o].then(t=>{r||(r=!0,e(t))},e=>{i.push(e),n--,n===0&&(r=!0,a(new A(i,`All promises were rejected`)))})})}static race(e){let t,n,r=new this((e,r)=>{t=e,n=r});function i(e){t(e)}function a(e){n(e)}for(let t of e)p(t)||(t=this.resolve(t)),t.then(i,a);return r}static all(e){return j.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof j?this:j).allWithCallback(e,{thenCallback:e=>({status:`fulfilled`,value:e}),errorCallback:e=>({status:`rejected`,reason:e})})}static allWithCallback(e,t){let n,r,i=new this((e,t)=>{n=e,r=t}),a=2,o=0,s=[];for(let i of e){p(i)||(i=this.resolve(i));let e=o;try{i.then(r=>{s[e]=t?t.thenCallback(r):r,a--,a===0&&n(s)},i=>{t?(s[e]=t.errorCallback(i),a--,a===0&&n(s)):r(i)})}catch(e){r(e)}a++,o++}return a-=2,a===0&&n(s),i}constructor(e){let t=this;if(!(t instanceof j))throw Error(`Must be an instanceof Promise.`);t[g]=null,t[_]=[];try{let n=S();e&&e(n(x(t,!0)),n(x(t,!1)))}catch(e){w(t,!1,e)}}get[Symbol.toStringTag](){return`Promise`}get[Symbol.species](){return j}then(e,n){let r=this.constructor?.[Symbol.species];(!r||typeof r!=`function`)&&(r=this.constructor||j);let i=new r(k),a=t.current;return this[g]==null?this[_].push(a,i,e,n):O(this,a,i,e,n),i}catch(e){return this.then(null,e)}finally(e){let n=this.constructor?.[Symbol.species];(!n||typeof n!=`function`)&&(n=j);let r=new n(k);r[v]=v;let i=t.current;return this[g]==null?this[_].push(i,r,e,e):O(this,i,r,e,e),r}}j.resolve=j.resolve,j.reject=j.reject,j.race=j.race,j.all=j.all;let M=e[l]=e.Promise;e.Promise=j;let N=o(`thenPatched`);function P(e){let t=e.prototype,n=r(t,`then`);if(n&&(n.writable===!1||!n.configurable))return;let i=t.then;t[u]=i,e.prototype.then=function(e,t){return new j((e,t)=>{i.call(this,e,t)}).then(e,t)},e[N]=!0}n.patchThen=P;function F(e){return function(t,n){let r=e.apply(t,n);if(r instanceof j)return r;let i=r.constructor;return i[N]||P(i),r}}if(M){P(M);let t=M.try;t&&typeof t==`function`&&(j.try=t),gH(e,`fetch`,e=>F(e))}return Promise[t.__symbol__(`uncaughtPromiseErrors`)]=s,j})}function HH(e){e.__load_patch(`toString`,e=>{let t=Function.prototype.toString,n=YV(`OriginalDelegate`),r=YV(`Promise`),i=YV(`Error`),a=function(){if(typeof this==`function`){let a=this[n];if(a)return typeof a==`function`?t.call(a):Object.prototype.toString.call(a);if(this===Promise){let n=e[r];if(n)return t.call(n)}if(this===Error){let n=e[i];if(n)return t.call(n)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;let o=Object.prototype.toString;Object.prototype.toString=function(){return typeof Promise==`function`&&this instanceof Promise?`[object Promise]`:o.call(this)}})}function UH(e,t,n,r,i){let a=Zone.__symbol__(r);if(t[a])return;let o=t[a]=t[r];t[r]=function(a,s,c){return s&&s.prototype&&i.forEach(function(t){let i=`${n}.${r}::`+t,a=s.prototype;try{if(a.hasOwnProperty(t)){let n=e.ObjectGetOwnPropertyDescriptor(a,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,i),e._redefineProperty(s.prototype,t,n)):a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],i))}else a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],i))}catch{}}),o.call(t,a,s,c)},e.attachOriginToPatched(t[r],o)}function WH(e){e.__load_patch(`util`,(e,t,n)=>{let r=RH(e);n.patchOnProperties=dH,n.patchMethod=gH,n.bindArguments=eH,n.patchMacroTask=_H;let i=t.__symbol__(`BLACK_LISTED_EVENTS`),a=t.__symbol__(`UNPATCHED_EVENTS`);e[a]&&(e[i]=e[a]),e[i]&&(t[i]=t[a]=e[i]),n.patchEventPrototype=kH,n.patchEventTarget=DH,n.ObjectDefineProperty=IV,n.ObjectGetOwnPropertyDescriptor=FV,n.ObjectCreate=RV,n.ArraySlice=zV,n.patchClass=pH,n.wrapWithCurrentZone=qV,n.filterProperties=IH,n.attachOriginToPatched=vH,n._redefineProperty=Object.defineProperty,n.patchCallbacks=UH,n.getGlobalObjects=()=>({globalSources:CH,zoneSymbolEventNames:SH,eventNames:r,isBrowser:aH,isMix:oH,isNode:iH,TRUE_STR:WV,FALSE_STR:GV,ZONE_SYMBOL_PREFIX:KV,ADD_EVENT_LISTENER_STR:BV,REMOVE_EVENT_LISTENER_STR:VV})})}function GH(e){VH(e),HH(e),WH(e)}var KH=PV();GH(KH),BH(KH);var qH=class{emit(e){}enabled(){return!1}},JH=new qH,YH=Symbol.for(`io.opentelemetry.js.api.logs`),XH=globalThis;function ZH(e,t,n){return r=>r===e?t:n}var QH=new class{getLogger(e,t,n){return new qH}},$H=class{constructor(e,t,n,r){this._provider=e,this.name=t,this.version=n,this.options=r}emit(e){this._getLogger().emit(e)}enabled(e){return this._getLogger().enabled(e)}_getLogger(){if(this._delegate)return this._delegate;let e=this._provider._getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):JH}},eU=class{getLogger(e,t,n){return this._getDelegateLogger(e,t,n)??new $H(this,e,t,n)}_getDelegate(){return this._delegate??QH}_setDelegate(e){this._delegate=e}_getDelegateLogger(e,t,n){return this._delegate?.getLogger(e,t,n)}},tU=class e{constructor(){this._proxyLoggerProvider=new eU}static getInstance(){return this._instance||=new e,this._instance}setGlobalLoggerProvider(e){return XH[YH]?this.getLoggerProvider():(XH[YH]=ZH(1,e,QH),this._proxyLoggerProvider._setDelegate(e),e)}getLoggerProvider(){return XH[YH]?.call(XH,1)??this._proxyLoggerProvider}getLogger(e,t,n){return this.getLoggerProvider().getLogger(e,t,n)}disable(){delete XH[YH],this._proxyLoggerProvider=new eU}}.getInstance();function nU(e,t,n,r){for(let i=0,a=e.length;i<a;i++){let a=e[i];t&&a.setTracerProvider(t),n&&a.setMeterProvider(n),r&&a.setLoggerProvider&&a.setLoggerProvider(r),a.getConfig().enabled||a.enable()}}
189function rU(e){e.forEach(e=>e.disable())}function iU(e){let t=e.tracerProvider||_R.getTracerProvider(),n=e.meterProvider||oR.getMeterProvider(),r=e.loggerProvider||tU.getLoggerProvider(),i=e.instrumentations?.flat()??[];return nU(i,t,n,r),()=>{rU(i)}}var aU=console.error.bind(console);function oU(e,t,n){let r=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:r,writable:!0,value:n})}var sU=(e,t,n)=>{if(!e||!e[t]){aU(`no original function `+String(t)+` to wrap`);return}if(!n){aU(`no wrapper function`),aU(Error().stack);return}let r=e[t];if(typeof r!=`function`||typeof n!=`function`){aU(`original object and wrapper must be functions`);return}let i=n(r,t);return oU(i,`__original`,r),oU(i,`__unwrap`,()=>{e[t]===i&&oU(e,t,r)}),oU(i,`__wrapped`,!0),oU(e,t,i),i},cU=(e,t,n)=>{if(e)Array.isArray(e)||(e=[e]);else{aU(`must provide one or more modules to patch`),aU(Error().stack);return}if(!(t&&Array.isArray(t))){aU(`must provide one or more functions to wrap on modules`);return}e.forEach(e=>{t.forEach(t=>{sU(e,t,n)})})},lU=(e,t)=>{if(!e||!e[t]){aU(`no function to unwrap.`),aU(Error().stack);return}let n=e[t];if(!n.__unwrap)aU(`no original to unwrap to -- has `+String(t)+` already been unwrapped?`);else{n.__unwrap();return}},uU=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{aU(`must provide one or more modules to patch`),aU(Error().stack);return}if(!(t&&Array.isArray(t))){aU(`must provide one or more functions to unwrap on modules`);return}e.forEach(e=>{t.forEach(t=>{lU(e,t)})})};function dU(e){e&&e.logger&&(typeof e.logger==`function`?aU=e.logger:aU(`new logger isn't a function, not replacing`))}dU.wrap=sU,dU.massWrap=cU,dU.unwrap=lU,dU.massUnwrap=uU;var fU=class{_config={};_tracer;_meter;_logger;_diag;instrumentationName;instrumentationVersion;constructor(e,t,n){this.instrumentationName=e,this.instrumentationVersion=t,this.setConfig(n),this._diag=rR.createComponentLogger({namespace:e}),this._tracer=_R.getTracer(e,t),this._meter=oR.getMeter(e,t),this._logger=tU.getLogger(e,t),this._updateMetricInstruments()}_wrap=sU;_unwrap=lU;_massWrap=cU;_massUnwrap=uU;get meter(){return this._meter}setMeterProvider(e){this._meter=e.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(e){this._logger=e.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){let e=this.init()??[];return Array.isArray(e)?e:[e]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(e){this._config={enabled:!0,...e}}setTracerProvider(e){this._tracer=e.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(e,t,n,r){if(e)try{e(n,r)}catch(e){this._diag.error(`Error running span customization hook due to exception in handler`,{triggerName:t},e)}}},pU=class extends fU{constructor(e,t,n){super(e,t,n),this._config.enabled&&this.enable()}};function mU(e,t,n){let r,i;try{i=e()}catch(e){r=e}finally{if(t(r,i),r&&!n)throw r;return i}}var hU;(function(e){e[e.STABLE=1]=`STABLE`,e[e.OLD=2]=`OLD`,e[e.DUPLICATE=3]=`DUPLICATE`})(hU||={});function gU(e,t){let n=hU.OLD,r=t?.split(`,`).map(e=>e.trim()).filter(e=>e!==``);for(let t of r??[])if(t.toLowerCase()===e+`/dup`){n=hU.DUPLICATE;break}else t.toLowerCase()===e&&(n=hU.STABLE);return n}var _U;(function(e){e.COMPONENT=`component`,e.HTTP_STATUS_TEXT=`http.status_text`})(_U||={});var vU=`http.host`,yU=`http.method`,bU=`http.request.body.size`,xU=`http.request_content_length_uncompressed`,SU=`http.scheme`,CU=`http.status_code`,wU=`http.url`,TU=`http.user_agent`,EU=rR.createComponentLogger({namespace:`@opentelemetry/opentelemetry-instrumentation-fetch/utils`});function DU(...e){if(e[0]instanceof URL||typeof e[0]==`string`){let t=e[1];if(!t?.body)return Promise.resolve();if(t.body instanceof ReadableStream){let{body:e,length:n}=OU(t.body);return t.body=e,n}else return Promise.resolve(AU(t.body))}else{let t=e[0];return t?.body?t.clone().text().then(e=>MU(e)):Promise.resolve()}}function OU(e){if(!e.pipeThrough)return EU.warn(`Platform has ReadableStream but not pipeThrough!`),{body:e,length:Promise.resolve(void 0)};let t=0,n,r=new Promise(e=>{n=e}),i=new TransformStream({start(){},async transform(e,n){let r=await e;t+=r.byteLength,n.enqueue(e)},flush(){n(t)}});return{body:e.pipeThrough(i),length:r}}function kU(e){return typeof Document<`u`&&e instanceof Document}function AU(e){if(kU(e))return new XMLSerializer().serializeToString(document).length;if(typeof e==`string`)return MU(e);if(e instanceof Blob)return e.size;if(e instanceof FormData)return NU(e);if(e instanceof URLSearchParams)return MU(e.toString());if(e.byteLength!==void 0)return e.byteLength;EU.warn(`unknown body type`)}var jU=new TextEncoder;function MU(e){return jU.encode(e).byteLength}function NU(e){let t=0;for(let[n,r]of e.entries())t+=n.length,r instanceof Blob?t+=r.size:t+=r.length;return t}function PU(e){let t=LU(),n=e.toUpperCase();return n in t?n:`_OTHER`}var FU={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0,QUERY:!0},IU;function LU(){return IU===void 0&&(IU=FU),IU}var RU={"https:":`443`,"http:":`80`};function zU(e){let t=Number(e.port||RU[e.protocol]);if(t&&!isNaN(t))return t}var BU=`0.218.0`,VU=300,HU=typeof PerformanceObserver<`u`,UU=class extends pU{component=`fetch`;version=BU;moduleName=this.component;_usedResources=new WeakSet;_tasksCount=0;_semconvStability;constructor(e={}){super(`@opentelemetry/instrumentation-fetch`,BU,e),this._semconvStability=gU(`http`,e?.semconvStabilityOptIn)}init(){}_addChildSpan(e,t){let n=this.tracer.startSpan(`CORS Preflight`,{startTime:t[Y.FETCH_START]},_R.setSpan(nR.active(),e)),r=!(this._semconvStability&hU.OLD);dV(n,t,this.getConfig().ignoreNetworkEvents,void 0,r),n.end(t[Y.RESPONSE_END])}_addFinalSpanAttributes(e,t){let n=_V(t.url);if(this._semconvStability&hU.OLD&&(e.setAttribute(CU,t.status),t.statusText!=null&&e.setAttribute(_U.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(vU,n.host),e.setAttribute(SU,n.protocol.replace(`:`,``)),typeof navigator<`u`&&e.setAttribute(TU,navigator.userAgent)),this._semconvStability&hU.STABLE){e.setAttribute(WR,t.status),e.setAttribute(GR,n.hostname);let r=zU(n);r&&e.setAttribute(KR,r)}}_addHeaders(e,t){if(!vV(t,this.getConfig().propagateTraceHeaderCorsUrls)){let e={};hR.inject(nR.active(),e),Object.keys(e).length>0&&this._diag.debug(`headers inject skipped due to CORS policy`);return}if(e instanceof Request)hR.inject(nR.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else{let t=new Headers(e.headers);hR.inject(nR.active(),t,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))}),e.headers=t}}_clearResources(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)}_createSpan(e,t={}){if(sB(e,this.getConfig().ignoreUrls)){this._diag.debug(`ignoring span as url matches ignored url`);return}let n=``,r={};if(this._semconvStability&hU.OLD){let i=(t.method||`GET`).toUpperCase();n=`HTTP ${i}`,r[_U.COMPONENT]=this.moduleName,r[yU]=i,r[wU]=e}if(this._semconvStability&hU.STABLE){let i=t.method,a=PU(t.method||`GET`);n||=a,r[HR]=a,a!==i&&(r[UR]=i),r[QR]=e}return this.tracer.startSpan(n,{kind:eR.CLIENT,attributes:r})}
189_findResourceAndAddNetworkEvents(e,t,n){let r=t.entries;if(!r.length){if(!performance.getEntriesByType)return;r=performance.getEntriesByType(`resource`)}let i=mV(t.spanUrl,t.startTime,n,r,this._usedResources,`fetch`);if(i.mainRequest){let t=i.mainRequest;this._markResourceAsUsed(t);let n=i.corsPreFlightRequest;n&&(this._addChildSpan(e,n),this._markResourceAsUsed(n));let r=!(this._semconvStability&hU.OLD);dV(e,t,this.getConfig().ignoreNetworkEvents,void 0,r)}}_markResourceAsUsed(e){this._usedResources.add(e)}_endSpan(e,t,n){let r=oz(Date.now()),i=sz();this._addFinalSpanAttributes(e,n),this._semconvStability&hU.STABLE&&n.status>=400&&(e.setStatus({code:tR.ERROR}),e.setAttribute(RR,String(n.status))),setTimeout(()=>{t.observer?.disconnect(),this._findResourceAndAddNetworkEvents(e,t,i),this._tasksCount--,this._clearResources(),e.end(r)},VU)}_patchConstructor(){return e=>{let t=this;return function(...n){if(!t._isEnabled)return e.apply(this,n);let r=this,i=_V(n[0]instanceof Request?n[0].url:String(n[0])).href,a;a=n[0]instanceof Request?n[1]==null?n[0]:new Request(n[0],n[1]):n[1]||{};let o=t._createSpan(i,a);if(!o)return e.apply(this,n);let s=t._prepareSpanData(i);t.getConfig().measureRequestSize&&DU(...n).then(e=>{e&&(t._semconvStability&hU.OLD&&o.setAttribute(xU,e),t._semconvStability&hU.STABLE&&o.setAttribute(bU,e))}).catch(e=>{t._diag.warn(`getFetchBodyLength`,e)});function c(e,n){t._applyAttributesAfterFetch(e,a,n),t._endSpan(e,s,{status:n.status||0,statusText:n.message,url:i})}function l(e,n){t._applyAttributesAfterFetch(e,a,n),n.status>=200&&n.status<400?t._endSpan(e,s,n):t._endSpan(e,s,{status:n.status,statusText:n.statusText,url:i})}function u(e,n){try{let t=n.clone().body;if(t){let r=t.getReader(),i=()=>{r.read().then(({done:t})=>{t?l(e,n):i()},t=>{c(e,t)})};i()}else l(e,n)}catch(n){t._diag.error(`Failed to read fetch response body`,n),t._endSpan(e,s,{status:0,url:i})}return n}function d(e,n){try{c(e,n)}catch(r){t._diag.error(`Failed to end span on fetch error`,r),t._endSpan(e,s,{status:n.status||0,url:i})}throw n}return nR.with(_R.setSpan(nR.active(),o),()=>(t._callRequestHook(o,a),t._addHeaders(a,i),t._tasksCount++,e.apply(r,a instanceof Request?[a]:[i,a]).then(u.bind(r,o),d.bind(r,o))))}}}_applyAttributesAfterFetch(e,t,n){let r=this.getConfig().applyCustomAttributesOnSpan;r&&mU(()=>r(e,t,n),e=>{e&&this._diag.error(`applyCustomAttributesOnSpan`,e)},!0)}_callRequestHook(e,t){let n=this.getConfig().requestHook;n&&mU(()=>n(e,t),e=>{e&&this._diag.error(`requestHook`,e)},!0)}_prepareSpanData(e){let t=sz(),n=[];if(typeof PerformanceObserver!=`function`)return{entries:n,startTime:t,spanUrl:e};let r=new PerformanceObserver(t=>{t.getEntries().forEach(t=>{t.initiatorType===`fetch`&&t.name===e&&n.push(t)})});return r.observe({entryTypes:[`resource`]}),{entries:n,observer:r,startTime:t,spanUrl:e}}enable(){if(!HU){this._diag.warn(`this instrumentation is intended for web usage only, it does not instrument server-side fetch()`);return}if(!this._isEnabled){if(this._isFetchPatched){this._diag.debug(`fetch constructor already patched`),this._isEnabled=!0;return}try{this._wrap(globalThis,`fetch`,this._patchConstructor()),this._isFetchPatched=!0,this._isEnabled=!0}catch(e){this._diag.warn(`Failed to patch globalThis.fetch; instrumentation will not be enabled. Another script may have locked globalThis.fetch via Object.defineProperty.`,e)}}}disable(){HU&&this._isEnabled&&(this._isEnabled=!1,this._usedResources=new WeakSet)}},WU;(function(e){e.DOCUMENT_LOAD=`documentLoad`,e.DOCUMENT_FETCH=`documentFetch`,e.RESOURCE_FETCH=`resourceFetch`})(WU||={});var GU=`0.63.0`,KU=`@opentelemetry/instrumentation-document-load`,qU=`http.url`,JU=`http.user_agent`,YU;(function(e){e.FIRST_PAINT=`firstPaint`,e.FIRST_CONTENTFUL_PAINT=`firstContentfulPaint`})(YU||={});var XU=()=>{let e={},t=nz.getEntriesByType?.(`navigation`)[0];if(t)Object.values(Y).forEach(n=>{if(lV(t,n)){let r=t[n];typeof r==`number`&&(e[n]=r)}});else{let t=nz.timing;t&&Object.values(Y).forEach(n=>{if(lV(t,n)){let r=t[n];typeof r==`number`&&(e[n]=r)}})}return e},ZU={"first-paint":YU.FIRST_PAINT,"first-contentful-paint":YU.FIRST_CONTENTFUL_PAINT},QU=e=>{let t=nz.getEntriesByType?.(`paint`);t&&t.forEach(({name:t,startTime:n})=>{lV(ZU,t)&&e.addEvent(ZU[t],n)})},$U=class extends pU{component=`document-load`;version=`1`;moduleName=this.component;_semconvStability;constructor(e={}){super(KU,GU,e),this._semconvStability=gU(`http`,e?.semconvStabilityOptIn)}init(){}_onDocumentLoaded(){window.setTimeout(()=>{this._collectPerformance()})}_addResourcesSpans(e){let t=nz.getEntriesByType?.(`resource`);t&&t.forEach(t=>{this._initResourceSpan(t,e)})}_collectPerformance(){let e=Array.from(document.getElementsByTagName(`meta`)).find(e=>e.getAttribute(`name`)===kz),t=XU(),n=e&&e.content||``;nR.with(hR.extract(iL,{traceparent:n}),()=>{let e=this._startSpan(WU.DOCUMENT_LOAD,Y.FETCH_START,t);e&&(nR.with(_R.setSpan(nR.active(),e),()=>{let e=this._startSpan(WU.DOCUMENT_FETCH,Y.FETCH_START,t);e&&(this._semconvStability&hU.OLD&&e.setAttribute(qU,location.href),this._semconvStability&hU.STABLE&&e.setAttribute(QR,location.href),nR.with(_R.setSpan(nR.active(),e),()=>{let n=!(this._semconvStability&hU.OLD);dV(e,t,this.getConfig().ignoreNetworkEvents,void 0,n),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentFetch),this._endSpan(e,Y.RESPONSE_END,t)}))}),this._semconvStability&hU.OLD&&(e.setAttribute(qU,location.href),e.setAttribute(JU,navigator.userAgent)),this._semconvStability&hU.STABLE&&(e.setAttribute(QR,location.href),e.setAttribute($R,navigator.userAgent)),this._addResourcesSpans(e),this.getConfig().ignoreNetworkEvents||(uV(e,Y.FETCH_START,t),uV(e,Y.UNLOAD_EVENT_START,t),uV(e,Y.UNLOAD_EVENT_END,t),uV(e,Y.DOM_INTERACTIVE,t),uV(e,Y.DOM_CONTENT_LOADED_EVENT_START,t),uV(e,Y.DOM_CONTENT_LOADED_EVENT_END,t),uV(e,Y.DOM_COMPLETE,t),uV(e,Y.LOAD_EVENT_START,t),uV(e,Y.LOAD_EVENT_END,t)),this.getConfig().ignorePerformancePaintEvents||QU(e),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentLoad),this._endSpan(e,Y.LOAD_EVENT_END,t))})}_endSpan(e,t,n){e&&(lV(n,t)?e.end(n[t]):e.end())}_initResourceSpan(e,t){let n=this._startSpan(WU.RESOURCE_FETCH,Y.FETCH_START,e,t);if(n){this._semconvStability&hU.OLD&&n.setAttribute(qU,e.name),this._semconvStability&hU.STABLE&&n.setAttribute(QR,e.name);let t=!(this._semconvStability&hU.OLD);dV(n,e,this.getConfig().ignoreNetworkEvents,void 0,t),this._addCustomAttributesOnResourceSpan(n,e,this.getConfig().applyCustomAttributesOnSpan?.resourceFetch),this._endSpan(n,Y.RESPONSE_END,e)}}
189_startSpan(e,t,n,r){if(lV(n,t)&&typeof n[t]==`number`)return this.tracer.startSpan(e,{startTime:n[t]},r?_R.setSpan(nR.active(),r):void 0)}_waitForPageLoad(){window.document.readyState===`complete`?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener(`load`,this._onDocumentLoaded))}_addCustomAttributesOnSpan(e,t){t&&mU(()=>t(e),e=>{e&&this._diag.error(`addCustomAttributesOnSpan`,e)},!0)}_addCustomAttributesOnResourceSpan(e,t,n){n&&mU(()=>n(e,t),e=>{e&&this._diag.error(`addCustomAttributesOnResourceSpan`,e)},!0)}enable(){window.removeEventListener(`load`,this._onDocumentLoaded),this._waitForPageLoad()}disable(){window.removeEventListener(`load`,this._onDocumentLoaded)}},eW=-1,tW=e=>{addEventListener(`pageshow`,t=>{t.persisted&&(eW=t.timeStamp,e(t))},!0)},nW=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`)(t.value,n),e(t)))}},rW=e=>{requestAnimationFrame(()=>requestAnimationFrame(e))},iW=()=>{let e=performance.getEntriesByType(`navigation`)[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},aW=()=>iW()?.activationStart??0,oW=(e,t=-1)=>{let n=iW(),r=`navigate`;return eW>=0?r=`back-forward-cache`:n&&(document.prerendering||aW()>0?r=`prerender`:document.wasDiscarded?r=`restore`:n.type&&(r=n.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+0xe8d4a51000}`,navigationType:r}},sW=new WeakMap;function cW(e,t){return sW.get(e)||sW.set(e,new t),sW.get(e)}var lW=class{t;i=0;o=[];h(e){if(e.hadRecentInput)return;let t=this.o[0],n=this.o.at(-1);this.i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}},uW=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{queueMicrotask(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},dW=e=>{let t=!1;return()=>{t||=(e(),!0)}},fW=-1,pW=new Set,mW=()=>document.visibilityState!==`hidden`||document.prerendering?1/0:0,hW=e=>{if(document.visibilityState===`hidden`){if(e.type===`visibilitychange`)for(let e of pW)e();isFinite(fW)||(fW=e.type===`visibilitychange`?e.timeStamp:0,removeEventListener(`prerenderingchange`,hW,!0))}},gW=()=>{if(fW<0){let e=aW();fW=(document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).find(t=>t.name===`hidden`&&t.startTime>=e)?.startTime)??mW(),addEventListener(`visibilitychange`,hW,!0),addEventListener(`prerenderingchange`,hW,!0),tW(()=>{setTimeout(()=>{fW=mW()})})}return{get firstHiddenTime(){return fW},onHidden(e){pW.add(e)}}},_W=e=>{document.prerendering?addEventListener(`prerenderingchange`,e,!0):e()},vW=[1800,3e3],yW=(e,t={})=>{_W(()=>{let n=gW(),r,i=oW(`FCP`),a=uW(`paint`,e=>{for(let t of e)t.name===`first-contentful-paint`&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-aW(),0),i.entries.push(t),r(!0)))});a&&(r=nW(e,i,vW,t.reportAllChanges),tW(n=>{i=oW(`FCP`),r=nW(e,i,vW,t.reportAllChanges),rW(()=>{i.value=performance.now()-n.timeStamp,r(!0)})}))})},bW=[.1,.25],xW=(e,t={})=>{let n=gW();yW(dW(()=>{let r,i=oW(`CLS`,0),a=cW(t,lW),o=e=>{for(let t of e)a.h(t);a.i>i.value&&(i.value=a.i,i.entries=a.o,r())},s=uW(`layout-shift`,o);s&&(r=nW(e,i,bW,t.reportAllChanges),n.onHidden(()=>{o(s.takeRecords()),r(!0)}),tW(()=>{a.i=0,i=oW(`CLS`,0),r=nW(e,i,bW,t.reportAllChanges),rW(r)}),setTimeout(r))}))},SW=0,CW=1/0,wW=0,TW=e=>{for(let t of e)t.interactionId&&(CW=Math.min(CW,t.interactionId),wW=Math.max(wW,t.interactionId),SW=wW?(wW-CW)/7+1:0)},EW,DW=()=>EW?SW:performance.interactionCount??0,OW=()=>{`interactionCount`in performance||EW||(EW=uW(`event`,TW,{durationThreshold:0}))},kW=0,AW=class{l=[];u=new Map;m;p;v(){kW=DW(),this.l.length=0,this.u.clear()}T(){let e=Math.min(this.l.length-1,Math.floor((DW()-kW)/50));return this.l[e]}h(e){if(this.m?.(e),!e.interactionId&&e.entryType!==`first-input`)return;let t=this.l.at(-1),n=this.u.get(e.interactionId);if(n||this.l.length<10||e.duration>t.L){if(n?e.duration>n.L?(n.entries=[e],n.L=e.duration):e.duration===n.L&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],L:e.duration},this.u.set(n.id,n),this.l.push(n)),this.l.sort((e,t)=>
189t.L-e.L),this.l.length>10){let e=this.l.splice(10);for(let t of e)this.u.delete(t.id)}this.p?.(n)}}},jW=e=>{let t=globalThis.requestIdleCallback||setTimeout,n=globalThis.cancelIdleCallback||clearTimeout;if(document.visibilityState===`hidden`)e();else{let r=dW(e),i=-1,a=()=>{n(i),r()};addEventListener(`visibilitychange`,a,{once:!0,capture:!0}),i=t(()=>{removeEventListener(`visibilitychange`,a,{capture:!0}),r()})}},MW=[200,500],NW=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!(`interactionId`in PerformanceEventTiming.prototype))return;let n=gW();_W(()=>{OW();let r,i=oW(`INP`),a=cW(t,AW),o=e=>{jW(()=>{for(let t of e)a.h(t);let t=a.T();t&&t.L!==i.value&&(i.value=t.L,i.entries=t.entries,r())})},s=uW(`event`,o,{durationThreshold:t.durationThreshold??40});r=nW(e,i,MW,t.reportAllChanges),s&&(s.observe({type:`first-input`,buffered:!0}),n.onHidden(()=>{o(s.takeRecords()),r(!0)}),tW(()=>{a.v(),i=oW(`INP`),r=nW(e,i,MW,t.reportAllChanges)}))})},PW=class{m;h(e){this.m?.(e)}},FW=[2500,4e3],IW=(e,t={})=>{_W(()=>{let n=gW(),r,i=oW(`LCP`),a=cW(t,PW),o=e=>{t.reportAllChanges||(e=e.slice(-1));for(let t of e)a.h(t),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-aW(),0),i.entries=[t],r())},s=uW(`largest-contentful-paint`,o);if(s){r=nW(e,i,FW,t.reportAllChanges);let n=dW(()=>{o(s.takeRecords()),s.disconnect(),r(!0)}),a=e=>{e.isTrusted&&(jW(n),removeEventListener(e.type,a,{capture:!0}))};for(let e of[`keydown`,`click`,`visibilitychange`])addEventListener(e,a,{capture:!0});tW(n=>{i=oW(`LCP`),r=nW(e,i,FW,t.reportAllChanges),rW(()=>{i.value=performance.now()-n.timeStamp,r(!0)})})}})},LW=[800,1800],RW=e=>{document.prerendering?_W(()=>RW(e)):document.readyState===`complete`?setTimeout(e):addEventListener(`load`,()=>RW(e),!0)},zW=(e,t={})=>{let n=oW(`TTFB`),r=nW(e,n,LW,t.reportAllChanges);RW(()=>{let i=iW();i&&(n.value=Math.max(i.responseStart-aW(),0),n.entries=[i],r(!0),tW(()=>{n=oW(`TTFB`,0),r=nW(e,n,LW,t.reportAllChanges),r(!0)}))})},BW=`dash-frontend`,VW=`/api/telemetry`,HW=5e3,UW=!1,WW=[],GW=[],KW=null,qW=class{export=(e,t)=>{let n=e.map(e=>{let t=e.spanContext(),n=e.duration[0]*1e3+e.duration[1]/1e6;return{name:e.name,durationMs:n,url:window.location.href,route:window.location.pathname,storeId:JW(),traceId:t.traceId,spanId:t.spanId,parentSpanId:e.parentSpanId,status:e.status.code===tR.ERROR?`error`:`ok`,errorMessage:e.status.message,attributes:Object.fromEntries(Object.entries(e.attributes).map(([e,t])=>[e,String(t)]))}});WW.push(...n),XW(),t({code:0})};shutdown=()=>eG();forceFlush=()=>eG()};function JW(){let e=window.location.pathname.match(/^\/([^/]+)/);if(e&&e[1]&&![`auth`,`forbidden`,`ui-kit`,`users`].includes(e[1]))return e[1]}function YW(){return navigator.connection?.effectiveType??`unknown`}function XW(){KW||=setTimeout(()=>{KW=null,eG()},HW)}function ZW(e,t){return typeof navigator>`u`||typeof navigator.sendBeacon!=`function`?!1:navigator.sendBeacon(e,new Blob([JSON.stringify(t)],{type:`application/json`}))}function QW(e){if(typeof document<`u`&&document.visibilityState===`hidden`||e instanceof DOMException&&e.name===`AbortError`)return!0;if(e instanceof Error){let t=e.message.toLowerCase();return t.includes(`aborted`)||t.includes(`canceled`)||t.includes(`cancelled`)}return!1}async function $W(e,t,n,r={}){if(!(r.preferBeacon&&ZW(e,t)))try{await fetch(e,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(t),credentials:`same-origin`,keepalive:r.preferBeacon===!0})}catch(e){QW(e)||console.warn(`[Telemetry] Failed to send ${n}:`,e)}}async function eG(e={}){let t=[...WW],n=[...GW];WW=[],GW=[];let r=[];t.length>0&&r.push($W(`${VW}/traces`,{spans:t},`traces`,e)),n.length>0&&r.push($W(`${VW}/metrics`,{metrics:n},`metrics`,e)),await Promise.all(r)}function tG(e){let t={name:e.name,value:e.value,rating:e.rating,url:window.location.href,route:window.location.pathname,storeId:JW(),connectionType:YW(),id:e.id,navigationType:e.navigationType};GW.push(t),XW()}function nG(){if(!(typeof window>`u`)){if(UW){console.warn(`[Telemetry] Already initialized`);return}UW=!0;try{new iV({spanProcessors:[new PB(new qW,{maxExportBatchSize:50,scheduledDelayMillis:HW})]}).register({contextManager:new xV}),_R.getTracer(BW),iU({instrumentations:[new UU({ignoreUrls:[/\.(js|css|png|jpg|jpeg|gif|svg|ico|woff|woff2|ttf|eot)$/,/\/api\/telemetry/,/127\.0\.0\.1:\d+\/ingest/,/auth0\.com/,/auth\.convermax\.com/],propagateTraceHeaderCorsUrls:[/.*/]}),new $U]}),xW(tG),NW(tG),IW(tG),zW(tG),window.addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&eG({preferBeacon:!0})}),window.addEventListener(`pagehide`,()=>{eG({preferBeacon:!0})})}catch(e){console.error(`[Telemetry] Failed to initialize:`,e)}}}function rG(e,t,n){let r={name:`route-change`,durationMs:n,url:window.location.href,route:t,storeId:JW(),status:`ok`,attributes:{"route.from":e,"route.to":t}};WW.push(r),XW()}function iG(e,t){let n={name:`error`,durationMs:0,url:window.location.href,route:window.location.pathname,storeId:JW(),status:`error`,errorMessage:e.message,attributes:{"error.name":e.name,"error.stack":e.stack?.slice(0,1e3)??``,...t}};WW.push(n),XW()}function aG(){let e=_R.getActiveSpan();if(!e)return{};let t=e.spanContext(),n=t.traceFlags.toString(16).padStart(2,`0`);return{traceparent:`00-${t.traceId}-${t.spanId}-${n}`}}function oG(){return UW}var sG=!1,cG=[`/support-ticket`,`/unsubscribe`],lG=`cm_had_session`;function uG(){try{return sessionStorage.getItem(lG)===`true`}catch{return!1}}function dG(){try{sessionStorage.setItem(lG,`true`)}catch{}}function fG(){try{sessionStorage.removeItem(lG)}catch{}}function pG(){if(sG||MI())return;let{pathname:e,search:t}=window.location;e.startsWith(`/auth/`)||cG.includes(e)||(sG=!0,setTimeout(()=>{if(!MI())if(uG())window.location.href=`/auth/session-expired`;else{let n=encodeURIComponent(e+t);window.location.href=`/auth/login?returnUrl=${n}`}},100))}var mG=class{csrfToken=null;async ensureCsrfToken(){if(!this.csrfToken){let e=await fetch(`/api/auth/csrf-token`,{credentials:`same-origin`});await this.checkResponse(e);let t=await e.json();this.csrfToken=t.token}return this.csrfToken}clearCsrfToken(){this.csrfToken=null}async fetch(e,t={}){let n=new Headers(t.headers),r=t.method?.toUpperCase()??`GET`;if([`POST`,`PUT`,`DELETE`,`PATCH`].includes(r)){let e=await this.ensureCsrfToken();n.set(`X-CSRF-TOKEN`,e)}if(t.body&&typeof t.body==`string`&&(n.has(`Content-Type`)||n.set(`Content-Type`,`application/json`)),oG()){let e=aG();for(let[t,r]of Object.entries(e))n.set(t,r)}let i=await fetch(e,{...t,headers:n,credentials:`same-origin`});if(await this.checkResponse(i),i.status!==204){if(i.status===201){let e=i.headers.get(`content-length`);if(!e||e===`0`)return}try{let e=await i.text();return!e||e.trim()===``?void 0:JSON.parse(e)}catch{return}}}async checkResponse(e){if(await FI(e),e.status===401)throw this.clearCsrfToken(),pG(),new hG({title:`Unauthorized`,status:401,detail:`Your session has expired. Please log in again.`});if(!e.ok){let t;try{t=await e.json()}catch{t={title:`Request Failed`,status:e.status,detail:e.statusText}}throw new hG(t)}}async download(e){let t=new Headers;if(oG())for(let[e,n]of Object.entries(aG()))t.set(e,n);let n=await fetch(e,{credentials:`same-origin`,headers:t});await this.checkResponse(n);let r=URL.createObjectURL(await n.blob()),i=document.createElement(`a`);i.href=r,i.download=n.headers.get(`content-disposition`)?.match(/filename="?([^";]+)"?/)?.[1]??`report.csv`,i.click(),URL.revokeObjectURL(r)}async eventStream(e){let t=new Headers({Accept:`text/event-stream`});if(oG())for(let[e,n]of Object.entries(aG()))t.set(e,n);let n=await fetch(e,{credentials:`same-origin`,headers:t});return await this.checkResponse(n),n}get(e,t={}){return this.fetch(e,{...t,method:`GET`})}post(e,t){return this.fetch(e,{method:`POST`,body:t?JSON.stringify(t):void 0})}put(e,t){return this.fetch(e,{method:`PUT`,body:t?JSON.stringify(t):void 0})}delete(e){return this.fetch(e,{method:`DELETE`})}patch(e,t){return this.fetch(e,{method:`PATCH`,body:t?JSON.stringify(t):void 0})}}
189,hG=class extends Error{error;constructor(e){super(e.detail??e.title),this.name=`ApiClientError`,this.error=e}get status(){return this.error.status}get isUnauthorized(){return this.error.status===401}get isForbidden(){return this.error.status===403}get isNotFound(){return this.error.status===404}},gG=new mG;function _G(e,t){if(t instanceof hG&&(t.isUnauthorized||t.isForbidden||t.isNotFound))return!1;if(t&&typeof t==`object`&&`status`in t){let{status:e}=t;if(e===401||e===403||e===404)return!1}return e<2}function vG(e){return!!e&&(e.isGlobalAdmin||e.isPartner)}function yG(e){return!!e&&(e.isGlobalAdmin||e.isPartner)}function bG(e){return!!e&&(e.isGlobalAdmin||e.isPartnerLike)}async function xG(){try{return await gG.get(`/api/auth/me`)}catch(e){if(e instanceof hG&&e.isUnauthorized)return null;throw e}}var SG=[`auth`,`me`];function CG(){let e=bu({queryKey:SG,queryFn:xG,staleTime:300*1e3,retry:!1});return(0,V.useEffect)(()=>{e.data&&dG()},[e.data]),e}function wG(){return()=>{fG(),gG.clearCsrfToken(),window.location.href=`/auth/logout`}}function TG(e){return e?`/auth/login?returnUrl=${encodeURIComponent(e)}`:`/auth/login`}function EG(e){window.location.href=TG(e)}var DG=(0,V.createContext)(null);function OG({children:e}){let{data:t,isLoading:n,isError:r}=CG(),i=wG(),a={user:t,isLoading:n,isError:r,isAuthenticated:!!t,isSuspended:MI(),logout:i,redirectToLogin:EG};return(0,H.jsx)(DG.Provider,{value:a,children:e})}function kG(){let e=(0,V.useContext)(DG);if(!e)throw Error(`useAuth must be used within an AuthProvider`);return e}function AG({children:e}){return(0,V.useSyncExternalStore)(NI,MI,()=>!1)?(0,H.jsx)(op,{as:`main`,minH:`100dvh`,display:`grid`,placeItems:`center`,bg:`bg`,px:`6`,children:(0,H.jsxs)(rM,{textAlign:`center`,gap:`4`,maxW:`lg`,children:[(0,H.jsx)(C_,{size:`2xl`,children:`Account suspended`}),(0,H.jsx)(q_,{color:`fg.muted`,children:`Your account has been suspended.`})]})}):e}nG();var jG=new ru({defaultOptions:{queries:{staleTime:60*1e3,retry:_G}}}),MG=Sc({head:()=>({meta:[{charSet:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1`},{title:`Convermax Dashboard`}],links:[{rel:`icon`,href:`/favicon.ico`}]}),shellComponent:IG});function NG(){let e=xs();return(0,V.useEffect)(()=>{let t=window.location.pathname,n=performance.now(),r=e.subscribe(`onResolved`,e=>{let r=e.toLocation.pathname;if(r!==t){let e=performance.now()-n;rG(t,r,e),t=r,n=performance.now()}});return()=>{r()}},[e]),null}function PG(){let{user:e}=kG();return(0,V.useEffect)(()=>{e?.email},[e?.email]),null}var FG=class extends V.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){iG(e,{componentStack:t.componentStack?.slice(0,1e3)??``})}render(){return this.state.hasError?(0,H.jsxs)(`div`,{style:{padding:`2rem`,textAlign:`center`},children:[(0,H.jsx)(`h1`,{children:`Something went wrong`}),(0,H.jsx)(`p`,{children:`Please refresh the page or try again later.`}),(0,H.jsx)(`button`,{onClick:()=>{this.setState({hasError:!1}),window.location.reload()},style:{marginTop:`1rem`,padding:`0.5rem 1rem`,cursor:`pointer`},children:`Refresh Page`})]}):this.props.children}};function IG({children:e}){let t=typeof window<`u`&&window.location.pathname.startsWith(`/front-app`);return(0,H.jsxs)(`html`,{lang:`en`,suppressHydrationWarning:!0,children:[(0,H.jsx)(`head`,{children:(0,H.jsx)(qc,{})}),(0,H.jsxs)(`body`,{children:[(0,H.jsx)(FG,{children:(0,H.jsx)(OI,{children:(0,H.jsxs)(ou,{client:jG,children:[(0,H.jsx)(AG,{children:t?(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(NG,{}),e]}):(0,H.jsxs)(OG,{children:[(0,H.jsx)(PG,{}),(0,H.jsx)(NG,{}),e]})}),(0,H.jsx)(OF,{})]})})}),(0,H.jsx)(Jc,{})]})]})}var LG=`modulepreload`,RG=function(e){return`/`+e},zG={},Z=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}))))}r=o(t.map(t=>{if(t=RG(t,n),t in zG)return;zG[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:LG,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n
189)=>{o.addEventListener(`load`,e),o.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)})},BG=U(`/users`)({staticData:{breadcrumb:`All Users`},component:W(()=>Z(()=>import(`./users-BGARhh4y.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8])),`component`)}),VG=U(`/unsubscribe`)({staticData:{breadcrumb:`Email preferences`},validateSearch:e=>({status:e.status===`success`||e.status===`invalid`?e.status:void 0,category:typeof e.category==`string`?e.category:void 0,email:typeof e.email==`string`?e.email:void 0,store:typeof e.store==`string`?e.store:void 0}),component:W(()=>Z(()=>import(`./unsubscribe-DLjs_fXH.js`),__vite__mapDeps([9,1,2,3,4,5,6,7,10,11,12,13])),`component`)}),HG=U(`/support-ticket`)({staticData:{breadcrumb:`Support Feedback`},component:W(()=>Z(()=>import(`./support-ticket-bdpj00xW.js`),__vite__mapDeps([14,1,2,3,4,5,6,7,12,15,16,17])),`component`)}),UG=U(`/support`)({staticData:{breadcrumb:`Support`},component:W(()=>Z(()=>import(`./support-FlEkjGxg.js`),__vite__mapDeps([18,1,2,3,4,5,6,7,15,16,17,8,19,10,11,12,20,21,22,23])),`component`)}),WG;function Q(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 GG=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},KG=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(WG=globalThis).__zod_globalConfig??(WG.__zod_globalConfig={});var qG=globalThis.__zod_globalConfig;function JG(e){return e&&Object.assign(qG,e),qG}function YG(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 XG(e,t){return typeof t==`bigint`?t.toString():t}function ZG(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function QG(e){return e==null}function $G(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function eK(e,t){let n=e/t,r=Math.round(n),i=2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}var tK=Symbol(`evaluating`);function nK(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==tK)return r===void 0&&(r=tK,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function rK(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function iK(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function aK(e){return JSON.stringify(e)}function oK(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var sK=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function cK(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var lK=ZG(()=>{if(qG.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function uK(e){if(cK(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(cK(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function dK(e){return uK(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var fK=new Set([`string`,`number`,`symbol`]);function pK(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}
vendor: 4,523 bytes, line 189
189function mK(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function $(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 hK(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var gK={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function _K(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 mK(e,iK(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 rK(this,`shape`,e),e},checks:[]}))}function vK(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 mK(e,iK(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 rK(this,`shape`,r),r},checks:[]}))}function yK(e,t){if(!uK(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 overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return mK(e,iK(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return rK(this,`shape`,n),n}}))}function bK(e,t){if(!uK(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return mK(e,iK(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return rK(this,`shape`,n),n}}))}function xK(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return mK(e,iK(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return rK(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function SK(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 mK(t,iK(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 rK(this,`shape`,i),i},checks:[]}))}function CK(e,t,n){return mK(t,iK(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 rK(this,`shape`,i),i}}))}function wK(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 TK(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function EK(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function DK(e){return typeof e==`string`?e:e?.message}function OK(e,t,n){let r=e.message?e.message:DK(e.inst?._zod.def?.error?.(e))??DK(t?.error?.(e))??DK(n.customError?.(e))??DK(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function kK(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function AK(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var jK=(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,XG,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},MK=Q(`$ZodError`,jK),NK=Q(`$ZodError`,jK,{Parent:Error});function PK(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 FK(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>
vendor: 6,547 bytes, line 189
189{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i];i===e.length-1?(r[n]=r[n]||{_errors:[]},r[n]._errors.push(t(a))):r[n]=r[n]||{_errors:[]},r=r[n],i++}}}};return r(e),n}var IK=e=>(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new GG;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>OK(e,a,JG())));throw sK(t,i?.callee),t}return o.value},LK=e=>async(t,n,r,i)=>{let a=r?{...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=>OK(e,a,JG())));throw sK(t,i?.callee),t}return o.value},RK=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 GG;return a.issues.length?{success:!1,error:new(e??MK)(a.issues.map(e=>OK(e,i,JG())))}:{success:!0,data:a.value}},zK=RK(NK),BK=e=>async(t,n,r)=>{let i=r?{...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=>OK(e,i,JG())))}:{success:!0,data:a.value}},VK=BK(NK),HK=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return IK(e)(t,n,i)},UK=e=>(t,n,r)=>IK(e)(t,n,r),WK=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return LK(e)(t,n,i)},GK=e=>async(t,n,r)=>LK(e)(t,n,r),KK=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return RK(e)(t,n,i)},qK=e=>(t,n,r)=>RK(e)(t,n,r),JK=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return BK(e)(t,n,i)},YK=e=>async(t,n,r)=>BK(e)(t,n,r),XK=/^[cC][0-9a-z]{6,}$/,ZK=/^[0-9a-z]+$/,QK=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$K=/^[0-9a-vA-V]{20}$/,eq=/^[A-Za-z0-9]{27}$/,tq=/^[a-zA-Z0-9_-]{21}$/,nq=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,rq=/^([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})$/,iq=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)$/,aq=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,oq=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function sq(){return new RegExp(oq,`u`)}var cq=/^(?:(?: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])$/,lq=/^(([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}|:))$/,uq=/^((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])$/,dq=/^(([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])$/,fq=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,pq=/^[A-Za-z0-9_-]*$/,mq=/^https?$/,hq=/^\+[1-9]\d{6,14}$/,gq=`(?:(?:\\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])))`,_q=RegExp(`^${gq}$`);function vq(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 yq(e){return RegExp(`^${vq(e)}$`)}function bq(e){let t=vq({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(`^${gq}T(?:${r})$`)}var xq=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},Sq=/^-?\d+$/,Cq=/^-?\d+(?:\.\d+)?$/,wq=/^[^A-Z]*$/,Tq=/^[^a-z]*$/,Eq=Q(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Dq={number:`number`,bigint:`bigint`,object:`date`},Oq=Q(`$ZodCheckLessThan`,(e,t)=>{Eq.init(e,t);let n=Dq[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),kq=Q(`$ZodCheckGreaterThan`,(e,t)=>{Eq.init(e,t);let n=Dq[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Aq=Q(`$ZodCheckMultipleOf`,(e,t)=>{Eq.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):eK(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),jq=Q(`$ZodCheckNumberFormat`,(e,t)=>{Eq.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=gK[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=Sq)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>
vendor: 22,292 bytes, lines 189-250
1890?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Mq=Q(`$ZodCheckMaxLength`,(e,t)=>{var n;Eq.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!QG(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=kK(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Nq=Q(`$ZodCheckMinLength`,(e,t)=>{var n;Eq.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!QG(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=kK(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Pq=Q(`$ZodCheckLengthEquals`,(e,t)=>{var n;Eq.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!QG(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=kK(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})}}),Fq=Q(`$ZodCheckStringFormat`,(e,t)=>{var n,r;Eq.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=()=>{})}),Iq=Q(`$ZodCheckRegex`,(e,t)=>{Fq.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})}}),Lq=Q(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=wq,Fq.init(e,t)}),Rq=Q(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Tq,Fq.init(e,t)}),zq=Q(`$ZodCheckIncludes`,(e,t)=>{Eq.init(e,t);let n=pK(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})}}),Bq=Q(`$ZodCheckStartsWith`,(e,t)=>{Eq.init(e,t);let n=RegExp(`^${pK(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})}}),Vq=Q(`$ZodCheckEndsWith`,(e,t)=>{Eq.init(e,t);let n=RegExp(`.*${pK(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})}}),Hq=Q(`$ZodCheckOverwrite`,(e,t)=>{Eq.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Uq=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(` 190`).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(` 191`))}},Wq={major:4,minor:4,patch:3},Gq=Q(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Wq;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=wK(e),i;for(let a of t){if(a._zod.def.when){if(TK(e)||!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 GG;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=wK(e,t))});else{if(e.issues.length===t)continue;r||=wK(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(wK(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new GG;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{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 GG;return o.then(e=>t(e,r,a))}return t(o,r,a)}}nK(e,`~standard`,()=>({validate:t=>{try{let n=zK(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return VK(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Kq=Q(`$ZodString`,(e,t)=>{Gq.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??xq(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}}),qq=Q(`$ZodStringFormat`,(e,t)=>{Fq.init(e,t),Kq.init(e,t)}),Jq=Q(`$ZodGUID`,(e,t)=>{t.pattern??=rq,qq.init(e,t)}),Yq=Q(`$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??=iq(e)}else t.pattern??=iq();qq.init(e,t)}),Xq=Q(`$ZodEmail`,(e,t)=>{t.pattern??=aq,qq.init(e,t)}),Zq=Q(`$ZodURL`,(e,t)=>{qq.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===mq.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let 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})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),Qq=Q(`$ZodEmoji`,(e,t)=>{t.pattern??=sq(),qq.init(e,t)}),$q=Q(`$ZodNanoID`,(e,t)=>{t.pattern??=tq,qq.init(e,t)}),eJ=Q(`$ZodCUID`,(e,t)=>{t.pattern??=XK,qq.init(e,t)}),tJ=Q(`$ZodCUID2`,(e,t)=>{t.pattern??=ZK,qq.init(e,t)}),nJ=Q(`$ZodULID`,(e,t)=>{t.pattern??=QK,qq.init(e,t)}),rJ=Q(`$ZodXID`,(e,t)=>{t.pattern??=$K,qq.init(e,t)}),iJ=Q(`$ZodKSUID`,(e,t)=>{t.pattern??=eq,qq.init(e,t)}),aJ=Q(`$ZodISODateTime`,(e,t)=>{t.pattern??=bq(t),qq.init(e,t)}),oJ=Q(`$ZodISODate`,(e,t)=>{t.pattern??=_q,qq.init(e,t)}),sJ=Q(`$ZodISOTime`,(e,t)=>{t.pattern??=yq(t),qq.init(e,t)}),cJ=Q(`$ZodISODuration`,(e,t)=>{t.pattern??=nq,qq.init(e,t)}),lJ=Q(`$ZodIPv4`,(e,t)=>{t.pattern??=cq,qq.init(e,t),e._zod.bag.format=`ipv4`}),uJ=Q(`$ZodIPv6`,(e,t)=>{t.pattern??=lq,qq.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})}}}),dJ=Q(`$ZodCIDRv4`,(e,t)=>{t.pattern??=uq,qq.init(e,t)}),fJ=Q(`$ZodCIDRv6`,(e,t)=>{t.pattern??=dq,qq.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 pJ(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var mJ=Q(`$ZodBase64`,(e,t)=>{t.pattern??=fq,qq.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{pJ(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function hJ(e){if(!pq.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return pJ(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var gJ=Q(`$ZodBase64URL`,(e,t)=>{t.pattern??=pq,qq.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{hJ(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),_J=Q(`$ZodE164`,(e,t)=>{t.pattern??=hq,qq.init(e,t)});function vJ(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 yJ=Q(`$ZodJWT`,(e,t)=>{qq.init(e,t),e._zod.check=n=>{vJ(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),bJ=Q(`$ZodNumber`,(e,t)=>{Gq.init(e,t),e._zod.pattern=e._zod.bag.pattern??Cq,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),xJ=Q(`$ZodNumberFormat`,(e,t)=>{jq.init(e,t),bJ.init(e,t)}),SJ=Q(`$ZodUnknown`,(e,t)=>{Gq.init(e,t),e._zod.parse=e=>e}),CJ=Q(`$ZodNever`,(e,t)=>{Gq.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function wJ(e,t,n){e.issues.length&&t.issues.push(...EK(n,e.issues)),t.value[n]=e.value}var TJ=Q(`$ZodArray`,(e,t)=>{Gq.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=>wJ(t,n,e))):wJ(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function EJ(e,t,n,r,i,a){let o=n in r;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...EK(n,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function DJ(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=hK(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function OJ(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optin===`optional`,d=c.optout===`optional`;for(let i in t){if(i===`__proto__`||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=>EJ(e,n,i,t,u,d))):EJ(a,n,i,t,u,d)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var kJ=Q(`$ZodObject`,(e,t)=>{if(Gq.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=ZG(()=>DJ(t));nK(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=cK,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.optin===`optional`,i=n._zod.optout===`optional`,a=n._zod.run({value:s[e],issues:[]},o);a instanceof Promise?c.push(a.then(n=>EJ(n,t,e,s,r,i))):EJ(a,t,e,s,r,i)}return i?OJ(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),AJ=Q(`$ZodObjectJIT`,(e,t)=>{kJ.init(e,t);let n=e._zod.parse,r=ZG(()=>DJ(t)),i=e=>{let t=new Uq([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=aK(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=aK(r),s=e[r],c=s?._zod?.optin===`optional`,l=s?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),c&&l?t.write(` 192 if (${n}.issues.length) { 193 if (${o} in input) { 194 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 195 ...iss, 196 path: iss.path ? [${o}, ...iss.path] : [${o}] 197 }))); 198 } 199 } 200 201 if (${n}.value === undefined) { 202 if (${o} in input) { 203 newResult[${o}] = undefined; 204 } 205 } else { 206 newResult[${o}] = ${n}.value; 207 } 208 209 `):c?t.write(` 210 if (${n}.issues.length) { 211 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 212 ...iss, 213 path: iss.path ? [${o}, ...iss.path] : [${o}] 214 }))); 215 } 216 217 if (${n}.value === undefined) { 218 if (${o} in input) { 219 newResult[${o}] = undefined; 220 } 221 } else { 222 newResult[${o}] = ${n}.value; 223 } 224 225 `):t.write(` 226 const ${n}_present = ${o} in input; 227 if (${n}.issues.length) { 228 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 229 ...iss, 230 path: iss.path ? [${o}, ...iss.path] : [${o}] 231 }))); 232 } 233 if (!${n}_present && !${n}.issues.length) { 234 payload.issues.push({ 235 code: "invalid_type", 236 expected: "nonoptional", 237 input: undefined, 238 path: [${o}] 239 }); 240 } 241 242 if (${n}_present) { 243 if (${n}.value === undefined) { 244 newResult[${o}] = undefined; 245 } else { 246 newResult[${o}] = ${n}.value; 247 } 248 } 249 250 `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=cK,s=!qG.jitless,c=s&&lK.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?OJ([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function jJ(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=>!wK(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=>OK(e,r,JG())))}),t)}var MJ=Q(`$ZodUnion`,(e,t)=>{Gq.init(e,t),nK(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),nK(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),nK(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),nK(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=>$G(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>jJ(t,r,e,i)):jJ(o,r,e,i)}}),NJ=Q(`$ZodIntersection`,(e,t)=>{Gq.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])=>FJ(e,t,n)):FJ(e,i,a)}});function PJ(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(uK(e)&&uK(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=PJ(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=PJ(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 FJ(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}),wK(e))return e;let o=PJ(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var IJ=Q(`$ZodEnum`,(e,t)=>{Gq.init(e,t);let n=YG(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>fK.has(typeof e)).map(e=>typeof e==`string`?pK(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}}),LJ=Q(`$ZodTransform`,(e,t)=>{Gq.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new KG(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.fallback=!0,n));if(i instanceof Promise)throw new GG;return n.value=i,n.fallback=!0,n}});function RJ(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var zJ=Q(`$ZodOptional`,(e,t)=>{Gq.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,nK(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),nK(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${$G(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>RJ(e,r)):RJ(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),BJ=Q(`$ZodExactOptional`,(e,t)=>{zJ.init(e,t),nK(e._zod,`values`,()=>t.innerType._zod.values),nK(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),VJ=Q(`$ZodNullable`,(e,t)=>{Gq.init(e,t),nK(e._zod,`optin`,()=>t.innerType._zod.optin),nK(e._zod,`optout`,()=>t.innerType._zod.optout),nK(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${$G(e.source)}|null)$`):void 0}),nK(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)}),HJ=Q(`$ZodDefault`,(e,t)=>{Gq.init(e,t),e._zod.optin=`optional`,nK(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=>UJ(e,t)):UJ(r,t)}});function UJ(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var WJ=Q(`$ZodPrefault`,(e,t)=>{Gq.init(e,t),e._zod.optin=`optional`,nK(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))}),GJ=Q(`$ZodNonOptional`,(e,t)=>{Gq.init(e,t),nK(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=>KJ(t,e)):KJ(i,e)}});function KJ(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 qJ=Q(`$ZodCatch`,(e,t)=>{Gq.init(e,t),e._zod.optin=`optional`,nK(e._zod,`optout`,()=>t.innerType._zod.optout),nK(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=>OK(e,n,JG()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>OK(e,n,JG()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),JJ=Q(`$ZodPipe`,(e,t)=>{Gq.init(e,t),nK(e._zod,`values`,()=>t.in._zod.values),nK(e._zod,`optin`,()=>t.in._zod.optin),nK(e._zod,`optout`,()=>t.out._zod.optout),nK(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=>YJ(e,t.in,n)):YJ(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>YJ(e,t.out,n)):YJ(r,t.out,n)}});function YJ(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}var XJ=Q(`$ZodReadonly`,(e,t)=>
vendor: 5,669 bytes, line 250
250{Gq.init(e,t),nK(e._zod,`propValues`,()=>t.innerType._zod.propValues),nK(e._zod,`values`,()=>t.innerType._zod.values),nK(e._zod,`optin`,()=>t.innerType?._zod?.optin),nK(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(ZJ):ZJ(r)}});function ZJ(e){return e.value=Object.freeze(e.value),e}var QJ=Q(`$ZodCustom`,(e,t)=>{Eq.init(e,t),Gq.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=>$J(t,n,r,e));$J(i,n,r,e)}});function $J(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(AK(e))}}var eY,tY=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 nY(){return new tY}(eY=globalThis).__zod_globalRegistry??(eY.__zod_globalRegistry=nY());var rY=globalThis.__zod_globalRegistry;function iY(e,t){return new e({type:`string`,...$(t)})}function aY(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...$(t)})}function oY(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...$(t)})}function sY(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...$(t)})}function cY(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...$(t)})}function lY(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...$(t)})}function uY(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...$(t)})}function dY(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...$(t)})}function fY(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...$(t)})}function pY(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...$(t)})}function mY(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...$(t)})}function hY(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...$(t)})}function gY(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...$(t)})}function _Y(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...$(t)})}function vY(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...$(t)})}function yY(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...$(t)})}function bY(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...$(t)})}function xY(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...$(t)})}function SY(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...$(t)})}function CY(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...$(t)})}function wY(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...$(t)})}function TY(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...$(t)})}function EY(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...$(t)})}function DY(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...$(t)})}function OY(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...$(t)})}function kY(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...$(t)})}function AY(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...$(t)})}function jY(e,t){return new e({type:`number`,coerce:!0,checks:[],...$(t)})}function MY(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...$(t)})}function NY(e){return new e({type:`unknown`})}function PY(e,t){return new e({type:`never`,...$(t)})}function FY(e,t){return new Oq({check:`less_than`,...$(t),value:e,inclusive:!1})}function IY(e,t){return new Oq({check:`less_than`,...$(t),value:e,inclusive:!0})}function LY(e,t){return new kq({check:`greater_than`,...$(t),value:e,inclusive:!1})}function RY(e,t){return new kq({check:`greater_than`,...$(t),value:e,inclusive:!0})}function zY(e,t){return new Aq({check:`multiple_of`,...$(t),value:e})}function BY(e,t){return new Mq({check:`max_length`,...$(t),maximum:e})}function VY(e,t){return new Nq({check:`min_length`,...$(t),minimum:e})}function HY(e,t){return new Pq({check:`length_equals`,...$(t),length:e})}function UY(e,t){return new Iq({check:`string_format`,format:`regex`,...$(t),pattern:e})}function WY(e){return new Lq({check:`string_format`,format:`lowercase`,...$(e)})}function GY(e){return new Rq({check:`string_format`,format:`uppercase`,...$(e)})}function KY(e,t){return new zq({check:`string_format`,format:`includes`,...$(t),includes:e})}function qY(e,t){return new Bq({check:`string_format`,format:`starts_with`,...$(t),prefix:e})}function JY(e,t){return new Vq({check:`string_format`,format:`ends_with`,...$(t),suffix:e})}
vendor: 22,519 bytes, lines 250-252
250function YY(e){return new Hq({check:`overwrite`,tx:e})}function XY(e){return YY(t=>t.normalize(e))}function ZY(){return YY(e=>e.trim())}function QY(){return YY(e=>e.toLowerCase())}function $Y(){return YY(e=>e.toUpperCase())}function eX(){return YY(e=>oK(e))}function tX(e,t,n){return new e({type:`array`,element:t,...$(n)})}function nX(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...$(n)})}function rX(e,t){let n=iX(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(AK(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(AK(r))}},e(t.value,t)),t);return n}function iX(e,t){let n=new Eq({check:`custom`,...$(t)});return n._zod.check=e,n}function aX(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??rY,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 oX(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,oX(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`&&lX(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function sX(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> 251 252Set 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 cX(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.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,`~standard`,{value:{...t[`~standard`],jsonSchema:{input:dX(t,`input`,e.processors),output:dX(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function lX(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 lX(r.element,n);if(r.type===`set`)return lX(r.valueType,n);if(r.type===`lazy`)return lX(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 lX(r.innerType,n);if(r.type===`intersection`)return lX(r.left,n)||lX(r.right,n);if(r.type===`record`||r.type===`map`)return lX(r.keyType,n)||lX(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:lX(r.in,n)||lX(r.out,n);if(r.type===`object`){for(let e in r.shape)if(lX(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(lX(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(lX(e,n))return!0;return!!(r.rest&&lX(r.rest,n))}return!1}var uX=(e,t={})=>n=>{let r=aX({...n,processors:t});return oX(e,r),sX(r,e),cX(r,e)},dX=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=aX({...i??{},target:a,io:t,processors:n});return oX(e,o),sX(o,e),cX(o,e)},fX={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},pX=(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=fX[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}))])}},mX=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},hX=(e,t,n,r)=>{n.not={}},gX=(e,t,n,r)=>{let i=e._zod.def,a=YG(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},_X=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},vX=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},yX=(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=oX(a.element,t,{...r,path:[...r.path,`items`]})},bX=(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]=oX(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=oX(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},xX=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>oX(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},SX=(e,t,n,r)=>{let i=e._zod.def,a=oX(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=oX(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]]},CX=(e,t,n,r)=>{let i=e._zod.def,a=oX(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`}]},wX=(e,t,n,r)=>{let i=e._zod.def;oX(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},TX=(e,t,n,r)=>{let i=e._zod.def;oX(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},EX=(e,t,n,r)=>{let i=e._zod.def;oX(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)))},DX=(e,t,n,r)=>{let i=e._zod.def;oX(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},OX=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;oX(o,t,r);let s=t.seen.get(e);s.ref=o},kX=(e,t,n,r)=>{let i=e._zod.def;oX(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},AX=(e,t,n,r)=>{let i=e._zod.def;oX(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},jX=Q(`ZodISODateTime`,(e,t)=>{aJ.init(e,t),iZ.init(e,t)});function MX(e){return DY(jX,e)}var NX=Q(`ZodISODate`,(e,t)=>{oJ.init(e,t),iZ.init(e,t)});function PX(e){return OY(NX,e)}var FX=Q(`ZodISOTime`,(e,t)=>{sJ.init(e,t),iZ.init(e,t)});function IX(e){return kY(FX,e)}var LX=Q(`ZodISODuration`,(e,t)=>{cJ.init(e,t),iZ.init(e,t)});function RX(e){return AY(LX,e)}var zX=Q(`ZodError`,(e,t)=>{MK.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>FK(e,t)},flatten:{value:t=>PK(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,XG,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,XG,2)}},isEmpty:{get(){return e.issues.length===0}}})},{Parent:Error}),BX=IK(zX),VX=LK(zX),HX=RK(zX),UX=BK(zX),WX=HK(zX),GX=UK(zX),KX=WK(zX),qX=GK(zX),JX=KK(zX),YX=qK(zX),XX=JK(zX),ZX=YK(zX),QX=new WeakMap;function $X(e,t,n){let r=Object.getPrototypeOf(e),i=QX.get(r);if(i||(i=new Set,QX.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}var eZ=Q(`ZodType`,(e,t)=>(Gq.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:dX(e,`input`),output:dX(e,`output`)}}),e.toJSONSchema=uX(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.parse=(t,n)=>BX(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>HX(e,t,n),e.parseAsync=async(t,n)=>VX(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>UX(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>WX(e,t,n),e.decode=(t,n)=>GX(e,t,n),e.encodeAsync=async(t,n)=>KX(e,t,n),e.decodeAsync=async(t,n)=>qX(e,t,n),e.safeEncode=(t,n)=>JX(e,t,n),e.safeDecode=(t,n)=>YX(e,t,n),e.safeEncodeAsync=async(t,n)=>XX(e,t,n),e.safeDecodeAsync=async(t,n)=>ZX(e,t,n),$X(e,`ZodType`,{check(...e){let t=this.def;return this.clone(iK(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return mK(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(cQ(e,t))},superRefine(e,t){return this.check(lQ(e,t))},overwrite(e){return this.check(YY(e))},optional(){return WZ(this)},exactOptional(){return KZ(this)},nullable(){return JZ(this)},nullish(){return WZ(JZ(this))},nonoptional(e){return eQ(this,e)},array(){return MZ(this)},or(e){return IZ([this,e])},and(e){return RZ(this,e)},transform(e){return iQ(this,HZ(e))},default(e){return XZ(this,e)},prefault(e){return QZ(this,e)},catch(e){return nQ(this,e)},pipe(e){return iQ(this,e)},readonly(){return oQ(this)},describe(e){let t=this.clone();return rY.add(t,{description:e}),t},meta(...e){if(e.length===0)return rY.get(this);let t=this.clone();return rY.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,`description`,{get(){return rY.get(e)?.description},configurable:!0}),e)),tZ=Q(`_ZodString`,(e,t)=>{Kq.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pX(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,$X(e,`_ZodString`,{regex(...e){return this.check(UY(...e))},includes(...e){return this.check(KY(...e))},startsWith(...e){return this.check(qY(...e))},endsWith(...e){return this.check(JY(...e))},min(...e){return this.check(VY(...e))},max(...e){return this.check(BY(...e))},length(...e){return this.check(HY(...e))},nonempty(...e){return this.check(VY(1,...e))},lowercase(e){return this.check(WY(e))},uppercase(e){return this.check(GY(e))},trim(){return this.check(ZY())},normalize(...e){return this.check(XY(...e))},toLowerCase(){return this.check(QY())},toUpperCase(){return this.check($Y())},slugify(){return this.check(eX())}})}),nZ=Q(`ZodString`,(e,t)=>{Kq.init(e,t),tZ.init(e,t),e.email=t=>e.check(aY(aZ,t)),e.url=t=>e.check(dY(cZ,t)),e.jwt=t=>e.check(EY(CZ,t)),e.emoji=t=>e.check(fY(lZ,t)),e.guid=t=>e.check(oY(oZ,t)),e.uuid=t=>e.check(sY(sZ,t)),e.uuidv4=t=>e.check(cY(sZ,t)),e.uuidv6=t=>e.check(lY(sZ,t)),e.uuidv7=t=>e.check(uY(sZ,t)),e.nanoid=t=>e.check(pY(uZ,t)),e.guid=t=>e.check(oY(oZ,t)),e.cuid=t=>e.check(mY(dZ,t)),e.cuid2=t=>e.check(hY(fZ,t)),e.ulid=t=>e.check(gY(pZ,t)),e.base64=t=>e.check(CY(bZ,t)),e.base64url=t=>e.check(wY(xZ,t)),e.xid=t=>e.check(_Y(mZ,t)),e.ksuid=t=>e.check(vY(hZ,t)),e.ipv4=t=>e.check(yY(gZ,t)),e.ipv6=t=>e.check(bY(_Z,t)),e.cidrv4=t=>e.check(xY(vZ,t)),e.cidrv6=t=>e.check(SY(yZ,t)),e.e164=t=>e.check(TY(SZ,t)),e.datetime=t=>e.check(MX(t)),e.date=t=>e.check(PX(t)),e.time=t=>e.check(IX(t)),e.duration=t=>e.check(RX(t))});function rZ(e){return iY(nZ,e)}var iZ=Q(`ZodStringFormat`,(e,t)=>{qq.init(e,t),tZ.init(e,t)}),aZ=Q(`ZodEmail`,(e,t)=>{Xq.init(e,t),iZ.init(e,t)}),oZ=Q(`ZodGUID`,(e,t)=>{Jq.init(e,t),iZ.init(e,t)}),sZ=Q(`ZodUUID`,(e,t)=>{Yq.init(e,t),iZ.init(e,t)}),cZ=Q(`ZodURL`,(e,t)=>{Zq.init(e,t),iZ.init(e,t)}),lZ=Q(`ZodEmoji`,(e,t)=>{Qq.init(e,t),iZ.init(e,t)}),uZ=Q(`ZodNanoID`,(e,t)=>{$q.init(e,t),iZ.init(e,t)}),dZ=Q(`ZodCUID`,(e,t)=>{eJ.init(e,t),iZ.init(e,t)}),fZ=Q(`ZodCUID2`,(e,t)=>{tJ.init(e,t),iZ.init(e,t)}),pZ=Q(`ZodULID`,(e,t)=>{nJ.init(e,t),iZ.init(e,t)}),mZ=Q(`ZodXID`,(e,t)=>{rJ.init(e,t),iZ.init(e,t)}),hZ=Q(`ZodKSUID`,(e,t)=>{iJ.init(e,t),iZ.init(e,t)}),gZ=Q(`ZodIPv4`,(e,t)=>{lJ.init(e,t),iZ.init(e,t)}),_Z=Q(`ZodIPv6`,(e,t)=>{uJ.init(e,t),iZ.init(e,t)}),vZ=Q(`ZodCIDRv4`,(e,t)=>{dJ.init(e,t),iZ.init(e,t)}),yZ=Q(`ZodCIDRv6`,(e,t)=>{fJ.init(e,t),iZ.init(e,t)}),bZ=Q(`ZodBase64`,(e,t)=>{mJ.init(e,t),iZ.init(e,t)}),xZ=Q(`ZodBase64URL`,(e,t)=>{gJ.init(e,t),iZ.init(e,t)}),SZ=Q(`ZodE164`,(e,t)=>{_J.init(e,t),iZ.init(e,t)}),CZ=Q(`ZodJWT`,(e,t)=>{yJ.init(e,t),iZ.init(e,t)}),wZ=Q(`ZodNumber`,(e,t)=>{bJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mX(e,t,n,r),$X(e,`ZodNumber`,{gt(e,t){return this.check(LY(e,t))},gte(e,t){return this.check(RY(e,t))},min(e,t){return this.check(RY(e,t))},lt(e,t){return this.check(FY(e,t))},lte(e,t){return this.check(IY(e,t))},max(e,t){return this.check(IY(e,t))},int(e){return this.check(EZ(e))},safe(e){return this.check(EZ(e))},positive(e){return this.check(LY(0,e))},nonnegative(e){return this.check(RY(0,e))},negative(e){return this.check(FY(0,e))},nonpositive(e){return this.check(IY(0,e))},multipleOf(e,t){return this.check(zY(e,t))},step(e,t){return this.check(zY(e,t))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null}),TZ=Q(`ZodNumberFormat`,(e,t)=>{xJ.init(e,t),wZ.init(e,t)});function EZ(e){return MY(TZ,e)}var DZ=Q(`ZodUnknown`,(e,t)=>{SJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function OZ(){return NY(DZ)}var kZ=Q(`ZodNever`,(e,t)=>{CJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hX(e,t,n,r)});function AZ(e){return PY(kZ,e)}var jZ=Q(`ZodArray`,(e,t)=>{TJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yX(e,t,n,r),e.element=t.element,$X(e,`ZodArray`,{min(e,t){return this.check(VY(e,t))},nonempty(e){return this.check(VY(1,e))},max(e,t){return this.check(BY(e,t))},length(e,t){return this.check(HY(e,t))},unwrap(){return this.element}})});function MZ(e,t){return tX(jZ,e,t)}var NZ=Q(`ZodObject`,(e,t)=>{AJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bX(e,t,n,r),nK(e,`shape`,()=>t.shape),$X(e,`ZodObject`,{keyof(){return BZ(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:OZ()})},loose(){return this.clone({...this._zod.def,catchall:OZ()})},strict(){return this.clone({...this._zod.def,catchall:AZ()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return yK(this,e)},safeExtend(e){return bK(this,e)},merge(e){return xK(this,e)},pick(e){return _K(this,e)},omit(e){return vK(this,e)},partial(...e){return SK(UZ,this,e[0])},required(...e){return CK($Z,this,e[0])}})});function PZ(e,t){return new NZ({type:`object`,shape:e??{},...$(t)})}var FZ=Q(`ZodUnion`,(e,t)=>{MJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xX(e,t,n,r),e.options=t.options});function IZ(e,t){return new FZ({type:`union`,options:e,...$(t)})}var LZ=Q(`ZodIntersection`,(e,t)=>{NJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>SX(e,t,n,r)});function RZ(e,t){return new LZ({type:`intersection`,left:e,right:t})}var zZ=Q(`ZodEnum`,(e,t)=>{IJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gX(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 zZ({...t,checks:[],...$(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 zZ({...t,checks:[],...$(r),entries:i})}});function BZ(e,t){return new zZ({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...$(t)})}var VZ=Q(`ZodTransform`,(e,t)=>{LJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vX(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new KG(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(AK(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(AK(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function HZ(e){return new VZ({type:`transform`,transform:e})}var UZ=Q(`ZodOptional`,(e,t)=>{zJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>AX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function WZ(e){return new UZ({type:`optional`,innerType:e})}var GZ=Q(`ZodExactOptional`,(e,t)=>{BJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>AX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function KZ(e){return new GZ({type:`optional`,innerType:e})}var qZ=Q(`ZodNullable`,(e,t)=>{VJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>CX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function JZ(e){return new qZ({type:`nullable`,innerType:e})}var YZ=Q(`ZodDefault`,(e,t)=>{HJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>TX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function XZ(e,t){return new YZ({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():dK(t)}})}var ZZ=Q(`ZodPrefault`,(e,t)=>{WJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>EX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function QZ(e,t){return new ZZ({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():dK(t)}})}var $Z=Q(`ZodNonOptional`,(e,t)=>{GJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function eQ(e,t){return new $Z({type:`nonoptional`,innerType:e,...$(t)})}var tQ=Q(`ZodCatch`,(e,t)=>{qJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>DX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function nQ(e,t){return new tQ({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var rQ=Q(`ZodPipe`,(e,t)=>{JJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>OX(e,t,n,r),e.in=t.in,e.out=t.out});function iQ(e,t){return new rQ({type:`pipe`,in:e,out:t})}var aQ=Q(`ZodReadonly`,(e,t)=>{XJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function oQ(e){return new aQ({type:`readonly`,innerType:e})}var sQ=Q(`ZodCustom`,(e,t)=>{QJ.init(e,t),eZ.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_X(e,t,n,r)});function cQ(e,t={}){return nX(sQ,e,t)}function lQ(e,t){return rX(e,t)}function uQ(e){return jY(wZ,e)}function dQ(){let e=new Date;return`${e.getFullYear()}
252-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}function fQ(e,t){let[n,r,i]=e.split(`-`).map(Number),a=new Date(n,r-1,i);return a.setDate(a.getDate()-t),SQ(a)}function pQ(e,t){let[n,r,i]=e.split(`-`).map(Number),a=n*12+(r-1)-t,o=Math.floor(a/12),s=(a%12+12)%12,c=new Date(o,s+1,0).getDate();return SQ(new Date(o,s,Math.min(i,c)))}function mQ(e,t,n=`en-US`){if(!e||!t)return`Select date range`;let r=CQ(e,n);return e===t?r:`${r} - ${CQ(t,n)}`}var hQ=[{id:`today`,label:`Today`,getRange:()=>{let e=dQ();return{start:e,end:e}}},{id:`last7days`,label:`Last 7 Days`,getRange:()=>{let e=dQ();return{start:fQ(e,6),end:e}}},{id:`last30days`,label:`Last 30 Days`,getRange:()=>{let e=dQ();return{start:fQ(e,29),end:e}}},{id:`last3months`,label:`Last 3 Months`,getRange:()=>{let e=dQ();return{start:pQ(e,3),end:e}}},{id:`last6months`,label:`Last 6 Months`,getRange:()=>{let e=dQ();return{start:pQ(e,6),end:e}}},{id:`custom`,label:`Custom Range`,getRange:()=>{let e=dQ();return{start:e,end:e}}}];function gQ(e,t){let n=new Date,r=new Date(n.getFullYear(),n.getMonth()-e,1),i=r.getFullYear(),a=r.getMonth();return{start:SQ(new Date(i,a,1)),end:t?dQ():SQ(new Date(i,a+1,0))}}var _Q=[{id:`today`,label:`Today`,getRange:()=>{let e=dQ();return{start:e,end:e}}},{id:`currentMonth`,label:`This Month`,getRange:()=>gQ(0,!0)},{id:`previousMonth`,label:`Last Month`,getRange:()=>gQ(1,!1)},{id:`monthBeforePrevious`,label:`2 Months Ago`,getRange:()=>gQ(2,!1)},{id:`custom`,label:`Custom Range`,getRange:()=>{let e=dQ();return{start:e,end:e}}}];function vQ(e){return(hQ.find(t=>t.id===e)??_Q.find(t=>t.id===e))?.getRange()??hQ[0].getRange()}function yQ(e,t,n=hQ){for(let r of n){if(r.id===`custom`)continue;let n=r.getRange();if(n.start===e&&n.end===t)return r.id}return`custom`}function bQ(e,t){if(!e||!t)return[];try{return[wC(e),wC(t)]}catch{return[]}}function xQ(e){let[t,n]=e;if(!t||!n)return null;let[r,i]=[t.toString(),n.toString()].sort();return{startDate:r,endDate:i}}function SQ(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}function CQ(e,t){try{let[n,r,i]=e.split(`-`).map(Number),a=new Date(Date.UTC(n,r-1,i));return new Intl.DateTimeFormat(t,{year:`numeric`,month:`long`,day:`numeric`,timeZone:`UTC`}).format(a)}catch{return e}}function wQ(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||`UTC`}catch{return`UTC`}}function TQ(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}function EQ(){let e=new Date,t=new Date;return t.setDate(t.getDate()-29),{startDate:TQ(t),endDate:TQ(e)}}var DQ=PZ({startDate:rZ().optional(),endDate:rZ().optional(),tz:rZ().optional()}),OQ=DQ.extend({page:uQ().optional(),pageSize:uQ().optional(),sortBy:rZ().optional(),sortDir:BZ([`asc`,`desc`]).optional(),search:rZ().optional()});function kQ(e){let t=EQ();return{startDate:e.startDate??t.startDate,endDate:e.endDate??t.endDate,tz:e.tz??wQ()}}function AQ(e){let t=vQ(`currentMonth`);return{startDate:e.startDate??t.start,endDate:e.endDate??t.end,tz:e.tz??wQ()}}function jQ(e,t,n,r,i){let a=new URLSearchParams;if(a.set(`startDate`,e),a.set(`endDate`,t),a.set(`tz`,n),a.set(`page`,String(r.page)),a.set(`pageSize`,String(r.pageSize)),r.sortBy&&(a.set(`sortBy`,r.sortBy),a.set(`sortDir`,r.sortDir)),r.search&&a.set(`search`,r.search),i)for(let[e,t]of Object.entries(i))t&&a.set(e,t);return a}var MQ={stats:`stats/detailed/export`,queries:`queries/export`,filters:`filters/export`,sessions:`sessions/export`,vehicles:`vehicles/export`,products:`products/export`};function NQ(e,t,n,r,i,a){let o=MQ[t];if(!o)return``;let s=new URLSearchParams;if(s.set(`startDate`,n),s.set(`endDate`,r),s.set(`tz`,i),a)for(let[e,t]of Object.entries(a))t&&s.set(e,t);return`/api/stores/${e}/${o}?${s.toString()}`}var PQ=[`startDate`,`endDate`,`tz`,`page`,`pageSize`,`sortBy`,`sortDir`,`search`,`facetName`];function FQ(e,t=PQ){let n={};for(let[r,i]of Object.entries(e))!t.includes(r)&&typeof i==`string`&&i&&(n[r]=i);return n}var IQ=U(`/revenue`)({staticData:{breadcrumb:`Revenue`,breadcrumbPreserveSearch:!0}
252,validateSearch:e=>DQ.passthrough().parse(e),component:W(()=>Z(()=>import(`./revenue-6u_WxxM8.js`),__vite__mapDeps([24,1,2,3,4,5,6,7,25,26,27,28,10,11,29,30,31,32,21,13,33,34,8])),`component`)}),LQ=U(`/promo-plans`)({staticData:{breadcrumb:`Promo Codes`},component:W(()=>Z(()=>import(`./promo-plans-4bMOYmM8.js`),__vite__mapDeps([35,1,2,3,4,5,6,7,10,11,36,20,21,37,28,29,27,30,31,32,13,33,38,39,23,8])),`component`)}),RQ=U(`/organizations`)({staticData:{breadcrumb:`Organizations`},component:W(()=>Z(()=>import(`./organizations-Uq9nfvVk.js`),__vite__mapDeps([40,1,2,3,4,5,6,7,8])),`component`)}),zQ=U(`/leads`)({staticData:{breadcrumb:`Partner Leads`},component:W(()=>Z(()=>import(`./leads-HzXIBbx-.js`),__vite__mapDeps([41,1,2,3,4,5,6,7,10,11,28,29,27,30,31,32,21,13,33,12,20,42,8,43,17,23])),`component`)}),BQ=U(`/invoices`)({staticData:{breadcrumb:`Invoices`,breadcrumbPreserveSearch:!0},validateSearch:e=>DQ.passthrough().parse(e),component:W(()=>Z(()=>import(`./invoices-BOCngjNN.js`),__vite__mapDeps([44,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,38,37,20,8,23])),`component`)}),VQ=U(`/front-app`)({component:W(()=>Z(()=>import(`./front-app-UHoeAdI0.js`),__vite__mapDeps([45,1,2,3,4,5,6,7,46,47,26,27,12,20,30,15,16,17,22,23])),`component`)}),HQ=U(`/forbidden`)({staticData:{breadcrumb:`Access Denied`},component:W(()=>Z(()=>import(`./forbidden-D4A6v7u8.js`),__vite__mapDeps([48,1,2,3,4,5,6,7,49,50,8,51,12])),`component`),validateSearch:e=>({storeId:typeof e.storeId==`string`?e.storeId:void 0})}),UQ=U(`/$storeId`)({staticData:{breadcrumb:e=>e.params.storeId},component:W(()=>Z(()=>import(`./_storeId-C-o1KAG0.js`),__vite__mapDeps([52,1,2,3,4,5,6,7,8])),`component`)}),WQ=U(`/$`)({component:W(()=>Z(()=>import(`./_-D9gVdr-S.js`),__vite__mapDeps([53,1,2,3,4,5,6,7])),`component`)}),GQ=U(`/`)({staticData:{breadcrumb:`Stores`},component:W(()=>Z(()=>import(`./routes-CAs6KVoJ.js`),__vite__mapDeps([54,1,2,3,4,5,6,7,10,11,55,56,12,32,31,38,21,49,50,8,43,51,23])),`component`),validateSearch:e=>({intent:e.intent===`support`||e.intent===`normal`?e.intent:void 0})}),KQ=U(`/ui-kit/`)({component:W(()=>Z(()=>import(`./ui-kit-Moe4eQ1D.js`),__vite__mapDeps([57,4,32])),`component`)}),qQ=U(`/ui-kit/ui-blocks`)({component:W(()=>Z(()=>import(`./ui-blocks-lYMHF7RD.js`),__vite__mapDeps([58,1,2,3,4,5,6,7,29,27,32,21])),`component`)}),JQ=U(`/ui-kit/typography`)({component:W(()=>Z(()=>import(`./typography-Bue3HHKd.js`),__vite__mapDeps([59,4,32])),`component`)}),YQ=U(`/ui-kit/theme`)({component:W(()=>Z(()=>import(`./theme-Cl61Dwkv.js`),__vite__mapDeps([60,4,32,7])),`component`)}),XQ=U(`/ui-kit/tables`)({component:W(()=>Z(()=>import(`./tables-h1EEOy_P.js`),__vite__mapDeps([61,1,2,3,4,5,6,7,21])),`component`)}),ZQ=U(`/ui-kit/stats`)({component:W(()=>Z(()=>import(`./stats-YrGQu9hl.js`),__vite__mapDeps([62,3,4,32,6,31,7,38,63])),`component`)}),QQ=U(`/ui-kit/primitives`)({component:W(()=>Z(()=>import(`./primitives-CzujO6Ko.js`),__vite__mapDeps([64,4,7])),`component`)}),$Q=U(`/ui-kit/loading`)({component:W(()=>Z(()=>import(`./loading-BpI9FrkA.js`),__vite__mapDeps([65,4,32,7,21])),`component`)}),e$=U(`/ui-kit/forms`)({component:W(()=>Z(()=>import(`./forms-B7r789A-.js`),__vite__mapDeps([66,2,67,68,11,4,12,6,31,32,7,42,16])),`component`)}),t$=U(`/ui-kit/cards`)({component:W(()=>Z(()=>import(`./cards-CW5HLR8N.js`),__vite__mapDeps([69,4,32,7])),`component`)}),n$=U(`/ui-kit/buttons`)({component:W(()=>Z(()=>import(`./buttons-Cke9EL8I.js`),__vite__mapDeps([70,4,32,7])),`component`)}),r$=U(`/ui-kit/alerts`)({component:W(()=>Z(()=>import(`./alerts-C8OcKHqr.js`),__vite__mapDeps([71,56,4,5,32])),`component`)}),i$=U(`/auth/session-expired`)({component:W(()=>Z(()=>
252import(`./session-expired-7VF1ZjA1.js`),__vite__mapDeps([72,1,2,3,4,5,6,7])),`component`)}),a$=U(`/auth/logged-out`)({component:W(()=>Z(()=>import(`./logged-out-CwTZi1kT.js`),__vite__mapDeps([73,1,2,3,4,5,6,7])),`component`)}),o$=()=>Z(()=>import(`./error-DH7RrsoR.js`),__vite__mapDeps([74,1,2,3,4,5,6,7])),s$=PZ({error:rZ().optional(),error_description:rZ().optional()}),c$=U(`/auth/error`)({validateSearch:s$,component:W(o$,`component`)}),l$=U(`/users/`)({component:W(()=>Z(()=>import(`./users-QrVgELJf.js`),__vite__mapDeps([75,1,2,3,4,5,6,7,21,50,76,55,46,47,26,27,68,11,12,30,49,77,78,39])),`component`)}),u$={};function d$(e){return e.from===`all`?{from:`all`}:e.from===`store`&&typeof e.storeId==`string`?{from:`store`,storeId:e.storeId}:{}}function f$(e,t,n={}){return e.from?e.from===`all`?[{label:`All Users`,to:`/users`},{label:t}]:e.from===`store`&&typeof e.storeId==`string`?[{label:`Stores`,to:`/`},{label:n.contextStoreId===e.storeId&&n.storeName?n.storeName:e.storeId,to:`/$storeId`,params:{storeId:e.storeId}},{label:`Store Users`,to:`/$storeId/users`,params:{storeId:e.storeId}},{label:t}]:[{label:`My profile`}]:[{label:`My profile`}]}function p$(e,t){let n=e.find(e=>e.routeId===`/users/$userEmail`)?.params?.userEmail;return n?{email:n,search:d$(t??{})}:null}function m$(){let{pathname:e,search:t}=Hc({select:e=>e.location});if(/^\/users\/[^/]+$/.test(e)){let e=d$(t);return e.from?e:{}}let n=e.match(/^\/([^/]+)\/users\/?$/);return n?{from:`store`,storeId:n[1]}:{from:`all`}}function h$({search:e,variant:t=`ghost`,size:n=`sm`,alignSelf:r,px:i,mt:a}){let o=e.from===`store`&&typeof e.storeId==`string`?{to:`/$storeId/users`,params:{storeId:e.storeId}}:e.from===`all`?{to:`/users`}:null;return o?(0,H.jsx)(Vj,{asChild:!0,variant:t,size:n,alignSelf:r,px:i,mt:a,children:(0,H.jsxs)(_c,{...o,children:[(0,H.jsx)(mF,{}),`Back to users`]})}):null}var g$=U(`/users/$userEmail`)({staticData:{breadcrumb:e=>e.params.userEmail},validateSearch:e=>d$(e),component:W(()=>Z(()=>import(`./_userEmail-CTKInTIM.js`),__vite__mapDeps([79,1,2,3,4,5,6,7,10,11,68,12,42,13,77,21,50])),`component`)}),_$=U(`/revenue/`)({staticData:{breadcrumb:`Invoices`,breadcrumbPreserveSearch:!0},validateSearch:e=>DQ.passthrough().parse(e),component:W(()=>Z(()=>import(`./revenue-BEtbWhtg.js`),__vite__mapDeps([80,1,2,3,4,5,6,7,68,11,28,10,29,27,30,31,32,21,13,33,38,37,20,23])),`component`)}),v$=U(`/revenue/updated`)({staticData:{breadcrumb:`Updated`,breadcrumbPreserveSearch:!0},validateSearch:e=>DQ.passthrough().parse(e),component:W(()=>Z(()=>import(`./updated-B-InmDov.js`),__vite__mapDeps([81,37,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,20,38])),`component`)}),y$=U(`/revenue/new`)({staticData:{breadcrumb:`New`,breadcrumbPreserveSearch:!0},validateSearch:e=>DQ.passthrough().parse(e),component:W(()=>Z(()=>import(`./new-7WQ1Zlht.js`),__vite__mapDeps([82,37,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,20,38])),`component`)}),b$=U(`/revenue/cancelled`)({staticData:{breadcrumb:`Cancelled`,breadcrumbPreserveSearch:!0},validateSearch:e=>DQ.passthrough().parse(e),component:W(()=>Z(()=>import(`./cancelled-CCj5gWwb.js`),__vite__mapDeps([83,37,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,20,38])),`component`)}),x$=U(`/organizations/`)({component:W(()=>Z(()=>import(`./organizations-B8wMs7E-.js`),__vite__mapDeps([84,1,2,3,4,5,6,7,50,85,10,11,68,12,21,36,20,37,28,29,27,30,31,32,13,33,38,39,23,78])),`component`)}),S$=U(`/organizations/$organizationId`)({staticData:{breadcrumb:e=>e.params.organizationId},component:W(()=>Z(()=>import(`./_organizationId-DXPIcW7G.js`),__vite__mapDeps([86,1,2,3,4,5,6,7,50,85,10,11,68,12,21,36,20,37,28,29,27,30,31,32,13,33,38,39,23,78,76,55,46,47,26,49,77])),`component`)}),C$=U(`/$storeId/`)({staticData:{breadcrumb:`Overview`},component:W(()=>Z(()=>import(`./_storeId-CM5ZEk12.js`),__vite__mapDeps([87,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,20,38,23])),`component`)}),w$=U(`/$storeId/users`)({staticData:{breadcrumb:`Store Users`},component:W(()=>Z(()=>import(`./users-CBdLfm3e.js`),__vite__mapDeps([88,1,2,3,4,5,6,7,21,49,50,76,55,46,47,26,27,68,11,12,30,77,78,39])),`component`)}),T$=U(`/$storeId/synonyms`)({staticData:{breadcrumb:`Synonyms`},component:W(()=>Z(()=>import(`./synonyms-CkibMpkf.js`),__vite__mapDeps([89,1,2,3,4,5,6,7,90,47,26,27,56,12,91,42])),`component`)}),E$=U(`/$storeId/support`)({staticData:{breadcrumb:`Support`},component:W(()=>Z(()=>import(`./support-B6tauuYA.js`),[]),`component`)}),D$=U(`/$storeId/status`)({staticData:{breadcrumb:`Status`},component:W(()=>Z(()=>import(`./status-CUVNWkDN.js`),__vite__mapDeps([92,1,2,3,4,5,6,7,
25268,11,25,26,27,56,93,20,30,21,23])),`component`)}),O$=U(`/$storeId/sources`)({staticData:{breadcrumb:`Sources`},component:W(()=>Z(()=>import(`./sources-DZHZvFSj.js`),__vite__mapDeps([94,1,2,3,4,5,6,7,20,34])),`component`)}),k$=U(`/$storeId/reporting`)({staticData:{breadcrumb:`Reporting`,breadcrumbPreserveSearch:!0},validateSearch:e=>DQ.passthrough().parse(e),component:W(()=>Z(()=>import(`./reporting-B0uIQAgE.js`),__vite__mapDeps([95,1,2,3,4,5,6,7,25,26,27,28,10,11,29,30,31,32,21,13,33,34])),`component`)}),A$=U(`/$storeId/billing`)({staticData:{breadcrumb:`Billing`},component:W(()=>Z(()=>import(`./billing-Bwmd1Tri.js`),__vite__mapDeps([96,1,2,3,4,5,6,7,67,12,32,30,31,38])),`component`)}),j$=U(`/$storeId/ai-tools`)({staticData:{breadcrumb:`AI Tools`},component:W(()=>Z(()=>import(`./ai-tools-DIQT8SdD.js`),__vite__mapDeps([97,1,2,3,4,5,6,7,93,30])),`component`)}),M$=U(`/revenue/stores/$storeId`)({staticData:{breadcrumb:e=>e.params.storeId,breadcrumbPreserveSearch:!0},validateSearch:e=>DQ.passthrough().parse(e),component:W(()=>Z(()=>import(`./_storeId-9U_F9Spz.js`),__vite__mapDeps([98,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,37,20,38,23])),`component`)}),N$=U(`/$storeId/support/`)({staticData:{breadcrumb:`Tickets`},component:W(()=>Z(()=>import(`./support-DF9_SUDg.js`),__vite__mapDeps([99,1,2,3,4,5,6,7,15,16,17,19,10,11,12,20,21,22,23])),`component`)}),P$=U(`/$storeId/support/$ticketId`)({staticData:{breadcrumb:e=>`Ticket #${e.params.ticketId}`},component:W(()=>Z(()=>import(`./_ticketId-D6Ly3dt6.js`),__vite__mapDeps([100,1,2,3,4,5,6,7,32,15,16,17,19,10,11,12,20,21,22,23])),`component`)}),F$=U(`/$storeId/sources/`)({component:W(()=>Z(()=>import(`./sources-DyuqF_PL.js`),__vite__mapDeps([101,1,2,3,4,5,6,7])),`component`)});function I$(e,t){let{queryKey:n,queryFn:r,enabled:i=!0,storeIdRequiredMessage:a=`Store ID is required`,...o}=t;return bu({queryKey:n(e??``),queryFn:()=>{if(!e)throw Error(a);return r(e)},enabled:!!e&&i,...o})}var L$={fitment_editor:{title:`Fitment Editor`,description:`Determine whether to connect fitments from the Fitment Editor.`,fitmentSourcesKey:`fitmentEditor`},custom_fitment_data:{title:`Custom Fitment Data`,description:`You can connect your folder with custom fitment data files.`,fitmentSourcesKey:`customFitmentData`},pdm:{title:`PDM Automotive`,description:`To connect PDM Automotive enter your API token.`,url:`https://pdmautomotive.com/`,fitmentSourcesKey:`pdm`},sdc:{title:`SEMA Data (SDC)`,description:`To connect SEMA Data enter your SEMA username and password.`,url:`https://apps.semadata.org/`,fitmentSourcesKey:`sdc`},asap:{title:`ASAP Network`,description:`To connect ASAP Network enter your API token.`,hint:`To get an API token, follow the instructions on the ASAP Developer API page or contact your ASAP manager.`,url:`https://www.asapnetwork.org/`,fitmentSourcesKey:`asap`},wps:{title:`Western Power Sports`,description:`To connect Western Power Sports enter your API token.`,hint:`You can get an API token from the WPS Data Depot API Token page.`,url:`https://www.wps-inc.com/`,fitmentSourcesKey:`wps`},turn14:{title:`Turn 14 Distribution`,description:`To connect Turn 14 Distribution enter API credentials from your Turn 14 account.`,hint:`To get credentials: Login to your Turn14 account â Settings & Data â API â Documentation â API Credentials.`,url:`https://www.turn14.com/`,fitmentSourcesKey:`turn14`},ssf:{title:`SSF`,description:`To connect SSF enter your SSF account number.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://ssf.files.com/`,fitmentSourcesKey:`ssf`},pace:{title:`PACE`,description:`To connect PACE (Performance and Accessory Catalog Electronic) enter your API token.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://production.pacesystems.com/`,fitmentSourcesKey:`pace`},wheel_size:{title:`Wheel Size`,description:`To connect Wheel Size enter your API token and select a Region.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://www.wheel-size.com/`,fitmentSourcesKey:`wheelSize`},atd:{title:`ATD (American Tire Distributors)`,description:`To connect ATD enter your ATD account's Location Number.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://www.atd.com/`,fitmentSourcesKey:`atd`},tire_library:{title:`Tire Library`,description:`To connect Tire Library enter your API key. You can find it on the Billing page of your Tire Library account.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://app.tireweblibrary.com/`,fitmentSourcesKey:`t
252ireLibrary`},drive_right_data:{title:`DriveRightData`,description:`To connect DriveRightData enter your username and password for accessing the DriveRightData FTP server.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://www.driveright-data.com/`,fitmentSourcesKey:`driveRightData`},fitment_group:{title:`Fitment Group`,description:`To connect Fitment Group enter your username and password for accessing the Fitment Group FTP server.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://www.fitmentgroup.com/`,fitmentSourcesKey:`fitmentGroup`},wheel_pros:{title:`WheelPros`,description:`To connect WheelPros enter your username and password for accessing the WheelPros SFTP server.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://fitment.wheelpros.com/`,fitmentSourcesKey:`wheelPros`},catalog_rack:{title:`CatalogRack (DCi)`,description:`To connect CatalogRack (DCi) enter your username and password.`,hint:`This data source requires manual configuration on our end. We will email you once it's ready for testing.`,url:`https://www.catalograck.com/`,fitmentSourcesKey:`catalogRack`},sure_done:{title:`SureDone`,description:`To connect SureDone enter your username and token.`,hint:`To get your username and token, log in to SureDone Dashboard and navigate to Settings â Organization â Security.`,url:`https://app.suredone.com/`,fitmentSourcesKey:`sureDone`},opticat:{title:`Opticat`,url:`https://www.jnpopticat.com/ondemand/`,isViaSupport:!0,fitmentSourcesKey:`opticat`},mam_data:{title:`MAMData (Autocat)`,url:`https://www.mamsoftware.com/`,isViaSupport:!0,fitmentSourcesKey:`mamData`},tec_doc:{title:`TecDoc`,url:`https://www.tecalliance.net/`,isViaSupport:!0,fitmentSourcesKey:`tecDoc`},ari_datasmart:{title:`ARI DataSmart`,url:`https://arinet.com/powersports/ecatalogs/datasmart/`,isViaSupport:!0,fitmentSourcesKey:`ariDataSmart`}};function R$(e){return L$[e]?.title??e}function z$(e){return L$[e]?.description??``}function B$(e){return L$[e]?.hint??null}function V$(e){return L$[e]?.url??`#`}function H$(e,t){let n=L$[e];return n?.fitmentSourcesKey?t[n.fitmentSourcesKey]??!1:!1}function U$(e){return e?`fitment_editor`:`custom_fitment_data`}var W$=e=>[`stores`,e,`sources`],G$=(e,t)=>[`stores`,e,`sources`,t];async function K$(e){return await gG.get(`/api/stores/${e}/sources`)}async function q$(e,t){return await gG.get(`/api/stores/${e}/sources/${t}`)}function J$(e){return I$(e,{queryKey:e=>W$(e),queryFn:e=>K$(e),staleTime:120*1e3})}function Y$(e,t){return I$(e,{queryKey:e=>G$(e,t??``),queryFn:e=>{if(!t)throw Error(`Source type is required`);return q$(e,t)},enabled:!!t,staleTime:120*1e3})}async function X$(e,t,n){return await gG.put(`/api/stores/${e}/sources/${t}`,n)}async function Z$(e,t){return await gG.delete(`/api/stores/${e}/sources/${t}`)}function Q$(e,t){let n=au();return xu({mutationFn:n=>X$(e,t,n),onSuccess:()=>{n.invalidateQueries({queryKey:W$(e)}),n.invalidateQueries({queryKey:G$(e,t)})}})}function $$(e,t){let n=au();return xu({mutationFn:()=>Z$(e,t),onSuccess:()=>{n.invalidateQueries({queryKey:W$(e)}),n.invalidateQueries({queryKey:G$(e,t)})}})}async function e1(e,t){return await gG.put(`/api/stores/${e}/sources/custom_fitment_data/source`,t)}function t1(e){let t=au();return xu({mutationFn:t=>e1(e,t),onSuccess:()=>{t.invalidateQueries({queryKey:W$(e)})}})}async function n1(e,t){let n=new FormData;return n.append(`file`,t),await gG.fetch(`/api/stores/${e}/sources/custom_fitment_data/files`,{method:`POST`,body:n})}function r1(e,t){return`/api/stores/${e}/sources/custom_fitment_data/files/${encodeURIComponent(t)}`}async function i1(e,t){return await gG.delete(r1(e,t))}function a1(e){let t=au();return xu({mutationFn:async({files:t,onUploading:n,onUploaded:r})=>{for(let i of t)n?.(i),await n1(e,i),r(i)},onSettled:()=>t.invalidateQueries({queryKey:W$(e)})})}function o1(e){let t=au();return xu({mutationFn:t=>i1(e,t),onSuccess:()=>{t.invalidateQueries({queryKey:G$(e,`custom_fitment_data`)})}})}var s1=U(`/$storeId/sources/$sourceType`)({staticData:{breadcrumb:e=>R$(e.params.sourceType)},component:W(()=>Z(()=>import(`./_sourceType-c1tAUtiA.js`),__vite__mapDeps([102,1,2,3,4,5,6,7,10,11,25,26,27,56,93,12,20,30,31,32,63,17,23])),`component`)}),c1=()=>Z(()=>import(`./reporting-DazTUWkG.js`),__vite__mapDeps([103,1,2,3,4,5,6,7,90,47,26,27,28,10,11,29,30,31,32,21,13,33,38])),l1=DQ.extend({chartMode:BZ([`hour`,`day`,`month`]).optional()}),u1=U(`/$storeId/reporting/`)({staticData:{breadcrumb:`Stats`,breadcrumbPreserveSearch:!0}
252,validateSearch:e=>l1.parse(e),component:W(c1,`component`)}),d1=()=>Z(()=>import(`./vehicles-Bd_2-RH2.js`),__vite__mapDeps([104,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,20])),f1=OQ.extend({productId:rZ().optional(),productEventType:rZ().optional()}),p1=U(`/$storeId/reporting/vehicles`)({staticData:{breadcrumb:`Vehicles`,breadcrumbPreserveSearch:!0},validateSearch:e=>f1.parse(e),component:W(d1,`component`)}),m1=()=>Z(()=>import(`./queries-B-Viatph.js`),__vite__mapDeps([105,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,20])),h1=OQ.passthrough(),g1=U(`/$storeId/reporting/queries`)({staticData:{breadcrumb:`Queries`,breadcrumbPreserveSearch:!0},validateSearch:e=>h1.parse(e),component:W(m1,`component`)}),_1=()=>Z(()=>import(`./products-DUwLXxLZ.js`),__vite__mapDeps([106,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,20])),v1=OQ.passthrough(),y1=U(`/$storeId/reporting/products`)({staticData:{breadcrumb:`Products`,breadcrumbPreserveSearch:!0},validateSearch:e=>v1.parse(e),component:W(_1,`component`)}),b1=()=>Z(()=>import(`./filters-BODths1k.js`),__vite__mapDeps([107,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33])),x1=OQ.extend({facetName:rZ().optional()}).passthrough(),S1=U(`/$storeId/reporting/filters`)({staticData:{breadcrumb:`Filters`,breadcrumbPreserveSearch:!0},validateSearch:e=>x1.parse(e),component:W(b1,`component`)}),C1=()=>Z(()=>import(`./sessions-Iv_saNcn.js`),__vite__mapDeps([108,1,2,3,4,5,6,7,28,10,11,29,27,30,31,32,21,13,33,91])),w1=OQ.extend({segmentName:rZ().optional(),segmentFilter:rZ().optional(),bots:BZ([`all`,`true`,`false`]).optional()}),T1=U(`/$storeId/reporting/sessions/`)({staticData:{breadcrumb:`Sessions`,breadcrumbPreserveSearch:!0},validateSearch:e=>w1.parse(e),component:W(C1,`component`)}),E1=U(`/$storeId/reporting/sessions/$sessionId`)({staticData:{breadcrumb:e=>`Session ${e.params.sessionId}`,breadcrumbPreserveSearch:!0},validateSearch:e=>DQ.parse(e),component:W(()=>Z(()=>import(`./_sessionId-D6FFoLzU.js`),__vite__mapDeps([109,1,2,3,4,5,6,7,21,33])),`component`)}),D1=BG.update({id:`/users`,path:`/users`,getParentRoute:()=>MG}),O1=VG.update({id:`/unsubscribe`,path:`/unsubscribe`,getParentRoute:()=>MG}),k1=HG.update({id:`/support-ticket`,path:`/support-ticket`,getParentRoute:()=>MG}),A1=UG.update({id:`/support`,path:`/support`,getParentRoute:()=>MG}),j1=IQ.update({id:`/revenue`,path:`/revenue`,getParentRoute:()=>MG}),M1=LQ.update({id:`/promo-plans`,path:`/promo-plans`,getParentRoute:()=>MG}),N1=RQ.update({id:`/organizations`,path:`/organizations`,getParentRoute:()=>MG}),P1=zQ.update({id:`/leads`,path:`/leads`,getParentRoute:()=>MG}),F1=BQ.update({id:`/invoices`,path:`/invoices`,getParentRoute:()=>MG}),I1=VQ.update({id:`/front-app`,path:`/front-app`,getParentRoute:()=>MG}),L1=HQ.update({id:`/forbidden`,path:`/forbidden`,getParentRoute:()=>MG}),R1=UQ.update({id:`/$storeId`,path:`/$storeId`,getParentRoute:()=>MG}),z1=WQ.update({id:`/$`,path:`/$`,getParentRoute:()=>MG}),B1=GQ.update({id:`/`,path:`/`,getParentRoute:()=>MG}),V1=KQ.update({id:`/ui-kit/`,path:`/ui-kit/`,getParentRoute:()=>MG}),H1=qQ.update({id:`/ui-kit/ui-blocks`,path:`/ui-kit/ui-blocks`,getParentRoute:()=>MG}),U1=JQ.update({id:`/ui-kit/typography`,path:`/ui-kit/typography`,getParentRoute:()=>MG}),W1=YQ.update({id:`/ui-kit/theme`,path:`/ui-kit/theme`,getParentRoute:()=>MG}),G1=XQ.update({id:`/ui-kit/tables`,path:`/ui-kit/tables`,getParentRoute:()=>MG}),K1=ZQ.update({id:`/ui-kit/stats`,path:`/ui-kit/stats`,getParentRoute:()=>MG}),q1=QQ.update({id:`/ui-kit/primitives`,path:`/ui-kit/primitives`,getParentRoute:()=>MG}),J1=$Q.update({id:`/ui-kit/loading`,path:`/ui-kit/loading`,getParentRoute:()=>MG}),Y1=e$.update({id:`/ui-kit/forms`,path:`/ui-kit/forms`,getParentRoute:()=>MG}),X1=t$.update({id:`/ui-kit/cards`,path:`/ui-kit/cards`,getParentRoute:()=>MG}),Z1=n$.update({id:`/ui-kit/buttons`,path:`/ui-kit/buttons`,getParentRoute:()=>MG}),Q1=r$.update({id:`/ui-kit/alerts`,path:`/ui-kit/alerts`,getParentRoute:()=>MG}),$1=i$.update({id:`/auth/session-expired`,path:`/auth/session-expired`,getParentRoute:()=>MG}),e0=a$.update({id:`/auth/logged-out`,path:`/auth/logged-out`,getParentRoute:()=>MG}),t0=c$.update({id:`/auth/error`,path:`/auth/error`,getParentRoute:()=>MG}),n0=l$.update({id:`/`,path:`/`,getParentRoute:()=>D1}),r0=g$.update({id:`/$userEmail`,path:`/$userEmail`,getParentRoute:()=>D1}),i0=_$.update({id:`/`,path:`/`,getParentRoute:()=>j1}),a0=v$.update({id:`/updated`,path:`/updated`,getParentRoute:()=>j1}),o0=y$.update({id:`/new`,path:`/new`,getParentRoute:()=>j1}),s0=b$.update({id:`/cancelled`,path:`/cancelled`,getParentRoute:()=>j1}),c0=x$.update({id:`/`,path:`/`,getParentRoute:()=>N1}),l0=S$.update({id:`/$organizationId`,path:`/$organizationId`,getParentRoute:()=>N1}),u0=C$.update({id:`/`,path:`/`,getParentRoute:()=>R1}),d0=w$.update({id:`/users`,path:`/users`,getParentRoute:()=>R1}),f0=T$.update({id:`/synonyms`,path:`/synonyms`,getParentRoute:()=>R1}),p0=E$.update({id:`/support`,path:`/support`,getParentRoute:()=>R1}),m0=D$.update({id:`/status`,path:`/status`,getParentRoute:()=>R1}),h0=O$.update({id:`/sources`,path:`/sources`,getParentRoute:()=>R1}),g0=k$.update({id:`/reporting`,path:`/reporting`,getParentRoute:()=>R1}),_0=A$.update({id:`/billing`,path:`/billing`,getParentRoute:()=>R1}),v0=j$.update({id:`/ai-tools`,path:`/ai-tools`,getParentRoute:()=>R1}),y0=M$.update({id:`/stores/$storeId`,path:`/stores/$storeId`,getParentRoute:()=>j1}),b0=N$.update({id:`/`,path:`/`,getParentRoute:()=>p0}),x0=P$.update({id:`/$ticketId`,path:`/$ticketId`,getParentRoute:()=>p0}),S0=F$.update({id:`/`,path:`/`,getParentRoute:()=>h0}),C0=s1.update({id:`/$sourceType`,path:`/$sourceType`,getParentRoute:()=>h0}),w0=u1.update({id:`/`,path:`/`,getParentRoute:()=>g0}),T0=p1.update({id:`/vehicles`,path:`/vehicles`,getParentRoute:()=>g0}),E0=g1.update({id:`/queries`,path:`/queries`,getParentRoute:()=>g0}),D0=y1.update({id:`/products`,path:`/products`,getParentRoute:()=>g0}),O0=S1.update({id:`/filters`,path:`/filters`,getParentRoute:()=>g0}),k0=T1.update({id:`/sessions/`,path:`/sessions/`,getParentRoute:()=>g0}),A0={StoreIdReportingFiltersRoute:O0,StoreIdReportingProductsRoute:D0,StoreIdReportingQueriesRoute:E0,StoreIdReportingVehiclesRoute:T0,StoreIdReportingIndexRoute:w0,StoreIdReportingSessionsSessionIdRoute:E1.update({id:`/sessions/$sessionId`,path:`/sessions/$sessionId`,getParentRoute:()=>g0}),StoreIdReportingSessionsIndexRoute:k0},j0=g0._addFileChildren(A0),M0={StoreIdSourcesSourceTypeRoute:C0,StoreIdSourcesIndexRoute:S0},N0=h0._addFileChildren(M0),P0={StoreIdSupportTicketIdRoute:x0,StoreIdSupportIndexRoute:b0},F0={StoreIdAiToolsRoute:v0,StoreIdBillingRoute:_0,StoreIdReportingRoute:j0,StoreIdSourcesRoute:N0,StoreIdStatusRoute:m0,StoreIdSupportRoute:p0._addFileChildren(P0),StoreIdSynonymsRoute:f0,StoreIdUsersRoute:d0,StoreIdIndexRoute:u0},I0=R1._addFileChildren(F0),L0={OrganizationsOrganizationIdRoute:l0,OrganizationsIndexRoute:c0},R0=N1._addFileChildren(L0),z0={RevenueCancelledRoute:s0,RevenueNewRoute:o0,RevenueUpdatedRoute:a0,RevenueIndexRoute:i0,RevenueStoresStoreIdRoute:y0},B0=j1._addFileChildren(z0),V0={UsersUserEmailRoute:r0,UsersIndexRoute:n0},H0={IndexRoute:B1,SplatRoute:z1,StoreIdRoute:I0,ForbiddenRoute:L1,FrontAppRoute:I1,InvoicesRoute:F1,LeadsRoute:P1,OrganizationsRoute:R0,PromoPlansRoute:M1,RevenueRoute:B0,SupportRoute:A1,SupportTicketRoute:k1,UnsubscribeRoute:O1,UsersRoute:D1._addFileChildren(V0),AuthErrorRoute:t0,AuthLoggedOutRoute:e0,AuthSessionExpiredRoute:$1,UiKitAlertsRoute:Q1,UiKitButtonsRoute:Z1,UiKitCardsRoute:X1,UiKitFormsRoute:Y1,UiKitLoadingRoute:J1,UiKitPrimitivesRoute:q1,UiKitStatsRoute:K1,UiKitTablesRoute:G1,UiKitThemeRoute:W1,UiKitTypographyRoute:U1,UiKitUiBlocksRoute:H1,UiKitIndexRoute:V1},U0=MG._addFileChildren(H0),W0=()=>Rc({routeTree:U0,scrollRestoration:!0,defaultPreloadStaleTime:0});async function G0(){let e=await W0(),t=[];return window.__TSS_START_OPTIONS__={serializationAdapters:t}
252,t.push(es),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.stores.matchesId.get().length||await rs(e),e}var K0=G0;async function q0(){let e=await K0();return window.$_TSR?.h(),e}var J0;function Y0(){return J0||=q0(),(0,H.jsx)(fs,{promise:J0,children:e=>(0,H.jsx)(Vc,{router:e})})}var X0=v();(0,V.startTransition)(()=>{(0,X0.hydrateRoot)(document,(0,H.jsx)(V.StrictMode,{children:(0,H.jsx)(Y0,{})}))});export{kQ as $,ug as $a,zx as $i,ZN as $n,Lp as $o,Tj as $r,ZP as $t,C$ as A,c_ as Aa,DC as Ai,bP as An,oh as Ao,bN as Ar,xl as As,CF as At,m$ as B,Kg as Ba,Yx as Bi,cP as Bn,hm as Bo,gM as Br,nc as Bs,lF as Bt,I$ as C,E_ as Ca,YC as Ci,OP as Cn,_h as Co,DN as Cr,pu as Cs,pI as Ct,A$ as D,b_ as Da,PC as Di,CP as Dn,dh as Do,wN as Dr,Wl as Ds,TF as Dt,M$ as E,C_ as Ea,BC as Ei,wP as En,fh as Eo,CN as Er,au as Es,EF as Et,_$ as F,o_ as Fa,NS as Fi,hP as Fn,wm as Fo,hN as Fr,Hc as Fs,hF as Ft,HQ as G,Ug as Ga,sS as Gi,aP as Gn,am as Go,Zj as Gr,us as Gs,aF as Gt,c$ as H,Gg as Ha,hS as Hi,lP as Hn,rm as Ho,rM as Hr,Ks as Hs,cF as Ht,g$ as I,s_ as Ia,AS as Ii,mP as In,Cm as Io,mN as Ir,Ic as Is,mF as It,PQ as J,Rg as Ja,iS as Ji,rP as Jn,Vp as Jo,Kj as Jr,f as Js,nF as Jt,BQ as K,Vg as Ka,Hx as Ki,iP as Kn,Gp as Ko,Yj as Kr,ee as Ks,iF as Kt,h$ as L,n_ as La,jS as Li,pP as Ln,xm as Lo,pN as Lr,Mc as Ls,fF as Lt,b$ as M,r_ as Ma,wC as Mi,vP as Mn,$m as Mo,vN as Mr,ml as Ms,bF as Mt,y$ as N,a_ as Na,CC as Ni,_P as Nn,eh as No,gN as Nr,hl as Ns,_F as Nt,k$ as O,v_ as Oa,MC as Oi,SP as On,ch as Oo,SN as Or,jl as Os,SF as Ot,v$ as P,i_ as Pa,_C as Pi,gP as Pn,km as Po,_N as Pr,Xc as Ps,gF as Pt,AQ as Q,Tg as Qa,Xx as Qi,QN as Qn,Tp as Qo,Nj as Qr,u as Qs,QP as Qt,f$ as R,t_ as Ra,MS as Ri,fP as Rn,vm as Ro,zM as Rr,_c as Rs,pF as Rt,H$ as S,M_ as Sa,$C as Si,kP as Sn,wh as So,ON as Sr,mu as Ss,hI as St,P$ as T,w_ as Ta,WC as Ti,EP as Tn,gh as To,TN as Tr,cu as Ts,DF as Tt,GQ as U,Lg as Ua,vS as Ui,sP as Un,em as Uo,eM as Ur,Ws as Us,sF as Ut,u$ as V,qg as Va,Ux as Vi,uP as Vn,um as Vo,_M as Vr,Ys as Vs,uF as Vt,UQ as W,Hg as Wa,Kx as Wi,oP as Wn,lm as Wo,qj as Wr,xs as Ws,oF as Wt,jQ as X,Eg as Xa,nS as Xi,eP as Xn,jp as Xo,Vj as Xr,s as Xs,eF as Xt,NQ as Y,Bg as Ya,gS as Yi,tP as Yn,Bp as Yo,Xj as Yr,o as Ys,tF as Yt,FQ as Z,Cg as Za,mS as Zi,$N as Zn,Ip as Zo,Ij as Zr,l as Zs,$P as Zt,U$ as _,W_ as _a,IT as _i,NP as _n,kh as _o,MN as _r,bu as _s,EG as _t,g1 as a,sx as aa,Sj as ai,KP as an,yg as ao,GN as ar,hp as as,dQ as at,R$ as b,V_ as ba,aw as bi,AP as bn,Mh as bo,AN as br,_u as bs,FI as bt,s1 as c,Wv as ca,Mj as ci,HP as cn,sg as co,HN as cr,op as cs,fQ as ct,$$ as d,qv as da,Oj as di,zP as dn,Hh as do,zN as dr,zf as ds,VG as dt,Wx as ea,wj as ei,XP as en,wg as eo,YN as er,Ep as es,wQ as et,t1 as f,Ev as fa,Dj as fi,RP as fn,Uh as fo,RN as fr,Pf as fs,kG as ft,a1 as g,q_ as ga,WT as gi,PP as gn,Lh as go,PN as gr,xu as gs,TG as gt,Q$ as h,K as ha,hj as hi,FP as hn,Vh as ho,IN as hr,kf as hs,bG as ht,y1 as i,wx as ia,bj as ii,qP as in,_g as io,KN as ir,gp as is,vQ as it,S$ as j,l_ as ja,TC as ji,yP as jn,Qm as jo,yN as jr,nl as js,yF as jt,O$ as k,g_ as ka,AC as ki,xP as kn,sh as ko,xN as kr,El as ks,wF as kt,r1 as l,Kv as la,Cj as li,VP as ln,rg as lo,VN as lr,ip as ls,bQ as lt,J$ as m,Q_ as ma,gj as mi,IP as mn,qh as mo,FN as mr,Mf as ms,yG as mt,T1 as n,oS as na,yj as ni,WP as nn,vg as no,JN as nr,Fp as ns,xQ as nt,p1 as o,Xv as oa,kj as oi,GP as on,dg as oo,WN as or,mp as os,_Q as ot,Y$ as p,xv as pa,_j as pi,LP as pn,Kh as po,LN as pr,jf as ps,vG as pt,IQ as q,zg as qa,aS as qi,nP as qn,Up as qo,Jj as qr,g as qs,rF as qt,S1 as r,Ex as ra,xj as ri,JP as rn,fg as ro,qN as rr,Ap as rs,yQ as rt,u1 as s,Jv as sa,jj as si,UP as sn,hg as so,UN as sr,pp as ss,hQ as st,E1 as t,lS as ta,Ej as ti,YP as tn,pg as to,XN as tr,Np as ts,mQ as tt,o1 as u,Gv as ua,Aj as ui,BP as un,og as uo,BN as ur,Vf as us,HG as ut,z$ as v,H_ as va,OT as vi,MP as vn,Nh as vo,NN as vr,hu as vs,hG as vt,F$ as w,T_ as wa,KC as wi,TP as wn,Oh as wo,EN as wr,du as ws,mI as wt,V$ as x,L_ as xa,tw as xi,DP as xn,Eh as xo,kN as xr,fu as xs,kI as xt,B$ as y,U_ as ya,eT as yi,jP as yn,Ah as yo,jN as yr,vu as ys,gG as yt,p$ as z,e_ as za,cS as zi,dP as zn,gm as zo,hM as zr,rc as zs,dF as zt};
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.