@boxcustodia/library 1.7.4 → 1.7.6

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 (449) hide show
  1. package/dist/index.es100.js +1 -1
  2. package/dist/index.es105.js +3 -310
  3. package/dist/index.es106.js +4 -13
  4. package/dist/index.es107.js +15 -55
  5. package/dist/index.es108.js +4 -54
  6. package/dist/index.es109.js +56 -113
  7. package/dist/index.es110.js +27 -44
  8. package/dist/index.es111.js +21 -24
  9. package/dist/index.es112.js +10 -31
  10. package/dist/index.es113.js +55 -10
  11. package/dist/index.es114.js +53 -39
  12. package/dist/index.es115.js +113 -57
  13. package/dist/index.es116.js +44 -18
  14. package/dist/index.es117.js +22 -38
  15. package/dist/index.es118.js +29 -257
  16. package/dist/index.es119.js +14 -7
  17. package/dist/index.es120.js +310 -3
  18. package/dist/index.es121.js +13 -4
  19. package/dist/index.es122.js +58 -15
  20. package/dist/index.es123.js +39 -5
  21. package/dist/index.es124.js +13 -57
  22. package/dist/index.es125.js +14 -22
  23. package/dist/index.es126.js +39 -18
  24. package/dist/index.es127.js +17 -38
  25. package/dist/index.es128.js +41 -14
  26. package/dist/index.es129.js +1 -1
  27. package/dist/index.es130.js +23 -24
  28. package/dist/index.es134.js +259 -4
  29. package/dist/index.es135.js +19 -23
  30. package/dist/index.es136.js +7 -4
  31. package/dist/index.es137.js +3 -3
  32. package/dist/index.es138.js +10 -22
  33. package/dist/index.es139.js +6 -3
  34. package/dist/index.es140.js +846 -17
  35. package/dist/index.es141.js +4 -21
  36. package/dist/index.es142.js +4 -4
  37. package/dist/index.es143.js +69 -10
  38. package/dist/index.es144.js +4 -224
  39. package/dist/index.es145.js +224 -10
  40. package/dist/index.es146.js +10 -41
  41. package/dist/index.es147.js +41 -4
  42. package/dist/index.es148.js +237 -15
  43. package/dist/index.es149.js +4 -44
  44. package/dist/index.es150.js +19 -22
  45. package/dist/index.es151.js +21 -7
  46. package/dist/index.es152.js +18 -13
  47. package/dist/index.es153.js +40 -65
  48. package/dist/index.es154.js +32 -847
  49. package/dist/index.es155.js +5 -239
  50. package/dist/index.es156.js +22 -33
  51. package/dist/index.es157.js +10 -6
  52. package/dist/index.es158.js +215 -16
  53. package/dist/index.es159.js +78 -14
  54. package/dist/index.es16.js +1 -1
  55. package/dist/index.es160.js +92 -13
  56. package/dist/index.es161.js +352 -14
  57. package/dist/index.es162.js +120 -212
  58. package/dist/index.es163.js +16 -77
  59. package/dist/index.es164.js +14 -92
  60. package/dist/index.es165.js +13 -352
  61. package/dist/index.es166.js +14 -124
  62. package/dist/index.es167.js +2 -2
  63. package/dist/index.es170.js +1 -1
  64. package/dist/index.es171.js +1 -1
  65. package/dist/index.es172.js +18 -14
  66. package/dist/index.es173.js +35 -32
  67. package/dist/index.es174.js +3674 -10
  68. package/dist/index.es175.js +5 -26
  69. package/dist/index.es176.js +2 -19
  70. package/dist/index.es177.js +20 -35
  71. package/dist/index.es178.js +33 -17
  72. package/dist/index.es179.js +7 -33
  73. package/dist/index.es18.js +1 -1
  74. package/dist/index.es180.js +25 -9
  75. package/dist/index.es181.js +205 -7
  76. package/dist/index.es182.js +12 -65
  77. package/dist/index.es183.js +31 -123
  78. package/dist/index.es184.js +10 -134
  79. package/dist/index.es185.js +45 -14
  80. package/dist/index.es186.js +6 -14
  81. package/dist/index.es187.js +68 -9
  82. package/dist/index.es188.js +122 -47
  83. package/dist/index.es189.js +133 -203
  84. package/dist/index.es190.js +14 -3675
  85. package/dist/index.es191.js +14 -5
  86. package/dist/index.es192.js +9 -2
  87. package/dist/index.es193.js +47 -42
  88. package/dist/index.es194.js +3 -649
  89. package/dist/index.es195.js +217 -3
  90. package/dist/index.es196.js +3 -217
  91. package/dist/index.es197.js +45 -3
  92. package/dist/index.es198.js +7 -45
  93. package/dist/index.es199.js +5 -7
  94. package/dist/index.es2.js +1 -1
  95. package/dist/index.es200.js +28 -6
  96. package/dist/index.es201.js +646 -24
  97. package/dist/index.es202.js +3 -2
  98. package/dist/index.es203.js +2 -4
  99. package/dist/index.es204.js +2052 -23
  100. package/dist/index.es205.js +26 -17
  101. package/dist/index.es206.js +2498 -37
  102. package/dist/index.es207.js +35 -18
  103. package/dist/index.es208.js +118 -3
  104. package/dist/index.es209.js +4 -2
  105. package/dist/index.es210.js +2 -2054
  106. package/dist/index.es211.js +7 -25
  107. package/dist/index.es212.js +5 -2498
  108. package/dist/index.es213.js +6 -35
  109. package/dist/index.es214.js +18 -118
  110. package/dist/index.es215.js +5 -5
  111. package/dist/index.es216.js +7 -84
  112. package/dist/index.es217.js +5 -5
  113. package/dist/index.es218.js +13 -17
  114. package/dist/index.es219.js +15 -9
  115. package/dist/index.es22.js +1 -1
  116. package/dist/index.es220.js +8 -6
  117. package/dist/index.es221.js +6 -5
  118. package/dist/index.es222.js +2 -2
  119. package/dist/index.es223.js +5 -11
  120. package/dist/index.es224.js +15 -19
  121. package/dist/index.es225.js +6 -14
  122. package/dist/index.es226.js +6 -6
  123. package/dist/index.es227.js +6 -6
  124. package/dist/index.es228.js +5 -53
  125. package/dist/index.es229.js +580 -10
  126. package/dist/index.es230.js +50 -7
  127. package/dist/index.es231.js +17 -10
  128. package/dist/index.es232.js +6 -7
  129. package/dist/index.es233.js +18 -16
  130. package/dist/index.es234.js +8 -6
  131. package/dist/index.es235.js +5 -5
  132. package/dist/index.es236.js +6 -7
  133. package/dist/index.es237.js +5 -10
  134. package/dist/index.es238.js +6 -11
  135. package/dist/index.es239.js +9 -7
  136. package/dist/index.es24.js +1 -1
  137. package/dist/index.es240.js +5 -5
  138. package/dist/index.es241.js +8 -5
  139. package/dist/index.es242.js +13 -7
  140. package/dist/index.es243.js +9 -5
  141. package/dist/index.es244.js +8 -13
  142. package/dist/index.es245.js +10 -15
  143. package/dist/index.es246.js +14 -8
  144. package/dist/index.es247.js +5 -5
  145. package/dist/index.es248.js +11 -4
  146. package/dist/index.es249.js +10 -580
  147. package/dist/index.es250.js +11 -50
  148. package/dist/index.es251.js +6 -17
  149. package/dist/index.es252.js +9 -6
  150. package/dist/index.es253.js +83 -18
  151. package/dist/index.es254.js +38 -8
  152. package/dist/index.es255.js +65 -7
  153. package/dist/index.es256.js +9 -7
  154. package/dist/index.es257.js +8 -5
  155. package/dist/index.es258.js +7 -6
  156. package/dist/index.es259.js +10 -9
  157. package/dist/index.es26.js +2 -2
  158. package/dist/index.es260.js +7 -5
  159. package/dist/index.es261.js +7 -8
  160. package/dist/index.es262.js +6 -12
  161. package/dist/index.es263.js +5 -9
  162. package/dist/index.es264.js +15 -10
  163. package/dist/index.es265.js +25 -15
  164. package/dist/index.es266.js +17 -39
  165. package/dist/index.es267.js +38 -65
  166. package/dist/index.es268.js +18 -10
  167. package/dist/index.es269.js +11 -8
  168. package/dist/index.es270.js +204 -7
  169. package/dist/index.es271.js +22 -8
  170. package/dist/index.es272.js +24 -15
  171. package/dist/index.es273.js +385 -170
  172. package/dist/index.es274.js +17 -29
  173. package/dist/index.es275.js +51 -203
  174. package/dist/index.es276.js +17 -22
  175. package/dist/index.es277.js +30 -24
  176. package/dist/index.es278.js +7 -392
  177. package/dist/index.es279.js +2 -8
  178. package/dist/index.es28.js +2 -2
  179. package/dist/index.es280.js +23 -2
  180. package/dist/index.es281.js +11 -11
  181. package/dist/index.es282.js +20 -22
  182. package/dist/index.es283.js +2 -21
  183. package/dist/index.es284.js +9406 -2
  184. package/dist/index.es285.js +14903 -8997
  185. package/dist/index.es286.js +3 -15312
  186. package/dist/index.es287.js +61 -3
  187. package/dist/index.es288.js +8 -59
  188. package/dist/index.es289.js +3 -10
  189. package/dist/index.es290.js +5 -3
  190. package/dist/index.es291.js +178 -5
  191. package/dist/index.es292.js +8 -12
  192. package/dist/index.es293.js +3 -8
  193. package/dist/index.es294.js +45 -3
  194. package/dist/index.es295.js +27 -43
  195. package/dist/index.es296.js +54 -26
  196. package/dist/index.es297.js +18 -55
  197. package/dist/index.es298.js +21 -19
  198. package/dist/index.es299.js +44 -21
  199. package/dist/index.es30.js +1 -1
  200. package/dist/index.es300.js +29 -42
  201. package/dist/index.es301.js +80 -28
  202. package/dist/index.es302.js +5 -82
  203. package/dist/index.es303.js +14 -6
  204. package/dist/index.es304.js +41 -12
  205. package/dist/index.es305.js +32 -42
  206. package/dist/index.es306.js +24 -30
  207. package/dist/index.es307.js +25 -27
  208. package/dist/index.es308.js +6 -24
  209. package/dist/index.es309.js +419 -6
  210. package/dist/index.es310.js +9 -417
  211. package/dist/index.es311.js +33 -11
  212. package/dist/index.es312.js +12 -35
  213. package/dist/index.es313.js +14 -24
  214. package/dist/index.es314.js +3 -29
  215. package/dist/index.es315.js +5 -5
  216. package/dist/index.es316.js +56 -14
  217. package/dist/index.es317.js +31 -3
  218. package/dist/index.es318.js +46 -4
  219. package/dist/index.es319.js +64 -54
  220. package/dist/index.es32.js +1 -1
  221. package/dist/index.es320.js +32 -25
  222. package/dist/index.es321.js +13 -41
  223. package/dist/index.es322.js +53 -47
  224. package/dist/index.es323.js +55 -20
  225. package/dist/index.es324.js +69 -13
  226. package/dist/index.es325.js +49 -47
  227. package/dist/index.es326.js +26 -53
  228. package/dist/index.es327.js +26 -54
  229. package/dist/index.es328.js +37 -53
  230. package/dist/index.es329.js +25 -22
  231. package/dist/index.es33.js +3 -3
  232. package/dist/index.es330.js +38 -38
  233. package/dist/index.es331.js +59 -40
  234. package/dist/index.es332.js +56 -27
  235. package/dist/index.es333.js +90 -34
  236. package/dist/index.es334.js +32 -63
  237. package/dist/index.es335.js +35 -66
  238. package/dist/index.es336.js +38 -94
  239. package/dist/index.es337.js +23 -39
  240. package/dist/index.es338.js +22 -39
  241. package/dist/index.es339.js +22 -39
  242. package/dist/index.es34.js +6 -6
  243. package/dist/index.es340.js +19 -19
  244. package/dist/index.es341.js +18 -18
  245. package/dist/index.es342.js +18 -18
  246. package/dist/index.es343.js +14 -25
  247. package/dist/index.es344.js +38 -22
  248. package/dist/index.es345.js +38 -22
  249. package/dist/index.es346.js +14 -14
  250. package/dist/index.es347.js +14 -40
  251. package/dist/index.es348.js +23 -44
  252. package/dist/index.es349.js +29 -20
  253. package/dist/index.es350.js +5 -20
  254. package/dist/index.es353.js +1 -1
  255. package/dist/index.es354.js +2 -2
  256. package/dist/index.es355.js +1 -1
  257. package/dist/index.es367.js +3 -3
  258. package/dist/index.es38.js +1 -1
  259. package/dist/index.es39.js +23 -23
  260. package/dist/index.es391.js +2 -2
  261. package/dist/index.es394.js +1 -1
  262. package/dist/index.es395.js +68 -5
  263. package/dist/index.es396.js +31 -3
  264. package/dist/index.es397.js +9 -24
  265. package/dist/index.es398.js +152 -109
  266. package/dist/index.es399.js +107 -15
  267. package/dist/index.es40.js +5 -5
  268. package/dist/index.es400.js +19 -67
  269. package/dist/index.es401.js +101 -31
  270. package/dist/index.es402.js +47 -9
  271. package/dist/index.es403.js +5 -153
  272. package/dist/index.es404.js +3 -108
  273. package/dist/index.es405.js +24 -68
  274. package/dist/index.es406.js +110 -31
  275. package/dist/index.es407.js +16 -16
  276. package/dist/index.es408.js +520 -138
  277. package/dist/index.es409.js +126 -113
  278. package/dist/index.es41.js +2 -2
  279. package/dist/index.es410.js +126 -17
  280. package/dist/index.es411.js +67 -100
  281. package/dist/index.es412.js +30 -46
  282. package/dist/index.es413.js +16 -6
  283. package/dist/index.es414.js +141 -15
  284. package/dist/index.es415.js +114 -2
  285. package/dist/index.es416.js +2 -8
  286. package/dist/index.es417.js +218 -314
  287. package/dist/index.es418.js +233 -49
  288. package/dist/index.es419.js +5 -3
  289. package/dist/index.es420.js +15 -2
  290. package/dist/index.es421.js +2 -231
  291. package/dist/index.es422.js +7 -233
  292. package/dist/index.es423.js +305 -501
  293. package/dist/index.es424.js +48 -125
  294. package/dist/index.es425.js +3 -128
  295. package/dist/index.es44.js +3 -3
  296. package/dist/index.es449.js +23 -270
  297. package/dist/index.es45.js +1 -1
  298. package/dist/index.es450.js +5 -79
  299. package/dist/index.es451.js +122 -160
  300. package/dist/index.es452.js +24 -24
  301. package/dist/index.es453.js +4 -5
  302. package/dist/index.es454.js +11 -126
  303. package/dist/index.es455.js +40 -22
  304. package/dist/index.es456.js +57 -4
  305. package/dist/index.es457.js +40 -11
  306. package/dist/index.es458.js +25 -39
  307. package/dist/index.es459.js +30 -56
  308. package/dist/index.es460.js +14 -41
  309. package/dist/index.es461.js +10 -28
  310. package/dist/index.es462.js +10 -31
  311. package/dist/index.es463.js +9 -14
  312. package/dist/index.es464.js +6 -10
  313. package/dist/index.es465.js +5 -10
  314. package/dist/index.es466.js +7 -9
  315. package/dist/index.es467.js +29 -6
  316. package/dist/index.es468.js +18 -5
  317. package/dist/index.es469.js +13 -7
  318. package/dist/index.es47.js +1 -1
  319. package/dist/index.es470.js +42 -28
  320. package/dist/index.es471.js +8 -18
  321. package/dist/index.es472.js +3 -14
  322. package/dist/index.es473.js +4 -43
  323. package/dist/index.es474.js +23 -7
  324. package/dist/index.es475.js +272 -3
  325. package/dist/index.es476.js +79 -4
  326. package/dist/index.es477.js +164 -23
  327. package/dist/index.es478.js +2 -2
  328. package/dist/index.es479.js +4 -4
  329. package/dist/index.es480.js +3 -3
  330. package/dist/index.es481.js +3 -3
  331. package/dist/index.es484.js +11 -11
  332. package/dist/index.es485.js +3 -3
  333. package/dist/index.es49.js +2 -2
  334. package/dist/index.es490.js +5 -5
  335. package/dist/index.es491.js +4 -4
  336. package/dist/index.es492.js +1 -1
  337. package/dist/index.es496.js +1 -1
  338. package/dist/index.es497.js +1 -1
  339. package/dist/index.es498.js +2 -2
  340. package/dist/index.es499.js +7 -56
  341. package/dist/index.es50.js +1 -1
  342. package/dist/index.es500.js +2 -13
  343. package/dist/index.es501.js +52 -21
  344. package/dist/index.es502.js +60 -55
  345. package/dist/index.es503.js +7 -33
  346. package/dist/index.es504.js +29 -167
  347. package/dist/index.es505.js +18 -119
  348. package/dist/index.es506.js +44 -7
  349. package/dist/index.es507.js +29 -19
  350. package/dist/index.es508.js +8 -33
  351. package/dist/index.es509.js +56 -20
  352. package/dist/index.es510.js +11 -43
  353. package/dist/index.es511.js +21 -29
  354. package/dist/index.es512.js +59 -8
  355. package/dist/index.es513.js +30 -228
  356. package/dist/index.es514.js +170 -20
  357. package/dist/index.es515.js +115 -23
  358. package/dist/index.es516.js +18 -117
  359. package/dist/index.es517.js +229 -35
  360. package/dist/index.es518.js +22 -72
  361. package/dist/index.es519.js +29 -7
  362. package/dist/index.es52.js +1 -1
  363. package/dist/index.es520.js +119 -2
  364. package/dist/index.es521.js +33 -48
  365. package/dist/index.es522.js +72 -65
  366. package/dist/index.es526.js +5 -63
  367. package/dist/index.es527.js +16 -69
  368. package/dist/index.es528.js +28 -8
  369. package/dist/index.es529.js +13 -14
  370. package/dist/index.es53.js +1 -1
  371. package/dist/index.es530.js +68 -61
  372. package/dist/index.es531.js +8 -15
  373. package/dist/index.es532.js +14 -29
  374. package/dist/index.es533.js +62 -13
  375. package/dist/index.es534.js +63 -5
  376. package/dist/index.es535.js +2 -2
  377. package/dist/index.es536.js +2 -76
  378. package/dist/index.es537.js +2 -93
  379. package/dist/index.es538.js +73 -49
  380. package/dist/index.es539.js +92 -7
  381. package/dist/index.es54.js +1 -1
  382. package/dist/index.es540.js +51 -4
  383. package/dist/index.es541.js +7 -51
  384. package/dist/index.es542.js +5 -2
  385. package/dist/index.es543.js +52 -2
  386. package/dist/index.es56.js +2 -2
  387. package/dist/index.es57.js +4 -4
  388. package/dist/index.es58.js +1 -1
  389. package/dist/index.es59.js +10 -10
  390. package/dist/index.es60.js +3 -3
  391. package/dist/index.es61.js +5 -5
  392. package/dist/index.es62.js +2 -2
  393. package/dist/index.es63.js +1 -1
  394. package/dist/index.es66.js +3 -3
  395. package/dist/index.es67.js +2 -2
  396. package/dist/index.es699.js +2 -42
  397. package/dist/index.es70.js +1 -1
  398. package/dist/index.es700.js +2 -72
  399. package/dist/index.es701.js +42 -6
  400. package/dist/index.es702.js +71 -5
  401. package/dist/index.es703.js +2 -2
  402. package/dist/index.es704.js +5 -5
  403. package/dist/index.es705.js +5 -5
  404. package/dist/index.es706.js +5 -5
  405. package/dist/index.es707.js +5 -5
  406. package/dist/index.es708.js +5 -5
  407. package/dist/index.es709.js +2 -2
  408. package/dist/index.es710.js +2 -2
  409. package/dist/index.es711.js +5 -5
  410. package/dist/index.es712.js +5 -5
  411. package/dist/index.es713.js +5 -5
  412. package/dist/index.es714.js +5 -5
  413. package/dist/index.es715.js +2 -2
  414. package/dist/index.es716.js +2 -2
  415. package/dist/index.es717.js +5 -5
  416. package/dist/index.es718.js +2 -2
  417. package/dist/index.es719.js +5 -5
  418. package/dist/index.es72.js +1 -1
  419. package/dist/index.es720.js +5 -5
  420. package/dist/index.es721.js +2 -2
  421. package/dist/index.es722.js +2 -2
  422. package/dist/index.es723.js +5 -5
  423. package/dist/index.es724.js +2 -2
  424. package/dist/index.es725.js +2 -2
  425. package/dist/index.es726.js +5 -5
  426. package/dist/index.es727.js +5 -5
  427. package/dist/index.es728.js +5 -5
  428. package/dist/index.es729.js +2 -2
  429. package/dist/index.es730.js +5 -5
  430. package/dist/index.es731.js +2 -2
  431. package/dist/index.es732.js +5 -5
  432. package/dist/index.es733.js +2 -2
  433. package/dist/index.es734.js +5 -5
  434. package/dist/index.es735.js +6 -2
  435. package/dist/index.es736.js +5 -1
  436. package/dist/index.es74.js +2 -2
  437. package/dist/index.es76.js +1 -1
  438. package/dist/index.es77.js +1 -1
  439. package/dist/index.es78.js +1 -1
  440. package/dist/index.es80.js +1 -1
  441. package/dist/index.es81.js +1 -1
  442. package/dist/index.es82.js +2 -2
  443. package/dist/index.es83.js +1 -1
  444. package/dist/index.es85.js +4 -4
  445. package/dist/index.es86.js +2 -2
  446. package/dist/index.es88.js +2 -2
  447. package/dist/index.es89.js +5 -5
  448. package/dist/index.es99.js +1 -1
  449. package/package.json +1 -1
@@ -1,129 +1,52 @@
1
- const P = ["top", "right", "bottom", "left"], l = Math.min, m = Math.max, M = Math.round, O = Math.floor, S = (t) => ({
2
- x: t,
3
- y: t
4
- }), p = {
5
- left: "right",
6
- right: "left",
7
- bottom: "top",
8
- top: "bottom"
9
- }, a = {
10
- start: "end",
11
- end: "start"
12
- };
13
- function w(t, n, e) {
14
- return m(t, l(n, e));
15
- }
16
- function j(t, n) {
17
- return typeof t == "function" ? t(n) : t;
18
- }
19
- function u(t) {
20
- return t.split("-")[0];
21
- }
22
- function g(t) {
23
- return t.split("-")[1];
24
- }
25
- function h(t) {
26
- return t === "x" ? "y" : "x";
27
- }
28
- function b(t) {
29
- return t === "y" ? "height" : "width";
30
- }
31
- function x(t) {
32
- return ["top", "bottom"].includes(u(t)) ? "y" : "x";
33
- }
34
- function d(t) {
35
- return h(x(t));
36
- }
37
- function C(t, n, e) {
38
- e === void 0 && (e = !1);
39
- const r = g(t), o = d(t), i = b(o);
40
- let c = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
41
- return n.reference[i] > n.floating[i] && (c = f(c)), [c, f(c)];
42
- }
43
- function L(t) {
44
- const n = f(t);
45
- return [s(t), n, s(n)];
46
- }
47
- function s(t) {
48
- return t.replace(/start|end/g, (n) => a[n]);
49
- }
50
- function A(t, n, e) {
51
- const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], c = ["bottom", "top"];
52
- switch (t) {
53
- case "top":
54
- case "bottom":
55
- return e ? n ? o : r : n ? r : o;
56
- case "left":
57
- case "right":
58
- return n ? i : c;
59
- default:
60
- return [];
1
+ import { __require as u } from "./index.es541.js";
2
+ var o, p;
3
+ function g() {
4
+ if (p) return o;
5
+ p = 1;
6
+ var c = /* @__PURE__ */ u();
7
+ function n() {
61
8
  }
62
- }
63
- function E(t, n, e, r) {
64
- const o = g(t);
65
- let i = A(u(t), e === "start", r);
66
- return o && (i = i.map((c) => c + "-" + o), n && (i = i.concat(i.map(s)))), i;
67
- }
68
- function f(t) {
69
- return t.replace(/left|right|bottom|top/g, (n) => p[n]);
70
- }
71
- function y(t) {
72
- return {
73
- top: 0,
74
- right: 0,
75
- bottom: 0,
76
- left: 0,
77
- ...t
78
- };
79
- }
80
- function R(t) {
81
- return typeof t != "number" ? y(t) : {
82
- top: t,
83
- right: t,
84
- bottom: t,
85
- left: t
86
- };
87
- }
88
- function T(t) {
89
- const {
90
- x: n,
91
- y: e,
92
- width: r,
93
- height: o
94
- } = t;
95
- return {
96
- width: r,
97
- height: o,
98
- top: e,
99
- left: n,
100
- right: n + r,
101
- bottom: e + o,
102
- x: n,
103
- y: e
104
- };
9
+ function i() {
10
+ }
11
+ return i.resetWarningCache = n, o = function() {
12
+ function e(h, y, m, f, l, s) {
13
+ if (s !== c) {
14
+ var a = new Error(
15
+ "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"
16
+ );
17
+ throw a.name = "Invariant Violation", a;
18
+ }
19
+ }
20
+ e.isRequired = e;
21
+ function r() {
22
+ return e;
23
+ }
24
+ var t = {
25
+ array: e,
26
+ bigint: e,
27
+ bool: e,
28
+ func: e,
29
+ number: e,
30
+ object: e,
31
+ string: e,
32
+ symbol: e,
33
+ any: e,
34
+ arrayOf: r,
35
+ element: e,
36
+ elementType: e,
37
+ instanceOf: r,
38
+ node: e,
39
+ objectOf: r,
40
+ oneOf: r,
41
+ oneOfType: r,
42
+ shape: r,
43
+ exact: r,
44
+ checkPropTypes: i,
45
+ resetWarningCache: n
46
+ };
47
+ return t.PropTypes = t, t;
48
+ }, o;
105
49
  }
106
50
  export {
107
- w as clamp,
108
- S as createCoords,
109
- j as evaluate,
110
- y as expandPaddingObject,
111
- O as floor,
112
- g as getAlignment,
113
- d as getAlignmentAxis,
114
- C as getAlignmentSides,
115
- b as getAxisLength,
116
- L as getExpandedPlacements,
117
- s as getOppositeAlignmentPlacement,
118
- h as getOppositeAxis,
119
- E as getOppositeAxisPlacements,
120
- f as getOppositePlacement,
121
- R as getPaddingObject,
122
- u as getSide,
123
- x as getSideAxis,
124
- m as max,
125
- l as min,
126
- T as rectToClientRect,
127
- M as round,
128
- P as sides
51
+ g as __require
129
52
  };
@@ -1,131 +1,6 @@
1
- function c() {
2
- return typeof window < "u";
3
- }
4
- function s(n) {
5
- return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
6
- }
7
- function i(n) {
8
- var t;
9
- return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
10
- }
11
- function E(n) {
12
- var t;
13
- return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
14
- }
15
- function p(n) {
16
- return c() ? n instanceof Node || n instanceof i(n).Node : !1;
17
- }
18
- function m(n) {
19
- return c() ? n instanceof Element || n instanceof i(n).Element : !1;
20
- }
21
- function w(n) {
22
- return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
23
- }
24
- function a(n) {
25
- return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
26
- }
27
- function y(n) {
28
- const {
29
- overflow: t,
30
- overflowX: e,
31
- overflowY: o,
32
- display: r
33
- } = b(n);
34
- return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
35
- }
36
- function D(n) {
37
- return ["table", "td", "th"].includes(s(n));
38
- }
39
- function N(n) {
40
- return [":popover-open", ":modal"].some((t) => {
41
- try {
42
- return n.matches(t);
43
- } catch {
44
- return !1;
45
- }
46
- });
47
- }
48
- function T(n) {
49
- const t = L(), e = m(n) ? b(n) : n;
50
- return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
51
- }
52
- function k(n) {
53
- let t = u(n);
54
- for (; w(t) && !g(t); ) {
55
- if (T(t))
56
- return t;
57
- if (N(t))
58
- return null;
59
- t = u(t);
60
- }
61
- return null;
62
- }
63
- function L() {
64
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
65
- }
66
- function g(n) {
67
- return ["html", "body", "#document"].includes(s(n));
68
- }
69
- function b(n) {
70
- return i(n).getComputedStyle(n);
71
- }
72
- function C(n) {
73
- return m(n) ? {
74
- scrollLeft: n.scrollLeft,
75
- scrollTop: n.scrollTop
76
- } : {
77
- scrollLeft: n.scrollX,
78
- scrollTop: n.scrollY
79
- };
80
- }
81
- function u(n) {
82
- if (s(n) === "html")
83
- return n;
84
- const t = (
85
- // Step into the shadow DOM of the parent of a slotted node.
86
- n.assignedSlot || // DOM Element detected.
87
- n.parentNode || // ShadowRoot detected.
88
- a(n) && n.host || // Fallback.
89
- E(n)
90
- );
91
- return a(t) ? t.host : t;
92
- }
93
- function h(n) {
94
- const t = u(n);
95
- return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
96
- }
97
- function d(n, t, e) {
98
- var o;
99
- t === void 0 && (t = []), e === void 0 && (e = !0);
100
- const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
101
- if (S) {
102
- const f = v(l);
103
- return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
104
- }
105
- return t.concat(r, d(r, [], e));
106
- }
107
- function v(n) {
108
- return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
1
+ function i(s, a) {
2
+ return s.classList ? !!a && s.classList.contains(a) : (" " + (s.className.baseVal || s.className) + " ").indexOf(" " + a + " ") !== -1;
109
3
  }
110
4
  export {
111
- b as getComputedStyle,
112
- k as getContainingBlock,
113
- E as getDocumentElement,
114
- v as getFrameElement,
115
- h as getNearestOverflowAncestor,
116
- s as getNodeName,
117
- C as getNodeScroll,
118
- d as getOverflowAncestors,
119
- u as getParentNode,
120
- i as getWindow,
121
- T as isContainingBlock,
122
- m as isElement,
123
- w as isHTMLElement,
124
- g as isLastTraversableNode,
125
- p as isNode,
126
- y as isOverflowElement,
127
- a as isShadowRoot,
128
- D as isTableElement,
129
- N as isTopLayer,
130
- L as isWebKit
5
+ i as default
131
6
  };
@@ -1,9 +1,9 @@
1
1
  import { j as s } from "./index.es104.js";
2
- import { Root as S } from "./index.es115.js";
2
+ import { Root as S } from "./index.es122.js";
3
3
  import { useControllableState as T } from "./index.es90.js";
4
4
  import { useState as _, createContext as B, useRef as E, useContext as L } from "react";
5
- import { useDropzone as X } from "./index.es127.js";
6
- import q from "./index.es119.js";
5
+ import { useDropzone as X } from "./index.es123.js";
6
+ import q from "./index.es124.js";
7
7
  import { cn as U } from "./index.es91.js";
8
8
  import { Button as G } from "./index.es32.js";
9
9
  const P = B(null), C = () => {
@@ -1,274 +1,27 @@
1
- import u from "./index.es693.js";
2
- import J from "./index.es694.js";
3
- import { safeWindow as K, isElement as l, queryIdRefs as w, hasAnyConcreteRoles as b, isHTMLInputElement as A, isHTMLFieldSetElement as U, isHTMLLegendElement as Y, isHTMLTableElement as Z, isHTMLTableCaptionElement as G, isSVGSVGElement as F, isSVGTitleElement as _, isHTMLOptGroupElement as ee, isHTMLSelectElement as te, isHTMLTextAreaElement as re, isHTMLSlotElement as ie } from "./index.es450.js";
4
- import { getLocalName as C } from "./index.es451.js";
5
- function ne(t) {
6
- return t.trim().replace(/\s\s+/g, " ");
7
- }
8
- function ae(t, r) {
9
- if (!l(t))
10
- return !1;
11
- if (t.hasAttribute("hidden") || t.getAttribute("aria-hidden") === "true")
12
- return !0;
13
- var i = r(t);
14
- return i.getPropertyValue("display") === "none" || i.getPropertyValue("visibility") === "hidden";
15
- }
16
- function le(t) {
17
- return b(t, ["button", "combobox", "listbox", "textbox"]) || j(t, "range");
18
- }
19
- function j(t, r) {
20
- if (!l(t))
21
- return !1;
22
- switch (r) {
23
- case "range":
24
- return b(t, ["meter", "progressbar", "scrollbar", "slider", "spinbutton"]);
25
- default:
26
- throw new TypeError("No knowledge about abstract role '".concat(r, "'. This is likely a bug :("));
27
- }
28
- }
29
- function $(t, r) {
30
- var i = u(t.querySelectorAll(r));
31
- return w(t, "aria-owns").forEach(function(o) {
32
- i.push.apply(i, u(o.querySelectorAll(r)));
33
- }), i;
34
- }
35
- function ue(t) {
36
- return te(t) ? t.selectedOptions || $(t, "[selected]") : $(t, '[aria-selected="true"]');
37
- }
38
- function se(t) {
39
- return b(t, ["none", "presentation"]);
40
- }
41
- function oe(t) {
42
- return G(t);
43
- }
44
- function fe(t) {
45
- return b(t, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbox", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]);
46
- }
47
- function de(t) {
48
- return !1;
49
- }
50
- function be(t) {
51
- return A(t) || re(t) ? t.value : t.textContent || "";
52
- }
53
- function D(t) {
54
- var r = t.getPropertyValue("content");
55
- return /^["'].*["']$/.test(r) ? r.slice(1, -1) : "";
56
- }
57
- function B(t) {
58
- var r = C(t);
59
- return r === "button" || r === "input" && t.getAttribute("type") !== "hidden" || r === "meter" || r === "output" || r === "progress" || r === "select" || r === "textarea";
60
- }
61
- function Q(t) {
62
- if (B(t))
63
- return t;
64
- var r = null;
65
- return t.childNodes.forEach(function(i) {
66
- if (r === null && l(i)) {
67
- var o = Q(i);
68
- o !== null && (r = o);
69
- }
70
- }), r;
71
- }
72
- function me(t) {
73
- if (t.control !== void 0)
74
- return t.control;
75
- var r = t.getAttribute("for");
76
- return r !== null ? t.ownerDocument.getElementById(r) : Q(t);
77
- }
78
- function pe(t) {
79
- var r = t.labels;
80
- if (r === null)
81
- return r;
82
- if (r !== void 0)
83
- return u(r);
84
- if (!B(t))
85
- return null;
86
- var i = t.ownerDocument;
87
- return u(i.querySelectorAll("label")).filter(function(o) {
88
- return me(o) === t;
1
+ import { useEffectEvent as u } from "./index.es469.js";
2
+ import { useLayoutEffect as l } from "./index.es393.js";
3
+ import { useState as o, useRef as s } from "react";
4
+ function p(a) {
5
+ let [f, c] = o(a), e = s(null), r = u(() => {
6
+ if (!e.current) return;
7
+ let t = e.current.next();
8
+ if (t.done) {
9
+ e.current = null;
10
+ return;
11
+ }
12
+ f === t.value ? r() : c(t.value);
89
13
  });
90
- }
91
- function ve(t) {
92
- var r = t.assignedNodes();
93
- return r.length === 0 ? u(t.childNodes) : r;
94
- }
95
- function he(t) {
96
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = new J(), o = K(t), R = r.compute, L = R === void 0 ? "name" : R, x = r.computedStyleSupportsPseudoElements, H = x === void 0 ? r.getComputedStyle !== void 0 : x, M = r.getComputedStyle, S = M === void 0 ? o.getComputedStyle.bind(o) : M, V = r.hidden, W = V === void 0 ? !1 : V;
97
- function T(e, a) {
98
- var n = "";
99
- if (l(e) && H) {
100
- var p = S(e, "::before"), v = D(p);
101
- n = "".concat(v, " ").concat(n);
102
- }
103
- var f = ie(e) ? ve(e) : u(e.childNodes).concat(w(e, "aria-owns"));
104
- if (f.forEach(function(s) {
105
- var E = m(s, {
106
- isEmbeddedInLabel: a.isEmbeddedInLabel,
107
- isReferenced: !1,
108
- recursion: !0
109
- }), d = l(s) ? S(s).getPropertyValue("display") : "inline", h = d !== "inline" ? " " : "";
110
- n += "".concat(h).concat(E).concat(h);
111
- }), l(e) && H) {
112
- var c = S(e, "::after"), g = D(c);
113
- n = "".concat(n, " ").concat(g);
114
- }
115
- return n.trim();
116
- }
117
- function y(e, a) {
118
- var n = e.getAttributeNode(a);
119
- return n !== null && !i.has(n) && n.value.trim() !== "" ? (i.add(n), n.value) : null;
120
- }
121
- function X(e) {
122
- return l(e) ? y(e, "title") : null;
123
- }
124
- function z(e) {
125
- if (!l(e))
126
- return null;
127
- if (U(e)) {
128
- i.add(e);
129
- for (var a = u(e.childNodes), n = 0; n < a.length; n += 1) {
130
- var p = a[n];
131
- if (Y(p))
132
- return m(p, {
133
- isEmbeddedInLabel: !1,
134
- isReferenced: !1,
135
- recursion: !1
136
- });
137
- }
138
- } else if (Z(e)) {
139
- i.add(e);
140
- for (var v = u(e.childNodes), f = 0; f < v.length; f += 1) {
141
- var c = v[f];
142
- if (G(c))
143
- return m(c, {
144
- isEmbeddedInLabel: !1,
145
- isReferenced: !1,
146
- recursion: !1
147
- });
148
- }
149
- } else if (F(e)) {
150
- i.add(e);
151
- for (var g = u(e.childNodes), s = 0; s < g.length; s += 1) {
152
- var E = g[s];
153
- if (_(E))
154
- return E.textContent;
155
- }
156
- return null;
157
- } else if (C(e) === "img" || C(e) === "area") {
158
- var d = y(e, "alt");
159
- if (d !== null)
160
- return d;
161
- } else if (ee(e)) {
162
- var h = y(e, "label");
163
- if (h !== null)
164
- return h;
165
- }
166
- if (A(e) && (e.type === "button" || e.type === "submit" || e.type === "reset")) {
167
- var k = y(e, "value");
168
- if (k !== null)
169
- return k;
170
- if (e.type === "submit")
171
- return "Submit";
172
- if (e.type === "reset")
173
- return "Reset";
174
- }
175
- var I = pe(e);
176
- if (I !== null && I.length !== 0)
177
- return i.add(e), u(I).map(function(N) {
178
- return m(N, {
179
- isEmbeddedInLabel: !0,
180
- isReferenced: !1,
181
- recursion: !0
182
- });
183
- }).filter(function(N) {
184
- return N.length > 0;
185
- }).join(" ");
186
- if (A(e) && e.type === "image") {
187
- var P = y(e, "alt");
188
- if (P !== null)
189
- return P;
190
- var q = y(e, "title");
191
- return q !== null ? q : "Submit Query";
192
- }
193
- if (b(e, ["button"])) {
194
- var O = T(e, {
195
- isEmbeddedInLabel: !1
196
- });
197
- if (O !== "")
198
- return O;
199
- }
200
- return null;
201
- }
202
- function m(e, a) {
203
- if (i.has(e))
204
- return "";
205
- if (!W && ae(e, S) && !a.isReferenced)
206
- return i.add(e), "";
207
- var n = l(e) ? e.getAttributeNode("aria-labelledby") : null, p = n !== null && !i.has(n) ? w(e, "aria-labelledby") : [];
208
- if (L === "name" && !a.isReferenced && p.length > 0)
209
- return i.add(n), p.map(function(d) {
210
- return m(d, {
211
- isEmbeddedInLabel: a.isEmbeddedInLabel,
212
- isReferenced: !0,
213
- // this isn't recursion as specified, otherwise we would skip
214
- // `aria-label` in
215
- // <input id="myself" aria-label="foo" aria-labelledby="myself"
216
- recursion: !1
217
- });
218
- }).join(" ");
219
- var v = a.recursion && le(e) && L === "name";
220
- if (!v) {
221
- var f = (l(e) && e.getAttribute("aria-label") || "").trim();
222
- if (f !== "" && L === "name")
223
- return i.add(e), f;
224
- if (!se(e)) {
225
- var c = z(e);
226
- if (c !== null)
227
- return i.add(e), c;
228
- }
229
- }
230
- if (b(e, ["menu"]))
231
- return i.add(e), "";
232
- if (v || a.isEmbeddedInLabel || a.isReferenced) {
233
- if (b(e, ["combobox", "listbox"])) {
234
- i.add(e);
235
- var g = ue(e);
236
- return g.length === 0 ? A(e) ? e.value : "" : u(g).map(function(d) {
237
- return m(d, {
238
- isEmbeddedInLabel: a.isEmbeddedInLabel,
239
- isReferenced: !1,
240
- recursion: !0
241
- });
242
- }).join(" ");
243
- }
244
- if (j(e, "range"))
245
- return i.add(e), e.hasAttribute("aria-valuetext") ? e.getAttribute("aria-valuetext") : e.hasAttribute("aria-valuenow") ? e.getAttribute("aria-valuenow") : e.getAttribute("value") || "";
246
- if (b(e, ["textbox"]))
247
- return i.add(e), be(e);
248
- }
249
- if (fe(e) || l(e) && a.isReferenced || oe(e) || de()) {
250
- var s = T(e, {
251
- isEmbeddedInLabel: a.isEmbeddedInLabel
252
- });
253
- if (s !== "")
254
- return i.add(e), s;
255
- }
256
- if (e.nodeType === e.TEXT_NODE)
257
- return i.add(e), e.textContent || "";
258
- if (a.recursion)
259
- return i.add(e), T(e, {
260
- isEmbeddedInLabel: a.isEmbeddedInLabel
261
- });
262
- var E = X(e);
263
- return E !== null ? (i.add(e), E) : (i.add(e), "");
264
- }
265
- return ne(m(t, {
266
- isEmbeddedInLabel: !1,
267
- // by spec computeAccessibleDescription starts with the referenced elements as roots
268
- isReferenced: L === "description",
269
- recursion: !1
270
- }));
14
+ l(() => {
15
+ e.current && r();
16
+ });
17
+ let n = u((t) => {
18
+ e.current = t(f), r();
19
+ });
20
+ return [
21
+ f,
22
+ n
23
+ ];
271
24
  }
272
25
  export {
273
- he as computeTextAlternative
26
+ p as useValueEffect
274
27
  };
@@ -1,7 +1,7 @@
1
1
  import { j as e } from "./index.es104.js";
2
2
  import { useMemo as b } from "react";
3
3
  import { UploadRoot as N, UploadTrigger as U, UploadContent as y, UploadAcceptedFiles as C, UploadRejectedFiles as F } from "./index.es44.js";
4
- import M from "./index.es128.js";
4
+ import M from "./index.es125.js";
5
5
  import { cn as a } from "./index.es91.js";
6
6
  const B = ({
7
7
  onFileAdd: d,