@vlrc-fe/components 1.0.6 → 1.0.8

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 (452) hide show
  1. package/dist/Form/FormFileUpload/index.d.ts +1 -1
  2. package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
  3. package/dist/Form/index.d.ts +1 -1
  4. package/dist/Form/index.d.ts.map +1 -1
  5. package/dist/MultiSelect/type.d.ts +2 -2
  6. package/dist/index.cjs +1 -1
  7. package/dist/index.js +64 -40
  8. package/dist/index10.cjs +1 -1
  9. package/dist/index10.js +46 -80
  10. package/dist/index100.cjs +1 -1
  11. package/dist/index100.js +22 -60
  12. package/dist/index101.cjs +1 -1
  13. package/dist/index101.js +1147 -43
  14. package/dist/index102.cjs +1 -1
  15. package/dist/index102.js +30 -64
  16. package/dist/index103.cjs +1 -1
  17. package/dist/index103.js +31 -147
  18. package/dist/index104.cjs +1 -1
  19. package/dist/index104.js +93 -19
  20. package/dist/index105.cjs +1 -1
  21. package/dist/index105.js +80 -25
  22. package/dist/index106.cjs +1 -1
  23. package/dist/index106.js +9 -50
  24. package/dist/index107.cjs +1 -1
  25. package/dist/index107.js +30 -156
  26. package/dist/index108.cjs +1 -1
  27. package/dist/index108.js +350 -14
  28. package/dist/index109.cjs +1 -1
  29. package/dist/index109.js +11 -0
  30. package/dist/index11.cjs +1 -1
  31. package/dist/index11.js +55 -60
  32. package/dist/index110.cjs +1 -0
  33. package/dist/index110.js +430 -0
  34. package/dist/index111.cjs +1 -0
  35. package/dist/index111.js +36 -0
  36. package/dist/index112.cjs +1 -0
  37. package/dist/index112.js +28 -0
  38. package/dist/index113.cjs +1 -0
  39. package/dist/index113.js +14 -0
  40. package/dist/index114.cjs +1 -0
  41. package/dist/index114.js +156 -0
  42. package/dist/index115.cjs +1 -0
  43. package/dist/index115.js +19 -0
  44. package/dist/index116.cjs +1 -0
  45. package/dist/index116.js +67 -0
  46. package/dist/index117.cjs +1 -0
  47. package/dist/index117.js +118 -0
  48. package/dist/index118.cjs +1 -0
  49. package/dist/index118.js +36 -0
  50. package/dist/index119.cjs +1 -0
  51. package/dist/index119.js +13 -0
  52. package/dist/index12.cjs +1 -1
  53. package/dist/index12.js +44 -121
  54. package/dist/index120.cjs +1 -0
  55. package/dist/index120.js +31 -0
  56. package/dist/index121.cjs +1 -0
  57. package/dist/index121.js +37 -0
  58. package/dist/index122.cjs +1 -0
  59. package/dist/index122.js +123 -0
  60. package/dist/index123.cjs +1 -0
  61. package/dist/index123.js +44 -0
  62. package/dist/index124.cjs +1 -0
  63. package/dist/index124.js +43 -0
  64. package/dist/index125.cjs +1 -0
  65. package/dist/index125.js +14 -0
  66. package/dist/index126.cjs +1 -0
  67. package/dist/index126.js +64 -0
  68. package/dist/index127.cjs +1 -0
  69. package/dist/index127.js +23 -0
  70. package/dist/index128.cjs +1 -0
  71. package/dist/index128.js +34 -0
  72. package/dist/index129.cjs +1 -0
  73. package/dist/index129.js +27 -0
  74. package/dist/index13.cjs +1 -1
  75. package/dist/index13.js +30 -12
  76. package/dist/index130.cjs +1 -0
  77. package/dist/index130.js +26 -0
  78. package/dist/index131.cjs +1 -0
  79. package/dist/index131.js +157 -0
  80. package/dist/index132.cjs +1 -0
  81. package/dist/index132.js +34 -0
  82. package/dist/index133.cjs +1 -0
  83. package/dist/index133.js +46 -0
  84. package/dist/index134.cjs +1 -0
  85. package/dist/index134.js +142 -0
  86. package/dist/index135.cjs +1 -0
  87. package/dist/index135.js +125 -0
  88. package/dist/index136.cjs +1 -0
  89. package/dist/index136.js +26 -0
  90. package/dist/index137.cjs +1 -0
  91. package/dist/index137.js +88 -0
  92. package/dist/index138.cjs +1 -0
  93. package/dist/index138.js +221 -0
  94. package/dist/index139.cjs +1 -0
  95. package/dist/index139.js +166 -0
  96. package/dist/index14.cjs +1 -1
  97. package/dist/index14.js +8 -12
  98. package/dist/index140.cjs +1 -0
  99. package/dist/index140.js +126 -0
  100. package/dist/index141.cjs +1 -0
  101. package/dist/index141.js +15 -0
  102. package/dist/index142.cjs +1 -0
  103. package/dist/index142.js +9 -0
  104. package/dist/index143.cjs +1 -0
  105. package/dist/index143.js +17 -0
  106. package/dist/index144.cjs +1 -0
  107. package/dist/index144.js +22 -0
  108. package/dist/index145.cjs +1 -0
  109. package/dist/index145.js +18 -0
  110. package/dist/index146.cjs +1 -0
  111. package/dist/index146.js +6 -0
  112. package/dist/index147.cjs +1 -0
  113. package/dist/index147.js +7 -0
  114. package/dist/index148.cjs +1 -0
  115. package/dist/index148.js +8 -0
  116. package/dist/index149.cjs +1 -0
  117. package/dist/index149.js +7 -0
  118. package/dist/index15.cjs +1 -1
  119. package/dist/index15.js +12 -112
  120. package/dist/index150.cjs +1 -0
  121. package/dist/index150.js +7 -0
  122. package/dist/index151.cjs +1 -0
  123. package/dist/index151.js +9 -0
  124. package/dist/index152.cjs +1 -0
  125. package/dist/index152.js +69 -0
  126. package/dist/index153.cjs +1 -0
  127. package/dist/index153.js +11 -0
  128. package/dist/index154.cjs +1 -0
  129. package/dist/index154.js +202 -0
  130. package/dist/index155.cjs +1 -0
  131. package/dist/index155.js +124 -0
  132. package/dist/index156.cjs +1 -0
  133. package/dist/index156.js +32 -0
  134. package/dist/index157.cjs +1 -0
  135. package/dist/index157.js +20 -0
  136. package/dist/index158.cjs +1 -0
  137. package/dist/index158.js +69 -0
  138. package/dist/index159.cjs +1 -0
  139. package/dist/index159.js +32 -0
  140. package/dist/index16.cjs +1 -1
  141. package/dist/index16.js +4 -726
  142. package/dist/index160.cjs +1 -0
  143. package/dist/index160.js +11 -0
  144. package/dist/index161.cjs +1 -0
  145. package/dist/index161.js +280 -0
  146. package/dist/index162.cjs +1 -0
  147. package/dist/index162.js +157 -0
  148. package/dist/index163.cjs +1 -0
  149. package/dist/index163.js +20 -0
  150. package/dist/index164.cjs +1 -0
  151. package/dist/index164.js +10 -0
  152. package/dist/index165.cjs +1 -0
  153. package/dist/index165.js +14 -0
  154. package/dist/index166.cjs +1 -0
  155. package/dist/index166.js +8 -0
  156. package/dist/index167.cjs +1 -0
  157. package/dist/index167.js +8 -0
  158. package/dist/index168.cjs +1 -0
  159. package/dist/index168.js +11 -0
  160. package/dist/index169.cjs +1 -0
  161. package/dist/index169.js +10 -0
  162. package/dist/index17.cjs +1 -1
  163. package/dist/index17.js +79 -339
  164. package/dist/index170.cjs +1 -0
  165. package/dist/index170.js +6 -0
  166. package/dist/index171.cjs +1 -0
  167. package/dist/index171.js +8 -0
  168. package/dist/index172.cjs +1 -0
  169. package/dist/index172.js +8 -0
  170. package/dist/index173.cjs +1 -0
  171. package/dist/index173.js +10 -0
  172. package/dist/index174.cjs +1 -0
  173. package/dist/index174.js +11 -0
  174. package/dist/index175.cjs +1 -0
  175. package/dist/index175.js +15 -0
  176. package/dist/index176.cjs +1 -0
  177. package/dist/index176.js +11 -0
  178. package/dist/index177.cjs +1 -0
  179. package/dist/index177.js +11 -0
  180. package/dist/index178.cjs +1 -0
  181. package/dist/index178.js +6 -0
  182. package/dist/index179.cjs +1 -0
  183. package/dist/index179.js +43 -0
  184. package/dist/index18.cjs +1 -1
  185. package/dist/index18.js +19 -66
  186. package/dist/index180.cjs +1 -0
  187. package/dist/index180.js +382 -0
  188. package/dist/index181.cjs +1 -0
  189. package/dist/index181.js +40 -0
  190. package/dist/index182.cjs +1 -0
  191. package/dist/index182.js +23 -0
  192. package/dist/index183.cjs +1 -0
  193. package/dist/index183.js +59 -0
  194. package/dist/index184.cjs +1 -0
  195. package/dist/index184.js +55 -0
  196. package/dist/index185.cjs +1 -0
  197. package/dist/index185.js +54 -0
  198. package/dist/index186.cjs +1 -0
  199. package/dist/index186.js +57 -0
  200. package/dist/index187.cjs +1 -0
  201. package/dist/index187.js +57 -0
  202. package/dist/index188.cjs +1 -0
  203. package/dist/index188.js +88 -0
  204. package/dist/index189.cjs +1 -0
  205. package/dist/index189.js +66 -0
  206. package/dist/index19.cjs +1 -1
  207. package/dist/index19.js +18 -8
  208. package/dist/index190.cjs +1 -0
  209. package/dist/index190.js +594 -0
  210. package/dist/index191.cjs +9 -0
  211. package/dist/index191.js +30 -0
  212. package/dist/index192.cjs +1 -0
  213. package/dist/index192.js +50 -0
  214. package/dist/index193.cjs +1 -0
  215. package/dist/index193.js +65 -0
  216. package/dist/index194.cjs +1 -0
  217. package/dist/index194.js +48 -0
  218. package/dist/index195.cjs +1 -0
  219. package/dist/index195.js +67 -0
  220. package/dist/index196.cjs +1 -0
  221. package/dist/index196.js +151 -0
  222. package/dist/index197.cjs +1 -0
  223. package/dist/index197.js +23 -0
  224. package/dist/index198.cjs +1 -0
  225. package/dist/index198.js +27 -0
  226. package/dist/index199.cjs +1 -0
  227. package/dist/index199.js +53 -0
  228. package/dist/index20.cjs +1 -1
  229. package/dist/index20.js +51 -98
  230. package/dist/index200.cjs +1 -0
  231. package/dist/index200.js +161 -0
  232. package/dist/index201.cjs +1 -0
  233. package/dist/index201.js +16 -0
  234. package/dist/index202.cjs +1 -0
  235. package/dist/index21.cjs +1 -1
  236. package/dist/index21.js +81 -28
  237. package/dist/index22.cjs +1 -1
  238. package/dist/index22.js +64 -14
  239. package/dist/index23.cjs +1 -1
  240. package/dist/index23.js +25 -22
  241. package/dist/index24.cjs +1 -1
  242. package/dist/index24.js +1014 -33
  243. package/dist/index25.cjs +1 -1
  244. package/dist/index25.js +22 -96
  245. package/dist/index26.cjs +1 -1
  246. package/dist/index26.js +108 -25
  247. package/dist/index27.cjs +1 -1
  248. package/dist/index27.js +15 -9
  249. package/dist/index28.cjs +1 -1
  250. package/dist/index28.js +20 -66
  251. package/dist/index29.cjs +1 -1
  252. package/dist/index29.js +81 -11
  253. package/dist/index30.cjs +1 -1
  254. package/dist/index30.js +91 -29
  255. package/dist/index31.cjs +1 -1
  256. package/dist/index31.js +14 -41
  257. package/dist/index32.cjs +1 -1
  258. package/dist/index32.js +93 -12
  259. package/dist/index33.cjs +1 -1
  260. package/dist/index33.js +22 -62
  261. package/dist/index34.cjs +1 -1
  262. package/dist/index34.js +84 -22
  263. package/dist/index35.cjs +1 -1
  264. package/dist/index35.js +85 -33
  265. package/dist/index36.cjs +1 -1
  266. package/dist/index36.js +407 -25
  267. package/dist/index37.cjs +1 -1
  268. package/dist/index37.js +170 -25
  269. package/dist/index38.cjs +1 -1
  270. package/dist/index38.js +28 -154
  271. package/dist/index39.cjs +1 -1
  272. package/dist/index39.js +158 -33
  273. package/dist/index40.cjs +1 -1
  274. package/dist/index40.js +104 -45
  275. package/dist/index41.cjs +1 -1
  276. package/dist/index41.js +337 -140
  277. package/dist/index42.cjs +1 -1
  278. package/dist/index42.js +96 -124
  279. package/dist/index43.cjs +1 -1
  280. package/dist/index43.js +319 -23
  281. package/dist/index44.cjs +1 -1
  282. package/dist/index44.js +205 -81
  283. package/dist/index45.cjs +1 -1
  284. package/dist/index45.js +33 -220
  285. package/dist/index46.cjs +1 -1
  286. package/dist/index46.js +161 -163
  287. package/dist/index47.cjs +1 -1
  288. package/dist/index47.js +20 -125
  289. package/dist/index48.cjs +1 -1
  290. package/dist/index48.js +24 -14
  291. package/dist/index49.cjs +1 -1
  292. package/dist/index49.js +167 -7
  293. package/dist/index5.js +26 -14
  294. package/dist/index50.cjs +1 -1
  295. package/dist/index50.js +44 -15
  296. package/dist/index51.cjs +1 -1
  297. package/dist/index51.js +15 -18
  298. package/dist/index52.cjs +1 -1
  299. package/dist/index52.js +3 -17
  300. package/dist/index53.cjs +1 -1
  301. package/dist/index53.js +5 -5
  302. package/dist/index54.cjs +1 -1
  303. package/dist/index54.js +19 -4
  304. package/dist/index55.cjs +1 -1
  305. package/dist/index55.js +24 -6
  306. package/dist/index56.cjs +1 -1
  307. package/dist/index56.js +66 -4
  308. package/dist/index57.cjs +1 -1
  309. package/dist/index57.js +14 -5
  310. package/dist/index58.cjs +1 -1
  311. package/dist/index58.js +4 -8
  312. package/dist/index59.cjs +1 -1
  313. package/dist/index59.js +50 -67
  314. package/dist/index6.cjs +1 -1
  315. package/dist/index6.js +85 -46
  316. package/dist/index60.cjs +1 -1
  317. package/dist/index60.js +6 -10
  318. package/dist/index61.cjs +1 -1
  319. package/dist/index61.js +25 -199
  320. package/dist/index62.cjs +1 -1
  321. package/dist/index62.js +13 -122
  322. package/dist/index63.cjs +1 -1
  323. package/dist/index63.js +9 -30
  324. package/dist/index64.cjs +1 -1
  325. package/dist/index64.js +3 -20
  326. package/dist/index65.cjs +1 -1
  327. package/dist/index65.js +24 -66
  328. package/dist/index66.cjs +1 -1
  329. package/dist/index66.js +68 -30
  330. package/dist/index67.cjs +38 -1
  331. package/dist/index67.js +3 -11
  332. package/dist/index68.cjs +1 -1
  333. package/dist/index68.js +12 -279
  334. package/dist/index69.cjs +1 -1
  335. package/dist/index69.js +50 -155
  336. package/dist/index7.cjs +1 -1
  337. package/dist/index7.js +29 -85
  338. package/dist/index70.cjs +1 -1
  339. package/dist/index70.js +115 -19
  340. package/dist/index71.cjs +4 -1
  341. package/dist/index71.js +6 -9
  342. package/dist/index72.cjs +1 -1
  343. package/dist/index72.js +12 -12
  344. package/dist/index73.cjs +1 -1
  345. package/dist/index73.js +539 -6
  346. package/dist/index74.cjs +1 -1
  347. package/dist/index74.js +197 -6
  348. package/dist/index75.cjs +1 -1
  349. package/dist/index75.js +120 -9
  350. package/dist/index76.cjs +1 -1
  351. package/dist/index76.js +912 -8
  352. package/dist/index77.cjs +3 -1
  353. package/dist/index77.js +76 -4
  354. package/dist/index78.cjs +1 -1
  355. package/dist/index78.js +120 -6
  356. package/dist/index79.cjs +1 -1
  357. package/dist/index79.js +12 -6
  358. package/dist/index8.cjs +1 -1
  359. package/dist/index8.js +35 -62
  360. package/dist/index80.cjs +1 -1
  361. package/dist/index80.js +14 -8
  362. package/dist/index81.cjs +1 -1
  363. package/dist/index81.js +113 -9
  364. package/dist/index82.cjs +1 -1
  365. package/dist/index82.js +725 -13
  366. package/dist/index83.cjs +1 -1
  367. package/dist/index83.js +346 -9
  368. package/dist/index84.cjs +1 -1
  369. package/dist/index84.js +74 -9
  370. package/dist/index85.cjs +1 -1
  371. package/dist/index85.js +148 -4
  372. package/dist/index86.cjs +1 -1
  373. package/dist/index86.js +31 -42
  374. package/dist/index87.cjs +1 -1
  375. package/dist/index87.js +12 -380
  376. package/dist/index88.cjs +1 -1
  377. package/dist/index88.js +345 -37
  378. package/dist/index89.cjs +20 -1
  379. package/dist/index89.js +40 -18
  380. package/dist/index9.cjs +1 -1
  381. package/dist/index9.js +85 -17
  382. package/dist/index90.cjs +1 -1
  383. package/dist/index90.js +113 -56
  384. package/dist/index91.cjs +1 -1
  385. package/dist/index91.js +272 -51
  386. package/dist/index92.cjs +1 -1
  387. package/dist/index92.js +129 -50
  388. package/dist/index93.cjs +1 -1
  389. package/dist/index93.js +13 -54
  390. package/dist/index94.cjs +1 -1
  391. package/dist/index94.js +28 -55
  392. package/dist/index95.cjs +1 -1
  393. package/dist/index95.js +525 -80
  394. package/dist/index96.cjs +1 -1
  395. package/dist/index96.js +75 -61
  396. package/dist/index97.cjs +1 -1
  397. package/dist/index97.js +67 -583
  398. package/dist/index98.cjs +1 -9
  399. package/dist/index98.js +32 -27
  400. package/dist/index99.cjs +1 -1
  401. package/dist/index99.js +17 -49
  402. package/dist/ui/alert-dialog.d.ts +15 -0
  403. package/dist/ui/alert-dialog.d.ts.map +1 -0
  404. package/dist/ui/alert.d.ts +10 -0
  405. package/dist/ui/alert.d.ts.map +1 -0
  406. package/dist/ui/aspect-ratio.d.ts +4 -0
  407. package/dist/ui/aspect-ratio.d.ts.map +1 -0
  408. package/dist/ui/avatar.d.ts +7 -0
  409. package/dist/ui/avatar.d.ts.map +1 -0
  410. package/dist/ui/badge.d.ts +1 -1
  411. package/dist/ui/breadcrumb.d.ts +12 -0
  412. package/dist/ui/breadcrumb.d.ts.map +1 -0
  413. package/dist/ui/button.d.ts +1 -1
  414. package/dist/ui/carousel.d.ts +20 -0
  415. package/dist/ui/carousel.d.ts.map +1 -0
  416. package/dist/ui/collapsible.d.ts +6 -0
  417. package/dist/ui/collapsible.d.ts.map +1 -0
  418. package/dist/ui/context-menu.d.ts +26 -0
  419. package/dist/ui/context-menu.d.ts.map +1 -0
  420. package/dist/ui/drawer.d.ts +14 -0
  421. package/dist/ui/drawer.d.ts.map +1 -0
  422. package/dist/ui/hover-card.d.ts +7 -0
  423. package/dist/ui/hover-card.d.ts.map +1 -0
  424. package/dist/ui/index.d.ts +23 -0
  425. package/dist/ui/index.d.ts.map +1 -1
  426. package/dist/ui/input-otp.d.ts +12 -0
  427. package/dist/ui/input-otp.d.ts.map +1 -0
  428. package/dist/ui/menubar.d.ts +27 -0
  429. package/dist/ui/menubar.d.ts.map +1 -0
  430. package/dist/ui/navigation-menu.d.ts +15 -0
  431. package/dist/ui/navigation-menu.d.ts.map +1 -0
  432. package/dist/ui/pagination.d.ts +14 -0
  433. package/dist/ui/pagination.d.ts.map +1 -0
  434. package/dist/ui/resizable.d.ts +9 -0
  435. package/dist/ui/resizable.d.ts.map +1 -0
  436. package/dist/ui/sheet.d.ts +14 -0
  437. package/dist/ui/sheet.d.ts.map +1 -0
  438. package/dist/ui/sidebar.d.ts +70 -0
  439. package/dist/ui/sidebar.d.ts.map +1 -0
  440. package/dist/ui/skeleton.d.ts +3 -0
  441. package/dist/ui/skeleton.d.ts.map +1 -0
  442. package/dist/ui/slider.d.ts +5 -0
  443. package/dist/ui/slider.d.ts.map +1 -0
  444. package/dist/ui/switch.d.ts +5 -0
  445. package/dist/ui/switch.d.ts.map +1 -0
  446. package/dist/ui/tabs.d.ts +8 -0
  447. package/dist/ui/tabs.d.ts.map +1 -0
  448. package/dist/ui/toggle-group.d.ts +8 -0
  449. package/dist/ui/toggle-group.d.ts.map +1 -0
  450. package/dist/ui/toggle.d.ts +10 -0
  451. package/dist/ui/toggle.d.ts.map +1 -0
  452. package/package.json +23 -5
package/dist/index24.js CHANGED
@@ -1,35 +1,1016 @@
1
- import { cn as e } from "./index3.js";
2
- import "react";
3
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
- import * as r from "@radix-ui/react-scroll-area";
5
- //#region src/ui/scroll-area.tsx
6
- function i({ className: i, children: o, ...s }) {
7
- return /* @__PURE__ */ n(r.Root, {
8
- "data-slot": "scroll-area",
9
- className: e("relative", i),
10
- ...s,
11
- children: [
12
- /* @__PURE__ */ t(r.Viewport, {
13
- "data-slot": "scroll-area-viewport",
14
- className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
15
- children: o
16
- }),
17
- /* @__PURE__ */ t(a, {}),
18
- /* @__PURE__ */ t(r.Corner, {})
19
- ]
20
- });
21
- }
22
- function a({ className: n, orientation: i = "vertical", ...a }) {
23
- return /* @__PURE__ */ t(r.ScrollAreaScrollbar, {
24
- "data-slot": "scroll-area-scrollbar",
25
- orientation: i,
26
- className: e("flex touch-none p-px transition-colors select-none", i === "vertical" && "h-full w-2.5 border-l border-l-transparent", i === "horizontal" && "h-2.5 flex-col border-t border-t-transparent", n),
27
- ...a,
28
- children: /* @__PURE__ */ t(r.ScrollAreaThumb, {
29
- "data-slot": "scroll-area-thumb",
30
- className: "bg-border relative flex-1 rounded-full"
31
- })
32
- });
1
+ //#region ../../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js
2
+ function e(e) {
3
+ return typeof e == "number";
33
4
  }
5
+ function t(e) {
6
+ return typeof e == "string";
7
+ }
8
+ function n(e) {
9
+ return typeof e == "boolean";
10
+ }
11
+ function r(e) {
12
+ return Object.prototype.toString.call(e) === "[object Object]";
13
+ }
14
+ function i(e) {
15
+ return Math.abs(e);
16
+ }
17
+ function a(e) {
18
+ return Math.sign(e);
19
+ }
20
+ function o(e, t) {
21
+ return i(e - t);
22
+ }
23
+ function s(e, t) {
24
+ return e === 0 || t === 0 || i(e) <= i(t) ? 0 : i(o(i(e), i(t)) / e);
25
+ }
26
+ function c(e) {
27
+ return Math.round(e * 100) / 100;
28
+ }
29
+ function l(e) {
30
+ return m(e).map(Number);
31
+ }
32
+ function u(e) {
33
+ return e[d(e)];
34
+ }
35
+ function d(e) {
36
+ return Math.max(0, e.length - 1);
37
+ }
38
+ function f(e, t) {
39
+ return t === d(e);
40
+ }
41
+ function p(e, t = 0) {
42
+ return Array.from(Array(e), (e, n) => t + n);
43
+ }
44
+ function m(e) {
45
+ return Object.keys(e);
46
+ }
47
+ function h(e, t) {
48
+ return [e, t].reduce((e, t) => (m(t).forEach((n) => {
49
+ let i = e[n], a = t[n];
50
+ e[n] = r(i) && r(a) ? h(i, a) : a;
51
+ }), e), {});
52
+ }
53
+ function g(e, t) {
54
+ return t.MouseEvent !== void 0 && e instanceof t.MouseEvent;
55
+ }
56
+ function _(e, n) {
57
+ let r = {
58
+ start: i,
59
+ center: a,
60
+ end: o
61
+ };
62
+ function i() {
63
+ return 0;
64
+ }
65
+ function a(e) {
66
+ return o(e) / 2;
67
+ }
68
+ function o(e) {
69
+ return n - e;
70
+ }
71
+ function s(i, a) {
72
+ return t(e) ? r[e](i) : e(n, i, a);
73
+ }
74
+ return { measure: s };
75
+ }
76
+ function v() {
77
+ let e = [];
78
+ function t(t, n, i, a = { passive: !0 }) {
79
+ let o;
80
+ if ("addEventListener" in t) t.addEventListener(n, i, a), o = () => t.removeEventListener(n, i, a);
81
+ else {
82
+ let e = t;
83
+ e.addListener(i), o = () => e.removeListener(i);
84
+ }
85
+ return e.push(o), r;
86
+ }
87
+ function n() {
88
+ e = e.filter((e) => e());
89
+ }
90
+ let r = {
91
+ add: t,
92
+ clear: n
93
+ };
94
+ return r;
95
+ }
96
+ function y(e, t, n, r) {
97
+ let i = v(), a = 1e3 / 60, o = null, s = 0, c = 0;
98
+ function l() {
99
+ i.add(e, "visibilitychange", () => {
100
+ e.hidden && m();
101
+ });
102
+ }
103
+ function u() {
104
+ p(), i.clear();
105
+ }
106
+ function d(e) {
107
+ if (!c) return;
108
+ o || (o = e, n(), n());
109
+ let i = e - o;
110
+ for (o = e, s += i; s >= a;) n(), s -= a;
111
+ r(s / a), c &&= t.requestAnimationFrame(d);
112
+ }
113
+ function f() {
114
+ c ||= t.requestAnimationFrame(d);
115
+ }
116
+ function p() {
117
+ t.cancelAnimationFrame(c), o = null, s = 0, c = 0;
118
+ }
119
+ function m() {
120
+ o = null, s = 0;
121
+ }
122
+ return {
123
+ init: l,
124
+ destroy: u,
125
+ start: f,
126
+ stop: p,
127
+ update: n,
128
+ render: r
129
+ };
130
+ }
131
+ function b(e, t) {
132
+ let n = t === "rtl", r = e === "y", i = r ? "y" : "x", a = r ? "x" : "y", o = !r && n ? -1 : 1, s = u(), c = d();
133
+ function l(e) {
134
+ let { height: t, width: n } = e;
135
+ return r ? t : n;
136
+ }
137
+ function u() {
138
+ return r ? "top" : n ? "right" : "left";
139
+ }
140
+ function d() {
141
+ return r ? "bottom" : n ? "left" : "right";
142
+ }
143
+ function f(e) {
144
+ return e * o;
145
+ }
146
+ return {
147
+ scroll: i,
148
+ cross: a,
149
+ startEdge: s,
150
+ endEdge: c,
151
+ measureSize: l,
152
+ direction: f
153
+ };
154
+ }
155
+ function x(e = 0, t = 0) {
156
+ let n = i(e - t);
157
+ function r(t) {
158
+ return t < e;
159
+ }
160
+ function a(e) {
161
+ return e > t;
162
+ }
163
+ function o(e) {
164
+ return r(e) || a(e);
165
+ }
166
+ function s(n) {
167
+ return o(n) ? r(n) ? e : t : n;
168
+ }
169
+ function c(e) {
170
+ return n ? e - n * Math.ceil((e - t) / n) : e;
171
+ }
172
+ return {
173
+ length: n,
174
+ max: t,
175
+ min: e,
176
+ constrain: s,
177
+ reachedAny: o,
178
+ reachedMax: a,
179
+ reachedMin: r,
180
+ removeOffset: c
181
+ };
182
+ }
183
+ function S(e, t, n) {
184
+ let { constrain: r } = x(0, e), a = e + 1, o = s(t);
185
+ function s(e) {
186
+ return n ? i((a + e) % a) : r(e);
187
+ }
188
+ function c() {
189
+ return o;
190
+ }
191
+ function l(e) {
192
+ return o = s(e), f;
193
+ }
194
+ function u(e) {
195
+ return d().set(c() + e);
196
+ }
197
+ function d() {
198
+ return S(e, c(), n);
199
+ }
200
+ let f = {
201
+ get: c,
202
+ set: l,
203
+ add: u,
204
+ clone: d
205
+ };
206
+ return f;
207
+ }
208
+ function C(e, t, r, c, l, u, d, f, p, m, h, _, y, b, S, C, w, T, E) {
209
+ let { cross: D, direction: O } = e, k = [
210
+ "INPUT",
211
+ "SELECT",
212
+ "TEXTAREA"
213
+ ], A = { passive: !1 }, j = v(), M = v(), ee = x(50, 225).constrain(b.measure(20)), te = {
214
+ mouse: 300,
215
+ touch: 400
216
+ }, ne = {
217
+ mouse: 500,
218
+ touch: 600
219
+ }, re = S ? 43 : 25, ie = !1, N = 0, P = 0, F = !1, I = !1, L = !1, R = !1;
220
+ function ae(e) {
221
+ if (!E) return;
222
+ function r(t) {
223
+ (n(E) || E(e, t)) && ue(t);
224
+ }
225
+ let i = t;
226
+ 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);
227
+ }
228
+ function oe() {
229
+ j.clear(), M.clear();
230
+ }
231
+ function se() {
232
+ let e = R ? r : t;
233
+ M.add(e, "touchmove", B, A).add(e, "touchend", V).add(e, "mousemove", B, A).add(e, "mouseup", V);
234
+ }
235
+ function ce(e) {
236
+ let t = e.nodeName || "";
237
+ return k.includes(t);
238
+ }
239
+ function le() {
240
+ return (S ? ne : te)[R ? "mouse" : "touch"];
241
+ }
242
+ function z(e, t) {
243
+ let n = _.add(a(e) * -1), r = h.byDistance(e, !S).distance;
244
+ return S || i(e) < ee ? r : w && t ? r * .5 : h.byIndex(n.get(), 0).distance;
245
+ }
246
+ function ue(e) {
247
+ let t = g(e, c);
248
+ 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")));
249
+ }
250
+ function B(e) {
251
+ if (!g(e, c) && e.touches.length >= 2) return V(e);
252
+ let t = u.readPoint(e), n = u.readPoint(e, D), r = o(t, N), i = o(n, P);
253
+ if (!I && !R && (!e.cancelable || (I = r > i, !I))) return V(e);
254
+ let a = u.pointerMove(e);
255
+ r > C && (L = !0), m.useFriction(.3).useDuration(.75), f.start(), l.add(O(a)), e.preventDefault();
256
+ }
257
+ function V(e) {
258
+ 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;
259
+ I = !1, F = !1, M.clear(), m.useDuration(a).useFriction(o), p.distance(r, !S), R = !1, y.emit("pointerUp");
260
+ }
261
+ function de(e) {
262
+ L &&= (e.stopPropagation(), e.preventDefault(), !1);
263
+ }
264
+ function H() {
265
+ return F;
266
+ }
267
+ return {
268
+ init: ae,
269
+ destroy: oe,
270
+ pointerDown: H
271
+ };
272
+ }
273
+ function w(e, t) {
274
+ let n, r;
275
+ function a(e) {
276
+ return e.timeStamp;
277
+ }
278
+ function o(n, r) {
279
+ let i = `client${(r || e.scroll) === "x" ? "X" : "Y"}`;
280
+ return (g(n, t) ? n : n.touches[0])[i];
281
+ }
282
+ function s(e) {
283
+ return n = e, r = e, o(e);
284
+ }
285
+ function c(e) {
286
+ let t = o(e) - o(r), i = a(e) - a(n) > 170;
287
+ return r = e, i && (n = e), t;
288
+ }
289
+ function l(e) {
290
+ if (!n || !r) return 0;
291
+ let t = o(r) - o(n), s = a(e) - a(n), c = a(e) - a(r) > 170, l = t / s;
292
+ return s && !c && i(l) > .1 ? l : 0;
293
+ }
294
+ return {
295
+ pointerDown: s,
296
+ pointerMove: c,
297
+ pointerUp: l,
298
+ readPoint: o
299
+ };
300
+ }
301
+ function T() {
302
+ function e(e) {
303
+ let { offsetTop: t, offsetLeft: n, offsetWidth: r, offsetHeight: i } = e;
304
+ return {
305
+ top: t,
306
+ right: n + r,
307
+ bottom: t + i,
308
+ left: n,
309
+ width: r,
310
+ height: i
311
+ };
312
+ }
313
+ return { measure: e };
314
+ }
315
+ function E(e) {
316
+ function t(t) {
317
+ return t / 100 * e;
318
+ }
319
+ return { measure: t };
320
+ }
321
+ function D(e, t, r, a, o, s, c) {
322
+ let l = [e].concat(a), u, d, f = [], p = !1;
323
+ function m(e) {
324
+ return o.measureSize(c.measure(e));
325
+ }
326
+ function h(o) {
327
+ if (!s) return;
328
+ d = m(e), f = a.map(m);
329
+ function c(n) {
330
+ for (let r of n) {
331
+ if (p) return;
332
+ let n = r.target === e, s = a.indexOf(r.target), c = n ? d : f[s];
333
+ if (i(m(n ? e : a[s]) - c) >= .5) {
334
+ o.reInit(), t.emit("resize");
335
+ break;
336
+ }
337
+ }
338
+ }
339
+ u = new ResizeObserver((e) => {
340
+ (n(s) || s(o, e)) && c(e);
341
+ }), r.requestAnimationFrame(() => {
342
+ l.forEach((e) => u.observe(e));
343
+ });
344
+ }
345
+ function g() {
346
+ p = !0, u && u.disconnect();
347
+ }
348
+ return {
349
+ init: h,
350
+ destroy: g
351
+ };
352
+ }
353
+ function O(e, t, n, r, o, s) {
354
+ let c = 0, l = 0, u = o, d = s, f = e.get(), p = 0;
355
+ function m() {
356
+ let t = r.get() - e.get(), i = !u, o = 0;
357
+ 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;
358
+ }
359
+ function h() {
360
+ return i(r.get() - t.get()) < .001;
361
+ }
362
+ function g() {
363
+ return u;
364
+ }
365
+ function _() {
366
+ return l;
367
+ }
368
+ function v() {
369
+ return c;
370
+ }
371
+ function y() {
372
+ return x(o);
373
+ }
374
+ function b() {
375
+ return S(s);
376
+ }
377
+ function x(e) {
378
+ return u = e, C;
379
+ }
380
+ function S(e) {
381
+ return d = e, C;
382
+ }
383
+ let C = {
384
+ direction: _,
385
+ duration: g,
386
+ velocity: v,
387
+ seek: m,
388
+ settled: h,
389
+ useBaseFriction: b,
390
+ useBaseDuration: y,
391
+ useFriction: S,
392
+ useDuration: x
393
+ };
394
+ return C;
395
+ }
396
+ function k(e, t, n, r, a) {
397
+ let o = a.measure(10), s = a.measure(50), c = x(.1, .99), l = !1;
398
+ function u() {
399
+ return !(l || !e.reachedAny(n.get()) || !e.reachedAny(t.get()));
400
+ }
401
+ function d(a) {
402
+ if (!u()) return;
403
+ let l = i(e[e.reachedMin(t.get()) ? "min" : "max"] - t.get()), d = n.get() - t.get(), f = c.constrain(l / s);
404
+ n.subtract(d * f), !a && i(d) < o && (n.set(e.constrain(n.get())), r.useDuration(25).useBaseFriction());
405
+ }
406
+ function f(e) {
407
+ l = !e;
408
+ }
409
+ return {
410
+ shouldConstrain: u,
411
+ constrain: d,
412
+ toggleActive: f
413
+ };
414
+ }
415
+ function A(e, t, n, r, i) {
416
+ let a = x(-t + e, 0), s = m(), c = p(), l = h();
417
+ function d(e, t) {
418
+ return o(e, t) <= 1;
419
+ }
420
+ function p() {
421
+ let e = s[0], t = u(s);
422
+ return x(s.lastIndexOf(e), s.indexOf(t) + 1);
423
+ }
424
+ function m() {
425
+ return n.map((e, t) => {
426
+ let { min: r, max: i } = a, o = a.constrain(e), s = !t, c = f(n, t);
427
+ return s ? i : c || d(r, o) ? r : d(i, o) ? i : o;
428
+ }).map((e) => parseFloat(e.toFixed(3)));
429
+ }
430
+ function h() {
431
+ if (t <= e + i) return [a.max];
432
+ if (r === "keepSnaps") return s;
433
+ let { min: n, max: o } = c;
434
+ return s.slice(n, o);
435
+ }
436
+ return {
437
+ snapsContained: l,
438
+ scrollContainLimit: c
439
+ };
440
+ }
441
+ function j(e, t, n) {
442
+ let r = t[0];
443
+ return { limit: x(n ? r - e : u(t), r) };
444
+ }
445
+ function M(e, t, n, r) {
446
+ let i = .1, { reachedMin: a, reachedMax: o } = x(t.min + i, t.max + i);
447
+ function s(e) {
448
+ return e === 1 ? o(n.get()) : e === -1 ? a(n.get()) : !1;
449
+ }
450
+ function c(t) {
451
+ if (!s(t)) return;
452
+ let n = t * -1 * e;
453
+ r.forEach((e) => e.add(n));
454
+ }
455
+ return { loop: c };
456
+ }
457
+ function ee(e) {
458
+ let { max: t, length: n } = e;
459
+ function r(e) {
460
+ let r = e - t;
461
+ return n ? r / -n : 0;
462
+ }
463
+ return { get: r };
464
+ }
465
+ function te(e, t, n, r, a) {
466
+ let { startEdge: o, endEdge: s } = e, { groupSlides: c } = a, l = p().map(t.measure), d = m(), f = h();
467
+ function p() {
468
+ return c(r).map((e) => u(e)[s] - e[0][o]).map(i);
469
+ }
470
+ function m() {
471
+ return r.map((e) => n[o] - e[o]).map((e) => -i(e));
472
+ }
473
+ function h() {
474
+ return c(d).map((e) => e[0]).map((e, t) => e + l[t]);
475
+ }
476
+ return {
477
+ snaps: d,
478
+ snapsAligned: f
479
+ };
480
+ }
481
+ function ne(e, t, n, r, i, a) {
482
+ let { groupSlides: o } = i, { min: s, max: c } = r, l = m();
483
+ function m() {
484
+ let r = o(a), i = !e || t === "keepSnaps";
485
+ return n.length === 1 ? [a] : i ? r : r.slice(s, c).map((e, t, n) => {
486
+ let r = !t, i = f(n, t);
487
+ return r ? p(u(n[0]) + 1) : i ? p(d(a) - u(n)[0] + 1, u(n)[0]) : e;
488
+ });
489
+ }
490
+ return { slideRegistry: l };
491
+ }
492
+ function re(e, t, n, r, o) {
493
+ let { reachedAny: s, removeOffset: c, constrain: l } = r;
494
+ function d(e) {
495
+ return e.concat().sort((e, t) => i(e) - i(t))[0];
496
+ }
497
+ function f(n) {
498
+ let r = e ? c(n) : l(n), { index: a } = t.map((e, t) => ({
499
+ diff: p(e - r, 0),
500
+ index: t
501
+ })).sort((e, t) => i(e.diff) - i(t.diff))[0];
502
+ return {
503
+ index: a,
504
+ distance: r
505
+ };
506
+ }
507
+ function p(t, r) {
508
+ let i = [
509
+ t,
510
+ t + n,
511
+ t - n
512
+ ];
513
+ if (!e) return t;
514
+ if (!r) return d(i);
515
+ let o = i.filter((e) => a(e) === r);
516
+ return o.length ? d(o) : u(i) - n;
517
+ }
518
+ function m(e, n) {
519
+ return {
520
+ index: e,
521
+ distance: p(t[e] - o.get(), n)
522
+ };
523
+ }
524
+ function h(n, r) {
525
+ let i = o.get() + n, { index: a, distance: c } = f(i), l = !e && s(i);
526
+ return !r || l ? {
527
+ index: a,
528
+ distance: n
529
+ } : {
530
+ index: a,
531
+ distance: n + p(t[a] - c, 0)
532
+ };
533
+ }
534
+ return {
535
+ byDistance: h,
536
+ byIndex: m,
537
+ shortcut: p
538
+ };
539
+ }
540
+ function ie(e, t, n, r, i, a, o) {
541
+ function s(i) {
542
+ let s = i.distance, c = i.index !== t.get();
543
+ 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"));
544
+ }
545
+ function c(e, t) {
546
+ s(i.byDistance(e, t));
547
+ }
548
+ function l(e, n) {
549
+ let r = t.clone().set(e);
550
+ s(i.byIndex(r.get(), n));
551
+ }
552
+ return {
553
+ distance: c,
554
+ index: l
555
+ };
556
+ }
557
+ function N(t, r, i, a, o, s, c, l) {
558
+ let u = {
559
+ passive: !0,
560
+ capture: !0
561
+ }, d = 0;
562
+ function f(f) {
563
+ if (!l) return;
564
+ function m(n) {
565
+ if ((/* @__PURE__ */ new Date()).getTime() - d > 10) return;
566
+ c.emit("slideFocusStart"), t.scrollLeft = 0;
567
+ let r = i.findIndex((e) => e.includes(n));
568
+ e(r) && (o.useDuration(0), a.index(r, 0), c.emit("slideFocus"));
569
+ }
570
+ s.add(document, "keydown", p, !1), r.forEach((e, t) => {
571
+ s.add(e, "focus", (e) => {
572
+ (n(l) || l(f, e)) && m(t);
573
+ }, u);
574
+ });
575
+ }
576
+ function p(e) {
577
+ e.code === "Tab" && (d = (/* @__PURE__ */ new Date()).getTime());
578
+ }
579
+ return { init: f };
580
+ }
581
+ function P(t) {
582
+ let n = t;
583
+ function r() {
584
+ return n;
585
+ }
586
+ function i(e) {
587
+ n = s(e);
588
+ }
589
+ function a(e) {
590
+ n += s(e);
591
+ }
592
+ function o(e) {
593
+ n -= s(e);
594
+ }
595
+ function s(t) {
596
+ return e(t) ? t : t.get();
597
+ }
598
+ return {
599
+ get: r,
600
+ set: i,
601
+ add: a,
602
+ subtract: o
603
+ };
604
+ }
605
+ function F(e, t) {
606
+ let n = e.scroll === "x" ? o : s, r = t.style, i = null, a = !1;
607
+ function o(e) {
608
+ return `translate3d(${e}px,0px,0px)`;
609
+ }
610
+ function s(e) {
611
+ return `translate3d(0px,${e}px,0px)`;
612
+ }
613
+ function l(t) {
614
+ if (a) return;
615
+ let o = c(e.direction(t));
616
+ o !== i && (r.transform = n(o), i = o);
617
+ }
618
+ function u(e) {
619
+ a = !e;
620
+ }
621
+ function d() {
622
+ a || (r.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
623
+ }
624
+ return {
625
+ clear: d,
626
+ to: l,
627
+ toggleActive: u
628
+ };
629
+ }
630
+ function I(e, t, n, r, i, a, o, s, c) {
631
+ let u = .5, d = l(i), f = l(i).reverse(), p = v().concat(y());
632
+ function m(e, t) {
633
+ return e.reduce((e, t) => e - i[t], t);
634
+ }
635
+ function h(e, t) {
636
+ return e.reduce((e, n) => m(e, t) > 0 ? e.concat([n]) : e, []);
637
+ }
638
+ function g(e) {
639
+ return a.map((n, i) => ({
640
+ start: n - r[i] + u + e,
641
+ end: n + t - u + e
642
+ }));
643
+ }
644
+ function _(t, r, i) {
645
+ let a = g(r);
646
+ return t.map((t) => {
647
+ let r = i ? 0 : -n, o = i ? n : 0, l = i ? "end" : "start", u = a[t][l];
648
+ return {
649
+ index: t,
650
+ loopPoint: u,
651
+ slideLocation: P(-1),
652
+ translate: F(e, c[t]),
653
+ target: () => s.get() > u ? r : o
654
+ };
655
+ });
656
+ }
657
+ function v() {
658
+ let e = o[0];
659
+ return _(h(f, e), n, !1);
660
+ }
661
+ function y() {
662
+ return _(h(d, t - o[0] - 1), -n, !0);
663
+ }
664
+ function b() {
665
+ return p.every(({ index: e }) => m(d.filter((t) => t !== e), t) <= .1);
666
+ }
667
+ function x() {
668
+ p.forEach((e) => {
669
+ let { target: t, translate: n, slideLocation: r } = e, i = t();
670
+ i !== r.get() && (n.to(i), r.set(i));
671
+ });
672
+ }
673
+ function S() {
674
+ p.forEach((e) => e.translate.clear());
675
+ }
676
+ return {
677
+ canLoop: b,
678
+ clear: S,
679
+ loop: x,
680
+ loopPoints: p
681
+ };
682
+ }
683
+ function L(e, t, r) {
684
+ let i, a = !1;
685
+ function o(o) {
686
+ if (!r) return;
687
+ function s(e) {
688
+ for (let n of e) if (n.type === "childList") {
689
+ o.reInit(), t.emit("slidesChanged");
690
+ break;
691
+ }
692
+ }
693
+ i = new MutationObserver((e) => {
694
+ a || (n(r) || r(o, e)) && s(e);
695
+ }), i.observe(e, { childList: !0 });
696
+ }
697
+ function s() {
698
+ i && i.disconnect(), a = !0;
699
+ }
700
+ return {
701
+ init: o,
702
+ destroy: s
703
+ };
704
+ }
705
+ function R(e, t, n, r) {
706
+ let i = {}, a = null, o = null, s, c = !1;
707
+ function l() {
708
+ s = new IntersectionObserver((e) => {
709
+ c || (e.forEach((e) => {
710
+ let n = t.indexOf(e.target);
711
+ i[n] = e;
712
+ }), a = null, o = null, n.emit("slidesInView"));
713
+ }, {
714
+ root: e.parentElement,
715
+ threshold: r
716
+ }), t.forEach((e) => s.observe(e));
717
+ }
718
+ function u() {
719
+ s && s.disconnect(), c = !0;
720
+ }
721
+ function d(e) {
722
+ return m(i).reduce((t, n) => {
723
+ let r = parseInt(n), { isIntersecting: a } = i[r];
724
+ return (e && a || !e && !a) && t.push(r), t;
725
+ }, []);
726
+ }
727
+ function f(e = !0) {
728
+ if (e && a) return a;
729
+ if (!e && o) return o;
730
+ let t = d(e);
731
+ return e && (a = t), e || (o = t), t;
732
+ }
733
+ return {
734
+ init: l,
735
+ destroy: u,
736
+ get: f
737
+ };
738
+ }
739
+ function ae(e, t, n, r, a, o) {
740
+ let { measureSize: s, startEdge: c, endEdge: l } = e, d = n[0] && a, p = _(), m = v(), h = n.map(s), g = y();
741
+ function _() {
742
+ if (!d) return 0;
743
+ let e = n[0];
744
+ return i(t[c] - e[c]);
745
+ }
746
+ function v() {
747
+ if (!d) return 0;
748
+ let e = o.getComputedStyle(u(r));
749
+ return parseFloat(e.getPropertyValue(`margin-${l}`));
750
+ }
751
+ function y() {
752
+ return n.map((e, t, n) => {
753
+ let r = !t, i = f(n, t);
754
+ return r ? h[t] + p : i ? h[t] + m : n[t + 1][c] - e[c];
755
+ }).map(i);
756
+ }
757
+ return {
758
+ slideSizes: h,
759
+ slideSizesWithGaps: g,
760
+ startGap: p,
761
+ endGap: m
762
+ };
763
+ }
764
+ function oe(t, n, r, a, o, s, c, f, p) {
765
+ let { startEdge: m, endEdge: h, direction: g } = t, _ = e(r);
766
+ function v(e, t) {
767
+ return l(e).filter((e) => e % t === 0).map((n) => e.slice(n, n + t));
768
+ }
769
+ function y(e) {
770
+ return e.length ? l(e).reduce((t, r, l) => {
771
+ 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));
772
+ return l && C > n + p && t.push(r), y && t.push(e.length), t;
773
+ }, []).map((t, n, r) => {
774
+ let i = Math.max(r[n - 1] || 0);
775
+ return e.slice(i, t);
776
+ }) : [];
777
+ }
778
+ function b(e) {
779
+ return _ ? v(e, r) : y(e);
780
+ }
781
+ return { groupSlides: b };
782
+ }
783
+ function se(e, t, n, r, i, a, o) {
784
+ 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 } }) => {
785
+ r || n.constrain(e.pointerDown()), t.seek();
786
+ }, 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) => {
787
+ let p = e.settled(), m = !u.shouldConstrain(), h = d ? p : p && m, g = h && !s.pointerDown();
788
+ g && c.stop();
789
+ let _ = n.get() * f + i.get() * (1 - f);
790
+ r.set(_), d && (a.loop(e.direction()), o.loop()), t.to(r.get()), g && l.emit("settle"), h || l.emit("scroll");
791
+ }, 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 = {
792
+ ownerDocument: r,
793
+ ownerWindow: i,
794
+ eventHandler: o,
795
+ containerRect: U,
796
+ slideRects: fe,
797
+ animation: ke,
798
+ axis: W,
799
+ dragHandler: C(W, e, r, i, Q, w(W, i), je, ke, Pe, $, Ne, Y, o, pe, g, x, le, Ae, V),
800
+ eventStore: Ie,
801
+ percentOfView: pe,
802
+ index: Y,
803
+ indexPrevious: Te,
804
+ limit: J,
805
+ location: je,
806
+ offsetLocation: Z,
807
+ previousLocation: Me,
808
+ options: a,
809
+ resizeHandler: D(t, o, i, n, W, ue, H),
810
+ scrollBody: $,
811
+ scrollBounds: k(J, Z, Q, $, pe),
812
+ scrollLooper: M(K, J, Z, [
813
+ je,
814
+ Z,
815
+ Me,
816
+ Q
817
+ ]),
818
+ scrollProgress: Fe,
819
+ scrollSnapList: q.map(Fe.get),
820
+ scrollSnaps: q,
821
+ scrollTarget: Ne,
822
+ scrollTo: Pe,
823
+ slideLooper: I(W, G, K, ge, _e, xe, q, Z, n),
824
+ slideFocus: ze,
825
+ slidesHandler: L(t, o, B),
826
+ slidesInView: Le,
827
+ slideIndexes: Ee,
828
+ slideRegistry: Re,
829
+ slidesToScroll: be,
830
+ target: Q,
831
+ translate: F(W, t)
832
+ };
833
+ return Be;
834
+ }
835
+ function ce() {
836
+ let e = {}, t;
837
+ function n(e) {
838
+ t = e;
839
+ }
840
+ function r(t) {
841
+ return e[t] || [];
842
+ }
843
+ function i(e) {
844
+ return r(e).forEach((n) => n(t, e)), c;
845
+ }
846
+ function a(t, n) {
847
+ return e[t] = r(t).concat([n]), c;
848
+ }
849
+ function o(t, n) {
850
+ return e[t] = r(t).filter((e) => e !== n), c;
851
+ }
852
+ function s() {
853
+ e = {};
854
+ }
855
+ let c = {
856
+ init: n,
857
+ emit: i,
858
+ off: o,
859
+ on: a,
860
+ clear: s
861
+ };
862
+ return c;
863
+ }
864
+ var le = {
865
+ align: "center",
866
+ axis: "x",
867
+ container: null,
868
+ slides: null,
869
+ containScroll: "trimSnaps",
870
+ direction: "ltr",
871
+ slidesToScroll: 1,
872
+ inViewThreshold: 0,
873
+ breakpoints: {},
874
+ dragFree: !1,
875
+ dragThreshold: 10,
876
+ loop: !1,
877
+ skipSnaps: !1,
878
+ duration: 25,
879
+ startIndex: 0,
880
+ active: !0,
881
+ watchDrag: !0,
882
+ watchResize: !0,
883
+ watchSlides: !0,
884
+ watchFocus: !0
885
+ };
886
+ function z(e) {
887
+ function t(e, t) {
888
+ return h(e, t || {});
889
+ }
890
+ function n(n) {
891
+ let r = n.breakpoints || {};
892
+ return t(n, m(r).filter((t) => e.matchMedia(t).matches).map((e) => r[e]).reduce((e, n) => t(e, n), {}));
893
+ }
894
+ function r(t) {
895
+ return t.map((e) => m(e.breakpoints || {})).reduce((e, t) => e.concat(t), []).map(e.matchMedia);
896
+ }
897
+ return {
898
+ mergeOptions: t,
899
+ optionsAtMedia: n,
900
+ optionsMediaQueries: r
901
+ };
902
+ }
903
+ function ue(e) {
904
+ let t = [];
905
+ function n(n, r) {
906
+ 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 }), {});
907
+ }
908
+ function r() {
909
+ t = t.filter((e) => e.destroy());
910
+ }
911
+ return {
912
+ init: n,
913
+ destroy: r
914
+ };
915
+ }
916
+ function B(e, n, r) {
917
+ 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;
918
+ function E() {
919
+ let { container: n, slides: r } = x;
920
+ w = (t(n) ? e.querySelector(n) : n) || e.children[0];
921
+ let i = t(r) ? w.querySelectorAll(r) : r;
922
+ T = [].slice.call(i || w.children);
923
+ }
924
+ function D(t) {
925
+ let n = se(e, w, T, i, a, t, l);
926
+ return t.loop && !n.slideLooper.canLoop() ? D(Object.assign({}, t, { loop: !1 })) : n;
927
+ }
928
+ function O(e, t) {
929
+ _ || (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)));
930
+ }
931
+ function k(e, t) {
932
+ let n = P();
933
+ A(), O(u({ startIndex: n }, e), t), l.emit("reInit");
934
+ }
935
+ function A() {
936
+ 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();
937
+ }
938
+ function j() {
939
+ _ || (_ = !0, c.clear(), A(), l.emit("destroy"), l.clear());
940
+ }
941
+ function M(e, t, n) {
942
+ !x.active || _ || (y.scrollBody.useBaseFriction().useDuration(t === !0 ? 0 : x.duration), y.scrollTo.index(e, n || 0));
943
+ }
944
+ function ee(e) {
945
+ M(y.index.add(1).get(), e, -1);
946
+ }
947
+ function te(e) {
948
+ M(y.index.add(-1).get(), e, 1);
949
+ }
950
+ function ne() {
951
+ return y.index.add(1).get() !== P();
952
+ }
953
+ function re() {
954
+ return y.index.add(-1).get() !== P();
955
+ }
956
+ function ie() {
957
+ return y.scrollSnapList;
958
+ }
959
+ function N() {
960
+ return y.scrollProgress.get(y.offsetLocation.get());
961
+ }
962
+ function P() {
963
+ return y.index.get();
964
+ }
965
+ function F() {
966
+ return y.indexPrevious.get();
967
+ }
968
+ function I() {
969
+ return y.slidesInView.get();
970
+ }
971
+ function L() {
972
+ return y.slidesInView.get(!1);
973
+ }
974
+ function R() {
975
+ return C;
976
+ }
977
+ function ae() {
978
+ return y;
979
+ }
980
+ function oe() {
981
+ return e;
982
+ }
983
+ function V() {
984
+ return w;
985
+ }
986
+ function de() {
987
+ return T;
988
+ }
989
+ let H = {
990
+ canScrollNext: ne,
991
+ canScrollPrev: re,
992
+ containerNode: V,
993
+ internalEngine: ae,
994
+ destroy: j,
995
+ off: m,
996
+ on: p,
997
+ emit: h,
998
+ plugins: R,
999
+ previousScrollSnap: F,
1000
+ reInit: g,
1001
+ rootNode: oe,
1002
+ scrollNext: ee,
1003
+ scrollPrev: te,
1004
+ scrollProgress: N,
1005
+ scrollSnapList: ie,
1006
+ scrollTo: M,
1007
+ selectedScrollSnap: P,
1008
+ slideNodes: de,
1009
+ slidesInView: I,
1010
+ slidesNotInView: L
1011
+ };
1012
+ return O(n, r), setTimeout(() => l.emit("init"), 0), H;
1013
+ }
1014
+ B.globalOptions = void 0;
34
1015
  //#endregion
35
- export { i as ScrollArea, a as ScrollBar };
1016
+ export { B as EmblaCarousel };