@boxcustodia/library 1.0.0 → 1.1.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 (862) hide show
  1. package/dist/index.d.ts +42 -25
  2. package/dist/index.es.js +116 -114
  3. package/dist/index.es100.js +2499 -10
  4. package/dist/index.es101.js +11 -6
  5. package/dist/index.es102.js +6 -22
  6. package/dist/index.es103.js +7 -7
  7. package/dist/index.es104.js +5 -5
  8. package/dist/index.es105.js +10 -10
  9. package/dist/index.es106.js +7 -7
  10. package/dist/index.es107.js +3 -3
  11. package/dist/index.es108.js +6 -6
  12. package/dist/index.es109.js +25 -40
  13. package/dist/index.es11.js +1 -1
  14. package/dist/index.es110.js +258 -3673
  15. package/dist/index.es111.js +13 -1080
  16. package/dist/index.es112.js +3674 -4
  17. package/dist/index.es113.js +4 -4
  18. package/dist/index.es114.js +9 -4
  19. package/dist/index.es115.js +4 -310
  20. package/dist/index.es116.js +57 -13
  21. package/dist/index.es117.js +22 -4
  22. package/dist/index.es118.js +4 -9
  23. package/dist/index.es119.js +35 -5
  24. package/dist/index.es120.js +40 -55
  25. package/dist/index.es121.js +29 -25
  26. package/dist/index.es122.js +13 -259
  27. package/dist/index.es123.js +311 -13
  28. package/dist/index.es124.js +13 -39
  29. package/dist/index.es125.js +12 -6
  30. package/dist/index.es126.js +1080 -13
  31. package/dist/index.es127.js +4 -20
  32. package/dist/index.es128.js +4 -27
  33. package/dist/index.es129.js +37 -33
  34. package/dist/index.es130.js +14 -30
  35. package/dist/index.es131.js +23 -221
  36. package/dist/index.es132.js +22 -10
  37. package/dist/index.es133.js +4 -4
  38. package/dist/index.es134.js +10 -41
  39. package/dist/index.es135.js +10 -21
  40. package/dist/index.es136.js +4 -7
  41. package/dist/index.es137.js +4 -4
  42. package/dist/index.es138.js +17 -13
  43. package/dist/index.es139.js +42 -15
  44. package/dist/index.es140.js +221 -41
  45. package/dist/index.es141.js +10 -240
  46. package/dist/index.es142.js +40 -847
  47. package/dist/index.es143.js +4 -10
  48. package/dist/index.es144.js +240 -10
  49. package/dist/index.es145.js +67 -76
  50. package/dist/index.es146.js +20 -91
  51. package/dist/index.es147.js +13 -345
  52. package/dist/index.es148.js +13 -124
  53. package/dist/index.es149.js +4 -33
  54. package/dist/index.es150.js +6 -22
  55. package/dist/index.es151.js +848 -10
  56. package/dist/index.es152.js +32 -68
  57. package/dist/index.es153.js +19 -29
  58. package/dist/index.es154.js +20 -7
  59. package/dist/index.es155.js +216 -13
  60. package/dist/index.es156.js +78 -14
  61. package/dist/index.es157.js +92 -4
  62. package/dist/index.es158.js +345 -4
  63. package/dist/index.es159.js +123 -5
  64. package/dist/index.es16.js +1 -1
  65. package/dist/index.es160.js +29 -8
  66. package/dist/index.es161.js +14 -2
  67. package/dist/index.es162.js +10 -30
  68. package/dist/index.es163.js +11 -403
  69. package/dist/index.es164.js +7 -18
  70. package/dist/index.es165.js +2 -36
  71. package/dist/index.es166.js +31 -214
  72. package/dist/index.es167.js +404 -19
  73. package/dist/index.es168.js +18 -36
  74. package/dist/index.es169.js +35 -10
  75. package/dist/index.es170.js +20 -5
  76. package/dist/index.es171.js +37 -2
  77. package/dist/index.es172.js +9 -25
  78. package/dist/index.es173.js +25 -5
  79. package/dist/index.es174.js +203 -66
  80. package/dist/index.es175.js +5 -10
  81. package/dist/index.es176.js +2 -125
  82. package/dist/index.es177.js +5 -133
  83. package/dist/index.es178.js +68 -14
  84. package/dist/index.es179.js +10 -32
  85. package/dist/index.es18.js +1 -1
  86. package/dist/index.es180.js +122 -12
  87. package/dist/index.es181.js +134 -8
  88. package/dist/index.es182.js +14 -50
  89. package/dist/index.es183.js +33 -44
  90. package/dist/index.es184.js +13 -13
  91. package/dist/index.es185.js +9 -6
  92. package/dist/index.es186.js +48 -203
  93. package/dist/index.es187.js +13 -216
  94. package/dist/index.es188.js +6 -4
  95. package/dist/index.es189.js +42 -44
  96. package/dist/index.es190.js +4 -8
  97. package/dist/index.es191.js +217 -3
  98. package/dist/index.es192.js +649 -5
  99. package/dist/index.es193.js +6 -28
  100. package/dist/index.es194.js +13 -27
  101. package/dist/index.es195.js +2026 -2263
  102. package/dist/index.es196.js +26 -650
  103. package/dist/index.es197.js +2291 -2
  104. package/dist/index.es198.js +4 -2
  105. package/dist/index.es199.js +43 -32
  106. package/dist/index.es2.js +1 -1
  107. package/dist/index.es200.js +8 -118
  108. package/dist/index.es201.js +6 -16
  109. package/dist/index.es202.js +28 -8
  110. package/dist/index.es203.js +35 -21
  111. package/dist/index.es204.js +118 -9
  112. package/dist/index.es205.js +16 -38
  113. package/dist/index.es206.js +8 -18
  114. package/dist/index.es207.js +2 -6
  115. package/dist/index.es208.js +2 -85
  116. package/dist/index.es209.js +21 -6
  117. package/dist/index.es210.js +9 -18
  118. package/dist/index.es211.js +38 -10
  119. package/dist/index.es212.js +18 -7
  120. package/dist/index.es213.js +19 -7
  121. package/dist/index.es214.js +12 -12
  122. package/dist/index.es215.js +6 -6
  123. package/dist/index.es216.js +7 -6
  124. package/dist/index.es217.js +53 -13
  125. package/dist/index.es218.js +6 -2053
  126. package/dist/index.es219.js +7 -19
  127. package/dist/index.es22.js +1 -1
  128. package/dist/index.es220.js +6 -13
  129. package/dist/index.es221.js +7 -6
  130. package/dist/index.es222.js +16 -7
  131. package/dist/index.es223.js +7 -52
  132. package/dist/index.es224.js +6 -6
  133. package/dist/index.es225.js +8 -6
  134. package/dist/index.es226.js +13 -6
  135. package/dist/index.es227.js +10 -7
  136. package/dist/index.es228.js +6 -16
  137. package/dist/index.es229.js +84 -6
  138. package/dist/index.es230.js +5 -6
  139. package/dist/index.es231.js +17 -8
  140. package/dist/index.es232.js +9 -10
  141. package/dist/index.es233.js +6 -11
  142. package/dist/index.es234.js +7 -2
  143. package/dist/index.es235.js +6 -52
  144. package/dist/index.es236.js +7 -64
  145. package/dist/index.es237.js +5 -7
  146. package/dist/index.es238.js +4 -5
  147. package/dist/index.es239.js +5 -4
  148. package/dist/index.es24.js +1 -1
  149. package/dist/index.es240.js +8 -5
  150. package/dist/index.es241.js +6 -9
  151. package/dist/index.es242.js +16 -6
  152. package/dist/index.es243.js +4 -15
  153. package/dist/index.es244.js +513 -4
  154. package/dist/index.es245.js +48 -512
  155. package/dist/index.es246.js +18 -50
  156. package/dist/index.es247.js +9 -17
  157. package/dist/index.es248.js +19 -10
  158. package/dist/index.es249.js +8 -18
  159. package/dist/index.es250.js +7 -8
  160. package/dist/index.es251.js +7 -7
  161. package/dist/index.es252.js +5 -7
  162. package/dist/index.es253.js +6 -5
  163. package/dist/index.es254.js +9 -6
  164. package/dist/index.es255.js +5 -9
  165. package/dist/index.es256.js +8 -5
  166. package/dist/index.es257.js +12 -8
  167. package/dist/index.es258.js +9 -12
  168. package/dist/index.es259.js +10 -9
  169. package/dist/index.es26.js +2 -2
  170. package/dist/index.es260.js +14 -10
  171. package/dist/index.es261.js +65 -15
  172. package/dist/index.es262.js +38 -65
  173. package/dist/index.es263.js +9 -37
  174. package/dist/index.es264.js +8 -9
  175. package/dist/index.es265.js +6 -7
  176. package/dist/index.es266.js +7 -7
  177. package/dist/index.es267.js +15 -7
  178. package/dist/index.es268.js +11 -15
  179. package/dist/index.es269.js +2 -205
  180. package/dist/index.es27.js +1 -1
  181. package/dist/index.es270.js +52 -21
  182. package/dist/index.es271.js +63 -23
  183. package/dist/index.es272.js +170 -385
  184. package/dist/index.es273.js +205 -8
  185. package/dist/index.es274.js +22 -3
  186. package/dist/index.es275.js +24 -44
  187. package/dist/index.es276.js +389 -28
  188. package/dist/index.es277.js +25 -52
  189. package/dist/index.es278.js +2 -20
  190. package/dist/index.es279.js +22 -21
  191. package/dist/index.es28.js +4 -4
  192. package/dist/index.es280.js +22 -62
  193. package/dist/index.es281.js +9257 -30
  194. package/dist/index.es282.js +15105 -74
  195. package/dist/index.es283.js +281 -5
  196. package/dist/index.es284.js +60 -14
  197. package/dist/index.es285.js +8 -42
  198. package/dist/index.es286.js +28 -33
  199. package/dist/index.es287.js +198 -8
  200. package/dist/index.es288.js +8 -22
  201. package/dist/index.es289.js +3 -28
  202. package/dist/index.es29.js +1 -1
  203. package/dist/index.es290.js +37 -420
  204. package/dist/index.es291.js +30 -11
  205. package/dist/index.es292.js +49 -32
  206. package/dist/index.es293.js +17 -175
  207. package/dist/index.es294.js +22 -25
  208. package/dist/index.es295.js +63 -2
  209. package/dist/index.es296.js +31 -63
  210. package/dist/index.es297.js +76 -64
  211. package/dist/index.es298.js +6 -14
  212. package/dist/index.es299.js +15 -3
  213. package/dist/index.es30.js +4 -4
  214. package/dist/index.es300.js +44 -2
  215. package/dist/index.es301.js +33 -22
  216. package/dist/index.es302.js +7 -22
  217. package/dist/index.es303.js +18 -9255
  218. package/dist/index.es304.js +27 -15107
  219. package/dist/index.es305.js +404 -259
  220. package/dist/index.es306.js +12 -60
  221. package/dist/index.es307.js +33 -8
  222. package/dist/index.es308.js +2 -29
  223. package/dist/index.es309.js +60 -194
  224. package/dist/index.es31.js +2 -2
  225. package/dist/index.es310.js +65 -2
  226. package/dist/index.es311.js +15 -2
  227. package/dist/index.es312.js +3 -25
  228. package/dist/index.es313.js +10 -29
  229. package/dist/index.es314.js +10 -5
  230. package/dist/index.es315.js +4 -4
  231. package/dist/index.es316.js +13 -57
  232. package/dist/index.es317.js +4 -27
  233. package/dist/index.es318.js +6 -46
  234. package/dist/index.es319.js +329 -62
  235. package/dist/index.es32.js +3 -3
  236. package/dist/index.es320.js +19 -38
  237. package/dist/index.es321.js +4 -19
  238. package/dist/index.es322.js +4 -67
  239. package/dist/index.es323.js +3 -68
  240. package/dist/index.es324.js +69 -66
  241. package/dist/index.es325.js +4 -69
  242. package/dist/index.es326.js +4 -45
  243. package/dist/index.es327.js +54 -44
  244. package/dist/index.es328.js +20 -51
  245. package/dist/index.es329.js +38 -40
  246. package/dist/index.es33.js +4 -4
  247. package/dist/index.es330.js +58 -34
  248. package/dist/index.es331.js +21 -55
  249. package/dist/index.es332.js +13 -66
  250. package/dist/index.es333.js +47 -76
  251. package/dist/index.es334.js +51 -30
  252. package/dist/index.es335.js +54 -32
  253. package/dist/index.es336.js +57 -35
  254. package/dist/index.es337.js +37 -22
  255. package/dist/index.es338.js +37 -20
  256. package/dist/index.es339.js +48 -19
  257. package/dist/index.es34.js +2 -2
  258. package/dist/index.es340.js +37 -19
  259. package/dist/index.es341.js +34 -21
  260. package/dist/index.es342.js +63 -21
  261. package/dist/index.es343.js +66 -14
  262. package/dist/index.es344.js +86 -35
  263. package/dist/index.es345.js +39 -38
  264. package/dist/index.es346.js +41 -14
  265. package/dist/index.es347.js +41 -14
  266. package/dist/index.es348.js +26 -115
  267. package/dist/index.es349.js +25 -180
  268. package/dist/index.es350.js +27 -45
  269. package/dist/index.es351.js +31 -4
  270. package/dist/index.es352.js +30 -2
  271. package/dist/index.es353.js +30 -2
  272. package/dist/index.es354.js +20 -2
  273. package/dist/index.es355.js +46 -2
  274. package/dist/index.es356.js +46 -2
  275. package/dist/index.es357.js +19 -7
  276. package/dist/index.es358.js +20 -2
  277. package/dist/index.es359.js +23 -8
  278. package/dist/index.es36.js +2 -2
  279. package/dist/index.es360.js +29 -10
  280. package/dist/index.es361.js +5 -5
  281. package/dist/index.es362.js +2 -13
  282. package/dist/index.es363.js +2 -5
  283. package/dist/index.es364.js +2 -7
  284. package/dist/index.es365.js +2 -334
  285. package/dist/index.es366.js +2 -19
  286. package/dist/index.es367.js +8 -4
  287. package/dist/index.es368.js +2 -5
  288. package/dist/index.es369.js +2 -3
  289. package/dist/index.es37.js +2 -2
  290. package/dist/index.es370.js +103 -69
  291. package/dist/index.es371.js +75 -3
  292. package/dist/index.es372.js +36 -6
  293. package/dist/index.es373.js +64 -4
  294. package/dist/index.es374.js +34 -25
  295. package/dist/index.es375.js +64 -109
  296. package/dist/index.es376.js +112 -16
  297. package/dist/index.es377.js +93 -68
  298. package/dist/index.es378.js +43 -32
  299. package/dist/index.es379.js +2 -9
  300. package/dist/index.es38.js +5 -5
  301. package/dist/index.es380.js +2 -153
  302. package/dist/index.es381.js +2 -108
  303. package/dist/index.es382.js +2 -68
  304. package/dist/index.es383.js +2 -31
  305. package/dist/index.es384.js +2 -16
  306. package/dist/index.es385.js +2 -141
  307. package/dist/index.es386.js +2 -114
  308. package/dist/index.es388.js +237 -104
  309. package/dist/index.es389.js +373 -67
  310. package/dist/index.es39.js +5 -5
  311. package/dist/index.es390.js +167 -35
  312. package/dist/index.es391.js +149 -61
  313. package/dist/index.es392.js +140 -33
  314. package/dist/index.es393.js +3 -66
  315. package/dist/index.es394.js +3 -113
  316. package/dist/index.es395.js +3 -94
  317. package/dist/index.es396.js +3 -43
  318. package/dist/index.es397.js +2 -2
  319. package/dist/index.es398.js +2 -2
  320. package/dist/index.es399.js +120 -2
  321. package/dist/index.es40.js +9 -9
  322. package/dist/index.es400.js +185 -2
  323. package/dist/index.es401.js +48 -2
  324. package/dist/index.es402.js +4 -2
  325. package/dist/index.es403.js +2 -2
  326. package/dist/index.es405.js +68 -2
  327. package/dist/index.es406.js +33 -241
  328. package/dist/index.es407.js +11 -384
  329. package/dist/index.es408.js +150 -164
  330. package/dist/index.es409.js +109 -152
  331. package/dist/index.es41.js +4 -4
  332. package/dist/index.es410.js +64 -136
  333. package/dist/index.es411.js +31 -2
  334. package/dist/index.es412.js +16 -2
  335. package/dist/index.es413.js +141 -2
  336. package/dist/index.es414.js +114 -2
  337. package/dist/index.es415.js +6 -2
  338. package/dist/index.es416.js +2 -2
  339. package/dist/index.es417.js +7 -19
  340. package/dist/index.es418.js +323 -97
  341. package/dist/index.es419.js +50 -47
  342. package/dist/index.es42.js +2 -2
  343. package/dist/index.es420.js +3 -522
  344. package/dist/index.es421.js +18 -125
  345. package/dist/index.es422.js +92 -120
  346. package/dist/index.es423.js +47 -25
  347. package/dist/index.es424.js +5 -6
  348. package/dist/index.es425.js +3 -6
  349. package/dist/index.es426.js +20 -39
  350. package/dist/index.es427.js +108 -56
  351. package/dist/index.es428.js +15 -40
  352. package/dist/index.es429.js +2 -29
  353. package/dist/index.es43.js +2 -2
  354. package/dist/index.es430.js +237 -31
  355. package/dist/index.es431.js +240 -9
  356. package/dist/index.es432.js +2 -11
  357. package/dist/index.es433.js +8 -10
  358. package/dist/index.es434.js +45 -6
  359. package/dist/index.es435.js +2 -6
  360. package/dist/index.es436.js +6 -8
  361. package/dist/index.es437.js +23 -31
  362. package/dist/index.es438.js +2 -19
  363. package/dist/index.es439.js +34 -15
  364. package/dist/index.es44.js +6 -6
  365. package/dist/index.es440.js +176 -45
  366. package/dist/index.es441.js +87 -9
  367. package/dist/index.es442.js +17 -6
  368. package/dist/index.es443.js +2 -5
  369. package/dist/index.es444.js +2 -14
  370. package/dist/index.es445.js +2 -20
  371. package/dist/index.es446.js +2 -107
  372. package/dist/index.es447.js +23 -26
  373. package/dist/index.es448.js +2 -27
  374. package/dist/index.es449.js +519 -6
  375. package/dist/index.es45.js +3 -3
  376. package/dist/index.es450.js +125 -30
  377. package/dist/index.es451.js +127 -30
  378. package/dist/index.es452.js +21 -65
  379. package/dist/index.es453.js +4 -24
  380. package/dist/index.es454.js +6 -357
  381. package/dist/index.es455.js +38 -26
  382. package/dist/index.es456.js +57 -6
  383. package/dist/index.es457.js +40 -6
  384. package/dist/index.es458.js +28 -4
  385. package/dist/index.es459.js +31 -6
  386. package/dist/index.es460.js +9 -48
  387. package/dist/index.es461.js +10 -54
  388. package/dist/index.es462.js +9 -5
  389. package/dist/index.es463.js +6 -275
  390. package/dist/index.es464.js +5 -36
  391. package/dist/index.es465.js +7 -53
  392. package/dist/index.es466.js +30 -72
  393. package/dist/index.es467.js +17 -170
  394. package/dist/index.es468.js +13 -20
  395. package/dist/index.es469.js +43 -7
  396. package/dist/index.es47.js +3 -3
  397. package/dist/index.es470.js +7 -32
  398. package/dist/index.es471.js +4 -45
  399. package/dist/index.es472.js +4 -29
  400. package/dist/index.es473.js +271 -8
  401. package/dist/index.es474.js +78 -11
  402. package/dist/index.es475.js +164 -20
  403. package/dist/index.es476.js +13 -51
  404. package/dist/index.es477.js +19 -33
  405. package/dist/index.es478.js +103 -110
  406. package/dist/index.es479.js +24 -17
  407. package/dist/index.es48.js +2 -2
  408. package/dist/index.es480.js +22 -231
  409. package/dist/index.es481.js +9 -4
  410. package/dist/index.es482.js +28 -26
  411. package/dist/index.es483.js +30 -117
  412. package/dist/index.es484.js +64 -32
  413. package/dist/index.es485.js +25 -20
  414. package/dist/index.es486.js +341 -152
  415. package/dist/index.es487.js +29 -48
  416. package/dist/index.es488.js +7 -2
  417. package/dist/index.es489.js +6 -237
  418. package/dist/index.es49.js +7 -7
  419. package/dist/index.es490.js +4 -240
  420. package/dist/index.es491.js +6 -5
  421. package/dist/index.es492.js +49 -2
  422. package/dist/index.es493.js +54 -7
  423. package/dist/index.es494.js +4 -325
  424. package/dist/index.es495.js +272 -46
  425. package/dist/index.es496.js +36 -3
  426. package/dist/index.es497.js +51 -62
  427. package/dist/index.es498.js +71 -68
  428. package/dist/index.es499.js +170 -7
  429. package/dist/index.es50.js +2 -2
  430. package/dist/index.es500.js +21 -14
  431. package/dist/index.es501.js +8 -62
  432. package/dist/index.es502.js +32 -14
  433. package/dist/index.es503.js +42 -26
  434. package/dist/index.es504.js +29 -12
  435. package/dist/index.es505.js +8 -6
  436. package/dist/index.es506.js +13 -2
  437. package/dist/index.es507.js +22 -8
  438. package/dist/index.es508.js +51 -45
  439. package/dist/index.es509.js +34 -2
  440. package/dist/index.es51.js +3 -3
  441. package/dist/index.es510.js +114 -6
  442. package/dist/index.es511.js +20 -22
  443. package/dist/index.es512.js +236 -2
  444. package/dist/index.es513.js +6 -34
  445. package/dist/index.es514.js +31 -176
  446. package/dist/index.es515.js +120 -88
  447. package/dist/index.es516.js +38 -16
  448. package/dist/index.es517.js +21 -2
  449. package/dist/index.es518.js +168 -2
  450. package/dist/index.es519.js +50 -2
  451. package/dist/index.es52.js +3 -3
  452. package/dist/index.es520.js +16 -2
  453. package/dist/index.es521.js +28 -23
  454. package/dist/index.es522.js +13 -2
  455. package/dist/index.es523.js +6 -271
  456. package/dist/index.es524.js +2 -80
  457. package/dist/index.es525.js +71 -161
  458. package/dist/index.es526.js +92 -4
  459. package/dist/index.es527.js +51 -3
  460. package/dist/index.es528.js +7 -4
  461. package/dist/index.es529.js +4 -8
  462. package/dist/index.es53.js +3 -3
  463. package/dist/index.es530.js +52 -6
  464. package/dist/index.es531.js +68 -5
  465. package/dist/index.es532.js +8 -5
  466. package/dist/index.es533.js +14 -6
  467. package/dist/index.es534.js +61 -5
  468. package/dist/index.es535.js +65 -6
  469. package/dist/index.es536.js +2 -6
  470. package/dist/index.es537.js +1 -5
  471. package/dist/index.es538.js +2 -6
  472. package/dist/index.es539.js +79 -6
  473. package/dist/index.es54.js +3 -3
  474. package/dist/index.es540.js +96 -6
  475. package/dist/index.es541.js +8 -8
  476. package/dist/index.es542.js +2 -6
  477. package/dist/index.es543.js +27 -8
  478. package/dist/index.es544.js +2 -6
  479. package/dist/index.es545.js +21 -8
  480. package/dist/index.es546.js +24 -8
  481. package/dist/index.es547.js +28 -8
  482. package/dist/index.es548.js +21 -8
  483. package/dist/index.es549.js +25 -8
  484. package/dist/index.es55.js +2 -2
  485. package/dist/index.es550.js +49 -8
  486. package/dist/index.es551.js +36 -8
  487. package/dist/index.es552.js +21 -8
  488. package/dist/index.es553.js +23 -8
  489. package/dist/index.es554.js +21 -8
  490. package/dist/index.es555.js +21 -8
  491. package/dist/index.es556.js +23 -8
  492. package/dist/index.es557.js +2 -6
  493. package/dist/index.es558.js +2 -6
  494. package/dist/index.es559.js +1 -5
  495. package/dist/index.es56.js +4 -4
  496. package/dist/index.es560.js +1 -5
  497. package/dist/index.es561.js +2 -6
  498. package/dist/index.es562.js +2 -6
  499. package/dist/index.es563.js +1 -5
  500. package/dist/index.es564.js +2 -42
  501. package/dist/index.es565.js +2 -72
  502. package/dist/index.es568.js +2 -2
  503. package/dist/index.es569.js +29 -78
  504. package/dist/index.es57.js +6 -6
  505. package/dist/index.es570.js +26 -95
  506. package/dist/index.es571.js +31 -53
  507. package/dist/index.es572.js +29 -10
  508. package/dist/index.es573.js +27 -7
  509. package/dist/index.es574.js +26 -54
  510. package/dist/index.es575.js +72 -6
  511. package/dist/index.es576.js +26 -25
  512. package/dist/index.es577.js +29 -5
  513. package/dist/index.es578.js +44 -4
  514. package/dist/index.es579.js +26 -4
  515. package/dist/index.es58.js +2 -2
  516. package/dist/index.es580.js +46 -81
  517. package/dist/index.es581.js +123 -98
  518. package/dist/index.es582.js +43 -24
  519. package/dist/index.es583.js +27 -4
  520. package/dist/index.es584.js +9 -4
  521. package/dist/index.es585.js +12 -10
  522. package/dist/index.es586.js +9 -11
  523. package/dist/index.es587.js +6 -4
  524. package/dist/index.es588.js +15 -10
  525. package/dist/index.es589.js +10 -33
  526. package/dist/index.es59.js +10 -10
  527. package/dist/index.es590.js +6 -21
  528. package/dist/index.es591.js +10 -5
  529. package/dist/index.es592.js +35 -10
  530. package/dist/index.es593.js +106 -9
  531. package/dist/index.es594.js +10 -7
  532. package/dist/index.es595.js +23 -10
  533. package/dist/index.es596.js +44 -4
  534. package/dist/index.es597.js +55 -4
  535. package/dist/index.es598.js +44 -4
  536. package/dist/index.es599.js +26 -4
  537. package/dist/index.es60.js +6 -6
  538. package/dist/index.es600.js +43 -4
  539. package/dist/index.es601.js +36 -4
  540. package/dist/index.es602.js +62 -4
  541. package/dist/index.es603.js +36 -4
  542. package/dist/index.es604.js +23 -4
  543. package/dist/index.es605.js +26 -4
  544. package/dist/index.es606.js +30 -4
  545. package/dist/index.es607.js +21 -4
  546. package/dist/index.es608.js +3 -6
  547. package/dist/index.es609.js +25 -8
  548. package/dist/index.es61.js +7 -7
  549. package/dist/index.es610.js +10 -14
  550. package/dist/index.es611.js +23 -10
  551. package/dist/index.es612.js +11 -10
  552. package/dist/index.es613.js +14 -12
  553. package/dist/index.es614.js +11 -51
  554. package/dist/index.es615.js +6 -6
  555. package/dist/index.es616.js +8 -19
  556. package/dist/index.es617.js +9 -32
  557. package/dist/index.es618.js +27 -10
  558. package/dist/index.es619.js +11 -31
  559. package/dist/index.es62.js +50 -38
  560. package/dist/index.es620.js +12 -105
  561. package/dist/index.es621.js +12 -25
  562. package/dist/index.es622.js +20 -11
  563. package/dist/index.es623.js +13 -8
  564. package/dist/index.es624.js +25 -8
  565. package/dist/index.es625.js +18 -10
  566. package/dist/index.es626.js +19 -6
  567. package/dist/index.es627.js +20 -9
  568. package/dist/index.es628.js +16 -12
  569. package/dist/index.es629.js +2 -2
  570. package/dist/index.es63.js +39 -36
  571. package/dist/index.es630.js +14 -6
  572. package/dist/index.es631.js +13 -28
  573. package/dist/index.es632.js +26 -103
  574. package/dist/index.es633.js +18 -5
  575. package/dist/index.es634.js +10 -17
  576. package/dist/index.es635.js +6 -24
  577. package/dist/index.es636.js +9 -38
  578. package/dist/index.es637.js +8 -26
  579. package/dist/index.es638.js +13 -11
  580. package/dist/index.es639.js +10 -25
  581. package/dist/index.es64.js +38 -46
  582. package/dist/index.es640.js +10 -17
  583. package/dist/index.es641.js +8 -40
  584. package/dist/index.es642.js +8 -23
  585. package/dist/index.es643.js +12 -4
  586. package/dist/index.es644.js +87 -7
  587. package/dist/index.es645.js +5 -9
  588. package/dist/index.es646.js +2 -2
  589. package/dist/index.es647.js +8 -6
  590. package/dist/index.es648.js +8 -30
  591. package/dist/index.es649.js +11 -12
  592. package/dist/index.es65.js +46 -125
  593. package/dist/index.es650.js +10 -31
  594. package/dist/index.es651.js +10 -12
  595. package/dist/index.es652.js +4 -28
  596. package/dist/index.es653.js +4 -32
  597. package/dist/index.es654.js +4 -26
  598. package/dist/index.es655.js +4 -21
  599. package/dist/index.es656.js +4 -21
  600. package/dist/index.es657.js +4 -43
  601. package/dist/index.es658.js +4 -26
  602. package/dist/index.es659.js +4 -30
  603. package/dist/index.es66.js +125 -6
  604. package/dist/index.es660.js +4 -33
  605. package/dist/index.es661.js +4 -36
  606. package/dist/index.es662.js +4 -31
  607. package/dist/index.es663.js +4 -43
  608. package/dist/index.es664.js +4 -34
  609. package/dist/index.es665.js +4 -36
  610. package/dist/index.es666.js +4 -41
  611. package/dist/index.es667.js +4 -30
  612. package/dist/index.es668.js +4 -21
  613. package/dist/index.es669.js +4 -34
  614. package/dist/index.es67.js +6 -30
  615. package/dist/index.es670.js +4 -33
  616. package/dist/index.es671.js +4 -41
  617. package/dist/index.es672.js +4 -37
  618. package/dist/index.es673.js +4 -29
  619. package/dist/index.es674.js +4 -26
  620. package/dist/index.es675.js +4 -26
  621. package/dist/index.es676.js +4 -26
  622. package/dist/index.es677.js +4 -28
  623. package/dist/index.es678.js +4 -28
  624. package/dist/index.es679.js +4 -29
  625. package/dist/index.es68.js +30 -24
  626. package/dist/index.es680.js +4 -30
  627. package/dist/index.es681.js +4 -21
  628. package/dist/index.es682.js +4 -31
  629. package/dist/index.es683.js +4 -106
  630. package/dist/index.es684.js +4 -26
  631. package/dist/index.es685.js +4 -21
  632. package/dist/index.es686.js +4 -28
  633. package/dist/index.es687.js +4 -21
  634. package/dist/index.es688.js +4 -27
  635. package/dist/index.es689.js +4 -21
  636. package/dist/index.es69.js +24 -68
  637. package/dist/index.es690.js +4 -26
  638. package/dist/index.es691.js +2 -2
  639. package/dist/index.es692.js +2 -2
  640. package/dist/index.es693.js +2 -2
  641. package/dist/index.es696.js +2 -2
  642. package/dist/index.es697.js +2 -2
  643. package/dist/index.es698.js +2 -2
  644. package/dist/index.es70.js +139 -72
  645. package/dist/index.es701.js +2 -2
  646. package/dist/index.es702.js +2 -2
  647. package/dist/index.es703.js +2 -2
  648. package/dist/index.es704.js +2 -2
  649. package/dist/index.es706.js +2 -2
  650. package/dist/index.es709.js +2 -2
  651. package/dist/index.es71.js +65 -94
  652. package/dist/index.es711.js +2 -2
  653. package/dist/index.es714.js +2 -2
  654. package/dist/index.es716.js +2 -2
  655. package/dist/index.es717.js +2 -2
  656. package/dist/index.es719.js +2 -2
  657. package/dist/index.es72.js +77 -81
  658. package/dist/index.es720.js +2 -2
  659. package/dist/index.es722.js +2 -2
  660. package/dist/index.es724.js +2 -2
  661. package/dist/index.es725.js +2 -2
  662. package/dist/index.es726.js +2 -2
  663. package/dist/index.es727.js +2 -2
  664. package/dist/index.es728.js +2 -2
  665. package/dist/index.es73.js +97 -2
  666. package/dist/index.es730.js +2 -2
  667. package/dist/index.es731.js +2 -2
  668. package/dist/index.es735.js +32 -4
  669. package/dist/index.es736.js +32 -4
  670. package/dist/index.es737.js +32 -4
  671. package/dist/index.es738.js +32 -4
  672. package/dist/index.es739.js +29 -4
  673. package/dist/index.es74.js +77 -76
  674. package/dist/index.es740.js +32 -4
  675. package/dist/index.es741.js +32 -4
  676. package/dist/index.es742.js +29 -4
  677. package/dist/index.es743.js +32 -4
  678. package/dist/index.es744.js +32 -4
  679. package/dist/index.es745.js +32 -4
  680. package/dist/index.es746.js +32 -4
  681. package/dist/index.es747.js +32 -4
  682. package/dist/index.es748.js +32 -4
  683. package/dist/index.es749.js +32 -4
  684. package/dist/index.es75.js +2 -73
  685. package/dist/index.es750.js +32 -4
  686. package/dist/index.es751.js +32 -4
  687. package/dist/index.es752.js +32 -4
  688. package/dist/index.es753.js +32 -4
  689. package/dist/index.es754.js +32 -4
  690. package/dist/index.es755.js +27 -4
  691. package/dist/index.es756.js +32 -4
  692. package/dist/index.es757.js +32 -4
  693. package/dist/index.es758.js +32 -4
  694. package/dist/index.es759.js +29 -4
  695. package/dist/index.es76.js +81 -24
  696. package/dist/index.es760.js +32 -4
  697. package/dist/index.es761.js +32 -4
  698. package/dist/index.es762.js +29 -4
  699. package/dist/index.es763.js +32 -4
  700. package/dist/index.es764.js +31 -4
  701. package/dist/index.es765.js +32 -4
  702. package/dist/index.es766.js +32 -4
  703. package/dist/index.es767.js +32 -4
  704. package/dist/index.es768.js +32 -4
  705. package/dist/index.es769.js +26 -4
  706. package/dist/index.es77.js +72 -19
  707. package/dist/index.es770.js +32 -4
  708. package/dist/index.es771.js +32 -4
  709. package/dist/index.es772.js +32 -4
  710. package/dist/index.es773.js +32 -4
  711. package/dist/index.es774.js +4 -32
  712. package/dist/index.es775.js +4 -32
  713. package/dist/index.es776.js +4 -32
  714. package/dist/index.es777.js +4 -32
  715. package/dist/index.es778.js +4 -29
  716. package/dist/index.es779.js +4 -32
  717. package/dist/index.es78.js +23 -47
  718. package/dist/index.es780.js +4 -32
  719. package/dist/index.es781.js +4 -29
  720. package/dist/index.es782.js +4 -32
  721. package/dist/index.es783.js +4 -32
  722. package/dist/index.es784.js +4 -32
  723. package/dist/index.es785.js +4 -32
  724. package/dist/index.es786.js +4 -32
  725. package/dist/index.es787.js +4 -32
  726. package/dist/index.es788.js +4 -32
  727. package/dist/index.es789.js +4 -32
  728. package/dist/index.es79.js +20 -27
  729. package/dist/index.es790.js +4 -32
  730. package/dist/index.es791.js +4 -32
  731. package/dist/index.es792.js +4 -32
  732. package/dist/index.es793.js +4 -32
  733. package/dist/index.es794.js +4 -27
  734. package/dist/index.es795.js +4 -32
  735. package/dist/index.es796.js +4 -32
  736. package/dist/index.es797.js +4 -32
  737. package/dist/index.es798.js +4 -29
  738. package/dist/index.es799.js +4 -32
  739. package/dist/index.es80.js +92 -43
  740. package/dist/index.es800.js +4 -32
  741. package/dist/index.es801.js +4 -29
  742. package/dist/index.es802.js +4 -32
  743. package/dist/index.es803.js +4 -31
  744. package/dist/index.es804.js +4 -32
  745. package/dist/index.es805.js +4 -32
  746. package/dist/index.es806.js +4 -32
  747. package/dist/index.es807.js +4 -32
  748. package/dist/index.es808.js +4 -26
  749. package/dist/index.es809.js +4 -32
  750. package/dist/index.es81.js +50 -11
  751. package/dist/index.es810.js +4 -32
  752. package/dist/index.es811.js +4 -32
  753. package/dist/index.es812.js +4 -32
  754. package/dist/index.es813.js +42 -4
  755. package/dist/index.es814.js +46 -4
  756. package/dist/index.es815.js +27 -4
  757. package/dist/index.es817.js +2 -2
  758. package/dist/index.es819.js +22 -2
  759. package/dist/index.es82.js +26 -10
  760. package/dist/index.es820.js +83 -2
  761. package/dist/index.es821.js +5 -2
  762. package/dist/index.es822.js +4 -2
  763. package/dist/index.es823.js +5 -2
  764. package/dist/index.es824.js +9 -2
  765. package/dist/index.es825.js +6 -2
  766. package/dist/index.es826.js +6 -2
  767. package/dist/index.es827.js +6 -2
  768. package/dist/index.es828.js +6 -2
  769. package/dist/index.es829.js +6 -2
  770. package/dist/index.es83.js +45 -48
  771. package/dist/index.es830.js +6 -2
  772. package/dist/index.es831.js +6 -2
  773. package/dist/index.es832.js +6 -2
  774. package/dist/index.es833.js +6 -2
  775. package/dist/index.es834.js +6 -2
  776. package/dist/index.es835.js +6 -2
  777. package/dist/index.es836.js +6 -2
  778. package/dist/index.es837.js +6 -2
  779. package/dist/index.es838.js +5 -1
  780. package/dist/index.es839.js +6 -2
  781. package/dist/index.es84.js +11 -17
  782. package/dist/index.es840.js +5 -1
  783. package/dist/index.es841.js +6 -2
  784. package/dist/index.es842.js +5 -1
  785. package/dist/index.es843.js +6 -2
  786. package/dist/index.es844.js +6 -2
  787. package/dist/index.es845.js +6 -2
  788. package/dist/index.es846.js +6 -2
  789. package/dist/index.es847.js +6 -2
  790. package/dist/index.es848.js +6 -2
  791. package/dist/index.es849.js +5 -1
  792. package/dist/index.es85.js +11 -135
  793. package/dist/index.es850.js +6 -2
  794. package/dist/index.es851.js +6 -2
  795. package/dist/index.es852.js +8 -42
  796. package/dist/index.es853.js +8 -46
  797. package/dist/index.es854.js +8 -27
  798. package/dist/index.es855.js +6 -2
  799. package/dist/index.es856.js +6 -2
  800. package/dist/index.es857.js +6 -2
  801. package/dist/index.es858.js +6 -22
  802. package/dist/index.es859.js +40 -81
  803. package/dist/index.es86.js +48 -69
  804. package/dist/index.es860.js +71 -13
  805. package/dist/index.es861.js +2 -14
  806. package/dist/index.es862.js +2 -14
  807. package/dist/index.es863.js +2 -14
  808. package/dist/index.es864.js +2 -14
  809. package/dist/index.es865.js +4 -14
  810. package/dist/index.es866.js +23 -14
  811. package/dist/index.es867.js +12 -12
  812. package/dist/index.es868.js +12 -12
  813. package/dist/index.es869.js +12 -12
  814. package/dist/index.es87.js +16 -146
  815. package/dist/index.es870.js +9 -9
  816. package/dist/index.es871.js +12 -12
  817. package/dist/index.es872.js +12 -12
  818. package/dist/index.es873.js +12 -12
  819. package/dist/index.es874.js +12 -12
  820. package/dist/index.es875.js +13 -13
  821. package/dist/index.es876.js +12 -12
  822. package/dist/index.es877.js +12 -12
  823. package/dist/index.es878.js +12 -12
  824. package/dist/index.es879.js +9 -9
  825. package/dist/index.es88.js +133 -92
  826. package/dist/index.es880.js +12 -12
  827. package/dist/index.es881.js +12 -12
  828. package/dist/index.es882.js +13 -13
  829. package/dist/index.es883.js +12 -12
  830. package/dist/index.es884.js +12 -12
  831. package/dist/index.es885.js +12 -12
  832. package/dist/index.es886.js +12 -12
  833. package/dist/index.es887.js +12 -12
  834. package/dist/index.es888.js +12 -12
  835. package/dist/index.es889.js +12 -12
  836. package/dist/index.es89.js +67 -28
  837. package/dist/index.es890.js +12 -12
  838. package/dist/index.es891.js +12 -12
  839. package/dist/index.es892.js +12 -12
  840. package/dist/index.es893.js +13 -13
  841. package/dist/index.es894.js +14 -2
  842. package/dist/index.es895.js +14 -2
  843. package/dist/index.es896.js +13 -22
  844. package/dist/index.es897.js +13 -12
  845. package/dist/index.es898.js +13 -27
  846. package/dist/index.es899.js +13 -4
  847. package/dist/index.es90.js +29 -7
  848. package/dist/index.es900.js +14 -2
  849. package/dist/index.es901.js +23 -2
  850. package/dist/index.es902.js +15 -0
  851. package/dist/index.es903.js +30 -0
  852. package/dist/index.es904.js +7 -0
  853. package/dist/index.es91.js +8 -2
  854. package/dist/index.es92.js +2 -8
  855. package/dist/index.es93.js +8 -11
  856. package/dist/index.es94.js +10 -10
  857. package/dist/index.es95.js +10 -8
  858. package/dist/index.es96.js +9 -3
  859. package/dist/index.es97.js +3 -5
  860. package/dist/index.es98.js +5 -15
  861. package/dist/index.es99.js +13 -2498
  862. package/package.json +1 -1
@@ -1,2293 +1,2056 @@
1
- const O = "-", le = (e) => {
2
- const r = ae(e), {
3
- conflictingClassGroups: t,
4
- conflictingClassGroupModifiers: o
1
+ import { format as Ze, plugins as _e } from "./index.es283.js";
2
+ import { computeAccessibleDescription as Se } from "./index.es284.js";
3
+ import { computeAccessibleName as ce } from "./index.es285.js";
4
+ import { roles as I, roleElements as et, elementRoles as tt } from "./index.es286.js";
5
+ import nt from "./index.es287.js";
6
+ function Ce(e) {
7
+ return e.replace(/</g, "&lt;").replace(/>/g, "&gt;");
8
+ }
9
+ const rt = (e, t, n, l, r, o, i) => {
10
+ const a = l + n.indent, u = n.colors;
11
+ return e.map((s) => {
12
+ const c = t[s];
13
+ let f = i(c, n, a, r, o);
14
+ return typeof c != "string" && (f.indexOf(`
15
+ `) !== -1 && (f = n.spacingOuter + a + f + n.spacingOuter + l), f = "{" + f + "}"), n.spacingInner + l + u.prop.open + s + u.prop.close + "=" + u.value.open + f + u.value.close;
16
+ }).join("");
17
+ }, lt = 3, ot = (e, t, n, l, r, o) => e.map((i) => {
18
+ const a = typeof i == "string" ? De(i, t) : o(i, t, n, l, r);
19
+ return a === "" && typeof i == "object" && i !== null && i.nodeType !== lt ? "" : t.spacingOuter + n + a;
20
+ }).join(""), De = (e, t) => {
21
+ const n = t.colors.content;
22
+ return n.open + Ce(e) + n.close;
23
+ }, it = (e, t) => {
24
+ const n = t.colors.comment;
25
+ return n.open + "<!--" + Ce(e) + "-->" + n.close;
26
+ }, at = (e, t, n, l, r) => {
27
+ const o = l.colors.tag;
28
+ return o.open + "<" + e + (t && o.close + t + l.spacingOuter + r + o.open) + (n ? ">" + o.close + n + l.spacingOuter + r + o.open + "</" + e : (t && !l.min ? "" : " ") + "/") + ">" + o.close;
29
+ }, ut = (e, t) => {
30
+ const n = t.colors.tag;
31
+ return n.open + "<" + e + n.close + " …" + n.open + " />" + n.close;
32
+ }, st = 1, qe = 3, Me = 8, Oe = 11, ct = /^((HTML|SVG)\w*)?Element$/, Pe = (e) => {
33
+ const {
34
+ tagName: t
35
+ } = e;
36
+ return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is"));
37
+ }, ft = (e) => {
38
+ const t = e.constructor.name, {
39
+ nodeType: n
5
40
  } = e;
41
+ return n === st && (ct.test(t) || Pe(e)) || n === qe && t === "Text" || n === Me && t === "Comment" || n === Oe && t === "DocumentFragment";
42
+ };
43
+ function dt(e) {
44
+ return e.nodeType === qe;
45
+ }
46
+ function bt(e) {
47
+ return e.nodeType === Me;
48
+ }
49
+ function Y(e) {
50
+ return e.nodeType === Oe;
51
+ }
52
+ function pt(e) {
6
53
  return {
7
- getClassGroupId: (l) => {
8
- const n = l.split(O);
9
- return n[0] === "" && n.length !== 1 && n.shift(), re(n, r) || ie(l);
54
+ test: (t) => {
55
+ var n;
56
+ return ((t == null || (n = t.constructor) == null ? void 0 : n.name) || Pe(t)) && ft(t);
10
57
  },
11
- getConflictingClassGroupIds: (l, n) => {
12
- const u = t[l] || [];
13
- return n && o[l] ? [...u, ...o[l]] : u;
58
+ serialize: (t, n, l, r, o, i) => {
59
+ if (dt(t))
60
+ return De(t.data, n);
61
+ if (bt(t))
62
+ return it(t.data, n);
63
+ const a = Y(t) ? "DocumentFragment" : t.tagName.toLowerCase();
64
+ return ++r > n.maxDepth ? ut(a, n) : at(a, rt(Y(t) ? [] : Array.from(t.attributes).map((u) => u.name).sort(), Y(t) ? {} : Array.from(t.attributes).reduce((u, s) => (u[s.name] = s.value, u), {}), n, l + n.indent, r, o, i), ot(Array.prototype.slice.call(t.childNodes || t.children).filter(e), n, l + n.indent, r, o, i), n, l);
14
65
  }
15
66
  };
16
- }, re = (e, r) => {
17
- var l;
18
- if (e.length === 0)
19
- return r.classGroupId;
20
- const t = e[0], o = r.nextPart.get(t), a = o ? re(e.slice(1), o) : void 0;
21
- if (a)
22
- return a;
23
- if (r.validators.length === 0)
24
- return;
25
- const s = e.join(O);
26
- return (l = r.validators.find(({
27
- validator: n
28
- }) => n(s))) == null ? void 0 : l.classGroupId;
29
- }, D = /^\[(.+)\]$/, ie = (e) => {
30
- if (D.test(e)) {
31
- const r = D.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
32
- if (t)
33
- return "arbitrary.." + t;
67
+ }
68
+ let Ne = null, fe = null, de = null;
69
+ try {
70
+ const e = module && module.require;
71
+ fe = e.call(module, "fs").readFileSync, de = e.call(module, "@babel/code-frame").codeFrameColumns, Ne = e.call(module, "chalk");
72
+ } catch {
73
+ }
74
+ function yt(e) {
75
+ const t = e.indexOf("(") + 1, n = e.indexOf(")"), l = e.slice(t, n), r = l.split(":"), [o, i, a] = [r[0], parseInt(r[1], 10), parseInt(r[2], 10)];
76
+ let u = "";
77
+ try {
78
+ u = fe(o, "utf-8");
79
+ } catch {
80
+ return "";
81
+ }
82
+ const s = de(u, {
83
+ start: {
84
+ line: i,
85
+ column: a
86
+ }
87
+ }, {
88
+ highlightCode: !0,
89
+ linesBelow: 0
90
+ });
91
+ return Ne.dim(l) + `
92
+ ` + s + `
93
+ `;
94
+ }
95
+ function mt() {
96
+ if (!fe || !de)
97
+ return "";
98
+ const t = new Error().stack.split(`
99
+ `).slice(1).find((n) => !n.includes("node_modules/"));
100
+ return yt(t);
101
+ }
102
+ const Le = 3;
103
+ function Z() {
104
+ return typeof jest < "u" && jest !== null ? (
105
+ // legacy timers
106
+ setTimeout._isMockFunction === !0 || // modern timers
107
+ // eslint-disable-next-line prefer-object-has-own -- not supported by our support matrix
108
+ Object.prototype.hasOwnProperty.call(setTimeout, "clock")
109
+ ) : !1;
110
+ }
111
+ function be() {
112
+ if (typeof window > "u")
113
+ throw new Error("Could not find default container");
114
+ return window.document;
115
+ }
116
+ function ke(e) {
117
+ if (e.defaultView)
118
+ return e.defaultView;
119
+ if (e.ownerDocument && e.ownerDocument.defaultView)
120
+ return e.ownerDocument.defaultView;
121
+ if (e.window)
122
+ return e.window;
123
+ throw e.ownerDocument && e.ownerDocument.defaultView === null ? new Error("It looks like the window object is not available for the provided node.") : e.then instanceof Function ? new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?") : Array.isArray(e) ? new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?") : typeof e.debug == "function" && typeof e.logTestingPlaygroundURL == "function" ? new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?") : new Error("The given node is not an Element, the node type is: " + typeof e + ".");
124
+ }
125
+ function S(e) {
126
+ if (!e || typeof e.querySelector != "function" || typeof e.querySelectorAll != "function")
127
+ throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + t(e) + ".");
128
+ function t(n) {
129
+ return typeof n == "object" ? n === null ? "null" : n.constructor.name : typeof n;
130
+ }
131
+ }
132
+ const gt = () => {
133
+ if (typeof process > "u")
134
+ return !1;
135
+ let e;
136
+ try {
137
+ var t;
138
+ const n = (t = process.env) == null ? void 0 : t.COLORS;
139
+ n && (e = JSON.parse(n));
140
+ } catch {
34
141
  }
35
- }, ae = (e) => {
142
+ return typeof e == "boolean" ? e : process.versions !== void 0 && process.versions.node !== void 0;
143
+ }, {
144
+ DOMCollection: Et
145
+ } = _e, vt = 1, ht = 8;
146
+ function Tt(e) {
147
+ return e.nodeType !== ht && (e.nodeType !== vt || !e.matches(y().defaultIgnore));
148
+ }
149
+ function H(e, t, n) {
150
+ if (n === void 0 && (n = {}), e || (e = be().body), typeof t != "number" && (t = typeof process < "u" && typeof process.env < "u" && process.env.DEBUG_PRINT_LIMIT || 7e3), t === 0)
151
+ return "";
152
+ e.documentElement && (e = e.documentElement);
153
+ let l = typeof e;
154
+ if (l === "object" ? l = e.constructor.name : e = {}, !("outerHTML" in e))
155
+ throw new TypeError("Expected an element or document but got " + l);
36
156
  const {
37
- theme: r,
38
- prefix: t
39
- } = e, o = {
40
- nextPart: /* @__PURE__ */ new Map(),
41
- validators: []
157
+ filterNode: r = Tt,
158
+ ...o
159
+ } = n, i = Ze(e, {
160
+ plugins: [pt(r), Et],
161
+ printFunctionName: !1,
162
+ highlight: gt(),
163
+ ...o
164
+ });
165
+ return t !== void 0 && e.outerHTML.length > t ? i.slice(0, t) + "..." : i;
166
+ }
167
+ const Te = function() {
168
+ const e = mt();
169
+ console.log(e ? H(...arguments) + `
170
+
171
+ ` + e : H(...arguments));
172
+ };
173
+ let O = {
174
+ testIdAttribute: "data-testid",
175
+ asyncUtilTimeout: 1e3,
176
+ // asyncWrapper and advanceTimersWrapper is to support React's async `act` function.
177
+ // forcing react-testing-library to wrap all async functions would've been
178
+ // a total nightmare (consider wrapping every findBy* query and then also
179
+ // updating `within` so those would be wrapped too. Total nightmare).
180
+ // so we have this config option that's really only intended for
181
+ // react-testing-library to use. For that reason, this feature will remain
182
+ // undocumented.
183
+ asyncWrapper: (e) => e(),
184
+ unstable_advanceTimersWrapper: (e) => e(),
185
+ eventWrapper: (e) => e(),
186
+ // default value for the `hidden` option in `ByRole` queries
187
+ defaultHidden: !1,
188
+ // default value for the `ignore` option in `ByText` queries
189
+ defaultIgnore: "script, style",
190
+ // showOriginalStackTrace flag to show the full error stack traces for async errors
191
+ showOriginalStackTrace: !1,
192
+ // throw errors w/ suggestions for better queries. Opt in so off by default.
193
+ throwSuggestions: !1,
194
+ // called when getBy* queries fail. (message, container) => Error
195
+ getElementError(e, t) {
196
+ const n = H(t), l = new Error([e, "Ignored nodes: comments, " + O.defaultIgnore + `
197
+ ` + n].filter(Boolean).join(`
198
+
199
+ `));
200
+ return l.name = "TestingLibraryElementError", l;
201
+ },
202
+ _disableExpensiveErrorDiagnostics: !1,
203
+ computedStyleSupportsPseudoElements: !1
204
+ };
205
+ function At(e) {
206
+ try {
207
+ return O._disableExpensiveErrorDiagnostics = !0, e();
208
+ } finally {
209
+ O._disableExpensiveErrorDiagnostics = !1;
210
+ }
211
+ }
212
+ function Er(e) {
213
+ typeof e == "function" && (e = e(O)), O = {
214
+ ...O,
215
+ ...e
42
216
  };
43
- return de(Object.entries(e.classGroups), t).forEach(([s, l]) => {
44
- U(l, o, s, r);
45
- }), o;
46
- }, U = (e, r, t, o) => {
47
- e.forEach((a) => {
48
- if (typeof a == "string") {
49
- const s = a === "" ? r : ee(r, a);
50
- s.classGroupId = t;
51
- return;
52
- }
53
- if (typeof a == "function") {
54
- if (ce(a)) {
55
- U(a(o), r, t, o);
56
- return;
57
- }
58
- r.validators.push({
59
- validator: a,
60
- classGroupId: t
61
- });
62
- return;
63
- }
64
- Object.entries(a).forEach(([s, l]) => {
65
- U(l, ee(r, s), t, o);
217
+ }
218
+ function y() {
219
+ return O;
220
+ }
221
+ const wt = ["button", "meter", "output", "progress", "select", "textarea", "input"];
222
+ function Fe(e) {
223
+ return wt.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === Le ? e.textContent : Array.from(e.childNodes).map((t) => Fe(t)).join("");
224
+ }
225
+ function ee(e) {
226
+ let t;
227
+ return e.tagName.toLowerCase() === "label" ? t = Fe(e) : t = e.value || e.textContent, t;
228
+ }
229
+ function Re(e) {
230
+ if (e.labels !== void 0) {
231
+ var t;
232
+ return (t = e.labels) != null ? t : [];
233
+ }
234
+ if (!It(e)) return [];
235
+ const n = e.ownerDocument.querySelectorAll("label");
236
+ return Array.from(n).filter((l) => l.control === e);
237
+ }
238
+ function It(e) {
239
+ return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
240
+ }
241
+ function je(e, t, n) {
242
+ let {
243
+ selector: l = "*"
244
+ } = n === void 0 ? {} : n;
245
+ const r = t.getAttribute("aria-labelledby"), o = r ? r.split(" ") : [];
246
+ return o.length ? o.map((i) => {
247
+ const a = e.querySelector('[id="' + i + '"]');
248
+ return a ? {
249
+ content: ee(a),
250
+ formControl: null
251
+ } : {
252
+ content: "",
253
+ formControl: null
254
+ };
255
+ }) : Array.from(Re(t)).map((i) => {
256
+ const a = ee(i), s = Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((c) => c.matches(l))[0];
257
+ return {
258
+ content: a,
259
+ formControl: s
260
+ };
261
+ });
262
+ }
263
+ function We(e) {
264
+ if (e == null)
265
+ throw new Error(
266
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- implicitly converting `T` to `string`
267
+ "It looks like " + e + " was passed instead of a matcher. Did you do something like getByText(" + e + ")?"
268
+ );
269
+ }
270
+ function R(e, t, n, l) {
271
+ if (typeof e != "string")
272
+ return !1;
273
+ We(n);
274
+ const r = l(e);
275
+ return typeof n == "string" || typeof n == "number" ? r.toLowerCase().includes(n.toString().toLowerCase()) : typeof n == "function" ? n(r, t) : Ve(n, r);
276
+ }
277
+ function B(e, t, n, l) {
278
+ if (typeof e != "string")
279
+ return !1;
280
+ We(n);
281
+ const r = l(e);
282
+ return n instanceof Function ? n(r, t) : n instanceof RegExp ? Ve(n, r) : r === String(n);
283
+ }
284
+ function ze(e) {
285
+ let {
286
+ trim: t = !0,
287
+ collapseWhitespace: n = !0
288
+ } = e === void 0 ? {} : e;
289
+ return (l) => {
290
+ let r = l;
291
+ return r = t ? r.trim() : r, r = n ? r.replace(/\s+/g, " ") : r, r;
292
+ };
293
+ }
294
+ function N(e) {
295
+ let {
296
+ trim: t,
297
+ collapseWhitespace: n,
298
+ normalizer: l
299
+ } = e;
300
+ if (!l)
301
+ return ze({
302
+ trim: t,
303
+ collapseWhitespace: n
66
304
  });
305
+ if (typeof t < "u" || typeof n < "u")
306
+ throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');
307
+ return l;
308
+ }
309
+ function Ve(e, t) {
310
+ const n = e.test(t);
311
+ return e.global && e.lastIndex !== 0 && (console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."), e.lastIndex = 0), n;
312
+ }
313
+ function X(e) {
314
+ return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((t) => t.nodeType === Le && !!t.textContent).map((t) => t.textContent).join("");
315
+ }
316
+ const xt = Bt(tt);
317
+ function Ue(e) {
318
+ return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
319
+ }
320
+ function pe(e, t) {
321
+ t === void 0 && (t = {});
322
+ const {
323
+ isSubtreeInaccessible: n = Ue
324
+ } = t;
325
+ if (e.ownerDocument.defaultView.getComputedStyle(e).visibility === "hidden")
326
+ return !0;
327
+ let r = e;
328
+ for (; r; ) {
329
+ if (n(r))
330
+ return !0;
331
+ r = r.parentElement;
332
+ }
333
+ return !1;
334
+ }
335
+ function ye(e) {
336
+ for (const {
337
+ match: t,
338
+ roles: n
339
+ } of xt)
340
+ if (t(e))
341
+ return [...n];
342
+ return [];
343
+ }
344
+ function Bt(e) {
345
+ function t(i) {
346
+ let {
347
+ name: a,
348
+ attributes: u
349
+ } = i;
350
+ return "" + a + u.map((s) => {
351
+ let {
352
+ name: c,
353
+ value: f,
354
+ constraints: d = []
355
+ } = s;
356
+ const E = d.indexOf("undefined") !== -1, g = d.indexOf("set") !== -1;
357
+ return typeof f < "u" ? "[" + c + '="' + f + '"]' : E ? ":not([" + c + "])" : g ? "[" + c + "]:not([" + c + '=""])' : "[" + c + "]";
358
+ }).join("");
359
+ }
360
+ function n(i) {
361
+ let {
362
+ attributes: a = []
363
+ } = i;
364
+ return a.length;
365
+ }
366
+ function l(i, a) {
367
+ let {
368
+ specificity: u
369
+ } = i, {
370
+ specificity: s
371
+ } = a;
372
+ return s - u;
373
+ }
374
+ function r(i) {
375
+ let {
376
+ attributes: a = []
377
+ } = i;
378
+ const u = a.findIndex((c) => c.value && c.name === "type" && c.value === "text");
379
+ u >= 0 && (a = [...a.slice(0, u), ...a.slice(u + 1)]);
380
+ const s = t({
381
+ ...i,
382
+ attributes: a
383
+ });
384
+ return (c) => u >= 0 && c.type !== "text" ? !1 : c.matches(s);
385
+ }
386
+ let o = [];
387
+ for (const [i, a] of e.entries())
388
+ o = [...o, {
389
+ match: r(i),
390
+ roles: Array.from(a),
391
+ specificity: n(i)
392
+ }];
393
+ return o.sort(l);
394
+ }
395
+ function St(e, t) {
396
+ let {
397
+ hidden: n = !1
398
+ } = t === void 0 ? {} : t;
399
+ function l(r) {
400
+ return [r, ...Array.from(r.children).reduce((o, i) => [...o, ...l(i)], [])];
401
+ }
402
+ return l(e).filter((r) => n === !1 ? pe(r) === !1 : !0).reduce((r, o) => {
403
+ let i = [];
404
+ return o.hasAttribute("role") ? i = o.getAttribute("role").split(" ").slice(0, 1) : i = ye(o), i.reduce((a, u) => Array.isArray(a[u]) ? {
405
+ ...a,
406
+ [u]: [...a[u], o]
407
+ } : {
408
+ ...a,
409
+ [u]: [o]
410
+ }, r);
411
+ }, {});
412
+ }
413
+ function Ct(e, t) {
414
+ let {
415
+ hidden: n,
416
+ includeDescription: l
417
+ } = t;
418
+ const r = St(e, {
419
+ hidden: n
67
420
  });
68
- }, ee = (e, r) => {
69
- let t = e;
70
- return r.split(O).forEach((o) => {
71
- t.nextPart.has(o) || t.nextPart.set(o, {
72
- nextPart: /* @__PURE__ */ new Map(),
73
- validators: []
74
- }), t = t.nextPart.get(o);
75
- }), t;
76
- }, ce = (e) => e.isThemeGetter, de = (e, r) => r ? e.map(([t, o]) => {
77
- const a = o.map((s) => typeof s == "string" ? r + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([l, n]) => [r + l, n])) : s);
78
- return [t, a];
79
- }) : e, pe = (e) => {
80
- if (e < 1)
81
- return {
82
- get: () => {
83
- },
84
- set: () => {
421
+ return Object.entries(r).filter((o) => {
422
+ let [i] = o;
423
+ return i !== "generic";
424
+ }).map((o) => {
425
+ let [i, a] = o;
426
+ const u = "-".repeat(50), s = a.map((c) => {
427
+ const f = 'Name "' + ce(c, {
428
+ computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
429
+ }) + `":
430
+ `, d = H(c.cloneNode(!1));
431
+ if (l) {
432
+ const E = 'Description "' + Se(c, {
433
+ computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
434
+ }) + `":
435
+ `;
436
+ return "" + f + E + d;
85
437
  }
86
- };
87
- let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
88
- const a = (s, l) => {
89
- t.set(s, l), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
438
+ return "" + f + d;
439
+ }).join(`
440
+
441
+ `);
442
+ return i + `:
443
+
444
+ ` + s + `
445
+
446
+ ` + u;
447
+ }).join(`
448
+ `);
449
+ }
450
+ function Dt(e) {
451
+ return e.tagName === "OPTION" ? e.selected : z(e, "aria-selected");
452
+ }
453
+ function qt(e) {
454
+ return e.getAttribute("aria-busy") === "true";
455
+ }
456
+ function Mt(e) {
457
+ if (!("indeterminate" in e && e.indeterminate))
458
+ return "checked" in e ? e.checked : z(e, "aria-checked");
459
+ }
460
+ function Ot(e) {
461
+ return z(e, "aria-pressed");
462
+ }
463
+ function Pt(e) {
464
+ var t, n;
465
+ return (t = (n = z(e, "aria-current")) != null ? n : e.getAttribute("aria-current")) != null ? t : !1;
466
+ }
467
+ function Nt(e) {
468
+ return z(e, "aria-expanded");
469
+ }
470
+ function z(e, t) {
471
+ const n = e.getAttribute(t);
472
+ if (n === "true")
473
+ return !0;
474
+ if (n === "false")
475
+ return !1;
476
+ }
477
+ function Lt(e) {
478
+ const t = {
479
+ H1: 1,
480
+ H2: 2,
481
+ H3: 3,
482
+ H4: 4,
483
+ H5: 5,
484
+ H6: 6
90
485
  };
486
+ return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || t[e.tagName];
487
+ }
488
+ function kt(e) {
489
+ const t = e.getAttribute("aria-valuenow");
490
+ return t === null ? void 0 : +t;
491
+ }
492
+ function Ft(e) {
493
+ const t = e.getAttribute("aria-valuemax");
494
+ return t === null ? void 0 : +t;
495
+ }
496
+ function Rt(e) {
497
+ const t = e.getAttribute("aria-valuemin");
498
+ return t === null ? void 0 : +t;
499
+ }
500
+ function jt(e) {
501
+ const t = e.getAttribute("aria-valuetext");
502
+ return t === null ? void 0 : t;
503
+ }
504
+ const Ae = ze();
505
+ function Wt(e) {
506
+ return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
507
+ }
508
+ function we(e) {
509
+ return new RegExp(Wt(e.toLowerCase()), "i");
510
+ }
511
+ function C(e, t, n, l) {
512
+ let {
513
+ variant: r,
514
+ name: o
515
+ } = l, i = "";
516
+ const a = {}, u = [["Role", "TestId"].includes(e) ? n : we(n)];
517
+ o && (a.name = we(o)), e === "Role" && pe(t) && (a.hidden = !0, i = `Element is inaccessible. This means that the element and all its children are invisible to screen readers.
518
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
519
+ `), Object.keys(a).length > 0 && u.push(a);
520
+ const s = r + "By" + e;
91
521
  return {
92
- get(s) {
93
- let l = t.get(s);
94
- if (l !== void 0)
95
- return l;
96
- if ((l = o.get(s)) !== void 0)
97
- return a(s, l), l;
98
- },
99
- set(s, l) {
100
- t.has(s) ? t.set(s, l) : a(s, l);
522
+ queryName: e,
523
+ queryMethod: s,
524
+ queryArgs: u,
525
+ variant: r,
526
+ warning: i,
527
+ toString() {
528
+ i && console.warn(i);
529
+ let [c, f] = u;
530
+ return c = typeof c == "string" ? "'" + c + "'" : c, f = f ? ", { " + Object.entries(f).map((d) => {
531
+ let [E, g] = d;
532
+ return E + ": " + g;
533
+ }).join(", ") + " }" : "", s + "(" + c + f + ")";
101
534
  }
102
535
  };
103
- }, te = "!", ue = (e) => {
104
- const {
105
- separator: r,
106
- experimentalParseClassName: t
107
- } = e, o = r.length === 1, a = r[0], s = r.length, l = (n) => {
108
- const u = [];
109
- let g = 0, m = 0, y;
110
- for (let p = 0; p < n.length; p++) {
111
- let f = n[p];
112
- if (g === 0) {
113
- if (f === a && (o || n.slice(p, p + s) === r)) {
114
- u.push(n.slice(m, p)), m = p + s;
115
- continue;
116
- }
117
- if (f === "/") {
118
- y = p;
119
- continue;
536
+ }
537
+ function D(e, t, n) {
538
+ return n && !0;
539
+ }
540
+ function te(e, t, n) {
541
+ var l, r;
542
+ if (t === void 0 && (t = "get"), e.matches(y().defaultIgnore))
543
+ return;
544
+ const o = (l = e.getAttribute("role")) != null ? l : (r = ye(e)) == null ? void 0 : r[0];
545
+ if (o !== "generic" && D("Role", n, o))
546
+ return C("Role", e, o, {
547
+ variant: t,
548
+ name: ce(e, {
549
+ computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
550
+ })
551
+ });
552
+ const i = je(document, e).map((d) => d.content).join(" ");
553
+ if (D("LabelText", n, i))
554
+ return C("LabelText", e, i, {
555
+ variant: t
556
+ });
557
+ const a = e.getAttribute("placeholder");
558
+ if (D("PlaceholderText", n, a))
559
+ return C("PlaceholderText", e, a, {
560
+ variant: t
561
+ });
562
+ const u = Ae(X(e));
563
+ if (D("Text", n, u))
564
+ return C("Text", e, u, {
565
+ variant: t
566
+ });
567
+ if (D("DisplayValue", n, e.value))
568
+ return C("DisplayValue", e, Ae(e.value), {
569
+ variant: t
570
+ });
571
+ const s = e.getAttribute("alt");
572
+ if (D("AltText", n, s))
573
+ return C("AltText", e, s, {
574
+ variant: t
575
+ });
576
+ const c = e.getAttribute("title");
577
+ if (D("Title", n, c))
578
+ return C("Title", e, c, {
579
+ variant: t
580
+ });
581
+ const f = e.getAttribute(y().testIdAttribute);
582
+ if (D("TestId", n, f))
583
+ return C("TestId", e, f, {
584
+ variant: t
585
+ });
586
+ }
587
+ function U(e, t) {
588
+ e.stack = t.stack.replace(t.message, e.message);
589
+ }
590
+ function zt(e, t) {
591
+ let {
592
+ container: n = be(),
593
+ timeout: l = y().asyncUtilTimeout,
594
+ showOriginalStackTrace: r = y().showOriginalStackTrace,
595
+ stackTraceError: o,
596
+ interval: i = 50,
597
+ onTimeout: a = (s) => (Object.defineProperty(s, "message", {
598
+ value: y().getElementError(s.message, n).message
599
+ }), s),
600
+ mutationObserverOptions: u = {
601
+ subtree: !0,
602
+ childList: !0,
603
+ attributes: !0,
604
+ characterData: !0
605
+ }
606
+ } = t;
607
+ if (typeof e != "function")
608
+ throw new TypeError("Received `callback` arg must be a function");
609
+ return new Promise(async (s, c) => {
610
+ let f, d, E, g = !1, b = "idle";
611
+ const h = setTimeout(V, l), v = Z();
612
+ if (v) {
613
+ const {
614
+ unstable_advanceTimersWrapper: m
615
+ } = y();
616
+ for (q(); !g; ) {
617
+ if (!Z()) {
618
+ const T = new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
619
+ r || U(T, o), c(T);
620
+ return;
120
621
  }
622
+ if (await m(async () => {
623
+ jest.advanceTimersByTime(i);
624
+ }), g)
625
+ break;
626
+ q();
627
+ }
628
+ } else {
629
+ try {
630
+ S(n);
631
+ } catch (T) {
632
+ c(T);
633
+ return;
121
634
  }
122
- f === "[" ? g++ : f === "]" && g--;
635
+ d = setInterval(j, i);
636
+ const {
637
+ MutationObserver: m
638
+ } = ke(n);
639
+ E = new m(j), E.observe(n, u), q();
123
640
  }
124
- const x = u.length === 0 ? n : n.substring(m), v = x.startsWith(te), w = v ? x.substring(1) : x, b = y && y > m ? y - m : void 0;
125
- return {
126
- modifiers: u,
127
- hasImportantModifier: v,
128
- baseClassName: w,
129
- maybePostfixModifierPosition: b
130
- };
641
+ function x(m, T) {
642
+ g = !0, clearTimeout(h), v || (clearInterval(d), E.disconnect()), m ? c(m) : s(T);
643
+ }
644
+ function j() {
645
+ if (Z()) {
646
+ const m = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
647
+ return r || U(m, o), c(m);
648
+ } else
649
+ return q();
650
+ }
651
+ function q() {
652
+ if (b !== "pending")
653
+ try {
654
+ const m = At(e);
655
+ typeof (m == null ? void 0 : m.then) == "function" ? (b = "pending", m.then((T) => {
656
+ b = "resolved", x(null, T);
657
+ }, (T) => {
658
+ b = "rejected", f = T;
659
+ })) : x(null, m);
660
+ } catch (m) {
661
+ f = m;
662
+ }
663
+ }
664
+ function V() {
665
+ let m;
666
+ f ? (m = f, !r && m.name === "TestingLibraryElementError" && U(m, o)) : (m = new Error("Timed out in waitFor."), r || U(m, o)), x(a(m), null);
667
+ }
668
+ });
669
+ }
670
+ function Vt(e, t) {
671
+ const n = new Error("STACK_TRACE_MESSAGE");
672
+ return y().asyncWrapper(() => zt(e, {
673
+ stackTraceError: n,
674
+ ...t
675
+ }));
676
+ }
677
+ function He(e, t) {
678
+ return y().getElementError(e, t);
679
+ }
680
+ function Ut(e, t) {
681
+ return He(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", t);
682
+ }
683
+ function J(e, t, n, l) {
684
+ let {
685
+ exact: r = !0,
686
+ collapseWhitespace: o,
687
+ trim: i,
688
+ normalizer: a
689
+ } = l === void 0 ? {} : l;
690
+ const u = r ? B : R, s = N({
691
+ collapseWhitespace: o,
692
+ trim: i,
693
+ normalizer: a
694
+ });
695
+ return Array.from(t.querySelectorAll("[" + e + "]")).filter((c) => u(c.getAttribute(e), c, n, s));
696
+ }
697
+ function $(e, t) {
698
+ return function(n) {
699
+ for (var l = arguments.length, r = new Array(l > 1 ? l - 1 : 0), o = 1; o < l; o++)
700
+ r[o - 1] = arguments[o];
701
+ const i = e(n, ...r);
702
+ if (i.length > 1) {
703
+ const a = i.map((u) => He(null, u).message).join(`
704
+
705
+ `);
706
+ throw Ut(t(n, ...r) + `
707
+
708
+ Here are the matching elements:
709
+
710
+ ` + a, n);
711
+ }
712
+ return i[0] || null;
131
713
  };
132
- return t ? (n) => t({
133
- className: n,
134
- parseClassName: l
135
- }) : l;
136
- }, be = (e) => {
137
- if (e.length <= 1)
138
- return e;
139
- const r = [];
140
- let t = [];
141
- return e.forEach((o) => {
142
- o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
143
- }), r.push(...t.sort()), r;
144
- }, ge = (e) => ({
145
- cache: pe(e.cacheSize),
146
- parseClassName: ue(e),
147
- ...le(e)
148
- }), fe = /\s+/, me = (e, r) => {
149
- const {
150
- parseClassName: t,
151
- getClassGroupId: o,
152
- getConflictingClassGroupIds: a
153
- } = r, s = [], l = e.trim().split(fe);
154
- let n = "";
155
- for (let u = l.length - 1; u >= 0; u -= 1) {
156
- const g = l[u], {
157
- modifiers: m,
158
- hasImportantModifier: y,
159
- baseClassName: x,
160
- maybePostfixModifierPosition: v
161
- } = t(g);
162
- let w = !!v, b = o(w ? x.substring(0, v) : x);
163
- if (!b) {
164
- if (!w) {
165
- n = g + (n.length > 0 ? " " + n : n);
166
- continue;
167
- }
168
- if (b = o(x), !b) {
169
- n = g + (n.length > 0 ? " " + n : n);
170
- continue;
171
- }
172
- w = !1;
173
- }
174
- const p = be(m).join(":"), f = y ? p + te : p, h = f + b;
175
- if (s.includes(h))
176
- continue;
177
- s.push(h);
178
- const P = a(b, w);
179
- for (let A = 0; A < P.length; ++A) {
180
- const E = P[A];
181
- s.push(f + E);
182
- }
183
- n = g + (n.length > 0 ? " " + n : n);
714
+ }
715
+ function $e(e, t) {
716
+ return y().getElementError(`A better query is available, try this:
717
+ ` + e.toString() + `
718
+ `, t);
719
+ }
720
+ function Ht(e, t) {
721
+ return function(n) {
722
+ for (var l = arguments.length, r = new Array(l > 1 ? l - 1 : 0), o = 1; o < l; o++)
723
+ r[o - 1] = arguments[o];
724
+ const i = e(n, ...r);
725
+ if (!i.length)
726
+ throw y().getElementError(t(n, ...r), n);
727
+ return i;
728
+ };
729
+ }
730
+ function G(e) {
731
+ return (t, n, l, r) => Vt(() => e(t, n, l), {
732
+ container: t,
733
+ ...r
734
+ });
735
+ }
736
+ const F = (e, t, n) => function(l) {
737
+ for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
738
+ o[i - 1] = arguments[i];
739
+ const a = e(l, ...o), [{
740
+ suggest: u = y().throwSuggestions
741
+ } = {}] = o.slice(-1);
742
+ if (a && u) {
743
+ const s = te(a, n);
744
+ if (s && !t.endsWith(s.queryName))
745
+ throw $e(s.toString(), l);
184
746
  }
185
- return n;
747
+ return a;
748
+ }, A = (e, t, n) => function(l) {
749
+ for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
750
+ o[i - 1] = arguments[i];
751
+ const a = e(l, ...o), [{
752
+ suggest: u = y().throwSuggestions
753
+ } = {}] = o.slice(-1);
754
+ if (a.length && u) {
755
+ const s = [...new Set(a.map((c) => {
756
+ var f;
757
+ return (f = te(c, n)) == null ? void 0 : f.toString();
758
+ }))];
759
+ if (
760
+ // only want to suggest if all the els have the same suggestion.
761
+ s.length === 1 && !t.endsWith(
762
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: Can this be null at runtime?
763
+ te(a[0], n).queryName
764
+ )
765
+ )
766
+ throw $e(s[0], l);
767
+ }
768
+ return a;
186
769
  };
187
- function he() {
188
- let e = 0, r, t, o = "";
189
- for (; e < arguments.length; )
190
- (r = arguments[e++]) && (t = oe(r)) && (o && (o += " "), o += t);
191
- return o;
770
+ function L(e, t, n) {
771
+ const l = F($(e, t), e.name, "query"), r = Ht(e, n), o = $(r, t), i = F(o, e.name, "get"), a = A(r, e.name.replace("query", "get"), "getAll"), u = G(A(r, e.name, "findAll")), s = G(F(o, e.name, "find"));
772
+ return [l, a, i, u, s];
192
773
  }
193
- const oe = (e) => {
194
- if (typeof e == "string")
195
- return e;
196
- let r, t = "";
197
- for (let o = 0; o < e.length; o++)
198
- e[o] && (r = oe(e[o])) && (t && (t += " "), t += r);
199
- return t;
774
+ function $t(e) {
775
+ return Array.from(e.querySelectorAll("label,input")).map((t) => ({
776
+ node: t,
777
+ textToMatch: ee(t)
778
+ })).filter((t) => {
779
+ let {
780
+ textToMatch: n
781
+ } = t;
782
+ return n !== null;
783
+ });
784
+ }
785
+ const Gt = function(e, t, n) {
786
+ let {
787
+ exact: l = !0,
788
+ trim: r,
789
+ collapseWhitespace: o,
790
+ normalizer: i
791
+ } = n === void 0 ? {} : n;
792
+ const a = l ? B : R, u = N({
793
+ collapseWhitespace: o,
794
+ trim: r,
795
+ normalizer: i
796
+ });
797
+ return $t(e).filter((c) => {
798
+ let {
799
+ node: f,
800
+ textToMatch: d
801
+ } = c;
802
+ return a(d, f, t, u);
803
+ }).map((c) => {
804
+ let {
805
+ node: f
806
+ } = c;
807
+ return f;
808
+ });
809
+ }, W = function(e, t, n) {
810
+ let {
811
+ selector: l = "*",
812
+ exact: r = !0,
813
+ collapseWhitespace: o,
814
+ trim: i,
815
+ normalizer: a
816
+ } = n === void 0 ? {} : n;
817
+ S(e);
818
+ const u = r ? B : R, s = N({
819
+ collapseWhitespace: o,
820
+ trim: i,
821
+ normalizer: a
822
+ }), c = Array.from(e.querySelectorAll("*")).filter((f) => Re(f).length || f.hasAttribute("aria-labelledby")).reduce((f, d) => {
823
+ const E = je(e, d, {
824
+ selector: l
825
+ });
826
+ E.filter((b) => !!b.formControl).forEach((b) => {
827
+ u(b.content, b.formControl, t, s) && b.formControl && f.push(b.formControl);
828
+ });
829
+ const g = E.filter((b) => !!b.content).map((b) => b.content);
830
+ return u(g.join(" "), d, t, s) && f.push(d), g.length > 1 && g.forEach((b, h) => {
831
+ u(b, d, t, s) && f.push(d);
832
+ const v = [...g];
833
+ v.splice(h, 1), v.length > 1 && u(v.join(" "), d, t, s) && f.push(d);
834
+ }), f;
835
+ }, []).concat(J("aria-label", e, t, {
836
+ exact: r,
837
+ normalizer: s
838
+ }));
839
+ return Array.from(new Set(c)).filter((f) => f.matches(l));
840
+ }, P = function(e, t) {
841
+ for (var n = arguments.length, l = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
842
+ l[r - 2] = arguments[r];
843
+ const o = W(e, t, ...l);
844
+ if (!o.length) {
845
+ const i = Gt(e, t, ...l);
846
+ if (i.length) {
847
+ const a = i.map((u) => Qt(e, u)).filter((u) => !!u);
848
+ throw a.length ? y().getElementError(a.map((u) => "Found a label with the text of: " + t + ", however the element associated with this label (<" + u + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + u + " />, you can use aria-label or aria-labelledby instead.").join(`
849
+
850
+ `), e) : y().getElementError("Found a label with the text of: " + t + `, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`, e);
851
+ } else
852
+ throw y().getElementError("Unable to find a label with the text of: " + t, e);
853
+ }
854
+ return o;
200
855
  };
201
- function F(e, ...r) {
202
- let t, o, a, s = l;
203
- function l(u) {
204
- const g = r.reduce((m, y) => y(m), e());
205
- return t = ge(g), o = t.cache.get, a = t.cache.set, s = n, n(u);
856
+ function Qt(e, t) {
857
+ const n = t.getAttribute("for");
858
+ if (!n)
859
+ return null;
860
+ const l = e.querySelector('[id="' + n + '"]');
861
+ return l ? l.tagName.toLowerCase() : null;
862
+ }
863
+ const Ge = (e, t) => "Found multiple elements with the text of: " + t, Xt = F($(W, Ge), W.name, "query"), Qe = $(P, Ge), Jt = G(A(P, P.name, "findAll")), Kt = G(F(Qe, P.name, "find")), Yt = A(P, P.name, "getAll"), Zt = F(Qe, P.name, "get"), _t = A(W, W.name, "queryAll"), ne = function() {
864
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
865
+ t[n] = arguments[n];
866
+ return S(t[0]), J("placeholder", ...t);
867
+ }, en = (e, t) => "Found multiple elements with the placeholder text of: " + t, tn = (e, t) => "Unable to find an element with the placeholder text of: " + t, nn = A(ne, ne.name, "queryAll"), [rn, ln, on, an, un] = L(ne, en, tn), re = function(e, t, n) {
868
+ let {
869
+ selector: l = "*",
870
+ exact: r = !0,
871
+ collapseWhitespace: o,
872
+ trim: i,
873
+ ignore: a = y().defaultIgnore,
874
+ normalizer: u
875
+ } = n === void 0 ? {} : n;
876
+ S(e);
877
+ const s = r ? B : R, c = N({
878
+ collapseWhitespace: o,
879
+ trim: i,
880
+ normalizer: u
881
+ });
882
+ let f = [];
883
+ return typeof e.matches == "function" && e.matches(l) && (f = [e]), [...f, ...Array.from(e.querySelectorAll(l))].filter((d) => !a || !d.matches(a)).filter((d) => s(X(d), d, t, c));
884
+ }, sn = (e, t) => "Found multiple elements with the text: " + t, cn = function(e, t, n) {
885
+ n === void 0 && (n = {});
886
+ const {
887
+ collapseWhitespace: l,
888
+ trim: r,
889
+ normalizer: o,
890
+ selector: i
891
+ } = n, u = N({
892
+ collapseWhitespace: l,
893
+ trim: r,
894
+ normalizer: o
895
+ })(t.toString()), s = u !== t.toString(), c = (i ?? "*") !== "*";
896
+ return "Unable to find an element with the text: " + (s ? u + " (normalized from '" + t + "')" : t) + (c ? ", which matches selector '" + i + "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.";
897
+ }, fn = A(re, re.name, "queryAll"), [dn, bn, pn, yn, mn] = L(re, sn, cn), le = function(e, t, n) {
898
+ let {
899
+ exact: l = !0,
900
+ collapseWhitespace: r,
901
+ trim: o,
902
+ normalizer: i
903
+ } = n === void 0 ? {} : n;
904
+ S(e);
905
+ const a = l ? B : R, u = N({
906
+ collapseWhitespace: r,
907
+ trim: o,
908
+ normalizer: i
909
+ });
910
+ return Array.from(e.querySelectorAll("input,textarea,select")).filter((s) => s.tagName === "SELECT" ? Array.from(s.options).filter((f) => f.selected).some((f) => a(X(f), f, t, u)) : a(s.value, s, t, u));
911
+ }, gn = (e, t) => "Found multiple elements with the display value: " + t + ".", En = (e, t) => "Unable to find an element with the display value: " + t + ".", vn = A(le, le.name, "queryAll"), [hn, Tn, An, wn, In] = L(le, gn, En), xn = /^(img|input|area|.+-.+)$/i, oe = function(e, t, n) {
912
+ return n === void 0 && (n = {}), S(e), J("alt", e, t, n).filter((l) => xn.test(l.tagName));
913
+ }, Bn = (e, t) => "Found multiple elements with the alt text: " + t, Sn = (e, t) => "Unable to find an element with the alt text: " + t, Cn = A(oe, oe.name, "queryAll"), [Dn, qn, Mn, On, Pn] = L(oe, Bn, Sn), Nn = (e) => {
914
+ var t;
915
+ return e.tagName.toLowerCase() === "title" && ((t = e.parentElement) == null ? void 0 : t.tagName.toLowerCase()) === "svg";
916
+ }, ie = function(e, t, n) {
917
+ let {
918
+ exact: l = !0,
919
+ collapseWhitespace: r,
920
+ trim: o,
921
+ normalizer: i
922
+ } = n === void 0 ? {} : n;
923
+ S(e);
924
+ const a = l ? B : R, u = N({
925
+ collapseWhitespace: r,
926
+ trim: o,
927
+ normalizer: i
928
+ });
929
+ return Array.from(e.querySelectorAll("[title], svg > title")).filter((s) => a(s.getAttribute("title"), s, t, u) || Nn(s) && a(X(s), s, t, u));
930
+ }, Ln = (e, t) => "Found multiple elements with the title: " + t + ".", kn = (e, t) => "Unable to find an element with the title: " + t + ".", Fn = A(ie, ie.name, "queryAll"), [Rn, jn, Wn, zn, Vn] = L(ie, Ln, kn), ae = function(e, t, n) {
931
+ let {
932
+ hidden: l = y().defaultHidden,
933
+ name: r,
934
+ description: o,
935
+ queryFallbacks: i = !1,
936
+ selected: a,
937
+ busy: u,
938
+ checked: s,
939
+ pressed: c,
940
+ current: f,
941
+ level: d,
942
+ expanded: E,
943
+ value: {
944
+ now: g,
945
+ min: b,
946
+ max: h,
947
+ text: v
948
+ } = {}
949
+ } = n === void 0 ? {} : n;
950
+ if (S(e), a !== void 0) {
951
+ var x;
952
+ if (((x = I.get(t)) == null ? void 0 : x.props["aria-selected"]) === void 0)
953
+ throw new Error('"aria-selected" is not supported on role "' + t + '".');
206
954
  }
207
- function n(u) {
208
- const g = o(u);
209
- if (g)
210
- return g;
211
- const m = me(u, t);
212
- return a(u, m), m;
955
+ if (u !== void 0) {
956
+ var j;
957
+ if (((j = I.get(t)) == null ? void 0 : j.props["aria-busy"]) === void 0)
958
+ throw new Error('"aria-busy" is not supported on role "' + t + '".');
213
959
  }
214
- return function() {
215
- return s(he.apply(null, arguments));
216
- };
960
+ if (s !== void 0) {
961
+ var q;
962
+ if (((q = I.get(t)) == null ? void 0 : q.props["aria-checked"]) === void 0)
963
+ throw new Error('"aria-checked" is not supported on role "' + t + '".');
964
+ }
965
+ if (c !== void 0) {
966
+ var V;
967
+ if (((V = I.get(t)) == null ? void 0 : V.props["aria-pressed"]) === void 0)
968
+ throw new Error('"aria-pressed" is not supported on role "' + t + '".');
969
+ }
970
+ if (f !== void 0) {
971
+ var m;
972
+ if (((m = I.get(t)) == null ? void 0 : m.props["aria-current"]) === void 0)
973
+ throw new Error('"aria-current" is not supported on role "' + t + '".');
974
+ }
975
+ if (d !== void 0 && t !== "heading")
976
+ throw new Error('Role "' + t + '" cannot have "level" property.');
977
+ if (g !== void 0) {
978
+ var T;
979
+ if (((T = I.get(t)) == null ? void 0 : T.props["aria-valuenow"]) === void 0)
980
+ throw new Error('"aria-valuenow" is not supported on role "' + t + '".');
981
+ }
982
+ if (h !== void 0) {
983
+ var ge;
984
+ if (((ge = I.get(t)) == null ? void 0 : ge.props["aria-valuemax"]) === void 0)
985
+ throw new Error('"aria-valuemax" is not supported on role "' + t + '".');
986
+ }
987
+ if (b !== void 0) {
988
+ var Ee;
989
+ if (((Ee = I.get(t)) == null ? void 0 : Ee.props["aria-valuemin"]) === void 0)
990
+ throw new Error('"aria-valuemin" is not supported on role "' + t + '".');
991
+ }
992
+ if (v !== void 0) {
993
+ var ve;
994
+ if (((ve = I.get(t)) == null ? void 0 : ve.props["aria-valuetext"]) === void 0)
995
+ throw new Error('"aria-valuetext" is not supported on role "' + t + '".');
996
+ }
997
+ if (E !== void 0) {
998
+ var he;
999
+ if (((he = I.get(t)) == null ? void 0 : he.props["aria-expanded"]) === void 0)
1000
+ throw new Error('"aria-expanded" is not supported on role "' + t + '".');
1001
+ }
1002
+ const K = /* @__PURE__ */ new WeakMap();
1003
+ function Je(p) {
1004
+ return K.has(p) || K.set(p, Ue(p)), K.get(p);
1005
+ }
1006
+ return Array.from(e.querySelectorAll(
1007
+ // Only query elements that can be matched by the following filters
1008
+ Un(t)
1009
+ )).filter((p) => {
1010
+ if (p.hasAttribute("role")) {
1011
+ const k = p.getAttribute("role");
1012
+ if (i)
1013
+ return k.split(" ").filter(Boolean).some((Ye) => Ye === t);
1014
+ const [Ke] = k.split(" ");
1015
+ return Ke === t;
1016
+ }
1017
+ return ye(p).some((k) => k === t);
1018
+ }).filter((p) => {
1019
+ if (a !== void 0)
1020
+ return a === Dt(p);
1021
+ if (u !== void 0)
1022
+ return u === qt(p);
1023
+ if (s !== void 0)
1024
+ return s === Mt(p);
1025
+ if (c !== void 0)
1026
+ return c === Ot(p);
1027
+ if (f !== void 0)
1028
+ return f === Pt(p);
1029
+ if (E !== void 0)
1030
+ return E === Nt(p);
1031
+ if (d !== void 0)
1032
+ return d === Lt(p);
1033
+ if (g !== void 0 || h !== void 0 || b !== void 0 || v !== void 0) {
1034
+ let w = !0;
1035
+ if (g !== void 0 && w && (w = g === kt(p)), h !== void 0 && w && (w = h === Ft(p)), b !== void 0 && w && (w = b === Rt(p)), v !== void 0) {
1036
+ var M;
1037
+ w && (w = B((M = jt(p)) != null ? M : null, p, v, (k) => k));
1038
+ }
1039
+ return w;
1040
+ }
1041
+ return !0;
1042
+ }).filter((p) => r === void 0 ? !0 : B(ce(p, {
1043
+ computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
1044
+ }), p, r, (M) => M)).filter((p) => o === void 0 ? !0 : B(Se(p, {
1045
+ computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
1046
+ }), p, o, (M) => M)).filter((p) => l === !1 ? pe(p, {
1047
+ isSubtreeInaccessible: Je
1048
+ }) === !1 : !0);
1049
+ };
1050
+ function Un(e) {
1051
+ var t;
1052
+ const n = '*[role~="' + e + '"]', l = (t = et.get(e)) != null ? t : /* @__PURE__ */ new Set(), r = new Set(Array.from(l).map((o) => {
1053
+ let {
1054
+ name: i
1055
+ } = o;
1056
+ return i;
1057
+ }));
1058
+ return [n].concat(Array.from(r)).join(",");
217
1059
  }
218
- const c = (e) => {
219
- const r = (t) => t[e] || [];
220
- return r.isThemeGetter = !0, r;
221
- }, ne = /^\[(?:([a-z-]+):)?(.+)\]$/i, ye = /^\d+\/\d+$/, xe = /* @__PURE__ */ new Set(["px", "full", "screen"]), we = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ve = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ke = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ze = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, C = (e) => M(e) || xe.has(e) || ye.test(e), z = (e) => G(e, "length", Ne), M = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => G(e, "number", M), I = (e) => !!e && Number.isInteger(Number(e)), Se = (e) => e.endsWith("%") && M(e.slice(0, -1)), i = (e) => ne.test(e), S = (e) => we.test(e), Ae = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Me = (e) => G(e, Ae, se), Ge = (e) => G(e, "position", se), Pe = /* @__PURE__ */ new Set(["image", "url"]), Re = (e) => G(e, Pe, Ee), Ie = (e) => G(e, "", Te), N = () => !0, G = (e, r, t) => {
222
- const o = ne.exec(e);
223
- return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
224
- }, Ne = (e) => (
225
- // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
226
- // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
227
- // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
228
- ve.test(e) && !ke.test(e)
229
- ), se = () => !1, Te = (e) => Ce.test(e), Ee = (e) => ze.test(e), q = () => {
230
- const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"), a = c("borderColor"), s = c("borderRadius"), l = c("borderSpacing"), n = c("borderWidth"), u = c("contrast"), g = c("grayscale"), m = c("hueRotate"), y = c("invert"), x = c("gap"), v = c("gradientColorStops"), w = c("gradientColorStopPositions"), b = c("inset"), p = c("margin"), f = c("opacity"), h = c("padding"), P = c("saturate"), A = c("scale"), E = c("sepia"), J = c("skew"), K = c("space"), X = c("translate"), W = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], _ = () => ["auto", i, r], d = () => [i, r], Z = () => ["", C, z], L = () => ["auto", M, i], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], j = () => ["solid", "dashed", "dotted", "double", "none"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], R = () => ["", "0", i], Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [M, i];
231
- return {
232
- cacheSize: 500,
233
- separator: ":",
234
- theme: {
235
- colors: [N],
236
- spacing: [C, z],
237
- blur: ["none", "", S, i],
238
- brightness: k(),
239
- borderColor: [e],
240
- borderRadius: ["none", "", "full", S, i],
241
- borderSpacing: d(),
242
- borderWidth: Z(),
243
- contrast: k(),
244
- grayscale: R(),
245
- hueRotate: k(),
246
- invert: R(),
247
- gap: d(),
248
- gradientColorStops: [e],
249
- gradientColorStopPositions: [Se, z],
250
- inset: _(),
251
- margin: _(),
252
- opacity: k(),
253
- padding: d(),
254
- saturate: k(),
255
- scale: k(),
256
- sepia: R(),
257
- skew: k(),
258
- space: d(),
259
- translate: d()
260
- },
261
- classGroups: {
262
- // Layout
263
- /**
264
- * Aspect Ratio
265
- * @see https://tailwindcss.com/docs/aspect-ratio
266
- */
267
- aspect: [{
268
- aspect: ["auto", "square", "video", i]
269
- }],
270
- /**
271
- * Container
272
- * @see https://tailwindcss.com/docs/container
273
- */
274
- container: ["container"],
275
- /**
276
- * Columns
277
- * @see https://tailwindcss.com/docs/columns
278
- */
279
- columns: [{
280
- columns: [S]
281
- }],
282
- /**
283
- * Break After
284
- * @see https://tailwindcss.com/docs/break-after
285
- */
286
- "break-after": [{
287
- "break-after": Y()
288
- }],
289
- /**
290
- * Break Before
291
- * @see https://tailwindcss.com/docs/break-before
292
- */
293
- "break-before": [{
294
- "break-before": Y()
295
- }],
296
- /**
297
- * Break Inside
298
- * @see https://tailwindcss.com/docs/break-inside
299
- */
300
- "break-inside": [{
301
- "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
302
- }],
303
- /**
304
- * Box Decoration Break
305
- * @see https://tailwindcss.com/docs/box-decoration-break
306
- */
307
- "box-decoration": [{
308
- "box-decoration": ["slice", "clone"]
309
- }],
310
- /**
311
- * Box Sizing
312
- * @see https://tailwindcss.com/docs/box-sizing
313
- */
314
- box: [{
315
- box: ["border", "content"]
316
- }],
317
- /**
318
- * Display
319
- * @see https://tailwindcss.com/docs/display
320
- */
321
- display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
322
- /**
323
- * Floats
324
- * @see https://tailwindcss.com/docs/float
325
- */
326
- float: [{
327
- float: ["right", "left", "none", "start", "end"]
328
- }],
329
- /**
330
- * Clear
331
- * @see https://tailwindcss.com/docs/clear
332
- */
333
- clear: [{
334
- clear: ["left", "right", "both", "none", "start", "end"]
335
- }],
336
- /**
337
- * Isolation
338
- * @see https://tailwindcss.com/docs/isolation
339
- */
340
- isolation: ["isolate", "isolation-auto"],
341
- /**
342
- * Object Fit
343
- * @see https://tailwindcss.com/docs/object-fit
344
- */
345
- "object-fit": [{
346
- object: ["contain", "cover", "fill", "none", "scale-down"]
347
- }],
348
- /**
349
- * Object Position
350
- * @see https://tailwindcss.com/docs/object-position
351
- */
352
- "object-position": [{
353
- object: [...H(), i]
354
- }],
355
- /**
356
- * Overflow
357
- * @see https://tailwindcss.com/docs/overflow
358
- */
359
- overflow: [{
360
- overflow: V()
361
- }],
362
- /**
363
- * Overflow X
364
- * @see https://tailwindcss.com/docs/overflow
365
- */
366
- "overflow-x": [{
367
- "overflow-x": V()
368
- }],
369
- /**
370
- * Overflow Y
371
- * @see https://tailwindcss.com/docs/overflow
372
- */
373
- "overflow-y": [{
374
- "overflow-y": V()
375
- }],
376
- /**
377
- * Overscroll Behavior
378
- * @see https://tailwindcss.com/docs/overscroll-behavior
379
- */
380
- overscroll: [{
381
- overscroll: W()
382
- }],
383
- /**
384
- * Overscroll Behavior X
385
- * @see https://tailwindcss.com/docs/overscroll-behavior
386
- */
387
- "overscroll-x": [{
388
- "overscroll-x": W()
389
- }],
390
- /**
391
- * Overscroll Behavior Y
392
- * @see https://tailwindcss.com/docs/overscroll-behavior
393
- */
394
- "overscroll-y": [{
395
- "overscroll-y": W()
396
- }],
397
- /**
398
- * Position
399
- * @see https://tailwindcss.com/docs/position
400
- */
401
- position: ["static", "fixed", "absolute", "relative", "sticky"],
402
- /**
403
- * Top / Right / Bottom / Left
404
- * @see https://tailwindcss.com/docs/top-right-bottom-left
405
- */
406
- inset: [{
407
- inset: [b]
408
- }],
409
- /**
410
- * Right / Left
411
- * @see https://tailwindcss.com/docs/top-right-bottom-left
412
- */
413
- "inset-x": [{
414
- "inset-x": [b]
415
- }],
416
- /**
417
- * Top / Bottom
418
- * @see https://tailwindcss.com/docs/top-right-bottom-left
419
- */
420
- "inset-y": [{
421
- "inset-y": [b]
422
- }],
423
- /**
424
- * Start
425
- * @see https://tailwindcss.com/docs/top-right-bottom-left
426
- */
427
- start: [{
428
- start: [b]
429
- }],
430
- /**
431
- * End
432
- * @see https://tailwindcss.com/docs/top-right-bottom-left
433
- */
434
- end: [{
435
- end: [b]
436
- }],
437
- /**
438
- * Top
439
- * @see https://tailwindcss.com/docs/top-right-bottom-left
440
- */
441
- top: [{
442
- top: [b]
443
- }],
444
- /**
445
- * Right
446
- * @see https://tailwindcss.com/docs/top-right-bottom-left
447
- */
448
- right: [{
449
- right: [b]
450
- }],
451
- /**
452
- * Bottom
453
- * @see https://tailwindcss.com/docs/top-right-bottom-left
454
- */
455
- bottom: [{
456
- bottom: [b]
457
- }],
458
- /**
459
- * Left
460
- * @see https://tailwindcss.com/docs/top-right-bottom-left
461
- */
462
- left: [{
463
- left: [b]
464
- }],
465
- /**
466
- * Visibility
467
- * @see https://tailwindcss.com/docs/visibility
468
- */
469
- visibility: ["visible", "invisible", "collapse"],
470
- /**
471
- * Z-Index
472
- * @see https://tailwindcss.com/docs/z-index
473
- */
474
- z: [{
475
- z: ["auto", I, i]
476
- }],
477
- // Flexbox and Grid
478
- /**
479
- * Flex Basis
480
- * @see https://tailwindcss.com/docs/flex-basis
481
- */
482
- basis: [{
483
- basis: _()
484
- }],
485
- /**
486
- * Flex Direction
487
- * @see https://tailwindcss.com/docs/flex-direction
488
- */
489
- "flex-direction": [{
490
- flex: ["row", "row-reverse", "col", "col-reverse"]
491
- }],
492
- /**
493
- * Flex Wrap
494
- * @see https://tailwindcss.com/docs/flex-wrap
495
- */
496
- "flex-wrap": [{
497
- flex: ["wrap", "wrap-reverse", "nowrap"]
498
- }],
499
- /**
500
- * Flex
501
- * @see https://tailwindcss.com/docs/flex
502
- */
503
- flex: [{
504
- flex: ["1", "auto", "initial", "none", i]
505
- }],
506
- /**
507
- * Flex Grow
508
- * @see https://tailwindcss.com/docs/flex-grow
509
- */
510
- grow: [{
511
- grow: R()
512
- }],
513
- /**
514
- * Flex Shrink
515
- * @see https://tailwindcss.com/docs/flex-shrink
516
- */
517
- shrink: [{
518
- shrink: R()
519
- }],
520
- /**
521
- * Order
522
- * @see https://tailwindcss.com/docs/order
523
- */
524
- order: [{
525
- order: ["first", "last", "none", I, i]
526
- }],
527
- /**
528
- * Grid Template Columns
529
- * @see https://tailwindcss.com/docs/grid-template-columns
530
- */
531
- "grid-cols": [{
532
- "grid-cols": [N]
533
- }],
534
- /**
535
- * Grid Column Start / End
536
- * @see https://tailwindcss.com/docs/grid-column
537
- */
538
- "col-start-end": [{
539
- col: ["auto", {
540
- span: ["full", I, i]
541
- }, i]
542
- }],
543
- /**
544
- * Grid Column Start
545
- * @see https://tailwindcss.com/docs/grid-column
546
- */
547
- "col-start": [{
548
- "col-start": L()
549
- }],
550
- /**
551
- * Grid Column End
552
- * @see https://tailwindcss.com/docs/grid-column
553
- */
554
- "col-end": [{
555
- "col-end": L()
556
- }],
557
- /**
558
- * Grid Template Rows
559
- * @see https://tailwindcss.com/docs/grid-template-rows
560
- */
561
- "grid-rows": [{
562
- "grid-rows": [N]
563
- }],
564
- /**
565
- * Grid Row Start / End
566
- * @see https://tailwindcss.com/docs/grid-row
567
- */
568
- "row-start-end": [{
569
- row: ["auto", {
570
- span: [I, i]
571
- }, i]
572
- }],
573
- /**
574
- * Grid Row Start
575
- * @see https://tailwindcss.com/docs/grid-row
576
- */
577
- "row-start": [{
578
- "row-start": L()
579
- }],
580
- /**
581
- * Grid Row End
582
- * @see https://tailwindcss.com/docs/grid-row
583
- */
584
- "row-end": [{
585
- "row-end": L()
586
- }],
587
- /**
588
- * Grid Auto Flow
589
- * @see https://tailwindcss.com/docs/grid-auto-flow
590
- */
591
- "grid-flow": [{
592
- "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
593
- }],
594
- /**
595
- * Grid Auto Columns
596
- * @see https://tailwindcss.com/docs/grid-auto-columns
597
- */
598
- "auto-cols": [{
599
- "auto-cols": ["auto", "min", "max", "fr", i]
600
- }],
601
- /**
602
- * Grid Auto Rows
603
- * @see https://tailwindcss.com/docs/grid-auto-rows
604
- */
605
- "auto-rows": [{
606
- "auto-rows": ["auto", "min", "max", "fr", i]
607
- }],
608
- /**
609
- * Gap
610
- * @see https://tailwindcss.com/docs/gap
611
- */
612
- gap: [{
613
- gap: [x]
614
- }],
615
- /**
616
- * Gap X
617
- * @see https://tailwindcss.com/docs/gap
618
- */
619
- "gap-x": [{
620
- "gap-x": [x]
621
- }],
622
- /**
623
- * Gap Y
624
- * @see https://tailwindcss.com/docs/gap
625
- */
626
- "gap-y": [{
627
- "gap-y": [x]
628
- }],
629
- /**
630
- * Justify Content
631
- * @see https://tailwindcss.com/docs/justify-content
632
- */
633
- "justify-content": [{
634
- justify: ["normal", ...$()]
635
- }],
636
- /**
637
- * Justify Items
638
- * @see https://tailwindcss.com/docs/justify-items
639
- */
640
- "justify-items": [{
641
- "justify-items": ["start", "end", "center", "stretch"]
642
- }],
643
- /**
644
- * Justify Self
645
- * @see https://tailwindcss.com/docs/justify-self
646
- */
647
- "justify-self": [{
648
- "justify-self": ["auto", "start", "end", "center", "stretch"]
649
- }],
650
- /**
651
- * Align Content
652
- * @see https://tailwindcss.com/docs/align-content
653
- */
654
- "align-content": [{
655
- content: ["normal", ...$(), "baseline"]
656
- }],
657
- /**
658
- * Align Items
659
- * @see https://tailwindcss.com/docs/align-items
660
- */
661
- "align-items": [{
662
- items: ["start", "end", "center", "baseline", "stretch"]
663
- }],
664
- /**
665
- * Align Self
666
- * @see https://tailwindcss.com/docs/align-self
667
- */
668
- "align-self": [{
669
- self: ["auto", "start", "end", "center", "stretch", "baseline"]
670
- }],
671
- /**
672
- * Place Content
673
- * @see https://tailwindcss.com/docs/place-content
674
- */
675
- "place-content": [{
676
- "place-content": [...$(), "baseline"]
677
- }],
678
- /**
679
- * Place Items
680
- * @see https://tailwindcss.com/docs/place-items
681
- */
682
- "place-items": [{
683
- "place-items": ["start", "end", "center", "baseline", "stretch"]
684
- }],
685
- /**
686
- * Place Self
687
- * @see https://tailwindcss.com/docs/place-self
688
- */
689
- "place-self": [{
690
- "place-self": ["auto", "start", "end", "center", "stretch"]
691
- }],
692
- // Spacing
693
- /**
694
- * Padding
695
- * @see https://tailwindcss.com/docs/padding
696
- */
697
- p: [{
698
- p: [h]
699
- }],
700
- /**
701
- * Padding X
702
- * @see https://tailwindcss.com/docs/padding
703
- */
704
- px: [{
705
- px: [h]
706
- }],
707
- /**
708
- * Padding Y
709
- * @see https://tailwindcss.com/docs/padding
710
- */
711
- py: [{
712
- py: [h]
713
- }],
714
- /**
715
- * Padding Start
716
- * @see https://tailwindcss.com/docs/padding
717
- */
718
- ps: [{
719
- ps: [h]
720
- }],
721
- /**
722
- * Padding End
723
- * @see https://tailwindcss.com/docs/padding
724
- */
725
- pe: [{
726
- pe: [h]
727
- }],
728
- /**
729
- * Padding Top
730
- * @see https://tailwindcss.com/docs/padding
731
- */
732
- pt: [{
733
- pt: [h]
734
- }],
735
- /**
736
- * Padding Right
737
- * @see https://tailwindcss.com/docs/padding
738
- */
739
- pr: [{
740
- pr: [h]
741
- }],
742
- /**
743
- * Padding Bottom
744
- * @see https://tailwindcss.com/docs/padding
745
- */
746
- pb: [{
747
- pb: [h]
748
- }],
749
- /**
750
- * Padding Left
751
- * @see https://tailwindcss.com/docs/padding
752
- */
753
- pl: [{
754
- pl: [h]
755
- }],
756
- /**
757
- * Margin
758
- * @see https://tailwindcss.com/docs/margin
759
- */
760
- m: [{
761
- m: [p]
762
- }],
763
- /**
764
- * Margin X
765
- * @see https://tailwindcss.com/docs/margin
766
- */
767
- mx: [{
768
- mx: [p]
769
- }],
770
- /**
771
- * Margin Y
772
- * @see https://tailwindcss.com/docs/margin
773
- */
774
- my: [{
775
- my: [p]
776
- }],
777
- /**
778
- * Margin Start
779
- * @see https://tailwindcss.com/docs/margin
780
- */
781
- ms: [{
782
- ms: [p]
783
- }],
784
- /**
785
- * Margin End
786
- * @see https://tailwindcss.com/docs/margin
787
- */
788
- me: [{
789
- me: [p]
790
- }],
791
- /**
792
- * Margin Top
793
- * @see https://tailwindcss.com/docs/margin
794
- */
795
- mt: [{
796
- mt: [p]
797
- }],
798
- /**
799
- * Margin Right
800
- * @see https://tailwindcss.com/docs/margin
801
- */
802
- mr: [{
803
- mr: [p]
804
- }],
805
- /**
806
- * Margin Bottom
807
- * @see https://tailwindcss.com/docs/margin
808
- */
809
- mb: [{
810
- mb: [p]
811
- }],
812
- /**
813
- * Margin Left
814
- * @see https://tailwindcss.com/docs/margin
815
- */
816
- ml: [{
817
- ml: [p]
818
- }],
819
- /**
820
- * Space Between X
821
- * @see https://tailwindcss.com/docs/space
822
- */
823
- "space-x": [{
824
- "space-x": [K]
825
- }],
826
- /**
827
- * Space Between X Reverse
828
- * @see https://tailwindcss.com/docs/space
829
- */
830
- "space-x-reverse": ["space-x-reverse"],
831
- /**
832
- * Space Between Y
833
- * @see https://tailwindcss.com/docs/space
834
- */
835
- "space-y": [{
836
- "space-y": [K]
837
- }],
838
- /**
839
- * Space Between Y Reverse
840
- * @see https://tailwindcss.com/docs/space
841
- */
842
- "space-y-reverse": ["space-y-reverse"],
843
- // Sizing
844
- /**
845
- * Width
846
- * @see https://tailwindcss.com/docs/width
847
- */
848
- w: [{
849
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", i, r]
850
- }],
851
- /**
852
- * Min-Width
853
- * @see https://tailwindcss.com/docs/min-width
854
- */
855
- "min-w": [{
856
- "min-w": [i, r, "min", "max", "fit"]
857
- }],
858
- /**
859
- * Max-Width
860
- * @see https://tailwindcss.com/docs/max-width
861
- */
862
- "max-w": [{
863
- "max-w": [i, r, "none", "full", "min", "max", "fit", "prose", {
864
- screen: [S]
865
- }, S]
866
- }],
867
- /**
868
- * Height
869
- * @see https://tailwindcss.com/docs/height
870
- */
871
- h: [{
872
- h: [i, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
873
- }],
874
- /**
875
- * Min-Height
876
- * @see https://tailwindcss.com/docs/min-height
877
- */
878
- "min-h": [{
879
- "min-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
880
- }],
881
- /**
882
- * Max-Height
883
- * @see https://tailwindcss.com/docs/max-height
884
- */
885
- "max-h": [{
886
- "max-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
887
- }],
888
- /**
889
- * Size
890
- * @see https://tailwindcss.com/docs/size
891
- */
892
- size: [{
893
- size: [i, r, "auto", "min", "max", "fit"]
894
- }],
895
- // Typography
896
- /**
897
- * Font Size
898
- * @see https://tailwindcss.com/docs/font-size
899
- */
900
- "font-size": [{
901
- text: ["base", S, z]
902
- }],
903
- /**
904
- * Font Smoothing
905
- * @see https://tailwindcss.com/docs/font-smoothing
906
- */
907
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
908
- /**
909
- * Font Style
910
- * @see https://tailwindcss.com/docs/font-style
911
- */
912
- "font-style": ["italic", "not-italic"],
913
- /**
914
- * Font Weight
915
- * @see https://tailwindcss.com/docs/font-weight
916
- */
917
- "font-weight": [{
918
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", B]
919
- }],
920
- /**
921
- * Font Family
922
- * @see https://tailwindcss.com/docs/font-family
923
- */
924
- "font-family": [{
925
- font: [N]
926
- }],
927
- /**
928
- * Font Variant Numeric
929
- * @see https://tailwindcss.com/docs/font-variant-numeric
930
- */
931
- "fvn-normal": ["normal-nums"],
932
- /**
933
- * Font Variant Numeric
934
- * @see https://tailwindcss.com/docs/font-variant-numeric
935
- */
936
- "fvn-ordinal": ["ordinal"],
937
- /**
938
- * Font Variant Numeric
939
- * @see https://tailwindcss.com/docs/font-variant-numeric
940
- */
941
- "fvn-slashed-zero": ["slashed-zero"],
942
- /**
943
- * Font Variant Numeric
944
- * @see https://tailwindcss.com/docs/font-variant-numeric
945
- */
946
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
947
- /**
948
- * Font Variant Numeric
949
- * @see https://tailwindcss.com/docs/font-variant-numeric
950
- */
951
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
952
- /**
953
- * Font Variant Numeric
954
- * @see https://tailwindcss.com/docs/font-variant-numeric
955
- */
956
- "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
957
- /**
958
- * Letter Spacing
959
- * @see https://tailwindcss.com/docs/letter-spacing
960
- */
961
- tracking: [{
962
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", i]
963
- }],
964
- /**
965
- * Line Clamp
966
- * @see https://tailwindcss.com/docs/line-clamp
967
- */
968
- "line-clamp": [{
969
- "line-clamp": ["none", M, B]
970
- }],
971
- /**
972
- * Line Height
973
- * @see https://tailwindcss.com/docs/line-height
974
- */
975
- leading: [{
976
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", C, i]
977
- }],
978
- /**
979
- * List Style Image
980
- * @see https://tailwindcss.com/docs/list-style-image
981
- */
982
- "list-image": [{
983
- "list-image": ["none", i]
984
- }],
985
- /**
986
- * List Style Type
987
- * @see https://tailwindcss.com/docs/list-style-type
988
- */
989
- "list-style-type": [{
990
- list: ["none", "disc", "decimal", i]
991
- }],
992
- /**
993
- * List Style Position
994
- * @see https://tailwindcss.com/docs/list-style-position
995
- */
996
- "list-style-position": [{
997
- list: ["inside", "outside"]
998
- }],
999
- /**
1000
- * Placeholder Color
1001
- * @deprecated since Tailwind CSS v3.0.0
1002
- * @see https://tailwindcss.com/docs/placeholder-color
1003
- */
1004
- "placeholder-color": [{
1005
- placeholder: [e]
1006
- }],
1007
- /**
1008
- * Placeholder Opacity
1009
- * @see https://tailwindcss.com/docs/placeholder-opacity
1010
- */
1011
- "placeholder-opacity": [{
1012
- "placeholder-opacity": [f]
1013
- }],
1014
- /**
1015
- * Text Alignment
1016
- * @see https://tailwindcss.com/docs/text-align
1017
- */
1018
- "text-alignment": [{
1019
- text: ["left", "center", "right", "justify", "start", "end"]
1020
- }],
1021
- /**
1022
- * Text Color
1023
- * @see https://tailwindcss.com/docs/text-color
1024
- */
1025
- "text-color": [{
1026
- text: [e]
1027
- }],
1028
- /**
1029
- * Text Opacity
1030
- * @see https://tailwindcss.com/docs/text-opacity
1031
- */
1032
- "text-opacity": [{
1033
- "text-opacity": [f]
1034
- }],
1035
- /**
1036
- * Text Decoration
1037
- * @see https://tailwindcss.com/docs/text-decoration
1038
- */
1039
- "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1040
- /**
1041
- * Text Decoration Style
1042
- * @see https://tailwindcss.com/docs/text-decoration-style
1043
- */
1044
- "text-decoration-style": [{
1045
- decoration: [...j(), "wavy"]
1046
- }],
1047
- /**
1048
- * Text Decoration Thickness
1049
- * @see https://tailwindcss.com/docs/text-decoration-thickness
1050
- */
1051
- "text-decoration-thickness": [{
1052
- decoration: ["auto", "from-font", C, z]
1053
- }],
1054
- /**
1055
- * Text Underline Offset
1056
- * @see https://tailwindcss.com/docs/text-underline-offset
1057
- */
1058
- "underline-offset": [{
1059
- "underline-offset": ["auto", C, i]
1060
- }],
1061
- /**
1062
- * Text Decoration Color
1063
- * @see https://tailwindcss.com/docs/text-decoration-color
1064
- */
1065
- "text-decoration-color": [{
1066
- decoration: [e]
1067
- }],
1068
- /**
1069
- * Text Transform
1070
- * @see https://tailwindcss.com/docs/text-transform
1071
- */
1072
- "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1073
- /**
1074
- * Text Overflow
1075
- * @see https://tailwindcss.com/docs/text-overflow
1076
- */
1077
- "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1078
- /**
1079
- * Text Wrap
1080
- * @see https://tailwindcss.com/docs/text-wrap
1081
- */
1082
- "text-wrap": [{
1083
- text: ["wrap", "nowrap", "balance", "pretty"]
1084
- }],
1085
- /**
1086
- * Text Indent
1087
- * @see https://tailwindcss.com/docs/text-indent
1088
- */
1089
- indent: [{
1090
- indent: d()
1091
- }],
1092
- /**
1093
- * Vertical Alignment
1094
- * @see https://tailwindcss.com/docs/vertical-align
1095
- */
1096
- "vertical-align": [{
1097
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i]
1098
- }],
1099
- /**
1100
- * Whitespace
1101
- * @see https://tailwindcss.com/docs/whitespace
1102
- */
1103
- whitespace: [{
1104
- whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1105
- }],
1106
- /**
1107
- * Word Break
1108
- * @see https://tailwindcss.com/docs/word-break
1109
- */
1110
- break: [{
1111
- break: ["normal", "words", "all", "keep"]
1112
- }],
1113
- /**
1114
- * Hyphens
1115
- * @see https://tailwindcss.com/docs/hyphens
1116
- */
1117
- hyphens: [{
1118
- hyphens: ["none", "manual", "auto"]
1119
- }],
1120
- /**
1121
- * Content
1122
- * @see https://tailwindcss.com/docs/content
1123
- */
1124
- content: [{
1125
- content: ["none", i]
1126
- }],
1127
- // Backgrounds
1128
- /**
1129
- * Background Attachment
1130
- * @see https://tailwindcss.com/docs/background-attachment
1131
- */
1132
- "bg-attachment": [{
1133
- bg: ["fixed", "local", "scroll"]
1134
- }],
1135
- /**
1136
- * Background Clip
1137
- * @see https://tailwindcss.com/docs/background-clip
1138
- */
1139
- "bg-clip": [{
1140
- "bg-clip": ["border", "padding", "content", "text"]
1141
- }],
1142
- /**
1143
- * Background Opacity
1144
- * @deprecated since Tailwind CSS v3.0.0
1145
- * @see https://tailwindcss.com/docs/background-opacity
1146
- */
1147
- "bg-opacity": [{
1148
- "bg-opacity": [f]
1149
- }],
1150
- /**
1151
- * Background Origin
1152
- * @see https://tailwindcss.com/docs/background-origin
1153
- */
1154
- "bg-origin": [{
1155
- "bg-origin": ["border", "padding", "content"]
1156
- }],
1157
- /**
1158
- * Background Position
1159
- * @see https://tailwindcss.com/docs/background-position
1160
- */
1161
- "bg-position": [{
1162
- bg: [...H(), Ge]
1163
- }],
1164
- /**
1165
- * Background Repeat
1166
- * @see https://tailwindcss.com/docs/background-repeat
1167
- */
1168
- "bg-repeat": [{
1169
- bg: ["no-repeat", {
1170
- repeat: ["", "x", "y", "round", "space"]
1171
- }]
1172
- }],
1173
- /**
1174
- * Background Size
1175
- * @see https://tailwindcss.com/docs/background-size
1176
- */
1177
- "bg-size": [{
1178
- bg: ["auto", "cover", "contain", Me]
1179
- }],
1180
- /**
1181
- * Background Image
1182
- * @see https://tailwindcss.com/docs/background-image
1183
- */
1184
- "bg-image": [{
1185
- bg: ["none", {
1186
- "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1187
- }, Re]
1188
- }],
1189
- /**
1190
- * Background Color
1191
- * @see https://tailwindcss.com/docs/background-color
1192
- */
1193
- "bg-color": [{
1194
- bg: [e]
1195
- }],
1196
- /**
1197
- * Gradient Color Stops From Position
1198
- * @see https://tailwindcss.com/docs/gradient-color-stops
1199
- */
1200
- "gradient-from-pos": [{
1201
- from: [w]
1202
- }],
1203
- /**
1204
- * Gradient Color Stops Via Position
1205
- * @see https://tailwindcss.com/docs/gradient-color-stops
1206
- */
1207
- "gradient-via-pos": [{
1208
- via: [w]
1209
- }],
1210
- /**
1211
- * Gradient Color Stops To Position
1212
- * @see https://tailwindcss.com/docs/gradient-color-stops
1213
- */
1214
- "gradient-to-pos": [{
1215
- to: [w]
1216
- }],
1217
- /**
1218
- * Gradient Color Stops From
1219
- * @see https://tailwindcss.com/docs/gradient-color-stops
1220
- */
1221
- "gradient-from": [{
1222
- from: [v]
1223
- }],
1224
- /**
1225
- * Gradient Color Stops Via
1226
- * @see https://tailwindcss.com/docs/gradient-color-stops
1227
- */
1228
- "gradient-via": [{
1229
- via: [v]
1230
- }],
1231
- /**
1232
- * Gradient Color Stops To
1233
- * @see https://tailwindcss.com/docs/gradient-color-stops
1234
- */
1235
- "gradient-to": [{
1236
- to: [v]
1237
- }],
1238
- // Borders
1239
- /**
1240
- * Border Radius
1241
- * @see https://tailwindcss.com/docs/border-radius
1242
- */
1243
- rounded: [{
1244
- rounded: [s]
1245
- }],
1246
- /**
1247
- * Border Radius Start
1248
- * @see https://tailwindcss.com/docs/border-radius
1249
- */
1250
- "rounded-s": [{
1251
- "rounded-s": [s]
1252
- }],
1253
- /**
1254
- * Border Radius End
1255
- * @see https://tailwindcss.com/docs/border-radius
1256
- */
1257
- "rounded-e": [{
1258
- "rounded-e": [s]
1259
- }],
1260
- /**
1261
- * Border Radius Top
1262
- * @see https://tailwindcss.com/docs/border-radius
1263
- */
1264
- "rounded-t": [{
1265
- "rounded-t": [s]
1266
- }],
1267
- /**
1268
- * Border Radius Right
1269
- * @see https://tailwindcss.com/docs/border-radius
1270
- */
1271
- "rounded-r": [{
1272
- "rounded-r": [s]
1273
- }],
1274
- /**
1275
- * Border Radius Bottom
1276
- * @see https://tailwindcss.com/docs/border-radius
1277
- */
1278
- "rounded-b": [{
1279
- "rounded-b": [s]
1280
- }],
1281
- /**
1282
- * Border Radius Left
1283
- * @see https://tailwindcss.com/docs/border-radius
1284
- */
1285
- "rounded-l": [{
1286
- "rounded-l": [s]
1287
- }],
1288
- /**
1289
- * Border Radius Start Start
1290
- * @see https://tailwindcss.com/docs/border-radius
1291
- */
1292
- "rounded-ss": [{
1293
- "rounded-ss": [s]
1294
- }],
1295
- /**
1296
- * Border Radius Start End
1297
- * @see https://tailwindcss.com/docs/border-radius
1298
- */
1299
- "rounded-se": [{
1300
- "rounded-se": [s]
1301
- }],
1302
- /**
1303
- * Border Radius End End
1304
- * @see https://tailwindcss.com/docs/border-radius
1305
- */
1306
- "rounded-ee": [{
1307
- "rounded-ee": [s]
1308
- }],
1309
- /**
1310
- * Border Radius End Start
1311
- * @see https://tailwindcss.com/docs/border-radius
1312
- */
1313
- "rounded-es": [{
1314
- "rounded-es": [s]
1315
- }],
1316
- /**
1317
- * Border Radius Top Left
1318
- * @see https://tailwindcss.com/docs/border-radius
1319
- */
1320
- "rounded-tl": [{
1321
- "rounded-tl": [s]
1322
- }],
1323
- /**
1324
- * Border Radius Top Right
1325
- * @see https://tailwindcss.com/docs/border-radius
1326
- */
1327
- "rounded-tr": [{
1328
- "rounded-tr": [s]
1329
- }],
1330
- /**
1331
- * Border Radius Bottom Right
1332
- * @see https://tailwindcss.com/docs/border-radius
1333
- */
1334
- "rounded-br": [{
1335
- "rounded-br": [s]
1336
- }],
1337
- /**
1338
- * Border Radius Bottom Left
1339
- * @see https://tailwindcss.com/docs/border-radius
1340
- */
1341
- "rounded-bl": [{
1342
- "rounded-bl": [s]
1343
- }],
1344
- /**
1345
- * Border Width
1346
- * @see https://tailwindcss.com/docs/border-width
1347
- */
1348
- "border-w": [{
1349
- border: [n]
1350
- }],
1351
- /**
1352
- * Border Width X
1353
- * @see https://tailwindcss.com/docs/border-width
1354
- */
1355
- "border-w-x": [{
1356
- "border-x": [n]
1357
- }],
1358
- /**
1359
- * Border Width Y
1360
- * @see https://tailwindcss.com/docs/border-width
1361
- */
1362
- "border-w-y": [{
1363
- "border-y": [n]
1364
- }],
1365
- /**
1366
- * Border Width Start
1367
- * @see https://tailwindcss.com/docs/border-width
1368
- */
1369
- "border-w-s": [{
1370
- "border-s": [n]
1371
- }],
1372
- /**
1373
- * Border Width End
1374
- * @see https://tailwindcss.com/docs/border-width
1375
- */
1376
- "border-w-e": [{
1377
- "border-e": [n]
1378
- }],
1379
- /**
1380
- * Border Width Top
1381
- * @see https://tailwindcss.com/docs/border-width
1382
- */
1383
- "border-w-t": [{
1384
- "border-t": [n]
1385
- }],
1386
- /**
1387
- * Border Width Right
1388
- * @see https://tailwindcss.com/docs/border-width
1389
- */
1390
- "border-w-r": [{
1391
- "border-r": [n]
1392
- }],
1393
- /**
1394
- * Border Width Bottom
1395
- * @see https://tailwindcss.com/docs/border-width
1396
- */
1397
- "border-w-b": [{
1398
- "border-b": [n]
1399
- }],
1400
- /**
1401
- * Border Width Left
1402
- * @see https://tailwindcss.com/docs/border-width
1403
- */
1404
- "border-w-l": [{
1405
- "border-l": [n]
1406
- }],
1407
- /**
1408
- * Border Opacity
1409
- * @see https://tailwindcss.com/docs/border-opacity
1410
- */
1411
- "border-opacity": [{
1412
- "border-opacity": [f]
1413
- }],
1414
- /**
1415
- * Border Style
1416
- * @see https://tailwindcss.com/docs/border-style
1417
- */
1418
- "border-style": [{
1419
- border: [...j(), "hidden"]
1420
- }],
1421
- /**
1422
- * Divide Width X
1423
- * @see https://tailwindcss.com/docs/divide-width
1424
- */
1425
- "divide-x": [{
1426
- "divide-x": [n]
1427
- }],
1428
- /**
1429
- * Divide Width X Reverse
1430
- * @see https://tailwindcss.com/docs/divide-width
1431
- */
1432
- "divide-x-reverse": ["divide-x-reverse"],
1433
- /**
1434
- * Divide Width Y
1435
- * @see https://tailwindcss.com/docs/divide-width
1436
- */
1437
- "divide-y": [{
1438
- "divide-y": [n]
1439
- }],
1440
- /**
1441
- * Divide Width Y Reverse
1442
- * @see https://tailwindcss.com/docs/divide-width
1443
- */
1444
- "divide-y-reverse": ["divide-y-reverse"],
1445
- /**
1446
- * Divide Opacity
1447
- * @see https://tailwindcss.com/docs/divide-opacity
1448
- */
1449
- "divide-opacity": [{
1450
- "divide-opacity": [f]
1451
- }],
1452
- /**
1453
- * Divide Style
1454
- * @see https://tailwindcss.com/docs/divide-style
1455
- */
1456
- "divide-style": [{
1457
- divide: j()
1458
- }],
1459
- /**
1460
- * Border Color
1461
- * @see https://tailwindcss.com/docs/border-color
1462
- */
1463
- "border-color": [{
1464
- border: [a]
1465
- }],
1466
- /**
1467
- * Border Color X
1468
- * @see https://tailwindcss.com/docs/border-color
1469
- */
1470
- "border-color-x": [{
1471
- "border-x": [a]
1472
- }],
1473
- /**
1474
- * Border Color Y
1475
- * @see https://tailwindcss.com/docs/border-color
1476
- */
1477
- "border-color-y": [{
1478
- "border-y": [a]
1479
- }],
1480
- /**
1481
- * Border Color S
1482
- * @see https://tailwindcss.com/docs/border-color
1483
- */
1484
- "border-color-s": [{
1485
- "border-s": [a]
1486
- }],
1487
- /**
1488
- * Border Color E
1489
- * @see https://tailwindcss.com/docs/border-color
1490
- */
1491
- "border-color-e": [{
1492
- "border-e": [a]
1493
- }],
1494
- /**
1495
- * Border Color Top
1496
- * @see https://tailwindcss.com/docs/border-color
1497
- */
1498
- "border-color-t": [{
1499
- "border-t": [a]
1500
- }],
1501
- /**
1502
- * Border Color Right
1503
- * @see https://tailwindcss.com/docs/border-color
1504
- */
1505
- "border-color-r": [{
1506
- "border-r": [a]
1507
- }],
1508
- /**
1509
- * Border Color Bottom
1510
- * @see https://tailwindcss.com/docs/border-color
1511
- */
1512
- "border-color-b": [{
1513
- "border-b": [a]
1514
- }],
1515
- /**
1516
- * Border Color Left
1517
- * @see https://tailwindcss.com/docs/border-color
1518
- */
1519
- "border-color-l": [{
1520
- "border-l": [a]
1521
- }],
1522
- /**
1523
- * Divide Color
1524
- * @see https://tailwindcss.com/docs/divide-color
1525
- */
1526
- "divide-color": [{
1527
- divide: [a]
1528
- }],
1529
- /**
1530
- * Outline Style
1531
- * @see https://tailwindcss.com/docs/outline-style
1532
- */
1533
- "outline-style": [{
1534
- outline: ["", ...j()]
1535
- }],
1536
- /**
1537
- * Outline Offset
1538
- * @see https://tailwindcss.com/docs/outline-offset
1539
- */
1540
- "outline-offset": [{
1541
- "outline-offset": [C, i]
1542
- }],
1543
- /**
1544
- * Outline Width
1545
- * @see https://tailwindcss.com/docs/outline-width
1546
- */
1547
- "outline-w": [{
1548
- outline: [C, z]
1549
- }],
1550
- /**
1551
- * Outline Color
1552
- * @see https://tailwindcss.com/docs/outline-color
1553
- */
1554
- "outline-color": [{
1555
- outline: [e]
1556
- }],
1557
- /**
1558
- * Ring Width
1559
- * @see https://tailwindcss.com/docs/ring-width
1560
- */
1561
- "ring-w": [{
1562
- ring: Z()
1563
- }],
1564
- /**
1565
- * Ring Width Inset
1566
- * @see https://tailwindcss.com/docs/ring-width
1567
- */
1568
- "ring-w-inset": ["ring-inset"],
1569
- /**
1570
- * Ring Color
1571
- * @see https://tailwindcss.com/docs/ring-color
1572
- */
1573
- "ring-color": [{
1574
- ring: [e]
1575
- }],
1576
- /**
1577
- * Ring Opacity
1578
- * @see https://tailwindcss.com/docs/ring-opacity
1579
- */
1580
- "ring-opacity": [{
1581
- "ring-opacity": [f]
1582
- }],
1583
- /**
1584
- * Ring Offset Width
1585
- * @see https://tailwindcss.com/docs/ring-offset-width
1586
- */
1587
- "ring-offset-w": [{
1588
- "ring-offset": [C, z]
1589
- }],
1590
- /**
1591
- * Ring Offset Color
1592
- * @see https://tailwindcss.com/docs/ring-offset-color
1593
- */
1594
- "ring-offset-color": [{
1595
- "ring-offset": [e]
1596
- }],
1597
- // Effects
1598
- /**
1599
- * Box Shadow
1600
- * @see https://tailwindcss.com/docs/box-shadow
1601
- */
1602
- shadow: [{
1603
- shadow: ["", "inner", "none", S, Ie]
1604
- }],
1605
- /**
1606
- * Box Shadow Color
1607
- * @see https://tailwindcss.com/docs/box-shadow-color
1608
- */
1609
- "shadow-color": [{
1610
- shadow: [N]
1611
- }],
1612
- /**
1613
- * Opacity
1614
- * @see https://tailwindcss.com/docs/opacity
1615
- */
1616
- opacity: [{
1617
- opacity: [f]
1618
- }],
1619
- /**
1620
- * Mix Blend Mode
1621
- * @see https://tailwindcss.com/docs/mix-blend-mode
1622
- */
1623
- "mix-blend": [{
1624
- "mix-blend": [...Q(), "plus-lighter", "plus-darker"]
1625
- }],
1626
- /**
1627
- * Background Blend Mode
1628
- * @see https://tailwindcss.com/docs/background-blend-mode
1629
- */
1630
- "bg-blend": [{
1631
- "bg-blend": Q()
1632
- }],
1633
- // Filters
1634
- /**
1635
- * Filter
1636
- * @deprecated since Tailwind CSS v3.0.0
1637
- * @see https://tailwindcss.com/docs/filter
1638
- */
1639
- filter: [{
1640
- filter: ["", "none"]
1641
- }],
1642
- /**
1643
- * Blur
1644
- * @see https://tailwindcss.com/docs/blur
1645
- */
1646
- blur: [{
1647
- blur: [t]
1648
- }],
1649
- /**
1650
- * Brightness
1651
- * @see https://tailwindcss.com/docs/brightness
1652
- */
1653
- brightness: [{
1654
- brightness: [o]
1655
- }],
1656
- /**
1657
- * Contrast
1658
- * @see https://tailwindcss.com/docs/contrast
1659
- */
1660
- contrast: [{
1661
- contrast: [u]
1662
- }],
1663
- /**
1664
- * Drop Shadow
1665
- * @see https://tailwindcss.com/docs/drop-shadow
1666
- */
1667
- "drop-shadow": [{
1668
- "drop-shadow": ["", "none", S, i]
1669
- }],
1670
- /**
1671
- * Grayscale
1672
- * @see https://tailwindcss.com/docs/grayscale
1673
- */
1674
- grayscale: [{
1675
- grayscale: [g]
1676
- }],
1677
- /**
1678
- * Hue Rotate
1679
- * @see https://tailwindcss.com/docs/hue-rotate
1680
- */
1681
- "hue-rotate": [{
1682
- "hue-rotate": [m]
1683
- }],
1684
- /**
1685
- * Invert
1686
- * @see https://tailwindcss.com/docs/invert
1687
- */
1688
- invert: [{
1689
- invert: [y]
1690
- }],
1691
- /**
1692
- * Saturate
1693
- * @see https://tailwindcss.com/docs/saturate
1694
- */
1695
- saturate: [{
1696
- saturate: [P]
1697
- }],
1698
- /**
1699
- * Sepia
1700
- * @see https://tailwindcss.com/docs/sepia
1701
- */
1702
- sepia: [{
1703
- sepia: [E]
1704
- }],
1705
- /**
1706
- * Backdrop Filter
1707
- * @deprecated since Tailwind CSS v3.0.0
1708
- * @see https://tailwindcss.com/docs/backdrop-filter
1709
- */
1710
- "backdrop-filter": [{
1711
- "backdrop-filter": ["", "none"]
1712
- }],
1713
- /**
1714
- * Backdrop Blur
1715
- * @see https://tailwindcss.com/docs/backdrop-blur
1716
- */
1717
- "backdrop-blur": [{
1718
- "backdrop-blur": [t]
1719
- }],
1720
- /**
1721
- * Backdrop Brightness
1722
- * @see https://tailwindcss.com/docs/backdrop-brightness
1723
- */
1724
- "backdrop-brightness": [{
1725
- "backdrop-brightness": [o]
1726
- }],
1727
- /**
1728
- * Backdrop Contrast
1729
- * @see https://tailwindcss.com/docs/backdrop-contrast
1730
- */
1731
- "backdrop-contrast": [{
1732
- "backdrop-contrast": [u]
1733
- }],
1734
- /**
1735
- * Backdrop Grayscale
1736
- * @see https://tailwindcss.com/docs/backdrop-grayscale
1737
- */
1738
- "backdrop-grayscale": [{
1739
- "backdrop-grayscale": [g]
1740
- }],
1741
- /**
1742
- * Backdrop Hue Rotate
1743
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1744
- */
1745
- "backdrop-hue-rotate": [{
1746
- "backdrop-hue-rotate": [m]
1747
- }],
1748
- /**
1749
- * Backdrop Invert
1750
- * @see https://tailwindcss.com/docs/backdrop-invert
1751
- */
1752
- "backdrop-invert": [{
1753
- "backdrop-invert": [y]
1754
- }],
1755
- /**
1756
- * Backdrop Opacity
1757
- * @see https://tailwindcss.com/docs/backdrop-opacity
1758
- */
1759
- "backdrop-opacity": [{
1760
- "backdrop-opacity": [f]
1761
- }],
1762
- /**
1763
- * Backdrop Saturate
1764
- * @see https://tailwindcss.com/docs/backdrop-saturate
1765
- */
1766
- "backdrop-saturate": [{
1767
- "backdrop-saturate": [P]
1768
- }],
1769
- /**
1770
- * Backdrop Sepia
1771
- * @see https://tailwindcss.com/docs/backdrop-sepia
1772
- */
1773
- "backdrop-sepia": [{
1774
- "backdrop-sepia": [E]
1775
- }],
1776
- // Tables
1777
- /**
1778
- * Border Collapse
1779
- * @see https://tailwindcss.com/docs/border-collapse
1780
- */
1781
- "border-collapse": [{
1782
- border: ["collapse", "separate"]
1783
- }],
1784
- /**
1785
- * Border Spacing
1786
- * @see https://tailwindcss.com/docs/border-spacing
1787
- */
1788
- "border-spacing": [{
1789
- "border-spacing": [l]
1790
- }],
1791
- /**
1792
- * Border Spacing X
1793
- * @see https://tailwindcss.com/docs/border-spacing
1794
- */
1795
- "border-spacing-x": [{
1796
- "border-spacing-x": [l]
1797
- }],
1798
- /**
1799
- * Border Spacing Y
1800
- * @see https://tailwindcss.com/docs/border-spacing
1801
- */
1802
- "border-spacing-y": [{
1803
- "border-spacing-y": [l]
1804
- }],
1805
- /**
1806
- * Table Layout
1807
- * @see https://tailwindcss.com/docs/table-layout
1808
- */
1809
- "table-layout": [{
1810
- table: ["auto", "fixed"]
1811
- }],
1812
- /**
1813
- * Caption Side
1814
- * @see https://tailwindcss.com/docs/caption-side
1815
- */
1816
- caption: [{
1817
- caption: ["top", "bottom"]
1818
- }],
1819
- // Transitions and Animation
1820
- /**
1821
- * Tranisition Property
1822
- * @see https://tailwindcss.com/docs/transition-property
1823
- */
1824
- transition: [{
1825
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", i]
1826
- }],
1827
- /**
1828
- * Transition Duration
1829
- * @see https://tailwindcss.com/docs/transition-duration
1830
- */
1831
- duration: [{
1832
- duration: k()
1833
- }],
1834
- /**
1835
- * Transition Timing Function
1836
- * @see https://tailwindcss.com/docs/transition-timing-function
1837
- */
1838
- ease: [{
1839
- ease: ["linear", "in", "out", "in-out", i]
1840
- }],
1841
- /**
1842
- * Transition Delay
1843
- * @see https://tailwindcss.com/docs/transition-delay
1844
- */
1845
- delay: [{
1846
- delay: k()
1847
- }],
1848
- /**
1849
- * Animation
1850
- * @see https://tailwindcss.com/docs/animation
1851
- */
1852
- animate: [{
1853
- animate: ["none", "spin", "ping", "pulse", "bounce", i]
1854
- }],
1855
- // Transforms
1856
- /**
1857
- * Transform
1858
- * @see https://tailwindcss.com/docs/transform
1859
- */
1860
- transform: [{
1861
- transform: ["", "gpu", "none"]
1862
- }],
1863
- /**
1864
- * Scale
1865
- * @see https://tailwindcss.com/docs/scale
1866
- */
1867
- scale: [{
1868
- scale: [A]
1869
- }],
1870
- /**
1871
- * Scale X
1872
- * @see https://tailwindcss.com/docs/scale
1873
- */
1874
- "scale-x": [{
1875
- "scale-x": [A]
1876
- }],
1877
- /**
1878
- * Scale Y
1879
- * @see https://tailwindcss.com/docs/scale
1880
- */
1881
- "scale-y": [{
1882
- "scale-y": [A]
1883
- }],
1884
- /**
1885
- * Rotate
1886
- * @see https://tailwindcss.com/docs/rotate
1887
- */
1888
- rotate: [{
1889
- rotate: [I, i]
1890
- }],
1891
- /**
1892
- * Translate X
1893
- * @see https://tailwindcss.com/docs/translate
1894
- */
1895
- "translate-x": [{
1896
- "translate-x": [X]
1897
- }],
1898
- /**
1899
- * Translate Y
1900
- * @see https://tailwindcss.com/docs/translate
1901
- */
1902
- "translate-y": [{
1903
- "translate-y": [X]
1904
- }],
1905
- /**
1906
- * Skew X
1907
- * @see https://tailwindcss.com/docs/skew
1908
- */
1909
- "skew-x": [{
1910
- "skew-x": [J]
1911
- }],
1912
- /**
1913
- * Skew Y
1914
- * @see https://tailwindcss.com/docs/skew
1915
- */
1916
- "skew-y": [{
1917
- "skew-y": [J]
1918
- }],
1919
- /**
1920
- * Transform Origin
1921
- * @see https://tailwindcss.com/docs/transform-origin
1922
- */
1923
- "transform-origin": [{
1924
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", i]
1925
- }],
1926
- // Interactivity
1927
- /**
1928
- * Accent Color
1929
- * @see https://tailwindcss.com/docs/accent-color
1930
- */
1931
- accent: [{
1932
- accent: ["auto", e]
1933
- }],
1934
- /**
1935
- * Appearance
1936
- * @see https://tailwindcss.com/docs/appearance
1937
- */
1938
- appearance: [{
1939
- appearance: ["none", "auto"]
1940
- }],
1941
- /**
1942
- * Cursor
1943
- * @see https://tailwindcss.com/docs/cursor
1944
- */
1945
- cursor: [{
1946
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", i]
1947
- }],
1948
- /**
1949
- * Caret Color
1950
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
1951
- */
1952
- "caret-color": [{
1953
- caret: [e]
1954
- }],
1955
- /**
1956
- * Pointer Events
1957
- * @see https://tailwindcss.com/docs/pointer-events
1958
- */
1959
- "pointer-events": [{
1960
- "pointer-events": ["none", "auto"]
1961
- }],
1962
- /**
1963
- * Resize
1964
- * @see https://tailwindcss.com/docs/resize
1965
- */
1966
- resize: [{
1967
- resize: ["none", "y", "x", ""]
1968
- }],
1969
- /**
1970
- * Scroll Behavior
1971
- * @see https://tailwindcss.com/docs/scroll-behavior
1972
- */
1973
- "scroll-behavior": [{
1974
- scroll: ["auto", "smooth"]
1975
- }],
1976
- /**
1977
- * Scroll Margin
1978
- * @see https://tailwindcss.com/docs/scroll-margin
1979
- */
1980
- "scroll-m": [{
1981
- "scroll-m": d()
1982
- }],
1983
- /**
1984
- * Scroll Margin X
1985
- * @see https://tailwindcss.com/docs/scroll-margin
1986
- */
1987
- "scroll-mx": [{
1988
- "scroll-mx": d()
1989
- }],
1990
- /**
1991
- * Scroll Margin Y
1992
- * @see https://tailwindcss.com/docs/scroll-margin
1993
- */
1994
- "scroll-my": [{
1995
- "scroll-my": d()
1996
- }],
1997
- /**
1998
- * Scroll Margin Start
1999
- * @see https://tailwindcss.com/docs/scroll-margin
2000
- */
2001
- "scroll-ms": [{
2002
- "scroll-ms": d()
2003
- }],
2004
- /**
2005
- * Scroll Margin End
2006
- * @see https://tailwindcss.com/docs/scroll-margin
2007
- */
2008
- "scroll-me": [{
2009
- "scroll-me": d()
2010
- }],
2011
- /**
2012
- * Scroll Margin Top
2013
- * @see https://tailwindcss.com/docs/scroll-margin
2014
- */
2015
- "scroll-mt": [{
2016
- "scroll-mt": d()
2017
- }],
2018
- /**
2019
- * Scroll Margin Right
2020
- * @see https://tailwindcss.com/docs/scroll-margin
2021
- */
2022
- "scroll-mr": [{
2023
- "scroll-mr": d()
2024
- }],
2025
- /**
2026
- * Scroll Margin Bottom
2027
- * @see https://tailwindcss.com/docs/scroll-margin
2028
- */
2029
- "scroll-mb": [{
2030
- "scroll-mb": d()
2031
- }],
2032
- /**
2033
- * Scroll Margin Left
2034
- * @see https://tailwindcss.com/docs/scroll-margin
2035
- */
2036
- "scroll-ml": [{
2037
- "scroll-ml": d()
2038
- }],
2039
- /**
2040
- * Scroll Padding
2041
- * @see https://tailwindcss.com/docs/scroll-padding
2042
- */
2043
- "scroll-p": [{
2044
- "scroll-p": d()
2045
- }],
2046
- /**
2047
- * Scroll Padding X
2048
- * @see https://tailwindcss.com/docs/scroll-padding
2049
- */
2050
- "scroll-px": [{
2051
- "scroll-px": d()
2052
- }],
2053
- /**
2054
- * Scroll Padding Y
2055
- * @see https://tailwindcss.com/docs/scroll-padding
2056
- */
2057
- "scroll-py": [{
2058
- "scroll-py": d()
2059
- }],
2060
- /**
2061
- * Scroll Padding Start
2062
- * @see https://tailwindcss.com/docs/scroll-padding
2063
- */
2064
- "scroll-ps": [{
2065
- "scroll-ps": d()
2066
- }],
2067
- /**
2068
- * Scroll Padding End
2069
- * @see https://tailwindcss.com/docs/scroll-padding
2070
- */
2071
- "scroll-pe": [{
2072
- "scroll-pe": d()
2073
- }],
2074
- /**
2075
- * Scroll Padding Top
2076
- * @see https://tailwindcss.com/docs/scroll-padding
2077
- */
2078
- "scroll-pt": [{
2079
- "scroll-pt": d()
2080
- }],
2081
- /**
2082
- * Scroll Padding Right
2083
- * @see https://tailwindcss.com/docs/scroll-padding
2084
- */
2085
- "scroll-pr": [{
2086
- "scroll-pr": d()
2087
- }],
2088
- /**
2089
- * Scroll Padding Bottom
2090
- * @see https://tailwindcss.com/docs/scroll-padding
2091
- */
2092
- "scroll-pb": [{
2093
- "scroll-pb": d()
2094
- }],
2095
- /**
2096
- * Scroll Padding Left
2097
- * @see https://tailwindcss.com/docs/scroll-padding
2098
- */
2099
- "scroll-pl": [{
2100
- "scroll-pl": d()
2101
- }],
2102
- /**
2103
- * Scroll Snap Align
2104
- * @see https://tailwindcss.com/docs/scroll-snap-align
2105
- */
2106
- "snap-align": [{
2107
- snap: ["start", "end", "center", "align-none"]
2108
- }],
2109
- /**
2110
- * Scroll Snap Stop
2111
- * @see https://tailwindcss.com/docs/scroll-snap-stop
2112
- */
2113
- "snap-stop": [{
2114
- snap: ["normal", "always"]
2115
- }],
2116
- /**
2117
- * Scroll Snap Type
2118
- * @see https://tailwindcss.com/docs/scroll-snap-type
2119
- */
2120
- "snap-type": [{
2121
- snap: ["none", "x", "y", "both"]
2122
- }],
2123
- /**
2124
- * Scroll Snap Type Strictness
2125
- * @see https://tailwindcss.com/docs/scroll-snap-type
2126
- */
2127
- "snap-strictness": [{
2128
- snap: ["mandatory", "proximity"]
2129
- }],
2130
- /**
2131
- * Touch Action
2132
- * @see https://tailwindcss.com/docs/touch-action
2133
- */
2134
- touch: [{
2135
- touch: ["auto", "none", "manipulation"]
2136
- }],
2137
- /**
2138
- * Touch Action X
2139
- * @see https://tailwindcss.com/docs/touch-action
2140
- */
2141
- "touch-x": [{
2142
- "touch-pan": ["x", "left", "right"]
2143
- }],
2144
- /**
2145
- * Touch Action Y
2146
- * @see https://tailwindcss.com/docs/touch-action
2147
- */
2148
- "touch-y": [{
2149
- "touch-pan": ["y", "up", "down"]
2150
- }],
2151
- /**
2152
- * Touch Action Pinch Zoom
2153
- * @see https://tailwindcss.com/docs/touch-action
2154
- */
2155
- "touch-pz": ["touch-pinch-zoom"],
2156
- /**
2157
- * User Select
2158
- * @see https://tailwindcss.com/docs/user-select
2159
- */
2160
- select: [{
2161
- select: ["none", "text", "all", "auto"]
2162
- }],
2163
- /**
2164
- * Will Change
2165
- * @see https://tailwindcss.com/docs/will-change
2166
- */
2167
- "will-change": [{
2168
- "will-change": ["auto", "scroll", "contents", "transform", i]
2169
- }],
2170
- // SVG
2171
- /**
2172
- * Fill
2173
- * @see https://tailwindcss.com/docs/fill
2174
- */
2175
- fill: [{
2176
- fill: [e, "none"]
2177
- }],
2178
- /**
2179
- * Stroke Width
2180
- * @see https://tailwindcss.com/docs/stroke-width
2181
- */
2182
- "stroke-w": [{
2183
- stroke: [C, z, B]
2184
- }],
2185
- /**
2186
- * Stroke
2187
- * @see https://tailwindcss.com/docs/stroke
2188
- */
2189
- stroke: [{
2190
- stroke: [e, "none"]
2191
- }],
2192
- // Accessibility
2193
- /**
2194
- * Screen Readers
2195
- * @see https://tailwindcss.com/docs/screen-readers
2196
- */
2197
- sr: ["sr-only", "not-sr-only"],
2198
- /**
2199
- * Forced Color Adjust
2200
- * @see https://tailwindcss.com/docs/forced-color-adjust
2201
- */
2202
- "forced-color-adjust": [{
2203
- "forced-color-adjust": ["auto", "none"]
2204
- }]
2205
- },
2206
- conflictingClassGroups: {
2207
- overflow: ["overflow-x", "overflow-y"],
2208
- overscroll: ["overscroll-x", "overscroll-y"],
2209
- inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2210
- "inset-x": ["right", "left"],
2211
- "inset-y": ["top", "bottom"],
2212
- flex: ["basis", "grow", "shrink"],
2213
- gap: ["gap-x", "gap-y"],
2214
- p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2215
- px: ["pr", "pl"],
2216
- py: ["pt", "pb"],
2217
- m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2218
- mx: ["mr", "ml"],
2219
- my: ["mt", "mb"],
2220
- size: ["w", "h"],
2221
- "font-size": ["leading"],
2222
- "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2223
- "fvn-ordinal": ["fvn-normal"],
2224
- "fvn-slashed-zero": ["fvn-normal"],
2225
- "fvn-figure": ["fvn-normal"],
2226
- "fvn-spacing": ["fvn-normal"],
2227
- "fvn-fraction": ["fvn-normal"],
2228
- "line-clamp": ["display", "overflow"],
2229
- rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2230
- "rounded-s": ["rounded-ss", "rounded-es"],
2231
- "rounded-e": ["rounded-se", "rounded-ee"],
2232
- "rounded-t": ["rounded-tl", "rounded-tr"],
2233
- "rounded-r": ["rounded-tr", "rounded-br"],
2234
- "rounded-b": ["rounded-br", "rounded-bl"],
2235
- "rounded-l": ["rounded-tl", "rounded-bl"],
2236
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2237
- "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2238
- "border-w-x": ["border-w-r", "border-w-l"],
2239
- "border-w-y": ["border-w-t", "border-w-b"],
2240
- "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2241
- "border-color-x": ["border-color-r", "border-color-l"],
2242
- "border-color-y": ["border-color-t", "border-color-b"],
2243
- "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2244
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2245
- "scroll-my": ["scroll-mt", "scroll-mb"],
2246
- "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2247
- "scroll-px": ["scroll-pr", "scroll-pl"],
2248
- "scroll-py": ["scroll-pt", "scroll-pb"],
2249
- touch: ["touch-x", "touch-y", "touch-pz"],
2250
- "touch-x": ["touch"],
2251
- "touch-y": ["touch"],
2252
- "touch-pz": ["touch"]
2253
- },
2254
- conflictingClassGroupModifiers: {
2255
- "font-size": ["leading"]
1060
+ const Xe = (e) => {
1061
+ let t = "";
1062
+ return e === void 0 ? t = "" : typeof e == "string" ? t = ' and name "' + e + '"' : t = " and name `" + e + "`", t;
1063
+ }, Hn = function(e, t, n) {
1064
+ let {
1065
+ name: l
1066
+ } = n === void 0 ? {} : n;
1067
+ return 'Found multiple elements with the role "' + t + '"' + Xe(l);
1068
+ }, $n = function(e, t, n) {
1069
+ let {
1070
+ hidden: l = y().defaultHidden,
1071
+ name: r,
1072
+ description: o
1073
+ } = n === void 0 ? {} : n;
1074
+ if (y()._disableExpensiveErrorDiagnostics)
1075
+ return 'Unable to find role="' + t + '"' + Xe(r);
1076
+ let i = "";
1077
+ Array.from(e.children).forEach((c) => {
1078
+ i += Ct(c, {
1079
+ hidden: l,
1080
+ includeDescription: o !== void 0
1081
+ });
1082
+ });
1083
+ let a;
1084
+ i.length === 0 ? l === !1 ? a = "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" : a = "There are no available roles." : a = (`
1085
+ Here are the ` + (l === !1 ? "accessible" : "available") + ` roles:
1086
+
1087
+ ` + i.replace(/\n/g, `
1088
+ `).replace(/\n\s\s\n/g, `
1089
+
1090
+ `) + `
1091
+ `).trim();
1092
+ let u = "";
1093
+ r === void 0 ? u = "" : typeof r == "string" ? u = ' and name "' + r + '"' : u = " and name `" + r + "`";
1094
+ let s = "";
1095
+ return o === void 0 ? s = "" : typeof o == "string" ? s = ' and description "' + o + '"' : s = " and description `" + o + "`", (`
1096
+ Unable to find an ` + (l === !1 ? "accessible " : "") + 'element with the role "' + t + '"' + u + s + `
1097
+
1098
+ ` + a).trim();
1099
+ }, Gn = A(ae, ae.name, "queryAll"), [Qn, Xn, Jn, Kn, Yn] = L(ae, Hn, $n), me = () => y().testIdAttribute, ue = function() {
1100
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1101
+ t[n] = arguments[n];
1102
+ return S(t[0]), J(me(), ...t);
1103
+ }, Zn = (e, t) => "Found multiple elements by: [" + me() + '="' + t + '"]', _n = (e, t) => "Unable to find an element by: [" + me() + '="' + t + '"]', er = A(ue, ue.name, "queryAll"), [tr, nr, rr, lr, or] = L(ue, Zn, _n);
1104
+ var se = /* @__PURE__ */ Object.freeze({
1105
+ __proto__: null,
1106
+ queryAllByLabelText: _t,
1107
+ queryByLabelText: Xt,
1108
+ getAllByLabelText: Yt,
1109
+ getByLabelText: Zt,
1110
+ findAllByLabelText: Jt,
1111
+ findByLabelText: Kt,
1112
+ queryByPlaceholderText: rn,
1113
+ queryAllByPlaceholderText: nn,
1114
+ getByPlaceholderText: on,
1115
+ getAllByPlaceholderText: ln,
1116
+ findAllByPlaceholderText: an,
1117
+ findByPlaceholderText: un,
1118
+ queryByText: dn,
1119
+ queryAllByText: fn,
1120
+ getByText: pn,
1121
+ getAllByText: bn,
1122
+ findAllByText: yn,
1123
+ findByText: mn,
1124
+ queryByDisplayValue: hn,
1125
+ queryAllByDisplayValue: vn,
1126
+ getByDisplayValue: An,
1127
+ getAllByDisplayValue: Tn,
1128
+ findAllByDisplayValue: wn,
1129
+ findByDisplayValue: In,
1130
+ queryByAltText: Dn,
1131
+ queryAllByAltText: Cn,
1132
+ getByAltText: Mn,
1133
+ getAllByAltText: qn,
1134
+ findAllByAltText: On,
1135
+ findByAltText: Pn,
1136
+ queryByTitle: Rn,
1137
+ queryAllByTitle: Fn,
1138
+ getByTitle: Wn,
1139
+ getAllByTitle: jn,
1140
+ findAllByTitle: zn,
1141
+ findByTitle: Vn,
1142
+ queryByRole: Qn,
1143
+ queryAllByRole: Gn,
1144
+ getAllByRole: Xn,
1145
+ getByRole: Jn,
1146
+ findAllByRole: Kn,
1147
+ findByRole: Yn,
1148
+ queryByTestId: tr,
1149
+ queryAllByTestId: er,
1150
+ getByTestId: rr,
1151
+ getAllByTestId: nr,
1152
+ findAllByTestId: lr,
1153
+ findByTestId: or
1154
+ });
1155
+ function ir(e, t, n) {
1156
+ return t === void 0 && (t = se), n === void 0 && (n = {}), Object.keys(t).reduce((l, r) => {
1157
+ const o = t[r];
1158
+ return l[r] = o.bind(null, e), l;
1159
+ }, n);
1160
+ }
1161
+ const Ie = {
1162
+ // Clipboard Events
1163
+ copy: {
1164
+ EventType: "ClipboardEvent",
1165
+ defaultInit: {
1166
+ bubbles: !0,
1167
+ cancelable: !0,
1168
+ composed: !0
1169
+ }
1170
+ },
1171
+ cut: {
1172
+ EventType: "ClipboardEvent",
1173
+ defaultInit: {
1174
+ bubbles: !0,
1175
+ cancelable: !0,
1176
+ composed: !0
1177
+ }
1178
+ },
1179
+ paste: {
1180
+ EventType: "ClipboardEvent",
1181
+ defaultInit: {
1182
+ bubbles: !0,
1183
+ cancelable: !0,
1184
+ composed: !0
1185
+ }
1186
+ },
1187
+ // Composition Events
1188
+ compositionEnd: {
1189
+ EventType: "CompositionEvent",
1190
+ defaultInit: {
1191
+ bubbles: !0,
1192
+ cancelable: !0,
1193
+ composed: !0
1194
+ }
1195
+ },
1196
+ compositionStart: {
1197
+ EventType: "CompositionEvent",
1198
+ defaultInit: {
1199
+ bubbles: !0,
1200
+ cancelable: !0,
1201
+ composed: !0
1202
+ }
1203
+ },
1204
+ compositionUpdate: {
1205
+ EventType: "CompositionEvent",
1206
+ defaultInit: {
1207
+ bubbles: !0,
1208
+ cancelable: !0,
1209
+ composed: !0
1210
+ }
1211
+ },
1212
+ // Keyboard Events
1213
+ keyDown: {
1214
+ EventType: "KeyboardEvent",
1215
+ defaultInit: {
1216
+ bubbles: !0,
1217
+ cancelable: !0,
1218
+ charCode: 0,
1219
+ composed: !0
1220
+ }
1221
+ },
1222
+ keyPress: {
1223
+ EventType: "KeyboardEvent",
1224
+ defaultInit: {
1225
+ bubbles: !0,
1226
+ cancelable: !0,
1227
+ charCode: 0,
1228
+ composed: !0
1229
+ }
1230
+ },
1231
+ keyUp: {
1232
+ EventType: "KeyboardEvent",
1233
+ defaultInit: {
1234
+ bubbles: !0,
1235
+ cancelable: !0,
1236
+ charCode: 0,
1237
+ composed: !0
1238
+ }
1239
+ },
1240
+ // Focus Events
1241
+ focus: {
1242
+ EventType: "FocusEvent",
1243
+ defaultInit: {
1244
+ bubbles: !1,
1245
+ cancelable: !1,
1246
+ composed: !0
1247
+ }
1248
+ },
1249
+ blur: {
1250
+ EventType: "FocusEvent",
1251
+ defaultInit: {
1252
+ bubbles: !1,
1253
+ cancelable: !1,
1254
+ composed: !0
1255
+ }
1256
+ },
1257
+ focusIn: {
1258
+ EventType: "FocusEvent",
1259
+ defaultInit: {
1260
+ bubbles: !0,
1261
+ cancelable: !1,
1262
+ composed: !0
1263
+ }
1264
+ },
1265
+ focusOut: {
1266
+ EventType: "FocusEvent",
1267
+ defaultInit: {
1268
+ bubbles: !0,
1269
+ cancelable: !1,
1270
+ composed: !0
1271
+ }
1272
+ },
1273
+ // Form Events
1274
+ change: {
1275
+ EventType: "Event",
1276
+ defaultInit: {
1277
+ bubbles: !0,
1278
+ cancelable: !1
1279
+ }
1280
+ },
1281
+ input: {
1282
+ EventType: "InputEvent",
1283
+ defaultInit: {
1284
+ bubbles: !0,
1285
+ cancelable: !1,
1286
+ composed: !0
1287
+ }
1288
+ },
1289
+ invalid: {
1290
+ EventType: "Event",
1291
+ defaultInit: {
1292
+ bubbles: !1,
1293
+ cancelable: !0
1294
+ }
1295
+ },
1296
+ submit: {
1297
+ EventType: "Event",
1298
+ defaultInit: {
1299
+ bubbles: !0,
1300
+ cancelable: !0
1301
+ }
1302
+ },
1303
+ reset: {
1304
+ EventType: "Event",
1305
+ defaultInit: {
1306
+ bubbles: !0,
1307
+ cancelable: !0
1308
+ }
1309
+ },
1310
+ // Mouse Events
1311
+ click: {
1312
+ EventType: "MouseEvent",
1313
+ defaultInit: {
1314
+ bubbles: !0,
1315
+ cancelable: !0,
1316
+ button: 0,
1317
+ composed: !0
1318
+ }
1319
+ },
1320
+ contextMenu: {
1321
+ EventType: "MouseEvent",
1322
+ defaultInit: {
1323
+ bubbles: !0,
1324
+ cancelable: !0,
1325
+ composed: !0
1326
+ }
1327
+ },
1328
+ dblClick: {
1329
+ EventType: "MouseEvent",
1330
+ defaultInit: {
1331
+ bubbles: !0,
1332
+ cancelable: !0,
1333
+ composed: !0
1334
+ }
1335
+ },
1336
+ drag: {
1337
+ EventType: "DragEvent",
1338
+ defaultInit: {
1339
+ bubbles: !0,
1340
+ cancelable: !0,
1341
+ composed: !0
1342
+ }
1343
+ },
1344
+ dragEnd: {
1345
+ EventType: "DragEvent",
1346
+ defaultInit: {
1347
+ bubbles: !0,
1348
+ cancelable: !1,
1349
+ composed: !0
1350
+ }
1351
+ },
1352
+ dragEnter: {
1353
+ EventType: "DragEvent",
1354
+ defaultInit: {
1355
+ bubbles: !0,
1356
+ cancelable: !0,
1357
+ composed: !0
1358
+ }
1359
+ },
1360
+ dragExit: {
1361
+ EventType: "DragEvent",
1362
+ defaultInit: {
1363
+ bubbles: !0,
1364
+ cancelable: !1,
1365
+ composed: !0
1366
+ }
1367
+ },
1368
+ dragLeave: {
1369
+ EventType: "DragEvent",
1370
+ defaultInit: {
1371
+ bubbles: !0,
1372
+ cancelable: !1,
1373
+ composed: !0
1374
+ }
1375
+ },
1376
+ dragOver: {
1377
+ EventType: "DragEvent",
1378
+ defaultInit: {
1379
+ bubbles: !0,
1380
+ cancelable: !0,
1381
+ composed: !0
1382
+ }
1383
+ },
1384
+ dragStart: {
1385
+ EventType: "DragEvent",
1386
+ defaultInit: {
1387
+ bubbles: !0,
1388
+ cancelable: !0,
1389
+ composed: !0
1390
+ }
1391
+ },
1392
+ drop: {
1393
+ EventType: "DragEvent",
1394
+ defaultInit: {
1395
+ bubbles: !0,
1396
+ cancelable: !0,
1397
+ composed: !0
1398
+ }
1399
+ },
1400
+ mouseDown: {
1401
+ EventType: "MouseEvent",
1402
+ defaultInit: {
1403
+ bubbles: !0,
1404
+ cancelable: !0,
1405
+ composed: !0
1406
+ }
1407
+ },
1408
+ mouseEnter: {
1409
+ EventType: "MouseEvent",
1410
+ defaultInit: {
1411
+ bubbles: !1,
1412
+ cancelable: !1,
1413
+ composed: !0
1414
+ }
1415
+ },
1416
+ mouseLeave: {
1417
+ EventType: "MouseEvent",
1418
+ defaultInit: {
1419
+ bubbles: !1,
1420
+ cancelable: !1,
1421
+ composed: !0
1422
+ }
1423
+ },
1424
+ mouseMove: {
1425
+ EventType: "MouseEvent",
1426
+ defaultInit: {
1427
+ bubbles: !0,
1428
+ cancelable: !0,
1429
+ composed: !0
1430
+ }
1431
+ },
1432
+ mouseOut: {
1433
+ EventType: "MouseEvent",
1434
+ defaultInit: {
1435
+ bubbles: !0,
1436
+ cancelable: !0,
1437
+ composed: !0
1438
+ }
1439
+ },
1440
+ mouseOver: {
1441
+ EventType: "MouseEvent",
1442
+ defaultInit: {
1443
+ bubbles: !0,
1444
+ cancelable: !0,
1445
+ composed: !0
1446
+ }
1447
+ },
1448
+ mouseUp: {
1449
+ EventType: "MouseEvent",
1450
+ defaultInit: {
1451
+ bubbles: !0,
1452
+ cancelable: !0,
1453
+ composed: !0
1454
+ }
1455
+ },
1456
+ // Selection Events
1457
+ select: {
1458
+ EventType: "Event",
1459
+ defaultInit: {
1460
+ bubbles: !0,
1461
+ cancelable: !1
1462
+ }
1463
+ },
1464
+ // Touch Events
1465
+ touchCancel: {
1466
+ EventType: "TouchEvent",
1467
+ defaultInit: {
1468
+ bubbles: !0,
1469
+ cancelable: !1,
1470
+ composed: !0
1471
+ }
1472
+ },
1473
+ touchEnd: {
1474
+ EventType: "TouchEvent",
1475
+ defaultInit: {
1476
+ bubbles: !0,
1477
+ cancelable: !0,
1478
+ composed: !0
1479
+ }
1480
+ },
1481
+ touchMove: {
1482
+ EventType: "TouchEvent",
1483
+ defaultInit: {
1484
+ bubbles: !0,
1485
+ cancelable: !0,
1486
+ composed: !0
1487
+ }
1488
+ },
1489
+ touchStart: {
1490
+ EventType: "TouchEvent",
1491
+ defaultInit: {
1492
+ bubbles: !0,
1493
+ cancelable: !0,
1494
+ composed: !0
1495
+ }
1496
+ },
1497
+ // UI Events
1498
+ resize: {
1499
+ EventType: "UIEvent",
1500
+ defaultInit: {
1501
+ bubbles: !1,
1502
+ cancelable: !1
2256
1503
  }
1504
+ },
1505
+ scroll: {
1506
+ EventType: "UIEvent",
1507
+ defaultInit: {
1508
+ bubbles: !1,
1509
+ cancelable: !1
1510
+ }
1511
+ },
1512
+ // Wheel Events
1513
+ wheel: {
1514
+ EventType: "WheelEvent",
1515
+ defaultInit: {
1516
+ bubbles: !0,
1517
+ cancelable: !0,
1518
+ composed: !0
1519
+ }
1520
+ },
1521
+ // Media Events
1522
+ abort: {
1523
+ EventType: "Event",
1524
+ defaultInit: {
1525
+ bubbles: !1,
1526
+ cancelable: !1
1527
+ }
1528
+ },
1529
+ canPlay: {
1530
+ EventType: "Event",
1531
+ defaultInit: {
1532
+ bubbles: !1,
1533
+ cancelable: !1
1534
+ }
1535
+ },
1536
+ canPlayThrough: {
1537
+ EventType: "Event",
1538
+ defaultInit: {
1539
+ bubbles: !1,
1540
+ cancelable: !1
1541
+ }
1542
+ },
1543
+ durationChange: {
1544
+ EventType: "Event",
1545
+ defaultInit: {
1546
+ bubbles: !1,
1547
+ cancelable: !1
1548
+ }
1549
+ },
1550
+ emptied: {
1551
+ EventType: "Event",
1552
+ defaultInit: {
1553
+ bubbles: !1,
1554
+ cancelable: !1
1555
+ }
1556
+ },
1557
+ encrypted: {
1558
+ EventType: "Event",
1559
+ defaultInit: {
1560
+ bubbles: !1,
1561
+ cancelable: !1
1562
+ }
1563
+ },
1564
+ ended: {
1565
+ EventType: "Event",
1566
+ defaultInit: {
1567
+ bubbles: !1,
1568
+ cancelable: !1
1569
+ }
1570
+ },
1571
+ loadedData: {
1572
+ EventType: "Event",
1573
+ defaultInit: {
1574
+ bubbles: !1,
1575
+ cancelable: !1
1576
+ }
1577
+ },
1578
+ loadedMetadata: {
1579
+ EventType: "Event",
1580
+ defaultInit: {
1581
+ bubbles: !1,
1582
+ cancelable: !1
1583
+ }
1584
+ },
1585
+ loadStart: {
1586
+ EventType: "ProgressEvent",
1587
+ defaultInit: {
1588
+ bubbles: !1,
1589
+ cancelable: !1
1590
+ }
1591
+ },
1592
+ pause: {
1593
+ EventType: "Event",
1594
+ defaultInit: {
1595
+ bubbles: !1,
1596
+ cancelable: !1
1597
+ }
1598
+ },
1599
+ play: {
1600
+ EventType: "Event",
1601
+ defaultInit: {
1602
+ bubbles: !1,
1603
+ cancelable: !1
1604
+ }
1605
+ },
1606
+ playing: {
1607
+ EventType: "Event",
1608
+ defaultInit: {
1609
+ bubbles: !1,
1610
+ cancelable: !1
1611
+ }
1612
+ },
1613
+ progress: {
1614
+ EventType: "ProgressEvent",
1615
+ defaultInit: {
1616
+ bubbles: !1,
1617
+ cancelable: !1
1618
+ }
1619
+ },
1620
+ rateChange: {
1621
+ EventType: "Event",
1622
+ defaultInit: {
1623
+ bubbles: !1,
1624
+ cancelable: !1
1625
+ }
1626
+ },
1627
+ seeked: {
1628
+ EventType: "Event",
1629
+ defaultInit: {
1630
+ bubbles: !1,
1631
+ cancelable: !1
1632
+ }
1633
+ },
1634
+ seeking: {
1635
+ EventType: "Event",
1636
+ defaultInit: {
1637
+ bubbles: !1,
1638
+ cancelable: !1
1639
+ }
1640
+ },
1641
+ stalled: {
1642
+ EventType: "Event",
1643
+ defaultInit: {
1644
+ bubbles: !1,
1645
+ cancelable: !1
1646
+ }
1647
+ },
1648
+ suspend: {
1649
+ EventType: "Event",
1650
+ defaultInit: {
1651
+ bubbles: !1,
1652
+ cancelable: !1
1653
+ }
1654
+ },
1655
+ timeUpdate: {
1656
+ EventType: "Event",
1657
+ defaultInit: {
1658
+ bubbles: !1,
1659
+ cancelable: !1
1660
+ }
1661
+ },
1662
+ volumeChange: {
1663
+ EventType: "Event",
1664
+ defaultInit: {
1665
+ bubbles: !1,
1666
+ cancelable: !1
1667
+ }
1668
+ },
1669
+ waiting: {
1670
+ EventType: "Event",
1671
+ defaultInit: {
1672
+ bubbles: !1,
1673
+ cancelable: !1
1674
+ }
1675
+ },
1676
+ // Events
1677
+ load: {
1678
+ // TODO: load events can be UIEvent or Event depending on what generated them
1679
+ // This is where this abstraction breaks down.
1680
+ // But the common targets are <img />, <script /> and window.
1681
+ // Neither of these targets receive a UIEvent
1682
+ EventType: "Event",
1683
+ defaultInit: {
1684
+ bubbles: !1,
1685
+ cancelable: !1
1686
+ }
1687
+ },
1688
+ error: {
1689
+ EventType: "Event",
1690
+ defaultInit: {
1691
+ bubbles: !1,
1692
+ cancelable: !1
1693
+ }
1694
+ },
1695
+ // Animation Events
1696
+ animationStart: {
1697
+ EventType: "AnimationEvent",
1698
+ defaultInit: {
1699
+ bubbles: !0,
1700
+ cancelable: !1
1701
+ }
1702
+ },
1703
+ animationEnd: {
1704
+ EventType: "AnimationEvent",
1705
+ defaultInit: {
1706
+ bubbles: !0,
1707
+ cancelable: !1
1708
+ }
1709
+ },
1710
+ animationIteration: {
1711
+ EventType: "AnimationEvent",
1712
+ defaultInit: {
1713
+ bubbles: !0,
1714
+ cancelable: !1
1715
+ }
1716
+ },
1717
+ // Transition Events
1718
+ transitionCancel: {
1719
+ EventType: "TransitionEvent",
1720
+ defaultInit: {
1721
+ bubbles: !0,
1722
+ cancelable: !1
1723
+ }
1724
+ },
1725
+ transitionEnd: {
1726
+ EventType: "TransitionEvent",
1727
+ defaultInit: {
1728
+ bubbles: !0,
1729
+ cancelable: !0
1730
+ }
1731
+ },
1732
+ transitionRun: {
1733
+ EventType: "TransitionEvent",
1734
+ defaultInit: {
1735
+ bubbles: !0,
1736
+ cancelable: !1
1737
+ }
1738
+ },
1739
+ transitionStart: {
1740
+ EventType: "TransitionEvent",
1741
+ defaultInit: {
1742
+ bubbles: !0,
1743
+ cancelable: !1
1744
+ }
1745
+ },
1746
+ // pointer events
1747
+ pointerOver: {
1748
+ EventType: "PointerEvent",
1749
+ defaultInit: {
1750
+ bubbles: !0,
1751
+ cancelable: !0,
1752
+ composed: !0
1753
+ }
1754
+ },
1755
+ pointerEnter: {
1756
+ EventType: "PointerEvent",
1757
+ defaultInit: {
1758
+ bubbles: !1,
1759
+ cancelable: !1
1760
+ }
1761
+ },
1762
+ pointerDown: {
1763
+ EventType: "PointerEvent",
1764
+ defaultInit: {
1765
+ bubbles: !0,
1766
+ cancelable: !0,
1767
+ composed: !0
1768
+ }
1769
+ },
1770
+ pointerMove: {
1771
+ EventType: "PointerEvent",
1772
+ defaultInit: {
1773
+ bubbles: !0,
1774
+ cancelable: !0,
1775
+ composed: !0
1776
+ }
1777
+ },
1778
+ pointerUp: {
1779
+ EventType: "PointerEvent",
1780
+ defaultInit: {
1781
+ bubbles: !0,
1782
+ cancelable: !0,
1783
+ composed: !0
1784
+ }
1785
+ },
1786
+ pointerCancel: {
1787
+ EventType: "PointerEvent",
1788
+ defaultInit: {
1789
+ bubbles: !0,
1790
+ cancelable: !1,
1791
+ composed: !0
1792
+ }
1793
+ },
1794
+ pointerOut: {
1795
+ EventType: "PointerEvent",
1796
+ defaultInit: {
1797
+ bubbles: !0,
1798
+ cancelable: !0,
1799
+ composed: !0
1800
+ }
1801
+ },
1802
+ pointerLeave: {
1803
+ EventType: "PointerEvent",
1804
+ defaultInit: {
1805
+ bubbles: !1,
1806
+ cancelable: !1
1807
+ }
1808
+ },
1809
+ gotPointerCapture: {
1810
+ EventType: "PointerEvent",
1811
+ defaultInit: {
1812
+ bubbles: !0,
1813
+ cancelable: !1,
1814
+ composed: !0
1815
+ }
1816
+ },
1817
+ lostPointerCapture: {
1818
+ EventType: "PointerEvent",
1819
+ defaultInit: {
1820
+ bubbles: !0,
1821
+ cancelable: !1,
1822
+ composed: !0
1823
+ }
1824
+ },
1825
+ // history events
1826
+ popState: {
1827
+ EventType: "PopStateEvent",
1828
+ defaultInit: {
1829
+ bubbles: !0,
1830
+ cancelable: !1
1831
+ }
1832
+ },
1833
+ // window events
1834
+ offline: {
1835
+ EventType: "Event",
1836
+ defaultInit: {
1837
+ bubbles: !1,
1838
+ cancelable: !1
1839
+ }
1840
+ },
1841
+ online: {
1842
+ EventType: "Event",
1843
+ defaultInit: {
1844
+ bubbles: !1,
1845
+ cancelable: !1
1846
+ }
1847
+ },
1848
+ pageHide: {
1849
+ EventType: "PageTransitionEvent",
1850
+ defaultInit: {
1851
+ bubbles: !0,
1852
+ cancelable: !0
1853
+ }
1854
+ },
1855
+ pageShow: {
1856
+ EventType: "PageTransitionEvent",
1857
+ defaultInit: {
1858
+ bubbles: !0,
1859
+ cancelable: !0
1860
+ }
1861
+ }
1862
+ }, xe = {
1863
+ doubleClick: "dblClick"
1864
+ };
1865
+ function Q(e, t) {
1866
+ return y().eventWrapper(() => {
1867
+ if (!t)
1868
+ throw new Error("Unable to fire an event - please provide an event object.");
1869
+ if (!e)
1870
+ throw new Error('Unable to fire a "' + t.type + '" event - please provide a DOM element.');
1871
+ return e.dispatchEvent(t);
1872
+ });
1873
+ }
1874
+ function _(e, t, n, l) {
1875
+ let {
1876
+ EventType: r = "Event",
1877
+ defaultInit: o = {}
1878
+ } = l === void 0 ? {} : l;
1879
+ if (!t)
1880
+ throw new Error('Unable to fire a "' + e + '" event - please provide a DOM element.');
1881
+ const i = {
1882
+ ...o,
1883
+ ...n
1884
+ }, {
1885
+ target: {
1886
+ value: a,
1887
+ files: u,
1888
+ ...s
1889
+ } = {}
1890
+ } = i;
1891
+ a !== void 0 && ar(t, a), u !== void 0 && Object.defineProperty(t, "files", {
1892
+ configurable: !0,
1893
+ enumerable: !0,
1894
+ writable: !0,
1895
+ value: u
1896
+ }), Object.assign(t, s);
1897
+ const c = ke(t), f = c[r] || c.Event;
1898
+ let d;
1899
+ if (typeof f == "function")
1900
+ d = new f(e, i);
1901
+ else {
1902
+ d = c.document.createEvent(r);
1903
+ const {
1904
+ bubbles: g,
1905
+ cancelable: b,
1906
+ detail: h,
1907
+ ...v
1908
+ } = i;
1909
+ d.initEvent(e, g, b, h), Object.keys(v).forEach((x) => {
1910
+ d[x] = v[x];
1911
+ });
1912
+ }
1913
+ return ["dataTransfer", "clipboardData"].forEach((g) => {
1914
+ const b = i[g];
1915
+ typeof b == "object" && (typeof c.DataTransfer == "function" ? Object.defineProperty(d, g, {
1916
+ value: Object.getOwnPropertyNames(b).reduce((h, v) => (Object.defineProperty(h, v, {
1917
+ value: b[v]
1918
+ }), h), new c.DataTransfer())
1919
+ }) : Object.defineProperty(d, g, {
1920
+ value: b
1921
+ }));
1922
+ }), d;
1923
+ }
1924
+ Object.keys(Ie).forEach((e) => {
1925
+ const {
1926
+ EventType: t,
1927
+ defaultInit: n
1928
+ } = Ie[e], l = e.toLowerCase();
1929
+ _[e] = (r, o) => _(l, r, o, {
1930
+ EventType: t,
1931
+ defaultInit: n
1932
+ }), Q[e] = (r, o) => Q(r, _[e](r, o));
1933
+ });
1934
+ function ar(e, t) {
1935
+ const {
1936
+ set: n
1937
+ } = Object.getOwnPropertyDescriptor(e, "value") || {}, l = Object.getPrototypeOf(e), {
1938
+ set: r
1939
+ } = Object.getOwnPropertyDescriptor(l, "value") || {};
1940
+ if (r && n !== r)
1941
+ r.call(e, t);
1942
+ else if (n)
1943
+ n.call(e, t);
1944
+ else
1945
+ throw new Error("The given element does not have a value setter");
1946
+ }
1947
+ Object.keys(xe).forEach((e) => {
1948
+ const t = xe[e];
1949
+ Q[e] = function() {
1950
+ return Q[t](...arguments);
2257
1951
  };
2258
- }, Le = (e, {
2259
- cacheSize: r,
2260
- prefix: t,
2261
- separator: o,
2262
- experimentalParseClassName: a,
2263
- extend: s = {},
2264
- override: l = {}
2265
- }) => {
2266
- T(e, "cacheSize", r), T(e, "prefix", t), T(e, "separator", o), T(e, "experimentalParseClassName", a);
2267
- for (const n in l)
2268
- je(e[n], l[n]);
2269
- for (const n in s)
2270
- We(e[n], s[n]);
2271
- return e;
2272
- }, T = (e, r, t) => {
2273
- t !== void 0 && (e[r] = t);
2274
- }, je = (e, r) => {
2275
- if (r)
2276
- for (const t in r)
2277
- T(e, t, r[t]);
2278
- }, We = (e, r) => {
2279
- if (r)
2280
- for (const t in r) {
2281
- const o = r[t];
2282
- o !== void 0 && (e[t] = (e[t] || []).concat(o));
2283
- }
2284
- }, Ve = (e, ...r) => typeof e == "function" ? F(q, e, ...r) : F(() => Le(q(), e), ...r), _e = /* @__PURE__ */ F(q);
1952
+ });
1953
+ function ur(e) {
1954
+ return e.replace(/[ \t]*[\n][ \t]*/g, `
1955
+ `);
1956
+ }
1957
+ function sr(e) {
1958
+ return nt.compressToEncodedURIComponent(ur(e));
1959
+ }
1960
+ function cr(e) {
1961
+ return "https://testing-playground.com/#markup=" + sr(e);
1962
+ }
1963
+ const fr = (e, t, n) => Array.isArray(e) ? e.forEach((l) => Te(l, t, n)) : Te(e, t, n), dr = function(e) {
1964
+ if (e === void 0 && (e = be().body), !e || !("innerHTML" in e)) {
1965
+ console.log("The element you're providing isn't a valid DOM element.");
1966
+ return;
1967
+ }
1968
+ if (!e.innerHTML) {
1969
+ console.log("The provided element doesn't have any children.");
1970
+ return;
1971
+ }
1972
+ const t = cr(e.innerHTML);
1973
+ return console.log(`Open this URL in your browser
1974
+
1975
+ ` + t), t;
1976
+ }, Be = {
1977
+ debug: fr,
1978
+ logTestingPlaygroundURL: dr
1979
+ };
1980
+ typeof document < "u" && document.body ? ir(document.body, se, Be) : Object.keys(se).reduce((e, t) => (e[t] = () => {
1981
+ throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error");
1982
+ }, e), Be);
2285
1983
  export {
2286
- F as createTailwindMerge,
2287
- Ve as extendTailwindMerge,
2288
- c as fromTheme,
2289
- q as getDefaultConfig,
2290
- Le as mergeConfigs,
2291
- he as twJoin,
2292
- _e as twMerge
1984
+ L as buildQueries,
1985
+ Er as configure,
1986
+ _ as createEvent,
1987
+ On as findAllByAltText,
1988
+ wn as findAllByDisplayValue,
1989
+ Jt as findAllByLabelText,
1990
+ an as findAllByPlaceholderText,
1991
+ Kn as findAllByRole,
1992
+ lr as findAllByTestId,
1993
+ yn as findAllByText,
1994
+ zn as findAllByTitle,
1995
+ Pn as findByAltText,
1996
+ In as findByDisplayValue,
1997
+ Kt as findByLabelText,
1998
+ un as findByPlaceholderText,
1999
+ Yn as findByRole,
2000
+ or as findByTestId,
2001
+ mn as findByText,
2002
+ Vn as findByTitle,
2003
+ Q as fireEvent,
2004
+ qn as getAllByAltText,
2005
+ Tn as getAllByDisplayValue,
2006
+ Yt as getAllByLabelText,
2007
+ ln as getAllByPlaceholderText,
2008
+ Xn as getAllByRole,
2009
+ nr as getAllByTestId,
2010
+ bn as getAllByText,
2011
+ jn as getAllByTitle,
2012
+ Mn as getByAltText,
2013
+ An as getByDisplayValue,
2014
+ Zt as getByLabelText,
2015
+ on as getByPlaceholderText,
2016
+ Jn as getByRole,
2017
+ rr as getByTestId,
2018
+ pn as getByText,
2019
+ Wn as getByTitle,
2020
+ y as getConfig,
2021
+ ze as getDefaultNormalizer,
2022
+ He as getElementError,
2023
+ Ut as getMultipleElementsFoundError,
2024
+ X as getNodeText,
2025
+ ir as getQueriesForElement,
2026
+ St as getRoles,
2027
+ te as getSuggestedQuery,
2028
+ pe as isInaccessible,
2029
+ Te as logDOM,
2030
+ G as makeFindQuery,
2031
+ Ht as makeGetAllQuery,
2032
+ $ as makeSingleQuery,
2033
+ H as prettyDOM,
2034
+ se as queries,
2035
+ Cn as queryAllByAltText,
2036
+ J as queryAllByAttribute,
2037
+ vn as queryAllByDisplayValue,
2038
+ _t as queryAllByLabelText,
2039
+ nn as queryAllByPlaceholderText,
2040
+ Gn as queryAllByRole,
2041
+ er as queryAllByTestId,
2042
+ fn as queryAllByText,
2043
+ Fn as queryAllByTitle,
2044
+ Dn as queryByAltText,
2045
+ hn as queryByDisplayValue,
2046
+ Xt as queryByLabelText,
2047
+ rn as queryByPlaceholderText,
2048
+ Qn as queryByRole,
2049
+ tr as queryByTestId,
2050
+ dn as queryByText,
2051
+ Rn as queryByTitle,
2052
+ Vt as waitFor,
2053
+ ir as within,
2054
+ A as wrapAllByQueryWithSuggestion,
2055
+ F as wrapSingleQueryWithSuggestion
2293
2056
  };