@winspan/claude-forge 3.6.39 → 3.6.43

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 (135) hide show
  1. package/dist/convention/types.d.ts +15 -5
  2. package/dist/convention/types.d.ts.map +1 -1
  3. package/dist/daemon/engine-registry.d.ts.map +1 -1
  4. package/dist/daemon/engine-registry.js +6 -0
  5. package/dist/daemon/engine-registry.js.map +1 -1
  6. package/dist/daemon/handler-context.d.ts +5 -1
  7. package/dist/daemon/handler-context.d.ts.map +1 -1
  8. package/dist/daemon/handlers/post-tool-use-handler.d.ts.map +1 -1
  9. package/dist/daemon/handlers/post-tool-use-handler.js +59 -2
  10. package/dist/daemon/handlers/post-tool-use-handler.js.map +1 -1
  11. package/dist/daemon/handlers/pre-tool-use-handler.d.ts.map +1 -1
  12. package/dist/daemon/handlers/pre-tool-use-handler.js +25 -2
  13. package/dist/daemon/handlers/pre-tool-use-handler.js.map +1 -1
  14. package/dist/daemon/handlers/session-cleanup.d.ts +2 -0
  15. package/dist/daemon/handlers/session-cleanup.d.ts.map +1 -1
  16. package/dist/daemon/handlers/session-cleanup.js +20 -0
  17. package/dist/daemon/handlers/session-cleanup.js.map +1 -1
  18. package/dist/daemon/handlers/stop-handler.d.ts.map +1 -1
  19. package/dist/daemon/handlers/stop-handler.js +1 -0
  20. package/dist/daemon/handlers/stop-handler.js.map +1 -1
  21. package/dist/pipeline/completion-gate.d.ts +1 -0
  22. package/dist/pipeline/completion-gate.d.ts.map +1 -1
  23. package/dist/pipeline/completion-gate.js +43 -3
  24. package/dist/pipeline/completion-gate.js.map +1 -1
  25. package/dist/pipeline/completion-verifier.d.ts +75 -0
  26. package/dist/pipeline/completion-verifier.d.ts.map +1 -0
  27. package/dist/pipeline/completion-verifier.js +217 -0
  28. package/dist/pipeline/completion-verifier.js.map +1 -0
  29. package/dist/pipeline/diagnosis-service.d.ts +43 -0
  30. package/dist/pipeline/diagnosis-service.d.ts.map +1 -0
  31. package/dist/pipeline/diagnosis-service.js +136 -0
  32. package/dist/pipeline/diagnosis-service.js.map +1 -0
  33. package/dist/pipeline/execution-engine.d.ts +79 -0
  34. package/dist/pipeline/execution-engine.d.ts.map +1 -0
  35. package/dist/pipeline/execution-engine.js +227 -0
  36. package/dist/pipeline/execution-engine.js.map +1 -0
  37. package/dist/pipeline/node-type-sync.d.ts.map +1 -1
  38. package/dist/pipeline/node-type-sync.js +25 -22
  39. package/dist/pipeline/node-type-sync.js.map +1 -1
  40. package/dist/pipeline/plan-service.d.ts +58 -0
  41. package/dist/pipeline/plan-service.d.ts.map +1 -0
  42. package/dist/pipeline/plan-service.js +382 -0
  43. package/dist/pipeline/plan-service.js.map +1 -0
  44. package/dist/pipeline/strategy-selector.d.ts +41 -0
  45. package/dist/pipeline/strategy-selector.d.ts.map +1 -0
  46. package/dist/pipeline/strategy-selector.js +112 -0
  47. package/dist/pipeline/strategy-selector.js.map +1 -0
  48. package/dist/pipeline/template-evolver.d.ts +45 -0
  49. package/dist/pipeline/template-evolver.d.ts.map +1 -0
  50. package/dist/pipeline/template-evolver.js +223 -0
  51. package/dist/pipeline/template-evolver.js.map +1 -0
  52. package/dist/storage/repositories/node-attempt-repository.d.ts +29 -0
  53. package/dist/storage/repositories/node-attempt-repository.d.ts.map +1 -0
  54. package/dist/storage/repositories/node-attempt-repository.js +57 -0
  55. package/dist/storage/repositories/node-attempt-repository.js.map +1 -0
  56. package/dist/storage/repositories/pipeline-plan-repository.d.ts +75 -0
  57. package/dist/storage/repositories/pipeline-plan-repository.d.ts.map +1 -0
  58. package/dist/storage/repositories/pipeline-plan-repository.js +123 -0
  59. package/dist/storage/repositories/pipeline-plan-repository.js.map +1 -0
  60. package/dist/storage/repositories/template-evolution-repository.d.ts +39 -0
  61. package/dist/storage/repositories/template-evolution-repository.d.ts.map +1 -0
  62. package/dist/storage/repositories/template-evolution-repository.js +83 -0
  63. package/dist/storage/repositories/template-evolution-repository.js.map +1 -0
  64. package/dist/storage/sqlite.d.ts +8 -0
  65. package/dist/storage/sqlite.d.ts.map +1 -1
  66. package/dist/storage/sqlite.js +13 -0
  67. package/dist/storage/sqlite.js.map +1 -1
  68. package/dist/web/routes/evolution.d.ts +4 -0
  69. package/dist/web/routes/evolution.d.ts.map +1 -0
  70. package/dist/web/routes/evolution.js +61 -0
  71. package/dist/web/routes/evolution.js.map +1 -0
  72. package/dist/web/routes/plans.d.ts +5 -0
  73. package/dist/web/routes/plans.d.ts.map +1 -0
  74. package/dist/web/routes/plans.js +163 -0
  75. package/dist/web/routes/plans.js.map +1 -0
  76. package/dist/web/routes/templates.d.ts +4 -0
  77. package/dist/web/routes/templates.d.ts.map +1 -0
  78. package/dist/web/routes/templates.js +117 -0
  79. package/dist/web/routes/templates.js.map +1 -0
  80. package/dist/web/server.d.ts.map +1 -1
  81. package/dist/web/server.js +6 -0
  82. package/dist/web/server.js.map +1 -1
  83. package/dist/web-static/assets/Analytics-Bo74j97W.js +1 -0
  84. package/dist/web-static/assets/BatchProgress-BQ533tSf.js +1 -0
  85. package/dist/web-static/assets/{Breadcrumb-DbDeWYcH.js → Breadcrumb-DtfwnOx6.js} +1 -1
  86. package/dist/web-static/assets/{Config-yTRFpmlP.js → Config-DhfQsbT1.js} +1 -1
  87. package/dist/web-static/assets/{ConfirmDialog-CH1HyRaY.js → ConfirmDialog-CVzB7X5y.js} +1 -1
  88. package/dist/web-static/assets/{Conventions-DaqIk41m.js → Conventions-BobuQiOk.js} +1 -1
  89. package/dist/web-static/assets/Dashboard-Bj28rnDe.js +1 -0
  90. package/dist/web-static/assets/{ErrorState-HW0OjEYK.js → ErrorState-DXHA8lr8.js} +1 -1
  91. package/dist/web-static/assets/Events-C0y7WcDP.js +1 -0
  92. package/dist/web-static/assets/Evolution-DimZAXFS.js +1 -0
  93. package/dist/web-static/assets/Knowledge-Y1lX6vor.js +2 -0
  94. package/dist/web-static/assets/{NodeTypes-B5E6NYKn.js → NodeTypes-DyrDqhBp.js} +1 -1
  95. package/dist/web-static/assets/{Pagination-ooTI9JPa.js → Pagination-lp8b_3NR.js} +1 -1
  96. package/dist/web-static/assets/{PipelineDetail-DCnqD5lr.js → PipelineDetail-DGKz18zu.js} +3 -3
  97. package/dist/web-static/assets/{PipelineTemplates-CxGoLw6Q.js → PipelineTemplates-D4zvL6I1.js} +1 -1
  98. package/dist/web-static/assets/Pipelines-CR9oD3Xy.js +2 -0
  99. package/dist/web-static/assets/ProjectDetail-RfdtEvTT.js +1 -0
  100. package/dist/web-static/assets/Projects-RGIPdiJn.js +1 -0
  101. package/dist/web-static/assets/Quality-BdvL1VQn.js +3 -0
  102. package/dist/web-static/assets/{SessionDetail-DleCNmQH.js → SessionDetail-BNDIfmmq.js} +1 -1
  103. package/dist/web-static/assets/{Sessions-Dz6xFq_4.js → Sessions-CorfQV78.js} +2 -2
  104. package/dist/web-static/assets/{BatchProgress-CIrC9RcC.js → Skeleton-B7PVDJJ_.js} +1 -1
  105. package/dist/web-static/assets/Skills-BJt0OrKj.js +1 -0
  106. package/dist/web-static/assets/TemplateDetail-DOfBYdQ3.js +1 -0
  107. package/dist/web-static/assets/Templates-Cp3yC5tv.js +1 -0
  108. package/dist/web-static/assets/{client-B_-7qCOP.js → client-BhcjNvkG.js} +1 -1
  109. package/dist/web-static/assets/index-CqwJts5v.css +2 -0
  110. package/dist/web-static/assets/index-DdmJVOxm.js +2 -0
  111. package/dist/web-static/assets/{ui-B2gvOcFY.js → ui-CDL3BZ13.js} +1 -1
  112. package/dist/web-static/assets/useDebounce-DNfPs3Tv.js +1 -0
  113. package/dist/web-static/assets/vendor-DRGPi8ui.js +9 -0
  114. package/dist/web-static/assets/{vendor-charts-BXsEmmv5.js → vendor-charts-9eVsQvUV.js} +4 -4
  115. package/dist/web-static/assets/{vendor-editor-DYIoTHFO.js → vendor-editor-B1NX2ipj.js} +1 -1
  116. package/dist/web-static/assets/vendor-flow-srkes8If.js +7 -0
  117. package/dist/web-static/assets/{vendor-motion-BsfSkSjj.js → vendor-motion-CQmdgnI8.js} +2 -2
  118. package/dist/web-static/assets/{vendor-query-BF-uT_c5.js → vendor-query-DqPOMnuX.js} +1 -1
  119. package/dist/web-static/assets/{vendor-react-CXfI0Tes.js → vendor-react-DJI9oneq.js} +1 -1
  120. package/dist/web-static/index.html +11 -11
  121. package/package.json +2 -1
  122. package/dist/web-static/assets/Analytics-BTMAlQBr.js +0 -1
  123. package/dist/web-static/assets/Dashboard-BS61GjKa.js +0 -1
  124. package/dist/web-static/assets/Events-DAms_1fs.js +0 -1
  125. package/dist/web-static/assets/Knowledge-CZhuou1K.js +0 -2
  126. package/dist/web-static/assets/Pipelines-DEuVx4hF.js +0 -2
  127. package/dist/web-static/assets/ProjectDetail-Dn01H3zi.js +0 -1
  128. package/dist/web-static/assets/Projects-D5-BfuFU.js +0 -1
  129. package/dist/web-static/assets/Quality-wvfdPtGB.js +0 -3
  130. package/dist/web-static/assets/Skills-CpHL-tyW.js +0 -1
  131. package/dist/web-static/assets/index-CN_edVMt.js +0 -2
  132. package/dist/web-static/assets/index-DLMLziRH.css +0 -2
  133. package/dist/web-static/assets/useDebounce-Bo1fLB5L.js +0 -1
  134. package/dist/web-static/assets/vendor-BpBCrKSP.js +0 -9
  135. package/dist/web-static/assets/vendor-flow-D-_WxBha.js +0 -7
@@ -1,9 +0,0 @@
1
- import{a as e,r as t,t as n}from"./rolldown-runtime-COnpUsM8.js";var r=n((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ee=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function j(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function M(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,M(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+A(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ee,`$&/`)+`/`),M(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ee,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+A(a,u),c+=M(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+A(a,u++),c+=M(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return M(j(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function te(e,t,n){if(e==null)return e;var r=[],i=0;return M(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ne(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var N=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)},re={map:te,forEach:function(e,t,n){te(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return te(e,function(){t++}),t},toArray:function(e){return te(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=re,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ne}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,N)}catch(e){N(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.5`})),i=n(((e,t)=>{t.exports=r()})),a=n((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&A(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&A(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,ee=k.port2;k.port1.onmessage=D,O=function(){ee.postMessage(null)}}else O=function(){_(D,0)};function A(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,A(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),o=n(((e,t)=>{t.exports=a()}));function s(e,t){return function(){return e.apply(t,arguments)}}var{toString:c}=Object.prototype,{getPrototypeOf:l}=Object,{iterator:u,toStringTag:d}=Symbol,f=(e=>t=>{let n=c.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),p=e=>(e=e.toLowerCase(),t=>f(t)===e),m=e=>t=>typeof t===e,{isArray:h}=Array,g=m(`undefined`);function _(e){return e!==null&&!g(e)&&e.constructor!==null&&!g(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var v=p(`ArrayBuffer`);function y(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&v(e.buffer),t}var b=m(`string`),x=m(`function`),S=m(`number`),C=e=>typeof e==`object`&&!!e,w=e=>e===!0||e===!1,T=e=>{if(f(e)!==`object`)return!1;let t=l(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(d in e)&&!(u in e)},E=e=>{if(!C(e)||_(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},D=p(`Date`),O=p(`File`),k=e=>!!(e&&e.uri!==void 0),ee=e=>e&&e.getParts!==void 0,A=p(`Blob`),j=p(`FileList`),M=e=>C(e)&&x(e.pipe);function te(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var ne=te(),N=ne.FormData===void 0?void 0:ne.FormData,re=e=>{if(!e)return!1;if(N&&e instanceof N)return!0;let t=l(e);if(!t||t===Object.prototype||!x(e.append))return!1;let n=f(e);return n===`formdata`||n===`object`&&x(e.toString)&&e.toString()===`[object FormData]`},ie=p(`URLSearchParams`),[ae,oe,se,ce]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(p),le=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function ue(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),h(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(_(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function P(e,t){if(_(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}var de=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,fe=e=>!g(e)&&e!==de;function pe(){let{caseless:e,skipUndefined:t}=fe(this)&&this||{},n={},r=(r,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=e&&P(n,i)||i;T(n[a])&&T(r)?n[a]=pe(n[a],r):T(r)?n[a]=pe({},r):h(r)?n[a]=r.slice():(!t||!g(r))&&(n[a]=r)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ue(arguments[e],r);return n}var me=(e,t,n,{allOwnKeys:r}={})=>(ue(t,(t,r)=>{n&&x(t)?Object.defineProperty(e,r,{value:s(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),he=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ge=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,`constructor`,{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,`super`,{value:t.prototype}),n&&Object.assign(e.prototype,n)},_e=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&l(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ve=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},ye=e=>{if(!e)return null;if(h(e))return e;let t=e.length;if(!S(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},be=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&l(Uint8Array)),xe=(e,t)=>{let n=(e&&e[u]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},Se=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ce=p(`HTMLFormElement`),we=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),Te=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ee=p(`RegExp`),De=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};ue(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},Oe=e=>{De(e,(t,n)=>{if(x(e)&&[`arguments`,`caller`,`callee`].indexOf(n)!==-1)return!1;let r=e[n];if(x(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},ke=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return h(e)?r(e):r(String(e).split(t)),n},Ae=()=>{},je=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Me(e){return!!(e&&x(e.append)&&e[d]===`FormData`&&e[u])}var Ne=e=>{let t=Array(10),n=(e,r)=>{if(C(e)){if(t.indexOf(e)>=0)return;if(_(e))return e;if(!(`toJSON`in e)){t[r]=e;let i=h(e)?[]:{};return ue(e,(e,t)=>{let a=n(e,r+1);!g(a)&&(i[t]=a)}),t[r]=void 0,i}}return e};return n(e,0)},Pe=p(`AsyncFunction`),Fe=e=>e&&(C(e)||x(e))&&x(e.then)&&x(e.catch),Ie=((e,t)=>e?setImmediate:t?((e,t)=>(de.addEventListener(`message`,({source:n,data:r})=>{n===de&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),de.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,x(de.postMessage)),F={isArray:h,isArrayBuffer:v,isBuffer:_,isFormData:re,isArrayBufferView:y,isString:b,isNumber:S,isBoolean:w,isObject:C,isPlainObject:T,isEmptyObject:E,isReadableStream:ae,isRequest:oe,isResponse:se,isHeaders:ce,isUndefined:g,isDate:D,isFile:O,isReactNativeBlob:k,isReactNative:ee,isBlob:A,isRegExp:Ee,isFunction:x,isStream:M,isURLSearchParams:ie,isTypedArray:be,isFileList:j,forEach:ue,merge:pe,extend:me,trim:le,stripBOM:he,inherits:ge,toFlatObject:_e,kindOf:f,kindOfTest:p,endsWith:ve,toArray:ye,forEachEntry:xe,matchAll:Se,isHTMLForm:Ce,hasOwnProperty:Te,hasOwnProp:Te,reduceDescriptors:De,freezeMethods:Oe,toObjectSet:ke,toCamelCase:we,noop:Ae,toFiniteNumber:je,findKey:P,global:de,isContextDefined:fe,isSpecCompliantForm:Me,toJSONObject:Ne,isAsyncFn:Pe,isThenable:Fe,setImmediate:Ie,asap:typeof queueMicrotask<`u`?queueMicrotask.bind(de):typeof process<`u`&&process.nextTick||Ie,isIterable:e=>e!=null&&x(e[u])},I=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return s.cause=t,s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,`message`,{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:F.toJSONObject(this.config),code:this.code,status:this.status}}};I.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,I.ERR_BAD_OPTION=`ERR_BAD_OPTION`,I.ECONNABORTED=`ECONNABORTED`,I.ETIMEDOUT=`ETIMEDOUT`,I.ERR_NETWORK=`ERR_NETWORK`,I.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,I.ERR_DEPRECATED=`ERR_DEPRECATED`,I.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,I.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,I.ERR_CANCELED=`ERR_CANCELED`,I.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,I.ERR_INVALID_URL=`ERR_INVALID_URL`,I.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function Le(e){return F.isPlainObject(e)||F.isArray(e)}function Re(e){return F.endsWith(e,`[]`)?e.slice(0,-2):e}function ze(e,t,n){return e?e.concat(t).map(function(e,t){return e=Re(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function Be(e){return F.isArray(e)&&!e.some(Le)}var Ve=F.toFlatObject(F,{},null,function(e){return/^is[A-Z]/.test(e)});function He(e,t,n){if(!F.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=F.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!F.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||d,a=n.dots,o=n.indexes,s=n.Blob||typeof Blob<`u`&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,l=s&&F.isSpecCompliantForm(t);if(!F.isFunction(i))throw TypeError(`visitor must be a function`);function u(e){if(e===null)return``;if(F.isDate(e))return e.toISOString();if(F.isBoolean(e))return e.toString();if(!l&&F.isBlob(e))throw new I(`Blob is not supported. Use a Buffer instead.`);return F.isArrayBuffer(e)||F.isTypedArray(e)?l&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function d(e,n,i){let s=e;if(F.isReactNative(t)&&F.isReactNativeBlob(e))return t.append(ze(i,n,a),u(e)),!1;if(e&&!i&&typeof e==`object`){if(F.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(F.isArray(e)&&Be(e)||(F.isFileList(e)||F.endsWith(n,`[]`))&&(s=F.toArray(e)))return n=Re(n),s.forEach(function(e,r){!(F.isUndefined(e)||e===null)&&t.append(o===!0?ze([n],r,a):o===null?n:n+`[]`,u(e))}),!1}return Le(e)?!0:(t.append(ze(i,n,a),u(e)),!1)}let f=[],p=Object.assign(Ve,{defaultVisitor:d,convertValue:u,isVisitable:Le});function m(e,n,r=0){if(!F.isUndefined(e)){if(r>c)throw new I(`Object is too deeply nested (`+r+` levels). Max depth: `+c,I.ERR_FORM_DATA_DEPTH_EXCEEDED);if(f.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));f.push(e),F.forEach(e,function(e,a){(!(F.isUndefined(e)||e===null)&&i.call(t,e,F.isString(a)?a.trim():a,n,p))===!0&&m(e,n?n.concat(a):[a],r+1)}),f.pop()}}if(!F.isObject(e))throw TypeError(`data must be an object`);return m(e),t}function Ue(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function We(e,t){this._pairs=[],e&&He(e,this,t)}var Ge=We.prototype;Ge.append=function(e,t){this._pairs.push([e,t])},Ge.toString=function(e){let t=e?function(t){return e.call(this,t,Ue)}:Ue;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function Ke(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function qe(e,t,n){if(!t)return e;let r=n&&n.encode||Ke,i=F.isFunction(n)?{serialize:n}:n,a=i&&i.serialize,o;if(o=a?a(t,i):F.isURLSearchParams(t)?t.toString():new We(t,i).toString(r),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var Je=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){F.forEach(this.handlers,function(t){t!==null&&e(t)})}},Ye={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Xe={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:We,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},Ze=t({hasBrowserEnv:()=>Qe,hasStandardBrowserEnv:()=>et,hasStandardBrowserWebWorkerEnv:()=>tt,navigator:()=>$e,origin:()=>nt}),Qe=typeof window<`u`&&typeof document<`u`,$e=typeof navigator==`object`&&navigator||void 0,et=Qe&&(!$e||[`ReactNative`,`NativeScript`,`NS`].indexOf($e.product)<0),tt=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,nt=Qe&&window.location.href||`http://localhost`,rt={...Ze,...Xe};function it(e,t){return He(e,new rt.classes.URLSearchParams,{visitor:function(e,t,n,r){return rt.isNode&&F.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}function at(e){return F.matchAll(/\w+|\[(\w*)]/g,e).map(e=>e[0]===`[]`?``:e[1]||e[0])}function ot(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function st(e){function t(e,n,r,i){let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&F.isArray(r)?r.length:a,s?(F.hasOwnProp(r,a)?r[a]=F.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!r[a]||!F.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&F.isArray(r[a])&&(r[a]=ot(r[a])),!o)}if(F.isFormData(e)&&F.isFunction(e.entries)){let n={};return F.forEachEntry(e,(e,r)=>{t(at(e),r,n,0)}),n}return null}var ct=(e,t)=>e!=null&&F.hasOwnProp(e,t)?e[t]:void 0;function lt(e,t,n){if(F.isString(e))try{return(t||JSON.parse)(e),F.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var ut={transitional:Ye,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=F.isObject(e);if(i&&F.isHTMLForm(e)&&(e=new FormData(e)),F.isFormData(e))return r?JSON.stringify(st(e)):e;if(F.isArrayBuffer(e)||F.isBuffer(e)||F.isStream(e)||F.isFile(e)||F.isBlob(e)||F.isReadableStream(e))return e;if(F.isArrayBufferView(e))return e.buffer;if(F.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=ct(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return it(e,t).toString();if((a=F.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=ct(this,`env`),r=n&&n.FormData;return He(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),lt(e)):e}],transformResponse:[function(e){let t=ct(this,`transitional`)||ut.transitional,n=t&&t.forcedJSONParsing,r=ct(this,`responseType`),i=r===`json`;if(F.isResponse(e)||F.isReadableStream(e))return e;if(e&&F.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,ct(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?I.from(e,I.ERR_BAD_RESPONSE,this,null,ct(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};F.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`],e=>{ut.headers[e]={}});var dt=F.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),ft=e=>{let t={},n,r,i;return e&&e.split(`
2
- `).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&dt[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t},pt=Symbol(`internals`),mt=/[^\x09\x20-\x7E\x80-\xFF]/g;function ht(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}function gt(e){return e&&String(e).trim().toLowerCase()}function _t(e){return ht(e.replace(mt,``))}function vt(e){return e===!1||e==null?e:F.isArray(e)?e.map(vt):_t(String(e))}function yt(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var bt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xt(e,t,n,r,i){if(F.isFunction(r))return r.call(this,t,n);if(i&&(t=n),F.isString(t)){if(F.isString(r))return t.indexOf(r)!==-1;if(F.isRegExp(r))return r.test(t)}}function St(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function Ct(e,t){let n=F.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var wt=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=gt(t);if(!i)throw Error(`header name must be a non-empty string`);let a=F.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=vt(e))}let a=(e,t)=>F.forEach(e,(e,n)=>i(e,n,t));if(F.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(F.isString(e)&&(e=e.trim())&&!bt(e))a(ft(e),t);else if(F.isObject(e)&&F.isIterable(e)){let n={},r,i;for(let t of e){if(!F.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);n[i=t[0]]=(r=n[i])?F.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=gt(e),e){let n=F.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return yt(e);if(F.isFunction(t))return t.call(this,e,n);if(F.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=gt(e),e){let n=F.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||xt(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=gt(e),e){let i=F.findKey(n,e);i&&(!t||xt(n,n[i],i,t))&&(delete n[i],r=!0)}}return F.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||xt(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return F.forEach(this,(r,i)=>{let a=F.findKey(n,i);if(a){t[a]=vt(r),delete t[i];return}let o=e?St(i):String(i).trim();o!==i&&delete t[i],t[o]=vt(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return F.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&F.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
3
- `)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[pt]=this[pt]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=gt(e);t[r]||(Ct(n,e),t[r]=!0)}return F.isArray(e)?e.forEach(r):r(e),this}};wt.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),F.reduceDescriptors(wt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),F.freezeMethods(wt);function Tt(e,t){let n=this||ut,r=t||n,i=wt.from(r.headers),a=r.data;return F.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Et(e){return!!(e&&e.__CANCEL__)}var Dt=class extends I{constructor(e,t,n){super(e??`canceled`,I.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function Ot(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new I(`Request failed with status code `+n.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function kt(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||``}function At(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function jt(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var Mt=(e,t,n=3)=>{let r=0,i=At(50,250);return jt(n=>{let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=o==null?a:Math.min(a,o),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},Nt=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Pt=e=>(...t)=>F.asap(()=>e(...t)),Ft=rt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,rt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(rt.origin),rt.navigator&&/(msie|trident)/i.test(rt.navigator.userAgent)):()=>!0,It=rt.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];F.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),F.isString(r)&&s.push(`path=${r}`),F.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),F.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.match(RegExp(`(?:^|; )`+e+`=([^;]*)`));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function Lt(e){return typeof e==`string`?/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e):!1}function Rt(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}function zt(e,t,n){let r=!Lt(t);return e&&(r||n===!1)?Rt(e,t):t}var Bt=e=>e instanceof wt?{...e}:e;function Vt(e,t){t||={};let n={};function r(e,t,n,r){return F.isPlainObject(e)&&F.isPlainObject(t)?F.merge.call({caseless:r},e,t):F.isPlainObject(t)?F.merge({},t):F.isArray(t)?t.slice():t}function i(e,t,n,i){if(!F.isUndefined(t))return r(e,t,n,i);if(!F.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!F.isUndefined(t))return r(void 0,t)}function o(e,t){if(!F.isUndefined(t))return r(void 0,t);if(!F.isUndefined(e))return r(void 0,e)}function s(n,i,a){if(F.hasOwnProp(t,a))return r(n,i);if(F.hasOwnProp(e,a))return r(void 0,n)}let c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>i(Bt(e),Bt(t),n,!0)};return F.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=F.hasOwnProp(c,r)?c[r]:i,o=a(F.hasOwnProp(e,r)?e[r]:void 0,F.hasOwnProp(t,r)?t[r]:void 0,r);F.isUndefined(o)&&a!==s||(n[r]=o)}),n}var Ht=e=>{let t=Vt({},e),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=wt.from(o),t.url=qe(zt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set(`Authorization`,`Basic `+btoa((s.username||``)+`:`+(s.password?unescape(encodeURIComponent(s.password)):``))),F.isFormData(n)){if(rt.hasStandardBrowserEnv||rt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(F.isFunction(n.getHeaders)){let e=n.getHeaders(),t=[`content-type`,`content-length`];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)})}}if(rt.hasStandardBrowserEnv&&(F.isFunction(r)&&(r=r(t)),r===!0||r==null&&Ft(t.url))){let e=i&&a&&It.read(a);e&&o.set(i,e)}return t},Ut=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=Ht(e),i=r.data,a=wt.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=wt.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());Ot(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf(`file:`)===0)||setTimeout(g)},h.onabort=function(){h&&=(n(new I(`Request aborted`,I.ECONNABORTED,e,h)),null)},h.onerror=function(t){let r=new I(t&&t.message?t.message:`Network Error`,I.ERR_NETWORK,e,h);r.event=t||null,n(r),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||Ye;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new I(t,i.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,e,h)),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&F.forEach(a.toJSON(),function(e,t){h.setRequestHeader(t,e)}),F.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=Mt(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=Mt(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new Dt(null,e,h):t),h.abort(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=kt(r.url);if(_&&rt.protocols.indexOf(_)===-1){n(new I(`Unsupported protocol `+_+`:`,I.ERR_BAD_REQUEST,e));return}h.send(i||null)})},Wt=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController,r,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof I?t:new Dt(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new I(`timeout of ${t}ms exceeded`,I.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i));let{signal:s}=n;return s.unsubscribe=()=>F.asap(o),s}},Gt=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Kt=async function*(e,t){for await(let n of qt(e))yield*Gt(n,t)},qt=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Jt=(e,t,n,r)=>{let i=Kt(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},Yt=64*1024,{isFunction:Xt}=F,Zt=(({Request:e,Response:t})=>({Request:e,Response:t}))(F.global),{ReadableStream:Qt,TextEncoder:$t}=F.global,en=(e,...t)=>{try{return!!e(...t)}catch{return!1}},tn=e=>{e=F.merge.call({skipUndefined:!0},Zt,e);let{fetch:t,Request:n,Response:r}=e,i=t?Xt(t):typeof fetch==`function`,a=Xt(n),o=Xt(r);if(!i)return!1;let s=i&&Xt(Qt),c=i&&(typeof $t==`function`?(e=>t=>e.encode(t))(new $t):async e=>new Uint8Array(await new n(e).arrayBuffer())),l=a&&s&&en(()=>{let e=!1,t=new n(rt.origin,{body:new Qt,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),u=o&&s&&en(()=>F.isReadableStream(new r(``).body)),d={stream:u&&(e=>e.body)};i&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!d[e]&&(d[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new I(`Response type '${e}' is not supported`,I.ERR_NOT_SUPPORT,n)})});let f=async e=>{if(e==null)return 0;if(F.isBlob(e))return e.size;if(F.isSpecCompliantForm(e))return(await new n(rt.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(F.isArrayBufferView(e)||F.isArrayBuffer(e))return e.byteLength;if(F.isURLSearchParams(e)&&(e+=``),F.isString(e))return(await c(e)).byteLength},p=async(e,t)=>F.toFiniteNumber(e.getContentLength())??f(t);return async e=>{let{url:i,method:o,data:s,signal:c,cancelToken:f,timeout:m,onDownloadProgress:h,onUploadProgress:g,responseType:_,headers:v,withCredentials:y=`same-origin`,fetchOptions:b}=Ht(e),x=t||fetch;_=_?(_+``).toLowerCase():`text`;let S=Wt([c,f&&f.toAbortSignal()],m),C=null,w=S&&S.unsubscribe&&(()=>{S.unsubscribe()}),T;try{if(g&&l&&o!==`get`&&o!==`head`&&(T=await p(v,s))!==0){let e=new n(i,{method:`POST`,body:s,duplex:`half`}),t;if(F.isFormData(s)&&(t=e.headers.get(`content-type`))&&v.setContentType(t),e.body){let[t,n]=Nt(T,Mt(Pt(g)));s=Jt(e.body,Yt,t,n)}}F.isString(y)||(y=y?`include`:`omit`);let t=a&&`credentials`in n.prototype;if(F.isFormData(s)){let e=v.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&v.delete(`content-type`)}let c={...b,signal:S,method:o.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:`half`,credentials:t?y:void 0};C=a&&new n(i,c);let f=await(a?x(C,b):x(i,c)),m=u&&(_===`stream`||_===`response`);if(u&&(h||m&&w)){let e={};[`status`,`statusText`,`headers`].forEach(t=>{e[t]=f[t]});let t=F.toFiniteNumber(f.headers.get(`content-length`)),[n,i]=h&&Nt(t,Mt(Pt(h),!0))||[];f=new r(Jt(f.body,Yt,n,()=>{i&&i(),w&&w()}),e)}_||=`text`;let E=await d[F.findKey(d,_)||`text`](f,e);return!m&&w&&w(),await new Promise((t,n)=>{Ot(t,n,{data:E,headers:wt.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:C})})}catch(t){throw w&&w(),t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)?Object.assign(new I(`Network Error`,I.ERR_NETWORK,e,C,t&&t.response),{cause:t.cause||t}):I.from(t,t&&t.code,e,C,t&&t.response)}}},nn=new Map,rn=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=nn;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:tn(t)),l=c;return c};rn();var an={http:null,xhr:Ut,fetch:{get:rn}};F.forEach(an,(e,t)=>{if(e){try{Object.defineProperty(e,`name`,{value:t})}catch{}Object.defineProperty(e,`adapterName`,{value:t})}});var on=e=>`- ${e}`,sn=e=>F.isFunction(e)||e===null||e===!1;function cn(e,t){e=F.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!sn(r)&&(i=an[(n=String(r)).toLowerCase()],i===void 0))throw new I(`Unknown adapter '${n}'`);if(i&&(F.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new I(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
4
- `+e.map(on).join(`
5
- `):` `+on(e[0]):`as no adapter specified`),`ERR_NOT_SUPPORT`)}return i}var ln={getAdapter:cn,adapters:an};function un(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Dt(null,e)}function dn(e){return un(e),e.headers=wt.from(e.headers),e.data=Tt.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),ln.getAdapter(e.adapter||ut.adapter,e)(e).then(function(t){return un(e),t.data=Tt.call(e,e.transformResponse,t),t.headers=wt.from(t.headers),t},function(t){return Et(t)||(un(e),t&&t.response&&(t.response.data=Tt.call(e,e.transformResponse,t.response),t.response.headers=wt.from(t.response.headers))),Promise.reject(t)})}var fn=`1.15.1`,pn={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{pn[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var mn={};pn.transitional=function(e,t,n){function r(e,t){return`[Axios v`+fn+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new I(r(i,` has been removed`+(t?` in `+t:``)),I.ERR_DEPRECATED);return t&&!mn[i]&&(mn[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),e?e(n,i,a):!0}},pn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function hn(e,t,n){if(typeof e!=`object`)throw new I(`options must be an object`,I.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=t[a];if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new I(`option `+a+` must be `+n,I.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new I(`Unknown option `+a,I.ERR_BAD_OPTION)}}var gn={assertOptions:hn,validators:pn},_n=gn.validators,vn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Je,response:new Je}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=(()=>{if(!t.stack)return``;let e=t.stack.indexOf(`
6
- `);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(`
7
- `),r=t===-1?-1:n.indexOf(`
8
- `,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=`
9
- `+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Vt(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&gn.assertOptions(n,{silentJSONParsing:_n.transitional(_n.boolean),forcedJSONParsing:_n.transitional(_n.boolean),clarifyTimeoutError:_n.transitional(_n.boolean),legacyInterceptorReqResOrdering:_n.transitional(_n.boolean)},!1),r!=null&&(F.isFunction(r)?t.paramsSerializer={serialize:r}:gn.assertOptions(r,{encode:_n.function,serialize:_n.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),gn.assertOptions(t,{baseUrl:_n.spelling(`baseURL`),withXsrfToken:_n.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&F.merge(i.common,i[t.method]);i&&F.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=wt.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||Ye;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[dn.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=dn.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Vt(this.defaults,e),qe(zt(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};F.forEach([`delete`,`get`,`head`,`options`],function(e){vn.prototype[e]=function(t,n){return this.request(Vt(n||{},{method:e,url:t,data:(n||{}).data}))}}),F.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(Vt(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}vn.prototype[e]=t(),vn.prototype[e+`Form`]=t(!0)});var yn=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new Dt(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function bn(e){return function(t){return e.apply(null,t)}}function xn(e){return F.isObject(e)&&e.isAxiosError===!0}var Sn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Sn).forEach(([e,t])=>{Sn[t]=e});function Cn(e){let t=new vn(e),n=s(vn.prototype.request,t);return F.extend(n,vn.prototype,t,{allOwnKeys:!0}),F.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Cn(Vt(e,t))},n}var L=Cn(ut);L.Axios=vn,L.CanceledError=Dt,L.CancelToken=yn,L.isCancel=Et,L.VERSION=fn,L.toFormData=He,L.AxiosError=I,L.Cancel=L.CanceledError,L.all=function(e){return Promise.all(e)},L.spread=bn,L.isAxiosError=xn,L.mergeConfig=Vt,L.AxiosHeaders=wt,L.formToJSON=e=>st(F.isHTMLForm(e)?new FormData(e):e),L.getAdapter=ln.getAdapter,L.HttpStatusCode=Sn,L.default=L;var wn=e(i()),Tn=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),En=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Dn=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),On=e=>{let t=Dn(e);return t.charAt(0).toUpperCase()+t.slice(1)},kn={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},An=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},jn=(0,wn.createContext)({}),Mn=()=>(0,wn.useContext)(jn),Nn=(0,wn.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=Mn()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,wn.createElement)(`svg`,{ref:c,...kn,width:t??l??kn.width,height:t??l??kn.height,stroke:e??f,strokeWidth:m,className:Tn(`lucide`,p,i),...!a&&!An(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,wn.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),R=(e,t)=>{let n=(0,wn.forwardRef)(({className:n,...r},i)=>(0,wn.createElement)(Nn,{ref:i,iconNode:t,className:Tn(`lucide-${En(On(e))}`,`lucide-${e}`,n),...r}));return n.displayName=On(e),n},Pn=R(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),Fn=R(`archive`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]),In=R(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),Ln=R(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Rn=R(`arrow-up-down`,[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]),zn=R(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Bn=R(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),Vn=R(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Hn=R(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),Un=R(`calendar`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}]]),Wn=R(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),Gn=R(`check-check`,[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]),Kn=R(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),qn=R(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Jn=R(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Yn=R(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Xn=R(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Zn=R(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Qn=R(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),$n=R(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),er=R(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),tr=R(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),nr=R(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),rr=R(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),ir=R(`command`,[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`,key:`11bfej`}]]),ar=R(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),or=R(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),sr=R(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),cr=R(`dollar-sign`,[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]),lr=R(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),ur=R(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),dr=R(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),fr=R(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),pr=R(`file-code`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),mr=R(`file-pen`,[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]]),hr=R(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),gr=R(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),_r=R(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),vr=R(`folder`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),yr=R(`funnel`,[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]]),br=R(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),xr=R(`git-merge`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M6 21V9a9 9 0 0 0 9 9`,key:`7kw0sc`}]]),Sr=R(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),Cr=R(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),wr=R(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),Tr=R(`layout-dashboard`,[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]),Er=R(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),Dr=R(`link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),Or=R(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),kr=R(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),Ar=R(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),jr=R(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Mr=R(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Nr=R(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),Pr=R(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),Fr=R(`package`,[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]),Ir=R(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),Lr=R(`pen`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),Rr=R(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]),zr=R(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Br=R(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Vr=R(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),Hr=R(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),Ur=R(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),Wr=R(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),Gr=R(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Kr=R(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),qr=R(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Jr=R(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),Yr=R(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),Xr=R(`square-check-big`,[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`,key:`2acyp4`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Zr=R(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),Qr=R(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),$r=R(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),ei=R(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),ti=R(`test-tube`,[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`,key:`125lnx`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}],[`path`,{d:`M14.5 16h-5`,key:`1ox875`}]]),ni=R(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),ri=R(`trending-down`,[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]),ii=R(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),ai=R(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),oi=R(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),si=R(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),ci=R(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),li=R(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),ui=R(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]);function di(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=di(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function fi(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=di(e))&&(r&&(r+=` `),r+=t);return r}var pi=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},mi=(e,t)=>({classGroupId:e,validator:t}),hi=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),gi=`-`,_i=[],vi=`arbitrary..`,yi=e=>{let t=Si(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return xi(e);let n=e.split(gi);return bi(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?pi(i,t):t:i||_i}return n[e]||_i}}},bi=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=bi(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(gi):e.slice(t).join(gi),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},xi=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?vi+r:void 0})(),Si=e=>{let{theme:t,classGroups:n}=e;return Ci(n,t)},Ci=(e,t)=>{let n=hi();for(let r in e){let i=e[r];wi(i,n,r,t)}return n},wi=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Ti(i,t,n,r)}},Ti=(e,t,n,r)=>{if(typeof e==`string`){Ei(e,t,n);return}if(typeof e==`function`){Di(e,t,n,r);return}Oi(e,t,n,r)},Ei=(e,t,n)=>{let r=e===``?t:ki(t,e);r.classGroupId=n},Di=(e,t,n,r)=>{if(Ai(e)){wi(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(mi(n,e))},Oi=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];wi(o,ki(t,a),n,r)}},ki=(e,t)=>{let n=e,r=t.split(gi),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=hi(),n.nextPart.set(t,i)),n=i}return n},Ai=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,ji=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Mi=`!`,Ni=`:`,Pi=[],Fi=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Ii=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Ni){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Mi)?(c=s.slice(0,-1),l=!0):s.startsWith(Mi)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Fi(t,l,c,u)};if(t){let e=t+Ni,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Fi(Pi,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Li=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Ri=e=>({cache:ji(e.cacheSize),parseClassName:Ii(e),sortModifiers:Li(e),...yi(e)}),zi=/\s+/,Bi=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(zi),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+Mi:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},Vi=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Hi(n))&&(i&&(i+=` `),i+=r);return i},Hi=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Hi(e[r]))&&(n&&(n+=` `),n+=t);return n},Ui=(e,...t)=>{let n,r,i,a,o=o=>(n=Ri(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Bi(e,n);return i(e,a),a};return a=o,(...e)=>a(Vi(...e))},Wi=[],z=e=>{let t=t=>t[e]||Wi;return t.isThemeGetter=!0,t},Gi=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ki=/^\((?:(\w[\w-]*):)?(.+)\)$/i,qi=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ji=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yi=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xi=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Zi=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qi=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$i=e=>qi.test(e),B=e=>!!e&&!Number.isNaN(Number(e)),ea=e=>!!e&&Number.isInteger(Number(e)),ta=e=>e.endsWith(`%`)&&B(e.slice(0,-1)),na=e=>Ji.test(e),ra=()=>!0,ia=e=>Yi.test(e)&&!Xi.test(e),aa=()=>!1,oa=e=>Zi.test(e),sa=e=>Qi.test(e),ca=e=>!V(e)&&!H(e),la=e=>wa(e,Oa,aa),V=e=>Gi.test(e),ua=e=>wa(e,ka,ia),da=e=>wa(e,Aa,B),fa=e=>wa(e,Ma,ra),pa=e=>wa(e,ja,aa),ma=e=>wa(e,Ea,aa),ha=e=>wa(e,Da,sa),ga=e=>wa(e,Na,oa),H=e=>Ki.test(e),_a=e=>Ta(e,ka),va=e=>Ta(e,ja),ya=e=>Ta(e,Ea),ba=e=>Ta(e,Oa),xa=e=>Ta(e,Da),Sa=e=>Ta(e,Na,!0),Ca=e=>Ta(e,Ma,!0),wa=(e,t,n)=>{let r=Gi.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ta=(e,t,n=!1)=>{let r=Ki.exec(e);return r?r[1]?t(r[1]):n:!1},Ea=e=>e===`position`||e===`percentage`,Da=e=>e===`image`||e===`url`,Oa=e=>e===`length`||e===`size`||e===`bg-size`,ka=e=>e===`length`,Aa=e=>e===`number`,ja=e=>e===`family-name`,Ma=e=>e===`number`||e===`weight`,Na=e=>e===`shadow`,Pa=Ui(()=>{let e=z(`color`),t=z(`font`),n=z(`text`),r=z(`font-weight`),i=z(`tracking`),a=z(`leading`),o=z(`breakpoint`),s=z(`container`),c=z(`spacing`),l=z(`radius`),u=z(`shadow`),d=z(`inset-shadow`),f=z(`text-shadow`),p=z(`drop-shadow`),m=z(`blur`),h=z(`perspective`),g=z(`aspect`),_=z(`ease`),v=z(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),H,V],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[H,V,c],T=()=>[$i,`full`,`auto`,...w()],E=()=>[ea,`none`,`subgrid`,H,V],D=()=>[`auto`,{span:[`full`,ea,H,V]},ea,H,V],O=()=>[ea,`auto`,H,V],k=()=>[`auto`,`min`,`max`,`fr`,H,V],ee=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],A=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],j=()=>[`auto`,...w()],M=()=>[$i,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],te=()=>[$i,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],ne=()=>[$i,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],N=()=>[e,H,V],re=()=>[...b(),ya,ma,{position:[H,V]}],ie=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ae=()=>[`auto`,`cover`,`contain`,ba,la,{size:[H,V]}],oe=()=>[ta,_a,ua],se=()=>[``,`none`,`full`,l,H,V],ce=()=>[``,B,_a,ua],le=()=>[`solid`,`dashed`,`dotted`,`double`],ue=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],P=()=>[B,ta,ya,ma],de=()=>[``,`none`,m,H,V],fe=()=>[`none`,B,H,V],pe=()=>[`none`,B,H,V],me=()=>[B,H,V],he=()=>[$i,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[na],breakpoint:[na],color:[ra],container:[na],"drop-shadow":[na],ease:[`in`,`out`,`in-out`],font:[ca],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[na],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[na],shadow:[na],spacing:[`px`,B],text:[na],"text-shadow":[na],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,$i,V,H,g]}],container:[`container`],columns:[{columns:[B,V,H,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[ea,`auto`,H,V]}],basis:[{basis:[$i,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[B,$i,`auto`,`initial`,`none`,V]}],grow:[{grow:[``,B,H,V]}],shrink:[{shrink:[``,B,H,V]}],order:[{order:[ea,`first`,`last`,`none`,H,V]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...ee(),`normal`]}],"justify-items":[{"justify-items":[...A(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...A()]}],"align-content":[{content:[`normal`,...ee()]}],"align-items":[{items:[...A(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...A(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...A(),`baseline`]}],"place-self":[{"place-self":[`auto`,...A()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mbs:[{mbs:j()}],mbe:[{mbe:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:M()}],"inline-size":[{inline:[`auto`,...te()]}],"min-inline-size":[{"min-inline":[`auto`,...te()]}],"max-inline-size":[{"max-inline":[`none`,...te()]}],"block-size":[{block:[`auto`,...ne()]}],"min-block-size":[{"min-block":[`auto`,...ne()]}],"max-block-size":[{"max-block":[`none`,...ne()]}],w:[{w:[s,`screen`,...M()]}],"min-w":[{"min-w":[s,`screen`,`none`,...M()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...M()]}],h:[{h:[`screen`,`lh`,...M()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...M()]}],"max-h":[{"max-h":[`screen`,`lh`,...M()]}],"font-size":[{text:[`base`,n,_a,ua]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ca,fa]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,ta,V]}],"font-family":[{font:[va,pa,t]}],"font-features":[{"font-features":[V]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,H,V]}],"line-clamp":[{"line-clamp":[B,`none`,H,da]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,H,V]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,H,V]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...le(),`wavy`]}],"text-decoration-thickness":[{decoration:[B,`from-font`,`auto`,H,ua]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[B,`auto`,H,V]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,H,V]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,H,V]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:ae()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},ea,H,V],radial:[``,H,V],conic:[ea,H,V]},xa,ha]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:se()}],"rounded-s":[{"rounded-s":se()}],"rounded-e":[{"rounded-e":se()}],"rounded-t":[{"rounded-t":se()}],"rounded-r":[{"rounded-r":se()}],"rounded-b":[{"rounded-b":se()}],"rounded-l":[{"rounded-l":se()}],"rounded-ss":[{"rounded-ss":se()}],"rounded-se":[{"rounded-se":se()}],"rounded-ee":[{"rounded-ee":se()}],"rounded-es":[{"rounded-es":se()}],"rounded-tl":[{"rounded-tl":se()}],"rounded-tr":[{"rounded-tr":se()}],"rounded-br":[{"rounded-br":se()}],"rounded-bl":[{"rounded-bl":se()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-bs":[{"border-bs":ce()}],"border-w-be":[{"border-be":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...le(),`hidden`,`none`]}],"divide-style":[{divide:[...le(),`hidden`,`none`]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-bs":[{"border-bs":N()}],"border-color-be":[{"border-be":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...le(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[B,H,V]}],"outline-w":[{outline:[``,B,_a,ua]}],"outline-color":[{outline:N()}],shadow:[{shadow:[``,`none`,u,Sa,ga]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":[`none`,d,Sa,ga]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:ce()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[B,ua]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":N()}],"text-shadow":[{"text-shadow":[`none`,f,Sa,ga]}],"text-shadow-color":[{"text-shadow":N()}],opacity:[{opacity:[B,H,V]}],"mix-blend":[{"mix-blend":[...ue(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ue()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[B]}],"mask-image-linear-from-pos":[{"mask-linear-from":P()}],"mask-image-linear-to-pos":[{"mask-linear-to":P()}],"mask-image-linear-from-color":[{"mask-linear-from":N()}],"mask-image-linear-to-color":[{"mask-linear-to":N()}],"mask-image-t-from-pos":[{"mask-t-from":P()}],"mask-image-t-to-pos":[{"mask-t-to":P()}],"mask-image-t-from-color":[{"mask-t-from":N()}],"mask-image-t-to-color":[{"mask-t-to":N()}],"mask-image-r-from-pos":[{"mask-r-from":P()}],"mask-image-r-to-pos":[{"mask-r-to":P()}],"mask-image-r-from-color":[{"mask-r-from":N()}],"mask-image-r-to-color":[{"mask-r-to":N()}],"mask-image-b-from-pos":[{"mask-b-from":P()}],"mask-image-b-to-pos":[{"mask-b-to":P()}],"mask-image-b-from-color":[{"mask-b-from":N()}],"mask-image-b-to-color":[{"mask-b-to":N()}],"mask-image-l-from-pos":[{"mask-l-from":P()}],"mask-image-l-to-pos":[{"mask-l-to":P()}],"mask-image-l-from-color":[{"mask-l-from":N()}],"mask-image-l-to-color":[{"mask-l-to":N()}],"mask-image-x-from-pos":[{"mask-x-from":P()}],"mask-image-x-to-pos":[{"mask-x-to":P()}],"mask-image-x-from-color":[{"mask-x-from":N()}],"mask-image-x-to-color":[{"mask-x-to":N()}],"mask-image-y-from-pos":[{"mask-y-from":P()}],"mask-image-y-to-pos":[{"mask-y-to":P()}],"mask-image-y-from-color":[{"mask-y-from":N()}],"mask-image-y-to-color":[{"mask-y-to":N()}],"mask-image-radial":[{"mask-radial":[H,V]}],"mask-image-radial-from-pos":[{"mask-radial-from":P()}],"mask-image-radial-to-pos":[{"mask-radial-to":P()}],"mask-image-radial-from-color":[{"mask-radial-from":N()}],"mask-image-radial-to-color":[{"mask-radial-to":N()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[B]}],"mask-image-conic-from-pos":[{"mask-conic-from":P()}],"mask-image-conic-to-pos":[{"mask-conic-to":P()}],"mask-image-conic-from-color":[{"mask-conic-from":N()}],"mask-image-conic-to-color":[{"mask-conic-to":N()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:ae()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,H,V]}],filter:[{filter:[``,`none`,H,V]}],blur:[{blur:de()}],brightness:[{brightness:[B,H,V]}],contrast:[{contrast:[B,H,V]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Sa,ga]}],"drop-shadow-color":[{"drop-shadow":N()}],grayscale:[{grayscale:[``,B,H,V]}],"hue-rotate":[{"hue-rotate":[B,H,V]}],invert:[{invert:[``,B,H,V]}],saturate:[{saturate:[B,H,V]}],sepia:[{sepia:[``,B,H,V]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,H,V]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[B,H,V]}],"backdrop-contrast":[{"backdrop-contrast":[B,H,V]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,B,H,V]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[B,H,V]}],"backdrop-invert":[{"backdrop-invert":[``,B,H,V]}],"backdrop-opacity":[{"backdrop-opacity":[B,H,V]}],"backdrop-saturate":[{"backdrop-saturate":[B,H,V]}],"backdrop-sepia":[{"backdrop-sepia":[``,B,H,V]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,H,V]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[B,`initial`,H,V]}],ease:[{ease:[`linear`,`initial`,_,H,V]}],delay:[{delay:[B,H,V]}],animate:[{animate:[`none`,v,H,V]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,H,V]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:fe()}],"rotate-x":[{"rotate-x":fe()}],"rotate-y":[{"rotate-y":fe()}],"rotate-z":[{"rotate-z":fe()}],scale:[{scale:pe()}],"scale-x":[{"scale-x":pe()}],"scale-y":[{"scale-y":pe()}],"scale-z":[{"scale-z":pe()}],"scale-3d":[`scale-3d`],skew:[{skew:me()}],"skew-x":[{"skew-x":me()}],"skew-y":[{"skew-y":me()}],transform:[{transform:[H,V,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:he()}],"translate-x":[{"translate-x":he()}],"translate-y":[{"translate-y":he()}],"translate-z":[{"translate-z":he()}],"translate-none":[`translate-none`],accent:[{accent:N()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:N()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,H,V]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,H,V]}],fill:[{fill:[`none`,...N()]}],"stroke-w":[{stroke:[B,_a,ua,da]}],stroke:[{stroke:[`none`,...N()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function Fa(e,t){e.indexOf(t)===-1&&e.push(t)}function Ia(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var La=(e,t,n)=>n>t?t:n<e?e:n,Ra=()=>{},za={},Ba=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Va(e){return typeof e==`object`&&!!e}var Ha=e=>/^0[^.\s]+$/u.test(e);function Ua(e){let t;return()=>(t===void 0&&(t=e()),t)}var Wa=e=>e,Ga=(e,t)=>n=>t(e(n)),Ka=(...e)=>e.reduce(Ga),qa=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Ja=class{constructor(){this.subscriptions=[]}add(e){return Fa(this.subscriptions,e),()=>Ia(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Ya=e=>e*1e3,Xa=e=>e/1e3;function Za(e,t){return t?1e3/t*e:0}var Qa=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,$a=1e-7,eo=12;function to(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Qa(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>$a&&++s<eo);return o}function no(e,t,n,r){if(e===t&&n===r)return Wa;let i=t=>to(t,0,1,e,n);return e=>e===0||e===1?e:Qa(i(e),t,r)}var ro=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,io=e=>t=>1-e(1-t),ao=no(.33,1.53,.69,.99),oo=io(ao),so=ro(oo),co=e=>e>=1?1:(e*=2)<1?.5*oo(e):.5*(2-2**(-10*(e-1))),lo=e=>1-Math.sin(Math.acos(e)),uo=io(lo),fo=ro(lo),po=no(.42,0,1,1),mo=no(0,0,.58,1),ho=no(.42,0,.58,1),go=e=>Array.isArray(e)&&typeof e[0]!=`number`,_o=e=>Array.isArray(e)&&typeof e[0]==`number`,vo={linear:Wa,easeIn:po,easeInOut:ho,easeOut:mo,circIn:lo,circInOut:fo,circOut:uo,backIn:oo,backInOut:so,backOut:ao,anticipate:co},yo=e=>typeof e==`string`,bo=e=>{if(_o(e)){e.length;let[t,n,r,i]=e;return no(t,n,r,i)}else if(yo(e))return vo[e],`${e}`,vo[e];return e},xo=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],So={value:null,addProjectionMetrics:null};function Co(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&So.value&&So.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var wo=40;function To(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=xo.reduce((e,n)=>(e[n]=Co(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=za.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,wo),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:xo.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<xo.length;t++)o[xo[t]].cancel(e)},state:i,steps:o}}var{schedule:U,cancel:Eo,state:Do,steps:Oo}=To(typeof requestAnimationFrame<`u`?requestAnimationFrame:Wa,!0),ko;function Ao(){ko=void 0}var jo={now:()=>(ko===void 0&&jo.set(Do.isProcessing||za.useManualTiming?Do.timestamp:performance.now()),ko),set:e=>{ko=e,queueMicrotask(Ao)}},Mo={layout:0,mainThread:0,waapi:0},No=e=>t=>typeof t==`string`&&t.startsWith(e),Po=No(`--`),Fo=No(`var(--`),Io=e=>Fo(e)?Lo.test(e.split(`/*`)[0].trim()):!1,Lo=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ro(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var zo={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Bo={...zo,transform:e=>La(0,1,e)},Vo={...zo,default:1},Ho=e=>Math.round(e*1e5)/1e5,Uo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Wo(e){return e==null}var Go=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ko=(e,t)=>n=>!!(typeof n==`string`&&Go.test(n)&&n.startsWith(e)||t&&!Wo(n)&&Object.prototype.hasOwnProperty.call(n,t)),qo=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Uo);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Jo=e=>La(0,255,e),Yo={...zo,transform:e=>Math.round(Jo(e))},Xo={test:Ko(`rgb`,`red`),parse:qo(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Yo.transform(e)+`, `+Yo.transform(t)+`, `+Yo.transform(n)+`, `+Ho(Bo.transform(r))+`)`};function Zo(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Qo={test:Ko(`#`),parse:Zo,transform:Xo.transform},$o=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),es=$o(`deg`),ts=$o(`%`),W=$o(`px`),ns=$o(`vh`),rs=$o(`vw`),is={...ts,parse:e=>ts.parse(e)/100,transform:e=>ts.transform(e*100)},as={test:Ko(`hsl`,`hue`),parse:qo(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+ts.transform(Ho(t))+`, `+ts.transform(Ho(n))+`, `+Ho(Bo.transform(r))+`)`},G={test:e=>Xo.test(e)||Qo.test(e)||as.test(e),parse:e=>Xo.test(e)?Xo.parse(e):as.test(e)?as.parse(e):Qo.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Xo.transform(e):as.transform(e),getAnimatableNone:e=>{let t=G.parse(e);return t.alpha=0,G.transform(t)}},os=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ss(e){return isNaN(e)&&typeof e==`string`&&(e.match(Uo)?.length||0)+(e.match(os)?.length||0)>0}var cs=`number`,ls=`color`,us=`var`,ds=`var(`,fs="${}",ps=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ms(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(ps,e=>(G.test(e)?(r.color.push(a),i.push(ls),n.push(G.parse(e))):e.startsWith(ds)?(r.var.push(a),i.push(us),n.push(e)):(r.number.push(a),i.push(cs),n.push(parseFloat(e))),++a,fs)).split(fs),indexes:r,types:i}}function hs(e){return ms(e).values}function gs({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===cs?i+=Ho(r[a]):e===ls?i+=G.transform(r[a]):i+=r[a]}return i}}function _s(e){return gs(ms(e))}var vs=e=>typeof e==`number`?0:G.test(e)?G.getAnimatableNone(e):e,ys=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:vs(e);function bs(e){let t=ms(e);return gs(t)(t.values.map((e,n)=>ys(e,t.split[n])))}var xs={test:ss,parse:hs,createTransformer:_s,getAnimatableNone:bs};function Ss(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Cs({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Ss(s,r,e+1/3),a=Ss(s,r,e),o=Ss(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function ws(e,t){return n=>n>0?t:e}var K=(e,t,n)=>e+(t-e)*n,Ts=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Es=[Qo,Xo,as],Ds=e=>Es.find(t=>t.test(e));function Os(e){let t=Ds(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===as&&(n=Cs(n)),n}var ks=(e,t)=>{let n=Os(e),r=Os(t);if(!n||!r)return ws(e,t);let i={...n};return e=>(i.red=Ts(n.red,r.red,e),i.green=Ts(n.green,r.green,e),i.blue=Ts(n.blue,r.blue,e),i.alpha=K(n.alpha,r.alpha,e),Xo.transform(i))},As=new Set([`none`,`hidden`]);function js(e,t){return As.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Ms(e,t){return n=>K(e,t,n)}function Ns(e){return typeof e==`number`?Ms:typeof e==`string`?Io(e)?ws:G.test(e)?ks:Ls:Array.isArray(e)?Ps:typeof e==`object`?G.test(e)?ks:Fs:ws}function Ps(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Ns(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Fs(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ns(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Is(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Ls=(e,t)=>{let n=xs.createTransformer(t),r=ms(e),i=ms(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?As.has(e)&&!i.values.length||As.has(t)&&!r.values.length?js(e,t):Ka(Ps(Is(r,i),i.values),n):(`${e}${t}`,ws(e,t))};function Rs(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?K(e,t,n):Ns(e)(e,t)}var zs=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>U.update(t,e),stop:()=>Eo(t),now:()=>Do.isProcessing?Do.timestamp:jo.now()}},Bs=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Vs=2e4;function Hs(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function Us(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Hs(r),Vs);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Xa(i)}}var q={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Ws(e,t){return e*Math.sqrt(1-t*t)}var Gs=12;function Ks(e,t,n){let r=n;for(let n=1;n<Gs;n++)r-=e(r)/t(r);return r}var qs=.001;function Js({duration:e=q.duration,bounce:t=q.bounce,velocity:n=q.velocity,mass:r=q.mass}){let i,a;q.maxDuration;let o=1-t;o=La(q.minDamping,q.maxDamping,o),e=La(q.minDuration,q.maxDuration,Xa(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Ws(t,o),c=Math.exp(-i);return qs-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Ws(t**2,o);return(-i(t)+qs>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-qs+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Ks(i,a,s);if(e=Ya(e),isNaN(c))return{stiffness:q.stiffness,damping:q.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Ys=[`duration`,`bounce`],Xs=[`stiffness`,`damping`,`mass`];function Zs(e,t){return t.some(t=>e[t]!==void 0)}function Qs(e){let t={velocity:q.velocity,stiffness:q.stiffness,damping:q.damping,mass:q.mass,isResolvedFromDuration:!1,...e};if(!Zs(e,Xs)&&Zs(e,Ys))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*La(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:q.mass,stiffness:i,damping:a}}else{let n=Js({...e,velocity:0});t={...t,...n,mass:q.mass},t.isResolvedFromDuration=!0}return t}function $s(e=q.visualDuration,t=q.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Qs({...n,velocity:-Xa(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Xa(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?q.restSpeed.granular:q.restSpeed.default,i||=v?q.restDelta.granular:q.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Ws(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>Ya(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=Ya(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=Ya(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Hs(T),Vs),t=Bs(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}$s.applyToOptions=e=>{let t=Us(e,100,$s);return e.ease=t.ease,e.duration=Ya(t.duration),e.type=`keyframes`,e};var ec=5;function tc(e,t,n){let r=Math.max(t-ec,0);return Za(n-e(r),t-r)}function nc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=$s({keyframes:[f.value,m(f.value)],velocity:tc(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function rc(e,t,n){let r=[],i=n||za.mix||Rs,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Ka(Array.isArray(t)?t[n]||Wa:t,a)),r.push(a)}return r}function ic(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=rc(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=qa(e[r],e[r+1],n);return s[r](i)};return n?t=>l(La(e[0],e[a-1],t)):l}function ac(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=qa(0,t,r);e.push(K(n,1,i))}}function oc(e){let t=[0];return ac(t,e.length-1),t}function sc(e,t){return e.map(e=>e*t)}function cc(e,t){return e.map(()=>t||ho).splice(0,e.length-1)}function lc({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=go(r)?r.map(bo):bo(r),a={done:!1,value:t[0]},o=ic(sc(n&&n.length===t.length?n:oc(t),e),t,{ease:Array.isArray(i)?i:cc(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var uc=e=>e!==null;function dc(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(uc),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var fc={decay:nc,inertia:nc,tween:lc,keyframes:lc,spring:$s};function pc(e){typeof e.type==`string`&&(e.type=fc[e.type])}var mc=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},hc=e=>e/100,gc=class extends mc{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==jo.now()&&this.tick(jo.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Mo.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;pc(e);let{type:t=lc,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||lc;s!==lc&&typeof o[0]!=`number`&&(this.mixKeyframes=Ka(hc,Rs(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Hs(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=La(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==nc&&(b.value=dc(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return Xa(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Xa(e)}get time(){return Xa(this.currentTime)}set time(e){e=Ya(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return tc(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(jo.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Xa(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=zs,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(jo.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Mo.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function _c(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var vc=e=>e*180/Math.PI,yc=e=>xc(vc(Math.atan2(e[1],e[0]))),bc={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:yc,rotateZ:yc,skewX:e=>vc(Math.atan(e[1])),skewY:e=>vc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},xc=e=>(e%=360,e<0&&(e+=360),e),Sc=yc,Cc=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),wc=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Tc={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Cc,scaleY:wc,scale:e=>(Cc(e)+wc(e))/2,rotateX:e=>xc(vc(Math.atan2(e[6],e[5]))),rotateY:e=>xc(vc(Math.atan2(-e[2],e[0]))),rotateZ:Sc,rotate:Sc,skewX:e=>vc(Math.atan(e[4])),skewY:e=>vc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ec(e){return+!!e.includes(`scale`)}function Dc(e,t){if(!e||e===`none`)return Ec(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Tc,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=bc,i=t}if(!i)return Ec(t);let a=r[t],o=i[1].split(`,`).map(kc);return typeof a==`function`?a(o):o[a]}var Oc=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Dc(n,t)};function kc(e){return parseFloat(e.trim())}var Ac=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],jc=new Set(Ac),Mc=e=>e===zo||e===W,Nc=new Set([`x`,`y`,`z`]),Pc=Ac.filter(e=>!Nc.has(e));function Fc(e){let t=[];return Pc.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Ic={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Dc(t,`x`),y:(e,{transform:t})=>Dc(t,`y`)};Ic.translateX=Ic.x,Ic.translateY=Ic.y;var Lc=new Set,Rc=!1,zc=!1,Bc=!1;function Vc(){if(zc){let e=Array.from(Lc).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Fc(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}zc=!1,Rc=!1,Lc.forEach(e=>e.complete(Bc)),Lc.clear()}function Hc(){Lc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(zc=!0)})}function Uc(){Bc=!0,Hc(),Vc(),Bc=!1}var Wc=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Lc.add(this),Rc||(Rc=!0,U.read(Hc),U.resolveKeyframes(Vc))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}_c(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Lc.delete(this)}cancel(){this.state===`scheduled`&&(Lc.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Gc=e=>e.startsWith(`--`);function Kc(e,t,n){Gc(t)?e.style.setProperty(t,n):e.style[t]=n}var qc={};function Jc(e,t){let n=Ua(e);return()=>qc[t]??n()}var Yc=Jc(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Xc=Jc(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Zc=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Qc={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Zc([0,.65,.55,1]),circOut:Zc([.55,0,1,.45]),backIn:Zc([.31,.01,.66,-.59]),backOut:Zc([.33,1.53,.69,.99])};function $c(e,t){if(e)return typeof e==`function`?Xc()?Bs(e,t):`ease-out`:_o(e)?Zc(e):Array.isArray(e)?e.map(e=>$c(e,t)||Qc.easeOut):Qc[e]}function el(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=$c(s,i);Array.isArray(d)&&(u.easing=d),So.value&&Mo.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return So.value&&p.finished.finally(()=>{Mo.waapi--}),p}function tl(e){return typeof e==`function`&&`applyToOptions`in e}function nl({type:e,...t}){return tl(e)&&Xc()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var rl=class extends mc{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=nl(e);this.animation=el(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=dc(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Kc(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Xa(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Xa(e)}get time(){return Xa(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ya(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Yc()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Wa):r(this)}},il={anticipate:co,backInOut:so,circInOut:fo};function al(e){return e in il}function ol(e){typeof e.ease==`string`&&al(e.ease)&&(e.ease=il[e.ease])}var sl=10,cl=class extends rl{constructor(e){ol(e),pc(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new gc({...a,autoplay:!1}),s=Math.max(sl,jo.now()-this.startTime),c=La(0,sl,s-sl),l=o.sample(s).value,{name:u}=this.options;i&&u&&Kc(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},ll=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(xs.test(e)||e===`0`)&&!e.startsWith(`url(`));function ul(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function dl(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=ll(i,t),s=ll(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:ul(e)||(n===`spring`||tl(n))&&r}function fl(e){e.duration=0,e.type=`keyframes`}var pl=new Set([`opacity`,`clipPath`,`filter`,`transform`]),ml=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function hl(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&ml.test(e[t]))return!0;return!1}var gl=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),_l=Ua(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function vl(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return _l()&&n&&(pl.has(n)||gl.has(n)&&hl(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var yl=40,bl=class extends mc{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=jo.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||Wc)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=jo.now();let u=!0;dl(e,i,a,o)||(u=!1,(za.instantAnimations||!s)&&l?.(dc(e,n,t)),e[0]=e[e.length-1],fl(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>yl?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&vl(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new cl({...d,element:p})}catch{m=new gc(d)}else m=new gc(d);m.finished.then(()=>{this.notifyFinished()}).catch(Wa),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Uc()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function xl(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Sl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Cl(e){let t=Sl.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function wl(e,t,n=1){`${e}`;let[r,i]=Cl(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Ba(e)?parseFloat(e):e}return Io(i)?wl(i,t,n+1):i}var Tl={type:`spring`,stiffness:500,damping:25,restSpeed:10},El=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Dl={type:`keyframes`,duration:.8},Ol={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},kl=(e,{keyframes:t})=>t.length>2?Dl:jc.has(e)?e.startsWith(`scale`)?El(t[1]):Tl:Ol;function Al(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function jl(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Al(n,e)}var Ml=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Nl(e){for(let t in e)if(!Ml.has(t))return!0;return!1}var Pl=(e,t,n,r={},i,a)=>o=>{let s=jl(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Ya(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Nl(s)||Object.assign(u,kl(e,u)),u.duration&&=Ya(u.duration),u.repeatDelay&&=Ya(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(fl(u),u.delay===0&&(d=!0)),(za.instantAnimations||za.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,fl(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=dc(u.keyframes,s);if(e!==void 0){U.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new gc(u):new bl(u)};function Fl(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Il(e,t,n,r){if(typeof t==`function`){let[i,a]=Fl(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Fl(r);t=t(n===void 0?e.custom:n,i,a)}return t}function Ll(e,t,n){let r=e.getProps();return Il(r,t,n===void 0?r.custom:n,e)}var Rl=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ac]),zl=30,Bl=e=>!isNaN(parseFloat(e)),Vl={current:void 0},Hl=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=jo.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=jo.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Bl(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Ja);let n=this.events[e].add(t);return e===`change`?()=>{n(),U.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Vl.current&&Vl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=jo.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>zl)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,zl);return Za(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ul(e,t){return new Hl(e,t)}var Wl=e=>Array.isArray(e);function Gl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ul(n))}function Kl(e){return Wl(e)?e[e.length-1]||0:e}function ql(e,t){let{transitionEnd:n={},transition:r={},...i}=Ll(e,t)||{};i={...i,...n};for(let t in i)Gl(e,t,Kl(i[t]))}var Jl=e=>!!(e&&e.getVelocity);function Yl(e){return!!(Jl(e)&&e.add)}function Xl(e,t){let n=e.getValue(`willChange`);if(Yl(n))return n.add(t);if(!n&&za.WillChange){let n=new za.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Zl(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Ql=`data-`+Zl(`framerAppearId`);function $l(e){return e.props[Ql]}function eu({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function tu(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Al(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&eu(d,t))continue;let o={delay:n,...jl(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){U.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=$l(e);if(n){let e=window.MotionHandoffAnimation(n,t,U);e!==null&&(o.startTime=e,f=!0)}}Xl(e,t);let p=l??e.shouldReduceMotion;r.start(Pl(t,r,i,p&&Rl.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>U.update(()=>{o&&ql(e,o)});u.length?Promise.all(u).then(t):t()}return u}function nu(e,t,n={}){let r=Ll(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(tu(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return ru(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function ru(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(nu(c,t,{...o,delay:n+(typeof r==`function`?0:r)+xl(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function iu(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>nu(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=nu(e,t,n);else{let i=typeof t==`function`?Ll(e,t,n.custom):t;r=Promise.all(tu(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var au={test:e=>e===`auto`,parse:e=>e},ou=e=>t=>t.test(e),su=[zo,W,ts,es,rs,ns,au],cu=e=>su.find(ou(e));function lu(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Ha(e)}var uu=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function du(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Uo)||[];if(!r)return e;let i=n.replace(r,``),a=+!!uu.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var fu=/\b([a-z-]*)\(.*?\)/gu,pu={...xs,getAnimatableNone:e=>{let t=e.match(fu);return t?t.map(du).join(` `):e}},mu={...xs,getAnimatableNone:e=>{let t=xs.parse(e);return xs.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},hu={...zo,transform:Math.round},gu={borderWidth:W,borderTopWidth:W,borderRightWidth:W,borderBottomWidth:W,borderLeftWidth:W,borderRadius:W,borderTopLeftRadius:W,borderTopRightRadius:W,borderBottomRightRadius:W,borderBottomLeftRadius:W,width:W,maxWidth:W,height:W,maxHeight:W,top:W,right:W,bottom:W,left:W,inset:W,insetBlock:W,insetBlockStart:W,insetBlockEnd:W,insetInline:W,insetInlineStart:W,insetInlineEnd:W,padding:W,paddingTop:W,paddingRight:W,paddingBottom:W,paddingLeft:W,paddingBlock:W,paddingBlockStart:W,paddingBlockEnd:W,paddingInline:W,paddingInlineStart:W,paddingInlineEnd:W,margin:W,marginTop:W,marginRight:W,marginBottom:W,marginLeft:W,marginBlock:W,marginBlockStart:W,marginBlockEnd:W,marginInline:W,marginInlineStart:W,marginInlineEnd:W,fontSize:W,backgroundPositionX:W,backgroundPositionY:W,rotate:es,rotateX:es,rotateY:es,rotateZ:es,scale:Vo,scaleX:Vo,scaleY:Vo,scaleZ:Vo,skew:es,skewX:es,skewY:es,distance:W,translateX:W,translateY:W,translateZ:W,x:W,y:W,z:W,perspective:W,transformPerspective:W,opacity:Bo,originX:is,originY:is,originZ:W,zIndex:hu,fillOpacity:Bo,strokeOpacity:Bo,numOctaves:hu},_u={...gu,color:G,backgroundColor:G,outlineColor:G,fill:G,stroke:G,borderColor:G,borderTopColor:G,borderRightColor:G,borderBottomColor:G,borderLeftColor:G,filter:pu,WebkitFilter:pu,mask:mu,WebkitMask:mu},vu=e=>_u[e],yu=new Set([pu,mu]);function bu(e,t){let n=vu(e);return yu.has(n)||(n=xs),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var xu=new Set([`auto`,`none`,`0`]);function Su(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!xu.has(t)&&ms(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=bu(n,i)}var Cu=class extends Wc{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Io(r))){let i=wl(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Rl.has(n)||e.length!==2)return;let[r,i]=e,a=cu(r),o=cu(i);if(Ro(r)!==Ro(i)&&Ic[n]){this.needsMeasurement=!0;return}if(a!==o)if(Mc(a)&&Mc(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Ic[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||lu(e[t]))&&n.push(t);n.length&&Su(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ic[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Ic[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function wu(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Tu=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Eu(e){return Va(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Du,cancel:Ou}=To(queueMicrotask,!1),ku={x:!1,y:!1};function Au(){return ku.x||ku.y}function ju(e){return e===`x`||e===`y`?ku[e]?null:(ku[e]=!0,()=>{ku[e]=!1}):ku.x||ku.y?null:(ku.x=ku.y=!0,()=>{ku.x=ku.y=!1})}function Mu(e,t){let n=wu(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Nu(e){return!(e.pointerType===`touch`||Au())}function Pu(e,t,n={}){let[r,i,a]=Mu(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Nu(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Fu=(e,t)=>t?e===t?!0:Fu(e,t.parentElement):!1,Iu=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Lu=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Ru(e){return Lu.has(e.tagName)||e.isContentEditable===!0}var zu=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Bu(e){return zu.has(e.tagName)||e.isContentEditable===!0}var Vu=new WeakSet;function Hu(e){return t=>{t.key===`Enter`&&e(t)}}function Uu(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Wu=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Hu(()=>{if(Vu.has(n))return;Uu(n,`down`);let e=Hu(()=>{Uu(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Uu(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Gu(e){return Iu(e)&&!Au()}var Ku=new WeakSet;function qu(e,t,n={}){let[r,i,a]=Mu(e,n),o=e=>{let r=e.currentTarget;if(!Gu(e)||Ku.has(e))return;Vu.add(r),n.stopPropagation&&Ku.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),Vu.has(r)&&Vu.delete(r),Gu(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||Fu(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Eu(e)&&(e.addEventListener(`focus`,e=>Wu(e,i)),!Ru(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Ju(e){return Va(e)&&`ownerSVGElement`in e}var Yu=new WeakMap,Xu,Zu=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Ju(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Qu=Zu(`inline`,`width`,`offsetWidth`),$u=Zu(`block`,`height`,`offsetHeight`);function ed({target:e,borderBoxSize:t}){Yu.get(e)?.forEach(n=>{n(e,{get width(){return Qu(e,t)},get height(){return $u(e,t)}})})}function td(e){e.forEach(ed)}function nd(){typeof ResizeObserver>`u`||(Xu=new ResizeObserver(td))}function rd(e,t){Xu||nd();let n=wu(e);return n.forEach(e=>{let n=Yu.get(e);n||(n=new Set,Yu.set(e,n)),n.add(t),Xu?.observe(e)}),()=>{n.forEach(e=>{let n=Yu.get(e);n?.delete(t),n?.size||Xu?.unobserve(e)})}}var id=new Set,ad;function od(){ad=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};id.forEach(t=>t(e))},window.addEventListener(`resize`,ad)}function sd(e){return id.add(e),ad||od(),()=>{id.delete(e),!id.size&&typeof ad==`function`&&(window.removeEventListener(`resize`,ad),ad=void 0)}}function cd(e,t){return typeof e==`function`?sd(e):rd(e,t)}function ld(e){return Ju(e)&&e.tagName===`svg`}var ud=[...su,G,xs],dd=e=>ud.find(ou(e)),fd=()=>({translate:0,scale:1,origin:0,originPoint:0}),pd=()=>({x:fd(),y:fd()}),md=()=>({min:0,max:0}),J=()=>({x:md(),y:md()}),hd=new WeakMap;function gd(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function _d(e){return typeof e==`string`||Array.isArray(e)}var vd=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],yd=[`initial`,...vd];function bd(e){return gd(e.animate)||yd.some(t=>_d(e[t]))}function xd(e){return!!(bd(e)||e.variants)}function Sd(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Jl(i))e.addValue(r,i);else if(Jl(a))e.addValue(r,Ul(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Ul(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Cd={current:null},wd={current:!1},Td=typeof window<`u`;function Ed(){if(wd.current=!0,Td)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Cd.current=e.matches;e.addEventListener(`change`,t),t()}else Cd.current=!1}var Dd=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Od={};function kd(e){Od=e}function Ad(){return Od}var jd=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Wc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=jo.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,U.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=bd(t),this.isVariantNode=xd(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Jl(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,hd.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(wd.current||Ed(),this.shouldReduceMotion=Cd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Eo(this.notifyUpdate),Eo(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&pl.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new rl({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Ya(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=jc.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&U.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Od){let t=Od[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):J()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Dd.length;t++){let n=Dd[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Sd(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ul(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Ba(n)||Ha(n))?n=parseFloat(n):!dd(n)&&xs.test(t)&&(n=bu(e,t)),this.setBaseTarget(e,Jl(n)?n.get():n)),Jl(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Il(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Jl(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Ja),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Du.render(this.render)}},Md=class extends jd{constructor(){super(...arguments),this.KeyframeResolver=Cu}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Jl(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Nd=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Pd({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Fd({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Id(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ld(e){return e===void 0||e===1}function Rd({scale:e,scaleX:t,scaleY:n}){return!Ld(e)||!Ld(t)||!Ld(n)}function zd(e){return Rd(e)||Bd(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Bd(e){return Vd(e.x)||Vd(e.y)}function Vd(e){return e&&e!==`0%`}function Hd(e,t,n){return n+t*(e-n)}function Ud(e,t,n,r,i){return i!==void 0&&(e=Hd(e,i,r)),Hd(e,n,r)+t}function Wd(e,t=0,n=1,r,i){e.min=Ud(e.min,t,n,r,i),e.max=Ud(e.max,t,n,r,i)}function Gd(e,{x:t,y:n}){Wd(e.x,t.translate,t.scale,t.originPoint),Wd(e.y,n.translate,n.scale,n.originPoint)}var Kd=.999999999999,qd=1.0000000000001;function Jd(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(Yd(e.x,-a.scroll.offset.x),Yd(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Gd(e,o)),r&&zd(a.latestValues)&&Qd(e,a.latestValues,a.layout?.layoutBox))}t.x<qd&&t.x>Kd&&(t.x=1),t.y<qd&&t.y>Kd&&(t.y=1)}function Yd(e,t){e.min+=t,e.max+=t}function Xd(e,t,n,r,i=.5){Wd(e,t,n,K(e.min,e.max,i),r)}function Zd(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Qd(e,t,n){let r=n??e;Xd(e.x,Zd(t.x,r.x),t.scaleX,t.scale,t.originX),Xd(e.y,Zd(t.y,r.y),t.scaleY,t.scale,t.originY)}function $d(e,t){return Pd(Id(e.getBoundingClientRect(),t))}function ef(e,t,n){let r=$d(e,n),{scroll:i}=t;return i&&(Yd(r.x,i.offset.x),Yd(r.y,i.offset.y)),r}var tf={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},nf=Ac.length;function rf(e,t,n){let r=``,i=!0;for(let a=0;a<nf;a++){let o=Ac[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Tu(s,gu[o]);if(!c){i=!1;let t=tf[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function af(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(jc.has(e)){o=!0;continue}else if(Po(e)){i[e]=n;continue}else{let t=Tu(n,gu[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=rf(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function of(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function sf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var cf={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(W.test(e))e=parseFloat(e);else return e;return`${sf(e,t.target.x)}% ${sf(e,t.target.y)}%`}},lf={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=xs.parse(e);if(i.length>5)return r;let a=xs.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=K(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},uf={borderRadius:{...cf,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:cf,borderTopRightRadius:cf,borderBottomLeftRadius:cf,borderBottomRightRadius:cf,boxShadow:lf};function df(e,{layout:t,layoutId:n}){return jc.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!uf[e]||e===`opacity`)}function ff(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Jl(r[t])||i&&Jl(i[t])||df(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function pf(e){return window.getComputedStyle(e)}var mf=class extends Md{constructor(){super(...arguments),this.type=`html`,this.renderInstance=of}readValueFromInstance(e,t){if(jc.has(t))return this.projection?.isProjecting?Ec(t):Oc(e,t);{let n=pf(e),r=(Po(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return $d(e,t)}build(e,t,n){af(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return ff(e,t,n)}},hf={offset:`stroke-dashoffset`,array:`stroke-dasharray`},gf={offset:`strokeDashoffset`,array:`strokeDasharray`};function _f(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?hf:gf;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var vf=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function yf(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(af(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of vf)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&_f(d,i,a,o,!1)}var bf=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),xf=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Sf(e,t,n,r){of(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(bf.has(n)?n:Zl(n),t.attrs[n])}function Cf(e,t,n){let r=ff(e,t,n);for(let n in e)if(Jl(e[n])||Jl(t[n])){let t=Ac.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var wf=class extends Md{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=J}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(jc.has(t)){let e=vu(t);return e&&e.default||0}return t=bf.has(t)?t:Zl(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Cf(e,t,n)}build(e,t,n){yf(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Sf(e,t,n,r)}mount(e){this.isSVGTag=xf(e.tagName),super.mount(e)}},Tf=yd.length;function Ef(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Ef(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Tf;n++){let r=yd[n],i=e.props[r];(_d(i)||i===!1)&&(t[r]=i)}return t}function Df(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Of=[...vd].reverse(),kf=vd.length;function Af(e){return t=>Promise.all(t.map(({animation:t,options:n})=>iu(e,t,n)))}function jf(e){let t=Af(e),n=Pf(),r=!0,i=!1,a=t=>(n,r)=>{let i=Ll(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Ef(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<kf;t++){let p=Of[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=_d(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||gd(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Mf(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Wl(t)&&Wl(n)?!Df(t,n):t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Ll(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=xl(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Ll(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Pf(),i=!0}}}function Mf(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Df(t,e):!1}function Nf(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Pf(){return{animate:Nf(!0),whileInView:Nf(),whileHover:Nf(),whileTap:Nf(),whileDrag:Nf(),whileFocus:Nf(),exit:Nf()}}function Ff(e,t){e.min=t.min,e.max=t.max}function If(e,t){Ff(e.x,t.x),Ff(e.y,t.y)}function Lf(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Rf=1e-4,zf=1-Rf,Bf=1+Rf,Vf=.01,Hf=0-Vf,Uf=0+Vf;function Wf(e){return e.max-e.min}function Gf(e,t,n){return Math.abs(e-t)<=n}function Kf(e,t,n,r=.5){e.origin=r,e.originPoint=K(t.min,t.max,e.origin),e.scale=Wf(n)/Wf(t),e.translate=K(n.min,n.max,e.origin)-e.originPoint,(e.scale>=zf&&e.scale<=Bf||isNaN(e.scale))&&(e.scale=1),(e.translate>=Hf&&e.translate<=Uf||isNaN(e.translate))&&(e.translate=0)}function qf(e,t,n,r){Kf(e.x,t.x,n.x,r?r.originX:void 0),Kf(e.y,t.y,n.y,r?r.originY:void 0)}function Jf(e,t,n,r=0){e.min=(r?K(n.min,n.max,r):n.min)+t.min,e.max=e.min+Wf(t)}function Yf(e,t,n,r){Jf(e.x,t.x,n.x,r?.x),Jf(e.y,t.y,n.y,r?.y)}function Xf(e,t,n,r=0){let i=r?K(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Wf(t)}function Zf(e,t,n,r){Xf(e.x,t.x,n.x,r?.x),Xf(e.y,t.y,n.y,r?.y)}function Qf(e,t,n,r,i){return e-=t,e=Hd(e,1/n,r),i!==void 0&&(e=Hd(e,1/i,r)),e}function $f(e,t=0,n=1,r=.5,i,a=e,o=e){if(ts.test(t)&&(t=parseFloat(t),t=K(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=K(a.min,a.max,r);e===a&&(s-=t),e.min=Qf(e.min,t,n,s,i),e.max=Qf(e.max,t,n,s,i)}function ep(e,t,[n,r,i],a,o){$f(e,t[n],t[r],t[i],t.scale,a,o)}var tp=[`x`,`scaleX`,`originX`],np=[`y`,`scaleY`,`originY`];function rp(e,t,n,r){ep(e.x,t,tp,n?n.x:void 0,r?r.x:void 0),ep(e.y,t,np,n?n.y:void 0,r?r.y:void 0)}function ip(e){return e.translate===0&&e.scale===1}function ap(e){return ip(e.x)&&ip(e.y)}function op(e,t){return e.min===t.min&&e.max===t.max}function sp(e,t){return op(e.x,t.x)&&op(e.y,t.y)}function cp(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function lp(e,t){return cp(e.x,t.x)&&cp(e.y,t.y)}function up(e){return Wf(e.x)/Wf(e.y)}function dp(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function fp(e){return[e(`x`),e(`y`)]}function pp(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var mp=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],hp=mp.length,gp=e=>typeof e==`string`?parseFloat(e):e,_p=e=>typeof e==`number`||W.test(e);function vp(e,t,n,r,i,a){i?(e.opacity=K(0,n.opacity??1,bp(r)),e.opacityExit=K(t.opacity??1,0,xp(r))):a&&(e.opacity=K(t.opacity??1,n.opacity??1,r));for(let i=0;i<hp;i++){let a=mp[i],o=yp(t,a),s=yp(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||_p(o)===_p(s)?(e[a]=Math.max(K(gp(o),gp(s),r),0),(ts.test(s)||ts.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=K(t.rotate||0,n.rotate||0,r))}function yp(e,t){return e[t]===void 0?e.borderRadius:e[t]}var bp=Sp(0,.5,uo),xp=Sp(.5,.95,Wa);function Sp(e,t,n){return r=>r<e?0:r>t?1:n(qa(e,t,r))}function Cp(e,t,n){let r=Jl(e)?e:Ul(e);return r.start(Pl(``,r,t,n)),r.animation}function wp(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Tp=(e,t)=>e.depth-t.depth,Ep=class{constructor(){this.children=[],this.isDirty=!1}add(e){Fa(this.children,e),this.isDirty=!0}remove(e){Ia(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Tp),this.isDirty=!1,this.children.forEach(e)}};function Dp(e,t){let n=jo.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Eo(r),e(a-t))};return U.setup(r,!0),()=>Eo(r)}function Op(e){return Jl(e)?e.get():e}var kp=class{constructor(){this.members=[]}add(e){Fa(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Ia(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Ia(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Ap={hasAnimatedSinceResize:!0,hasEverUpdated:!1},jp={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Mp=[``,`X`,`Y`,`Z`],Np=1e3,Pp=0;function Fp(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ip(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=$l(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,U,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ip(r)}function Lp({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Pp++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,So.value&&(jp.nodes=jp.calculatedTargetDeltas=jp.calculatedProjections=0),this.nodes.forEach(Bp),this.nodes.forEach(Yp),this.nodes.forEach(Xp),this.nodes.forEach(Vp),So.addProjectionMetrics&&So.addProjectionMetrics(jp)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ep)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ja),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Ju(t)&&!ld(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;U.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Dp(i,250),Ap.hasAnimatedSinceResize&&(Ap.hasAnimatedSinceResize=!1,this.nodes.forEach(Jp)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||rm,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!lp(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...jl(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||Jp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Eo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Zp),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ip(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Wp),this.nodes.forEach(Up);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Gp);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Kp),this.nodes.forEach(qp),this.nodes.forEach(Rp),this.nodes.forEach(zp)):this.nodes.forEach(Gp),this.clearAllSnapshots();let e=jo.now();Do.delta=La(0,1e3/60,e-Do.timestamp),Do.timestamp=e,Do.isProcessing=!0,Oo.update.process(Do),Oo.preRender.process(Do),Oo.render.process(Do),Do.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Du.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Hp),this.sharedNodes.forEach(Qp)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,U.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){U.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Wf(this.snapshot.measuredBox.x)&&!Wf(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=J(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!ap(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||zd(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),sm(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return J();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(lm))){let{scroll:e}=this.root;e&&(Yd(t.x,e.offset.x),Yd(t.y,e.offset.y))}return t}removeElementScroll(e){let t=J();if(If(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&If(t,e),Yd(t.x,i.offset.x),Yd(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||J();If(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(Yd(r.x,-n.scroll.offset.x),Yd(r.y,-n.scroll.offset.y)),zd(n.latestValues)&&Qd(r,n.latestValues,n.layout?.layoutBox)}return zd(this.latestValues)&&Qd(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=J();If(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!zd(n.latestValues))continue;let r;n.instance&&(Rd(n.latestValues)&&n.updateSnapshot(),r=J(),If(r,n.measurePageBox())),rp(t,n.latestValues,n.snapshot?.layoutBox,r)}return zd(this.latestValues)&&rp(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Do.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Do.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=J(),this.targetWithTransforms=J()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Yf(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):If(this.target,this.layout.layoutBox),Gd(this.target,this.targetDelta)):If(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),So.value&&jp.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Rd(this.parent.latestValues)||Bd(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=J(),this.relativeTargetOrigin=J(),Zf(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),If(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Do.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;If(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Jd(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=J());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Lf(this.prevProjectionDelta.x,this.projectionDelta.x),Lf(this.prevProjectionDelta.y,this.projectionDelta.y)),qf(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!dp(this.projectionDelta.x,this.prevProjectionDelta.x)||!dp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),So.value&&jp.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=pd(),this.projectionDelta=pd(),this.projectionDeltaWithTransform=pd()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=pd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=J(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(nm));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;$p(a.x,e.x,n),$p(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Zf(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),tm(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&sp(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=J(),If(d,this.relativeTarget)),s&&(this.animationValues=i,vp(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Eo(this.pendingAnimation),void 0),this.pendingAnimation=U.update(()=>{Ap.hasAnimatedSinceResize=!0,Mo.layout++,this.motionValue||=Ul(0),this.motionValue.jump(0,!1),this.currentAnimation=Cp(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Mo.layout--},onComplete:()=>{Mo.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Np),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&cm(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||J();let t=Wf(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Wf(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}If(t,n),Qd(t,i),qf(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new kp),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Fp(`z`,e,r,this.animationValues);for(let t=0;t<Mp.length;t++)Fp(`rotate${Mp[t]}`,e,r,this.animationValues),Fp(`skew${Mp[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Op(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Op(t?.pointerEvents)||``),this.hasProjected&&!zd(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=pp(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in uf){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=uf[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Op(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Up),this.root.sharedNodes.clear()}}}function Rp(e){e.updateLayout()}function zp(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)fp(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Wf(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Ff(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else cm(i,t.layoutBox,n)&&fp(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Wf(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=pd();qf(o,n,t.layoutBox);let s=pd();a?qf(s,e.applyTransform(r,!0),t.measuredBox):qf(s,n,t.layoutBox);let c=!ap(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=J();Zf(s,t.layoutBox,i.layoutBox,o);let c=J();Zf(c,n,a.layoutBox,o),lp(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Bp(e){So.value&&jp.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Vp(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Hp(e){e.clearSnapshot()}function Up(e){e.clearMeasurements()}function Wp(e){e.isLayoutDirty=!0,e.updateLayout()}function Gp(e){e.isLayoutDirty=!1}function Kp(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function qp(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Jp(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Yp(e){e.resolveTargetDelta()}function Xp(e){e.calcProjection()}function Zp(e){e.resetSkewAndRotation()}function Qp(e){e.removeLeadSnapshot()}function $p(e,t,n){e.translate=K(t.translate,0,n),e.scale=K(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function em(e,t,n,r){e.min=K(t.min,n.min,r),e.max=K(t.max,n.max,r)}function tm(e,t,n,r){em(e.x,t.x,n.x,r),em(e.y,t.y,n.y,r)}function nm(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var rm={duration:.45,ease:[.4,0,.1,1]},im=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),am=im(`applewebkit/`)&&!im(`chrome/`)?Math.round:Wa;function om(e){e.min=am(e.min),e.max=am(e.max)}function sm(e){om(e.x),om(e.y)}function cm(e,t,n){return e===`position`||e===`preserve-aspect`&&!Gf(up(t),up(n),.2)}function lm(e){return e!==e.root&&e.scroll?.wasRoot}var um=Lp({attachResizeListener:(e,t)=>wp(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),dm={current:void 0},fm=Lp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!dm.current){let e=new um({});e.mount(window),e.setOptions({layoutScroll:!0}),dm.current=e}return dm.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),pm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e===`__proto__`}e.isUnsafeProperty=t})),mm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e.includes(`.`)||e.includes(`[`)||e.includes(`]`)}}e.isDeepKey=t})),hm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}e.toKey=t})),gm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){if(e==null)return``;if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(t).join(`,`);let n=String(e);return n===`0`&&Object.is(Number(e),-0)?`-0`:n}e.toString=t})),_m=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=gm(),n=hm();function r(e){if(Array.isArray(e))return e.map(n.toKey);if(typeof e==`symbol`)return[e];e=t.toString(e);let r=[],i=e.length;if(i===0)return r;let a=0,o=``,s=``,c=!1;for(e.charCodeAt(0)===46&&(r.push(``),a++);a<i;){let t=e[a];s?t===`\\`&&a+1<i?(a++,o+=e[a]):t===s?s=``:o+=t:c?t===`"`||t===`'`?s=t:t===`]`?(c=!1,r.push(o),o=``):o+=t:t===`[`?(c=!0,o&&=(r.push(o),``)):t===`.`?o&&=(r.push(o),``):o+=t,a++}return o&&r.push(o),r}e.toPath=r})),vm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=pm(),n=mm(),r=hm(),i=_m();function a(e,s,c){if(e==null)return c;switch(typeof s){case`string`:{if(t.isUnsafeProperty(s))return c;let r=e[s];return r===void 0?n.isDeepKey(s)?a(e,i.toPath(s),c):c:r}case`number`:case`symbol`:{typeof s==`number`&&(s=r.toKey(s));let t=e[s];return t===void 0?c:t}default:{if(Array.isArray(s))return o(e,s,c);if(s=Object.is(s?.valueOf(),-0)?`-0`:String(s),t.isUnsafeProperty(s))return c;let n=e[s];return n===void 0?c:n}}}function o(e,n,r){if(n.length===0)return r;let i=e;for(let e=0;e<n.length;e++){if(i==null||t.isUnsafeProperty(n[e]))return r;i=i[n[e]]}return i===void 0?r:i}e.get=a})),ym=n(((e,t)=>{t.exports=vm().get})),bm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i,r,e);n.has(a)||n.set(a,i)}return Array.from(n.values())}e.uniqBy=t})),xm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){return function(...n){return e.apply(this,n.slice(0,t))}}e.ary=t})),Sm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e}e.identity=t})),Cm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Number.isSafeInteger(e)&&e>=0}e.isLength=t})),wm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Cm();function n(e){return e!=null&&typeof e!=`function`&&t.isLength(e.length)}e.isArrayLike=n})),Tm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`object`&&!!e}e.isObjectLike=t})),Em=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=wm(),n=Tm();function r(e){return n.isObjectLike(e)&&t.isArrayLike(e)}e.isArrayLikeObject=r})),Dm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=vm();function n(e){return function(n){return t.get(n,e)}}e.property=n})),Om=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}e.isObject=t})),km=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null||typeof e!=`object`&&typeof e!=`function`}e.isPrimitive=t})),Am=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}e.isEqualsSameValueZero=t})),jm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Om(),n=km(),r=Am();function i(e,t,n){return typeof n==`function`?a(e,t,function e(t,r,i,o,s,c){let l=n(t,r,i,o,s,c);return l===void 0?a(t,r,e,c):!!l},new Map):i(e,t,()=>void 0)}function a(e,n,i,s){if(n===e)return!0;switch(typeof n){case`object`:return o(e,n,i,s);case`function`:return Object.keys(n).length>0?a(e,{...n},i,s):r.isEqualsSameValueZero(e,n);default:return t.isObject(e)?typeof n==`string`?n===``:!0:r.isEqualsSameValueZero(e,n)}}function o(e,t,r,i){if(t==null)return!0;if(Array.isArray(t))return c(e,t,r,i);if(t instanceof Map)return s(e,t,r,i);if(t instanceof Set)return l(e,t,r,i);let a=Object.keys(t);if(e==null||n.isPrimitive(e))return a.length===0;if(a.length===0)return!0;if(i?.has(t))return i.get(t)===e;i?.set(t,e);try{for(let o=0;o<a.length;o++){let s=a[o];if(!n.isPrimitive(e)&&!(s in e)||t[s]===void 0&&e[s]!==void 0||t[s]===null&&e[s]!==null||!r(e[s],t[s],s,e,t,i))return!1}return!0}finally{i?.delete(t)}}function s(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries())if(n(e.get(i),a,i,e,t,r)===!1)return!1;return!0}function c(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1;if(n(l,o,a,e,t,r)&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function l(e,t,n,r){return t.size===0?!0:e instanceof Set?c([...e],[...t],n,r):!1}e.isMatchWith=i,e.isSetMatch=l})),Mm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=jm();function n(e,n){return t.isMatchWith(e,n,()=>void 0)}e.isMatch=n})),Nm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}e.getSymbols=t})),Pm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}e.getTag=t})),Fm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.argumentsTag=`[object Arguments]`,e.arrayBufferTag=`[object ArrayBuffer]`,e.arrayTag=`[object Array]`,e.bigInt64ArrayTag=`[object BigInt64Array]`,e.bigUint64ArrayTag=`[object BigUint64Array]`,e.booleanTag=`[object Boolean]`,e.dataViewTag=`[object DataView]`,e.dateTag=`[object Date]`,e.errorTag=`[object Error]`,e.float32ArrayTag=`[object Float32Array]`,e.float64ArrayTag=`[object Float64Array]`,e.functionTag=`[object Function]`,e.int16ArrayTag=`[object Int16Array]`,e.int32ArrayTag=`[object Int32Array]`,e.int8ArrayTag=`[object Int8Array]`,e.mapTag=`[object Map]`,e.numberTag=`[object Number]`,e.objectTag=`[object Object]`,e.regexpTag=`[object RegExp]`,e.setTag=`[object Set]`,e.stringTag=`[object String]`,e.symbolTag=`[object Symbol]`,e.uint16ArrayTag=`[object Uint16Array]`,e.uint32ArrayTag=`[object Uint32Array]`,e.uint8ArrayTag=`[object Uint8Array]`,e.uint8ClampedArrayTag=`[object Uint8ClampedArray]`})),Im=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}e.isTypedArray=t})),Lm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Nm(),n=Pm(),r=Fm(),i=km(),a=Im();function o(e,t){return s(e,void 0,e,new Map,t)}function s(e,t,n,r=new Map,o=void 0){let u=o?.(e,t,n,r);if(u!==void 0)return u;if(i.isPrimitive(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=s(e[i],i,n,r,o);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[i,a]of e)t.set(i,s(a,i,n,r,o));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let i of e)t.add(s(i,void 0,n,r,o));return t}if(typeof Buffer<`u`&&Buffer.isBuffer(e))return e.subarray();if(a.isTypedArray(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=s(e[i],i,n,r,o);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),c(t,e,n,r,o),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),c(t,e,n,r,o),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,c(t,e,n,r,o),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(typeof e==`object`&&l(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),c(t,e,n,r,o),t}return e}function c(e,n,r=e,i,a){let o=[...Object.keys(n),...t.getSymbols(n)];for(let t=0;t<o.length;t++){let c=o[t],l=Object.getOwnPropertyDescriptor(e,c);(l==null||l.writable)&&(e[c]=s(n[c],c,r,i,a))}}function l(e){switch(n.getTag(e)){case r.argumentsTag:case r.arrayTag:case r.arrayBufferTag:case r.dataViewTag:case r.booleanTag:case r.dateTag:case r.float32ArrayTag:case r.float64ArrayTag:case r.int8ArrayTag:case r.int16ArrayTag:case r.int32ArrayTag:case r.mapTag:case r.numberTag:case r.objectTag:case r.regexpTag:case r.setTag:case r.stringTag:case r.symbolTag:case r.uint8ArrayTag:case r.uint8ClampedArrayTag:case r.uint16ArrayTag:case r.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=o,e.cloneDeepWithImpl=s,e.copyProperties=c})),Rm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Lm();function n(e){return t.cloneDeepWithImpl(e,void 0,e,new Map,void 0)}e.cloneDeep=n})),zm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Mm(),n=Rm();function r(e){return e=n.cloneDeep(e),n=>t.isMatch(n,e)}e.matches=r})),Bm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Lm(),n=Pm(),r=Fm();function i(e,i){return t.cloneDeepWith(e,(a,o,s,c)=>{let l=i?.(a,o,s,c);if(l!==void 0)return l;if(typeof e==`object`){if(n.getTag(e)===r.objectTag&&typeof e.constructor!=`function`){let n={};return c.set(e,n),t.copyProperties(n,e,s,c),n}switch(Object.prototype.toString.call(e)){case r.numberTag:case r.stringTag:case r.booleanTag:{let n=new e.constructor(e?.valueOf());return t.copyProperties(n,e),n}case r.argumentsTag:{let n={};return t.copyProperties(n,e),n.length=e.length,n[Symbol.iterator]=e[Symbol.iterator],n}default:return}}})}e.cloneDeepWith=i})),Vm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Bm();function n(e){return t.cloneDeepWith(e)}e.cloneDeep=n})),Hm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=/^(?:0|[1-9]\d*)$/;function n(e,n=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<n;case`symbol`:return!1;case`string`:return t.test(e)}}e.isIndex=n})),Um=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Pm();function n(e){return typeof e==`object`&&!!e&&t.getTag(e)===`[object Arguments]`}e.isArguments=n})),Wm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=mm(),n=Hm(),r=Um(),i=_m();function a(e,a){let o;if(o=Array.isArray(a)?a:typeof a==`string`&&t.isDeepKey(a)&&e?.[a]==null?i.toPath(a):[a],o.length===0)return!1;let s=e;for(let e=0;e<o.length;e++){let t=o[e];if((s==null||!Object.hasOwn(s,t))&&!((Array.isArray(s)||r.isArguments(s))&&n.isIndex(t)&&t<s.length))return!1;s=s[t]}return!0}e.has=a})),Gm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Mm(),n=hm(),r=Vm(),i=vm(),a=Wm();function o(e,o){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=n.toKey(e);break}return o=r.cloneDeep(o),function(n){let r=i.get(n,e);return r===void 0?a.has(n,e):o===void 0?r===void 0:t.isMatch(r,o)}}e.matchesProperty=o})),Km=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Sm(),n=Dm(),r=zm(),i=Gm();function a(e){if(e==null)return t.identity;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?i.matchesProperty(e[0],e[1]):r.matches(e);case`string`:case`symbol`:case`number`:return n.property(e)}}e.iteratee=a})),qm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=bm(),n=xm(),r=Sm(),i=Em(),a=Km();function o(e,o=r.identity){return i.isArrayLikeObject(e)?t.uniqBy(Array.from(e),n.ary(a.iteratee(o),1)):[]}e.uniqBy=o})),Jm=n(((e,t)=>{t.exports=qm().uniqBy})),Ym=n((e=>{var t=i();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,a=t.useState,o=t.useEffect,s=t.useLayoutEffect,c=t.useDebugValue;function l(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),Xm=n(((e,t)=>{t.exports=Ym()})),Zm=n((e=>{var t=i(),n=Xm();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var a=typeof Object.is==`function`?Object.is:r,o=n.useSyncExternalStore,s=t.useRef,c=t.useEffect,l=t.useMemo,u=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!o){if(o=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,a(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var o=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=o(e,d[0],d[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}})),Qm=n(((e,t)=>{t.exports=Zm()}));function $m(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function eh(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function th(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var nh=e=>Array.isArray(e)?e:[e];function rh(e){let t=Array.isArray(e[0])?e[0]:e;return th(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function ih(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var ah=class{constructor(e){this.value=e}deref(){return this.value}},oh=typeof WeakRef<`u`?WeakRef:ah,sh=0,ch=1;function lh(){return{s:sh,v:void 0,o:null,p:null}}function uh(e,t={}){let n=lh(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=lh(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=lh(),e.set(n,t)):t=r}}let s=t,c;if(t.s===ch)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=i?.deref?.()??i;e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new oh(c):c}return s.s=ch,s.v=c,c}return o.clearCache=()=>{n=lh(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function dh(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),$m(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=uh,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=nh(c),p=nh(u),m=rh(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=ih(m,arguments);return i=h.apply(null,e),i},...p);return Object.assign(g,{resultFunc:o,memoizedResultFunc:h,dependencies:m,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var fh=dh(uh),ph=Object.assign((e,t=fh)=>{eh(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>ph}),mh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}e.compareValues=(e,n,r)=>{if(e!==n){let i=t(e),a=t(n);if(i===a&&i===0){if(e<n)return r===`desc`?1:-1;if(e>n)return r===`desc`?-1:1}return r===`desc`?a-i:i-a}return 0}})),hh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`||e instanceof Symbol}e.isSymbol=t})),gh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=hh(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function i(e,i){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||t.isSymbol(e)?!0:typeof e==`string`&&(r.test(e)||!n.test(e))||i!=null&&Object.hasOwn(i,e)}e.isKey=i})),_h=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=mh(),n=gh(),r=_m();function i(e,i,a,o){if(e==null)return[];a=o?void 0:a,Array.isArray(e)||(e=Object.values(e)),Array.isArray(i)||(i=i==null?[null]:[i]),i.length===0&&(i=[null]),Array.isArray(a)||(a=a==null?[]:[a]),a=a.map(e=>String(e));let s=(e,t)=>{let n=e;for(let e=0;e<t.length&&n!=null;++e)n=n[t[e]];return n},c=(e,t)=>t==null||e==null?t:typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:s(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?s(t,e):typeof t==`object`?t[e]:t,l=i.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||n.isKey(e)?e:{key:e,path:r.toPath(e)}));return e.map(e=>({original:e,criteria:l.map(t=>c(t,e))})).slice().sort((e,n)=>{for(let r=0;r<l.length;r++){let i=t.compareValues(e.criteria[r],n.criteria[r],a[r]);if(i!==0)return i}return 0}).map(e=>e.original)}e.orderBy=i})),vh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}e.flatten=t})),yh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Hm(),n=wm(),r=Om(),i=Am();function a(e,a,o){return r.isObject(o)&&(typeof a==`number`&&n.isArrayLike(o)&&t.isIndex(a)&&a<o.length||typeof a==`string`&&a in o)?i.isEqualsSameValueZero(o[a],e):!1}e.isIterateeCall=a})),bh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=_h(),n=vh(),r=yh();function i(e,...i){let a=i.length;return a>1&&r.isIterateeCall(e,i[0],i[1])?i=[]:a>2&&r.isIterateeCall(i[0],i[1],i[2])&&(i=[i[0]]),t.orderBy(e,n.flatten(i),[`asc`])}e.sortBy=i})),xh=n(((e,t)=>{t.exports=bh().sortBy}));function Y(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Sh=typeof Symbol==`function`&&Symbol.observable||`@@observable`,Ch=()=>Math.random().toString(36).substring(7).split(``).join(`.`),wh={INIT:`@@redux/INIT${Ch()}`,REPLACE:`@@redux/REPLACE${Ch()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ch()}`};function Th(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Eh(e,t,n){if(typeof e!=`function`)throw Error(Y(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(Y(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(Y(1));return n(Eh)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(Y(3));return i}function d(e){if(typeof e!=`function`)throw Error(Y(4));if(c)throw Error(Y(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(Y(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!Th(e))throw Error(Y(7));if(e.type===void 0)throw Error(Y(8));if(typeof e.type!=`string`)throw Error(Y(17));if(c)throw Error(Y(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(Y(10));r=e,f({type:wh.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(Y(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Sh](){return this}}}return f({type:wh.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[Sh]:m}}function Dh(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:wh.INIT})===void 0)throw Error(Y(12));if(n(void 0,{type:wh.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(Y(13))})}function Oh(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{Dh(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(Y(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function kh(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function Ah(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(Y(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=kh(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function jh(e){return Th(e)&&`type`in e&&typeof e.type==`string`}var Mh=Symbol.for(`immer-nothing`),Nh=Symbol.for(`immer-draftable`),Ph=Symbol.for(`immer-state`);function Fh(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ih=Object,Lh=Ih.getPrototypeOf,Rh=`constructor`,zh=`prototype`,Bh=`configurable`,Vh=`enumerable`,Hh=`writable`,Uh=`value`,Wh=e=>!!e&&!!e[Ph];function Gh(e){return e?Jh(e)||tg(e)||!!e[Nh]||!!e[Rh]?.[Nh]||ng(e)||rg(e):!1}var Kh=Ih[zh][Rh].toString(),qh=new WeakMap;function Jh(e){if(!e||!ig(e))return!1;let t=Lh(e);if(t===null||t===Ih[zh])return!0;let n=Ih.hasOwnProperty.call(t,Rh)&&t[Rh];if(n===Object)return!0;if(!ag(n))return!1;let r=qh.get(n);return r===void 0&&(r=Function.toString.call(n),qh.set(n,r)),r===Kh}function Yh(e,t,n=!0){Xh(e)===0?(n?Reflect.ownKeys(e):Ih.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Xh(e){let t=e[Ph];return t?t.type_:tg(e)?1:ng(e)?2:rg(e)?3:0}var Zh=(e,t,n=Xh(e))=>n===2?e.has(t):Ih[zh].hasOwnProperty.call(e,t),Qh=(e,t,n=Xh(e))=>n===2?e.get(t):e[t],$h=(e,t,n,r=Xh(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function eg(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var tg=Array.isArray,ng=e=>e instanceof Map,rg=e=>e instanceof Set,ig=e=>typeof e==`object`,ag=e=>typeof e==`function`,og=e=>typeof e==`boolean`;function sg(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var cg=e=>e.copy_||e.base_,lg=e=>e.modified_?e.copy_:e.base_;function ug(e,t){if(ng(e))return new Map(e);if(rg(e))return new Set(e);if(tg(e))return Array[zh].slice.call(e);let n=Jh(e);if(t===!0||t===`class_only`&&!n){let t=Ih.getOwnPropertyDescriptors(e);delete t[Ph];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Hh]===!1&&(a[Hh]=!0,a[Bh]=!0),(a.get||a.set)&&(t[i]={[Bh]:!0,[Hh]:!0,[Vh]:a[Vh],[Uh]:e[i]})}return Ih.create(Lh(e),t)}else{let t=Lh(e);if(t!==null&&n)return{...e};let r=Ih.create(t);return Ih.assign(r,e)}}function dg(e,t=!1){return mg(e)||Wh(e)||!Gh(e)?e:(Xh(e)>1&&Ih.defineProperties(e,{set:pg,add:pg,clear:pg,delete:pg}),Ih.freeze(e),t&&Yh(e,(e,t)=>{dg(t,!0)},!1),e)}function fg(){Fh(2)}var pg={[Uh]:fg};function mg(e){return e===null||!ig(e)?!0:Ih.isFrozen(e)}var hg=`MapSet`,gg=`Patches`,_g=`ArrayMethods`,vg={};function yg(e){let t=vg[e];return t||Fh(0,e),t}var bg=e=>!!vg[e],xg,Sg=()=>xg,Cg=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:bg(hg)?yg(hg):void 0,arrayMethodsPlugin_:bg(_g)?yg(_g):void 0});function wg(e,t){t&&(e.patchPlugin_=yg(gg),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Tg(e){Eg(e),e.drafts_.forEach(Og),e.drafts_=null}function Eg(e){e===xg&&(xg=e.parent_)}var Dg=e=>xg=Cg(xg,e);function Og(e){let t=e[Ph];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function kg(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[Ph].modified_&&(Tg(t),Fh(4)),Gh(e)&&(e=Ag(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[Ph].base_,e,t)}else e=Ag(t,n);return jg(t,e,!0),Tg(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Mh?void 0:e}function Ag(e,t){if(mg(t))return t;let n=t[Ph];if(!n)return zg(t,e.handledSet_,e);if(!Ng(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);Lg(n,e)}return n.copy_}function jg(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&dg(t,n)}function Mg(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Ng=(e,t)=>e.scope_===t,Pg=[];function Fg(e,t,n,r){let i=cg(e),a=e.type_;if(r!==void 0&&Qh(i,r,a)===t){$h(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Yh(i,(e,n)=>{if(Wh(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??Pg;for(let e of o)$h(i,e,n,a)}function Ig(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!Ng(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=lg(i);Fg(e,i.draft_??i,a,n),Lg(i,r)})}function Lg(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}Mg(e)}}function Rg(e,t,n){let{scope_:r}=e;if(Wh(n)){let i=n[Ph];Ng(i,r)&&i.callbacks_.push(function(){qg(e),Fg(e,n,lg(i),t)})}else Gh(n)&&e.callbacks_.push(function(){let i=cg(e);e.type_===3?i.has(n)&&zg(n,r.handledSet_,r):Qh(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&zg(Qh(e.copy_,t,e.type_),r.handledSet_,r)})}function zg(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||Wh(e)||t.has(e)||!Gh(e)||mg(e)?e:(t.add(e),Yh(e,(r,i)=>{if(Wh(i)){let t=i[Ph];Ng(t,n)&&($h(e,r,lg(t),e.type_),Mg(t))}else Gh(i)&&zg(i,t,n)}),e)}function Bg(e,t){let n=tg(e),r={type_:+!!n,scope_:t?t.scope_:Sg(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=Vg;n&&(i=[r],a=Hg);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var Vg={get(e,t){if(t===Ph)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=cg(e);if(!Zh(i,t,e.type_))return Wg(e,i,t);let a=i[t];if(e.finalized_||!Gh(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&sg(t))return a;if(a===Ug(e.base_,t)){qg(e);let n=e.type_===1?+t:t,r=Yg(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in cg(e)},ownKeys(e){return Reflect.ownKeys(cg(e))},set(e,t,n){let r=Gg(cg(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=Ug(cg(e),t),i=r?.[Ph];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(eg(n,r)&&(n!==void 0||Zh(e.base_,t,e.type_)))return!0;qg(e),Kg(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),Rg(e,t,n),!0)},deleteProperty(e,t){return qg(e),Ug(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Kg(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=cg(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Hh]:!0,[Bh]:e.type_!==1||t!==`length`,[Vh]:r[Vh],[Uh]:n[t]}},defineProperty(){Fh(11)},getPrototypeOf(e){return Lh(e.base_)},setPrototypeOf(){Fh(12)}},Hg={};for(let e in Vg){let t=Vg[e];Hg[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}Hg.deleteProperty=function(e,t){return Hg.set.call(this,e,t,void 0)},Hg.set=function(e,t,n){return Vg.set.call(this,e[0],t,n,e[0])};function Ug(e,t){let n=e[Ph];return(n?cg(n):e)[t]}function Wg(e,t,n){let r=Gg(t,n);return r?Uh in r?r[Uh]:r.get?.call(e.draft_):void 0}function Gg(e,t){if(!(t in e))return;let n=Lh(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Lh(n)}}function Kg(e){e.modified_||(e.modified_=!0,e.parent_&&Kg(e.parent_))}function qg(e){e.copy_||=(e.assigned_=new Map,ug(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Jg=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(ag(e)&&!ag(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}ag(t)||Fh(6),n!==void 0&&!ag(n)&&Fh(7);let r;if(Gh(e)){let i=Dg(this),a=Yg(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?Tg(i):Eg(i)}return wg(i,n),kg(r,i)}else if(!e||!ig(e)){if(r=t(e),r===void 0&&(r=e),r===Mh&&(r=void 0),this.autoFreeze_&&dg(r,!0),n){let t=[],i=[];yg(gg).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else Fh(1,e)},this.produceWithPatches=(e,t)=>{if(ag(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},og(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),og(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),og(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Gh(e)||Fh(8),Wh(e)&&(e=Xg(e));let t=Dg(this),n=Yg(t,e,void 0);return n[Ph].isManual_=!0,Eg(t),n}finishDraft(e,t){let n=e&&e[Ph];(!n||!n.isManual_)&&Fh(9);let{scope_:r}=n;return wg(r,t),kg(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=yg(gg).applyPatches_;return Wh(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Yg(e,t,n,r){let[i,a]=ng(t)?yg(hg).proxyMap_(t,n):rg(t)?yg(hg).proxySet_(t,n):Bg(t,n);return(n?.scope_??Sg()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?Ig(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Xg(e){return Wh(e)||Fh(10,e),Zg(e)}function Zg(e){if(!Gh(e)||mg(e))return e;let t=e[Ph],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=ug(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=ug(e,!0);return Yh(n,(e,t)=>{$h(n,e,Zg(t))},r),t&&(t.finalized_=!1),n}var Qg=new Jg().produce;function $g(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var e_=$g(),t_=$g,n_=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?kh:kh.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function r_(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(dv(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>jh(t)&&t.type===e,n}var i_=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function a_(e){return Gh(e)?Qg(e,()=>{}):e}function o_(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function s_(e){return typeof e==`boolean`}var c_=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new i_;return t&&(s_(t)?a.push(e_):a.push(t_(t.extraArgument))),a},l_=`RTK_autoBatch`,u_=()=>e=>({payload:e,meta:{[l_]:!0}}),d_=e=>t=>{setTimeout(t,e)},f_=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?window.requestAnimationFrame:d_(10):e.type===`callback`?e.queueNotification:d_(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[l_],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},p_=e=>function(t){let{autoBatch:n=!0}=t??{},r=new i_(e);return n&&r.push(f_(typeof n==`object`?n:void 0)),r};function m_(e){let t=c_(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(Th(n))c=Oh(n);else throw Error(dv(1));let l;l=typeof r==`function`?r(t):t();let u=kh;i&&(u=n_({trace:!1,...typeof i==`object`&&i}));let d=p_(Ah(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return Eh(c,o,p)}function h_(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(dv(28));if(r in t)throw Error(dv(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function g_(e){return typeof e==`function`}function __(e,t){let[n,r,i]=h_(t),a;if(g_(e))a=()=>a_(e());else{let t=a_(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n)if(Wh(e)){let r=n(e,t);return r===void 0?e:r}else if(Gh(e))return Qg(e,e=>n(e,t));else{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}return e},e)}return o.getInitialState=a,o}var v_=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,y_=(e=21)=>{let t=``,n=e;for(;n--;)t+=v_[Math.random()*64|0];return t},b_=Symbol.for(`rtk-slice-createasyncthunk`);function x_(e,t){return`${e}/${t}`}function S_({creators:e}={}){let t=e?.asyncThunk?.[b_];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(dv(11));let i=(typeof e.reducers==`function`?e.reducers(T_()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(dv(12));if(n in o.sliceCaseReducersByType)throw Error(dv(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:x_(n,r),createNotation:typeof e.reducers==`function`};D_(a)?k_(o,a,s,t):E_(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?h_(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return __(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=o_(d,r,m)),i}function i(t=l){return o_(o_(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=C_(a,t,()=>o_(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function C_(e,t,n,r){function i(i,...a){let o=t(i);return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var w_=S_();function T_(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function E_({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!O_(r))throw Error(dv(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?r_(e,o):r_(e))}function D_(e){return e._reducerDefinitionType===`asyncThunk`}function O_(e){return e._reducerDefinitionType===`reducerWithPrepare`}function k_({type:e,reducerName:t},n,r,i){if(!i)throw Error(dv(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||A_,pending:s||A_,rejected:c||A_,settled:l||A_})}function A_(){}var j_=`task`,M_=`listener`,N_=`completed`,P_=`cancelled`,F_=`task-${P_}`,I_=`task-${N_}`,L_=`${M_}-${P_}`,R_=`${M_}-${N_}`,z_=class{constructor(e){this.code=e,this.message=`${j_} ${P_} (reason: ${e})`}name=`TaskAbortError`;message},B_=(e,t)=>{if(typeof e!=`function`)throw TypeError(dv(32))},V_=()=>{},H_=(e,t=V_)=>(e.catch(t),e),U_=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),W_=e=>{if(e.aborted)throw new z_(e.reason)};function G_(e,t){let n=V_;return new Promise((r,i)=>{let a=()=>i(new z_(e.reason));if(e.aborted){a();return}n=U_(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=V_})}var K_=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof z_?`cancelled`:`rejected`,error:e}}finally{t?.()}},q_=e=>t=>H_(G_(e,t).then(t=>(W_(e),t))),J_=e=>{let t=q_(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:Y_}=Object,X_={},Z_=`listenerMiddleware`,Q_=(e,t)=>{let n=t=>U_(e,()=>t.abort(e.reason));return(r,i)=>{B_(r,`taskExecutor`);let a=new AbortController;n(a);let o=K_(async()=>{W_(e),W_(a.signal);let t=await r({pause:q_(a.signal),delay:J_(a.signal),signal:a.signal});return W_(a.signal),t},()=>a.abort(I_));return i?.autoJoin&&t.push(o.catch(V_)),{result:q_(e)(o),cancel(){a.abort(F_)}}}},$_=(e,t)=>{let n=async(n,r)=>{W_(t);let i=()=>{},a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})];r!=null&&a.push(new Promise(e=>setTimeout(e,r,null)));try{let e=await G_(t,Promise.race(a));return W_(t),e}finally{i()}};return(e,t)=>H_(n(e,t))},ev=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=r_(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(dv(21));return B_(a,`options.listener`),{predicate:i,type:t,effect:a}},tv=Y_(e=>{let{type:t,predicate:n,effect:r}=ev(e);return{id:y_(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(dv(22))}}},{withTypes:()=>tv}),nv=(e,t)=>{let{type:n,effect:r,predicate:i}=ev(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},rv=e=>{e.pending.forEach(e=>{e.abort(L_)})},iv=(e,t)=>()=>{for(let e of t.keys())rv(e);e.clear()},av=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},ov=Y_(r_(`${Z_}/add`),{withTypes:()=>ov}),sv=r_(`${Z_}/removeAll`),cv=Y_(r_(`${Z_}/remove`),{withTypes:()=>cv}),lv=(...e)=>{console.error(`${Z_}/error`,...e)},uv=(e={})=>{let t=new Map,n=new Map,r=e=>{let t=n.get(e)??0;n.set(e,t+1)},i=e=>{let t=n.get(e)??1;t===1?n.delete(e):n.set(e,t-1)},{extra:a,onError:o=lv}=e;B_(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&rv(e)}),c=e=>s(nv(t,e)??tv(e));Y_(c,{withTypes:()=>c});let l=e=>{let n=nv(t,e);return n&&(n.unsubscribe(),e.cancelActive&&rv(n)),!!n};Y_(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=$_(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,Y_({},s,{getOriginalState:l,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:J_(u.signal),pause:q_(u.signal),extra:a,signal:u.signal,fork:Q_(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(L_),n.delete(e))})},cancel:()=>{u.abort(L_),e.pending.delete(u)},throwIfCancelled:()=>{W_(u.signal)}})))}catch(e){e instanceof z_||av(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(R_),i(e),e.pending.delete(u)}},d=iv(t,n);return{middleware:e=>n=>r=>{if(!jh(r))return n(r);if(ov.match(r))return c(r.payload);if(sv.match(r)){d();return}if(cv.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===X_)throw Error(dv(23));return i},s;try{if(s=n(r),t.size>0){let n=e.getState(),s=Array.from(t.values());for(let t of s){let s=!1;try{s=t.predicate(r,n,i)}catch(e){s=!1,av(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=X_}return s},startListening:c,stopListening:l,clearListeners:d}};function dv(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var fv=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}e.debounce=t})),pv=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=fv();function n(e,n=0,r={}){typeof r!=`object`&&(r={});let{leading:i=!1,trailing:a=!0,maxWait:o}=r,s=[,,];i&&(s[0]=`leading`),a&&(s[1]=`trailing`);let c,l=null,u=t.debounce(function(...t){c=e.apply(this,t),l=null},n,{edges:s}),d=function(...t){return o!=null&&(l===null&&(l=Date.now()),Date.now()-l>=o)?(c=e.apply(this,t),l=Date.now(),u.cancel(),u.schedule(),c):(u.apply(this,t),c)};return d.cancel=u.cancel,d.flush=()=>(u.flush(),c),d}e.debounce=n})),mv=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=pv();function n(e,n=0,r={}){let{leading:i=!0,trailing:a=!0}=r;return t.debounce(e,n,{leading:i,maxWait:n,trailing:a})}e.throttle=n})),hv=n(((e,t)=>{t.exports=mv().throttle})),gv=Symbol.for(`immer-nothing`),_v=Symbol.for(`immer-draftable`),vv=Symbol.for(`immer-state`);function yv(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var bv=Object.getPrototypeOf;function xv(e){return!!e&&!!e[vv]}function Sv(e){return e?Tv(e)||Array.isArray(e)||!!e[_v]||!!e.constructor?.[_v]||jv(e)||Mv(e):!1}var Cv=Object.prototype.constructor.toString(),wv=new WeakMap;function Tv(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let n=Object.hasOwnProperty.call(t,`constructor`)&&t.constructor;if(n===Object)return!0;if(typeof n!=`function`)return!1;let r=wv.get(n);return r===void 0&&(r=Function.toString.call(n),wv.set(n,r)),r===Cv}function Ev(e,t,n=!0){Dv(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Dv(e){let t=e[vv];return t?t.type_:Array.isArray(e)?1:jv(e)?2:Mv(e)?3:0}function Ov(e,t){return Dv(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function kv(e,t,n){let r=Dv(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Av(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function jv(e){return e instanceof Map}function Mv(e){return e instanceof Set}function Nv(e){return e.copy_||e.base_}function Pv(e,t){if(jv(e))return new Map(e);if(Mv(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=Tv(e);if(t===!0||t===`class_only`&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[vv];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(bv(e),t)}else{let t=bv(e);return t!==null&&n?{...e}:Object.assign(Object.create(t),e)}}function Fv(e,t=!1){return Rv(e)||xv(e)||!Sv(e)?e:(Dv(e)>1&&Object.defineProperties(e,{set:Lv,add:Lv,clear:Lv,delete:Lv}),Object.freeze(e),t&&Object.values(e).forEach(e=>Fv(e,!0)),e)}function Iv(){yv(2)}var Lv={value:Iv};function Rv(e){return typeof e!=`object`||!e?!0:Object.isFrozen(e)}var zv={};function Bv(e){let t=zv[e];return t||yv(0,e),t}var Vv;function Hv(){return Vv}function Uv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Wv(e,t){t&&(Bv(`Patches`),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Gv(e){Kv(e),e.drafts_.forEach(Jv),e.drafts_=null}function Kv(e){e===Vv&&(Vv=e.parent_)}function qv(e){return Vv=Uv(Vv,e)}function Jv(e){let t=e[vv];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Yv(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return e!==void 0&&e!==n?(n[vv].modified_&&(Gv(t),yv(4)),Sv(e)&&(e=Xv(t,e),t.parent_||Qv(t,e)),t.patches_&&Bv(`Patches`).generateReplacementPatches_(n[vv].base_,e,t.patches_,t.inversePatches_)):e=Xv(t,n,[]),Gv(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===gv?void 0:e}function Xv(e,t,n){if(Rv(t))return t;let r=e.immer_.shouldUseStrictIteration(),i=t[vv];if(!i)return Ev(t,(r,a)=>Zv(e,i,t,r,a,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return Qv(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let t=i.copy_,a=t,o=!1;i.type_===3&&(a=new Set(t),t.clear(),o=!0),Ev(a,(r,a)=>Zv(e,i,t,r,a,n,o),r),Qv(e,t,!1),n&&e.patches_&&Bv(`Patches`).generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function Zv(e,t,n,r,i,a,o){if(i==null||typeof i!=`object`&&!o)return;let s=Rv(i);if(!(s&&!o)){if(xv(i)){let o=Xv(e,i,a&&t&&t.type_!==3&&!Ov(t.assigned_,r)?a.concat(r):void 0);if(kv(n,r,o),xv(o))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(Sv(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===i&&s)return;Xv(e,i),(!t||!t.scope_.parent_)&&typeof r!=`symbol`&&(jv(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&Qv(e,i)}}}function Qv(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Fv(t,n)}function $v(e,t){let n=Array.isArray(e),r={type_:+!!n,scope_:t?t.scope_:Hv(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=r,a=ey;n&&(i=[r],a=ty);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,s}var ey={get(e,t){if(t===vv)return e;let n=Nv(e);if(!Ov(n,t))return ry(e,n,t);let r=n[t];return e.finalized_||!Sv(r)?r:r===ny(e.base_,t)?(oy(e),e.copy_[t]=cy(r,e)):r},has(e,t){return t in Nv(e)},ownKeys(e){return Reflect.ownKeys(Nv(e))},set(e,t,n){let r=iy(Nv(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=ny(Nv(e),t),i=r?.[vv];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Av(n,r)&&(n!==void 0||Ov(e.base_,t)))return!0;oy(e),ay(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_[t]=!0,!0)},deleteProperty(e,t){return ny(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,oy(e),ay(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Nv(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty(){yv(11)},getPrototypeOf(e){return bv(e.base_)},setPrototypeOf(){yv(12)}},ty={};Ev(ey,(e,t)=>{ty[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ty.deleteProperty=function(e,t){return ty.set.call(this,e,t,void 0)},ty.set=function(e,t,n){return ey.set.call(this,e[0],t,n,e[0])};function ny(e,t){let n=e[vv];return(n?Nv(n):e)[t]}function ry(e,t,n){let r=iy(t,n);return r?`value`in r?r.value:r.get?.call(e.draft_):void 0}function iy(e,t){if(!(t in e))return;let n=bv(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=bv(n)}}function ay(e){e.modified_||(e.modified_=!0,e.parent_&&ay(e.parent_))}function oy(e){e.copy_||=Pv(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var sy=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if(typeof e==`function`&&typeof t!=`function`){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}typeof t!=`function`&&yv(6),n!==void 0&&typeof n!=`function`&&yv(7);let r;if(Sv(e)){let i=qv(this),a=cy(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?Gv(i):Kv(i)}return Wv(i,n),Yv(r,i)}else if(!e||typeof e!=`object`){if(r=t(e),r===void 0&&(r=e),r===gv&&(r=void 0),this.autoFreeze_&&Fv(r,!0),n){let t=[],i=[];Bv(`Patches`).generateReplacementPatches_(e,r,t,i),n(t,i)}return r}else yv(1,e)},this.produceWithPatches=(e,t)=>{if(typeof e==`function`)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},typeof e?.autoFreeze==`boolean`&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==`boolean`&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==`boolean`&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Sv(e)||yv(8),xv(e)&&(e=ly(e));let t=qv(this),n=cy(e,void 0);return n[vv].isManual_=!0,Kv(t),n}finishDraft(e,t){let n=e&&e[vv];(!n||!n.isManual_)&&yv(9);let{scope_:r}=n;return Wv(r,t),Yv(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=Bv(`Patches`).applyPatches_;return xv(e)?r(e,t):this.produce(e,e=>r(e,t))}};function cy(e,t){let n=jv(e)?Bv(`MapSet`).proxyMap_(e,t):Mv(e)?Bv(`MapSet`).proxySet_(e,t):$v(e,t);return(t?t.scope_:Hv()).drafts_.push(n),n}function ly(e){return xv(e)||yv(10,e),uy(e)}function uy(e){if(!Sv(e)||Rv(e))return e;let t=e[vv],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Pv(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Pv(e,!0);return Ev(n,(e,t)=>{kv(n,e,uy(t))},r),t&&(t.finalized_=!1),n}new sy().produce;function dy(e){return e}var fy=n((e=>{var t=i();t.useSyncExternalStore,t.useRef,t.useEffect,t.useMemo,t.useDebugValue})),py=n(((e,t)=>{t.exports=fy()})),my=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=hh();function n(e){return t.isSymbol(e)?NaN:Number(e)}e.toNumber=n})),hy=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=my();function n(e){return e?(e=t.toNumber(e),e===1/0||e===-1/0?(e<0?-1:1)*Number.MAX_VALUE:e===e?e:0):e===0?e:0}e.toFinite=n})),gy=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=yh(),n=hy();function r(e,r,i){i&&typeof i!=`number`&&t.isIterateeCall(e,r,i)&&(r=i=void 0),e=n.toFinite(e),r===void 0?(r=e,e=0):r=n.toFinite(r),i=i===void 0?e<r?1:-1:n.toFinite(i);let a=Math.max(Math.ceil((r-e)/(i||1)),0),o=Array(a);for(let t=0;t<a;t++)o[t]=e,e+=i;return o}e.range=r})),_y=n(((e,t)=>{t.exports=gy().range})),vy=n(((e,t)=>{(function(e){var n=1e9,r={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:`2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286`},i=!0,a=`[DecimalError] `,o=a+`Invalid argument: `,s=a+`Exponent out of range: `,c=Math.floor,l=Math.pow,u=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d,f=1e7,p=7,m=9007199254740991,h=c(m/p),g={};g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&=1,e},g.comparedTo=g.cmp=function(e){var t,n,r,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(r=a.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*p;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return b(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this,n=t.constructor;return D(b(t,new n(e),0,1),n.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return this.s===0},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,s=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(d))throw Error(a+`NaN`);if(n.s<1)throw Error(a+(n.s?`NaN`:`-Infinity`));return n.eq(d)?new r(0):(i=!1,t=b(T(n,s),T(e,s),s),i=!0,D(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?O(t,e):_(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(a+`NaN`);return n.s?(i=!1,t=b(n,e,0,1).times(e),i=!0,n.minus(t)):D(new r(n),o)},g.naturalExponential=g.exp=function(){return x(this)},g.naturalLogarithm=g.ln=function(){return T(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_(t,e):O(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(o+e);if(t=S(i)+1,r=i.d.length-1,n=r*p+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,s,l,u=this,d=u.constructor;if(u.s<1){if(!u.s)return new d(0);throw Error(a+`NaN`)}for(e=S(u),i=!1,o=Math.sqrt(+u),o==0||o==1/0?(t=y(u.d),(t.length+e)%2==0&&(t+=`0`),o=Math.sqrt(t),e=c((e+1)/2)-(e<0||e%2),o==1/0?t=`5e`+e:(t=o.toExponential(),t=t.slice(0,t.indexOf(`e`)+1)+e),r=new d(t)):r=new d(o.toString()),n=d.precision,o=l=n+3;;)if(s=r,r=s.plus(b(u,s,l+2)).times(.5),y(s.d).slice(0,l)===(t=y(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),o==l&&t==`4999`){if(D(s,n+1,0),s.times(s).eq(u)){r=s;break}}else if(t!=`9999`)break;l+=4}return i=!0,D(r,n)},g.times=g.mul=function(e){var t,n,r,a,o,s,c,l,u,d=this,p=d.constructor,m=d.d,h=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,n=d.e+e.e,l=m.length,u=h.length,l<u&&(o=m,m=h,h=o,s=l,l=u,u=s),o=[],s=l+u,r=s;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,a=l+r;a>r;)c=o[a]+h[r]*m[a-r-1]+t,o[a--]=c%f|0,t=c/f|0;o[a]=(o[a]+t)%f|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,i?D(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,i=r.constructor;return r=new i(r),e===void 0?r:(v(e,0,n),t===void 0?t=i.rounding:v(t,0,8),D(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,i=this,a=i.constructor;return e===void 0?r=k(i,!0):(v(e,0,n),t===void 0?t=a.rounding:v(t,0,8),i=D(new a(i),e+1,t),r=k(i,!0,e+1)),r},g.toFixed=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?k(a):(v(e,0,n),t===void 0?t=o.rounding:v(t,0,8),i=D(new o(a),e+S(a)+1,t),r=k(i.abs(),!1,e+S(i)+1),a.isneg()&&!a.isZero()?`-`+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return D(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,s,l,u=this,f=u.constructor,h=12,g=+(e=new f(e));if(!e.s)return new f(d);if(u=new f(u),!u.s){if(e.s<1)throw Error(a+`Infinity`);return u}if(u.eq(d))return u;if(r=f.precision,e.eq(d))return D(u,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=u.s,!l){if(s<0)throw Error(a+`NaN`)}else if((n=g<0?-g:g)<=m){for(o=new f(d),t=Math.ceil(r/p+4),i=!1;n%2&&(o=o.times(u),ee(o.d,t)),n=c(n/2),n!==0;)u=u.times(u),ee(u.d,t);return i=!0,e.s<0?new f(d).div(o):D(o,r)}return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,i=!1,o=e.times(T(u,r+h)),i=!0,o=x(o),o.s=s,o},g.toPrecision=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?(r=S(a),i=k(a,r<=o.toExpNeg||r>=o.toExpPos)):(v(e,1,n),t===void 0?t=o.rounding:v(t,0,8),a=D(new o(a),e,t),r=S(a),i=k(a,e<=r||r<=o.toExpNeg,e)),i},g.toSignificantDigits=g.tosd=function(e,t){var r=this,i=r.constructor;return e===void 0?(e=i.precision,t=i.rounding):(v(e,1,n),t===void 0?t=i.rounding:v(t,0,8)),D(new i(r),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),n=e.constructor;return k(e,t<=n.toExpNeg||t>=n.toExpPos)};function _(e,t){var n,r,a,o,s,c,l,u,d=e.constructor,m=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),i?D(t,m):t;if(l=e.d,u=t.d,s=e.e,a=t.e,l=l.slice(),o=s-a,o){for(o<0?(r=l,o=-o,c=u.length):(r=u,a=s,c=l.length),s=Math.ceil(m/p),c=s>c?s+1:c+1,o>c&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(c=l.length,o=u.length,c-o<0&&(o=c,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/f|0,l[o]%=f;for(n&&(l.unshift(n),++a),c=l.length;l[--c]==0;)l.pop();return t.d=l,t.e=a,i?D(t,m):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(o+e)}function y(e){var t,n,r,i=e.length-1,a=``,o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)r=e[t]+``,n=p-r.length,n&&(a+=w(n)),a+=r;o=e[t],r=o+``,n=p-r.length,n&&(a+=w(n))}else if(o===0)return`0`;for(;o%10==0;)o/=10;return a+o}var b=(function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=+(e[n]<t[n]),e[n]=r*f+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,s){var c,l,u,d,m,h,g,_,v,y,b,x,C,w,T,E,O,k,ee=r.constructor,A=r.s==i.s?1:-1,j=r.d,M=i.d;if(!r.s)return new ee(r);if(!i.s)throw Error(a+`Division by zero`);for(l=r.e-i.e,O=M.length,T=j.length,g=new ee(A),_=g.d=[],u=0;M[u]==(j[u]||0);)++u;if(M[u]>(j[u]||0)&&--l,x=o==null?o=ee.precision:s?o+(S(r)-S(i))+1:o,x<0)return new ee(0);if(x=x/p+2|0,u=0,O==1)for(d=0,M=M[0],x++;(u<T||d)&&x--;u++)C=d*f+(j[u]||0),_[u]=C/M|0,d=C%M|0;else{for(d=f/(M[0]+1)|0,d>1&&(M=e(M,d),j=e(j,d),O=M.length,T=j.length),w=O,v=j.slice(0,O),y=v.length;y<O;)v[y++]=0;k=M.slice(),k.unshift(0),E=M[0],M[1]>=f/2&&++E;do d=0,c=t(M,v,O,y),c<0?(b=v[0],O!=y&&(b=b*f+(v[1]||0)),d=b/E|0,d>1?(d>=f&&(d=f-1),m=e(M,d),h=m.length,y=v.length,c=t(m,v,h,y),c==1&&(d--,n(m,O<h?k:M,h))):(d==0&&(c=d=1),m=M.slice()),h=m.length,h<y&&m.unshift(0),n(v,m,y),c==-1&&(y=v.length,c=t(M,v,O,y),c<1&&(d++,n(v,O<y?k:M,y))),y=v.length):c===0&&(d++,v=[0]),_[u++]=d,c&&v[0]?v[y++]=j[w]||0:(v=[j[w]],y=1);while((w++<T||v[0]!==void 0)&&x--)}return _[0]||_.shift(),g.e=l,D(g,s?o+S(g)+1:o)}})();function x(e,t){var n,r,a,o,c,u,f=0,p=0,m=e.constructor,h=m.precision;if(S(e)>16)throw Error(s+S(e));if(!e.s)return new m(d);for(t==null?(i=!1,u=h):u=t,c=new m(.03125);e.abs().gte(.1);)e=e.times(c),p+=5;for(r=Math.log(l(2,p))/Math.LN10*2+5|0,u+=r,n=a=o=new m(d),m.precision=u;;){if(a=D(a.times(e),u),n=n.times(++f),c=o.plus(b(a,n,u)),y(c.d).slice(0,u)===y(o.d).slice(0,u)){for(;p--;)o=D(o.times(o),u);return m.precision=h,t==null?(i=!0,D(o,h)):o}o=c}}function S(e){for(var t=e.e*p,n=e.d[0];n>=10;n/=10)t++;return t}function C(e,t,n){if(t>e.LN10.sd())throw i=!0,n&&(e.precision=n),Error(a+`LN10 precision limit exceeded`);return D(new e(e.LN10),t)}function w(e){for(var t=``;e--;)t+=`0`;return t}function T(e,t){var n,r,o,s,c,l,u,f,p,m=1,h=10,g=e,_=g.d,v=g.constructor,x=v.precision;if(g.s<1)throw Error(a+(g.s?`NaN`:`-Infinity`));if(g.eq(d))return new v(0);if(t==null?(i=!1,f=x):f=t,g.eq(10))return t??(i=!0),C(v,f);if(f+=h,v.precision=f,n=y(_),r=n.charAt(0),s=S(g),Math.abs(s)<0x5543df729c000){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)g=g.times(e),n=y(g.d),r=n.charAt(0),m++;s=S(g),r>1?(g=new v(`0.`+n),s++):g=new v(r+`.`+n.slice(1))}else return u=C(v,f+2,x).times(s+``),g=T(new v(r+`.`+n.slice(1)),f-h).plus(u),v.precision=x,t==null?(i=!0,D(g,x)):g;for(l=c=g=b(g.minus(d),g.plus(d),f),p=D(g.times(g),f),o=3;;){if(c=D(c.times(p),f),u=l.plus(b(c,new v(o),f)),y(u.d).slice(0,f)===y(l.d).slice(0,f))return l=l.times(2),s!==0&&(l=l.plus(C(v,f+2,x).times(s+``))),l=b(l,new v(m),f),v.precision=x,t==null?(i=!0,D(l,x)):l;l=u,o+=2}}function E(e,t){var n,r,a;for((n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=c(n/p),e.d=[],r=(n+1)%p,n<0&&(r+=p),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=p;r<a;)e.d.push(+t.slice(r,r+=p));t=t.slice(r),r=p-t.length}else r-=a;for(;r--;)t+=`0`;if(e.d.push(+t),i&&(e.e>h||e.e<-h))throw Error(s+n)}else e.s=0,e.e=0,e.d=[0];return e}function D(e,t,n){var r,a,o,u,d,m,g,_,v=e.d;for(u=1,o=v[0];o>=10;o/=10)u++;if(r=t-u,r<0)r+=p,a=t,g=v[_=0];else{if(_=Math.ceil((r+1)/p),o=v.length,_>=o)return e;for(g=o=v[_],u=1;o>=10;o/=10)u++;r%=p,a=r-p+u}if(n!==void 0&&(o=l(10,u-a-1),d=g/o%10|0,m=t<0||v[_+1]!==void 0||g%o,m=n<4?(d||m)&&(n==0||n==(e.s<0?3:2)):d>5||d==5&&(n==4||m||n==6&&(r>0?a>0?g/l(10,u-a):0:v[_-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return m?(o=S(e),v.length=1,t=t-o-1,v[0]=l(10,(p-t%p)%p),e.e=c(-t/p)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(r==0?(v.length=_,o=1,_--):(v.length=_+1,o=l(10,p-r),v[_]=a>0?(g/l(10,u-a)%l(10,a)|0)*o:0),m)for(;;)if(_==0){(v[0]+=o)==f&&(v[0]=1,++e.e);break}else{if(v[_]+=o,v[_]!=f)break;v[_--]=0,o=1}for(r=v.length;v[--r]===0;)v.pop();if(i&&(e.e>h||e.e<-h))throw Error(s+S(e));return e}function O(e,t){var n,r,a,o,s,c,l,u,d,m,h=e.constructor,g=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),i?D(t,g):t;if(l=e.d,m=t.d,r=t.e,u=e.e,l=l.slice(),s=u-r,s){for(d=s<0,d?(n=l,s=-s,c=m.length):(n=m,r=u,c=l.length),a=Math.max(Math.ceil(g/p),c)+2,s>a&&(s=a,n.length=1),n.reverse(),a=s;a--;)n.push(0);n.reverse()}else{for(a=l.length,c=m.length,d=a<c,d&&(c=a),a=0;a<c;a++)if(l[a]!=m[a]){d=l[a]<m[a];break}s=0}for(d&&(n=l,l=m,m=n,t.s=-t.s),c=l.length,a=m.length-c;a>0;--a)l[c++]=0;for(a=m.length;a>s;){if(l[--a]<m[a]){for(o=a;o&&l[--o]===0;)l[o]=f-1;--l[o],l[a]+=f}l[a]-=m[a]}for(;l[--c]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(t.d=l,t.e=r,i?D(t,g):t):new h(0)}function k(e,t,n){var r,i=S(e),a=y(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+`.`+a.slice(1)+w(r):o>1&&(a=a.charAt(0)+`.`+a.slice(1)),a=a+(i<0?`e`:`e+`)+i):i<0?(a=`0.`+w(-i-1)+a,n&&(r=n-o)>0&&(a+=w(r))):i>=o?(a+=w(i+1-o),n&&(r=n-i-1)>0&&(a=a+`.`+w(r))):((r=i+1)<o&&(a=a.slice(0,r)+`.`+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+=`.`),a+=w(r))),e.s<0?`-`+a:a}function ee(e,t){if(e.length>t)return e.length=t,!0}function A(e){var t,n,r;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i){t.s=e.s,t.e=e.e,t.d=(e=e.d)?e.slice():e;return}if(typeof e==`number`){if(e*0!=0)throw Error(o+e);if(e>0)t.s=1;else if(e<0)e=-e,t.s=-1;else{t.s=0,t.e=0,t.d=[0];return}if(e===~~e&&e<1e7){t.e=0,t.d=[e];return}return E(t,e.toString())}else if(typeof e!=`string`)throw Error(o+e);if(e.charCodeAt(0)===45?(e=e.slice(1),t.s=-1):t.s=1,u.test(e))E(t,e);else throw Error(o+e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=A,i.config=i.set=j,e===void 0&&(e={}),e)for(r=[`precision`,`rounding`,`toExpNeg`,`toExpPos`,`LN10`],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function j(e){if(!e||typeof e!=`object`)throw Error(a+`Object expected`);var t,r,i,s=[`precision`,1,n,`rounding`,0,8,`toExpNeg`,-1/0,0,`toExpPos`,0,1/0];for(t=0;t<s.length;t+=3)if((i=e[r=s[t]])!==void 0)if(c(i)===i&&i>=s[t+1]&&i<=s[t+2])this[r]=i;else throw Error(o+r+`: `+i);if((i=e[r=`LN10`])!==void 0)if(i==Math.LN10)this[r]=new this(i);else throw Error(o+r+`: `+i);return this}r=A(r),r.default=r.Decimal=r,d=new r(1),typeof define==`function`&&define.amd?define(function(){return r}):t!==void 0&&t.exports?t.exports=r:(e||=typeof self<`u`&&self&&self.self==self?self:Function(`return this`)(),e.Decimal=r)})(e)}));function yy(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function by(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function xy(e){let t,n,r;e.length===2?(t=e===yy||e===by?e:Sy,n=e,r=e):(t=yy,n=(t,n)=>yy(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function Sy(){return 0}function Cy(e){return e===null?NaN:+e}function*wy(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var Ty=xy(yy),Ey=Ty.right;Ty.left,xy(Cy).center;var Dy=class extends Map{constructor(e,t=jy){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(Oy(this,e))}has(e){return super.has(Oy(this,e))}set(e,t){return super.set(ky(this,e),t)}delete(e){return super.delete(Ay(this,e))}};function Oy({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function ky({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function Ay({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function jy(e){return typeof e==`object`&&e?e.valueOf():e}function My(e=yy){if(e===yy)return Ny;if(typeof e!=`function`)throw TypeError(`compare is not a function`);return(t,n)=>{let r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function Ny(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:+(e>t))}var Py=Math.sqrt(50),Fy=Math.sqrt(10),Iy=Math.sqrt(2);function Ly(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=Py?10:a>=Fy?5:a>=Iy?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?Ly(e,t,n*2):[s,c,l]}function Ry(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?Ly(t,e,n):Ly(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function zy(e,t,n){return t=+t,e=+e,n=+n,Ly(e,t,n)[2]}function By(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?zy(t,e,n):zy(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function Vy(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function Hy(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function Uy(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?Ny:My(i);r>n;){if(r-n>600){let a=r-n+1,o=t-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(t-o*c/a+l)),d=Math.min(r,Math.floor(t+(a-o)*c/a+l));Uy(e,t,u,d,i)}let a=e[t],o=n,s=r;for(Wy(e,n,t),i(e[r],a)>0&&Wy(e,n,r);o<s;){for(Wy(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[n],a)===0?Wy(e,n,s):(++s,Wy(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function Wy(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function Gy(e,t,n){if(e=Float64Array.from(wy(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return Hy(e);if(t>=1)return Vy(e);var r,i=(r-1)*t,a=Math.floor(i),o=Vy(Uy(e,a).subarray(0,a+1));return o+(Hy(e.subarray(a+1))-o)*(i-a)}}function Ky(e,t,n=Cy){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),o=+n(e[a],a,e);return o+(+n(e[a+1],a+1,e)-o)*(i-a)}}function qy(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function Jy(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Yy(e,t){switch(arguments.length){case 0:break;case 1:typeof e==`function`?this.interpolator(e):this.range(e);break;default:this.domain(e),typeof t==`function`?this.interpolator(t):this.range(t);break}return this}var Xy=Symbol(`implicit`);function Zy(){var e=new Dy,t=[],n=[],r=Xy;function i(i){let a=e.get(i);if(a===void 0){if(r!==Xy)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Dy;for(let r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return Zy(t,n).unknown(r)},Jy.apply(i,arguments),i}function Qy(){var e=Zy().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=qy(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return Qy(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},Jy.apply(d(),arguments)}function $y(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return $y(t())},e}function eb(){return $y(Qy.apply(null,arguments).paddingInner(1))}function tb(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function nb(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function rb(){}var ib=.7,ab=1/ib,ob=`\\s*([+-]?\\d+)\\s*`,sb=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,cb=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,lb=/^#([0-9a-f]{3,8})$/,ub=RegExp(`^rgb\\(${ob},${ob},${ob}\\)$`),db=RegExp(`^rgb\\(${cb},${cb},${cb}\\)$`),fb=RegExp(`^rgba\\(${ob},${ob},${ob},${sb}\\)$`),pb=RegExp(`^rgba\\(${cb},${cb},${cb},${sb}\\)$`),mb=RegExp(`^hsl\\(${sb},${cb},${cb}\\)$`),hb=RegExp(`^hsla\\(${sb},${cb},${cb},${sb}\\)$`),gb={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};tb(rb,xb,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:_b,formatHex:_b,formatHex8:vb,formatHsl:yb,formatRgb:bb,toString:bb});function _b(){return this.rgb().formatHex()}function vb(){return this.rgb().formatHex8()}function yb(){return Pb(this).formatHsl()}function bb(){return this.rgb().formatRgb()}function xb(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=lb.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Sb(t):n===3?new Eb(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Cb(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Cb(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=ub.exec(e))?new Eb(t[1],t[2],t[3],1):(t=db.exec(e))?new Eb(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=fb.exec(e))?Cb(t[1],t[2],t[3],t[4]):(t=pb.exec(e))?Cb(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=mb.exec(e))?Nb(t[1],t[2]/100,t[3]/100,1):(t=hb.exec(e))?Nb(t[1],t[2]/100,t[3]/100,t[4]):gb.hasOwnProperty(e)?Sb(gb[e]):e===`transparent`?new Eb(NaN,NaN,NaN,0):null}function Sb(e){return new Eb(e>>16&255,e>>8&255,e&255,1)}function Cb(e,t,n,r){return r<=0&&(e=t=n=NaN),new Eb(e,t,n,r)}function wb(e){return e instanceof rb||(e=xb(e)),e?(e=e.rgb(),new Eb(e.r,e.g,e.b,e.opacity)):new Eb}function Tb(e,t,n,r){return arguments.length===1?wb(e):new Eb(e,t,n,r??1)}function Eb(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}tb(Eb,Tb,nb(rb,{brighter(e){return e=e==null?ab:ab**+e,new Eb(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?ib:ib**+e,new Eb(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Eb(jb(this.r),jb(this.g),jb(this.b),Ab(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Db,formatHex:Db,formatHex8:Ob,formatRgb:kb,toString:kb}));function Db(){return`#${Mb(this.r)}${Mb(this.g)}${Mb(this.b)}`}function Ob(){return`#${Mb(this.r)}${Mb(this.g)}${Mb(this.b)}${Mb((isNaN(this.opacity)?1:this.opacity)*255)}`}function kb(){let e=Ab(this.opacity);return`${e===1?`rgb(`:`rgba(`}${jb(this.r)}, ${jb(this.g)}, ${jb(this.b)}${e===1?`)`:`, ${e})`}`}function Ab(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function jb(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Mb(e){return e=jb(e),(e<16?`0`:``)+e.toString(16)}function Nb(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ib(e,t,n,r)}function Pb(e){if(e instanceof Ib)return new Ib(e.h,e.s,e.l,e.opacity);if(e instanceof rb||(e=xb(e)),!e)return new Ib;if(e instanceof Ib)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new Ib(o,s,c,e.opacity)}function Fb(e,t,n,r){return arguments.length===1?Pb(e):new Ib(e,t,n,r??1)}function Ib(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}tb(Ib,Fb,nb(rb,{brighter(e){return e=e==null?ab:ab**+e,new Ib(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?ib:ib**+e,new Ib(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Eb(zb(e>=240?e-240:e+120,i,r),zb(e,i,r),zb(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Ib(Lb(this.h),Rb(this.s),Rb(this.l),Ab(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=Ab(this.opacity);return`${e===1?`hsl(`:`hsla(`}${Lb(this.h)}, ${Rb(this.s)*100}%, ${Rb(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function Lb(e){return e=(e||0)%360,e<0?e+360:e}function Rb(e){return Math.max(0,Math.min(1,e||0))}function zb(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var Bb=e=>()=>e;function Vb(e,t){return function(n){return e+n*t}}function Hb(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function Ub(e){return(e=+e)==1?Wb:function(t,n){return n-t?Hb(t,n,e):Bb(isNaN(t)?n:t)}}function Wb(e,t){var n=t-e;return n?Vb(e,n):Bb(isNaN(e)?t:e)}var Gb=(function e(t){var n=Ub(t);function r(e,t){var r=n((e=Tb(e)).r,(t=Tb(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=Wb(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function Kb(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function qb(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Jb(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=rx(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function Yb(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Xb(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Zb(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=rx(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var Qb=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$b=new RegExp(Qb.source,`g`);function ex(e){return function(){return e}}function tx(e){return function(t){return e(t)+``}}function nx(e,t){var n=Qb.lastIndex=$b.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=Qb.exec(e))&&(i=$b.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:Xb(r,i)})),n=$b.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?tx(c[0].x):ex(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function rx(e,t){var n=typeof t,r;return t==null||n===`boolean`?Bb(t):(n===`number`?Xb:n===`string`?(r=xb(t))?(t=r,Gb):nx:t instanceof xb?Gb:t instanceof Date?Yb:qb(t)?Kb:Array.isArray(t)?Jb:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?Zb:Xb)(e,t)}function ix(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function ax(e,t){t===void 0&&(t=e,e=rx);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return a[t](e-t)}}function ox(e){return function(){return e}}function sx(e){return+e}var cx=[0,1];function lx(e){return e}function ux(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:ox(isNaN(t)?NaN:.5)}function dx(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function fx(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=ux(i,r),a=n(o,a)):(r=ux(r,i),a=n(a,o)),function(e){return a(r(e))}}function px(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=ux(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=Ey(e,t,1,r)-1;return a[n](i[n](t))}}function mx(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function hx(){var e=cx,t=cx,n=rx,r,i,a,o=lx,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==lx&&(o=dx(e[0],e[n-1])),s=n>2?px:fx,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),Xb))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,sx),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=ix,u()},d.clamp=function(e){return arguments.length?(o=e?!0:lx,u()):o!==lx},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function gx(){return hx()(lx,lx)}function _x(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function vx(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function yx(e){return e=vx(Math.abs(e)),e?e[1]:NaN}function bx(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function xx(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var Sx=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Cx(e){if(!(t=Sx.exec(e)))throw Error(`invalid format: `+e);var t;return new wx({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Cx.prototype=wx.prototype;function wx(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}wx.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function Tx(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Ex;function Dx(e,t){var n=vx(e,t);if(!n)return Ex=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(Ex=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+vx(e,Math.max(0,t+a-1))[0]}function Ox(e,t){var n=vx(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var kx={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:_x,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Ox(e*100,t),r:Ox,s:Dx,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ax(e){return e}var jx=Array.prototype.map,Mx=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function Nx(e){var t=e.grouping===void 0||e.thousands===void 0?Ax:bx(jx.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?Ax:xx(jx.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`−`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=Cx(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):kx[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=kx[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=Tx(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&Ex!==void 0?Mx[8+Ex/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r;break}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(yx(t)/3)))*3,r=10**-n,i=l((e=Cx(e),e.type=`f`,e),{suffix:Mx[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var Px,Fx,Ix;Lx({thousands:`,`,grouping:[3],currency:[`$`,``]});function Lx(e){return Px=Nx(e),Fx=Px.format,Ix=Px.formatPrefix,Px}function Rx(e){return Math.max(0,-yx(Math.abs(e)))}function zx(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(yx(t)/3)))*3-yx(Math.abs(e)))}function Bx(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,yx(t)-yx(e))+1}function Vx(e,t,n,r){var i=By(e,t,n),a;switch(r=Cx(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=zx(i,o))&&(r.precision=a),Ix(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=Bx(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=Rx(i))&&(r.precision=a-(r.type===`%`)*2);break}return Fx(r)}function Hx(e){var t=e.domain;return e.ticks=function(e){var n=t();return Ry(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return Vx(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=zy(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function Ux(){var e=gx();return e.copy=function(){return mx(e,Ux())},Jy.apply(e,arguments),Hx(e)}function Wx(e){var t;function n(e){return e==null||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,sx),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Wx(e).unknown(t)},e=arguments.length?Array.from(e,sx):[0,1],Hx(n)}function Gx(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}function Kx(e){return Math.log(e)}function qx(e){return Math.exp(e)}function Jx(e){return-Math.log(-e)}function Yx(e){return-Math.exp(-e)}function Xx(e){return isFinite(e)?+(`1e`+e):e<0?0:e}function Zx(e){return e===10?Xx:e===Math.E?Math.exp:t=>e**+t}function Qx(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function $x(e){return(t,n)=>-e(-t,n)}function eS(e){let t=e(Kx,qx),n=t.domain,r=10,i,a;function o(){return i=Qx(r),a=Zx(r),n()[0]<0?(i=$x(i),a=$x(a),e(Jx,Yx)):e(Kx,qx),t}return t.base=function(e){return arguments.length?(r=+e,o()):r},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{let t=n(),o=t[0],s=t[t.length-1],c=s<o;c&&([o,s]=[s,o]);let l=i(o),u=i(s),d,f,p=e==null?10:+e,m=[];if(!(r%1)&&u-l<p){if(l=Math.floor(l),u=Math.ceil(u),o>0){for(;l<=u;++l)for(d=1;d<r;++d)if(f=l<0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}}else for(;l<=u;++l)for(d=r-1;d>=1;--d)if(f=l>0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}m.length*2<p&&(m=Ry(o,s,p))}else m=Ry(l,u,Math.min(u-l,p)).map(a);return c?m.reverse():m},t.tickFormat=(e,n)=>{if(e??=10,n??=r===10?`s`:`,`,typeof n!=`function`&&(!(r%1)&&(n=Cx(n)).precision==null&&(n.trim=!0),n=Fx(n)),e===1/0)return n;let o=Math.max(1,r*e/t.ticks().length);return e=>{let t=e/a(Math.round(i(e)));return t*r<r-.5&&(t*=r),t<=o?n(e):``}},t.nice=()=>n(Gx(n(),{floor:e=>a(Math.floor(i(e))),ceil:e=>a(Math.ceil(i(e)))})),t}function tS(){let e=eS(hx()).domain([1,10]);return e.copy=()=>mx(e,tS()).base(e.base()),Jy.apply(e,arguments),e}function nS(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function rS(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function iS(e){var t=1,n=e(nS(t),rS(t));return n.constant=function(n){return arguments.length?e(nS(t=+n),rS(t)):t},Hx(n)}function aS(){var e=iS(hx());return e.copy=function(){return mx(e,aS()).constant(e.constant())},Jy.apply(e,arguments)}function oS(e){return function(t){return t<0?-((-t)**+e):t**+e}}function sS(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function cS(e){return e<0?-e*e:e*e}function lS(e){var t=e(lx,lx),n=1;function r(){return n===1?e(lx,lx):n===.5?e(sS,cS):e(oS(n),oS(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},Hx(t)}function uS(){var e=lS(hx());return e.copy=function(){return mx(e,uS()).exponent(e.exponent())},Jy.apply(e,arguments),e}function dS(){return uS.apply(null,arguments).exponent(.5)}function fS(e){return Math.sign(e)*e*e}function pS(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function mS(){var e=gx(),t=[0,1],n=!1,r;function i(t){var i=pS(e(t));return isNaN(i)?r:n?Math.round(i):i}return i.invert=function(t){return e.invert(fS(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(n){return arguments.length?(e.range((t=Array.from(n,sx)).map(fS)),i):t.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return mS(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},Jy.apply(i,arguments),Hx(i)}function hS(){var e=[],t=[],n=[],r;function i(){var r=0,i=Math.max(1,t.length);for(n=Array(i-1);++r<i;)n[r-1]=Ky(e,r/i);return a}function a(e){return e==null||isNaN(e=+e)?r:t[Ey(n,e)]}return a.invertExtent=function(r){var i=t.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(yy),i()},a.range=function(e){return arguments.length?(t=Array.from(e),i()):t.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.quantiles=function(){return n.slice()},a.copy=function(){return hS().domain(e).range(t).unknown(r)},Jy.apply(a,arguments)}function gS(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function o(e){return e!=null&&e<=e?i[Ey(r,e,0,n)]:a}function s(){var i=-1;for(r=Array(n);++i<n;)r[i]=((i+1)*t-(i-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?([e,t]=n,e=+e,t=+t,s()):[e,t]},o.range=function(e){return arguments.length?(n=(i=Array.from(e)).length-1,s()):i.slice()},o.invertExtent=function(a){var o=i.indexOf(a);return o<0?[NaN,NaN]:o<1?[e,r[0]]:o>=n?[r[n-1],t]:[r[o-1],r[o]]},o.unknown=function(e){return arguments.length&&(a=e),o},o.thresholds=function(){return r.slice()},o.copy=function(){return gS().domain([e,t]).range(i).unknown(a)},Jy.apply(Hx(o),arguments)}function _S(){var e=[.5],t=[0,1],n,r=1;function i(i){return i!=null&&i<=i?t[Ey(e,i,0,r)]:n}return i.domain=function(n){return arguments.length?(e=Array.from(n),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(n){return arguments.length?(t=Array.from(n),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return _S().domain(e).range(t).unknown(n)},Jy.apply(i,arguments)}var vS=new Date,yS=new Date;function X(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>X(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(vS.setTime(+t),yS.setTime(+r),e(vS),e(yS),Math.floor(n(vS,yS))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var bS=X(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);bS.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?X(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):bS),bS.range;var xS=1e3,SS=xS*60,CS=SS*60,wS=CS*24,TS=wS*7,ES=wS*30,DS=wS*365,OS=X(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*xS)},(e,t)=>(t-e)/xS,e=>e.getUTCSeconds());OS.range;var kS=X(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*xS)},(e,t)=>{e.setTime(+e+t*SS)},(e,t)=>(t-e)/SS,e=>e.getMinutes());kS.range;var AS=X(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*SS)},(e,t)=>(t-e)/SS,e=>e.getUTCMinutes());AS.range;var jS=X(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*xS-e.getMinutes()*SS)},(e,t)=>{e.setTime(+e+t*CS)},(e,t)=>(t-e)/CS,e=>e.getHours());jS.range;var MS=X(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*CS)},(e,t)=>(t-e)/CS,e=>e.getUTCHours());MS.range;var NS=X(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*SS)/wS,e=>e.getDate()-1);NS.range;var PS=X(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/wS,e=>e.getUTCDate()-1);PS.range;var FS=X(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/wS,e=>Math.floor(e/wS));FS.range;function IS(e){return X(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*SS)/TS)}var LS=IS(0),RS=IS(1),zS=IS(2),BS=IS(3),VS=IS(4),HS=IS(5),US=IS(6);LS.range,RS.range,zS.range,BS.range,VS.range,HS.range,US.range;function WS(e){return X(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/TS)}var GS=WS(0),KS=WS(1),qS=WS(2),JS=WS(3),YS=WS(4),XS=WS(5),ZS=WS(6);GS.range,KS.range,qS.range,JS.range,YS.range,XS.range,ZS.range;var QS=X(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());QS.range;var $S=X(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());$S.range;var eC=X(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());eC.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:X(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),eC.range;var tC=X(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());tC.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:X(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),tC.range;function nC(e,t,n,r,i,a){let o=[[OS,1,xS],[OS,5,5*xS],[OS,15,15*xS],[OS,30,30*xS],[a,1,SS],[a,5,5*SS],[a,15,15*SS],[a,30,30*SS],[i,1,CS],[i,3,3*CS],[i,6,6*CS],[i,12,12*CS],[r,1,wS],[r,2,2*wS],[n,1,TS],[t,1,ES],[t,3,3*ES],[e,1,DS]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=xy(([,,e])=>e).right(o,i);if(a===o.length)return e.every(By(t/DS,n/DS,r));if(a===0)return bS.every(Math.max(By(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[rC,iC]=nC(tC,$S,GS,FS,MS,AS),[aC,oC]=nC(eC,QS,LS,NS,jS,kS);function sC(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function cC(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function lC(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function uC(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=hC(i),u=gC(i),d=hC(a),f=gC(a),p=hC(o),m=gC(o),h=hC(s),g=gC(s),_=hC(c),v=gC(c),y={a:M,A:te,b:ne,B:N,c:null,d:LC,e:LC,f:HC,g:$C,G:tw,H:RC,I:zC,j:BC,L:VC,m:UC,M:WC,p:re,q:ie,Q:ww,s:Tw,S:GC,u:KC,U:qC,V:YC,w:XC,W:ZC,x:null,X:null,y:QC,Y:ew,Z:nw,"%":Cw},b={a:ae,A:oe,b:se,B:ce,c:null,d:rw,e:rw,f:cw,g:yw,G:xw,H:iw,I:aw,j:ow,L:sw,m:lw,M:uw,p:le,q:ue,Q:ww,s:Tw,S:dw,u:fw,U:pw,V:hw,w:gw,W:_w,x:null,X:null,y:vw,Y:bw,Z:Sw,"%":Cw},x={a:E,A:D,b:O,B:k,c:ee,d:DC,e:DC,f:NC,g:CC,G:SC,H:kC,I:kC,j:OC,L:MC,m:EC,M:AC,p:T,q:TC,Q:FC,s:IC,S:jC,u:vC,U:yC,V:bC,w:_C,W:xC,x:A,X:j,y:CC,Y:SC,Z:wC,"%":PC};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=dC[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=lC(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=cC(lC(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?KS.ceil(a):KS(a),a=PS.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=sC(lC(r.y,0,1)),o=a.getDay(),a=o>4||o===0?RS.ceil(a):RS(a),a=NS.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?cC(lC(r.y,0,1)).getUTCDay():sC(lC(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,cC(r)):sC(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in dC?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function ee(e,n,r){return w(e,t,n,r)}function A(e,t,r){return w(e,n,t,r)}function j(e,t,n){return w(e,r,t,n)}function M(e){return o[e.getDay()]}function te(e){return a[e.getDay()]}function ne(e){return c[e.getMonth()]}function N(e){return s[e.getMonth()]}function re(e){return i[+(e.getHours()>=12)]}function ie(e){return 1+~~(e.getMonth()/3)}function ae(e){return o[e.getUTCDay()]}function oe(e){return a[e.getUTCDay()]}function se(e){return c[e.getUTCMonth()]}function ce(e){return s[e.getUTCMonth()]}function le(e){return i[+(e.getUTCHours()>=12)]}function ue(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var dC={"-":``,_:` `,0:`0`},Z=/^\s*\d+/,fC=/^%/,pC=/[\\^$*+?|[\]().{}]/g;function Q(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function mC(e){return e.replace(pC,`\\$&`)}function hC(e){return RegExp(`^(?:`+e.map(mC).join(`|`)+`)`,`i`)}function gC(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function _C(e,t,n){var r=Z.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function vC(e,t,n){var r=Z.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function yC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function bC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function xC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function SC(e,t,n){var r=Z.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function CC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function wC(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function TC(e,t,n){var r=Z.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function EC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function DC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function OC(e,t,n){var r=Z.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function kC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function AC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function jC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function MC(e,t,n){var r=Z.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function NC(e,t,n){var r=Z.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function PC(e,t,n){var r=fC.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function FC(e,t,n){var r=Z.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function IC(e,t,n){var r=Z.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function LC(e,t){return Q(e.getDate(),t,2)}function RC(e,t){return Q(e.getHours(),t,2)}function zC(e,t){return Q(e.getHours()%12||12,t,2)}function BC(e,t){return Q(1+NS.count(eC(e),e),t,3)}function VC(e,t){return Q(e.getMilliseconds(),t,3)}function HC(e,t){return VC(e,t)+`000`}function UC(e,t){return Q(e.getMonth()+1,t,2)}function WC(e,t){return Q(e.getMinutes(),t,2)}function GC(e,t){return Q(e.getSeconds(),t,2)}function KC(e){var t=e.getDay();return t===0?7:t}function qC(e,t){return Q(LS.count(eC(e)-1,e),t,2)}function JC(e){var t=e.getDay();return t>=4||t===0?VS(e):VS.ceil(e)}function YC(e,t){return e=JC(e),Q(VS.count(eC(e),e)+(eC(e).getDay()===4),t,2)}function XC(e){return e.getDay()}function ZC(e,t){return Q(RS.count(eC(e)-1,e),t,2)}function QC(e,t){return Q(e.getFullYear()%100,t,2)}function $C(e,t){return e=JC(e),Q(e.getFullYear()%100,t,2)}function ew(e,t){return Q(e.getFullYear()%1e4,t,4)}function tw(e,t){var n=e.getDay();return e=n>=4||n===0?VS(e):VS.ceil(e),Q(e.getFullYear()%1e4,t,4)}function nw(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+Q(t/60|0,`0`,2)+Q(t%60,`0`,2)}function rw(e,t){return Q(e.getUTCDate(),t,2)}function iw(e,t){return Q(e.getUTCHours(),t,2)}function aw(e,t){return Q(e.getUTCHours()%12||12,t,2)}function ow(e,t){return Q(1+PS.count(tC(e),e),t,3)}function sw(e,t){return Q(e.getUTCMilliseconds(),t,3)}function cw(e,t){return sw(e,t)+`000`}function lw(e,t){return Q(e.getUTCMonth()+1,t,2)}function uw(e,t){return Q(e.getUTCMinutes(),t,2)}function dw(e,t){return Q(e.getUTCSeconds(),t,2)}function fw(e){var t=e.getUTCDay();return t===0?7:t}function pw(e,t){return Q(GS.count(tC(e)-1,e),t,2)}function mw(e){var t=e.getUTCDay();return t>=4||t===0?YS(e):YS.ceil(e)}function hw(e,t){return e=mw(e),Q(YS.count(tC(e),e)+(tC(e).getUTCDay()===4),t,2)}function gw(e){return e.getUTCDay()}function _w(e,t){return Q(KS.count(tC(e)-1,e),t,2)}function vw(e,t){return Q(e.getUTCFullYear()%100,t,2)}function yw(e,t){return e=mw(e),Q(e.getUTCFullYear()%100,t,2)}function bw(e,t){return Q(e.getUTCFullYear()%1e4,t,4)}function xw(e,t){var n=e.getUTCDay();return e=n>=4||n===0?YS(e):YS.ceil(e),Q(e.getUTCFullYear()%1e4,t,4)}function Sw(){return`+0000`}function Cw(){return`%`}function ww(e){return+e}function Tw(e){return Math.floor(e/1e3)}var Ew,Dw,Ow;kw({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function kw(e){return Ew=uC(e),Dw=Ew.format,Ew.parse,Ow=Ew.utcFormat,Ew.utcParse,Ew}function Aw(e){return new Date(e)}function jw(e){return e instanceof Date?+e:+new Date(+e)}function Mw(e,t,n,r,i,a,o,s,c,l){var u=gx(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,jw)):f().map(Aw)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(Gx(n,e)):u},u.copy=function(){return mx(u,Mw(e,t,n,r,i,a,o,s,c,l))},u}function Nw(){return Jy.apply(Mw(aC,oC,eC,QS,LS,NS,jS,kS,OS,Dw).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Pw(){return Jy.apply(Mw(rC,iC,tC,$S,GS,PS,MS,AS,OS,Ow).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Fw(){var e=0,t=1,n,r,i,a,o=lx,s=!1,c;function l(e){return e==null||isNaN(e=+e)?c:o(i===0?.5:(e=(a(e)-n)*i,s?Math.max(0,Math.min(1,e)):e))}l.domain=function(o){return arguments.length?([e,t]=o,n=a(e=+e),r=a(t=+t),i=n===r?0:1/(r-n),l):[e,t]},l.clamp=function(e){return arguments.length?(s=!!e,l):s},l.interpolator=function(e){return arguments.length?(o=e,l):o};function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,o=e(n,r),l):[o(0),o(1)]}}return l.range=u(rx),l.rangeRound=u(ix),l.unknown=function(e){return arguments.length?(c=e,l):c},function(o){return a=o,n=o(e),r=o(t),i=n===r?0:1/(r-n),l}}function Iw(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Lw(){var e=Hx(Fw()(lx));return e.copy=function(){return Iw(e,Lw())},Yy.apply(e,arguments)}function Rw(){var e=eS(Fw()).domain([1,10]);return e.copy=function(){return Iw(e,Rw()).base(e.base())},Yy.apply(e,arguments)}function zw(){var e=iS(Fw());return e.copy=function(){return Iw(e,zw()).constant(e.constant())},Yy.apply(e,arguments)}function Bw(){var e=lS(Fw());return e.copy=function(){return Iw(e,Bw()).exponent(e.exponent())},Yy.apply(e,arguments)}function Vw(){return Bw.apply(null,arguments).exponent(.5)}function Hw(){var e=[],t=lx;function n(n){if(n!=null&&!isNaN(n=+n))return t((Ey(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(yy),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((n,r)=>t(r/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(n,r)=>Gy(e,r/t))},n.copy=function(){return Hw(t).domain(e)},Yy.apply(n,arguments)}function Uw(){var e=0,t=.5,n=1,r=1,i,a,o,s,c,l=lx,u,d=!1,f;function p(e){return isNaN(e=+e)?f:(e=.5+((e=+u(e))-a)*(r*e<r*a?s:c),l(d?Math.max(0,Math.min(1,e)):e))}p.domain=function(l){return arguments.length?([e,t,n]=l,i=u(e=+e),a=u(t=+t),o=u(n=+n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p):[e,t,n]},p.clamp=function(e){return arguments.length?(d=!!e,p):d},p.interpolator=function(e){return arguments.length?(l=e,p):l};function m(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,l=ax(e,[n,r,i]),p):[l(0),l(.5),l(1)]}}return p.range=m(rx),p.rangeRound=m(ix),p.unknown=function(e){return arguments.length?(f=e,p):f},function(l){return u=l,i=l(e),a=l(t),o=l(n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p}}function Ww(){var e=Hx(Uw()(lx));return e.copy=function(){return Iw(e,Ww())},Yy.apply(e,arguments)}function Gw(){var e=eS(Uw()).domain([.1,1,10]);return e.copy=function(){return Iw(e,Gw()).base(e.base())},Yy.apply(e,arguments)}function Kw(){var e=iS(Uw());return e.copy=function(){return Iw(e,Kw()).constant(e.constant())},Yy.apply(e,arguments)}function qw(){var e=lS(Uw());return e.copy=function(){return Iw(e,qw()).exponent(e.exponent())},Yy.apply(e,arguments)}function Jw(){return qw.apply(null,arguments).exponent(.5)}var Yw=t({scaleBand:()=>Qy,scaleDiverging:()=>Ww,scaleDivergingLog:()=>Gw,scaleDivergingPow:()=>qw,scaleDivergingSqrt:()=>Jw,scaleDivergingSymlog:()=>Kw,scaleIdentity:()=>Wx,scaleImplicit:()=>Xy,scaleLinear:()=>Ux,scaleLog:()=>tS,scaleOrdinal:()=>Zy,scalePoint:()=>eb,scalePow:()=>uS,scaleQuantile:()=>hS,scaleQuantize:()=>gS,scaleRadial:()=>mS,scaleSequential:()=>Lw,scaleSequentialLog:()=>Rw,scaleSequentialPow:()=>Bw,scaleSequentialQuantile:()=>Hw,scaleSequentialSqrt:()=>Vw,scaleSequentialSymlog:()=>zw,scaleSqrt:()=>dS,scaleSymlog:()=>aS,scaleThreshold:()=>_S,scaleTime:()=>Nw,scaleUtc:()=>Pw,tickFormat:()=>Vx}),Xw=e(n(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))(),1).default,Zw=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}e.isPlainObject=t})),Qw=n(((e,t)=>{t.exports=Zw().isPlainObject})),$w=!0,eT=`Invariant failed`;function tT(e,t){if(!e){if($w)throw Error(eT);var n=typeof t==`function`?t():t,r=n?`${eT}: ${n}`:eT;throw Error(r)}}var nT=365.2425,rT=6048e5,iT=864e5,aT=3600*24;aT*7,aT*nT/12*3;var oT=Symbol.for(`constructDateFrom`);function sT(e,t){return typeof e==`function`?e(t):e&&typeof e==`object`&&oT in e?e[oT](t):e instanceof Date?new e.constructor(t):new Date(t)}function cT(e,t){return sT(t||e,e)}function lT(e,t,n){let r=cT(e,n?.in);return isNaN(t)?sT(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}var uT={};function dT(){return uT}function fT(e,t){let n=dT(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=cT(e,t?.in),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function pT(e,t){return fT(e,{...t,weekStartsOn:1})}function mT(e,t){let n=cT(e,t?.in),r=n.getFullYear(),i=sT(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let a=pT(i),o=sT(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let s=pT(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function hT(e){let t=cT(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-+n}function gT(e,...t){let n=sT.bind(null,e||t.find(e=>typeof e==`object`));return t.map(n)}function _T(e,t){let n=cT(e,t?.in);return n.setHours(0,0,0,0),n}function vT(e,t,n){let[r,i]=gT(n?.in,e,t),a=_T(r),o=_T(i),s=+a-hT(a),c=+o-hT(o);return Math.round((s-c)/iT)}function yT(e,t){let n=mT(e,t),r=sT(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),pT(r)}function bT(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}function xT(e){return!(!bT(e)&&typeof e!=`number`||isNaN(+cT(e)))}function ST(e,t){let n=cT(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}var CT={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},wT=(e,t,n)=>{let r,i=CT[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?`in `+r:r+` ago`:r};function TT(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var ET={date:TT({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:TT({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:TT({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},DT={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},OT=(e,t,n,r)=>DT[e];function kT(e){return(t,n)=>{let r=n?.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}let a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}var AT={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:kT({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:kT({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:kT({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:kT({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:kT({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};function jT(e){return(t,n={})=>{let r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?NT(s,e=>e.test(o)):MT(s,e=>e.test(o)),l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;let u=t.slice(o.length);return{value:l,rest:u}}}function MT(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function NT(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function PT(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}var FT={code:`en-US`,formatDistance:wT,formatLong:ET,formatRelative:OT,localize:AT,match:{ordinalNumber:PT({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:jT({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:jT({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:jT({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:jT({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:jT({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:`any`})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function IT(e,t){let n=cT(e,t?.in);return vT(n,ST(n))+1}function LT(e,t){let n=cT(e,t?.in),r=pT(n)-+yT(n);return Math.round(r/rT)+1}function RT(e,t){let n=cT(e,t?.in),r=n.getFullYear(),i=dT(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=sT(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let s=fT(o,t),c=sT(t?.in||e,0);c.setFullYear(r,0,a),c.setHours(0,0,0,0);let l=fT(c,t);return+n>=+s?r+1:+n>=+l?r:r-1}function zT(e,t){let n=dT(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=RT(e,t),a=sT(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),fT(a,t)}function BT(e,t){let n=cT(e,t?.in),r=fT(n,t)-+zT(n,t);return Math.round(r/rT)+1}function $(e,t){return(e<0?`-`:``)+Math.abs(e).toString().padStart(t,`0`)}var VT={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return $(t===`yy`?r%100:r,t.length)},M(e,t){let n=e.getMonth();return t===`M`?String(n+1):$(n+1,2)},d(e,t){return $(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.toUpperCase();case`aaa`:return n;case`aaaaa`:return n[0];default:return n===`am`?`a.m.`:`p.m.`}},h(e,t){return $(e.getHours()%12||12,t.length)},H(e,t){return $(e.getHours(),t.length)},m(e,t){return $(e.getMinutes(),t.length)},s(e,t){return $(e.getSeconds(),t.length)},S(e,t){let n=t.length,r=e.getMilliseconds();return $(Math.trunc(r*10**(n-3)),t.length)}},HT={am:`am`,pm:`pm`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},UT={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case`G`:case`GG`:case`GGG`:return n.era(r,{width:`abbreviated`});case`GGGGG`:return n.era(r,{width:`narrow`});default:return n.era(r,{width:`wide`})}},y:function(e,t,n){if(t===`yo`){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:`year`})}return VT.y(e,t)},Y:function(e,t,n,r){let i=RT(e,r),a=i>0?i:1-i;return t===`YY`?$(a%100,2):t===`Yo`?n.ordinalNumber(a,{unit:`year`}):$(a,t.length)},R:function(e,t){return $(mT(e),t.length)},u:function(e,t){return $(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`Q`:return String(r);case`QQ`:return $(r,2);case`Qo`:return n.ordinalNumber(r,{unit:`quarter`});case`QQQ`:return n.quarter(r,{width:`abbreviated`,context:`formatting`});case`QQQQQ`:return n.quarter(r,{width:`narrow`,context:`formatting`});default:return n.quarter(r,{width:`wide`,context:`formatting`})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`q`:return String(r);case`qq`:return $(r,2);case`qo`:return n.ordinalNumber(r,{unit:`quarter`});case`qqq`:return n.quarter(r,{width:`abbreviated`,context:`standalone`});case`qqqqq`:return n.quarter(r,{width:`narrow`,context:`standalone`});default:return n.quarter(r,{width:`wide`,context:`standalone`})}},M:function(e,t,n){let r=e.getMonth();switch(t){case`M`:case`MM`:return VT.M(e,t);case`Mo`:return n.ordinalNumber(r+1,{unit:`month`});case`MMM`:return n.month(r,{width:`abbreviated`,context:`formatting`});case`MMMMM`:return n.month(r,{width:`narrow`,context:`formatting`});default:return n.month(r,{width:`wide`,context:`formatting`})}},L:function(e,t,n){let r=e.getMonth();switch(t){case`L`:return String(r+1);case`LL`:return $(r+1,2);case`Lo`:return n.ordinalNumber(r+1,{unit:`month`});case`LLL`:return n.month(r,{width:`abbreviated`,context:`standalone`});case`LLLLL`:return n.month(r,{width:`narrow`,context:`standalone`});default:return n.month(r,{width:`wide`,context:`standalone`})}},w:function(e,t,n,r){let i=BT(e,r);return t===`wo`?n.ordinalNumber(i,{unit:`week`}):$(i,t.length)},I:function(e,t,n){let r=LT(e);return t===`Io`?n.ordinalNumber(r,{unit:`week`}):$(r,t.length)},d:function(e,t,n){return t===`do`?n.ordinalNumber(e.getDate(),{unit:`date`}):VT.d(e,t)},D:function(e,t,n){let r=IT(e);return t===`Do`?n.ordinalNumber(r,{unit:`dayOfYear`}):$(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case`E`:case`EE`:case`EEE`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`EEEEE`:return n.day(r,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},e:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`e`:return String(a);case`ee`:return $(a,2);case`eo`:return n.ordinalNumber(a,{unit:`day`});case`eee`:return n.day(i,{width:`abbreviated`,context:`formatting`});case`eeeee`:return n.day(i,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(i,{width:`short`,context:`formatting`});default:return n.day(i,{width:`wide`,context:`formatting`})}},c:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`c`:return String(a);case`cc`:return $(a,t.length);case`co`:return n.ordinalNumber(a,{unit:`day`});case`ccc`:return n.day(i,{width:`abbreviated`,context:`standalone`});case`ccccc`:return n.day(i,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(i,{width:`short`,context:`standalone`});default:return n.day(i,{width:`wide`,context:`standalone`})}},i:function(e,t,n){let r=e.getDay(),i=r===0?7:r;switch(t){case`i`:return String(i);case`ii`:return $(i,t.length);case`io`:return n.ordinalNumber(i,{unit:`day`});case`iii`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`iiiii`:return n.day(r,{width:`narrow`,context:`formatting`});case`iiiiii`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},a:function(e,t,n){let r=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`});case`aaa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`aaaaa`:return n.dayPeriod(r,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(r,{width:`wide`,context:`formatting`})}},b:function(e,t,n){let r=e.getHours(),i;switch(i=r===12?HT.noon:r===0?HT.midnight:r/12>=1?`pm`:`am`,t){case`b`:case`bb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`bbb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`bbbbb`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},B:function(e,t,n){let r=e.getHours(),i;switch(i=r>=17?HT.evening:r>=12?HT.afternoon:r>=4?HT.morning:HT.night,t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`BBBBB`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},h:function(e,t,n){if(t===`ho`){let t=e.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:`hour`})}return VT.h(e,t)},H:function(e,t,n){return t===`Ho`?n.ordinalNumber(e.getHours(),{unit:`hour`}):VT.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return t===`Ko`?n.ordinalNumber(r,{unit:`hour`}):$(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t===`ko`?n.ordinalNumber(r,{unit:`hour`}):$(r,t.length)},m:function(e,t,n){return t===`mo`?n.ordinalNumber(e.getMinutes(),{unit:`minute`}):VT.m(e,t)},s:function(e,t,n){return t===`so`?n.ordinalNumber(e.getSeconds(),{unit:`second`}):VT.s(e,t)},S:function(e,t){return VT.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return`Z`;switch(t){case`X`:return GT(r);case`XXXX`:case`XX`:return KT(r);default:return KT(r,`:`)}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`x`:return GT(r);case`xxxx`:case`xx`:return KT(r);default:return KT(r,`:`)}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+WT(r,`:`);default:return`GMT`+KT(r,`:`)}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`z`:case`zz`:case`zzz`:return`GMT`+WT(r,`:`);default:return`GMT`+KT(r,`:`)}},t:function(e,t,n){return $(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return $(+e,t.length)}};function WT(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+$(a,2)}function GT(e,t){return e%60==0?(e>0?`-`:`+`)+$(Math.abs(e)/60,2):KT(e,t)}function KT(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=$(Math.trunc(r/60),2),a=$(r%60,2);return n+i+t+a}var qT=(e,t)=>{switch(e){case`P`:return t.date({width:`short`});case`PP`:return t.date({width:`medium`});case`PPP`:return t.date({width:`long`});default:return t.date({width:`full`})}},JT=(e,t)=>{switch(e){case`p`:return t.time({width:`short`});case`pp`:return t.time({width:`medium`});case`ppp`:return t.time({width:`long`});default:return t.time({width:`full`})}},YT={p:JT,P:(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return qT(e,t);let a;switch(r){case`P`:a=t.dateTime({width:`short`});break;case`PP`:a=t.dateTime({width:`medium`});break;case`PPP`:a=t.dateTime({width:`long`});break;default:a=t.dateTime({width:`full`});break}return a.replace(`{{date}}`,qT(r,t)).replace(`{{time}}`,JT(i,t))}},XT=/^D+$/,ZT=/^Y+$/,QT=[`D`,`DD`,`YY`,`YYYY`];function $T(e){return XT.test(e)}function eE(e){return ZT.test(e)}function tE(e,t,n){let r=nE(e,t,n);if(console.warn(r),QT.includes(e))throw RangeError(r)}function nE(e,t,n){let r=e[0]===`Y`?`years`:`days of the month`;return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var rE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,iE=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,aE=/^'([^]*?)'?$/,oE=/''/g,sE=/[a-zA-Z]/;function cE(e,t,n){let r=dT(),i=n?.locale??r.locale??FT,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=cT(e,n?.in);if(!xT(s))throw RangeError(`Invalid time value`);let c=t.match(iE).map(e=>{let t=e[0];if(t===`p`||t===`P`){let n=YT[t];return n(e,i.formatLong)}return e}).join(``).match(rE).map(e=>{if(e===`''`)return{isToken:!1,value:`'`};let t=e[0];if(t===`'`)return{isToken:!1,value:lE(e)};if(UT[t])return{isToken:!0,value:e};if(t.match(sE))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});i.localize.preprocessor&&(c=i.localize.preprocessor(s,c));let l={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return c.map(r=>{if(!r.isToken)return r.value;let a=r.value;(!n?.useAdditionalWeekYearTokens&&eE(a)||!n?.useAdditionalDayOfYearTokens&&$T(a))&&tE(a,t,String(e));let o=UT[a[0]];return o(s,a,i.localize,l)}).join(``)}function lE(e){let t=e.match(aE);return t?t[1].replace(oE,`'`):e}function uE(e,t,n){return lT(e,-t,n)}function dE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?fE(Object(n),!0).forEach(function(t){dE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mE(){var e=[...arguments];return function(t){return e.reduceRight(function(e,t){return t(e)},t)}}function hE(e){return function t(){var n=this,r=[...arguments];return r.length>=e.length?e.apply(this,r):function(){var e=[...arguments];return t.apply(n,[].concat(r,e))}}}function gE(e){return{}.toString.call(e).includes(`Object`)}function _E(e){return!Object.keys(e).length}function vE(e){return typeof e==`function`}function yE(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function bE(e,t){return gE(t)||TE(`changeType`),Object.keys(t).some(function(t){return!yE(e,t)})&&TE(`changeField`),t}function xE(e){vE(e)||TE(`selectorType`)}function SE(e){vE(e)||gE(e)||TE(`handlerType`),gE(e)&&Object.values(e).some(function(e){return!vE(e)})&&TE(`handlersType`)}function CE(e){e||TE(`initialIsRequired`),gE(e)||TE(`initialType`),_E(e)&&TE(`initialContent`)}function wE(e,t){throw Error(e[t]||e.default)}var TE=hE(wE)({initialIsRequired:`initial state is required`,initialType:`initial state should be an object`,initialContent:`initial state shouldn't be an empty object`,handlerType:`handler should be an object or a function`,handlersType:`all handlers should be a functions`,selectorType:`selector should be a function`,changeType:`provided value of changes should be an object`,changeField:`it seams you want to change a field in the state which is not specified in the "initial" state`,default:"an unknown error accured in `state-local` package"}),EE={changes:bE,selector:xE,handler:SE,initial:CE};function DE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};EE.initial(e),EE.handler(t);var n={current:e},r=hE(AE)(n,t),i=hE(kE)(n),a=hE(EE.changes)(e),o=hE(OE)(n);function s(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(e){return e};return EE.selector(e),e(n.current)}function c(e){mE(r,i,a,o)(e)}return[s,c]}function OE(e,t){return vE(t)?t(e.current):t}function kE(e,t){return e.current=pE(pE({},e.current),t),t}function AE(e,t,n){return vE(t)?t(e.current):Object.keys(n).forEach(function(n){return t[n]?.call(t,e.current[n])}),n}var jE={create:DE};function ME(e){if(typeof e==`string`||typeof e==`number`)return``+e;let t=``;if(Array.isArray(e))for(let n=0,r;n<e.length;n++)(r=ME(e[n]))!==``&&(t+=(t&&` `)+r);else for(let n in e)e[n]&&(t+=(t&&` `)+n);return t}var NE=e(Qm(),1),PE=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{n.clear()}},o=t=e(r,i,a);return a},FE=e=>e?PE(e):PE,{useDebugValue:IE}=wn.default,{useSyncExternalStoreWithSelector:LE}=NE.default,RE=e=>e;function zE(e,t=RE,n){let r=LE(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return IE(r),r}var BE=(e,t)=>{let n=FE(e),r=(e,r=t)=>zE(n,e,r);return Object.assign(r,n),r},VE=(e,t)=>e?BE(e,t):BE;function HE(e,t){if(Object.is(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n,r]of e)if(!Object.is(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||!Object.is(e[r],t[r]))return!1;return!0}export{Nd as $,Kn as $n,Kr as $t,xh as A,hr as An,Wa as At,Wf as B,ar as Bn,ai as Bt,m_ as C,Sr as Cn,Eo as Ct,u_ as D,vr as Dn,Ya as Dt,w_ as E,yr as En,Xa as Et,fm as F,ur as Fn,ui as Ft,yf as G,er as Gn,ei as Gt,wf as H,rr as Hn,ri as Ht,Ap as I,lr as In,li as It,df as J,Zn as Jn,Zr as Jt,mf as K,$n as Kn,$r as Kt,Op as L,cr as Ln,ci as Lt,Qm as M,pr as Mn,La as Mt,Jm as N,fr as Nn,Pa as Nt,Xg as O,_r as On,qa as Ot,ym as P,dr as Pn,fi as Pt,Fd as Q,qn as Qn,qr as Qt,wp as R,sr as Rn,si as Rt,f_ as S,Cr as Sn,ts as St,uv as T,br as Tn,Do as Tt,Cf as U,nr as Un,ni as Ut,jf as V,ir as Vn,ii as Vt,xf as W,tr as Wn,ti as Wt,ef as X,Yn as Xn,Yr as Xt,af as Y,Xn as Yn,Xr as Yt,Pd as Z,Jn as Zn,Jr as Zt,vy as _,Or as _n,Jl as _t,jE as a,Br as an,Bn as ar,gd as at,dy as b,Tr as bn,Pl as bt,tT as c,Lr as cn,Ln as cr,qu as ct,Yw as d,Pr as dn,Pn as dr,Pu as dt,Gr as en,Gn as er,Ad as et,rx as f,Nr as fn,L as fr,ju as ft,xb as g,kr as gn,Xl as gt,Gb as h,Ar as hn,Ql as ht,ME as i,Vr as in,Vn as ir,_d as it,fh as j,mr as jn,Ra as jt,Oh as k,gr as kn,Ka as kt,Qw as l,Ir as ln,In as lr,Bu as lt,Xb as m,jr as mn,i as mr,Eu as mt,VE as n,Ur as nn,Un as nr,bd as nt,uE as o,zr as on,zn as or,J as ot,nx as p,Mr as pn,o as pr,Du as pt,ff as q,Qn as qn,Qr as qt,zE as r,Hr as rn,Hn as rr,xd as rt,cE as s,Rr as sn,Rn as sr,cd as st,HE as t,Wr as tn,Wn as tr,kd as tt,Xw as u,Fr as un,Fn as ur,Iu as ut,_y as v,Dr as vn,Ll as vt,r_ as w,xr as wn,U as wt,hv as x,wr as xn,K as xt,py as y,Er as yn,Il as yt,fp as z,or as zn,oi as zt};