@vlrc-fe/components 2.7.0 → 2.8.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 (476) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/ConfirmModal.d.ts +2 -3
  3. package/dist/ConfirmModal.d.ts.map +1 -1
  4. package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
  5. package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
  6. package/dist/Dropdown/Dropdown.d.ts.map +1 -1
  7. package/dist/Dropdown/types.d.ts +1 -1
  8. package/dist/Dropdown/types.d.ts.map +1 -1
  9. package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
  10. package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts +2 -1
  11. package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts.map +1 -1
  12. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +7 -1
  13. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
  14. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -1
  15. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
  16. package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
  17. package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
  18. package/dist/Form/FormDatePicker/types.d.ts +5 -0
  19. package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
  20. package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
  21. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +2 -2
  22. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
  23. package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
  24. package/dist/Form/FormSelect/types.d.ts +1 -1
  25. package/dist/Form/FormSelect/types.d.ts.map +1 -1
  26. package/dist/Form/FormSelect/useFormSelect.d.ts +1 -1
  27. package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
  28. package/dist/MultiSelect/MultiSelect.d.ts +3 -31
  29. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
  30. package/dist/MultiSelect/renderers.d.ts.map +1 -1
  31. package/dist/MultiSelect/type.d.ts +1 -0
  32. package/dist/MultiSelect/type.d.ts.map +1 -1
  33. package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
  34. package/dist/Select/BaseSelect.d.ts.map +1 -1
  35. package/dist/Select/MultiSelectTags.d.ts.map +1 -1
  36. package/dist/Select/type.d.ts +1 -1
  37. package/dist/Select/type.d.ts.map +1 -1
  38. package/dist/Typography/Code.d.ts.map +1 -1
  39. package/dist/Typography/Link.d.ts.map +1 -1
  40. package/dist/Typography/Paragraph.d.ts.map +1 -1
  41. package/dist/Typography/Text.d.ts.map +1 -1
  42. package/dist/Typography/Title.d.ts.map +1 -1
  43. package/dist/Typography/types.d.ts +37 -1
  44. package/dist/Typography/types.d.ts.map +1 -1
  45. package/dist/Typography/utils.d.ts +3 -2
  46. package/dist/Typography/utils.d.ts.map +1 -1
  47. package/dist/assets/stylex.css +36 -24
  48. package/dist/index.cjs +1 -1
  49. package/dist/index.js +108 -108
  50. package/dist/index10.cjs +1 -1
  51. package/dist/index10.js +18 -55
  52. package/dist/index101.cjs +1 -1
  53. package/dist/index101.js +89 -89
  54. package/dist/index102.cjs +1 -1
  55. package/dist/index102.js +29 -29
  56. package/dist/index103.cjs +1 -1
  57. package/dist/index103.js +128 -124
  58. package/dist/index104.cjs +1 -1
  59. package/dist/index104.js +16 -16
  60. package/dist/index106.cjs +1 -1
  61. package/dist/index106.js +2 -2
  62. package/dist/index107.cjs +1 -1
  63. package/dist/index107.js +114 -117
  64. package/dist/index108.cjs +1 -1
  65. package/dist/index108.js +95 -92
  66. package/dist/index109.cjs +1 -1
  67. package/dist/index109.js +41 -41
  68. package/dist/index11.cjs +1 -1
  69. package/dist/index11.js +36 -164
  70. package/dist/index110.cjs +1 -1
  71. package/dist/index110.js +1 -1
  72. package/dist/index111.cjs +1 -1
  73. package/dist/index111.js +1 -1
  74. package/dist/index112.cjs +1 -1
  75. package/dist/index112.js +128 -120
  76. package/dist/index114.cjs +1 -1
  77. package/dist/index114.js +151 -151
  78. package/dist/index116.cjs +1 -1
  79. package/dist/index116.js +96 -91
  80. package/dist/index117.cjs +1 -1
  81. package/dist/index117.js +18 -18
  82. package/dist/index118.cjs +1 -1
  83. package/dist/index118.js +2 -2
  84. package/dist/index119.cjs +1 -1
  85. package/dist/index119.js +15 -15
  86. package/dist/index12.cjs +1 -1
  87. package/dist/index12.js +147 -103
  88. package/dist/index120.cjs +1 -1
  89. package/dist/index120.js +10 -10
  90. package/dist/index121.cjs +1 -1
  91. package/dist/index121.js +31 -31
  92. package/dist/index122.cjs +1 -1
  93. package/dist/index122.js +3 -3
  94. package/dist/index123.cjs +1 -1
  95. package/dist/index123.js +2 -2
  96. package/dist/index124.cjs +1 -1
  97. package/dist/index124.js +53 -49
  98. package/dist/index126.cjs +1 -1
  99. package/dist/index126.js +35 -38
  100. package/dist/index127.cjs +1 -1
  101. package/dist/index127.js +114 -107
  102. package/dist/index128.cjs +1 -1
  103. package/dist/index128.js +8 -8
  104. package/dist/index129.cjs +1 -1
  105. package/dist/index129.js +53 -53
  106. package/dist/index13.cjs +1 -1
  107. package/dist/index13.js +130 -102
  108. package/dist/index130.cjs +1 -1
  109. package/dist/index130.js +134 -130
  110. package/dist/index132.cjs +1 -1
  111. package/dist/index132.js +7 -7
  112. package/dist/index133.cjs +1 -1
  113. package/dist/index133.js +95 -95
  114. package/dist/index134.cjs +1 -1
  115. package/dist/index134.js +2 -2
  116. package/dist/index135.cjs +1 -1
  117. package/dist/index135.js +113 -99
  118. package/dist/index136.cjs +1 -1
  119. package/dist/index136.js +8 -8
  120. package/dist/index137.cjs +1 -1
  121. package/dist/index137.js +16 -16
  122. package/dist/index138.cjs +1 -1
  123. package/dist/index138.js +20 -20
  124. package/dist/index14.cjs +1 -1
  125. package/dist/index14.js +154 -80
  126. package/dist/index140.cjs +1 -1
  127. package/dist/index140.js +2 -2
  128. package/dist/index141.cjs +1 -1
  129. package/dist/index141.js +24 -24
  130. package/dist/index142.cjs +1 -1
  131. package/dist/index142.js +2 -2
  132. package/dist/index143.cjs +1 -1
  133. package/dist/index143.js +15 -15
  134. package/dist/index144.cjs +1 -1
  135. package/dist/index144.js +3 -3
  136. package/dist/index145.cjs +1 -1
  137. package/dist/index145.js +2 -2
  138. package/dist/index146.cjs +1 -1
  139. package/dist/index146.js +1 -1
  140. package/dist/index147.cjs +1 -1
  141. package/dist/index147.js +88 -88
  142. package/dist/index149.cjs +1 -1
  143. package/dist/index149.js +64 -64
  144. package/dist/index15.cjs +1 -1
  145. package/dist/index15.js +116 -63
  146. package/dist/index150.cjs +1 -1
  147. package/dist/index150.js +9 -9
  148. package/dist/index152.cjs +1 -1
  149. package/dist/index152.js +1 -1
  150. package/dist/index153.cjs +1 -1
  151. package/dist/index153.js +41 -41
  152. package/dist/index154.cjs +1 -1
  153. package/dist/index154.js +73 -73
  154. package/dist/index155.cjs +1 -1
  155. package/dist/index155.js +34 -34
  156. package/dist/index156.cjs +1 -1
  157. package/dist/index156.js +8 -8
  158. package/dist/index157.cjs +1 -1
  159. package/dist/index157.js +1 -1
  160. package/dist/index158.cjs +1 -1
  161. package/dist/index158.js +30 -30
  162. package/dist/index159.cjs +1 -1
  163. package/dist/index159.js +21 -21
  164. package/dist/index16.cjs +1 -1
  165. package/dist/index16.js +60 -91
  166. package/dist/index160.cjs +1 -1
  167. package/dist/index160.js +59 -59
  168. package/dist/index161.cjs +1 -1
  169. package/dist/index161.js +2 -2
  170. package/dist/index162.cjs +1 -1
  171. package/dist/index162.js +50 -50
  172. package/dist/index163.cjs +1 -1
  173. package/dist/index163.js +11 -11
  174. package/dist/index164.cjs +1 -1
  175. package/dist/index164.js +1 -1
  176. package/dist/index165.cjs +1 -1
  177. package/dist/index165.js +33 -33
  178. package/dist/index166.cjs +1 -1
  179. package/dist/index166.js +11 -11
  180. package/dist/index167.cjs +1 -1
  181. package/dist/index167.js +2 -2
  182. package/dist/index168.cjs +1 -1
  183. package/dist/index168.js +7 -7
  184. package/dist/index169.cjs +1 -1
  185. package/dist/index169.js +74 -65
  186. package/dist/index17.cjs +1 -1
  187. package/dist/index17.js +122 -15
  188. package/dist/index170.cjs +1 -1
  189. package/dist/index170.js +9 -9
  190. package/dist/index171.cjs +1 -1
  191. package/dist/index171.js +7 -7
  192. package/dist/index172.cjs +1 -1
  193. package/dist/index172.js +12 -12
  194. package/dist/index174.cjs +1 -1
  195. package/dist/index174.js +15 -15
  196. package/dist/index175.cjs +1 -1
  197. package/dist/index175.js +13 -13
  198. package/dist/index176.cjs +1 -1
  199. package/dist/index176.js +2 -2
  200. package/dist/index177.cjs +1 -1
  201. package/dist/index177.js +140 -115
  202. package/dist/index178.cjs +1 -1
  203. package/dist/index178.js +4 -4
  204. package/dist/index179.cjs +1 -1
  205. package/dist/index179.js +47 -47
  206. package/dist/index18.cjs +1 -1
  207. package/dist/index18.js +15 -268
  208. package/dist/index181.cjs +1 -1
  209. package/dist/index181.js +36 -25
  210. package/dist/index183.cjs +1 -1
  211. package/dist/index183.js +4 -4
  212. package/dist/index185.cjs +1 -1
  213. package/dist/index185.js +5 -8
  214. package/dist/index186.cjs +1 -1
  215. package/dist/index186.js +5 -15
  216. package/dist/index187.cjs +1 -1
  217. package/dist/index187.js +5 -20
  218. package/dist/index188.cjs +1 -1
  219. package/dist/index188.js +5 -16
  220. package/dist/index189.cjs +1 -1
  221. package/dist/index189.js +8 -5
  222. package/dist/index19.cjs +1 -1
  223. package/dist/index19.js +11 -281
  224. package/dist/index190.cjs +1 -1
  225. package/dist/index190.js +7 -4
  226. package/dist/index191.cjs +1 -1
  227. package/dist/index191.js +12 -6
  228. package/dist/index192.cjs +1 -1
  229. package/dist/index192.js +6 -5
  230. package/dist/index193.cjs +1 -1
  231. package/dist/index193.js +6 -5
  232. package/dist/index194.cjs +1 -1
  233. package/dist/index194.js +6 -7
  234. package/dist/index195.cjs +1 -1
  235. package/dist/index195.js +10 -68
  236. package/dist/index196.cjs +1 -1
  237. package/dist/index196.js +9 -10
  238. package/dist/index197.cjs +1 -1
  239. package/dist/index197.js +5 -201
  240. package/dist/index198.cjs +1 -1
  241. package/dist/index198.js +7 -123
  242. package/dist/index199.cjs +1 -1
  243. package/dist/index199.js +7 -31
  244. package/dist/index20.cjs +1 -1
  245. package/dist/index20.js +26 -11
  246. package/dist/index200.cjs +1 -1
  247. package/dist/index200.js +66 -17
  248. package/dist/index201.cjs +1 -1
  249. package/dist/index201.js +8 -68
  250. package/dist/index202.cjs +1 -1
  251. package/dist/index202.js +13 -13
  252. package/dist/index203.cjs +1 -1
  253. package/dist/index203.js +6 -6
  254. package/dist/index204.cjs +1 -1
  255. package/dist/index204.js +15 -278
  256. package/dist/index205.cjs +1 -1
  257. package/dist/index205.js +171 -126
  258. package/dist/index206.cjs +1 -1
  259. package/dist/index206.js +21 -19
  260. package/dist/index207.cjs +1 -1
  261. package/dist/index207.js +16 -8
  262. package/dist/index208.cjs +1 -1
  263. package/dist/index208.js +123 -13
  264. package/dist/index209.cjs +1 -1
  265. package/dist/index209.js +19 -7
  266. package/dist/index21.cjs +1 -1
  267. package/dist/index21.js +29 -26
  268. package/dist/index210.cjs +1 -1
  269. package/dist/index210.js +8 -6
  270. package/dist/index211.cjs +1 -1
  271. package/dist/index211.js +9 -9
  272. package/dist/index212.cjs +1 -1
  273. package/dist/index212.js +13 -8
  274. package/dist/index213.cjs +1 -1
  275. package/dist/index213.js +9 -4
  276. package/dist/index214.cjs +1 -1
  277. package/dist/index214.js +9 -6
  278. package/dist/index215.cjs +1 -1
  279. package/dist/index215.js +4 -6
  280. package/dist/index216.cjs +1 -1
  281. package/dist/index216.js +42 -9
  282. package/dist/index217.cjs +1 -1
  283. package/dist/index217.js +386 -8
  284. package/dist/index218.cjs +1 -1
  285. package/dist/index218.js +37 -14
  286. package/dist/index219.cjs +1 -1
  287. package/dist/index219.js +22 -10
  288. package/dist/index22.cjs +1 -1
  289. package/dist/index22.js +367 -59
  290. package/dist/index220.cjs +1 -1
  291. package/dist/index220.js +57 -9
  292. package/dist/index221.cjs +1 -1
  293. package/dist/index221.js +39 -4
  294. package/dist/index222.cjs +1 -1
  295. package/dist/index222.js +116 -35
  296. package/dist/index223.cjs +1 -1
  297. package/dist/index223.js +85 -387
  298. package/dist/index224.cjs +1 -1
  299. package/dist/index224.js +87 -35
  300. package/dist/index225.cjs +1 -1
  301. package/dist/index225.js +116 -18
  302. package/dist/index226.cjs +1 -1
  303. package/dist/index226.js +97 -55
  304. package/dist/index227.cjs +1 -1
  305. package/dist/index227.js +154 -37
  306. package/dist/index228.cjs +1 -1
  307. package/dist/index228.js +76 -121
  308. package/dist/index229.cjs +9 -1
  309. package/dist/index229.js +588 -77
  310. package/dist/index23.cjs +1 -1
  311. package/dist/index23.js +212 -29
  312. package/dist/index230.cjs +1 -1
  313. package/dist/index230.js +64 -68
  314. package/dist/index231.cjs +1 -1
  315. package/dist/index231.js +42 -115
  316. package/dist/index232.cjs +1 -1
  317. package/dist/index232.js +65 -98
  318. package/dist/index233.cjs +1 -1
  319. package/dist/index233.js +48 -149
  320. package/dist/index234.cjs +1 -1
  321. package/dist/index234.js +98 -68
  322. package/dist/index235.cjs +1 -9
  323. package/dist/index235.js +214 -580
  324. package/dist/index236.cjs +1 -1
  325. package/dist/index236.js +29 -66
  326. package/dist/index237.cjs +1 -1
  327. package/dist/index237.js +23 -40
  328. package/dist/index238.cjs +1 -1
  329. package/dist/index238.js +55 -59
  330. package/dist/index239.cjs +1 -1
  331. package/dist/index239.js +419 -46
  332. package/dist/index24.cjs +1 -1
  333. package/dist/index24.js +200 -312
  334. package/dist/index240.cjs +1 -1
  335. package/dist/index240.js +30 -97
  336. package/dist/index241.cjs +1 -1
  337. package/dist/index241.js +205 -196
  338. package/dist/index25.cjs +1 -1
  339. package/dist/index25.js +228 -124
  340. package/dist/index26.cjs +1 -1
  341. package/dist/index26.js +161 -86
  342. package/dist/index27.cjs +1 -1
  343. package/dist/index27.js +89 -143
  344. package/dist/index28.cjs +1 -1
  345. package/dist/index28.js +140 -76
  346. package/dist/index29.cjs +1 -1
  347. package/dist/index29.js +92 -84
  348. package/dist/index30.cjs +1 -1
  349. package/dist/index30.js +84 -26
  350. package/dist/index31.cjs +1 -1
  351. package/dist/index31.js +26 -35
  352. package/dist/index32.cjs +1 -1
  353. package/dist/index32.js +39 -86
  354. package/dist/index33.cjs +1 -1
  355. package/dist/index33.js +84 -231
  356. package/dist/index34.cjs +1 -1
  357. package/dist/index34.js +234 -44
  358. package/dist/index35.cjs +1 -1
  359. package/dist/index35.js +39 -26
  360. package/dist/index36.cjs +1 -1
  361. package/dist/index36.js +30 -14
  362. package/dist/index37.cjs +1 -1
  363. package/dist/index37.js +14 -13
  364. package/dist/index38.cjs +1 -1
  365. package/dist/index38.js +13 -3
  366. package/dist/index39.cjs +1 -1
  367. package/dist/index39.js +4 -87
  368. package/dist/index40.cjs +1 -1
  369. package/dist/index40.js +83 -174
  370. package/dist/index41.cjs +1 -1
  371. package/dist/index41.js +66 -142
  372. package/dist/index42.cjs +1 -1
  373. package/dist/index42.js +217 -62
  374. package/dist/index43.cjs +1 -1
  375. package/dist/index43.js +135 -47
  376. package/dist/index44.cjs +1 -1
  377. package/dist/index44.js +47 -260
  378. package/dist/index45.cjs +1 -1
  379. package/dist/index45.js +273 -8
  380. package/dist/index46.cjs +1 -1
  381. package/dist/index46.js +7 -4
  382. package/dist/index47.cjs +1 -1
  383. package/dist/index47.js +4 -503
  384. package/dist/index48.cjs +1 -1
  385. package/dist/index48.js +472 -177
  386. package/dist/index49.cjs +1 -1
  387. package/dist/index49.js +205 -23
  388. package/dist/index50.cjs +1 -1
  389. package/dist/index50.js +21 -1008
  390. package/dist/index51.cjs +1 -1
  391. package/dist/index51.js +1014 -21
  392. package/dist/index52.cjs +1 -1
  393. package/dist/index52.js +22 -207
  394. package/dist/index53.cjs +1 -1
  395. package/dist/index53.js +181 -130
  396. package/dist/index54.cjs +1 -1
  397. package/dist/index54.js +132 -99
  398. package/dist/index55.cjs +1 -1
  399. package/dist/index55.js +123 -19
  400. package/dist/index56.cjs +1 -1
  401. package/dist/index56.js +17 -79
  402. package/dist/index57.cjs +1 -1
  403. package/dist/index57.js +75 -90
  404. package/dist/index58.cjs +1 -1
  405. package/dist/index58.js +91 -9
  406. package/dist/index59.cjs +1 -1
  407. package/dist/index59.js +12 -91
  408. package/dist/index6.cjs +1 -1
  409. package/dist/index6.js +62 -5
  410. package/dist/index60.cjs +1 -1
  411. package/dist/index60.js +92 -31
  412. package/dist/index61.cjs +1 -1
  413. package/dist/index61.js +29 -208
  414. package/dist/index62.cjs +1 -1
  415. package/dist/index62.js +123 -99
  416. package/dist/index63.cjs +1 -1
  417. package/dist/index63.js +17 -17
  418. package/dist/index64.cjs +1 -1
  419. package/dist/index64.js +28 -28
  420. package/dist/index65.cjs +1 -1
  421. package/dist/index65.js +30 -30
  422. package/dist/index67.cjs +1 -1
  423. package/dist/index67.js +11 -11
  424. package/dist/index7.cjs +1 -1
  425. package/dist/index7.js +22 -28
  426. package/dist/index73.cjs +1 -1
  427. package/dist/index73.js +1 -1
  428. package/dist/index74.cjs +1 -1
  429. package/dist/index74.js +20 -20
  430. package/dist/index75.cjs +1 -1
  431. package/dist/index75.js +7 -7
  432. package/dist/index77.cjs +1 -1
  433. package/dist/index77.js +28 -28
  434. package/dist/index8.cjs +1 -1
  435. package/dist/index8.js +28 -61
  436. package/dist/index9.cjs +1 -1
  437. package/dist/index9.js +60 -15
  438. package/dist/ui/accordion.d.ts.map +1 -1
  439. package/dist/ui/avatar.d.ts.map +1 -1
  440. package/dist/ui/breadcrumb.d.ts.map +1 -1
  441. package/dist/ui/button.d.ts.map +1 -1
  442. package/dist/ui/calendar.d.ts +1 -1
  443. package/dist/ui/calendar.d.ts.map +1 -1
  444. package/dist/ui/command.d.ts +1 -1
  445. package/dist/ui/command.d.ts.map +1 -1
  446. package/dist/ui/context-menu.d.ts.map +1 -1
  447. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  448. package/dist/ui/editable.d.ts.map +1 -1
  449. package/dist/ui/field.d.ts.map +1 -1
  450. package/dist/ui/form.d.ts.map +1 -1
  451. package/dist/ui/input-group.d.ts.map +1 -1
  452. package/dist/ui/input-otp.d.ts +1 -1
  453. package/dist/ui/input-otp.d.ts.map +1 -1
  454. package/dist/ui/item.d.ts.map +1 -1
  455. package/dist/ui/menubar.d.ts.map +1 -1
  456. package/dist/ui/pagination.d.ts +3 -1
  457. package/dist/ui/pagination.d.ts.map +1 -1
  458. package/dist/ui/toggle-group.d.ts +1 -1
  459. package/dist/ui/toggle-group.d.ts.map +1 -1
  460. package/dist/ui/toggle.d.ts +1 -1
  461. package/dist/ui/toggle.d.ts.map +1 -1
  462. package/dist/ui/useBreakpoint.d.ts +0 -4
  463. package/dist/ui/useBreakpoint.d.ts.map +1 -1
  464. package/package.json +1 -1
  465. package/dist/index242.cjs +0 -1
  466. package/dist/index242.js +0 -25
  467. package/dist/index243.cjs +0 -1
  468. package/dist/index243.js +0 -26
  469. package/dist/index244.cjs +0 -1
  470. package/dist/index244.js +0 -63
  471. package/dist/index245.cjs +0 -1
  472. package/dist/index245.js +0 -422
  473. package/dist/index246.cjs +0 -1
  474. package/dist/index246.js +0 -25
  475. package/dist/index247.cjs +0 -1
  476. package/dist/index247.js +0 -209
package/dist/index49.cjs CHANGED
@@ -1 +1 @@
1
- function e(e){return Object.prototype.toString.call(e)===`[object Object]`}function t(t){return e(t)||Array.isArray(t)}function n(){return!!(typeof window<`u`&&window.document&&window.document.createElement)}function r(e,n){let i=Object.keys(e),a=Object.keys(n);return i.length!==a.length||JSON.stringify(Object.keys(e.breakpoints||{}))!==JSON.stringify(Object.keys(n.breakpoints||{}))?!1:i.every(i=>{let a=e[i],o=n[i];return typeof a==`function`?`${a}`==`${o}`:!t(a)||!t(o)?a===o:r(a,o)})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function a(e,t){if(e.length!==t.length)return!1;let n=i(e),a=i(t);return n.every((e,t)=>{let n=a[t];return r(e,n)})}exports.areOptionsEqual=r,exports.arePluginsEqual=a,exports.canUseDOM=n,exports.sortAndMapPluginToOptions=i;
1
+ const e=require("./index2.cjs");let t=require("@stylexjs/stylex");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("react");r=e.__toESM(r,1);let i=require("react/compiler-runtime");var a={base:{kWkggS:`x1rexohn`,kMwMTN:`xk0jn7w`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kaIpWk:`x1f78wua`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kGVxlE:`x1dsmnui`,kOIVth:`xru8eyw`,k8WAf4:`x1yb22fu`,$$css:!0},variantDefault:{$$css:!0},variantGlass:{kWkggS:`xuqd5rh`,k6WDB:`x1dmgsgi`,$$css:!0},variantGlassStrong:{kWkggS:`x1so2dtn`,k6WDB:`xvn2z4z`,$$css:!0},variantElevated:{kMzoRj:`xc342km`,kGVxlE:`xymrrow`,k1ekBW:`x16n73rl`,kIyJzY:`x13dflua`,kwmNyF:`x1n3u82n`,kwh8RV:`xlyhkv7`,$$css:!0},variantElevatedGlass:{kMzoRj:`xc342km`,kWkggS:`x1so2dtn`,k6WDB:`xvn2z4z`,kGVxlE:`x1l59q01`,k1ekBW:`x16n73rl`,kIyJzY:`x13dflua`,kwmNyF:`x1a3imcw`,kwh8RV:`x1jdd2jz`,$$css:!0},variantAuth:{kzqmXN:`xh8yej3`,ks0D6T:`x1983rqf`,kUOVxO:`xvueqy4`,kWkggS:`xuqd5rh`,k6WDB:`x1na3us3`,kVAM5u:`xzu61vc`,kaIpWk:`xsx7z29`,kGVxlE:`x2sv03e`,$$css:!0},header:{k1xSpc:`xrvj5dj`,kGNEyG:`x7a106z`,kOIVth:`x13z6uf9`,kg3NbH:`xzsmjar`,$$css:!0},title:{kLWn49:`xo5v014`,k63SB2:`x1s688f`,kGuDYH:`x1603h9y`,kb6lSQ:`x1w69ole`,$$css:!0},description:{kMwMTN:`xw3nh4a`,kGuDYH:`xkpwil5`,$$css:!0},action:{kEXP64:`x1xdureb`,kbNqZ1:`xa1s216`,kSGwAc:`x1y8v6su`,kFhvOy:`x1qab1bc`,$$css:!0},content:{kg3NbH:`xzsmjar`,$$css:!0},footer:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kg3NbH:`xzsmjar`,$$css:!0}},o={default:a.variantDefault,glass:a.variantGlass,"glass-strong":a.variantGlassStrong,elevated:a.variantElevated,"elevated-glass":a.variantElevatedGlass,auth:a.variantAuth};function s({className:e,variant:r=`default`,sx:i,...s}){let c=t.props(a.base,o[r],i);return(0,n.jsx)(`div`,{"data-slot":`card`,"data-variant":r,...c,className:e?`${c.className||``} ${e}`.trim():c.className,...s})}function c(e){let r=(0,i.c)(13),o,s,c;r[0]===e?(o=r[1],s=r[2],c=r[3]):({className:o,sx:c,...s}=e,r[0]=e,r[1]=o,r[2]=s,r[3]=c);let l;r[4]===c?l=r[5]:(l=t.props(a.header,c),r[4]=c,r[5]=l);let u=l,d;r[6]!==o||r[7]!==u.className?(d=o?`${u.className||``} ${o}`.trim():u.className,r[6]=o,r[7]=u.className,r[8]=d):d=r[8];let f;return r[9]!==s||r[10]!==u||r[11]!==d?(f=(0,n.jsx)(`div`,{"data-slot":`card-header`,...u,className:d,...s}),r[9]=s,r[10]=u,r[11]=d,r[12]=f):f=r[12],f}function l(e){let r=(0,i.c)(13),o,s,c;r[0]===e?(o=r[1],s=r[2],c=r[3]):({className:o,sx:c,...s}=e,r[0]=e,r[1]=o,r[2]=s,r[3]=c);let l;r[4]===c?l=r[5]:(l=t.props(a.title,c),r[4]=c,r[5]=l);let u=l,d;r[6]!==o||r[7]!==u.className?(d=o?`${u.className||``} ${o}`.trim():u.className,r[6]=o,r[7]=u.className,r[8]=d):d=r[8];let f;return r[9]!==s||r[10]!==u||r[11]!==d?(f=(0,n.jsx)(`div`,{"data-slot":`card-title`,...u,className:d,...s}),r[9]=s,r[10]=u,r[11]=d,r[12]=f):f=r[12],f}function u(e){let r=(0,i.c)(13),o,s,c;r[0]===e?(o=r[1],s=r[2],c=r[3]):({className:o,sx:c,...s}=e,r[0]=e,r[1]=o,r[2]=s,r[3]=c);let l;r[4]===c?l=r[5]:(l=t.props(a.description,c),r[4]=c,r[5]=l);let u=l,d;r[6]!==o||r[7]!==u.className?(d=o?`${u.className||``} ${o}`.trim():u.className,r[6]=o,r[7]=u.className,r[8]=d):d=r[8];let f;return r[9]!==s||r[10]!==u||r[11]!==d?(f=(0,n.jsx)(`div`,{"data-slot":`card-description`,...u,className:d,...s}),r[9]=s,r[10]=u,r[11]=d,r[12]=f):f=r[12],f}function d(e){let r=(0,i.c)(13),o,s,c;r[0]===e?(o=r[1],s=r[2],c=r[3]):({className:o,sx:c,...s}=e,r[0]=e,r[1]=o,r[2]=s,r[3]=c);let l;r[4]===c?l=r[5]:(l=t.props(a.action,c),r[4]=c,r[5]=l);let u=l,d;r[6]!==o||r[7]!==u.className?(d=o?`${u.className||``} ${o}`.trim():u.className,r[6]=o,r[7]=u.className,r[8]=d):d=r[8];let f;return r[9]!==s||r[10]!==u||r[11]!==d?(f=(0,n.jsx)(`div`,{"data-slot":`card-action`,...u,className:d,...s}),r[9]=s,r[10]=u,r[11]=d,r[12]=f):f=r[12],f}function f(e){let r=(0,i.c)(13),o,s,c;r[0]===e?(o=r[1],s=r[2],c=r[3]):({className:o,sx:c,...s}=e,r[0]=e,r[1]=o,r[2]=s,r[3]=c);let l;r[4]===c?l=r[5]:(l=t.props(a.content,c),r[4]=c,r[5]=l);let u=l,d;r[6]!==o||r[7]!==u.className?(d=o?`${u.className||``} ${o}`.trim():u.className,r[6]=o,r[7]=u.className,r[8]=d):d=r[8];let f;return r[9]!==s||r[10]!==u||r[11]!==d?(f=(0,n.jsx)(`div`,{"data-slot":`card-content`,...u,className:d,...s}),r[9]=s,r[10]=u,r[11]=d,r[12]=f):f=r[12],f}function p(e){let r=(0,i.c)(13),o,s,c;r[0]===e?(o=r[1],s=r[2],c=r[3]):({className:o,sx:c,...s}=e,r[0]=e,r[1]=o,r[2]=s,r[3]=c);let l;r[4]===c?l=r[5]:(l=t.props(a.footer,c),r[4]=c,r[5]=l);let u=l,d;r[6]!==o||r[7]!==u.className?(d=o?`${u.className||``} ${o}`.trim():u.className,r[6]=o,r[7]=u.className,r[8]=d):d=r[8];let f;return r[9]!==s||r[10]!==u||r[11]!==d?(f=(0,n.jsx)(`div`,{"data-slot":`card-footer`,...u,className:d,...s}),r[9]=s,r[10]=u,r[11]=d,r[12]=f):f=r[12],f}function m(e){let n=e?.variant||`default`;return t.props(a.base,o[n]).className||``}exports.Card=s,exports.CardAction=d,exports.CardContent=f,exports.CardDescription=u,exports.CardFooter=p,exports.CardHeader=c,exports.CardTitle=l,exports.cardVariants=m;
package/dist/index49.js CHANGED
@@ -1,29 +1,211 @@
1
- // ../../node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js
2
- function e(e) {
3
- return Object.prototype.toString.call(e) === "[object Object]";
1
+ import * as e from "@stylexjs/stylex";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import "react";
4
+ import { c as n } from "react/compiler-runtime";
5
+ // src/ui/card.tsx
6
+ var r = {
7
+ base: {
8
+ kWkggS: "x1rexohn",
9
+ kMwMTN: "xk0jn7w",
10
+ k1xSpc: "x78zum5",
11
+ kXwgrk: "xdt5ytf",
12
+ kaIpWk: "x1f78wua",
13
+ kMzoRj: "xmkeg23",
14
+ ksu8eU: "x1y0btm7",
15
+ kVAM5u: "xb30jbz",
16
+ kGVxlE: "x1dsmnui",
17
+ kOIVth: "xru8eyw",
18
+ k8WAf4: "x1yb22fu",
19
+ $$css: !0
20
+ },
21
+ variantDefault: { $$css: !0 },
22
+ variantGlass: {
23
+ kWkggS: "xuqd5rh",
24
+ k6WDB: "x1dmgsgi",
25
+ $$css: !0
26
+ },
27
+ variantGlassStrong: {
28
+ kWkggS: "x1so2dtn",
29
+ k6WDB: "xvn2z4z",
30
+ $$css: !0
31
+ },
32
+ variantElevated: {
33
+ kMzoRj: "xc342km",
34
+ kGVxlE: "xymrrow",
35
+ k1ekBW: "x16n73rl",
36
+ kIyJzY: "x13dflua",
37
+ kwmNyF: "x1n3u82n",
38
+ kwh8RV: "xlyhkv7",
39
+ $$css: !0
40
+ },
41
+ variantElevatedGlass: {
42
+ kMzoRj: "xc342km",
43
+ kWkggS: "x1so2dtn",
44
+ k6WDB: "xvn2z4z",
45
+ kGVxlE: "x1l59q01",
46
+ k1ekBW: "x16n73rl",
47
+ kIyJzY: "x13dflua",
48
+ kwmNyF: "x1a3imcw",
49
+ kwh8RV: "x1jdd2jz",
50
+ $$css: !0
51
+ },
52
+ variantAuth: {
53
+ kzqmXN: "xh8yej3",
54
+ ks0D6T: "x1983rqf",
55
+ kUOVxO: "xvueqy4",
56
+ kWkggS: "xuqd5rh",
57
+ k6WDB: "x1na3us3",
58
+ kVAM5u: "xzu61vc",
59
+ kaIpWk: "xsx7z29",
60
+ kGVxlE: "x2sv03e",
61
+ $$css: !0
62
+ },
63
+ header: {
64
+ k1xSpc: "xrvj5dj",
65
+ kGNEyG: "x7a106z",
66
+ kOIVth: "x13z6uf9",
67
+ kg3NbH: "xzsmjar",
68
+ $$css: !0
69
+ },
70
+ title: {
71
+ kLWn49: "xo5v014",
72
+ k63SB2: "x1s688f",
73
+ kGuDYH: "x1603h9y",
74
+ kb6lSQ: "x1w69ole",
75
+ $$css: !0
76
+ },
77
+ description: {
78
+ kMwMTN: "xw3nh4a",
79
+ kGuDYH: "xkpwil5",
80
+ $$css: !0
81
+ },
82
+ action: {
83
+ kEXP64: "x1xdureb",
84
+ kbNqZ1: "xa1s216",
85
+ kSGwAc: "x1y8v6su",
86
+ kFhvOy: "x1qab1bc",
87
+ $$css: !0
88
+ },
89
+ content: {
90
+ kg3NbH: "xzsmjar",
91
+ $$css: !0
92
+ },
93
+ footer: {
94
+ k1xSpc: "x78zum5",
95
+ kGNEyG: "x6s0dn4",
96
+ kg3NbH: "xzsmjar",
97
+ $$css: !0
98
+ }
99
+ }, i = {
100
+ default: r.variantDefault,
101
+ glass: r.variantGlass,
102
+ "glass-strong": r.variantGlassStrong,
103
+ elevated: r.variantElevated,
104
+ "elevated-glass": r.variantElevatedGlass,
105
+ auth: r.variantAuth
106
+ };
107
+ function a({ className: n, variant: a = "default", sx: o, ...s }) {
108
+ let c = e.props(r.base, i[a], o);
109
+ return /* @__PURE__ */ t("div", {
110
+ "data-slot": "card",
111
+ "data-variant": a,
112
+ ...c,
113
+ className: n ? `${c.className || ""} ${n}`.trim() : c.className,
114
+ ...s
115
+ });
4
116
  }
5
- function t(t) {
6
- return e(t) || Array.isArray(t);
117
+ function o(i) {
118
+ let a = n(13), o, s, c;
119
+ a[0] === i ? (o = a[1], s = a[2], c = a[3]) : ({className: o, sx: c, ...s} = i, a[0] = i, a[1] = o, a[2] = s, a[3] = c);
120
+ let l;
121
+ a[4] === c ? l = a[5] : (l = e.props(r.header, c), a[4] = c, a[5] = l);
122
+ let u = l, d;
123
+ a[6] !== o || a[7] !== u.className ? (d = o ? `${u.className || ""} ${o}`.trim() : u.className, a[6] = o, a[7] = u.className, a[8] = d) : d = a[8];
124
+ let f;
125
+ return a[9] !== s || a[10] !== u || a[11] !== d ? (f = /* @__PURE__ */ t("div", {
126
+ "data-slot": "card-header",
127
+ ...u,
128
+ className: d,
129
+ ...s
130
+ }), a[9] = s, a[10] = u, a[11] = d, a[12] = f) : f = a[12], f;
7
131
  }
8
- function n() {
9
- return !!(typeof window < "u" && window.document && window.document.createElement);
132
+ function s(i) {
133
+ let a = n(13), o, s, c;
134
+ a[0] === i ? (o = a[1], s = a[2], c = a[3]) : ({className: o, sx: c, ...s} = i, a[0] = i, a[1] = o, a[2] = s, a[3] = c);
135
+ let l;
136
+ a[4] === c ? l = a[5] : (l = e.props(r.title, c), a[4] = c, a[5] = l);
137
+ let u = l, d;
138
+ a[6] !== o || a[7] !== u.className ? (d = o ? `${u.className || ""} ${o}`.trim() : u.className, a[6] = o, a[7] = u.className, a[8] = d) : d = a[8];
139
+ let f;
140
+ return a[9] !== s || a[10] !== u || a[11] !== d ? (f = /* @__PURE__ */ t("div", {
141
+ "data-slot": "card-title",
142
+ ...u,
143
+ className: d,
144
+ ...s
145
+ }), a[9] = s, a[10] = u, a[11] = d, a[12] = f) : f = a[12], f;
10
146
  }
11
- function r(e, n) {
12
- let i = Object.keys(e), a = Object.keys(n);
13
- return i.length !== a.length || JSON.stringify(Object.keys(e.breakpoints || {})) !== JSON.stringify(Object.keys(n.breakpoints || {})) ? !1 : i.every((i) => {
14
- let a = e[i], o = n[i];
15
- return typeof a == "function" ? `${a}` == `${o}` : !t(a) || !t(o) ? a === o : r(a, o);
16
- });
147
+ function c(i) {
148
+ let a = n(13), o, s, c;
149
+ a[0] === i ? (o = a[1], s = a[2], c = a[3]) : ({className: o, sx: c, ...s} = i, a[0] = i, a[1] = o, a[2] = s, a[3] = c);
150
+ let l;
151
+ a[4] === c ? l = a[5] : (l = e.props(r.description, c), a[4] = c, a[5] = l);
152
+ let u = l, d;
153
+ a[6] !== o || a[7] !== u.className ? (d = o ? `${u.className || ""} ${o}`.trim() : u.className, a[6] = o, a[7] = u.className, a[8] = d) : d = a[8];
154
+ let f;
155
+ return a[9] !== s || a[10] !== u || a[11] !== d ? (f = /* @__PURE__ */ t("div", {
156
+ "data-slot": "card-description",
157
+ ...u,
158
+ className: d,
159
+ ...s
160
+ }), a[9] = s, a[10] = u, a[11] = d, a[12] = f) : f = a[12], f;
17
161
  }
18
- function i(e) {
19
- return e.concat().sort((e, t) => e.name > t.name ? 1 : -1).map((e) => e.options);
162
+ function l(i) {
163
+ let a = n(13), o, s, c;
164
+ a[0] === i ? (o = a[1], s = a[2], c = a[3]) : ({className: o, sx: c, ...s} = i, a[0] = i, a[1] = o, a[2] = s, a[3] = c);
165
+ let l;
166
+ a[4] === c ? l = a[5] : (l = e.props(r.action, c), a[4] = c, a[5] = l);
167
+ let u = l, d;
168
+ a[6] !== o || a[7] !== u.className ? (d = o ? `${u.className || ""} ${o}`.trim() : u.className, a[6] = o, a[7] = u.className, a[8] = d) : d = a[8];
169
+ let f;
170
+ return a[9] !== s || a[10] !== u || a[11] !== d ? (f = /* @__PURE__ */ t("div", {
171
+ "data-slot": "card-action",
172
+ ...u,
173
+ className: d,
174
+ ...s
175
+ }), a[9] = s, a[10] = u, a[11] = d, a[12] = f) : f = a[12], f;
20
176
  }
21
- function a(e, t) {
22
- if (e.length !== t.length) return !1;
23
- let n = i(e), a = i(t);
24
- return n.every((e, t) => {
25
- let n = a[t];
26
- return r(e, n);
27
- });
177
+ function u(i) {
178
+ let a = n(13), o, s, c;
179
+ a[0] === i ? (o = a[1], s = a[2], c = a[3]) : ({className: o, sx: c, ...s} = i, a[0] = i, a[1] = o, a[2] = s, a[3] = c);
180
+ let l;
181
+ a[4] === c ? l = a[5] : (l = e.props(r.content, c), a[4] = c, a[5] = l);
182
+ let u = l, d;
183
+ a[6] !== o || a[7] !== u.className ? (d = o ? `${u.className || ""} ${o}`.trim() : u.className, a[6] = o, a[7] = u.className, a[8] = d) : d = a[8];
184
+ let f;
185
+ return a[9] !== s || a[10] !== u || a[11] !== d ? (f = /* @__PURE__ */ t("div", {
186
+ "data-slot": "card-content",
187
+ ...u,
188
+ className: d,
189
+ ...s
190
+ }), a[9] = s, a[10] = u, a[11] = d, a[12] = f) : f = a[12], f;
191
+ }
192
+ function d(i) {
193
+ let a = n(13), o, s, c;
194
+ a[0] === i ? (o = a[1], s = a[2], c = a[3]) : ({className: o, sx: c, ...s} = i, a[0] = i, a[1] = o, a[2] = s, a[3] = c);
195
+ let l;
196
+ a[4] === c ? l = a[5] : (l = e.props(r.footer, c), a[4] = c, a[5] = l);
197
+ let u = l, d;
198
+ a[6] !== o || a[7] !== u.className ? (d = o ? `${u.className || ""} ${o}`.trim() : u.className, a[6] = o, a[7] = u.className, a[8] = d) : d = a[8];
199
+ let f;
200
+ return a[9] !== s || a[10] !== u || a[11] !== d ? (f = /* @__PURE__ */ t("div", {
201
+ "data-slot": "card-footer",
202
+ ...u,
203
+ className: d,
204
+ ...s
205
+ }), a[9] = s, a[10] = u, a[11] = d, a[12] = f) : f = a[12], f;
206
+ }
207
+ function f(t) {
208
+ let n = t?.variant || "default";
209
+ return e.props(r.base, i[n]).className || "";
28
210
  }
29
- export { r as areOptionsEqual, a as arePluginsEqual, n as canUseDOM, i as sortAndMapPluginToOptions };
211
+ export { a as Card, l as CardAction, u as CardContent, c as CardDescription, d as CardFooter, o as CardHeader, s as CardTitle, f as cardVariants };
package/dist/index50.cjs CHANGED
@@ -1 +1 @@
1
- function e(e){return typeof e==`number`}function t(e){return typeof e==`string`}function n(e){return typeof e==`boolean`}function r(e){return Object.prototype.toString.call(e)===`[object Object]`}function i(e){return Math.abs(e)}function a(e){return Math.sign(e)}function o(e,t){return i(e-t)}function s(e,t){return e===0||t===0||i(e)<=i(t)?0:i(o(i(e),i(t))/e)}function c(e){return Math.round(e*100)/100}function l(e){return m(e).map(Number)}function u(e){return e[d(e)]}function d(e){return Math.max(0,e.length-1)}function f(e,t){return t===d(e)}function p(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function m(e){return Object.keys(e)}function h(e,t){return[e,t].reduce((e,t)=>(m(t).forEach(n=>{let i=e[n],a=t[n];e[n]=r(i)&&r(a)?h(i,a):a}),e),{})}function g(e,t){return t.MouseEvent!==void 0&&e instanceof t.MouseEvent}function _(e,n){let r={start:i,center:a,end:o};function i(){return 0}function a(e){return o(e)/2}function o(e){return n-e}function s(i,a){return t(e)?r[e](i):e(n,i,a)}return{measure:s}}function v(){let e=[];function t(t,n,i,a={passive:!0}){let o;if(`addEventListener`in t)t.addEventListener(n,i,a),o=()=>t.removeEventListener(n,i,a);else{let e=t;e.addListener(i),o=()=>e.removeListener(i)}return e.push(o),r}function n(){e=e.filter(e=>e())}let r={add:t,clear:n};return r}function y(e,t,n,r){let i=v(),a=1e3/60,o=null,s=0,c=0;function l(){i.add(e,`visibilitychange`,()=>{e.hidden&&m()})}function u(){p(),i.clear()}function d(e){if(!c)return;o||(o=e,n(),n());let i=e-o;for(o=e,s+=i;s>=a;)n(),s-=a;r(s/a),c&&=t.requestAnimationFrame(d)}function f(){c||=t.requestAnimationFrame(d)}function p(){t.cancelAnimationFrame(c),o=null,s=0,c=0}function m(){o=null,s=0}return{init:l,destroy:u,start:f,stop:p,update:n,render:r}}function b(e,t){let n=t===`rtl`,r=e===`y`,i=r?`y`:`x`,a=r?`x`:`y`,o=!r&&n?-1:1,s=u(),c=d();function l(e){let{height:t,width:n}=e;return r?t:n}function u(){return r?`top`:n?`right`:`left`}function d(){return r?`bottom`:n?`left`:`right`}function f(e){return e*o}return{scroll:i,cross:a,startEdge:s,endEdge:c,measureSize:l,direction:f}}function x(e=0,t=0){let n=i(e-t);function r(t){return t<e}function a(e){return e>t}function o(e){return r(e)||a(e)}function s(n){return o(n)?r(n)?e:t:n}function c(e){return n?e-n*Math.ceil((e-t)/n):e}return{length:n,max:t,min:e,constrain:s,reachedAny:o,reachedMax:a,reachedMin:r,removeOffset:c}}function S(e,t,n){let{constrain:r}=x(0,e),a=e+1,o=s(t);function s(e){return n?i((a+e)%a):r(e)}function c(){return o}function l(e){return o=s(e),f}function u(e){return d().set(c()+e)}function d(){return S(e,c(),n)}let f={get:c,set:l,add:u,clone:d};return f}function C(e,t,r,c,l,u,d,f,p,m,h,_,y,b,S,C,w,T,E){let{cross:D,direction:O}=e,k=[`INPUT`,`SELECT`,`TEXTAREA`],A={passive:!1},j=v(),M=v(),ee=x(50,225).constrain(b.measure(20)),te={mouse:300,touch:400},ne={mouse:500,touch:600},re=S?43:25,ie=!1,N=0,P=0,F=!1,I=!1,L=!1,R=!1;function ae(e){if(!E)return;function r(t){(n(E)||E(e,t))&&ue(t)}let i=t;j.add(i,`dragstart`,e=>e.preventDefault(),A).add(i,`touchmove`,()=>void 0,A).add(i,`touchend`,()=>void 0).add(i,`touchstart`,r).add(i,`mousedown`,r).add(i,`touchcancel`,V).add(i,`contextmenu`,V).add(i,`click`,de,!0)}function oe(){j.clear(),M.clear()}function se(){let e=R?r:t;M.add(e,`touchmove`,B,A).add(e,`touchend`,V).add(e,`mousemove`,B,A).add(e,`mouseup`,V)}function ce(e){let t=e.nodeName||``;return k.includes(t)}function le(){return(S?ne:te)[R?`mouse`:`touch`]}function z(e,t){let n=_.add(a(e)*-1),r=h.byDistance(e,!S).distance;return S||i(e)<ee?r:w&&t?r*.5:h.byIndex(n.get(),0).distance}function ue(e){let t=g(e,c);R=t,L=S&&t&&!e.buttons&&ie,ie=o(l.get(),d.get())>=2,t&&e.button!==0||ce(e.target)||(F=!0,u.pointerDown(e),m.useFriction(0).useDuration(0),l.set(d),se(),N=u.readPoint(e),P=u.readPoint(e,D),y.emit(`pointerDown`))}function B(e){if(!g(e,c)&&e.touches.length>=2)return V(e);let t=u.readPoint(e),n=u.readPoint(e,D),r=o(t,N),i=o(n,P);if(!I&&!R&&(!e.cancelable||(I=r>i,!I)))return V(e);let a=u.pointerMove(e);r>C&&(L=!0),m.useFriction(.3).useDuration(.75),f.start(),l.add(O(a)),e.preventDefault()}function V(e){let t=h.byDistance(0,!1).index!==_.get(),n=u.pointerUp(e)*le(),r=z(O(n),t),i=s(n,r),a=re-10*i,o=T+i/50;I=!1,F=!1,M.clear(),m.useDuration(a).useFriction(o),p.distance(r,!S),R=!1,y.emit(`pointerUp`)}function de(e){L&&=(e.stopPropagation(),e.preventDefault(),!1)}function H(){return F}return{init:ae,destroy:oe,pointerDown:H}}function w(e,t){let n,r;function a(e){return e.timeStamp}function o(n,r){let i=`client${(r||e.scroll)===`x`?`X`:`Y`}`;return(g(n,t)?n:n.touches[0])[i]}function s(e){return n=e,r=e,o(e)}function c(e){let t=o(e)-o(r),i=a(e)-a(n)>170;return r=e,i&&(n=e),t}function l(e){if(!n||!r)return 0;let t=o(r)-o(n),s=a(e)-a(n),c=a(e)-a(r)>170,l=t/s;return s&&!c&&i(l)>.1?l:0}return{pointerDown:s,pointerMove:c,pointerUp:l,readPoint:o}}function T(){function e(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}return{measure:e}}function E(e){function t(t){return t/100*e}return{measure:t}}function D(e,t,r,a,o,s,c){let l=[e].concat(a),u,d,f=[],p=!1;function m(e){return o.measureSize(c.measure(e))}function h(o){if(!s)return;d=m(e),f=a.map(m);function c(n){for(let r of n){if(p)return;let n=r.target===e,s=a.indexOf(r.target),c=n?d:f[s];if(i(m(n?e:a[s])-c)>=.5){o.reInit(),t.emit(`resize`);break}}}u=new ResizeObserver(e=>{(n(s)||s(o,e))&&c(e)}),r.requestAnimationFrame(()=>{l.forEach(e=>u.observe(e))})}function g(){p=!0,u&&u.disconnect()}return{init:h,destroy:g}}function O(e,t,n,r,o,s){let c=0,l=0,u=o,d=s,f=e.get(),p=0;function m(){let t=r.get()-e.get(),i=!u,o=0;return i?(c=0,n.set(r),e.set(r),o=t):(n.set(e),c+=t/u,c*=d,f+=c,e.add(c),o=f-p),l=a(o),p=f,C}function h(){return i(r.get()-t.get())<.001}function g(){return u}function _(){return l}function v(){return c}function y(){return x(o)}function b(){return S(s)}function x(e){return u=e,C}function S(e){return d=e,C}let C={direction:_,duration:g,velocity:v,seek:m,settled:h,useBaseFriction:b,useBaseDuration:y,useFriction:S,useDuration:x};return C}function k(e,t,n,r,a){let o=a.measure(10),s=a.measure(50),c=x(.1,.99),l=!1;function u(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function d(a){if(!u())return;let l=i(e[e.reachedMin(t.get())?`min`:`max`]-t.get()),d=n.get()-t.get(),f=c.constrain(l/s);n.subtract(d*f),!a&&i(d)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(e){l=!e}return{shouldConstrain:u,constrain:d,toggleActive:f}}function A(e,t,n,r,i){let a=x(-t+e,0),s=m(),c=p(),l=h();function d(e,t){return o(e,t)<=1}function p(){let e=s[0],t=u(s);return x(s.lastIndexOf(e),s.indexOf(t)+1)}function m(){return n.map((e,t)=>{let{min:r,max:i}=a,o=a.constrain(e),s=!t,c=f(n,t);return s?i:c||d(r,o)?r:d(i,o)?i:o}).map(e=>parseFloat(e.toFixed(3)))}function h(){if(t<=e+i)return[a.max];if(r===`keepSnaps`)return s;let{min:n,max:o}=c;return s.slice(n,o)}return{snapsContained:l,scrollContainLimit:c}}function j(e,t,n){let r=t[0];return{limit:x(n?r-e:u(t),r)}}function M(e,t,n,r){let i=.1,{reachedMin:a,reachedMax:o}=x(t.min+i,t.max+i);function s(e){return e===1?o(n.get()):e===-1&&a(n.get())}function c(t){if(!s(t))return;let n=t*-1*e;r.forEach(e=>e.add(n))}return{loop:c}}function ee(e){let{max:t,length:n}=e;function r(e){let r=e-t;return n?r/-n:0}return{get:r}}function te(e,t,n,r,a){let{startEdge:o,endEdge:s}=e,{groupSlides:c}=a,l=p().map(t.measure),d=m(),f=h();function p(){return c(r).map(e=>u(e)[s]-e[0][o]).map(i)}function m(){return r.map(e=>n[o]-e[o]).map(e=>-i(e))}function h(){return c(d).map(e=>e[0]).map((e,t)=>e+l[t])}return{snaps:d,snapsAligned:f}}function ne(e,t,n,r,i,a){let{groupSlides:o}=i,{min:s,max:c}=r,l=m();function m(){let r=o(a),i=!e||t===`keepSnaps`;return n.length===1?[a]:i?r:r.slice(s,c).map((e,t,n)=>{let r=!t,i=f(n,t);return r?p(u(n[0])+1):i?p(d(a)-u(n)[0]+1,u(n)[0]):e})}return{slideRegistry:l}}function re(e,t,n,r,o){let{reachedAny:s,removeOffset:c,constrain:l}=r;function d(e){return e.concat().sort((e,t)=>i(e)-i(t))[0]}function f(n){let r=e?c(n):l(n),{index:a}=t.map((e,t)=>({diff:p(e-r,0),index:t})).sort((e,t)=>i(e.diff)-i(t.diff))[0];return{index:a,distance:r}}function p(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return d(i);let o=i.filter(e=>a(e)===r);return o.length?d(o):u(i)-n}function m(e,n){return{index:e,distance:p(t[e]-o.get(),n)}}function h(n,r){let i=o.get()+n,{index:a,distance:c}=f(i),l=!e&&s(i);return!r||l?{index:a,distance:n}:{index:a,distance:n+p(t[a]-c,0)}}return{byDistance:h,byIndex:m,shortcut:p}}function ie(e,t,n,r,i,a,o){function s(i){let s=i.distance,c=i.index!==t.get();a.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),o.emit(`select`))}function c(e,t){s(i.byDistance(e,t))}function l(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}return{distance:c,index:l}}function N(t,r,i,a,o,s,c,l){let u={passive:!0,capture:!0},d=0;function f(f){if(!l)return;function m(n){if(new Date().getTime()-d>10)return;c.emit(`slideFocusStart`),t.scrollLeft=0;let r=i.findIndex(e=>e.includes(n));e(r)&&(o.useDuration(0),a.index(r,0),c.emit(`slideFocus`))}s.add(document,`keydown`,p,!1),r.forEach((e,t)=>{s.add(e,`focus`,e=>{(n(l)||l(f,e))&&m(t)},u)})}function p(e){e.code===`Tab`&&(d=new Date().getTime())}return{init:f}}function P(t){let n=t;function r(){return n}function i(e){n=s(e)}function a(e){n+=s(e)}function o(e){n-=s(e)}function s(t){return e(t)?t:t.get()}return{get:r,set:i,add:a,subtract:o}}function F(e,t){let n=e.scroll===`x`?o:s,r=t.style,i=null,a=!1;function o(e){return`translate3d(${e}px,0px,0px)`}function s(e){return`translate3d(0px,${e}px,0px)`}function l(t){if(a)return;let o=c(e.direction(t));o!==i&&(r.transform=n(o),i=o)}function u(e){a=!e}function d(){a||(r.transform=``,t.getAttribute(`style`)||t.removeAttribute(`style`))}return{clear:d,to:l,toggleActive:u}}function I(e,t,n,r,i,a,o,s,c){let u=.5,d=l(i),f=l(i).reverse(),p=v().concat(y());function m(e,t){return e.reduce((e,t)=>e-i[t],t)}function h(e,t){return e.reduce((e,n)=>m(e,t)>0?e.concat([n]):e,[])}function g(e){return a.map((n,i)=>({start:n-r[i]+u+e,end:n+t-u+e}))}function _(t,r,i){let a=g(r);return t.map(t=>{let r=i?0:-n,o=i?n:0,l=i?`end`:`start`,u=a[t][l];return{index:t,loopPoint:u,slideLocation:P(-1),translate:F(e,c[t]),target:()=>s.get()>u?r:o}})}function v(){let e=o[0];return _(h(f,e),n,!1)}function y(){let e=t-o[0]-1;return _(h(d,e),-n,!0)}function b(){return p.every(({index:e})=>m(d.filter(t=>t!==e),t)<=.1)}function x(){p.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})}function S(){p.forEach(e=>e.translate.clear())}return{canLoop:b,clear:S,loop:x,loopPoints:p}}function L(e,t,r){let i,a=!1;function o(o){if(!r)return;function s(e){for(let n of e)if(n.type===`childList`){o.reInit(),t.emit(`slidesChanged`);break}}i=new MutationObserver(e=>{a||(n(r)||r(o,e))&&s(e)}),i.observe(e,{childList:!0})}function s(){i&&i.disconnect(),a=!0}return{init:o,destroy:s}}function R(e,t,n,r){let i={},a=null,o=null,s,c=!1;function l(){s=new IntersectionObserver(e=>{c||(e.forEach(e=>{let n=t.indexOf(e.target);i[n]=e}),a=null,o=null,n.emit(`slidesInView`))},{root:e.parentElement,threshold:r}),t.forEach(e=>s.observe(e))}function u(){s&&s.disconnect(),c=!0}function d(e){return m(i).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:a}=i[r];return(e&&a||!e&&!a)&&t.push(r),t},[])}function f(e=!0){if(e&&a)return a;if(!e&&o)return o;let t=d(e);return e&&(a=t),e||(o=t),t}return{init:l,destroy:u,get:f}}function ae(e,t,n,r,a,o){let{measureSize:s,startEdge:c,endEdge:l}=e,d=n[0]&&a,p=_(),m=v(),h=n.map(s),g=y();function _(){if(!d)return 0;let e=n[0];return i(t[c]-e[c])}function v(){if(!d)return 0;let e=o.getComputedStyle(u(r));return parseFloat(e.getPropertyValue(`margin-${l}`))}function y(){return n.map((e,t,n)=>{let r=!t,i=f(n,t);return r?h[t]+p:i?h[t]+m:n[t+1][c]-e[c]}).map(i)}return{slideSizes:h,slideSizesWithGaps:g,startGap:p,endGap:m}}function oe(t,n,r,a,o,s,c,f,p){let{startEdge:m,endEdge:h,direction:g}=t,_=e(r);function v(e,t){return l(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}function y(e){return e.length?l(e).reduce((t,r,l)=>{let _=u(t)||0,v=_===0,y=r===d(e),b=o[m]-s[_][m],x=o[m]-s[r][h],S=!a&&v?g(c):0,C=i(x-(!a&&y?g(f):0)-(b+S));return l&&C>n+p&&t.push(r),y&&t.push(e.length),t},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}function b(e){return _?v(e,r):y(e)}return{groupSlides:b}}function se(e,t,n,r,i,a,o){let{align:s,axis:c,direction:f,startIndex:p,loop:m,duration:h,dragFree:g,dragThreshold:x,inViewThreshold:se,slidesToScroll:ce,skipSnaps:le,containScroll:z,watchResize:ue,watchSlides:B,watchDrag:V,watchFocus:de}=a,H=T(),U=H.measure(t),fe=n.map(H.measure),W=b(c,f),G=W.measureSize(U),pe=E(G),me=_(s,G),he=!m&&!!z,{slideSizes:ge,slideSizesWithGaps:_e,startGap:ve,endGap:ye}=ae(W,U,fe,n,m||!!z,i),be=oe(W,G,ce,m,U,fe,ve,ye,2),{snaps:xe,snapsAligned:Se}=te(W,me,U,fe,be),K=-u(xe)+u(_e),{snapsContained:Ce,scrollContainLimit:we}=A(G,K,Se,z,2),q=he?Ce:Se,{limit:J}=j(K,q,m),Y=S(d(q),p,m),Te=Y.clone(),Ee=l(n),De=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()},Oe=({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:a,slideLooper:o,dragHandler:s,animation:c,eventHandler:l,scrollBounds:u,options:{loop:d}},f)=>{let p=e.settled(),m=!u.shouldConstrain(),h=d?p:p&&m,g=h&&!s.pointerDown();g&&c.stop();let _=n.get()*f+i.get()*(1-f);r.set(_),d&&(a.loop(e.direction()),o.loop()),t.to(r.get()),g&&l.emit(`settle`),h||l.emit(`scroll`)},ke=y(r,i,()=>De(Be),e=>Oe(Be,e)),Ae=.68,X=q[Y.get()],je=P(X),Me=P(X),Z=P(X),Q=P(X),$=O(je,Z,Me,Q,h,Ae),Ne=re(m,q,K,J,Q),Pe=ie(ke,Y,Te,$,Ne,Q,o),Fe=ee(J),Ie=v(),Le=R(t,n,o,se),{slideRegistry:Re}=ne(he,z,q,we,be,Ee),ze=N(e,n,Re,Pe,$,Ie,o,de),Be={ownerDocument:r,ownerWindow:i,eventHandler:o,containerRect:U,slideRects:fe,animation:ke,axis:W,dragHandler:C(W,e,r,i,Q,w(W,i),je,ke,Pe,$,Ne,Y,o,pe,g,x,le,Ae,V),eventStore:Ie,percentOfView:pe,index:Y,indexPrevious:Te,limit:J,location:je,offsetLocation:Z,previousLocation:Me,options:a,resizeHandler:D(t,o,i,n,W,ue,H),scrollBody:$,scrollBounds:k(J,Z,Q,$,pe),scrollLooper:M(K,J,Z,[je,Z,Me,Q]),scrollProgress:Fe,scrollSnapList:q.map(Fe.get),scrollSnaps:q,scrollTarget:Ne,scrollTo:Pe,slideLooper:I(W,G,K,ge,_e,xe,q,Z,n),slideFocus:ze,slidesHandler:L(t,o,B),slidesInView:Le,slideIndexes:Ee,slideRegistry:Re,slidesToScroll:be,target:Q,translate:F(W,t)};return Be}function ce(){let e={},t;function n(e){t=e}function r(t){return e[t]||[]}function i(e){return r(e).forEach(n=>n(t,e)),c}function a(t,n){return e[t]=r(t).concat([n]),c}function o(t,n){return e[t]=r(t).filter(e=>e!==n),c}function s(){e={}}let c={init:n,emit:i,off:o,on:a,clear:s};return c}var le={align:`center`,axis:`x`,container:null,slides:null,containScroll:`trimSnaps`,direction:`ltr`,slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function z(e){function t(e,t){return h(e,t||{})}function n(n){let r=n.breakpoints||{};return t(n,m(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{}))}function r(t){return t.map(e=>m(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function ue(e){let t=[];function n(n,r){return t=r.filter(({options:t})=>e.optionsAtMedia(t).active!==!1),t.forEach(t=>t.init(n,e)),r.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})}function r(){t=t.filter(e=>e.destroy())}return{init:n,destroy:r}}function B(e,n,r){let i=e.ownerDocument,a=i.defaultView,o=z(a),s=ue(o),c=v(),l=ce(),{mergeOptions:u,optionsAtMedia:d,optionsMediaQueries:f}=o,{on:p,off:m,emit:h}=l,g=k,_=!1,y,b=u(le,B.globalOptions),x=u(b),S=[],C,w,T;function E(){let{container:n,slides:r}=x;w=(t(n)?e.querySelector(n):n)||e.children[0];let i=t(r)?w.querySelectorAll(r):r;T=[].slice.call(i||w.children)}function D(t){let n=se(e,w,T,i,a,t,l);return t.loop&&!n.slideLooper.canLoop()?D(Object.assign({},t,{loop:!1})):n}function O(e,t){_||(b=u(b,e),x=d(b),S=t||S,E(),y=D(x),f([b,...S.map(({options:e})=>e)]).forEach(e=>c.add(e,`change`,k)),x.active&&(y.translate.to(y.location.get()),y.animation.init(),y.slidesInView.init(),y.slideFocus.init(H),y.eventHandler.init(H),y.resizeHandler.init(H),y.slidesHandler.init(H),y.options.loop&&y.slideLooper.loop(),w.offsetParent&&T.length&&y.dragHandler.init(H),C=s.init(H,S)))}function k(e,t){let n=P();A(),O(u({startIndex:n},e),t),l.emit(`reInit`)}function A(){y.dragHandler.destroy(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),y.slidesInView.destroy(),y.animation.destroy(),s.destroy(),c.clear()}function j(){_||(_=!0,c.clear(),A(),l.emit(`destroy`),l.clear())}function M(e,t,n){x.active&&!_&&(y.scrollBody.useBaseFriction().useDuration(t===!0?0:x.duration),y.scrollTo.index(e,n||0))}function ee(e){M(y.index.add(1).get(),e,-1)}function te(e){M(y.index.add(-1).get(),e,1)}function ne(){return y.index.add(1).get()!==P()}function re(){return y.index.add(-1).get()!==P()}function ie(){return y.scrollSnapList}function N(){return y.scrollProgress.get(y.offsetLocation.get())}function P(){return y.index.get()}function F(){return y.indexPrevious.get()}function I(){return y.slidesInView.get()}function L(){return y.slidesInView.get(!1)}function R(){return C}function ae(){return y}function oe(){return e}function V(){return w}function de(){return T}let H={canScrollNext:ne,canScrollPrev:re,containerNode:V,internalEngine:ae,destroy:j,off:m,on:p,emit:h,plugins:R,previousScrollSnap:F,reInit:g,rootNode:oe,scrollNext:ee,scrollPrev:te,scrollProgress:N,scrollSnapList:ie,scrollTo:M,selectedScrollSnap:P,slideNodes:de,slidesInView:I,slidesNotInView:L};return O(n,r),setTimeout(()=>l.emit(`init`),0),H}B.globalOptions=void 0,exports.default=B;
1
+ function e(e){return Object.prototype.toString.call(e)===`[object Object]`}function t(t){return e(t)||Array.isArray(t)}function n(){return!!(typeof window<`u`&&window.document&&window.document.createElement)}function r(e,n){let i=Object.keys(e),a=Object.keys(n);return i.length!==a.length||JSON.stringify(Object.keys(e.breakpoints||{}))!==JSON.stringify(Object.keys(n.breakpoints||{}))?!1:i.every(i=>{let a=e[i],o=n[i];return typeof a==`function`?`${a}`==`${o}`:!t(a)||!t(o)?a===o:r(a,o)})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function a(e,t){if(e.length!==t.length)return!1;let n=i(e),a=i(t);return n.every((e,t)=>{let n=a[t];return r(e,n)})}exports.areOptionsEqual=r,exports.arePluginsEqual=a,exports.canUseDOM=n,exports.sortAndMapPluginToOptions=i;