@winspan/claude-forge 3.7.8 → 4.1.0

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 (275) hide show
  1. package/dist/autopilot/quality-gate-utils.d.ts +6 -0
  2. package/dist/autopilot/quality-gate-utils.d.ts.map +1 -0
  3. package/dist/autopilot/quality-gate-utils.js +48 -0
  4. package/dist/autopilot/quality-gate-utils.js.map +1 -0
  5. package/dist/autopilot/quality-gate.d.ts +0 -8
  6. package/dist/autopilot/quality-gate.d.ts.map +1 -1
  7. package/dist/autopilot/quality-gate.js +6 -61
  8. package/dist/autopilot/quality-gate.js.map +1 -1
  9. package/dist/cli/commands/convention.d.ts.map +1 -1
  10. package/dist/cli/commands/convention.js +1 -115
  11. package/dist/cli/commands/convention.js.map +1 -1
  12. package/dist/cli/commands/init/index.d.ts.map +1 -1
  13. package/dist/cli/commands/init/index.js +0 -14
  14. package/dist/cli/commands/init/index.js.map +1 -1
  15. package/dist/cli/commands/init/project-doctor.d.ts.map +1 -1
  16. package/dist/cli/commands/init/project-doctor.js +0 -63
  17. package/dist/cli/commands/init/project-doctor.js.map +1 -1
  18. package/dist/cli/tui.d.ts.map +1 -1
  19. package/dist/cli/tui.js +7 -131
  20. package/dist/cli/tui.js.map +1 -1
  21. package/dist/constants.d.ts +0 -6
  22. package/dist/constants.d.ts.map +1 -1
  23. package/dist/constants.js +0 -6
  24. package/dist/constants.js.map +1 -1
  25. package/dist/convention/convention-loader.js +2 -2
  26. package/dist/convention/convention-loader.js.map +1 -1
  27. package/dist/convention/convention-manager.d.ts +24 -2
  28. package/dist/convention/convention-manager.d.ts.map +1 -1
  29. package/dist/convention/convention-manager.js +62 -4
  30. package/dist/convention/convention-manager.js.map +1 -1
  31. package/dist/convention/index.d.ts +1 -2
  32. package/dist/convention/index.d.ts.map +1 -1
  33. package/dist/convention/index.js +0 -1
  34. package/dist/convention/index.js.map +1 -1
  35. package/dist/convention/types.d.ts +4 -14
  36. package/dist/convention/types.d.ts.map +1 -1
  37. package/dist/daemon/engine-registry/init-governance.d.ts +10 -0
  38. package/dist/daemon/engine-registry/init-governance.d.ts.map +1 -0
  39. package/dist/daemon/engine-registry/init-governance.js +22 -0
  40. package/dist/daemon/engine-registry/init-governance.js.map +1 -0
  41. package/dist/daemon/engine-registry.d.ts.map +1 -1
  42. package/dist/daemon/engine-registry.js +5 -6
  43. package/dist/daemon/engine-registry.js.map +1 -1
  44. package/dist/daemon/handler-context.d.ts +4 -2
  45. package/dist/daemon/handler-context.d.ts.map +1 -1
  46. package/dist/daemon/handlers/post-tool-use-handler.d.ts.map +1 -1
  47. package/dist/daemon/handlers/post-tool-use-handler.js +28 -3
  48. package/dist/daemon/handlers/post-tool-use-handler.js.map +1 -1
  49. package/dist/daemon/handlers/pre-tool-use-handler.d.ts.map +1 -1
  50. package/dist/daemon/handlers/pre-tool-use-handler.js +32 -22
  51. package/dist/daemon/handlers/pre-tool-use-handler.js.map +1 -1
  52. package/dist/daemon/handlers/session-cleanup.d.ts +0 -4
  53. package/dist/daemon/handlers/session-cleanup.d.ts.map +1 -1
  54. package/dist/daemon/handlers/session-cleanup.js +0 -81
  55. package/dist/daemon/handlers/session-cleanup.js.map +1 -1
  56. package/dist/daemon/handlers/stages/07-pipeline-reply.d.ts.map +1 -1
  57. package/dist/daemon/handlers/stages/07-pipeline-reply.js +5 -1
  58. package/dist/daemon/handlers/stages/07-pipeline-reply.js.map +1 -1
  59. package/dist/daemon/handlers/stages/09-pipeline-active.d.ts.map +1 -1
  60. package/dist/daemon/handlers/stages/09-pipeline-active.js +5 -1
  61. package/dist/daemon/handlers/stages/09-pipeline-active.js.map +1 -1
  62. package/dist/daemon/handlers/stages/13-template-route.d.ts.map +1 -1
  63. package/dist/daemon/handlers/stages/13-template-route.js +5 -1
  64. package/dist/daemon/handlers/stages/13-template-route.js.map +1 -1
  65. package/dist/daemon/handlers/stages/18-complex-task.d.ts +5 -2
  66. package/dist/daemon/handlers/stages/18-complex-task.d.ts.map +1 -1
  67. package/dist/daemon/handlers/stages/18-complex-task.js +87 -9
  68. package/dist/daemon/handlers/stages/18-complex-task.js.map +1 -1
  69. package/dist/daemon/handlers/stop-handler.d.ts.map +1 -1
  70. package/dist/daemon/handlers/stop-handler.js +1 -13
  71. package/dist/daemon/handlers/stop-handler.js.map +1 -1
  72. package/dist/goal/goal-classifier.d.ts.map +1 -1
  73. package/dist/goal/goal-classifier.js +12 -5
  74. package/dist/goal/goal-classifier.js.map +1 -1
  75. package/dist/goal/goal-types.d.ts +1 -3
  76. package/dist/goal/goal-types.d.ts.map +1 -1
  77. package/dist/goal/index.d.ts +1 -1
  78. package/dist/goal/index.d.ts.map +1 -1
  79. package/dist/governance/contract-builder.d.ts +39 -0
  80. package/dist/governance/contract-builder.d.ts.map +1 -0
  81. package/dist/governance/contract-builder.js +216 -0
  82. package/dist/governance/contract-builder.js.map +1 -0
  83. package/dist/governance/engine.d.ts +33 -0
  84. package/dist/governance/engine.d.ts.map +1 -0
  85. package/dist/governance/engine.js +183 -0
  86. package/dist/governance/engine.js.map +1 -0
  87. package/dist/governance/evidence-collector.d.ts +42 -0
  88. package/dist/governance/evidence-collector.d.ts.map +1 -0
  89. package/dist/governance/evidence-collector.js +136 -0
  90. package/dist/governance/evidence-collector.js.map +1 -0
  91. package/dist/governance/plugins/correction-plugin.d.ts +20 -0
  92. package/dist/governance/plugins/correction-plugin.d.ts.map +1 -0
  93. package/dist/governance/plugins/correction-plugin.js +113 -0
  94. package/dist/governance/plugins/correction-plugin.js.map +1 -0
  95. package/dist/governance/plugins/guidance-plugin.d.ts +21 -0
  96. package/dist/governance/plugins/guidance-plugin.d.ts.map +1 -0
  97. package/dist/governance/plugins/guidance-plugin.js +69 -0
  98. package/dist/governance/plugins/guidance-plugin.js.map +1 -0
  99. package/dist/governance/plugins/memory-plugin.d.ts +22 -0
  100. package/dist/governance/plugins/memory-plugin.d.ts.map +1 -0
  101. package/dist/governance/plugins/memory-plugin.js +106 -0
  102. package/dist/governance/plugins/memory-plugin.js.map +1 -0
  103. package/dist/governance/plugins/policy-plugin.d.ts +16 -0
  104. package/dist/governance/plugins/policy-plugin.d.ts.map +1 -0
  105. package/dist/governance/plugins/policy-plugin.js +69 -0
  106. package/dist/governance/plugins/policy-plugin.js.map +1 -0
  107. package/dist/governance/plugins/verification-plugin.d.ts +15 -0
  108. package/dist/governance/plugins/verification-plugin.d.ts.map +1 -0
  109. package/dist/governance/plugins/verification-plugin.js +65 -0
  110. package/dist/governance/plugins/verification-plugin.js.map +1 -0
  111. package/dist/governance/types.d.ts +202 -0
  112. package/dist/governance/types.d.ts.map +1 -0
  113. package/dist/governance/types.js +10 -0
  114. package/dist/governance/types.js.map +1 -0
  115. package/dist/pipeline/completion-engine.js +7 -7
  116. package/dist/pipeline/completion-engine.js.map +1 -1
  117. package/dist/pipeline/completion-gate.js +3 -3
  118. package/dist/pipeline/completion-gate.js.map +1 -1
  119. package/dist/pipeline/diagnosis-service.d.ts +2 -1
  120. package/dist/pipeline/diagnosis-service.d.ts.map +1 -1
  121. package/dist/pipeline/diagnosis-service.js.map +1 -1
  122. package/dist/pipeline/dynamic-node-executor.js +1 -1
  123. package/dist/pipeline/dynamic-node-executor.js.map +1 -1
  124. package/dist/pipeline/execution-engine.d.ts +1 -6
  125. package/dist/pipeline/execution-engine.d.ts.map +1 -1
  126. package/dist/pipeline/execution-engine.js +1 -1
  127. package/dist/pipeline/execution-engine.js.map +1 -1
  128. package/dist/pipeline/execution-plan.js +1 -1
  129. package/dist/pipeline/execution-plan.js.map +1 -1
  130. package/dist/pipeline/i-node-executor.d.ts +4 -0
  131. package/dist/pipeline/i-node-executor.d.ts.map +1 -1
  132. package/dist/pipeline/node-type-evolver.js +1 -1
  133. package/dist/pipeline/node-type-evolver.js.map +1 -1
  134. package/dist/pipeline/node-type-sync.d.ts.map +1 -1
  135. package/dist/pipeline/node-type-sync.js +22 -43
  136. package/dist/pipeline/node-type-sync.js.map +1 -1
  137. package/dist/pipeline/pattern-types.d.ts +3 -1
  138. package/dist/pipeline/pattern-types.d.ts.map +1 -1
  139. package/dist/retrospective/types.d.ts +2 -4
  140. package/dist/retrospective/types.d.ts.map +1 -1
  141. package/dist/skill-registry/evolver/index.js +6 -2
  142. package/dist/skill-registry/evolver/index.js.map +1 -1
  143. package/dist/skill-registry/index.d.ts +5 -0
  144. package/dist/skill-registry/index.d.ts.map +1 -1
  145. package/dist/skill-registry/index.js +6 -0
  146. package/dist/skill-registry/index.js.map +1 -1
  147. package/dist/storage/repositories/dynamic-pipeline-repository.js +15 -5
  148. package/dist/storage/repositories/dynamic-pipeline-repository.js.map +1 -1
  149. package/dist/storage/repositories/node-attempt-repository.d.ts +1 -1
  150. package/dist/storage/repositories/node-attempt-repository.d.ts.map +1 -1
  151. package/dist/storage/repositories/node-attempt-repository.js +1 -1
  152. package/dist/storage/repositories/node-attempt-repository.js.map +1 -1
  153. package/dist/storage/repositories/pipeline-plan-repository.d.ts.map +1 -1
  154. package/dist/storage/repositories/pipeline-plan-repository.js +1 -1
  155. package/dist/storage/repositories/pipeline-plan-repository.js.map +1 -1
  156. package/dist/storage/repositories/template-evolution-repository.d.ts.map +1 -1
  157. package/dist/storage/repositories/template-evolution-repository.js.map +1 -1
  158. package/dist/storage/schema/migration-manager.d.ts +4 -9
  159. package/dist/storage/schema/migration-manager.d.ts.map +1 -1
  160. package/dist/storage/schema/migration-manager.js +24 -992
  161. package/dist/storage/schema/migration-manager.js.map +1 -1
  162. package/dist/storage/schema.sql +591 -0
  163. package/dist/storage/sqlite.d.ts.map +1 -1
  164. package/dist/storage/sqlite.js +22 -6
  165. package/dist/storage/sqlite.js.map +1 -1
  166. package/dist/web/routes/pipelines.d.ts.map +1 -1
  167. package/dist/web/routes/pipelines.js +16 -5
  168. package/dist/web/routes/pipelines.js.map +1 -1
  169. package/dist/web/routes/quality.d.ts.map +1 -1
  170. package/dist/web/routes/quality.js +18 -17
  171. package/dist/web/routes/quality.js.map +1 -1
  172. package/dist/web/server.d.ts.map +1 -1
  173. package/dist/web/server.js +0 -7
  174. package/dist/web/server.js.map +1 -1
  175. package/dist/web-static/assets/Analytics-Bo_OyY9A.js +36 -0
  176. package/dist/web-static/assets/BatchProgress-qW-6664M.js +1 -0
  177. package/dist/web-static/assets/Breadcrumb-C1Mua6se.js +1 -0
  178. package/dist/web-static/assets/Config-Dn-dtdo9.js +1 -0
  179. package/dist/web-static/assets/ConfirmDialog-bdDaAlT1.js +1 -0
  180. package/dist/web-static/assets/Conventions-ByV7r45c.js +1 -0
  181. package/dist/web-static/assets/Dashboard-C-7N8kYZ.js +1 -0
  182. package/dist/web-static/assets/ErrorState-CMLoMrQY.js +1 -0
  183. package/dist/web-static/assets/Events-DHuyQHQe.js +1 -0
  184. package/dist/web-static/assets/Evolution-Dzr5xOLD.js +1 -0
  185. package/dist/web-static/assets/Knowledge-ClwX4cnr.js +2 -0
  186. package/dist/web-static/assets/MiniCharts-DsV2Sqfk.js +1 -0
  187. package/dist/web-static/assets/NodeTypes-DFt8b5gi.js +1 -0
  188. package/dist/web-static/assets/Pagination-CR-eJz36.js +1 -0
  189. package/dist/web-static/assets/PipelineDetail-By1HJlaB.js +4 -0
  190. package/dist/web-static/assets/Pipelines--MGzCPtR.js +2 -0
  191. package/dist/web-static/assets/ProjectDetail-CrpekCeY.js +1 -0
  192. package/dist/web-static/assets/Projects-Dw1qYmjz.js +1 -0
  193. package/dist/web-static/assets/Quality-CYwODfQP.js +3 -0
  194. package/dist/web-static/assets/SessionDetail-c8MYnwnk.js +1 -0
  195. package/dist/web-static/assets/Sessions-BkDd4Mxb.js +2 -0
  196. package/dist/web-static/assets/Skeleton-DbL04wuz.js +1 -0
  197. package/dist/web-static/assets/Skills-2OPSAnaU.js +1 -0
  198. package/dist/web-static/assets/TemplateDetail-DbifRj4h.js +1 -0
  199. package/dist/web-static/assets/Templates-CDw-GGp8.js +1 -0
  200. package/dist/web-static/assets/Toast-CrwuIbKC.js +1 -0
  201. package/dist/web-static/assets/client-C_VWY70M.js +1 -0
  202. package/dist/web-static/assets/index-DD2Z15TY.css +2 -0
  203. package/dist/web-static/assets/index-DKyAorJ6.js +2 -0
  204. package/dist/web-static/assets/ui-DpI1N3yJ.js +1 -0
  205. package/dist/web-static/assets/useDebounce-BLryFdeo.js +1 -0
  206. package/dist/web-static/assets/vendor-2ObLXPrQ.js +9 -0
  207. package/dist/web-static/assets/vendor-motion-BryL_tAt.js +9 -0
  208. package/dist/web-static/assets/vendor-query-CjmRaY7o.js +4 -0
  209. package/dist/web-static/assets/vendor-react-DZi7brq3.js +11 -0
  210. package/dist/web-static/index.html +10 -13
  211. package/package.json +5 -9
  212. package/dist/convention/convention-distiller.d.ts +0 -28
  213. package/dist/convention/convention-distiller.d.ts.map +0 -1
  214. package/dist/convention/convention-distiller.js +0 -172
  215. package/dist/convention/convention-distiller.js.map +0 -1
  216. package/dist/convention/official-sync.d.ts +0 -21
  217. package/dist/convention/official-sync.d.ts.map +0 -1
  218. package/dist/convention/official-sync.js +0 -196
  219. package/dist/convention/official-sync.js.map +0 -1
  220. package/dist/daemon/handlers/stages/19-moderate-task.d.ts +0 -11
  221. package/dist/daemon/handlers/stages/19-moderate-task.d.ts.map +0 -1
  222. package/dist/daemon/handlers/stages/19-moderate-task.js +0 -78
  223. package/dist/daemon/handlers/stages/19-moderate-task.js.map +0 -1
  224. package/dist/web/routes/conventions.d.ts +0 -8
  225. package/dist/web/routes/conventions.d.ts.map +0 -1
  226. package/dist/web/routes/conventions.js +0 -308
  227. package/dist/web/routes/conventions.js.map +0 -1
  228. package/dist/web/routes/logs.d.ts +0 -4
  229. package/dist/web/routes/logs.d.ts.map +0 -1
  230. package/dist/web/routes/logs.js +0 -77
  231. package/dist/web/routes/logs.js.map +0 -1
  232. package/dist/web/routes/project-conventions.d.ts +0 -7
  233. package/dist/web/routes/project-conventions.d.ts.map +0 -1
  234. package/dist/web/routes/project-conventions.js +0 -145
  235. package/dist/web/routes/project-conventions.js.map +0 -1
  236. package/dist/web-static/assets/Analytics-txva5ugO.js +0 -1
  237. package/dist/web-static/assets/BatchProgress-BQ533tSf.js +0 -1
  238. package/dist/web-static/assets/Breadcrumb-DtfwnOx6.js +0 -1
  239. package/dist/web-static/assets/Config-CUb6-ddH.js +0 -1
  240. package/dist/web-static/assets/ConfirmDialog-BKfwMp04.js +0 -1
  241. package/dist/web-static/assets/Conventions-E_2yAYoB.js +0 -1
  242. package/dist/web-static/assets/Dashboard-Dskgf0jG.js +0 -1
  243. package/dist/web-static/assets/ErrorState-BOInXmfg.js +0 -1
  244. package/dist/web-static/assets/Events-CAY9kU9T.js +0 -1
  245. package/dist/web-static/assets/Evolution-Ck_BqRpt.js +0 -1
  246. package/dist/web-static/assets/Knowledge-BHLyFp2U.js +0 -2
  247. package/dist/web-static/assets/NodeTypes-B6wc7VnR.js +0 -1
  248. package/dist/web-static/assets/Pagination-lp8b_3NR.js +0 -1
  249. package/dist/web-static/assets/PipelineDetail-Bc6l2jqX.js +0 -4
  250. package/dist/web-static/assets/PipelineTemplates-sSL-9oRh.js +0 -1
  251. package/dist/web-static/assets/Pipelines-Drat9IqZ.js +0 -2
  252. package/dist/web-static/assets/ProjectDetail-Cx8VZp8O.js +0 -1
  253. package/dist/web-static/assets/Projects-qDolX6Y6.js +0 -1
  254. package/dist/web-static/assets/Quality-Bm7oRSun.js +0 -3
  255. package/dist/web-static/assets/SessionDetail-BMrqH8_W.js +0 -1
  256. package/dist/web-static/assets/Sessions-C0BmdDPK.js +0 -2
  257. package/dist/web-static/assets/Skeleton-B7PVDJJ_.js +0 -1
  258. package/dist/web-static/assets/Skills-B3c1_uFt.js +0 -1
  259. package/dist/web-static/assets/TemplateDetail-ep5h3Cu5.js +0 -1
  260. package/dist/web-static/assets/Templates-Dho__f4l.js +0 -1
  261. package/dist/web-static/assets/Toast-BbB3oD2a.js +0 -1
  262. package/dist/web-static/assets/client-BvVpIixG.js +0 -1
  263. package/dist/web-static/assets/index-By8HsUem.js +0 -2
  264. package/dist/web-static/assets/index-CqwJts5v.css +0 -2
  265. package/dist/web-static/assets/ui-CDL3BZ13.js +0 -1
  266. package/dist/web-static/assets/useDebounce-DNfPs3Tv.js +0 -1
  267. package/dist/web-static/assets/vendor-DRGPi8ui.js +0 -9
  268. package/dist/web-static/assets/vendor-charts-9eVsQvUV.js +0 -36
  269. package/dist/web-static/assets/vendor-editor-CYLOGES5.js +0 -11
  270. package/dist/web-static/assets/vendor-flow-CHpVij2M.css +0 -1
  271. package/dist/web-static/assets/vendor-flow-srkes8If.js +0 -7
  272. package/dist/web-static/assets/vendor-motion-CQmdgnI8.js +0 -9
  273. package/dist/web-static/assets/vendor-query-DqPOMnuX.js +0 -4
  274. package/dist/web-static/assets/vendor-react-DJI9oneq.js +0 -11
  275. /package/dist/web-static/assets/{exportCsv-Dm5Y5M_E.js → exportCsv-CO51kx6P.js} +0 -0
@@ -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 te(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function A(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 j(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,j(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+te(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ee,`$&/`)+`/`),j(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+te(a,u),c+=j(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+te(a,u++),c+=j(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return j(A(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 ne(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function re(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 M=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)},ie={map:ne,forEach:function(e,t,n){ne(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ne(e,function(){t++}),t},toArray:function(e){return ne(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=ie,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:re}},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,M)}catch(e){M(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&&te(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&&te(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 te(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,te(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,te=p(`Blob`),A=p(`FileList`),j=e=>C(e)&&x(e.pipe);function ne(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var re=ne(),M=re.FormData===void 0?void 0:re.FormData,ie=e=>{if(!e)return!1;if(M&&e instanceof M)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]`},ae=p(`URLSearchParams`),[oe,se,N,P]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(p),ce=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function le(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 F(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 ue=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,de=e=>!g(e)&&e!==ue;function fe(){let{caseless:e,skipUndefined:t}=de(this)&&this||{},n={},r=(r,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=e&&F(n,i)||i;T(n[a])&&T(r)?n[a]=fe(n[a],r):T(r)?n[a]=fe({},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]&&le(arguments[e],r);return n}var pe=(e,t,n,{allOwnKeys:r}={})=>(le(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),me=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),he=(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)},ge=(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},_e=(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},ve=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},ye=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&l(Uint8Array)),be=(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])}},xe=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Se=p(`HTMLFormElement`),Ce=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),we=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Te=p(`RegExp`),Ee=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};le(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},De=e=>{Ee(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+`'`)}}})},Oe=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return h(e)?r(e):r(String(e).split(t)),n},ke=()=>{},Ae=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function je(e){return!!(e&&x(e.append)&&e[d]===`FormData`&&e[u])}var Me=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 le(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)},Ne=p(`AsyncFunction`),Pe=e=>e&&(C(e)||x(e))&&x(e.then)&&x(e.catch),Fe=((e,t)=>e?setImmediate:t?((e,t)=>(ue.addEventListener(`message`,({source:n,data:r})=>{n===ue&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),ue.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,x(ue.postMessage)),I={isArray:h,isArrayBuffer:v,isBuffer:_,isFormData:ie,isArrayBufferView:y,isString:b,isNumber:S,isBoolean:w,isObject:C,isPlainObject:T,isEmptyObject:E,isReadableStream:oe,isRequest:se,isResponse:N,isHeaders:P,isUndefined:g,isDate:D,isFile:O,isReactNativeBlob:k,isReactNative:ee,isBlob:te,isRegExp:Te,isFunction:x,isStream:j,isURLSearchParams:ae,isTypedArray:ye,isFileList:A,forEach:le,merge:fe,extend:pe,trim:ce,stripBOM:me,inherits:he,toFlatObject:ge,kindOf:f,kindOfTest:p,endsWith:_e,toArray:ve,forEachEntry:be,matchAll:xe,isHTMLForm:Se,hasOwnProperty:we,hasOwnProp:we,reduceDescriptors:Ee,freezeMethods:De,toObjectSet:Oe,toCamelCase:Ce,noop:ke,toFiniteNumber:Ae,findKey:F,global:ue,isContextDefined:de,isSpecCompliantForm:je,toJSONObject:Me,isAsyncFn:Ne,isThenable:Pe,setImmediate:Fe,asap:typeof queueMicrotask<`u`?queueMicrotask.bind(ue):typeof process<`u`&&process.nextTick||Fe,isIterable:e=>e!=null&&x(e[u])},L=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:I.toJSONObject(this.config),code:this.code,status:this.status}}};L.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,L.ERR_BAD_OPTION=`ERR_BAD_OPTION`,L.ECONNABORTED=`ECONNABORTED`,L.ETIMEDOUT=`ETIMEDOUT`,L.ERR_NETWORK=`ERR_NETWORK`,L.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,L.ERR_DEPRECATED=`ERR_DEPRECATED`,L.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,L.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,L.ERR_CANCELED=`ERR_CANCELED`,L.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,L.ERR_INVALID_URL=`ERR_INVALID_URL`,L.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function Ie(e){return I.isPlainObject(e)||I.isArray(e)}function Le(e){return I.endsWith(e,`[]`)?e.slice(0,-2):e}function Re(e,t,n){return e?e.concat(t).map(function(e,t){return e=Le(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function ze(e){return I.isArray(e)&&!e.some(Ie)}var Be=I.toFlatObject(I,{},null,function(e){return/^is[A-Z]/.test(e)});function Ve(e,t,n){if(!I.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!I.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&&I.isSpecCompliantForm(t);if(!I.isFunction(i))throw TypeError(`visitor must be a function`);function u(e){if(e===null)return``;if(I.isDate(e))return e.toISOString();if(I.isBoolean(e))return e.toString();if(!l&&I.isBlob(e))throw new L(`Blob is not supported. Use a Buffer instead.`);return I.isArrayBuffer(e)||I.isTypedArray(e)?l&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function d(e,n,i){let s=e;if(I.isReactNative(t)&&I.isReactNativeBlob(e))return t.append(Re(i,n,a),u(e)),!1;if(e&&!i&&typeof e==`object`){if(I.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(I.isArray(e)&&ze(e)||(I.isFileList(e)||I.endsWith(n,`[]`))&&(s=I.toArray(e)))return n=Le(n),s.forEach(function(e,r){!(I.isUndefined(e)||e===null)&&t.append(o===!0?Re([n],r,a):o===null?n:n+`[]`,u(e))}),!1}return Ie(e)?!0:(t.append(Re(i,n,a),u(e)),!1)}let f=[],p=Object.assign(Be,{defaultVisitor:d,convertValue:u,isVisitable:Ie});function m(e,n,r=0){if(!I.isUndefined(e)){if(r>c)throw new L(`Object is too deeply nested (`+r+` levels). Max depth: `+c,L.ERR_FORM_DATA_DEPTH_EXCEEDED);if(f.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));f.push(e),I.forEach(e,function(e,a){(!(I.isUndefined(e)||e===null)&&i.call(t,e,I.isString(a)?a.trim():a,n,p))===!0&&m(e,n?n.concat(a):[a],r+1)}),f.pop()}}if(!I.isObject(e))throw TypeError(`data must be an object`);return m(e),t}function He(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function Ue(e,t){this._pairs=[],e&&Ve(e,this,t)}var We=Ue.prototype;We.append=function(e,t){this._pairs.push([e,t])},We.toString=function(e){let t=e?function(t){return e.call(this,t,He)}:He;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function Ge(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function Ke(e,t,n){if(!t)return e;let r=n&&n.encode||Ge,i=I.isFunction(n)?{serialize:n}:n,a=i&&i.serialize,o;if(o=a?a(t,i):I.isURLSearchParams(t)?t.toString():new Ue(t,i).toString(r),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var qe=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){I.forEach(this.handlers,function(t){t!==null&&e(t)})}},Je={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Ye={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:Ue,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},Xe=t({hasBrowserEnv:()=>Ze,hasStandardBrowserEnv:()=>$e,hasStandardBrowserWebWorkerEnv:()=>et,navigator:()=>Qe,origin:()=>tt}),Ze=typeof window<`u`&&typeof document<`u`,Qe=typeof navigator==`object`&&navigator||void 0,$e=Ze&&(!Qe||[`ReactNative`,`NativeScript`,`NS`].indexOf(Qe.product)<0),et=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,tt=Ze&&window.location.href||`http://localhost`,nt={...Xe,...Ye};function rt(e,t){return Ve(e,new nt.classes.URLSearchParams,{visitor:function(e,t,n,r){return nt.isNode&&I.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}function it(e){return I.matchAll(/\w+|\[(\w*)]/g,e).map(e=>e[0]===`[]`?``:e[1]||e[0])}function at(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 ot(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&&I.isArray(r)?r.length:a,s?(I.hasOwnProp(r,a)?r[a]=I.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!r[a]||!I.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&I.isArray(r[a])&&(r[a]=at(r[a])),!o)}if(I.isFormData(e)&&I.isFunction(e.entries)){let n={};return I.forEachEntry(e,(e,r)=>{t(it(e),r,n,0)}),n}return null}var st=(e,t)=>e!=null&&I.hasOwnProp(e,t)?e[t]:void 0;function ct(e,t,n){if(I.isString(e))try{return(t||JSON.parse)(e),I.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var lt={transitional:Je,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=I.isObject(e);if(i&&I.isHTMLForm(e)&&(e=new FormData(e)),I.isFormData(e))return r?JSON.stringify(ot(e)):e;if(I.isArrayBuffer(e)||I.isBuffer(e)||I.isStream(e)||I.isFile(e)||I.isBlob(e)||I.isReadableStream(e))return e;if(I.isArrayBufferView(e))return e.buffer;if(I.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=st(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return rt(e,t).toString();if((a=I.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=st(this,`env`),r=n&&n.FormData;return Ve(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),ct(e)):e}],transformResponse:[function(e){let t=st(this,`transitional`)||lt.transitional,n=t&&t.forcedJSONParsing,r=st(this,`responseType`),i=r===`json`;if(I.isResponse(e)||I.isReadableStream(e))return e;if(e&&I.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,st(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?L.from(e,L.ERR_BAD_RESPONSE,this,null,st(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:nt.classes.FormData,Blob:nt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};I.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`],e=>{lt.headers[e]={}});var ut=I.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`]),dt=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]&&ut[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t},ft=Symbol(`internals`),pt=/[^\x09\x20-\x7E\x80-\xFF]/g;function mt(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 ht(e){return e&&String(e).trim().toLowerCase()}function gt(e){return mt(e.replace(pt,``))}function _t(e){return e===!1||e==null?e:I.isArray(e)?e.map(_t):gt(String(e))}function vt(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 yt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bt(e,t,n,r,i){if(I.isFunction(r))return r.call(this,t,n);if(i&&(t=n),I.isString(t)){if(I.isString(r))return t.indexOf(r)!==-1;if(I.isRegExp(r))return r.test(t)}}function xt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function St(e,t){let n=I.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 Ct=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=ht(t);if(!i)throw Error(`header name must be a non-empty string`);let a=I.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=_t(e))}let a=(e,t)=>I.forEach(e,(e,n)=>i(e,n,t));if(I.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(I.isString(e)&&(e=e.trim())&&!yt(e))a(dt(e),t);else if(I.isObject(e)&&I.isIterable(e)){let n={},r,i;for(let t of e){if(!I.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);n[i=t[0]]=(r=n[i])?I.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=ht(e),e){let n=I.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return vt(e);if(I.isFunction(t))return t.call(this,e,n);if(I.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=ht(e),e){let n=I.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||bt(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=ht(e),e){let i=I.findKey(n,e);i&&(!t||bt(n,n[i],i,t))&&(delete n[i],r=!0)}}return I.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||bt(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return I.forEach(this,(r,i)=>{let a=I.findKey(n,i);if(a){t[a]=_t(r),delete t[i];return}let o=e?xt(i):String(i).trim();o!==i&&delete t[i],t[o]=_t(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return I.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&I.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[ft]=this[ft]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=ht(e);t[r]||(St(n,e),t[r]=!0)}return I.isArray(e)?e.forEach(r):r(e),this}};Ct.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),I.reduceDescriptors(Ct.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),I.freezeMethods(Ct);function wt(e,t){let n=this||lt,r=t||n,i=Ct.from(r.headers),a=r.data;return I.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Tt(e){return!!(e&&e.__CANCEL__)}var Et=class extends L{constructor(e,t,n){super(e??`canceled`,L.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function Dt(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new L(`Request failed with status code `+n.status,[L.ERR_BAD_REQUEST,L.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Ot(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||``}function kt(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 At(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 jt=(e,t,n=3)=>{let r=0,i=kt(50,250);return At(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)},Mt=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Nt=e=>(...t)=>I.asap(()=>e(...t)),Pt=nt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,nt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(nt.origin),nt.navigator&&/(msie|trident)/i.test(nt.navigator.userAgent)):()=>!0,Ft=nt.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];I.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),I.isString(r)&&s.push(`path=${r}`),I.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),I.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 It(e){return typeof e==`string`?/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e):!1}function Lt(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}function Rt(e,t,n){let r=!It(t);return e&&(r||n===!1)?Lt(e,t):t}var zt=e=>e instanceof Ct?{...e}:e;function Bt(e,t){t||={};let n={};function r(e,t,n,r){return I.isPlainObject(e)&&I.isPlainObject(t)?I.merge.call({caseless:r},e,t):I.isPlainObject(t)?I.merge({},t):I.isArray(t)?t.slice():t}function i(e,t,n,i){if(!I.isUndefined(t))return r(e,t,n,i);if(!I.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!I.isUndefined(t))return r(void 0,t)}function o(e,t){if(!I.isUndefined(t))return r(void 0,t);if(!I.isUndefined(e))return r(void 0,e)}function s(n,i,a){if(I.hasOwnProp(t,a))return r(n,i);if(I.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(zt(e),zt(t),n,!0)};return I.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=I.hasOwnProp(c,r)?c[r]:i,o=a(I.hasOwnProp(e,r)?e[r]:void 0,I.hasOwnProp(t,r)?t[r]:void 0,r);I.isUndefined(o)&&a!==s||(n[r]=o)}),n}var Vt=e=>{let t=Bt({},e),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=Ct.from(o),t.url=Ke(Rt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set(`Authorization`,`Basic `+btoa((s.username||``)+`:`+(s.password?unescape(encodeURIComponent(s.password)):``))),I.isFormData(n)){if(nt.hasStandardBrowserEnv||nt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(I.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(nt.hasStandardBrowserEnv&&(I.isFunction(r)&&(r=r(t)),r===!0||r==null&&Pt(t.url))){let e=i&&a&&Ft.read(a);e&&o.set(i,e)}return t},Ht=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=Vt(e),i=r.data,a=Ct.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=Ct.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());Dt(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 L(`Request aborted`,L.ECONNABORTED,e,h)),null)},h.onerror=function(t){let r=new L(t&&t.message?t.message:`Network Error`,L.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||Je;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new L(t,i.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,e,h)),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&I.forEach(a.toJSON(),function(e,t){h.setRequestHeader(t,e)}),I.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=jt(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=jt(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new Et(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 _=Ot(r.url);if(_&&nt.protocols.indexOf(_)===-1){n(new L(`Unsupported protocol `+_+`:`,L.ERR_BAD_REQUEST,e));return}h.send(i||null)})},Ut=(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 L?t:new Et(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new L(`timeout of ${t}ms exceeded`,L.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=()=>I.asap(o),s}},Wt=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},Gt=async function*(e,t){for await(let n of Kt(e))yield*Wt(n,t)},Kt=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()}},qt=(e,t,n,r)=>{let i=Gt(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})},Jt=64*1024,{isFunction:Yt}=I,Xt=(({Request:e,Response:t})=>({Request:e,Response:t}))(I.global),{ReadableStream:Zt,TextEncoder:Qt}=I.global,$t=(e,...t)=>{try{return!!e(...t)}catch{return!1}},en=e=>{e=I.merge.call({skipUndefined:!0},Xt,e);let{fetch:t,Request:n,Response:r}=e,i=t?Yt(t):typeof fetch==`function`,a=Yt(n),o=Yt(r);if(!i)return!1;let s=i&&Yt(Zt),c=i&&(typeof Qt==`function`?(e=>t=>e.encode(t))(new Qt):async e=>new Uint8Array(await new n(e).arrayBuffer())),l=a&&s&&$t(()=>{let e=!1,t=new n(nt.origin,{body:new Zt,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&&$t(()=>I.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 L(`Response type '${e}' is not supported`,L.ERR_NOT_SUPPORT,n)})});let f=async e=>{if(e==null)return 0;if(I.isBlob(e))return e.size;if(I.isSpecCompliantForm(e))return(await new n(nt.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(I.isArrayBufferView(e)||I.isArrayBuffer(e))return e.byteLength;if(I.isURLSearchParams(e)&&(e+=``),I.isString(e))return(await c(e)).byteLength},p=async(e,t)=>I.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}=Vt(e),x=t||fetch;_=_?(_+``).toLowerCase():`text`;let S=Ut([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(I.isFormData(s)&&(t=e.headers.get(`content-type`))&&v.setContentType(t),e.body){let[t,n]=Mt(T,jt(Nt(g)));s=qt(e.body,Jt,t,n)}}I.isString(y)||(y=y?`include`:`omit`);let t=a&&`credentials`in n.prototype;if(I.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=I.toFiniteNumber(f.headers.get(`content-length`)),[n,i]=h&&Mt(t,jt(Nt(h),!0))||[];f=new r(qt(f.body,Jt,n,()=>{i&&i(),w&&w()}),e)}_||=`text`;let E=await d[I.findKey(d,_)||`text`](f,e);return!m&&w&&w(),await new Promise((t,n)=>{Dt(t,n,{data:E,headers:Ct.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 L(`Network Error`,L.ERR_NETWORK,e,C,t&&t.response),{cause:t.cause||t}):L.from(t,t&&t.code,e,C,t&&t.response)}}},tn=new Map,nn=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=tn;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:en(t)),l=c;return c};nn();var rn={http:null,xhr:Ht,fetch:{get:nn}};I.forEach(rn,(e,t)=>{if(e){try{Object.defineProperty(e,`name`,{value:t})}catch{}Object.defineProperty(e,`adapterName`,{value:t})}});var an=e=>`- ${e}`,on=e=>I.isFunction(e)||e===null||e===!1;function sn(e,t){e=I.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,!on(r)&&(i=rn[(n=String(r)).toLowerCase()],i===void 0))throw new L(`Unknown adapter '${n}'`);if(i&&(I.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 L(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
4
- `+e.map(an).join(`
5
- `):` `+an(e[0]):`as no adapter specified`),`ERR_NOT_SUPPORT`)}return i}var cn={getAdapter:sn,adapters:rn};function ln(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Et(null,e)}function un(e){return ln(e),e.headers=Ct.from(e.headers),e.data=wt.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),cn.getAdapter(e.adapter||lt.adapter,e)(e).then(function(t){return ln(e),t.data=wt.call(e,e.transformResponse,t),t.headers=Ct.from(t.headers),t},function(t){return Tt(t)||(ln(e),t&&t.response&&(t.response.data=wt.call(e,e.transformResponse,t.response),t.response.headers=Ct.from(t.response.headers))),Promise.reject(t)})}var dn=`1.15.1`,fn={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{fn[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var pn={};fn.transitional=function(e,t,n){function r(e,t){return`[Axios v`+dn+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new L(r(i,` has been removed`+(t?` in `+t:``)),L.ERR_DEPRECATED);return t&&!pn[i]&&(pn[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}},fn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function mn(e,t,n){if(typeof e!=`object`)throw new L(`options must be an object`,L.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 L(`option `+a+` must be `+n,L.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new L(`Unknown option `+a,L.ERR_BAD_OPTION)}}var hn={assertOptions:mn,validators:fn},gn=hn.validators,_n=class{constructor(e){this.defaults=e||{},this.interceptors={request:new qe,response:new qe}}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=Bt(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&hn.assertOptions(n,{silentJSONParsing:gn.transitional(gn.boolean),forcedJSONParsing:gn.transitional(gn.boolean),clarifyTimeoutError:gn.transitional(gn.boolean),legacyInterceptorReqResOrdering:gn.transitional(gn.boolean)},!1),r!=null&&(I.isFunction(r)?t.paramsSerializer={serialize:r}:hn.assertOptions(r,{encode:gn.function,serialize:gn.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),hn.assertOptions(t,{baseUrl:gn.spelling(`baseURL`),withXsrfToken:gn.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&I.merge(i.common,i[t.method]);i&&I.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=Ct.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||Je;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=[un.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=un.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=Bt(this.defaults,e),Ke(Rt(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};I.forEach([`delete`,`get`,`head`,`options`],function(e){_n.prototype[e]=function(t,n){return this.request(Bt(n||{},{method:e,url:t,data:(n||{}).data}))}}),I.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(Bt(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}_n.prototype[e]=t(),_n.prototype[e+`Form`]=t(!0)});var vn=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 Et(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 yn(e){return function(t){return e.apply(null,t)}}function bn(e){return I.isObject(e)&&e.isAxiosError===!0}var xn={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(xn).forEach(([e,t])=>{xn[t]=e});function Sn(e){let t=new _n(e),n=s(_n.prototype.request,t);return I.extend(n,_n.prototype,t,{allOwnKeys:!0}),I.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Sn(Bt(e,t))},n}var R=Sn(lt);R.Axios=_n,R.CanceledError=Et,R.CancelToken=vn,R.isCancel=Tt,R.VERSION=dn,R.toFormData=Ve,R.AxiosError=L,R.Cancel=R.CanceledError,R.all=function(e){return Promise.all(e)},R.spread=yn,R.isAxiosError=bn,R.mergeConfig=Bt,R.AxiosHeaders=Ct,R.formToJSON=e=>ot(I.isHTMLForm(e)?new FormData(e):e),R.getAdapter=cn.getAdapter,R.HttpStatusCode=xn,R.default=R;var Cn=e(i()),wn=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Tn=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),En=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Dn=e=>{let t=En(e);return t.charAt(0).toUpperCase()+t.slice(1)},On={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`},kn=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},An=(0,Cn.createContext)({}),jn=()=>(0,Cn.useContext)(An),Mn=(0,Cn.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=``}=jn()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,Cn.createElement)(`svg`,{ref:c,...On,width:t??l??On.width,height:t??l??On.height,stroke:e??f,strokeWidth:m,className:wn(`lucide`,p,i),...!a&&!kn(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,Cn.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),z=(e,t)=>{let n=(0,Cn.forwardRef)(({className:n,...r},i)=>(0,Cn.createElement)(Mn,{ref:i,iconNode:t,className:wn(`lucide-${Tn(Dn(e))}`,`lucide-${e}`,n),...r}));return n.displayName=Dn(e),n},Nn=z(`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`}]]),Pn=z(`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`}]]),Fn=z(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),In=z(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Ln=z(`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`}]]),Rn=z(`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`}]]),zn=z(`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`}]]),Bn=z(`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`}]]),Vn=z(`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`}]]),Hn=z(`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`}]]),Un=z(`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`}]]),Wn=z(`check-check`,[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]),Gn=z(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Kn=z(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),qn=z(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Jn=z(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Yn=z(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Xn=z(`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`}]]),Zn=z(`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`}]]),Qn=z(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),$n=z(`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`}]]),er=z(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),tr=z(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),nr=z(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),rr=z(`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`}]]),ir=z(`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`}]]),ar=z(`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`}]]),or=z(`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`}]]),sr=z(`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`}]]),cr=z(`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`}]]),lr=z(`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`}]]),ur=z(`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`}]]),dr=z(`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`}]]),fr=z(`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`}]]),pr=z(`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`}]]),mr=z(`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`}]]),hr=z(`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`}]]),gr=z(`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`}]]),_r=z(`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`}]]),vr=z(`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`}]]),yr=z(`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`}]]),br=z(`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`}]]),xr=z(`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`}]]),Sr=z(`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`}]]),Cr=z(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),wr=z(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]),Tr=z(`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=z(`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=z(`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=z(`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=z(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),Ar=z(`loader`,[[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m16.2 7.8 2.9-2.9`,key:`r700ao`}],[`path`,{d:`M18 12h4`,key:`wj9ykh`}],[`path`,{d:`m16.2 16.2 2.9 2.9`,key:`1bxg5t`}],[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`m4.9 19.1 2.9-2.9`,key:`bwix9q`}],[`path`,{d:`M2 12h4`,key:`j09sii`}],[`path`,{d:`m4.9 4.9 2.9 2.9`,key:`giyufr`}]]),jr=z(`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`}]]),Mr=z(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Nr=z(`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`}]]),Pr=z(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),Fr=z(`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`}]]),Ir=z(`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`}]]),Lr=z(`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`}]]),Rr=z(`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`}]]),zr=z(`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`}]]),Br=z(`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`}]]),Vr=z(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Hr=z(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),Ur=z(`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`}]]),Wr=z(`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`}]]),Gr=z(`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`}]]),Kr=z(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),qr=z(`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`}]]),Jr=z(`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`}]]),Yr=z(`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`}]]),Xr=z(`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`}]]),Zr=z(`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`}]]),Qr=z(`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`}]]),$r=z(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),ei=z(`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`}]]),ti=z(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),ni=z(`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`}]]),ri=z(`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`}]]),ii=z(`trending-down`,[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]),ai=z(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),oi=z(`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`}]]),si=z(`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`}]]),ci=z(`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`}]]),li=z(`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`}]]),ui=z(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),di=z(`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 fi(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=fi(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function pi(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=fi(e))&&(r&&(r+=` `),r+=t);return r}var mi=(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},hi=(e,t)=>({classGroupId:e,validator:t}),gi=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),_i=`-`,vi=[],yi=`arbitrary..`,bi=e=>{let t=Ci(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Si(e);let n=e.split(_i);return xi(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?mi(i,t):t:i||vi}return n[e]||vi}}},xi=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=xi(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(_i):e.slice(t).join(_i),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Si=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?yi+r:void 0})(),Ci=e=>{let{theme:t,classGroups:n}=e;return wi(n,t)},wi=(e,t)=>{let n=gi();for(let r in e){let i=e[r];Ti(i,n,r,t)}return n},Ti=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Ei(i,t,n,r)}},Ei=(e,t,n,r)=>{if(typeof e==`string`){Di(e,t,n);return}if(typeof e==`function`){Oi(e,t,n,r);return}ki(e,t,n,r)},Di=(e,t,n)=>{let r=e===``?t:Ai(t,e);r.classGroupId=n},Oi=(e,t,n,r)=>{if(ji(e)){Ti(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(hi(n,e))},ki=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Ti(o,Ai(t,a),n,r)}},Ai=(e,t)=>{let n=e,r=t.split(_i),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=gi(),n.nextPart.set(t,i)),n=i}return n},ji=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Mi=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)}}},Ni=`!`,Pi=`:`,Fi=[],Ii=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Li=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===Pi){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(Ni)?(c=s.slice(0,-1),l=!0):s.startsWith(Ni)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Ii(t,l,c,u)};if(t){let e=t+Pi,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Ii(Fi,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Ri=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}},zi=e=>({cache:Mi(e.cacheSize),parseClassName:Li(e),sortModifiers:Ri(e),...bi(e)}),Bi=/\s+/,Vi=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(Bi),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+Ni: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},Hi=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Ui(n))&&(i&&(i+=` `),i+=r);return i},Ui=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Ui(e[r]))&&(n&&(n+=` `),n+=t);return n},Wi=(e,...t)=>{let n,r,i,a,o=o=>(n=zi(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=Vi(e,n);return i(e,a),a};return a=o,(...e)=>a(Hi(...e))},Gi=[],B=e=>{let t=t=>t[e]||Gi;return t.isThemeGetter=!0,t},Ki=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,qi=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ji=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Yi=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xi=/\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$/,Zi=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Qi=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$i=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ea=e=>Ji.test(e),V=e=>!!e&&!Number.isNaN(Number(e)),ta=e=>!!e&&Number.isInteger(Number(e)),na=e=>e.endsWith(`%`)&&V(e.slice(0,-1)),ra=e=>Yi.test(e),ia=()=>!0,aa=e=>Xi.test(e)&&!Zi.test(e),oa=()=>!1,sa=e=>Qi.test(e),ca=e=>$i.test(e),la=e=>!H(e)&&!U(e),ua=e=>Ta(e,ka,oa),H=e=>Ki.test(e),da=e=>Ta(e,Aa,aa),fa=e=>Ta(e,ja,V),pa=e=>Ta(e,Na,ia),ma=e=>Ta(e,Ma,oa),ha=e=>Ta(e,Da,oa),ga=e=>Ta(e,Oa,ca),_a=e=>Ta(e,Pa,sa),U=e=>qi.test(e),va=e=>Ea(e,Aa),ya=e=>Ea(e,Ma),ba=e=>Ea(e,Da),xa=e=>Ea(e,ka),Sa=e=>Ea(e,Oa),Ca=e=>Ea(e,Pa,!0),wa=e=>Ea(e,Na,!0),Ta=(e,t,n)=>{let r=Ki.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ea=(e,t,n=!1)=>{let r=qi.exec(e);return r?r[1]?t(r[1]):n:!1},Da=e=>e===`position`||e===`percentage`,Oa=e=>e===`image`||e===`url`,ka=e=>e===`length`||e===`size`||e===`bg-size`,Aa=e=>e===`length`,ja=e=>e===`number`,Ma=e=>e===`family-name`,Na=e=>e===`number`||e===`weight`,Pa=e=>e===`shadow`,Fa=Wi(()=>{let e=B(`color`),t=B(`font`),n=B(`text`),r=B(`font-weight`),i=B(`tracking`),a=B(`leading`),o=B(`breakpoint`),s=B(`container`),c=B(`spacing`),l=B(`radius`),u=B(`shadow`),d=B(`inset-shadow`),f=B(`text-shadow`),p=B(`drop-shadow`),m=B(`blur`),h=B(`perspective`),g=B(`aspect`),_=B(`ease`),v=B(`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(),U,H],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[U,H,c],T=()=>[ea,`full`,`auto`,...w()],E=()=>[ta,`none`,`subgrid`,U,H],D=()=>[`auto`,{span:[`full`,ta,U,H]},ta,U,H],O=()=>[ta,`auto`,U,H],k=()=>[`auto`,`min`,`max`,`fr`,U,H],ee=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],te=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],A=()=>[`auto`,...w()],j=()=>[ea,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ne=()=>[ea,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],re=()=>[ea,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],M=()=>[e,U,H],ie=()=>[...b(),ba,ha,{position:[U,H]}],ae=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],oe=()=>[`auto`,`cover`,`contain`,xa,ua,{size:[U,H]}],se=()=>[na,va,da],N=()=>[``,`none`,`full`,l,U,H],P=()=>[``,V,va,da],ce=()=>[`solid`,`dashed`,`dotted`,`double`],le=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],F=()=>[V,na,ba,ha],ue=()=>[``,`none`,m,U,H],de=()=>[`none`,V,U,H],fe=()=>[`none`,V,U,H],pe=()=>[V,U,H],me=()=>[ea,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[ra],breakpoint:[ra],color:[ia],container:[ra],"drop-shadow":[ra],ease:[`in`,`out`,`in-out`],font:[la],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[ra],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[ra],shadow:[ra],spacing:[`px`,V],text:[ra],"text-shadow":[ra],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,ea,H,U,g]}],container:[`container`],columns:[{columns:[V,H,U,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:[ta,`auto`,U,H]}],basis:[{basis:[ea,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[V,ea,`auto`,`initial`,`none`,H]}],grow:[{grow:[``,V,U,H]}],shrink:[{shrink:[``,V,U,H]}],order:[{order:[ta,`first`,`last`,`none`,U,H]}],"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":[...te(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...te()]}],"align-content":[{content:[`normal`,...ee()]}],"align-items":[{items:[...te(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...te(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...te(),`baseline`]}],"place-self":[{"place-self":[`auto`,...te()]}],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:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:j()}],"inline-size":[{inline:[`auto`,...ne()]}],"min-inline-size":[{"min-inline":[`auto`,...ne()]}],"max-inline-size":[{"max-inline":[`none`,...ne()]}],"block-size":[{block:[`auto`,...re()]}],"min-block-size":[{"min-block":[`auto`,...re()]}],"max-block-size":[{"max-block":[`none`,...re()]}],w:[{w:[s,`screen`,...j()]}],"min-w":[{"min-w":[s,`screen`,`none`,...j()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...j()]}],h:[{h:[`screen`,`lh`,...j()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...j()]}],"max-h":[{"max-h":[`screen`,`lh`,...j()]}],"font-size":[{text:[`base`,n,va,da]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,wa,pa]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,na,H]}],"font-family":[{font:[ya,ma,t]}],"font-features":[{"font-features":[H]}],"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,U,H]}],"line-clamp":[{"line-clamp":[V,`none`,U,fa]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,U,H]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,U,H]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ce(),`wavy`]}],"text-decoration-thickness":[{decoration:[V,`from-font`,`auto`,U,da]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[V,`auto`,U,H]}],"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`,U,H]}],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`,U,H]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ie()}],"bg-repeat":[{bg:ae()}],"bg-size":[{bg:oe()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},ta,U,H],radial:[``,U,H],conic:[ta,U,H]},Sa,ga]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:se()}],"gradient-via-pos":[{via:se()}],"gradient-to-pos":[{to:se()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:P()}],"border-w-x":[{"border-x":P()}],"border-w-y":[{"border-y":P()}],"border-w-s":[{"border-s":P()}],"border-w-e":[{"border-e":P()}],"border-w-bs":[{"border-bs":P()}],"border-w-be":[{"border-be":P()}],"border-w-t":[{"border-t":P()}],"border-w-r":[{"border-r":P()}],"border-w-b":[{"border-b":P()}],"border-w-l":[{"border-l":P()}],"divide-x":[{"divide-x":P()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":P()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ce(),`hidden`,`none`]}],"divide-style":[{divide:[...ce(),`hidden`,`none`]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...ce(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[V,U,H]}],"outline-w":[{outline:[``,V,va,da]}],"outline-color":[{outline:M()}],shadow:[{shadow:[``,`none`,u,Ca,_a]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":[`none`,d,Ca,_a]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:P()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[V,da]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":P()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":[`none`,f,Ca,_a]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[V,U,H]}],"mix-blend":[{"mix-blend":[...le(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":le()}],"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":[V]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[U,H]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":[V]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ie()}],"mask-repeat":[{mask:ae()}],"mask-size":[{mask:oe()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,U,H]}],filter:[{filter:[``,`none`,U,H]}],blur:[{blur:ue()}],brightness:[{brightness:[V,U,H]}],contrast:[{contrast:[V,U,H]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Ca,_a]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:[``,V,U,H]}],"hue-rotate":[{"hue-rotate":[V,U,H]}],invert:[{invert:[``,V,U,H]}],saturate:[{saturate:[V,U,H]}],sepia:[{sepia:[``,V,U,H]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,U,H]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[V,U,H]}],"backdrop-contrast":[{"backdrop-contrast":[V,U,H]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,V,U,H]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[V,U,H]}],"backdrop-invert":[{"backdrop-invert":[``,V,U,H]}],"backdrop-opacity":[{"backdrop-opacity":[V,U,H]}],"backdrop-saturate":[{"backdrop-saturate":[V,U,H]}],"backdrop-sepia":[{"backdrop-sepia":[``,V,U,H]}],"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`,U,H]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[V,`initial`,U,H]}],ease:[{ease:[`linear`,`initial`,_,U,H]}],delay:[{delay:[V,U,H]}],animate:[{animate:[`none`,v,U,H]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,U,H]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:de()}],"rotate-x":[{"rotate-x":de()}],"rotate-y":[{"rotate-y":de()}],"rotate-z":[{"rotate-z":de()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":[`scale-3d`],skew:[{skew:pe()}],"skew-x":[{"skew-x":pe()}],"skew-y":[{"skew-y":pe()}],transform:[{transform:[U,H,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:me()}],"translate-x":[{"translate-x":me()}],"translate-y":[{"translate-y":me()}],"translate-z":[{"translate-z":me()}],"translate-none":[`translate-none`],accent:[{accent:M()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:M()}],"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`,U,H]}],"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`,U,H]}],fill:[{fill:[`none`,...M()]}],"stroke-w":[{stroke:[V,va,da,fa]}],stroke:[{stroke:[`none`,...M()]}],"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 Ia(e,t){e.indexOf(t)===-1&&e.push(t)}function La(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ra=(e,t,n)=>n>t?t:n<e?e:n,za=()=>{},Ba={},Va=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Ha(e){return typeof e==`object`&&!!e}var Ua=e=>/^0[^.\s]+$/u.test(e);function Wa(e){let t;return()=>(t===void 0&&(t=e()),t)}var Ga=e=>e,Ka=(e,t)=>n=>t(e(n)),qa=(...e)=>e.reduce(Ka),Ja=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Ya=class{constructor(){this.subscriptions=[]}add(e){return Ia(this.subscriptions,e),()=>La(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}},Xa=e=>e*1e3,Za=e=>e/1e3;function Qa(e,t){return t?1e3/t*e:0}var $a=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,eo=1e-7,to=12;function no(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=$a(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>eo&&++s<to);return o}function ro(e,t,n,r){if(e===t&&n===r)return Ga;let i=t=>no(t,0,1,e,n);return e=>e===0||e===1?e:$a(i(e),t,r)}var io=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ao=e=>t=>1-e(1-t),oo=ro(.33,1.53,.69,.99),so=ao(oo),co=io(so),lo=e=>e>=1?1:(e*=2)<1?.5*so(e):.5*(2-2**(-10*(e-1))),uo=e=>1-Math.sin(Math.acos(e)),fo=ao(uo),po=io(uo),mo=ro(.42,0,1,1),ho=ro(0,0,.58,1),go=ro(.42,0,.58,1),_o=e=>Array.isArray(e)&&typeof e[0]!=`number`,vo=e=>Array.isArray(e)&&typeof e[0]==`number`,yo={linear:Ga,easeIn:mo,easeInOut:go,easeOut:ho,circIn:uo,circInOut:po,circOut:fo,backIn:so,backInOut:co,backOut:oo,anticipate:lo},bo=e=>typeof e==`string`,xo=e=>{if(vo(e)){e.length;let[t,n,r,i]=e;return ro(t,n,r,i)}else if(bo(e))return yo[e],`${e}`,yo[e];return e},So=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Co={value:null,addProjectionMetrics:null};function wo(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&&Co.value&&Co.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var To=40;function Eo(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=So.reduce((e,n)=>(e[n]=wo(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=Ba.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,To),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:So.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<So.length;t++)o[So[t]].cancel(e)},state:i,steps:o}}var{schedule:W,cancel:Do,state:Oo,steps:ko}=Eo(typeof requestAnimationFrame<`u`?requestAnimationFrame:Ga,!0),Ao;function jo(){Ao=void 0}var Mo={now:()=>(Ao===void 0&&Mo.set(Oo.isProcessing||Ba.useManualTiming?Oo.timestamp:performance.now()),Ao),set:e=>{Ao=e,queueMicrotask(jo)}},No={layout:0,mainThread:0,waapi:0},Po=e=>t=>typeof t==`string`&&t.startsWith(e),Fo=Po(`--`),Io=Po(`var(--`),Lo=e=>Io(e)?Ro.test(e.split(`/*`)[0].trim()):!1,Ro=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function zo(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Bo={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Vo={...Bo,transform:e=>Ra(0,1,e)},Ho={...Bo,default:1},Uo=e=>Math.round(e*1e5)/1e5,Wo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Go(e){return e==null}var Ko=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,qo=(e,t)=>n=>!!(typeof n==`string`&&Ko.test(n)&&n.startsWith(e)||t&&!Go(n)&&Object.prototype.hasOwnProperty.call(n,t)),Jo=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Wo);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Yo=e=>Ra(0,255,e),Xo={...Bo,transform:e=>Math.round(Yo(e))},Zo={test:qo(`rgb`,`red`),parse:Jo(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Xo.transform(e)+`, `+Xo.transform(t)+`, `+Xo.transform(n)+`, `+Uo(Vo.transform(r))+`)`};function Qo(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 $o={test:qo(`#`),parse:Qo,transform:Zo.transform},es=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ts=es(`deg`),ns=es(`%`),G=es(`px`),rs=es(`vh`),is=es(`vw`),as={...ns,parse:e=>ns.parse(e)/100,transform:e=>ns.transform(e*100)},os={test:qo(`hsl`,`hue`),parse:Jo(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+ns.transform(Uo(t))+`, `+ns.transform(Uo(n))+`, `+Uo(Vo.transform(r))+`)`},K={test:e=>Zo.test(e)||$o.test(e)||os.test(e),parse:e=>Zo.test(e)?Zo.parse(e):os.test(e)?os.parse(e):$o.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Zo.transform(e):os.transform(e),getAnimatableNone:e=>{let t=K.parse(e);return t.alpha=0,K.transform(t)}},ss=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function cs(e){return isNaN(e)&&typeof e==`string`&&(e.match(Wo)?.length||0)+(e.match(ss)?.length||0)>0}var ls=`number`,us=`color`,ds=`var`,fs=`var(`,ps="${}",ms=/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 hs(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(ms,e=>(K.test(e)?(r.color.push(a),i.push(us),n.push(K.parse(e))):e.startsWith(fs)?(r.var.push(a),i.push(ds),n.push(e)):(r.number.push(a),i.push(ls),n.push(parseFloat(e))),++a,ps)).split(ps),indexes:r,types:i}}function gs(e){return hs(e).values}function _s({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===ls?i+=Uo(r[a]):e===us?i+=K.transform(r[a]):i+=r[a]}return i}}function vs(e){return _s(hs(e))}var ys=e=>typeof e==`number`?0:K.test(e)?K.getAnimatableNone(e):e,bs=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:ys(e);function xs(e){let t=hs(e);return _s(t)(t.values.map((e,n)=>bs(e,t.split[n])))}var Ss={test:cs,parse:gs,createTransformer:vs,getAnimatableNone:xs};function Cs(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 ws({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=Cs(s,r,e+1/3),a=Cs(s,r,e),o=Cs(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Ts(e,t){return n=>n>0?t:e}var q=(e,t,n)=>e+(t-e)*n,Es=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Ds=[$o,Zo,os],Os=e=>Ds.find(t=>t.test(e));function ks(e){let t=Os(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===os&&(n=ws(n)),n}var As=(e,t)=>{let n=ks(e),r=ks(t);if(!n||!r)return Ts(e,t);let i={...n};return e=>(i.red=Es(n.red,r.red,e),i.green=Es(n.green,r.green,e),i.blue=Es(n.blue,r.blue,e),i.alpha=q(n.alpha,r.alpha,e),Zo.transform(i))},js=new Set([`none`,`hidden`]);function Ms(e,t){return js.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Ns(e,t){return n=>q(e,t,n)}function Ps(e){return typeof e==`number`?Ns:typeof e==`string`?Lo(e)?Ts:K.test(e)?As:Rs:Array.isArray(e)?Fs:typeof e==`object`?K.test(e)?As:Is:Ts}function Fs(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Ps(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Is(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ps(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Ls(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 Rs=(e,t)=>{let n=Ss.createTransformer(t),r=hs(e),i=hs(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?js.has(e)&&!i.values.length||js.has(t)&&!r.values.length?Ms(e,t):qa(Fs(Ls(r,i),i.values),n):(`${e}${t}`,Ts(e,t))};function zs(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?q(e,t,n):Ps(e)(e,t)}var Bs=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>W.update(t,e),stop:()=>Do(t),now:()=>Oo.isProcessing?Oo.timestamp:Mo.now()}},Vs=(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)})`},Hs=2e4;function Us(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 Ws(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Us(r),Hs);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Za(i)}}var J={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 Gs(e,t){return e*Math.sqrt(1-t*t)}var Ks=12;function qs(e,t,n){let r=n;for(let n=1;n<Ks;n++)r-=e(r)/t(r);return r}var Js=.001;function Ys({duration:e=J.duration,bounce:t=J.bounce,velocity:n=J.velocity,mass:r=J.mass}){let i,a;J.maxDuration;let o=1-t;o=Ra(J.minDamping,J.maxDamping,o),e=Ra(J.minDuration,J.maxDuration,Za(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Gs(t,o),c=Math.exp(-i);return Js-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=Gs(t**2,o);return(-i(t)+Js>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Js+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=qs(i,a,s);if(e=Xa(e),isNaN(c))return{stiffness:J.stiffness,damping:J.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Xs=[`duration`,`bounce`],Zs=[`stiffness`,`damping`,`mass`];function Qs(e,t){return t.some(t=>e[t]!==void 0)}function $s(e){let t={velocity:J.velocity,stiffness:J.stiffness,damping:J.damping,mass:J.mass,isResolvedFromDuration:!1,...e};if(!Qs(e,Zs)&&Qs(e,Xs))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Ra(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:J.mass,stiffness:i,damping:a}}else{let n=Ys({...e,velocity:0});t={...t,...n,mass:J.mass},t.isResolvedFromDuration=!0}return t}function ec(e=J.visualDuration,t=J.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}=$s({...n,velocity:-Za(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Za(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?J.restSpeed.granular:J.restSpeed.default,i||=v?J.restDelta.granular:J.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Gs(_,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=>Xa(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=Xa(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=Xa(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(Us(T),Hs),t=Vs(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}ec.applyToOptions=e=>{let t=Ws(e,100,ec);return e.ease=t.ease,e.duration=Xa(t.duration),e.type=`keyframes`,e};var tc=5;function nc(e,t,n){let r=Math.max(t-tc,0);return Qa(n-e(r),t-r)}function rc({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=ec({keyframes:[f.value,m(f.value)],velocity:nc(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 ic(e,t,n){let r=[],i=n||Ba.mix||zs,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=qa(Array.isArray(t)?t[n]||Ga:t,a)),r.push(a)}return r}function ac(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=ic(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=Ja(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Ra(e[0],e[a-1],t)):l}function oc(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Ja(0,t,r);e.push(q(n,1,i))}}function sc(e){let t=[0];return oc(t,e.length-1),t}function cc(e,t){return e.map(e=>e*t)}function lc(e,t){return e.map(()=>t||go).splice(0,e.length-1)}function uc({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=_o(r)?r.map(xo):xo(r),a={done:!1,value:t[0]},o=ac(cc(n&&n.length===t.length?n:sc(t),e),t,{ease:Array.isArray(i)?i:lc(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var dc=e=>e!==null;function fc(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(dc),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var pc={decay:rc,inertia:rc,tween:uc,keyframes:uc,spring:ec};function mc(e){typeof e.type==`string`&&(e.type=pc[e.type])}var hc=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)}},gc=e=>e/100,_c=class extends hc{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!==Mo.now()&&this.tick(Mo.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},No.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;mc(e);let{type:t=uc,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||uc;s!==uc&&typeof o[0]!=`number`&&(this.mixKeyframes=qa(gc,zs(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=Us(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=Ra(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!==rc&&(b.value=fc(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 Za(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Za(e)}get time(){return Za(this.currentTime)}set time(e){e=Xa(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 nc(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(Mo.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Za(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Bs,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(Mo.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,No.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 vc(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var yc=e=>e*180/Math.PI,bc=e=>Sc(yc(Math.atan2(e[1],e[0]))),xc={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:bc,rotateZ:bc,skewX:e=>yc(Math.atan(e[1])),skewY:e=>yc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Sc=e=>(e%=360,e<0&&(e+=360),e),Cc=bc,wc=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Tc=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ec={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:wc,scaleY:Tc,scale:e=>(wc(e)+Tc(e))/2,rotateX:e=>Sc(yc(Math.atan2(e[6],e[5]))),rotateY:e=>Sc(yc(Math.atan2(-e[2],e[0]))),rotateZ:Cc,rotate:Cc,skewX:e=>yc(Math.atan(e[4])),skewY:e=>yc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Dc(e){return+!!e.includes(`scale`)}function Oc(e,t){if(!e||e===`none`)return Dc(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ec,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=xc,i=t}if(!i)return Dc(t);let a=r[t],o=i[1].split(`,`).map(Ac);return typeof a==`function`?a(o):o[a]}var kc=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Oc(n,t)};function Ac(e){return parseFloat(e.trim())}var jc=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Mc=new Set(jc),Nc=e=>e===Bo||e===G,Pc=new Set([`x`,`y`,`z`]),Fc=jc.filter(e=>!Pc.has(e));function Ic(e){let t=[];return Fc.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Lc={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})=>Oc(t,`x`),y:(e,{transform:t})=>Oc(t,`y`)};Lc.translateX=Lc.x,Lc.translateY=Lc.y;var Rc=new Set,zc=!1,Bc=!1,Vc=!1;function Hc(){if(Bc){let e=Array.from(Rc).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Ic(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)})}Bc=!1,zc=!1,Rc.forEach(e=>e.complete(Vc)),Rc.clear()}function Uc(){Rc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Bc=!0)})}function Wc(){Vc=!0,Uc(),Hc(),Vc=!1}var Gc=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?(Rc.add(this),zc||(zc=!0,W.read(Uc),W.resolveKeyframes(Hc))):(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])}vc(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Rc.delete(this)}cancel(){this.state===`scheduled`&&(Rc.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Kc=e=>e.startsWith(`--`);function qc(e,t,n){Kc(t)?e.style.setProperty(t,n):e.style[t]=n}var Jc={};function Yc(e,t){let n=Wa(e);return()=>Jc[t]??n()}var Xc=Yc(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Zc=Yc(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Qc=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,$c={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Qc([0,.65,.55,1]),circOut:Qc([.55,0,1,.45]),backIn:Qc([.31,.01,.66,-.59]),backOut:Qc([.33,1.53,.69,.99])};function el(e,t){if(e)return typeof e==`function`?Zc()?Vs(e,t):`ease-out`:vo(e)?Qc(e):Array.isArray(e)?e.map(e=>el(e,t)||$c.easeOut):$c[e]}function tl(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=el(s,i);Array.isArray(d)&&(u.easing=d),Co.value&&No.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 Co.value&&p.finished.finally(()=>{No.waapi--}),p}function nl(e){return typeof e==`function`&&`applyToOptions`in e}function rl({type:e,...t}){return nl(e)&&Zc()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var il=class extends hc{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=rl(e);this.animation=tl(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=fc(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),qc(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 Za(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Za(e)}get time(){return Za(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Xa(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&&Xc()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Ga):r(this)}},al={anticipate:lo,backInOut:co,circInOut:po};function ol(e){return e in al}function sl(e){typeof e.ease==`string`&&ol(e.ease)&&(e.ease=al[e.ease])}var cl=10,ll=class extends il{constructor(e){sl(e),mc(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 _c({...a,autoplay:!1}),s=Math.max(cl,Mo.now()-this.startTime),c=Ra(0,cl,s-cl),l=o.sample(s).value,{name:u}=this.options;i&&u&&qc(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},ul=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Ss.test(e)||e===`0`)&&!e.startsWith(`url(`));function dl(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 fl(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=ul(i,t),s=ul(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:dl(e)||(n===`spring`||nl(n))&&r}function pl(e){e.duration=0,e.type=`keyframes`}var ml=new Set([`opacity`,`clipPath`,`filter`,`transform`]),hl=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function gl(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&hl.test(e[t]))return!0;return!1}var _l=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),vl=Wa(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function yl(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 vl()&&n&&(ml.has(n)||_l.has(n)&&gl(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var bl=40,xl=class extends hc{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=Mo.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||Gc)(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=Mo.now();let u=!0;fl(e,i,a,o)||(u=!1,(Ba.instantAnimations||!s)&&l?.(fc(e,n,t)),e[0]=e[e.length-1],pl(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>bl?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&yl(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new ll({...d,element:p})}catch{m=new _c(d)}else m=new _c(d);m.finished.then(()=>{this.notifyFinished()}).catch(Ga),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(),Wc()),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 Sl(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 Cl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function wl(e){let t=Cl.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Tl(e,t,n=1){`${e}`;let[r,i]=wl(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Va(e)?parseFloat(e):e}return Lo(i)?Tl(i,t,n+1):i}var El={type:`spring`,stiffness:500,damping:25,restSpeed:10},Dl=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ol={type:`keyframes`,duration:.8},kl={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Al=(e,{keyframes:t})=>t.length>2?Ol:Mc.has(e)?e.startsWith(`scale`)?Dl(t[1]):El:kl;function jl(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Ml(e,t){let n=e?.[t]??e?.default??e;return n===e?n:jl(n,e)}var Nl=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Pl(e){for(let t in e)if(!Nl.has(t))return!0;return!1}var Fl=(e,t,n,r={},i,a)=>o=>{let s=Ml(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Xa(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};Pl(s)||Object.assign(u,Al(e,u)),u.duration&&=Xa(u.duration),u.repeatDelay&&=Xa(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(pl(u),u.delay===0&&(d=!0)),(Ba.instantAnimations||Ba.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,pl(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=fc(u.keyframes,s);if(e!==void 0){W.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new _c(u):new xl(u)};function Il(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Ll(e,t,n,r){if(typeof t==`function`){let[i,a]=Il(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]=Il(r);t=t(n===void 0?e.custom:n,i,a)}return t}function Rl(e,t,n){let r=e.getProps();return Ll(r,t,n===void 0?r.custom:n,e)}var zl=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...jc]),Bl=30,Vl=e=>!isNaN(parseFloat(e)),Hl={current:void 0},Ul=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Mo.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=Mo.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Vl(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 Ya);let n=this.events[e].add(t);return e===`change`?()=>{n(),W.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 Hl.current&&Hl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Mo.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Bl)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Bl);return Qa(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 Wl(e,t){return new Ul(e,t)}var Gl=e=>Array.isArray(e);function Kl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Wl(n))}function ql(e){return Gl(e)?e[e.length-1]||0:e}function Jl(e,t){let{transitionEnd:n={},transition:r={},...i}=Rl(e,t)||{};i={...i,...n};for(let t in i)Kl(e,t,ql(i[t]))}var Yl=e=>!!(e&&e.getVelocity);function Xl(e){return!!(Yl(e)&&e.add)}function Zl(e,t){let n=e.getValue(`willChange`);if(Xl(n))return n.add(t);if(!n&&Ba.WillChange){let n=new Ba.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Ql(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var $l=`data-`+Ql(`framerAppearId`);function eu(e){return e.props[$l]}function tu({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function nu(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?jl(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&&tu(d,t))continue;let o={delay:n,...Ml(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){W.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=eu(e);if(n){let e=window.MotionHandoffAnimation(n,t,W);e!==null&&(o.startTime=e,f=!0)}}Zl(e,t);let p=l??e.shouldReduceMotion;r.start(Fl(t,r,i,p&&zl.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>W.update(()=>{o&&Jl(e,o)});u.length?Promise.all(u).then(t):t()}return u}function ru(e,t,n={}){let r=Rl(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(nu(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return iu(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 iu(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(ru(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Sl(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function au(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>ru(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=ru(e,t,n);else{let i=typeof t==`function`?Rl(e,t,n.custom):t;r=Promise.all(nu(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var ou={test:e=>e===`auto`,parse:e=>e},su=e=>t=>t.test(e),cu=[Bo,G,ns,ts,is,rs,ou],lu=e=>cu.find(su(e));function uu(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Ua(e)}var du=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function fu(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Wo)||[];if(!r)return e;let i=n.replace(r,``),a=+!!du.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var pu=/\b([a-z-]*)\(.*?\)/gu,mu={...Ss,getAnimatableNone:e=>{let t=e.match(pu);return t?t.map(fu).join(` `):e}},hu={...Ss,getAnimatableNone:e=>{let t=Ss.parse(e);return Ss.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},gu={...Bo,transform:Math.round},_u={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,top:G,right:G,bottom:G,left:G,inset:G,insetBlock:G,insetBlockStart:G,insetBlockEnd:G,insetInline:G,insetInlineStart:G,insetInlineEnd:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,paddingBlock:G,paddingBlockStart:G,paddingBlockEnd:G,paddingInline:G,paddingInlineStart:G,paddingInlineEnd:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,marginBlock:G,marginBlockStart:G,marginBlockEnd:G,marginInline:G,marginInlineStart:G,marginInlineEnd:G,fontSize:G,backgroundPositionX:G,backgroundPositionY:G,rotate:ts,rotateX:ts,rotateY:ts,rotateZ:ts,scale:Ho,scaleX:Ho,scaleY:Ho,scaleZ:Ho,skew:ts,skewX:ts,skewY:ts,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:Vo,originX:as,originY:as,originZ:G,zIndex:gu,fillOpacity:Vo,strokeOpacity:Vo,numOctaves:gu},vu={..._u,color:K,backgroundColor:K,outlineColor:K,fill:K,stroke:K,borderColor:K,borderTopColor:K,borderRightColor:K,borderBottomColor:K,borderLeftColor:K,filter:mu,WebkitFilter:mu,mask:hu,WebkitMask:hu},yu=e=>vu[e],bu=new Set([mu,hu]);function xu(e,t){let n=yu(e);return bu.has(n)||(n=Ss),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Su=new Set([`auto`,`none`,`0`]);function Cu(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Su.has(t)&&hs(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=xu(n,i)}var wu=class extends Gc{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(),Lo(r))){let i=Tl(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!zl.has(n)||e.length!==2)return;let[r,i]=e,a=lu(r),o=lu(i);if(zo(r)!==zo(i)&&Lc[n]){this.needsMeasurement=!0;return}if(a!==o)if(Nc(a)&&Nc(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Lc[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||uu(e[t]))&&n.push(t);n.length&&Cu(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=Lc[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]=Lc[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 Tu(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 Eu=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Du(e){return Ha(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Ou,cancel:ku}=Eo(queueMicrotask,!1),Au={x:!1,y:!1};function ju(){return Au.x||Au.y}function Mu(e){return e===`x`||e===`y`?Au[e]?null:(Au[e]=!0,()=>{Au[e]=!1}):Au.x||Au.y?null:(Au.x=Au.y=!0,()=>{Au.x=Au.y=!1})}function Nu(e,t){let n=Tu(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Pu(e){return!(e.pointerType===`touch`||ju())}function Fu(e,t,n={}){let[r,i,a]=Nu(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(!Pu(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 Iu=(e,t)=>t?e===t?!0:Iu(e,t.parentElement):!1,Lu=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Ru=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function zu(e){return Ru.has(e.tagName)||e.isContentEditable===!0}var Bu=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Vu(e){return Bu.has(e.tagName)||e.isContentEditable===!0}var Hu=new WeakSet;function Uu(e){return t=>{t.key===`Enter`&&e(t)}}function Wu(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Gu=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Uu(()=>{if(Hu.has(n))return;Wu(n,`down`);let e=Uu(()=>{Wu(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Wu(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Ku(e){return Lu(e)&&!ju()}var qu=new WeakSet;function Ju(e,t,n={}){let[r,i,a]=Nu(e,n),o=e=>{let r=e.currentTarget;if(!Ku(e)||qu.has(e))return;Hu.add(r),n.stopPropagation&&qu.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),Hu.has(r)&&Hu.delete(r),Ku(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||Iu(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),Du(e)&&(e.addEventListener(`focus`,e=>Gu(e,i)),!zu(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Yu(e){return Ha(e)&&`ownerSVGElement`in e}var Xu=new WeakMap,Zu,Qu=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Yu(r)&&`getBBox`in r?r.getBBox()[t]:r[n],$u=Qu(`inline`,`width`,`offsetWidth`),ed=Qu(`block`,`height`,`offsetHeight`);function td({target:e,borderBoxSize:t}){Xu.get(e)?.forEach(n=>{n(e,{get width(){return $u(e,t)},get height(){return ed(e,t)}})})}function nd(e){e.forEach(td)}function rd(){typeof ResizeObserver>`u`||(Zu=new ResizeObserver(nd))}function id(e,t){Zu||rd();let n=Tu(e);return n.forEach(e=>{let n=Xu.get(e);n||(n=new Set,Xu.set(e,n)),n.add(t),Zu?.observe(e)}),()=>{n.forEach(e=>{let n=Xu.get(e);n?.delete(t),n?.size||Zu?.unobserve(e)})}}var ad=new Set,od;function sd(){od=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ad.forEach(t=>t(e))},window.addEventListener(`resize`,od)}function cd(e){return ad.add(e),od||sd(),()=>{ad.delete(e),!ad.size&&typeof od==`function`&&(window.removeEventListener(`resize`,od),od=void 0)}}function ld(e,t){return typeof e==`function`?cd(e):id(e,t)}function ud(e){return Yu(e)&&e.tagName===`svg`}var dd=[...cu,K,Ss],fd=e=>dd.find(su(e)),pd=()=>({translate:0,scale:1,origin:0,originPoint:0}),md=()=>({x:pd(),y:pd()}),hd=()=>({min:0,max:0}),Y=()=>({x:hd(),y:hd()}),gd=new WeakMap;function _d(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function vd(e){return typeof e==`string`||Array.isArray(e)}var yd=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],bd=[`initial`,...yd];function xd(e){return _d(e.animate)||bd.some(t=>vd(e[t]))}function Sd(e){return!!(xd(e)||e.variants)}function Cd(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Yl(i))e.addValue(r,i);else if(Yl(a))e.addValue(r,Wl(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,Wl(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var wd={current:null},Td={current:!1},Ed=typeof window<`u`;function Dd(){if(Td.current=!0,Ed)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>wd.current=e.matches;e.addEventListener(`change`,t),t()}else wd.current=!1}var Od=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],kd={};function Ad(e){kd=e}function jd(){return kd}var Md=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=Gc,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=Mo.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,W.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=xd(t),this.isVariantNode=Sd(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&&Yl(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,gd.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:(Td.current||Dd(),this.shouldReduceMotion=wd.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(),Do(this.notifyUpdate),Do(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&&ml.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new il({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Xa(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Mc.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&W.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 kd){let t=kd[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):Y()}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<Od.length;t++){let n=Od[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=Cd(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=Wl(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`&&(Va(n)||Ua(n))?n=parseFloat(n):!fd(n)&&Ss.test(t)&&(n=xu(e,t)),this.setBaseTarget(e,Yl(n)?n.get():n)),Yl(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=Ll(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&&!Yl(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 Ya),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Ou.render(this.render)}},Nd=class extends Md{constructor(){super(...arguments),this.KeyframeResolver=wu}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;Yl(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Pd=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Fd({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Id({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Ld(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 Rd(e){return e===void 0||e===1}function zd({scale:e,scaleX:t,scaleY:n}){return!Rd(e)||!Rd(t)||!Rd(n)}function Bd(e){return zd(e)||Vd(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Vd(e){return Hd(e.x)||Hd(e.y)}function Hd(e){return e&&e!==`0%`}function Ud(e,t,n){return n+t*(e-n)}function Wd(e,t,n,r,i){return i!==void 0&&(e=Ud(e,i,r)),Ud(e,n,r)+t}function Gd(e,t=0,n=1,r,i){e.min=Wd(e.min,t,n,r,i),e.max=Wd(e.max,t,n,r,i)}function Kd(e,{x:t,y:n}){Gd(e.x,t.translate,t.scale,t.originPoint),Gd(e.y,n.translate,n.scale,n.originPoint)}var qd=.999999999999,Jd=1.0000000000001;function Yd(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&&(Xd(e.x,-a.scroll.offset.x),Xd(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Kd(e,o)),r&&Bd(a.latestValues)&&$d(e,a.latestValues,a.layout?.layoutBox))}t.x<Jd&&t.x>qd&&(t.x=1),t.y<Jd&&t.y>qd&&(t.y=1)}function Xd(e,t){e.min+=t,e.max+=t}function Zd(e,t,n,r,i=.5){Gd(e,t,n,q(e.min,e.max,i),r)}function Qd(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function $d(e,t,n){let r=n??e;Zd(e.x,Qd(t.x,r.x),t.scaleX,t.scale,t.originX),Zd(e.y,Qd(t.y,r.y),t.scaleY,t.scale,t.originY)}function ef(e,t){return Fd(Ld(e.getBoundingClientRect(),t))}function tf(e,t,n){let r=ef(e,n),{scroll:i}=t;return i&&(Xd(r.x,i.offset.x),Xd(r.y,i.offset.y)),r}var nf={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},rf=jc.length;function af(e,t,n){let r=``,i=!0;for(let a=0;a<rf;a++){let o=jc[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=Eu(s,_u[o]);if(!c){i=!1;let t=nf[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function of(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(Mc.has(e)){o=!0;continue}else if(Fo(e)){i[e]=n;continue}else{let t=Eu(n,_u[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=af(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 sf(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 cf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var lf={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(G.test(e))e=parseFloat(e);else return e;return`${cf(e,t.target.x)}% ${cf(e,t.target.y)}%`}},uf={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Ss.parse(e);if(i.length>5)return r;let a=Ss.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=q(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},df={borderRadius:{...lf,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:lf,borderTopRightRadius:lf,borderBottomLeftRadius:lf,borderBottomRightRadius:lf,boxShadow:uf};function ff(e,{layout:t,layoutId:n}){return Mc.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!df[e]||e===`opacity`)}function pf(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Yl(r[t])||i&&Yl(i[t])||ff(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function mf(e){return window.getComputedStyle(e)}var hf=class extends Nd{constructor(){super(...arguments),this.type=`html`,this.renderInstance=sf}readValueFromInstance(e,t){if(Mc.has(t))return this.projection?.isProjecting?Dc(t):kc(e,t);{let n=mf(e),r=(Fo(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ef(e,t)}build(e,t,n){of(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return pf(e,t,n)}},gf={offset:`stroke-dashoffset`,array:`stroke-dasharray`},_f={offset:`strokeDashoffset`,array:`strokeDasharray`};function vf(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?gf:_f;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var yf=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function bf(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(of(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 yf)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&&vf(d,i,a,o,!1)}var xf=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`]),Sf=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Cf(e,t,n,r){sf(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(xf.has(n)?n:Ql(n),t.attrs[n])}function wf(e,t,n){let r=pf(e,t,n);for(let n in e)if(Yl(e[n])||Yl(t[n])){let t=jc.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Tf=class extends Nd{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Mc.has(t)){let e=yu(t);return e&&e.default||0}return t=xf.has(t)?t:Ql(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return wf(e,t,n)}build(e,t,n){bf(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Cf(e,t,n,r)}mount(e){this.isSVGTag=Sf(e.tagName),super.mount(e)}},Ef=bd.length;function Df(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Df(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Ef;n++){let r=bd[n],i=e.props[r];(vd(i)||i===!1)&&(t[r]=i)}return t}function Of(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 kf=[...yd].reverse(),Af=yd.length;function jf(e){return t=>Promise.all(t.map(({animation:t,options:n})=>au(e,t,n)))}function Mf(e){let t=jf(e),n=Ff(),r=!0,i=!1,a=t=>(n,r)=>{let i=Rl(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=Df(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Af;t++){let p=kf[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=vd(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||_d(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Nf(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=Gl(t)&&Gl(n)?!Of(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=Rl(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Sl(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Rl(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=Ff(),i=!0}}}function Nf(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Of(t,e):!1}function Pf(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ff(){return{animate:Pf(!0),whileInView:Pf(),whileHover:Pf(),whileTap:Pf(),whileDrag:Pf(),whileFocus:Pf(),exit:Pf()}}function If(e,t){e.min=t.min,e.max=t.max}function Lf(e,t){If(e.x,t.x),If(e.y,t.y)}function Rf(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var zf=1e-4,Bf=1-zf,Vf=1+zf,Hf=.01,Uf=0-Hf,Wf=0+Hf;function Gf(e){return e.max-e.min}function Kf(e,t,n){return Math.abs(e-t)<=n}function qf(e,t,n,r=.5){e.origin=r,e.originPoint=q(t.min,t.max,e.origin),e.scale=Gf(n)/Gf(t),e.translate=q(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Bf&&e.scale<=Vf||isNaN(e.scale))&&(e.scale=1),(e.translate>=Uf&&e.translate<=Wf||isNaN(e.translate))&&(e.translate=0)}function Jf(e,t,n,r){qf(e.x,t.x,n.x,r?r.originX:void 0),qf(e.y,t.y,n.y,r?r.originY:void 0)}function Yf(e,t,n,r=0){e.min=(r?q(n.min,n.max,r):n.min)+t.min,e.max=e.min+Gf(t)}function Xf(e,t,n,r){Yf(e.x,t.x,n.x,r?.x),Yf(e.y,t.y,n.y,r?.y)}function Zf(e,t,n,r=0){let i=r?q(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Gf(t)}function Qf(e,t,n,r){Zf(e.x,t.x,n.x,r?.x),Zf(e.y,t.y,n.y,r?.y)}function $f(e,t,n,r,i){return e-=t,e=Ud(e,1/n,r),i!==void 0&&(e=Ud(e,1/i,r)),e}function ep(e,t=0,n=1,r=.5,i,a=e,o=e){if(ns.test(t)&&(t=parseFloat(t),t=q(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=q(a.min,a.max,r);e===a&&(s-=t),e.min=$f(e.min,t,n,s,i),e.max=$f(e.max,t,n,s,i)}function tp(e,t,[n,r,i],a,o){ep(e,t[n],t[r],t[i],t.scale,a,o)}var np=[`x`,`scaleX`,`originX`],rp=[`y`,`scaleY`,`originY`];function ip(e,t,n,r){tp(e.x,t,np,n?n.x:void 0,r?r.x:void 0),tp(e.y,t,rp,n?n.y:void 0,r?r.y:void 0)}function ap(e){return e.translate===0&&e.scale===1}function op(e){return ap(e.x)&&ap(e.y)}function sp(e,t){return e.min===t.min&&e.max===t.max}function cp(e,t){return sp(e.x,t.x)&&sp(e.y,t.y)}function lp(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function up(e,t){return lp(e.x,t.x)&&lp(e.y,t.y)}function dp(e){return Gf(e.x)/Gf(e.y)}function fp(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function pp(e){return[e(`x`),e(`y`)]}function mp(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 hp=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],gp=hp.length,_p=e=>typeof e==`string`?parseFloat(e):e,vp=e=>typeof e==`number`||G.test(e);function yp(e,t,n,r,i,a){i?(e.opacity=q(0,n.opacity??1,xp(r)),e.opacityExit=q(t.opacity??1,0,Sp(r))):a&&(e.opacity=q(t.opacity??1,n.opacity??1,r));for(let i=0;i<gp;i++){let a=hp[i],o=bp(t,a),s=bp(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||vp(o)===vp(s)?(e[a]=Math.max(q(_p(o),_p(s),r),0),(ns.test(s)||ns.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=q(t.rotate||0,n.rotate||0,r))}function bp(e,t){return e[t]===void 0?e.borderRadius:e[t]}var xp=Cp(0,.5,fo),Sp=Cp(.5,.95,Ga);function Cp(e,t,n){return r=>r<e?0:r>t?1:n(Ja(e,t,r))}function wp(e,t,n){let r=Yl(e)?e:Wl(e);return r.start(Fl(``,r,t,n)),r.animation}function Tp(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Ep=(e,t)=>e.depth-t.depth,Dp=class{constructor(){this.children=[],this.isDirty=!1}add(e){Ia(this.children,e),this.isDirty=!0}remove(e){La(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ep),this.isDirty=!1,this.children.forEach(e)}};function Op(e,t){let n=Mo.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Do(r),e(a-t))};return W.setup(r,!0),()=>Do(r)}function kp(e){return Yl(e)?e.get():e}var Ap=class{constructor(){this.members=[]}add(e){Ia(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&&(La(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(La(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)}},jp={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Mp={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Np=[``,`X`,`Y`,`Z`],Pp=1e3,Fp=0;function Ip(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Lp(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=eu(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,W,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Lp(r)}function Rp({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Fp++,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,Co.value&&(Mp.nodes=Mp.calculatedTargetDeltas=Mp.calculatedProjections=0),this.nodes.forEach(Vp),this.nodes.forEach(Xp),this.nodes.forEach(Zp),this.nodes.forEach(Hp),Co.addProjectionMetrics&&Co.addProjectionMetrics(Mp)},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 Dp)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ya),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=Yu(t)&&!ud(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;W.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Op(i,250),jp.hasAnimatedSinceResize&&(jp.hasAnimatedSinceResize=!1,this.nodes.forEach(Yp)))})}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()||im,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!up(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={...Ml(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||Yp(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(),Do(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(Qp),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&&Lp(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(Gp),this.nodes.forEach(Wp);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Kp);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(qp),this.nodes.forEach(Jp),this.nodes.forEach(zp),this.nodes.forEach(Bp)):this.nodes.forEach(Kp),this.clearAllSnapshots();let e=Mo.now();Oo.delta=Ra(0,1e3/60,e-Oo.timestamp),Oo.timestamp=e,Oo.isProcessing=!0,ko.update.process(Oo),ko.preRender.process(Oo),ko.render.process(Oo),Oo.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ou.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Up),this.sharedNodes.forEach($p)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,W.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){W.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Gf(this.snapshot.measuredBox.x)&&!Gf(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||=Y(),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&&!op(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Bd(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)),cm(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Y();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(um))){let{scroll:e}=this.root;e&&(Xd(t.x,e.offset.x),Xd(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Y();if(Lf(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&&Lf(t,e),Xd(t.x,i.offset.x),Xd(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||Y();Lf(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&&(Xd(r.x,-n.scroll.offset.x),Xd(r.y,-n.scroll.offset.y)),Bd(n.latestValues)&&$d(r,n.latestValues,n.layout?.layoutBox)}return Bd(this.latestValues)&&$d(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=Y();Lf(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Bd(n.latestValues))continue;let r;n.instance&&(zd(n.latestValues)&&n.updateSnapshot(),r=Y(),Lf(r,n.measurePageBox())),ip(t,n.latestValues,n.snapshot?.layoutBox,r)}return Bd(this.latestValues)&&ip(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!==Oo.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=Oo.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=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Xf(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Lf(this.target,this.layout.layoutBox),Kd(this.target,this.targetDelta)):Lf(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),Co.value&&Mp.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||zd(this.parent.latestValues)||Vd(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=Y(),this.relativeTargetOrigin=Y(),Qf(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Lf(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===Oo.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;Lf(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Yd(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=Y());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Rf(this.prevProjectionDelta.x,this.projectionDelta.x),Rf(this.prevProjectionDelta.y,this.projectionDelta.y)),Jf(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!fp(this.projectionDelta.x,this.prevProjectionDelta.x)||!fp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Co.value&&Mp.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=md(),this.projectionDelta=md(),this.projectionDeltaWithTransform=md()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=md();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=Y(),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(rm));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;em(a.x,e.x,n),em(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qf(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),nm(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&cp(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=Y(),Lf(d,this.relativeTarget)),s&&(this.animationValues=i,yp(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&&=(Do(this.pendingAnimation),void 0),this.pendingAnimation=W.update(()=>{jp.hasAnimatedSinceResize=!0,No.layout++,this.motionValue||=Wl(0),this.motionValue.jump(0,!1),this.currentAnimation=wp(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{No.layout--},onComplete:()=>{No.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(Pp),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&&lm(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Y();let t=Gf(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Gf(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Lf(t,n),$d(t,i),Jf(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ap),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&&Ip(`z`,e,r,this.animationValues);for(let t=0;t<Np.length;t++)Ip(`rotate${Np[t]}`,e,r,this.animationValues),Ip(`skew${Np[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=kp(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=kp(t?.pointerEvents)||``),this.hasProjected&&!Bd(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=mp(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 df){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=df[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?kp(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Wp),this.root.sharedNodes.clear()}}}function zp(e){e.updateLayout()}function Bp(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`)pp(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Gf(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;If(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else lm(i,t.layoutBox,n)&&pp(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Gf(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=md();Jf(o,n,t.layoutBox);let s=md();a?Jf(s,e.applyTransform(r,!0),t.measuredBox):Jf(s,n,t.layoutBox);let c=!op(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=Y();Qf(s,t.layoutBox,i.layoutBox,o);let c=Y();Qf(c,n,a.layoutBox,o),up(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 Vp(e){Co.value&&Mp.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 Hp(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Up(e){e.clearSnapshot()}function Wp(e){e.clearMeasurements()}function Gp(e){e.isLayoutDirty=!0,e.updateLayout()}function Kp(e){e.isLayoutDirty=!1}function qp(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Jp(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Yp(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Xp(e){e.resolveTargetDelta()}function Zp(e){e.calcProjection()}function Qp(e){e.resetSkewAndRotation()}function $p(e){e.removeLeadSnapshot()}function em(e,t,n){e.translate=q(t.translate,0,n),e.scale=q(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function tm(e,t,n,r){e.min=q(t.min,n.min,r),e.max=q(t.max,n.max,r)}function nm(e,t,n,r){tm(e.x,t.x,n.x,r),tm(e.y,t.y,n.y,r)}function rm(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var im={duration:.45,ease:[.4,0,.1,1]},am=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),om=am(`applewebkit/`)&&!am(`chrome/`)?Math.round:Ga;function sm(e){e.min=om(e.min),e.max=om(e.max)}function cm(e){sm(e.x),sm(e.y)}function lm(e,t,n){return e===`position`||e===`preserve-aspect`&&!Kf(dp(t),dp(n),.2)}function um(e){return e!==e.root&&e.scroll?.wasRoot}var dm=Rp({attachResizeListener:(e,t)=>Tp(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),fm={current:void 0},pm=Rp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!fm.current){let e=new dm({});e.mount(window),e.setOptions({layoutScroll:!0}),fm.current=e}return fm.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),mm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e===`__proto__`}e.isUnsafeProperty=t})),hm=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})),gm=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})),_m=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})),vm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=_m(),n=gm();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})),ym=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=mm(),n=hm(),r=gm(),i=vm();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})),bm=n(((e,t)=>{t.exports=ym().get})),xm=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})),Sm=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})),Cm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e}e.identity=t})),wm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Number.isSafeInteger(e)&&e>=0}e.isLength=t})),Tm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=wm();function n(e){return e!=null&&typeof e!=`function`&&t.isLength(e.length)}e.isArrayLike=n})),Em=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`object`&&!!e}e.isObjectLike=t})),Dm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Tm(),n=Em();function r(e){return n.isObjectLike(e)&&t.isArrayLike(e)}e.isArrayLikeObject=r})),Om=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ym();function n(e){return function(n){return t.get(n,e)}}e.property=n})),km=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}e.isObject=t})),Am=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null||typeof e!=`object`&&typeof e!=`function`}e.isPrimitive=t})),jm=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})),Mm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=km(),n=Am(),r=jm();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})),Nm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Mm();function n(e,n){return t.isMatchWith(e,n,()=>void 0)}e.isMatch=n})),Pm=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})),Fm=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})),Im=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]`})),Lm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}e.isTypedArray=t})),Rm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Pm(),n=Fm(),r=Im(),i=Am(),a=Lm();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})),zm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Rm();function n(e){return t.cloneDeepWithImpl(e,void 0,e,new Map,void 0)}e.cloneDeep=n})),Bm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Nm(),n=zm();function r(e){return e=n.cloneDeep(e),n=>t.isMatch(n,e)}e.matches=r})),Vm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Rm(),n=Fm(),r=Im();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})),Hm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Vm();function n(e){return t.cloneDeepWith(e)}e.cloneDeep=n})),Um=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})),Wm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Fm();function n(e){return typeof e==`object`&&!!e&&t.getTag(e)===`[object Arguments]`}e.isArguments=n})),Gm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=hm(),n=Um(),r=Wm(),i=vm();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})),Km=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Nm(),n=gm(),r=Hm(),i=ym(),a=Gm();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})),qm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Cm(),n=Om(),r=Bm(),i=Km();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})),Jm=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=xm(),n=Sm(),r=Cm(),i=Dm(),a=qm();function o(e,o=r.identity){return i.isArrayLikeObject(e)?t.uniqBy(Array.from(e),n.ary(a.iteratee(o),1)):[]}e.uniqBy=o})),Ym=n(((e,t)=>{t.exports=Jm().uniqBy})),Xm=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})),Zm=n(((e,t)=>{t.exports=Xm()})),Qm=n((e=>{var t=i(),n=Zm();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}})),$m=n(((e,t)=>{t.exports=Qm()}));function eh(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function th(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function nh(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 rh=e=>Array.isArray(e)?e:[e];function ih(e){let t=Array.isArray(e[0])?e[0]:e;return nh(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function ah(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var oh=class{constructor(e){this.value=e}deref(){return this.value}},sh=typeof WeakRef<`u`?WeakRef:oh,ch=0,lh=1;function uh(){return{s:ch,v:void 0,o:null,p:null}}function dh(e,t={}){let n=uh(),{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=uh(),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=uh(),e.set(n,t)):t=r}}let s=t,c;if(t.s===lh)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 sh(c):c}return s.s=lh,s.v=c,c}return o.clearCache=()=>{n=uh(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function fh(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()),eh(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=dh,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=rh(c),p=rh(u),m=ih(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=ah(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 ph=fh(dh),mh=Object.assign((e,t=ph)=>{th(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:()=>mh}),hh=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}})),gh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`||e instanceof Symbol}e.isSymbol=t})),_h=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=gh(),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})),vh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=hh(),n=_h(),r=vm();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})),yh=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})),bh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Um(),n=Tm(),r=km(),i=jm();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})),xh=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=vh(),n=yh(),r=bh();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})),Sh=n(((e,t)=>{t.exports=xh().sortBy}));function Ch(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 wh=typeof Symbol==`function`&&Symbol.observable||`@@observable`,Th=()=>Math.random().toString(36).substring(7).split(``).join(`.`),Eh={INIT:`@@redux/INIT${Th()}`,REPLACE:`@@redux/REPLACE${Th()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Th()}`};function Dh(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 Oh(e,t,n){if(typeof e!=`function`)throw Error(Ch(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(Ch(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(Ch(1));return n(Oh)(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(Ch(3));return i}function d(e){if(typeof e!=`function`)throw Error(Ch(4));if(c)throw Error(Ch(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(Ch(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!Dh(e))throw Error(Ch(7));if(e.type===void 0)throw Error(Ch(8));if(typeof e.type!=`string`)throw Error(Ch(17));if(c)throw Error(Ch(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(Ch(10));r=e,f({type:Eh.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(Ch(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[wh](){return this}}}return f({type:Eh.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[wh]:m}}function kh(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:Eh.INIT})===void 0)throw Error(Ch(12));if(n(void 0,{type:Eh.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(Ch(13))})}function Ah(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{kh(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(Ch(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function jh(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function Mh(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(Ch(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=jh(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function Nh(e){return Dh(e)&&`type`in e&&typeof e.type==`string`}var Ph=Symbol.for(`immer-nothing`),Fh=Symbol.for(`immer-draftable`),Ih=Symbol.for(`immer-state`);function Lh(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Rh=Object,zh=Rh.getPrototypeOf,Bh=`constructor`,Vh=`prototype`,Hh=`configurable`,Uh=`enumerable`,Wh=`writable`,Gh=`value`,Kh=e=>!!e&&!!e[Ih];function qh(e){return e?Xh(e)||rg(e)||!!e[Fh]||!!e[Bh]?.[Fh]||ig(e)||ag(e):!1}var Jh=Rh[Vh][Bh].toString(),Yh=new WeakMap;function Xh(e){if(!e||!og(e))return!1;let t=zh(e);if(t===null||t===Rh[Vh])return!0;let n=Rh.hasOwnProperty.call(t,Bh)&&t[Bh];if(n===Object)return!0;if(!sg(n))return!1;let r=Yh.get(n);return r===void 0&&(r=Function.toString.call(n),Yh.set(n,r)),r===Jh}function Zh(e,t,n=!0){Qh(e)===0?(n?Reflect.ownKeys(e):Rh.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Qh(e){let t=e[Ih];return t?t.type_:rg(e)?1:ig(e)?2:ag(e)?3:0}var $h=(e,t,n=Qh(e))=>n===2?e.has(t):Rh[Vh].hasOwnProperty.call(e,t),eg=(e,t,n=Qh(e))=>n===2?e.get(t):e[t],tg=(e,t,n,r=Qh(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function ng(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var rg=Array.isArray,ig=e=>e instanceof Map,ag=e=>e instanceof Set,og=e=>typeof e==`object`,sg=e=>typeof e==`function`,cg=e=>typeof e==`boolean`;function lg(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var ug=e=>e.copy_||e.base_,dg=e=>e.modified_?e.copy_:e.base_;function fg(e,t){if(ig(e))return new Map(e);if(ag(e))return new Set(e);if(rg(e))return Array[Vh].slice.call(e);let n=Xh(e);if(t===!0||t===`class_only`&&!n){let t=Rh.getOwnPropertyDescriptors(e);delete t[Ih];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Wh]===!1&&(a[Wh]=!0,a[Hh]=!0),(a.get||a.set)&&(t[i]={[Hh]:!0,[Wh]:!0,[Uh]:a[Uh],[Gh]:e[i]})}return Rh.create(zh(e),t)}else{let t=zh(e);if(t!==null&&n)return{...e};let r=Rh.create(t);return Rh.assign(r,e)}}function pg(e,t=!1){return gg(e)||Kh(e)||!qh(e)?e:(Qh(e)>1&&Rh.defineProperties(e,{set:hg,add:hg,clear:hg,delete:hg}),Rh.freeze(e),t&&Zh(e,(e,t)=>{pg(t,!0)},!1),e)}function mg(){Lh(2)}var hg={[Gh]:mg};function gg(e){return e===null||!og(e)?!0:Rh.isFrozen(e)}var _g=`MapSet`,vg=`Patches`,yg=`ArrayMethods`,bg={};function xg(e){let t=bg[e];return t||Lh(0,e),t}var Sg=e=>!!bg[e],Cg,wg=()=>Cg,Tg=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Sg(_g)?xg(_g):void 0,arrayMethodsPlugin_:Sg(yg)?xg(yg):void 0});function Eg(e,t){t&&(e.patchPlugin_=xg(vg),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Dg(e){Og(e),e.drafts_.forEach(Ag),e.drafts_=null}function Og(e){e===Cg&&(Cg=e.parent_)}var kg=e=>Cg=Tg(Cg,e);function Ag(e){let t=e[Ih];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function jg(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[Ih].modified_&&(Dg(t),Lh(4)),qh(e)&&(e=Mg(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[Ih].base_,e,t)}else e=Mg(t,n);return Ng(t,e,!0),Dg(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Ph?void 0:e}function Mg(e,t){if(gg(t))return t;let n=t[Ih];if(!n)return Vg(t,e.handledSet_,e);if(!Fg(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);zg(n,e)}return n.copy_}function Ng(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&pg(t,n)}function Pg(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Fg=(e,t)=>e.scope_===t,Ig=[];function Lg(e,t,n,r){let i=ug(e),a=e.type_;if(r!==void 0&&eg(i,r,a)===t){tg(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Zh(i,(e,n)=>{if(Kh(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??Ig;for(let e of o)tg(i,e,n,a)}function Rg(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!Fg(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=dg(i);Lg(e,i.draft_??i,a,n),zg(i,r)})}function zg(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)}Pg(e)}}function Bg(e,t,n){let{scope_:r}=e;if(Kh(n)){let i=n[Ih];Fg(i,r)&&i.callbacks_.push(function(){Yg(e),Lg(e,n,dg(i),t)})}else qh(n)&&e.callbacks_.push(function(){let i=ug(e);e.type_===3?i.has(n)&&Vg(n,r.handledSet_,r):eg(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Vg(eg(e.copy_,t,e.type_),r.handledSet_,r)})}function Vg(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||Kh(e)||t.has(e)||!qh(e)||gg(e)?e:(t.add(e),Zh(e,(r,i)=>{if(Kh(i)){let t=i[Ih];Fg(t,n)&&(tg(e,r,dg(t),e.type_),Pg(t))}else qh(i)&&Vg(i,t,n)}),e)}function Hg(e,t){let n=rg(e),r={type_:+!!n,scope_:t?t.scope_:wg(),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=Ug;n&&(i=[r],a=Wg);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var Ug={get(e,t){if(t===Ih)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=ug(e);if(!$h(i,t,e.type_))return Kg(e,i,t);let a=i[t];if(e.finalized_||!qh(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&lg(t))return a;if(a===Gg(e.base_,t)){Yg(e);let n=e.type_===1?+t:t,r=Zg(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in ug(e)},ownKeys(e){return Reflect.ownKeys(ug(e))},set(e,t,n){let r=qg(ug(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=Gg(ug(e),t),i=r?.[Ih];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(ng(n,r)&&(n!==void 0||$h(e.base_,t,e.type_)))return!0;Yg(e),Jg(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),Bg(e,t,n),!0)},deleteProperty(e,t){return Yg(e),Gg(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Jg(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=ug(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Wh]:!0,[Hh]:e.type_!==1||t!==`length`,[Uh]:r[Uh],[Gh]:n[t]}},defineProperty(){Lh(11)},getPrototypeOf(e){return zh(e.base_)},setPrototypeOf(){Lh(12)}},Wg={};for(let e in Ug){let t=Ug[e];Wg[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}Wg.deleteProperty=function(e,t){return Wg.set.call(this,e,t,void 0)},Wg.set=function(e,t,n){return Ug.set.call(this,e[0],t,n,e[0])};function Gg(e,t){let n=e[Ih];return(n?ug(n):e)[t]}function Kg(e,t,n){let r=qg(t,n);return r?Gh in r?r[Gh]:r.get?.call(e.draft_):void 0}function qg(e,t){if(!(t in e))return;let n=zh(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=zh(n)}}function Jg(e){e.modified_||(e.modified_=!0,e.parent_&&Jg(e.parent_))}function Yg(e){e.copy_||=(e.assigned_=new Map,fg(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Xg=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(sg(e)&&!sg(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}sg(t)||Lh(6),n!==void 0&&!sg(n)&&Lh(7);let r;if(qh(e)){let i=kg(this),a=Zg(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?Dg(i):Og(i)}return Eg(i,n),jg(r,i)}else if(!e||!og(e)){if(r=t(e),r===void 0&&(r=e),r===Ph&&(r=void 0),this.autoFreeze_&&pg(r,!0),n){let t=[],i=[];xg(vg).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else Lh(1,e)},this.produceWithPatches=(e,t)=>{if(sg(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]},cg(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),cg(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),cg(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){qh(e)||Lh(8),Kh(e)&&(e=Qg(e));let t=kg(this),n=Zg(t,e,void 0);return n[Ih].isManual_=!0,Og(t),n}finishDraft(e,t){let n=e&&e[Ih];(!n||!n.isManual_)&&Lh(9);let{scope_:r}=n;return Eg(r,t),jg(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=xg(vg).applyPatches_;return Kh(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Zg(e,t,n,r){let[i,a]=ig(t)?xg(_g).proxyMap_(t,n):ag(t)?xg(_g).proxySet_(t,n):Hg(t,n);return(n?.scope_??wg()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?Rg(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 Qg(e){return Kh(e)||Lh(10,e),$g(e)}function $g(e){if(!qh(e)||gg(e))return e;let t=e[Ih],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=fg(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=fg(e,!0);return Zh(n,(e,t)=>{tg(n,e,$g(t))},r),t&&(t.finalized_=!1),n}var e_=new Xg().produce;function t_(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var n_=t_(),r_=t_,i_=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?jh:jh.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function a_(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(pv(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=>Nh(t)&&t.type===e,n}var o_=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 s_(e){return qh(e)?e_(e,()=>{}):e}function c_(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function l_(e){return typeof e==`boolean`}var u_=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new o_;return t&&(l_(t)?a.push(n_):a.push(r_(t.extraArgument))),a},d_=`RTK_autoBatch`,f_=()=>e=>({payload:e,meta:{[d_]:!0}}),p_=e=>t=>{setTimeout(t,e)},m_=(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:p_(10):e.type===`callback`?e.queueNotification:p_(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?.[d_],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},h_=e=>function(t){let{autoBatch:n=!0}=t??{},r=new o_(e);return n&&r.push(m_(typeof n==`object`?n:void 0)),r};function g_(e){let t=u_(),{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(Dh(n))c=Ah(n);else throw Error(pv(1));let l;l=typeof r==`function`?r(t):t();let u=jh;i&&(u=i_({trace:!1,...typeof i==`object`&&i}));let d=h_(Mh(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return Oh(c,o,p)}function __(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(pv(28));if(r in t)throw Error(pv(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 v_(e){return typeof e==`function`}function y_(e,t){let[n,r,i]=__(t),a;if(v_(e))a=()=>s_(e());else{let t=s_(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(Kh(e)){let r=n(e,t);return r===void 0?e:r}else if(qh(e))return e_(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 b_=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,x_=(e=21)=>{let t=``,n=e;for(;n--;)t+=b_[Math.random()*64|0];return t},S_=Symbol.for(`rtk-slice-createasyncthunk`);function C_(e,t){return`${e}/${t}`}function w_({creators:e}={}){let t=e?.asyncThunk?.[S_];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(pv(11));let i=(typeof e.reducers==`function`?e.reducers(D_()):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(pv(12));if(n in o.sliceCaseReducersByType)throw Error(pv(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:C_(n,r),createNotation:typeof e.reducers==`function`};k_(a)?j_(o,a,s,t):O_(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?__(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return y_(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=c_(d,r,m)),i}function i(t=l){return c_(c_(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=T_(a,t,()=>c_(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 T_(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 E_=w_();function D_(){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 O_({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!A_(r))throw Error(pv(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?a_(e,o):a_(e))}function k_(e){return e._reducerDefinitionType===`asyncThunk`}function A_(e){return e._reducerDefinitionType===`reducerWithPrepare`}function j_({type:e,reducerName:t},n,r,i){if(!i)throw Error(pv(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||M_,pending:s||M_,rejected:c||M_,settled:l||M_})}function M_(){}var N_=`task`,P_=`listener`,F_=`completed`,I_=`cancelled`,L_=`task-${I_}`,R_=`task-${F_}`,z_=`${P_}-${I_}`,B_=`${P_}-${F_}`,V_=class{constructor(e){this.code=e,this.message=`${N_} ${I_} (reason: ${e})`}name=`TaskAbortError`;message},H_=(e,t)=>{if(typeof e!=`function`)throw TypeError(pv(32))},U_=()=>{},W_=(e,t=U_)=>(e.catch(t),e),G_=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),K_=e=>{if(e.aborted)throw new V_(e.reason)};function q_(e,t){let n=U_;return new Promise((r,i)=>{let a=()=>i(new V_(e.reason));if(e.aborted){a();return}n=G_(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=U_})}var J_=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof V_?`cancelled`:`rejected`,error:e}}finally{t?.()}},Y_=e=>t=>W_(q_(e,t).then(t=>(K_(e),t))),X_=e=>{let t=Y_(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:Z_}=Object,Q_={},$_=`listenerMiddleware`,ev=(e,t)=>{let n=t=>G_(e,()=>t.abort(e.reason));return(r,i)=>{H_(r,`taskExecutor`);let a=new AbortController;n(a);let o=J_(async()=>{K_(e),K_(a.signal);let t=await r({pause:Y_(a.signal),delay:X_(a.signal),signal:a.signal});return K_(a.signal),t},()=>a.abort(R_));return i?.autoJoin&&t.push(o.catch(U_)),{result:Y_(e)(o),cancel(){a.abort(L_)}}}},tv=(e,t)=>{let n=async(n,r)=>{K_(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 q_(t,Promise.race(a));return K_(t),e}finally{i()}};return(e,t)=>W_(n(e,t))},nv=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=a_(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(pv(21));return H_(a,`options.listener`),{predicate:i,type:t,effect:a}},rv=Z_(e=>{let{type:t,predicate:n,effect:r}=nv(e);return{id:x_(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(pv(22))}}},{withTypes:()=>rv}),iv=(e,t)=>{let{type:n,effect:r,predicate:i}=nv(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},av=e=>{e.pending.forEach(e=>{e.abort(z_)})},ov=(e,t)=>()=>{for(let e of t.keys())av(e);e.clear()},sv=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},cv=Z_(a_(`${$_}/add`),{withTypes:()=>cv}),lv=a_(`${$_}/removeAll`),uv=Z_(a_(`${$_}/remove`),{withTypes:()=>uv}),dv=(...e)=>{console.error(`${$_}/error`,...e)},fv=(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=dv}=e;H_(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&av(e)}),c=e=>s(iv(t,e)??rv(e));Z_(c,{withTypes:()=>c});let l=e=>{let n=iv(t,e);return n&&(n.unsubscribe(),e.cancelActive&&av(n)),!!n};Z_(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=tv(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,Z_({},s,{getOriginalState:l,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:X_(u.signal),pause:Y_(u.signal),extra:a,signal:u.signal,fork:ev(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(z_),n.delete(e))})},cancel:()=>{u.abort(z_),e.pending.delete(u)},throwIfCancelled:()=>{K_(u.signal)}})))}catch(e){e instanceof V_||sv(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(B_),i(e),e.pending.delete(u)}},d=ov(t,n);return{middleware:e=>n=>r=>{if(!Nh(r))return n(r);if(cv.match(r))return c(r.payload);if(lv.match(r)){d();return}if(uv.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===Q_)throw Error(pv(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,sv(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=Q_}return s},startListening:c,stopListening:l,clearListeners:d}};function pv(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 mv=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})),hv=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=mv();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})),gv=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=hv();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})),_v=n(((e,t)=>{t.exports=gv().throttle})),vv=Symbol.for(`immer-nothing`),yv=Symbol.for(`immer-draftable`),bv=Symbol.for(`immer-state`);function xv(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Sv=Object.getPrototypeOf;function Cv(e){return!!e&&!!e[bv]}function wv(e){return e?Dv(e)||Array.isArray(e)||!!e[yv]||!!e.constructor?.[yv]||Nv(e)||Pv(e):!1}var Tv=Object.prototype.constructor.toString(),Ev=new WeakMap;function Dv(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=Ev.get(n);return r===void 0&&(r=Function.toString.call(n),Ev.set(n,r)),r===Tv}function Ov(e,t,n=!0){kv(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 kv(e){let t=e[bv];return t?t.type_:Array.isArray(e)?1:Nv(e)?2:Pv(e)?3:0}function Av(e,t){return kv(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function jv(e,t,n){let r=kv(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Mv(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function Nv(e){return e instanceof Map}function Pv(e){return e instanceof Set}function Fv(e){return e.copy_||e.base_}function Iv(e,t){if(Nv(e))return new Map(e);if(Pv(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=Dv(e);if(t===!0||t===`class_only`&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[bv];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(Sv(e),t)}else{let t=Sv(e);return t!==null&&n?{...e}:Object.assign(Object.create(t),e)}}function Lv(e,t=!1){return Bv(e)||Cv(e)||!wv(e)?e:(kv(e)>1&&Object.defineProperties(e,{set:zv,add:zv,clear:zv,delete:zv}),Object.freeze(e),t&&Object.values(e).forEach(e=>Lv(e,!0)),e)}function Rv(){xv(2)}var zv={value:Rv};function Bv(e){return typeof e!=`object`||!e?!0:Object.isFrozen(e)}var Vv={};function Hv(e){let t=Vv[e];return t||xv(0,e),t}var Uv;function Wv(){return Uv}function Gv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Kv(e,t){t&&(Hv(`Patches`),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function qv(e){Jv(e),e.drafts_.forEach(Xv),e.drafts_=null}function Jv(e){e===Uv&&(Uv=e.parent_)}function Yv(e){return Uv=Gv(Uv,e)}function Xv(e){let t=e[bv];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Zv(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return e!==void 0&&e!==n?(n[bv].modified_&&(qv(t),xv(4)),wv(e)&&(e=Qv(t,e),t.parent_||ey(t,e)),t.patches_&&Hv(`Patches`).generateReplacementPatches_(n[bv].base_,e,t.patches_,t.inversePatches_)):e=Qv(t,n,[]),qv(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===vv?void 0:e}function Qv(e,t,n){if(Bv(t))return t;let r=e.immer_.shouldUseStrictIteration(),i=t[bv];if(!i)return Ov(t,(r,a)=>$v(e,i,t,r,a,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return ey(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),Ov(a,(r,a)=>$v(e,i,t,r,a,n,o),r),ey(e,t,!1),n&&e.patches_&&Hv(`Patches`).generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function $v(e,t,n,r,i,a,o){if(i==null||typeof i!=`object`&&!o)return;let s=Bv(i);if(!(s&&!o)){if(Cv(i)){let o=Qv(e,i,a&&t&&t.type_!==3&&!Av(t.assigned_,r)?a.concat(r):void 0);if(jv(n,r,o),Cv(o))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(wv(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===i&&s)return;Qv(e,i),(!t||!t.scope_.parent_)&&typeof r!=`symbol`&&(Nv(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&ey(e,i)}}}function ey(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Lv(t,n)}function ty(e,t){let n=Array.isArray(e),r={type_:+!!n,scope_:t?t.scope_:Wv(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=r,a=ny;n&&(i=[r],a=ry);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,s}var ny={get(e,t){if(t===bv)return e;let n=Fv(e);if(!Av(n,t))return ay(e,n,t);let r=n[t];return e.finalized_||!wv(r)?r:r===iy(e.base_,t)?(cy(e),e.copy_[t]=uy(r,e)):r},has(e,t){return t in Fv(e)},ownKeys(e){return Reflect.ownKeys(Fv(e))},set(e,t,n){let r=oy(Fv(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=iy(Fv(e),t),i=r?.[bv];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Mv(n,r)&&(n!==void 0||Av(e.base_,t)))return!0;cy(e),sy(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 iy(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,cy(e),sy(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Fv(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty(){xv(11)},getPrototypeOf(e){return Sv(e.base_)},setPrototypeOf(){xv(12)}},ry={};Ov(ny,(e,t)=>{ry[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ry.deleteProperty=function(e,t){return ry.set.call(this,e,t,void 0)},ry.set=function(e,t,n){return ny.set.call(this,e[0],t,n,e[0])};function iy(e,t){let n=e[bv];return(n?Fv(n):e)[t]}function ay(e,t,n){let r=oy(t,n);return r?`value`in r?r.value:r.get?.call(e.draft_):void 0}function oy(e,t){if(!(t in e))return;let n=Sv(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Sv(n)}}function sy(e){e.modified_||(e.modified_=!0,e.parent_&&sy(e.parent_))}function cy(e){e.copy_||=Iv(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var ly=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`&&xv(6),n!==void 0&&typeof n!=`function`&&xv(7);let r;if(wv(e)){let i=Yv(this),a=uy(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?qv(i):Jv(i)}return Kv(i,n),Zv(r,i)}else if(!e||typeof e!=`object`){if(r=t(e),r===void 0&&(r=e),r===vv&&(r=void 0),this.autoFreeze_&&Lv(r,!0),n){let t=[],i=[];Hv(`Patches`).generateReplacementPatches_(e,r,t,i),n(t,i)}return r}else xv(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){wv(e)||xv(8),Cv(e)&&(e=dy(e));let t=Yv(this),n=uy(e,void 0);return n[bv].isManual_=!0,Jv(t),n}finishDraft(e,t){let n=e&&e[bv];(!n||!n.isManual_)&&xv(9);let{scope_:r}=n;return Kv(r,t),Zv(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=Hv(`Patches`).applyPatches_;return Cv(e)?r(e,t):this.produce(e,e=>r(e,t))}};function uy(e,t){let n=Nv(e)?Hv(`MapSet`).proxyMap_(e,t):Pv(e)?Hv(`MapSet`).proxySet_(e,t):ty(e,t);return(t?t.scope_:Wv()).drafts_.push(n),n}function dy(e){return Cv(e)||xv(10,e),fy(e)}function fy(e){if(!wv(e)||Bv(e))return e;let t=e[bv],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Iv(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Iv(e,!0);return Ov(n,(e,t)=>{jv(n,e,fy(t))},r),t&&(t.finalized_=!1),n}new ly().produce;function py(e){return e}var my=n((e=>{var t=i();t.useSyncExternalStore,t.useRef,t.useEffect,t.useMemo,t.useDebugValue})),hy=n(((e,t)=>{t.exports=my()})),gy=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=gh();function n(e){return t.isSymbol(e)?NaN:Number(e)}e.toNumber=n})),_y=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=gy();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})),vy=n((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=bh(),n=_y();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})),yy=n(((e,t)=>{t.exports=vy().range})),by=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,te=r.s==i.s?1:-1,A=r.d,j=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=j.length,T=A.length,g=new ee(te),_=g.d=[],u=0;j[u]==(A[u]||0);)++u;if(j[u]>(A[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,j=j[0],x++;(u<T||d)&&x--;u++)C=d*f+(A[u]||0),_[u]=C/j|0,d=C%j|0;else{for(d=f/(j[0]+1)|0,d>1&&(j=e(j,d),A=e(A,d),O=j.length,T=A.length),w=O,v=A.slice(0,O),y=v.length;y<O;)v[y++]=0;k=j.slice(),k.unshift(0),E=j[0],j[1]>=f/2&&++E;do d=0,c=t(j,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(j,d),h=m.length,y=v.length,c=t(m,v,h,y),c==1&&(d--,n(m,O<h?k:j,h))):(d==0&&(c=d=1),m=j.slice()),h=m.length,h<y&&m.unshift(0),n(v,m,y),c==-1&&(y=v.length,c=t(j,v,O,y),c<1&&(d++,n(v,O<y?k:j,y))),y=v.length):c===0&&(d++,v=[0]),_[u++]=d,c&&v[0]?v[y++]=A[w]||0:(v=[A[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 te(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=te,i.config=i.set=A,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 A(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=te(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 xy(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Sy(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Cy(e){let t,n,r;e.length===2?(t=e===xy||e===Sy?e:wy,n=e,r=e):(t=xy,n=(t,n)=>xy(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 wy(){return 0}function Ty(e){return e===null?NaN:+e}function*Ey(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 Dy=Cy(xy),Oy=Dy.right;Dy.left,Cy(Ty).center;var ky=class extends Map{constructor(e,t=Ny){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(Ay(this,e))}has(e){return super.has(Ay(this,e))}set(e,t){return super.set(jy(this,e),t)}delete(e){return super.delete(My(this,e))}};function Ay({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function jy({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function My({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Ny(e){return typeof e==`object`&&e?e.valueOf():e}function Py(e=xy){if(e===xy)return Fy;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 Fy(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:+(e>t))}var Iy=Math.sqrt(50),Ly=Math.sqrt(10),Ry=Math.sqrt(2);function zy(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=Iy?10:a>=Ly?5:a>=Ry?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?zy(e,t,n*2):[s,c,l]}function By(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?zy(t,e,n):zy(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 Vy(e,t,n){return t=+t,e=+e,n=+n,zy(e,t,n)[2]}function Hy(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?Vy(t,e,n):Vy(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function Uy(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 Wy(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 Gy(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?Fy:Py(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));Gy(e,t,u,d,i)}let a=e[t],o=n,s=r;for(Ky(e,n,t),i(e[r],a)>0&&Ky(e,n,r);o<s;){for(Ky(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[n],a)===0?Ky(e,n,s):(++s,Ky(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function Ky(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function qy(e,t,n){if(e=Float64Array.from(Ey(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return Wy(e);if(t>=1)return Uy(e);var r,i=(r-1)*t,a=Math.floor(i),o=Uy(Gy(e,a).subarray(0,a+1));return o+(Wy(e.subarray(a+1))-o)*(i-a)}}function Jy(e,t,n=Ty){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 Yy(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 Xy(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Zy(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 Qy=Symbol(`implicit`);function $y(){var e=new ky,t=[],n=[],r=Qy;function i(i){let a=e.get(i);if(a===void 0){if(r!==Qy)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 ky;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 $y(t,n).unknown(r)},Xy.apply(i,arguments),i}function eb(){var e=$y().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=Yy(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 eb(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},Xy.apply(d(),arguments)}function tb(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return tb(t())},e}function nb(){return tb(eb.apply(null,arguments).paddingInner(1))}function rb(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ib(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ab(){}var ob=.7,sb=1/ob,cb=`\\s*([+-]?\\d+)\\s*`,lb=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,ub=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,db=/^#([0-9a-f]{3,8})$/,fb=RegExp(`^rgb\\(${cb},${cb},${cb}\\)$`),pb=RegExp(`^rgb\\(${ub},${ub},${ub}\\)$`),mb=RegExp(`^rgba\\(${cb},${cb},${cb},${lb}\\)$`),hb=RegExp(`^rgba\\(${ub},${ub},${ub},${lb}\\)$`),gb=RegExp(`^hsl\\(${lb},${ub},${ub}\\)$`),_b=RegExp(`^hsla\\(${lb},${ub},${ub},${lb}\\)$`),vb={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};rb(ab,Cb,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:yb,formatHex:yb,formatHex8:bb,formatHsl:xb,formatRgb:Sb,toString:Sb});function yb(){return this.rgb().formatHex()}function bb(){return this.rgb().formatHex8()}function xb(){return Ib(this).formatHsl()}function Sb(){return this.rgb().formatRgb()}function Cb(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=db.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?wb(t):n===3?new Ob(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Tb(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Tb(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=fb.exec(e))?new Ob(t[1],t[2],t[3],1):(t=pb.exec(e))?new Ob(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=mb.exec(e))?Tb(t[1],t[2],t[3],t[4]):(t=hb.exec(e))?Tb(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=gb.exec(e))?Fb(t[1],t[2]/100,t[3]/100,1):(t=_b.exec(e))?Fb(t[1],t[2]/100,t[3]/100,t[4]):vb.hasOwnProperty(e)?wb(vb[e]):e===`transparent`?new Ob(NaN,NaN,NaN,0):null}function wb(e){return new Ob(e>>16&255,e>>8&255,e&255,1)}function Tb(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ob(e,t,n,r)}function Eb(e){return e instanceof ab||(e=Cb(e)),e?(e=e.rgb(),new Ob(e.r,e.g,e.b,e.opacity)):new Ob}function Db(e,t,n,r){return arguments.length===1?Eb(e):new Ob(e,t,n,r??1)}function Ob(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}rb(Ob,Db,ib(ab,{brighter(e){return e=e==null?sb:sb**+e,new Ob(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?ob:ob**+e,new Ob(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ob(Nb(this.r),Nb(this.g),Nb(this.b),Mb(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:kb,formatHex:kb,formatHex8:Ab,formatRgb:jb,toString:jb}));function kb(){return`#${Pb(this.r)}${Pb(this.g)}${Pb(this.b)}`}function Ab(){return`#${Pb(this.r)}${Pb(this.g)}${Pb(this.b)}${Pb((isNaN(this.opacity)?1:this.opacity)*255)}`}function jb(){let e=Mb(this.opacity);return`${e===1?`rgb(`:`rgba(`}${Nb(this.r)}, ${Nb(this.g)}, ${Nb(this.b)}${e===1?`)`:`, ${e})`}`}function Mb(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Nb(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Pb(e){return e=Nb(e),(e<16?`0`:``)+e.toString(16)}function Fb(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Rb(e,t,n,r)}function Ib(e){if(e instanceof Rb)return new Rb(e.h,e.s,e.l,e.opacity);if(e instanceof ab||(e=Cb(e)),!e)return new Rb;if(e instanceof Rb)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 Rb(o,s,c,e.opacity)}function Lb(e,t,n,r){return arguments.length===1?Ib(e):new Rb(e,t,n,r??1)}function Rb(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}rb(Rb,Lb,ib(ab,{brighter(e){return e=e==null?sb:sb**+e,new Rb(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?ob:ob**+e,new Rb(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 Ob(Vb(e>=240?e-240:e+120,i,r),Vb(e,i,r),Vb(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Rb(zb(this.h),Bb(this.s),Bb(this.l),Mb(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=Mb(this.opacity);return`${e===1?`hsl(`:`hsla(`}${zb(this.h)}, ${Bb(this.s)*100}%, ${Bb(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function zb(e){return e=(e||0)%360,e<0?e+360:e}function Bb(e){return Math.max(0,Math.min(1,e||0))}function Vb(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 Hb=e=>()=>e;function Ub(e,t){return function(n){return e+n*t}}function Wb(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function Gb(e){return(e=+e)==1?Kb:function(t,n){return n-t?Wb(t,n,e):Hb(isNaN(t)?n:t)}}function Kb(e,t){var n=t-e;return n?Ub(e,n):Hb(isNaN(e)?t:e)}var qb=(function e(t){var n=Gb(t);function r(e,t){var r=n((e=Db(e)).r,(t=Db(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=Kb(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 Jb(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 Yb(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Xb(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]=ax(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 Zb(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Qb(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function $b(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]=ax(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var ex=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tx=new RegExp(ex.source,`g`);function nx(e){return function(){return e}}function rx(e){return function(t){return e(t)+``}}function ix(e,t){var n=ex.lastIndex=tx.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=ex.exec(e))&&(i=tx.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:Qb(r,i)})),n=tx.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?rx(c[0].x):nx(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 ax(e,t){var n=typeof t,r;return t==null||n===`boolean`?Hb(t):(n===`number`?Qb:n===`string`?(r=Cb(t))?(t=r,qb):ix:t instanceof Cb?qb:t instanceof Date?Zb:Yb(t)?Jb:Array.isArray(t)?Xb:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?$b:Qb)(e,t)}function ox(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function sx(e,t){t===void 0&&(t=e,e=ax);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 cx(e){return function(){return e}}function lx(e){return+e}var ux=[0,1];function dx(e){return e}function fx(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:cx(isNaN(t)?NaN:.5)}function px(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function mx(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=fx(i,r),a=n(o,a)):(r=fx(r,i),a=n(a,o)),function(e){return a(r(e))}}function hx(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]=fx(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=Oy(e,t,1,r)-1;return a[n](i[n](t))}}function gx(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function _x(){var e=ux,t=ux,n=ax,r,i,a,o=dx,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==dx&&(o=px(e[0],e[n-1])),s=n>2?hx:mx,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),Qb))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,lx),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=ox,u()},d.clamp=function(e){return arguments.length?(o=e?!0:dx,u()):o!==dx},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 vx(){return _x()(dx,dx)}function yx(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function bx(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 xx(e){return e=bx(Math.abs(e)),e?e[1]:NaN}function Sx(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 Cx(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var wx=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Tx(e){if(!(t=wx.exec(e)))throw Error(`invalid format: `+e);var t;return new Ex({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]})}Tx.prototype=Ex.prototype;function Ex(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+``}Ex.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 Dx(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 Ox;function kx(e,t){var n=bx(e,t);if(!n)return Ox=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(Ox=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`)+bx(e,Math.max(0,t+a-1))[0]}function Ax(e,t){var n=bx(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 jx={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:yx,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)=>Ax(e*100,t),r:Ax,s:kx,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Mx(e){return e}var Nx=Array.prototype.map,Px=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function Fx(e){var t=e.grouping===void 0||e.thousands===void 0?Mx:Sx(Nx.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?Mx:Cx(Nx.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=Tx(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`):jx[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=jx[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=Dx(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&Ox!==void 0?Px[8+Ox/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(xx(t)/3)))*3,r=10**-n,i=l((e=Tx(e),e.type=`f`,e),{suffix:Px[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var Ix,Lx,Rx;zx({thousands:`,`,grouping:[3],currency:[`$`,``]});function zx(e){return Ix=Fx(e),Lx=Ix.format,Rx=Ix.formatPrefix,Ix}function Bx(e){return Math.max(0,-xx(Math.abs(e)))}function Vx(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(xx(t)/3)))*3-xx(Math.abs(e)))}function Hx(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,xx(t)-xx(e))+1}function Ux(e,t,n,r){var i=Hy(e,t,n),a;switch(r=Tx(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=Vx(i,o))&&(r.precision=a),Rx(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=Hx(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=Bx(i))&&(r.precision=a-(r.type===`%`)*2);break}return Lx(r)}function Wx(e){var t=e.domain;return e.ticks=function(e){var n=t();return By(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return Ux(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=Vy(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 Gx(){var e=vx();return e.copy=function(){return gx(e,Gx())},Xy.apply(e,arguments),Wx(e)}function Kx(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,lx),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Kx(e).unknown(t)},e=arguments.length?Array.from(e,lx):[0,1],Wx(n)}function qx(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 Jx(e){return Math.log(e)}function Yx(e){return Math.exp(e)}function Xx(e){return-Math.log(-e)}function Zx(e){return-Math.exp(-e)}function Qx(e){return isFinite(e)?+(`1e`+e):e<0?0:e}function $x(e){return e===10?Qx:e===Math.E?Math.exp:t=>e**+t}function eS(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 tS(e){return(t,n)=>-e(-t,n)}function nS(e){let t=e(Jx,Yx),n=t.domain,r=10,i,a;function o(){return i=eS(r),a=$x(r),n()[0]<0?(i=tS(i),a=tS(a),e(Xx,Zx)):e(Jx,Yx),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=By(o,s,p))}else m=By(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=Tx(n)).precision==null&&(n.trim=!0),n=Lx(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(qx(n(),{floor:e=>a(Math.floor(i(e))),ceil:e=>a(Math.ceil(i(e)))})),t}function rS(){let e=nS(_x()).domain([1,10]);return e.copy=()=>gx(e,rS()).base(e.base()),Xy.apply(e,arguments),e}function iS(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function aS(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function oS(e){var t=1,n=e(iS(t),aS(t));return n.constant=function(n){return arguments.length?e(iS(t=+n),aS(t)):t},Wx(n)}function sS(){var e=oS(_x());return e.copy=function(){return gx(e,sS()).constant(e.constant())},Xy.apply(e,arguments)}function cS(e){return function(t){return t<0?-((-t)**+e):t**+e}}function lS(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function uS(e){return e<0?-e*e:e*e}function dS(e){var t=e(dx,dx),n=1;function r(){return n===1?e(dx,dx):n===.5?e(lS,uS):e(cS(n),cS(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},Wx(t)}function fS(){var e=dS(_x());return e.copy=function(){return gx(e,fS()).exponent(e.exponent())},Xy.apply(e,arguments),e}function pS(){return fS.apply(null,arguments).exponent(.5)}function mS(e){return Math.sign(e)*e*e}function hS(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function gS(){var e=vx(),t=[0,1],n=!1,r;function i(t){var i=hS(e(t));return isNaN(i)?r:n?Math.round(i):i}return i.invert=function(t){return e.invert(mS(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,lx)).map(mS)),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 gS(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},Xy.apply(i,arguments),Wx(i)}function _S(){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]=Jy(e,r/i);return a}function a(e){return e==null||isNaN(e=+e)?r:t[Oy(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(xy),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 _S().domain(e).range(t).unknown(r)},Xy.apply(a,arguments)}function vS(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function o(e){return e!=null&&e<=e?i[Oy(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 vS().domain([e,t]).range(i).unknown(a)},Xy.apply(Wx(o),arguments)}function yS(){var e=[.5],t=[0,1],n,r=1;function i(i){return i!=null&&i<=i?t[Oy(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 yS().domain(e).range(t).unknown(n)},Xy.apply(i,arguments)}var bS=new Date,xS=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)=>(bS.setTime(+t),xS.setTime(+r),e(bS),e(xS),Math.floor(n(bS,xS))),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 SS=X(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);SS.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):SS),SS.range;var CS=1e3,wS=CS*60,TS=wS*60,ES=TS*24,DS=ES*7,OS=ES*30,kS=ES*365,AS=X(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*CS)},(e,t)=>(t-e)/CS,e=>e.getUTCSeconds());AS.range;var jS=X(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*CS)},(e,t)=>{e.setTime(+e+t*wS)},(e,t)=>(t-e)/wS,e=>e.getMinutes());jS.range;var MS=X(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*wS)},(e,t)=>(t-e)/wS,e=>e.getUTCMinutes());MS.range;var NS=X(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*CS-e.getMinutes()*wS)},(e,t)=>{e.setTime(+e+t*TS)},(e,t)=>(t-e)/TS,e=>e.getHours());NS.range;var PS=X(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*TS)},(e,t)=>(t-e)/TS,e=>e.getUTCHours());PS.range;var FS=X(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*wS)/ES,e=>e.getDate()-1);FS.range;var IS=X(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ES,e=>e.getUTCDate()-1);IS.range;var LS=X(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ES,e=>Math.floor(e/ES));LS.range;function RS(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())*wS)/DS)}var zS=RS(0),BS=RS(1),VS=RS(2),HS=RS(3),US=RS(4),WS=RS(5),GS=RS(6);zS.range,BS.range,VS.range,HS.range,US.range,WS.range,GS.range;function KS(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)/DS)}var qS=KS(0),JS=KS(1),YS=KS(2),XS=KS(3),ZS=KS(4),QS=KS(5),$S=KS(6);qS.range,JS.range,YS.range,XS.range,ZS.range,QS.range,$S.range;var eC=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());eC.range;var tC=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());tC.range;var nC=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());nC.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)}),nC.range;var rC=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());rC.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)}),rC.range;function iC(e,t,n,r,i,a){let o=[[AS,1,CS],[AS,5,5*CS],[AS,15,15*CS],[AS,30,30*CS],[a,1,wS],[a,5,5*wS],[a,15,15*wS],[a,30,30*wS],[i,1,TS],[i,3,3*TS],[i,6,6*TS],[i,12,12*TS],[r,1,ES],[r,2,2*ES],[n,1,DS],[t,1,OS],[t,3,3*OS],[e,1,kS]];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=Cy(([,,e])=>e).right(o,i);if(a===o.length)return e.every(Hy(t/kS,n/kS,r));if(a===0)return SS.every(Math.max(Hy(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[aC,oC]=iC(rC,tC,qS,LS,PS,MS),[sC,cC]=iC(nC,eC,zS,FS,NS,jS);function lC(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 uC(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 dC(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function fC(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=_C(i),u=vC(i),d=_C(a),f=vC(a),p=_C(o),m=vC(o),h=_C(s),g=vC(s),_=_C(c),v=vC(c),y={a:j,A:ne,b:re,B:M,c:null,d:zC,e:zC,f:WC,g:tw,G:rw,H:BC,I:VC,j:HC,L:UC,m:GC,M:KC,p:ie,q:ae,Q:Ew,s:Dw,S:qC,u:JC,U:YC,V:ZC,w:QC,W:$C,x:null,X:null,y:ew,Y:nw,Z:iw,"%":Tw},b={a:oe,A:se,b:N,B:P,c:null,d:aw,e:aw,f:uw,g:xw,G:Cw,H:ow,I:sw,j:cw,L:lw,m:dw,M:fw,p:ce,q:le,Q:Ew,s:Dw,S:pw,u:mw,U:hw,V:_w,w:vw,W:yw,x:null,X:null,y:bw,Y:Sw,Z:ww,"%":Tw},x={a:E,A:D,b:O,B:k,c:ee,d:kC,e:kC,f:FC,g:TC,G:wC,H:jC,I:jC,j:AC,L:PC,m:OC,M:MC,p:T,q:DC,Q:LC,s:RC,S:NC,u:bC,U:xC,V:SC,w:yC,W:CC,x:te,X:A,y:TC,Y:wC,Z:EC,"%":IC};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=pC[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=dC(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=uC(dC(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?JS.ceil(a):JS(a),a=IS.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=lC(dC(r.y,0,1)),o=a.getDay(),a=o>4||o===0?BS.ceil(a):BS(a),a=FS.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?uC(dC(r.y,0,1)).getUTCDay():lC(dC(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,uC(r)):lC(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 pC?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 te(e,t,r){return w(e,n,t,r)}function A(e,t,n){return w(e,r,t,n)}function j(e){return o[e.getDay()]}function ne(e){return a[e.getDay()]}function re(e){return c[e.getMonth()]}function M(e){return s[e.getMonth()]}function ie(e){return i[+(e.getHours()>=12)]}function ae(e){return 1+~~(e.getMonth()/3)}function oe(e){return o[e.getUTCDay()]}function se(e){return a[e.getUTCDay()]}function N(e){return c[e.getUTCMonth()]}function P(e){return s[e.getUTCMonth()]}function ce(e){return i[+(e.getUTCHours()>=12)]}function le(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 pC={"-":``,_:` `,0:`0`},Z=/^\s*\d+/,mC=/^%/,hC=/[\\^$*+?|[\]().{}]/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 gC(e){return e.replace(hC,`\\$&`)}function _C(e){return RegExp(`^(?:`+e.map(gC).join(`|`)+`)`,`i`)}function vC(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function yC(e,t,n){var r=Z.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function bC(e,t,n){var r=Z.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function xC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function SC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function CC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function wC(e,t,n){var r=Z.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function TC(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 EC(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 DC(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 OC(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 kC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function AC(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 jC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function MC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function NC(e,t,n){var r=Z.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function PC(e,t,n){var r=Z.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function FC(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 IC(e,t,n){var r=mC.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function LC(e,t,n){var r=Z.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function RC(e,t,n){var r=Z.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function zC(e,t){return Q(e.getDate(),t,2)}function BC(e,t){return Q(e.getHours(),t,2)}function VC(e,t){return Q(e.getHours()%12||12,t,2)}function HC(e,t){return Q(1+FS.count(nC(e),e),t,3)}function UC(e,t){return Q(e.getMilliseconds(),t,3)}function WC(e,t){return UC(e,t)+`000`}function GC(e,t){return Q(e.getMonth()+1,t,2)}function KC(e,t){return Q(e.getMinutes(),t,2)}function qC(e,t){return Q(e.getSeconds(),t,2)}function JC(e){var t=e.getDay();return t===0?7:t}function YC(e,t){return Q(zS.count(nC(e)-1,e),t,2)}function XC(e){var t=e.getDay();return t>=4||t===0?US(e):US.ceil(e)}function ZC(e,t){return e=XC(e),Q(US.count(nC(e),e)+(nC(e).getDay()===4),t,2)}function QC(e){return e.getDay()}function $C(e,t){return Q(BS.count(nC(e)-1,e),t,2)}function ew(e,t){return Q(e.getFullYear()%100,t,2)}function tw(e,t){return e=XC(e),Q(e.getFullYear()%100,t,2)}function nw(e,t){return Q(e.getFullYear()%1e4,t,4)}function rw(e,t){var n=e.getDay();return e=n>=4||n===0?US(e):US.ceil(e),Q(e.getFullYear()%1e4,t,4)}function iw(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+Q(t/60|0,`0`,2)+Q(t%60,`0`,2)}function aw(e,t){return Q(e.getUTCDate(),t,2)}function ow(e,t){return Q(e.getUTCHours(),t,2)}function sw(e,t){return Q(e.getUTCHours()%12||12,t,2)}function cw(e,t){return Q(1+IS.count(rC(e),e),t,3)}function lw(e,t){return Q(e.getUTCMilliseconds(),t,3)}function uw(e,t){return lw(e,t)+`000`}function dw(e,t){return Q(e.getUTCMonth()+1,t,2)}function fw(e,t){return Q(e.getUTCMinutes(),t,2)}function pw(e,t){return Q(e.getUTCSeconds(),t,2)}function mw(e){var t=e.getUTCDay();return t===0?7:t}function hw(e,t){return Q(qS.count(rC(e)-1,e),t,2)}function gw(e){var t=e.getUTCDay();return t>=4||t===0?ZS(e):ZS.ceil(e)}function _w(e,t){return e=gw(e),Q(ZS.count(rC(e),e)+(rC(e).getUTCDay()===4),t,2)}function vw(e){return e.getUTCDay()}function yw(e,t){return Q(JS.count(rC(e)-1,e),t,2)}function bw(e,t){return Q(e.getUTCFullYear()%100,t,2)}function xw(e,t){return e=gw(e),Q(e.getUTCFullYear()%100,t,2)}function Sw(e,t){return Q(e.getUTCFullYear()%1e4,t,4)}function Cw(e,t){var n=e.getUTCDay();return e=n>=4||n===0?ZS(e):ZS.ceil(e),Q(e.getUTCFullYear()%1e4,t,4)}function ww(){return`+0000`}function Tw(){return`%`}function Ew(e){return+e}function Dw(e){return Math.floor(e/1e3)}var Ow,kw,Aw;jw({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 jw(e){return Ow=fC(e),kw=Ow.format,Ow.parse,Aw=Ow.utcFormat,Ow.utcParse,Ow}function Mw(e){return new Date(e)}function Nw(e){return e instanceof Date?+e:+new Date(+e)}function Pw(e,t,n,r,i,a,o,s,c,l){var u=vx(),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,Nw)):f().map(Mw)},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(qx(n,e)):u},u.copy=function(){return gx(u,Pw(e,t,n,r,i,a,o,s,c,l))},u}function Fw(){return Xy.apply(Pw(sC,cC,nC,eC,zS,FS,NS,jS,AS,kw).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Iw(){return Xy.apply(Pw(aC,oC,rC,tC,qS,IS,PS,MS,AS,Aw).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Lw(){var e=0,t=1,n,r,i,a,o=dx,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(ax),l.rangeRound=u(ox),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 Rw(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function zw(){var e=Wx(Lw()(dx));return e.copy=function(){return Rw(e,zw())},Zy.apply(e,arguments)}function Bw(){var e=nS(Lw()).domain([1,10]);return e.copy=function(){return Rw(e,Bw()).base(e.base())},Zy.apply(e,arguments)}function Vw(){var e=oS(Lw());return e.copy=function(){return Rw(e,Vw()).constant(e.constant())},Zy.apply(e,arguments)}function Hw(){var e=dS(Lw());return e.copy=function(){return Rw(e,Hw()).exponent(e.exponent())},Zy.apply(e,arguments)}function Uw(){return Hw.apply(null,arguments).exponent(.5)}function Ww(){var e=[],t=dx;function n(n){if(n!=null&&!isNaN(n=+n))return t((Oy(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(xy),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)=>qy(e,r/t))},n.copy=function(){return Ww(t).domain(e)},Zy.apply(n,arguments)}function Gw(){var e=0,t=.5,n=1,r=1,i,a,o,s,c,l=dx,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=sx(e,[n,r,i]),p):[l(0),l(.5),l(1)]}}return p.range=m(ax),p.rangeRound=m(ox),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 Kw(){var e=Wx(Gw()(dx));return e.copy=function(){return Rw(e,Kw())},Zy.apply(e,arguments)}function qw(){var e=nS(Gw()).domain([.1,1,10]);return e.copy=function(){return Rw(e,qw()).base(e.base())},Zy.apply(e,arguments)}function Jw(){var e=oS(Gw());return e.copy=function(){return Rw(e,Jw()).constant(e.constant())},Zy.apply(e,arguments)}function Yw(){var e=dS(Gw());return e.copy=function(){return Rw(e,Yw()).exponent(e.exponent())},Zy.apply(e,arguments)}function Xw(){return Yw.apply(null,arguments).exponent(.5)}var Zw=t({scaleBand:()=>eb,scaleDiverging:()=>Kw,scaleDivergingLog:()=>qw,scaleDivergingPow:()=>Yw,scaleDivergingSqrt:()=>Xw,scaleDivergingSymlog:()=>Jw,scaleIdentity:()=>Kx,scaleImplicit:()=>Qy,scaleLinear:()=>Gx,scaleLog:()=>rS,scaleOrdinal:()=>$y,scalePoint:()=>nb,scalePow:()=>fS,scaleQuantile:()=>_S,scaleQuantize:()=>vS,scaleRadial:()=>gS,scaleSequential:()=>zw,scaleSequentialLog:()=>Bw,scaleSequentialPow:()=>Hw,scaleSequentialQuantile:()=>Ww,scaleSequentialSqrt:()=>Uw,scaleSequentialSymlog:()=>Vw,scaleSqrt:()=>pS,scaleSymlog:()=>sS,scaleThreshold:()=>yS,scaleTime:()=>Fw,scaleUtc:()=>Iw,tickFormat:()=>Ux}),Qw=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,$w=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})),eT=n(((e,t)=>{t.exports=$w().isPlainObject})),tT=!0,nT=`Invariant failed`;function rT(e,t){if(!e){if(tT)throw Error(nT);var n=typeof t==`function`?t():t,r=n?`${nT}: ${n}`:nT;throw Error(r)}}var iT=365.2425,aT=6048e5,oT=864e5,sT=3600*24;sT*7,sT*iT/12*3;var cT=Symbol.for(`constructDateFrom`);function lT(e,t){return typeof e==`function`?e(t):e&&typeof e==`object`&&cT in e?e[cT](t):e instanceof Date?new e.constructor(t):new Date(t)}function uT(e,t){return lT(t||e,e)}function dT(e,t,n){let r=uT(e,n?.in);return isNaN(t)?lT(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}var fT={};function pT(){return fT}function mT(e,t){let n=pT(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=uT(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 hT(e,t){return mT(e,{...t,weekStartsOn:1})}function gT(e,t){let n=uT(e,t?.in),r=n.getFullYear(),i=lT(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let a=hT(i),o=lT(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let s=hT(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function _T(e){let t=uT(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 vT(e,...t){let n=lT.bind(null,e||t.find(e=>typeof e==`object`));return t.map(n)}function yT(e,t){let n=uT(e,t?.in);return n.setHours(0,0,0,0),n}function bT(e,t,n){let[r,i]=vT(n?.in,e,t),a=yT(r),o=yT(i),s=+a-_T(a),c=+o-_T(o);return Math.round((s-c)/oT)}function xT(e,t){let n=gT(e,t),r=lT(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),hT(r)}function ST(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}function CT(e){return!(!ST(e)&&typeof e!=`number`||isNaN(+uT(e)))}function wT(e,t){let n=uT(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}var TT={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`}},ET=(e,t,n)=>{let r,i=TT[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 DT(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var OT={date:DT({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:DT({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:DT({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},kT={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},AT=(e,t,n,r)=>kT[e];function jT(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 MT={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:jT({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:jT({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:jT({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:jT({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:jT({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 NT(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)?FT(s,e=>e.test(o)):PT(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 PT(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function FT(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function IT(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 LT={code:`en-US`,formatDistance:ET,formatLong:OT,formatRelative:AT,localize:MT,match:{ordinalNumber:IT({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:NT({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:NT({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:NT({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:NT({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:NT({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 RT(e,t){let n=uT(e,t?.in);return bT(n,wT(n))+1}function zT(e,t){let n=uT(e,t?.in),r=hT(n)-+xT(n);return Math.round(r/aT)+1}function BT(e,t){let n=uT(e,t?.in),r=n.getFullYear(),i=pT(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=lT(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let s=mT(o,t),c=lT(t?.in||e,0);c.setFullYear(r,0,a),c.setHours(0,0,0,0);let l=mT(c,t);return+n>=+s?r+1:+n>=+l?r:r-1}function VT(e,t){let n=pT(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=BT(e,t),a=lT(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),mT(a,t)}function HT(e,t){let n=uT(e,t?.in),r=mT(n,t)-+VT(n,t);return Math.round(r/aT)+1}function $(e,t){return(e<0?`-`:``)+Math.abs(e).toString().padStart(t,`0`)}var UT={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)}},WT={am:`am`,pm:`pm`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},GT={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 UT.y(e,t)},Y:function(e,t,n,r){let i=BT(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 $(gT(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 UT.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=HT(e,r);return t===`wo`?n.ordinalNumber(i,{unit:`week`}):$(i,t.length)},I:function(e,t,n){let r=zT(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`}):UT.d(e,t)},D:function(e,t,n){let r=RT(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?WT.noon:r===0?WT.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?WT.evening:r>=12?WT.afternoon:r>=4?WT.morning:WT.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 UT.h(e,t)},H:function(e,t,n){return t===`Ho`?n.ordinalNumber(e.getHours(),{unit:`hour`}):UT.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`}):UT.m(e,t)},s:function(e,t,n){return t===`so`?n.ordinalNumber(e.getSeconds(),{unit:`second`}):UT.s(e,t)},S:function(e,t){return UT.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return`Z`;switch(t){case`X`:return qT(r);case`XXXX`:case`XX`:return JT(r);default:return JT(r,`:`)}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`x`:return qT(r);case`xxxx`:case`xx`:return JT(r);default:return JT(r,`:`)}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+KT(r,`:`);default:return`GMT`+JT(r,`:`)}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`z`:case`zz`:case`zzz`:return`GMT`+KT(r,`:`);default:return`GMT`+JT(r,`:`)}},t:function(e,t,n){return $(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return $(+e,t.length)}};function KT(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 qT(e,t){return e%60==0?(e>0?`-`:`+`)+$(Math.abs(e)/60,2):JT(e,t)}function JT(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 YT=(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`})}},XT=(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`})}},ZT={p:XT,P:(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return YT(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}}`,YT(r,t)).replace(`{{time}}`,XT(i,t))}},QT=/^D+$/,$T=/^Y+$/,eE=[`D`,`DD`,`YY`,`YYYY`];function tE(e){return QT.test(e)}function nE(e){return $T.test(e)}function rE(e,t,n){let r=iE(e,t,n);if(console.warn(r),eE.includes(e))throw RangeError(r)}function iE(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 aE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,oE=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,sE=/^'([^]*?)'?$/,cE=/''/g,lE=/[a-zA-Z]/;function uE(e,t,n){let r=pT(),i=n?.locale??r.locale??LT,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=uT(e,n?.in);if(!CT(s))throw RangeError(`Invalid time value`);let c=t.match(oE).map(e=>{let t=e[0];if(t===`p`||t===`P`){let n=ZT[t];return n(e,i.formatLong)}return e}).join(``).match(aE).map(e=>{if(e===`''`)return{isToken:!1,value:`'`};let t=e[0];if(t===`'`)return{isToken:!1,value:dE(e)};if(GT[t])return{isToken:!0,value:e};if(t.match(lE))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&&nE(a)||!n?.useAdditionalDayOfYearTokens&&tE(a))&&rE(a,t,String(e));let o=GT[a[0]];return o(s,a,i.localize,l)}).join(``)}function dE(e){let t=e.match(sE);return t?t[1].replace(cE,`'`):e}function fE(e,t,n){return dT(e,-t,n)}function pE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mE(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 hE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?mE(Object(n),!0).forEach(function(t){pE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gE(){var e=[...arguments];return function(t){return e.reduceRight(function(e,t){return t(e)},t)}}function _E(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 vE(e){return{}.toString.call(e).includes(`Object`)}function yE(e){return!Object.keys(e).length}function bE(e){return typeof e==`function`}function xE(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function SE(e,t){return vE(t)||DE(`changeType`),Object.keys(t).some(function(t){return!xE(e,t)})&&DE(`changeField`),t}function CE(e){bE(e)||DE(`selectorType`)}function wE(e){bE(e)||vE(e)||DE(`handlerType`),vE(e)&&Object.values(e).some(function(e){return!bE(e)})&&DE(`handlersType`)}function TE(e){e||DE(`initialIsRequired`),vE(e)||DE(`initialType`),yE(e)&&DE(`initialContent`)}function EE(e,t){throw Error(e[t]||e.default)}var DE=_E(EE)({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"}),OE={changes:SE,selector:CE,handler:wE,initial:TE};function kE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};OE.initial(e),OE.handler(t);var n={current:e},r=_E(ME)(n,t),i=_E(jE)(n),a=_E(OE.changes)(e),o=_E(AE)(n);function s(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(e){return e};return OE.selector(e),e(n.current)}function c(e){gE(r,i,a,o)(e)}return[s,c]}function AE(e,t){return bE(t)?t(e.current):t}function jE(e,t){return e.current=hE(hE({},e.current),t),t}function ME(e,t,n){return bE(t)?t(e.current):Object.keys(n).forEach(function(n){return t[n]?.call(t,e.current[n])}),n}var NE={create:kE};function PE(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=PE(e[n]))!==``&&(t+=(t&&` `)+r);else for(let n in e)e[n]&&(t+=(t&&` `)+n);return t}var FE=e($m(),1),IE=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},LE=e=>e?IE(e):IE,{useDebugValue:RE}=Cn.default,{useSyncExternalStoreWithSelector:zE}=FE.default,BE=e=>e;function VE(e,t=BE,n){let r=zE(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return RE(r),r}var HE=(e,t)=>{let n=LE(e),r=(e,r=t)=>VE(n,e,r);return Object.assign(r,n),r},UE=(e,t)=>e?HE(e,t):HE;function WE(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{Pd as $,qn as $n,qr as $t,Sh as A,gr as An,Ga as At,Gf as B,or as Bn,oi as Bt,g_ as C,Cr as Cn,Do as Ct,f_ as D,yr as Dn,Xa as Dt,E_ as E,br as En,Za as Et,pm as F,dr as Fn,di as Ft,bf as G,tr as Gn,ti as Gt,Tf as H,ir as Hn,ii as Ht,jp as I,ur as In,ui as It,ff as J,Qn as Jn,Qr as Jt,hf as K,er as Kn,ei as Kt,kp as L,lr as Ln,li as Lt,$m as M,mr as Mn,Ra as Mt,Ym as N,pr as Nn,Fa as Nt,Qg as O,vr as On,Ja as Ot,bm as P,fr as Pn,pi as Pt,Id as Q,Jn as Qn,Jr as Qt,Tp as R,cr as Rn,ci as Rt,m_ as S,wr as Sn,ns as St,fv as T,xr as Tn,Oo as Tt,wf as U,rr as Un,ri as Ut,Mf as V,ar as Vn,ai as Vt,Sf as W,nr as Wn,ni as Wt,tf as X,Xn,Xr as Xt,of as Y,Zn as Yn,Zr as Yt,Fd as Z,Yn as Zn,Yr as Zt,by as _,kr as _n,Yl as _t,NE as a,Vr as an,Vn as ar,_d as at,py as b,Er as bn,Fl as bt,rT as c,Rr as cn,Rn as cr,Ju as ct,Zw as d,Fr as dn,Fn as dr,Fu as dt,Kr as en,Kn as er,jd as et,ax as f,Pr as fn,Pn as fr,Mu as ft,Cb as g,Ar as gn,i as gr,Zl as gt,qb as h,jr as hn,o as hr,$l as ht,PE as i,Hr as in,Hn as ir,vd as it,ph as j,hr as jn,za as jt,Ah as k,_r as kn,qa as kt,eT as l,Lr as ln,Ln as lr,Vu as lt,Qb as m,Mr as mn,R as mr,Du as mt,UE as n,Wr as nn,Wn as nr,xd as nt,fE as o,Br as on,Bn as or,Y as ot,ix as p,Nr as pn,Nn as pr,Ou as pt,pf as q,$n as qn,$r as qt,VE as r,Ur as rn,Un as rr,Sd as rt,uE as s,zr as sn,zn as sr,ld as st,WE as t,Gr as tn,Gn as tr,Ad as tt,Qw as u,Ir as un,In as ur,Lu as ut,yy as v,Or as vn,Rl as vt,a_ as w,Sr as wn,W as wt,_v as x,Tr as xn,q as xt,hy as y,Dr as yn,Ll as yt,pp as z,sr as zn,si as zt};