@anoki/fse-ui 1.0.755 → 1.0.756

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 (479) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs133.js +1 -1
  3. package/dist/index.cjs134.js +1 -1
  4. package/dist/index.cjs135.js +1 -1
  5. package/dist/index.cjs136.js +1 -1
  6. package/dist/index.cjs137.js +1 -1
  7. package/dist/index.cjs138.js +1 -1
  8. package/dist/index.cjs139.js +1 -1
  9. package/dist/index.cjs140.js +1 -1
  10. package/dist/index.cjs141.js +1 -1
  11. package/dist/index.cjs142.js +1 -1
  12. package/dist/index.cjs143.js +1 -1
  13. package/dist/index.cjs144.js +1 -1
  14. package/dist/index.cjs145.js +1 -1
  15. package/dist/index.cjs146.js +1 -1
  16. package/dist/index.cjs147.js +1 -1
  17. package/dist/index.cjs148.js +1 -1
  18. package/dist/index.cjs149.js +1 -1
  19. package/dist/index.cjs150.js +1 -1
  20. package/dist/index.cjs151.js +1 -1
  21. package/dist/index.cjs152.js +1 -1
  22. package/dist/index.cjs153.js +1 -1
  23. package/dist/index.cjs154.js +1 -1
  24. package/dist/index.cjs155.js +1 -1
  25. package/dist/index.cjs159.js +1 -1
  26. package/dist/index.cjs160.js +1 -1
  27. package/dist/index.cjs161.js +1 -1
  28. package/dist/index.cjs163.js +1 -1
  29. package/dist/index.cjs164.js +1 -1
  30. package/dist/index.cjs165.js +1 -1
  31. package/dist/index.cjs166.js +1 -1
  32. package/dist/index.cjs167.js +1 -1
  33. package/dist/index.cjs168.js +1 -1
  34. package/dist/index.cjs169.js +1 -1
  35. package/dist/index.cjs170.js +1 -1
  36. package/dist/index.cjs171.js +1 -1
  37. package/dist/index.cjs173.js +1 -1
  38. package/dist/index.cjs174.js +1 -1
  39. package/dist/index.cjs175.js +1 -1
  40. package/dist/index.cjs176.js +1 -1
  41. package/dist/index.cjs177.js +1 -1
  42. package/dist/index.cjs178.js +1 -1
  43. package/dist/index.cjs179.js +1 -1
  44. package/dist/index.cjs181.js +1 -1
  45. package/dist/index.cjs182.js +1 -1
  46. package/dist/index.cjs183.js +1 -1
  47. package/dist/index.cjs184.js +1 -1
  48. package/dist/index.cjs185.js +1 -1
  49. package/dist/index.cjs186.js +1 -1
  50. package/dist/index.cjs187.js +1 -1
  51. package/dist/index.cjs188.js +1 -1
  52. package/dist/index.cjs194.js +1 -1
  53. package/dist/index.cjs23.js +1 -1
  54. package/dist/index.cjs230.js +1 -1
  55. package/dist/index.cjs230.js.map +1 -1
  56. package/dist/index.cjs231.js +2 -0
  57. package/dist/index.cjs231.js.map +1 -0
  58. package/dist/index.cjs240.js +1 -1
  59. package/dist/index.cjs248.js +1 -1
  60. package/dist/index.cjs251.js +1 -1
  61. package/dist/index.cjs252.js +1 -1
  62. package/dist/index.cjs259.js +1 -1
  63. package/dist/index.cjs26.js +1 -1
  64. package/dist/index.cjs269.js +1 -1
  65. package/dist/index.cjs273.js +1 -1
  66. package/dist/index.cjs275.js +1 -1
  67. package/dist/index.cjs282.js +1 -1
  68. package/dist/index.cjs287.js +1 -1
  69. package/dist/index.cjs294.js +1 -1
  70. package/dist/index.cjs300.js +1 -1
  71. package/dist/index.cjs301.js +1 -1
  72. package/dist/index.cjs302.js +1 -1
  73. package/dist/index.cjs341.js +1 -1
  74. package/dist/index.cjs369.js +1 -1
  75. package/dist/index.cjs370.js +1 -1
  76. package/dist/index.cjs380.js +1 -1
  77. package/dist/index.cjs386.js +1 -1
  78. package/dist/index.cjs387.js +1 -1
  79. package/dist/index.cjs393.js +1 -1
  80. package/dist/index.cjs393.js.map +1 -1
  81. package/dist/index.cjs394.js +1 -1
  82. package/dist/index.cjs394.js.map +1 -1
  83. package/dist/index.cjs395.js +1 -1
  84. package/dist/index.cjs395.js.map +1 -1
  85. package/dist/index.cjs396.js +1 -1
  86. package/dist/index.cjs396.js.map +1 -1
  87. package/dist/index.cjs397.js +1 -1
  88. package/dist/index.cjs397.js.map +1 -1
  89. package/dist/index.cjs398.js +1 -1
  90. package/dist/index.cjs398.js.map +1 -1
  91. package/dist/index.cjs399.js +1 -1
  92. package/dist/index.cjs399.js.map +1 -1
  93. package/dist/index.cjs400.js +2 -0
  94. package/dist/index.cjs400.js.map +1 -0
  95. package/dist/index.cjs401.js +1 -1
  96. package/dist/index.cjs401.js.map +1 -1
  97. package/dist/index.cjs402.js +2 -0
  98. package/dist/index.cjs402.js.map +1 -0
  99. package/dist/index.cjs403.js +2 -0
  100. package/dist/index.cjs403.js.map +1 -0
  101. package/dist/index.cjs404.js +1 -1
  102. package/dist/index.cjs404.js.map +1 -1
  103. package/dist/index.cjs405.js +1 -1
  104. package/dist/index.cjs405.js.map +1 -1
  105. package/dist/index.cjs406.js +1 -1
  106. package/dist/index.cjs406.js.map +1 -1
  107. package/dist/index.cjs407.js +2 -0
  108. package/dist/index.cjs407.js.map +1 -0
  109. package/dist/{index.cjs416.js → index.cjs408.js} +2 -2
  110. package/dist/{index.cjs416.js.map → index.cjs408.js.map} +1 -1
  111. package/dist/{index.cjs428.js → index.cjs409.js} +2 -2
  112. package/dist/{index.cjs428.js.map → index.cjs409.js.map} +1 -1
  113. package/dist/index.cjs410.js +2 -0
  114. package/dist/index.cjs410.js.map +1 -0
  115. package/dist/index.cjs411.js +2 -0
  116. package/dist/index.cjs411.js.map +1 -0
  117. package/dist/index.cjs412.js +1 -1
  118. package/dist/index.cjs412.js.map +1 -1
  119. package/dist/index.cjs413.js +1 -1
  120. package/dist/index.cjs413.js.map +1 -1
  121. package/dist/index.cjs414.js +1 -1
  122. package/dist/index.cjs414.js.map +1 -1
  123. package/dist/index.cjs415.js +1 -1
  124. package/dist/index.cjs415.js.map +1 -1
  125. package/dist/index.cjs417.js +1 -1
  126. package/dist/index.cjs417.js.map +1 -1
  127. package/dist/index.cjs418.js +1 -1
  128. package/dist/index.cjs418.js.map +1 -1
  129. package/dist/index.cjs419.js +1 -1
  130. package/dist/index.cjs419.js.map +1 -1
  131. package/dist/index.cjs420.js +1 -1
  132. package/dist/index.cjs420.js.map +1 -1
  133. package/dist/index.cjs421.js +1 -1
  134. package/dist/index.cjs421.js.map +1 -1
  135. package/dist/index.cjs422.js +2 -0
  136. package/dist/index.cjs422.js.map +1 -0
  137. package/dist/index.cjs423.js +2 -0
  138. package/dist/index.cjs423.js.map +1 -0
  139. package/dist/index.cjs424.js +2 -0
  140. package/dist/index.cjs424.js.map +1 -0
  141. package/dist/index.cjs425.js +1 -1
  142. package/dist/index.cjs425.js.map +1 -1
  143. package/dist/index.cjs429.js +1 -1
  144. package/dist/index.cjs429.js.map +1 -1
  145. package/dist/index.cjs430.js +1 -1
  146. package/dist/index.cjs430.js.map +1 -1
  147. package/dist/{index.cjs447.js → index.cjs431.js} +2 -2
  148. package/dist/{index.cjs447.js.map → index.cjs431.js.map} +1 -1
  149. package/dist/{index.cjs448.js → index.cjs432.js} +2 -2
  150. package/dist/{index.cjs448.js.map → index.cjs432.js.map} +1 -1
  151. package/dist/{index.cjs449.js → index.cjs433.js} +2 -2
  152. package/dist/{index.cjs449.js.map → index.cjs433.js.map} +1 -1
  153. package/dist/{index.cjs450.js → index.cjs434.js} +2 -2
  154. package/dist/{index.cjs450.js.map → index.cjs434.js.map} +1 -1
  155. package/dist/{index.cjs451.js → index.cjs435.js} +1 -1
  156. package/dist/{index.cjs451.js.map → index.cjs435.js.map} +1 -1
  157. package/dist/index.cjs436.js +2 -0
  158. package/dist/index.cjs436.js.map +1 -0
  159. package/dist/index.cjs439.js +38 -1
  160. package/dist/index.cjs439.js.map +1 -1
  161. package/dist/index.cjs440.js +1 -1
  162. package/dist/index.cjs440.js.map +1 -1
  163. package/dist/index.cjs441.js +1 -1
  164. package/dist/index.cjs441.js.map +1 -1
  165. package/dist/index.cjs442.js +1 -1
  166. package/dist/index.cjs442.js.map +1 -1
  167. package/dist/index.cjs443.js +1 -1
  168. package/dist/index.cjs443.js.map +1 -1
  169. package/dist/index.cjs444.js +1 -1
  170. package/dist/index.cjs444.js.map +1 -1
  171. package/dist/index.cjs445.js +1 -1
  172. package/dist/index.cjs445.js.map +1 -1
  173. package/dist/index.cjs446.js +1 -1
  174. package/dist/index.cjs446.js.map +1 -1
  175. package/dist/index.cjs452.js +1 -1
  176. package/dist/index.cjs452.js.map +1 -1
  177. package/dist/index.cjs453.js +1 -38
  178. package/dist/index.cjs453.js.map +1 -1
  179. package/dist/index.cjs454.js +1 -1
  180. package/dist/index.cjs454.js.map +1 -1
  181. package/dist/index.cjs455.js +1 -1
  182. package/dist/index.cjs455.js.map +1 -1
  183. package/dist/index.cjs456.js +1 -1
  184. package/dist/index.cjs456.js.map +1 -1
  185. package/dist/index.cjs466.js +1 -1
  186. package/dist/index.cjs469.js +1 -1
  187. package/dist/index.cjs472.js +1 -1
  188. package/dist/index.cjs476.js +1 -1
  189. package/dist/index.cjs479.js +1 -1
  190. package/dist/index.cjs480.js +1 -1
  191. package/dist/index.cjs480.js.map +1 -1
  192. package/dist/index.cjs481.js +1 -5
  193. package/dist/index.cjs481.js.map +1 -1
  194. package/dist/index.cjs482.js +1 -1
  195. package/dist/index.cjs482.js.map +1 -1
  196. package/dist/index.cjs483.js +5 -1
  197. package/dist/index.cjs483.js.map +1 -1
  198. package/dist/index.cjs484.js +2 -0
  199. package/dist/index.cjs484.js.map +1 -0
  200. package/dist/index.cjs485.js +2 -0
  201. package/dist/index.cjs485.js.map +1 -0
  202. package/dist/index.cjs491.js +1 -1
  203. package/dist/index.cjs491.js.map +1 -1
  204. package/dist/index.cjs492.js +1 -1
  205. package/dist/index.cjs492.js.map +1 -1
  206. package/dist/index.cjs58.js +1 -1
  207. package/dist/index.cjs6.js +1 -1
  208. package/dist/index.cjs7.js +1 -1
  209. package/dist/index.cjs8.js +1 -1
  210. package/dist/index.cjs9.js +1 -1
  211. package/dist/index.cjs90.js +1 -1
  212. package/dist/index.cjs90.js.map +1 -1
  213. package/dist/index.d.ts +1 -0
  214. package/dist/index.es10.js +2 -2
  215. package/dist/index.es133.js +1 -1
  216. package/dist/index.es134.js +1 -1
  217. package/dist/index.es135.js +1 -1
  218. package/dist/index.es136.js +1 -1
  219. package/dist/index.es137.js +1 -1
  220. package/dist/index.es138.js +1 -1
  221. package/dist/index.es139.js +1 -1
  222. package/dist/index.es140.js +1 -1
  223. package/dist/index.es141.js +1 -1
  224. package/dist/index.es142.js +1 -1
  225. package/dist/index.es143.js +1 -1
  226. package/dist/index.es144.js +1 -1
  227. package/dist/index.es145.js +1 -1
  228. package/dist/index.es146.js +1 -1
  229. package/dist/index.es147.js +1 -1
  230. package/dist/index.es148.js +1 -1
  231. package/dist/index.es149.js +1 -1
  232. package/dist/index.es150.js +1 -1
  233. package/dist/index.es151.js +1 -1
  234. package/dist/index.es152.js +1 -1
  235. package/dist/index.es153.js +1 -1
  236. package/dist/index.es154.js +1 -1
  237. package/dist/index.es155.js +1 -1
  238. package/dist/index.es159.js +1 -1
  239. package/dist/index.es160.js +1 -1
  240. package/dist/index.es161.js +1 -1
  241. package/dist/index.es163.js +1 -1
  242. package/dist/index.es164.js +1 -1
  243. package/dist/index.es165.js +1 -1
  244. package/dist/index.es166.js +1 -1
  245. package/dist/index.es167.js +1 -1
  246. package/dist/index.es168.js +1 -1
  247. package/dist/index.es169.js +1 -1
  248. package/dist/index.es170.js +1 -1
  249. package/dist/index.es171.js +1 -1
  250. package/dist/index.es173.js +1 -1
  251. package/dist/index.es174.js +1 -1
  252. package/dist/index.es175.js +1 -1
  253. package/dist/index.es176.js +1 -1
  254. package/dist/index.es177.js +1 -1
  255. package/dist/index.es178.js +1 -1
  256. package/dist/index.es179.js +1 -1
  257. package/dist/index.es181.js +1 -1
  258. package/dist/index.es182.js +1 -1
  259. package/dist/index.es183.js +1 -1
  260. package/dist/index.es184.js +1 -1
  261. package/dist/index.es185.js +1 -1
  262. package/dist/index.es186.js +1 -1
  263. package/dist/index.es187.js +1 -1
  264. package/dist/index.es188.js +1 -1
  265. package/dist/index.es194.js +1 -1
  266. package/dist/index.es23.js +1 -1
  267. package/dist/index.es230.js +2 -27
  268. package/dist/index.es230.js.map +1 -1
  269. package/dist/index.es231.js +30 -0
  270. package/dist/index.es231.js.map +1 -0
  271. package/dist/index.es240.js +1 -1
  272. package/dist/index.es248.js +7 -7
  273. package/dist/index.es251.js +1 -1
  274. package/dist/index.es252.js +1 -1
  275. package/dist/index.es259.js +8 -8
  276. package/dist/index.es26.js +1 -1
  277. package/dist/index.es269.js +1 -1
  278. package/dist/index.es273.js +1 -1
  279. package/dist/index.es275.js +14 -14
  280. package/dist/index.es282.js +1 -1
  281. package/dist/index.es287.js +1 -1
  282. package/dist/index.es294.js +1 -1
  283. package/dist/index.es300.js +1 -1
  284. package/dist/index.es301.js +1 -1
  285. package/dist/index.es302.js +7 -7
  286. package/dist/index.es341.js +4 -4
  287. package/dist/index.es369.js +1 -1
  288. package/dist/index.es370.js +2 -2
  289. package/dist/index.es380.js +1 -1
  290. package/dist/index.es386.js +1 -1
  291. package/dist/index.es387.js +1 -1
  292. package/dist/index.es393.js +2 -7
  293. package/dist/index.es393.js.map +1 -1
  294. package/dist/index.es394.js +2 -27
  295. package/dist/index.es394.js.map +1 -1
  296. package/dist/index.es395.js +5 -66
  297. package/dist/index.es395.js.map +1 -1
  298. package/dist/index.es396.js +25 -28
  299. package/dist/index.es396.js.map +1 -1
  300. package/dist/index.es397.js +67 -32
  301. package/dist/index.es397.js.map +1 -1
  302. package/dist/index.es398.js +27 -619
  303. package/dist/index.es398.js.map +1 -1
  304. package/dist/index.es399.js +32 -10
  305. package/dist/index.es399.js.map +1 -1
  306. package/dist/index.es400.js +625 -0
  307. package/dist/index.es400.js.map +1 -0
  308. package/dist/index.es401.js +11 -15
  309. package/dist/index.es401.js.map +1 -1
  310. package/dist/index.es402.js +14 -0
  311. package/dist/index.es402.js.map +1 -0
  312. package/dist/index.es403.js +56 -0
  313. package/dist/index.es403.js.map +1 -0
  314. package/dist/index.es404.js +45 -5
  315. package/dist/index.es404.js.map +1 -1
  316. package/dist/index.es405.js +7 -24
  317. package/dist/index.es405.js.map +1 -1
  318. package/dist/index.es406.js +120 -64
  319. package/dist/index.es406.js.map +1 -1
  320. package/dist/index.es407.js +18 -0
  321. package/dist/index.es407.js.map +1 -0
  322. package/dist/{index.es416.js → index.es408.js} +4 -4
  323. package/dist/{index.es416.js.map → index.es408.js.map} +1 -1
  324. package/dist/{index.es428.js → index.es409.js} +10 -10
  325. package/dist/{index.es428.js.map → index.es409.js.map} +1 -1
  326. package/dist/index.es410.js +17 -0
  327. package/dist/index.es410.js.map +1 -0
  328. package/dist/index.es411.js +72 -0
  329. package/dist/index.es411.js.map +1 -0
  330. package/dist/index.es412.js +178 -2
  331. package/dist/index.es412.js.map +1 -1
  332. package/dist/index.es413.js +50 -2
  333. package/dist/index.es413.js.map +1 -1
  334. package/dist/index.es414.js +9 -15
  335. package/dist/index.es414.js.map +1 -1
  336. package/dist/index.es415.js +4 -125
  337. package/dist/index.es415.js.map +1 -1
  338. package/dist/index.es417.js +6 -14
  339. package/dist/index.es417.js.map +1 -1
  340. package/dist/index.es418.js +24 -14
  341. package/dist/index.es418.js.map +1 -1
  342. package/dist/index.es419.js +11 -8
  343. package/dist/index.es419.js.map +1 -1
  344. package/dist/index.es420.js +203 -48
  345. package/dist/index.es420.js.map +1 -1
  346. package/dist/index.es421.js +21 -52
  347. package/dist/index.es421.js.map +1 -1
  348. package/dist/index.es422.js +396 -0
  349. package/dist/index.es422.js.map +1 -0
  350. package/dist/index.es423.js +28 -0
  351. package/dist/index.es423.js.map +1 -0
  352. package/dist/index.es424.js +32 -0
  353. package/dist/index.es424.js.map +1 -0
  354. package/dist/index.es425.js +5 -11
  355. package/dist/index.es425.js.map +1 -1
  356. package/dist/index.es429.js +5 -178
  357. package/dist/index.es429.js.map +1 -1
  358. package/dist/index.es430.js +3 -4
  359. package/dist/index.es430.js.map +1 -1
  360. package/dist/{index.es447.js → index.es431.js} +3 -3
  361. package/dist/{index.es447.js.map → index.es431.js.map} +1 -1
  362. package/dist/{index.es448.js → index.es432.js} +6 -6
  363. package/dist/{index.es448.js.map → index.es432.js.map} +1 -1
  364. package/dist/{index.es449.js → index.es433.js} +2 -2
  365. package/dist/{index.es449.js.map → index.es433.js.map} +1 -1
  366. package/dist/{index.es450.js → index.es434.js} +2 -2
  367. package/dist/{index.es450.js.map → index.es434.js.map} +1 -1
  368. package/dist/{index.es451.js → index.es435.js} +1 -1
  369. package/dist/{index.es451.js.map → index.es435.js.map} +1 -1
  370. package/dist/index.es436.js +132 -0
  371. package/dist/index.es436.js.map +1 -0
  372. package/dist/index.es439.js +67 -203
  373. package/dist/index.es439.js.map +1 -1
  374. package/dist/index.es440.js +9 -22
  375. package/dist/index.es440.js.map +1 -1
  376. package/dist/index.es441.js +12 -391
  377. package/dist/index.es441.js.map +1 -1
  378. package/dist/index.es442.js +60 -23
  379. package/dist/index.es442.js.map +1 -1
  380. package/dist/index.es443.js +65 -29
  381. package/dist/index.es443.js.map +1 -1
  382. package/dist/index.es444.js +4 -5
  383. package/dist/index.es444.js.map +1 -1
  384. package/dist/index.es445.js +23 -5
  385. package/dist/index.es445.js.map +1 -1
  386. package/dist/index.es446.js +15 -3
  387. package/dist/index.es446.js.map +1 -1
  388. package/dist/index.es452.js +22 -128
  389. package/dist/index.es452.js.map +1 -1
  390. package/dist/index.es453.js +12 -68
  391. package/dist/index.es453.js.map +1 -1
  392. package/dist/index.es454.js +26 -7
  393. package/dist/index.es454.js.map +1 -1
  394. package/dist/index.es455.js +5 -14
  395. package/dist/index.es455.js.map +1 -1
  396. package/dist/index.es456.js +14 -61
  397. package/dist/index.es456.js.map +1 -1
  398. package/dist/index.es466.js +2 -2
  399. package/dist/index.es469.js +1 -1
  400. package/dist/index.es472.js +1 -1
  401. package/dist/index.es476.js +9 -9
  402. package/dist/index.es479.js +1 -1
  403. package/dist/index.es480.js +177 -3
  404. package/dist/index.es480.js.map +1 -1
  405. package/dist/index.es481.js +3 -39
  406. package/dist/index.es481.js.map +1 -1
  407. package/dist/index.es482.js +133 -2
  408. package/dist/index.es482.js.map +1 -1
  409. package/dist/index.es483.js +40 -2
  410. package/dist/index.es483.js.map +1 -1
  411. package/dist/index.es484.js +5 -0
  412. package/dist/index.es484.js.map +1 -0
  413. package/dist/index.es485.js +5 -0
  414. package/dist/index.es485.js.map +1 -0
  415. package/dist/index.es491.js +2 -6
  416. package/dist/index.es491.js.map +1 -1
  417. package/dist/index.es492.js +6 -2
  418. package/dist/index.es492.js.map +1 -1
  419. package/dist/index.es58.js +1 -1
  420. package/dist/index.es6.js +1 -1
  421. package/dist/index.es7.js +1 -1
  422. package/dist/index.es8.js +1 -1
  423. package/dist/index.es9.js +2 -2
  424. package/dist/index.es90.js +9 -8
  425. package/dist/index.es90.js.map +1 -1
  426. package/package.json +1 -1
  427. package/dist/index.cjs232.js +0 -2
  428. package/dist/index.cjs232.js.map +0 -1
  429. package/dist/index.cjs426.js +0 -2
  430. package/dist/index.cjs426.js.map +0 -1
  431. package/dist/index.cjs427.js +0 -2
  432. package/dist/index.cjs427.js.map +0 -1
  433. package/dist/index.cjs438.js +0 -2
  434. package/dist/index.cjs438.js.map +0 -1
  435. package/dist/index.cjs457.js +0 -2
  436. package/dist/index.cjs457.js.map +0 -1
  437. package/dist/index.cjs458.js +0 -2
  438. package/dist/index.cjs458.js.map +0 -1
  439. package/dist/index.cjs459.js +0 -2
  440. package/dist/index.cjs459.js.map +0 -1
  441. package/dist/index.cjs460.js +0 -2
  442. package/dist/index.cjs460.js.map +0 -1
  443. package/dist/index.cjs461.js +0 -2
  444. package/dist/index.cjs461.js.map +0 -1
  445. package/dist/index.cjs462.js +0 -2
  446. package/dist/index.cjs462.js.map +0 -1
  447. package/dist/index.cjs463.js +0 -2
  448. package/dist/index.cjs463.js.map +0 -1
  449. package/dist/index.cjs477.js +0 -2
  450. package/dist/index.cjs477.js.map +0 -1
  451. package/dist/index.cjs478.js +0 -2
  452. package/dist/index.cjs478.js.map +0 -1
  453. package/dist/index.es232.js +0 -5
  454. package/dist/index.es232.js.map +0 -1
  455. package/dist/index.es426.js +0 -49
  456. package/dist/index.es426.js.map +0 -1
  457. package/dist/index.es427.js +0 -11
  458. package/dist/index.es427.js.map +0 -1
  459. package/dist/index.es438.js +0 -15
  460. package/dist/index.es438.js.map +0 -1
  461. package/dist/index.es457.js +0 -68
  462. package/dist/index.es457.js.map +0 -1
  463. package/dist/index.es458.js +0 -7
  464. package/dist/index.es458.js.map +0 -1
  465. package/dist/index.es459.js +0 -26
  466. package/dist/index.es459.js.map +0 -1
  467. package/dist/index.es460.js +0 -16
  468. package/dist/index.es460.js.map +0 -1
  469. package/dist/index.es461.js +0 -31
  470. package/dist/index.es461.js.map +0 -1
  471. package/dist/index.es462.js +0 -8
  472. package/dist/index.es462.js.map +0 -1
  473. package/dist/index.es463.js +0 -26
  474. package/dist/index.es463.js.map +0 -1
  475. package/dist/index.es477.js +0 -136
  476. package/dist/index.es477.js.map +0 -1
  477. package/dist/index.es478.js +0 -181
  478. package/dist/index.es478.js.map +0 -1
  479. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -1,12 +1,31 @@
1
- import { styleHookSingleton as o } from "./index.es460.js";
2
- var s = function() {
3
- var e = o(), n = function(t) {
4
- var r = t.styles, l = t.dynamic;
5
- return e(r, l), null;
1
+ import { getNonce as o } from "./index.es455.js";
2
+ function r() {
3
+ if (!document)
4
+ return null;
5
+ var t = document.createElement("style");
6
+ t.type = "text/css";
7
+ var e = o();
8
+ return e && t.setAttribute("nonce", e), t;
9
+ }
10
+ function l(t, e) {
11
+ t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
+ }
13
+ function a(t) {
14
+ var e = document.head || document.getElementsByTagName("head")[0];
15
+ e.appendChild(t);
16
+ }
17
+ var c = function() {
18
+ var t = 0, e = null;
19
+ return {
20
+ add: function(n) {
21
+ t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
+ },
23
+ remove: function() {
24
+ t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
+ }
6
26
  };
7
- return n;
8
27
  };
9
28
  export {
10
- s as styleSingleton
29
+ c as stylesheetSingleton
11
30
  };
12
31
  //# sourceMappingURL=index.es454.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es454.js","sources":["../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":";AAOU,IAACA,IAAiB,WAAY;AACpC,MAAIC,IAAWC,EAAoB,GAC/BC,IAAQ,SAAUC,GAAI;AACtB,QAAIC,IAASD,EAAG,QAAQE,IAAUF,EAAG;AACrC,WAAAH,EAASI,GAAQC,CAAO,GACjB;AAAA,EACV;AACD,SAAOH;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es454.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
@@ -1,17 +1,8 @@
1
- var r = !1;
2
- if (typeof window < "u")
3
- try {
4
- var e = Object.defineProperty({}, "passive", {
5
- get: function() {
6
- return r = !0, !0;
7
- }
8
- });
9
- window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
10
- } catch {
11
- r = !1;
12
- }
13
- var a = r ? { passive: !1 } : !1;
1
+ var e = function() {
2
+ if (typeof __webpack_nonce__ < "u")
3
+ return __webpack_nonce__;
4
+ };
14
5
  export {
15
- a as nonPassive
6
+ e as getNonce
16
7
  };
17
8
  //# sourceMappingURL=index.es455.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es455.js","sources":["../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACV;AAAA,IACb,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EAC3D,QACgB;AACR,IAAAD,IAAmB;AAAA,EAC3B;AAEU,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es455.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
@@ -1,65 +1,18 @@
1
- var p = function(e) {
2
- return e.tagName === "TEXTAREA";
3
- }, w = function(e, r) {
4
- if (!(e instanceof Element))
5
- return !1;
6
- var o = window.getComputedStyle(e);
7
- return (
8
- // not-not-scrollable
9
- o[r] !== "hidden" && // contains scroll inside self
10
- !(o.overflowY === o.overflowX && !p(e) && o[r] === "visible")
11
- );
12
- }, y = function(e) {
13
- return w(e, "overflowY");
14
- }, H = function(e) {
15
- return w(e, "overflowX");
16
- }, R = function(e, r) {
17
- var o = r.ownerDocument, t = r;
18
- do {
19
- typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
20
- var v = g(e, t);
21
- if (v) {
22
- var n = b(e, t), a = n[1], l = n[2];
23
- if (a > l)
24
- return !0;
1
+ import { useState as n, useCallback as i } from "react";
2
+ import "./index.es491.js";
3
+ function c() {
4
+ const [t, o] = n(null), e = i(async (r) => {
5
+ if (!(navigator != null && navigator.clipboard))
6
+ return console.warn("Clipboard not supported"), !1;
7
+ try {
8
+ return await navigator.clipboard.writeText(r), o(r), !0;
9
+ } catch (a) {
10
+ return console.warn("Copy failed", a), o(null), !1;
25
11
  }
26
- t = t.parentNode;
27
- } while (t && t !== o.body);
28
- return !1;
29
- }, B = function(e) {
30
- var r = e.scrollTop, o = e.scrollHeight, t = e.clientHeight;
31
- return [
32
- r,
33
- o,
34
- t
35
- ];
36
- }, V = function(e) {
37
- var r = e.scrollLeft, o = e.scrollWidth, t = e.clientWidth;
38
- return [
39
- r,
40
- o,
41
- t
42
- ];
43
- }, g = function(e, r) {
44
- return e === "v" ? y(r) : H(r);
45
- }, b = function(e, r) {
46
- return e === "v" ? B(r) : V(r);
47
- }, D = function(e, r) {
48
- return e === "h" && r === "rtl" ? -1 : 1;
49
- }, W = function(e, r, o, t, v) {
50
- var n = D(e, window.getComputedStyle(r).direction), a = n * t, l = o.target, f = r.contains(l), i = !1, s = a > 0, d = 0, h = 0;
51
- do {
52
- var c = b(e, l), u = c[0], m = c[1], C = c[2], S = m - C - n * u;
53
- (u || S) && g(e, l) && (d += S, h += u), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
54
- } while (
55
- // portaled content
56
- !f && l !== document.body || // self content
57
- f && (r.contains(l) || r === l)
58
- );
59
- return (s && Math.abs(d) < 1 || !s && Math.abs(h) < 1) && (i = !0), i;
60
- };
12
+ }, []);
13
+ return [t, e];
14
+ }
61
15
  export {
62
- W as handleScroll,
63
- R as locationCouldBeScrolled
16
+ c as useCopyToClipboard
64
17
  };
65
18
  //# sourceMappingURL=index.es456.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es456.js","sources":["../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"AAAA,IAAIA,IAAuB,SAAUC,GAAM;AAEvC,SAAOA,EAAK,YAAY;AAC5B,GACIC,IAAuB,SAAUD,GAAME,GAAU;AACjD,MAAI,EAAEF,aAAgB;AAClB,WAAO;AAEX,MAAIG,IAAS,OAAO,iBAAiBH,CAAI;AACzC;AAAA;AAAA,IAEAG,EAAOD,CAAQ,MAAM;AAAA,IAEjB,EAAEC,EAAO,cAAcA,EAAO,aAAa,CAACJ,EAAqBC,CAAI,KAAKG,EAAOD,CAAQ,MAAM;AAAA;AACvG,GACIE,IAA0B,SAAUJ,GAAM;AAAE,SAAOC,EAAqBD,GAAM,WAAW;AAAI,GAC7FK,IAA0B,SAAUL,GAAM;AAAE,SAAOC,EAAqBD,GAAM,WAAW;AAAI,GACtFM,IAA0B,SAAUC,GAAMP,GAAM;AACvD,MAAIQ,IAAgBR,EAAK,eACrBS,IAAUT;AACd,KAAG;AAEC,IAAI,OAAO,aAAe,OAAeS,aAAmB,eACxDA,IAAUA,EAAQ;AAEtB,QAAIC,IAAeC,EAAuBJ,GAAME,CAAO;AACvD,QAAIC,GAAc;AACd,UAAIE,IAAKC,EAAm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AAC,GAC1F4B,IAAgBF,IAAWC,IAAWV,IAAkBQ;AAC5D,KAAIA,KAAYG,MACR7B,EAAuBJ,GAAMwB,CAAM,MACnCI,KAAmBK,GACnBJ,KAAsBC,IAG1BN,aAAkB,aAClBA,IAASA,EAAO,OAGhBA,IAASA,EAAO;AAAA,EAEvB;AAAA;AAAA,IAEA,CAACC,KAAgBD,MAAW,SAAS;AAAA,IAEjCC,MAAiBP,EAAU,SAASM,CAAM,KAAKN,MAAcM;AAAA;AAElE,UAAIG,KACkB,KAAK,IAAIC,CAAe,IAAI,KAGzC,CAACD,KACY,KAAK,IAAIE,CAAkB,IAAI,OACjDH,IAAqB,KAElBA;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es456.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":";;AAgDA,SAASA,IAAqB;AAC5B,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAS,IAAI,GAC3CC,IAAOC,EAAY,OAAOC,MAAS;AACvC,QAAI,EAAE,aAAa,QAAgB,UAAU;AAC3C,qBAAQ,KAAK,yBAAyB,GAC/B;AAET,QAAI;AACF,mBAAM,UAAU,UAAU,UAAUA,CAAI,GACxCJ,EAAcI,CAAI,GACX;AAAA,IACR,SAAQC,GAAO;AACd,qBAAQ,KAAK,eAAeA,CAAK,GACjCL,EAAc,IAAI,GACX;AAAA,IACb;AAAA,EACG,GAAE,EAAE;AACL,SAAO,CAACD,GAAYG,CAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
- import { g as R, a as _ } from "./index.es477.js";
2
- import { w as k, e as D, h as se, c as Z, p as N, x as we, u as W, n as ee, t as ce, j as Se, q as Te, r as xe, s as $, f as re, v as be, d as Y, a as ye } from "./index.es478.js";
1
+ import { g as R, a as _ } from "./index.es482.js";
2
+ import { w as k, e as D, h as se, c as Z, p as N, x as we, u as W, n as ee, t as ce, j as Se, q as Te, r as xe, s as $, f as re, v as be, d as Y, a as ye } from "./index.es480.js";
3
3
  let X;
4
4
  function Ee() {
5
5
  const i = _(), t = R();
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as r } from "./index.es391.js";
2
- import { __require as s } from "./index.es481.js";
2
+ import { __require as s } from "./index.es483.js";
3
3
  var e = s();
4
4
  const t = /* @__PURE__ */ r(e);
5
5
  export {
@@ -1,7 +1,7 @@
1
1
  import N from "./index.es469.js";
2
2
  import { getResponsiveStyles as e } from "./index.es473.js";
3
3
  import { mergeStyles as V } from "./index.es475.js";
4
- import { marginPropDefs as y } from "./index.es483.js";
4
+ import { marginPropDefs as y } from "./index.es485.js";
5
5
  const m = y.m.values;
6
6
  function R(r) {
7
7
  const [t, a] = e({ className: "rt-r-m", customProperties: ["--margin"], propValues: m, value: r.m }), [o, s] = e({ className: "rt-r-mx", customProperties: ["--margin-left", "--margin-right"], propValues: m, value: r.mx }), [l, p] = e({ className: "rt-r-my", customProperties: ["--margin-top", "--margin-bottom"], propValues: m, value: r.my }), [i, u] = e({ className: "rt-r-mt", customProperties: ["--margin-top"], propValues: m, value: r.mt }), [c, n] = e({ className: "rt-r-mr", customProperties: ["--margin-right"], propValues: m, value: r.mr }), [g, v] = e({ className: "rt-r-mb", customProperties: ["--margin-bottom"], propValues: m, value: r.mb }), [P, f] = e({ className: "rt-r-ml", customProperties: ["--margin-left"], propValues: m, value: r.ml });
@@ -1,13 +1,13 @@
1
1
  import * as c from "react";
2
- import { Primitive as L } from "./index.es397.js";
3
- import { Presence as O } from "./index.es406.js";
4
- import { createContextScope as le } from "./index.es395.js";
5
- import { useComposedRefs as T } from "./index.es394.js";
6
- import { useCallbackRef as x } from "./index.es425.js";
7
- import { useDirection as ce } from "./index.es427.js";
8
- import { useLayoutEffect as se } from "./index.es430.js";
9
- import { clamp as ie } from "./index.es491.js";
10
- import { composeEventHandlers as C } from "./index.es393.js";
2
+ import { Primitive as L } from "./index.es399.js";
3
+ import { Presence as O } from "./index.es411.js";
4
+ import { createContextScope as le } from "./index.es397.js";
5
+ import { useComposedRefs as T } from "./index.es396.js";
6
+ import { useCallbackRef as x } from "./index.es402.js";
7
+ import { useDirection as ce } from "./index.es405.js";
8
+ import { useLayoutEffect as se } from "./index.es415.js";
9
+ import { clamp as ie } from "./index.es492.js";
10
+ import { composeEventHandlers as C } from "./index.es395.js";
11
11
  import { j as b } from "./index.es215.js";
12
12
  function ae(e, t) {
13
13
  return c.useReducer((r, l) => t[r][l] ?? r, e);
@@ -1,4 +1,4 @@
1
- import { e as i, c as m } from "./index.es478.js";
1
+ import { e as i, c as m } from "./index.es480.js";
2
2
  function o(f, a, n, l) {
3
3
  return f.params.createElements && Object.keys(l).forEach((e) => {
4
4
  if (!n[e] && n.auto === !0) {
@@ -1,7 +1,181 @@
1
- function r(e) {
2
- return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
1
+ import { a } from "./index.es482.js";
2
+ function y(e) {
3
+ return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
4
+ }
5
+ function b(e) {
6
+ const t = e;
7
+ Object.keys(t).forEach((r) => {
8
+ try {
9
+ t[r] = null;
10
+ } catch {
11
+ }
12
+ try {
13
+ delete t[r];
14
+ } catch {
15
+ }
16
+ });
17
+ }
18
+ function M(e, t) {
19
+ return t === void 0 && (t = 0), setTimeout(e, t);
20
+ }
21
+ function C() {
22
+ return Date.now();
23
+ }
24
+ function S(e) {
25
+ const t = a();
26
+ let r;
27
+ return t.getComputedStyle && (r = t.getComputedStyle(e, null)), !r && e.currentStyle && (r = e.currentStyle), r || (r = e.style), r;
28
+ }
29
+ function v(e, t) {
30
+ t === void 0 && (t = "x");
31
+ const r = a();
32
+ let n, o, s;
33
+ const l = S(e);
34
+ return r.WebKitCSSMatrix ? (o = l.transform || l.webkitTransform, o.split(",").length > 6 && (o = o.split(", ").map((i) => i.replace(",", ".")).join(", ")), s = new r.WebKitCSSMatrix(o === "none" ? "" : o)) : (s = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = s.toString().split(",")), t === "x" && (r.WebKitCSSMatrix ? o = s.m41 : n.length === 16 ? o = parseFloat(n[12]) : o = parseFloat(n[4])), t === "y" && (r.WebKitCSSMatrix ? o = s.m42 : n.length === 16 ? o = parseFloat(n[13]) : o = parseFloat(n[5])), o || 0;
35
+ }
36
+ function d(e) {
37
+ return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
38
+ }
39
+ function E(e) {
40
+ return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
41
+ }
42
+ function g() {
43
+ const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
44
+ for (let r = 1; r < arguments.length; r += 1) {
45
+ const n = r < 0 || arguments.length <= r ? void 0 : arguments[r];
46
+ if (n != null && !E(n)) {
47
+ const o = Object.keys(Object(n)).filter((s) => t.indexOf(s) < 0);
48
+ for (let s = 0, l = o.length; s < l; s += 1) {
49
+ const i = o[s], u = Object.getOwnPropertyDescriptor(n, i);
50
+ u !== void 0 && u.enumerable && (d(e[i]) && d(n[i]) ? n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i]) : !d(e[i]) && d(n[i]) ? (e[i] = {}, n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i])) : e[i] = n[i]);
51
+ }
52
+ }
53
+ }
54
+ return e;
55
+ }
56
+ function O(e, t, r) {
57
+ e.style.setProperty(t, r);
58
+ }
59
+ function P(e) {
60
+ let {
61
+ swiper: t,
62
+ targetPosition: r,
63
+ side: n
64
+ } = e;
65
+ const o = a(), s = -t.translate;
66
+ let l = null, i;
67
+ const u = t.params.speed;
68
+ t.wrapperEl.style.scrollSnapType = "none", o.cancelAnimationFrame(t.cssModeFrameID);
69
+ const p = r > s ? "next" : "prev", h = (f, m) => p === "next" && f >= m || p === "prev" && f <= m, w = () => {
70
+ i = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = i);
71
+ const f = Math.max(Math.min((i - l) / u, 1), 0), m = 0.5 - Math.cos(f * Math.PI) / 2;
72
+ let c = s + m * (r - s);
73
+ if (h(c, r) && (c = r), t.wrapperEl.scrollTo({
74
+ [n]: c
75
+ }), h(c, r)) {
76
+ t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
77
+ t.wrapperEl.style.overflow = "", t.wrapperEl.scrollTo({
78
+ [n]: c
79
+ });
80
+ }), o.cancelAnimationFrame(t.cssModeFrameID);
81
+ return;
82
+ }
83
+ t.cssModeFrameID = o.requestAnimationFrame(w);
84
+ };
85
+ w();
86
+ }
87
+ function j(e, t) {
88
+ t === void 0 && (t = "");
89
+ const r = a(), n = [...e.children];
90
+ return r.HTMLSlotElement && e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((o) => o.matches(t)) : n;
91
+ }
92
+ function T(e, t) {
93
+ const r = [t];
94
+ for (; r.length > 0; ) {
95
+ const n = r.shift();
96
+ if (e === n)
97
+ return !0;
98
+ r.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
99
+ }
100
+ }
101
+ function F(e, t) {
102
+ const r = a();
103
+ let n = t.contains(e);
104
+ return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = T(e, t))), n;
105
+ }
106
+ function _(e) {
107
+ try {
108
+ console.warn(e);
109
+ return;
110
+ } catch {
111
+ }
112
+ }
113
+ function A(e, t) {
114
+ t === void 0 && (t = []);
115
+ const r = document.createElement(e);
116
+ return r.classList.add(...Array.isArray(t) ? t : y(t)), r;
117
+ }
118
+ function I(e, t) {
119
+ const r = [];
120
+ for (; e.previousElementSibling; ) {
121
+ const n = e.previousElementSibling;
122
+ t ? n.matches(t) && r.push(n) : r.push(n), e = n;
123
+ }
124
+ return r;
125
+ }
126
+ function k(e, t) {
127
+ const r = [];
128
+ for (; e.nextElementSibling; ) {
129
+ const n = e.nextElementSibling;
130
+ t ? n.matches(t) && r.push(n) : r.push(n), e = n;
131
+ }
132
+ return r;
133
+ }
134
+ function H(e, t) {
135
+ return a().getComputedStyle(e, null).getPropertyValue(t);
136
+ }
137
+ function L(e) {
138
+ let t = e, r;
139
+ if (t) {
140
+ for (r = 0; (t = t.previousSibling) !== null; )
141
+ t.nodeType === 1 && (r += 1);
142
+ return r;
143
+ }
144
+ }
145
+ function W(e, t) {
146
+ const r = [];
147
+ let n = e.parentElement;
148
+ for (; n; )
149
+ t ? n.matches(t) && r.push(n) : r.push(n), n = n.parentElement;
150
+ return r;
151
+ }
152
+ function D(e, t, r) {
153
+ const n = a();
154
+ return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
155
+ }
156
+ function K(e) {
157
+ return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
3
158
  }
4
159
  export {
5
- r as c
160
+ W as a,
161
+ A as c,
162
+ C as d,
163
+ j as e,
164
+ D as f,
165
+ L as h,
166
+ y as i,
167
+ v as j,
168
+ d as l,
169
+ K as m,
170
+ M as n,
171
+ H as p,
172
+ k as q,
173
+ I as r,
174
+ O as s,
175
+ P as t,
176
+ _ as u,
177
+ F as v,
178
+ g as w,
179
+ b as x
6
180
  };
7
181
  //# sourceMappingURL=index.es480.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es480.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es480.js","sources":["../node_modules/swiper/shared/utils.mjs"],"sourcesContent":["import { a as getWindow, g as getDocument } from './ssr-window.esm.mjs';\n\nfunction classesToTokens(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return classes.trim().split(' ').filter(c => !!c.trim());\n}\n\nfunction deleteProps(obj) {\n const object = obj;\n Object.keys(object).forEach(key => {\n try {\n object[key] = null;\n } catch (e) {\n // no getter for object\n }\n try {\n delete object[key];\n } catch (e) {\n // something got wrong\n }\n });\n}\nfunction nextTick(callback, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return setTimeout(callback, delay);\n}\nfunction now() {\n return Date.now();\n}\nfunction getComputedStyle(el) {\n const window = getWindow();\n let style;\n if (window.getComputedStyle) {\n style = window.getComputedStyle(el, null);\n }\n if (!style && el.currentStyle) {\n style = el.currentStyle;\n }\n if (!style) {\n style = el.style;\n }\n return style;\n}\nfunction getTranslate(el, axis) {\n if (axis === void 0) {\n axis = 'x';\n }\n const window = getWindow();\n let matrix;\n let curTransform;\n let transformMatrix;\n const curStyle = getComputedStyle(el);\n if (window.WebKitCSSMatrix) {\n curTransform = curStyle.transform || curStyle.webkitTransform;\n if (curTransform.split(',').length > 6) {\n curTransform = curTransform.split(', ').map(a => a.replace(',', '.')).join(', ');\n }\n // Some old versions of Webkit choke when 'none' is passed; pass\n // empty string instead in this case\n transformMatrix = new window.WebKitCSSMatrix(curTransform === 'none' ? '' : curTransform);\n } else {\n transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue('transform').replace('translate(', 'matrix(1, 0, 0, 1,');\n matrix = transformMatrix.toString().split(',');\n }\n if (axis === 'x') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m41;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[12]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[4]);\n }\n if (axis === 'y') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m42;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[13]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[5]);\n }\n return curTransform || 0;\n}\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\nfunction isNode(node) {\n // eslint-disable-next-line\n if (typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined') {\n return node instanceof HTMLElement;\n }\n return node && (node.nodeType === 1 || node.nodeType === 11);\n}\nfunction extend() {\n const to = Object(arguments.length <= 0 ? undefined : arguments[0]);\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n for (let i = 1; i < arguments.length; i += 1) {\n const nextSource = i < 0 || arguments.length <= i ? undefined : arguments[i];\n if (nextSource !== undefined && nextSource !== null && !isNode(nextSource)) {\n const keysArray = Object.keys(Object(nextSource)).filter(key => noExtend.indexOf(key) < 0);\n for (let nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {\n const nextKey = keysArray[nextIndex];\n const desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n if (desc !== undefined && desc.enumerable) {\n if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n to[nextKey] = {};\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n }\n return to;\n}\nfunction setCSSProperty(el, varName, varValue) {\n el.style.setProperty(varName, varValue);\n}\nfunction animateCSSModeScroll(_ref) {\n let {\n swiper,\n targetPosition,\n side\n } = _ref;\n const window = getWindow();\n const startPosition = -swiper.translate;\n let startTime = null;\n let time;\n const duration = swiper.params.speed;\n swiper.wrapperEl.style.scrollSnapType = 'none';\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n const dir = targetPosition > startPosition ? 'next' : 'prev';\n const isOutOfBound = (current, target) => {\n return dir === 'next' && current >= target || dir === 'prev' && current <= target;\n };\n const animate = () => {\n time = new Date().getTime();\n if (startTime === null) {\n startTime = time;\n }\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;\n let currentPosition = startPosition + easeProgress * (targetPosition - startPosition);\n if (isOutOfBound(currentPosition, targetPosition)) {\n currentPosition = targetPosition;\n }\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n if (isOutOfBound(currentPosition, targetPosition)) {\n swiper.wrapperEl.style.overflow = 'hidden';\n swiper.wrapperEl.style.scrollSnapType = '';\n setTimeout(() => {\n swiper.wrapperEl.style.overflow = '';\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n });\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n return;\n }\n swiper.cssModeFrameID = window.requestAnimationFrame(animate);\n };\n animate();\n}\nfunction getSlideTransformEl(slideEl) {\n return slideEl.querySelector('.swiper-slide-transform') || slideEl.shadowRoot && slideEl.shadowRoot.querySelector('.swiper-slide-transform') || slideEl;\n}\nfunction elementChildren(element, selector) {\n if (selector === void 0) {\n selector = '';\n }\n const window = getWindow();\n const children = [...element.children];\n if (window.HTMLSlotElement && element instanceof HTMLSlotElement) {\n children.push(...element.assignedElements());\n }\n if (!selector) {\n return children;\n }\n return children.filter(el => el.matches(selector));\n}\nfunction elementIsChildOfSlot(el, slot) {\n // Breadth-first search through all parent's children and assigned elements\n const elementsQueue = [slot];\n while (elementsQueue.length > 0) {\n const elementToCheck = elementsQueue.shift();\n if (el === elementToCheck) {\n return true;\n }\n elementsQueue.push(...elementToCheck.children, ...(elementToCheck.shadowRoot ? elementToCheck.shadowRoot.children : []), ...(elementToCheck.assignedElements ? elementToCheck.assignedElements() : []));\n }\n}\nfunction elementIsChildOf(el, parent) {\n const window = getWindow();\n let isChild = parent.contains(el);\n if (!isChild && window.HTMLSlotElement && parent instanceof HTMLSlotElement) {\n const children = [...parent.assignedElements()];\n isChild = children.includes(el);\n if (!isChild) {\n isChild = elementIsChildOfSlot(el, parent);\n }\n }\n return isChild;\n}\nfunction showWarning(text) {\n try {\n console.warn(text);\n return;\n } catch (err) {\n // err\n }\n}\nfunction createElement(tag, classes) {\n if (classes === void 0) {\n classes = [];\n }\n const el = document.createElement(tag);\n el.classList.add(...(Array.isArray(classes) ? classes : classesToTokens(classes)));\n return el;\n}\nfunction elementOffset(el) {\n const window = getWindow();\n const document = getDocument();\n const box = el.getBoundingClientRect();\n const body = document.body;\n const clientTop = el.clientTop || body.clientTop || 0;\n const clientLeft = el.clientLeft || body.clientLeft || 0;\n const scrollTop = el === window ? window.scrollY : el.scrollTop;\n const scrollLeft = el === window ? window.scrollX : el.scrollLeft;\n return {\n top: box.top + scrollTop - clientTop,\n left: box.left + scrollLeft - clientLeft\n };\n}\nfunction elementPrevAll(el, selector) {\n const prevEls = [];\n while (el.previousElementSibling) {\n const prev = el.previousElementSibling; // eslint-disable-line\n if (selector) {\n if (prev.matches(selector)) prevEls.push(prev);\n } else prevEls.push(prev);\n el = prev;\n }\n return prevEls;\n}\nfunction elementNextAll(el, selector) {\n const nextEls = [];\n while (el.nextElementSibling) {\n const next = el.nextElementSibling; // eslint-disable-line\n if (selector) {\n if (next.matches(selector)) nextEls.push(next);\n } else nextEls.push(next);\n el = next;\n }\n return nextEls;\n}\nfunction elementStyle(el, prop) {\n const window = getWindow();\n return window.getComputedStyle(el, null).getPropertyValue(prop);\n}\nfunction elementIndex(el) {\n let child = el;\n let i;\n if (child) {\n i = 0;\n // eslint-disable-next-line\n while ((child = child.previousSibling) !== null) {\n if (child.nodeType === 1) i += 1;\n }\n return i;\n }\n return undefined;\n}\nfunction elementParents(el, selector) {\n const parents = []; // eslint-disable-line\n let parent = el.parentElement; // eslint-disable-line\n while (parent) {\n if (selector) {\n if (parent.matches(selector)) parents.push(parent);\n } else {\n parents.push(parent);\n }\n parent = parent.parentElement;\n }\n return parents;\n}\nfunction elementTransitionEnd(el, callback) {\n function fireCallBack(e) {\n if (e.target !== el) return;\n callback.call(el, e);\n el.removeEventListener('transitionend', fireCallBack);\n }\n if (callback) {\n el.addEventListener('transitionend', fireCallBack);\n }\n}\nfunction elementOuterSize(el, size, includeMargins) {\n const window = getWindow();\n if (includeMargins) {\n return el[size === 'width' ? 'offsetWidth' : 'offsetHeight'] + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-right' : 'margin-top')) + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-left' : 'margin-bottom'));\n }\n return el.offsetWidth;\n}\nfunction makeElementsArray(el) {\n return (Array.isArray(el) ? el : [el]).filter(e => !!e);\n}\nfunction getRotateFix(swiper) {\n return v => {\n if (Math.abs(v) > 0 && swiper.browser && swiper.browser.need3dFix && Math.abs(v) % 90 === 0) {\n return v + 0.001;\n }\n return v;\n };\n}\n\nexport { elementParents as a, elementOffset as b, createElement as c, now as d, elementChildren as e, elementOuterSize as f, getSlideTransformEl as g, elementIndex as h, classesToTokens as i, getTranslate as j, elementTransitionEnd as k, isObject as l, makeElementsArray as m, nextTick as n, getRotateFix as o, elementStyle as p, elementNextAll as q, elementPrevAll as r, setCSSProperty as s, animateCSSModeScroll as t, showWarning as u, elementIsChildOf as v, extend as w, deleteProps as x };\n"],"names":["classesToTokens","classes","c","deleteProps","obj","object","key","nextTick","callback","delay","now","getComputedStyle","el","window","getWindow","style","getTranslate","axis","matrix","curTransform","transformMatrix","curStyle","a","isObject","o","isNode","node","extend","to","noExtend","i","nextSource","keysArray","nextIndex","len","nextKey","desc","setCSSProperty","varName","varValue","animateCSSModeScroll","_ref","swiper","targetPosition","side","startPosition","startTime","time","duration","dir","isOutOfBound","current","target","animate","progress","easeProgress","currentPosition","elementChildren","element","selector","children","elementIsChildOfSlot","slot","elementsQueue","elementToCheck","elementIsChildOf","parent","isChild","showWarning","text","createElement","tag","elementPrevAll","prevEls","prev","elementNextAll","nextEls","next","elementStyle","prop","elementIndex","child","elementParents","parents","elementOuterSize","size","includeMargins","makeElementsArray","e"],"mappings":";AAEA,SAASA,EAAgBC,GAAS;AAChC,SAAIA,MAAY,WACdA,IAAU,KAELA,EAAQ,OAAO,MAAM,GAAG,EAAE,OAAO,CAAAC,MAAK,CAAC,CAACA,EAAE,KAAI,CAAE;AACzD;AAEA,SAASC,EAAYC,GAAK;AACxB,QAAMC,IAASD;AACf,SAAO,KAAKC,CAAM,EAAE,QAAQ,CAAAC,MAAO;AACjC,QAAI;AACF,MAAAD,EAAOC,CAAG,IAAI;AAAA,IACf,QAAW;AAAA,IAEhB;AACI,QAAI;AACF,aAAOD,EAAOC,CAAG;AAAA,IAClB,QAAW;AAAA,IAEhB;AAAA,EACA,CAAG;AACH;AACA,SAASC,EAASC,GAAUC,GAAO;AACjC,SAAIA,MAAU,WACZA,IAAQ,IAEH,WAAWD,GAAUC,CAAK;AACnC;AACA,SAASC,IAAM;AACb,SAAO,KAAK,IAAK;AACnB;AACA,SAASC,EAAiBC,GAAI;AAC5B,QAAMC,IAASC,EAAW;AAC1B,MAAIC;AACJ,SAAIF,EAAO,qBACTE,IAAQF,EAAO,iBAAiBD,GAAI,IAAI,IAEtC,CAACG,KAASH,EAAG,iBACfG,IAAQH,EAAG,eAERG,MACHA,IAAQH,EAAG,QAEN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iB,YAAY,CAAC,IAAI,WAAWxE,EAAO,iBAAiBD,GAAI,IAAI,EAAE,iBAAiByE,MAAS,UAAU,gBAAgB,eAAe,CAAC;AAGvS;AACA,SAASE,EAAkB3E,GAAI;AAC7B,UAAQ,MAAM,QAAQA,CAAE,IAAIA,IAAK,CAACA,CAAE,GAAG,OAAO,CAAA4E,MAAK,CAAC,CAACA,CAAC;AACxD;","x_google_ignoreList":[0]}
@@ -1,43 +1,7 @@
1
- import { __module as s } from "./index.es482.js";
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */
7
- var u;
8
- function c() {
9
- return u ? s.exports : (u = 1, function(i) {
10
- (function() {
11
- var f = {}.hasOwnProperty;
12
- function n() {
13
- for (var r = "", t = 0; t < arguments.length; t++) {
14
- var e = arguments[t];
15
- e && (r = o(r, a(e)));
16
- }
17
- return r;
18
- }
19
- function a(r) {
20
- if (typeof r == "string" || typeof r == "number")
21
- return r;
22
- if (typeof r != "object")
23
- return "";
24
- if (Array.isArray(r))
25
- return n.apply(null, r);
26
- if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
27
- return r.toString();
28
- var t = "";
29
- for (var e in r)
30
- f.call(r, e) && r[e] && (t = o(t, e));
31
- return t;
32
- }
33
- function o(r, t) {
34
- return t ? r ? r + " " + t : r + t : r;
35
- }
36
- i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
37
- })();
38
- }(s), s.exports);
1
+ function r(e) {
2
+ return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
39
3
  }
40
4
  export {
41
- c as __require
5
+ r as c
42
6
  };
43
7
  //# sourceMappingURL=index.es481.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es481.js","sources":["../node_modules/classnames/index.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module"],"mappings":";;;;;;;;;AAOA,KAAC,WAAY;AAGZ,UAAIA,IAAS,CAAA,EAAG;AAEhB,eAASC,IAAc;AAGtB,iBAFIC,IAAU,IAELC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAC1C,cAAIC,IAAM,UAAUD,CAAC;AACrB,UAAIC,MACHF,IAAUG,EAAYH,GAASI,EAAWF,CAAG,CAAC;AAAA,QAElD;AAEE,eAAOF;AAAA,MACT;AAEC,eAASI,EAAYF,GAAK;AACzB,YAAI,OAAOA,KAAQ,YAAY,OAAOA,KAAQ;AAC7C,iBAAOA;AAGR,YAAI,OAAOA,KAAQ;AAClB,iBAAO;AAGR,YAAI,MAAM,QAAQA,CAAG;AACpB,iBAAOH,EAAW,MAAM,MAAMG,CAAG;AAGlC,YAAIA,EAAI,aAAa,OAAO,UAAU,YAAY,CAACA,EAAI,SAAS,SAAQ,EAAG,SAAS,eAAe;AAClG,iBAAOA,EAAI,SAAU;AAGtB,YAAIF,IAAU;AAEd,iBAASK,KAAOH;AACf,UAAIJ,EAAO,KAAKI,GAAKG,CAAG,KAAKH,EAAIG,CAAG,MACnCL,IAAUG,EAAYH,GAASK,CAAG;AAIpC,eAAOL;AAAA,MACT;AAEC,eAASG,EAAaG,GAAOC,GAAU;AACtC,eAAKA,IAIDD,IACIA,IAAQ,MAAMC,IAGfD,IAAQC,IAPPD;AAAA,MAQV;AAEC,MAAqCE,EAAO,WAC3CT,EAAW,UAAUA,GACrBS,YAAiBT,KAOjB,OAAO,aAAaA;AAAA,IAEtB;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es481.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}