@apple-pie/slice 0.1.59 → 0.2.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 (704) hide show
  1. package/README.md +17 -1
  2. package/dist/cjs/chunks/ActionButton-DhHiZwXV.js +200 -0
  3. package/dist/cjs/chunks/Attachment-DhyXAQUf.js +351 -0
  4. package/dist/cjs/chunks/AudioBubble-DS5Oea-b.js +46 -0
  5. package/dist/cjs/chunks/AudioLevel-uQJ-v5Qz.js +54 -0
  6. package/dist/cjs/chunks/Avatar-a2GHmu1o.js +125 -0
  7. package/dist/cjs/chunks/AvatarGroup-CWpoauJP.js +70 -0
  8. package/dist/cjs/chunks/Badge-DtVP2qH0.js +26 -0
  9. package/dist/cjs/chunks/Button-Cr5SlNim.js +293 -0
  10. package/dist/cjs/chunks/ButtonBar-DDupZZ_u.js +96 -0
  11. package/dist/cjs/chunks/Camera-bjjzmzar.js +560 -0
  12. package/dist/cjs/chunks/CheckBox-DBaKpMhg.js +66 -0
  13. package/dist/cjs/chunks/Chip-DsZHDLKG.js +203 -0
  14. package/dist/cjs/chunks/ContentEditable-BaxU62Mg.js +144 -0
  15. package/dist/cjs/chunks/DialogBox-C-ZvHDH6.js +204 -0
  16. package/dist/cjs/chunks/Dot-0Dv8WX0n.js +92 -0
  17. package/dist/cjs/chunks/DrggablePanel-zi27w3wY.js +251 -0
  18. package/dist/cjs/chunks/DropDown-BcTjhAtE.js +269 -0
  19. package/dist/cjs/chunks/ErrorSummary-DDz7nQWX.js +166 -0
  20. package/dist/cjs/chunks/{FileIcon-63XvrV1q.js → FileIcon-BM8n3o-c.js} +68 -40
  21. package/dist/cjs/chunks/FileList-T2_mhI_t.js +204 -0
  22. package/dist/cjs/chunks/FlexBox-DTCyWJeT.js +278 -0
  23. package/dist/cjs/chunks/FlexDiv-5YN9Hgxy.js +7 -0
  24. package/dist/cjs/chunks/Icon-COY7IZkK.js +7821 -0
  25. package/dist/cjs/chunks/IconButton-KJr15EW6.js +10 -0
  26. package/dist/cjs/chunks/{IndexedDB-ClIpb2ob.js → IndexedDB-DwKh2Gfp.js} +1 -1
  27. package/dist/cjs/chunks/ModalController-D0S9VnNH.js +143 -0
  28. package/dist/cjs/chunks/ModalHostContext-DLgUa9Vl.js +5 -0
  29. package/dist/cjs/chunks/Overlay-CVZLmK8H.js +77 -0
  30. package/dist/cjs/chunks/Pager-QEUi0r59.js +146 -0
  31. package/dist/cjs/chunks/PopMenu-DkxhTcwD.js +423 -0
  32. package/dist/cjs/chunks/PopMenuController-CmS28S4h.js +32 -0
  33. package/dist/cjs/chunks/ProgressIndicator-Ddj5dfEA.js +237 -0
  34. package/dist/cjs/chunks/PromptInput-DtepCo-l.js +248 -0
  35. package/dist/cjs/chunks/RadioButton-B2HGjkQk.js +101 -0
  36. package/dist/cjs/chunks/RadioButtonList-Oc7oMivb.js +88 -0
  37. package/dist/cjs/chunks/Slider-Y7zMFKiM.js +170 -0
  38. package/dist/cjs/chunks/Spacer-CM7sstpQ.js +22 -0
  39. package/dist/cjs/chunks/Switch-CWJh4Pi4.js +70 -0
  40. package/dist/cjs/chunks/Tab-DFvjUNPs.js +96 -0
  41. package/dist/cjs/chunks/TabBar-lB0aqabp.js +186 -0
  42. package/dist/cjs/chunks/TextArea-UudvZQ9R.js +189 -0
  43. package/dist/cjs/chunks/TextField-QzgdqFys.js +312 -0
  44. package/dist/cjs/chunks/Tip-BxS2Wzz3.js +115 -0
  45. package/dist/cjs/chunks/ToggleButton-De8_kkMd.js +53 -0
  46. package/dist/cjs/chunks/UploadArea-BtqwFTDl.js +223 -0
  47. package/dist/cjs/chunks/Video-C1GATYS9.js +396 -0
  48. package/dist/cjs/chunks/VideoController-CnYz7Sdt.js +169 -0
  49. package/dist/cjs/chunks/{WSConnection-CDWOkk8n.js → WSConnection-DZKTeDtZ.js} +1 -1
  50. package/dist/cjs/chunks/{WebRTCConnection-b8jZNRYr.js → WebRTCConnection-DIUG7Gx3.js} +1 -1
  51. package/dist/cjs/chunks/_types-3m6769Z0.js +910 -0
  52. package/dist/cjs/chunks/_types-C_Jf14DZ.js +273 -0
  53. package/dist/cjs/chunks/audioVisualizer-Bak7PWOv.js +71 -0
  54. package/dist/cjs/chunks/breakpoints-BDw1OJh9.js +18 -0
  55. package/dist/cjs/chunks/{browserChannelsStore-PGtTaJyY.js → browserChannelsStore-DHE7Vr4_.js} +4 -2
  56. package/dist/cjs/chunks/colors-hDzzq_Dk.js +62 -0
  57. package/dist/cjs/chunks/files-RYD9L_pI.js +25 -0
  58. package/dist/cjs/chunks/getVideoControls-LxSY7z8h.js +19 -0
  59. package/dist/cjs/chunks/getWaterTransition-s_55VKK2.js +11 -0
  60. package/dist/cjs/chunks/{localDBStore-BRd0iQuq.js → localDBStore-CTWlm2t-.js} +6 -2
  61. package/dist/cjs/chunks/{microphoneStore-DljI0Zpj.js → microphoneStore-D7DuvQeX.js} +1 -1
  62. package/dist/cjs/chunks/{misc-BallZ366.js → misc-PmT7cZzC.js} +29 -38
  63. package/dist/cjs/chunks/{modalStore-BexwvT-T.js → modalStore-BCn998Jz.js} +20 -17
  64. package/dist/cjs/chunks/popMenuStore-DqyTqDrl.js +20 -0
  65. package/dist/cjs/chunks/resolveColor-DkYThq2J.js +9 -0
  66. package/dist/cjs/chunks/resolveColorProps-DE1k1P-Z.js +17 -0
  67. package/dist/cjs/chunks/resolveShortcut-DiQdb8VR.js +38 -0
  68. package/dist/cjs/chunks/sharedTypes-BDMIewR9.js +22 -0
  69. package/dist/cjs/chunks/{sseStore-cSWpKohM.js → sseStore-DfS7e3vY.js} +3 -3
  70. package/dist/cjs/chunks/themes-bwU5x3_5.js +34 -0
  71. package/dist/cjs/chunks/toastStore-BxX1AtE7.js +33 -0
  72. package/dist/cjs/chunks/type.module-Dk5b_rHG.js +28 -0
  73. package/dist/cjs/chunks/{uploads-worker-DzrC-YiR.js → uploads-worker-stCHn8-D.js} +1 -1
  74. package/dist/cjs/chunks/{uploadsStore-BajO-auR.js → uploadsStore-Ck3gzZuD.js} +2 -2
  75. package/dist/cjs/chunks/useAudioVisualizer-D7bStvIe.js +42 -0
  76. package/dist/cjs/chunks/useModalHost-B8oi4tfb.js +52 -0
  77. package/dist/cjs/chunks/usePrefersReducedMotion-GpD17CAE.js +16 -0
  78. package/dist/cjs/chunks/viewState-CMugA-g4.js +627 -0
  79. package/dist/cjs/chunks/{volumeStore-DzgmrI6q.js → volumeStore-BoEoo9wA.js} +1 -1
  80. package/dist/cjs/chunks/{webRTCStore-BXHg9abP.js → webRTCStore-OGkXAovD.js} +6 -2
  81. package/dist/cjs/chunks/{windowStore-DpNMptuw.js → windowStore-HYnXbosz.js} +1 -1
  82. package/dist/cjs/components/Attachment/index.js +26 -0
  83. package/dist/cjs/components/AudioBubble/index.js +11 -8
  84. package/dist/cjs/components/AudioLevel/index.js +9 -0
  85. package/dist/cjs/components/Avatar/index.js +5 -3
  86. package/dist/cjs/components/AvatarGroup/index.js +4 -3
  87. package/dist/cjs/components/Badge/index.js +4 -3
  88. package/dist/cjs/components/Button/index.js +14 -11
  89. package/dist/cjs/components/ButtonBar/index.js +11 -9
  90. package/dist/cjs/components/Camera/index.js +15 -9
  91. package/dist/cjs/components/CheckBox/index.js +11 -10
  92. package/dist/cjs/components/Chip/index.js +13 -10
  93. package/dist/cjs/components/ContentEditable/index.js +8 -0
  94. package/dist/cjs/components/DataTable/index.js +12 -10
  95. package/dist/cjs/components/DialogBox/index.js +21 -0
  96. package/dist/cjs/components/Dot/index.js +8 -3
  97. package/dist/cjs/components/DraggablePanel/index.js +10 -10
  98. package/dist/cjs/components/DropDown/index.js +12 -10
  99. package/dist/cjs/components/ErrorSummary/index.js +10 -7
  100. package/dist/cjs/components/FileIcon/index.js +8 -9
  101. package/dist/cjs/components/FileList/index.js +16 -10
  102. package/dist/cjs/components/FlexBox/index.js +23 -0
  103. package/dist/cjs/components/FlexDiv/index.js +11 -5
  104. package/dist/cjs/components/Icon/index.js +8 -7
  105. package/dist/cjs/components/IconButton/index.js +15 -21
  106. package/dist/cjs/components/ModalController/index.js +11 -6
  107. package/dist/cjs/components/Overlay/index.js +9 -3
  108. package/dist/cjs/components/Pager/index.js +9 -3
  109. package/dist/cjs/components/PopMenu/index.js +17 -0
  110. package/dist/cjs/components/PopMenuController/index.js +18 -0
  111. package/dist/cjs/components/Progress/index.js +13 -10
  112. package/dist/cjs/components/PromptInput/index.js +19 -13
  113. package/dist/cjs/components/RadioButton/index.js +11 -10
  114. package/dist/cjs/components/RadioButtonList/index.js +12 -10
  115. package/dist/cjs/components/Slider/index.js +4 -8
  116. package/dist/cjs/components/Spacer/index.js +2 -2
  117. package/dist/cjs/components/Switch/index.js +9 -3
  118. package/dist/cjs/components/Tab/index.js +15 -0
  119. package/dist/cjs/components/TabBar/index.js +15 -11
  120. package/dist/cjs/components/TextArea/index.js +11 -12
  121. package/dist/cjs/components/Textfield/index.js +15 -11
  122. package/dist/cjs/components/Tip/index.js +9 -4
  123. package/dist/cjs/components/Toast/index.js +13 -10
  124. package/dist/cjs/components/ToggleButton/index.js +14 -11
  125. package/dist/cjs/components/UploadArea/index.js +18 -12
  126. package/dist/cjs/components/Video/index.js +18 -14
  127. package/dist/cjs/components/VideoController/index.js +17 -13
  128. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  129. package/dist/cjs/hooks/useBindWebRTC.js +4 -3
  130. package/dist/cjs/hooks/useClipboard.js +3 -2
  131. package/dist/cjs/hooks/useDoubleClick.js +6 -4
  132. package/dist/cjs/hooks/useInfiniteScroll.js +1 -1
  133. package/dist/cjs/hooks/useMdStreamBuffer.js +7 -2
  134. package/dist/cjs/hooks/useMicrophone.js +1 -1
  135. package/dist/cjs/hooks/useObserveTheme.js +4 -4
  136. package/dist/cjs/hooks/useTheme.js +9 -1
  137. package/dist/cjs/hooks/useToolTip.js +27 -32
  138. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  139. package/dist/cjs/hooks/useWindow.js +13 -23
  140. package/dist/cjs/hooks.js +13 -12
  141. package/dist/cjs/index.js +55 -47
  142. package/dist/cjs/providers/ThemeProvider.js +4 -3
  143. package/dist/cjs/providers/themeServer.test.js +398 -403
  144. package/dist/cjs/providers.js +4 -3
  145. package/dist/cjs/stores/LocalDB.js +8 -6
  146. package/dist/cjs/stores/SSE.js +4 -3
  147. package/dist/cjs/stores/WS.js +4 -3
  148. package/dist/cjs/stores/WebRTC.js +8 -6
  149. package/dist/cjs/stores/activeTab.js +1 -1
  150. package/dist/cjs/stores/browserChannel.js +5 -4
  151. package/dist/cjs/stores/microphone.js +2 -2
  152. package/dist/cjs/stores/modal.js +1 -1
  153. package/dist/cjs/stores/popMenu.js +7 -0
  154. package/dist/cjs/stores/tip.js +1 -1
  155. package/dist/cjs/stores/toast.js +1 -1
  156. package/dist/cjs/stores/uploads.js +2 -2
  157. package/dist/cjs/stores/video.js +1 -1
  158. package/dist/cjs/stores/volume.js +2 -2
  159. package/dist/cjs/stores/window.js +2 -2
  160. package/dist/cjs/stores.js +38 -34
  161. package/dist/cjs/theme/colors.js +479 -231
  162. package/dist/cjs/theme/themes.js +3 -30
  163. package/dist/cjs/theme/type.js +31 -0
  164. package/dist/cjs/theme.js +10 -3
  165. package/dist/cjs/utils/index.js +24 -5
  166. package/dist/cjs/utils/objects/index.js +2 -2
  167. package/dist/cjs/workers/uploads/uploads.js +2 -2
  168. package/dist/css/type.module.css +27 -0
  169. package/dist/esm/chunks/ActionButton-guWI4qko.mjs +235 -0
  170. package/dist/esm/chunks/Attachment-BTSb0hKX.mjs +370 -0
  171. package/dist/esm/chunks/AudioBubble-D15lr4H6.mjs +68 -0
  172. package/dist/esm/chunks/AudioLevel-BcNrcGlh.mjs +63 -0
  173. package/dist/esm/chunks/Avatar-C4JzdLTW.mjs +132 -0
  174. package/dist/esm/chunks/AvatarGroup-Cn33-JkE.mjs +78 -0
  175. package/dist/esm/chunks/Badge-DpnuS-Ey.mjs +32 -0
  176. package/dist/esm/chunks/Button-BwTo8mSI.mjs +315 -0
  177. package/dist/esm/chunks/ButtonBar-BwHxexlC.mjs +111 -0
  178. package/dist/esm/chunks/Camera-DWmX5FZ-.mjs +585 -0
  179. package/dist/esm/chunks/CheckBox-CjmPDfLi.mjs +76 -0
  180. package/dist/esm/chunks/Chip-BfyUpZbH.mjs +223 -0
  181. package/dist/esm/chunks/ContentEditable-BvlyAJve.mjs +154 -0
  182. package/dist/esm/chunks/DialogBox-W9i6k5mv.mjs +224 -0
  183. package/dist/esm/chunks/Dot-CG395pS6.mjs +104 -0
  184. package/dist/esm/chunks/DrggablePanel-0Ef6TYrd.mjs +270 -0
  185. package/dist/esm/chunks/DropDown-CiB0Rp_P.mjs +286 -0
  186. package/dist/esm/chunks/ErrorSummary-3XoZyvmX.mjs +192 -0
  187. package/dist/esm/chunks/{FileIcon-B7_cbtHF.mjs → FileIcon-hKJZoGIx.mjs} +73 -53
  188. package/dist/esm/chunks/FileList-DxB0ZORo.mjs +220 -0
  189. package/dist/esm/chunks/FlexBox-VfQehVtm.mjs +296 -0
  190. package/dist/esm/chunks/FlexDiv-BZ5PBnE3.mjs +6 -0
  191. package/dist/esm/chunks/Icon-43T0fkr6.mjs +7841 -0
  192. package/dist/esm/chunks/IconButton-oqYTUJit.mjs +12 -0
  193. package/dist/esm/chunks/{IndexedDB-CB92RX6-.mjs → IndexedDB-DjCLZUf0.mjs} +1 -1
  194. package/dist/esm/chunks/ModalController-fvF-RWS8.mjs +169 -0
  195. package/dist/esm/chunks/ModalHostContext-BrT_g7sc.mjs +5 -0
  196. package/dist/esm/chunks/Overlay-C_FMcUyg.mjs +93 -0
  197. package/dist/esm/chunks/Pager-LqYNCZ8I.mjs +158 -0
  198. package/dist/esm/chunks/PopMenu-BkXfm6Sz.mjs +455 -0
  199. package/dist/esm/chunks/PopMenuController-Dj3uvc8F.mjs +44 -0
  200. package/dist/esm/chunks/ProgressIndicator-CR3pA1Me.mjs +266 -0
  201. package/dist/esm/chunks/PromptInput-Bq18i1Ac.mjs +266 -0
  202. package/dist/esm/chunks/RadioButton-DTUKMjvM.mjs +109 -0
  203. package/dist/esm/chunks/RadioButtonList-DsOgpe0m.mjs +99 -0
  204. package/dist/esm/chunks/Slider-DaZTE-eD.mjs +176 -0
  205. package/dist/esm/chunks/Spacer-CsJxUJ7E.mjs +24 -0
  206. package/dist/esm/chunks/Switch-BDFgMC0b.mjs +84 -0
  207. package/dist/esm/chunks/Tab-B8yJ9Qy4.mjs +105 -0
  208. package/dist/esm/chunks/TabBar-2kQmtcwW.mjs +214 -0
  209. package/dist/esm/chunks/TextArea-C32MToPG.mjs +201 -0
  210. package/dist/esm/chunks/TextField-BXrN1QkD.mjs +344 -0
  211. package/dist/esm/chunks/Tip-4R9wW1mE.mjs +133 -0
  212. package/dist/esm/chunks/ToggleButton-CGHa458C.mjs +61 -0
  213. package/dist/esm/chunks/UploadArea-Dq7ST-RG.mjs +237 -0
  214. package/dist/esm/chunks/Video-KuG0k3ly.mjs +418 -0
  215. package/dist/esm/chunks/VideoController-DQoDDY1a.mjs +201 -0
  216. package/dist/esm/chunks/{WSConnection-BENe51Ue.mjs → WSConnection-ByCYrNOq.mjs} +1 -1
  217. package/dist/esm/chunks/{WebRTCConnection-Cwx1C6Ta.mjs → WebRTCConnection-DTjS3UUU.mjs} +1 -1
  218. package/dist/esm/chunks/_types-B6NStINb.mjs +296 -0
  219. package/dist/esm/chunks/_types-ntN11tyz.mjs +910 -0
  220. package/dist/esm/chunks/audioVisualizer-BMSpJwTS.mjs +71 -0
  221. package/dist/esm/chunks/breakpoints-Dn9DgpJe.mjs +18 -0
  222. package/dist/esm/chunks/{browserChannelsStore-oGeBSxAT.mjs → browserChannelsStore-s7VUhLS9.mjs} +6 -2
  223. package/dist/esm/chunks/colors-DZ9xpMoE.mjs +63 -0
  224. package/dist/esm/chunks/files-6nwSZlJK.mjs +26 -0
  225. package/dist/esm/chunks/getVideoControls-aoqr4T3P.mjs +20 -0
  226. package/dist/esm/chunks/getWaterTransition-CrDSFJdk.mjs +12 -0
  227. package/dist/esm/chunks/{localDBStore-ZwQD3ino.mjs → localDBStore-DYhPmkHz.mjs} +7 -3
  228. package/dist/esm/chunks/{microphoneStore-D8VxjdFZ.mjs → microphoneStore-BzSEbtfK.mjs} +1 -1
  229. package/dist/esm/chunks/{misc-DBIXjc2Q.mjs → misc-DI5GSqkt.mjs} +24 -34
  230. package/dist/esm/chunks/{modalStore-GWNWh1tE.mjs → modalStore-BgYt3q8T.mjs} +20 -17
  231. package/dist/esm/chunks/popMenuStore-DtApFGaq.mjs +18 -0
  232. package/dist/esm/chunks/resolveColor-Kvs7kDyy.mjs +9 -0
  233. package/dist/esm/chunks/resolveColorProps-CwAU25V-.mjs +17 -0
  234. package/dist/esm/chunks/resolveShortcut-C43ivgMc.mjs +37 -0
  235. package/dist/esm/chunks/sharedTypes-DYXO7VNa.mjs +25 -0
  236. package/dist/esm/chunks/{sseStore-CZqJmpUR.mjs → sseStore-Duybemwt.mjs} +7 -3
  237. package/dist/esm/chunks/themes-DCtDY7XT.mjs +40 -0
  238. package/dist/esm/chunks/toastStore-Ds1Kx4-O.mjs +29 -0
  239. package/dist/esm/chunks/type.module--fVZ2ic7.mjs +28 -0
  240. package/dist/esm/chunks/{uploads-worker-DuyqBeHz.mjs → uploads-worker-CpJtBCvY.mjs} +1 -1
  241. package/dist/esm/chunks/{uploadsStore-D9Ftk4Ke.mjs → uploadsStore-B_7wyr8k.mjs} +1 -1
  242. package/dist/esm/chunks/useAudioVisualizer-Dw8XLBmS.mjs +42 -0
  243. package/dist/esm/chunks/useModalHost-DiYFB7Mq.mjs +51 -0
  244. package/dist/esm/chunks/usePrefersReducedMotion-BWAwMMLE.mjs +15 -0
  245. package/dist/esm/chunks/viewState-D7e7CrHf.mjs +659 -0
  246. package/dist/esm/chunks/{volumeStore-hrteUkB-.mjs → volumeStore-mqWIRL0J.mjs} +1 -1
  247. package/dist/esm/chunks/{webRTCStore-B2ri-_li.mjs → webRTCStore-BepH2O9l.mjs} +7 -3
  248. package/dist/esm/chunks/{windowStore-DIdy_IoC.mjs → windowStore-C8rGk_0b.mjs} +1 -1
  249. package/dist/esm/components/Attachment/index.mjs +71 -0
  250. package/dist/esm/components/AudioBubble/index.mjs +21 -11
  251. package/dist/esm/components/AudioLevel/index.mjs +21 -0
  252. package/dist/esm/components/Avatar/index.mjs +9 -3
  253. package/dist/esm/components/AvatarGroup/index.mjs +10 -4
  254. package/dist/esm/components/Badge/index.mjs +8 -2
  255. package/dist/esm/components/Button/index.mjs +27 -17
  256. package/dist/esm/components/ButtonBar/index.mjs +22 -14
  257. package/dist/esm/components/Camera/index.mjs +37 -13
  258. package/dist/esm/components/CheckBox/index.mjs +20 -16
  259. package/dist/esm/components/Chip/index.mjs +27 -17
  260. package/dist/esm/components/ContentEditable/index.mjs +17 -0
  261. package/dist/esm/components/DataTable/index.mjs +27 -21
  262. package/dist/esm/components/DialogBox/index.mjs +75 -0
  263. package/dist/esm/components/Dot/index.mjs +28 -2
  264. package/dist/esm/components/DraggablePanel/index.mjs +16 -20
  265. package/dist/esm/components/DropDown/index.mjs +25 -15
  266. package/dist/esm/components/ErrorSummary/index.mjs +22 -10
  267. package/dist/esm/components/FileIcon/index.mjs +8 -16
  268. package/dist/esm/components/FileList/index.mjs +40 -16
  269. package/dist/esm/components/FlexBox/index.mjs +39 -0
  270. package/dist/esm/components/FlexDiv/index.mjs +33 -3
  271. package/dist/esm/components/Icon/index.mjs +15 -11
  272. package/dist/esm/components/IconButton/index.mjs +31 -19
  273. package/dist/esm/components/ModalController/index.mjs +33 -9
  274. package/dist/esm/components/Overlay/index.mjs +30 -2
  275. package/dist/esm/components/Pager/index.mjs +31 -3
  276. package/dist/esm/components/PopMenu/index.mjs +59 -0
  277. package/dist/esm/components/PopMenuController/index.mjs +63 -0
  278. package/dist/esm/components/Progress/index.mjs +21 -11
  279. package/dist/esm/components/PromptInput/index.mjs +43 -21
  280. package/dist/esm/components/RadioButton/index.mjs +18 -14
  281. package/dist/esm/components/RadioButtonList/index.mjs +23 -17
  282. package/dist/esm/components/Slider/index.mjs +5 -23
  283. package/dist/esm/components/Spacer/index.mjs +2 -2
  284. package/dist/esm/components/Switch/index.mjs +30 -2
  285. package/dist/esm/components/Tab/index.mjs +51 -0
  286. package/dist/esm/components/TabBar/index.mjs +32 -16
  287. package/dist/esm/components/TextArea/index.mjs +17 -23
  288. package/dist/esm/components/Textfield/index.mjs +33 -17
  289. package/dist/esm/components/Tip/index.mjs +29 -3
  290. package/dist/esm/components/Toast/index.mjs +23 -13
  291. package/dist/esm/components/ToggleButton/index.mjs +30 -22
  292. package/dist/esm/components/UploadArea/index.mjs +41 -17
  293. package/dist/esm/components/Video/index.mjs +34 -24
  294. package/dist/esm/components/VideoController/index.mjs +44 -26
  295. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  296. package/dist/esm/hooks/useBindWebRTC.mjs +12 -6
  297. package/dist/esm/hooks/useClipboard.mjs +9 -3
  298. package/dist/esm/hooks/useDoubleClick.mjs +8 -5
  299. package/dist/esm/hooks/useInfiniteScroll.mjs +1 -1
  300. package/dist/esm/hooks/useMdStreamBuffer.mjs +9 -3
  301. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  302. package/dist/esm/hooks/useObserveTheme.mjs +5 -1
  303. package/dist/esm/hooks/useTheme.mjs +5 -1
  304. package/dist/esm/hooks/useToolTip.mjs +28 -33
  305. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  306. package/dist/esm/hooks/useWindow.mjs +6 -22
  307. package/dist/esm/hooks.mjs +16 -10
  308. package/dist/esm/index.mjs +96 -60
  309. package/dist/esm/providers/ThemeProvider.mjs +5 -1
  310. package/dist/esm/providers/themeServer.test.mjs +398 -403
  311. package/dist/esm/providers.mjs +5 -1
  312. package/dist/esm/stores/LocalDB.mjs +10 -4
  313. package/dist/esm/stores/SSE.mjs +10 -4
  314. package/dist/esm/stores/WS.mjs +9 -3
  315. package/dist/esm/stores/WebRTC.mjs +10 -4
  316. package/dist/esm/stores/activeTab.mjs +1 -1
  317. package/dist/esm/stores/browserChannel.mjs +9 -3
  318. package/dist/esm/stores/microphone.mjs +2 -2
  319. package/dist/esm/stores/modal.mjs +1 -1
  320. package/dist/esm/stores/popMenu.mjs +3 -0
  321. package/dist/esm/stores/tip.mjs +1 -1
  322. package/dist/esm/stores/toast.mjs +1 -1
  323. package/dist/esm/stores/uploads.mjs +3 -3
  324. package/dist/esm/stores/video.mjs +1 -1
  325. package/dist/esm/stores/volume.mjs +2 -2
  326. package/dist/esm/stores/window.mjs +2 -2
  327. package/dist/esm/stores.mjs +28 -20
  328. package/dist/esm/theme/colors.mjs +479 -231
  329. package/dist/esm/theme/themes.mjs +6 -35
  330. package/dist/esm/theme/type.mjs +31 -0
  331. package/dist/esm/theme.mjs +5 -1
  332. package/dist/esm/utils/index.mjs +37 -12
  333. package/dist/esm/utils/objects/index.mjs +8 -8
  334. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  335. package/dist/styles.css +5106 -3872
  336. package/dist/types/components/Attachment/Attachment.d.ts +2 -0
  337. package/dist/types/components/Attachment/AttachmentImagePreview.d.ts +6 -0
  338. package/dist/types/components/Attachment/_types.d.ts +47 -0
  339. package/dist/types/components/Attachment/index.d.ts +3 -0
  340. package/dist/types/components/Attachment/useContentThumbnail.d.ts +19 -0
  341. package/dist/types/components/AudioBubble/AudioBubble.d.ts +1 -1
  342. package/dist/types/components/AudioBubble/_types.d.ts +4 -3
  343. package/dist/types/components/AudioLevel/AudioLevel.d.ts +5 -0
  344. package/dist/types/components/AudioLevel/_types.d.ts +22 -0
  345. package/dist/types/components/AudioLevel/index.d.ts +2 -0
  346. package/dist/types/components/Avatar/Avatar.d.ts +6 -1
  347. package/dist/types/components/Avatar/_types.d.ts +28 -15
  348. package/dist/types/components/AvatarGroup/AvatarGroup.d.ts +1 -1
  349. package/dist/types/components/AvatarGroup/AvatarGroupContext.d.ts +7 -0
  350. package/dist/types/components/AvatarGroup/_types.d.ts +26 -15
  351. package/dist/types/components/AvatarGroup/index.d.ts +1 -1
  352. package/dist/types/components/Badge/Badge.d.ts +1 -1
  353. package/dist/types/components/Badge/_types.d.ts +11 -3
  354. package/dist/types/components/Button/Button.d.ts +19 -52
  355. package/dist/types/components/Button/_types.d.ts +18 -14
  356. package/dist/types/components/ButtonBar/ButtonBar.d.ts +0 -14
  357. package/dist/types/components/ButtonBar/_types.d.ts +16 -13
  358. package/dist/types/components/Camera/Camera.d.ts +2 -4
  359. package/dist/types/components/Camera/_types.d.ts +25 -29
  360. package/dist/types/components/Camera/cameraSession.d.ts +59 -0
  361. package/dist/types/components/Camera/index.d.ts +1 -1
  362. package/dist/types/components/CheckBox/CheckBox.d.ts +1 -1
  363. package/dist/types/components/CheckBox/_types.d.ts +16 -4
  364. package/dist/types/components/Chip/Chip.d.ts +1 -1
  365. package/dist/types/components/Chip/_types.d.ts +35 -19
  366. package/dist/types/components/ContentEditable/ContentEditable.d.ts +3 -0
  367. package/dist/types/components/ContentEditable/_types.d.ts +26 -0
  368. package/dist/types/components/ContentEditable/index.d.ts +2 -0
  369. package/dist/types/components/DataTable/DataTable.d.ts +1 -1
  370. package/dist/types/components/DataTable/_types.d.ts +21 -11
  371. package/dist/types/components/DataTable/_useResizeColumn.d.ts +1 -1
  372. package/dist/types/components/DataTable/_useRowWindow.d.ts +1 -0
  373. package/dist/types/components/DataTable/compareValues.d.ts +2 -0
  374. package/dist/types/components/DialogBox/DialogBox.d.ts +6 -0
  375. package/dist/types/components/DialogBox/_types.d.ts +68 -0
  376. package/dist/types/components/DialogBox/index.d.ts +3 -0
  377. package/dist/types/components/DialogBox/parseSections.d.ts +7 -0
  378. package/dist/types/components/DialogBox/sections.d.ts +20 -0
  379. package/dist/types/components/DialogBox/useDialogBox.d.ts +4 -0
  380. package/dist/types/components/Dot/Dot.d.ts +1 -1
  381. package/dist/types/components/Dot/_types.d.ts +8 -2
  382. package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +5 -55
  383. package/dist/types/components/DraggablePanel/_types.d.ts +46 -0
  384. package/dist/types/components/DraggablePanel/index.d.ts +1 -0
  385. package/dist/types/components/DraggablePanel/panelConstraints.d.ts +3 -0
  386. package/dist/types/components/DropDown/_types.d.ts +45 -16
  387. package/dist/types/components/DropDown/resolveOptions.d.ts +11 -0
  388. package/dist/types/components/ErrorSummary/ErrorSummary.d.ts +30 -2
  389. package/dist/types/components/ErrorSummary/_types.d.ts +16 -4
  390. package/dist/types/components/FileIcon/FileIcon.d.ts +1 -2
  391. package/dist/types/components/FileIcon/_types.d.ts +11 -6
  392. package/dist/types/components/FileIcon/index.d.ts +2 -2
  393. package/dist/types/components/FileList/FileList.d.ts +2 -2
  394. package/dist/types/components/FileList/_types.d.ts +16 -6
  395. package/dist/types/components/FileList/fileListValues.d.ts +5 -0
  396. package/dist/types/components/FlexBox/FlexBox.d.ts +3 -0
  397. package/dist/types/components/FlexBox/_types.d.ts +62 -0
  398. package/dist/types/components/FlexBox/index.d.ts +2 -0
  399. package/dist/types/components/FlexDiv/FlexDiv.d.ts +2 -64
  400. package/dist/types/components/FlexDiv/_types.d.ts +4 -146
  401. package/dist/types/components/Icon/Icon.d.ts +1 -1
  402. package/dist/types/components/Icon/_types.d.ts +910 -132
  403. package/dist/types/components/Icon/iconRegistry.d.ts +3 -2
  404. package/dist/types/components/Icon/index.d.ts +1 -0
  405. package/dist/types/components/IconButton/ActionButton.d.ts +19 -0
  406. package/dist/types/components/IconButton/IconButton.d.ts +1 -1
  407. package/dist/types/components/IconButton/_types.d.ts +24 -72
  408. package/dist/types/components/IconButton/index.d.ts +1 -2
  409. package/dist/types/components/ModalController/ModalController.d.ts +2 -2
  410. package/dist/types/components/ModalController/ModalHostContext.d.ts +1 -0
  411. package/dist/types/components/ModalController/_types.d.ts +3 -5
  412. package/dist/types/components/ModalController/useModalHost.d.ts +3 -0
  413. package/dist/types/components/Overlay/Overlay.d.ts +1 -1
  414. package/dist/types/components/Overlay/_types.d.ts +7 -8
  415. package/dist/types/components/Pager/Pager.d.ts +1 -1
  416. package/dist/types/components/Pager/_types.d.ts +21 -5
  417. package/dist/types/components/Pager/pagerLogic.d.ts +9 -0
  418. package/dist/types/components/PopMenu/PopMenu.d.ts +3 -0
  419. package/dist/types/components/PopMenu/PopMenuContext.d.ts +10 -0
  420. package/dist/types/components/PopMenu/PopMenuGroup.d.ts +2 -0
  421. package/dist/types/components/PopMenu/PopMenuItem.d.ts +3 -0
  422. package/dist/types/components/PopMenu/_types.d.ts +110 -0
  423. package/dist/types/components/PopMenu/index.d.ts +4 -0
  424. package/dist/types/components/PopMenu/usePopMenu.d.ts +17 -0
  425. package/dist/types/components/PopMenu/usePopMenuPortal.d.ts +3 -0
  426. package/dist/types/components/PopMenuController/PopMenuController.d.ts +2 -0
  427. package/dist/types/components/PopMenuController/index.d.ts +1 -0
  428. package/dist/types/components/Progress/DoneCheck/DoneCheck.d.ts +1 -1
  429. package/dist/types/components/Progress/DoneCheck/_types.d.ts +5 -2
  430. package/dist/types/components/Progress/ProgressIndicator/ProgressIndicator.d.ts +2 -4
  431. package/dist/types/components/Progress/ProgressIndicator/_types.d.ts +19 -7
  432. package/dist/types/components/Progress/ProgressIndicator/useSpinnerPlayback.d.ts +3 -0
  433. package/dist/types/components/PromptInput/PromptInput.d.ts +50 -15
  434. package/dist/types/components/PromptInput/_types.d.ts +45 -8
  435. package/dist/types/components/PromptInput/index.d.ts +1 -1
  436. package/dist/types/components/PromptInput/promptText.d.ts +6 -0
  437. package/dist/types/components/RadioButton/RadioGroupContext.d.ts +11 -0
  438. package/dist/types/components/RadioButton/_types.d.ts +24 -13
  439. package/dist/types/components/RadioButtonList/_types.d.ts +17 -19
  440. package/dist/types/components/RadioButtonList/index.d.ts +1 -1
  441. package/dist/types/components/Slider/Slider.d.ts +1 -1
  442. package/dist/types/components/Slider/_types.d.ts +15 -9
  443. package/dist/types/components/Slider/sliderLogic.d.ts +6 -0
  444. package/dist/types/components/Spacer/index.d.ts +1 -1
  445. package/dist/types/components/Switch/_types.d.ts +18 -7
  446. package/dist/types/components/Tab/Tab.d.ts +3 -0
  447. package/dist/types/components/Tab/_types.d.ts +26 -0
  448. package/dist/types/components/Tab/index.d.ts +2 -0
  449. package/dist/types/components/TabBar/TabBar.d.ts +1 -1
  450. package/dist/types/components/TabBar/_types.d.ts +14 -37
  451. package/dist/types/components/TabBar/index.d.ts +1 -1
  452. package/dist/types/components/TabBar/shared.d.ts +22 -0
  453. package/dist/types/components/TextArea/TextArea.d.ts +1 -1
  454. package/dist/types/components/TextArea/_types.d.ts +32 -11
  455. package/dist/types/components/TextArea/index.d.ts +1 -1
  456. package/dist/types/components/Textfield/TextField.d.ts +2 -2
  457. package/dist/types/components/Textfield/_types.d.ts +41 -37
  458. package/dist/types/components/Tip/Tip.d.ts +1 -2
  459. package/dist/types/components/Tip/_types.d.ts +11 -18
  460. package/dist/types/components/Tip/useTipVisibility.d.ts +6 -0
  461. package/dist/types/components/Toast/Toast.d.ts +2 -2
  462. package/dist/types/components/Toast/_types.d.ts +25 -12
  463. package/dist/types/components/Toast/index.d.ts +1 -1
  464. package/dist/types/components/Toast/useToastLifecycle.d.ts +15 -0
  465. package/dist/types/components/ToggleButton/ToggleButton.d.ts +2 -2
  466. package/dist/types/components/ToggleButton/_types.d.ts +18 -30
  467. package/dist/types/components/UploadArea/UploadArea.d.ts +27 -19
  468. package/dist/types/components/UploadArea/_types.d.ts +23 -20
  469. package/dist/types/components/UploadArea/index.d.ts +1 -1
  470. package/dist/types/components/UploadArea/selection.d.ts +7 -0
  471. package/dist/types/components/UploadArea/useFileSelection.d.ts +30 -0
  472. package/dist/types/components/Video/Video.d.ts +2 -72
  473. package/dist/types/components/Video/_types.d.ts +37 -11
  474. package/dist/types/components/Video/getVideoControls.d.ts +3 -0
  475. package/dist/types/components/Video/index.d.ts +1 -1
  476. package/dist/types/components/VideoController/VideoController.d.ts +1 -1
  477. package/dist/types/components/VideoController/_types.d.ts +6 -1
  478. package/dist/types/components/playHelpers.d.ts +10 -233
  479. package/dist/types/components/sharedTypes.d.ts +31 -0
  480. package/dist/types/hooks/index.d.ts +1 -1
  481. package/dist/types/hooks/useToolTip/useToolTip.d.ts +1 -0
  482. package/dist/types/hooks/useWindow/useWindow.d.ts +5 -16
  483. package/dist/types/index.d.ts +39 -30
  484. package/dist/types/stores/index.d.ts +1 -0
  485. package/dist/types/stores/popMenu/_types.d.ts +13 -0
  486. package/dist/types/stores/popMenu/index.d.ts +2 -0
  487. package/dist/types/stores/popMenu/popMenuStore.d.ts +12 -0
  488. package/dist/types/stores/toast/_types.d.ts +6 -11
  489. package/dist/types/stores/toast/toastStore.d.ts +6 -6
  490. package/dist/types/stores/window/windowStore.d.ts +2 -2
  491. package/dist/types/theme/breakpoints/breakpoints.d.ts +11 -0
  492. package/dist/types/theme/colors/palette.d.ts +461 -0
  493. package/dist/types/theme/colors/recipes.d.ts +34 -0
  494. package/dist/types/theme/colors/resolveColor.d.ts +7 -0
  495. package/dist/types/theme/colors/types.d.ts +8 -92
  496. package/dist/types/theme/index.d.ts +4 -0
  497. package/dist/types/theme/type/type.d.ts +1 -0
  498. package/dist/types/theme/type/types.d.ts +3 -0
  499. package/dist/types/utils/audio/useAudioVisualizer.d.ts +3 -0
  500. package/dist/types/utils/functions/colors.d.ts +7 -0
  501. package/dist/types/utils/functions/files.d.ts +3 -4
  502. package/dist/types/utils/functions/misc.d.ts +12 -2
  503. package/dist/types/utils/functions/resolveColorProps.d.ts +2 -0
  504. package/dist/types/utils/functions/resolveShortcut.d.ts +3 -0
  505. package/dist/types/utils/index.d.ts +5 -1
  506. package/dist/types/utils/objects/audioVisualizer/audioVisualizer.d.ts +3 -0
  507. package/dist/types/utils/styling/getWaterTransition.d.ts +4 -0
  508. package/dist/types/utils/styling/reduceMotionTargets.d.ts +4 -0
  509. package/dist/types/utils/styling/usePrefersReducedMotion.d.ts +2 -0
  510. package/package.json +195 -193
  511. package/scripts/README.md +19 -0
  512. package/dist/cjs/chunks/AudioBubble-DAtkPfFK.js +0 -55
  513. package/dist/cjs/chunks/Avatar-BI8Gvsp7.js +0 -82
  514. package/dist/cjs/chunks/AvatarGroup-1IxbG6-D.js +0 -41
  515. package/dist/cjs/chunks/Badge-DMey3Pf3.js +0 -22
  516. package/dist/cjs/chunks/Button-BjmkIu7l.js +0 -265
  517. package/dist/cjs/chunks/ButtonBar-BxA8GQPM.js +0 -72
  518. package/dist/cjs/chunks/Camera-ByjATQDE.js +0 -380
  519. package/dist/cjs/chunks/CheckBox-DZng-9wI.js +0 -51
  520. package/dist/cjs/chunks/Chip-CqUDN_QK.js +0 -80
  521. package/dist/cjs/chunks/DivInput-GYDtuy4a.js +0 -101
  522. package/dist/cjs/chunks/Dot-BgyxIyrr.js +0 -72
  523. package/dist/cjs/chunks/DrggablePanel-BjOFnl0l.js +0 -224
  524. package/dist/cjs/chunks/DropDown-C0vZNCK4.js +0 -105
  525. package/dist/cjs/chunks/ErrorSummary-CVzk_ASK.js +0 -88
  526. package/dist/cjs/chunks/FileList-6qXKA_Ux.js +0 -223
  527. package/dist/cjs/chunks/FlexDiv-LwjVh6ls.js +0 -178
  528. package/dist/cjs/chunks/Grouper-BlWyuh_b.js +0 -63
  529. package/dist/cjs/chunks/Icon-BTjtQLNe.js +0 -1473
  530. package/dist/cjs/chunks/IconButton-C0yNYhI6.js +0 -182
  531. package/dist/cjs/chunks/Label-DsMFZd91.js +0 -106
  532. package/dist/cjs/chunks/Level-VKdsTW_-.js +0 -63
  533. package/dist/cjs/chunks/Modal-Dp5Wg1Bw.js +0 -128
  534. package/dist/cjs/chunks/ModalController-Cb2_7DtS.js +0 -81
  535. package/dist/cjs/chunks/Overlay-hOm9sYjr.js +0 -41
  536. package/dist/cjs/chunks/Pager-CPhi9uyP.js +0 -36
  537. package/dist/cjs/chunks/ProgressIndicator-CMsc_Npc.js +0 -140
  538. package/dist/cjs/chunks/PromptInput-6eDiLG4g.js +0 -161
  539. package/dist/cjs/chunks/RadioButton-DMxqwM6_.js +0 -55
  540. package/dist/cjs/chunks/RadioButtonList-kG_Y1d4X.js +0 -73
  541. package/dist/cjs/chunks/Slider-DGJomZGG.js +0 -169
  542. package/dist/cjs/chunks/Spacer-Z97EoNtJ.js +0 -26
  543. package/dist/cjs/chunks/Switch-CfzJd19R.js +0 -44
  544. package/dist/cjs/chunks/TabBar-C2aNS0Sd.js +0 -183
  545. package/dist/cjs/chunks/TextArea-G_MUJAHw.js +0 -77
  546. package/dist/cjs/chunks/TextField-CWIGERkd.js +0 -190
  547. package/dist/cjs/chunks/Tip-B7RF879X.js +0 -89
  548. package/dist/cjs/chunks/Toast-pkSkNuZo.js +0 -185
  549. package/dist/cjs/chunks/ToggleButton-DPc2x2EV.js +0 -45
  550. package/dist/cjs/chunks/UploadArea-DyVGwChS.js +0 -132
  551. package/dist/cjs/chunks/Video-Dh-_ouTP.js +0 -301
  552. package/dist/cjs/chunks/VideoController-CVm1CtaE.js +0 -95
  553. package/dist/cjs/chunks/_types-DxINS-ge.js +0 -140
  554. package/dist/cjs/chunks/audioVisualizer-C74sRH6D.js +0 -60
  555. package/dist/cjs/chunks/colors-BDwwQ2Y3.js +0 -27
  556. package/dist/cjs/chunks/debounce-Bi3gt_i6.js +0 -18
  557. package/dist/cjs/chunks/sharedTypes-XAbs742N.js +0 -6
  558. package/dist/cjs/chunks/toastStore-Bwus7v5O.js +0 -17
  559. package/dist/cjs/chunks/viewState-BVtEQ4sR.js +0 -497
  560. package/dist/cjs/components/DivInput/index.js +0 -7
  561. package/dist/cjs/components/Grouper/index.js +0 -14
  562. package/dist/cjs/components/Label/index.js +0 -12
  563. package/dist/cjs/components/Level/index.js +0 -7
  564. package/dist/cjs/components/Modal/index.js +0 -15
  565. package/dist/esm/chunks/AudioBubble-B8vlO9fq.mjs +0 -69
  566. package/dist/esm/chunks/Avatar-BMHnrzr3.mjs +0 -88
  567. package/dist/esm/chunks/AvatarGroup-BoBXPEbH.mjs +0 -47
  568. package/dist/esm/chunks/Badge-C7xDwrvC.mjs +0 -26
  569. package/dist/esm/chunks/Button-C6sTA1hG.mjs +0 -283
  570. package/dist/esm/chunks/ButtonBar-Bh3-UpMU.mjs +0 -82
  571. package/dist/esm/chunks/Camera-BXSLetAD.mjs +0 -398
  572. package/dist/esm/chunks/CheckBox-DkXJwLeU.mjs +0 -61
  573. package/dist/esm/chunks/Chip-XTbAoiHl.mjs +0 -92
  574. package/dist/esm/chunks/DivInput-TsyOx4x2.mjs +0 -113
  575. package/dist/esm/chunks/Dot-D0NtTwqi.mjs +0 -78
  576. package/dist/esm/chunks/DrggablePanel-BK9ukIbF.mjs +0 -236
  577. package/dist/esm/chunks/DropDown-F7yIB6EJ.mjs +0 -115
  578. package/dist/esm/chunks/ErrorSummary-SseJ5z1U.mjs +0 -101
  579. package/dist/esm/chunks/FileList-Bv9yn2QS.mjs +0 -231
  580. package/dist/esm/chunks/FlexDiv-3OxQ9y_1.mjs +0 -188
  581. package/dist/esm/chunks/Grouper-BcrjlgM-.mjs +0 -83
  582. package/dist/esm/chunks/Icon-He4S-Q8N.mjs +0 -1487
  583. package/dist/esm/chunks/IconButton-BGL-_8VW.mjs +0 -197
  584. package/dist/esm/chunks/Label-BouM6sY2.mjs +0 -119
  585. package/dist/esm/chunks/Level-CTkhQuiZ.mjs +0 -68
  586. package/dist/esm/chunks/Modal-BnbUOsKH.mjs +0 -142
  587. package/dist/esm/chunks/ModalController-Dk2VZcXW.mjs +0 -92
  588. package/dist/esm/chunks/Overlay-D5cMQSvL.mjs +0 -47
  589. package/dist/esm/chunks/Pager-4-2T_ZbJ.mjs +0 -42
  590. package/dist/esm/chunks/ProgressIndicator-DBf_bLtr.mjs +0 -156
  591. package/dist/esm/chunks/PromptInput-I10dUhFO.mjs +0 -175
  592. package/dist/esm/chunks/RadioButton-ZD7w9pql.mjs +0 -63
  593. package/dist/esm/chunks/RadioButtonList-h2_5VM4X.mjs +0 -81
  594. package/dist/esm/chunks/Slider-2Q6yVb8H.mjs +0 -183
  595. package/dist/esm/chunks/Spacer-Rj8PKnt3.mjs +0 -28
  596. package/dist/esm/chunks/Switch-C4zkPOMU.mjs +0 -50
  597. package/dist/esm/chunks/TabBar-bYgmIa-q.mjs +0 -205
  598. package/dist/esm/chunks/TextArea-BS0Iu1RB.mjs +0 -87
  599. package/dist/esm/chunks/TextField-BT1quQpj.mjs +0 -210
  600. package/dist/esm/chunks/Tip-B4Tg6gIC.mjs +0 -99
  601. package/dist/esm/chunks/Toast-DWHhX64K.mjs +0 -203
  602. package/dist/esm/chunks/ToggleButton-KAplYW5q.mjs +0 -53
  603. package/dist/esm/chunks/UploadArea-D_ytxxSf.mjs +0 -142
  604. package/dist/esm/chunks/Video-BHSzz3Wx.mjs +0 -316
  605. package/dist/esm/chunks/VideoController-D9ihYFYq.mjs +0 -114
  606. package/dist/esm/chunks/_types-FIe85AYv.mjs +0 -140
  607. package/dist/esm/chunks/audioVisualizer-BiB7Hun_.mjs +0 -60
  608. package/dist/esm/chunks/colors-DAIBQReF.mjs +0 -30
  609. package/dist/esm/chunks/debounce-BPsURiHk.mjs +0 -19
  610. package/dist/esm/chunks/sharedTypes-DdC4rvjp.mjs +0 -8
  611. package/dist/esm/chunks/toastStore-CRMyZAzS.mjs +0 -15
  612. package/dist/esm/chunks/viewState-BdLOLJlv.mjs +0 -527
  613. package/dist/esm/components/DivInput/index.mjs +0 -13
  614. package/dist/esm/components/Grouper/index.mjs +0 -47
  615. package/dist/esm/components/Label/index.mjs +0 -11
  616. package/dist/esm/components/Level/index.mjs +0 -15
  617. package/dist/esm/components/Modal/index.mjs +0 -57
  618. package/dist/types/components/DataTable/_resolveVirtualizeRows.test.d.ts +0 -1
  619. package/dist/types/components/DataTable/_useReorderColumns.test.d.ts +0 -1
  620. package/dist/types/components/DataTable/_useResizeColumn.test.d.ts +0 -1
  621. package/dist/types/components/DataTable/_useRowWindow.test.d.ts +0 -1
  622. package/dist/types/components/DataTable/columnHelper.test.d.ts +0 -1
  623. package/dist/types/components/DataTable/viewState.test.d.ts +0 -1
  624. package/dist/types/components/DivInput/DivInput.d.ts +0 -3
  625. package/dist/types/components/DivInput/_types.d.ts +0 -24
  626. package/dist/types/components/DivInput/index.d.ts +0 -2
  627. package/dist/types/components/Grouper/Grouper.d.ts +0 -3
  628. package/dist/types/components/Grouper/_types.d.ts +0 -20
  629. package/dist/types/components/Grouper/index.d.ts +0 -2
  630. package/dist/types/components/Icon/iconRegistry.test.d.ts +0 -1
  631. package/dist/types/components/IconButton/_animation.d.ts +0 -18
  632. package/dist/types/components/IconButton/_animation.test.d.ts +0 -1
  633. package/dist/types/components/Label/Label.d.ts +0 -3
  634. package/dist/types/components/Label/_types.d.ts +0 -25
  635. package/dist/types/components/Label/index.d.ts +0 -3
  636. package/dist/types/components/Level/Level.d.ts +0 -5
  637. package/dist/types/components/Level/_types.d.ts +0 -21
  638. package/dist/types/components/Level/index.d.ts +0 -2
  639. package/dist/types/components/Modal/Modal.d.ts +0 -3
  640. package/dist/types/components/Modal/_types.d.ts +0 -49
  641. package/dist/types/components/Modal/index.d.ts +0 -2
  642. package/dist/types/hooks/useActiveTab/useActiveTab.test.d.ts +0 -1
  643. package/dist/types/hooks/useAudioRecorder/useAudioRecorder.test.d.ts +0 -1
  644. package/dist/types/hooks/useBindWebRTC/useBindWebRTC.test.d.ts +0 -1
  645. package/dist/types/hooks/useClipboard/useClipboard.test.d.ts +0 -1
  646. package/dist/types/hooks/useDoubleClick/useDoubleClick.test.d.ts +0 -1
  647. package/dist/types/hooks/useInfiniteScroll/useInfiniteScroll.test.d.ts +0 -1
  648. package/dist/types/hooks/useIntersecting/useIntersecting.test.d.ts +0 -1
  649. package/dist/types/hooks/useKeyboardShortcuts/useKeyboardShortcuts.test.d.ts +0 -1
  650. package/dist/types/hooks/useLastUpdated/useLastUpdated.test.d.ts +0 -1
  651. package/dist/types/hooks/useLocalStore/useLocalStore.test.d.ts +0 -1
  652. package/dist/types/hooks/useMdStreamBuffer/useMdStreamBuffer.test.d.ts +0 -1
  653. package/dist/types/hooks/useMicrophone/useMicrophone.test.d.ts +0 -1
  654. package/dist/types/hooks/useObserveTheme/useObserveTheme.test.d.ts +0 -1
  655. package/dist/types/hooks/useTheme/useTheme.test.d.ts +0 -1
  656. package/dist/types/hooks/useToolTip/useToolTip.test.d.ts +0 -1
  657. package/dist/types/hooks/useTrackRenders/useTrackRenders.test.d.ts +0 -1
  658. package/dist/types/hooks/useWindow/useWindow.test.d.ts +0 -1
  659. package/dist/types/providers/themeServer.test.d.ts +0 -1
  660. package/dist/types/stores/LocalDB/localDBStore.test.d.ts +0 -1
  661. package/dist/types/stores/SSE/sseStore.test.d.ts +0 -1
  662. package/dist/types/stores/WS/wsStore.test.d.ts +0 -1
  663. package/dist/types/stores/WebRTC/webRTCStore.test.d.ts +0 -1
  664. package/dist/types/stores/activeTab/activeTabStore.test.d.ts +0 -1
  665. package/dist/types/stores/browserChannel/browserChannelsStore.test.d.ts +0 -1
  666. package/dist/types/stores/microphone/microphoneStore.test.d.ts +0 -1
  667. package/dist/types/stores/modal/modalStore.test.d.ts +0 -1
  668. package/dist/types/stores/tip/tipStore.test.d.ts +0 -1
  669. package/dist/types/stores/toast/toastStore.test.d.ts +0 -1
  670. package/dist/types/stores/uploads/uploadsStore.test.d.ts +0 -1
  671. package/dist/types/stores/video/videoStore.test.d.ts +0 -1
  672. package/dist/types/stores/volume/volumeStore.test.d.ts +0 -1
  673. package/dist/types/stores/window/windowStore.test.d.ts +0 -1
  674. package/dist/types/utils/functions/colors.test.d.ts +0 -1
  675. package/dist/types/utils/functions/debounce.test.d.ts +0 -1
  676. package/dist/types/utils/functions/files.test.d.ts +0 -1
  677. package/dist/types/utils/functions/misc.test.d.ts +0 -1
  678. package/dist/types/utils/functions/rafThrottle.test.d.ts +0 -1
  679. package/dist/types/utils/objects/IndexedDB/IndexedDB.test.d.ts +0 -1
  680. package/dist/types/utils/objects/MDStreamBuffer/MdStreamBuffer.test.d.ts +0 -1
  681. package/dist/types/utils/objects/SSEConnection/SSEConnection.test.d.ts +0 -1
  682. package/dist/types/utils/objects/WSConnection/WSConnection.test.d.ts +0 -1
  683. package/dist/types/utils/objects/WebRTCConnection/WebRTCConnection.test.d.ts +0 -1
  684. package/dist/types/utils/objects/audioVisualizer/audioVisualizer.test.d.ts +0 -1
  685. package/dist/types/utils/objects/browserChannel/broadcastChannel.test.d.ts +0 -1
  686. package/dist/types/workers/uploads/uploads-worker.test.d.ts +0 -1
  687. /package/dist/cjs/chunks/{MdStreamBuffer-DiL2zm2P.js → MdStreamBuffer-B0KtaR_k.js} +0 -0
  688. /package/dist/cjs/chunks/{SSEConnection-CTxnFASS.js → SSEConnection-BXWkgT66.js} +0 -0
  689. /package/dist/cjs/chunks/{activeTabStore-C8afog5l.js → activeTabStore-D2gxAoK6.js} +0 -0
  690. /package/dist/cjs/chunks/{broadcastChannel-DLSijpj_.js → broadcastChannel-DdPZ3LUB.js} +0 -0
  691. /package/dist/cjs/chunks/{magic-string.es-DRDyITUv.js → magic-string.es-DsAR0Q7u.js} +0 -0
  692. /package/dist/cjs/chunks/{rafThrottle-DdNEpMIw.js → rafThrottle-BRdLzPo7.js} +0 -0
  693. /package/dist/cjs/chunks/{tipStore-BKFK6F3e.js → tipStore-DDHyGeyK.js} +0 -0
  694. /package/dist/cjs/chunks/{tslib.es6-B2uEaXWi.js → tslib.es6-B8JY5ZGw.js} +0 -0
  695. /package/dist/cjs/chunks/{videoStore-BYmE3fJZ.js → videoStore-B0l9iBw4.js} +0 -0
  696. /package/dist/esm/chunks/{MdStreamBuffer-D2Yh0SCY.mjs → MdStreamBuffer-CcO5IBxD.mjs} +0 -0
  697. /package/dist/esm/chunks/{SSEConnection-B3iPwyF_.mjs → SSEConnection-B5rVxalP.mjs} +0 -0
  698. /package/dist/esm/chunks/{activeTabStore-BsoH1tFV.mjs → activeTabStore-CCstpXAC.mjs} +0 -0
  699. /package/dist/esm/chunks/{broadcastChannel-DahousoM.mjs → broadcastChannel-CPT0S33H.mjs} +0 -0
  700. /package/dist/esm/chunks/{magic-string.es-DOKITkor.mjs → magic-string.es-CI4cCGRB.mjs} +0 -0
  701. /package/dist/esm/chunks/{rafThrottle-BX9f7-D1.mjs → rafThrottle-Dl8Z5sJ-.mjs} +0 -0
  702. /package/dist/esm/chunks/{tipStore-CF42G3w9.mjs → tipStore-CBvk303u.mjs} +0 -0
  703. /package/dist/esm/chunks/{tslib.es6-DatKI43-.mjs → tslib.es6-CpnJrDBv.mjs} +0 -0
  704. /package/dist/esm/chunks/{videoStore-CiDDAB4E.mjs → videoStore-Cd-Lewfy.mjs} +0 -0
@@ -1579,12 +1579,12 @@ function requireBuild() {
1579
1579
  }
1580
1580
  };
1581
1581
  /**
1582
- * Copyright (c) Meta Platforms, Inc. and affiliates.
1583
- *
1584
- * This source code is licensed under the MIT license found in the
1585
- * LICENSE file in the root directory of this source tree.
1586
- *
1587
- */
1582
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1583
+ *
1584
+ * This source code is licensed under the MIT license found in the
1585
+ * LICENSE file in the root directory of this source tree.
1586
+ *
1587
+ */
1588
1588
  const pkg = "diff-sequences", NOT_YET_SET = 0, countCommonItemsF = (aIndex, aEnd, bIndex, bEnd, isCommon) => {
1589
1589
  let nCommon = 0;
1590
1590
  for (;aIndex < aEnd && bIndex < bEnd && isCommon(aIndex, bIndex); ) aIndex += 1,
@@ -3625,9 +3625,9 @@ function createTest(fn) {
3625
3625
  return function(fn) {
3626
3626
  const taskFn = fn;
3627
3627
  /**
3628
- * Parse builder pattern arguments into a fixtures object.
3629
- * Handles both builder pattern (name, options?, value) and object syntax.
3630
- */
3628
+ * Parse builder pattern arguments into a fixtures object.
3629
+ * Handles both builder pattern (name, options?, value) and object syntax.
3630
+ */
3631
3631
  function parseBuilderFixtures(fixturesOrName, optionsOrFn, maybeFn) {
3632
3632
  if ("string" != typeof fixturesOrName) return fixturesOrName;
3633
3633
  const fixtureName = fixturesOrName;
@@ -4254,8 +4254,8 @@ function test$1(obj, args) {
4254
4254
  function type(obj) {
4255
4255
  if (void 0 === obj) return "undefined";
4256
4256
  if (null === obj) return "null";
4257
- const stringTag =
4258
- /** @type {Record<PropertyKey, unknown>} */ obj[Symbol.toStringTag];
4257
+ const stringTag = /** @type {Record<PropertyKey, unknown>} */
4258
+ obj[Symbol.toStringTag];
4259
4259
  if ("string" == typeof stringTag) return stringTag;
4260
4260
  return Object.prototype.toString.call(obj).slice(8, -1);
4261
4261
  }
@@ -4298,8 +4298,8 @@ __name(_AssertionError, "AssertionError");
4298
4298
  var AssertionError = _AssertionError;
4299
4299
 
4300
4300
  function expectTypes(obj, types) {
4301
- let flagMsg = flag(obj, "message"), ssfi =
4302
- /** @type {Function} */ flag(obj, "ssfi");
4301
+ let flagMsg = flag(obj, "message"), ssfi = /** @type {Function} */
4302
+ flag(obj, "ssfi");
4303
4303
  flagMsg = flagMsg ? flagMsg + ": " : "", obj = /** @type {object} */
4304
4304
  flag(obj, "object"), (types = types.map(function(t) {
4305
4305
  return t.toLowerCase();
@@ -4808,17 +4808,17 @@ function objDisplay(obj) {
4808
4808
  let str = inspect2(obj), type3 = Object.prototype.toString.call(obj);
4809
4809
  if (config.truncateThreshold && str.length >= config.truncateThreshold) {
4810
4810
  if ("[object Function]" === type3) {
4811
- const objAsFunction =
4812
- /** @type {Function} */ obj;
4811
+ const objAsFunction = /** @type {Function} */
4812
+ obj;
4813
4813
  return objAsFunction.name && "" !== objAsFunction.name ? "[Function: " + objAsFunction.name + "]" : "[Function]";
4814
4814
  }
4815
4815
  if ("[object Array]" === type3) {
4816
- return "[ Array(" +
4817
- /** @type {unknown[]} */ obj.length + ") ]";
4816
+ return "[ Array(" + /** @type {unknown[]} */
4817
+ obj.length + ") ]";
4818
4818
  }
4819
4819
  if ("[object Object]" === type3) {
4820
- const objAsObject =
4821
- /** @type {Record<PropertyKey, unknown>} */ obj;
4820
+ const objAsObject = /** @type {Record<PropertyKey, unknown>} */
4821
+ obj;
4822
4822
  let keys = Object.keys(objAsObject);
4823
4823
  return "{ Object (" + (keys.length > 2 ? keys.splice(0, 2).join(", ") + ", ..." : keys.join(", ")) + ") }";
4824
4824
  }
@@ -4830,17 +4830,17 @@ function objDisplay(obj) {
4830
4830
  function getMessage2(obj, args) {
4831
4831
  let negate = flag(obj, "negate"), val = flag(obj, "object"), expected = args[3], actual = getActual(obj, args), rawMsg = negate ? args[2] : args[1], flagMsg = flag(obj, "message");
4832
4832
  "function" == typeof rawMsg && (rawMsg = rawMsg());
4833
- const msg = (
4834
- /** @type {string} */ rawMsg || "").replace(/#\{(this|act|exp)\}/g, function(_, tag) {
4833
+ const msg = (/** @type {string} */
4834
+ rawMsg || "").replace(/#\{(this|act|exp)\}/g, function(_, tag) {
4835
4835
  return objDisplay("this" === tag ? val : "act" === tag ? actual : expected);
4836
4836
  });
4837
4837
  return flagMsg ? flagMsg + ": " + msg : msg;
4838
4838
  }
4839
4839
 
4840
4840
  function transferFlags(source, object, includeAll) {
4841
- const sourceWithFlags =
4842
- /** @type {{__flags?: Record<PropertyKey, unknown>}} */ source, objWithFlags =
4843
- /** @type {{__flags?: Record<PropertyKey, unknown>}} */ object;
4841
+ const sourceWithFlags = /** @type {{__flags?: Record<PropertyKey, unknown>}} */
4842
+ source, objWithFlags = /** @type {{__flags?: Record<PropertyKey, unknown>}} */
4843
+ object;
4844
4844
  let flags = sourceWithFlags.__flags || (sourceWithFlags.__flags = Object.create(null));
4845
4845
  const objFlags = objWithFlags.__flags || (objWithFlags.__flags = Object.create(null));
4846
4846
  includeAll = 3 !== arguments.length || includeAll;
@@ -5395,8 +5395,8 @@ function overwriteProperty(ctx, name, getter) {
5395
5395
  }
5396
5396
 
5397
5397
  function overwriteMethod(ctx, name, method) {
5398
- let _method =
5399
- /** @type {Record<PropertyKey, unknown>} */ ctx[name], _super = __name(function() {
5398
+ let _method = /** @type {Record<PropertyKey, unknown>} */
5399
+ ctx[name], _super = __name(function() {
5400
5400
  throw new Error(String(name) + " is not a function");
5401
5401
  }, "_super");
5402
5402
  function overwritingMethodWrapper() {
@@ -5436,8 +5436,8 @@ __name(_PluginAddChainableMethodEvent, "PluginAddChainableMethodEvent");
5436
5436
  var PluginAddChainableMethodEvent = _PluginAddChainableMethodEvent;
5437
5437
 
5438
5438
  function addChainableMethod(ctx, name, method, chainingBehavior) {
5439
- const ctxChainable =
5440
- /** @type {T & {__methods: Record<PropertyKey, ChainableBehavior>}} */ ctx;
5439
+ const ctxChainable = /** @type {T & {__methods: Record<PropertyKey, ChainableBehavior>}} */
5440
+ ctx;
5441
5441
  "function" != typeof chainingBehavior && (chainingBehavior = __name(function() {}, "chainingBehavior"));
5442
5442
  let chainableBehavior = {
5443
5443
  method: method,
@@ -5448,8 +5448,8 @@ function addChainableMethod(ctx, name, method, chainingBehavior) {
5448
5448
  get: __name(function() {
5449
5449
  function chainableMethodWrapper(...args) {
5450
5450
  flag(this, "lockSsfi") || flag(this, "ssfi", chainableMethodWrapper);
5451
- let result =
5452
- /** @type {(...args: unknown[]) => unknown} */ chainableBehavior.method.apply(this, args);
5451
+ let result = /** @type {(...args: unknown[]) => unknown} */
5452
+ chainableBehavior.method.apply(this, args);
5453
5453
  if (void 0 !== result) return result;
5454
5454
  let newAssertion = new Assertion;
5455
5455
  return transferFlags(this, newAssertion), newAssertion;
@@ -5472,12 +5472,13 @@ function addChainableMethod(ctx, name, method, chainingBehavior) {
5472
5472
  }
5473
5473
 
5474
5474
  function overwriteChainableMethod(ctx, name, method, chainingBehavior) {
5475
- let chainableBehavior =
5476
- /** @type {{__methods: Record<PropertyKey, ChainableBehavior>}} */ ctx.__methods[name], _chainingBehavior = chainableBehavior.chainingBehavior;
5475
+ let chainableBehavior = /** @type {{__methods: Record<PropertyKey, ChainableBehavior>}} */
5476
+ ctx.__methods[name], _chainingBehavior = chainableBehavior.chainingBehavior;
5477
5477
  chainableBehavior.chainingBehavior =
5478
5478
  /**
5479
- * @this {T}
5480
- */ __name(function() {
5479
+ * @this {T}
5480
+ */
5481
+ __name(function() {
5481
5482
  let result = chainingBehavior(_chainingBehavior).call(this);
5482
5483
  if (void 0 !== result) return result;
5483
5484
  let newAssertion = new Assertion;
@@ -5929,17 +5930,15 @@ function oneOf(list, msg) {
5929
5930
 
5930
5931
  function assertChanges(subject, prop, msg) {
5931
5932
  msg && flag2(this, "message", msg);
5932
- const fn =
5933
- /** @type {() => void} */ flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
5933
+ const fn = /** @type {() => void} */
5934
+ flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
5934
5935
  let initial;
5935
5936
  new Assertion(fn, flagMsg, ssfi, !0).is.a("function"), null == prop ? (new Assertion(subject, flagMsg, ssfi, !0).is.a("function"),
5936
5937
  initial = /** @type {() => unknown} */
5937
5938
  subject()) : (new Assertion(subject, flagMsg, ssfi, !0).to.have.property(prop),
5938
5939
  initial = /** @type {Record<PropertyKey, unknown>} */
5939
5940
  subject[prop]), fn();
5940
- let final = null == prop ?
5941
- /** @type {() => unknown} */ subject() :
5942
- /** @type {Record<PropertyKey, unknown>} */ subject[prop], msgObj = null == prop ? initial : "." + prop;
5941
+ let final = null == prop ? /** @type {() => unknown} */ subject() : /** @type {Record<PropertyKey, unknown>} */ subject[prop], msgObj = null == prop ? initial : "." + prop;
5943
5942
  flag2(this, "deltaMsgObj", msgObj), flag2(this, "initialDeltaValue", initial), flag2(this, "finalDeltaValue", final),
5944
5943
  flag2(this, "deltaBehavior", "change"), flag2(this, "realDelta", final !== initial),
5945
5944
  this.assert(initial !== final, "expected " + msgObj + " to change", "expected " + msgObj + " to not change");
@@ -5947,17 +5946,15 @@ function assertChanges(subject, prop, msg) {
5947
5946
 
5948
5947
  function assertIncreases(subject, prop, msg) {
5949
5948
  msg && flag2(this, "message", msg);
5950
- const fn =
5951
- /** @type {() => void} */ flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
5949
+ const fn = /** @type {() => void} */
5950
+ flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
5952
5951
  let initial;
5953
5952
  new Assertion(fn, flagMsg, ssfi, !0).is.a("function"), null == prop ? (new Assertion(subject, flagMsg, ssfi, !0).is.a("function"),
5954
5953
  initial = /** @type {() => number} */
5955
5954
  subject()) : (new Assertion(subject, flagMsg, ssfi, !0).to.have.property(prop),
5956
5955
  initial = /** @type {Record<PropertyKey, number>} */
5957
5956
  subject[prop]), new Assertion(initial, flagMsg, ssfi, !0).is.a("number"), fn();
5958
- let final = null == prop ?
5959
- /** @type {() => number} */ subject() :
5960
- /** @type {Record<PropertyKey, number>} */ subject[prop], msgObj = null == prop ? initial : "." + prop;
5957
+ let final = null == prop ? /** @type {() => number} */ subject() : /** @type {Record<PropertyKey, number>} */ subject[prop], msgObj = null == prop ? initial : "." + prop;
5961
5958
  flag2(this, "deltaMsgObj", msgObj), flag2(this, "initialDeltaValue", initial), flag2(this, "finalDeltaValue", final),
5962
5959
  flag2(this, "deltaBehavior", "increase"), flag2(this, "realDelta", final - initial),
5963
5960
  this.assert(final - initial > 0, "expected " + msgObj + " to increase", "expected " + msgObj + " to not increase");
@@ -5965,17 +5962,15 @@ function assertIncreases(subject, prop, msg) {
5965
5962
 
5966
5963
  function assertDecreases(subject, prop, msg) {
5967
5964
  msg && flag2(this, "message", msg);
5968
- const fn =
5969
- /** @type {() => void} */ flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
5965
+ const fn = /** @type {() => void} */
5966
+ flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
5970
5967
  let initial;
5971
5968
  new Assertion(fn, flagMsg, ssfi, !0).is.a("function"), null == prop ? (new Assertion(subject, flagMsg, ssfi, !0).is.a("function"),
5972
5969
  initial = /** @type {() => number} */
5973
5970
  subject()) : (new Assertion(subject, flagMsg, ssfi, !0).to.have.property(prop),
5974
5971
  initial = /** @type {Record<PropertyKey, number>} */
5975
5972
  subject[prop]), new Assertion(initial, flagMsg, ssfi, !0).is.a("number"), fn();
5976
- let final = null == prop ?
5977
- /** @type {() => number} */ subject() :
5978
- /** @type {Record<PropertyKey, number>} */ subject[prop], msgObj = null == prop ? initial : "." + prop;
5973
+ let final = null == prop ? /** @type {() => number} */ subject() : /** @type {Record<PropertyKey, number>} */ subject[prop], msgObj = null == prop ? initial : "." + prop;
5979
5974
  flag2(this, "deltaMsgObj", msgObj), flag2(this, "initialDeltaValue", initial), flag2(this, "finalDeltaValue", final),
5980
5975
  flag2(this, "deltaBehavior", "decrease"), flag2(this, "realDelta", initial - final),
5981
5976
  this.assert(final - initial < 0, "expected " + msgObj + " to decrease", "expected " + msgObj + " to not decrease");
@@ -7816,7 +7811,7 @@ class SnapshotState {
7816
7811
  }(this._environment, this._snapshotData, this.snapshotPath), this._fileExists = !0),
7817
7812
  hasInlineSnapshots && await async function(environment, snapshots) {
7818
7813
  const MagicString = (await Promise.resolve().then(function() {
7819
- return require("../chunks/magic-string.es-DRDyITUv.js");
7814
+ return require("../chunks/magic-string.es-DsAR0Q7u.js");
7820
7815
  })).default, files = new Set(snapshots.map(i => i.file));
7821
7816
  await Promise.all(Array.from(files).map(async file => {
7822
7817
  const snaps = snapshots.filter(i => i.file === file), code = await environment.readSnapshotFile(file);
@@ -8158,13 +8153,13 @@ function requireCopyPrototypeMethods() {
8158
8153
  var call = Function.call, throwsOnProto = function() {
8159
8154
  if (hasRequiredThrowsOnProto) return throwsOnProto_1;
8160
8155
  /**
8161
- * Is true when the environment causes an error to be thrown for accessing the
8162
- * __proto__ property.
8163
- * This is necessary in order to support `node --disable-proto=throw`.
8164
- *
8165
- * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto
8166
- * @type {boolean}
8167
- */
8156
+ * Is true when the environment causes an error to be thrown for accessing the
8157
+ * __proto__ property.
8158
+ * This is necessary in order to support `node --disable-proto=throw`.
8159
+ *
8160
+ * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto
8161
+ * @type {boolean}
8162
+ */
8168
8163
  let throwsOnProto;
8169
8164
  hasRequiredThrowsOnProto = 1;
8170
8165
  try {
@@ -8194,11 +8189,11 @@ function requireCalledInOrder() {
8194
8189
  hasRequiredCalledInOrder = 1;
8195
8190
  var every = requireArray().every;
8196
8191
  /**
8197
- * @private
8198
- */
8192
+ * @private
8193
+ */
8199
8194
  /**
8200
- * @private
8201
- */
8195
+ * @private
8196
+ */
8202
8197
  function checkAdjacentCalls(callMap, spy, index, spies) {
8203
8198
  var calledBeforeNext = !0;
8204
8199
  return index !== spies.length - 1 && (calledBeforeNext = spy.calledBefore(spies[index + 1])),
@@ -8207,17 +8202,17 @@ function requireCalledInOrder() {
8207
8202
  }(callMap, spy) || !calledBeforeNext) && (callMap[spy.id] += 1, !0);
8208
8203
  }
8209
8204
  /**
8210
- * A Sinon proxy object (fake, spy, stub)
8211
- * @typedef {object} SinonProxy
8212
- * @property {Function} calledBefore - A method that determines if this proxy was called before another one
8213
- * @property {string} id - Some id
8214
- * @property {number} callCount - Number of times this proxy has been called
8215
- */
8205
+ * A Sinon proxy object (fake, spy, stub)
8206
+ * @typedef {object} SinonProxy
8207
+ * @property {Function} calledBefore - A method that determines if this proxy was called before another one
8208
+ * @property {string} id - Some id
8209
+ * @property {number} callCount - Number of times this proxy has been called
8210
+ */
8216
8211
  /**
8217
- * Returns true when the spies have been called in the order they were supplied in
8218
- * @param {SinonProxy[] | SinonProxy} spies An array of proxies, or several proxies as arguments
8219
- * @returns {boolean} true when spies are called in order, false otherwise
8220
- */ return calledInOrder_1 = function(spies) {
8212
+ * Returns true when the spies have been called in the order they were supplied in
8213
+ * @param {SinonProxy[] | SinonProxy} spies An array of proxies, or several proxies as arguments
8214
+ * @returns {boolean} true when spies are called in order, false otherwise
8215
+ */ return calledInOrder_1 = function(spies) {
8221
8216
  return every(arguments.length > 1 ? arguments : spies, checkAdjacentCalls.bind(null, {}));
8222
8217
  }, calledInOrder_1;
8223
8218
  }
@@ -8226,10 +8221,10 @@ function requireClassName() {
8226
8221
  if (hasRequiredClassName) return className_1;
8227
8222
  return hasRequiredClassName = 1, className_1 =
8228
8223
  /**
8229
- * Returns a display name for a value from a constructor
8230
- * @param {object} value A value to examine
8231
- * @returns {(string|null)} A string or null
8232
- */
8224
+ * Returns a display name for a value from a constructor
8225
+ * @param {object} value A value to examine
8226
+ * @returns {(string|null)} A string or null
8227
+ */
8233
8228
  function(value) {
8234
8229
  return value.constructor && value.constructor.name || null;
8235
8230
  };
@@ -8242,22 +8237,22 @@ function requireOrderByFirstCall() {
8242
8237
  hasRequiredOrderByFirstCall = 1;
8243
8238
  var sort = requireArray().sort, slice = requireArray().slice;
8244
8239
  /**
8245
- * @private
8246
- */
8240
+ * @private
8241
+ */
8247
8242
  function comparator(a, b) {
8248
8243
  var aCall = a.getCall(0), bCall = b.getCall(0);
8249
8244
  return (aCall && aCall.callId || -1) < (bCall && bCall.callId || -1) ? -1 : 1;
8250
8245
  }
8251
8246
  /**
8252
- * A Sinon proxy object (fake, spy, stub)
8253
- * @typedef {object} SinonProxy
8254
- * @property {Function} getCall - A method that can return the first call
8255
- */
8247
+ * A Sinon proxy object (fake, spy, stub)
8248
+ * @typedef {object} SinonProxy
8249
+ * @property {Function} getCall - A method that can return the first call
8250
+ */
8256
8251
  /**
8257
- * Sorts an array of SinonProxy instances (fake, spy, stub) by their first call
8258
- * @param {SinonProxy[] | SinonProxy} spies
8259
- * @returns {SinonProxy[]}
8260
- */ return orderByFirstCall_1 = function(spies) {
8252
+ * Sorts an array of SinonProxy instances (fake, spy, stub) by their first call
8253
+ * @param {SinonProxy[] | SinonProxy} spies
8254
+ * @returns {SinonProxy[]}
8255
+ */ return orderByFirstCall_1 = function(spies) {
8261
8256
  return sort(slice(spies), comparator);
8262
8257
  };
8263
8258
  }
@@ -8305,15 +8300,15 @@ function requireTypeDetect() {
8305
8300
  return hasRequiredTypeDetect || (hasRequiredTypeDetect = 1, typeDetect$1.exports = function() {
8306
8301
  var promiseExists = "function" == typeof Promise, globalObject = "object" == typeof self ? self : commonjsGlobal, symbolExists = "undefined" != typeof Symbol, mapExists = "undefined" != typeof Map, setExists = "undefined" != typeof Set, weakMapExists = "undefined" != typeof WeakMap, weakSetExists = "undefined" != typeof WeakSet, dataViewExists = "undefined" != typeof DataView, symbolIteratorExists = symbolExists && void 0 !== Symbol.iterator, symbolToStringTagExists = symbolExists && void 0 !== Symbol.toStringTag, setEntriesExists = setExists && "function" == typeof Set.prototype.entries, mapEntriesExists = mapExists && "function" == typeof Map.prototype.entries, setIteratorPrototype = setEntriesExists && Object.getPrototypeOf((new Set).entries()), mapIteratorPrototype = mapEntriesExists && Object.getPrototypeOf((new Map).entries()), arrayIteratorExists = symbolIteratorExists && "function" == typeof Array.prototype[Symbol.iterator], arrayIteratorPrototype = arrayIteratorExists && Object.getPrototypeOf([][Symbol.iterator]()), stringIteratorExists = symbolIteratorExists && "function" == typeof String.prototype[Symbol.iterator], stringIteratorPrototype = stringIteratorExists && Object.getPrototypeOf(""[Symbol.iterator]()), toStringLeftSliceLength = 8, toStringRightSliceLength = -1;
8307
8302
  /**
8308
- * ### typeOf (obj)
8309
- *
8310
- * Uses `Object.prototype.toString` to determine the type of an object,
8311
- * normalising behaviour across engine versions & well optimised.
8312
- *
8313
- * @param {Mixed} object
8314
- * @return {String} object type
8315
- * @api public
8316
- */
8303
+ * ### typeOf (obj)
8304
+ *
8305
+ * Uses `Object.prototype.toString` to determine the type of an object,
8306
+ * normalising behaviour across engine versions & well optimised.
8307
+ *
8308
+ * @param {Mixed} object
8309
+ * @return {String} object type
8310
+ * @api public
8311
+ */
8317
8312
  function typeDetect(obj) {
8318
8313
  var typeofObj = typeof obj;
8319
8314
  if ("object" !== typeofObj) return typeofObj;
@@ -8347,10 +8342,10 @@ function requireTypeOf() {
8347
8342
  hasRequiredTypeOf = 1;
8348
8343
  var type = requireTypeDetect();
8349
8344
  /**
8350
- * Returns the lower-case result of running type from type-detect on the value
8351
- * @param {*} value
8352
- * @returns {string}
8353
- */ return typeOf = function(value) {
8345
+ * Returns the lower-case result of running type from type-detect on the value
8346
+ * @param {*} value
8347
+ * @returns {string}
8348
+ */ return typeOf = function(value) {
8354
8349
  return type(value).toLowerCase();
8355
8350
  };
8356
8351
  }
@@ -8359,10 +8354,10 @@ function requireValueToString() {
8359
8354
  if (hasRequiredValueToString) return valueToString_1;
8360
8355
  return hasRequiredValueToString = 1, valueToString_1 =
8361
8356
  /**
8362
- * Returns a string representation of the value
8363
- * @param {*} value
8364
- * @returns {string}
8365
- */
8357
+ * Returns a string representation of the value
8358
+ * @param {*} value
8359
+ * @returns {string}
8360
+ */
8366
8361
  function(value) {
8367
8362
  return value && value.toString ? value.toString() : String(value);
8368
8363
  };
@@ -8379,12 +8374,12 @@ var fakeTimersSrcExports = function() {
8379
8374
  className: requireClassName(),
8380
8375
  deprecated: (hasRequiredDeprecated || (hasRequiredDeprecated = 1,
8381
8376
  /**
8382
- * Returns a function that will invoke the supplied function and print a
8383
- * deprecation warning to the console each time it is called.
8384
- * @param {Function} func
8385
- * @param {string} msg
8386
- * @returns {Function}
8387
- */
8377
+ * Returns a function that will invoke the supplied function and print a
8378
+ * deprecation warning to the console each time it is called.
8379
+ * @param {Function} func
8380
+ * @param {string} msg
8381
+ * @returns {Function}
8382
+ */
8388
8383
  (exports$1 = deprecated).wrap = function(func, msg) {
8389
8384
  var wrapped = function() {
8390
8385
  return exports$1.printWarning(msg), func.apply(this, arguments);
@@ -8392,31 +8387,31 @@ var fakeTimersSrcExports = function() {
8392
8387
  return func.prototype && (wrapped.prototype = func.prototype), wrapped;
8393
8388
  },
8394
8389
  /**
8395
- * Returns a string which can be supplied to `wrap()` to notify the user that a
8396
- * particular part of the sinon API has been deprecated.
8397
- * @param {string} packageName
8398
- * @param {string} funcName
8399
- * @returns {string}
8400
- */
8390
+ * Returns a string which can be supplied to `wrap()` to notify the user that a
8391
+ * particular part of the sinon API has been deprecated.
8392
+ * @param {string} packageName
8393
+ * @param {string} funcName
8394
+ * @returns {string}
8395
+ */
8401
8396
  exports$1.defaultMsg = function(packageName, funcName) {
8402
8397
  return `${packageName}.${funcName} is deprecated and will be removed from the public API in a future version of ${packageName}.`;
8403
8398
  },
8404
8399
  /**
8405
- * Prints a warning on the console, when it exists
8406
- * @param {string} msg
8407
- * @returns {undefined}
8408
- */
8400
+ * Prints a warning on the console, when it exists
8401
+ * @param {string} msg
8402
+ * @returns {undefined}
8403
+ */
8409
8404
  exports$1.printWarning = function(msg) {
8410
8405
  "object" == typeof process && process.emitWarning ? process.emitWarning(msg) : console.info && console.info(msg);
8411
8406
  }), deprecated),
8412
8407
  every: (hasRequiredEvery || (hasRequiredEvery = 1,
8413
8408
  /**
8414
- * Returns true when fn returns true for all members of obj.
8415
- * This is an every implementation that works for all iterables
8416
- * @param {object} obj
8417
- * @param {Function} fn
8418
- * @returns {boolean}
8419
- */
8409
+ * Returns true when fn returns true for all members of obj.
8410
+ * This is an every implementation that works for all iterables
8411
+ * @param {object} obj
8412
+ * @param {Function} fn
8413
+ * @returns {boolean}
8414
+ */
8420
8415
  every = function(obj, fn) {
8421
8416
  var pass = !0;
8422
8417
  try {
@@ -8430,10 +8425,10 @@ var fakeTimersSrcExports = function() {
8430
8425
  }), every),
8431
8426
  functionName: hasRequiredFunctionName ? functionName : (hasRequiredFunctionName = 1,
8432
8427
  /**
8433
- * Returns a display name for a function
8434
- * @param {Function} func
8435
- * @returns {string}
8436
- */
8428
+ * Returns a display name for a function
8429
+ * @param {Function} func
8430
+ * @returns {string}
8431
+ */
8437
8432
  functionName = function(func) {
8438
8433
  if (!func) return "";
8439
8434
  try {
@@ -8466,138 +8461,138 @@ var fakeTimersSrcExports = function() {
8466
8461
  } catch (e) {}
8467
8462
  }
8468
8463
  /**
8469
- * @typedef {"nextAsync" | "manual" | "interval"} TickMode
8470
- */
8464
+ * @typedef {"nextAsync" | "manual" | "interval"} TickMode
8465
+ */
8471
8466
  /**
8472
- * @typedef {object} NextAsyncTickMode
8473
- * @property {"nextAsync"} mode
8474
- */
8467
+ * @typedef {object} NextAsyncTickMode
8468
+ * @property {"nextAsync"} mode
8469
+ */
8475
8470
  /**
8476
- * @typedef {object} ManualTickMode
8477
- * @property {"manual"} mode
8478
- */
8471
+ * @typedef {object} ManualTickMode
8472
+ * @property {"manual"} mode
8473
+ */
8479
8474
  /**
8480
- * @typedef {object} IntervalTickMode
8481
- * @property {"interval"} mode
8482
- * @property {number} [delta]
8483
- */
8475
+ * @typedef {object} IntervalTickMode
8476
+ * @property {"interval"} mode
8477
+ * @property {number} [delta]
8478
+ */
8484
8479
  /**
8485
- * @typedef {IntervalTickMode | NextAsyncTickMode | ManualTickMode} TimerTickMode
8486
- */
8480
+ * @typedef {IntervalTickMode | NextAsyncTickMode | ManualTickMode} TimerTickMode
8481
+ */
8487
8482
  /**
8488
- * @typedef {object} IdleDeadline
8489
- * @property {boolean} didTimeout - whether or not the callback was called before reaching the optional timeout
8490
- * @property {function():number} timeRemaining - a floating-point value providing an estimate of the number of milliseconds remaining in the current idle period
8491
- */
8483
+ * @typedef {object} IdleDeadline
8484
+ * @property {boolean} didTimeout - whether or not the callback was called before reaching the optional timeout
8485
+ * @property {function():number} timeRemaining - a floating-point value providing an estimate of the number of milliseconds remaining in the current idle period
8486
+ */
8492
8487
  /**
8493
- * Queues a function to be called during a browser's idle periods
8494
- * @callback RequestIdleCallback
8495
- * @param {function(IdleDeadline)} callback
8496
- * @param {{timeout: number}} options - an options object
8497
- * @returns {number} the id
8498
- */
8488
+ * Queues a function to be called during a browser's idle periods
8489
+ * @callback RequestIdleCallback
8490
+ * @param {function(IdleDeadline)} callback
8491
+ * @param {{timeout: number}} options - an options object
8492
+ * @returns {number} the id
8493
+ */
8499
8494
  /**
8500
- * @callback NextTick
8501
- * @param {VoidVarArgsFunc} callback - the callback to run
8502
- * @param {...*} args - optional arguments to call the callback with
8503
- * @returns {void}
8504
- */
8495
+ * @callback NextTick
8496
+ * @param {VoidVarArgsFunc} callback - the callback to run
8497
+ * @param {...*} args - optional arguments to call the callback with
8498
+ * @returns {void}
8499
+ */
8505
8500
  /**
8506
- * @callback SetImmediate
8507
- * @param {VoidVarArgsFunc} callback - the callback to run
8508
- * @param {...*} args - optional arguments to call the callback with
8509
- * @returns {NodeImmediate}
8510
- */
8501
+ * @callback SetImmediate
8502
+ * @param {VoidVarArgsFunc} callback - the callback to run
8503
+ * @param {...*} args - optional arguments to call the callback with
8504
+ * @returns {NodeImmediate}
8505
+ */
8511
8506
  /**
8512
- * @callback VoidVarArgsFunc
8513
- * @param {...*} callback - the callback to run
8514
- * @returns {void}
8515
- */
8507
+ * @callback VoidVarArgsFunc
8508
+ * @param {...*} callback - the callback to run
8509
+ * @returns {void}
8510
+ */
8516
8511
  /**
8517
- * @typedef RequestAnimationFrame
8518
- * @property {function(number):void} requestAnimationFrame
8519
- * @returns {number} - the id
8520
- */
8512
+ * @typedef RequestAnimationFrame
8513
+ * @property {function(number):void} requestAnimationFrame
8514
+ * @returns {number} - the id
8515
+ */
8521
8516
  /**
8522
- * @typedef Performance
8523
- * @property {function(): number} now
8524
- */
8517
+ * @typedef Performance
8518
+ * @property {function(): number} now
8519
+ */
8525
8520
  /**
8526
- * @typedef {object} Clock
8527
- * @property {number} now - the current time
8528
- * @property {Date} Date - the Date constructor
8529
- * @property {number} loopLimit - the maximum number of timers before assuming an infinite loop
8530
- * @property {RequestIdleCallback} requestIdleCallback
8531
- * @property {function(number):void} cancelIdleCallback
8532
- * @property {setTimeout} setTimeout
8533
- * @property {clearTimeout} clearTimeout
8534
- * @property {NextTick} nextTick
8535
- * @property {queueMicrotask} queueMicrotask
8536
- * @property {setInterval} setInterval
8537
- * @property {clearInterval} clearInterval
8538
- * @property {SetImmediate} setImmediate
8539
- * @property {function(NodeImmediate):void} clearImmediate
8540
- * @property {function():number} countTimers
8541
- * @property {RequestAnimationFrame} requestAnimationFrame
8542
- * @property {function(number):void} cancelAnimationFrame
8543
- * @property {function():void} runMicrotasks
8544
- * @property {function(string | number): number} tick
8545
- * @property {function(string | number): Promise<number>} tickAsync
8546
- * @property {function(): number} next
8547
- * @property {function(): Promise<number>} nextAsync
8548
- * @property {function(): number} runAll
8549
- * @property {function(): number} runToFrame
8550
- * @property {function(): Promise<number>} runAllAsync
8551
- * @property {function(): number} runToLast
8552
- * @property {function(): Promise<number>} runToLastAsync
8553
- * @property {function(): void} reset
8554
- * @property {function(number | Date): void} setSystemTime
8555
- * @property {function(number): void} jump
8556
- * @property {Performance} performance
8557
- * @property {function(number[]): number[]} hrtime - process.hrtime (legacy)
8558
- * @property {function(): void} uninstall Uninstall the clock.
8559
- * @property {Function[]} methods - the methods that are faked
8560
- * @property {boolean} [shouldClearNativeTimers] inherited from config
8561
- * @property {{methodName:string, original:any}[] | undefined} timersModuleMethods
8562
- * @property {{methodName:string, original:any}[] | undefined} timersPromisesModuleMethods
8563
- * @property {Map<function(): void, AbortSignal>} abortListenerMap
8564
- * @property {function(TimerTickMode): void} setTickMode
8565
- */
8521
+ * @typedef {object} Clock
8522
+ * @property {number} now - the current time
8523
+ * @property {Date} Date - the Date constructor
8524
+ * @property {number} loopLimit - the maximum number of timers before assuming an infinite loop
8525
+ * @property {RequestIdleCallback} requestIdleCallback
8526
+ * @property {function(number):void} cancelIdleCallback
8527
+ * @property {setTimeout} setTimeout
8528
+ * @property {clearTimeout} clearTimeout
8529
+ * @property {NextTick} nextTick
8530
+ * @property {queueMicrotask} queueMicrotask
8531
+ * @property {setInterval} setInterval
8532
+ * @property {clearInterval} clearInterval
8533
+ * @property {SetImmediate} setImmediate
8534
+ * @property {function(NodeImmediate):void} clearImmediate
8535
+ * @property {function():number} countTimers
8536
+ * @property {RequestAnimationFrame} requestAnimationFrame
8537
+ * @property {function(number):void} cancelAnimationFrame
8538
+ * @property {function():void} runMicrotasks
8539
+ * @property {function(string | number): number} tick
8540
+ * @property {function(string | number): Promise<number>} tickAsync
8541
+ * @property {function(): number} next
8542
+ * @property {function(): Promise<number>} nextAsync
8543
+ * @property {function(): number} runAll
8544
+ * @property {function(): number} runToFrame
8545
+ * @property {function(): Promise<number>} runAllAsync
8546
+ * @property {function(): number} runToLast
8547
+ * @property {function(): Promise<number>} runToLastAsync
8548
+ * @property {function(): void} reset
8549
+ * @property {function(number | Date): void} setSystemTime
8550
+ * @property {function(number): void} jump
8551
+ * @property {Performance} performance
8552
+ * @property {function(number[]): number[]} hrtime - process.hrtime (legacy)
8553
+ * @property {function(): void} uninstall Uninstall the clock.
8554
+ * @property {Function[]} methods - the methods that are faked
8555
+ * @property {boolean} [shouldClearNativeTimers] inherited from config
8556
+ * @property {{methodName:string, original:any}[] | undefined} timersModuleMethods
8557
+ * @property {{methodName:string, original:any}[] | undefined} timersPromisesModuleMethods
8558
+ * @property {Map<function(): void, AbortSignal>} abortListenerMap
8559
+ * @property {function(TimerTickMode): void} setTickMode
8560
+ */
8566
8561
  /**
8567
- * Configuration object for the `install` method.
8568
- * @typedef {object} Config
8569
- * @property {number|Date} [now] a number (in milliseconds) or a Date object (default epoch)
8570
- * @property {string[]} [toFake] names of the methods that should be faked.
8571
- * @property {number} [loopLimit] the maximum number of timers that will be run when calling runAll()
8572
- * @property {boolean} [shouldAdvanceTime] tells FakeTimers to increment mocked time automatically (default false)
8573
- * @property {number} [advanceTimeDelta] increment mocked time every <<advanceTimeDelta>> ms (default: 20ms)
8574
- * @property {boolean} [shouldClearNativeTimers] forwards clear timer calls to native functions if they are not fakes (default: false)
8575
- * @property {boolean} [ignoreMissingTimers] default is false, meaning asking to fake timers that are not present will throw an error
8576
- */
8562
+ * Configuration object for the `install` method.
8563
+ * @typedef {object} Config
8564
+ * @property {number|Date} [now] a number (in milliseconds) or a Date object (default epoch)
8565
+ * @property {string[]} [toFake] names of the methods that should be faked.
8566
+ * @property {number} [loopLimit] the maximum number of timers that will be run when calling runAll()
8567
+ * @property {boolean} [shouldAdvanceTime] tells FakeTimers to increment mocked time automatically (default false)
8568
+ * @property {number} [advanceTimeDelta] increment mocked time every <<advanceTimeDelta>> ms (default: 20ms)
8569
+ * @property {boolean} [shouldClearNativeTimers] forwards clear timer calls to native functions if they are not fakes (default: false)
8570
+ * @property {boolean} [ignoreMissingTimers] default is false, meaning asking to fake timers that are not present will throw an error
8571
+ */
8577
8572
  /**
8578
- * The internal structure to describe a scheduled fake timer
8579
- * @typedef {object} Timer
8580
- * @property {Function} func
8581
- * @property {*[]} args
8582
- * @property {number} delay
8583
- * @property {number} callAt
8584
- * @property {number} createdAt
8585
- * @property {boolean} immediate
8586
- * @property {number} id
8587
- * @property {Error} [error]
8588
- */
8573
+ * The internal structure to describe a scheduled fake timer
8574
+ * @typedef {object} Timer
8575
+ * @property {Function} func
8576
+ * @property {*[]} args
8577
+ * @property {number} delay
8578
+ * @property {number} callAt
8579
+ * @property {number} createdAt
8580
+ * @property {boolean} immediate
8581
+ * @property {number} id
8582
+ * @property {Error} [error]
8583
+ */
8589
8584
  /**
8590
- * A Node timer
8591
- * @typedef {object} NodeImmediate
8592
- * @property {function(): boolean} hasRef
8593
- * @property {function(): NodeImmediate} ref
8594
- * @property {function(): NodeImmediate} unref
8595
- */
8585
+ * A Node timer
8586
+ * @typedef {object} NodeImmediate
8587
+ * @property {function(): boolean} hasRef
8588
+ * @property {function(): NodeImmediate} ref
8589
+ * @property {function(): NodeImmediate} unref
8590
+ */
8596
8591
  /**
8597
- * Mocks available features in the specified global namespace.
8598
- * @param {*} _global Namespace to mock (e.g. `window`)
8599
- * @returns {FakeTimers}
8600
- */ function withGlobal(_global) {
8592
+ * Mocks available features in the specified global namespace.
8593
+ * @param {*} _global Namespace to mock (e.g. `window`)
8594
+ * @returns {FakeTimers}
8595
+ */ function withGlobal(_global) {
8601
8596
  const maxTimeout = Math.pow(2, 31) - 1, NOOP = function() {}, NOOP_ARRAY = function() {
8602
8597
  return [];
8603
8598
  }, isPresent = {};
@@ -8623,11 +8618,11 @@ var fakeTimersSrcExports = function() {
8623
8618
  if (void 0 === NativeDate) throw new Error("The global scope doesn't have a `Date` object (see https://github.com/sinonjs/sinon/issues/1852#issuecomment-419622780)");
8624
8619
  isPresent.Date = !0;
8625
8620
  /**
8626
- * The PerformanceEntry object encapsulates a single performance metric
8627
- * that is part of the browser's performance timeline.
8628
- *
8629
- * This is an object returned by the `mark` and `measure` methods on the Performance prototype
8630
- */
8621
+ * The PerformanceEntry object encapsulates a single performance metric
8622
+ * that is part of the browser's performance timeline.
8623
+ *
8624
+ * This is an object returned by the `mark` and `measure` methods on the Performance prototype
8625
+ */
8631
8626
  class FakePerformanceEntry {
8632
8627
  constructor(name, entryType, startTime, duration) {
8633
8628
  this.name = name, this.entryType = entryType, this.startTime = startTime, this.duration = duration;
@@ -8639,27 +8634,27 @@ var fakeTimersSrcExports = function() {
8639
8634
  }
8640
8635
  }
8641
8636
  /**
8642
- * @param {number} num
8643
- * @returns {boolean}
8644
- */ let isNearInfiniteLimit = !1;
8637
+ * @param {number} num
8638
+ * @returns {boolean}
8639
+ */ let isNearInfiniteLimit = !1;
8645
8640
  /**
8646
- * @param {Clock} clock
8647
- * @param {number} i
8648
- */ function checkIsNearInfiniteLimit(clock, i) {
8641
+ * @param {Clock} clock
8642
+ * @param {number} i
8643
+ */ function checkIsNearInfiniteLimit(clock, i) {
8649
8644
  clock.loopLimit && i === clock.loopLimit - 1 && (isNearInfiniteLimit = !0);
8650
8645
  }
8651
8646
  /**
8652
- *
8653
- */ function resetIsNearInfiniteLimit() {
8647
+ *
8648
+ */ function resetIsNearInfiniteLimit() {
8654
8649
  isNearInfiniteLimit = !1;
8655
8650
  }
8656
8651
  /**
8657
- * Parse strings like "01:10:00" (meaning 1 hour, 10 minutes, 0 seconds) into
8658
- * number of milliseconds. This is used to support human-readable strings passed
8659
- * to clock.tick()
8660
- * @param {string} str
8661
- * @returns {number}
8662
- */ function parseTime(str) {
8652
+ * Parse strings like "01:10:00" (meaning 1 hour, 10 minutes, 0 seconds) into
8653
+ * number of milliseconds. This is used to support human-readable strings passed
8654
+ * to clock.tick()
8655
+ * @param {string} str
8656
+ * @returns {number}
8657
+ */ function parseTime(str) {
8663
8658
  if (!str) return 0;
8664
8659
  const strings = str.split(":"), l = strings.length;
8665
8660
  let parsed, i = l, ms = 0;
@@ -8671,17 +8666,17 @@ var fakeTimersSrcExports = function() {
8671
8666
  return 1e3 * ms;
8672
8667
  }
8673
8668
  /**
8674
- * Get the decimal part of the millisecond value as nanoseconds
8675
- * @param {number} msFloat the number of milliseconds
8676
- * @returns {number} an integer number of nanoseconds in the range [0,1e6)
8677
- *
8678
- * Example: nanoRemainer(123.456789) -> 456789
8679
- */
8669
+ * Get the decimal part of the millisecond value as nanoseconds
8670
+ * @param {number} msFloat the number of milliseconds
8671
+ * @returns {number} an integer number of nanoseconds in the range [0,1e6)
8672
+ *
8673
+ * Example: nanoRemainer(123.456789) -> 456789
8674
+ */
8680
8675
  /**
8681
- * Used to grok the `now` parameter to createClock.
8682
- * @param {Date|number} epoch the system time
8683
- * @returns {number}
8684
- */
8676
+ * Used to grok the `now` parameter to createClock.
8677
+ * @param {Date|number} epoch the system time
8678
+ * @returns {number}
8679
+ */
8685
8680
  function getEpoch(epoch) {
8686
8681
  if (!epoch) return 0;
8687
8682
  if ("function" == typeof epoch.getTime) return epoch.getTime();
@@ -8689,17 +8684,17 @@ var fakeTimersSrcExports = function() {
8689
8684
  throw new TypeError("now should be milliseconds since UNIX epoch");
8690
8685
  }
8691
8686
  /**
8692
- * @param {number} from
8693
- * @param {number} to
8694
- * @param {Timer} timer
8695
- * @returns {boolean}
8696
- */ function inRange(from, to, timer) {
8687
+ * @param {number} from
8688
+ * @param {number} to
8689
+ * @param {Timer} timer
8690
+ * @returns {boolean}
8691
+ */ function inRange(from, to, timer) {
8697
8692
  return timer && timer.callAt >= from && timer.callAt <= to;
8698
8693
  }
8699
8694
  /**
8700
- * @param {Clock} clock
8701
- * @param {Timer} job
8702
- */ function getInfiniteLoopError(clock, job) {
8695
+ * @param {Clock} clock
8696
+ * @param {Timer} job
8697
+ */ function getInfiniteLoopError(clock, job) {
8703
8698
  const infiniteLoopError = new Error(`Aborting after running ${clock.loopLimit} timers, assuming an infinite loop!`);
8704
8699
  if (!job.error) return infiniteLoopError;
8705
8700
  const computedTargetPattern = /target\.*[<|(|[].*?[>|\]|)]\s*/;
@@ -8721,15 +8716,15 @@ var fakeTimersSrcExports = function() {
8721
8716
  function createDate() {
8722
8717
  class ClockDate extends NativeDate {
8723
8718
  /**
8724
- * @param {number} year
8725
- * @param {number} month
8726
- * @param {number} date
8727
- * @param {number} hour
8728
- * @param {number} minute
8729
- * @param {number} second
8730
- * @param {number} ms
8731
- * @returns void
8732
- */
8719
+ * @param {number} year
8720
+ * @param {number} month
8721
+ * @param {number} date
8722
+ * @param {number} hour
8723
+ * @param {number} minute
8724
+ * @param {number} second
8725
+ * @param {number} ms
8726
+ * @returns void
8727
+ */
8733
8728
  constructor(year, month, date, hour, minute, second, ms) {
8734
8729
  0 === arguments.length ? super(ClockDate.clock.now) : super(...arguments), Object.defineProperty(this, "constructor", {
8735
8730
  value: NativeDate,
@@ -8755,13 +8750,13 @@ var fakeTimersSrcExports = function() {
8755
8750
  });
8756
8751
  }
8757
8752
  /**
8758
- * Mirror Intl by default on our fake implementation
8759
- *
8760
- * Most of the properties are the original native ones,
8761
- * but we need to take control of those that have a
8762
- * dependency on the current clock.
8763
- * @returns {object} the partly fake Intl implementation
8764
- */ function runJobs(clock) {
8753
+ * Mirror Intl by default on our fake implementation
8754
+ *
8755
+ * Most of the properties are the original native ones,
8756
+ * but we need to take control of those that have a
8757
+ * dependency on the current clock.
8758
+ * @returns {object} the partly fake Intl implementation
8759
+ */ function runJobs(clock) {
8765
8760
  if (clock.jobs) {
8766
8761
  for (let i = 0; i < clock.jobs.length; i++) {
8767
8762
  const job = clock.jobs[i];
@@ -8771,10 +8766,10 @@ var fakeTimersSrcExports = function() {
8771
8766
  }
8772
8767
  }
8773
8768
  /**
8774
- * @param {Clock} clock
8775
- * @param {Timer} timer
8776
- * @returns {number} id of the created timer
8777
- */ function addTimer(clock, timer) {
8769
+ * @param {Clock} clock
8770
+ * @param {Timer} timer
8771
+ * @returns {number} id of the created timer
8772
+ */ function addTimer(clock, timer) {
8778
8773
  if (void 0 === timer.func) throw new Error("Callback must be provided to timer calls");
8779
8774
  if (addTimerReturnsObject && "function" != typeof timer.func) throw new TypeError(`[ERR_INVALID_CALLBACK]: Callback must be a function. Received ${timer.func} of type ${typeof timer.func}`);
8780
8775
  var num;
@@ -8812,19 +8807,19 @@ var fakeTimersSrcExports = function() {
8812
8807
  return timer.id;
8813
8808
  }
8814
8809
  /**
8815
- * Timer comparitor
8816
- * @param {Timer} a
8817
- * @param {Timer} b
8818
- * @returns {number}
8819
- */ function compareTimers(a, b) {
8810
+ * Timer comparitor
8811
+ * @param {Timer} a
8812
+ * @param {Timer} b
8813
+ * @returns {number}
8814
+ */ function compareTimers(a, b) {
8820
8815
  return a.callAt < b.callAt ? -1 : a.callAt > b.callAt ? 1 : a.immediate && !b.immediate ? -1 : !a.immediate && b.immediate ? 1 : a.createdAt < b.createdAt ? -1 : a.createdAt > b.createdAt ? 1 : a.id < b.id ? -1 : a.id > b.id ? 1 : void 0;
8821
8816
  }
8822
8817
  /**
8823
- * @param {Clock} clock
8824
- * @param {number} from
8825
- * @param {number} to
8826
- * @returns {Timer}
8827
- */ function firstTimerInRange(clock, from, to) {
8818
+ * @param {Clock} clock
8819
+ * @param {number} from
8820
+ * @param {number} to
8821
+ * @returns {Timer}
8822
+ */ function firstTimerInRange(clock, from, to) {
8828
8823
  const timers = clock.timers;
8829
8824
  let id, isInRange, timer = null;
8830
8825
  for (id in timers) timers.hasOwnProperty(id) && (isInRange = inRange(from, to, timers[id]),
@@ -8832,45 +8827,45 @@ var fakeTimersSrcExports = function() {
8832
8827
  return timer;
8833
8828
  }
8834
8829
  /**
8835
- * @param {Clock} clock
8836
- * @returns {Timer}
8837
- */ function firstTimer(clock) {
8830
+ * @param {Clock} clock
8831
+ * @returns {Timer}
8832
+ */ function firstTimer(clock) {
8838
8833
  const timers = clock.timers;
8839
8834
  let id, timer = null;
8840
8835
  for (id in timers) timers.hasOwnProperty(id) && (timer && 1 !== compareTimers(timer, timers[id]) || (timer = timers[id]));
8841
8836
  return timer;
8842
8837
  }
8843
8838
  /**
8844
- * @param {Clock} clock
8845
- * @returns {Timer}
8846
- */ function lastTimer(clock) {
8839
+ * @param {Clock} clock
8840
+ * @returns {Timer}
8841
+ */ function lastTimer(clock) {
8847
8842
  const timers = clock.timers;
8848
8843
  let id, timer = null;
8849
8844
  for (id in timers) timers.hasOwnProperty(id) && (timer && -1 !== compareTimers(timer, timers[id]) || (timer = timers[id]));
8850
8845
  return timer;
8851
8846
  }
8852
8847
  /**
8853
- * @param {Clock} clock
8854
- * @param {Timer} timer
8855
- */ function callTimer(clock, timer) {
8848
+ * @param {Clock} clock
8849
+ * @param {Timer} timer
8850
+ */ function callTimer(clock, timer) {
8856
8851
  if ("number" == typeof timer.interval ? clock.timers[timer.id].callAt += timer.interval : delete clock.timers[timer.id],
8857
8852
  "function" == typeof timer.func) timer.func.apply(null, timer.args); else {
8858
8853
  (0, eval)(timer.func);
8859
8854
  }
8860
8855
  }
8861
8856
  /**
8862
- * Gets clear handler name for a given timer type
8863
- * @param {string} ttype
8864
- */ function getClearHandler(ttype) {
8857
+ * Gets clear handler name for a given timer type
8858
+ * @param {string} ttype
8859
+ */ function getClearHandler(ttype) {
8865
8860
  return "IdleCallback" === ttype || "AnimationFrame" === ttype ? `cancel${ttype}` : `clear${ttype}`;
8866
8861
  }
8867
8862
  /**
8868
- * Gets schedule handler name for a given timer type
8869
- * @param {string} ttype
8870
- */ const warnOnce =
8863
+ * Gets schedule handler name for a given timer type
8864
+ * @param {string} ttype
8865
+ */ const warnOnce =
8871
8866
  /**
8872
- * Creates an anonymous function to warn only once
8873
- */
8867
+ * Creates an anonymous function to warn only once
8868
+ */
8874
8869
  function() {
8875
8870
  let calls = 0;
8876
8871
  return function(msg) {
@@ -8878,10 +8873,10 @@ var fakeTimersSrcExports = function() {
8878
8873
  };
8879
8874
  }();
8880
8875
  /**
8881
- * @param {Clock} clock
8882
- * @param {number} timerId
8883
- * @param {string} ttype
8884
- */ function clearTimer(clock, timerId, ttype) {
8876
+ * @param {Clock} clock
8877
+ * @param {number} timerId
8878
+ * @param {string} ttype
8879
+ */ function clearTimer(clock, timerId, ttype) {
8885
8880
  if (!timerId) return;
8886
8881
  clock.timers || (clock.timers = {});
8887
8882
  const id = Number(timerId);
@@ -8905,14 +8900,14 @@ var fakeTimersSrcExports = function() {
8905
8900
  }
8906
8901
  }
8907
8902
  /**
8908
- * @param {Clock} clock
8909
- * @returns {Timer[]}
8910
- */
8903
+ * @param {Clock} clock
8904
+ * @returns {Timer[]}
8905
+ */
8911
8906
  /**
8912
- * @param {object} target the target containing the method to replace
8913
- * @param {string} method the keyname of the method on the target
8914
- * @param {Clock} clock
8915
- */
8907
+ * @param {object} target the target containing the method to replace
8908
+ * @param {string} method the keyname of the method on the target
8909
+ * @param {Clock} clock
8910
+ */
8916
8911
  function hijackMethod(target, method, clock) {
8917
8912
  if (clock[method].hadOwnProperty = Object.prototype.hasOwnProperty.call(target, method),
8918
8913
  clock[`_${method}`] = target[method], "Date" === method) target[method] = clock[method]; else if ("Intl" === method) target[method] = clock[method]; else if ("performance" === method) {
@@ -8928,30 +8923,30 @@ var fakeTimersSrcExports = function() {
8928
8923
  target[method].clock = clock;
8929
8924
  }
8930
8925
  /**
8931
- * @param {Clock} clock
8932
- * @param {number} advanceTimeDelta
8933
- */ function doIntervalTick(clock, advanceTimeDelta) {
8926
+ * @param {Clock} clock
8927
+ * @param {number} advanceTimeDelta
8928
+ */ function doIntervalTick(clock, advanceTimeDelta) {
8934
8929
  clock.tick(advanceTimeDelta);
8935
8930
  }
8936
8931
  /**
8937
- * @typedef {object} Timers
8938
- * @property {setTimeout} setTimeout
8939
- * @property {clearTimeout} clearTimeout
8940
- * @property {setInterval} setInterval
8941
- * @property {clearInterval} clearInterval
8942
- * @property {Date} Date
8943
- * @property {Intl} Intl
8944
- * @property {SetImmediate=} setImmediate
8945
- * @property {function(NodeImmediate): void=} clearImmediate
8946
- * @property {function(number[]):number[]=} hrtime
8947
- * @property {NextTick=} nextTick
8948
- * @property {Performance=} performance
8949
- * @property {RequestAnimationFrame=} requestAnimationFrame
8950
- * @property {boolean=} queueMicrotask
8951
- * @property {function(number): void=} cancelAnimationFrame
8952
- * @property {RequestIdleCallback=} requestIdleCallback
8953
- * @property {function(number): void=} cancelIdleCallback
8954
- */
8932
+ * @typedef {object} Timers
8933
+ * @property {setTimeout} setTimeout
8934
+ * @property {clearTimeout} clearTimeout
8935
+ * @property {setInterval} setInterval
8936
+ * @property {clearInterval} clearInterval
8937
+ * @property {Date} Date
8938
+ * @property {Intl} Intl
8939
+ * @property {SetImmediate=} setImmediate
8940
+ * @property {function(NodeImmediate): void=} clearImmediate
8941
+ * @property {function(number[]):number[]=} hrtime
8942
+ * @property {NextTick=} nextTick
8943
+ * @property {Performance=} performance
8944
+ * @property {RequestAnimationFrame=} requestAnimationFrame
8945
+ * @property {boolean=} queueMicrotask
8946
+ * @property {function(number): void=} cancelAnimationFrame
8947
+ * @property {RequestIdleCallback=} requestIdleCallback
8948
+ * @property {function(number): void=} cancelIdleCallback
8949
+ */
8955
8950
  /** @type {Timers} */ const timers = {
8956
8951
  setTimeout: _global.setTimeout,
8957
8952
  clearTimeout: _global.clearTimeout,
@@ -8968,10 +8963,10 @@ var fakeTimersSrcExports = function() {
8968
8963
  isPresent.Intl && (timers.Intl = NativeIntl);
8969
8964
  const originalSetTimeout = _global.setImmediate || _global.setTimeout, originalClearInterval = _global.clearInterval, originalSetInterval = _global.setInterval;
8970
8965
  /**
8971
- * @param {Date|number} [start] the system time - non-integer values are floored
8972
- * @param {number} [loopLimit] maximum number of timers that will be run when calling runAll()
8973
- * @returns {Clock}
8974
- */
8966
+ * @param {Date|number} [start] the system time - non-integer values are floored
8967
+ * @param {number} [loopLimit] maximum number of timers that will be run when calling runAll()
8968
+ * @returns {Clock}
8969
+ */
8975
8970
  function createClock(start, loopLimit) {
8976
8971
  start = Math.floor(getEpoch(start)), loopLimit = loopLimit || 1e3;
8977
8972
  let nanos = 0;
@@ -8999,13 +8994,13 @@ var fakeTimersSrcExports = function() {
8999
8994
  return [ secsSinceStart, remainderInNanos ];
9000
8995
  }
9001
8996
  /**
9002
- * A high resolution timestamp in milliseconds.
9003
- * @typedef {number} DOMHighResTimeStamp
9004
- */
8997
+ * A high resolution timestamp in milliseconds.
8998
+ * @typedef {number} DOMHighResTimeStamp
8999
+ */
9005
9000
  /**
9006
- * performance.now()
9007
- * @returns {DOMHighResTimeStamp}
9008
- */ function fakePerformanceNow() {
9001
+ * performance.now()
9002
+ * @returns {DOMHighResTimeStamp}
9003
+ */ function fakePerformanceNow() {
9009
9004
  const hrt = hrtime();
9010
9005
  return 1e3 * hrt[0] + hrt[1] / 1e6;
9011
9006
  }
@@ -9019,12 +9014,12 @@ var fakeTimersSrcExports = function() {
9019
9014
  }));
9020
9015
  }
9021
9016
  /**
9022
- * @param {number|string} tickValue milliseconds or a string parseable by parseTime
9023
- * @param {boolean} isAsync
9024
- * @param {Function} resolve
9025
- * @param {Function} reject
9026
- * @returns {number|undefined} will return the new `now` value or nothing for async
9027
- */
9017
+ * @param {number|string} tickValue milliseconds or a string parseable by parseTime
9018
+ * @param {boolean} isAsync
9019
+ * @param {Function} resolve
9020
+ * @param {Function} reject
9021
+ * @returns {number|undefined} will return the new `now` value or nothing for async
9022
+ */
9028
9023
  function doTick(tickValue, isAsync, resolve, reject) {
9029
9024
  const msFloat = "number" == typeof tickValue ? tickValue : parseTime(tickValue), ms = Math.floor(msFloat), remainder = function(msFloat) {
9030
9025
  const remainder = 1e6 * msFloat % 1e6, positiveRemainder = remainder < 0 ? remainder + 1e6 : remainder;
@@ -9074,9 +9069,9 @@ var fakeTimersSrcExports = function() {
9074
9069
  }, doTickInner();
9075
9070
  }
9076
9071
  /**
9077
- * @param {string|number} tickValue number of milliseconds or a human-readable value like "01:11:15"
9078
- * @returns {number} will return the new `now` value
9079
- */ return clock.Date.clock = clock, isPresent.hrtimeBigint && (hrtime.bigint = function() {
9072
+ * @param {string|number} tickValue number of milliseconds or a human-readable value like "01:11:15"
9073
+ * @returns {number} will return the new `now` value
9074
+ */ return clock.Date.clock = clock, isPresent.hrtimeBigint && (hrtime.bigint = function() {
9080
9075
  const parts = hrtime();
9081
9076
  return BigInt(parts[0]) * BigInt(1e9) + BigInt(parts[1]);
9082
9077
  }), isPresent.Intl && (clock.Intl = function() {
@@ -9096,8 +9091,8 @@ var fakeTimersSrcExports = function() {
9096
9091
  ClockIntl;
9097
9092
  }(), clock.Intl.clock = clock)
9098
9093
  /**
9099
- * @param {TimerTickMode} tickModeConfig - The new configuration for how the clock should tick.
9100
- */ , clock.setTickMode = function(tickModeConfig) {
9094
+ * @param {TimerTickMode} tickModeConfig - The new configuration for how the clock should tick.
9095
+ */ , clock.setTickMode = function(tickModeConfig) {
9101
9096
  const {mode: newMode, delta: newDelta} = tickModeConfig, {mode: oldMode, delta: oldDelta} = clock.tickMode;
9102
9097
  newMode === oldMode && newDelta === oldDelta || ("interval" === oldMode && originalClearInterval(clock.attachedInterval),
9103
9098
  clock.tickMode = {
@@ -9125,9 +9120,9 @@ var fakeTimersSrcExports = function() {
9125
9120
  clock.attachedInterval = intervalId;
9126
9121
  }
9127
9122
  /**
9128
- * @param {Config=} [config] Optional config
9129
- * @returns {Clock}
9130
- */ (clock, newDelta || 20));
9123
+ * @param {Config=} [config] Optional config
9124
+ * @returns {Clock}
9125
+ */ (clock, newDelta || 20));
9131
9126
  }, clock.requestIdleCallback = function(func, timeout) {
9132
9127
  let timeToNextIdlePeriod = 0;
9133
9128
  clock.countTimers() > 0 && (timeToNextIdlePeriod = 50);
@@ -9211,9 +9206,9 @@ var fakeTimersSrcExports = function() {
9211
9206
  return doTick(tickValue, !1);
9212
9207
  }, void 0 !== _global.Promise && (
9213
9208
  /**
9214
- * @param {string|number} tickValue number of milliseconds or a human-readable value like "01:11:15"
9215
- * @returns {Promise}
9216
- */
9209
+ * @param {string|number} tickValue number of milliseconds or a human-readable value like "01:11:15"
9210
+ * @returns {Promise}
9211
+ */
9217
9212
  clock.tickAsync = function(tickValue) {
9218
9213
  return pauseAutoTickUntilFinished(new _global.Promise(function(resolve, reject) {
9219
9214
  originalSetTimeout(function() {
@@ -9271,8 +9266,8 @@ var fakeTimersSrcExports = function() {
9271
9266
  return pauseAutoTickUntilFinished(new _global.Promise(function(resolve, reject) {
9272
9267
  let i = 0;
9273
9268
  /**
9274
- *
9275
- */ !function doRun() {
9269
+ *
9270
+ */ !function doRun() {
9276
9271
  originalSetTimeout(function() {
9277
9272
  try {
9278
9273
  let numTimers;
@@ -9312,9 +9307,9 @@ var fakeTimersSrcExports = function() {
9312
9307
  timer.createdAt += difference, timer.callAt += difference);
9313
9308
  },
9314
9309
  /**
9315
- * @param {string|number} tickValue number of milliseconds or a human-readable value like "01:11:15"
9316
- * @returns {number} will return the new `now` value
9317
- */
9310
+ * @param {string|number} tickValue number of milliseconds or a human-readable value like "01:11:15"
9311
+ * @returns {number} will return the new `now` value
9312
+ */
9318
9313
  clock.jump = function(tickValue) {
9319
9314
  const msFloat = "number" == typeof tickValue ? tickValue : parseTime(tickValue), ms = Math.floor(msFloat);
9320
9315
  for (const timer of Object.values(clock.timers)) clock.now + ms > timer.callAt && (timer.callAt = clock.now + ms);
@@ -9332,9 +9327,9 @@ var fakeTimersSrcExports = function() {
9332
9327
  config.advanceTimeDelta = config.advanceTimeDelta || 20, config.shouldClearNativeTimers = config.shouldClearNativeTimers || !1,
9333
9328
  config.target) throw new TypeError("config.target is no longer supported. Use `withGlobal(target)` instead.");
9334
9329
  /**
9335
- * @param {string} timer/object the name of the thing that is not present
9336
- * @param timer
9337
- */ function handleMissingTimer(timer) {
9330
+ * @param {string} timer/object the name of the thing that is not present
9331
+ * @param timer
9332
+ */ function handleMissingTimer(timer) {
9338
9333
  if (!config.ignoreMissingTimers) throw new ReferenceError(`non-existent timers and/or objects cannot be faked: '${timer}'`);
9339
9334
  }
9340
9335
  let i, l;
@@ -9476,12 +9471,12 @@ var fakeTimersSrcExports = function() {
9476
9471
  };
9477
9472
  }
9478
9473
  /**
9479
- * @typedef {object} FakeTimers
9480
- * @property {Timers} timers
9481
- * @property {createClock} createClock
9482
- * @property {Function} install
9483
- * @property {withGlobal} withGlobal
9484
- */
9474
+ * @typedef {object} FakeTimers
9475
+ * @property {Timers} timers
9476
+ * @property {createClock} createClock
9477
+ * @property {Function} install
9478
+ * @property {withGlobal} withGlobal
9479
+ */
9485
9480
  /** @type {FakeTimers} */ const defaultImplementation = withGlobal(globalObject);
9486
9481
  return fakeTimersSrc.timers = defaultImplementation.timers, fakeTimersSrc.createClock = defaultImplementation.createClock,
9487
9482
  fakeTimersSrc.install = defaultImplementation.install, fakeTimersSrc.withGlobal = withGlobal,
@@ -9955,8 +9950,8 @@ use((chai, utils) => {
9955
9950
  return a.length === b.length && a.every((aItem, i) => equals(aItem, b[i], [ ...customTesters, iterableEquality ]));
9956
9951
  }
9957
9952
  /**
9958
- * Used for `toHaveBeenCalledBefore` and `toHaveBeenCalledAfter` to determine if the expected spy was called before the result spy.
9959
- */
9953
+ * Used for `toHaveBeenCalledBefore` and `toHaveBeenCalledAfter` to determine if the expected spy was called before the result spy.
9954
+ */
9960
9955
  function isSpyCalledBeforeAnotherSpy(beforeSpy, afterSpy, failIfNoFirstInvocation) {
9961
9956
  const beforeInvocationCallOrder = beforeSpy.mock.invocationCallOrder, afterInvocationCallOrder = afterSpy.mock.invocationCallOrder;
9962
9957
  return 0 === beforeInvocationCallOrder.length ? !failIfNoFirstInvocation : 0 !== afterInvocationCallOrder.length && beforeInvocationCallOrder[0] < afterInvocationCallOrder[0];