p-backlog 0.14.1 → 0.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +2 -2
  3. package/README.ru.md +2 -2
  4. package/dist/cli.js +520 -222
  5. package/dist/web/assets/{CodeTab-D7apweTn.js → CodeTab-CrRDpMQh.js} +1 -1
  6. package/dist/web/assets/{CostTab-Cbq-tBpi.js → CostTab-BBAyNzSe.js} +1 -1
  7. package/dist/web/assets/{EffectTab-CSJBH_A_.js → EffectTab-BSiY4Ej5.js} +1 -1
  8. package/dist/web/assets/{Figure-BkubK2zp.js → Figure-DuFa51KM.js} +1 -1
  9. package/dist/web/assets/{OverviewTab-D1S-xV7F.js → OverviewTab-ChSinrbI.js} +1 -1
  10. package/dist/web/assets/{Page-DcJkvJR8.js → Page-C8ao190U.js} +5 -5
  11. package/dist/web/assets/QualityTab-rRNWstc4.js +1 -0
  12. package/dist/web/assets/{ShareBar-CVoET5r9.js → ShareBar-DjuCpNjt.js} +1 -1
  13. package/dist/web/assets/{StatsPage-CC1pIw6W.js → StatsPage-Gn54gdFG.js} +1 -1
  14. package/dist/web/assets/{StatsTabState-DsgM-E6r.js → StatsTabState-S_mi91lw.js} +1 -1
  15. package/dist/web/assets/{StatsTable-Dfk5L9ju.js → StatsTable-IYYRM2hR.js} +1 -1
  16. package/dist/web/assets/{UnavailableRepos-DEI_jdL7.js → UnavailableRepos-DxEo8cjP.js} +1 -1
  17. package/dist/web/assets/{index-CrooTAtB.js → index-DiPBdbhX.js} +2 -2
  18. package/dist/web/assets/start-BvKCcZHI.css +1 -0
  19. package/dist/web/assets/start-rahY3Hwq.js +257 -0
  20. package/dist/web/assets/{use-grain-panel-C8dF5mz1.js → use-grain-panel--2mR_bEC.js} +1 -1
  21. package/dist/web/assets/{web-paths-Cv9UykyI.js → web-paths-DK4pi1mp.js} +1 -1
  22. package/dist/web/index.html +1 -1
  23. package/package.json +1 -1
  24. package/skill/backlog/SKILL.md +1 -0
  25. package/skill/backlog-en/SKILL.md +1 -0
  26. package/dist/web/assets/QualityTab-Bvo5sLJL.js +0 -1
  27. package/dist/web/assets/start-CTwcHqnH.js +0 -257
  28. package/dist/web/assets/start-D3XxrO_Y.css +0 -1
@@ -0,0 +1,257 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/OverviewTab-ChSinrbI.js","assets/index-DiPBdbhX.js","assets/Page-C8ao190U.js","assets/Page-CiLGp04P.css","assets/use-grain-panel--2mR_bEC.js","assets/StatsTabState-S_mi91lw.js","assets/StatsTabState-DZ3lMjjx.css","assets/use-grain-panel-gQnbcY1o.css","assets/web-paths-DK4pi1mp.js","assets/PanelRows.module-rg1MXy2z.js","assets/PanelRows--wt894cQ.css","assets/Figure-DuFa51KM.js","assets/Figure-CRSlcZF-.css","assets/ShareBar-DjuCpNjt.js","assets/ShareBar-B5phBvQk.css","assets/OverviewTab-LJh-9xzS.css","assets/CodeTab-CrRDpMQh.js","assets/UnavailableRepos-DxEo8cjP.js","assets/CodeTab-CfG0h41u.css","assets/QualityTab-rRNWstc4.js","assets/StatsTable-IYYRM2hR.js","assets/StatsTable-DPDsjAV6.css","assets/EffectTab-BSiY4Ej5.js","assets/EffectTab-DCTwmWXb.css","assets/CostTab-BBAyNzSe.js","assets/StatsPage-Gn54gdFG.js","assets/StatsPage-D_urZSgL.css"])))=>i.map(i=>d[i]);
2
+ import{$ as e,$t as t,A as n,B as r,Bt as i,C as a,Cn as o,D as s,E as c,F as l,G as u,H as d,I as f,J as p,K as m,L as h,M as g,N as _,O as v,P as y,Q as b,Qt as ee,R as te,S as ne,Sn as x,T as S,U as re,V as ie,W as ae,X as oe,Xt as se,Y as ce,Z as le,Zt as ue,_ as de,_n as fe,a as C,an as pe,b as w,bn as me,c as he,cn as ge,dn as _e,en as ve,et as ye,f as be,fn as xe,ft as Se,g as Ce,gn as we,gt as Te,h as Ee,i as De,in as Oe,j as ke,k as Ae,ln as je,m as Me,mn as Ne,n as Pe,nn as T,nt as Fe,o as Ie,on as Le,p as Re,pn as ze,pt as Be,q as Ve,r as He,rn as Ue,rt as We,s as Ge,sn as Ke,t as qe,tn as Je,tt as Ye,u as Xe,un as Ze,ut as Qe,v as $e,vn as et,w as tt,wn as nt,x as rt,xn as it,y as at,yn as ot,z as st}from"./Page-C8ao190U.js";import{a as ct,c as lt,d as ut,f as dt,h as ft,i as pt,l as mt,m as ht,n as gt,o as _t,p as vt,r as yt,s as bt,t as xt,u as St}from"./web-paths-DK4pi1mp.js";import{M as Ct,S as wt,T as Tt,b as Et,f as Dt,l as Ot,n as kt,t as At,u as jt,w as Mt,y as Nt}from"./index-DiPBdbhX.js";var Pt=class extends Je{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new se({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=Ft(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=Ft(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Ft(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=Ft(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){t.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=>pe(t,e))}findAll(e={}){return this.getAll().filter(t=>pe(e,t))}notify(e){t.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return t.batch(()=>Promise.all(e.map(e=>e.continue().catch(Ke))))}};function Ft(e){return e.options.scope?.id}var It=class extends Je{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??Oe(r,t),a=this.get(i);return a||(a=new ue({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(){t.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=>Le(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>Le(e,t)):t}notify(e){t.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){t.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){t.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Lt=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new It,this.#t=e.mutationCache||new Pt,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=ve.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=ee.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(je(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=T(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,n,r){return t.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,n,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let n=this.#e;t.batch(()=>{n.findAll(e).forEach(e=>{n.remove(e)})})}resetQueries(e,n){let r=this.#e;return t.batch(()=>{let t=r.findAll(e),i=new Set(t);return t.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},n)})}cancelQueries(e,n={}){let r={revert:!0,...n},i=t.batch(()=>this.#e.findAll(e).map(e=>e.cancel(r)));return Promise.all(i).then(Ke).catch(Ke)}invalidateQueries(e,n={}){return t.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},n)))}refetchQueries(e,n={}){let r={...n,cancelRefetch:n.cancelRefetch??!0},i=t.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(Ke)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(i).then(Ke)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(je(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(je(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ke).catch(Ke)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ke).catch(Ke)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return ee.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(Ue(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{ge(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(Ue(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{ge(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||=Oe(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===Ze&&(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()}},Rt=x((e=>{(function(){function t(){if(ee=!1,S){var t=e.unstable_now();ae=t;var n=!0;try{a:{y=!1,b&&(b=!1,ne(re),re=-1),v=!0;var a=_;try{b:{for(o(t),g=r(p);g!==null&&!(g.expirationTime>t&&c());){var u=g.callback;if(typeof u==`function`){g.callback=null,_=g.priorityLevel;var d=u(g.expirationTime<=t);if(t=e.unstable_now(),typeof d==`function`){g.callback=d,o(t),n=!0;break b}g===r(p)&&i(p),o(t)}else i(p);g=r(p)}if(g!==null)n=!0;else{var f=r(m);f!==null&&l(s,f.startTime-t),n=!1}}break a}finally{g=null,_=a,v=!1}n=void 0}}finally{n?oe():S=!1}}}function n(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break a}}function r(e){return e.length===0?null:e[0]}function i(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,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>a(c,n))l<i&&0>a(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<i&&0>a(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}function o(e){for(var t=r(m);t!==null;){if(t.callback===null)i(m);else if(t.startTime<=e)i(m),t.sortIndex=t.expirationTime,n(p,t);else break;t=r(m)}}function s(e){if(b=!1,o(e),!y){if(r(p)!==null)y=!0,S||(S=!0,oe());else{var t=r(m);t!==null&&l(s,t.startTime-e)}}}function c(){return ee?!0:!(e.unstable_now()-ae<ie)}function l(t,n){re=te(function(){t(e.unstable_now())},n)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],m=[],h=1,g=null,_=3,v=!1,y=!1,b=!1,ee=!1,te=typeof setTimeout==`function`?setTimeout:null,ne=typeof clearTimeout==`function`?clearTimeout:null,x=typeof setImmediate<`u`?setImmediate:null,S=!1,re=-1,ie=5,ae=-1;if(typeof x==`function`)var oe=function(){x(t)};else if(typeof MessageChannel<`u`){var se=new MessageChannel,ce=se.port2;se.port1.onmessage=t,oe=function(){ce.postMessage(null)}}else oe=function(){te(t,0)};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`):ie=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_requestPaint=function(){ee=!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=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(t,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,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return c=a+c,t={id:h++,callback:i,priorityLevel:t,startTime:a,expirationTime:c,sortIndex:-1},a>o?(t.sortIndex=a,n(m,t),r(p)===null&&t===r(m)&&(b?(ne(re),re=-1):b=!0,l(s,a-o))):(t.sortIndex=c,n(p,t),y||v||(y=!0,S||(S=!0,oe()))),t},e.unstable_shouldYield=c,e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),zt=x(((e,t)=>{t.exports=Rt()})),Bt=x((e=>{(function(){function t(){}function n(e){return``+e}function r(e,t,r){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;if(i==null)i=null;else if(i===f)i=f;else{try{n(i);var a=!1}catch{a=!0}a&&(console.error(`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,typeof Symbol==`function`&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||`Object`),n(i)),i=``+i}return{$$typeof:u,key:i,children:e,containerInfo:t,implementation:r}}function i(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}function a(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:`something with type "`+typeof e+`"`}function o(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:typeof e==`string`?JSON.stringify(e):typeof e==`number`?"`"+e+"`":`something with type "`+typeof e+`"`}function s(){var e=p.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
3
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
4
+ 2. You might be breaking the Rules of Hooks
5
+ 3. You might have more than one copy of React in the same app
6
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=Ne(),l={d:{f:t,r:function(){throw Error(`Invalid form element. requestFormReset must be passed a form that was rendered by React.`)},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},u=Symbol.for(`react.portal`),d=Symbol.for(`react.recoverable`),f=Symbol.for(`react.optimistic_key`),p=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==`function`&&Map.prototype!=null&&typeof Map.prototype.forEach==`function`&&typeof Set==`function`&&Set.prototype!=null&&typeof Set.prototype.clear==`function`&&typeof Set.prototype.forEach==`function`||console.error(`React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills`),e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,e.browser=function(e){return{$$typeof:d,_reason:e}},e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(`Target container is not a DOM element.`);return r(e,t,null,n)},e.flushSync=function(e){var t=p.T,n=l.p;try{if(p.T=null,l.p=2,e)return e()}finally{p.T=t,l.p=n,l.d.f()&&console.error(`flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.`)}},e.preconnect=function(e,t){typeof e==`string`&&e?t!=null&&typeof t!=`object`?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",o(t)):t!=null&&typeof t.crossOrigin!=`string`&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",a(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e)),typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,l.d.C(e,t))},e.prefetchDNS=function(e){if(typeof e!=`string`||!e)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e));else if(1<arguments.length){var t=arguments[1];typeof t==`object`&&t.hasOwnProperty(`crossOrigin`)?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t))}typeof e==`string`&&l.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&e?typeof t!=`object`||!t?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",o(t)):t.as!==`style`&&t.as!==`script`&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',o(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e)),typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=i(n,t.crossOrigin),s=typeof t.integrity==`string`?t.integrity:void 0,c=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?l.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:s,fetchPriority:c}):n===`script`&&l.d.X(e,{crossOrigin:r,integrity:s,fetchPriority:c,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+a(t)+`.`:t&&`as`in t&&t.as!==`script`&&(n+=" The `as` option encountered was "+o(t.as)+`.`),n)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",n);else switch(n=t&&typeof t.as==`string`?t.as:`script`,n){case`script`:break;default:n=o(n),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',n,e)}typeof e==`string`&&(typeof t==`object`&&t?(t.as==null||t.as===`script`)&&(n=i(t.as,t.crossOrigin),l.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})):t??l.d.M(e))},e.preload=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),typeof t!=`object`||!t?n+=" The `options` argument encountered was "+a(t)+`.`:typeof t.as==`string`&&t.as||(n+=" The `as` option encountered was "+a(t.as)+`.`),n&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',n),typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){n=t.as;var r=i(n,t.crossOrigin);l.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){var n=``;typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+a(t)+`.`:t&&`as`in t&&typeof t.as!=`string`&&(n+=" The `as` option encountered was "+a(t.as)+`.`),n&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',n),typeof e==`string`&&(t?(n=i(t.as,t.crossOrigin),l.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})):l.d.m(e))},e.requestFormReset=function(e){l.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s().useFormState(e,t,n)},e.useFormStatus=function(){return s().useHostTransitionStatus()},e.version=`19.3.0`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),Vt=x(((e,t)=>{t.exports=Bt()})),Ht=x((e=>{(function(){function t(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function n(e,t,r,i){if(r>=t.length)return i;var a=t[r],o=Ym(e)?e.slice():I({},e);return o[a]=n(e[a],t,r+1,i),o}function r(e,t,n){if(t.length!==n.length)console.warn(`copyWithRename() expects paths of the same length`);else{for(var r=0;r<n.length-1;r++)if(t[r]!==n[r]){console.warn(`copyWithRename() expects paths to be the same except for the deepest key`);return}return i(e,t,n,0)}}function i(e,t,n,r){var a=t[r],o=Ym(e)?e.slice():I({},e);return r+1===t.length?(o[n[r]]=o[a],Ym(o)?o.splice(a,1):delete o[a]):o[a]=i(e[a],t,n,r+1),o}function a(e,t,n){var r=t[n],i=Ym(e)?e.slice():I({},e);return n+1===t.length?(Ym(i)?i.splice(r,1):delete i[r],i):(i[r]=a(e[r],t,n+1),i)}function o(){return!1}function s(){return null}function c(){console.error(`Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks`)}function l(){console.error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`)}function u(){}function d(){}function f(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(`, `)}function p(e,t,n,r){return new Br(e,t,n,r)}function m(e,t){e.context===Rv&&(Qp(e.current,2,t,e,null,null),cu())}function h(e,t){if(zv!==null){var n=t.staleFamilies;t=t.updatedFamilies,zu(),zr(e.current,t,n),cu()}}function g(e){zv=e}function _(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function v(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function y(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 b(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 ee(e){if(v(e)!==e)throw Error(`Unable to find node on an unmounted component.`)}function te(e){var t=e.alternate;if(!t){if(t=v(e),t===null)throw Error(`Unable to find node on an unmounted component.`);return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return ee(i),e;if(a===r)return ee(i),t;a=a.sibling}throw Error(`Unable to find node on an unmounted component.`)}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(`Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.`)}}if(n.alternate!==r)throw Error(`Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.`)}if(n.tag!==3)throw Error(`Unable to find node on an unmounted component.`);return n.stateNode.current===n?e:t}function ne(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ne(e),t!==null)return t;e=e.sibling}return null}function x(e,t,n,r,i){S(e.child,!1,t,n,r,i)}function S(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&S(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function re(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function ie(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}function ae(e){var t=[null,null],n=re(e);return n===null||oe(t,e,n.child,{foundSelf:!1}),t}function oe(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&oe(e,t,n.child,r))return!0;n=n.sibling}return!1}function se(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(`Expected to find a host node. This is a bug in React.`)}}function ce(e,t,n){return e===n||e===t&&(Dm=e,!0)}function le(e,t,n){return e===n?(Om=e,!1):e===t&&(Om!==null&&(Dm=e),!0)}function ue(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function de(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}function fe(e){return typeof e!=`object`||!e?null:(e=qm&&e[qm]||e[`@@iterator`],typeof e==`function`?e:null)}function C(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Jm?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case Mm:return`Fragment`;case Pm:return`Profiler`;case Nm:return`StrictMode`;case Rm:return`Suspense`;case zm:return`SuspenseList`;case Hm:return`Activity`;case Gm:return`ViewTransition`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case jm:return`Portal`;case Im:return e.displayName||`Context`;case Fm:return(e._context.displayName||`Context`)+`.Consumer`;case Lm:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case Bm:return t=e.displayName||null,t===null?C(e.type)||`Memo`:t;case Vm:t=e._payload,e=e._init;try{return C(e(t))}catch{}}return null}function pe(e){return typeof e.tag==`number`?w(e):typeof e.name==`string`?e.name:null}function w(e){var t=e.type;switch(e.tag){case 31:return`Activity`;case 24:return`Cache`;case 9:return(t._context.displayName||`Context`)+`.Consumer`;case 10:return t.displayName||`Context`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 26:case 27:case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return C(t);case 8:return t===Nm?`StrictMode`:`Mode`;case 22:if(e.return!==null)return w(e.return);break;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 30:return`ViewTransition`;case 1:case 0:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name==`string`)return t[n].name}if(e.return!==null)return w(e.return)}return null}function me(e){return{current:e}}function he(e,t){0>eh?console.error(`Unexpected pop.`):(t!==$m[eh]&&console.error(`Unexpected Fiber popped.`),e.current=Qm[eh],Qm[eh]=null,$m[eh]=null,eh--)}function ge(e,t,n){eh++,Qm[eh]=e.current,$m[eh]=n,e.current=t}function _e(e){return e===null&&console.error(`Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.`),e}function ve(e,t){ge(rh,t,e),ge(nh,e,e),ge(th,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?`#document`:`#fragment`,t=(t=t.documentElement)&&(t=t.namespaceURI)?Xd(t):_T;break;default:if(n=t.tagName,t=t.namespaceURI)t=Xd(t),t=Zd(t,n);else switch(n){case`svg`:t=vT;break;case`math`:t=yT;break;default:t=_T}}n=n.toLowerCase(),n=on(null,n),n={context:t,ancestorInfo:n},he(th,e),ge(th,n,e)}function ye(e){he(th,e),he(nh,e),he(rh,e)}function be(){return _e(th.current)}function xe(e){var t=e.memoizedState;t!==null&&($T._currentValue=t.memoizedState,ge(ih,e,e)),t=_e(th.current);var n=e.type,r=Zd(t.context,n);n=on(t.ancestorInfo,n),r={context:r,ancestorInfo:n},t!==r&&(ge(nh,e,e),ge(th,r,e))}function Se(e){nh.current===e&&(he(th,e),he(nh,e)),ih.current===e&&(he(ih,e),$T._currentValue=QT)}function Ce(){}function we(){if(ah===0){oh=console.log,sh=console.info,ch=console.warn,R=console.error,lh=console.group,uh=console.groupCollapsed,dh=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ah++}function Te(){if(ah--,ah===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:oh}),info:I({},e,{value:sh}),warn:I({},e,{value:ch}),error:I({},e,{value:R}),group:I({},e,{value:lh}),groupCollapsed:I({},e,{value:uh}),groupEnd:I({},e,{value:dh})})}0>ah&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function Ee(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
7
+ `)&&(e=e.slice(29)),t=e.indexOf(`
8
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t!==-1&&(t=e.lastIndexOf(`
9
+ `,t)),t!==-1)e=e.slice(0,t);else return``;return e}function De(e){if(fh===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);fh=t&&t[1]||``,ph=-1<e.stack.indexOf(`
10
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
11
+ `+fh+e+ph}function Oe(e,t){if(!e||mh)return``;var n=hh.get(e);if(n!==void 0)return n;mh=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=L.H,L.H=null,we();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,`name`);a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var o=i.DetermineComponentFrameRoot(),s=o[0],c=o[1];if(s&&c){var l=s.split(`
12
+ `),u=c.split(`
13
+ `);for(o=a=0;a<l.length&&!l[a].includes(`DetermineComponentFrameRoot`);)a++;for(;o<u.length&&!u[o].includes(`DetermineComponentFrameRoot`);)o++;if(a===l.length||o===u.length)for(a=l.length-1,o=u.length-1;1<=a&&0<=o&&l[a]!==u[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==u[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==u[o]){var d=`
14
+ `+l[a].replace(` at new `,` at `);return e.displayName&&d.includes(`<anonymous>`)&&(d=d.replace(`<anonymous>`,e.displayName)),typeof e==`function`&&hh.set(e,d),d}while(1<=a&&0<=o);break}}}finally{mh=!1,L.H=r,Te(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?De(l):``,typeof e==`function`&&hh.set(e,l),l}function ke(e,t){switch(e.tag){case 26:case 27:case 5:return De(e.type);case 16:return De(`Lazy`);case 13:return e.child!==t&&t!==null?De(`Suspense Fallback`):De(`Suspense`);case 19:return De(`SuspenseList`);case 0:case 15:return Oe(e.type,!1);case 11:return Oe(e.type.render,!1);case 1:return Oe(e.type,!0);case 31:return De(`Activity`);case 30:return De(`ViewTransition`);default:return``}}function Ae(e){try{var t=``,n=null;do{t+=ke(e,n);var r=e._debugInfo;if(r)for(var i=r.length-1;0<=i;i--){var a=r[i];if(typeof a.name==`string`){var o=t;a:{var s=a.name,c=a.env,l=a.debugLocation;if(l!=null){var u=Ee(l),d=u.lastIndexOf(`
15
+ `),f=d===-1?u:u.slice(d+1);if(f.indexOf(s)!==-1){var p=`
16
+ `+f;break a}}p=De(s+(c?` [`+c+`]`:``))}t=o+p}}n=e,e=e.return}while(e);return t}catch(e){return`
17
+ Error generating stack: `+e.message+`
18
+ `+e.stack}}function je(e){return(e=e?e.displayName||e.name:``)?De(e):``}function Me(){if(gh===null)return null;var e=gh._debugOwner;return e==null?null:pe(e)}function Pe(){if(gh===null)return``;var e=gh;try{var t=``;switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=De(e.type);break;case 13:t+=De(`Suspense`);break;case 19:t+=De(`SuspenseList`);break;case 31:t+=De(`Activity`);break;case 30:t+=De(`ViewTransition`);break;case 0:case 15:case 1:e._debugOwner||t!==``||(t+=je(e.type));break;case 11:e._debugOwner||t!==``||(t+=je(e.type.render))}for(;e;)if(typeof e.tag==`number`){var n=e;e=n._debugOwner;var r=n._debugStack;if(e&&r){var i=Ee(r);i!==``&&(t+=`
19
+ `+i)}}else if(e.debugStack!=null){var a=e.debugStack;(e=e.owner)&&a&&(t+=`
20
+ `+Ee(a))}else break;var o=t}catch(e){o=`
21
+ Error generating stack: `+e.message+`
22
+ `+e.stack}return o}function T(e,t,n,r,i,a,o){var s=gh;Fe(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,r,i,a,o)):t(n,r,i,a,o)}finally{Fe(s)}throw Error(`runWithFiberInDEV should never be called in production. This is a bug in React.`)}function Fe(e){L.getCurrentStack=e===null?null:Pe,_h=!1,gh=e}function Ie(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function Le(e){try{return Re(e),!1}catch{return!0}}function Re(e){return``+e}function ze(e,t){if(Le(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ie(e)),Re(e)}function Be(e,t){if(Le(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ie(e)),Re(e)}function Ve(e){if(Le(e))return console.error(`Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.`,Ie(e)),Re(e)}function He(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error(`The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools`),!0;try{Mh=t.inject(e),Nh=t}catch(e){console.error(`React instrumentation encountered an error: %o.`,e)}return!!t.checkDCE}function Ue(e){if(typeof Ah==`function`&&jh(e),Nh&&typeof Nh.setStrictMode==`function`)try{Nh.setStrictMode(Mh,e)}catch(e){Ph||(Ph=!0,console.error(`React instrumentation encountered an error: %o`,e))}}function We(e){return e>>>=0,e===0?32:31-(Lh(e)/Rh|0)|0}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&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error(`Should have found matching lanes. This is a bug in React.`),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){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-Ih(n),i=1<<r;t|=e[r],n&=~i}return t}function Ye(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 console.error(`Should have found matching lanes. This is a bug in React.`),-1}}function Xe(){var e=Vh;return Vh<<=1,!(Vh&62914560)&&(Vh=4194304),e}function Ze(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Qe(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function $e(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-Ih(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&&et(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function et(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ih(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function tt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ih(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function nt(e,t){var n=t&-t;return n=n&42?1:rt(n),(n&(e.suspendedLanes|t))===0?n:0}function rt(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 it(e,t,n){if(Fh)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-Ih(n),i=1<<r;e[r].add(t),n&=~i}}function at(e,t){if(Fh)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var i=31-Ih(t);e=1<<i,i=n[i],0<i.size&&(i.forEach(function(e){var t=e.alternate;t!==null&&r.has(t)||r.add(e)}),i.clear()),t&=~e}}function ot(e){return e&=-e,Hh!==0&&Hh<e?Uh!==0&&Uh<e?e&134217727?Wh:Gh:Uh:Hh}function st(){var e=Xm.p;return e===0?(e=window.event,e===void 0?Wh:lm(e.type)):e}function ct(e,t){var n=Xm.p;try{return Xm.p=e,t()}finally{Xm.p=n}}function lt(e){delete e[qh],delete e[Jh],delete e[Zh],delete e[Qh]}function ut(e){var t;if(t=e[qh])return t;for(var n=e.parentNode;n;){if(t=n[Yh]||n[qh]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=dp(e);e!==null;){if(n=e[qh])return n;e=dp(e)}return t}e=n,n=e.parentNode}return null}function dt(e){if(e=e[qh]||e[Yh]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ft(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(`getNodeFromInstance: Invalid argument.`)}function pt(e){var t=e[$h];return t||=e[$h]={hoistableStyles:new Map,hoistableScripts:new Map},t}function mt(e){e[eg]=!0}function ht(e){e[tg]=void 0}function gt(e,t){_t(e,t),_t(e+`Capture`,t)}function _t(e,t){rg[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),rg[e]=t;var n=e.toLowerCase();for(ig[n]=e,e===`onDoubleClick`&&(ig.ondblclick=e),e=0;e<t.length;e++)ng.add(t[e])}function vt(e,t){ag[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e===`select`?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function yt(e){return vh.call(cg,e)?!0:vh.call(sg,e)?!1:og.test(e)?cg[e]=!0:(sg[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function bt(){var e=z;return z=!1,e}function xt(e,t,n){if(yt(t)){if(!e.hasAttribute(t)){switch(typeof n){case`symbol`:case`object`:return n;case`function`:return n;case`boolean`:if(!1===n)return n}return n===void 0?void 0:null}return e=t.toLowerCase()===`nonce`?e.nonce:e.getAttribute(t),e===``&&!0===n||(ze(n,t),e===``+n?n:e)}}function St(e,t,n){if(yt(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}}ze(n,t),e.setAttribute(t,n)}}}function Ct(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}ze(n,t),e.setAttribute(t,n)}}function wt(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}ze(r,n),e.setAttributeNS(t,n,r)}}function Tt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return Ve(e),e;default:return``}}function Et(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Dt(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){Ve(e),n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){Ve(e),n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ot(e){if(!e._valueTracker){var t=Et(e)?`checked`:`value`;e._valueTracker=Dt(e,t,``+e[t])}}function kt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Et(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function At(e){return e.replace(lg,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function jt(e,t){t.checked===void 0||t.defaultChecked===void 0||dg||(console.error(`%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,Me()||`A component`,t.type),dg=!0),t.value===void 0||t.defaultValue===void 0||ug||(console.error(`%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,Me()||`A component`,t.type),ug=!0)}function Mt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?(ze(o,`type`),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=``+Tt(t)):e.value!==``+Tt(t)&&(e.value=``+Tt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Pt(e,Tt(n)):o===`number`&&e.value==t?Pt(e,Tt(e.value)):Pt(e,Tt(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`?(ze(s,`name`),e.name=``+Tt(s)):e.removeAttribute(`name`)}function Nt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(ze(a,`type`),e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Ot(e);return}n=n==null?``:``+Tt(n),t=t==null?n:``+Tt(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`&&(ze(o,`name`),e.name=o),Ot(e)}function Pt(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function Ft(e,t){t.value??(typeof t.children==`object`&&t.children!==null?Tm.Children.forEach(t.children,function(e){e==null||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||pg||(pg=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||mg||(mg=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||fg||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),fg=!0)}function It(){var e=Me();return e?`
23
+
24
+ Check the render method of \``+e+"`.":``}function Lt(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=``+Tt(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 Rt(e,t){for(e=0;e<gg.length;e++){var n=gg[e];if(t[n]!=null){var r=Ym(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,It()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,It())}}t.value===void 0||t.defaultValue===void 0||hg||(console.error(`Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components`),hg=!0)}function Bt(e,t){t.value===void 0||t.defaultValue===void 0||_g||(console.error(`%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components`,Me()||`A component`),_g=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Ht(e,t,n){t!=null&&(t=``+Tt(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+Tt(n)}function Ut(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ym(r)){if(1<r.length)throw Error(`<textarea> can only have at most one child.`);r=r[0]}n=r}n??=``,t=n}n=Tt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Ot(e)}function E(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?E(e.children[0],t):e}function Wt(e){return` `+` `.repeat(e)}function Gt(e){return`+ `+` `.repeat(e)}function Kt(e){return`- `+` `.repeat(e)}function qt(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return`Lazy`;case 31:return`Activity`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Jt(e,t){return vg.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?`{"..."}`:`{`+e.slice(0,t-7)+`..."}`:`{`+e+`}`):e.length>t?5>t?`{"..."}`:e.slice(0,t-3)+`...`:e}function Yt(e,t,n){var r=120-2*n;if(t===null)return Gt(n)+Jt(e,r)+`
25
+ `;if(typeof t==`string`){for(var i=0;i<t.length&&i<e.length&&t.charCodeAt(i)===e.charCodeAt(i);i++);return i>r-8&&10<i&&(e=`...`+e.slice(i-8),t=`...`+t.slice(i-8)),Gt(n)+Jt(e,r)+`
26
+ `+Kt(n)+Jt(t,r)+`
27
+ `}return Wt(n)+Jt(e,r)+`
28
+ `}function Xt(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function D(e,t){switch(typeof e){case`string`:return e=JSON.stringify(e),e.length>t?5>t?`"..."`:e.slice(0,t-4)+`..."`:e;case`object`:if(e===null)return`null`;if(Ym(e))return`[...]`;if(e.$$typeof===Am)return(t=C(e.type))?`<`+t+`>`:`<...>`;var n=Xt(e);if(n===`Object`){for(var r in n=``,t-=2,e)if(e.hasOwnProperty(r)){var i=JSON.stringify(r);if(i!==`"`+r+`"`&&(r=i),t-=r.length-2,i=D(e[r],15>t?t:15),t-=i.length,0>t){n+=n===``?`...`:`, ...`;break}n+=(n===``?``:`,`)+r+`:`+i}return`{`+n+`}`}return n;case`function`:return(t=e.displayName||e.name)?`function `+t:`function`;default:return String(e)}}function Zt(e,t){return typeof e!=`string`||vg.test(e)?`{`+D(e,t-2)+`}`:e.length>t-2?5>t?`"..."`:`"`+e.slice(0,t-5)+`..."`:`"`+e+`"`}function Qt(e,t,n){var r=120-n.length-e.length,i=[],a;for(a in t)if(t.hasOwnProperty(a)&&a!==`children`){var o=Zt(t[a],120-n.length-a.length-1);r-=a.length+o.length+2,i.push(a+`=`+o)}return i.length===0?n+`<`+e+`>
29
+ `:0<r?n+`<`+e+` `+i.join(` `)+`>
30
+ `:n+`<`+e+`
31
+ `+n+` `+i.join(`
32
+ `+n+` `)+`
33
+ `+n+`>
34
+ `}function $t(e,t,n){var r=``,i=I({},t),a;for(a in e)if(e.hasOwnProperty(a)){delete i[a];var o=120-2*n-a.length-2,s=D(e[a],o);t.hasOwnProperty(a)?(o=D(t[a],o),r+=Gt(n)+a+`: `+s+`
35
+ `,r+=Kt(n)+a+`: `+o+`
36
+ `):r+=Gt(n)+a+`: `+s+`
37
+ `}for(var c in i)i.hasOwnProperty(c)&&(e=D(i[c],120-2*n-c.length-2),r+=Kt(n)+c+`: `+e+`
38
+ `);return r}function en(e,t,n,r){var i=``,a=new Map;for(l in n)n.hasOwnProperty(l)&&a.set(l.toLowerCase(),l);if(a.size===1&&a.has(`children`))i+=Qt(e,t,Wt(r));else{for(var o in t)if(t.hasOwnProperty(o)&&o!==`children`){var s=120-2*(r+1)-o.length-1,c=a.get(o.toLowerCase());if(c!==void 0){a.delete(o.toLowerCase());var l=t[o];c=n[c];var u=Zt(l,s);s=Zt(c,s),typeof l==`object`&&l&&typeof c==`object`&&c&&Xt(l)===`Object`&&Xt(c)===`Object`&&(2<Object.keys(l).length||2<Object.keys(c).length||-1<u.indexOf(`...`)||-1<s.indexOf(`...`))?i+=Wt(r+1)+o+`={{
39
+ `+$t(l,c,r+2)+Wt(r+1)+`}}
40
+ `:(i+=Gt(r+1)+o+`=`+u+`
41
+ `,i+=Kt(r+1)+o+`=`+s+`
42
+ `)}else i+=Wt(r+1)+o+`=`+Zt(t[o],s)+`
43
+ `}a.forEach(function(e){if(e!==`children`){var t=120-2*(r+1)-e.length-1;i+=Kt(r+1)+e+`=`+Zt(n[e],t)+`
44
+ `}}),i=i===``?Wt(r)+`<`+e+`>
45
+ `:Wt(r)+`<`+e+`
46
+ `+i+Wt(r)+`>
47
+ `}return e=n.children,t=t.children,typeof e==`string`||typeof e==`number`||typeof e==`bigint`?(a=``,(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(a=``+t),i+=Yt(a,``+e,r+1)):(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(i=e==null?i+Yt(``+t,null,r+1):i+Yt(``+t,void 0,r+1)),i}function tn(e,t){var n=qt(e);if(n===null){for(n=``,e=e.child;e;)n+=tn(e,t),e=e.sibling;return n}return Wt(t)+`<`+n+`>
48
+ `}function nn(e,t){var n=E(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Wt(t)+`...
49
+ `+nn(n,t+1);n=``;var r=e.fiber._debugInfo;if(r)for(var i=0;i<r.length;i++){var a=r[i].name;typeof a==`string`&&(n+=Wt(t)+`<`+a+`>
50
+ `,t++)}if(r=``,i=e.fiber.pendingProps,e.fiber.tag===6)r=Yt(i,e.serverProps,t),t++;else if(a=qt(e.fiber),a!==null){if(e.serverProps===void 0){r=t;var o=120-2*r-a.length-2,s=``;for(l in i)if(i.hasOwnProperty(l)&&l!==`children`){var c=Zt(i[l],15);if(o-=l.length+c.length+2,0>o){s+=` ...`;break}s+=` `+l+`=`+c}r=Wt(r)+`<`+a+s+`>
51
+ `,t++}else e.serverProps===null?(r=Qt(a,i,Gt(t)),t++):typeof e.serverProps==`string`?console.error(`Should not have matched a non HostText fiber to a Text node. This is a bug in React.`):(r=en(a,i,e.serverProps,t),t++)}var l=``;for(i=e.fiber.child,a=0;i&&a<e.children.length;)o=e.children[a],o.fiber===i?(l+=nn(o,t),a++):l+=tn(i,t),i=i.sibling;for(i&&0<e.children.length&&(l+=Wt(t)+`...
52
+ `),i=e.serverTail,e.serverProps===null&&t--,e=0;e<i.length;e++)a=i[e],l=typeof a==`string`?l+(Kt(t)+Jt(a,120-2*t)+`
53
+ `):l+Qt(a.type,a.props,Kt(t));return n+r+l}function rn(e){try{return`
54
+
55
+ `+nn(e,0)}catch{return``}}function an(e,t,n){for(var r=t,i=null,a=0;r;)r===e&&(a=0),i={fiber:r,children:i===null?[]:[i],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:a},a++,r=r.return;return i===null?``:rn(i).replaceAll(/^[+-]/gm,`>`)}function on(e,t){var n=I({},e||Cg),r={tag:t};return bg.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),xg.indexOf(t)!==-1&&(n.pTagInButtonScope=null),yg.indexOf(t)!==-1&&t!==`address`&&t!==`div`&&t!==`p`&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,t===`form`&&(n.formTag=r),t===`a`&&(n.aTagInScope=r),t===`button`&&(n.buttonTagInScope=r),t===`nobr`&&(n.nobrTagInScope=r),t===`p`&&(n.pTagInButtonScope=r),t===`li`&&(n.listItemTagAutoclosing=r),(t===`dd`||t===`dt`)&&(n.dlItemTagAutoclosing=r),t===`#document`||t===`html`?n.containerTagInScope=null:n.containerTagInScope||=r,e!==null||t!==`#document`&&t!==`html`&&t!==`body`?!0===n.implicitRootScope&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function sn(e,t,n){switch(t){case`tr`:return e===`th`||e===`td`||e===`style`||e===`script`||e===`template`;case`tbody`:case`thead`:case`tfoot`:return e===`tr`||e===`style`||e===`script`||e===`template`;case`colgroup`:return e===`col`||e===`template`;case`table`:return e===`caption`||e===`colgroup`||e===`tbody`||e===`tfoot`||e===`thead`||e===`style`||e===`script`||e===`template`;case`head`:return e===`base`||e===`basefont`||e===`bgsound`||e===`link`||e===`meta`||e===`title`||e===`noscript`||e===`noframes`||e===`style`||e===`script`||e===`template`;case`html`:if(n)break;return e===`head`||e===`body`||e===`frameset`;case`frameset`:return e===`frame`;case`#document`:if(!n)return e===`html`}switch(e){case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t!==`h1`&&t!==`h2`&&t!==`h3`&&t!==`h4`&&t!==`h5`&&t!==`h6`;case`rp`:case`rt`:return Sg.indexOf(t)===-1;case`caption`:case`col`:case`colgroup`:case`input`:return t!==`select`;case`frameset`:case`frame`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return t==null;case`head`:return n||t===null;case`html`:return n&&t===`#document`||t===null;case`body`:return n&&(t===`#document`||t===`html`)||t===null}return!0}function cn(e,t){switch(e){case`address`:case`article`:case`aside`:case`blockquote`:case`center`:case`details`:case`dialog`:case`dir`:case`div`:case`dl`:case`fieldset`:case`figcaption`:case`figure`:case`footer`:case`header`:case`hgroup`:case`main`:case`menu`:case`nav`:case`ol`:case`p`:case`section`:case`summary`:case`ul`:case`pre`:case`listing`:case`table`:case`hr`:case`xmp`:case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t.pTagInButtonScope;case`form`:return t.formTag||t.pTagInButtonScope;case`li`:return t.listItemTagAutoclosing;case`dd`:case`dt`:return t.dlItemTagAutoclosing;case`button`:return t.buttonTagInScope;case`a`:return t.aTagInScope;case`nobr`:return t.nobrTagInScope}return null}function ln(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function un(e,t){t||=Cg;var n=t.current;if(t=(n=sn(e,n&&n.tag,t.implicitRootScope)?null:n)?null:cn(e,t),t=n||t,!t)return!0;var r=t.tag;if(t=String(!!n)+`|`+e+`|`+r,wg[t])return!1;wg[t]=!0;var i=(t=gh)?ln(t.return,r):null,a=t!==null&&i!==null?an(i,t,null):``,o=`<`+e+`>`;return n?(n=``,r===`table`&&e===`tr`&&(n+=` Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.`),console.error(`In HTML, %s cannot be a child of <%s>.%s
56
+ This will cause a hydration error.%s`,o,r,n,a)):console.error(`In HTML, %s cannot be a descendant of <%s>.
57
+ This will cause a hydration error.%s`,o,r,a),t&&(e=t.return,i===null||e===null||i===e&&e._debugOwner===t._debugOwner||T(i,function(){console.error(`<%s> cannot contain a nested %s.
58
+ See this log for the ancestor stack trace.`,r,o)})),!1}function dn(e,t,n){if(n||sn(`#text`,t,!1))return!0;if(n=`#text|`+t,wg[n])return!1;wg[n]=!0;var r=(n=gh)?ln(n,t):null;return n=n!==null&&r!==null?an(r,n,n.tag===6?null:{children:null}):``,/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
59
+ This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
60
+ This will cause a hydration error.%s`,t,n),!1}function fn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function pn(e){return e.replace(Ag,function(e,t){return t.toUpperCase()})}function mn(e,t,n){var r=t.indexOf(`--`)===0;r||(-1<t.indexOf(`-`)?Mg.hasOwnProperty(t)&&Mg[t]||(Mg[t]=!0,console.error(`Unsupported style property %s. Did you mean %s?`,t,pn(t.replace(kg,`ms-`)))):Og.test(t)?Mg.hasOwnProperty(t)&&Mg[t]||(Mg[t]=!0,console.error(`Unsupported vendor-prefixed style property %s. Did you mean %s?`,t,t.charAt(0).toUpperCase()+t.slice(1))):!jg.test(n)||Ng.hasOwnProperty(n)&&Ng[n]||(Ng[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(jg,``))),typeof n==`number`&&(isNaN(n)?Pg||(Pg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Fg||(Fg=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),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||Ig.has(t)?t===`float`?e.cssFloat=n:(Be(n,t),e[t]=(``+n).trim()):e[t]=n+`px`}function hn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var r={};if(n){for(var i in n)if(n.hasOwnProperty(i)&&!t.hasOwnProperty(i))for(var a=Tg[i]||[i],o=0;o<a.length;o++)r[a[o]]=i}for(var s in t)if(t.hasOwnProperty(s)&&(!n||n[s]!==t[s]))for(i=Tg[s]||[s],a=0;a<i.length;a++)r[i[a]]=s;for(var c in s={},t)for(i=Tg[c]||[c],a=0;a<i.length;a++)s[i[a]]=c;for(var l in c={},r)if(i=r[l],(a=s[l])&&i!==a&&(o=i+`,`+a,!c[o])){c[o]=!0,o=console;var u=t[i];o.error.call(o,`%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.`,u==null||typeof u==`boolean`||u===``?`Removing`:`Updating`,i,a)}}for(var d in n)!n.hasOwnProperty(d)||t!=null&&t.hasOwnProperty(d)||(d.indexOf(`--`)===0?e.setProperty(d,``):d===`float`?e.cssFloat=``:e[d]=``,z=!0);for(var f in t)l=t[f],t.hasOwnProperty(f)&&n[f]!==l&&(mn(e,f,l),z=!0)}else for(r in t)t.hasOwnProperty(r)&&mn(e,r,t[r])}function gn(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}}function _n(e){return zg.get(e)||e}function vn(e,t){if(vh.call(Hg,t)&&Hg[t])return!0;if(Wg.test(t)){if(e=`aria-`+t.slice(4).toLowerCase(),e=Vg.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Hg[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Hg[t]=!0}if(Ug.test(t)){if(e=t.toLowerCase(),e=Vg.hasOwnProperty(e)?e:null,e==null)return Hg[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Hg[t]=!0)}return!0}function yn(e,t){var n=[],r;for(r in t)vn(e,r)||n.push(r);t=n.map(function(e){return"`"+e+"`"}).join(`, `),n.length===1?console.error(`Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e):1<n.length&&console.error(`Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e)}function bn(e,t,n,r){if(vh.call(Kg,t)&&Kg[t])return!0;var i=t.toLowerCase();if(i===`onfocusin`||i===`onfocusout`)return console.error(`React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.`),Kg[t]=!0;if(typeof n==`function`&&(e===`form`&&t===`action`||e===`input`&&t===`formAction`||e===`button`&&t===`formAction`))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(i)?e[i]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),Kg[t]=!0;if(qg.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Kg[t]=!0}else if(qg.test(t))return Jg.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Kg[t]=!0;if(Yg.test(t)||Xg.test(t))return!0;if(i===`innerhtml`)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Kg[t]=!0;if(i===`aria`)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Kg[t]=!0;if(i===`is`&&n!=null&&typeof n!=`string`)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Kg[t]=!0;if(typeof n==`number`&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Kg[t]=!0;if(Bg.hasOwnProperty(i)){if(i=Bg[i],i!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,i),Kg[t]=!0}else if(t!==i)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,i),Kg[t]=!0;switch(t){case`dangerouslySetInnerHTML`:case`children`:case`style`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:return!0;case`innerText`:case`textContent`:return!0}switch(typeof n){case`boolean`:switch(t){case`autoFocus`:case`checked`:case`multiple`:case`muted`:case`selected`:case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`capture`:case`download`:case`inert`:return!0;default:return i=t.toLowerCase().slice(0,5),i===`data-`||i===`aria-`||(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error(`Received \`%s\` for a non-boolean attribute \`%s\`.
61
+
62
+ If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
63
+
64
+ If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,n,t,t,n,t,t,t),Kg[t]=!0)}case`function`:case`symbol`:return Kg[t]=!0,!1;case`string`:if(n===`false`||n===`true`){switch(t){case`checked`:case`selected`:case`multiple`:case`muted`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`inert`:break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n===`false`?`The browser will interpret it as a truthy value.`:`Although this works, it will not work as expected if you pass the string "false".`,t,n),Kg[t]=!0}}return!0}function xn(e,t,n){var r=[],i;for(i in t)bn(e,i,t[i],n)||r.push(i);t=r.map(function(e){return"`"+e+"`"}).join(`, `),r.length===1?console.error(`Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e):1<r.length&&console.error(`Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e)}function Sn(e){return Zg.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Cn(){}function wn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Tn(e){var t=dt(e);if(t&&(e=t.stateNode)){var n=e[Jh]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Mt(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(ze(t,`name`),n=n.querySelectorAll(`input[name="`+At(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Jh]||null;if(!i)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Mt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&kt(r)}break a;case`textarea`:Ht(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Lt(e,!!n.multiple,t,!1)}}}function En(e,t,n){if(t_)return e(t,n);t_=!0;try{return e(t)}finally{if(t_=!1,($g!==null||e_!==null)&&(cu(),$g&&(t=$g,e=e_,e_=$g=null,Tn(t),e)))for(t=0;t<e.length;t++)Tn(e[t])}}function Dn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Jh]||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("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function On(){if(s_)return s_;var e,t=o_,n=t.length,r,i=`value`in a_?a_.value:a_.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 s_=i.slice(e,1<r?1-r:void 0)}function kn(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 An(){return!0}function jn(){return!1}function Mn(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)?An:jn,this.isPropagationStopped=jn,this}return I(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=An)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=An)},persist:function(){},isPersistent:An}),t}function Nn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=T_[e])?!!t[e]:!1}function Pn(){return Nn}function Fn(e,t){switch(e){case`keyup`:return N_.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==P_;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function In(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}function Ln(e,t){switch(e){case`compositionend`:return In(t);case`keypress`:return t.which===z_?(V_=!0,B_):null;case`textInput`:return e=t.data,e===B_&&V_?null:e;default:return null}}function Rn(e,t){if(H_)return e===`compositionend`||!F_&&Fn(e,t)?(e=On(),s_=o_=a_=null,H_=!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 R_&&t.locale!==`ko`?null:t.data;default:return null}}function zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!U_[e.type]:t===`textarea`}function Bn(e){if(!n_)return!1;e=`on`+e;var t=e in document;return t||=(t=document.createElement(`div`),t.setAttribute(e,`return;`),typeof t[e]==`function`),t}function Vn(e,t,n,r){$g?e_?e_.push(r):e_=[r]:$g=r,t=xd(t,`onChange`),0<t.length&&(n=new l_(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}function Hn(e){md(e,0)}function Un(e){if(kt(ft(e)))return e}function Wn(e,t){if(e===`change`)return t}function Gn(){W_&&(W_.detachEvent(`onpropertychange`,Kn),G_=W_=null)}function Kn(e){if(e.propertyName===`value`&&Un(G_)){var t=[];Vn(t,G_,e,wn(e)),En(Hn,t)}}function qn(e,t,n){e===`focusin`?(Gn(),W_=t,G_=n,W_.attachEvent(`onpropertychange`,Kn)):e===`focusout`&&Gn()}function Jn(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Un(G_)}function Yn(e,t){if(e===`click`)return Un(t)}function Xn(e,t){if(e===`input`||e===`change`)return Un(t)}function Zn(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function Qn(e,t){if(q_(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(!vh.call(t,i)||!q_(e[i],t[i]))return!1}return!0}function $n(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function er(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tr(e,t){var n=er(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=er(n)}}function nr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=$n(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=$n(e.document)}return t}function ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function ar(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Q_||Y_==null||Y_!==$n(r)||(r=Y_,`selectionStart`in r&&ir(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}),Z_&&Qn(Z_,r)||(Z_=r,r=xd(X_,`onSelect`),0<r.length&&(t=new l_(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Y_)))}function or(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}function sr(e){if($_[e])return $_[e];if(!B[e])return e;var t=B[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ev)return $_[e]=t[n];return e}function cr(e,t){cv.set(e,t),gt(t,[e])}function lr(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=iw.identifierPrefix;var n=uv++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function ur(e){if(e==null||typeof e==`string`)return e;var t=null,n=pw;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function dr(e,t){return e=ur(e),t=ur(t),t==null?e===`auto`?null:e:t===`auto`?null:t}function fr(e){for(var t=_v,n=0;n<e.length&&n<xv;n++){var r=e[n];if(typeof r==`object`&&r){if(Ym(r)&&r.length===2&&typeof r[0]==`string`){if(t!==_v&&t!==bv)return vv;t=bv}else return vv}else{if(typeof r==`function`||typeof r==`string`&&50<r.length||t!==_v&&t!==yv||typeof r==`bigint`)return vv;t=yv}}return t}function pr(e,t,n,r){if(!ArrayBuffer.isView(e)){var i=0,a;for(a in e)if(vh.call(e,a)&&a[0]!==`_`&&(i++,hr(a,e[a],t,n,r),i>=xv)){t.push([r+`\xA0\xA0`.repeat(n)+`Only `+xv+` properties are shown. React will not log more properties of this object.`,``]);break}}}function mr(e){return`$$typeof`in e&&vh.call(e,`$$typeof`)?e.$$typeof:void 0}function hr(e,t,n,r,i){switch(typeof t){case`object`:if(t===null){t=`null`;break}if(mr(t)===Am){var a=C(t.type)||`…`,o=t.key;t=t.props;var s=Object.keys(t),c=s.length;if(o==null&&c===0){t=`<`+a+` />`;break}if(3>r||c===1&&s[0]===`children`&&o==null){t=`<`+a+` … />`;break}for(var l in n.push([i+`\xA0\xA0`.repeat(r)+e,`<`+a]),o!==null&&hr(`key`,o,n,r+1,i),e=!1,o=0,t)if(o++,l===`children`?t.children!=null&&(!Ym(t.children)||0<t.children.length)&&(e=!0):vh.call(t,l)&&l[0]!==`_`&&hr(l,t[l],n,r+1,i),o>=xv)break;n.push([``,e?`>…</`+a+`>`:`/>`]);return}if(a=Object.prototype.toString.call(t),a=a.slice(8,a.length-1),ArrayBuffer.isView(t)){t=t.length,t=typeof t==`number`?a+`(`+t+`)`:a;break}if(a===`Array`){if(l=t.length>xv,o=fr(t),o===yv||o===_v){t=JSON.stringify(l?t.slice(0,xv).concat(`…`):t);break}if(o===bv){for(n.push([i+`\xA0\xA0`.repeat(r)+e,``]),e=0;e<t.length&&e<xv;e++)a=t[e],hr(a[0],a[1],n,r+1,i);l&&hr(xv.toString(),`…`,n,r+1,i);return}}if(a===`Promise`){if(t.status===`fulfilled`){if(a=n.length,hr(e,t.value,n,r,i),n.length>a){n=n[a],n[1]=`Promise<`+(n[1]||`Object`)+`>`;return}}else if(t.status===`rejected`&&(a=n.length,hr(e,t.reason,n,r,i),n.length>a)){n=n[a],n[1]=`Rejected Promise<`+n[1]+`>`;return}n.push([`\xA0\xA0`.repeat(r)+e,`Promise`]);return}a===`Object`&&(l=Object.getPrototypeOf(t))&&typeof l.constructor==`function`&&(a=l.constructor.name),n.push([i+`\xA0\xA0`.repeat(r)+e,a===`Object`?3>r?``:`…`:a]),3>r&&pr(t,n,r+1,i);return;case`function`:t=t.name,t=t===``||typeof t!=`string`?`() => {}`:t+`() {}`;break;case`string`:t=t===gv?`…`:JSON.stringify(1024<=t.length?t.slice(0,1023)+`…`:t);break;case`undefined`:t=`undefined`;break;case`boolean`:t=t?`true`:`false`;break;default:t=String(t)}n.push([i+`\xA0\xA0`.repeat(r)+e,t])}function gr(e,t,n,r){var i=!0,a=0;for(s in e){if(a>xv){n.push([`Previous object has more than `+xv+` properties. React will not attempt to diff objects with too many properties.`,``]),i=!1;break}s in t||(n.push([Sv+`\xA0\xA0`.repeat(r)+s,`…`]),i=!1),a++}for(var o in a=0,t){if(a>xv){n.push([`Next object has more than `+xv+` properties. React will not attempt to diff objects with too many properties.`,``]),i=!1;break}if(o in e){var s=e[o],c=t[o];if(s!==c){if(r===0&&o===`children`){i=`\xA0\xA0`.repeat(r)+o,n.push([Sv+i,`…`],[Cv+i,`…`]),i=!1;continue}if(!(3<=r)){if(typeof s==`object`&&typeof c==`object`&&s!==null&&c!==null&&mr(s)===mr(c)){if(mr(c)===Am){if(s.type===c.type&&s.key===c.key){s=C(c.type)||`…`,i=`\xA0\xA0`.repeat(r)+o,s=`<`+s+` … />`,n.push([Sv+i,s],[Cv+i,s]),i=!1;continue}}else{var l=Object.prototype.toString.call(s),u=Object.prototype.toString.call(c);if(l===u&&(u===`[object Object]`||u===`[object Array]`)){l=[wv+`\xA0\xA0`.repeat(r)+o,u===`[object Array]`?`Array`:``],n.push(l),u=n.length,gr(s,c,n,r+1)?u===n.length&&(l[1]=`Referentially unequal but deeply equal objects. Consider memoization.`):i=!1;continue}}}else if(typeof s==`function`&&typeof c==`function`&&s.name===c.name&&s.length===c.length&&(l=Function.prototype.toString.call(s),u=Function.prototype.toString.call(c),l===u)){s=c.name===``?`() => {}`:c.name+`() {}`,n.push([wv+`\xA0\xA0`.repeat(r)+o,s+` Referentially unequal function closure. Consider memoization.`]);continue}}hr(o,s,n,r,Sv),hr(o,c,n,r,Cv),i=!1}}else n.push([Cv+`\xA0\xA0`.repeat(r)+o,`…`]),i=!1;a++}return i}function _r(e){H=e&63?`Blocking`:e&64?`Gesture`:e&4194176?`Transition`:e&62914560?`Suspense`:e&2080374784?`Idle`:`Other`}function vr(e,t,n,r){Tv&&(kv.start=t,kv.end=n,Ov.color=`warning`,Ov.tooltipText=r,Ov.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,kv)):performance.measure(r,kv),performance.clearMeasures(r))}function yr(e,t,n){vr(e,t,n,`Reconnect`)}function br(e,t,n,r,i){var a=w(e);if(a!==null&&Tv){var o=e.alternate,s=e.actualDuration;if(o===null||o.child!==e.child)for(var c=e.child;c!==null;c=c.sibling)s-=c.actualDuration;s=.5>s?r?`tertiary-light`:`primary-light`:10>s?r?`tertiary`:`primary`:100>s?r?`tertiary-dark`:`primary-dark`:`error`;var l=e.memoizedProps;r=e._debugTask,l!==null&&o!==null&&o.memoizedProps!==l?(c=[Av],l=gr(o.memoizedProps,l,c,0),1<c.length?(l&&!Dv&&(o.lanes&i)===0&&100<e.actualDuration?(Dv=!0,c[0]=Mv,Ov.color=`warning`,Ov.tooltipText=jv):(Ov.color=s,Ov.tooltipText=a),Ov.properties=c,kv.start=t,kv.end=n,e=`​`+a,r==null?performance.measure(e,kv):r.run(performance.measure.bind(performance,e,kv)),performance.clearMeasures(e)):r==null?console.timeStamp(a,t,n,Ev,void 0,s):r.run(console.timeStamp.bind(console,a,t,n,Ev,void 0,s))):r==null?console.timeStamp(a,t,n,Ev,void 0,s):r.run(console.timeStamp.bind(console,a,t,n,Ev,void 0,s))}}function xr(e,t,n,r){if(Tv){var i=w(e);if(i!==null){for(var a=null,o=[],s=0;s<r.length;s++){var c=r[s];a==null&&c.source!==null&&(a=c.source._debugTask),c=c.value,o.push([`Error`,typeof c==`object`&&c&&typeof c.message==`string`?String(c.message):String(c)])}e.key!==null&&hr(`key`,e.key,o,0,``),e.memoizedProps!==null&&pr(e.memoizedProps,o,0,``),a??=e._debugTask,e={start:t,end:n,detail:{devtools:{color:`error`,track:Ev,tooltipText:e.tag===13?`Hydration failed`:`Error boundary caught an error`,properties:o}}},i=`​`+i,a?a.run(performance.measure.bind(performance,i,e)):performance.measure(i,e),performance.clearMeasures(i)}}}function Sr(e,t,n,r,i){if(i!==null){if(Tv){var a=w(e);if(a!==null){r=[];for(var o=0;o<i.length;o++){var s=i[o].value;r.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e.key!==null&&hr(`key`,e.key,r,0,``),e.memoizedProps!==null&&pr(e.memoizedProps,r,0,``),t={start:t,end:n,detail:{devtools:{color:`error`,track:Ev,tooltipText:`A lifecycle or effect errored`,properties:r}}},e=e._debugTask,n=`​`+a,e?e.run(performance.measure.bind(performance,n,t)):performance.measure(n,t),performance.clearMeasures(n)}}}else a=w(e),a!==null&&Tv&&(i=1>r?`secondary-light`:100>r?`secondary`:500>r?`secondary-dark`:`error`,(e=e._debugTask)?e.run(console.timeStamp.bind(console,a,t,n,Ev,void 0,i)):console.timeStamp(a,t,n,Ev,void 0,i))}function Cr(e,t,n,r){!Tv||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Prewarm`,e,t,H,V,n)):console.timeStamp(`Prewarm`,e,t,H,V,n))}function wr(e,t,n,r){!Tv||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Suspended`,e,t,H,V,n)):console.timeStamp(`Suspended`,e,t,H,V,n))}function Tr(e,t,n,r){!Tv||t<=e||(r?r.run(console.timeStamp.bind(console,`Errored`,e,t,H,V,`error`)):console.timeStamp(`Errored`,e,t,H,V,`error`))}function Er(e,t,n,r){!Tv||t<=e||(r?r.run(console.timeStamp.bind(console,n,e,t,H,V,`secondary-light`)):console.timeStamp(n,e,t,H,V,`secondary-light`))}function Dr(e,t,n,r,i){if(Tv&&!(t<=e)){for(var a=[],o=0;o<n.length;o++){var s=n[o].value;a.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`error`,track:H,trackGroup:V,tooltipText:r?`Remaining Effects Errored`:`Commit Errored`,properties:a}}},i?i.run(performance.measure.bind(performance,`Errored`,e)):performance.measure(`Errored`,e),performance.clearMeasures(`Errored`)}}function Or(e,t,n,r,i){n===null?!Tv||t<=e||(i?i.run(console.timeStamp.bind(console,r?`Commit Interrupted View Transition`:`Commit`,e,t,H,V,r?`error`:`secondary-dark`)):console.timeStamp(r?`Commit Interrupted View Transition`:`Commit`,e,t,H,V,r?`error`:`secondary-dark`)):Dr(e,t,n,!1,i)}function kr(e,t,n){!Tv||t<=e||(n?n.run(console.timeStamp.bind(console,`Animating`,e,t,H,V,`secondary-dark`)):console.timeStamp(`Animating`,e,t,H,V,`secondary-dark`))}function Ar(){for(var e=Iv,t=Lv=Iv=0;t<e;){var n=Fv[t];Fv[t++]=null;var r=Fv[t];Fv[t++]=null;var i=Fv[t];Fv[t++]=null;var a=Fv[t];if(Fv[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&&Pr(n,i,a)}}function jr(e,t,n,r){Fv[Iv++]=e,Fv[Iv++]=t,Fv[Iv++]=n,Fv[Iv++]=r,Lv|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Mr(e,t,n,r){return jr(e,t,n,r),Fr(e)}function Nr(e,t){return jr(e,null,null,t),Fr(e)}function Pr(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&Nv||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ih(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Fr(e){if(vw>_w)throw Cw=vw=0,ww=yw=null,Error(`Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.`);Cw>Sw&&(Cw=0,ww=null,console.error(`Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.`)),e.alternate===null&&e.flags&4098&&Zu(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&t.flags&4098&&Zu(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Ir(e){if(zv===null)return e;var t=zv(e);return t===void 0?e:t.current}function Lr(e,t){if(zv===null)return!1;var n=zv,r=e.elementType;t=t.type;var i=!1,a=typeof t==`object`&&t?t.$$typeof:null;switch(e.tag){case 1:typeof t==`function`&&(i=!0);break;case 0:(typeof t==`function`||a===Vm)&&(i=!0);break;case 11:(a===Lm||a===Vm)&&(i=!0);break;case 14:case 15:(a===Bm||a===Vm)&&(i=!0);break;default:return!1}return!!(i&&(e=n(r),e!==void 0&&e===n(t)))}function Rr(e){zv!==null&&typeof WeakSet==`function`&&(Bv===null&&(Bv=new WeakSet),Bv.add(e))}function zr(e,t,n){do{var r=e,i=r.alternate,a=r.child,o=r.sibling,s=r.tag,c=r.type,l=r.elementType,u=null;switch(r=null,s){case 0:case 1:u=c;break;case 15:u=c,r=l;break;case 14:r=l;break;case 11:u=c.render,r=l}if(zv===null)throw Error(`Expected resolveFamily to be set during hot reload.`);var d=zv;if(c=l=!1,u!==null&&(u=d(u),u!==void 0&&(n.has(u)?c=!0:t.has(u)&&(s===1?c=!0:l=!0))),c||r===null||(s=d(r),s!==void 0&&n.has(s)?c=!0:typeof r==`object`&&r.$$typeof===Vm&&(s=r._payload,s._status===1&&(s=d(s._result.default),s!==void 0&&n.has(s)&&(c=!0)))),Bv!==null&&(Bv.has(e)||i!==null&&Bv.has(i))&&(c=!0),c&&(e._debugNeedsRemount=!0),(c||l)&&(i=Nr(e,2),i!==null&&ru(i,e,2)),a===null||c||zr(a,t,n),o===null)break;e=o}while(1)}function Br(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,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Gv||typeof Object.preventExtensions!=`function`||Object.preventExtensions(this)}function Vr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hr(e,t){var n=e.alternate;switch(n===null?(n=p(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&1206910976,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,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:case 14:case 1:case 11:n.type=Ir(e.type)}return n}function Ur(e,t){e.flags&=1206910978;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.selfBaseDuration=0,e.treeBaseDuration=0):(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,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Wr(e,t,n,r,i,a){var o=0,s=Ir(e);if(typeof s==`function`)Vr(s)&&(o=1);else if(typeof s==`string`)o=be(),o=Lp(e,n,o)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(s){case Hm:return t=p(31,n,t,i),t.elementType=Hm,t.lanes=a,t;case Mm:return Kr(n.children,i,a,t);case Nm:o=8,i|=Hv,i|=Uv;break;case Pm:return e=n,r=i,typeof e.id!=`string`&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=p(12,e,t,r|W),t.elementType=Pm,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Rm:return t=p(13,n,t,i),t.elementType=Rm,t.lanes=a,t;case zm:return t=p(19,n,t,i),t.elementType=zm,t.lanes=a,t;case Um:case Gm:return e=i|Wv,t=p(30,n,t,e),t.elementType=Gm,t.lanes=a,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof s==`object`&&s)switch(s.$$typeof){case Im:o=10;break a;case Fm:o=9;break a;case Lm:o=11;break a;case Bm:o=14;break a;case Vm:o=16,s=null;break a}n=``,(e===void 0||typeof e==`object`&&e&&Object.keys(e).length===0)&&(n+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),e===null?s=`null`:Ym(e)?s=`array`:e!==void 0&&e.$$typeof===Am?(s=`<`+(C(e.type)||`Unknown`)+` />`,n=` Did you accidentally export a JSX literal instead of a component?`):s=typeof e,(o=r?pe(r):null)&&(n+=`
65
+
66
+ Check the render method of \``+o+"`."),o=29,n=Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+(s+`.`+n)),s=null}return t=p(o,n,t,i),t.elementType=e,t.type=s,t.lanes=a,t._debugOwner=r,t}function Gr(e,t,n){return t=Wr(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Kr(e,t,n,r){return e=p(7,e,r,t),e.lanes=n,e}function qr(e,t,n){return e=p(6,e,null,t),e.lanes=n,e}function Jr(e){var t=p(18,null,null,U);return t.stateNode=e,t}function Yr(e,t,n){return t=p(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xr(e,t){if(typeof e==`object`&&e){var n=Kv.get(e);return n===void 0?(t={value:e,source:t,stack:Ae(t)},Kv.set(e,t),t):n}return{value:e,source:t,stack:Ae(t)}}function Zr(e,t){ni(),qv[Jv++]=Xv,qv[Jv++]=Yv,Yv=e,Xv=t}function Qr(e,t,n){ni(),Zv[Qv++]=ey,Zv[Qv++]=ty,Zv[Qv++]=$v,$v=e;var r=ey;e=ty;var i=32-Ih(r)-1;r&=~(1<<i),n+=1;var a=32-Ih(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ey=1<<32-Ih(t)+i|n<<i|r,ty=a+e}else ey=1<<a|n<<i|r,ty=e}function $r(e){ni(),e.return!==null&&(Zr(e,1),Qr(e,1,0))}function ei(e){for(;e===Yv;)Yv=qv[--Jv],qv[Jv]=null,Xv=qv[--Jv],qv[Jv]=null;for(;e===$v;)$v=Zv[--Qv],Zv[Qv]=null,ty=Zv[--Qv],Zv[Qv]=null,ey=Zv[--Qv],Zv[Qv]=null}function O(){return ni(),$v===null?null:{id:ey,overflow:ty}}function ti(e,t){ni(),Zv[Qv++]=ey,Zv[Qv++]=ty,Zv[Qv++]=$v,ey=t.id,ty=t.overflow,$v=e}function ni(){G||console.error(`Expected to be hydrating. This is a bug in React. Please file an issue.`)}function ri(e,t){if(e.return===null){if(ay===null)ay={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ay.fiber!==e)throw Error(`Saw multiple hydration diff roots in a pass. This is a bug in React.`);ay.distanceFromLeaf>t&&(ay.distanceFromLeaf=t)}return ay}var n=ri(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function ii(){G&&console.error(`We should not be hydrating here. This is a bug in React. Please file a bug.`)}function ai(e,t){iy||(e=ri(e,0),e.serverProps=null,t!==null&&(t=cp(t),e.serverTail.push(t)))}function oi(e){var t=1<arguments.length&&arguments[1]!==void 0&&arguments[1],n=``,r=ay;throw r!==null&&(ay=null,n=rn(r)),fi(Xr(Error(`Hydration failed because the server rendered `+(t?`text`:`HTML`)+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
67
+
68
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
69
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
70
+ - Date formatting in a user's locale which doesn't match the server.
71
+ - External changing data without sending a snapshot of it along with the HTML.
72
+ - Invalid HTML tag nesting.
73
+
74
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
75
+
76
+ https://react.dev/link/hydration-mismatch`+n),e)),cy}function si(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[qh]=e,t[Jh]=r,wd(n,r),n){case`dialog`:hd(`cancel`,t),hd(`close`,t);break;case`iframe`:case`object`:case`embed`:hd(`load`,t);break;case`video`:case`audio`:for(n=0;n<zw.length;n++)hd(zw[n],t);break;case`source`:hd(`error`,t);break;case`img`:case`image`:case`link`:hd(`error`,t),hd(`load`,t);break;case`details`:hd(`toggle`,t);break;case`input`:vt(`input`,r),hd(`invalid`,t),jt(t,r),Nt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`option`:Ft(t,r);break;case`select`:vt(`select`,r),hd(`invalid`,t),Rt(t,r);break;case`textarea`:vt(`textarea`,r),hd(`invalid`,t),Bt(t,r),Ut(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||Md(t.textContent,n)?(r.popover!=null&&(hd(`beforetoggle`,t),hd(`toggle`,t)),r.onScroll!=null&&hd(`scroll`,t),r.onScrollEnd!=null&&hd(`scrollend`,t),r.onClick!=null&&(t.onclick=Cn),t=!0):t=!1,t||oi(e,!0)}function ci(e){for(ny=e.return;ny;)switch(ny.tag){case 5:case 31:case 13:sy=!1;return;case 27:case 3:sy=!0;return;default:ny=ny.return}}function li(e){if(e!==ny)return!1;if(!G)return ci(e),G=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||ef(e.type,e.memoizedProps)),n=!n),n&&ry){for(n=ry;n;){var r=ri(e,0),i=cp(n);r.serverTail.push(i),n=i.type===`Suspense`?up(n):sp(n.nextSibling)}oi(e)}if(ci(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);ry=up(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);ry=up(e)}else t===27?(t=ry,ff(e.type)?(e=FT,FT=null,ry=e):ry=t):ry=ny?sp(e.stateNode.nextSibling):null;return!0}function ui(){ry=ny=null,iy=G=!1}function di(){var e=oy;return e!==null&&(LC===null?LC=e:LC.push.apply(LC,e),oy=null),e}function fi(e){oy===null?oy=[e]:oy.push(e)}function pi(){var e=ay;if(e!==null){ay=null;for(var t=rn(e);0<e.children.length;)e=e.children[0];T(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
77
+
78
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
79
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
80
+ - Date formatting in a user's locale which doesn't match the server.
81
+ - External changing data without sending a snapshot of it along with the HTML.
82
+ - Invalid HTML tag nesting.
83
+
84
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
85
+
86
+ %s%s`,`https://react.dev/link/hydration-mismatch`,t)})}}function mi(){py=fy=null,my=!1}function hi(e,t,n){ge(ly,t._currentValue,e),t._currentValue=n,ge(uy,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==dy&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),t._currentRenderer=dy}function gi(e,t){e._currentValue=ly.current;var n=uy.current;he(uy,t),e._currentRenderer=n,he(ly,t)}function k(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}e!==n&&console.error(`Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.`)}function _i(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;a:for(;a!==null;){var s=a;a=i;for(var c=0;c<t.length;c++)if(s.context===t[c]){a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),k(a.return,n,e),r||(o=null);break a}a=s.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(`We just came from a parent so we must have had a parent. This is a bug in React.`);o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),k(o,n,e),o=null}else i.tag===13&&i.memoizedState!==null&&i.memoizedState.dehydrated===null?(i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),k(i.return,n,e),o=i.child,o=o===null?null:o.sibling):o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function vi(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(`Should have a current fiber. This is a bug in React.`);if(o=o.memoizedProps,o!==null){var s=i.type;q_(i.pendingProps.value,o.value)||(e===null?e=[s]:e.push(s))}}else if(i===ih.current){if(o=i.alternate,o===null)throw Error(`Should have a current fiber. This is a bug in React.`);o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[$T]:e.push($T))}i=i.return}return e!==null&&_i(t,e,n,r),t.flags|=262144,e!==null}function A(e){for(e=e.firstContext;e!==null;){if(!q_(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function yi(e){fy=e,py=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function bi(e){return my&&console.error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`),Si(fy,e)}function xi(e,t){return fy===null&&yi(e),Si(e,t)}function Si(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},py===null){if(e===null)throw Error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`);py=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else py=py.next=t;return n}function Ci(){return{controller:new hy,data:new Map,refCount:0}}function wi(e){e.controller.signal.aborted&&console.warn(`A cache instance was retained after it was already freed. This likely indicates a bug in React.`),e.refCount++}function Ti(e){e.refCount--,0>e.refCount&&console.warn(`A cache instance was released after it was already freed. This likely indicates a bug in React.`),e.refCount===0&&gy(_y,function(){e.controller.abort()})}function Ei(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}function Di(e){var t=e.transitionTypes;return e.transitionTypes=null,t}function Oi(e,t,n){e&127?0>Py&&(Py=by(),Fy=xy(t),Ly=t,n!=null&&(Ry=w(n)),(fC&(rC|iC))!==nC&&(My=!0,Iy=Sy),e=rf(),t=nf(),e!==Vy||t!==By?Vy=-1.1:t!==null&&(Iy=Sy),zy=e,By=t):e&4194048&&0>Gy&&(Gy=by(),qy=xy(t),Jy=t,n!=null&&(Yy=w(n)),0>Wy)&&(e=rf(),t=nf(),(e!==Qy||t!==Zy)&&(Qy=-1.1),Xy=e,Zy=t)}function ki(e){if(0>Py){Py=by(),Fy=e._debugTask==null?null:e._debugTask,(fC&(rC|iC))!==nC&&(Iy=Sy);var t=rf(),n=nf();t!==Vy||n!==By?Vy=-1.1:n!==null&&(Iy=Sy),zy=t,By=n}0>Gy&&(Gy=by(),qy=e._debugTask==null?null:e._debugTask,0>Wy)&&(e=rf(),t=nf(),(e!==Qy||t!==Zy)&&(Qy=-1.1),Xy=e,Zy=t)}function Ai(){var e=ky;return ky=0,e}function ji(e){var t=ky;return ky=e,t}function Mi(e){var t=ky;return ky+=e,t}function Ni(){q=K=-1.1}function Pi(){var e=K;return K=-1.1,e}function Fi(e){0<=e&&(K=e)}function Ii(){var e=Ay;return Ay=-0,e}function Li(e){0<=e&&(Ay=e)}function Ri(){var e=jy;return jy=null,e}function zi(){var e=My;return My=!1,e}function Bi(e){Oy=by(),0>e.actualStartTime&&(e.actualStartTime=Oy)}function Vi(e){if(0<=Oy){var t=by()-Oy;e.actualDuration+=t,e.selfBaseDuration=t,Oy=-1}}function Hi(e){if(0<=Oy){var t=by()-Oy;e.actualDuration+=t,Oy=-1}}function Ui(){if(0<=Oy){var e=by(),t=e-Oy;Oy=-1,ky+=t,Ay+=t,q=e}}function Wi(e){jy===null&&(jy=[]),jy.push(e),Dy===null&&(Dy=[]),Dy.push(e)}function Gi(){Oy=by(),0>K&&(K=Oy)}function Ki(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function qi(e,t){if(cb===null){var n=cb=[];lb=0,ub=ud(),db={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return lb++,t.then(Ji,Ji),t}function Ji(){if(--lb===0&&(-1<Gy||(Wy=-1.1),yy=null,cb!==null)){db!==null&&(db.status=`fulfilled`);var e=cb;cb=null,ub=0,db=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Yi(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}function Xi(){var e=pb.current;return e===null?pC.pooledCache:e}function Zi(e,t){t===null?ge(pb,pb.current,e):ge(pb,t.pool,e)}function Qi(){var e=Xi();return e===null?null:{parent:vy._currentValue,pool:e}}function $i(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function ea(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ta(e,t,n,r){L.actQueue!==null&&(L.didUsePromise=!0);var i=e.thenables;if(n=i[n],n===void 0?i.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error(`A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.`)),t.then(Cn,Cn),t=n),t._debugInfo===void 0){e=performance.now(),i=t.displayName;var a={name:typeof i==`string`?i:`Promise`,start:e,end:e,value:t};t._debugInfo=[{awaited:a}],t.status!==`fulfilled`&&t.status!==`rejected`&&(e=function(){a.end=performance.now()},t.then(e,e))}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw r=t.reason,ia(r),r===void 0&&!(`reason`in t)?Error("A rejected Promise was passed to React without a `reason` property. React threw a generic error from where the Promise was used to assist in identifying the problematic Promise. Make sure that instrumented Promises correctly set the `reason` property when setting `status` to `'rejected'`."):r;default:if(typeof t.status==`string`)t.then(Cn,Cn);else{if(e=pC,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");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 r=t.reason,ia(r),r}throw Xb=t,Zb=!0,Yb||r===null||r.alternate!==null||(qb=r,Jb=Error(`This library called use() to suspend in a previous render but did not call use() when it finished. This indicates an incorrect use of use(). Learn more: https://react.dev/warnings/conditional-use-of-use`)),Ub}}function na(e){try{return Hb(e)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Xb=e,Zb=!0,Ub):e}}function ra(){if(Xb===null)throw Error(`Expected a suspended thenable. This is a bug in React. Please file an issue.`);var e=Xb;return Xb=null,Zb=!1,e}function ia(e){if(e===Ub||e===Gb)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function aa(e,t){return e===t?!0:e.tag!==t.tag||e.type!==t.type||e.key!==t.key||e.index!==t.index||e.tag===3&&e.stateNode!==t.stateNode||e.return===null||t.return===null?!1:aa(e.return,t.return)}function oa(e){var t=J;return e!=null&&(J=t===null?e:t.concat(e)),t}function sa(){var e=J;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function ca(e,t,n){for(var r=Object.keys(e.props),i=0;i<r.length;i++){var a=r[i];if(a!==`children`&&a!==`key`&&a!==`ref`){t===null&&(t=Gr(e,n.mode,0),t._debugInfo=J,t.return=n),T(t,function(e){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key`, `ref`, and `children` props.",e)},a);break}}}function la(e){var t=$b;return $b+=1,Qb===null&&(Qb=$i()),ta(Qb,e,t,null)}function ua(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function da(e,t){throw t.$$typeof===km?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
87
+ - Multiple copies of the "react" package is used.
88
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
89
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error(`Objects are not valid as a React child (found: `+(e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)+`). If you meant to render a collection of children, use an array instead.`))}function fa(e,t){var n=sa();n===null?da(e,t):n.run(da.bind(null,e,t))}function pa(e,t){var n=w(e)||`Component`;rx[n]||(rx[n]=!0,t=t.displayName||t.name||`Component`,e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
90
+ root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
91
+ <%s>{%s}</%s>`,t,t,n,t,n))}function ma(e,t){var n=sa();n===null?pa(e,t):n.run(pa.bind(null,e,t))}function ha(e,t){var n=w(e)||`Component`;ix[n]||(ix[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
92
+ root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
93
+ <%s>%s</%s>`,n,t,n))}function ga(e,t){var n=sa();n===null?ha(e,t):n.run(ha.bind(null,e,t))}function _a(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=Hr(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=134217730,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function o(t){return e&&t.alternate===null&&(t.flags|=134217730),t}function s(e,t,n,r){return t===null||t.tag!==6?(t=qr(n,e.mode,r),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=J,t):(t=i(t,n),t.return=e,t._debugInfo=J,t)}function c(e,t,n,r){var a=n.type;return a===Mm?(t=u(e,t,n.props.children,r,n.key),ua(t,n),ca(n,t,e),t):t!==null&&(t.elementType===a||Lr(t,n)||typeof a==`object`&&a&&a.$$typeof===Vm&&na(a)===t.type)?(t=i(t,n.props),ua(t,n),t.return=e,t._debugOwner=n._owner,t._debugInfo=J,t):(t=Gr(n,e.mode,r),ua(t,n),t.return=e,t._debugInfo=J,t)}function l(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Yr(n,e.mode,r),t.return=e,t._debugInfo=J,t):(t=i(t,n.children||[]),t.return=e,t._debugInfo=J,t)}function u(e,t,n,r,a){return t===null||t.tag!==7?(t=Kr(n,e.mode,r,a),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=J,t):(t=i(t,n),t.return=e,t._debugInfo=J,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=qr(``+t,e.mode,n),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=J,t;if(typeof t==`object`&&t){switch(t.$$typeof){case Am:return n=Gr(t,e.mode,n),ua(n,t),n.return=e,e=oa(t._debugInfo),n._debugInfo=J,J=e,n;case jm:return t=Yr(t,e.mode,n),t.return=e,t._debugInfo=J,t;case Vm:var r=oa(t._debugInfo);return t=na(t),e=f(e,t,n),J=r,e}if(Ym(t)||fe(t))return n=Kr(t,e.mode,n,null),n.return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=oa(t._debugInfo),n._debugInfo=J,J=e,n;if(typeof t.then==`function`)return r=oa(t._debugInfo),e=f(e,la(t),n),J=r,e;if(t.$$typeof===Im)return f(e,xi(e,t),n);fa(e,t)}return typeof t==`function`&&ma(e,t),typeof t==`symbol`&&ga(e,t),null}function m(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?s(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case Am:return n.key===i?(i=oa(n._debugInfo),e=c(e,t,n,r),J=i,e):null;case jm:return n.key===i?l(e,t,n,r):null;case Vm:return i=oa(n._debugInfo),n=na(n),e=m(e,t,n,r),J=i,e}if(Ym(n)||fe(n))return i===null?(i=oa(n._debugInfo),e=u(e,t,n,r,null),J=i,e):null;if(typeof n.then==`function`)return i=oa(n._debugInfo),e=m(e,t,la(n),r),J=i,e;if(n.$$typeof===Im)return m(e,t,xi(e,n),r);fa(e,n)}return typeof n==`function`&&ma(e,n),typeof n==`symbol`&&ga(e,n),null}function h(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,s(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case Am:return n=e.get(r.key===null?n:r.key)||null,e=oa(r._debugInfo),t=c(t,n,r,i),J=e,t;case jm:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case Vm:var a=oa(r._debugInfo);return r=na(r),t=h(e,t,n,r,i),J=a,t}if(Ym(r)||fe(r))return n=e.get(n)||null,e=oa(r._debugInfo),t=u(t,n,r,i,null),J=e,t;if(typeof r.then==`function`)return a=oa(r._debugInfo),t=h(e,t,n,la(r),i),J=a,t;if(r.$$typeof===Im)return h(e,t,n,xi(t,r),i);fa(t,r)}return typeof r==`function`&&ma(t,r),typeof r==`symbol`&&ga(t,r),null}function g(e,t,n,r){if(typeof n!=`object`||!n)return r;switch(n.$$typeof){case Am:case jm:d(e,t,n);var i=n.key;if(typeof i!=`string`)break;if(r===null){r=new Set,r.add(i);break}if(!r.has(i)){r.add(i);break}T(t,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",i)});break;case Vm:n=na(n),g(e,t,n,r)}return r}function _(i,o,s,c){for(var l=null,u=null,d=null,p=o,_=o=0,v=null;p!==null&&_<s.length;_++){p.index>_?(v=p,p=null):v=p.sibling;var y=m(i,p,s[_],c);if(y===null){p===null&&(p=v);break}l=g(i,y,s[_],l),e&&p&&y.alternate===null&&t(i,p),o=a(y,o,_),d===null?u=y:d.sibling=y,d=y,p=v}if(_===s.length)return n(i,p),G&&Zr(i,_),u;if(p===null){for(;_<s.length;_++)p=f(i,s[_],c),p!==null&&(l=g(i,p,s[_],l),o=a(p,o,_),d===null?u=p:d.sibling=p,d=p);return G&&Zr(i,_),u}for(p=r(p);_<s.length;_++)v=h(p,i,_,s[_],c),v!==null&&(l=g(i,v,s[_],l),e&&(y=v.alternate,y!==null&&p.delete(y.key===null?_:y.key)),o=a(v,o,_),d===null?u=v:d.sibling=v,d=v);return e&&p.forEach(function(e){return t(i,e)}),G&&Zr(i,_),u}function v(i,o,s,c){if(s==null)throw Error(`An iterable object provided no iterator.`);for(var l=null,u=null,d=o,p=o=0,_=null,v=null,y=s.next();d!==null&&!y.done;p++,y=s.next()){d.index>p?(_=d,d=null):_=d.sibling;var b=m(i,d,y.value,c);if(b===null){d===null&&(d=_);break}v=g(i,b,y.value,v),e&&d&&b.alternate===null&&t(i,d),o=a(b,o,p),u===null?l=b:u.sibling=b,u=b,d=_}if(y.done)return n(i,d),G&&Zr(i,p),l;if(d===null){for(;!y.done;p++,y=s.next())d=f(i,y.value,c),d!==null&&(v=g(i,d,y.value,v),o=a(d,o,p),u===null?l=d:u.sibling=d,u=d);return G&&Zr(i,p),l}for(d=r(d);!y.done;p++,y=s.next())_=h(d,i,p,y.value,c),_!==null&&(v=g(i,_,y.value,v),e&&(y=_.alternate,y!==null&&d.delete(y.key===null?p:y.key)),o=a(_,o,p),u===null?l=_:u.sibling=_,u=_);return e&&d.forEach(function(e){return t(i,e)}),G&&Zr(i,p),l}function y(e,r,a,s){if(typeof a==`object`&&a&&a.type===Mm&&a.key===null&&a.props.ref===void 0&&(ca(a,null,e),a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case Am:var c=oa(a._debugInfo);a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===Mm){if(r.tag===7){n(e,r.sibling),s=i(r,a.props.children),ua(s,a),s.return=e,s._debugOwner=a._owner,s._debugInfo=J,ca(a,s,e),e=s;break a}}else if(r.elementType===l||Lr(r,a)||typeof l==`object`&&l&&l.$$typeof===Vm&&na(l)===r.type){n(e,r.sibling),s=i(r,a.props),ua(s,a),s.return=e,s._debugOwner=a._owner,s._debugInfo=J,e=s;break a}n(e,r);break}t(e,r),r=r.sibling}a.type===Mm?(s=Kr(a.props.children,e.mode,s,a.key),ua(s,a),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=J,ca(a,s,e),e=s):(s=Gr(a,e.mode,s),ua(s,a),s.return=e,s._debugInfo=J,e=s)}return e=o(e),J=c,e;case jm:a:{for(c=a,a=c.key;r!==null;){if(r.key===a){if(r.tag===4&&r.stateNode.containerInfo===c.containerInfo&&r.stateNode.implementation===c.implementation){n(e,r.sibling),s=i(r,c.children||[]),s.return=e,e=s;break a}n(e,r);break}t(e,r),r=r.sibling}s=Yr(c,e.mode,s),s.return=e,e=s}return o(e);case Vm:return c=oa(a._debugInfo),a=na(a),e=y(e,r,a,s),J=c,e}if(Ym(a))return _(e,r,a,s);if(fe(a)){if(c=a,a=fe(c),typeof a!=`function`)throw Error(`An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.`);return l=a.call(c),l===c?(e.tag!==0||Object.prototype.toString.call(e.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(l)!==`[object Generator]`)&&(tx||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),tx=!0):c.entries!==a||ex||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),ex=!0),v(e,r,l,s)}if(typeof a.then==`function`)return c=oa(a._debugInfo),e=y(e,r,la(a),s),J=c,e;if(a.$$typeof===Im)return y(e,r,xi(e,a),s);fa(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(c=``+a,r!==null&&r.tag===6?(n(e,r.sibling),s=i(r,c),s.return=e,e=s):(n(e,r),s=qr(c,e.mode,s),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=J,e=s),o(e)):(typeof a==`function`&&ma(e,a),typeof a==`symbol`&&ga(e,a),n(e,r))}return function(e,t,n,r){var i=J;J=null;try{$b=0;var a=y(e,t,n,r);return Qb=null,a}catch(t){if(t===Ub||t===Gb)throw t;var o=p(29,t,null,e.mode);o.lanes=r,o.return=e;var s=o._debugInfo=J;if(o._debugOwner=e._debugOwner,o._debugTask=e._debugTask,s!=null){for(var c=s.length-1;0<=c;c--)if(typeof s[c].stack==`string`){o._debugOwner=s[c],o._debugTask=s[c].debugTask;break}}return o}finally{J=i}}}function va(e,t){var n=Ym(e);return e=!n&&typeof fe(e)==`function`,n||e?(n=n?`array`:`iterable`,console.error(`A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>`,n,t,n),!1):!0}function ya(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ba(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 xa(e){return{lane:e,tag:sx,payload:null,callback:null,next:null}}function Sa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,px===r&&!fx){var i=w(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
94
+
95
+ Please update the following component: %s`,i),fx=!0}return(fC&rC)===nC?(jr(e,r,t,n),Fr(e)):(i=r.pending,i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Fr(e),Pr(e,null,n),t)}function Ca(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,tt(e,n)}}function wa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ta(){if(mx){var e=db;if(e!==null)throw e}}function Ea(e,t,n,r){mx=!1;var i=e.updateQueue;dx=!1,px=i.shared;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?($&f)===f:(r&f)===f){f!==0&&f===ub&&(mx=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{f=e;var m=s,h=t,g=n;switch(m.tag){case cx:if(m=m.payload,typeof m==`function`){my=!0;var _=m.call(g,d,h);if(f.mode&Hv){Ue(!0);try{m.call(g,d,h)}finally{Ue(!1)}}my=!1,d=_;break a}d=m;break a;case ux:f.flags=f.flags&-65537|128;case sx:if(_=m.payload,typeof _==`function`){if(my=!0,m=_.call(g,d,h),f.mode&Hv){Ue(!0);try{_.call(g,d,h)}finally{Ue(!1)}}my=!1}else m=_;if(m==null)break a;d=I({},d,m);break a;case lx:dx=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),jC|=o,e.lanes=o,e.memoizedState=d}px=null}function Da(e,t){if(typeof e!=`function`)throw Error(`Invalid argument passed as callback. Expected a function. Instead received: `+e);e.call(t)}function Oa(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Da(n[e],t)}function ka(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Da(n[e],t)}function Aa(e,t){var n=kC;ge(gx,n,e),ge(hx,t,e),kC=n|t.baseLanes}function ja(e){ge(gx,kC,e),ge(hx,hx.current,e)}function Ma(e){kC=gx.current,he(hx,e),he(gx,e)}function Na(e){var t=e.alternate;ge(xx,xx.current&yx,e),ge(_x,e,e),vx===null&&(t===null||hx.current!==null||t.memoizedState!==null)&&(vx=e)}function Pa(e){ge(xx,xx.current,e),ge(_x,e,e),vx===null&&(vx=e)}function Fa(e){e.tag===22?(ge(xx,xx.current,e),ge(_x,e,e),vx===null&&(vx=e)):Ia(e)}function Ia(e){ge(xx,xx.current,e),ge(_x,_x.current,e)}function La(e){he(_x,e),vx===e&&(vx=null),he(xx,e)}function Ra(e,t){ge(_x,_x.current,e),ge(xx,t,e)}function za(e){he(xx,e),he(_x,e),vx===e&&(vx=null)}function Ba(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ip(n)||ap(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function j(){var e=Z;Hx===null?Hx=[e]:Hx.push(e)}function M(){var e=Z;if(Hx!==null&&(Ux++,Hx[Ux]!==e)){var t=w(X);if(!Ox.has(t)&&(Ox.add(t),Hx!==null)){for(var n=``,r=0;r<=Ux;r++){var i=Hx[r],a=r===Ux?e:i;for(i=r+1+`. `+i;30>i.length;)i+=` `;i+=a+`
96
+ `,n+=i}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
97
+
98
+ Previous render Next render
99
+ ------------------------------------------------------
100
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101
+ `,t,n)}}}function N(e){e==null||Ym(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Z,typeof e)}function Va(){var e=w(X);jx.has(e)||(jx.add(e),console.error(`ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.`,e))}function Ha(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
102
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
103
+ 2. You might be breaking the Rules of Hooks
104
+ 3. You might have more than one copy of React in the same app
105
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Ua(e,t){if(Wx)return!1;if(t===null)return console.error(`%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`,Z),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
106
+
107
+ Previous: %s
108
+ Incoming: %s`,Z,`[`+t.join(`, `)+`]`,`[`+e.join(`, `)+`]`);for(var n=0;n<t.length&&n<e.length;n++)if(!q_(e[n],t[n]))return!1;return!0}function Wa(e,t,n,r,i,a){Y=a,X=t,Hx=e===null?null:e._debugHookTypes,Ux=-1,Wx=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)===`[object AsyncFunction]`||Object.prototype.toString.call(n)===`[object AsyncGeneratorFunction]`)&&(a=w(X),Ax.has(a)||(Ax.add(a),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",a===null?`An unknown Component`:`<`+a+`>`))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e!==null&&e.memoizedState!==null?Jx:Hx===null?Kx:qx,Ix=a=(t.mode&Hv)!==U;var o=Eb(n,r,i);if(Ix=!1,Fx&&(o=Ka(t,n,r,i)),a){Ue(!0);try{o=Ka(t,n,r,i)}finally{Ue(!1)}}return Ga(e,t),o}function Ga(e,t){t._debugHookTypes=Hx,t.dependencies===null?zx!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:zx}):t.dependencies._debugThenableState=zx;var n=zx;if(qb!==null&&aa(qb,t)&&(n!==null||Jb===null||Yb||(Yb=!0,console.error(Jb)),Jb=qb=null),L.H=Gx,n=Mx!==null&&Mx.next!==null,Y=0,Hx=Z=Nx=Mx=X=null,Ux=-1,e!==null&&(e.flags&1206910976)!=(t.flags&1206910976)&&console.error(`Internal React error: Expected static flag was missing. Please notify the React team.`),Px=!1,Rx=0,zx=null,n)throw Error(`Rendered fewer hooks than expected. This may be caused by an accidental early return statement.`);e===null||mS||(e=e.dependencies,e!==null&&A(e)&&(mS=!0)),Zb?(Zb=!1,e=!0):e=!1,e&&(t=w(t)||`Unknown`,kx.has(t)||Ax.has(t)||(kx.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Ka(e,t,n,r){X=e;var i=0;do{if(Fx&&(zx=null),Rx=0,Fx=!1,i>=Vx)throw Error(`Too many re-renders. React limits the number of renders to prevent an infinite loop.`);if(i+=1,Wx=!1,Nx=Mx=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Ux=-1,L.H=Yx,a=Eb(t,n,r)}while(Fx);return a}function qa(){var e=L.H,t=e.useState()[0];return t=typeof t.then==`function`?eo(t):t,e=e.useState()[0],(Mx===null?null:Mx.memoizedState)!==e&&(X.flags|=1024),t}function Ja(){var e=Lx!==0;return Lx=0,e}function Ya(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Uv)===U?t.flags&-2053:t.flags&-805308421,e.lanes&=~n}function Xa(e){if(Px){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Px=!1}Y=0,Hx=Nx=Mx=X=null,Ux=-1,Z=null,Fx=!1,Rx=Lx=0,zx=null}function Za(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nx===null?X.memoizedState=Nx=e:Nx=Nx.next=e,Nx}function Qa(){if(Mx===null){var e=X.alternate;e=e===null?null:e.memoizedState}else e=Mx.next;var t=Nx===null?X.memoizedState:Nx.next;if(t!==null)Nx=t,Mx=e;else{if(e===null)throw X.alternate===null?Error(`Update hook called on initial render. This is likely a bug in React. Please file an issue.`):Error(`Rendered more hooks than during the previous render.`);Mx=e,e={memoizedState:Mx.memoizedState,baseState:Mx.baseState,baseQueue:Mx.baseQueue,queue:Mx.queue,next:null},Nx===null?X.memoizedState=Nx=e:Nx=Nx.next=e}return Nx}function $a(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function eo(e){var t=Rx;return Rx+=1,zx===null&&(zx=$i()),e=ta(zx,e,t,X),t=X,(Nx===null?t.memoizedState:Nx.next)===null&&(t=t.alternate,L.H=t!==null&&t.memoizedState!==null?Jx:Kx),e}function to(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return eo(e);if(e.$$typeof===Km)return;if(e.$$typeof===Im)return bi(e)}throw Error(`An unsupported type was passed to use(): `+String(e))}function no(e){var t=null,n=X.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=X.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=$a(),X.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Wx)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=Wm;else n.length!==e&&console.error(`Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.`,n.length,e);return t.index++,n}function P(e,t){return typeof t==`function`?t(e):t}function ro(e,t,n){var r=Za();if(n!==void 0){var i=n(t);if(Ix){Ue(!0);try{n(t)}finally{Ue(!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=ds.bind(null,X,e),[r.memoizedState,e]}function F(e){return io(Qa(),Mx,e)}function io(e,t,n){var r=e.queue;if(r===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue!==i&&console.error(`Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.`),t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var s=o=null,c=null,l=t,u=!1;do{var d=l.lane&-536870913;if(d===l.lane?(Y&d)===d:($&d)===d){var f=l.revertLane;if(f===0)c!==null&&(c=c.next={lane:0,revertLane:0,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d===ub&&(u=!0);else if((Y&f)===f){l=l.next,f===ub&&(u=!0);continue}else d={lane:0,revertLane:l.revertLane,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=d,o=a):c=c.next=d,X.lanes|=f,jC|=f;d=l.action,Ix&&n(a,d),a=l.hasEagerState?l.eagerState:n(a,d)}else f={lane:d,revertLane:l.revertLane,gesture:l.gesture,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=f,o=a):c=c.next=f,X.lanes|=d,jC|=d;l=l.next}while(l!==null&&l!==t);if(c===null?o=a:c.next=s,!q_(a,e.memoizedState)&&(mS=!0,u&&(n=db,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=c,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function ao(e){var t=Qa(),n=t.queue;if(n===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);q_(a,t.memoizedState)||(mS=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function oo(e,t,n){var r=X,i=Za();if(G){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);var a=n();Dx||a===n()||(console.error(`The result of getServerSnapshot should be cached to avoid an infinite loop`),Dx=!0)}else{if(a=t(),Dx||(n=t(),q_(a,n)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),Dx=!0)),pC===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);$&127||co(r,t,a)}return i.memoizedState=a,n={value:a,getSnapshot:t},i.queue=n,Io(uo.bind(null,r,n,e),[e]),r.flags|=2048,Mo(Cx|Ex,{destroy:void 0},lo.bind(null,r,n,a,t),null),a}function so(e,t,n){var r=X,i=Qa(),a=G;if(a){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);n=n()}else if(n=t(),!Dx){var o=t();q_(n,o)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),Dx=!0)}if((o=!q_((Mx||i).memoizedState,n))&&(i.memoizedState=n,mS=!0),i=i.queue,Fo(2048,Ex,uo.bind(null,r,i,e),[e]),e=i.getSnapshot!==t||o||Nx!==null&&(Nx.memoizedState.tag&Cx)!==Sx,Mo(e?Cx|Ex:Ex,{destroy:void 0},lo.bind(null,r,i,n,t),null),e){if(r.flags|=2048,pC===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);a||Y&127||co(r,t,n)}return n}function co(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=X.updateQueue,t===null?(t=$a(),X.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function lo(e,t,n,r){t.value=n,t.getSnapshot=r,fo(t)&&po(e)}function uo(e,t,n){return n(function(){fo(t)&&(Oi(2,`updateSyncExternalStore()`,e),po(e))})}function fo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!q_(e,n)}catch{return!0}}function po(e){var t=Nr(e,2);t!==null&&ru(t,e,2)}function mo(e){var t=Za();if(typeof e==`function`){var n=e;if(e=n(),Ix){Ue(!0);try{n()}finally{Ue(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:P,lastRenderedState:e},t}function ho(e){e=mo(e);var t=e.queue,n=fs.bind(null,X,t);return t.dispatch=n,[e.memoizedState,n]}function go(e){var t=Za();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ms.bind(null,X,!0,n),n.dispatch=t,[e,t]}function _o(e,t){return vo(Qa(),Mx,e,t)}function vo(e,t,n,r){return e.baseState=n,io(e,Mx,typeof r==`function`?r:P)}function yo(e,t){var n=Qa();return Mx===null?(n.baseState=e,[e,n.queue.dispatch]):vo(n,Mx,e,t)}function bo(e,t,n,r,i){if(hs(e))throw Error(`Cannot update action state while rendering.`);if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};L.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,xo(t,a)):(a.next=n.next,t.pending=n.next=a)}}function xo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=L.T,o={};o.types=a===null?null:a.types,o._updatedFibers=new Set,L.T=o;try{var s=n(i,r),c=L.S;c!==null&&c(o,s),So(e,t,s)}catch(n){wo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types!==null&&a.types!==o.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),a.types=o.types),L.T=a,a===null&&o._updatedFibers&&(e=o._updatedFibers.size,o._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`))}}else try{o=n(i,r),So(e,t,o)}catch(n){wo(e,t,n)}}function So(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?(L.asyncTransitions++,n.then($o,$o),n.then(function(n){Co(e,t,n)},function(n){return wo(e,t,n)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Co(e,t,n)}function Co(e,t,n){t.status=`fulfilled`,t.value=n,To(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,xo(e,n)))}function wo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,To(t),t=t.next;while(t!==r)}e.action=null}function To(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Eo(e,t){return t}function Do(e,t){if(G){var n=pC.formState;if(n!==null){a:{var r=X;if(G){if(ry){b:{for(var i=ry,a=sy;i.nodeType!==8;)if(!a||(i=sp(i.nextSibling),i===null)){i=null;break b}a=i.data,i=a===pT||a===mT?i:null}if(i){ry=sp(i.nextSibling),r=i.data===pT;break a}}oi(r)}r=!1}r&&(t=n[0])}}return n=Za(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:t},n.queue=r,n=fs.bind(null,X,r),r.dispatch=n,r=mo(!1),a=ms.bind(null,X,!1,r.queue),r=Za(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=bo.bind(null,X,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Oo(e){return ko(Qa(),Mx,e)}function ko(e,t,n){if(t=io(e,t,Eo)[0],e=F(P)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=eo(t)}catch(e){throw e===Ub?Gb:e}else r=t;t=Qa();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(X.flags|=2048,Mo(Cx|Ex,{destroy:void 0},Ao.bind(null,i,n),null)),[r,a,e]}function Ao(e,t){e.action=t}function jo(e){var t=Qa(),n=Mx;if(n!==null)return ko(t,n,e);Qa(),t=t.memoizedState,n=Qa();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Mo(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=X.updateQueue,t===null&&(t=$a(),X.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 No(e){var t=Za();return e={current:e},t.memoizedState=e}function Po(e,t,n,r){var i=Za();X.flags|=e,i.memoizedState=Mo(Cx|t,{destroy:void 0},n,r===void 0?null:r)}function Fo(e,t,n,r){var i=Qa();r=r===void 0?null:r;var a=i.memoizedState.inst;Mx!==null&&r!==null&&Ua(r,Mx.memoizedState.deps)?i.memoizedState=Mo(t,a,n,r):(X.flags|=e,i.memoizedState=Mo(Cx|t,a,n,r))}function Io(e,t){(X.mode&Uv)===U?Po(8390656,Ex,e,t):Po(545261568,Ex,e,t)}function Lo(e){X.flags|=4;var t=X.updateQueue;if(t===null)t=$a(),X.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Ro(e){var t=Za(),n={impl:e};return t.memoizedState=n,function(){if((fC&rC)!==nC)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return n.impl.apply(void 0,arguments)}}function zo(e){var t=Qa().memoizedState;return Lo({ref:t,nextImpl:e}),function(){if((fC&rC)!==nC)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return t.impl.apply(void 0,arguments)}}function Bo(e,t){var n=4194308;return(X.mode&Uv)!==U&&(n|=268435456),Po(n,Tx,e,t)}function Vo(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return t.hasOwnProperty(`current`)||console.error(`Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.`,`an object with keys {`+Object.keys(t).join(`, `)+`}`),e=e(),t.current=e,function(){t.current=null}}function Ho(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]);var r=4194308;(X.mode&Uv)!==U&&(r|=268435456),Po(r,Tx,Vo.bind(null,t,e),n)}function Uo(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]),Fo(4,Tx,Vo.bind(null,t,e),n)}function Wo(e,t){return Za().memoizedState=[e,t===void 0?null:t],e}function Go(e,t){var n=Qa();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Ua(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ko(e,t){var n=Za();t=t===void 0?null:t;var r=e();if(Ix){Ue(!0);try{e()}finally{Ue(!1)}}return n.memoizedState=[r,t],r}function qo(e,t){var n=Qa();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Ua(t,r[1]))return r[0];if(r=e(),Ix){Ue(!0);try{e()}finally{Ue(!1)}}return n.memoizedState=[r,t],r}function Jo(e,t){return Zo(Za(),e,t)}function Yo(e,t){return Qo(Qa(),Mx.memoizedState,e,t)}function Xo(e,t){var n=Qa();return Mx===null?Zo(n,e,t):Qo(n,Mx.memoizedState,e,t)}function Zo(e,t,n){return n===void 0||Y&1073741824&&!($&261930)?e.memoizedState=t:(e.memoizedState=n,e=tu(),X.lanes|=e,jC|=e,n)}function Qo(e,t,n,r){return q_(n,t)?n:hx.current===null?!(Y&106)||Y&1073741824&&!($&261930)?(mS=!0,e.memoizedState=n):(e=tu(),X.lanes|=e,jC|=e,t):(e=Zo(e,n,r),q_(e,t)||(mS=!0),e)}function $o(){L.asyncTransitions--}function es(e,t,n,r,i){var a=Xm.p;Xm.p=a!==0&&a<Uh?a:Uh;var o=L.T,s={};s.types=o===null?null:o.types,s._updatedFibers=new Set,L.T=s,ms(e,!1,t,n);try{var c=i(),l=L.S;if(l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`){L.asyncTransitions++,c.then($o,$o);var u=Yi(c,r);ps(e,t,u,eu(e))}else ps(e,t,r,eu(e))}catch(n){ps(e,t,{then:function(){},status:`rejected`,reason:n},eu(e))}finally{Xm.p=a,o!==null&&s.types!==null&&(o.types!==null&&o.types!==s.types&&console.error(`We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`),o.types=s.types),L.T=o,o===null&&s._updatedFibers&&(e=s._updatedFibers.size,s._updatedFibers.clear(),10<e&&console.warn(`Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`))}}function ts(e,t,n,r){if(e.tag!==5)throw Error(`Expected the form instance to be a HostComponent. This is a bug in React.`);var i=ns(e).queue;ki(e),es(e,i,t,QT,n===null?u:function(){return rs(e),n(r)})}function ns(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:QT,baseState:QT,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:P,lastRenderedState:QT},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:P,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rs(e){L.T===null&&console.error(`requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.`);var t=ns(e);t.next===null&&(t=e.alternate.memoizedState),ps(e,t.next.queue,{},eu(e))}function is(){var e=mo(!1);return e=es.bind(null,X,e.queue,!0,!1),Za().memoizedState=e,[!1,e]}function as(){var e=F(P)[0],t=Qa().memoizedState;return[typeof e==`boolean`?e:eo(e),t]}function os(){var e=ao(P)[0],t=Qa().memoizedState;return[typeof e==`boolean`?e:eo(e),t]}function ss(){return bi($T)}function cs(){var e=Za(),t=pC.identifierPrefix;if(G){var n=ty,r=ey;n=(r&~(1<<32-Ih(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Lx++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Bx++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t}function ls(){return Za().memoizedState=us.bind(null,X)}function us(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=eu(n),i=xa(r),a=Sa(n,i,r);a!==null&&(Oi(r,`refresh()`,e),ru(a,n,r),Ca(a,n,r)),e=Ci(),t!=null&&a!==null&&console.error(`The seed argument is not enabled outside experimental channels.`),i.payload={cache:e};return}n=n.return}}function ds(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=eu(e);var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};hs(e)?gs(t,i):(i=Mr(e,t,i,r),i!==null&&(Oi(r,`dispatch()`,e),ru(i,e,r),_s(i,t,r)))}function fs(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=eu(e),ps(e,t,n,r)&&Oi(r,`setState()`,e)}function ps(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(hs(e))gs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null)){var o=L.H;L.H=Zx;try{var s=t.lastRenderedState,c=a(s,n);if(i.hasEagerState=!0,i.eagerState=c,q_(c,s))return jr(e,t,i,0),pC===null&&Ar(),!1}catch{}finally{L.H=o}}if(n=Mr(e,t,i,r),n!==null)return ru(n,e,r),_s(n,t,r),!0}return!1}function ms(e,t,n,r){if(L.T===null&&ub===0&&console.error(`An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition.`),r={lane:2,revertLane:ud(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},hs(e)){if(t)throw Error(`Cannot update optimistic state while rendering.`);console.error(`Cannot call startTransition while rendering.`)}else t=Mr(e,n,r,2),t!==null&&(Oi(2,`setOptimistic()`,e),ru(t,e,2))}function hs(e){var t=e.alternate;return e===X||t!==null&&t===X}function gs(e,t){Fx=Px=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _s(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tt(e,n)}}function vs(e){if(e!==null&&typeof e!=`function`){var t=String(e);lS.has(t)||(lS.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function ys(e,t,n,r){var i=e.memoizedState,a=n(r,i);if(e.mode&Hv){Ue(!0);try{a=n(r,i)}finally{Ue(!1)}}a===void 0&&(t=C(t)||`Component`,aS.has(t)||(aS.add(t),console.error(`%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,t))),i=a==null?i:I({},i,a),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}function bs(e,t,n,r,i,a,o){var s=e.stateNode;if(typeof s.shouldComponentUpdate==`function`){if(n=s.shouldComponentUpdate(r,a,o),e.mode&Hv){Ue(!0);try{n=s.shouldComponentUpdate(r,a,o)}finally{Ue(!1)}}return n===void 0&&console.error(`%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.`,C(t)||`Component`),n}return t.prototype&&t.prototype.isPureReactComponent?!Qn(n,r)||!Qn(i,a):!0}function xs(e,t,n,r){var i=t.state;typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==i&&(e=w(e)||`Component`,eS.has(e)||(eS.add(e),console.error(`%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,e)),uS.enqueueReplaceState(t,t.state,null))}function Ss(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=I({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Cs(e){hv(e),console.warn(`%s
109
+
110
+ %s
111
+ `,dS?`An error occurred in the <`+dS+`> component.`:`An error occurred in one of your React components.`,`Consider adding an error boundary to your tree to customize error handling behavior.
112
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function ws(e){var t=dS?`The above error occurred in the <`+dS+`> component.`:`The above error occurred in one of your React components.`,n=`React will try to recreate this component tree from scratch using the error boundary you provided, `+((fS||`Anonymous`)+`.`);if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var r=e.environmentName;e=[`%o
113
+
114
+ %s
115
+
116
+ %s
117
+ `,e,t,n].slice(0),typeof e[0]==`string`?e.splice(0,1,eE+` `+e[0],tE,rE+r+rE,nE):e.splice(0,0,eE,tE,rE+r+rE,nE),e.unshift(console),r=iE.apply(console.error,e),r()}else console.error(`%o
118
+
119
+ %s
120
+
121
+ %s
122
+ `,e,t,n)}function Ts(e){hv(e)}function Es(e,t){try{dS=t.source?w(t.source):null,fS=null;var n=t.value;if(L.actQueue!==null)L.thrownErrors.push(n);else{var r=e.onUncaughtError;r(n,{componentStack:t.stack})}}catch(e){setTimeout(function(){throw e})}}function Ds(e,t,n){try{dS=n.source?w(n.source):null,fS=w(t);var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Os(e,t,n){return n=xa(n),n.tag=ux,n.payload={element:null},n.callback=function(){T(t.source,Es,e,t)},n}function ks(e){return e=xa(e),e.tag=ux,e}function As(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(){Rr(n),T(r.source,Ds,t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Rr(n),T(r.source,Ds,t,n,r),typeof i!=`function`&&(KC===null?KC=new Set([this]):KC.add(this)),Pb(this,r),typeof i==`function`||!(n.lanes&2)&&console.error(`%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.`,w(n)||`Unknown`)})}function js(e,t,n,r,i){if(n.flags|=32768,Fh&&Qu(e,i),typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&vi(t,n,i,!0),G&&(iy=!0),n=_x.current,n!==null){switch(n.tag){case 31:case 13:case 19:return vx===null?_u():n.alternate===null&&AC===aC&&(AC=cC),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Kb?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Uu(e,r,i)),!1;case 22:return n.flags|=65536,r===Kb?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)),Uu(e,r,i)),!1}throw Error(`Unexpected Suspense handler tag (`+n.tag+`). This is a bug in React.`)}return Uu(e,r,i),_u(),!1}if(G)return iy=!0,t=_x.current,t===null?(r!==cy&&fi(Xr(Error(`There was an error while hydrating but React was able to recover by instead client rendering the entire root.`,{cause:r}),n)),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Xr(r,n),i=Os(e.stateNode,r,i),wa(e,i),AC!==lC&&(AC=sC)):(t.tag===19&&console.error(`SuspenseList should never catch while hydrating. This is a bug in React.`),!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==cy&&fi(Xr(Error(`There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.`,{cause:r}),n))),!1;var a=Xr(Error(`There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.`,{cause:r}),n);if(IC===null?IC=[a]:IC.push(a),AC!==lC&&(AC=sC),t===null)return!0;r=Xr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Os(n.stateNode,r,e),wa(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(KC===null||!KC.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=ks(i),As(i,e,n,r),wa(n,i),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}function Ms(e,t,n,r){t.child=e===null?ox(t,null,n,r):ax(t,e.child,n,r)}function Ns(e,t,n,r,i){n=n.render;var a=Ir(n);if(a!==n&&(n=a,e!==null&&(mS=!0)),a=t.ref,`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return yi(t),r=Wa(e,t,n,o,a,i),s=Ja(),e!==null&&!mS?(Ya(e,t,i),sc(e,t,i)):(G&&s&&$r(t),t.flags|=1,Ms(e,t,r,i),t.child)}function Ps(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Vr(a)&&a.defaultProps===void 0&&n.compare===null?(n=Ir(a),t.tag=15,t.type=n,qs(t,a),Fs(e,t,n,r,i)):(e=Wr(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!cc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Qn:n,n(o,r)&&e.ref===t.ref)return sc(e,t,i)}return t.flags|=1,e=Hr(a,r),e.ref=t.ref,e.return=t,t.child=e}function Fs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Qn(a,r)&&e.ref===t.ref&&t.type===e.type){if(mS=!1,t.pendingProps=r=a,cc(e,i))e.flags&131072&&(mS=!0);else return t.lanes=e.lanes,sc(e,t,i)}}return Us(e,t,n,r,i)}function Is(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Nv,_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 Rs(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Zi(t,a===null?null:a.cachePool),a===null?ja(t):Aa(t,a),Fa(t);else return r=t.lanes=536870912,Rs(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Zi(t,null),ja(t),Ia(t)):(Zi(t,a.cachePool),Aa(t,a),Ia(t),t.memoizedState=null);return Ms(e,t,i,n),t.child}function Ls(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Nv,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Rs(e,t,n,r,i){var a=Xi();return a=a===null?null:{parent:vy._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Zi(t,null),ja(t),Fa(t),e!==null&&vi(e,t,r,!0),t.childLanes=i,null}function zs(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
123
+ - <Activity %s>
124
+ + <Activity %s>`,!0===n?`hidden`:!1===n?`hidden={false}`:`hidden={...}`,n?`mode="hidden"`:`mode="visible"`),t=Qs({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Bs(e,t,n){return ax(t,e.child,null,n),e=zs(t,t.pendingProps),e.flags|=2,La(t),t.memoizedState=null,e}function Vs(e,t,n){var r=t.pendingProps,i=!!(t.flags&128);if(t.flags&=-129,e===null){if(G){if(r.mode===`hidden`)return e=zs(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Ls(null,e);if(Pa(t),(e=ry)?(n=rp(e,sy),n=n!==null&&n.data===rT?n:null,n!==null&&(r={dehydrated:n,treeContext:O(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Jr(n),r.return=t,t.child=r,ny=t,ry=null)):n=null,n===null)throw ai(t,e),oi(t);return t.lanes=536870912,null}return zs(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(Pa(t),i){if(t.flags&256)t.flags&=-257,t=Bs(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}else if(ii(),n&536870912&&gu(t),mS||vi(e,t,n,!1),i=(n&e.childLanes)!==0,mS||i){if(hx.current===null){if(r=pC,r!==null&&(o=nt(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,Nr(e,o),ru(r,e,o),pS;_u()}t=Bs(e,t,n)}else e=a.treeContext,ry=sp(o.nextSibling),ny=t,G=!0,oy=null,iy=!1,ay=null,sy=!1,e!==null&&ti(t,e),t=zs(t,r),t.flags|=134221824;return t}return a=e.child,r={mode:r.mode,children:r.children},n&536870912&&(n&e.lanes)!==0&&gu(t),e=Hr(a,r),e.ref=t.ref,t.child=e,e.return=t,e}function Hs(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(`Expected ref to be a function, an object returned by React.createRef(), or undefined/null.`);(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Us(e,t,n,r,i){if(n.prototype&&typeof n.prototype.render==`function`){var a=C(n)||`Unknown`;hS[a]||(console.error(`The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.`,a,a),hS[a]=!0)}return t.mode&Hv&&mb.recordLegacyContextWarning(t,null),e===null&&(qs(t,t.type),n.contextTypes&&(a=C(n)||`Unknown`,_S[a]||(_S[a]=!0,console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)`,a)))),yi(t),n=Wa(e,t,n,r,void 0,i),r=Ja(),e!==null&&!mS?(Ya(e,t,i),sc(e,t,i)):(G&&r&&$r(t),t.flags|=1,Ms(e,t,n,i),t.child)}function Ws(e,t,n,r,i,a){return yi(t),Ux=-1,Wx=e!==null&&e.type!==t.type,t.updateQueue=null,n=Ka(t,r,n,i),Ga(e,t),r=Ja(),e!==null&&!mS?(Ya(e,t,a),sc(e,t,a)):(G&&r&&$r(t),t.flags|=1,Ms(e,t,n,a),t.child)}function Gs(e,t,n,r,i){switch(s(t)){case!1:var a=t.stateNode,o=new t.type(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,o,null);break;case!0:t.flags|=128,t.flags|=65536,a=Error(`Simulated error coming from DevTools`);var c=i&-i;if(t.lanes|=c,o=pC,o===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);c=ks(c),As(c,o,t,Xr(a,t)),wa(t,c)}if(yi(t),t.stateNode===null){if(o=Rv,a=n.contextType,`contextType`in n&&a!==null&&(a===void 0||a.$$typeof!==Im)&&!cS.has(n)&&(cS.add(n),c=a===void 0?` However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.`:typeof a==`object`?a.$$typeof===Fm?` Did you accidentally pass the Context.Consumer instead?`:` However, it is set to an object with keys {`+Object.keys(a).join(`, `)+`}.`:` However, it is set to a `+typeof a+`.`,console.error(`%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,C(n)||`Component`,c)),typeof a==`object`&&a&&(o=bi(a)),a=new n(r,o),t.mode&Hv){Ue(!0);try{a=new n(r,o)}finally{Ue(!1)}}if(o=t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=uS,t.stateNode=a,a._reactInternals=t,a._reactInternalInstance=$x,typeof n.getDerivedStateFromProps==`function`&&o===null&&(o=C(n)||`Component`,tS.has(o)||(tS.add(o),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",o,a.state===null?`null`:`undefined`,o))),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`){var l=c=o=null;if(typeof a.componentWillMount==`function`&&!0!==a.componentWillMount.__suppressDeprecationWarning?o=`componentWillMount`:typeof a.UNSAFE_componentWillMount==`function`&&(o=`UNSAFE_componentWillMount`),typeof a.componentWillReceiveProps==`function`&&!0!==a.componentWillReceiveProps.__suppressDeprecationWarning?c=`componentWillReceiveProps`:typeof a.UNSAFE_componentWillReceiveProps==`function`&&(c=`UNSAFE_componentWillReceiveProps`),typeof a.componentWillUpdate==`function`&&!0!==a.componentWillUpdate.__suppressDeprecationWarning?l=`componentWillUpdate`:typeof a.UNSAFE_componentWillUpdate==`function`&&(l=`UNSAFE_componentWillUpdate`),o!==null||c!==null||l!==null){a=C(n)||`Component`;var u=typeof n.getDerivedStateFromProps==`function`?`getDerivedStateFromProps()`:`getSnapshotBeforeUpdate()`;rS.has(a)||(rS.add(a),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
125
+
126
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
127
+
128
+ The above lifecycles should be removed. Learn more about this warning here:
129
+ https://react.dev/link/unsafe-component-lifecycles`,a,u,o===null?``:`
130
+ `+o,c===null?``:`
131
+ `+c,l===null?``:`
132
+ `+l))}}a=t.stateNode,o=C(n)||`Component`,a.render||(n.prototype&&typeof n.prototype.render==`function`?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",o):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",o)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.state||console.error(`getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?`,o),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&console.error(`getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.`,o),a.contextType&&console.error(`contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,o),n.childContextTypes&&!sS.has(n)&&(sS.add(n),console.error(`%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)`,o)),n.contextTypes&&!oS.has(n)&&(oS.add(n),console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)`,o)),typeof a.componentShouldUpdate==`function`&&console.error(`%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.`,o),n.prototype&&n.prototype.isPureReactComponent&&a.shouldComponentUpdate!==void 0&&console.error(`%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.`,C(n)||`A pure component`),typeof a.componentDidUnmount==`function`&&console.error(`%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,o),typeof a.componentDidReceiveProps==`function`&&console.error(`%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().`,o),typeof a.componentWillRecieveProps==`function`&&console.error(`%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,o),typeof a.UNSAFE_componentWillRecieveProps==`function`&&console.error(`%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,o),c=a.props!==r,a.props!==void 0&&c&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o),a.defaultProps&&console.error(`Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.`,o,o),typeof a.getSnapshotBeforeUpdate!=`function`||typeof a.componentDidUpdate==`function`||nS.has(n)||(nS.add(n),console.error(`%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,C(n))),typeof a.getDerivedStateFromProps==`function`&&console.error(`%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof a.getDerivedStateFromError==`function`&&console.error(`%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof n.getSnapshotBeforeUpdate==`function`&&console.error(`%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.`,o),(c=a.state)&&(typeof c!=`object`||Ym(c))&&console.error(`%s.state: must be set to an object or null`,o),typeof a.getChildContext==`function`&&typeof n.childContextTypes!=`object`&&console.error(`%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,o),a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},ya(t),o=n.contextType,a.context=typeof o==`object`&&o?bi(o):Rv,a.state===r&&(o=C(n)||`Component`,iS.has(o)||(iS.add(o),console.error(`%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.`,o))),t.mode&Hv&&mb.recordLegacyContextWarning(t,a),mb.recordUnsafeLifecycleWarnings(t,a),a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(ys(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&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,w(t)||`Component`),uS.enqueueReplaceState(a,a.state,null)),Ea(t,r,a,i),Ta(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Uv)!==U&&(t.flags|=268435456),a=!0}else if(e===null){a=t.stateNode;var d=t.memoizedProps;c=Ss(n,d),a.props=c;var f=a.context;l=n.contextType,o=Rv,typeof l==`object`&&l&&(o=bi(l)),u=n.getDerivedStateFromProps,l=typeof u==`function`||typeof a.getSnapshotBeforeUpdate==`function`,d=t.pendingProps!==d,l||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(d||f!==o)&&xs(t,a,r,o),dx=!1;var p=t.memoizedState;a.state=p,Ea(t,r,a,i),Ta(),f=t.memoizedState,d||p!==f||dx?(typeof u==`function`&&(ys(t,n,u,r),f=t.memoizedState),(c=dx||bs(t,n,c,r,p,f,o))?(l||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),(t.mode&Uv)!==U&&(t.flags|=268435456)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Uv)!==U&&(t.flags|=268435456),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=o,a=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Uv)!==U&&(t.flags|=268435456),a=!1)}else{a=t.stateNode,ba(e,t),o=t.memoizedProps,l=Ss(n,o),a.props=l,u=t.pendingProps,p=a.context,f=n.contextType,c=Rv,typeof f==`object`&&f&&(c=bi(f)),d=n.getDerivedStateFromProps,(f=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==u||p!==c)&&xs(t,a,r,c),dx=!1,p=t.memoizedState,a.state=p,Ea(t,r,a,i),Ta();var m=t.memoizedState;o!==u||p!==m||dx||e!==null&&e.dependencies!==null&&A(e.dependencies)?(typeof d==`function`&&(ys(t,n,d,r),m=t.memoizedState),(l=dx||bs(t,n,l,r,p,m,c)||e!==null&&e.dependencies!==null&&A(e.dependencies))?(f||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,m,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,m,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=c,a=l):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}if(c=a,Hs(e,t),o=!!(t.flags&128),c||o){if(c=t.stateNode,Fe(t),o&&typeof n.getDerivedStateFromError!=`function`)n=null,Oy=-1;else if(n=Ob(c),t.mode&Hv){Ue(!0);try{Ob(c)}finally{Ue(!1)}}t.flags|=1,e!==null&&o?(t.child=ax(t,e.child,null,i),t.child=ax(t,null,n,i)):Ms(e,t,n,i),t.memoizedState=c.state,e=t.child}else e=sc(e,t,i);return i=t.stateNode,a&&i.props!==r&&(yS||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",w(t)||`a component`),yS=!0),e}function Ks(e,t,n,r){return ui(),t.flags|=256,Ms(e,t,n,r),t.child}function qs(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
133
+ %s.childContextTypes = ...`,t.displayName||t.name||`Component`),typeof t.getDerivedStateFromProps==`function`&&(e=C(t)||`Unknown`,vS[e]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,e),vS[e]=!0)),typeof t.contextType==`object`&&t.contextType!==null&&(t=C(t)||`Unknown`,gS[t]||(console.error(`%s: Function components do not support contextType.`,t),gS[t]=!0))}function Js(e){return{baseLanes:e,cachePool:Qi()}}function Ys(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=PC),e}function Xs(e,t,n){var r=t.pendingProps;o(t)&&(t.flags|=128);var i=!1,a=!!(t.flags&128),s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(xx.current&bx)!==0),s&&(i=!0,t.flags&=-129),s=!!(t.flags&32),t.flags&=-33,e===null){if(G){if(i?Na(t):Ia(t),(e=ry)?(n=rp(e,sy),n=n!==null&&n.data!==rT?n:null,n!==null&&(s={dehydrated:n,treeContext:O(),retryLane:536870912,hydrationErrors:null},t.memoizedState=s,s=Jr(n),s.return=t,t.child=s,ny=t,ry=null)):n=null,n===null)throw ai(t,e),oi(t);return t.lanes=ap(n)?32:536870912,null}return a=r.children,r=r.fallback,i?(Ia(t),i=t.mode,a=Qs({mode:`hidden`,children:a},i),r=Kr(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=Js(n),r.childLanes=Ys(e,s,n),t.memoizedState=CS,Ls(null,r)):(Na(t),Zs(t,a))}var c=e.memoizedState;if(c!==null){var l=c.dehydrated;if(l!==null)return ec(e,t,a,s,r,l,c,n)}return i?(Ia(t),i=r.fallback,a=t.mode,c=e.child,l=c.sibling,r=Hr(c,{mode:`hidden`,children:r.children}),r.subtreeFlags=c.subtreeFlags&1206910976,l===null?(i=Kr(i,a,n,null),i.flags|=2):i=Hr(l,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Ls(null,r),r=t.child,i=e.child.memoizedState,i===null?i=Js(n):(a=i.cachePool,a===null?a=Qi():(c=vy._currentValue,a=a.parent===c?a:{parent:c,pool:c}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=Ys(e,s,n),t.memoizedState=CS,Ls(e.child,r)):(c!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&gu(t),Na(t),n=e.child,e=n.sibling,n=Hr(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 Zs(e,t){return t=Qs({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Qs(e,t){return e=p(22,e,null,t),e.lanes=0,e}function $s(e,t,n){return ax(t,e.child,null,n),e=Zs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ec(e,t,n,r,i,a,o,s){if(n){if(t.flags&256)return Na(t),t.flags&=-257,$s(e,t,s);if(t.memoizedState!==null)return Ia(t),t.child=e.child,t.flags|=128,null;Ia(t);var c=i.fallback,l=t.mode,u=Qs({mode:`visible`,children:i.children},l);return c=Kr(c,l,s,null),c.flags|=2,u.return=t,c.return=t,u.sibling=c,t.child=u,ax(t,e.child,null,s),c=t.child,c.memoizedState=Js(s),c.childLanes=Ys(e,r,s),t.memoizedState=CS,Ls(null,c)}if(Na(t),ii(),s&536870912&&gu(t),ap(a)){if(r=a.nextSibling&&a.nextSibling.dataset,r){c=r.dgst;var d=r.msg;l=r.stck,u=r.cstck}return a=d,o=c,i=l,r=u,c=o,l=a,u=i,i=r,c!==wb&&(r=Error(l||`The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.`),r.stack=u||``,r.digest=c,c=i===void 0?null:i,l={value:r,source:null,stack:c},typeof c==`string`&&Kv.set(r,l),fi(l)),$s(e,t,s)}if(mS||vi(e,t,s,!1),r=(s&e.childLanes)!==0,mS||r){if(hx.current!==null)return $s(e,t,s);if(r=pC,r!==null&&(c=nt(r,s),c!==0&&c!==o.retryLane))throw o.retryLane=c,Nr(e,c),ru(r,e,c),pS;return ip(a)||_u(),$s(e,t,s)}return ip(a)?(t.flags|=192,t.child=e.child,null):(e=o.treeContext,ry=sp(a.nextSibling),ny=t,G=!0,oy=null,iy=!1,ay=null,sy=!1,e!==null&&ti(t,e),t=Zs(t,i.children),t.flags|=134221824,t)}function tc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),k(e.return,t,n)}function nc(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Ba(n)===null&&(t=e),e=e.sibling}return t}function rc(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 ic(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function ac(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail,o=r.children,s=xx.current;if(t.flags&128)return Ra(t,s),null;if((r=(s&bx)!==0)?(s=s&yx|bx,t.flags|=128):s&=yx,Ra(t,s),s=i??`null`,i!=null&&i!==`forwards`&&i!==`backwards`&&i!==`unstable_legacy-backwards`&&i!==`together`&&i!==`independent`&&!bS[s]){if(bS[s]=!0,typeof i==`string`)switch(i.toLowerCase()){case`together`:case`forwards`:case`backwards`:case`independent`:console.error(`"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.`,i,i.toLowerCase());break;case`forward`:case`backward`:console.error(`"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.`,i,i.toLowerCase());break;default:console.error(`"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}else console.error(`%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}s=a??`null`,xS[s]||a==null||(a!==`visible`&&a!==`collapsed`&&a!==`hidden`?(xS[s]=!0,console.error(`"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?`,a)):i!=null&&i!==`forwards`&&i!==`backwards`&&i!==`unstable_legacy-backwards`&&(xS[s]=!0,console.error(`<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" (default) or "backwards". Did you mean to specify revealOrder="forwards"?`,a)));a:if((i==null||i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&o!=null&&!1!==o){if(Ym(o)){for(s=0;s<o.length;s++)if(!va(o[s],s))break a}else if(s=fe(o),typeof s==`function`){if(s=s.call(o))for(var c=s.next(),l=0;!c.done;c=s.next()){if(!va(c.value,l))break a;l++}}else console.error(`A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?`,i)}if(i===`backwards`&&e!==null?(ic(e),Ms(e,t,o,n),ic(e)):Ms(e,t,o,n),G?(ni(),o=Xv):o=0,!r&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tc(e,n,t);else if(e.tag===19)tc(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`backwards`:n=nc(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,ic(t)),rc(t,!0,i,null,a,o);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ba(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}rc(t,!0,n,null,a,o);break;case`together`:rc(t,!1,null,null,void 0,o);break;case`independent`:t.memoizedState=null;break;default:n=nc(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),rc(t,!1,i,n,a,o)}return t.child}function oc(e,t,n){var r=t.type,i=t.pendingProps,a=i.value;return`value`in i||wS||(wS=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),hi(t,r,a),Ms(e,t,i.children,n),t.child}function sc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Oy=-1,jC|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(vi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(`Resuming work not yet implemented.`);if(t.child!==null){for(e=t.child,n=Hr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Hr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cc(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&A(e)))}function lc(e,t,n){switch(t.tag){case 3:ve(t,t.stateNode.containerInfo),hi(t,vy,e.memoizedState.cache),ui();break;case 27:case 5:xe(t);break;case 4:ve(t,t.stateNode.containerInfo);break;case 10:hi(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Pa(t),null;break;case 13:if(r=t.memoizedState,r!==null){if(r.dehydrated!==null)return Na(t),t.flags|=128,null;r=vi(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?Xs(e,t,n):(Na(t),e=sc(e,t,n),e===null?null:e.sibling)}Na(t);break;case 19:if(t.flags&128)return ac(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(vi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return ac(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ra(t,xx.current),r)break;return null;case 22:return t.lanes=0,Is(e,t,n,t.pendingProps);case 24:hi(t,vy,e.memoizedState.cache)}return sc(e,t,n)}function uc(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Wr(Ir(t.elementType),t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var r=t.return;if(r===null)throw Error(`Cannot swap the root fiber.`);if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===r.child)r.child=n;else{var i=r.child;if(i===null)throw Error(`Expected parent to have a child.`);for(;i.sibling!==t;)if(i=i.sibling,i===null)throw Error(`Expected to find the previous sibling.`);i.sibling=n}return t=r.deletions,t===null?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=134217730,n}if(e!==null){if(e.memoizedProps!==t.pendingProps||t.type!==e.type)mS=!0;else{if(!cc(e,n)&&!(t.flags&128))return mS=!1,lc(e,t,n);mS=!!(e.flags&131072)}}else mS=!1,(r=G)&&(ni(),r=!!(t.flags&1048576)),r&&(r=t.index,ni(),Qr(t,Xv,r));switch(t.lanes=0,t.tag){case 16:a:if(r=t.pendingProps,e=na(t.elementType),e=Ir(e),t.type=e,typeof e==`function`)Vr(e)?(r=Ss(e,r),t.tag=1,t=Gs(null,t,e,r,n)):(t.tag=0,qs(t,e),t=Us(null,t,e,r,n));else{if(e!=null){if(i=e.$$typeof,i===Lm){t.tag=11,t=Ns(null,t,e,r,n);break a}if(i===Bm){t.tag=14,t=Ps(null,t,e,r,n);break a}if(i===Im){t.tag=10,t.type=e,t=oc(null,t,n);break a}}throw t=``,typeof e==`object`&&e&&e.$$typeof===Vm&&(t=` Did you wrap a component in React.lazy() more than once?`),n=C(e)||e,Error(`Element type is invalid. Received a promise that resolves to: `+n+`. Lazy element type must resolve to a class or function.`+t)}return t;case 0:return Us(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=Ss(r,t.pendingProps),Gs(e,t,r,i,n);case 3:a:{if(ve(t,t.stateNode.containerInfo),e===null)throw Error(`Should have a current fiber. This is a bug in React.`);r=t.pendingProps;var a=t.memoizedState;i=a.element,ba(e,t),Ea(t,r,null,n);var o=t.memoizedState;if(r=o.cache,hi(t,vy,r),r!==a.cache&&_i(t,[vy],n,!0),Ta(),r=o.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=Ks(e,t,r,n);break a}if(r!==i){i=Xr(Error(`This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.`),t),fi(i),t=Ks(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(ry=sp(e.firstChild),ny=t,G=!0,oy=null,iy=!1,ay=null,sy=!0,n=ox(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(ui(),r===i){t=sc(e,t,n);break a}Ms(e,t,r,n)}t=t.child}return t;case 26:return Hs(e,t),e===null?(n=Cp(t.type,null,t.pendingProps,null))?t.memoizedState=n:G||(t.stateNode=Qd(t.type,t.pendingProps,_e(rh.current),t)):t.memoizedState=Cp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return xe(t),e===null&&G&&(r=_e(rh.current),i=be(),r=t.stateNode=_p(t.type,t.pendingProps,r,i,!1),iy||(i=Gd(r,t.type,t.pendingProps,i),i!==null&&(ri(t,0).serverProps=i)),ny=t,sy=!0,i=ry,ff(t.type)?(FT=i,ry=sp(r.firstChild)):ry=i),Ms(e,t,t.pendingProps.children,n),Hs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&G&&(a=be(),r=un(t.type,a.ancestorInfo),i=ry,(o=!i)||(o=tp(i,t.type,t.pendingProps,sy),o===null?a=!1:(t.stateNode=o,iy||(a=Gd(o,t.type,t.pendingProps,a),a!==null&&(ri(t,0).serverProps=a)),ny=t,ry=sp(o.firstChild),sy=!1,a=!0),o=!a),o&&(r&&ai(t,i),oi(t))),xe(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,r=a.children,ef(i,a)?r=null:o!==null&&ef(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=Wa(e,t,qa,null,null,n),$T._currentValue=i),Hs(e,t),Ms(e,t,r,n),t.child;case 6:return e===null&&G&&(n=t.pendingProps,e=be(),r=e.ancestorInfo.current,n=r==null||dn(n,r.tag,e.ancestorInfo.implicitRootScope),e=ry,(r=!e)||(r=np(e,t.pendingProps,sy),r===null?r=!1:(t.stateNode=r,ny=t,ry=null,r=!0),r=!r),r&&(n&&ai(t,e),oi(t))),null;case 13:return Xs(e,t,n);case 4:return ve(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ax(t,null,r,n):Ms(e,t,r,n),t.child;case 11:return Ns(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Hs(e,t),Ms(e,t,r,n),t.child;case 8:return Ms(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,r=t.stateNode,r.effectDuration=-0,r.passiveEffectDuration=-0,Ms(e,t,t.pendingProps.children,n),t.child;case 10:return oc(e,t,n);case 9:return i=t.type._context,r=t.pendingProps.children,typeof r!=`function`&&console.error(`A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`),yi(t),i=bi(i),r=Eb(r,i,void 0),t.flags|=1,Ms(e,t,r,n),t.child;case 14:return Ps(e,t,t.type,t.pendingProps,n);case 15:return Fs(e,t,t.type,t.pendingProps,n);case 19:return ac(e,t,n);case 31:return Vs(e,t,n);case 22:return Is(e,t,n,t.pendingProps);case 24:return yi(t),r=bi(vy),e===null?(i=Xi(),i===null&&(i=pC,a=Ci(),i.pooledCache=a,wi(a),a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},ya(t),hi(t,vy,i)):((e.lanes&n)!==0&&(ba(e,t),Ea(t,null,null,n),Ta()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,hi(t,vy,r),r!==i.cache&&_i(t,[vy],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),hi(t,vy,r))),Ms(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:G&&$r(t),r.className!==void 0&&(i=typeof r.className==`string`?JSON.stringify(r.className):`{...}`,SS[i]||(SS[i]=!0,console.error(`<ViewTransition> doesn't accept a "className" prop. It has been renamed to "default".
134
+ - <ViewTransition className=%s>
135
+ + <ViewTransition default=%s>`,i,i))),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Hs(e,t),Ms(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function dc(e){e.flags|=4}function fc(e,t,n,r,i){var a;if((a=(e.mode&Wv)!==U)&&(a=n===null?Rp(t,r):Rp(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(pu())e.flags|=8192;else throw Xb=Kb,Wb}}else e.flags&=-16777217}function pc(e,t){if(t.type!==`stylesheet`||(t.state.loading&BT)!==IT)e.flags&=-16777217;else if(e.flags|=16777216,!zp(t)){if(pu())e.flags|=8192;else throw Xb=Kb,Wb}}function mc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Xe(),e.lanes|=t,FC|=t)}function hc(e,t){if(!G)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function gc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t){if((e.mode&W)!==U){for(var i=e.selfBaseDuration,a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&1206910976,r|=a.flags&1206910976,i+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=i}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&1206910976,r|=i.flags&1206910976,i.return=e,i=i.sibling}else if((e.mode&W)!==U){i=e.actualDuration,a=e.selfBaseDuration;for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,i+=o.actualDuration,a+=o.treeBaseDuration,o=o.sibling;e.actualDuration=i,e.treeBaseDuration=a}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 _c(e,t,n){var r=t.pendingProps;switch(ei(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gc(t),null;case 1:return gc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),gi(vy,t),ye(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(li(t)?(pi(),dc(t)):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,di())),gc(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(dc(t),a===null?(gc(t),fc(t,i,null,r,n)):(gc(t),pc(t,a))):a?a===e.memoizedState?(gc(t),t.flags&=-16777217):(dc(t),gc(t),pc(t,a)):(e=e.memoizedProps,e!==r&&dc(t),gc(t),fc(t,i,e,r,n)),null;case 27:if(Se(t),n=_e(rh.current),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&dc(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return gc(t),t.subtreeFlags&=-33554433,null}e=be(),li(t)?si(t,e):(e=_p(i,r,n,e,!0),t.stateNode=e,dc(t))}return gc(t),t.subtreeFlags&=-33554433,null;case 5:if(Se(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&dc(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return gc(t),t.subtreeFlags&=-33554433,null}var o=be();if(li(t))si(t,o);else{switch(a=_e(rh.current),un(i,o.ancestorInfo),o=o.context,a=Yd(a),o){case vT:a=a.createElementNS(Rg,i);break;case yT:a=a.createElementNS(Lg,i);break;default:switch(i){case`svg`:a=a.createElementNS(Rg,i);break;case`math`:a=a.createElementNS(Lg,i);break;case`script`:a=a.createElement(`div`),ST||$d(r)||(console.error(`Encountered a script tag while rendering React component. Scripts inside React components are never executed when rendering on the client. Consider using template tag instead (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template).`),ST=!0),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?a.createElement(`select`,{is:r.is}):a.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?a.createElement(i,{is:r.is}):a.createElement(i),i.indexOf(`-`)===-1&&(i!==i.toLowerCase()&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,i),Object.prototype.toString.call(a)!==`[object HTMLUnknownElement]`||vh.call(CT,i)||(CT[i]=!0,console.error(`The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.`,i)))}}a[qh]=t,a[Jh]=r;a:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break a;for(;o.sibling===null;){if(o.return===null||o.return===t)break a;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;a:switch(Fd(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&dc(t)}}return gc(t),t.subtreeFlags&=-33554433,fc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&dc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);if(e=_e(rh.current),n=be(),li(t)){if(e=t.stateNode,n=t.memoizedProps,i=!iy,r=null,a=ny,a!==null)switch(a.tag){case 3:i&&(i=lp(e,n,r),i!==null&&(ri(t,0).serverProps=i));break;case 27:case 5:r=a.memoizedProps,i&&(i=lp(e,n,r),i!==null&&(ri(t,0).serverProps=i))}e[qh]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Md(e.nodeValue,n)),e||oi(t,!0)}else i=n.ancestorInfo.current,i!=null&&dn(r,i.tag,n.ancestorInfo.implicitRootScope),e=Yd(e).createTextNode(r),e[qh]=t,t.stateNode=e}return gc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=li(t),n!==null){if(e===null){if(!r)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.`);e[qh]=t,gc(t),(t.mode&W)!==U&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else pi(),ui(),!(t.flags&128)&&(n=t.memoizedState=null),t.flags|=4,gc(t),(t.mode&W)!==U&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=di(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(La(t),t):(La(t),null);if(t.flags&128)throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}return gc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=r,a=li(t),i!==null&&i.dehydrated!==null){if(e===null){if(!a)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);a[qh]=t,gc(t),(t.mode&W)!==U&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration))}else pi(),ui(),!(t.flags&128)&&(i=t.memoizedState=null),t.flags|=4,gc(t),(t.mode&W)!==U&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration));i=!1}else i=di(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(La(t),t):(La(t),null)}return La(t),t.flags&128?(t.lanes=n,(t.mode&W)!==U&&Ki(t),t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),mc(t,t.updateQueue),gc(t),(t.mode&W)!==U&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return ye(t),e===null&&_d(t.stateNode.containerInfo),t.flags|=67108864,gc(t),null;case 10:return gi(t.type,t),gc(t),null;case 19:if(za(t),r=t.memoizedState,r===null)return gc(t),null;if(i=!!(t.flags&128),a=r.rendering,a===null){if(i)hc(r,!1);else{if(AC!==aC||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Ba(e),a!==null){for(t.flags|=128,hc(r,!1),e=a.updateQueue,t.updateQueue=e,mc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ur(n,e),n=n.sibling;return Ra(t,xx.current&yx|bx),G&&Zr(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ch()>HC&&(t.flags|=128,i=!0,hc(r,!1),t.lanes=4194304)}}else{if(!i){if(e=Ba(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,mc(t,e),hc(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!a.alternate&&!G)return gc(t),null}else 2*Ch()-r.renderingStartTime>HC&&n!==536870912&&(t.flags|=128,i=!0,hc(r,!1),t.lanes=4194304)}r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ch(),e.sibling=null,a=xx.current,a=i?a&yx|bx:a&yx,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||G?Ra(t,a):(n=a,ge(_x,t,t),ge(xx,n,t),vx===null&&(vx=t)),G&&Zr(t,r.treeForkCount),e}return gc(t),null;case 22:case 23:return La(t),Ma(t),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(gc(t),t.subtreeFlags&6&&(t.flags|=8192)):gc(t),n=t.updateQueue,n!==null&&mc(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&&he(pb,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),gi(vy,t),gc(t),null;case 25:return null;case 30:return t.flags|=33554432,gc(t),null}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function vc(e,t){switch(ei(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ki(t),t):null;case 3:return gi(vy,t),ye(t),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Se(t),null;case 31:if(t.memoizedState!==null){if(La(t),t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ki(t),t):null;case 13:if(La(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ki(t),t):null;case 19:return za(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return ye(t),null;case 10:return gi(t.type,t),null;case 22:case 23:return La(t),Ma(t),e!==null&&he(pb,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ki(t),t):null;case 24:return gi(vy,t),null;case 25:return null;default:return null}}function yc(e,t){switch(ei(t),t.tag){case 3:gi(vy,t),ye(t);break;case 26:case 27:case 5:Se(t);break;case 4:ye(t);break;case 31:t.memoizedState!==null&&La(t);break;case 13:La(t);break;case 19:za(t);break;case 10:gi(t.type,t);break;case 22:case 23:La(t),Ma(t),e!==null&&he(pb,t);break;case 24:gi(vy,t)}}function bc(e){return(e.mode&W)!==U}function xc(e,t){bc(e)?(Gi(),Cc(t,e),Ui()):Cc(t,e)}function Sc(e,t,n){bc(e)?(Gi(),wc(n,e,t),Ui()):wc(n,e,t)}function Cc(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,(e&wx)!==Sx&&(Tw=!0),r=T(t,Rb,n),(e&wx)!==Sx&&(Tw=!1),r!==void 0&&typeof r!=`function`)){var a=void 0;a=(n.tag&Tx)===0?(n.tag&wx)===0?`useEffect`:`useInsertionEffect`:`useLayoutEffect`;var o=void 0;o=r===null?` You returned null. If your effect does not require clean up, return undefined (or nothing).`:typeof r.then==`function`?`
136
+
137
+ It looks like you wrote `+a+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
138
+
139
+ `+a+`(() => {
140
+ async function fetchData() {
141
+ // You can await here
142
+ const response = await MyAPI.getData(someId);
143
+ // ...
144
+ }
145
+ fetchData();
146
+ }, [someId]); // Or [] if effect doesn't need props or state
147
+
148
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:` You returned: `+r,T(t,function(e,t){console.error(`%s must not return anything besides a function, which is used for clean-up.%s`,e,t)},a,o)}n=n.next}while(n!==i)}}catch(e){Hu(t,t.return,e)}}function wc(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;s!==void 0&&(o.destroy=void 0,(e&wx)!==Sx&&(Tw=!0),i=t,T(i,Bb,i,n,s),(e&wx)!==Sx&&(Tw=!1))}r=r.next}while(r!==a)}}catch(e){Hu(t,t.return,e)}}function Tc(e,t){bc(e)?(Gi(),Cc(t,e),Ui()):Cc(t,e)}function Ec(e,t,n){bc(e)?(Gi(),wc(n,e,t),Ui()):wc(n,e,t)}function Dc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||`ref`in e.memoizedProps||yS||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",w(e)||`instance`),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",w(e)||`instance`));try{T(e,ka,t,n)}catch(t){Hu(e,e.return,t)}}}function Oc(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function kc(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||`ref`in e.memoizedProps||yS||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",w(e)||`instance`),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",w(e)||`instance`));try{var i=Ss(e.type,n),a=T(e,Oc,t,i,r);n=TS,a!==void 0||n.has(e.type)||(n.add(e.type),T(e,function(){console.error(`%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.`,w(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){Hu(e,e.return,t)}}function Ac(e,t,n){n.props=Ss(e.type,e.memoizedProps),n.state=e.memoizedState,bc(e)?(Gi(),T(e,Ib,e,t,n),Ui()):T(e,Ib,e,t,n)}function jc(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;var r=lr(e.memoizedProps,n);(n.ref===null||n.ref.name!==r)&&(n.ref=Pf(r)),n=n.ref;break;case 7:e.stateNode===null&&(n=new Ff(e),x(e,Xf,n),e.stateNode=n),n=e.stateNode;break;default:n=e.stateNode}if(typeof t==`function`){if(bc(e))try{Gi(),e.refCleanup=t(n)}finally{Ui()}else e.refCleanup=t(n)}else typeof t==`string`?console.error(`String refs are no longer supported.`):t.hasOwnProperty(`current`)||console.error(`Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().`,w(e)),t.current=n}}function Mc(e,t){try{T(e,jc,e)}catch(n){Hu(e,t,n)}}function Nc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{if(bc(e))try{Gi(),T(e,r)}finally{Ui(e)}else T(e,r)}catch(n){Hu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{if(bc(e))try{Gi(),T(e,n,null)}finally{Ui(e)}else T(e,n,null)}catch(n){Hu(e,t,n)}else n.current=null}}function Pc(e,t,n,r){var i=e.memoizedProps,a=i.id,o=i.onCommit;i=i.onRender,t=t===null?`mount`:`update`,ob&&(t=`nested-update`),typeof i==`function`&&i(a,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof o==`function`&&o(a,t,r,n)}function Fc(e,t,n,r){var i=e.memoizedProps;e=i.id,i=i.onPostCommit,t=t===null?`mount`:`update`,ob&&(t=`nested-update`),typeof i==`function`&&i(e,t,r,n)}function Ic(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)Qf(e.stateNode,t[n])}function Lc(e){for(var t=e.return;t!==null&&(Bc(t)&&Qf(e.stateNode,t.stateNode),!zc(t));)t=t.return}function Rc(e){for(var t=e.return;t!==null&&(Bc(t)&&$f(e.stateNode,t.stateNode),!zc(t));)t=t.return}function zc(e){return e.tag===5||e.tag===3||e.tag===27}function Bc(e){return e&&e.tag===7&&e.stateNode!==null}function Vc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{T(e,of,r,t,n,e)}catch(t){Hu(e,e.return,t)}}function Hc(e,t,n){try{T(e,cf,e.stateNode,e.type,n,t,e)}catch(t){Hu(e,e.return,t)}}function Uc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ff(e.type)||e.tag===4}function Wc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Uc(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&&ff(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 Gc(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?(df(n),(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t)):(df(n),t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),i=n._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=Cn)),Ic(e,r),z=!0;else if(i!==4&&(i===27&&(Ic(e,r),r=null,ff(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Gc(e,t,n,r),e=e.sibling;e!==null;)Gc(e,t,n,r),e=e.sibling}function Kc(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),Ic(e,r),z=!0;else if(i!==4&&(i===27&&(Ic(e,r),r=null,ff(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Kc(e,t,n,r),e=e.sibling;e!==null;)Kc(e,t,n,r),e=e.sibling}function qc(e){for(var t,n=e.return;n!==null;){if(Uc(n)){t=n;break}n=n.return}n=null;for(var r=e.return;r!==null;){if(Bc(r)){var i=r.stateNode;n===null?n=[i]:n.push(i)}if(zc(r))break;r=r.return}if(t==null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);switch(t.tag){case 27:t=t.stateNode,r=Wc(e),Kc(e,r,t,n);break;case 5:r=t.stateNode,t.flags&32&&(lf(r),t.flags&=-33),t=Wc(e),Kc(e,t,r,n);break;case 3:case 4:t=t.stateNode.containerInfo,r=Wc(e),Gc(e,r,t,n);break;default:throw Error(`Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.`)}}function Jc(e){var t=e.stateNode,n=e.memoizedProps;try{T(e,vp,e.type,n,t,e)}catch(t){Hu(e,e.return,t)}}function Yc(e){(e.tag===30||e.subtreeFlags&33554432)&&(ES=!0)}function Xc(){var e=OS;return OS=null,e}function Zc(e,t,n,r,i){return kS=0,(t=Qc(e.child,t,n,r,i))&&e._debugTask!=null&&rb===null&&(rb=e._debugTask),t}function Qc(e,t,n,r,i){for(var a=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=Df(o);r.push(s),s.view&&(a=!0)}else a||Df(o).view&&(a=!0);ES=!0,wf(o,kS===0?t:t+`_`+kS,n),kS++}else e.tag===22&&e.memoizedState!==null||e.tag===30&&i||Qc(e.child,t,n,r,i)&&(a=!0);e=e.sibling}return a}function $c(e,t){for(;e!==null;)e.tag===5?Tf(e.stateNode,e.memoizedProps):e.tag===22&&e.memoizedState!==null||e.tag===30&&t||$c(e.child,t),e=e.sibling}function el(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(el(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(`Found a pair with an auto name. This is a bug in React.`);var n=t.name;t=dr(t.default,t.share),t!==`none`&&(Zc(e,n,t,null,!1)||$c(e.child,!1))}e=e.sibling}}function tl(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=lr(r,n),a=dr(r.default,n.paired?r.share:r.enter);a===`none`?el(e):Zc(e,i,a,null,!1)?(el(e),n.paired||t||nu(e,r.onEnter)):$c(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)tl(e,t),e=e.sibling;else el(e)}function nl(e){if(DS!==null&&DS.size!==0){var t=DS;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=dr(n.default,n.share);if(a!==`none`&&(Zc(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,nu(e,n.onShare)):$c(e.child,!1)),t.delete(r),t.size===0)break}}}nl(e)}e=e.sibling}}}function rl(e){if(e.tag===30){var t=e.memoizedProps,n=lr(t,e.stateNode),r=DS===null?void 0:DS.get(n),i=dr(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Zc(e,n,i,null,!1)?r===void 0?nu(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,DS.delete(n),nu(e,t.onShare)):$c(e.child,!1)),DS!==null&&nl(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)rl(e),e=e.sibling;else DS!==null&&nl(e)}function il(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=lr(t,e.stateNode);t=dr(t.default,t.update),e.flags&=-5,t!==`none`&&Zc(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&il(e);e=e.sibling}}function al(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,$c(e.child,!1))}al(e)}e=e.sibling}}function ol(e){if(e.tag===30)e.stateNode.paired=null,$c(e.child,!1),al(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)ol(e),e=e.sibling;else al(e)}function sl(e){for(e=e.child;e!==null;)e.tag===30?$c(e.child,!1):e.subtreeFlags&33554432&&sl(e),e=e.sibling}function cl(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&kS<a.length){var l=a[kS],u=Df(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&wf(c,kS===0?n:n+`_`+kS,i),s&&e.flags&4||(OS===null&&(OS=[]),OS.push(c,kS===0?r:r+`_`+kS,t.memoizedProps)),kS++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:cl(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function ll(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=lr(n,r),a=dr(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(Of)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child,c=i;kS=0,a=cl(r,s,c,i,a,o,!1),e.flags&4&&a&&(t||nu(e,n.onUpdate))}else e.subtreeFlags&33554432&&ll(e,t);e=e.sibling}}function ul(e){var t=e.memoizedProps.name;if(t!=null&&t!==`auto`){var n=AS.get(t);if(n!==void 0){if(n!==e&&n!==e.alternate&&!jS[t]){jS[t]=!0;var r=JSON.stringify(t);T(e,function(){console.error(`There are two <ViewTransition name=%s> components with the same name mounted at the same time. This is not supported and will cause View Transitions to error. Try to use a more unique name e.g. by using a namespace prefix and adding the id of an item to the name.`,r)}),T(n,function(){console.error(`The existing <ViewTransition name=%s> duplicate has this stack trace.`,r)})}}else AS.set(t,e)}}function dl(e){var t=e.memoizedProps.name;if(t!=null&&t!==`auto`){var n=AS.get(t);n===void 0||n!==e&&n!==e.alternate||AS.delete(t)}}function fl(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3&&e.memoizedState.isDehydrated&&!(t.flags&256)}function pl(e,t,n){if(e=e.containerInfo,bT=gE,e=rr(e),ir(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else a:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==r||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;for(xT={focusedElem:e,selectionRange:r},gE=!1,n=(n&335544064)===n,BS=t,t=n?9270:1024;BS!==null;){if(e=BS,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&rl(r[a]);if(e.alternate===null&&e.flags&2)n&&Yc(e),ml(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&rl(r),ml(n);continue}if(r!==null&&r.memoizedState!==null){n&&Yc(e),ml(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,BS=r):(n&&il(e),ml(n))}}DS=null}function ml(e){for(;BS!==null;){var t=BS,n=t,r=e,i=n.alternate,a=n.flags;switch(n.tag){case 0:case 11:case 15:break;case 1:a&1024&&i!==null&&kc(n,i);break;case 3:if(a&1024){if(r=n.stateNode.containerInfo,n=r.nodeType,n===9)ep(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:ep(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:r&&i!==null&&(r=i,i=n,n=lr(r.memoizedProps,r.stateNode),i=i.memoizedProps,i=dr(i.default,i.update),i!==`none`&&Zc(r,n,i,r.memoizedState=[],!0));break;default:if(a&1024)throw Error(`This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.`)}if(r=t.sibling,r!==null){r.return=t.return,BS=r;break}BS=t.return}}function hl(e,t,n){var r=Pi(),i=Ii(),a=Ri(),o=zi(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Ml(e,n),s&4&&xc(n,Tx|Cx);break;case 1:if(Ml(e,n),s&4){if(e=n.stateNode,t===null)n.type.defaultProps||`ref`in n.memoizedProps||yS||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",w(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",w(n)||`instance`)),bc(n)?(Gi(),T(n,Ab,n,e),Ui()):T(n,Ab,n,e);else{var c=Ss(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||`ref`in n.memoizedProps||yS||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",w(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",w(n)||`instance`)),bc(n)?(Gi(),T(n,Mb,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate),Ui()):T(n,Mb,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}}s&64&&Dc(n),s&512&&Mc(n,n.return);break;case 3:if(t=Ai(),Ml(e,n),s&64&&(s=n.updateQueue,s!==null)){if(c=null,n.child!==null)switch(n.child.tag){case 27:case 5:c=n.child.stateNode;break;case 1:c=n.child.stateNode}try{T(n,ka,s,c)}catch(e){Hu(n,n.return,e)}}e.effectDuration+=ji(t);break;case 27:t===null&&s&4&&Jc(n);case 26:case 5:if(Ml(e,n),t===null){if(s&4)Vc(n);else if(s&64){e=n.type,t=n.memoizedProps,c=n.stateNode;try{T(n,sf,c,e,t,n)}catch(e){Hu(n,n.return,e)}}}s&512&&Mc(n,n.return);break;case 12:if(s&4){s=Ai(),Ml(e,n),e=n.stateNode,e.effectDuration+=Mi(s);try{T(n,Pc,n,t,Ty,e.effectDuration)}catch(e){Hu(n,n.return,e)}}else Ml(e,n);break;case 31:Ml(e,n),s&4&&Sl(e,n);break;case 13:Ml(e,n),s&4&&Cl(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=Ku.bind(null,n),op(e,s))));break;case 22:if(s=n.memoizedState!==null||FS,!s){var l=t!==null&&t.memoizedState!==null||IS;t=FS,c=IS,FS=s,(IS=l)&&!c?(s=PS,n.subtreeFlags&8772&&(s|=NS),Il(e,n,s),(n.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&yr(n,K,q)):Ml(e,n),FS=t,IS=c}break;case 30:s&18874368&&ul(n),Ml(e,n),s&512&&Mc(n,n.return);break;case 7:s&512&&Mc(n,n.return);default:Ml(e,n)}(n.mode&W)!==U&&0<=K&&0<=q&&((My||.05<Ay)&&Sr(n,K,q,Ay,jy),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<q-K&&(fl(n.return.alternate,n.return)||vr(n,K,q,`Mount`))),Fi(r),Li(i),jy=a,My=o}function gl(e,t){for(e=e.child;e!==null;)_l(e,t),e=e.sibling}function _l(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;t?T(e,vf,n):T(e,xf,e.stateNode,e.memoizedProps)}catch(t){Hu(e,e.return,t)}vl(e,t);break;case 6:try{var r=e.stateNode;t?T(e,yf,r):T(e,Sf,r,e.memoizedProps),z=!0}catch(t){Hu(e,e.return,t)}break;case 18:try{var i=e.stateNode;t?T(e,_f,i):T(e,bf,e.stateNode)}catch(t){Hu(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&gl(e,t);break;default:gl(e,t)}}function vl(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:_l(n,r);break a;case 22:n.memoizedState===null&&vl(n,r);break a;default:vl(n,r)}}e=e.sibling}}function yl(e){var t=e.alternate;t!==null&&(e.alternate=null,yl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&lt(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function bl(e,t,n){for(n=n.child;n!==null;)xl(e,t,n),n=n.sibling}function xl(e,t,n){if(Nh&&typeof Nh.onCommitFiberUnmount==`function`)try{Nh.onCommitFiberUnmount(Mh,n)}catch(e){Ph||(Ph=!0,console.error(`React instrumentation encountered an error: %o`,e))}var r=Pi(),i=Ii(),a=Ri(),o=zi();switch(n.tag){case 26:IS||Nc(n,t),bl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!IS&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:IS||Nc(n,t),Rc(n);var s=qS,c=JS;ff(n.type)&&(qS=n.stateNode,JS=!1),bl(e,t,n),T(n,yp,n.stateNode,n.type,n.memoizedProps),qS=s,JS=c;break;case 5:IS||Nc(n,t),Rc(n);case 6:if(n.tag===6&&Rc(n),s=qS,c=JS,qS=null,bl(e,t,n),qS=s,JS=c,qS!==null){if(JS)try{T(n,mf,qS,n.stateNode),z=!0}catch(e){Hu(n,t,e)}else try{T(n,pf,qS,n.stateNode),z=!0}catch(e){Hu(n,t,e)}}break;case 18:qS!==null&&(JS?(e=qS,hf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),ym(e)):hf(qS,n.stateNode));break;case 4:s=qS,c=JS,qS=n.stateNode.containerInfo,JS=!0,bl(e,t,n),qS=s,JS=c;break;case 0:case 11:case 14:case 15:wc(wx,n,t),IS||Sc(n,t,Tx),bl(e,t,n);break;case 1:IS||(Nc(n,t),s=n.stateNode,typeof s.componentWillUnmount==`function`&&Ac(n,t,s)),bl(e,t,n);break;case 21:bl(e,t,n);break;case 22:IS=(s=IS)||n.memoizedState!==null,bl(e,t,n),IS=s;break;case 30:n.flags&18874368&&dl(n),Nc(n,t),bl(e,t,n);break;case 7:IS||Nc(n,t),bl(e,t,n);break;default:bl(e,t,n)}(n.mode&W)!==U&&0<=K&&0<=q&&(My||.05<Ay)&&Sr(n,K,q,Ay,jy),Fi(r),Li(i),jy=a,My=o}function Sl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{T(t,pp,e)}catch(e){Hu(t,t.return,e)}}}function Cl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{T(t,mp,e)}catch(e){Hu(t,t.return,e)}}function wl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new zS),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new zS),t;default:throw Error(`Unexpected Suspense handler tag (`+e.tag+`). This is a bug in React.`)}}function Tl(e,t){var n=wl(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),Fh){if(VS!==null&&HS!==null)Qu(HS,VS);else throw Error(`Expected finished root and lanes to be set. This is a bug in React.`)}var r=qu.bind(null,e,t);t.then(r,r)}})}function El(e,t,n){var r=t.deletions;if(r!==null)for(var i=0;i<r.length;i++){var a=e,o=t,s=r[i],c=Pi(),l=o;a:for(;l!==null;){switch(l.tag){case 27:if(ff(l.type)){qS=l.stateNode,JS=!1;break a}break;case 5:qS=l.stateNode,JS=!1;break a;case 3:case 4:qS=l.stateNode.containerInfo,JS=!0;break a}l=l.return}if(qS===null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);xl(a,o,s),qS=null,JS=!1,(s.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&vr(s,K,q,`Unmount`),Fi(c),a=s,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Dl(t,e,n),t=t.sibling}function Dl(e,t,n){var r=Pi(),i=Ii(),a=Ri(),o=zi(),s=e.alternate,c=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(c&4&&(s=e.updateQueue,s=s===null?null:s.events,s!==null))for(var l=0;l<s.length;l++){var u=s[l];u.ref.impl=u.nextImpl}El(t,e,n),Ol(e),c&4&&(wc(wx|Cx,e,e.return),Cc(wx|Cx,e),Sc(e,e.return,Tx|Cx));break;case 1:El(t,e,n),Ol(e),c&512&&(IS||s===null||Nc(s,s.return)),c&64&&FS&&(t=e.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(c=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=c===null?n:c.concat(n))));break;case 26:if(l=YS,El(t,e,n),Ol(e),c&512&&(IS||s===null||Nc(s,s.return)),c&4){if(c=s===null?null:s.memoizedState,n=e.memoizedState,s===null){if(n===null){if(e.stateNode===null){if(FS)e.stateNode=Qd(e.type,e.memoizedProps,t.containerInfo,e);else{a:{t=e.type,n=e.memoizedProps,c=l.ownerDocument||l;b:switch(t){case`title`:s=c.getElementsByTagName(`title`)[0],(!s||s[eg]||s[qh]||s.namespaceURI===Rg||s.hasAttribute(`itemprop`))&&(s=c.createElement(t),c.head.insertBefore(s,c.querySelector(`head > title`))),Fd(s,t,n),s[qh]=e,mt(s),t=s;break a;case`link`:if(l=Fp(`link`,`href`,c).get(t+(n.href||``))){for(u=0;u<l.length;u++)if(s=l[u],s.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&s.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&s.getAttribute(`title`)===(n.title==null?null:n.title)&&s.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){l.splice(u,1);break b}}s=c.createElement(t),Fd(s,t,n),c.head.appendChild(s);break;case`meta`:if(l=Fp(`meta`,`content`,c).get(t+(n.content||``))){for(u=0;u<l.length;u++)if(s=l[u],ze(n.content,`content`),s.getAttribute(`content`)===(n.content==null?null:``+n.content)&&s.getAttribute(`name`)===(n.name==null?null:n.name)&&s.getAttribute(`property`)===(n.property==null?null:n.property)&&s.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&s.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){l.splice(u,1);break b}}s=c.createElement(t),Fd(s,t,n),c.head.appendChild(s);break;default:throw Error(`getNodesForType encountered a type it did not expect: "`+t+`". This is a bug in React.`)}s[qh]=e,mt(s),t=s}e.stateNode=t}}else FS||Ip(l,e.type,e.stateNode)}else e.stateNode=jp(l,n,e.memoizedProps)}else c===n?n===null&&e.stateNode!==null&&Hc(e,e.memoizedProps,s.memoizedProps):(c===null?(t=s.stateNode,t===null||IS||t.parentNode.removeChild(t)):c.count--,n===null?FS||Ip(l,e.type,e.stateNode):jp(l,n,e.memoizedProps))}break;case 27:El(t,e,n),Ol(e),c&512&&(IS||s===null||Nc(s,s.return)),s!==null&&c&4&&Hc(e,e.memoizedProps,s.memoizedProps);break;case 5:if(l=LS,LS=!1,El(t,e,n),LS=l,Ol(e),c&512&&(IS||s===null||Nc(s,s.return)),e.flags&32){t=e.stateNode;try{T(e,lf,t),z=!0}catch(t){Hu(e,e.return,t)}}c&4&&e.stateNode!=null&&(t=e.memoizedProps,Hc(e,t,s===null?t:s.memoizedProps)),c&1024&&(RS=!0,e.type!==`form`&&console.error(`Unexpected host component type. Expected a form. This is a bug in React.`));break;case 6:if(El(t,e,n),Ol(e),c&4){if(e.stateNode===null)throw Error(`This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.`);t=e.memoizedProps,n=s===null?t:s.memoizedProps,c=e.stateNode;try{T(e,uf,c,n,t),z=!0}catch(t){Hu(e,e.return,t)}}break;case 3:if(l=Ai(),z=!1,GT=null,u=YS,YS=xp(t.containerInfo),El(t,e,n),YS=u,Ol(e),c&4&&s!==null&&s.memoizedState.isDehydrated)try{T(e,fp,t.containerInfo)}catch(t){Hu(e,e.return,t)}RS&&(RS=!1,kl(e)),t.effectDuration+=ji(l),z=!1;break;case 4:c=LS,LS=FS,s=bt(),l=YS,YS=xp(e.stateNode.containerInfo),El(t,e,n),Ol(e),YS=l,z&&WS&&(GS=!0),z=s,LS=c;break;case 12:c=Ai(),El(t,e,n),Ol(e),e.stateNode.effectDuration+=Mi(c);break;case 31:El(t,e,n),Ol(e),c&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Tl(e,t)));break;case 13:El(t,e,n),Ol(e),e.child.flags&8192&&e.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(zC=Ch()),c&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Tl(e,t)));break;case 22:l=e.memoizedState!==null,u=s!==null&&s.memoizedState!==null;var d=FS,f=IS,p=LS;FS=d||l,LS=p||l,IS=f||u,El(t,e,n),IS=f,LS=p,FS=d,u&&!l&&!d&&!f&&(e.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&yr(e,K,q),Ol(e),c&8192&&(t=e.stateNode,t._visibility=l?t._visibility&~Nv:t._visibility|Nv,!l||s===null||u||FS||IS||(t=PS,n=u||IS,s=FS,u=IS,FS=l||FS,IS=n,Pl(e,t),(e.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&vr(e,K,q,`Disconnect`),FS=s,IS=u),!l&&LS||gl(e,l)),c&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Tl(e,n))));break;case 19:El(t,e,n),Ol(e),c&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Tl(e,t)));break;case 30:c&512&&(IS||s===null||Nc(s,s.return)),c=bt(),l=WS,u=(n&335544064)===n,d=e.memoizedProps,WS=u&&dr(d.default,d.update)!==`none`,El(t,e,n),Ol(e),u&&s!==null&&z&&(e.flags|=4),WS=l,z=c;break;case 21:break;case 7:c&512&&(IS||s===null||Nc(s,s.return)),s&&s.stateNode!==null&&(s.stateNode._fragmentFiber=e);default:El(t,e,n),Ol(e)}(e.mode&W)!==U&&0<=K&&0<=q&&((My||.05<Ay)&&Sr(e,K,q,Ay,jy),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<q-K&&(fl(e.return.alternate,e.return)||vr(e,K,q,`Mount`))),Fi(r),Li(i),jy=a,My=o}function Ol(e){var t=e.flags;if(t&2){try{T(e,qc,e)}catch(t){Hu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function kl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;kl(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,gE=!0,t.reset(),gE=!1),e=e.sibling}}function Al(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)jl(t,e),t=t.sibling;else ll(t,!1)}function jl(e,t){var n=e.alternate;if(n===null)tl(e,!1);else switch(e.tag){case 3:if(KS=US=!1,Xc(),Al(t,e),!US&&!GS){if(e=OS,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];Tf(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),KS=!0}OS=null;break;case 5:Al(t,e);break;case 4:r=US,US=!1,Al(t,e),US&&(GS=!0),US=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Al(t,e):tl(e,!1));break;case 30:r=US,i=Xc(),US=!1,Al(t,e),US&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=lr(a,o),o=lr(n.memoizedProps,o);var s=dr(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,kS=0,t=cl(e,n,t,o,s,a,!0),kS!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(nu(e,e.memoizedProps.onUpdate),OS=i):i!==null&&(i.push.apply(i,OS),OS=i),US=e.flags&32?!0:r;break;default:Al(t,e)}}function Ml(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)hl(e,t.alternate,t),t=t.sibling}function Nl(e,t){var n=Pi(),r=Ii(),i=Ri(),a=zi();switch(e.tag){case 0:case 11:case 14:case 15:Sc(e,e.return,Tx),Pl(e,t);break;case 1:Nc(e,e.return);var o=e.stateNode;typeof o.componentWillUnmount==`function`&&Ac(e,e.return,o),Pl(e,t);break;case 27:(t&PS)!==MS&&T(e,yp,e.stateNode,e.type,e.memoizedProps);case 5:Nc(e,e.return),e.tag!==5&&e.tag!==27||Rc(e),Pl(e,t);break;case 6:Rc(e);break;case 26:Nc(e,e.return),o=e.stateNode,e.memoizedState!==null||o===null||IS||o.parentNode.removeChild(o),Pl(e,t);break;case 22:e.memoizedState===null&&Pl(e,t);break;case 30:e.flags&18874368&&dl(e),Nc(e,e.return),Pl(e,t);break;case 7:Nc(e,e.return);default:Pl(e,t)}(e.mode&W)!==U&&0<=K&&0<=q&&(My||.05<Ay)&&Sr(e,K,q,Ay,jy),Fi(n),Li(r),jy=i,My=a}function Pl(e,t){for(e=e.child;e!==null;)Nl(e,t),e=e.sibling}function Fl(e,t,n,r){var i=Pi(),a=Ii(),o=Ri(),s=zi(),c=n.flags,l=(r&NS)!==MS;switch(n.tag){case 0:case 11:case 15:Il(e,n,r),xc(n,Tx);break;case 1:if(Il(e,n,r),t=n.stateNode,typeof t.componentDidMount==`function`&&T(n,Ab,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{T(n,Oa,t,e)}catch(e){Hu(n,n.return,e)}}l&&c&64&&Dc(n),Mc(n,n.return);break;case 27:(r&PS)!==MS&&Jc(n);case 5:n.tag!==5&&n.tag!==27||Lc(n),Il(e,n,r),l&&t===null&&c&4&&Vc(n),Mc(n,n.return);break;case 6:Lc(n);break;case 26:var u=n.stateNode;n.memoizedState!==null||u===null||FS||Ip(xp(u.ownerDocument),n.type,u),Il(e,n,r),l&&t===null&&c&4&&Vc(n),Mc(n,n.return);break;case 12:if(l&&c&4){c=Ai(),Il(e,n,r),l=n.stateNode,l.effectDuration+=Mi(c);try{T(n,Pc,n,t,Ty,l.effectDuration)}catch(e){Hu(n,n.return,e)}}else Il(e,n,r);break;case 31:Il(e,n,r),l&&c&4&&Sl(e,n);break;case 13:Il(e,n,r),l&&c&4&&Cl(e,n);break;case 22:n.memoizedState===null&&Il(e,n,r),Mc(n,n.return);break;case 30:Il(e,n,r),c&18874368&&ul(n),Mc(n,n.return);break;case 7:Mc(n,n.return);default:Il(e,n,r)}(n.mode&W)!==U&&0<=K&&0<=q&&(My||.05<Ay)&&Sr(n,K,q,Ay,jy),Fi(i),Li(a),jy=o,My=s}function Il(e,t,n){for(n=t.subtreeFlags&8772?n:n&~NS,t=t.child;t!==null;)Fl(e,t.alternate,t,n),t=t.sibling}function Ll(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&&wi(e),n!=null&&Ti(n))}function Rl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(wi(t),e!=null&&Ti(e))}function zl(e,t,n,r,i){var a=(n&335544064)===n;if(t.subtreeFlags&(a?10262:10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;)a=t.sibling,Bl(e,t,n,r,a===null?i:a.actualStartTime),t=a;else a&&sl(t)}function Bl(e,t,n,r,i){var a=Pi(),o=Ii(),s=Ri(),c=zi(),l=Dv,u=(n&335544064)===n;u&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&ol(t);var d=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&W)!==U&&0<t.actualStartTime&&t.flags&1&&br(t,t.actualStartTime,i,XS,n),zl(e,t,n,r,i),d&2048&&Tc(t,Ex|Cx);break;case 1:(t.mode&W)!==U&&0<t.actualStartTime&&(t.flags&128?xr(t,t.actualStartTime,i,[]):t.flags&1&&br(t,t.actualStartTime,i,XS,n)),zl(e,t,n,r,i);break;case 3:var f=Ai(),p=XS;XS=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&!(t.flags&256),zl(e,t,n,r,i),XS=p,u&&KS&&(n=e.containerInfo,n=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,n.style.viewTransitionName===`root`&&(n.style.viewTransitionName=``),n=n.ownerDocument.documentElement,n!==null&&n.style.viewTransitionName===`none`&&(n.style.viewTransitionName=``)),d&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),r=t.memoizedState.cache,r!==n&&(wi(r),n!=null&&Ti(n))),e.passiveEffectDuration+=ji(f);break;case 12:if(d&2048){d=Ai(),zl(e,t,n,r,i),e=t.stateNode,e.passiveEffectDuration+=Mi(d);try{T(t,Fc,t,t.alternate,Ty,e.passiveEffectDuration)}catch(e){Hu(t,t.return,e)}}else zl(e,t,n,r,i);break;case 31:d=XS,f=t.alternate===null?null:t.alternate.memoizedState,u=t.memoizedState,f!==null&&u===null?(u=t.deletions,u!==null&&0<u.length&&u[0].tag===18?(XS=!1,f=f.hydrationErrors,f!==null&&xr(t,t.actualStartTime,i,f)):XS=!0):XS=!1,zl(e,t,n,r,i),XS=d;break;case 13:d=XS,f=t.alternate===null?null:t.alternate.memoizedState,u=t.memoizedState,f===null||f.dehydrated===null||u!==null&&u.dehydrated!==null?XS=!1:(u=t.deletions,u!==null&&0<u.length&&u[0].tag===18?(XS=!1,f=f.hydrationErrors,f!==null&&xr(t,t.actualStartTime,i,f)):XS=!0),zl(e,t,n,r,i),XS=d;break;case 23:break;case 22:p=t.stateNode,f=t.alternate,t.memoizedState===null?(u&&f!==null&&f.memoizedState!==null&&ol(t),p._visibility&Pv?zl(e,t,n,r,i):(p._visibility|=Pv,Vl(e,t,n,r,!!(t.subtreeFlags&10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),i),(t.mode&W)===U||XS||(e=t.actualStartTime,0<=e&&.05<i-e&&yr(t,e,i),0<=K&&0<=q&&.05<q-K&&yr(t,K,q)))):(u&&f!==null&&f.memoizedState===null&&ol(f),p._visibility&Pv?zl(e,t,n,r,i):Ul(e,t,n,r,i)),d&2048&&Ll(f,t);break;case 24:zl(e,t,n,r,i),d&2048&&Rl(t.alternate,t);break;case 30:u&&(d=t.alternate,d!==null&&($c(d.child,!0),$c(t.child,!0))),zl(e,t,n,r,i);break;default:zl(e,t,n,r,i)}(t.mode&W)!==U&&((e=!XS&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<i-n&&vr(t,n,i,`Mount`)),0<=K&&0<=q&&((My||.05<Ay)&&Sr(t,K,q,Ay,jy),e&&.05<q-K&&vr(t,K,q,`Mount`))),Fi(a),Li(o),jy=s,My=c,Dv=l}function Vl(e,t,n,r,i,a){for(i&&=!!(t.subtreeFlags&10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),t=t.child;t!==null;){var o=t.sibling;Hl(e,t,n,r,i,o===null?a:o.actualStartTime),t=o}}function Hl(e,t,n,r,i,a){var o=Pi(),s=Ii(),c=Ri(),l=zi(),u=Dv;i&&(t.mode&W)!==U&&0<t.actualStartTime&&t.flags&1&&br(t,t.actualStartTime,a,XS,n);var d=t.flags;switch(t.tag){case 0:case 11:case 15:Vl(e,t,n,r,i,a),Tc(t,Ex);break;case 23:break;case 22:var f=t.stateNode;t.memoizedState===null?(f._visibility|=Pv,Vl(e,t,n,r,i,a)):f._visibility&Pv?Vl(e,t,n,r,i,a):Ul(e,t,n,r,a),i&&d&2048&&Ll(t.alternate,t);break;case 24:Vl(e,t,n,r,i,a),i&&d&2048&&Rl(t.alternate,t);break;default:Vl(e,t,n,r,i,a)}(t.mode&W)!==U&&0<=K&&0<=q&&(My||.05<Ay)&&Sr(t,K,q,Ay,jy),Fi(o),Li(s),jy=c,My=l,Dv=u}function Ul(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var a=t.child;a!==null;){t=a.sibling;var o=e,s=n,c=r,l=t===null?i:t.actualStartTime,u=Dv;(a.mode&W)!==U&&0<a.actualStartTime&&a.flags&1&&br(a,a.actualStartTime,l,XS,s);var d=a.flags;switch(a.tag){case 22:Ul(o,a,s,c,l),d&2048&&Ll(a.alternate,a);break;case 24:Ul(o,a,s,c,l),d&2048&&Rl(a.alternate,a);break;default:Ul(o,a,s,c,l)}Dv=u,a=t}}function Wl(e,t,n){if(e.subtreeFlags&ZS)for(e=e.child;e!==null;)Gl(e,t,n),e=e.sibling}function Gl(e,t,n){switch(e.tag){case 26:Wl(e,t,n),e.flags&ZS&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&Vp(n,e)):Hp(n,YS,e.memoizedState,e.memoizedProps));break;case 5:Wl(e,t,n),e.flags&ZS&&(e=e.stateNode,(t&335544128)===t&&Vp(n,e));break;case 3:case 4:var r=YS;YS=xp(e.stateNode.containerInfo),Wl(e,t,n),YS=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=ZS,ZS=16777216,Wl(e,t,n),ZS=r):Wl(e,t,n));break;case 30:if((e.flags&ZS)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,DS===null&&(DS=new Map),DS.set(r,i)}Wl(e,t,n);break;default:Wl(e,t,n)}}function Kl(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 ql(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=Pi();BS=r,Zl(r,e),(r.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&vr(r,K,q,`Unmount`),Fi(i)}Kl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Jl(e),e=e.sibling}function Jl(e){var t=Pi(),n=Ii(),r=Ri(),i=zi();switch(e.tag){case 0:case 11:case 15:ql(e),e.flags&2048&&Ec(e,e.return,Ex|Cx);break;case 3:var a=Ai();ql(e),e.stateNode.passiveEffectDuration+=ji(a);break;case 12:a=Ai(),ql(e),e.stateNode.passiveEffectDuration+=Mi(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&Pv&&(e.return===null||e.return.tag!==13)?(a._visibility&=~Pv,Yl(e),(e.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&vr(e,K,q,`Disconnect`)):ql(e);break;default:ql(e)}(e.mode&W)!==U&&0<=K&&0<=q&&(My||.05<Ay)&&Sr(e,K,q,Ay,jy),Fi(t),Li(n),My=i,jy=r}function Yl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=Pi();BS=r,Zl(r,e),(r.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&vr(r,K,q,`Unmount`),Fi(i)}Kl(e)}for(e=e.child;e!==null;)Xl(e),e=e.sibling}function Xl(e){var t=Pi(),n=Ii(),r=Ri(),i=zi();switch(e.tag){case 0:case 11:case 15:Ec(e,e.return,Ex),Yl(e);break;case 22:var a=e.stateNode;a._visibility&Pv&&(a._visibility&=~Pv,Yl(e));break;default:Yl(e)}(e.mode&W)!==U&&0<=K&&0<=q&&(My||.05<Ay)&&Sr(e,K,q,Ay,jy),Fi(t),Li(n),My=i,jy=r}function Zl(e,t){for(;BS!==null;){var n=BS,r=n,i=t,a=Pi(),o=Ii(),s=Ri(),c=zi();switch(r.tag){case 0:case 11:case 15:Ec(r,i,Ex);break;case 23:case 22:r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool,i!=null&&wi(i));break;case 24:Ti(r.memoizedState.cache)}if((r.mode&W)!==U&&0<=K&&0<=q&&(My||.05<Ay)&&Sr(r,K,q,Ay,jy),Fi(a),Li(o),My=c,jy=s,r=n.child,r!==null)r.return=n,BS=r;else a:for(n=e;BS!==null;){if(r=BS,a=r.sibling,o=r.return,yl(r),r===n){BS=null;break a}if(a!==null){a.return=o,BS=a;break a}BS=o}}}function Ql(){eC.forEach(function(e){return e()})}function $l(){var e=typeof IS_REACT_ACT_ENVIRONMENT<`u`?IS_REACT_ACT_ENVIRONMENT:void 0;return e||L.actQueue===null||console.error(`The current testing environment is not configured to support act(...)`),e}function eu(e){if((fC&rC)!==nC&&$!==0)return $&-$;var t=L.T;return t===null?(e=st(),e===Hh&&(qb=null),e):(t._updatedFibers||=new Set,t._updatedFibers.add(e),qb!==null&&st()===Hh&&(qb=null),ud())}function tu(){if(PC===0){if(!($&536870912)||G){var e=Bh;Bh<<=1,!(Bh&3932160)&&(Bh=262144),PC=e}else PC=536870912}return e=_x.current,e!==null&&(e.flags|=32),PC}function nu(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=Pf(lr(e.memoizedProps,n))),fw===null&&(fw=[]),fw.push(t.bind(null,r))}}function ru(e,t,n){if(Tw&&console.error(`useInsertionEffect must not schedule updates.`),bw&&(xw=!0),(e===pC&&(wC===gC||wC===CC)||e.cancelPendingCommit!==null)&&(du(e,0),su(e,$,PC,!1)),Qe(e,n),(fC&rC)!==nC&&e===pC){if(_h)switch(t.tag){case 0:case 11:case 15:e=Q&&w(Q)||`Unknown`,kw.has(e)||(kw.add(e),t=w(t)||`Unknown`,console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:Ow||=(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),!0)}}else Fh&&it(e,t,n),ed(t),e===pC&&((fC&rC)===nC&&(MC|=n),AC===lC&&su(e,$,PC,!1)),td(e)}function iu(e,t,n){if((fC&(rC|iC))!==nC)throw Error(`Should not already be working.`);if($!==0&&Q!==null){var r=Q,i=Ch();switch(ib){case _C:case gC:var a=ab;Tv&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Suspended`,a,i,Ev,void 0,`primary-light`)):console.timeStamp(`Suspended`,a,i,Ev,void 0,`primary-light`));break;case CC:a=ab,Tv&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Action`,a,i,Ev,void 0,`primary-light`)):console.timeStamp(`Action`,a,i,Ev,void 0,`primary-light`));break;default:Tv&&(r=i-ab,3>r||console.timeStamp(`Blocked`,ab,i,Ev,void 0,5>r?`primary-light`:10>r?`primary`:100>r?`primary-dark`:`error`))}}a=(n=!n&&!(t&127)&&(t&e.expiredLanes)===0||qe(e,t))?bu(e,t):vu(e,t,!0);var o=n;do{if(a===aC){DC&&!n&&su(e,t,0,!1),t=wC,ab=by(),ib=t;break}if(r=Ch(),i=e.current.alternate,o&&!ou(i))_r(t),i=wy,a=r,!Tv||a<=i||(GC?GC.run(console.timeStamp.bind(console,`Teared Render`,i,a,H,V,`error`)):console.timeStamp(`Teared Render`,i,a,H,V,`error`)),uu(t,r),a=vu(e,t,!1),o=!1;else{if(a===sC){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){_r(t),Tr(wy,r,t,GC),uu(t,r),t=s;a:{r=e,a=o,o=IC;var c=r.current.memoizedState.isDehydrated;if(c&&(du(r,s).flags|=256),s=vu(r,s,!1),s!==sC&&s!==uC){if(OC&&!c){r.errorRecoveryDisabledLanes|=a,MC|=a,a=lC;break a}r=LC,LC=o,r!==null&&(LC===null?LC=r:LC.push.apply(LC,r))}a=s}if(o=!1,a!==sC)continue;r=Ch()}}if(a===oC){_r(t),Tr(wy,r,t,GC),uu(t,r),du(e,0),su(e,t,0,!0);break}a:{switch(n=e,a){case aC:case oC:throw Error(`Root did not complete. This is a bug in React.`);case lC:if((t&4194048)!==t&&(t&62914560)!==t)break;case uC:_r(t),Cr(wy,r,t,GC),uu(t,r),i=t,i&127?Hy=r:i&4194048&&($y=r),su(n,t,PC,!EC);break a;case sC:LC=null;break;case cC:case dC:break;default:throw Error(`Unknown root exit status.`)}if(L.actQueue!==null)Ou(n,i,t,LC,WC,RC,PC,MC,FC,EC,a,null,null,wy,r);else{if((t&62914560)===t&&(o=zC+VC-Ch(),10<o)){if(su(n,t,PC,!EC),Ke(n,0,!0)!==0)break a;ow=t,n.timeoutHandle=ET(au.bind(null,n,i,LC,WC,RC,t,PC,MC,FC,EC,a,`Throttled`,wy,r),o);break a}au(n,i,LC,WC,RC,t,PC,MC,FC,EC,a,null,wy,r)}}break}}while(1);td(e)}function au(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=OT;var m=t.subtreeFlags,h=(a&335544064)===a,g=null;(h||m&8192||(m&16785408)==16785408)&&(g={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Cn},DS=null,Gl(t,a,g),h&&(m=g,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=Gp.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?zC-Ch():(a&4194048)===a?BC-Ch():0,m=Up(g,m),m!==null)?(ow=a,e.cancelPendingCommit=m(Ou.bind(null,e,t,a,n,r,i,o,s,c,l,u,g,g.waitingForViewTransition?`Waiting for the previous Animation`:0<g.count?0<g.imgCount?`Suspended on CSS and Images`:`Suspended on CSS`:g.imgCount===1?`Suspended on an Image`:0<g.imgCount?`Suspended on Images`:null,f,p)),su(e,a,o,!l)):Ou(e,t,a,n,r,i,o,s,c,l,u,g,d,f,p)}function ou(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(!q_(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function su(e,t,n,r){t=Je(e,t),t&=~NC,t&=~MC,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ih(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&et(e,n,t)}function cu(){return(fC&(rC|iC))!==nC||(nd(0,!1),!1)}function lu(){if(Q!==null){if(wC===mC)var e=Q.return;else e=Q,mi(),Xa(e),Qb=null,$b=0,e=Q;for(;e!==null;)yc(e.alternate,e),e=e.return;Q=null}}function uu(e,t){e&127&&(Ny=t),e&4194048&&(Uy=t),e&62914560&&(eb=t),e&2080374784&&(tb=t)}function du(e,t){Tv&&(console.timeStamp(`Blocking Track`,.003,.003,`Blocking`,V,`primary-light`),console.timeStamp(`Transition Track`,.003,.003,`Transition`,V,`primary-light`),console.timeStamp(`Suspense Track`,.003,.003,`Suspense`,V,`primary-light`),console.timeStamp(`Idle Track`,.003,.003,`Idle`,V,`primary-light`));var n=wy;if(wy=by(),$!==0&&0<n){if(_r($),AC===cC||AC===lC)Cr(n,wy,t,GC);else{var r=wy,i=GC;if(Tv&&!(r<=n)){var a=(t&738197653)===t?`tertiary-dark`:`primary-dark`,o=(t&536870912)===t?`Prewarm`:(t&201326741)===t?`Interrupted Hydration`:`Interrupted Render`;i?i.run(console.timeStamp.bind(console,o,n,r,H,V,a)):console.timeStamp(o,n,r,H,V,a)}}uu($,wy)}if(n=GC,GC=null,t&127){GC=Fy,i=0<=Py&&Py<Ny?Ny:Py,r=0<=zy&&zy<Ny?Ny:zy,a=0<=r?r:0<=i?i:wy,0<=Hy?(_r(2),wr(Hy,a,t,n)):nb&127&&(_r(2),kr(Ny,a,rb)),n=i;var s=r,c=By,l=0<Vy,u=Iy===Sy,d=Iy===Cy;if(i=wy,r=Fy,a=Ly,o=Ry,Tv){if(H=`Blocking`,0<n?n>i&&(n=i):n=i,0<s?s>n&&(s=n):s=n,c!==null&&n>s){var f=l?`secondary-light`:`warning`;r?r.run(console.timeStamp.bind(console,l?`Consecutive`:`Event: `+c,s,n,H,V,f)):console.timeStamp(l?`Consecutive`:`Event: `+c,s,n,H,V,f)}i>n&&(s=u?`error`:(t&738197653)===t?`tertiary-light`:`primary-light`,u=d?`Promise Resolved`:u?`Cascading Update`:5<i-n?`Update Blocked`:`Update`,d=[],o!=null&&d.push([`Component name`,o]),a!=null&&d.push([`Method name`,a]),n={start:n,end:i,detail:{devtools:{properties:d,track:H,trackGroup:V,color:s}}},r?r.run(performance.measure.bind(performance,u,n)):performance.measure(u,n),performance.clearMeasures(u))}Py=-1.1,Iy=0,Ry=Ly=null,Hy=-1.1,Vy=zy,zy=-1.1,Ny=by()}return t&4194048&&(GC=qy,i=0<=Wy&&Wy<Uy?Uy:Wy,n=0<=Gy&&Gy<Uy?Uy:Gy,r=0<=Xy&&Xy<Uy?Uy:Xy,a=0<=r?r:0<=n?n:wy,0<=$y?(_r(256),wr($y,a,t,GC)):nb&4194048&&(_r(256),kr(Uy,a,rb)),d=r,s=Zy,c=0<Qy,l=Ky===Cy,a=wy,r=qy,o=Jy,u=Yy,Tv&&(H=`Transition`,0<n?n>a&&(n=a):n=a,0<i?i>n&&(i=n):i=n,0<d?d>i&&(d=i):d=i,i>d&&s!==null&&(f=c?`secondary-light`:`warning`,r?r.run(console.timeStamp.bind(console,c?`Consecutive`:`Event: `+s,d,i,H,V,f)):console.timeStamp(c?`Consecutive`:`Event: `+s,d,i,H,V,f)),n>i&&(r?r.run(console.timeStamp.bind(console,`Action`,i,n,H,V,`primary-dark`)):console.timeStamp(`Action`,i,n,H,V,`primary-dark`)),a>n&&(i=l?`Promise Resolved`:5<a-n?`Update Blocked`:`Update`,d=[],u!=null&&d.push([`Component name`,u]),o!=null&&d.push([`Method name`,o]),n={start:n,end:a,detail:{devtools:{properties:d,track:H,trackGroup:V,color:`primary-light`}}},r?r.run(performance.measure.bind(performance,i,n)):performance.measure(i,n),performance.clearMeasures(i))),Gy=Wy=-1.1,Ky=0,$y=-1.1,Qy=Xy,Xy=-1.1,Uy=by()),t&62914560&&nb&62914560&&(_r(4194304),kr(eb,wy,rb)),t&2080374784&&nb&2080374784&&(_r(268435456),kr(tb,wy,rb)),n=e.timeoutHandle,n!==OT&&(e.timeoutHandle=OT,DT(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ow=0,lu(),pC=e,Q=n=Hr(e.current,null),$=t,wC=mC,TC=null,EC=!1,DC=qe(e,t),OC=!1,AC=aC,FC=PC=NC=MC=jC=0,LC=IC=null,RC=!1,kC=Je(e,t),Ar(),e=pv(),1e3<e-dv&&(L.recentlyCreatedOwnerStacks=0,dv=e),mb.discardPendingWarnings(),n}function fu(e,t){X=null,L.H=Gx,L.getCurrentStack=null,_h=!1,gh=null,t===Ub||t===Gb?(t=ra(),wC=_C):t===Wb?(t=ra(),wC=vC):wC=t===pS?SC:typeof t==`object`&&t&&typeof t.then==`function`?bC:hC,TC=t;var n=Q;n===null?(AC=oC,Es(e,Xr(t,e.current))):n.mode&W&&Vi(n)}function pu(){var e=_x.current;return e===null?!0:($&4194048)===$?vx===null:($&62914560)===$||$&536870912?e===vx:!1}function mu(){var e=L.H;return L.H=Gx,e===null?Gx:e}function hu(){var e=L.A;return L.A=QS,e}function gu(e){GC===null&&(GC=e._debugTask==null?null:e._debugTask)}function _u(){AC=lC,EC||($&4194048)!==$&&_x.current!==null||(DC=!0),!(jC&134217727)&&!(MC&134217727)||pC===null||su(pC,$,PC,!1)}function vu(e,t,n){var r=fC;fC|=rC;var i=mu(),a=hu();if(pC!==e||$!==t){if(Fh){var o=e.memoizedUpdaters;0<o.size&&(Qu(e,$),o.clear()),at(e,t)}WC=null,du(e,t)}t=!1,o=AC;a:do try{if(wC!==mC&&Q!==null){var s=Q,c=TC;switch(wC){case SC:lu(),o=uC;break a;case _C:case gC:case CC:case bC:_x.current===null&&(t=!0);var l=wC;if(wC=mC,TC=null,Tu(e,s,c,l),n&&DC){o=aC;break a}break;default:l=wC,wC=mC,TC=null,Tu(e,s,c,l)}}yu(),o=AC;break}catch(t){fu(e,t)}while(1);return t&&e.shellSuspendCounter++,mi(),fC=r,L.H=i,L.A=a,Q===null&&(pC=null,$=0,Ar()),o}function yu(){for(;Q!==null;)Su(Q)}function bu(e,t){var n=fC;fC|=rC;var r=mu(),i=hu();if(pC!==e||$!==t){if(Fh){var a=e.memoizedUpdaters;0<a.size&&(Qu(e,$),a.clear()),at(e,t)}WC=null,HC=Ch()+UC,du(e,t)}else DC=qe(e,t);a:do try{if(wC!==mC&&Q!==null)b:switch(t=Q,a=TC,wC){case hC:wC=mC,TC=null,Tu(e,t,a,hC);break;case gC:case CC:if(ea(a)){wC=mC,TC=null,Cu(t);break}t=function(){wC!==gC&&wC!==CC||pC!==e||(wC=xC),td(e)},a.then(t,t);break a;case _C:wC=xC;break a;case vC:wC=yC;break a;case xC:ea(a)?(wC=mC,TC=null,Cu(t)):(wC=mC,TC=null,Tu(e,t,a,xC));break;case yC:var o=null;switch(Q.tag){case 26:o=Q.memoizedState;case 5:case 27:var s=Q;if(o?zp(o):s.stateNode.complete){wC=mC,TC=null;var c=s.sibling;if(c!==null)Q=c;else{var l=s.return;l===null?Q=null:(Q=l,Eu(l))}break b}break;default:console.error(`Unexpected type of fiber triggered a suspensey commit. This is a bug in React.`)}wC=mC,TC=null,Tu(e,t,a,yC);break;case bC:wC=mC,TC=null,Tu(e,t,a,bC);break;case SC:lu(),AC=uC;break a;default:throw Error(`Unexpected SuspendedReason. This is a bug in React.`)}L.actQueue===null?xu():yu();break}catch(t){fu(e,t)}while(1);return mi(),L.H=r,L.A=i,fC=n,Q===null?(pC=null,$=0,Ar(),AC):aC}function xu(){for(;Q!==null&&!xh();)Su(Q)}function Su(e){var t=e.alternate;(e.mode&W)===U?t=T(e,uc,t,e,kC):(Bi(e),t=T(e,uc,t,e,kC),Vi(e)),e.memoizedProps=e.pendingProps,t===null?Eu(e):Q=t}function Cu(e){var t=T(e,wu,e);e.memoizedProps=e.pendingProps,t===null?Eu(e):Q=t}function wu(e){var t=e.alternate,n=(e.mode&W)!==U;switch(n&&Bi(e),e.tag){case 15:case 0:t=Ws(t,e,e.pendingProps,e.type,void 0,$);break;case 11:t=Ws(t,e,e.pendingProps,e.type.render,e.ref,$);break;case 5:Xa(e);var r=e;r===ny&&(G?(ci(r),r.tag===5&&r.stateNode!=null&&(ry=r.stateNode)):(ci(r),G=!0));default:yc(t,e),e=Q=Ur(e,kC),t=uc(t,e,kC)}return n&&Vi(e),t}function Tu(e,t,n,r){mi(),Xa(t),Qb=null,$b=0;var i=t.return;try{if(js(e,i,t,n,$)){AC=oC,Es(e,Xr(n,e.current)),Q=null;return}}catch(t){if(i!==null)throw Q=i,t;AC=oC,Es(e,Xr(n,e.current)),Q=null;return}t.flags&32768?(G||r===hC?e=!0:DC||$&536870912?e=!1:(EC=e=!0,(r===gC||r===CC||r===_C||r===bC)&&(r=_x.current,r!==null&&r.tag===13&&(r.flags|=16384))),Du(t,e)):Eu(t)}function Eu(e){var t=e;do{if(t.flags&32768){Du(t,EC);return}var n=t.alternate;if(e=t.return,Bi(t),n=T(t,_c,n,t,kC),(t.mode&W)!==U&&Hi(t),n!==null){Q=n;return}if(t=t.sibling,t!==null){Q=t;return}Q=t=e}while(t!==null);AC===aC&&(AC=dC)}function Du(e,t){do{var n=vc(e.alternate,e);if(n!==null){n.flags&=32767,Q=n;return}if((e.mode&W)!==U){Hi(e),n=e.actualDuration;for(var r=e.child;r!==null;)n+=r.actualDuration,r=r.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Q=e;return}Q=e=n}while(e!==null);AC=uC,Q=null}function Ou(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){e.cancelPendingCommit=null;do zu();while(rw!==ZC);if(mb.flushLegacyContextWarning(),mb.flushPendingUnsafeLifecycleWarnings(),(fC&(rC|iC))!==nC)throw Error(`Should not already be working.`);if(_r(n),u===sC)Tr(p,m,n,GC);else if(r!==null){if(l=t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&!!(t.flags&256),a=GC,Tv&&!(m<=p)){u=[];for(var h=0;h<r.length;h++){var g=r[h].value;u.push([`Recoverable Error`,typeof g==`object`&&g&&typeof g.message==`string`?String(g.message):String(g)])}p={start:p,end:m,detail:{devtools:{color:`primary-dark`,track:H,trackGroup:V,tooltipText:l?`Hydration Failed`:`Recovered after Error`,properties:u}}},a?a.run(performance.measure.bind(performance,`Recovered`,p)):performance.measure(`Recovered`,p),performance.clearMeasures(`Recovered`)}}else a=GC,!Tv||m<=p||(l=(n&738197653)===n?`tertiary-dark`:`primary-dark`,u=(n&536870912)===n?`Prepared`:(n&201326741)===n?`Hydrated`:`Render`,a?a.run(console.timeStamp.bind(console,u,p,m,H,V,l)):console.timeStamp(u,p,m,H,V,l));if(t!==null){if(n===0&&console.error(`finishedLanes should not be empty during a commit. This is a bug in React.`),t===e.current)throw Error(`Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.`);e===pC&&(Q=pC=null,$=0),aw=t,iw=e,ow=n,lw=i,uw=r,cw=m,mw=f,hw=qC,gw=null,ku(e,t,n,o,s,c,d,f,m)}}function ku(e,t,n,r,i,a,o,s,c){var l=t.lanes|t.childLanes;if(sw=l,l|=Lv,$e(e,n,l,r,i,a),fw=null,(n&335544064)===n?(pw=Di(e),r=10262):(pw=null,r=10256),t.actualDuration!==0||(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,$u(Dh,function(){return TT=window.event,hw===qC&&(hw=YC),Bu(),null})):(e.callbackNode=null,e.callbackPriority=0),Dy=null,Ty=by(),s!==null&&Er(c,Ty,s,GC),ES=!1,s=!!(t.flags&13878),t.subtreeFlags&13878||s){s=L.T,L.T=null,c=Xm.p,Xm.p=Hh,r=fC,fC|=iC;try{pl(e,t,n)}finally{fC=r,Xm.p=c,L.T=s}}rw=QC,ES?(nb|=n,rb=null,dw=Mf(o,e.containerInfo,pw,Pu,Fu,Nu,Iu,Bu,Au,ju,Mu.bind(null,n))):(Pu(),Fu(),Iu())}function Au(e){if(rw!==ZC){var t=iw.onRecoverableError;t(e,Lu(null))}}function ju(e){Ey=by(),Or(mw===null?cw:Ty,Ey,Dy,hw===JC,GC),mw=gw=e}function Mu(e){if((nb&e)!==0){var t=rb;nb&=~e,rb=null,e&4194048&&!($&4194048)&&!(ow&4194048)&&(_r(256),kr(Uy,Ch(),t)),e&62914560&&!($&62914560)&&!(ow&62914560)&&(_r(4194304),kr(eb,Ch(),t)),e&2080374784&&!($&2080374784)&&!(ow&2080374784)&&(_r(268435456),kr(tb,Ch(),t))}}function Nu(){rw===ew&&(rw=ZC,jl(aw,iw),rw=tw)}function Pu(){if(rw===QC){rw=ZC;var e=iw,t=aw,n=ow,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=L.T,L.T=null;var i=Xm.p;Xm.p=Hh;var a=fC;fC|=iC;try{VS=n,HS=e,WS=GS=!1,Ni(),Dl(t,e,n),HS=VS=null,n=xT;var o=rr(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&nr(s.ownerDocument.documentElement,s)){if(c!==null&&ir(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}}gE=!!bT,xT=bT=null}finally{fC=a,Xm.p=i,L.T=r}}e.current=t,rw=$C}}function Fu(){if(rw===$C){rw=ZC;var e=gw;if(e!==null){Ty=by();var t=Ey,n=Ty;!Tv||n<=t||(rb?rb.run(console.timeStamp.bind(console,e,t,n,H,V,`secondary-light`)):console.timeStamp(e,t,n,H,V,`secondary-light`))}e=iw,t=aw,n=ow;var r=!!(t.flags&8772);if(t.subtreeFlags&8772||r){r=L.T,L.T=null;var i=Xm.p;Xm.p=Hh;var a=fC;fC|=iC;try{VS=n,HS=e,Ni(),hl(e,t.alternate,t),HS=VS=null}finally{fC=a,Xm.p=i,L.T=r}}e=cw,t=mw,Ey=by(),Or(t===null?e:Ty,Ey,Dy,hw===JC,GC),rw=ew}}function Iu(){if(rw===tw||rw===ew){if(rw===tw){var e=Ey;Ey=by();var t=Ey,n=hw===JC;!Tv||t<=e||(rb?rb.run(console.timeStamp.bind(console,n?`Interrupted View Transition`:`Starting Animation`,e,t,H,V,n?`error`:`secondary-light`)):console.timeStamp(n?`Interrupted View Transition`:`Starting Animation`,e,t,H,V,n?` error`:`secondary-light`)),hw!==JC&&(hw=XC)}rw=ZC,e=dw,dw=null,Sh(),t=iw;var r=aw;n=ow;var i=uw,a=(n&335544064)===n?10262:10256;(a=r.actualDuration!==0||(r.subtreeFlags&a)!==0||(r.flags&a)!==0)?rw=nw:(rw=ZC,aw=iw=null,Ru(t,t.pendingLanes),Cw=0,ww=null);var o=t.pendingLanes;if(o===0&&(KC=null),a||Xu(t),o=ot(n),r=r.stateNode,Nh&&typeof Nh.onCommitFiberRoot==`function`)try{var s=(r.current.flags&128)==128;switch(o){case Hh:var c=Th;break;case Uh:c=Eh;break;case Wh:c=Dh;break;case Gh:c=kh;break;default:c=Dh}Nh.onCommitFiberRoot(Mh,r,c,s)}catch(e){Ph||(Ph=!0,console.error(`React instrumentation encountered an error: %o`,e))}if(Fh&&t.memoizedUpdaters.clear(),Ql(),i!==null){s=L.T,c=Xm.p,Xm.p=Hh,L.T=null;try{var l=t.onRecoverableError;for(r=0;r<i.length;r++){var u=i[r],d=Lu(u.stack);T(u.source,l,u.value,d)}}finally{L.T=s,Xm.p=c}}if(l=fw,u=pw,pw=null,l!==null&&(fw=null,u===null&&(u=[]),e!==null))for(d=0;d<l.length;d++)i=(0,l[d])(u),i!==void 0&&e.finished.finally(i);ow&3&&zu(),td(t),o=t.pendingLanes,n&261930&&o&42?(sb=!0,t===yw?vw++:(vw=0,yw=t)):(vw=0,yw=null),a||uu(n,Ey),nd(0,!1)}}function Lu(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error(`You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.`)}}),e}function Ru(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ti(t)))}function zu(){return dw!==null&&(dw.skipTransition(),Ew||(Ew=!0,console.warn(`A flushSync update cancelled a View Transition because it was called while the View Transition was still preparing. To preserve the synchronous semantics, React had to skip the View Transition. If you can, try to avoid flushSync() in a scenario that's likely to interfere.`)),dw=null,hw=JC),Pu(),Fu(),Iu(),Bu()}function Bu(){if(rw!==nw)return!1;var e=iw,t=sw;sw=0;var n=ot(ow),r=Wh===0||Wh>n?Wh:n;n=L.T;var i=Xm.p;try{Xm.p=r,L.T=null;var a=lw;lw=null,r=iw;var o=ow;if(rw=ZC,aw=iw=null,ow=0,(fC&(rC|iC))!==nC)throw Error(`Cannot flush passive effects while already rendering.`);_r(o),bw=!0,xw=!1;var s=0;if(Dy=null,s=Ch(),hw===XC)kr(Ey,s,rb);else{var c=Ey,l=s,u=hw===YC;!Tv||l<=c||(GC?GC.run(console.timeStamp.bind(console,u?`Waiting for Paint`:`Waiting`,c,l,H,V,`secondary-light`)):console.timeStamp(u?`Waiting for Paint`:`Waiting`,c,l,H,V,`secondary-light`))}c=fC,fC|=iC;var d=r.current;Ni(),Jl(d);var f=r.current;d=cw,Ni(),Bl(r,f,o,a,d),Xu(r),fC=c;var p=Ch();if(f=s,d=GC,Dy===null?!Tv||p<=f||(d?d.run(console.timeStamp.bind(console,`Remaining Effects`,f,p,H,V,`secondary-dark`)):console.timeStamp(`Remaining Effects`,f,p,H,V,`secondary-dark`)):Dr(f,p,Dy,!0,d),uu(o,p),nd(0,!1),xw?r===ww?Cw++:(Cw=0,ww=r):Cw=0,xw=bw=!1,Nh&&typeof Nh.onPostCommitFiberRoot==`function`)try{Nh.onPostCommitFiberRoot(Mh,r)}catch(e){Ph||(Ph=!0,console.error(`React instrumentation encountered an error: %o`,e))}var m=r.current.stateNode;return m.effectDuration=0,m.passiveEffectDuration=0,!0}finally{Xm.p=i,L.T=n,Ru(e,t)}}function Vu(e,t,n){t=Xr(n,t),Wi(t),t=Os(e.stateNode,t,2),e=Sa(e,t,2),e!==null&&(Qe(e,2),td(e))}function Hu(e,t,n){if(Tw=!1,e.tag===3)Vu(e,e,n);else{for(;t!==null;){if(t.tag===3){Vu(t,e,n);return}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(KC===null||!KC.has(r))){e=Xr(n,e),Wi(e),n=ks(2),r=Sa(t,n,2),r!==null&&(As(n,r,t,e),Qe(r,2),td(r));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
149
+
150
+ Error message:
151
+
152
+ %s`,n)}}function Uu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new tC;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)||(OC=!0,i.add(n),r=Wu.bind(null,e,t,n),Fh&&Qu(e,n),t.then(r,r))}function Wu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,n&127?0>Py&&(Ny=Py=by(),Fy=xy(`Promise Resolved`),Iy=Cy):n&4194048&&0>Gy&&(Uy=Gy=by(),qy=xy(`Promise Resolved`),Ky=Cy),$l()&&L.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
153
+
154
+ When testing, code that resolves suspended data should be wrapped into act(...):
155
+
156
+ act(() => {
157
+ /* finish loading suspended data */
158
+ });
159
+ /* assert on the output */
160
+
161
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),pC===e&&($&n)===n&&((AC===lC||AC===cC&&($&62914560)===$&&Ch()-zC<VC)&&(fC&rC)===nC?du(e,0):NC|=n,FC===$&&(FC=0)),td(e)}function Gu(e,t){t===0&&(t=Xe()),e=Nr(e,t),e!==null&&(Qe(e,t),td(e))}function Ku(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Gu(e,n)}function qu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(`Pinged unknown suspense boundary type. This is probably a bug in React.`)}r!==null&&r.delete(t),Gu(e,n)}function Ju(e,t,n){if(t.subtreeFlags&134225920)for(t=t.child;t!==null;){var r=e,i=t,a=i.type===Nm;a=n||a,i.tag===22?i.memoizedState===null&&(a&&i.flags&134225920?T(i,Yu,r,i):i.subtreeFlags&134217728&&T(i,Ju,r,i,a)):i.flags&134217728?a&&T(i,Yu,r,i):Ju(r,i,a),t=t.sibling}}function Yu(e,t){Ue(!0);try{Nl(t,MS),Xl(t),Fl(e,t.alternate,t,MS),Hl(e,t,0,null,!1,0)}finally{Ue(!1)}}function Xu(e){var t=!0;e.current.mode&(Hv|Uv)||(t=!1),Ju(e,e.current,t)}function Zu(e){if((fC&rC)===nC){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=w(e)||`ReactComponent`,Dw!==null){if(Dw.has(t))return;Dw.add(t)}else Dw=new Set([t]);T(e,function(){console.error(`Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.`)})}}}function Qu(e,t){Fh&&e.memoizedUpdaters.forEach(function(n){it(e,n,t)})}function $u(e,t){var n=L.actQueue;return n===null?yh(e,t):(n.push(t),Aw)}function ed(e){$l()&&L.actQueue===null&&T(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
162
+
163
+ When testing, code that causes React state updates should be wrapped into act(...):
164
+
165
+ act(() => {
166
+ /* fire events that update state */
167
+ });
168
+ /* assert on the output */
169
+
170
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,w(e))})}function td(e){e!==Mw&&e.next===null&&(Mw===null?jw=Mw=e:Mw=Mw.next=e),Fw=!0,L.actQueue===null?Nw||(Nw=!0,ld()):Pw||(Pw=!0,ld())}function nd(e,t){if(!Iw&&Fw){Iw=!0;do for(var n=!1,r=jw;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-Ih(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,sd(r,a))}else a=$,a=Ke(r,r===pC?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==OT),!(a&3)||qe(r,a)||(n=!0,sd(r,a))}r=r.next}while(n);Iw=!1}}function rd(){TT=window.event,id()}function id(){Fw=Pw=Nw=!1;var e=0;Lw!==0&&tf()&&(e=Lw);for(var t=Ch(),n=null,r=jw;r!==null;){var i=r.next,a=ad(r,t);a===0?(r.next=null,n===null?jw=i:n.next=i,i===null&&(Mw=n)):(n=r,(e!==0||a&3)&&(Fw=!0)),r=i}rw!==ZC&&rw!==nw||nd(e,!1),Lw!==0&&(Lw=0)}function ad(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ih(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ye(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=pC,n=$,n=Ke(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==OT),r=e.callbackNode,n===0||e===t&&(wC===gC||wC===CC)||e.cancelPendingCommit!==null)return r!==null&&cd(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||qe(e,n)){if(t=n&-n,t!==e.callbackPriority||L.actQueue!==null&&r!==Rw)cd(r);else return t;switch(ot(n)){case Hh:case Uh:n=Eh;break;case Wh:n=Dh;break;case Gh:n=kh;break;default:n=Dh}return r=od.bind(null,e),L.actQueue===null?n=yh(n,r):(L.actQueue.push(r),n=Rw),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&cd(r),e.callbackPriority=2,e.callbackNode=null,2}function od(e,t){if(sb=ob=!1,TT=window.event,rw!==ZC&&rw!==nw)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(hw===qC&&(hw=YC),zu()&&e.callbackNode!==n)return null;var r=$;return r=Ke(e,e===pC?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==OT),r===0?null:(iu(e,r,t),ad(e,Ch()),e.callbackNode!=null&&e.callbackNode===n?od.bind(null,e):null)}function sd(e,t){if(zu())return null;ob=sb,sb=!1,iu(e,t,!0)}function cd(e){e!==Rw&&e!==null&&bh(e)}function ld(){L.actQueue!==null&&L.actQueue.push(function(){return id(),null}),jT(function(){(fC&(rC|iC))===nC?id():yh(Th,rd)})}function ud(){if(Lw===0){var e=ub;e===0&&(e=zh,zh<<=1,!(zh&261888)&&(zh=256)),Lw=e}return Lw}function dd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:(ze(e,`action`),Sn(e))}function fd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=dd((i[Jh]||null).action),o=r.submitter;o&&(t=(t=o[Jh]||null)?dd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new l_(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Lw!==0){var e=new FormData(i,o),t={pending:!0,data:e,method:i.method,action:a};Object.freeze(t),ts(n,t,null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),t={pending:!0,data:e,method:i.method,action:a},Object.freeze(t),ts(n,t,a,e))},currentTarget:i}]})}}function pd(e,t,n){e.currentTarget=n;try{t(e)}catch(e){hv(e)}e.currentTarget=null}function md(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n];a:{var i=void 0,a=r.event;if(r=r.listeners,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!==i&&a.isPropagationStopped())break a;c===null?pd(a,s,l):T(c,pd,a,s,l),i=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?pd(a,s,l):T(c,pd,a,s,l),i=c}}}}function hd(e,t){Bw.has(e)||console.error(`Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.`,e);var n=t[Xh];n===void 0&&(n=t[Xh]=new Set);var r=e+`__bubble`;n.has(r)||(vd(t,e,2,!1),n.add(r))}function gd(e,t,n){Bw.has(e)&&!t&&console.error(`Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.`,e);var r=0;t&&(r|=4),vd(n,e,r,t)}function _d(e){if(!e[Vw]){e[Vw]=!0,ng.forEach(function(t){t!==`selectionchange`&&(Bw.has(t)||gd(t,!1,e),gd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Vw]||(t[Vw]=!0,gd(`selectionchange`,!1,t))}}function vd(e,t,n,r){switch(lm(t)){case Hh:var i=im;break;case Uh:i=am;break;default:i=om}n=i.bind(null,t,n,e),i=void 0,!r_||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 yd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=ut(s),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){r=a=o;continue a}s=s.parentNode}}r=r.return}En(function(){var r=a,i=wn(n),o=[];a:{var s=cv.get(e);if(s!==void 0){var c=l_,l=e;switch(e){case`keypress`:if(kn(n)===0)break a;case`keydown`:case`keyup`:c=E_;break;case`focusin`:l=`focus`,c=v_;break;case`focusout`:l=`blur`,c=v_;break;case`beforeblur`:case`afterblur`:c=v_;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`:c=g_;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=__;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=k_;break;case tv:case nv:case rv:c=y_;break;case sv:c=A_;break;case`scroll`:case`scrollend`:c=d_;break;case`wheel`:c=j_;break;case`copy`:case`cut`:case`paste`:c=b_;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=D_;break;case`submit`:c=O_;break;case`toggle`:case`beforetoggle`:c=M_}var u=!!(t&4),d=!u&&(e===`scroll`||e===`scrollend`),f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){var h=p;if(m=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||m===null||f===null||(h=Dn(p,f),h!=null&&u.push(bd(p,h,m))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,s=e===`mouseout`||e===`pointerout`,c&&n!==Qg&&(l=n.relatedTarget||n.fromElement)&&(ut(l)||l[Yh]))break a;(s||c)&&(l=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,s?(c=n.relatedTarget||n.toElement,s=r,c=c?ut(c):null,c!==null&&(d=v(c),u=c.tag,c!==d||u!==5&&u!==27&&u!==6)&&(c=null)):(s=null,c=r),s!==c&&(u=g_,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=D_,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=s==null?l:ft(s),m=c==null?l:ft(c),l=new u(h,p+`leave`,s,n,i),l.target=d,l.relatedTarget=m,h=null,ut(i)===r&&(u=new u(f,p+`enter`,c,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,u=s&&c?de(s,c,Sd):null,s!==null&&Cd(o,l,s,u,!1),c!==null&&d!==null&&Cd(o,d,c,u,!0)))}a:{if(s=r?ft(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=Wn;else if(zn(s)){if(K_)g=Xn;else{g=Jn;var _=qn}}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&gn(r.elementType)&&(g=Wn):g=Yn;if(g&&=g(e,r)){Vn(o,g,n,i);break a}_&&_(e,s,r)}switch(_=r?ft(r):window,e){case`focusin`:(zn(_)||_.contentEditable===`true`)&&(Y_=_,X_=r,Z_=null);break;case`focusout`:Z_=X_=Y_=null;break;case`mousedown`:Q_=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Q_=!1,ar(o,n,i);break;case`selectionchange`:if(J_)break;case`keydown`:case`keyup`:ar(o,n,i)}var y;if(F_)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else H_?Fn(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===P_&&(b=`onCompositionStart`);b&&(R_&&n.locale!==`ko`&&(H_||b!==`onCompositionStart`?b===`onCompositionEnd`&&H_&&(y=On()):(a_=i,o_=`value`in a_?a_.value:a_.textContent,H_=!0)),_=xd(r,b),0<_.length&&(b=new x_(b,e,null,n,i),o.push({event:b,listeners:_}),y?b.data=y:(y=In(n),y!==null&&(b.data=y)))),(y=L_?Ln(e,n):Rn(e,n))&&(b=xd(r,`onBeforeInput`),0<b.length&&(_=new S_(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:_,listeners:b}),_.data=y)),fd(o,e,r,n,i)}md(o,t)})}function bd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xd(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=Dn(e,n),i!=null&&r.unshift(bd(e,i,a)),i=Dn(e,t),i!=null&&r.push(bd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Sd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Cd(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=Dn(n,a),l!=null&&o.unshift(bd(n,l,c))):i||(l=Dn(n,a),l!=null&&o.push(bd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}function wd(e,t){yn(e,t),e!==`input`&&e!==`textarea`&&e!==`select`||t==null||t.value!==null||Gg||(Gg=!0,e===`select`&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:rg,possibleRegistrationNames:ig};gn(e)||typeof t.is==`string`||xn(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Td(e,t,n,r){t!==n&&(n=jd(n),jd(t)!==n&&(r[e]=t))}function Ed(e){return!!(e.getAttribute(`vt-share`)||e.getAttribute(`vt-exit`)||e.getAttribute(`vt-enter`)||e.getAttribute(`vt-update`))}function Dd(e){if(!Ed(e))return!1;var t=e.getAttribute(`vt-name`);return e=e.style[`view-transition-name`],t?t===e:e.startsWith(`_T_`)}function Od(e,t,n){t.forEach(function(t){t===`style`?e.getAttribute(t)!==``&&(t=e.style,(t.length===1&&t[0]===`view-transition-name`||t.length===2&&t[0]===`view-transition-class`&&t[1]===`view-transition-name`)&&Dd(e)||(n.style=Rd(e))):n[Ld(t)]=e.getAttribute(t)})}function kd(e,t){!1===t?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Ad(e,t){return e=e.namespaceURI===Lg||e.namespaceURI===Rg?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function jd(e){return Le(e)&&(console.error(`The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.`,Ie(e)),Re(e)),(typeof e==`string`?e:``+e).replace(Xw,`
171
+ `).replace(Zw,``)}function Md(e,t){return t=jd(t),jd(e)===t}function Nd(e,t,n,r,i,a){switch(n){case`children`:if(typeof r==`string`)dn(r,t,!1),t===`body`||t===`textarea`&&r===``||fn(e,r);else if(typeof r==`number`||typeof r==`bigint`)dn(``+r,t,!1),t!==`body`&&fn(e,``+r);else return;break;case`className`:Ct(e,`class`,r);break;case`tabIndex`:Ct(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Ct(e,n,r);break;case`style`:hn(e,r,a);return;case`data`:if(t!==`object`){Ct(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){console.error(n===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,n,n),e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}ze(r,n),r=Sn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(r!=null&&(t===`form`?n===`formAction`?console.error(`You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.`):typeof r==`function`&&(i.encType==null&&i.method==null||qw||(qw=!0,console.error(`Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`)),i.target==null||Kw||(Kw=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`))):t===`input`||t===`button`?n===`action`?console.error(`You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.`):t!==`input`||i.type===`submit`||i.type===`image`||Ww?t!==`button`||i.type==null||i.type===`submit`||Ww?typeof r==`function`&&(i.name==null||Gw||(Gw=!0,console.error(`Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`)),i.formEncType==null&&i.formMethod==null||qw||(qw=!0,console.error(`Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`)),i.formTarget==null||Kw||(Kw=!0,console.error(`Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`))):(Ww=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`)):(Ww=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`)):console.error(n===`action`?`You can only pass the action prop to <form>.`:`You can only pass the formAction prop to <input> or <button>.`)),typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof a==`function`&&(n===`formAction`?(t!==`input`&&Nd(e,t,`name`,i.name,i,null),Nd(e,t,`formEncType`,i.formEncType,i,null),Nd(e,t,`formMethod`,i.formMethod,i,null),Nd(e,t,`formTarget`,i.formTarget,i,null)):(Nd(e,t,`encType`,i.encType,i,null),Nd(e,t,`method`,i.method,i,null),Nd(e,t,`target`,i.target,i,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}ze(r,n),r=Sn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(typeof r!=`function`&&kd(n,r),e.onclick=Cn);return;case`onScroll`:r!=null&&(typeof r!=`function`&&kd(n,r),hd(`scroll`,e));return;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&kd(n,r),hd(`scrollend`,e));return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");a?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}ze(r,n),n=Sn(r),e.setAttributeNS(Qw,`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`?(ze(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`inert`:r!==``||Yw[n]||(Yw[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(ze(r,n),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?(ze(r,n),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):(ze(r,n),e.setAttribute(n,r));break;case`popover`:hd(`beforetoggle`,e),hd(`toggle`,e),St(e,`popover`,r);break;case`xlinkActuate`:wt(e,Qw,`xlink:actuate`,r);break;case`xlinkArcrole`:wt(e,Qw,`xlink:arcrole`,r);break;case`xlinkRole`:wt(e,Qw,`xlink:role`,r);break;case`xlinkShow`:wt(e,Qw,`xlink:show`,r);break;case`xlinkTitle`:wt(e,Qw,`xlink:title`,r);break;case`xlinkType`:wt(e,Qw,`xlink:type`,r);break;case`xmlBase`:wt(e,$w,`xml:base`,r);break;case`xmlLang`:wt(e,$w,`xml:lang`,r);break;case`xmlSpace`:wt(e,$w,`xml:space`,r);break;case`is`:a!=null&&console.error(`Cannot update the "is" prop after it has been initialized.`),St(e,`is`,r);break;case`innerText`:case`textContent`:return;case`popoverTarget`:Jw||typeof r!=`object`||!r||(Jw=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=_n(n),St(e,n,r);else{rg.hasOwnProperty(n)&&r!=null&&typeof r!=`function`&&kd(n,r);return}}z=!0}function Pd(e,t,n,r,i,a){switch(n){case`style`:hn(e,r,a);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");a?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)fn(e,r);else if(typeof r==`number`||typeof r==`bigint`)fn(e,``+r);else return;break;case`onScroll`:r!=null&&(typeof r!=`function`&&kd(n,r),hd(`scroll`,e));return;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&kd(n,r),hd(`scrollend`,e));return;case`onClick`:r!=null&&(typeof r!=`function`&&kd(n,r),e.onclick=Cn);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(rg.hasOwnProperty(n))r!=null&&typeof r!=`function`&&kd(n,r);else a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),a=n.slice(2,i?n.length-7:void 0),t=e[Jh]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(a,t,i),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(a,r,i);break a}z=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):St(e,n,r)}return}z=!0}function Fd(e,t,n){switch(wd(t,n),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:hd(`error`,e),hd(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Nd(e,t,a,o,n,null)}}i&&Nd(e,t,`srcSet`,n.srcSet,n,null),r&&Nd(e,t,`src`,n.src,n,null);return;case`input`:vt(`input`,n),hd(`invalid`,e);var s=a=o=i=null,c=null,l=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(u!=null)switch(r){case`name`:i=u;break;case`type`:o=u;break;case`checked`:c=u;break;case`defaultChecked`:l=u;break;case`value`:a=u;break;case`defaultValue`:s=u;break;case`children`:case`dangerouslySetInnerHTML`:if(u!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Nd(e,t,r,u,n,null)}}jt(e,n),Nt(e,a,s,c,l,o,i,!1);return;case`select`:for(i in vt(`select`,n),hd(`invalid`,e),r=o=a=null,n)if(n.hasOwnProperty(i)&&(s=n[i],s!=null))switch(i){case`value`:a=s;break;case`defaultValue`:o=s;break;case`multiple`:r=s;default:Nd(e,t,i,s,n,null)}Rt(e,n),t=a,n=o,e.multiple=!!r,t==null?n!=null&&Lt(e,!!r,n,!0):Lt(e,!!r,t,!1);return;case`textarea`:for(o in vt(`textarea`,n),hd(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case`value`:r=s;break;case`defaultValue`:i=s;break;case`children`:a=s;break;case`dangerouslySetInnerHTML`:if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Nd(e,t,o,s,n,null)}Bt(e,n),Ut(e,r,i,a);return;case`option`:for(c in Ft(e,n),n)if(n.hasOwnProperty(c)&&(r=n[c],r!=null))switch(c){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Nd(e,t,c,r,n,null)}return;case`dialog`:hd(`beforetoggle`,e),hd(`toggle`,e),hd(`cancel`,e),hd(`close`,e);break;case`iframe`:case`object`:hd(`load`,e);break;case`video`:case`audio`:for(r=0;r<zw.length;r++)hd(zw[r],e);break;case`image`:hd(`error`,e),hd(`load`,e);break;case`details`:hd(`toggle`,e);break;case`embed`:case`source`:case`link`:hd(`error`,e),hd(`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(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Nd(e,t,l,r,n,null)}return;default:if(gn(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&Pd(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&Nd(e,t,s,r,n,null))}function Id(e,t,n,r){switch(wd(t,r),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,o=null,s=null,c=null,l=null,u=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&d!=null)switch(p){case`checked`:break;case`value`:break;case`defaultValue`:c=d;default:r.hasOwnProperty(p)||Nd(e,t,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(p!=null||d!=null))switch(f){case`type`:p!==d&&(z=!0),a=p;break;case`name`:p!==d&&(z=!0),i=p;break;case`checked`:p!==d&&(z=!0),l=p;break;case`defaultChecked`:p!==d&&(z=!0),u=p;break;case`value`:p!==d&&(z=!0),o=p;break;case`defaultValue`:p!==d&&(z=!0),s=p;break;case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:p!==d&&Nd(e,t,f,p,r,d)}}t=n.type===`checkbox`||n.type===`radio`?n.checked!=null:n.value!=null,r=r.type===`checkbox`||r.type===`radio`?r.checked!=null:r.value!=null,t||!r||Uw||(console.error(`A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`),Uw=!0),!t||r||Hw||(console.error(`A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`),Hw=!0),Mt(e,o,s,c,l,u,a,i);return;case`select`:for(a in p=o=s=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&c!=null)switch(a){case`value`:break;case`multiple`:p=c;default:r.hasOwnProperty(a)||Nd(e,t,a,null,r,c)}for(i in r)if(a=r[i],c=n[i],r.hasOwnProperty(i)&&(a!=null||c!=null))switch(i){case`value`:a!==c&&(z=!0),f=a;break;case`defaultValue`:a!==c&&(z=!0),s=a;break;case`multiple`:a!==c&&(z=!0),o=a;default:a!==c&&Nd(e,t,i,a,r,c)}r=s,t=o,n=p,f==null?!!n!=!!t&&(r==null?Lt(e,!!t,t?[]:``,!1):Lt(e,!!t,r,!0)):Lt(e,!!t,f,!1);return;case`textarea`:for(s in p=f=null,n)if(i=n[s],n.hasOwnProperty(s)&&i!=null&&!r.hasOwnProperty(s))switch(s){case`value`:break;case`children`:break;default:Nd(e,t,s,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case`value`:i!==a&&(z=!0),f=i;break;case`defaultValue`:i!==a&&(z=!0),p=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:i!==a&&Nd(e,t,o,i,r,a)}Ht(e,f,p);return;case`option`:for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&f!=null&&!r.hasOwnProperty(m))switch(m){case`selected`:e.selected=!1;break;default:Nd(e,t,m,null,r,f)}for(c in r)if(f=r[c],p=n[c],r.hasOwnProperty(c)&&f!==p&&(f!=null||p!=null))switch(c){case`selected`:f!==p&&(z=!0),e.selected=f&&typeof f!=`function`&&typeof f!=`symbol`;break;default:Nd(e,t,c,f,r,p)}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 h in n)f=n[h],n.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&Nd(e,t,h,null,r,f);for(l in r)if(f=r[l],p=n[l],r.hasOwnProperty(l)&&f!==p&&(f!=null||p!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:if(f!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Nd(e,t,l,f,r,p)}return;default:if(gn(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&f!==void 0&&!r.hasOwnProperty(g)&&Pd(e,t,g,void 0,r,f);for(u in r)f=r[u],p=n[u],!r.hasOwnProperty(u)||f===p||f===void 0&&p===void 0||Pd(e,t,u,f,r,p);return}}for(var _ in n)f=n[_],n.hasOwnProperty(_)&&f!=null&&!r.hasOwnProperty(_)&&Nd(e,t,_,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||f==null&&p==null||Nd(e,t,d,f,r,p)}function Ld(e){switch(e){case`class`:return`className`;case`for`:return`htmlFor`;default:return e}}function Rd(e){for(var t={},n=e.style,r=0;r<n.length;r++){var i=n[r];i===`view-transition-name`&&Dd(e)||(t[i]=n.getPropertyValue(i))}return t}function zd(e,t,n){if(t!=null&&typeof t!=`object`)console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,i=r=``,a;for(a in t)if(t.hasOwnProperty(a)){var o=t[a];o!=null&&typeof o!=`boolean`&&o!==``&&(a.indexOf(`--`)===0?(Be(o,a),r+=i+a+`:`+(``+o).trim()):typeof o!=`number`||o===0||Ig.has(a)?(Be(o,a),r+=i+a.replace(Eg,`-$1`).toLowerCase().replace(Dg,`-ms-`)+`:`+(``+o).trim()):r+=i+a.replace(Eg,`-$1`).toLowerCase().replace(Dg,`-ms-`)+`:`+o+`px`,i=`;`)}r||=null,t=e.getAttribute(`style`),t!==r&&(r=jd(r),t=jd(t),t===r||t[t.length-1]===`;`&&Ed(e)||(n.style=Rd(e)))}}function Bd(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(ze(r,t),e===``+r)return}Td(t,e,r,a)}function Vd(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null){switch(typeof r){case`function`:case`symbol`:return}if(!r)return}else switch(typeof r){case`function`:case`symbol`:break;default:if(r)return}Td(t,e,r,a)}function Hd(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:break;default:if(ze(r,n),e===``+r)return}Td(t,e,r,a)}function Ud(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return;default:if(isNaN(r))return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(!isNaN(r)&&(ze(r,t),e===``+r))return}Td(t,e,r,a)}function Wd(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(ze(r,t),n=Sn(``+r),e===n)return}Td(t,e,r,a)}function Gd(e,t,n,r){for(var i={},a=new Set,o=e.attributes,s=0;s<o.length;s++)switch(o[s].name.toLowerCase()){case`value`:break;case`checked`:break;case`selected`:break;case`vt-name`:case`vt-update`:case`vt-enter`:case`vt-exit`:case`vt-share`:case`vt-parent-enter`:case`vt-parent-exit`:break;default:a.add(o[s].name)}if(gn(t)){for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];if(l!=null){if(rg.hasOwnProperty(c))typeof l!=`function`&&kd(c,l);else if(!0!==n.suppressHydrationWarning)switch(c){case`children`:typeof l!=`string`&&typeof l!=`number`||Td(`children`,e.textContent,l,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,l=l?l.__html:void 0,l!=null&&(l=Ad(e,l),Td(c,o,l,i));continue;case`style`:a.delete(c),zd(e,l,i);continue;case`offsetParent`:case`offsetTop`:case`offsetLeft`:case`offsetWidth`:case`offsetHeight`:case`isContentEditable`:case`outerText`:case`outerHTML`:a.delete(c.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",c);continue;case`className`:a.delete(`class`),o=xt(e,`class`,l),Td(`className`,o,l,i);continue;default:r.context===_T&&t!==`svg`&&t!==`math`?a.delete(c.toLowerCase()):a.delete(c),o=xt(e,c,l),Td(c,o,l,i)}}}}else for(l in n)if(n.hasOwnProperty(l)&&(c=n[l],c!=null)){if(rg.hasOwnProperty(l))typeof c!=`function`&&kd(l,c);else if(!0!==n.suppressHydrationWarning)switch(l){case`children`:typeof c!=`string`&&typeof c!=`number`||Td(`children`,e.textContent,c,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`value`:case`checked`:case`selected`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,c=c?c.__html:void 0,c!=null&&(c=Ad(e,c),o!==c&&(i[l]={__html:o}));continue;case`className`:Bd(e,l,`class`,c,a,i);continue;case`tabIndex`:Bd(e,l,`tabindex`,c,a,i);continue;case`style`:a.delete(l),zd(e,c,i);continue;case`multiple`:a.delete(l),Td(l,e.multiple,c,i);continue;case`muted`:a.delete(l),Td(l,e.muted,c,i);continue;case`autoFocus`:a.delete(`autofocus`),Td(l,e.autofocus,c,i);continue;case`data`:if(t!==`object`){a.delete(l),o=e.getAttribute(`data`),Td(l,o,c,i);continue}case`src`:case`href`:if(!(c!==``||t===`a`&&l===`href`||t===`object`&&l===`data`)){console.error(l===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,l,l);continue}Wd(e,l,l,c,a,i);continue;case`action`:case`formAction`:if(o=e.getAttribute(l),typeof c==`function`){a.delete(l.toLowerCase()),l===`formAction`?(a.delete(`name`),a.delete(`formenctype`),a.delete(`formmethod`),a.delete(`formtarget`)):(a.delete(`enctype`),a.delete(`method`),a.delete(`target`));continue}if(o===tT){a.delete(l.toLowerCase()),Td(l,`function`,c,i);continue}Wd(e,l,l.toLowerCase(),c,a,i);continue;case`xlinkHref`:Wd(e,l,`xlink:href`,c,a,i);continue;case`contentEditable`:Hd(e,l,`contenteditable`,c,a,i);continue;case`spellCheck`:Hd(e,l,`spellcheck`,c,a,i);continue;case`draggable`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:Hd(e,l,l,c,a,i);continue;case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:Vd(e,l,l.toLowerCase(),c,a,i);continue;case`capture`:case`download`:a:{s=e;var u=o=l,d=i;if(a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:break a;default:if(!1===c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:break;case`boolean`:if(!0===c&&s===``)break a;break;default:if(ze(c,o),s===``+c)break a}Td(o,s,c,d)}continue;case`cols`:case`rows`:case`size`:case`span`:a:{if(s=e,u=o=l,d=i,a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:case`boolean`:break a;default:if(isNaN(c)||1>c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:case`boolean`:break;default:if(!(isNaN(c)||1>c)&&(ze(c,o),s===``+c))break a}Td(o,s,c,d)}continue;case`rowSpan`:Ud(e,l,`rowspan`,c,a,i);continue;case`start`:Ud(e,l,l,c,a,i);continue;case`xHeight`:Bd(e,l,`x-height`,c,a,i);continue;case`xlinkActuate`:Bd(e,l,`xlink:actuate`,c,a,i);continue;case`xlinkArcrole`:Bd(e,l,`xlink:arcrole`,c,a,i);continue;case`xlinkRole`:Bd(e,l,`xlink:role`,c,a,i);continue;case`xlinkShow`:Bd(e,l,`xlink:show`,c,a,i);continue;case`xlinkTitle`:Bd(e,l,`xlink:title`,c,a,i);continue;case`xlinkType`:Bd(e,l,`xlink:type`,c,a,i);continue;case`xmlBase`:Bd(e,l,`xml:base`,c,a,i);continue;case`xmlLang`:Bd(e,l,`xml:lang`,c,a,i);continue;case`xmlSpace`:Bd(e,l,`xml:space`,c,a,i);continue;case`inert`:c!==``||Yw[l]||(Yw[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l)),Vd(e,l,l,c,a,i);continue;default:if(!(2<l.length)||l[0]!==`o`&&l[0]!==`O`||l[1]!==`n`&&l[1]!==`N`){s=_n(l),o=!1,r.context===_T&&t!==`svg`&&t!==`math`?a.delete(s.toLowerCase()):(u=l.toLowerCase(),u=Bg.hasOwnProperty(u)&&Bg[u]||null,u!==null&&u!==l&&(o=!0,a.delete(u)),a.delete(s));a:if(u=e,d=s,s=c,yt(d)){if(u.hasAttribute(d))u=d.toLowerCase()===`nonce`?u.nonce:u.getAttribute(d),ze(s,d),s=u===``+s?s:u;else{switch(typeof s){case`function`:case`symbol`:break a;case`boolean`:if(u=d.toLowerCase().slice(0,5),u!==`data-`&&u!==`aria-`)break a}s=s===void 0?void 0:null}}else s=void 0;o||Td(l,s,c,i)}}}return 0<a.size&&!0!==n.suppressHydrationWarning&&Od(e,a,i),Object.keys(i).length===0?null:i}function Kd(e,t){switch(e.length){case 0:return``;case 1:return e[0];case 2:return e[0]+` `+t+` `+e[1];default:return e.slice(0,-1).join(`, `)+`, `+t+` `+e[e.length-1]}}function qd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Jd(){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&&qd(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&&qd(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}function Yd(e){return e.nodeType===9?e:e.ownerDocument}function Xd(e){switch(e){case Rg:return vT;case Lg:return yT;default:return _T}}function Zd(e,t){if(e===_T)switch(t){case`svg`:return vT;case`math`:return yT;default:return _T}return e===vT&&t===`foreignObject`?_T:e}function Qd(e,t,n,r){return n=Yd(n).createElement(e),n[qh]=r,n[Jh]=t,Fd(n,e,t),mt(n),n}function $d(e){if(e=e.type,typeof e!=`string`||e===``||(e=e.toLowerCase(),e===`module`||e===`importmap`||e===`speculationrules`))return!1;switch(e){case`application/ecmascript`:case`application/javascript`:case`application/x-ecmascript`:case`application/x-javascript`:case`text/ecmascript`:case`text/javascript`:case`text/javascript1.0`:case`text/javascript1.1`:case`text/javascript1.2`:case`text/javascript1.3`:case`text/javascript1.4`:case`text/javascript1.5`:case`text/jscript`:case`text/livescript`:case`text/x-ecmascript`:case`text/x-javascript`:return!1}return!0}function ef(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}function tf(){var e=window.event;return e&&e.type===`popstate`?e!==wT&&(wT=e,!0):(wT=null,!1)}function nf(){var e=window.event;return e&&e!==TT?e.type:null}function rf(){var e=window.event;return e&&e!==TT?e.timeStamp:-1.1}function af(e){setTimeout(function(){throw e})}function of(e,t,n){switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&e.focus();break;case`img`:n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function sf(){}function cf(e,t,n,r){Id(e,t,n,r),e[Jh]=r}function lf(e){fn(e,``)}function uf(e,t,n){e.nodeValue=n}function df(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Jh]||null;if(t!==null){var n=dt(e);n!==null&&(typeof t.children==`string`||typeof t.children==`number`?(e.__reactWarnedAboutChildrenConflict=!0,T(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,T(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function ff(e){return e===`head`}function pf(e,t){e.removeChild(t)}function mf(e,t){(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e).removeChild(t)}function hf(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===oT||n===iT){if(r===0){e.removeChild(i),ym(t);return}r--}else if(n===aT||n===sT||n===cT||n===lT||n===rT)r++;else if(n===uT)bp(e.ownerDocument.documentElement);else if(n===fT){n=e.ownerDocument.head,bp(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[eg]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===dT&&bp(e.ownerDocument.body)}n=i}while(n);ym(t)}function gf(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===oT){if(e===0)break;e--}else n!==aT&&n!==sT&&n!==cT&&n!==lT||e++}n=r}while(n)}function _f(e){gf(e,!0)}function vf(e){e=e.style,typeof e.setProperty==`function`?e.setProperty(`display`,`none`,`important`):e.display=`none`}function yf(e){e.nodeValue=``}function bf(e){gf(e,!1)}function xf(e,t){t=t[gT],t=t!=null&&t.hasOwnProperty(`display`)?t.display:null,e.style.display=t==null||typeof t==`boolean`?``:(``+t).trim()}function Sf(e,t){e.nodeValue=t}function Cf(e){for(var t=e.firstChild;t!=null;){if(t.nodeType===1&&getComputedStyle(t).display===`block`){T(dt(t)||dt(e),function(e,t){console.error(`You're about to start a <ViewTransition> around a display: inline element <%s>, which itself has a display: block element <%s> inside it. This might trigger a bug in Safari which causes the View Transition to be skipped with a duplicate name error.
172
+ https://bugs.webkit.org/show_bug.cgi?id=290923`,e.toLocaleLowerCase(),t.toLocaleLowerCase())},e.tagName,t.tagName);break}if(t.firstChild!=null)t=t.firstChild;else{if(t===e)break;for(;t.nextSibling==null&&t.parentNode!=null&&t.parentNode!==e;)t=t.parentNode;t=t.nextSibling}}}function wf(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1?(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom):Cf(e)}}function Tf(e,t){e=e.style,t=t[gT];var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function Ef(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Df(e){return Ef(e.getBoundingClientRect(),getComputedStyle(e),e)}function Of(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return Ef(t,n,e)}function kf(e,t){if(typeof e==`object`&&e)switch(e.name){case`TimeoutError`:return Error(`A ViewTransition timed out because a Navigation stalled. This can happen if a Navigation is blocked on React itself. Such as if it's resolved inside useEffect. This can be solved by moving the resolution to useLayoutEffect.`,{cause:e});case`AbortError`:return t?null:Error(`A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.`,{cause:e});case`InvalidStateError`:if(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)return null}return e}function Af(e){return e.documentElement.clientHeight}function jf(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function Mf(e,t,n,r,i,a,o,s,c,l,u){var d=t.nodeType===9?t:t.ownerDocument;try{var f=d.startViewTransition({update:function(){var t=d.defaultView,n=t.navigation&&t.navigation.transition,o=d.fonts.status;r();var s=[];if(o===`loaded`&&(Af(d),d.fonts.status===`loading`&&s.push(d.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,f=0;f<c.length;f++){var p=c[f];if(!p.complete){var m=p.getBoundingClientRect();if(0<m.bottom&&0<m.right&&m.top<t.innerHeight&&m.left<t.innerWidth){if(u+=Bp(p),u>YT){s.length=o;break}p=new Promise(jf.bind(p)),s.push(p)}}}if(0<s.length)return l(0<o?s.length>o?`Waiting on Fonts and Images`:`Waiting on Fonts`:`Waiting on Images`),t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,MT)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});d.__reactViewTransition=f;var p=[];return f.ready.then(function(){for(var e=d.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){p.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var l=n[c],u=l.width;if(i===void 0)i=u;else if(i!==u){s=!1;break}if(u=l.height,a===void 0)a=u;else if(a!==u){s=!1;break}delete l.width,delete l.height,l.transform===`none`&&delete l.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){d.__reactViewTransition===f&&(d.__reactViewTransition=null);try{e=kf(e,!1),e!==null&&c(e)}finally{r(),i(),o(),u()}}),f.finished.finally(function(){for(var e=0;e<p.length;e++)p[e].cancel();d.__reactViewTransition===f&&(d.__reactViewTransition=null),u(),s()}),f}catch{return r(),i(),u(),o(),null}}function Nf(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}function Pf(e){return{name:e,group:new Nf(`group`,e),imagePair:new Nf(`image-pair`,e),old:new Nf(`old`,e),new:new Nf(`new`,e)}}function Ff(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function If(e,t,n,r){return se(e).addEventListener(t,n,r),!1}function Lf(e,t,n,r){return se(e).removeEventListener(t,n,r),!1}function Rf(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function zf(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function Bf(e,t,n,r){if(e.length===0)return-1;r=zf(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&zf(a.optionsOrUseCapture)===r)return i}return-1}function Vf(e,t){return e.tag!==6&&(e=se(e),hp(e,t))}function Hf(e,t){return t.push(e),!1}function Uf(e,t){return e.tag!==6&&(e=se(e),e===t||e.contains(t)?(t.blur(),!0):!1)}function Wf(e,t){return e.tag===6||(e=se(e),t.observe(e)),!1}function Gf(e,t){return e.tag===6||(e=se(e),t.unobserve(e)),!1}function Kf(e,t,n){NT.push({fragmentInstance:e,observer:t,instance:n}),PT||(PT=!0,gp(function(){PT=!1;var e=NT;NT=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}function qf(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=se(e),t.push.apply(t,e.getClientRects());return!1}function Jf(e,t,n,r,i){var a=ut(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)a:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break a}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;a:{for(a=t,t=re(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break a}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=de(n,a,ue),t===null?t=!1:(S(t,!0,ce,a,n),a=Dm,Dm=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=de(r,a,ue),t===null?t=!1:(S(t,!0,le,a,r),a=Dm,Om=Dm=null,t=a!==null)),t):!1}function Yf(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function Xf(e,t){return e=se(e),Zf(e,t),!1}function Zf(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function Qf(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,Rf(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<NT.length;i++){var a=NT[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(NT[r++]=a)}NT.length=r,n.observe(e)}),Zf(e,t))}function $f(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,Rf(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?Kf(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function ep(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`:ep(n),lt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function tp(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`){ze(i.name,`name`);var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[eg])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=sp(e.nextSibling),e===null)break}return null}function np(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=sp(e.nextSibling),e===null))return null;return e}function rp(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=sp(e.nextSibling),e===null))return null;return e}function ip(e){return e.data===sT||e.data===cT}function ap(e){return e.data===lT||e.data===sT&&e.ownerDocument.readyState!==hT}function op(e,t){var n=e.ownerDocument;if(e.data===cT)e._reactRetry=t;else if(e.data!==sT||n.readyState!==hT)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function sp(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===aT||t===lT||t===sT||t===cT||t===rT||t===pT||t===mT)break;if(t===oT||t===iT)return null}}return e}function cp(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,i=0;i<r.length;i++){var a=r[i];n[Ld(a.name)]=a.name.toLowerCase()===`style`?Rd(e):a.value}return{type:t,props:n}}return e.nodeType===8?e.data===rT?{type:`Activity`,props:{}}:{type:`Suspense`,props:{}}:e.nodeValue}function lp(e,t,n){return n===null||!0!==n[nT]?(e.nodeValue===t?e=null:(t=jd(t),e=jd(e.nodeValue)===t?null:e.nodeValue),e):null}function up(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===oT||n===iT){if(t===0)return sp(e.nextSibling);t--}else n!==aT&&n!==lT&&n!==sT&&n!==cT&&n!==rT||t++}e=e.nextSibling}return null}function dp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===aT||n===lT||n===sT||n===cT||n===rT){if(t===0)return e;t--}else n!==oT&&n!==iT||t++}e=e.previousSibling}return null}function fp(e){ym(e)}function pp(e){ym(e)}function mp(e){ym(e)}function hp(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function gp(e){AT(function(){AT(function(t){return e(t)})})}function _p(e,t,n,r,i){switch(i&&un(e,r.ancestorInfo),t=Yd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(`React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`head`:if(e=t.head,!e)throw Error(`React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`body`:if(e=t.body,!e)throw Error(`React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.`);return e;default:throw Error(`resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}}function vp(e,t,n,r){if(!n[Yh]&&dt(n)){var i=n.tagName.toLowerCase();console.error(`You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.`,i,i,i)}switch(e){case`html`:case`head`:case`body`:break;default:console.error(`acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}for(i=n.attributes;i.length;)n.removeAttributeNode(i[0]);Fd(n,e,t),n[qh]=r,n[Jh]=t}function yp(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&Nd(e,t,r,null,eT,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===Cn&&(e.onclick=null),lt(e)}function bp(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);lt(e)}function xp(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}function Sp(e,t,n){var r=WT;if(r&&typeof t==`string`&&t){var i=At(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),HT.has(i)||(HT.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Fd(t,`link`,e),mt(t),r.head.appendChild(t)))}}function Cp(e,t,n,r){var i=(i=rh.current)?xp(i):null;if(!i)throw Error(`"resourceRoot" was expected to exist. This is a bug in React.`);switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Tp(n.href),t=pt(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Tp(n.href);var a=pt(i).hoistableStyles,o=a.get(e);if(o||(i=i.ownerDocument||i,o={type:`stylesheet`,instance:null,count:0,state:{loading:IT,preload:null}},a.set(e,o),(a=i.querySelector(Ep(e)))?a._p||(o.instance=a,o.state.loading=LT|BT):(a=VT.get(e),a||(a={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},VT.set(e,a)),Op(i,e,a,o.state))),t&&r===null)throw n=`
173
+
174
+ - `+wp(t)+`
175
+ + `+wp(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return o}if(t&&r!==null)throw n=`
176
+
177
+ - `+wp(t)+`
178
+ + `+wp(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=kp(n),t=pt(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(`getResource encountered a type it did not expect: "`+e+`". this is a bug in React.`)}}function wp(e){var t=0,n=`<link`;return typeof e.rel==`string`?(t++,n+=` rel="`+e.rel+`"`):vh.call(e,`rel`)&&(t++,n+=` rel="`+(e.rel===null?`null`:`invalid type `+typeof e.rel)+`"`),typeof e.href==`string`?(t++,n+=` href="`+e.href+`"`):vh.call(e,`href`)&&(t++,n+=` href="`+(e.href===null?`null`:`invalid type `+typeof e.href)+`"`),typeof e.precedence==`string`?(t++,n+=` precedence="`+e.precedence+`"`):vh.call(e,`precedence`)&&(t++,n+=` precedence={`+(e.precedence===null?`null`:`invalid type `+typeof e.precedence)+`}`),Object.getOwnPropertyNames(e).length>t&&(n+=` ...`),n+` />`}function Tp(e){return`href="`+At(e)+`"`}function Ep(e){return`link[rel="stylesheet"][`+e+`]`}function Dp(e){return I({},e,{"data-precedence":e.precedence,precedence:null})}function Op(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[tg]){r.loading=LT;return}}else t=e.createElement(`link`),t[tg]=!0,t.onload=t.onerror=ht.bind(null,t),Fd(t,`link`,n),mt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=LT}),t.addEventListener(`error`,function(){return r.loading|=RT})}function kp(e){return`[src="`+At(e)+`"]`}function Ap(e){return`script[async]`+e}function jp(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+At(n.href)+`"]`);if(r)return t.instance=r,mt(r),r;var i=I({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),mt(r),Fd(r,`style`,i),Mp(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Tp(n.href);var a=e.querySelector(Ep(i));if(a)return t.state.loading|=BT,t.instance=a,mt(a),a;r=Dp(n),(i=VT.get(i))&&Np(r,i),a=(e.ownerDocument||e).createElement(`link`),mt(a);var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Fd(a,`link`,r),t.state.loading|=BT,Mp(a,n.precedence,e),t.instance=a;case`script`:return a=kp(n.src),(i=e.querySelector(Ap(a)))?(t.instance=i,mt(i),i):(r=n,(i=VT.get(a))&&(r=I({},n),Pp(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),mt(i),Fd(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(`acquireResource encountered a resource type it did not expect: "`+t.type+`". this is a bug in React.`)}else t.type===`stylesheet`&&(t.state.loading&BT)===IT&&(r=t.instance,t.state.loading|=BT,Mp(r,n.precedence,e));return t.instance}function Mp(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 Np(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Pp(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}function Fp(e,t,n){if(GT===null){var r=new Map,i=GT=new Map;i.set(n,r)}else i=GT,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[eg]||a[qh]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==Rg){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Ip(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Lp(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===vT||t.itemProp!=null)return!r||t.itemProp==null||e!==`meta`&&e!==`title`&&e!==`style`&&e!==`link`&&e!==`script`||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError){if(t.rel===`stylesheet`&&typeof t.precedence==`string`){e=t.href;var i=t.onError,a=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),i&&n.push("`onError`"),a!=null&&n.push("`disabled`"),i=Kd(n,`and`),i+=n.length===1?` prop`:` props`,a=n.length===1?`an `+i:`the `+i,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,a,i)}r&&(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error(`Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`));break}switch(t.rel){case`stylesheet`:return e=t.precedence,t=t.disabled,typeof e!=`string`&&r&&console.error(`Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.`),typeof e==`string`&&t==null;default:return!0}case`script`:if(e=t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`,!e||t.onLoad||t.onError||!t.src||typeof t.src!=`string`){r&&(e?t.onLoad||t.onError?console.error(`Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error(`Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.`));break}return!0;case`noscript`:case`template`:r&&console.error(`Cannot render <%s> outside the main document. Try moving it into the root <head> tag.`,e)}return!1}function Rp(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function zp(e){return e.type!==`stylesheet`||(e.state.loading&zT)!==IT}function Bp(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Vp(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Bp(t),e.suspenseyImages.push(t)),e=Kp.bind(e),t.decode().then(e,e))}function Hp(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&(n.state.loading&BT)===IT){if(n.instance===null){var i=Tp(r.href),a=t.querySelector(Ep(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Gp.bind(e),t.then(e,e)),n.state.loading|=BT,n.instance=a,mt(a);return}a=t.ownerDocument||t,r=Dp(r),(i=VT.get(i))&&Np(r,i),a=a.createElement(`link`),mt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Fd(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&zT)===IT&&(e.count++,n=Gp.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}function Up(e,t){return e.stylesheets&&e.count===0&&qp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&qp(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},KT+t);0<e.imgBytes&&YT===0&&(YT=125*Jd()*JT);var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&qp(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>YT?50:qT)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Wp(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)qp(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Gp(){this.count--,Wp(this)}function Kp(){this.imgCount--,Wp(this)}function qp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ZT=new Map,t.forEach(Jp,e),ZT=null,Gp.call(e))}function Jp(e,t){if(!(t.state.loading&BT)){var n=ZT.get(e);if(n)var r=n.get(XT);else{n=new Map,ZT.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(XT,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(XT,i),n.set(o,i),this.count++,r=Gp.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|=BT}}function Yp(e,t,n,r,i,a,o,s,c){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=OT,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ze(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ze(0),this.hiddenUpdates=Ze(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?`hydrateRoot()`:`createRoot()`}function Xp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Yp(e,t,n,o,c,l,u,d,s),t=Vv,!0===a&&(t|=Hv|Uv),t|=W,a=p(3,null,null,t),e.current=a,a.stateNode=e,t=Ci(),wi(t),e.pooledCache=t,wi(t),a.memoizedState={element:r,isDehydrated:n,cache:t},ya(a),e}function Zp(e){return e?(e=Rv,e):Rv}function Qp(e,t,n,r,i,a){if(Nh&&typeof Nh.onScheduleFiberRoot==`function`)try{Nh.onScheduleFiberRoot(Mh,r,n)}catch(e){Ph||(Ph=!0,console.error(`React instrumentation encountered an error: %o`,e))}i=Zp(i),r.context===null?r.context=i:r.pendingContext=i,_h&&gh!==null&&!aE&&(aE=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
179
+
180
+ Check the render method of %s.`,w(gh)||`Unknown`)),r=xa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(typeof a!=`function`&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),n=Sa(e,r,t),n!==null&&(Oi(t,`root.render()`,null),ru(n,e,t),Ca(n,e,t))}function $p(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function em(e,t){$p(e,t),(e=e.alternate)&&$p(e,t)}function tm(e){if(e.tag===13||e.tag===31){var t=Nr(e,67108864);t!==null&&ru(t,e,67108864),em(e,67108864)}}function nm(e){if(e.tag===13||e.tag===31){var t=eu(e);t=rt(t);var n=Nr(e,t);n!==null&&ru(n,e,t),em(e,t)}}function rm(){return gh}function im(e,t,n,r){var i=L.T;L.T=null;var a=Xm.p;try{Xm.p=Hh,om(e,t,n,r)}finally{Xm.p=a,L.T=i}}function am(e,t,n,r){var i=L.T;L.T=null;var a=Xm.p;try{Xm.p=Uh,om(e,t,n,r)}finally{Xm.p=a,L.T=i}}function om(e,t,n,r){if(gE){var i=sm(r);if(i===null)yd(e,t,r,_E,n),um(e,r);else if(fm(i,e,t,n,r))r.stopPropagation();else if(um(e,r),t&4&&-1<TE.indexOf(e)){for(;i!==null;){var a=dt(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-Ih(o);s.entanglements[1]|=c,o&=~c}td(a),(fC&(rC|iC))===nC&&(HC=Ch()+UC,nd(0,!1))}}break;case 31:case 13:s=Nr(a,2),s!==null&&ru(s,a,2),cu(),em(a,2)}if(a=sm(r),a===null&&yd(e,t,r,_E,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else yd(e,t,r,null,n)}}function sm(e){return e=wn(e),cm(e)}function cm(e){if(_E=null,e=ut(e),e!==null){var t=v(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=y(t),e!==null)return e;e=null}else if(n===31){if(e=b(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 _E=e,null}function lm(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`fullscreenerror`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return Hh;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return Uh;case`message`:switch(wh()){case Th:return Hh;case Eh:return Uh;case Dh:case Oh:return Wh;case kh:return Gh;default:return Wh}default:return Wh}}function um(e,t){switch(e){case`focusin`:case`focusout`:yE=null;break;case`dragenter`:case`dragleave`:bE=null;break;case`mouseover`:case`mouseout`:xE=null;break;case`pointerover`:case`pointerout`:SE.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:CE.delete(t.pointerId)}}function dm(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=dt(t),t!==null&&tm(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function fm(e,t,n,r,i){switch(t){case`focusin`:return yE=dm(yE,e,t,n,r,i),!0;case`dragenter`:return bE=dm(bE,e,t,n,r,i),!0;case`mouseover`:return xE=dm(xE,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return SE.set(a,dm(SE.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,CE.set(a,dm(CE.get(a)||null,e,t,n,r,i)),!0}return!1}function pm(e){var t=ut(e.target);if(t!==null){var n=v(t);if(n!==null){if(t=n.tag,t===13){if(t=y(n),t!==null){e.blockedOn=t,ct(e.priority,function(){nm(n)});return}}else if(t===31){if(t=b(n),t!==null){e.blockedOn=t,ct(e.priority,function(){nm(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 mm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=sm(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n),i=r;Qg!==null&&console.error(`Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.`),Qg=i,n.target.dispatchEvent(r),Qg===null&&console.error(`Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.`),Qg=null}else return t=dt(n),t!==null&&tm(t),e.blockedOn=n,!1;t.shift()}return!0}function hm(e,t,n){mm(e)&&n.delete(t)}function gm(){vE=!1,yE!==null&&mm(yE)&&(yE=null),bE!==null&&mm(bE)&&(bE=null),xE!==null&&mm(xE)&&(xE=null),SE.forEach(hm),CE.forEach(hm)}function _m(e,t){e.blockedOn===t&&(e.blockedOn=null,vE||(vE=!0,wm.unstable_scheduleCallback(wm.unstable_NormalPriority,gm)))}function vm(e){EE!==e&&(EE=e,wm.unstable_scheduleCallback(wm.unstable_NormalPriority,function(){EE===e&&(EE=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(cm(r||n)===null)continue;break}var a=dt(n);a!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:i,method:n.method,action:r},Object.freeze(n),ts(a,n,r,i))}}))}function ym(e){function t(t){return _m(t,e)}yE!==null&&_m(yE,e),bE!==null&&_m(bE,e),xE!==null&&_m(xE,e),SE.forEach(t),CE.forEach(t);for(var n=0;n<wE.length;n++){var r=wE[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<wE.length&&(n=wE[0],n.blockedOn===null);)pm(n),n.blockedOn===null&&wE.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[Jh]||null;if(typeof a==`function`)o||vm(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Jh]||null)s=o.formAction;else if(cm(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),vm(n)}}}function bm(){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 xm(e){this._internalRoot=e}function Sm(e){this._internalRoot=e}function Cm(e){e[Yh]&&(e._reactRootContainer?console.error(`You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.`):console.error(`You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.`))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var wm=zt(),Tm=Ne(),Em=Vt(),Dm=null,Om=null,I=Object.assign,km=Symbol.for(`react.element`),Am=Symbol.for(`react.transitional.element`),jm=Symbol.for(`react.portal`),Mm=Symbol.for(`react.fragment`),Nm=Symbol.for(`react.strict_mode`),Pm=Symbol.for(`react.profiler`),Fm=Symbol.for(`react.consumer`),Im=Symbol.for(`react.context`),Lm=Symbol.for(`react.forward_ref`),Rm=Symbol.for(`react.suspense`),zm=Symbol.for(`react.suspense_list`),Bm=Symbol.for(`react.memo`),Vm=Symbol.for(`react.lazy`),Hm=Symbol.for(`react.activity`),Um=Symbol.for(`react.legacy_hidden`),Wm=Symbol.for(`react.memo_cache_sentinel`),Gm=Symbol.for(`react.view_transition`),Km=Symbol.for(`react.recoverable`),qm=Symbol.iterator,Jm=Symbol.for(`react.client.reference`),Ym=Array.isArray,L=Tm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Xm=Em.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Zm=Object.freeze({pending:!1,data:null,method:null,action:null}),Qm=[],$m=[],eh=-1,th=me(null),nh=me(null),rh=me(null),ih=me(null),ah=0,oh,sh,ch,R,lh,uh,dh;Ce.__reactDisabledLog=!0;var fh,ph,mh=!1,hh=new(typeof WeakMap==`function`?WeakMap:Map),gh=null,_h=!1,vh=Object.prototype.hasOwnProperty,yh=wm.unstable_scheduleCallback,bh=wm.unstable_cancelCallback,xh=wm.unstable_shouldYield,Sh=wm.unstable_requestPaint,Ch=wm.unstable_now,wh=wm.unstable_getCurrentPriorityLevel,Th=wm.unstable_ImmediatePriority,Eh=wm.unstable_UserBlockingPriority,Dh=wm.unstable_NormalPriority,Oh=wm.unstable_LowPriority,kh=wm.unstable_IdlePriority,Ah=wm.log,jh=wm.unstable_setDisableYieldValue,Mh=null,Nh=null,Ph=!1,Fh=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`,Ih=Math.clz32?Math.clz32:We,Lh=Math.log,Rh=Math.LN2,zh=256,Bh=262144,Vh=4194304,Hh=2,Uh=8,Wh=32,Gh=268435456,Kh=Math.random().toString(36).slice(2),qh=`__reactFiber$`+Kh,Jh=`__reactProps$`+Kh,Yh=`__reactContainer$`+Kh,Xh=`__reactEvents$`+Kh,Zh=`__reactListeners$`+Kh,Qh=`__reactHandles$`+Kh,$h=`__reactResources$`+Kh,eg=`__reactMarker$`+Kh,tg=`__reactLoad$`+Kh,ng=new Set,rg={},ig={},ag={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},og=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),sg={},cg={},z=!1,lg=/[\n"\\]/g,ug=!1,dg=!1,fg=!1,pg=!1,mg=!1,hg=!1,gg=[`value`,`defaultValue`],_g=!1,vg=/["'&<>\n\t]|^\s|\s$/,yg=`address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp`.split(` `),bg=`applet caption html table td th marquee object select template foreignObject desc title`.split(` `),xg=bg.concat([`button`]),Sg=`dd dt li option optgroup p rp rt`.split(` `),Cg={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},wg={},Tg={animation:`animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction`.split(` `),background:`backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize`.split(` `),backgroundPosition:[`backgroundPositionX`,`backgroundPositionY`],border:`borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth`.split(` `),borderBlock:`borderBlockEndColor borderBlockEndStyle borderBlockEndWidth borderBlockStartColor borderBlockStartStyle borderBlockStartWidth`.split(` `),borderBlockColor:[`borderBlockEndColor`,`borderBlockStartColor`],borderBlockEnd:[`borderBlockEndColor`,`borderBlockEndStyle`,`borderBlockEndWidth`],borderBlockStart:[`borderBlockStartColor`,`borderBlockStartStyle`,`borderBlockStartWidth`],borderBlockStyle:[`borderBlockEndStyle`,`borderBlockStartStyle`],borderBlockWidth:[`borderBlockEndWidth`,`borderBlockStartWidth`],borderBottom:[`borderBottomColor`,`borderBottomStyle`,`borderBottomWidth`],borderColor:[`borderBottomColor`,`borderLeftColor`,`borderRightColor`,`borderTopColor`],borderImage:[`borderImageOutset`,`borderImageRepeat`,`borderImageSlice`,`borderImageSource`,`borderImageWidth`],borderInline:`borderInlineEndColor borderInlineEndStyle borderInlineEndWidth borderInlineStartColor borderInlineStartStyle borderInlineStartWidth`.split(` `),borderInlineColor:[`borderInlineEndColor`,`borderInlineStartColor`],borderInlineEnd:[`borderInlineEndColor`,`borderInlineEndStyle`,`borderInlineEndWidth`],borderInlineStart:[`borderInlineStartColor`,`borderInlineStartStyle`,`borderInlineStartWidth`],borderInlineStyle:[`borderInlineEndStyle`,`borderInlineStartStyle`],borderInlineWidth:[`borderInlineEndWidth`,`borderInlineStartWidth`],borderLeft:[`borderLeftColor`,`borderLeftStyle`,`borderLeftWidth`],borderRadius:[`borderBottomLeftRadius`,`borderBottomRightRadius`,`borderTopLeftRadius`,`borderTopRightRadius`],borderRight:[`borderRightColor`,`borderRightStyle`,`borderRightWidth`],borderStyle:[`borderBottomStyle`,`borderLeftStyle`,`borderRightStyle`,`borderTopStyle`],borderTop:[`borderTopColor`,`borderTopStyle`,`borderTopWidth`],borderWidth:[`borderBottomWidth`,`borderLeftWidth`,`borderRightWidth`,`borderTopWidth`],colorAdjust:[`printColorAdjust`],columnRule:[`columnRuleColor`,`columnRuleStyle`,`columnRuleWidth`],columns:[`columnCount`,`columnWidth`],containIntrinsicSize:[`containIntrinsicHeight`,`containIntrinsicWidth`],container:[`containerName`,`containerType`],flex:[`flexBasis`,`flexGrow`,`flexShrink`],flexFlow:[`flexDirection`,`flexWrap`],font:`fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight`.split(` `),fontSynthesis:[`fontSynthesisPosition`,`fontSynthesisSmallCaps`,`fontSynthesisStyle`,`fontSynthesisWeight`],fontVariant:`fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition`.split(` `),gap:[`columnGap`,`rowGap`],grid:`gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows`.split(` `),gridArea:[`gridColumnEnd`,`gridColumnStart`,`gridRowEnd`,`gridRowStart`],gridColumn:[`gridColumnEnd`,`gridColumnStart`],gridColumnGap:[`columnGap`],gridGap:[`columnGap`,`rowGap`],gridRow:[`gridRowEnd`,`gridRowStart`],gridRowGap:[`rowGap`],gridTemplate:[`gridTemplateAreas`,`gridTemplateColumns`,`gridTemplateRows`],inset:[`bottom`,`left`,`right`,`top`],insetBlock:[`insetBlockEnd`,`insetBlockStart`],insetInline:[`insetInlineEnd`,`insetInlineStart`],listStyle:[`listStyleImage`,`listStylePosition`,`listStyleType`],margin:[`marginBottom`,`marginLeft`,`marginRight`,`marginTop`],marginBlock:[`marginBlockEnd`,`marginBlockStart`],marginInline:[`marginInlineEnd`,`marginInlineStart`],marker:[`markerEnd`,`markerMid`,`markerStart`],mask:`maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize`.split(` `),maskPosition:[`maskPositionX`,`maskPositionY`],offset:[`offsetAnchor`,`offsetDistance`,`offsetPath`,`offsetPosition`,`offsetRotate`],outline:[`outlineColor`,`outlineStyle`,`outlineWidth`],overflow:[`overflowX`,`overflowY`],overscrollBehavior:[`overscrollBehaviorX`,`overscrollBehaviorY`],padding:[`paddingBottom`,`paddingLeft`,`paddingRight`,`paddingTop`],paddingBlock:[`paddingBlockEnd`,`paddingBlockStart`],paddingInline:[`paddingInlineEnd`,`paddingInlineStart`],pageBreakAfter:[`breakAfter`],pageBreakBefore:[`breakBefore`],pageBreakInside:[`breakInside`],placeContent:[`alignContent`,`justifyContent`],placeItems:[`alignItems`,`justifyItems`],placeSelf:[`alignSelf`,`justifySelf`],scrollMargin:[`scrollMarginBottom`,`scrollMarginLeft`,`scrollMarginRight`,`scrollMarginTop`],scrollMarginBlock:[`scrollMarginBlockEnd`,`scrollMarginBlockStart`],scrollMarginInline:[`scrollMarginInlineEnd`,`scrollMarginInlineStart`],scrollPadding:[`scrollPaddingBottom`,`scrollPaddingLeft`,`scrollPaddingRight`,`scrollPaddingTop`],scrollPaddingBlock:[`scrollPaddingBlockEnd`,`scrollPaddingBlockStart`],scrollPaddingInline:[`scrollPaddingInlineEnd`,`scrollPaddingInlineStart`],textDecoration:[`textDecorationColor`,`textDecorationLine`,`textDecorationStyle`,`textDecorationThickness`],textEmphasis:[`textEmphasisColor`,`textEmphasisStyle`],textWrap:[`textWrapMode`,`textWrapStyle`],transition:[`transitionBehavior`,`transitionDelay`,`transitionDuration`,`transitionProperty`,`transitionTimingFunction`],verticalAlign:[`alignmentBaseline`,`baselineShift`,`baselineSource`],whiteSpace:[`textWrapMode`,`whiteSpaceCollapse`],wordWrap:[`overflowWrap`]},Eg=/([A-Z])/g,Dg=/^ms-/,Og=/^(?:webkit|moz|o)[A-Z]/,kg=/^-ms-/,Ag=/-(.)/g,jg=/;\s*$/,Mg={},Ng={},Pg=!1,Fg=!1,Ig=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(` `)),Lg=`http://www.w3.org/1998/Math/MathML`,Rg=`http://www.w3.org/2000/svg`,zg=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`maskType`,`mask-type`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Bg={accept:`accept`,acceptcharset:`acceptCharset`,"accept-charset":`acceptCharset`,accesskey:`accessKey`,action:`action`,allowfullscreen:`allowFullScreen`,alt:`alt`,as:`as`,async:`async`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autocorrect:`autoCorrect`,autofocus:`autoFocus`,autoplay:`autoPlay`,autosave:`autoSave`,capture:`capture`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,challenge:`challenge`,charset:`charSet`,checked:`checked`,children:`children`,cite:`cite`,class:`className`,classid:`classID`,classname:`className`,cols:`cols`,colspan:`colSpan`,content:`content`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,controls:`controls`,controlslist:`controlsList`,coords:`coords`,credentialless:`credentialless`,crossorigin:`crossOrigin`,dangerouslysetinnerhtml:`dangerouslySetInnerHTML`,data:`data`,datetime:`dateTime`,default:`default`,defaultchecked:`defaultChecked`,defaultvalue:`defaultValue`,defer:`defer`,dir:`dir`,disabled:`disabled`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`,download:`download`,draggable:`draggable`,enctype:`encType`,enterkeyhint:`enterKeyHint`,fetchpriority:`fetchPriority`,for:`htmlFor`,form:`form`,formmethod:`formMethod`,formaction:`formAction`,formenctype:`formEncType`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,headers:`headers`,height:`height`,hidden:`hidden`,high:`high`,href:`href`,hreflang:`hrefLang`,htmlfor:`htmlFor`,httpequiv:`httpEquiv`,"http-equiv":`httpEquiv`,icon:`icon`,id:`id`,imagesizes:`imageSizes`,imagesrcset:`imageSrcSet`,inert:`inert`,innerhtml:`innerHTML`,inputmode:`inputMode`,integrity:`integrity`,is:`is`,itemid:`itemID`,itemprop:`itemProp`,itemref:`itemRef`,itemscope:`itemScope`,itemtype:`itemType`,keyparams:`keyParams`,keytype:`keyType`,kind:`kind`,label:`label`,lang:`lang`,list:`list`,loop:`loop`,low:`low`,manifest:`manifest`,marginwidth:`marginWidth`,marginheight:`marginHeight`,max:`max`,maxlength:`maxLength`,media:`media`,mediagroup:`mediaGroup`,method:`method`,min:`min`,minlength:`minLength`,multiple:`multiple`,muted:`muted`,name:`name`,nomodule:`noModule`,nonce:`nonce`,novalidate:`noValidate`,open:`open`,optimum:`optimum`,pattern:`pattern`,placeholder:`placeholder`,playsinline:`playsInline`,poster:`poster`,preload:`preload`,profile:`profile`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rel:`rel`,required:`required`,reversed:`reversed`,role:`role`,rows:`rows`,rowspan:`rowSpan`,sandbox:`sandbox`,scope:`scope`,scoped:`scoped`,scrolling:`scrolling`,seamless:`seamless`,selected:`selected`,shape:`shape`,size:`size`,sizes:`sizes`,span:`span`,spellcheck:`spellCheck`,src:`src`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,start:`start`,step:`step`,style:`style`,summary:`summary`,tabindex:`tabIndex`,target:`target`,title:`title`,type:`type`,usemap:`useMap`,value:`value`,width:`width`,wmode:`wmode`,wrap:`wrap`,about:`about`,accentheight:`accentHeight`,"accent-height":`accentHeight`,accumulate:`accumulate`,additive:`additive`,alignmentbaseline:`alignmentBaseline`,"alignment-baseline":`alignmentBaseline`,allowreorder:`allowReorder`,alphabetic:`alphabetic`,amplitude:`amplitude`,arabicform:`arabicForm`,"arabic-form":`arabicForm`,ascent:`ascent`,attributename:`attributeName`,attributetype:`attributeType`,autoreverse:`autoReverse`,azimuth:`azimuth`,basefrequency:`baseFrequency`,baselineshift:`baselineShift`,"baseline-shift":`baselineShift`,baseprofile:`baseProfile`,bbox:`bbox`,begin:`begin`,bias:`bias`,by:`by`,calcmode:`calcMode`,capheight:`capHeight`,"cap-height":`capHeight`,clip:`clip`,clippath:`clipPath`,"clip-path":`clipPath`,clippathunits:`clipPathUnits`,cliprule:`clipRule`,"clip-rule":`clipRule`,color:`color`,colorinterpolation:`colorInterpolation`,"color-interpolation":`colorInterpolation`,colorinterpolationfilters:`colorInterpolationFilters`,"color-interpolation-filters":`colorInterpolationFilters`,colorprofile:`colorProfile`,"color-profile":`colorProfile`,colorrendering:`colorRendering`,"color-rendering":`colorRendering`,contentscripttype:`contentScriptType`,contentstyletype:`contentStyleType`,cursor:`cursor`,cx:`cx`,cy:`cy`,d:`d`,datatype:`datatype`,decelerate:`decelerate`,descent:`descent`,diffuseconstant:`diffuseConstant`,direction:`direction`,display:`display`,divisor:`divisor`,dominantbaseline:`dominantBaseline`,"dominant-baseline":`dominantBaseline`,dur:`dur`,dx:`dx`,dy:`dy`,edgemode:`edgeMode`,elevation:`elevation`,enablebackground:`enableBackground`,"enable-background":`enableBackground`,end:`end`,exponent:`exponent`,externalresourcesrequired:`externalResourcesRequired`,fill:`fill`,fillopacity:`fillOpacity`,"fill-opacity":`fillOpacity`,fillrule:`fillRule`,"fill-rule":`fillRule`,filter:`filter`,filterres:`filterRes`,filterunits:`filterUnits`,floodopacity:`floodOpacity`,"flood-opacity":`floodOpacity`,floodcolor:`floodColor`,"flood-color":`floodColor`,focusable:`focusable`,fontfamily:`fontFamily`,"font-family":`fontFamily`,fontsize:`fontSize`,"font-size":`fontSize`,fontsizeadjust:`fontSizeAdjust`,"font-size-adjust":`fontSizeAdjust`,fontstretch:`fontStretch`,"font-stretch":`fontStretch`,fontstyle:`fontStyle`,"font-style":`fontStyle`,fontvariant:`fontVariant`,"font-variant":`fontVariant`,fontweight:`fontWeight`,"font-weight":`fontWeight`,format:`format`,from:`from`,fx:`fx`,fy:`fy`,g1:`g1`,g2:`g2`,glyphname:`glyphName`,"glyph-name":`glyphName`,glyphorientationhorizontal:`glyphOrientationHorizontal`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphorientationvertical:`glyphOrientationVertical`,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,hanging:`hanging`,horizadvx:`horizAdvX`,"horiz-adv-x":`horizAdvX`,horizoriginx:`horizOriginX`,"horiz-origin-x":`horizOriginX`,ideographic:`ideographic`,imagerendering:`imageRendering`,"image-rendering":`imageRendering`,in2:`in2`,in:`in`,inlist:`inlist`,intercept:`intercept`,k1:`k1`,k2:`k2`,k3:`k3`,k4:`k4`,k:`k`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,kerning:`kerning`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,letterspacing:`letterSpacing`,"letter-spacing":`letterSpacing`,lightingcolor:`lightingColor`,"lighting-color":`lightingColor`,limitingconeangle:`limitingConeAngle`,local:`local`,markerend:`markerEnd`,"marker-end":`markerEnd`,markerheight:`markerHeight`,markermid:`markerMid`,"marker-mid":`markerMid`,markerstart:`markerStart`,"marker-start":`markerStart`,markerunits:`markerUnits`,markerwidth:`markerWidth`,mask:`mask`,maskcontentunits:`maskContentUnits`,masktype:`maskType`,maskunits:`maskUnits`,mathematical:`mathematical`,mode:`mode`,numoctaves:`numOctaves`,offset:`offset`,opacity:`opacity`,operator:`operator`,order:`order`,orient:`orient`,orientation:`orientation`,origin:`origin`,overflow:`overflow`,overlineposition:`overlinePosition`,"overline-position":`overlinePosition`,overlinethickness:`overlineThickness`,"overline-thickness":`overlineThickness`,paintorder:`paintOrder`,"paint-order":`paintOrder`,panose1:`panose1`,"panose-1":`panose1`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointerevents:`pointerEvents`,"pointer-events":`pointerEvents`,points:`points`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,popover:`popover`,popovertarget:`popoverTarget`,popovertargetaction:`popoverTargetAction`,prefix:`prefix`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,property:`property`,r:`r`,radius:`radius`,refx:`refX`,refy:`refY`,renderingintent:`renderingIntent`,"rendering-intent":`renderingIntent`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,resource:`resource`,restart:`restart`,result:`result`,results:`results`,rotate:`rotate`,rx:`rx`,ry:`ry`,scale:`scale`,security:`security`,seed:`seed`,shaperendering:`shapeRendering`,"shape-rendering":`shapeRendering`,slope:`slope`,spacing:`spacing`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,speed:`speed`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stemh:`stemh`,stemv:`stemv`,stitchtiles:`stitchTiles`,stopcolor:`stopColor`,"stop-color":`stopColor`,stopopacity:`stopOpacity`,"stop-opacity":`stopOpacity`,strikethroughposition:`strikethroughPosition`,"strikethrough-position":`strikethroughPosition`,strikethroughthickness:`strikethroughThickness`,"strikethrough-thickness":`strikethroughThickness`,string:`string`,stroke:`stroke`,strokedasharray:`strokeDasharray`,"stroke-dasharray":`strokeDasharray`,strokedashoffset:`strokeDashoffset`,"stroke-dashoffset":`strokeDashoffset`,strokelinecap:`strokeLinecap`,"stroke-linecap":`strokeLinecap`,strokelinejoin:`strokeLinejoin`,"stroke-linejoin":`strokeLinejoin`,strokemiterlimit:`strokeMiterlimit`,"stroke-miterlimit":`strokeMiterlimit`,strokewidth:`strokeWidth`,"stroke-width":`strokeWidth`,strokeopacity:`strokeOpacity`,"stroke-opacity":`strokeOpacity`,suppresscontenteditablewarning:`suppressContentEditableWarning`,suppresshydrationwarning:`suppressHydrationWarning`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textanchor:`textAnchor`,"text-anchor":`textAnchor`,textdecoration:`textDecoration`,"text-decoration":`textDecoration`,textlength:`textLength`,textrendering:`textRendering`,"text-rendering":`textRendering`,to:`to`,transform:`transform`,transformorigin:`transformOrigin`,"transform-origin":`transformOrigin`,typeof:`typeof`,u1:`u1`,u2:`u2`,underlineposition:`underlinePosition`,"underline-position":`underlinePosition`,underlinethickness:`underlineThickness`,"underline-thickness":`underlineThickness`,unicode:`unicode`,unicodebidi:`unicodeBidi`,"unicode-bidi":`unicodeBidi`,unicoderange:`unicodeRange`,"unicode-range":`unicodeRange`,unitsperem:`unitsPerEm`,"units-per-em":`unitsPerEm`,unselectable:`unselectable`,valphabetic:`vAlphabetic`,"v-alphabetic":`vAlphabetic`,values:`values`,vectoreffect:`vectorEffect`,"vector-effect":`vectorEffect`,version:`version`,vertadvy:`vertAdvY`,"vert-adv-y":`vertAdvY`,vertoriginx:`vertOriginX`,"vert-origin-x":`vertOriginX`,vertoriginy:`vertOriginY`,"vert-origin-y":`vertOriginY`,vhanging:`vHanging`,"v-hanging":`vHanging`,videographic:`vIdeographic`,"v-ideographic":`vIdeographic`,viewbox:`viewBox`,viewtarget:`viewTarget`,visibility:`visibility`,vmathematical:`vMathematical`,"v-mathematical":`vMathematical`,vocab:`vocab`,widths:`widths`,wordspacing:`wordSpacing`,"word-spacing":`wordSpacing`,writingmode:`writingMode`,"writing-mode":`writingMode`,x1:`x1`,x2:`x2`,x:`x`,xchannelselector:`xChannelSelector`,xheight:`xHeight`,"x-height":`xHeight`,xlinkactuate:`xlinkActuate`,"xlink:actuate":`xlinkActuate`,xlinkarcrole:`xlinkArcrole`,"xlink:arcrole":`xlinkArcrole`,xlinkhref:`xlinkHref`,"xlink:href":`xlinkHref`,xlinkrole:`xlinkRole`,"xlink:role":`xlinkRole`,xlinkshow:`xlinkShow`,"xlink:show":`xlinkShow`,xlinktitle:`xlinkTitle`,"xlink:title":`xlinkTitle`,xlinktype:`xlinkType`,"xlink:type":`xlinkType`,xmlbase:`xmlBase`,"xml:base":`xmlBase`,xmllang:`xmlLang`,"xml:lang":`xmlLang`,xmlns:`xmlns`,"xml:space":`xmlSpace`,xmlnsxlink:`xmlnsXlink`,"xmlns:xlink":`xmlnsXlink`,xmlspace:`xmlSpace`,y1:`y1`,y2:`y2`,y:`y`,ychannelselector:`yChannelSelector`,z:`z`,zoomandpan:`zoomAndPan`},Vg={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Hg={},Ug=RegExp(`^(aria)-[: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]*$`),Wg=RegExp(`^(aria)[A-Z][: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]*$`),Gg=!1,Kg={},qg=/^on./,Jg=/^on[^A-Z]/,Yg=RegExp(`^(aria)-[: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]*$`),Xg=RegExp(`^(aria)[A-Z][: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]*$`),Zg=/^[\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,Qg=null,$g=null,e_=null,t_=!1,n_=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,r_=!1;if(n_)try{var i_={};Object.defineProperty(i_,"passive",{get:function(){r_=!0}}),window.addEventListener(`test`,i_,i_),window.removeEventListener(`test`,i_,i_)}catch{r_=!1}var a_=null,o_=null,s_=null,c_={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},l_=Mn(c_),u_=I({},c_,{view:0,detail:0}),d_=Mn(u_),f_,p_,m_,h_=I({},u_,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==m_&&(m_&&e.type===`mousemove`?(f_=e.screenX-m_.screenX,p_=e.screenY-m_.screenY):p_=f_=0,m_=e),f_)},movementY:function(e){return`movementY`in e?e.movementY:p_}}),g_=Mn(h_),__=Mn(I({},h_,{dataTransfer:0})),v_=Mn(I({},u_,{relatedTarget:0})),y_=Mn(I({},c_,{animationName:0,elapsedTime:0,pseudoElement:0})),b_=Mn(I({},c_,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),x_=Mn(I({},c_,{data:0})),S_=x_,C_={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},w_={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`},T_={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`},E_=Mn(I({},u_,{key:function(e){if(e.key){var t=C_[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=kn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?w_[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(e){return e.type===`keypress`?kn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?kn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),D_=Mn(I({},h_,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),O_=Mn(I({},c_,{submitter:0})),k_=Mn(I({},u_,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),A_=Mn(I({},c_,{propertyName:0,elapsedTime:0,pseudoElement:0})),j_=Mn(I({},h_,{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})),M_=Mn(I({},c_,{newState:0,oldState:0,source:0})),N_=[9,13,27,32],P_=229,F_=n_&&`CompositionEvent`in window,I_=null;n_&&`documentMode`in document&&(I_=document.documentMode);var L_=n_&&`TextEvent`in window&&!I_,R_=n_&&(!F_||I_&&8<I_&&11>=I_),z_=32,B_=String.fromCharCode(z_),V_=!1,H_=!1,U_={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},W_=null,G_=null,K_=!1;n_&&(K_=Bn(`input`)&&(!document.documentMode||9<document.documentMode));var q_=typeof Object.is==`function`?Object.is:Zn,J_=n_&&`documentMode`in document&&11>=document.documentMode,Y_=null,X_=null,Z_=null,Q_=!1,B={animationend:or(`Animation`,`AnimationEnd`),animationiteration:or(`Animation`,`AnimationIteration`),animationstart:or(`Animation`,`AnimationStart`),transitionrun:or(`Transition`,`TransitionRun`),transitionstart:or(`Transition`,`TransitionStart`),transitioncancel:or(`Transition`,`TransitionCancel`),transitionend:or(`Transition`,`TransitionEnd`)},$_={},ev={};n_&&(ev=document.createElement(`div`).style,`AnimationEvent`in window||(delete B.animationend.animation,delete B.animationiteration.animation,delete B.animationstart.animation),`TransitionEvent`in window||delete B.transitionend.transition);var tv=sr(`animationend`),nv=sr(`animationiteration`),rv=sr(`animationstart`),iv=sr(`transitionrun`),av=sr(`transitionstart`),ov=sr(`transitioncancel`),sv=sr(`transitionend`),cv=new Map,lv=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);lv.push(`scrollEnd`);var uv=0,dv=0;if(typeof performance==`object`&&typeof performance.now==`function`)var fv=performance,pv=function(){return fv.now()};else{var mv=Date;pv=function(){return mv.now()}}var hv=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)},gv=`This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.`,_v=0,vv=1,yv=2,bv=3,xv=100,Sv=`-\xA0`,Cv=`+\xA0`,wv=` \xA0`,Tv=typeof console<`u`&&typeof console.timeStamp==`function`&&typeof performance<`u`&&typeof performance.measure==`function`,Ev=`Components ⚛`,V=`Scheduler ⚛`,H=`Blocking`,Dv=!1,Ov={color:`primary`,properties:null,tooltipText:``,track:Ev},kv={start:-0,end:-0,detail:{devtools:Ov}},Av=[`Changed Props`,``],jv=`This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.`,Mv=[`Changed Props`,jv],Nv=1,Pv=2,Fv=[],Iv=0,Lv=0,Rv={};Object.freeze(Rv);var zv=null,Bv=null,U=0,Vv=1,W=2,Hv=8,Uv=16,Wv=32,Gv=!1;try{Object.preventExtensions({})}catch{Gv=!0}var Kv=new WeakMap,qv=[],Jv=0,Yv=null,Xv=0,Zv=[],Qv=0,$v=null,ey=1,ty=``,ny=null,ry=null,G=!1,iy=!1,ay=null,oy=null,sy=!1,cy=Error(`Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`),ly=me(null),uy=me(null),dy={},fy=null,py=null,my=!1,hy=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()})}},gy=wm.unstable_scheduleCallback,_y=wm.unstable_NormalPriority,vy={$$typeof:Im,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},yy=null,by=wm.unstable_now,xy=console.createTask?console.createTask:function(){return null},Sy=1,Cy=2,wy=-0,Ty=-0,Ey=-0,Dy=null,Oy=-1.1,ky=-0,Ay=-0,K=-1.1,q=-1.1,jy=null,My=!1,Ny=-0,Py=-1.1,Fy=null,Iy=0,Ly=null,Ry=null,zy=-1.1,By=null,Vy=-1.1,Hy=-1.1,Uy=-0,Wy=-1.1,Gy=-1.1,Ky=0,qy=null,Jy=null,Yy=null,Xy=-1.1,Zy=null,Qy=-1.1,$y=-1.1,eb=-0,tb=-0,nb=0,rb=null,ib=0,ab=-1.1,ob=!1,sb=!1,cb=null,lb=0,ub=0,db=null,fb=L.S;L.S=function(e,t){if(BC=Ch(),typeof t==`object`&&t&&typeof t.then==`function`){if(0>Wy&&0>Gy){Wy=by();var n=rf(),r=nf();(n!==Qy||r!==Zy)&&(Qy=-1.1),Xy=n,Zy=r}qi(e,t)}if(yy!==null)for(n=jw;n!==null;)Ei(n,yy),n=n.next;if(n=e.types,n!==null){for(r=jw;r!==null;)Ei(r,n),r=r.next;if(ub!==0){r=yy,r===null&&(r=yy=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}fb!==null&&fb(e,t)};var pb=me(null),mb={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},hb=[],gb=[],_b=[],vb=[],yb=[],bb=[],xb=new Set;mb.recordUnsafeLifecycleWarnings=function(e,t){xb.has(e.type)||(typeof t.componentWillMount==`function`&&!0!==t.componentWillMount.__suppressDeprecationWarning&&hb.push(e),e.mode&Hv&&typeof t.UNSAFE_componentWillMount==`function`&&gb.push(e),typeof t.componentWillReceiveProps==`function`&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&_b.push(e),e.mode&Hv&&typeof t.UNSAFE_componentWillReceiveProps==`function`&&vb.push(e),typeof t.componentWillUpdate==`function`&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&yb.push(e),e.mode&Hv&&typeof t.UNSAFE_componentWillUpdate==`function`&&bb.push(e))},mb.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<hb.length&&(hb.forEach(function(t){e.add(w(t)||`Component`),xb.add(t.type)}),hb=[]);var t=new Set;0<gb.length&&(gb.forEach(function(e){t.add(w(e)||`Component`),xb.add(e.type)}),gb=[]);var n=new Set;0<_b.length&&(_b.forEach(function(e){n.add(w(e)||`Component`),xb.add(e.type)}),_b=[]);var r=new Set;0<vb.length&&(vb.forEach(function(e){r.add(w(e)||`Component`),xb.add(e.type)}),vb=[]);var i=new Set;0<yb.length&&(yb.forEach(function(e){i.add(w(e)||`Component`),xb.add(e.type)}),yb=[]);var a=new Set;if(0<bb.length&&(bb.forEach(function(e){a.add(w(e)||`Component`),xb.add(e.type)}),bb=[]),0<t.size){var o=f(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
181
+
182
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
183
+
184
+ Please update the following components: %s`,o)}0<r.size&&(o=f(r),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
185
+
186
+ * Move data fetching code or side effects to componentDidUpdate.
187
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
188
+
189
+ Please update the following components: %s`,o)),0<a.size&&(o=f(a),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
190
+
191
+ * Move data fetching code or side effects to componentDidUpdate.
192
+
193
+ Please update the following components: %s`,o)),0<e.size&&(o=f(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
194
+
195
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
196
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
197
+
198
+ Please update the following components: %s`,o)),0<n.size&&(o=f(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
199
+
200
+ * Move data fetching code or side effects to componentDidUpdate.
201
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
202
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
203
+
204
+ Please update the following components: %s`,o)),0<i.size&&(o=f(i),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
205
+
206
+ * Move data fetching code or side effects to componentDidUpdate.
207
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
208
+
209
+ Please update the following components: %s`,o))};var Sb=new Map,Cb=new Set;mb.recordLegacyContextWarning=function(e,t){for(var n=null,r=e;r!==null;)r.mode&Hv&&(n=r),r=r.return;n===null?console.error(`Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.`):!Cb.has(e.type)&&(r=Sb.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext==`function`)&&(r===void 0&&(r=[],Sb.set(n,r)),r.push(e))},mb.flushLegacyContextWarning=function(){Sb.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(e){n.add(w(e)||`Component`),Cb.add(e.type)});var r=f(n);T(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
210
+
211
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
212
+
213
+ Please update the following components: %s
214
+
215
+ Learn more about this warning here: https://react.dev/link/legacy-context`,r)})}})},mb.discardPendingWarnings=function(){hb=[],gb=[],_b=[],vb=[],yb=[],bb=[],Sb=new Map};var wb=``,Tb={react_stack_bottom_frame:function(e,t,n){var r=_h;_h=!0;try{return e(t,n)}finally{_h=r}}},Eb=Tb.react_stack_bottom_frame.bind(Tb),Db={react_stack_bottom_frame:function(e){var t=_h;_h=!0;try{return e.render()}finally{_h=t}}},Ob=Db.react_stack_bottom_frame.bind(Db),kb={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(t){Hu(e,e.return,t)}}},Ab=kb.react_stack_bottom_frame.bind(kb),jb={react_stack_bottom_frame:function(e,t,n,r,i){try{t.componentDidUpdate(n,r,i)}catch(t){Hu(e,e.return,t)}}},Mb=jb.react_stack_bottom_frame.bind(jb),Nb={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n===null?``:n})}},Pb=Nb.react_stack_bottom_frame.bind(Nb),Fb={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(n){Hu(e,t,n)}}},Ib=Fb.react_stack_bottom_frame.bind(Fb),Lb={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},Rb=Lb.react_stack_bottom_frame.bind(Lb),zb={react_stack_bottom_frame:function(e,t,n){try{n()}catch(n){Hu(e,t,n)}}},Bb=zb.react_stack_bottom_frame.bind(zb),Vb={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Hb=Vb.react_stack_bottom_frame.bind(Vb),Ub=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Wb=Error(`Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`),Gb=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Kb={then:function(){console.error(`Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.`)}},qb=null,Jb=null,Yb=!1,Xb=null,Zb=!1,Qb=null,$b=0,J=null,ex,tx=ex=!1,nx={},rx={},ix={};d=function(e,t,n){if(typeof n==`object`&&n&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!=`object`)throw Error(`React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`);n._store.validated=1;var r=w(e),i=r||`null`;if(!nx[i]){nx[i]=!0,n=n._owner,e=e._debugOwner;var a=``;e&&typeof e.tag==`number`&&(i=w(e))&&(a=`
216
+
217
+ Check the render method of \``+i+"`."),a||r&&(a=`
218
+
219
+ Check the top-level render call using <`+r+`>.`);var o=``;n!=null&&e!==n&&(r=null,typeof n.tag==`number`?r=w(n):typeof n.name==`string`&&(r=n.name),r&&(o=` It was passed a child from `+r+`.`)),T(t,function(){console.error(`Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,a,o)})}}};var ax=_a(!0),ox=_a(!1),sx=0,cx=1,lx=2,ux=3,dx=!1,fx=!1,px=null,mx=!1,hx=me(null),gx=me(0),_x=me(null),vx=null,yx=1,bx=2,xx=me(0),Sx=0,Cx=1,wx=2,Tx=4,Ex=8,Dx,Ox=new Set,kx=new Set,Ax=new Set,jx=new Set,Y=0,X=null,Mx=null,Nx=null,Px=!1,Fx=!1,Ix=!1,Lx=0,Rx=0,zx=null,Bx=0,Vx=25,Z=null,Hx=null,Ux=-1,Wx=!1,Gx={readContext:bi,use:to,useCallback:Ha,useContext:Ha,useEffect:Ha,useImperativeHandle:Ha,useLayoutEffect:Ha,useInsertionEffect:Ha,useMemo:Ha,useReducer:Ha,useRef:Ha,useState:Ha,useDebugValue:Ha,useDeferredValue:Ha,useTransition:Ha,useSyncExternalStore:Ha,useId:Ha,useHostTransitionStatus:Ha,useFormState:Ha,useActionState:Ha,useOptimistic:Ha,useMemoCache:Ha,useCacheRefresh:Ha,useEffectEvent:Ha},Kx=null,qx=null,Jx=null,Yx=null,Xx=null,Zx=null,Qx=null;Kx={readContext:function(e){return bi(e)},use:to,useCallback:function(e,t){return Z=`useCallback`,j(),N(t),Wo(e,t)},useContext:function(e){return Z=`useContext`,j(),bi(e)},useEffect:function(e,t){return Z=`useEffect`,j(),N(t),Io(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,j(),N(n),Ho(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,j(),N(t),Po(4,wx,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,j(),N(t),Bo(e,t)},useMemo:function(e,t){Z=`useMemo`,j(),N(t);var n=L.H;L.H=Xx;try{return Ko(e,t)}finally{L.H=n}},useReducer:function(e,t,n){Z=`useReducer`,j();var r=L.H;L.H=Xx;try{return ro(e,t,n)}finally{L.H=r}},useRef:function(e){return Z=`useRef`,j(),No(e)},useState:function(e){Z=`useState`,j();var t=L.H;L.H=Xx;try{return ho(e)}finally{L.H=t}},useDebugValue:function(){Z=`useDebugValue`,j()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,j(),Jo(e,t)},useTransition:function(){return Z=`useTransition`,j(),is()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,j(),oo(e,t,n)},useId:function(){return Z=`useId`,j(),cs()},useFormState:function(e,t){return Z=`useFormState`,j(),Va(),Do(e,t)},useActionState:function(e,t){return Z=`useActionState`,j(),Do(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,j(),go(e)},useHostTransitionStatus:ss,useMemoCache:no,useCacheRefresh:function(){return Z=`useCacheRefresh`,j(),ls()},useEffectEvent:function(e){return Z=`useEffectEvent`,j(),Ro(e)}},qx={readContext:function(e){return bi(e)},use:to,useCallback:function(e,t){return Z=`useCallback`,M(),Wo(e,t)},useContext:function(e){return Z=`useContext`,M(),bi(e)},useEffect:function(e,t){return Z=`useEffect`,M(),Io(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,M(),Ho(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,M(),Po(4,wx,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,M(),Bo(e,t)},useMemo:function(e,t){Z=`useMemo`,M();var n=L.H;L.H=Xx;try{return Ko(e,t)}finally{L.H=n}},useReducer:function(e,t,n){Z=`useReducer`,M();var r=L.H;L.H=Xx;try{return ro(e,t,n)}finally{L.H=r}},useRef:function(e){return Z=`useRef`,M(),No(e)},useState:function(e){Z=`useState`,M();var t=L.H;L.H=Xx;try{return ho(e)}finally{L.H=t}},useDebugValue:function(){Z=`useDebugValue`,M()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,M(),Jo(e,t)},useTransition:function(){return Z=`useTransition`,M(),is()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,M(),oo(e,t,n)},useId:function(){return Z=`useId`,M(),cs()},useActionState:function(e,t){return Z=`useActionState`,M(),Do(e,t)},useFormState:function(e,t){return Z=`useFormState`,M(),Va(),Do(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,M(),go(e)},useHostTransitionStatus:ss,useMemoCache:no,useCacheRefresh:function(){return Z=`useCacheRefresh`,M(),ls()},useEffectEvent:function(e){return Z=`useEffectEvent`,M(),Ro(e)}},Jx={readContext:function(e){return bi(e)},use:to,useCallback:function(e,t){return Z=`useCallback`,M(),Go(e,t)},useContext:function(e){return Z=`useContext`,M(),bi(e)},useEffect:function(e,t){Z=`useEffect`,M(),Fo(2048,Ex,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,M(),Uo(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,M(),Fo(4,wx,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,M(),Fo(4,Tx,e,t)},useMemo:function(e,t){Z=`useMemo`,M();var n=L.H;L.H=Zx;try{return qo(e,t)}finally{L.H=n}},useReducer:function(e,t,n){Z=`useReducer`,M();var r=L.H;L.H=Zx;try{return F(e,t,n)}finally{L.H=r}},useRef:function(){return Z=`useRef`,M(),Qa().memoizedState},useState:function(){Z=`useState`,M();var e=L.H;L.H=Zx;try{return F(P)}finally{L.H=e}},useDebugValue:function(){Z=`useDebugValue`,M()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,M(),Yo(e,t)},useTransition:function(){return Z=`useTransition`,M(),as()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,M(),so(e,t,n)},useId:function(){return Z=`useId`,M(),Qa().memoizedState},useFormState:function(e){return Z=`useFormState`,M(),Va(),Oo(e)},useActionState:function(e){return Z=`useActionState`,M(),Oo(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,M(),_o(e,t)},useHostTransitionStatus:ss,useMemoCache:no,useCacheRefresh:function(){return Z=`useCacheRefresh`,M(),Qa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,M(),zo(e)}},Yx={readContext:function(e){return bi(e)},use:to,useCallback:function(e,t){return Z=`useCallback`,M(),Go(e,t)},useContext:function(e){return Z=`useContext`,M(),bi(e)},useEffect:function(e,t){Z=`useEffect`,M(),Fo(2048,Ex,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,M(),Uo(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,M(),Fo(4,wx,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,M(),Fo(4,Tx,e,t)},useMemo:function(e,t){Z=`useMemo`,M();var n=L.H;L.H=Qx;try{return qo(e,t)}finally{L.H=n}},useReducer:function(e,t,n){Z=`useReducer`,M();var r=L.H;L.H=Qx;try{return ao(e,t,n)}finally{L.H=r}},useRef:function(){return Z=`useRef`,M(),Qa().memoizedState},useState:function(){Z=`useState`,M();var e=L.H;L.H=Qx;try{return ao(P)}finally{L.H=e}},useDebugValue:function(){Z=`useDebugValue`,M()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,M(),Xo(e,t)},useTransition:function(){return Z=`useTransition`,M(),os()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,M(),so(e,t,n)},useId:function(){return Z=`useId`,M(),Qa().memoizedState},useFormState:function(e){return Z=`useFormState`,M(),Va(),jo(e)},useActionState:function(e){return Z=`useActionState`,M(),jo(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,M(),yo(e,t)},useHostTransitionStatus:ss,useMemoCache:no,useCacheRefresh:function(){return Z=`useCacheRefresh`,M(),Qa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,M(),zo(e)}},Xx={readContext:function(e){return l(),bi(e)},use:function(e){return c(),to(e)},useCallback:function(e,t){return Z=`useCallback`,c(),j(),Wo(e,t)},useContext:function(e){return Z=`useContext`,c(),j(),bi(e)},useEffect:function(e,t){return Z=`useEffect`,c(),j(),Io(e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),j(),Ho(e,t,n)},useInsertionEffect:function(e,t){Z=`useInsertionEffect`,c(),j(),Po(4,wx,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),j(),Bo(e,t)},useMemo:function(e,t){Z=`useMemo`,c(),j();var n=L.H;L.H=Xx;try{return Ko(e,t)}finally{L.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),j();var r=L.H;L.H=Xx;try{return ro(e,t,n)}finally{L.H=r}},useRef:function(e){return Z=`useRef`,c(),j(),No(e)},useState:function(e){Z=`useState`,c(),j();var t=L.H;L.H=Xx;try{return ho(e)}finally{L.H=t}},useDebugValue:function(){Z=`useDebugValue`,c(),j()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),j(),Jo(e,t)},useTransition:function(){return Z=`useTransition`,c(),j(),is()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),j(),oo(e,t,n)},useId:function(){return Z=`useId`,c(),j(),cs()},useFormState:function(e,t){return Z=`useFormState`,c(),j(),Do(e,t)},useActionState:function(e,t){return Z=`useActionState`,c(),j(),Do(e,t)},useOptimistic:function(e){return Z=`useOptimistic`,c(),j(),go(e)},useMemoCache:function(e){return c(),no(e)},useHostTransitionStatus:ss,useCacheRefresh:function(){return Z=`useCacheRefresh`,j(),ls()},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),j(),Ro(e)}},Zx={readContext:function(e){return l(),bi(e)},use:function(e){return c(),to(e)},useCallback:function(e,t){return Z=`useCallback`,c(),M(),Go(e,t)},useContext:function(e){return Z=`useContext`,c(),M(),bi(e)},useEffect:function(e,t){Z=`useEffect`,c(),M(),Fo(2048,Ex,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),M(),Uo(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,c(),M(),Fo(4,wx,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),M(),Fo(4,Tx,e,t)},useMemo:function(e,t){Z=`useMemo`,c(),M();var n=L.H;L.H=Zx;try{return qo(e,t)}finally{L.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),M();var r=L.H;L.H=Zx;try{return F(e,t,n)}finally{L.H=r}},useRef:function(){return Z=`useRef`,c(),M(),Qa().memoizedState},useState:function(){Z=`useState`,c(),M();var e=L.H;L.H=Zx;try{return F(P)}finally{L.H=e}},useDebugValue:function(){Z=`useDebugValue`,c(),M()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),M(),Yo(e,t)},useTransition:function(){return Z=`useTransition`,c(),M(),as()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),M(),so(e,t,n)},useId:function(){return Z=`useId`,c(),M(),Qa().memoizedState},useFormState:function(e){return Z=`useFormState`,c(),M(),Oo(e)},useActionState:function(e){return Z=`useActionState`,c(),M(),Oo(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,c(),M(),_o(e,t)},useMemoCache:function(e){return c(),no(e)},useHostTransitionStatus:ss,useCacheRefresh:function(){return Z=`useCacheRefresh`,M(),Qa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),M(),zo(e)}},Qx={readContext:function(e){return l(),bi(e)},use:function(e){return c(),to(e)},useCallback:function(e,t){return Z=`useCallback`,c(),M(),Go(e,t)},useContext:function(e){return Z=`useContext`,c(),M(),bi(e)},useEffect:function(e,t){Z=`useEffect`,c(),M(),Fo(2048,Ex,e,t)},useImperativeHandle:function(e,t,n){return Z=`useImperativeHandle`,c(),M(),Uo(e,t,n)},useInsertionEffect:function(e,t){return Z=`useInsertionEffect`,c(),M(),Fo(4,wx,e,t)},useLayoutEffect:function(e,t){return Z=`useLayoutEffect`,c(),M(),Fo(4,Tx,e,t)},useMemo:function(e,t){Z=`useMemo`,c(),M();var n=L.H;L.H=Zx;try{return qo(e,t)}finally{L.H=n}},useReducer:function(e,t,n){Z=`useReducer`,c(),M();var r=L.H;L.H=Zx;try{return ao(e,t,n)}finally{L.H=r}},useRef:function(){return Z=`useRef`,c(),M(),Qa().memoizedState},useState:function(){Z=`useState`,c(),M();var e=L.H;L.H=Zx;try{return ao(P)}finally{L.H=e}},useDebugValue:function(){Z=`useDebugValue`,c(),M()},useDeferredValue:function(e,t){return Z=`useDeferredValue`,c(),M(),Xo(e,t)},useTransition:function(){return Z=`useTransition`,c(),M(),os()},useSyncExternalStore:function(e,t,n){return Z=`useSyncExternalStore`,c(),M(),so(e,t,n)},useId:function(){return Z=`useId`,c(),M(),Qa().memoizedState},useFormState:function(e){return Z=`useFormState`,c(),M(),jo(e)},useActionState:function(e){return Z=`useActionState`,c(),M(),jo(e)},useOptimistic:function(e,t){return Z=`useOptimistic`,c(),M(),yo(e,t)},useMemoCache:function(e){return c(),no(e)},useHostTransitionStatus:ss,useCacheRefresh:function(){return Z=`useCacheRefresh`,M(),Qa().memoizedState},useEffectEvent:function(e){return Z=`useEffectEvent`,c(),M(),zo(e)}};var $x={},eS=new Set,tS=new Set,nS=new Set,rS=new Set,iS=new Set,aS=new Set,oS=new Set,sS=new Set,cS=new Set,lS=new Set;Object.freeze($x);var uS={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(e),i=xa(r);i.payload=t,n!=null&&(vs(n),i.callback=n),t=Sa(e,i,r),t!==null&&(Oi(r,`this.setState()`,e),ru(t,e,r),Ca(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(e),i=xa(r);i.tag=cx,i.payload=t,n!=null&&(vs(n),i.callback=n),t=Sa(e,i,r),t!==null&&(Oi(r,`this.replaceState()`,e),ru(t,e,r),Ca(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(e),r=xa(n);r.tag=lx,t!=null&&(vs(t),r.callback=t),t=Sa(e,r,n),t!==null&&(Oi(n,`this.forceUpdate()`,e),ru(t,e,n),Ca(t,e,n))}},dS=null,fS=null,pS=Error(`This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.`),mS=!1,hS={},gS={},_S={},vS={},yS=!1,bS={},xS={},SS={},CS={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},wS=!1,TS=null;TS=new Set;var ES=!1,DS=null,OS=null,kS=0,AS=new Map,jS={},MS=0,NS=1,PS=2,FS=!1,IS=!1,LS=!1,RS=!1,zS=typeof WeakSet==`function`?WeakSet:Set,BS=null,VS=null,HS=null,US=!1,WS=!1,GS=!1,KS=!1,qS=null,JS=!1,YS=null,XS=!1,ZS=8192,QS={getCacheForType:function(e){var t=bi(vy),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return bi(vy).controller.signal},getOwner:function(){return gh}};if(typeof Symbol==`function`&&Symbol.for){var $S=Symbol.for;$S(`selector.component`),$S(`selector.has_pseudo_class`),$S(`selector.role`),$S(`selector.test_id`),$S(`selector.text`)}var eC=[],tC=typeof WeakMap==`function`?WeakMap:Map,nC=0,rC=2,iC=4,aC=0,oC=1,sC=2,cC=3,lC=4,uC=6,dC=5,fC=nC,pC=null,Q=null,$=0,mC=0,hC=1,gC=2,_C=3,vC=4,yC=5,bC=6,xC=7,SC=8,CC=9,wC=mC,TC=null,EC=!1,DC=!1,OC=!1,kC=0,AC=aC,jC=0,MC=0,NC=0,PC=0,FC=0,IC=null,LC=null,RC=!1,zC=0,BC=0,VC=300,HC=1/0,UC=500,WC=null,GC=null,KC=null,qC=0,JC=1,YC=2,XC=3,ZC=0,QC=1,$C=2,ew=3,tw=4,nw=5,rw=0,iw=null,aw=null,ow=0,sw=0,cw=-0,lw=null,uw=null,dw=null,fw=null,pw=null,mw=null,hw=qC,gw=null,_w=50,vw=0,yw=null,bw=!1,xw=!1,Sw=50,Cw=0,ww=null,Tw=!1,Ew=!1,Dw=null,Ow=!1,kw=new Set,Aw={},jw=null,Mw=null,Nw=!1,Pw=!1,Fw=!1,Iw=!1,Lw=0,Rw={};(function(){for(var e=0;e<lv.length;e++){var t=lv[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),cr(n,`on`+t)}cr(tv,`onAnimationEnd`),cr(nv,`onAnimationIteration`),cr(rv,`onAnimationStart`),cr(`dblclick`,`onDoubleClick`),cr(`focusin`,`onFocus`),cr(`focusout`,`onBlur`),cr(iv,`onTransitionRun`),cr(av,`onTransitionStart`),cr(ov,`onTransitionCancel`),cr(sv,`onTransitionEnd`)})(),_t(`onMouseEnter`,[`mouseout`,`mouseover`]),_t(`onMouseLeave`,[`mouseout`,`mouseover`]),_t(`onPointerEnter`,[`pointerout`,`pointerover`]),_t(`onPointerLeave`,[`pointerout`,`pointerover`]),gt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),gt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),gt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),gt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),gt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),gt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var zw=`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(` `),Bw=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(zw)),Vw=`_reactListening`+Math.random().toString(36).slice(2),Hw=!1,Uw=!1,Ww=!1,Gw=!1,Kw=!1,qw=!1,Jw=!1,Yw={},Xw=/\r\n?/g,Zw=/\u0000|\uFFFD/g,Qw=`http://www.w3.org/1999/xlink`,$w=`http://www.w3.org/XML/1998/namespace`,eT={},tT=`javascript:throw new Error('React form unexpectedly submitted.')`,nT=`suppressHydrationWarning`,rT=`&`,iT=`/&`,aT=`$`,oT=`/$`,sT=`$?`,cT=`$~`,lT=`$!`,uT=`html`,dT=`body`,fT=`head`,pT=`F!`,mT=`F`,hT=`loading`,gT=`style`,_T=0,vT=1,yT=2,bT=null,xT=null,ST=!1,CT={dialog:!0,webview:!0},wT=null,TT=void 0,ET=typeof setTimeout==`function`?setTimeout:void 0,DT=typeof clearTimeout==`function`?clearTimeout:void 0,OT=-1,kT=typeof Promise==`function`?Promise:void 0,AT=typeof requestAnimationFrame==`function`?requestAnimationFrame:ET,jT=typeof queueMicrotask==`function`?queueMicrotask:kT===void 0?ET:function(e){return kT.resolve(null).then(e).catch(af)},MT=500;Nf.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:I({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Nf.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Nf.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},Ff.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if(Bf(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=Rf(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),x(this._fragmentFiber,If,e,s,r)}this._eventListeners=a}},Ff.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=Bf(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=Rf(i.optionsOrUseCapture),x(this._fragmentFiber,Lf,e,n,i),r.splice(t,1),a!==null&&a()}},Ff.prototype.dispatchEvent=function(e){var t=re(this._fragmentFiber);if(t===null)return!0;t=se(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,Rf(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,Rf(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Ff.prototype.focus=function(e){S(this._fragmentFiber.child,!0,Vf,e,void 0,void 0)},Ff.prototype.focusLast=function(e){var t=[];S(this._fragmentFiber.child,!0,Hf,t,void 0,void 0);for(var n=t.length-1;0<=n&&!Vf(t[n],e);n--);},Ff.prototype.blur=function(){var e=re(this._fragmentFiber);e!==null&&(e=se(e),e=Yd(e).activeElement,e!==null&&x(this._fragmentFiber,Uf,e))},Ff.prototype.observeUsing=function(e){var t=!1,n=!1;x(this._fragmentFiber,function(e){if(e.tag===6)t=!0;else return n=!0;return!1}),t&&!n&&console.error(`observeUsing() was called on a FragmentInstance with only text children. Observers do not work on text nodes.`),this._observers===null&&(this._observers=new Set),this._observers.add(e),x(this._fragmentFiber,Wf,e)},Ff.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),x(this._fragmentFiber,Gf,e);for(var n=t=0;n<NT.length;n++){var r=NT[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):NT[t++]=r}NT.length=t}else console.error(`You are calling unobserveUsing() with an observer that is not being observed with this fragment instance. First attach the observer with observeUsing()`)};var NT=[],PT=!1;Ff.prototype.getClientRects=function(){var e=[];return x(this._fragmentFiber,qf,e),e},Ff.prototype.getRootNode=function(e){var t=re(this._fragmentFiber);return t===null?this:se(t).getRootNode(e)},Ff.prototype.compareDocumentPosition=function(e){var t=re(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];x(this._fragmentFiber,Hf,n);var r=se(t);if(n.length===0){if(t=r,ie(this._fragmentFiber)){a:{for(n=this._fragmentFiber.return;n!==null;){if(n.tag===4){n=n.stateNode.containerInfo;break a}if(n.tag===3||n.tag===5||n.tag===27)break;n=n.return}n=null}n!=null&&(t=n)}n=this._fragmentFiber;var i=r=t.compareDocumentPosition(e);return t===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=ae(n)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=se(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=se(n[0]),i=se(n[n.length-1]);var a=ie(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Jf(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},Ff.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(`FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead.`);var t=[];x(this._fragmentFiber,Hf,t);var n=!1!==e;if(t.length===0){var r=ae(this._fragmentFiber);if(r=n?r[1]||r[0]||re(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=se(r),Yf(e,n);return}if(r=se(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n===null?console.warn(`You are attempting to scroll a FragmentInstance that is only mounted inside a detached DocumentFragment. No scroll was performed.`):n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var i=t[r];i.tag===6?(i=se(i),Yf(i,n)):se(i).scrollIntoView(e),r+=n?-1:1}};var FT=null,IT=0,LT=1,RT=2,zT=3,BT=4,VT=new Map,HT=new Set,UT=Xm.d;Xm.d={f:function(){var e=UT.f(),t=cu();return e||t},r:function(e){var t=dt(e);t!==null&&t.tag===5&&t.type===`form`?rs(t):UT.r(e)},D:function(e){UT.D(e),Sp(`dns-prefetch`,e,null)},C:function(e,t){UT.C(e,t),Sp(`preconnect`,e,t)},L:function(e,t,n){UT.L(e,t,n);var r=WT;if(r&&e&&t){var i=`link[rel="preload"][as="`+At(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+At(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+At(n.imageSizes)+`"]`)):i+=`[href="`+At(e)+`"]`;var a=i;switch(t){case`style`:a=Tp(e);break;case`script`:a=kp(e)}if(!(VT.has(a)||(e=I({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),VT.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Ep(a))||t===`script`&&r.querySelector(Ap(a))))){var o=r.createElement(`link`);Fd(o,`link`,e),t===`style`&&(o[tg]=!0,o.onload=o.onerror=function(){ht(o)}),mt(o),r.head.appendChild(o)}}},m:function(e,t){UT.m(e,t);var n=WT;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+At(r)+`"][href="`+At(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=kp(e)}if(!VT.has(a)&&(e=I({rel:`modulepreload`,href:e},t),VT.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Ap(a)))return}r=n.createElement(`link`),Fd(r,`link`,e),mt(r),n.head.appendChild(r)}}},X:function(e,t){UT.X(e,t);var n=WT;if(n&&e){var r=pt(n).hoistableScripts,i=kp(e),a=r.get(i);a||(a=n.querySelector(Ap(i)),a||(e=I({src:e,async:!0},t),(t=VT.get(i))&&Pp(e,t),a=n.createElement(`script`),mt(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}},S:function(e,t,n){UT.S(e,t,n);var r=WT;if(r&&e){var i=pt(r).hoistableStyles,a=Tp(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:IT,preload:null};if(o=r.querySelector(Ep(a)))s.loading=LT|BT;else{e=I({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=VT.get(a))&&Np(e,n);var c=o=r.createElement(`link`);mt(c),Fd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=LT}),c.addEventListener(`error`,function(){s.loading|=RT}),s.loading|=BT,Mp(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){UT.M(e,t);var n=WT;if(n&&e){var r=pt(n).hoistableScripts,i=kp(e),a=r.get(i);a||(a=n.querySelector(Ap(i)),a||(e=I({src:e,async:!0,type:`module`},t),(t=VT.get(i))&&Pp(e,t),a=n.createElement(`script`),mt(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}};var WT=typeof document>`u`?null:document,GT=null,KT=6e4,qT=800,JT=500,YT=0,XT=null,ZT=null,QT=Zm,$T={$$typeof:Im,Provider:null,Consumer:null,_currentValue:QT,_currentValue2:QT,_threadCount:0},eE=`%c%s%c`,tE=`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,nE=``,rE=` `,iE=Function.prototype.bind,aE=!1,oE=null,sE=null,cE=null,lE=null,uE=null,dE=null,fE=null,pE=null,mE=null,hE=null;oE=function(e,r,i,a){r=t(e,r),r!==null&&(i=n(r.memoizedState,i,0,a),r.memoizedState=i,r.baseState=i,e.memoizedProps=I({},e.memoizedProps),i=Nr(e,2),i!==null&&ru(i,e,2))},sE=function(e,n,r){n=t(e,n),n!==null&&(r=a(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,e.memoizedProps=I({},e.memoizedProps),r=Nr(e,2),r!==null&&ru(r,e,2))},cE=function(e,n,i,a){n=t(e,n),n!==null&&(i=r(n.memoizedState,i,a),n.memoizedState=i,n.baseState=i,e.memoizedProps=I({},e.memoizedProps),i=Nr(e,2),i!==null&&ru(i,e,2))},lE=function(e,t,r){e.pendingProps=n(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nr(e,2),t!==null&&ru(t,e,2)},uE=function(e,t){e.pendingProps=a(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nr(e,2),t!==null&&ru(t,e,2)},dE=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nr(e,2),t!==null&&ru(t,e,2)},fE=function(e){var t=Nr(e,2);t!==null&&ru(t,e,2)},pE=function(e){var t=Xe(),n=Nr(e,t);n!==null&&ru(n,e,t)},mE=function(e){s=e},hE=function(e){o=e};var gE=!0,_E=null,vE=!1,yE=null,bE=null,xE=null,SE=new Map,CE=new Map,wE=[],TE=`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(` `),EE=null;if(Sm.prototype.render=xm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(`Cannot update an unmounted root.`);var n=arguments;typeof n[1]==`function`?console.error(`does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`):_(n[1])?console.error(`You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.`):n[1]!==void 0&&console.error(`You passed a second argument to root.render(...) but it only accepts one argument.`),n=e;var r=t.current;Qp(r,eu(r),n,t,null,null)},Sm.prototype.unmount=xm.prototype.unmount=function(){var e=arguments;if(typeof e[0]==`function`&&console.error(`does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(fC&(rC|iC))!==nC&&console.error(`Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.`),Qp(e.current,2,null,e,null,null),cu(),t[Yh]=null}},Sm.prototype.unstable_scheduleHydration=function(e){if(e){var t=st();e={blockedOn:null,target:e,priority:t};for(var n=0;n<wE.length&&t!==0&&t<wE[n].priority;n++);wE.splice(n,0,e),n===0&&pm(e)}},(function(){var e=Tm.version;if(e!==`19.3.0`)throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
220
+ - react: `+(e+`
221
+ - react-dom: 19.3.0
222
+ Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map==`function`&&Map.prototype!=null&&typeof Map.prototype.forEach==`function`&&typeof Set==`function`&&Set.prototype!=null&&typeof Set.prototype.clear==`function`&&typeof Set.prototype.forEach==`function`||console.error(`React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills`),Xm.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(`Unable to find node on an unmounted component.`):(e=Object.keys(e).join(`,`),Error(`Argument appears to not be a ReactComponent. Keys: `+e));return e=te(t),e=e===null?null:ne(e),e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:`19.3.0`,rendererPackageName:`react-dom`,currentDispatcherRef:L,reconcilerVersion:`19.3.0`};return e.overrideHookState=oE,e.overrideHookStateDeletePath=sE,e.overrideHookStateRenamePath=cE,e.overrideProps=lE,e.overridePropsDeletePath=uE,e.overridePropsRenamePath=dE,e.scheduleUpdate=fE,e.scheduleRetry=pE,e.setErrorHandler=mE,e.setSuspenseHandler=hE,e.scheduleRefresh=h,e.scheduleRoot=m,e.setRefreshHandler=g,e.getCurrentFiber=rm,He(e)})()&&n_&&window.top===window.self&&(-1<navigator.userAgent.indexOf(`Chrome`)&&navigator.userAgent.indexOf(`Edge`)===-1||-1<navigator.userAgent.indexOf(`Firefox`))){var DE=window.location.protocol;/^(https?|file):$/.test(DE)&&console.info(`%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools`+(DE===`file:`?`
223
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:``),`font-weight:bold`)}e.createRoot=function(e,t){if(!_(e))throw Error(`Target container is not a DOM element.`);Cm(e);var n=!1,r=``,i=Cs,a=ws,o=Ts;return t!=null&&(t.hydrate?console.warn(`hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.`):typeof t==`object`&&t&&t.$$typeof===Am&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
224
+
225
+ let root = createRoot(domContainer);
226
+ root.render(<App />);`),!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Xp(e,1,!1,null,null,n,r,null,i,a,o,bm),e[Yh]=t.current,_d(e),new xm(t)},e.hydrateRoot=function(e,t,n){if(!_(e))throw Error(`Target container is not a DOM element.`);Cm(e),t===void 0&&console.error(`Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)`);var r=!1,i=``,a=Cs,o=ws,s=Ts,c=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(c=n.formState)),t=Xp(e,1,!0,t,n??null,r,i,c,a,o,s,bm),t.context=Zp(null),n=t.current,r=eu(n),r=rt(r),i=xa(r),i.callback=null,Sa(n,i,r),Oi(r,`hydrateRoot()`,null),n=r,t.current.lanes=n,Qe(t,n),td(t),e[Yh]=t.current,_d(e),new Sm(t)},e.version=`19.3.0`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),Ut=x(((e,t)=>{t.exports=Ht()})),E=nt(Ne(),1),Wt=Ut(),Gt=[{key:`overview`,load:async()=>({Component:(await At(async()=>{let{OverviewTab:e}=await import(`./OverviewTab-ChSinrbI.js`);return{OverviewTab:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]))).OverviewTab})},{key:`code`,load:async()=>({Component:(await At(async()=>{let{CodeTab:e}=await import(`./CodeTab-CrRDpMQh.js`);return{CodeTab:e}},__vite__mapDeps([16,2,1,3,5,6,9,10,13,14,17,18]))).CodeTab})},{key:`quality`,load:async()=>({Component:(await At(async()=>{let{QualityTab:e}=await import(`./QualityTab-rRNWstc4.js`);return{QualityTab:e}},__vite__mapDeps([19,2,1,3,4,5,6,7,9,10,20,21]))).QualityTab})},{key:`effect`,load:async()=>({Component:(await At(async()=>{let{EffectTab:e}=await import(`./EffectTab-BSiY4Ej5.js`);return{EffectTab:e}},__vite__mapDeps([22,2,1,3,4,5,6,7,11,12,20,21,17,23]))).EffectTab})},{key:`cost`,load:async()=>({Component:(await At(async()=>{let{CostTab:e}=await import(`./CostTab-BBAyNzSe.js`);return{CostTab:e}},__vite__mapDeps([24,2,1,3,11,5,6,12,20,21,4,7]))).CostTab})}],Kt=Gt.flatMap(e=>[xt.stats,xt.projectStats].map(t=>({tab:e,path:ct(t,e.key)})));function qt(){return Yt(Qe().pathname)?.tab}function Jt(e){let t=Be().location?.pathname,n=t===void 0?void 0:Yt(t);return n!==void 0&&n.projectId===e?n.tab:void 0}function Yt(e){let t=i(Kt,e)?.[0];return t===void 0?void 0:{tab:t.route.tab,projectId:t.params.projectId}}var Xt={graphNotes:`_graphNotes_1uid0_1`,graphNote:`_graphNote_1uid0_1`},D=y(),Zt=`/home/runner/work/p-backlog/p-backlog/src/web/layout/GraphNotes.tsx`,Qt=[`none`,`stale`,`unreadable`];function $t(){let{layout:e,core:t}=_(),n=be(),r=(0,E.useMemo)(()=>tn(n.data??[]),[n.data]);return r.length===0?null:(0,D.jsxDEV)(`div`,{className:Xt.graphNotes,children:r.map(([n,r])=>{let i=e.graphNotes[n];return(0,D.jsxDEV)(`p`,{className:Xt.graphNote,children:[i.title,`: `,t.count(r,`project`),(0,D.jsxDEV)(`span`,{children:(0,D.jsxDEV)(en,{parts:i.hint},void 0,!1,{fileName:Zt,lineNumber:24,columnNumber:15},this)},void 0,!1,{fileName:Zt,lineNumber:23,columnNumber:13},this)]},n,!0,{fileName:Zt,lineNumber:21,columnNumber:11},this)})},void 0,!1,{fileName:Zt,lineNumber:17,columnNumber:5},this)}function en({parts:e}){return(0,D.jsxDEV)(D.Fragment,{children:e.map((e,t)=>(0,D.jsxDEV)(E.Fragment,{children:`code`in e?(0,D.jsxDEV)(`code`,{children:e.code},void 0,!1,{fileName:Zt,lineNumber:37,columnNumber:49},this):e.text},t,!1,{fileName:Zt,lineNumber:37,columnNumber:9},this))},void 0,!1,{fileName:Zt,lineNumber:35,columnNumber:5},this)}function tn(e){let t=e.filter(e=>e.active&&e.repos.length>0);return Qt.flatMap(e=>{let n=t.filter(t=>t.codeGraph===e).length;return n===0?[]:[[e,n]]})}var nn={button:`_button_1fa17_1`,secondary:`_secondary_1fa17_14`,primary:`_primary_1fa17_27`},rn=`/home/runner/work/p-backlog/p-backlog/src/web/ui/Button.tsx`;function an({variant:e=`secondary`,busy:t=!1,unavailable:n=!1,className:r,type:i=`button`,onClick:a,...o}){let s=!t&&!n;return(0,D.jsxDEV)(`button`,{type:i,className:C(nn.button,e===`primary`?nn.primary:nn.secondary,r),"aria-disabled":!s||void 0,"aria-busy":t||void 0,onClick:s?a:e=>e.preventDefault(),...o},void 0,!1,{fileName:rn,lineNumber:10,columnNumber:5},this)}var on=`/home/runner/work/p-backlog/p-backlog/src/web/ui/RetryButton.tsx`;function sn({failure:e,onRetry:t}){let{ui:n}=_(),[r,i]=(0,E.useState)(null),a=r===e;return(0,D.jsxDEV)(an,{busy:a,onClick:()=>{i(e),t().finally(()=>i(t=>t===e?null:t))},children:a?n.retrying:n.retry},void 0,!1,{fileName:on,lineNumber:14,columnNumber:5},this)}var cn=`/home/runner/work/p-backlog/p-backlog/src/web/app/RequestFailure.tsx`;function ln({error:e}){let{app:t}=_();return(0,D.jsxDEV)(D.Fragment,{children:pn(t,e,e=>(0,D.jsxDEV)(`code`,{className:`inline-code`,children:e},e,!1,{fileName:cn,lineNumber:9,columnNumber:5},this))},void 0,!1,{fileName:cn,lineNumber:13,columnNumber:10},this)}function un({error:e,onRetry:t}){return(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`p`,{children:(0,D.jsxDEV)(ln,{error:e},void 0,!1,{fileName:cn,lineNumber:20,columnNumber:9},this)},void 0,!1,{fileName:cn,lineNumber:19,columnNumber:7},this),(0,D.jsxDEV)(sn,{failure:e,onRetry:t},void 0,!1,{fileName:cn,lineNumber:22,columnNumber:7},this)]},void 0,!0,{fileName:cn,lineNumber:18,columnNumber:5},this)}function dn({action:e,error:t,className:n}){let{app:r}=_();return t===null?null:(0,D.jsxDEV)(`span`,{className:n,role:`alert`,children:[e,`: `,fn(r,t)]},void 0,!0,{fileName:cn,lineNumber:31,columnNumber:5},this)}function fn(e,t){return pn(e,t,e=>e).join(``)}function pn(e,t,r){let i=n(t);return i===`unreachable`?e.unreachableMessage(r):i===`timedOut`?[e.timedOutMessage]:t instanceof Ae?t.errors.length===0?[e.serverStatusError(t.status)]:[i===`serverFailure`?e.serverErrorPrefixed(t.message.replace(/\.$/,``)):t.message]:[t.message]}var mn={wrap:`_wrap_4u5gd_1`,switch:`_switch_4u5gd_11`,button:`_button_4u5gd_24`,pressed:`_pressed_4u5gd_46`,error:`_error_4u5gd_51`},hn=`/home/runner/work/p-backlog/p-backlog/src/web/layout/LanguageSwitch.tsx`;function gn(){let e=g(),{layout:t}=_(),n=Re();return(0,D.jsxDEV)(`div`,{className:mn.wrap,children:[(0,D.jsxDEV)(`div`,{className:mn.switch,role:`group`,"aria-label":t.languageSwitchLabel,children:Nt.map(t=>(0,D.jsxDEV)(`button`,{type:`button`,lang:t,title:Fe(t).languageName,className:C(mn.button,t===e&&mn.pressed),"aria-pressed":t===e,"aria-disabled":n.isPending||void 0,onClick:n.isPending?void 0:()=>n.mutate(t),children:t.toUpperCase()},t,!1,{fileName:hn,lineNumber:18,columnNumber:11},this))},void 0,!1,{fileName:hn,lineNumber:16,columnNumber:7},this),(0,D.jsxDEV)(dn,{className:mn.error,action:t.languageSwitchFailed,error:n.error},void 0,!1,{fileName:hn,lineNumber:32,columnNumber:7},this)]},void 0,!0,{fileName:hn,lineNumber:15,columnNumber:5},this)}function _n({error:e,data:t,isFetching:n}){let[r,i]=(0,E.useState)(null);return e!==null&&e!==r&&i(e),e??(t===void 0&&n?r:null)}function vn(e,t,{wholeBacklog:n=!1}={}){return e.filter(e=>e.id===t||(t===void 0||n)&&e.active)}function yn(e){return e.filter(e=>e.active)}function bn(e,t){if(e===void 0)return;let n=new Set(vn(e,t).map(e=>e.id));return e=>n.has(e.projectId)}function xn(e){return!oe(e.status)}function Sn(e,t){let n={inScope:0,outOfScope:0};for(let r of e)xn(r)&&(t(r)?n.inScope+=1:n.outOfScope+=1);return n}function Cn(e,t){return e?.find(e=>e.id===t)?.name??t}function wn(e,t){return t.scopeNote(yn(e).length,e.length)}var Tn={asc:`↑`,desc:`↓`};function En(e){return e===null?`—`:`${e}%`}function Dn(e){return`#${e}`}var On={button:`_button_165mg_1`,danger:`_danger_165mg_22`,muted:`_muted_165mg_27`},kn=`/home/runner/work/p-backlog/p-backlog/src/web/ui/IconButton.tsx`,An={neutral:void 0,danger:On.danger,muted:On.muted};function jn({label:e,tone:t=`neutral`,className:n,...r}){return(0,D.jsxDEV)(`button`,{type:`button`,className:C(On.button,An[t],n),"aria-label":e,...r},void 0,!1,{fileName:kn,lineNumber:12,columnNumber:10},this)}function Mn(){let e=document.activeElement;return e===null||e===document.body||e.matches(`main`)}function Nn(e,t){let n=(0,E.useRef)(null),r=(0,E.useRef)(!1);return(0,E.useEffect)(()=>{if(!r.current)return;let i=document.activeElement,a=n.current,o=Mn(),s=i!==null&&a?.contains(i)===!0;!o&&!s?r.current=!1:e?(r.current=!1,t?.current?.focus()):o&&a?.focus()}),{status:n,keepFocus:()=>{r.current=!0}}}var Pn=Vt();function Fn(e,t,n){let r=(0,E.useRef)(!1);return(0,E.useEffect)(()=>{!n&&r.current&&(r.current=!1,e.current?.focus())},[n,e]),(0,E.useCallback)(()=>{r.current=In(t.current)},[t])}function In(e){let t=document.activeElement;return Mn()||t===null||e===null?!0:e.contains(t)||t.contains(e)}var Ln={dialog:`_dialog_lzl2b_1`,title:`_title_lzl2b_16`,description:`_description_lzl2b_22`,field:`_field_lzl2b_27`,actions:`_actions_lzl2b_35`},Rn=`/home/runner/work/p-backlog/p-backlog/src/web/ui/ConfirmDialog.tsx`;function zn({open:e,returnFocusTo:t,onConfirm:n,onCancel:r,...i}){let a=(0,E.useRef)(null),o=Fn(t,a,e);if(!e)return null;let s=e=>{o(),n(e)},c=()=>{o(),r()};return(0,D.jsxDEV)(Bn,{...i,dialog:a,onConfirm:s,onCancel:c},void 0,!1,{fileName:Rn,lineNumber:33,columnNumber:10},this)}function Bn({dialog:e,title:t,description:n,fieldLabel:r,canConfirm:i,confirmLabel:a,onConfirm:o,onCancel:s}){let{ui:c}=_(),l=(0,E.useId)(),u=(0,E.useId)(),[d,f]=(0,E.useState)(``);return(0,E.useLayoutEffect)(()=>{let t=e.current;return t?.showModal(),()=>t?.close()},[e]),(0,Pn.createPortal)((0,D.jsxDEV)(`dialog`,{ref:e,className:Ln.dialog,"aria-labelledby":l,"aria-describedby":u,onCancel:s,onClose:e=>{e.currentTarget.open||s()},onKeyDown:e=>e.key===`Escape`&&e.stopPropagation(),children:[(0,D.jsxDEV)(`h2`,{id:l,className:Ln.title,children:t},void 0,!1,{fileName:Rn,lineNumber:69,columnNumber:7},this),(0,D.jsxDEV)(`p`,{id:u,className:Ln.description,children:n},void 0,!1,{fileName:Rn,lineNumber:72,columnNumber:7},this),(0,D.jsxDEV)(`form`,{onSubmit:e=>{e.preventDefault(),i(d)&&o(d)},children:[(0,D.jsxDEV)(`label`,{className:Ln.field,children:[r,(0,D.jsxDEV)(`input`,{value:d,autoComplete:`off`,onChange:e=>f(e.target.value)},void 0,!1,{fileName:Rn,lineNumber:78,columnNumber:11},this)]},void 0,!0,{fileName:Rn,lineNumber:76,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:Ln.actions,children:[(0,D.jsxDEV)(an,{onClick:s,children:c.cancel},void 0,!1,{fileName:Rn,lineNumber:81,columnNumber:11},this),(0,D.jsxDEV)(an,{type:`submit`,variant:`primary`,unavailable:!i(d),children:a},void 0,!1,{fileName:Rn,lineNumber:82,columnNumber:11},this)]},void 0,!0,{fileName:Rn,lineNumber:80,columnNumber:9},this)]},void 0,!0,{fileName:Rn,lineNumber:75,columnNumber:7},this)]},void 0,!0,{fileName:Rn,lineNumber:60,columnNumber:5},this),document.body)}var Vn={checkbox:`_checkbox_ucxv4_1`,delete:`_delete_ucxv4_17`,error:`_error_ucxv4_27`},Hn=`/home/runner/work/p-backlog/p-backlog/src/web/layout/ProjectControls.tsx`;function Un({project:e}){let{layout:t}=_(),n=Me();return(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`label`,{className:Vn.checkbox,children:(0,D.jsxDEV)(`input`,{type:`checkbox`,checked:e.active,"aria-label":t.checkboxLabel(e.name),onChange:t=>n.mutate({id:e.id,active:t.target.checked})},void 0,!1,{fileName:Hn,lineNumber:17,columnNumber:9},this)},void 0,!1,{fileName:Hn,lineNumber:16,columnNumber:7},this),(0,D.jsxDEV)(dn,{className:Vn.error,action:t.setActiveFailed(n.variables?.active??!1),error:n.error},void 0,!1,{fileName:Hn,lineNumber:19,columnNumber:7},this)]},void 0,!0,{fileName:Hn,lineNumber:15,columnNumber:5},this)}function Wn({project:e,taskCount:t,onDeleted:n}){let{layout:r}=_(),[i,a]=(0,E.useState)(!1),o=(0,E.useRef)(null),s=Xe();return(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(jn,{ref:o,label:r.deleteButtonLabel(e.name),tone:`danger`,className:Vn.delete,title:r.deleteButtonTitle,onClick:()=>a(!0),children:(0,D.jsxDEV)(`svg`,{viewBox:`0 0 16 16`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,D.jsxDEV)(`path`,{d:`M3 4.5h10M6.5 4.5V3h3v1.5M4.5 4.5l.6 8.2h5.8l.6-8.2`},void 0,!1,{fileName:Hn,lineNumber:36,columnNumber:11},this)},void 0,!1,{fileName:Hn,lineNumber:35,columnNumber:9},this)},void 0,!1,{fileName:Hn,lineNumber:34,columnNumber:7},this),(0,D.jsxDEV)(dn,{className:Vn.error,action:r.deleteFailed,error:s.error},void 0,!1,{fileName:Hn,lineNumber:39,columnNumber:7},this),(0,D.jsxDEV)(zn,{open:i,returnFocusTo:o,title:r.deleteDialogTitle(e.name),description:t===void 0?r.deleteDialogDescriptionUnknown:r.deleteDialogDescription(t),fieldLabel:r.confirmWordLabel(e.id),canConfirm:t=>t===e.id,confirmLabel:r.confirmLabel,onCancel:()=>a(!1),onConfirm:()=>{a(!1),s.mutate({id:e.id,confirm:e.id},{onSuccess:n})}},void 0,!1,{fileName:Hn,lineNumber:40,columnNumber:7},this)]},void 0,!0,{fileName:Hn,lineNumber:33,columnNumber:5},this)}var Gn={list:`_list_1dvzb_1`,item:`_item_1dvzb_10`,name:`_name_1dvzb_32`,count:`_count_1dvzb_39`,muted:`_muted_1dvzb_45`},Kn={row:`_row_xtuam_1`,scope:`_scope_xtuam_8`,scopeRow:`_scopeRow_xtuam_15`,scopeName:`_scopeName_xtuam_19`,scopeNote:`_scopeNote_xtuam_23`,number:`_number_xtuam_30`,rowLink:`_rowLink_xtuam_34`,projectsFailure:`_projectsFailure_xtuam_41`},qn=`/home/runner/work/p-backlog/p-backlog/src/web/layout/ProjectsScope.tsx`,Jn=`sidebar-projects`;function Yn({projectId:e,scopePath:t,search:n}){let{app:r,layout:i}=_(),a=be(),o=_n(a),s=de(),c=(0,E.useMemo)(()=>a.data??[],[a.data]),l=(0,E.useMemo)(()=>bn(a.data,void 0),[a.data]),u=(0,E.useMemo)(()=>s.data===void 0?void 0:$n(s.data,l),[s.data,l]),[d,f]=(0,E.useState)(!0),p=(0,E.useRef)(null),m=Se(),{status:h,keepFocus:g}=Nn(a.data!==void 0,p);return(0,D.jsxDEV)(`div`,{className:Kn.scope,children:[(0,D.jsxDEV)(`div`,{className:C(Gn.item,Kn.row,Kn.scopeRow),children:[(0,D.jsxDEV)(jn,{label:d?i.collapseProjects:i.expandProjects,tone:`muted`,"aria-expanded":d,"aria-controls":d?Jn:void 0,onClick:()=>f(!d),children:(0,D.jsxDEV)(er,{open:d},void 0,!1,{fileName:qn,lineNumber:49,columnNumber:11},this)},void 0,!1,{fileName:qn,lineNumber:42,columnNumber:9},this),(0,D.jsxDEV)(lt,{ref:p,to:{pathname:t(),search:n},"aria-current":e===void 0?`true`:void 0,className:C(Kn.rowLink,Kn.scopeName),children:i.projects},void 0,!1,{fileName:qn,lineNumber:51,columnNumber:9},this),(0,D.jsxDEV)(Xn,{count:u?.scopeOpen},void 0,!1,{fileName:qn,lineNumber:54,columnNumber:9},this)]},void 0,!0,{fileName:qn,lineNumber:41,columnNumber:7},this),a.data!==void 0&&(0,D.jsxDEV)(`p`,{className:Kn.scopeNote,children:[wn(c,r),d&&i.checkedSuffix]},void 0,!0,{fileName:qn,lineNumber:57,columnNumber:9},this),o!==null&&(0,D.jsxDEV)(`div`,{ref:h,className:Kn.projectsFailure,children:(0,D.jsxDEV)(un,{error:o,onRetry:()=>(g(),a.refetch())},void 0,!1,{fileName:qn,lineNumber:64,columnNumber:11},this)},void 0,!1,{fileName:qn,lineNumber:63,columnNumber:9},this),d&&(0,D.jsxDEV)(Zn,{projects:c,counts:u,scopePath:t,search:n,onDeleted:n=>{n.id===e&&m(t()),p.current?.focus()}},void 0,!1,{fileName:qn,lineNumber:68,columnNumber:9},this)]},void 0,!0,{fileName:qn,lineNumber:40,columnNumber:5},this)}function Xn({count:e}){let{layout:t}=_();return(0,D.jsxDEV)(`span`,{className:Gn.count,children:e===void 0?`—`:(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`span`,{className:Kn.number,children:e},void 0,!1,{fileName:qn,lineNumber:91,columnNumber:11},this),` `,t.taskWord(e)]},void 0,!0,{fileName:qn,lineNumber:90,columnNumber:9},this)},void 0,!1,{fileName:qn,lineNumber:86,columnNumber:5},this)}function Zn({projects:e,counts:t,scopePath:n,search:r,onDeleted:i}){let{layout:a}=_();return(0,D.jsxDEV)(`ul`,{className:Gn.list,id:Jn,"aria-label":a.projects,children:e.map(e=>(0,D.jsxDEV)(Qn,{project:e,to:n(e.id),search:r,openTasks:t===void 0?void 0:t.openByProject.get(e.id)??0,taskCount:t===void 0?void 0:t.totalByProject.get(e.id)??0,onDeleted:()=>i(e)},e.id,!1,{fileName:qn,lineNumber:105,columnNumber:9},this))},void 0,!1,{fileName:qn,lineNumber:103,columnNumber:5},this)}function Qn({to:e,search:t,openTasks:n,taskCount:r,project:i,onDeleted:a}){return(0,D.jsxDEV)(`li`,{className:C(Gn.item,Kn.row,!i.active&&Gn.muted),children:[(0,D.jsxDEV)(Un,{project:i},void 0,!1,{fileName:qn,lineNumber:124,columnNumber:7},this),(0,D.jsxDEV)(mt,{to:{pathname:e,search:t},"aria-current":`true`,className:C(Kn.rowLink),children:(0,D.jsxDEV)(`span`,{className:Gn.name,title:i.name,children:i.name},void 0,!1,{fileName:qn,lineNumber:126,columnNumber:9},this)},void 0,!1,{fileName:qn,lineNumber:125,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:Gn.count,children:n??`—`},void 0,!1,{fileName:qn,lineNumber:130,columnNumber:7},this),(0,D.jsxDEV)(Wn,{project:i,taskCount:r,onDeleted:a},void 0,!1,{fileName:qn,lineNumber:131,columnNumber:7},this)]},void 0,!0,{fileName:qn,lineNumber:123,columnNumber:5},this)}function $n({tasks:e,errors:t},n){let r=e.filter(xn),i=t.filter(e=>e.fileKind===`task`);return{scopeOpen:n===void 0?void 0:Sn(e,n).inScope,openByProject:l(r,e=>e.projectId),totalByProject:l([...e,...i],({projectId:e})=>e)}}function er({open:e}){return(0,D.jsxDEV)(`svg`,{viewBox:`0 0 16 16`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:e?(0,D.jsxDEV)(`path`,{d:`M4 6.5 8 10.5l4-4`},void 0,!1,{fileName:qn,lineNumber:151,columnNumber:15},this):(0,D.jsxDEV)(`path`,{d:`M6 4l4 4-4 4`},void 0,!1,{fileName:qn,lineNumber:151,columnNumber:48},this)},void 0,!1,{fileName:qn,lineNumber:150,columnNumber:5},this)}var tr={skipLink:`_skipLink_llqv0_1`,shell:`_shell_llqv0_18`,sidebar:`_sidebar_llqv0_26`,brand:`_brand_llqv0_36`,brandMark:`_brandMark_llqv0_50`,sectionLink:`_sectionLink_llqv0_57`,signalCount:`_signalCount_llqv0_65`},nr=`/home/runner/work/p-backlog/p-backlog/src/web/layout/AppLayout.tsx`,rr=C(Gn.item,tr.sectionLink);function ir(){let{layout:e}=_(),{search:t}=Qe(),{projectId:n}=Te(),r=Ce(`signals`,n).data?.signals.length??0,i=qt(),a=i!==void 0;return(0,D.jsxDEV)(`div`,{className:tr.shell,children:[(0,D.jsxDEV)(`a`,{href:`#content`,className:C(`visually-hidden`,tr.skipLink),children:e.skipLink},void 0,!1,{fileName:nr,lineNumber:28,columnNumber:7},this),(0,D.jsxDEV)(`nav`,{className:tr.sidebar,"aria-label":e.sidebarNav,children:[(0,D.jsxDEV)(lt,{to:gt(),className:tr.brand,children:[e.brand,(0,D.jsxDEV)(`span`,{className:tr.brandMark,"aria-hidden":`true`},void 0,!1,{fileName:nr,lineNumber:34,columnNumber:11},this)]},void 0,!0,{fileName:nr,lineNumber:32,columnNumber:9},this),(0,D.jsxDEV)(`ul`,{className:Gn.list,"aria-label":e.sectionsLabel,children:[(0,D.jsxDEV)(`li`,{children:(0,D.jsxDEV)(lt,{to:gt(n),className:rr,"aria-current":a?void 0:`page`,children:(0,D.jsxDEV)(`span`,{className:Gn.name,children:e.tasksNav},void 0,!1,{fileName:nr,lineNumber:39,columnNumber:15},this)},void 0,!1,{fileName:nr,lineNumber:38,columnNumber:13},this)},void 0,!1,{fileName:nr,lineNumber:37,columnNumber:11},this),(0,D.jsxDEV)(`li`,{children:(0,D.jsxDEV)(lt,{to:yt(n),className:rr,"aria-current":ar(i),children:[(0,D.jsxDEV)(`span`,{className:Gn.name,children:e.statsNav},void 0,!1,{fileName:nr,lineNumber:44,columnNumber:15},this),r>0&&(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`span`,{className:C(Gn.count,tr.signalCount),"aria-hidden":`true`,children:r},void 0,!1,{fileName:nr,lineNumber:47,columnNumber:19},this),(0,D.jsxDEV)(`span`,{className:`visually-hidden`,children:e.signalsHidden(r)},void 0,!1,{fileName:nr,lineNumber:50,columnNumber:19},this)]},void 0,!0,{fileName:nr,lineNumber:46,columnNumber:17},this)]},void 0,!0,{fileName:nr,lineNumber:43,columnNumber:13},this)},void 0,!1,{fileName:nr,lineNumber:42,columnNumber:11},this)]},void 0,!0,{fileName:nr,lineNumber:36,columnNumber:9},this),(0,D.jsxDEV)(Yn,{projectId:n,scopePath:e=>a?pt(i.key,e):gt(e),search:a?``:t},void 0,!1,{fileName:nr,lineNumber:56,columnNumber:9},this),(0,D.jsxDEV)($t,{},void 0,!1,{fileName:nr,lineNumber:57,columnNumber:9},this),(0,D.jsxDEV)(gn,{},void 0,!1,{fileName:nr,lineNumber:58,columnNumber:9},this)]},void 0,!0,{fileName:nr,lineNumber:31,columnNumber:7},this),(0,D.jsxDEV)(ht,{},void 0,!1,{fileName:nr,lineNumber:60,columnNumber:7},this)]},void 0,!0,{fileName:nr,lineNumber:27,columnNumber:5},this)}function ar(e){if(e!==void 0)return e.key===`overview`?`page`:`true`}var or=`/home/runner/work/p-backlog/p-backlog/src/web/app/all-tasks.tsx`,sr=(0,E.createContext)(null);function cr({value:e,children:t}){return(0,D.jsxDEV)(sr.Provider,{value:e,children:t},void 0,!1,{fileName:or,lineNumber:11,columnNumber:10},this)}function lr(){let e=(0,E.useContext)(sr);if(!e)throw Error(`AllTasksProvider is not mounted`);return e}function ur(e,t){let[n,r]=(0,E.useState)(e);return(0,E.useEffect)(()=>{let n=setTimeout(()=>r(e),t);return()=>clearTimeout(n)},[e,t]),n}function dr(e){(0,E.useEffect)(()=>{document.title=e},[e])}function fr(e,t){let n=n=>n===e.id?e:t.byId.get(n),r=[];e.blockedBy.includes(e.id)&&r.push({code:`self-block`}),e.related.includes(e.id)&&r.push({code:`self-related`}),r.push(...pr(e,t));let i=(t.childrenOf.get(e.id)??[]).filter(t=>t.id!==e.id);e.type===`task`&&i.length>0&&r.push({code:`referenced-as-epic`,children:i.map(e=>e.id)});let a=_r(e,n);return a&&r.push({code:`blocker-cycle`,cycle:a}),e.resolution!==void 0&&e.status!==s[e.resolution]&&r.push({code:`resolution-needs-status`,resolution:e.resolution,status:s[e.resolution]}),e.reason!==void 0&&e.resolution===void 0&&r.push({code:`reason-without-resolution`}),r}function pr(e,t){if(e.epic===void 0)return[];let n=[];if(e.epic===e.id)n.push({code:`epic-self`});else{let r=t.byId.get(e.epic);r?r.type===`epic`?r.projectId!==e.projectId&&n.push({code:`epic-foreign-project`,epic:e.epic}):n.push({code:`epic-not-epic`,epic:e.epic}):n.push(mr(e.epic,t.notLoaded.get(e.epic)))}return e.type===`epic`&&n.push({code:`epic-in-epic`}),n}function mr(e,t){return t===void 0?{code:`epic-missing`,epic:e}:{code:`epic-unparsed`,epic:e,fileKind:t}}function hr(e,t){return[...le(e,t).map(e=>gr(e,t.notLoaded.get(e))),...fr(e,t)]}function gr(e,t){return t===void 0?{code:`reference-missing`,id:e}:{code:`reference-unparsed`,id:e,fileKind:t}}function _r(e,t){let n=new Set,r=(i,a)=>{for(let o of i.blockedBy){if(o===e.id)return[...a,o];if(n.has(o))continue;n.add(o);let i=t(o),s=i?r(i,[...a,o]):null;if(s)return s}return null};return r({...e,blockedBy:e.blockedBy.filter(t=>t!==e.id)},[e.id])}var vr={track:`_track_f72xh_1`,fill:`_fill_f72xh_10`},yr=`/home/runner/work/p-backlog/p-backlog/src/web/ui/Meter.tsx`;function br({fraction:e,className:t,...n}){return(0,D.jsxDEV)(`span`,{className:C(vr.track,t),...n,children:(0,D.jsxDEV)(`span`,{className:vr.fill,style:{transform:`scaleX(${e})`}},void 0,!1,{fileName:yr,lineNumber:10,columnNumber:7},this)},void 0,!1,{fileName:yr,lineNumber:9,columnNumber:5},this)}var xr={wrap:`_wrap_1w1bu_1`,value:`_value_1w1bu_7`,lastDay:`_lastDay_1w1bu_14`,bar:`_bar_1w1bu_22`,barFill:`_barFill_1w1bu_33`},Sr=`/home/runner/work/p-backlog/p-backlog/src/web/ui/Deletion.tsx`;function Cr({task:e,now:t}){let n=Tr(e,t);return n===void 0?null:(0,D.jsxDEV)(`span`,{className:C(xr.wrap,n.lastDay&&xr.lastDay),title:n.title,children:[(0,D.jsxDEV)(br,{fraction:n.fraction,"aria-hidden":`true`},void 0,!1,{fileName:Sr,lineNumber:18,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:xr.value,children:n.text},void 0,!1,{fileName:Sr,lineNumber:19,columnNumber:7},this)]},void 0,!0,{fileName:Sr,lineNumber:17,columnNumber:5},this)}function wr({task:e,now:t}){let n=Tr(e,t);return n===void 0?null:(0,D.jsxDEV)(`span`,{className:C(xr.bar,n.lastDay&&xr.lastDay),title:n.title,role:`img`,"aria-label":`${n.text}, ${n.title}`,children:(0,D.jsxDEV)(`span`,{className:xr.barFill,style:{transform:`scaleY(${n.fraction})`}},void 0,!1,{fileName:Sr,lineNumber:29,columnNumber:7},this)},void 0,!1,{fileName:Sr,lineNumber:28,columnNumber:5},this)}function Tr(e,t){let n=g(),{ui:r}=_(),{index:i}=lr(),a=v(e,i);if(a===void 0)return;if(`afterEpic`in a)return{text:r.deletesAfterEpic(a.afterEpic),title:r.deletesAfterEpicTitle(7),fraction:1,lastDay:!1};let o=a.at,s=Dt(n,o);if(t.getTime()>=o.getTime())return{text:r.deletionDelayed,title:r.deletionDelayedTitle(s),fraction:0,lastDay:!1};let c=o.getTime()-t.getTime(),l=c<Mt;return{text:l?r.deletesToday:r.deletesInDays(Math.ceil(c/Mt)),title:r.deletesOn(s),fraction:Math.min(1,c/(7*Mt)),lastDay:l}}var Er=[1,2,3,4,5];function Dr(e){let t=e.filter(e=>e.type===`epic`).sort((e,t)=>re(e.id,t.id)),n=new Map,r=new Map;for(let e of t){let t=r.get(e.projectId)??0;n.set(e.id,kr(t)),r.set(e.projectId,t+1)}return n}function Or(e,t){let n=e.type===`epic`?e.id:e.epic;return n===void 0?void 0:t.get(n)}function kr(e){return Er[e%Er.length]??Er[0]}var Ar={wrap:`_wrap_v0j2c_1`,value:`_value_v0j2c_7`,done:`_done_v0j2c_15`},jr=`/home/runner/work/p-backlog/p-backlog/src/web/ui/ProgressBar.tsx`;function Mr({progress:e}){let{ui:t}=_();return e===null?(0,D.jsxDEV)(`span`,{className:Ar.value,children:En(e)},void 0,!1,{fileName:jr,lineNumber:9,columnNumber:33},this):(0,D.jsxDEV)(`span`,{className:C(Ar.wrap,e===100&&Ar.done),children:[(0,D.jsxDEV)(br,{fraction:e/100,role:`progressbar`,"aria-label":t.progress,"aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":100},void 0,!1,{fileName:jr,lineNumber:12,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:Ar.value,children:En(e)},void 0,!1,{fileName:jr,lineNumber:13,columnNumber:7},this)]},void 0,!0,{fileName:jr,lineNumber:11,columnNumber:5},this)}var Nr=5e3;function Pr({unsaved:e,saving:t,saveFailed:n},{ifUnsaved:r,ifStillSaving:i}){let a=e||t,o=We(({currentLocation:e,nextLocation:t})=>a&&e.pathname!==t.pathname),s=o.state===`blocked`,[c,l]=(0,E.useState)(!1);(0,E.useEffect)(()=>{if(!s||!t)return;let e=setTimeout(()=>l(!0),Nr);return()=>{clearTimeout(e),l(!1)}},[s,t]),(0,E.useEffect)(()=>{o.state!==`blocked`||t&&!c||((e?window.confirm(r):t?window.confirm(i):!n)?o.proceed():o.reset())},[o,r,i,e,t,n,c]),ut(e=>{a&&e.preventDefault()})}var Fr=`/home/runner/work/p-backlog/p-backlog/src/web/ui/CloseIcon.tsx`;function Ir(){return(0,D.jsxDEV)(`svg`,{viewBox:`0 0 16 16`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,"aria-hidden":`true`,children:(0,D.jsxDEV)(`path`,{d:`M4 4l8 8M12 4l-8 8`},void 0,!1,{fileName:Fr,lineNumber:4,columnNumber:7},this)},void 0,!1,{fileName:Fr,lineNumber:3,columnNumber:5},this)}var Lr={drawer:`_drawer_1ovhk_1`,header:`_header_1ovhk_37`},Rr=`/home/runner/work/p-backlog/p-backlog/src/web/ui/SidePanel.tsx`,zr=`input, textarea, select`,Br=`--drawer-modal`;function Vr({label:e,heading:t,onClose:n,className:r,children:i}){let{ui:a}=_(),o=(0,E.useRef)(null),s=(0,E.useRef)(n);return(0,E.useEffect)(()=>{s.current=n}),(0,E.useLayoutEffect)(()=>{let e=document.activeElement instanceof HTMLElement?document.activeElement:null,t=o.current,n=null,r=()=>{let e=t!==null&&Hr(t);e!==(n!==null)&&(n?.(),n=e?Ur(t):null,e&&!t.contains(document.activeElement)&&t.focus())};r(),window.addEventListener(`resize`,r),t?.focus();let i=e=>{n===null||e.target instanceof Node&&t?.contains(e.target)||(t?.focus(),s.current())};document.addEventListener(`pointerdown`,i);let a=e=>{e.key!==`Escape`||e.defaultPrevented||(e.target instanceof HTMLElement&&e.target.closest(zr)?t?.focus():s.current())};return document.addEventListener(`keydown`,a),()=>{document.removeEventListener(`keydown`,a),window.removeEventListener(`resize`,r),document.removeEventListener(`pointerdown`,i),n?.(),t?.contains(document.activeElement)&&e?.focus()}},[]),(0,D.jsxDEV)(`aside`,{ref:o,className:C(Lr.drawer,r),"aria-label":e,tabIndex:-1,children:[(0,D.jsxDEV)(`header`,{className:Lr.header,children:[t,(0,D.jsxDEV)(jn,{label:a.close,onClick:()=>s.current(),children:(0,D.jsxDEV)(Ir,{},void 0,!1,{fileName:Rr,lineNumber:66,columnNumber:11},this)},void 0,!1,{fileName:Rr,lineNumber:65,columnNumber:9},this)]},void 0,!0,{fileName:Rr,lineNumber:63,columnNumber:7},this),i]},void 0,!0,{fileName:Rr,lineNumber:62,columnNumber:5},this)}function Hr(e){return getComputedStyle(e).getPropertyValue(Br).trim()===`1`}function Ur(e){let t=[];for(let n=e;n.parentElement!==null&&n!==document.body;n=n.parentElement)for(let e of n.parentElement.children)e===n||e.hasAttribute(`inert`)||(e.setAttribute(`inert`,``),t.push(e));return()=>t.forEach(e=>e.removeAttribute(`inert`))}var Wr={badge:`_badge_xxffe_1`,dot:`_dot_xxffe_10`,backlog:`_backlog_xxffe_17`,inProgress:`_inProgress_xxffe_21`,blocked:`_blocked_xxffe_25`,done:`_done_xxffe_29`,cancelled:`_cancelled_xxffe_33`},Gr=`/home/runner/work/p-backlog/p-backlog/src/web/ui/StatusBadge.tsx`,Kr={backlog:Wr.backlog,"in-progress":Wr.inProgress,blocked:Wr.blocked,done:Wr.done,cancelled:Wr.cancelled};function qr({status:e}){let{core:t}=_();return(0,D.jsxDEV)(`span`,{className:C(Wr.badge,Kr[e]),children:[(0,D.jsxDEV)(`span`,{className:Wr.dot},void 0,!1,{fileName:Gr,lineNumber:18,columnNumber:7},this),t.statusLabel(e)]},void 0,!0,{fileName:Gr,lineNumber:17,columnNumber:5},this)}var Jr={id:`_id_7cjs9_1`,muted:`_muted_7cjs9_7`,link:`_link_7cjs9_19`},Yr=`/home/runner/work/p-backlog/p-backlog/src/web/ui/TaskId.tsx`;function Xr({id:e,tone:t,muted:n=!1}){return(0,D.jsxDEV)(`span`,{className:C(Jr.id,n&&Jr.muted),"data-epic-tone":t,children:e},void 0,!1,{fileName:Yr,lineNumber:8,columnNumber:5},this)}function Zr({id:e,to:t}){return(0,D.jsxDEV)(lt,{to:t,className:C(Jr.id,Jr.link),children:e},void 0,!1,{fileName:Yr,lineNumber:16,columnNumber:5},this)}var Qr=Tt;function $r(){let[e,t]=(0,E.useState)(()=>new Date);return(0,E.useEffect)(()=>{let e=setInterval(()=>t(new Date),Qr);return()=>clearInterval(e)},[]),e}var ei=class extends Error{name=`Assertion`;code=`ERR_ASSERTION`;constructor(e,t,n,r,i){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.actual=t,this.expected=n,this.generated=i,this.operator=r}};function O(e,t){ni(!!e,!1,!0,`ok`,`Expected value to be truthy`,t)}function ti(e){ni(!1,!1,!0,`ok`,`Unreachable`,e)}function ni(e,t,n,r,i,a){if(!e)throw a instanceof Error?a:new ei(a||i,t,n,r,!a)}function ri(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var ii=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ai=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,oi={};function si(e,t){return((t||oi).jsx?ai:ii).test(e)}var ci=/[ \t\n\f\r]/g;function li(e){return typeof e==`object`?e.type===`text`&&ui(e.value):ui(e)}function ui(e){return e.replace(ci,``)===``}var di=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};di.prototype.normal={},di.prototype.property={},di.prototype.space=void 0;function fi(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new di(n,r,t)}function pi(e){return e.toLowerCase()}var mi=class{constructor(e,t){this.attribute=t,this.property=e}};mi.prototype.attribute=``,mi.prototype.booleanish=!1,mi.prototype.boolean=!1,mi.prototype.commaOrSpaceSeparated=!1,mi.prototype.commaSeparated=!1,mi.prototype.defined=!1,mi.prototype.mustUseProperty=!1,mi.prototype.number=!1,mi.prototype.overloadedBoolean=!1,mi.prototype.property=``,mi.prototype.spaceSeparated=!1,mi.prototype.space=void 0;var hi=o({boolean:()=>k,booleanish:()=>_i,commaOrSpaceSeparated:()=>xi,commaSeparated:()=>bi,number:()=>A,overloadedBoolean:()=>vi,spaceSeparated:()=>yi}),gi=0,k=Si(),_i=Si(),vi=Si(),A=Si(),yi=Si(),bi=Si(),xi=Si();function Si(){return 2**++gi}var Ci=Object.keys(hi),wi=class extends mi{constructor(e,t,n,r){let i=-1;if(super(e,t),Ti(this,`space`,r),typeof n==`number`)for(;++i<Ci.length;){let e=Ci[i];Ti(this,Ci[i],(n&hi[e])===hi[e])}}};wi.prototype.defined=!0;function Ti(e,t,n){n&&(e[t]=n)}function Ei(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new wi(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[pi(r)]=r,n[pi(a.attribute)]=r}return new di(t,n,e.space)}var Di=Ei({properties:{ariaActiveDescendant:null,ariaAtomic:_i,ariaAutoComplete:null,ariaBusy:_i,ariaChecked:_i,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:yi,ariaCurrent:null,ariaDescribedBy:yi,ariaDetails:null,ariaDisabled:_i,ariaDropEffect:yi,ariaErrorMessage:null,ariaExpanded:_i,ariaFlowTo:yi,ariaGrabbed:_i,ariaHasPopup:null,ariaHidden:_i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:yi,ariaLevel:A,ariaLive:null,ariaModal:_i,ariaMultiLine:_i,ariaMultiSelectable:_i,ariaOrientation:null,ariaOwns:yi,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:_i,ariaReadOnly:_i,ariaRelevant:null,ariaRequired:_i,ariaRoleDescription:yi,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:_i,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function Oi(e,t){return t in e?e[t]:t}function ki(e,t){return Oi(e,t.toLowerCase())}var Ai=Ei({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:bi,acceptCharset:yi,accessKey:yi,action:null,allow:null,allowFullScreen:k,allowPaymentRequest:k,allowUserMedia:k,alpha:k,alt:null,as:null,async:k,autoCapitalize:null,autoComplete:yi,autoFocus:k,autoPlay:k,blocking:yi,capture:null,charSet:null,checked:k,cite:null,className:yi,closedBy:null,colorSpace:null,cols:A,colSpan:A,command:null,commandFor:null,content:null,contentEditable:_i,controls:k,controlsList:yi,coords:A|bi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:k,defer:k,dir:null,dirName:null,disabled:k,download:vi,draggable:_i,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:k,formTarget:null,headers:yi,height:A,hidden:vi,high:A,href:null,hrefLang:null,htmlFor:yi,httpEquiv:yi,id:null,imageSizes:null,imageSrcSet:null,inert:k,inputMode:null,integrity:null,is:null,isMap:k,itemId:null,itemProp:yi,itemRef:yi,itemScope:k,itemType:yi,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:k,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:k,muted:k,name:null,nonce:null,noModule:k,noValidate:k,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:k,optimum:A,pattern:null,ping:yi,placeholder:null,playsInline:k,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:k,referrerPolicy:null,rel:yi,required:k,reversed:k,rows:A,rowSpan:A,sandbox:yi,scope:null,scoped:k,seamless:k,selected:k,shadowRootClonable:k,shadowRootCustomElementRegistry:k,shadowRootDelegatesFocus:k,shadowRootMode:null,shadowRootSerializable:k,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:_i,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:k,useMap:null,value:_i,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:yi,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:k,declare:k,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:k,noHref:k,noShade:k,noWrap:k,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:_i,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:k,disablePictureInPicture:k,disableRemotePlayback:k,exportParts:bi,part:yi,prefix:null,property:null,results:A,security:null,unselectable:null},space:`html`,transform:ki}),ji=Ei({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:xi,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:yi,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:k,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:bi,g2:bi,glyphName:bi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:xi,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:A,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:yi,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xi,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xi,rev:xi,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xi,requiredFeatures:xi,requiredFonts:xi,requiredFormats:xi,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:xi,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xi,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xi,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:Oi}),Mi=Ei({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),Ni=Ei({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:ki}),Pi=Ei({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),Fi={classId:`classID`,dataType:`datatype`,itemId:`itemID`,strokeDashArray:`strokeDasharray`,strokeDashOffset:`strokeDashoffset`,strokeLineCap:`strokeLinecap`,strokeLineJoin:`strokeLinejoin`,strokeMiterLimit:`strokeMiterlimit`,typeOf:`typeof`,xLinkActuate:`xlinkActuate`,xLinkArcRole:`xlinkArcrole`,xLinkHref:`xlinkHref`,xLinkRole:`xlinkRole`,xLinkShow:`xlinkShow`,xLinkTitle:`xlinkTitle`,xLinkType:`xlinkType`,xmlnsXLink:`xmlnsXlink`},Ii=/[A-Z]/g,Li=/-[a-z]/g,Ri=/^data[-\w.:]+$/i;function zi(e,t){let n=pi(t),r=t,i=mi;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&Ri.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Li,Vi);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Li.test(e)){let n=e.replace(Ii,Bi);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=wi}return new i(r,t)}function Bi(e){return`-`+e.toLowerCase()}function Vi(e){return e.charAt(1).toUpperCase()}var Hi=fi([Di,Ai,Mi,Ni,Pi],`html`),Ui=fi([Di,ji,Mi,Ni,Pi],`svg`);function Wi(e){return e.join(` `).trim()}var Gi=x(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var l=1,u=1;function f(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(`
227
+ `);u=~n?e.length-n:u+e.length}function p(){var e={line:l,column:u};return function(t){return t.position=new m(e),_(),t}}function m(e){this.start=e,this.end={line:l,column:u},this.source=t.source}m.prototype.content=e;function h(n){var r=Error(t.source+`:`+l+`:`+u+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=u,r.source=e,!t.silent)throw r}function g(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function _(){g(i)}function v(e){var t;for(e||=[];t=y();)t!==!1&&e.push(t);return e}function y(){var t=p();if(e.charAt(0)==`/`&&e.charAt(1)==`*`){for(var n=2;e.charAt(n)!=``&&(e.charAt(n)!=`*`||e.charAt(n+1)!=`/`);)++n;if(n+=2,e.charAt(n-1)===``)return h(`End of comment missing`);var r=e.slice(2,n-2);return u+=2,f(r),e=e.slice(n),u+=2,t({type:`comment`,comment:r})}}function b(){var e=p(),t=g(a);if(t){if(y(),!g(o))return h(`property missing ':'`);var r=g(s),i=e({type:`declaration`,property:d(t[0].replace(n,``)),value:r?d(r[0].replace(n,``)):``});return g(c),i}}function ee(){var e=[];v(e);for(var t;t=b();)t!==!1&&(e.push(t),v(e));return e}return _(),ee()}function d(e){return e?e.replace(l,``):``}t.exports=u})),Ki=x(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var i=r(Gi());function a(e,t){let n=null;if(!e||typeof e!=`string`)return n;let r=(0,i.default)(e),a=typeof t==`function`;return r.forEach(e=>{if(e.type!==`declaration`)return;let{property:r,value:i}=e;a?t(r,i,e):i&&(n||={},n[r]=i)}),n}})),qi=x((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),Ji=x(((e,t,n)=>{var r=(n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Ki()),i=qi();function a(e,t){var n={};return!e||typeof e!=`string`||(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,t.exports=a})),Yi=Zi(`end`),Xi=Zi(`start`);function Zi(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function Qi(e){let t=Xi(e),n=Yi(e);if(t&&n)return{start:t,end:n}}function $i(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?ta(e.position):`start`in e||`end`in e?ta(e):`line`in e||`column`in e?ea(e):``}function ea(e){return na(e&&e.line)+`:`+na(e&&e.column)}function ta(e){return ea(e&&e.start)+`-`+ea(e&&e.end)}function na(e){return e&&typeof e==`number`?e:1}var ra=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=$i(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};ra.prototype.file=``,ra.prototype.name=``,ra.prototype.reason=``,ra.prototype.message=``,ra.prototype.stack=``,ra.prototype.column=void 0,ra.prototype.line=void 0,ra.prototype.ancestors=void 0,ra.prototype.cause=void 0,ra.prototype.fatal=void 0,ra.prototype.place=void 0,ra.prototype.ruleId=void 0,ra.prototype.source=void 0;var ia=nt(Ji(),1),aa={}.hasOwnProperty,oa=new Map,sa=/[A-Z]/g,ca=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),la=new Set([`td`,`th`]),ua=`https://github.com/syntax-tree/hast-util-to-jsx-runtime`;function da(e,t){if(!t||t.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!=`function`)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=Sa(n,t.jsxDEV)}else{if(typeof t.jsx!=`function`)throw TypeError("Expected `jsx` in production options");if(typeof t.jsxs!=`function`)throw TypeError("Expected `jsxs` in production options");r=xa(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||`react`,evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===`svg`?Ui:Hi,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=fa(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function fa(e,t,n){if(t.type===`element`)return pa(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return ma(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return ga(e,t,n);if(t.type===`mdxjsEsm`)return ha(e,t);if(t.type===`root`)return _a(e,t,n);if(t.type===`text`)return va(e,t)}function pa(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=Ui,e.schema=i),e.ancestors.push(t);let a=Oa(e,t.tagName,!1),o=Ca(e,t),s=Ta(e,t);return ca.has(t.tagName)&&(s=s.filter(function(e){return typeof e!=`string`||!li(e)})),ya(e,o,a,t),ba(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function ma(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return O(n.type===`ExpressionStatement`),e.evaluater.evaluateExpression(n.expression)}ka(e,t.position)}function ha(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ka(e,t.position)}function ga(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=Ui,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:Oa(e,t.name,!0),o=wa(e,t),s=Ta(e,t);return ya(e,o,a,t),ba(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function _a(e,t,n){let r={};return ba(r,Ta(e,t)),e.create(t,e.Fragment,r,n)}function va(e,t){return t.value}function ya(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ba(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function xa(e,t,n){return r;function r(e,r,i,a){let o=Array.isArray(i.children)?n:t;return a?o(r,i,a):o(r,i)}}function Sa(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=Xi(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function Ca(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&aa.call(t.properties,i)){let a=Ea(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&la.has(t.tagName)?r=o:n[i]=o}}if(r){let t=n.style||={};t[e.stylePropertyNameCase===`css`?`text-align`:`textAlign`]=r}return n}function wa(e,t){let n={};for(let r of t.attributes)if(r.type===`mdxJsxExpressionAttribute`){if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];O(t.type===`ExpressionStatement`);let i=t.expression;O(i.type===`ObjectExpression`);let a=i.properties[0];O(a.type===`SpreadElement`),Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else ka(e,t.position)}else{let i=r.name,a;if(r.value&&typeof r.value==`object`){if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];O(t.type===`ExpressionStatement`),a=e.evaluater.evaluateExpression(t.expression)}else ka(e,t.position)}else a=r.value===null||r.value;n[i]=a}return n}function Ta(e,t){let n=[],r=-1,i=e.passKeys?new Map:oa;for(;++r<t.children.length;){let a=t.children[r],o;if(e.passKeys){let e=a.type===`element`?a.tagName:a.type===`mdxJsxFlowElement`||a.type===`mdxJsxTextElement`?a.name:void 0;if(e){let t=i.get(e)||0;o=e+`-`+t,i.set(e,t+1)}}let s=fa(e,a,o);s!==void 0&&n.push(s)}return n}function Ea(e,t,n){let r=zi(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?ri(n):Wi(n)),r.property===`style`){let t=typeof n==`object`?n:Da(e,String(n));return e.stylePropertyNameCase===`css`&&(t=Aa(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?Fi[r.property]||r.property:r.attribute,n]}}function Da(e,t){try{return(0,ia.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new ra("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:`style`,source:`hast-util-to-jsx-runtime`});throw r.file=e.filePath||void 0,r.url=ua+`#cannot-parse-style-attribute`,r}}function Oa(e,t,n){let r;if(!n)r={type:`Literal`,value:t};else if(t.includes(`.`)){let e=t.split(`.`),n=-1,i;for(;++n<e.length;){let t=si(e[n])?{type:`Identifier`,name:e[n]}:{type:`Literal`,value:e[n]};i=i?{type:`MemberExpression`,object:i,property:t,computed:!!(n&&t.type===`Literal`),optional:!1}:t}O(i,`always a result`),r=i}else r=si(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return aa.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);ka(e)}function ka(e,t){let n=new ra("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:`mdx-estree`,source:`hast-util-to-jsx-runtime`});throw n.file=e.filePath||void 0,n.url=ua+`#cannot-handle-mdx-estrees-without-createevaluater`,n}function Aa(e){let t={},n;for(n in e)aa.call(e,n)&&(t[ja(n)]=e[n]);return t}function ja(e){let t=e.replace(sa,Ma);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function Ma(e){return`-`+e.toLowerCase()}var Na={action:[`form`],cite:[`blockquote`,`del`,`ins`,`q`],data:[`object`],formAction:[`button`,`input`],href:[`a`,`area`,`base`,`link`],icon:[`menuitem`],itemId:null,manifest:[`html`],ping:[`a`,`area`],poster:[`video`],src:[`audio`,`embed`,`iframe`,`img`,`input`,`script`,`source`,`track`,`video`]},Pa={};function Fa(e,t){let n=t||Pa;return Ia(e,typeof n.includeImageAlt!=`boolean`||n.includeImageAlt,typeof n.includeHtml!=`boolean`||n.includeHtml)}function Ia(e,t,n){if(Ra(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return La(e.children,t,n)}return Array.isArray(e)?La(e,t,n):``}function La(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Ia(e[i],t,n);return r.join(``)}function Ra(e){return!!(e&&typeof e==`object`)}var za=document.createElement(`i`);function Ba(e){let t=`&`+e+`;`;za.innerHTML=t;let n=za.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`?!1:n!==t&&n}var j={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},M={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:`CDATA[`,characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:`content`,contentTypeDocument:`document`,contentTypeFlow:`flow`,contentTypeString:`string`,contentTypeText:`text`,hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},N={data:`data`,whitespace:`whitespace`,lineEnding:`lineEnding`,lineEndingBlank:`lineEndingBlank`,linePrefix:`linePrefix`,lineSuffix:`lineSuffix`,atxHeading:`atxHeading`,atxHeadingSequence:`atxHeadingSequence`,atxHeadingText:`atxHeadingText`,autolink:`autolink`,autolinkEmail:`autolinkEmail`,autolinkMarker:`autolinkMarker`,autolinkProtocol:`autolinkProtocol`,characterEscape:`characterEscape`,characterEscapeValue:`characterEscapeValue`,characterReference:`characterReference`,characterReferenceMarker:`characterReferenceMarker`,characterReferenceMarkerNumeric:`characterReferenceMarkerNumeric`,characterReferenceMarkerHexadecimal:`characterReferenceMarkerHexadecimal`,characterReferenceValue:`characterReferenceValue`,codeFenced:`codeFenced`,codeFencedFence:`codeFencedFence`,codeFencedFenceSequence:`codeFencedFenceSequence`,codeFencedFenceInfo:`codeFencedFenceInfo`,codeFencedFenceMeta:`codeFencedFenceMeta`,codeFlowValue:`codeFlowValue`,codeIndented:`codeIndented`,codeText:`codeText`,codeTextData:`codeTextData`,codeTextPadding:`codeTextPadding`,codeTextSequence:`codeTextSequence`,content:`content`,definition:`definition`,definitionDestination:`definitionDestination`,definitionDestinationLiteral:`definitionDestinationLiteral`,definitionDestinationLiteralMarker:`definitionDestinationLiteralMarker`,definitionDestinationRaw:`definitionDestinationRaw`,definitionDestinationString:`definitionDestinationString`,definitionLabel:`definitionLabel`,definitionLabelMarker:`definitionLabelMarker`,definitionLabelString:`definitionLabelString`,definitionMarker:`definitionMarker`,definitionTitle:`definitionTitle`,definitionTitleMarker:`definitionTitleMarker`,definitionTitleString:`definitionTitleString`,emphasis:`emphasis`,emphasisSequence:`emphasisSequence`,emphasisText:`emphasisText`,escapeMarker:`escapeMarker`,hardBreakEscape:`hardBreakEscape`,hardBreakTrailing:`hardBreakTrailing`,htmlFlow:`htmlFlow`,htmlFlowData:`htmlFlowData`,htmlText:`htmlText`,htmlTextData:`htmlTextData`,image:`image`,label:`label`,labelText:`labelText`,labelLink:`labelLink`,labelImage:`labelImage`,labelMarker:`labelMarker`,labelImageMarker:`labelImageMarker`,labelEnd:`labelEnd`,link:`link`,paragraph:`paragraph`,reference:`reference`,referenceMarker:`referenceMarker`,referenceString:`referenceString`,resource:`resource`,resourceDestination:`resourceDestination`,resourceDestinationLiteral:`resourceDestinationLiteral`,resourceDestinationLiteralMarker:`resourceDestinationLiteralMarker`,resourceDestinationRaw:`resourceDestinationRaw`,resourceDestinationString:`resourceDestinationString`,resourceMarker:`resourceMarker`,resourceTitle:`resourceTitle`,resourceTitleMarker:`resourceTitleMarker`,resourceTitleString:`resourceTitleString`,setextHeading:`setextHeading`,setextHeadingText:`setextHeadingText`,setextHeadingLine:`setextHeadingLine`,setextHeadingLineSequence:`setextHeadingLineSequence`,strong:`strong`,strongSequence:`strongSequence`,strongText:`strongText`,thematicBreak:`thematicBreak`,thematicBreakSequence:`thematicBreakSequence`,blockQuote:`blockQuote`,blockQuotePrefix:`blockQuotePrefix`,blockQuoteMarker:`blockQuoteMarker`,blockQuotePrefixWhitespace:`blockQuotePrefixWhitespace`,listOrdered:`listOrdered`,listUnordered:`listUnordered`,listItemIndent:`listItemIndent`,listItemMarker:`listItemMarker`,listItemPrefix:`listItemPrefix`,listItemPrefixWhitespace:`listItemPrefixWhitespace`,listItemValue:`listItemValue`,chunkDocument:`chunkDocument`,chunkContent:`chunkContent`,chunkFlow:`chunkFlow`,chunkText:`chunkText`,chunkString:`chunkString`},Va={ht:` `,lf:`
228
+ `,cr:`\r`,space:` `,exclamationMark:`!`,quotationMark:`"`,numberSign:`#`,dollarSign:`$`,percentSign:`%`,ampersand:`&`,apostrophe:`'`,leftParenthesis:`(`,rightParenthesis:`)`,asterisk:`*`,plusSign:`+`,comma:`,`,dash:`-`,dot:`.`,slash:`/`,digit0:`0`,digit1:`1`,digit2:`2`,digit3:`3`,digit4:`4`,digit5:`5`,digit6:`6`,digit7:`7`,digit8:`8`,digit9:`9`,colon:`:`,semicolon:`;`,lessThan:`<`,equalsTo:`=`,greaterThan:`>`,questionMark:`?`,atSign:`@`,uppercaseA:`A`,uppercaseB:`B`,uppercaseC:`C`,uppercaseD:`D`,uppercaseE:`E`,uppercaseF:`F`,uppercaseG:`G`,uppercaseH:`H`,uppercaseI:`I`,uppercaseJ:`J`,uppercaseK:`K`,uppercaseL:`L`,uppercaseM:`M`,uppercaseN:`N`,uppercaseO:`O`,uppercaseP:`P`,uppercaseQ:`Q`,uppercaseR:`R`,uppercaseS:`S`,uppercaseT:`T`,uppercaseU:`U`,uppercaseV:`V`,uppercaseW:`W`,uppercaseX:`X`,uppercaseY:`Y`,uppercaseZ:`Z`,leftSquareBracket:`[`,backslash:`\\`,rightSquareBracket:`]`,caret:`^`,underscore:`_`,graveAccent:"`",lowercaseA:`a`,lowercaseB:`b`,lowercaseC:`c`,lowercaseD:`d`,lowercaseE:`e`,lowercaseF:`f`,lowercaseG:`g`,lowercaseH:`h`,lowercaseI:`i`,lowercaseJ:`j`,lowercaseK:`k`,lowercaseL:`l`,lowercaseM:`m`,lowercaseN:`n`,lowercaseO:`o`,lowercaseP:`p`,lowercaseQ:`q`,lowercaseR:`r`,lowercaseS:`s`,lowercaseT:`t`,lowercaseU:`u`,lowercaseV:`v`,lowercaseW:`w`,lowercaseX:`x`,lowercaseY:`y`,lowercaseZ:`z`,leftCurlyBrace:`{`,verticalBar:`|`,rightCurlyBrace:`}`,tilde:`~`,replacementCharacter:`�`};function Ha(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<M.v8MaxSafeChunkSize)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+M.v8MaxSafeChunkSize),o.unshift(t,0),e.splice(...o),a+=M.v8MaxSafeChunkSize,t+=M.v8MaxSafeChunkSize}function Ua(e,t){return e.length>0?(Ha(e,e.length,0,t),e):t}var Wa={}.hasOwnProperty;function Ga(e){let t={},n=-1;for(;++n<e.length;)Ka(t,e[n]);return t}function Ka(e,t){let n;for(n in t){let r=(Wa.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){Wa.call(r,a)||(r[a]=[]);let e=i[a];qa(r[a],Array.isArray(e)?e:e?[e]:[])}}}function qa(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);Ha(e,0,0,r)}function Ja(e,t){let n=Number.parseInt(e,t);return n<j.ht||n===j.vt||n>j.cr&&n<j.space||n>j.tilde&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?Va.replacementCharacter:String.fromCodePoint(n)}function Ya(e){return e.replace(/[\t\n\r ]+/g,Va.space).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var Xa=oo(/[A-Za-z]/),Za=oo(/[\dA-Za-z]/),Qa=oo(/[#-'*+\--9=?A-Z^-~]/);function $a(e){return e!==null&&(e<j.space||e===j.del)}var eo=oo(/\d/),to=oo(/[\dA-Fa-f]/),no=oo(/[!-/:-@[-`{-~]/);function P(e){return e!==null&&e<j.horizontalTab}function ro(e){return e!==null&&(e<j.nul||e===j.space)}function F(e){return e===j.horizontalTab||e===j.virtualSpace||e===j.space}var io=oo(/\p{P}|\p{S}/u),ao=oo(/\s/);function oo(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function so(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===j.percentSign&&Za(e.charCodeAt(n+1))&&Za(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=Va.replacementCharacter}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function co(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return F(r)?(e.enter(n),s(r)):t(r)}function s(r){return F(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var lo={tokenize:uo};function uo(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(O(n===j.eof||P(n),`expected eol or eof`),n===j.eof)e.consume(n);else return e.enter(N.lineEnding),e.consume(n),e.exit(N.lineEnding),co(e,t,N.linePrefix)}function i(t){return O(t!==j.eof&&!P(t),`expected anything other than a line ending or EOF`),e.enter(N.paragraph),a(t)}function a(t){let r=e.enter(N.chunkText,{contentType:M.contentTypeText,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===j.eof)e.exit(N.chunkText),e.exit(N.paragraph),e.consume(t);else return P(t)?(e.consume(t),e.exit(N.chunkText),a):(e.consume(t),o)}}var fo={tokenize:mo},po={tokenize:ho};function mo(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],O(a[0].continuation,"expected `continuation` to be defined on container construct"),e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(O(t.containerState,"expected `containerState` to be defined after continuation"),r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===N.chunkFlow){o=t.events[a][1].end;break}O(o,`could not find previous flow chunk`),_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return Ha(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!(!i.currentConstruct||i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(po,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(po,p,m)(n)}function p(e){return O(t.currentConstruct,"expected `currentConstruct` to be defined on tokenizer"),O(t.containerState,"expected `containerState` to be defined on tokenizer"),r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===j.eof)i&&v(),_(0),e.consume(n);else return i||=t.parser.flow(t.now()),e.enter(N.chunkFlow,{_tokenizer:i,contentType:M.contentTypeFlow,previous:a}),h(n)}function h(n){if(n===j.eof)g(e.exit(N.chunkFlow),!0),_(0),e.consume(n);else return P(n)?(e.consume(n),g(e.exit(N.chunkFlow)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){O(i,"expected `childFlow` to be defined when continuing");let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===N.chunkFlow){if(s){c=t.events[a][1].end;break}s=!0}for(O(c,`could not find previous flow chunk`),_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;Ha(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-->r;){let r=n[i];t.containerState=r[1],O(r[0].exit,"expected `exit` to be defined on container construct"),r[0].exit.call(t,e)}n.length=r}function v(){O(t.containerState,"expected `containerState` to be defined when closing flow"),O(i,"expected `childFlow` to be defined when closing it"),i.write([j.eof]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function ho(e,t,n){return O(this.parser.constructs.disable.null,"expected `disable.null` to be populated"),co(e,e.attempt(this.parser.constructs.document,t,n),N.linePrefix,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:M.tabSize)}function go(e){if(e===j.eof||ro(e)||ao(e))return M.characterGroupWhitespace;if(io(e))return M.characterGroupPunctuation}function _o(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var vo={name:`attention`,resolveAll:yo,tokenize:bo};function yo(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};xo(d,-c),xo(f,c),o={type:c>1?N.strongSequence:N.emphasisSequence,start:d,end:{...e[r][1].end}},s={type:c>1?N.strongSequence:N.emphasisSequence,start:{...e[n][1].start},end:f},a={type:c>1?N.strongText:N.emphasisText,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?N.strong:N.emphasis,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Ua(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Ua(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),O(t.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),l=Ua(l,_o(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Ua(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=Ua(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,Ha(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function bo(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=go(r),a;return o;function o(t){return O(t===j.asterisk||t===j.underscore,`expected asterisk or underscore`),a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=go(o);O(n,"expected `attentionMarkers` to be populated");let u=!l||l===M.characterGroupPunctuation&&i||n.includes(o),d=!i||i===M.characterGroupPunctuation&&l||n.includes(r);return c._open=!!(a===j.asterisk?u:u&&(i||!d)),c._close=!!(a===j.asterisk?d:d&&(l||!u)),t(o)}}function xo(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var So={name:`autolink`,tokenize:Co};function Co(e,t,n){let r=0;return i;function i(t){return O(t===j.lessThan,"expected `<`"),e.enter(N.autolink),e.enter(N.autolinkMarker),e.consume(t),e.exit(N.autolinkMarker),e.enter(N.autolinkProtocol),a}function a(t){return Xa(t)?(e.consume(t),o):t===j.atSign?n(t):l(t)}function o(e){return e===j.plusSign||e===j.dash||e===j.dot||Za(e)?(r=1,s(e)):l(e)}function s(t){return t===j.colon?(e.consume(t),r=0,c):(t===j.plusSign||t===j.dash||t===j.dot||Za(t))&&r++<M.autolinkSchemeSizeMax?(e.consume(t),s):(r=0,l(t))}function c(r){return r===j.greaterThan?(e.exit(N.autolinkProtocol),e.enter(N.autolinkMarker),e.consume(r),e.exit(N.autolinkMarker),e.exit(N.autolink),t):r===j.eof||r===j.space||r===j.lessThan||$a(r)?n(r):(e.consume(r),c)}function l(t){return t===j.atSign?(e.consume(t),u):Qa(t)?(e.consume(t),l):n(t)}function u(e){return Za(e)?d(e):n(e)}function d(n){return n===j.dot?(e.consume(n),r=0,u):n===j.greaterThan?(e.exit(N.autolinkProtocol).type=N.autolinkEmail,e.enter(N.autolinkMarker),e.consume(n),e.exit(N.autolinkMarker),e.exit(N.autolink),t):f(n)}function f(t){if((t===j.dash||Za(t))&&r++<M.autolinkDomainSizeMax){let n=t===j.dash?f:d;return e.consume(t),n}return n(t)}}var wo={partial:!0,tokenize:To};function To(e,t,n){return r;function r(t){return F(t)?co(e,i,N.linePrefix)(t):i(t)}function i(e){return e===j.eof||P(e)?t(e):n(e)}}var Eo={continuation:{tokenize:Oo},exit:ko,name:`blockQuote`,tokenize:Do};function Do(e,t,n){let r=this;return i;function i(t){if(t===j.greaterThan){let n=r.containerState;return O(n,"expected `containerState` to be defined in container"),n.open||=(e.enter(N.blockQuote,{_container:!0}),!0),e.enter(N.blockQuotePrefix),e.enter(N.blockQuoteMarker),e.consume(t),e.exit(N.blockQuoteMarker),a}return n(t)}function a(n){return F(n)?(e.enter(N.blockQuotePrefixWhitespace),e.consume(n),e.exit(N.blockQuotePrefixWhitespace),e.exit(N.blockQuotePrefix),t):(e.exit(N.blockQuotePrefix),t(n))}}function Oo(e,t,n){let r=this;return i;function i(t){return F(t)?(O(r.parser.constructs.disable.null,"expected `disable.null` to be populated"),co(e,a,N.linePrefix,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:M.tabSize)(t)):a(t)}function a(r){return e.attempt(Eo,t,n)(r)}}function ko(e){e.exit(N.blockQuote)}var Ao={name:`characterEscape`,tokenize:jo};function jo(e,t,n){return r;function r(t){return O(t===j.backslash,"expected `\\`"),e.enter(N.characterEscape),e.enter(N.escapeMarker),e.consume(t),e.exit(N.escapeMarker),i}function i(r){return no(r)?(e.enter(N.characterEscapeValue),e.consume(r),e.exit(N.characterEscapeValue),e.exit(N.characterEscape),t):n(r)}}var Mo={name:`characterReference`,tokenize:No};function No(e,t,n){let r=this,i=0,a,o;return s;function s(t){return O(t===j.ampersand,"expected `&`"),e.enter(N.characterReference),e.enter(N.characterReferenceMarker),e.consume(t),e.exit(N.characterReferenceMarker),c}function c(t){return t===j.numberSign?(e.enter(N.characterReferenceMarkerNumeric),e.consume(t),e.exit(N.characterReferenceMarkerNumeric),l):(e.enter(N.characterReferenceValue),a=M.characterReferenceNamedSizeMax,o=Za,u(t))}function l(t){return t===j.uppercaseX||t===j.lowercaseX?(e.enter(N.characterReferenceMarkerHexadecimal),e.consume(t),e.exit(N.characterReferenceMarkerHexadecimal),e.enter(N.characterReferenceValue),a=M.characterReferenceHexadecimalSizeMax,o=to,u):(e.enter(N.characterReferenceValue),a=M.characterReferenceDecimalSizeMax,o=eo,u(t))}function u(s){if(s===j.semicolon&&i){let i=e.exit(N.characterReferenceValue);return o===Za&&!Ba(r.sliceSerialize(i))?n(s):(e.enter(N.characterReferenceMarker),e.consume(s),e.exit(N.characterReferenceMarker),e.exit(N.characterReference),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var Po={partial:!0,tokenize:Lo},Fo={concrete:!0,name:`codeFenced`,tokenize:Io};function Io(e,t,n){let r=this,i={partial:!0,tokenize:ee},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){O(t===j.graveAccent||t===j.tilde,"expected `` ` `` or `~`");let n=r.events[r.events.length-1];return a=n&&n[1].type===N.linePrefix?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(N.codeFenced),e.enter(N.codeFencedFence),e.enter(N.codeFencedFenceSequence),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<M.codeFencedSequenceSizeMin?n(t):(e.exit(N.codeFencedFenceSequence),F(t)?co(e,d,N.whitespace)(t):d(t))}function d(n){return n===j.eof||P(n)?(e.exit(N.codeFencedFence),r.interrupt?t(n):e.check(Po,h,b)(n)):(e.enter(N.codeFencedFenceInfo),e.enter(N.chunkString,{contentType:M.contentTypeString}),f(n))}function f(t){return t===j.eof||P(t)?(e.exit(N.chunkString),e.exit(N.codeFencedFenceInfo),d(t)):F(t)?(e.exit(N.chunkString),e.exit(N.codeFencedFenceInfo),co(e,p,N.whitespace)(t)):t===j.graveAccent&&t===s?n(t):(e.consume(t),f)}function p(t){return t===j.eof||P(t)?d(t):(e.enter(N.codeFencedFenceMeta),e.enter(N.chunkString,{contentType:M.contentTypeString}),m(t))}function m(t){return t===j.eof||P(t)?(e.exit(N.chunkString),e.exit(N.codeFencedFenceMeta),d(t)):t===j.graveAccent&&t===s?n(t):(e.consume(t),m)}function h(t){return O(P(t),`expected eol`),e.attempt(i,b,g)(t)}function g(t){return O(P(t),`expected eol`),e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),_}function _(t){return a>0&&F(t)?co(e,v,N.linePrefix,a+1)(t):v(t)}function v(t){return t===j.eof||P(t)?e.check(Po,h,b)(t):(e.enter(N.codeFlowValue),y(t))}function y(t){return t===j.eof||P(t)?(e.exit(N.codeFlowValue),v(t)):(e.consume(t),y)}function b(n){return e.exit(N.codeFenced),t(n)}function ee(e,t,n){let i=0;return a;function a(t){return O(P(t),`expected eol`),e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),c}function c(t){return O(r.parser.constructs.disable.null,"expected `disable.null` to be populated"),e.enter(N.codeFencedFence),F(t)?co(e,l,N.linePrefix,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:M.tabSize)(t):l(t)}function l(t){return t===s?(e.enter(N.codeFencedFenceSequence),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(N.codeFencedFenceSequence),F(t)?co(e,d,N.whitespace)(t):d(t)):n(t)}function d(r){return r===j.eof||P(r)?(e.exit(N.codeFencedFence),t(r)):n(r)}}}function Lo(e,t,n){let r=this;return i;function i(t){return t===j.eof?n(t):(O(P(t),`expected eol`),e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var Ro={name:`codeIndented`,tokenize:Bo},zo={partial:!0,tokenize:Vo};function Bo(e,t,n){let r=this;return i;function i(t){return O(F(t)),e.enter(N.codeIndented),co(e,a,N.linePrefix,M.tabSize+1)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===N.linePrefix&&t[2].sliceSerialize(t[1],!0).length>=M.tabSize?o(e):n(e)}function o(t){return t===j.eof?c(t):P(t)?e.attempt(zo,o,c)(t):(e.enter(N.codeFlowValue),s(t))}function s(t){return t===j.eof||P(t)?(e.exit(N.codeFlowValue),o(t)):(e.consume(t),s)}function c(n){return e.exit(N.codeIndented),t(n)}}function Vo(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):P(t)?(e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),i):co(e,a,N.linePrefix,M.tabSize+1)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===N.linePrefix&&a[2].sliceSerialize(a[1],!0).length>=M.tabSize?t(e):P(e)?i(e):n(e)}}var Ho={name:`codeText`,previous:Wo,resolve:Uo,tokenize:Go};function Uo(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===N.lineEnding||e[n][1].type===`space`)&&(e[t][1].type===N.lineEnding||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===N.codeTextData){e[n][1].type=N.codeTextPadding,e[t][1].type=N.codeTextPadding,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==N.lineEnding&&(i=r):(r===t||e[r][1].type===N.lineEnding)&&(e[i][1].type=N.codeTextData,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Wo(e){return e!==j.graveAccent||this.events[this.events.length-1][1].type===N.characterEscape}function Go(e,t,n){let r=this,i=0,a,o;return s;function s(t){return O(t===j.graveAccent,"expected `` ` ``"),O(Wo.call(r,r.previous),`expected correct previous`),e.enter(N.codeText),e.enter(N.codeTextSequence),c(t)}function c(t){return t===j.graveAccent?(e.consume(t),i++,c):(e.exit(N.codeTextSequence),l(t))}function l(t){return t===j.eof?n(t):t===j.space?(e.enter(`space`),e.consume(t),e.exit(`space`),l):t===j.graveAccent?(o=e.enter(N.codeTextSequence),a=0,d(t)):P(t)?(e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),l):(e.enter(N.codeTextData),u(t))}function u(t){return t===j.eof||t===j.space||t===j.graveAccent||P(t)?(e.exit(N.codeTextData),l(t)):(e.consume(t),u)}function d(n){return n===j.graveAccent?(e.consume(n),a++,d):a===i?(e.exit(N.codeTextSequence),e.exit(N.codeText),t(n)):(o.type=N.codeTextData,u(n))}}var Ko=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&qo(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),qo(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),qo(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0)){if(e<this.left.length){let t=this.left.splice(e,1/0);qo(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);qo(this.left,t.reverse())}}}};function qo(e,t){let n=0;if(t.length<M.v8MaxSafeChunkSize)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+M.v8MaxSafeChunkSize)),n+=M.v8MaxSafeChunkSize}function Jo(e){let t={},n=-1,r,i,a,o,s,c,l,u=new Ko(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===N.chunkFlow&&u.get(n-1)[1].type===N.listItemPrefix&&(O(r[1]._tokenizer,"expected `_tokenizer` on subtokens"),c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===N.lineEndingBlank&&(a+=2),a<c.length&&c[a][1].type===N.content))for(;++a<c.length&&c[a][1].type!==N.content;)c[a][1].type===N.chunkText&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,Yo(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===N.lineEnding||o[1].type===N.lineEndingBlank)o[0]===`enter`&&(i&&(u.get(i)[1].type=N.lineEndingBlank),o[1].type=N.lineEnding,i=a);else if(o[1].type!==N.linePrefix&&o[1].type!==N.listItemIndent)break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return Ha(e,0,1/0,u.slice(0)),!l}function Yo(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[];O(n.contentType,"expected `contentType` on subtokens");let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);O(!d||p.previous===d,`expected previous to match`),O(!d||d.next===p,`expected next to match`),a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(j.eof),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(O(p,`expected a current token`),h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0,O(!p.next,`expected no next token`)):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();O(n!==void 0,`expected a start position when splicing`),c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var Xo={resolve:Qo,tokenize:$o},Zo={partial:!0,tokenize:es};function Qo(e){return Jo(e),e}function $o(e,t){let n;return r;function r(t){return O(t!==j.eof&&!P(t),`expected no eof or eol`),e.enter(N.content),n=e.enter(N.chunkContent,{contentType:M.contentTypeContent}),i(t)}function i(t){return t===j.eof?a(t):P(t)?e.check(Zo,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(N.chunkContent),e.exit(N.content),t(n)}function o(t){return O(P(t),`expected eol`),e.consume(t),e.exit(N.chunkContent),O(n,`expected previous token`),n.next=e.enter(N.chunkContent,{contentType:M.contentTypeContent,previous:n}),n=n.next,i}}function es(e,t,n){let r=this;return i;function i(t){return O(P(t),`expected a line ending`),e.exit(N.chunkContent),e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),co(e,a,N.linePrefix)}function a(i){if(i===j.eof||P(i))return n(i);O(r.parser.constructs.disable.null,"expected `disable.null` to be populated");let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===N.linePrefix&&a[2].sliceSerialize(a[1],!0).length>=M.tabSize?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function ts(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===j.lessThan?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===j.eof||t===j.space||t===j.rightParenthesis||$a(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(N.chunkString,{contentType:M.contentTypeString}),h(t))}function f(n){return n===j.greaterThan?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(N.chunkString,{contentType:M.contentTypeString}),p(n))}function p(t){return t===j.greaterThan?(e.exit(N.chunkString),e.exit(s),f(t)):t===j.eof||t===j.lessThan||P(t)?n(t):(e.consume(t),t===j.backslash?m:p)}function m(t){return t===j.lessThan||t===j.greaterThan||t===j.backslash?(e.consume(t),p):p(t)}function h(i){return!u&&(i===j.eof||i===j.rightParenthesis||ro(i))?(e.exit(N.chunkString),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===j.leftParenthesis?(e.consume(i),u++,h):i===j.rightParenthesis?(e.consume(i),u--,h):i===j.eof||i===j.space||i===j.leftParenthesis||$a(i)?n(i):(e.consume(i),i===j.backslash?g:h)}function g(t){return t===j.leftParenthesis||t===j.rightParenthesis||t===j.backslash?(e.consume(t),h):h(t)}}function ns(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return O(t===j.leftSquareBracket,"expected `[`"),e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>M.linkReferenceSizeMax||l===j.eof||l===j.leftSquareBracket||l===j.rightSquareBracket&&!c||l===j.caret&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===j.rightSquareBracket?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):P(l)?(e.enter(N.lineEnding),e.consume(l),e.exit(N.lineEnding),u):(e.enter(N.chunkString,{contentType:M.contentTypeString}),d(l))}function d(t){return t===j.eof||t===j.leftSquareBracket||t===j.rightSquareBracket||P(t)||s++>M.linkReferenceSizeMax?(e.exit(N.chunkString),u(t)):(e.consume(t),c||=!F(t),t===j.backslash?f:d)}function f(t){return t===j.leftSquareBracket||t===j.backslash||t===j.rightSquareBracket?(e.consume(t),s++,d):d(t)}}function rs(e,t,n,r,i,a){let o;return s;function s(t){return t===j.quotationMark||t===j.apostrophe||t===j.leftParenthesis?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===j.leftParenthesis?j.rightParenthesis:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===j.eof?n(t):P(t)?(e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),co(e,l,N.linePrefix)):(e.enter(N.chunkString,{contentType:M.contentTypeString}),u(t))}function u(t){return t===o||t===j.eof||P(t)?(e.exit(N.chunkString),l(t)):(e.consume(t),t===j.backslash?d:u)}function d(t){return t===o||t===j.backslash?(e.consume(t),u):u(t)}}function is(e,t){let n;return r;function r(i){return P(i)?(e.enter(N.lineEnding),e.consume(i),e.exit(N.lineEnding),n=!0,r):F(i)?co(e,r,n?N.linePrefix:N.lineSuffix)(i):t(i)}}var as={name:`definition`,tokenize:ss},os={partial:!0,tokenize:cs};function ss(e,t,n){let r=this,i;return a;function a(t){return e.enter(N.definition),o(t)}function o(t){return O(t===j.leftSquareBracket,"expected `[`"),ns.call(r,e,s,n,N.definitionLabel,N.definitionLabelMarker,N.definitionLabelString)(t)}function s(t){return i=Ya(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===j.colon?(e.enter(N.definitionMarker),e.consume(t),e.exit(N.definitionMarker),c):n(t)}function c(t){return ro(t)?is(e,l)(t):l(t)}function l(t){return ts(e,u,n,N.definitionDestination,N.definitionDestinationLiteral,N.definitionDestinationLiteralMarker,N.definitionDestinationRaw,N.definitionDestinationString)(t)}function u(t){return e.attempt(os,d,d)(t)}function d(t){return F(t)?co(e,f,N.whitespace)(t):f(t)}function f(a){return a===j.eof||P(a)?(e.exit(N.definition),r.parser.defined.push(i),t(a)):n(a)}}function cs(e,t,n){return r;function r(t){return ro(t)?is(e,i)(t):n(t)}function i(t){return rs(e,a,n,N.definitionTitle,N.definitionTitleMarker,N.definitionTitleString)(t)}function a(t){return F(t)?co(e,o,N.whitespace)(t):o(t)}function o(e){return e===j.eof||P(e)?t(e):n(e)}}var ls={name:`hardBreakEscape`,tokenize:us};function us(e,t,n){return r;function r(t){return O(t===j.backslash,"expected `\\`"),e.enter(N.hardBreakEscape),e.consume(t),i}function i(r){return P(r)?(e.exit(N.hardBreakEscape),t(r)):n(r)}}var ds={name:`headingAtx`,resolve:fs,tokenize:ps};function fs(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===N.whitespace&&(r+=2),n-2>r&&e[n][1].type===N.whitespace&&(n-=2),e[n][1].type===N.atxHeadingSequence&&(r===n-1||n-4>r&&e[n-2][1].type===N.whitespace)&&(n-=r+1===n?2:4),n>r&&(i={type:N.atxHeadingText,start:e[r][1].start,end:e[n][1].end},a={type:N.chunkText,start:e[r][1].start,end:e[n][1].end,contentType:M.contentTypeText},Ha(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function ps(e,t,n){let r=0;return i;function i(t){return e.enter(N.atxHeading),a(t)}function a(t){return O(t===j.numberSign,"expected `#`"),e.enter(N.atxHeadingSequence),o(t)}function o(t){return t===j.numberSign&&r++<M.atxHeadingOpeningFenceSizeMax?(e.consume(t),o):t===j.eof||ro(t)?(e.exit(N.atxHeadingSequence),s(t)):n(t)}function s(n){return n===j.numberSign?(e.enter(N.atxHeadingSequence),c(n)):n===j.eof||P(n)?(e.exit(N.atxHeading),t(n)):F(n)?co(e,s,N.whitespace)(n):(e.enter(N.atxHeadingText),l(n))}function c(t){return t===j.numberSign?(e.consume(t),c):(e.exit(N.atxHeadingSequence),s(t))}function l(t){return t===j.eof||t===j.numberSign||ro(t)?(e.exit(N.atxHeadingText),s(t)):(e.consume(t),l)}}var ms=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),hs=[`pre`,`script`,`style`,`textarea`],gs={concrete:!0,name:`htmlFlow`,resolveTo:ys,tokenize:bs},_s={partial:!0,tokenize:Ss},vs={partial:!0,tokenize:xs};function ys(e){let t=e.length;for(;t--&&(e[t][0]!==`enter`||e[t][1].type!==N.htmlFlow););return t>1&&e[t-2][1].type===N.linePrefix&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function bs(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return O(t===j.lessThan,"expected `<`"),e.enter(N.htmlFlow),e.enter(N.htmlFlowData),e.consume(t),d}function d(s){return s===j.exclamationMark?(e.consume(s),f):s===j.slash?(e.consume(s),a=!0,h):s===j.questionMark?(e.consume(s),i=M.htmlInstruction,r.interrupt?t:C):Xa(s)?(O(s!==null),e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===j.dash?(e.consume(a),i=M.htmlComment,p):a===j.leftSquareBracket?(e.consume(a),i=M.htmlCdata,s=0,m):Xa(a)?(e.consume(a),i=M.htmlDeclaration,r.interrupt?t:C):n(a)}function p(i){return i===j.dash?(e.consume(i),r.interrupt?t:C):n(i)}function m(i){let a=M.cdataOpeningString;return i===a.charCodeAt(s++)?(e.consume(i),s===a.length?r.interrupt?t:ae:m):n(i)}function h(t){return Xa(t)?(O(t!==null),e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===j.eof||s===j.slash||s===j.greaterThan||ro(s)){let c=s===j.slash,l=o.toLowerCase();return!c&&!a&&hs.includes(l)?(i=M.htmlRaw,r.interrupt?t(s):ae(s)):ms.includes(o.toLowerCase())?(i=M.htmlBasic,c?(e.consume(s),_):r.interrupt?t(s):ae(s)):(i=M.htmlComplete,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===j.dash||Za(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===j.greaterThan?(e.consume(i),r.interrupt?t:ae):n(i)}function v(t){return F(t)?(e.consume(t),v):re(t)}function y(t){return t===j.slash?(e.consume(t),re):t===j.colon||t===j.underscore||Xa(t)?(e.consume(t),b):F(t)?(e.consume(t),y):re(t)}function b(t){return t===j.dash||t===j.dot||t===j.colon||t===j.underscore||Za(t)?(e.consume(t),b):ee(t)}function ee(t){return t===j.equalsTo?(e.consume(t),te):F(t)?(e.consume(t),ee):y(t)}function te(t){return t===j.eof||t===j.lessThan||t===j.equalsTo||t===j.greaterThan||t===j.graveAccent?n(t):t===j.quotationMark||t===j.apostrophe?(e.consume(t),c=t,ne):F(t)?(e.consume(t),te):x(t)}function ne(t){return t===c?(e.consume(t),c=null,S):t===j.eof||P(t)?n(t):(e.consume(t),ne)}function x(t){return t===j.eof||t===j.quotationMark||t===j.apostrophe||t===j.slash||t===j.lessThan||t===j.equalsTo||t===j.greaterThan||t===j.graveAccent||ro(t)?ee(t):(e.consume(t),x)}function S(e){return e===j.slash||e===j.greaterThan||F(e)?y(e):n(e)}function re(t){return t===j.greaterThan?(e.consume(t),ie):n(t)}function ie(t){return t===j.eof||P(t)?ae(t):F(t)?(e.consume(t),ie):n(t)}function ae(t){return t===j.dash&&i===M.htmlComment?(e.consume(t),le):t===j.lessThan&&i===M.htmlRaw?(e.consume(t),ue):t===j.greaterThan&&i===M.htmlDeclaration?(e.consume(t),pe):t===j.questionMark&&i===M.htmlInstruction?(e.consume(t),C):t===j.rightSquareBracket&&i===M.htmlCdata?(e.consume(t),fe):P(t)&&(i===M.htmlBasic||i===M.htmlComplete)?(e.exit(N.htmlFlowData),e.check(_s,w,oe)(t)):t===j.eof||P(t)?(e.exit(N.htmlFlowData),oe(t)):(e.consume(t),ae)}function oe(t){return e.check(vs,se,w)(t)}function se(t){return O(P(t)),e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),ce}function ce(t){return t===j.eof||P(t)?oe(t):(e.enter(N.htmlFlowData),ae(t))}function le(t){return t===j.dash?(e.consume(t),C):ae(t)}function ue(t){return t===j.slash?(e.consume(t),o=``,de):ae(t)}function de(t){if(t===j.greaterThan){let n=o.toLowerCase();return hs.includes(n)?(e.consume(t),pe):ae(t)}return Xa(t)&&o.length<M.htmlRawSizeMax?(O(t!==null),e.consume(t),o+=String.fromCharCode(t),de):ae(t)}function fe(t){return t===j.rightSquareBracket?(e.consume(t),C):ae(t)}function C(t){return t===j.greaterThan?(e.consume(t),pe):t===j.dash&&i===M.htmlComment?(e.consume(t),C):ae(t)}function pe(t){return t===j.eof||P(t)?(e.exit(N.htmlFlowData),w(t)):(e.consume(t),pe)}function w(n){return e.exit(N.htmlFlow),t(n)}}function xs(e,t,n){let r=this;return i;function i(t){return P(t)?(e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Ss(e,t,n){return r;function r(r){return O(P(r),`expected a line ending`),e.enter(N.lineEnding),e.consume(r),e.exit(N.lineEnding),e.attempt(wo,t,n)}}var Cs={name:`htmlText`,tokenize:ws};function ws(e,t,n){let r=this,i,a,o;return s;function s(t){return O(t===j.lessThan,"expected `<`"),e.enter(N.htmlText),e.enter(N.htmlTextData),e.consume(t),c}function c(t){return t===j.exclamationMark?(e.consume(t),l):t===j.slash?(e.consume(t),ee):t===j.questionMark?(e.consume(t),y):Xa(t)?(e.consume(t),x):n(t)}function l(t){return t===j.dash?(e.consume(t),u):t===j.leftSquareBracket?(e.consume(t),a=0,m):Xa(t)?(e.consume(t),v):n(t)}function u(t){return t===j.dash?(e.consume(t),p):n(t)}function d(t){return t===j.eof?n(t):t===j.dash?(e.consume(t),f):P(t)?(o=d,ue(t)):(e.consume(t),d)}function f(t){return t===j.dash?(e.consume(t),p):d(t)}function p(e){return e===j.greaterThan?le(e):e===j.dash?f(e):d(e)}function m(t){let r=M.cdataOpeningString;return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?h:m):n(t)}function h(t){return t===j.eof?n(t):t===j.rightSquareBracket?(e.consume(t),g):P(t)?(o=h,ue(t)):(e.consume(t),h)}function g(t){return t===j.rightSquareBracket?(e.consume(t),_):h(t)}function _(t){return t===j.greaterThan?le(t):t===j.rightSquareBracket?(e.consume(t),_):h(t)}function v(t){return t===j.eof||t===j.greaterThan?le(t):P(t)?(o=v,ue(t)):(e.consume(t),v)}function y(t){return t===j.eof?n(t):t===j.questionMark?(e.consume(t),b):P(t)?(o=y,ue(t)):(e.consume(t),y)}function b(e){return e===j.greaterThan?le(e):y(e)}function ee(t){return Xa(t)?(e.consume(t),te):n(t)}function te(t){return t===j.dash||Za(t)?(e.consume(t),te):ne(t)}function ne(t){return P(t)?(o=ne,ue(t)):F(t)?(e.consume(t),ne):le(t)}function x(t){return t===j.dash||Za(t)?(e.consume(t),x):t===j.slash||t===j.greaterThan||ro(t)?S(t):n(t)}function S(t){return t===j.slash?(e.consume(t),le):t===j.colon||t===j.underscore||Xa(t)?(e.consume(t),re):P(t)?(o=S,ue(t)):F(t)?(e.consume(t),S):le(t)}function re(t){return t===j.dash||t===j.dot||t===j.colon||t===j.underscore||Za(t)?(e.consume(t),re):ie(t)}function ie(t){return t===j.equalsTo?(e.consume(t),ae):P(t)?(o=ie,ue(t)):F(t)?(e.consume(t),ie):S(t)}function ae(t){return t===j.eof||t===j.lessThan||t===j.equalsTo||t===j.greaterThan||t===j.graveAccent?n(t):t===j.quotationMark||t===j.apostrophe?(e.consume(t),i=t,oe):P(t)?(o=ae,ue(t)):F(t)?(e.consume(t),ae):(e.consume(t),se)}function oe(t){return t===i?(e.consume(t),i=void 0,ce):t===j.eof?n(t):P(t)?(o=oe,ue(t)):(e.consume(t),oe)}function se(t){return t===j.eof||t===j.quotationMark||t===j.apostrophe||t===j.lessThan||t===j.equalsTo||t===j.graveAccent?n(t):t===j.slash||t===j.greaterThan||ro(t)?S(t):(e.consume(t),se)}function ce(e){return e===j.slash||e===j.greaterThan||ro(e)?S(e):n(e)}function le(r){return r===j.greaterThan?(e.consume(r),e.exit(N.htmlTextData),e.exit(N.htmlText),t):n(r)}function ue(t){return O(o,`expected return state`),O(P(t),`expected eol`),e.exit(N.htmlTextData),e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),de}function de(t){return O(r.parser.constructs.disable.null,"expected `disable.null` to be populated"),F(t)?co(e,fe,N.linePrefix,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:M.tabSize)(t):fe(t)}function fe(t){return e.enter(N.htmlTextData),o(t)}}var Ts={name:`labelEnd`,resolveAll:ks,resolveTo:As,tokenize:js},Es={tokenize:Ms},Ds={tokenize:Ns},Os={tokenize:Ps};function ks(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===N.labelImage||r.type===N.labelLink||r.type===N.labelEnd){let e=r.type===N.labelImage?4:2;r.type=N.data,t+=e}}return e.length!==n.length&&Ha(e,0,e.length,n),e}function As(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===N.link||i.type===N.labelLink&&i._inactive)break;e[n][0]===`enter`&&i.type===N.labelLink&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===N.labelImage||i.type===N.labelLink)&&!i._balanced&&(a=n,i.type!==N.labelLink)){r=2;break}}else i.type===N.labelEnd&&(o=n);O(a!==void 0,"`open` is supposed to be found"),O(o!==void 0,"`close` is supposed to be found");let c={type:e[a][1].type===N.labelLink?N.link:N.image,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:N.label,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:N.labelText,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=Ua(s,e.slice(a+1,a+r+3)),s=Ua(s,[[`enter`,u,t]]),O(t.parser.constructs.insideSpan.null,"expected `insideSpan.null` to be populated"),s=Ua(s,_o(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Ua(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=Ua(s,e.slice(o+1)),s=Ua(s,[[`exit`,c,t]]),Ha(e,a,e.length,s),e}function js(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===N.labelImage||r.events[i][1].type===N.labelLink)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return O(t===j.rightSquareBracket,"expected `]`"),a?a._inactive?d(t):(o=r.parser.defined.includes(Ya(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(N.labelEnd),e.enter(N.labelMarker),e.consume(t),e.exit(N.labelMarker),e.exit(N.labelEnd),c):n(t)}function c(t){return t===j.leftParenthesis?e.attempt(Es,u,o?u:d)(t):t===j.leftSquareBracket?e.attempt(Ds,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Os,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function Ms(e,t,n){return r;function r(t){return O(t===j.leftParenthesis,`expected left paren`),e.enter(N.resource),e.enter(N.resourceMarker),e.consume(t),e.exit(N.resourceMarker),i}function i(t){return ro(t)?is(e,a)(t):a(t)}function a(t){return t===j.rightParenthesis?u(t):ts(e,o,s,N.resourceDestination,N.resourceDestinationLiteral,N.resourceDestinationLiteralMarker,N.resourceDestinationRaw,N.resourceDestinationString,M.linkResourceDestinationBalanceMax)(t)}function o(t){return ro(t)?is(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===j.quotationMark||t===j.apostrophe||t===j.leftParenthesis?rs(e,l,n,N.resourceTitle,N.resourceTitleMarker,N.resourceTitleString)(t):u(t)}function l(t){return ro(t)?is(e,u)(t):u(t)}function u(r){return r===j.rightParenthesis?(e.enter(N.resourceMarker),e.consume(r),e.exit(N.resourceMarker),e.exit(N.resource),t):n(r)}}function Ns(e,t,n){let r=this;return i;function i(t){return O(t===j.leftSquareBracket,`expected left bracket`),ns.call(r,e,a,o,N.reference,N.referenceMarker,N.referenceString)(t)}function a(e){return r.parser.defined.includes(Ya(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function Ps(e,t,n){return r;function r(t){return O(t===j.leftSquareBracket,`expected left bracket`),e.enter(N.reference),e.enter(N.referenceMarker),e.consume(t),e.exit(N.referenceMarker),i}function i(r){return r===j.rightSquareBracket?(e.enter(N.referenceMarker),e.consume(r),e.exit(N.referenceMarker),e.exit(N.reference),t):n(r)}}var Fs={name:`labelStartImage`,resolveAll:Ts.resolveAll,tokenize:Is};function Is(e,t,n){let r=this;return i;function i(t){return O(t===j.exclamationMark,"expected `!`"),e.enter(N.labelImage),e.enter(N.labelImageMarker),e.consume(t),e.exit(N.labelImageMarker),a}function a(t){return t===j.leftSquareBracket?(e.enter(N.labelMarker),e.consume(t),e.exit(N.labelMarker),e.exit(N.labelImage),o):n(t)}function o(e){return e===j.caret&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Ls={name:`labelStartLink`,resolveAll:Ts.resolveAll,tokenize:Rs};function Rs(e,t,n){let r=this;return i;function i(t){return O(t===j.leftSquareBracket,"expected `[`"),e.enter(N.labelLink),e.enter(N.labelMarker),e.consume(t),e.exit(N.labelMarker),e.exit(N.labelLink),a}function a(e){return e===j.caret&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var zs={name:`lineEnding`,tokenize:Bs};function Bs(e,t){return n;function n(n){return O(P(n),`expected eol`),e.enter(N.lineEnding),e.consume(n),e.exit(N.lineEnding),co(e,t,N.linePrefix)}}var Vs={name:`thematicBreak`,tokenize:Hs};function Hs(e,t,n){let r=0,i;return a;function a(t){return e.enter(N.thematicBreak),o(t)}function o(e){return O(e===j.asterisk||e===j.dash||e===j.underscore,"expected `*`, `-`, or `_`"),i=e,s(e)}function s(a){return a===i?(e.enter(N.thematicBreakSequence),c(a)):r>=M.thematicBreakMarkerCountMin&&(a===j.eof||P(a))?(e.exit(N.thematicBreak),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(N.thematicBreakSequence),F(t)?co(e,s,N.whitespace)(t):s(t))}}var Us={continuation:{tokenize:qs},exit:Ys,name:`list`,tokenize:Ks},Ws={partial:!0,tokenize:Xs},Gs={partial:!0,tokenize:Js};function Ks(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===N.linePrefix?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){O(r.containerState,`expected state`);let i=r.containerState.type||(t===j.asterisk||t===j.plusSign||t===j.dash?N.listUnordered:N.listOrdered);if(i===N.listUnordered?!r.containerState.marker||t===r.containerState.marker:eo(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===N.listUnordered)return e.enter(N.listItemPrefix),t===j.asterisk||t===j.dash?e.check(Vs,n,l)(t):l(t);if(!r.interrupt||t===j.digit1)return e.enter(N.listItemPrefix),e.enter(N.listItemValue),c(t)}return n(t)}function c(t){return O(r.containerState,`expected state`),eo(t)&&++o<M.listItemValueSizeMax?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===j.rightParenthesis||t===j.dot)?(e.exit(N.listItemValue),l(t)):n(t)}function l(t){return O(r.containerState,`expected state`),O(t!==j.eof,"eof (`null`) is not a marker"),e.enter(N.listItemMarker),e.consume(t),e.exit(N.listItemMarker),r.containerState.marker=r.containerState.marker||t,e.check(wo,r.interrupt?n:u,e.attempt(Ws,f,d))}function u(e){return O(r.containerState,`expected state`),r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return F(t)?(e.enter(N.listItemPrefixWhitespace),e.consume(t),e.exit(N.listItemPrefixWhitespace),f):n(t)}function f(n){return O(r.containerState,`expected state`),r.containerState.size=a+r.sliceSerialize(e.exit(N.listItemPrefix),!0).length,t(n)}}function qs(e,t,n){let r=this;return O(r.containerState,`expected state`),r.containerState._closeFlow=void 0,e.check(wo,i,a);function i(n){return O(r.containerState,`expected state`),O(typeof r.containerState.size==`number`,`expected size`),r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,co(e,t,N.listItemIndent,r.containerState.size+1)(n)}function a(n){return O(r.containerState,`expected state`),r.containerState.furtherBlankLines||!F(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Gs,t,o)(n))}function o(i){return O(r.containerState,`expected state`),r.containerState._closeFlow=!0,r.interrupt=void 0,O(r.parser.constructs.disable.null,"expected `disable.null` to be populated"),co(e,e.attempt(Us,t,n),N.linePrefix,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:M.tabSize)(i)}}function Js(e,t,n){let r=this;return O(r.containerState,`expected state`),O(typeof r.containerState.size==`number`,`expected size`),co(e,i,N.listItemIndent,r.containerState.size+1);function i(e){O(r.containerState,`expected state`);let i=r.events[r.events.length-1];return i&&i[1].type===N.listItemIndent&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function Ys(e){O(this.containerState,`expected state`),O(typeof this.containerState.type==`string`,`expected type`),e.exit(this.containerState.type)}function Xs(e,t,n){let r=this;return O(r.parser.constructs.disable.null,"expected `disable.null` to be populated"),co(e,i,N.listItemPrefixWhitespace,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:M.tabSize+1);function i(e){let i=r.events[r.events.length-1];return!F(e)&&i&&i[1].type===N.listItemPrefixWhitespace?t(e):n(e)}}var Zs={name:`setextUnderline`,resolveTo:Qs,tokenize:$s};function Qs(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===N.content){r=n;break}e[n][1].type===N.paragraph&&(i=n)}else e[n][1].type===N.content&&e.splice(n,1),!a&&e[n][1].type===N.definition&&(a=n);O(i!==void 0,"expected a `text` index to be found"),O(r!==void 0,"expected a `text` index to be found"),O(e[r][2]===t,`enter context should be same`),O(e[e.length-1][2]===t,`enter context should be same`);let o={type:N.setextHeading,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=N.setextHeadingText,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function $s(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(O(t===j.dash||t===j.equalsTo,"expected `=` or `-`");a--;)if(r.events[a][1].type!==N.lineEnding&&r.events[a][1].type!==N.linePrefix&&r.events[a][1].type!==N.content){s=r.events[a][1].type===N.paragraph;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(N.setextHeadingLine),i=t,o(t)):n(t)}function o(t){return e.enter(N.setextHeadingLineSequence),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(N.setextHeadingLineSequence),F(t)?co(e,c,N.lineSuffix)(t):c(t))}function c(r){return r===j.eof||P(r)?(e.exit(N.setextHeadingLine),t(r)):n(r)}}var ec={tokenize:tc};function tc(e){let t=this,n=e.attempt(wo,r,e.attempt(this.parser.constructs.flowInitial,i,co(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Xo,i)),N.linePrefix)));return n;function r(r){if(O(r===j.eof||P(r),`expected eol or eof`),r===j.eof)e.consume(r);else return e.enter(N.lineEndingBlank),e.consume(r),e.exit(N.lineEndingBlank),t.currentConstruct=void 0,n}function i(r){if(O(r===j.eof||P(r),`expected eol or eof`),r===j.eof)e.consume(r);else return e.enter(N.lineEnding),e.consume(r),e.exit(N.lineEnding),t.currentConstruct=void 0,n}}var nc={resolveAll:oc()},rc=ac(`string`),ic=ac(`text`);function ac(e){return{resolveAll:oc(e===`text`?sc:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===j.eof)t.consume(e);else return t.enter(N.data),t.consume(e),s}function s(e){return c(e)?(t.exit(N.data),i(e)):(t.consume(e),s)}function c(e){if(e===j.eof)return!0;let t=r[e],i=-1;if(t)for(O(Array.isArray(t),"expected `disable.null` to be populated");++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function oc(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===N.data&&(i=r,r++):t[r]&&t[r][1].type===N.data||(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function sc(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===N.lineEnding)&&e[n-1][1].type===N.data){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===j.space;)s++,o--;if(o)break;o=-1}else if(e===j.horizontalTab)c=!0,s++;else if(e!==j.virtualSpace){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<M.hardBreakPrefixSizeMin?N.lineSuffix:N.hardBreakTrailing,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var cc=o({attentionMarkers:()=>gc,contentInitial:()=>uc,disable:()=>_c,document:()=>lc,flow:()=>fc,flowInitial:()=>dc,insideSpan:()=>hc,string:()=>pc,text:()=>mc}),lc={[j.asterisk]:Us,[j.plusSign]:Us,[j.dash]:Us,[j.digit0]:Us,[j.digit1]:Us,[j.digit2]:Us,[j.digit3]:Us,[j.digit4]:Us,[j.digit5]:Us,[j.digit6]:Us,[j.digit7]:Us,[j.digit8]:Us,[j.digit9]:Us,[j.greaterThan]:Eo},uc={[j.leftSquareBracket]:as},dc={[j.horizontalTab]:Ro,[j.virtualSpace]:Ro,[j.space]:Ro},fc={[j.numberSign]:ds,[j.asterisk]:Vs,[j.dash]:[Zs,Vs],[j.lessThan]:gs,[j.equalsTo]:Zs,[j.underscore]:Vs,[j.graveAccent]:Fo,[j.tilde]:Fo},pc={[j.ampersand]:Mo,[j.backslash]:Ao},mc={[j.carriageReturn]:zs,[j.lineFeed]:zs,[j.carriageReturnLineFeed]:zs,[j.exclamationMark]:Fs,[j.ampersand]:Mo,[j.asterisk]:vo,[j.lessThan]:[So,Cs],[j.leftSquareBracket]:Ls,[j.backslash]:[ls,Ao],[j.rightSquareBracket]:Ts,[j.underscore]:vo,[j.graveAccent]:Ho},hc={null:[vo,nc]},gc={null:[j.asterisk,j.underscore]},_c={null:[]},vc=x(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return c(e);if(n===`number`&&isFinite(e))return t.long?u(e):l(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function c(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function l(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function u(e){var t=Math.abs(e);return t>=a?d(e,t,a,`day`):t>=i?d(e,t,i,`hour`):t>=r?d(e,t,r,`minute`):t>=n?d(e,t,n,`second`):e+` ms`}function d(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),yc=x(((e,t)=>{function n(e){n.debug=n,n.default=n,n.coerce=c,n.disable=o,n.enable=i,n.enabled=s,n.humanize=vc(),n.destroy=l,Object.keys(e).forEach(t=>{n[t]=e[t]}),n.names=[],n.skips=[],n.formatters={};function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]}n.selectColor=t;function n(e){let t,i=null,a,o;function s(...e){if(!s.enabled)return;let r=s,i=Number(new Date);r.diff=i-(t||i),r.prev=t,r.curr=i,t=i,e[0]=n.coerce(e[0]),typeof e[0]!=`string`&&e.unshift(`%O`);let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,i)=>{if(t===`%%`)return`%`;a++;let o=n.formatters[i];if(typeof o==`function`){let n=e[a];t=o.call(r,n),e.splice(a,1),a--}return t}),n.formatArgs.call(r,e),(r.log||n.log).apply(r,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=r,s.destroy=n.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>i===null?(a!==n.namespaces&&(a=n.namespaces,o=n.enabled(e)),o):i,set:e=>{i=e}}),typeof n.init==`function`&&n.init(s),s}function r(e,t){let r=n(this.namespace+(t===void 0?`:`:t)+e);return r.log=this.log,r}function i(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];let t=(typeof e==`string`?e:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let e of t)e[0]===`-`?n.skips.push(e.slice(1)):n.names.push(e)}function a(e,t){let n=0,r=0,i=-1,a=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||t[r]===`*`))t[r]===`*`?(i=r,a=n,r++):(n++,r++);else if(i!==-1)r=i+1,a++,n=a;else return!1;for(;r<t.length&&t[r]===`*`;)r++;return r===t.length}function o(){let e=[...n.names,...n.skips.map(e=>`-`+e)].join(`,`);return n.enable(``),e}function s(e){for(let t of n.skips)if(a(e,t))return!1;for(let t of n.names)if(a(e,t))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}t.exports=n})),bc=(0,nt(x(((e,t)=>{e.formatArgs=r,e.save=i,e.load=a,e.useColors=n,e.storage=o(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=`#0000CC.#0000FF.#0033CC.#0033FF.#0066CC.#0066FF.#0099CC.#0099FF.#00CC00.#00CC33.#00CC66.#00CC99.#00CCCC.#00CCFF.#3300CC.#3300FF.#3333CC.#3333FF.#3366CC.#3366FF.#3399CC.#3399FF.#33CC00.#33CC33.#33CC66.#33CC99.#33CCCC.#33CCFF.#6600CC.#6600FF.#6633CC.#6633FF.#66CC00.#66CC33.#9900CC.#9900FF.#9933CC.#9933FF.#99CC00.#99CC33.#CC0000.#CC0033.#CC0066.#CC0099.#CC00CC.#CC00FF.#CC3300.#CC3333.#CC3366.#CC3399.#CC33CC.#CC33FF.#CC6600.#CC6633.#CC9900.#CC9933.#CCCC00.#CCCC33.#FF0000.#FF0033.#FF0066.#FF0099.#FF00CC.#FF00FF.#FF3300.#FF3333.#FF3366.#FF3399.#FF33CC.#FF33FF.#FF6600.#FF6633.#FF9900.#FF9933.#FFCC00.#FFCC33`.split(`.`);function n(){if(typeof window<`u`&&window.process&&(window.process.type===`renderer`||window.process.__nwjs))return!0;if(typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<`u`&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<`u`&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<`u`&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(e){if(e[0]=(this.useColors?`%c`:``)+this.namespace+(this.useColors?` %c`:` `)+e[0]+(this.useColors?`%c `:` `)+`+`+t.exports.humanize(this.diff),!this.useColors)return;let n=`color: `+this.color;e.splice(1,0,n,`color: inherit`);let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{e!==`%%`&&(r++,e===`%c`&&(i=r))}),e.splice(i,0,n)}e.log=console.debug||console.log||(()=>{});function i(t){try{t?e.storage.setItem(`debug`,t):e.storage.removeItem(`debug`)}catch{}}function a(){let t;try{t=e.storage.getItem(`debug`)||e.storage.getItem(`DEBUG`)}catch{}return!t&&typeof process<`u`&&`env`in process&&(t={}.DEBUG),t}function o(){try{return localStorage}catch{}}t.exports=yc()(e);var{formatters:s}=t.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return`[UnexpectedJSONParseError]: `+e.message}}}))(),1).default)(`micromark`);function xc(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c=!0,l={attempt:S(ne),check:S(x),consume:b,enter:ee,exit:te,interrupt:S(x,{interrupt:!0})},u={code:j.eof,containerState:{},defineSkip:_,events:[],now:g,parser:e,previous:j.eof,sliceSerialize:m,sliceStream:h,write:p},d=t.tokenize.call(u,l),f;return t.resolveAll&&a.push(t),u;function p(e){return o=Ua(o,e),v(),o[o.length-1]===j.eof?(re(t,0),u.events=_o(a,u.events,u),u.events):[]}function m(e,t){return Cc(h(e),t)}function h(e){return Sc(o,e)}function g(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function _(e){i[e.line]=e.column,ae(),bc("position: define skip: `%j`",r)}function v(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)y(t.charCodeAt(r._bufferIndex));else y(t)}}function y(e){O(c===!0,`expected character to be consumed`),c=void 0,bc("main: passing `%s` to %s",e,d&&d.name),f=e,O(typeof d==`function`,`expected state`),d=d(e)}function b(e){O(e===f,`expected given code to equal expected code`),bc("consume: `%s`",e),O(c===void 0,"expected code to not have been consumed: this might be because `return x(code)` instead of `return x` was used"),O(e===null?u.events.length===0||u.events[u.events.length-1][0]===`exit`:u.events[u.events.length-1][0]===`enter`,`expected last token to be open`),P(e)?(r.line++,r.column=1,r.offset+=e===j.carriageReturnLineFeed?2:1,ae(),bc("position: after eol: `%j`",r)):e!==j.virtualSpace&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e,c=!0}function ee(e,t){let n=t||{};return n.type=e,n.start=g(),O(typeof e==`string`,`expected string type`),O(e.length>0,`expected non-empty string`),bc("enter: `%s`",e),u.events.push([`enter`,n,u]),s.push(n),n}function te(e){O(typeof e==`string`,`expected string type`),O(e.length>0,`expected non-empty string`);let t=s.pop();return O(t,`cannot close w/o open tokens`),t.end=g(),O(e===t.type,`expected exit token to match current token`),O(t.start._index!==t.end._index||t.start._bufferIndex!==t.end._bufferIndex,"expected non-empty token (`"+e+"`)"),bc("exit: `%s`",t.type),u.events.push([`exit`,t,u]),t}function ne(e,t){re(e,t.from)}function x(e,t){t.restore()}function S(e,t){return n;function n(n,r,i){let a,o,s,d;return Array.isArray(n)?m(n):`tokenize`in n?m([n]):p(n);function p(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function m(e){return a=e,o=0,e.length===0?(O(i,"expected `bogusState` to be given"),i):h(e[o])}function h(e){return n;function n(n){return d=ie(),s=e,e.partial||(u.currentConstruct=e),O(u.parser.constructs.disable.null,"expected `disable.null` to be populated"),e.name&&u.parser.constructs.disable.null.includes(e.name)?_(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,g,_)(n)}}function g(t){return O(t===f,`expected code`),c=!0,e(s,d),r}function _(e){return O(e===f,`expected code`),c=!0,d.restore(),++o<a.length?h(a[o]):i}}}function re(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&Ha(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u)),O(e.partial||u.events.length===0||u.events[u.events.length-1][0]===`exit`,`expected last token to end`)}function ie(){let e=g(),t=u.previous,n=u.currentConstruct,i=u.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=a,ae(),bc("position: restore: `%j`",r)}}function ae(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Sc(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)O(a>-1,`expected non-negative end buffer index`),O(r>-1,`expected non-negative start buffer index`),o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):(O(r===0,"expected `startBufferIndex` to be `0`"),o.shift())}a>0&&o.push(e[i].slice(0,a))}return o}function Cc(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case j.carriageReturn:o=Va.cr;break;case j.lineFeed:o=Va.lf;break;case j.carriageReturnLineFeed:o=Va.cr+Va.lf;break;case j.horizontalTab:o=t?Va.space:Va.ht;break;case j.virtualSpace:if(!t&&i)continue;o=Va.space;break;default:O(typeof a==`number`,`expected number`),o=String.fromCharCode(a)}i=a===j.horizontalTab,r.push(o)}return r.join(``)}function wc(e){let t={constructs:Ga([cc,...(e||{}).extensions||[]]),content:n(lo),defined:[],document:n(fo),flow:n(ec),lazy:{},string:n(rc),text:n(ic)};return t;function n(e){return n;function n(n){return xc(t,e,n)}}}function Tc(e){for(;!Jo(e););return e}var Ec=/[\0\t\n\r]/g;function Dc(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===j.byteOrderMarker&&u++,void 0);u<i.length;){if(Ec.lastIndex=u,c=Ec.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===j.lf&&u===d&&r)s.push(j.carriageReturnLineFeed),r=void 0;else switch(r&&=(s.push(j.carriageReturn),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case j.nul:s.push(j.replacementCharacter),e++;break;case j.ht:for(l=Math.ceil(e/M.tabSize)*M.tabSize,s.push(j.horizontalTab);e++<l;)s.push(j.virtualSpace);break;case j.lf:s.push(j.lineFeed),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(j.carriageReturn),t&&s.push(t),s.push(j.eof)),s}}var Oc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function kc(e){return e.replace(Oc,Ac)}function Ac(e,t,n){if(t)return t;if(n.charCodeAt(0)===j.numberSign){let e=n.charCodeAt(1),t=e===j.lowercaseX||e===j.uppercaseX;return Ja(n.slice(t?2:1),t?M.numericBaseHexadecimal:M.numericBaseDecimal)}return Ba(n)||e}var jc={}.hasOwnProperty;function Mc(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),Nc(n)(Tc(wc(n).document().write(Dc()(e,t,!0))))}function Nc(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Ae),autolinkProtocol:S,autolinkEmail:S,atxHeading:a(Ee),blockQuote:a(xe),characterEscape:S,characterReference:S,codeFenced:a(Se),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(Se,o),codeText:a(Ce,o),codeTextData:S,data:S,codeFlowValue:S,definition:a(we),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Te),hardBreakEscape:a(De),hardBreakTrailing:a(De),htmlFlow:a(Oe,o),htmlFlowData:S,htmlText:a(Oe,o),htmlTextData:S,image:a(ke),label:o,link:a(Ae),listItem:a(Me),listItemValue:f,listOrdered:a(je,d),listUnordered:a(je),paragraph:a(Ne),reference:me,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Ee),strong:a(Pe),thematicBreak:a(Fe)},exit:{atxHeading:c(),atxHeadingSequence:ee,autolink:c(),autolinkEmail:be,autolinkProtocol:ye,blockQuote:c(),characterEscapeValue:re,characterReferenceMarkerHexadecimal:ge,characterReferenceMarkerNumeric:ge,characterReferenceValue:_e,characterReference:ve,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:re,codeIndented:c(_),codeText:c(ce),codeTextData:re,data:re,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(ae),hardBreakTrailing:c(ae),htmlFlow:c(oe),htmlFlowData:re,htmlText:c(se),htmlTextData:re,image:c(ue),label:fe,labelText:de,lineEnding:ie,link:c(le),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:he,resourceDestinationString:C,resourceTitleString:pe,resource:w,setextHeading:c(x),setextHeadingLineSequence:ne,setextHeadingText:te,strong:c(),thematicBreak:c()}};Fc(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)if(e[d][1].type===N.listOrdered||e[d][1].type===N.listUnordered){if(e[d][0]===`enter`)c.push(d);else{let t=c.pop();O(typeof t==`number`,`expected list to be open`),d=i(e,t,d)}}for(d=-1;++d<e.length;){let n=t[e[d][0]];jc.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||Lc).call(a,void 0,e[0])}for(r.position={start:Pc(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Pc(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case N.listUnordered:case N.listOrdered:case N.blockQuote:t[0]===`enter`?i++:i--,l=void 0;break;case N.lineEndingBlank:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case N.linePrefix:case N.listItemValue:case N.listItemMarker:case N.listItemPrefix:case N.listItemPrefixWhitespace:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===N.listItemPrefix||i===-1&&t[0]===`exit`&&(t[1].type===N.listUnordered||t[1].type===N.listOrdered)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===N.lineEnding||t[1].type===N.lineEndingBlank){if(t[0]===`exit`)continue;s&&(e[s][1].type=N.lineEndingBlank,a=!0),t[1].type=N.lineEnding,s=i}else if(t[1].type!==N.linePrefix&&t[1].type!==N.blockQuotePrefix&&t[1].type!==N.blockQuotePrefixWhitespace&&t[1].type!==N.blockQuoteMarker&&t[1].type!==N.listItemIndent)break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===N.listItemPrefix){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){let r=this.stack[this.stack.length-1];O(r,"expected `parent`"),O(`children`in r,"expected `parent`"),r.children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:Pc(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop();O(n,"expected `node`");let r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Lc).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+$i({start:e.start,end:e.end})+`): it’s not open`);O(n.type!==`fragment`,"unexpected fragment `exit`ed"),O(n.position,"expected `position` to be defined"),n.position.end=Pc(e.end)}function u(){return Fa(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];O(t,`expected nodes on stack`),O(t.type===`list`,`expected list on stack`),t.start=Number.parseInt(this.sliceSerialize(e),M.numericBaseDecimal),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`code`,`expected code on stack`),t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`code`,`expected code on stack`),t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`code`,`expected code on stack`),t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`code`,`expected code on stack`),t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];O(n,`expected node on stack`),O(n.type===`definition`,`expected definition on stack`),n.label=t,n.identifier=Ya(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`definition`,`expected definition on stack`),t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`definition`,`expected definition on stack`),t.url=e}function ee(e){let t=this.stack[this.stack.length-1];if(O(t,`expected node on stack`),O(t.type===`heading`,`expected heading on stack`),!t.depth){let n=this.sliceSerialize(e).length;O(n===1||n===2||n===3||n===4||n===5||n===6,"expected `depth` between `1` and `6`"),t.depth=n}}function te(){this.data.setextHeadingSlurpLineEnding=!0}function ne(e){let t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`heading`,`expected heading on stack`),t.depth=this.sliceSerialize(e).codePointAt(0)===j.equalsTo?1:2}function x(){this.data.setextHeadingSlurpLineEnding=void 0}function S(e){let t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(`children`in t,`expected parent on stack`);let n=t.children,r=n[n.length-1];r&&r.type===`text`||(r=T(),r.position={start:Pc(e.start),end:void 0},n.push(r)),this.stack.push(r)}function re(e){let t=this.stack.pop();O(t,"expected a `node` to be on the stack"),O(`value`in t,"expected a `literal` to be on the stack"),O(t.position,"expected `node` to have an open position"),t.value+=this.sliceSerialize(e),t.position.end=Pc(e.end)}function ie(e){let n=this.stack[this.stack.length-1];if(O(n,"expected `node`"),this.data.atHardBreak){O(`children`in n,"expected `parent`");let t=n.children[n.children.length-1];O(t.position,`expected tail to have a starting position`),t.position.end=Pc(e.end),this.data.atHardBreak=void 0}else!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(S.call(this,e),re.call(this,e))}function ae(){this.data.atHardBreak=!0}function oe(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`html`,`expected html on stack`),t.value=e}function se(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`html`,`expected html on stack`),t.value=e}function ce(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`inlineCode`,`expected inline code on stack`),t.value=e}function le(){let e=this.stack[this.stack.length-1];if(O(e,`expected node on stack`),O(e.type===`link`,`expected link on stack`),this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ue(){let e=this.stack[this.stack.length-1];if(O(e,`expected node on stack`),O(e.type===`image`,`expected image on stack`),this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function de(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];O(n,`expected ancestor on stack`),O(n.type===`image`||n.type===`link`,`expected image or link on stack`),n.label=kc(t),n.identifier=Ya(t).toLowerCase()}function fe(){let e=this.stack[this.stack.length-1];O(e,`expected node on stack`),O(e.type===`fragment`,`expected fragment on stack`);let t=this.resume(),n=this.stack[this.stack.length-1];O(n,`expected node on stack`),O(n.type===`image`||n.type===`link`,`expected image or link on stack`),this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function C(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`image`||t.type===`link`,`expected image or link on stack`),t.url=e}function pe(){let e=this.resume(),t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`image`||t.type===`link`,`expected image or link on stack`),t.title=e}function w(){this.data.inReference=void 0}function me(){this.data.referenceType=`collapsed`}function he(e){let t=this.resume(),n=this.stack[this.stack.length-1];O(n,`expected node on stack`),O(n.type===`image`||n.type===`link`,`expected image reference or link reference on stack`),n.label=t,n.identifier=Ya(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function ge(e){O(e.type===`characterReferenceMarkerNumeric`||e.type===`characterReferenceMarkerHexadecimal`),this.data.characterReferenceType=e.type}function _e(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;if(n)r=Ja(t,n===N.characterReferenceMarkerNumeric?M.numericBaseDecimal:M.numericBaseHexadecimal),this.data.characterReferenceType=void 0;else{let e=Ba(t);O(e!==!1,`expected reference to decode`),r=e}let i=this.stack[this.stack.length-1];O(i,"expected `node`"),O(`value`in i,"expected `node.value`"),i.value+=r}function ve(e){let t=this.stack.pop();O(t,"expected `node`"),O(t.position,"expected `node.position`"),t.position.end=Pc(e.end)}function ye(e){re.call(this,e);let t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`link`,`expected link on stack`),t.url=this.sliceSerialize(e)}function be(e){re.call(this,e);let t=this.stack[this.stack.length-1];O(t,`expected node on stack`),O(t.type===`link`,`expected link on stack`),t.url=`mailto:`+this.sliceSerialize(e)}function xe(){return{type:`blockquote`,children:[]}}function Se(){return{type:`code`,lang:null,meta:null,value:``}}function Ce(){return{type:`inlineCode`,value:``}}function we(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function Te(){return{type:`emphasis`,children:[]}}function Ee(){return{type:`heading`,depth:0,children:[]}}function De(){return{type:`break`}}function Oe(){return{type:`html`,value:``}}function ke(){return{type:`image`,title:null,url:``,alt:null}}function Ae(){return{type:`link`,title:null,url:``,children:[]}}function je(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Me(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function Ne(){return{type:`paragraph`,children:[]}}function Pe(){return{type:`strong`,children:[]}}function T(){return{type:`text`,value:``}}function Fe(){return{type:`thematicBreak`}}}function Pc(e){return{line:e.line,column:e.column,offset:e.offset}}function Fc(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?Fc(e,r):Ic(e,r)}}function Ic(e,t){let n;for(n in t)if(jc.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function Lc(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+$i({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+$i({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+$i({start:t.start,end:t.end})+`) is still open`)}function Rc(e){let t=this;t.parser=n;function n(n){return Mc(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function zc(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Bc(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
229
+ `}]}function Vc(e,t){let n=t.value?t.value+`
230
+ `:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}function Hc(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Uc(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Wc(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=so(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function Gc(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Kc(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function qc(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function Jc(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return qc(e,t);let i={src:so(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function Yc(e,t){let n={src:so(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Xc(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Zc(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return qc(e,t);let i={href:so(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Qc(e,t){let n={href:so(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function $c(e,t,n){let r=e.all(t),i=n?el(n):tl(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
231
+ `}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
232
+ `});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function el(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=tl(n[r])}return t}function tl(e){return e.spread??e.children.length>1}function nl(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function rl(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function il(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function al(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ol(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=Xi(t.children[1]),o=Yi(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function sl(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function cl(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var ll=9,ul=32;function dl(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(fl(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(fl(t.slice(i),i>0,!1)),a.join(``)}function fl(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===ll||t===ul;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===ll||t===ul;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function pl(e,t){let n={type:`text`,value:dl(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function ml(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var hl={blockquote:zc,break:Bc,code:Vc,delete:Hc,emphasis:Uc,footnoteReference:Wc,heading:Gc,html:Kc,imageReference:Jc,image:Yc,inlineCode:Xc,linkReference:Zc,link:Qc,listItem:$c,list:nl,paragraph:rl,root:il,strong:al,table:ol,tableCell:cl,tableRow:sl,text:pl,thematicBreak:ml,toml:gl,yaml:gl,definition:gl,footnoteDefinition:gl};function gl(){}var{defineProperty:_l}=Object,vl=typeof self==`object`?self:globalThis,yl=(e,t)=>{switch(e){case`Function`:case`SharedWorker`:case`Worker`:case`eval`:case`setInterval`:case`setTimeout`:throw TypeError(`unable to deserialize `+e)}return new vl[e](t)},bl=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o){let i=r(t),a=r(n);i===`__proto__`?_l(e,i,{value:a,configurable:!0,enumerable:!0,writable:!0}):e[i]=a}return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(typeof vl[e]==`function`?yl(e,t):Error(t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}case`-0`:return-0}return n(yl(a,o),i)};return r},xl=e=>bl(new Map,e)(0),Sl=``,{toString:Cl}={},{keys:wl,is:Tl}=Object,El=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=Cl.call(e).slice(8,-1);switch(n){case`Array`:return[1,Sl];case`Object`:return[2,Sl];case`Date`:return[3,Sl];case`RegExp`:return[4,Sl];case`Map`:return[5,Sl];case`Set`:return[6,Sl];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:e instanceof Error?[7,e.name||`Error`]:[2,n]},Dl=([e,t])=>e===0&&(t===`function`||t===`symbol`),Ol=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=o=>{if(n.has(o))return n.get(o);let[s,c]=El(o);switch(s){case 0:{let t=o;switch(c){case`bigint`:s=8,t=o.toString();break;case`number`:if(!o&&Tl(o,-0))return r.push([`-0`])-1;break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+c);t=null;break;case`undefined`:return i([-1],o)}return i([s,t],o)}case 1:{if(c){let e=o;return c===`DataView`?e=new Uint8Array(o.buffer):c===`ArrayBuffer`&&(e=new Uint8Array(o)),i([c,[...e]],o)}let e=[],t=i([s,e],o);for(let t of o)e.push(a(t));return t}case 2:{if(c)switch(c){case`BigInt`:return i([c,o.toString()],o);case`Boolean`:case`Number`:case`String`:return i([c,o.valueOf()],o)}if(t&&`toJSON`in o)return a(o.toJSON());let n=[],r=i([s,n],o);for(let t of wl(o))(e||!Dl(El(o[t])))&&n.push([a(t),a(o[t])]);return r}case 3:return i([s,isNaN(o.getTime())?Sl:o.toISOString()],o);case 4:{let{source:e,flags:t}=o;return i([s,{source:e,flags:t}],o)}case 5:{let t=[],n=i([s,t],o);for(let[n,r]of o)(e||!(Dl(El(n))||Dl(El(r))))&&t.push([a(n),a(r)]);return n}case 6:{let t=[],n=i([s,t],o);for(let n of o)(e||!Dl(El(n)))&&t.push(a(n));return n}}let{message:l}=o;return i([s,{name:c,message:l}],o)};return a},kl=(e,{json:t,lossy:n}={})=>{let r=[];return Ol(!(t||n),!!t,new Map,r)(e),r},Al=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?xl(kl(e,t)):structuredClone(e):(e,t)=>xl(kl(e,t));function jl(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function Ml(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function Nl(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||jl,r=e.options.footnoteBackLabel||Ml,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=so(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...Al(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
233
+ `},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
234
+ `}]}}var Pl=(function(e){if(e==null)return zl;if(typeof e==`function`)return Rl(e);if(typeof e==`object`)return Array.isArray(e)?Fl(e):Il(e);if(typeof e==`string`)return Ll(e);throw Error(`Expected function, string, or object as test`)});function Fl(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Pl(e[n]);return Rl(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Il(e){let t=e;return Rl(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function Ll(e){return Rl(t);function t(t){return t&&t.type===e}}function Rl(e){return t;function t(t,n,r){return!!(Bl(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function zl(){return!0}function Bl(e){return typeof e==`object`&&!!e&&`type`in e}function Vl(e){return e}var Hl=[];function Ul(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=Pl(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+Vl(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Hl,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=Wl(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function Wl(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Hl:[e]}function Gl(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Ul(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var Kl={}.hasOwnProperty,ql={};function Jl(e,t){let n=t||ql,r=new Map,i=new Map,a={all:s,applyData:Xl,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...hl,...n.handlers},one:o,options:n,patch:Yl,wrap:Ql};return Gl(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(Kl.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=Al(n);return r.children=a.all(e),r}return Al(e)}return(a.options.unknownHandler||Zl)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=$l(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=$l(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function Yl(e,t){e.position&&(t.position=Qi(e))}function Xl(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,Al(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function Zl(e,t){let n=t.data||{},r=`value`in t&&!(Kl.call(n,`hProperties`)||Kl.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Ql(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
235
+ `});++r<e.length;)r&&n.push({type:`text`,value:`
236
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
237
+ `}),n}function $l(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function eu(e,t){let n=Jl(e,t),r=n.one(e,void 0),i=Nl(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(O(`children`in a),a.children.push({type:`text`,value:`
238
+ `},i)),a}function tu(e,t){return e&&`run`in e?async function(n,r){let i=eu(n,{file:r,...t});await e.run(i,r)}:function(n,r){return eu(n,{file:r,...e||t})}}function nu(e){if(e)throw e}var ru=x(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function iu(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function au(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a)r(a);else{for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?ou(s,i)(...o):r(null,...o)}}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function ou(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var su={basename:cu,dirname:lu,extname:uu,join:du,sep:`/`};function cu(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);mu(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function lu(e){if(mu(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function uu(e){mu(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}}else n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function du(...e){let t=-1,n;for(;++t<e.length;)mu(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:fu(n)}function fu(e){mu(e);let t=e.codePointAt(0)===47,n=pu(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function pu(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(i!==o-1&&a!==1){if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1}i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function mu(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var hu={cwd:gu};function gu(){return`/`}function _u(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function vu(e){if(typeof e==`string`)e=new URL(e);else if(!_u(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return yu(e)}function yu(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var bu=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],xu=class{constructor(e){let t;t=e?_u(e)?{path:e}:typeof e==`string`||Tu(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:hu.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<bu.length;){let e=bu[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)bu.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?su.basename(this.path):void 0}set basename(e){Cu(e,`basename`),Su(e,`basename`),this.path=su.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?su.dirname(this.path):void 0}set dirname(e){wu(this.basename,`dirname`),this.path=su.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?su.extname(this.path):void 0}set extname(e){if(Su(e,`extname`),wu(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=su.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){_u(e)&&(e=vu(e)),Cu(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?su.basename(this.path,this.extname):void 0}set stem(e){Cu(e,`stem`),Su(e,`stem`),this.path=su.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new ra(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function Su(e,t){if(e&&e.includes(su.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+su.sep+"`")}function Cu(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function wu(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function Tu(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var Eu=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),Du=nt(ru(),1),Ou={}.hasOwnProperty,ku=new class e extends Eu{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=au()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,Du.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(Mu(`data`,this.frozen),this.namespace[e]=t,this):Ou.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Mu(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=Fu(e),n=this.parser||this.Parser;return Au(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),Au(`process`,this.parser||this.Parser),ju(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=Fu(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);Lu(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):(O(t,"`done` is defined if `resolve` is not"),t(void 0,n))}}}processSync(e){let t=!1,n;return this.freeze(),Au(`processSync`,this.parser||this.Parser),ju(`processSync`,this.compiler||this.Compiler),this.process(e,r),Pu(`processSync`,`process`,t),O(n,`we either bailed on an error or have a tree`),n;function r(e,r){t=!0,nu(e),n=r}}run(e,t,n){Nu(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){O(typeof t!=`function`,"`file` can’t be a `done` anymore, we checked");let o=Fu(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):(O(n,"`done` is defined if `resolve` is not"),n(void 0,s,o))}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),Pu(`runSync`,`run`,n),O(r,`we either bailed on an error or have a tree`),r;function i(e,t){nu(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=Fu(t),r=this.compiler||this.Compiler;return ju(`stringify`,r),Nu(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(Mu(`use`,this.frozen),e!=null){if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`")}return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`){if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e)}else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,Du.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null){if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];iu(o)&&iu(r)&&(r=(0,Du.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function Au(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function ju(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function Mu(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Nu(e){if(!iu(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function Pu(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function Fu(e){return Iu(e)?e:new xu(e)}function Iu(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function Lu(e){return typeof e==`string`||Ru(e)}function Ru(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var zu=ze(),Bu=[],Vu={allowDangerousHtml:!0},Hu=/^(https?|ircs?|mailto|xmpp)$/i,Uu=[{from:`astPlugins`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowDangerousHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowNode`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowElement`},{from:`allowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowedElements`},{from:`className`,id:`remove-classname`},{from:`disallowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`disallowedElements`},{from:`escapeHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`includeElementIndex`,id:`#remove-includeelementindex`},{from:`includeNodeIndex`,id:`change-includenodeindex-to-includeelementindex`},{from:`linkTarget`,id:`remove-linktarget`},{from:`plugins`,id:`change-plugins-to-remarkplugins`,to:`remarkPlugins`},{from:`rawSourcePos`,id:`#remove-rawsourcepos`},{from:`renderers`,id:`change-renderers-to-components`,to:`components`},{from:`source`,id:`change-source-to-children`,to:`children`},{from:`sourcePos`,id:`#remove-sourcepos`},{from:`transformImageUri`,id:`#add-urltransform`,to:`urlTransform`},{from:`transformLinkUri`,id:`#add-urltransform`,to:`urlTransform`}];function Wu(e){let t=Gu(e),n=Ku(e);return qu(t.runSync(t.parse(n),n),e)}function Gu(e){let t=e.rehypePlugins||Bu,n=e.remarkPlugins||Bu,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Vu}:Vu;return ku().use(Rc).use(n).use(tu,r).use(t)}function Ku(e){let t=e.children||``,n=new xu;return typeof t==`string`?n.value=t:ti("Unexpected value `"+t+"` for `children` prop, expected `string`"),n}function qu(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||Ju;for(let e of Uu)Object.hasOwn(t,e.from)&&ti("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":`remove it`)+` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#`+e.id+`> for more info)`);return n&&a&&ti("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),Gl(e,l),da(e,{Fragment:zu.Fragment,components:i,ignoreInvalidStyle:!0,jsx:zu.jsx,jsxs:zu.jsxs,passKeys:!0,passNode:!0});function l(e,t,i){if(e.type===`raw`&&i&&typeof t==`number`)return o?i.children.splice(t,1):i.children[t]={type:`text`,value:e.value},t;if(e.type===`element`){let t;for(t in Na)if(Object.hasOwn(Na,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=Na[t];(r===null||r.includes(e.tagName))&&(e.properties[t]=c(String(n||``),t,e))}}if(e.type===`element`){let o=n?!n.includes(e.tagName):a?a.includes(e.tagName):!1;if(!o&&r&&typeof t==`number`&&(o=!r(e,t,i)),o&&i&&typeof t==`number`)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}}function Ju(e){let t=e.indexOf(`:`),n=e.indexOf(`?`),r=e.indexOf(`#`),i=e.indexOf(`/`);return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Hu.test(e.slice(0,t))?e:``}function Yu(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function Xu(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function Zu(e,t,n){let r=Pl((n||{}).ignore||[]),i=Qu(t),a=-1;for(;++a<i.length;)Ul(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function Qu(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([$u(e[0]),ed(e[1])])}return t}function $u(e){return typeof e==`string`?new RegExp(Xu(e),`g`):e}function ed(e){return typeof e==`function`?e:function(){return e}}var td=`phrasing`,nd=[`autolink`,`link`,`image`,`label`];function rd(){return{transforms:[dd],enter:{literalAutolink:ad,literalAutolinkEmail:od,literalAutolinkHttp:od,literalAutolinkWww:od},exit:{literalAutolink:ud,literalAutolinkEmail:ld,literalAutolinkHttp:sd,literalAutolinkWww:cd}}}function id(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:td,notInConstruct:nd},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:td,notInConstruct:nd},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:td,notInConstruct:nd}]}}function ad(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function od(e){this.config.enter.autolinkProtocol.call(this,e)}function sd(e){this.config.exit.autolinkProtocol.call(this,e)}function cd(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];O(t.type===`link`),t.url=`http://`+this.sliceSerialize(e)}function ld(e){this.config.exit.autolinkEmail.call(this,e)}function ud(e){this.exit(e)}function dd(e){Zu(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,fd],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,pd]],{ignore:[`link`,`linkReference`]})}function fd(e,t,n,r,i){let a=``;if(!gd(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!md(n)))return!1;let o=hd(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function pd(e,t,n,r){return!gd(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function md(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function hd(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=Yu(e,`(`),a=Yu(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function gd(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||ao(n)||io(n))&&(!t||n!==47)}Ed.peek=Td;function _d(){this.buffer()}function vd(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function yd(){this.buffer()}function bd(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function xd(e){let t=this.resume(),n=this.stack[this.stack.length-1];O(n.type===`footnoteReference`),n.identifier=Ya(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Sd(e){this.exit(e)}function Cd(e){let t=this.resume(),n=this.stack[this.stack.length-1];O(n.type===`footnoteDefinition`),n.identifier=Ya(this.sliceSerialize(e)).toLowerCase(),n.label=t}function wd(e){this.exit(e)}function Td(){return`[`}function Ed(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function Dd(){return{enter:{gfmFootnoteCallString:_d,gfmFootnoteCall:vd,gfmFootnoteDefinitionLabelString:yd,gfmFootnoteDefinition:bd},exit:{gfmFootnoteCallString:xd,gfmFootnoteCall:Sd,gfmFootnoteDefinitionLabelString:Cd,gfmFootnoteDefinition:wd}}}function Od(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Ed},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
239
+ `:` `)+r.indentLines(r.containerFlow(e,a.current()),t?Ad:kd))),s(),o}}function kd(e,t,n){return t===0?e:Ad(e,t,n)}function Ad(e,t,n){return(n?``:` `)+e}var jd=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];Id.peek=Ld;function Md(){return{canContainEols:[`delete`],enter:{strikethrough:Pd},exit:{strikethrough:Fd}}}function Nd(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:jd}],handlers:{delete:Id}}}function Pd(e){this.enter({type:`delete`,children:[]},e)}function Fd(e){this.exit(e)}function Id(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function Ld(){return`~`}function Rd(e){return e.length}function zd(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Rd,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=Bd(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=Vd(r[d]);else{let e=Vd(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding===!1||n.alignDelimiters===!1&&i===``||n.delimiterStart===!1&&!d||r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(`
240
+ `)}function Bd(e){return e==null?``:String(e)}function Vd(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Hd(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),Ud);return i(),o}function Ud(e,t,n){return`>`+(n?``:` `)+e}function Wd(e,t){return Gd(e,t.inConstruct,!0)&&!Gd(e,t.notInConstruct,!1)}function Gd(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Kd(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
241
+ `&&Wd(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
242
+ `}function qd(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function Jd(e,t){return!(t.options.fences!==!1||!e.value||e.lang||!/[^ \r\n]/.test(e.value)||/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Yd(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Xd(e,t,n,r){let i=Yd(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(Jd(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,Zd);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(qd(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
243
+ `,encode:["`"],...s.current()})),t()}return u+=s.move(`
244
+ `),a&&(u+=s.move(a+`
245
+ `)),u+=s.move(c),l(),u}function Zd(e,t,n){return(n?``:` `)+e}function Qd(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function $d(e,t,n,r){let i=Qd(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
246
+ `,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function ef(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function tf(e){return`&#x`+e.toString(16).toUpperCase()+`;`}function nf(e,t,n){let r=go(e),i=go(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}rf.peek=af;function rf(e,t,n,r){let i=ef(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=nf(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=tf(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=nf(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+tf(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function af(e,t,n){return n.options.emphasis||`*`}function of(e,t){let n=!1;return Gl(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&Fa(e)&&(t.options.setext||n))}function sf(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(of(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
247
+ `,after:`
248
+ `});return r(),t(),o+`
249
+ `+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
250
+ `))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
251
+ `,...a.current()});return/^[\t ]/.test(l)&&(l=tf(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}cf.peek=lf;function cf(e){return e.value||``}function lf(){return`<`}uf.peek=df;function uf(e,t,n,r){let i=Qd(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function df(){return`!`}ff.peek=pf;function ff(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function pf(){return`!`}mf.peek=hf;function mf(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function hf(){return"`"}function gf(e,t){let n=Fa(e);return!(t.options.resourceLink||!e.url||e.title||!e.children||e.children.length!==1||e.children[0].type!==`text`||n!==e.url&&`mailto:`+n!==e.url||!/^[a-z][a-z+.-]+:/i.test(e.url)||/[\0- <>\u007F]/.test(e.url))}_f.peek=vf;function _f(e,t,n,r){let i=Qd(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(gf(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function vf(e,t,n){return gf(e,n)?`<`:`[`}yf.peek=bf;function yf(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function bf(){return`[`}function xf(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Sf(e){let t=xf(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Cf(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function wf(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Tf(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?Cf(n):xf(n),s=e.ordered?o===`.`?`)`:`.`:Sf(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if(o!==`*`&&o!==`-`||!t||t.children&&t.children[0]||n.stack[n.stack.length-1]!==`list`||n.stack[n.stack.length-2]!==`listItem`||n.stack[n.stack.length-3]!==`list`||n.stack[n.stack.length-4]!==`listItem`||n.indexStack[n.indexStack.length-1]!==0||n.indexStack[n.indexStack.length-2]!==0||n.indexStack[n.indexStack.length-3]!==0||(c=!0),wf(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function Ef(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Df(e,t,n,r){let i=Ef(n),a=n.bulletCurrent||xf(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function Of(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var kf=Pl([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function Af(e,t,n,r){return(e.children.some(function(e){return kf(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function jf(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Mf.peek=Nf;function Mf(e,t,n,r){let i=jf(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=nf(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=tf(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=nf(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+tf(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function Nf(e,t,n){return n.options.strong||`*`}function Pf(e,t,n,r){return n.safe(e.value,r)}function Ff(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function If(e,t,n){let r=(wf(n)+(n.options.ruleSpaces?` `:``)).repeat(Ff(n));return n.options.ruleSpaces?r.slice(0,-1):r}var Lf={blockquote:Hd,break:Kd,code:Xd,definition:$d,emphasis:rf,hardBreak:Kd,heading:sf,html:cf,image:uf,imageReference:ff,inlineCode:mf,link:_f,linkReference:yf,list:Tf,listItem:Df,paragraph:Of,root:Af,strong:Mf,text:Pf,thematicBreak:If};function Rf(){return{enter:{table:zf,tableData:Uf,tableHeader:Uf,tableRow:Vf},exit:{codeText:Wf,table:Bf,tableData:Hf,tableHeader:Hf,tableRow:Hf}}}function zf(e){let t=e._align;O(t,"expected `_align` on table"),this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function Bf(e){this.exit(e),this.data.inTable=void 0}function Vf(e){this.enter({type:`tableRow`,children:[]},e)}function Hf(e){this.exit(e)}function Uf(e){this.enter({type:`tableCell`,children:[]},e)}function Wf(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Gf));let n=this.stack[this.stack.length-1];O(n.type===`inlineCode`),n.value=t,this.exit(e)}function Gf(e,t){return t===`|`?t:e}function Kf(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
252
+ `,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
253
+ `))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return zd(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=Lf.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function qf(){return{exit:{taskListCheckValueChecked:Yf,taskListCheckValueUnchecked:Yf,paragraph:Xf}}}function Jf(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:Zf}}}function Yf(e){let t=this.stack[this.stack.length-2];O(t.type===`listItem`),t.checked=e.type===`taskListCheckValueChecked`}function Xf(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];O(e.type===`paragraph`);let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Zf(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=Lf.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function Qf(){return[rd(),Dd(),Md(),Rf(),qf()]}function $f(e){return{extensions:[id(),Od(e),Nd(),Kf(e),Jf()]}}var ep={tokenize:mp,partial:!0},tp={tokenize:hp,partial:!0},np={tokenize:gp,partial:!0},rp={tokenize:_p,partial:!0},ip={tokenize:vp,partial:!0},ap={name:`wwwAutolink`,tokenize:fp,previous:yp},op={name:`protocolAutolink`,tokenize:pp,previous:bp},sp={name:`emailAutolink`,tokenize:dp,previous:xp},cp={};function lp(){return{text:cp}}for(var up=j.digit0;up<j.leftCurlyBrace;)cp[up]=sp,up++,up===j.colon?up=j.uppercaseA:up===j.leftSquareBracket&&(up=j.lowercaseA);cp[j.plusSign]=sp,cp[j.dash]=sp,cp[j.dot]=sp,cp[j.underscore]=sp,cp[j.uppercaseH]=[sp,op],cp[j.lowercaseH]=[sp,op],cp[j.uppercaseW]=[sp,ap],cp[j.lowercaseW]=[sp,ap];function dp(e,t,n){let r=this,i,a;return o;function o(t){return!Sp(t)||!xp.call(r,r.previous)||Cp(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return Sp(t)?(e.consume(t),s):t===j.atSign?(e.consume(t),c):n(t)}function c(t){return t===j.dot?e.check(ip,u,l)(t):t===j.dash||t===j.underscore||Za(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&Xa(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function fp(e,t,n){let r=this;return i;function i(t){return t!==j.uppercaseW&&t!==j.lowercaseW||!yp.call(r,r.previous)||Cp(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(ep,e.attempt(tp,e.attempt(np,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function pp(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===j.uppercaseH||t===j.lowercaseH)&&bp.call(r,r.previous)&&!Cp(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(Xa(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===j.colon){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===j.slash?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===j.eof||$a(t)||ro(t)||ao(t)||io(t)?n(t):e.attempt(tp,e.attempt(np,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function mp(e,t,n){let r=0;return i;function i(t){return(t===j.uppercaseW||t===j.lowercaseW)&&r<3?(r++,e.consume(t),i):t===j.dot&&r===3?(e.consume(t),a):n(t)}function a(e){return e===j.eof?n(e):t(e)}}function hp(e,t,n){let r,i,a;return o;function o(t){return t===j.dot||t===j.underscore?e.check(rp,c,s)(t):t===j.eof||ro(t)||ao(t)||t!==j.dash&&io(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===j.underscore?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function gp(e,t){let n=0,r=0;return i;function i(o){return o===j.leftParenthesis?(n++,e.consume(o),i):o===j.rightParenthesis&&r<n?a(o):o===j.exclamationMark||o===j.quotationMark||o===j.ampersand||o===j.apostrophe||o===j.rightParenthesis||o===j.asterisk||o===j.comma||o===j.dot||o===j.colon||o===j.semicolon||o===j.lessThan||o===j.questionMark||o===j.rightSquareBracket||o===j.underscore||o===j.tilde?e.check(rp,t,a)(o):o===j.eof||ro(o)||ao(o)?t(o):(e.consume(o),i)}function a(t){return t===j.rightParenthesis&&r++,e.consume(t),i}}function _p(e,t,n){return r;function r(o){return o===j.exclamationMark||o===j.quotationMark||o===j.apostrophe||o===j.rightParenthesis||o===j.asterisk||o===j.comma||o===j.dot||o===j.colon||o===j.semicolon||o===j.questionMark||o===j.underscore||o===j.tilde?(e.consume(o),r):o===j.ampersand?(e.consume(o),a):o===j.rightSquareBracket?(e.consume(o),i):o===j.lessThan||o===j.eof||ro(o)||ao(o)?t(o):n(o)}function i(e){return e===j.eof||e===j.leftParenthesis||e===j.leftSquareBracket||ro(e)||ao(e)?t(e):r(e)}function a(e){return Xa(e)?o(e):n(e)}function o(t){return t===j.semicolon?(e.consume(t),r):Xa(t)?(e.consume(t),o):n(t)}}function vp(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return Za(e)?n(e):t(e)}}function yp(e){return e===j.eof||e===j.leftParenthesis||e===j.asterisk||e===j.underscore||e===j.leftSquareBracket||e===j.rightSquareBracket||e===j.tilde||ro(e)}function bp(e){return!Xa(e)}function xp(e){return!(e===j.slash||Sp(e))}function Sp(e){return e===j.plusSign||e===j.dash||e===j.dot||e===j.underscore||Za(e)}function Cp(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var wp={tokenize:Mp,partial:!0};function Tp(){return{document:{[j.leftSquareBracket]:{name:`gfmFootnoteDefinition`,tokenize:kp,continuation:{tokenize:Ap},exit:jp}},text:{[j.leftSquareBracket]:{name:`gfmFootnoteCall`,tokenize:Op},[j.rightSquareBracket]:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:Ep,resolveTo:Dp}}}}function Ep(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===N.labelImage){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===N.labelLink||e.type===N.label||e.type===N.image||e.type===N.link)break}return s;function s(i){if(O(i===j.rightSquareBracket,"expected `]`"),!o||!o._balanced)return n(i);let s=Ya(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==j.caret||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function Dp(e,t){let n=e.length,r;for(;n--;)if(e[n][1].type===N.labelImage&&e[n][0]===`enter`){r=e[n][1];break}O(r,"expected `labelStart` to resolve"),e[n+1][1].type=N.data,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let i={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:`gfmFootnoteCallString`,start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:N.chunkString,contentType:`string`,start:Object.assign({},o.start),end:Object.assign({},o.end)},c=[e[n+1],e[n+2],[`enter`,i,t],e[n+3],e[n+4],[`enter`,a,t],[`exit`,a,t],[`enter`,o,t],[`enter`,s,t],[`exit`,s,t],[`exit`,o,t],e[e.length-2],e[e.length-1],[`exit`,i,t]];return e.splice(n,e.length-n+1,...c),e}function Op(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return O(t===j.leftSquareBracket,"expected `[`"),e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===j.caret?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>M.linkReferenceSizeMax||s===j.rightSquareBracket&&!o||s===j.eof||s===j.leftSquareBracket||ro(s))return n(s);if(s===j.rightSquareBracket){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(Ya(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return ro(s)||(o=!0),a++,e.consume(s),s===j.backslash?u:l}function u(t){return t===j.leftSquareBracket||t===j.backslash||t===j.rightSquareBracket?(e.consume(t),a++,l):l(t)}}function kp(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return O(t===j.leftSquareBracket,"expected `[`"),e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===j.caret?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>M.linkReferenceSizeMax||t===j.rightSquareBracket&&!s||t===j.eof||t===j.leftSquareBracket||ro(t))return n(t);if(t===j.rightSquareBracket){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=Ya(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return ro(t)||(s=!0),o++,e.consume(t),t===j.backslash?d:u}function d(t){return t===j.leftSquareBracket||t===j.backslash||t===j.rightSquareBracket?(e.consume(t),o++,u):u(t)}function f(t){return t===j.colon?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),co(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function Ap(e,t,n){return e.check(wo,t,e.attempt(wp,t,n))}function jp(e){e.exit(`gfmFootnoteDefinition`)}function Mp(e,t,n){let r=this;return co(e,i,`gfmFootnoteDefinitionIndent`,M.tabSize+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===M.tabSize?t(e):n(e)}}function Np(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{[j.tilde]:n},insideSpan:{null:[n]},attentionMarkers:{null:[j.tilde]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&Ha(o,o.length,0,_o(s,e.slice(r+1,n),t)),Ha(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),Ha(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=N.data);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return O(t===j.tilde,"expected `~`"),i===j.tilde&&a[a.length-1][1].type!==N.characterEscape?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=go(i);if(a===j.tilde)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=go(a);return l._open=!u||u===M.attentionSideAfter&&!!s,l._close=!s||s===M.attentionSideAfter&&!!u,n(a)}}}var Pp=class{constructor(){this.map=[],this.index=new Map}add(e,t,n){Fp(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0,this.index.clear()}};function Fp(e,t,n,r){if(n===0&&r.length===0)return;let i=e.index.get(t);if(i){i[1]+=n,i[2].push(...r);return}let a=[t,n,r];e.map.push(a),e.index.set(t,a)}function Ip(e,t){O(e[t][1].type===`table`,`expected table`);let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function Lp(){return{flow:{null:{name:`table`,tokenize:Rp,resolveAll:zp}}}}function Rp(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let{type:e}=r.events[t][1];if(e===N.lineEnding||e===N.linePrefix)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?te:c;return a===te&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===j.verticalBar||(o=!0,a+=1),u(e)}function u(t){return t===j.eof?n(t):P(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(N.lineEnding),e.consume(t),e.exit(N.lineEnding),p):n(t):F(t)?co(e,u,N.whitespace)(t):(a+=1,o&&(o=!1,i+=1),t===j.verticalBar?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(N.data),d(t)))}function d(t){return t===j.eof||t===j.verticalBar||ro(t)?(e.exit(N.data),u(t)):(e.consume(t),t===j.backslash?f:d)}function f(t){return t===j.backslash||t===j.verticalBar?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,F(t)?(O(r.parser.constructs.disable.null,"expected `disabled.null`"),co(e,m,N.linePrefix,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:M.tabSize)(t)):m(t))}function m(t){return t===j.dash||t===j.colon?g(t):t===j.verticalBar?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):ee(t)}function h(t){return F(t)?co(e,g,N.whitespace)(t):g(t)}function g(t){return t===j.colon?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===j.dash?(a+=1,_(t)):t===j.eof||P(t)?b(t):ee(t)}function _(t){return t===j.dash?(e.enter(`tableDelimiterFiller`),v(t)):ee(t)}function v(t){return t===j.dash?(e.consume(t),v):t===j.colon?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return F(t)?co(e,b,N.whitespace)(t):b(t)}function b(n){return n===j.verticalBar?m(n):n===j.eof||P(n)?!o||i!==a?ee(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):ee(n)}function ee(e){return n(e)}function te(t){return e.enter(`tableRow`),ne(t)}function ne(n){return n===j.verticalBar?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),ne):n===j.eof||P(n)?(e.exit(`tableRow`),t(n)):F(n)?co(e,ne,N.whitespace)(n):(e.enter(N.data),x(n))}function x(t){return t===j.eof||t===j.verticalBar||ro(t)?(e.exit(N.data),ne(t)):(e.consume(t),t===j.backslash?S:x)}function S(t){return t===j.backslash||t===j.verticalBar?(e.consume(t),x):x(t)}}function zp(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new Pp;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(O(l,`there should be a table opening`),Vp(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===N.data||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=Bp(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=Bp(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=Bp(f,t,o,i,n,d)):(o[0]=o[1],d=Bp(f,t,a,i,n,d)),i=0):i&&(m.type===N.data||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&(O(l,`expected table opening`),Vp(f,t,c,l,u)),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=Ip(t.events,n))}return e}function Bp(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(O(a,`expected previous cell enter`),a.end=Object.assign({},Hp(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=Hp(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=Hp(t.events,n[2]),a=Hp(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),O(n[3]!==0),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=N.chunkText,r[1].contentType=M.contentTypeText,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},Hp(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function Vp(e,t,n,r,i){let a=[],o=Hp(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function Hp(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var Up={name:`tasklistCheck`,tokenize:Gp};function Wp(){return{text:{[j.leftSquareBracket]:Up}}}function Gp(e,t,n){let r=this;return i;function i(t){return O(t===j.leftSquareBracket,"expected `[`"),r.previous!==j.eof||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return ro(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===j.uppercaseX||t===j.lowercaseX?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===j.rightSquareBracket?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return P(r)?t(r):F(r)?e.check({tokenize:Kp},t,n)(r):n(r)}}function Kp(e,t,n){return co(e,r,N.whitespace);function r(e){return e===j.eof?n(e):t(e)}}function qp(e){return Ga([lp(),Tp(),Np(e),Lp(),Wp()])}var Jp={};function Yp(e){let t=this,n=e||Jp,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(qp(n)),a.push(Qf()),o.push($f(n))}var Xp={body:`_body_7whb8_1`,markdown:`_markdown_7whb8_7`,checkItem:`_checkItem_7whb8_33`,continuation:`_continuation_7whb8_58`,tableScroll:`_tableScroll_7whb8_97`,editor:`_editor_7whb8_103`,editorActions:`_editorActions_7whb8_116`,edit:`_edit_7whb8_103`},Zp=`/home/runner/work/p-backlog/p-backlog/src/web/task/TaskBody.tsx`,Qp=16,$p=(0,E.createContext)({items:[],onToggleLine:()=>void 0}),em=(0,E.createContext)(!1),tm={a:sm,table:cm,li:dm,pre:lm,code:um},nm=new Set([`p`,`ul`,`ol`,`blockquote`,`hr`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,lm,cm]),rm=/^\/(?!\/)/,im=/^https?:/i,am=/^(#|mailto:)/i;function om({body:e,editor:t,onEdit:n,onCloseEditor:r,onToggleLine:i,onSave:a}){let{ui:o,task:s}=_(),c=(0,E.useMemo)(()=>ye(e),[e]),l=(0,E.useMemo)(()=>(0,D.jsxDEV)(Wu,{remarkPlugins:[Yp],components:tm,children:e},void 0,!1,{fileName:Zp,lineNumber:44,columnNumber:7},this),[e]),u=(0,E.useRef)(null),d=(0,E.useRef)(null),f=Fn(u,d,t.phase!==`closed`),p=()=>{f(),r()},m=async e=>{(await a(e)).kind===`saved`&&p()};if(t.phase!==`closed`){let e=t.phase===`saving`;return(0,D.jsxDEV)(`div`,{ref:d,className:Xp.editor,children:[(0,D.jsxDEV)(`textarea`,{autoFocus:!0,value:t.text,readOnly:e,rows:Qp,"aria-label":s.description,onChange:e=>n(e.target.value)},void 0,!1,{fileName:Zp,lineNumber:67,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:Xp.editorActions,children:[(0,D.jsxDEV)(an,{variant:`primary`,busy:e,onClick:()=>void m(t.text),children:e?s.saving:s.save},void 0,!1,{fileName:Zp,lineNumber:69,columnNumber:11},this),(0,D.jsxDEV)(an,{busy:e,onClick:p,children:o.cancel},void 0,!1,{fileName:Zp,lineNumber:72,columnNumber:11},this)]},void 0,!0,{fileName:Zp,lineNumber:68,columnNumber:9},this)]},void 0,!0,{fileName:Zp,lineNumber:66,columnNumber:7},this)}return(0,D.jsxDEV)(`div`,{className:Xp.body,children:[(0,D.jsxDEV)(`div`,{className:Xp.markdown,children:(0,D.jsxDEV)($p,{value:{items:c,onToggleLine:i},children:l},void 0,!1,{fileName:Zp,lineNumber:83,columnNumber:9},this)},void 0,!1,{fileName:Zp,lineNumber:82,columnNumber:7},this),(0,D.jsxDEV)(an,{ref:u,className:Xp.edit,onClick:()=>n(e),children:s.editDescription},void 0,!1,{fileName:Zp,lineNumber:85,columnNumber:7},this)]},void 0,!0,{fileName:Zp,lineNumber:81,columnNumber:5},this)}function sm({node:e,href:t=``,...n}){return rm.test(t)?(0,D.jsxDEV)(lt,{...n,to:t},void 0,!1,{fileName:Zp,lineNumber:94,columnNumber:35},this):im.test(t)?(0,D.jsxDEV)(`a`,{...n,href:t,target:`_blank`,rel:`noreferrer`},void 0,!1,{fileName:Zp,lineNumber:95,columnNumber:35},this):am.test(t)?(0,D.jsxDEV)(`a`,{...n,href:t},void 0,!1,{fileName:Zp,lineNumber:96,columnNumber:43},this):(0,D.jsxDEV)(D.Fragment,{children:n.children},void 0,!1,{fileName:Zp,lineNumber:97,columnNumber:10},this)}function cm({children:e}){return(0,D.jsxDEV)(`div`,{className:Xp.tableScroll,children:(0,D.jsxDEV)(`table`,{children:e},void 0,!1,{fileName:Zp,lineNumber:103,columnNumber:7},this)},void 0,!1,{fileName:Zp,lineNumber:102,columnNumber:5},this)}function lm({children:e}){return(0,D.jsxDEV)(`pre`,{children:(0,D.jsxDEV)(em,{value:!0,children:e},void 0,!1,{fileName:Zp,lineNumber:111,columnNumber:7},this)},void 0,!1,{fileName:Zp,lineNumber:110,columnNumber:5},this)}function um({className:e,children:t}){let n=(0,E.useContext)(em);return(0,D.jsxDEV)(`code`,{className:C(!n&&`inline-code`,e),children:t},void 0,!1,{fileName:Zp,lineNumber:118,columnNumber:10},this)}function dm({node:e,children:t}){let{items:n,onToggleLine:r}=(0,E.useContext)($p),i=(e?.position?.start.line??0)-1,a=n.find(e=>e.line===i);if(!a)return(0,D.jsxDEV)(`li`,{children:t},void 0,!1,{fileName:Zp,lineNumber:125,columnNumber:21},this);let{label:o,continuation:s}=pm(t);return(0,D.jsxDEV)(`li`,{className:Xp.checkItem,children:[(0,D.jsxDEV)(`label`,{children:[(0,D.jsxDEV)(`input`,{type:`checkbox`,checked:a.checked,"aria-label":fm(o)?void 0:a.text,onChange:()=>r(a.line)},void 0,!1,{fileName:Zp,lineNumber:130,columnNumber:9},this),(0,D.jsxDEV)(`span`,{children:o},void 0,!1,{fileName:Zp,lineNumber:131,columnNumber:9},this)]},void 0,!0,{fileName:Zp,lineNumber:129,columnNumber:7},this),fm(s)&&(0,D.jsxDEV)(`div`,{className:Xp.continuation,children:s},void 0,!1,{fileName:Zp,lineNumber:133,columnNumber:44},this)]},void 0,!0,{fileName:Zp,lineNumber:128,columnNumber:5},this)}function fm(e){return e.some(e=>typeof e!=`string`||e.trim().length>0)}function pm(e){let t=E.Children.toArray(e),n=t.findIndex(e=>(0,E.isValidElement)(e)&&nm.has(e.type)),r=n===-1?t.length:n,i=t[r],a=(0,E.isValidElement)(i)&&i.type===`p`;return{label:mm(a?i.props.children:t.slice(0,r)),continuation:t.slice(a?r+1:r)}}function mm(e){return E.Children.toArray(e).filter(e=>!((0,E.isValidElement)(e)&&e.type===`input`))}var hm={error:`_error_bwbur_1`},gm=`/home/runner/work/p-backlog/p-backlog/src/web/ui/FieldError.tsx`;function _m(e){let t=(0,E.useId)();return{error:{id:t,message:e},inputProps:{"aria-invalid":e!==null,"aria-describedby":e===null?void 0:t}}}function vm({id:e,message:t}){return t===null?null:(0,D.jsxDEV)(`span`,{id:e,className:hm.error,role:`alert`,children:t},void 0,!1,{fileName:gm,lineNumber:15,columnNumber:5},this)}function ym(e){return ie([e])}function bm(e){return ym(e).join(`, `)}var xm={grid:`_grid_1nf1q_1`,tags:`_tags_1nf1q_8`},Sm=`/home/runner/work/p-backlog/p-backlog/src/web/task/TaskFields.tsx`;function Cm({task:e,epicListId:t,onChange:n,tags:r,epic:i}){let{core:a,task:o}=_(),{index:s}=lr(),{ref:c}=i,{ref:l}=r,[u,d]=(0,E.useState)(null),p=_m(u),m=()=>{let t=i.canonical,r=t===(e.epic??``),o=t===``||r?[]:pr({...e,epic:t},s);d(o.length===0?null:a.problems(o)),o.length>0||i.commit(e=>n({epic:e===``?null:e}))},g=()=>r.commit(e=>n({tags:ym(e)}));return(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`div`,{className:xm.grid,children:[(0,D.jsxDEV)(wm,{label:o.statusField,value:e.status,choices:te,labelFor:a.statusLabel,onChange:e=>void n({status:e})},void 0,!1,{fileName:Sm,lineNumber:43,columnNumber:9},this),(0,D.jsxDEV)(wm,{label:o.priorityField,value:e.priority,choices:f,labelFor:a.priorityLabel,onChange:e=>void n({priority:e})},void 0,!1,{fileName:Sm,lineNumber:44,columnNumber:9},this),(0,D.jsxDEV)(Tm,{label:o.categoryField,value:e.category,choices:h,labelFor:a.categoryLabel,emptyLabel:a.categoryLabel(void 0),onChange:e=>void n({category:e})},void 0,!1,{fileName:Sm,lineNumber:45,columnNumber:9},this),(0,D.jsxDEV)(wm,{label:o.typeField,value:e.type,choices:st,labelFor:a.typeLabel,onChange:e=>void n({type:e})},void 0,!1,{fileName:Sm,lineNumber:53,columnNumber:9},this),(0,D.jsxDEV)(`label`,{children:[o.epicField,(0,D.jsxDEV)(`input`,{ref:c,list:t,value:i.value,placeholder:o.epicPlaceholder,...p.inputProps,onChange:e=>{i.set(e.target.value),d(null)},onBlur:m},void 0,!1,{fileName:Sm,lineNumber:56,columnNumber:11},this),(0,D.jsxDEV)(vm,{...p.error},void 0,!1,{fileName:Sm,lineNumber:68,columnNumber:11},this)]},void 0,!0,{fileName:Sm,lineNumber:54,columnNumber:9},this)]},void 0,!0,{fileName:Sm,lineNumber:42,columnNumber:7},this),(0,D.jsxDEV)(`label`,{className:xm.tags,children:[o.tagsField,(0,D.jsxDEV)(`input`,{ref:l,value:r.value,onChange:e=>r.set(e.target.value),onBlur:g},void 0,!1,{fileName:Sm,lineNumber:74,columnNumber:9},this)]},void 0,!0,{fileName:Sm,lineNumber:72,columnNumber:7},this)]},void 0,!0,{fileName:Sm,lineNumber:41,columnNumber:5},this)}function wm({label:e,value:t,choices:n,labelFor:r,onChange:i}){return(0,D.jsxDEV)(`label`,{children:[e,(0,D.jsxDEV)(`select`,{value:t,onChange:e=>{let t=Dm(n,e.target.value);t!==void 0&&i(t)},children:(0,D.jsxDEV)(Em,{choices:n,labelFor:r},void 0,!1,{fileName:Sm,lineNumber:99,columnNumber:9},this)},void 0,!1,{fileName:Sm,lineNumber:92,columnNumber:7},this)]},void 0,!0,{fileName:Sm,lineNumber:90,columnNumber:5},this)}function Tm({label:e,value:t,choices:n,labelFor:r,emptyLabel:i,onChange:a}){return(0,D.jsxDEV)(`label`,{children:[e,(0,D.jsxDEV)(`select`,{value:t??``,onChange:e=>a(Dm(n,e.target.value)??null),children:[(0,D.jsxDEV)(`option`,{value:``,children:i},void 0,!1,{fileName:Sm,lineNumber:116,columnNumber:9},this),(0,D.jsxDEV)(Em,{choices:n,labelFor:r},void 0,!1,{fileName:Sm,lineNumber:117,columnNumber:9},this)]},void 0,!0,{fileName:Sm,lineNumber:115,columnNumber:7},this)]},void 0,!0,{fileName:Sm,lineNumber:113,columnNumber:5},this)}function Em({choices:e,labelFor:t}){return e.map(e=>(0,D.jsxDEV)(`option`,{value:e,children:t(e)},e,!1,{fileName:Sm,lineNumber:125,columnNumber:5},this))}function Dm(e,t){return e.find(e=>e===t)}function Om(){let{projectId:e}=Te(),[t]=dt(),n=t.toString();return t=>({pathname:bt(e,t),search:n})}var I={title:`_title_1ev1h_1`,muted:`_muted_1ev1h_8`},km=`/home/runner/work/p-backlog/p-backlog/src/web/task/TaskRef.tsx`;function Am({id:e,muted:t=!1}){let{task:n}=_(),{index:r}=lr(),i=Om(),a=r.byId.get(e);return(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(Xr,{id:e},void 0,!1,{fileName:km,lineNumber:17,columnNumber:7},this),` `,a?(0,D.jsxDEV)(lt,{to:i(e),className:C(I.title,t&&I.muted),children:a.title},void 0,!1,{fileName:km,lineNumber:19,columnNumber:9},this):(0,D.jsxDEV)(`span`,{className:I.title,children:n.refNotFound},void 0,!1,{fileName:km,lineNumber:23,columnNumber:9},this),` `,a&&(0,D.jsxDEV)(qr,{status:a.status},void 0,!1,{fileName:km,lineNumber:25,columnNumber:16},this)]},void 0,!0,{fileName:km,lineNumber:16,columnNumber:5},this)}function jm(e){return e.trim().toUpperCase()}var Mm={section:`_section_p47da_1`,heading:`_heading_p47da_7`,items:`_items_p47da_14`,item:`_item_p47da_14`,add:`_add_p47da_30`},Nm=`/home/runner/work/p-backlog/p-backlog/src/web/task/TaskRefs.tsx`,Pm=12;function Fm({label:e,ids:t,listId:n,idPrefix:r,draft:i,setDraft:a,onChange:o}){let{task:s}=_(),[c,l]=(0,E.useState)(null),u=_m(Lm(c,t)),f=e=>{e.kind!==`saved`&&l(e.kind===`fieldError`?{text:e.message}:null)},p=()=>{let e=jm(i);d.test(e)?t.includes(e)?(l({text:s.duplicateRef(e),duplicateOf:e}),a(``)):(a(``),o(t=>[...t,e]).then(e=>{e.kind!==`saved`&&(a(e=>e===``?i:e),f(e))})):l({text:s.invalidRefId(ae(r,Pm))})};return(0,D.jsxDEV)(`section`,{className:Mm.section,"aria-label":e,children:[(0,D.jsxDEV)(`h2`,{className:Mm.heading,children:e},void 0,!1,{fileName:Nm,lineNumber:57,columnNumber:7},this),(0,D.jsxDEV)(Im,{ids:t,onRemove:e=>void o(t=>t.filter(t=>t!==e)).then(f)},void 0,!1,{fileName:Nm,lineNumber:58,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:Mm.add,children:[(0,D.jsxDEV)(`input`,{list:n,value:i,placeholder:s.addRefPlaceholder,"aria-label":s.addRefLabel(e),...u.inputProps,onChange:e=>{a(e.target.value),l(null)},onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),p())}},void 0,!1,{fileName:Nm,lineNumber:60,columnNumber:9},this),(0,D.jsxDEV)(an,{onClick:p,children:s.addRef},void 0,!1,{fileName:Nm,lineNumber:77,columnNumber:9},this)]},void 0,!0,{fileName:Nm,lineNumber:59,columnNumber:7},this),(0,D.jsxDEV)(vm,{...u.error},void 0,!1,{fileName:Nm,lineNumber:79,columnNumber:7},this)]},void 0,!0,{fileName:Nm,lineNumber:56,columnNumber:5},this)}function Im({ids:e,onRemove:t}){let{task:n}=_();return(0,D.jsxDEV)(`ul`,{className:Mm.items,children:e.map(e=>(0,D.jsxDEV)(`li`,{className:Mm.item,children:[(0,D.jsxDEV)(Am,{id:e},void 0,!1,{fileName:Nm,lineNumber:90,columnNumber:11},this),(0,D.jsxDEV)(jn,{label:n.removeRef(e),tone:`danger`,onClick:()=>t(e),children:(0,D.jsxDEV)(Ir,{},void 0,!1,{fileName:Nm,lineNumber:92,columnNumber:13},this)},void 0,!1,{fileName:Nm,lineNumber:91,columnNumber:11},this)]},e,!0,{fileName:Nm,lineNumber:89,columnNumber:9},this))},void 0,!1,{fileName:Nm,lineNumber:87,columnNumber:5},this)}function Lm(e,t){return e===null||e.duplicateOf!==void 0&&!t.includes(e.duplicateOf)?null:e.text}function Rm({id:e,tasks:t}){return(0,D.jsxDEV)(`datalist`,{id:e,children:t.map(e=>(0,D.jsxDEV)(`option`,{value:e.id,children:e.title},e.id,!1,{fileName:Nm,lineNumber:110,columnNumber:9},this))},void 0,!1,{fileName:Nm,lineNumber:108,columnNumber:5},this)}var zm=e=>({text:e,base:e,confirmed:e,conflicted:!1,failed:!1,savesInFlight:0,latestSaveNumber:0}),Bm=e=>e.savesInFlight>0,Vm=e=>e,Hm=(e,t)=>t===e.base,Um=(e,t)=>t!==e.base;function Wm(e,t=Vm){let n=(0,E.useRef)(null),r=(0,E.useRef)(0),[i,a]=(0,E.useState)(()=>zm(e));(0,E.useEffect)(()=>{document.activeElement!==n.current&&a(n=>Bm(n)?n:Hm(n,t(n.text))?zm(e):Um(n,e)?{...n,conflicted:!0}:n)},[e,t]);let o=t(i.text),s=e=>{let t=++r.current;a(e=>({...e,base:o,savesInFlight:e.savesInFlight+1,latestSaveNumber:t}));let n=e=>a(n=>{let r={...n,savesInFlight:n.savesInFlight-1,confirmed:e?o:n.confirmed};return n.latestSaveNumber===t?e?{...r,conflicted:!1,failed:!1}:{...r,base:n.confirmed,failed:!0}:r});e(o).then(e=>n(e.kind===`saved`))};return{ref:n,value:i.text,canonical:o,set:e=>a(t=>({...t,text:e})),unsaved:!Hm(i,o),conflicted:i.conflicted,failed:i.failed,commit:t=>{Bm(i)?Hm(i,o)||s(t):o===e?a({...zm(e),text:i.text}):Hm(i,o)?a(zm(e)):Um(i,e)?a({...zm(e),text:i.text,conflicted:!0}):s(t)},reset:()=>a(t=>({...zm(e),savesInFlight:t.savesInFlight}))}}var Gm=e=>e.trim();function Km(e){let{task:t}=_(),n=Wm(e.title,Gm),r=Wm(e.tags.join(`, `),bm),i=Wm(e.epic??``,jm),a=[{draft:n,label:t.title},{draft:r,label:t.tagsField},{draft:i,label:t.epicField}];return{title:n,tags:r,epic:i,unsaved:a.some(({draft:e})=>e.unsaved),alerts:a.flatMap(({draft:e,label:n})=>e.conflicted?[t.fieldConflict(n)]:e.failed?[t.fieldNotSaved(n)]:[])}}function qm(e){return e instanceof Error?e:Error(String(e))}function Jm(e,t,r){let i=n(e);return i===`conflict`?r.taskConflict:i===`timedOut`?r.saveTimedOut:e instanceof Ie?r.saveNotSent:e instanceof Ge?r.taskGone(e.taskId):fn(t,e)}var Ym={phase:`closed`},L={phase:`saving`},Xm={phase:`idle`},Zm={phase:`failed`},Qm=e=>n(e)===`conflict`;function $m(e){let{app:t,task:n}=_(),r=$e(),[i,a]=(0,E.useState)(Ym),[o,s]=(0,E.useState)(null),[c,l]=(0,E.useState)(0),[u,d]=(0,E.useState)(Xm),f=e=>Jm(e,t,n),p=(e,t)=>t===`refs`&&!Qm(e)?{kind:`fieldError`,message:f(e)}:(t===`body`?a(t=>ih(t,e)):s(e),{kind:`failed`}),m=async(t,n)=>{s(null),d(Xm),l(e=>e+1);try{return await r.save({id:e.id,...n}),d(th({phase:`saved`,at:Date.now()})),{kind:`saved`}}catch(e){return d(Zm),p(qm(e),t)}finally{l(e=>e-1)}},h=e=>m(`card`,{change:e}),g={version:e.version,body:e.body},v=e=>a(t=>nh(t,e,g)),y=async e=>{let t=i.phase===`closed`?g:i.draft.from;a(e=>e.phase===`closed`?e:{phase:`saving`,draft:e.draft});let n=await m(`body`,{change:()=>({body:e}),bodyEdit:t});return n.kind===`saved`&&a(rh),n},b=e=>Qm(e)?n.draftConflict:f(e),ee=i.phase===`editing`?i.error:null,te=ee===null?null:b(ee),ne=c>0;return{save:h,apply:e=>h(()=>e),saveRefs:e=>m(`refs`,{change:e}),body:{editor:eh(i),edit:v,close:()=>a(Ym),save:y},alerts:[te,o===null?null:f(o)],lastSave:ne?L:u,saving:ne,saveFailed:u.phase===`failed`}}function eh(e){return e.phase===`closed`?e:{phase:e.phase,text:e.draft.text}}function th(e){return t=>t.phase===`failed`?t:e}function nh(e,t,n){return e.phase===`closed`?{phase:`editing`,draft:{text:t,from:n},error:null}:{...e,draft:{...e.draft,text:t}}}function rh(e){return e.phase===`closed`?e:{phase:`editing`,draft:e.draft,error:null}}function ih(e,t){if(e.phase===`closed`)return e;let n=t instanceof Ae?t.current:void 0,r=n===void 0?e.draft.from:{version:n.version,body:n.body};return{phase:`editing`,draft:{...e.draft,from:r},error:t}}var ah=2e3;function oh(e){let{task:t}=_(),[n,r]=(0,E.useState)(null),i=e.phase===`saved`?e.at:null;return(0,E.useEffect)(()=>{if(i===null)return;let e=setTimeout(()=>r(i),ah);return()=>clearTimeout(e)},[i]),e.phase===`saving`?t.saving:i!==null&&i!==n?t.saved:``}function sh(e,t){(0,E.useLayoutEffect)(()=>{let n=e.current;if(!n)return;let r=()=>document.documentElement.style.setProperty(t,`${Math.ceil(n.getBoundingClientRect().height)}px`);r();let i=new ResizeObserver(r);return i.observe(n,{box:`border-box`}),()=>{i.disconnect(),document.documentElement.style.removeProperty(t)}},[e,t])}var ch={title:`_title_1mop9_1`,meta:`_meta_1mop9_26`,source:`_source_1mop9_35`,closure:`_closure_1mop9_39`,restore:`_restore_1mop9_55`,alert:`_alert_1mop9_59`,warnings:`_warnings_1mop9_68`,readonlyRefs:`_readonlyRefs_1mop9_73`,saving:`_saving_1mop9_90`,pinned:`_pinned_1mop9_97`,alertsPinned:`_alertsPinned_1mop9_114`},R=`/home/runner/work/p-backlog/p-backlog/src/web/task/TaskPanel.tsx`,lh=`task-ids`,uh=`epic-ids`;function dh({task:e,onClose:t,gone:n}){let{core:r,task:i}=_(),{tasks:a,index:o,tones:s}=lr(),c=$m(e),l=Km(e),d=c.body.editor.phase!==`closed`,f=fh();Pr({unsaved:d||l.unsaved||f.unsaved,saving:c.saving,saveFailed:c.saveFailed},{ifUnsaved:d?i.leaveWithDraft:i.leaveWithFieldEdits,ifStillSaving:i.leaveWhileSaving});let m=o.notLoaded.get(e.id),h=m===void 0?i.taskGone(e.id):r.taskNotLoaded(e.id,m),g=n?[h]:mh([...c.alerts,...l.alerts]),v=oh(c.lastSave),y=(0,E.useMemo)(()=>(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(Rm,{id:lh,tasks:a.filter(t=>t.id!==e.id)},void 0,!1,{fileName:R,lineNumber:62,columnNumber:9},this),(0,D.jsxDEV)(Rm,{id:uh,tasks:a.filter(e=>e.type===`epic`)},void 0,!1,{fileName:R,lineNumber:63,columnNumber:9},this)]},void 0,!0,{fileName:R,lineNumber:61,columnNumber:7},this),[a,e.id]),ee=u(e.id)?.prefix??e.id,te=hr(e,o).map(r.problem),ne=e.type===`epic`?p(e,o):[];return(0,D.jsxDEV)(Vr,{label:i.cardLabel(e.id),heading:(0,D.jsxDEV)(Xr,{id:e.id,tone:Or(e,s)},void 0,!1,{fileName:R,lineNumber:73,columnNumber:65},this),onClose:t,className:g.length>0?ch.alertsPinned:void 0,children:[(0,D.jsxDEV)(vh,{draft:l.title,label:i.title,onSave:e=>c.apply({title:e})},void 0,!1,{fileName:R,lineNumber:74,columnNumber:7},this),(0,D.jsxDEV)(Cm,{task:e,epicListId:uh,onChange:c.apply,tags:l.tags,epic:l.epic},void 0,!1,{fileName:R,lineNumber:76,columnNumber:7},this),(0,D.jsxDEV)(hh,{task:e,index:o},void 0,!1,{fileName:R,lineNumber:78,columnNumber:7},this),(0,D.jsxDEV)(_h,{saveNote:v,alerts:g},void 0,!1,{fileName:R,lineNumber:80,columnNumber:7},this),oe(e.status)&&(0,D.jsxDEV)(gh,{task:e,onRestore:()=>void c.apply({status:`backlog`})},void 0,!1,{fileName:R,lineNumber:82,columnNumber:33},this),te.length>0&&(0,D.jsxDEV)(De,{as:`ul`,className:ch.warnings,children:te.map(e=>(0,D.jsxDEV)(`li`,{children:e},e,!1,{fileName:R,lineNumber:86,columnNumber:13},this))},void 0,!1,{fileName:R,lineNumber:84,columnNumber:9},this),(0,D.jsxDEV)(om,{body:e.body,editor:c.body.editor,onEdit:c.body.edit,onCloseEditor:c.body.close,onToggleLine:e=>void c.save(t=>({body:Ye(t.body,e)})),onSave:c.body.save},void 0,!1,{fileName:R,lineNumber:91,columnNumber:7},this),(0,D.jsxDEV)(ph,{task:e,idPrefix:ee,drafts:f,saveRefs:c.saveRefs},void 0,!1,{fileName:R,lineNumber:100,columnNumber:7},this),(0,D.jsxDEV)(yh,{label:i.dependentsLabel,tasks:Ve(e,o)},void 0,!1,{fileName:R,lineNumber:102,columnNumber:7},this),(0,D.jsxDEV)(yh,{label:i.referrersLabel,tasks:b(e,o).filter(t=>!e.related.includes(t.id))},void 0,!1,{fileName:R,lineNumber:103,columnNumber:7},this),(0,D.jsxDEV)(yh,{label:i.epicChildrenLabel,tasks:ne},void 0,!1,{fileName:R,lineNumber:104,columnNumber:7},this),y]},void 0,!0,{fileName:R,lineNumber:73,columnNumber:5},this)}function fh(){let[e,t]=(0,E.useState)(``),[n,r]=(0,E.useState)(``);return{blockedBy:{draft:e,setDraft:t},related:{draft:n,setDraft:r},unsaved:[e,n].some(e=>e.trim()!==``)}}function ph({task:e,idPrefix:t,drafts:n,saveRefs:r}){let{task:i}=_();return(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(Fm,{label:i.blockedByLabel,ids:e.blockedBy,listId:lh,idPrefix:t,...n.blockedBy,onChange:e=>r(t=>({blockedBy:e(t.blockedBy)}))},void 0,!1,{fileName:R,lineNumber:134,columnNumber:7},this),(0,D.jsxDEV)(Fm,{label:i.relatedLabel,ids:e.related,listId:lh,idPrefix:t,...n.related,onChange:e=>r(t=>({related:e(t.related)}))},void 0,!1,{fileName:R,lineNumber:142,columnNumber:7},this)]},void 0,!0,{fileName:R,lineNumber:133,columnNumber:5},this)}function mh(e){return[...new Set(e.filter(e=>e!==null))]}function hh({task:t,index:n}){let r=g(),{task:i}=_();return(0,D.jsxDEV)(`div`,{className:ch.meta,children:[(0,D.jsxDEV)(qr,{status:t.status},void 0,!1,{fileName:R,lineNumber:163,columnNumber:7},this),(0,D.jsxDEV)(Mr,{progress:e(t,n)},void 0,!1,{fileName:R,lineNumber:164,columnNumber:7},this),(0,D.jsxDEV)(`span`,{children:[i.createdLabel,` `,jt(r,t.created)]},void 0,!0,{fileName:R,lineNumber:165,columnNumber:7},this),t.source&&(0,D.jsxDEV)(`span`,{className:ch.source,children:t.source},void 0,!1,{fileName:R,lineNumber:168,columnNumber:23},this)]},void 0,!0,{fileName:R,lineNumber:162,columnNumber:5},this)}function gh({task:e,onRestore:t}){let n=g(),{core:r,task:i}=_(),a=$r(),o=e.reason?.trim()??``;return(0,D.jsxDEV)(`div`,{className:ch.closure,children:[(0,D.jsxDEV)(`p`,{children:[e.closed===void 0?i.closedWithoutDate:`${i.closedLabel} ${jt(n,e.closed)}`,e.resolution!==void 0&&` · ${r.resolutionLabel(e.resolution)} — ${o===``?i.reasonNotRecorded:o}`]},void 0,!0,{fileName:R,lineNumber:180,columnNumber:7},this),(0,D.jsxDEV)(Cr,{task:e,now:a},void 0,!1,{fileName:R,lineNumber:184,columnNumber:7},this),(0,D.jsxDEV)(an,{className:ch.restore,onClick:t,children:i.restoreToBacklog},void 0,!1,{fileName:R,lineNumber:185,columnNumber:7},this)]},void 0,!0,{fileName:R,lineNumber:179,columnNumber:5},this)}function _h({saveNote:e,alerts:t}){let n=(0,E.useRef)(null);return sh(n,`--card-status-height`),(0,D.jsxDEV)(`div`,{ref:n,className:ch.pinned,children:[(0,D.jsxDEV)(`p`,{className:ch.saving,role:`status`,children:e},void 0,!1,{fileName:R,lineNumber:197,columnNumber:7},this),t.map(e=>(0,D.jsxDEV)(`p`,{className:ch.alert,role:`alert`,children:e},e,!1,{fileName:R,lineNumber:201,columnNumber:9},this))]},void 0,!0,{fileName:R,lineNumber:196,columnNumber:5},this)}function vh({draft:e,label:t,onSave:n}){let{ref:r}=e;return(0,E.useLayoutEffect)(()=>{let e=r.current;if(!e)return;let t=()=>{let t=e.offsetHeight-e.clientHeight;e.style.height=`auto`,e.style.height=`${e.scrollHeight+t}px`};t();let n=e.parentElement;if(!n)return;let i=new ResizeObserver(t);return i.observe(n),()=>i.disconnect()},[e.value,r]),(0,D.jsxDEV)(`textarea`,{ref:r,className:ch.title,rows:1,value:e.value,"aria-label":t,onChange:t=>e.set(t.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),e.currentTarget.blur())},onBlur:()=>{e.canonical===``?e.reset():e.commit(n)}},void 0,!1,{fileName:R,lineNumber:230,columnNumber:5},this)}function yh({label:e,tasks:t}){return t.length===0?null:(0,D.jsxDEV)(`section`,{className:ch.readonlyRefs,"aria-label":e,children:[(0,D.jsxDEV)(`h2`,{children:e},void 0,!1,{fileName:R,lineNumber:255,columnNumber:7},this),(0,D.jsxDEV)(`ul`,{children:t.map(e=>(0,D.jsxDEV)(`li`,{children:(0,D.jsxDEV)(Am,{id:e.id,muted:oe(e.status)},void 0,!1,{fileName:R,lineNumber:259,columnNumber:13},this)},e.id,!1,{fileName:R,lineNumber:258,columnNumber:11},this))},void 0,!1,{fileName:R,lineNumber:256,columnNumber:7},this)]},void 0,!0,{fileName:R,lineNumber:254,columnNumber:5},this)}function bh(e){return(0,E.useSyncExternalStore)(t=>{let n=window.matchMedia(e);return n.addEventListener(`change`,t),()=>n.removeEventListener(`change`,t)},()=>window.matchMedia(e).matches)}var xh=/Mac|iPhone|iPad/;function Sh(){return xh.test(navigator.platform)}var Ch=`Alt+A`;function wh(){return Sh()?`⌥A`:Ch}function Th(e){return e.altKey&&e.code===`KeyA`&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey}var Eh=`(hover: none)`;function Dh(){return!bh(Eh)}function Oh(){let[e,t]=(0,E.useState)({result:null,noticeId:0}),n=(0,E.useCallback)(e=>t(t=>({result:e,noticeId:t.noticeId+1})),[]);return{result:e.result,noticeId:e.noticeId,show:n}}function kh(e,t){return t instanceof ne?{request:e,response:t.done,failure:Ah(t)}:null}function Ah(e){return{error:e.failure,rest:e.rest}}function jh(e){return e.request.action.kind===`restore`}var Mh=15e3;function Nh(e,{content:t,paused:n,expire:r}){(0,E.useEffect)(()=>{if(t===null||n)return;let i,a=()=>{e.current?.contains(document.activeElement)?i=setTimeout(a,Mh):r()};return i=setTimeout(a,Mh),()=>clearTimeout(i)},[e,t,n,r])}var Ph={panel:`_panel_azm3h_1`,announcement:`_announcement_azm3h_12`,headline:`_headline_azm3h_16`,error:`_error_azm3h_22`},Fh={skipped:`_skipped_10d0t_1`},Ih=`/home/runner/work/p-backlog/p-backlog/src/web/list/BatchNotice.tsx`;function Lh({result:e,noticeId:t,onResult:n}){let{list:r}=_(),i=he(),a=(0,E.useRef)(null),o=(0,E.useRef)(null),s=(0,E.useRef)(null),{isPending:c,reset:l}=i;(0,E.useEffect)(()=>l(),[e,l]),Nh(a,{content:e,paused:c,expire:(0,E.useCallback)(()=>n(null),[n])}),(0,E.useEffect)(()=>{e!==null&&Mn()&&(s.current??o.current)?.focus()},[e]);let u=e&&zh(e),d=()=>{let e=u?.nextUndo;if(c||e===void 0)return;let{request:t,undoneSoFar:r}=e,a=(e,t)=>n({request:r.request,response:{results:[...r.response.results,...e.results]},...t&&{failure:t}});i.mutate(t,{onSuccess:e=>a(e),onError:e=>{e instanceof ne&&a(e.done,Ah(e))}})},f=u&&Vh(u,i.error,r);return(0,D.jsxDEV)(`div`,{ref:a,className:u===null?`visually-hidden`:Ph.panel,children:[(0,D.jsxDEV)(`div`,{role:`status`,className:Ph.announcement,children:u!==null&&(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`p`,{ref:o,tabIndex:-1,className:Ph.headline,children:r.batchSummary[u.result.request.action.kind](u.done.length,u.result.request.tasks.length)},t,!1,{fileName:Ih,lineNumber:68,columnNumber:13},this),u.skipped.length>0&&(0,D.jsxDEV)(Rh,{skipped:u.skipped},void 0,!1,{fileName:Ih,lineNumber:71,columnNumber:41},this),u.nextUndo!==void 0&&(0,D.jsxDEV)(an,{ref:s,busy:c,onClick:d,children:r.undo},void 0,!1,{fileName:Ih,lineNumber:73,columnNumber:15},this)]},void 0,!0,{fileName:Ih,lineNumber:67,columnNumber:11},this)},void 0,!1,{fileName:Ih,lineNumber:65,columnNumber:7},this),f&&(0,D.jsxDEV)(dn,{className:Ph.error,action:f.action,error:f.error},f.of,!1,{fileName:Ih,lineNumber:80,columnNumber:25},this)]},void 0,!0,{fileName:Ih,lineNumber:64,columnNumber:5},this)}function Rh({skipped:e}){let t=Om();return(0,D.jsxDEV)(`ul`,{className:Fh.skipped,children:e.map(e=>(0,D.jsxDEV)(`li`,{children:(0,D.jsxDEV)(lt,{to:t(e.id),children:e.message},void 0,!1,{fileName:Ih,lineNumber:91,columnNumber:11},this)},e.id,!1,{fileName:Ih,lineNumber:90,columnNumber:9},this))},void 0,!1,{fileName:Ih,lineNumber:88,columnNumber:5},this)}function zh(e){let t=e.response.results.filter(e=>e.outcome===`done`);return{result:e,done:t,skipped:e.response.results.filter(e=>e.outcome===`skipped`),...Bh(e,t)}}function Bh(e,t){if(jh(e)){let t=e.failure?.rest;return{kind:`undo`,nextUndo:t&&{request:t,undoneSoFar:e}}}if(t.length===0)return{kind:`firstRun`,nextUndo:void 0};let n=Hh(t);return{kind:`firstRun`,nextUndo:{request:n,undoneSoFar:{request:n,response:{results:[]}}}}}function Vh({result:e,kind:t},n,r){return n instanceof ne?null:n===null?e.failure===void 0?null:{of:`batch`,action:t===`undo`?r.undoFailed:r.notChanged(e.failure.rest.tasks.length),error:e.failure.error}:{of:`undo`,action:r.undoFailed,error:n}}function Hh(e){return{tasks:e.map(({id:e,version:t})=>({id:e,version:t})),action:{kind:`restore`,changes:Object.fromEntries(e.map(({id:e,previous:t})=>[e,t]))}}}var Uh={anchor:`_anchor_1ryjo_1`,panel:`_panel_1ryjo_8`,above:`_above_1ryjo_25`,fitContent:`_fitContent_1ryjo_30`},Wh=`/home/runner/work/p-backlog/p-backlog/src/web/ui/Popover.tsx`,Gh=`data-popover-focus`,Kh=`--viewport-margin`,qh={[Gh]:``},Jh=(0,E.createContext)(null);function Yh(){let e=(0,E.useContext)(Jh);if(e===null)throw Error(`useClosePopover called outside Popover`);return e}function Xh({trigger:e,triggerProps:t,triggerRef:n,placement:r=`below`,width:i=`wide`,busy:a=!1,children:o}){let[s,c]=(0,E.useState)(!1),l=(0,E.useId)(),u=(0,E.useId)(),d=(0,E.useRef)(null),f=Zh(s),p=(0,E.useRef)(null),m=n??p,h=Fn(m,f,s),g=(0,E.useCallback)(()=>{h(),c(!1)},[h]);return(0,E.useEffect)(()=>{if(!s)return;let e=e=>{e.target instanceof Node&&d.current?.contains(e.target)||c(!1)},t=e=>{e.target instanceof Node&&d.current&&(d.current.contains(e.target)||e.target.contains(d.current)||c(!1))};return document.addEventListener(`pointerdown`,e),document.addEventListener(`focusin`,t),()=>{document.removeEventListener(`pointerdown`,e),document.removeEventListener(`focusin`,t)}},[s]),(0,E.useEffect)(()=>{if(!s)return;let e=e=>{e.key===`Escape`&&(e.stopPropagation(),g())};return document.addEventListener(`keydown`,e,!0),()=>document.removeEventListener(`keydown`,e,!0)},[s,g]),(0,D.jsxDEV)(`div`,{ref:d,className:Uh.anchor,children:[(0,D.jsxDEV)(an,{...t,id:l,ref:m,busy:a,"aria-expanded":s,"aria-controls":s?u:void 0,onClick:()=>c(!s),children:e},void 0,!1,{fileName:Wh,lineNumber:78,columnNumber:7},this),s&&(0,D.jsxDEV)(`div`,{ref:f,id:u,role:`group`,"aria-labelledby":l,className:C(Uh.panel,r===`above`&&Uh.above,i===`content`&&Uh.fitContent),children:(0,D.jsxDEV)(Jh,{value:g,children:o},void 0,!1,{fileName:Wh,lineNumber:83,columnNumber:11},this)},void 0,!1,{fileName:Wh,lineNumber:82,columnNumber:9},this)]},void 0,!0,{fileName:Wh,lineNumber:77,columnNumber:5},this)}function Zh(e){let t=(0,E.useRef)(null);return(0,E.useLayoutEffect)(()=>{if(!e)return;let n=t.current;if(!n)return;let r=Number.parseFloat(getComputedStyle(n).getPropertyValue(Kh)),i=n.getBoundingClientRect().right-(document.documentElement.clientWidth-r);n.style.transform=i>0?`translateX(-${i}px)`:``,n.scrollIntoView({block:`nearest`}),n.querySelector(`[${Gh}]`)?.focus({preventScroll:!0})},[e]),t}var Qh={options:`_options_wju8p_1`,option:`_option_wju8p_1`,pressed:`_pressed_wju8p_36`},$h=`/home/runner/work/p-backlog/p-backlog/src/web/ui/Menu.tsx`;function eg({label:e,children:t}){return(0,D.jsxDEV)(`div`,{className:Qh.options,role:e===void 0?void 0:`group`,"aria-label":e,children:t},void 0,!1,{fileName:$h,lineNumber:8,columnNumber:5},this)}function tg({pressed:e,initialFocus:t=e,onChoose:n,children:r}){return(0,D.jsxDEV)(`button`,{type:`button`,className:C(Qh.option,e===!0&&Qh.pressed),"aria-pressed":e,...t===!0?qh:{},onClick:n,children:r},void 0,!1,{fileName:$h,lineNumber:23,columnNumber:5},this)}function ng(e,t){let n=l(e.flatMap(e=>e.epic??[]),e=>e);return{epics:e.filter(e=>e.type===`epic`).sort((e,t)=>re(e.id,t.id)).map(e=>({id:e.id,title:e.title,tone:Or(e,t),taskCount:n.get(e.id)??0})),withoutEpicCount:e.filter(e=>e.epic===void 0).length}}var rg={dot:`_dot_21icd_1`,title:`_title_21icd_9`,count:`_count_21icd_14`},ig=`/home/runner/work/p-backlog/p-backlog/src/web/list/EpicLabel.tsx`;function ag({tone:e}){return(0,D.jsxDEV)(`span`,{className:rg.dot,"data-epic-tone":e,"aria-hidden":`true`},void 0,!1,{fileName:ig,lineNumber:6,columnNumber:10},this)}function og({count:e}){return(0,D.jsxDEV)(`span`,{className:rg.count,children:e},void 0,!1,{fileName:ig,lineNumber:10,columnNumber:10},this)}function sg({id:e,title:t,tone:n,count:r}){return(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(ag,{tone:n},void 0,!1,{fileName:ig,lineNumber:16,columnNumber:7},this),(0,D.jsxDEV)(Xr,{id:e,muted:!0},void 0,!1,{fileName:ig,lineNumber:17,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:rg.title,children:t},void 0,!1,{fileName:ig,lineNumber:18,columnNumber:7},this),r!==void 0&&(0,D.jsxDEV)(og,{count:r},void 0,!1,{fileName:ig,lineNumber:19,columnNumber:31},this)]},void 0,!0,{fileName:ig,lineNumber:15,columnNumber:5},this)}var cg={hidden:`_hidden_6xv1q_1`,actions:`_actions_6xv1q_6`,unavailable:`_unavailable_6xv1q_14`,hint:`_hint_6xv1q_20`},z=`/home/runner/work/p-backlog/p-backlog/src/web/list/BulkActions.tsx`;function lg({selection:e,onDone:t}){let{list:n}=_(),{tasks:r,tones:i}=lr(),o=(0,E.useRef)(null),s=he(),c=Dh(),l=(0,E.useMemo)(()=>r.filter(t=>e.selected.has(t.id)).sort((e,t)=>re(e.id,t.id)),[r,e.selected]),u=(0,E.useMemo)(()=>fg(l,r,i),[l,r,i]),d=l.length>0,{isPending:f,reset:p}=s;return(0,E.useEffect)(()=>{!d&&!f&&p()},[d,f,p]),(0,E.useEffect)(()=>{if(!d)return;let e=e=>{Th(e)&&!hg(e.target)&&(e.preventDefault(),o.current?.focus())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[d]),(0,D.jsxDEV)(`section`,{className:d?Ph.panel:void 0,"aria-label":d?n.selectionActions:void 0,children:[(0,D.jsxDEV)(`p`,{className:Ph.headline,role:`status`,children:[d&&n.selectedCount(l.length),d&&e.hiddenCount>0&&(0,D.jsxDEV)(`span`,{className:cg.hidden,children:[` `,n.hiddenByFilter(e.hiddenCount)]},void 0,!0,{fileName:z,lineNumber:69,columnNumber:48},this)]},void 0,!0,{fileName:z,lineNumber:67,columnNumber:7},this),d&&(0,D.jsxDEV)(ug,{firstAction:o,chosen:l,assignableEpics:u,busy:f,onRun:e=>{if(f)return;let n=a(l,e);s.mutate(n,{onSuccess:e=>t({request:n,response:e}),onError:e=>{let r=kh(n,e);r&&t(r)}})},onClear:e.clear},void 0,!1,{fileName:z,lineNumber:71,columnNumber:17},this),d&&c&&(0,D.jsxDEV)(`p`,{className:cg.hint,children:n.toActionsHint(wh())},void 0,!1,{fileName:z,lineNumber:72,columnNumber:34},this),d&&(0,D.jsxDEV)(dn,{className:Ph.error,action:n.bulkFailed,error:s.error},void 0,!1,{fileName:z,lineNumber:73,columnNumber:17},this)]},void 0,!0,{fileName:z,lineNumber:66,columnNumber:5},this)}function ug({firstAction:e,chosen:t,assignableEpics:n,busy:r,onRun:i,onClear:a}){let{list:o,core:s}=_(),[c,l]=(0,E.useState)(!1);return(0,D.jsxDEV)(`div`,{className:cg.actions,children:[(0,D.jsxDEV)(an,{ref:e,busy:r,"aria-keyshortcuts":Ch,onClick:()=>l(!0),children:o.closeAsObsolete},void 0,!1,{fileName:z,lineNumber:93,columnNumber:7},this),(0,D.jsxDEV)(Xh,{trigger:o.priority,placement:`above`,width:`content`,busy:r,children:(0,D.jsxDEV)(dg,{onChoose:e=>i({kind:`priority`,priority:e})},void 0,!1,{fileName:z,lineNumber:97,columnNumber:9},this)},void 0,!1,{fileName:z,lineNumber:96,columnNumber:7},this),(0,D.jsxDEV)(pg,{epics:n,busy:r,onChoose:e=>i({kind:`epic`,epic:e})},void 0,!1,{fileName:z,lineNumber:99,columnNumber:7},this),(0,D.jsxDEV)(an,{onClick:a,children:o.clearSelection},void 0,!1,{fileName:z,lineNumber:100,columnNumber:7},this),(0,D.jsxDEV)(zn,{open:c,returnFocusTo:e,title:o.closeDialogTitle(t.length),description:o.closeDialogDescription(s.statusLabel(`cancelled`)),fieldLabel:o.closeReason,canConfirm:e=>e.trim()!==``,confirmLabel:o.closeConfirm(t.length),onCancel:()=>l(!1),onConfirm:e=>{l(!1),i({kind:`close`,reason:e.trim()})}},void 0,!1,{fileName:z,lineNumber:101,columnNumber:7},this)]},void 0,!0,{fileName:z,lineNumber:92,columnNumber:5},this)}function dg({onChoose:e}){let{core:t}=_(),n=Yh();return(0,D.jsxDEV)(eg,{children:f.map((r,i)=>(0,D.jsxDEV)(tg,{initialFocus:i===0,onChoose:()=>{n(),e(r)},children:t.priorityLabel(r)},r,!1,{fileName:z,lineNumber:125,columnNumber:9},this))},void 0,!1,{fileName:z,lineNumber:123,columnNumber:5},this)}function fg(e,t,n){let r=new Set(e.map(e=>e.projectId));return r.size>1?null:ng(t.filter(e=>r.has(e.projectId)),n).epics}function pg({epics:e,busy:t,onChoose:n}){let{list:r}=_(),i=(0,E.useId)();return e===null?(0,D.jsxDEV)(`span`,{className:cg.unavailable,children:[(0,D.jsxDEV)(an,{unavailable:!0,"aria-describedby":i,children:r.epic},void 0,!1,{fileName:z,lineNumber:157,columnNumber:9},this),(0,D.jsxDEV)(`span`,{id:i,className:cg.hint,children:r.mixedProjects},void 0,!1,{fileName:z,lineNumber:160,columnNumber:9},this)]},void 0,!0,{fileName:z,lineNumber:156,columnNumber:7},this):(0,D.jsxDEV)(Xh,{trigger:r.epic,placement:`above`,width:`content`,busy:t,children:(0,D.jsxDEV)(mg,{epics:e,onChoose:n},void 0,!1,{fileName:z,lineNumber:168,columnNumber:7},this)},void 0,!1,{fileName:z,lineNumber:167,columnNumber:5},this)}function mg({epics:e,onChoose:t}){let{list:n}=_(),r=Yh(),i=e=>{r(),t(e)};return(0,D.jsxDEV)(eg,{children:[(0,D.jsxDEV)(tg,{initialFocus:!0,onChoose:()=>i(null),children:n.removeFromEpic},void 0,!1,{fileName:z,lineNumber:182,columnNumber:7},this),e.map(e=>(0,D.jsxDEV)(tg,{onChoose:()=>i(e.id),children:(0,D.jsxDEV)(sg,{id:e.id,title:e.title,tone:e.tone,count:e.taskCount},void 0,!1,{fileName:z,lineNumber:187,columnNumber:11},this)},e.id,!1,{fileName:z,lineNumber:186,columnNumber:9},this))]},void 0,!0,{fileName:z,lineNumber:181,columnNumber:5},this)}function hg(e){return e instanceof Element&&e.matches(`input:not([type=checkbox]), textarea, select, [contenteditable]`)}var gg={footer:`_footer_q8i88_1`},_g=`/home/runner/work/p-backlog/p-backlog/src/web/list/ListFooter.tsx`;function vg({selection:e}){let t=Oh(),n=(0,E.useRef)(null);return sh(n,`--list-footer-height`),(0,D.jsxDEV)(`div`,{ref:n,className:gg.footer,children:[(0,D.jsxDEV)(Lh,{result:t.result,noticeId:t.noticeId,onResult:t.show},void 0,!1,{fileName:_g,lineNumber:16,columnNumber:7},this),(0,D.jsxDEV)(lg,{selection:e,onDone:n=>{e.clear(),t.show(n)}},void 0,!1,{fileName:_g,lineNumber:17,columnNumber:7},this)]},void 0,!0,{fileName:_g,lineNumber:15,columnNumber:5},this)}var yg=te.filter(e=>!oe(e)),bg=[`in-progress`,`blocked`,`backlog`,`done`,`cancelled`],xg=[`created`,`closed`,`priority`,`progress`,`title`,`status`,`id`],Sg=`ё`,Cg=`е`;function wg(e){return e.toLowerCase().replaceAll(Sg,Cg)}function Tg(e,t){let n=wg(`${e.id}\n${e.title}\n${e.body}`);return wg(t).split(/\s+/).filter(Boolean).every(e=>n.includes(e))}function Eg(e,t,n){let i=(t.tags??[]).map(r);return e.filter(e=>(t.projectId===void 0||e.projectId===t.projectId)&&(t.query===void 0||Tg(e,t.query))&&Mg(t.statuses,e.status)&&Mg(t.priorities,e.priority)&&i.every(t=>e.tags.includes(t))&&jg(e,t.epic)&&(t.type===void 0||e.type===t.type)&&(!t.onlyUnblocked||!ce(e,n)))}function Dg(e,t,{index:n,closedInWeb:r}){let i=Eg(e,t,n);return t.onlyAutoClosed?i.filter(e=>kg(e,r)):i}function Og(t,n,r,i){let a=n.direction===`asc`?1:-1,o=new Map(t.map(t=>[t.id,e(t,r)])),s=(e,t)=>{switch(n.key){case`created`:return a*(Date.parse(e.created)-Date.parse(t.created));case`priority`:return a*(Ag(e.priority)-Ag(t.priority));case`status`:return a*(bg.indexOf(e.status)-bg.indexOf(t.status));case`title`:return a*e.title.localeCompare(t.title,Et(i));case`progress`:return Pg(o.get(e.id)??null,o.get(t.id)??null,a);case`id`:return a*re(e.id,t.id);case`closed`:return Pg(Ng(e),Ng(t),a)}};return[...t].sort((e,t)=>s(e,t)||re(e.id,t.id))}function kg(e,t){return e.resolution!==void 0&&!t.has(e.id)}function Ag(e){return f.indexOf(e)}function jg(e,t){return t===void 0?!0:t===null?e.epic===void 0:e.epic===t}function Mg(e,t){return e===void 0||e.includes(t)}function Ng(e){return e.closed===void 0?null:Date.parse(e.closed)}function Pg(e,t,n){return e===null&&t===null?0:e===null?1:t===null?-1:n*(e-t)}var Fg={key:`created`,direction:`desc`},Ig={statuses:yg},Lg=`none`,Rg=`all`,zg={filter:{statuses:[`done`,`cancelled`],onlyAutoClosed:!0},sort:{key:`closed`,direction:`desc`}},Bg=[`asc`,`desc`],Vg={created:`desc`,closed:`desc`,priority:`desc`,progress:`desc`,title:`asc`,status:`asc`,id:`asc`};function Hg(e,t){return e.key===t?Ug(e):{key:t,direction:Vg[t]}}function Ug(e){return{...e,direction:e.direction===`asc`?`desc`:`asc`}}function Wg(e){let t=e.statuses??[];return t.length>0&&t.every(oe)?`closed`:`created`}function Gg(e,t){return(e.key===`created`||e.key===`closed`)&&e.key!==t?{...e,key:t}:e}function Kg(e){return{filter:{query:e.get(`q`)??void 0,statuses:t_(e.get(`status`)),priorities:i_(e.get(`priority`),f),tags:n_(e.get(`tag`)),epic:r_(e.get(`epic`)),type:a_(e.get(`type`),st),onlyUnblocked:e.get(`unblocked`)===`1`||void 0,onlyAutoClosed:e.get(`auto`)===`1`||void 0},sort:{key:a_(e.get(`sort`),xg)??Fg.key,direction:a_(e.get(`dir`),Bg)??Fg.direction}}}var qg=[`list`,`board`],Jg=`view`,Yg=`board`;function Xg(e){return e.get(Jg)===Yg?Yg:`list`}function Zg(e,t){let n=new URLSearchParams(e);return t===Yg?n.set(Jg,Yg):n.delete(Jg),n}function Qg(e){return $g(e)===$g(Ig)}function $g(e){return e_({filter:e,sort:Fg}).toString()}function e_({filter:e,sort:t}){let n=new URLSearchParams;return e.query&&n.set(`q`,e.query),e.statuses===void 0?n.set(`status`,Rg):e.statuses.length===0?n.set(`status`,``):s_(e.statuses,yg)||n.set(`status`,e.statuses.join(`,`)),e.priorities?.length&&n.set(`priority`,e.priorities.join(`,`)),e.tags?.length&&n.set(`tag`,e.tags.join(`,`)),e.epic!==void 0&&n.set(`epic`,e.epic??Lg),e.type&&n.set(`type`,e.type),e.onlyUnblocked&&n.set(`unblocked`,`1`),e.onlyAutoClosed&&n.set(`auto`,`1`),t.key!==Fg.key&&n.set(`sort`,t.key),t.direction!==Fg.direction&&n.set(`dir`,t.direction),n}function t_(e){if(e===null)return yg;if(e!==Rg)return e===``?[]:i_(e,te)??yg}function n_(e){let t=o_(e);return t.length>0?t:void 0}function r_(e){if(e!==null)return e===Lg?null:e}function i_(e,t){let n=o_(e).filter(e=>t.includes(e));return n.length>0?n:void 0}function a_(e,t){return t.find(t=>t===e)}function o_(e){return(e??``).split(`,`).map(e=>e.trim()).filter(Boolean)}function s_(e,t){return e.length===t.length&&e.every(e=>t.includes(e))}var c_={switch:`_switch_11y9q_1`,option:`_option_11y9q_10`,current:`_current_11y9q_33`},l_=`/home/runner/work/p-backlog/p-backlog/src/web/list/LayoutSwitch.tsx`;function u_({layout:e,onChange:t}){let{list:n}=_();return(0,D.jsxDEV)(`div`,{className:c_.switch,role:`group`,"aria-label":n.viewSwitch,children:qg.map(r=>{let i=r===e;return(0,D.jsxDEV)(`button`,{type:`button`,className:C(c_.option,i&&c_.current),"aria-pressed":i,onClick:i?void 0:()=>t(r),children:[r===`board`?(0,D.jsxDEV)(f_,{},void 0,!1,{fileName:l_,lineNumber:14,columnNumber:35},this):(0,D.jsxDEV)(d_,{},void 0,!1,{fileName:l_,lineNumber:14,columnNumber:51},this),r===`board`?n.boardView:n.listView]},r,!0,{fileName:l_,lineNumber:13,columnNumber:11},this)})},void 0,!1,{fileName:l_,lineNumber:9,columnNumber:5},this)}function d_(){return(0,D.jsxDEV)(`svg`,{viewBox:`0 0 16 16`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,"aria-hidden":`true`,children:(0,D.jsxDEV)(`path`,{d:`M2.5 4h11M2.5 8h11M2.5 12h11`},void 0,!1,{fileName:l_,lineNumber:26,columnNumber:7},this)},void 0,!1,{fileName:l_,lineNumber:25,columnNumber:5},this)}function f_(){return(0,D.jsxDEV)(`svg`,{viewBox:`0 0 16 16`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,D.jsxDEV)(`rect`,{x:`2`,y:`2.5`,width:`3.5`,height:`11`,rx:`1`},void 0,!1,{fileName:l_,lineNumber:34,columnNumber:7},this),(0,D.jsxDEV)(`rect`,{x:`6.25`,y:`2.5`,width:`3.5`,height:`7.5`,rx:`1`},void 0,!1,{fileName:l_,lineNumber:35,columnNumber:7},this),(0,D.jsxDEV)(`rect`,{x:`10.5`,y:`2.5`,width:`3.5`,height:`9.5`,rx:`1`},void 0,!1,{fileName:l_,lineNumber:36,columnNumber:7},this)]},void 0,!0,{fileName:l_,lineNumber:33,columnNumber:5},this)}var p_={chip:`_chip_119i6_1`,static:`_static_119i6_16`,pressed:`_pressed_119i6_27`,label:`_label_119i6_38`,text:`_text_119i6_42`},m_=`/home/runner/work/p-backlog/p-backlog/src/web/ui/Chip.tsx`;function h_({pressed:e,unavailable:t=!1,onToggle:n,children:r}){return(0,D.jsxDEV)(`button`,{type:`button`,className:C(p_.chip,e&&p_.pressed),"aria-pressed":e,"aria-disabled":t||void 0,onClick:t?void 0:n,children:(0,D.jsxDEV)(__,{children:r},void 0,!1,{fileName:m_,lineNumber:10,columnNumber:7},this)},void 0,!1,{fileName:m_,lineNumber:9,columnNumber:5},this)}function g_({children:e}){return(0,D.jsxDEV)(`span`,{className:C(p_.chip,p_.static),children:(0,D.jsxDEV)(__,{children:e},void 0,!1,{fileName:m_,lineNumber:18,columnNumber:7},this)},void 0,!1,{fileName:m_,lineNumber:17,columnNumber:5},this)}function __({children:e}){return(0,D.jsxDEV)(`span`,{className:p_.label,"data-bold-width":v_(e),children:(0,D.jsxDEV)(`span`,{className:p_.text,children:e},void 0,!1,{fileName:m_,lineNumber:26,columnNumber:7},this)},void 0,!1,{fileName:m_,lineNumber:25,columnNumber:5},this)}function v_(e){return typeof e==`string`||typeof e==`number`?String(e):Array.isArray(e)?e.map(v_).join(``):(0,E.isValidElement)(e)?v_(e.props.children):``}var y_=`/home/runner/work/p-backlog/p-backlog/src/web/ui/TagChip.tsx`;function b_({tag:e,pressed:t,onToggle:n}){return(0,D.jsxDEV)(h_,{pressed:t,onToggle:n,children:Dn(e)},void 0,!1,{fileName:y_,lineNumber:6,columnNumber:5},this)}function x_({tag:e}){return(0,D.jsxDEV)(g_,{children:Dn(e)},void 0,!1,{fileName:y_,lineNumber:13,columnNumber:10},this)}function S_(e,t){return e.includes(t)?e.filter(e=>e!==t):[...e,t]}function C_(e,t){let n=S_(e??[],t);return n.length>0?n:void 0}function w_(e,t){return{...e,filter:{...e.filter,tags:C_(e.filter.tags,t)}}}var T_={selection:`_selection_jabq4_1`,toggle:`_toggle_jabq4_11`,chosenTitle:`_chosenTitle_jabq4_19`,epics:`_epics_jabq4_25`},E_=`/home/runner/work/p-backlog/p-backlog/src/web/list/EpicPicker.tsx`;function D_({choices:e,selected:t,onSelect:n}){let{list:r}=_(),i=(0,E.useRef)(null),a=e.epics.find(e=>e.id===t);return(0,D.jsxDEV)(`div`,{className:T_.selection,children:[(0,D.jsxDEV)(Xh,{triggerRef:i,triggerProps:{className:T_.toggle,"aria-label":a===void 0?void 0:r.epicPrefix(a.title),title:a===void 0?void 0:r.epicTitle(a.id,a.title)},trigger:a===void 0?r.epicPrefix(k_(r,t)):(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(ag,{tone:a.tone},void 0,!1,{fileName:E_,lineNumber:37,columnNumber:15},this),(0,D.jsxDEV)(`span`,{className:T_.chosenTitle,children:a.title},void 0,!1,{fileName:E_,lineNumber:38,columnNumber:15},this)]},void 0,!0,{fileName:E_,lineNumber:36,columnNumber:13},this),children:(0,D.jsxDEV)(O_,{choices:e,selected:t,onSelect:n},void 0,!1,{fileName:E_,lineNumber:43,columnNumber:9},this)},void 0,!1,{fileName:E_,lineNumber:25,columnNumber:7},this),t!==void 0&&(0,D.jsxDEV)(jn,{label:r.resetEpic,onClick:()=>{n(void 0),i.current?.focus()},children:(0,D.jsxDEV)(Ir,{},void 0,!1,{fileName:E_,lineNumber:53,columnNumber:11},this)},void 0,!1,{fileName:E_,lineNumber:46,columnNumber:9},this)]},void 0,!0,{fileName:E_,lineNumber:24,columnNumber:5},this)}function O_({choices:e,selected:t,onSelect:n}){let{list:r}=_(),{index:i}=lr(),a=Yh(),o=e=>{n(e),a()},s=typeof t==`string`&&!e.epics.some(e=>e.id===t)?t:void 0;return(0,D.jsxDEV)(eg,{label:r.epics,children:[(0,D.jsxDEV)(tg,{pressed:t===void 0,onChoose:()=>o(void 0),children:r.anyEpic},void 0,!1,{fileName:E_,lineNumber:72,columnNumber:7},this),(0,D.jsxDEV)(tg,{pressed:t===null,onChoose:()=>o(null),children:[r.noEpic,` `,(0,D.jsxDEV)(og,{count:e.withoutEpicCount},void 0,!1,{fileName:E_,lineNumber:76,columnNumber:23},this)]},void 0,!0,{fileName:E_,lineNumber:75,columnNumber:7},this),(e.epics.length>0||s!==void 0)&&(0,D.jsxDEV)(`div`,{className:T_.epics,children:[s!==void 0&&(0,D.jsxDEV)(tg,{pressed:!0,onChoose:()=>o(s),children:(0,D.jsxDEV)(sg,{id:s,title:i.notLoaded.has(s)?r.epicNotLoaded:r.epicNotFound,tone:void 0},void 0,!1,{fileName:E_,lineNumber:82,columnNumber:15},this)},void 0,!1,{fileName:E_,lineNumber:81,columnNumber:13},this),e.epics.map(e=>(0,D.jsxDEV)(tg,{pressed:t===e.id,onChoose:()=>o(e.id),children:(0,D.jsxDEV)(sg,{id:e.id,title:e.title,tone:e.tone,count:e.taskCount},void 0,!1,{fileName:E_,lineNumber:87,columnNumber:15},this)},e.id,!1,{fileName:E_,lineNumber:86,columnNumber:13},this))]},void 0,!0,{fileName:E_,lineNumber:79,columnNumber:9},this)]},void 0,!0,{fileName:E_,lineNumber:71,columnNumber:5},this)}function k_(e,t){return t===void 0?e.anyEpicLabel:t===null?e.noEpicLabel:t}var A_={toolbar:`_toolbar_x94um_1`,line:`_line_x94um_11`,search:`_search_x94um_18`,group:`_group_x94um_23`,tagPicker:`_tagPicker_x94um_30`,tagSearch:`_tagSearch_x94um_38`,tagOptions:`_tagOptions_x94um_43`,count:`_count_x94um_55`},j_=`/home/runner/work/p-backlog/p-backlog/src/web/list/Toolbar.tsx`;function M_({params:e,onChange:t,tags:n,epicChoices:r,autoClosedCount:i}){let{list:a,core:o}=_(),{filter:s}=e,c=s.statuses??te,l=n=>t({...e,filter:{...s,...n}}),u=c.length===1?c[0]:void 0,d=r.epics.length>0||s.epic!==void 0,p=(0,E.useRef)(null),m=(0,E.useRef)(null);return N_(d,()=>p.current?.querySelector(`button`)??m.current),(0,D.jsxDEV)(`div`,{className:A_.toolbar,children:[(0,D.jsxDEV)(`div`,{className:A_.line,children:(0,D.jsxDEV)(P_,{ref:m,query:s.query??``,onChange:e=>l({query:e||void 0})},void 0,!1,{fileName:j_,lineNumber:42,columnNumber:9},this)},void 0,!1,{fileName:j_,lineNumber:41,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:A_.line,children:[(0,D.jsxDEV)(`div`,{className:A_.group,role:`group`,"aria-label":a.status,children:te.map(e=>(0,D.jsxDEV)(h_,{pressed:c.includes(e),unavailable:e===u,onToggle:()=>l({statuses:L_(S_(c,e))}),children:o.statusLabel(e)},e,!1,{fileName:j_,lineNumber:48,columnNumber:13},this))},void 0,!1,{fileName:j_,lineNumber:46,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:A_.group,role:`group`,"aria-label":a.priority,children:f.map(e=>(0,D.jsxDEV)(h_,{pressed:s.priorities?.includes(e)??!1,onToggle:()=>l({priorities:C_(s.priorities,e)}),children:o.priorityLabel(e)},e,!1,{fileName:j_,lineNumber:55,columnNumber:13},this))},void 0,!1,{fileName:j_,lineNumber:53,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:A_.group,role:`group`,"aria-label":a.type,children:[st.map(e=>(0,D.jsxDEV)(h_,{pressed:s.type===e,onToggle:()=>l({type:s.type===e?void 0:e}),children:o.typeLabel(e)},e,!1,{fileName:j_,lineNumber:62,columnNumber:13},this)),(0,D.jsxDEV)(h_,{pressed:s.onlyUnblocked===!0,onToggle:()=>l({onlyUnblocked:!s.onlyUnblocked||void 0}),children:a.withoutBlockers},void 0,!1,{fileName:j_,lineNumber:66,columnNumber:11},this),(0,D.jsxDEV)(h_,{pressed:s.onlyAutoClosed===!0,onToggle:()=>{s.onlyAutoClosed?l({onlyAutoClosed:void 0}):t({filter:{...s,...zg.filter},sort:zg.sort})},children:[a.autoClosedChip,` `,(0,D.jsxDEV)(`span`,{className:A_.count,children:i},void 0,!1,{fileName:j_,lineNumber:70,columnNumber:35},this)]},void 0,!0,{fileName:j_,lineNumber:69,columnNumber:11},this)]},void 0,!0,{fileName:j_,lineNumber:60,columnNumber:9},this)]},void 0,!0,{fileName:j_,lineNumber:45,columnNumber:7},this),(d||n.length>0)&&(0,D.jsxDEV)(`div`,{ref:p,className:A_.line,role:`group`,"aria-label":a.epicAndTags,children:[d&&(0,D.jsxDEV)(D_,{choices:r,selected:s.epic,onSelect:e=>l({epic:e})},void 0,!1,{fileName:j_,lineNumber:77,columnNumber:30},this),n.length>0&&(0,D.jsxDEV)(F_,{tags:n,selected:s.tags??[],onToggle:n=>t(w_(e,n))},void 0,!1,{fileName:j_,lineNumber:78,columnNumber:31},this)]},void 0,!0,{fileName:j_,lineNumber:76,columnNumber:9},this)]},void 0,!0,{fileName:j_,lineNumber:40,columnNumber:5},this)}function N_(e,t){let n=(0,E.useRef)(e);(0,E.useEffect)(()=>{let r=n.current&&!e;n.current=e,r&&Mn()&&t()?.focus()})}function P_({ref:e,query:t,onChange:n}){let{list:r}=_(),[i,a]=(0,E.useState)(),[o,s]=(0,E.useState)(t);return t!==o&&(s(t),i!==void 0&&a(I_(i,t))),(0,D.jsxDEV)(`input`,{ref:e,type:`search`,className:A_.search,value:i?.text??t,placeholder:r.searchPlaceholder,"aria-label":r.searchLabel,onFocus:()=>a({text:t,awaitingEcho:[]}),onBlur:()=>a(void 0),onChange:e=>{let t=e.target.value;a(e=>({text:t,awaitingEcho:[...e?.awaitingEcho??[],t]})),n(t)}},void 0,!1,{fileName:j_,lineNumber:106,columnNumber:5},this)}function F_({tags:e,selected:t,onToggle:n}){let{list:r}=_(),[i,a]=(0,E.useState)(``),o=wg(i.trim()),s=t.length===0?r.tagsSummary(e.length):r.tagsSummarySelected(e.length,t.length);return(0,D.jsxDEV)(`div`,{className:A_.tagPicker,children:[(0,D.jsxDEV)(Xh,{trigger:s,children:[(0,D.jsxDEV)(`input`,{type:`search`,...qh,className:A_.tagSearch,value:i,placeholder:r.findTag,"aria-label":r.findTag,onChange:e=>a(e.target.value)},void 0,!1,{fileName:j_,lineNumber:133,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:A_.tagOptions,role:`group`,"aria-label":r.tags,children:e.filter(e=>wg(e).includes(o)).map(e=>(0,D.jsxDEV)(b_,{tag:e,pressed:t.includes(e),onToggle:()=>n(e)},e,!1,{fileName:j_,lineNumber:138,columnNumber:15},this))},void 0,!1,{fileName:j_,lineNumber:134,columnNumber:9},this)]},void 0,!0,{fileName:j_,lineNumber:132,columnNumber:7},this),t.map(e=>(0,D.jsxDEV)(b_,{tag:e,pressed:!0,onToggle:()=>n(e)},e,!1,{fileName:j_,lineNumber:143,columnNumber:9},this))]},void 0,!0,{fileName:j_,lineNumber:131,columnNumber:5},this)}function I_(e,t){let n=e.awaitingEcho.indexOf(t);return n===-1?{text:t,awaitingEcho:[]}:{text:e.text,awaitingEcho:e.awaitingEcho.slice(n+1)}}function L_(e){return e.length===te.length?void 0:e}var R_={low:`_low_vq6it_1`,medium:`_medium_vq6it_5`,high:`_high_vq6it_9`,critical:`_critical_vq6it_13`},z_=`/home/runner/work/p-backlog/p-backlog/src/web/ui/PriorityLabel.tsx`,B_={low:R_.low,medium:R_.medium,high:R_.high,critical:R_.critical};function V_({priority:e}){let{core:t}=_();return(0,D.jsxDEV)(`span`,{className:B_[e],children:t.priorityLabel(e)},void 0,!1,{fileName:z_,lineNumber:14,columnNumber:10},this)}var H_=`/home/runner/work/p-backlog/p-backlog/src/web/list/BlockedMarker.tsx`;function U_({task:e,className:t}){let{list:n}=_(),{index:r}=lr();return e.status===`blocked`||!ce(e,r)?null:(0,D.jsxDEV)(`span`,{className:t,title:n.blockedTitle,children:n.blockedBadge},void 0,!1,{fileName:H_,lineNumber:11,columnNumber:5},this)}var W_=`data-task-id`,G_=e=>({[W_]:e});function K_(e,t){return e?.querySelector(`[${W_}="${CSS.escape(t)}"]`)??null}function q_(e,t){(0,E.useEffect)(()=>{t!==void 0&&K_(e.current,t)?.scrollIntoView({block:`nearest`})},[e,t])}function J_({tagWidths:e,moreWidth:t,gap:n,available:r}){for(let i=e.length;i>0;--i){let a=wt(e.slice(0,i))+n*(i-1);if((i<e.length?a+n+t:a)<=r)return i}return 0}var Y_={cell:`_cell_km0zz_1`,more:`_more_km0zz_16`,ruler:`_ruler_km0zz_35`,rulerTags:`_rulerTags_km0zz_44`},X_=`/home/runner/work/p-backlog/p-backlog/src/web/list/TagCell.tsx`;function Z_({tags:e,selected:t,onToggle:n}){let{list:r}=_(),i=(0,E.useRef)(null),a=(0,E.useRef)(null),o=(0,E.useRef)(null),[s,c]=(0,E.useState)(e.length),[l,u]=(0,E.useState)(!1);if((0,E.useLayoutEffect)(()=>{let e=i.current,t=a.current,n=o.current;if(!e||!t||!n)return;let r=()=>{let r=[...t.children].map(e=>e.getBoundingClientRect().width),i=n.getBoundingClientRect().width,a=Number.parseFloat(getComputedStyle(e).columnGap)||0;c(J_({tagWidths:r,moreWidth:i,gap:a,available:e.clientWidth}))};r();let s=new ResizeObserver(r);return s.observe(e),()=>s.disconnect()},[e]),e.length===0)return(0,D.jsxDEV)(`div`,{ref:i,className:Y_.cell},void 0,!1,{fileName:X_,lineNumber:35,columnNumber:33},this);let d=l?e:e.slice(0,s),f=e.length-s;return(0,D.jsxDEV)(`div`,{ref:i,className:Y_.cell,children:[d.map(e=>(0,D.jsxDEV)(b_,{tag:e,pressed:t.includes(e),onToggle:()=>n(e)},e,!1,{fileName:X_,lineNumber:43,columnNumber:9},this)),l?(0,D.jsxDEV)(`button`,{type:`button`,className:Y_.more,onClick:()=>u(!1),"aria-expanded":!0,children:r.collapseTags},void 0,!1,{fileName:X_,lineNumber:46,columnNumber:9},this):f>0&&(0,D.jsxDEV)(`button`,{type:`button`,className:Y_.more,onClick:()=>u(!0),"aria-expanded":!1,"aria-label":r.showMoreTags(f),title:e.join(`, `),children:[`+`,f]},void 0,!0,{fileName:X_,lineNumber:51,columnNumber:11},this),(0,D.jsxDEV)(`div`,{className:Y_.ruler,"aria-hidden":`true`,children:[(0,D.jsxDEV)(`span`,{ref:a,className:Y_.rulerTags,children:e.map(e=>(0,D.jsxDEV)(x_,{tag:e},e,!1,{fileName:X_,lineNumber:59,columnNumber:13},this))},void 0,!1,{fileName:X_,lineNumber:57,columnNumber:9},this),(0,D.jsxDEV)(`span`,{ref:o,children:(0,D.jsxDEV)(g_,{children:[`+`,e.length]},void 0,!0,{fileName:X_,lineNumber:63,columnNumber:11},this)},void 0,!1,{fileName:X_,lineNumber:62,columnNumber:9},this)]},void 0,!0,{fileName:X_,lineNumber:56,columnNumber:7},this)]},void 0,!0,{fileName:X_,lineNumber:41,columnNumber:5},this)}var Q_={table:`_table_1hl28_1`,pick:`_pick_1hl28_27`,pickTarget:`_pickTarget_1hl28_32`,sortButton:`_sortButton_1hl28_49`,sorted:`_sorted_1hl28_67`,sortMark:`_sortMark_1hl28_71`,opened:`_opened_1hl28_75`,row:`_row_1hl28_80`,title:`_title_1hl28_90`,newBadge:`_newBadge_1hl28_103`,marker:`_marker_1hl28_115`,epicMarker:`_epicMarker_1hl28_130`,priorityCell:`_priorityCell_1hl28_136`,date:`_date_1hl28_140`,tags:`_tags_1hl28_147`,statusCell:`_statusCell_1hl28_171`},B=`/home/runner/work/p-backlog/p-backlog/src/web/list/TaskTable.tsx`,$_={asc:`ascending`,desc:`descending`};function ev({tasks:e,sort:t,dateColumn:n,openedId:r,onSort:i,isNew:a,selectedTags:o,onToggleTag:s,selection:c,describedBy:l}){let{list:u}=_(),{tones:d}=lr(),f=Om(),p=g(),m=$r(),h=(0,E.useRef)(null);return q_(h,r),(0,D.jsxDEV)(`table`,{className:Q_.table,"aria-describedby":l,children:[(0,D.jsxDEV)(tv,{sort:t,onSort:i,dateColumn:n,selection:c},void 0,!1,{fileName:B,lineNumber:51,columnNumber:7},this),(0,D.jsxDEV)(`tbody`,{ref:h,children:e.map(e=>{let t=e.id===r;return(0,D.jsxDEV)(`tr`,{...G_(e.id),className:C(Q_.row,t&&Q_.opened),"data-epic-tone":Or(e,d),onKeyDown:t=>{iv(t)&&(t.preventDefault(),c.toggle(e.id,{range:t.shiftKey}))},children:[(0,D.jsxDEV)(`td`,{className:Q_.pick,children:(0,D.jsxDEV)(`label`,{className:Q_.pickTarget,children:(0,D.jsxDEV)(`input`,{type:`checkbox`,checked:c.selected.has(e.id),"aria-label":u.selectTask(e.id),onChange:t=>c.toggle(e.id,{range:av(t)})},void 0,!1,{fileName:B,lineNumber:69,columnNumber:19},this)},void 0,!1,{fileName:B,lineNumber:68,columnNumber:17},this)},void 0,!1,{fileName:B,lineNumber:67,columnNumber:15},this),(0,D.jsxDEV)(`td`,{children:(0,D.jsxDEV)(Zr,{id:e.id,to:f(e.id)},void 0,!1,{fileName:B,lineNumber:73,columnNumber:17},this)},void 0,!1,{fileName:B,lineNumber:72,columnNumber:15},this),(0,D.jsxDEV)(nv,{task:e,href:f(e.id),opened:t,isNew:a(e),now:m},void 0,!1,{fileName:B,lineNumber:75,columnNumber:15},this),(0,D.jsxDEV)(`td`,{className:Q_.tags,children:(0,D.jsxDEV)(Z_,{tags:e.tags,selected:o,onToggle:s},void 0,!1,{fileName:B,lineNumber:77,columnNumber:17},this)},void 0,!1,{fileName:B,lineNumber:76,columnNumber:15},this),(0,D.jsxDEV)(`td`,{className:Q_.statusCell,children:(0,D.jsxDEV)(qr,{status:e.status},void 0,!1,{fileName:B,lineNumber:80,columnNumber:17},this)},void 0,!1,{fileName:B,lineNumber:79,columnNumber:15},this),(0,D.jsxDEV)(`td`,{className:Q_.priorityCell,children:(0,D.jsxDEV)(V_,{priority:e.priority},void 0,!1,{fileName:B,lineNumber:83,columnNumber:17},this)},void 0,!1,{fileName:B,lineNumber:82,columnNumber:15},this),(0,D.jsxDEV)(`td`,{className:Q_.date,children:ov(e,n,p)},void 0,!1,{fileName:B,lineNumber:85,columnNumber:15},this)]},e.id,!0,{fileName:B,lineNumber:56,columnNumber:13},this)})},void 0,!1,{fileName:B,lineNumber:52,columnNumber:7},this)]},void 0,!0,{fileName:B,lineNumber:50,columnNumber:5},this)}function tv({sort:e,onSort:t,dateColumn:n,selection:r}){let{list:i}=_(),a={created:i.created,closed:i.closed},o=(n,r,i)=>{let a=e.key===n;return(0,D.jsxDEV)(`th`,{className:i,scope:`col`,"aria-sort":a?$_[e.direction]:void 0,children:(0,D.jsxDEV)(`button`,{type:`button`,className:C(Q_.sortButton,a&&Q_.sorted),onClick:()=>t(n),children:[r,(0,D.jsxDEV)(`span`,{className:Q_.sortMark,"aria-hidden":`true`,children:a&&Tn[e.direction]},void 0,!1,{fileName:B,lineNumber:103,columnNumber:11},this)]},void 0,!0,{fileName:B,lineNumber:101,columnNumber:9},this)},void 0,!1,{fileName:B,lineNumber:100,columnNumber:7},this)};return(0,D.jsxDEV)(`thead`,{children:(0,D.jsxDEV)(`tr`,{children:[(0,D.jsxDEV)(`th`,{className:Q_.pick,scope:`col`,children:(0,D.jsxDEV)(rv,{state:r.allVisibleState,label:i.selectAllVisible,onChange:r.setAllVisible},void 0,!1,{fileName:B,lineNumber:115,columnNumber:11},this)},void 0,!1,{fileName:B,lineNumber:114,columnNumber:9},this),o(`id`,`ID`),o(`title`,i.task),(0,D.jsxDEV)(`th`,{className:Q_.tags,scope:`col`,children:i.tags},void 0,!1,{fileName:B,lineNumber:119,columnNumber:9},this),o(`status`,i.status,Q_.statusCell),o(`priority`,i.priority,Q_.priorityCell),o(n,a[n],Q_.date)]},void 0,!0,{fileName:B,lineNumber:113,columnNumber:7},this)},void 0,!1,{fileName:B,lineNumber:112,columnNumber:5},this)}function nv({task:e,href:t,opened:n,isNew:r,now:i}){let{list:a,core:o}=_(),{index:s}=lr(),c=e.epic===void 0?void 0:s.byId.get(e.epic);return(0,D.jsxDEV)(`td`,{children:[(0,D.jsxDEV)(wr,{task:e,now:i},void 0,!1,{fileName:B,lineNumber:136,columnNumber:7},this),r&&(0,D.jsxDEV)(`span`,{className:Q_.newBadge,children:a.newBadge},void 0,!1,{fileName:B,lineNumber:137,columnNumber:17},this),(0,D.jsxDEV)(lt,{to:t,className:Q_.title,"aria-current":n?`true`:void 0,children:e.title},void 0,!1,{fileName:B,lineNumber:138,columnNumber:7},this),e.type===`epic`&&(0,D.jsxDEV)(`span`,{className:C(Q_.marker,Q_.epicMarker),children:a.epicBadge},void 0,!1,{fileName:B,lineNumber:141,columnNumber:32},this),(0,D.jsxDEV)(U_,{task:e,className:Q_.marker},void 0,!1,{fileName:B,lineNumber:142,columnNumber:7},this),e.resolution!==void 0&&(0,D.jsxDEV)(`span`,{className:Q_.marker,title:e.reason,children:[o.resolutionLabel(e.resolution),e.reason!==void 0&&(0,D.jsxDEV)(`span`,{className:`visually-hidden`,children:[`: `,e.reason]},void 0,!0,{fileName:B,lineNumber:146,columnNumber:41},this)]},void 0,!0,{fileName:B,lineNumber:144,columnNumber:9},this),c&&(0,D.jsxDEV)(`span`,{className:C(Q_.marker,Q_.epicMarker),title:c.title,children:c.id},void 0,!1,{fileName:B,lineNumber:150,columnNumber:9},this)]},void 0,!0,{fileName:B,lineNumber:135,columnNumber:5},this)}function rv({state:e,label:t,onChange:n}){let r=(0,E.useRef)(null);return(0,E.useEffect)(()=>{r.current&&(r.current.indeterminate=e===`some`)},[e]),(0,D.jsxDEV)(`label`,{className:Q_.pickTarget,children:(0,D.jsxDEV)(`input`,{ref:r,type:`checkbox`,checked:e===`all`,"aria-label":t,onChange:()=>n(e!==`all`)},void 0,!1,{fileName:B,lineNumber:165,columnNumber:7},this)},void 0,!1,{fileName:B,lineNumber:164,columnNumber:5},this)}function iv(e){return e.key===` `&&e.target instanceof HTMLAnchorElement}function av(e){return e.nativeEvent instanceof MouseEvent&&e.nativeEvent.shiftKey}function ov(e,t,n){let r=t===`closed`?e.closed:e.created;return r===void 0?`—`:Ot(n,r)}var sv=new Set,cv=new Map;function lv(e){return fe(me(),e,{decode:(e,t)=>{try{return JSON.parse(e)}catch(n){if(!(n instanceof SyntaxError))throw n;return t.issues.push({code:`custom`,message:`stored value is not JSON`,input:e}),Ct}},encode:e=>JSON.stringify(e)})}function uv(e,t){let n=(0,E.useCallback)(()=>pv(e),[e]),r=(0,E.useSyncExternalStore)(fv,n);return[(0,E.useMemo)(()=>dv(t,r),[t,r]),(0,E.useCallback)(n=>{let r=dv(t,pv(e)),i=n(r);i!==void 0&&i!==r&&mv(e,it(t,i))},[e,t])]}function dv(e,t){if(t===null)return;let n=e.safeParse(t);return n.success?n.data:void 0}function fv(e){return sv.add(e),window.addEventListener(`storage`,e),()=>{sv.delete(e),window.removeEventListener(`storage`,e)}}function pv(e){let t=cv.get(e);if(t!==void 0)return t;try{return window.localStorage?.getItem(e)??null}catch(e){if(e instanceof DOMException)return null;throw e}}function mv(e,t){try{window.localStorage.setItem(e,t),cv.delete(e)}catch{cv.set(e,t)}sv.forEach(e=>e())}var hv=`p-backlog.seen`,gv=lv(ot({since:et(),ids:we(me())}));function _v(e){let[t,n]=uv(hv,gv),r=t!==void 0;(0,E.useEffect)(()=>{r||n(e=>e??{since:Date.now(),ids:[]})},[r,n]),(0,E.useEffect)(()=>{if(e===void 0)return;let t=new Set(e.map(e=>e.id));n(e=>e&&yv(e,t))},[e,n]);let i=(0,E.useCallback)(e=>n(t=>t&&vv(t,e)),[n]);return(0,E.useMemo)(()=>{let e=new Set(t?.ids);return{isNew:n=>t!==void 0&&xn(n)&&bv(n,t)&&!e.has(n.id),markSeen:i}},[t,i])}function vv(e,t){return!bv(t,e)||e.ids.includes(t.id)?e:{...e,ids:[...e.ids,t.id]}}function yv(e,t){let n=e.ids.filter(e=>t.has(e));return n.length<e.ids.length?{...e,ids:n}:e}function bv(e,t){return Date.parse(e.created)>t.since}function xv(e,t,n){let r=t===void 0?void 0:e.find(e=>e.id===t),i=Sv(r,t);return{selectedTask:i,gone:r===void 0,missingTaskId:t!==void 0&&n&&i===void 0?t:void 0}}function Sv(e,t){let[n,r]=(0,E.useState)(e);return e!==void 0&&e!==n&&r(e),e??(n?.id===t?n:void 0)}var Cv=new Set;function wv(e,t,n){let[r,i]=(0,E.useState)({scopeKey:t,selected:Cv,anchor:void 0});r.scopeKey!==t&&i({scopeKey:t,selected:Cv,anchor:void 0});let a=(0,E.useMemo)(()=>Tv(r.selected,n),[r.selected,n]),o=(0,E.useCallback)((t,n)=>i(r=>{let i=!r.selected.has(t),a=n?.range===!0?Ev(e,r.anchor,t):[t];return{...r,selected:V(r.selected,a,i),anchor:t}}),[e]),s=(0,E.useCallback)(t=>i(n=>({...n,selected:V(n.selected,e,t)})),[e]),c=(0,E.useCallback)(()=>i(e=>({...e,selected:Cv,anchor:void 0})),[]),l=(0,E.useMemo)(()=>e.filter(e=>a.has(e)).length,[e,a]);return{selected:a,hiddenCount:a.size-l,toggle:o,setAllVisible:s,allVisibleState:H(l,e.length),clear:c}}function Tv(e,t){let n=[...e].filter(e=>t.has(e));return n.length===e.size?e:new Set(n)}function Ev(e,t,n){let r=t===void 0?-1:e.indexOf(t),i=e.indexOf(n);return r===-1||i===-1?[n]:e.slice(Math.min(r,i),Math.max(r,i)+1)}function V(e,t,n){let r=new Set(e);for(let e of t)n?r.add(e):r.delete(e);return r}function H(e,t){return e===0?`none`:e===t?`all`:`some`}function Dv(e,t){let n=g(),r=de(),i=be(),a=Wg(e.filter),o=(0,E.useMemo)(()=>Gg(e.sort,a),[e.sort,a]),s=(0,E.useMemo)(()=>r.data?.tasks??[],[r.data]),c=(0,E.useMemo)(()=>bn(i.data,t),[i.data,t]),l=(0,E.useMemo)(()=>c===void 0?[]:s.filter(c),[s,c]),u=(0,E.useMemo)(()=>{let e=new Map(r.data?.notLoadedTasks.map(({id:e,fileKind:t})=>[e,t]));return{tasks:s,index:m(s,e),tones:Dr(s)}},[s,r.data]),{index:d,tones:f}=u,p=(0,E.useMemo)(()=>({index:d,closedInWeb:new Set(r.data?.closedInWeb)}),[d,r.data]),h=(0,E.useMemo)(()=>Og(Dg(l,e.filter,p),o,d,n),[l,d,p,e.filter,o,n]),_=(0,E.useMemo)(()=>ng(l,f),[l,f]),v=(0,E.useMemo)(()=>Dg(l,zg.filter,p).length,[l,p]),y=(0,E.useMemo)(()=>Av(l,n),[l,n]),b=(0,E.useMemo)(()=>t===void 0&&c!==void 0?Sn(s,c).outOfScope:0,[s,c,t]),ee=[r,i].filter(e=>e.error!==null),te=r.error??i.error,ne=()=>Promise.all(ee.map(e=>e.refetch())),x=(r.data?.errors??[]).filter(e=>t===void 0||e.projectId===t),S=Ov(t,i.data,x),re=kv({hasData:r.data!==void 0&&c!==void 0,failed:te!==null,project:S,visibleCount:h.length});return{tasksLoaded:r.data!==void 0,request:{error:te,refetch:ne},content:re,settled:re===`table`&&te===null,projectName:t===void 0?void 0:Cn(i.data,t),parseErrors:x,all:u,table:{tasks:h,sort:o,dateColumn:a},filterChoices:{tags:y,epicChoices:_,autoClosedCount:v},empty:{hasTasks:l.length>0,hiddenOpen:b}}}function Ov(e,t,n){return e===void 0||t===void 0||t.some(t=>t.id===e)?`listed`:n.some(e=>e.fileKind===`project`)?`unparsed`:`unknown`}function kv({hasData:e,failed:t,project:n,visibleCount:r}){return e?n===`unparsed`?`unparsedProject`:n===`unknown`?`unknownProject`:r===0?`empty`:`table`:t?`failed`:`loading`}function Av(e,t){return[...new Set(e.flatMap(e=>e.tags))].sort((e,n)=>e.localeCompare(n,Et(t)))}var jv=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Mv(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function Nv(e){return`nodeType`in e}function Pv(e){return e?Mv(e)?e:Nv(e)?e.ownerDocument?.defaultView??window:window:window}function Fv(e){let{Document:t}=Pv(e);return e instanceof t}function Iv(e){return!Mv(e)&&e instanceof Pv(e).HTMLElement}function Lv(e){return e instanceof Pv(e).SVGElement}function Rv(e){return e?Mv(e)?e.document:Nv(e)?Fv(e)?e:Iv(e)||Lv(e)?e.ownerDocument:document:document:document}var zv=jv?E.useLayoutEffect:E.useEffect;function Bv(e){let t=(0,E.useRef)(e);return zv(()=>{t.current=e}),(0,E.useCallback)(function(){var e=[...arguments];return t.current==null?void 0:t.current(...e)},[])}function U(){let e=(0,E.useRef)(null);return[(0,E.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,E.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function Vv(e,t){t===void 0&&(t=[e]);let n=(0,E.useRef)(e);return zv(()=>{n.current!==e&&(n.current=e)},t),n}function W(e,t){let n=(0,E.useRef)();return(0,E.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function Hv(e){let t=Bv(e),n=(0,E.useRef)(null);return[n,(0,E.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function Uv(e){let t=(0,E.useRef)();return(0,E.useEffect)(()=>{t.current=e},[e]),t.current}var Wv={};function Gv(e,t){return(0,E.useMemo)(()=>{if(t)return t;let n=Wv[e]==null?0:Wv[e]+1;return Wv[e]=n,e+`-`+n},[e,t])}function Kv(e){return function(t){return[...arguments].slice(1).reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var qv=Kv(1),Jv=Kv(-1);function Yv(e){return`clientX`in e&&`clientY`in e}function Xv(e){if(!e)return!1;let{KeyboardEvent:t}=Pv(e.target);return t&&e instanceof t}function Zv(e){if(!e)return!1;let{TouchEvent:t}=Pv(e.target);return t&&e instanceof t}function Qv(e){if(Zv(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Yv(e)?{x:e.clientX,y:e.clientY}:null}var $v=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[$v.Translate.toString(e),$v.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),ey=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function ty(e){return e.matches(ey)?e:e.querySelector(ey)}var ny={display:`none`};function ry(e){let{id:t,value:n}=e;return E.createElement(`div`,{id:t,style:ny},n)}function G(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return E.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function iy(){let[e,t]=(0,E.useState)(``);return{announce:(0,E.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var ay=(0,E.createContext)(null);function oy(e){let t=(0,E.useContext)(ay);(0,E.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function sy(){let[e]=(0,E.useState)(()=>new Set),t=(0,E.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,E.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var cy={draggable:`
254
+ To pick up a draggable item, press the space bar.
255
+ While dragging, use the arrow keys to move the item.
256
+ Press space again to drop the item in its new position, or press escape to cancel.
257
+ `},ly={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function uy(e){let{announcements:t=ly,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=cy}=e,{announce:a,announcement:o}=iy(),s=Gv(`DndLiveRegion`),[c,l]=(0,E.useState)(!1);if((0,E.useEffect)(()=>{l(!0)},[]),oy((0,E.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=E.createElement(E.Fragment,null,E.createElement(ry,{id:r,value:i.draggable}),E.createElement(G,{id:s,announcement:o}));return n?(0,Pn.createPortal)(u,n):u}var dy;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(dy||={});function fy(){}function py(e,t){return(0,E.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function my(){var e=[...arguments];return(0,E.useMemo)(()=>[...e].filter(e=>e!=null),[...e])}var hy=Object.freeze({x:0,y:0});function gy(e,t){let n=Qv(e);if(!n)return`0 0`;let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+`% `+r.y+`%`}function _y(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function vy(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function yy(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var by=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=yy(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(_y)};function xy(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Sy(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:hy}function Cy(e){return function(t){return[...arguments].slice(1).reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var wy=Cy(1);function Ty(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Ey(e,t,n){let r=Ty(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var Dy={ignoreTransform:!1};function Oy(e,t){t===void 0&&(t=Dy);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=Pv(e).getComputedStyle(e);t&&(n=Ey(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function ky(e){return Oy(e,{ignoreTransform:!0})}function Ay(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function K(e,t){return t===void 0&&(t=Pv(e).getComputedStyle(e)),t.position===`fixed`}function q(e,t){t===void 0&&(t=Pv(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function jy(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(Fv(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!Iv(i)||Lv(i)||n.includes(i))return n;let a=Pv(e).getComputedStyle(i);return i!==e&&q(i,a)&&n.push(i),K(i,a)?n:r(i.parentNode)}return e?r(e):n}function My(e){let[t]=jy(e,1);return t??null}function Ny(e){return!jv||!e?null:Mv(e)?e:Nv(e)?Fv(e)||e===Rv(e).scrollingElement?window:Iv(e)?e:null:null}function Py(e){return Mv(e)?e.scrollX:e.scrollLeft}function Fy(e){return Mv(e)?e.scrollY:e.scrollTop}function Iy(e){return{x:Py(e),y:Fy(e)}}var Ly;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(Ly||={});function Ry(e){return!jv||!e?!1:e===document.scrollingElement}function zy(e){let t={x:0,y:0},n=Ry(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var By={x:.2,y:.2};function Vy(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=By);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=zy(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=Ly.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=Ly.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=Ly.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=Ly.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function Hy(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function Uy(e){return e.reduce((e,t)=>qv(e,Iy(t)),hy)}function Wy(e){return e.reduce((e,t)=>e+Py(t),0)}function Gy(e){return e.reduce((e,t)=>e+Fy(t),0)}function Ky(e,t){if(t===void 0&&(t=Oy),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);My(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var qy=[[`x`,[`left`,`right`],Wy],[`y`,[`top`,`bottom`],Gy]],Jy=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=jy(t),r=Uy(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of qy)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},Yy=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function Xy(e){let{EventTarget:t}=Pv(e);return e instanceof t?e:Rv(e)}function Zy(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var Qy;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(Qy||={});function $y(e){e.preventDefault()}function eb(e){e.stopPropagation()}var tb;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})(tb||={});var nb={start:[tb.Space,tb.Enter],cancel:[tb.Esc],end:[tb.Space,tb.Enter,tb.Tab]},rb=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case tb.Right:return{...n,x:n.x+25};case tb.Left:return{...n,x:n.x-25};case tb.Down:return{...n,y:n.y+25};case tb.Up:return{...n,y:n.y-25}}},ib=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new Yy(Rv(t)),this.windowListeners=new Yy(Pv(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Qy.Resize,this.handleCancel),this.windowListeners.add(Qy.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Qy.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&Ky(n),t(hy)}handleKeyDown(e){if(Xv(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=nb,coordinateGetter:a=rb,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:hy;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=Jv(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=zy(n),p=Hy(n),m={x:Math.min(i===tb.Right?p.right-p.width/2:p.right,Math.max(i===tb.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===tb.Down?p.bottom-p.height/2:p.bottom,Math.max(i===tb.Down?p.top:p.top+p.height/2,u.y))},h=i===tb.Right&&!s||i===tb.Left&&!c,g=i===tb.Down&&!l||i===tb.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===tb.Right&&e<=d.x||i===tb.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}r.x=a?n.scrollLeft-e:i===tb.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===tb.Down&&e<=d.y||i===tb.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}r.y=a?n.scrollTop-e:i===tb.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,qv(Jv(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};ib.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=nb,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function ab(e){return!!(e&&`distance`in e)}function ob(e){return!!(e&&`delay`in e)}var sb=class{constructor(e,t,n){n===void 0&&(n=Xy(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=Rv(i),this.documentListeners=new Yy(this.document),this.listeners=new Yy(n),this.windowListeners=new Yy(Pv(i)),this.initialCoordinates=Qv(r)??hy,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(Qy.Resize,this.handleCancel),this.windowListeners.add(Qy.DragStart,$y),this.windowListeners.add(Qy.VisibilityChange,this.handleCancel),this.windowListeners.add(Qy.ContextMenu,$y),this.documentListeners.add(Qy.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ob(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(ab(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Qy.Click,eb,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Qy.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=Qv(e)??hy,s=Jv(n,o);if(!t&&a){if(ab(a)){if(a.tolerance!=null&&Zy(s,a.tolerance))return this.handleCancel();if(Zy(s,a.distance))return this.handleStart()}if(ob(a)&&Zy(s,a.tolerance))return this.handleCancel();this.handlePending(a,s)}else e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===tb.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},cb={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},lb=class extends sb{constructor(e){let{event:t}=e,n=Rv(t.target);super(e,cb,n)}};lb.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var ub={move:{name:`mousemove`},end:{name:`mouseup`}},db;(function(e){e[e.RightClick=2]=`RightClick`})(db||={});var fb=class extends sb{constructor(e){super(e,ub,Rv(e.event.target))}};fb.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==db.RightClick&&(r?.({event:n}),!0)}}];var pb={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},mb=class extends sb{constructor(e){super(e,pb)}static setup(){return window.addEventListener(pb.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(pb.move.name,e)};function e(){}}};mb.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var hb;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(hb||={});var gb;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(gb||={});function _b(e){let{acceleration:t,activator:n=hb.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=gb.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=yb({delta:d,disabled:!a}),[m,h]=U(),g=(0,E.useRef)({x:0,y:0}),_=(0,E.useRef)({x:0,y:0}),v=(0,E.useMemo)(()=>{switch(n){case hb.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case hb.DraggableRect:return i}},[n,i,c]),y=(0,E.useRef)(null),b=(0,E.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),ee=(0,E.useMemo)(()=>s===gb.TreeOrder?[...l].reverse():l,[s,l]);(0,E.useEffect)(()=>{if(!a||!l.length||!v)h();else{for(let e of ee){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=Vy(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()}},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,ee,u,JSON.stringify(f)])}var vb={x:{[Ly.Backward]:!1,[Ly.Forward]:!1},y:{[Ly.Backward]:!1,[Ly.Forward]:!1}};function yb(e){let{delta:t,disabled:n}=e,r=Uv(t);return W(e=>{if(n||!r||!e)return vb;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Ly.Backward]:e.x[Ly.Backward]||i.x===-1,[Ly.Forward]:e.x[Ly.Forward]||i.x===1},y:{[Ly.Backward]:e.y[Ly.Backward]||i.y===-1,[Ly.Forward]:e.y[Ly.Forward]||i.y===1}}},[n,t,r])}function bb(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return W(e=>t==null?null:r??e??null,[r,t])}function xb(e,t){return(0,E.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var Sb;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(Sb||={});var Cb;(function(e){e.Optimized=`optimized`})(Cb||={});var wb=new Map;function Tb(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,E.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,E.useRef)(e),d=g(),f=Vv(d),p=(0,E.useCallback)(function(e){e===void 0&&(e=[]),f.current||o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,E.useRef)(null),h=W(t=>{if(d&&!n)return wb;if(!t||t===wb||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new Jy(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,E.useEffect)(()=>{u.current=e},[e]),(0,E.useEffect)(()=>{d||p()},[n,d]),(0,E.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,E.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case Sb.Always:return!1;case Sb.BeforeDragging:return n;default:return!n}}}function Eb(e,t){return W(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function Db(e,t){return Eb(e,t)}function Ob(e){let{callback:t,disabled:n}=e,r=Bv(t),i=(0,E.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,E.useEffect)(()=>()=>i?.disconnect(),[i]),i}function kb(e){let{callback:t,disabled:n}=e,r=Bv(t),i=(0,E.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,E.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Ab(e){return new Jy(Oy(e),e)}function jb(e,t,n){t===void 0&&(t=Ab);let[r,i]=(0,E.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=Ob({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=kb({callback:a});return zv(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function Mb(e){return Sy(e,Eb(e))}var Nb=[];function Pb(e){let t=(0,E.useRef)(e),n=W(n=>e?n&&n!==Nb&&e&&t.current&&e.parentNode===t.current.parentNode?n:jy(e):Nb,[e]);return(0,E.useEffect)(()=>{t.current=e},[e]),n}function Fb(e){let[t,n]=(0,E.useState)(null),r=(0,E.useRef)(e),i=(0,E.useCallback)(e=>{let t=Ny(e.target);t&&n(e=>e?(e.set(t,Iy(t)),new Map(e)):null)},[]);return(0,E.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=Ny(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,Iy(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{Ny(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,E.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>qv(e,t),hy):Uy(e):hy,[e,t])}function Ib(e,t){t===void 0&&(t=[]);let n=(0,E.useRef)(null);return(0,E.useEffect)(()=>{n.current=null},t),(0,E.useEffect)(()=>{let t=e!==hy;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?Jv(e,n.current):hy}function Lb(e){(0,E.useEffect)(()=>{if(!jv)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function Rb(e,t){return(0,E.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function zb(e){return(0,E.useMemo)(()=>e?Ay(e):null,[e])}var Bb=[];function Vb(e,t){t===void 0&&(t=Oy);let[n]=e,r=zb(n?Pv(n):null),[i,a]=(0,E.useState)(Bb);function o(){a(()=>e.length?e.map(e=>Ry(e)?r:new Jy(t(e),e)):Bb)}let s=kb({callback:o});return zv(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function Hb(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return Iv(t)?t:e}function Ub(e){let{measure:t}=e,[n,r]=(0,E.useState)(null),i=kb({callback:(0,E.useCallback)(e=>{for(let{target:n}of e)if(Iv(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=Hv((0,E.useCallback)(e=>{let n=Hb(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,E.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var Wb=[{sensor:lb,options:{}},{sensor:ib,options:{}}],Gb={current:{}},Kb={draggable:{measure:ky},droppable:{measure:ky,strategy:Sb.WhileDragging,frequency:Cb.Optimized},dragOverlay:{measure:Oy}},qb=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},Jb={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new qb,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:fy},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Kb,measureDroppableContainers:fy,windowRect:null,measuringScheduled:!1},Yb={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:fy,draggableNodes:new Map,over:null,measureDroppableContainers:fy},Xb=(0,E.createContext)(Yb),Zb=(0,E.createContext)(Jb);function Qb(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new qb}}}function $b(e,t){switch(t.type){case dy.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case dy.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case dy.DragEnd:case dy.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case dy.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new qb(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case dy.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new qb(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case dy.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new qb(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function J(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,E.useContext)(Xb),a=Uv(r),o=Uv(n?.id);return(0,E.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!Xv(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=ty(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function ex(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function tx(e){return(0,E.useMemo)(()=>({draggable:{...Kb.draggable,...e?.draggable},droppable:{...Kb.droppable,...e?.droppable},dragOverlay:{...Kb.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function nx(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,E.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;zv(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=Sy(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=My(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var rx=(0,E.createContext)({...hy,scaleX:1,scaleY:1}),ix;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(ix||={});var ax=(0,E.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=Wb,collisionDetection:o=by,measuring:s,modifiers:c,...l}=e,[u,d]=(0,E.useReducer)($b,void 0,Qb),[f,p]=sy(),[m,h]=(0,E.useState)(ix.Uninitialized),g=m===ix.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,ee=_==null?null:v.get(_),te=(0,E.useRef)({initial:null,translated:null}),ne=(0,E.useMemo)(()=>_==null?null:{id:_,data:ee?.data??Gb,rect:te},[_,ee]),x=(0,E.useRef)(null),[S,re]=(0,E.useState)(null),[ie,ae]=(0,E.useState)(null),oe=Vv(l,Object.values(l)),se=Gv(`DndDescribedBy`,t),ce=(0,E.useMemo)(()=>b.getEnabled(),[b]),le=tx(s),{droppableRects:ue,measureDroppableContainers:de,measuringScheduled:fe}=Tb(ce,{dragging:g,dependencies:[y.x,y.y],config:le.droppable}),C=bb(v,_),pe=(0,E.useMemo)(()=>ie?Qv(ie):null,[ie]),w=Ue(),me=Db(C,le.draggable.measure);nx({activeNode:_==null?null:v.get(_),config:w.layoutShiftCompensation,initialRect:me,measure:le.draggable.measure});let he=jb(C,le.draggable.measure,me),ge=jb(C?C.parentElement:null),_e=(0,E.useRef)({activatorEvent:null,active:null,activeNode:C,collisionRect:null,collisions:null,droppableRects:ue,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ve=b.getNodeFor(_e.current.over?.id),ye=Ub({measure:le.dragOverlay.measure}),be=ye.nodeRef.current??C,xe=g?ye.rect??he:null,Se=!!(ye.nodeRef.current&&ye.rect),Ce=Mb(Se?null:he),we=zb(be?Pv(be):null),Te=Pb(g?ve??C:null),Ee=Vb(Te),De=ex(c,{transform:{x:y.x-Ce.x,y:y.y-Ce.y,scaleX:1,scaleY:1},activatorEvent:ie,active:ne,activeNodeRect:he,containerNodeRect:ge,draggingNodeRect:xe,over:_e.current.over,overlayNodeRect:ye.rect,scrollableAncestors:Te,scrollableAncestorRects:Ee,windowRect:we}),Oe=pe?qv(pe,y):null,ke=Fb(Te),Ae=Ib(ke),je=Ib(ke,[he]),Me=qv(De,Ae),Ne=xe?wy(xe,De):null,Pe=ne&&Ne?o({active:ne,collisionRect:Ne,droppableRects:ue,droppableContainers:ce,pointerCoordinates:Oe}):null,T=vy(Pe,`id`),[Fe,Ie]=(0,E.useState)(null),Le=xy(Se?De:qv(De,je),Fe?.rect??null,he),Re=(0,E.useRef)(null),ze=(0,E.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(x.current==null)return;let i=v.get(x.current);if(!i)return;let a=e.nativeEvent,o=new n({active:x.current,activeNode:i,event:a,options:r,context:_e,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=oe.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=oe.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=x.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=oe.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:te}};(0,Pn.unstable_batchedUpdates)(()=>{r?.(i),h(ix.Initializing),d({type:dy.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),re(Re.current),ae(a)})},onMove(e){d({type:dy.DragMove,coordinates:e})},onEnd:s(dy.DragEnd),onCancel:s(dy.DragCancel)});Re.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=_e.current,o=null;if(t&&i){let{cancelDrop:s}=oe.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===dy.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=dy.DragCancel)}x.current=null,(0,Pn.unstable_batchedUpdates)(()=>{d({type:e}),h(ix.Uninitialized),Ie(null),re(null),ae(null),Re.current=null;let t=e===dy.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=oe.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Be=xb(a,(0,E.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(x.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},x.current=r,ze(n,t))},[v,ze]));Lb(a),zv(()=>{he&&m===ix.Initializing&&h(ix.Initialized)},[he,m]),(0,E.useEffect)(()=>{let{onDragMove:e}=oe.current,{active:t,activatorEvent:n,collisions:r,over:i}=_e.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:Me.x,y:Me.y},over:i};(0,Pn.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[Me.x,Me.y]),(0,E.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=_e.current;if(!e||x.current==null||!t||!i)return;let{onDragOver:a}=oe.current,o=r.get(T),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,Pn.unstable_batchedUpdates)(()=>{Ie(s),a?.(c),f({type:`onDragOver`,event:c})})},[T]),zv(()=>{_e.current={activatorEvent:ie,active:ne,activeNode:C,collisionRect:Ne,collisions:Pe,droppableRects:ue,draggableNodes:v,draggingNode:be,draggingNodeRect:xe,droppableContainers:b,over:Fe,scrollableAncestors:Te,scrollAdjustedTranslate:Me},te.current={initial:xe,translated:Ne}},[ne,C,Pe,Ne,v,be,xe,ue,b,Fe,Te,Me]),_b({...w,delta:y,draggingRect:Ne,pointerCoordinates:Oe,scrollableAncestors:Te,scrollableAncestorRects:Ee});let Ve=(0,E.useMemo)(()=>({active:ne,activeNode:C,activeNodeRect:he,activatorEvent:ie,collisions:Pe,containerNodeRect:ge,dragOverlay:ye,draggableNodes:v,droppableContainers:b,droppableRects:ue,over:Fe,measureDroppableContainers:de,scrollableAncestors:Te,scrollableAncestorRects:Ee,measuringConfiguration:le,measuringScheduled:fe,windowRect:we}),[ne,C,he,ie,Pe,ge,ye,v,b,ue,Fe,de,Te,Ee,le,fe,we]),He=(0,E.useMemo)(()=>({activatorEvent:ie,activators:Be,active:ne,activeNodeRect:he,ariaDescribedById:{draggable:se},dispatch:d,draggableNodes:v,over:Fe,measureDroppableContainers:de}),[ie,Be,ne,he,d,se,v,Fe,de]);return E.createElement(ay.Provider,{value:p},E.createElement(Xb.Provider,{value:He},E.createElement(Zb.Provider,{value:Ve},E.createElement(rx.Provider,{value:Le},i)),E.createElement(J,{disabled:n?.restoreFocus===!1})),E.createElement(uy,{...n,hiddenTextDescribedById:se}));function Ue(){let e=S?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),ox=(0,E.createContext)(null),sx=`button`,cx=`Draggable`;function lx(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=Gv(cx),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,E.useContext)(Xb),{role:p=sx,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,E.useContext)(g?rx:ox),[v,y]=Hv(),[b,ee]=Hv(),te=Rb(o,t),ne=Vv(n);return zv(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:ne}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,E.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===sx?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:te,node:v,over:f,setNodeRef:y,setActivatorNodeRef:ee,transform:_}}function ux(){return(0,E.useContext)(Zb)}var dx=`Droppable`,fx={timeout:25};function px(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=Gv(dx),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,E.useContext)(Xb),u=(0,E.useRef)({disabled:n}),d=(0,E.useRef)(!1),f=(0,E.useRef)(null),p=(0,E.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...fx,...i},_=Vv(h??r),v=kb({callback:(0,E.useCallback)(()=>{d.current?(p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)):d.current=!0},[g]),disabled:m||!o}),[y,b]=Hv((0,E.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),ee=Vv(t);return(0,E.useEffect)(()=>{v&&y.current&&(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,E.useEffect)(()=>(s({type:dy.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:ee}}),()=>s({type:dy.UnregisterDroppable,key:a,id:r})),[r]),(0,E.useEffect)(()=>{n!==u.current.disabled&&(s({type:dy.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function mx(e){let{animation:t,children:n}=e,[r,i]=(0,E.useState)(null),[a,o]=(0,E.useState)(null),s=Uv(n);return!n&&!r&&s&&i(s),zv(()=>{if(!a)return;let e=r?.key,n=r?.props.id;e==null||n==null?i(null):Promise.resolve(t(n,a)).then(()=>{i(null)})},[t,r,a]),E.createElement(E.Fragment,null,n,r?(0,E.cloneElement)(r,{ref:o}):null)}var hx={x:0,y:0,scaleX:1,scaleY:1};function gx(e){let{children:t}=e;return E.createElement(Xb.Provider,{value:Yb},E.createElement(rx.Provider,{value:hx},t))}var _x={position:`fixed`,touchAction:`none`},vx=e=>Xv(e)?`transform 250ms ease`:void 0,yx=(0,E.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:a,className:o,rect:s,style:c,transform:l,transition:u=vx}=e;if(!s)return null;let d=i?l:{...l,scaleX:1,scaleY:1},f={..._x,width:s.width,height:s.height,top:s.top,left:s.left,transform:$v.Transform.toString(d),transformOrigin:i&&r?gy(r,s):void 0,transition:typeof u==`function`?u(r):u,...c};return E.createElement(n,{className:o,style:f,ref:t},a)}),bx={duration:250,easing:`ease`,keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:$v.Transform.toString(t)},{transform:$v.Transform.toString(n)}]},sideEffects:(e=>t=>{let{active:n,dragOverlay:r}=t,i={},{styles:a,className:o}=e;if(a!=null&&a.active)for(let[e,t]of Object.entries(a.active))t!==void 0&&(i[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(a!=null&&a.dragOverlay)for(let[e,t]of Object.entries(a.dragOverlay))t!==void 0&&r.node.style.setProperty(e,t);return o!=null&&o.active&&n.node.classList.add(o.active),o!=null&&o.dragOverlay&&r.node.classList.add(o.dragOverlay),function(){for(let[e,t]of Object.entries(i))n.node.style.setProperty(e,t);o!=null&&o.active&&n.node.classList.remove(o.active)}})({styles:{active:{opacity:`0`}}})};function xx(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return Bv((e,a)=>{if(t===null)return;let o=n.get(e);if(!o)return;let s=o.node.current;if(!s)return;let c=Hb(a);if(!c)return;let{transform:l}=Pv(a).getComputedStyle(a),u=Ty(l);if(!u)return;let d=typeof t==`function`?t:Sx(t);return Ky(s,i.draggable.measure),d({active:{id:e,data:o.data,node:s,rect:i.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:a,rect:i.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:i,transform:u})})}function Sx(e){let{duration:t,easing:n,sideEffects:r,keyframes:i}={...bx,...e};return e=>{let{active:a,dragOverlay:o,transform:s,...c}=e;if(!t)return;let l={x:o.rect.left-a.rect.left,y:o.rect.top-a.rect.top},u={scaleX:s.scaleX===1?1:a.rect.width*s.scaleX/o.rect.width,scaleY:s.scaleY===1?1:a.rect.height*s.scaleY/o.rect.height},d={x:s.x-l.x,y:s.y-l.y,...u},f=i({...c,active:a,dragOverlay:o,transform:{initial:s,final:d}}),[p]=f,m=f[f.length-1];if(JSON.stringify(p)===JSON.stringify(m))return;let h=r?.({active:a,dragOverlay:o,...c}),g=o.node.animate(f,{duration:t,easing:n,fill:`forwards`});return new Promise(e=>{g.onfinish=()=>{h?.(),e()}})}}var Cx=0;function wx(e){return(0,E.useMemo)(()=>{if(e!=null)return Cx++,Cx},[e])}var Tx=E.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:i,transition:a,modifiers:o,wrapperElement:s=`div`,className:c,zIndex:l=999}=e,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggableNodes:m,droppableContainers:h,dragOverlay:g,over:_,measuringConfiguration:v,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:ee}=ux(),te=(0,E.useContext)(rx),ne=wx(d?.id),x=ex(o,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggingNodeRect:g.rect,over:_,overlayNodeRect:g.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:te,windowRect:ee}),S=Eb(f),re=xx({config:r,draggableNodes:m,droppableContainers:h,measuringConfiguration:v}),ie=S?g.setRef:void 0;return E.createElement(gx,null,E.createElement(mx,{animation:re},d&&ne?E.createElement(yx,{key:ne,id:d.id,ref:ie,as:s,activatorEvent:u,adjustScale:t,className:c,transition:a,rect:S,style:{zIndex:l,...i},transform:x},n):null))}),Ex=`done`;function Dx(e,t){return t.get(e.id)??e.status}function Ox(e,t,n){let r=t??te,i=e.filter(e=>e.type===`task`);return te.filter(e=>r.includes(e)||e===Ex).map(e=>({status:e,tasks:i.filter(t=>Dx(t,n)===e),filteredOut:!r.includes(e)}))}function kx(e){let t=$e(),[n,r]=(0,E.useState)(new Map),[i,a]=(0,E.useState)(null),[o,s]=(0,E.useState)(null),[c,l]=(0,E.useState)(!1),u=(0,E.useRef)(new Map),d=(0,E.useRef)(0),f=(0,E.useCallback)(()=>{a(null),s(null)},[]),p=async(e,n)=>{let i=++d.current;u.current.set(e,i),r(t=>new Map(t).set(e,n)),s(null);try{let{before:r}=await t.save({id:e,change:()=>({status:n})});return r.status}catch(t){return s({id:e,error:qm(t)}),null}finally{u.current.get(e)===i&&(u.current.delete(e),r(t=>Ax(t,e)))}},m=async(e,t)=>{if(Dx(e,n)===t)return;let r=await p(e.id,t);r!==null&&r!==t&&a({id:e.id,from:r,to:t})},h=i===null?void 0:e.find(e=>e.id===i.id),g=i!==null&&h!==void 0&&Dx(h,n)===i.to?i:null;return{pending:n,lastMove:g,failure:o,undoing:c,move:m,undo:async()=>{if(g===null||c)return null;l(!0);let e=await p(g.id,g.from);return l(!1),e===null?null:(a(e=>e===g?null:e),g.id)},dismiss:f}}function Ax(e,t){let n=new Map(e);return n.delete(t),n}var jx={board:`_board_a5e4m_1`,notice:`_notice_a5e4m_10`,columns:`_columns_a5e4m_17`,column:`_column_a5e4m_17`,over:`_over_a5e4m_44`,columnHeading:`_columnHeading_a5e4m_49`,count:`_count_a5e4m_59`,cards:`_cards_a5e4m_67`,card:`_card_a5e4m_67`,cardBody:`_cardBody_a5e4m_85`,placeholder:`_placeholder_a5e4m_90`,lifted:`_lifted_a5e4m_100`,meta:`_meta_a5e4m_105`,title:`_title_a5e4m_114`,marker:`_marker_a5e4m_147`,raisedLabel:`_raisedLabel_a5e4m_148`,empty:`_empty_a5e4m_157`},Y=`/home/runner/work/p-backlog/p-backlog/src/web/list/board/TaskBoard.tsx`,X={distance:6},Mx={delay:250,tolerance:6},Nx={start:[tb.Space],cancel:[tb.Esc],end:[tb.Space,tb.Enter]},Px={[tb.Left]:-1,[tb.Right]:1},Fx=`(prefers-reduced-motion: reduce)`;function Ix({tasks:e,statuses:t,openedId:n}){let{list:r}=_(),{tasks:i}=lr(),a=kx(i),o=(0,E.useMemo)(()=>Ox(e,t,a.pending),[e,t,a.pending]),s=(0,E.useMemo)(()=>new Map(e.map(e=>[e.id,e])),[e]),[c,l]=(0,E.useState)(null),u=(0,E.useRef)(null),d=(0,E.useRef)(null),f=Gx(),p=bh(Fx);Wx(c!==null),q_(u,n);let m=my(py(fb,{activationConstraint:X}),py(mb,{activationConstraint:Mx}),py(ib,{keyboardCodes:Nx,coordinateGetter:Ux})),h=Vx(s,a.pending),g=({active:e})=>l(s.get(String(e.id))??null),v=async({active:e,over:t})=>{l(null),f.suppress();let n=s.get(String(e.id)),r=t===null?void 0:Z(t.id);n!==void 0&&r!==void 0&&await a.move(n,r)},y=async()=>{let e=await a.undo();e!==null&&requestAnimationFrame(()=>Hx(K_(u.current,e)))};return(0,D.jsxDEV)(`section`,{ref:u,className:jx.board,"aria-label":r.board,onClickCapture:f.onClickCapture,children:[(0,D.jsxDEV)(ax,{sensors:m,accessibility:{announcements:h,screenReaderInstructions:{draggable:r.dragInstructions}},onDragStart:g,onDragEnd:e=>void v(e),onDragCancel:()=>l(null),children:[(0,D.jsxDEV)(`div`,{className:jx.columns,children:o.map(e=>(0,D.jsxDEV)(Rx,{column:e,openedId:n},e.status,!1,{fileName:Y,lineNumber:95,columnNumber:13},this))},void 0,!1,{fileName:Y,lineNumber:93,columnNumber:9},this),(0,D.jsxDEV)(Tx,{dropAnimation:p?null:void 0,children:c===null?null:(0,D.jsxDEV)(Bx,{task:c,lifted:!0},void 0,!1,{fileName:Y,lineNumber:98,columnNumber:98},this)},void 0,!1,{fileName:Y,lineNumber:98,columnNumber:9},this)]},void 0,!0,{fileName:Y,lineNumber:86,columnNumber:7},this),(0,D.jsxDEV)(Lx,{moves:a,undoButton:d,onUndo:()=>void y()},void 0,!1,{fileName:Y,lineNumber:100,columnNumber:7},this)]},void 0,!0,{fileName:Y,lineNumber:85,columnNumber:5},this)}function Lx({moves:{lastMove:e,failure:t,undoing:n,dismiss:r},undoButton:i,onUndo:a}){let{list:o,core:s,app:c,task:l}=_(),u=(0,E.useRef)(null),d=(0,E.useMemo)(()=>e===null&&t===null?null:{lastMove:e,failure:t},[e,t]);return Nh(u,{content:d,paused:n,expire:r}),sh(u,`--main-overlay-height`),(0,E.useEffect)(()=>{e!==null&&Hx(i.current)},[e,i]),(0,D.jsxDEV)(`div`,{ref:u,className:d===null?`visually-hidden`:C(Ph.panel,jx.notice),children:[(0,D.jsxDEV)(`div`,{role:`status`,className:Ph.announcement,children:e!==null&&(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`p`,{className:Ph.headline,children:o.moved(e.id,s.statusLabel(e.to))},void 0,!1,{fileName:Y,lineNumber:120,columnNumber:13},this),(0,D.jsxDEV)(an,{ref:i,busy:n,onClick:a,children:o.undo},void 0,!1,{fileName:Y,lineNumber:121,columnNumber:13},this)]},void 0,!0,{fileName:Y,lineNumber:119,columnNumber:11},this)},void 0,!1,{fileName:Y,lineNumber:117,columnNumber:7},this),t!==null&&(0,D.jsxDEV)(`p`,{className:Ph.error,role:`alert`,children:[o.moveFailed(t.id),`: `,Jm(t.error,c,l)]},void 0,!0,{fileName:Y,lineNumber:128,columnNumber:9},this)]},void 0,!0,{fileName:Y,lineNumber:116,columnNumber:5},this)}function Rx({column:e,openedId:t}){let{list:n}=_(),r=(0,E.useId)(),{setNodeRef:i,isOver:a}=px({id:e.status});return(0,D.jsxDEV)(`section`,{ref:i,className:C(jx.column,a&&jx.over),"aria-labelledby":r,children:[(0,D.jsxDEV)(`h2`,{id:r,className:jx.columnHeading,children:[(0,D.jsxDEV)(qr,{status:e.status},void 0,!1,{fileName:Y,lineNumber:143,columnNumber:9},this),` `,(0,D.jsxDEV)(`span`,{className:jx.count,children:n.columnCount(e.tasks.length)},void 0,!1,{fileName:Y,lineNumber:143,columnNumber:48},this)]},void 0,!0,{fileName:Y,lineNumber:142,columnNumber:7},this),e.tasks.length>0?(0,D.jsxDEV)(`ul`,{className:jx.cards,children:e.tasks.map(e=>(0,D.jsxDEV)(zx,{task:e,opened:e.id===t},e.id,!1,{fileName:Y,lineNumber:148,columnNumber:13},this))},void 0,!1,{fileName:Y,lineNumber:146,columnNumber:9},this):(0,D.jsxDEV)(`p`,{className:jx.empty,children:e.filteredOut?n.closedHidden:n.emptyColumn},void 0,!1,{fileName:Y,lineNumber:152,columnNumber:9},this)]},void 0,!0,{fileName:Y,lineNumber:141,columnNumber:5},this)}function zx({task:e,opened:t}){let n=Om(),{attributes:r,listeners:i,setNodeRef:a,setActivatorNodeRef:o,isDragging:s}=lx({id:e.id});return(0,D.jsxDEV)(`li`,{ref:a,className:C(jx.card,s&&jx.placeholder),children:(0,D.jsxDEV)(Bx,{task:e,children:(0,D.jsxDEV)(lt,{ref:o,to:n(e.id),className:jx.title,"aria-current":t?`true`:void 0,"aria-describedby":r[`aria-describedby`],...G_(e.id),...i,children:e.title},void 0,!1,{fileName:Y,lineNumber:164,columnNumber:9},this)},void 0,!1,{fileName:Y,lineNumber:163,columnNumber:7},this)},void 0,!1,{fileName:Y,lineNumber:162,columnNumber:5},this)}function Bx({task:e,lifted:t=!1,children:n}){let{index:r,tones:i}=lr(),a=e.epic===void 0?void 0:r.byId.get(e.epic);return(0,D.jsxDEV)(`div`,{className:C(jx.cardBody,`raised-surface`,t&&jx.lifted),children:[(0,D.jsxDEV)(`div`,{className:jx.meta,children:[(0,D.jsxDEV)(Xr,{id:e.id,tone:e.epic===void 0?void 0:i.get(e.epic)},void 0,!1,{fileName:Y,lineNumber:186,columnNumber:9},this),(0,D.jsxDEV)(V_,{priority:e.priority},void 0,!1,{fileName:Y,lineNumber:187,columnNumber:9},this)]},void 0,!0,{fileName:Y,lineNumber:185,columnNumber:7},this),n??(0,D.jsxDEV)(`span`,{className:jx.title,children:e.title},void 0,!1,{fileName:Y,lineNumber:189,columnNumber:20},this),(0,D.jsxDEV)(`div`,{className:jx.meta,children:[(0,D.jsxDEV)(U_,{task:e,className:jx.marker},void 0,!1,{fileName:Y,lineNumber:191,columnNumber:9},this),a!==void 0&&(0,D.jsxDEV)(`span`,{className:jx.raisedLabel,title:a.title,children:(0,D.jsxDEV)(Xr,{id:a.id,tone:i.get(a.id),muted:!0},void 0,!1,{fileName:Y,lineNumber:194,columnNumber:13},this)},void 0,!1,{fileName:Y,lineNumber:193,columnNumber:11},this)]},void 0,!0,{fileName:Y,lineNumber:190,columnNumber:7},this)]},void 0,!0,{fileName:Y,lineNumber:184,columnNumber:5},this)}function Vx(e,t){let{list:n,core:r}=_(),i=(n,r)=>{let i=e.get(n),a=r===void 0?void 0:Z(r);return i!==void 0&&a!==void 0&&a!==Dx(i,t)},a=e=>{let t=Z(e);return t===void 0?String(e):r.statusLabel(t)};return{onDragStart:({active:e})=>n.dragStarted(String(e.id)),onDragOver:({active:e,over:t})=>t===null?void 0:n.dragOver(String(e.id),a(t.id)),onDragEnd:({active:e,over:t})=>i(String(e.id),t?.id)?void 0:n.dragStayed(String(e.id)),onDragCancel:({active:e})=>n.dragCancelled(String(e.id))}}function Z(e){return te.find(t=>t===e)}function Hx(e){Mn()&&e?.focus({preventScroll:!0})}var Ux=(e,{context:{collisionRect:t,droppableRects:n},currentCoordinates:r})=>{let i=Px[e.code];if(i===void 0||t===null)return;e.preventDefault();let a=[...n.values()].sort((e,t)=>e.left-t.left),o=t.left+t.width/2,s=a[a.findLastIndex(e=>e.left<=o)+i];return s===void 0?void 0:{x:s.left+(s.width-t.width)/2,y:r.y}};function Wx(e){(0,E.useEffect)(()=>{if(!e)return;let t=e=>{e.key===`Escape`&&e.preventDefault()};return document.addEventListener(`keydown`,t,!0),()=>document.removeEventListener(`keydown`,t,!0)},[e])}function Gx(){let e=(0,E.useRef)(!1);return{suppress:()=>{e.current=!0,requestAnimationFrame(()=>{e.current=!1})},onClickCapture:t=>{e.current&&t.target instanceof Element&&t.target.closest(`a`)!==null&&t.preventDefault()}}}var Kx={page:`_page_16dr7_1`,list:`_list_16dr7_8`,tableWrap:`_tableWrap_16dr7_17`,boardWrap:`_boardWrap_16dr7_21`,warning:`_warning_16dr7_28`,keysHint:`_keysHint_16dr7_38`},qx=`/home/runner/work/p-backlog/p-backlog/src/web/list/TaskListPage.tsx`,Jx=500;function Yx(){let{list:e}=_(),{projectId:t,taskId:n}=Te(),[r,i]=dt(),a=Se(),o=r.toString(),s=(0,E.useMemo)(()=>Kg(new URLSearchParams(o)),[o]),{layout:c,onBoard:l,setLayout:u}=Xx(o,i),d=Dv(s,t),{selectedTask:f,gone:p,missingTaskId:m}=xv(d.all.tasks,n,d.tasksLoaded),{isNew:h,markSeen:g}=_v(d.tasksLoaded?d.all.tasks:void 0),v=(0,E.useMemo)(()=>d.table.tasks.map(e=>e.id),[d.table.tasks]),y=(0,E.useMemo)(()=>new Set(d.all.tasks.map(e=>e.id)),[d.all.tasks]),b=gt(t),ee=wv(v,b,y),te=(0,E.useId)(),ne=Dh();(0,E.useEffect)(()=>{f!==void 0&&g(f)},[f,g]);let x=rS(e,d.projectName,s.filter.onlyAutoClosed===!0);dr(f===void 0?e.docTitle(x):e.taskDocTitle(f.id,f.title));let S=e=>i(Zg(e_(e),c),{replace:!0}),re=(0,E.useRef)(null),ie=Nn(d.settled,re);return(0,D.jsxDEV)(cr,{value:d.all,children:(0,D.jsxDEV)(`main`,{id:`content`,tabIndex:-1,className:Kx.page,children:[(0,D.jsxDEV)(`div`,{className:Kx.list,children:[(0,D.jsxDEV)(qe,{ref:re,actions:(0,D.jsxDEV)(u_,{layout:c,onChange:u},void 0,!1,{fileName:qx,lineNumber:66,columnNumber:47},this),children:x},void 0,!1,{fileName:qx,lineNumber:66,columnNumber:11},this),(0,D.jsxDEV)(M_,{params:s,onChange:S,...d.filterChoices},void 0,!1,{fileName:qx,lineNumber:69,columnNumber:11},this),(0,D.jsxDEV)(Zx,{taskId:m},void 0,!1,{fileName:qx,lineNumber:71,columnNumber:11},this),(0,D.jsxDEV)($x,{parseErrors:d.parseErrors},void 0,!1,{fileName:qx,lineNumber:73,columnNumber:11},this),d.content===`table`&&ne&&(0,D.jsxDEV)(Qx,{id:te,onBoard:l},void 0,!1,{fileName:qx,lineNumber:75,columnNumber:60},this),(0,D.jsxDEV)(`div`,{className:l?Kx.boardWrap:Kx.tableWrap,children:[(0,D.jsxDEV)(eS,{view:d,filter:s.filter,onFilterChange:e=>S({...s,filter:e}),statusFocus:ie},void 0,!1,{fileName:qx,lineNumber:78,columnNumber:13},this),l&&(d.content===`table`||d.content===`empty`)&&(0,D.jsxDEV)(Ix,{tasks:d.table.tasks,statuses:s.filter.statuses,openedId:f?.id},void 0,!1,{fileName:qx,lineNumber:79,columnNumber:89},this),d.content===`table`&&!l&&(0,D.jsxDEV)(ev,{...d.table,openedId:f?.id,onSort:e=>S({...s,sort:Hg(d.table.sort,e)}),isNew:h,selectedTags:s.filter.tags??[],onToggleTag:e=>S(w_(s,e)),selection:ee,describedBy:ne?te:void 0},void 0,!1,{fileName:qx,lineNumber:81,columnNumber:15},this)]},void 0,!0,{fileName:qx,lineNumber:77,columnNumber:11},this),!l&&(0,D.jsxDEV)(vg,{selection:ee},b,!1,{fileName:qx,lineNumber:93,columnNumber:24},this)]},void 0,!0,{fileName:qx,lineNumber:65,columnNumber:9},this),f&&(0,D.jsxDEV)(dh,{task:f,onClose:()=>void a({pathname:b,search:o}),gone:p},f.id,!1,{fileName:qx,lineNumber:96,columnNumber:26},this)]},void 0,!0,{fileName:qx,lineNumber:64,columnNumber:7},this)},void 0,!1,{fileName:qx,lineNumber:63,columnNumber:5},this)}function Xx(e,t){let n=Xg(new URLSearchParams(e));return{layout:n,onBoard:n===`board`,setLayout:n=>t(Zg(new URLSearchParams(e),n),{replace:!0})}}function Zx({taskId:e}){let{core:t,list:n}=_(),{index:r}=lr(),i=e===void 0?void 0:r.notLoaded.get(e);return(0,D.jsxDEV)(De,{className:Kx.warning,shown:e!==void 0,role:`status`,children:e!==void 0&&(i===void 0?n.missingTask(e):t.taskNotLoaded(e,i))},void 0,!1,{fileName:qx,lineNumber:113,columnNumber:5},this)}function Qx({id:e,onBoard:t}){let{list:n}=_();return(0,D.jsxDEV)(`p`,{id:e,className:Kx.keysHint,children:t?n.dragInstructions:n.selectionKeysHint(wh())},void 0,!1,{fileName:qx,lineNumber:122,columnNumber:5},this)}function $x({parseErrors:e}){let{list:t}=_();return(0,D.jsxDEV)(De,{as:`div`,className:Kx.warning,shown:e.length>0,role:`status`,children:e.length>0&&(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`strong`,{children:t.parseErrorsTitle},void 0,!1,{fileName:qx,lineNumber:134,columnNumber:11},this),(0,D.jsxDEV)(`ul`,{children:e.map(e=>(0,D.jsxDEV)(`li`,{children:[e.path,` — `,e.message]},e.path,!0,{fileName:qx,lineNumber:137,columnNumber:15},this))},void 0,!1,{fileName:qx,lineNumber:135,columnNumber:11},this)]},void 0,!0,{fileName:qx,lineNumber:133,columnNumber:9},this)},void 0,!1,{fileName:qx,lineNumber:131,columnNumber:5},this)}function eS({view:{content:e,settled:t,request:n,empty:r,table:i},filter:a,onFilterChange:o,statusFocus:{status:s,keepFocus:c}}){let{list:l}=_(),u=i.tasks.length,d=ur(t?u:null,Jx)??u,f=()=>(c(),n.refetch()),p=e=>{c(),o(e)};return(0,D.jsxDEV)(Pe,{ref:s,state:tS(e,t),children:[n.error!==null&&(0,D.jsxDEV)(un,{error:n.error,onRetry:f},void 0,!1,{fileName:qx,lineNumber:169,columnNumber:34},this),e===`loading`&&(0,D.jsxDEV)(`p`,{children:l.loadingTasks},void 0,!1,{fileName:qx,lineNumber:170,columnNumber:33},this),e===`unknownProject`&&(0,D.jsxDEV)(`p`,{children:l.unknownProject},void 0,!1,{fileName:qx,lineNumber:171,columnNumber:40},this),e===`unparsedProject`&&(0,D.jsxDEV)(`p`,{children:l.unparsedProject},void 0,!1,{fileName:qx,lineNumber:172,columnNumber:41},this),e===`empty`&&(0,D.jsxDEV)(nS,{...r,filter:a,onFilterChange:p},void 0,!1,{fileName:qx,lineNumber:173,columnNumber:31},this),t&&(0,D.jsxDEV)(`p`,{children:l.taskCount(d)},void 0,!1,{fileName:qx,lineNumber:174,columnNumber:19},this)]},void 0,!0,{fileName:qx,lineNumber:168,columnNumber:5},this)}function tS(e,t){return t?`hidden`:e===`loading`?`waiting`:`shown`}function nS({hasTasks:e,hiddenOpen:t,filter:n,onFilterChange:r}){let{list:i}=_(),a=i.hiddenOpenNote(t);return e?Qg(n)?(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`p`,{children:t>0?i.noOpenTasksInScope(a):i.noOpenTasks},void 0,!1,{fileName:qx,lineNumber:202,columnNumber:9},this),(0,D.jsxDEV)(an,{onClick:()=>r({statuses:void 0}),children:i.showAllStatuses},void 0,!1,{fileName:qx,lineNumber:203,columnNumber:9},this)]},void 0,!0,{fileName:qx,lineNumber:201,columnNumber:7},this):(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`p`,{children:i.noMatches},void 0,!1,{fileName:qx,lineNumber:209,columnNumber:7},this),(0,D.jsxDEV)(an,{onClick:()=>r(Ig),children:i.resetFilters},void 0,!1,{fileName:qx,lineNumber:210,columnNumber:7},this)]},void 0,!0,{fileName:qx,lineNumber:208,columnNumber:5},this):t>0?(0,D.jsxDEV)(`p`,{children:i.noTasksInScope(a)},void 0,!1,{fileName:qx,lineNumber:188,columnNumber:32},this):(0,D.jsxDEV)(`p`,{children:i.noTasksYet(e=>(0,D.jsxDEV)(`code`,{className:`inline-code`,children:e},e,!1,{fileName:qx,lineNumber:192,columnNumber:11},this))},void 0,!1,{fileName:qx,lineNumber:190,columnNumber:7},this)}function rS(e,t,n){return n?t===void 0?e.autoClosed:e.autoClosedInProject(t):t??e.projects}var iS={crash:`_crash_8u7nn_1`};function aS(){let{openEvents:e}=c(),t=xe();(0,E.useEffect)(()=>{let n=e();return n.addEventListener(`change`,e=>{let n=sS(e.data);if(n===null)rt(t);else{t.invalidateQueries({queryKey:w});for(let e of at)oS(t,e,n)}}),n.addEventListener(`open`,()=>void rt(t)),()=>n.close()},[e,t])}async function oS(e,t,n){await Promise.allSettled([e.getQueryCache().find({queryKey:t,exact:!0})?.promise]);let r=e.getQueryData(t)?.revision;(r===void 0||r.boot!==n.boot||r.seq<n.seq)&&await e.invalidateQueries({queryKey:t,exact:!0})}function sS(e){if(typeof e!=`string`)return null;try{let t=JSON.parse(e);return cS(t)?t:null}catch(e){if(e instanceof SyntaxError)return null;throw e}}function cS(e){return typeof e==`object`&&!!e&&`boot`in e&&typeof e.boot==`string`&&`seq`in e&&typeof e.seq==`number`}var lS=`/home/runner/work/p-backlog/p-backlog/src/web/app/App.tsx`,uS={path:`flow`,element:(0,D.jsxDEV)(vt,{to:`..`,relative:`path`,replace:!0},void 0,!1,{fileName:lS,lineNumber:14,columnNumber:69},void 0)},dS=[...Gt.map(e=>{let t=_t(e.key);return t===null?{index:!0,lazy:e.load}:{path:t,lazy:e.load}}),uS],fS=async()=>({Component:(await At(async()=>{let{StatsPage:e}=await import(`./StatsPage-Gn54gdFG.js`);return{StatsPage:e}},__vite__mapDeps([25,2,1,3,8,26]))).StatsPage}),pS=[{element:(0,D.jsxDEV)(mS,{},void 0,!1,{fileName:lS,lineNumber:28,columnNumber:14},void 0),errorElement:(0,D.jsxDEV)(hS,{},void 0,!1,{fileName:lS,lineNumber:29,columnNumber:19},void 0),children:[{index:!0,element:(0,D.jsxDEV)(Yx,{},void 0,!1,{fileName:lS,lineNumber:31,columnNumber:31},void 0)},{path:xt.task,element:(0,D.jsxDEV)(Yx,{},void 0,!1,{fileName:lS,lineNumber:32,columnNumber:45},void 0)},{path:xt.projectList,element:(0,D.jsxDEV)(Yx,{},void 0,!1,{fileName:lS,lineNumber:33,columnNumber:52},void 0)},{path:xt.projectTask,element:(0,D.jsxDEV)(Yx,{},void 0,!1,{fileName:lS,lineNumber:34,columnNumber:52},void 0)},{path:xt.stats,lazy:fS,children:dS},{path:xt.projectStats,lazy:fS,children:dS},{path:`*`,element:(0,D.jsxDEV)(gS,{},void 0,!1,{fileName:lS,lineNumber:37,columnNumber:29},void 0)}]}];function mS(){return aS(),(0,D.jsxDEV)(ir,{},void 0,!1,{fileName:lS,lineNumber:44,columnNumber:10},this)}function hS(){let{app:e}=_();return(0,D.jsxDEV)(He,{as:`main`,className:iS.crash,role:`alert`,children:[(0,D.jsxDEV)(`h1`,{children:e.crashTitle},void 0,!1,{fileName:lS,lineNumber:51,columnNumber:7},this),(0,D.jsxDEV)(`p`,{children:e.crashHint},void 0,!1,{fileName:lS,lineNumber:52,columnNumber:7},this)]},void 0,!0,{fileName:lS,lineNumber:50,columnNumber:5},this)}function gS(){let{app:e,list:t}=_(),n=(0,E.useRef)(null);return dr(t.docTitle(e.notFoundTitle)),(0,E.useEffect)(()=>{Mn()&&n.current?.focus()},[]),(0,D.jsxDEV)(`main`,{id:`content`,tabIndex:-1,children:[(0,D.jsxDEV)(qe,{ref:n,children:e.notFoundTitle},void 0,!1,{fileName:lS,lineNumber:66,columnNumber:7},this),(0,D.jsxDEV)(He,{children:(0,D.jsxDEV)(lt,{to:gt(),children:e.backToProjects},void 0,!1,{fileName:lS,lineNumber:68,columnNumber:9},this)},void 0,!1,{fileName:lS,lineNumber:67,columnNumber:7},this)]},void 0,!0,{fileName:lS,lineNumber:65,columnNumber:5},this)}var _S={settingsError:`_settingsError_1jwkp_1`},vS=`/home/runner/work/p-backlog/p-backlog/src/web/app/LanguageLoader.tsx`,yS=kt(({app:e})=>e.bootSettingsError),bS=kt(({ui:e})=>e.retry),xS=kt(({ui:e})=>e.retrying);function SS({children:e}){let t=Ee(),n=_n(t),r=t.data?.language;return r===void 0?n===null?null:(0,D.jsxDEV)(CS,{retrying:t.isFetching,onRetry:()=>void t.refetch()},void 0,!1,{fileName:vS,lineNumber:21,columnNumber:10},this):(0,D.jsxDEV)(ke,{language:r,children:e},void 0,!1,{fileName:vS,lineNumber:19,columnNumber:38},this)}function CS({retrying:e,onRetry:t}){return(0,D.jsxDEV)(He,{className:_S.settingsError,role:`alert`,children:[(0,D.jsxDEV)(`p`,{children:yS},void 0,!1,{fileName:vS,lineNumber:27,columnNumber:7},this),(0,D.jsxDEV)(an,{busy:e,onClick:t,children:e?xS:bS},void 0,!1,{fileName:vS,lineNumber:28,columnNumber:7},this)]},void 0,!0,{fileName:vS,lineNumber:26,columnNumber:5},this)}function wS({retries:e=1}={}){return new Lt({defaultOptions:{queries:{networkMode:`always`,retry:(t,n)=>t<e&&TS(n)},mutations:{networkMode:`always`}}})}function TS(e){let t=n(e);return t===`unreachable`||t===`serverFailure`}var ES=`/home/runner/work/p-backlog/p-backlog/src/web/start.tsx`;function DS(){let e=document.getElementById(`root`);if(!e)throw Error(`root element is missing`);let t=St(pS);(0,Wt.createRoot)(e).render((0,D.jsxDEV)(E.StrictMode,{children:(0,D.jsxDEV)(_e,{client:wS(),children:(0,D.jsxDEV)(tt,{api:S,children:(0,D.jsxDEV)(SS,{children:(0,D.jsxDEV)(ft,{router:t},void 0,!1,{fileName:ES,lineNumber:22,columnNumber:13},this)},void 0,!1,{fileName:ES,lineNumber:21,columnNumber:11},this)},void 0,!1,{fileName:ES,lineNumber:20,columnNumber:9},this)},void 0,!1,{fileName:ES,lineNumber:19,columnNumber:7},this)},void 0,!1,{fileName:ES,lineNumber:18,columnNumber:5},this))}export{br as a,Dn as c,un as d,Jt as f,Vt as h,$g as i,Cn as l,Gt as m,h_ as n,dr as o,qt as p,Ig as r,Nn as s,DS as startApp,uv as t,wn as u};