@citolab/qti-components 7.0.4 → 7.0.6-next.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 (280) hide show
  1. package/cdn/chunk-25BMUTLC.js +1 -0
  2. package/cdn/chunk-3DWLPGTE.js +1 -0
  3. package/cdn/chunk-7BKWTY4S.js +1 -0
  4. package/cdn/chunk-7CQ4ETXL.js +1 -0
  5. package/cdn/chunk-7ENNZNJ4.js +1 -0
  6. package/cdn/chunk-7LGM2TQA.js +1 -0
  7. package/cdn/chunk-CYJMNT76.js +0 -0
  8. package/cdn/chunk-DLMFCDQX.js +1 -0
  9. package/cdn/chunk-DPR6SGCZ.js +1 -0
  10. package/cdn/chunk-EQGXFSYL.js +8 -0
  11. package/cdn/chunk-F5VW77RE.js +1 -0
  12. package/cdn/chunk-FNVXN5CO.js +1 -0
  13. package/cdn/chunk-GB7DLBFM.js +0 -0
  14. package/cdn/chunk-GBB54IPA.js +8 -0
  15. package/cdn/chunk-GPDDPZFH.js +1 -0
  16. package/cdn/chunk-H4A34YRT.js +0 -0
  17. package/cdn/chunk-ITXNNGVQ.js +0 -0
  18. package/cdn/chunk-IV7UP34N.js +5 -0
  19. package/cdn/chunk-IZZ36JQV.js +0 -0
  20. package/cdn/chunk-JNT54FPI.js +1 -0
  21. package/cdn/chunk-JS4S7ZI7.js +1 -0
  22. package/cdn/chunk-L26FOTPN.js +17 -0
  23. package/cdn/chunk-LA7TBIPQ.js +0 -0
  24. package/cdn/chunk-LVW3MHTI.js +23 -0
  25. package/cdn/chunk-POT65ZY7.js +1 -0
  26. package/cdn/chunk-Q7PVZA43.js +5 -0
  27. package/cdn/chunk-QJPHXAUE.js +1 -0
  28. package/cdn/chunk-QP57JHGY.js +11 -0
  29. package/cdn/chunk-RB6CONZW.js +3 -0
  30. package/cdn/chunk-RSRX5JYB.js +1 -0
  31. package/cdn/chunk-TG6AE3DB.js +0 -0
  32. package/cdn/chunk-V6YPUNZC.js +0 -0
  33. package/cdn/chunk-VI2WKTN4.js +1 -0
  34. package/cdn/chunk-W7X6GNEX.js +902 -0
  35. package/cdn/chunk-Y63VPWCG.js +3523 -0
  36. package/cdn/chunk-ZEX7TYC7.js +8 -0
  37. package/cdn/index.global.js +45 -45
  38. package/cdn/index.js +1 -4783
  39. package/cdn/qti-components/index.global.js +226 -0
  40. package/cdn/qti-components/index.js +1 -0
  41. package/cdn/qti-item/components/index.global.js +149 -0
  42. package/cdn/qti-item/components/index.js +1 -0
  43. package/cdn/qti-item/components/item-container.global.js +149 -0
  44. package/cdn/qti-item/components/item-container.js +1 -0
  45. package/cdn/qti-item/index.global.js +149 -0
  46. package/cdn/qti-item/index.js +1 -0
  47. package/cdn/qti-item/qti-item.global.js +114 -0
  48. package/cdn/qti-item/qti-item.js +1 -0
  49. package/cdn/qti-loader/index.global.js +1 -0
  50. package/cdn/qti-loader/index.js +1 -0
  51. package/cdn/qti-test/components/index.global.js +242 -0
  52. package/cdn/qti-test/components/index.js +1 -0
  53. package/cdn/qti-test/components/styles.global.js +44 -0
  54. package/cdn/qti-test/components/styles.js +1 -0
  55. package/cdn/qti-test/components/test-component.abstract.global.js +170 -0
  56. package/cdn/qti-test/components/test-component.abstract.js +1 -0
  57. package/cdn/qti-test/components/test-container.global.js +149 -0
  58. package/cdn/qti-test/components/test-container.js +1 -0
  59. package/cdn/qti-test/components/test-item-link.global.js +170 -0
  60. package/cdn/qti-test/components/test-item-link.js +1 -0
  61. package/cdn/qti-test/components/test-next.global.js +170 -0
  62. package/cdn/qti-test/components/test-next.js +1 -0
  63. package/cdn/qti-test/components/test-next.spec.global.js +297 -0
  64. package/cdn/qti-test/components/test-next.spec.js +713 -0
  65. package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +207 -0
  66. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -0
  67. package/cdn/qti-test/components/test-prev.global.js +170 -0
  68. package/cdn/qti-test/components/test-prev.js +1 -0
  69. package/cdn/qti-test/components/test-view.global.js +170 -0
  70. package/cdn/qti-test/components/test-view.js +1 -0
  71. package/cdn/qti-test/context/index.global.js +58 -0
  72. package/cdn/qti-test/context/index.js +1 -0
  73. package/cdn/qti-test/context/test.context.global.js +58 -0
  74. package/cdn/qti-test/context/test.context.js +1 -0
  75. package/cdn/qti-test/index.global.js +242 -0
  76. package/cdn/qti-test/index.js +1 -0
  77. package/cdn/qti-test/mixins/index.global.js +1 -0
  78. package/cdn/qti-test/mixins/index.js +1 -0
  79. package/cdn/qti-test/mixins/test-loader.mixin.global.js +1 -0
  80. package/cdn/qti-test/mixins/test-loader.mixin.js +1 -0
  81. package/cdn/qti-test/mixins/test-navigation.mixin.global.js +1 -0
  82. package/cdn/qti-test/mixins/test-navigation.mixin.js +1 -0
  83. package/cdn/qti-test/mixins/test-view.mixin.global.js +1 -0
  84. package/cdn/qti-test/mixins/test-view.mixin.js +1 -0
  85. package/cdn/qti-test/qti-assessment-test/index.global.js +170 -0
  86. package/cdn/qti-test/qti-assessment-test/index.js +1 -0
  87. package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.global.js +170 -0
  88. package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.js +1 -0
  89. package/cdn/qti-test/qti-assessment-test/qti-assessment-section.global.js +170 -0
  90. package/cdn/qti-test/qti-assessment-test/qti-assessment-section.js +1 -0
  91. package/cdn/qti-test/qti-assessment-test/qti-assessment-test.global.js +170 -0
  92. package/cdn/qti-test/qti-assessment-test/qti-assessment-test.js +1 -0
  93. package/cdn/qti-test/qti-assessment-test/qti-test-part.global.js +114 -0
  94. package/cdn/qti-test/qti-assessment-test/qti-test-part.js +1 -0
  95. package/cdn/qti-test/qti-test.global.js +170 -0
  96. package/cdn/qti-test/qti-test.js +1 -0
  97. package/cdn/qti-test/test-base.global.js +170 -0
  98. package/cdn/qti-test/test-base.js +1 -0
  99. package/cdn/qti-transformers/index.global.js +1 -0
  100. package/cdn/qti-transformers/index.js +1 -0
  101. package/dist/{transformers/index.js → chunk-2OA7E3E7.js} +2 -1
  102. package/dist/chunk-2OA7E3E7.js.map +1 -0
  103. package/dist/chunk-37X6KZO3.js +1 -0
  104. package/dist/chunk-37X6KZO3.js.map +1 -0
  105. package/dist/chunk-3WLCQQN7.js +3529 -0
  106. package/dist/chunk-3WLCQQN7.js.map +1 -0
  107. package/dist/chunk-3YVIK6LO.js +1 -0
  108. package/dist/chunk-3YVIK6LO.js.map +1 -0
  109. package/dist/chunk-44VE5POH.js +55 -0
  110. package/dist/chunk-44VE5POH.js.map +1 -0
  111. package/dist/chunk-4CSM2PCC.js +37 -0
  112. package/dist/chunk-4CSM2PCC.js.map +1 -0
  113. package/dist/chunk-4YG2FPKK.js +31 -0
  114. package/dist/chunk-4YG2FPKK.js.map +1 -0
  115. package/dist/chunk-7A6KCSAU.js +44 -0
  116. package/dist/chunk-7A6KCSAU.js.map +1 -0
  117. package/dist/chunk-ENVUIH2A.js +118 -0
  118. package/dist/chunk-ENVUIH2A.js.map +1 -0
  119. package/dist/chunk-ENZVY5X6.js +20 -0
  120. package/dist/chunk-ENZVY5X6.js.map +1 -0
  121. package/dist/chunk-EUCEENQQ.js +6253 -0
  122. package/dist/chunk-EUCEENQQ.js.map +1 -0
  123. package/dist/chunk-FNFNAV3G.js +56 -0
  124. package/dist/chunk-FNFNAV3G.js.map +1 -0
  125. package/dist/chunk-GSFDTSLL.js +1 -0
  126. package/dist/chunk-GSFDTSLL.js.map +1 -0
  127. package/dist/chunk-GTYLWGDG.js +43 -0
  128. package/dist/chunk-GTYLWGDG.js.map +1 -0
  129. package/dist/chunk-IAFQ5ZPI.js +29 -0
  130. package/dist/chunk-IAFQ5ZPI.js.map +1 -0
  131. package/dist/chunk-JDHBXMKF.js +78 -0
  132. package/dist/chunk-JDHBXMKF.js.map +1 -0
  133. package/dist/chunk-L7MBIXEX.js +50 -0
  134. package/dist/chunk-L7MBIXEX.js.map +1 -0
  135. package/dist/chunk-LYFMLDNV.js +1 -0
  136. package/dist/chunk-LYFMLDNV.js.map +1 -0
  137. package/dist/chunk-NNPTSZGC.js +1 -0
  138. package/dist/chunk-NNPTSZGC.js.map +1 -0
  139. package/dist/chunk-NQM35JUI.js +1 -0
  140. package/dist/chunk-NQM35JUI.js.map +1 -0
  141. package/dist/chunk-ODUHPWTX.js +65 -0
  142. package/dist/chunk-ODUHPWTX.js.map +1 -0
  143. package/dist/chunk-OGHHCP23.js +36 -0
  144. package/dist/chunk-OGHHCP23.js.map +1 -0
  145. package/dist/chunk-OQZW2B47.js +75 -0
  146. package/dist/chunk-OQZW2B47.js.map +1 -0
  147. package/dist/chunk-OXDOQVRL.js +63 -0
  148. package/dist/chunk-OXDOQVRL.js.map +1 -0
  149. package/dist/chunk-PBSMP6VF.js +128 -0
  150. package/dist/chunk-PBSMP6VF.js.map +1 -0
  151. package/dist/chunk-Q7OPFS4A.js +1 -0
  152. package/dist/chunk-Q7OPFS4A.js.map +1 -0
  153. package/dist/chunk-R4HSV7U7.js +10 -0
  154. package/dist/chunk-R4HSV7U7.js.map +1 -0
  155. package/dist/chunk-TXRSYXG3.js +50 -0
  156. package/dist/chunk-TXRSYXG3.js.map +1 -0
  157. package/dist/chunk-U3RLYKL5.js +51 -0
  158. package/dist/chunk-U3RLYKL5.js.map +1 -0
  159. package/dist/chunk-UB5K44DB.js +30 -0
  160. package/dist/chunk-UB5K44DB.js.map +1 -0
  161. package/dist/chunk-VODOQFTJ.js +72 -0
  162. package/dist/chunk-VODOQFTJ.js.map +1 -0
  163. package/dist/chunk-VW7VIQBE.js +34 -0
  164. package/dist/chunk-VW7VIQBE.js.map +1 -0
  165. package/dist/chunk-X4ZBUCOD.js +94 -0
  166. package/dist/chunk-X4ZBUCOD.js.map +1 -0
  167. package/dist/chunk-XFHB6KQW.js +1 -0
  168. package/dist/chunk-XFHB6KQW.js.map +1 -0
  169. package/dist/chunk-XNBWN7N2.js +94 -0
  170. package/dist/chunk-XNBWN7N2.js.map +1 -0
  171. package/dist/index.d.ts +18 -503
  172. package/dist/index.js +169 -13584
  173. package/dist/index.js.map +1 -1
  174. package/dist/item.css +10 -10
  175. package/dist/qti-components/index.d.ts +150 -0
  176. package/dist/qti-components/index.js +189 -0
  177. package/dist/qti-components/index.js.map +1 -0
  178. package/dist/qti-components-jsx.d.ts +93 -147
  179. package/dist/qti-item/components/index.d.ts +3 -0
  180. package/dist/qti-item/components/index.js +12 -0
  181. package/dist/qti-item/components/index.js.map +1 -0
  182. package/dist/qti-item/components/item-container.d.ts +40 -0
  183. package/dist/qti-item/components/item-container.js +11 -0
  184. package/dist/qti-item/components/item-container.js.map +1 -0
  185. package/dist/qti-item/index.d.ts +4 -0
  186. package/dist/qti-item/index.js +17 -0
  187. package/dist/qti-item/index.js.map +1 -0
  188. package/dist/qti-item/qti-item.d.ts +25 -0
  189. package/dist/qti-item/qti-item.js +8 -0
  190. package/dist/qti-item/qti-item.js.map +1 -0
  191. package/dist/{loader → qti-loader}/index.d.ts +1 -1
  192. package/dist/qti-loader/index.js +11 -0
  193. package/dist/qti-loader/index.js.map +1 -0
  194. package/dist/{qti-simple-choice-D0GiMrqD.d.ts → qti-simple-choice-DxWcdKHi.d.ts} +30 -40
  195. package/dist/qti-test/components/index.d.ts +13 -0
  196. package/dist/qti-test/components/index.js +40 -0
  197. package/dist/qti-test/components/index.js.map +1 -0
  198. package/dist/qti-test/components/styles.d.ts +8 -0
  199. package/dist/qti-test/components/styles.js +14 -0
  200. package/dist/qti-test/components/styles.js.map +1 -0
  201. package/dist/qti-test/components/test-component.abstract.d.ts +23 -0
  202. package/dist/qti-test/components/test-component.abstract.js +12 -0
  203. package/dist/qti-test/components/test-component.abstract.js.map +1 -0
  204. package/dist/qti-test/components/test-container.d.ts +37 -0
  205. package/dist/qti-test/components/test-container.js +11 -0
  206. package/dist/qti-test/components/test-container.js.map +1 -0
  207. package/dist/qti-test/components/test-item-link.d.ts +21 -0
  208. package/dist/qti-test/components/test-item-link.js +14 -0
  209. package/dist/qti-test/components/test-item-link.js.map +1 -0
  210. package/dist/qti-test/components/test-next.d.ts +32 -0
  211. package/dist/qti-test/components/test-next.js +14 -0
  212. package/dist/qti-test/components/test-next.js.map +1 -0
  213. package/dist/qti-test/components/test-next.spec.d.ts +16 -0
  214. package/dist/qti-test/components/test-next.spec.js +45923 -0
  215. package/dist/qti-test/components/test-next.spec.js.map +1 -0
  216. package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +22 -0
  217. package/dist/qti-test/components/test-paging-buttons-stamp.js +13 -0
  218. package/dist/qti-test/components/test-paging-buttons-stamp.js.map +1 -0
  219. package/dist/qti-test/components/test-prev.d.ts +32 -0
  220. package/dist/qti-test/components/test-prev.js +14 -0
  221. package/dist/qti-test/components/test-prev.js.map +1 -0
  222. package/dist/qti-test/components/test-view.d.ts +27 -0
  223. package/dist/qti-test/components/test-view.js +13 -0
  224. package/dist/qti-test/components/test-view.js.map +1 -0
  225. package/dist/qti-test/context/index.d.ts +6 -0
  226. package/dist/qti-test/context/index.js +11 -0
  227. package/dist/qti-test/context/index.js.map +1 -0
  228. package/dist/qti-test/context/test.context.d.ts +6 -0
  229. package/dist/qti-test/context/test.context.js +10 -0
  230. package/dist/qti-test/context/test.context.js.map +1 -0
  231. package/dist/qti-test/index.d.ts +14 -0
  232. package/dist/qti-test/index.js +72 -0
  233. package/dist/qti-test/index.js.map +1 -0
  234. package/dist/qti-test/mixins/index.d.ts +8 -0
  235. package/dist/qti-test/mixins/index.js +18 -0
  236. package/dist/qti-test/mixins/index.js.map +1 -0
  237. package/dist/qti-test/mixins/test-loader.mixin.d.ts +8 -0
  238. package/dist/qti-test/mixins/test-loader.mixin.js +9 -0
  239. package/dist/qti-test/mixins/test-loader.mixin.js.map +1 -0
  240. package/dist/qti-test/mixins/test-navigation.mixin.d.ts +22 -0
  241. package/dist/qti-test/mixins/test-navigation.mixin.js +8 -0
  242. package/dist/qti-test/mixins/test-navigation.mixin.js.map +1 -0
  243. package/dist/qti-test/mixins/test-view.mixin.d.ts +6 -0
  244. package/dist/qti-test/mixins/test-view.mixin.js +8 -0
  245. package/dist/qti-test/mixins/test-view.mixin.js.map +1 -0
  246. package/dist/qti-test/qti-assessment-test/index.d.ts +6 -0
  247. package/dist/qti-test/qti-assessment-test/index.js +23 -0
  248. package/dist/qti-test/qti-assessment-test/index.js.map +1 -0
  249. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.d.ts +6 -0
  250. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js +10 -0
  251. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js.map +1 -0
  252. package/dist/qti-test/qti-assessment-test/qti-assessment-section.d.ts +6 -0
  253. package/dist/qti-test/qti-assessment-test/qti-assessment-section.js +10 -0
  254. package/dist/qti-test/qti-assessment-test/qti-assessment-section.js.map +1 -0
  255. package/dist/qti-test/qti-assessment-test/qti-assessment-test.d.ts +6 -0
  256. package/dist/qti-test/qti-assessment-test/qti-assessment-test.js +10 -0
  257. package/dist/qti-test/qti-assessment-test/qti-assessment-test.js.map +1 -0
  258. package/dist/qti-test/qti-assessment-test/qti-test-part.d.ts +19 -0
  259. package/dist/qti-test/qti-assessment-test/qti-test-part.js +8 -0
  260. package/dist/qti-test/qti-assessment-test/qti-test-part.js.map +1 -0
  261. package/dist/qti-test/qti-test.d.ts +68 -0
  262. package/dist/qti-test/qti-test.js +16 -0
  263. package/dist/qti-test/qti-test.js.map +1 -0
  264. package/dist/qti-test/test-base.d.ts +6 -0
  265. package/dist/qti-test/test-base.js +10 -0
  266. package/dist/qti-test/test-base.js.map +1 -0
  267. package/dist/qti-transformers/index.js +12 -0
  268. package/dist/qti-transformers/index.js.map +1 -0
  269. package/dist/test-base-BJwG9Ie8.d.ts +109 -0
  270. package/dist/vscode.html-custom-data.json +49 -38
  271. package/package.json +28 -52
  272. package/dist/custom-element-eslint-rules.js +0 -329
  273. package/dist/custom-elements.json +0 -27271
  274. package/dist/loader/index.js +0 -310
  275. package/dist/loader/index.js.map +0 -1
  276. package/dist/qti-simple-choice-CfgBEvdI.d.ts +0 -1143
  277. package/dist/qti-simple-choice-UTrFa_RQ.d.ts +0 -1177
  278. package/dist/qti-simple-choice-zEsDq3c0.d.ts +0 -1147
  279. package/dist/transformers/index.js.map +0 -1
  280. /package/dist/{transformers → qti-transformers}/index.d.ts +0 -0
@@ -0,0 +1,713 @@
1
+ import"../../chunk-CYJMNT76.js";import"../../chunk-W7X6GNEX.js";import"../../chunk-IZZ36JQV.js";import"../../chunk-H4A34YRT.js";import"../../chunk-Q7PVZA43.js";import"../../chunk-JS4S7ZI7.js";import"../../chunk-LA7TBIPQ.js";import"../../chunk-GB7DLBFM.js";import"../../chunk-POT65ZY7.js";import"../../chunk-FNVXN5CO.js";import"../../chunk-F5VW77RE.js";import"../../chunk-7CQ4ETXL.js";import"../../chunk-TG6AE3DB.js";import"../../chunk-EQGXFSYL.js";import"../../chunk-RB6CONZW.js";import"../../chunk-GBB54IPA.js";import"../../chunk-QP57JHGY.js";import"../../chunk-IV7UP34N.js";import"../../chunk-ZEX7TYC7.js";import"../../chunk-L26FOTPN.js";import"../../chunk-7LGM2TQA.js";import"../../chunk-GPDDPZFH.js";import"../../chunk-Y63VPWCG.js";import"../../chunk-25BMUTLC.js";import"../../chunk-RSRX5JYB.js";import"../../chunk-ITXNNGVQ.js";import"../../chunk-7ENNZNJ4.js";import"../../chunk-DPR6SGCZ.js";import"../../chunk-3DWLPGTE.js";import"../../chunk-7BKWTY4S.js";import"../../chunk-V6YPUNZC.js";import"../../chunk-JNT54FPI.js";import"../../chunk-DLMFCDQX.js";import"../../chunk-LVW3MHTI.js";import{a as It,b as se,c as AF,d as Sl,f as At}from"../../chunk-VI2WKTN4.js";var sm=se((R1e,L2)=>{"use strict";var im=Object.defineProperty,N$=Object.getOwnPropertyDescriptor,B$=Object.getOwnPropertyNames,j$=Object.prototype.hasOwnProperty,F$=(e,t)=>{for(var r in t)im(e,r,{get:t[r],enumerable:!0})},L$=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of B$(t))!j$.call(e,o)&&o!==r&&im(e,o,{get:()=>t[o],enumerable:!(n=N$(t,o))||n.enumerable});return e},k$=e=>L$(im({},"__esModule",{value:!0}),e),F2={};F$(F2,{global:()=>$$});L2.exports=k$(F2);var $$=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()});var Gt=se((T1e,U2)=>{"use strict";var U$=Object.create,rs=Object.defineProperty,H$=Object.getOwnPropertyDescriptor,V$=Object.getOwnPropertyNames,G$=Object.getPrototypeOf,z$=Object.prototype.hasOwnProperty,Er=(e,t)=>rs(e,"name",{value:t,configurable:!0}),W$=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Y$=(e,t)=>{for(var r in t)rs(e,r,{get:t[r],enumerable:!0})},k2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of V$(t))!z$.call(e,o)&&o!==r&&rs(e,o,{get:()=>t[o],enumerable:!(n=H$(t,o))||n.enumerable});return e},K$=(e,t,r)=>(r=e!=null?U$(G$(e)):{},k2(t||!e||!e.__esModule?rs(r,"default",{value:e,enumerable:!0}):r,e)),J$=e=>k2(rs({},"__esModule",{value:!0}),e),X$=W$((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=Er((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=Er((p,h,m,y)=>{if(h&&typeof h=="object"||typeof h=="function")for(let g of o(h))!i.call(p,g)&&g!==m&&r(p,g,{get:Er(()=>h[g],"get"),enumerable:!(y=n(h,g))||y.enumerable});return p},"__copyProps"),u=Er(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),c={};s(c,{global:Er(()=>d,"global")}),t.exports=u(c);var d=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),$2={};Y$($2,{deprecate:()=>t4,logger:()=>zl,once:()=>cr,pretty:()=>Br});U2.exports=J$($2);var Q$=K$(X$(),1),{LOGLEVEL:Z$}=Q$.global,In={trace:1,debug:2,info:3,warn:4,error:5,silent:10},e4=Z$,la=In[e4]||In.info,zl={trace:Er((e,...t)=>{la<=In.trace&&console.trace(e,...t)},"trace"),debug:Er((e,...t)=>{la<=In.debug&&console.debug(e,...t)},"debug"),info:Er((e,...t)=>{la<=In.info&&console.info(e,...t)},"info"),warn:Er((e,...t)=>{la<=In.warn&&console.warn(e,...t)},"warn"),error:Er((e,...t)=>{la<=In.error&&console.error(e,...t)},"error"),log:Er((e,...t)=>{la<In.silent&&console.log(e,...t)},"log")},lm=new Set,cr=Er(e=>(t,...r)=>{if(!lm.has(t))return lm.add(t),zl[e](t,...r)},"once");cr.clear=()=>lm.clear();cr.trace=cr("trace");cr.debug=cr("debug");cr.info=cr("info");cr.warn=cr("warn");cr.error=cr("error");cr.log=cr("log");var t4=cr("warn"),Br=Er(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));i=n.exec(t[0]);)r.push(i[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}zl[e].apply(zl,r)},"pretty");Br.trace=Br("trace");Br.debug=Br("debug");Br.info=Br("info");Br.warn=Br("warn");Br.error=Br("error")});var um=se((O1e,H2)=>{H2.exports=Gt()});var Xr=se((P1e,G2)=>{"use strict";var cm=Object.defineProperty,r4=Object.getOwnPropertyDescriptor,n4=Object.getOwnPropertyNames,o4=Object.prototype.hasOwnProperty,a4=(e,t)=>{for(var r in t)cm(e,r,{get:t[r],enumerable:!0})},i4=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of n4(t))!o4.call(e,o)&&o!==r&&cm(e,o,{get:()=>t[o],enumerable:!(n=r4(t,o))||n.enumerable});return e},s4=e=>i4(cm({},"__esModule",{value:!0}),e),V2={};a4(V2,{ARGTYPES_INFO_REQUEST:()=>l9,ARGTYPES_INFO_RESPONSE:()=>u9,CHANNEL_CREATED:()=>c4,CHANNEL_WS_DISCONNECT:()=>u4,CONFIG_ERROR:()=>d4,CREATE_NEW_STORYFILE_REQUEST:()=>p4,CREATE_NEW_STORYFILE_RESPONSE:()=>f4,CURRENT_STORY_WAS_SET:()=>h4,DOCS_PREPARED:()=>m4,DOCS_RENDERED:()=>y4,FILE_COMPONENT_SEARCH_REQUEST:()=>b4,FILE_COMPONENT_SEARCH_RESPONSE:()=>g4,FORCE_REMOUNT:()=>E4,FORCE_RE_RENDER:()=>v4,GLOBALS_UPDATED:()=>w4,NAVIGATE_URL:()=>_4,PLAY_FUNCTION_THREW_EXCEPTION:()=>S4,PRELOAD_ENTRIES:()=>C4,PREVIEW_BUILDER_PROGRESS:()=>R4,PREVIEW_KEYDOWN:()=>T4,REGISTER_SUBSCRIPTION:()=>O4,REQUEST_WHATS_NEW_DATA:()=>t9,RESET_STORY_ARGS:()=>P4,RESULT_WHATS_NEW_DATA:()=>r9,SAVE_STORY_REQUEST:()=>i9,SAVE_STORY_RESPONSE:()=>s9,SELECT_STORY:()=>x4,SET_CONFIG:()=>q4,SET_CURRENT_STORY:()=>D4,SET_FILTER:()=>I4,SET_GLOBALS:()=>M4,SET_INDEX:()=>N4,SET_STORIES:()=>B4,SET_WHATS_NEW_CACHE:()=>n9,SHARED_STATE_CHANGED:()=>j4,SHARED_STATE_SET:()=>F4,STORIES_COLLAPSE_ALL:()=>L4,STORIES_EXPAND_ALL:()=>k4,STORY_ARGS_UPDATED:()=>$4,STORY_CHANGED:()=>U4,STORY_ERRORED:()=>H4,STORY_INDEX_INVALIDATED:()=>V4,STORY_MISSING:()=>G4,STORY_PREPARED:()=>z4,STORY_RENDERED:()=>Y4,STORY_RENDER_PHASE_CHANGED:()=>W4,STORY_SPECIFIED:()=>K4,STORY_THREW_EXCEPTION:()=>J4,STORY_UNCHANGED:()=>X4,TELEMETRY_ERROR:()=>a9,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>h9,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>m9,TESTING_MODULE_CRASH_REPORT:()=>c9,TESTING_MODULE_PROGRESS_REPORT:()=>d9,TESTING_MODULE_RUN_ALL_REQUEST:()=>f9,TESTING_MODULE_RUN_REQUEST:()=>p9,TESTING_MODULE_WATCH_MODE_REQUEST:()=>y9,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>o9,UNHANDLED_ERRORS_WHILE_PLAYING:()=>A4,UPDATE_GLOBALS:()=>Q4,UPDATE_QUERY_PARAMS:()=>Z4,UPDATE_STORY_ARGS:()=>e9,default:()=>l4});G2.exports=s4(V2);var dm=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",e))(dm||{}),l4=dm,{CHANNEL_WS_DISCONNECT:u4,CHANNEL_CREATED:c4,CONFIG_ERROR:d4,CREATE_NEW_STORYFILE_REQUEST:p4,CREATE_NEW_STORYFILE_RESPONSE:f4,CURRENT_STORY_WAS_SET:h4,DOCS_PREPARED:m4,DOCS_RENDERED:y4,FILE_COMPONENT_SEARCH_REQUEST:b4,FILE_COMPONENT_SEARCH_RESPONSE:g4,FORCE_RE_RENDER:v4,FORCE_REMOUNT:E4,GLOBALS_UPDATED:w4,NAVIGATE_URL:_4,PLAY_FUNCTION_THREW_EXCEPTION:S4,UNHANDLED_ERRORS_WHILE_PLAYING:A4,PRELOAD_ENTRIES:C4,PREVIEW_BUILDER_PROGRESS:R4,PREVIEW_KEYDOWN:T4,REGISTER_SUBSCRIPTION:O4,RESET_STORY_ARGS:P4,SELECT_STORY:x4,SET_CONFIG:q4,SET_CURRENT_STORY:D4,SET_FILTER:I4,SET_GLOBALS:M4,SET_INDEX:N4,SET_STORIES:B4,SHARED_STATE_CHANGED:j4,SHARED_STATE_SET:F4,STORIES_COLLAPSE_ALL:L4,STORIES_EXPAND_ALL:k4,STORY_ARGS_UPDATED:$4,STORY_CHANGED:U4,STORY_ERRORED:H4,STORY_INDEX_INVALIDATED:V4,STORY_MISSING:G4,STORY_PREPARED:z4,STORY_RENDER_PHASE_CHANGED:W4,STORY_RENDERED:Y4,STORY_SPECIFIED:K4,STORY_THREW_EXCEPTION:J4,STORY_UNCHANGED:X4,UPDATE_GLOBALS:Q4,UPDATE_QUERY_PARAMS:Z4,UPDATE_STORY_ARGS:e9,REQUEST_WHATS_NEW_DATA:t9,RESULT_WHATS_NEW_DATA:r9,SET_WHATS_NEW_CACHE:n9,TOGGLE_WHATS_NEW_NOTIFICATIONS:o9,TELEMETRY_ERROR:a9,SAVE_STORY_REQUEST:i9,SAVE_STORY_RESPONSE:s9,ARGTYPES_INFO_REQUEST:l9,ARGTYPES_INFO_RESPONSE:u9,TESTING_MODULE_CRASH_REPORT:c9,TESTING_MODULE_PROGRESS_REPORT:d9,TESTING_MODULE_RUN_REQUEST:p9,TESTING_MODULE_RUN_ALL_REQUEST:f9,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:h9,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:m9,TESTING_MODULE_WATCH_MODE_REQUEST:y9}=dm});var W2=se((x1e,z2)=>{z2.exports=Xr()});var Y2=se((exports,module)=>{"use strict";var Ce=Object.create,q=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Ie=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty,a=(e,t)=>q(e,"name",{value:t,configurable:!0}),z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Te=(e,t)=>{for(var r in t)q(e,r,{get:t[r],enumerable:!0})},ie=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xe(t))!je.call(e,o)&&o!==r&&q(e,o,{get:()=>t[o],enumerable:!(n=Ae(t,o))||n.enumerable});return e},j=(e,t,r)=>(r=e!=null?Ce(Ie(e)):{},ie(t||!e||!e.__esModule?q(r,"default",{value:e,enumerable:!0}):r,e)),Me=e=>ie(q({},"__esModule",{value:!0}),e),Z=z((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=a((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=a((p,h,m,y)=>{if(h&&typeof h=="object"||typeof h=="function")for(let g of o(h))!i.call(p,g)&&g!==m&&r(p,g,{get:a(()=>h[g],"get"),enumerable:!(y=n(h,g))||y.enumerable});return p},"__copyProps"),u=a(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),c={};s(c,{global:a(()=>d,"global")}),t.exports=u(c);var d=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),ue=z((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}a(r,"Similar"),r.prototype.get=function(n){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,n))return this.lastItem.val;if(o=this.indexOf(n),o>=0)return this.lastItem=this.list[o],this.list[o].val},r.prototype.set=function(n,o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,n)?(this.lastItem.val=o,this):(i=this.indexOf(n),i>=0?(this.lastItem=this.list[i],this.list[i].val=o,this):(this.lastItem={key:n,val:o},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(n){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,n)&&(this.lastItem=void 0),o=this.indexOf(n),o>=0)return this.size--,this.list.splice(o,1)[0]},r.prototype.has=function(n){var o;return this.lastItem&&this.isEqual(this.lastItem.key,n)?!0:(o=this.indexOf(n),o>=0?(this.lastItem=this.list[o],!0):!1)},r.prototype.forEach=function(n,o){var i;for(i=0;i<this.size;i++)n.call(o||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(n){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,n))return o;return-1},r.prototype.isEqual=function(n,o){return n===o||n!==n&&o!==o},t.exports=r}),pe=z((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var n=ue();return new n}else return new Map}}),he=z((e,t)=>{var r=pe();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(c){var d=a(function(){var p=l,h,m,y=arguments.length-1,g=Array(y+1),E=!0,b;if((d.numArgs||d.numArgs===0)&&d.numArgs!==y+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(b=0;b<y;b++){if(g[b]={cacheItem:p,arg:arguments[b]},p.has(arguments[b])){p=p.get(arguments[b]);continue}E=!1,h=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[b],h),p=h}return E&&(p.has(arguments[y])?m=p.get(arguments[y]):E=!1),E||(m=c.apply(null,arguments),p.set(arguments[y],m)),s>0&&(g[y]={cacheItem:p,arg:arguments[y]},E?n(u,g):u.push(g),u.length>s&&o(u.shift())),d.wasMemoized=E,d.numArgs=y+1,m},"memoizerific");return d.limit=s,d.wasMemoized=!1,d.cache=l,d.lru=u,d}};function n(s,l){var u=s.length,c=l.length,d,p,h;for(p=0;p<u;p++){for(d=!0,h=0;h<c;h++)if(!i(s[p][h].arg,l[h].arg)){d=!1;break}if(d)break}s.push(s.splice(p,1)[0])}a(n,"moveToMostRecentLru");function o(s){var l=s.length,u=s[l-1],c,d;for(u.cacheItem.delete(u.arg),d=l-2;d>=0&&(u=s[d],c=u.cacheItem.get(u.arg),!c||!c.size);d--)u.cacheItem.delete(u.arg)}a(o,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}a(i,"isEqual")}),ee=z((exports,module)=>{"use strict";var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=a((e,t)=>a(function(){return t||(0,e[__getOwnPropNames(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),__export=a((e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},"__export"),__copyProps=a((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of __getOwnPropNames(t))!__hasOwnProp.call(e,o)&&o!==r&&__defProp(e,o,{get:a(()=>t[o],"get"),enumerable:!(n=__getOwnPropDesc(t,o))||n.enumerable});return e},"__copyProps"),__toESM=a((e,t,r)=>(r=e!=null?__create(__getProtoOf(e)):{},__copyProps(t||!e||!e.__esModule?__defProp(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),__toCommonJS=a(e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),"__toCommonJS"),require_shams=__commonJS({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=a(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),require_has_symbols=__commonJS({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=require_shams();t.exports=a(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),require_implementation=__commonJS({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=a(function(s){var l=this;if(typeof l!="function"||o.call(l)!==i)throw new TypeError(r+l);for(var u=n.call(arguments,1),c,d=a(function(){if(this instanceof c){var g=l.apply(this,u.concat(n.call(arguments)));return Object(g)===g?g:this}else return l.apply(s,u.concat(n.call(arguments)))},"binder"),p=Math.max(0,l.length-u.length),h=[],m=0;m<p;m++)h.push("$"+m);if(c=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(d),l.prototype){var y=a(function(){},"Empty2");y.prototype=l.prototype,c.prototype=new y,y.prototype=null}return c},"bind")}}),require_function_bind=__commonJS({"node_modules/function-bind/index.js"(e,t){"use strict";var r=require_implementation();t.exports=Function.prototype.bind||r}}),require_src=__commonJS({"node_modules/has/src/index.js"(e,t){"use strict";var r=require_function_bind();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),require_get_intrinsic=__commonJS({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=SyntaxError,o=Function,i=TypeError,s=a(function(Y){try{return o('"use strict"; return ('+Y+").constructor;")()}catch{}},"getEvalledConstructor"),l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var u=a(function(){throw new i},"throwTypeError"),c=l?function(){try{return arguments.callee,u}catch{try{return l(arguments,"callee").get}catch{return u}}}():u,d=require_has_symbols()(),p=Object.getPrototypeOf||function(Y){return Y.__proto__},h={},m=typeof Uint8Array>"u"?r:p(Uint8Array),y={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!d?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!d?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":m,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=a(function Y(K){var _;if(K==="%AsyncFunction%")_=s("async function () {}");else if(K==="%GeneratorFunction%")_=s("function* () {}");else if(K==="%AsyncGeneratorFunction%")_=s("async function* () {}");else if(K==="%AsyncGenerator%"){var x=Y("%AsyncGeneratorFunction%");x&&(_=x.prototype)}else if(K==="%AsyncIteratorPrototype%"){var N=Y("%AsyncGenerator%");N&&(_=p(N.prototype))}return y[K]=_,_},"doEval2"),E={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=require_function_bind(),w=require_src(),P=b.call(Function.call,Array.prototype.concat),A=b.call(Function.apply,Array.prototype.splice),S=b.call(Function.call,String.prototype.replace),T=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,W=a(function(Y){var K=T(Y,0,1),_=T(Y,-1);if(K==="%"&&_!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(_==="%"&&K!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var x=[];return S(Y,O,function(N,le,ce,Re){x[x.length]=ce?S(Re,I,"$1"):le||N}),x},"stringToPath3"),X=a(function(Y,K){var _=Y,x;if(w(E,_)&&(x=E[_],_="%"+x[0]+"%"),w(y,_)){var N=y[_];if(N===h&&(N=g(_)),typeof N>"u"&&!K)throw new i("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:x,name:_,value:N}}throw new n("intrinsic "+Y+" does not exist!")},"getBaseIntrinsic2");t.exports=a(function(Y,K){if(typeof Y!="string"||Y.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof K!="boolean")throw new i('"allowMissing" argument must be a boolean');if(C(/^%?[^%]*%?$/,Y)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _=W(Y),x=_.length>0?_[0]:"",N=X("%"+x+"%",K),le=N.name,ce=N.value,Re=!1,Ne=N.alias;Ne&&(x=Ne[0],A(_,P([0,1],Ne)));for(var De=1,ye=!0;De<_.length;De+=1){var de=_[De],Ee=T(de,0,1),Oe=T(de,-1);if((Ee==='"'||Ee==="'"||Ee==="`"||Oe==='"'||Oe==="'"||Oe==="`")&&Ee!==Oe)throw new n("property names with quotes must have matching quotes");if((de==="constructor"||!ye)&&(Re=!0),x+="."+de,le="%"+x+"%",w(y,le))ce=y[le];else if(ce!=null){if(!(de in ce)){if(!K)throw new i("base intrinsic for "+Y+" exists, but the property is not available.");return}if(l&&De+1>=_.length){var ke=l(ce,de);ye=!!ke,ye&&"get"in ke&&!("originalValue"in ke.get)?ce=ke.get:ce=ce[de]}else ye=w(ce,de),ce=ce[de];ye&&!Re&&(y[le]=ce)}}return ce},"GetIntrinsic")}}),require_call_bind=__commonJS({"node_modules/call-bind/index.js"(e,t){"use strict";var r=require_function_bind(),n=require_get_intrinsic(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,o),l=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=a(function(p){var h=s(r,i,arguments);if(l&&u){var m=l(h,"length");m.configurable&&u(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h},"callBind");var d=a(function(){return s(r,o,arguments)},"applyBind2");u?u(t.exports,"apply",{value:d}):t.exports.apply=d}}),require_callBound=__commonJS({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=require_get_intrinsic(),n=require_call_bind(),o=n(r("String.prototype.indexOf"));t.exports=a(function(i,s){var l=r(i,!!s);return typeof l=="function"&&o(i,".prototype.")>-1?n(l):l},"callBoundIntrinsic")}}),require_shams2=__commonJS({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=require_shams();t.exports=a(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),require_is_regex=__commonJS({"node_modules/is-regex/index.js"(e,t){"use strict";var r=require_callBound(),n=require_shams2()(),o,i,s,l;n&&(o=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},u=a(function(){throw s},"throwRegexMarker"),l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,c=r("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=a(n?function(h){if(!h||typeof h!="object")return!1;var m=d(h,"lastIndex"),y=m&&o(m,"value");if(!y)return!1;try{i(h,l)}catch(g){return g===s}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p},"isRegex")}}),require_is_function=__commonJS({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}a(n,"isFunction3")}}),require_is_symbol=__commonJS({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=require_has_symbols()();n?(o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=a(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(o.call(l))},"isRealSymbolObject"),t.exports=a(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}},"isSymbol3")):t.exports=a(function(l){return!1},"isSymbol3");var o,i,s}}),src_exports={};__export(src_exports,{isJSON:a(()=>isJSON,"isJSON"),parse:a(()=>parse,"parse"),replacer:a(()=>replacer,"replacer"),reviver:a(()=>reviver2,"reviver"),stringify:a(()=>stringify,"stringify")}),module.exports=__toCommonJS(src_exports);var import_is_regex=__toESM(require_is_regex()),import_is_function=__toESM(require_is_function()),import_is_symbol=__toESM(require_is_symbol());function isObject(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}a(isObject,"isObject");var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal_default=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root2=freeGlobal_default||freeSelf||Function("return this")(),root_default=root2,Symbol2=root_default.Symbol,Symbol_default=Symbol2,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty.call(e,symToStringTag),r=e[symToStringTag];try{e[symToStringTag]=void 0;var n=!0}catch{}var o=nativeObjectToString.call(e);return n&&(t?e[symToStringTag]=r:delete e[symToStringTag]),o}a(getRawTag,"getRawTag");var getRawTag_default=getRawTag,objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(e){return nativeObjectToString2.call(e)}a(objectToString,"objectToString");var objectToString_default=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(e)?getRawTag_default(e):objectToString_default(e)}a(baseGetTag,"baseGetTag");var baseGetTag_default=baseGetTag;function isObjectLike(e){return e!=null&&typeof e=="object"}a(isObjectLike,"isObjectLike");var isObjectLike_default=isObjectLike,symbolTag="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||isObjectLike_default(e)&&baseGetTag_default(e)==symbolTag}a(isSymbol,"isSymbol");var isSymbol_default=isSymbol;function arrayMap(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}a(arrayMap,"arrayMap");var arrayMap_default=arrayMap,isArray=Array.isArray,isArray_default=isArray,INFINITY=1/0,symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(e){if(typeof e=="string")return e;if(isArray_default(e))return arrayMap_default(e,baseToString)+"";if(isSymbol_default(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return t=="0"&&1/e==-INFINITY?"-0":t}a(baseToString,"baseToString");var baseToString_default=baseToString;function isObject2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}a(isObject2,"isObject2");var isObject_default=isObject2,asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject_default(e))return!1;var t=baseGetTag_default(e);return t==funcTag||t==genTag||t==asyncTag||t==proxyTag}a(isFunction,"isFunction");var isFunction_default=isFunction,coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}a(isMasked,"isMasked");var isMasked_default=isMasked,funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(e){if(e!=null){try{return funcToString.call(e)}catch{}try{return e+""}catch{}}return""}a(toSource,"toSource");var toSource_default=toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject_default(e)||isMasked_default(e))return!1;var t=isFunction_default(e)?reIsNative:reIsHostCtor;return t.test(toSource_default(e))}a(baseIsNative,"baseIsNative");var baseIsNative_default=baseIsNative;function getValue(e,t){return e?.[t]}a(getValue,"getValue");var getValue_default=getValue;function getNative(e,t){var r=getValue_default(e,t);return baseIsNative_default(r)?r:void 0}a(getNative,"getNative");var getNative_default=getNative;function eq(e,t){return e===t||e!==e&&t!==t}a(eq,"eq");var eq_default=eq,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(e,t){if(isArray_default(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||isSymbol_default(e)?!0:reIsPlainProp.test(e)||!reIsDeepProp.test(e)||t!=null&&e in Object(t)}a(isKey,"isKey");var isKey_default=isKey,nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}a(hashClear,"hashClear");var hashClear_default=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}a(hashDelete,"hashDelete");var hashDelete_default=hashDelete,HASH_UNDEFINED="__lodash_hash_undefined__",objectProto4=Object.prototype,hasOwnProperty3=objectProto4.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate_default){var r=t[e];return r===HASH_UNDEFINED?void 0:r}return hasOwnProperty3.call(t,e)?t[e]:void 0}a(hashGet,"hashGet");var hashGet_default=hashGet,objectProto5=Object.prototype,hasOwnProperty4=objectProto5.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate_default?t[e]!==void 0:hasOwnProperty4.call(t,e)}a(hashHas,"hashHas");var hashHas_default=hashHas,HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nativeCreate_default&&t===void 0?HASH_UNDEFINED2:t,this}a(hashSet,"hashSet");var hashSet_default=hashSet;function Hash(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a(Hash,"Hash"),Hash.prototype.clear=hashClear_default,Hash.prototype.delete=hashDelete_default,Hash.prototype.get=hashGet_default,Hash.prototype.has=hashHas_default,Hash.prototype.set=hashSet_default;var Hash_default=Hash;function listCacheClear(){this.__data__=[],this.size=0}a(listCacheClear,"listCacheClear");var listCacheClear_default=listCacheClear;function assocIndexOf(e,t){for(var r=e.length;r--;)if(eq_default(e[r][0],t))return r;return-1}a(assocIndexOf,"assocIndexOf");var assocIndexOf_default=assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=assocIndexOf_default(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():splice.call(t,r,1),--this.size,!0}a(listCacheDelete,"listCacheDelete");var listCacheDelete_default=listCacheDelete;function listCacheGet(e){var t=this.__data__,r=assocIndexOf_default(t,e);return r<0?void 0:t[r][1]}a(listCacheGet,"listCacheGet");var listCacheGet_default=listCacheGet;function listCacheHas(e){return assocIndexOf_default(this.__data__,e)>-1}a(listCacheHas,"listCacheHas");var listCacheHas_default=listCacheHas;function listCacheSet(e,t){var r=this.__data__,n=assocIndexOf_default(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}a(listCacheSet,"listCacheSet");var listCacheSet_default=listCacheSet;function ListCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a(ListCache,"ListCache"),ListCache.prototype.clear=listCacheClear_default,ListCache.prototype.delete=listCacheDelete_default,ListCache.prototype.get=listCacheGet_default,ListCache.prototype.has=listCacheHas_default,ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache,Map2=getNative_default(root_default,"Map"),Map_default=Map2;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}a(mapCacheClear,"mapCacheClear");var mapCacheClear_default=mapCacheClear;function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}a(isKeyable,"isKeyable");var isKeyable_default=isKeyable;function getMapData(e,t){var r=e.__data__;return isKeyable_default(t)?r[typeof t=="string"?"string":"hash"]:r.map}a(getMapData,"getMapData");var getMapData_default=getMapData;function mapCacheDelete(e){var t=getMapData_default(this,e).delete(e);return this.size-=t?1:0,t}a(mapCacheDelete,"mapCacheDelete");var mapCacheDelete_default=mapCacheDelete;function mapCacheGet(e){return getMapData_default(this,e).get(e)}a(mapCacheGet,"mapCacheGet");var mapCacheGet_default=mapCacheGet;function mapCacheHas(e){return getMapData_default(this,e).has(e)}a(mapCacheHas,"mapCacheHas");var mapCacheHas_default=mapCacheHas;function mapCacheSet(e,t){var r=getMapData_default(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}a(mapCacheSet,"mapCacheSet");var mapCacheSet_default=mapCacheSet;function MapCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a(MapCache,"MapCache"),MapCache.prototype.clear=mapCacheClear_default,MapCache.prototype.delete=mapCacheDelete_default,MapCache.prototype.get=mapCacheGet_default,MapCache.prototype.has=mapCacheHas_default,MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache,FUNC_ERROR_TEXT="Expected a function";function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT);var r=a(function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s},"memoized");return r.cache=new(memoize.Cache||MapCache_default),r}a(memoize,"memoize"),memoize.Cache=MapCache_default;var memoize_default=memoize,MAX_MEMOIZE_SIZE=500;function memoizeCapped(e){var t=memoize_default(e,function(n){return r.size===MAX_MEMOIZE_SIZE&&r.clear(),n}),r=t.cache;return t}a(memoizeCapped,"memoizeCapped");var memoizeCapped_default=memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped_default(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rePropName,function(r,n,o,i){t.push(o?i.replace(reEscapeChar,"$1"):n||r)}),t}),stringToPath_default=stringToPath;function toString(e){return e==null?"":baseToString_default(e)}a(toString,"toString");var toString_default=toString;function castPath(e,t){return isArray_default(e)?e:isKey_default(e,t)?[e]:stringToPath_default(toString_default(e))}a(castPath,"castPath");var castPath_default=castPath,INFINITY2=1/0;function toKey(e){if(typeof e=="string"||isSymbol_default(e))return e;var t=e+"";return t=="0"&&1/e==-INFINITY2?"-0":t}a(toKey,"toKey");var toKey_default=toKey;function baseGet(e,t){t=castPath_default(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[toKey_default(t[r++])];return r&&r==n?e:void 0}a(baseGet,"baseGet");var baseGet_default=baseGet;function get(e,t,r){var n=e==null?void 0:baseGet_default(e,t);return n===void 0?r:n}a(get,"get");var get_default=get,import_memoizerific=__toESM(he()),eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(e){let t=eventProperties.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&customEventSpecificProperties.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}a(extractEventHiddenProperties,"extractEventHiddenProperties");var isObject3=isObject,removeCodeComments=a(e=>{let t=null,r=!1,n=!1,o=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;s<e.length;s+=1)!t&&!r&&!n&&!o?e[s]==='"'||e[s]==="'"||e[s]==="`"?t=e[s]:e[s]==="/"&&e[s+1]==="*"?r=!0:e[s]==="/"&&e[s+1]==="/"?n=!0:e[s]==="/"&&e[s+1]!=="/"&&(o=!0):(t&&(e[s]===t&&e[s-1]!=="\\"||e[s]===`
2
+ `&&t!=="`")&&(t=null),o&&(e[s]==="/"&&e[s-1]!=="\\"||e[s]===`
3
+ `)&&(o=!1),r&&e[s-1]==="/"&&e[s-2]==="*"&&(r=!1),n&&e[s]===`
4
+ `&&(n=!1)),!r&&!n&&(i+=e[s]);else i=e;return i},"removeCodeComments"),cleanCode=(0,import_memoizerific.default)(1e4)(e=>removeCodeComments(e).replace(/\n\s*/g,"").trim()),convertShorthandMethods=a(function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},"convertShorthandMethods2"),dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=a(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function convertUnconventionalData(e){if(!isObject3(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=extractEventHiddenProperties(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}a(convertUnconventionalData,"convertUnconventionalData");var replacer=a(function(e){let t,r,n,o;return a(function(i,s){try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return dateFormat.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,import_is_regex.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,import_is_function.default)(s)){if(!e.allowFunction)return;let{name:c}=s,d=s.toString();return d.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${cleanCode(convertShorthandMethods(i,d))}`}if((0,import_is_symbol.default)(s)){if(!e.allowSymbol)return;let c=Symbol.keyFor(s);return c!==void 0?`_gsymbol_${c}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!e.allowClass)return;let u=t.get(s);if(!u){let c=Array.isArray(s)?s:convertUnconventionalData(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":s.constructor.name})}catch{}return o.push(i),n.unshift(c),t.set(s,JSON.stringify(o)),s!==c&&r.set(s,c),c}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),reviver2=a(function reviver(options){let refs=[],root;return a(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=isJSON(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=get_default(root,n)})),key==="_constructor-name_")return value;if(isObject3(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(isObject3(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=a((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:a(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=a((e,t={})=>{let r={...defaultOptions,...t};return JSON.stringify(convertUnconventionalData(e),replacer(r),t.space)},"stringify"),mutator=a(()=>{let e=new Map;return a(function t(r){isObject3(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),parse=a((e,t={})=>{let r={...defaultOptions,...t},n=JSON.parse(e,reviver2(r));return mutator()(n),n},"parse")}),Xe={};Te(Xe,{Channel:()=>R,PostMessageTransport:()=>$,WebsocketTransport:()=>L,createBrowserChannel:()=>Ze,default:()=>Ye});module.exports=Me(Xe);var be=j(Z(),1),He=a(e=>e.transports!==void 0,"isMulti"),Ue=a(()=>Math.random().toString(16).slice(2),"generateRandomId"),ua,R=(ua=class{constructor(t={}){this.sender=Ue(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,He(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=a(()=>{this.transports.forEach(s=>{s.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=a((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}},a(ua,"Channel"),ua),v=j(Z(),1),D=Gt(),Je=j(Xr(),1),k=j(ee(),1),We=process.env.NODE_ENV==="production",te="Invariant failed";function G(e,t){if(!e){if(We)throw new Error(te);var r=typeof t=="function"?t():t,n=r?"".concat(te,": ").concat(r):te;throw new Error(n)}}a(G,"invariant");var _e=Gt(),ge=a(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(i=>{try{return i.contentWindow?.location.origin===e.source.location.origin&&i.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let s=i.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){let{protocol:i,host:s,pathname:l}=new URL(o,document.location.toString());return`${i}//${s}${l}`}return n.length>0&&_e.logger.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:re,location:ne}=v.global,me="storybook-channel",Be={allowFunction:!1,maxDepth:25},ca,$=(ca=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof v.global?.addEventListener=="function"&&v.global.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:c,allowClass:d,maxDepth:p,space:h,lazyEval:m}=r||{},y=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:c,allowClass:d,maxDepth:p,space:h,lazyEval:m}).filter(([P,A])=>typeof A<"u")),g={...Be,...v.global.CHANNEL_OPTIONS||{},...y},E=this.getFrames(n),b=new URLSearchParams(ne?.search||""),w=(0,k.stringify)({key:me,event:t,refId:b.get("refId")},g);return E.length?(this.buffer.length&&this.flush(),E.forEach(P=>{try{P.postMessage(w,"*")}catch{D.logger.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((P,A)=>{this.buffer.push({event:t,resolve:P,reject:A})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(re.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r?.length?r:this.getCurrentFrames()}return v.global&&v.global.parent&&v.global.parent!==v.global.self?[v.global.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(re.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):v.global&&v.global.parent?[v.global.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(re.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):v.global&&v.global.parent?[v.global.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:i}=typeof r=="string"&&(0,k.isJSON)(r)?(0,k.parse)(r,v.global.CHANNEL_OPTIONS||{}):r;if(n===me){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(Je).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:ge(t),!o.source){D.pretty.error(`${s} received ${l} but was unable to determine the source of the event`);return}let u=`${s} received ${l} (${r.length})`;D.pretty.debug(ne.origin!==o.source?u:`${u} <span style="color: gray">(on ${ne.origin} from ${o.source})</span>`,...o.args),G(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){D.logger.error(r)}}},a(ca,"PostMessageTransport"),ca),oe=j(Z(),1),ve=j(Xr(),1),H=j(ee(),1),{WebSocket:Ke}=oe.global,da,L=(da=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.socket=new Ke(t),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&(0,H.isJSON)(o)?(0,H.parse)(o):o;G(this.handler,"WebsocketTransport handler should be set"),this.handler(i)},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=()=>{G(this.handler,"WebsocketTransport handler should be set"),this.handler({type:ve.CHANNEL_WS_DISCONNECT,args:[],from:n||"preview"})}}setHandler(t){this.handler=t}send(t){this.isReady?this.sendNow(t):this.sendLater(t)}sendLater(t){this.buffer.push(t)}sendNow(t){let r=(0,H.stringify)(t,{maxDepth:15,allowFunction:!1,...oe.global.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}},a(da,"WebsocketTransport"),da),{CONFIG_TYPE:Ve}=be.global,Ye=R;function Ze({page:e,extraTransports:t=[]}){let r=[new $({page:e}),...t];if(Ve==="DEVELOPMENT"){let n=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,s=`${n}://${o}:${i}/storybook-server-channel`;r.push(new L({url:s,onError:a(()=>{},"onError"),page:e}))}return new R({transports:r})}a(Ze,"createBrowserChannel")});var Mn=se((q1e,Q2)=>{"use strict";var b9=Object.create,ns=Object.defineProperty,g9=Object.getOwnPropertyDescriptor,v9=Object.getOwnPropertyNames,E9=Object.getPrototypeOf,w9=Object.prototype.hasOwnProperty,qt=(e,t)=>ns(e,"name",{value:t,configurable:!0}),_9=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),S9=(e,t)=>{for(var r in t)ns(e,r,{get:t[r],enumerable:!0})},K2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of v9(t))!w9.call(e,o)&&o!==r&&ns(e,o,{get:()=>t[o],enumerable:!(n=g9(t,o))||n.enumerable});return e},A9=(e,t,r)=>(r=e!=null?b9(E9(e)):{},K2(t||!e||!e.__esModule?ns(r,"default",{value:e,enumerable:!0}):r,e)),C9=e=>K2(ns({},"__esModule",{value:!0}),e),R9=_9(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var s=i.reduce(function(c,d){var p=d.match(/\n([\t ]+|(?!\s).)/g);return p?c.concat(p.map(function(h){var m,y;return(y=(m=h.match(/[\t ]/g))===null||m===void 0?void 0:m.length)!==null&&y!==void 0?y:0})):c},[]);if(s.length){var l=new RegExp(`
5
+ [ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(c){return c.replace(l,`
6
+ `)})}i[0]=i[0].replace(/^\r?\n/,"");var u=i[0];return n.forEach(function(c,d){var p=u.match(/(?:^|\n)( *)$/),h=p?p[1]:"",m=c;typeof c=="string"&&c.includes(`
7
+ `)&&(m=String(c).split(`
8
+ `).map(function(y,g){return g===0?y:""+h+y}).join(`
9
+ `)),u+=m+i[d+1]}),u}qt(t,"dedent"),e.dedent=t,e.default=t}),J2={};S9(J2,{CalledExtractOnStoreError:()=>P9,CalledPreviewMethodBeforeInitializationError:()=>q9,Category:()=>X2,EmptyIndexError:()=>M9,ImplicitActionsDuringRendering:()=>O9,MdxFileWithNoCsfReferencesError:()=>I9,MissingRenderToCanvasError:()=>x9,MissingStoryAfterHmrError:()=>T9,MissingStoryFromCsfFileError:()=>B9,MountMustBeDestructuredError:()=>F9,NextJsSharpError:()=>$9,NextjsRouterMocksNotAvailable:()=>U9,NoRenderFunctionError:()=>L9,NoStoryMatchError:()=>N9,NoStoryMountedError:()=>k9,StoryIndexFetchError:()=>D9,StoryStoreAccessedBeforeInitializationError:()=>j9,UnknownArgTypesError:()=>H9,UnsupportedViewportDimensionError:()=>V9});Q2.exports=C9(J2);var zt=A9(R9(),1);function pm({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}qt(pm,"parseErrorCode");var Po,Wt=(Po=class extends Error{constructor(t){super(Po.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return pm({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${pm({code:r,category:n})}`:typeof t=="string"?i=t:Array.isArray(t)&&(i=`
10
+ ${t.map(s=>` - ${s}`).join(`
11
+ `)}`),`${o}${i!=null?`
12
+
13
+ More info: ${i}
14
+ `:""}`}},qt(Po,"StorybookError"),Po),X2=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e))(X2||{}),pa,T9=(pa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:1,message:zt.dedent`
15
+ Couldn't find story matching id '${t.storyId}' after HMR.
16
+ - Did you just rename a story?
17
+ - Did you remove it from your CSF file?
18
+ - Are you sure a story with the id '${t.storyId}' exists?
19
+ - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
20
+ - Also check the browser console and terminal for potential error messages.`}),this.data=t}},qt(pa,"MissingStoryAfterHmrError"),pa),fa,O9=(fa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:zt.dedent`
21
+ We detected that you use an implicit action arg while ${t.phase} of your story.
22
+ ${t.deprecated?`
23
+ This is deprecated and won't work in Storybook 8 anymore.
24
+ `:""}
25
+ Please provide an explicit spy to your args like this:
26
+ import { fn } from '@storybook/test';
27
+ ...
28
+ args: {
29
+ ${t.name}: fn()
30
+ }`}),this.data=t}},qt(fa,"ImplicitActionsDuringRendering"),fa),ha,P9=(ha=class extends Wt{constructor(){super({category:"PREVIEW_API",code:3,message:zt.dedent`
31
+ Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
32
+
33
+ You probably meant to call \`await preview.extract()\` which does the above for you.`})}},qt(ha,"CalledExtractOnStoreError"),ha),ma,x9=(ma=class extends Wt{constructor(){super({category:"PREVIEW_API",code:4,message:zt.dedent`
34
+ Expected your framework's preset to export a \`renderToCanvas\` field.
35
+
36
+ Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}},qt(ma,"MissingRenderToCanvasError"),ma),ya,q9=(ya=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:5,message:zt.dedent`
37
+ Called \`Preview.${t.methodName}()\` before initialization.
38
+
39
+ The preview needs to load the story index before most methods can be called. If you want
40
+ to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
41
+
42
+ If you didn't call the above code, then likely it was called by an addon that needs to
43
+ do the above.`}),this.data=t}},qt(ya,"CalledPreviewMethodBeforeInitializationError"),ya),ba,D9=(ba=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:6,message:zt.dedent`
44
+ Error fetching \`/index.json\`:
45
+
46
+ ${t.text}
47
+
48
+ If you are in development, this likely indicates a problem with your Storybook process,
49
+ check the terminal for errors.
50
+
51
+ If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
52
+ build.`}),this.data=t}},qt(ba,"StoryIndexFetchError"),ba),ga,I9=(ga=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:7,message:zt.dedent`
53
+ Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
54
+ references, or autodocs for a CSF file that some doesn't refer to itself.
55
+
56
+ This likely is an internal error in Storybook's indexing, or you've attached the
57
+ \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}},qt(ga,"MdxFileWithNoCsfReferencesError"),ga),va,M9=(va=class extends Wt{constructor(){super({category:"PREVIEW_API",code:8,message:zt.dedent`
58
+ Couldn't find any stories in your Storybook.
59
+
60
+ - Please check your stories field of your main.js config: does it match correctly?
61
+ - Also check the browser console and terminal for error messages.`})}},qt(va,"EmptyIndexError"),va),Ea,N9=(Ea=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:9,message:zt.dedent`
62
+ Couldn't find story matching '${t.storySpecifier}'.
63
+
64
+ - Are you sure a story with that id exists?
65
+ - Please check your stories field of your main.js config.
66
+ - Also check the browser console and terminal for error messages.`}),this.data=t}},qt(Ea,"NoStoryMatchError"),Ea),wa,B9=(wa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:10,message:zt.dedent`
67
+ Couldn't find story matching id '${t.storyId}' after importing a CSF file.
68
+
69
+ The file was indexed as if the story was there, but then after importing the file in the browser
70
+ we didn't find the story. Possible reasons:
71
+ - You are using a custom story indexer that is misbehaving.
72
+ - You have a custom file loader that is removing or renaming exports.
73
+
74
+ Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}},qt(wa,"MissingStoryFromCsfFileError"),wa),_a,j9=(_a=class extends Wt{constructor(){super({category:"PREVIEW_API",code:11,message:zt.dedent`
75
+ Cannot access the Story Store until the index is ready.
76
+
77
+ It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
78
+ remove access to the store entirely`})}},qt(_a,"StoryStoreAccessedBeforeInitializationError"),_a),Sa,F9=(Sa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:12,message:zt.dedent`
79
+ Incorrect use of mount in the play function.
80
+
81
+ To use mount in the play function, you must satisfy the following two requirements:
82
+
83
+ 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
84
+ This makes sure that Storybook does not start rendering the story before the play function begins.
85
+
86
+ 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
87
+ This is because destructuring statements and async/await usages are otherwise transpiled away,
88
+ which prevents Storybook from recognizing your usage of \`mount\`.
89
+
90
+ Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
91
+
92
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
93
+
94
+ Received the following play function:
95
+ ${t.playFunction}`}),this.data=t}},qt(Sa,"MountMustBeDestructuredError"),Sa),Aa,L9=(Aa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:14,message:zt.dedent`
96
+ No render function available for storyId '${t.id}'
97
+ `}),this.data=t}},qt(Aa,"NoRenderFunctionError"),Aa),Ca,k9=(Ca=class extends Wt{constructor(){super({category:"PREVIEW_API",code:15,message:zt.dedent`
98
+ No component is mounted in your story.
99
+
100
+ This usually occurs when you destructure mount in the play function, but forget to call it.
101
+
102
+ For example:
103
+
104
+ async play({ mount, canvasElement }) {
105
+ // 👈 mount should be called: await mount();
106
+ const canvas = within(canvasElement);
107
+ const button = await canvas.findByRole('button');
108
+ await userEvent.click(button);
109
+ };
110
+
111
+ Make sure to either remove it or call mount in your play function.
112
+ `})}},qt(Ca,"NoStoryMountedError"),Ca),Ra,$9=(Ra=class extends Wt{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:zt.dedent`
113
+ You are importing avif images, but you don't have sharp installed.
114
+
115
+ You have to install sharp in order to use image optimization features in Next.js.
116
+ `})}},qt(Ra,"NextJsSharpError"),Ra),Ta,U9=(Ta=class extends Wt{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:zt.dedent`
117
+ Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
118
+ `}),this.data=t}},qt(Ta,"NextjsRouterMocksNotAvailable"),Ta),Oa,H9=(Oa=class extends Wt{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:zt.dedent`
119
+ There was a failure when generating detailed ArgTypes in ${t.language} for:
120
+ ${JSON.stringify(t.type,null,2)}
121
+
122
+ Storybook will fall back to use a generic type description instead.
123
+
124
+ This type is either not supported or it is a bug in the docgen generation in Storybook.
125
+ If you think this is a bug, please detail it as much as possible in the Github issue.
126
+ `}),this.data=t}},qt(Oa,"UnknownArgTypesError"),Oa),Pa,V9=(Pa=class extends Wt{constructor(t){super({category:"ADDON_VITEST",code:1,message:zt.dedent`
127
+ Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
128
+
129
+ The Storybook plugin only supports values in the following units:
130
+ - px, vh, vw, em, rem and %.
131
+
132
+ You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
133
+ `}),this.data=t}},qt(Pa,"UnsupportedViewportDimensionError"),Pa)});var xa=se(Nn=>{"use strict";var G9=Object.create,rw=Object.defineProperty,z9=Object.getOwnPropertyDescriptor,W9=Object.getOwnPropertyNames,Y9=Object.getPrototypeOf,K9=Object.prototype.hasOwnProperty,J9=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),X9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of W9(t))!K9.call(e,o)&&o!==r&&rw(e,o,{get:()=>t[o],enumerable:!(n=z9(t,o))||n.enumerable});return e},Q9=(e,t,r)=>(r=e!=null?G9(Y9(e)):{},X9(t||!e||!e.__esModule?rw(r,"default",{value:e,enumerable:!0}):r,e)),Z9=J9(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return function s(l,u,c){var d,p,h,m=t.call(l),y=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),m!=y||(d=n(l),p=n(u),d.length!=p.length||d.some(function(g){return!s(l[g],u[g],c)})))return!1;switch(m.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":d=l.entries(),p=u.entries();do if(!s((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!s(l[h],u[h],c)))return!1;return!0;case"Object":return s(r(l),r(u),c);default:return!1}}(o,i,[])}}()});function eU(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var Z2=Q9(Z9()),nw=e=>e.map(t=>typeof t<"u").filter(Boolean).length,tU=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(nw([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,Z2.isEqual)(t,n);if(typeof o<"u")return!(0,Z2.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},rU=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(nw([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return tU(e.if,i)},ow=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),ew=(e,t)=>{let r=ow(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},nU=(e,t)=>`${ew(e,"kind")}${t?`--${ew(t,"name")}`:""}`,oU=e=>eU(e);function tw(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function aU(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||tw(e,t))&&(!r||!tw(e,r))}var iU=(e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),i=(o||e).split(r).filter(s=>!!s);return{root:o?n:null,groups:i}},sU=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};Nn.combineTags=sU;Nn.includeConditionalArg=rU;Nn.isExportStory=aU;Nn.parseKind=iU;Nn.sanitize=ow;Nn.storyNameFromExport=oU;Nn.toId=nU});var I_=se((I1e,D_)=>{"use strict";var lU=Object.create,ls=Object.defineProperty,uU=Object.getOwnPropertyDescriptor,cU=Object.getOwnPropertyNames,dU=Object.getPrototypeOf,pU=Object.prototype.hasOwnProperty,M=(e,t)=>ls(e,"name",{value:t,configurable:!0}),Dt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fU=(e,t)=>{for(var r in t)ls(e,r,{get:t[r],enumerable:!0})},Rw=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of cU(t))!pU.call(e,o)&&o!==r&&ls(e,o,{get:()=>t[o],enumerable:!(n=uU(t,o))||n.enumerable});return e},gt=(e,t,r)=>(r=e!=null?lU(dU(e)):{},Rw(t||!e||!e.__esModule?ls(r,"default",{value:e,enumerable:!0}):r,e)),hU=e=>Rw(ls({},"__esModule",{value:!0}),e),Zr=Dt((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=M((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=M((p,h,m,y)=>{if(h&&typeof h=="object"||typeof h=="function")for(let g of o(h))!i.call(p,g)&&g!==m&&r(p,g,{get:M(()=>h[g],"get"),enumerable:!(y=n(h,g))||y.enumerable});return p},"__copyProps"),u=M(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),c={};s(c,{global:M(()=>d,"global")}),t.exports=u(c);var d=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),mU=Dt((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}M(r,"Similar"),r.prototype.get=function(n){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,n))return this.lastItem.val;if(o=this.indexOf(n),o>=0)return this.lastItem=this.list[o],this.list[o].val},r.prototype.set=function(n,o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,n)?(this.lastItem.val=o,this):(i=this.indexOf(n),i>=0?(this.lastItem=this.list[i],this.list[i].val=o,this):(this.lastItem={key:n,val:o},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(n){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,n)&&(this.lastItem=void 0),o=this.indexOf(n),o>=0)return this.size--,this.list.splice(o,1)[0]},r.prototype.has=function(n){var o;return this.lastItem&&this.isEqual(this.lastItem.key,n)?!0:(o=this.indexOf(n),o>=0?(this.lastItem=this.list[o],!0):!1)},r.prototype.forEach=function(n,o){var i;for(i=0;i<this.size;i++)n.call(o||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(n){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,n))return o;return-1},r.prototype.isEqual=function(n,o){return n===o||n!==n&&o!==o},t.exports=r}),yU=Dt((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var n=mU();return new n}else return new Map}}),Tw=Dt((e,t)=>{var r=yU();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(c){var d=M(function(){var p=l,h,m,y=arguments.length-1,g=Array(y+1),E=!0,b;if((d.numArgs||d.numArgs===0)&&d.numArgs!==y+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(b=0;b<y;b++){if(g[b]={cacheItem:p,arg:arguments[b]},p.has(arguments[b])){p=p.get(arguments[b]);continue}E=!1,h=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[b],h),p=h}return E&&(p.has(arguments[y])?m=p.get(arguments[y]):E=!1),E||(m=c.apply(null,arguments),p.set(arguments[y],m)),s>0&&(g[y]={cacheItem:p,arg:arguments[y]},E?n(u,g):u.push(g),u.length>s&&o(u.shift())),d.wasMemoized=E,d.numArgs=y+1,m},"memoizerific");return d.limit=s,d.wasMemoized=!1,d.cache=l,d.lru=u,d}};function n(s,l){var u=s.length,c=l.length,d,p,h;for(p=0;p<u;p++){for(d=!0,h=0;h<c;h++)if(!i(s[p][h].arg,l[h].arg)){d=!1;break}if(d)break}s.push(s.splice(p,1)[0])}M(n,"moveToMostRecentLru");function o(s){var l=s.length,u=s[l-1],c,d;for(u.cacheItem.delete(u.arg),d=l-2;d>=0&&(u=s[d],c=u.cacheItem.get(u.arg),!c||!c.size);d--)u.cacheItem.delete(u.arg)}M(o,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}M(i,"isEqual")}),en=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var s=i.reduce(function(c,d){var p=d.match(/\n([\t ]+|(?!\s).)/g);return p?c.concat(p.map(function(h){var m,y;return(y=(m=h.match(/[\t ]/g))===null||m===void 0?void 0:m.length)!==null&&y!==void 0?y:0})):c},[]);if(s.length){var l=new RegExp(`
134
+ [ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(c){return c.replace(l,`
135
+ `)})}i[0]=i[0].replace(/^\r?\n/,"");var u=i[0];return n.forEach(function(c,d){var p=u.match(/(?:^|\n)( *)$/),h=p?p[1]:"",m=c;typeof c=="string"&&c.includes(`
136
+ `)&&(m=String(c).split(`
137
+ `).map(function(y,g){return g===0?y:""+h+y}).join(`
138
+ `)),u+=m+i[d+1]}),u}M(t,"dedent"),e.dedent=t,e.default=t}),Ow=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let s="",l=0,u=0;e:for(;u<i;u++){let c=o.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(s+=o.slice(l,u)),l=u+1,s+=t[c]),++u===i)break e;c=o.charCodeAt(u)}if(l<u&&(s+=o.slice(l,u)),c<2048){l=u+1,s+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,s+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=i)throw new Error("URI malformed");let d=o.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|d),s+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l<i?s+o.slice(l):s}M(n,"encodeString")}),Nm=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Ow(),r=M(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=M(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=M(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Pw=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=Nm(),r=Ow();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}M(n,"isPrototypeKey");function o(p,h,m,y,g){if(n(h))return p;let E=p[h];return typeof E=="object"&&E!==null?E:!y&&(g||typeof m=="number"||typeof m=="string"&&m*0===0&&m.indexOf(".")===-1)?p[h]=[]:p[h]={}}M(o,"getDeepObject");var i=20,s="[]",l="[",u="]",c=".";function d(p,h,m=0,y,g){let{nestingSyntax:E=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:w=t.defaultOptions.arrayRepeatSyntax,nesting:P=t.defaultOptions.nesting,delimiter:A=t.defaultOptions.delimiter,valueSerializer:S=t.defaultOptions.valueSerializer,shouldSerializeObject:T=t.defaultOptions.shouldSerializeObject}=h,C=typeof A=="number"?String.fromCharCode(A):A,O=g===!0&&b,I=E==="dot"||E==="js"&&!g;if(m>i)return"";let W="",X=!0,Y=!1;for(let K in p){let _=p[K],x;y?(x=y,O?w==="bracket"&&(x+=s):I?(x+=c,x+=K):(x+=l,x+=K,x+=u)):x=K,X||(W+=C),typeof _=="object"&&_!==null&&!T(_)?(Y=_.pop!==void 0,(P||b&&Y)&&(W+=d(_,h,m+1,x,Y))):(W+=(0,r.encodeString)(x),W+="=",W+=S(_,K)),X&&(X=!1)}return W}M(d,"stringifyObject")}),bU=Dt((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var c=u.indexOf("%");if(c===-1)return u;for(var d=u.length,p="",h=0,m=0,y=c,g=r;c>-1&&c<d;){var E=l(u[c+1],4),b=l(u[c+2],0),w=E|b,P=o[w];if(g=o[256+g+P],m=m<<6|w&o[364+P],g===r)p+=u.slice(h,y),p+=m<=65535?String.fromCharCode(m):String.fromCharCode(55232+(m>>10),56320+(m&1023)),m=0,h=c+3,c=y=u.indexOf("%",h);else{if(g===n)return null;if(c+=3,c<d&&u.charCodeAt(c)===37)continue;return null}}return p+u.slice(h)}M(i,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,c){var d=s[u];return d===void 0?255:d<<c}M(l,"hexCodeToInt"),t.exports=i}),gU=Dt(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=Pw(),n=Nm(),o=t(bU()),i=M(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=M(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,u=M(function(){},"Empty");u.prototype=Object.create(null);function c(p,h,m,y,g){let E=p.substring(h,m);return y&&(E=E.replace(l," ")),g&&(E=(0,o.default)(E)||E),E}M(c,"computeKeySlice");function d(p,h){let{valueDeserializer:m=n.defaultOptions.valueDeserializer,keyDeserializer:y=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=n.defaultOptions.arrayRepeatSyntax,nesting:E=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:w=n.defaultOptions.nestingSyntax,delimiter:P=n.defaultOptions.delimiter}=h??{},A=typeof P=="string"?P.charCodeAt(0):P,S=w==="js",T=new u;if(typeof p!="string")return T;let C=p.length,O="",I=-1,W=-1,X=-1,Y=T,K,_="",x="",N=!1,le=!1,ce=!1,Re=!1,Ne=!1,De=!1,ye=!1,de=0,Ee=-1,Oe=-1,ke=-1;for(let Fe=0;Fe<C+1;Fe++){if(de=Fe!==C?p.charCodeAt(Fe):A,de===A){if(ye=W>I,ye||(W=Fe),X!==W-1&&(x=c(p,X+1,Ee>-1?Ee:W,ce,N),_=y(x),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S&&Ne,S&&De))),ye||_!==""){ye&&(O=p.slice(W+1,Fe),Re&&(O=O.replace(l," ")),le&&(O=(0,o.default)(O)||O));let ze=m(O,_);if(b){let dt=Y[_];dt===void 0?Ee>-1?Y[_]=[ze]:Y[_]=ze:dt.pop?dt.push(ze):Y[_]=[dt,ze]}else Y[_]=ze}O="",I=Fe,W=Fe,N=!1,le=!1,ce=!1,Re=!1,Ne=!1,De=!1,Ee=-1,X=Fe,Y=T,K=void 0,_=""}else de===93?(b&&g==="bracket"&&ke===91&&(Ee=Oe),E&&(w==="index"||S)&&W<=I&&(X!==Oe&&(x=c(p,X+1,Fe,ce,N),_=y(x),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,void 0,S)),K=_,ce=!1,N=!1),X=Fe,De=!0,Ne=!1)):de===46?E&&(w==="dot"||S)&&W<=I&&(X!==Oe&&(x=c(p,X+1,Fe,ce,N),_=y(x),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S)),K=_,ce=!1,N=!1),Ne=!0,De=!1,X=Fe):de===91?E&&(w==="index"||S)&&W<=I&&(X!==Oe&&(x=c(p,X+1,Fe,ce,N),_=y(x),S&&K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S)),K=_,ce=!1,N=!1,Ne=!1,De=!0),X=Fe):de===61?W<=I?W=Fe:le=!0:de===43?W>I?Re=!0:ce=!0:de===37&&(W>I?le=!0:N=!0);Oe=Fe,ke=de}return T}M(d,"parse")}),vU=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Pw();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}M(r,"stringify")}),Bm=Dt(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(s,l);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:M(function(){return s[l]},"get")}),Object.defineProperty(i,u,c)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),r=e&&e.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=gU();Object.defineProperty(e,"parse",{enumerable:!0,get:M(function(){return n.parse},"get")});var o=vU();Object.defineProperty(e,"stringify",{enumerable:!0,get:M(function(){return o.stringify},"get")}),r(Nm(),e)}),xw=Dt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
139
+ `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),EU=Dt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),qw=Dt((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),wU=Dt((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),_U=Dt(e=>{"use strict";var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(wU()),n=String.fromCodePoint||function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function o(i){return i>=55296&&i<=57343||i>1114111?"\uFFFD":(i in r.default&&(i=r.default[i]),n(i))}M(o,"decodeCodePoint"),e.default=o}),aw=Dt(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(xw()),n=t(EU()),o=t(qw()),i=t(_U()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=c(d);return function(h){return String(h).replace(s,p)}}M(l,"getStrictDecoder");var u=M(function(d,p){return d<p?1:-1},"sorter");e.decodeHTML=function(){for(var d=Object.keys(n.default).sort(u),p=Object.keys(r.default).sort(u),h=0,m=0;h<p.length;h++)d[m]===p[h]?(p[h]+=";?",m++):p[h]+=";";var y=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),g=c(r.default);function E(b){return b.substr(-1)!==";"&&(b+=";"),g(b)}return M(E,"replacer"),function(b){return String(b).replace(y,E)}}();function c(d){return M(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}M(c,"getReplacer")}),iw=Dt(e=>{"use strict";var t=e&&e.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(qw()),n=u(r.default),o=c(n);e.encodeXML=b(n);var i=t(xw()),s=u(i.default),l=c(s);e.encodeHTML=m(s,l),e.encodeNonAsciiHTML=b(s);function u(w){return Object.keys(w).sort().reduce(function(P,A){return P[w[A]]="&"+A+";",P},{})}M(u,"getInverseObj");function c(w){for(var P=[],A=[],S=0,T=Object.keys(w);S<T.length;S++){var C=T[S];C.length===1?P.push("\\"+C):A.push(C)}P.sort();for(var O=0;O<P.length-1;O++){for(var I=O;I<P.length-1&&P[I].charCodeAt(1)+1===P[I+1].charCodeAt(1);)I+=1;var W=1+I-O;W<3||P.splice(O,W,P[O]+"-"+P[I])}return A.unshift("["+P.join("")+"]"),new RegExp(A.join("|"),"g")}M(c,"getInverseReplacer");var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?function(w){return w.codePointAt(0)}:function(w){return(w.charCodeAt(0)-55296)*1024+w.charCodeAt(1)-56320+65536};function h(w){return"&#x"+(w.length>1?p(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}M(h,"singleCharReplacer");function m(w,P){return function(A){return A.replace(P,function(S){return w[S]}).replace(d,h)}}M(m,"getInverse");var y=new RegExp(o.source+"|"+d.source,"g");function g(w){return w.replace(y,h)}M(g,"escape"),e.escape=g;function E(w){return w.replace(o,h)}M(E,"escapeUTF8"),e.escapeUTF8=E;function b(w){return function(P){return P.replace(y,function(A){return w[A]||h(A)})}}M(b,"getASCIIEncoder")}),SU=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=aw(),r=iw();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}M(n,"decode"),e.decode=n;function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}M(o,"decodeStrict"),e.decodeStrict=o;function i(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}M(i,"encode"),e.encode=i;var s=iw();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:M(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:M(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:M(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:M(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:M(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:M(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:M(function(){return s.encodeHTML},"get")});var l=aw();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:M(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:M(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:M(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:M(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:M(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:M(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:M(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:M(function(){return l.decodeXML},"get")})}),AU=Dt((e,t)=>{"use strict";function r(_,x){if(!(_ instanceof x))throw new TypeError("Cannot call a class as a function")}M(r,"_classCallCheck");function n(_,x){for(var N=0;N<x.length;N++){var le=x[N];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(_,le.key,le)}}M(n,"_defineProperties");function o(_,x,N){return x&&n(_.prototype,x),N&&n(_,N),_}M(o,"_createClass");function i(_,x){var N=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!N){if(Array.isArray(_)||(N=s(_))||x&&_&&typeof _.length=="number"){N&&(_=N);var le=0,ce=M(function(){},"F");return{s:ce,n:M(function(){return le>=_.length?{done:!0}:{done:!1,value:_[le++]}},"n"),e:M(function(ye){throw ye},"e"),f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
140
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Re=!0,Ne=!1,De;return{s:M(function(){N=N.call(_)},"s"),n:M(function(){var ye=N.next();return Re=ye.done,ye},"n"),e:M(function(ye){Ne=!0,De=ye},"e"),f:M(function(){try{!Re&&N.return!=null&&N.return()}finally{if(Ne)throw De}},"f")}}M(i,"_createForOfIteratorHelper");function s(_,x){if(_){if(typeof _=="string")return l(_,x);var N=Object.prototype.toString.call(_).slice(8,-1);if(N==="Object"&&_.constructor&&(N=_.constructor.name),N==="Map"||N==="Set")return Array.from(_);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return l(_,x)}}M(s,"_unsupportedIterableToArray");function l(_,x){(x==null||x>_.length)&&(x=_.length);for(var N=0,le=new Array(x);N<x;N++)le[N]=_[N];return le}M(l,"_arrayLikeToArray");var u=SU(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var _={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return w(0,5).forEach(function(x){w(0,5).forEach(function(N){w(0,5).forEach(function(le){return p(x,N,le,_)})})}),w(0,23).forEach(function(x){var N=x+232,le=h(x*10+8);_[N]="#"+le+le+le}),_}M(d,"getDefaultColors");function p(_,x,N,le){var ce=16+_*36+x*6+N,Re=_>0?_*40+55:0,Ne=x>0?x*40+55:0,De=N>0?N*40+55:0;le[ce]=m([Re,Ne,De])}M(p,"setStyleColor");function h(_){for(var x=_.toString(16);x.length<2;)x="0"+x;return x}M(h,"toHexString");function m(_){var x=[],N=i(_),le;try{for(N.s();!(le=N.n()).done;){var ce=le.value;x.push(h(ce))}}catch(Re){N.e(Re)}finally{N.f()}return"#"+x.join("")}M(m,"toColorHexString");function y(_,x,N,le){var ce;return x==="text"?ce=S(N,le):x==="display"?ce=E(_,N,le):x==="xterm256Foreground"?ce=O(_,le.colors[N]):x==="xterm256Background"?ce=I(_,le.colors[N]):x==="rgb"&&(ce=g(_,N)),ce}M(y,"generateOutput");function g(_,x){x=x.substring(2).slice(0,-1);var N=+x.substr(0,2),le=x.substring(5).split(";"),ce=le.map(function(Re){return("0"+Number(Re).toString(16)).substr(-2)}).join("");return C(_,(N===38?"color:#":"background-color:#")+ce)}M(g,"handleRgb");function E(_,x,N){x=parseInt(x,10);var le={"-1":M(function(){return"<br/>"},"_"),0:M(function(){return _.length&&b(_)},"_"),1:M(function(){return T(_,"b")},"_"),3:M(function(){return T(_,"i")},"_"),4:M(function(){return T(_,"u")},"_"),8:M(function(){return C(_,"display:none")},"_"),9:M(function(){return T(_,"strike")},"_"),22:M(function(){return C(_,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:M(function(){return W(_,"i")},"_"),24:M(function(){return W(_,"u")},"_"),39:M(function(){return O(_,N.fg)},"_"),49:M(function(){return I(_,N.bg)},"_"),53:M(function(){return C(_,"text-decoration:overline")},"_")},ce;return le[x]?ce=le[x]():4<x&&x<7?ce=T(_,"blink"):29<x&&x<38?ce=O(_,N.colors[x-30]):39<x&&x<48?ce=I(_,N.colors[x-40]):89<x&&x<98?ce=O(_,N.colors[8+(x-90)]):99<x&&x<108&&(ce=I(_,N.colors[8+(x-100)])),ce}M(E,"handleDisplay");function b(_){var x=_.slice(0);return _.length=0,x.reverse().map(function(N){return"</"+N+">"}).join("")}M(b,"resetStyles");function w(_,x){for(var N=[],le=_;le<=x;le++)N.push(le);return N}M(w,"range");function P(_){return function(x){return(_===null||x.category!==_)&&_!=="all"}}M(P,"notCategory");function A(_){_=parseInt(_,10);var x=null;return _===0?x="all":_===1?x="bold":2<_&&_<5?x="underline":4<_&&_<7?x="blink":_===8?x="hide":_===9?x="strike":29<_&&_<38||_===39||89<_&&_<98?x="foreground-color":(39<_&&_<48||_===49||99<_&&_<108)&&(x="background-color"),x}M(A,"categoryForCode");function S(_,x){return x.escapeXML?u.encodeXML(_):_}M(S,"pushText");function T(_,x,N){return N||(N=""),_.push(x),"<".concat(x).concat(N?' style="'.concat(N,'"'):"",">")}M(T,"pushTag");function C(_,x){return T(_,"span",x)}M(C,"pushStyle");function O(_,x){return T(_,"span","color:"+x)}M(O,"pushForegroundColor");function I(_,x){return T(_,"span","background-color:"+x)}M(I,"pushBackgroundColor");function W(_,x){var N;if(_.slice(-1)[0]===x&&(N=_.pop()),N)return"</"+x+">"}M(W,"closeTag");function X(_,x,N){var le=!1,ce=3;function Re(){return""}M(Re,"remove");function Ne(Se,$e){return N("xterm256Foreground",$e),""}M(Ne,"removeXterm256Foreground");function De(Se,$e){return N("xterm256Background",$e),""}M(De,"removeXterm256Background");function ye(Se){return x.newline?N("display",-1):N("text",Se),""}M(ye,"newline");function de(Se,$e){le=!0,$e.trim().length===0&&($e="0"),$e=$e.trimRight(";").split(";");var tt=i($e),Ut;try{for(tt.s();!(Ut=tt.n()).done;){var $i=Ut.value;N("display",$i)}}catch(Ui){tt.e(Ui)}finally{tt.f()}return""}M(de,"ansiMess");function Ee(Se){return N("text",Se),""}M(Ee,"realText");function Oe(Se){return N("rgb",Se),""}M(Oe,"rgb");var ke=[{pattern:/^\x08+/,sub:Re},{pattern:/^\x1b\[[012]?K/,sub:Re},{pattern:/^\x1b\[\(B/,sub:Re},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Oe},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Ne},{pattern:/^\x1b\[48;5;(\d+)m/,sub:De},{pattern:/^\n/,sub:ye},{pattern:/^\r+\n/,sub:ye},{pattern:/^\r/,sub:ye},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:de},{pattern:/^\x1b\[\d?J/,sub:Re},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Re},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Re},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ee}];function Fe(Se,$e){$e>ce&&le||(le=!1,_=_.replace(Se.pattern,Se.sub))}M(Fe,"process");var ze=[],dt=_,Q=dt.length;e:for(;Q>0;){for(var Le=0,Ge=0,et=ke.length;Ge<et;Le=++Ge){var J=ke[Le];if(Fe(J,Le),_.length!==Q){Q=_.length;continue e}}if(_.length===Q)break;ze.push(0),Q=_.length}return ze}M(X,"tokenize");function Y(_,x,N){return x!=="text"&&(_=_.filter(P(A(N))),_.push({token:x,data:N,category:A(N)})),_}M(Y,"updateStickyStack");var K=function(){function _(x){r(this,_),x=x||{},x.colors&&(x.colors=Object.assign({},c.colors,x.colors)),this.options=Object.assign({},c,x),this.stack=[],this.stickyStack=[]}return M(_,"Filter"),o(_,[{key:"toHtml",value:M(function(x){var N=this;x=typeof x=="string"?[x]:x;var le=this.stack,ce=this.options,Re=[];return this.stickyStack.forEach(function(Ne){var De=y(le,Ne.token,Ne.data,ce);De&&Re.push(De)}),X(x.join(""),ce,function(Ne,De){var ye=y(le,Ne,De,ce);ye&&Re.push(ye),ce.stream&&(N.stickyStack=Y(N.stickyStack,Ne,De))}),le.length&&Re.push(b(le)),Re.join("")},"toHtml")}]),_}();t.exports=K}),Dw={};fU(Dw,{DocsContext:()=>ey,HooksContext:()=>Fm,Preview:()=>m_,PreviewWeb:()=>fH,PreviewWithSelection:()=>w_,StoryStore:()=>p_,UrlStore:()=>T_,WebView:()=>P_,addons:()=>Ln,applyHooks:()=>Mw,combineArgs:()=>Ql,combineParameters:()=>kn,composeConfigs:()=>Qa,composeStepRunners:()=>Qm,composeStories:()=>u_,composeStory:()=>Zm,createPlaywrightTest:()=>c_,decorateStory:()=>Gm,defaultDecorateStory:()=>Wm,filterArgTypes:()=>a_,inferControls:()=>Xm,makeDecorator:()=>PU,mockChannel:()=>jm,normalizeStory:()=>ou,prepareMeta:()=>Ym,prepareStory:()=>au,sanitizeStoryContextUpdate:()=>zm,setDefaultProjectAnnotations:()=>i_,setProjectAnnotations:()=>l_,simulateDOMContentLoaded:()=>ru,simulatePageLoad:()=>q_,sortStoriesV7:()=>U6,useArgs:()=>Hw,useCallback:()=>Ja,useChannel:()=>$w,useEffect:()=>Hm,useGlobals:()=>Vw,useMemo:()=>Bw,useParameter:()=>Uw,useReducer:()=>kw,useRef:()=>jw,useState:()=>Lw,useStoryContext:()=>cs,userOrAutoTitle:()=>F6,userOrAutoTitleFromSpecifier:()=>h_});D_.exports=hU(Dw);var fm=gt(Zr(),1),CU=Y2();function jm(){let e={setHandler:M(()=>{},"setHandler"),send:M(()=>{},"send")};return new CU.Channel({transport:e})}M(jm,"mockChannel");var Ma,RU=(Ma=class{constructor(){this.getChannel=M(()=>{if(!this.channel){let t=jm();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=M(()=>this.promise,"ready"),this.hasChannel=M(()=>!!this.channel,"hasChannel"),this.setChannel=M(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}},M(Ma,"AddonStore"),Ma),hm="__STORYBOOK_ADDONS_PREVIEW";function Iw(){return fm.global[hm]||(fm.global[hm]=new RU),fm.global[hm]}M(Iw,"getAddonsStore");var Ln=Iw(),Yl=gt(Zr(),1),as=Gt(),Ka=Xr(),Na,Fm=(Na=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=M(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Ln.getChannel().on(Ka.STORY_RENDERED,this.renderListener)}removeRenderListeners(){Ln.getChannel().removeListener(Ka.STORY_RENDERED,this.renderListener)}},M(Na,"HooksContext"),Na);function Sm(e){let t=M((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,s=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=Yl.global.STORYBOOK_HOOKS_CONTEXT;Yl.global.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Yl.global.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=s,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}M(Sm,"hookify");var mm=0,TU=25,Mw=M(e=>(t,r)=>{let n=e(Sm(t),r.map(o=>Sm(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let s=n(o);for(mm=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=n(o),mm+=1,mm>TU)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),OU=M((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Lm=M(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function km(){return Yl.global.STORYBOOK_HOOKS_CONTEXT||null}M(km,"getHooksContextOrNull");function nu(){let e=km();if(e==null)throw Lm();return e}M(nu,"getHooksContextOrThrow");function Nw(e,t,r){let n=nu();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&as.logger.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&as.logger.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&as.logger.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&as.logger.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
141
+ Previous: ${o.deps}
142
+ Incoming: ${r}`),(r==null||o.deps==null||!OU(r,o.deps))&&(t(o),o.deps=r),o}throw Lm()}M(Nw,"useHook");function us(e,t,r){let{memoizedState:n}=Nw(e,o=>{o.memoizedState=t()},r);return n}M(us,"useMemoLike");function Bw(e,t){return us("useMemo",e,t)}M(Bw,"useMemo");function Ja(e,t){return us("useCallback",()=>e,t)}M(Ja,"useCallback");function $m(e,t){return us(e,()=>({current:t}),[])}M($m,"useRefLike");function jw(e){return $m("useRef",e)}M(jw,"useRef");function Fw(){let e=km();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Ln.getChannel().emit(Ka.FORCE_RE_RENDER)}catch{as.logger.warn("State updates of Storybook preview hooks work only in browser")}}M(Fw,"triggerUpdate");function Um(e,t){let r=$m(e,typeof t=="function"?t():t),n=M(o=>{r.current=typeof o=="function"?o(r.current):o,Fw()},"setState");return[r.current,n]}M(Um,"useStateLike");function Lw(e){return Um("useState",e)}M(Lw,"useState");function kw(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=Um("useReducer",n);return[o,M(s=>i(l=>e(l,s)),"dispatch")]}M(kw,"useReducer");function Hm(e,t){let r=nu(),n=us("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}M(Hm,"useEffect");function $w(e,t=[]){let r=Ln.getChannel();return Hm(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Ja(r.emit.bind(r),[r])}M($w,"useChannel");function cs(){let{currentContext:e}=nu();if(e==null)throw Lm();return e}M(cs,"useStoryContext");function Uw(e,t){let{parameters:r}=cs();if(e)return r[e]??t}M(Uw,"useParameter");function Hw(){let e=Ln.getChannel(),{id:t,args:r}=cs(),n=Ja(i=>e.emit(Ka.UPDATE_STORY_ARGS,{storyId:t,updatedArgs:i}),[e,t]),o=Ja(i=>e.emit(Ka.RESET_STORY_ARGS,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}M(Hw,"useArgs");function Vw(){let e=Ln.getChannel(),{globals:t}=cs(),r=Ja(n=>e.emit(Ka.UPDATE_GLOBALS,{globals:n}),[e]);return[t,r]}M(Vw,"useGlobals");var PU=M(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=M(i=>(s,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!i&&!u?s(l):r(s,l,{options:i,parameters:u})},"decorator");return(...i)=>typeof i[0]=="function"?o()(...i):(...s)=>{if(s.length>1)return i.length>1?o(i)(...s):o(...i)(...s);throw new Error(`Passing stories directly into ${e}() is not allowed,
143
+ instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator"),sw=Gt(),lw=Mn();function Gw(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[i,s]=n[o];t(s,i)||(r[i]=s)}return r}M(Gw,"omitBy");function zw(e,t){let r={};for(let n=0;n<t.length;n++){let o=t[n];Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}M(zw,"pick");function Ww(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[i,s]=n[o];t(s,i)&&(r[i]=s)}return r}M(Ww,"pickBy");function jr(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(e.toString()!=="[object Object]")return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}M(jr,"isPlainObject");function Do(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];r[i]=t(s,i,e)}return r}M(Do,"mapValues");var xU="[object RegExp]",qU="[object String]",DU="[object Number]",IU="[object Boolean]",uw="[object Arguments]",MU="[object Symbol]",NU="[object Date]",BU="[object Map]",jU="[object Set]",FU="[object Array]",LU="[object Function]",kU="[object ArrayBuffer]",ym="[object Object]",$U="[object Error]",UU="[object DataView]",HU="[object Uint8Array]",VU="[object Uint8ClampedArray]",GU="[object Uint16Array]",zU="[object Uint32Array]",WU="[object BigUint64Array]",YU="[object Int8Array]",KU="[object Int16Array]",JU="[object Int32Array]",XU="[object BigInt64Array]",QU="[object Float32Array]",ZU="[object Float64Array]";function Am(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}M(Am,"getSymbols");function Cm(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}M(Cm,"getTag");function Yw(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Qr(e,t)}return Qr(e,t)}M(Yw,"isEqual");function Qr(e,t,r){if(Object.is(e,t))return!0;let n=Cm(e),o=Cm(t);if(n===uw&&(n=ym),o===uw&&(o=ym),n!==o)return!1;switch(n){case qU:return e.toString()===t.toString();case DU:{let l=e.valueOf(),u=t.valueOf();return l===u||Number.isNaN(l)&&Number.isNaN(u)}case IU:case NU:case MU:return Object.is(e.valueOf(),t.valueOf());case xU:return e.source===t.source&&e.flags===t.flags;case LU:return e===t}r=r??new Map;let i=r.get(e),s=r.get(t);if(i!=null&&s!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(n){case BU:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!Qr(u,t.get(l),r))return!1;return!0}case jU:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let c=0;c<l.length;c++){let d=l[c],p=u.findIndex(h=>Qr(d,h,r));if(p===-1)return!1;u.splice(p,1)}return!0}case FU:case HU:case VU:case GU:case zU:case WU:case YU:case KU:case JU:case XU:case QU:case ZU:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!Qr(e[l],t[l],r))return!1;return!0}case kU:return e.byteLength!==t.byteLength?!1:Qr(new Uint8Array(e),new Uint8Array(t),r);case UU:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Qr(e.buffer,t.buffer,r);case $U:return e.name===t.name&&e.message===t.message;case ym:{if(!(Qr(e.constructor,t.constructor,r)||jr(e)&&jr(t)))return!1;let l=[...Object.keys(e),...Am(e)],u=[...Object.keys(t),...Am(t)];if(l.length!==u.length)return!1;for(let c=0;c<l.length;c++){let d=l[c],p=e[d];if(!Object.prototype.hasOwnProperty.call(t,d))return!1;let h=t[d];if(!Qr(p,h,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}M(Qr,"areObjectsEqual");var bm=gt(Tw(),1),gm=Gt(),cw=gt(en(),1),Da=Symbol("incompatible"),Rm=M((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Da:e.reduce((n,o,i)=>{let s=Rm(o,{type:r.value});return s!==Da&&(n[i]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Da:Object.entries(e).reduce((n,[o,i])=>{let s=Rm(i,{type:r.value[o]});return s===Da?n:Object.assign(n,{[o]:s})},{});default:return Da}},"map"),e6=M((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=Rm(o,t[n]);return i===Da?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),Ql=M((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Ql(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!jr(e)||!jr(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Ql(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),t6=M((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(M(i,"allowArg"),!o)return i();if(!Array.isArray(o))return gm.once.error(cw.dedent`
144
+ Invalid argType: '${n}.options' should be an array.
145
+
146
+ More info: https://storybook.js.org/docs/api/arg-types
147
+ `),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return gm.once.error(cw.dedent`
148
+ Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
149
+
150
+ More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
151
+ `),i();let s=Array.isArray(e[n]),l=s&&e[n].findIndex(p=>!o.includes(p)),u=s&&l===-1;if(e[n]===void 0||o.includes(e[n])||u)return i();let c=s?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return gm.once.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),is=Symbol("Deeply equal"),Zl=M((e,t)=>{if(typeof e!=typeof t)return t;if(Yw(e,t))return is;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let s=Zl(e[i],o);return s!==is&&(n[i]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return jr(e)&&jr(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Zl(e?.[n],t?.[n]);return o===is?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),Kw="UNTARGETED";function Jw({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=Kw}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}M(Jw,"groupArgsByTarget");function Xw(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}M(Xw,"deleteUndefined");var Ba,r6=(Ba=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Zl(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==is&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=t6(r,t.argTypes);this.argsByStoryId[t.id]=Ql(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=e6(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=Xw({...this.argsByStoryId[t],...r})}},M(Ba,"ArgsStore"),Ba),n6=Gt(),Qw=M((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),ja,o6=(ja=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Zl(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=Qw(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==is&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:n6.logger.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}},M(ja,"GlobalsStore"),ja),a6=Mn(),i6=gt(Tw(),1),s6=(0,i6.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Fa,l6=(Fa=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new a6.MissingStoryAfterHmrError({storyId:t});return r}importPathToEntry(t){return s6(this.entries)[t]}},M(Fa,"StoryIndexStore"),Fa),u6=M(e=>typeof e=="string"?{name:e}:e,"normalizeType"),c6=M(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),d6=M((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=u6(r)),n?i.control=c6(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),eu=M(e=>Do(e,d6),"normalizeInputTypes"),dw=xa(),pw=Gt(),p6=gt(en(),1),kt=M(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),f6=p6.dedent`
152
+ CSF .story annotations deprecated; annotate story functions directly:
153
+ - StoryFn.story.name => StoryFn.storyName
154
+ - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
155
+ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
156
+ `;function ou(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(pw.logger.debug("deprecated story",i),(0,pw.deprecate)(f6));let s=(0,dw.storyNameFromExport)(e),l=typeof n!="function"&&n.name||n.storyName||i?.name||s,u=[...kt(n.decorators),...kt(i?.decorators)],c={...i?.parameters,...n.parameters},d={...i?.args,...n.args},p={...i?.argTypes,...n.argTypes},h=[...kt(n.loaders),...kt(i?.loaders)],m=[...kt(n.beforeEach),...kt(i?.beforeEach)],{render:y,play:g,tags:E=[],globals:b={}}=n,w=c.__id||(0,dw.toId)(r.id,s);return{moduleExport:t,id:w,name:l,tags:E,decorators:u,parameters:c,args:d,argTypes:eu(p),loaders:h,beforeEach:m,globals:b,...y&&{render:y},...o&&{userStoryFn:o},...g&&{play:g}}}M(ou,"normalizeStory");var h6=xa(),Zw=Gt(),m6=xa();function Vm(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:(0,m6.sanitize)(n||t),...e,title:t,...o&&{argTypes:eu(o)},parameters:{fileName:r,...e.parameters}}}M(Vm,"normalizeComponentAnnotations");var y6=M(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Zw.logger.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),b6=M(e=>{let{options:t}=e;t?.storySort&&Zw.logger.error("The storySort option parameter can only be set globally")},"checkStorySort"),fw=M(e=>{e&&(y6(e),b6(e))},"checkDisallowedParameters");function e_(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,s=Vm(n,r,t);fw(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(i).forEach(u=>{if((0,h6.isExportStory)(u,s)){let c=ou(u,i[u],s);fw(c.parameters),l.stories[c.id]=c}}),l}M(e_,"processCSFFile");var t_=xa(),Kl=gt(Zr(),1),g6=gt(Zr(),1),v6=Mn();function r_(e){return e!=null&&n_(e).includes("mount")}M(r_,"mountDestructured");function n_(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Tm(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Tm(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}M(n_,"getUsedProps");function Tm(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let s=e.substring(n,i).trim();s&&t.push(s),n=i+1}let o=e.substring(n).trim();return o&&t.push(o),t}M(Tm,"splitByComma");function Gm(e,t,r){let n=r(e);return o=>t(n,o)}M(Gm,"decorateStory");function zm({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:s,initialArgs:l,argTypes:u,...c}={}){return c}M(zm,"sanitizeStoryContextUpdate");function Wm(e,t){let r={},n=M(i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...zm(s)},i(r.value)},"bindWithContext"),o=t.reduce((i,s)=>Gm(i,s,n),e);return i=>(r.value=i,o(i))}M(Wm,"defaultDecorateStory");var kn=M((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,l])=>{let u=o[s];Array.isArray(l)||typeof u>"u"?o[s]=l:jr(l)&&jr(u)?t[s]=!0:typeof l<"u"&&(o[s]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>jr(s))?n[o]=kn(...i):n[o]=i[i.length-1]}),n},"combineParameters");function au(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},s=Km(e,t,r),l=M(async S=>{let T={};for(let C of[..."__STORYBOOK_TEST_LOADERS__"in Kl.global&&Array.isArray(Kl.global.__STORYBOOK_TEST_LOADERS__)?[Kl.global.__STORYBOOK_TEST_LOADERS__]:[],kt(r.loaders),kt(t.loaders),kt(e.loaders)]){if(S.abortSignal.aborted)return T;let O=await Promise.all(C.map(I=>I(S)));Object.assign(T,...O)}return T},"applyLoaders"),u=M(async S=>{let T=new Array;for(let C of[...kt(r.beforeEach),...kt(t.beforeEach),...kt(e.beforeEach)]){if(S.abortSignal.aborted)return T;let O=await C(S);O&&T.push(O)}return T},"applyBeforeEach"),c=M(S=>S.originalStoryFn(S.args,S),"undecoratedStoryFn"),{applyDecorators:d=Wm,runStep:p}=r,h=[...kt(e?.decorators),...kt(t?.decorators),...kt(r?.decorators)],m=e?.userStoryFn||e?.render||t.render||r.render,y=Mw(d)(c,h),g=M(S=>y(S),"unboundStoryFn"),E=e?.play??t?.play,b=r_(E);if(!m&&!b)throw new v6.NoRenderFunctionError({id:o});let w=M(S=>async()=>(await S.renderToCanvas(),S.canvas),"defaultMount"),P=e.mount??t.mount??r.mount??w,A=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:c,unboundStoryFn:g,applyLoaders:l,applyBeforeEach:u,playFunction:E,runStep:p,mount:P,testingLibraryRender:A,renderToCanvas:r.renderToCanvas,usesMount:b}}M(au,"prepareStory");function Ym(e,t,r){return{...Km(void 0,e,t),moduleExport:r}}M(Ym,"prepareMeta");function Km(e,t,r){let n=["dev","test"],o=g6.global.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],i=(0,t_.combineTags)(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),s=kn(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=kn(r.argTypes,t.argTypes,e?.argTypes);if(e){let b=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=b&&b.length>0}let d={...r.args,...t.args,...e?.args},p={...t.globals,...e?.globals},h={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:i,parameters:s,initialArgs:d,argTypes:c,storyGlobals:p};h.argTypes=l.reduce((b,w)=>w({...h,argTypes:b}),h.argTypes);let m={...d};h.initialArgs=u.reduce((b,w)=>({...b,...w({...h,initialArgs:b})}),m);let{name:y,story:g,...E}=h;return E}M(Km,"preparePartialAnnotations");function Jm(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Kl.global.FEATURES?.argTypeTargetsV7){let i=Jw(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[Kw]||{}}}let n=Object.entries(r.args).reduce((i,[s,l])=>{if(!r.argTypes[s]?.mapping)return i[s]=l,i;let u=M(c=>{let d=r.argTypes[s].mapping;return d&&c in d?d[c]:c},"mappingFn");return i[s]=Array.isArray(l)?l.map(u):u(l),i},{}),o=Object.entries(n).reduce((i,[s,l])=>{let u=r.argTypes[s]||{};return(0,t_.includeConditionalArg)(u,n,r.globals)&&(i[s]=l),i},{});return{...r,unmappedArgs:t,args:o}}M(Jm,"prepareContext");var E6=Gt(),w6=gt(en(),1),_6=Gt(),S6=gt(en(),1),Om=M((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(_6.logger.warn(S6.dedent`
157
+ We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
158
+
159
+ Consider using the mapping feature or fully custom args:
160
+ - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
161
+ - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
162
+ `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Om(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Do(e,o=>Om(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),o_=M(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Do(n,(s,l)=>({name:l,type:Om(s,`${t}.${l}`,new Set)})),i=Do(r,(s,l)=>({name:l}));return kn(o,i,r)},"inferArgTypes");o_.secondPass=!0;var A6=Gt(),hw=M((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),a_=M((e,t,r)=>!t&&!r?e:e&&Ww(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||hw(i,t))&&(!r||!hw(i,r))}),"filterArgTypes"),C6=M((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&A6.logger.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:i}=n;return{control:{type:i?.length<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Xm=M(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let s=a_(t,n,o),l=Do(s,(u,c)=>u?.type&&C6(u,c.toString(),i));return kn(l,s)},"inferControls");Xm.secondPass=!0;function tu({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,globals:s,initialGlobals:l,...u}){return s&&Object.keys(s).length>0&&(0,E6.deprecate)(w6.dedent`
163
+ The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
164
+ Please use 'initialGlobals' instead. Learn more:
165
+
166
+ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
167
+ `),{...e&&{argTypes:eu(e)},...t&&{globalTypes:eu(t)},decorators:kt(n),loaders:kt(o),beforeEach:kt(i),argTypesEnhancers:[...r||[],o_,Xm],initialGlobals:kn(l,s),...u}}M(tu,"normalizeProjectAnnotations");var R6=gt(Zr(),1),T6=M(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Qm(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}M(Qm,"composeStepRunners");function Xa(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}M(Xa,"getField");function Bn(e,t,r={}){return Xa(e,t).reduce((n,o)=>{let i=kt(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}M(Bn,"getArrayField");function Ia(e,t){return Object.assign({},...Xa(e,t))}M(Ia,"getObjectField");function xo(e,t){return Xa(e,t).pop()}M(xo,"getSingletonField");function Qa(e){let t=Bn(e,"argTypesEnhancers"),r=Xa(e,"runStep"),n=Bn(e,"beforeAll");return{parameters:kn(...Xa(e,"parameters")),decorators:Bn(e,"decorators",{reverseFileOrder:!(R6.global.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Ia(e,"args"),argsEnhancers:Bn(e,"argsEnhancers"),argTypes:Ia(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:Ia(e,"globals"),initialGlobals:Ia(e,"initialGlobals"),globalTypes:Ia(e,"globalTypes"),loaders:Bn(e,"loaders"),beforeAll:T6(n),beforeEach:Bn(e,"beforeEach"),render:xo(e,"render"),renderToCanvas:xo(e,"renderToCanvas"),renderToDOM:xo(e,"renderToDOM"),applyDecorators:xo(e,"applyDecorators"),runStep:Qm(r),tags:Bn(e,"tags"),mount:xo(e,"mount"),testingLibraryRender:xo(e,"testingLibraryRender")}}M(Qa,"composeConfigs");var O6=xa(),P6=Mn(),x6=gt(en(),1);function i_(e){globalThis.defaultProjectAnnotations=e}M(i_,"setDefaultProjectAnnotations");var q6="ComposedStory",D6="Unnamed Story";function s_(e){return e?Qa([e]):{}}M(s_,"extractAnnotation");function l_(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Qa(t.map(s_)),Qa([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}M(l_,"setProjectAnnotations");var jn=[];function Zm(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??q6;let i=Vm(t),s=o||e.storyName||e.story?.name||e.name||D6,l=ou(s,e,i),u=tu(Qa([n&&Object.keys(n).length>0?n:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),c=au(l,i,u),d={...Qw(u.globalTypes),...u.initialGlobals,...c.storyGlobals},p=M(()=>{let E=Jm({hooks:new Fm,globals:d,args:{...c.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:M((b,w)=>c.runStep(b,w,E),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return E.context=E,c.renderToCanvas&&(E.renderToCanvas=async()=>{let b=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:M(()=>{},"showMain"),showError:M(w=>{throw new Error(`${w.title}
168
+ ${w.description}`)},"showError"),showException:M(w=>{throw w},"showException"),forceRemount:!0,storyContext:E,storyFn:M(()=>c.unboundStoryFn(E),"storyFn"),unboundStoryFn:c.unboundStoryFn},E.canvasElement);b&&jn.push(b)}),E.mount=c.mount(E),E},"initializeContext"),h,m=M(async E=>{let b=p();return b.canvasElement??(b.canvasElement=globalThis?.document?.body),h&&(b.loaded=h.loaded),Object.assign(b,E),c.playFunction(b)},"play"),y=M(E=>{let b=p();return Object.assign(b,E),d_(c,b)},"run"),g=c.playFunction?m:void 0;return Object.assign(M(function(E){let b=p();return h&&(b.loaded=h.loaded),b.args={...b.initialArgs,...E},c.unboundStoryFn(b)},"storyFn"),{id:c.id,storyName:s,load:M(async()=>{for(let b of[...jn].reverse())await b();jn.length=0;let E=p();E.loaded=await c.applyLoaders(E),jn.push(...(await c.applyBeforeEach(E)).filter(Boolean)),h=E},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:g,run:y,tags:c.tags})}M(Zm,"composeStory");var I6=M((e,t,r,n)=>Zm(e,t,r,{},n),"defaultComposeStory");function u_(e,t,r=I6){let{default:n,__esModule:o,__namedExportsOrder:i,...s}=e;return Object.entries(s).reduce((l,[u,c])=>(0,O6.isExportStory)(u,n)?Object.assign(l,{[u]:r(c,n,t,u)}):l,{})}M(u_,"composeStories");function c_(e){return e.extend({mount:M(async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(x6.dedent`
169
+ Portable stories in Playwright CT only work when referencing JSX elements.
170
+ Please use JSX format for your components such as:
171
+
172
+ instead of:
173
+ await mount(MyComponent, { props: { foo: 'bar' } })
174
+
175
+ do:
176
+ await mount(<MyComponent foo="bar"/>)
177
+
178
+ More info: https://storybook.js.org/docs/api/portable-stories-playwright
179
+ `);await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in u?u.type:u)?.load?.()},o);let s=await t(o,...i);return await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l),c="__pw_type"in u?u.type:u,d=document.querySelector("#root");return c?.play?.({canvasElement:d})},o),s})},"mount")})}M(c_,"createPlaywrightTest");async function d_(e,t){for(let o of[...jn].reverse())await o();if(jn.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,jn.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;jn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&r&&(n||(t.mount=async()=>{throw new P6.MountMustBeDestructuredError({playFunction:r.toString()})}),await r(t))}M(d_,"runStory");function Pm(e,t){return Gw(zw(e,t),r=>r===void 0)}M(Pm,"picky");var mw=1e3,M6=1e4,La,p_=(La=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=M(()=>{let s=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Do(s.stories,u=>{let{importPath:c}=this.storyIndex.entries[u.id];return{...Pm(u,["id","name","title"]),importPath:c,kind:u.title,story:u.name,parameters:{...Pm(u.parameters,l),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new l6(t),this.projectAnnotations=tu(n);let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new r6,this.userGlobals=new o6({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,bm.default)(mw)(e_),this.prepareMetaWithCache=(0,bm.default)(mw)(Ym),this.prepareStoryWithCache=(0,bm.default)(M6)(au)}setProjectAnnotations(t){this.projectAnnotations=tu(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new lw.MissingStoryFromCsfFileError({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new Fm,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(s=>{let l=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return Jm({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new lw.CalledExtractOnStoreError;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:s}])=>{if(i==="docs")return n;let l=r[s],u=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[o]=Object.entries(u).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:u.initialArgs})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return(0,sw.deprecate)("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if((0,sw.deprecate)("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:M(i=>{let s={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:M((l,u)=>o.runStep(l,u,s),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...s,...i})},"storyFn")}}},M(La,"StoryStore"),La),N6=Gt();function f_(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}M(f_,"slash");var B6=gt(en(),1),j6=M(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function xm(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}M(xm,"pathJoin");var h_=M((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&N6.once.warn(B6.dedent`
180
+ CSF Auto-title received a numeric fileName. This typically happens when
181
+ webpack is mis-configured in production mode. To force webpack to produce
182
+ filenames, set optimization.moduleIds = "named" in your webpack config.
183
+ `);let s=f_(String(e));if(o.exec(s)){if(!r){let l=s.replace(n,""),u=xm([i,l]).split("/");return u=j6(u),u.join("/")}return i?xm([i,r]):r}},"userOrAutoTitleFromSpecifier"),F6=M((e,t,r)=>{for(let n=0;n<t.length;n+=1){let o=h_(e,t[n],r);if(o)return o}return r||void 0},"userOrAutoTitle"),L6=gt(en(),1),yw=/\s*\/\s*/,k6=M((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(yw),s=r.title.trim().split(yw);e.includeNames&&(i.push(t.name),s.push(r.name));let l=0;for(;i[l]||s[l];){if(!i[l])return-1;if(!s[l])return 1;let u=i[l],c=s[l];if(u!==c){let p=o.indexOf(u),h=o.indexOf(c),m=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(m!==-1?p=m:p=o.length),h===-1&&(m!==-1?h=m:h=o.length),p-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=o.indexOf(u);d===-1&&(d=o.indexOf("*")),o=d!==-1&&Array.isArray(o[d+1])?o[d+1]:[],l+=1}return 0},"storySort"),$6=M((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=k6(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),U6=M((e,t,r)=>{try{return $6(e,t,r)}catch(n){throw new Error(L6.dedent`
184
+ Error sorting stories with sort parameter ${t}:
185
+
186
+ > ${n.message}
187
+
188
+ Are you using a V6-style sort function in V7 mode?
189
+
190
+ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
191
+ `)}},"sortStoriesV7"),H6=gt(Zr(),1),vm=Gt(),mr=Xr(),Rr=Mn(),os=Xr(),bw=Mn(),iu=new Error("prepareAborted"),{AbortController:gw}=globalThis;function qm(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}M(qm,"serializeError");var ka,Dm=(ka=class{constructor(t,r,n,o,i,s,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=s,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=M(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new gw,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(os.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(os.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),iu}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:s,title:l,name:u,tags:c,applyLoaders:d,applyBeforeEach:p,unboundStoryFn:h,playFunction:m,runStep:y}=o;r&&!t&&(this.cancelRender(),this.abortController=new gw);let g=this.abortController.signal,E=!1,b=o.usesMount;try{let w={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:M((O,I)=>y(O,I,w),"step"),context:null,canvas:{},renderToCanvas:M(async()=>{let O=await this.renderToScreen(P,n);this.teardownRender=O||(()=>{}),E=!0},"renderToCanvas"),mount:M(async(...O)=>{this.callbacks.showStoryDuringRender?.();let I=null;return await this.runPhase(g,"rendering",async()=>{I=await o.mount(w)(...O)}),b&&await this.runPhase(g,"playing"),I},"mount")};w.context=w;let P={componentId:s,title:l,kind:l,id:i,name:u,story:u,tags:c,...this.callbacks,showError:M(O=>(this.phase="errored",this.callbacks.showError(O)),"showError"),showException:M(O=>(this.phase="errored",this.callbacks.showException(O)),"showException"),forceRemount:r||this.notYetRendered,storyContext:w,storyFn:M(()=>h(w),"storyFn"),unboundStoryFn:h};if(await this.runPhase(g,"loading",async()=>{w.loaded=await d(w)}),g.aborted)return;let A=await p(w);if(this.store.addCleanupCallbacks(o,A),this.checkIfAborted(g)||(!E&&!b&&await w.mount(),this.notYetRendered=!1,g.aborted))return;let S=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,T=new Set,C=M(O=>T.add("error"in O?O.error:O.reason),"onError");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window.addEventListener("error",C),window.addEventListener("unhandledrejection",C),this.disableKeyListeners=!0;try{if(b?await m(w):(w.mount=async()=>{throw new bw.MountMustBeDestructuredError({playFunction:m.toString()})},await this.runPhase(g,"playing",async()=>m(w))),!E)throw new bw.NoStoryMountedError;this.checkIfAborted(g),!S&&T.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(O){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(os.PLAY_FUNCTION_THREW_EXCEPTION,qm(O))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw O;console.error(O)}if(!S&&T.size>0&&this.channel.emit(os.UNHANDLED_ERRORS_WHILE_PLAYING,Array.from(T).map(qm)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",C),window.removeEventListener("error",C),g.aborted)return}await this.runPhase(g,"completed",async()=>this.channel.emit(os.STORY_RENDERED,i))}catch(w){this.phase="errored",this.callbacks.showException(w)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}},M(ka,"StoryRender"),ka),{fetch:V6}=H6.global,G6="./index.json",$a,m_=($a=class{constructor(t,r,n=Ln.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,s)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=s}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:M((t,r)=>{if(this.storyStoreValue)return(0,vm.deprecate)("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Rr.StoryStoreAccessedBeforeInitializationError},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(mr.STORY_INDEX_INVALIDATED,this.onStoryIndexChanged.bind(this)),this.channel.on(mr.UPDATE_GLOBALS,this.onUpdateGlobals.bind(this)),this.channel.on(mr.UPDATE_STORY_ARGS,this.onUpdateArgs.bind(this)),this.channel.on(mr.ARGTYPES_INFO_REQUEST,this.onRequestArgTypesInfo.bind(this)),this.channel.on(mr.RESET_STORY_ARGS,this.onResetArgs.bind(this)),this.channel.on(mr.FORCE_RE_RENDER,this.onForceReRender.bind(this)),this.channel.on(mr.FORCE_REMOUNT,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new Rr.MissingRenderToCanvasError;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await V6(G6);if(t.status===200)return t.json();throw new Rr.StoryIndexFetchError({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new p_(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(mr.SET_GLOBALS,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(mr.GLOBALS_UPDATED,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:s})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(mr.GLOBALS_UPDATED,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(mr.STORY_ARGS_UPDATED,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(mr.ARGTYPES_INFO_RESPONSE,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(mr.ARGTYPES_INFO_RESPONSE,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"onResetArgs"});let n=this.storyRenders.find(i=>i.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,s)=>(i[s]=n.initialArgs[s],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"renderStoryToElement"});let i=new Dm(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,vm.logger.error(t),vm.logger.error(r),this.channel.emit(mr.CONFIG_ERROR,r)}},M($a,"Preview"),$a),z6=gt(Zr(),1),Wl=Gt(),Lt=Xr(),qa=Mn(),W6=process.env.NODE_ENV==="production",Em="Invariant failed";function Jl(e,t){if(!e){if(W6)throw new Error(Em);var r=typeof t=="function"?t():t,n=r?"".concat(Em,": ").concat(r):Em;throw new Error(n)}}M(Jl,"invariant");var Y6=Xr(),K6=gt(en(),1),Ua,ey=(Ua=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=M(i=>{let s=this.nameToStoryId.get(i);if(s)return s;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=M(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=M(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=M(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(i);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:s})},"storyById"),this.getStoryContext=M(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=M(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,s)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(K6.dedent`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}.
192
+ - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
193
+ - ... or vice versa?
194
+ - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}},M(Ua,"DocsContext"),Ua),Ha,vw=(Ha=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw iu;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),s=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new ey(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:s}=i,l=M(async()=>{try{await s(n,o,t),this.channel.emit(Y6.DOCS_RENDERED,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}},M(Ha,"CsfDocsRender"),Ha),J6=Xr(),Va,Ew=(Va=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw iu;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new ey(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},s=await o.renderer(),{render:l}=s,u=M(async()=>{try{await l(n,i,t),this.channel.emit(J6.DOCS_RENDERED,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(s.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}},M(Va,"MdxDocsRender"),Va),X6=globalThis;function y_(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}M(y_,"focusInInput");var b_="attached-mdx",Q6="unattached-mdx";function g_({tags:e}){return e?.includes(Q6)||e?.includes(b_)}M(g_,"isMdxEntry");function Xl(e){return e.type==="story"}M(Xl,"isStoryRender");function v_(e){return e.type==="docs"}M(v_,"isDocsRender");function E_(e){return v_(e)&&e.subtype==="csf"}M(E_,"isCsfDocsRender");var Ga,w_=(Ga=class extends m_{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),X6.onkeydown=this.onKeydown.bind(this),this.channel.on(Lt.SET_CURRENT_STORY,this.onSetCurrentStory.bind(this)),this.channel.on(Lt.UPDATE_QUERY_PARAMS,this.onUpdateQueryParams.bind(this)),this.channel.on(Lt.PRELOAD_ENTRIES,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new qa.CalledPreviewMethodBeforeInitializationError({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new qa.CalledPreviewMethodBeforeInitializationError({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new qa.EmptyIndexError):this.renderStoryLoadingException(t,new qa.NoStoryMatchError({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(Lt.STORY_SPECIFIED,this.selectionStore.selection),this.channel.emit(Lt.CURRENT_STORY_WAS_SET,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!y_(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}=t;this.channel.emit(Lt.PREVIEW_KEYDOWN,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Lt.CURRENT_STORY_WAS_SET,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Dm&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Ew||this.currentRender instanceof vw)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new qa.CalledPreviewMethodBeforeInitializationError({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,h);return}let s=this.currentSelection?.storyId!==o,l=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new Dm(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):g_(i)?u=new Ew(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new vw(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(h){d&&await this.teardownRender(d),h!==iu&&this.renderStoryLoadingException(o,h);return}let p=!s&&d&&!u.isEqual(d);if(t&&Xl(u)&&(Jl(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),d&&!d.torndown&&!s&&!p&&!l){this.currentRender=d,this.channel.emit(Lt.STORY_UNCHANGED,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),c&&(s||l)&&this.channel.emit(Lt.STORY_CHANGED,o),Xl(u)){Jl(!!u.story);let{parameters:h,initialArgs:m,argTypes:y,unmappedArgs:g,initialGlobals:E,userGlobals:b,storyGlobals:w,globals:P}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(Lt.STORY_PREPARED,{id:o,parameters:h,initialArgs:m,argTypes:y,args:g}),this.channel.emit(Lt.GLOBALS_UPDATED,{userGlobals:b,storyGlobals:w,globals:P,initialGlobals:E})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:m,globals:y}=this.storyStoreValue.userGlobals;if(this.channel.emit(Lt.GLOBALS_UPDATED,{globals:y,initialGlobals:m,storyGlobals:{},userGlobals:y}),E_(u)||u.entry.tags?.includes(b_)){if(!u.csfFiles)throw new qa.MdxFileWithNoCsfReferencesError({storyId:o});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(Lt.DOCS_PREPARED,{id:o,parameters:h})}Xl(u)?(Jl(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:M(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:M(()=>this.view.showMain(),"showMain"),showError:M(r=>this.renderError(t,r),"showError"),showException:M(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Lt.STORY_MISSING)}renderStoryLoadingException(t,r){Wl.logger.error(r),this.view.showErrorDisplay(r),this.channel.emit(Lt.STORY_MISSING,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r;this.channel.emit(Lt.STORY_THREW_EXCEPTION,{name:n,message:o,stack:i}),this.channel.emit(Lt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),Wl.logger.error(`Error rendering story '${t}':`),Wl.logger.error(r)}renderError(t,{title:r,description:n}){Wl.logger.error(`Error rendering story ${r}: ${n}`),this.channel.emit(Lt.STORY_ERRORED,{title:r,description:n}),this.channel.emit(Lt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}},M(Ga,"PreviewWithSelection"),Ga),Z6=gt(Zr(),1),Im=gt(Bm(),1),eH=Gt(),tH=gt(Bm(),1),rH=gt(en(),1),ww=/^[a-zA-Z0-9 _-]*$/,__=/^-?[0-9]+(\.[0-9]+)?$/,nH=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,S_=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Mm=M((e="",t)=>e===null||e===""||!ww.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?ww.test(t)||__.test(t)||nH.test(t)||S_.test(t):Array.isArray(t)?t.every(r=>Mm(e,r)):jr(t)?Object.entries(t).every(([r,n])=>Mm(r,n)):!1,"validateArgs"),oH={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(S_);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return __.test(e)?Number(e):e}},_w=M(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,tH.parse)(t.join(";"),oH)).reduce((r,[n,o])=>Mm(n,o)?Object.assign(r,{[n]:o}):(eH.once.warn(rH.dedent`
195
+ Omitted potentially unsafe URL args.
196
+
197
+ More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
198
+ `),r),{})},"parseArgsParam"),{history:A_,document:Fn}=Z6.global;function C_(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}M(C_,"pathToId");var R_=M(({selection:e,extraParams:t})=>{let r=Fn?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...s}=(0,Im.parse)(r);return`?${(0,Im.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),aH=M(e=>{if(!e)return;let t=R_({selection:e}),{hash:r=""}=Fn.location;Fn.title=e.storyId,A_.replaceState({},"",`${Fn.location.pathname}${t}${r}`)},"setPath"),iH=M(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),ss=M(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return ss(e[0]);if(iH(e))return ss(Object.values(e).filter(Boolean))}},"getFirstString"),sH=M(()=>{if(typeof Fn<"u"){let e=Fn.location.search.slice(1),t=(0,Im.parse)(e),r=typeof t.args=="string"?_w(t.args):void 0,n=typeof t.globals=="string"?_w(t.globals):void 0,o=ss(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=ss(t.path),s=i?C_(i):ss(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),za,T_=(za=class{constructor(){this.selectionSpecifier=sH()}setSelection(t){this.selection=t,aH(this.selection)}setQueryParams(t){let r=R_({extraParams:t}),{hash:n=""}=Fn.location;A_.replaceState({},"",`${Fn.location.pathname}${r}${n}`)}},M(za,"UrlStore"),za),lH=gt(Zr(),1),uH=Gt(),cH=gt(AU(),1),dH=gt(Bm(),1),pH=gt(en(),1),{document:tr}=lH.global,Sw=100,O_=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(O_||{}),wm={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},_m={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Aw=new cH.default({escapeXML:!0}),Wa,P_=(Wa=class{constructor(){if(this.testing=!1,typeof tr<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,dH.parse)(tr.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),tr.documentElement.scrollTop=0,tr.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return tr.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),tr.documentElement.scrollTop=0,tr.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return tr.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){tr.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=_m[t];tr.body.classList.remove(this.currentLayoutClass),tr.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){_m[t]||uH.logger.warn(pH.dedent`
199
+ The desired layout: ${t} is not a valid option.
200
+ The possible options are: ${Object.keys(_m).join(", ")}, none.
201
+ `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(O_).forEach(r=>{r===t?tr.body.classList.add(wm[r]):tr.body.classList.remove(wm[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(`
202
+ `);i.length>1&&([n]=i,o=i.slice(1).join(`
203
+ `).replace(/^\n/,"")),tr.getElementById("error-message").innerHTML=Aw.toHtml(n),tr.getElementById("error-stack").innerHTML=Aw.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Sw)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Sw)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){tr.body.classList.add(wm.MAIN)}},M(Wa,"WebView"),Wa),Ya,fH=(Ya=class extends w_{constructor(t,r){super(t,r,new T_,new P_),this.importFn=t,this.getProjectAnnotations=r,z6.global.__STORYBOOK_PREVIEW__=this}},M(Ya,"PreviewWeb"),Ya),hH=gt(Zr(),1),{document:qo}=hH.global,mH=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],yH="script",Cw="scripts-root";function ru(){let e=qo.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),qo.dispatchEvent(e)}M(ru,"simulateDOMContentLoaded");function x_(e,t,r){let n=qo.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):qo.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}M(x_,"insertScript");function ty(e,t,r=0){e[r](()=>{r++,r===e.length?t():ty(e,t,r)})}M(ty,"insertScriptsSequentially");function q_(e){let t=qo.getElementById(Cw);t?t.innerHTML="":(t=qo.createElement("div"),t.id=Cw,qo.body.appendChild(t));let r=Array.from(e.querySelectorAll(yH));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||mH.includes(i))&&n.push(s=>x_(o,s,t))}),n.length&&ty(n,ru,void 0)}else ru()}M(q_,"simulatePageLoad")});var N_=se((M1e,M_)=>{M_.exports=I_()});var xy=se((N1e,cA)=>{"use strict";var vy=Object.defineProperty,bH=Object.getOwnPropertyDescriptor,gH=Object.getOwnPropertyNames,vH=Object.prototype.hasOwnProperty,EH=(e,t)=>{for(var r in t)vy(e,r,{get:t[r],enumerable:!0})},wH=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of gH(t))!vH.call(e,o)&&o!==r&&vy(e,o,{get:()=>t[o],enumerable:!(n=bH(t,o))||n.enumerable});return e},_H=e=>wH(vy({},"__esModule",{value:!0}),e),CS={};EH(CS,{CallStates:()=>uA,EVENTS:()=>tn,instrument:()=>yG});cA.exports=_H(CS);var SH=um(),su=W2(),AH=N_(),dr=sm(),CH={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},RH=Object.entries(CH);function Ey(e){return String(e)}Ey.open="";Ey.close="";function TH(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function OH(e=!1){let t=TH(e),r=(s,l,u,c)=>{let d="",p=0;do d+=s.substring(p,c)+u,p=c+l.length,c=s.indexOf(l,p);while(~c);return d+s.substring(p)},n=(s,l,u=s)=>{let c=d=>{let p=String(d),h=p.indexOf(l,s.length);return~h?s+r(p,l,u,h)+l:s+p+l};return c.open=s,c.close=l,c},o={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,l]of RH)o[s]=t?n(i(l[0]),i(l[1]),l[2]):Ey;return o}var PH=It("tty"),fn=OH((0,PH.isatty)(1));function xH(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function pu(e,t,r,n,o,i,s=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let d=r+t.indent;for(;!c.done;){if(l+=d,u++===t.maxWidth){l+="\u2026";break}let p=i(c.value[0],t,d,n,o),h=i(c.value[1],t,d,n,o);l+=p+s+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function wy(e,t,r,n,o,i){let s="",l=0,u=e.next();if(!u.done){s+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(s+=c,l++===t.maxWidth){s+="\u2026";break}s+=i(u.value,t,c,n,o),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function du(e,t,r,n,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let c=r+t.indent;for(let d=0;d<u;d++){if(s+=c,d===t.maxWidth){s+="\u2026";break}(l(e)||d in e)&&(s+=i(l(e)?e.getInt8(d):e[d],t,c,n,o)),d<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function _y(e,t,r,n,o,i){let s="",l=xH(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let d=l[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);s+=`${u+p}: ${h}`,c<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var qH=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ry=" ",DH=(e,t,r,n,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+ry}[${du(e.sample,t,r,n,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+ry}{${_y(e.sample,t,r,n,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+ry+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},IH=e=>e&&e.$$typeof===qH,MH={serialize:DH,test:IH},NH=" ",RS=new Set(["DOMStringMap","NamedNodeMap"]),BH=/^(?:HTML\w*Collection|NodeList)$/;function jH(e){return RS.has(e)||BH.test(e)}var FH=e=>e&&e.constructor&&!!e.constructor.name&&jH(e.constructor.name);function LH(e){return e.constructor.name==="NamedNodeMap"}var kH=(e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+NH)+(RS.has(s)?`{${_y(LH(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${du([...e],t,r,n,o,i)}]`)},$H={serialize:kH,test:FH};function TS(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Sy(e,t,r,n,o,i,s){let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.includes(`
204
+ `)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function Ay(e,t,r,n,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?OS(s,t):i(s,t,r,n,o))).join("")}function OS(e,t){let r=t.colors.content;return r.open+TS(e)+r.close}function UH(e,t){let r=t.colors.comment;return`${r.open}<!--${TS(e)}-->${r.close}`}function Cy(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function Ry(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var HH=1,PS=3,xS=8,qS=11,VH=/^(?:(?:HTML|SVG)\w*)?Element$/;function GH(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function zH(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||GH(e);return r===HH&&(VH.test(t)||o)||r===PS&&t==="Text"||r===xS&&t==="Comment"||r===qS&&t==="DocumentFragment"}var WH=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&zH(e)};function YH(e){return e.nodeType===PS}function KH(e){return e.nodeType===xS}function ny(e){return e.nodeType===qS}var JH=(e,t,r,n,o,i)=>{if(YH(e))return OS(e.data,t);if(KH(e))return UH(e.data,t);let s=ny(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Ry(s,t):Cy(s,Sy(ny(e)?[]:Array.from(e.attributes,l=>l.name).sort(),ny(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),Ay(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},XH={serialize:JH,test:WH},QH="@@__IMMUTABLE_ITERABLE__@@",ZH="@@__IMMUTABLE_LIST__@@",e8="@@__IMMUTABLE_KEYED__@@",t8="@@__IMMUTABLE_MAP__@@",B_="@@__IMMUTABLE_ORDERED__@@",r8="@@__IMMUTABLE_RECORD__@@",n8="@@__IMMUTABLE_SEQ__@@",o8="@@__IMMUTABLE_SET__@@",a8="@@__IMMUTABLE_STACK__@@",ri=e=>`Immutable.${e}`,fu=e=>`[${e}]`,ps=" ",j_="\u2026";function i8(e,t,r,n,o,i,s){return++n>t.maxDepth?fu(ri(s)):`${ri(s)+ps}{${pu(e.entries(),t,r,n,o,i)}}`}function s8(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function l8(e,t,r,n,o,i){let s=ri(e._name||"Record");return++n>t.maxDepth?fu(s):`${s+ps}{${pu(s8(e),t,r,n,o,i)}}`}function u8(e,t,r,n,o,i){let s=ri("Seq");return++n>t.maxDepth?fu(s):e[e8]?`${s+ps}{${e._iter||e._object?pu(e.entries(),t,r,n,o,i):j_}}`:`${s+ps}[${e._iter||e._array||e._collection||e._iterable?wy(e.values(),t,r,n,o,i):j_}]`}function oy(e,t,r,n,o,i,s){return++n>t.maxDepth?fu(ri(s)):`${ri(s)+ps}[${wy(e.values(),t,r,n,o,i)}]`}var c8=(e,t,r,n,o,i)=>e[t8]?i8(e,t,r,n,o,i,e[B_]?"OrderedMap":"Map"):e[ZH]?oy(e,t,r,n,o,i,"List"):e[o8]?oy(e,t,r,n,o,i,e[B_]?"OrderedSet":"Set"):e[a8]?oy(e,t,r,n,o,i,"Stack"):e[n8]?u8(e,t,r,n,o,i):l8(e,t,r,n,o,i),d8=e=>e&&(e[QH]===!0||e[r8]===!0),p8={serialize:c8,test:d8},ay={exports:{}},ut={},F_;function f8(){if(F_)return ut;F_=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function g(E){if(typeof E=="object"&&E!==null){var b=E.$$typeof;switch(b){case e:switch(E=E.type,E){case r:case o:case n:case c:case d:return E;default:switch(E=E&&E.$$typeof,E){case l:case s:case u:case h:case p:case i:return E;default:return b}}case t:return b}}}return ut.ContextConsumer=s,ut.ContextProvider=i,ut.Element=e,ut.ForwardRef=u,ut.Fragment=r,ut.Lazy=h,ut.Memo=p,ut.Portal=t,ut.Profiler=o,ut.StrictMode=n,ut.Suspense=c,ut.SuspenseList=d,ut.isAsyncMode=function(){return!1},ut.isConcurrentMode=function(){return!1},ut.isContextConsumer=function(E){return g(E)===s},ut.isContextProvider=function(E){return g(E)===i},ut.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},ut.isForwardRef=function(E){return g(E)===u},ut.isFragment=function(E){return g(E)===r},ut.isLazy=function(E){return g(E)===h},ut.isMemo=function(E){return g(E)===p},ut.isPortal=function(E){return g(E)===t},ut.isProfiler=function(E){return g(E)===o},ut.isStrictMode=function(E){return g(E)===n},ut.isSuspense=function(E){return g(E)===c},ut.isSuspenseList=function(E){return g(E)===d},ut.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===o||E===n||E===c||E===d||E===m||typeof E=="object"&&E!==null&&(E.$$typeof===h||E.$$typeof===p||E.$$typeof===i||E.$$typeof===s||E.$$typeof===u||E.$$typeof===y||E.getModuleId!==void 0)},ut.typeOf=g,ut}var pt={},L_;function h8(){return L_||(L_=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y=!1,g=!1,E=!1,b=!1,w=!1,P;P=Symbol.for("react.module.reference");function A(J){return!!(typeof J=="string"||typeof J=="function"||J===r||J===o||w||J===n||J===c||J===d||b||J===m||y||g||E||typeof J=="object"&&J!==null&&(J.$$typeof===h||J.$$typeof===p||J.$$typeof===i||J.$$typeof===s||J.$$typeof===u||J.$$typeof===P||J.getModuleId!==void 0))}function S(J){if(typeof J=="object"&&J!==null){var Se=J.$$typeof;switch(Se){case e:var $e=J.type;switch($e){case r:case o:case n:case c:case d:return $e;default:var tt=$e&&$e.$$typeof;switch(tt){case l:case s:case u:case h:case p:case i:return tt;default:return Se}}case t:return Se}}}var T=s,C=i,O=e,I=u,W=r,X=h,Y=p,K=t,_=o,x=n,N=c,le=d,ce=!1,Re=!1;function Ne(J){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function De(J){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(J){return S(J)===s}function de(J){return S(J)===i}function Ee(J){return typeof J=="object"&&J!==null&&J.$$typeof===e}function Oe(J){return S(J)===u}function ke(J){return S(J)===r}function Fe(J){return S(J)===h}function ze(J){return S(J)===p}function dt(J){return S(J)===t}function Q(J){return S(J)===o}function Le(J){return S(J)===n}function Ge(J){return S(J)===c}function et(J){return S(J)===d}pt.ContextConsumer=T,pt.ContextProvider=C,pt.Element=O,pt.ForwardRef=I,pt.Fragment=W,pt.Lazy=X,pt.Memo=Y,pt.Portal=K,pt.Profiler=_,pt.StrictMode=x,pt.Suspense=N,pt.SuspenseList=le,pt.isAsyncMode=Ne,pt.isConcurrentMode=De,pt.isContextConsumer=ye,pt.isContextProvider=de,pt.isElement=Ee,pt.isForwardRef=Oe,pt.isFragment=ke,pt.isLazy=Fe,pt.isMemo=ze,pt.isPortal=dt,pt.isProfiler=Q,pt.isStrictMode=Le,pt.isSuspense=Ge,pt.isSuspenseList=et,pt.isValidElementType=A,pt.typeOf=S}()),pt}var k_;function m8(){return k_||(k_=1,process.env.NODE_ENV==="production"?ay.exports=f8():ay.exports=h8()),ay.exports}var Io=m8();function DS(e,t=[]){if(Array.isArray(e))for(let r of e)DS(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function $_(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Io.isFragment(e))return"React.Fragment";if(Io.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Io.isContextProvider(e))return"Context.Provider";if(Io.isContextConsumer(e))return"Context.Consumer";if(Io.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Io.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function y8(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var b8=(e,t,r,n,o,i)=>++n>t.maxDepth?Ry($_(e),t):Cy($_(e),Sy(y8(e),e.props,t,r+t.indent,n,o,i),Ay(DS(e.props.children),t,r+t.indent,n,o,i),t,r),g8=e=>e!=null&&Io.isElement(e),v8={serialize:b8,test:g8},E8=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function w8(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var _8=(e,t,r,n,o,i)=>++n>t.maxDepth?Ry(e.type,t):Cy(e.type,e.props?Sy(w8(e),e.props,t,r+t.indent,n,o,i):"",e.children?Ay(e.children,t,r+t.indent,n,o,i):"",t,r),S8=e=>e&&e.$$typeof===E8,A8={serialize:_8,test:S8},IS=Object.prototype.toString,C8=Date.prototype.toISOString,R8=Error.prototype.toString,U_=RegExp.prototype.toString;function iy(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function T8(e){return typeof window<"u"&&e===window}var O8=/^Symbol\((.*)\)(.*)$/,P8=/\n/g,MS=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function x8(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function q8(e){return Object.is(e,-0)?"-0":String(e)}function D8(e){return`${e}n`}function H_(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function V_(e){return String(e).replace(O8,"Symbol($1)")}function G_(e){return`[${R8.call(e)}]`}function NS(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return q8(e);if(o==="bigint")return D8(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return H_(e,t);if(o==="symbol")return V_(e);let i=IS.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?H_(e,t):i==="[object Symbol]"?V_(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":C8.call(e):i==="[object Error]"?G_(e):i==="[object RegExp]"?r?U_.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):U_.call(e):e instanceof Error?G_(e):null}function BS(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return $n(e.toJSON(),t,r,n,o,!0);let u=IS.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${du(e,t,r,n,o,$n)}]`:x8(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${du(e,t,r,n,o,$n)}]`:u==="[object Map]"?s?"[Map]":`Map {${pu(e.entries(),t,r,n,o,$n," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${wy(e.values(),t,r,n,o,$n)}}`:s||T8(e)?`[${iy(e)}]`:`${l||!t.printBasicPrototype&&iy(e)==="Object"?"":`${iy(e)} `}{${_y(e,t,r,n,o,$n)}}`}function I8(e){return e.serialize!=null}function jS(e,t,r,n,o,i){let s;try{s=I8(e)?e.serialize(t,r,n,o,i,$n):e.print(t,l=>$n(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replaceAll(P8,`
205
+ ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new MS(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function FS(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new MS(n.message,n.stack)}return null}function $n(e,t,r,n,o,i){let s=FS(t.plugins,e);if(s!==null)return jS(s,e,t,r,n,o);let l=NS(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:BS(e,t,r,n,o,i)}var Ty={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},LS=Object.keys(Ty),Fr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Ty};function M8(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Fr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function N8(){return LS.reduce((e,t)=>{let r=Ty[t],n=r&&fn[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function B8(){return LS.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function kS(e){return e?.printFunctionName??Fr.printFunctionName}function $S(e){return e?.escapeRegex??Fr.escapeRegex}function US(e){return e?.escapeString??Fr.escapeString}function z_(e){return{callToJSON:e?.callToJSON??Fr.callToJSON,colors:e?.highlight?N8():B8(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Fr.compareKeys,escapeRegex:$S(e),escapeString:US(e),indent:e?.min?"":j8(e?.indent??Fr.indent),maxDepth:e?.maxDepth??Fr.maxDepth,maxWidth:e?.maxWidth??Fr.maxWidth,min:e?.min??Fr.min,plugins:e?.plugins??Fr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:kS(e),spacingInner:e?.min?" ":`
206
+ `,spacingOuter:e?.min?"":`
207
+ `}}function j8(e){return Array.from({length:e+1}).join(" ")}function rn(e,t){if(t&&(M8(t),t.plugins)){let n=FS(t.plugins,e);if(n!==null)return jS(n,e,z_(t),"",0,[])}let r=NS(e,kS(t),$S(t),US(t));return r!==null?r:BS(e,z_(t),"",0,[])}var HS={AsymmetricMatcher:MH,DOMCollection:$H,DOMElement:XH,Immutable:p8,ReactElement:v8,ReactTestComponent:A8},W_={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},F8={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ni="\u2026";function L8(e,t){let r=W_[F8[t]]||W_[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function k8({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:d,stylize:c};return p.colors&&(p.stylize=L8),p}function $8(e){return e>="\uD800"&&e<="\uDBFF"}function Un(e,t,r=ni){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&$8(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Lr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let c=0;c<o;c+=1){let d=c+1===e.length,p=c+2===e.length;u=`${ni}(${e.length-c})`;let h=e[c];t.truncate=i-s.length-(d?0:n.length);let m=l||r(h,t)+(d?"":n),y=s.length+m.length,g=y+u.length;if(d&&y>i&&s.length+u.length<=i||!d&&!p&&g>i||(l=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&g>i&&y+l.length>i))break;if(s+=m,!d&&!p&&y+l.length>=i){u=`${ni}(${e.length-c-1})`;break}u=""}return`${s}${u}`}function U8(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function fs([e,t],r){return r.truncate-=2,typeof e=="string"?e=U8(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function H8(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Lr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Lr(r.map(i=>[i,e[i]]),t,fs)),`[ ${n}${o?`, ${o}`:""} ]`}var V8=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function pn(e,t){let r=V8(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(Un(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${ni}(${e.length-e[s]+1})`;break}o+=l}let i="";return n.length&&(i=Lr(n.map(s=>[s,e[s]]),t,fs)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function G8(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Un(n[1],t.truncate-o.length-1)}`,"date")}function Y_(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Un(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function z8([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function W8(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function Y8(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Lr(W8(e),t,z8)} }`)}var K8=Number.isNaN||(e=>e!==e);function K_(e,t){return K8(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Un(String(e),t.truncate),"number")}function J_(e,t){let r=Un(e.toString(),t.truncate-1);return r!==ni&&(r+="n"),t.stylize(r,"bigint")}function J8(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Un(o,n)}/${r}`,"regexp")}function X8(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function Q8(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Lr(X8(e),t)} }`)}var X_=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Z8={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},eV=16,tV=4;function rV(e){return Z8[e]||`\\u${`0000${e.charCodeAt(0).toString(eV)}`.slice(-tV)}`}function Q_(e,t){return X_.test(e)&&(e=e.replace(X_,rV)),t.stylize(`'${Un(e,t.truncate-2)}'`,"string")}function Z_(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var VS=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(VS=(n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var nV=VS;function cu(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=Lr(r.map(l=>[l,e[l]]),t,fs),i=Lr(n.map(l=>[l,e[l]]),t,fs);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var sy=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function oV(e,t){let r="";return sy&&sy in e&&(r=e[sy]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${cu(e,t)}`}function aV(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Lr(e,t)} ]`)}var iV=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function sV(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>iV.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=Un(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Lr(r.map(s=>[s,e[s]]),t,fs);return`${n}${o}${i?` { ${i} }`:""}`}function lV([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function py(e,t){return Lr(e,t,GS,`
208
+ `)}function GS(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Lr(r.map(d=>[d,e.getAttribute(d)]),t,lV," ")),t.truncate-=l.length;let u=t.truncate,c=py(e.children,t);return c&&c.length>u&&(c=`${ni}(${e.children.length})`),`${o}${l}${i}${c}${s}`}var uV=typeof Symbol=="function"&&typeof Symbol.for=="function",ly=uV?Symbol.for("chai/inspect"):"@@chai/inspect",Za=!1;try{let e=It("util");Za=e.inspect?e.inspect.custom:!1}catch{Za=!1}var eS=new WeakMap,tS={},rS={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:K_,Number:K_,bigint:J_,BigInt:J_,string:Q_,String:Q_,function:Y_,Function:Y_,symbol:Z_,Symbol:Z_,Array:H8,Date:G8,Map:Y8,Set:Q8,RegExp:J8,Promise:nV,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:aV,Int8Array:pn,Uint8Array:pn,Uint8ClampedArray:pn,Int16Array:pn,Uint16Array:pn,Int32Array:pn,Uint32Array:pn,Float32Array:pn,Float64Array:pn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:sV,HTMLCollection:py,NodeList:py},cV=(e,t,r)=>ly in e&&typeof e[ly]=="function"?e[ly](t):Za&&Za in e&&typeof e[Za]=="function"?e[Za](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&eS.has(e.constructor)?eS.get(e.constructor)(e,t):tS[r]?tS[r](e,t):"",dV=Object.prototype.toString;function fy(e,t={}){let r=k8(t,fy),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=dV.call(e).slice(8,-1)),o in rS)return rS[o](e,r);if(n&&e){let s=cV(e,r,o);if(s)return typeof s=="string"?s:fy(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?cu(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?GS(e,r):"constructor"in e?e.constructor!==Object?oV(e,r):cu(e,r):e===Object(e)?cu(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:pV,DOMCollection:fV,DOMElement:hV,Immutable:mV,ReactElement:yV,ReactTestComponent:bV}=HS,nS=[bV,yV,hV,fV,mV,pV];function hs(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=rn(e,{maxDepth:t,escapeString:!1,plugins:nS,...n})}catch{i=rn(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:nS,...n})}return i.length>=o&&t>1?hs(e,Math.floor(t/2)):i}var gV=/%[sdjifoOc%]/g;function vV(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(ds(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(gV,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?ds(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ds(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ds(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ds(i)}`;return o}function ds(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),fy(e,t)}function EV(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wV(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function hy(e){return Object.prototype.toString.apply(e).slice(8,-1)}function _V(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function zS(e){let t=new Set;return wV(e)?[]:(_V(e,t),Array.from(t))}var WS={forceWritable:!1};function oS(e,t=WS){return my(e,new WeakMap,t)}function my(e,t,r=WS){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=my(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=zS(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=my(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}function aS(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var rr=-1,Xt=1,Tt=0,Ct=class{constructor(e,t){At(this,0);At(this,1);this[0]=e,this[1]=t}},SV=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},YS=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},iS=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},AV=function(e){let t=!1,r=[],n=0,o=null,i=0,s=0,l=0,u=0,c=0;for(;i<e.length;)e[i][0]===Tt?(r[n++]=i,s=u,l=c,u=0,c=0,o=e[i][1]):(e[i][0]===Xt?u+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new Ct(rr,o)),e[r[n-1]+1][0]=Xt,n--,n--,i=n>0?r[n-1]:-1,s=0,l=0,u=0,c=0,o=null,t=!0)),i++;for(t&&KS(e),TV(e),i=1;i<e.length;){if(e[i-1][0]===rr&&e[i][0]===Xt){let d=e[i-1][1],p=e[i][1],h=iS(d,p),m=iS(p,d);h>=m?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new Ct(Tt,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(m>=d.length/2||m>=p.length/2)&&(e.splice(i,0,new Ct(Tt,d.substring(0,m))),e[i-1][0]=Xt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=rr,e[i+1][1]=d.substring(m),i++),i++}i++}},sS=/[^a-z0-9]/i,lS=/\s/,uS=/[\r\n]/,CV=/\n\r?\n$/,RV=/^\r?\n\r?\n/;function TV(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Tt&&e[t+1][0]===Tt){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=YS(r,n);if(i){let d=n.substring(n.length-i);r=r.substring(0,r.length-i),n=d+n.substring(0,n.length-i),o=d+o}let s=r,l=n,u=o,c=lu(r,n)+lu(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let d=lu(r,n)+lu(n,o);d>=c&&(c=d,s=r,l=n,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function KS(e){e.push(new Ct(Tt,""));let t=0,r=0,n=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Xt:n++,i+=e[t][1],t++;break;case rr:r++,o+=e[t][1],t++;break;case Tt:r+n>1?(r!==0&&n!==0&&(s=SV(i,o),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===Tt?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new Ct(Tt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=YS(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Ct(rr,o)),t++),i.length&&(e.splice(t,0,new Ct(Xt,i)),t++),t++):t!==0&&e[t-1][0]===Tt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Tt&&e[t+1][0]===Tt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&KS(e)}function lu(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(sS),i=n.match(sS),s=o&&r.match(lS),l=i&&n.match(lS),u=s&&r.match(uS),c=l&&n.match(uS),d=u&&e.match(CV),p=c&&t.match(RV);return d||p?5:u||c?4:o&&!s&&l?3:s||l?2:o||i?1:0}var JS="Compared values have no visual difference.",OV="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",uu={},cS;function PV(){if(cS)return uu;cS=1,Object.defineProperty(uu,"__esModule",{value:!0}),uu.default=h;let e="diff-sequences",t=0,r=(m,y,g,E,b)=>{let w=0;for(;m<y&&g<E&&b(m,g);)m+=1,g+=1,w+=1;return w},n=(m,y,g,E,b)=>{let w=0;for(;m<=y&&g<=E&&b(y,E);)y-=1,E-=1,w+=1;return w},o=(m,y,g,E,b,w,P)=>{let A=0,S=-m,T=w[A],C=T;w[A]+=r(T+1,y,E+T-S+1,g,b);let O=m<P?m:P;for(A+=1,S+=2;A<=O;A+=1,S+=2){if(A!==m&&C<w[A])T=w[A];else if(T=C+1,y<=T)return A-1;C=w[A],w[A]=T+r(T+1,y,E+T-S+1,g,b)}return P},i=(m,y,g,E,b,w,P)=>{let A=0,S=m,T=w[A],C=T;w[A]-=n(y,T-1,g,E+T-S-1,b);let O=m<P?m:P;for(A+=1,S-=2;A<=O;A+=1,S-=2){if(A!==m&&w[A]<C)T=w[A];else if(T=C-1,T<y)return A-1;C=w[A],w[A]=T-n(y,T-1,g,E+T-S-1,b)}return P},s=(m,y,g,E,b,w,P,A,S,T,C)=>{let O=E-y,I=g-y,W=b-E-I,X=-W-(m-1),Y=-W+(m-1),K=t,_=m<A?m:A;for(let x=0,N=-m;x<=_;x+=1,N+=2){let le=x===0||x!==m&&K<P[x],ce=le?P[x]:K,Re=le?ce:ce+1,Ne=O+Re-N,De=r(Re+1,g,Ne+1,b,w),ye=Re+De;if(K=P[x],P[x]=ye,X<=N&&N<=Y){let de=(m-1-(N+W))/2;if(de<=T&&S[de]-1<=ye){let Ee=O+ce-(le?N+1:N-1),Oe=n(y,ce,E,Ee,w),ke=ce-Oe,Fe=Ee-Oe,ze=ke+1,dt=Fe+1;C.nChangePreceding=m-1,m-1===ze+dt-y-E?(C.aEndPreceding=y,C.bEndPreceding=E):(C.aEndPreceding=ze,C.bEndPreceding=dt),C.nCommonPreceding=Oe,Oe!==0&&(C.aCommonPreceding=ze,C.bCommonPreceding=dt),C.nCommonFollowing=De,De!==0&&(C.aCommonFollowing=Re+1,C.bCommonFollowing=Ne+1);let Q=ye+1,Le=Ne+De+1;return C.nChangeFollowing=m-1,m-1===g+b-Q-Le?(C.aStartFollowing=g,C.bStartFollowing=b):(C.aStartFollowing=Q,C.bStartFollowing=Le),!0}}}return!1},l=(m,y,g,E,b,w,P,A,S,T,C)=>{let O=b-g,I=g-y,W=b-E-I,X=W-m,Y=W+m,K=t,_=m<T?m:T;for(let x=0,N=m;x<=_;x+=1,N-=2){let le=x===0||x!==m&&S[x]<K,ce=le?S[x]:K,Re=le?ce:ce-1,Ne=O+Re-N,De=n(y,Re-1,E,Ne-1,w),ye=Re-De;if(K=S[x],S[x]=ye,X<=N&&N<=Y){let de=(m+(N-W))/2;if(de<=A&&ye-1<=P[de]){let Ee=Ne-De;if(C.nChangePreceding=m,m===ye+Ee-y-E?(C.aEndPreceding=y,C.bEndPreceding=E):(C.aEndPreceding=ye,C.bEndPreceding=Ee),C.nCommonPreceding=De,De!==0&&(C.aCommonPreceding=ye,C.bCommonPreceding=Ee),C.nChangeFollowing=m-1,m===1)C.nCommonFollowing=0,C.aStartFollowing=g,C.bStartFollowing=b;else{let Oe=O+ce-(le?N-1:N+1),ke=r(ce,g,Oe,b,w);C.nCommonFollowing=ke,ke!==0&&(C.aCommonFollowing=ce,C.bCommonFollowing=Oe);let Fe=ce+ke,ze=Oe+ke;m-1===g+b-Fe-ze?(C.aStartFollowing=g,C.bStartFollowing=b):(C.aStartFollowing=Fe,C.bStartFollowing=ze)}return!0}}}return!1},u=(m,y,g,E,b,w,P,A,S)=>{let T=E-y,C=b-g,O=g-y,I=b-E,W=I-O,X=O,Y=O;if(P[0]=y-1,A[0]=g,W%2===0){let K=(m||W)/2,_=(O+I)/2;for(let x=1;x<=_;x+=1)if(X=o(x,g,b,T,w,P,X),x<K)Y=i(x,y,E,C,w,A,Y);else if(l(x,y,g,E,b,w,P,X,A,Y,S))return}else{let K=((m||W)+1)/2,_=(O+I+1)/2,x=1;for(X=o(x,g,b,T,w,P,X),x+=1;x<=_;x+=1)if(Y=i(x-1,y,E,C,w,A,Y),x<K)X=o(x,g,b,T,w,P,X);else if(s(x,y,g,E,b,w,P,X,A,Y,S))return}throw new Error(`${e}: no overlap aStart=${y} aEnd=${g} bStart=${E} bEnd=${b}`)},c=(m,y,g,E,b,w,P,A,S,T)=>{if(b-E<g-y){if(w=!w,w&&P.length===1){let{foundSubsequence:de,isCommon:Ee}=P[0];P[1]={foundSubsequence:(Oe,ke,Fe)=>{de(Oe,Fe,ke)},isCommon:(Oe,ke)=>Ee(ke,Oe)}}let De=y,ye=g;y=E,g=b,E=De,b=ye}let{foundSubsequence:C,isCommon:O}=P[w?1:0];u(m,y,g,E,b,O,A,S,T);let{nChangePreceding:I,aEndPreceding:W,bEndPreceding:X,nCommonPreceding:Y,aCommonPreceding:K,bCommonPreceding:_,nCommonFollowing:x,aCommonFollowing:N,bCommonFollowing:le,nChangeFollowing:ce,aStartFollowing:Re,bStartFollowing:Ne}=T;y<W&&E<X&&c(I,y,W,E,X,w,P,A,S,T),Y!==0&&C(Y,K,_),x!==0&&C(x,N,le),Re<g&&Ne<b&&c(ce,Re,g,Ne,b,w,P,A,S,T)},d=(m,y)=>{if(typeof y!="number")throw new TypeError(`${e}: ${m} typeof ${typeof y} is not a number`);if(!Number.isSafeInteger(y))throw new RangeError(`${e}: ${m} value ${y} is not a safe integer`);if(y<0)throw new RangeError(`${e}: ${m} value ${y} is a negative integer`)},p=(m,y)=>{let g=typeof y;if(g!=="function")throw new TypeError(`${e}: ${m} typeof ${g} is not a function`)};function h(m,y,g,E){d("aLength",m),d("bLength",y),p("isCommon",g),p("foundSubsequence",E);let b=r(0,m,0,y,g);if(b!==0&&E(b,0,0),m!==b||y!==b){let w=b,P=b,A=n(w,m-1,P,y-1,g),S=m-A,T=y-A,C=b+A;m!==C&&y!==C&&c(0,w,S,P,T,!1,[{foundSubsequence:E,isCommon:g}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),A!==0&&E(A,S,T)}}return uu}var xV=PV(),XS=EV(xV);function qV(e,t){return e.replace(/\s+$/,r=>t(r))}function Oy(e,t,r,n,o,i){return e.length!==0?r(`${n} ${qV(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function QS(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Oy(e,t,r,n,o,i)}function ZS(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Oy(e,t,r,n,o,i)}function eA(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Oy(e,t,r,n,o,i)}function dS(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function DV(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(A!==u)if(A===0)u>n&&(i-=u-n,s=!0);else if(u===r){let S=u-A;S>n&&(i-=S-n,s=!0)}else{let S=u-A;S>o&&(i-=S-o,l+=1)}for(;u!==r&&e[u][0]!==Tt;)u+=1}let c=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let d=i-1,p=[],h=0;c&&p.push("");let m=0,y=0,g=0,E=0,b=A=>{let S=p.length;p.push(eA(A,S===0||S===d,t)),g+=1,E+=1},w=A=>{let S=p.length;p.push(QS(A,S===0||S===d,t)),g+=1},P=A=>{let S=p.length;p.push(ZS(A,S===0||S===d,t)),E+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(A!==u)if(A===0){u>n&&(A=u-n,m=A,y=A,g=m,E=y);for(let S=A;S!==u;S+=1)b(e[S][1])}else if(u===r){let S=u-A>n?A+n:u;for(let T=A;T!==S;T+=1)b(e[T][1])}else{let S=u-A;if(S>o){let T=A+n;for(let O=A;O!==T;O+=1)b(e[O][1]);p[h]=dS(m,g,y,E,t),h=p.length,p.push("");let C=S-o;m=g+C,y=E+C,g=m,E=y;for(let O=u-n;O!==u;O+=1)b(e[O][1])}else for(let T=A;T!==u;T+=1)b(e[T][1])}for(;u!==r&&e[u][0]===rr;)w(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Xt;)P(e[u][1]),u+=1}return c&&(p[h]=dS(m,g,y,E,t)),p.join(`
209
+ `)}function IV(e,t){return e.map((r,n,o)=>{let i=r[1],s=n===0||n===o.length-1;switch(r[0]){case rr:return QS(i,s,t);case Xt:return ZS(i,s,t);default:return eA(i,s,t)}}).join(`
210
+ `)}var uy=e=>e,tA=5,MV=0;function NV(){return{aAnnotation:"Expected",aColor:fn.green,aIndicator:"-",bAnnotation:"Received",bColor:fn.red,bIndicator:"+",changeColor:fn.inverse,changeLineTrailingSpaceColor:uy,commonColor:fn.dim,commonIndicator:" ",commonLineTrailingSpaceColor:uy,compareKeys:void 0,contextLines:tA,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:fn.yellow,truncateThreshold:MV,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:uy}}function BV(e){return e&&typeof e=="function"?e:void 0}function jV(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:tA}function Mo(e={}){return{...NV(),...e,compareKeys:BV(e.compareKeys),contextLines:jV(e.contextLines)}}function ei(e){return e.length===1&&e[0].length===0}function FV(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case rr:t+=1;break;case Xt:r+=1;break}}),{a:t,b:r}}function LV({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let c="",d="";if(s){let m=String(u.a),y=String(u.b),g=n.length-e.length,E=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),w=y.length-m.length,P=" ".repeat(Math.max(0,w)),A=" ".repeat(Math.max(0,-w));c=`${E} ${r} ${P}${m}`,d=`${b} ${i} ${A}${y}`}let p=`${r} ${e}${c}`,h=`${i} ${n}${d}`;return`${t(p)}
211
+ ${o(h)}
212
+
213
+ `}function Py(e,t,r){return LV(r,FV(e))+(r.expand?IV(e,r):DV(e,r))+(t?r.truncateAnnotationColor(`
214
+ ${r.truncateAnnotation}`):"")}function hu(e,t,r){let n=Mo(r),[o,i]=rA(ei(e)?[]:e,ei(t)?[]:t,n);return Py(o,i,n)}function kV(e,t,r,n,o){if(ei(e)&&ei(r)&&(e=[],r=[]),ei(t)&&ei(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return hu(e,t,o);let[i,s]=rA(r,n,o),l=0,u=0;return i.forEach(c=>{switch(c[0]){case rr:c[1]=e[l],l+=1;break;case Xt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Py(i,s,Mo(o))}function rA(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,s=n?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(h,m)=>e[h]===t[m],c=[],d=0,p=0;for(XS(i,s,u,(h,m,y)=>{for(;d!==m;d+=1)c.push(new Ct(rr,e[d]));for(;p!==y;p+=1)c.push(new Ct(Xt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)c.push(new Ct(Tt,t[p]))});d!==i;d+=1)c.push(new Ct(rr,e[d]));for(;p!==s;p+=1)c.push(new Ct(Xt,t[p]));return[c,l]}function pS(e){return e.includes(`\r
215
+ `)?`\r
216
+ `:`
217
+ `}function $V(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,s=t.length;if(n){let h=e.includes(`
218
+ `),m=t.includes(`
219
+ `),y=pS(e),g=pS(t),E=h?`${e.split(y,o).join(y)}
220
+ `:e,b=m?`${t.split(g,o).join(g)}
221
+ `:t;i=E.length,s=b.length}let l=i!==e.length||s!==t.length,u=(h,m)=>e[h]===t[m],c=0,d=0,p=[];return XS(i,s,u,(h,m,y)=>{c!==m&&p.push(new Ct(rr,e.slice(c,m))),d!==y&&p.push(new Ct(Xt,t.slice(d,y))),c=m+h,d=y+h,p.push(new Ct(Tt,t.slice(y,d)))}),c!==i&&p.push(new Ct(rr,e.slice(c))),d!==s&&p.push(new Ct(Xt,t.slice(d))),[p,l]}function UV(e,t,r){return t.reduce((n,o)=>n+(o[0]===Tt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var fS=class{constructor(e,t){At(this,"op");At(this,"line");At(this,"lines");At(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Ct(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Ct(this.op,UV(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Ct(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
222
+ `)){let r=t.split(`
223
+ `),n=r.length-1;r.forEach((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},HV=class{constructor(e,t){At(this,"deleteBuffer");At(this,"insertBuffer");At(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
224
+ `)){let n=r.split(`
225
+ `),o=n.length-1;n.forEach((i,s)=>{if(s===0){let l=new Ct(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new Ct(t,i)):i.length!==0&&this.pushDiffChangeLines(new Ct(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function VV(e,t){let r=new fS(rr,t),n=new fS(Xt,t),o=new HV(r,n);return e.forEach(i=>{switch(i[0]){case rr:r.align(i);break;case Xt:n.align(i);break;default:o.align(i)}}),o.getLines()}function GV(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Tt&&(o!==r||n[1]!==`
226
+ `))}return e.some(r=>r[0]===Tt)}function zV(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
227
+ `)||t.includes(`
228
+ `),[o,i]=nA(n?`${e}
229
+ `:e,n?`${t}
230
+ `:t,!0,r);if(GV(o,n)){let s=Mo(r),l=VV(o,s.changeColor);return Py(l,i,s)}}return hu(e.split(`
231
+ `),t.split(`
232
+ `),r)}function nA(e,t,r,n){let[o,i]=$V(e,t,n);return r&&AV(o),[o,i]}function yy(e,t){let{commonColor:r}=Mo(t);return r(e)}var{AsymmetricMatcher:WV,DOMCollection:YV,DOMElement:KV,Immutable:JV,ReactElement:XV,ReactTestComponent:QV}=HS,oA=[QV,XV,KV,YV,JV,WV],by={plugins:oA},aA={callToJSON:!1,maxDepth:10,plugins:oA};function ZV(e,t,r){if(Object.is(e,t))return"";let n=aS(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==aS(t)){let{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:c,bColor:d,bIndicator:p}=Mo(r),h=gy(aA,r),m=rn(e,h),y=rn(t,h),g=`${l(`${u} ${s}:`)}
233
+ ${m}`,E=`${d(`${p} ${c}:`)}
234
+ ${y}`;return`${g}
235
+
236
+ ${E}`}if(!i)switch(n){case"string":return hu(e.split(`
237
+ `),t.split(`
238
+ `),r);case"boolean":case"number":return eG(e,t,r);case"map":return cy(hS(e),hS(t),r);case"set":return cy(mS(e),mS(t),r);default:return cy(e,t,r)}}function eG(e,t,r){let n=rn(e,by),o=rn(t,by);return n===o?"":hu(n.split(`
239
+ `),o.split(`
240
+ `),r)}function hS(e){return new Map(Array.from(e.entries()).sort())}function mS(e){return new Set(Array.from(e.values()).sort())}function cy(e,t,r){let n,o=!1;try{let s=gy(by,r);n=yS(e,t,s,r)}catch{o=!0}let i=yy(JS,r);if(n===void 0||n===i){let s=gy(aA,r);n=yS(e,t,s,r),n!==i&&!o&&(n=`${yy(OV,r)}
241
+
242
+ ${n}`)}return n}function gy(e,t){let{compareKeys:r}=Mo(t);return{...e,compareKeys:r}}function yS(e,t,r,n){let o={...r,indent:0},i=rn(e,o),s=rn(t,o);if(i===s)return yy(JS,n);{let l=rn(e,r),u=rn(t,r);return kV(l.split(`
243
+ `),u.split(`
244
+ `),i.split(`
245
+ `),s.split(`
246
+ `),n)}}var bS=2e4;function gS(e){return hy(e)==="Object"&&typeof e.asymmetricMatch=="function"}function vS(e,t){let r=hy(e),n=hy(t);return r===n&&(r==="Object"||r==="Array")}function tG(e,t,r){let{aAnnotation:n,bAnnotation:o}=Mo(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=bS&&t.length<=bS&&e!==t){if(e.includes(`
247
+ `)||t.includes(`
248
+ `))return zV(t,e,r);let[c]=nA(t,e,!0),d=c.some(y=>y[0]===Tt),p=rG(n,o),h=p(n)+aG(ES(c,rr,d)),m=p(o)+oG(ES(c,Xt,d));return`${h}
249
+ ${m}`}let i=oS(e,{forceWritable:!0}),s=oS(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=iA(i,s);return ZV(l,u,r)}function iA(e,t,r=new WeakSet,n=new WeakSet){return vS(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),zS(t).forEach(o=>{let i=t[o],s=e[o];if(gS(i))i.asymmetricMatch(s)&&(e[o]=i);else if(gS(s))s.asymmetricMatch(i)&&(t[o]=s);else if(vS(s,i)){let l=iA(s,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function rG(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var nG="\xB7";function sA(e){return e.replace(/\s+$/gm,t=>nG.repeat(t.length))}function oG(e){return fn.red(sA(hs(e)))}function aG(e){return fn.green(sA(hs(e)))}function ES(e,t,r){return e.reduce((n,o)=>n+(o[0]===Tt?o[1]:o[0]===t?r?fn.inverse(o[1]):o[1]:""),"")}var iG="@@__IMMUTABLE_RECORD__@@",sG="@@__IMMUTABLE_ITERABLE__@@";function lG(e){return e&&(e[sG]||e[iG])}var uG=Object.getPrototypeOf({});function wS(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function ti(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(lG(e))return ti(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${vV(e.sample)}`;if(typeof e.toJSON=="function")return ti(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=ti(n,t)}catch(i){r[o]=wS(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==uG;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=ti(e[o],t)}catch(i){delete r[o],r[o]=wS(i)}}),n=Object.getPrototypeOf(n);return r}}function cG(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function lA(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=tG(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=hs(n.expected,10)),typeof n.actual!="string"&&(n.actual=hs(n.actual,10));try{typeof n.message=="string"&&(n.message=cG(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=lA(n.cause,t,r))}catch{}try{return ti(n)}catch(o){return ti(new Error(`Failed to fully serialize error: ${o?.message}
250
+ Inner error message: ${n?.message}`))}}var uA=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(uA||{}),tn={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},_S={start:!1,back:!1,goto:!1,next:!1,end:!1},dG=new Error("This function ran after the play function completed. Did you forget to `await` it?"),SS=e=>Object.prototype.toString.call(e)==="[object Object]",pG=e=>Object.prototype.toString.call(e)==="[object Module]",fG=e=>{if(!SS(e)&&!pG(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!SS(t)},hG=e=>{try{return new e.constructor}catch{return{}}},dy=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),AS=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},mG=class{constructor(){this.initialized=!1,this.channel=AH.addons.getChannel(),this.state=dr.global.window?.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:s,isPlaying:l=!0,isDebugging:u=!1})=>{let c=this.getState(s);this.setState(s,{...dy(),...AS(c,u),shadowCalls:u?c.shadowCalls:[],chainedCallIds:u?c.chainedCallIds:new Set,playUntil:u?c.playUntil:void 0,isPlaying:l,isDebugging:u}),this.sync(s)};this.channel.on(su.FORCE_REMOUNT,e),this.channel.on(su.STORY_RENDER_PHASE_CHANGED,({storyId:s,newPhase:l})=>{let{isDebugging:u}=this.getState(s);this.setState(s,{renderPhase:l}),l==="preparing"&&u&&e({storyId:s}),l==="playing"&&e({storyId:s,isDebugging:u}),l==="played"&&this.setState(s,{isLocked:!1,isPlaying:!1,isDebugging:!1}),l==="errored"&&this.setState(s,{isLocked:!1,isPlaying:!1})}),this.channel.on(su.SET_CURRENT_STORY,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:s,playUntil:l})=>{this.getState(s).isDebugging||this.setState(s,({calls:c})=>({calls:[],shadowCalls:c.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let u=this.getLog(s);this.setState(s,({shadowCalls:c})=>{if(l||!u.length)return{playUntil:l};let d=c.findIndex(p=>p.id===u[0].callId);return{playUntil:c.slice(0,d).filter(p=>p.interceptable&&!p.ancestors.length).slice(-1)[0]?.id}}),this.channel.emit(su.FORCE_REMOUNT,{storyId:s,isDebugging:!0})},r=({storyId:s})=>{let l=this.getLog(s).filter(c=>!c.ancestors.length),u=l.reduceRight((c,d,p)=>c>=0||d.status==="waiting"?c:p,-1);t({storyId:s,playUntil:l[u-1]?.callId})},n=({storyId:s,callId:l})=>{let{calls:u,shadowCalls:c,resolvers:d}=this.getState(s),p=u.find(({id:m})=>m===l),h=c.find(({id:m})=>m===l);if(!p&&h&&Object.values(d).length>0){let m=this.getLog(s).find(y=>y.status==="waiting")?.callId;h.id!==m&&this.setState(s,{playUntil:h.id}),Object.values(d).forEach(y=>y())}else t({storyId:s,playUntil:l})},o=({storyId:s})=>{let{resolvers:l}=this.getState(s);if(Object.values(l).length>0)Object.values(l).forEach(u=>u());else{let u=this.getLog(s).find(c=>c.status==="waiting")?.callId;u?t({storyId:s,playUntil:u}):i({storyId:s})}},i=({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(l=>l())};this.channel.on(tn.START,t),this.channel.on(tn.BACK,r),this.channel.on(tn.GOTO,n),this.channel.on(tn.NEXT,o),this.channel.on(tn.END,i)}getState(e){return this.state[e]||dy()}setState(e,t){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},dr.global.window?.parent&&(dr.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=AS(n);return o&&(t[r]=Object.assign(dy(),o)),t},{});let e={controlStates:_S,logItems:[]};this.channel.emit(tn.SYNC,e),dr.global.window?.parent&&(dr.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,s)=>{n[s]=i});let o=new Set;return n.reduceRight((i,s)=>(s.args.forEach(l=>{l?.__callId__&&o.add(l.__callId__)}),s.path.forEach(l=>{l.__callId__&&o.add(l.__callId__)}),(s.interceptable||s.exception)&&!o.has(s.id)&&(i.unshift({callId:s.id,status:s.status,ancestors:s.ancestors}),o.add(s.id)),i),[])}instrument(e,t,r=0){if(!fG(e))return e;let{mutate:n=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((s,l)=>{let u=bG(e,l);if(typeof u?.get=="function"){let d=()=>u?.get?.bind(e)?.();return Object.defineProperty(s,l,{get:()=>this.instrument(d(),{...t,path:o.concat(l)},r)}),s}let c=e[l];return typeof c!="function"?(s[l]=this.instrument(c,{...t,path:o.concat(l)},r),s):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(s[l]=c,s):(s[l]=(...d)=>this.track(l,c,e,d,t),s[l].__originalFn__=c,Object.defineProperty(s[l],"name",{value:l,writable:!1}),Object.keys(c).length>0&&Object.assign(s[l],this.instrument({...c},{...t,path:o.concat(l)},r)),s)},n?e:hG(e))}track(e,t,r,n,o){let i=n?.[0]?.__storyId__||dr.global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:s,ancestors:l}=this.getState(i);this.setState(i,{cursor:s+1});let u=`${l.slice(-1)[0]||i} [${s}] ${e}`,{path:c=[],intercept:d=!1,retain:p=!1}=o,h=typeof d=="function"?d(e,c):d,m={id:u,cursor:s,storyId:i,ancestors:l,path:c,method:e,args:n,interceptable:h,retain:p},y=(h&&!l.length?this.intercept:this.invoke).call(this,t,r,m,o);return this.instrument(y,{...o,mutate:!0,path:[{__callId__:m.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:i,playUntil:s}=this.getState(r.storyId),l=o.has(r.id);return!i||l||s?(s===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:c,...d}=u.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:i}=this.getState(r.storyId),s=25,l=(d,p,h)=>{if(h.includes(d))return"[Circular]";if(h=[...h,d],p>s)return"...";if(o.has(d))return o.get(d);if(d instanceof Array)return d.map(m=>l(m,++p,h));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:m,message:y,stack:g}=d;return{__error__:{name:m,message:y,stack:g}}}if(d instanceof RegExp){let{flags:m,source:y}=d;return{__regexp__:{flags:m,source:y}}}if(d instanceof dr.global.window?.HTMLElement){let{prefix:m,localName:y,id:g,classList:E,innerText:b}=d,w=Array.from(E);return{__element__:{prefix:m,localName:y,id:g,classNames:w,innerText:b}}}return typeof d=="function"?{__function__:{name:"getMockName"in d?d.getMockName():d.name}}:typeof d=="symbol"?{__symbol__:{description:d.description}}:typeof d=="object"&&d?.constructor?.name&&d?.constructor?.name!=="Object"?{__class__:{name:d.constructor.name}}:Object.prototype.toString.call(d)==="[object Object]"?Object.fromEntries(Object.entries(d).map(([m,y])=>[m,l(y,++p,h)])):d},u={...r,args:r.args.map(d=>l(d,0,[]))};r.path.forEach(d=>{d?.__callId__&&this.setState(r.storyId,({chainedCallIds:p})=>({chainedCallIds:new Set(Array.from(p).concat(d.__callId__))}))});let c=d=>{if(d instanceof Error){let{name:p,message:h,stack:m,callId:y=r.id}=d,{showDiff:g=void 0,diff:E=void 0,actual:b=void 0,expected:w=void 0}=d.name==="AssertionError"?lA(d):d,P={name:p,message:h,stack:m,callId:y,showDiff:g,diff:E,actual:b,expected:w};if(this.update({...u,status:"error",exception:P}),this.setState(r.storyId,A=>({callRefsByResult:new Map([...Array.from(A.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:r.id}),d}throw d};try{if(i==="played"&&!r.retain)throw dG;let d=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(h=>typeof h!="function"||Object.keys(h).length?h:(...m)=>{let{cursor:y,ancestors:g}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...g,r.id]});let E=()=>this.setState(r.storyId,{cursor:y,ancestors:g}),b=!1;try{let w=h(...m);return w instanceof Promise?(b=!0,w.finally(E)):w}finally{b||E()}}),p=e.apply(t,d);return p&&["object","function","symbol"].includes(typeof p)&&this.setState(r.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[p,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:p instanceof Promise?"active":"done"}),p instanceof Promise?p.then(h=>(this.update({...u,status:"done"}),h),c):p}catch(d){return c(d)}}update(e){this.channel.emit(tn.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),i=o.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting")?.callId,s=o.some(c=>c.status==="active");if(r||s||o.length===0){let c={controlStates:_S,logItems:o};this.channel.emit(tn.SYNC,c);return}let l=o.some(c=>c.status==="done"||c.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:o,pausedAt:i};this.channel.emit(tn.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function yG(e,t={}){try{let r=!1,n=!1;return dr.global.window?.location?.search?.includes("instrument=true")?r=!0:dr.global.window?.location?.search?.includes("instrument=false")&&(n=!0),dr.global.window?.parent===dr.global.window&&!r||n?e:(dr.global.window&&!dr.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(dr.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new mG),(dr.global.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return SH.once.warn(r),e}}function bG(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}});var qq=se((X1e,jo)=>{"use strict";var gG=Object.create,Ku=Object.defineProperty,vG=Object.getOwnPropertyDescriptor,gR=Object.getOwnPropertyNames,EG=Object.getPrototypeOf,wG=Object.prototype.hasOwnProperty,F=(e,t)=>function(){return t||(0,e[gR(e)[0]])((t={exports:{}}).exports,t),t.exports},Ju=(e,t)=>{for(var r in t)Ku(e,r,{get:t[r],enumerable:!0})},vR=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of gR(t))!wG.call(e,o)&&o!==r&&Ku(e,o,{get:()=>t[o],enumerable:!(n=vG(t,o))||n.enumerable});return e},Sr=(e,t,r)=>(r=e!=null?gG(EG(e)):{},vR(t||!e||!e.__esModule?Ku(r,"default",{value:e,enumerable:!0}):r,e)),_G=e=>vR(Ku({},"__esModule",{value:!0}),e),SG=F({"../../node_modules/min-indent/index.js"(e,t){"use strict";t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,i)=>Math.min(o,i.length),1/0):0}}}),AG=F({"../../node_modules/strip-indent/index.js"(e,t){"use strict";var r=SG();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}}),CG=F({"../../node_modules/indent-string/index.js"(e,t){"use strict";t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(n))}}}),ER=F({"../../node_modules/redent/index.js"(e,t){"use strict";var r=AG(),n=CG();t.exports=(o,i=0,s)=>n(r(o),i,s)}}),RG=F({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,i={"@@iterator":function(){return i},next:function(){if(o<n.length){var s=n[o];return o=o+1,{done:!1,value:s}}else return{done:!0}}};return i}var r=t;e.default=r}}),Us=F({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(RG());function r(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}function o(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}}}),TG=F({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Us());function r(m){return m&&m.__esModule?m:{default:m}}function n(m,y){return s(m)||i(m,y)||u(m,y)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
251
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,y){var g=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(g!=null){var E=[],b=!0,w=!1,P,A;try{for(g=g.call(m);!(b=(P=g.next()).done)&&(E.push(P.value),!(y&&E.length===y));b=!0);}catch(S){w=!0,A=S}finally{try{!b&&g.return!=null&&g.return()}finally{if(w)throw A}}return E}}function s(m){if(Array.isArray(m))return m}function l(m,y){var g=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!g){if(Array.isArray(m)||(g=u(m))||y&&m&&typeof m.length=="number"){g&&(m=g);var E=0,b=function(){};return{s:b,n:function(){return E>=m.length?{done:!0}:{done:!1,value:m[E++]}},e:function(S){throw S},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
252
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,P=!1,A;return{s:function(){g=g.call(m)},n:function(){var S=g.next();return w=S.done,S},e:function(S){P=!0,A=S},f:function(){try{!w&&g.return!=null&&g.return()}finally{if(P)throw A}}}}function u(m,y){if(m){if(typeof m=="string")return c(m,y);var g=Object.prototype.toString.call(m).slice(8,-1);if(g==="Object"&&m.constructor&&(g=m.constructor.name),g==="Map"||g==="Set")return Array.from(m);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(m,y)}}function c(m,y){(y==null||y>m.length)&&(y=m.length);for(var g=0,E=new Array(y);g<y;g++)E[g]=m[g];return E}var d=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:function(){return d},forEach:function(m){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=l(d),E;try{for(g.s();!(E=g.n()).done;){var b=n(E.value,2),w=b[0],P=b[1];m.call(y,P,w,d)}}catch(A){g.e(A)}finally{g.f()}},get:function(m){var y=d.find(function(g){return g[0]===m});return y&&y[1]},has:function(m){return!!p.get(m)},keys:function(){return d.map(function(m){var y=n(m,1),g=y[0];return g})},values:function(){return d.map(function(m){var y=n(m,2),g=y[1];return g})}},h=(0,t.default)(p,p.entries());e.default=h}}),OG=F({"../../node_modules/aria-query/lib/domMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Us());function r(m){return m&&m.__esModule?m:{default:m}}function n(m,y){return s(m)||i(m,y)||u(m,y)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
253
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,y){var g=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(g!=null){var E=[],b=!0,w=!1,P,A;try{for(g=g.call(m);!(b=(P=g.next()).done)&&(E.push(P.value),!(y&&E.length===y));b=!0);}catch(S){w=!0,A=S}finally{try{!b&&g.return!=null&&g.return()}finally{if(w)throw A}}return E}}function s(m){if(Array.isArray(m))return m}function l(m,y){var g=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!g){if(Array.isArray(m)||(g=u(m))||y&&m&&typeof m.length=="number"){g&&(m=g);var E=0,b=function(){};return{s:b,n:function(){return E>=m.length?{done:!0}:{done:!1,value:m[E++]}},e:function(S){throw S},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
254
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,P=!1,A;return{s:function(){g=g.call(m)},n:function(){var S=g.next();return w=S.done,S},e:function(S){P=!0,A=S},f:function(){try{!w&&g.return!=null&&g.return()}finally{if(P)throw A}}}}function u(m,y){if(m){if(typeof m=="string")return c(m,y);var g=Object.prototype.toString.call(m).slice(8,-1);if(g==="Object"&&m.constructor&&(g=m.constructor.name),g==="Map"||g==="Set")return Array.from(m);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(m,y)}}function c(m,y){(y==null||y>m.length)&&(y=m.length);for(var g=0,E=new Array(y);g<y;g++)E[g]=m[g];return E}var d=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:function(){return d},forEach:function(m){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=l(d),E;try{for(g.s();!(E=g.n()).done;){var b=n(E.value,2),w=b[0],P=b[1];m.call(y,P,w,d)}}catch(A){g.e(A)}finally{g.f()}},get:function(m){var y=d.find(function(g){return g[0]===m});return y&&y[1]},has:function(m){return!!p.get(m)},keys:function(){return d.map(function(m){var y=n(m,1),g=y[0];return g})},values:function(){return d.map(function(m){var y=n(m,2),g=y[1];return g})}},h=(0,t.default)(p,p.entries());e.default=h}}),PG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),xG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),qG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),DG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),IG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),MG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),NG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),BG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),jG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),FG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),LG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),kG=F({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),$G=F({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(PG()),r=m(xG()),n=m(qG()),o=m(DG()),i=m(IG()),s=m(MG()),l=m(NG()),u=m(BG()),c=m(jG()),d=m(FG()),p=m(LG()),h=m(kG());function m(E){return E&&E.__esModule?E:{default:E}}var y=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",d.default],["widget",p.default],["window",h.default]],g=y;e.default=g}}),UG=F({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),HG=F({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),VG=F({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),GG=F({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),zG=F({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),WG=F({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),YG=F({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),KG=F({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),JG=F({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),XG=F({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),QG=F({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ZG=F({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),ez=F({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),tz=F({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),rz=F({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),nz=F({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),oz=F({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),az=F({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),iz=F({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),sz=F({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),lz=F({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uz=F({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),cz=F({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dz=F({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),pz=F({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),fz=F({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),hz=F({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),mz=F({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),yz=F({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),bz=F({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),gz=F({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),vz=F({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Ez=F({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wz=F({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),_z=F({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Sz=F({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Az=F({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Cz=F({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Rz=F({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Tz=F({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Oz=F({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Pz=F({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),xz=F({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),qz=F({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),Dz=F({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),Iz=F({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),Mz=F({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Nz=F({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),Bz=F({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),jz=F({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Fz=F({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Lz=F({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),kz=F({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),$z=F({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Uz=F({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Hz=F({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Vz=F({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),Gz=F({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),zz=F({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Wz=F({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Yz=F({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Kz=F({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),Jz=F({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Xz=F({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),Qz=F({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),Zz=F({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),e7=F({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),t7=F({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),r7=F({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),n7=F({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),o7=F({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),a7=F({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),i7=F({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),s7=F({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),l7=F({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),u7=F({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),c7=F({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),d7=F({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),p7=F({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),f7=F({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),h7=F({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),m7=F({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),y7=F({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),b7=F({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Pe(UG()),r=Pe(HG()),n=Pe(VG()),o=Pe(GG()),i=Pe(zG()),s=Pe(WG()),l=Pe(YG()),u=Pe(KG()),c=Pe(JG()),d=Pe(XG()),p=Pe(QG()),h=Pe(ZG()),m=Pe(ez()),y=Pe(tz()),g=Pe(rz()),E=Pe(nz()),b=Pe(oz()),w=Pe(az()),P=Pe(iz()),A=Pe(sz()),S=Pe(lz()),T=Pe(uz()),C=Pe(cz()),O=Pe(dz()),I=Pe(pz()),W=Pe(fz()),X=Pe(hz()),Y=Pe(mz()),K=Pe(yz()),_=Pe(bz()),x=Pe(gz()),N=Pe(vz()),le=Pe(Ez()),ce=Pe(wz()),Re=Pe(_z()),Ne=Pe(Sz()),De=Pe(Az()),ye=Pe(Cz()),de=Pe(Rz()),Ee=Pe(Tz()),Oe=Pe(Oz()),ke=Pe(Pz()),Fe=Pe(xz()),ze=Pe(qz()),dt=Pe(Dz()),Q=Pe(Iz()),Le=Pe(Mz()),Ge=Pe(Nz()),et=Pe(Bz()),J=Pe(jz()),Se=Pe(Fz()),$e=Pe(Lz()),tt=Pe(kz()),Ut=Pe($z()),$i=Pe(Uz()),Ui=Pe(Hz()),Kj=Pe(Vz()),Jj=Pe(Gz()),Xj=Pe(zz()),Qj=Pe(Wz()),Zj=Pe(Yz()),eF=Pe(Kz()),tF=Pe(Jz()),rF=Pe(Xz()),nF=Pe(Qz()),oF=Pe(Zz()),aF=Pe(e7()),iF=Pe(t7()),sF=Pe(r7()),lF=Pe(n7()),uF=Pe(o7()),cF=Pe(a7()),dF=Pe(i7()),pF=Pe(s7()),fF=Pe(l7()),hF=Pe(u7()),mF=Pe(c7()),yF=Pe(d7()),bF=Pe(p7()),gF=Pe(f7()),vF=Pe(h7()),EF=Pe(m7()),wF=Pe(y7());function Pe(_l){return _l&&_l.__esModule?_l:{default:_l}}var _F=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",d.default],["code",p.default],["columnheader",h.default],["combobox",m.default],["complementary",y.default],["contentinfo",g.default],["definition",E.default],["deletion",b.default],["dialog",w.default],["directory",P.default],["document",A.default],["emphasis",S.default],["feed",T.default],["figure",C.default],["form",O.default],["generic",I.default],["grid",W.default],["gridcell",X.default],["group",Y.default],["heading",K.default],["img",_.default],["insertion",x.default],["link",N.default],["list",le.default],["listbox",ce.default],["listitem",Re.default],["log",Ne.default],["main",De.default],["mark",ye.default],["marquee",de.default],["math",Ee.default],["menu",Oe.default],["menubar",ke.default],["menuitem",Fe.default],["menuitemcheckbox",ze.default],["menuitemradio",dt.default],["meter",Q.default],["navigation",Le.default],["none",Ge.default],["note",et.default],["option",J.default],["paragraph",Se.default],["presentation",$e.default],["progressbar",tt.default],["radio",Ut.default],["radiogroup",$i.default],["region",Ui.default],["row",Kj.default],["rowgroup",Jj.default],["rowheader",Xj.default],["scrollbar",Qj.default],["search",Zj.default],["searchbox",eF.default],["separator",tF.default],["slider",rF.default],["spinbutton",nF.default],["status",oF.default],["strong",aF.default],["subscript",iF.default],["superscript",sF.default],["switch",lF.default],["tab",uF.default],["table",cF.default],["tablist",dF.default],["tabpanel",pF.default],["term",fF.default],["textbox",hF.default],["time",mF.default],["timer",yF.default],["toolbar",bF.default],["tooltip",gF.default],["tree",vF.default],["treegrid",EF.default],["treeitem",wF.default]],SF=_F;e.default=SF}}),g7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),v7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),E7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),w7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),_7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),S7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),A7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),C7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),R7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),T7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),O7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),P7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),x7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),q7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),D7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),I7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),M7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),N7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),B7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),j7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),F7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),L7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),k7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),$7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),U7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),H7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),V7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),G7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),z7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),W7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),Y7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),K7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),J7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),X7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Q7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),Z7=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),eW=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),tW=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),rW=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),nW=F({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ee(g7()),r=Ee(v7()),n=Ee(E7()),o=Ee(w7()),i=Ee(_7()),s=Ee(S7()),l=Ee(A7()),u=Ee(C7()),c=Ee(R7()),d=Ee(T7()),p=Ee(O7()),h=Ee(P7()),m=Ee(x7()),y=Ee(q7()),g=Ee(D7()),E=Ee(I7()),b=Ee(M7()),w=Ee(N7()),P=Ee(B7()),A=Ee(j7()),S=Ee(F7()),T=Ee(L7()),C=Ee(k7()),O=Ee($7()),I=Ee(U7()),W=Ee(H7()),X=Ee(V7()),Y=Ee(G7()),K=Ee(z7()),_=Ee(W7()),x=Ee(Y7()),N=Ee(K7()),le=Ee(J7()),ce=Ee(X7()),Re=Ee(Q7()),Ne=Ee(Z7()),De=Ee(eW()),ye=Ee(tW()),de=Ee(rW());function Ee(Fe){return Fe&&Fe.__esModule?Fe:{default:Fe}}var Oe=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",m.default],["doc-credits",y.default],["doc-dedication",g.default],["doc-endnote",E.default],["doc-endnotes",b.default],["doc-epigraph",w.default],["doc-epilogue",P.default],["doc-errata",A.default],["doc-example",S.default],["doc-footnote",T.default],["doc-foreword",C.default],["doc-glossary",O.default],["doc-glossref",I.default],["doc-index",W.default],["doc-introduction",X.default],["doc-noteref",Y.default],["doc-notice",K.default],["doc-pagebreak",_.default],["doc-pagelist",x.default],["doc-part",N.default],["doc-preface",le.default],["doc-prologue",ce.default],["doc-pullquote",Re.default],["doc-qna",Ne.default],["doc-subtitle",De.default],["doc-tip",ye.default],["doc-toc",de.default]],ke=Oe;e.default=ke}}),oW=F({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),aW=F({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),iW=F({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),sW=F({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(oW()),r=o(aW()),n=o(iW());function o(l){return l&&l.__esModule?l:{default:l}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=i;e.default=s}}),Yb=F({"../../node_modules/aria-query/lib/rolesMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s($G()),r=s(b7()),n=s(nW()),o=s(sW()),i=s(Us());function s(w){return w&&w.__esModule?w:{default:w}}function l(w,P,A){return P in w?Object.defineProperty(w,P,{value:A,enumerable:!0,configurable:!0,writable:!0}):w[P]=A,w}function u(w,P){var A=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!A){if(Array.isArray(w)||(A=p(w))||P&&w&&typeof w.length=="number"){A&&(w=A);var S=0,T=function(){};return{s:T,n:function(){return S>=w.length?{done:!0}:{done:!1,value:w[S++]}},e:function(W){throw W},f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
255
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var C=!0,O=!1,I;return{s:function(){A=A.call(w)},n:function(){var W=A.next();return C=W.done,W},e:function(W){O=!0,I=W},f:function(){try{!C&&A.return!=null&&A.return()}finally{if(O)throw I}}}}function c(w,P){return y(w)||m(w,P)||p(w,P)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
256
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(w,P){if(w){if(typeof w=="string")return h(w,P);var A=Object.prototype.toString.call(w).slice(8,-1);if(A==="Object"&&w.constructor&&(A=w.constructor.name),A==="Map"||A==="Set")return Array.from(w);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return h(w,P)}}function h(w,P){(P==null||P>w.length)&&(P=w.length);for(var A=0,S=new Array(P);A<P;A++)S[A]=w[A];return S}function m(w,P){var A=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(A!=null){var S=[],T=!0,C=!1,O,I;try{for(A=A.call(w);!(T=(O=A.next()).done)&&(S.push(O.value),!(P&&S.length===P));T=!0);}catch(W){C=!0,I=W}finally{try{!T&&A.return!=null&&A.return()}finally{if(C)throw I}}return S}}function y(w){if(Array.isArray(w))return w}var g=[].concat(t.default,r.default,n.default,o.default);g.forEach(function(w){var P=c(w,2),A=P[1],S=u(A.superClass),T;try{for(S.s();!(T=S.n()).done;){var C=T.value,O=u(C),I;try{var W=function(){var X=I.value,Y=g.find(function(le){var ce=c(le,1),Re=ce[0];return Re===X});if(Y)for(var K=Y[1],_=0,x=Object.keys(K.props);_<x.length;_++){var N=x[_];Object.prototype.hasOwnProperty.call(A.props,N)||Object.assign(A.props,l({},N,K.props[N]))}};for(O.s();!(I=O.n()).done;)W()}catch(X){O.e(X)}finally{O.f()}}}catch(X){S.e(X)}finally{S.f()}});var E={entries:function(){return g},forEach:function(w){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=u(g),S;try{for(A.s();!(S=A.n()).done;){var T=c(S.value,2),C=T[0],O=T[1];w.call(P,O,C,g)}}catch(I){A.e(I)}finally{A.f()}},get:function(w){var P=g.find(function(A){return A[0]===w});return P&&P[1]},has:function(w){return!!E.get(w)},keys:function(){return g.map(function(w){var P=c(w,1),A=P[0];return A})},values:function(){return g.map(function(w){var P=c(w,2),A=P[1];return A})}},b=(0,i.default)(E,E.entries());e.default=b}}),lW=F({"../../node_modules/dequal/lite/index.js"(e){"use strict";var t=Object.prototype.hasOwnProperty;function r(n,o){var i,s;if(n===o)return!0;if(n&&o&&(i=n.constructor)===o.constructor){if(i===Date)return n.getTime()===o.getTime();if(i===RegExp)return n.toString()===o.toString();if(i===Array){if((s=n.length)===o.length)for(;s--&&r(n[s],o[s]););return s===-1}if(!i||typeof n=="object"){s=0;for(i in n)if(t.call(n,i)&&++s&&!t.call(o,i)||!(i in o)||!r(n[i],o[i]))return!1;return Object.keys(o).length===s}}return n!==n&&o!==o}e.dequal=r}}),uW=F({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=lW(),r=o(Us()),n=o(Yb());function o(T){return T&&T.__esModule?T:{default:T}}function i(T,C){return u(T)||l(T,C)||d(T,C)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
257
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(T,C){var O=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(O!=null){var I=[],W=!0,X=!1,Y,K;try{for(O=O.call(T);!(W=(Y=O.next()).done)&&(I.push(Y.value),!(C&&I.length===C));W=!0);}catch(_){X=!0,K=_}finally{try{!W&&O.return!=null&&O.return()}finally{if(X)throw K}}return I}}function u(T){if(Array.isArray(T))return T}function c(T,C){var O=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!O){if(Array.isArray(T)||(O=d(T))||C&&T&&typeof T.length=="number"){O&&(T=O);var I=0,W=function(){};return{s:W,n:function(){return I>=T.length?{done:!0}:{done:!1,value:T[I++]}},e:function(_){throw _},f:W}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
258
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,Y=!1,K;return{s:function(){O=O.call(T)},n:function(){var _=O.next();return X=_.done,_},e:function(_){Y=!0,K=_},f:function(){try{!X&&O.return!=null&&O.return()}finally{if(Y)throw K}}}}function d(T,C){if(T){if(typeof T=="string")return p(T,C);var O=Object.prototype.toString.call(T).slice(8,-1);if(O==="Object"&&T.constructor&&(O=T.constructor.name),O==="Map"||O==="Set")return Array.from(T);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return p(T,C)}}function p(T,C){(C==null||C>T.length)&&(C=T.length);for(var O=0,I=new Array(C);O<C;O++)I[O]=T[O];return I}var h=[],m=n.default.keys();for(P=0;P<m.length;P++)if(y=m[P],g=n.default.get(y),g)for(E=[].concat(g.baseConcepts,g.relatedConcepts),w=0;w<E.length;w++)b=E[w],b.module==="HTML"&&function(){var T=b.concept;if(T){var C=h.find(function(X){return(0,t.dequal)(X,T)}),O;C?O=C[1]:O=[];for(var I=!0,W=0;W<O.length;W++)if(O[W]===y){I=!1;break}I&&O.push(y),h.push([T,O])}}();var y,g,E,b,w,P,A={entries:function(){return h},forEach:function(T){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=c(h),I;try{for(O.s();!(I=O.n()).done;){var W=i(I.value,2),X=W[0],Y=W[1];T.call(C,Y,X,h)}}catch(K){O.e(K)}finally{O.f()}},get:function(T){var C=h.find(function(O){return T.name===O[0].name&&(0,t.dequal)(T.attributes,O[0].attributes)});return C&&C[1]},has:function(T){return!!A.get(T)},keys:function(){return h.map(function(T){var C=i(T,1),O=C[0];return O})},values:function(){return h.map(function(T){var C=i(T,2),O=C[1];return O})}},S=(0,r.default)(A,A.entries());e.default=S}}),cW=F({"../../node_modules/aria-query/lib/roleElementMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Us()),r=n(Yb());function n(C){return C&&C.__esModule?C:{default:C}}function o(C,O){return l(C)||s(C,O)||c(C,O)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
259
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(C,O){var I=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(I!=null){var W=[],X=!0,Y=!1,K,_;try{for(I=I.call(C);!(X=(K=I.next()).done)&&(W.push(K.value),!(O&&W.length===O));X=!0);}catch(x){Y=!0,_=x}finally{try{!X&&I.return!=null&&I.return()}finally{if(Y)throw _}}return W}}function l(C){if(Array.isArray(C))return C}function u(C,O){var I=typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(!I){if(Array.isArray(C)||(I=c(C))||O&&C&&typeof C.length=="number"){I&&(C=I);var W=0,X=function(){};return{s:X,n:function(){return W>=C.length?{done:!0}:{done:!1,value:C[W++]}},e:function(x){throw x},f:X}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
260
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Y=!0,K=!1,_;return{s:function(){I=I.call(C)},n:function(){var x=I.next();return Y=x.done,x},e:function(x){K=!0,_=x},f:function(){try{!Y&&I.return!=null&&I.return()}finally{if(K)throw _}}}}function c(C,O){if(C){if(typeof C=="string")return d(C,O);var I=Object.prototype.toString.call(C).slice(8,-1);if(I==="Object"&&C.constructor&&(I=C.constructor.name),I==="Map"||I==="Set")return Array.from(C);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return d(C,O)}}function d(C,O){(O==null||O>C.length)&&(O=C.length);for(var I=0,W=new Array(O);I<O;I++)W[I]=C[I];return W}var p=[],h=r.default.keys();for(A=0;A<h.length;A++)if(m=h[A],y=r.default.get(m),g=[],y){for(E=[].concat(y.baseConcepts,y.relatedConcepts),P=0;P<E.length;P++)b=E[P],b.module==="HTML"&&(w=b.concept,w!=null&&g.push(w));g.length>0&&p.push([m,g])}var m,y,g,E,b,w,P,A,S={entries:function(){return p},forEach:function(C){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,I=u(p),W;try{for(I.s();!(W=I.n()).done;){var X=o(W.value,2),Y=X[0],K=X[1];C.call(O,K,Y,p)}}catch(_){I.e(_)}finally{I.f()}},get:function(C){var O=p.find(function(I){return I[0]===C});return O&&O[1]},has:function(C){return!!S.get(C)},keys:function(){return p.map(function(C){var O=o(C,1),I=O[0];return I})},values:function(){return p.map(function(C){var O=o(C,2),I=O[1];return I})}},T=(0,t.default)(S,S.entries());e.default=T}}),Kb=F({"../../node_modules/aria-query/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(TG()),r=s(OG()),n=s(Yb()),o=s(uW()),i=s(cW());function s(h){return h&&h.__esModule?h:{default:h}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var d=o.default;e.elementRoles=d;var p=i.default;e.roleElements=p}}),dW=F({"../../node_modules/color-name/index.js"(e,t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),wR=F({"../../node_modules/color-convert/conversions.js"(e,t){"use strict";var r=dW(),n={};for(let s of Object.keys(r))n[r[s]]=s;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let s of Object.keys(o)){if(!("channels"in o[s]))throw new Error("missing channels property: "+s);if(!("labels"in o[s]))throw new Error("missing channel labels property: "+s);if(o[s].labels.length!==o[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:l,labels:u}=o[s];delete o[s].channels,delete o[s].labels,Object.defineProperty(o[s],"channels",{value:l}),Object.defineProperty(o[s],"labels",{value:u})}o.rgb.hsl=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.min(l,u,c),p=Math.max(l,u,c),h=p-d,m,y;p===d?m=0:l===p?m=(u-c)/h:u===p?m=2+(c-l)/h:c===p&&(m=4+(l-u)/h),m=Math.min(m*60,360),m<0&&(m+=360);let g=(d+p)/2;return p===d?y=0:g<=.5?y=h/(p+d):y=h/(2-p-d),[m,y*100,g*100]},o.rgb.hsv=function(s){let l,u,c,d,p,h=s[0]/255,m=s[1]/255,y=s[2]/255,g=Math.max(h,m,y),E=g-Math.min(h,m,y),b=function(w){return(g-w)/6/E+1/2};return E===0?(d=0,p=0):(p=E/g,l=b(h),u=b(m),c=b(y),h===g?d=c-u:m===g?d=1/3+l-c:y===g&&(d=2/3+u-l),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,g*100]},o.rgb.hwb=function(s){let l=s[0],u=s[1],c=s[2],d=o.rgb.hsl(s)[0],p=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[d,p*100,c*100]},o.rgb.cmyk=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.min(1-l,1-u,1-c),p=(1-l-d)/(1-d)||0,h=(1-u-d)/(1-d)||0,m=(1-c-d)/(1-d)||0;return[p*100,h*100,m*100,d*100]};function i(s,l){return(s[0]-l[0])**2+(s[1]-l[1])**2+(s[2]-l[2])**2}o.rgb.keyword=function(s){let l=n[s];if(l)return l;let u=1/0,c;for(let d of Object.keys(r)){let p=r[d],h=i(s,p);h<u&&(u=h,c=d)}return c},o.keyword.rgb=function(s){return r[s]},o.rgb.xyz=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let d=l*.4124+u*.3576+c*.1805,p=l*.2126+u*.7152+c*.0722,h=l*.0193+u*.1192+c*.9505;return[d*100,p*100,h*100]},o.rgb.lab=function(s){let l=o.rgb.xyz(s),u=l[0],c=l[1],d=l[2];u/=95.047,c/=100,d/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*c-16,h=500*(u-c),m=200*(c-d);return[p,h,m]},o.hsl.rgb=function(s){let l=s[0]/360,u=s[1]/100,c=s[2]/100,d,p,h;if(u===0)return h=c*255,[h,h,h];c<.5?d=c*(1+u):d=c+u-c*u;let m=2*c-d,y=[0,0,0];for(let g=0;g<3;g++)p=l+1/3*-(g-1),p<0&&p++,p>1&&p--,6*p<1?h=m+(d-m)*6*p:2*p<1?h=d:3*p<2?h=m+(d-m)*(2/3-p)*6:h=m,y[g]=h*255;return y},o.hsl.hsv=function(s){let l=s[0],u=s[1]/100,c=s[2]/100,d=u,p=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,d*=p<=1?p:2-p;let h=(c+u)/2,m=c===0?2*d/(p+d):2*u/(c+u);return[l,m*100,h*100]},o.hsv.rgb=function(s){let l=s[0]/60,u=s[1]/100,c=s[2]/100,d=Math.floor(l)%6,p=l-Math.floor(l),h=255*c*(1-u),m=255*c*(1-u*p),y=255*c*(1-u*(1-p));switch(c*=255,d){case 0:return[c,y,h];case 1:return[m,c,h];case 2:return[h,c,y];case 3:return[h,m,c];case 4:return[y,h,c];case 5:return[c,h,m]}},o.hsv.hsl=function(s){let l=s[0],u=s[1]/100,c=s[2]/100,d=Math.max(c,.01),p,h;h=(2-u)*c;let m=(2-u)*d;return p=u*d,p/=m<=1?m:2-m,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(s){let l=s[0]/360,u=s[1]/100,c=s[2]/100,d=u+c,p;d>1&&(u/=d,c/=d);let h=Math.floor(6*l),m=1-c;p=6*l-h,h&1&&(p=1-p);let y=u+p*(m-u),g,E,b;switch(h){default:case 6:case 0:g=m,E=y,b=u;break;case 1:g=y,E=m,b=u;break;case 2:g=u,E=m,b=y;break;case 3:g=u,E=y,b=m;break;case 4:g=y,E=u,b=m;break;case 5:g=m,E=u,b=y;break}return[g*255,E*255,b*255]},o.cmyk.rgb=function(s){let l=s[0]/100,u=s[1]/100,c=s[2]/100,d=s[3]/100,p=1-Math.min(1,l*(1-d)+d),h=1-Math.min(1,u*(1-d)+d),m=1-Math.min(1,c*(1-d)+d);return[p*255,h*255,m*255]},o.xyz.rgb=function(s){let l=s[0]/100,u=s[1]/100,c=s[2]/100,d,p,h;return d=l*3.2406+u*-1.5372+c*-.4986,p=l*-.9689+u*1.8758+c*.0415,h=l*.0557+u*-.204+c*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*255]},o.xyz.lab=function(s){let l=s[0],u=s[1],c=s[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*u-16,p=500*(l-u),h=200*(u-c);return[d,p,h]},o.lab.xyz=function(s){let l=s[0],u=s[1],c=s[2],d,p,h;p=(l+16)/116,d=u/500+p,h=p-c/200;let m=p**3,y=d**3,g=h**3;return p=m>.008856?m:(p-16/116)/7.787,d=y>.008856?y:(d-16/116)/7.787,h=g>.008856?g:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},o.lab.lch=function(s){let l=s[0],u=s[1],c=s[2],d;d=Math.atan2(c,u)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(u*u+c*c);return[l,p,d]},o.lch.lab=function(s){let l=s[0],u=s[1],c=s[2]/360*2*Math.PI,d=u*Math.cos(c),p=u*Math.sin(c);return[l,d,p]},o.rgb.ansi16=function(s,l=null){let[u,c,d]=s,p=l===null?o.rgb.hsv(s)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(d/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(s){return o.rgb.ansi16(o.hsv.rgb(s),s[2])},o.rgb.ansi256=function(s){let l=s[0],u=s[1],c=s[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(s){let l=s%10;if(l===0||l===7)return s>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(s>50)+1)*.5,c=(l&1)*u*255,d=(l>>1&1)*u*255,p=(l>>2&1)*u*255;return[c,d,p]},o.ansi256.rgb=function(s){if(s>=232){let p=(s-232)*10+8;return[p,p,p]}s-=16;let l,u=Math.floor(s/36)/5*255,c=Math.floor((l=s%36)/6)/5*255,d=l%6/5*255;return[u,c,d]},o.rgb.hex=function(s){let l=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(s){let l=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(m=>m+m).join(""));let c=parseInt(u,16),d=c>>16&255,p=c>>8&255,h=c&255;return[d,p,h]},o.rgb.hcg=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.max(Math.max(l,u),c),p=Math.min(Math.min(l,u),c),h=d-p,m,y;return h<1?m=p/(1-h):m=0,h<=0?y=0:d===l?y=(u-c)/h%6:d===u?y=2+(c-l)/h:y=4+(l-u)/h,y/=6,y%=1,[y*360,h*100,m*100]},o.hsl.hcg=function(s){let l=s[1]/100,u=s[2]/100,c=u<.5?2*l*u:2*l*(1-u),d=0;return c<1&&(d=(u-.5*c)/(1-c)),[s[0],c*100,d*100]},o.hsv.hcg=function(s){let l=s[1]/100,u=s[2]/100,c=l*u,d=0;return c<1&&(d=(u-c)/(1-c)),[s[0],c*100,d*100]},o.hcg.rgb=function(s){let l=s[0]/360,u=s[1]/100,c=s[2]/100;if(u===0)return[c*255,c*255,c*255];let d=[0,0,0],p=l%1*6,h=p%1,m=1-h,y=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=m,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=m,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=m}return y=(1-u)*c,[(u*d[0]+y)*255,(u*d[1]+y)*255,(u*d[2]+y)*255]},o.hcg.hsv=function(s){let l=s[1]/100,u=s[2]/100,c=l+u*(1-l),d=0;return c>0&&(d=l/c),[s[0],d*100,c*100]},o.hcg.hsl=function(s){let l=s[1]/100,u=s[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[s[0],c*100,u*100]},o.hcg.hwb=function(s){let l=s[1]/100,u=s[2]/100,c=l+u*(1-l);return[s[0],(c-l)*100,(1-c)*100]},o.hwb.hcg=function(s){let l=s[1]/100,u=1-s[2]/100,c=u-l,d=0;return c<1&&(d=(u-c)/(1-c)),[s[0],c*100,d*100]},o.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},o.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},o.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},o.gray.hsl=function(s){return[0,0,s[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(s){return[0,100,s[0]]},o.gray.cmyk=function(s){return[0,0,0,s[0]]},o.gray.lab=function(s){return[s[0],0,0]},o.gray.hex=function(s){let l=Math.round(s[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}}),pW=F({"../../node_modules/color-convert/route.js"(e,t){"use strict";var r=wR();function n(){let l={},u=Object.keys(r);for(let c=u.length,d=0;d<c;d++)l[u[d]]={distance:-1,parent:null};return l}function o(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let d=c.pop(),p=Object.keys(r[d]);for(let h=p.length,m=0;m<h;m++){let y=p[m],g=u[y];g.distance===-1&&(g.distance=u[d].distance+1,g.parent=d,c.unshift(y))}}return u}function i(l,u){return function(c){return u(l(c))}}function s(l,u){let c=[u[l].parent,l],d=r[u[l].parent][l],p=u[l].parent;for(;u[p].parent;)c.unshift(u[p].parent),d=i(r[u[p].parent][p],d),p=u[p].parent;return d.conversion=c,d}t.exports=function(l){let u=o(l),c={},d=Object.keys(u);for(let p=d.length,h=0;h<p;h++){let m=d[h];u[m].parent!==null&&(c[m]=s(m,u))}return c}}}),fW=F({"../../node_modules/color-convert/index.js"(e,t){"use strict";var r=wR(),n=pW(),o={},i=Object.keys(r);function s(u){let c=function(...d){let p=d[0];return p==null?p:(p.length>1&&(d=p),u(d))};return"conversion"in u&&(c.conversion=u.conversion),c}function l(u){let c=function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let h=u(d);if(typeof h=="object")for(let m=h.length,y=0;y<m;y++)h[y]=Math.round(h[y]);return h};return"conversion"in u&&(c.conversion=u.conversion),c}i.forEach(u=>{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(d=>{let p=c[d];o[u][d]=l(p),o[u][d].raw=s(p)})}),t.exports=o}}),hW=F({"../../node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(p,h)=>(...m)=>`\x1B[${p(...m)+h}m`,n=(p,h)=>(...m)=>{let y=p(...m);return`\x1B[${38+h};5;${y}m`},o=(p,h)=>(...m)=>{let y=p(...m);return`\x1B[${38+h};2;${y[0]};${y[1]};${y[2]}m`},i=p=>p,s=(p,h,m)=>[p,h,m],l=(p,h,m)=>{Object.defineProperty(p,h,{get:()=>{let y=m();return Object.defineProperty(p,h,{value:y,enumerable:!0,configurable:!0}),y},enumerable:!0,configurable:!0})},u,c=(p,h,m,y)=>{u===void 0&&(u=fW());let g=y?10:0,E={};for(let[b,w]of Object.entries(u)){let P=b==="ansi16"?"ansi":b;b===h?E[P]=p(m,g):typeof w=="object"&&(E[P]=p(w[h],g))}return E};function d(){let p=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[m,y]of Object.entries(h)){for(let[g,E]of Object.entries(y))h[g]={open:`\x1B[${E[0]}m`,close:`\x1B[${E[1]}m`},y[g]=h[g],p.set(E[0],E[1]);Object.defineProperty(h,m,{value:y,enumerable:!1})}return Object.defineProperty(h,"codes",{value:p,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>c(r,"ansi16",i,!1)),l(h.color,"ansi256",()=>c(n,"ansi256",i,!1)),l(h.color,"ansi16m",()=>c(o,"rgb",s,!1)),l(h.bgColor,"ansi",()=>c(r,"ansi16",i,!0)),l(h.bgColor,"ansi256",()=>c(n,"ansi256",i,!0)),l(h.bgColor,"ansi16m",()=>c(o,"rgb",s,!0)),h}Object.defineProperty(t,"exports",{enumerable:!0,get:d})}}),mW=F({"../../node_modules/has-flag/index.js"(e,t){"use strict";t.exports=(r,n=process.argv)=>{let o=r.startsWith("-")?"":r.length===1?"-":"--",i=n.indexOf(o+r),s=n.indexOf("--");return i!==-1&&(s===-1||i<s)}}}),yW=F({"../../node_modules/supports-color/index.js"(e,t){"use strict";var r=It("os"),n=It("tty"),o=mW(),{env:i}=process,s;o("no-color")||o("no-colors")||o("color=false")||o("color=never")?s=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=1),"FORCE_COLOR"in i&&(i.FORCE_COLOR==="true"?s=1:i.FORCE_COLOR==="false"?s=0:s=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3));function l(d){return d===0?!1:{level:d,hasBasic:!0,has256:d>=2,has16m:d>=3}}function u(d,p){if(s===0)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(d&&!p&&s===void 0)return 0;let h=s||0;if(i.TERM==="dumb")return h;if(process.platform==="win32"){let m=r.release().split(".");return Number(m[0])>=10&&Number(m[2])>=10586?Number(m[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(m=>m in i)||i.CI_NAME==="codeship"?1:h;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){let m=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return m>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:h}function c(d){let p=u(d,d&&d.isTTY);return l(p)}t.exports={supportsColor:c,stdout:l(u(!0,n.isatty(1))),stderr:l(u(!0,n.isatty(2)))}}}),bW=F({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){"use strict";var r=(o,i,s)=>{let l=o.indexOf(i);if(l===-1)return o;let u=i.length,c=0,d="";do d+=o.substr(c,l-c)+i+s,c=l+u,l=o.indexOf(i,c);while(l!==-1);return d+=o.substr(c),d},n=(o,i,s,l)=>{let u=0,c="";do{let d=o[l-1]==="\r";c+=o.substr(u,(d?l-1:l)-u)+i+(d?`\r
261
+ `:`
262
+ `)+s,u=l+1,l=o.indexOf(`
263
+ `,u)}while(l!==-1);return c+=o.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),gW=F({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){"use strict";var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n",`
264
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(p){let h=p[0]==="u",m=p[1]==="{";return h&&!m&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):h&&m?String.fromCodePoint(parseInt(p.slice(2,-1),16)):s.get(p)||p}function u(p,h){let m=[],y=h.trim().split(/\s*,\s*/g),g;for(let E of y){let b=Number(E);if(!Number.isNaN(b))m.push(b);else if(g=E.match(o))m.push(g[2].replace(i,(w,P,A)=>P?l(P):A));else throw new Error(`Invalid Chalk template style argument: ${E} (in style '${p}')`)}return m}function c(p){n.lastIndex=0;let h=[],m;for(;(m=n.exec(p))!==null;){let y=m[1];if(m[2]){let g=u(y,m[2]);h.push([y].concat(g))}else h.push([y])}return h}function d(p,h){let m={};for(let g of h)for(let E of g.styles)m[E[0]]=g.inverse?null:E.slice(1);let y=p;for(let[g,E]of Object.entries(m))if(Array.isArray(E)){if(!(g in y))throw new Error(`Unknown Chalk style: ${g}`);y=E.length>0?y[g](...E):y[g]}return y}t.exports=(p,h)=>{let m=[],y=[],g=[];if(h.replace(r,(E,b,w,P,A,S)=>{if(b)g.push(l(b));else if(P){let T=g.join("");g=[],y.push(m.length===0?T:d(p,m)(T)),m.push({inverse:w,styles:c(P)})}else if(A){if(m.length===0)throw new Error("Found extraneous } in Chalk template literal");y.push(d(p,m)(g.join(""))),g=[],m.pop()}else g.push(S)}),y.push(g.join("")),m.length>0){let E=`Chalk template literal is missing ${m.length} closing bracket${m.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return y.join("")}}}),_R=F({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){"use strict";var r=hW(),{stdout:n,stderr:o}=yW(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:s}=bW(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=(S,T={})=>{if(T.level>3||T.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let C=n?n.level:0;S.level=T.level===void 0?C:T.level},d=class{constructor(S){return p(S)}},p=S=>{let T={};return c(T,S),T.template=(...C)=>P(T.template,...C),Object.setPrototypeOf(T,h.prototype),Object.setPrototypeOf(T.template,T),T.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},T.template.Instance=d,T.template};function h(S){return p(S)}for(let[S,T]of Object.entries(r))u[S]={get(){let C=E(this,g(T.open,T.close,this._styler),this._isEmpty);return Object.defineProperty(this,S,{value:C}),C}};u.visible={get(){let S=E(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:S}),S}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let S of m)u[S]={get(){let{level:T}=this;return function(...C){let O=g(r.color[l[T]][S](...C),r.color.close,this._styler);return E(this,O,this._isEmpty)}}};for(let S of m){let T="bg"+S[0].toUpperCase()+S.slice(1);u[T]={get(){let{level:C}=this;return function(...O){let I=g(r.bgColor[l[C]][S](...O),r.bgColor.close,this._styler);return E(this,I,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(S){this._generator.level=S}}}),g=(S,T,C)=>{let O,I;return C===void 0?(O=S,I=T):(O=C.openAll+S,I=T+C.closeAll),{open:S,close:T,openAll:O,closeAll:I,parent:C}},E=(S,T,C)=>{let O=(...I)=>b(O,I.length===1?""+I[0]:I.join(" "));return O.__proto__=y,O._generator=S,O._styler=T,O._isEmpty=C,O},b=(S,T)=>{if(S.level<=0||!T)return S._isEmpty?"":T;let C=S._styler;if(C===void 0)return T;let{openAll:O,closeAll:I}=C;if(T.indexOf("\x1B")!==-1)for(;C!==void 0;)T=i(T,C.close,C.open),C=C.parent;let W=T.indexOf(`
265
+ `);return W!==-1&&(T=s(T,I,O,W)),O+T+I},w,P=(S,...T)=>{let[C]=T;if(!Array.isArray(C))return T.join(" ");let O=T.slice(1),I=[C.raw[0]];for(let W=1;W<C.length;W++)I.push(String(O[W-1]).replace(/[{}\\]/g,"\\$&"),String(C.raw[W]));return w===void 0&&(w=gW()),w(S,I.join(""))};Object.defineProperties(h.prototype,u);var A=h();A.supportsColor=n,A.stderr=h({level:o?o.level:0}),A.stderr.supportsColor=o,A.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=A}}),vW=F({"../../node_modules/lodash/_listCacheClear.js"(e,t){"use strict";function r(){this.__data__=[],this.size=0}t.exports=r}}),SR=F({"../../node_modules/lodash/eq.js"(e,t){"use strict";function r(n,o){return n===o||n!==n&&o!==o}t.exports=r}}),Xu=F({"../../node_modules/lodash/_assocIndexOf.js"(e,t){"use strict";var r=SR();function n(o,i){for(var s=o.length;s--;)if(r(o[s][0],i))return s;return-1}t.exports=n}}),EW=F({"../../node_modules/lodash/_listCacheDelete.js"(e,t){"use strict";var r=Xu(),n=Array.prototype,o=n.splice;function i(s){var l=this.__data__,u=r(l,s);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():o.call(l,u,1),--this.size,!0}t.exports=i}}),wW=F({"../../node_modules/lodash/_listCacheGet.js"(e,t){"use strict";var r=Xu();function n(o){var i=this.__data__,s=r(i,o);return s<0?void 0:i[s][1]}t.exports=n}}),_W=F({"../../node_modules/lodash/_listCacheHas.js"(e,t){"use strict";var r=Xu();function n(o){return r(this.__data__,o)>-1}t.exports=n}}),SW=F({"../../node_modules/lodash/_listCacheSet.js"(e,t){"use strict";var r=Xu();function n(o,i){var s=this.__data__,l=r(s,o);return l<0?(++this.size,s.push([o,i])):s[l][1]=i,this}t.exports=n}}),Qu=F({"../../node_modules/lodash/_ListCache.js"(e,t){"use strict";var r=vW(),n=EW(),o=wW(),i=_W(),s=SW();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),AW=F({"../../node_modules/lodash/_stackClear.js"(e,t){"use strict";var r=Qu();function n(){this.__data__=new r,this.size=0}t.exports=n}}),CW=F({"../../node_modules/lodash/_stackDelete.js"(e,t){"use strict";function r(n){var o=this.__data__,i=o.delete(n);return this.size=o.size,i}t.exports=r}}),RW=F({"../../node_modules/lodash/_stackGet.js"(e,t){"use strict";function r(n){return this.__data__.get(n)}t.exports=r}}),TW=F({"../../node_modules/lodash/_stackHas.js"(e,t){"use strict";function r(n){return this.__data__.has(n)}t.exports=r}}),AR=F({"../../node_modules/lodash/_freeGlobal.js"(e,t){"use strict";var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),wn=F({"../../node_modules/lodash/_root.js"(e,t){"use strict";var r=AR(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}}),Jb=F({"../../node_modules/lodash/_Symbol.js"(e,t){"use strict";var r=wn(),n=r.Symbol;t.exports=n}}),OW=F({"../../node_modules/lodash/_getRawTag.js"(e,t){"use strict";var r=Jb(),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,s=r?r.toStringTag:void 0;function l(u){var c=o.call(u,s),d=u[s];try{u[s]=void 0;var p=!0}catch{}var h=i.call(u);return p&&(c?u[s]=d:delete u[s]),h}t.exports=l}}),PW=F({"../../node_modules/lodash/_objectToString.js"(e,t){"use strict";var r=Object.prototype,n=r.toString;function o(i){return n.call(i)}t.exports=o}}),Zu=F({"../../node_modules/lodash/_baseGetTag.js"(e,t){"use strict";var r=Jb(),n=OW(),o=PW(),i="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?s:i:l&&l in Object(c)?n(c):o(c)}t.exports=u}}),CR=F({"../../node_modules/lodash/isObject.js"(e,t){"use strict";function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}t.exports=r}}),RR=F({"../../node_modules/lodash/isFunction.js"(e,t){"use strict";var r=Zu(),n=CR(),o="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var d=r(c);return d==i||d==s||d==o||d==l}t.exports=u}}),xW=F({"../../node_modules/lodash/_coreJsData.js"(e,t){"use strict";var r=wn(),n=r["__core-js_shared__"];t.exports=n}}),qW=F({"../../node_modules/lodash/_isMasked.js"(e,t){"use strict";var r=xW(),n=function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function o(i){return!!n&&n in i}t.exports=o}}),TR=F({"../../node_modules/lodash/_toSource.js"(e,t){"use strict";var r=Function.prototype,n=r.toString;function o(i){if(i!=null){try{return n.call(i)}catch{}try{return i+""}catch{}}return""}t.exports=o}}),DW=F({"../../node_modules/lodash/_baseIsNative.js"(e,t){"use strict";var r=RR(),n=qW(),o=CR(),i=TR(),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,d=u.toString,p=c.hasOwnProperty,h=RegExp("^"+d.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(y){if(!o(y)||n(y))return!1;var g=r(y)?h:l;return g.test(i(y))}t.exports=m}}),IW=F({"../../node_modules/lodash/_getValue.js"(e,t){"use strict";function r(n,o){return n?.[o]}t.exports=r}}),Ti=F({"../../node_modules/lodash/_getNative.js"(e,t){"use strict";var r=DW(),n=IW();function o(i,s){var l=n(i,s);return r(l)?l:void 0}t.exports=o}}),Xb=F({"../../node_modules/lodash/_Map.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"Map");t.exports=o}}),ec=F({"../../node_modules/lodash/_nativeCreate.js"(e,t){"use strict";var r=Ti(),n=r(Object,"create");t.exports=n}}),MW=F({"../../node_modules/lodash/_hashClear.js"(e,t){"use strict";var r=ec();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),NW=F({"../../node_modules/lodash/_hashDelete.js"(e,t){"use strict";function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}t.exports=r}}),BW=F({"../../node_modules/lodash/_hashGet.js"(e,t){"use strict";var r=ec(),n="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function s(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return i.call(u,l)?u[l]:void 0}t.exports=s}}),jW=F({"../../node_modules/lodash/_hashHas.js"(e,t){"use strict";var r=ec(),n=Object.prototype,o=n.hasOwnProperty;function i(s){var l=this.__data__;return r?l[s]!==void 0:o.call(l,s)}t.exports=i}}),FW=F({"../../node_modules/lodash/_hashSet.js"(e,t){"use strict";var r=ec(),n="__lodash_hash_undefined__";function o(i,s){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=r&&s===void 0?n:s,this}t.exports=o}}),LW=F({"../../node_modules/lodash/_Hash.js"(e,t){"use strict";var r=MW(),n=NW(),o=BW(),i=jW(),s=FW();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),kW=F({"../../node_modules/lodash/_mapCacheClear.js"(e,t){"use strict";var r=LW(),n=Qu(),o=Xb();function i(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}t.exports=i}}),$W=F({"../../node_modules/lodash/_isKeyable.js"(e,t){"use strict";function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}t.exports=r}}),tc=F({"../../node_modules/lodash/_getMapData.js"(e,t){"use strict";var r=$W();function n(o,i){var s=o.__data__;return r(i)?s[typeof i=="string"?"string":"hash"]:s.map}t.exports=n}}),UW=F({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){"use strict";var r=tc();function n(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}t.exports=n}}),HW=F({"../../node_modules/lodash/_mapCacheGet.js"(e,t){"use strict";var r=tc();function n(o){return r(this,o).get(o)}t.exports=n}}),VW=F({"../../node_modules/lodash/_mapCacheHas.js"(e,t){"use strict";var r=tc();function n(o){return r(this,o).has(o)}t.exports=n}}),GW=F({"../../node_modules/lodash/_mapCacheSet.js"(e,t){"use strict";var r=tc();function n(o,i){var s=r(this,o),l=s.size;return s.set(o,i),this.size+=s.size==l?0:1,this}t.exports=n}}),OR=F({"../../node_modules/lodash/_MapCache.js"(e,t){"use strict";var r=kW(),n=UW(),o=HW(),i=VW(),s=GW();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),zW=F({"../../node_modules/lodash/_stackSet.js"(e,t){"use strict";var r=Qu(),n=Xb(),o=OR(),i=200;function s(l,u){var c=this.__data__;if(c instanceof r){var d=c.__data__;if(!n||d.length<i-1)return d.push([l,u]),this.size=++c.size,this;c=this.__data__=new o(d)}return c.set(l,u),this.size=c.size,this}t.exports=s}}),WW=F({"../../node_modules/lodash/_Stack.js"(e,t){"use strict";var r=Qu(),n=AW(),o=CW(),i=RW(),s=TW(),l=zW();function u(c){var d=this.__data__=new r(c);this.size=d.size}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=l,t.exports=u}}),YW=F({"../../node_modules/lodash/_setCacheAdd.js"(e,t){"use strict";var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}t.exports=n}}),KW=F({"../../node_modules/lodash/_setCacheHas.js"(e,t){"use strict";function r(n){return this.__data__.has(n)}t.exports=r}}),JW=F({"../../node_modules/lodash/_SetCache.js"(e,t){"use strict";var r=OR(),n=YW(),o=KW();function i(s){var l=-1,u=s==null?0:s.length;for(this.__data__=new r;++l<u;)this.add(s[l])}i.prototype.add=i.prototype.push=n,i.prototype.has=o,t.exports=i}}),XW=F({"../../node_modules/lodash/_arraySome.js"(e,t){"use strict";function r(n,o){for(var i=-1,s=n==null?0:n.length;++i<s;)if(o(n[i],i,n))return!0;return!1}t.exports=r}}),QW=F({"../../node_modules/lodash/_cacheHas.js"(e,t){"use strict";function r(n,o){return n.has(o)}t.exports=r}}),PR=F({"../../node_modules/lodash/_equalArrays.js"(e,t){"use strict";var r=JW(),n=XW(),o=QW(),i=1,s=2;function l(u,c,d,p,h,m){var y=d&i,g=u.length,E=c.length;if(g!=E&&!(y&&E>g))return!1;var b=m.get(u),w=m.get(c);if(b&&w)return b==c&&w==u;var P=-1,A=!0,S=d&s?new r:void 0;for(m.set(u,c),m.set(c,u);++P<g;){var T=u[P],C=c[P];if(p)var O=y?p(C,T,P,c,u,m):p(T,C,P,u,c,m);if(O!==void 0){if(O)continue;A=!1;break}if(S){if(!n(c,function(I,W){if(!o(S,W)&&(T===I||h(T,I,d,p,m)))return S.push(W)})){A=!1;break}}else if(!(T===C||h(T,C,d,p,m))){A=!1;break}}return m.delete(u),m.delete(c),A}t.exports=l}}),ZW=F({"../../node_modules/lodash/_Uint8Array.js"(e,t){"use strict";var r=wn(),n=r.Uint8Array;t.exports=n}}),eY=F({"../../node_modules/lodash/_mapToArray.js"(e,t){"use strict";function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s,l){i[++o]=[l,s]}),i}t.exports=r}}),tY=F({"../../node_modules/lodash/_setToArray.js"(e,t){"use strict";function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s){i[++o]=s}),i}t.exports=r}}),rY=F({"../../node_modules/lodash/_equalByTag.js"(e,t){"use strict";var r=Jb(),n=ZW(),o=SR(),i=PR(),s=eY(),l=tY(),u=1,c=2,d="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Map]",y="[object Number]",g="[object RegExp]",E="[object Set]",b="[object String]",w="[object Symbol]",P="[object ArrayBuffer]",A="[object DataView]",S=r?r.prototype:void 0,T=S?S.valueOf:void 0;function C(O,I,W,X,Y,K,_){switch(W){case A:if(O.byteLength!=I.byteLength||O.byteOffset!=I.byteOffset)return!1;O=O.buffer,I=I.buffer;case P:return!(O.byteLength!=I.byteLength||!K(new n(O),new n(I)));case d:case p:case y:return o(+O,+I);case h:return O.name==I.name&&O.message==I.message;case g:case b:return O==I+"";case m:var x=s;case E:var N=X&u;if(x||(x=l),O.size!=I.size&&!N)return!1;var le=_.get(O);if(le)return le==I;X|=c,_.set(O,I);var ce=i(x(O),x(I),X,Y,K,_);return _.delete(O),ce;case w:if(T)return T.call(O)==T.call(I)}return!1}t.exports=C}}),nY=F({"../../node_modules/lodash/_arrayPush.js"(e,t){"use strict";function r(n,o){for(var i=-1,s=o.length,l=n.length;++i<s;)n[l+i]=o[i];return n}t.exports=r}}),Qb=F({"../../node_modules/lodash/isArray.js"(e,t){"use strict";var r=Array.isArray;t.exports=r}}),oY=F({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){"use strict";var r=nY(),n=Qb();function o(i,s,l){var u=s(i);return n(i)?u:r(u,l(i))}t.exports=o}}),aY=F({"../../node_modules/lodash/_arrayFilter.js"(e,t){"use strict";function r(n,o){for(var i=-1,s=n==null?0:n.length,l=0,u=[];++i<s;){var c=n[i];o(c,i,n)&&(u[l++]=c)}return u}t.exports=r}}),iY=F({"../../node_modules/lodash/stubArray.js"(e,t){"use strict";function r(){return[]}t.exports=r}}),sY=F({"../../node_modules/lodash/_getSymbols.js"(e,t){"use strict";var r=aY(),n=iY(),o=Object.prototype,i=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(u){return u==null?[]:(u=Object(u),r(s(u),function(c){return i.call(u,c)}))}:n;t.exports=l}}),lY=F({"../../node_modules/lodash/_baseTimes.js"(e,t){"use strict";function r(n,o){for(var i=-1,s=Array(n);++i<n;)s[i]=o(i);return s}t.exports=r}}),rc=F({"../../node_modules/lodash/isObjectLike.js"(e,t){"use strict";function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),uY=F({"../../node_modules/lodash/_baseIsArguments.js"(e,t){"use strict";var r=Zu(),n=rc(),o="[object Arguments]";function i(s){return n(s)&&r(s)==o}t.exports=i}}),cY=F({"../../node_modules/lodash/isArguments.js"(e,t){"use strict";var r=uY(),n=rc(),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&i.call(u,"callee")&&!s.call(u,"callee")};t.exports=l}}),dY=F({"../../node_modules/lodash/stubFalse.js"(e,t){"use strict";function r(){return!1}t.exports=r}}),xR=F({"../../node_modules/lodash/isBuffer.js"(e,t){"use strict";var r=wn(),n=dY(),o=typeof e=="object"&&e&&!e.nodeType&&e,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}}),pY=F({"../../node_modules/lodash/_isIndex.js"(e,t){"use strict";var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(i,s){var l=typeof i;return s=s??r,!!s&&(l=="number"||l!="symbol"&&n.test(i))&&i>-1&&i%1==0&&i<s}t.exports=o}}),qR=F({"../../node_modules/lodash/isLength.js"(e,t){"use strict";var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=n}}),fY=F({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){"use strict";var r=Zu(),n=qR(),o=rc(),i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",m="[object Object]",y="[object RegExp]",g="[object Set]",E="[object String]",b="[object WeakMap]",w="[object ArrayBuffer]",P="[object DataView]",A="[object Float32Array]",S="[object Float64Array]",T="[object Int8Array]",C="[object Int16Array]",O="[object Int32Array]",I="[object Uint8Array]",W="[object Uint8ClampedArray]",X="[object Uint16Array]",Y="[object Uint32Array]",K={};K[A]=K[S]=K[T]=K[C]=K[O]=K[I]=K[W]=K[X]=K[Y]=!0,K[i]=K[s]=K[w]=K[l]=K[P]=K[u]=K[c]=K[d]=K[p]=K[h]=K[m]=K[y]=K[g]=K[E]=K[b]=!1;function _(x){return o(x)&&n(x.length)&&!!K[r(x)]}t.exports=_}}),hY=F({"../../node_modules/lodash/_baseUnary.js"(e,t){"use strict";function r(n){return function(o){return n(o)}}t.exports=r}}),mY=F({"../../node_modules/lodash/_nodeUtil.js"(e,t){"use strict";var r=AR(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===n,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();t.exports=l}}),DR=F({"../../node_modules/lodash/isTypedArray.js"(e,t){"use strict";var r=fY(),n=hY(),o=mY(),i=o&&o.isTypedArray,s=i?n(i):r;t.exports=s}}),yY=F({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){"use strict";var r=lY(),n=cY(),o=Qb(),i=xR(),s=pY(),l=DR(),u=Object.prototype,c=u.hasOwnProperty;function d(p,h){var m=o(p),y=!m&&n(p),g=!m&&!y&&i(p),E=!m&&!y&&!g&&l(p),b=m||y||g||E,w=b?r(p.length,String):[],P=w.length;for(var A in p)(h||c.call(p,A))&&!(b&&(A=="length"||g&&(A=="offset"||A=="parent")||E&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||s(A,P)))&&w.push(A);return w}t.exports=d}}),bY=F({"../../node_modules/lodash/_isPrototype.js"(e,t){"use strict";var r=Object.prototype;function n(o){var i=o&&o.constructor,s=typeof i=="function"&&i.prototype||r;return o===s}t.exports=n}}),gY=F({"../../node_modules/lodash/_overArg.js"(e,t){"use strict";function r(n,o){return function(i){return n(o(i))}}t.exports=r}}),vY=F({"../../node_modules/lodash/_nativeKeys.js"(e,t){"use strict";var r=gY(),n=r(Object.keys,Object);t.exports=n}}),EY=F({"../../node_modules/lodash/_baseKeys.js"(e,t){"use strict";var r=bY(),n=vY(),o=Object.prototype,i=o.hasOwnProperty;function s(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))i.call(l,c)&&c!="constructor"&&u.push(c);return u}t.exports=s}}),wY=F({"../../node_modules/lodash/isArrayLike.js"(e,t){"use strict";var r=RR(),n=qR();function o(i){return i!=null&&n(i.length)&&!r(i)}t.exports=o}}),_Y=F({"../../node_modules/lodash/keys.js"(e,t){"use strict";var r=yY(),n=EY(),o=wY();function i(s){return o(s)?r(s):n(s)}t.exports=i}}),SY=F({"../../node_modules/lodash/_getAllKeys.js"(e,t){"use strict";var r=oY(),n=sY(),o=_Y();function i(s){return r(s,o,n)}t.exports=i}}),AY=F({"../../node_modules/lodash/_equalObjects.js"(e,t){"use strict";var r=SY(),n=1,o=Object.prototype,i=o.hasOwnProperty;function s(l,u,c,d,p,h){var m=c&n,y=r(l),g=y.length,E=r(u),b=E.length;if(g!=b&&!m)return!1;for(var w=g;w--;){var P=y[w];if(!(m?P in u:i.call(u,P)))return!1}var A=h.get(l),S=h.get(u);if(A&&S)return A==u&&S==l;var T=!0;h.set(l,u),h.set(u,l);for(var C=m;++w<g;){P=y[w];var O=l[P],I=u[P];if(d)var W=m?d(I,O,P,u,l,h):d(O,I,P,l,u,h);if(!(W===void 0?O===I||p(O,I,c,d,h):W)){T=!1;break}C||(C=P=="constructor")}if(T&&!C){var X=l.constructor,Y=u.constructor;X!=Y&&"constructor"in l&&"constructor"in u&&!(typeof X=="function"&&X instanceof X&&typeof Y=="function"&&Y instanceof Y)&&(T=!1)}return h.delete(l),h.delete(u),T}t.exports=s}}),CY=F({"../../node_modules/lodash/_DataView.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"DataView");t.exports=o}}),RY=F({"../../node_modules/lodash/_Promise.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"Promise");t.exports=o}}),TY=F({"../../node_modules/lodash/_Set.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"Set");t.exports=o}}),OY=F({"../../node_modules/lodash/_WeakMap.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"WeakMap");t.exports=o}}),PY=F({"../../node_modules/lodash/_getTag.js"(e,t){"use strict";var r=CY(),n=Xb(),o=RY(),i=TY(),s=OY(),l=Zu(),u=TR(),c="[object Map]",d="[object Object]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",y="[object DataView]",g=u(r),E=u(n),b=u(o),w=u(i),P=u(s),A=l;(r&&A(new r(new ArrayBuffer(1)))!=y||n&&A(new n)!=c||o&&A(o.resolve())!=p||i&&A(new i)!=h||s&&A(new s)!=m)&&(A=function(S){var T=l(S),C=T==d?S.constructor:void 0,O=C?u(C):"";if(O)switch(O){case g:return y;case E:return c;case b:return p;case w:return h;case P:return m}return T}),t.exports=A}}),xY=F({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){"use strict";var r=WW(),n=PR(),o=rY(),i=AY(),s=PY(),l=Qb(),u=xR(),c=DR(),d=1,p="[object Arguments]",h="[object Array]",m="[object Object]",y=Object.prototype,g=y.hasOwnProperty;function E(b,w,P,A,S,T){var C=l(b),O=l(w),I=C?h:s(b),W=O?h:s(w);I=I==p?m:I,W=W==p?m:W;var X=I==m,Y=W==m,K=I==W;if(K&&u(b)){if(!u(w))return!1;C=!0,X=!1}if(K&&!X)return T||(T=new r),C||c(b)?n(b,w,P,A,S,T):o(b,w,I,P,A,S,T);if(!(P&d)){var _=X&&g.call(b,"__wrapped__"),x=Y&&g.call(w,"__wrapped__");if(_||x){var N=_?b.value():b,le=x?w.value():w;return T||(T=new r),S(N,le,P,A,T)}}return K?(T||(T=new r),i(b,w,P,A,S,T)):!1}t.exports=E}}),qY=F({"../../node_modules/lodash/_baseIsEqual.js"(e,t){"use strict";var r=xY(),n=rc();function o(i,s,l,u,c){return i===s?!0:i==null||s==null||!n(i)&&!n(s)?i!==i&&s!==s:r(i,s,l,u,o,c)}t.exports=o}}),IR=F({"../../node_modules/lodash/isEqualWith.js"(e,t){"use strict";var r=qY();function n(o,i,s){s=typeof s=="function"?s:void 0;var l=s?s(o,i):void 0;return l===void 0?r(o,i,void 0,s):!!l}t.exports=n}}),MR=F({"../../node_modules/css.escape/css.escape.js"(e,t){"use strict";(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),s=i.length,l=-1,u,c="",d=i.charCodeAt(0);++l<s;){if(u=i.charCodeAt(l),u==0){c+="\uFFFD";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&d==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&s==1&&u==45){c+="\\"+i.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=i.charAt(l);continue}c+="\\"+i.charAt(l)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),NR=F({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,n=(i=0)=>(s,l,u)=>`\x1B[${38+i};2;${s};${l};${u}m`;function o(){let i=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[l,u]of Object.entries(s)){for(let[c,d]of Object.entries(u))s[c]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},u[c]=s[c],i.set(d[0],d[1]);Object.defineProperty(s,l,{value:u,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(p=>p+p).join(""));let d=Number.parseInt(c,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:l=>s.rgbToAnsi256(...s.hexToRgb(l)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),nc=F({"../../node_modules/pretty-format/build/collections.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=i;var t=(s,l)=>{let u=Object.keys(s).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(c=>{Object.getOwnPropertyDescriptor(s,c).enumerable&&u.push(c)}),u};function r(s,l,u,c,d,p,h=": "){let m="",y=s.next();if(!y.done){m+=l.spacingOuter;let g=u+l.indent;for(;!y.done;){let E=p(y.value[0],l,g,c,d),b=p(y.value[1],l,g,c,d);m+=g+E+h+b,y=s.next(),y.done?l.min||(m+=","):m+=","+l.spacingInner}m+=l.spacingOuter+u}return m}function n(s,l,u,c,d,p){let h="",m=s.next();if(!m.done){h+=l.spacingOuter;let y=u+l.indent;for(;!m.done;)h+=y+p(m.value,l,y,c,d),m=s.next(),m.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+u}return h}function o(s,l,u,c,d,p){let h="";if(s.length){h+=l.spacingOuter;let m=u+l.indent;for(let y=0;y<s.length;y++)h+=m,y in s&&(h+=p(s[y],l,m,c,d)),y<s.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+u}return h}function i(s,l,u,c,d,p){let h="",m=t(s,l.compareKeys);if(m.length){h+=l.spacingOuter;let y=u+l.indent;for(let g=0;g<m.length;g++){let E=m[g],b=p(E,l,y,c,d),w=p(s[E],l,y,c,d);h+=y+b+": "+w,g<m.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+u}return h}}}),DY=F({"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=nc(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,i=" ",s=(d,p,h,m,y,g)=>{let E=d.toString();return E==="ArrayContaining"||E==="ArrayNotContaining"?++m>p.maxDepth?"["+E+"]":E+i+"["+(0,t.printListItems)(d.sample,p,h,m,y,g)+"]":E==="ObjectContaining"||E==="ObjectNotContaining"?++m>p.maxDepth?"["+E+"]":E+i+"{"+(0,t.printObjectProperties)(d.sample,p,h,m,y,g)+"}":E==="StringMatching"||E==="StringNotMatching"||E==="StringContaining"||E==="StringNotContaining"?E+i+g(d.sample,p,h,m,y):d.toAsymmetricMatcher()};e.serialize=s;var l=d=>d&&d.$$typeof===o;e.test=l;var u={serialize:s,test:l},c=u;e.default=c}}),IY=F({"../../node_modules/pretty-format/node_modules/ansi-regex/index.js"(e,t){"use strict";t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),MY=F({"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(IY()),r=n(NR());function n(c){return c&&c.__esModule?c:{default:c}}var o=c=>c.replace((0,t.default)(),d=>{switch(d){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),i=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=i;var s=(c,d,p,h,m,y)=>y(o(c),d,p,h,m);e.serialize=s;var l={serialize:s,test:i},u=l;e.default=u}}),NY=F({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=nc(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=p=>n.indexOf(p)!==-1||o.test(p),s=p=>p&&p.constructor&&!!p.constructor.name&&i(p.constructor.name);e.test=s;var l=p=>p.constructor.name==="NamedNodeMap",u=(p,h,m,y,g,E)=>{let b=p.constructor.name;return++y>h.maxDepth?"["+b+"]":(h.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(l(p)?Array.from(p).reduce((w,P)=>(w[P.name]=P.value,w),{}):{...p},h,m,y,g,E)+"}":"["+(0,t.printListItems)(Array.from(p),h,m,y,g,E)+"]")};e.serialize=u;var c={serialize:u,test:s},d=c;e.default=d}}),BY=F({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),Zb=F({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(BY());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,d,p,h,m,y,g)=>{let E=h+p.indent,b=p.colors;return c.map(w=>{let P=d[w],A=g(P,p,E,m,y);return typeof P!="string"&&(A.indexOf(`
266
+ `)!==-1&&(A=p.spacingOuter+E+A+p.spacingOuter+h),A="{"+A+"}"),p.spacingInner+h+b.prop.open+w+b.prop.close+"="+b.value.open+A+b.value.close}).join("")};e.printProps=n;var o=(c,d,p,h,m,y)=>c.map(g=>d.spacingOuter+p+(typeof g=="string"?i(g,d):y(g,d,p,h,m))).join("");e.printChildren=o;var i=(c,d)=>{let p=d.colors.content;return p.open+(0,t.default)(c)+p.close};e.printText=i;var s=(c,d)=>{let p=d.colors.comment;return p.open+"<!--"+(0,t.default)(c)+"-->"+p.close};e.printComment=s;var l=(c,d,p,h,m)=>{let y=h.colors.tag;return y.open+"<"+c+(d&&y.close+d+h.spacingOuter+m+y.open)+(p?">"+y.close+p+h.spacingOuter+m+y.open+"</"+c:(d&&!h.min?"":" ")+"/")+">"+y.close};e.printElement=l;var u=(c,d)=>{let p=d.colors.tag;return p.open+"<"+c+p.close+" \u2026"+p.open+" />"+p.close};e.printElementAsLeaf=u}}),jY=F({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Zb(),r=1,n=3,o=8,i=11,s=/^((HTML|SVG)\w*)?Element$/,l=E=>{try{return typeof E.hasAttribute=="function"&&E.hasAttribute("is")}catch{return!1}},u=E=>{let b=E.constructor.name,{nodeType:w,tagName:P}=E,A=typeof P=="string"&&P.includes("-")||l(E);return w===r&&(s.test(b)||A)||w===n&&b==="Text"||w===o&&b==="Comment"||w===i&&b==="DocumentFragment"},c=E=>{var b;return(E==null||(b=E.constructor)===null||b===void 0?void 0:b.name)&&u(E)};e.test=c;function d(E){return E.nodeType===n}function p(E){return E.nodeType===o}function h(E){return E.nodeType===i}var m=(E,b,w,P,A,S)=>{if(d(E))return(0,t.printText)(E.data,b);if(p(E))return(0,t.printComment)(E.data,b);let T=h(E)?"DocumentFragment":E.tagName.toLowerCase();return++P>b.maxDepth?(0,t.printElementAsLeaf)(T,b):(0,t.printElement)(T,(0,t.printProps)(h(E)?[]:Array.from(E.attributes).map(C=>C.name).sort(),h(E)?{}:Array.from(E.attributes).reduce((C,O)=>(C[O.name]=O.value,C),{}),b,w+b.indent,P,A,S),(0,t.printChildren)(Array.prototype.slice.call(E.childNodes||E.children),b,w+b.indent,P,A,S),b,w)};e.serialize=m;var y={serialize:m,test:c},g=y;e.default=g}}),FY=F({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=nc(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",d="@@__IMMUTABLE_STACK__@@",p=O=>"Immutable."+O,h=O=>"["+O+"]",m=" ",y="\u2026",g=(O,I,W,X,Y,K,_)=>++X>I.maxDepth?h(p(_)):p(_)+m+"{"+(0,t.printIteratorEntries)(O.entries(),I,W,X,Y,K)+"}";function E(O){let I=0;return{next(){if(I<O._keys.length){let W=O._keys[I++];return{done:!1,value:[W,O.get(W)]}}return{done:!0,value:void 0}}}}var b=(O,I,W,X,Y,K)=>{let _=p(O._name||"Record");return++X>I.maxDepth?h(_):_+m+"{"+(0,t.printIteratorEntries)(E(O),I,W,X,Y,K)+"}"},w=(O,I,W,X,Y,K)=>{let _=p("Seq");return++X>I.maxDepth?h(_):O[o]?_+m+"{"+(O._iter||O._object?(0,t.printIteratorEntries)(O.entries(),I,W,X,Y,K):y)+"}":_+m+"["+(O._iter||O._array||O._collection||O._iterable?(0,t.printIteratorValues)(O.values(),I,W,X,Y,K):y)+"]"},P=(O,I,W,X,Y,K,_)=>++X>I.maxDepth?h(p(_)):p(_)+m+"["+(0,t.printIteratorValues)(O.values(),I,W,X,Y,K)+"]",A=(O,I,W,X,Y,K)=>O[i]?g(O,I,W,X,Y,K,O[s]?"OrderedMap":"Map"):O[n]?P(O,I,W,X,Y,K,"List"):O[c]?P(O,I,W,X,Y,K,O[s]?"OrderedSet":"Set"):O[d]?P(O,I,W,X,Y,K,"Stack"):O[u]?w(O,I,W,X,Y,K):b(O,I,W,X,Y,K);e.serialize=A;var S=O=>O&&(O[r]===!0||O[l]===!0);e.test=S;var T={serialize:A,test:S},C=T;e.default=C}}),LY=F({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=60103,r=60106,n=60107,o=60108,i=60114,s=60109,l=60110,u=60112,c=60113,d=60120,p=60115,h=60116,m=60121,y=60122,g=60117,E=60129,b=60131;typeof Symbol=="function"&&Symbol.for&&(w=Symbol.for,t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),o=w("react.strict_mode"),i=w("react.profiler"),s=w("react.provider"),l=w("react.context"),u=w("react.forward_ref"),c=w("react.suspense"),d=w("react.suspense_list"),p=w("react.memo"),h=w("react.lazy"),m=w("react.block"),y=w("react.server.block"),g=w("react.fundamental"),E=w("react.debug_trace_mode"),b=w("react.legacy_hidden"));var w;function P(_){if(typeof _=="object"&&_!==null){var x=_.$$typeof;switch(x){case t:switch(_=_.type,_){case n:case i:case o:case c:case d:return _;default:switch(_=_&&_.$$typeof,_){case l:case u:case h:case p:case s:return _;default:return x}}case r:return x}}}var A=s,S=t,T=u,C=n,O=h,I=p,W=r,X=i,Y=o,K=c;e.ContextConsumer=l,e.ContextProvider=A,e.Element=S,e.ForwardRef=T,e.Fragment=C,e.Lazy=O,e.Memo=I,e.Portal=W,e.Profiler=X,e.StrictMode=Y,e.Suspense=K,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(_){return P(_)===l},e.isContextProvider=function(_){return P(_)===s},e.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===t},e.isForwardRef=function(_){return P(_)===u},e.isFragment=function(_){return P(_)===n},e.isLazy=function(_){return P(_)===h},e.isMemo=function(_){return P(_)===p},e.isPortal=function(_){return P(_)===r},e.isProfiler=function(_){return P(_)===i},e.isStrictMode=function(_){return P(_)===o},e.isSuspense=function(_){return P(_)===c},e.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===n||_===i||_===E||_===o||_===c||_===d||_===b||typeof _=="object"&&_!==null&&(_.$$typeof===h||_.$$typeof===p||_.$$typeof===s||_.$$typeof===l||_.$$typeof===u||_.$$typeof===g||_.$$typeof===m||_[0]===y)},e.typeOf=P}}),kY=F({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var t=60103,r=60106,n=60107,o=60108,i=60114,s=60109,l=60110,u=60112,c=60113,d=60120,p=60115,h=60116,m=60121,y=60122,g=60117,E=60119,b=60128,w=60129,P=60130,A=60131;if(typeof Symbol=="function"&&Symbol.for){var S=Symbol.for;t=S("react.element"),r=S("react.portal"),n=S("react.fragment"),o=S("react.strict_mode"),i=S("react.profiler"),s=S("react.provider"),l=S("react.context"),u=S("react.forward_ref"),c=S("react.suspense"),d=S("react.suspense_list"),p=S("react.memo"),h=S("react.lazy"),m=S("react.block"),y=S("react.server.block"),g=S("react.fundamental"),E=S("react.scope"),b=S("react.opaque.id"),w=S("react.debug_trace_mode"),P=S("react.offscreen"),A=S("react.legacy_hidden")}var T=!1;function C(Se){return!!(typeof Se=="string"||typeof Se=="function"||Se===n||Se===i||Se===w||Se===o||Se===c||Se===d||Se===A||T||typeof Se=="object"&&Se!==null&&(Se.$$typeof===h||Se.$$typeof===p||Se.$$typeof===s||Se.$$typeof===l||Se.$$typeof===u||Se.$$typeof===g||Se.$$typeof===m||Se[0]===y))}function O(Se){if(typeof Se=="object"&&Se!==null){var $e=Se.$$typeof;switch($e){case t:var tt=Se.type;switch(tt){case n:case i:case o:case c:case d:return tt;default:var Ut=tt&&tt.$$typeof;switch(Ut){case l:case u:case h:case p:case s:return Ut;default:return $e}}case r:return $e}}}var I=l,W=s,X=t,Y=u,K=n,_=h,x=p,N=r,le=i,ce=o,Re=c,Ne=!1,De=!1;function ye(Se){return Ne||(Ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(Se){return De||(De=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ee(Se){return O(Se)===l}function Oe(Se){return O(Se)===s}function ke(Se){return typeof Se=="object"&&Se!==null&&Se.$$typeof===t}function Fe(Se){return O(Se)===u}function ze(Se){return O(Se)===n}function dt(Se){return O(Se)===h}function Q(Se){return O(Se)===p}function Le(Se){return O(Se)===r}function Ge(Se){return O(Se)===i}function et(Se){return O(Se)===o}function J(Se){return O(Se)===c}e.ContextConsumer=I,e.ContextProvider=W,e.Element=X,e.ForwardRef=Y,e.Fragment=K,e.Lazy=_,e.Memo=x,e.Portal=N,e.Profiler=le,e.StrictMode=ce,e.Suspense=Re,e.isAsyncMode=ye,e.isConcurrentMode=de,e.isContextConsumer=Ee,e.isContextProvider=Oe,e.isElement=ke,e.isForwardRef=Fe,e.isFragment=ze,e.isLazy=dt,e.isMemo=Q,e.isPortal=Le,e.isProfiler=Ge,e.isStrictMode=et,e.isSuspense=J,e.isValidElementType=C,e.typeOf=O}()}}),$Y=F({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){"use strict";process.env.NODE_ENV==="production"?t.exports=LY():t.exports=kY()}}),UY=F({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o($Y()),r=Zb();function n(h){if(typeof WeakMap!="function")return null;var m=new WeakMap,y=new WeakMap;return(n=function(g){return g?y:m})(h)}function o(h,m){if(!m&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var y=n(m);if(y&&y.has(h))return y.get(h);var g={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in h)if(b!=="default"&&Object.prototype.hasOwnProperty.call(h,b)){var w=E?Object.getOwnPropertyDescriptor(h,b):null;w&&(w.get||w.set)?Object.defineProperty(g,b,w):g[b]=h[b]}return g.default=h,y&&y.set(h,g),g}var i=(h,m=[])=>(Array.isArray(h)?h.forEach(y=>{i(y,m)}):h!=null&&h!==!1&&m.push(h),m),s=h=>{let m=h.type;if(typeof m=="string")return m;if(typeof m=="function")return m.displayName||m.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof m=="object"&&m!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(m.displayName)return m.displayName;let y=m.render.displayName||m.render.name||"";return y!==""?"ForwardRef("+y+")":"ForwardRef"}if(t.isMemo(h)){let y=m.displayName||m.type.displayName||m.type.name||"";return y!==""?"Memo("+y+")":"Memo"}}return"UNDEFINED"},l=h=>{let{props:m}=h;return Object.keys(m).filter(y=>y!=="children"&&m[y]!==void 0).sort()},u=(h,m,y,g,E,b)=>++g>m.maxDepth?(0,r.printElementAsLeaf)(s(h),m):(0,r.printElement)(s(h),(0,r.printProps)(l(h),h.props,m,y+m.indent,g,E,b),(0,r.printChildren)(i(h.props.children),m,y+m.indent,g,E,b),m,y);e.serialize=u;var c=h=>h!=null&&t.isElement(h);e.test=c;var d={serialize:u,test:c},p=d;e.default=p}}),HY=F({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Zb(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,i=d=>{let{props:p}=d;return p?Object.keys(p).filter(h=>p[h]!==void 0).sort():[]},s=(d,p,h,m,y,g)=>++m>p.maxDepth?(0,t.printElementAsLeaf)(d.type,p):(0,t.printElement)(d.type,d.props?(0,t.printProps)(i(d),d.props,p,h+p.indent,m,y,g):"",d.children?(0,t.printChildren)(d.children,p,h+p.indent,m,y,g):"",p,h);e.serialize=s;var l=d=>d&&d.$$typeof===o;e.test=l;var u={serialize:s,test:l},c=u;e.default=c}}),VY=F({"../../node_modules/pretty-format/build/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=Fe,e.plugins=void 0;var t=d(NR()),r=nc(),n=d(DY()),o=d(MY()),i=d(NY()),s=d(jY()),l=d(FY()),u=d(UY()),c=d(HY());function d(Q){return Q&&Q.__esModule?Q:{default:Q}}var p=Object.prototype.toString,h=Date.prototype.toISOString,m=Error.prototype.toString,y=RegExp.prototype.toString,g=Q=>typeof Q.constructor=="function"&&Q.constructor.name||"Object",E=Q=>typeof window<"u"&&Q===window,b=/^Symbol\((.*)\)(.*)$/,w=/\n/gi,P=class extends Error{constructor(Q,Le){super(Q),this.stack=Le,this.name=this.constructor.name}};function A(Q){return Q==="[object Array]"||Q==="[object ArrayBuffer]"||Q==="[object DataView]"||Q==="[object Float32Array]"||Q==="[object Float64Array]"||Q==="[object Int8Array]"||Q==="[object Int16Array]"||Q==="[object Int32Array]"||Q==="[object Uint8Array]"||Q==="[object Uint8ClampedArray]"||Q==="[object Uint16Array]"||Q==="[object Uint32Array]"}function S(Q){return Object.is(Q,-0)?"-0":String(Q)}function T(Q){return`${Q}n`}function C(Q,Le){return Le?"[Function "+(Q.name||"anonymous")+"]":"[Function]"}function O(Q){return String(Q).replace(b,"Symbol($1)")}function I(Q){return"["+m.call(Q)+"]"}function W(Q,Le,Ge,et){if(Q===!0||Q===!1)return""+Q;if(Q===void 0)return"undefined";if(Q===null)return"null";let J=typeof Q;if(J==="number")return S(Q);if(J==="bigint")return T(Q);if(J==="string")return et?'"'+Q.replace(/"|\\/g,"\\$&")+'"':'"'+Q+'"';if(J==="function")return C(Q,Le);if(J==="symbol")return O(Q);let Se=p.call(Q);return Se==="[object WeakMap]"?"WeakMap {}":Se==="[object WeakSet]"?"WeakSet {}":Se==="[object Function]"||Se==="[object GeneratorFunction]"?C(Q,Le):Se==="[object Symbol]"?O(Q):Se==="[object Date]"?isNaN(+Q)?"Date { NaN }":h.call(Q):Se==="[object Error]"?I(Q):Se==="[object RegExp]"?Ge?y.call(Q).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):y.call(Q):Q instanceof Error?I(Q):null}function X(Q,Le,Ge,et,J,Se){if(J.indexOf(Q)!==-1)return"[Circular]";J=J.slice(),J.push(Q);let $e=++et>Le.maxDepth,tt=Le.min;if(Le.callToJSON&&!$e&&Q.toJSON&&typeof Q.toJSON=="function"&&!Se)return x(Q.toJSON(),Le,Ge,et,J,!0);let Ut=p.call(Q);return Ut==="[object Arguments]"?$e?"[Arguments]":(tt?"":"Arguments ")+"["+(0,r.printListItems)(Q,Le,Ge,et,J,x)+"]":A(Ut)?$e?"["+Q.constructor.name+"]":(tt||!Le.printBasicPrototype&&Q.constructor.name==="Array"?"":Q.constructor.name+" ")+"["+(0,r.printListItems)(Q,Le,Ge,et,J,x)+"]":Ut==="[object Map]"?$e?"[Map]":"Map {"+(0,r.printIteratorEntries)(Q.entries(),Le,Ge,et,J,x," => ")+"}":Ut==="[object Set]"?$e?"[Set]":"Set {"+(0,r.printIteratorValues)(Q.values(),Le,Ge,et,J,x)+"}":$e||E(Q)?"["+g(Q)+"]":(tt||!Le.printBasicPrototype&&g(Q)==="Object"?"":g(Q)+" ")+"{"+(0,r.printObjectProperties)(Q,Le,Ge,et,J,x)+"}"}function Y(Q){return Q.serialize!=null}function K(Q,Le,Ge,et,J,Se){let $e;try{$e=Y(Q)?Q.serialize(Le,Ge,et,J,Se,x):Q.print(Le,tt=>x(tt,Ge,et,J,Se),tt=>{let Ut=et+Ge.indent;return Ut+tt.replace(w,`
267
+ `+Ut)},{edgeSpacing:Ge.spacingOuter,min:Ge.min,spacing:Ge.spacingInner},Ge.colors)}catch(tt){throw new P(tt.message,tt.stack)}if(typeof $e!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof $e}".`);return $e}function _(Q,Le){for(let Ge=0;Ge<Q.length;Ge++)try{if(Q[Ge].test(Le))return Q[Ge]}catch(et){throw new P(et.message,et.stack)}return null}function x(Q,Le,Ge,et,J,Se){let $e=_(Le.plugins,Q);if($e!==null)return K($e,Q,Le,Ge,et,J);let tt=W(Q,Le.printFunctionName,Le.escapeRegex,Le.escapeString);return tt!==null?tt:X(Q,Le,Ge,et,J,Se)}var N={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},le=Object.keys(N),ce={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:N};e.DEFAULT_OPTIONS=ce;function Re(Q){if(Object.keys(Q).forEach(Le=>{if(!ce.hasOwnProperty(Le))throw new Error(`pretty-format: Unknown option "${Le}".`)}),Q.min&&Q.indent!==void 0&&Q.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Q.theme!==void 0){if(Q.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Q.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Q.theme}".`)}}var Ne=Q=>le.reduce((Le,Ge)=>{let et=Q.theme&&Q.theme[Ge]!==void 0?Q.theme[Ge]:N[Ge],J=et&&t.default[et];if(J&&typeof J.close=="string"&&typeof J.open=="string")Le[Ge]=J;else throw new Error(`pretty-format: Option "theme" has a key "${Ge}" whose value "${et}" is undefined in ansi-styles.`);return Le},Object.create(null)),De=()=>le.reduce((Q,Le)=>(Q[Le]={close:"",open:""},Q),Object.create(null)),ye=Q=>Q&&Q.printFunctionName!==void 0?Q.printFunctionName:ce.printFunctionName,de=Q=>Q&&Q.escapeRegex!==void 0?Q.escapeRegex:ce.escapeRegex,Ee=Q=>Q&&Q.escapeString!==void 0?Q.escapeString:ce.escapeString,Oe=Q=>{var Le;return{callToJSON:Q&&Q.callToJSON!==void 0?Q.callToJSON:ce.callToJSON,colors:Q&&Q.highlight?Ne(Q):De(),compareKeys:Q&&typeof Q.compareKeys=="function"?Q.compareKeys:ce.compareKeys,escapeRegex:de(Q),escapeString:Ee(Q),indent:Q&&Q.min?"":ke(Q&&Q.indent!==void 0?Q.indent:ce.indent),maxDepth:Q&&Q.maxDepth!==void 0?Q.maxDepth:ce.maxDepth,min:Q&&Q.min!==void 0?Q.min:ce.min,plugins:Q&&Q.plugins!==void 0?Q.plugins:ce.plugins,printBasicPrototype:(Le=Q?.printBasicPrototype)!==null&&Le!==void 0?Le:!0,printFunctionName:ye(Q),spacingInner:Q&&Q.min?" ":`
268
+ `,spacingOuter:Q&&Q.min?"":`
269
+ `}};function ke(Q){return new Array(Q+1).join(" ")}function Fe(Q,Le){if(Le&&(Re(Le),Le.plugins)){let et=_(Le.plugins,Q);if(et!==null)return K(et,Q,Oe(Le),"",0,[])}let Ge=W(Q,ye(Le),de(Le),Ee(Le));return Ge!==null?Ge:X(Q,Oe(Le),"",0,[])}var ze={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:s.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=ze;var dt=Fe;e.default=dt}}),GY=F({"../../node_modules/lz-string/libs/lz-string.js"(e,t){"use strict";var r=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function l(c,d){if(!s[c]){s[c]={};for(var p=0;p<c.length;p++)s[c][c.charAt(p)]=p}return s[c][d]}var u={compressToBase64:function(c){if(c==null)return"";var d=u._compress(c,6,function(p){return o.charAt(p)});switch(d.length%4){default:case 0:return d;case 1:return d+"===";case 2:return d+"==";case 3:return d+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(d){return l(o,c.charAt(d))})},compressToUTF16:function(c){return c==null?"":u._compress(c,15,function(d){return n(d+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(d){return c.charCodeAt(d)-32})},compressToUint8Array:function(c){for(var d=u.compress(c),p=new Uint8Array(d.length*2),h=0,m=d.length;h<m;h++){var y=d.charCodeAt(h);p[h*2]=y>>>8,p[h*2+1]=y%256}return p},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var d=new Array(c.length/2),p=0,h=d.length;p<h;p++)d[p]=c[p*2]*256+c[p*2+1];var m=[];return d.forEach(function(y){m.push(n(y))}),u.decompress(m.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":u._compress(c,6,function(d){return i.charAt(d)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(d){return l(i,c.charAt(d))}))},compress:function(c){return u._compress(c,16,function(d){return n(d)})},_compress:function(c,d,p){if(c==null)return"";var h,m,y={},g={},E="",b="",w="",P=2,A=3,S=2,T=[],C=0,O=0,I;for(I=0;I<c.length;I+=1)if(E=c.charAt(I),Object.prototype.hasOwnProperty.call(y,E)||(y[E]=A++,g[E]=!0),b=w+E,Object.prototype.hasOwnProperty.call(y,b))w=b;else{if(Object.prototype.hasOwnProperty.call(g,w)){if(w.charCodeAt(0)<256){for(h=0;h<S;h++)C=C<<1,O==d-1?(O=0,T.push(p(C)),C=0):O++;for(m=w.charCodeAt(0),h=0;h<8;h++)C=C<<1|m&1,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=m>>1}else{for(m=1,h=0;h<S;h++)C=C<<1|m,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=0;for(m=w.charCodeAt(0),h=0;h<16;h++)C=C<<1|m&1,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=m>>1}P--,P==0&&(P=Math.pow(2,S),S++),delete g[w]}else for(m=y[w],h=0;h<S;h++)C=C<<1|m&1,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=m>>1;P--,P==0&&(P=Math.pow(2,S),S++),y[b]=A++,w=String(E)}if(w!==""){if(Object.prototype.hasOwnProperty.call(g,w)){if(w.charCodeAt(0)<256){for(h=0;h<S;h++)C=C<<1,O==d-1?(O=0,T.push(p(C)),C=0):O++;for(m=w.charCodeAt(0),h=0;h<8;h++)C=C<<1|m&1,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=m>>1}else{for(m=1,h=0;h<S;h++)C=C<<1|m,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=0;for(m=w.charCodeAt(0),h=0;h<16;h++)C=C<<1|m&1,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=m>>1}P--,P==0&&(P=Math.pow(2,S),S++),delete g[w]}else for(m=y[w],h=0;h<S;h++)C=C<<1|m&1,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=m>>1;P--,P==0&&(P=Math.pow(2,S),S++)}for(m=2,h=0;h<S;h++)C=C<<1|m&1,O==d-1?(O=0,T.push(p(C)),C=0):O++,m=m>>1;for(;;)if(C=C<<1,O==d-1){T.push(p(C));break}else O++;return T.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(d){return c.charCodeAt(d)})},_decompress:function(c,d,p){var h=[],m,y=4,g=4,E=3,b="",w=[],P,A,S,T,C,O,I,W={val:p(0),position:d,index:1};for(P=0;P<3;P+=1)h[P]=P;for(S=0,C=Math.pow(2,2),O=1;O!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*O,O<<=1;switch(m=S){case 0:for(S=0,C=Math.pow(2,8),O=1;O!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*O,O<<=1;I=n(S);break;case 1:for(S=0,C=Math.pow(2,16),O=1;O!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*O,O<<=1;I=n(S);break;case 2:return""}for(h[3]=I,A=I,w.push(I);;){if(W.index>c)return"";for(S=0,C=Math.pow(2,E),O=1;O!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*O,O<<=1;switch(I=S){case 0:for(S=0,C=Math.pow(2,8),O=1;O!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*O,O<<=1;h[g++]=n(S),I=g-1,y--;break;case 1:for(S=0,C=Math.pow(2,16),O=1;O!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*O,O<<=1;h[g++]=n(S),I=g-1,y--;break;case 2:return w.join("")}if(y==0&&(y=Math.pow(2,E),E++),h[I])b=h[I];else if(I===g)b=A+A.charAt(0);else return null;w.push(b),h[g++]=A+b.charAt(0),y--,A=b,y==0&&(y=Math.pow(2,E),E++)}}};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),BR={};Ju(BR,{buildQueries:()=>mae,clearAllMocks:()=>EP,configure:()=>yae,createEvent:()=>bae,expect:()=>Iie,findAllByAltText:()=>vae,findAllByDisplayValue:()=>Eae,findAllByLabelText:()=>wae,findAllByPlaceholderText:()=>_ae,findAllByRole:()=>Sae,findAllByTestId:()=>Aae,findAllByText:()=>Cae,findAllByTitle:()=>Rae,findByAltText:()=>Tae,findByDisplayValue:()=>Oae,findByLabelText:()=>Pae,findByPlaceholderText:()=>xae,findByRole:()=>qae,findByTestId:()=>Dae,findByText:()=>Iae,findByTitle:()=>Mae,fireEvent:()=>gae,fn:()=>gP,getAllByAltText:()=>Nae,getAllByDisplayValue:()=>Bae,getAllByLabelText:()=>jae,getAllByPlaceholderText:()=>Fae,getAllByRole:()=>Lae,getAllByTestId:()=>kae,getAllByText:()=>$ae,getAllByTitle:()=>Uae,getByAltText:()=>Hae,getByDisplayValue:()=>Vae,getByLabelText:()=>Gae,getByPlaceholderText:()=>zae,getByRole:()=>Wae,getByTestId:()=>Yae,getByText:()=>Kae,getByTitle:()=>Jae,getConfig:()=>Xae,getDefaultNormalizer:()=>Qae,getElementError:()=>Zae,getNodeText:()=>eie,getQueriesForElement:()=>tie,getRoles:()=>rie,getSuggestedQuery:()=>nie,isInaccessible:()=>oie,isMockFunction:()=>Yg,logDOM:()=>aie,logRoles:()=>iie,mocked:()=>$ee,mocks:()=>Ys,onMockCall:()=>bP,prettyDOM:()=>sie,prettyFormat:()=>qie,queries:()=>lie,queryAllByAltText:()=>uie,queryAllByAttribute:()=>cie,queryAllByDisplayValue:()=>die,queryAllByLabelText:()=>pie,queryAllByPlaceholderText:()=>fie,queryAllByRole:()=>hie,queryAllByTestId:()=>mie,queryAllByText:()=>yie,queryAllByTitle:()=>bie,queryByAltText:()=>gie,queryByAttribute:()=>vie,queryByDisplayValue:()=>Eie,queryByLabelText:()=>wie,queryByPlaceholderText:()=>_ie,queryByRole:()=>Sie,queryByTestId:()=>Aie,queryByText:()=>Cie,queryByTitle:()=>Rie,queryHelpers:()=>Tie,resetAllMocks:()=>wP,restoreAllMocks:()=>_P,screen:()=>Oie,spyOn:()=>kee,traverseArgs:()=>Yu,userEvent:()=>Die,waitFor:()=>Pie,waitForElementToBeRemoved:()=>xie,within:()=>xq});jo.exports=_G(BR);var jR=sm(),zY=xy(),FR=Object.defineProperty,WY=Object.getOwnPropertyNames,fe=(e,t)=>FR(e,"name",{value:t,configurable:!0}),YY=(e,t)=>function(){return t||(0,e[WY(e)[0]])((t={exports:{}}).exports,t),t.exports},eg=(e,t)=>{for(var r in t)FR(e,r,{get:t[r],enumerable:!0})},KY=YY({"(disabled):util"(){}}),on={};eg(on,{addChainableMethod:()=>pg,addLengthGuard:()=>Gs,addMethod:()=>ug,addProperty:()=>lg,checkError:()=>wr,compareByInspect:()=>Du,eql:()=>cT,expectTypes:()=>GR,flag:()=>Qe,getActual:()=>ac,getMessage:()=>ng,getName:()=>sc,getOperator:()=>yg,getOwnEnumerableProperties:()=>mg,getOwnEnumerablePropertySymbols:()=>hg,getPathInfo:()=>sg,hasProperty:()=>ic,inspect:()=>it,isNaN:()=>Iu,isProxyEnabled:()=>Vs,isRegExp:()=>Mu,objDisplay:()=>Fo,overwriteChainableMethod:()=>fg,overwriteMethod:()=>dg,overwriteProperty:()=>cg,proxify:()=>Oi,test:()=>tg,transferFlags:()=>Vr,type:()=>vt});var wr={};eg(wr,{compatibleConstructor:()=>$R,compatibleInstance:()=>kR,compatibleMessage:()=>UR,getConstructorName:()=>HR,getMessage:()=>VR});function oc(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}fe(oc,"isErrorInstance");function LR(e){return Object.prototype.toString.call(e)==="[object RegExp]"}fe(LR,"isRegExp");function kR(e,t){return oc(t)&&e===t}fe(kR,"compatibleInstance");function $R(e,t){return oc(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}fe($R,"compatibleConstructor");function UR(e,t){let r=typeof e=="string"?e:e.message;return LR(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}fe(UR,"compatibleMessage");function HR(e){let t=e;return oc(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}fe(HR,"getConstructorName");function VR(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}fe(VR,"getMessage");function Qe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}fe(Qe,"flag");function tg(e,t){var r=Qe(e,"negate"),n=t[0];return r?!n:n}fe(tg,"test");function vt(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}fe(vt,"type");var JY="captureStackTrace"in Error,$o,ht=($o=class extends Error{constructor(r="Unspecified AssertionError",n,o){super(r);At(this,"message");this.message=r,JY&&Error.captureStackTrace(this,o||$o);for(let i in n)i in this||(this[i]=n[i])}get name(){return"AssertionError"}get ok(){return!1}toJSON(r){return{...this,name:this.name,message:this.message,ok:!1,stack:r!==!1?this.stack:void 0}}},fe($o,"AssertionError"),$o);function GR(e,t){var r=Qe(e,"message"),n=Qe(e,"ssfi");r=r?r+": ":"",e=Qe(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var o=t.map(function(s,l){var u=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+s}).join(", "),i=vt(e).toLowerCase();if(!t.some(function(s){return i===s}))throw new ht(r+"object tested must be "+o+", but "+i+" given",void 0,n)}fe(GR,"expectTypes");function ac(e,t){return t.length>4?t[4]:e._obj}fe(ac,"getActual");var dA={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},XY={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},hi="\u2026";function zR(e,t){let r=dA[XY[t]]||dA[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}fe(zR,"colorise");function WR({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:d,stylize:c};return p.colors&&(p.stylize=zR),p}fe(WR,"normaliseOptions");function _n(e,t,r=hi){e=String(e);let n=r.length,o=e.length;return n>t&&o>n?r:o>t&&o>n?`${e.slice(0,t-n)}${r}`:e}fe(_n,"truncate");function xr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let c=0;c<o;c+=1){let d=c+1===e.length,p=c+2===e.length;u=`${hi}(${e.length-c})`;let h=e[c];t.truncate=i-s.length-(d?0:n.length);let m=l||r(h,t)+(d?"":n),y=s.length+m.length,g=y+u.length;if(d&&y>i&&s.length+u.length<=i||!d&&!p&&g>i||(l=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&g>i&&y+l.length>i))break;if(s+=m,!d&&!p&&y+l.length>=i){u=`${hi}(${e.length-c-1})`;break}u=""}return`${s}${u}`}fe(xr,"inspectList");function YR(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}fe(YR,"quoteComplexKey");function mi([e,t],r){return r.truncate-=2,typeof e=="string"?e=YR(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}fe(mi,"inspectProperty");function KR(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=xr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=xr(r.map(i=>[i,e[i]]),t,mi)),`[ ${n}${o?`, ${o}`:""} ]`}fe(KR,"inspectArray");var QY=fe(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function nn(e,t){let r=QY(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(_n(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${hi}(${e.length-e[s]+1})`;break}o+=l}let i="";return n.length&&(i=xr(n.map(s=>[s,e[s]]),t,mi)),`${r}[ ${o}${i?`, ${i}`:""} ]`}fe(nn,"inspectTypedArray");function JR(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${_n(n[1],t.truncate-o.length-1)}`,"date")}fe(JR,"inspectDate");function Xy(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${_n(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}fe(Xy,"inspectFunction");function XR([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}fe(XR,"inspectMapEntry");function QR(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}fe(QR,"mapToEntries");function ZR(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${xr(QR(e),t,XR)} }`)}fe(ZR,"inspectMap");var ZY=Number.isNaN||(e=>e!==e);function Qy(e,t){return ZY(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(_n(String(e),t.truncate),"number")}fe(Qy,"inspectNumber");function Zy(e,t){let r=_n(e.toString(),t.truncate-1);return r!==hi&&(r+="n"),t.stylize(r,"bigint")}fe(Zy,"inspectBigInt");function eT(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${_n(o,n)}/${r}`,"regexp")}fe(eT,"inspectRegExp");function tT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}fe(tT,"arrayFromSet");function rT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${xr(tT(e),t)} }`)}fe(rT,"inspectSet");var pA=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),eK={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},tK=16,rK=4;function nT(e){return eK[e]||`\\u${`0000${e.charCodeAt(0).toString(tK)}`.slice(-rK)}`}fe(nT,"escape");function eb(e,t){return pA.test(e)&&(e=e.replace(pA,nT)),t.stylize(`'${_n(e,t.truncate-2)}'`,"string")}fe(eb,"inspectString");function tb(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}fe(tb,"inspectSymbol");var oT=fe(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(oT=fe((n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`},"getPromiseValue"))}catch{}var nK=oT;function ws(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=xr(r.map(l=>[l,e[l]]),t,mi),i=xr(n.map(l=>[l,e[l]]),t,mi);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}fe(ws,"inspectObject");var qy=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function aT(e,t){let r="";return qy&&qy in e&&(r=e[qy]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ws(e,t)}`}fe(aT,"inspectClass");function iT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${xr(e,t)} ]`)}fe(iT,"inspectArguments");var oK=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function sT(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>oK.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=_n(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=xr(r.map(s=>[s,e[s]]),t,mi);return`${n}${o}${i?` { ${i} }`:""}`}fe(sT,"inspectObject");function lT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}fe(lT,"inspectAttribute");function Pu(e,t){return xr(e,t,rg,`
270
+ `)}fe(Pu,"inspectHTMLCollection");function rg(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=xr(r.map(d=>[d,e.getAttribute(d)]),t,lT," ")),t.truncate-=l.length;let u=t.truncate,c=Pu(e.children,t);return c&&c.length>u&&(c=`${hi}(${e.children.length})`),`${o}${l}${i}${c}${s}`}fe(rg,"inspectHTML");var aK=typeof Symbol=="function"&&typeof Symbol.for=="function",Dy=aK?Symbol.for("chai/inspect"):"@@chai/inspect",ai=!1;try{let e=KY();ai=e.inspect?e.inspect.custom:!1}catch{ai=!1}var fA=new WeakMap,hA={},mA={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Qy,Number:Qy,bigint:Zy,BigInt:Zy,string:eb,String:eb,function:Xy,Function:Xy,symbol:tb,Symbol:tb,Array:KR,Date:JR,Map:ZR,Set:rT,RegExp:eT,Promise:nK,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:iT,Int8Array:nn,Uint8Array:nn,Uint8ClampedArray:nn,Int16Array:nn,Uint16Array:nn,Int32Array:nn,Uint32Array:nn,Float32Array:nn,Float64Array:nn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:sT,HTMLCollection:Pu,NodeList:Pu},iK=fe((e,t,r)=>Dy in e&&typeof e[Dy]=="function"?e[Dy](t):ai&&ai in e&&typeof e[ai]=="function"?e[ai](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&fA.has(e.constructor)?fA.get(e.constructor)(e,t):hA[r]?hA[r](e,t):"","inspectCustom"),sK=Object.prototype.toString;function xu(e,t={}){let r=WR(t,xu),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=sK.call(e).slice(8,-1)),o in mA)return mA[o](e,r);if(n&&e){let s=iK(e,r,o);if(s)return typeof s=="string"?s:xu(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ws(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?rg(e,r):"constructor"in e?e.constructor!==Object?aT(e,r):ws(e,r):e===Object(e)?ws(e,r):r.stylize(String(e),o)}fe(xu,"inspect");var yr={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function it(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:yr.truncateThreshold?yr.truncateThreshold:1/0};return xu(e,o)}fe(it,"inspect");function Fo(e){var t=it(e),r=Object.prototype.toString.call(e);if(yr.truncateThreshold&&t.length>=yr.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+o+") }"}else return t}else return t}fe(Fo,"objDisplay");function ng(e,t){var r=Qe(e,"negate"),n=Qe(e,"object"),o=t[3],i=ac(e,t),s=r?t[2]:t[1],l=Qe(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return Fo(n)}).replace(/#\{act\}/g,function(){return Fo(i)}).replace(/#\{exp\}/g,function(){return Fo(o)}),l?l+": "+s:s}fe(ng,"getMessage");function Vr(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}fe(Vr,"transferFlags");function rb(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}fe(rb,"type");function og(){this._key="chai/deep-eql__"+Math.random()+Date.now()}fe(og,"FakeMap");og.prototype={get:fe(function(e){return e[this._key]},"get"),set:fe(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var uT=typeof WeakMap=="function"?WeakMap:og;function nb(e,t,r){if(!r||Uo(e)||Uo(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}fe(nb,"memoizeCompare");function bs(e,t,r,n){if(!(!r||Uo(e)||Uo(t))){var o=r.get(e);o?o.set(t,n):(o=new uT,o.set(t,n),r.set(e,o))}}fe(bs,"memoizeSet");var cT=Hs;function Hs(e,t,r){if(r&&r.comparator)return ob(e,t,r);var n=ag(e,t);return n!==null?n:ob(e,t,r)}fe(Hs,"deepEqual");function ag(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Uo(e)||Uo(t)?!1:null}fe(ag,"simpleEqual");function ob(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new uT;var n=r&&r.comparator,o=nb(e,t,r.memoize);if(o!==null)return o;var i=nb(t,e,r.memoize);if(i!==null)return i;if(n){var s=n(e,t);if(s===!1||s===!0)return bs(e,t,r.memoize,s),s;var l=ag(e,t);if(l!==null)return l}var u=rb(e);if(u!==rb(t))return bs(e,t,r.memoize,!1),!1;bs(e,t,r.memoize,!0);var c=dT(e,t,u,r);return bs(e,t,r.memoize,c),c}fe(ob,"extensiveDeepEqual");function dT(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Hs(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return ig(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Jn(e,t,n);case"RegExp":return pT(e,t);case"Generator":return fT(e,t,n);case"DataView":return Jn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Jn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return ab(e,t,n);case"Map":return ab(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return mT(e,t,n)}}fe(dT,"extensiveDeepEqualByType");function pT(e,t){return e.toString()===t.toString()}fe(pT,"regexpEqual");function ab(e,t,r){if(e.size!==t.size)return!1;if(e.size===0)return!0;var n=[],o=[];return e.forEach(fe(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(fe(function(i,s){o.push([i,s])},"gatherEntries")),Jn(n.sort(),o.sort(),r)}fe(ab,"entriesEqual");function Jn(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(Hs(e[o],t[o],r)===!1)return!1;return!0}fe(Jn,"iterableEqual");function fT(e,t,r){return Jn(qu(e),qu(t),r)}fe(fT,"generatorEqual");function hT(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}fe(hT,"hasIteratorFunction");function ib(e){if(hT(e))try{return qu(e[Symbol.iterator]())}catch{return[]}return[]}fe(ib,"getIteratorEntries");function qu(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}fe(qu,"getGeneratorEntries");function sb(e){var t=[];for(var r in e)t.push(r);return t}fe(sb,"getEnumerableKeys");function lb(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}fe(lb,"getEnumerableSymbols");function ig(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Hs(e[r[i]],t[r[i]],n)===!1)return!1;return!0}fe(ig,"keysEqual");function mT(e,t,r){var n=sb(e),o=sb(t),i=lb(e),s=lb(t);if(n=n.concat(i),o=o.concat(s),n.length&&n.length===o.length)return Jn(ub(n).sort(),ub(o).sort())===!1?!1:ig(e,t,n,r);var l=ib(e),u=ib(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),Jn(l,u,r)):n.length===0&&l.length===0&&o.length===0&&u.length===0}fe(mT,"objectEqual");function Uo(e){return e===null||typeof e!="object"}fe(Uo,"isPrimitive");function ub(e){return e.map(fe(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}fe(ub,"mapSymbols");function ic(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}fe(ic,"hasProperty");function yT(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}fe(yT,"parsePath");function cb(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let s=t[i];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],i===r-1&&(o=n))}return o}fe(cb,"internalGetPathValue");function sg(e,t){let r=yT(t),n=r[r.length-1],o={parent:r.length>1?cb(e,r,r.length-1):e,name:n.p||n.i,value:cb(e,r)};return o.exists=ic(o.parent,o.name),o}fe(sg,"getPathInfo");function V(e,t,r,n){return Qe(this,"ssfi",r||V),Qe(this,"lockSsfi",n),Qe(this,"object",e),Qe(this,"message",t),Qe(this,"eql",yr.deepEqual||cT),Oi(this)}fe(V,"Assertion");Object.defineProperty(V,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),yr.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),yr.includeStack=e}});Object.defineProperty(V,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),yr.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),yr.showDiff=e}});V.addProperty=function(e,t){lg(this.prototype,e,t)};V.addMethod=function(e,t){ug(this.prototype,e,t)};V.addChainableMethod=function(e,t,r){pg(this.prototype,e,t,r)};V.overwriteProperty=function(e,t){cg(this.prototype,e,t)};V.overwriteMethod=function(e,t){dg(this.prototype,e,t)};V.overwriteChainableMethod=function(e,t,r){fg(this.prototype,e,t,r)};V.prototype.assert=function(e,t,r,n,o,i){var s=tg(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),yr.showDiff!==!0&&(i=!1),!s){t=ng(this,arguments);var l=ac(this,arguments),u={actual:l,expected:n,showDiff:i},c=yg(this,arguments);throw c&&(u.operator=c),new ht(t,u,yr.includeStack?this.assert:Qe(this,"ssfi"))}};Object.defineProperty(V.prototype,"_obj",{get:function(){return Qe(this,"object")},set:function(e){Qe(this,"object",e)}});function Vs(){return yr.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}fe(Vs,"isProxyEnabled");function lg(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:fe(function n(){!Vs()&&!Qe(this,"lockSsfi")&&Qe(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var i=new V;return Vr(this,i),i},"propertyGetter"),configurable:!0})}fe(lg,"addProperty");var lK=Object.getOwnPropertyDescriptor(function(){},"length");function Gs(e,t,r){return lK.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}fe(Gs,"addLengthGuard");function bT(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}fe(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}fe(bT,"getProperties");var yA=["__flags","__methods","_obj","assert"];function Oi(e,t){return Vs()?new Proxy(e,{get:fe(function r(n,o){if(typeof o=="string"&&yr.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var i=null,s=4;throw bT(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&yA.indexOf(l)===-1){var u=gT(o,l,s);u<s&&(i=l,s=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return yA.indexOf(o)===-1&&!Qe(n,"lockSsfi")&&Qe(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}fe(Oi,"proxify");function gT(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;for(var n=[],o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(var i=0;i<t.length;i++)n[0][i]=i;for(var o=1;o<=e.length;o++)for(var s=e.charCodeAt(o-1),i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){n[o][i]=r;continue}n[o][i]=Math.min(n[o-1][i]+1,n[o][i-1]+1,n[o-1][i-1]+(s===t.charCodeAt(i-1)?0:1))}return n[e.length][t.length]}fe(gT,"stringDistanceCapped");function ug(e,t,r){var n=fe(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var i=new V;return Vr(this,i),i},"methodWrapper");Gs(n,t,!1),e[t]=Oi(n,t)}fe(ug,"addMethod");function cg(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=fe(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:fe(function i(){!Vs()&&!Qe(this,"lockSsfi")&&Qe(this,"ssfi",i);var s=Qe(this,"lockSsfi");Qe(this,"lockSsfi",!0);var l=r(o).call(this);if(Qe(this,"lockSsfi",s),l!==void 0)return l;var u=new V;return Vr(this,u),u},"overwritingPropertyGetter"),configurable:!0})}fe(cg,"overwriteProperty");function dg(e,t,r){var n=e[t],o=fe(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var i=fe(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",i);var s=Qe(this,"lockSsfi");Qe(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(Qe(this,"lockSsfi",s),l!==void 0)return l;var u=new V;return Vr(this,u),u},"overwritingMethodWrapper");Gs(i,t,!1),e[t]=Oi(i,t)}fe(dg,"overwriteMethod");var uK=typeof Object.setPrototypeOf=="function",bA=fe(function(){},"testFn"),cK=Object.getOwnPropertyNames(bA).filter(function(e){var t=Object.getOwnPropertyDescriptor(bA,e);return typeof t!="object"?!0:!t.configurable}),dK=Function.prototype.call,pK=Function.prototype.apply;function pg(e,t,r,n){typeof n!="function"&&(n=fe(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:fe(function(){o.chainingBehavior.call(this);var i=fe(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",i);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var c=new V;return Vr(this,c),c},"chainableMethodWrapper");if(Gs(i,t,!0),uK){var s=Object.create(this);s.call=dK,s.apply=pK,Object.setPrototypeOf(i,s)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(cK.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,c)}})}return Vr(this,i),Oi(i)},"chainableMethodGetter"),configurable:!0})}fe(pg,"addChainableMethod");function fg(e,t,r,n){var o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=fe(function(){var l=n(i).call(this);if(l!==void 0)return l;var u=new V;return Vr(this,u),u},"overwritingChainableMethodGetter");var s=o.method;o.method=fe(function(){var l=r(s).apply(this,arguments);if(l!==void 0)return l;var u=new V;return Vr(this,u),u},"overwritingChainableMethodWrapper")}fe(fg,"overwriteChainableMethod");function Du(e,t){return it(e)<it(t)?-1:1}fe(Du,"compareByInspect");function hg(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}fe(hg,"getOwnEnumerablePropertySymbols");function mg(e){return Object.keys(e).concat(hg(e))}fe(mg,"getOwnEnumerableProperties");function vT(e){return e!==e}fe(vT,"_isNaN");var Iu=Number.isNaN||vT;function ET(e){var t=vt(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}fe(ET,"isObjectType");function yg(e,t){var r=Qe(e,"operator"),n=Qe(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=ET(o);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}fe(yg,"getOperator");function sc(e){return e.name}fe(sc,"getName");function Mu(e){return Object.prototype.toString.call(e)==="[object RegExp]"}fe(Mu,"isRegExp");var{flag:ae}=on;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){V.addProperty(e)});V.addProperty("not",function(){ae(this,"negate",!0)});V.addProperty("deep",function(){ae(this,"deep",!0)});V.addProperty("nested",function(){ae(this,"nested",!0)});V.addProperty("own",function(){ae(this,"own",!0)});V.addProperty("ordered",function(){ae(this,"ordered",!0)});V.addProperty("any",function(){ae(this,"any",!0),ae(this,"all",!1)});V.addProperty("all",function(){ae(this,"all",!0),ae(this,"any",!1)});var gA={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function bg(e,t){t&&ae(this,"message",t),e=e.toLowerCase();var r=ae(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=vt(r).toLowerCase();gA.function.includes(e)?this.assert(gA[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}fe(bg,"an");V.addChainableMethod("an",bg);V.addChainableMethod("a",bg);function wT(e,t){return Iu(e)&&Iu(t)||e===t}fe(wT,"SameValueZero");function zs(){ae(this,"contains",!0)}fe(zs,"includeChainingBehavior");function Ws(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=vt(r).toLowerCase(),o=ae(this,"message"),i=ae(this,"negate"),s=ae(this,"ssfi"),l=ae(this,"deep"),u=l?"deep ":"",c=l?ae(this,"eql"):wT;o=o?o+": ":"";var d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new ht(o+"unable to use .deep.include with WeakSet",void 0,s);d=r.has(e);break;case"map":r.forEach(function(y){d=d||c(y,e)});break;case"set":l?r.forEach(function(y){d=d||c(y,e)}):d=r.has(e);break;case"array":l?d=r.some(function(y){return c(y,e)}):d=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new ht(o+"the given combination of arguments ("+n+" and "+vt(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+vt(e).toLowerCase(),void 0,s);var p=Object.keys(e),h=null,m=0;if(p.forEach(function(y){var g=new V(r);if(Vr(this,g,!0),ae(g,"lockSsfi",!0),!i||p.length===1){g.property(y,e[y]);return}try{g.property(y,e[y])}catch(E){if(!wr.compatibleConstructor(E,ht))throw E;h===null&&(h=E),m++}},this),i&&p.length>1&&m===p.length)throw h;return}this.assert(d,"expected #{this} to "+u+"include "+it(e),"expected #{this} to not "+u+"include "+it(e))}fe(Ws,"include");V.addChainableMethod("include",Ws,zs);V.addChainableMethod("contain",Ws,zs);V.addChainableMethod("contains",Ws,zs);V.addChainableMethod("includes",Ws,zs);V.addProperty("ok",function(){this.assert(ae(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});V.addProperty("true",function(){this.assert(ae(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!ae(this,"negate"))});V.addProperty("callable",function(){let e=ae(this,"object"),t=ae(this,"ssfi"),r=ae(this,"message"),n=r?`${r}: `:"",o=ae(this,"negate"),i=o?`${n}expected ${it(e)} not to be a callable function`:`${n}expected ${it(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(vt(e));if(s&&o||!s&&!o)throw new ht(i,void 0,t)});V.addProperty("false",function(){this.assert(ae(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!ae(this,"negate"))});V.addProperty("null",function(){this.assert(ae(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});V.addProperty("undefined",function(){this.assert(ae(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});V.addProperty("NaN",function(){this.assert(Iu(ae(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function gg(){var e=ae(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}fe(gg,"assertExist");V.addProperty("exist",gg);V.addProperty("exists",gg);V.addProperty("empty",function(){var e=ae(this,"object"),t=ae(this,"ssfi"),r=ae(this,"message"),n;switch(r=r?r+": ":"",vt(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new ht(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+sc(e);throw new ht(o.trim(),void 0,t);default:if(e!==Object(e))throw new ht(r+".empty was passed non-string primitive "+it(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function vg(){var e=ae(this,"object"),t=vt(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}fe(vg,"checkArguments");V.addProperty("arguments",vg);V.addProperty("Arguments",vg);function lc(e,t){t&&ae(this,"message",t);var r=ae(this,"object");if(ae(this,"deep")){var n=ae(this,"lockSsfi");ae(this,"lockSsfi",!0),this.eql(e),ae(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}fe(lc,"assertEqual");V.addMethod("equal",lc);V.addMethod("equals",lc);V.addMethod("eq",lc);function Eg(e,t){t&&ae(this,"message",t);var r=ae(this,"eql");this.assert(r(e,ae(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}fe(Eg,"assertEql");V.addMethod("eql",Eg);V.addMethod("eqls",Eg);function uc(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"doLength"),o=ae(this,"message"),i=o?o+": ":"",s=ae(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to above must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to above must be a number";else if(!n&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new ht(c,void 0,s);if(n){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m>e,"expected #{this} to have a "+h+" above #{exp} but got #{act}","expected #{this} to not have a "+h+" above #{exp}",e,m)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}fe(uc,"assertAbove");V.addMethod("above",uc);V.addMethod("gt",uc);V.addMethod("greaterThan",uc);function cc(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"doLength"),o=ae(this,"message"),i=o?o+": ":"",s=ae(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to least must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to least must be a number";else if(!n&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new ht(c,void 0,s);if(n){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,m)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}fe(cc,"assertLeast");V.addMethod("least",cc);V.addMethod("gte",cc);V.addMethod("greaterThanOrEqual",cc);function dc(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"doLength"),o=ae(this,"message"),i=o?o+": ":"",s=ae(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to below must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to below must be a number";else if(!n&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new ht(c,void 0,s);if(n){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,m)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}fe(dc,"assertBelow");V.addMethod("below",dc);V.addMethod("lt",dc);V.addMethod("lessThan",dc);function pc(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"doLength"),o=ae(this,"message"),i=o?o+": ":"",s=ae(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to most must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to most must be a number";else if(!n&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new ht(c,void 0,s);if(n){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,m)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}fe(pc,"assertMost");V.addMethod("most",pc);V.addMethod("lte",pc);V.addMethod("lessThanOrEqual",pc);V.addMethod("within",function(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"doLength"),i=ae(this,"message"),s=i?i+": ":"",l=ae(this,"ssfi"),u=vt(n).toLowerCase(),c=vt(e).toLowerCase(),d=vt(t).toLowerCase(),p,h=!0,m=c==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new V(n,i,l,!0).to.have.property("length"),!o&&u==="date"&&(c!=="date"||d!=="date"))p=s+"the arguments to within must be dates";else if((c!=="number"||d!=="number")&&(o||u==="number"))p=s+"the arguments to within must be numbers";else if(!o&&u!=="date"&&u!=="number"){var y=u==="string"?"'"+n+"'":n;p=s+"expected "+y+" to be a number or a date"}else h=!1;if(h)throw new ht(p,void 0,l);if(o){var g="length",E;u==="map"||u==="set"?(g="size",E=n.size):E=n.length,this.assert(E>=e&&E<=t,"expected #{this} to have a "+g+" within "+m,"expected #{this} to not have a "+g+" within "+m)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)});function wg(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"ssfi"),o=ae(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new ht(o+"The instanceof assertion needs a constructor but "+vt(e)+" was given.",void 0,n)):l}var s=sc(e);s==null&&(s="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}fe(wg,"assertInstanceOf");V.addMethod("instanceof",wg);V.addMethod("instanceOf",wg);function _g(e,t,r){r&&ae(this,"message",r);var n=ae(this,"nested"),o=ae(this,"own"),i=ae(this,"message"),s=ae(this,"object"),l=ae(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new ht(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ht(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new ht(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(s==null)throw new ht(i+"Target cannot be null or undefined.",void 0,l);var c=ae(this,"deep"),d=ae(this,"negate"),p=n?sg(s,e):null,h=n?p.value:s[e],m=c?ae(this,"eql"):(E,b)=>E===b,y="";c&&(y+="deep "),o&&(y+="own "),n&&(y+="nested "),y+="property ";var g;o?g=Object.prototype.hasOwnProperty.call(s,e):n?g=p.exists:g=ic(s,e),(!d||arguments.length===1)&&this.assert(g,"expected #{this} to have "+y+it(e),"expected #{this} to not have "+y+it(e)),arguments.length>1&&this.assert(g&&m(t,h),"expected #{this} to have "+y+it(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+y+it(e)+" of #{act}",t,h),ae(this,"object",h)}fe(_g,"assertProperty");V.addMethod("property",_g);function Sg(e,t,r){ae(this,"own",!0),_g.apply(this,arguments)}fe(Sg,"assertOwnProperty");V.addMethod("ownProperty",Sg);V.addMethod("haveOwnProperty",Sg);function Ag(e,t,r){typeof t=="string"&&(r=t,t=null),r&&ae(this,"message",r);var n=ae(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=ae(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+it(e)+" on #{this} to match "+it(t)+", got "+it(o),"expected the own property descriptor for "+it(e)+" on #{this} to not match "+it(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+it(e),"expected #{this} to not have an own property descriptor for "+it(e)),ae(this,"object",o)}fe(Ag,"assertOwnPropertyDescriptor");V.addMethod("ownPropertyDescriptor",Ag);V.addMethod("haveOwnPropertyDescriptor",Ag);function Cg(){ae(this,"doLength",!0)}fe(Cg,"assertLengthChain");function Rg(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=vt(r).toLowerCase(),o=ae(this,"message"),i=ae(this,"ssfi"),s="length",l;switch(n){case"map":case"set":s="size",l=r.size;break;default:new V(r,o,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,l)}fe(Rg,"assertLength");V.addChainableMethod("length",Rg,Cg);V.addChainableMethod("lengthOf",Rg,Cg);function Tg(e,t){t&&ae(this,"message",t);var r=ae(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}fe(Tg,"assertMatch");V.addMethod("match",Tg);V.addMethod("matches",Tg);V.addMethod("string",function(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"message"),o=ae(this,"ssfi");new V(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+it(e),"expected #{this} to not contain "+it(e))});function Og(e){var t=ae(this,"object"),r=vt(t),n=vt(e),o=ae(this,"ssfi"),i=ae(this,"deep"),s,l="",u,c=!0,d=ae(this,"message");d=d?d+": ":"";var p=d+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=i?"deeply ":"",u=[],t.forEach(function(w,P){u.push(P)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=mg(t),n){case"Array":if(arguments.length>1)throw new ht(p,void 0,o);break;case"Object":if(arguments.length>1)throw new ht(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(w){return typeof w=="symbol"?w:String(w)})}if(!e.length)throw new ht(d+"keys required",void 0,o);var h=e.length,m=ae(this,"any"),y=ae(this,"all"),g=e,E=i?ae(this,"eql"):(w,P)=>w===P;if(!m&&!y&&(y=!0),m&&(c=g.some(function(w){return u.some(function(P){return E(w,P)})})),y&&(c=g.every(function(w){return u.some(function(P){return E(w,P)})}),ae(this,"contains")||(c=c&&e.length==u.length)),h>1){e=e.map(function(w){return it(w)});var b=e.pop();y&&(s=e.join(", ")+", and "+b),m&&(s=e.join(", ")+", or "+b)}else s=it(e[0]);s=(h>1?"keys ":"key ")+s,s=(ae(this,"contains")?"contain ":"have ")+s,this.assert(c,"expected #{this} to "+l+s,"expected #{this} to not "+l+s,g.slice(0).sort(Du),u.sort(Du),!0)}fe(Og,"assertKeys");V.addMethod("keys",Og);V.addMethod("key",Og);function fc(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"ssfi"),i=ae(this,"message"),s=ae(this,"negate")||!1;new V(n,i,o,!0).is.a("function"),(Mu(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(w){u=!0,l=w}var c=e===void 0&&t===void 0,d=!!(e&&t),p=!1,h=!1;if(c||!c&&!s){var m="an error";e instanceof Error?m="#{exp}":e&&(m=wr.getConstructorName(e));let w=l;if(l instanceof Error)w=l.toString();else if(typeof l=="string")w=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{w=wr.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+m,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),w)}if(e&&l){if(e instanceof Error){var y=wr.compatibleInstance(l,e);y===s&&(d&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!s?" but #{act} was thrown":""),e.toString(),l.toString()))}var g=wr.compatibleConstructor(l,e);g===s&&(d&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&wr.getConstructorName(e),l instanceof Error?l.toString():l&&wr.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var E="including";Mu(t)&&(E="matching");var b=wr.compatibleMessage(l,t);b===s&&(d&&s?h=!0:this.assert(s,"expected #{this} to throw error "+E+" #{exp} but got #{act}","expected #{this} to throw error not "+E+" #{exp}",t,wr.getMessage(l)))}p&&h&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&wr.getConstructorName(e),l instanceof Error?l.toString():l&&wr.getConstructorName(l)),ae(this,"object",l)}fe(fc,"assertThrows");V.addMethod("throw",fc);V.addMethod("throws",fc);V.addMethod("Throw",fc);function Pg(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+it(e),"expected #{this} to not respond to "+it(e))}fe(Pg,"respondTo");V.addMethod("respondTo",Pg);V.addMethod("respondsTo",Pg);V.addProperty("itself",function(){ae(this,"itself",!0)});function xg(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Fo(e),"expected #{this} to not satisfy"+Fo(e),!ae(this,"negate"),n)}fe(xg,"satisfy");V.addMethod("satisfy",xg);V.addMethod("satisfies",xg);function qg(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"message"),i=ae(this,"ssfi");if(new V(n,o,i,!0).is.a("number"),typeof e!="number"||typeof t!="number"){o=o?o+": ":"";var s=t===void 0?", and a delta is required":"";throw new ht(o+"the arguments to closeTo or approximately must be numbers"+s,void 0,i)}this.assert(Math.abs(n-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}fe(qg,"closeTo");V.addMethod("closeTo",qg);V.addMethod("approximately",qg);function _T(e,t,r,n,o){let i=Array.from(t),s=Array.from(e);if(!n){if(s.length!==i.length)return!1;i=i.slice()}return s.every(function(l,u){if(o)return r?r(l,i[u]):l===i[u];if(!r){var c=i.indexOf(l);return c===-1?!1:(n||i.splice(c,1),!0)}return i.some(function(d,p){return r(l,d)?(n||i.splice(p,1),!0):!1})})}fe(_T,"isSubsetOf");V.addMethod("members",function(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"message"),o=ae(this,"ssfi");new V(r,n,o,!0).to.be.iterable,new V(e,n,o,!0).to.be.iterable;var i=ae(this,"contains"),s=ae(this,"ordered"),l,u,c;i?(l=s?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=s?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var d=ae(this,"deep")?ae(this,"eql"):void 0;this.assert(_T(e,r,d,i,s),u,c,e,r,!0)});V.addProperty("iterable",function(e){e&&ae(this,"message",e);var t=ae(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function ST(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"message"),o=ae(this,"ssfi"),i=ae(this,"contains"),s=ae(this,"deep"),l=ae(this,"eql");new V(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}fe(ST,"oneOf");V.addMethod("oneOf",ST);function Dg(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"message"),i=ae(this,"ssfi");new V(n,o,i,!0).is.a("function");var s;t?(new V(e,o,i,!0).to.have.property(t),s=e[t]):(new V(e,o,i,!0).is.a("function"),s=e()),n();var l=t==null?e():e[t],u=t==null?s:"."+t;ae(this,"deltaMsgObj",u),ae(this,"initialDeltaValue",s),ae(this,"finalDeltaValue",l),ae(this,"deltaBehavior","change"),ae(this,"realDelta",l!==s),this.assert(s!==l,"expected "+u+" to change","expected "+u+" to not change")}fe(Dg,"assertChanges");V.addMethod("change",Dg);V.addMethod("changes",Dg);function Ig(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"message"),i=ae(this,"ssfi");new V(n,o,i,!0).is.a("function");var s;t?(new V(e,o,i,!0).to.have.property(t),s=e[t]):(new V(e,o,i,!0).is.a("function"),s=e()),new V(s,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?s:"."+t;ae(this,"deltaMsgObj",u),ae(this,"initialDeltaValue",s),ae(this,"finalDeltaValue",l),ae(this,"deltaBehavior","increase"),ae(this,"realDelta",l-s),this.assert(l-s>0,"expected "+u+" to increase","expected "+u+" to not increase")}fe(Ig,"assertIncreases");V.addMethod("increase",Ig);V.addMethod("increases",Ig);function Mg(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"message"),i=ae(this,"ssfi");new V(n,o,i,!0).is.a("function");var s;t?(new V(e,o,i,!0).to.have.property(t),s=e[t]):(new V(e,o,i,!0).is.a("function"),s=e()),new V(s,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?s:"."+t;ae(this,"deltaMsgObj",u),ae(this,"initialDeltaValue",s),ae(this,"finalDeltaValue",l),ae(this,"deltaBehavior","decrease"),ae(this,"realDelta",s-l),this.assert(l-s<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}fe(Mg,"assertDecreases");V.addMethod("decrease",Mg);V.addMethod("decreases",Mg);function AT(e,t){t&&ae(this,"message",t);var r=ae(this,"deltaMsgObj"),n=ae(this,"initialDeltaValue"),o=ae(this,"finalDeltaValue"),i=ae(this,"deltaBehavior"),s=ae(this,"realDelta"),l;i==="change"?l=Math.abs(o-n)===Math.abs(e):l=s===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}fe(AT,"assertDelta");V.addMethod("by",AT);V.addProperty("extensible",function(){var e=ae(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});V.addProperty("sealed",function(){var e=ae(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});V.addProperty("frozen",function(){var e=ae(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});V.addProperty("finite",function(e){var t=ae(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Lo(e,t){return new V(e,t)}fe(Lo,"expect");Lo.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ht(r,{actual:e,expected:t,operator:n},Lo.fail)};var CT={};eg(CT,{Should:()=>hK,should:()=>fK});function Ng(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new V(this.valueOf(),null,e):new V(this,null,e)}fe(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}fe(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,i,s){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new ht(i,{actual:n,expected:o,operator:s},r.fail)},r.equal=function(n,o,i){new V(n,i).to.equal(o)},r.Throw=function(n,o,i,s){new V(n,s).to.Throw(o,i)},r.exist=function(n,o){new V(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new V(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,s){new V(n,s).to.not.Throw(o,i)},r.not.exist=function(n,o){new V(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}fe(Ng,"loadShould");var fK=Ng,hK=Ng;function U(e,t){var r=new V(null,null,U,!0);r.assert(e,t,"[ negation message unavailable ]")}fe(U,"assert");U.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ht(r,{actual:e,expected:t,operator:n},U.fail)};U.isOk=function(e,t){new V(e,t,U.isOk,!0).is.ok};U.isNotOk=function(e,t){new V(e,t,U.isNotOk,!0).is.not.ok};U.equal=function(e,t,r){var n=new V(e,r,U.equal,!0);n.assert(t==Qe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};U.notEqual=function(e,t,r){var n=new V(e,r,U.notEqual,!0);n.assert(t!=Qe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};U.strictEqual=function(e,t,r){new V(e,r,U.strictEqual,!0).to.equal(t)};U.notStrictEqual=function(e,t,r){new V(e,r,U.notStrictEqual,!0).to.not.equal(t)};U.deepEqual=U.deepStrictEqual=function(e,t,r){new V(e,r,U.deepEqual,!0).to.eql(t)};U.notDeepEqual=function(e,t,r){new V(e,r,U.notDeepEqual,!0).to.not.eql(t)};U.isAbove=function(e,t,r){new V(e,r,U.isAbove,!0).to.be.above(t)};U.isAtLeast=function(e,t,r){new V(e,r,U.isAtLeast,!0).to.be.least(t)};U.isBelow=function(e,t,r){new V(e,r,U.isBelow,!0).to.be.below(t)};U.isAtMost=function(e,t,r){new V(e,r,U.isAtMost,!0).to.be.most(t)};U.isTrue=function(e,t){new V(e,t,U.isTrue,!0).is.true};U.isNotTrue=function(e,t){new V(e,t,U.isNotTrue,!0).to.not.equal(!0)};U.isFalse=function(e,t){new V(e,t,U.isFalse,!0).is.false};U.isNotFalse=function(e,t){new V(e,t,U.isNotFalse,!0).to.not.equal(!1)};U.isNull=function(e,t){new V(e,t,U.isNull,!0).to.equal(null)};U.isNotNull=function(e,t){new V(e,t,U.isNotNull,!0).to.not.equal(null)};U.isNaN=function(e,t){new V(e,t,U.isNaN,!0).to.be.NaN};U.isNotNaN=function(e,t){new V(e,t,U.isNotNaN,!0).not.to.be.NaN};U.exists=function(e,t){new V(e,t,U.exists,!0).to.exist};U.notExists=function(e,t){new V(e,t,U.notExists,!0).to.not.exist};U.isUndefined=function(e,t){new V(e,t,U.isUndefined,!0).to.equal(void 0)};U.isDefined=function(e,t){new V(e,t,U.isDefined,!0).to.not.equal(void 0)};U.isCallable=function(e,t){new V(e,t,U.isCallable,!0).is.callable};U.isNotCallable=function(e,t){new V(e,t,U.isNotCallable,!0).is.not.callable};U.isObject=function(e,t){new V(e,t,U.isObject,!0).to.be.a("object")};U.isNotObject=function(e,t){new V(e,t,U.isNotObject,!0).to.not.be.a("object")};U.isArray=function(e,t){new V(e,t,U.isArray,!0).to.be.an("array")};U.isNotArray=function(e,t){new V(e,t,U.isNotArray,!0).to.not.be.an("array")};U.isString=function(e,t){new V(e,t,U.isString,!0).to.be.a("string")};U.isNotString=function(e,t){new V(e,t,U.isNotString,!0).to.not.be.a("string")};U.isNumber=function(e,t){new V(e,t,U.isNumber,!0).to.be.a("number")};U.isNotNumber=function(e,t){new V(e,t,U.isNotNumber,!0).to.not.be.a("number")};U.isFinite=function(e,t){new V(e,t,U.isFinite,!0).to.be.finite};U.isBoolean=function(e,t){new V(e,t,U.isBoolean,!0).to.be.a("boolean")};U.isNotBoolean=function(e,t){new V(e,t,U.isNotBoolean,!0).to.not.be.a("boolean")};U.typeOf=function(e,t,r){new V(e,r,U.typeOf,!0).to.be.a(t)};U.notTypeOf=function(e,t,r){new V(e,r,U.notTypeOf,!0).to.not.be.a(t)};U.instanceOf=function(e,t,r){new V(e,r,U.instanceOf,!0).to.be.instanceOf(t)};U.notInstanceOf=function(e,t,r){new V(e,r,U.notInstanceOf,!0).to.not.be.instanceOf(t)};U.include=function(e,t,r){new V(e,r,U.include,!0).include(t)};U.notInclude=function(e,t,r){new V(e,r,U.notInclude,!0).not.include(t)};U.deepInclude=function(e,t,r){new V(e,r,U.deepInclude,!0).deep.include(t)};U.notDeepInclude=function(e,t,r){new V(e,r,U.notDeepInclude,!0).not.deep.include(t)};U.nestedInclude=function(e,t,r){new V(e,r,U.nestedInclude,!0).nested.include(t)};U.notNestedInclude=function(e,t,r){new V(e,r,U.notNestedInclude,!0).not.nested.include(t)};U.deepNestedInclude=function(e,t,r){new V(e,r,U.deepNestedInclude,!0).deep.nested.include(t)};U.notDeepNestedInclude=function(e,t,r){new V(e,r,U.notDeepNestedInclude,!0).not.deep.nested.include(t)};U.ownInclude=function(e,t,r){new V(e,r,U.ownInclude,!0).own.include(t)};U.notOwnInclude=function(e,t,r){new V(e,r,U.notOwnInclude,!0).not.own.include(t)};U.deepOwnInclude=function(e,t,r){new V(e,r,U.deepOwnInclude,!0).deep.own.include(t)};U.notDeepOwnInclude=function(e,t,r){new V(e,r,U.notDeepOwnInclude,!0).not.deep.own.include(t)};U.match=function(e,t,r){new V(e,r,U.match,!0).to.match(t)};U.notMatch=function(e,t,r){new V(e,r,U.notMatch,!0).to.not.match(t)};U.property=function(e,t,r){new V(e,r,U.property,!0).to.have.property(t)};U.notProperty=function(e,t,r){new V(e,r,U.notProperty,!0).to.not.have.property(t)};U.propertyVal=function(e,t,r,n){new V(e,n,U.propertyVal,!0).to.have.property(t,r)};U.notPropertyVal=function(e,t,r,n){new V(e,n,U.notPropertyVal,!0).to.not.have.property(t,r)};U.deepPropertyVal=function(e,t,r,n){new V(e,n,U.deepPropertyVal,!0).to.have.deep.property(t,r)};U.notDeepPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};U.ownProperty=function(e,t,r){new V(e,r,U.ownProperty,!0).to.have.own.property(t)};U.notOwnProperty=function(e,t,r){new V(e,r,U.notOwnProperty,!0).to.not.have.own.property(t)};U.ownPropertyVal=function(e,t,r,n){new V(e,n,U.ownPropertyVal,!0).to.have.own.property(t,r)};U.notOwnPropertyVal=function(e,t,r,n){new V(e,n,U.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};U.deepOwnPropertyVal=function(e,t,r,n){new V(e,n,U.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};U.notDeepOwnPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};U.nestedProperty=function(e,t,r){new V(e,r,U.nestedProperty,!0).to.have.nested.property(t)};U.notNestedProperty=function(e,t,r){new V(e,r,U.notNestedProperty,!0).to.not.have.nested.property(t)};U.nestedPropertyVal=function(e,t,r,n){new V(e,n,U.nestedPropertyVal,!0).to.have.nested.property(t,r)};U.notNestedPropertyVal=function(e,t,r,n){new V(e,n,U.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};U.deepNestedPropertyVal=function(e,t,r,n){new V(e,n,U.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};U.notDeepNestedPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};U.lengthOf=function(e,t,r){new V(e,r,U.lengthOf,!0).to.have.lengthOf(t)};U.hasAnyKeys=function(e,t,r){new V(e,r,U.hasAnyKeys,!0).to.have.any.keys(t)};U.hasAllKeys=function(e,t,r){new V(e,r,U.hasAllKeys,!0).to.have.all.keys(t)};U.containsAllKeys=function(e,t,r){new V(e,r,U.containsAllKeys,!0).to.contain.all.keys(t)};U.doesNotHaveAnyKeys=function(e,t,r){new V(e,r,U.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};U.doesNotHaveAllKeys=function(e,t,r){new V(e,r,U.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};U.hasAnyDeepKeys=function(e,t,r){new V(e,r,U.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};U.hasAllDeepKeys=function(e,t,r){new V(e,r,U.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};U.containsAllDeepKeys=function(e,t,r){new V(e,r,U.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};U.doesNotHaveAnyDeepKeys=function(e,t,r){new V(e,r,U.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};U.doesNotHaveAllDeepKeys=function(e,t,r){new V(e,r,U.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};U.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new V(e,n,U.throws,!0).to.throw(t,r);return Qe(o,"object")};U.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new V(e,n,U.doesNotThrow,!0).to.not.throw(t,r)};U.operator=function(e,t,r,n){var o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new ht(n+'Invalid operator "'+t+'"',void 0,U.operator)}var i=new V(o,n,U.operator,!0);i.assert(Qe(i,"object")===!0,"expected "+it(e)+" to be "+t+" "+it(r),"expected "+it(e)+" to not be "+t+" "+it(r))};U.closeTo=function(e,t,r,n){new V(e,n,U.closeTo,!0).to.be.closeTo(t,r)};U.approximately=function(e,t,r,n){new V(e,n,U.approximately,!0).to.be.approximately(t,r)};U.sameMembers=function(e,t,r){new V(e,r,U.sameMembers,!0).to.have.same.members(t)};U.notSameMembers=function(e,t,r){new V(e,r,U.notSameMembers,!0).to.not.have.same.members(t)};U.sameDeepMembers=function(e,t,r){new V(e,r,U.sameDeepMembers,!0).to.have.same.deep.members(t)};U.notSameDeepMembers=function(e,t,r){new V(e,r,U.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};U.sameOrderedMembers=function(e,t,r){new V(e,r,U.sameOrderedMembers,!0).to.have.same.ordered.members(t)};U.notSameOrderedMembers=function(e,t,r){new V(e,r,U.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};U.sameDeepOrderedMembers=function(e,t,r){new V(e,r,U.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};U.notSameDeepOrderedMembers=function(e,t,r){new V(e,r,U.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};U.includeMembers=function(e,t,r){new V(e,r,U.includeMembers,!0).to.include.members(t)};U.notIncludeMembers=function(e,t,r){new V(e,r,U.notIncludeMembers,!0).to.not.include.members(t)};U.includeDeepMembers=function(e,t,r){new V(e,r,U.includeDeepMembers,!0).to.include.deep.members(t)};U.notIncludeDeepMembers=function(e,t,r){new V(e,r,U.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};U.includeOrderedMembers=function(e,t,r){new V(e,r,U.includeOrderedMembers,!0).to.include.ordered.members(t)};U.notIncludeOrderedMembers=function(e,t,r){new V(e,r,U.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};U.includeDeepOrderedMembers=function(e,t,r){new V(e,r,U.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};U.notIncludeDeepOrderedMembers=function(e,t,r){new V(e,r,U.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};U.oneOf=function(e,t,r){new V(e,r,U.oneOf,!0).to.be.oneOf(t)};U.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${it(e)} to be an iterable`:`expected ${it(e)} to be an iterable`,new ht(t,void 0,U.isIterable)};U.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.changes,!0).to.change(t,r)};U.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.changesBy,!0).to.change(t,r).by(n)};U.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotChange,!0).to.not.change(t,r)};U.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.changesButNotBy,!0).to.change(t,r).but.not.by(n)};U.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.increases,!0).to.increase(t,r)};U.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.increasesBy,!0).to.increase(t,r).by(n)};U.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotIncrease,!0).to.not.increase(t,r)};U.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};U.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.decreases,!0).to.decrease(t,r)};U.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.decreasesBy,!0).to.decrease(t,r).by(n)};U.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotDecrease,!0).to.not.decrease(t,r)};U.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new V(e,o,U.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};U.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};U.ifError=function(e){if(e)throw e};U.isExtensible=function(e,t){new V(e,t,U.isExtensible,!0).to.be.extensible};U.isNotExtensible=function(e,t){new V(e,t,U.isNotExtensible,!0).to.not.be.extensible};U.isSealed=function(e,t){new V(e,t,U.isSealed,!0).to.be.sealed};U.isNotSealed=function(e,t){new V(e,t,U.isNotSealed,!0).to.not.be.sealed};U.isFrozen=function(e,t){new V(e,t,U.isFrozen,!0).to.be.frozen};U.isNotFrozen=function(e,t){new V(e,t,U.isNotFrozen,!0).to.not.be.frozen};U.isEmpty=function(e,t){new V(e,t,U.isEmpty,!0).to.be.empty};U.isNotEmpty=function(e,t){new V(e,t,U.isNotEmpty,!0).to.not.be.empty};fe(function e(t,r){return U[r]=U[t],e},"alias")("isOk","ok")("isNotOk","notOk")("throws","throw")("throws","Throw")("isExtensible","extensible")("isNotExtensible","notExtensible")("isSealed","sealed")("isNotSealed","notSealed")("isFrozen","frozen")("isNotFrozen","notFrozen")("isEmpty","empty")("isNotEmpty","notEmpty")("isCallable","isFunction")("isNotCallable","isNotFunction");var vA=[];function _s(e){let t={AssertionError:ht,util:on,config:yr,expect:Lo,assert:U,Assertion:V,...CT};return~vA.indexOf(e)||(e(t,on),vA.push(e)),t}fe(_s,"use");var RT={};Ju(RT,{toBeChecked:()=>hO,toBeDisabled:()=>iO,toBeEmpty:()=>GT,toBeEmptyDOMElement:()=>zT,toBeEnabled:()=>sO,toBeInTheDOM:()=>fb,toBeInTheDocument:()=>VT,toBeInvalid:()=>cO,toBePartiallyChecked:()=>yO,toBeRequired:()=>lO,toBeValid:()=>dO,toBeVisible:()=>tO,toContainElement:()=>hb,toContainHTML:()=>WT,toHaveAccessibleDescription:()=>mb,toHaveAccessibleErrorMessage:()=>KT,toHaveAccessibleName:()=>bb,toHaveAttribute:()=>JT,toHaveClass:()=>XT,toHaveDescription:()=>bO,toHaveDisplayValue:()=>fO,toHaveErrorMessage:()=>gO,toHaveFocus:()=>QT,toHaveFormValues:()=>ZT,toHaveRole:()=>yb,toHaveStyle:()=>gb,toHaveTextContent:()=>YT,toHaveValue:()=>pO});var EA=Sr(ER(),1);function TT(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Bg(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var OT={};TT(OT);Bg(OT,"default",()=>PT);var PT=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},xT={};TT(xT);Bg(xT,"default",()=>qT);var qT=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},mK={};Bg(mK,"CssTypes",()=>Nt);var Nt;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Nt||(Nt={}));var Iy=/\/\*[^]*?(?:\*\/|$)/g,yK=(e,t)=>{t=t||{};let r=1,n=1;function o(ye){let de=ye.match(/\n/g);de&&(r+=de.length);let Ee=ye.lastIndexOf(`
271
+ `);n=~Ee?ye.length-Ee:n+ye.length}function i(){let ye={line:r,column:n};return function(de){return de.position=new qT(ye,{line:r,column:n},t?.source||""),m(),de}}let s=[];function l(ye){let de=new PT(t?.source||"",ye,r,n,e);if(t?.silent)s.push(de);else throw de}function u(){let ye=p();return{type:Nt.stylesheet,stylesheet:{source:t?.source,rules:ye,parsingErrors:s}}}function c(){return h(/^{\s*/)}function d(){return h(/^}/)}function p(){let ye,de=[];for(m(),y(de);e.length&&e.charAt(0)!=="}"&&(ye=Ne()||De());)ye&&(de.push(ye),y(de));return de}function h(ye){let de=ye.exec(e);if(!de)return;let Ee=de[0];return o(Ee),e=e.slice(Ee.length),de}function m(){h(/^\s*/)}function y(ye){let de;for(ye=ye||[];de=g();)de&&ye.push(de);return ye}function g(){let ye=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let de=h(/^\/\*[^]*?\*\//);return de?ye({type:Nt.comment,comment:de[0].slice(2,-2)}):l("End of comment missing")}function E(ye,de,Ee){let Oe=de+1,ke=!1,Fe=ye.indexOf(")",Oe);for(;!ke&&Fe!==-1;){let ze=ye.indexOf("(",Oe);ze!==-1&&ze<Fe?(Oe=E(ye,ze+1,Ee+1)+1,Fe=ye.indexOf(")",Oe)):ke=!0}return ke&&Fe!==-1?Fe:-1}function b(){let ye=h(/^([^{]+)/);if(!ye)return;let de=Tr(ye[0]).replace(Iy,"");if(de.indexOf(",")===-1)return[de];let Ee=0,Oe=de.indexOf("(",Ee);for(;Oe!==-1;){let ke=E(de,Oe,0);if(ke===-1)break;Ee=ke+1,de=de.substring(0,Oe)+de.substring(Oe,ke).replace(/,/g,"\u200C")+de.substring(ke),Oe=de.indexOf("(",Ee)}return de=de.replace(/("|')(?:\\\1|.)*?\1/g,ke=>ke.replace(/,/g,"\u200C")),de.split(",").map(ke=>Tr(ke.replace(/\u200C/g,",")))}function w(){let ye=i(),de=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!de)return;let Ee=Tr(de[0]);if(!h(/^:\s*/))return l("property missing ':'");let Oe=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),ke=ye({type:Nt.declaration,property:Ee.replace(Iy,""),value:Oe?Tr(Oe[0]).replace(Iy,""):""});return h(/^[;\s]*/),ke}function P(){let ye=[];if(!c())return l("missing '{'");y(ye);let de;for(;de=w();)de&&(ye.push(de),y(ye));return d()?ye:l("missing '}'")}function A(){let ye,de=[],Ee=i();for(;ye=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)de.push(ye[1]),h(/^,\s*/);if(de.length)return Ee({type:Nt.keyframe,values:de,declarations:P()||[]})}function S(){let ye=i(),de=h(/^@([-\w]+)?keyframes\s*/);if(!de)return;let Ee=de[1],Oe=h(/^([-\w]+)\s*/);if(!Oe)return l("@keyframes missing name");let ke=Oe[1];if(!c())return l("@keyframes missing '{'");let Fe,ze=y();for(;Fe=A();)ze.push(Fe),ze=ze.concat(y());return d()?ye({type:Nt.keyframes,name:ke,vendor:Ee,keyframes:ze}):l("@keyframes missing '}'")}function T(){let ye=i(),de=h(/^@supports *([^{]+)/);if(!de)return;let Ee=Tr(de[1]);if(!c())return l("@supports missing '{'");let Oe=y().concat(p());return d()?ye({type:Nt.supports,supports:Ee,rules:Oe}):l("@supports missing '}'")}function C(){let ye=i();if(!h(/^@host\s*/))return;if(!c())return l("@host missing '{'");let de=y().concat(p());return d()?ye({type:Nt.host,rules:de}):l("@host missing '}'")}function O(){let ye=i(),de=h(/^@container *([^{]+)/);if(!de)return;let Ee=Tr(de[1]);if(!c())return l("@container missing '{'");let Oe=y().concat(p());return d()?ye({type:Nt.container,container:Ee,rules:Oe}):l("@container missing '}'")}function I(){let ye=i(),de=h(/^@layer *([^{;@]+)/);if(!de)return;let Ee=Tr(de[1]);if(!c())return h(/^[;\s]*/),ye({type:Nt.layer,layer:Ee});let Oe=y().concat(p());return d()?ye({type:Nt.layer,layer:Ee,rules:Oe}):l("@layer missing '}'")}function W(){let ye=i(),de=h(/^@media *([^{]+)/);if(!de)return;let Ee=Tr(de[1]);if(!c())return l("@media missing '{'");let Oe=y().concat(p());return d()?ye({type:Nt.media,media:Ee,rules:Oe}):l("@media missing '}'")}function X(){let ye=i(),de=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(de)return ye({type:Nt.customMedia,name:Tr(de[1]),media:Tr(de[2])})}function Y(){let ye=i();if(!h(/^@page */))return;let de=b()||[];if(!c())return l("@page missing '{'");let Ee=y(),Oe;for(;Oe=w();)Ee.push(Oe),Ee=Ee.concat(y());return d()?ye({type:Nt.page,selectors:de,declarations:Ee}):l("@page missing '}'")}function K(){let ye=i(),de=h(/^@([-\w]+)?document *([^{]+)/);if(!de)return;let Ee=Tr(de[1]),Oe=Tr(de[2]);if(!c())return l("@document missing '{'");let ke=y().concat(p());return d()?ye({type:Nt.document,document:Oe,vendor:Ee,rules:ke}):l("@document missing '}'")}function _(){let ye=i();if(!h(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let de=y(),Ee;for(;Ee=w();)de.push(Ee),de=de.concat(y());return d()?ye({type:Nt.fontFace,declarations:de}):l("@font-face missing '}'")}function x(){let ye=i();if(!h(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let de=y().concat(p());return d()?ye({type:Nt.startingStyle,rules:de}):l("@starting-style missing '}'")}let N=Re("import"),le=Re("charset"),ce=Re("namespace");function Re(ye){let de=new RegExp("^@"+ye+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let Ee=i(),Oe=h(de);if(!Oe)return;let ke={type:ye};return ke[ye]=Oe[1].trim(),Ee(ke)}}function Ne(){if(e[0]==="@")return S()||W()||X()||T()||N()||le()||ce()||K()||Y()||C()||_()||O()||x()||I()}function De(){let ye=i(),de=b();return de?(y(),ye({type:Nt.rule,selectors:de,declarations:P()||[]})):l("selector missing")}return db(u())};function Tr(e){return e?e.trim():""}function db(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(s=>{db(s,n)}):i&&typeof i=="object"&&db(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var bK=yK,gK=bK,vK=Object.prototype.toString;function wA(e){return typeof e=="function"||vK.call(e)==="[object Function]"}function EK(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var wK=Math.pow(2,53)-1;function _K(e){var t=EK(e);return Math.min(Math.max(t,0),wK)}function $r(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!wA(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=_K(n.length),i=wA(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function Rs(e){"@babel/helpers - typeof";return Rs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rs(e)}function SK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,DT(n.key),n)}}function AK(e,t,r){return t&&_A(e.prototype,t),r&&_A(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function CK(e,t,r){return t=DT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DT(e){var t=RK(e,"string");return Rs(t)==="symbol"?t:String(t)}function RK(e,t){if(Rs(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Rs(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var TK=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];SK(this,e),CK(this,"items",void 0),this.items=t}return AK(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),OK=typeof Set>"u"?Set:TK;function ir(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var PK={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},xK={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function qK(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=xK[t])!==null&&n!==void 0&&n.has(r))})}function IT(e,t){return qK(e,t)}function DK(e){var t=MK(e);if(t===null||pb.indexOf(t)!==-1){var r=IK(e);if(pb.indexOf(t||"")===-1||IT(e,r||""))return r}return t}function IK(e){var t=PK[ir(e)];if(t!==void 0)return t;switch(ir(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!IT(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function MK(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var pb=["presentation","none"];function _t(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function MT(e){return _t(e)&&ir(e)==="caption"}function wu(e){return _t(e)&&ir(e)==="input"}function NK(e){return _t(e)&&ir(e)==="optgroup"}function BK(e){return _t(e)&&ir(e)==="select"}function jK(e){return _t(e)&&ir(e)==="table"}function FK(e){return _t(e)&&ir(e)==="textarea"}function LK(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function kK(e){return _t(e)&&ir(e)==="fieldset"}function $K(e){return _t(e)&&ir(e)==="legend"}function UK(e){return _t(e)&&ir(e)==="slot"}function HK(e){return _t(e)&&e.ownerSVGElement!==void 0}function VK(e){return _t(e)&&ir(e)==="svg"}function GK(e){return HK(e)&&ir(e)==="title"}function Nu(e,t){if(_t(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function yn(e,t){return _t(e)?t.indexOf(DK(e))!==-1:!1}function zK(e){return e.trim().replace(/\s\s+/g," ")}function WK(e,t){if(!_t(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function YK(e){return yn(e,["button","combobox","listbox","textbox"])||NT(e,"range")}function NT(e,t){if(!_t(e))return!1;switch(t){case"range":return yn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function SA(e,t){var r=$r(e.querySelectorAll(t));return Nu(e,"aria-owns").forEach(function(n){r.push.apply(r,$r(n.querySelectorAll(t)))}),r}function KK(e){return BK(e)?e.selectedOptions||SA(e,"[selected]"):SA(e,'[aria-selected="true"]')}function JK(e){return yn(e,pb)}function XK(e){return MT(e)}function QK(e){return yn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function ZK(e){return!1}function eJ(e){return wu(e)||FK(e)?e.value:e.textContent||""}function AA(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function BT(e){var t=ir(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function jT(e){if(BT(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&_t(r)){var n=jT(r);n!==null&&(t=n)}}),t}function tJ(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):jT(e)}function rJ(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return $r(t);if(!BT(e))return null;var r=e.ownerDocument;return $r(r.querySelectorAll("label")).filter(function(n){return tJ(n)===e})}function nJ(e){var t=e.assignedNodes();return t.length===0?$r(e.childNodes):t}function FT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new OK,n=LK(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,d=t.hidden,p=d===void 0?!1:d;function h(b,w){var P="";if(_t(b)&&l){var A=c(b,"::before"),S=AA(A);P="".concat(S," ").concat(P)}var T=UK(b)?nJ(b):$r(b.childNodes).concat(Nu(b,"aria-owns"));if(T.forEach(function(I){var W=E(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=_t(I)?c(I).getPropertyValue("display"):"inline",Y=X!=="inline"?" ":"";P+="".concat(Y).concat(W).concat(Y)}),_t(b)&&l){var C=c(b,"::after"),O=AA(C);P="".concat(P," ").concat(O)}return P.trim()}function m(b,w){var P=b.getAttributeNode(w);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}function y(b){return _t(b)?m(b,"title"):null}function g(b){if(!_t(b))return null;if(kK(b)){r.add(b);for(var w=$r(b.childNodes),P=0;P<w.length;P+=1){var A=w[P];if($K(A))return E(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(jK(b)){r.add(b);for(var S=$r(b.childNodes),T=0;T<S.length;T+=1){var C=S[T];if(MT(C))return E(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(VK(b)){r.add(b);for(var O=$r(b.childNodes),I=0;I<O.length;I+=1){var W=O[I];if(GK(W))return W.textContent}return null}else if(ir(b)==="img"||ir(b)==="area"){var X=m(b,"alt");if(X!==null)return X}else if(NK(b)){var Y=m(b,"label");if(Y!==null)return Y}if(wu(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var K=m(b,"value");if(K!==null)return K;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var _=rJ(b);if(_!==null&&_.length!==0)return r.add(b),$r(_).map(function(ce){return E(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(wu(b)&&b.type==="image"){var x=m(b,"alt");if(x!==null)return x;var N=m(b,"title");return N!==null?N:"Submit Query"}if(yn(b,["button"])){var le=h(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(le!=="")return le}return null}function E(b,w){if(r.has(b))return"";if(!p&&WK(b,c)&&!w.isReferenced)return r.add(b),"";var P=_t(b)?b.getAttributeNode("aria-labelledby"):null,A=P!==null&&!r.has(P)?Nu(b,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&A.length>0)return r.add(P),A.map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=w.recursion&&YK(b)&&i==="name";if(!S){var T=(_t(b)&&b.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(b),T;if(!JK(b)){var C=g(b);if(C!==null)return r.add(b),C}}if(yn(b,["menu"]))return r.add(b),"";if(S||w.isEmbeddedInLabel||w.isReferenced){if(yn(b,["combobox","listbox"])){r.add(b);var O=KK(b);return O.length===0?wu(b)?b.value:"":$r(O).map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(NT(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(yn(b,["textbox"]))return r.add(b),eJ(b)}if(QK(b)||_t(b)&&w.isReferenced||XK(b)||ZK(b)){var I=h(b,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(I!=="")return r.add(b),I}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(w.recursion)return r.add(b),h(b,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var W=y(b);return W!==null?(r.add(b),W):(r.add(b),"")}return zK(E(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Ts(e){"@babel/helpers - typeof";return Ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ts(e)}function CA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function RA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?CA(Object(r),!0).forEach(function(n){oJ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):CA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oJ(e,t,r){return t=aJ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aJ(e){var t=iJ(e,"string");return Ts(t)==="symbol"?t:String(t)}function iJ(e,t){if(Ts(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ts(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function sJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Nu(e,"aria-describedby").map(function(i){return FT(i,RA(RA({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function lJ(e){return yn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function uJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return lJ(e)?"":FT(e,t)}var jg=Sr(Kb(),1),cJ=Sr(_R(),1),LT=Sr(IR(),1),dJ=Sr(MR(),1),kT=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
272
+ `)}},TA=class extends kT{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},OA=class extends kT{constructor(...e){super("be a Node",...e)}};function $T(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function pJ(e,...t){$T(e,OA,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new OA(e,...t)}function mt(e,...t){$T(e,TA,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new TA(e,...t)}var fJ=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
273
+ `)}};function hJ(e,...t){let r=gK(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new fJ({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:i})=>Object.assign(n,{[o]:i}),{})}function PA(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function or(e,t,r,n,o,i){return[`${t}
274
+ `,`${r}:
275
+ ${e.utils.EXPECTED_COLOR((0,EA.default)(PA(e,n),2))}`,`${o}:
276
+ ${e.utils.RECEIVED_COLOR((0,EA.default)(PA(e,i),2))}`].join(`
277
+ `)}function mJ(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function hc(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function mc(e){return e.replace(/\s+/g," ").trim()}function Xn(e){return e.tagName&&e.tagName.toLowerCase()}function yJ({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function bJ(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var gJ=["meter","progressbar","slider","spinbutton"];function vJ(e){if(gJ.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function UT(e){if(e)switch(e.tagName.toLowerCase()){case"input":return bJ(e);case"select":return yJ(e);default:return e.value??vJ(e)}}function EJ(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function HT(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function fb(e,t){return hc("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&mt(e,fb,this),t&&mt(t,fb,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
278
+ `)}}function VT(e){(e!==null||!this.isNot)&&mt(e,VT,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
279
+ `)}}function GT(e){return hc("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),mt(e,GT,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
280
+ `)}}function zT(e){return mt(e,zT,this),{pass:wJ(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
281
+ `)}}function wJ(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function hb(e,t){return mt(e,hb,this),t!==null&&mt(t,hb,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
282
+ `)].join(`
283
+ `)}}function _J(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function WT(e,t){if(mt(e,WT,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(_J(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
284
+ `)}}function YT(e,t,r={normalizeWhitespace:!0}){pJ(e,YT,this);let n=r.normalizeWhitespace?mc(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&mJ(n,t),message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)}}}function mb(e,t){mt(e,mb,this);let r=sJ(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.${mb.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var ms="aria-invalid",SJ=["false"];function KT(e,t){mt(e,KT,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>or(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let i=e.getAttribute(ms);if(!e.hasAttribute(ms)||SJ.includes(i))return{pass:!1,message:()=>or(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${ms}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${ms}="${e.getAttribute(ms)}`:null)};let s=mc(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:()=>or(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",s)}}var AJ=TJ(jg.elementRoles);function yb(e,t){mt(e,yb,this);let r=CJ(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.${yb.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function CJ(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):RJ(e)}function RJ(e){for(let{match:t,roles:r}of AJ)if(t(e))return[...r];return[]}function TJ(e){function t({name:s,attributes:l}){return`${s}${l.map(({name:u,value:c,constraints:d=[]})=>d.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:s=[]}){return s.length}function n({specificity:s},{specificity:l}){return l-s}function o(s){let{attributes:l=[]}=s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...s,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}function bb(e,t){mt(e,bb,this);let r=uJ(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.${bb.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function xA(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function OJ(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function JT(e,t,r){mt(e,JT,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:()=>{let s=this.isNot?"not to":"to",l=o?xA(this.utils.stringify,t,i):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:OJ(this.utils.stringify,t,r)});return or(this,u,`Expected the element ${s} have attribute`,xA(this.utils.stringify,t,r),"Received",l)}}}function PJ(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function qA(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function DA(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function XT(e,...t){mt(e,XT,this);let{expectedClassNames:r,options:n}=PJ(t),o=qA(e.getAttribute("class")),i=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?qA(u):u),[]),s=i.some(l=>l instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:DA(i,o)&&i.length===o.length,message:()=>{let l=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))}}:i.length>0?{pass:DA(i,o),message:()=>{let l=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have class`,i.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?or(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
285
+ `)}}function xJ(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function qJ(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),i=[r];return o||i.push(r.toLowerCase()),i.some(s=>t[s]===n||t.getPropertyValue(s)===n)})}function IA(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
286
+ `)}function DJ(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,i)=>Object.assign(o,{[i]:r.getPropertyValue(i)}),{});return e(IA(t),IA(n)).replace(`${cJ.default.red("+ Received")}
287
+ `,"")}function gb(e,t){mt(e,gb,this);let r=typeof t=="object"?t:hJ(t,gb,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=xJ(e.ownerDocument,r),i=n(e);return{pass:qJ(o,i),message:()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),DJ(this.utils.diff,o,i)].join(`
288
+
289
+ `)}}}function QT(e){return mt(e,QT,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
290
+ `)}}function IJ(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function MJ(e,t){let r=[...e.querySelectorAll(`[name="${(0,dJ.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return UT(r[0]);default:return IJ(r)}}function NJ(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function BJ(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[NJ(r)]:MJ(e,r)}),{})}function ZT(e,t){if(mt(e,ZT,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=BJ(e);return{pass:Object.entries(t).every(([n,o])=>(0,LT.default)(r[n],o,HT)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,l)=>({...s,[l]:r[l]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
291
+
292
+ `)}}}function jJ(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function FJ(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function eO(e,t){return jJ(e)&&FJ(e,t)&&(!e.parentElement||eO(e.parentElement,e))}function tO(e){mt(e,tO,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&eO(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
293
+ `)}}}var LJ=["fieldset","input","select","optgroup","option","button","textarea"];function kJ(e,t){return Xn(e)==="legend"&&Xn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Xn(r)==="legend"))}function $J(e,t){return nO(t)&&!kJ(e,t)}function UJ(e){return e.includes("-")}function rO(e){let t=Xn(e);return LJ.includes(t)||UJ(t)}function nO(e){return rO(e)&&e.hasAttribute("disabled")}function oO(e){let t=e.parentElement;return!!t&&($J(e,t)||oO(t))}function aO(e){return rO(e)&&(nO(e)||oO(e))}function iO(e){mt(e,iO,this);let t=aO(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
294
+ `)}}}function sO(e){mt(e,sO,this);let t=!aO(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
295
+ `)}}}var HJ=["select","textarea"],VJ=["input","select","textarea"],GJ=["color","hidden","range","submit","image","reset"],zJ=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function WJ(e){return HJ.includes(Xn(e))&&e.hasAttribute("required")}function YJ(e){return Xn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!GJ.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function KJ(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(VJ.includes(Xn(e))||e.hasAttribute("role")&&zJ.includes(e.getAttribute("role")))}function lO(e){mt(e,lO,this);let t=WJ(e)||YJ(e)||KJ(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
296
+ `)}}}var JJ=["form","input","select","textarea"];function XJ(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function QJ(e){return JJ.includes(Xn(e))}function uO(e){let t=XJ(e);return QJ(e)?t||!e.checkValidity():t}function cO(e){mt(e,cO,this);let t=uO(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
297
+ `)}}}function dO(e){mt(e,dO,this);let t=!uO(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
298
+ `)}}}function pO(e,t){if(mt(e,pO,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=UT(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?(0,LT.default)(r,t,HT):!!r,message:()=>{let s=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return or(this,l,`Expected the element ${s} have value`,n?o:"(any)","Received",i)}}}function fO(e,t){mt(e,fO,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=ZJ(r,e),o=eX(t),i=o.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,s=i===n.length,l=i===o.length;return{pass:s&&l,message:()=>or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function ZJ(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function eX(e){return e instanceof Array?e:[e]}function hO(e){mt(e,hO,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>mO(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${tX()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
299
+ `)}}}function tX(){return EJ(rX().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function rX(){return jg.roles.keys().filter(mO)}function mO(e){return jg.roles.get(e)?.props["aria-checked"]!==void 0}function yO(e){mt(e,yO,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
300
+ `)}}}function bO(e,t){hc("toHaveDescription","Please use toHaveAccessibleDescription."),mt(e,bO,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,s=n.map(l=>i.getElementById(l)).filter(Boolean);o=mc(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function gO(e,t){if(hc("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),mt(e,gO,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>or(this,this.utils.matcherHint(`${i}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,s=n.map(l=>i.getElementById(l)).filter(Boolean);o=mc(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}var U1e=Sr(ER(),1),H1e=Sr(Kb(),1),V1e=Sr(_R(),1),G1e=Sr(IR(),1),z1e=Sr(MR(),1);function hn(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function _u(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function nX(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function vb(e){return Object.prototype.toString.apply(e).slice(8,-1)}function oX(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function vO(e){let t=new Set;return nX(e)?[]:(oX(e,t),Array.from(t))}var EO={forceWritable:!1};function MA(e,t=EO){return Eb(e,new WeakMap,t)}function Eb(e,t,r=EO){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(n=e.length),t.set(e,o);n--;)o[n]=Eb(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=vO(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=Eb(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}var NA={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},aX={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},yi="\u2026";function iX(e,t){let r=NA[aX[t]]||NA[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function sX({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:d,stylize:c};return p.colors&&(p.stylize=iX),p}function lX(e){return e>="\uD800"&&e<="\uDBFF"}function to(e,t,r=yi){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&lX(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Gr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let c=0;c<o;c+=1){let d=c+1===e.length,p=c+2===e.length;u=`${yi}(${e.length-c})`;let h=e[c];t.truncate=i-s.length-(d?0:n.length);let m=l||r(h,t)+(d?"":n),y=s.length+m.length,g=y+u.length;if(d&&y>i&&s.length+u.length<=i||!d&&!p&&g>i||(l=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&g>i&&y+l.length>i))break;if(s+=m,!d&&!p&&y+l.length>=i){u=`${yi}(${e.length-c-1})`;break}u=""}return`${s}${u}`}function uX(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Os([e,t],r){return r.truncate-=2,typeof e=="string"?e=uX(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function cX(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Gr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Gr(r.map(i=>[i,e[i]]),t,Os)),`[ ${n}${o?`, ${o}`:""} ]`}var dX=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function mn(e,t){let r=dX(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(to(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${yi}(${e.length-e[s]+1})`;break}o+=l}let i="";return n.length&&(i=Gr(n.map(s=>[s,e[s]]),t,Os)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function pX(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${to(n[1],t.truncate-o.length-1)}`,"date")}function BA(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${to(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function fX([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function hX(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function mX(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Gr(hX(e),t,fX)} }`)}var yX=Number.isNaN||(e=>e!==e);function jA(e,t){return yX(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(to(String(e),t.truncate),"number")}function FA(e,t){let r=to(e.toString(),t.truncate-1);return r!==yi&&(r+="n"),t.stylize(r,"bigint")}function bX(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${to(o,n)}/${r}`,"regexp")}function gX(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function vX(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Gr(gX(e),t)} }`)}var LA=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),EX={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},wX=16,_X=4;function SX(e){return EX[e]||`\\u${`0000${e.charCodeAt(0).toString(wX)}`.slice(-_X)}`}function kA(e,t){return LA.test(e)&&(e=e.replace(LA,SX)),t.stylize(`'${to(e,t.truncate-2)}'`,"string")}function $A(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var wO=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(wO=(n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var AX=wO;function Su(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=Gr(r.map(l=>[l,e[l]]),t,Os),i=Gr(n.map(l=>[l,e[l]]),t,Os);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var My=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function CX(e,t){let r="";return My&&My in e&&(r=e[My]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Su(e,t)}`}function RX(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Gr(e,t)} ]`)}var TX=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function OX(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>TX.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=to(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Gr(r.map(s=>[s,e[s]]),t,Os);return`${n}${o}${i?` { ${i} }`:""}`}function PX([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function wb(e,t){return Gr(e,t,_O,`
301
+ `)}function _O(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Gr(r.map(d=>[d,e.getAttribute(d)]),t,PX," ")),t.truncate-=l.length;let u=t.truncate,c=wb(e.children,t);return c&&c.length>u&&(c=`${yi}(${e.children.length})`),`${o}${l}${i}${c}${s}`}var xX=typeof Symbol=="function"&&typeof Symbol.for=="function",Ny=xX?Symbol.for("chai/inspect"):"@@chai/inspect",ii=!1;try{let e=It("util");ii=e.inspect?e.inspect.custom:!1}catch{ii=!1}var UA=new WeakMap,HA={},VA={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:jA,Number:jA,bigint:FA,BigInt:FA,string:kA,String:kA,function:BA,Function:BA,symbol:$A,Symbol:$A,Array:cX,Date:pX,Map:mX,Set:vX,RegExp:bX,Promise:AX,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:RX,Int8Array:mn,Uint8Array:mn,Uint8ClampedArray:mn,Int16Array:mn,Uint16Array:mn,Int32Array:mn,Uint32Array:mn,Float32Array:mn,Float64Array:mn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:OX,HTMLCollection:wb,NodeList:wb},qX=(e,t,r)=>Ny in e&&typeof e[Ny]=="function"?e[Ny](t):ii&&ii in e&&typeof e[ii]=="function"?e[ii](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&UA.has(e.constructor)?UA.get(e.constructor)(e,t):HA[r]?HA[r](e,t):"",DX=Object.prototype.toString;function _b(e,t={}){let r=sX(t,_b),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=DX.call(e).slice(8,-1)),o in VA)return VA[o](e,r);if(n&&e){let s=qX(e,r,o);if(s)return typeof s=="string"?s:_b(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Su(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?_O(e,r):"constructor"in e?e.constructor!==Object?CX(e,r):Su(e,r):e===Object(e)?Su(e,r):r.stylize(String(e),o)}var IX={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},MX=Object.entries(IX);function Fg(e){return String(e)}Fg.open="";Fg.close="";function NX(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function BX(e=!1){let t=NX(e),r=(s,l,u,c)=>{let d="",p=0;do d+=s.substring(p,c)+u,p=c+l.length,c=s.indexOf(l,p);while(~c);return d+s.substring(p)},n=(s,l,u=s)=>{let c=d=>{let p=String(d),h=p.indexOf(l,s.length);return~h?s+r(p,l,u,h)+l:s+p+l};return c.open=s,c.close=l,c},o={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,l]of MX)o[s]=t?n(i(l[0]),i(l[1]),l[2]):Fg;return o}var jX=It("tty"),Ot=BX((0,jX.isatty)(1));function FX(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function yc(e,t,r,n,o,i,s=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let d=r+t.indent;for(;!c.done;){if(l+=d,u++===t.maxWidth){l+="\u2026";break}let p=i(c.value[0],t,d,n,o),h=i(c.value[1],t,d,n,o);l+=p+s+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Lg(e,t,r,n,o,i){let s="",l=0,u=e.next();if(!u.done){s+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(s+=c,l++===t.maxWidth){s+="\u2026";break}s+=i(u.value,t,c,n,o),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Bu(e,t,r,n,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let c=r+t.indent;for(let d=0;d<u;d++){if(s+=c,d===t.maxWidth){s+="\u2026";break}(l(e)||d in e)&&(s+=i(l(e)?e.getInt8(d):e[d],t,c,n,o)),d<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function kg(e,t,r,n,o,i){let s="",l=FX(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let d=l[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);s+=`${u+p}: ${h}`,c<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var LX=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,By=" ",kX=(e,t,r,n,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+By}[${Bu(e.sample,t,r,n,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+By}{${kg(e.sample,t,r,n,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+By+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},$X=e=>e&&e.$$typeof===LX,UX={serialize:kX,test:$X},HX=" ",SO=new Set(["DOMStringMap","NamedNodeMap"]),VX=/^(?:HTML\w*Collection|NodeList)$/;function GX(e){return SO.has(e)||VX.test(e)}var zX=e=>e&&e.constructor&&!!e.constructor.name&&GX(e.constructor.name);function WX(e){return e.constructor.name==="NamedNodeMap"}var YX=(e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+HX)+(SO.has(s)?`{${kg(WX(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${Bu([...e],t,r,n,o,i)}]`)},KX={serialize:YX,test:zX};function AO(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function $g(e,t,r,n,o,i,s){let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.includes(`
302
+ `)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function Ug(e,t,r,n,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?CO(s,t):i(s,t,r,n,o))).join("")}function CO(e,t){let r=t.colors.content;return r.open+AO(e)+r.close}function JX(e,t){let r=t.colors.comment;return`${r.open}<!--${AO(e)}-->${r.close}`}function Hg(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function Vg(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var XX=1,RO=3,TO=8,OO=11,QX=/^(?:(?:HTML|SVG)\w*)?Element$/;function ZX(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function eQ(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||ZX(e);return r===XX&&(QX.test(t)||o)||r===RO&&t==="Text"||r===TO&&t==="Comment"||r===OO&&t==="DocumentFragment"}var tQ=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&eQ(e)};function rQ(e){return e.nodeType===RO}function nQ(e){return e.nodeType===TO}function jy(e){return e.nodeType===OO}var oQ=(e,t,r,n,o,i)=>{if(rQ(e))return CO(e.data,t);if(nQ(e))return JX(e.data,t);let s=jy(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Vg(s,t):Hg(s,$g(jy(e)?[]:Array.from(e.attributes,l=>l.name).sort(),jy(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),Ug(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},aQ={serialize:oQ,test:tQ},iQ="@@__IMMUTABLE_ITERABLE__@@",sQ="@@__IMMUTABLE_LIST__@@",lQ="@@__IMMUTABLE_KEYED__@@",uQ="@@__IMMUTABLE_MAP__@@",GA="@@__IMMUTABLE_ORDERED__@@",cQ="@@__IMMUTABLE_RECORD__@@",dQ="@@__IMMUTABLE_SEQ__@@",pQ="@@__IMMUTABLE_SET__@@",fQ="@@__IMMUTABLE_STACK__@@",bi=e=>`Immutable.${e}`,bc=e=>`[${e}]`,Ps=" ",zA="\u2026";function hQ(e,t,r,n,o,i,s){return++n>t.maxDepth?bc(bi(s)):`${bi(s)+Ps}{${yc(e.entries(),t,r,n,o,i)}}`}function mQ(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function yQ(e,t,r,n,o,i){let s=bi(e._name||"Record");return++n>t.maxDepth?bc(s):`${s+Ps}{${yc(mQ(e),t,r,n,o,i)}}`}function bQ(e,t,r,n,o,i){let s=bi("Seq");return++n>t.maxDepth?bc(s):e[lQ]?`${s+Ps}{${e._iter||e._object?yc(e.entries(),t,r,n,o,i):zA}}`:`${s+Ps}[${e._iter||e._array||e._collection||e._iterable?Lg(e.values(),t,r,n,o,i):zA}]`}function Fy(e,t,r,n,o,i,s){return++n>t.maxDepth?bc(bi(s)):`${bi(s)+Ps}[${Lg(e.values(),t,r,n,o,i)}]`}var gQ=(e,t,r,n,o,i)=>e[uQ]?hQ(e,t,r,n,o,i,e[GA]?"OrderedMap":"Map"):e[sQ]?Fy(e,t,r,n,o,i,"List"):e[pQ]?Fy(e,t,r,n,o,i,e[GA]?"OrderedSet":"Set"):e[fQ]?Fy(e,t,r,n,o,i,"Stack"):e[dQ]?bQ(e,t,r,n,o,i):yQ(e,t,r,n,o,i),vQ=e=>e&&(e[iQ]===!0||e[cQ]===!0),EQ={serialize:gQ,test:vQ},Sb={exports:{}},ct={},WA;function wQ(){if(WA)return ct;WA=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function g(E){if(typeof E=="object"&&E!==null){var b=E.$$typeof;switch(b){case e:switch(E=E.type,E){case r:case o:case n:case c:case d:return E;default:switch(E=E&&E.$$typeof,E){case l:case s:case u:case h:case p:case i:return E;default:return b}}case t:return b}}}return ct.ContextConsumer=s,ct.ContextProvider=i,ct.Element=e,ct.ForwardRef=u,ct.Fragment=r,ct.Lazy=h,ct.Memo=p,ct.Portal=t,ct.Profiler=o,ct.StrictMode=n,ct.Suspense=c,ct.SuspenseList=d,ct.isAsyncMode=function(){return!1},ct.isConcurrentMode=function(){return!1},ct.isContextConsumer=function(E){return g(E)===s},ct.isContextProvider=function(E){return g(E)===i},ct.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},ct.isForwardRef=function(E){return g(E)===u},ct.isFragment=function(E){return g(E)===r},ct.isLazy=function(E){return g(E)===h},ct.isMemo=function(E){return g(E)===p},ct.isPortal=function(E){return g(E)===t},ct.isProfiler=function(E){return g(E)===o},ct.isStrictMode=function(E){return g(E)===n},ct.isSuspense=function(E){return g(E)===c},ct.isSuspenseList=function(E){return g(E)===d},ct.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===o||E===n||E===c||E===d||E===m||typeof E=="object"&&E!==null&&(E.$$typeof===h||E.$$typeof===p||E.$$typeof===i||E.$$typeof===s||E.$$typeof===u||E.$$typeof===y||E.getModuleId!==void 0)},ct.typeOf=g,ct}var ft={},YA;function _Q(){return YA||(YA=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y=!1,g=!1,E=!1,b=!1,w=!1,P;P=Symbol.for("react.module.reference");function A(J){return!!(typeof J=="string"||typeof J=="function"||J===r||J===o||w||J===n||J===c||J===d||b||J===m||y||g||E||typeof J=="object"&&J!==null&&(J.$$typeof===h||J.$$typeof===p||J.$$typeof===i||J.$$typeof===s||J.$$typeof===u||J.$$typeof===P||J.getModuleId!==void 0))}function S(J){if(typeof J=="object"&&J!==null){var Se=J.$$typeof;switch(Se){case e:var $e=J.type;switch($e){case r:case o:case n:case c:case d:return $e;default:var tt=$e&&$e.$$typeof;switch(tt){case l:case s:case u:case h:case p:case i:return tt;default:return Se}}case t:return Se}}}var T=s,C=i,O=e,I=u,W=r,X=h,Y=p,K=t,_=o,x=n,N=c,le=d,ce=!1,Re=!1;function Ne(J){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function De(J){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(J){return S(J)===s}function de(J){return S(J)===i}function Ee(J){return typeof J=="object"&&J!==null&&J.$$typeof===e}function Oe(J){return S(J)===u}function ke(J){return S(J)===r}function Fe(J){return S(J)===h}function ze(J){return S(J)===p}function dt(J){return S(J)===t}function Q(J){return S(J)===o}function Le(J){return S(J)===n}function Ge(J){return S(J)===c}function et(J){return S(J)===d}ft.ContextConsumer=T,ft.ContextProvider=C,ft.Element=O,ft.ForwardRef=I,ft.Fragment=W,ft.Lazy=X,ft.Memo=Y,ft.Portal=K,ft.Profiler=_,ft.StrictMode=x,ft.Suspense=N,ft.SuspenseList=le,ft.isAsyncMode=Ne,ft.isConcurrentMode=De,ft.isContextConsumer=ye,ft.isContextProvider=de,ft.isElement=Ee,ft.isForwardRef=Oe,ft.isFragment=ke,ft.isLazy=Fe,ft.isMemo=ze,ft.isPortal=dt,ft.isProfiler=Q,ft.isStrictMode=Le,ft.isSuspense=Ge,ft.isSuspenseList=et,ft.isValidElementType=A,ft.typeOf=S}()),ft}process.env.NODE_ENV==="production"?Sb.exports=wQ():Sb.exports=_Q();var Bo=Sb.exports;function PO(e,t=[]){if(Array.isArray(e))for(let r of e)PO(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function KA(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Bo.isFragment(e))return"React.Fragment";if(Bo.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Bo.isContextProvider(e))return"Context.Provider";if(Bo.isContextConsumer(e))return"Context.Consumer";if(Bo.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Bo.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function SQ(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var AQ=(e,t,r,n,o,i)=>++n>t.maxDepth?Vg(KA(e),t):Hg(KA(e),$g(SQ(e),e.props,t,r+t.indent,n,o,i),Ug(PO(e.props.children),t,r+t.indent,n,o,i),t,r),CQ=e=>e!=null&&Bo.isElement(e),RQ={serialize:AQ,test:CQ},TQ=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function OQ(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var PQ=(e,t,r,n,o,i)=>++n>t.maxDepth?Vg(e.type,t):Hg(e.type,e.props?$g(OQ(e),e.props,t,r+t.indent,n,o,i):"",e.children?Ug(e.children,t,r+t.indent,n,o,i):"",t,r),xQ=e=>e&&e.$$typeof===TQ,qQ={serialize:PQ,test:xQ},xO=Object.prototype.toString,DQ=Date.prototype.toISOString,IQ=Error.prototype.toString,JA=RegExp.prototype.toString;function Ly(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function MQ(e){return typeof window<"u"&&e===window}var NQ=/^Symbol\((.*)\)(.*)$/,BQ=/\n/g,qO=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function jQ(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function FQ(e){return Object.is(e,-0)?"-0":String(e)}function LQ(e){return`${e}n`}function XA(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function QA(e){return String(e).replace(NQ,"Symbol($1)")}function ZA(e){return`[${IQ.call(e)}]`}function DO(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return FQ(e);if(o==="bigint")return LQ(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return XA(e,t);if(o==="symbol")return QA(e);let i=xO.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?XA(e,t):i==="[object Symbol]"?QA(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":DQ.call(e):i==="[object Error]"?ZA(e):i==="[object RegExp]"?r?JA.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):JA.call(e):e instanceof Error?ZA(e):null}function IO(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Yn(e.toJSON(),t,r,n,o,!0);let u=xO.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Bu(e,t,r,n,o,Yn)}]`:jQ(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Bu(e,t,r,n,o,Yn)}]`:u==="[object Map]"?s?"[Map]":`Map {${yc(e.entries(),t,r,n,o,Yn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${Lg(e.values(),t,r,n,o,Yn)}}`:s||MQ(e)?`[${Ly(e)}]`:`${l||!t.printBasicPrototype&&Ly(e)==="Object"?"":`${Ly(e)} `}{${kg(e,t,r,n,o,Yn)}}`}function kQ(e){return e.serialize!=null}function MO(e,t,r,n,o,i){let s;try{s=kQ(e)?e.serialize(t,r,n,o,i,Yn):e.print(t,l=>Yn(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replaceAll(BQ,`
303
+ ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new qO(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function NO(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new qO(n.message,n.stack)}return null}function Yn(e,t,r,n,o,i){let s=NO(t.plugins,e);if(s!==null)return MO(s,e,t,r,n,o);let l=DO(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:IO(e,t,r,n,o,i)}var Gg={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},BO=Object.keys(Gg),kr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Gg};function $Q(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(kr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function UQ(){return BO.reduce((e,t)=>{let r=Gg[t],n=r&&Ot[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function HQ(){return BO.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function jO(e){return e?.printFunctionName??kr.printFunctionName}function FO(e){return e?.escapeRegex??kr.escapeRegex}function LO(e){return e?.escapeString??kr.escapeString}function eC(e){return{callToJSON:e?.callToJSON??kr.callToJSON,colors:e?.highlight?UQ():HQ(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:kr.compareKeys,escapeRegex:FO(e),escapeString:LO(e),indent:e?.min?"":VQ(e?.indent??kr.indent),maxDepth:e?.maxDepth??kr.maxDepth,maxWidth:e?.maxWidth??kr.maxWidth,min:e?.min??kr.min,plugins:e?.plugins??kr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:jO(e),spacingInner:e?.min?" ":`
304
+ `,spacingOuter:e?.min?"":`
305
+ `}}function VQ(e){return Array.from({length:e+1}).join(" ")}function an(e,t){if(t&&($Q(t),t.plugins)){let n=NO(t.plugins,e);if(n!==null)return MO(n,e,eC(t),"",0,[])}let r=DO(e,jO(t),FO(t),LO(t));return r!==null?r:IO(e,eC(t),"",0,[])}var kO={AsymmetricMatcher:UX,DOMCollection:KX,DOMElement:aQ,Immutable:EQ,ReactElement:RQ,ReactTestComponent:qQ},{AsymmetricMatcher:GQ,DOMCollection:zQ,DOMElement:WQ,Immutable:YQ,ReactElement:KQ,ReactTestComponent:JQ}=kO,tC=[JQ,KQ,WQ,zQ,YQ,GQ];function qr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=an(e,{maxDepth:t,escapeString:!1,plugins:tC,...n})}catch{i=an(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:tC,...n})}return i.length>=o&&t>1?qr(e,Math.floor(t/2)):i}var XQ=/%[sdjifoOc%]/g;function QQ(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(ys(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(XQ,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?ys(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ys(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ys(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ys(i)}`;return o}function ys(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),_b(e,t)}var W1e=Symbol("vitest:SAFE_TIMERS"),ZQ,eZ,tZ,rZ,nZ,oZ,aZ,$O,iZ,sZ,lZ,uZ,cZ,dZ,pZ,fZ,hZ,mZ,yZ;cZ=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;uZ=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;ZQ=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;pZ=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y;lZ=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;fZ=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;yZ=/[\t\v\f\ufeff\p{Zs}]+/yu;$O=/\r?\n|[\r\u2028\u2029]/y;iZ=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;dZ=/\/\/.*/y;tZ=/[<>.:={}]|\/(?![\/*])/y;eZ=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;rZ=/(['"])(?:(?!\1)[^])*(\1)?/y;nZ=/[^<>{}]+/y;mZ=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;hZ=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;oZ=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;aZ=/^(?:return|throw|yield)$/;sZ=RegExp($O.source);var UO={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]},Y1e=new Set(UO.keyword),K1e=new Set(UO.strict);function rC(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var ar=-1,Qt=1,Pt=0,Rt=class{constructor(e,t){At(this,0);At(this,1);this[0]=e,this[1]=t}},bZ=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},HO=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},nC=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},gZ=function(e){let t=!1,r=[],n=0,o=null,i=0,s=0,l=0,u=0,c=0;for(;i<e.length;)e[i][0]===Pt?(r[n++]=i,s=u,l=c,u=0,c=0,o=e[i][1]):(e[i][0]===Qt?u+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new Rt(ar,o)),e[r[n-1]+1][0]=Qt,n--,n--,i=n>0?r[n-1]:-1,s=0,l=0,u=0,c=0,o=null,t=!0)),i++;for(t&&VO(e),wZ(e),i=1;i<e.length;){if(e[i-1][0]===ar&&e[i][0]===Qt){let d=e[i-1][1],p=e[i][1],h=nC(d,p),m=nC(p,d);h>=m?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new Rt(Pt,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(m>=d.length/2||m>=p.length/2)&&(e.splice(i,0,new Rt(Pt,d.substring(0,m))),e[i-1][0]=Qt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=ar,e[i+1][1]=d.substring(m),i++),i++}i++}},oC=/[^a-z0-9]/i,aC=/\s/,iC=/[\r\n]/,vZ=/\n\r?\n$/,EZ=/^\r?\n\r?\n/;function wZ(e){function t(n,o){if(!n||!o)return 6;let i=n.charAt(n.length-1),s=o.charAt(0),l=i.match(oC),u=s.match(oC),c=l&&i.match(aC),d=u&&s.match(aC),p=c&&i.match(iC),h=d&&s.match(iC),m=p&&n.match(vZ),y=h&&o.match(EZ);return m||y?5:p||h?4:l&&!c&&d?3:c||d?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Pt&&e[r+1][0]===Pt){let n=e[r-1][1],o=e[r][1],i=e[r+1][1],s=HO(n,o);if(s){let p=o.substring(o.length-s);n=n.substring(0,n.length-s),o=p+o.substring(0,o.length-s),i=p+i}let l=n,u=o,c=i,d=t(n,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){n+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let p=t(n,o)+t(o,i);p>=d&&(d=p,l=n,u=o,c=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function VO(e){e.push(new Rt(Pt,""));let t=0,r=0,n=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Qt:n++,i+=e[t][1],t++;break;case ar:r++,o+=e[t][1],t++;break;case Pt:r+n>1?(r!==0&&n!==0&&(s=bZ(i,o),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===Pt?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new Rt(Pt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=HO(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Rt(ar,o)),t++),i.length&&(e.splice(t,0,new Rt(Qt,i)),t++),t++):t!==0&&e[t-1][0]===Pt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Pt&&e[t+1][0]===Pt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&VO(e)}var GO="Compared values have no visual difference.",_Z="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",zO={};Object.defineProperty(zO,"__esModule",{value:!0});var WO=zO.default=RZ,Ss="diff-sequences",nr=0,xs=(e,t,r,n,o)=>{let i=0;for(;e<t&&r<n&&o(e,r);)e+=1,r+=1,i+=1;return i},qs=(e,t,r,n,o)=>{let i=0;for(;e<=t&&r<=n&&o(t,n);)t-=1,n-=1,i+=1;return i},ky=(e,t,r,n,o,i,s)=>{let l=0,u=-e,c=i[l],d=c;i[l]+=xs(c+1,t,n+c-u+1,r,o);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&d<i[l])c=i[l];else if(c=d+1,t<=c)return l-1;d=i[l],i[l]=c+xs(c+1,t,n+c-u+1,r,o)}return s},sC=(e,t,r,n,o,i,s)=>{let l=0,u=e,c=i[l],d=c;i[l]-=qs(t,c-1,r,n+c-u-1,o);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<d)c=i[l];else if(c=d-1,c<t)return l-1;d=i[l],i[l]=c-qs(t,c-1,r,n+c-u-1,o)}return s},SZ=(e,t,r,n,o,i,s,l,u,c,d)=>{let p=n-t,h=r-t,m=o-n-h,y=-m-(e-1),g=-m+(e-1),E=nr,b=e<l?e:l;for(let w=0,P=-e;w<=b;w+=1,P+=2){let A=w===0||w!==e&&E<s[w],S=A?s[w]:E,T=A?S:S+1,C=p+T-P,O=xs(T+1,r,C+1,o,i),I=T+O;if(E=s[w],s[w]=I,y<=P&&P<=g){let W=(e-1-(P+m))/2;if(W<=c&&u[W]-1<=I){let X=p+S-(A?P+1:P-1),Y=qs(t,S,n,X,i),K=S-Y,_=X-Y,x=K+1,N=_+1;d.nChangePreceding=e-1,e-1===x+N-t-n?(d.aEndPreceding=t,d.bEndPreceding=n):(d.aEndPreceding=x,d.bEndPreceding=N),d.nCommonPreceding=Y,Y!==0&&(d.aCommonPreceding=x,d.bCommonPreceding=N),d.nCommonFollowing=O,O!==0&&(d.aCommonFollowing=T+1,d.bCommonFollowing=C+1);let le=I+1,ce=C+O+1;return d.nChangeFollowing=e-1,e-1===r+o-le-ce?(d.aStartFollowing=r,d.bStartFollowing=o):(d.aStartFollowing=le,d.bStartFollowing=ce),!0}}}return!1},AZ=(e,t,r,n,o,i,s,l,u,c,d)=>{let p=o-r,h=r-t,m=o-n-h,y=m-e,g=m+e,E=nr,b=e<c?e:c;for(let w=0,P=e;w<=b;w+=1,P-=2){let A=w===0||w!==e&&u[w]<E,S=A?u[w]:E,T=A?S:S-1,C=p+T-P,O=qs(t,T-1,n,C-1,i),I=T-O;if(E=u[w],u[w]=I,y<=P&&P<=g){let W=(e+(P-m))/2;if(W<=l&&I-1<=s[W]){let X=C-O;if(d.nChangePreceding=e,e===I+X-t-n?(d.aEndPreceding=t,d.bEndPreceding=n):(d.aEndPreceding=I,d.bEndPreceding=X),d.nCommonPreceding=O,O!==0&&(d.aCommonPreceding=I,d.bCommonPreceding=X),d.nChangeFollowing=e-1,e===1)d.nCommonFollowing=0,d.aStartFollowing=r,d.bStartFollowing=o;else{let Y=p+S-(A?P-1:P+1),K=xs(S,r,Y,o,i);d.nCommonFollowing=K,K!==0&&(d.aCommonFollowing=S,d.bCommonFollowing=Y);let _=S+K,x=Y+K;e-1===r+o-_-x?(d.aStartFollowing=r,d.bStartFollowing=o):(d.aStartFollowing=_,d.bStartFollowing=x)}return!0}}}return!1},CZ=(e,t,r,n,o,i,s,l,u)=>{let c=n-t,d=o-r,p=r-t,h=o-n,m=h-p,y=p,g=p;if(s[0]=t-1,l[0]=r,m%2===0){let E=(e||m)/2,b=(p+h)/2;for(let w=1;w<=b;w+=1)if(y=ky(w,r,o,c,i,s,y),w<E)g=sC(w,t,n,d,i,l,g);else if(AZ(w,t,r,n,o,i,s,y,l,g,u))return}else{let E=((e||m)+1)/2,b=(p+h+1)/2,w=1;for(y=ky(w,r,o,c,i,s,y),w+=1;w<=b;w+=1)if(g=sC(w-1,t,n,d,i,l,g),w<E)y=ky(w,r,o,c,i,s,y);else if(SZ(w,t,r,n,o,i,s,y,l,g,u))return}throw new Error(`${Ss}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${o}`)},Ab=(e,t,r,n,o,i,s,l,u,c)=>{if(o-n<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:W,isCommon:X}=s[0];s[1]={foundSubsequence:(Y,K,_)=>{W(Y,_,K)},isCommon:(Y,K)=>X(K,Y)}}let O=t,I=r;t=n,r=o,n=O,o=I}let{foundSubsequence:d,isCommon:p}=s[i?1:0];CZ(e,t,r,n,o,p,l,u,c);let{nChangePreceding:h,aEndPreceding:m,bEndPreceding:y,nCommonPreceding:g,aCommonPreceding:E,bCommonPreceding:b,nCommonFollowing:w,aCommonFollowing:P,bCommonFollowing:A,nChangeFollowing:S,aStartFollowing:T,bStartFollowing:C}=c;t<m&&n<y&&Ab(h,t,m,n,y,i,s,l,u,c),g!==0&&d(g,E,b),w!==0&&d(w,P,A),T<r&&C<o&&Ab(S,T,r,C,o,i,s,l,u,c)},lC=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Ss}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Ss}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Ss}: ${e} value ${t} is a negative integer`)},uC=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Ss}: ${e} typeof ${r} is not a function`)};function RZ(e,t,r,n){lC("aLength",e),lC("bLength",t),uC("isCommon",r),uC("foundSubsequence",n);let o=xs(0,e,0,t,r);if(o!==0&&n(o,0,0),e!==o||t!==o){let i=o,s=o,l=qs(i,e-1,s,t-1,r),u=e-l,c=t-l,d=o+l;e!==d&&t!==d&&Ab(0,i,u,s,c,!1,[{foundSubsequence:n,isCommon:r}],[nr],[nr],{aCommonFollowing:nr,aCommonPreceding:nr,aEndPreceding:nr,aStartFollowing:nr,bCommonFollowing:nr,bCommonPreceding:nr,bEndPreceding:nr,bStartFollowing:nr,nChangeFollowing:nr,nChangePreceding:nr,nCommonFollowing:nr,nCommonPreceding:nr}),l!==0&&n(l,u,c)}}function TZ(e,t){return e.replace(/\s+$/,r=>t(r))}function zg(e,t,r,n,o,i){return e.length!==0?r(`${n} ${TZ(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function YO(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return zg(e,t,r,n,o,i)}function KO(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return zg(e,t,r,n,o,i)}function JO(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return zg(e,t,r,n,o,i)}function cC(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function OZ(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===Pt;)u+=1;if(A!==u)if(A===0)u>n&&(i-=u-n,s=!0);else if(u===r){let S=u-A;S>n&&(i-=S-n,s=!0)}else{let S=u-A;S>o&&(i-=S-o,l+=1)}for(;u!==r&&e[u][0]!==Pt;)u+=1}let c=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let d=i-1,p=[],h=0;c&&p.push("");let m=0,y=0,g=0,E=0,b=A=>{let S=p.length;p.push(JO(A,S===0||S===d,t)),g+=1,E+=1},w=A=>{let S=p.length;p.push(YO(A,S===0||S===d,t)),g+=1},P=A=>{let S=p.length;p.push(KO(A,S===0||S===d,t)),E+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===Pt;)u+=1;if(A!==u)if(A===0){u>n&&(A=u-n,m=A,y=A,g=m,E=y);for(let S=A;S!==u;S+=1)b(e[S][1])}else if(u===r){let S=u-A>n?A+n:u;for(let T=A;T!==S;T+=1)b(e[T][1])}else{let S=u-A;if(S>o){let T=A+n;for(let O=A;O!==T;O+=1)b(e[O][1]);p[h]=cC(m,g,y,E,t),h=p.length,p.push("");let C=S-o;m=g+C,y=E+C,g=m,E=y;for(let O=u-n;O!==u;O+=1)b(e[O][1])}else for(let T=A;T!==u;T+=1)b(e[T][1])}for(;u!==r&&e[u][0]===ar;)w(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Qt;)P(e[u][1]),u+=1}return c&&(p[h]=cC(m,g,y,E,t)),p.join(`
306
+ `)}function PZ(e,t){return e.map((r,n,o)=>{let i=r[1],s=n===0||n===o.length-1;switch(r[0]){case ar:return YO(i,s,t);case Qt:return KO(i,s,t);default:return JO(i,s,t)}}).join(`
307
+ `)}var $y=e=>e,XO=5,xZ=0;function qZ(){return{aAnnotation:"Expected",aColor:Ot.green,aIndicator:"-",bAnnotation:"Received",bColor:Ot.red,bIndicator:"+",changeColor:Ot.inverse,changeLineTrailingSpaceColor:$y,commonColor:Ot.dim,commonIndicator:" ",commonLineTrailingSpaceColor:$y,compareKeys:void 0,contextLines:XO,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Ot.yellow,truncateThreshold:xZ,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:$y}}function DZ(e){return e&&typeof e=="function"?e:void 0}function IZ(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:XO}function zo(e={}){return{...qZ(),...e,compareKeys:DZ(e.compareKeys),contextLines:IZ(e.contextLines)}}function si(e){return e.length===1&&e[0].length===0}function MZ(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case ar:t+=1;break;case Qt:r+=1;break}}),{a:t,b:r}}function NZ({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let c="",d="";if(s){let m=String(u.a),y=String(u.b),g=n.length-e.length,E=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),w=y.length-m.length,P=" ".repeat(Math.max(0,w)),A=" ".repeat(Math.max(0,-w));c=`${E} ${r} ${P}${m}`,d=`${b} ${i} ${A}${y}`}let p=`${r} ${e}${c}`,h=`${i} ${n}${d}`;return`${t(p)}
308
+ ${o(h)}
309
+
310
+ `}function Wg(e,t,r){return NZ(r,MZ(e))+(r.expand?PZ(e,r):OZ(e,r))+(t?r.truncateAnnotationColor(`
311
+ ${r.truncateAnnotation}`):"")}function gc(e,t,r){let n=zo(r),[o,i]=QO(si(e)?[]:e,si(t)?[]:t,n);return Wg(o,i,n)}function BZ(e,t,r,n,o){if(si(e)&&si(r)&&(e=[],r=[]),si(t)&&si(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return gc(e,t,o);let[i,s]=QO(r,n,o),l=0,u=0;return i.forEach(c=>{switch(c[0]){case ar:c[1]=e[l],l+=1;break;case Qt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Wg(i,s,zo(o))}function QO(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,s=n?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(h,m)=>e[h]===t[m],c=[],d=0,p=0;for(WO(i,s,u,(h,m,y)=>{for(;d!==m;d+=1)c.push(new Rt(ar,e[d]));for(;p!==y;p+=1)c.push(new Rt(Qt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)c.push(new Rt(Pt,t[p]))});d!==i;d+=1)c.push(new Rt(ar,e[d]));for(;p!==s;p+=1)c.push(new Rt(Qt,t[p]));return[c,l]}function dC(e){return e.includes(`\r
312
+ `)?`\r
313
+ `:`
314
+ `}function jZ(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,s=t.length;if(n){let h=e.includes(`
315
+ `),m=t.includes(`
316
+ `),y=dC(e),g=dC(t),E=h?`${e.split(y,o).join(y)}
317
+ `:e,b=m?`${t.split(g,o).join(g)}
318
+ `:t;i=E.length,s=b.length}let l=i!==e.length||s!==t.length,u=(h,m)=>e[h]===t[m],c=0,d=0,p=[];return WO(i,s,u,(h,m,y)=>{c!==m&&p.push(new Rt(ar,e.slice(c,m))),d!==y&&p.push(new Rt(Qt,t.slice(d,y))),c=m+h,d=y+h,p.push(new Rt(Pt,t.slice(y,d)))}),c!==i&&p.push(new Rt(ar,e.slice(c))),d!==s&&p.push(new Rt(Qt,t.slice(d))),[p,l]}function FZ(e,t,r){return t.reduce((n,o)=>n+(o[0]===Pt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var pC=class{constructor(e,t){At(this,"op");At(this,"line");At(this,"lines");At(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Rt(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Rt(this.op,FZ(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Rt(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
319
+ `)){let r=t.split(`
320
+ `),n=r.length-1;r.forEach((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},LZ=class{constructor(e,t){At(this,"deleteBuffer");At(this,"insertBuffer");At(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
321
+ `)){let n=r.split(`
322
+ `),o=n.length-1;n.forEach((i,s)=>{if(s===0){let l=new Rt(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new Rt(t,i)):i.length!==0&&this.pushDiffChangeLines(new Rt(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function kZ(e,t){let r=new pC(ar,t),n=new pC(Qt,t),o=new LZ(r,n);return e.forEach(i=>{switch(i[0]){case ar:r.align(i);break;case Qt:n.align(i);break;default:o.align(i)}}),o.getLines()}function $Z(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Pt&&(o!==r||n[1]!==`
323
+ `))}return e.some(r=>r[0]===Pt)}function UZ(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
324
+ `)||t.includes(`
325
+ `),[o,i]=ZO(n?`${e}
326
+ `:e,n?`${t}
327
+ `:t,!0,r);if($Z(o,n)){let s=zo(r),l=kZ(o,s.changeColor);return Wg(l,i,s)}}return gc(e.split(`
328
+ `),t.split(`
329
+ `),r)}function ZO(e,t,r,n){let[o,i]=jZ(e,t,n);return r&&gZ(o),[o,i]}function Cb(e,t){let{commonColor:r}=zo(t);return r(e)}var{AsymmetricMatcher:HZ,DOMCollection:VZ,DOMElement:GZ,Immutable:zZ,ReactElement:WZ,ReactTestComponent:YZ}=kO,eP=[YZ,WZ,GZ,VZ,zZ,HZ],Rb={plugins:eP},tP={callToJSON:!1,maxDepth:10,plugins:eP};function gi(e,t,r){if(Object.is(e,t))return"";let n=rC(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==rC(t)){let{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:c,bColor:d,bIndicator:p}=zo(r),h=Tb(tP,r),m=an(e,h),y=an(t,h),g=`${l(`${u} ${s}:`)}
330
+ ${m}`,E=`${d(`${p} ${c}:`)}
331
+ ${y}`;return`${g}
332
+
333
+ ${E}`}if(!i)switch(n){case"string":return gc(e.split(`
334
+ `),t.split(`
335
+ `),r);case"boolean":case"number":return KZ(e,t,r);case"map":return Uy(fC(e),fC(t),r);case"set":return Uy(hC(e),hC(t),r);default:return Uy(e,t,r)}}function KZ(e,t,r){let n=an(e,Rb),o=an(t,Rb);return n===o?"":gc(n.split(`
336
+ `),o.split(`
337
+ `),r)}function fC(e){return new Map(Array.from(e.entries()).sort())}function hC(e){return new Set(Array.from(e.values()).sort())}function Uy(e,t,r){let n,o=!1;try{let s=Tb(Rb,r);n=mC(e,t,s,r)}catch{o=!0}let i=Cb(GO,r);if(n===void 0||n===i){let s=Tb(tP,r);n=mC(e,t,s,r),n!==i&&!o&&(n=`${Cb(_Z,r)}
338
+
339
+ ${n}`)}return n}function Tb(e,t){let{compareKeys:r}=zo(t);return{...e,compareKeys:r}}function mC(e,t,r,n){let o={...r,indent:0},i=an(e,o),s=an(t,o);if(i===s)return Cb(GO,n);{let l=an(e,r),u=an(t,r);return BZ(l.split(`
340
+ `),u.split(`
341
+ `),i.split(`
342
+ `),s.split(`
343
+ `),n)}}var yC=2e4;function bC(e){return vb(e)==="Object"&&typeof e.asymmetricMatch=="function"}function gC(e,t){let r=vb(e),n=vb(t);return r===n&&(r==="Object"||r==="Array")}function rP(e,t,r){let{aAnnotation:n,bAnnotation:o}=zo(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=yC&&t.length<=yC&&e!==t){if(e.includes(`
344
+ `)||t.includes(`
345
+ `))return UZ(t,e,r);let[c]=ZO(t,e,!0),d=c.some(y=>y[0]===Pt),p=JZ(n,o),h=p(n)+ZZ(vC(c,ar,d)),m=p(o)+QZ(vC(c,Qt,d));return`${h}
346
+ ${m}`}let i=MA(e,{forceWritable:!0}),s=MA(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=nP(i,s);return gi(l,u,r)}function nP(e,t,r=new WeakSet,n=new WeakSet){return gC(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),vO(t).forEach(o=>{let i=t[o],s=e[o];if(bC(i))i.asymmetricMatch(s)&&(e[o]=i);else if(bC(s))s.asymmetricMatch(i)&&(t[o]=s);else if(gC(s,i)){let l=nP(s,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function JZ(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var XZ="\xB7";function oP(e){return e.replace(/\s+$/gm,t=>XZ.repeat(t.length))}function QZ(e){return Ot.red(oP(qr(e)))}function ZZ(e){return Ot.green(oP(qr(e)))}function vC(e,t,r){return e.reduce((n,o)=>n+(o[0]===Pt?o[1]:o[0]===t?r?Ot.inverse(o[1]):o[1]:""),"")}function Au(e,t){if(!e)throw new Error(t)}function li(e,t){return typeof t===e}function eee(e){return e instanceof Promise}function Ob(e,t,r){Object.defineProperty(e,t,r)}function di(e,t,r){Object.defineProperty(e,t,{value:r})}var As=Symbol.for("tinyspy:spy"),tee=new Set,ree=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},nee=e=>(Ob(e,As,{value:{reset:()=>ree(e[As])}}),e[As]),ju=e=>e[As]||nee(e);function oee(e){Au(li("function",e)||li("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=ju(t);o.called=!0,o.callCount++,o.calls.push(n);let i=o.next.shift();if(i){o.results.push(i);let[d,p]=i;if(d==="ok")return p;throw p}let s,l="ok",u=o.results.length;if(o.impl)try{new.target?s=Reflect.construct(o.impl,n,new.target):s=o.impl.apply(this,n),l="ok"}catch(d){throw s=d,l="error",o.results.push([l,d]),d}let c=[l,s];return eee(s)&&s.then(d=>o.resolves[u]=["ok",d],d=>o.resolves[u]=["error",d]),o.results.push(c),s};di(t,"_isMockFunction",!0),di(t,"length",e?e.length:0),di(t,"name",e&&e.name||"spy");let r=ju(t);return r.reset(),r.impl=e,t}var EC=(e,t)=>Object.getOwnPropertyDescriptor(e,t),wC=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function aP(e,t,r){Au(!li("undefined",e),"spyOn could not find an object to spy upon"),Au(li("object",e)||li("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!li("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),i=EC(e,n),s=Object.getPrototypeOf(e),l=s&&EC(s,n),u=i||l;Au(u||n in e,`${String(n)} does not exist`);let c=!1;o==="value"&&u&&!u.value&&u.get&&(o="get",c=!0,r=u.get());let d;u?d=u[o]:o!=="value"?d=()=>e[n]:d=e[n],r||(r=d);let p=oee(r);o==="value"&&wC(p,d);let h=g=>{let{value:E,...b}=u||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=g,Ob(e,n,b)},m=()=>u?Ob(e,n,u):h(d),y=p[As];return di(y,"restore",m),di(y,"getOriginal",()=>c?d():d),di(y,"willCall",g=>(y.impl=g,p)),h(c?()=>(wC(p,r),p):p),tee.add(p),p}var Ys=new Set;function Yg(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function aee(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o=aP(e,n);return iP(o)}var iee=0;function iP(e){let t=e,r,n=[],o=[],i=[],s=ju(e),l={get calls(){return s.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return i},get results(){return s.results.map(([m,y])=>({type:m==="error"?"throw":"return",value:y}))},get settledResults(){return s.resolves.map(([m,y])=>({type:m==="error"?"rejected":"fulfilled",value:y}))},get lastCall(){return s.calls[s.calls.length-1]}},u=[],c=!1;function d(...m){return n.push(this),o.push(this),i.push(++iee),(c?r:u.shift()||r||s.getOriginal()||(()=>{})).apply(this,m)}let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=m=>(p=m,t),t.mockClear=()=>(s.reset(),n=[],o=[],i=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),s.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=m=>(r=m,s.willCall(d),t),t.mockImplementationOnce=m=>(u.push(m),t);function h(m,y){let g=r;r=m,s.willCall(d),c=!0;let E=()=>{r=g,c=!1},b=y();return b instanceof Promise?b.then(()=>(E(),t)):(E(),t)}return t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=m=>t.mockImplementation(()=>m),t.mockReturnValueOnce=m=>t.mockImplementationOnce(()=>m),t.mockResolvedValue=m=>t.mockImplementation(()=>Promise.resolve(m)),t.mockResolvedValueOnce=m=>t.mockImplementationOnce(()=>Promise.resolve(m)),t.mockRejectedValue=m=>t.mockImplementation(()=>Promise.reject(m)),t.mockRejectedValueOnce=m=>t.mockImplementationOnce(()=>Promise.reject(m)),Object.defineProperty(t,"mock",{get:()=>l}),s.willCall(d),Ys.add(t),t}function _C(e){let t=iP(aP({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var see="@@__IMMUTABLE_RECORD__@@",lee="@@__IMMUTABLE_ITERABLE__@@";function uee(e){return e&&(e[lee]||e[see])}var cee=Object.getPrototypeOf({});function SC(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function ui(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(uee(e))return ui(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${QQ(e.sample)}`;if(typeof e.toJSON=="function")return ui(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=ui(n,t)}catch(i){r[o]=SC(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==cee;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=ui(e[o],t)}catch(i){delete r[o],r[o]=SC(i)}}),n=Object.getPrototypeOf(n);return r}}function dee(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function sP(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=rP(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=qr(n.expected,10)),typeof n.actual!="string"&&(n.actual=qr(n.actual,10));try{typeof n.message=="string"&&(n.message=dee(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=sP(n.cause,t,r))}catch{}try{return ui(n)}catch(o){return ui(new Error(`Failed to fully serialize error: ${o?.message}
347
+ Inner error message: ${n?.message}`))}}var Ds=Symbol.for("matchers-object"),Is=Symbol.for("$$jest-matchers-object-storybook"),Kg=Symbol.for("expect-global"),Pb=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,Ds)){let e=new WeakMap;Object.defineProperty(globalThis,Ds,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,Is)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Is,{configurable:!0,get:()=>({state:globalThis[Ds].get(globalThis[Kg]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Pb)){let e=Object.create(null);Object.defineProperty(globalThis,Pb,{get:()=>e})}function Fu(e){return globalThis[Ds].get(e)}function Hy(e,t){let r=globalThis[Ds],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Lu=Ot.green,Jg=Ot.red,pee=Ot.inverse,fee=Ot.bold,Wn=Ot.dim;function hee(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:s=!1,promise:l="",secondArgument:u="",expectedColor:c=Lu,receivedColor:d=Jg,secondArgumentColor:p=Lu}=n,h="",m="expect";return!i&&t!==""&&(h+=Wn(`${m}(`)+d(t),m=")"),l!==""&&(h+=Wn(`${m}.`)+l,m=""),s&&(h+=`${Wn(`${m}.`)}not`,m=""),e.includes(".")?m+=e:(h+=Wn(`${m}.`)+e,m=""),r===""?m+="()":(h+=Wn(`${m}(`)+c(r),u&&(h+=Wn(", ")+p(u)),m=")"),o!==""&&(m+=` // ${o}`),m!==""&&(h+=Wn(m)),h}var mee="\xB7";function lP(e){return e.replace(/\s+$/gm,t=>mee.repeat(t.length))}function yee(e){return Jg(lP(qr(e)))}function bee(e){return Lu(lP(qr(e)))}function uP(){return{EXPECTED_COLOR:Lu,RECEIVED_COLOR:Jg,INVERTED_COLOR:pee,BOLD_WEIGHT:fee,DIM_COLOR:Wn,diff:gi,matcherHint:hee,printReceived:yee,printExpected:bee,printDiffOrStringify:rP}}function Xg(){return globalThis[Is].customEqualityTesters}function st(e,t,r,n){return r=r||[],cP(e,t,[],[],r,n?dP:vee)}var J1e=Function.prototype.toString;function AC(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Hr("Function",e.asymmetricMatch)}function gee(e,t){let r=AC(e),n=AC(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function cP(e,t,r,n,o,i){let s=!0,l=gee(e,t);if(l!==void 0)return l;let u={equals:st};for(let y=0;y<o.length;y++){let g=o[y].call(u,e,t,o);if(g!==void 0)return g}if(e instanceof Error&&t instanceof Error)return e.message===t.message;if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let y=+e,g=+t;return y===g||Number.isNaN(y)&&Number.isNaN(g)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(RC(e)&&RC(t))return e.isEqualNode(t);let d=r.length;for(;d--;){if(r[d]===e)return n[d]===t;if(n[d]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;let p=CC(e,i),h,m=p.length;if(CC(t,i).length!==m)return!1;for(;m--;)if(h=p[m],s=i(t,h)&&cP(e[h],t[h],r,n,o,i),!s)return!1;return r.pop(),n.pop(),s}function CC(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function vee(e,t){return dP(e,t)&&e[t]!==void 0}function dP(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Hr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function RC(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var pP="@@__IMMUTABLE_KEYED__@@",fP="@@__IMMUTABLE_SET__@@",Eee="@@__IMMUTABLE_LIST__@@",vc="@@__IMMUTABLE_ORDERED__@@",wee="@@__IMMUTABLE_RECORD__@@";function _ee(e){return!!(e&&e[pP]&&!e[vc])}function See(e){return!!(e&&e[fP]&&!e[vc])}function Ec(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function Aee(e){return!!(e&&Ec(e)&&e[Eee])}function Cee(e){return!!(e&&Ec(e)&&e[pP]&&e[vc])}function Ree(e){return!!(e&&Ec(e)&&e[fP]&&e[vc])}function Tee(e){return!!(e&&Ec(e)&&e[wee])}var hP=Symbol.iterator;function TC(e){return!!(e!=null&&e[hP])}function _r(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!TC(e)||!TC(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return o[i]===t;n.push(e),o.push(t);let s=[...r.filter(c=>c!==_r),l];function l(c,d){return _r(c,d,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Hr("Set",e)||See(e)){let c=!0;for(let d of e)if(!t.has(d)){let p=!1;for(let h of t)st(d,h,s)===!0&&(p=!0);if(p===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Hr("Map",e)||_ee(e)){let c=!0;for(let d of e)if(!t.has(d[0])||!st(d[1],t.get(d[0]),s)){let p=!1;for(let h of t){let m=st(d[0],h[0],s),y=!1;m===!0&&(y=st(d[1],h[1],s)),y===!0&&(p=!0)}if(p===!1){c=!1;break}}return n.pop(),o.pop(),c}}let u=t[hP]();for(let c of e){let d=u.next();if(d.done||!st(c,d.value,s))return!1}if(!u.next().done)return!1;if(!Aee(e)&&!Cee(e)&&!Ree(e)&&!Tee(e)){let c=Object.entries(e),d=Object.entries(t);if(!st(c,d))return!1}return n.pop(),o.pop(),!0}function Qg(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Qg(Object.getPrototypeOf(e),t)}function Oee(e){return _u(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Ks(e,t,r=[]){let n=r.filter(i=>i!==Ks),o=(i=new WeakMap)=>(s,l)=>{if(Oee(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(i.has(l[u]))return st(s[u],l[u],n);i.set(l[u],!0)}let c=s!=null&&Qg(s,u)&&st(s[u],l[u],[...n,o(i)]);return i.delete(l[u]),c})};return o()(e,t)}function OC(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function PC(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function xb(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),i=r.filter(s=>s!==xb);return st(e,t,i,!0)&&st(n,o)}function Pee(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
348
+
349
+ If it should pass with deep equality, replace "toBe" with "${e}"
350
+
351
+ Expected: ${t}
352
+ Received: serializes to the same string
353
+ `:n}function xee(e,t){return`${t} ${e}${t===1?"":"s"}`}function Vy(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function qee(e,t,r=[]){let n=0,o=(i=new WeakMap)=>(s,l)=>{if(Array.isArray(s)){if(Array.isArray(l)&&l.length===s.length)return l.map((u,c)=>o(i)(s[c],u))}else{if(s instanceof Date)return s;if(_u(s)&&_u(l)){if(st(s,l,[...r,_r,Ks]))return l;let u={};i.set(s,u);for(let c of Vy(s))Qg(l,c)?u[c]=i.has(s[c])?i.get(s[c]):o(i)(s[c],l[c]):i.has(s[c])||(n+=1,_u(s[c])&&(n+=Vy(s[c]).length),o(i)(s[c],l[c]));if(Vy(u).length>0)return u}}return s};return{subset:o()(e,t),stripped:n}}var ro=class{constructor(e,t=!1){At(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Fu(e||globalThis[Kg]),equals:st,isNot:this.inverse,customTesters:Xg(),utils:{...uP(),diff:gi,stringify:qr,iterableEquality:_r,subsetEquality:Ks}}}[Symbol.for("chai/inspect")](e){let t=qr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`}},xC=class extends ro{constructor(e,t=!1){if(!Hr("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Hr("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},Dee=class extends ro{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},qC=class extends ro{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!st(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},DC=class extends ro{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>st(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},Iee=class extends ro{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},IC=class extends ro{constructor(e,t=!1){if(!Hr("String",e)&&!Hr("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Hr("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},MC=class extends ro{constructor(t,r=2,n=!1){if(!Hr("Number",t))throw new Error("Expected is not a Number");if(!Hr("Number",r))throw new Error("Precision is not a Number");super(t);At(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Hr("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${xee("digit",this.precision)})`].join(" ")}},Mee=(e,t)=>{t.addMethod(e.expect,"anything",()=>new Dee),t.addMethod(e.expect,"any",r=>new Iee(r)),t.addMethod(e.expect,"stringContaining",r=>new xC(r)),t.addMethod(e.expect,"objectContaining",r=>new qC(r)),t.addMethod(e.expect,"arrayContaining",r=>new DC(r)),t.addMethod(e.expect,"stringMatching",r=>new IC(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new MC(r,n)),e.expect.not={stringContaining:r=>new xC(r,!0),objectContaining:r=>new qC(r,!0),arrayContaining:r=>new DC(r,!0),stringMatching:r=>new IC(r,!0),closeTo:(r,n)=>new MC(r,n,!0)}};function NC(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function mP(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(i){o.result||(o.result={state:"fail"}),o.result.state="fail",(n=o.result).errors||(n.errors=[]),o.result.errors.push(sP(i))}}}var Nee=(e,t)=>{let{AssertionError:r}=e,n=Xg();function o(d,p){let h=m=>{let y=mP(t,p);t.addMethod(e.Assertion.prototype,m,y),t.addMethod(globalThis[Is].matchers,m,y)};Array.isArray(d)?d.forEach(m=>h(m)):h(d)}["throw","throws","Throw"].forEach(d=>{t.overwriteMethod(e.Assertion.prototype,d,p=>function(...h){let m=t.flag(this,"promise"),y=t.flag(this,"object"),g=t.flag(this,"negate");if(m==="rejects")t.flag(this,"object",()=>{throw y});else if(m==="resolves"&&typeof y!="function"){if(g)return;{let E=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(E,b,t.flag(this,"ssfi"))}}p.apply(this,h)})}),o("withTest",function(d){return t.flag(this,"vitest-test",d),this}),o("toEqual",function(d){let p=t.flag(this,"object"),h=st(p,d,[...n,_r]);return this.assert(h,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",d,p)}),o("toStrictEqual",function(d){let p=t.flag(this,"object"),h=st(p,d,[...n,_r,OC,xb,PC],!0);return this.assert(h,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",d,p)}),o("toBe",function(d){let p=this._obj,h=Object.is(p,d),m="";return h||(st(p,d,[...n,_r,OC,xb,PC],!0)?m="toStrictEqual":st(p,d,[...n,_r])&&(m="toEqual")),this.assert(h,Pee(m),"expected #{this} not to be #{exp} // Object.is equality",d,p)}),o("toMatchObject",function(d){let p=this._obj,h=st(p,d,[...n,_r,Ks]),m=t.flag(this,"negate"),{subset:y,stripped:g}=qee(p,d);if(h&&m||!h&&!m){let E=t.getMessage(this,[h,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",d,y,!1]),b=g===0?E:`${E}
354
+ (${g} matching ${g===1?"property":"properties"} omitted from actual)`;throw new r(b,{showDiff:!0,expected:d,actual:y})}}),o("toMatch",function(d){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof d=="string"?p.includes(d):p.match(d),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",d,p)}),o("toContain",function(d){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(d instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof d}`);return this.assert(p.contains(d),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",d,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){hn(d,"class name",["string"]);let h=t.flag(this,"negate")?p.value.replace(d,"").trim():`${p.value} ${d}`;return this.assert(p.contains(d),`expected "${p.value}" to contain "${d}"`,`expected "${p.value}" not to contain "${d}"`,h,p.value)}return typeof p=="string"&&typeof d=="string"?this.assert(p.includes(d),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",d,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(d))}),o("toContainEqual",function(d){let p=t.flag(this,"object"),h=Array.from(p).findIndex(m=>st(m,d,n));this.assert(h!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",d)}),o("toBeTruthy",function(){let d=t.flag(this,"object");this.assert(!!d,"expected #{this} to be truthy","expected #{this} to not be truthy",d,!1)}),o("toBeFalsy",function(){let d=t.flag(this,"object");this.assert(!d,"expected #{this} to be falsy","expected #{this} to not be falsy",d,!1)}),o("toBeGreaterThan",function(d){let p=this._obj;return hn(p,"actual",["number","bigint"]),hn(d,"expected",["number","bigint"]),this.assert(p>d,`expected ${p} to be greater than ${d}`,`expected ${p} to be not greater than ${d}`,p,d,!1)}),o("toBeGreaterThanOrEqual",function(d){let p=this._obj;return hn(p,"actual",["number","bigint"]),hn(d,"expected",["number","bigint"]),this.assert(p>=d,`expected ${p} to be greater than or equal to ${d}`,`expected ${p} to be not greater than or equal to ${d}`,p,d,!1)}),o("toBeLessThan",function(d){let p=this._obj;return hn(p,"actual",["number","bigint"]),hn(d,"expected",["number","bigint"]),this.assert(p<d,`expected ${p} to be less than ${d}`,`expected ${p} to be not less than ${d}`,p,d,!1)}),o("toBeLessThanOrEqual",function(d){let p=this._obj;return hn(p,"actual",["number","bigint"]),hn(d,"expected",["number","bigint"]),this.assert(p<=d,`expected ${p} to be less than or equal to ${d}`,`expected ${p} to be not less than or equal to ${d}`,p,d,!1)}),o("toBeNaN",function(){return this.be.NaN}),o("toBeUndefined",function(){return this.be.undefined}),o("toBeNull",function(){return this.be.null}),o("toBeDefined",function(){let d=t.flag(this,"negate");return t.flag(this,"negate",!1),d?this.be.undefined:this.not.be.undefined}),o("toBeTypeOf",function(d){let p=typeof this._obj,h=d===p;return this.assert(h,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",d,p)}),o("toBeInstanceOf",function(d){return this.instanceOf(d)}),o("toHaveLength",function(d){return this.have.length(d)}),o("toHaveProperty",function(...d){Array.isArray(d[0])&&(d[0]=d[0].map(P=>String(P).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[h,m]=d,y=()=>Object.prototype.hasOwnProperty.call(p,h)?{value:p[h],exists:!0}:t.getPathInfo(p,h),{value:g,exists:E}=y(),b=E&&(d.length===1||st(m,g,n)),w=d.length===1?"":` with value ${t.objDisplay(m)}`;return this.assert(b,`expected #{this} to have property "${h}"${w}`,`expected #{this} to not have property "${h}"${w}`,m,E?g:void 0)}),o("toBeCloseTo",function(d,p=2){let h=this._obj,m=!1,y=0,g=0;return d===Number.POSITIVE_INFINITY&&h===Number.POSITIVE_INFINITY||d===Number.NEGATIVE_INFINITY&&h===Number.NEGATIVE_INFINITY?m=!0:(y=10**-p/2,g=Math.abs(h-d),m=g<y),this.assert(m,`expected #{this} to be close to #{exp}, received difference is ${g}, but expected ${y}`,`expected #{this} to not be close to #{exp}, received difference is ${g}, but expected ${y}`,d,h,!1)});let i=d=>{if(!Yg(d._obj))throw new TypeError(`${t.inspect(d._obj)} is not a spy or a call to a spy!`)},s=d=>(i(d),d._obj),l=d=>{let p=d%10,h=d%100;return p===1&&h!==11?`${d}st`:p===2&&h!==12?`${d}nd`:p===3&&h!==13?`${d}rd`:`${d}th`},u=(d,p,h)=>(d.mock.calls&&(p+=Ot.gray(`
355
+
356
+ Received:
357
+
358
+ ${d.mock.calls.map((m,y)=>{let g=Ot.bold(` ${l(y+1)} ${d.getMockName()} call:
359
+
360
+ `);return h?g+=gi(h,m,{omitAnnotationLines:!0}):g+=qr(m).split(`
361
+ `).map(E=>` ${E}`).join(`
362
+ `),g+=`
363
+ `,g}).join(`
364
+ `)}`)),p+=Ot.gray(`
365
+
366
+ Number of calls: ${Ot.bold(d.mock.calls.length)}
367
+ `),p),c=(d,p,h,m)=>(h+=Ot.gray(`
368
+
369
+ Received:
370
+
371
+ ${p.map((y,g)=>{let E=Ot.bold(` ${l(g+1)} ${d.getMockName()} call return:
372
+
373
+ `);return m?E+=gi(m,y.value,{omitAnnotationLines:!0}):E+=qr(y).split(`
374
+ `).map(b=>` ${b}`).join(`
375
+ `),E+=`
376
+ `,E}).join(`
377
+ `)}`),h+=Ot.gray(`
378
+
379
+ Number of calls: ${Ot.bold(d.mock.calls.length)}
380
+ `),h);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(d){let p=s(this),h=p.getMockName(),m=p.mock.calls.length;return this.assert(m===d,`expected "${h}" to be called #{exp} times, but got ${m} times`,`expected "${h}" to not be called #{exp} times`,d,m,!1)}),o("toHaveBeenCalledOnce",function(){let d=s(this),p=d.getMockName(),h=d.mock.calls.length;return this.assert(h===1,`expected "${p}" to be called once, but got ${h} times`,`expected "${p}" to not be called once`,1,h,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let d=s(this),p=d.getMockName(),h=d.mock.calls.length,m=h>0,y=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${h} times`,!0,m]);if(m&&y&&(g=u(d,g)),m&&y||!m&&!y)throw new r(g)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...d){let p=s(this),h=p.getMockName(),m=p.mock.calls.some(E=>st(E,d,[...n,_r])),y=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${h}" to be called with arguments: #{exp}`,`expected "${h}" to not be called with arguments: #{exp}`,d]);if(m&&y||!m&&!y)throw new r(u(p,g,d))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(d,...p){let h=s(this),m=h.getMockName(),y=h.mock.calls[d-1],g=h.mock.calls.length,E=d<=g;this.assert(st(y,p,[...n,_r]),`expected ${l(d)} "${m}" call to have been called with #{exp}${E?"":`, but called only ${g} times`}`,`expected ${l(d)} "${m}" call to not have been called with #{exp}`,p,y,E)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...d){let p=s(this),h=p.getMockName(),m=p.mock.calls[p.mock.calls.length-1];this.assert(st(m,d,[...n,_r]),`expected last "${h}" call to have been called with #{exp}`,`expected last "${h}" call to not have been called with #{exp}`,d,m)}),o(["toThrow","toThrowError"],function(d){if(typeof d=="string"||typeof d>"u"||d instanceof RegExp)return this.throws(d);let p=this._obj,h=t.flag(this,"promise"),m=t.flag(this,"negate"),y=null;if(h==="rejects")y=p;else if(h==="resolves"&&typeof p!="function"){if(m)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",E={showDiff:!1};throw new r(g,E,t.flag(this,"ssfi"))}}else{let g=!1;try{p()}catch(E){g=!0,y=E}if(!g&&!m){let E=t.flag(this,"message")||"expected function to throw an error, but it didn't",b={showDiff:!1};throw new r(E,b,t.flag(this,"ssfi"))}}if(typeof d=="function"){let g=d.name||d.prototype.constructor.name;return this.assert(y&&y instanceof d,`expected error to be instance of ${g}`,`expected error not to be instance of ${g}`,d,y)}if(d instanceof Error)return this.assert(y&&d.message===y.message,`expected error to have message: ${d.message}`,`expected error not to have message: ${d.message}`,d.message,y&&y.message);if(typeof d=="object"&&"asymmetricMatch"in d&&typeof d.asymmetricMatch=="function"){let g=d;return this.assert(y&&g.asymmetricMatch(y),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",g,y)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof d}"`)}),[{name:"toHaveResolved",condition:d=>d.mock.settledResults.length>0&&d.mock.settledResults.some(({type:p})=>p==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:d=>d.mock.calls.length>0&&d.mock.results.some(({type:p})=>p!=="throw"),action:"called"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(){let m=s(this),y=m.getMockName(),g=p(m);this.assert(g,`expected "${y}" to be successfully ${h} at least once`,`expected "${y}" to not be successfully ${h}`,g,!g,!1)})}),[{name:"toHaveResolvedTimes",condition:(d,p)=>d.mock.settledResults.reduce((h,{type:m})=>m==="fulfilled"?++h:h,0)===p,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(d,p)=>d.mock.results.reduce((h,{type:m})=>m==="throw"?h:++h,0)===p,action:"called"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(m){let y=s(this),g=y.getMockName(),E=p(y,m);this.assert(E,`expected "${g}" to be successfully ${h} ${m} times`,`expected "${g}" to not be successfully ${h} ${m} times`,`expected resolved times: ${m}`,`received resolved times: ${E}`,!1)})}),[{name:"toHaveResolvedWith",condition:(d,p)=>d.mock.settledResults.some(({type:h,value:m})=>h==="fulfilled"&&st(p,m)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(d,p)=>d.mock.results.some(({type:h,value:m})=>h==="return"&&st(p,m)),action:"return"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(m){let y=s(this),g=p(y,m),E=t.flag(this,"negate");if(g&&E||!g&&!E){let b=y.getMockName(),w=t.getMessage(this,[g,`expected "${b}" to ${h} with: #{exp} at least once`,`expected "${b}" to not ${h} with: #{exp}`,m]),P=h==="return"?y.mock.results:y.mock.settledResults;throw new r(c(y,P,w,m))}})}),[{name:"toHaveLastResolvedWith",condition:(d,p)=>{let h=d.mock.settledResults[d.mock.settledResults.length-1];return h&&h.type==="fulfilled"&&st(h.value,p)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(d,p)=>{let h=d.mock.results[d.mock.results.length-1];return h&&h.type==="return"&&st(h.value,p)},action:"return"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(m){let y=s(this),g=h==="return"?y.mock.results:y.mock.settledResults,E=g[g.length-1],b=y.getMockName();this.assert(p(y,m),`expected last "${b}" call to ${h} #{exp}`,`expected last "${b}" call to not ${h} #{exp}`,m,E?.value)})}),[{name:"toHaveNthResolvedWith",condition:(d,p,h)=>{let m=d.mock.settledResults[p-1];return m&&m.type==="fulfilled"&&st(m.value,h)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(d,p,h)=>{let m=d.mock.results[p-1];return m&&m.type==="return"&&st(m.value,h)},action:"return"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(m,y){let g=s(this),E=g.getMockName(),b=(h==="return"?g.mock.results:g.mock.settledResults)[m-1],w=`${l(m)} call`;this.assert(p(g,m,y),`expected ${w} "${E}" call to ${h} #{exp}`,`expected ${w} "${E}" call to not ${h} #{exp}`,y,b?.value)})}),o("toSatisfy",function(d,p){return this.be.satisfy(d,p)}),o("withContext",function(d){for(let p in d)t.flag(this,p,d[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let d=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",d);let p=t.flag(this,"vitest-test"),h=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof h?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof h}'.`);let m=new Proxy(this,{get:(y,g,E)=>{let b=Reflect.get(y,g,E);return typeof b!="function"?b instanceof e.Assertion?m:b:async(...w)=>{let P=h.then(A=>(t.flag(this,"object",A),b.call(this,...w)),A=>{let S=new r(`promise rejected "${t.inspect(A)}" instead of resolving`,{showDiff:!1});throw S.cause=A,S.stack=d.stack.replace(d.message,S.message),S});return NC(p,P)}}});return m}),t.addProperty(e.Assertion.prototype,"rejects",function(){let d=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",d);let p=t.flag(this,"vitest-test"),h=t.flag(this,"object"),m=typeof h=="function"?h():h;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof m?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);let y=new Proxy(this,{get:(g,E,b)=>{let w=Reflect.get(g,E,b);return typeof w!="function"?w instanceof e.Assertion?y:w:async(...P)=>{let A=m.then(S=>{let T=new r(`promise resolved "${t.inspect(S)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:S});throw T.stack=d.stack.replace(d.message,T.message),T},S=>(t.flag(this,"object",S),w.call(this,...P)));return NC(p,A)}}});return y})};function Bee(e,t){let r=e._obj,n=on.flag(e,"negate"),o=on.flag(e,"promise")||"",i={...uP(),diff:gi,stringify:qr,iterableEquality:_r,subsetEquality:Ks};return{state:{...Fu(t),customTesters:Xg(),isNot:n,utils:i,promise:o,equals:st,suppressedErrors:[],soft:on.flag(e,"soft"),poll:on.flag(e,"poll")},isNot:n,obj:r}}var BC=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function jee(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,s])=>{function l(...p){let{state:h,isNot:m,obj:y}=Bee(this,t),g=s.call(h,y,...p);if(g&&typeof g=="object"&&g instanceof Promise)return g.then(({pass:A,message:S,actual:T,expected:C})=>{if(A&&m||!A&&!m)throw new BC(S(),T,C)});let{pass:E,message:b,actual:w,expected:P}=g;if(E&&m||!E&&!m)throw new BC(b(),w,P)}let u=mP(o,l);o.addMethod(globalThis[Is].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);class c extends ro{constructor(h=!1,...m){super(m,h)}asymmetricMatch(h){let{pass:m}=s.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let d=(...p)=>new c(!1,...p);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...p)=>new c(!0,...p),writable:!0}),Object.defineProperty(globalThis[Pb],i,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}var Fee=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{_s(jee(e,r,n))})};function Lee(){_s(Fee),_s(Nee),_s(Mee);let e=(n,o)=>{let{assertionCalls:i}=Fu(e);return Hy({assertionCalls:i+1,soft:!1},e),Lo(n,o)};Object.assign(e,Lo),e.getState=()=>Fu(e),e.setState=n=>Hy(n,e),e.extend=n=>Lo.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.unreachable=n=>{U.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return Hy({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),on.addMethod(e,"assertions",t),on.addMethod(e,"hasAssertions",r),e.extend(RT),e}var yP=Lee();Object.defineProperty(globalThis,Kg,{value:yP,writable:!0,configurable:!0});var qb=new Set;function bP(e){return qb.add(e),()=>void qb.delete(e)}var kee=(...e)=>{let t=aee(...e);return vP(t)};function gP(e){let t=e?_C(e):_C();return vP(t)}function vP(e){let t=jC(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>jC(r(n)),t}function jC(e){let t=ju(e),r=t.impl;return t.willCall(function(...n){return qb.forEach(o=>o(e,n)),r?.apply(this,n)}),e}function EP(){Ys.forEach(e=>e.mockClear())}function wP(){Ys.forEach(e=>e.mockReset())}function _P(){Ys.forEach(e=>e.mockRestore())}function $ee(e,t={}){return e}var SP={};Ju(SP,{buildQueries:()=>An,configure:()=>Qte,createEvent:()=>Ru,findAllByAltText:()=>Tx,findAllByDisplayValue:()=>wx,findAllByLabelText:()=>ex,findAllByPlaceholderText:()=>ux,findAllByRole:()=>kx,findAllByTestId:()=>zx,findAllByText:()=>mx,findAllByTitle:()=>Ix,findByAltText:()=>Ox,findByDisplayValue:()=>_x,findByLabelText:()=>tx,findByPlaceholderText:()=>cx,findByRole:()=>$x,findByTestId:()=>Wx,findByText:()=>yx,findByTitle:()=>Mx,fireEvent:()=>Fs,getAllByAltText:()=>Cx,getAllByDisplayValue:()=>vx,getAllByLabelText:()=>rx,getAllByPlaceholderText:()=>sx,getAllByRole:()=>Fx,getAllByTestId:()=>Vx,getAllByText:()=>fx,getAllByTitle:()=>qx,getByAltText:()=>Rx,getByDisplayValue:()=>Ex,getByLabelText:()=>nx,getByPlaceholderText:()=>lx,getByRole:()=>Lx,getByTestId:()=>Gx,getByText:()=>hx,getByTitle:()=>Dx,getConfig:()=>at,getDefaultNormalizer:()=>ov,getElementError:()=>_c,getMultipleElementsFoundError:()=>Sc,getNodeText:()=>Js,getQueriesForElement:()=>$b,getRoles:()=>WP,getSuggestedQuery:()=>$u,isInaccessible:()=>wc,logDOM:()=>Db,logRoles:()=>nre,makeFindQuery:()=>Ei,makeGetAllQuery:()=>sv,makeSingleQuery:()=>vi,prettyDOM:()=>Bs,prettyFormat:()=>Zg,queries:()=>Uu,queryAllByAltText:()=>Sx,queryAllByAttribute:()=>Yo,queryAllByDisplayValue:()=>bx,queryAllByLabelText:()=>ox,queryAllByPlaceholderText:()=>ax,queryAllByRole:()=>Bx,queryAllByTestId:()=>Ux,queryAllByText:()=>dx,queryAllByTitle:()=>Px,queryByAltText:()=>Ax,queryByAttribute:()=>KP,queryByDisplayValue:()=>gx,queryByLabelText:()=>QP,queryByPlaceholderText:()=>ix,queryByRole:()=>jx,queryByTestId:()=>Hx,queryByText:()=>px,queryByTitle:()=>xx,queryHelpers:()=>bre,screen:()=>Gre,waitFor:()=>iv,waitForElementToBeRemoved:()=>Fre,within:()=>$b,wrapAllByQueryWithSuggestion:()=>br,wrapSingleQueryWithSuggestion:()=>Qn});var Zg=Sr(VY()),Uee=Object.prototype.toString;function FC(e){return typeof e=="function"||Uee.call(e)==="[object Function]"}function Hee(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Vee=Math.pow(2,53)-1;function Gee(e){var t=Hee(e);return Math.min(Math.max(t,0),Vee)}function Ur(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!FC(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Gee(n.length),i=FC(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function Ms(e){"@babel/helpers - typeof";return Ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ms(e)}function zee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,AP(n.key),n)}}function Wee(e,t,r){return t&&LC(e.prototype,t),r&&LC(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Yee(e,t,r){return t=AP(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AP(e){var t=Kee(e,"string");return Ms(t)==="symbol"?t:String(t)}function Kee(e,t){if(Ms(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ms(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Jee=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];zee(this,e),Yee(this,"items",void 0),this.items=t}return Wee(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),Xee=typeof Set>"u"?Set:Jee;function sr(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Qee={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},Zee={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function ete(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=Zee[t])!==null&&n!==void 0&&n.has(r))})}function CP(e,t){return ete(e,t)}function tte(e){var t=nte(e);if(t===null||t==="presentation"){var r=rte(e);if(t!=="presentation"||CP(e,r||""))return r}return t}function rte(e){var t=Qee[sr(e)];if(t!==void 0)return t;switch(sr(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!CP(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function nte(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function St(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function RP(e){return St(e)&&sr(e)==="caption"}function Cu(e){return St(e)&&sr(e)==="input"}function ote(e){return St(e)&&sr(e)==="optgroup"}function ate(e){return St(e)&&sr(e)==="select"}function ite(e){return St(e)&&sr(e)==="table"}function ste(e){return St(e)&&sr(e)==="textarea"}function lte(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function ute(e){return St(e)&&sr(e)==="fieldset"}function cte(e){return St(e)&&sr(e)==="legend"}function dte(e){return St(e)&&sr(e)==="slot"}function pte(e){return St(e)&&e.ownerSVGElement!==void 0}function fte(e){return St(e)&&sr(e)==="svg"}function hte(e){return pte(e)&&sr(e)==="title"}function ku(e,t){if(St(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function bn(e,t){return St(e)?t.indexOf(tte(e))!==-1:!1}function mte(e){return e.trim().replace(/\s\s+/g," ")}function yte(e,t){if(!St(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function bte(e){return bn(e,["button","combobox","listbox","textbox"])||TP(e,"range")}function TP(e,t){if(!St(e))return!1;switch(t){case"range":return bn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function kC(e,t){var r=Ur(e.querySelectorAll(t));return ku(e,"aria-owns").forEach(function(n){r.push.apply(r,Ur(n.querySelectorAll(t)))}),r}function gte(e){return ate(e)?e.selectedOptions||kC(e,"[selected]"):kC(e,'[aria-selected="true"]')}function vte(e){return bn(e,["none","presentation"])}function Ete(e){return RP(e)}function wte(e){return bn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function _te(e){return!1}function Ste(e){return Cu(e)||ste(e)?e.value:e.textContent||""}function $C(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function OP(e){var t=sr(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function PP(e){if(OP(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&St(r)){var n=PP(r);n!==null&&(t=n)}}),t}function Ate(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):PP(e)}function Cte(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ur(t);if(!OP(e))return null;var r=e.ownerDocument;return Ur(r.querySelectorAll("label")).filter(function(n){return Ate(n)===e})}function Rte(e){var t=e.assignedNodes();return t.length===0?Ur(e.childNodes):t}function xP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Xee,n=lte(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,d=t.hidden,p=d===void 0?!1:d;function h(b,w){var P="";if(St(b)&&l){var A=c(b,"::before"),S=$C(A);P="".concat(S," ").concat(P)}var T=dte(b)?Rte(b):Ur(b.childNodes).concat(ku(b,"aria-owns"));if(T.forEach(function(I){var W=E(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=St(I)?c(I).getPropertyValue("display"):"inline",Y=X!=="inline"?" ":"";P+="".concat(Y).concat(W).concat(Y)}),St(b)&&l){var C=c(b,"::after"),O=$C(C);P="".concat(P," ").concat(O)}return P.trim()}function m(b,w){var P=b.getAttributeNode(w);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}function y(b){return St(b)?m(b,"title"):null}function g(b){if(!St(b))return null;if(ute(b)){r.add(b);for(var w=Ur(b.childNodes),P=0;P<w.length;P+=1){var A=w[P];if(cte(A))return E(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ite(b)){r.add(b);for(var S=Ur(b.childNodes),T=0;T<S.length;T+=1){var C=S[T];if(RP(C))return E(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(fte(b)){r.add(b);for(var O=Ur(b.childNodes),I=0;I<O.length;I+=1){var W=O[I];if(hte(W))return W.textContent}return null}else if(sr(b)==="img"||sr(b)==="area"){var X=m(b,"alt");if(X!==null)return X}else if(ote(b)){var Y=m(b,"label");if(Y!==null)return Y}if(Cu(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var K=m(b,"value");if(K!==null)return K;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var _=Cte(b);if(_!==null&&_.length!==0)return r.add(b),Ur(_).map(function(ce){return E(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(Cu(b)&&b.type==="image"){var x=m(b,"alt");if(x!==null)return x;var N=m(b,"title");return N!==null?N:"Submit Query"}if(bn(b,["button"])){var le=h(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(le!=="")return le}return null}function E(b,w){if(r.has(b))return"";if(!p&&yte(b,c)&&!w.isReferenced)return r.add(b),"";var P=St(b)?b.getAttributeNode("aria-labelledby"):null,A=P!==null&&!r.has(P)?ku(b,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&A.length>0)return r.add(P),A.map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=w.recursion&&bte(b)&&i==="name";if(!S){var T=(St(b)&&b.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(b),T;if(!vte(b)){var C=g(b);if(C!==null)return r.add(b),C}}if(bn(b,["menu"]))return r.add(b),"";if(S||w.isEmbeddedInLabel||w.isReferenced){if(bn(b,["combobox","listbox"])){r.add(b);var O=gte(b);return O.length===0?Cu(b)?b.value:"":Ur(O).map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(TP(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(bn(b,["textbox"]))return r.add(b),Ste(b)}if(wte(b)||St(b)&&w.isReferenced||Ete(b)||_te(b)){var I=h(b,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(I!=="")return r.add(b),I}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(w.recursion)return r.add(b),h(b,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var W=y(b);return W!==null?(r.add(b),W):(r.add(b),"")}return mte(E(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Ns(e){"@babel/helpers - typeof";return Ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ns(e)}function UC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function HC(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?UC(Object(r),!0).forEach(function(n){Tte(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):UC(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Tte(e,t,r){return t=Ote(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ote(e){var t=Pte(e,"string");return Ns(t)==="symbol"?t:String(t)}function Pte(e,t){if(Ns(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ns(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=ku(e,"aria-describedby").map(function(o){return xP(o,HC(HC({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function xte(e){return bn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ev(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return xte(e)?"":xP(e,t)}var Or=Sr(Kb()),qte=Sr(GY());function DP(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Dte=(e,t,r,n,o,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
381
+ `)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},Ite=3,Mte=(e,t,r,n,o,i)=>e.map(s=>{let l=typeof s=="string"?IP(s,t):i(s,t,r,n,o);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==Ite?"":t.spacingOuter+r+l}).join(""),IP=(e,t)=>{let r=t.colors.content;return r.open+DP(e)+r.close},Nte=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+DP(e)+"-->"+r.close},Bte=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},jte=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},Fte=1,MP=3,NP=8,BP=11,Lte=/^((HTML|SVG)\w*)?Element$/,jP=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},kte=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Fte&&(Lte.test(t)||jP(e))||r===MP&&t==="Text"||r===NP&&t==="Comment"||r===BP&&t==="DocumentFragment"};function $te(e){return e.nodeType===MP}function Ute(e){return e.nodeType===NP}function Gy(e){return e.nodeType===BP}function Hte(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||jP(t))&&kte(t)},serialize:(t,r,n,o,i,s)=>{if($te(t))return IP(t.data,r);if(Ute(t))return Nte(t.data,r);let l=Gy(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?jte(l,r):Bte(l,Dte(Gy(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Gy(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,i,s),Mte(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,s),r,n)}}}var FP=null,tv=null,rv=null;try{let e=jo&&jo.require;tv=e.call(jo,"fs").readFileSync,rv=e.call(jo,"@babel/code-frame").codeFrameColumns,FP=e.call(jo,"chalk")}catch{}function Vte(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,s,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=tv(i,"utf-8")}catch{return""}let c=rv(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return FP.dim(n)+`
382
+ `+c+`
383
+ `}function Gte(){if(!tv||!rv)return"";let e=new Error().stack.split(`
384
+ `).slice(1).find(t=>!t.includes("node_modules/"));return Vte(e)}var LP=3;function zy(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function nv(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function kP(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Sn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var zte=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:Wte}=Zg.plugins,Yte=1,Kte=8;function Jte(e){return e.nodeType!==Kte&&(e.nodeType!==Yte||!e.matches(at().defaultIgnore))}function Bs(e,t,r){if(r===void 0&&(r={}),e||(e=nv().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=Jte,...i}=r,s=Zg.format(e,{plugins:[Hte(o),Wte],printFunctionName:!1,highlight:zte(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var Db=function(){let e=Gte();console.log(e?Bs(...arguments)+`
385
+
386
+ `+e:Bs(...arguments))},ko={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Bs(t),n=new Error([e,"Ignored nodes: comments, "+ko.defaultIgnore+`
387
+ `+r].filter(Boolean).join(`
388
+
389
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Xte(e){try{return ko._disableExpensiveErrorDiagnostics=!0,e()}finally{ko._disableExpensiveErrorDiagnostics=!1}}function Qte(e){typeof e=="function"&&(e=e(ko)),ko={...ko,...e}}function at(){return ko}var Zte=["button","meter","output","progress","select","textarea","input"];function $P(e){return Zte.includes(e.nodeName.toLowerCase())?"":e.nodeType===LP?e.textContent:Array.from(e.childNodes).map(t=>$P(t)).join("")}function Ib(e){let t;return e.tagName.toLowerCase()==="label"?t=$P(e):t=e.value||e.textContent,t}function UP(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!ere(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function ere(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function HP(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(s=>{let l=e.querySelector('[id="'+s+'"]');return l?{content:Ib(l),formControl:null}:{content:"",formControl:null}}):Array.from(UP(t)).map(s=>{let l=Ib(s),u=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}function VP(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Pi(e,t,r,n){if(typeof e!="string")return!1;VP(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):GP(r,o)}function vn(e,t,r,n){if(typeof e!="string")return!1;VP(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?GP(r,o):o===String(r)}function ov(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function Wo(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return ov({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function GP(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function Js(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===LP&&!!t.textContent).map(t=>t.textContent).join("")}var tre=rre(Or.elementRoles);function zP(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function wc(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=zP}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function av(e){for(let{match:t,roles:r}of tre)if(t(e))return[...r];return[]}function rre(e){function t(s){let{name:l,attributes:u}=s;return""+l+u.map(c=>{let{name:d,value:p,constraints:h=[]}=c,m=h.indexOf("undefined")!==-1,y=h.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':m?":not(["+d+"])":y?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}function r(s){let{attributes:l=[]}=s;return l.length}function n(s,l){let{specificity:u}=s,{specificity:c}=l;return c-u}function o(s){let{attributes:l=[]}=s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...s,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}function WP(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,s)=>[...i,...n(s)],[])]}return n(e).filter(o=>r===!1?wc(o)===!1:!0).reduce((o,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=av(i),s.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},o)},{})}function YP(e,t){let{hidden:r,includeDescription:n}=t,o=WP(e,{hidden:r});return Object.entries(o).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,l]=i,u="-".repeat(50),c=l.map(d=>{let p='Name "'+ev(d,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})+`":
390
+ `,h=Bs(d.cloneNode(!1));if(n){let m='Description "'+qP(d,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})+`":
391
+ `;return""+p+m+h}return""+p+h}).join(`
392
+
393
+ `);return s+`:
394
+
395
+ `+c+`
396
+
397
+ `+u}).join(`
398
+ `)}var nre=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(YP(e,{hidden:r}))};function ore(e){return e.tagName==="OPTION"?e.selected:Xs(e,"aria-selected")}function are(e){return e.getAttribute("aria-busy")==="true"}function ire(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Xs(e,"aria-checked")}function sre(e){return Xs(e,"aria-pressed")}function lre(e){var t,r;return(t=(r=Xs(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function ure(e){return Xs(e,"aria-expanded")}function Xs(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function cre(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function dre(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function pre(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function fre(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function hre(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var VC=ov();function mre(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function GC(e){return new RegExp(mre(e.toLowerCase()),"i")}function Hn(e,t,r,n){let{variant:o,name:i}=n,s="",l={},u=[["Role","TestId"].includes(e)?r:GC(r)];i&&(l.name=GC(i)),e==="Role"&&wc(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
399
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
400
+ `),Object.keys(l).length>0&&u.push(l);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:o,warning:s,toString(){s&&console.warn(s);let[d,p]=u;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(h=>{let[m,y]=h;return m+": "+y}).join(", ")+" }":"",c+"("+d+p+")"}}}function Vn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function $u(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(at().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=av(e))==null?void 0:o[0];if(i!=="generic"&&Vn("Role",r,i))return Hn("Role",e,i,{variant:t,name:ev(e,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})});let s=HP(document,e).map(h=>h.content).join(" ");if(Vn("LabelText",r,s))return Hn("LabelText",e,s,{variant:t});let l=e.getAttribute("placeholder");if(Vn("PlaceholderText",r,l))return Hn("PlaceholderText",e,l,{variant:t});let u=VC(Js(e));if(Vn("Text",r,u))return Hn("Text",e,u,{variant:t});if(Vn("DisplayValue",r,e.value))return Hn("DisplayValue",e,VC(e.value),{variant:t});let c=e.getAttribute("alt");if(Vn("AltText",r,c))return Hn("AltText",e,c,{variant:t});let d=e.getAttribute("title");if(Vn("Title",r,d))return Hn("Title",e,d,{variant:t});let p=e.getAttribute(at().testIdAttribute);if(Vn("TestId",r,p))return Hn("TestId",e,p,{variant:t})}function mu(e,t){e.stack=t.stack.replace(t.message,e.message)}function yre(e,t){let{container:r=nv(),timeout:n=at().asyncUtilTimeout,showOriginalStackTrace:o=at().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:at().getElementError(c.message,r).message}),c),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,d)=>{let p,h,m,y=!1,g="idle",E=setTimeout(S,n),b=zy();if(b){let{unstable_advanceTimersWrapper:T}=at();for(A();!y;){if(!zy()){let C=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||mu(C,i),d(C);return}if(await T(async()=>{jest.advanceTimersByTime(s)}),y)break;A()}}else{try{Sn(r)}catch(C){d(C);return}h=setInterval(P,s);let{MutationObserver:T}=kP(r);m=new T(P),m.observe(r,u),A()}function w(T,C){y=!0,clearTimeout(E),b||(clearInterval(h),m.disconnect()),T?d(T):c(C)}function P(){if(zy()){let T=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||mu(T,i),d(T)}else return A()}function A(){if(g!=="pending")try{let T=Xte(e);typeof T?.then=="function"?(g="pending",T.then(C=>{g="resolved",w(null,C)},C=>{g="rejected",p=C})):w(null,T)}catch(T){p=T}}function S(){let T;p?(T=p,!o&&T.name==="TestingLibraryElementError"&&mu(T,i)):(T=new Error("Timed out in waitFor."),o||mu(T,i)),w(l(T),null)}})}function iv(e,t){let r=new Error("STACK_TRACE_MESSAGE");return at().asyncWrapper(()=>yre(e,{stackTraceError:r,...t}))}function _c(e,t){return at().getElementError(e,t)}function Sc(e,t){return _c(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Yo(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=n===void 0?{}:n,u=o?vn:Pi,c=Wo({collapseWhitespace:i,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>u(d.getAttribute(e),d,r,c))}function KP(e,t,r,n){let o=Yo(e,t,r,n);if(o.length>1)throw Sc("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function vi(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(s.length>1){let l=s.map(u=>_c(null,u).message).join(`
401
+
402
+ `);throw Sc(t(r,...o)+`
403
+
404
+ Here are the matching elements:
405
+
406
+ `+l,r)}return s[0]||null}}function JP(e,t){return at().getElementError(`A better query is available, try this:
407
+ `+e.toString()+`
408
+ `,t)}function sv(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(!s.length)throw at().getElementError(t(r,...o),r);return s}}function Ei(e){return(t,r,n,o)=>iv(()=>e(t,r,n),{container:t,...o})}var Qn=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=at().throwSuggestions}={}]=i.slice(-1);if(l&&u){let c=$u(l,r);if(c&&!t.endsWith(c.queryName))throw JP(c.toString(),n)}return l},br=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=at().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let c=[...new Set(l.map(d=>{var p;return(p=$u(d,r))==null?void 0:p.toString()}))];if(c.length===1&&!t.endsWith($u(l[0],r).queryName))throw JP(c[0],n)}return l};function An(e,t,r){let n=Qn(vi(e,t),e.name,"query"),o=sv(e,r),i=vi(o,t),s=Qn(i,e.name,"get"),l=br(o,e.name.replace("query","get"),"getAll"),u=Ei(br(o,e.name,"findAll")),c=Ei(Qn(i,e.name,"find"));return[n,l,s,u,c]}var bre=Object.freeze({__proto__:null,getElementError:_c,wrapAllByQueryWithSuggestion:br,wrapSingleQueryWithSuggestion:Qn,getMultipleElementsFoundError:Sc,queryAllByAttribute:Yo,queryByAttribute:KP,makeSingleQuery:vi,makeGetAllQuery:sv,makeFindQuery:Ei,buildQueries:An});function gre(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ib(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var vre=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,l=n?vn:Pi,u=Wo({collapseWhitespace:i,trim:o,normalizer:s});return gre(e).filter(c=>{let{node:d,textToMatch:p}=c;return l(p,d,t,u)}).map(c=>{let{node:d}=c;return d})},js=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=r===void 0?{}:r;Sn(e);let u=o?vn:Pi,c=Wo({collapseWhitespace:i,trim:s,normalizer:l}),d=Array.from(e.querySelectorAll("*")).filter(p=>UP(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let m=HP(e,h,{selector:n});m.filter(g=>!!g.formControl).forEach(g=>{u(g.content,g.formControl,t,c)&&g.formControl&&p.push(g.formControl)});let y=m.filter(g=>!!g.content).map(g=>g.content);return u(y.join(" "),h,t,c)&&p.push(h),y.length>1&&y.forEach((g,E)=>{u(g,h,t,c)&&p.push(h);let b=[...y];b.splice(E,1),b.length>1&&u(b.join(" "),h,t,c)&&p.push(h)}),p},[]).concat(Yo("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(d)).filter(p=>p.matches(n))},Ho=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=js(e,t,...n);if(!i.length){let s=vre(e,t,...n);if(s.length){let l=s.map(u=>Ere(e,u)).filter(u=>!!u);throw l.length?at().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
409
+
410
+ `),e):at().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw at().getElementError("Unable to find a label with the text of: "+t,e)}return i};function Ere(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var XP=(e,t)=>"Found multiple elements with the text of: "+t,QP=Qn(vi(js,XP),js.name,"query"),ZP=vi(Ho,XP),ex=Ei(br(Ho,Ho.name,"findAll")),tx=Ei(Qn(ZP,Ho.name,"find")),rx=br(Ho,Ho.name,"getAll"),nx=Qn(ZP,Ho.name,"get"),ox=br(js,js.name,"queryAll"),Mb=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Sn(t[0]),Yo("placeholder",...t)},wre=(e,t)=>"Found multiple elements with the placeholder text of: "+t,_re=(e,t)=>"Unable to find an element with the placeholder text of: "+t,ax=br(Mb,Mb.name,"queryAll"),[ix,sx,lx,ux,cx]=An(Mb,wre,_re),Nb=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,ignore:l=at().defaultIgnore,normalizer:u}=r===void 0?{}:r;Sn(e);let c=o?vn:Pi,d=Wo({collapseWhitespace:i,trim:s,normalizer:u}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>c(Js(h),h,t,d))},Sre=(e,t)=>"Found multiple elements with the text: "+t,Are=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:s}=r,l=Wo({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),u=l!==t.toString(),c=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},dx=br(Nb,Nb.name,"queryAll"),[px,fx,hx,mx,yx]=An(Nb,Sre,Are),Bb=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Sn(e);let l=n?vn:Pi,u=Wo({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(d=>d.selected).some(d=>l(Js(d),d,t,u)):l(c.value,c,t,u))},Cre=(e,t)=>"Found multiple elements with the display value: "+t+".",Rre=(e,t)=>"Unable to find an element with the display value: "+t+".",bx=br(Bb,Bb.name,"queryAll"),[gx,vx,Ex,wx,_x]=An(Bb,Cre,Rre),Tre=/^(img|input|area|.+-.+)$/i,jb=function(e,t,r){return r===void 0&&(r={}),Sn(e),Yo("alt",e,t,r).filter(n=>Tre.test(n.tagName))},Ore=(e,t)=>"Found multiple elements with the alt text: "+t,Pre=(e,t)=>"Unable to find an element with the alt text: "+t,Sx=br(jb,jb.name,"queryAll"),[Ax,Cx,Rx,Tx,Ox]=An(jb,Ore,Pre),xre=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Fb=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Sn(e);let l=n?vn:Pi,u=Wo({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||xre(c)&&l(Js(c),c,t,u))},qre=(e,t)=>"Found multiple elements with the title: "+t+".",Dre=(e,t)=>"Unable to find an element with the title: "+t+".",Px=br(Fb,Fb.name,"queryAll"),[xx,qx,Dx,Ix,Mx]=An(Fb,qre,Dre),Lb=function(e,t,r){let{hidden:n=at().defaultHidden,name:o,description:i,queryFallbacks:s=!1,selected:l,busy:u,checked:c,pressed:d,current:p,level:h,expanded:m,value:{now:y,min:g,max:E,text:b}={}}=r===void 0?{}:r;if(Sn(e),l!==void 0){var w;if(((w=Or.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var P;if(((P=Or.roles.get(t))==null?void 0:P.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var A;if(((A=Or.roles.get(t))==null?void 0:A.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var S;if(((S=Or.roles.get(t))==null?void 0:S.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var T;if(((T=Or.roles.get(t))==null?void 0:T.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(y!==void 0){var C;if(((C=Or.roles.get(t))==null?void 0:C.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var O;if(((O=Or.roles.get(t))==null?void 0:O.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==void 0){var I;if(((I=Or.roles.get(t))==null?void 0:I.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var W;if(((W=Or.roles.get(t))==null?void 0:W.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var X;if(((X=Or.roles.get(t))==null?void 0:X.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let Y=new WeakMap;function K(_){return Y.has(_)||Y.set(_,zP(_)),Y.get(_)}return Array.from(e.querySelectorAll(Ire(t))).filter(_=>{if(_.hasAttribute("role")){let x=_.getAttribute("role");if(s)return x.split(" ").filter(Boolean).some(le=>le===t);let[N]=x.split(" ");return N===t}return av(_).some(x=>x===t)}).filter(_=>{if(l!==void 0)return l===ore(_);if(u!==void 0)return u===are(_);if(c!==void 0)return c===ire(_);if(d!==void 0)return d===sre(_);if(p!==void 0)return p===lre(_);if(m!==void 0)return m===ure(_);if(h!==void 0)return h===cre(_);if(y!==void 0||E!==void 0||g!==void 0||b!==void 0){let N=!0;if(y!==void 0&&N&&(N=y===dre(_)),E!==void 0&&N&&(N=E===pre(_)),g!==void 0&&N&&(N=g===fre(_)),b!==void 0){var x;N&&(N=vn((x=hre(_))!=null?x:null,_,b,le=>le))}return N}return!0}).filter(_=>o===void 0?!0:vn(ev(_,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements}),_,o,x=>x)).filter(_=>i===void 0?!0:vn(qP(_,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements}),_,i,x=>x)).filter(_=>n===!1?wc(_,{isSubtreeInaccessible:K})===!1:!0)};function Ire(e){var t;let r='*[role~="'+e+'"]',n=(t=Or.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:s}=i;return s}));return[r].concat(Array.from(o)).join(",")}var Nx=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Mre=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Nx(n)},Nre=function(e,t,r){let{hidden:n=at().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(at()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Nx(o);let s="";Array.from(e.children).forEach(d=>{s+=YP(d,{hidden:n,includeDescription:i!==void 0})});let l;s.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
411
+ Here are the `+(n===!1?"accessible":"available")+` roles:
412
+
413
+ `+s.replace(/\n/g,`
414
+ `).replace(/\n\s\s\n/g,`
415
+
416
+ `)+`
417
+ `).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let c="";return i===void 0?c="":typeof i=="string"?c=' and description "'+i+'"':c=" and description `"+i+"`",(`
418
+ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
419
+
420
+ `+l).trim()},Bx=br(Lb,Lb.name,"queryAll"),[jx,Fx,Lx,kx,$x]=An(Lb,Mre,Nre),lv=()=>at().testIdAttribute,kb=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Sn(t[0]),Yo(lv(),...t)},Bre=(e,t)=>"Found multiple elements by: ["+lv()+'="'+t+'"]',jre=(e,t)=>"Unable to find an element by: ["+lv()+'="'+t+'"]',Ux=br(kb,kb.name,"queryAll"),[Hx,Vx,Gx,zx,Wx]=An(kb,Bre,jre),Uu=Object.freeze({__proto__:null,queryAllByLabelText:ox,queryByLabelText:QP,getAllByLabelText:rx,getByLabelText:nx,findAllByLabelText:ex,findByLabelText:tx,queryByPlaceholderText:ix,queryAllByPlaceholderText:ax,getByPlaceholderText:lx,getAllByPlaceholderText:sx,findAllByPlaceholderText:ux,findByPlaceholderText:cx,queryByText:px,queryAllByText:dx,getByText:hx,getAllByText:fx,findAllByText:mx,findByText:yx,queryByDisplayValue:gx,queryAllByDisplayValue:bx,getByDisplayValue:Ex,getAllByDisplayValue:vx,findAllByDisplayValue:wx,findByDisplayValue:_x,queryByAltText:Ax,queryAllByAltText:Sx,getByAltText:Rx,getAllByAltText:Cx,findAllByAltText:Tx,findByAltText:Ox,queryByTitle:xx,queryAllByTitle:Px,getByTitle:Dx,getAllByTitle:qx,findAllByTitle:Ix,findByTitle:Mx,queryByRole:jx,queryAllByRole:Bx,getAllByRole:Fx,getByRole:Lx,findAllByRole:kx,findByRole:$x,queryByTestId:Hx,queryAllByTestId:Ux,getByTestId:Gx,getAllByTestId:Vx,findAllByTestId:zx,findByTestId:Wx});function $b(e,t,r){return t===void 0&&(t=Uu),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var Yx=e=>!e||Array.isArray(e)&&!e.length;function zC(e){if(Yx(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function Fre(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){zC(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let i=o.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(o)?o:null});e=()=>n.map(o=>o()).filter(Boolean)}return zC(e()),iv(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!Yx(n))throw r},t)}var WC={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},YC={doubleClick:"dblClick"};function Fs(e,t){return at().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Ru(e,t,r,n){let{EventType:o="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...i,...r},{target:{value:l,files:u,...c}={}}=s;l!==void 0&&Lre(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let d=kP(t),p=d[o]||d.Event,h;if(typeof p=="function")h=new p(e,s);else{h=d.document.createEvent(o);let{bubbles:m,cancelable:y,detail:g,...E}=s;h.initEvent(e,m,y,g),Object.keys(E).forEach(b=>{h[b]=E[b]})}return["dataTransfer","clipboardData"].forEach(m=>{let y=s[m];typeof y=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,m,{value:Object.getOwnPropertyNames(y).reduce((g,E)=>(Object.defineProperty(g,E,{value:y[E]}),g),new d.DataTransfer)}):Object.defineProperty(h,m,{value:y}))}),h}Object.keys(WC).forEach(e=>{let{EventType:t,defaultInit:r}=WC[e],n=e.toLowerCase();Ru[e]=(o,i)=>Ru(n,o,i,{EventType:t,defaultInit:r}),Fs[e]=(o,i)=>Fs(o,Ru[e](o,i))});function Lre(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(YC).forEach(e=>{let t=YC[e];Fs[e]=function(){return Fs[t](...arguments)}});function kre(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
421
+ `)}function $re(e){return qte.default.compressToEncodedURIComponent(kre(e))}function Ure(e){return"https://testing-playground.com/#markup="+$re(e)}var Hre=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Db(n,t,r)):Db(e,t,r),Vre=function(e){if(e===void 0&&(e=nv().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=Ure(e.innerHTML);return console.log(`Open this URL in your browser
422
+
423
+ `+t),t},KC={debug:Hre,logTestingPlaygroundURL:Vre},Gre=typeof document<"u"&&document.body?$b(document.body,Uu,KC):Object.keys(Uu).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),KC);function rt(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}var Ub;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(Ub||(Ub={}));function Kx(e){return rt(e,"button")||rt(e,"input")&&e.type in Ub}function sn(e){var t;if(zre(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${Wre(e)}`)}function zre(e){return e.nodeType===9}function Wre(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Jx(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function uv(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xx=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Kn(this,"kind",void 0),Kn(this,"type",void 0),Kn(this,"file",null),Kn(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},Yre=class extends Array{add(...e){let t=new Xx(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function yu(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function Kre(e){return new class{getData(t){var r;let n=(r=this.items.find(yu(t,!0)))!==null&&r!==void 0?r:this.items.find(yu(t,!1)),o="";return n?.getAsString(i=>{o=i}),o}setData(t,r){let n=this.items.findIndex(yu(t,!0)),o=new Xx(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(yu(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Kn(this,"dropEffect","none"),Kn(this,"effectAllowed","uninitialized"),Kn(this,"items",new Yre),Kn(this,"files",uv(e,[]))}}}function cv(e,t=[]){let r=typeof e.DataTransfer>"u"?Kre(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>uv(e,t)}),r}function Jre(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function Qx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zx(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){Qx(this,"data",void 0),this.data=n}}(r)}var wi=Symbol("Manage ClipboardSub");function JC(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));o&&(r+=await n.getType(o).then(i=>Jx(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[Zx(e,r)]}constructor(...r){super(...r),Qx(this,"items",[])}},{[wi]:t})}function dv(e){return!!e?.[wi]}function Xre(e){if(dv(e.navigator.clipboard))return e.navigator.clipboard[wi];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=JC(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=JC(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[wi]}function Qre(e){dv(e.navigator.clipboard)&&e.navigator.clipboard[wi].resetClipboardStub()}function Zre(e){dv(e.navigator.clipboard)&&e.navigator.clipboard[wi].detachClipboardStub()}async function ene(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=cv(t);for(let i of n)for(let s of i.types)o.setData(s,await i.getType(s).then(l=>Jx(l,t.FileReader)));return o}async function tq(e,t){let r=sn(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let s=t.items[i],l=Jre(r,s);o.push(Zx(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Hu=globalThis;typeof Hu.afterEach=="function"&&Hu.afterEach(()=>Qre(globalThis.window));typeof Hu.afterAll=="function"&&Hu.afterAll(()=>Zre(globalThis.window));function Vo(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Ls(e){let t=tne(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function tne(e){return e.nodeType===1?e:e.parentElement}function _i(e){return rq(e)&&!e.readOnly||Vo(e)}var Hb;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(Hb||(Hb={}));function rq(e){return rt(e,"textarea")||rt(e,"input")&&e.type in Hb}var Vb;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(Vb||(Vb={}));function rne(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function nne(e){return rt(e,"textarea")||rt(e,"input")&&e.type in Vb}var nq=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function pv(e){return e.matches(nq)}var Vu;(function(e){e["{"]="}",e["["]="]"})(Vu||(Vu={}));function oq(e,t){let r=0,n=e[r]in Vu?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?one(e,r,t):ane(e,r,o,t)}}function one(e,t,r){let n=e[t];return aq(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function ane(e,t,r,n){var o,i;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];aq(u,e,t,n),t+=u.length;var c;let d=(c=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&c!==void 0?c:"";t+=d.length;let p=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=p.length;let h=Vu[r],m=e[t]===h?h:"";if(!m)throw new Error(iq([!d&&"repeat modifier",!p&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=m.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:ine(p,d)}}function aq(e,t,r,n){if(!e)throw new Error(iq("key descriptor",t[r],t,n))}function ine(e,t){if(e)return e==="/";if(t)return!1}function iq(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
424
+ See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
425
+ for more information about how userEvent parses your input.`}function sne(e){return new e.constructor(e.type,e)}var pr;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(pr||(pr={}));function gs(e,t){e.levelRefs[t]={}}function bu(e,t){return e.levelRefs[t]}var pi;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(pi||(pi={}));function En(e){for(let r=e;r;r=r.parentElement)if(rt(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(rt(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Ac(e){let t=e.activeElement;return t?.shadowRoot?Ac(t.shadowRoot):En(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Wy(e){var t;return(t=Ac(e))!==null&&t!==void 0?t:e.body}function lne(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ln(e){return sq(e)&&rq(e)}function une(e){return sq(e)&&Kx(e)}function sq(e){return e.nodeType===1}function cne(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&ln(e)){let n=Ls(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Si(e,t){return at().eventWrapper(e)}function Zn(e){let t=lne(e,pv),r=Ac(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Si(t?()=>t.focus():()=>r?.blur()),cne(t??e.ownerDocument.body))}function dne(e){!pv(e)||Ac(e.ownerDocument)!==e||Si(()=>e.blur())}var eo={};eo.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&rt(n,"label")&&n.control;if(o)return()=>{pv(o)&&Zn(o),r.dispatchEvent(o,sne(e))};if(rt(t,"input",{type:"file"}))return()=>{dne(t),t.dispatchEvent(new(sn(t)).Event("fileDialog")),Zn(t)}};var Ai=Symbol("Displayed value in UI"),gn=Symbol("Displayed selection in UI"),Gu=Symbol("Initial value to compare on blur");function pne(e){return typeof e=="object"&&Ai in e}function fne(e){return!!e&&typeof e=="object"&&gn in e}function hne(e,t){e[Gu]===void 0&&(e[Gu]=e.value),e[Ai]=t,e.value=Object.assign(new String(t),{[Ai]:!0})}function un(e){return e[Ai]===void 0?e.value:String(e[Ai])}function fv(e){e[Ai]=void 0}function lq(e){e[Gu]=void 0}function mne(e){return e[Gu]}function yne(e,t){e[gn]=t}function xi(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=un(e).length,i=p=>Math.max(0,Math.min(o,p)),s=n==="replace"||e[gn]===void 0?i(r):e[gn].anchorOffset,l=i(t),u=Math.min(s,l),c=Math.max(s,l);if(e[gn]={anchorOffset:s,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let d=Object.assign(new Number(u),{[gn]:!0});try{e.setSelectionRange(d,c)}catch{}}function ks(e){var t,r,n;let o=(n=e[gn])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function bne(e){return!!e[gn]}function Tu(e){e[gn]=void 0}var zu=globalThis.parseInt;function gne(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=zu(t[0],10),n=zu(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,XC(t,o)}return e.length===2?e:XC(t,2)}function XC(e,t){let r=e.slice(0,t),n=Math.min(zu(r,10),23),o=e.slice(t),i=zu(o,10),s=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}function uq(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function cq(e,t,r,n){if(Ou(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=QC(e,t,r);if(o){if(Ou(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(rt(o,"br")){let i=QC(o,void 0,r);return i?Ou(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&rt(i,"br")?{node:o.parentNode,offset:gu(o)}:{node:i.parentNode,offset:gu(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:gu(o)}:void 0}else return{node:o.parentNode,offset:gu(o)+(r>0?1:0)}}}function QC(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&hv(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Ene(e,r===1?"next":"previous",vne)}function vne(e){if(Ou(e))return!0;if(hv(e)){if(rt(e,["input","textarea"]))return e.type!=="hidden";if(rt(e,"br"))return!0}return!1}function gu(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function hv(e){return e.nodeType===1}function Ou(e){return e.nodeType===3}function Ene(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=wne(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!hv(e.parentNode)||!Vo(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function wne(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var $s=Symbol("Track programmatic changes for React workaround");function _ne(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&sn(e).REACT_VERSION===17}function Sne(e){_ne(e)&&(e[$s]={previousValue:String(e.value),tracked:[]})}function Ane(e,t){var r,n;(n=e[$s])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[$s]||(fv(e),xi(e,{focusOffset:t.length}))}function Cne(e,t){var r;let n=e[$s];if(e[$s]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||fv(e),bne(e)&&xi(e,{focusOffset:o?t:e.value.length})}function dq(e){let t=Rne(e);if(t&&ln(t))return{type:"input",selection:ks(t)};let r=t?.ownerDocument.getSelection();return{type:Ls(e)&&r?.anchorNode&&Ls(r.anchorNode)?"contenteditable":"default",selection:r}}function Rne(e){return e.nodeType===1?e:e.parentElement}function Tne(e){let t=dq(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Go({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(dq(e).type==="input")return xi(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function pq(e){return rt(e,"input")&&["date","time"].includes(e.type)}function Ci(e,t,r,n="insertText"){let o=Tne(t);o&&(!pq(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?One(e,t,o,r,n):Pne(e,t,o,r,n)))}function One(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let s=cq(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(s){i=!0;let l=r.cloneRange();l.comparePoint(s.node,s.offset)<0?l.setStart(s.node,s.offset):l.setEnd(s.node,s.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,n),r.setStart(r.endContainer,s+n.length),r.setEnd(r.endContainer,s+n.length)}else{let s=t.ownerDocument.createTextNode(n);r.insertNode(s),r.setStart(s,n.length),r.setEnd(s,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function Pne(e,t,r,n,o){let i=n;if(nne(t)){let c=rne(t);if(c!==void 0&&n.length>0){let d=c-t.value.length;if(d>0)i=n.substring(0,d);else return}}let{newValue:s,newOffset:l,oldValue:u}=xne(i,t,r,o);s===u&&l===r.startOffset&&l===r.endOffset||rt(t,"input",{type:"number"})&&!qne(s)||(hne(t,s),Go({focusNode:t,anchorOffset:l,focusOffset:l}),pq(t)?uq(t,s)&&(ZC(e,t,l,{}),e.dispatchUIEvent(t,"change"),lq(t)):ZC(e,t,l,{data:n,inputType:o}))}function xne(e,t,{startOffset:r,endOffset:n},o){let i=un(t),s=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),l=i.substring(0,s),u=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),c=i.substring(u,i.length),d=`${l}${e}${c}`,p=s+e.length;if(rt(t,"input",{type:"time"})){let h=gne(d);h!==""&&uq(t,h)&&(d=h,p=h.length)}return{oldValue:i,newValue:d,newOffset:p}}function ZC(e,t,r,n){e.dispatchUIEvent(t,"input",n),Cne(t,r)}function qne(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}eo.cut=(e,t,r)=>()=>{_i(t)&&Ci(r,t,"","deleteByCut")};function Dne(e){return e?Vo(e)?e.textContent:un(e):null}function Ine(e){let t=sn(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function Mne(e,t){let r=e.ownerDocument,n=r.querySelectorAll(nq),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||En(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,c)=>{let d=Number(u.getAttribute("tabindex")),p=Number(c.getAttribute("tabindex"));return d===p?0:d===0?1:p===0?-1:d-p});let i={},s=[r.body],l=rt(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let c=u;if(rt(c,"input",{type:"radio"})&&c.name){if(c===e){s.push(c);return}else if(c.name===l)return;if(c.checked){s=s.filter(d=>!rt(d,"input",{type:"radio",name:c.name})),s.push(c),i[c.name]=c;return}if(typeof i[c.name]<"u")return}s.push(c)});for(let u=s.findIndex(c=>c===e);;)if(u+=t?-1:1,u===s.length?u=0:u===-1&&(u=s.length-1),s[u]===e||s[u]===r.body||Ine(s[u]))return s[u]}function eR(e,t){if(ln(e)){let r=ks(e);Go({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=cq(r.focusNode,r.focusOffset,t);n&&Go({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function fq(e){if(ln(e))return Go({focusNode:e,anchorOffset:0,focusOffset:un(e).length});var t;let r=(t=Ls(e))!==null&&t!==void 0?t:e.ownerDocument.body;Go({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function Nne(e){if(ln(e))return ks(e).startOffset===0&&ks(e).endOffset===un(e).length;var t;let r=(t=Ls(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function vs(e,t,r){var n;if(ln(e))return Go({focusNode:e,anchorOffset:t,focusOffset:r});if(Vo(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Go({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function vu(e,t,r){let n=sn(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(s=>s===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;En(o[i])||(Zn(o[i]),e.dispatchUIEvent(o[i],"click"))}}eo.keydown=(e,t,r)=>{var n,o;return(o=(n=tR[e.key])===null||n===void 0?void 0:n.call(tR,e,t,r))!==null&&o!==void 0?o:Bne(e,t,r)};var tR={ArrowDown:(e,t,r)=>{if(rt(t,"input",{type:"radio"}))return()=>vu(r,t,-1)},ArrowLeft:(e,t,r)=>rt(t,"input",{type:"radio"})?()=>vu(r,t,-1):()=>eR(t,-1),ArrowRight:(e,t,r)=>rt(t,"input",{type:"radio"})?()=>vu(r,t,1):()=>eR(t,1),ArrowUp:(e,t,r)=>{if(rt(t,"input",{type:"radio"}))return()=>vu(r,t,1)},Backspace:(e,t,r)=>{if(_i(t))return()=>{Ci(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(_i(t))return()=>{Ci(r,t,"","deleteContentForward")}},End:(e,t)=>{if(rt(t,["input","textarea"])||Vo(t))return()=>{var r,n;let o=(n=(r=Dne(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;vs(t,o,o)}},Home:(e,t)=>{if(rt(t,["input","textarea"])||Vo(t))return()=>{vs(t,0,0)}},PageDown:(e,t)=>{if(rt(t,["input"]))return()=>{let r=un(t).length;vs(t,r,r)}},PageUp:(e,t)=>{if(rt(t,["input"]))return()=>{vs(t,0,0)}},Tab:(e,t,r)=>()=>{let n=Mne(t,r.system.keyboard.modifiers.Shift);Zn(n),ln(n)&&xi(n,{anchorOffset:0,focusOffset:n.value.length})}},Bne=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>fq(t)};eo.keypress=(e,t,r)=>{if(e.key==="Enter"){if(rt(t,"button")||rt(t,"input")&&jne.includes(t.type)||rt(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(rt(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&Fne.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(_i(t)){let n=e.key==="Enter"?Vo(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
426
+ `:e.key;return()=>Ci(r,t,o,n)}};var jne=["button","color","file","image","reset","submit"],Fne=["email","month","password","search","tel","text","url","week"];eo.keyup=(e,t,r)=>{var n;return(n=rR[e.key])===null||n===void 0?void 0:n.call(rR,e,t,r)};var rR={" ":(e,t,r)=>{if(Kx(t))return()=>r.dispatchUIEvent(t,"click")}};eo.paste=(e,t,r)=>{if(_i(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Ci(r,t,o,"insertFromPaste")}};var hq={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function mq(e){return hq[e].EventType}var Lne=["MouseEvent","PointerEvent"];function kne(e){return Lne.includes(mq(e))}function $ne(e){return mq(e)==="KeyboardEvent"}var Une={ClipboardEvent:[Vne],Event:[],InputEvent:[Eu,Gne],MouseEvent:[Eu,Yy,nR],PointerEvent:[Eu,Yy,nR,Wne],KeyboardEvent:[Eu,Yy,zne]};function yq(e,t,r){let n=sn(t),{EventType:o,defaultInit:i}=hq[e],s=new(Hne(n))[o](e,i);return Une[o].forEach(l=>l(s,r??{})),s}function Hne(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var i;let s=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var c;let d=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var p;let h=(p=e.TransitionEvent)!==null&&p!==void 0?p:class extends r{};var m;let y=(m=e.UIEvent)!==null&&m!==void 0?m:class extends r{};var g;let E=(g=e.CompositionEvent)!==null&&g!==void 0?g:class extends y{};var b;let w=(b=e.FocusEvent)!==null&&b!==void 0?b:class extends y{};var P;let A=(P=e.InputEvent)!==null&&P!==void 0?P:class extends y{};var S;let T=(S=e.KeyboardEvent)!==null&&S!==void 0?S:class extends y{};var C;let O=(C=e.MouseEvent)!==null&&C!==void 0?C:class extends y{};var I;let W=(I=e.DragEvent)!==null&&I!==void 0?I:class extends O{};var X;let Y=(X=e.PointerEvent)!==null&&X!==void 0?X:class extends O{};var K;let _=(K=e.TouchEvent)!==null&&K!==void 0?K:class extends y{};return{Event:r,AnimationEvent:o,ClipboardEvent:s,PopStateEvent:u,ProgressEvent:d,TransitionEvent:h,UIEvent:y,CompositionEvent:E,FocusEvent:w,InputEvent:A,KeyboardEvent:T,MouseEvent:O,DragEvent:W,PointerEvent:Y,TouchEvent:_}}function Ko(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Yt(e){return Number(e??0)}function Vne(e,{clipboardData:t}){Ko(e,{clipboardData:t})}function Gne(e,{data:t,inputType:r,isComposing:n}){Ko(e,{data:t,isComposing:!!n,inputType:String(r)})}function Eu(e,{view:t,detail:r}){Ko(e,{view:t,detail:Yt(r??0)})}function Yy(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:s,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:d,modifierSymbol:p,modifierSymbolLock:h}){Ko(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(m){return!!{Alt:t,AltGraph:i,CapsLock:s,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:d,Shift:o,Symbol:p,SymbolLock:h}[m]}})}function zne(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:s}){Ko(e,{key:String(t),code:String(r),location:Yt(n),repeat:!!o,isComposing:!!i,charCode:s})}function nR(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:s=r,button:l,buttons:u,relatedTarget:c}){Ko(e,{screenX:Yt(n),screenY:Yt(o),clientX:Yt(i),x:Yt(i),clientY:Yt(s),y:Yt(s),button:Yt(l),buttons:Yt(u),relatedTarget:c})}function Wne(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:s,tiltY:l,twist:u,pointerType:c,isPrimary:d}){Ko(e,{pointerId:Yt(t),width:Yt(r),height:Yt(n),pressure:Yt(o),tangentialPressure:Yt(i),tiltX:Yt(s),tiltY:Yt(l),twist:Yt(u),pointerType:String(c),isPrimary:!!d})}function Yne(e,t,r,n=!1){(kne(t)||$ne(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=yq(t,e,r);return bq.call(this,e,o,n)}function bq(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=eo[o])===null||n===void 0?void 0:n.call(eo,t,e,this);if(i){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>s}),Object.defineProperty(t,"preventDefault",{value:()=>{s=t.cancelable}}),Si(()=>e.dispatchEvent(t)),s||i(),!s}return Si(()=>e.dispatchEvent(t))}function Kne(e,t,r){let n=yq(t,e,r);Si(()=>e.dispatchEvent(n))}var Ky=Symbol("Interceptor for programmatical calls");function ci(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][Ky])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...l){let{applyNative:u=!1,realArgs:c,then:d}=r.call(this,...l),p=(!u&&o||n)[i];i==="set"?p.call(this,c):p.call(this,...c),d?.()}s[Ky]=Ky,Object.defineProperty(e,t,{...o??n,[i]:s})}function Jne(e){ci(e,"value",function(t){let r=pne(t);return r&&Sne(this),{applyNative:!!r,realArgs:Xne(this,t),then:r?void 0:()=>Ane(this,String(t))}})}function Xne(e,t){return rt(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Qne(e){ci(e,"setSelectionRange",function(t,...r){let n=fne(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Tu(e)}}),ci(e,"selectionStart",function(t){return{realArgs:t,then:()=>Tu(e)}}),ci(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Tu(e)}}),ci(e,"select",function(){return{realArgs:[],then:()=>yne(e,{anchorOffset:0,focusOffset:un(e).length})}})}function Zne(e){ci(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{fv(e),Tu(e)}}})}var fi=Symbol("Node prepared with document state workarounds");function gq(e){e[fi]||(e.addEventListener("focus",t=>{let r=t.target;oR(r)},{capture:!0,passive:!0}),e.activeElement&&oR(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=mne(r);n!==void 0&&(r.value!==n&&Kne(r,"change"),lq(r))},{capture:!0,passive:!0}),e[fi]=fi)}function oR(e){e[fi]||(rt(e,["input","textarea"])&&(Jne(e),Qne(e),Zne(e)),e[fi]=fi)}function eoe(e){return toe(e)?e:e.ownerDocument}function toe(e){return e.nodeType===9}function Ri(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function oi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pr;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(Pr||(Pr={}));var roe=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function aR(e){return roe.includes(e)}var noe=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function iR(e){return noe.includes(e)}var ooe=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,o;let i=String(t.key),s=String(t.code),l=Wy(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[n=s])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),aR(i)&&(this.modifiers[i]=!0);let c=e.dispatchUIEvent(l,"keydown",{key:i,code:s});iR(i)&&!this.modifiers[i]&&(this.modifiers[i]=!0,this.modifierLockStart[i]=!0),(o=this.pressed[s]).unpreventedDefault||(o.unpreventedDefault=c),c&&this.hasKeyPress(i)&&e.dispatchUIEvent(Wy(e.config.document),"keypress",{key:i,code:s,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed[n].unpreventedDefault;delete this.pressed[n],aR(r)&&!Object.values(this.pressed).find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Wy(e.config.document),"keyup",{key:r,code:n},!o),iR(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){oi(this,"system",void 0),oi(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),oi(this,"pressed",{}),oi(this,"carryChar",""),oi(this,"lastKeydownTarget",void 0),oi(this,"modifierLockStart",{}),this.system=e}},aoe=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Pr.LEFT},{code:"AltRight",key:"Alt",location:Pr.RIGHT},{code:"ShiftLeft",key:"Shift",location:Pr.LEFT},{code:"ShiftRight",key:"Shift",location:Pr.RIGHT},{code:"ControlLeft",key:"Control",location:Pr.LEFT},{code:"ControlRight",key:"Control",location:Pr.RIGHT},{code:"MetaLeft",key:"Meta",location:Pr.LEFT},{code:"MetaRight",key:"Meta",location:Pr.RIGHT},{code:"OSLeft",key:"OS",location:Pr.LEFT},{code:"OSRight",key:"OS",location:Pr.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],ioe=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function soe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vq=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Gb(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Gb(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){soe(this,"pressed",{})}},sR={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Gb(e=0){return e in sR?sR[e]:Number(e)}var lR={1:2,2:1};function uR(e){return e=Gb(e),e in lR?lR[e]:e}function loe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var uoe=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){loe(this,"pressedKeys",new Set)}};function Cs(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function zb({target:e,node:t,offset:r}){return ln(e)?{node:e,offset:r??un(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Eq(e,r)}function Eq(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),s=String(i.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(i.nodeType===1)return Eq(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function coe({document:e,target:t,clickCount:r,node:n,offset:o}){if(une(t))return;let i=ln(t),s=String(i?un(t):t.textContent),[l,u]=n?[o,o]:doe(s,o,r);if(i)return xi(t,{anchorOffset:l??s.length,focusOffset:u??s.length}),{node:t,start:l??0,end:u??s.length};{let{node:c,offset:d}=zb({target:t,node:n,offset:l}),{node:p,offset:h}=zb({target:t,node:n,offset:u}),m=t.ownerDocument.createRange();try{m.setStart(c,d),m.setEnd(p,h)}catch{throw new Error("The given offset is out of bounds.")}let y=e.getSelection();return y?.removeAllRanges(),y?.addRange(m.cloneRange()),m}}function doe(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function poe(e,{document:t,target:r,node:n,offset:o}){let i=zb({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let s=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;xi(e.node,{anchorOffset:s,focusOffset:l})}}else{let s=e.cloneRange(),l=s.comparePoint(i.node,i.offset);l<0?s.setStart(i.node,i.offset):l>0&&s.setEnd(i.node,i.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(s.cloneRange())}}function wq(e,t){var r,n,o,i,s,l,u,c;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((s=e.caret)===null||s===void 0?void 0:s.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function No(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var foe=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!wq(r,t))return;let o=this.getTarget(e),i=this.getEventInit("mousemove"),[s,l]=Cs(n,o);return{leave:()=>{n!==o&&(e.dispatchUIEvent(n,"mouseout",i),s.forEach(u=>e.dispatchUIEvent(u,"mouseleave",i)))},enter:()=>{n!==o&&(e.dispatchUIEvent(o,"mouseover",i),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",i)))},move:()=>{e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let i=En(o),s=this.getEventInit("mousedown",t.button);(i||e.dispatchUIEvent(o,"mousedown",s))&&(this.startSelecting(e,s.detail),Zn(o)),!i&&uR(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!En(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let i=Cs(this.buttonDownTarget[n],o)[2][0];if(i){let s=this.getEventInit("click",t.button,r);s.detail&&(e.dispatchUIEvent(i,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=uR(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=coe({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&poe(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){No(this,"position",{}),No(this,"buttons",new vq),No(this,"selecting",void 0),No(this,"buttonDownTarget",{}),No(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){No(this,"down",{}),No(this,"count",{})}})}};function Wu(e,t){var r;return((r=_q(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function hoe(e){let t=sn(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var cR=Symbol("Last check for pointer-events");function _q(e,t){let r=t[cR];if(!(e.config.pointerEventsCheck!==pi.Never&&(!r||dR(e.config.pointerEventsCheck,pi.EachApiCall)&&r[pr.Call]!==bu(e,pr.Call)||dR(e.config.pointerEventsCheck,pi.EachTrigger)&&r[pr.Trigger]!==bu(e,pr.Trigger))))return r?.result;let n=hoe(t);return t[cR]={[pr.Call]:bu(e,pr.Call),[pr.Trigger]:bu(e,pr.Trigger),result:n},n}function Es(e,t){let r=_q(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",moe(r.tree)].join(`
427
+ `))}function moe(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,yoe(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
428
+ `)}function yoe(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(rt(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(s=>{var l;return(l=s.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(rt(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function dR(e,t){return(e&t)>0}function Gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var pR=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=Cs(null,r),o=this.getEventInit();return Es(e,r),e.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>e.dispatchUIEvent(i,"pointerenter",o)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!wq(r,t))return;let o=this.getTarget(e),i=this.getEventInit(),[s,l]=Cs(n,o);return{leave:()=>{Wu(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",i),s.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{Es(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",i),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"pointermove",i)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Es(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Es(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=Cs(t,null),n=this.getEventInit();Wu(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){Gn(this,"pointerId",void 0),Gn(this,"pointerType",void 0),Gn(this,"isPrimary",void 0),Gn(this,"isMultitouch",!1),Gn(this,"isCancelled",!1),Gn(this,"isDown",!1),Gn(this,"isPrevented",!1),Gn(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var boe=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),o.down(e,t),o.pointerType!=="touch"&&!o.isPrevented&&this.mouse.down(e,t,o)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),i=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);o?.leave(),i?.leave(),o?.enter(),i?.enter(),o?.move(),i?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t));if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let i=this.mouse.move(e,o.position);i?.leave(),i?.enter(),i?.move(),this.mouse.down(e,t,o)}if(!o.isMultitouch){let i=this.mouse.move(e,o.position);i?.leave(),i?.enter(),i?.move(),this.mouse.up(e,t,o)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){zn(this,"system",void 0),zn(this,"mouse",void 0),zn(this,"buttons",void 0),zn(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0||(r[n]=new uoe),this.registry[t]}constructor(){zn(this,"registry",{})}}),zn(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return n||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new pR({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){zn(this,"registry",{mouse:new pR({pointerId:1,pointerType:"mouse",isPrimary:!0})}),zn(this,"nextId",2)}}),this.system=e,this.buttons=new vq,this.mouse=new foe}};function fR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Sq=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){fR(this,"keyboard",new ooe(this)),fR(this,"pointer",new boe(this))}};async function goe(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function voe(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Eoe(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function woe(e){return this.pointer({target:e})}async function _oe(e){return Es(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Soe({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function Aoe(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:s,releasePrevious:l,releaseSelf:u=!0,repeat:c}=oq(t,"keyboard");var n;let d=(n=e.find(p=>{if(o==="["){var h;return((h=p.code)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}else if(o==="{"){var m;return((m=p.key)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}return p.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:d,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(s)}while(t);return r}async function Coe(e){let t=Aoe(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Ri(this.config),await Roe(this,t[r])}async function Roe(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let s=1;s<=o;s++)await i.keyboard.keydown(e,t),s<o&&await Ri(e.config);n&&await i.keyboard.keyup(e,t)}}async function Toe(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Aq(e){let t=ln(e)?{"text/plain":Ooe(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=cv(sn(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Ooe(e){let t=ks(e);return un(e).substring(t.startOffset,t.endOffset)}async function Poe(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Aq(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await tq(e,n),n}async function xoe(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Aq(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await tq(r.ownerDocument,n),n}async function qoe(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let i=(o=typeof e=="string"?Doe(t,e):e)!==null&&o!==void 0?o:await ene(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function Doe(e,t){let r=cv(sn(e));return r.setData("text",t),r}function hR(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:s=!0}=oq(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:s}),t=t.slice(o)}while(t);return r}async function Ioe(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...hR(t,n)):"keys"in n?r.push(...hR(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Ri(this.config),await Moe(this,r[n]);this.system.pointer.resetClickCount()}async function Moe(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(o);var s,l,u,c;let d={target:(s=t.target)!==null&&s!==void 0?s:Noe(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:mR(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:mR(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(gs(e,pr.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(gs(e,pr.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(gs(e,pr.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(gs(e,pr.Trigger),await e.system.pointer.move(e,o,d))}function mR(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function Noe(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function Boe(e){if(!_i(e)||En(e))throw new Error("clear()` is only supported on editable elements.");if(Zn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(fq(e),!Nne(e))throw new Error("The element content to be cleared could not be selected.");Ci(this,e,"","deleteContentBackward")}async function joe(e,t){return Cq.call(this,!0,e,t)}async function Foe(e,t){return Cq.call(this,!1,e,t)}async function Cq(e,t,r){if(!e&&!t.multiple)throw at().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let u=o.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw at().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!En(l));if(En(t)||!i.length)return;let s=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(rt(t,"select"))if(t.multiple)for(let l of i){let u=this.config.pointerEventsCheck===0?!0:Wu(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),Zn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),s(l),u&&this.dispatchUIEvent(l,"click"),await Ri(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:Wu(this,t);l?await this.click(t):Zn(t),s(i[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Ri(this.config)}else throw at().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of i)await this.click(l),await this.unhover(l);else throw at().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function Loe(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&vs(e,o,i??o),await this.keyboard(t),n||await Toe(this))}var yR=Symbol("files and value properties are mocked");function Jy(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function koe(e,t){var r;(r=e[yR])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function s(){Jy(e,"type",n),Jy(e,"value",o),Jy(e,"files",i)}e[yR]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")s();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(s(),e.type=l)}}})}async function $oe(e,t){let r=rt(e,"label")?e.control:e;if(!r||!rt(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(En(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||Uoe(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((s,l)=>{var u;return s===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(koe(r,uv(sn(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Uoe(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var bR={click:goe,dblClick:voe,tripleClick:Eoe,hover:woe,unhover:_oe,tab:Soe,keyboard:Coe,copy:Poe,cut:xoe,paste:qoe,pointer:Ioe,clear:Boe,deselectOptions:Foe,selectOptions:joe,type:Loe,upload:$oe};function Hoe(e){return at().asyncWrapper(e)}var Rq={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:aoe,pointerMap:ioe,pointerEventsCheck:pi.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},Voe={...Rq,writeToClipboard:!0};function Tq(e={},t=Voe,r){let n=Yoe(e,r,t);return{...t,...e,document:n}}function Goe(e={}){let t=Tq(e);gq(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return Xre(n),mv(t).api}function lr({keyboardState:e,pointerState:t,...r}={},n){let o=Tq(r,Rq,n);gq(o.document);var i;let s=(i=t??e)!==null&&i!==void 0?i:new Sq;return{api:mv(o,s).api,system:s}}function zoe(e){return mv({...this.config,...e},this.system).api}function Woe(e,t){function r(...n){return gs(e,pr.Call),Hoe(()=>t.apply(e,n).then(async o=>(await Ri(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function mv(e,t=new Sq){let r={};return Object.assign(r,{config:e,dispatchEvent:bq.bind(r),dispatchUIEvent:Yne.bind(r),system:t,levelRefs:{},...bR}),{instance:r,api:{...Object.fromEntries(Object.entries(bR).map(([n,o])=>[n,Woe(r,o)])),setup:zoe.bind(r)}}}function Yoe(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&eoe(t))!==null&&o!==void 0?o:r.document}var Oq={};Ju(Oq,{clear:()=>Koe,click:()=>Joe,copy:()=>Xoe,cut:()=>Qoe,dblClick:()=>Zoe,deselectOptions:()=>eae,hover:()=>tae,keyboard:()=>rae,paste:()=>oae,pointer:()=>nae,selectOptions:()=>aae,tab:()=>cae,tripleClick:()=>iae,type:()=>sae,unhover:()=>lae,upload:()=>uae});function Koe(e){return lr().api.clear(e)}function Joe(e,t={}){return lr(t,e).api.click(e)}function Xoe(e={}){return lr(e).api.copy()}function Qoe(e={}){return lr(e).api.cut()}function Zoe(e,t={}){return lr(t).api.dblClick(e)}function eae(e,t,r={}){return lr(r).api.deselectOptions(e,t)}function tae(e,t={}){return lr(t).api.hover(e)}async function rae(e,t={}){let{api:r,system:n}=lr(t);return r.keyboard(e).then(()=>n)}async function nae(e,t={}){let{api:r,system:n}=lr(t);return r.pointer(e).then(()=>n)}function oae(e,t){return lr(t).api.paste(e)}function aae(e,t,r={}){return lr(r).api.selectOptions(e,t)}function iae(e,t={}){return lr(t).api.tripleClick(e)}function sae(e,t,r={}){return lr(r,e).api.type(e,t,r)}function lae(e,t={}){let{api:r,system:n}=lr(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function uae(e,t,r={}){return lr(r).api.upload(e,t)}function cae(e={}){return lr().api.tab(e)}var dae={...Oq,setup:Goe},pae=um(),Pq=xy();function fae(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
429
+ [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
430
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,u){var c=s.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=l;typeof l=="string"&&l.includes(`
431
+ `)&&(p=String(l).split(`
432
+ `).map(function(h,m){return m===0?h:""+d+h}).join(`
433
+ `)),s+=p+n[u+1]}),s}var hae=fae,Wb=(0,Pq.instrument)({...SP},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Wb.screen=new Proxy(Wb.screen,{get(e,t,r){return pae.once.warn(hae`
434
+ You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
435
+ More info: https://storybook.js.org/docs/essentials/interactions
436
+ `),Reflect.get(e,t,r)}});var{buildQueries:mae,configure:yae,createEvent:bae,fireEvent:gae,findAllByAltText:vae,findAllByDisplayValue:Eae,findAllByLabelText:wae,findAllByPlaceholderText:_ae,findAllByRole:Sae,findAllByTestId:Aae,findAllByText:Cae,findAllByTitle:Rae,findByAltText:Tae,findByDisplayValue:Oae,findByLabelText:Pae,findByPlaceholderText:xae,findByRole:qae,findByTestId:Dae,findByText:Iae,findByTitle:Mae,getAllByAltText:Nae,getAllByDisplayValue:Bae,getAllByLabelText:jae,getAllByPlaceholderText:Fae,getAllByRole:Lae,getAllByTestId:kae,getAllByText:$ae,getAllByTitle:Uae,getByAltText:Hae,getByDisplayValue:Vae,getByLabelText:Gae,getByPlaceholderText:zae,getByRole:Wae,getByTestId:Yae,getByText:Kae,getByTitle:Jae,getConfig:Xae,getDefaultNormalizer:Qae,getElementError:Zae,getNodeText:eie,getQueriesForElement:tie,getRoles:rie,getSuggestedQuery:nie,isInaccessible:oie,logDOM:aie,logRoles:iie,prettyDOM:sie,queries:lie,queryAllByAltText:uie,queryAllByAttribute:cie,queryAllByDisplayValue:die,queryAllByLabelText:pie,queryAllByPlaceholderText:fie,queryAllByRole:hie,queryAllByTestId:mie,queryAllByText:yie,queryAllByTitle:bie,queryByAltText:gie,queryByAttribute:vie,queryByDisplayValue:Eie,queryByLabelText:wie,queryByPlaceholderText:_ie,queryByRole:Sie,queryByTestId:Aie,queryByText:Cie,queryByTitle:Rie,queryHelpers:Tie,screen:Oie,waitFor:Pie,waitForElementToBeRemoved:xie,within:xq,prettyFormat:qie}=Wb,{userEvent:Die}=(0,Pq.instrument)({userEvent:dae},{intercept:!0}),{expect:Iie}=(0,zY.instrument)({expect:yP},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===V){let n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),Mie=({parameters:e})=>{e?.test?.mockReset===!0?wP():e?.test?.clearMocks===!0?EP():e?.test?.restoreMocks!==!1&&_P()},Yu=(e,t=0,r)=>{if(t>5||e==null)return e;if(Yg(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=gP(e);return r&&n.mockName(r),n}if(Array.isArray(e))return t++,e.map(n=>Yu(n,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,o]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=Yu(o,t,n));return e}return e},Nie=({initialArgs:e})=>{Yu(e)},Bie=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=xq(e.canvasElement))};jR.global.__STORYBOOK_TEST_LOADERS__=[Mie,Nie,Bie];jR.global.__STORYBOOK_TEST_ON_MOCK_CALL__=bP});var yv=se((J2e,Mq)=>{"use strict";var Dq=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Iq=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function jie(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi256=Dq(),t.color.ansi16m=Iq(),t.bgColor.ansi256=Dq(10),t.bgColor.ansi16m=Iq(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,n,o)=>r===n&&n===o?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5),enumerable:!1},hexToRgb:{value:r=>{let n=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!n)return[0,0,0];let{colorString:o}=n.groups;o.length===3&&(o=o.split("").map(s=>s+s).join(""));let i=Number.parseInt(o,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1}}),t}Object.defineProperty(Mq,"exports",{enumerable:!0,get:jie})});var Qs=se(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.printIteratorEntries=Lie;qi.printIteratorValues=kie;qi.printListItems=$ie;qi.printObjectProperties=Uie;var Fie=(e,t)=>{let r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&r.push(n)}),r};function Lie(e,t,r,n,o,i,s=": "){let l="",u=e.next();if(!u.done){l+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){let d=i(u.value[0],t,c,n,o),p=i(u.value[1],t,c,n,o);l+=c+d+s+p,u=e.next(),u.done?t.min||(l+=","):l+=","+t.spacingInner}l+=t.spacingOuter+r}return l}function kie(e,t,r,n,o,i){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;)s+=u+i(l.value,t,u,n,o),l=e.next(),l.done?t.min||(s+=","):s+=","+t.spacingInner;s+=t.spacingOuter+r}return s}function $ie(e,t,r,n,o,i){let s="";if(e.length){s+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<e.length;u++)s+=l,u in e&&(s+=i(e[u],t,l,n,o)),u<e.length-1?s+=","+t.spacingInner:t.min||(s+=",");s+=t.spacingOuter+r}return s}function Uie(e,t,r,n,o,i){let s="",l=Fie(e,t.compareKeys);if(l.length){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let d=l[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);s+=u+p+": "+h,c<l.length-1?s+=","+t.spacingInner:t.min||(s+=",")}s+=t.spacingOuter+r}return s}});var Fq=se(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.test=no.serialize=no.default=void 0;var Nq=Qs(),Rc=function(){return typeof globalThis<"u"?globalThis:typeof Rc<"u"?Rc:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),bv=Rc["jest-symbol-do-not-touch"]||Rc.Symbol,Hie=typeof bv=="function"&&bv.for?bv.for("jest.asymmetricMatcher"):1267621,Cc=" ",Bq=(e,t,r,n,o,i)=>{let s=e.toString();return s==="ArrayContaining"||s==="ArrayNotContaining"?++n>t.maxDepth?"["+s+"]":s+Cc+"["+(0,Nq.printListItems)(e.sample,t,r,n,o,i)+"]":s==="ObjectContaining"||s==="ObjectNotContaining"?++n>t.maxDepth?"["+s+"]":s+Cc+"{"+(0,Nq.printObjectProperties)(e.sample,t,r,n,o,i)+"}":s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining"?s+Cc+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};no.serialize=Bq;var jq=e=>e&&e.$$typeof===Hie;no.test=jq;var Vie={serialize:Bq,test:jq},Gie=Vie;no.default=Gie});var kq=se((Z2e,Lq)=>{"use strict";Lq.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var Gq=se(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.test=oo.serialize=oo.default=void 0;var $q=Uq(kq()),Et=Uq(yv());function Uq(e){return e&&e.__esModule?e:{default:e}}var zie=e=>e.replace((0,$q.default)(),t=>{switch(t){case Et.default.red.close:case Et.default.green.close:case Et.default.cyan.close:case Et.default.gray.close:case Et.default.white.close:case Et.default.yellow.close:case Et.default.bgRed.close:case Et.default.bgGreen.close:case Et.default.bgYellow.close:case Et.default.inverse.close:case Et.default.dim.close:case Et.default.bold.close:case Et.default.reset.open:case Et.default.reset.close:return"</>";case Et.default.red.open:return"<red>";case Et.default.green.open:return"<green>";case Et.default.cyan.open:return"<cyan>";case Et.default.gray.open:return"<gray>";case Et.default.white.open:return"<white>";case Et.default.yellow.open:return"<yellow>";case Et.default.bgRed.open:return"<bgRed>";case Et.default.bgGreen.open:return"<bgGreen>";case Et.default.bgYellow.open:return"<bgYellow>";case Et.default.inverse.open:return"<inverse>";case Et.default.dim.open:return"<dim>";case Et.default.bold.open:return"<bold>";default:return""}}),Hq=e=>typeof e=="string"&&!!e.match((0,$q.default)());oo.test=Hq;var Vq=(e,t,r,n,o,i)=>i(zie(e),t,r,n,o);oo.serialize=Vq;var Wie={serialize:Vq,test:Hq},Yie=Wie;oo.default=Yie});var Jq=se(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.test=ao.serialize=ao.default=void 0;var zq=Qs(),Kie=" ",Wq=["DOMStringMap","NamedNodeMap"],Jie=/^(HTML\w*Collection|NodeList)$/,Xie=e=>Wq.indexOf(e)!==-1||Jie.test(e),Yq=e=>e&&e.constructor&&!!e.constructor.name&&Xie(e.constructor.name);ao.test=Yq;var Qie=e=>e.constructor.name==="NamedNodeMap",Kq=(e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?"["+s+"]":(t.min?"":s+Kie)+(Wq.indexOf(s)!==-1?"{"+(0,zq.printObjectProperties)(Qie(e)?Array.from(e).reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)+"}":"["+(0,zq.printListItems)(Array.from(e),t,r,n,o,i)+"]")};ao.serialize=Kq;var Zie={serialize:Kq,test:Yq},ese=Zie;ao.default=ese});var Xq=se(gv=>{"use strict";Object.defineProperty(gv,"__esModule",{value:!0});gv.default=tse;function tse(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var Tc=se(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});gr.printText=gr.printProps=gr.printElementAsLeaf=gr.printElement=gr.printComment=gr.printChildren=void 0;var Qq=rse(Xq());function rse(e){return e&&e.__esModule?e:{default:e}}var nse=(e,t,r,n,o,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
437
+ `)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")};gr.printProps=nse;var ose=(e,t,r,n,o,i)=>e.map(s=>t.spacingOuter+r+(typeof s=="string"?Zq(s,t):i(s,t,r,n,o))).join("");gr.printChildren=ose;var Zq=(e,t)=>{let r=t.colors.content;return r.open+(0,Qq.default)(e)+r.close};gr.printText=Zq;var ase=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Qq.default)(e)+"-->"+r.close};gr.printComment=ase;var ise=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close};gr.printElement=ise;var sse=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};gr.printElementAsLeaf=sse});var aD=se(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.test=io.serialize=io.default=void 0;var Di=Tc(),lse=1,eD=3,tD=8,rD=11,use=/^((HTML|SVG)\w*)?Element$/,cse=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},dse=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||cse(e);return r===lse&&(use.test(t)||o)||r===eD&&t==="Text"||r===tD&&t==="Comment"||r===rD&&t==="DocumentFragment"},nD=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&dse(e)};io.test=nD;function pse(e){return e.nodeType===eD}function fse(e){return e.nodeType===tD}function vv(e){return e.nodeType===rD}var oD=(e,t,r,n,o,i)=>{if(pse(e))return(0,Di.printText)(e.data,t);if(fse(e))return(0,Di.printComment)(e.data,t);let s=vv(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Di.printElementAsLeaf)(s,t):(0,Di.printElement)(s,(0,Di.printProps)(vv(e)?[]:Array.from(e.attributes).map(l=>l.name).sort(),vv(e)?{}:Array.from(e.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),(0,Di.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};io.serialize=oD;var hse={serialize:oD,test:nD},mse=hse;io.default=mse});var cD=se(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.test=so.serialize=so.default=void 0;var Zs=Qs(),yse="@@__IMMUTABLE_ITERABLE__@@",bse="@@__IMMUTABLE_LIST__@@",gse="@@__IMMUTABLE_KEYED__@@",vse="@@__IMMUTABLE_MAP__@@",iD="@@__IMMUTABLE_ORDERED__@@",Ese="@@__IMMUTABLE_RECORD__@@",wse="@@__IMMUTABLE_SEQ__@@",_se="@@__IMMUTABLE_SET__@@",Sse="@@__IMMUTABLE_STACK__@@",Ii=e=>"Immutable."+e,Oc=e=>"["+e+"]",el=" ",sD="\u2026",Ase=(e,t,r,n,o,i,s)=>++n>t.maxDepth?Oc(Ii(s)):Ii(s)+el+"{"+(0,Zs.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function Cse(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}var Rse=(e,t,r,n,o,i)=>{let s=Ii(e._name||"Record");return++n>t.maxDepth?Oc(s):s+el+"{"+(0,Zs.printIteratorEntries)(Cse(e),t,r,n,o,i)+"}"},Tse=(e,t,r,n,o,i)=>{let s=Ii("Seq");return++n>t.maxDepth?Oc(s):e[gse]?s+el+"{"+(e._iter||e._object?(0,Zs.printIteratorEntries)(e.entries(),t,r,n,o,i):sD)+"}":s+el+"["+(e._iter||e._array||e._collection||e._iterable?(0,Zs.printIteratorValues)(e.values(),t,r,n,o,i):sD)+"]"},Ev=(e,t,r,n,o,i,s)=>++n>t.maxDepth?Oc(Ii(s)):Ii(s)+el+"["+(0,Zs.printIteratorValues)(e.values(),t,r,n,o,i)+"]",lD=(e,t,r,n,o,i)=>e[vse]?Ase(e,t,r,n,o,i,e[iD]?"OrderedMap":"Map"):e[bse]?Ev(e,t,r,n,o,i,"List"):e[_se]?Ev(e,t,r,n,o,i,e[iD]?"OrderedSet":"Set"):e[Sse]?Ev(e,t,r,n,o,i,"Stack"):e[wse]?Tse(e,t,r,n,o,i):Rse(e,t,r,n,o,i);so.serialize=lD;var uD=e=>e&&(e[yse]===!0||e[Ese]===!0);so.test=uD;var Ose={serialize:lD,test:uD},Pse=Ose;so.default=Pse});var yD=se(yt=>{"use strict";var Pc=60103,xc=60106,tl=60107,rl=60108,nl=60114,ol=60109,al=60110,il=60112,sl=60113,wv=60120,ll=60115,ul=60116,dD=60121,pD=60122,fD=60117,hD=60129,mD=60131;typeof Symbol=="function"&&Symbol.for&&(Kt=Symbol.for,Pc=Kt("react.element"),xc=Kt("react.portal"),tl=Kt("react.fragment"),rl=Kt("react.strict_mode"),nl=Kt("react.profiler"),ol=Kt("react.provider"),al=Kt("react.context"),il=Kt("react.forward_ref"),sl=Kt("react.suspense"),wv=Kt("react.suspense_list"),ll=Kt("react.memo"),ul=Kt("react.lazy"),dD=Kt("react.block"),pD=Kt("react.server.block"),fD=Kt("react.fundamental"),hD=Kt("react.debug_trace_mode"),mD=Kt("react.legacy_hidden"));var Kt;function zr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Pc:switch(e=e.type,e){case tl:case nl:case rl:case sl:case wv:return e;default:switch(e=e&&e.$$typeof,e){case al:case il:case ul:case ll:case ol:return e;default:return t}}case xc:return t}}}var xse=ol,qse=Pc,Dse=il,Ise=tl,Mse=ul,Nse=ll,Bse=xc,jse=nl,Fse=rl,Lse=sl;yt.ContextConsumer=al;yt.ContextProvider=xse;yt.Element=qse;yt.ForwardRef=Dse;yt.Fragment=Ise;yt.Lazy=Mse;yt.Memo=Nse;yt.Portal=Bse;yt.Profiler=jse;yt.StrictMode=Fse;yt.Suspense=Lse;yt.isAsyncMode=function(){return!1};yt.isConcurrentMode=function(){return!1};yt.isContextConsumer=function(e){return zr(e)===al};yt.isContextProvider=function(e){return zr(e)===ol};yt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pc};yt.isForwardRef=function(e){return zr(e)===il};yt.isFragment=function(e){return zr(e)===tl};yt.isLazy=function(e){return zr(e)===ul};yt.isMemo=function(e){return zr(e)===ll};yt.isPortal=function(e){return zr(e)===xc};yt.isProfiler=function(e){return zr(e)===nl};yt.isStrictMode=function(e){return zr(e)===rl};yt.isSuspense=function(e){return zr(e)===sl};yt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===tl||e===nl||e===hD||e===rl||e===sl||e===wv||e===mD||typeof e=="object"&&e!==null&&(e.$$typeof===ul||e.$$typeof===ll||e.$$typeof===ol||e.$$typeof===al||e.$$typeof===il||e.$$typeof===fD||e.$$typeof===dD||e[0]===pD)};yt.typeOf=zr});var bD=se(bt=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,s=60110,l=60112,u=60113,c=60120,d=60115,p=60116,h=60121,m=60122,y=60117,g=60119,E=60128,b=60129,w=60130,P=60131;if(typeof Symbol=="function"&&Symbol.for){var A=Symbol.for;e=A("react.element"),t=A("react.portal"),r=A("react.fragment"),n=A("react.strict_mode"),o=A("react.profiler"),i=A("react.provider"),s=A("react.context"),l=A("react.forward_ref"),u=A("react.suspense"),c=A("react.suspense_list"),d=A("react.memo"),p=A("react.lazy"),h=A("react.block"),m=A("react.server.block"),y=A("react.fundamental"),g=A("react.scope"),E=A("react.opaque.id"),b=A("react.debug_trace_mode"),w=A("react.offscreen"),P=A("react.legacy_hidden")}var S=!1;function T(J){return!!(typeof J=="string"||typeof J=="function"||J===r||J===o||J===b||J===n||J===u||J===c||J===P||S||typeof J=="object"&&J!==null&&(J.$$typeof===p||J.$$typeof===d||J.$$typeof===i||J.$$typeof===s||J.$$typeof===l||J.$$typeof===y||J.$$typeof===h||J[0]===m))}function C(J){if(typeof J=="object"&&J!==null){var Se=J.$$typeof;switch(Se){case e:var $e=J.type;switch($e){case r:case o:case n:case u:case c:return $e;default:var tt=$e&&$e.$$typeof;switch(tt){case s:case l:case p:case d:case i:return tt;default:return Se}}case t:return Se}}}var O=s,I=i,W=e,X=l,Y=r,K=p,_=d,x=t,N=o,le=n,ce=u,Re=!1,Ne=!1;function De(J){return Re||(Re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(J){return Ne||(Ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(J){return C(J)===s}function Ee(J){return C(J)===i}function Oe(J){return typeof J=="object"&&J!==null&&J.$$typeof===e}function ke(J){return C(J)===l}function Fe(J){return C(J)===r}function ze(J){return C(J)===p}function dt(J){return C(J)===d}function Q(J){return C(J)===t}function Le(J){return C(J)===o}function Ge(J){return C(J)===n}function et(J){return C(J)===u}bt.ContextConsumer=O,bt.ContextProvider=I,bt.Element=W,bt.ForwardRef=X,bt.Fragment=Y,bt.Lazy=K,bt.Memo=_,bt.Portal=x,bt.Profiler=N,bt.StrictMode=le,bt.Suspense=ce,bt.isAsyncMode=De,bt.isConcurrentMode=ye,bt.isContextConsumer=de,bt.isContextProvider=Ee,bt.isElement=Oe,bt.isForwardRef=ke,bt.isFragment=Fe,bt.isLazy=ze,bt.isMemo=dt,bt.isPortal=Q,bt.isProfiler=Le,bt.isStrictMode=Ge,bt.isSuspense=et,bt.isValidElementType=T,bt.typeOf=C}()});var gD=se((lwe,_v)=>{"use strict";process.env.NODE_ENV==="production"?_v.exports=yD():_v.exports=bD()});var AD=se(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.test=lo.serialize=lo.default=void 0;var Jo=kse(gD()),qc=Tc();function ED(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(ED=function(n){return n?r:t})(e)}function kse(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=ED(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var wD=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{wD(r,t)}):e!=null&&e!==!1&&t.push(e),t),vD=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Jo.isFragment(e))return"React.Fragment";if(Jo.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Jo.isContextProvider(e))return"Context.Provider";if(Jo.isContextConsumer(e))return"Context.Consumer";if(Jo.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(Jo.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},$se=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},_D=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,qc.printElementAsLeaf)(vD(e),t):(0,qc.printElement)(vD(e),(0,qc.printProps)($se(e),e.props,t,r+t.indent,n,o,i),(0,qc.printChildren)(wD(e.props.children),t,r+t.indent,n,o,i),t,r);lo.serialize=_D;var SD=e=>e!=null&&Jo.isElement(e);lo.test=SD;var Use={serialize:_D,test:SD},Hse=Use;lo.default=Hse});var TD=se(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.test=uo.serialize=uo.default=void 0;var Dc=Tc(),Ic=function(){return typeof globalThis<"u"?globalThis:typeof Ic<"u"?Ic:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),Sv=Ic["jest-symbol-do-not-touch"]||Ic.Symbol,Vse=typeof Sv=="function"&&Sv.for?Sv.for("react.test.json"):245830487,Gse=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},CD=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Dc.printElementAsLeaf)(e.type,t):(0,Dc.printElement)(e.type,e.props?(0,Dc.printProps)(Gse(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Dc.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);uo.serialize=CD;var RD=e=>e&&e.$$typeof===Vse;uo.test=RD;var zse={serialize:CD,test:RD},Wse=zse;uo.default=Wse});var HD=se(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=Cn.DEFAULT_OPTIONS=void 0;Cn.format=UD;Cn.plugins=void 0;var Yse=po(yv()),cl=Qs(),Kse=po(Fq()),Jse=po(Gq()),Xse=po(Jq()),Qse=po(aD()),Zse=po(cD()),ele=po(AD()),tle=po(TD());function po(e){return e&&e.__esModule?e:{default:e}}var ID=Object.prototype.toString,rle=Date.prototype.toISOString,nle=Error.prototype.toString,OD=RegExp.prototype.toString,Av=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",ole=e=>typeof window<"u"&&e===window,ale=/^Symbol\((.*)\)(.*)$/,ile=/\n/gi,Mc=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function sle(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function lle(e){return Object.is(e,-0)?"-0":String(e)}function ule(e){return`${e}n`}function PD(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function xD(e){return String(e).replace(ale,"Symbol($1)")}function qD(e){return"["+nle.call(e)+"]"}function MD(e,t,r,n){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return lle(e);if(o==="bigint")return ule(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return PD(e,t);if(o==="symbol")return xD(e);let i=ID.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?PD(e,t):i==="[object Symbol]"?xD(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":rle.call(e):i==="[object Error]"?qD(e):i==="[object RegExp]"?r?OD.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):OD.call(e):e instanceof Error?qD(e):null}function ND(e,t,r,n,o,i){if(o.indexOf(e)!==-1)return"[Circular]";o=o.slice(),o.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return co(e.toJSON(),t,r,n,o,!0);let u=ID.call(e);return u==="[object Arguments]"?s?"[Arguments]":(l?"":"Arguments ")+"["+(0,cl.printListItems)(e,t,r,n,o,co)+"]":sle(u)?s?"["+e.constructor.name+"]":(l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,cl.printListItems)(e,t,r,n,o,co)+"]":u==="[object Map]"?s?"[Map]":"Map {"+(0,cl.printIteratorEntries)(e.entries(),t,r,n,o,co," => ")+"}":u==="[object Set]"?s?"[Set]":"Set {"+(0,cl.printIteratorValues)(e.values(),t,r,n,o,co)+"}":s||ole(e)?"["+Av(e)+"]":(l||!t.printBasicPrototype&&Av(e)==="Object"?"":Av(e)+" ")+"{"+(0,cl.printObjectProperties)(e,t,r,n,o,co)+"}"}function cle(e){return e.serialize!=null}function BD(e,t,r,n,o,i){let s;try{s=cle(e)?e.serialize(t,r,n,o,i,co):e.print(t,l=>co(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replace(ile,`
438
+ `+u)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Mc(l.message,l.stack)}if(typeof s!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function jD(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Mc(n.message,n.stack)}return null}function co(e,t,r,n,o,i){let s=jD(t.plugins,e);if(s!==null)return BD(s,e,t,r,n,o);let l=MD(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:ND(e,t,r,n,o,i)}var Cv={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},FD=Object.keys(Cv),Wr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Cv};Cn.DEFAULT_OPTIONS=Wr;function dle(e){if(Object.keys(e).forEach(t=>{if(!Wr.hasOwnProperty(t))throw new Error(`pretty-format: Unknown option "${t}".`)}),e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(e.theme!==void 0){if(e.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof e.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`)}}var ple=e=>FD.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Cv[r],o=n&&Yse.default[n];if(o&&typeof o.close=="string"&&typeof o.open=="string")t[r]=o;else throw new Error(`pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.`);return t},Object.create(null)),fle=()=>FD.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),LD=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:Wr.printFunctionName,kD=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:Wr.escapeRegex,$D=e=>e&&e.escapeString!==void 0?e.escapeString:Wr.escapeString,DD=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:Wr.callToJSON,colors:e&&e.highlight?ple(e):fle(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:Wr.compareKeys,escapeRegex:kD(e),escapeString:$D(e),indent:e&&e.min?"":hle(e&&e.indent!==void 0?e.indent:Wr.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:Wr.maxDepth,min:e&&e.min!==void 0?e.min:Wr.min,plugins:e&&e.plugins!==void 0?e.plugins:Wr.plugins,printBasicPrototype:(t=e?.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:LD(e),spacingInner:e&&e.min?" ":`
439
+ `,spacingOuter:e&&e.min?"":`
440
+ `}};function hle(e){return new Array(e+1).join(" ")}function UD(e,t){if(t&&(dle(t),t.plugins)){let n=jD(t.plugins,e);if(n!==null)return BD(n,e,DD(t),"",0,[])}let r=MD(e,LD(t),kD(t),$D(t));return r!==null?r:ND(e,DD(t),"",0,[])}var mle={AsymmetricMatcher:Kse.default,ConvertAnsi:Jse.default,DOMCollection:Xse.default,DOMElement:Qse.default,Immutable:Zse.default,ReactElement:ele.default,ReactTestComponent:tle.default};Cn.plugins=mle;var yle=UD;Cn.default=yle});var pI=se(Fc=>{"use strict";Object.defineProperty(Fc,"__esModule",{value:!0});Fc.default=void 0;function Yle(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var o=e[t];return t=t+1,{done:!1,value:o}}else return{done:!0}}};return r}var Kle=Yle;Fc.default=Kle});var Ni=se(Ov=>{"use strict";Object.defineProperty(Ov,"__esModule",{value:!0});Ov.default=Qle;var Jle=Xle(pI());function Xle(e){return e&&e.__esModule?e:{default:e}}function Tv(e){"@babel/helpers - typeof";return Tv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tv(e)}function Qle(e,t){return typeof Symbol=="function"&&Tv(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Jle.default.bind(t)}),e}});var mI=se(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.default=void 0;var Zle=eue(Ni());function eue(e){return e&&e.__esModule?e:{default:e}}function Pv(e,t){return nue(e)||rue(e,t)||hI(e,t)||tue()}function tue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
441
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rue(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function nue(e){if(Array.isArray(e))return e}function oue(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=hI(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
442
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function hI(e,t){if(e){if(typeof e=="string")return fI(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fI(e,t)}}function fI(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Bi=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],xv={entries:function(){return Bi},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=oue(Bi),o;try{for(n.s();!(o=n.n()).done;){var i=Pv(o.value,2),s=i[0],l=i[1];t.call(r,l,s,Bi)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=Bi.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!xv.get(t)},keys:function(){return Bi.map(function(t){var r=Pv(t,1),n=r[0];return n})},values:function(){return Bi.map(function(t){var r=Pv(t,2),n=r[1];return n})}},aue=(0,Zle.default)(xv,xv.entries());Lc.default=aue});var gI=se(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.default=void 0;var iue=sue(Ni());function sue(e){return e&&e.__esModule?e:{default:e}}function qv(e,t){return cue(e)||uue(e,t)||bI(e,t)||lue()}function lue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
443
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uue(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function cue(e){if(Array.isArray(e))return e}function due(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=bI(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
444
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function bI(e,t){if(e){if(typeof e=="string")return yI(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yI(e,t)}}function yI(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ji=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],Dv={entries:function(){return ji},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=due(ji),o;try{for(n.s();!(o=n.n()).done;){var i=qv(o.value,2),s=i[0],l=i[1];t.call(r,l,s,ji)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=ji.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Dv.get(t)},keys:function(){return ji.map(function(t){var r=qv(t,1),n=r[0];return n})},values:function(){return ji.map(function(t){var r=qv(t,2),n=r[1];return n})}},pue=(0,iue.default)(Dv,Dv.entries());kc.default=pue});var vI=se($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.default=void 0;var fue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},hue=fue;$c.default=hue});var EI=se(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.default=void 0;var mue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},yue=mue;Uc.default=yue});var wI=se(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.default=void 0;var bue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},gue=bue;Hc.default=gue});var _I=se(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.default=void 0;var vue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Eue=vue;Vc.default=Eue});var SI=se(Gc=>{"use strict";Object.defineProperty(Gc,"__esModule",{value:!0});Gc.default=void 0;var wue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},_ue=wue;Gc.default=_ue});var AI=se(zc=>{"use strict";Object.defineProperty(zc,"__esModule",{value:!0});zc.default=void 0;var Sue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},Aue=Sue;zc.default=Aue});var CI=se(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.default=void 0;var Cue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Rue=Cue;Wc.default=Rue});var RI=se(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});Yc.default=void 0;var Tue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Oue=Tue;Yc.default=Oue});var TI=se(Kc=>{"use strict";Object.defineProperty(Kc,"__esModule",{value:!0});Kc.default=void 0;var Pue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},xue=Pue;Kc.default=xue});var OI=se(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});Jc.default=void 0;var que={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Due=que;Jc.default=Due});var PI=se(Xc=>{"use strict";Object.defineProperty(Xc,"__esModule",{value:!0});Xc.default=void 0;var Iue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Mue=Iue;Xc.default=Mue});var xI=se(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.default=void 0;var Nue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Bue=Nue;Qc.default=Bue});var qI=se(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.default=void 0;var jue=Dr(vI()),Fue=Dr(EI()),Lue=Dr(wI()),kue=Dr(_I()),$ue=Dr(SI()),Uue=Dr(AI()),Hue=Dr(CI()),Vue=Dr(RI()),Gue=Dr(TI()),zue=Dr(OI()),Wue=Dr(PI()),Yue=Dr(xI());function Dr(e){return e&&e.__esModule?e:{default:e}}var Kue=[["command",jue.default],["composite",Fue.default],["input",Lue.default],["landmark",kue.default],["range",$ue.default],["roletype",Uue.default],["section",Hue.default],["sectionhead",Vue.default],["select",Gue.default],["structure",zue.default],["widget",Wue.default],["window",Yue.default]],Jue=Kue;Zc.default=Jue});var DI=se(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.default=void 0;var Xue={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Que=Xue;ed.default=Que});var II=se(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.default=void 0;var Zue={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},ece=Zue;td.default=ece});var MI=se(rd=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});rd.default=void 0;var tce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},rce=tce;rd.default=rce});var NI=se(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.default=void 0;var nce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},oce=nce;nd.default=oce});var BI=se(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.default=void 0;var ace={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},ice=ace;od.default=ice});var jI=se(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.default=void 0;var sce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},lce=sce;ad.default=lce});var FI=se(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.default=void 0;var uce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},cce=uce;id.default=cce});var LI=se(sd=>{"use strict";Object.defineProperty(sd,"__esModule",{value:!0});sd.default=void 0;var dce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pce=dce;sd.default=pce});var kI=se(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.default=void 0;var fce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hce=fce;ld.default=hce});var $I=se(ud=>{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});ud.default=void 0;var mce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},yce=mce;ud.default=yce});var UI=se(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});cd.default=void 0;var bce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gce=bce;cd.default=gce});var HI=se(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});dd.default=void 0;var vce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},Ece=vce;dd.default=Ece});var VI=se(pd=>{"use strict";Object.defineProperty(pd,"__esModule",{value:!0});pd.default=void 0;var wce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},_ce=wce;pd.default=_ce});var GI=se(fd=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});fd.default=void 0;var Sce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ace=Sce;fd.default=Ace});var zI=se(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.default=void 0;var Cce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Rce=Cce;hd.default=Rce});var WI=se(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.default=void 0;var Tce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Oce=Tce;md.default=Oce});var YI=se(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.default=void 0;var Pce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xce=Pce;yd.default=xce});var KI=se(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.default=void 0;var qce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},Dce=qce;bd.default=Dce});var JI=se(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.default=void 0;var Ice={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Mce=Ice;gd.default=Mce});var XI=se(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.default=void 0;var Nce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Bce=Nce;vd.default=Bce});var QI=se(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.default=void 0;var jce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Fce=jce;Ed.default=Fce});var ZI=se(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.default=void 0;var Lce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},kce=Lce;wd.default=kce});var eM=se(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.default=void 0;var $ce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Uce=$ce;_d.default=Uce});var tM=se(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.default=void 0;var Hce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Vce=Hce;Sd.default=Vce});var rM=se(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});Ad.default=void 0;var Gce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},zce=Gce;Ad.default=zce});var nM=se(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});Cd.default=void 0;var Wce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},Yce=Wce;Cd.default=Yce});var oM=se(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.default=void 0;var Kce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},Jce=Kce;Rd.default=Jce});var aM=se(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.default=void 0;var Xce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Qce=Xce;Td.default=Qce});var iM=se(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.default=void 0;var Zce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},ede=Zce;Od.default=ede});var sM=se(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.default=void 0;var tde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},rde=tde;Pd.default=rde});var lM=se(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.default=void 0;var nde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ode=nde;xd.default=ode});var uM=se(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.default=void 0;var ade={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},ide=ade;qd.default=ide});var cM=se(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.default=void 0;var sde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},lde=sde;Dd.default=lde});var dM=se(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.default=void 0;var ude={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},cde=ude;Id.default=cde});var pM=se(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.default=void 0;var dde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pde=dde;Md.default=pde});var fM=se(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.default=void 0;var fde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hde=fde;Nd.default=hde});var hM=se(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=void 0;var mde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},yde=mde;Bd.default=yde});var mM=se(jd=>{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.default=void 0;var bde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gde=bde;jd.default=gde});var yM=se(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.default=void 0;var vde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ede=vde;Fd.default=Ede});var bM=se(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.default=void 0;var wde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_de=wde;Ld.default=_de});var gM=se(kd=>{"use strict";Object.defineProperty(kd,"__esModule",{value:!0});kd.default=void 0;var Sde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},Ade=Sde;kd.default=Ade});var vM=se($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.default=void 0;var Cde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},Rde=Cde;$d.default=Rde});var EM=se(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.default=void 0;var Tde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},Ode=Tde;Ud.default=Ode});var wM=se(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.default=void 0;var Pde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},xde=Pde;Hd.default=xde});var _M=se(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.default=void 0;var qde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},Dde=qde;Vd.default=Dde});var SM=se(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=void 0;var Ide={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},Mde=Ide;Gd.default=Mde});var AM=se(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.default=void 0;var Nde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Bde=Nde;zd.default=Bde});var CM=se(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.default=void 0;var jde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},Fde=jde;Wd.default=Fde});var RM=se(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.default=void 0;var Lde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},kde=Lde;Yd.default=kde});var TM=se(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.default=void 0;var $de={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},Ude=$de;Kd.default=Ude});var OM=se(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.default=void 0;var Hde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Vde=Hde;Jd.default=Vde});var PM=se(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=void 0;var Gde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},zde=Gde;Xd.default=zde});var xM=se(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=void 0;var Wde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},Yde=Wde;Qd.default=Yde});var qM=se(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.default=void 0;var Kde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},Jde=Kde;Zd.default=Jde});var DM=se(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.default=void 0;var Xde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},Qde=Xde;ep.default=Qde});var IM=se(tp=>{"use strict";Object.defineProperty(tp,"__esModule",{value:!0});tp.default=void 0;var Zde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},epe=Zde;tp.default=epe});var MM=se(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.default=void 0;var tpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},rpe=tpe;rp.default=rpe});var NM=se(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.default=void 0;var npe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},ope=npe;np.default=ope});var BM=se(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.default=void 0;var ape={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},ipe=ape;op.default=ipe});var jM=se(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.default=void 0;var spe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},lpe=spe;ap.default=lpe});var FM=se(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.default=void 0;var upe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cpe=upe;ip.default=cpe});var LM=se(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.default=void 0;var dpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},ppe=dpe;sp.default=ppe});var kM=se(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.default=void 0;var fpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},hpe=fpe;lp.default=hpe});var $M=se(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.default=void 0;var mpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},ype=mpe;up.default=ype});var UM=se(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.default=void 0;var bpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},gpe=bpe;cp.default=gpe});var HM=se(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});dp.default=void 0;var vpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Epe=vpe;dp.default=Epe});var VM=se(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.default=void 0;var wpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_pe=wpe;pp.default=_pe});var GM=se(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=void 0;var Spe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ape=Spe;fp.default=Ape});var zM=se(hp=>{"use strict";Object.defineProperty(hp,"__esModule",{value:!0});hp.default=void 0;var Cpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Rpe=Cpe;hp.default=Rpe});var WM=se(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.default=void 0;var Tpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},Ope=Tpe;mp.default=Ope});var YM=se(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});yp.default=void 0;var Ppe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},xpe=Ppe;yp.default=xpe});var KM=se(bp=>{"use strict";Object.defineProperty(bp,"__esModule",{value:!0});bp.default=void 0;var qpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},Dpe=qpe;bp.default=Dpe});var JM=se(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.default=void 0;var Ipe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},Mpe=Ipe;gp.default=Mpe});var XM=se(vp=>{"use strict";Object.defineProperty(vp,"__esModule",{value:!0});vp.default=void 0;var Npe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Bpe=Npe;vp.default=Bpe});var QM=se(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.default=void 0;var jpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Fpe=jpe;Ep.default=Fpe});var ZM=se(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});wp.default=void 0;var Lpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},kpe=Lpe;wp.default=kpe});var eN=se(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});_p.default=void 0;var $pe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Upe=$pe;_p.default=Upe});var tN=se(Sp=>{"use strict";Object.defineProperty(Sp,"__esModule",{value:!0});Sp.default=void 0;var Hpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},Vpe=Hpe;Sp.default=Vpe});var rN=se(Ap=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.default=void 0;var Gpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},zpe=Gpe;Ap.default=zpe});var nN=se(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.default=void 0;var Wpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ype=Wpe;Cp.default=Ype});var oN=se(Rp=>{"use strict";Object.defineProperty(Rp,"__esModule",{value:!0});Rp.default=void 0;var Kpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},Jpe=Kpe;Rp.default=Jpe});var aN=se(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=void 0;var Xpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},Qpe=Xpe;Tp.default=Qpe});var iN=se(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.default=void 0;var Zpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},efe=Zpe;Op.default=efe});var sN=se(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});Pp.default=void 0;var tfe=qe(DI()),rfe=qe(II()),nfe=qe(MI()),ofe=qe(NI()),afe=qe(BI()),ife=qe(jI()),sfe=qe(FI()),lfe=qe(LI()),ufe=qe(kI()),cfe=qe($I()),dfe=qe(UI()),pfe=qe(HI()),ffe=qe(VI()),hfe=qe(GI()),mfe=qe(zI()),yfe=qe(WI()),bfe=qe(YI()),gfe=qe(KI()),vfe=qe(JI()),Efe=qe(XI()),wfe=qe(QI()),_fe=qe(ZI()),Sfe=qe(eM()),Afe=qe(tM()),Cfe=qe(rM()),Rfe=qe(nM()),Tfe=qe(oM()),Ofe=qe(aM()),Pfe=qe(iM()),xfe=qe(sM()),qfe=qe(lM()),Dfe=qe(uM()),Ife=qe(cM()),Mfe=qe(dM()),Nfe=qe(pM()),Bfe=qe(fM()),jfe=qe(hM()),Ffe=qe(mM()),Lfe=qe(yM()),kfe=qe(bM()),$fe=qe(gM()),Ufe=qe(vM()),Hfe=qe(EM()),Vfe=qe(wM()),Gfe=qe(_M()),zfe=qe(SM()),Wfe=qe(AM()),Yfe=qe(CM()),Kfe=qe(RM()),Jfe=qe(TM()),Xfe=qe(OM()),Qfe=qe(PM()),Zfe=qe(xM()),ehe=qe(qM()),the=qe(DM()),rhe=qe(IM()),nhe=qe(MM()),ohe=qe(NM()),ahe=qe(BM()),ihe=qe(jM()),she=qe(FM()),lhe=qe(LM()),uhe=qe(kM()),che=qe($M()),dhe=qe(UM()),phe=qe(HM()),fhe=qe(VM()),hhe=qe(GM()),mhe=qe(zM()),yhe=qe(WM()),bhe=qe(YM()),ghe=qe(KM()),vhe=qe(JM()),Ehe=qe(XM()),whe=qe(QM()),_he=qe(ZM()),She=qe(eN()),Ahe=qe(tN()),Che=qe(rN()),Rhe=qe(nN()),The=qe(oN()),Ohe=qe(aN()),Phe=qe(iN());function qe(e){return e&&e.__esModule?e:{default:e}}var xhe=[["alert",tfe.default],["alertdialog",rfe.default],["application",nfe.default],["article",ofe.default],["banner",afe.default],["blockquote",ife.default],["button",sfe.default],["caption",lfe.default],["cell",ufe.default],["checkbox",cfe.default],["code",dfe.default],["columnheader",pfe.default],["combobox",ffe.default],["complementary",hfe.default],["contentinfo",mfe.default],["definition",yfe.default],["deletion",bfe.default],["dialog",gfe.default],["directory",vfe.default],["document",Efe.default],["emphasis",wfe.default],["feed",_fe.default],["figure",Sfe.default],["form",Afe.default],["generic",Cfe.default],["grid",Rfe.default],["gridcell",Tfe.default],["group",Ofe.default],["heading",Pfe.default],["img",xfe.default],["insertion",qfe.default],["link",Dfe.default],["list",Ife.default],["listbox",Mfe.default],["listitem",Nfe.default],["log",Bfe.default],["main",jfe.default],["mark",Ffe.default],["marquee",Lfe.default],["math",kfe.default],["menu",$fe.default],["menubar",Ufe.default],["menuitem",Hfe.default],["menuitemcheckbox",Vfe.default],["menuitemradio",Gfe.default],["meter",zfe.default],["navigation",Wfe.default],["none",Yfe.default],["note",Kfe.default],["option",Jfe.default],["paragraph",Xfe.default],["presentation",Qfe.default],["progressbar",Zfe.default],["radio",ehe.default],["radiogroup",the.default],["region",rhe.default],["row",nhe.default],["rowgroup",ohe.default],["rowheader",ahe.default],["scrollbar",ihe.default],["search",she.default],["searchbox",lhe.default],["separator",uhe.default],["slider",che.default],["spinbutton",dhe.default],["status",phe.default],["strong",fhe.default],["subscript",hhe.default],["superscript",mhe.default],["switch",yhe.default],["tab",bhe.default],["table",ghe.default],["tablist",vhe.default],["tabpanel",Ehe.default],["term",whe.default],["textbox",_he.default],["time",She.default],["timer",Ahe.default],["toolbar",Che.default],["tooltip",Rhe.default],["tree",The.default],["treegrid",Ohe.default],["treeitem",Phe.default]],qhe=xhe;Pp.default=qhe});var lN=se(xp=>{"use strict";Object.defineProperty(xp,"__esModule",{value:!0});xp.default=void 0;var Dhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ihe=Dhe;xp.default=Ihe});var uN=se(qp=>{"use strict";Object.defineProperty(qp,"__esModule",{value:!0});qp.default=void 0;var Mhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Nhe=Mhe;qp.default=Nhe});var cN=se(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});Dp.default=void 0;var Bhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},jhe=Bhe;Dp.default=jhe});var dN=se(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.default=void 0;var Fhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Lhe=Fhe;Ip.default=Lhe});var pN=se(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.default=void 0;var khe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},$he=khe;Mp.default=$he});var fN=se(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});Np.default=void 0;var Uhe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},Hhe=Uhe;Np.default=Hhe});var hN=se(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});Bp.default=void 0;var Vhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ghe=Vhe;Bp.default=Ghe});var mN=se(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.default=void 0;var zhe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Whe=zhe;jp.default=Whe});var yN=se(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.default=void 0;var Yhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Khe=Yhe;Fp.default=Khe});var bN=se(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.default=void 0;var Jhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Xhe=Jhe;Lp.default=Xhe});var gN=se(kp=>{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});kp.default=void 0;var Qhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Zhe=Qhe;kp.default=Zhe});var vN=se($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.default=void 0;var eme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},tme=eme;$p.default=tme});var EN=se(Up=>{"use strict";Object.defineProperty(Up,"__esModule",{value:!0});Up.default=void 0;var rme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nme=rme;Up.default=nme});var wN=se(Hp=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.default=void 0;var ome={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},ame=ome;Hp.default=ame});var _N=se(Vp=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});Vp.default=void 0;var ime={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},sme=ime;Vp.default=sme});var SN=se(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.default=void 0;var lme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},ume=lme;Gp.default=ume});var AN=se(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.default=void 0;var cme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},dme=cme;zp.default=dme});var CN=se(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});Wp.default=void 0;var pme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fme=pme;Wp.default=fme});var RN=se(Yp=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});Yp.default=void 0;var hme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},mme=hme;Yp.default=mme});var TN=se(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});Kp.default=void 0;var yme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},bme=yme;Kp.default=bme});var ON=se(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});Jp.default=void 0;var gme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vme=gme;Jp.default=vme});var PN=se(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.default=void 0;var Eme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wme=Eme;Xp.default=wme});var xN=se(Qp=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});Qp.default=void 0;var _me={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Sme=_me;Qp.default=Sme});var qN=se(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.default=void 0;var Ame={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Cme=Ame;Zp.default=Cme});var DN=se(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});ef.default=void 0;var Rme={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Tme=Rme;ef.default=Tme});var IN=se(tf=>{"use strict";Object.defineProperty(tf,"__esModule",{value:!0});tf.default=void 0;var Ome={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},Pme=Ome;tf.default=Pme});var MN=se(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.default=void 0;var xme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},qme=xme;rf.default=qme});var NN=se(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});nf.default=void 0;var Dme={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Ime=Dme;nf.default=Ime});var BN=se(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});of.default=void 0;var Mme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},Nme=Mme;of.default=Nme});var jN=se(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.default=void 0;var Bme={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},jme=Bme;af.default=jme});var FN=se(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});sf.default=void 0;var Fme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},Lme=Fme;sf.default=Lme});var LN=se(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});lf.default=void 0;var kme={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},$me=kme;lf.default=$me});var kN=se(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.default=void 0;var Ume={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Hme=Ume;uf.default=Hme});var $N=se(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.default=void 0;var Vme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Gme=Vme;cf.default=Gme});var UN=se(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.default=void 0;var zme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},Wme=zme;df.default=Wme});var HN=se(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.default=void 0;var Yme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Kme=Yme;pf.default=Kme});var VN=se(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.default=void 0;var Jme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},Xme=Jme;ff.default=Xme});var GN=se(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});hf.default=void 0;var Qme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},Zme=Qme;hf.default=Zme});var zN=se(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.default=void 0;var eye={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},tye=eye;mf.default=tye});var WN=se(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});yf.default=void 0;var rye=nt(lN()),nye=nt(uN()),oye=nt(cN()),aye=nt(dN()),iye=nt(pN()),sye=nt(fN()),lye=nt(hN()),uye=nt(mN()),cye=nt(yN()),dye=nt(bN()),pye=nt(gN()),fye=nt(vN()),hye=nt(EN()),mye=nt(wN()),yye=nt(_N()),bye=nt(SN()),gye=nt(AN()),vye=nt(CN()),Eye=nt(RN()),wye=nt(TN()),_ye=nt(ON()),Sye=nt(PN()),Aye=nt(xN()),Cye=nt(qN()),Rye=nt(DN()),Tye=nt(IN()),Oye=nt(MN()),Pye=nt(NN()),xye=nt(BN()),qye=nt(jN()),Dye=nt(FN()),Iye=nt(LN()),Mye=nt(kN()),Nye=nt($N()),Bye=nt(UN()),jye=nt(HN()),Fye=nt(VN()),Lye=nt(GN()),kye=nt(zN());function nt(e){return e&&e.__esModule?e:{default:e}}var $ye=[["doc-abstract",rye.default],["doc-acknowledgments",nye.default],["doc-afterword",oye.default],["doc-appendix",aye.default],["doc-backlink",iye.default],["doc-biblioentry",sye.default],["doc-bibliography",lye.default],["doc-biblioref",uye.default],["doc-chapter",cye.default],["doc-colophon",dye.default],["doc-conclusion",pye.default],["doc-cover",fye.default],["doc-credit",hye.default],["doc-credits",mye.default],["doc-dedication",yye.default],["doc-endnote",bye.default],["doc-endnotes",gye.default],["doc-epigraph",vye.default],["doc-epilogue",Eye.default],["doc-errata",wye.default],["doc-example",_ye.default],["doc-footnote",Sye.default],["doc-foreword",Aye.default],["doc-glossary",Cye.default],["doc-glossref",Rye.default],["doc-index",Tye.default],["doc-introduction",Oye.default],["doc-noteref",Pye.default],["doc-notice",xye.default],["doc-pagebreak",qye.default],["doc-pagelist",Dye.default],["doc-part",Iye.default],["doc-preface",Mye.default],["doc-prologue",Nye.default],["doc-pullquote",Bye.default],["doc-qna",jye.default],["doc-subtitle",Fye.default],["doc-tip",Lye.default],["doc-toc",kye.default]],Uye=$ye;yf.default=Uye});var YN=se(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.default=void 0;var Hye={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},Vye=Hye;bf.default=Vye});var KN=se(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});gf.default=void 0;var Gye={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},zye=Gye;gf.default=zye});var JN=se(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.default=void 0;var Wye={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},Yye=Wye;vf.default=Yye});var XN=se(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});Ef.default=void 0;var Kye=Iv(YN()),Jye=Iv(KN()),Xye=Iv(JN());function Iv(e){return e&&e.__esModule?e:{default:e}}var Qye=[["graphics-document",Kye.default],["graphics-object",Jye.default],["graphics-symbol",Xye.default]],Zye=Qye;Ef.default=Zye});var _f=se(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.default=void 0;var ebe=yl(qI()),tbe=yl(sN()),rbe=yl(WN()),nbe=yl(XN()),obe=yl(Ni());function yl(e){return e&&e.__esModule?e:{default:e}}function abe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mv(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ZN(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
445
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function ml(e,t){return lbe(e)||sbe(e,t)||ZN(e,t)||ibe()}function ibe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
446
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZN(e,t){if(e){if(typeof e=="string")return QN(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return QN(e,t)}}function QN(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function sbe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function lbe(e){if(Array.isArray(e))return e}var fo=[].concat(ebe.default,tbe.default,rbe.default,nbe.default);fo.forEach(function(e){var t=ml(e,2),r=t[1],n=Mv(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,s=Mv(i),l;try{var u=function(){var d=l.value,p=fo.find(function(E){var b=ml(E,1),w=b[0];return w===d});if(p)for(var h=p[1],m=0,y=Object.keys(h.props);m<y.length;m++){var g=y[m];Object.prototype.hasOwnProperty.call(r.props,g)||Object.assign(r.props,abe({},g,h.props[g]))}};for(s.s();!(l=s.n()).done;)u()}catch(c){s.e(c)}finally{s.f()}}}catch(c){n.e(c)}finally{n.f()}});var Nv={entries:function(){return fo},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Mv(fo),o;try{for(n.s();!(o=n.n()).done;){var i=ml(o.value,2),s=i[0],l=i[1];t.call(r,l,s,fo)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=fo.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Nv.get(t)},keys:function(){return fo.map(function(t){var r=ml(t,1),n=r[0];return n})},values:function(){return fo.map(function(t){var r=ml(t,2),n=r[1];return n})}},ube=(0,obe.default)(Nv,Nv.entries());wf.default=ube});var rB=se(tB=>{var eB=Object.prototype.hasOwnProperty;function Bv(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Bv(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(eB.call(e,r)&&++n&&!eB.call(t,r)||!(r in t)||!Bv(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}tB.dequal=Bv});var uB=se(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.default=void 0;var aB=rB(),cbe=sB(Ni()),iB=sB(_f());function sB(e){return e&&e.__esModule?e:{default:e}}function jv(e,t){return fbe(e)||pbe(e,t)||lB(e,t)||dbe()}function dbe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
447
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pbe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function fbe(e){if(Array.isArray(e))return e}function hbe(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=lB(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
448
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function lB(e,t){if(e){if(typeof e=="string")return nB(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nB(e,t)}}function nB(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ho=[],oB=iB.default.keys();for(Sf=0;Sf<oB.length;Sf++)if(Af=oB[Sf],Cf=iB.default.get(Af),Cf)for(Fv=[].concat(Cf.baseConcepts,Cf.relatedConcepts),Rf=0;Rf<Fv.length;Rf++)Lv=Fv[Rf],Lv.module==="HTML"&&function(){var e=Lv.concept;if(e){var t=ho.find(function(i){return(0,aB.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===Af){n=!1;break}n&&r.push(Af),ho.push([e,r])}}();var Af,Cf,Fv,Lv,Rf,Sf,kv={entries:function(){return ho},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=hbe(ho),o;try{for(n.s();!(o=n.n()).done;){var i=jv(o.value,2),s=i[0],l=i[1];t.call(r,l,s,ho)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=ho.find(function(n){return t.name===n[0].name&&(0,aB.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!kv.get(t)},keys:function(){return ho.map(function(t){var r=jv(t,1),n=r[0];return n})},values:function(){return ho.map(function(t){var r=jv(t,2),n=r[1];return n})}},mbe=(0,cbe.default)(kv,kv.entries());Tf.default=mbe});var mB=se(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.default=void 0;var ybe=fB(Ni()),pB=fB(_f());function fB(e){return e&&e.__esModule?e:{default:e}}function $v(e,t){return vbe(e)||gbe(e,t)||hB(e,t)||bbe()}function bbe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
449
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gbe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function vbe(e){if(Array.isArray(e))return e}function Ebe(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=hB(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
450
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function hB(e,t){if(e){if(typeof e=="string")return cB(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cB(e,t)}}function cB(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Xo=[],dB=pB.default.keys();for(Of=0;Of<dB.length;Of++)if(Uv=dB[Of],Pf=pB.default.get(Uv),xf=[],Pf){for(Hv=[].concat(Pf.baseConcepts,Pf.relatedConcepts),qf=0;qf<Hv.length;qf++)Vv=Hv[qf],Vv.module==="HTML"&&(Gv=Vv.concept,Gv!=null&&xf.push(Gv));xf.length>0&&Xo.push([Uv,xf])}var Uv,Pf,xf,Hv,Vv,Gv,qf,Of,zv={entries:function(){return Xo},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Ebe(Xo),o;try{for(n.s();!(o=n.n()).done;){var i=$v(o.value,2),s=i[0],l=i[1];t.call(r,l,s,Xo)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=Xo.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!zv.get(t)},keys:function(){return Xo.map(function(t){var r=$v(t,1),n=r[0];return n})},values:function(){return Xo.map(function(t){var r=$v(t,2),n=r[1];return n})}},wbe=(0,ybe.default)(zv,zv.entries());Df.default=wbe});var yB=se(Ir=>{"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});Ir.roles=Ir.roleElements=Ir.elementRoles=Ir.dom=Ir.aria=void 0;var _be=bl(mI()),Sbe=bl(gI()),Abe=bl(_f()),Cbe=bl(uB()),Rbe=bl(mB());function bl(e){return e&&e.__esModule?e:{default:e}}var Tbe=_be.default;Ir.aria=Tbe;var Obe=Sbe.default;Ir.dom=Obe;var Pbe=Abe.default;Ir.roles=Pbe;var xbe=Cbe.default;Ir.elementRoles=xbe;var qbe=Rbe.default;Ir.roleElements=qbe});var bB=se((_Ae,If)=>{var Wv=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function o(s,l){if(!n[s]){n[s]={};for(var u=0;u<s.length;u++)n[s][s.charAt(u)]=u}return n[s][l]}var i={compressToBase64:function(s){if(s==null)return"";var l=i._compress(s,6,function(u){return t.charAt(u)});switch(l.length%4){default:case 0:return l;case 1:return l+"===";case 2:return l+"==";case 3:return l+"="}},decompressFromBase64:function(s){return s==null?"":s==""?null:i._decompress(s.length,32,function(l){return o(t,s.charAt(l))})},compressToUTF16:function(s){return s==null?"":i._compress(s,15,function(l){return e(l+32)})+" "},decompressFromUTF16:function(s){return s==null?"":s==""?null:i._decompress(s.length,16384,function(l){return s.charCodeAt(l)-32})},compressToUint8Array:function(s){for(var l=i.compress(s),u=new Uint8Array(l.length*2),c=0,d=l.length;c<d;c++){var p=l.charCodeAt(c);u[c*2]=p>>>8,u[c*2+1]=p%256}return u},decompressFromUint8Array:function(s){if(s==null)return i.decompress(s);for(var l=new Array(s.length/2),u=0,c=l.length;u<c;u++)l[u]=s[u*2]*256+s[u*2+1];var d=[];return l.forEach(function(p){d.push(e(p))}),i.decompress(d.join(""))},compressToEncodedURIComponent:function(s){return s==null?"":i._compress(s,6,function(l){return r.charAt(l)})},decompressFromEncodedURIComponent:function(s){return s==null?"":s==""?null:(s=s.replace(/ /g,"+"),i._decompress(s.length,32,function(l){return o(r,s.charAt(l))}))},compress:function(s){return i._compress(s,16,function(l){return e(l)})},_compress:function(s,l,u){if(s==null)return"";var c,d,p={},h={},m="",y="",g="",E=2,b=3,w=2,P=[],A=0,S=0,T;for(T=0;T<s.length;T+=1)if(m=s.charAt(T),Object.prototype.hasOwnProperty.call(p,m)||(p[m]=b++,h[m]=!0),y=g+m,Object.prototype.hasOwnProperty.call(p,y))g=y;else{if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(c=0;c<w;c++)A=A<<1,S==l-1?(S=0,P.push(u(A)),A=0):S++;for(d=g.charCodeAt(0),c=0;c<8;c++)A=A<<1|d&1,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=d>>1}else{for(d=1,c=0;c<w;c++)A=A<<1|d,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=0;for(d=g.charCodeAt(0),c=0;c<16;c++)A=A<<1|d&1,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=d>>1}E--,E==0&&(E=Math.pow(2,w),w++),delete h[g]}else for(d=p[g],c=0;c<w;c++)A=A<<1|d&1,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=d>>1;E--,E==0&&(E=Math.pow(2,w),w++),p[y]=b++,g=String(m)}if(g!==""){if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(c=0;c<w;c++)A=A<<1,S==l-1?(S=0,P.push(u(A)),A=0):S++;for(d=g.charCodeAt(0),c=0;c<8;c++)A=A<<1|d&1,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=d>>1}else{for(d=1,c=0;c<w;c++)A=A<<1|d,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=0;for(d=g.charCodeAt(0),c=0;c<16;c++)A=A<<1|d&1,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=d>>1}E--,E==0&&(E=Math.pow(2,w),w++),delete h[g]}else for(d=p[g],c=0;c<w;c++)A=A<<1|d&1,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=d>>1;E--,E==0&&(E=Math.pow(2,w),w++)}for(d=2,c=0;c<w;c++)A=A<<1|d&1,S==l-1?(S=0,P.push(u(A)),A=0):S++,d=d>>1;for(;;)if(A=A<<1,S==l-1){P.push(u(A));break}else S++;return P.join("")},decompress:function(s){return s==null?"":s==""?null:i._decompress(s.length,32768,function(l){return s.charCodeAt(l)})},_decompress:function(s,l,u){var c=[],d,p=4,h=4,m=3,y="",g=[],E,b,w,P,A,S,T,C={val:u(0),position:l,index:1};for(E=0;E<3;E+=1)c[E]=E;for(w=0,A=Math.pow(2,2),S=1;S!=A;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(P>0?1:0)*S,S<<=1;switch(d=w){case 0:for(w=0,A=Math.pow(2,8),S=1;S!=A;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(P>0?1:0)*S,S<<=1;T=e(w);break;case 1:for(w=0,A=Math.pow(2,16),S=1;S!=A;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(P>0?1:0)*S,S<<=1;T=e(w);break;case 2:return""}for(c[3]=T,b=T,g.push(T);;){if(C.index>s)return"";for(w=0,A=Math.pow(2,m),S=1;S!=A;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(P>0?1:0)*S,S<<=1;switch(T=w){case 0:for(w=0,A=Math.pow(2,8),S=1;S!=A;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(P>0?1:0)*S,S<<=1;c[h++]=e(w),T=h-1,p--;break;case 1:for(w=0,A=Math.pow(2,16),S=1;S!=A;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(P>0?1:0)*S,S<<=1;c[h++]=e(w),T=h-1,p--;break;case 2:return g.join("")}if(p==0&&(p=Math.pow(2,m),m++),c[T])y=c[T];else if(T===h)y=b+b.charAt(0);else return null;g.push(y),c[h++]=b+y.charAt(0),p--,b=y,p==0&&(p=Math.pow(2,m),m++)}}};return i}();typeof define=="function"&&define.amd?define(function(){return Wv}):typeof If<"u"&&If!=null?If.exports=Wv:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return Wv})});var CF=Object.defineProperty,On=(e,t)=>CF(e,"name",{value:t,configurable:!0}),RF=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:TF}=RF,Pn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},OF=TF,ta=Pn[OF]||Pn.info,ot={trace:On((e,...t)=>{ta<=Pn.trace&&console.trace(e,...t)},"trace"),debug:On((e,...t)=>{ta<=Pn.debug&&console.debug(e,...t)},"debug"),info:On((e,...t)=>{ta<=Pn.info&&console.info(e,...t)},"info"),warn:On((e,...t)=>{ta<=Pn.warn&&console.warn(e,...t)},"warn"),error:On((e,...t)=>{ta<=Pn.error&&console.error(e,...t)},"error"),log:On((e,...t)=>{ta<Pn.silent&&console.log(e,...t)},"log")},Vf=new Set,Mt=On(e=>(t,...r)=>{if(!Vf.has(t))return Vf.add(t),ot[e](t,...r)},"once");Mt.clear=()=>Vf.clear();Mt.trace=Mt("trace");Mt.debug=Mt("debug");Mt.info=Mt("info");Mt.warn=Mt("warn");Mt.error=Mt("error");Mt.log=Mt("log");var dn=Mt("warn"),vr=On(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));i=n.exec(t[0]);)r.push(i[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}ot[e].apply(ot,r)},"pretty");vr.trace=vr("trace");vr.debug=vr("debug");vr.info=vr("info");vr.warn=vr("warn");vr.error=vr("error");var Tl={};AF(Tl,{ARGTYPES_INFO_REQUEST:()=>dh,ARGTYPES_INFO_RESPONSE:()=>Rl,CHANNEL_CREATED:()=>xF,CHANNEL_WS_DISCONNECT:()=>zf,CONFIG_ERROR:()=>Wf,CREATE_NEW_STORYFILE_REQUEST:()=>qF,CREATE_NEW_STORYFILE_RESPONSE:()=>DF,CURRENT_STORY_WAS_SET:()=>Al,DOCS_PREPARED:()=>Yf,DOCS_RENDERED:()=>Hi,FILE_COMPONENT_SEARCH_REQUEST:()=>IF,FILE_COMPONENT_SEARCH_RESPONSE:()=>MF,FORCE_REMOUNT:()=>Kf,FORCE_RE_RENDER:()=>Vi,GLOBALS_UPDATED:()=>vo,NAVIGATE_URL:()=>NF,PLAY_FUNCTION_THREW_EXCEPTION:()=>Jf,PRELOAD_ENTRIES:()=>Qf,PREVIEW_BUILDER_PROGRESS:()=>BF,PREVIEW_KEYDOWN:()=>Zf,REGISTER_SUBSCRIPTION:()=>jF,REQUEST_WHATS_NEW_DATA:()=>WF,RESET_STORY_ARGS:()=>Gi,RESULT_WHATS_NEW_DATA:()=>YF,SAVE_STORY_REQUEST:()=>QF,SAVE_STORY_RESPONSE:()=>ZF,SELECT_STORY:()=>FF,SET_CONFIG:()=>LF,SET_CURRENT_STORY:()=>eh,SET_FILTER:()=>kF,SET_GLOBALS:()=>th,SET_INDEX:()=>$F,SET_STORIES:()=>UF,SET_WHATS_NEW_CACHE:()=>KF,SHARED_STATE_CHANGED:()=>HF,SHARED_STATE_SET:()=>VF,STORIES_COLLAPSE_ALL:()=>GF,STORIES_EXPAND_ALL:()=>zF,STORY_ARGS_UPDATED:()=>rh,STORY_CHANGED:()=>nh,STORY_ERRORED:()=>oh,STORY_INDEX_INVALIDATED:()=>ah,STORY_MISSING:()=>Cl,STORY_PREPARED:()=>ih,STORY_RENDERED:()=>ra,STORY_RENDER_PHASE_CHANGED:()=>Eo,STORY_SPECIFIED:()=>sh,STORY_THREW_EXCEPTION:()=>lh,STORY_UNCHANGED:()=>uh,TELEMETRY_ERROR:()=>XF,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>oL,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>aL,TESTING_MODULE_CRASH_REPORT:()=>eL,TESTING_MODULE_PROGRESS_REPORT:()=>tL,TESTING_MODULE_RUN_ALL_REQUEST:()=>nL,TESTING_MODULE_RUN_REQUEST:()=>rL,TESTING_MODULE_WATCH_MODE_REQUEST:()=>iL,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>JF,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Xf,UPDATE_GLOBALS:()=>zi,UPDATE_QUERY_PARAMS:()=>ch,UPDATE_STORY_ARGS:()=>Wi,default:()=>PF});var Gf=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",e))(Gf||{}),PF=Gf,{CHANNEL_WS_DISCONNECT:zf,CHANNEL_CREATED:xF,CONFIG_ERROR:Wf,CREATE_NEW_STORYFILE_REQUEST:qF,CREATE_NEW_STORYFILE_RESPONSE:DF,CURRENT_STORY_WAS_SET:Al,DOCS_PREPARED:Yf,DOCS_RENDERED:Hi,FILE_COMPONENT_SEARCH_REQUEST:IF,FILE_COMPONENT_SEARCH_RESPONSE:MF,FORCE_RE_RENDER:Vi,FORCE_REMOUNT:Kf,GLOBALS_UPDATED:vo,NAVIGATE_URL:NF,PLAY_FUNCTION_THREW_EXCEPTION:Jf,UNHANDLED_ERRORS_WHILE_PLAYING:Xf,PRELOAD_ENTRIES:Qf,PREVIEW_BUILDER_PROGRESS:BF,PREVIEW_KEYDOWN:Zf,REGISTER_SUBSCRIPTION:jF,RESET_STORY_ARGS:Gi,SELECT_STORY:FF,SET_CONFIG:LF,SET_CURRENT_STORY:eh,SET_FILTER:kF,SET_GLOBALS:th,SET_INDEX:$F,SET_STORIES:UF,SHARED_STATE_CHANGED:HF,SHARED_STATE_SET:VF,STORIES_COLLAPSE_ALL:GF,STORIES_EXPAND_ALL:zF,STORY_ARGS_UPDATED:rh,STORY_CHANGED:nh,STORY_ERRORED:oh,STORY_INDEX_INVALIDATED:ah,STORY_MISSING:Cl,STORY_PREPARED:ih,STORY_RENDER_PHASE_CHANGED:Eo,STORY_RENDERED:ra,STORY_SPECIFIED:sh,STORY_THREW_EXCEPTION:lh,STORY_UNCHANGED:uh,UPDATE_GLOBALS:zi,UPDATE_QUERY_PARAMS:ch,UPDATE_STORY_ARGS:Wi,REQUEST_WHATS_NEW_DATA:WF,RESULT_WHATS_NEW_DATA:YF,SET_WHATS_NEW_CACHE:KF,TOGGLE_WHATS_NEW_NOTIFICATIONS:JF,TELEMETRY_ERROR:XF,SAVE_STORY_REQUEST:QF,SAVE_STORY_RESPONSE:ZF,ARGTYPES_INFO_REQUEST:dh,ARGTYPES_INFO_RESPONSE:Rl,TESTING_MODULE_CRASH_REPORT:eL,TESTING_MODULE_PROGRESS_REPORT:tL,TESTING_MODULE_RUN_REQUEST:rL,TESTING_MODULE_RUN_ALL_REQUEST:nL,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:oL,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:aL,TESTING_MODULE_WATCH_MODE_REQUEST:iL}=Gf;var sL=Object.create,yh=Object.defineProperty,lL=Object.getOwnPropertyDescriptor,uL=Object.getOwnPropertyNames,cL=Object.getPrototypeOf,dL=Object.prototype.hasOwnProperty,we=(e,t)=>yh(e,"name",{value:t,configurable:!0}),Ol=(e=>typeof It<"u"?It:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof It<"u"?It:t)[r]}):e)(function(e){if(typeof It<"u")return It.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),pL=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of uL(t))!dL.call(e,o)&&o!==r&&yh(e,o,{get:()=>t[o],enumerable:!(n=lL(t,o))||n.enumerable});return e},hL=(e,t,r)=>(r=e!=null?sL(cL(e)):{},fL(t||!e||!e.__esModule?yh(r,"default",{value:e,enumerable:!0}):r,e)),mL=pL((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return we(function i(s,l,u){function c(h,m){if(!l[h]){if(!s[h]){var y=typeof Ol=="function"&&Ol;if(!m&&y)return y(h,!0);if(d)return d(h,!0);var g=new Error("Cannot find module '"+h+"'");throw g.code="MODULE_NOT_FOUND",g}var E=l[h]={exports:{}};s[h][0].call(E.exports,function(b){var w=s[h][1][b];return c(w||b)},E,E.exports,i,s,l,u)}return l[h].exports}we(c,"s");for(var d=typeof Ol=="function"&&Ol,p=0;p<u.length;p++)c(u[p]);return c},"e")({1:[function(i,s,l){s.exports=function(u){if(typeof Map!="function"||u){var c=i("./similar");return new c}else return new Map}},{"./similar":2}],2:[function(i,s,l){function u(){return this.list=[],this.lastItem=void 0,this.size=0,this}we(u,"Similar"),u.prototype.get=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c))return this.lastItem.val;if(d=this.indexOf(c),d>=0)return this.lastItem=this.list[d],this.list[d].val},u.prototype.set=function(c,d){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=d,this):(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],this.list[p].val=d,this):(this.lastItem={key:c,val:d},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),d=this.indexOf(c),d>=0)return this.size--,this.list.splice(d,1)[0]},u.prototype.has=function(c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],!0):!1)},u.prototype.forEach=function(c,d){var p;for(p=0;p<this.size;p++)c.call(d||this,this.list[p].val,this.list[p].key,this)},u.prototype.indexOf=function(c){var d;for(d=0;d<this.size;d++)if(this.isEqual(this.list[d].key,c))return d;return-1},u.prototype.isEqual=function(c,d){return c===d||c!==c&&d!==d},s.exports=u},{}],3:[function(i,s,l){var u=i("map-or-similar");s.exports=function(h){var m=new u(!1),y=[];return function(g){var E=we(function(){var b=m,w,P,A=arguments.length-1,S=Array(A+1),T=!0,C;if((E.numArgs||E.numArgs===0)&&E.numArgs!==A+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(C=0;C<A;C++){if(S[C]={cacheItem:b,arg:arguments[C]},b.has(arguments[C])){b=b.get(arguments[C]);continue}T=!1,w=new u(!1),b.set(arguments[C],w),b=w}return T&&(b.has(arguments[A])?P=b.get(arguments[A]):T=!1),T||(P=g.apply(null,arguments),b.set(arguments[A],P)),h>0&&(S[A]={cacheItem:b,arg:arguments[A]},T?c(y,S):y.push(S),y.length>h&&d(y.shift())),E.wasMemoized=T,E.numArgs=A+1,P},"memoizerific");return E.limit=h,E.wasMemoized=!1,E.cache=m,E.lru=y,E}};function c(h,m){var y=h.length,g=m.length,E,b,w;for(b=0;b<y;b++){for(E=!0,w=0;w<g;w++)if(!p(h[b][w].arg,m[w].arg)){E=!1;break}if(E)break}h.push(h.splice(b,1)[0])}we(c,"moveToMostRecentLru");function d(h){var m=h.length,y=h[m-1],g,E;for(y.cacheItem.delete(y.arg),E=m-2;E>=0&&(y=h[E],g=y.cacheItem.get(y.arg),!g||!g.size);E--)y.cacheItem.delete(y.arg)}we(d,"removeCachedResult");function p(h,m){return h===m||h!==h&&m!==m}we(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Bt=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),yL=we(e=>e.transports!==void 0,"isMulti"),bL=we(()=>Math.random().toString(16).slice(2),"generateRandomId"),B0=class{constructor(t={}){this.sender=bL(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,yL(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=we(()=>{this.transports.forEach(s=>{s.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=we((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};we(B0,"Channel");var ql=B0,gL=Object.create,j0=Object.defineProperty,vL=Object.getOwnPropertyDescriptor,F0=Object.getOwnPropertyNames,EL=Object.getPrototypeOf,wL=Object.prototype.hasOwnProperty,Cr=we((e,t)=>we(function(){return t||(0,e[F0(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),_L=we((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of F0(t))!wL.call(e,o)&&o!==r&&j0(e,o,{get:we(()=>t[o],"get"),enumerable:!(n=vL(t,o))||n.enumerable});return e},"__copyProps"),bh=we((e,t,r)=>(r=e!=null?gL(EL(e)):{},_L(t||!e||!e.__esModule?j0(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),SL=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],AL=["detail"];function L0(e){let t=SL.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&AL.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}we(L0,"extractEventHiddenProperties");var CL=hL(mL(),1),k0=Cr({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=we(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),$0=Cr({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=k0();t.exports=we(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),RL=Cr({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=we(function(s){var l=this;if(typeof l!="function"||o.call(l)!==i)throw new TypeError(r+l);for(var u=n.call(arguments,1),c,d=we(function(){if(this instanceof c){var g=l.apply(this,u.concat(n.call(arguments)));return Object(g)===g?g:this}else return l.apply(s,u.concat(n.call(arguments)))},"binder"),p=Math.max(0,l.length-u.length),h=[],m=0;m<p;m++)h.push("$"+m);if(c=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(d),l.prototype){var y=we(function(){},"Empty2");y.prototype=l.prototype,c.prototype=new y,y.prototype=null}return c},"bind")}}),gh=Cr({"node_modules/function-bind/index.js"(e,t){"use strict";var r=RL();t.exports=Function.prototype.bind||r}}),TL=Cr({"node_modules/has/src/index.js"(e,t){"use strict";var r=gh();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),U0=Cr({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=SyntaxError,o=Function,i=TypeError,s=we(function(Y){try{return o('"use strict"; return ('+Y+").constructor;")()}catch{}},"getEvalledConstructor"),l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var u=we(function(){throw new i},"throwTypeError"),c=l?function(){try{return arguments.callee,u}catch{try{return l(arguments,"callee").get}catch{return u}}}():u,d=$0()(),p=Object.getPrototypeOf||function(Y){return Y.__proto__},h={},m=typeof Uint8Array>"u"?r:p(Uint8Array),y={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!d?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!d?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":m,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=we(function Y(K){var _;if(K==="%AsyncFunction%")_=s("async function () {}");else if(K==="%GeneratorFunction%")_=s("function* () {}");else if(K==="%AsyncGeneratorFunction%")_=s("async function* () {}");else if(K==="%AsyncGenerator%"){var x=Y("%AsyncGeneratorFunction%");x&&(_=x.prototype)}else if(K==="%AsyncIteratorPrototype%"){var N=Y("%AsyncGenerator%");N&&(_=p(N.prototype))}return y[K]=_,_},"doEval2"),E={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=gh(),w=TL(),P=b.call(Function.call,Array.prototype.concat),A=b.call(Function.apply,Array.prototype.splice),S=b.call(Function.call,String.prototype.replace),T=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,W=we(function(Y){var K=T(Y,0,1),_=T(Y,-1);if(K==="%"&&_!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(_==="%"&&K!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var x=[];return S(Y,O,function(N,le,ce,Re){x[x.length]=ce?S(Re,I,"$1"):le||N}),x},"stringToPath3"),X=we(function(Y,K){var _=Y,x;if(w(E,_)&&(x=E[_],_="%"+x[0]+"%"),w(y,_)){var N=y[_];if(N===h&&(N=g(_)),typeof N>"u"&&!K)throw new i("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:x,name:_,value:N}}throw new n("intrinsic "+Y+" does not exist!")},"getBaseIntrinsic2");t.exports=we(function(Y,K){if(typeof Y!="string"||Y.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof K!="boolean")throw new i('"allowMissing" argument must be a boolean');if(C(/^%?[^%]*%?$/,Y)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _=W(Y),x=_.length>0?_[0]:"",N=X("%"+x+"%",K),le=N.name,ce=N.value,Re=!1,Ne=N.alias;Ne&&(x=Ne[0],A(_,P([0,1],Ne)));for(var De=1,ye=!0;De<_.length;De+=1){var de=_[De],Ee=T(de,0,1),Oe=T(de,-1);if((Ee==='"'||Ee==="'"||Ee==="`"||Oe==='"'||Oe==="'"||Oe==="`")&&Ee!==Oe)throw new n("property names with quotes must have matching quotes");if((de==="constructor"||!ye)&&(Re=!0),x+="."+de,le="%"+x+"%",w(y,le))ce=y[le];else if(ce!=null){if(!(de in ce)){if(!K)throw new i("base intrinsic for "+Y+" exists, but the property is not available.");return}if(l&&De+1>=_.length){var ke=l(ce,de);ye=!!ke,ye&&"get"in ke&&!("originalValue"in ke.get)?ce=ke.get:ce=ce[de]}else ye=w(ce,de),ce=ce[de];ye&&!Re&&(y[le]=ce)}}return ce},"GetIntrinsic")}}),OL=Cr({"node_modules/call-bind/index.js"(e,t){"use strict";var r=gh(),n=U0(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,o),l=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=we(function(p){var h=s(r,i,arguments);if(l&&u){var m=l(h,"length");m.configurable&&u(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h},"callBind");var d=we(function(){return s(r,o,arguments)},"applyBind2");u?u(t.exports,"apply",{value:d}):t.exports.apply=d}}),PL=Cr({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=U0(),n=OL(),o=n(r("String.prototype.indexOf"));t.exports=we(function(i,s){var l=r(i,!!s);return typeof l=="function"&&o(i,".prototype.")>-1?n(l):l},"callBoundIntrinsic")}}),xL=Cr({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=k0();t.exports=we(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),qL=Cr({"node_modules/is-regex/index.js"(e,t){"use strict";var r=PL(),n=xL()(),o,i,s,l;n&&(o=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},u=we(function(){throw s},"throwRegexMarker"),l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,c=r("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=we(n?function(h){if(!h||typeof h!="object")return!1;var m=d(h,"lastIndex"),y=m&&o(m,"value");if(!y)return!1;try{i(h,l)}catch(g){return g===s}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p},"isRegex")}}),DL=Cr({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}we(n,"isFunction3")}}),IL=Cr({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=$0()();n?(o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=we(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(o.call(l))},"isRealSymbolObject"),t.exports=we(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}},"isSymbol3")):t.exports=we(function(l){return!1},"isSymbol3");var o,i,s}}),ML=bh(qL()),NL=bh(DL()),BL=bh(IL());function H0(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}we(H0,"isObject");var jL=typeof global=="object"&&global&&global.Object===Object&&global,FL=jL,LL=typeof self=="object"&&self&&self.Object===Object&&self,kL=FL||LL||Function("return this")(),vh=kL,$L=vh.Symbol,na=$L,V0=Object.prototype,UL=V0.hasOwnProperty,HL=V0.toString,Yi=na?na.toStringTag:void 0;function G0(e){var t=UL.call(e,Yi),r=e[Yi];try{e[Yi]=void 0;var n=!0}catch{}var o=HL.call(e);return n&&(t?e[Yi]=r:delete e[Yi]),o}we(G0,"getRawTag");var VL=G0,GL=Object.prototype,zL=GL.toString;function z0(e){return zL.call(e)}we(z0,"objectToString");var WL=z0,YL="[object Null]",KL="[object Undefined]",x0=na?na.toStringTag:void 0;function W0(e){return e==null?e===void 0?KL:YL:x0&&x0 in Object(e)?VL(e):WL(e)}we(W0,"baseGetTag");var Y0=W0;function K0(e){return e!=null&&typeof e=="object"}we(K0,"isObjectLike");var JL=K0,XL="[object Symbol]";function J0(e){return typeof e=="symbol"||JL(e)&&Y0(e)==XL}we(J0,"isSymbol");var Eh=J0;function X0(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}we(X0,"arrayMap");var QL=X0,ZL=Array.isArray,wh=ZL,ek=1/0,q0=na?na.prototype:void 0,D0=q0?q0.toString:void 0;function _h(e){if(typeof e=="string")return e;if(wh(e))return QL(e,_h)+"";if(Eh(e))return D0?D0.call(e):"";var t=e+"";return t=="0"&&1/e==-ek?"-0":t}we(_h,"baseToString");var tk=_h;function Q0(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}we(Q0,"isObject2");var Z0=Q0,rk="[object AsyncFunction]",nk="[object Function]",ok="[object GeneratorFunction]",ak="[object Proxy]";function eE(e){if(!Z0(e))return!1;var t=Y0(e);return t==nk||t==ok||t==rk||t==ak}we(eE,"isFunction");var ik=eE,sk=vh["__core-js_shared__"],ph=sk,I0=function(){var e=/[^.]+$/.exec(ph&&ph.keys&&ph.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tE(e){return!!I0&&I0 in e}we(tE,"isMasked");var lk=tE,uk=Function.prototype,ck=uk.toString;function rE(e){if(e!=null){try{return ck.call(e)}catch{}try{return e+""}catch{}}return""}we(rE,"toSource");var dk=rE,pk=/[\\^$.*+?()[\]{}|]/g,fk=/^\[object .+?Constructor\]$/,hk=Function.prototype,mk=Object.prototype,yk=hk.toString,bk=mk.hasOwnProperty,gk=RegExp("^"+yk.call(bk).replace(pk,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nE(e){if(!Z0(e)||lk(e))return!1;var t=ik(e)?gk:fk;return t.test(dk(e))}we(nE,"baseIsNative");var vk=nE;function oE(e,t){return e?.[t]}we(oE,"getValue");var Ek=oE;function aE(e,t){var r=Ek(e,t);return vk(r)?r:void 0}we(aE,"getNative");var iE=aE;function sE(e,t){return e===t||e!==e&&t!==t}we(sE,"eq");var wk=sE,_k=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sk=/^\w*$/;function lE(e,t){if(wh(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Eh(e)?!0:Sk.test(e)||!_k.test(e)||t!=null&&e in Object(t)}we(lE,"isKey");var Ak=lE,Ck=iE(Object,"create"),Ki=Ck;function uE(){this.__data__=Ki?Ki(null):{},this.size=0}we(uE,"hashClear");var Rk=uE;function cE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}we(cE,"hashDelete");var Tk=cE,Ok="__lodash_hash_undefined__",Pk=Object.prototype,xk=Pk.hasOwnProperty;function dE(e){var t=this.__data__;if(Ki){var r=t[e];return r===Ok?void 0:r}return xk.call(t,e)?t[e]:void 0}we(dE,"hashGet");var qk=dE,Dk=Object.prototype,Ik=Dk.hasOwnProperty;function pE(e){var t=this.__data__;return Ki?t[e]!==void 0:Ik.call(t,e)}we(pE,"hashHas");var Mk=pE,Nk="__lodash_hash_undefined__";function fE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ki&&t===void 0?Nk:t,this}we(fE,"hashSet");var Bk=fE;function wo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}we(wo,"Hash");wo.prototype.clear=Rk;wo.prototype.delete=Tk;wo.prototype.get=qk;wo.prototype.has=Mk;wo.prototype.set=Bk;var M0=wo;function hE(){this.__data__=[],this.size=0}we(hE,"listCacheClear");var jk=hE;function mE(e,t){for(var r=e.length;r--;)if(wk(e[r][0],t))return r;return-1}we(mE,"assocIndexOf");var Dl=mE,Fk=Array.prototype,Lk=Fk.splice;function yE(e){var t=this.__data__,r=Dl(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Lk.call(t,r,1),--this.size,!0}we(yE,"listCacheDelete");var kk=yE;function bE(e){var t=this.__data__,r=Dl(t,e);return r<0?void 0:t[r][1]}we(bE,"listCacheGet");var $k=bE;function gE(e){return Dl(this.__data__,e)>-1}we(gE,"listCacheHas");var Uk=gE;function vE(e,t){var r=this.__data__,n=Dl(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}we(vE,"listCacheSet");var Hk=vE;function _o(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}we(_o,"ListCache");_o.prototype.clear=jk;_o.prototype.delete=kk;_o.prototype.get=$k;_o.prototype.has=Uk;_o.prototype.set=Hk;var Vk=_o,Gk=iE(vh,"Map"),zk=Gk;function EE(){this.size=0,this.__data__={hash:new M0,map:new(zk||Vk),string:new M0}}we(EE,"mapCacheClear");var Wk=EE;function wE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}we(wE,"isKeyable");var Yk=wE;function _E(e,t){var r=e.__data__;return Yk(t)?r[typeof t=="string"?"string":"hash"]:r.map}we(_E,"getMapData");var Il=_E;function SE(e){var t=Il(this,e).delete(e);return this.size-=t?1:0,t}we(SE,"mapCacheDelete");var Kk=SE;function AE(e){return Il(this,e).get(e)}we(AE,"mapCacheGet");var Jk=AE;function CE(e){return Il(this,e).has(e)}we(CE,"mapCacheHas");var Xk=CE;function RE(e,t){var r=Il(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}we(RE,"mapCacheSet");var Qk=RE;function So(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}we(So,"MapCache");So.prototype.clear=Wk;So.prototype.delete=Kk;So.prototype.get=Jk;So.prototype.has=Xk;So.prototype.set=Qk;var TE=So,Zk="Expected a function";function Ml(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Zk);var r=we(function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s},"memoized");return r.cache=new(Ml.Cache||TE),r}we(Ml,"memoize");Ml.Cache=TE;var e3=Ml,t3=500;function OE(e){var t=e3(e,function(n){return r.size===t3&&r.clear(),n}),r=t.cache;return t}we(OE,"memoizeCapped");var r3=OE,n3=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o3=/\\(\\)?/g,a3=r3(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(n3,function(r,n,o,i){t.push(o?i.replace(o3,"$1"):n||r)}),t}),i3=a3;function PE(e){return e==null?"":tk(e)}we(PE,"toString");var s3=PE;function xE(e,t){return wh(e)?e:Ak(e,t)?[e]:i3(s3(e))}we(xE,"castPath");var l3=xE,u3=1/0;function qE(e){if(typeof e=="string"||Eh(e))return e;var t=e+"";return t=="0"&&1/e==-u3?"-0":t}we(qE,"toKey");var c3=qE;function DE(e,t){t=l3(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[c3(t[r++])];return r&&r==n?e:void 0}we(DE,"baseGet");var d3=DE;function IE(e,t,r){var n=e==null?void 0:d3(e,t);return n===void 0?r:n}we(IE,"get");var p3=IE,Pl=H0,f3=we(e=>{let t=null,r=!1,n=!1,o=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;s<e.length;s+=1)!t&&!r&&!n&&!o?e[s]==='"'||e[s]==="'"||e[s]==="`"?t=e[s]:e[s]==="/"&&e[s+1]==="*"?r=!0:e[s]==="/"&&e[s+1]==="/"?n=!0:e[s]==="/"&&e[s+1]!=="/"&&(o=!0):(t&&(e[s]===t&&e[s-1]!=="\\"||e[s]===`
451
+ `&&t!=="`")&&(t=null),o&&(e[s]==="/"&&e[s-1]!=="\\"||e[s]===`
452
+ `)&&(o=!1),r&&e[s-1]==="/"&&e[s-2]==="*"&&(r=!1),n&&e[s]===`
453
+ `&&(n=!1)),!r&&!n&&(i+=e[s]);else i=e;return i},"removeCodeComments"),h3=(0,CL.default)(1e4)(e=>f3(e).replace(/\n\s*/g,"").trim()),m3=we(function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},"convertShorthandMethods2"),y3=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Sh=we(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Ah(e){if(!Pl(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=L0(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}we(Ah,"convertUnconventionalData");var b3=we(function(e){let t,r,n,o;return we(function(i,s){try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return y3.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,ML.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,NL.default)(s)){if(!e.allowFunction)return;let{name:c}=s,d=s.toString();return d.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${h3(m3(i,d))}`}if((0,BL.default)(s)){if(!e.allowSymbol)return;let c=Symbol.keyFor(s);return c!==void 0?`_gsymbol_${c}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!e.allowClass)return;let u=t.get(s);if(!u){let c=Array.isArray(s)?s:Ah(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":s.constructor.name})}catch{}return o.push(i),n.unshift(c),t.set(s,JSON.stringify(o)),s!==c&&r.set(s,c),c}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),g3=we(function reviver(options){let refs=[],root;return we(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=Sh(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=p3(root,n)})),key==="_constructor-name_")return value;if(Pl(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(Pl(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=we((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:we(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),ME={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},NE=we((e,t={})=>{let r={...ME,...t};return JSON.stringify(Ah(e),b3(r),t.space)},"stringify"),v3=we(()=>{let e=new Map;return we(function t(r){Pl(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),BE=we((e,t={})=>{let r={...ME,...t},n=JSON.parse(e,g3(r));return v3()(n),n},"parse"),E3=!1,fh="Invariant failed";function xl(e,t){if(!e){if(E3)throw new Error(fh);var r=typeof t=="function"?t():t,n=r?"".concat(fh,": ").concat(r):fh;throw new Error(n)}}we(xl,"invariant");var w3=we(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(i=>{try{return i.contentWindow?.location.origin===e.source.location.origin&&i.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let s=i.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){let{protocol:i,host:s,pathname:l}=new URL(o,document.location.toString());return`${i}//${s}${l}`}return n.length>0&&ot.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:hh,location:mh}=Bt,N0="storybook-channel",_3={allowFunction:!1,maxDepth:25},jE=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof Bt?.addEventListener=="function"&&Bt.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:c,allowClass:d,maxDepth:p,space:h,lazyEval:m}=r||{},y=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:c,allowClass:d,maxDepth:p,space:h,lazyEval:m}).filter(([P,A])=>typeof A<"u")),g={..._3,...Bt.CHANNEL_OPTIONS||{},...y},E=this.getFrames(n),b=new URLSearchParams(mh?.search||""),w=NE({key:N0,event:t,refId:b.get("refId")},g);return E.length?(this.buffer.length&&this.flush(),E.forEach(P=>{try{P.postMessage(w,"*")}catch{ot.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((P,A)=>{this.buffer.push({event:t,resolve:P,reject:A})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(hh.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r?.length?r:this.getCurrentFrames()}return Bt&&Bt.parent&&Bt.parent!==Bt.self?[Bt.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(hh.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Bt&&Bt.parent?[Bt.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(hh.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Bt&&Bt.parent?[Bt.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:i}=typeof r=="string"&&Sh(r)?BE(r,Bt.CHANNEL_OPTIONS||{}):r;if(n===N0){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(Tl).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:w3(t),!o.source){vr.error(`${s} received ${l} but was unable to determine the source of the event`);return}let u=`${s} received ${l} (${r.length})`;vr.debug(mh.origin!==o.source?u:`${u} <span style="color: gray">(on ${mh.origin} from ${o.source})</span>`,...o.args),xl(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){ot.error(r)}}};we(jE,"PostMessageTransport");var S3=jE,{WebSocket:A3}=Bt,FE=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.socket=new A3(t),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&Sh(o)?BE(o):o;xl(this.handler,"WebsocketTransport handler should be set"),this.handler(i)},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=()=>{xl(this.handler,"WebsocketTransport handler should be set"),this.handler({type:zf,args:[],from:n||"preview"})}}setHandler(t){this.handler=t}send(t){this.isReady?this.sendNow(t):this.sendLater(t)}sendLater(t){this.buffer.push(t)}sendNow(t){let r=NE(t,{maxDepth:15,allowFunction:!1,...Bt.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};we(FE,"WebsocketTransport");var C3=FE,{CONFIG_TYPE:R3}=Bt,lEe=ql;function T3({page:e,extraTransports:t=[]}){let r=[new S3({page:e}),...t];if(R3==="DEVELOPMENT"){let n=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,s=`${n}://${o}:${i}/storybook-server-channel`;r.push(new C3({url:s,onError:we(()=>{},"onError"),page:e}))}return new ql({transports:r})}we(T3,"createBrowserChannel");var O3=Object.defineProperty,xt=(e,t)=>O3(e,"name",{value:t,configurable:!0});function jt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
454
+ [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
455
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,u){var c=s.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=l;typeof l=="string"&&l.includes(`
456
+ `)&&(p=String(l).split(`
457
+ `).map(function(h,m){return m===0?h:""+d+h}).join(`
458
+ `)),s+=p+n[u+1]}),s}xt(jt,"dedent");function Ch({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}xt(Ch,"parseErrorCode");var LE=class kE extends Error{constructor(t){super(kE.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Ch({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${Ch({code:r,category:n})}`:typeof t=="string"?i=t:Array.isArray(t)&&(i=`
459
+ ${t.map(s=>` - ${s}`).join(`
460
+ `)}`),`${o}${i!=null?`
461
+
462
+ More info: ${i}
463
+ `:""}`}};xt(LE,"StorybookError");var Ht=LE;var $E=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:1,message:jt`
464
+ Couldn't find story matching id '${t.storyId}' after HMR.
465
+ - Did you just rename a story?
466
+ - Did you remove it from your CSF file?
467
+ - Are you sure a story with the id '${t.storyId}' exists?
468
+ - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
469
+ - Also check the browser console and terminal for potential error messages.`}),this.data=t}};xt($E,"MissingStoryAfterHmrError");var UE=$E,P3=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:jt`
470
+ We detected that you use an implicit action arg while ${t.phase} of your story.
471
+ ${t.deprecated?`
472
+ This is deprecated and won't work in Storybook 8 anymore.
473
+ `:""}
474
+ Please provide an explicit spy to your args like this:
475
+ import { fn } from '@storybook/test';
476
+ ...
477
+ args: {
478
+ ${t.name}: fn()
479
+ }`}),this.data=t}};xt(P3,"ImplicitActionsDuringRendering");var HE=class extends Ht{constructor(){super({category:"PREVIEW_API",code:3,message:jt`
480
+ Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
481
+
482
+ You probably meant to call \`await preview.extract()\` which does the above for you.`})}};xt(HE,"CalledExtractOnStoreError");var VE=HE,GE=class extends Ht{constructor(){super({category:"PREVIEW_API",code:4,message:jt`
483
+ Expected your framework's preset to export a \`renderToCanvas\` field.
484
+
485
+ Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};xt(GE,"MissingRenderToCanvasError");var zE=GE,WE=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:5,message:jt`
486
+ Called \`Preview.${t.methodName}()\` before initialization.
487
+
488
+ The preview needs to load the story index before most methods can be called. If you want
489
+ to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
490
+
491
+ If you didn't call the above code, then likely it was called by an addon that needs to
492
+ do the above.`}),this.data=t}};xt(WE,"CalledPreviewMethodBeforeInitializationError");var hr=WE,YE=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:6,message:jt`
493
+ Error fetching \`/index.json\`:
494
+
495
+ ${t.text}
496
+
497
+ If you are in development, this likely indicates a problem with your Storybook process,
498
+ check the terminal for errors.
499
+
500
+ If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
501
+ build.`}),this.data=t}};xt(YE,"StoryIndexFetchError");var KE=YE,JE=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:7,message:jt`
502
+ Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
503
+ references, or autodocs for a CSF file that some doesn't refer to itself.
504
+
505
+ This likely is an internal error in Storybook's indexing, or you've attached the
506
+ \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};xt(JE,"MdxFileWithNoCsfReferencesError");var XE=JE,QE=class extends Ht{constructor(){super({category:"PREVIEW_API",code:8,message:jt`
507
+ Couldn't find any stories in your Storybook.
508
+
509
+ - Please check your stories field of your main.js config: does it match correctly?
510
+ - Also check the browser console and terminal for error messages.`})}};xt(QE,"EmptyIndexError");var ZE=QE,e1=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:9,message:jt`
511
+ Couldn't find story matching '${t.storySpecifier}'.
512
+
513
+ - Are you sure a story with that id exists?
514
+ - Please check your stories field of your main.js config.
515
+ - Also check the browser console and terminal for error messages.`}),this.data=t}};xt(e1,"NoStoryMatchError");var t1=e1,r1=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:10,message:jt`
516
+ Couldn't find story matching id '${t.storyId}' after importing a CSF file.
517
+
518
+ The file was indexed as if the story was there, but then after importing the file in the browser
519
+ we didn't find the story. Possible reasons:
520
+ - You are using a custom story indexer that is misbehaving.
521
+ - You have a custom file loader that is removing or renaming exports.
522
+
523
+ Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};xt(r1,"MissingStoryFromCsfFileError");var n1=r1,o1=class extends Ht{constructor(){super({category:"PREVIEW_API",code:11,message:jt`
524
+ Cannot access the Story Store until the index is ready.
525
+
526
+ It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
527
+ remove access to the store entirely`})}};xt(o1,"StoryStoreAccessedBeforeInitializationError");var a1=o1,i1=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:12,message:jt`
528
+ Incorrect use of mount in the play function.
529
+
530
+ To use mount in the play function, you must satisfy the following two requirements:
531
+
532
+ 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
533
+ This makes sure that Storybook does not start rendering the story before the play function begins.
534
+
535
+ 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
536
+ This is because destructuring statements and async/await usages are otherwise transpiled away,
537
+ which prevents Storybook from recognizing your usage of \`mount\`.
538
+
539
+ Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
540
+
541
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
542
+
543
+ Received the following play function:
544
+ ${t.playFunction}`}),this.data=t}};xt(i1,"MountMustBeDestructuredError");var Nl=i1,s1=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:14,message:jt`
545
+ No render function available for storyId '${t.id}'
546
+ `}),this.data=t}};xt(s1,"NoRenderFunctionError");var l1=s1,u1=class extends Ht{constructor(){super({category:"PREVIEW_API",code:15,message:jt`
547
+ No component is mounted in your story.
548
+
549
+ This usually occurs when you destructure mount in the play function, but forget to call it.
550
+
551
+ For example:
552
+
553
+ async play({ mount, canvasElement }) {
554
+ // 👈 mount should be called: await mount();
555
+ const canvas = within(canvasElement);
556
+ const button = await canvas.findByRole('button');
557
+ await userEvent.click(button);
558
+ };
559
+
560
+ Make sure to either remove it or call mount in your play function.
561
+ `})}};xt(u1,"NoStoryMountedError");var c1=u1,x3=class extends Ht{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:jt`
562
+ You are importing avif images, but you don't have sharp installed.
563
+
564
+ You have to install sharp in order to use image optimization features in Next.js.
565
+ `})}};xt(x3,"NextJsSharpError");var q3=class extends Ht{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:jt`
566
+ Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
567
+ `}),this.data=t}};xt(q3,"NextjsRouterMocksNotAvailable");var D3=class extends Ht{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:jt`
568
+ There was a failure when generating detailed ArgTypes in ${t.language} for:
569
+ ${JSON.stringify(t.type,null,2)}
570
+
571
+ Storybook will fall back to use a generic type description instead.
572
+
573
+ This type is either not supported or it is a bug in the docgen generation in Storybook.
574
+ If you think this is a bug, please detail it as much as possible in the Github issue.
575
+ `}),this.data=t}};xt(D3,"UnknownArgTypesError");var I3=class extends Ht{constructor(t){super({category:"ADDON_VITEST",code:1,message:jt`
576
+ Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
577
+
578
+ The Storybook plugin only supports values in the following units:
579
+ - px, vh, vw, em, rem and %.
580
+
581
+ You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
582
+ `}),this.data=t}};xt(I3,"UnsupportedViewportDimensionError");var M3=Object.create,h1=Object.defineProperty,N3=Object.getOwnPropertyDescriptor,B3=Object.getOwnPropertyNames,j3=Object.getPrototypeOf,F3=Object.prototype.hasOwnProperty,L3=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),k3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of B3(t))!F3.call(e,o)&&o!==r&&h1(e,o,{get:()=>t[o],enumerable:!(n=N3(t,o))||n.enumerable});return e},$3=(e,t,r)=>(r=e!=null?M3(j3(e)):{},k3(t||!e||!e.__esModule?h1(r,"default",{value:e,enumerable:!0}):r,e)),U3=L3(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return function s(l,u,c){var d,p,h,m=t.call(l),y=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),m!=y||(d=n(l),p=n(u),d.length!=p.length||d.some(function(g){return!s(l[g],u[g],c)})))return!1;switch(m.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":d=l.entries(),p=u.entries();do if(!s((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!s(l[h],u[h],c)))return!1;return!0;case"Object":return s(r(l),r(u),c);default:return!1}}(o,i,[])}}()});function H3(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var d1=$3(U3()),m1=e=>e.map(t=>typeof t<"u").filter(Boolean).length,V3=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(m1([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,d1.isEqual)(t,n);if(typeof o<"u")return!(0,d1.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},y1=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(m1([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return V3(e.if,i)},Rh=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),p1=(e,t)=>{let r=Rh(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},b1=(e,t)=>`${p1(e,"kind")}${t?`--${p1(t,"name")}`:""}`,g1=e=>H3(e);function f1(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Bl(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||f1(e,t))&&(!r||!f1(e,r))}var v1=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};var G3=Object.create,Wh=Object.defineProperty,z3=Object.getOwnPropertyDescriptor,W3=Object.getOwnPropertyNames,Y3=Object.getPrototypeOf,K3=Object.prototype.hasOwnProperty,B=(e,t)=>Wh(e,"name",{value:t,configurable:!0}),jl=(e=>typeof It<"u"?It:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof It<"u"?It:t)[r]}):e)(function(e){if(typeof It<"u")return It.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Jt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),J3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of W3(t))!K3.call(e,o)&&o!==r&&Wh(e,o,{get:()=>t[o],enumerable:!(n=z3(t,o))||n.enumerable});return e},sa=(e,t,r)=>(r=e!=null?G3(Y3(e)):{},J3(t||!e||!e.__esModule?Wh(r,"default",{value:e,enumerable:!0}):r,e)),M1=Jt((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return B(function i(s,l,u){function c(h,m){if(!l[h]){if(!s[h]){var y=typeof jl=="function"&&jl;if(!m&&y)return y(h,!0);if(d)return d(h,!0);var g=new Error("Cannot find module '"+h+"'");throw g.code="MODULE_NOT_FOUND",g}var E=l[h]={exports:{}};s[h][0].call(E.exports,function(b){var w=s[h][1][b];return c(w||b)},E,E.exports,i,s,l,u)}return l[h].exports}B(c,"s");for(var d=typeof jl=="function"&&jl,p=0;p<u.length;p++)c(u[p]);return c},"e")({1:[function(i,s,l){s.exports=function(u){if(typeof Map!="function"||u){var c=i("./similar");return new c}else return new Map}},{"./similar":2}],2:[function(i,s,l){function u(){return this.list=[],this.lastItem=void 0,this.size=0,this}B(u,"Similar"),u.prototype.get=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c))return this.lastItem.val;if(d=this.indexOf(c),d>=0)return this.lastItem=this.list[d],this.list[d].val},u.prototype.set=function(c,d){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=d,this):(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],this.list[p].val=d,this):(this.lastItem={key:c,val:d},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),d=this.indexOf(c),d>=0)return this.size--,this.list.splice(d,1)[0]},u.prototype.has=function(c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],!0):!1)},u.prototype.forEach=function(c,d){var p;for(p=0;p<this.size;p++)c.call(d||this,this.list[p].val,this.list[p].key,this)},u.prototype.indexOf=function(c){var d;for(d=0;d<this.size;d++)if(this.isEqual(this.list[d].key,c))return d;return-1},u.prototype.isEqual=function(c,d){return c===d||c!==c&&d!==d},s.exports=u},{}],3:[function(i,s,l){var u=i("map-or-similar");s.exports=function(h){var m=new u(!1),y=[];return function(g){var E=B(function(){var b=m,w,P,A=arguments.length-1,S=Array(A+1),T=!0,C;if((E.numArgs||E.numArgs===0)&&E.numArgs!==A+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(C=0;C<A;C++){if(S[C]={cacheItem:b,arg:arguments[C]},b.has(arguments[C])){b=b.get(arguments[C]);continue}T=!1,w=new u(!1),b.set(arguments[C],w),b=w}return T&&(b.has(arguments[A])?P=b.get(arguments[A]):T=!1),T||(P=g.apply(null,arguments),b.set(arguments[A],P)),h>0&&(S[A]={cacheItem:b,arg:arguments[A]},T?c(y,S):y.push(S),y.length>h&&d(y.shift())),E.wasMemoized=T,E.numArgs=A+1,P},"memoizerific");return E.limit=h,E.wasMemoized=!1,E.cache=m,E.lru=y,E}};function c(h,m){var y=h.length,g=m.length,E,b,w;for(b=0;b<y;b++){for(E=!0,w=0;w<g;w++)if(!p(h[b][w].arg,m[w].arg)){E=!1;break}if(E)break}h.push(h.splice(b,1)[0])}B(c,"moveToMostRecentLru");function d(h){var m=h.length,y=h[m-1],g,E;for(y.cacheItem.delete(y.arg),E=m-2;E>=0&&(y=h[E],g=y.cacheItem.get(y.arg),!g||!g.size);E--)y.cacheItem.delete(y.arg)}B(d,"removeCachedResult");function p(h,m){return h===m||h!==h&&m!==m}B(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),N1=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let s="",l=0,u=0;e:for(;u<i;u++){let c=o.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(s+=o.slice(l,u)),l=u+1,s+=t[c]),++u===i)break e;c=o.charCodeAt(u)}if(l<u&&(s+=o.slice(l,u)),c<2048){l=u+1,s+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,s+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=i)throw new Error("URI malformed");let d=o.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|d),s+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l<i?s+o.slice(l):s}B(n,"encodeString")}),Yh=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=N1(),r=B(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=B(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=B(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),B1=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=Yh(),r=N1();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}B(n,"isPrototypeKey");function o(p,h,m,y,g){if(n(h))return p;let E=p[h];return typeof E=="object"&&E!==null?E:!y&&(g||typeof m=="number"||typeof m=="string"&&m*0===0&&m.indexOf(".")===-1)?p[h]=[]:p[h]={}}B(o,"getDeepObject");var i=20,s="[]",l="[",u="]",c=".";function d(p,h,m=0,y,g){let{nestingSyntax:E=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:w=t.defaultOptions.arrayRepeatSyntax,nesting:P=t.defaultOptions.nesting,delimiter:A=t.defaultOptions.delimiter,valueSerializer:S=t.defaultOptions.valueSerializer,shouldSerializeObject:T=t.defaultOptions.shouldSerializeObject}=h,C=typeof A=="number"?String.fromCharCode(A):A,O=g===!0&&b,I=E==="dot"||E==="js"&&!g;if(m>i)return"";let W="",X=!0,Y=!1;for(let K in p){let _=p[K],x;y?(x=y,O?w==="bracket"&&(x+=s):I?(x+=c,x+=K):(x+=l,x+=K,x+=u)):x=K,X||(W+=C),typeof _=="object"&&_!==null&&!T(_)?(Y=_.pop!==void 0,(P||b&&Y)&&(W+=d(_,h,m+1,x,Y))):(W+=(0,r.encodeString)(x),W+="=",W+=S(_,K)),X&&(X=!1)}return W}B(d,"stringifyObject")}),X3=Jt((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var c=u.indexOf("%");if(c===-1)return u;for(var d=u.length,p="",h=0,m=0,y=c,g=r;c>-1&&c<d;){var E=l(u[c+1],4),b=l(u[c+2],0),w=E|b,P=o[w];if(g=o[256+g+P],m=m<<6|w&o[364+P],g===r)p+=u.slice(h,y),p+=m<=65535?String.fromCharCode(m):String.fromCharCode(55232+(m>>10),56320+(m&1023)),m=0,h=c+3,c=y=u.indexOf("%",h);else{if(g===n)return null;if(c+=3,c<d&&u.charCodeAt(c)===37)continue;return null}}return p+u.slice(h)}B(i,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,c){var d=s[u];return d===void 0?255:d<<c}B(l,"hexCodeToInt"),t.exports=i}),Q3=Jt(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=B1(),n=Yh(),o=t(X3()),i=B(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=B(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,u=B(function(){},"Empty");u.prototype=Object.create(null);function c(p,h,m,y,g){let E=p.substring(h,m);return y&&(E=E.replace(l," ")),g&&(E=(0,o.default)(E)||E),E}B(c,"computeKeySlice");function d(p,h){let{valueDeserializer:m=n.defaultOptions.valueDeserializer,keyDeserializer:y=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=n.defaultOptions.arrayRepeatSyntax,nesting:E=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:w=n.defaultOptions.nestingSyntax,delimiter:P=n.defaultOptions.delimiter}=h??{},A=typeof P=="string"?P.charCodeAt(0):P,S=w==="js",T=new u;if(typeof p!="string")return T;let C=p.length,O="",I=-1,W=-1,X=-1,Y=T,K,_="",x="",N=!1,le=!1,ce=!1,Re=!1,Ne=!1,De=!1,ye=!1,de=0,Ee=-1,Oe=-1,ke=-1;for(let Fe=0;Fe<C+1;Fe++){if(de=Fe!==C?p.charCodeAt(Fe):A,de===A){if(ye=W>I,ye||(W=Fe),X!==W-1&&(x=c(p,X+1,Ee>-1?Ee:W,ce,N),_=y(x),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S&&Ne,S&&De))),ye||_!==""){ye&&(O=p.slice(W+1,Fe),Re&&(O=O.replace(l," ")),le&&(O=(0,o.default)(O)||O));let ze=m(O,_);if(b){let dt=Y[_];dt===void 0?Ee>-1?Y[_]=[ze]:Y[_]=ze:dt.pop?dt.push(ze):Y[_]=[dt,ze]}else Y[_]=ze}O="",I=Fe,W=Fe,N=!1,le=!1,ce=!1,Re=!1,Ne=!1,De=!1,Ee=-1,X=Fe,Y=T,K=void 0,_=""}else de===93?(b&&g==="bracket"&&ke===91&&(Ee=Oe),E&&(w==="index"||S)&&W<=I&&(X!==Oe&&(x=c(p,X+1,Fe,ce,N),_=y(x),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,void 0,S)),K=_,ce=!1,N=!1),X=Fe,De=!0,Ne=!1)):de===46?E&&(w==="dot"||S)&&W<=I&&(X!==Oe&&(x=c(p,X+1,Fe,ce,N),_=y(x),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S)),K=_,ce=!1,N=!1),Ne=!0,De=!1,X=Fe):de===91?E&&(w==="index"||S)&&W<=I&&(X!==Oe&&(x=c(p,X+1,Fe,ce,N),_=y(x),S&&K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S)),K=_,ce=!1,N=!1,Ne=!1,De=!0),X=Fe):de===61?W<=I?W=Fe:le=!0:de===43?W>I?Re=!0:ce=!0:de===37&&(W>I?le=!0:N=!0);Oe=Fe,ke=de}return T}B(d,"parse")}),Z3=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=B1();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}B(r,"stringify")}),Kh=Jt(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(s,l);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:B(function(){return s[l]},"get")}),Object.defineProperty(i,u,c)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),r=e&&e.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=Q3();Object.defineProperty(e,"parse",{enumerable:!0,get:B(function(){return n.parse},"get")});var o=Z3();Object.defineProperty(e,"stringify",{enumerable:!0,get:B(function(){return o.stringify},"get")}),r(Yh(),e)}),j1=Jt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
583
+ `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),e5=Jt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),F1=Jt((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),t5=Jt((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),r5=Jt(e=>{"use strict";var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(t5()),n=String.fromCodePoint||function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function o(i){return i>=55296&&i<=57343||i>1114111?"\uFFFD":(i in r.default&&(i=r.default[i]),n(i))}B(o,"decodeCodePoint"),e.default=o}),E1=Jt(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(j1()),n=t(e5()),o=t(F1()),i=t(r5()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=c(d);return function(h){return String(h).replace(s,p)}}B(l,"getStrictDecoder");var u=B(function(d,p){return d<p?1:-1},"sorter");e.decodeHTML=function(){for(var d=Object.keys(n.default).sort(u),p=Object.keys(r.default).sort(u),h=0,m=0;h<p.length;h++)d[m]===p[h]?(p[h]+=";?",m++):p[h]+=";";var y=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),g=c(r.default);function E(b){return b.substr(-1)!==";"&&(b+=";"),g(b)}return B(E,"replacer"),function(b){return String(b).replace(y,E)}}();function c(d){return B(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}B(c,"getReplacer")}),w1=Jt(e=>{"use strict";var t=e&&e.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(F1()),n=u(r.default),o=c(n);e.encodeXML=b(n);var i=t(j1()),s=u(i.default),l=c(s);e.encodeHTML=m(s,l),e.encodeNonAsciiHTML=b(s);function u(w){return Object.keys(w).sort().reduce(function(P,A){return P[w[A]]="&"+A+";",P},{})}B(u,"getInverseObj");function c(w){for(var P=[],A=[],S=0,T=Object.keys(w);S<T.length;S++){var C=T[S];C.length===1?P.push("\\"+C):A.push(C)}P.sort();for(var O=0;O<P.length-1;O++){for(var I=O;I<P.length-1&&P[I].charCodeAt(1)+1===P[I+1].charCodeAt(1);)I+=1;var W=1+I-O;W<3||P.splice(O,W,P[O]+"-"+P[I])}return A.unshift("["+P.join("")+"]"),new RegExp(A.join("|"),"g")}B(c,"getInverseReplacer");var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?function(w){return w.codePointAt(0)}:function(w){return(w.charCodeAt(0)-55296)*1024+w.charCodeAt(1)-56320+65536};function h(w){return"&#x"+(w.length>1?p(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}B(h,"singleCharReplacer");function m(w,P){return function(A){return A.replace(P,function(S){return w[S]}).replace(d,h)}}B(m,"getInverse");var y=new RegExp(o.source+"|"+d.source,"g");function g(w){return w.replace(y,h)}B(g,"escape"),e.escape=g;function E(w){return w.replace(o,h)}B(E,"escapeUTF8"),e.escapeUTF8=E;function b(w){return function(P){return P.replace(y,function(A){return w[A]||h(A)})}}B(b,"getASCIIEncoder")}),n5=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=E1(),r=w1();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}B(n,"decode"),e.decode=n;function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}B(o,"decodeStrict"),e.decodeStrict=o;function i(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}B(i,"encode"),e.encode=i;var s=w1();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:B(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:B(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:B(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:B(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:B(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:B(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:B(function(){return s.encodeHTML},"get")});var l=E1();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:B(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:B(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:B(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:B(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:B(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:B(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:B(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:B(function(){return l.decodeXML},"get")})}),o5=Jt((e,t)=>{"use strict";function r(_,x){if(!(_ instanceof x))throw new TypeError("Cannot call a class as a function")}B(r,"_classCallCheck");function n(_,x){for(var N=0;N<x.length;N++){var le=x[N];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(_,le.key,le)}}B(n,"_defineProperties");function o(_,x,N){return x&&n(_.prototype,x),N&&n(_,N),_}B(o,"_createClass");function i(_,x){var N=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!N){if(Array.isArray(_)||(N=s(_))||x&&_&&typeof _.length=="number"){N&&(_=N);var le=0,ce=B(function(){},"F");return{s:ce,n:B(function(){return le>=_.length?{done:!0}:{done:!1,value:_[le++]}},"n"),e:B(function(ye){throw ye},"e"),f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
584
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Re=!0,Ne=!1,De;return{s:B(function(){N=N.call(_)},"s"),n:B(function(){var ye=N.next();return Re=ye.done,ye},"n"),e:B(function(ye){Ne=!0,De=ye},"e"),f:B(function(){try{!Re&&N.return!=null&&N.return()}finally{if(Ne)throw De}},"f")}}B(i,"_createForOfIteratorHelper");function s(_,x){if(_){if(typeof _=="string")return l(_,x);var N=Object.prototype.toString.call(_).slice(8,-1);if(N==="Object"&&_.constructor&&(N=_.constructor.name),N==="Map"||N==="Set")return Array.from(_);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return l(_,x)}}B(s,"_unsupportedIterableToArray");function l(_,x){(x==null||x>_.length)&&(x=_.length);for(var N=0,le=new Array(x);N<x;N++)le[N]=_[N];return le}B(l,"_arrayLikeToArray");var u=n5(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var _={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return w(0,5).forEach(function(x){w(0,5).forEach(function(N){w(0,5).forEach(function(le){return p(x,N,le,_)})})}),w(0,23).forEach(function(x){var N=x+232,le=h(x*10+8);_[N]="#"+le+le+le}),_}B(d,"getDefaultColors");function p(_,x,N,le){var ce=16+_*36+x*6+N,Re=_>0?_*40+55:0,Ne=x>0?x*40+55:0,De=N>0?N*40+55:0;le[ce]=m([Re,Ne,De])}B(p,"setStyleColor");function h(_){for(var x=_.toString(16);x.length<2;)x="0"+x;return x}B(h,"toHexString");function m(_){var x=[],N=i(_),le;try{for(N.s();!(le=N.n()).done;){var ce=le.value;x.push(h(ce))}}catch(Re){N.e(Re)}finally{N.f()}return"#"+x.join("")}B(m,"toColorHexString");function y(_,x,N,le){var ce;return x==="text"?ce=S(N,le):x==="display"?ce=E(_,N,le):x==="xterm256Foreground"?ce=O(_,le.colors[N]):x==="xterm256Background"?ce=I(_,le.colors[N]):x==="rgb"&&(ce=g(_,N)),ce}B(y,"generateOutput");function g(_,x){x=x.substring(2).slice(0,-1);var N=+x.substr(0,2),le=x.substring(5).split(";"),ce=le.map(function(Re){return("0"+Number(Re).toString(16)).substr(-2)}).join("");return C(_,(N===38?"color:#":"background-color:#")+ce)}B(g,"handleRgb");function E(_,x,N){x=parseInt(x,10);var le={"-1":B(function(){return"<br/>"},"_"),0:B(function(){return _.length&&b(_)},"_"),1:B(function(){return T(_,"b")},"_"),3:B(function(){return T(_,"i")},"_"),4:B(function(){return T(_,"u")},"_"),8:B(function(){return C(_,"display:none")},"_"),9:B(function(){return T(_,"strike")},"_"),22:B(function(){return C(_,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:B(function(){return W(_,"i")},"_"),24:B(function(){return W(_,"u")},"_"),39:B(function(){return O(_,N.fg)},"_"),49:B(function(){return I(_,N.bg)},"_"),53:B(function(){return C(_,"text-decoration:overline")},"_")},ce;return le[x]?ce=le[x]():4<x&&x<7?ce=T(_,"blink"):29<x&&x<38?ce=O(_,N.colors[x-30]):39<x&&x<48?ce=I(_,N.colors[x-40]):89<x&&x<98?ce=O(_,N.colors[8+(x-90)]):99<x&&x<108&&(ce=I(_,N.colors[8+(x-100)])),ce}B(E,"handleDisplay");function b(_){var x=_.slice(0);return _.length=0,x.reverse().map(function(N){return"</"+N+">"}).join("")}B(b,"resetStyles");function w(_,x){for(var N=[],le=_;le<=x;le++)N.push(le);return N}B(w,"range");function P(_){return function(x){return(_===null||x.category!==_)&&_!=="all"}}B(P,"notCategory");function A(_){_=parseInt(_,10);var x=null;return _===0?x="all":_===1?x="bold":2<_&&_<5?x="underline":4<_&&_<7?x="blink":_===8?x="hide":_===9?x="strike":29<_&&_<38||_===39||89<_&&_<98?x="foreground-color":(39<_&&_<48||_===49||99<_&&_<108)&&(x="background-color"),x}B(A,"categoryForCode");function S(_,x){return x.escapeXML?u.encodeXML(_):_}B(S,"pushText");function T(_,x,N){return N||(N=""),_.push(x),"<".concat(x).concat(N?' style="'.concat(N,'"'):"",">")}B(T,"pushTag");function C(_,x){return T(_,"span",x)}B(C,"pushStyle");function O(_,x){return T(_,"span","color:"+x)}B(O,"pushForegroundColor");function I(_,x){return T(_,"span","background-color:"+x)}B(I,"pushBackgroundColor");function W(_,x){var N;if(_.slice(-1)[0]===x&&(N=_.pop()),N)return"</"+x+">"}B(W,"closeTag");function X(_,x,N){var le=!1,ce=3;function Re(){return""}B(Re,"remove");function Ne(Se,$e){return N("xterm256Foreground",$e),""}B(Ne,"removeXterm256Foreground");function De(Se,$e){return N("xterm256Background",$e),""}B(De,"removeXterm256Background");function ye(Se){return x.newline?N("display",-1):N("text",Se),""}B(ye,"newline");function de(Se,$e){le=!0,$e.trim().length===0&&($e="0"),$e=$e.trimRight(";").split(";");var tt=i($e),Ut;try{for(tt.s();!(Ut=tt.n()).done;){var $i=Ut.value;N("display",$i)}}catch(Ui){tt.e(Ui)}finally{tt.f()}return""}B(de,"ansiMess");function Ee(Se){return N("text",Se),""}B(Ee,"realText");function Oe(Se){return N("rgb",Se),""}B(Oe,"rgb");var ke=[{pattern:/^\x08+/,sub:Re},{pattern:/^\x1b\[[012]?K/,sub:Re},{pattern:/^\x1b\[\(B/,sub:Re},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Oe},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Ne},{pattern:/^\x1b\[48;5;(\d+)m/,sub:De},{pattern:/^\n/,sub:ye},{pattern:/^\r+\n/,sub:ye},{pattern:/^\r/,sub:ye},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:de},{pattern:/^\x1b\[\d?J/,sub:Re},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Re},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Re},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ee}];function Fe(Se,$e){$e>ce&&le||(le=!1,_=_.replace(Se.pattern,Se.sub))}B(Fe,"process");var ze=[],dt=_,Q=dt.length;e:for(;Q>0;){for(var Le=0,Ge=0,et=ke.length;Ge<et;Le=++Ge){var J=ke[Le];if(Fe(J,Le),_.length!==Q){Q=_.length;continue e}}if(_.length===Q)break;ze.push(0),Q=_.length}return ze}B(X,"tokenize");function Y(_,x,N){return x!=="text"&&(_=_.filter(P(A(N))),_.push({token:x,data:N,category:A(N)})),_}B(Y,"updateStickyStack");var K=function(){function _(x){r(this,_),x=x||{},x.colors&&(x.colors=Object.assign({},c.colors,x.colors)),this.options=Object.assign({},c,x),this.stack=[],this.stickyStack=[]}return B(_,"Filter"),o(_,[{key:"toHtml",value:B(function(x){var N=this;x=typeof x=="string"?[x]:x;var le=this.stack,ce=this.options,Re=[];return this.stickyStack.forEach(function(Ne){var De=y(le,Ne.token,Ne.data,ce);De&&Re.push(De)}),X(x.join(""),ce,function(Ne,De){var ye=y(le,Ne,De,ce);ye&&Re.push(ye),ce.stream&&(N.stickyStack=Y(N.stickyStack,Ne,De))}),le.length&&Re.push(b(le)),Re.join("")},"toHtml")}]),_}();t.exports=K}),Vt=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function L1(){let e={setHandler:B(()=>{},"setHandler"),send:B(()=>{},"send")};return new ql({transport:e})}B(L1,"mockChannel");var k1=class{constructor(){this.getChannel=B(()=>{if(!this.channel){let t=L1();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=B(()=>this.promise,"ready"),this.hasChannel=B(()=>!!this.channel,"hasChannel"),this.setChannel=B(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};B(k1,"AddonStore");var a5=k1,Th="__STORYBOOK_ADDONS_PREVIEW";function $1(){return Vt[Th]||(Vt[Th]=new a5),Vt[Th]}B($1,"getAddonsStore");var Ro=$1(),U1=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=B(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Ro.getChannel().on(ra,this.renderListener)}removeRenderListeners(){Ro.getChannel().removeListener(ra,this.renderListener)}};B(U1,"HooksContext");var H1=U1;function Mh(e){let t=B((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,s=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=Vt.STORYBOOK_HOOKS_CONTEXT;Vt.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Vt.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=s,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}B(Mh,"hookify");var Oh=0,i5=25,s5=B(e=>(t,r)=>{let n=e(Mh(t),r.map(o=>Mh(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let s=n(o);for(Oh=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=n(o),Oh+=1,Oh>i5)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),l5=B((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Jh=B(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Xh(){return Vt.STORYBOOK_HOOKS_CONTEXT||null}B(Xh,"getHooksContextOrNull");function Hl(){let e=Xh();if(e==null)throw Jh();return e}B(Hl,"getHooksContextOrThrow");function V1(e,t,r){let n=Hl();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ot.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&ot.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&ot.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&ot.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
585
+ Previous: ${o.deps}
586
+ Incoming: ${r}`),(r==null||o.deps==null||!l5(r,o.deps))&&(t(o),o.deps=r),o}throw Jh()}B(V1,"useHook");function es(e,t,r){let{memoizedState:n}=V1(e,o=>{o.memoizedState=t()},r);return n}B(es,"useMemoLike");function u5(e,t){return es("useMemo",e,t)}B(u5,"useMemo");function Qi(e,t){return es("useCallback",()=>e,t)}B(Qi,"useCallback");function Qh(e,t){return es(e,()=>({current:t}),[])}B(Qh,"useRefLike");function c5(e){return Qh("useRef",e)}B(c5,"useRef");function G1(){let e=Xh();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Ro.getChannel().emit(Vi)}catch{ot.warn("State updates of Storybook preview hooks work only in browser")}}B(G1,"triggerUpdate");function Zh(e,t){let r=Qh(e,typeof t=="function"?t():t),n=B(o=>{r.current=typeof o=="function"?o(r.current):o,G1()},"setState");return[r.current,n]}B(Zh,"useStateLike");function d5(e){return Zh("useState",e)}B(d5,"useState");function p5(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=Zh("useReducer",n);return[o,B(s=>i(l=>e(l,s)),"dispatch")]}B(p5,"useReducer");function z1(e,t){let r=Hl(),n=es("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}B(z1,"useEffect");function f5(e,t=[]){let r=Ro.getChannel();return z1(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Qi(r.emit.bind(r),[r])}B(f5,"useChannel");function Vl(){let{currentContext:e}=Hl();if(e==null)throw Jh();return e}B(Vl,"useStoryContext");function h5(e,t){let{parameters:r}=Vl();if(e)return r[e]??t}B(h5,"useParameter");function m5(){let e=Ro.getChannel(),{id:t,args:r}=Vl(),n=Qi(i=>e.emit(Wi,{storyId:t,updatedArgs:i}),[e,t]),o=Qi(i=>e.emit(Gi,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}B(m5,"useArgs");function y5(){let e=Ro.getChannel(),{globals:t}=Vl(),r=Qi(n=>e.emit(zi,{globals:n}),[e]);return[t,r]}B(y5,"useGlobals");function W1(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[i,s]=n[o];t(s,i)||(r[i]=s)}return r}B(W1,"omitBy");function Y1(e,t){let r={};for(let n=0;n<t.length;n++){let o=t[n];Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}B(Y1,"pick");function K1(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[i,s]=n[o];t(s,i)&&(r[i]=s)}return r}B(K1,"pickBy");function Nr(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(e.toString()!=="[object Object]")return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}B(Nr,"isPlainObject");function To(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];r[i]=t(s,i,e)}return r}B(To,"mapValues");var b5="[object RegExp]",g5="[object String]",v5="[object Number]",E5="[object Boolean]",_1="[object Arguments]",w5="[object Symbol]",_5="[object Date]",S5="[object Map]",A5="[object Set]",C5="[object Array]",R5="[object Function]",T5="[object ArrayBuffer]",Ph="[object Object]",O5="[object Error]",P5="[object DataView]",x5="[object Uint8Array]",q5="[object Uint8ClampedArray]",D5="[object Uint16Array]",I5="[object Uint32Array]",M5="[object BigUint64Array]",N5="[object Int8Array]",B5="[object Int16Array]",j5="[object Int32Array]",F5="[object BigInt64Array]",L5="[object Float32Array]",k5="[object Float64Array]";function Nh(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}B(Nh,"getSymbols");function Bh(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}B(Bh,"getTag");function J1(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Kr(e,t)}return Kr(e,t)}B(J1,"isEqual");function Kr(e,t,r){if(Object.is(e,t))return!0;let n=Bh(e),o=Bh(t);if(n===_1&&(n=Ph),o===_1&&(o=Ph),n!==o)return!1;switch(n){case g5:return e.toString()===t.toString();case v5:{let l=e.valueOf(),u=t.valueOf();return l===u||Number.isNaN(l)&&Number.isNaN(u)}case E5:case _5:case w5:return Object.is(e.valueOf(),t.valueOf());case b5:return e.source===t.source&&e.flags===t.flags;case R5:return e===t}r=r??new Map;let i=r.get(e),s=r.get(t);if(i!=null&&s!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(n){case S5:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!Kr(u,t.get(l),r))return!1;return!0}case A5:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let c=0;c<l.length;c++){let d=l[c],p=u.findIndex(h=>Kr(d,h,r));if(p===-1)return!1;u.splice(p,1)}return!0}case C5:case x5:case q5:case D5:case I5:case M5:case N5:case B5:case j5:case F5:case L5:case k5:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!Kr(e[l],t[l],r))return!1;return!0}case T5:return e.byteLength!==t.byteLength?!1:Kr(new Uint8Array(e),new Uint8Array(t),r);case P5:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Kr(e.buffer,t.buffer,r);case O5:return e.name===t.name&&e.message===t.message;case Ph:{if(!(Kr(e.constructor,t.constructor,r)||Nr(e)&&Nr(t)))return!1;let l=[...Object.keys(e),...Nh(e)],u=[...Object.keys(t),...Nh(t)];if(l.length!==u.length)return!1;for(let c=0;c<l.length;c++){let d=l[c],p=e[d];if(!Object.prototype.hasOwnProperty.call(t,d))return!1;let h=t[d];if(!Kr(p,h,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}B(Kr,"areObjectsEqual");var xh=sa(M1(),1);function Jr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
587
+ [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
588
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,u){var c=s.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=l;typeof l=="string"&&l.includes(`
589
+ `)&&(p=String(l).split(`
590
+ `).map(function(h,m){return m===0?h:""+d+h}).join(`
591
+ `)),s+=p+n[u+1]}),s}B(Jr,"dedent");var oa=Symbol("incompatible"),jh=B((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?oa:e.reduce((n,o,i)=>{let s=jh(o,{type:r.value});return s!==oa&&(n[i]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?oa:Object.entries(e).reduce((n,[o,i])=>{let s=jh(i,{type:r.value[o]});return s===oa?n:Object.assign(n,{[o]:s})},{});default:return oa}},"map"),$5=B((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=jh(o,t[n]);return i===oa?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),Fh=B((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Fh(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Nr(e)||!Nr(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Fh(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),U5=B((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(B(i,"allowArg"),!o)return i();if(!Array.isArray(o))return Mt.error(Jr`
592
+ Invalid argType: '${n}.options' should be an array.
593
+
594
+ More info: https://storybook.js.org/docs/api/arg-types
595
+ `),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return Mt.error(Jr`
596
+ Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
597
+
598
+ More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
599
+ `),i();let s=Array.isArray(e[n]),l=s&&e[n].findIndex(p=>!o.includes(p)),u=s&&l===-1;if(e[n]===void 0||o.includes(e[n])||u)return i();let c=s?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return Mt.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),Ji=Symbol("Deeply equal"),kl=B((e,t)=>{if(typeof e!=typeof t)return t;if(J1(e,t))return Ji;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let s=kl(e[i],o);return s!==Ji&&(n[i]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Nr(e)&&Nr(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=kl(e?.[n],t?.[n]);return o===Ji?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),X1="UNTARGETED";function Q1({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=X1}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}B(Q1,"groupArgsByTarget");function Z1(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}B(Z1,"deleteUndefined");var e2=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=kl(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Ji&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=U5(r,t.argTypes);this.argsByStoryId[t.id]=Fh(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=$5(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=Z1({...this.argsByStoryId[t],...r})}};B(e2,"ArgsStore");var H5=e2,t2=B((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),r2=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&kl(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=t2(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Ji&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:ot.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};B(r2,"GlobalsStore");var V5=r2,G5=sa(M1(),1),z5=(0,G5.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),n2=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new UE({storyId:t});return r}importPathToEntry(t){return z5(this.entries)[t]}};B(n2,"StoryIndexStore");var W5=n2,Y5=B(e=>typeof e=="string"?{name:e}:e,"normalizeType"),K5=B(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),J5=B((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=Y5(r)),n?i.control=K5(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),$l=B(e=>To(e,J5),"normalizeInputTypes"),Ft=B(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),X5=Jr`
600
+ CSF .story annotations deprecated; annotate story functions directly:
601
+ - StoryFn.story.name => StoryFn.storyName
602
+ - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
603
+ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
604
+ `;function em(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(ot.debug("deprecated story",i),dn(X5));let s=g1(e),l=typeof n!="function"&&n.name||n.storyName||i?.name||s,u=[...Ft(n.decorators),...Ft(i?.decorators)],c={...i?.parameters,...n.parameters},d={...i?.args,...n.args},p={...i?.argTypes,...n.argTypes},h=[...Ft(n.loaders),...Ft(i?.loaders)],m=[...Ft(n.beforeEach),...Ft(i?.beforeEach)],{render:y,play:g,tags:E=[],globals:b={}}=n,w=c.__id||b1(r.id,s);return{moduleExport:t,id:w,name:l,tags:E,decorators:u,parameters:c,args:d,argTypes:$l(p),loaders:h,beforeEach:m,globals:b,...y&&{render:y},...o&&{userStoryFn:o},...g&&{play:g}}}B(em,"normalizeStory");function tm(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Rh(n||t),...e,title:t,...o&&{argTypes:$l(o)},parameters:{fileName:r,...e.parameters}}}B(tm,"normalizeComponentAnnotations");var Q5=B(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&ot.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),Z5=B(e=>{let{options:t}=e;t?.storySort&&ot.error("The storySort option parameter can only be set globally")},"checkStorySort"),S1=B(e=>{e&&(Q5(e),Z5(e))},"checkDisallowedParameters");function o2(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,s=tm(n,r,t);S1(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(i).forEach(u=>{if(Bl(u,s)){let c=em(u,i[u],s);S1(c.parameters),l.stories[c.id]=c}}),l}B(o2,"processCSFFile");function a2(e){return e!=null&&i2(e).includes("mount")}B(a2,"mountDestructured");function i2(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Lh(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Lh(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}B(i2,"getUsedProps");function Lh(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let s=e.substring(n,i).trim();s&&t.push(s),n=i+1}let o=e.substring(n).trim();return o&&t.push(o),t}B(Lh,"splitByComma");function s2(e,t,r){let n=r(e);return o=>t(n,o)}B(s2,"decorateStory");function l2({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:s,initialArgs:l,argTypes:u,...c}={}){return c}B(l2,"sanitizeStoryContextUpdate");function u2(e,t){let r={},n=B(i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...l2(s)},i(r.value)},"bindWithContext"),o=t.reduce((i,s)=>s2(i,s,n),e);return i=>(r.value=i,o(i))}B(u2,"defaultDecorateStory");var Oo=B((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,l])=>{let u=o[s];Array.isArray(l)||typeof u>"u"?o[s]=l:Nr(l)&&Nr(u)?t[s]=!0:typeof l<"u"&&(o[s]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>Nr(s))?n[o]=Oo(...i):n[o]=i[i.length-1]}),n},"combineParameters");function rm(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},s=nm(e,t,r),l=B(async S=>{let T={};for(let C of[..."__STORYBOOK_TEST_LOADERS__"in Vt&&Array.isArray(Vt.__STORYBOOK_TEST_LOADERS__)?[Vt.__STORYBOOK_TEST_LOADERS__]:[],Ft(r.loaders),Ft(t.loaders),Ft(e.loaders)]){if(S.abortSignal.aborted)return T;let O=await Promise.all(C.map(I=>I(S)));Object.assign(T,...O)}return T},"applyLoaders"),u=B(async S=>{let T=new Array;for(let C of[...Ft(r.beforeEach),...Ft(t.beforeEach),...Ft(e.beforeEach)]){if(S.abortSignal.aborted)return T;let O=await C(S);O&&T.push(O)}return T},"applyBeforeEach"),c=B(S=>S.originalStoryFn(S.args,S),"undecoratedStoryFn"),{applyDecorators:d=u2,runStep:p}=r,h=[...Ft(e?.decorators),...Ft(t?.decorators),...Ft(r?.decorators)],m=e?.userStoryFn||e?.render||t.render||r.render,y=s5(d)(c,h),g=B(S=>y(S),"unboundStoryFn"),E=e?.play??t?.play,b=a2(E);if(!m&&!b)throw new l1({id:o});let w=B(S=>async()=>(await S.renderToCanvas(),S.canvas),"defaultMount"),P=e.mount??t.mount??r.mount??w,A=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:c,unboundStoryFn:g,applyLoaders:l,applyBeforeEach:u,playFunction:E,runStep:p,mount:P,testingLibraryRender:A,renderToCanvas:r.renderToCanvas,usesMount:b}}B(rm,"prepareStory");function c2(e,t,r){return{...nm(void 0,e,t),moduleExport:r}}B(c2,"prepareMeta");function nm(e,t,r){let n=["dev","test"],o=Vt.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],i=v1(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),s=Oo(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Oo(r.argTypes,t.argTypes,e?.argTypes);if(e){let b=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=b&&b.length>0}let d={...r.args,...t.args,...e?.args},p={...t.globals,...e?.globals},h={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:i,parameters:s,initialArgs:d,argTypes:c,storyGlobals:p};h.argTypes=l.reduce((b,w)=>w({...h,argTypes:b}),h.argTypes);let m={...d};h.initialArgs=u.reduce((b,w)=>({...b,...w({...h,initialArgs:b})}),m);let{name:y,story:g,...E}=h;return E}B(nm,"preparePartialAnnotations");function om(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Vt.FEATURES?.argTypeTargetsV7){let i=Q1(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[X1]||{}}}let n=Object.entries(r.args).reduce((i,[s,l])=>{if(!r.argTypes[s]?.mapping)return i[s]=l,i;let u=B(c=>{let d=r.argTypes[s].mapping;return d&&c in d?d[c]:c},"mappingFn");return i[s]=Array.isArray(l)?l.map(u):u(l),i},{}),o=Object.entries(n).reduce((i,[s,l])=>{let u=r.argTypes[s]||{};return y1(u,n,r.globals)&&(i[s]=l),i},{});return{...r,unmappedArgs:t,args:o}}B(om,"prepareContext");var kh=B((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(ot.warn(Jr`
605
+ We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
606
+
607
+ Consider using the mapping feature or fully custom args:
608
+ - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
609
+ - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
610
+ `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?kh(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:To(e,o=>kh(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),d2=B(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=To(n,(s,l)=>({name:l,type:kh(s,`${t}.${l}`,new Set)})),i=To(r,(s,l)=>({name:l}));return Oo(o,i,r)},"inferArgTypes");d2.secondPass=!0;var A1=B((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),e$=B((e,t,r)=>!t&&!r?e:e&&K1(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||A1(i,t))&&(!r||!A1(i,r))}),"filterArgTypes"),t$=B((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&ot.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:i}=n;return{control:{type:i?.length<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),p2=B(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let s=e$(t,n,o),l=To(s,(u,c)=>u?.type&&t$(u,c.toString(),i));return Oo(l,s)},"inferControls");p2.secondPass=!0;function Ul({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,globals:s,initialGlobals:l,...u}){return s&&Object.keys(s).length>0&&dn(Jr`
611
+ The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
612
+ Please use 'initialGlobals' instead. Learn more:
613
+
614
+ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
615
+ `),{...e&&{argTypes:$l(e)},...t&&{globalTypes:$l(t)},decorators:Ft(n),loaders:Ft(o),beforeEach:Ft(i),argTypesEnhancers:[...r||[],d2,p2],initialGlobals:Oo(l,s),...u}}B(Ul,"normalizeProjectAnnotations");var r$=B(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function f2(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}B(f2,"composeStepRunners");function ia(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}B(ia,"getField");function xn(e,t,r={}){return ia(e,t).reduce((n,o)=>{let i=Ft(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}B(xn,"getArrayField");function aa(e,t){return Object.assign({},...ia(e,t))}B(aa,"getObjectField");function Ao(e,t){return ia(e,t).pop()}B(Ao,"getSingletonField");function Zi(e){let t=xn(e,"argTypesEnhancers"),r=ia(e,"runStep"),n=xn(e,"beforeAll");return{parameters:Oo(...ia(e,"parameters")),decorators:xn(e,"decorators",{reverseFileOrder:!(Vt.FEATURES?.legacyDecoratorFileOrder??!1)}),args:aa(e,"args"),argsEnhancers:xn(e,"argsEnhancers"),argTypes:aa(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:aa(e,"globals"),initialGlobals:aa(e,"initialGlobals"),globalTypes:aa(e,"globalTypes"),loaders:xn(e,"loaders"),beforeAll:r$(n),beforeEach:xn(e,"beforeEach"),render:Ao(e,"render"),renderToCanvas:Ao(e,"renderToCanvas"),renderToDOM:Ao(e,"renderToDOM"),applyDecorators:Ao(e,"applyDecorators"),runStep:f2(r),tags:xn(e,"tags"),mount:Ao(e,"mount"),testingLibraryRender:Ao(e,"testingLibraryRender")}}B(Zi,"composeConfigs");function n$(e){globalThis.defaultProjectAnnotations=e}B(n$,"setDefaultProjectAnnotations");var o$="ComposedStory",a$="Unnamed Story";function h2(e){return e?Zi([e]):{}}B(h2,"extractAnnotation");function i$(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Zi(t.map(h2)),Zi([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}B(i$,"setProjectAnnotations");var qn=[];function ts(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??o$;let i=tm(t),s=o||e.storyName||e.story?.name||e.name||a$,l=em(s,e,i),u=Ul(Zi([n&&Object.keys(n).length>0?n:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),c=rm(l,i,u),d={...t2(u.globalTypes),...u.initialGlobals,...c.storyGlobals},p=B(()=>{let E=om({hooks:new H1,globals:d,args:{...c.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:B((b,w)=>c.runStep(b,w,E),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return E.context=E,c.renderToCanvas&&(E.renderToCanvas=async()=>{let b=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:B(()=>{},"showMain"),showError:B(w=>{throw new Error(`${w.title}
616
+ ${w.description}`)},"showError"),showException:B(w=>{throw w},"showException"),forceRemount:!0,storyContext:E,storyFn:B(()=>c.unboundStoryFn(E),"storyFn"),unboundStoryFn:c.unboundStoryFn},E.canvasElement);b&&qn.push(b)}),E.mount=c.mount(E),E},"initializeContext"),h,m=B(async E=>{let b=p();return b.canvasElement??(b.canvasElement=globalThis?.document?.body),h&&(b.loaded=h.loaded),Object.assign(b,E),c.playFunction(b)},"play"),y=B(E=>{let b=p();return Object.assign(b,E),m2(c,b)},"run"),g=c.playFunction?m:void 0;return Object.assign(B(function(E){let b=p();return h&&(b.loaded=h.loaded),b.args={...b.initialArgs,...E},c.unboundStoryFn(b)},"storyFn"),{id:c.id,storyName:s,load:B(async()=>{for(let b of[...qn].reverse())await b();qn.length=0;let E=p();E.loaded=await c.applyLoaders(E),qn.push(...(await c.applyBeforeEach(E)).filter(Boolean)),h=E},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:g,run:y,tags:c.tags})}B(ts,"composeStory");var s$=B((e,t,r,n)=>ts(e,t,r,{},n),"defaultComposeStory");function l$(e,t,r=s$){let{default:n,__esModule:o,__namedExportsOrder:i,...s}=e;return Object.entries(s).reduce((l,[u,c])=>Bl(u,n)?Object.assign(l,{[u]:r(c,n,t,u)}):l,{})}B(l$,"composeStories");function u$(e){return e.extend({mount:B(async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(Jr`
617
+ Portable stories in Playwright CT only work when referencing JSX elements.
618
+ Please use JSX format for your components such as:
619
+
620
+ instead of:
621
+ await mount(MyComponent, { props: { foo: 'bar' } })
622
+
623
+ do:
624
+ await mount(<MyComponent foo="bar"/>)
625
+
626
+ More info: https://storybook.js.org/docs/api/portable-stories-playwright
627
+ `);await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in u?u.type:u)?.load?.()},o);let s=await t(o,...i);return await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l),c="__pw_type"in u?u.type:u,d=document.querySelector("#root");return c?.play?.({canvasElement:d})},o),s})},"mount")})}B(u$,"createPlaywrightTest");async function m2(e,t){for(let o of[...qn].reverse())await o();if(qn.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,qn.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;qn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&r&&(n||(t.mount=async()=>{throw new Nl({playFunction:r.toString()})}),await r(t))}B(m2,"runStory");function $h(e,t){return W1(Y1(e,t),r=>r===void 0)}B($h,"picky");var C1=1e3,c$=1e4,y2=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=B(()=>{let s=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:To(s.stories,u=>{let{importPath:c}=this.storyIndex.entries[u.id];return{...$h(u,["id","name","title"]),importPath:c,kind:u.title,story:u.name,parameters:{...$h(u.parameters,l),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new W5(t),this.projectAnnotations=Ul(n);let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new H5,this.userGlobals=new V5({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,xh.default)(C1)(o2),this.prepareMetaWithCache=(0,xh.default)(C1)(c2),this.prepareStoryWithCache=(0,xh.default)(c$)(rm)}setProjectAnnotations(t){this.projectAnnotations=Ul(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new n1({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new H1,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(s=>{let l=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return om({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new VE;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:s}])=>{if(i==="docs")return n;let l=r[s],u=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[o]=Object.entries(u).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:u.initialArgs})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return dn("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(dn("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:B(i=>{let s={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:B((l,u)=>o.runStep(l,u,s),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...s,...i})},"storyFn")}}};B(y2,"StoryStore");var d$=y2;function p$(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}B(p$,"slash");function f$(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}B(f$,"pathJoin");var Gl=new Error("prepareAborted"),{AbortController:R1}=globalThis;function Uh(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}B(Uh,"serializeError");var b2=class{constructor(t,r,n,o,i,s,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=s,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=B(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new R1,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Eo,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Eo,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Gl}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:s,title:l,name:u,tags:c,applyLoaders:d,applyBeforeEach:p,unboundStoryFn:h,playFunction:m,runStep:y}=o;r&&!t&&(this.cancelRender(),this.abortController=new R1);let g=this.abortController.signal,E=!1,b=o.usesMount;try{let w={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:B((O,I)=>y(O,I,w),"step"),context:null,canvas:{},renderToCanvas:B(async()=>{let O=await this.renderToScreen(P,n);this.teardownRender=O||(()=>{}),E=!0},"renderToCanvas"),mount:B(async(...O)=>{this.callbacks.showStoryDuringRender?.();let I=null;return await this.runPhase(g,"rendering",async()=>{I=await o.mount(w)(...O)}),b&&await this.runPhase(g,"playing"),I},"mount")};w.context=w;let P={componentId:s,title:l,kind:l,id:i,name:u,story:u,tags:c,...this.callbacks,showError:B(O=>(this.phase="errored",this.callbacks.showError(O)),"showError"),showException:B(O=>(this.phase="errored",this.callbacks.showException(O)),"showException"),forceRemount:r||this.notYetRendered,storyContext:w,storyFn:B(()=>h(w),"storyFn"),unboundStoryFn:h};if(await this.runPhase(g,"loading",async()=>{w.loaded=await d(w)}),g.aborted)return;let A=await p(w);if(this.store.addCleanupCallbacks(o,A),this.checkIfAborted(g)||(!E&&!b&&await w.mount(),this.notYetRendered=!1,g.aborted))return;let S=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,T=new Set,C=B(O=>T.add("error"in O?O.error:O.reason),"onError");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window.addEventListener("error",C),window.addEventListener("unhandledrejection",C),this.disableKeyListeners=!0;try{if(b?await m(w):(w.mount=async()=>{throw new Nl({playFunction:m.toString()})},await this.runPhase(g,"playing",async()=>m(w))),!E)throw new c1;this.checkIfAborted(g),!S&&T.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(O){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(Jf,Uh(O))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw O;console.error(O)}if(!S&&T.size>0&&this.channel.emit(Xf,Array.from(T).map(Uh)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",C),window.removeEventListener("error",C),g.aborted)return}await this.runPhase(g,"completed",async()=>this.channel.emit(ra,i))}catch(w){this.phase="errored",this.callbacks.showException(w)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};B(b2,"StoryRender");var Hh=b2,{fetch:h$}=Vt,m$="./index.json",g2=class{constructor(t,r,n=Ro.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,s)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=s}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:B((t,r)=>{if(this.storyStoreValue)return dn("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new a1},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(ah,this.onStoryIndexChanged.bind(this)),this.channel.on(zi,this.onUpdateGlobals.bind(this)),this.channel.on(Wi,this.onUpdateArgs.bind(this)),this.channel.on(dh,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Gi,this.onResetArgs.bind(this)),this.channel.on(Vi,this.onForceReRender.bind(this)),this.channel.on(Kf,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new zE;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await h$(m$);if(t.status===200)return t.json();throw new KE({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new d$(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new hr({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(th,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new hr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new hr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(vo,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:s})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(vo,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new hr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(rh,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Rl,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Rl,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new hr({methodName:"onResetArgs"});let n=this.storyRenders.find(i=>i.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,s)=>(i[s]=n.initialArgs[s],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new hr({methodName:"renderStoryToElement"});let i=new Hh(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new hr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new hr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new hr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ot.error(t),ot.error(r),this.channel.emit(Wf,r)}};B(g2,"Preview");var y$=g2,b$=!1,qh="Invariant failed";function Fl(e,t){if(!e){if(b$)throw new Error(qh);var r=typeof t=="function"?t():t,n=r?"".concat(qh,": ").concat(r):qh;throw new Error(n)}}B(Fl,"invariant");var v2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=B(i=>{let s=this.nameToStoryId.get(i);if(s)return s;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=B(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=B(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=B(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(i);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:s})},"storyById"),this.getStoryContext=B(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=B(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,s)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(Jr`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}.
628
+ - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
629
+ - ... or vice versa?
630
+ - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};B(v2,"DocsContext");var E2=v2,w2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Gl;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),s=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new E2(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:s}=i,l=B(async()=>{try{await s(n,o,t),this.channel.emit(Hi,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};B(w2,"CsfDocsRender");var T1=w2,_2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Gl;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new E2(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},s=await o.renderer(),{render:l}=s,u=B(async()=>{try{await l(n,i,t),this.channel.emit(Hi,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(s.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};B(_2,"MdxDocsRender");var O1=_2,g$=globalThis;function S2(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}B(S2,"focusInInput");var A2="attached-mdx",v$="unattached-mdx";function C2({tags:e}){return e?.includes(v$)||e?.includes(A2)}B(C2,"isMdxEntry");function Ll(e){return e.type==="story"}B(Ll,"isStoryRender");function R2(e){return e.type==="docs"}B(R2,"isDocsRender");function T2(e){return R2(e)&&e.subtype==="csf"}B(T2,"isCsfDocsRender");var O2=class extends y${constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),g$.onkeydown=this.onKeydown.bind(this),this.channel.on(eh,this.onSetCurrentStory.bind(this)),this.channel.on(ch,this.onUpdateQueryParams.bind(this)),this.channel.on(Qf,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new hr({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new hr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new ZE):this.renderStoryLoadingException(t,new t1({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(sh,this.selectionStore.selection),this.channel.emit(Al,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!S2(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}=t;this.channel.emit(Zf,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Al,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Hh&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof O1||this.currentRender instanceof T1)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new hr({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,h);return}let s=this.currentSelection?.storyId!==o,l=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new Hh(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):C2(i)?u=new O1(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new T1(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(h){d&&await this.teardownRender(d),h!==Gl&&this.renderStoryLoadingException(o,h);return}let p=!s&&d&&!u.isEqual(d);if(t&&Ll(u)&&(Fl(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),d&&!d.torndown&&!s&&!p&&!l){this.currentRender=d,this.channel.emit(uh,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),c&&(s||l)&&this.channel.emit(nh,o),Ll(u)){Fl(!!u.story);let{parameters:h,initialArgs:m,argTypes:y,unmappedArgs:g,initialGlobals:E,userGlobals:b,storyGlobals:w,globals:P}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(ih,{id:o,parameters:h,initialArgs:m,argTypes:y,args:g}),this.channel.emit(vo,{userGlobals:b,storyGlobals:w,globals:P,initialGlobals:E})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:m,globals:y}=this.storyStoreValue.userGlobals;if(this.channel.emit(vo,{globals:y,initialGlobals:m,storyGlobals:{},userGlobals:y}),T2(u)||u.entry.tags?.includes(A2)){if(!u.csfFiles)throw new XE({storyId:o});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(Yf,{id:o,parameters:h})}Ll(u)?(Fl(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:B(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:B(()=>this.view.showMain(),"showMain"),showError:B(r=>this.renderError(t,r),"showError"),showException:B(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Cl)}renderStoryLoadingException(t,r){ot.error(r),this.view.showErrorDisplay(r),this.channel.emit(Cl,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r;this.channel.emit(lh,{name:n,message:o,stack:i}),this.channel.emit(Eo,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),ot.error(`Error rendering story '${t}':`),ot.error(r)}renderError(t,{title:r,description:n}){ot.error(`Error rendering story ${r}: ${n}`),this.channel.emit(oh,{title:r,description:n}),this.channel.emit(Eo,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};B(O2,"PreviewWithSelection");var E$=O2,Vh=sa(Kh(),1),w$=sa(Kh(),1),P1=/^[a-zA-Z0-9 _-]*$/,P2=/^-?[0-9]+(\.[0-9]+)?$/,_$=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,x2=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Gh=B((e="",t)=>e===null||e===""||!P1.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?P1.test(t)||P2.test(t)||_$.test(t)||x2.test(t):Array.isArray(t)?t.every(r=>Gh(e,r)):Nr(t)?Object.entries(t).every(([r,n])=>Gh(r,n)):!1,"validateArgs"),S$={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(x2);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return P2.test(e)?Number(e):e}},x1=B(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,w$.parse)(t.join(";"),S$)).reduce((r,[n,o])=>Gh(n,o)?Object.assign(r,{[n]:o}):(Mt.warn(Jr`
631
+ Omitted potentially unsafe URL args.
632
+
633
+ More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
634
+ `),r),{})},"parseArgsParam"),{history:q2,document:Dn}=Vt;function D2(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}B(D2,"pathToId");var I2=B(({selection:e,extraParams:t})=>{let r=Dn?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...s}=(0,Vh.parse)(r);return`?${(0,Vh.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),A$=B(e=>{if(!e)return;let t=I2({selection:e}),{hash:r=""}=Dn.location;Dn.title=e.storyId,q2.replaceState({},"",`${Dn.location.pathname}${t}${r}`)},"setPath"),C$=B(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Xi=B(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Xi(e[0]);if(C$(e))return Xi(Object.values(e).filter(Boolean))}},"getFirstString"),R$=B(()=>{if(typeof Dn<"u"){let e=Dn.location.search.slice(1),t=(0,Vh.parse)(e),r=typeof t.args=="string"?x1(t.args):void 0,n=typeof t.globals=="string"?x1(t.globals):void 0,o=Xi(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=Xi(t.path),s=i?D2(i):Xi(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),M2=class{constructor(){this.selectionSpecifier=R$()}setSelection(t){this.selection=t,A$(this.selection)}setQueryParams(t){let r=I2({extraParams:t}),{hash:n=""}=Dn.location;q2.replaceState({},"",`${Dn.location.pathname}${r}${n}`)}};B(M2,"UrlStore");var T$=M2,O$=sa(o5(),1),P$=sa(Kh(),1),{document:er}=Vt,q1=100,N2=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(N2||{}),Dh={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Ih={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},D1=new O$.default({escapeXML:!0}),B2=class{constructor(){if(this.testing=!1,typeof er<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,P$.parse)(er.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),er.documentElement.scrollTop=0,er.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return er.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),er.documentElement.scrollTop=0,er.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return er.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){er.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Ih[t];er.body.classList.remove(this.currentLayoutClass),er.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Ih[t]||ot.warn(Jr`
635
+ The desired layout: ${t} is not a valid option.
636
+ The possible options are: ${Object.keys(Ih).join(", ")}, none.
637
+ `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(N2).forEach(r=>{r===t?er.body.classList.add(Dh[r]):er.body.classList.remove(Dh[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(`
638
+ `);i.length>1&&([n]=i,o=i.slice(1).join(`
639
+ `).replace(/^\n/,"")),er.getElementById("error-message").innerHTML=D1.toHtml(n),er.getElementById("error-stack").innerHTML=D1.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),q1)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),q1)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){er.body.classList.add(Dh.MAIN)}};B(B2,"WebView");var x$=B2,q$=class extends E${constructor(t,r){super(t,r,new T$,new x$),this.importFn=t,this.getProjectAnnotations=r,Vt.__STORYBOOK_PREVIEW__=this}};B(q$,"PreviewWeb");var{document:Co}=Vt,D$=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],I$="script",I1="scripts-root";function zh(){let e=Co.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Co.dispatchEvent(e)}B(zh,"simulateDOMContentLoaded");function j2(e,t,r){let n=Co.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):Co.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}B(j2,"insertScript");function am(e,t,r=0){e[r](()=>{r++,r===e.length?t():am(e,t,r)})}B(am,"insertScriptsSequentially");function M$(e){let t=Co.getElementById(I1);t?t.innerHTML="":(t=Co.createElement("div"),t.id=I1,Co.body.appendChild(t));let r=Array.from(e.querySelectorAll(I$));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||D$.includes(i))&&n.push(s=>j2(o,s,t))}),n.length&&am(n,zh,void 0)}else zh()}B(M$,"simulatePageLoad");import{render as eEe}from"lit";var Zt=Sl(qq(),1);import{html as Q0e}from"lit";var Lf=Sl(HD());var ble=Object.prototype.toString;function VD(e){return typeof e=="function"||ble.call(e)==="[object Function]"}function gle(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var vle=Math.pow(2,53)-1;function Ele(e){var t=gle(e);return Math.min(Math.max(t,0),vle)}function Ar(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!VD(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Ele(n.length),i=VD(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function dl(e){"@babel/helpers - typeof";return dl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dl(e)}function wle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,zD(n.key),n)}}function _le(e,t,r){return t&&GD(e.prototype,t),r&&GD(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Sle(e,t,r){return t=zD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zD(e){var t=Ale(e,"string");return dl(t)==="symbol"?t:String(t)}function Ale(e,t){if(dl(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(dl(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Cle=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];wle(this,e),Sle(this,"items",void 0),this.items=t}return _le(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),WD=typeof Set>"u"?Set:Cle;function $t(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Rle={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},Tle={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function Ole(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=Tle[t])!==null&&n!==void 0&&n.has(r))})}function YD(e,t){return Ole(e,t)}function Nc(e){var t=xle(e);if(t===null||t==="presentation"){var r=Ple(e);if(t!=="presentation"||YD(e,r||""))return r}return t}function Ple(e){var t=Rle[$t(e)];if(t!==void 0)return t;switch($t(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!YD(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function xle(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function wt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Rv(e){return wt(e)&&$t(e)==="caption"}function pl(e){return wt(e)&&$t(e)==="input"}function KD(e){return wt(e)&&$t(e)==="optgroup"}function JD(e){return wt(e)&&$t(e)==="select"}function XD(e){return wt(e)&&$t(e)==="table"}function QD(e){return wt(e)&&$t(e)==="textarea"}function ZD(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function eI(e){return wt(e)&&$t(e)==="fieldset"}function tI(e){return wt(e)&&$t(e)==="legend"}function rI(e){return wt(e)&&$t(e)==="slot"}function qle(e){return wt(e)&&e.ownerSVGElement!==void 0}function nI(e){return wt(e)&&$t(e)==="svg"}function oI(e){return qle(e)&&$t(e)==="title"}function Mi(e,t){if(wt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Yr(e,t){return wt(e)?t.indexOf(Nc(e))!==-1:!1}function Dle(e){return e.trim().replace(/\s\s+/g," ")}function Ile(e,t){if(!wt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function Mle(e){return Yr(e,["button","combobox","listbox","textbox"])||sI(e,"range")}function sI(e,t){if(!wt(e))return!1;switch(t){case"range":return Yr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function aI(e,t){var r=Ar(e.querySelectorAll(t));return Mi(e,"aria-owns").forEach(function(n){r.push.apply(r,Ar(n.querySelectorAll(t)))}),r}function Nle(e){return JD(e)?e.selectedOptions||aI(e,"[selected]"):aI(e,'[aria-selected="true"]')}function Ble(e){return Yr(e,["none","presentation"])}function jle(e){return Rv(e)}function Fle(e){return Yr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function Lle(e){return!1}function kle(e){return pl(e)||QD(e)?e.value:e.textContent||""}function iI(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function lI(e){var t=$t(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function uI(e){if(lI(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&wt(r)){var n=uI(r);n!==null&&(t=n)}}),t}function $le(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):uI(e)}function Ule(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ar(t);if(!lI(e))return null;var r=e.ownerDocument;return Ar(r.querySelectorAll("label")).filter(function(n){return $le(n)===e})}function Hle(e){var t=e.assignedNodes();return t.length===0?Ar(e.childNodes):t}function Bc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new WD,n=ZD(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,d=t.hidden,p=d===void 0?!1:d;function h(b,w){var P="";if(wt(b)&&l){var A=c(b,"::before"),S=iI(A);P="".concat(S," ").concat(P)}var T=rI(b)?Hle(b):Ar(b.childNodes).concat(Mi(b,"aria-owns"));if(T.forEach(function(I){var W=E(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=wt(I)?c(I).getPropertyValue("display"):"inline",Y=X!=="inline"?" ":"";P+="".concat(Y).concat(W).concat(Y)}),wt(b)&&l){var C=c(b,"::after"),O=iI(C);P="".concat(P," ").concat(O)}return P.trim()}function m(b,w){var P=b.getAttributeNode(w);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}function y(b){return wt(b)?m(b,"title"):null}function g(b){if(!wt(b))return null;if(eI(b)){r.add(b);for(var w=Ar(b.childNodes),P=0;P<w.length;P+=1){var A=w[P];if(tI(A))return E(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(XD(b)){r.add(b);for(var S=Ar(b.childNodes),T=0;T<S.length;T+=1){var C=S[T];if(Rv(C))return E(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nI(b)){r.add(b);for(var O=Ar(b.childNodes),I=0;I<O.length;I+=1){var W=O[I];if(oI(W))return W.textContent}return null}else if($t(b)==="img"||$t(b)==="area"){var X=m(b,"alt");if(X!==null)return X}else if(KD(b)){var Y=m(b,"label");if(Y!==null)return Y}if(pl(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var K=m(b,"value");if(K!==null)return K;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var _=Ule(b);if(_!==null&&_.length!==0)return r.add(b),Ar(_).map(function(ce){return E(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(pl(b)&&b.type==="image"){var x=m(b,"alt");if(x!==null)return x;var N=m(b,"title");return N!==null?N:"Submit Query"}if(Yr(b,["button"])){var le=h(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(le!=="")return le}return null}function E(b,w){if(r.has(b))return"";if(!p&&Ile(b,c)&&!w.isReferenced)return r.add(b),"";var P=wt(b)?b.getAttributeNode("aria-labelledby"):null,A=P!==null&&!r.has(P)?Mi(b,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&A.length>0)return r.add(P),A.map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=w.recursion&&Mle(b)&&i==="name";if(!S){var T=(wt(b)&&b.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(b),T;if(!Ble(b)){var C=g(b);if(C!==null)return r.add(b),C}}if(Yr(b,["menu"]))return r.add(b),"";if(S||w.isEmbeddedInLabel||w.isReferenced){if(Yr(b,["combobox","listbox"])){r.add(b);var O=Nle(b);return O.length===0?pl(b)?b.value:"":Ar(O).map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(sI(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Yr(b,["textbox"]))return r.add(b),kle(b)}if(Fle(b)||wt(b)&&w.isReferenced||jle(b)||Lle(b)){var I=h(b,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(I!=="")return r.add(b),I}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(w.recursion)return r.add(b),h(b,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var W=y(b);return W!==null?(r.add(b),W):(r.add(b),"")}return Dle(E(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function fl(e){"@babel/helpers - typeof";return fl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fl(e)}function cI(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function dI(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cI(Object(r),!0).forEach(function(n){Vle(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cI(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Vle(e,t,r){return t=Gle(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gle(e){var t=zle(e,"string");return fl(t)==="symbol"?t:String(t)}function zle(e,t){if(fl(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(fl(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Mi(e,"aria-describedby").map(function(o){return Bc(o,dI(dI({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Wle(e){return Yr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Wle(e)?"":Bc(e,t)}var fr=Sl(yB()),SB=Sl(bB());function AB(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Dbe=(e,t,r,n,o,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
640
+ `)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},Ibe=3,Mbe=(e,t,r,n,o,i)=>e.map(s=>{let l=typeof s=="string"?CB(s,t):i(s,t,r,n,o);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==Ibe?"":t.spacingOuter+r+l}).join(""),CB=(e,t)=>{let r=t.colors.content;return r.open+AB(e)+r.close},Nbe=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+AB(e)+"-->"+r.close},Bbe=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},jbe=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},Fbe=1,RB=3,TB=8,OB=11,Lbe=/^((HTML|SVG)\w*)?Element$/,PB=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},kbe=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Fbe&&(Lbe.test(t)||PB(e))||r===RB&&t==="Text"||r===TB&&t==="Comment"||r===OB&&t==="DocumentFragment"};function $be(e){return e.nodeType===RB}function Ube(e){return e.nodeType===TB}function Yv(e){return e.nodeType===OB}function Hbe(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||PB(t))&&kbe(t)},serialize:(t,r,n,o,i,s)=>{if($be(t))return CB(t.data,r);if(Ube(t))return Nbe(t.data,r);let l=Yv(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?jbe(l,r):Bbe(l,Dbe(Yv(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Yv(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,i,s),Mbe(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,s),r,n)}}}var xB=null,i0=null,s0=null;try{let e=module&&module.require;i0=e.call(module,"fs").readFileSync,s0=e.call(module,"@babel/code-frame").codeFrameColumns,xB=e.call(module,"chalk")}catch{}function Vbe(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,s,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=i0(i,"utf-8")}catch{return""}let c=s0(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return xB.dim(n)+`
641
+ `+c+`
642
+ `}function Gbe(){if(!i0||!s0)return"";let t=new Error().stack.split(`
643
+ `).slice(1).find(r=>!r.includes("node_modules/"));return Vbe(t)}var qB=3;function Kv(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function l0(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function DB(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Tn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var zbe=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:Wbe}=Lf.plugins,Ybe=1,Kbe=8;function Jbe(e){return e.nodeType!==Kbe&&(e.nodeType!==Ybe||!e.matches(lt().defaultIgnore))}function Li(e,t,r){if(r===void 0&&(r={}),e||(e=l0().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=Jbe,...i}=r,s=Lf.format(e,{plugins:[Hbe(o),Wbe],printFunctionName:!1,highlight:zbe(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var Nf=function(){let e=Gbe();console.log(e?Li(...arguments)+`
644
+
645
+ `+e:Li(...arguments))},Qo={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Li(t),n=new Error([e,"Ignored nodes: comments, "+Qo.defaultIgnore+`
646
+ `+r].filter(Boolean).join(`
647
+
648
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Xbe(e){try{return Qo._disableExpensiveErrorDiagnostics=!0,e()}finally{Qo._disableExpensiveErrorDiagnostics=!1}}function IB(e){typeof e=="function"&&(e=e(Qo)),Qo={...Qo,...e}}function lt(){return Qo}var Qbe=["button","meter","output","progress","select","textarea","input"];function MB(e){return Qbe.includes(e.nodeName.toLowerCase())?"":e.nodeType===qB?e.textContent:Array.from(e.childNodes).map(t=>MB(t)).join("")}function Xv(e){let t;return e.tagName.toLowerCase()==="label"?t=MB(e):t=e.value||e.textContent,t}function NB(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Zbe(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function Zbe(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function BB(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(s=>{let l=e.querySelector('[id="'+s+'"]');return l?{content:Xv(l),formControl:null}:{content:"",formControl:null}}):Array.from(NB(t)).map(s=>{let l=Xv(s),c=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(d=>d.matches(n))[0];return{content:l,formControl:c}})}function jB(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function ki(e,t,r,n){if(typeof e!="string")return!1;jB(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):LB(r,o)}function Rn(e,t,r,n){if(typeof e!="string")return!1;jB(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?LB(r,o):o===String(r)}function FB(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function ea(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return FB({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function LB(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function kf(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===qB&&!!t.textContent).map(t=>t.textContent).join("")}var ege=tge(fr.elementRoles);function kB(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function u0(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=kB}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let o=e;for(;o;){if(r(o))return!0;o=o.parentElement}return!1}function c0(e){for(let{match:t,roles:r}of ege)if(t(e))return[...r];return[]}function tge(e){function t(s){let{name:l,attributes:u}=s;return""+l+u.map(c=>{let{name:d,value:p,constraints:h=[]}=c,m=h.indexOf("undefined")!==-1,y=h.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':m?":not(["+d+"])":y?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}function r(s){let{attributes:l=[]}=s;return l.length}function n(s,l){let{specificity:u}=s,{specificity:c}=l;return c-u}function o(s){let{attributes:l=[]}=s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...s,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}function rge(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,s)=>[...i,...n(s)],[])]}return n(e).filter(o=>r===!1?u0(o)===!1:!0).reduce((o,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=c0(i),s.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},o)},{})}function nge(e,t){let{hidden:r,includeDescription:n}=t,o=rge(e,{hidden:r});return Object.entries(o).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,l]=i,u="-".repeat(50),c=l.map(d=>{let p='Name "'+hl(d,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements})+`":
649
+ `,h=Li(d.cloneNode(!1));if(n){let m='Description "'+jc(d,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements})+`":
650
+ `;return""+p+m+h}return""+p+h}).join(`
651
+
652
+ `);return s+`:
653
+
654
+ `+c+`
655
+
656
+ `+u}).join(`
657
+ `)}function oge(e){return e.tagName==="OPTION"?e.selected:El(e,"aria-selected")}function age(e){return e.getAttribute("aria-busy")==="true"}function ige(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:El(e,"aria-checked")}function sge(e){return El(e,"aria-pressed")}function lge(e){var t,r;return(t=(r=El(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function uge(e){return El(e,"aria-expanded")}function El(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function cge(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function dge(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function pge(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function fge(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function hge(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var gB=FB();function mge(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function vB(e){return new RegExp(mge(e.toLowerCase()),"i")}function mo(e,t,r,n){let{variant:o,name:i}=n,s="",l={},u=[["Role","TestId"].includes(e)?r:vB(r)];i&&(l.name=vB(i)),e==="Role"&&u0(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
658
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
659
+ `),Object.keys(l).length>0&&u.push(l);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:o,warning:s,toString(){s&&console.warn(s);let[d,p]=u;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(h=>{let[m,y]=h;return m+": "+y}).join(", ")+" }":"",c+"("+d+p+")"}}}function yo(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Qv(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(lt().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=c0(e))==null?void 0:o[0];if(i!=="generic"&&yo("Role",r,i))return mo("Role",e,i,{variant:t,name:hl(e,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements})});let s=BB(document,e).map(h=>h.content).join(" ");if(yo("LabelText",r,s))return mo("LabelText",e,s,{variant:t});let l=e.getAttribute("placeholder");if(yo("PlaceholderText",r,l))return mo("PlaceholderText",e,l,{variant:t});let u=gB(kf(e));if(yo("Text",r,u))return mo("Text",e,u,{variant:t});if(yo("DisplayValue",r,e.value))return mo("DisplayValue",e,gB(e.value),{variant:t});let c=e.getAttribute("alt");if(yo("AltText",r,c))return mo("AltText",e,c,{variant:t});let d=e.getAttribute("title");if(yo("Title",r,d))return mo("Title",e,d,{variant:t});let p=e.getAttribute(lt().testIdAttribute);if(yo("TestId",r,p))return mo("TestId",e,p,{variant:t})}function Mf(e,t){e.stack=t.stack.replace(t.message,e.message)}function yge(e,t){let{container:r=l0(),timeout:n=lt().asyncUtilTimeout,showOriginalStackTrace:o=lt().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:lt().getElementError(c.message,r).message}),c),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,d)=>{let p,h,m,y=!1,g="idle",E=setTimeout(S,n),b=Kv();if(b){let{unstable_advanceTimersWrapper:T}=lt();for(A();!y;){if(!Kv()){let C=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||Mf(C,i),d(C);return}if(await T(async()=>{jest.advanceTimersByTime(s)}),y)break;A()}}else{try{Tn(r)}catch(C){d(C);return}h=setInterval(P,s);let{MutationObserver:T}=DB(r);m=new T(P),m.observe(r,u),A()}function w(T,C){y=!0,clearTimeout(E),b||(clearInterval(h),m.disconnect()),T?d(T):c(C)}function P(){if(Kv()){let T=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||Mf(T,i),d(T)}else return A()}function A(){if(g!=="pending")try{let T=Xbe(e);typeof T?.then=="function"?(g="pending",T.then(C=>{g="resolved",w(null,C)},C=>{g="rejected",p=C})):w(null,T)}catch(T){p=T}}function S(){let T;p?(T=p,!o&&T.name==="TestingLibraryElementError"&&Mf(T,i)):(T=new Error("Timed out in waitFor."),o||Mf(T,i)),w(l(T),null)}})}function bge(e,t){let r=new Error("STACK_TRACE_MESSAGE");return lt().asyncWrapper(()=>yge(e,{stackTraceError:r,...t}))}function $B(e,t){return lt().getElementError(e,t)}function gge(e,t){return $B(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function $f(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=n===void 0?{}:n,u=o?Rn:ki,c=ea({collapseWhitespace:i,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>u(d.getAttribute(e),d,r,c))}function Bf(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(s.length>1){let l=s.map(u=>$B(null,u).message).join(`
660
+
661
+ `);throw gge(t(r,...o)+`
662
+
663
+ Here are the matching elements:
664
+
665
+ `+l,r)}return s[0]||null}}function UB(e,t){return lt().getElementError(`A better query is available, try this:
666
+ `+e.toString()+`
667
+ `,t)}function vge(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(!s.length)throw lt().getElementError(t(r,...o),r);return s}}function jf(e){return(t,r,n,o)=>bge(()=>e(t,r,n),{container:t,...o})}var Fi=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=lt().throwSuggestions}={}]=i.slice(-1);if(l&&u){let c=Qv(l,r);if(c&&!t.endsWith(c.queryName))throw UB(c.toString(),n)}return l},Mr=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=lt().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let c=[...new Set(l.map(d=>{var p;return(p=Qv(d,r))==null?void 0:p.toString()}))];if(c.length===1&&!t.endsWith(Qv(l[0],r).queryName))throw UB(c[0],n)}return l};function ur(e,t,r){let n=Fi(Bf(e,t),e.name,"query"),o=vge(e,r),i=Bf(o,t),s=Fi(i,e.name,"get"),l=Mr(o,e.name.replace("query","get"),"getAll"),u=jf(Mr(o,e.name,"findAll")),c=jf(Fi(i,e.name,"find"));return[n,l,s,u,c]}function Ege(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Xv(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var wge=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,l=n?Rn:ki,u=ea({collapseWhitespace:i,trim:o,normalizer:s});return Ege(e).filter(d=>{let{node:p,textToMatch:h}=d;return l(h,p,t,u)}).map(d=>{let{node:p}=d;return p})},gl=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=r===void 0?{}:r;Tn(e);let u=o?Rn:ki,c=ea({collapseWhitespace:i,trim:s,normalizer:l}),d=Array.from(e.querySelectorAll("*")).filter(p=>NB(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let m=BB(e,h,{selector:n});m.filter(g=>!!g.formControl).forEach(g=>{u(g.content,g.formControl,t,c)&&g.formControl&&p.push(g.formControl)});let y=m.filter(g=>!!g.content).map(g=>g.content);return u(y.join(" "),h,t,c)&&p.push(h),y.length>1&&y.forEach((g,E)=>{u(g,h,t,c)&&p.push(h);let b=[...y];b.splice(E,1),b.length>1&&u(b.join(" "),h,t,c)&&p.push(h)}),p},[]).concat($f("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(d)).filter(p=>p.matches(n))},Zo=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=gl(e,t,...n);if(!i.length){let s=wge(e,t,...n);if(s.length){let l=s.map(u=>_ge(e,u)).filter(u=>!!u);throw l.length?lt().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
668
+
669
+ `),e):lt().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw lt().getElementError("Unable to find a label with the text of: "+t,e)}return i};function _ge(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var HB=(e,t)=>"Found multiple elements with the text of: "+t,Sge=Fi(Bf(gl,HB),gl.name,"query"),VB=Bf(Zo,HB),Age=jf(Mr(Zo,Zo.name,"findAll")),Cge=jf(Fi(VB,Zo.name,"find")),Rge=Mr(Zo,Zo.name,"getAll"),Tge=Fi(VB,Zo.name,"get"),d0=Mr(gl,gl.name,"queryAll"),Zv=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tn(t[0]),$f("placeholder",...t)},Oge=(e,t)=>"Found multiple elements with the placeholder text of: "+t,Pge=(e,t)=>"Unable to find an element with the placeholder text of: "+t,p0=Mr(Zv,Zv.name,"queryAll"),[xge,qge,Dge,Ige,Mge]=ur(Zv,Oge,Pge),e0=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,ignore:l=lt().defaultIgnore,normalizer:u}=r===void 0?{}:r;Tn(e);let c=o?Rn:ki,d=ea({collapseWhitespace:i,trim:s,normalizer:u}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>c(kf(h),h,t,d))},Nge=(e,t)=>"Found multiple elements with the text: "+t,Bge=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:s}=r,u=ea({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),c=u!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?u+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},f0=Mr(e0,e0.name,"queryAll"),[jge,Fge,Lge,kge,$ge]=ur(e0,Nge,Bge),t0=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Tn(e);let l=n?Rn:ki,u=ea({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(p=>p.selected).some(p=>l(kf(p),p,t,u)):l(c.value,c,t,u))},Uge=(e,t)=>"Found multiple elements with the display value: "+t+".",Hge=(e,t)=>"Unable to find an element with the display value: "+t+".",h0=Mr(t0,t0.name,"queryAll"),[Vge,Gge,zge,Wge,Yge]=ur(t0,Uge,Hge),Kge=/^(img|input|area|.+-.+)$/i,r0=function(e,t,r){return r===void 0&&(r={}),Tn(e),$f("alt",e,t,r).filter(n=>Kge.test(n.tagName))},Jge=(e,t)=>"Found multiple elements with the alt text: "+t,Xge=(e,t)=>"Unable to find an element with the alt text: "+t,m0=Mr(r0,r0.name,"queryAll"),[Qge,Zge,eve,tve,rve]=ur(r0,Jge,Xge),nve=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},n0=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Tn(e);let l=n?Rn:ki,u=ea({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||nve(c)&&l(kf(c),c,t,u))},ove=(e,t)=>"Found multiple elements with the title: "+t+".",ave=(e,t)=>"Unable to find an element with the title: "+t+".",y0=Mr(n0,n0.name,"queryAll"),[ive,sve,lve,uve,cve]=ur(n0,ove,ave),o0=function(e,t,r){let{hidden:n=lt().defaultHidden,name:o,description:i,queryFallbacks:s=!1,selected:l,busy:u,checked:c,pressed:d,current:p,level:h,expanded:m,value:{now:y,min:g,max:E,text:b}={}}=r===void 0?{}:r;if(Tn(e),l!==void 0){var w;if(((w=fr.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var P;if(((P=fr.roles.get(t))==null?void 0:P.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var A;if(((A=fr.roles.get(t))==null?void 0:A.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var S;if(((S=fr.roles.get(t))==null?void 0:S.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var T;if(((T=fr.roles.get(t))==null?void 0:T.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(y!==void 0){var C;if(((C=fr.roles.get(t))==null?void 0:C.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var O;if(((O=fr.roles.get(t))==null?void 0:O.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==void 0){var I;if(((I=fr.roles.get(t))==null?void 0:I.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var W;if(((W=fr.roles.get(t))==null?void 0:W.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var X;if(((X=fr.roles.get(t))==null?void 0:X.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let Y=new WeakMap;function K(_){return Y.has(_)||Y.set(_,kB(_)),Y.get(_)}return Array.from(e.querySelectorAll(dve(t))).filter(_=>{if(_.hasAttribute("role")){let le=_.getAttribute("role");if(s)return le.split(" ").filter(Boolean).some(Re=>Re===t);let[ce]=le.split(" ");return ce===t}return c0(_).some(le=>le===t)}).filter(_=>{if(l!==void 0)return l===oge(_);if(u!==void 0)return u===age(_);if(c!==void 0)return c===ige(_);if(d!==void 0)return d===sge(_);if(p!==void 0)return p===lge(_);if(m!==void 0)return m===uge(_);if(h!==void 0)return h===cge(_);if(y!==void 0||E!==void 0||g!==void 0||b!==void 0){let N=!0;if(y!==void 0&&N&&(N=y===dge(_)),E!==void 0&&N&&(N=E===pge(_)),g!==void 0&&N&&(N=g===fge(_)),b!==void 0){var x;N&&(N=Rn((x=hge(_))!=null?x:null,_,b,le=>le))}return N}return!0}).filter(_=>o===void 0?!0:Rn(hl(_,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements}),_,o,x=>x)).filter(_=>i===void 0?!0:Rn(jc(_,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements}),_,i,x=>x)).filter(_=>n===!1?u0(_,{isSubtreeInaccessible:K})===!1:!0)};function dve(e){var t;let r='*[role~="'+e+'"]',n=(t=fr.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:s}=i;return s}));return[r].concat(Array.from(o)).join(",")}var GB=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},pve=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+GB(n)},fve=function(e,t,r){let{hidden:n=lt().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(lt()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+GB(o);let s="";Array.from(e.children).forEach(d=>{s+=nge(d,{hidden:n,includeDescription:i!==void 0})});let l;s.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
670
+ Here are the `+(n===!1?"accessible":"available")+` roles:
671
+
672
+ `+s.replace(/\n/g,`
673
+ `).replace(/\n\s\s\n/g,`
674
+
675
+ `)+`
676
+ `).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let c="";return i===void 0?c="":typeof i=="string"?c=' and description "'+i+'"':c=" and description `"+i+"`",(`
677
+ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
678
+
679
+ `+l).trim()},b0=Mr(o0,o0.name,"queryAll"),[hve,mve,yve,bve,gve]=ur(o0,pve,fve),g0=()=>lt().testIdAttribute,a0=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tn(t[0]),$f(g0(),...t)},vve=(e,t)=>"Found multiple elements by: ["+g0()+'="'+t+'"]',Eve=(e,t)=>"Unable to find an element by: ["+g0()+'="'+t+'"]',v0=Mr(a0,a0.name,"queryAll"),[wve,_ve,Sve,Ave,Cve]=ur(a0,vve,Eve),vl=Object.freeze({__proto__:null,queryAllByLabelText:d0,queryByLabelText:Sge,getAllByLabelText:Rge,getByLabelText:Tge,findAllByLabelText:Age,findByLabelText:Cge,queryByPlaceholderText:xge,queryAllByPlaceholderText:p0,getByPlaceholderText:Dge,getAllByPlaceholderText:qge,findAllByPlaceholderText:Ige,findByPlaceholderText:Mge,queryByText:jge,queryAllByText:f0,getByText:Lge,getAllByText:Fge,findAllByText:kge,findByText:$ge,queryByDisplayValue:Vge,queryAllByDisplayValue:h0,getByDisplayValue:zge,getAllByDisplayValue:Gge,findAllByDisplayValue:Wge,findByDisplayValue:Yge,queryByAltText:Qge,queryAllByAltText:m0,getByAltText:eve,getAllByAltText:Zge,findAllByAltText:tve,findByAltText:rve,queryByTitle:ive,queryAllByTitle:y0,getByTitle:lve,getAllByTitle:sve,findAllByTitle:uve,findByTitle:cve,queryByRole:hve,queryAllByRole:b0,getAllByRole:mve,getByRole:yve,findAllByRole:bve,findByRole:gve,queryByTestId:wve,queryAllByTestId:v0,getByTestId:Sve,getAllByTestId:_ve,findAllByTestId:Ave,findByTestId:Cve});function zB(e,t,r){return t===void 0&&(t=vl),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var EB={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},wB={doubleClick:"dblClick"};function Ff(e,t){return lt().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Jv(e,t,r,n){let{EventType:o="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...i,...r},{target:{value:l,files:u,...c}={}}=s;l!==void 0&&Rve(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let d=DB(t),p=d[o]||d.Event,h;if(typeof p=="function")h=new p(e,s);else{h=d.document.createEvent(o);let{bubbles:y,cancelable:g,detail:E,...b}=s;h.initEvent(e,y,g,E),Object.keys(b).forEach(w=>{h[w]=b[w]})}return["dataTransfer","clipboardData"].forEach(y=>{let g=s[y];typeof g=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,y,{value:Object.getOwnPropertyNames(g).reduce((E,b)=>(Object.defineProperty(E,b,{value:g[b]}),E),new d.DataTransfer)}):Object.defineProperty(h,y,{value:g}))}),h}Object.keys(EB).forEach(e=>{let{EventType:t,defaultInit:r}=EB[e],n=e.toLowerCase();Jv[e]=(o,i)=>Jv(n,o,i,{EventType:t,defaultInit:r}),Ff[e]=(o,i)=>Ff(o,Jv[e](o,i))});function Rve(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(wB).forEach(e=>{let t=wB[e];Ff[e]=function(){return Ff[t](...arguments)}});function Tve(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
680
+ `)}function Ove(e){return SB.default.compressToEncodedURIComponent(Tve(e))}function Pve(e){return"https://testing-playground.com/#markup="+Ove(e)}var xve=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Nf(n,t,r)):Nf(e,t,r),qve=function(e){if(e===void 0&&(e=l0().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=Pve(e.innerHTML);return console.log(`Open this URL in your browser
681
+
682
+ `+t),t},_B={debug:xve,logTestingPlaygroundURL:qve},WB=typeof document<"u"&&document.body?zB(document.body,vl,_B):Object.keys(vl).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),_B);var Dve=Object.defineProperty,Ive=(e,t)=>{for(var r in t)Dve(e,r,{get:t[r],enumerable:!0})},QB={};Ive(QB,{findAllByShadowAltText:()=>Oj,findAllByShadowDisplayValue:()=>Sj,findAllByShadowLabelText:()=>lj,findAllByShadowPlaceholderText:()=>fj,findAllByShadowRole:()=>nj,findAllByShadowTestId:()=>jj,findAllByShadowText:()=>gj,findAllByShadowTitle:()=>Ij,findByShadowAltText:()=>Pj,findByShadowDisplayValue:()=>Aj,findByShadowLabelText:()=>uj,findByShadowPlaceholderText:()=>hj,findByShadowRole:()=>oj,findByShadowTestId:()=>Fj,findByShadowText:()=>vj,findByShadowTitle:()=>wl,getAllByShadowAltText:()=>Rj,getAllByShadowDisplayValue:()=>wj,getAllByShadowLabelText:()=>ij,getAllByShadowPlaceholderText:()=>dj,getAllByShadowRole:()=>tj,getAllByShadowTestId:()=>Nj,getAllByShadowText:()=>yj,getAllByShadowTitle:()=>qj,getByShadowAltText:()=>Tj,getByShadowDisplayValue:()=>_j,getByShadowLabelText:()=>sj,getByShadowPlaceholderText:()=>pj,getByShadowRole:()=>rj,getByShadowTestId:()=>Bj,getByShadowText:()=>bj,getByShadowTitle:()=>Dj,queryAllByShadowAltText:()=>C0,queryAllByShadowDisplayValue:()=>A0,queryAllByShadowLabelText:()=>w0,queryAllByShadowPlaceholderText:()=>_0,queryAllByShadowRole:()=>E0,queryAllByShadowTestId:()=>T0,queryAllByShadowText:()=>S0,queryAllByShadowTitle:()=>R0,queryByShadowAltText:()=>Cj,queryByShadowDisplayValue:()=>Ej,queryByShadowLabelText:()=>aj,queryByShadowPlaceholderText:()=>cj,queryByShadowRole:()=>ej,queryByShadowTestId:()=>Mj,queryByShadowText:()=>mj,queryByShadowTitle:()=>xj});Nve();function Mve(){Bve()}function YB(){HTMLSlotElement.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll}function cn(e){Mve();try{let t=e();return typeof t=="object"&&"finally"in t&&typeof t.finally=="function"&&t.finally(()=>YB()),t}finally{YB()}}function Nve(){if(typeof ShadowRoot>"u")throw"Your environment does not support shadow roots.";ShadowRoot.prototype.matches==null&&Object.defineProperties(ShadowRoot.prototype,{matches:{get(){return function(e){return e.trim()==="*"?!0:!!this.querySelector(e)}}}}),ShadowRoot.prototype.outerHTML==null&&Object.defineProperties(ShadowRoot.prototype,{outerHTML:{get(){return this.innerHTML}}})}function Bve(){HTMLSlotElement.prototype.querySelectorAll=function(e){let t=HTMLElement.prototype.querySelectorAll,r=[];return this.assignedElements({flatten:!0}).forEach(n=>{let o=n,i=document.createElement("div");i.appendChild(o.cloneNode(!1)),i.querySelector(e)&&r.push(o),r=r.concat(Array.from(o.querySelectorAll(e)))}),r.length==0&&(r=Array.from(t.call(this,e))),[...new Set(r)]}}function bo(e,t={shallow:!1}){return ZB(e,"*",t)}function ZB(e,t,r={shallow:!1},n=[],o=[]){return e instanceof Document&&(e=document.documentElement),n=[e],o.push(e),e instanceof HTMLElement&&e.shadowRoot!=null&&e.shadowRoot.mode!=="closed"&&(o.push(e.shadowRoot),n.push(e.shadowRoot)),n.forEach(i=>{i.querySelectorAll(t).forEach(s=>{if(s.shadowRoot==null||s.shadowRoot.mode==="closed"){o.push(s);return}if(o.push(s.shadowRoot),r.shallow===!0){s.shadowRoot.querySelectorAll(t).forEach(l=>{o.push(l)});return}s.shadowRoot.querySelectorAll(t).forEach(l=>{o.push(l),n.push(l)}),ZB(s.shadowRoot,t,r,n,o)})}),[...new Set(o)]}function go(e){return e.map(t=>(...r)=>{let[n,o,i,...s]=r;return i==null&&(i={}),i.suggest=!1,t(n,o,i,...s)})}function E0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>bo(t,n).map(o=>b0(o,r,n)).flat(1/0)))]}var jve=(e,t)=>`Found multiple elements with the role of: ${t}`,Fve=(e,t)=>`Unable to find an element with the role of: ${t}`,[Lve,kve,$ve,Uve,Hve]=go(ur(E0,jve,Fve)),ej=(...e)=>Lve(...e),tj=(...e)=>kve(...e),rj=(...e)=>$ve(...e),nj=(...e)=>Uve(...e),oj=(...e)=>Hve(...e);function w0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>bo(t,n).map(o=>d0(o,r,n)).flat(1/0)))]}var Vve=(e,t)=>`Found multiple elements with the label text of: ${t}`,Gve=(e,t)=>`Unable to find an element with the label text of: ${t}`,[zve,Wve,Yve,Kve,Jve]=go(ur(w0,Vve,Gve)),aj=(...e)=>zve(...e),ij=(...e)=>Wve(...e),sj=(...e)=>Yve(...e),lj=(...e)=>Kve(...e),uj=(...e)=>Jve(...e);function _0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>bo(t,n).map(o=>p0(o,r,n)).flat(1/0)))]}var Xve=(e,t)=>`Found multiple elements with the placeholder text of: ${t}`,Qve=(e,t)=>`Unable to find an element with the placeholder text of: ${t}`,[Zve,e0e,t0e,r0e,n0e]=go(ur(_0,Xve,Qve)),cj=(...e)=>Zve(...e),dj=(...e)=>e0e(...e),pj=(...e)=>t0e(...e),fj=(...e)=>r0e(...e),hj=(...e)=>n0e(...e);function S0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>bo(t,n).map(o=>f0(o,r,n)).flat(1/0)))]}var o0e=(e,t)=>`Found multiple elements with the text of: ${t}`,a0e=(e,t)=>`Unable to find an element with the text of: ${t}`,[i0e,s0e,l0e,u0e,c0e]=go(ur(S0,o0e,a0e)),mj=(...e)=>i0e(...e),yj=(...e)=>s0e(...e),bj=(...e)=>l0e(...e),gj=(...e)=>u0e(...e),vj=(...e)=>c0e(...e);function A0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>bo(t,n).map(o=>h0(o,r,n)).flat(1/0)))]}var d0e=(e,t)=>`Found multiple elements with the display value of: ${t}`,p0e=(e,t)=>`Unable to find an element with the display value of: ${t}`,[f0e,h0e,m0e,y0e,b0e]=go(ur(A0,d0e,p0e)),Ej=(...e)=>f0e(...e),wj=(...e)=>h0e(...e),_j=(...e)=>m0e(...e),Sj=(...e)=>y0e(...e),Aj=(...e)=>b0e(...e);function C0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>bo(t,n).map(o=>m0(o,r,n)).flat(1/0)))]}var g0e=(e,t)=>`Found multiple elements with the alt text of: ${t}`,v0e=(e,t)=>`Unable to find an element with the alt text of: ${t}`,[E0e,w0e,_0e,S0e,A0e]=go(ur(C0,g0e,v0e)),Cj=(...e)=>E0e(...e),Rj=(...e)=>w0e(...e),Tj=(...e)=>_0e(...e),Oj=(...e)=>S0e(...e),Pj=(...e)=>A0e(...e);function R0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>bo(t,n).map(o=>y0(o,r,n)).flat(1/0)))]}var C0e=(e,t)=>`Found multiple elements with the title of: ${t}`,R0e=(e,t)=>`Unable to find an element with the title of: ${t}`,[T0e,O0e,P0e,x0e,q0e]=go(ur(R0,C0e,R0e)),xj=(...e)=>T0e(...e),qj=(...e)=>O0e(...e),Dj=(...e)=>P0e(...e),Ij=(...e)=>x0e(...e),wl=(...e)=>q0e(...e);function T0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>bo(t,n).map(o=>v0(o,r,n)).flat(1/0)))]}var D0e=(e,t)=>`Found multiple elements with the test id of: ${t}`,I0e=(e,t)=>`Unable to find an element with the test id of: ${t}`,[M0e,N0e,B0e,j0e,F0e]=go(ur(T0,D0e,I0e)),Mj=(...e)=>M0e(...e),Nj=(...e)=>N0e(...e),Bj=(...e)=>B0e(...e),jj=(...e)=>j0e(...e),Fj=(...e)=>F0e(...e),KB=/([^\S(\r\n|\r|\n)]*[\f\n\r\t\v]+)/.source;function L0e(e){return e.replace(new RegExp(`${KB}.*${KB}{2,}`,"g"),"")}function k0e(...e){let[t,r,n]=e,o=Gj(n?.filterNode||kj);return n==null&&(n={}),n.plugins==null&&(n.plugins=[]),n.plugins.push(o),cn(()=>Li(t,r,{...n,plugins:[o]}))}function Lj(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function kj(e){return e.nodeType!==O0&&(e.nodeType!==Uj||!e.matches(lt().defaultIgnore))}var $0e=(e,t,r,n,o,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
683
+ `)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},U0e=3,H0e=(e,t,r,n,o,i)=>L0e(e.map(s=>{let l=typeof s=="string"?$j(s,t):i(s,t,r,n,o);return l===""&&typeof s=="object"&&s!=null&&s.nodeType!==U0e?"":t.spacingOuter+r+l}).join("")),$j=(e,t)=>{let r=t.colors.content;return r.open+Lj(e)+r.close},V0e=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Lj(e)+"-->"+r.close},G0e=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},z0e=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},Uj=1,Hj=3,O0=8,Vj=11,W0e=/^((HTML|SVG)\w*)?Element$/,Y0e=e=>{var t;let r=((t=e?.constructor)==null?void 0:t.name)||"",{nodeType:n,tagName:o}=e,i=typeof o=="string"&&o.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is")||e instanceof HTMLElement;return n===Uj&&(W0e.test(r)||i)||n===Hj&&r==="Text"||n===O0&&r==="Comment"||n===Vj};function K0e(e){return e.nodeType===Hj}function J0e(e){return e.nodeType===O0}function JB(e){return e.nodeType===Vj}function Gj(e){function t(r){let n=Array.prototype.slice.call(r.childNodes||r.children);return"shadowRoot"in r&&r.shadowRoot!=null&&r.shadowRoot.mode!=="closed"&&n.unshift(r.shadowRoot),n.filter(e)}return{test:r=>r?.constructor&&Y0e(r),serialize:(r,n,o,i,s,l)=>{if(K0e(r))return $j(r.data,n);if(J0e(r))return V0e(r.data,n);let u="DocumentFragment";return"tagName"in r&&r.tagName?u=r.tagName.toLowerCase():r instanceof ShadowRoot&&(u="ShadowRoot"),++i>n.maxDepth?z0e(u,n):G0e(u,$0e(JB(r)?[]:Array.from(r.attributes).map(c=>c.name).sort(),JB(r)?{}:Array.from(r.attributes).reduce((c,d)=>(c[d.name]=d.value,c),{}),n,o+n.indent,i,s,l),H0e(t(r),n,o+n.indent,i,s,l),n,o)}}}function XB(...e){let[t,r,n]=e,o=Gj(n?.filterNode||kj);n==null&&(n={}),n.plugins==null&&(n.plugins=[]),n.plugins.push(o),cn(()=>Nf(t,r,n))}function X0e(...e){let[t,r,n]=e;Array.isArray(t)?t.forEach(o=>XB(o,r,n)):XB(t,r,n)}var xAe={...WB,debug:X0e,queryAllByShadowRole:(...e)=>E0(document.documentElement,e[0],e[1]),queryByShadowRole:(...e)=>ej(document.documentElement,e[0],e[1]),getAllByShadowRole:(...e)=>tj(document.documentElement,e[0],e[1]),getByShadowRole:(...e)=>rj(document.documentElement,e[0],e[1]),findAllByShadowRole:(...e)=>nj(document.documentElement,e[0],e[1],e[2]),findByShadowRole:(...e)=>oj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowLabelText:(...e)=>w0(document.documentElement,e[0],e[1]),queryByShadowLabelText:(...e)=>aj(document.documentElement,e[0],e[1]),getAllByShadowLabelText:(...e)=>ij(document.documentElement,e[0],e[1]),getByShadowLabelText:(...e)=>sj(document.documentElement,e[0],e[1]),findAllByShadowLabelText:(...e)=>lj(document.documentElement,e[0],e[1],e[2]),findByShadowLabelText:(...e)=>uj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowPlaceholderText:(...e)=>_0(document.documentElement,e[0],e[1]),queryByShadowPlaceholderText:(...e)=>cj(document.documentElement,e[0],e[1]),getAllByShadowPlaceholderText:(...e)=>dj(document.documentElement,e[0],e[1]),getByShadowPlaceholderText:(...e)=>pj(document.documentElement,e[0],e[1]),findAllByShadowPlaceholderText:(...e)=>fj(document.documentElement,e[0],e[1],e[2]),findByShadowPlaceholderText:(...e)=>hj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowText:(...e)=>S0(document.documentElement,e[0],e[1]),queryByShadowText:(...e)=>mj(document.documentElement,e[0],e[1]),getAllByShadowText:(...e)=>yj(document.documentElement,e[0],e[1]),getByShadowText:(...e)=>bj(document.documentElement,e[0],e[1]),findAllByShadowText:(...e)=>gj(document.documentElement,e[0],e[1],e[2]),findByShadowText:(...e)=>vj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowDisplayValue:(...e)=>A0(document.documentElement,e[0],e[1]),queryByShadowDisplayValue:(...e)=>Ej(document.documentElement,e[0],e[1]),getAllByShadowDisplayValue:(...e)=>wj(document.documentElement,e[0],e[1]),getByShadowDisplayValue:(...e)=>_j(document.documentElement,e[0],e[1]),findAllByShadowDisplayValue:(...e)=>Sj(document.documentElement,e[0],e[1],e[2]),findByShadowDisplayValue:(...e)=>Aj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowAltText:(...e)=>C0(document.documentElement,e[0],e[1]),queryByShadowAltText:(...e)=>Cj(document.documentElement,e[0],e[1]),getAllByShadowAltText:(...e)=>Rj(document.documentElement,e[0],e[1]),getByShadowAltText:(...e)=>Tj(document.documentElement,e[0],e[1]),findAllByShadowAltText:(...e)=>Oj(document.documentElement,e[0],e[1],e[2]),findByShadowAltText:(...e)=>Pj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowTitle:(...e)=>R0(document.documentElement,e[0],e[1]),queryByShadowTitle:(...e)=>xj(document.documentElement,e[0],e[1]),getAllByShadowTitle:(...e)=>qj(document.documentElement,e[0],e[1]),getByShadowTitle:(...e)=>Dj(document.documentElement,e[0],e[1]),findAllByShadowTitle:(...e)=>Ij(document.documentElement,e[0],e[1],e[2]),findByShadowTitle:(...e)=>wl(document.documentElement,e[0],e[1],e[2]),queryAllByShadowTestId:(...e)=>T0(document.documentElement,e[0],e[1]),queryByShadowTestId:(...e)=>Mj(document.documentElement,e[0],e[1]),getAllByShadowTestId:(...e)=>Nj(document.documentElement,e[0],e[1]),getByShadowTestId:(...e)=>Bj(document.documentElement,e[0],e[1]),findAllByShadowTestId:(...e)=>jj(document.documentElement,e[0],e[1],e[2]),findByShadowTestId:(...e)=>Fj(document.documentElement,e[0],e[1],e[2])},DAe={...vl,...QB};IB({getElementError(e,t){let r=k0e(t),n=new Error([e,`Ignored nodes: comments, ${lt().defaultIgnore}
684
+ ${r}`].filter(Boolean).join(`
685
+
686
+ `));return n.name="ShadowDOMTestingLibraryElementError",n}});var Z0e={component:"test-next"},Uf=Z0e,zj={render:()=>Q0e`
687
+ <qti-test>
688
+ <test-container test-url="/assets/qti-conformance/Basic/T4-T7/assessment.xml"> </test-container>
689
+ <test-next>volgende</test-next>
690
+ </qti-test>
691
+ `},Hf={render:zj.render,play:async({canvasElement:e})=>{let t=e.querySelector("test-next");await(0,Zt.waitFor)(()=>(0,Zt.expect)(t).toBeEnabled()),await Zt.fireEvent.click(t),await Zt.fireEvent.click(t),await Zt.fireEvent.click(t),(0,Zt.expect)(t).toBeDisabled()}},P0={render:zj.render,play:async({canvasElement:e})=>{let t=e.querySelector("test-next");await(0,Zt.waitFor)(()=>(0,Zt.expect)(t).toBeEnabled()),await new Promise(o=>setTimeout(o,500));let r=await wl(e,"T1 - Test Entry - Item 1");(0,Zt.expect)(r).toBeInTheDocument(),await new Promise(o=>setTimeout(o,500)),await Zt.fireEvent.click(t),await new Promise(o=>setTimeout(o,500));let n=await wl(e,"T1 - Choice Interaction - Multiple Cardinality");(0,Zt.expect)(n).toBeInTheDocument(),await Zt.fireEvent.click(t),await new Promise(o=>setTimeout(o,500)),await Zt.fireEvent.click(t),(0,Zt.expect)(t).toBeDisabled()}};async function Wj(e,t){if(!e||e.length===0)return null;let r=await e[0]({args:t}),n={};for(let[o,i]of Object.entries(r))n[o]=i instanceof Promise?await i:i;return n}var Yj=ts(P0,Uf),tEe=ts(P0,Uf);describe.sequential("suite",()=>{let e;beforeEach(()=>{e=document.createElement("div"),document.body.appendChild(e)}),afterEach(()=>{e&&(e.remove(),e=null)}),beforeEach(async()=>{let t=await Wj(Hf.loaders,Yj.args);eEe(Hf.render(Uf.args,{loaded:t,argTypes:Hf.argTypes}),e)}),test("text-next fast clicking between items, cancelling previous requests",async()=>{await Yj.play({canvasElement:e})}),test("text-next slow clicking between items, cancelling previous requests",async()=>{await tEe.play({canvasElement:e})})});
692
+ /*! Bundled license information:
693
+
694
+ react-is/cjs/react-is.production.min.js:
695
+ (** @license React v17.0.2
696
+ * react-is.production.min.js
697
+ *
698
+ * Copyright (c) Facebook, Inc. and its affiliates.
699
+ *
700
+ * This source code is licensed under the MIT license found in the
701
+ * LICENSE file in the root directory of this source tree.
702
+ *)
703
+
704
+ react-is/cjs/react-is.development.js:
705
+ (** @license React v17.0.2
706
+ * react-is.development.js
707
+ *
708
+ * Copyright (c) Facebook, Inc. and its affiliates.
709
+ *
710
+ * This source code is licensed under the MIT license found in the
711
+ * LICENSE file in the root directory of this source tree.
712
+ *)
713
+ */