mainstack-design-system 1.2.1 → 1.3.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 (430) hide show
  1. package/dist/{DayPickerExtended-DV1omF2s.cjs → DayPickerExtended-CA95KnM8.cjs} +1 -1
  2. package/dist/{DayPickerExtended-DfM_MXPp.js → DayPickerExtended-rLceD2PL.js} +1 -1
  3. package/dist/assets/styles.css +1 -1
  4. package/dist/mainstack-design-system.cjs +1 -1
  5. package/dist/mainstack-design-system.js +13 -13
  6. package/dist/mainstack-design-system15.cjs +1 -1
  7. package/dist/mainstack-design-system15.js +1 -1
  8. package/dist/mainstack-design-system16.cjs +1 -1
  9. package/dist/mainstack-design-system16.js +1 -1
  10. package/dist/mainstack-design-system17.cjs +1 -1
  11. package/dist/mainstack-design-system17.js +2 -2
  12. package/dist/mainstack-design-system18.cjs +1 -1
  13. package/dist/mainstack-design-system18.js +2 -2
  14. package/dist/mainstack-design-system19.cjs +1 -1
  15. package/dist/mainstack-design-system19.js +1 -1
  16. package/dist/mainstack-design-system20.cjs +1 -1
  17. package/dist/mainstack-design-system20.js +1 -1
  18. package/dist/mainstack-design-system21.cjs +1 -1
  19. package/dist/mainstack-design-system21.js +1 -1
  20. package/dist/mainstack-design-system22.cjs +1 -1
  21. package/dist/mainstack-design-system22.js +2 -2
  22. package/dist/mainstack-design-system25.cjs +1 -1
  23. package/dist/mainstack-design-system25.js +1 -1
  24. package/dist/mainstack-design-system26.cjs +1 -1
  25. package/dist/mainstack-design-system26.js +1 -1
  26. package/dist/mainstack-design-system27.cjs +1 -1
  27. package/dist/mainstack-design-system27.js +1 -1
  28. package/dist/mainstack-design-system28.cjs +1 -1
  29. package/dist/mainstack-design-system28.js +1 -1
  30. package/dist/mainstack-design-system29.cjs +1 -1
  31. package/dist/mainstack-design-system29.js +1 -1
  32. package/dist/mainstack-design-system30.cjs +1 -1
  33. package/dist/mainstack-design-system30.js +1 -1
  34. package/dist/mainstack-design-system31.cjs +1 -1
  35. package/dist/mainstack-design-system31.js +2 -2
  36. package/dist/mainstack-design-system33.cjs +1 -1
  37. package/dist/mainstack-design-system33.js +1 -1
  38. package/dist/mainstack-design-system356.cjs +1 -1
  39. package/dist/mainstack-design-system356.js +1 -1
  40. package/dist/mainstack-design-system359.cjs +1 -1
  41. package/dist/mainstack-design-system359.js +1 -1
  42. package/dist/mainstack-design-system364.cjs +1 -1
  43. package/dist/mainstack-design-system364.js +1 -1
  44. package/dist/mainstack-design-system369.cjs +1 -1
  45. package/dist/mainstack-design-system369.js +3 -3
  46. package/dist/mainstack-design-system371.cjs +1 -1
  47. package/dist/mainstack-design-system371.js +1 -1
  48. package/dist/mainstack-design-system372.cjs +1 -1
  49. package/dist/mainstack-design-system372.js +2 -2
  50. package/dist/mainstack-design-system374.cjs +1 -1
  51. package/dist/mainstack-design-system374.js +1 -1
  52. package/dist/mainstack-design-system375.cjs +1 -1
  53. package/dist/mainstack-design-system375.js +2 -2
  54. package/dist/mainstack-design-system377.cjs +1 -1
  55. package/dist/mainstack-design-system377.js +1 -1
  56. package/dist/mainstack-design-system378.cjs +1 -1
  57. package/dist/mainstack-design-system378.js +1 -1
  58. package/dist/mainstack-design-system382.cjs +1 -1
  59. package/dist/mainstack-design-system382.js +1 -1
  60. package/dist/mainstack-design-system383.cjs +1 -1
  61. package/dist/mainstack-design-system383.js +1 -1
  62. package/dist/mainstack-design-system384.cjs +1 -1
  63. package/dist/mainstack-design-system384.js +1 -1
  64. package/dist/mainstack-design-system387.cjs +1 -1
  65. package/dist/mainstack-design-system387.js +8 -7
  66. package/dist/mainstack-design-system389.cjs +1 -1
  67. package/dist/mainstack-design-system389.js +20 -18
  68. package/dist/mainstack-design-system390.cjs +1 -1
  69. package/dist/mainstack-design-system390.js +1 -1
  70. package/dist/mainstack-design-system392.cjs +1 -1
  71. package/dist/mainstack-design-system392.js +3 -3
  72. package/dist/mainstack-design-system393.cjs +1 -1
  73. package/dist/mainstack-design-system393.js +1 -1
  74. package/dist/mainstack-design-system394.cjs +1 -1
  75. package/dist/mainstack-design-system394.js +1 -1
  76. package/dist/mainstack-design-system395.cjs +1 -1
  77. package/dist/mainstack-design-system395.js +1 -1
  78. package/dist/mainstack-design-system396.cjs +1 -1
  79. package/dist/mainstack-design-system396.js +1 -1
  80. package/dist/mainstack-design-system397.cjs +1 -1
  81. package/dist/mainstack-design-system397.js +1 -1
  82. package/dist/mainstack-design-system398.cjs +1 -1
  83. package/dist/mainstack-design-system398.js +1 -1
  84. package/dist/mainstack-design-system399.cjs +1 -1
  85. package/dist/mainstack-design-system399.js +1 -1
  86. package/dist/mainstack-design-system40.cjs +1 -1
  87. package/dist/mainstack-design-system40.js +1 -1
  88. package/dist/mainstack-design-system400.cjs +1 -1
  89. package/dist/mainstack-design-system400.js +1 -1
  90. package/dist/mainstack-design-system401.cjs +1 -1
  91. package/dist/mainstack-design-system401.js +1 -1
  92. package/dist/mainstack-design-system402.cjs +1 -1
  93. package/dist/mainstack-design-system402.js +1 -1
  94. package/dist/mainstack-design-system403.cjs +1 -1
  95. package/dist/mainstack-design-system403.js +1 -1
  96. package/dist/mainstack-design-system404.cjs +1 -1
  97. package/dist/mainstack-design-system404.js +2 -2
  98. package/dist/mainstack-design-system405.cjs +1 -1
  99. package/dist/mainstack-design-system405.js +1 -1
  100. package/dist/mainstack-design-system406.cjs +1 -1
  101. package/dist/mainstack-design-system406.js +1 -1
  102. package/dist/mainstack-design-system407.cjs +1 -1
  103. package/dist/mainstack-design-system407.js +1 -1
  104. package/dist/mainstack-design-system408.cjs +1 -1
  105. package/dist/mainstack-design-system408.js +1 -1
  106. package/dist/mainstack-design-system409.cjs +1 -1
  107. package/dist/mainstack-design-system409.js +1 -1
  108. package/dist/mainstack-design-system410.cjs +1 -1
  109. package/dist/mainstack-design-system410.js +1 -1
  110. package/dist/mainstack-design-system411.cjs +1 -1
  111. package/dist/mainstack-design-system411.js +1 -1
  112. package/dist/mainstack-design-system412.cjs +1 -1
  113. package/dist/mainstack-design-system412.js +1 -1
  114. package/dist/mainstack-design-system413.cjs +1 -1
  115. package/dist/mainstack-design-system413.js +1 -1
  116. package/dist/mainstack-design-system414.cjs +1 -1
  117. package/dist/mainstack-design-system414.js +1 -1
  118. package/dist/mainstack-design-system415.cjs +1 -1
  119. package/dist/mainstack-design-system415.js +1 -1
  120. package/dist/mainstack-design-system416.cjs +1 -1
  121. package/dist/mainstack-design-system416.js +1 -1
  122. package/dist/mainstack-design-system417.cjs +1 -1
  123. package/dist/mainstack-design-system417.js +1 -1
  124. package/dist/mainstack-design-system420.cjs +1 -1
  125. package/dist/mainstack-design-system420.js +1 -1
  126. package/dist/mainstack-design-system421.cjs +1 -1
  127. package/dist/mainstack-design-system421.js +1 -1
  128. package/dist/mainstack-design-system422.cjs +1 -1
  129. package/dist/mainstack-design-system422.js +1 -1
  130. package/dist/mainstack-design-system426.cjs +1 -1
  131. package/dist/mainstack-design-system426.js +1 -1
  132. package/dist/mainstack-design-system427.cjs +1 -1
  133. package/dist/mainstack-design-system427.js +1 -1
  134. package/dist/mainstack-design-system429.cjs +1 -1
  135. package/dist/mainstack-design-system429.js +1 -1
  136. package/dist/mainstack-design-system430.cjs +1 -1
  137. package/dist/mainstack-design-system430.js +1 -1
  138. package/dist/mainstack-design-system431.cjs +1 -1
  139. package/dist/mainstack-design-system431.js +1 -1
  140. package/dist/mainstack-design-system432.cjs +1 -1
  141. package/dist/mainstack-design-system432.js +1 -1
  142. package/dist/mainstack-design-system433.cjs +1 -1
  143. package/dist/mainstack-design-system433.js +2 -2
  144. package/dist/mainstack-design-system434.cjs +1 -1
  145. package/dist/mainstack-design-system434.js +2 -2
  146. package/dist/mainstack-design-system435.cjs +1 -1
  147. package/dist/mainstack-design-system435.js +2 -2
  148. package/dist/mainstack-design-system436.cjs +1 -1
  149. package/dist/mainstack-design-system436.js +2 -2
  150. package/dist/mainstack-design-system437.cjs +1 -1
  151. package/dist/mainstack-design-system437.js +2 -2
  152. package/dist/mainstack-design-system438.cjs +1 -1
  153. package/dist/mainstack-design-system438.js +1 -1
  154. package/dist/mainstack-design-system440.cjs +1 -1
  155. package/dist/mainstack-design-system440.js +3 -3
  156. package/dist/mainstack-design-system441.cjs +1 -1
  157. package/dist/mainstack-design-system441.js +1 -1
  158. package/dist/mainstack-design-system442.cjs +1 -1
  159. package/dist/mainstack-design-system442.js +2 -2
  160. package/dist/mainstack-design-system443.cjs +1 -1
  161. package/dist/mainstack-design-system443.js +2 -2
  162. package/dist/mainstack-design-system444.cjs +1 -1
  163. package/dist/mainstack-design-system444.js +3 -3
  164. package/dist/mainstack-design-system445.cjs +1 -1
  165. package/dist/mainstack-design-system445.js +2 -2
  166. package/dist/mainstack-design-system446.cjs +1 -1
  167. package/dist/mainstack-design-system446.js +2 -2
  168. package/dist/mainstack-design-system447.cjs +1 -1
  169. package/dist/mainstack-design-system447.js +1 -1
  170. package/dist/mainstack-design-system448.cjs +1 -1
  171. package/dist/mainstack-design-system448.js +1 -1
  172. package/dist/mainstack-design-system449.cjs +1 -1
  173. package/dist/mainstack-design-system449.js +1 -1
  174. package/dist/mainstack-design-system450.cjs +1 -1
  175. package/dist/mainstack-design-system450.js +1 -1
  176. package/dist/mainstack-design-system451.cjs +1 -1
  177. package/dist/mainstack-design-system451.js +1 -1
  178. package/dist/mainstack-design-system452.cjs +1 -1
  179. package/dist/mainstack-design-system452.js +1 -1
  180. package/dist/mainstack-design-system453.cjs +1 -1
  181. package/dist/mainstack-design-system453.js +1 -1
  182. package/dist/mainstack-design-system456.cjs +1 -1
  183. package/dist/mainstack-design-system456.js +2 -2
  184. package/dist/mainstack-design-system457.cjs +1 -1
  185. package/dist/mainstack-design-system457.js +2 -2
  186. package/dist/mainstack-design-system458.cjs +1 -1
  187. package/dist/mainstack-design-system458.js +2 -2
  188. package/dist/mainstack-design-system459.cjs +1 -1
  189. package/dist/mainstack-design-system459.js +2 -2
  190. package/dist/mainstack-design-system460.cjs +1 -1
  191. package/dist/mainstack-design-system460.js +3 -3
  192. package/dist/mainstack-design-system461.cjs +1 -1
  193. package/dist/mainstack-design-system461.js +2 -2
  194. package/dist/mainstack-design-system462.cjs +1 -1
  195. package/dist/mainstack-design-system462.js +1 -1
  196. package/dist/mainstack-design-system463.cjs +1 -1
  197. package/dist/mainstack-design-system463.js +1 -1
  198. package/dist/mainstack-design-system464.cjs +1 -1
  199. package/dist/mainstack-design-system464.js +3 -3
  200. package/dist/mainstack-design-system465.cjs +1 -1
  201. package/dist/mainstack-design-system465.js +3 -3
  202. package/dist/mainstack-design-system466.cjs +1 -1
  203. package/dist/mainstack-design-system466.js +1 -1
  204. package/dist/mainstack-design-system467.cjs +1 -1
  205. package/dist/mainstack-design-system467.js +1 -1
  206. package/dist/mainstack-design-system468.cjs +1 -1
  207. package/dist/mainstack-design-system468.js +1 -1
  208. package/dist/mainstack-design-system471.cjs +1 -1
  209. package/dist/mainstack-design-system471.js +1 -1
  210. package/dist/mainstack-design-system472.cjs +1 -1
  211. package/dist/mainstack-design-system472.js +1 -1
  212. package/dist/mainstack-design-system473.cjs +1 -1
  213. package/dist/mainstack-design-system473.js +1 -1
  214. package/dist/mainstack-design-system476.cjs +1 -1
  215. package/dist/mainstack-design-system476.js +1 -1
  216. package/dist/mainstack-design-system477.cjs +1 -1
  217. package/dist/mainstack-design-system477.js +2 -2
  218. package/dist/mainstack-design-system478.cjs +1 -1
  219. package/dist/mainstack-design-system478.js +2 -2
  220. package/dist/mainstack-design-system480.cjs +1 -1
  221. package/dist/mainstack-design-system480.js +1 -1
  222. package/dist/mainstack-design-system484.cjs +1 -1
  223. package/dist/mainstack-design-system484.js +1 -1
  224. package/dist/mainstack-design-system485.cjs +1 -1
  225. package/dist/mainstack-design-system485.js +1 -1
  226. package/dist/mainstack-design-system486.cjs +1 -1
  227. package/dist/mainstack-design-system486.js +1 -1
  228. package/dist/mainstack-design-system488.cjs +1 -1
  229. package/dist/mainstack-design-system488.js +1 -1
  230. package/dist/mainstack-design-system489.cjs +1 -1
  231. package/dist/mainstack-design-system489.js +2 -2
  232. package/dist/mainstack-design-system491.cjs +1 -1
  233. package/dist/mainstack-design-system491.js +1 -1
  234. package/dist/mainstack-design-system492.cjs +1 -1
  235. package/dist/mainstack-design-system492.js +1 -1
  236. package/dist/mainstack-design-system493.cjs +1 -1
  237. package/dist/mainstack-design-system493.js +1 -1
  238. package/dist/mainstack-design-system494.cjs +1 -1
  239. package/dist/mainstack-design-system494.js +1 -1
  240. package/dist/mainstack-design-system495.cjs +1 -1
  241. package/dist/mainstack-design-system495.js +1 -1
  242. package/dist/mainstack-design-system496.cjs +1 -1
  243. package/dist/mainstack-design-system496.js +1 -1
  244. package/dist/mainstack-design-system497.cjs +1 -1
  245. package/dist/mainstack-design-system497.js +1 -1
  246. package/dist/mainstack-design-system498.cjs +1 -1
  247. package/dist/mainstack-design-system498.js +1 -1
  248. package/dist/mainstack-design-system499.cjs +1 -1
  249. package/dist/mainstack-design-system499.js +1 -1
  250. package/dist/mainstack-design-system500.cjs +1 -1
  251. package/dist/mainstack-design-system500.js +1 -1
  252. package/dist/mainstack-design-system502.cjs +1 -1
  253. package/dist/mainstack-design-system502.js +2 -2
  254. package/dist/mainstack-design-system503.cjs +1 -1
  255. package/dist/mainstack-design-system503.js +2 -2
  256. package/dist/mainstack-design-system504.cjs +1 -1
  257. package/dist/mainstack-design-system504.js +4 -4
  258. package/dist/mainstack-design-system505.cjs +1 -1
  259. package/dist/mainstack-design-system505.js +4 -4
  260. package/dist/mainstack-design-system506.cjs +1 -1
  261. package/dist/mainstack-design-system506.js +2 -2
  262. package/dist/mainstack-design-system508.cjs +1 -1
  263. package/dist/mainstack-design-system508.js +3 -3
  264. package/dist/mainstack-design-system509.cjs +1 -1
  265. package/dist/mainstack-design-system509.js +1 -1
  266. package/dist/mainstack-design-system510.cjs +1 -1
  267. package/dist/mainstack-design-system510.js +2 -2
  268. package/dist/mainstack-design-system511.cjs +1 -1
  269. package/dist/mainstack-design-system511.js +1 -1
  270. package/dist/mainstack-design-system512.cjs +1 -1
  271. package/dist/mainstack-design-system512.js +1 -1
  272. package/dist/mainstack-design-system513.cjs +1 -1
  273. package/dist/mainstack-design-system513.js +1 -1
  274. package/dist/mainstack-design-system514.cjs +1 -1
  275. package/dist/mainstack-design-system514.js +2 -2
  276. package/dist/mainstack-design-system515.cjs +1 -1
  277. package/dist/mainstack-design-system515.js +1 -1
  278. package/dist/mainstack-design-system516.cjs +1 -1
  279. package/dist/mainstack-design-system516.js +1 -1
  280. package/dist/mainstack-design-system517.cjs +1 -1
  281. package/dist/mainstack-design-system517.js +2 -2
  282. package/dist/mainstack-design-system518.cjs +1 -1
  283. package/dist/mainstack-design-system518.js +2 -2
  284. package/dist/mainstack-design-system519.cjs +1 -1
  285. package/dist/mainstack-design-system519.js +1 -1
  286. package/dist/mainstack-design-system520.cjs +1 -1
  287. package/dist/mainstack-design-system520.js +1 -1
  288. package/dist/mainstack-design-system521.cjs +1 -1
  289. package/dist/mainstack-design-system521.js +1 -1
  290. package/dist/mainstack-design-system522.cjs +1 -1
  291. package/dist/mainstack-design-system522.js +1 -1
  292. package/dist/mainstack-design-system523.cjs +1 -1
  293. package/dist/mainstack-design-system523.js +1 -1
  294. package/dist/mainstack-design-system524.cjs +1 -1
  295. package/dist/mainstack-design-system524.js +1 -1
  296. package/dist/mainstack-design-system525.cjs +1 -1
  297. package/dist/mainstack-design-system525.js +1 -1
  298. package/dist/mainstack-design-system526.cjs +1 -1
  299. package/dist/mainstack-design-system526.js +1 -1
  300. package/dist/mainstack-design-system527.cjs +1 -1
  301. package/dist/mainstack-design-system527.js +1 -1
  302. package/dist/mainstack-design-system531.cjs +1 -1
  303. package/dist/mainstack-design-system531.js +1 -1
  304. package/dist/mainstack-design-system533.cjs +1 -1
  305. package/dist/mainstack-design-system533.js +1 -1
  306. package/dist/mainstack-design-system534.cjs +1 -1
  307. package/dist/mainstack-design-system534.js +2 -2
  308. package/dist/mainstack-design-system536.cjs +1 -1
  309. package/dist/mainstack-design-system536.js +2 -2
  310. package/dist/mainstack-design-system537.cjs +1 -1
  311. package/dist/mainstack-design-system537.js +2 -2
  312. package/dist/mainstack-design-system538.cjs +1 -1
  313. package/dist/mainstack-design-system538.js +1 -1
  314. package/dist/mainstack-design-system539.cjs +1 -1
  315. package/dist/mainstack-design-system539.js +1 -1
  316. package/dist/mainstack-design-system540.cjs +1 -1
  317. package/dist/mainstack-design-system540.js +1 -1
  318. package/dist/mainstack-design-system541.cjs +1 -1
  319. package/dist/mainstack-design-system541.js +1 -1
  320. package/dist/mainstack-design-system542.cjs +1 -1
  321. package/dist/mainstack-design-system542.js +1 -1
  322. package/dist/mainstack-design-system543.cjs +1 -1
  323. package/dist/mainstack-design-system543.js +1 -1
  324. package/dist/mainstack-design-system544.cjs +1 -1
  325. package/dist/mainstack-design-system544.js +1 -1
  326. package/dist/mainstack-design-system545.cjs +1 -1
  327. package/dist/mainstack-design-system545.js +1 -1
  328. package/dist/mainstack-design-system546.cjs +1 -1
  329. package/dist/mainstack-design-system546.js +2 -2
  330. package/dist/mainstack-design-system547.cjs +1 -1
  331. package/dist/mainstack-design-system547.js +2 -2
  332. package/dist/mainstack-design-system548.cjs +1 -1
  333. package/dist/mainstack-design-system548.js +1 -1
  334. package/dist/mainstack-design-system549.cjs +1 -1
  335. package/dist/mainstack-design-system549.js +1 -1
  336. package/dist/mainstack-design-system550.cjs +1 -1
  337. package/dist/mainstack-design-system550.js +2 -2
  338. package/dist/mainstack-design-system551.cjs +1 -1
  339. package/dist/mainstack-design-system551.js +1 -1
  340. package/dist/mainstack-design-system553.cjs +1 -1
  341. package/dist/mainstack-design-system553.js +2 -2
  342. package/dist/mainstack-design-system556.cjs +1 -1
  343. package/dist/mainstack-design-system556.js +11 -5
  344. package/dist/mainstack-design-system557.cjs +1 -1
  345. package/dist/mainstack-design-system557.js +5 -23
  346. package/dist/mainstack-design-system558.cjs +1 -1
  347. package/dist/mainstack-design-system558.js +23 -9
  348. package/dist/mainstack-design-system559.cjs +1 -1
  349. package/dist/mainstack-design-system559.js +9 -43
  350. package/dist/mainstack-design-system560.cjs +1 -1
  351. package/dist/mainstack-design-system560.js +42 -13
  352. package/dist/mainstack-design-system561.cjs +1 -1
  353. package/dist/mainstack-design-system561.js +13 -48
  354. package/dist/mainstack-design-system562.cjs +1 -1
  355. package/dist/mainstack-design-system562.js +44 -14
  356. package/dist/mainstack-design-system563.cjs +1 -1
  357. package/dist/mainstack-design-system563.js +18 -98
  358. package/dist/mainstack-design-system564.cjs +1 -1
  359. package/dist/mainstack-design-system564.js +95 -34
  360. package/dist/mainstack-design-system565.cjs +1 -1
  361. package/dist/mainstack-design-system565.js +37 -13
  362. package/dist/mainstack-design-system566.cjs +1 -1
  363. package/dist/mainstack-design-system566.js +14 -255
  364. package/dist/mainstack-design-system567.cjs +1 -1
  365. package/dist/mainstack-design-system567.js +255 -12
  366. package/dist/mainstack-design-system568.cjs +1 -1
  367. package/dist/mainstack-design-system568.js +10 -7
  368. package/dist/mainstack-design-system569.cjs +1 -1
  369. package/dist/mainstack-design-system569.js +9 -47
  370. package/dist/mainstack-design-system570.cjs +1 -1
  371. package/dist/mainstack-design-system570.js +47 -14
  372. package/dist/mainstack-design-system571.cjs +1 -1
  373. package/dist/mainstack-design-system571.js +13 -21
  374. package/dist/mainstack-design-system572.cjs +1 -1
  375. package/dist/mainstack-design-system572.js +21 -13
  376. package/dist/mainstack-design-system573.cjs +1 -1
  377. package/dist/mainstack-design-system573.js +14 -14
  378. package/dist/mainstack-design-system574.cjs +1 -1
  379. package/dist/mainstack-design-system574.js +14 -16
  380. package/dist/mainstack-design-system575.cjs +1 -1
  381. package/dist/mainstack-design-system575.js +15 -11
  382. package/dist/mainstack-design-system576.cjs +1 -1
  383. package/dist/mainstack-design-system576.js +9 -11
  384. package/dist/mainstack-design-system577.cjs +1 -1
  385. package/dist/mainstack-design-system577.js +9 -9
  386. package/dist/mainstack-design-system578.cjs +1 -1
  387. package/dist/mainstack-design-system578.js +14 -16
  388. package/dist/mainstack-design-system579.cjs +1 -1
  389. package/dist/mainstack-design-system579.js +16 -16
  390. package/dist/mainstack-design-system580.cjs +1 -1
  391. package/dist/mainstack-design-system580.js +16 -11
  392. package/dist/mainstack-design-system581.cjs +1 -2
  393. package/dist/mainstack-design-system581.js +10 -11
  394. package/dist/mainstack-design-system582.cjs +2 -1
  395. package/dist/mainstack-design-system582.js +11 -24
  396. package/dist/mainstack-design-system583.cjs +1 -2
  397. package/dist/mainstack-design-system583.js +24 -258
  398. package/dist/mainstack-design-system584.cjs +1 -1
  399. package/dist/mainstack-design-system584.js +228 -121
  400. package/dist/mainstack-design-system585.cjs +2 -1
  401. package/dist/mainstack-design-system585.js +147 -49
  402. package/dist/mainstack-design-system586.cjs +1 -1
  403. package/dist/mainstack-design-system586.js +51 -2853
  404. package/dist/mainstack-design-system587.cjs +1 -2
  405. package/dist/mainstack-design-system587.js +2852 -95
  406. package/dist/mainstack-design-system588.cjs +2 -1
  407. package/dist/mainstack-design-system588.js +97 -74
  408. package/dist/mainstack-design-system589.cjs +1 -1
  409. package/dist/mainstack-design-system589.js +75 -20
  410. package/dist/mainstack-design-system590.cjs +1 -2
  411. package/dist/mainstack-design-system590.js +20 -124
  412. package/dist/mainstack-design-system591.cjs +1 -2
  413. package/dist/mainstack-design-system591.js +115 -451
  414. package/dist/mainstack-design-system592.cjs +3 -5
  415. package/dist/mainstack-design-system592.js +405 -2107
  416. package/dist/mainstack-design-system593.cjs +5 -10
  417. package/dist/mainstack-design-system593.js +2146 -153
  418. package/dist/mainstack-design-system594.cjs +9 -41
  419. package/dist/mainstack-design-system594.js +150 -23712
  420. package/dist/mainstack-design-system595.cjs +41 -3
  421. package/dist/mainstack-design-system595.js +23489 -7195
  422. package/dist/mainstack-design-system596.cjs +3 -1
  423. package/dist/mainstack-design-system596.js +7192 -2604
  424. package/dist/mainstack-design-system597.cjs +2 -1
  425. package/dist/mainstack-design-system597.js +2852 -1
  426. package/dist/mainstack-design-system598.cjs +1 -1
  427. package/dist/mainstack-design-system598.js +1 -11
  428. package/dist/mainstack-design-system599.cjs +1 -0
  429. package/dist/mainstack-design-system599.js +11 -0
  430. package/package.json +1 -1
@@ -1,172 +1,2165 @@
1
- 'use client';
2
- import { jsx as a, Fragment as N } from "react/jsx-runtime";
3
- import { D as O } from "./index-Czas6QFh.js";
4
- import { b as U } from "./index-RoCFhqzC.js";
5
- import { useResponsivePopoverDrawerContext as V } from "./mainstack-design-system575.js";
6
- import * as E from "react";
7
- import { createContext as j, useLayoutEffect as X, useEffect as _, useId as A, useRef as R, useContext as H, useInsertionEffect as F, useMemo as b, Children as G, isValidElement as Y, useState as k } from "react";
8
- import { i as q, a as J, u as S, P as Q, b as Z } from "./use-presence-Dept-wE7.js";
9
- const ee = j({}), te = q ? X : _;
10
- function ne(e) {
11
- return J(e) && "offsetHeight" in e;
12
- }
13
- const oe = j({
14
- transformPagePoint: (e) => e,
15
- isStatic: !1,
16
- reducedMotion: "never"
17
- });
18
- function z(e, o) {
19
- if (typeof e == "function")
20
- return e(o);
21
- e != null && (e.current = o);
22
- }
23
- function re(...e) {
24
- return (o) => {
25
- let t = !1;
26
- const r = e.map((s) => {
27
- const n = z(s, o);
28
- return !t && typeof n == "function" && (t = !0), n;
1
+ import { jsx as Ka, jsxs as gi } from "react/jsx-runtime";
2
+ import bi, { useMemo as F, useRef as J, useReducer as hi, useEffect as X, useCallback as h, forwardRef as yi, useImperativeHandle as wi, Fragment as ki } from "react";
3
+ import { S as ji } from "./index-BtQfgaSF.js";
4
+ import { P as s } from "./index-CeH95e4J.js";
5
+ import { _ as D } from "./tslib.es6-Cm9wiigr.js";
6
+ import { g as Di } from "./_commonjsHelpers-C6fGbg64.js";
7
+ import { cn as xa } from "./mainstack-design-system587.js";
8
+ const zi = /* @__PURE__ */ new Map([
9
+ // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
10
+ ["1km", "application/vnd.1000minds.decision-model+xml"],
11
+ ["3dml", "text/vnd.in3d.3dml"],
12
+ ["3ds", "image/x-3ds"],
13
+ ["3g2", "video/3gpp2"],
14
+ ["3gp", "video/3gp"],
15
+ ["3gpp", "video/3gpp"],
16
+ ["3mf", "model/3mf"],
17
+ ["7z", "application/x-7z-compressed"],
18
+ ["7zip", "application/x-7z-compressed"],
19
+ ["123", "application/vnd.lotus-1-2-3"],
20
+ ["aab", "application/x-authorware-bin"],
21
+ ["aac", "audio/x-acc"],
22
+ ["aam", "application/x-authorware-map"],
23
+ ["aas", "application/x-authorware-seg"],
24
+ ["abw", "application/x-abiword"],
25
+ ["ac", "application/vnd.nokia.n-gage.ac+xml"],
26
+ ["ac3", "audio/ac3"],
27
+ ["acc", "application/vnd.americandynamics.acc"],
28
+ ["ace", "application/x-ace-compressed"],
29
+ ["acu", "application/vnd.acucobol"],
30
+ ["acutc", "application/vnd.acucorp"],
31
+ ["adp", "audio/adpcm"],
32
+ ["aep", "application/vnd.audiograph"],
33
+ ["afm", "application/x-font-type1"],
34
+ ["afp", "application/vnd.ibm.modcap"],
35
+ ["ahead", "application/vnd.ahead.space"],
36
+ ["ai", "application/pdf"],
37
+ ["aif", "audio/x-aiff"],
38
+ ["aifc", "audio/x-aiff"],
39
+ ["aiff", "audio/x-aiff"],
40
+ ["air", "application/vnd.adobe.air-application-installer-package+zip"],
41
+ ["ait", "application/vnd.dvb.ait"],
42
+ ["ami", "application/vnd.amiga.ami"],
43
+ ["amr", "audio/amr"],
44
+ ["apk", "application/vnd.android.package-archive"],
45
+ ["apng", "image/apng"],
46
+ ["appcache", "text/cache-manifest"],
47
+ ["application", "application/x-ms-application"],
48
+ ["apr", "application/vnd.lotus-approach"],
49
+ ["arc", "application/x-freearc"],
50
+ ["arj", "application/x-arj"],
51
+ ["asc", "application/pgp-signature"],
52
+ ["asf", "video/x-ms-asf"],
53
+ ["asm", "text/x-asm"],
54
+ ["aso", "application/vnd.accpac.simply.aso"],
55
+ ["asx", "video/x-ms-asf"],
56
+ ["atc", "application/vnd.acucorp"],
57
+ ["atom", "application/atom+xml"],
58
+ ["atomcat", "application/atomcat+xml"],
59
+ ["atomdeleted", "application/atomdeleted+xml"],
60
+ ["atomsvc", "application/atomsvc+xml"],
61
+ ["atx", "application/vnd.antix.game-component"],
62
+ ["au", "audio/x-au"],
63
+ ["avi", "video/x-msvideo"],
64
+ ["avif", "image/avif"],
65
+ ["aw", "application/applixware"],
66
+ ["azf", "application/vnd.airzip.filesecure.azf"],
67
+ ["azs", "application/vnd.airzip.filesecure.azs"],
68
+ ["azv", "image/vnd.airzip.accelerator.azv"],
69
+ ["azw", "application/vnd.amazon.ebook"],
70
+ ["b16", "image/vnd.pco.b16"],
71
+ ["bat", "application/x-msdownload"],
72
+ ["bcpio", "application/x-bcpio"],
73
+ ["bdf", "application/x-font-bdf"],
74
+ ["bdm", "application/vnd.syncml.dm+wbxml"],
75
+ ["bdoc", "application/x-bdoc"],
76
+ ["bed", "application/vnd.realvnc.bed"],
77
+ ["bh2", "application/vnd.fujitsu.oasysprs"],
78
+ ["bin", "application/octet-stream"],
79
+ ["blb", "application/x-blorb"],
80
+ ["blorb", "application/x-blorb"],
81
+ ["bmi", "application/vnd.bmi"],
82
+ ["bmml", "application/vnd.balsamiq.bmml+xml"],
83
+ ["bmp", "image/bmp"],
84
+ ["book", "application/vnd.framemaker"],
85
+ ["box", "application/vnd.previewsystems.box"],
86
+ ["boz", "application/x-bzip2"],
87
+ ["bpk", "application/octet-stream"],
88
+ ["bpmn", "application/octet-stream"],
89
+ ["bsp", "model/vnd.valve.source.compiled-map"],
90
+ ["btif", "image/prs.btif"],
91
+ ["buffer", "application/octet-stream"],
92
+ ["bz", "application/x-bzip"],
93
+ ["bz2", "application/x-bzip2"],
94
+ ["c", "text/x-c"],
95
+ ["c4d", "application/vnd.clonk.c4group"],
96
+ ["c4f", "application/vnd.clonk.c4group"],
97
+ ["c4g", "application/vnd.clonk.c4group"],
98
+ ["c4p", "application/vnd.clonk.c4group"],
99
+ ["c4u", "application/vnd.clonk.c4group"],
100
+ ["c11amc", "application/vnd.cluetrust.cartomobile-config"],
101
+ ["c11amz", "application/vnd.cluetrust.cartomobile-config-pkg"],
102
+ ["cab", "application/vnd.ms-cab-compressed"],
103
+ ["caf", "audio/x-caf"],
104
+ ["cap", "application/vnd.tcpdump.pcap"],
105
+ ["car", "application/vnd.curl.car"],
106
+ ["cat", "application/vnd.ms-pki.seccat"],
107
+ ["cb7", "application/x-cbr"],
108
+ ["cba", "application/x-cbr"],
109
+ ["cbr", "application/x-cbr"],
110
+ ["cbt", "application/x-cbr"],
111
+ ["cbz", "application/x-cbr"],
112
+ ["cc", "text/x-c"],
113
+ ["cco", "application/x-cocoa"],
114
+ ["cct", "application/x-director"],
115
+ ["ccxml", "application/ccxml+xml"],
116
+ ["cdbcmsg", "application/vnd.contact.cmsg"],
117
+ ["cda", "application/x-cdf"],
118
+ ["cdf", "application/x-netcdf"],
119
+ ["cdfx", "application/cdfx+xml"],
120
+ ["cdkey", "application/vnd.mediastation.cdkey"],
121
+ ["cdmia", "application/cdmi-capability"],
122
+ ["cdmic", "application/cdmi-container"],
123
+ ["cdmid", "application/cdmi-domain"],
124
+ ["cdmio", "application/cdmi-object"],
125
+ ["cdmiq", "application/cdmi-queue"],
126
+ ["cdr", "application/cdr"],
127
+ ["cdx", "chemical/x-cdx"],
128
+ ["cdxml", "application/vnd.chemdraw+xml"],
129
+ ["cdy", "application/vnd.cinderella"],
130
+ ["cer", "application/pkix-cert"],
131
+ ["cfs", "application/x-cfs-compressed"],
132
+ ["cgm", "image/cgm"],
133
+ ["chat", "application/x-chat"],
134
+ ["chm", "application/vnd.ms-htmlhelp"],
135
+ ["chrt", "application/vnd.kde.kchart"],
136
+ ["cif", "chemical/x-cif"],
137
+ ["cii", "application/vnd.anser-web-certificate-issue-initiation"],
138
+ ["cil", "application/vnd.ms-artgalry"],
139
+ ["cjs", "application/node"],
140
+ ["cla", "application/vnd.claymore"],
141
+ ["class", "application/octet-stream"],
142
+ ["clkk", "application/vnd.crick.clicker.keyboard"],
143
+ ["clkp", "application/vnd.crick.clicker.palette"],
144
+ ["clkt", "application/vnd.crick.clicker.template"],
145
+ ["clkw", "application/vnd.crick.clicker.wordbank"],
146
+ ["clkx", "application/vnd.crick.clicker"],
147
+ ["clp", "application/x-msclip"],
148
+ ["cmc", "application/vnd.cosmocaller"],
149
+ ["cmdf", "chemical/x-cmdf"],
150
+ ["cml", "chemical/x-cml"],
151
+ ["cmp", "application/vnd.yellowriver-custom-menu"],
152
+ ["cmx", "image/x-cmx"],
153
+ ["cod", "application/vnd.rim.cod"],
154
+ ["coffee", "text/coffeescript"],
155
+ ["com", "application/x-msdownload"],
156
+ ["conf", "text/plain"],
157
+ ["cpio", "application/x-cpio"],
158
+ ["cpp", "text/x-c"],
159
+ ["cpt", "application/mac-compactpro"],
160
+ ["crd", "application/x-mscardfile"],
161
+ ["crl", "application/pkix-crl"],
162
+ ["crt", "application/x-x509-ca-cert"],
163
+ ["crx", "application/x-chrome-extension"],
164
+ ["cryptonote", "application/vnd.rig.cryptonote"],
165
+ ["csh", "application/x-csh"],
166
+ ["csl", "application/vnd.citationstyles.style+xml"],
167
+ ["csml", "chemical/x-csml"],
168
+ ["csp", "application/vnd.commonspace"],
169
+ ["csr", "application/octet-stream"],
170
+ ["css", "text/css"],
171
+ ["cst", "application/x-director"],
172
+ ["csv", "text/csv"],
173
+ ["cu", "application/cu-seeme"],
174
+ ["curl", "text/vnd.curl"],
175
+ ["cww", "application/prs.cww"],
176
+ ["cxt", "application/x-director"],
177
+ ["cxx", "text/x-c"],
178
+ ["dae", "model/vnd.collada+xml"],
179
+ ["daf", "application/vnd.mobius.daf"],
180
+ ["dart", "application/vnd.dart"],
181
+ ["dataless", "application/vnd.fdsn.seed"],
182
+ ["davmount", "application/davmount+xml"],
183
+ ["dbf", "application/vnd.dbf"],
184
+ ["dbk", "application/docbook+xml"],
185
+ ["dcr", "application/x-director"],
186
+ ["dcurl", "text/vnd.curl.dcurl"],
187
+ ["dd2", "application/vnd.oma.dd2+xml"],
188
+ ["ddd", "application/vnd.fujixerox.ddd"],
189
+ ["ddf", "application/vnd.syncml.dmddf+xml"],
190
+ ["dds", "image/vnd.ms-dds"],
191
+ ["deb", "application/x-debian-package"],
192
+ ["def", "text/plain"],
193
+ ["deploy", "application/octet-stream"],
194
+ ["der", "application/x-x509-ca-cert"],
195
+ ["dfac", "application/vnd.dreamfactory"],
196
+ ["dgc", "application/x-dgc-compressed"],
197
+ ["dic", "text/x-c"],
198
+ ["dir", "application/x-director"],
199
+ ["dis", "application/vnd.mobius.dis"],
200
+ ["disposition-notification", "message/disposition-notification"],
201
+ ["dist", "application/octet-stream"],
202
+ ["distz", "application/octet-stream"],
203
+ ["djv", "image/vnd.djvu"],
204
+ ["djvu", "image/vnd.djvu"],
205
+ ["dll", "application/octet-stream"],
206
+ ["dmg", "application/x-apple-diskimage"],
207
+ ["dmn", "application/octet-stream"],
208
+ ["dmp", "application/vnd.tcpdump.pcap"],
209
+ ["dms", "application/octet-stream"],
210
+ ["dna", "application/vnd.dna"],
211
+ ["doc", "application/msword"],
212
+ ["docm", "application/vnd.ms-word.template.macroEnabled.12"],
213
+ ["docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
214
+ ["dot", "application/msword"],
215
+ ["dotm", "application/vnd.ms-word.template.macroEnabled.12"],
216
+ ["dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"],
217
+ ["dp", "application/vnd.osgi.dp"],
218
+ ["dpg", "application/vnd.dpgraph"],
219
+ ["dra", "audio/vnd.dra"],
220
+ ["drle", "image/dicom-rle"],
221
+ ["dsc", "text/prs.lines.tag"],
222
+ ["dssc", "application/dssc+der"],
223
+ ["dtb", "application/x-dtbook+xml"],
224
+ ["dtd", "application/xml-dtd"],
225
+ ["dts", "audio/vnd.dts"],
226
+ ["dtshd", "audio/vnd.dts.hd"],
227
+ ["dump", "application/octet-stream"],
228
+ ["dvb", "video/vnd.dvb.file"],
229
+ ["dvi", "application/x-dvi"],
230
+ ["dwd", "application/atsc-dwd+xml"],
231
+ ["dwf", "model/vnd.dwf"],
232
+ ["dwg", "image/vnd.dwg"],
233
+ ["dxf", "image/vnd.dxf"],
234
+ ["dxp", "application/vnd.spotfire.dxp"],
235
+ ["dxr", "application/x-director"],
236
+ ["ear", "application/java-archive"],
237
+ ["ecelp4800", "audio/vnd.nuera.ecelp4800"],
238
+ ["ecelp7470", "audio/vnd.nuera.ecelp7470"],
239
+ ["ecelp9600", "audio/vnd.nuera.ecelp9600"],
240
+ ["ecma", "application/ecmascript"],
241
+ ["edm", "application/vnd.novadigm.edm"],
242
+ ["edx", "application/vnd.novadigm.edx"],
243
+ ["efif", "application/vnd.picsel"],
244
+ ["ei6", "application/vnd.pg.osasli"],
245
+ ["elc", "application/octet-stream"],
246
+ ["emf", "image/emf"],
247
+ ["eml", "message/rfc822"],
248
+ ["emma", "application/emma+xml"],
249
+ ["emotionml", "application/emotionml+xml"],
250
+ ["emz", "application/x-msmetafile"],
251
+ ["eol", "audio/vnd.digital-winds"],
252
+ ["eot", "application/vnd.ms-fontobject"],
253
+ ["eps", "application/postscript"],
254
+ ["epub", "application/epub+zip"],
255
+ ["es", "application/ecmascript"],
256
+ ["es3", "application/vnd.eszigno3+xml"],
257
+ ["esa", "application/vnd.osgi.subsystem"],
258
+ ["esf", "application/vnd.epson.esf"],
259
+ ["et3", "application/vnd.eszigno3+xml"],
260
+ ["etx", "text/x-setext"],
261
+ ["eva", "application/x-eva"],
262
+ ["evy", "application/x-envoy"],
263
+ ["exe", "application/octet-stream"],
264
+ ["exi", "application/exi"],
265
+ ["exp", "application/express"],
266
+ ["exr", "image/aces"],
267
+ ["ext", "application/vnd.novadigm.ext"],
268
+ ["ez", "application/andrew-inset"],
269
+ ["ez2", "application/vnd.ezpix-album"],
270
+ ["ez3", "application/vnd.ezpix-package"],
271
+ ["f", "text/x-fortran"],
272
+ ["f4v", "video/mp4"],
273
+ ["f77", "text/x-fortran"],
274
+ ["f90", "text/x-fortran"],
275
+ ["fbs", "image/vnd.fastbidsheet"],
276
+ ["fcdt", "application/vnd.adobe.formscentral.fcdt"],
277
+ ["fcs", "application/vnd.isac.fcs"],
278
+ ["fdf", "application/vnd.fdf"],
279
+ ["fdt", "application/fdt+xml"],
280
+ ["fe_launch", "application/vnd.denovo.fcselayout-link"],
281
+ ["fg5", "application/vnd.fujitsu.oasysgp"],
282
+ ["fgd", "application/x-director"],
283
+ ["fh", "image/x-freehand"],
284
+ ["fh4", "image/x-freehand"],
285
+ ["fh5", "image/x-freehand"],
286
+ ["fh7", "image/x-freehand"],
287
+ ["fhc", "image/x-freehand"],
288
+ ["fig", "application/x-xfig"],
289
+ ["fits", "image/fits"],
290
+ ["flac", "audio/x-flac"],
291
+ ["fli", "video/x-fli"],
292
+ ["flo", "application/vnd.micrografx.flo"],
293
+ ["flv", "video/x-flv"],
294
+ ["flw", "application/vnd.kde.kivio"],
295
+ ["flx", "text/vnd.fmi.flexstor"],
296
+ ["fly", "text/vnd.fly"],
297
+ ["fm", "application/vnd.framemaker"],
298
+ ["fnc", "application/vnd.frogans.fnc"],
299
+ ["fo", "application/vnd.software602.filler.form+xml"],
300
+ ["for", "text/x-fortran"],
301
+ ["fpx", "image/vnd.fpx"],
302
+ ["frame", "application/vnd.framemaker"],
303
+ ["fsc", "application/vnd.fsc.weblaunch"],
304
+ ["fst", "image/vnd.fst"],
305
+ ["ftc", "application/vnd.fluxtime.clip"],
306
+ ["fti", "application/vnd.anser-web-funds-transfer-initiation"],
307
+ ["fvt", "video/vnd.fvt"],
308
+ ["fxp", "application/vnd.adobe.fxp"],
309
+ ["fxpl", "application/vnd.adobe.fxp"],
310
+ ["fzs", "application/vnd.fuzzysheet"],
311
+ ["g2w", "application/vnd.geoplan"],
312
+ ["g3", "image/g3fax"],
313
+ ["g3w", "application/vnd.geospace"],
314
+ ["gac", "application/vnd.groove-account"],
315
+ ["gam", "application/x-tads"],
316
+ ["gbr", "application/rpki-ghostbusters"],
317
+ ["gca", "application/x-gca-compressed"],
318
+ ["gdl", "model/vnd.gdl"],
319
+ ["gdoc", "application/vnd.google-apps.document"],
320
+ ["geo", "application/vnd.dynageo"],
321
+ ["geojson", "application/geo+json"],
322
+ ["gex", "application/vnd.geometry-explorer"],
323
+ ["ggb", "application/vnd.geogebra.file"],
324
+ ["ggt", "application/vnd.geogebra.tool"],
325
+ ["ghf", "application/vnd.groove-help"],
326
+ ["gif", "image/gif"],
327
+ ["gim", "application/vnd.groove-identity-message"],
328
+ ["glb", "model/gltf-binary"],
329
+ ["gltf", "model/gltf+json"],
330
+ ["gml", "application/gml+xml"],
331
+ ["gmx", "application/vnd.gmx"],
332
+ ["gnumeric", "application/x-gnumeric"],
333
+ ["gpg", "application/gpg-keys"],
334
+ ["gph", "application/vnd.flographit"],
335
+ ["gpx", "application/gpx+xml"],
336
+ ["gqf", "application/vnd.grafeq"],
337
+ ["gqs", "application/vnd.grafeq"],
338
+ ["gram", "application/srgs"],
339
+ ["gramps", "application/x-gramps-xml"],
340
+ ["gre", "application/vnd.geometry-explorer"],
341
+ ["grv", "application/vnd.groove-injector"],
342
+ ["grxml", "application/srgs+xml"],
343
+ ["gsf", "application/x-font-ghostscript"],
344
+ ["gsheet", "application/vnd.google-apps.spreadsheet"],
345
+ ["gslides", "application/vnd.google-apps.presentation"],
346
+ ["gtar", "application/x-gtar"],
347
+ ["gtm", "application/vnd.groove-tool-message"],
348
+ ["gtw", "model/vnd.gtw"],
349
+ ["gv", "text/vnd.graphviz"],
350
+ ["gxf", "application/gxf"],
351
+ ["gxt", "application/vnd.geonext"],
352
+ ["gz", "application/gzip"],
353
+ ["gzip", "application/gzip"],
354
+ ["h", "text/x-c"],
355
+ ["h261", "video/h261"],
356
+ ["h263", "video/h263"],
357
+ ["h264", "video/h264"],
358
+ ["hal", "application/vnd.hal+xml"],
359
+ ["hbci", "application/vnd.hbci"],
360
+ ["hbs", "text/x-handlebars-template"],
361
+ ["hdd", "application/x-virtualbox-hdd"],
362
+ ["hdf", "application/x-hdf"],
363
+ ["heic", "image/heic"],
364
+ ["heics", "image/heic-sequence"],
365
+ ["heif", "image/heif"],
366
+ ["heifs", "image/heif-sequence"],
367
+ ["hej2", "image/hej2k"],
368
+ ["held", "application/atsc-held+xml"],
369
+ ["hh", "text/x-c"],
370
+ ["hjson", "application/hjson"],
371
+ ["hlp", "application/winhlp"],
372
+ ["hpgl", "application/vnd.hp-hpgl"],
373
+ ["hpid", "application/vnd.hp-hpid"],
374
+ ["hps", "application/vnd.hp-hps"],
375
+ ["hqx", "application/mac-binhex40"],
376
+ ["hsj2", "image/hsj2"],
377
+ ["htc", "text/x-component"],
378
+ ["htke", "application/vnd.kenameaapp"],
379
+ ["htm", "text/html"],
380
+ ["html", "text/html"],
381
+ ["hvd", "application/vnd.yamaha.hv-dic"],
382
+ ["hvp", "application/vnd.yamaha.hv-voice"],
383
+ ["hvs", "application/vnd.yamaha.hv-script"],
384
+ ["i2g", "application/vnd.intergeo"],
385
+ ["icc", "application/vnd.iccprofile"],
386
+ ["ice", "x-conference/x-cooltalk"],
387
+ ["icm", "application/vnd.iccprofile"],
388
+ ["ico", "image/x-icon"],
389
+ ["ics", "text/calendar"],
390
+ ["ief", "image/ief"],
391
+ ["ifb", "text/calendar"],
392
+ ["ifm", "application/vnd.shana.informed.formdata"],
393
+ ["iges", "model/iges"],
394
+ ["igl", "application/vnd.igloader"],
395
+ ["igm", "application/vnd.insors.igm"],
396
+ ["igs", "model/iges"],
397
+ ["igx", "application/vnd.micrografx.igx"],
398
+ ["iif", "application/vnd.shana.informed.interchange"],
399
+ ["img", "application/octet-stream"],
400
+ ["imp", "application/vnd.accpac.simply.imp"],
401
+ ["ims", "application/vnd.ms-ims"],
402
+ ["in", "text/plain"],
403
+ ["ini", "text/plain"],
404
+ ["ink", "application/inkml+xml"],
405
+ ["inkml", "application/inkml+xml"],
406
+ ["install", "application/x-install-instructions"],
407
+ ["iota", "application/vnd.astraea-software.iota"],
408
+ ["ipfix", "application/ipfix"],
409
+ ["ipk", "application/vnd.shana.informed.package"],
410
+ ["irm", "application/vnd.ibm.rights-management"],
411
+ ["irp", "application/vnd.irepository.package+xml"],
412
+ ["iso", "application/x-iso9660-image"],
413
+ ["itp", "application/vnd.shana.informed.formtemplate"],
414
+ ["its", "application/its+xml"],
415
+ ["ivp", "application/vnd.immervision-ivp"],
416
+ ["ivu", "application/vnd.immervision-ivu"],
417
+ ["jad", "text/vnd.sun.j2me.app-descriptor"],
418
+ ["jade", "text/jade"],
419
+ ["jam", "application/vnd.jam"],
420
+ ["jar", "application/java-archive"],
421
+ ["jardiff", "application/x-java-archive-diff"],
422
+ ["java", "text/x-java-source"],
423
+ ["jhc", "image/jphc"],
424
+ ["jisp", "application/vnd.jisp"],
425
+ ["jls", "image/jls"],
426
+ ["jlt", "application/vnd.hp-jlyt"],
427
+ ["jng", "image/x-jng"],
428
+ ["jnlp", "application/x-java-jnlp-file"],
429
+ ["joda", "application/vnd.joost.joda-archive"],
430
+ ["jp2", "image/jp2"],
431
+ ["jpe", "image/jpeg"],
432
+ ["jpeg", "image/jpeg"],
433
+ ["jpf", "image/jpx"],
434
+ ["jpg", "image/jpeg"],
435
+ ["jpg2", "image/jp2"],
436
+ ["jpgm", "video/jpm"],
437
+ ["jpgv", "video/jpeg"],
438
+ ["jph", "image/jph"],
439
+ ["jpm", "video/jpm"],
440
+ ["jpx", "image/jpx"],
441
+ ["js", "application/javascript"],
442
+ ["json", "application/json"],
443
+ ["json5", "application/json5"],
444
+ ["jsonld", "application/ld+json"],
445
+ // https://jsonlines.org/
446
+ ["jsonl", "application/jsonl"],
447
+ ["jsonml", "application/jsonml+json"],
448
+ ["jsx", "text/jsx"],
449
+ ["jxr", "image/jxr"],
450
+ ["jxra", "image/jxra"],
451
+ ["jxrs", "image/jxrs"],
452
+ ["jxs", "image/jxs"],
453
+ ["jxsc", "image/jxsc"],
454
+ ["jxsi", "image/jxsi"],
455
+ ["jxss", "image/jxss"],
456
+ ["kar", "audio/midi"],
457
+ ["karbon", "application/vnd.kde.karbon"],
458
+ ["kdb", "application/octet-stream"],
459
+ ["kdbx", "application/x-keepass2"],
460
+ ["key", "application/x-iwork-keynote-sffkey"],
461
+ ["kfo", "application/vnd.kde.kformula"],
462
+ ["kia", "application/vnd.kidspiration"],
463
+ ["kml", "application/vnd.google-earth.kml+xml"],
464
+ ["kmz", "application/vnd.google-earth.kmz"],
465
+ ["kne", "application/vnd.kinar"],
466
+ ["knp", "application/vnd.kinar"],
467
+ ["kon", "application/vnd.kde.kontour"],
468
+ ["kpr", "application/vnd.kde.kpresenter"],
469
+ ["kpt", "application/vnd.kde.kpresenter"],
470
+ ["kpxx", "application/vnd.ds-keypoint"],
471
+ ["ksp", "application/vnd.kde.kspread"],
472
+ ["ktr", "application/vnd.kahootz"],
473
+ ["ktx", "image/ktx"],
474
+ ["ktx2", "image/ktx2"],
475
+ ["ktz", "application/vnd.kahootz"],
476
+ ["kwd", "application/vnd.kde.kword"],
477
+ ["kwt", "application/vnd.kde.kword"],
478
+ ["lasxml", "application/vnd.las.las+xml"],
479
+ ["latex", "application/x-latex"],
480
+ ["lbd", "application/vnd.llamagraphics.life-balance.desktop"],
481
+ ["lbe", "application/vnd.llamagraphics.life-balance.exchange+xml"],
482
+ ["les", "application/vnd.hhe.lesson-player"],
483
+ ["less", "text/less"],
484
+ ["lgr", "application/lgr+xml"],
485
+ ["lha", "application/octet-stream"],
486
+ ["link66", "application/vnd.route66.link66+xml"],
487
+ ["list", "text/plain"],
488
+ ["list3820", "application/vnd.ibm.modcap"],
489
+ ["listafp", "application/vnd.ibm.modcap"],
490
+ ["litcoffee", "text/coffeescript"],
491
+ ["lnk", "application/x-ms-shortcut"],
492
+ ["log", "text/plain"],
493
+ ["lostxml", "application/lost+xml"],
494
+ ["lrf", "application/octet-stream"],
495
+ ["lrm", "application/vnd.ms-lrm"],
496
+ ["ltf", "application/vnd.frogans.ltf"],
497
+ ["lua", "text/x-lua"],
498
+ ["luac", "application/x-lua-bytecode"],
499
+ ["lvp", "audio/vnd.lucent.voice"],
500
+ ["lwp", "application/vnd.lotus-wordpro"],
501
+ ["lzh", "application/octet-stream"],
502
+ ["m1v", "video/mpeg"],
503
+ ["m2a", "audio/mpeg"],
504
+ ["m2v", "video/mpeg"],
505
+ ["m3a", "audio/mpeg"],
506
+ ["m3u", "text/plain"],
507
+ ["m3u8", "application/vnd.apple.mpegurl"],
508
+ ["m4a", "audio/x-m4a"],
509
+ ["m4p", "application/mp4"],
510
+ ["m4s", "video/iso.segment"],
511
+ ["m4u", "application/vnd.mpegurl"],
512
+ ["m4v", "video/x-m4v"],
513
+ ["m13", "application/x-msmediaview"],
514
+ ["m14", "application/x-msmediaview"],
515
+ ["m21", "application/mp21"],
516
+ ["ma", "application/mathematica"],
517
+ ["mads", "application/mads+xml"],
518
+ ["maei", "application/mmt-aei+xml"],
519
+ ["mag", "application/vnd.ecowin.chart"],
520
+ ["maker", "application/vnd.framemaker"],
521
+ ["man", "text/troff"],
522
+ ["manifest", "text/cache-manifest"],
523
+ ["map", "application/json"],
524
+ ["mar", "application/octet-stream"],
525
+ ["markdown", "text/markdown"],
526
+ ["mathml", "application/mathml+xml"],
527
+ ["mb", "application/mathematica"],
528
+ ["mbk", "application/vnd.mobius.mbk"],
529
+ ["mbox", "application/mbox"],
530
+ ["mc1", "application/vnd.medcalcdata"],
531
+ ["mcd", "application/vnd.mcd"],
532
+ ["mcurl", "text/vnd.curl.mcurl"],
533
+ ["md", "text/markdown"],
534
+ ["mdb", "application/x-msaccess"],
535
+ ["mdi", "image/vnd.ms-modi"],
536
+ ["mdx", "text/mdx"],
537
+ ["me", "text/troff"],
538
+ ["mesh", "model/mesh"],
539
+ ["meta4", "application/metalink4+xml"],
540
+ ["metalink", "application/metalink+xml"],
541
+ ["mets", "application/mets+xml"],
542
+ ["mfm", "application/vnd.mfmp"],
543
+ ["mft", "application/rpki-manifest"],
544
+ ["mgp", "application/vnd.osgeo.mapguide.package"],
545
+ ["mgz", "application/vnd.proteus.magazine"],
546
+ ["mid", "audio/midi"],
547
+ ["midi", "audio/midi"],
548
+ ["mie", "application/x-mie"],
549
+ ["mif", "application/vnd.mif"],
550
+ ["mime", "message/rfc822"],
551
+ ["mj2", "video/mj2"],
552
+ ["mjp2", "video/mj2"],
553
+ ["mjs", "application/javascript"],
554
+ ["mk3d", "video/x-matroska"],
555
+ ["mka", "audio/x-matroska"],
556
+ ["mkd", "text/x-markdown"],
557
+ ["mks", "video/x-matroska"],
558
+ ["mkv", "video/x-matroska"],
559
+ ["mlp", "application/vnd.dolby.mlp"],
560
+ ["mmd", "application/vnd.chipnuts.karaoke-mmd"],
561
+ ["mmf", "application/vnd.smaf"],
562
+ ["mml", "text/mathml"],
563
+ ["mmr", "image/vnd.fujixerox.edmics-mmr"],
564
+ ["mng", "video/x-mng"],
565
+ ["mny", "application/x-msmoney"],
566
+ ["mobi", "application/x-mobipocket-ebook"],
567
+ ["mods", "application/mods+xml"],
568
+ ["mov", "video/quicktime"],
569
+ ["movie", "video/x-sgi-movie"],
570
+ ["mp2", "audio/mpeg"],
571
+ ["mp2a", "audio/mpeg"],
572
+ ["mp3", "audio/mpeg"],
573
+ ["mp4", "video/mp4"],
574
+ ["mp4a", "audio/mp4"],
575
+ ["mp4s", "application/mp4"],
576
+ ["mp4v", "video/mp4"],
577
+ ["mp21", "application/mp21"],
578
+ ["mpc", "application/vnd.mophun.certificate"],
579
+ ["mpd", "application/dash+xml"],
580
+ ["mpe", "video/mpeg"],
581
+ ["mpeg", "video/mpeg"],
582
+ ["mpg", "video/mpeg"],
583
+ ["mpg4", "video/mp4"],
584
+ ["mpga", "audio/mpeg"],
585
+ ["mpkg", "application/vnd.apple.installer+xml"],
586
+ ["mpm", "application/vnd.blueice.multipass"],
587
+ ["mpn", "application/vnd.mophun.application"],
588
+ ["mpp", "application/vnd.ms-project"],
589
+ ["mpt", "application/vnd.ms-project"],
590
+ ["mpy", "application/vnd.ibm.minipay"],
591
+ ["mqy", "application/vnd.mobius.mqy"],
592
+ ["mrc", "application/marc"],
593
+ ["mrcx", "application/marcxml+xml"],
594
+ ["ms", "text/troff"],
595
+ ["mscml", "application/mediaservercontrol+xml"],
596
+ ["mseed", "application/vnd.fdsn.mseed"],
597
+ ["mseq", "application/vnd.mseq"],
598
+ ["msf", "application/vnd.epson.msf"],
599
+ ["msg", "application/vnd.ms-outlook"],
600
+ ["msh", "model/mesh"],
601
+ ["msi", "application/x-msdownload"],
602
+ ["msl", "application/vnd.mobius.msl"],
603
+ ["msm", "application/octet-stream"],
604
+ ["msp", "application/octet-stream"],
605
+ ["msty", "application/vnd.muvee.style"],
606
+ ["mtl", "model/mtl"],
607
+ ["mts", "model/vnd.mts"],
608
+ ["mus", "application/vnd.musician"],
609
+ ["musd", "application/mmt-usd+xml"],
610
+ ["musicxml", "application/vnd.recordare.musicxml+xml"],
611
+ ["mvb", "application/x-msmediaview"],
612
+ ["mvt", "application/vnd.mapbox-vector-tile"],
613
+ ["mwf", "application/vnd.mfer"],
614
+ ["mxf", "application/mxf"],
615
+ ["mxl", "application/vnd.recordare.musicxml"],
616
+ ["mxmf", "audio/mobile-xmf"],
617
+ ["mxml", "application/xv+xml"],
618
+ ["mxs", "application/vnd.triscape.mxs"],
619
+ ["mxu", "video/vnd.mpegurl"],
620
+ ["n-gage", "application/vnd.nokia.n-gage.symbian.install"],
621
+ ["n3", "text/n3"],
622
+ ["nb", "application/mathematica"],
623
+ ["nbp", "application/vnd.wolfram.player"],
624
+ ["nc", "application/x-netcdf"],
625
+ ["ncx", "application/x-dtbncx+xml"],
626
+ ["nfo", "text/x-nfo"],
627
+ ["ngdat", "application/vnd.nokia.n-gage.data"],
628
+ ["nitf", "application/vnd.nitf"],
629
+ ["nlu", "application/vnd.neurolanguage.nlu"],
630
+ ["nml", "application/vnd.enliven"],
631
+ ["nnd", "application/vnd.noblenet-directory"],
632
+ ["nns", "application/vnd.noblenet-sealer"],
633
+ ["nnw", "application/vnd.noblenet-web"],
634
+ ["npx", "image/vnd.net-fpx"],
635
+ ["nq", "application/n-quads"],
636
+ ["nsc", "application/x-conference"],
637
+ ["nsf", "application/vnd.lotus-notes"],
638
+ ["nt", "application/n-triples"],
639
+ ["ntf", "application/vnd.nitf"],
640
+ ["numbers", "application/x-iwork-numbers-sffnumbers"],
641
+ ["nzb", "application/x-nzb"],
642
+ ["oa2", "application/vnd.fujitsu.oasys2"],
643
+ ["oa3", "application/vnd.fujitsu.oasys3"],
644
+ ["oas", "application/vnd.fujitsu.oasys"],
645
+ ["obd", "application/x-msbinder"],
646
+ ["obgx", "application/vnd.openblox.game+xml"],
647
+ ["obj", "model/obj"],
648
+ ["oda", "application/oda"],
649
+ ["odb", "application/vnd.oasis.opendocument.database"],
650
+ ["odc", "application/vnd.oasis.opendocument.chart"],
651
+ ["odf", "application/vnd.oasis.opendocument.formula"],
652
+ ["odft", "application/vnd.oasis.opendocument.formula-template"],
653
+ ["odg", "application/vnd.oasis.opendocument.graphics"],
654
+ ["odi", "application/vnd.oasis.opendocument.image"],
655
+ ["odm", "application/vnd.oasis.opendocument.text-master"],
656
+ ["odp", "application/vnd.oasis.opendocument.presentation"],
657
+ ["ods", "application/vnd.oasis.opendocument.spreadsheet"],
658
+ ["odt", "application/vnd.oasis.opendocument.text"],
659
+ ["oga", "audio/ogg"],
660
+ ["ogex", "model/vnd.opengex"],
661
+ ["ogg", "audio/ogg"],
662
+ ["ogv", "video/ogg"],
663
+ ["ogx", "application/ogg"],
664
+ ["omdoc", "application/omdoc+xml"],
665
+ ["onepkg", "application/onenote"],
666
+ ["onetmp", "application/onenote"],
667
+ ["onetoc", "application/onenote"],
668
+ ["onetoc2", "application/onenote"],
669
+ ["opf", "application/oebps-package+xml"],
670
+ ["opml", "text/x-opml"],
671
+ ["oprc", "application/vnd.palm"],
672
+ ["opus", "audio/ogg"],
673
+ ["org", "text/x-org"],
674
+ ["osf", "application/vnd.yamaha.openscoreformat"],
675
+ ["osfpvg", "application/vnd.yamaha.openscoreformat.osfpvg+xml"],
676
+ ["osm", "application/vnd.openstreetmap.data+xml"],
677
+ ["otc", "application/vnd.oasis.opendocument.chart-template"],
678
+ ["otf", "font/otf"],
679
+ ["otg", "application/vnd.oasis.opendocument.graphics-template"],
680
+ ["oth", "application/vnd.oasis.opendocument.text-web"],
681
+ ["oti", "application/vnd.oasis.opendocument.image-template"],
682
+ ["otp", "application/vnd.oasis.opendocument.presentation-template"],
683
+ ["ots", "application/vnd.oasis.opendocument.spreadsheet-template"],
684
+ ["ott", "application/vnd.oasis.opendocument.text-template"],
685
+ ["ova", "application/x-virtualbox-ova"],
686
+ ["ovf", "application/x-virtualbox-ovf"],
687
+ ["owl", "application/rdf+xml"],
688
+ ["oxps", "application/oxps"],
689
+ ["oxt", "application/vnd.openofficeorg.extension"],
690
+ ["p", "text/x-pascal"],
691
+ ["p7a", "application/x-pkcs7-signature"],
692
+ ["p7b", "application/x-pkcs7-certificates"],
693
+ ["p7c", "application/pkcs7-mime"],
694
+ ["p7m", "application/pkcs7-mime"],
695
+ ["p7r", "application/x-pkcs7-certreqresp"],
696
+ ["p7s", "application/pkcs7-signature"],
697
+ ["p8", "application/pkcs8"],
698
+ ["p10", "application/x-pkcs10"],
699
+ ["p12", "application/x-pkcs12"],
700
+ ["pac", "application/x-ns-proxy-autoconfig"],
701
+ ["pages", "application/x-iwork-pages-sffpages"],
702
+ ["pas", "text/x-pascal"],
703
+ ["paw", "application/vnd.pawaafile"],
704
+ ["pbd", "application/vnd.powerbuilder6"],
705
+ ["pbm", "image/x-portable-bitmap"],
706
+ ["pcap", "application/vnd.tcpdump.pcap"],
707
+ ["pcf", "application/x-font-pcf"],
708
+ ["pcl", "application/vnd.hp-pcl"],
709
+ ["pclxl", "application/vnd.hp-pclxl"],
710
+ ["pct", "image/x-pict"],
711
+ ["pcurl", "application/vnd.curl.pcurl"],
712
+ ["pcx", "image/x-pcx"],
713
+ ["pdb", "application/x-pilot"],
714
+ ["pde", "text/x-processing"],
715
+ ["pdf", "application/pdf"],
716
+ ["pem", "application/x-x509-user-cert"],
717
+ ["pfa", "application/x-font-type1"],
718
+ ["pfb", "application/x-font-type1"],
719
+ ["pfm", "application/x-font-type1"],
720
+ ["pfr", "application/font-tdpfr"],
721
+ ["pfx", "application/x-pkcs12"],
722
+ ["pgm", "image/x-portable-graymap"],
723
+ ["pgn", "application/x-chess-pgn"],
724
+ ["pgp", "application/pgp"],
725
+ ["php", "application/x-httpd-php"],
726
+ ["php3", "application/x-httpd-php"],
727
+ ["php4", "application/x-httpd-php"],
728
+ ["phps", "application/x-httpd-php-source"],
729
+ ["phtml", "application/x-httpd-php"],
730
+ ["pic", "image/x-pict"],
731
+ ["pkg", "application/octet-stream"],
732
+ ["pki", "application/pkixcmp"],
733
+ ["pkipath", "application/pkix-pkipath"],
734
+ ["pkpass", "application/vnd.apple.pkpass"],
735
+ ["pl", "application/x-perl"],
736
+ ["plb", "application/vnd.3gpp.pic-bw-large"],
737
+ ["plc", "application/vnd.mobius.plc"],
738
+ ["plf", "application/vnd.pocketlearn"],
739
+ ["pls", "application/pls+xml"],
740
+ ["pm", "application/x-perl"],
741
+ ["pml", "application/vnd.ctc-posml"],
742
+ ["png", "image/png"],
743
+ ["pnm", "image/x-portable-anymap"],
744
+ ["portpkg", "application/vnd.macports.portpkg"],
745
+ ["pot", "application/vnd.ms-powerpoint"],
746
+ ["potm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
747
+ ["potx", "application/vnd.openxmlformats-officedocument.presentationml.template"],
748
+ ["ppa", "application/vnd.ms-powerpoint"],
749
+ ["ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12"],
750
+ ["ppd", "application/vnd.cups-ppd"],
751
+ ["ppm", "image/x-portable-pixmap"],
752
+ ["pps", "application/vnd.ms-powerpoint"],
753
+ ["ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],
754
+ ["ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"],
755
+ ["ppt", "application/powerpoint"],
756
+ ["pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
757
+ ["pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"],
758
+ ["pqa", "application/vnd.palm"],
759
+ ["prc", "application/x-pilot"],
760
+ ["pre", "application/vnd.lotus-freelance"],
761
+ ["prf", "application/pics-rules"],
762
+ ["provx", "application/provenance+xml"],
763
+ ["ps", "application/postscript"],
764
+ ["psb", "application/vnd.3gpp.pic-bw-small"],
765
+ ["psd", "application/x-photoshop"],
766
+ ["psf", "application/x-font-linux-psf"],
767
+ ["pskcxml", "application/pskc+xml"],
768
+ ["pti", "image/prs.pti"],
769
+ ["ptid", "application/vnd.pvi.ptid1"],
770
+ ["pub", "application/x-mspublisher"],
771
+ ["pvb", "application/vnd.3gpp.pic-bw-var"],
772
+ ["pwn", "application/vnd.3m.post-it-notes"],
773
+ ["pya", "audio/vnd.ms-playready.media.pya"],
774
+ ["pyv", "video/vnd.ms-playready.media.pyv"],
775
+ ["qam", "application/vnd.epson.quickanime"],
776
+ ["qbo", "application/vnd.intu.qbo"],
777
+ ["qfx", "application/vnd.intu.qfx"],
778
+ ["qps", "application/vnd.publishare-delta-tree"],
779
+ ["qt", "video/quicktime"],
780
+ ["qwd", "application/vnd.quark.quarkxpress"],
781
+ ["qwt", "application/vnd.quark.quarkxpress"],
782
+ ["qxb", "application/vnd.quark.quarkxpress"],
783
+ ["qxd", "application/vnd.quark.quarkxpress"],
784
+ ["qxl", "application/vnd.quark.quarkxpress"],
785
+ ["qxt", "application/vnd.quark.quarkxpress"],
786
+ ["ra", "audio/x-realaudio"],
787
+ ["ram", "audio/x-pn-realaudio"],
788
+ ["raml", "application/raml+yaml"],
789
+ ["rapd", "application/route-apd+xml"],
790
+ ["rar", "application/x-rar"],
791
+ ["ras", "image/x-cmu-raster"],
792
+ ["rcprofile", "application/vnd.ipunplugged.rcprofile"],
793
+ ["rdf", "application/rdf+xml"],
794
+ ["rdz", "application/vnd.data-vision.rdz"],
795
+ ["relo", "application/p2p-overlay+xml"],
796
+ ["rep", "application/vnd.businessobjects"],
797
+ ["res", "application/x-dtbresource+xml"],
798
+ ["rgb", "image/x-rgb"],
799
+ ["rif", "application/reginfo+xml"],
800
+ ["rip", "audio/vnd.rip"],
801
+ ["ris", "application/x-research-info-systems"],
802
+ ["rl", "application/resource-lists+xml"],
803
+ ["rlc", "image/vnd.fujixerox.edmics-rlc"],
804
+ ["rld", "application/resource-lists-diff+xml"],
805
+ ["rm", "audio/x-pn-realaudio"],
806
+ ["rmi", "audio/midi"],
807
+ ["rmp", "audio/x-pn-realaudio-plugin"],
808
+ ["rms", "application/vnd.jcp.javame.midlet-rms"],
809
+ ["rmvb", "application/vnd.rn-realmedia-vbr"],
810
+ ["rnc", "application/relax-ng-compact-syntax"],
811
+ ["rng", "application/xml"],
812
+ ["roa", "application/rpki-roa"],
813
+ ["roff", "text/troff"],
814
+ ["rp9", "application/vnd.cloanto.rp9"],
815
+ ["rpm", "audio/x-pn-realaudio-plugin"],
816
+ ["rpss", "application/vnd.nokia.radio-presets"],
817
+ ["rpst", "application/vnd.nokia.radio-preset"],
818
+ ["rq", "application/sparql-query"],
819
+ ["rs", "application/rls-services+xml"],
820
+ ["rsa", "application/x-pkcs7"],
821
+ ["rsat", "application/atsc-rsat+xml"],
822
+ ["rsd", "application/rsd+xml"],
823
+ ["rsheet", "application/urc-ressheet+xml"],
824
+ ["rss", "application/rss+xml"],
825
+ ["rtf", "text/rtf"],
826
+ ["rtx", "text/richtext"],
827
+ ["run", "application/x-makeself"],
828
+ ["rusd", "application/route-usd+xml"],
829
+ ["rv", "video/vnd.rn-realvideo"],
830
+ ["s", "text/x-asm"],
831
+ ["s3m", "audio/s3m"],
832
+ ["saf", "application/vnd.yamaha.smaf-audio"],
833
+ ["sass", "text/x-sass"],
834
+ ["sbml", "application/sbml+xml"],
835
+ ["sc", "application/vnd.ibm.secure-container"],
836
+ ["scd", "application/x-msschedule"],
837
+ ["scm", "application/vnd.lotus-screencam"],
838
+ ["scq", "application/scvp-cv-request"],
839
+ ["scs", "application/scvp-cv-response"],
840
+ ["scss", "text/x-scss"],
841
+ ["scurl", "text/vnd.curl.scurl"],
842
+ ["sda", "application/vnd.stardivision.draw"],
843
+ ["sdc", "application/vnd.stardivision.calc"],
844
+ ["sdd", "application/vnd.stardivision.impress"],
845
+ ["sdkd", "application/vnd.solent.sdkm+xml"],
846
+ ["sdkm", "application/vnd.solent.sdkm+xml"],
847
+ ["sdp", "application/sdp"],
848
+ ["sdw", "application/vnd.stardivision.writer"],
849
+ ["sea", "application/octet-stream"],
850
+ ["see", "application/vnd.seemail"],
851
+ ["seed", "application/vnd.fdsn.seed"],
852
+ ["sema", "application/vnd.sema"],
853
+ ["semd", "application/vnd.semd"],
854
+ ["semf", "application/vnd.semf"],
855
+ ["senmlx", "application/senml+xml"],
856
+ ["sensmlx", "application/sensml+xml"],
857
+ ["ser", "application/java-serialized-object"],
858
+ ["setpay", "application/set-payment-initiation"],
859
+ ["setreg", "application/set-registration-initiation"],
860
+ ["sfd-hdstx", "application/vnd.hydrostatix.sof-data"],
861
+ ["sfs", "application/vnd.spotfire.sfs"],
862
+ ["sfv", "text/x-sfv"],
863
+ ["sgi", "image/sgi"],
864
+ ["sgl", "application/vnd.stardivision.writer-global"],
865
+ ["sgm", "text/sgml"],
866
+ ["sgml", "text/sgml"],
867
+ ["sh", "application/x-sh"],
868
+ ["shar", "application/x-shar"],
869
+ ["shex", "text/shex"],
870
+ ["shf", "application/shf+xml"],
871
+ ["shtml", "text/html"],
872
+ ["sid", "image/x-mrsid-image"],
873
+ ["sieve", "application/sieve"],
874
+ ["sig", "application/pgp-signature"],
875
+ ["sil", "audio/silk"],
876
+ ["silo", "model/mesh"],
877
+ ["sis", "application/vnd.symbian.install"],
878
+ ["sisx", "application/vnd.symbian.install"],
879
+ ["sit", "application/x-stuffit"],
880
+ ["sitx", "application/x-stuffitx"],
881
+ ["siv", "application/sieve"],
882
+ ["skd", "application/vnd.koan"],
883
+ ["skm", "application/vnd.koan"],
884
+ ["skp", "application/vnd.koan"],
885
+ ["skt", "application/vnd.koan"],
886
+ ["sldm", "application/vnd.ms-powerpoint.slide.macroenabled.12"],
887
+ ["sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide"],
888
+ ["slim", "text/slim"],
889
+ ["slm", "text/slim"],
890
+ ["sls", "application/route-s-tsid+xml"],
891
+ ["slt", "application/vnd.epson.salt"],
892
+ ["sm", "application/vnd.stepmania.stepchart"],
893
+ ["smf", "application/vnd.stardivision.math"],
894
+ ["smi", "application/smil"],
895
+ ["smil", "application/smil"],
896
+ ["smv", "video/x-smv"],
897
+ ["smzip", "application/vnd.stepmania.package"],
898
+ ["snd", "audio/basic"],
899
+ ["snf", "application/x-font-snf"],
900
+ ["so", "application/octet-stream"],
901
+ ["spc", "application/x-pkcs7-certificates"],
902
+ ["spdx", "text/spdx"],
903
+ ["spf", "application/vnd.yamaha.smaf-phrase"],
904
+ ["spl", "application/x-futuresplash"],
905
+ ["spot", "text/vnd.in3d.spot"],
906
+ ["spp", "application/scvp-vp-response"],
907
+ ["spq", "application/scvp-vp-request"],
908
+ ["spx", "audio/ogg"],
909
+ ["sql", "application/x-sql"],
910
+ ["src", "application/x-wais-source"],
911
+ ["srt", "application/x-subrip"],
912
+ ["sru", "application/sru+xml"],
913
+ ["srx", "application/sparql-results+xml"],
914
+ ["ssdl", "application/ssdl+xml"],
915
+ ["sse", "application/vnd.kodak-descriptor"],
916
+ ["ssf", "application/vnd.epson.ssf"],
917
+ ["ssml", "application/ssml+xml"],
918
+ ["sst", "application/octet-stream"],
919
+ ["st", "application/vnd.sailingtracker.track"],
920
+ ["stc", "application/vnd.sun.xml.calc.template"],
921
+ ["std", "application/vnd.sun.xml.draw.template"],
922
+ ["stf", "application/vnd.wt.stf"],
923
+ ["sti", "application/vnd.sun.xml.impress.template"],
924
+ ["stk", "application/hyperstudio"],
925
+ ["stl", "model/stl"],
926
+ ["stpx", "model/step+xml"],
927
+ ["stpxz", "model/step-xml+zip"],
928
+ ["stpz", "model/step+zip"],
929
+ ["str", "application/vnd.pg.format"],
930
+ ["stw", "application/vnd.sun.xml.writer.template"],
931
+ ["styl", "text/stylus"],
932
+ ["stylus", "text/stylus"],
933
+ ["sub", "text/vnd.dvb.subtitle"],
934
+ ["sus", "application/vnd.sus-calendar"],
935
+ ["susp", "application/vnd.sus-calendar"],
936
+ ["sv4cpio", "application/x-sv4cpio"],
937
+ ["sv4crc", "application/x-sv4crc"],
938
+ ["svc", "application/vnd.dvb.service"],
939
+ ["svd", "application/vnd.svd"],
940
+ ["svg", "image/svg+xml"],
941
+ ["svgz", "image/svg+xml"],
942
+ ["swa", "application/x-director"],
943
+ ["swf", "application/x-shockwave-flash"],
944
+ ["swi", "application/vnd.aristanetworks.swi"],
945
+ ["swidtag", "application/swid+xml"],
946
+ ["sxc", "application/vnd.sun.xml.calc"],
947
+ ["sxd", "application/vnd.sun.xml.draw"],
948
+ ["sxg", "application/vnd.sun.xml.writer.global"],
949
+ ["sxi", "application/vnd.sun.xml.impress"],
950
+ ["sxm", "application/vnd.sun.xml.math"],
951
+ ["sxw", "application/vnd.sun.xml.writer"],
952
+ ["t", "text/troff"],
953
+ ["t3", "application/x-t3vm-image"],
954
+ ["t38", "image/t38"],
955
+ ["taglet", "application/vnd.mynfc"],
956
+ ["tao", "application/vnd.tao.intent-module-archive"],
957
+ ["tap", "image/vnd.tencent.tap"],
958
+ ["tar", "application/x-tar"],
959
+ ["tcap", "application/vnd.3gpp2.tcap"],
960
+ ["tcl", "application/x-tcl"],
961
+ ["td", "application/urc-targetdesc+xml"],
962
+ ["teacher", "application/vnd.smart.teacher"],
963
+ ["tei", "application/tei+xml"],
964
+ ["teicorpus", "application/tei+xml"],
965
+ ["tex", "application/x-tex"],
966
+ ["texi", "application/x-texinfo"],
967
+ ["texinfo", "application/x-texinfo"],
968
+ ["text", "text/plain"],
969
+ ["tfi", "application/thraud+xml"],
970
+ ["tfm", "application/x-tex-tfm"],
971
+ ["tfx", "image/tiff-fx"],
972
+ ["tga", "image/x-tga"],
973
+ ["tgz", "application/x-tar"],
974
+ ["thmx", "application/vnd.ms-officetheme"],
975
+ ["tif", "image/tiff"],
976
+ ["tiff", "image/tiff"],
977
+ ["tk", "application/x-tcl"],
978
+ ["tmo", "application/vnd.tmobile-livetv"],
979
+ ["toml", "application/toml"],
980
+ ["torrent", "application/x-bittorrent"],
981
+ ["tpl", "application/vnd.groove-tool-template"],
982
+ ["tpt", "application/vnd.trid.tpt"],
983
+ ["tr", "text/troff"],
984
+ ["tra", "application/vnd.trueapp"],
985
+ ["trig", "application/trig"],
986
+ ["trm", "application/x-msterminal"],
987
+ ["ts", "video/mp2t"],
988
+ ["tsd", "application/timestamped-data"],
989
+ ["tsv", "text/tab-separated-values"],
990
+ ["ttc", "font/collection"],
991
+ ["ttf", "font/ttf"],
992
+ ["ttl", "text/turtle"],
993
+ ["ttml", "application/ttml+xml"],
994
+ ["twd", "application/vnd.simtech-mindmapper"],
995
+ ["twds", "application/vnd.simtech-mindmapper"],
996
+ ["txd", "application/vnd.genomatix.tuxedo"],
997
+ ["txf", "application/vnd.mobius.txf"],
998
+ ["txt", "text/plain"],
999
+ ["u8dsn", "message/global-delivery-status"],
1000
+ ["u8hdr", "message/global-headers"],
1001
+ ["u8mdn", "message/global-disposition-notification"],
1002
+ ["u8msg", "message/global"],
1003
+ ["u32", "application/x-authorware-bin"],
1004
+ ["ubj", "application/ubjson"],
1005
+ ["udeb", "application/x-debian-package"],
1006
+ ["ufd", "application/vnd.ufdl"],
1007
+ ["ufdl", "application/vnd.ufdl"],
1008
+ ["ulx", "application/x-glulx"],
1009
+ ["umj", "application/vnd.umajin"],
1010
+ ["unityweb", "application/vnd.unity"],
1011
+ ["uoml", "application/vnd.uoml+xml"],
1012
+ ["uri", "text/uri-list"],
1013
+ ["uris", "text/uri-list"],
1014
+ ["urls", "text/uri-list"],
1015
+ ["usdz", "model/vnd.usdz+zip"],
1016
+ ["ustar", "application/x-ustar"],
1017
+ ["utz", "application/vnd.uiq.theme"],
1018
+ ["uu", "text/x-uuencode"],
1019
+ ["uva", "audio/vnd.dece.audio"],
1020
+ ["uvd", "application/vnd.dece.data"],
1021
+ ["uvf", "application/vnd.dece.data"],
1022
+ ["uvg", "image/vnd.dece.graphic"],
1023
+ ["uvh", "video/vnd.dece.hd"],
1024
+ ["uvi", "image/vnd.dece.graphic"],
1025
+ ["uvm", "video/vnd.dece.mobile"],
1026
+ ["uvp", "video/vnd.dece.pd"],
1027
+ ["uvs", "video/vnd.dece.sd"],
1028
+ ["uvt", "application/vnd.dece.ttml+xml"],
1029
+ ["uvu", "video/vnd.uvvu.mp4"],
1030
+ ["uvv", "video/vnd.dece.video"],
1031
+ ["uvva", "audio/vnd.dece.audio"],
1032
+ ["uvvd", "application/vnd.dece.data"],
1033
+ ["uvvf", "application/vnd.dece.data"],
1034
+ ["uvvg", "image/vnd.dece.graphic"],
1035
+ ["uvvh", "video/vnd.dece.hd"],
1036
+ ["uvvi", "image/vnd.dece.graphic"],
1037
+ ["uvvm", "video/vnd.dece.mobile"],
1038
+ ["uvvp", "video/vnd.dece.pd"],
1039
+ ["uvvs", "video/vnd.dece.sd"],
1040
+ ["uvvt", "application/vnd.dece.ttml+xml"],
1041
+ ["uvvu", "video/vnd.uvvu.mp4"],
1042
+ ["uvvv", "video/vnd.dece.video"],
1043
+ ["uvvx", "application/vnd.dece.unspecified"],
1044
+ ["uvvz", "application/vnd.dece.zip"],
1045
+ ["uvx", "application/vnd.dece.unspecified"],
1046
+ ["uvz", "application/vnd.dece.zip"],
1047
+ ["vbox", "application/x-virtualbox-vbox"],
1048
+ ["vbox-extpack", "application/x-virtualbox-vbox-extpack"],
1049
+ ["vcard", "text/vcard"],
1050
+ ["vcd", "application/x-cdlink"],
1051
+ ["vcf", "text/x-vcard"],
1052
+ ["vcg", "application/vnd.groove-vcard"],
1053
+ ["vcs", "text/x-vcalendar"],
1054
+ ["vcx", "application/vnd.vcx"],
1055
+ ["vdi", "application/x-virtualbox-vdi"],
1056
+ ["vds", "model/vnd.sap.vds"],
1057
+ ["vhd", "application/x-virtualbox-vhd"],
1058
+ ["vis", "application/vnd.visionary"],
1059
+ ["viv", "video/vnd.vivo"],
1060
+ ["vlc", "application/videolan"],
1061
+ ["vmdk", "application/x-virtualbox-vmdk"],
1062
+ ["vob", "video/x-ms-vob"],
1063
+ ["vor", "application/vnd.stardivision.writer"],
1064
+ ["vox", "application/x-authorware-bin"],
1065
+ ["vrml", "model/vrml"],
1066
+ ["vsd", "application/vnd.visio"],
1067
+ ["vsf", "application/vnd.vsf"],
1068
+ ["vss", "application/vnd.visio"],
1069
+ ["vst", "application/vnd.visio"],
1070
+ ["vsw", "application/vnd.visio"],
1071
+ ["vtf", "image/vnd.valve.source.texture"],
1072
+ ["vtt", "text/vtt"],
1073
+ ["vtu", "model/vnd.vtu"],
1074
+ ["vxml", "application/voicexml+xml"],
1075
+ ["w3d", "application/x-director"],
1076
+ ["wad", "application/x-doom"],
1077
+ ["wadl", "application/vnd.sun.wadl+xml"],
1078
+ ["war", "application/java-archive"],
1079
+ ["wasm", "application/wasm"],
1080
+ ["wav", "audio/x-wav"],
1081
+ ["wax", "audio/x-ms-wax"],
1082
+ ["wbmp", "image/vnd.wap.wbmp"],
1083
+ ["wbs", "application/vnd.criticaltools.wbs+xml"],
1084
+ ["wbxml", "application/wbxml"],
1085
+ ["wcm", "application/vnd.ms-works"],
1086
+ ["wdb", "application/vnd.ms-works"],
1087
+ ["wdp", "image/vnd.ms-photo"],
1088
+ ["weba", "audio/webm"],
1089
+ ["webapp", "application/x-web-app-manifest+json"],
1090
+ ["webm", "video/webm"],
1091
+ ["webmanifest", "application/manifest+json"],
1092
+ ["webp", "image/webp"],
1093
+ ["wg", "application/vnd.pmi.widget"],
1094
+ ["wgt", "application/widget"],
1095
+ ["wks", "application/vnd.ms-works"],
1096
+ ["wm", "video/x-ms-wm"],
1097
+ ["wma", "audio/x-ms-wma"],
1098
+ ["wmd", "application/x-ms-wmd"],
1099
+ ["wmf", "image/wmf"],
1100
+ ["wml", "text/vnd.wap.wml"],
1101
+ ["wmlc", "application/wmlc"],
1102
+ ["wmls", "text/vnd.wap.wmlscript"],
1103
+ ["wmlsc", "application/vnd.wap.wmlscriptc"],
1104
+ ["wmv", "video/x-ms-wmv"],
1105
+ ["wmx", "video/x-ms-wmx"],
1106
+ ["wmz", "application/x-msmetafile"],
1107
+ ["woff", "font/woff"],
1108
+ ["woff2", "font/woff2"],
1109
+ ["word", "application/msword"],
1110
+ ["wpd", "application/vnd.wordperfect"],
1111
+ ["wpl", "application/vnd.ms-wpl"],
1112
+ ["wps", "application/vnd.ms-works"],
1113
+ ["wqd", "application/vnd.wqd"],
1114
+ ["wri", "application/x-mswrite"],
1115
+ ["wrl", "model/vrml"],
1116
+ ["wsc", "message/vnd.wfa.wsc"],
1117
+ ["wsdl", "application/wsdl+xml"],
1118
+ ["wspolicy", "application/wspolicy+xml"],
1119
+ ["wtb", "application/vnd.webturbo"],
1120
+ ["wvx", "video/x-ms-wvx"],
1121
+ ["x3d", "model/x3d+xml"],
1122
+ ["x3db", "model/x3d+fastinfoset"],
1123
+ ["x3dbz", "model/x3d+binary"],
1124
+ ["x3dv", "model/x3d-vrml"],
1125
+ ["x3dvz", "model/x3d+vrml"],
1126
+ ["x3dz", "model/x3d+xml"],
1127
+ ["x32", "application/x-authorware-bin"],
1128
+ ["x_b", "model/vnd.parasolid.transmit.binary"],
1129
+ ["x_t", "model/vnd.parasolid.transmit.text"],
1130
+ ["xaml", "application/xaml+xml"],
1131
+ ["xap", "application/x-silverlight-app"],
1132
+ ["xar", "application/vnd.xara"],
1133
+ ["xav", "application/xcap-att+xml"],
1134
+ ["xbap", "application/x-ms-xbap"],
1135
+ ["xbd", "application/vnd.fujixerox.docuworks.binder"],
1136
+ ["xbm", "image/x-xbitmap"],
1137
+ ["xca", "application/xcap-caps+xml"],
1138
+ ["xcs", "application/calendar+xml"],
1139
+ ["xdf", "application/xcap-diff+xml"],
1140
+ ["xdm", "application/vnd.syncml.dm+xml"],
1141
+ ["xdp", "application/vnd.adobe.xdp+xml"],
1142
+ ["xdssc", "application/dssc+xml"],
1143
+ ["xdw", "application/vnd.fujixerox.docuworks"],
1144
+ ["xel", "application/xcap-el+xml"],
1145
+ ["xenc", "application/xenc+xml"],
1146
+ ["xer", "application/patch-ops-error+xml"],
1147
+ ["xfdf", "application/vnd.adobe.xfdf"],
1148
+ ["xfdl", "application/vnd.xfdl"],
1149
+ ["xht", "application/xhtml+xml"],
1150
+ ["xhtml", "application/xhtml+xml"],
1151
+ ["xhvml", "application/xv+xml"],
1152
+ ["xif", "image/vnd.xiff"],
1153
+ ["xl", "application/excel"],
1154
+ ["xla", "application/vnd.ms-excel"],
1155
+ ["xlam", "application/vnd.ms-excel.addin.macroEnabled.12"],
1156
+ ["xlc", "application/vnd.ms-excel"],
1157
+ ["xlf", "application/xliff+xml"],
1158
+ ["xlm", "application/vnd.ms-excel"],
1159
+ ["xls", "application/vnd.ms-excel"],
1160
+ ["xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"],
1161
+ ["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
1162
+ ["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
1163
+ ["xlt", "application/vnd.ms-excel"],
1164
+ ["xltm", "application/vnd.ms-excel.template.macroEnabled.12"],
1165
+ ["xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
1166
+ ["xlw", "application/vnd.ms-excel"],
1167
+ ["xm", "audio/xm"],
1168
+ ["xml", "application/xml"],
1169
+ ["xns", "application/xcap-ns+xml"],
1170
+ ["xo", "application/vnd.olpc-sugar"],
1171
+ ["xop", "application/xop+xml"],
1172
+ ["xpi", "application/x-xpinstall"],
1173
+ ["xpl", "application/xproc+xml"],
1174
+ ["xpm", "image/x-xpixmap"],
1175
+ ["xpr", "application/vnd.is-xpr"],
1176
+ ["xps", "application/vnd.ms-xpsdocument"],
1177
+ ["xpw", "application/vnd.intercon.formnet"],
1178
+ ["xpx", "application/vnd.intercon.formnet"],
1179
+ ["xsd", "application/xml"],
1180
+ ["xsl", "application/xml"],
1181
+ ["xslt", "application/xslt+xml"],
1182
+ ["xsm", "application/vnd.syncml+xml"],
1183
+ ["xspf", "application/xspf+xml"],
1184
+ ["xul", "application/vnd.mozilla.xul+xml"],
1185
+ ["xvm", "application/xv+xml"],
1186
+ ["xvml", "application/xv+xml"],
1187
+ ["xwd", "image/x-xwindowdump"],
1188
+ ["xyz", "chemical/x-xyz"],
1189
+ ["xz", "application/x-xz"],
1190
+ ["yaml", "text/yaml"],
1191
+ ["yang", "application/yang"],
1192
+ ["yin", "application/yin+xml"],
1193
+ ["yml", "text/yaml"],
1194
+ ["ymp", "text/x-suse-ymp"],
1195
+ ["z", "application/x-compress"],
1196
+ ["z1", "application/x-zmachine"],
1197
+ ["z2", "application/x-zmachine"],
1198
+ ["z3", "application/x-zmachine"],
1199
+ ["z4", "application/x-zmachine"],
1200
+ ["z5", "application/x-zmachine"],
1201
+ ["z6", "application/x-zmachine"],
1202
+ ["z7", "application/x-zmachine"],
1203
+ ["z8", "application/x-zmachine"],
1204
+ ["zaz", "application/vnd.zzazz.deck+xml"],
1205
+ ["zip", "application/zip"],
1206
+ ["zir", "application/vnd.zul"],
1207
+ ["zirz", "application/vnd.zul"],
1208
+ ["zmm", "application/vnd.handheld-entertainment+xml"],
1209
+ ["zsh", "text/x-scriptzsh"]
1210
+ ]);
1211
+ function _(a, i, t) {
1212
+ const n = Ei(a), { webkitRelativePath: p } = a, o = typeof i == "string" ? i : typeof p == "string" && p.length > 0 ? p : `./${a.name}`;
1213
+ return typeof n.path != "string" && Ha(n, "path", o), Ha(n, "relativePath", o), n;
1214
+ }
1215
+ function Ei(a) {
1216
+ const { name: i } = a;
1217
+ if (i && i.lastIndexOf(".") !== -1 && !a.type) {
1218
+ const n = i.split(".").pop().toLowerCase(), p = zi.get(n);
1219
+ p && Object.defineProperty(a, "type", {
1220
+ value: p,
1221
+ writable: !1,
1222
+ configurable: !1,
1223
+ enumerable: !0
29
1224
  });
30
- if (t)
31
- return () => {
32
- for (let s = 0; s < r.length; s++) {
33
- const n = r[s];
34
- typeof n == "function" ? n() : z(e[s], null);
35
- }
36
- };
37
- };
1225
+ }
1226
+ return a;
1227
+ }
1228
+ function Ha(a, i, t) {
1229
+ Object.defineProperty(a, i, {
1230
+ value: t,
1231
+ writable: !1,
1232
+ configurable: !1,
1233
+ enumerable: !0
1234
+ });
1235
+ }
1236
+ const Ai = [
1237
+ // Thumbnail cache files for macOS and Windows
1238
+ ".DS_Store",
1239
+ // macOs
1240
+ "Thumbs.db"
1241
+ // Windows
1242
+ ];
1243
+ function Oi(a) {
1244
+ return D(this, void 0, void 0, function* () {
1245
+ return Z(a) && Fi(a.dataTransfer) ? qi(a.dataTransfer, a.type) : _i(a) ? Pi(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? Si(a) : [];
1246
+ });
1247
+ }
1248
+ function Fi(a) {
1249
+ return Z(a);
1250
+ }
1251
+ function _i(a) {
1252
+ return Z(a) && Z(a.target);
1253
+ }
1254
+ function Z(a) {
1255
+ return typeof a == "object" && a !== null;
1256
+ }
1257
+ function Pi(a) {
1258
+ return ha(a.target.files).map((i) => _(i));
38
1259
  }
39
- function se(...e) {
40
- return E.useCallback(re(...e), e);
1260
+ function Si(a) {
1261
+ return D(this, void 0, void 0, function* () {
1262
+ return (yield Promise.all(a.map((t) => t.getFile()))).map((t) => _(t));
1263
+ });
41
1264
  }
42
- class ie extends E.Component {
43
- getSnapshotBeforeUpdate(o) {
44
- const t = this.props.childRef.current;
45
- if (t && o.isPresent && !this.props.isPresent) {
46
- const r = t.offsetParent, s = ne(r) && r.offsetWidth || 0, n = this.props.sizeRef.current;
47
- n.height = t.offsetHeight || 0, n.width = t.offsetWidth || 0, n.top = t.offsetTop, n.left = t.offsetLeft, n.right = s - n.width - n.left;
1265
+ function qi(a, i) {
1266
+ return D(this, void 0, void 0, function* () {
1267
+ if (a.items) {
1268
+ const t = ha(a.items).filter((p) => p.kind === "file");
1269
+ if (i !== "drop")
1270
+ return t;
1271
+ const n = yield Promise.all(t.map(Ti));
1272
+ return Wa(ai(n));
48
1273
  }
49
- return null;
1274
+ return Wa(ha(a.files).map((t) => _(t)));
1275
+ });
1276
+ }
1277
+ function Wa(a) {
1278
+ return a.filter((i) => Ai.indexOf(i.name) === -1);
1279
+ }
1280
+ function ha(a) {
1281
+ if (a === null)
1282
+ return [];
1283
+ const i = [];
1284
+ for (let t = 0; t < a.length; t++) {
1285
+ const n = a[t];
1286
+ i.push(n);
50
1287
  }
51
- /**
52
- * Required with getSnapshotBeforeUpdate to stop React complaining.
53
- */
54
- componentDidUpdate() {
1288
+ return i;
1289
+ }
1290
+ function Ti(a) {
1291
+ if (typeof a.webkitGetAsEntry != "function")
1292
+ return Ba(a);
1293
+ const i = a.webkitGetAsEntry();
1294
+ return i && i.isDirectory ? ii(i) : Ba(a, i);
1295
+ }
1296
+ function ai(a) {
1297
+ return a.reduce((i, t) => [
1298
+ ...i,
1299
+ ...Array.isArray(t) ? ai(t) : [t]
1300
+ ], []);
1301
+ }
1302
+ function Ba(a, i) {
1303
+ return D(this, void 0, void 0, function* () {
1304
+ var t;
1305
+ if (globalThis.isSecureContext && typeof a.getAsFileSystemHandle == "function") {
1306
+ const o = yield a.getAsFileSystemHandle();
1307
+ if (o === null)
1308
+ throw new Error(`${a} is not a File`);
1309
+ if (o !== void 0) {
1310
+ const l = yield o.getFile();
1311
+ return l.handle = o, _(l);
1312
+ }
1313
+ }
1314
+ const n = a.getAsFile();
1315
+ if (!n)
1316
+ throw new Error(`${a} is not a File`);
1317
+ return _(n, (t = i?.fullPath) !== null && t !== void 0 ? t : void 0);
1318
+ });
1319
+ }
1320
+ function Ci(a) {
1321
+ return D(this, void 0, void 0, function* () {
1322
+ return a.isDirectory ? ii(a) : Ii(a);
1323
+ });
1324
+ }
1325
+ function ii(a) {
1326
+ const i = a.createReader();
1327
+ return new Promise((t, n) => {
1328
+ const p = [];
1329
+ function o() {
1330
+ i.readEntries((l) => D(this, void 0, void 0, function* () {
1331
+ if (l.length) {
1332
+ const r = Promise.all(l.map(Ci));
1333
+ p.push(r), o();
1334
+ } else
1335
+ try {
1336
+ const r = yield Promise.all(p);
1337
+ t(r);
1338
+ } catch (r) {
1339
+ n(r);
1340
+ }
1341
+ }), (l) => {
1342
+ n(l);
1343
+ });
1344
+ }
1345
+ o();
1346
+ });
1347
+ }
1348
+ function Ii(a) {
1349
+ return D(this, void 0, void 0, function* () {
1350
+ return new Promise((i, t) => {
1351
+ a.file((n) => {
1352
+ const p = _(n, a.fullPath);
1353
+ i(p);
1354
+ }, (n) => {
1355
+ t(n);
1356
+ });
1357
+ });
1358
+ });
1359
+ }
1360
+ var V = {}, Na;
1361
+ function Ri() {
1362
+ return Na || (Na = 1, V.__esModule = !0, V.default = function(a, i) {
1363
+ if (a && i) {
1364
+ var t = Array.isArray(i) ? i : i.split(",");
1365
+ if (t.length === 0)
1366
+ return !0;
1367
+ var n = a.name || "", p = (a.type || "").toLowerCase(), o = p.replace(/\/.*$/, "");
1368
+ return t.some(function(l) {
1369
+ var r = l.trim().toLowerCase();
1370
+ return r.charAt(0) === "." ? n.toLowerCase().endsWith(r) : r.endsWith("/*") ? o === r.replace(/\/.*$/, "") : p === r;
1371
+ });
1372
+ }
1373
+ return !0;
1374
+ }), V;
1375
+ }
1376
+ var Li = Ri();
1377
+ const ga = /* @__PURE__ */ Di(Li);
1378
+ function Ua(a) {
1379
+ return Ki(a) || $i(a) || ni(a) || Mi();
1380
+ }
1381
+ function Mi() {
1382
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
1383
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1384
+ }
1385
+ function $i(a) {
1386
+ if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
1387
+ }
1388
+ function Ki(a) {
1389
+ if (Array.isArray(a)) return ya(a);
1390
+ }
1391
+ function Ya(a, i) {
1392
+ var t = Object.keys(a);
1393
+ if (Object.getOwnPropertySymbols) {
1394
+ var n = Object.getOwnPropertySymbols(a);
1395
+ i && (n = n.filter(function(p) {
1396
+ return Object.getOwnPropertyDescriptor(a, p).enumerable;
1397
+ })), t.push.apply(t, n);
55
1398
  }
56
- render() {
57
- return this.props.children;
1399
+ return t;
1400
+ }
1401
+ function Ga(a) {
1402
+ for (var i = 1; i < arguments.length; i++) {
1403
+ var t = arguments[i] != null ? arguments[i] : {};
1404
+ i % 2 ? Ya(Object(t), !0).forEach(function(n) {
1405
+ ti(a, n, t[n]);
1406
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Ya(Object(t)).forEach(function(n) {
1407
+ Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(t, n));
1408
+ });
58
1409
  }
1410
+ return a;
59
1411
  }
60
- function ce({ children: e, isPresent: o, anchorX: t, root: r }) {
61
- const s = A(), n = R(null), h = R({
62
- width: 0,
63
- height: 0,
64
- top: 0,
65
- left: 0,
66
- right: 0
67
- }), { nonce: g } = H(oe), P = se(n, e?.ref);
68
- return F(() => {
69
- const { width: i, height: v, top: c, left: u, right: p } = h.current;
70
- if (o || !n.current || !i || !v)
71
- return;
72
- const m = t === "left" ? `left: ${u}` : `right: ${p}`;
73
- n.current.dataset.motionPopId = s;
74
- const l = document.createElement("style");
75
- g && (l.nonce = g);
76
- const y = r ?? document.head;
77
- return y.appendChild(l), l.sheet && l.sheet.insertRule(`
78
- [data-motion-pop-id="${s}"] {
79
- position: absolute !important;
80
- width: ${i}px !important;
81
- height: ${v}px !important;
82
- ${m}px !important;
83
- top: ${c}px !important;
84
- }
85
- `), () => {
86
- y.contains(l) && y.removeChild(l);
87
- };
88
- }, [o]), a(ie, { isPresent: o, childRef: n, sizeRef: h, children: E.cloneElement(e, { ref: P }) });
89
- }
90
- const fe = ({ children: e, initial: o, isPresent: t, onExitComplete: r, custom: s, presenceAffectsLayout: n, mode: h, anchorX: g, root: P }) => {
91
- const i = S(le), v = A();
92
- let c = !0, u = b(() => (c = !1, {
93
- id: v,
94
- initial: o,
95
- isPresent: t,
96
- custom: s,
97
- onExitComplete: (p) => {
98
- i.set(p, !0);
99
- for (const m of i.values())
100
- if (!m)
101
- return;
102
- r && r();
103
- },
104
- register: (p) => (i.set(p, !1), () => i.delete(p))
105
- }), [t, i, r]);
106
- return n && c && (u = { ...u }), b(() => {
107
- i.forEach((p, m) => i.set(m, !1));
108
- }, [t]), E.useEffect(() => {
109
- !t && !i.size && r && r();
110
- }, [t]), h === "popLayout" && (e = a(ce, { isPresent: t, anchorX: g, root: P, children: e })), a(Q.Provider, { value: u, children: e });
1412
+ function ti(a, i, t) {
1413
+ return i in a ? Object.defineProperty(a, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[i] = t, a;
1414
+ }
1415
+ function K(a, i) {
1416
+ return Bi(a) || Wi(a, i) || ni(a, i) || Hi();
1417
+ }
1418
+ function Hi() {
1419
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1420
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1421
+ }
1422
+ function ni(a, i) {
1423
+ if (a) {
1424
+ if (typeof a == "string") return ya(a, i);
1425
+ var t = Object.prototype.toString.call(a).slice(8, -1);
1426
+ if (t === "Object" && a.constructor && (t = a.constructor.name), t === "Map" || t === "Set") return Array.from(a);
1427
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ya(a, i);
1428
+ }
1429
+ }
1430
+ function ya(a, i) {
1431
+ (i == null || i > a.length) && (i = a.length);
1432
+ for (var t = 0, n = new Array(i); t < i; t++)
1433
+ n[t] = a[t];
1434
+ return n;
1435
+ }
1436
+ function Wi(a, i) {
1437
+ var t = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
1438
+ if (t != null) {
1439
+ var n = [], p = !0, o = !1, l, r;
1440
+ try {
1441
+ for (t = t.call(a); !(p = (l = t.next()).done) && (n.push(l.value), !(i && n.length === i)); p = !0)
1442
+ ;
1443
+ } catch (v) {
1444
+ o = !0, r = v;
1445
+ } finally {
1446
+ try {
1447
+ !p && t.return != null && t.return();
1448
+ } finally {
1449
+ if (o) throw r;
1450
+ }
1451
+ }
1452
+ return n;
1453
+ }
1454
+ }
1455
+ function Bi(a) {
1456
+ if (Array.isArray(a)) return a;
1457
+ }
1458
+ var Ni = typeof ga == "function" ? ga : ga.default, Ui = "file-invalid-type", Yi = "file-too-large", Gi = "file-too-small", Ji = "too-many-files", Vi = function() {
1459
+ var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = i.split(","), n = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
1460
+ return {
1461
+ code: Ui,
1462
+ message: "File type must be ".concat(n)
1463
+ };
1464
+ }, Ja = function(i) {
1465
+ return {
1466
+ code: Yi,
1467
+ message: "File is larger than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1468
+ };
1469
+ }, Va = function(i) {
1470
+ return {
1471
+ code: Gi,
1472
+ message: "File is smaller than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1473
+ };
1474
+ }, Qi = {
1475
+ code: Ji,
1476
+ message: "Too many files"
111
1477
  };
112
- function le() {
113
- return /* @__PURE__ */ new Map();
114
- }
115
- const x = (e) => e.key || "";
116
- function I(e) {
117
- const o = [];
118
- return G.forEach(e, (t) => {
119
- Y(t) && o.push(t);
120
- }), o;
121
- }
122
- const T = ({ children: e, custom: o, initial: t = !0, onExitComplete: r, presenceAffectsLayout: s = !0, mode: n = "sync", propagate: h = !1, anchorX: g = "left", root: P }) => {
123
- const [i, v] = Z(h), c = b(() => I(e), [e]), u = h && !i ? [] : c.map(x), p = R(!0), m = R(c), l = S(() => /* @__PURE__ */ new Map()), [y, W] = k(c), [C, L] = k(c);
124
- te(() => {
125
- p.current = !1, m.current = c;
126
- for (let d = 0; d < C.length; d++) {
127
- const f = x(C[d]);
128
- u.includes(f) ? l.delete(f) : l.get(f) !== !0 && l.set(f, !1);
1478
+ function ei(a, i) {
1479
+ var t = a.type === "application/x-moz-file" || Ni(a, i);
1480
+ return [t, t ? null : Vi(i)];
1481
+ }
1482
+ function pi(a, i, t) {
1483
+ if (j(a.size))
1484
+ if (j(i) && j(t)) {
1485
+ if (a.size > t) return [!1, Ja(t)];
1486
+ if (a.size < i) return [!1, Va(i)];
1487
+ } else {
1488
+ if (j(i) && a.size < i) return [!1, Va(i)];
1489
+ if (j(t) && a.size > t) return [!1, Ja(t)];
129
1490
  }
130
- }, [C, u.length, u.join("-")]);
131
- const M = [];
132
- if (c !== y) {
133
- let d = [...c];
134
- for (let f = 0; f < C.length; f++) {
135
- const w = C[f], D = x(w);
136
- u.includes(D) || (d.splice(f, 0, w), M.push(w));
1491
+ return [!0, null];
1492
+ }
1493
+ function j(a) {
1494
+ return a != null;
1495
+ }
1496
+ function Xi(a) {
1497
+ var i = a.files, t = a.accept, n = a.minSize, p = a.maxSize, o = a.multiple, l = a.maxFiles, r = a.validator;
1498
+ return !o && i.length > 1 || o && l >= 1 && i.length > l ? !1 : i.every(function(v) {
1499
+ var P = ei(v, t), S = K(P, 1), q = S[0], T = pi(v, n, p), C = K(T, 1), I = C[0], R = r ? r(v) : null;
1500
+ return q && I && !R;
1501
+ });
1502
+ }
1503
+ function aa(a) {
1504
+ return typeof a.isPropagationStopped == "function" ? a.isPropagationStopped() : typeof a.cancelBubble < "u" ? a.cancelBubble : !1;
1505
+ }
1506
+ function Q(a) {
1507
+ return a.dataTransfer ? Array.prototype.some.call(a.dataTransfer.types, function(i) {
1508
+ return i === "Files" || i === "application/x-moz-file";
1509
+ }) : !!a.target && !!a.target.files;
1510
+ }
1511
+ function Qa(a) {
1512
+ a.preventDefault();
1513
+ }
1514
+ function Zi(a) {
1515
+ return a.indexOf("MSIE") !== -1 || a.indexOf("Trident/") !== -1;
1516
+ }
1517
+ function at(a) {
1518
+ return a.indexOf("Edge/") !== -1;
1519
+ }
1520
+ function it() {
1521
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
1522
+ return Zi(a) || at(a);
1523
+ }
1524
+ function y() {
1525
+ for (var a = arguments.length, i = new Array(a), t = 0; t < a; t++)
1526
+ i[t] = arguments[t];
1527
+ return function(n) {
1528
+ for (var p = arguments.length, o = new Array(p > 1 ? p - 1 : 0), l = 1; l < p; l++)
1529
+ o[l - 1] = arguments[l];
1530
+ return i.some(function(r) {
1531
+ return !aa(n) && r && r.apply(void 0, [n].concat(o)), aa(n);
1532
+ });
1533
+ };
1534
+ }
1535
+ function tt() {
1536
+ return "showOpenFilePicker" in window;
1537
+ }
1538
+ function nt(a) {
1539
+ if (j(a)) {
1540
+ var i = Object.entries(a).filter(function(t) {
1541
+ var n = K(t, 2), p = n[0], o = n[1], l = !0;
1542
+ return oi(p) || (console.warn('Skipped "'.concat(p, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), l = !1), (!Array.isArray(o) || !o.every(ci)) && (console.warn('Skipped "'.concat(p, '" because an invalid file extension was provided.')), l = !1), l;
1543
+ }).reduce(function(t, n) {
1544
+ var p = K(n, 2), o = p[0], l = p[1];
1545
+ return Ga(Ga({}, t), {}, ti({}, o, l));
1546
+ }, {});
1547
+ return [{
1548
+ // description is required due to https://crbug.com/1264708
1549
+ description: "Files",
1550
+ accept: i
1551
+ }];
1552
+ }
1553
+ return a;
1554
+ }
1555
+ function et(a) {
1556
+ if (j(a))
1557
+ return Object.entries(a).reduce(function(i, t) {
1558
+ var n = K(t, 2), p = n[0], o = n[1];
1559
+ return [].concat(Ua(i), [p], Ua(o));
1560
+ }, []).filter(function(i) {
1561
+ return oi(i) || ci(i);
1562
+ }).join(",");
1563
+ }
1564
+ function pt(a) {
1565
+ return a instanceof DOMException && (a.name === "AbortError" || a.code === a.ABORT_ERR);
1566
+ }
1567
+ function ot(a) {
1568
+ return a instanceof DOMException && (a.name === "SecurityError" || a.code === a.SECURITY_ERR);
1569
+ }
1570
+ function oi(a) {
1571
+ return a === "audio/*" || a === "video/*" || a === "image/*" || a === "text/*" || a === "application/*" || /\w+\/[-+.\w]+/g.test(a);
1572
+ }
1573
+ function ci(a) {
1574
+ return /^.*\.[\w]+$/.test(a);
1575
+ }
1576
+ var ct = ["children"], lt = ["open"], rt = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], st = ["refKey", "onChange", "onClick"];
1577
+ function dt(a) {
1578
+ return vt(a) || ut(a) || li(a) || mt();
1579
+ }
1580
+ function mt() {
1581
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
1582
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1583
+ }
1584
+ function ut(a) {
1585
+ if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
1586
+ }
1587
+ function vt(a) {
1588
+ if (Array.isArray(a)) return wa(a);
1589
+ }
1590
+ function ba(a, i) {
1591
+ return gt(a) || xt(a, i) || li(a, i) || ft();
1592
+ }
1593
+ function ft() {
1594
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1595
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1596
+ }
1597
+ function li(a, i) {
1598
+ if (a) {
1599
+ if (typeof a == "string") return wa(a, i);
1600
+ var t = Object.prototype.toString.call(a).slice(8, -1);
1601
+ if (t === "Object" && a.constructor && (t = a.constructor.name), t === "Map" || t === "Set") return Array.from(a);
1602
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return wa(a, i);
1603
+ }
1604
+ }
1605
+ function wa(a, i) {
1606
+ (i == null || i > a.length) && (i = a.length);
1607
+ for (var t = 0, n = new Array(i); t < i; t++)
1608
+ n[t] = a[t];
1609
+ return n;
1610
+ }
1611
+ function xt(a, i) {
1612
+ var t = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
1613
+ if (t != null) {
1614
+ var n = [], p = !0, o = !1, l, r;
1615
+ try {
1616
+ for (t = t.call(a); !(p = (l = t.next()).done) && (n.push(l.value), !(i && n.length === i)); p = !0)
1617
+ ;
1618
+ } catch (v) {
1619
+ o = !0, r = v;
1620
+ } finally {
1621
+ try {
1622
+ !p && t.return != null && t.return();
1623
+ } finally {
1624
+ if (o) throw r;
1625
+ }
137
1626
  }
138
- return n === "wait" && M.length && (d = M), L(I(d)), W(c), null;
1627
+ return n;
1628
+ }
1629
+ }
1630
+ function gt(a) {
1631
+ if (Array.isArray(a)) return a;
1632
+ }
1633
+ function Xa(a, i) {
1634
+ var t = Object.keys(a);
1635
+ if (Object.getOwnPropertySymbols) {
1636
+ var n = Object.getOwnPropertySymbols(a);
1637
+ i && (n = n.filter(function(p) {
1638
+ return Object.getOwnPropertyDescriptor(a, p).enumerable;
1639
+ })), t.push.apply(t, n);
1640
+ }
1641
+ return t;
1642
+ }
1643
+ function d(a) {
1644
+ for (var i = 1; i < arguments.length; i++) {
1645
+ var t = arguments[i] != null ? arguments[i] : {};
1646
+ i % 2 ? Xa(Object(t), !0).forEach(function(n) {
1647
+ ka(a, n, t[n]);
1648
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Xa(Object(t)).forEach(function(n) {
1649
+ Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(t, n));
1650
+ });
139
1651
  }
140
- process.env.NODE_ENV !== "production" && n === "wait" && C.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
141
- const { forceRender: B } = H(ee);
142
- return a(N, { children: C.map((d) => {
143
- const f = x(d), w = h && !i ? !1 : c === C || u.includes(f), D = () => {
144
- if (l.has(f))
145
- l.set(f, !0);
146
- else
147
- return;
148
- let $ = !0;
149
- l.forEach((K) => {
150
- K || ($ = !1);
151
- }), $ && (B?.(), L(m.current), h && v?.(), r && r());
1652
+ return a;
1653
+ }
1654
+ function ka(a, i, t) {
1655
+ return i in a ? Object.defineProperty(a, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[i] = t, a;
1656
+ }
1657
+ function ia(a, i) {
1658
+ if (a == null) return {};
1659
+ var t = bt(a, i), n, p;
1660
+ if (Object.getOwnPropertySymbols) {
1661
+ var o = Object.getOwnPropertySymbols(a);
1662
+ for (p = 0; p < o.length; p++)
1663
+ n = o[p], !(i.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(a, n) && (t[n] = a[n]);
1664
+ }
1665
+ return t;
1666
+ }
1667
+ function bt(a, i) {
1668
+ if (a == null) return {};
1669
+ var t = {}, n = Object.keys(a), p, o;
1670
+ for (o = 0; o < n.length; o++)
1671
+ p = n[o], !(i.indexOf(p) >= 0) && (t[p] = a[p]);
1672
+ return t;
1673
+ }
1674
+ var Da = /* @__PURE__ */ yi(function(a, i) {
1675
+ var t = a.children, n = ia(a, ct), p = si(n), o = p.open, l = ia(p, lt);
1676
+ return wi(i, function() {
1677
+ return {
1678
+ open: o
1679
+ };
1680
+ }, [o]), /* @__PURE__ */ bi.createElement(ki, null, t(d(d({}, l), {}, {
1681
+ open: o
1682
+ })));
1683
+ });
1684
+ Da.displayName = "Dropzone";
1685
+ var ri = {
1686
+ disabled: !1,
1687
+ getFilesFromEvent: Oi,
1688
+ maxSize: 1 / 0,
1689
+ minSize: 0,
1690
+ multiple: !0,
1691
+ maxFiles: 0,
1692
+ preventDropOnDocument: !0,
1693
+ noClick: !1,
1694
+ noKeyboard: !1,
1695
+ noDrag: !1,
1696
+ noDragEventsBubbling: !1,
1697
+ validator: null,
1698
+ useFsAccessApi: !1,
1699
+ autoFocus: !1
1700
+ };
1701
+ Da.defaultProps = ri;
1702
+ Da.propTypes = {
1703
+ /**
1704
+ * Render function that exposes the dropzone state and prop getter fns
1705
+ *
1706
+ * @param {object} params
1707
+ * @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render
1708
+ * @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render
1709
+ * @param {Function} params.open Open the native file selection dialog
1710
+ * @param {boolean} params.isFocused Dropzone area is in focus
1711
+ * @param {boolean} params.isFileDialogActive File dialog is opened
1712
+ * @param {boolean} params.isDragActive Active drag is in progress
1713
+ * @param {boolean} params.isDragAccept Dragged files are accepted
1714
+ * @param {boolean} params.isDragReject Some dragged files are rejected
1715
+ * @param {File[]} params.acceptedFiles Accepted files
1716
+ * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
1717
+ */
1718
+ children: s.func,
1719
+ /**
1720
+ * Set accepted file types.
1721
+ * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
1722
+ * Keep in mind that mime type determination is not reliable across platforms. CSV files,
1723
+ * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
1724
+ * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
1725
+ */
1726
+ accept: s.objectOf(s.arrayOf(s.string)),
1727
+ /**
1728
+ * Allow drag 'n' drop (or selection from the file dialog) of multiple files
1729
+ */
1730
+ multiple: s.bool,
1731
+ /**
1732
+ * If false, allow dropped items to take over the current browser window
1733
+ */
1734
+ preventDropOnDocument: s.bool,
1735
+ /**
1736
+ * If true, disables click to open the native file selection dialog
1737
+ */
1738
+ noClick: s.bool,
1739
+ /**
1740
+ * If true, disables SPACE/ENTER to open the native file selection dialog.
1741
+ * Note that it also stops tracking the focus state.
1742
+ */
1743
+ noKeyboard: s.bool,
1744
+ /**
1745
+ * If true, disables drag 'n' drop
1746
+ */
1747
+ noDrag: s.bool,
1748
+ /**
1749
+ * If true, stops drag event propagation to parents
1750
+ */
1751
+ noDragEventsBubbling: s.bool,
1752
+ /**
1753
+ * Minimum file size (in bytes)
1754
+ */
1755
+ minSize: s.number,
1756
+ /**
1757
+ * Maximum file size (in bytes)
1758
+ */
1759
+ maxSize: s.number,
1760
+ /**
1761
+ * Maximum accepted number of files
1762
+ * The default value is 0 which means there is no limitation to how many files are accepted.
1763
+ */
1764
+ maxFiles: s.number,
1765
+ /**
1766
+ * Enable/disable the dropzone
1767
+ */
1768
+ disabled: s.bool,
1769
+ /**
1770
+ * Use this to provide a custom file aggregator
1771
+ *
1772
+ * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
1773
+ */
1774
+ getFilesFromEvent: s.func,
1775
+ /**
1776
+ * Cb for when closing the file dialog with no selection
1777
+ */
1778
+ onFileDialogCancel: s.func,
1779
+ /**
1780
+ * Cb for when opening the file dialog
1781
+ */
1782
+ onFileDialogOpen: s.func,
1783
+ /**
1784
+ * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
1785
+ * to open the file picker instead of using an `<input type="file">` click event.
1786
+ */
1787
+ useFsAccessApi: s.bool,
1788
+ /**
1789
+ * Set to true to focus the root element on render
1790
+ */
1791
+ autoFocus: s.bool,
1792
+ /**
1793
+ * Cb for when the `dragenter` event occurs.
1794
+ *
1795
+ * @param {DragEvent} event
1796
+ */
1797
+ onDragEnter: s.func,
1798
+ /**
1799
+ * Cb for when the `dragleave` event occurs
1800
+ *
1801
+ * @param {DragEvent} event
1802
+ */
1803
+ onDragLeave: s.func,
1804
+ /**
1805
+ * Cb for when the `dragover` event occurs
1806
+ *
1807
+ * @param {DragEvent} event
1808
+ */
1809
+ onDragOver: s.func,
1810
+ /**
1811
+ * Cb for when the `drop` event occurs.
1812
+ * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
1813
+ *
1814
+ * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.
1815
+ * `accept` must be a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension.
1816
+ * If `multiple` is set to false and additional files are dropped,
1817
+ * all files besides the first will be rejected.
1818
+ * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.
1819
+ *
1820
+ * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.
1821
+ * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.
1822
+ *
1823
+ * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.
1824
+ * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:
1825
+ *
1826
+ * ```js
1827
+ * function onDrop(acceptedFiles) {
1828
+ * const req = request.post('/upload')
1829
+ * acceptedFiles.forEach(file => {
1830
+ * req.attach(file.name, file)
1831
+ * })
1832
+ * req.end(callback)
1833
+ * }
1834
+ * ```
1835
+ *
1836
+ * @param {File[]} acceptedFiles
1837
+ * @param {FileRejection[]} fileRejections
1838
+ * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
1839
+ */
1840
+ onDrop: s.func,
1841
+ /**
1842
+ * Cb for when the `drop` event occurs.
1843
+ * Note that if no files are accepted, this callback is not invoked.
1844
+ *
1845
+ * @param {File[]} files
1846
+ * @param {(DragEvent|Event)} event
1847
+ */
1848
+ onDropAccepted: s.func,
1849
+ /**
1850
+ * Cb for when the `drop` event occurs.
1851
+ * Note that if no files are rejected, this callback is not invoked.
1852
+ *
1853
+ * @param {FileRejection[]} fileRejections
1854
+ * @param {(DragEvent|Event)} event
1855
+ */
1856
+ onDropRejected: s.func,
1857
+ /**
1858
+ * Cb for when there's some error from any of the promises.
1859
+ *
1860
+ * @param {Error} error
1861
+ */
1862
+ onError: s.func,
1863
+ /**
1864
+ * Custom validation function. It must return null if there's no errors.
1865
+ * @param {File} file
1866
+ * @returns {FileError|FileError[]|null}
1867
+ */
1868
+ validator: s.func
1869
+ };
1870
+ var ja = {
1871
+ isFocused: !1,
1872
+ isFileDialogActive: !1,
1873
+ isDragActive: !1,
1874
+ isDragAccept: !1,
1875
+ isDragReject: !1,
1876
+ acceptedFiles: [],
1877
+ fileRejections: []
1878
+ };
1879
+ function si() {
1880
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = d(d({}, ri), a), t = i.accept, n = i.disabled, p = i.getFilesFromEvent, o = i.maxSize, l = i.minSize, r = i.multiple, v = i.maxFiles, P = i.onDragEnter, S = i.onDragLeave, q = i.onDragOver, T = i.onDrop, C = i.onDropAccepted, I = i.onDropRejected, R = i.onFileDialogCancel, ta = i.onFileDialogOpen, za = i.useFsAccessApi, Ea = i.autoFocus, na = i.preventDropOnDocument, Aa = i.noClick, ea = i.noKeyboard, Oa = i.noDrag, w = i.noDragEventsBubbling, pa = i.onError, L = i.validator, M = F(function() {
1881
+ return et(t);
1882
+ }, [t]), Fa = F(function() {
1883
+ return nt(t);
1884
+ }, [t]), oa = F(function() {
1885
+ return typeof ta == "function" ? ta : Za;
1886
+ }, [ta]), H = F(function() {
1887
+ return typeof R == "function" ? R : Za;
1888
+ }, [R]), f = J(null), b = J(null), di = hi(ht, ja), _a = ba(di, 2), ca = _a[0], x = _a[1], mi = ca.isFocused, Pa = ca.isFileDialogActive, W = J(typeof window < "u" && window.isSecureContext && za && tt()), Sa = function() {
1889
+ !W.current && Pa && setTimeout(function() {
1890
+ if (b.current) {
1891
+ var c = b.current.files;
1892
+ c.length || (x({
1893
+ type: "closeDialog"
1894
+ }), H());
1895
+ }
1896
+ }, 300);
1897
+ };
1898
+ X(function() {
1899
+ return window.addEventListener("focus", Sa, !1), function() {
1900
+ window.removeEventListener("focus", Sa, !1);
1901
+ };
1902
+ }, [b, Pa, H, W]);
1903
+ var z = J([]), qa = function(c) {
1904
+ f.current && f.current.contains(c.target) || (c.preventDefault(), z.current = []);
1905
+ };
1906
+ X(function() {
1907
+ return na && (document.addEventListener("dragover", Qa, !1), document.addEventListener("drop", qa, !1)), function() {
1908
+ na && (document.removeEventListener("dragover", Qa), document.removeEventListener("drop", qa));
1909
+ };
1910
+ }, [f, na]), X(function() {
1911
+ return !n && Ea && f.current && f.current.focus(), function() {
1912
+ };
1913
+ }, [f, Ea, n]);
1914
+ var k = h(function(e) {
1915
+ pa ? pa(e) : console.error(e);
1916
+ }, [pa]), Ta = h(function(e) {
1917
+ e.preventDefault(), e.persist(), Y(e), z.current = [].concat(dt(z.current), [e.target]), Q(e) && Promise.resolve(p(e)).then(function(c) {
1918
+ if (!(aa(e) && !w)) {
1919
+ var m = c.length, u = m > 0 && Xi({
1920
+ files: c,
1921
+ accept: M,
1922
+ minSize: l,
1923
+ maxSize: o,
1924
+ multiple: r,
1925
+ maxFiles: v,
1926
+ validator: L
1927
+ }), g = m > 0 && !u;
1928
+ x({
1929
+ isDragAccept: u,
1930
+ isDragReject: g,
1931
+ isDragActive: !0,
1932
+ type: "setDraggedFiles"
1933
+ }), P && P(e);
1934
+ }
1935
+ }).catch(function(c) {
1936
+ return k(c);
1937
+ });
1938
+ }, [p, P, k, w, M, l, o, r, v, L]), Ca = h(function(e) {
1939
+ e.preventDefault(), e.persist(), Y(e);
1940
+ var c = Q(e);
1941
+ if (c && e.dataTransfer)
1942
+ try {
1943
+ e.dataTransfer.dropEffect = "copy";
1944
+ } catch {
1945
+ }
1946
+ return c && q && q(e), !1;
1947
+ }, [q, w]), Ia = h(function(e) {
1948
+ e.preventDefault(), e.persist(), Y(e);
1949
+ var c = z.current.filter(function(u) {
1950
+ return f.current && f.current.contains(u);
1951
+ }), m = c.indexOf(e.target);
1952
+ m !== -1 && c.splice(m, 1), z.current = c, !(c.length > 0) && (x({
1953
+ type: "setDraggedFiles",
1954
+ isDragActive: !1,
1955
+ isDragAccept: !1,
1956
+ isDragReject: !1
1957
+ }), Q(e) && S && S(e));
1958
+ }, [f, S, w]), B = h(function(e, c) {
1959
+ var m = [], u = [];
1960
+ e.forEach(function(g) {
1961
+ var $ = ei(g, M), O = ba($, 2), ra = O[0], sa = O[1], da = pi(g, l, o), G = ba(da, 2), ma = G[0], ua = G[1], va = L ? L(g) : null;
1962
+ if (ra && ma && !va)
1963
+ m.push(g);
1964
+ else {
1965
+ var fa = [sa, ua];
1966
+ va && (fa = fa.concat(va)), u.push({
1967
+ file: g,
1968
+ errors: fa.filter(function(xi) {
1969
+ return xi;
1970
+ })
1971
+ });
1972
+ }
1973
+ }), (!r && m.length > 1 || r && v >= 1 && m.length > v) && (m.forEach(function(g) {
1974
+ u.push({
1975
+ file: g,
1976
+ errors: [Qi]
1977
+ });
1978
+ }), m.splice(0)), x({
1979
+ acceptedFiles: m,
1980
+ fileRejections: u,
1981
+ isDragReject: u.length > 0,
1982
+ type: "setFiles"
1983
+ }), T && T(m, u, c), u.length > 0 && I && I(u, c), m.length > 0 && C && C(m, c);
1984
+ }, [x, r, M, l, o, v, T, C, I, L]), N = h(function(e) {
1985
+ e.preventDefault(), e.persist(), Y(e), z.current = [], Q(e) && Promise.resolve(p(e)).then(function(c) {
1986
+ aa(e) && !w || B(c, e);
1987
+ }).catch(function(c) {
1988
+ return k(c);
1989
+ }), x({
1990
+ type: "reset"
1991
+ });
1992
+ }, [p, B, k, w]), E = h(function() {
1993
+ if (W.current) {
1994
+ x({
1995
+ type: "openDialog"
1996
+ }), oa();
1997
+ var e = {
1998
+ multiple: r,
1999
+ types: Fa
2000
+ };
2001
+ window.showOpenFilePicker(e).then(function(c) {
2002
+ return p(c);
2003
+ }).then(function(c) {
2004
+ B(c, null), x({
2005
+ type: "closeDialog"
2006
+ });
2007
+ }).catch(function(c) {
2008
+ pt(c) ? (H(c), x({
2009
+ type: "closeDialog"
2010
+ })) : ot(c) ? (W.current = !1, b.current ? (b.current.value = null, b.current.click()) : k(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : k(c);
2011
+ });
2012
+ return;
2013
+ }
2014
+ b.current && (x({
2015
+ type: "openDialog"
2016
+ }), oa(), b.current.value = null, b.current.click());
2017
+ }, [x, oa, H, za, B, k, Fa, r]), Ra = h(function(e) {
2018
+ !f.current || !f.current.isEqualNode(e.target) || (e.key === " " || e.key === "Enter" || e.keyCode === 32 || e.keyCode === 13) && (e.preventDefault(), E());
2019
+ }, [f, E]), La = h(function() {
2020
+ x({
2021
+ type: "focus"
2022
+ });
2023
+ }, []), Ma = h(function() {
2024
+ x({
2025
+ type: "blur"
2026
+ });
2027
+ }, []), $a = h(function() {
2028
+ Aa || (it() ? setTimeout(E, 0) : E());
2029
+ }, [Aa, E]), A = function(c) {
2030
+ return n ? null : c;
2031
+ }, la = function(c) {
2032
+ return ea ? null : A(c);
2033
+ }, U = function(c) {
2034
+ return Oa ? null : A(c);
2035
+ }, Y = function(c) {
2036
+ w && c.stopPropagation();
2037
+ }, ui = F(function() {
2038
+ return function() {
2039
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = e.refKey, m = c === void 0 ? "ref" : c, u = e.role, g = e.onKeyDown, $ = e.onFocus, O = e.onBlur, ra = e.onClick, sa = e.onDragEnter, da = e.onDragOver, G = e.onDragLeave, ma = e.onDrop, ua = ia(e, rt);
2040
+ return d(d(ka({
2041
+ onKeyDown: la(y(g, Ra)),
2042
+ onFocus: la(y($, La)),
2043
+ onBlur: la(y(O, Ma)),
2044
+ onClick: A(y(ra, $a)),
2045
+ onDragEnter: U(y(sa, Ta)),
2046
+ onDragOver: U(y(da, Ca)),
2047
+ onDragLeave: U(y(G, Ia)),
2048
+ onDrop: U(y(ma, N)),
2049
+ role: typeof u == "string" && u !== "" ? u : "presentation"
2050
+ }, m, f), !n && !ea ? {
2051
+ tabIndex: 0
2052
+ } : {}), ua);
2053
+ };
2054
+ }, [f, Ra, La, Ma, $a, Ta, Ca, Ia, N, ea, Oa, n]), vi = h(function(e) {
2055
+ e.stopPropagation();
2056
+ }, []), fi = F(function() {
2057
+ return function() {
2058
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c = e.refKey, m = c === void 0 ? "ref" : c, u = e.onChange, g = e.onClick, $ = ia(e, st), O = ka({
2059
+ accept: M,
2060
+ multiple: r,
2061
+ type: "file",
2062
+ style: {
2063
+ border: 0,
2064
+ clip: "rect(0, 0, 0, 0)",
2065
+ clipPath: "inset(50%)",
2066
+ height: "1px",
2067
+ margin: "0 -1px -1px 0",
2068
+ overflow: "hidden",
2069
+ padding: 0,
2070
+ position: "absolute",
2071
+ width: "1px",
2072
+ whiteSpace: "nowrap"
2073
+ },
2074
+ onChange: A(y(u, N)),
2075
+ onClick: A(y(g, vi)),
2076
+ tabIndex: -1
2077
+ }, m, b);
2078
+ return d(d({}, O), $);
152
2079
  };
153
- return a(fe, { isPresent: w, initial: !p.current || t ? void 0 : !1, custom: o, presenceAffectsLayout: s, mode: n, root: P, onExitComplete: w ? void 0 : D, anchorX: g, children: d }, f);
154
- }) });
155
- }, Ce = ({
156
- children: e,
157
- ...o
2080
+ }, [b, t, r, N, n]);
2081
+ return d(d({}, ca), {}, {
2082
+ isFocused: mi && !n,
2083
+ getRootProps: ui,
2084
+ getInputProps: fi,
2085
+ rootRef: f,
2086
+ inputRef: b,
2087
+ open: A(E)
2088
+ });
2089
+ }
2090
+ function ht(a, i) {
2091
+ switch (i.type) {
2092
+ case "focus":
2093
+ return d(d({}, a), {}, {
2094
+ isFocused: !0
2095
+ });
2096
+ case "blur":
2097
+ return d(d({}, a), {}, {
2098
+ isFocused: !1
2099
+ });
2100
+ case "openDialog":
2101
+ return d(d({}, ja), {}, {
2102
+ isFileDialogActive: !0
2103
+ });
2104
+ case "closeDialog":
2105
+ return d(d({}, a), {}, {
2106
+ isFileDialogActive: !1
2107
+ });
2108
+ case "setDraggedFiles":
2109
+ return d(d({}, a), {}, {
2110
+ isDragActive: i.isDragActive,
2111
+ isDragAccept: i.isDragAccept,
2112
+ isDragReject: i.isDragReject
2113
+ });
2114
+ case "setFiles":
2115
+ return d(d({}, a), {}, {
2116
+ acceptedFiles: i.acceptedFiles,
2117
+ fileRejections: i.fileRejections,
2118
+ isDragReject: i.isDragReject
2119
+ });
2120
+ case "reset":
2121
+ return d({}, ja);
2122
+ default:
2123
+ return a;
2124
+ }
2125
+ }
2126
+ function Za() {
2127
+ }
2128
+ const At = ({
2129
+ children: a,
2130
+ className: i,
2131
+ asChild: t,
2132
+ getDropzoneRef: n,
2133
+ ...p
158
2134
  }) => {
159
- const { isDesktop: t, open: r } = V();
160
- return t ? /* @__PURE__ */ a(U, { forceMount: !0, ...o, children: /* @__PURE__ */ a(T, { children: r ? /* @__PURE__ */ a("div", { "data-slot": "responsive-popover-drawer-portal", children: e }) : null }) }) : /* @__PURE__ */ a(
161
- O.Portal,
2135
+ const o = t ? ji : "div", l = si({
2136
+ ...p
2137
+ }), { getRootProps: r, getInputProps: v } = l;
2138
+ return X(() => {
2139
+ n && n(l);
2140
+ }, [n]), /* @__PURE__ */ Ka(o, { className: xa("h-full w-full", i), children: /* @__PURE__ */ gi(
2141
+ "div",
162
2142
  {
163
- forceMount: !0,
164
- "data-slot": "responsive-popover-drawer-portal",
165
- ...o,
166
- children: /* @__PURE__ */ a(T, { children: r ? /* @__PURE__ */ a("div", { "data-slot": "responsive-popover-drawer-portal", children: e }) : null })
2143
+ ...r({
2144
+ className: xa("relative")
2145
+ }),
2146
+ children: [
2147
+ a,
2148
+ /* @__PURE__ */ Ka(
2149
+ "input",
2150
+ {
2151
+ ...v({
2152
+ type: "file",
2153
+ className: xa(
2154
+ "absolute opacity-0 cursor-pointer w-full! h-full! top-0 left-0 right-0"
2155
+ )
2156
+ })
2157
+ }
2158
+ )
2159
+ ]
167
2160
  }
168
- );
2161
+ ) });
169
2162
  };
170
2163
  export {
171
- Ce as ResponsivePopoverDrawerPortal
2164
+ At as DropzoneUploadArea
172
2165
  };