@rpcbase/ui 0.221.0 → 0.222.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (569) hide show
  1. package/dist/index10.js +3 -3
  2. package/dist/index100.js +4 -5
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +3 -3
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +6 -8
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +145 -5
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +39 -4
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +4 -4
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +7 -6
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +13 -145
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +13 -39
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +7 -4
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index11.js +2 -2
  23. package/dist/index110.js +29 -5
  24. package/dist/index110.js.map +1 -1
  25. package/dist/index111.js +10 -13
  26. package/dist/index111.js.map +1 -1
  27. package/dist/index112.js +10 -13
  28. package/dist/index112.js.map +1 -1
  29. package/dist/index113.js +8 -7
  30. package/dist/index113.js.map +1 -1
  31. package/dist/index114.js +13 -31
  32. package/dist/index114.js.map +1 -1
  33. package/dist/index115.js +101 -10
  34. package/dist/index115.js.map +1 -1
  35. package/dist/index116.js +20 -11
  36. package/dist/index116.js.map +1 -1
  37. package/dist/index117.js +53 -8
  38. package/dist/index117.js.map +1 -1
  39. package/dist/index118.js +70 -11
  40. package/dist/index118.js.map +1 -1
  41. package/dist/index119.js +9 -101
  42. package/dist/index119.js.map +1 -1
  43. package/dist/index12.js +3 -3
  44. package/dist/index120.js +21 -20
  45. package/dist/index120.js.map +1 -1
  46. package/dist/index121.js +15 -52
  47. package/dist/index121.js.map +1 -1
  48. package/dist/index122.js +23 -72
  49. package/dist/index122.js.map +1 -1
  50. package/dist/index123.js +6 -9
  51. package/dist/index123.js.map +1 -1
  52. package/dist/index124.js +5 -20
  53. package/dist/index124.js.map +1 -1
  54. package/dist/index125.js +23 -16
  55. package/dist/index125.js.map +1 -1
  56. package/dist/index126.js +35 -24
  57. package/dist/index126.js.map +1 -1
  58. package/dist/index127.js +16 -7
  59. package/dist/index127.js.map +1 -1
  60. package/dist/index128.js +6 -5
  61. package/dist/index128.js.map +1 -1
  62. package/dist/index129.js +4 -23
  63. package/dist/index129.js.map +1 -1
  64. package/dist/index13.js +2 -2
  65. package/dist/index130.js +5 -35
  66. package/dist/index130.js.map +1 -1
  67. package/dist/index131.js +5 -16
  68. package/dist/index131.js.map +1 -1
  69. package/dist/index132.js +4 -6
  70. package/dist/index132.js.map +1 -1
  71. package/dist/index133.js +3 -4
  72. package/dist/index133.js.map +1 -1
  73. package/dist/index134.js +6 -4
  74. package/dist/index134.js.map +1 -1
  75. package/dist/index135.js +24 -5
  76. package/dist/index135.js.map +1 -1
  77. package/dist/index136.js +7 -4
  78. package/dist/index136.js.map +1 -1
  79. package/dist/index137.js +6 -3
  80. package/dist/index137.js.map +1 -1
  81. package/dist/index138.js +5 -6
  82. package/dist/index138.js.map +1 -1
  83. package/dist/index139.js +4 -24
  84. package/dist/index139.js.map +1 -1
  85. package/dist/index14.js +2 -2
  86. package/dist/index140.js +3 -7
  87. package/dist/index140.js.map +1 -1
  88. package/dist/index141.js +4 -6
  89. package/dist/index141.js.map +1 -1
  90. package/dist/index142.js +3 -5
  91. package/dist/index142.js.map +1 -1
  92. package/dist/index143.js +4 -3
  93. package/dist/index143.js.map +1 -1
  94. package/dist/index144.js +3 -3
  95. package/dist/index144.js.map +1 -1
  96. package/dist/index145.js +3 -4
  97. package/dist/index145.js.map +1 -1
  98. package/dist/index146.js +3 -3
  99. package/dist/index146.js.map +1 -1
  100. package/dist/index147.js +46 -4
  101. package/dist/index147.js.map +1 -1
  102. package/dist/index148.js +5 -3
  103. package/dist/index148.js.map +1 -1
  104. package/dist/index149.js +7 -3
  105. package/dist/index149.js.map +1 -1
  106. package/dist/index15.js +2 -2
  107. package/dist/index150.js +5 -3
  108. package/dist/index150.js.map +1 -1
  109. package/dist/index151.js +16 -5
  110. package/dist/index151.js.map +1 -1
  111. package/dist/index152.js +4 -67
  112. package/dist/index152.js.map +1 -1
  113. package/dist/index153.js +6 -2
  114. package/dist/index153.js.map +1 -1
  115. package/dist/index154.js +54 -359
  116. package/dist/index154.js.map +1 -1
  117. package/dist/index155.js +59 -254
  118. package/dist/index155.js.map +1 -1
  119. package/dist/index156.js +6 -60
  120. package/dist/index156.js.map +1 -1
  121. package/dist/index157.js +4 -46
  122. package/dist/index157.js.map +1 -1
  123. package/dist/index158.js +6 -169
  124. package/dist/index158.js.map +1 -1
  125. package/dist/index159.js +16 -109
  126. package/dist/index159.js.map +1 -1
  127. package/dist/index16.js +2 -2
  128. package/dist/index160.js +4 -24
  129. package/dist/index160.js.map +1 -1
  130. package/dist/index161.js +5 -8
  131. package/dist/index161.js.map +1 -1
  132. package/dist/index162.js +12 -4
  133. package/dist/index162.js.map +1 -1
  134. package/dist/index163.js +9 -5
  135. package/dist/index163.js.map +1 -1
  136. package/dist/index164.js +13 -4
  137. package/dist/index164.js.map +1 -1
  138. package/dist/index165.js +13 -466
  139. package/dist/index165.js.map +1 -1
  140. package/dist/index166.js +4 -185
  141. package/dist/index166.js.map +1 -1
  142. package/dist/index167.js +5 -107
  143. package/dist/index167.js.map +1 -1
  144. package/dist/index168.js +6 -262
  145. package/dist/index168.js.map +1 -1
  146. package/dist/index169.js +5 -9
  147. package/dist/index169.js.map +1 -1
  148. package/dist/index17.js +1 -1
  149. package/dist/index170.js +53 -41
  150. package/dist/index170.js.map +1 -1
  151. package/dist/index171.js +8 -4
  152. package/dist/index171.js.map +1 -1
  153. package/dist/index172.js +4 -46
  154. package/dist/index172.js.map +1 -1
  155. package/dist/index173.js +4 -229
  156. package/dist/index173.js.map +1 -1
  157. package/dist/index174.js +9 -22
  158. package/dist/index174.js.map +1 -1
  159. package/dist/index175.js +4 -24
  160. package/dist/index175.js.map +1 -1
  161. package/dist/index176.js +4 -400
  162. package/dist/index176.js.map +1 -1
  163. package/dist/index177.js +3 -58
  164. package/dist/index177.js.map +1 -1
  165. package/dist/index178.js +10 -8
  166. package/dist/index178.js.map +1 -1
  167. package/dist/index179.js +9 -66
  168. package/dist/index179.js.map +1 -1
  169. package/dist/index18.js +7 -7
  170. package/dist/index180.js +9 -19
  171. package/dist/index180.js.map +1 -1
  172. package/dist/index181.js +10 -16
  173. package/dist/index181.js.map +1 -1
  174. package/dist/index182.js +10 -5
  175. package/dist/index182.js.map +1 -1
  176. package/dist/index183.js +9 -5
  177. package/dist/index183.js.map +1 -1
  178. package/dist/index184.js +6 -6
  179. package/dist/index184.js.map +1 -1
  180. package/dist/index185.js +5 -4
  181. package/dist/index185.js.map +1 -1
  182. package/dist/index186.js +4 -6
  183. package/dist/index186.js.map +1 -1
  184. package/dist/index187.js +5 -16
  185. package/dist/index187.js.map +1 -1
  186. package/dist/index188.js +6 -4
  187. package/dist/index188.js.map +1 -1
  188. package/dist/index189.js +5 -4
  189. package/dist/index189.js.map +1 -1
  190. package/dist/index19.js +3 -3
  191. package/dist/index190.js +8 -12
  192. package/dist/index190.js.map +1 -1
  193. package/dist/index191.js +19 -9
  194. package/dist/index191.js.map +1 -1
  195. package/dist/index192.js +46 -13
  196. package/dist/index192.js.map +1 -1
  197. package/dist/index193.js +229 -13
  198. package/dist/index193.js.map +1 -1
  199. package/dist/index194.js +22 -5
  200. package/dist/index194.js.map +1 -1
  201. package/dist/index195.js +24 -5
  202. package/dist/index195.js.map +1 -1
  203. package/dist/index196.js +400 -6
  204. package/dist/index196.js.map +1 -1
  205. package/dist/index197.js +29 -5
  206. package/dist/index197.js.map +1 -1
  207. package/dist/index198.js +12 -54
  208. package/dist/index198.js.map +1 -1
  209. package/dist/index199.js +25 -8
  210. package/dist/index199.js.map +1 -1
  211. package/dist/index200.js +5 -4
  212. package/dist/index200.js.map +1 -1
  213. package/dist/index201.js +16 -4
  214. package/dist/index201.js.map +1 -1
  215. package/dist/index202.js +7 -8
  216. package/dist/index202.js.map +1 -1
  217. package/dist/index203.js +10 -4
  218. package/dist/index203.js.map +1 -1
  219. package/dist/index204.js +10 -4
  220. package/dist/index204.js.map +1 -1
  221. package/dist/index205.js +21 -3
  222. package/dist/index205.js.map +1 -1
  223. package/dist/index206.js +10 -10
  224. package/dist/index206.js.map +1 -1
  225. package/dist/index207.js +9 -9
  226. package/dist/index207.js.map +1 -1
  227. package/dist/index208.js +9 -9
  228. package/dist/index208.js.map +1 -1
  229. package/dist/index209.js +4 -10
  230. package/dist/index209.js.map +1 -1
  231. package/dist/index21.js +1 -1
  232. package/dist/index210.js +5 -10
  233. package/dist/index210.js.map +1 -1
  234. package/dist/index211.js +16 -9
  235. package/dist/index211.js.map +1 -1
  236. package/dist/index212.js +9 -6
  237. package/dist/index212.js.map +1 -1
  238. package/dist/index213.js +18 -5
  239. package/dist/index213.js.map +1 -1
  240. package/dist/index214.js +15 -4
  241. package/dist/index214.js.map +1 -1
  242. package/dist/index215.js +12 -5
  243. package/dist/index215.js.map +1 -1
  244. package/dist/index216.js +5 -6
  245. package/dist/index216.js.map +1 -1
  246. package/dist/index217.js +68 -5
  247. package/dist/index217.js.map +1 -1
  248. package/dist/index218.js +2 -17
  249. package/dist/index218.js.map +1 -1
  250. package/dist/index219.js +363 -7
  251. package/dist/index219.js.map +1 -1
  252. package/dist/index22.js +2 -2
  253. package/dist/index220.js +260 -9
  254. package/dist/index220.js.map +1 -1
  255. package/dist/index221.js +59 -9
  256. package/dist/index221.js.map +1 -1
  257. package/dist/index222.js +46 -21
  258. package/dist/index222.js.map +1 -1
  259. package/dist/index223.js +169 -10
  260. package/dist/index223.js.map +1 -1
  261. package/dist/index224.js +109 -9
  262. package/dist/index224.js.map +1 -1
  263. package/dist/index225.js +24 -9
  264. package/dist/index225.js.map +1 -1
  265. package/dist/index226.js +8 -5
  266. package/dist/index226.js.map +1 -1
  267. package/dist/index227.js +4 -5
  268. package/dist/index227.js.map +1 -1
  269. package/dist/index228.js +5 -16
  270. package/dist/index228.js.map +1 -1
  271. package/dist/index229.js +4 -9
  272. package/dist/index229.js.map +1 -1
  273. package/dist/index23.js +1 -1
  274. package/dist/index230.js +465 -17
  275. package/dist/index230.js.map +1 -1
  276. package/dist/index231.js +184 -14
  277. package/dist/index231.js.map +1 -1
  278. package/dist/index232.js +107 -12
  279. package/dist/index232.js.map +1 -1
  280. package/dist/index233.js +260 -27
  281. package/dist/index233.js.map +1 -1
  282. package/dist/index234.js +9 -12
  283. package/dist/index234.js.map +1 -1
  284. package/dist/index235.js +41 -24
  285. package/dist/index235.js.map +1 -1
  286. package/dist/index236.js +4 -5
  287. package/dist/index236.js.map +1 -1
  288. package/dist/index237.js +4 -13
  289. package/dist/index237.js.map +1 -1
  290. package/dist/index238.js +17 -154
  291. package/dist/index238.js.map +1 -1
  292. package/dist/index239.js +22 -28
  293. package/dist/index239.js.map +1 -1
  294. package/dist/index24.js +1 -1
  295. package/dist/index240.js +29 -10
  296. package/dist/index240.js.map +1 -1
  297. package/dist/index241.js +5 -49
  298. package/dist/index241.js.map +1 -1
  299. package/dist/index242.js +12 -11
  300. package/dist/index242.js.map +1 -1
  301. package/dist/index243.js +13 -44
  302. package/dist/index243.js.map +1 -1
  303. package/dist/index244.js +145 -86
  304. package/dist/index244.js.map +1 -1
  305. package/dist/index245.js +27 -83
  306. package/dist/index245.js.map +1 -1
  307. package/dist/index246.js +9 -105
  308. package/dist/index246.js.map +1 -1
  309. package/dist/index247.js +41 -45
  310. package/dist/index247.js.map +1 -1
  311. package/dist/index248.js +11 -11
  312. package/dist/index248.js.map +1 -1
  313. package/dist/index249.js +42 -35
  314. package/dist/index249.js.map +1 -1
  315. package/dist/index25.js +1 -1
  316. package/dist/index250.js +95 -8
  317. package/dist/index250.js.map +1 -1
  318. package/dist/index251.js +80 -110
  319. package/dist/index251.js.map +1 -1
  320. package/dist/index252.js +105 -17
  321. package/dist/index252.js.map +1 -1
  322. package/dist/index253.js +51 -14
  323. package/dist/index253.js.map +1 -1
  324. package/dist/index254.js +11 -3
  325. package/dist/index254.js.map +1 -1
  326. package/dist/index255.js +33 -32
  327. package/dist/index255.js.map +1 -1
  328. package/dist/index256.js +8 -20
  329. package/dist/index256.js.map +1 -1
  330. package/dist/index257.js +116 -9
  331. package/dist/index257.js.map +1 -1
  332. package/dist/index258.js +17 -8
  333. package/dist/index258.js.map +1 -1
  334. package/dist/index259.js +12 -16
  335. package/dist/index259.js.map +1 -1
  336. package/dist/index260.js +3 -28
  337. package/dist/index260.js.map +1 -1
  338. package/dist/index261.js +35 -15
  339. package/dist/index261.js.map +1 -1
  340. package/dist/index262.js +20 -24
  341. package/dist/index262.js.map +1 -1
  342. package/dist/index263.js +10 -29
  343. package/dist/index263.js.map +1 -1
  344. package/dist/index264.js +9 -5
  345. package/dist/index264.js.map +1 -1
  346. package/dist/index265.js +19 -4
  347. package/dist/index265.js.map +1 -1
  348. package/dist/index266.js +28 -17
  349. package/dist/index266.js.map +1 -1
  350. package/dist/index267.js +16 -12
  351. package/dist/index267.js.map +1 -1
  352. package/dist/index268.js +4 -20
  353. package/dist/index268.js.map +1 -1
  354. package/dist/index269.js +5 -5
  355. package/dist/index269.js.map +1 -1
  356. package/dist/index270.js +4 -3
  357. package/dist/index270.js.map +1 -1
  358. package/dist/index271.js +15 -23
  359. package/dist/index271.js.map +1 -1
  360. package/dist/index272.js +6 -110
  361. package/dist/index272.js.map +1 -1
  362. package/dist/index273.js +5 -15
  363. package/dist/index273.js.map +1 -1
  364. package/dist/index274.js +4 -529
  365. package/dist/index274.js.map +1 -1
  366. package/dist/index275.js +542 -122
  367. package/dist/index275.js.map +1 -1
  368. package/dist/index276.js +44 -131
  369. package/dist/index276.js.map +1 -1
  370. package/dist/index277.js +17 -4
  371. package/dist/index277.js.map +1 -1
  372. package/dist/index278.js +5 -4
  373. package/dist/index278.js.map +1 -1
  374. package/dist/index279.js +8 -4
  375. package/dist/index279.js.map +1 -1
  376. package/dist/index28.js +2 -2
  377. package/dist/index280.js +6 -15
  378. package/dist/index280.js.map +1 -1
  379. package/dist/index281.js +7 -8
  380. package/dist/index281.js.map +1 -1
  381. package/dist/index282.js +11 -5
  382. package/dist/index282.js.map +1 -1
  383. package/dist/index283.js +8 -4
  384. package/dist/index283.js.map +1 -1
  385. package/dist/index284.js +12 -545
  386. package/dist/index284.js.map +1 -1
  387. package/dist/index285.js +5 -47
  388. package/dist/index285.js.map +1 -1
  389. package/dist/index286.js +3 -18
  390. package/dist/index286.js.map +1 -1
  391. package/dist/index287.js +23 -5
  392. package/dist/index287.js.map +1 -1
  393. package/dist/index288.js +112 -7
  394. package/dist/index288.js.map +1 -1
  395. package/dist/index289.js +15 -6
  396. package/dist/index289.js.map +1 -1
  397. package/dist/index29.js +37 -3
  398. package/dist/index29.js.map +1 -1
  399. package/dist/index290.js +529 -7
  400. package/dist/index290.js.map +1 -1
  401. package/dist/index291.js +125 -11
  402. package/dist/index291.js.map +1 -1
  403. package/dist/index292.js +133 -8
  404. package/dist/index292.js.map +1 -1
  405. package/dist/index293.js +20 -12
  406. package/dist/index293.js.map +1 -1
  407. package/dist/index294.js +4 -64
  408. package/dist/index294.js.map +1 -1
  409. package/dist/index295.js +54 -67
  410. package/dist/index295.js.map +1 -1
  411. package/dist/index296.js +67 -8
  412. package/dist/index296.js.map +1 -1
  413. package/dist/index297.js +31 -14
  414. package/dist/index297.js.map +1 -1
  415. package/dist/index298.js +9 -66
  416. package/dist/index298.js.map +1 -1
  417. package/dist/index299.js +153 -5
  418. package/dist/index299.js.map +1 -1
  419. package/dist/index3.js +2 -2
  420. package/dist/index30.js +3 -125
  421. package/dist/index30.js.map +1 -1
  422. package/dist/index300.js +106 -54
  423. package/dist/index300.js.map +1 -1
  424. package/dist/index301.js +65 -68
  425. package/dist/index301.js.map +1 -1
  426. package/dist/index302.js +68 -30
  427. package/dist/index302.js.map +1 -1
  428. package/dist/index303.js +9 -9
  429. package/dist/index303.js.map +1 -1
  430. package/dist/index304.js +13 -152
  431. package/dist/index304.js.map +1 -1
  432. package/dist/index305.js +65 -107
  433. package/dist/index305.js.map +1 -1
  434. package/dist/index306.js +15 -3
  435. package/dist/index306.js.map +1 -1
  436. package/dist/index307.js +28 -22
  437. package/dist/index307.js.map +1 -1
  438. package/dist/index308.js +11 -14
  439. package/dist/index308.js.map +1 -1
  440. package/dist/index309.js +5 -27
  441. package/dist/index309.js.map +1 -1
  442. package/dist/index31.js +120 -227
  443. package/dist/index31.js.map +1 -1
  444. package/dist/index310.js +3 -12
  445. package/dist/index310.js.map +1 -1
  446. package/dist/index311.js +22 -6
  447. package/dist/index311.js.map +1 -1
  448. package/dist/index32.js +229 -21
  449. package/dist/index32.js.map +1 -1
  450. package/dist/index33.js +23 -50
  451. package/dist/index33.js.map +1 -1
  452. package/dist/index34.js +50 -21
  453. package/dist/index34.js.map +1 -1
  454. package/dist/index35.js +18 -126
  455. package/dist/index35.js.map +1 -1
  456. package/dist/index36.js +113 -205
  457. package/dist/index36.js.map +1 -1
  458. package/dist/index37.js +205 -74
  459. package/dist/index37.js.map +1 -1
  460. package/dist/index38.js +87 -115
  461. package/dist/index38.js.map +1 -1
  462. package/dist/index39.js +118 -5
  463. package/dist/index39.js.map +1 -1
  464. package/dist/index4.js +2 -2
  465. package/dist/index40.js +5 -819
  466. package/dist/index40.js.map +1 -1
  467. package/dist/index41.js +819 -56
  468. package/dist/index41.js.map +1 -1
  469. package/dist/index42.js +57 -37
  470. package/dist/index42.js.map +1 -1
  471. package/dist/index45.js +1 -1
  472. package/dist/index46.js +1 -1
  473. package/dist/index49.js +1 -1
  474. package/dist/index5.js +2 -2
  475. package/dist/index50.js +1 -1
  476. package/dist/index52.js +2 -2
  477. package/dist/index56.js +2 -4
  478. package/dist/index56.js.map +1 -1
  479. package/dist/index57.js +2 -48
  480. package/dist/index57.js.map +1 -1
  481. package/dist/index58.js +2 -51
  482. package/dist/index58.js.map +1 -1
  483. package/dist/index59.js +2 -8
  484. package/dist/index59.js.map +1 -1
  485. package/dist/index6.js +5 -5
  486. package/dist/index60.js +3 -14
  487. package/dist/index60.js.map +1 -1
  488. package/dist/index61.js +43 -129
  489. package/dist/index61.js.map +1 -1
  490. package/dist/index62.js +50 -10
  491. package/dist/index62.js.map +1 -1
  492. package/dist/index63.js +7 -216
  493. package/dist/index63.js.map +1 -1
  494. package/dist/index64.js +15 -13
  495. package/dist/index64.js.map +1 -1
  496. package/dist/index65.js +128 -41
  497. package/dist/index65.js.map +1 -1
  498. package/dist/index66.js +9 -48
  499. package/dist/index66.js.map +1 -1
  500. package/dist/index67.js +216 -3
  501. package/dist/index67.js.map +1 -1
  502. package/dist/index68.js +13 -6
  503. package/dist/index68.js.map +1 -1
  504. package/dist/index69.js +46 -27
  505. package/dist/index69.js.map +1 -1
  506. package/dist/index7.js +2 -2
  507. package/dist/index70.js +50 -50
  508. package/dist/index70.js.map +1 -1
  509. package/dist/index71.js +4 -9
  510. package/dist/index71.js.map +1 -1
  511. package/dist/index72.js +5 -5
  512. package/dist/index72.js.map +1 -1
  513. package/dist/index73.js +28 -8
  514. package/dist/index73.js.map +1 -1
  515. package/dist/index74.js +50 -6
  516. package/dist/index74.js.map +1 -1
  517. package/dist/index75.js +9 -2
  518. package/dist/index75.js.map +1 -1
  519. package/dist/index76.js +52 -2
  520. package/dist/index76.js.map +1 -1
  521. package/dist/index77.js +5 -2
  522. package/dist/index77.js.map +1 -1
  523. package/dist/index78.js +5 -2
  524. package/dist/index78.js.map +1 -1
  525. package/dist/index79.js +15 -46
  526. package/dist/index79.js.map +1 -1
  527. package/dist/index8.js +3 -3
  528. package/dist/index80.js +6 -52
  529. package/dist/index80.js.map +1 -1
  530. package/dist/index81.js +6 -3
  531. package/dist/index81.js.map +1 -1
  532. package/dist/index82.js +16 -4
  533. package/dist/index82.js.map +1 -1
  534. package/dist/index83.js +4 -15
  535. package/dist/index83.js.map +1 -1
  536. package/dist/index84.js +4 -5
  537. package/dist/index84.js.map +1 -1
  538. package/dist/index85.js +5 -7
  539. package/dist/index85.js.map +1 -1
  540. package/dist/index86.js +5 -16
  541. package/dist/index86.js.map +1 -1
  542. package/dist/index87.js +4 -4
  543. package/dist/index87.js.map +1 -1
  544. package/dist/index88.js +4 -4
  545. package/dist/index88.js.map +1 -1
  546. package/dist/index89.js +6 -5
  547. package/dist/index89.js.map +1 -1
  548. package/dist/index9.js +1 -1
  549. package/dist/index90.js +24 -5
  550. package/dist/index90.js.map +1 -1
  551. package/dist/index91.js +6 -4
  552. package/dist/index91.js.map +1 -1
  553. package/dist/index92.js +2 -2
  554. package/dist/index92.js.map +1 -1
  555. package/dist/index93.js +5 -5
  556. package/dist/index93.js.map +1 -1
  557. package/dist/index94.js +5 -24
  558. package/dist/index94.js.map +1 -1
  559. package/dist/index95.js +4 -6
  560. package/dist/index95.js.map +1 -1
  561. package/dist/index96.js +5 -4
  562. package/dist/index96.js.map +1 -1
  563. package/dist/index97.js +4 -6
  564. package/dist/index97.js.map +1 -1
  565. package/dist/index98.js +8 -5
  566. package/dist/index98.js.map +1 -1
  567. package/dist/index99.js +4 -3
  568. package/dist/index99.js.map +1 -1
  569. package/package.json +1 -1
package/dist/index176.js CHANGED
@@ -1,404 +1,8 @@
1
- import { computePosition as st, offset as rt, shift as ct, flip as lt, size as ft, hide as ut, arrow as ht, limitShift as at } from "./index274.js";
2
- import { createCoords as y, round as z, max as E, min as N, rectToClientRect as J, floor as D } from "./index275.js";
3
- import { isElement as v, getDocumentElement as b, getOverflowAncestors as $, getComputedStyle as R, isHTMLElement as T, getWindow as O, isTopLayer as V, getParentNode as S, isLastTraversableNode as A, isTableElement as dt, isContainingBlock as Q, getContainingBlock as gt, getNodeName as _, isOverflowElement as q, getNodeScroll as H, getFrameElement as U, isWebKit as Y } from "./index276.js";
4
- function Z(t) {
5
- const e = R(t);
6
- let i = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
7
- const n = T(t), r = n ? t.offsetWidth : i, s = n ? t.offsetHeight : o, c = z(i) !== r || z(o) !== s;
8
- return c && (i = r, o = s), {
9
- width: i,
10
- height: o,
11
- $: c
12
- };
1
+ import { toDate as o } from "./index269.js";
2
+ function f(r, t) {
3
+ return +o(r) < +o(t);
13
4
  }
14
- function X(t) {
15
- return v(t) ? t : t.contextElement;
16
- }
17
- function F(t) {
18
- const e = X(t);
19
- if (!T(e))
20
- return y(1);
21
- const i = e.getBoundingClientRect(), {
22
- width: o,
23
- height: n,
24
- $: r
25
- } = Z(e);
26
- let s = (r ? z(i.width) : i.width) / o, c = (r ? z(i.height) : i.height) / n;
27
- return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
28
- x: s,
29
- y: c
30
- };
31
- }
32
- const pt = /* @__PURE__ */ y(0);
33
- function tt(t) {
34
- const e = O(t);
35
- return !Y() || !e.visualViewport ? pt : {
36
- x: e.visualViewport.offsetLeft,
37
- y: e.visualViewport.offsetTop
38
- };
39
- }
40
- function mt(t, e, i) {
41
- return e === void 0 && (e = !1), !i || e && i !== O(t) ? !1 : e;
42
- }
43
- function L(t, e, i, o) {
44
- e === void 0 && (e = !1), i === void 0 && (i = !1);
45
- const n = t.getBoundingClientRect(), r = X(t);
46
- let s = y(1);
47
- e && (o ? v(o) && (s = F(o)) : s = F(t));
48
- const c = mt(r, i, o) ? tt(r) : y(0);
49
- let l = (n.left + c.x) / s.x, f = (n.top + c.y) / s.y, u = n.width / s.x, a = n.height / s.y;
50
- if (r) {
51
- const d = O(r), h = o && v(o) ? O(o) : o;
52
- let m = d, p = U(m);
53
- for (; p && o && h !== m; ) {
54
- const w = F(p), g = p.getBoundingClientRect(), x = R(p), C = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * w.x, W = g.top + (p.clientTop + parseFloat(x.paddingTop)) * w.y;
55
- l *= w.x, f *= w.y, u *= w.x, a *= w.y, l += C, f += W, m = O(p), p = U(m);
56
- }
57
- }
58
- return J({
59
- width: u,
60
- height: a,
61
- x: l,
62
- y: f
63
- });
64
- }
65
- function I(t, e) {
66
- const i = H(t).scrollLeft;
67
- return e ? e.left + i : L(b(t)).left + i;
68
- }
69
- function et(t, e) {
70
- const i = t.getBoundingClientRect(), o = i.left + e.scrollLeft - I(t, i), n = i.top + e.scrollTop;
71
- return {
72
- x: o,
73
- y: n
74
- };
75
- }
76
- function wt(t) {
77
- let {
78
- elements: e,
79
- rect: i,
80
- offsetParent: o,
81
- strategy: n
82
- } = t;
83
- const r = n === "fixed", s = b(o), c = e ? V(e.floating) : !1;
84
- if (o === s || c && r)
85
- return i;
86
- let l = {
87
- scrollLeft: 0,
88
- scrollTop: 0
89
- }, f = y(1);
90
- const u = y(0), a = T(o);
91
- if ((a || !a && !r) && ((_(o) !== "body" || q(s)) && (l = H(o)), a)) {
92
- const h = L(o);
93
- f = F(o), u.x = h.x + o.clientLeft, u.y = h.y + o.clientTop;
94
- }
95
- const d = s && !a && !r ? et(s, l) : y(0);
96
- return {
97
- width: i.width * f.x,
98
- height: i.height * f.y,
99
- x: i.x * f.x - l.scrollLeft * f.x + u.x + d.x,
100
- y: i.y * f.y - l.scrollTop * f.y + u.y + d.y
101
- };
102
- }
103
- function yt(t) {
104
- return Array.from(t.getClientRects());
105
- }
106
- function xt(t) {
107
- const e = b(t), i = H(t), o = t.ownerDocument.body, n = E(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), r = E(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
108
- let s = -i.scrollLeft + I(t);
109
- const c = -i.scrollTop;
110
- return R(o).direction === "rtl" && (s += E(e.clientWidth, o.clientWidth) - n), {
111
- width: n,
112
- height: r,
113
- x: s,
114
- y: c
115
- };
116
- }
117
- const K = 25;
118
- function vt(t, e) {
119
- const i = O(t), o = b(t), n = i.visualViewport;
120
- let r = o.clientWidth, s = o.clientHeight, c = 0, l = 0;
121
- if (n) {
122
- r = n.width, s = n.height;
123
- const u = Y();
124
- (!u || u && e === "fixed") && (c = n.offsetLeft, l = n.offsetTop);
125
- }
126
- const f = I(o);
127
- if (f <= 0) {
128
- const u = o.ownerDocument, a = u.body, d = getComputedStyle(a), h = u.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, m = Math.abs(o.clientWidth - a.clientWidth - h);
129
- m <= K && (r -= m);
130
- } else f <= K && (r += f);
131
- return {
132
- width: r,
133
- height: s,
134
- x: c,
135
- y: l
136
- };
137
- }
138
- function Rt(t, e) {
139
- const i = L(t, !0, e === "fixed"), o = i.top + t.clientTop, n = i.left + t.clientLeft, r = T(t) ? F(t) : y(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = n * r.x, f = o * r.y;
140
- return {
141
- width: s,
142
- height: c,
143
- x: l,
144
- y: f
145
- };
146
- }
147
- function j(t, e, i) {
148
- let o;
149
- if (e === "viewport")
150
- o = vt(t, i);
151
- else if (e === "document")
152
- o = xt(b(t));
153
- else if (v(e))
154
- o = Rt(e, i);
155
- else {
156
- const n = tt(t);
157
- o = {
158
- x: e.x - n.x,
159
- y: e.y - n.y,
160
- width: e.width,
161
- height: e.height
162
- };
163
- }
164
- return J(o);
165
- }
166
- function it(t, e) {
167
- const i = S(t);
168
- return i === e || !v(i) || A(i) ? !1 : R(i).position === "fixed" || it(i, e);
169
- }
170
- function bt(t, e) {
171
- const i = e.get(t);
172
- if (i)
173
- return i;
174
- let o = $(t, [], !1).filter((c) => v(c) && _(c) !== "body"), n = null;
175
- const r = R(t).position === "fixed";
176
- let s = r ? S(t) : t;
177
- for (; v(s) && !A(s); ) {
178
- const c = R(s), l = Q(s);
179
- !l && c.position === "fixed" && (n = null), (r ? !l && !n : !l && c.position === "static" && !!n && (n.position === "absolute" || n.position === "fixed") || q(s) && !l && it(t, s)) ? o = o.filter((u) => u !== s) : n = c, s = S(s);
180
- }
181
- return e.set(t, o), o;
182
- }
183
- function Ct(t) {
184
- let {
185
- element: e,
186
- boundary: i,
187
- rootBoundary: o,
188
- strategy: n
189
- } = t;
190
- const s = [...i === "clippingAncestors" ? V(e) ? [] : bt(e, this._c) : [].concat(i), o], c = j(e, s[0], n);
191
- let l = c.top, f = c.right, u = c.bottom, a = c.left;
192
- for (let d = 1; d < s.length; d++) {
193
- const h = j(e, s[d], n);
194
- l = E(h.top, l), f = N(h.right, f), u = N(h.bottom, u), a = E(h.left, a);
195
- }
196
- return {
197
- width: f - a,
198
- height: u - l,
199
- x: a,
200
- y: l
201
- };
202
- }
203
- function Ot(t) {
204
- const {
205
- width: e,
206
- height: i
207
- } = Z(t);
208
- return {
209
- width: e,
210
- height: i
211
- };
212
- }
213
- function Lt(t, e, i) {
214
- const o = T(e), n = b(e), r = i === "fixed", s = L(t, !0, r, e);
215
- let c = {
216
- scrollLeft: 0,
217
- scrollTop: 0
218
- };
219
- const l = y(0);
220
- function f() {
221
- l.x = I(n);
222
- }
223
- if (o || !o && !r)
224
- if ((_(e) !== "body" || q(n)) && (c = H(e)), o) {
225
- const h = L(e, !0, r, e);
226
- l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
227
- } else n && f();
228
- r && !o && n && f();
229
- const u = n && !o && !r ? et(n, c) : y(0), a = s.left + c.scrollLeft - l.x - u.x, d = s.top + c.scrollTop - l.y - u.y;
230
- return {
231
- x: a,
232
- y: d,
233
- width: s.width,
234
- height: s.height
235
- };
236
- }
237
- function M(t) {
238
- return R(t).position === "static";
239
- }
240
- function G(t, e) {
241
- if (!T(t) || R(t).position === "fixed")
242
- return null;
243
- if (e)
244
- return e(t);
245
- let i = t.offsetParent;
246
- return b(t) === i && (i = i.ownerDocument.body), i;
247
- }
248
- function ot(t, e) {
249
- const i = O(t);
250
- if (V(t))
251
- return i;
252
- if (!T(t)) {
253
- let n = S(t);
254
- for (; n && !A(n); ) {
255
- if (v(n) && !M(n))
256
- return n;
257
- n = S(n);
258
- }
259
- return i;
260
- }
261
- let o = G(t, e);
262
- for (; o && dt(o) && M(o); )
263
- o = G(o, e);
264
- return o && A(o) && M(o) && !Q(o) ? i : o || gt(t) || i;
265
- }
266
- const Tt = async function(t) {
267
- const e = this.getOffsetParent || ot, i = this.getDimensions, o = await i(t.floating);
268
- return {
269
- reference: Lt(t.reference, await e(t.floating), t.strategy),
270
- floating: {
271
- x: 0,
272
- y: 0,
273
- width: o.width,
274
- height: o.height
275
- }
276
- };
277
- };
278
- function Et(t) {
279
- return R(t).direction === "rtl";
280
- }
281
- const Ft = {
282
- convertOffsetParentRelativeRectToViewportRelativeRect: wt,
283
- getDocumentElement: b,
284
- getClippingRect: Ct,
285
- getOffsetParent: ot,
286
- getElementRects: Tt,
287
- getClientRects: yt,
288
- getDimensions: Ot,
289
- getScale: F,
290
- isElement: v,
291
- isRTL: Et
292
- };
293
- function nt(t, e) {
294
- return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
295
- }
296
- function St(t, e) {
297
- let i = null, o;
298
- const n = b(t);
299
- function r() {
300
- var c;
301
- clearTimeout(o), (c = i) == null || c.disconnect(), i = null;
302
- }
303
- function s(c, l) {
304
- c === void 0 && (c = !1), l === void 0 && (l = 1), r();
305
- const f = t.getBoundingClientRect(), {
306
- left: u,
307
- top: a,
308
- width: d,
309
- height: h
310
- } = f;
311
- if (c || e(), !d || !h)
312
- return;
313
- const m = D(a), p = D(n.clientWidth - (u + d)), w = D(n.clientHeight - (a + h)), g = D(u), C = {
314
- rootMargin: -m + "px " + -p + "px " + -w + "px " + -g + "px",
315
- threshold: E(0, N(1, l)) || 1
316
- };
317
- let W = !0;
318
- function k(P) {
319
- const B = P[0].intersectionRatio;
320
- if (B !== l) {
321
- if (!W)
322
- return s();
323
- B ? s(!1, B) : o = setTimeout(() => {
324
- s(!1, 1e-7);
325
- }, 1e3);
326
- }
327
- B === 1 && !nt(f, t.getBoundingClientRect()) && s(), W = !1;
328
- }
329
- try {
330
- i = new IntersectionObserver(k, {
331
- ...C,
332
- // Handle <iframe>s
333
- root: n.ownerDocument
334
- });
335
- } catch {
336
- i = new IntersectionObserver(k, C);
337
- }
338
- i.observe(t);
339
- }
340
- return s(!0), r;
341
- }
342
- function zt(t, e, i, o) {
343
- o === void 0 && (o = {});
344
- const {
345
- ancestorScroll: n = !0,
346
- ancestorResize: r = !0,
347
- elementResize: s = typeof ResizeObserver == "function",
348
- layoutShift: c = typeof IntersectionObserver == "function",
349
- animationFrame: l = !1
350
- } = o, f = X(t), u = n || r ? [...f ? $(f) : [], ...e ? $(e) : []] : [];
351
- u.forEach((g) => {
352
- n && g.addEventListener("scroll", i, {
353
- passive: !0
354
- }), r && g.addEventListener("resize", i);
355
- });
356
- const a = f && c ? St(f, i) : null;
357
- let d = -1, h = null;
358
- s && (h = new ResizeObserver((g) => {
359
- let [x] = g;
360
- x && x.target === f && h && e && (h.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
361
- var C;
362
- (C = h) == null || C.observe(e);
363
- })), i();
364
- }), f && !l && h.observe(f), e && h.observe(e));
365
- let m, p = l ? L(t) : null;
366
- l && w();
367
- function w() {
368
- const g = L(t);
369
- p && !nt(p, g) && i(), p = g, m = requestAnimationFrame(w);
370
- }
371
- return i(), () => {
372
- var g;
373
- u.forEach((x) => {
374
- n && x.removeEventListener("scroll", i), r && x.removeEventListener("resize", i);
375
- }), a?.(), (g = h) == null || g.disconnect(), h = null, l && cancelAnimationFrame(m);
376
- };
377
- }
378
- const At = rt, Ht = ct, It = lt, Mt = ft, Nt = ut, $t = ht, Vt = at, _t = (t, e, i) => {
379
- const o = /* @__PURE__ */ new Map(), n = {
380
- platform: Ft,
381
- ...i
382
- }, r = {
383
- ...n.platform,
384
- _c: o
385
- };
386
- return st(t, e, {
387
- ...n,
388
- platform: r
389
- });
390
- };
391
5
  export {
392
- $t as arrow,
393
- zt as autoUpdate,
394
- _t as computePosition,
395
- It as flip,
396
- $ as getOverflowAncestors,
397
- Nt as hide,
398
- Vt as limitShift,
399
- At as offset,
400
- Ft as platform,
401
- Ht as shift,
402
- Mt as size
6
+ f as isBefore
403
7
  };
404
8
  //# sourceMappingURL=index176.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index176.js","sources":["../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle as getComputedStyle$1, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle$1(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle$1(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll) {\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle$1(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Safety check: ensure the scrollbar space is reasonable in case this\n// calculation is affected by unusual styles.\n// Most scrollbars leave 15-18px of space.\nconst SCROLLBAR_MAX = 25;\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n const windowScrollbarX = getWindowScrollBarX(html);\n // <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the\n // visual width of the <html> but this is not considered in the size\n // of `html.clientWidth`.\n if (windowScrollbarX <= 0) {\n const doc = html.ownerDocument;\n const body = doc.body;\n const bodyStyles = getComputedStyle(body);\n const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;\n const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);\n if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {\n width -= clippingStableScrollbarWidth;\n }\n } else if (windowScrollbarX <= SCROLLBAR_MAX) {\n // If the <body> scrollbar is on the left, the width needs to be extended\n // by the scrollbar amount so there isn't extra space on the right.\n width += windowScrollbarX;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle$1(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle$1(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);\n let top = firstRect.top;\n let right = firstRect.right;\n let bottom = firstRect.bottom;\n let left = firstRect.left;\n for (let i = 1; i < clippingAncestors.length; i++) {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);\n top = max(rect.top, top);\n right = min(rect.right, right);\n bottom = min(rect.bottom, bottom);\n left = max(rect.left, left);\n }\n return {\n width: right - left,\n height: bottom - top,\n x: left,\n y: top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n function setLeftRTLScrollbarOffset() {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n setLeftRTLScrollbarOffset();\n }\n }\n if (isFixed && !isOffsetParentAnElement && documentElement) {\n setLeftRTLScrollbarOffset();\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle$1(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle$1(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (_e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n if (floating) {\n resizeObserver.observe(floating);\n }\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle$1","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentWin","currentIFrame","getFrameElement","iframeScale","iframeRect","left","top","rectToClientRect","getWindowScrollBarX","leftScroll","getNodeScroll","getDocumentElement","getHTMLOffset","documentElement","scroll","htmlRect","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","strategy","topLayer","isTopLayer","offsets","isOffsetParentAnElement","getNodeName","isOverflowElement","offsetRect","htmlOffset","getClientRects","getDocumentRect","html","body","max","SCROLLBAR_MAX","getViewportRect","visualViewport","visualViewportBased","windowScrollbarX","doc","bodyStyles","bodyMarginInline","clippingStableScrollbarWidth","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstRect","right","bottom","i","min","getDimensions","getRectRelativeToOffsetParent","setLeftRTLScrollbarOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","svgOffsetParent","isTableElement","getContainingBlock","getElementRects","data","getOffsetParentFn","getDimensionsFn","floatingDimensions","isRTL","platform","rectsAreEqual","a","b","observeMove","onMove","io","timeoutId","root","cleanup","_io","refresh","skip","threshold","elementRectForRootMargin","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","reference","floating","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","offset","offset$1","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","arrow","arrow$1","limitShift","limitShift$1","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":";;;AAKA,SAASA,EAAiBC,GAAS;AACjC,QAAMC,IAAMC,EAAmBF,CAAO;AAGtC,MAAIG,IAAQ,WAAWF,EAAI,KAAK,KAAK,GACjCG,IAAS,WAAWH,EAAI,MAAM,KAAK;AACvC,QAAMI,IAAYC,EAAcN,CAAO,GACjCO,IAAcF,IAAYL,EAAQ,cAAcG,GAChDK,IAAeH,IAAYL,EAAQ,eAAeI,GAClDK,IAAiBC,EAAMP,CAAK,MAAMI,KAAeG,EAAMN,CAAM,MAAMI;AACzE,SAAIC,MACFN,IAAQI,GACRH,IAASI,IAEJ;AAAA,IACL,OAAAL;AAAA,IACA,QAAAC;AAAA,IACA,GAAGK;AAAA,EACP;AACA;AAEA,SAASE,EAAcX,GAAS;AAC9B,SAAQY,EAAUZ,CAAO,IAA6BA,IAAzBA,EAAQ;AACvC;AAEA,SAASa,EAASb,GAAS;AACzB,QAAMc,I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AAS,IAC7BS,IAAmBP,MAAmB,QAAQO,EAAiB,WAAU,GAC1EP,IAAiB,MACbL,KACF,qBAAqBQ,CAAO;AAAA,EAEhC;AACF;AAmBK,MAACK,KAASC,IAeTC,KAAQC,IAQRC,KAAOC,IAQPC,KAAOC,IAOPC,KAAOC,IAOPC,KAAQC,IAYRC,KAAaC,IAMbC,KAAkB,CAAClC,GAAWC,GAAUP,MAAY;AAIxD,QAAM1D,IAAQ,oBAAI,IAAG,GACfmG,IAAgB;AAAA,IACpB,UAAA7D;AAAA,IACA,GAAGoB;AAAA,EACP,GACQ0C,IAAoB;AAAA,IACxB,GAAGD,EAAc;AAAA,IACjB,IAAInG;AAAA,EACR;AACE,SAAOqG,GAAkBrC,GAAWC,GAAU;AAAA,IAC5C,GAAGkC;AAAA,IACH,UAAUC;AAAA,EACd,CAAG;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index176.js","sources":["../../../node_modules/date-fns/isBefore.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * @name isBefore\n * @category Common Helpers\n * @summary Is the first date before the second one?\n *\n * @description\n * Is the first date before the second one?\n *\n * @param date - The date that should be before the other one to return true\n * @param dateToCompare - The date to compare with\n *\n * @returns The first date is before the second date\n *\n * @example\n * // Is 10 July 1989 before 11 February 1987?\n * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> false\n */\nexport function isBefore(date, dateToCompare) {\n return +toDate(date) < +toDate(dateToCompare);\n}\n\n// Fallback for modularized imports:\nexport default isBefore;\n"],"names":["isBefore","date","dateToCompare","toDate"],"mappings":";AAoBO,SAASA,EAASC,GAAMC,GAAe;AAC5C,SAAO,CAACC,EAAOF,CAAI,IAAI,CAACE,EAAOD,CAAa;AAC9C;","x_google_ignoreList":[0]}
package/dist/index177.js CHANGED
@@ -1,62 +1,7 @@
1
- import { tzName as r } from "./index178.js";
2
- import { TZDateMini as s } from "./index179.js";
3
- class o extends s {
4
- //#region static
5
- static tz(t, ...e) {
6
- return e.length ? new o(...e, t) : new o(Date.now(), t);
7
- }
8
- //#endregion
9
- //#region representation
10
- toISOString() {
11
- const [t, e, n] = this.tzComponents(), i = `${t}${e}:${n}`;
12
- return this.internal.toISOString().slice(0, -1) + i;
13
- }
14
- toString() {
15
- return `${this.toDateString()} ${this.toTimeString()}`;
16
- }
17
- toDateString() {
18
- const [t, e, n, i] = this.internal.toUTCString().split(" ");
19
- return `${t?.slice(0, -1)} ${n} ${e} ${i}`;
20
- }
21
- toTimeString() {
22
- const t = this.internal.toUTCString().split(" ")[4], [e, n, i] = this.tzComponents();
23
- return `${t} GMT${e}${n}${i} (${r(this.timeZone, this)})`;
24
- }
25
- toLocaleString(t, e) {
26
- return Date.prototype.toLocaleString.call(this, t, {
27
- ...e,
28
- timeZone: e?.timeZone || this.timeZone
29
- });
30
- }
31
- toLocaleDateString(t, e) {
32
- return Date.prototype.toLocaleDateString.call(this, t, {
33
- ...e,
34
- timeZone: e?.timeZone || this.timeZone
35
- });
36
- }
37
- toLocaleTimeString(t, e) {
38
- return Date.prototype.toLocaleTimeString.call(this, t, {
39
- ...e,
40
- timeZone: e?.timeZone || this.timeZone
41
- });
42
- }
43
- //#endregion
44
- //#region private
45
- tzComponents() {
46
- const t = this.getTimezoneOffset(), e = t > 0 ? "-" : "+", n = String(Math.floor(Math.abs(t) / 60)).padStart(2, "0"), i = String(Math.abs(t) % 60).padStart(2, "0");
47
- return [e, n, i];
48
- }
49
- //#endregion
50
- withTimeZone(t) {
51
- return new o(+this, t);
52
- }
53
- //#region date-fns integration
54
- [/* @__PURE__ */ Symbol.for("constructDateFrom")](t) {
55
- return new o(+new Date(t), this.timeZone);
56
- }
57
- //#endregion
1
+ function e(t) {
2
+ return t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]";
58
3
  }
59
4
  export {
60
- o as TZDate
5
+ e as isDate
61
6
  };
62
7
  //# sourceMappingURL=index177.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index177.js","sources":["../../../node_modules/@date-fns/tz/date/index.js"],"sourcesContent":["import { tzName } from \"../tzName/index.js\";\nimport { TZDateMini } from \"./mini.js\";\nexport class TZDate extends TZDateMini {\n //#region static\n\n static tz(tz, ...args) {\n return args.length ? new TZDate(...args, tz) : new TZDate(Date.now(), tz);\n }\n\n //#endregion\n\n //#region representation\n\n toISOString() {\n const [sign, hours, minutes] = this.tzComponents();\n const tz = `${sign}${hours}:${minutes}`;\n return this.internal.toISOString().slice(0, -1) + tz;\n }\n toString() {\n // \"Tue Aug 13 2024 07:50:19 GMT+0800 (Singapore Standard Time)\";\n return `${this.toDateString()} ${this.toTimeString()}`;\n }\n toDateString() {\n // toUTCString returns RFC 7231 (\"Mon, 12 Aug 2024 23:36:08 GMT\")\n const [day, date, month, year] = this.internal.toUTCString().split(\" \");\n // \"Tue Aug 13 2024\"\n return `${day?.slice(0, -1) /* Remove \",\" */} ${month} ${date} ${year}`;\n }\n toTimeString() {\n // toUTCString returns RFC 7231 (\"Mon, 12 Aug 2024 23:36:08 GMT\")\n const time = this.internal.toUTCString().split(\" \")[4];\n const [sign, hours, minutes] = this.tzComponents();\n // \"07:42:23 GMT+0800 (Singapore Standard Time)\"\n return `${time} GMT${sign}${hours}${minutes} (${tzName(this.timeZone, this)})`;\n }\n toLocaleString(locales, options) {\n return Date.prototype.toLocaleString.call(this, locales, {\n ...options,\n timeZone: options?.timeZone || this.timeZone\n });\n }\n toLocaleDateString(locales, options) {\n return Date.prototype.toLocaleDateString.call(this, locales, {\n ...options,\n timeZone: options?.timeZone || this.timeZone\n });\n }\n toLocaleTimeString(locales, options) {\n return Date.prototype.toLocaleTimeString.call(this, locales, {\n ...options,\n timeZone: options?.timeZone || this.timeZone\n });\n }\n\n //#endregion\n\n //#region private\n\n tzComponents() {\n const offset = this.getTimezoneOffset();\n const sign = offset > 0 ? \"-\" : \"+\";\n const hours = String(Math.floor(Math.abs(offset) / 60)).padStart(2, \"0\");\n const minutes = String(Math.abs(offset) % 60).padStart(2, \"0\");\n return [sign, hours, minutes];\n }\n\n //#endregion\n\n withTimeZone(timeZone) {\n return new TZDate(+this, timeZone);\n }\n\n //#region date-fns integration\n\n [Symbol.for(\"constructDateFrom\")](date) {\n return new TZDate(+new Date(date), this.timeZone);\n }\n\n //#endregion\n}"],"names":["TZDate","TZDateMini","tz","args","sign","hours","minutes","day","date","month","year","time","tzName","locales","options","offset","timeZone"],"mappings":";;AAEO,MAAMA,UAAeC,EAAW;AAAA;AAAA,EAGrC,OAAO,GAAGC,MAAOC,GAAM;AACrB,WAAOA,EAAK,SAAS,IAAIH,EAAO,GAAGG,GAAMD,CAAE,IAAI,IAAIF,EAAO,KAAK,IAAG,GAAIE,CAAE;AAAA,EAC1E;AAAA;AAAA;AAAA,EAMA,cAAc;AACZ,UAAM,CAACE,GAAMC,GAAOC,CAAO,IAAI,KAAK,aAAY,GAC1CJ,IAAK,GAAGE,CAAI,GAAGC,CAAK,IAAIC,CAAO;AACrC,WAAO,KAAK,SAAS,YAAW,EAAG,MAAM,GAAG,EAAE,IAAIJ;AAAA,EACpD;AAAA,EACA,WAAW;AAET,WAAO,GAAG,KAAK,aAAY,CAAE,IAAI,KAAK,aAAY,CAAE;AAAA,EACtD;AAAA,EACA,eAAe;AAEb,UAAM,CAACK,GAAKC,GAAMC,GAAOC,CAAI,IAAI,KAAK,SAAS,cAAc,MAAM,GAAG;AAEtE,WAAO,GAAGH,GAAK,MAAM,GAAG,EAAE,CAAC,IAAqBE,CAAK,IAAID,CAAI,IAAIE,CAAI;AAAA,EACvE;AAAA,EACA,eAAe;AAEb,UAAMC,IAAO,KAAK,SAAS,YAAW,EAAG,MAAM,GAAG,EAAE,CAAC,GAC/C,CAACP,GAAMC,GAAOC,CAAO,IAAI,KAAK,aAAY;AAEhD,WAAO,GAAGK,CAAI,OAAOP,CAAI,GAAGC,CAAK,GAAGC,CAAO,KAAKM,EAAO,KAAK,UAAU,IAAI,CAAC;AAAA,EAC7E;AAAA,EACA,eAAeC,GAASC,GAAS;AAC/B,WAAO,KAAK,UAAU,eAAe,KAAK,MAAMD,GAAS;AAAA,MACvD,GAAGC;AAAA,MACH,UAAUA,GAAS,YAAY,KAAK;AAAA,IAC1C,CAAK;AAAA,EACH;AAAA,EACA,mBAAmBD,GAASC,GAAS;AACnC,WAAO,KAAK,UAAU,mBAAmB,KAAK,MAAMD,GAAS;AAAA,MAC3D,GAAGC;AAAA,MACH,UAAUA,GAAS,YAAY,KAAK;AAAA,IAC1C,CAAK;AAAA,EACH;AAAA,EACA,mBAAmBD,GAASC,GAAS;AACnC,WAAO,KAAK,UAAU,mBAAmB,KAAK,MAAMD,GAAS;AAAA,MAC3D,GAAGC;AAAA,MACH,UAAUA,GAAS,YAAY,KAAK;AAAA,IAC1C,CAAK;AAAA,EACH;AAAA;AAAA;AAAA,EAMA,eAAe;AACb,UAAMC,IAAS,KAAK,kBAAiB,GAC/BX,IAAOW,IAAS,IAAI,MAAM,KAC1BV,IAAQ,OAAO,KAAK,MAAM,KAAK,IAAIU,CAAM,IAAI,EAAE,CAAC,EAAE,SAAS,GAAG,GAAG,GACjET,IAAU,OAAO,KAAK,IAAIS,CAAM,IAAI,EAAE,EAAE,SAAS,GAAG,GAAG;AAC7D,WAAO,CAACX,GAAMC,GAAOC,CAAO;AAAA,EAC9B;AAAA;AAAA,EAIA,aAAaU,GAAU;AACrB,WAAO,IAAIhB,EAAO,CAAC,MAAMgB,CAAQ;AAAA,EACnC;AAAA;AAAA,EAIA,CAAC,uBAAO,IAAI,mBAAmB,CAAC,EAAER,GAAM;AACtC,WAAO,IAAIR,EAAO,CAAC,IAAI,KAAKQ,CAAI,GAAG,KAAK,QAAQ;AAAA,EAClD;AAAA;AAGF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index177.js","sources":["../../../node_modules/date-fns/isDate.js"],"sourcesContent":["/**\n * @name isDate\n * @category Common Helpers\n * @summary Is the given value a date?\n *\n * @description\n * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.\n *\n * @param value - The value to check\n *\n * @returns True if the given value is a date\n *\n * @example\n * // For a valid date:\n * const result = isDate(new Date())\n * //=> true\n *\n * @example\n * // For an invalid date:\n * const result = isDate(new Date(NaN))\n * //=> true\n *\n * @example\n * // For some value:\n * const result = isDate('2014-02-31')\n * //=> false\n *\n * @example\n * // For an object:\n * const result = isDate({})\n * //=> false\n */\nexport function isDate(value) {\n return (\n value instanceof Date ||\n (typeof value === \"object\" &&\n Object.prototype.toString.call(value) === \"[object Date]\")\n );\n}\n\n// Fallback for modularized imports:\nexport default isDate;\n"],"names":["isDate","value"],"mappings":"AAgCO,SAASA,EAAOC,GAAO;AAC5B,SACEA,aAAiB,QAChB,OAAOA,KAAU,YAChB,OAAO,UAAU,SAAS,KAAKA,CAAK,MAAM;AAEhD;","x_google_ignoreList":[0]}
package/dist/index178.js CHANGED
@@ -1,12 +1,14 @@
1
- function o(e, n, t = "long") {
2
- return new Intl.DateTimeFormat("en-US", {
3
- // Enforces engine to render the time. Without the option JavaScriptCore omits it.
4
- hour: "numeric",
5
- timeZone: e,
6
- timeZoneName: t
7
- }).format(n).split(/\s/g).slice(2).join(" ");
1
+ import { normalizeDates as m } from "./index272.js";
2
+ import { startOfDay as t } from "./index185.js";
3
+ function s(r, a, e) {
4
+ const [o, i] = m(
5
+ e?.in,
6
+ r,
7
+ a
8
+ );
9
+ return +t(o) == +t(i);
8
10
  }
9
11
  export {
10
- o as tzName
12
+ s as isSameDay
11
13
  };
12
14
  //# sourceMappingURL=index178.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index178.js","sources":["../../../node_modules/@date-fns/tz/tzName/index.js"],"sourcesContent":["/**\n * Time zone name format.\n */\n\n/**\n * The function returns the time zone name for the given date in the specified\n * time zone.\n *\n * It uses the `Intl.DateTimeFormat` API and by default outputs the time zone\n * name in a long format, e.g. \"Pacific Standard Time\" or\n * \"Singapore Standard Time\".\n *\n * It is possible to specify the format as the third argument using one of the following options\n *\n * - \"short\": e.g. \"EDT\" or \"GMT+8\".\n * - \"long\": e.g. \"Eastern Daylight Time\".\n * - \"shortGeneric\": e.g. \"ET\" or \"Singapore Time\".\n * - \"longGeneric\": e.g. \"Eastern Time\" or \"Singapore Standard Time\".\n *\n * These options correspond to TR35 tokens `z..zzz`, `zzzz`, `v`, and `vvvv` respectively: https://www.unicode.org/reports/tr35/tr35-dates.html#dfst-zone\n *\n * @param timeZone - Time zone name (IANA or UTC offset)\n * @param date - Date object to get the time zone name for\n * @param format - Optional format of the time zone name. Defaults to \"long\". Can be \"short\", \"long\", \"shortGeneric\", or \"longGeneric\".\n *\n * @returns Time zone name (e.g. \"Singapore Standard Time\")\n */\nexport function tzName(timeZone, date, format = \"long\") {\n return new Intl.DateTimeFormat(\"en-US\", {\n // Enforces engine to render the time. Without the option JavaScriptCore omits it.\n hour: \"numeric\",\n timeZone: timeZone,\n timeZoneName: format\n }).format(date).split(/\\s/g) // Format.JS uses non-breaking spaces\n .slice(2) // Skip the hour and AM/PM parts\n .join(\" \");\n}"],"names":["tzName","timeZone","date","format"],"mappings":"AA2BO,SAASA,EAAOC,GAAUC,GAAMC,IAAS,QAAQ;AACtD,SAAO,IAAI,KAAK,eAAe,SAAS;AAAA;AAAA,IAEtC,MAAM;AAAA,IACN,UAAUF;AAAA,IACV,cAAcE;AAAA,EAClB,CAAG,EAAE,OAAOD,CAAI,EAAE,MAAM,KAAK,EAC1B,MAAM,CAAC,EACP,KAAK,GAAG;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index178.js","sources":["../../../node_modules/date-fns/isSameDay.js"],"sourcesContent":["import { normalizeDates } from \"./_lib/normalizeDates.js\";\nimport { startOfDay } from \"./startOfDay.js\";\n\n/**\n * The {@link isSameDay} function options.\n */\n\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @param laterDate - The first date to check\n * @param earlierDate - The second date to check\n * @param options - An object with options\n *\n * @returns The dates are in the same day (and year and month)\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\nexport function isSameDay(laterDate, earlierDate, options) {\n const [dateLeft_, dateRight_] = normalizeDates(\n options?.in,\n laterDate,\n earlierDate,\n );\n return +startOfDay(dateLeft_) === +startOfDay(dateRight_);\n}\n\n// Fallback for modularized imports:\nexport default isSameDay;\n"],"names":["isSameDay","laterDate","earlierDate","options","dateLeft_","dateRight_","normalizeDates","startOfDay"],"mappings":";;AAoCO,SAASA,EAAUC,GAAWC,GAAaC,GAAS;AACzD,QAAM,CAACC,GAAWC,CAAU,IAAIC;AAAA,IAC9BH,GAAS;AAAA,IACTF;AAAA,IACAC;AAAA,EACJ;AACE,SAAO,CAACK,EAAWH,CAAS,KAAM,CAACG,EAAWF,CAAU;AAC1D;","x_google_ignoreList":[0]}