@a-ui/react 7.13.0-beta.5 → 7.13.0-beta.7

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 (453) hide show
  1. package/cjs/index10.js +1 -1
  2. package/cjs/index100.js +1 -1
  3. package/cjs/index101.js +1 -1
  4. package/cjs/index102.js +1 -1
  5. package/cjs/index103.js +1 -1
  6. package/cjs/index104.js +1 -1
  7. package/cjs/index105.js +1 -1
  8. package/cjs/index106.js +1 -1
  9. package/cjs/index107.js +1 -1
  10. package/cjs/index108.js +1 -1
  11. package/cjs/index109.js +1 -1
  12. package/cjs/index11.js +1 -1
  13. package/cjs/index110.js +1 -1
  14. package/cjs/index111.js +1 -1
  15. package/cjs/index112.js +1 -1
  16. package/cjs/index113.js +1 -1
  17. package/cjs/index114.js +1 -2
  18. package/cjs/index115.js +1 -1
  19. package/cjs/index116.js +1 -1
  20. package/cjs/index117.js +1 -1
  21. package/cjs/index118.js +1 -1
  22. package/cjs/index119.js +1 -10
  23. package/cjs/index12.js +1 -1
  24. package/cjs/index120.js +1 -1
  25. package/cjs/index121.js +1 -1
  26. package/cjs/index122.js +1 -1
  27. package/cjs/index123.js +1 -1
  28. package/cjs/index124.js +1 -1
  29. package/cjs/index125.js +1 -1
  30. package/cjs/index126.js +1 -5
  31. package/cjs/index127.js +1 -9
  32. package/cjs/index128.js +1 -1
  33. package/cjs/index129.js +1 -1
  34. package/cjs/index13.js +1 -1
  35. package/cjs/index130.js +1 -1
  36. package/cjs/index131.js +1 -1
  37. package/cjs/index132.js +1 -1
  38. package/cjs/index133.js +1 -1
  39. package/cjs/index134.js +1 -1
  40. package/cjs/index135.js +1 -1
  41. package/cjs/index136.js +1 -1
  42. package/cjs/index137.js +1 -1
  43. package/cjs/index138.js +5 -8
  44. package/cjs/index139.js +1 -8
  45. package/cjs/index14.js +1 -1
  46. package/cjs/index140.js +1 -5
  47. package/cjs/index141.js +1 -1
  48. package/cjs/index142.js +1 -1
  49. package/cjs/index143.js +1 -1
  50. package/cjs/index144.js +1 -1
  51. package/cjs/index145.js +1 -11
  52. package/cjs/index146.js +1 -1
  53. package/cjs/index147.js +1 -1
  54. package/cjs/index148.js +1 -1
  55. package/cjs/index149.js +1 -1
  56. package/cjs/index150.js +1 -1
  57. package/cjs/index151.js +1 -1
  58. package/cjs/index152.js +1 -1
  59. package/cjs/index153.js +1 -1
  60. package/cjs/index154.js +1 -1
  61. package/cjs/index155.js +1 -1
  62. package/cjs/index156.js +1 -1
  63. package/cjs/index157.js +1 -1
  64. package/cjs/index158.js +1 -1
  65. package/cjs/index159.js +1 -1
  66. package/cjs/index16.js +1 -1
  67. package/cjs/index160.js +1 -1
  68. package/cjs/index161.js +1 -1
  69. package/cjs/index162.js +1 -1
  70. package/cjs/index163.js +1 -1
  71. package/cjs/index164.js +1 -1
  72. package/cjs/index165.js +1 -1
  73. package/cjs/index166.js +1 -1
  74. package/cjs/index167.js +1 -1
  75. package/cjs/index168.js +1 -1
  76. package/cjs/index169.js +1 -1
  77. package/cjs/index17.js +1 -1
  78. package/cjs/index170.js +1 -1
  79. package/cjs/index171.js +1 -1
  80. package/cjs/index172.js +1 -1
  81. package/cjs/index173.js +1 -1
  82. package/cjs/index174.js +1 -1
  83. package/cjs/index175.js +1 -1
  84. package/cjs/index176.js +1 -1
  85. package/cjs/index177.js +1 -1
  86. package/cjs/index178.js +1 -1
  87. package/cjs/index179.js +1 -1
  88. package/cjs/index18.js +1 -1
  89. package/cjs/index180.js +1 -1
  90. package/cjs/index181.js +1 -1
  91. package/cjs/index182.js +1 -1
  92. package/cjs/index183.js +1 -1
  93. package/cjs/index184.js +1 -1
  94. package/cjs/index185.js +1 -1
  95. package/cjs/index186.js +1 -1
  96. package/cjs/index187.js +1 -1
  97. package/cjs/index188.js +1 -1
  98. package/cjs/index189.js +1 -1
  99. package/cjs/index190.js +1 -1
  100. package/cjs/index191.js +1 -1
  101. package/cjs/index192.js +1 -1
  102. package/cjs/index193.js +1 -1
  103. package/cjs/index194.js +1 -1
  104. package/cjs/index195.js +1 -1
  105. package/cjs/index196.js +1 -1
  106. package/cjs/index197.js +1 -1
  107. package/cjs/index198.js +1 -1
  108. package/cjs/index199.js +1 -1
  109. package/cjs/index2.js +1 -1
  110. package/cjs/index20.js +1 -1
  111. package/cjs/index200.js +1 -1
  112. package/cjs/index201.js +1 -1
  113. package/cjs/index202.js +1 -1
  114. package/cjs/index203.js +1 -1
  115. package/cjs/index204.js +1 -1
  116. package/cjs/index205.js +1 -1
  117. package/cjs/index206.js +1 -1
  118. package/cjs/index207.js +1 -1
  119. package/cjs/index208.js +2 -1
  120. package/cjs/index209.js +1 -1
  121. package/cjs/index21.js +1 -1
  122. package/cjs/index210.js +1 -1
  123. package/cjs/index211.js +1 -1
  124. package/cjs/index212.js +1 -1
  125. package/cjs/index213.js +10 -1
  126. package/cjs/index214.js +1 -1
  127. package/cjs/index215.js +1 -1
  128. package/cjs/index216.js +1 -1
  129. package/cjs/index217.js +1 -1
  130. package/cjs/index218.js +1 -1
  131. package/cjs/index219.js +1 -1
  132. package/cjs/index22.js +1 -1
  133. package/cjs/index220.js +5 -1
  134. package/cjs/index221.js +9 -1
  135. package/cjs/index222.js +1 -1
  136. package/cjs/index223.js +8 -1
  137. package/cjs/index224.js +8 -1
  138. package/cjs/index225.js +5 -1
  139. package/cjs/index226.js +1 -1
  140. package/cjs/index227.js +1 -1
  141. package/cjs/index228.js +1 -1
  142. package/cjs/index229.js +11 -1
  143. package/cjs/index230.js +1 -1
  144. package/cjs/index231.js +1 -1
  145. package/cjs/index232.js +1 -1
  146. package/cjs/index233.js +1 -1
  147. package/cjs/index234.js +1 -1
  148. package/cjs/index235.js +1 -1
  149. package/cjs/index24.js +1 -1
  150. package/cjs/index25.js +1 -1
  151. package/cjs/index26.js +1 -1
  152. package/cjs/index27.js +1 -1
  153. package/cjs/index28.js +1 -1
  154. package/cjs/index3.js +1 -1
  155. package/cjs/index30.js +1 -1
  156. package/cjs/index31.js +1 -1
  157. package/cjs/index32.js +1 -1
  158. package/cjs/index33.js +1 -1
  159. package/cjs/index34.js +1 -1
  160. package/cjs/index36.js +1 -1
  161. package/cjs/index37.js +1 -1
  162. package/cjs/index38.js +1 -1
  163. package/cjs/index39.js +1 -1
  164. package/cjs/index4.js +1 -1
  165. package/cjs/index40.js +1 -1
  166. package/cjs/index41.js +1 -1
  167. package/cjs/index42.js +1 -1
  168. package/cjs/index43.js +1 -1
  169. package/cjs/index44.js +1 -1
  170. package/cjs/index45.js +1 -1
  171. package/cjs/index46.js +1 -1
  172. package/cjs/index47.js +1 -1
  173. package/cjs/index48.js +1 -1
  174. package/cjs/index49.js +1 -1
  175. package/cjs/index50.js +1 -1
  176. package/cjs/index51.js +1 -1
  177. package/cjs/index52.js +1 -1
  178. package/cjs/index53.js +1 -1
  179. package/cjs/index55.js +1 -1
  180. package/cjs/index57.js +1 -1
  181. package/cjs/index58.js +1 -1
  182. package/cjs/index59.js +1 -1
  183. package/cjs/index6.js +1 -1
  184. package/cjs/index60.js +1 -1
  185. package/cjs/index61.js +1 -7
  186. package/cjs/index62.js +1 -1
  187. package/cjs/index63.js +1 -1
  188. package/cjs/index64.js +1 -1
  189. package/cjs/index65.js +1 -1
  190. package/cjs/index66.js +1 -1
  191. package/cjs/index67.js +1 -1
  192. package/cjs/index68.js +1 -1
  193. package/cjs/index69.js +1 -1
  194. package/cjs/index70.js +1 -1
  195. package/cjs/index71.js +1 -1
  196. package/cjs/index72.js +1 -1
  197. package/cjs/index73.js +1 -1
  198. package/cjs/index74.js +1 -1
  199. package/cjs/index76.js +1 -1
  200. package/cjs/index77.js +1 -1
  201. package/cjs/index78.js +1 -1
  202. package/cjs/index79.js +7 -1
  203. package/cjs/index8.js +1 -1
  204. package/cjs/index82.js +1 -1
  205. package/cjs/index83.js +1 -1
  206. package/cjs/index84.js +1 -1
  207. package/cjs/index85.js +1 -1
  208. package/cjs/index87.js +1 -1
  209. package/cjs/index88.js +1 -1
  210. package/cjs/index89.js +1 -1
  211. package/cjs/index9.js +1 -1
  212. package/cjs/index90.js +1 -1
  213. package/cjs/index91.js +1 -5
  214. package/cjs/index92.js +1 -1
  215. package/cjs/index93.js +1 -1
  216. package/cjs/index94.js +1 -1
  217. package/cjs/index95.js +1 -1
  218. package/cjs/index96.js +1 -1
  219. package/cjs/index97.js +1 -1
  220. package/cjs/index98.js +1 -1
  221. package/cjs/index99.js +1 -1
  222. package/es/index10.mjs +3 -3
  223. package/es/index100.mjs +5 -4
  224. package/es/index101.mjs +5 -11
  225. package/es/index102.mjs +7 -247
  226. package/es/index103.mjs +4 -88
  227. package/es/index104.mjs +6 -14
  228. package/es/index105.mjs +5 -4
  229. package/es/index106.mjs +7 -2
  230. package/es/index107.mjs +13 -2
  231. package/es/index108.mjs +16 -2
  232. package/es/index109.mjs +8 -390
  233. package/es/index11.mjs +1 -1
  234. package/es/index110.mjs +5 -124
  235. package/es/index111.mjs +5 -133
  236. package/es/index112.mjs +5 -2
  237. package/es/index113.mjs +512 -7
  238. package/es/index114.mjs +49 -326
  239. package/es/index115.mjs +17 -49
  240. package/es/index116.mjs +18 -2
  241. package/es/index117.mjs +4 -64
  242. package/es/index118.mjs +8 -43
  243. package/es/index119.mjs +5 -59
  244. package/es/index12.mjs +14 -14
  245. package/es/index120.mjs +6 -45
  246. package/es/index121.mjs +5 -39
  247. package/es/index122.mjs +9 -2
  248. package/es/index123.mjs +5 -2
  249. package/es/index124.mjs +8 -2
  250. package/es/index125.mjs +11 -30
  251. package/es/index126.mjs +9 -19
  252. package/es/index127.mjs +8 -60
  253. package/es/index128.mjs +12 -62
  254. package/es/index129.mjs +3 -13
  255. package/es/index13.mjs +2 -2
  256. package/es/index130.mjs +32 -6
  257. package/es/index131.mjs +65 -7
  258. package/es/index132.mjs +7 -5
  259. package/es/index133.mjs +7 -5
  260. package/es/index134.mjs +6 -4
  261. package/es/index135.mjs +6 -6
  262. package/es/index136.mjs +13 -4
  263. package/es/index137.mjs +398 -2
  264. package/es/index138.mjs +38 -74
  265. package/es/index139.mjs +57 -93
  266. package/es/index14.mjs +3 -3
  267. package/es/index140.mjs +19 -49
  268. package/es/index141.mjs +40 -7
  269. package/es/index142.mjs +60 -4
  270. package/es/index143.mjs +29 -49
  271. package/es/index144.mjs +13 -2
  272. package/es/index145.mjs +58 -54
  273. package/es/index146.mjs +62 -2
  274. package/es/index147.mjs +63 -2
  275. package/es/index148.mjs +62 -4
  276. package/es/index149.mjs +39 -4
  277. package/es/index150.mjs +41 -7
  278. package/es/index151.mjs +52 -12
  279. package/es/index152.mjs +42 -15
  280. package/es/index153.mjs +36 -8
  281. package/es/index154.mjs +65 -5
  282. package/es/index155.mjs +65 -5
  283. package/es/index156.mjs +90 -4
  284. package/es/index157.mjs +19 -491
  285. package/es/index158.mjs +39 -48
  286. package/es/index159.mjs +40 -17
  287. package/es/index16.mjs +1 -1
  288. package/es/index160.mjs +24 -17
  289. package/es/index161.mjs +23 -4
  290. package/es/index162.mjs +23 -7
  291. package/es/index163.mjs +24 -5
  292. package/es/index164.mjs +23 -4
  293. package/es/index165.mjs +23 -5
  294. package/es/index166.mjs +13 -8
  295. package/es/index167.mjs +39 -4
  296. package/es/index168.mjs +39 -7
  297. package/es/index169.mjs +13 -11
  298. package/es/index17.mjs +4 -4
  299. package/es/index170.mjs +13 -8
  300. package/es/index171.mjs +23 -8
  301. package/es/index172.mjs +2 -13
  302. package/es/index173.mjs +235 -4
  303. package/es/index174.mjs +2 -33
  304. package/es/index175.mjs +2 -65
  305. package/es/index176.mjs +390 -7
  306. package/es/index177.mjs +124 -7
  307. package/es/index178.mjs +133 -6
  308. package/es/index179.mjs +68 -7
  309. package/es/index18.mjs +8 -8
  310. package/es/index180.mjs +31 -14
  311. package/es/index181.mjs +9 -2
  312. package/es/index182.mjs +153 -2
  313. package/es/index183.mjs +108 -2
  314. package/es/index184.mjs +19 -56
  315. package/es/index185.mjs +98 -19
  316. package/es/index186.mjs +47 -41
  317. package/es/index187.mjs +11 -61
  318. package/es/index188.mjs +245 -30
  319. package/es/index189.mjs +86 -10
  320. package/es/index190.mjs +14 -63
  321. package/es/index191.mjs +4 -62
  322. package/es/index192.mjs +2 -63
  323. package/es/index193.mjs +2 -63
  324. package/es/index194.mjs +58 -39
  325. package/es/index195.mjs +8 -40
  326. package/es/index196.mjs +18 -51
  327. package/es/index197.mjs +67 -42
  328. package/es/index198.mjs +31 -37
  329. package/es/index199.mjs +9 -66
  330. package/es/index2.mjs +1 -1
  331. package/es/index20.mjs +2 -2
  332. package/es/index200.mjs +107 -65
  333. package/es/index201.mjs +106 -90
  334. package/es/index202.mjs +6 -40
  335. package/es/index203.mjs +14 -39
  336. package/es/index204.mjs +28 -40
  337. package/es/index205.mjs +12 -24
  338. package/es/index206.mjs +2 -24
  339. package/es/index207.mjs +7 -23
  340. package/es/index208.mjs +324 -22
  341. package/es/index209.mjs +47 -21
  342. package/es/index21.mjs +1 -1
  343. package/es/index210.mjs +2 -24
  344. package/es/index211.mjs +62 -11
  345. package/es/index212.mjs +41 -38
  346. package/es/index213.mjs +58 -38
  347. package/es/index214.mjs +45 -15
  348. package/es/index215.mjs +37 -11
  349. package/es/index216.mjs +2 -68
  350. package/es/index217.mjs +2 -31
  351. package/es/index218.mjs +2 -9
  352. package/es/index219.mjs +30 -152
  353. package/es/index22.mjs +1 -1
  354. package/es/index220.mjs +19 -108
  355. package/es/index221.mjs +58 -17
  356. package/es/index222.mjs +2 -101
  357. package/es/index223.mjs +76 -47
  358. package/es/index224.mjs +93 -68
  359. package/es/index225.mjs +52 -31
  360. package/es/index226.mjs +8 -9
  361. package/es/index227.mjs +5 -108
  362. package/es/index228.mjs +51 -106
  363. package/es/index229.mjs +58 -59
  364. package/es/index230.mjs +2 -9
  365. package/es/index231.mjs +2 -20
  366. package/es/index232.mjs +2 -7
  367. package/es/index233.mjs +2 -16
  368. package/es/index234.mjs +2 -29
  369. package/es/index235.mjs +2 -13
  370. package/es/index24.mjs +3 -3
  371. package/es/index25.mjs +1 -1
  372. package/es/index26.mjs +1 -1
  373. package/es/index27.mjs +1 -1
  374. package/es/index28.mjs +1 -1
  375. package/es/index3.mjs +1 -1
  376. package/es/index30.mjs +42 -40
  377. package/es/index31.mjs +2 -2
  378. package/es/index32.mjs +2 -2
  379. package/es/index33.mjs +3 -3
  380. package/es/index34.mjs +1 -1
  381. package/es/index36.mjs +3 -3
  382. package/es/index37.mjs +3 -3
  383. package/es/index38.mjs +3 -3
  384. package/es/index39.mjs +3 -3
  385. package/es/index4.mjs +2 -2
  386. package/es/index40.mjs +2 -2
  387. package/es/index41.mjs +1 -1
  388. package/es/index42.mjs +4 -4
  389. package/es/index43.mjs +1 -1
  390. package/es/index44.mjs +2 -2
  391. package/es/index45.mjs +3 -3
  392. package/es/index46.mjs +3 -3
  393. package/es/index47.mjs +2 -2
  394. package/es/index48.mjs +1 -1
  395. package/es/index49.mjs +2 -2
  396. package/es/index50.mjs +1 -1
  397. package/es/index51.mjs +8 -11
  398. package/es/index52.mjs +47 -6
  399. package/es/index53.mjs +28 -21
  400. package/es/index55.mjs +46 -27
  401. package/es/index57.mjs +2 -49
  402. package/es/index58.mjs +74 -30
  403. package/es/index59.mjs +11 -17
  404. package/es/index6.mjs +3 -3
  405. package/es/index60.mjs +27 -27
  406. package/es/index61.mjs +34 -407
  407. package/es/index62.mjs +3 -28
  408. package/es/index63.mjs +33 -34
  409. package/es/index64.mjs +5 -17
  410. package/es/index65.mjs +4 -34
  411. package/es/index66.mjs +5 -2
  412. package/es/index67.mjs +4 -73
  413. package/es/index68.mjs +4 -28
  414. package/es/index69.mjs +16 -35
  415. package/es/index70.mjs +28 -3
  416. package/es/index71.mjs +80 -30
  417. package/es/index72.mjs +5 -4
  418. package/es/index73.mjs +24 -4
  419. package/es/index74.mjs +54 -4
  420. package/es/index76.mjs +4 -4
  421. package/es/index77.mjs +118 -16
  422. package/es/index78.mjs +19 -83
  423. package/es/index79.mjs +408 -5
  424. package/es/index8.mjs +2 -2
  425. package/es/index82.mjs +16 -84
  426. package/es/index83.mjs +30 -5
  427. package/es/index84.mjs +13 -118
  428. package/es/index85.mjs +57 -60
  429. package/es/index87.mjs +60 -12
  430. package/es/index88.mjs +57 -56
  431. package/es/index89.mjs +5 -5
  432. package/es/index9.mjs +1 -1
  433. package/es/index90.mjs +59 -390
  434. package/es/index91.mjs +3 -40
  435. package/es/index92.mjs +4 -23
  436. package/es/index93.mjs +11 -2
  437. package/es/index94.mjs +5 -235
  438. package/es/index95.mjs +63 -2
  439. package/es/index96.mjs +13 -66
  440. package/es/index97.mjs +7 -3
  441. package/es/index98.mjs +6 -4
  442. package/es/index99.mjs +5 -10
  443. package/package.json +1 -1
  444. package/cjs/index56.js +0 -1
  445. package/cjs/index75.js +0 -1
  446. package/cjs/index80.js +0 -1
  447. package/cjs/index81.js +0 -1
  448. package/cjs/index86.js +0 -1
  449. package/es/index56.mjs +0 -49
  450. package/es/index75.mjs +0 -7
  451. package/es/index80.mjs +0 -27
  452. package/es/index81.mjs +0 -57
  453. package/es/index86.mjs +0 -62
package/cjs/index10.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),A=require("./index52.js"),e=require("./index55.js"),I=require("./index57.js"),S=require("react"),M=require("./index54.js");function T({addOn:t,ariaLabel:s,children:f,className:p,disabled:b,emphasis:i=e.DEFAULT_EMPHASIS,fullWidth:y,htmlType:E="button",id:v,onClick:q,qa:_,size:o,theme:u,title:j,link:a,renderLinkFunction:h,...r}){const g={"a-button":!0,[`a-button--${e.SIZE_MAP[o||e.DEFAULT_SIZE]}`]:!!o,[`a-button--${u}`]:!!u&&!(u===e.Theme.NEUTRAL&&i===e.Emphasis.HIGH),"a-button--outlined":i===e.Emphasis.MEDIUM,"a-button--text":i===e.Emphasis.LOW,"a-button--full":!!y,"has-icon":["icon","spinner"].includes(t?.type||"")&&!["left","right"].includes(t?.align||""),"has-icon-left":t?.type!=="avatar"&&t?.align==="left","has-icon-right":t?.type!=="avatar"&&t?.align==="right"||t?.type==="spinner"&&t?.align!=="left","has-avatar":t?.type==="avatar","has-avatar-with-inset":t?.type==="avatar"&&(!!t.avatarProps?.letter||!!t.avatarProps?.image),[`${p}`]:!!p},m=A.classNames(g);S.useEffect(()=>{t?.type==="icon"&&!["left","right"].includes(t?.align||"")&&!s&&M.logWarning("Using an Icon Button without an aria-label")},[t,s]);const l={id:v,className:m,title:j,type:E,"aria-label":s,"data-qa":_,...r["aria-haspopup"]?{"aria-haspopup":!0}:{},...r["aria-expanded"]===!0||r["aria-expanded"]===!1?{"aria-expanded":r["aria-expanded"]}:{}},c=n.jsxs(n.Fragment,{children:[I.renderAddOn(t,o),g["has-icon"]?null:f]}),x=()=>h?h({...a,label:c},l):n.jsx("a",{...l,href:a?.href,target:a?.target,children:c});return a&&a.href?x():n.jsx("button",{...l,onClick:q,disabled:b,children:c})}exports.Button=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),A=require("./index51.js"),e=require("./index53.js"),I=require("./index52.js"),S=require("react"),M=require("./index54.js");function T({addOn:t,ariaLabel:s,children:f,className:p,disabled:b,emphasis:i=e.DEFAULT_EMPHASIS,fullWidth:y,htmlType:E="button",id:v,onClick:q,qa:_,size:o,theme:u,title:j,link:a,renderLinkFunction:h,...r}){const g={"a-button":!0,[`a-button--${e.SIZE_MAP[o||e.DEFAULT_SIZE]}`]:!!o,[`a-button--${u}`]:!!u&&!(u===e.Theme.NEUTRAL&&i===e.Emphasis.HIGH),"a-button--outlined":i===e.Emphasis.MEDIUM,"a-button--text":i===e.Emphasis.LOW,"a-button--full":!!y,"has-icon":["icon","spinner"].includes(t?.type||"")&&!["left","right"].includes(t?.align||""),"has-icon-left":t?.type!=="avatar"&&t?.align==="left","has-icon-right":t?.type!=="avatar"&&t?.align==="right"||t?.type==="spinner"&&t?.align!=="left","has-avatar":t?.type==="avatar","has-avatar-with-inset":t?.type==="avatar"&&(!!t.avatarProps?.letter||!!t.avatarProps?.image),[`${p}`]:!!p},m=A.classNames(g);S.useEffect(()=>{t?.type==="icon"&&!["left","right"].includes(t?.align||"")&&!s&&M.logWarning("Using an Icon Button without an aria-label")},[t,s]);const l={id:v,className:m,title:j,type:E,"aria-label":s,"data-qa":_,...r["aria-haspopup"]?{"aria-haspopup":!0}:{},...r["aria-expanded"]===!0||r["aria-expanded"]===!1?{"aria-expanded":r["aria-expanded"]}:{}},c=n.jsxs(n.Fragment,{children:[I.renderAddOn(t,o),g["has-icon"]?null:f]}),x=()=>h?h({...a,label:c},l):n.jsx("a",{...l,href:a?.href,target:a?.target,children:c});return a&&a.href?x():n.jsx("button",{...l,onClick:q,disabled:b,children:c})}exports.Button=T;
package/cjs/index100.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index149.js");function o(e,r){return+t.toDate(e)>+t.toDate(r)}exports.isAfter=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index105.js");function u(e,n){const t=r.toDate(e,n?.in),o=t.getMonth();return t.setFullYear(t.getFullYear(),o+1,0),t.setHours(23,59,59,999),t}exports.endOfMonth=u;
package/cjs/index101.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index112.js"),r=require("./index113.js"),o=require("./index114.js"),t=require("./index115.js");if(process.env.NODE_ENV!=="production"){var i=r.__require(),s=!0;e.__module.exports=o.__require()(i.isElement,s)}else e.__module.exports=t.__require()();var p=e.__module.exports;exports.propTypesExports=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index102.js");function r(e,d,t){return a.addDays(e,d*7,t)}exports.addWeeks=r;
package/cjs/index102.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index116.js"),$=require("react"),V=require("./index101.js");require("./index117.js");const z=require("./index118.js");require("./index103.js");require("./index119.js");require("./index104.js");require("./index120.js");require("./index121.js");const G=require("./index106.js"),J=require("./index122.js"),Q=require("./index107.js"),X=require("./index123.js"),Y=require("./index124.js"),Z=i=>i&&typeof i=="object"&&"default"in i?i:{default:i},ee=Z($);(function(i,v){Object.defineProperty(v,"__esModule",{value:!0});var d=Object.assign||function(s){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(s[e]=a[e])}return s},A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},R=function(){function s(n,a){for(var e=0;e<a.length;e++){var t=a[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}return function(n,a,e){return a&&s(n.prototype,a),e&&s(n,e),n}}(),g=ee.default,w=V.propTypesExports,o=h(w),q=Y.__exports,c=b(q),D=z.scopeTabExports,F=h(D),H=Q.__exports,M=b(H),k=J.__exports,m=b(k),C=G.__exports,N=h(C),x=X.__exports,E=h(x);function b(s){if(s&&s.__esModule)return s;var n={};if(s!=null)for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(n[a]=s[a]);return n.default=s,n}function h(s){return s&&s.__esModule?s:{default:s}}function P(s,n){if(!(s instanceof n))throw new TypeError("Cannot call a class as a function")}function L(s,n){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:s}function j(s,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);s.prototype=Object.create(n&&n.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(s,n):s.__proto__=n)}var _={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},W=function(n){return n.code==="Tab"||n.keyCode===9},I=function(n){return n.code==="Escape"||n.keyCode===27},y=0,T=function(s){j(n,s);function n(a){P(this,n);var e=L(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,a));return e.setOverlayRef=function(t){e.overlay=t,e.props.overlayRef&&e.props.overlayRef(t)},e.setContentRef=function(t){e.content=t,e.props.contentRef&&e.props.contentRef(t)},e.afterClose=function(){var t=e.props,l=t.appElement,u=t.ariaHideApp,r=t.htmlOpenClassName,f=t.bodyOpenClassName,p=t.parentSelector,O=p&&p().ownerDocument||document;f&&m.remove(O.body,f),r&&m.remove(O.getElementsByTagName("html")[0],r),u&&y>0&&(y-=1,y===0&&M.show(l)),e.props.shouldFocusAfterRender&&(e.props.shouldReturnFocusAfterClose?(c.returnFocus(e.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),e.props.onAfterClose&&e.props.onAfterClose(),E.default.deregister(e)},e.open=function(){e.beforeOpen(),e.state.afterOpen&&e.state.beforeClose?(clearTimeout(e.closeTimer),e.setState({beforeClose:!1})):(e.props.shouldFocusAfterRender&&(c.setupScopedFocus(e.node),c.markForFocusLater()),e.setState({isOpen:!0},function(){e.openAnimationFrame=requestAnimationFrame(function(){e.setState({afterOpen:!0}),e.props.isOpen&&e.props.onAfterOpen&&e.props.onAfterOpen({overlayEl:e.overlay,contentEl:e.content})})}))},e.close=function(){e.props.closeTimeoutMS>0?e.closeWithTimeout():e.closeWithoutTimeout()},e.focusContent=function(){return e.content&&!e.contentHasFocus()&&e.content.focus({preventScroll:!0})},e.closeWithTimeout=function(){var t=Date.now()+e.props.closeTimeoutMS;e.setState({beforeClose:!0,closesAt:t},function(){e.closeTimer=setTimeout(e.closeWithoutTimeout,e.state.closesAt-Date.now())})},e.closeWithoutTimeout=function(){e.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},e.afterClose)},e.handleKeyDown=function(t){W(t)&&(0,F.default)(e.content,t),e.props.shouldCloseOnEsc&&I(t)&&(t.stopPropagation(),e.requestClose(t))},e.handleOverlayOnClick=function(t){e.shouldClose===null&&(e.shouldClose=!0),e.shouldClose&&e.props.shouldCloseOnOverlayClick&&(e.ownerHandlesClose()?e.requestClose(t):e.focusContent()),e.shouldClose=null},e.handleContentOnMouseUp=function(){e.shouldClose=!1},e.handleOverlayOnMouseDown=function(t){!e.props.shouldCloseOnOverlayClick&&t.target==e.overlay&&t.preventDefault()},e.handleContentOnClick=function(){e.shouldClose=!1},e.handleContentOnMouseDown=function(){e.shouldClose=!1},e.requestClose=function(t){return e.ownerHandlesClose()&&e.props.onRequestClose(t)},e.ownerHandlesClose=function(){return e.props.onRequestClose},e.shouldBeClosed=function(){return!e.state.isOpen&&!e.state.beforeClose},e.contentHasFocus=function(){return document.activeElement===e.content||e.content.contains(document.activeElement)},e.buildClassName=function(t,l){var u=(typeof l>"u"?"undefined":A(l))==="object"?l:{base:_[t],afterOpen:_[t]+"--after-open",beforeClose:_[t]+"--before-close"},r=u.base;return e.state.afterOpen&&(r=r+" "+u.afterOpen),e.state.beforeClose&&(r=r+" "+u.beforeClose),typeof l=="string"&&l?r+" "+l:r},e.attributesFromObject=function(t,l){return Object.keys(l).reduce(function(u,r){return u[t+"-"+r]=l[r],u},{})},e.state={afterOpen:!1,beforeClose:!1},e.shouldClose=null,e.moveFromContentToOverlay=null,e}return R(n,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){process.env.NODE_ENV!=="production"&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,l=e.ariaHideApp,u=e.htmlOpenClassName,r=e.bodyOpenClassName,f=e.parentSelector,p=f&&f().ownerDocument||document;r&&m.add(p.body,r),u&&m.add(p.getElementsByTagName("html")[0],u),l&&(y+=1,M.hide(t)),E.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,l=e.className,u=e.overlayClassName,r=e.defaultStyles,f=e.children,p=l?{}:r.content,O=u?{}:r.overlay;if(this.shouldBeClosed())return null;var K={ref:this.setOverlayRef,className:this.buildClassName("overlay",u),style:d({},O,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},U=d({id:t,ref:this.setContentRef,style:d({},p,this.props.style.content),className:this.buildClassName("content",l),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",d({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),B=this.props.contentElement(U,f);return this.props.overlayElement(K,B)}}]),n}(g.Component);T.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},T.propTypes={isOpen:o.default.bool.isRequired,defaultStyles:o.default.shape({content:o.default.object,overlay:o.default.object}),style:o.default.shape({content:o.default.object,overlay:o.default.object}),className:o.default.oneOfType([o.default.string,o.default.object]),overlayClassName:o.default.oneOfType([o.default.string,o.default.object]),parentSelector:o.default.func,bodyOpenClassName:o.default.string,htmlOpenClassName:o.default.string,ariaHideApp:o.default.bool,appElement:o.default.oneOfType([o.default.instanceOf(N.default),o.default.instanceOf(C.SafeHTMLCollection),o.default.instanceOf(C.SafeNodeList),o.default.arrayOf(o.default.instanceOf(N.default))]),onAfterOpen:o.default.func,onAfterClose:o.default.func,onRequestClose:o.default.func,closeTimeoutMS:o.default.number,shouldFocusAfterRender:o.default.bool,shouldCloseOnOverlayClick:o.default.bool,shouldReturnFocusAfterClose:o.default.bool,preventScroll:o.default.bool,role:o.default.string,contentLabel:o.default.string,aria:o.default.object,data:o.default.object,children:o.default.node,shouldCloseOnEsc:o.default.bool,overlayRef:o.default.func,contentRef:o.default.func,id:o.default.string,overlayElement:o.default.func,contentElement:o.default.func,testId:o.default.string},v.default=T,i.exports=v.default})(S.__module,S.__module.exports);var te=S.__module.exports;exports.ModalPortalExports=te;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index104.js"),c=require("./index105.js");function i(r,e,n){const t=c.toDate(r,n?.in);return isNaN(e)?a.constructFrom(n?.in||r,NaN):(e&&t.setDate(t.getDate()+e),t)}exports.addDays=i;
package/cjs/index103.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./index107.js"),c=require("./index125.js");require("./index104.js");const m=require("./index106.js");Object.defineProperty(n.__exports,"__esModule",{value:!0});n.__exports.resetState=E;n.__exports.log=g;n.__exports.assertNodeList=f;n.__exports.setElement=h;n.__exports.validateElement=d;n.__exports.hide=A;n.__exports.show=x;n.__exports.documentNotReadyOrSSRTesting=w;var _=c.warning_1,p=y(_),v=m.__exports;function y(e){return e&&e.__esModule?e:{default:e}}var t=null;function E(){t&&(t.removeAttribute?t.removeAttribute("aria-hidden"):t.length!=null?t.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(t).forEach(function(e){return e.removeAttribute("aria-hidden")})),t=null}function g(){if(process.env.NODE_ENV!=="production"){var e=t||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}}function f(e,r){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+r+".")}function h(e){var r=e;if(typeof r=="string"&&v.canUseDOM){var o=document.querySelectorAll(r);f(o,r),r=o}return t=r||t,t}function d(e){var r=e||t;return r?Array.isArray(r)||r instanceof HTMLCollection||r instanceof NodeList?r:[r]:((0,p.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function A(e){var r=!0,o=!1,i=void 0;try{for(var a=d(e)[Symbol.iterator](),l;!(r=(l=a.next()).done);r=!0){var u=l.value;u.setAttribute("aria-hidden","true")}}catch(s){o=!0,i=s}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}}function x(e){var r=!0,o=!1,i=void 0;try{for(var a=d(e)[Symbol.iterator](),l;!(r=(l=a.next()).done);r=!0){var u=l.value;u.removeAttribute("aria-hidden")}}catch(s){o=!0,i=s}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}}function w(){t=null}exports.default=n.__exports;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index105.js");function r(t,e){return o.toDate(t,e?.in).getDate()}exports.getDate=r;
package/cjs/index104.js CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index106.js"),o=require("./index126.js");Object.defineProperty(e.__exports,"__esModule",{value:!0});e.__exports.canUseDOM=e.__exports.SafeNodeList=e.__exports.SafeHTMLCollection=void 0;var r=o.exenvExports,s=_(r);function _(t){return t&&t.__esModule?t:{default:t}}var n=s.default,a=n.canUseDOM?window.HTMLElement:{};e.__exports.SafeHTMLCollection=n.canUseDOM?window.HTMLCollection:{};e.__exports.SafeNodeList=n.canUseDOM?window.NodeList:{};e.__exports.canUseDOM=n.canUseDOM;e.__exports.default=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index106.js");function n(o,r){return typeof o=="function"?o(r):o&&typeof o=="object"&&t.constructFromSymbol in o?o[t.constructFromSymbol](r):o instanceof Date?new o.constructor(r):new Date(r)}exports.constructFrom=n;
package/cjs/index105.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index92.js"),t=require("./index127.js"),r=e.getAugmentedNamespace(t);exports.default=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index104.js");function r(t,o){return e.constructFrom(o||t,t)}exports.toDate=r;
package/cjs/index106.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=6048e5,o=864e5,s=6e4,c=36e5,e=1e3,l=Symbol.for("constructDateFrom");exports.constructFromSymbol=l;exports.millisecondsInDay=o;exports.millisecondsInHour=c;exports.millisecondsInMinute=s;exports.millisecondsInSecond=e;exports.millisecondsInWeek=n;
package/cjs/index107.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index108.js"),D=require("./index109.js"),d=require("./index106.js"),a=require("./index110.js");function m(r,s,i){const[o,l]=D.normalizeDates(i?.in,r,s),e=a.startOfDay(o),t=a.startOfDay(l),c=+e-n.getTimezoneOffsetInMilliseconds(e),f=+t-n.getTimezoneOffsetInMilliseconds(t);return Math.round((c-f)/d.millisecondsInDay)}exports.differenceInCalendarDays=m;
package/cjs/index108.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index105.js");function s(t){const e=o.toDate(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}exports.getTimezoneOffsetInMilliseconds=s;
package/cjs/index109.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index110.js");function _(l,a,d){let{reference:i,floating:f}=l;const t=e.getSideAxis(a),s=e.getAlignmentAxis(a),c=e.getAxisLength(s),g=e.getSide(a),x=t==="y",u=i.x+i.width/2-f.width/2,r=i.y+i.height/2-f.height/2,m=i[c]/2-f[c]/2;let n;switch(g){case"top":n={x:u,y:i.y-f.height};break;case"bottom":n={x:u,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:r};break;case"left":n={x:i.x-f.width,y:r};break;default:n={x:i.x,y:i.y}}switch(e.getAlignment(a)){case"start":n[s]-=m*(d&&x?-1:1);break;case"end":n[s]+=m*(d&&x?-1:1);break}return n}async function $(l,a){var d;a===void 0&&(a={});const{x:i,y:f,platform:t,rects:s,elements:c,strategy:g}=l,{boundary:x="clippingAncestors",rootBoundary:u="viewport",elementContext:r="floating",altBoundary:m=!1,padding:n=0}=e.evaluate(a,l),o=e.getPaddingObject(n),A=c[m?r==="floating"?"reference":"floating":r],p=e.rectToClientRect(await t.getClippingRect({element:(d=await(t.isElement==null?void 0:t.isElement(A)))==null||d?A:A.contextElement||await(t.getDocumentElement==null?void 0:t.getDocumentElement(c.floating)),boundary:x,rootBoundary:u,strategy:g})),y=r==="floating"?{x:i,y:f,width:s.floating.width,height:s.floating.height}:s.reference,v=await(t.getOffsetParent==null?void 0:t.getOffsetParent(c.floating)),h=await(t.isElement==null?void 0:t.isElement(v))?await(t.getScale==null?void 0:t.getScale(v))||{x:1,y:1}:{x:1,y:1},O=e.rectToClientRect(t.convertOffsetParentRelativeRectToViewportRelativeRect?await t.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:v,strategy:g}):y);return{top:(p.top-O.top+o.top)/h.y,bottom:(O.bottom-p.bottom+o.bottom)/h.y,left:(p.left-O.left+o.left)/h.x,right:(O.right-p.right+o.right)/h.x}}const X=50,Y=async(l,a,d)=>{const{placement:i="bottom",strategy:f="absolute",middleware:t=[],platform:s}=d,c=s.detectOverflow?s:{...s,detectOverflow:$},g=await(s.isRTL==null?void 0:s.isRTL(a));let x=await s.getElementRects({reference:l,floating:a,strategy:f}),{x:u,y:r}=_(x,i,g),m=i,n=0;const o={};for(let w=0;w<t.length;w++){const A=t[w];if(!A)continue;const{name:p,fn:y}=A,{x:v,y:h,data:O,reset:P}=await y({x:u,y:r,initialPlacement:i,placement:m,strategy:f,middlewareData:o,rects:x,platform:c,elements:{reference:l,floating:a}});u=v??u,r=h??r,o[p]={...o[p],...O},P&&n<X&&(n++,typeof P=="object"&&(P.placement&&(m=P.placement),P.rects&&(x=P.rects===!0?await s.getElementRects({reference:l,floating:a,strategy:f}):P.rects),{x:u,y:r}=_(x,m,g)),w=-1)}return{x:u,y:r,placement:m,strategy:f,middlewareData:o}},U=l=>({name:"arrow",options:l,async fn(a){const{x:d,y:i,placement:f,rects:t,platform:s,elements:c,middlewareData:g}=a,{element:x,padding:u=0}=e.evaluate(l,a)||{};if(x==null)return{};const r=e.getPaddingObject(u),m={x:d,y:i},n=e.getAlignmentAxis(f),o=e.getAxisLength(n),w=await s.getDimensions(x),A=n==="y",p=A?"top":"left",y=A?"bottom":"right",v=A?"clientHeight":"clientWidth",h=t.reference[o]+t.reference[n]-m[n]-t.floating[o],O=m[n]-t.reference[n],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(x));let D=P?P[v]:0;(!D||!await(s.isElement==null?void 0:s.isElement(P)))&&(D=c.floating[v]||t.floating[o]);const j=h/2-O/2,E=D/2-w[o]/2-1,C=e.min(r[p],E),V=e.min(r[y],E),L=C,F=D-w[o]-V,b=D/2-w[o]/2+j,M=e.clamp(L,b,F),k=!g.arrow&&e.getAlignment(f)!=null&&b!==M&&t.reference[o]/2-(b<L?C:V)-w[o]/2<0,S=k?b<L?b-L:b-F:0;return{[n]:m[n]+S,data:{[n]:M,centerOffset:b-M-S,...k&&{alignmentOffset:S}},reset:k}}}),W=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(a){var d,i;const{placement:f,middlewareData:t,rects:s,initialPlacement:c,platform:g,elements:x}=a,{mainAxis:u=!0,crossAxis:r=!0,fallbackPlacements:m,fallbackStrategy:n="bestFit",fallbackAxisSideDirection:o="none",flipAlignment:w=!0,...A}=e.evaluate(l,a);if((d=t.arrow)!=null&&d.alignmentOffset)return{};const p=e.getSide(f),y=e.getSideAxis(c),v=e.getSide(c)===c,h=await(g.isRTL==null?void 0:g.isRTL(x.floating)),O=m||(v||!w?[e.getOppositePlacement(c)]:e.getExpandedPlacements(c)),P=o!=="none";!m&&P&&O.push(...e.getOppositeAxisPlacements(c,w,o,h));const D=[c,...O],j=await g.detectOverflow(a,A),E=[];let C=((i=t.flip)==null?void 0:i.overflows)||[];if(u&&E.push(j[p]),r){const b=e.getAlignmentSides(f,s,h);E.push(j[b[0]],j[b[1]])}if(C=[...C,{placement:f,overflows:E}],!E.every(b=>b<=0)){var V,L;const b=(((V=t.flip)==null?void 0:V.index)||0)+1,M=D[b];if(M&&(!(r==="alignment"?y!==e.getSideAxis(M):!1)||C.every(R=>e.getSideAxis(R.placement)===y?R.overflows[0]>0:!0)))return{data:{index:b,overflows:C},reset:{placement:M}};let k=(L=C.filter(S=>S.overflows[0]<=0).sort((S,R)=>S.overflows[1]-R.overflows[1])[0])==null?void 0:L.placement;if(!k)switch(n){case"bestFit":{var F;const S=(F=C.filter(R=>{if(P){const T=e.getSideAxis(R.placement);return T===y||T==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(T=>T>0).reduce((T,B)=>T+B,0)]).sort((R,T)=>R[1]-T[1])[0])==null?void 0:F[0];S&&(k=S);break}case"initialPlacement":k=c;break}if(f!==k)return{reset:{placement:k}}}return{}}}},q=new Set(["left","top"]);async function z(l,a){const{placement:d,platform:i,elements:f}=l,t=await(i.isRTL==null?void 0:i.isRTL(f.floating)),s=e.getSide(d),c=e.getAlignment(d),g=e.getSideAxis(d)==="y",x=q.has(s)?-1:1,u=t&&g?-1:1,r=e.evaluate(a,l);let{mainAxis:m,crossAxis:n,alignmentAxis:o}=typeof r=="number"?{mainAxis:r,crossAxis:0,alignmentAxis:null}:{mainAxis:r.mainAxis||0,crossAxis:r.crossAxis||0,alignmentAxis:r.alignmentAxis};return c&&typeof o=="number"&&(n=c==="end"?o*-1:o),g?{x:n*u,y:m*x}:{x:m*x,y:n*u}}const H=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(a){var d,i;const{x:f,y:t,placement:s,middlewareData:c}=a,g=await z(a,l);return s===((d=c.offset)==null?void 0:d.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:f+g.x,y:t+g.y,data:{...g,placement:s}}}}},I=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(a){const{x:d,y:i,placement:f,platform:t}=a,{mainAxis:s=!0,crossAxis:c=!1,limiter:g={fn:p=>{let{x:y,y:v}=p;return{x:y,y:v}}},...x}=e.evaluate(l,a),u={x:d,y:i},r=await t.detectOverflow(a,x),m=e.getSideAxis(e.getSide(f)),n=e.getOppositeAxis(m);let o=u[n],w=u[m];if(s){const p=n==="y"?"top":"left",y=n==="y"?"bottom":"right",v=o+r[p],h=o-r[y];o=e.clamp(v,o,h)}if(c){const p=m==="y"?"top":"left",y=m==="y"?"bottom":"right",v=w+r[p],h=w-r[y];w=e.clamp(v,w,h)}const A=g.fn({...a,[n]:o,[m]:w});return{...A,data:{x:A.x-d,y:A.y-i,enabled:{[n]:s,[m]:c}}}}}};exports.rectToClientRect=e.rectToClientRect;exports.arrow=U;exports.computePosition=Y;exports.detectOverflow=$;exports.flip=W;exports.offset=H;exports.shift=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index104.js");function r(c,...t){const e=n.constructFrom.bind(null,t.find(o=>typeof o=="object"));return t.map(e)}exports.normalizeDates=r;
package/cjs/index11.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("./index52.js");function n({children:t,vertical:e,qa:u}){const o=s.classNames({"m-button-group":!0,"m-button-group--vertical":!!e});return r.jsx("div",{className:o,"data-qa":u,children:t})}exports.ButtonGroup=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("./index51.js");function n({children:t,vertical:e,qa:u}){const o=s.classNames({"m-button-group":!0,"m-button-group--vertical":!!e});return r.jsx("div",{className:o,"data-qa":u,children:t})}exports.ButtonGroup=n;
package/cjs/index110.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=Math.min,p=Math.max,P=Math.round,O=Math.floor,y=t=>({x:t,y:t}),S={left:"right",right:"left",bottom:"top",top:"bottom"};function M(t,e,n){return p(t,m(e,n))}function j(t,e){return typeof t=="function"?t(e):t}function l(t){return t.split("-")[0]}function a(t){return t.split("-")[1]}function d(t){return t==="x"?"y":"x"}function h(t){return t==="y"?"height":"width"}function x(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function A(t){return d(x(t))}function C(t,e,n){n===void 0&&(n=!1);const r=a(t),i=A(t),o=h(i);let c=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(c=g(c)),[c,g(c)]}function w(t){const e=g(t);return[s(t),e,s(e)]}function s(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const u=["left","right"],f=["right","left"],L=["top","bottom"],T=["bottom","top"];function E(t,e,n){switch(t){case"top":case"bottom":return n?e?f:u:e?u:f;case"left":case"right":return e?L:T;default:return[]}}function R(t,e,n,r){const i=a(t);let o=E(l(t),n==="start",r);return i&&(o=o.map(c=>c+"-"+i),e&&(o=o.concat(o.map(s)))),o}function g(t){const e=l(t);return S[e]+t.slice(e.length)}function b(t){return{top:0,right:0,bottom:0,left:0,...t}}function v(t){return typeof t!="number"?b(t):{top:t,right:t,bottom:t,left:t}}function k(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}exports.clamp=M;exports.createCoords=y;exports.evaluate=j;exports.expandPaddingObject=b;exports.floor=O;exports.getAlignment=a;exports.getAlignmentAxis=A;exports.getAlignmentSides=C;exports.getAxisLength=h;exports.getExpandedPlacements=w;exports.getOppositeAlignmentPlacement=s;exports.getOppositeAxis=d;exports.getOppositeAxisPlacements=R;exports.getOppositePlacement=g;exports.getPaddingObject=v;exports.getSide=l;exports.getSideAxis=x;exports.max=p;exports.min=m;exports.rectToClientRect=k;exports.round=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index105.js");function a(e,r){const t=o.toDate(e,r?.in);return t.setHours(0,0,0,0),t}exports.startOfDay=a;
package/cjs/index111.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function s(){return typeof window<"u"}function u(t){return w(t)?(t.nodeName||"").toLowerCase():"#document"}function r(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function S(t){var e;return(e=(w(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function w(t){return s()?t instanceof Node||t instanceof r(t).Node:!1}function p(t){return s()?t instanceof Element||t instanceof r(t).Element:!1}function g(t){return s()?t instanceof HTMLElement||t instanceof r(t).HTMLElement:!1}function d(t){return!s()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof r(t).ShadowRoot}function N(t){const{overflow:e,overflowX:i,overflowY:c,display:n}=b(t);return/auto|scroll|overlay|hidden|clip/.test(e+c+i)&&n!=="inline"&&n!=="contents"}function k(t){return/^(table|td|th)$/.test(u(t))}function T(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const O=/transform|translate|scale|rotate|perspective|filter/,R=/paint|layout|strict|content/,o=t=>!!t&&t!=="none";let a;function v(t){const e=p(t)?b(t):t;return o(e.transform)||o(e.translate)||o(e.scale)||o(e.rotate)||o(e.perspective)||!L()&&(o(e.backdropFilter)||o(e.filter))||O.test(e.willChange||"")||R.test(e.contain||"")}function W(t){let e=l(t);for(;g(e)&&!y(e);){if(v(e))return e;if(T(e))return null;e=l(e)}return null}function L(){return a==null&&(a=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),a}function y(t){return/^(html|body|#document)$/.test(u(t))}function b(t){return r(t).getComputedStyle(t)}function A(t){return p(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function l(t){if(u(t)==="html")return t;const e=t.assignedSlot||t.parentNode||d(t)&&t.host||S(t);return d(e)?e.host:e}function h(t){const e=l(t);return y(e)?t.ownerDocument?t.ownerDocument.body:t.body:g(e)&&N(e)?e:h(e)}function m(t,e,i){var c;e===void 0&&(e=[]),i===void 0&&(i=!0);const n=h(t),D=n===((c=t.ownerDocument)==null?void 0:c.body),f=r(n);if(D){const E=C(f);return e.concat(f,f.visualViewport||[],N(n)?n:[],E&&i?m(E):[])}else return e.concat(n,m(n,[],i))}function C(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}exports.getComputedStyle=b;exports.getContainingBlock=W;exports.getDocumentElement=S;exports.getFrameElement=C;exports.getNearestOverflowAncestor=h;exports.getNodeName=u;exports.getNodeScroll=A;exports.getOverflowAncestors=m;exports.getParentNode=l;exports.getWindow=r;exports.isContainingBlock=v;exports.isElement=p;exports.isHTMLElement=g;exports.isLastTraversableNode=y;exports.isNode=w;exports.isOverflowElement=N;exports.isShadowRoot=d;exports.isTableElement=k;exports.isTopLayer=T;exports.isWebKit=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index109.js");function o(t,e){const[r,n]=a.normalizeDates(t,e.start,e.end);return{start:r,end:n}}exports.normalizeInterval=o;
package/cjs/index112.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let t={};function e(){return t}exports.getDefaultOptions=e;
package/cjs/index113.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index137.js"),t=require("./index138.js"),o=require("./index139.js");var r;function u(){return r||(r=1,process.env.NODE_ENV==="production"?e.__module.exports=t.__require():e.__module.exports=o.__require()),e.__module.exports}exports.__require=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index118.js"),m=require("./index122.js"),w=require("./index125.js"),b=require("./index126.js"),y=require("./index128.js"),i=require("./index117.js"),s=require("./index139.js"),d={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},x={G:function(n,r,e){const t=n.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return e.era(t,{width:"abbreviated"});case"GGGGG":return e.era(t,{width:"narrow"});case"GGGG":default:return e.era(t,{width:"wide"})}},y:function(n,r,e){if(r==="yo"){const t=n.getFullYear(),a=t>0?t:1-t;return e.ordinalNumber(a,{unit:"year"})}return s.lightFormatters.y(n,r)},Y:function(n,r,e,t){const a=y.getWeekYear(n,t),o=a>0?a:1-a;if(r==="YY"){const f=o%100;return i.addLeadingZeros(f,2)}return r==="Yo"?e.ordinalNumber(o,{unit:"year"}):i.addLeadingZeros(o,r.length)},R:function(n,r){const e=w.getISOWeekYear(n);return i.addLeadingZeros(e,r.length)},u:function(n,r){const e=n.getFullYear();return i.addLeadingZeros(e,r.length)},Q:function(n,r,e){const t=Math.ceil((n.getMonth()+1)/3);switch(r){case"Q":return String(t);case"QQ":return i.addLeadingZeros(t,2);case"Qo":return e.ordinalNumber(t,{unit:"quarter"});case"QQQ":return e.quarter(t,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(t,{width:"wide",context:"formatting"})}},q:function(n,r,e){const t=Math.ceil((n.getMonth()+1)/3);switch(r){case"q":return String(t);case"qq":return i.addLeadingZeros(t,2);case"qo":return e.ordinalNumber(t,{unit:"quarter"});case"qqq":return e.quarter(t,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(t,{width:"wide",context:"standalone"})}},M:function(n,r,e){const t=n.getMonth();switch(r){case"M":case"MM":return s.lightFormatters.M(n,r);case"Mo":return e.ordinalNumber(t+1,{unit:"month"});case"MMM":return e.month(t,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(t,{width:"wide",context:"formatting"})}},L:function(n,r,e){const t=n.getMonth();switch(r){case"L":return String(t+1);case"LL":return i.addLeadingZeros(t+1,2);case"Lo":return e.ordinalNumber(t+1,{unit:"month"});case"LLL":return e.month(t,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(t,{width:"wide",context:"standalone"})}},w:function(n,r,e,t){const a=b.getWeek(n,t);return r==="wo"?e.ordinalNumber(a,{unit:"week"}):i.addLeadingZeros(a,r.length)},I:function(n,r,e){const t=m.getISOWeek(n);return r==="Io"?e.ordinalNumber(t,{unit:"week"}):i.addLeadingZeros(t,r.length)},d:function(n,r,e){return r==="do"?e.ordinalNumber(n.getDate(),{unit:"date"}):s.lightFormatters.d(n,r)},D:function(n,r,e){const t=h.getDayOfYear(n);return r==="Do"?e.ordinalNumber(t,{unit:"dayOfYear"}):i.addLeadingZeros(t,r.length)},E:function(n,r,e){const t=n.getDay();switch(r){case"E":case"EE":case"EEE":return e.day(t,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(t,{width:"short",context:"formatting"});case"EEEE":default:return e.day(t,{width:"wide",context:"formatting"})}},e:function(n,r,e,t){const a=n.getDay(),o=(a-t.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return i.addLeadingZeros(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(n,r,e,t){const a=n.getDay(),o=(a-t.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return i.addLeadingZeros(o,r.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(n,r,e){const t=n.getDay(),a=t===0?7:t;switch(r){case"i":return String(a);case"ii":return i.addLeadingZeros(a,r.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(t,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(t,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(t,{width:"short",context:"formatting"});case"iiii":default:return e.day(t,{width:"wide",context:"formatting"})}},a:function(n,r,e){const a=n.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,r,e){const t=n.getHours();let a;switch(t===12?a=d.noon:t===0?a=d.midnight:a=t/12>=1?"pm":"am",r){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,r,e){const t=n.getHours();let a;switch(t>=17?a=d.evening:t>=12?a=d.afternoon:t>=4?a=d.morning:a=d.night,r){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,r,e){if(r==="ho"){let t=n.getHours()%12;return t===0&&(t=12),e.ordinalNumber(t,{unit:"hour"})}return s.lightFormatters.h(n,r)},H:function(n,r,e){return r==="Ho"?e.ordinalNumber(n.getHours(),{unit:"hour"}):s.lightFormatters.H(n,r)},K:function(n,r,e){const t=n.getHours()%12;return r==="Ko"?e.ordinalNumber(t,{unit:"hour"}):i.addLeadingZeros(t,r.length)},k:function(n,r,e){let t=n.getHours();return t===0&&(t=24),r==="ko"?e.ordinalNumber(t,{unit:"hour"}):i.addLeadingZeros(t,r.length)},m:function(n,r,e){return r==="mo"?e.ordinalNumber(n.getMinutes(),{unit:"minute"}):s.lightFormatters.m(n,r)},s:function(n,r,e){return r==="so"?e.ordinalNumber(n.getSeconds(),{unit:"second"}):s.lightFormatters.s(n,r)},S:function(n,r){return s.lightFormatters.S(n,r)},X:function(n,r,e){const t=n.getTimezoneOffset();if(t===0)return"Z";switch(r){case"X":return g(t);case"XXXX":case"XX":return u(t);case"XXXXX":case"XXX":default:return u(t,":")}},x:function(n,r,e){const t=n.getTimezoneOffset();switch(r){case"x":return g(t);case"xxxx":case"xx":return u(t);case"xxxxx":case"xxx":default:return u(t,":")}},O:function(n,r,e){const t=n.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+c(t,":");case"OOOO":default:return"GMT"+u(t,":")}},z:function(n,r,e){const t=n.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+c(t,":");case"zzzz":default:return"GMT"+u(t,":")}},t:function(n,r,e){const t=Math.trunc(+n/1e3);return i.addLeadingZeros(t,r.length)},T:function(n,r,e){return i.addLeadingZeros(+n,r.length)}};function c(n,r=""){const e=n>0?"-":"+",t=Math.abs(n),a=Math.trunc(t/60),o=t%60;return o===0?e+String(a):e+String(a)+r+i.addLeadingZeros(o,2)}function g(n,r){return n%60===0?(n>0?"-":"+")+i.addLeadingZeros(Math.abs(n)/60,2):u(n,r)}function u(n,r=""){const e=n>0?"-":"+",t=Math.abs(n),a=i.addLeadingZeros(Math.trunc(t/60),2),o=i.addLeadingZeros(t%60,2);return e+a+r+o}exports.formatters=x;
package/cjs/index114.js CHANGED
@@ -1,2 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index113.js"),N=require("./index140.js"),ee=require("./index141.js"),re=require("./index142.js"),ne=require("./index143.js");var A,C;function te(){if(C)return A;C=1;var k=F.__require(),W=N.__require(),h=ee.__require(),I=re.__require(),q=ne.__require(),T=function(){};process.env.NODE_ENV!=="production"&&(T=function(x){var S="Warning: "+x;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function E(){return null}return A=function(x,S){var P=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function M(e){var r=e&&(P&&e[P]||e[D]);if(typeof r=="function")return r}var _="<<anonymous>>",w={array:p("array"),bigint:p("bigint"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:U(),arrayOf:$,element:B(),elementType:J(),instanceOf:z,node:H(),objectOf:X,oneOf:L,oneOfType:G,shape:K,exact:Q};function Y(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function d(e,r){this.message=e,this.data=r&&typeof r=="object"?r:{},this.stack=""}d.prototype=Error.prototype;function v(e){if(process.env.NODE_ENV!=="production")var r={},u=0;function i(f,t,a,o,s,c,y){if(o=o||_,c=c||a,y!==h){if(S){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var b=o+":"+a;!r[b]&&u<3&&(T("You are manually calling a React.PropTypes validation function for the `"+c+"` prop on `"+o+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[b]=!0,u++)}}return t[a]==null?f?t[a]===null?new d("The "+s+" `"+c+"` is marked as required "+("in `"+o+"`, but its value is `null`.")):new d("The "+s+" `"+c+"` is marked as required in "+("`"+o+"`, but its value is `undefined`.")):null:e(t,a,o,s,c)}var n=i.bind(null,!1);return n.isRequired=i.bind(null,!0),n}function p(e){function r(u,i,n,f,t,a){var o=u[i],s=g(o);if(s!==e){var c=O(o);return new d("Invalid "+f+" `"+t+"` of type "+("`"+c+"` supplied to `"+n+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return v(r)}function U(){return v(E)}function $(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var a=u[i];if(!Array.isArray(a)){var o=g(a);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an array."))}for(var s=0;s<a.length;s++){var c=e(a,s,n,f,t+"["+s+"]",h);if(c instanceof Error)return c}return null}return v(r)}function B(){function e(r,u,i,n,f){var t=r[u];if(!x(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement."))}return null}return v(e)}function J(){function e(r,u,i,n,f){var t=r[u];if(!k.isValidElementType(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement type."))}return null}return v(e)}function z(e){function r(u,i,n,f,t){if(!(u[i]instanceof e)){var a=e.name||_,o=V(u[i]);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected ")+("instance of `"+a+"`."))}return null}return v(r)}function L(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&(arguments.length>1?T("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):T("Invalid argument supplied to oneOf, expected an array.")),E;function r(u,i,n,f,t){for(var a=u[i],o=0;o<e.length;o++)if(Y(a,e[o]))return null;var s=JSON.stringify(e,function(y,l){var b=O(l);return b==="symbol"?String(l):l});return new d("Invalid "+f+" `"+t+"` of value `"+String(a)+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return v(r)}function X(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an object."));for(var s in a)if(I(a,s)){var c=e(a,s,n,f,t+"."+s,h);if(c instanceof Error)return c}return null}return v(r)}function G(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&T("Invalid argument supplied to oneOfType, expected an instance of array."),E;for(var r=0;r<e.length;r++){var u=e[r];if(typeof u!="function")return T("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(u)+" at index "+r+"."),E}function i(n,f,t,a,o){for(var s=[],c=0;c<e.length;c++){var y=e[c],l=y(n,f,t,a,o,h);if(l==null)return null;l.data&&I(l.data,"expectedType")&&s.push(l.data.expectedType)}var b=s.length>0?", expected one of type ["+s.join(", ")+"]":"";return new d("Invalid "+a+" `"+o+"` supplied to "+("`"+t+"`"+b+"."))}return v(i)}function H(){function e(r,u,i,n,f){return j(r[u])?null:new d("Invalid "+n+" `"+f+"` supplied to "+("`"+i+"`, expected a ReactNode."))}return v(e)}function R(e,r,u,i,n){return new d((e||"React class")+": "+r+" type `"+u+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function K(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));for(var s in e){var c=e[s];if(typeof c!="function")return R(n,f,t,s,O(c));var y=c(a,s,n,f,t+"."+s,h);if(y)return y}return null}return v(r)}function Q(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));var s=W({},u[i],e);for(var c in s){var y=e[c];if(I(e,c)&&typeof y!="function")return R(n,f,t,c,O(y));if(!y)return new d("Invalid "+f+" `"+t+"` key `"+c+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(u[i],null," ")+`
2
- Valid keys: `+JSON.stringify(Object.keys(e),null," "));var l=y(a,c,n,f,t+"."+c,h);if(l)return l}return null}return v(r)}function j(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(j);if(e===null||x(e))return!0;var r=M(e);if(r){var u=r.call(e),i;if(r!==e.entries){for(;!(i=u.next()).done;)if(!j(i.value))return!1}else for(;!(i=u.next()).done;){var n=i.value;if(n&&!j(n[1]))return!1}}else return!1;return!0;default:return!1}}function Z(e,r){return e==="symbol"?!0:r?r["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&r instanceof Symbol:!1}function g(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":Z(r,e)?"symbol":r}function O(e){if(typeof e>"u"||e===null)return""+e;var r=g(e);if(r==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function m(e){var r=O(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function V(e){return!e.constructor||!e.constructor.name?_:e.constructor.name}return w.checkPropTypes=q,w.resetWarningCache=q.resetWarningCache,w.PropTypes=w,w},A}exports.__require=te;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},c=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},P=(t,e)=>{const a=t.match(/(P+)(p+)?/)||[],d=a[1],r=a[2];if(!r)return s(t,e);let i;switch(d){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",s(d,e)).replace("{{time}}",c(r,e))},u={p:c,P};exports.longFormatters=u;
package/cjs/index115.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index141.js");var n,p;function y(){if(p)return n;p=1;var c=u.__require();function o(){}function i(){}return i.resetWarningCache=o,n=function(){function e(h,m,f,l,T,s){if(s!==c){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t},n}exports.__require=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=/^D+$/,s=/^Y+$/,a=["D","DD","YY","YYYY"];function c(e){return n.test(e)}function i(e){return s.test(e)}function d(e,o,r){const t=f(e,o,r);if(console.warn(t),a.includes(e))throw new RangeError(t)}function f(e,o,r){const t=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${o}\`) for formatting ${t} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}exports.isProtectedDayOfYearToken=c;exports.isProtectedWeekYearToken=i;exports.warnOrThrowProtectedError=d;
package/cjs/index116.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index179.js"),t=require("./index180.js"),o=require("./index181.js"),a=require("./index182.js"),r=require("./index183.js"),n={code:"en-US",formatDistance:e.formatDistance,formatLong:t.formatLong,formatRelative:o.formatRelative,localize:a.localize,match:r.match,options:{weekStartsOn:0,firstWeekContainsDate:1}};exports.enUS=n;
package/cjs/index117.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index124.js"),a=require("./index145.js");Object.defineProperty(t.__exports,"__esModule",{value:!0});t.__exports.resetState=f;t.__exports.log=p;t.__exports.handleBlur=u;t.__exports.handleFocus=s;t.__exports.markForFocusLater=_;t.__exports.returnFocus=v;t.__exports.popWithoutFocus=m;t.__exports.setupScopedFocus=h;t.__exports.teardownScopedFocus=E;var l=a.tabbableExports,i=d(l);function d(e){return e&&e.__esModule?e:{default:e}}var n=[],r=null,c=!1;function f(){n=[]}function p(){process.env.NODE_ENV!=="production"&&(console.log("focusManager ----------"),n.forEach(function(e){var o=e||{};console.log(o.nodeName,o.className,o.id)}),console.log("end focusManager ----------"))}function u(){c=!0}function s(){if(c){if(c=!1,!r)return;setTimeout(function(){if(!r.contains(document.activeElement)){var e=(0,i.default)(r)[0]||r;e.focus()}},0)}}function _(){n.push(document.activeElement)}function v(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=null;try{n.length!==0&&(o=n.pop(),o.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",o,"but it is not in the DOM anymore"].join(" "))}}function m(){n.length>0&&n.pop()}function h(e){r=e,window.addEventListener?(window.addEventListener("blur",u,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",u),document.attachEvent("onFocus",s))}function E(){r=null,window.addEventListener?(window.removeEventListener("blur",u),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",u),document.detachEvent("onFocus",s))}exports.default=t.__exports;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(t,e){const o=t<0?"-":"",a=Math.abs(t).toString().padStart(e,"0");return o+a}exports.addLeadingZeros=n;
package/cjs/index118.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index146.js"),h=require("./index145.js");(function(d,o){Object.defineProperty(o,"__esModule",{value:!0}),o.default=m;var v=h.tabbableExports,p=g(v);function g(e){return e&&e.__esModule?e:{default:e}}function b(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return e.activeElement.shadowRoot?b(e.activeElement.shadowRoot):e.activeElement}function m(e,r){var a=(0,p.default)(e);if(!a.length){r.preventDefault();return}var t=void 0,u=r.shiftKey,l=a[0],n=a[a.length-1],i=b();if(e===i){if(!u)return;t=n}if(n===i&&!u&&(t=l),l===i&&u&&(t=n),t){r.preventDefault(),t.focus();return}var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),_=c!=null&&c[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(_){var f=a.indexOf(i);if(f>-1&&(f+=u?-1:1),t=a[f],typeof t>"u"){r.preventDefault(),t=u?n:l,t.focus();return}r.preventDefault(),t.focus()}}d.exports=o.default})(s.__module,s.__module.exports);var x=s.__module.exports;exports.scopeTabExports=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index107.js"),n=require("./index119.js"),f=require("./index105.js");function o(t,r){const e=f.toDate(t,r?.in);return a.differenceInCalendarDays(e,n.startOfYear(e))+1}exports.getDayOfYear=o;
package/cjs/index119.js CHANGED
@@ -1,10 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./index122.js");Object.defineProperty(s.__exports,"__esModule",{value:!0});s.__exports.resetState=d;s.__exports.log=u;var o={},a={};function i(n,e){n.classList.remove(e)}function d(){var n=document.getElementsByTagName("html")[0];for(var e in o)i(n,o[e]);var t=document.body;for(var r in a)i(t,a[r]);o={},a={}}function u(){if(process.env.NODE_ENV!=="production"){var n=document.getElementsByTagName("html")[0].className,e=`Show tracked classes:
2
-
3
- `;e+="<html /> ("+n+`):
4
- `;for(var t in o)e+=" "+t+" "+o[t]+`
5
- `;n=document.body.className,e+=`
6
-
7
- doc.body (`+n+`):
8
- `;for(var r in a)e+=" "+r+" "+a[r]+`
9
- `;e+=`
10
- `,console.log(e)}}var v=function(e,t){return e[t]||(e[t]=0),e[t]+=1,t},m=function(e,t){return e[t]&&(e[t]-=1),t},l=function(e,t,r){r.forEach(function(c){v(t,c),e.add(c)})},f=function(e,t,r){r.forEach(function(c){m(t,c),t[c]===0&&e.remove(c)})};s.__exports.add=function(e,t){return l(e.classList,e.nodeName.toLowerCase()=="html"?o:a,t.split(" "))};s.__exports.remove=function(e,t){return f(e.classList,e.nodeName.toLowerCase()=="html"?o:a,t.split(" "))};exports.default=s.__exports;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index105.js");function o(e,r){const t=a.toDate(e,r?.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}exports.startOfYear=o;
package/cjs/index12.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),t=require("./index66.js"),ee=require("./index52.js"),te=require("./index67.js"),d=require("react"),ae=require("./index51.js"),ne=require("./index68.js"),re=require("./index69.js"),ie=require("./index70.js"),l=require("./index71.js"),M=require("./index72.js"),v=require("./index73.js"),se=require("./index74.js"),oe=require("./index75.js"),ce=require("./index76.js"),de=require("./index77.js"),ue=require("./index24.js"),O=require("./index10.js"),$=d.forwardRef(({ariaLabel:F="Kalender",ariaLabelCurrentDay:H="Huidige dag",ariaLabelNextMonth:b="Ga naar de volgende maand",ariaLabelNextYear:k="Ga naar het volgend jaar",ariaLabelNextYears:q="Ga naar de volgende jaren",ariaLabelPreviousMonth:T="Ga naar de vorige maand",ariaLabelPreviousYear:j="Ga naar het vorig jaar",ariaLabelPreviousYears:E="Ga naar de voorgaande jaren",className:x,highlightDates:G,isOpen:_=!0,locale:o=ae.DEFAULT_LOCALE,onBlur:W,onChange:R,qa:B,unavailable:I=[],unavailableFrom:K,unavailableTo:P,value:u,hoverStart:L,isModal:S=!1},w)=>{const[D,V]=d.useState(u?new Date(u):void 0),[n,m]=d.useState(M.getYear(new Date(u||new Date))),[r,f]=d.useState(v.getMonth(new Date(u||new Date))),[a,p]=d.useState(t.CalendarView.DAYS),[h,Y]=d.useState(n-7);d.useEffect(()=>{const e=u?new Date(u):void 0;if(isNaN(e?.getTime())){f(v.getMonth(new Date)),m(M.getYear(new Date)),Y(M.getYear(new Date)-7),V(void 0);return}return V(e)},[u]),d.useEffect(()=>{if(S&&w&&"current"in w&&w.current){const e=w.current,i=Array.from(e.querySelectorAll("button")).filter(c=>!c.disabled),y=i[0],C=i[i.length-1];e.contains(document.activeElement)||y.focus();const N=c=>{c.key==="Tab"&&c.shiftKey&&document.activeElement===y?(C.focus(),c.preventDefault()):c.key==="Tab"&&!c.shiftKey&&document.activeElement===C&&(y.focus(),c.preventDefault())};return e.addEventListener("keydown",N),function(){e?.removeEventListener("keydown",N)}}},[w,S,a,r,n]);const g=d.useMemo(()=>{const e=new Date(n,r);return{[t.CalendarView.DAYS]:{main:ie.titleize(l.formatWithFallback(e,"MMMM yyyy",o)),next:`${b}, ${l.formatWithFallback(de.addMonths(e,1),"MMMM yyyy",o)}`,prev:`${T}, ${l.formatWithFallback(ce.subMonths(e),"MMMM yyyy",o)}`},[t.CalendarView.MONTHS]:{main:l.formatWithFallback(e,"yyyy",o),next:`${k}, ${l.formatWithFallback(oe.addYears(e,1),"yyyy",o)}`,prev:`${j}, ${l.formatWithFallback(se.subYears(e),"yyyy",o)}`},[t.CalendarView.YEARS]:{main:`${h} - ${h+17}`,next:q,prev:E}}[a]},[a,n,r,h,b,k,q,T,j,E,o]),U=()=>{if(a===t.CalendarView.DAYS)return m(r===0?n-1:n),f(r===0?11:r-1);if(a===t.CalendarView.MONTHS)return m(n-1);if(a===t.CalendarView.YEARS)return Y(h-18)},z=()=>{if(a===t.CalendarView.DAYS)return m(r===11?n+1:n),f((r+1)%12);if(a===t.CalendarView.MONTHS)return m(n+1);if(a===t.CalendarView.YEARS)return Y(h+18)},J=()=>{const e=[t.CalendarView.DAYS,t.CalendarView.MONTHS,t.CalendarView.YEARS];p(e[(e.findIndex(i=>i===a)+1)%e.length])},A=e=>{if(a===t.CalendarView.DAYS){V(e);const i=e.getFullYear(),y=e.getMonth(),C=e.getDate();return R&&R(l.toUtcMidnightInBrussels(i,y,C))}else{if(a===t.CalendarView.MONTHS)return f(v.getMonth(e)),p(t.CalendarView.DAYS);if(a===t.CalendarView.YEARS)return m(M.getYear(e)),p(t.CalendarView.MONTHS)}},Q=()=>{switch(a){case t.CalendarView.DAYS:return s.jsx(te.DaysView,{highlight:G,locale:o,ariaLabelCurrentDay:H,activeMonth:r,activeYear:n,value:D,onChange:A,unavailableFrom:K,unavailableTo:P,unavailable:I,hoverStart:L});case t.CalendarView.MONTHS:return s.jsx(ne.MonthsView,{locale:o,value:D,onChange:A,activeYear:n});case t.CalendarView.YEARS:return s.jsx(re.YearsView,{value:D,onChange:A,yearsRowsStart:h,activeMonth:r})}},X=ee.classNames({"m-datepicker":!0,"is-open":!!_,[`${x}`]:!!x}),Z=S?{role:"dialog","aria-modal":!0}:{};return s.jsxs("div",{ref:w,"aria-label":F,className:X,"aria-hidden":!_,"data-qa":B,onBlur:W,onMouseDownCapture:e=>{const i=e.currentTarget;i.setAttribute("data-mousedown-inside","true"),setTimeout(()=>i.removeAttribute("data-mousedown-inside"),0)},onClick:e=>e.stopPropagation(),...Z,children:[s.jsxs("div",{className:"m-datepicker__nav",children:[s.jsxs("button",{type:"button",className:"m-datepicker__nav-title","aria-label":g.main,onClick:J,children:[g.main,s.jsx(ue.Icon,{name:a===t.CalendarView.DAYS?"arrow-down-1":"arrow-up-1"})]}),s.jsxs("div",{className:"m-datepicker__nav-pagination",children:[s.jsx(O.Button,{ariaLabel:g.prev,emphasis:"low",addOn:{type:"icon",iconProps:{name:"arrow-left-1"}},onClick:U}),s.jsx(O.Button,{ariaLabel:g.next,emphasis:"low",addOn:{type:"icon",iconProps:{name:"arrow-right-1"}},onClick:z})]})]}),Q()]})});exports.Calendar=$;exports.default=$;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),t=require("./index57.js"),ee=require("./index51.js"),te=require("./index58.js"),d=require("react"),ae=require("./index59.js"),ne=require("./index60.js"),re=require("./index61.js"),ie=require("./index62.js"),l=require("./index63.js"),M=require("./index64.js"),v=require("./index65.js"),se=require("./index66.js"),oe=require("./index67.js"),ce=require("./index68.js"),de=require("./index69.js"),ue=require("./index24.js"),O=require("./index10.js"),$=d.forwardRef(({ariaLabel:F="Kalender",ariaLabelCurrentDay:H="Huidige dag",ariaLabelNextMonth:b="Ga naar de volgende maand",ariaLabelNextYear:k="Ga naar het volgend jaar",ariaLabelNextYears:q="Ga naar de volgende jaren",ariaLabelPreviousMonth:T="Ga naar de vorige maand",ariaLabelPreviousYear:j="Ga naar het vorig jaar",ariaLabelPreviousYears:E="Ga naar de voorgaande jaren",className:x,highlightDates:G,isOpen:_=!0,locale:o=ae.DEFAULT_LOCALE,onBlur:W,onChange:R,qa:B,unavailable:I=[],unavailableFrom:K,unavailableTo:P,value:u,hoverStart:L,isModal:S=!1},w)=>{const[D,V]=d.useState(u?new Date(u):void 0),[n,m]=d.useState(M.getYear(new Date(u||new Date))),[r,f]=d.useState(v.getMonth(new Date(u||new Date))),[a,p]=d.useState(t.CalendarView.DAYS),[h,Y]=d.useState(n-7);d.useEffect(()=>{const e=u?new Date(u):void 0;if(isNaN(e?.getTime())){f(v.getMonth(new Date)),m(M.getYear(new Date)),Y(M.getYear(new Date)-7),V(void 0);return}return V(e)},[u]),d.useEffect(()=>{if(S&&w&&"current"in w&&w.current){const e=w.current,i=Array.from(e.querySelectorAll("button")).filter(c=>!c.disabled),y=i[0],C=i[i.length-1];e.contains(document.activeElement)||y.focus();const N=c=>{c.key==="Tab"&&c.shiftKey&&document.activeElement===y?(C.focus(),c.preventDefault()):c.key==="Tab"&&!c.shiftKey&&document.activeElement===C&&(y.focus(),c.preventDefault())};return e.addEventListener("keydown",N),function(){e?.removeEventListener("keydown",N)}}},[w,S,a,r,n]);const g=d.useMemo(()=>{const e=new Date(n,r);return{[t.CalendarView.DAYS]:{main:ie.titleize(l.formatWithFallback(e,"MMMM yyyy",o)),next:`${b}, ${l.formatWithFallback(de.addMonths(e,1),"MMMM yyyy",o)}`,prev:`${T}, ${l.formatWithFallback(ce.subMonths(e),"MMMM yyyy",o)}`},[t.CalendarView.MONTHS]:{main:l.formatWithFallback(e,"yyyy",o),next:`${k}, ${l.formatWithFallback(oe.addYears(e,1),"yyyy",o)}`,prev:`${j}, ${l.formatWithFallback(se.subYears(e),"yyyy",o)}`},[t.CalendarView.YEARS]:{main:`${h} - ${h+17}`,next:q,prev:E}}[a]},[a,n,r,h,b,k,q,T,j,E,o]),U=()=>{if(a===t.CalendarView.DAYS)return m(r===0?n-1:n),f(r===0?11:r-1);if(a===t.CalendarView.MONTHS)return m(n-1);if(a===t.CalendarView.YEARS)return Y(h-18)},z=()=>{if(a===t.CalendarView.DAYS)return m(r===11?n+1:n),f((r+1)%12);if(a===t.CalendarView.MONTHS)return m(n+1);if(a===t.CalendarView.YEARS)return Y(h+18)},J=()=>{const e=[t.CalendarView.DAYS,t.CalendarView.MONTHS,t.CalendarView.YEARS];p(e[(e.findIndex(i=>i===a)+1)%e.length])},A=e=>{if(a===t.CalendarView.DAYS){V(e);const i=e.getFullYear(),y=e.getMonth(),C=e.getDate();return R&&R(l.toUtcMidnightInBrussels(i,y,C))}else{if(a===t.CalendarView.MONTHS)return f(v.getMonth(e)),p(t.CalendarView.DAYS);if(a===t.CalendarView.YEARS)return m(M.getYear(e)),p(t.CalendarView.MONTHS)}},Q=()=>{switch(a){case t.CalendarView.DAYS:return s.jsx(te.DaysView,{highlight:G,locale:o,ariaLabelCurrentDay:H,activeMonth:r,activeYear:n,value:D,onChange:A,unavailableFrom:K,unavailableTo:P,unavailable:I,hoverStart:L});case t.CalendarView.MONTHS:return s.jsx(ne.MonthsView,{locale:o,value:D,onChange:A,activeYear:n});case t.CalendarView.YEARS:return s.jsx(re.YearsView,{value:D,onChange:A,yearsRowsStart:h,activeMonth:r})}},X=ee.classNames({"m-datepicker":!0,"is-open":!!_,[`${x}`]:!!x}),Z=S?{role:"dialog","aria-modal":!0}:{};return s.jsxs("div",{ref:w,"aria-label":F,className:X,"aria-hidden":!_,"data-qa":B,onBlur:W,onMouseDownCapture:e=>{const i=e.currentTarget;i.setAttribute("data-mousedown-inside","true"),setTimeout(()=>i.removeAttribute("data-mousedown-inside"),0)},onClick:e=>e.stopPropagation(),...Z,children:[s.jsxs("div",{className:"m-datepicker__nav",children:[s.jsxs("button",{type:"button",className:"m-datepicker__nav-title","aria-label":g.main,onClick:J,children:[g.main,s.jsx(ue.Icon,{name:a===t.CalendarView.DAYS?"arrow-down-1":"arrow-up-1"})]}),s.jsxs("div",{className:"m-datepicker__nav-pagination",children:[s.jsx(O.Button,{ariaLabel:g.prev,emphasis:"low",addOn:{type:"icon",iconProps:{name:"arrow-left-1"}},onClick:U}),s.jsx(O.Button,{ariaLabel:g.next,emphasis:"low",addOn:{type:"icon",iconProps:{name:"arrow-right-1"}},onClick:z})]})]}),Q()]})});exports.Calendar=$;exports.default=$;
package/cjs/index120.js CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("./index123.js");Object.defineProperty(r.__exports,"__esModule",{value:!0});r.__exports.log=i;r.__exports.resetState=l;function c(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function s(){var e=this;c(this,s),this.register=function(n){if(e.openInstances.indexOf(n)!==-1){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Cannot register modal instance that's already open");return}e.openInstances.push(n),e.emit("register")},this.deregister=function(n){var t=e.openInstances.indexOf(n);if(t===-1){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Unable to deregister "+n+" as it was never registered");return}e.openInstances.splice(t,1),e.emit("deregister")},this.subscribe=function(n){e.subscribers.push(n)},this.emit=function(n){e.subscribers.forEach(function(t){return t(n,e.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},o=new a;function i(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach(function(s){return console.log(s)}),console.log("end portalOpenInstances ----------")}function l(){o=new a}r.__exports.default=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index112.js");function e(){return Object.assign({},t.getDefaultOptions())}exports.getDefaultOptions=e;
package/cjs/index121.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index147.js");require("./index120.js");const i=require("./index123.js");Object.defineProperty(l.__exports,"__esModule",{value:!0});l.__exports.resetState=f;l.__exports.log=v;var u=i.__exports,c=p(u);function p(t){return t&&t.__esModule?t:{default:t}}var e=void 0,o=void 0,r=[];function f(){for(var t=[e,o],n=0;n<t.length;n++){var a=t[n];a&&a.parentNode&&a.parentNode.removeChild(a)}e=o=null,r=[]}function v(){console.log("bodyTrap ----------"),console.log(r.length);for(var t=[e,o],n=0;n<t.length;n++){var a=t[n],s=a||{};console.log(s.nodeName,s.className,s.id)}console.log("edn bodyTrap ----------")}function d(){if(r.length===0){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Open instances > 0 expected");return}r[r.length-1].focusContent()}function _(t,n){!e&&!o&&(e=document.createElement("div"),e.setAttribute("data-react-modal-body-trap",""),e.style.position="absolute",e.style.opacity="0",e.setAttribute("tabindex","0"),e.addEventListener("focus",d),o=e.cloneNode(),o.addEventListener("focus",d)),r=n,r.length>0?(document.body.firstChild!==e&&document.body.insertBefore(e,document.body.firstChild),document.body.lastChild!==o&&document.body.appendChild(o)):(e.parentElement&&e.parentElement.removeChild(e),o.parentElement&&o.parentElement.removeChild(o))}c.default.subscribe(_);exports.default=l.__exports;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index105.js");function n(e,o){const t=a.toDate(e,o?.in).getDay();return t===0?7:t}exports.getISODay=n;
package/cjs/index122.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index106.js"),s=require("./index123.js"),a=require("./index124.js"),i=require("./index105.js");function c(t,r){const e=i.toDate(t,r?.in),n=+s.startOfISOWeek(e)-+a.startOfISOWeekYear(e);return Math.round(n/o.millisecondsInWeek)+1}exports.getISOWeek=c;
package/cjs/index123.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index98.js");function s(e,t){return r.startOfWeek(e,{...t,weekStartsOn:1})}exports.startOfISOWeek=s;
package/cjs/index124.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index104.js"),u=require("./index125.js"),a=require("./index123.js");function n(r,t){const o=u.getISOWeekYear(r,t),e=s.constructFrom(r,0);return e.setFullYear(o,0,4),e.setHours(0,0,0,0),a.startOfISOWeek(e)}exports.startOfISOWeekYear=n;
package/cjs/index125.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var g=process.env.NODE_ENV!=="production",i=function(){};if(g){var c=function(a,r){var e=arguments.length;r=new Array(e>1?e-1:0);for(var n=1;n<e;n++)r[n-1]=arguments[n];var u=0,o="Warning: "+a.replace(/%s/g,function(){return r[u++]});typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}};i=function(t,a,r){var e=arguments.length;r=new Array(e>2?e-2:0);for(var n=2;n<e;n++)r[n-2]=arguments[n];if(a===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");t||c.apply(null,[a].concat(r))}}var f=i;exports.warning_1=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index104.js"),a=require("./index123.js"),f=require("./index105.js");function O(n,u){const e=f.toDate(n,u?.in),t=e.getFullYear(),r=o.constructFrom(e,0);r.setFullYear(t+1,0,4),r.setHours(0,0,0,0);const c=a.startOfISOWeek(r),s=o.constructFrom(e,0);s.setFullYear(t,0,4),s.setHours(0,0,0,0);const i=a.startOfISOWeek(s);return e.getTime()>=c.getTime()?t+1:e.getTime()>=i.getTime()?t:t-1}exports.getISOWeekYear=O;
package/cjs/index126.js CHANGED
@@ -1,5 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index144.js");/*!
2
- Copyright (c) 2015 Jed Watson.
3
- Based on code that is Copyright 2013-2015, Facebook, Inc.
4
- All rights reserved.
5
- */(function(n){(function(){var e=!!(typeof window<"u"&&window.document&&window.document.createElement),t={canUseDOM:e,canUseWorkers:typeof Worker<"u",canUseEventListeners:e&&!!(window.addEventListener||window.attachEvent),canUseViewport:e&&!!window.screen};n.exports?n.exports=t:window.ExecutionEnvironment=t})()})(o.__module);var r=o.__module.exports;exports.exenvExports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index106.js"),a=require("./index98.js"),o=require("./index127.js"),c=require("./index105.js");function i(r,e){const t=c.toDate(r,e?.in),n=+a.startOfWeek(t,e)-+o.startOfWeekYear(t,e);return Math.round(n/s.millisecondsInWeek)+1}exports.getWeek=i;
package/cjs/index127.js CHANGED
@@ -1,9 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function l(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);t!=null&&this.setState(t)}function r(t){function e(o){var n=this.constructor.getDerivedStateFromProps(t,o);return n??null}this.setState(e.bind(this))}function p(t,e){try{var o=this.props,n=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}l.__suppressDeprecationWarning=!0;r.__suppressDeprecationWarning=!0;p.__suppressDeprecationWarning=!0;function m(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if(typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function")return t;var o=null,n=null,i=null;if(typeof e.componentWillMount=="function"?o="componentWillMount":typeof e.UNSAFE_componentWillMount=="function"&&(o="UNSAFE_componentWillMount"),typeof e.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof e.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof e.componentWillUpdate=="function"?i="componentWillUpdate":typeof e.UNSAFE_componentWillUpdate=="function"&&(i="UNSAFE_componentWillUpdate"),o!==null||n!==null||i!==null){var a=t.displayName||t.name,s=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
2
-
3
- `+a+" uses "+s+" but also contains the following legacy lifecycles:"+(o!==null?`
4
- `+o:"")+(n!==null?`
5
- `+n:"")+(i!==null?`
6
- `+i:"")+`
7
-
8
- The above lifecycles should be removed. Learn more about this warning here:
9
- https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof t.getDerivedStateFromProps=="function"&&(e.componentWillMount=l,e.componentWillReceiveProps=r),typeof e.getSnapshotBeforeUpdate=="function"){if(typeof e.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=p;var c=e.componentDidUpdate;e.componentDidUpdate=function(f,u,d){var h=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;c.call(this,f,u,h)}}return t}exports.polyfill=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index112.js"),i=require("./index104.js"),c=require("./index128.js"),u=require("./index98.js");function f(r,e){const s=o.getDefaultOptions(),a=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,n=c.getWeekYear(r,e),t=i.constructFrom(e?.in||r,0);return t.setFullYear(n,0,a),t.setHours(0,0,0,0),u.startOfWeek(t,e)}exports.startOfWeekYear=f;
package/cjs/index128.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),O=require("./index52.js"),c=require("react"),D=require("./index71.js"),r=require("./index99.js"),p=require("./index98.js"),w=require("./index132.js"),E=require("./index100.js"),R=require("./index133.js"),S=require("./index81.js");function $({date:e,monthYear:u,unavailable:i,unavailableFrom:a,unavailableTo:m,value:n,onChange:d,highlight:s,ariaLabelCurrentDay:b,onMouseEnter:f,onMouseLeave:y,hoverStyle:j}){const o=c.useMemo(()=>D.isInRange(e,a,m,i),[i,a,m,e]),M=c.useMemo(()=>!!n&&r.isSameDay(n,e)&&!(s&&(s[0]||s[1])),[n,e,s]),x=c.useMemo(()=>!!s&&(s[0]&&r.isSameDay(new Date(s[0]),e)||s[1]&&r.isSameDay(new Date(s[1]),e)||s[0]&&s[1]&&D.isBetween(e,s[0],s[1])),[s,e]),q=r.isSameDay(e,new Date),B=O.classNames({"is-current":q,"is-faded":p.isBefore(e,w.startOfMonth(u))||E.isAfter(e,R.endOfMonth(u)),"is-unavailable":o,"is-selected":M||!!x,"is-hovered":!!j});return t.jsx("td",{children:t.jsx("button",{className:B,tabIndex:o?-1:void 0,disabled:o,type:"button","aria-pressed":M,"aria-label":`${S.format(e,"EEEE d MMMM yyyy")}${q?`, ${b}`:""}`,onClick:()=>{d(e)},onMouseEnter:()=>{f&&f(e)},onMouseLeave:()=>{y&&y(e)},children:t.jsx("span",{children:S.format(e,"d")})})})}exports.DayButton=$;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index112.js"),c=require("./index104.js"),u=require("./index98.js"),W=require("./index105.js");function O(r,e){const s=W.toDate(r,e?.in),t=s.getFullYear(),o=k.getDefaultOptions(),i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,n=c.constructFrom(e?.in||r,0);n.setFullYear(t+1,0,i),n.setHours(0,0,0,0);const f=u.startOfWeek(n,e),a=c.constructFrom(e?.in||r,0);a.setFullYear(t,0,i),a.setHours(0,0,0,0);const l=u.startOfWeek(a,e);return+s>=+f?t+1:+s>=+l?t:t-1}exports.getWeekYear=O;
package/cjs/index129.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index155.js"),i=require("./index148.js");function d(o,a){const{start:t,end:r}=u.normalizeInterval(a?.in,o);let n=+t>+r;const c=n?+t:+r,e=n?r:t;e.setHours(0,0,0,0);let l=1;const s=[];for(;+e<=c;)s.push(i.constructFrom(t,e)),e.setDate(e.getDate()+l),e.setHours(0,0,0,0);return n?s.reverse():s}exports.eachDayOfInterval=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}exports.isDate=e;
package/cjs/index13.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),x=require("./index52.js"),b=require("./index57.js"),j=require("./index25.js");function N({title:s,subTitle:r,description:c,children:t,image:d,link:e,className:l,border:m="normal",highlighted:i=!1,renderLinkFunction:o,qa:n}){const h={"m-card":!0,"m-card--highlight":i,"m-card--light-border":m==="light","m-card--no-border":m==="none",[`${l}`]:!!l},g=x.classNames(h),u=s?.tag||"h4";return a.jsxs("div",{className:g,"data-qa":n,children:[!!d&&a.jsx("div",{className:"m-card__image",children:a.jsx(j.Image,{...d})}),a.jsxs("div",{className:"m-card__body",children:[!!s?.label&&a.jsx(u,{id:`${s?.id}`,className:`u-margin-bottom-xs ${s.className??""}`,children:s.label}),!!r&&a.jsx("p",{className:"small u-text-bold u-margin-bottom-xs",children:r}),!!c&&a.jsx("p",{className:"u-margin-bottom",children:c}),!!e&&a.jsx("p",{className:"u-text-right",children:o?o(e):b.renderHTMLLink({...e,href:e.href??"#"},"arrow-right-1",{className:"has-icon-right","aria-labelledby":s?.id})}),t]})]})}exports.Card=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),x=require("./index51.js"),b=require("./index52.js"),j=require("./index25.js");function N({title:s,subTitle:r,description:c,children:t,image:d,link:e,className:l,border:m="normal",highlighted:i=!1,renderLinkFunction:o,qa:n}){const h={"m-card":!0,"m-card--highlight":i,"m-card--light-border":m==="light","m-card--no-border":m==="none",[`${l}`]:!!l},g=x.classNames(h),u=s?.tag||"h4";return a.jsxs("div",{className:g,"data-qa":n,children:[!!d&&a.jsx("div",{className:"m-card__image",children:a.jsx(j.Image,{...d})}),a.jsxs("div",{className:"m-card__body",children:[!!s?.label&&a.jsx(u,{id:`${s?.id}`,className:`u-margin-bottom-xs ${s.className??""}`,children:s.label}),!!r&&a.jsx("p",{className:"small u-text-bold u-margin-bottom-xs",children:r}),!!c&&a.jsx("p",{className:"u-margin-bottom",children:c}),!!e&&a.jsx("p",{className:"u-text-right",children:o?o(e):b.renderHTMLLink({...e,href:e.href??"#"},"arrow-right-1",{className:"has-icon-right","aria-labelledby":s?.id})}),t]})]})}exports.Card=N;
package/cjs/index130.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index156.js"),i=require("./index149.js");function u(a,t){const n=c.getDefaultOptions(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,e=i.toDate(a,t?.in),s=e.getDay(),r=(s<o?-7:0)+6-(s-o);return e.setDate(e.getDate()+r),e.setHours(23,59,59,999),e}exports.endOfWeek=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index104.js"),n=require("./index136.js"),c=10;class s{subPriority=0;validate(t,e){return!0}}class l extends s{constructor(t,e,r,a,u){super(),this.value=t,this.validateValue=e,this.setValue=r,this.priority=a,u&&(this.subPriority=u)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,r){return this.setValue(t,e,this.value,r)}}class h extends s{priority=c;subPriority=-1;constructor(t,e){super(),this.context=t||(r=>o.constructFrom(e,r))}set(t,e){return e.timestampIsSet?t:o.constructFrom(t,n.transpose(t,this.context))}}exports.DateTimezoneSetter=h;exports.Setter=s;exports.ValueSetter=l;
package/cjs/index131.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index156.js"),i=require("./index149.js");function u(o,e){const s=c.getDefaultOptions(),a=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,t=i.toDate(o,e?.in),n=t.getDay(),r=(n<a?7:0)+n-a;return t.setDate(t.getDate()-r),t.setHours(0,0,0,0),t}exports.startOfWeek=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index140.js"),r=require("./index141.js"),a=require("./index142.js"),s=require("./index143.js"),n=require("./index144.js"),o=require("./index145.js"),t=require("./index146.js"),P=require("./index147.js"),i=require("./index148.js"),c=require("./index149.js"),u=require("./index150.js"),q=require("./index151.js"),w=require("./index152.js"),d=require("./index153.js"),S=require("./index154.js"),l=require("./index155.js"),M=require("./index156.js"),y=require("./index157.js"),D=require("./index158.js"),O=require("./index159.js"),m=require("./index160.js"),T=require("./index161.js"),I=require("./index162.js"),Y=require("./index163.js"),A=require("./index164.js"),W=require("./index165.js"),h=require("./index166.js"),k=require("./index167.js"),H=require("./index168.js"),L=require("./index169.js"),p=require("./index170.js"),f={G:new e.EraParser,y:new r.YearParser,Y:new a.LocalWeekYearParser,R:new s.ISOWeekYearParser,u:new n.ExtendedYearParser,Q:new o.QuarterParser,q:new t.StandAloneQuarterParser,M:new P.MonthParser,L:new i.StandAloneMonthParser,w:new c.LocalWeekParser,I:new u.ISOWeekParser,d:new q.DateParser,D:new w.DayOfYearParser,E:new d.DayParser,e:new S.LocalDayParser,c:new l.StandAloneLocalDayParser,i:new M.ISODayParser,a:new y.AMPMParser,b:new D.AMPMMidnightParser,B:new O.DayPeriodParser,h:new m.Hour1to12Parser,H:new T.Hour0to23Parser,K:new I.Hour0To11Parser,k:new Y.Hour1To24Parser,m:new A.MinuteParser,s:new W.SecondParser,S:new h.FractionOfSecondParser,X:new k.ISOTimezoneWithZParser,x:new H.ISOTimezoneParser,t:new L.TimestampSecondsParser,T:new p.TimestampMillisecondsParser};exports.parsers=f;
package/cjs/index132.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index149.js");function n(e,o){const t=r.toDate(e,o?.in);return t.setDate(1),t.setHours(0,0,0,0),t}exports.startOfMonth=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index112.js"),l=require("./index102.js"),D=require("./index105.js");function O(o,t,e){const a=u.getDefaultOptions(),c=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=D.toDate(o,e?.in),r=s.getDay(),i=(t%7+7)%7,n=7-c,d=t<0||t>6?t-(r+n)%7:(i+n)%7-(r+n)%7;return l.addDays(s,d,e)}exports.setDay=O;
package/cjs/index133.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index149.js");function u(e,n){const t=r.toDate(e,n?.in),o=t.getMonth();return t.setFullYear(t.getFullYear(),o+1,0),t.setHours(23,59,59,999),t}exports.endOfMonth=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index102.js"),o=require("./index121.js"),u=require("./index105.js");function y(a,r,e){const t=u.toDate(a,e?.in),n=o.getISODay(t,e),c=r-n;return s.addDays(t,c,e)}exports.setISODay=y;
package/cjs/index134.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index135.js");function r(e,d,t){return a.addDays(e,d*7,t)}exports.addWeeks=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index122.js"),a=require("./index105.js");function c(r,n,t){const e=a.toDate(r,t?.in),o=s.getISOWeek(e,t)-n;return e.setDate(e.getDate()-o*7),e}exports.setISOWeek=c;
package/cjs/index135.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index148.js"),c=require("./index149.js");function i(r,e,n){const t=c.toDate(r,n?.in);return isNaN(e)?a.constructFrom(n?.in||r,NaN):(e&&t.setDate(t.getDate()+e),t)}exports.addDays=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index126.js"),r=require("./index105.js");function i(n,a,t){const e=r.toDate(n,t?.in),o=c.getWeek(e,t)-a;return e.setDate(e.getDate()-o*7),r.toDate(e,t?.in)}exports.setWeek=i;
package/cjs/index136.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index149.js");function r(t,e){return o.toDate(t,e?.in).getDate()}exports.getDate=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index104.js");function r(e,t){const n=s(t)?new t(0):o.constructFrom(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function s(e){return typeof e=="function"&&e.prototype?.constructor===e}exports.transpose=r;
package/cjs/index137.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index176.js"),a=require("./index177.js"),i=require("./index178.js");function H(t){const e=i.getComputedStyle(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const s=i.isHTMLElement(t),c=s?t.offsetWidth:o,r=s?t.offsetHeight:n,l=a.round(o)!==c||a.round(n)!==r;return l&&(o=c,n=r),{width:o,height:n,$:l}}function W(t){return i.isElement(t)?t:t.contextElement}function R(t){const e=W(t);if(!i.isHTMLElement(e))return a.createCoords(1);const o=e.getBoundingClientRect(),{width:n,height:s,$:c}=H(e);let r=(c?a.round(o.width):o.width)/n,l=(c?a.round(o.height):o.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const q=a.createCoords(0);function A(t){const e=i.getWindow(t);return!i.isWebKit()||!e.visualViewport?q:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function U(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==i.getWindow(t)?!1:e}function E(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),c=W(t);let r=a.createCoords(1);e&&(n?i.isElement(n)&&(r=R(n)):r=R(t));const l=U(c,o,n)?A(c):a.createCoords(0);let f=(s.left+l.x)/r.x,u=(s.top+l.y)/r.y,d=s.width/r.x,h=s.height/r.y;if(c){const m=i.getWindow(c),g=n&&i.isElement(n)?i.getWindow(n):n;let y=m,w=i.getFrameElement(y);for(;w&&n&&g!==y;){const v=R(w),p=w.getBoundingClientRect(),x=i.getComputedStyle(w),C=p.left+(w.clientLeft+parseFloat(x.paddingLeft))*v.x,L=p.top+(w.clientTop+parseFloat(x.paddingTop))*v.y;f*=v.x,u*=v.y,d*=v.x,h*=v.y,f+=C,u+=L,y=i.getWindow(w),w=i.getFrameElement(y)}}return a.rectToClientRect({width:d,height:h,x:f,y:u})}function O(t,e){const o=i.getNodeScroll(t).scrollLeft;return e?e.left+o:E(i.getDocumentElement(t)).left+o}function I(t,e){const o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-O(t,o),s=o.top+e.scrollTop;return{x:n,y:s}}function k(t){let{elements:e,rect:o,offsetParent:n,strategy:s}=t;const c=s==="fixed",r=i.getDocumentElement(n),l=e?i.isTopLayer(e.floating):!1;if(n===r||l&&c)return o;let f={scrollLeft:0,scrollTop:0},u=a.createCoords(1);const d=a.createCoords(0),h=i.isHTMLElement(n);if((h||!h&&!c)&&((i.getNodeName(n)!=="body"||i.isOverflowElement(r))&&(f=i.getNodeScroll(n)),h)){const g=E(n);u=R(n),d.x=g.x+n.clientLeft,d.y=g.y+n.clientTop}const m=r&&!h&&!c?I(r,f):a.createCoords(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+d.x+m.x,y:o.y*u.y-f.scrollTop*u.y+d.y+m.y}}function X(t){return Array.from(t.getClientRects())}function K(t){const e=i.getDocumentElement(t),o=i.getNodeScroll(t),n=t.ownerDocument.body,s=a.max(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),c=a.max(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+O(t);const l=-o.scrollTop;return i.getComputedStyle(n).direction==="rtl"&&(r+=a.max(e.clientWidth,n.clientWidth)-s),{width:s,height:c,x:r,y:l}}const F=25;function $(t,e){const o=i.getWindow(t),n=i.getDocumentElement(t),s=o.visualViewport;let c=n.clientWidth,r=n.clientHeight,l=0,f=0;if(s){c=s.width,r=s.height;const d=i.isWebKit();(!d||d&&e==="fixed")&&(l=s.offsetLeft,f=s.offsetTop)}const u=O(n);if(u<=0){const d=n.ownerDocument,h=d.body,m=getComputedStyle(h),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,y=Math.abs(n.clientWidth-h.clientWidth-g);y<=F&&(c-=y)}else u<=F&&(c+=u);return{width:c,height:r,x:l,y:f}}function j(t,e){const o=E(t,!0,e==="fixed"),n=o.top+t.clientTop,s=o.left+t.clientLeft,c=i.isHTMLElement(t)?R(t):a.createCoords(1),r=t.clientWidth*c.x,l=t.clientHeight*c.y,f=s*c.x,u=n*c.y;return{width:r,height:l,x:f,y:u}}function M(t,e,o){let n;if(e==="viewport")n=$(t,o);else if(e==="document")n=K(i.getDocumentElement(t));else if(i.isElement(e))n=j(e,o);else{const s=A(t);n={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return a.rectToClientRect(n)}function _(t,e){const o=i.getParentNode(t);return o===e||!i.isElement(o)||i.isLastTraversableNode(o)?!1:i.getComputedStyle(o).position==="fixed"||_(o,e)}function G(t,e){const o=e.get(t);if(o)return o;let n=i.getOverflowAncestors(t,[],!1).filter(l=>i.isElement(l)&&i.getNodeName(l)!=="body"),s=null;const c=i.getComputedStyle(t).position==="fixed";let r=c?i.getParentNode(t):t;for(;i.isElement(r)&&!i.isLastTraversableNode(r);){const l=i.getComputedStyle(r),f=i.isContainingBlock(r);!f&&l.position==="fixed"&&(s=null),(c?!f&&!s:!f&&l.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||i.isOverflowElement(r)&&!f&&_(t,r))?n=n.filter(d=>d!==r):s=l,r=i.getParentNode(r)}return e.set(t,n),n}function J(t){let{element:e,boundary:o,rootBoundary:n,strategy:s}=t;const r=[...o==="clippingAncestors"?i.isTopLayer(e)?[]:G(e,this._c):[].concat(o),n],l=M(e,r[0],s);let f=l.top,u=l.right,d=l.bottom,h=l.left;for(let m=1;m<r.length;m++){const g=M(e,r[m],s);f=a.max(g.top,f),u=a.min(g.right,u),d=a.min(g.bottom,d),h=a.max(g.left,h)}return{width:u-h,height:d-f,x:h,y:f}}function Q(t){const{width:e,height:o}=H(t);return{width:e,height:o}}function Y(t,e,o){const n=i.isHTMLElement(e),s=i.getDocumentElement(e),c=o==="fixed",r=E(t,!0,c,e);let l={scrollLeft:0,scrollTop:0};const f=a.createCoords(0);function u(){f.x=O(s)}if(n||!n&&!c)if((i.getNodeName(e)!=="body"||i.isOverflowElement(s))&&(l=i.getNodeScroll(e)),n){const g=E(e,!0,c,e);f.x=g.x+e.clientLeft,f.y=g.y+e.clientTop}else s&&u();c&&!n&&s&&u();const d=s&&!n&&!c?I(s,l):a.createCoords(0),h=r.left+l.scrollLeft-f.x-d.x,m=r.top+l.scrollTop-f.y-d.y;return{x:h,y:m,width:r.width,height:r.height}}function S(t){return i.getComputedStyle(t).position==="static"}function B(t,e){if(!i.isHTMLElement(t)||i.getComputedStyle(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return i.getDocumentElement(t)===o&&(o=o.ownerDocument.body),o}function V(t,e){const o=i.getWindow(t);if(i.isTopLayer(t))return o;if(!i.isHTMLElement(t)){let s=i.getParentNode(t);for(;s&&!i.isLastTraversableNode(s);){if(i.isElement(s)&&!S(s))return s;s=i.getParentNode(s)}return o}let n=B(t,e);for(;n&&i.isTableElement(n)&&S(n);)n=B(n,e);return n&&i.isLastTraversableNode(n)&&S(n)&&!i.isContainingBlock(n)?o:n||i.getContainingBlock(t)||o}const Z=async function(t){const e=this.getOffsetParent||V,o=this.getDimensions,n=await o(t.floating);return{reference:Y(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function tt(t){return i.getComputedStyle(t).direction==="rtl"}const z={convertOffsetParentRelativeRectToViewportRelativeRect:k,getDocumentElement:i.getDocumentElement,getClippingRect:J,getOffsetParent:V,getElementRects:Z,getClientRects:X,getDimensions:Q,getScale:R,isElement:i.isElement,isRTL:tt};function P(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function et(t,e){let o=null,n;const s=i.getDocumentElement(t);function c(){var l;clearTimeout(n),(l=o)==null||l.disconnect(),o=null}function r(l,f){l===void 0&&(l=!1),f===void 0&&(f=1),c();const u=t.getBoundingClientRect(),{left:d,top:h,width:m,height:g}=u;if(l||e(),!m||!g)return;const y=a.floor(h),w=a.floor(s.clientWidth-(d+m)),v=a.floor(s.clientHeight-(h+g)),p=a.floor(d),C={rootMargin:-y+"px "+-w+"px "+-v+"px "+-p+"px",threshold:a.max(0,a.min(1,f))||1};let L=!0;function N(D){const T=D[0].intersectionRatio;if(T!==f){if(!L)return r();T?r(!1,T):n=setTimeout(()=>{r(!1,1e-7)},1e3)}T===1&&!P(u,t.getBoundingClientRect())&&r(),L=!1}try{o=new IntersectionObserver(N,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(N,C)}o.observe(t)}return r(!0),c}function ot(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,u=W(t),d=s||c?[...u?i.getOverflowAncestors(u):[],...e?i.getOverflowAncestors(e):[]]:[];d.forEach(p=>{s&&p.addEventListener("scroll",o,{passive:!0}),c&&p.addEventListener("resize",o)});const h=u&&l?et(u,o):null;let m=-1,g=null;r&&(g=new ResizeObserver(p=>{let[x]=p;x&&x.target===u&&g&&e&&(g.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var C;(C=g)==null||C.observe(e)})),o()}),u&&!f&&g.observe(u),e&&g.observe(e));let y,w=f?E(t):null;f&&v();function v(){const p=E(t);w&&!P(w,p)&&o(),w=p,y=requestAnimationFrame(v)}return o(),()=>{var p;d.forEach(x=>{s&&x.removeEventListener("scroll",o),c&&x.removeEventListener("resize",o)}),h?.(),(p=g)==null||p.disconnect(),g=null,f&&cancelAnimationFrame(y)}}const nt=b.offset,it=b.shift,st=b.flip,rt=b.arrow,ct=(t,e,o)=>{const n=new Map,s={platform:z,...o},c={...s.platform,_c:n};return b.computePosition(t,e,{...s,platform:c})};exports.getOverflowAncestors=i.getOverflowAncestors;exports.arrow=rt;exports.autoUpdate=ot;exports.computePosition=ct;exports.flip=st;exports.offset=nt;exports.platform=z;exports.shift=it;
package/cjs/index138.js CHANGED
@@ -1,8 +1,5 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index181.js");/** @license React v16.13.1
2
- * react-is.production.min.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */var S;function w(){if(S)return r.__exports;S=1;var t=typeof Symbol=="function"&&Symbol.for,m=t?Symbol.for("react.element"):60103,x=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,s=t?Symbol.for("react.strict_mode"):60108,c=t?Symbol.for("react.profiler"):60114,_=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,b=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,i=t?Symbol.for("react.forward_ref"):60112,u=t?Symbol.for("react.suspense"):60113,$=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,l=t?Symbol.for("react.lazy"):60116,M=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,C=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function o(e){if(typeof e=="object"&&e!==null){var d=e.$$typeof;switch(d){case m:switch(e=e.type,e){case b:case p:case n:case c:case s:case u:return e;default:switch(e=e&&e.$$typeof,e){case f:case i:case l:case y:case _:return e;default:return d}}case x:return d}}}function a(e){return o(e)===p}return r.__exports.AsyncMode=b,r.__exports.ConcurrentMode=p,r.__exports.ContextConsumer=f,r.__exports.ContextProvider=_,r.__exports.Element=m,r.__exports.ForwardRef=i,r.__exports.Fragment=n,r.__exports.Lazy=l,r.__exports.Memo=y,r.__exports.Portal=x,r.__exports.Profiler=c,r.__exports.StrictMode=s,r.__exports.Suspense=u,r.__exports.isAsyncMode=function(e){return a(e)||o(e)===b},r.__exports.isConcurrentMode=a,r.__exports.isContextConsumer=function(e){return o(e)===f},r.__exports.isContextProvider=function(e){return o(e)===_},r.__exports.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===m},r.__exports.isForwardRef=function(e){return o(e)===i},r.__exports.isFragment=function(e){return o(e)===n},r.__exports.isLazy=function(e){return o(e)===l},r.__exports.isMemo=function(e){return o(e)===y},r.__exports.isPortal=function(e){return o(e)===x},r.__exports.isProfiler=function(e){return o(e)===c},r.__exports.isStrictMode=function(e){return o(e)===s},r.__exports.isSuspense=function(e){return o(e)===u},r.__exports.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===n||e===p||e===c||e===s||e===u||e===$||typeof e=="object"&&e!==null&&(e.$$typeof===l||e.$$typeof===y||e.$$typeof===_||e.$$typeof===f||e.$$typeof===i||e.$$typeof===v||e.$$typeof===C||e.$$typeof===g||e.$$typeof===M)},r.__exports.typeOf=o,r.__exports}exports.__require=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./index171.js"),i=require("./index175.js");/*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */(function(o){(function(){var u={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=s(t,f(r)))}return t}function f(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)u.call(t,r)&&t[r]&&(e=s(e,r));return e}function s(t,e){return e?t?t+" "+e:t+e:t}o.exports?(n.default=n,o.exports=n):window.classNames=n})()})(i.__module);var l=i.__module.exports;const p=c.getDefaultExportFromCjs(l);exports.default=p;
package/cjs/index139.js CHANGED
@@ -1,8 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index182.js");/** @license React v16.13.1
2
- * react-is.development.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */var S;function ee(){return S||(S=1,process.env.NODE_ENV!=="production"&&function(){var o=typeof Symbol=="function"&&Symbol.for,x=o?Symbol.for("react.element"):60103,m=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,n=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,_=o?Symbol.for("react.provider"):60109,c=o?Symbol.for("react.context"):60110,T=o?Symbol.for("react.async_mode"):60111,i=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,u=o?Symbol.for("react.suspense"):60113,P=o?Symbol.for("react.suspense_list"):60120,E=o?Symbol.for("react.memo"):60115,d=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,A=o?Symbol.for("react.fundamental"):60117,M=o?Symbol.for("react.responder"):60118,b=o?Symbol.for("react.scope"):60119;function Y(e){return typeof e=="string"||typeof e=="function"||e===a||e===i||e===s||e===n||e===u||e===P||typeof e=="object"&&e!==null&&(e.$$typeof===d||e.$$typeof===E||e.$$typeof===_||e.$$typeof===c||e.$$typeof===f||e.$$typeof===A||e.$$typeof===M||e.$$typeof===b||e.$$typeof===y)}function t(e){if(typeof e=="object"&&e!==null){var p=e.$$typeof;switch(p){case x:var l=e.type;switch(l){case T:case i:case a:case s:case n:case u:return l;default:var R=l&&l.$$typeof;switch(R){case c:case f:case d:case E:case _:return R;default:return p}}case m:return p}}}var $=T,O=i,F=c,N=_,I=x,L=f,h=a,w=d,D=E,g=m,z=s,U=n,q=u,v=!1;function V(e){return v||(v=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),C(e)||t(e)===T}function C(e){return t(e)===i}function W(e){return t(e)===c}function k(e){return t(e)===_}function B(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}function G(e){return t(e)===f}function K(e){return t(e)===a}function X(e){return t(e)===d}function Z(e){return t(e)===E}function H(e){return t(e)===m}function J(e){return t(e)===s}function Q(e){return t(e)===n}function j(e){return t(e)===u}r.__exports.AsyncMode=$,r.__exports.ConcurrentMode=O,r.__exports.ContextConsumer=F,r.__exports.ContextProvider=N,r.__exports.Element=I,r.__exports.ForwardRef=L,r.__exports.Fragment=h,r.__exports.Lazy=w,r.__exports.Memo=D,r.__exports.Portal=g,r.__exports.Profiler=z,r.__exports.StrictMode=U,r.__exports.Suspense=q,r.__exports.isAsyncMode=V,r.__exports.isConcurrentMode=C,r.__exports.isContextConsumer=W,r.__exports.isContextProvider=k,r.__exports.isElement=B,r.__exports.isForwardRef=G,r.__exports.isFragment=K,r.__exports.isLazy=X,r.__exports.isMemo=Z,r.__exports.isPortal=H,r.__exports.isProfiler=J,r.__exports.isStrictMode=Q,r.__exports.isSuspense=j,r.__exports.isValidElementType=Y,r.__exports.typeOf=t}()),r.__exports}exports.__require=ee;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index117.js"),d={y(t,e){const a=t.getFullYear(),n=a>0?a:1-a;return r.addLeadingZeros(e==="yy"?n%100:n,e.length)},M(t,e){const a=t.getMonth();return e==="M"?String(a+1):r.addLeadingZeros(a+1,2)},d(t,e){return r.addLeadingZeros(t.getDate(),e.length)},a(t,e){const a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(t,e){return r.addLeadingZeros(t.getHours()%12||12,e.length)},H(t,e){return r.addLeadingZeros(t.getHours(),e.length)},m(t,e){return r.addLeadingZeros(t.getMinutes(),e.length)},s(t,e){return r.addLeadingZeros(t.getSeconds(),e.length)},S(t,e){const a=e.length,n=t.getMilliseconds(),s=Math.trunc(n*Math.pow(10,a-3));return r.addLeadingZeros(s,e.length)}};exports.lightFormatters=d;
package/cjs/index14.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),b=require("./index51.js"),j=require("./index52.js"),_=require("./index57.js");function k({label:a,showLabel:i=!0,checked:l,id:t,qa:o,name:u,disabled:d,indeterminate:r,onChange:n,required:c=!1}){const h=e=>n&&n(e),m=e=>{e&&r?e.indeterminate=!0:e&&!r&&(e.indeterminate=!1)},x=j.classNames({"a-input__checkbox":!0});return s.jsxs("div",{"data-qa":o,className:x,children:[s.jsx("input",{type:"checkbox",id:t,name:u,checked:l,ref:m,disabled:d,onChange:h,required:c}),s.jsxs("label",{htmlFor:t,children:[s.jsx("span",{className:i?void 0:b.SCREEN_READER_CLASS,children:a}),c&&_.renderRequiredAsterisk()]})]})}exports.Checkbox=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),b=require("./index59.js"),j=require("./index51.js"),_=require("./index52.js");function k({label:a,showLabel:i=!0,checked:l,id:t,qa:o,name:u,disabled:d,indeterminate:r,onChange:n,required:c=!1}){const h=e=>n&&n(e),m=e=>{e&&r?e.indeterminate=!0:e&&!r&&(e.indeterminate=!1)},x=j.classNames({"a-input__checkbox":!0});return s.jsxs("div",{"data-qa":o,className:x,children:[s.jsx("input",{type:"checkbox",id:t,name:u,checked:l,ref:m,disabled:d,onChange:h,required:c}),s.jsxs("label",{htmlFor:t,children:[s.jsx("span",{className:i?void 0:b.SCREEN_READER_CLASS,children:a}),c&&_.renderRequiredAsterisk()]})]})}exports.Checkbox=k;
package/cjs/index140.js CHANGED
@@ -1,5 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */var u,f;function j(){if(f)return u;f=1;var i=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function O(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function g(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var c={},r=0;r<10;r++)c["_"+String.fromCharCode(r)]=r;var a=Object.getOwnPropertyNames(c).map(function(e){return c[e]});if(a.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return u=g()?Object.assign:function(t,c){for(var r,a=O(t),n,e=1;e<arguments.length;e++){r=Object(arguments[e]);for(var s in r)b.call(r,s)&&(a[s]=r[s]);if(i){n=i(r);for(var o=0;o<n.length;o++)l.call(r,n[o])&&(a[n[o]]=r[n[o]])}}return a},u}exports.__require=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index184.js");class G extends a.Parser{priority=140;parse(r,s,e){switch(s){case"G":case"GG":case"GGG":return e.era(r,{width:"abbreviated"})||e.era(r,{width:"narrow"});case"GGGGG":return e.era(r,{width:"narrow"});case"GGGG":default:return e.era(r,{width:"wide"})||e.era(r,{width:"abbreviated"})||e.era(r,{width:"narrow"})}}set(r,s,e){return s.era=e,r.setFullYear(e,0,1),r.setHours(0,0,0,0),r}incompatibleTokens=["R","u","t","T"]}exports.EraParser=G;
package/cjs/index141.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e,r;function _(){if(r)return e;r=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return e=t,e}exports.__require=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index184.js"),i=require("./index185.js");class n extends u.Parser{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(r,e,a){const s=t=>({year:t,isTwoDigitYear:e==="yy"});switch(e){case"y":return i.mapValue(i.parseNDigits(4,r),s);case"yo":return i.mapValue(a.ordinalNumber(r,{unit:"year"}),s);default:return i.mapValue(i.parseNDigits(e.length,r),s)}}validate(r,e){return e.isTwoDigitYear||e.year>0}set(r,e,a){const s=r.getFullYear();if(a.isTwoDigitYear){const o=i.normalizeTwoDigitYear(a.year,s);return r.setFullYear(o,0,1),r.setHours(0,0,0,0),r}const t=!("era"in e)||e.era===1?a.year:1-a.year;return r.setFullYear(t,0,1),r.setHours(0,0,0,0),r}}exports.YearParser=n;
package/cjs/index142.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e,r;function t(){return r||(r=1,e=Function.call.bind(Object.prototype.hasOwnProperty)),e}exports.__require=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index128.js"),u=require("./index98.js"),l=require("./index184.js"),s=require("./index185.js");class Y extends l.Parser{priority=130;parse(e,r,t){const a=i=>({year:i,isTwoDigitYear:r==="YY"});switch(r){case"Y":return s.mapValue(s.parseNDigits(4,e),a);case"Yo":return s.mapValue(t.ordinalNumber(e,{unit:"year"}),a);default:return s.mapValue(s.parseNDigits(r.length,e),a)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,t,a){const i=c.getWeekYear(e,a);if(t.isTwoDigitYear){const o=s.normalizeTwoDigitYear(t.year,i);return e.setFullYear(o,0,a.firstWeekContainsDate),e.setHours(0,0,0,0),u.startOfWeek(e,a)}const n=!("era"in r)||r.era===1?t.year:1-t.year;return e.setFullYear(n,0,a.firstWeekContainsDate),e.setHours(0,0,0,0),u.startOfWeek(e,a)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}exports.LocalWeekYearParser=Y;
package/cjs/index143.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index141.js"),_=require("./index142.js");var u,p;function O(){if(p)return u;p=1;var o=function(){};if(process.env.NODE_ENV!=="production"){var l=E.__require(),a={},y=_.__require();o=function(r){var t="Warning: "+r;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function f(r,t,i,s,c){if(process.env.NODE_ENV!=="production"){for(var e in r)if(y(r,e)){var n;try{if(typeof r[e]!="function"){var h=Error((s||"React class")+": "+i+" type `"+e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}n=r[e](t,e,s,i,null,l)}catch(d){n=d}if(n&&!(n instanceof Error)&&o((s||"React class")+": type specification of "+i+" `"+e+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof n+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),n instanceof Error&&!(n.message in a)){a[n.message]=!0;var v=c?c():"";o("Failed "+i+" type: "+n.message+(v??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},u=f,u}exports.__require=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index123.js"),n=require("./index104.js"),o=require("./index184.js"),t=require("./index185.js");class u extends o.Parser{priority=130;parse(e,r){return r==="R"?t.parseNDigitsSigned(4,e):t.parseNDigitsSigned(r.length,e)}set(e,r,i){const s=n.constructFrom(e,0);return s.setFullYear(i,0,4),s.setHours(0,0,0,0),a.startOfISOWeek(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}exports.ISOWeekYearParser=u;