welcome-ui 1.0.0-beta.4 → 1.0.0-beta.5

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 (414) hide show
  1. package/dist/Accordion.js +1 -1
  2. package/dist/Accordion.mjs +6 -5
  3. package/dist/Alert.js +1 -1
  4. package/dist/Alert.mjs +19 -19
  5. package/dist/Breadcrumb.js +1 -1
  6. package/dist/Breadcrumb.mjs +4 -3
  7. package/dist/ClearButton.js +5 -5
  8. package/dist/ClearButton.mjs +10 -9
  9. package/dist/CloseButton.js +2 -2
  10. package/dist/CloseButton.mjs +4 -3
  11. package/dist/{CustomInput-CenfXh_H.mjs → CustomInput-DUq7mNvC.mjs} +184 -183
  12. package/dist/{CustomInput-9aCUiD6o.js → CustomInput-NV_j0IWq.js} +15 -15
  13. package/dist/DatePicker.js +1 -1
  14. package/dist/DatePicker.mjs +1 -1
  15. package/dist/DateTimePicker.js +1 -1
  16. package/dist/DateTimePicker.mjs +1 -1
  17. package/dist/DateTimePickerCommon.js +1 -1
  18. package/dist/DateTimePickerCommon.mjs +1 -1
  19. package/dist/Drawer.js +1 -64
  20. package/dist/Drawer.mjs +10 -265
  21. package/dist/Field.js +1 -1
  22. package/dist/Field.mjs +10 -10
  23. package/dist/FieldGroup.js +1 -1
  24. package/dist/FieldGroup.mjs +4 -4
  25. package/dist/FileDrop.js +1 -46
  26. package/dist/FileDrop.mjs +8 -2323
  27. package/dist/FileUpload.js +1 -1
  28. package/dist/FileUpload.mjs +1 -1
  29. package/dist/IconFont.js +4 -4
  30. package/dist/IconFont.mjs +41 -41
  31. package/dist/Label.js +1 -35
  32. package/dist/Label.mjs +8 -76
  33. package/dist/Link.js +2 -2
  34. package/dist/Link.mjs +2 -1
  35. package/dist/Modal.js +19 -19
  36. package/dist/Modal.mjs +48 -48
  37. package/dist/Pagination.js +9 -9
  38. package/dist/Pagination.mjs +26 -24
  39. package/dist/PasswordInput.js +1 -1
  40. package/dist/PasswordInput.mjs +5 -52
  41. package/dist/Picker.js +1 -1
  42. package/dist/Picker.mjs +1 -1
  43. package/dist/Popover.js +1 -1
  44. package/dist/Popover.mjs +1 -1
  45. package/dist/Radio.js +1 -1
  46. package/dist/Radio.mjs +5 -5
  47. package/dist/Select.js +1 -122
  48. package/dist/Select.mjs +10 -1069
  49. package/dist/Swiper.js +1 -1
  50. package/dist/Swiper.mjs +13 -13
  51. package/dist/Tag.js +3 -3
  52. package/dist/Tag.mjs +10 -10
  53. package/dist/TimePicker.js +1 -1
  54. package/dist/TimePicker.mjs +1 -1
  55. package/dist/VariantIcon.js +1 -8
  56. package/dist/VariantIcon.mjs +5 -30
  57. package/dist/WuiProvider.js +10 -8
  58. package/dist/WuiProvider.mjs +4 -2
  59. package/dist/fonts/welcome-icon-font.css +915 -0
  60. package/dist/fonts/welcome-icon-font.svg +1806 -0
  61. package/dist/fonts/welcome-icon-font.ttf +0 -0
  62. package/dist/fonts/welcome-icon-font.woff +0 -0
  63. package/dist/fonts/welcome-icon-font.woff2 +0 -0
  64. package/dist/index-BAD1dszB.js +1 -0
  65. package/dist/index-BNwz4P5j.js +1 -0
  66. package/dist/index-BPNky7_R.js +64 -0
  67. package/dist/index-BPeIa2mR.js +1 -0
  68. package/dist/index-BRDOakbf.mjs +11 -0
  69. package/dist/index-BZq8PyIk.js +46 -0
  70. package/dist/index-Bn9aiaUQ.mjs +193 -0
  71. package/dist/index-BpRjq7lj.mjs +11 -0
  72. package/dist/index-BxWjuyQw.js +1 -0
  73. package/dist/index-C1FV1q-F.js +1 -0
  74. package/dist/index-C7zM96J_.mjs +11 -0
  75. package/dist/index-CGZVoNIN.mjs +1077 -0
  76. package/dist/index-CQ1IPLlk.mjs +64 -0
  77. package/dist/index-CiYwvMF0.js +8 -0
  78. package/dist/index-D3Tnfi3U.mjs +83 -0
  79. package/dist/index-DG4lwZUW.mjs +272 -0
  80. package/dist/index-DHCyCfRv.js +35 -0
  81. package/dist/index-DPMCsVtB.js +54 -0
  82. package/dist/index-DRa_xux4.mjs +57 -0
  83. package/dist/index-DqBUFsqP.mjs +11 -0
  84. package/dist/index-R0G4mc9j.mjs +2347 -0
  85. package/dist/index-_oF_K5ZN.js +122 -0
  86. package/dist/index-gPtu0TOV.js +1 -0
  87. package/dist/{index-1C9Z0d5Q.mjs → index-mPb8TbpM.mjs} +4 -3
  88. package/dist/index.js +44 -5
  89. package/dist/index.mjs +2751 -983
  90. package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +1 -1
  91. package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +1 -1
  92. package/dist/types/components/IconFont/index.d.ts +2 -2
  93. package/dist/types/components/Icons/Actions/index.d.ts +3 -0
  94. package/dist/types/components/Icons/Activity/index.d.ts +3 -0
  95. package/dist/types/components/Icons/Add/index.d.ts +3 -0
  96. package/dist/types/components/Icons/Address/index.d.ts +3 -0
  97. package/dist/types/components/Icons/Airplay/index.d.ts +3 -0
  98. package/dist/types/components/Icons/Alert/index.d.ts +3 -0
  99. package/dist/types/components/Icons/AlertOutline/index.d.ts +3 -0
  100. package/dist/types/components/Icons/Analytics/index.d.ts +3 -0
  101. package/dist/types/components/Icons/Anniversary/index.d.ts +3 -0
  102. package/dist/types/components/Icons/Archive/index.d.ts +3 -0
  103. package/dist/types/components/Icons/ArrowDown/index.d.ts +3 -0
  104. package/dist/types/components/Icons/ArrowLeft/index.d.ts +3 -0
  105. package/dist/types/components/Icons/ArrowLineDown/index.d.ts +3 -0
  106. package/dist/types/components/Icons/ArrowLineLeft/index.d.ts +3 -0
  107. package/dist/types/components/Icons/ArrowLineRight/index.d.ts +3 -0
  108. package/dist/types/components/Icons/ArrowLineUp/index.d.ts +3 -0
  109. package/dist/types/components/Icons/ArrowRight/index.d.ts +3 -0
  110. package/dist/types/components/Icons/ArrowUp/index.d.ts +3 -0
  111. package/dist/types/components/Icons/AspectRatioFill/index.d.ts +3 -0
  112. package/dist/types/components/Icons/AspectRatioFit/index.d.ts +3 -0
  113. package/dist/types/components/Icons/Attachment/index.d.ts +3 -0
  114. package/dist/types/components/Icons/Avatar/index.d.ts +3 -0
  115. package/dist/types/components/Icons/AvatarAccessory/index.d.ts +3 -0
  116. package/dist/types/components/Icons/AvatarBody/index.d.ts +3 -0
  117. package/dist/types/components/Icons/AvatarBottom/index.d.ts +3 -0
  118. package/dist/types/components/Icons/AvatarCostume/index.d.ts +3 -0
  119. package/dist/types/components/Icons/AvatarHead/index.d.ts +3 -0
  120. package/dist/types/components/Icons/AvatarTop/index.d.ts +3 -0
  121. package/dist/types/components/Icons/BarChart/index.d.ts +3 -0
  122. package/dist/types/components/Icons/Basketball/index.d.ts +3 -0
  123. package/dist/types/components/Icons/Behance/index.d.ts +3 -0
  124. package/dist/types/components/Icons/Birthday/index.d.ts +3 -0
  125. package/dist/types/components/Icons/Bold/index.d.ts +3 -0
  126. package/dist/types/components/Icons/Book/index.d.ts +3 -0
  127. package/dist/types/components/Icons/Book2/index.d.ts +3 -0
  128. package/dist/types/components/Icons/Bookmark/index.d.ts +3 -0
  129. package/dist/types/components/Icons/BookmarkOutline/index.d.ts +3 -0
  130. package/dist/types/components/Icons/Bulb/index.d.ts +3 -0
  131. package/dist/types/components/Icons/Bulk/index.d.ts +3 -0
  132. package/dist/types/components/Icons/Buoy/index.d.ts +3 -0
  133. package/dist/types/components/Icons/Burn/index.d.ts +3 -0
  134. package/dist/types/components/Icons/Caddy/index.d.ts +3 -0
  135. package/dist/types/components/Icons/Calcul/index.d.ts +3 -0
  136. package/dist/types/components/Icons/Camera/index.d.ts +3 -0
  137. package/dist/types/components/Icons/CameraOff/index.d.ts +3 -0
  138. package/dist/types/components/Icons/CameraOn/index.d.ts +3 -0
  139. package/dist/types/components/Icons/CandidateStatus/index.d.ts +3 -0
  140. package/dist/types/components/Icons/CardView/index.d.ts +3 -0
  141. package/dist/types/components/Icons/Cast/index.d.ts +3 -0
  142. package/dist/types/components/Icons/CastConnected/index.d.ts +3 -0
  143. package/dist/types/components/Icons/CastUnavailable/index.d.ts +3 -0
  144. package/dist/types/components/Icons/Celebrate/index.d.ts +3 -0
  145. package/dist/types/components/Icons/Certified/index.d.ts +3 -0
  146. package/dist/types/components/Icons/Check/index.d.ts +3 -0
  147. package/dist/types/components/Icons/Clipboard/index.d.ts +3 -0
  148. package/dist/types/components/Icons/Clock/index.d.ts +3 -0
  149. package/dist/types/components/Icons/Code/index.d.ts +3 -0
  150. package/dist/types/components/Icons/CodeBlock/index.d.ts +3 -0
  151. package/dist/types/components/Icons/Coffee/index.d.ts +3 -0
  152. package/dist/types/components/Icons/Collapse/index.d.ts +3 -0
  153. package/dist/types/components/Icons/Comment/index.d.ts +3 -0
  154. package/dist/types/components/Icons/CommentOutline/index.d.ts +3 -0
  155. package/dist/types/components/Icons/CommonArea/index.d.ts +3 -0
  156. package/dist/types/components/Icons/Compass/index.d.ts +3 -0
  157. package/dist/types/components/Icons/Computer/index.d.ts +3 -0
  158. package/dist/types/components/Icons/Connection/index.d.ts +3 -0
  159. package/dist/types/components/Icons/Contract/index.d.ts +3 -0
  160. package/dist/types/components/Icons/ControlBackward/index.d.ts +3 -0
  161. package/dist/types/components/Icons/ControlForward/index.d.ts +3 -0
  162. package/dist/types/components/Icons/ControlPause/index.d.ts +3 -0
  163. package/dist/types/components/Icons/ControlStop/index.d.ts +3 -0
  164. package/dist/types/components/Icons/Copy/index.d.ts +3 -0
  165. package/dist/types/components/Icons/CoverLetter/index.d.ts +3 -0
  166. package/dist/types/components/Icons/Create/index.d.ts +3 -0
  167. package/dist/types/components/Icons/CreditCard/index.d.ts +3 -0
  168. package/dist/types/components/Icons/CrescentMoon/index.d.ts +3 -0
  169. package/dist/types/components/Icons/CrescentMoonOutline/index.d.ts +3 -0
  170. package/dist/types/components/Icons/Cross/index.d.ts +3 -0
  171. package/dist/types/components/Icons/CrossTarget/index.d.ts +3 -0
  172. package/dist/types/components/Icons/Crown/index.d.ts +3 -0
  173. package/dist/types/components/Icons/Csv/index.d.ts +3 -0
  174. package/dist/types/components/Icons/Date/index.d.ts +3 -0
  175. package/dist/types/components/Icons/Department/index.d.ts +3 -0
  176. package/dist/types/components/Icons/Details/index.d.ts +3 -0
  177. package/dist/types/components/Icons/Diamond/index.d.ts +3 -0
  178. package/dist/types/components/Icons/Dish/index.d.ts +3 -0
  179. package/dist/types/components/Icons/Doc/index.d.ts +3 -0
  180. package/dist/types/components/Icons/Docx/index.d.ts +3 -0
  181. package/dist/types/components/Icons/Down/index.d.ts +3 -0
  182. package/dist/types/components/Icons/Download/index.d.ts +3 -0
  183. package/dist/types/components/Icons/DragAndDrop/index.d.ts +3 -0
  184. package/dist/types/components/Icons/Dribbble/index.d.ts +3 -0
  185. package/dist/types/components/Icons/Earth/index.d.ts +3 -0
  186. package/dist/types/components/Icons/Edit/index.d.ts +3 -0
  187. package/dist/types/components/Icons/EducationLevel/index.d.ts +3 -0
  188. package/dist/types/components/Icons/Email/index.d.ts +3 -0
  189. package/dist/types/components/Icons/EmailOutline/index.d.ts +3 -0
  190. package/dist/types/components/Icons/Eot/index.d.ts +3 -0
  191. package/dist/types/components/Icons/Equal/index.d.ts +3 -0
  192. package/dist/types/components/Icons/EuroCurrency/index.d.ts +3 -0
  193. package/dist/types/components/Icons/Expand/index.d.ts +3 -0
  194. package/dist/types/components/Icons/ExpandText/index.d.ts +3 -0
  195. package/dist/types/components/Icons/Extend/index.d.ts +3 -0
  196. package/dist/types/components/Icons/ExternalLink/index.d.ts +3 -0
  197. package/dist/types/components/Icons/Facebook/index.d.ts +3 -0
  198. package/dist/types/components/Icons/Factory/index.d.ts +3 -0
  199. package/dist/types/components/Icons/Female/index.d.ts +3 -0
  200. package/dist/types/components/Icons/Filters/index.d.ts +3 -0
  201. package/dist/types/components/Icons/Fingerprint/index.d.ts +3 -0
  202. package/dist/types/components/Icons/Flag/index.d.ts +3 -0
  203. package/dist/types/components/Icons/FlagCs/index.d.ts +3 -0
  204. package/dist/types/components/Icons/FlagEn/index.d.ts +3 -0
  205. package/dist/types/components/Icons/FlagEs/index.d.ts +3 -0
  206. package/dist/types/components/Icons/FlagFr/index.d.ts +3 -0
  207. package/dist/types/components/Icons/FlagOutline/index.d.ts +3 -0
  208. package/dist/types/components/Icons/FlagPointed/index.d.ts +3 -0
  209. package/dist/types/components/Icons/FlagSk/index.d.ts +3 -0
  210. package/dist/types/components/Icons/FlagUs/index.d.ts +3 -0
  211. package/dist/types/components/Icons/Folder/index.d.ts +3 -0
  212. package/dist/types/components/Icons/FullscreenOff/index.d.ts +3 -0
  213. package/dist/types/components/Icons/FullscreenOn/index.d.ts +3 -0
  214. package/dist/types/components/Icons/Gear/index.d.ts +3 -0
  215. package/dist/types/components/Icons/Gif/index.d.ts +3 -0
  216. package/dist/types/components/Icons/Github/index.d.ts +3 -0
  217. package/dist/types/components/Icons/Google/index.d.ts +3 -0
  218. package/dist/types/components/Icons/Handshake/index.d.ts +3 -0
  219. package/dist/types/components/Icons/HardHat/index.d.ts +3 -0
  220. package/dist/types/components/Icons/Hashtag/index.d.ts +3 -0
  221. package/dist/types/components/Icons/Heading/index.d.ts +3 -0
  222. package/dist/types/components/Icons/Heading1/index.d.ts +3 -0
  223. package/dist/types/components/Icons/Heading2/index.d.ts +3 -0
  224. package/dist/types/components/Icons/Heading3/index.d.ts +3 -0
  225. package/dist/types/components/Icons/Heading4/index.d.ts +3 -0
  226. package/dist/types/components/Icons/Heading5/index.d.ts +3 -0
  227. package/dist/types/components/Icons/Heading6/index.d.ts +3 -0
  228. package/dist/types/components/Icons/Headset/index.d.ts +3 -0
  229. package/dist/types/components/Icons/Heart/index.d.ts +3 -0
  230. package/dist/types/components/Icons/HeartOutline/index.d.ts +3 -0
  231. package/dist/types/components/Icons/HeartShiny/index.d.ts +3 -0
  232. package/dist/types/components/Icons/Hide/index.d.ts +3 -0
  233. package/dist/types/components/Icons/Home/index.d.ts +3 -0
  234. package/dist/types/components/Icons/House/index.d.ts +3 -0
  235. package/dist/types/components/Icons/InProgressCandidate/index.d.ts +3 -0
  236. package/dist/types/components/Icons/Information/index.d.ts +3 -0
  237. package/dist/types/components/Icons/InformationOutline/index.d.ts +3 -0
  238. package/dist/types/components/Icons/Instagram/index.d.ts +3 -0
  239. package/dist/types/components/Icons/Italic/index.d.ts +3 -0
  240. package/dist/types/components/Icons/Jpeg/index.d.ts +3 -0
  241. package/dist/types/components/Icons/Jpg/index.d.ts +3 -0
  242. package/dist/types/components/Icons/JusticeHammer/index.d.ts +3 -0
  243. package/dist/types/components/Icons/Kanban/index.d.ts +3 -0
  244. package/dist/types/components/Icons/Key/index.d.ts +3 -0
  245. package/dist/types/components/Icons/Language/index.d.ts +3 -0
  246. package/dist/types/components/Icons/Leaf/index.d.ts +3 -0
  247. package/dist/types/components/Icons/Left/index.d.ts +3 -0
  248. package/dist/types/components/Icons/LineChart/index.d.ts +3 -0
  249. package/dist/types/components/Icons/Link/index.d.ts +3 -0
  250. package/dist/types/components/Icons/Linkedin/index.d.ts +3 -0
  251. package/dist/types/components/Icons/Location/index.d.ts +3 -0
  252. package/dist/types/components/Icons/Lock/index.d.ts +3 -0
  253. package/dist/types/components/Icons/LockRounded/index.d.ts +3 -0
  254. package/dist/types/components/Icons/LogOut/index.d.ts +3 -0
  255. package/dist/types/components/Icons/Male/index.d.ts +3 -0
  256. package/dist/types/components/Icons/Map/index.d.ts +3 -0
  257. package/dist/types/components/Icons/Masonry/index.d.ts +3 -0
  258. package/dist/types/components/Icons/Masonry2/index.d.ts +3 -0
  259. package/dist/types/components/Icons/MeetingRoom/index.d.ts +3 -0
  260. package/dist/types/components/Icons/Megaphone/index.d.ts +3 -0
  261. package/dist/types/components/Icons/Mention/index.d.ts +3 -0
  262. package/dist/types/components/Icons/Menu/index.d.ts +3 -0
  263. package/dist/types/components/Icons/Mic/index.d.ts +3 -0
  264. package/dist/types/components/Icons/MicrophoneOff/index.d.ts +3 -0
  265. package/dist/types/components/Icons/MicrophoneOn/index.d.ts +3 -0
  266. package/dist/types/components/Icons/Microship/index.d.ts +3 -0
  267. package/dist/types/components/Icons/Mobile/index.d.ts +3 -0
  268. package/dist/types/components/Icons/Money/index.d.ts +3 -0
  269. package/dist/types/components/Icons/More/index.d.ts +3 -0
  270. package/dist/types/components/Icons/MoreAndroid/index.d.ts +3 -0
  271. package/dist/types/components/Icons/Mountain/index.d.ts +3 -0
  272. package/dist/types/components/Icons/Move/index.d.ts +3 -0
  273. package/dist/types/components/Icons/Music/index.d.ts +3 -0
  274. package/dist/types/components/Icons/Negative/index.d.ts +3 -0
  275. package/dist/types/components/Icons/NegativeOutline/index.d.ts +3 -0
  276. package/dist/types/components/Icons/NegativeStraight/index.d.ts +3 -0
  277. package/dist/types/components/Icons/NewCandidate/index.d.ts +3 -0
  278. package/dist/types/components/Icons/Notification/index.d.ts +3 -0
  279. package/dist/types/components/Icons/Npm/index.d.ts +3 -0
  280. package/dist/types/components/Icons/OfferStatus/index.d.ts +3 -0
  281. package/dist/types/components/Icons/Office/index.d.ts +3 -0
  282. package/dist/types/components/Icons/OrderedList/index.d.ts +3 -0
  283. package/dist/types/components/Icons/Origine/index.d.ts +3 -0
  284. package/dist/types/components/Icons/Paperplane/index.d.ts +3 -0
  285. package/dist/types/components/Icons/Pdf/index.d.ts +3 -0
  286. package/dist/types/components/Icons/Pencil/index.d.ts +3 -0
  287. package/dist/types/components/Icons/Phone/index.d.ts +3 -0
  288. package/dist/types/components/Icons/PhoneOutline/index.d.ts +3 -0
  289. package/dist/types/components/Icons/Pictures/index.d.ts +3 -0
  290. package/dist/types/components/Icons/Piechart/index.d.ts +3 -0
  291. package/dist/types/components/Icons/Pin/index.d.ts +3 -0
  292. package/dist/types/components/Icons/Pinterest/index.d.ts +3 -0
  293. package/dist/types/components/Icons/Pizza/index.d.ts +3 -0
  294. package/dist/types/components/Icons/Play/index.d.ts +3 -0
  295. package/dist/types/components/Icons/PlayOutline/index.d.ts +3 -0
  296. package/dist/types/components/Icons/Playlist/index.d.ts +3 -0
  297. package/dist/types/components/Icons/Png/index.d.ts +3 -0
  298. package/dist/types/components/Icons/Podcast/index.d.ts +3 -0
  299. package/dist/types/components/Icons/Positive/index.d.ts +3 -0
  300. package/dist/types/components/Icons/PositiveOutline/index.d.ts +3 -0
  301. package/dist/types/components/Icons/PositiveStraight/index.d.ts +3 -0
  302. package/dist/types/components/Icons/Ppt/index.d.ts +3 -0
  303. package/dist/types/components/Icons/Print/index.d.ts +3 -0
  304. package/dist/types/components/Icons/Promote/index.d.ts +3 -0
  305. package/dist/types/components/Icons/Puzzle/index.d.ts +3 -0
  306. package/dist/types/components/Icons/PuzzleOutline/index.d.ts +3 -0
  307. package/dist/types/components/Icons/Question/index.d.ts +3 -0
  308. package/dist/types/components/Icons/Questions/index.d.ts +3 -0
  309. package/dist/types/components/Icons/Quote/index.d.ts +3 -0
  310. package/dist/types/components/Icons/Refresh/index.d.ts +3 -0
  311. package/dist/types/components/Icons/RefuseCandidate/index.d.ts +3 -0
  312. package/dist/types/components/Icons/Remote/index.d.ts +3 -0
  313. package/dist/types/components/Icons/Remove/index.d.ts +3 -0
  314. package/dist/types/components/Icons/Reset/index.d.ts +3 -0
  315. package/dist/types/components/Icons/Resume/index.d.ts +3 -0
  316. package/dist/types/components/Icons/Review/index.d.ts +3 -0
  317. package/dist/types/components/Icons/ReviewOutline/index.d.ts +3 -0
  318. package/dist/types/components/Icons/Right/index.d.ts +3 -0
  319. package/dist/types/components/Icons/Salary/index.d.ts +3 -0
  320. package/dist/types/components/Icons/Save/index.d.ts +3 -0
  321. package/dist/types/components/Icons/ScreenshareOff/index.d.ts +3 -0
  322. package/dist/types/components/Icons/ScreenshareOn/index.d.ts +3 -0
  323. package/dist/types/components/Icons/Search/index.d.ts +3 -0
  324. package/dist/types/components/Icons/SearchPeople/index.d.ts +3 -0
  325. package/dist/types/components/Icons/Settings/index.d.ts +3 -0
  326. package/dist/types/components/Icons/Share1/index.d.ts +3 -0
  327. package/dist/types/components/Icons/Share2/index.d.ts +3 -0
  328. package/dist/types/components/Icons/Shield/index.d.ts +3 -0
  329. package/dist/types/components/Icons/Show/index.d.ts +3 -0
  330. package/dist/types/components/Icons/Slack/index.d.ts +3 -0
  331. package/dist/types/components/Icons/SoundOff/index.d.ts +3 -0
  332. package/dist/types/components/Icons/SoundOn/index.d.ts +3 -0
  333. package/dist/types/components/Icons/Source/index.d.ts +3 -0
  334. package/dist/types/components/Icons/Spanner/index.d.ts +3 -0
  335. package/dist/types/components/Icons/Sparkles/index.d.ts +3 -0
  336. package/dist/types/components/Icons/SquareAlert/index.d.ts +3 -0
  337. package/dist/types/components/Icons/Stackoverflow/index.d.ts +3 -0
  338. package/dist/types/components/Icons/Stackserver/index.d.ts +3 -0
  339. package/dist/types/components/Icons/Star/index.d.ts +3 -0
  340. package/dist/types/components/Icons/StarOutline/index.d.ts +3 -0
  341. package/dist/types/components/Icons/Strikethrough/index.d.ts +3 -0
  342. package/dist/types/components/Icons/Subtitle/index.d.ts +3 -0
  343. package/dist/types/components/Icons/Success/index.d.ts +3 -0
  344. package/dist/types/components/Icons/Suitcase/index.d.ts +3 -0
  345. package/dist/types/components/Icons/Sun/index.d.ts +3 -0
  346. package/dist/types/components/Icons/Svg/index.d.ts +3 -0
  347. package/dist/types/components/Icons/Symbol/index.d.ts +3 -0
  348. package/dist/types/components/Icons/Table/index.d.ts +3 -0
  349. package/dist/types/components/Icons/TableColumnAddAfter/index.d.ts +3 -0
  350. package/dist/types/components/Icons/TableColumnAddBefore/index.d.ts +3 -0
  351. package/dist/types/components/Icons/TableColumnRemove/index.d.ts +3 -0
  352. package/dist/types/components/Icons/TableDelete/index.d.ts +3 -0
  353. package/dist/types/components/Icons/TableDivide/index.d.ts +3 -0
  354. package/dist/types/components/Icons/TableMergeCells/index.d.ts +3 -0
  355. package/dist/types/components/Icons/TableRowAddAbove/index.d.ts +3 -0
  356. package/dist/types/components/Icons/TableRowAddBelow/index.d.ts +3 -0
  357. package/dist/types/components/Icons/TableRowRemove/index.d.ts +3 -0
  358. package/dist/types/components/Icons/Tablet/index.d.ts +3 -0
  359. package/dist/types/components/Icons/Tag/index.d.ts +3 -0
  360. package/dist/types/components/Icons/Target/index.d.ts +3 -0
  361. package/dist/types/components/Icons/Teepee/index.d.ts +3 -0
  362. package/dist/types/components/Icons/ThumbDown/index.d.ts +3 -0
  363. package/dist/types/components/Icons/ThumbUp/index.d.ts +3 -0
  364. package/dist/types/components/Icons/Thunderclock/index.d.ts +3 -0
  365. package/dist/types/components/Icons/Tiktok/index.d.ts +3 -0
  366. package/dist/types/components/Icons/Trash/index.d.ts +3 -0
  367. package/dist/types/components/Icons/Tree/index.d.ts +3 -0
  368. package/dist/types/components/Icons/Trophy/index.d.ts +3 -0
  369. package/dist/types/components/Icons/Ttf/index.d.ts +3 -0
  370. package/dist/types/components/Icons/Twitch/index.d.ts +3 -0
  371. package/dist/types/components/Icons/Twitter/index.d.ts +3 -0
  372. package/dist/types/components/Icons/Txt/index.d.ts +3 -0
  373. package/dist/types/components/Icons/Type/index.d.ts +3 -0
  374. package/dist/types/components/Icons/Unavailable/index.d.ts +3 -0
  375. package/dist/types/components/Icons/Underline/index.d.ts +3 -0
  376. package/dist/types/components/Icons/UnorderedList/index.d.ts +3 -0
  377. package/dist/types/components/Icons/Up/index.d.ts +3 -0
  378. package/dist/types/components/Icons/Update/index.d.ts +3 -0
  379. package/dist/types/components/Icons/Upload/index.d.ts +3 -0
  380. package/dist/types/components/Icons/User/index.d.ts +3 -0
  381. package/dist/types/components/Icons/UserOutline/index.d.ts +3 -0
  382. package/dist/types/components/Icons/Video/index.d.ts +3 -0
  383. package/dist/types/components/Icons/VideoCamera/index.d.ts +3 -0
  384. package/dist/types/components/Icons/VideoCamera2/index.d.ts +3 -0
  385. package/dist/types/components/Icons/WatchLater/index.d.ts +3 -0
  386. package/dist/types/components/Icons/Woff/index.d.ts +3 -0
  387. package/dist/types/components/Icons/Woff2/index.d.ts +3 -0
  388. package/dist/types/components/Icons/Write/index.d.ts +3 -0
  389. package/dist/types/components/Icons/Wttj/index.d.ts +3 -0
  390. package/dist/types/components/Icons/X/index.d.ts +3 -0
  391. package/dist/types/components/Icons/Xing/index.d.ts +3 -0
  392. package/dist/types/components/Icons/Xls/index.d.ts +3 -0
  393. package/dist/types/components/Icons/Xlsx/index.d.ts +3 -0
  394. package/dist/types/components/Icons/Youtube/index.d.ts +3 -0
  395. package/dist/types/components/Icons/Zapier/index.d.ts +3 -0
  396. package/dist/types/components/Icons/Zip/index.d.ts +3 -0
  397. package/dist/types/components/Icons/index.d.ts +304 -0
  398. package/dist/types/components/Modal/styles.d.ts +0 -1
  399. package/dist/types/components/Select/index.d.ts +2 -2
  400. package/dist/types/components/Select/styles.d.ts +3 -3
  401. package/dist/types/components/Swiper/index.d.ts +1 -1
  402. package/dist/types/components/Swiper/styles.d.ts +4 -4
  403. package/dist/types/components/index.d.ts +3 -0
  404. package/dist/types/theme/index.d.ts +8 -3
  405. package/dist/{usePopover-CcsC9Y-s.mjs → usePopover-Bbhh3p_j.mjs} +10 -9
  406. package/dist/{usePopover-CZsYHcTW.js → usePopover-PCWsuJNF.js} +1 -1
  407. package/package.json +15 -9
  408. package/dist/index-CgT8GWHS.js +0 -1
  409. package/dist/index-ColyClKR.mjs +0 -239
  410. package/dist/index-CrhKWaM2.js +0 -54
  411. package/dist/index-Cs1IZBks.js +0 -17
  412. package/dist/index-DHOW43M6.mjs +0 -132
  413. package/dist/types/components/IconFont/unicode.json.d.ts +0 -303
  414. package/dist/types/components/WelcomeLoader/loader.json.d.ts +0 -3
@@ -0,0 +1,2347 @@
1
+ "use client";
2
+ import s, { forwardRef as zi, useImperativeHandle as Ai, Fragment as Fi, useMemo as Y, useRef as fa, useReducer as Oi, useEffect as ia, useCallback as E, useState as Ya } from "react";
3
+ import { P as d } from "./index-SbQUT2mU.mjs";
4
+ import { Icon as wa } from "./Icon.mjs";
5
+ import { Button as xa } from "./Button.mjs";
6
+ import { shouldForwardProp as _i, forwardRef as Pi } from "./System.mjs";
7
+ import { c as Va } from "./create-event-rXDe5aCQ.mjs";
8
+ import ka, { css as Pa, th as _, system as Ii } from "@xstyled/styled-components";
9
+ import { Text as ga } from "./Text.mjs";
10
+ import { E as Ri } from "./index-DqBUFsqP.mjs";
11
+ import { g as Si, b as Ci, a as ri } from "./index-Bn9aiaUQ.mjs";
12
+ const Ti = 15, qi = 15, $i = '<path fill="currentColor" fill-rule="evenodd" d="M66.13 15.65a2.4 2.4 0 0 1 3.342-.19l13.363 11.675c.164.143.297.312.414.49.19.092.374.2.541.346 2.365 2.064 3.77 4.98 3.955 8.214.212 3.638-1.16 7.364-3.762 10.22L64.78 67.496a2.383 2.383 0 0 1-1.769.777 2.385 2.385 0 0 1-1.585-.6 2.317 2.317 0 0 1-.182-3.306l19.202-21.089c1.763-1.935 2.696-4.423 2.556-6.825a7.173 7.173 0 0 0-1.627-4.187L33.58 84.755c-.006.008-.015.014-.02.022l-.046.05c-.02.024-.048.039-.07.061a2.214 2.214 0 0 1-.271.241c-.047.036-.1.066-.15.096-.063.04-.119.085-.185.12L10.465 96.738a2.393 2.393 0 0 1-2.675-.336 2.32 2.32 0 0 1-.631-2.585l9.01-23.068.04-.077c.029-.063.061-.123.095-.184.07-.13.154-.252.245-.365.027-.03.04-.068.066-.098L66.13 15.65ZM21.852 73.931h-1.835L13.838 89.75l15.342-7.814-.242-1.857c-.457-3.503-3.503-6.147-7.086-6.147ZM73.724 7.308c4.556-5 12.05-5.76 16.708-1.69 2.12 1.852 3.38 4.468 3.549 7.367.189 3.25-1.036 6.575-3.358 9.125a2.378 2.378 0 0 1-1.767.777c-.56 0-1.123-.194-1.575-.589L73.918 10.625a2.321 2.321 0 0 1-.194-3.317Z" clip-rule="evenodd"/>', Li = {
13
+ width: Ti,
14
+ height: qi,
15
+ block: $i
16
+ }, Mi = (a) => /* @__PURE__ */ s.createElement(wa, { alt: "Edit", content: Li, ...a }), Ki = 15, Hi = 15, Wi = '<path fill="currentColor" fill-rule="evenodd" d="M70.885 70.969a4.139 4.139 0 0 1-5.568-1.74c-2.784-5.301-8.464-8.146-14.849-7.424-6.595.746-12.761 5.284-15.706 11.559a4.128 4.128 0 0 1-3.742 2.368 4.117 4.117 0 0 1-1.742-.385 4.089 4.089 0 0 1-1.996-5.45c4.196-8.94 12.722-15.163 22.25-16.242 9.706-1.1 18.77 3.525 23.105 11.78a4.09 4.09 0 0 1-1.752 5.534zM34.541 31.95c1.566-.179 3.055.276 4.18 1.275 1.118.993 1.734 2.395 1.734 3.945 0 3.093-2.433 5.791-5.54 6.144a6.041 6.041 0 0 1-.662.038c-1.32 0-2.548-.456-3.516-1.314-1.12-.993-1.736-2.394-1.736-3.946 0-3.092 2.435-5.79 5.54-6.142zm30.542-3.458c1.575-.17 3.052.276 4.18 1.273 1.117.994 1.735 2.395 1.735 3.947 0 3.092-2.434 5.791-5.54 6.142a6.04 6.04 0 0 1-.662.038c-1.32 0-2.549-.455-3.516-1.313-1.12-.994-1.737-2.393-1.737-3.943 0-3.094 2.435-5.793 5.54-6.144zM81.798 14.98c-8.589-7.617-20-11.059-32.126-9.682C25.041 8.086 5 30.28 5 54.769c0 11.957 4.69 22.7 13.202 30.254C25.552 91.542 34.968 95 45.135 95a46.38 46.38 0 0 0 5.193-.295C74.96 91.915 95 69.722 95 45.233c0-11.958-4.688-22.701-13.202-30.254z" clip-rule="evenodd"/>', Ni = {
17
+ width: Ki,
18
+ height: Hi,
19
+ block: Wi
20
+ }, Bi = (a) => /* @__PURE__ */ s.createElement(wa, { alt: "Negative", content: Ni, ...a }), Ui = 15, Zi = 15, Yi = '<path fill="currentColor" fill-rule="evenodd" d="M72.716 58.953c-4.194 8.94-12.719 15.163-22.25 16.243-.947.107-1.89.16-2.82.16-8.607 0-16.372-4.493-20.284-11.94a4.09 4.09 0 0 1 1.751-5.534c2.022-1.046 4.513-.269 5.568 1.74 2.785 5.301 8.483 8.15 14.851 7.424 6.596-.746 12.76-5.284 15.705-11.559.962-2.052 3.418-2.941 5.483-1.983a4.09 4.09 0 0 1 1.996 5.45ZM34.54 31.951c1.564-.177 3.055.276 4.177 1.275 1.121.992 1.737 2.393 1.737 3.945 0 3.09-2.435 5.79-5.54 6.142a6.048 6.048 0 0 1-.663.038c-1.32 0-2.549-.455-3.516-1.313-1.12-.994-1.735-2.395-1.735-3.945 0-3.094 2.433-5.791 5.54-6.142Zm30.542-3.458c1.575-.176 3.052.274 4.178 1.273 1.12.992 1.737 2.393 1.737 3.945 0 3.094-2.435 5.793-5.54 6.144a6.046 6.046 0 0 1-.664.038c-1.32 0-2.548-.455-3.516-1.313-1.119-.994-1.735-2.393-1.735-3.945 0-3.092 2.434-5.791 5.54-6.142Zm16.715-13.514c-8.589-7.617-20-11.057-32.126-9.683C25.04 8.086 5 30.28 5 54.77c0 11.957 4.688 22.7 13.202 30.253C25.552 91.542 34.968 95 45.135 95c1.711 0 3.445-.098 5.193-.297C74.959 91.914 95 69.72 95 45.231c0-11.956-4.69-22.701-13.202-30.253Z" clip-rule="evenodd"/>', Vi = {
21
+ width: Ui,
22
+ height: Zi,
23
+ block: Yi
24
+ }, Gi = (a) => /* @__PURE__ */ s.createElement(wa, { alt: "Positive", content: Vi, ...a }), Ji = 15, Xi = 15, Qi = '<path fill="currentColor" d="M83.765 11.723c6.352 4.338 6.538 8.858 6.083 11.165a1.37 1.37 0 0 1-.028.109c-.01.033-.019.066-.026.1-.105.914-.933 8.113-2.097 14.758-.08.464-.296.895-.618 1.24-1.16 1.242-2.661 2.383-4.436 3.43-3.078 17.568-7.563 43.031-7.905 44.252-1.125 4.018-5.68 7.078-12.827 8.616-3.491.751-7.257 1.107-10.996 1.107-8.5 0-16.875-1.844-21.654-5.108-2.321-1.586-3.661-3.453-4.096-5.712-.401-2.092-4.849-27.317-7.817-44.175l-.035-.021c-.369-.226-.738-.451-1.083-.687a19.024 19.024 0 0 1-3.33-2.858 2.443 2.443 0 0 1-.6-1.217c-1.267-7.198-2.151-15.002-2.16-15.08a.137.137 0 0 1 0-.029v-.024a8.318 8.318 0 0 1 .007-3.083c1.16-5.89 8.538-10.713 20.242-13.229 18.424-3.965 42.37-1.072 53.376 6.446ZM68.58 31.361c11.274-2.426 15.925-6.585 16.482-9.411.493-2.508-1.931-4.76-4.053-6.21-6.84-4.671-19.828-7.361-32.814-7.361-5.774 0-11.545.531-16.778 1.656-11.274 2.424-15.924 6.584-16.481 9.41-.494 2.507 1.93 4.762 4.053 6.21 9.88 6.749 32.59 9.36 49.59 5.706Zm0 11.126c6.585-1.418 11.67-3.612 14.44-6.22.327-1.916.622-3.854.88-5.652-3.468 2.326-8.31 4.217-14.291 5.503-5.603 1.205-11.718 1.776-17.822 1.776-13.97 0-27.895-2.991-35.556-8.223a1.83 1.83 0 0 1-.064-.047l-.064-.046c.259 1.779.553 3.685.878 5.573a14.852 14.852 0 0 0 2.006 1.63c9.883 6.747 32.591 9.36 49.593 5.706ZM45.093 13.495h9.81c4.564 0 8.277 3.704 8.277 8.256a2.436 2.436 0 0 1-2.44 2.434 2.436 2.436 0 0 1-2.439-2.434 3.398 3.398 0 0 0-3.398-3.389h-9.81a3.398 3.398 0 0 0-3.399 3.39 2.436 2.436 0 0 1-2.44 2.433 2.437 2.437 0 0 1-2.44-2.434c0-4.552 3.715-8.257 8.28-8.257Z"/>', at = {
25
+ width: Ji,
26
+ height: Xi,
27
+ block: Qi
28
+ }, it = (a) => /* @__PURE__ */ s.createElement(wa, { alt: "Trash", content: at, ...a });
29
+ function H(a, i, t, e) {
30
+ function n(o) {
31
+ return o instanceof t ? o : new t(function(c) {
32
+ c(o);
33
+ });
34
+ }
35
+ return new (t || (t = Promise))(function(o, c) {
36
+ function r(x) {
37
+ try {
38
+ h(e.next(x));
39
+ } catch (k) {
40
+ c(k);
41
+ }
42
+ }
43
+ function f(x) {
44
+ try {
45
+ h(e.throw(x));
46
+ } catch (k) {
47
+ c(k);
48
+ }
49
+ }
50
+ function h(x) {
51
+ x.done ? o(x.value) : n(x.value).then(r, f);
52
+ }
53
+ h((e = e.apply(a, i || [])).next());
54
+ });
55
+ }
56
+ const tt = /* @__PURE__ */ new Map([
57
+ // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
58
+ ["1km", "application/vnd.1000minds.decision-model+xml"],
59
+ ["3dml", "text/vnd.in3d.3dml"],
60
+ ["3ds", "image/x-3ds"],
61
+ ["3g2", "video/3gpp2"],
62
+ ["3gp", "video/3gp"],
63
+ ["3gpp", "video/3gpp"],
64
+ ["3mf", "model/3mf"],
65
+ ["7z", "application/x-7z-compressed"],
66
+ ["7zip", "application/x-7z-compressed"],
67
+ ["123", "application/vnd.lotus-1-2-3"],
68
+ ["aab", "application/x-authorware-bin"],
69
+ ["aac", "audio/x-acc"],
70
+ ["aam", "application/x-authorware-map"],
71
+ ["aas", "application/x-authorware-seg"],
72
+ ["abw", "application/x-abiword"],
73
+ ["ac", "application/vnd.nokia.n-gage.ac+xml"],
74
+ ["ac3", "audio/ac3"],
75
+ ["acc", "application/vnd.americandynamics.acc"],
76
+ ["ace", "application/x-ace-compressed"],
77
+ ["acu", "application/vnd.acucobol"],
78
+ ["acutc", "application/vnd.acucorp"],
79
+ ["adp", "audio/adpcm"],
80
+ ["aep", "application/vnd.audiograph"],
81
+ ["afm", "application/x-font-type1"],
82
+ ["afp", "application/vnd.ibm.modcap"],
83
+ ["ahead", "application/vnd.ahead.space"],
84
+ ["ai", "application/pdf"],
85
+ ["aif", "audio/x-aiff"],
86
+ ["aifc", "audio/x-aiff"],
87
+ ["aiff", "audio/x-aiff"],
88
+ ["air", "application/vnd.adobe.air-application-installer-package+zip"],
89
+ ["ait", "application/vnd.dvb.ait"],
90
+ ["ami", "application/vnd.amiga.ami"],
91
+ ["amr", "audio/amr"],
92
+ ["apk", "application/vnd.android.package-archive"],
93
+ ["apng", "image/apng"],
94
+ ["appcache", "text/cache-manifest"],
95
+ ["application", "application/x-ms-application"],
96
+ ["apr", "application/vnd.lotus-approach"],
97
+ ["arc", "application/x-freearc"],
98
+ ["arj", "application/x-arj"],
99
+ ["asc", "application/pgp-signature"],
100
+ ["asf", "video/x-ms-asf"],
101
+ ["asm", "text/x-asm"],
102
+ ["aso", "application/vnd.accpac.simply.aso"],
103
+ ["asx", "video/x-ms-asf"],
104
+ ["atc", "application/vnd.acucorp"],
105
+ ["atom", "application/atom+xml"],
106
+ ["atomcat", "application/atomcat+xml"],
107
+ ["atomdeleted", "application/atomdeleted+xml"],
108
+ ["atomsvc", "application/atomsvc+xml"],
109
+ ["atx", "application/vnd.antix.game-component"],
110
+ ["au", "audio/x-au"],
111
+ ["avi", "video/x-msvideo"],
112
+ ["avif", "image/avif"],
113
+ ["aw", "application/applixware"],
114
+ ["azf", "application/vnd.airzip.filesecure.azf"],
115
+ ["azs", "application/vnd.airzip.filesecure.azs"],
116
+ ["azv", "image/vnd.airzip.accelerator.azv"],
117
+ ["azw", "application/vnd.amazon.ebook"],
118
+ ["b16", "image/vnd.pco.b16"],
119
+ ["bat", "application/x-msdownload"],
120
+ ["bcpio", "application/x-bcpio"],
121
+ ["bdf", "application/x-font-bdf"],
122
+ ["bdm", "application/vnd.syncml.dm+wbxml"],
123
+ ["bdoc", "application/x-bdoc"],
124
+ ["bed", "application/vnd.realvnc.bed"],
125
+ ["bh2", "application/vnd.fujitsu.oasysprs"],
126
+ ["bin", "application/octet-stream"],
127
+ ["blb", "application/x-blorb"],
128
+ ["blorb", "application/x-blorb"],
129
+ ["bmi", "application/vnd.bmi"],
130
+ ["bmml", "application/vnd.balsamiq.bmml+xml"],
131
+ ["bmp", "image/bmp"],
132
+ ["book", "application/vnd.framemaker"],
133
+ ["box", "application/vnd.previewsystems.box"],
134
+ ["boz", "application/x-bzip2"],
135
+ ["bpk", "application/octet-stream"],
136
+ ["bpmn", "application/octet-stream"],
137
+ ["bsp", "model/vnd.valve.source.compiled-map"],
138
+ ["btif", "image/prs.btif"],
139
+ ["buffer", "application/octet-stream"],
140
+ ["bz", "application/x-bzip"],
141
+ ["bz2", "application/x-bzip2"],
142
+ ["c", "text/x-c"],
143
+ ["c4d", "application/vnd.clonk.c4group"],
144
+ ["c4f", "application/vnd.clonk.c4group"],
145
+ ["c4g", "application/vnd.clonk.c4group"],
146
+ ["c4p", "application/vnd.clonk.c4group"],
147
+ ["c4u", "application/vnd.clonk.c4group"],
148
+ ["c11amc", "application/vnd.cluetrust.cartomobile-config"],
149
+ ["c11amz", "application/vnd.cluetrust.cartomobile-config-pkg"],
150
+ ["cab", "application/vnd.ms-cab-compressed"],
151
+ ["caf", "audio/x-caf"],
152
+ ["cap", "application/vnd.tcpdump.pcap"],
153
+ ["car", "application/vnd.curl.car"],
154
+ ["cat", "application/vnd.ms-pki.seccat"],
155
+ ["cb7", "application/x-cbr"],
156
+ ["cba", "application/x-cbr"],
157
+ ["cbr", "application/x-cbr"],
158
+ ["cbt", "application/x-cbr"],
159
+ ["cbz", "application/x-cbr"],
160
+ ["cc", "text/x-c"],
161
+ ["cco", "application/x-cocoa"],
162
+ ["cct", "application/x-director"],
163
+ ["ccxml", "application/ccxml+xml"],
164
+ ["cdbcmsg", "application/vnd.contact.cmsg"],
165
+ ["cda", "application/x-cdf"],
166
+ ["cdf", "application/x-netcdf"],
167
+ ["cdfx", "application/cdfx+xml"],
168
+ ["cdkey", "application/vnd.mediastation.cdkey"],
169
+ ["cdmia", "application/cdmi-capability"],
170
+ ["cdmic", "application/cdmi-container"],
171
+ ["cdmid", "application/cdmi-domain"],
172
+ ["cdmio", "application/cdmi-object"],
173
+ ["cdmiq", "application/cdmi-queue"],
174
+ ["cdr", "application/cdr"],
175
+ ["cdx", "chemical/x-cdx"],
176
+ ["cdxml", "application/vnd.chemdraw+xml"],
177
+ ["cdy", "application/vnd.cinderella"],
178
+ ["cer", "application/pkix-cert"],
179
+ ["cfs", "application/x-cfs-compressed"],
180
+ ["cgm", "image/cgm"],
181
+ ["chat", "application/x-chat"],
182
+ ["chm", "application/vnd.ms-htmlhelp"],
183
+ ["chrt", "application/vnd.kde.kchart"],
184
+ ["cif", "chemical/x-cif"],
185
+ ["cii", "application/vnd.anser-web-certificate-issue-initiation"],
186
+ ["cil", "application/vnd.ms-artgalry"],
187
+ ["cjs", "application/node"],
188
+ ["cla", "application/vnd.claymore"],
189
+ ["class", "application/octet-stream"],
190
+ ["clkk", "application/vnd.crick.clicker.keyboard"],
191
+ ["clkp", "application/vnd.crick.clicker.palette"],
192
+ ["clkt", "application/vnd.crick.clicker.template"],
193
+ ["clkw", "application/vnd.crick.clicker.wordbank"],
194
+ ["clkx", "application/vnd.crick.clicker"],
195
+ ["clp", "application/x-msclip"],
196
+ ["cmc", "application/vnd.cosmocaller"],
197
+ ["cmdf", "chemical/x-cmdf"],
198
+ ["cml", "chemical/x-cml"],
199
+ ["cmp", "application/vnd.yellowriver-custom-menu"],
200
+ ["cmx", "image/x-cmx"],
201
+ ["cod", "application/vnd.rim.cod"],
202
+ ["coffee", "text/coffeescript"],
203
+ ["com", "application/x-msdownload"],
204
+ ["conf", "text/plain"],
205
+ ["cpio", "application/x-cpio"],
206
+ ["cpp", "text/x-c"],
207
+ ["cpt", "application/mac-compactpro"],
208
+ ["crd", "application/x-mscardfile"],
209
+ ["crl", "application/pkix-crl"],
210
+ ["crt", "application/x-x509-ca-cert"],
211
+ ["crx", "application/x-chrome-extension"],
212
+ ["cryptonote", "application/vnd.rig.cryptonote"],
213
+ ["csh", "application/x-csh"],
214
+ ["csl", "application/vnd.citationstyles.style+xml"],
215
+ ["csml", "chemical/x-csml"],
216
+ ["csp", "application/vnd.commonspace"],
217
+ ["csr", "application/octet-stream"],
218
+ ["css", "text/css"],
219
+ ["cst", "application/x-director"],
220
+ ["csv", "text/csv"],
221
+ ["cu", "application/cu-seeme"],
222
+ ["curl", "text/vnd.curl"],
223
+ ["cww", "application/prs.cww"],
224
+ ["cxt", "application/x-director"],
225
+ ["cxx", "text/x-c"],
226
+ ["dae", "model/vnd.collada+xml"],
227
+ ["daf", "application/vnd.mobius.daf"],
228
+ ["dart", "application/vnd.dart"],
229
+ ["dataless", "application/vnd.fdsn.seed"],
230
+ ["davmount", "application/davmount+xml"],
231
+ ["dbf", "application/vnd.dbf"],
232
+ ["dbk", "application/docbook+xml"],
233
+ ["dcr", "application/x-director"],
234
+ ["dcurl", "text/vnd.curl.dcurl"],
235
+ ["dd2", "application/vnd.oma.dd2+xml"],
236
+ ["ddd", "application/vnd.fujixerox.ddd"],
237
+ ["ddf", "application/vnd.syncml.dmddf+xml"],
238
+ ["dds", "image/vnd.ms-dds"],
239
+ ["deb", "application/x-debian-package"],
240
+ ["def", "text/plain"],
241
+ ["deploy", "application/octet-stream"],
242
+ ["der", "application/x-x509-ca-cert"],
243
+ ["dfac", "application/vnd.dreamfactory"],
244
+ ["dgc", "application/x-dgc-compressed"],
245
+ ["dic", "text/x-c"],
246
+ ["dir", "application/x-director"],
247
+ ["dis", "application/vnd.mobius.dis"],
248
+ ["disposition-notification", "message/disposition-notification"],
249
+ ["dist", "application/octet-stream"],
250
+ ["distz", "application/octet-stream"],
251
+ ["djv", "image/vnd.djvu"],
252
+ ["djvu", "image/vnd.djvu"],
253
+ ["dll", "application/octet-stream"],
254
+ ["dmg", "application/x-apple-diskimage"],
255
+ ["dmn", "application/octet-stream"],
256
+ ["dmp", "application/vnd.tcpdump.pcap"],
257
+ ["dms", "application/octet-stream"],
258
+ ["dna", "application/vnd.dna"],
259
+ ["doc", "application/msword"],
260
+ ["docm", "application/vnd.ms-word.template.macroEnabled.12"],
261
+ ["docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
262
+ ["dot", "application/msword"],
263
+ ["dotm", "application/vnd.ms-word.template.macroEnabled.12"],
264
+ ["dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"],
265
+ ["dp", "application/vnd.osgi.dp"],
266
+ ["dpg", "application/vnd.dpgraph"],
267
+ ["dra", "audio/vnd.dra"],
268
+ ["drle", "image/dicom-rle"],
269
+ ["dsc", "text/prs.lines.tag"],
270
+ ["dssc", "application/dssc+der"],
271
+ ["dtb", "application/x-dtbook+xml"],
272
+ ["dtd", "application/xml-dtd"],
273
+ ["dts", "audio/vnd.dts"],
274
+ ["dtshd", "audio/vnd.dts.hd"],
275
+ ["dump", "application/octet-stream"],
276
+ ["dvb", "video/vnd.dvb.file"],
277
+ ["dvi", "application/x-dvi"],
278
+ ["dwd", "application/atsc-dwd+xml"],
279
+ ["dwf", "model/vnd.dwf"],
280
+ ["dwg", "image/vnd.dwg"],
281
+ ["dxf", "image/vnd.dxf"],
282
+ ["dxp", "application/vnd.spotfire.dxp"],
283
+ ["dxr", "application/x-director"],
284
+ ["ear", "application/java-archive"],
285
+ ["ecelp4800", "audio/vnd.nuera.ecelp4800"],
286
+ ["ecelp7470", "audio/vnd.nuera.ecelp7470"],
287
+ ["ecelp9600", "audio/vnd.nuera.ecelp9600"],
288
+ ["ecma", "application/ecmascript"],
289
+ ["edm", "application/vnd.novadigm.edm"],
290
+ ["edx", "application/vnd.novadigm.edx"],
291
+ ["efif", "application/vnd.picsel"],
292
+ ["ei6", "application/vnd.pg.osasli"],
293
+ ["elc", "application/octet-stream"],
294
+ ["emf", "image/emf"],
295
+ ["eml", "message/rfc822"],
296
+ ["emma", "application/emma+xml"],
297
+ ["emotionml", "application/emotionml+xml"],
298
+ ["emz", "application/x-msmetafile"],
299
+ ["eol", "audio/vnd.digital-winds"],
300
+ ["eot", "application/vnd.ms-fontobject"],
301
+ ["eps", "application/postscript"],
302
+ ["epub", "application/epub+zip"],
303
+ ["es", "application/ecmascript"],
304
+ ["es3", "application/vnd.eszigno3+xml"],
305
+ ["esa", "application/vnd.osgi.subsystem"],
306
+ ["esf", "application/vnd.epson.esf"],
307
+ ["et3", "application/vnd.eszigno3+xml"],
308
+ ["etx", "text/x-setext"],
309
+ ["eva", "application/x-eva"],
310
+ ["evy", "application/x-envoy"],
311
+ ["exe", "application/octet-stream"],
312
+ ["exi", "application/exi"],
313
+ ["exp", "application/express"],
314
+ ["exr", "image/aces"],
315
+ ["ext", "application/vnd.novadigm.ext"],
316
+ ["ez", "application/andrew-inset"],
317
+ ["ez2", "application/vnd.ezpix-album"],
318
+ ["ez3", "application/vnd.ezpix-package"],
319
+ ["f", "text/x-fortran"],
320
+ ["f4v", "video/mp4"],
321
+ ["f77", "text/x-fortran"],
322
+ ["f90", "text/x-fortran"],
323
+ ["fbs", "image/vnd.fastbidsheet"],
324
+ ["fcdt", "application/vnd.adobe.formscentral.fcdt"],
325
+ ["fcs", "application/vnd.isac.fcs"],
326
+ ["fdf", "application/vnd.fdf"],
327
+ ["fdt", "application/fdt+xml"],
328
+ ["fe_launch", "application/vnd.denovo.fcselayout-link"],
329
+ ["fg5", "application/vnd.fujitsu.oasysgp"],
330
+ ["fgd", "application/x-director"],
331
+ ["fh", "image/x-freehand"],
332
+ ["fh4", "image/x-freehand"],
333
+ ["fh5", "image/x-freehand"],
334
+ ["fh7", "image/x-freehand"],
335
+ ["fhc", "image/x-freehand"],
336
+ ["fig", "application/x-xfig"],
337
+ ["fits", "image/fits"],
338
+ ["flac", "audio/x-flac"],
339
+ ["fli", "video/x-fli"],
340
+ ["flo", "application/vnd.micrografx.flo"],
341
+ ["flv", "video/x-flv"],
342
+ ["flw", "application/vnd.kde.kivio"],
343
+ ["flx", "text/vnd.fmi.flexstor"],
344
+ ["fly", "text/vnd.fly"],
345
+ ["fm", "application/vnd.framemaker"],
346
+ ["fnc", "application/vnd.frogans.fnc"],
347
+ ["fo", "application/vnd.software602.filler.form+xml"],
348
+ ["for", "text/x-fortran"],
349
+ ["fpx", "image/vnd.fpx"],
350
+ ["frame", "application/vnd.framemaker"],
351
+ ["fsc", "application/vnd.fsc.weblaunch"],
352
+ ["fst", "image/vnd.fst"],
353
+ ["ftc", "application/vnd.fluxtime.clip"],
354
+ ["fti", "application/vnd.anser-web-funds-transfer-initiation"],
355
+ ["fvt", "video/vnd.fvt"],
356
+ ["fxp", "application/vnd.adobe.fxp"],
357
+ ["fxpl", "application/vnd.adobe.fxp"],
358
+ ["fzs", "application/vnd.fuzzysheet"],
359
+ ["g2w", "application/vnd.geoplan"],
360
+ ["g3", "image/g3fax"],
361
+ ["g3w", "application/vnd.geospace"],
362
+ ["gac", "application/vnd.groove-account"],
363
+ ["gam", "application/x-tads"],
364
+ ["gbr", "application/rpki-ghostbusters"],
365
+ ["gca", "application/x-gca-compressed"],
366
+ ["gdl", "model/vnd.gdl"],
367
+ ["gdoc", "application/vnd.google-apps.document"],
368
+ ["geo", "application/vnd.dynageo"],
369
+ ["geojson", "application/geo+json"],
370
+ ["gex", "application/vnd.geometry-explorer"],
371
+ ["ggb", "application/vnd.geogebra.file"],
372
+ ["ggt", "application/vnd.geogebra.tool"],
373
+ ["ghf", "application/vnd.groove-help"],
374
+ ["gif", "image/gif"],
375
+ ["gim", "application/vnd.groove-identity-message"],
376
+ ["glb", "model/gltf-binary"],
377
+ ["gltf", "model/gltf+json"],
378
+ ["gml", "application/gml+xml"],
379
+ ["gmx", "application/vnd.gmx"],
380
+ ["gnumeric", "application/x-gnumeric"],
381
+ ["gpg", "application/gpg-keys"],
382
+ ["gph", "application/vnd.flographit"],
383
+ ["gpx", "application/gpx+xml"],
384
+ ["gqf", "application/vnd.grafeq"],
385
+ ["gqs", "application/vnd.grafeq"],
386
+ ["gram", "application/srgs"],
387
+ ["gramps", "application/x-gramps-xml"],
388
+ ["gre", "application/vnd.geometry-explorer"],
389
+ ["grv", "application/vnd.groove-injector"],
390
+ ["grxml", "application/srgs+xml"],
391
+ ["gsf", "application/x-font-ghostscript"],
392
+ ["gsheet", "application/vnd.google-apps.spreadsheet"],
393
+ ["gslides", "application/vnd.google-apps.presentation"],
394
+ ["gtar", "application/x-gtar"],
395
+ ["gtm", "application/vnd.groove-tool-message"],
396
+ ["gtw", "model/vnd.gtw"],
397
+ ["gv", "text/vnd.graphviz"],
398
+ ["gxf", "application/gxf"],
399
+ ["gxt", "application/vnd.geonext"],
400
+ ["gz", "application/gzip"],
401
+ ["gzip", "application/gzip"],
402
+ ["h", "text/x-c"],
403
+ ["h261", "video/h261"],
404
+ ["h263", "video/h263"],
405
+ ["h264", "video/h264"],
406
+ ["hal", "application/vnd.hal+xml"],
407
+ ["hbci", "application/vnd.hbci"],
408
+ ["hbs", "text/x-handlebars-template"],
409
+ ["hdd", "application/x-virtualbox-hdd"],
410
+ ["hdf", "application/x-hdf"],
411
+ ["heic", "image/heic"],
412
+ ["heics", "image/heic-sequence"],
413
+ ["heif", "image/heif"],
414
+ ["heifs", "image/heif-sequence"],
415
+ ["hej2", "image/hej2k"],
416
+ ["held", "application/atsc-held+xml"],
417
+ ["hh", "text/x-c"],
418
+ ["hjson", "application/hjson"],
419
+ ["hlp", "application/winhlp"],
420
+ ["hpgl", "application/vnd.hp-hpgl"],
421
+ ["hpid", "application/vnd.hp-hpid"],
422
+ ["hps", "application/vnd.hp-hps"],
423
+ ["hqx", "application/mac-binhex40"],
424
+ ["hsj2", "image/hsj2"],
425
+ ["htc", "text/x-component"],
426
+ ["htke", "application/vnd.kenameaapp"],
427
+ ["htm", "text/html"],
428
+ ["html", "text/html"],
429
+ ["hvd", "application/vnd.yamaha.hv-dic"],
430
+ ["hvp", "application/vnd.yamaha.hv-voice"],
431
+ ["hvs", "application/vnd.yamaha.hv-script"],
432
+ ["i2g", "application/vnd.intergeo"],
433
+ ["icc", "application/vnd.iccprofile"],
434
+ ["ice", "x-conference/x-cooltalk"],
435
+ ["icm", "application/vnd.iccprofile"],
436
+ ["ico", "image/x-icon"],
437
+ ["ics", "text/calendar"],
438
+ ["ief", "image/ief"],
439
+ ["ifb", "text/calendar"],
440
+ ["ifm", "application/vnd.shana.informed.formdata"],
441
+ ["iges", "model/iges"],
442
+ ["igl", "application/vnd.igloader"],
443
+ ["igm", "application/vnd.insors.igm"],
444
+ ["igs", "model/iges"],
445
+ ["igx", "application/vnd.micrografx.igx"],
446
+ ["iif", "application/vnd.shana.informed.interchange"],
447
+ ["img", "application/octet-stream"],
448
+ ["imp", "application/vnd.accpac.simply.imp"],
449
+ ["ims", "application/vnd.ms-ims"],
450
+ ["in", "text/plain"],
451
+ ["ini", "text/plain"],
452
+ ["ink", "application/inkml+xml"],
453
+ ["inkml", "application/inkml+xml"],
454
+ ["install", "application/x-install-instructions"],
455
+ ["iota", "application/vnd.astraea-software.iota"],
456
+ ["ipfix", "application/ipfix"],
457
+ ["ipk", "application/vnd.shana.informed.package"],
458
+ ["irm", "application/vnd.ibm.rights-management"],
459
+ ["irp", "application/vnd.irepository.package+xml"],
460
+ ["iso", "application/x-iso9660-image"],
461
+ ["itp", "application/vnd.shana.informed.formtemplate"],
462
+ ["its", "application/its+xml"],
463
+ ["ivp", "application/vnd.immervision-ivp"],
464
+ ["ivu", "application/vnd.immervision-ivu"],
465
+ ["jad", "text/vnd.sun.j2me.app-descriptor"],
466
+ ["jade", "text/jade"],
467
+ ["jam", "application/vnd.jam"],
468
+ ["jar", "application/java-archive"],
469
+ ["jardiff", "application/x-java-archive-diff"],
470
+ ["java", "text/x-java-source"],
471
+ ["jhc", "image/jphc"],
472
+ ["jisp", "application/vnd.jisp"],
473
+ ["jls", "image/jls"],
474
+ ["jlt", "application/vnd.hp-jlyt"],
475
+ ["jng", "image/x-jng"],
476
+ ["jnlp", "application/x-java-jnlp-file"],
477
+ ["joda", "application/vnd.joost.joda-archive"],
478
+ ["jp2", "image/jp2"],
479
+ ["jpe", "image/jpeg"],
480
+ ["jpeg", "image/jpeg"],
481
+ ["jpf", "image/jpx"],
482
+ ["jpg", "image/jpeg"],
483
+ ["jpg2", "image/jp2"],
484
+ ["jpgm", "video/jpm"],
485
+ ["jpgv", "video/jpeg"],
486
+ ["jph", "image/jph"],
487
+ ["jpm", "video/jpm"],
488
+ ["jpx", "image/jpx"],
489
+ ["js", "application/javascript"],
490
+ ["json", "application/json"],
491
+ ["json5", "application/json5"],
492
+ ["jsonld", "application/ld+json"],
493
+ // https://jsonlines.org/
494
+ ["jsonl", "application/jsonl"],
495
+ ["jsonml", "application/jsonml+json"],
496
+ ["jsx", "text/jsx"],
497
+ ["jxr", "image/jxr"],
498
+ ["jxra", "image/jxra"],
499
+ ["jxrs", "image/jxrs"],
500
+ ["jxs", "image/jxs"],
501
+ ["jxsc", "image/jxsc"],
502
+ ["jxsi", "image/jxsi"],
503
+ ["jxss", "image/jxss"],
504
+ ["kar", "audio/midi"],
505
+ ["karbon", "application/vnd.kde.karbon"],
506
+ ["kdb", "application/octet-stream"],
507
+ ["kdbx", "application/x-keepass2"],
508
+ ["key", "application/x-iwork-keynote-sffkey"],
509
+ ["kfo", "application/vnd.kde.kformula"],
510
+ ["kia", "application/vnd.kidspiration"],
511
+ ["kml", "application/vnd.google-earth.kml+xml"],
512
+ ["kmz", "application/vnd.google-earth.kmz"],
513
+ ["kne", "application/vnd.kinar"],
514
+ ["knp", "application/vnd.kinar"],
515
+ ["kon", "application/vnd.kde.kontour"],
516
+ ["kpr", "application/vnd.kde.kpresenter"],
517
+ ["kpt", "application/vnd.kde.kpresenter"],
518
+ ["kpxx", "application/vnd.ds-keypoint"],
519
+ ["ksp", "application/vnd.kde.kspread"],
520
+ ["ktr", "application/vnd.kahootz"],
521
+ ["ktx", "image/ktx"],
522
+ ["ktx2", "image/ktx2"],
523
+ ["ktz", "application/vnd.kahootz"],
524
+ ["kwd", "application/vnd.kde.kword"],
525
+ ["kwt", "application/vnd.kde.kword"],
526
+ ["lasxml", "application/vnd.las.las+xml"],
527
+ ["latex", "application/x-latex"],
528
+ ["lbd", "application/vnd.llamagraphics.life-balance.desktop"],
529
+ ["lbe", "application/vnd.llamagraphics.life-balance.exchange+xml"],
530
+ ["les", "application/vnd.hhe.lesson-player"],
531
+ ["less", "text/less"],
532
+ ["lgr", "application/lgr+xml"],
533
+ ["lha", "application/octet-stream"],
534
+ ["link66", "application/vnd.route66.link66+xml"],
535
+ ["list", "text/plain"],
536
+ ["list3820", "application/vnd.ibm.modcap"],
537
+ ["listafp", "application/vnd.ibm.modcap"],
538
+ ["litcoffee", "text/coffeescript"],
539
+ ["lnk", "application/x-ms-shortcut"],
540
+ ["log", "text/plain"],
541
+ ["lostxml", "application/lost+xml"],
542
+ ["lrf", "application/octet-stream"],
543
+ ["lrm", "application/vnd.ms-lrm"],
544
+ ["ltf", "application/vnd.frogans.ltf"],
545
+ ["lua", "text/x-lua"],
546
+ ["luac", "application/x-lua-bytecode"],
547
+ ["lvp", "audio/vnd.lucent.voice"],
548
+ ["lwp", "application/vnd.lotus-wordpro"],
549
+ ["lzh", "application/octet-stream"],
550
+ ["m1v", "video/mpeg"],
551
+ ["m2a", "audio/mpeg"],
552
+ ["m2v", "video/mpeg"],
553
+ ["m3a", "audio/mpeg"],
554
+ ["m3u", "text/plain"],
555
+ ["m3u8", "application/vnd.apple.mpegurl"],
556
+ ["m4a", "audio/x-m4a"],
557
+ ["m4p", "application/mp4"],
558
+ ["m4s", "video/iso.segment"],
559
+ ["m4u", "application/vnd.mpegurl"],
560
+ ["m4v", "video/x-m4v"],
561
+ ["m13", "application/x-msmediaview"],
562
+ ["m14", "application/x-msmediaview"],
563
+ ["m21", "application/mp21"],
564
+ ["ma", "application/mathematica"],
565
+ ["mads", "application/mads+xml"],
566
+ ["maei", "application/mmt-aei+xml"],
567
+ ["mag", "application/vnd.ecowin.chart"],
568
+ ["maker", "application/vnd.framemaker"],
569
+ ["man", "text/troff"],
570
+ ["manifest", "text/cache-manifest"],
571
+ ["map", "application/json"],
572
+ ["mar", "application/octet-stream"],
573
+ ["markdown", "text/markdown"],
574
+ ["mathml", "application/mathml+xml"],
575
+ ["mb", "application/mathematica"],
576
+ ["mbk", "application/vnd.mobius.mbk"],
577
+ ["mbox", "application/mbox"],
578
+ ["mc1", "application/vnd.medcalcdata"],
579
+ ["mcd", "application/vnd.mcd"],
580
+ ["mcurl", "text/vnd.curl.mcurl"],
581
+ ["md", "text/markdown"],
582
+ ["mdb", "application/x-msaccess"],
583
+ ["mdi", "image/vnd.ms-modi"],
584
+ ["mdx", "text/mdx"],
585
+ ["me", "text/troff"],
586
+ ["mesh", "model/mesh"],
587
+ ["meta4", "application/metalink4+xml"],
588
+ ["metalink", "application/metalink+xml"],
589
+ ["mets", "application/mets+xml"],
590
+ ["mfm", "application/vnd.mfmp"],
591
+ ["mft", "application/rpki-manifest"],
592
+ ["mgp", "application/vnd.osgeo.mapguide.package"],
593
+ ["mgz", "application/vnd.proteus.magazine"],
594
+ ["mid", "audio/midi"],
595
+ ["midi", "audio/midi"],
596
+ ["mie", "application/x-mie"],
597
+ ["mif", "application/vnd.mif"],
598
+ ["mime", "message/rfc822"],
599
+ ["mj2", "video/mj2"],
600
+ ["mjp2", "video/mj2"],
601
+ ["mjs", "application/javascript"],
602
+ ["mk3d", "video/x-matroska"],
603
+ ["mka", "audio/x-matroska"],
604
+ ["mkd", "text/x-markdown"],
605
+ ["mks", "video/x-matroska"],
606
+ ["mkv", "video/x-matroska"],
607
+ ["mlp", "application/vnd.dolby.mlp"],
608
+ ["mmd", "application/vnd.chipnuts.karaoke-mmd"],
609
+ ["mmf", "application/vnd.smaf"],
610
+ ["mml", "text/mathml"],
611
+ ["mmr", "image/vnd.fujixerox.edmics-mmr"],
612
+ ["mng", "video/x-mng"],
613
+ ["mny", "application/x-msmoney"],
614
+ ["mobi", "application/x-mobipocket-ebook"],
615
+ ["mods", "application/mods+xml"],
616
+ ["mov", "video/quicktime"],
617
+ ["movie", "video/x-sgi-movie"],
618
+ ["mp2", "audio/mpeg"],
619
+ ["mp2a", "audio/mpeg"],
620
+ ["mp3", "audio/mpeg"],
621
+ ["mp4", "video/mp4"],
622
+ ["mp4a", "audio/mp4"],
623
+ ["mp4s", "application/mp4"],
624
+ ["mp4v", "video/mp4"],
625
+ ["mp21", "application/mp21"],
626
+ ["mpc", "application/vnd.mophun.certificate"],
627
+ ["mpd", "application/dash+xml"],
628
+ ["mpe", "video/mpeg"],
629
+ ["mpeg", "video/mpeg"],
630
+ ["mpg", "video/mpeg"],
631
+ ["mpg4", "video/mp4"],
632
+ ["mpga", "audio/mpeg"],
633
+ ["mpkg", "application/vnd.apple.installer+xml"],
634
+ ["mpm", "application/vnd.blueice.multipass"],
635
+ ["mpn", "application/vnd.mophun.application"],
636
+ ["mpp", "application/vnd.ms-project"],
637
+ ["mpt", "application/vnd.ms-project"],
638
+ ["mpy", "application/vnd.ibm.minipay"],
639
+ ["mqy", "application/vnd.mobius.mqy"],
640
+ ["mrc", "application/marc"],
641
+ ["mrcx", "application/marcxml+xml"],
642
+ ["ms", "text/troff"],
643
+ ["mscml", "application/mediaservercontrol+xml"],
644
+ ["mseed", "application/vnd.fdsn.mseed"],
645
+ ["mseq", "application/vnd.mseq"],
646
+ ["msf", "application/vnd.epson.msf"],
647
+ ["msg", "application/vnd.ms-outlook"],
648
+ ["msh", "model/mesh"],
649
+ ["msi", "application/x-msdownload"],
650
+ ["msl", "application/vnd.mobius.msl"],
651
+ ["msm", "application/octet-stream"],
652
+ ["msp", "application/octet-stream"],
653
+ ["msty", "application/vnd.muvee.style"],
654
+ ["mtl", "model/mtl"],
655
+ ["mts", "model/vnd.mts"],
656
+ ["mus", "application/vnd.musician"],
657
+ ["musd", "application/mmt-usd+xml"],
658
+ ["musicxml", "application/vnd.recordare.musicxml+xml"],
659
+ ["mvb", "application/x-msmediaview"],
660
+ ["mvt", "application/vnd.mapbox-vector-tile"],
661
+ ["mwf", "application/vnd.mfer"],
662
+ ["mxf", "application/mxf"],
663
+ ["mxl", "application/vnd.recordare.musicxml"],
664
+ ["mxmf", "audio/mobile-xmf"],
665
+ ["mxml", "application/xv+xml"],
666
+ ["mxs", "application/vnd.triscape.mxs"],
667
+ ["mxu", "video/vnd.mpegurl"],
668
+ ["n-gage", "application/vnd.nokia.n-gage.symbian.install"],
669
+ ["n3", "text/n3"],
670
+ ["nb", "application/mathematica"],
671
+ ["nbp", "application/vnd.wolfram.player"],
672
+ ["nc", "application/x-netcdf"],
673
+ ["ncx", "application/x-dtbncx+xml"],
674
+ ["nfo", "text/x-nfo"],
675
+ ["ngdat", "application/vnd.nokia.n-gage.data"],
676
+ ["nitf", "application/vnd.nitf"],
677
+ ["nlu", "application/vnd.neurolanguage.nlu"],
678
+ ["nml", "application/vnd.enliven"],
679
+ ["nnd", "application/vnd.noblenet-directory"],
680
+ ["nns", "application/vnd.noblenet-sealer"],
681
+ ["nnw", "application/vnd.noblenet-web"],
682
+ ["npx", "image/vnd.net-fpx"],
683
+ ["nq", "application/n-quads"],
684
+ ["nsc", "application/x-conference"],
685
+ ["nsf", "application/vnd.lotus-notes"],
686
+ ["nt", "application/n-triples"],
687
+ ["ntf", "application/vnd.nitf"],
688
+ ["numbers", "application/x-iwork-numbers-sffnumbers"],
689
+ ["nzb", "application/x-nzb"],
690
+ ["oa2", "application/vnd.fujitsu.oasys2"],
691
+ ["oa3", "application/vnd.fujitsu.oasys3"],
692
+ ["oas", "application/vnd.fujitsu.oasys"],
693
+ ["obd", "application/x-msbinder"],
694
+ ["obgx", "application/vnd.openblox.game+xml"],
695
+ ["obj", "model/obj"],
696
+ ["oda", "application/oda"],
697
+ ["odb", "application/vnd.oasis.opendocument.database"],
698
+ ["odc", "application/vnd.oasis.opendocument.chart"],
699
+ ["odf", "application/vnd.oasis.opendocument.formula"],
700
+ ["odft", "application/vnd.oasis.opendocument.formula-template"],
701
+ ["odg", "application/vnd.oasis.opendocument.graphics"],
702
+ ["odi", "application/vnd.oasis.opendocument.image"],
703
+ ["odm", "application/vnd.oasis.opendocument.text-master"],
704
+ ["odp", "application/vnd.oasis.opendocument.presentation"],
705
+ ["ods", "application/vnd.oasis.opendocument.spreadsheet"],
706
+ ["odt", "application/vnd.oasis.opendocument.text"],
707
+ ["oga", "audio/ogg"],
708
+ ["ogex", "model/vnd.opengex"],
709
+ ["ogg", "audio/ogg"],
710
+ ["ogv", "video/ogg"],
711
+ ["ogx", "application/ogg"],
712
+ ["omdoc", "application/omdoc+xml"],
713
+ ["onepkg", "application/onenote"],
714
+ ["onetmp", "application/onenote"],
715
+ ["onetoc", "application/onenote"],
716
+ ["onetoc2", "application/onenote"],
717
+ ["opf", "application/oebps-package+xml"],
718
+ ["opml", "text/x-opml"],
719
+ ["oprc", "application/vnd.palm"],
720
+ ["opus", "audio/ogg"],
721
+ ["org", "text/x-org"],
722
+ ["osf", "application/vnd.yamaha.openscoreformat"],
723
+ ["osfpvg", "application/vnd.yamaha.openscoreformat.osfpvg+xml"],
724
+ ["osm", "application/vnd.openstreetmap.data+xml"],
725
+ ["otc", "application/vnd.oasis.opendocument.chart-template"],
726
+ ["otf", "font/otf"],
727
+ ["otg", "application/vnd.oasis.opendocument.graphics-template"],
728
+ ["oth", "application/vnd.oasis.opendocument.text-web"],
729
+ ["oti", "application/vnd.oasis.opendocument.image-template"],
730
+ ["otp", "application/vnd.oasis.opendocument.presentation-template"],
731
+ ["ots", "application/vnd.oasis.opendocument.spreadsheet-template"],
732
+ ["ott", "application/vnd.oasis.opendocument.text-template"],
733
+ ["ova", "application/x-virtualbox-ova"],
734
+ ["ovf", "application/x-virtualbox-ovf"],
735
+ ["owl", "application/rdf+xml"],
736
+ ["oxps", "application/oxps"],
737
+ ["oxt", "application/vnd.openofficeorg.extension"],
738
+ ["p", "text/x-pascal"],
739
+ ["p7a", "application/x-pkcs7-signature"],
740
+ ["p7b", "application/x-pkcs7-certificates"],
741
+ ["p7c", "application/pkcs7-mime"],
742
+ ["p7m", "application/pkcs7-mime"],
743
+ ["p7r", "application/x-pkcs7-certreqresp"],
744
+ ["p7s", "application/pkcs7-signature"],
745
+ ["p8", "application/pkcs8"],
746
+ ["p10", "application/x-pkcs10"],
747
+ ["p12", "application/x-pkcs12"],
748
+ ["pac", "application/x-ns-proxy-autoconfig"],
749
+ ["pages", "application/x-iwork-pages-sffpages"],
750
+ ["pas", "text/x-pascal"],
751
+ ["paw", "application/vnd.pawaafile"],
752
+ ["pbd", "application/vnd.powerbuilder6"],
753
+ ["pbm", "image/x-portable-bitmap"],
754
+ ["pcap", "application/vnd.tcpdump.pcap"],
755
+ ["pcf", "application/x-font-pcf"],
756
+ ["pcl", "application/vnd.hp-pcl"],
757
+ ["pclxl", "application/vnd.hp-pclxl"],
758
+ ["pct", "image/x-pict"],
759
+ ["pcurl", "application/vnd.curl.pcurl"],
760
+ ["pcx", "image/x-pcx"],
761
+ ["pdb", "application/x-pilot"],
762
+ ["pde", "text/x-processing"],
763
+ ["pdf", "application/pdf"],
764
+ ["pem", "application/x-x509-user-cert"],
765
+ ["pfa", "application/x-font-type1"],
766
+ ["pfb", "application/x-font-type1"],
767
+ ["pfm", "application/x-font-type1"],
768
+ ["pfr", "application/font-tdpfr"],
769
+ ["pfx", "application/x-pkcs12"],
770
+ ["pgm", "image/x-portable-graymap"],
771
+ ["pgn", "application/x-chess-pgn"],
772
+ ["pgp", "application/pgp"],
773
+ ["php", "application/x-httpd-php"],
774
+ ["php3", "application/x-httpd-php"],
775
+ ["php4", "application/x-httpd-php"],
776
+ ["phps", "application/x-httpd-php-source"],
777
+ ["phtml", "application/x-httpd-php"],
778
+ ["pic", "image/x-pict"],
779
+ ["pkg", "application/octet-stream"],
780
+ ["pki", "application/pkixcmp"],
781
+ ["pkipath", "application/pkix-pkipath"],
782
+ ["pkpass", "application/vnd.apple.pkpass"],
783
+ ["pl", "application/x-perl"],
784
+ ["plb", "application/vnd.3gpp.pic-bw-large"],
785
+ ["plc", "application/vnd.mobius.plc"],
786
+ ["plf", "application/vnd.pocketlearn"],
787
+ ["pls", "application/pls+xml"],
788
+ ["pm", "application/x-perl"],
789
+ ["pml", "application/vnd.ctc-posml"],
790
+ ["png", "image/png"],
791
+ ["pnm", "image/x-portable-anymap"],
792
+ ["portpkg", "application/vnd.macports.portpkg"],
793
+ ["pot", "application/vnd.ms-powerpoint"],
794
+ ["potm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
795
+ ["potx", "application/vnd.openxmlformats-officedocument.presentationml.template"],
796
+ ["ppa", "application/vnd.ms-powerpoint"],
797
+ ["ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12"],
798
+ ["ppd", "application/vnd.cups-ppd"],
799
+ ["ppm", "image/x-portable-pixmap"],
800
+ ["pps", "application/vnd.ms-powerpoint"],
801
+ ["ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],
802
+ ["ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"],
803
+ ["ppt", "application/powerpoint"],
804
+ ["pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
805
+ ["pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"],
806
+ ["pqa", "application/vnd.palm"],
807
+ ["prc", "application/x-pilot"],
808
+ ["pre", "application/vnd.lotus-freelance"],
809
+ ["prf", "application/pics-rules"],
810
+ ["provx", "application/provenance+xml"],
811
+ ["ps", "application/postscript"],
812
+ ["psb", "application/vnd.3gpp.pic-bw-small"],
813
+ ["psd", "application/x-photoshop"],
814
+ ["psf", "application/x-font-linux-psf"],
815
+ ["pskcxml", "application/pskc+xml"],
816
+ ["pti", "image/prs.pti"],
817
+ ["ptid", "application/vnd.pvi.ptid1"],
818
+ ["pub", "application/x-mspublisher"],
819
+ ["pvb", "application/vnd.3gpp.pic-bw-var"],
820
+ ["pwn", "application/vnd.3m.post-it-notes"],
821
+ ["pya", "audio/vnd.ms-playready.media.pya"],
822
+ ["pyv", "video/vnd.ms-playready.media.pyv"],
823
+ ["qam", "application/vnd.epson.quickanime"],
824
+ ["qbo", "application/vnd.intu.qbo"],
825
+ ["qfx", "application/vnd.intu.qfx"],
826
+ ["qps", "application/vnd.publishare-delta-tree"],
827
+ ["qt", "video/quicktime"],
828
+ ["qwd", "application/vnd.quark.quarkxpress"],
829
+ ["qwt", "application/vnd.quark.quarkxpress"],
830
+ ["qxb", "application/vnd.quark.quarkxpress"],
831
+ ["qxd", "application/vnd.quark.quarkxpress"],
832
+ ["qxl", "application/vnd.quark.quarkxpress"],
833
+ ["qxt", "application/vnd.quark.quarkxpress"],
834
+ ["ra", "audio/x-realaudio"],
835
+ ["ram", "audio/x-pn-realaudio"],
836
+ ["raml", "application/raml+yaml"],
837
+ ["rapd", "application/route-apd+xml"],
838
+ ["rar", "application/x-rar"],
839
+ ["ras", "image/x-cmu-raster"],
840
+ ["rcprofile", "application/vnd.ipunplugged.rcprofile"],
841
+ ["rdf", "application/rdf+xml"],
842
+ ["rdz", "application/vnd.data-vision.rdz"],
843
+ ["relo", "application/p2p-overlay+xml"],
844
+ ["rep", "application/vnd.businessobjects"],
845
+ ["res", "application/x-dtbresource+xml"],
846
+ ["rgb", "image/x-rgb"],
847
+ ["rif", "application/reginfo+xml"],
848
+ ["rip", "audio/vnd.rip"],
849
+ ["ris", "application/x-research-info-systems"],
850
+ ["rl", "application/resource-lists+xml"],
851
+ ["rlc", "image/vnd.fujixerox.edmics-rlc"],
852
+ ["rld", "application/resource-lists-diff+xml"],
853
+ ["rm", "audio/x-pn-realaudio"],
854
+ ["rmi", "audio/midi"],
855
+ ["rmp", "audio/x-pn-realaudio-plugin"],
856
+ ["rms", "application/vnd.jcp.javame.midlet-rms"],
857
+ ["rmvb", "application/vnd.rn-realmedia-vbr"],
858
+ ["rnc", "application/relax-ng-compact-syntax"],
859
+ ["rng", "application/xml"],
860
+ ["roa", "application/rpki-roa"],
861
+ ["roff", "text/troff"],
862
+ ["rp9", "application/vnd.cloanto.rp9"],
863
+ ["rpm", "audio/x-pn-realaudio-plugin"],
864
+ ["rpss", "application/vnd.nokia.radio-presets"],
865
+ ["rpst", "application/vnd.nokia.radio-preset"],
866
+ ["rq", "application/sparql-query"],
867
+ ["rs", "application/rls-services+xml"],
868
+ ["rsa", "application/x-pkcs7"],
869
+ ["rsat", "application/atsc-rsat+xml"],
870
+ ["rsd", "application/rsd+xml"],
871
+ ["rsheet", "application/urc-ressheet+xml"],
872
+ ["rss", "application/rss+xml"],
873
+ ["rtf", "text/rtf"],
874
+ ["rtx", "text/richtext"],
875
+ ["run", "application/x-makeself"],
876
+ ["rusd", "application/route-usd+xml"],
877
+ ["rv", "video/vnd.rn-realvideo"],
878
+ ["s", "text/x-asm"],
879
+ ["s3m", "audio/s3m"],
880
+ ["saf", "application/vnd.yamaha.smaf-audio"],
881
+ ["sass", "text/x-sass"],
882
+ ["sbml", "application/sbml+xml"],
883
+ ["sc", "application/vnd.ibm.secure-container"],
884
+ ["scd", "application/x-msschedule"],
885
+ ["scm", "application/vnd.lotus-screencam"],
886
+ ["scq", "application/scvp-cv-request"],
887
+ ["scs", "application/scvp-cv-response"],
888
+ ["scss", "text/x-scss"],
889
+ ["scurl", "text/vnd.curl.scurl"],
890
+ ["sda", "application/vnd.stardivision.draw"],
891
+ ["sdc", "application/vnd.stardivision.calc"],
892
+ ["sdd", "application/vnd.stardivision.impress"],
893
+ ["sdkd", "application/vnd.solent.sdkm+xml"],
894
+ ["sdkm", "application/vnd.solent.sdkm+xml"],
895
+ ["sdp", "application/sdp"],
896
+ ["sdw", "application/vnd.stardivision.writer"],
897
+ ["sea", "application/octet-stream"],
898
+ ["see", "application/vnd.seemail"],
899
+ ["seed", "application/vnd.fdsn.seed"],
900
+ ["sema", "application/vnd.sema"],
901
+ ["semd", "application/vnd.semd"],
902
+ ["semf", "application/vnd.semf"],
903
+ ["senmlx", "application/senml+xml"],
904
+ ["sensmlx", "application/sensml+xml"],
905
+ ["ser", "application/java-serialized-object"],
906
+ ["setpay", "application/set-payment-initiation"],
907
+ ["setreg", "application/set-registration-initiation"],
908
+ ["sfd-hdstx", "application/vnd.hydrostatix.sof-data"],
909
+ ["sfs", "application/vnd.spotfire.sfs"],
910
+ ["sfv", "text/x-sfv"],
911
+ ["sgi", "image/sgi"],
912
+ ["sgl", "application/vnd.stardivision.writer-global"],
913
+ ["sgm", "text/sgml"],
914
+ ["sgml", "text/sgml"],
915
+ ["sh", "application/x-sh"],
916
+ ["shar", "application/x-shar"],
917
+ ["shex", "text/shex"],
918
+ ["shf", "application/shf+xml"],
919
+ ["shtml", "text/html"],
920
+ ["sid", "image/x-mrsid-image"],
921
+ ["sieve", "application/sieve"],
922
+ ["sig", "application/pgp-signature"],
923
+ ["sil", "audio/silk"],
924
+ ["silo", "model/mesh"],
925
+ ["sis", "application/vnd.symbian.install"],
926
+ ["sisx", "application/vnd.symbian.install"],
927
+ ["sit", "application/x-stuffit"],
928
+ ["sitx", "application/x-stuffitx"],
929
+ ["siv", "application/sieve"],
930
+ ["skd", "application/vnd.koan"],
931
+ ["skm", "application/vnd.koan"],
932
+ ["skp", "application/vnd.koan"],
933
+ ["skt", "application/vnd.koan"],
934
+ ["sldm", "application/vnd.ms-powerpoint.slide.macroenabled.12"],
935
+ ["sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide"],
936
+ ["slim", "text/slim"],
937
+ ["slm", "text/slim"],
938
+ ["sls", "application/route-s-tsid+xml"],
939
+ ["slt", "application/vnd.epson.salt"],
940
+ ["sm", "application/vnd.stepmania.stepchart"],
941
+ ["smf", "application/vnd.stardivision.math"],
942
+ ["smi", "application/smil"],
943
+ ["smil", "application/smil"],
944
+ ["smv", "video/x-smv"],
945
+ ["smzip", "application/vnd.stepmania.package"],
946
+ ["snd", "audio/basic"],
947
+ ["snf", "application/x-font-snf"],
948
+ ["so", "application/octet-stream"],
949
+ ["spc", "application/x-pkcs7-certificates"],
950
+ ["spdx", "text/spdx"],
951
+ ["spf", "application/vnd.yamaha.smaf-phrase"],
952
+ ["spl", "application/x-futuresplash"],
953
+ ["spot", "text/vnd.in3d.spot"],
954
+ ["spp", "application/scvp-vp-response"],
955
+ ["spq", "application/scvp-vp-request"],
956
+ ["spx", "audio/ogg"],
957
+ ["sql", "application/x-sql"],
958
+ ["src", "application/x-wais-source"],
959
+ ["srt", "application/x-subrip"],
960
+ ["sru", "application/sru+xml"],
961
+ ["srx", "application/sparql-results+xml"],
962
+ ["ssdl", "application/ssdl+xml"],
963
+ ["sse", "application/vnd.kodak-descriptor"],
964
+ ["ssf", "application/vnd.epson.ssf"],
965
+ ["ssml", "application/ssml+xml"],
966
+ ["sst", "application/octet-stream"],
967
+ ["st", "application/vnd.sailingtracker.track"],
968
+ ["stc", "application/vnd.sun.xml.calc.template"],
969
+ ["std", "application/vnd.sun.xml.draw.template"],
970
+ ["stf", "application/vnd.wt.stf"],
971
+ ["sti", "application/vnd.sun.xml.impress.template"],
972
+ ["stk", "application/hyperstudio"],
973
+ ["stl", "model/stl"],
974
+ ["stpx", "model/step+xml"],
975
+ ["stpxz", "model/step-xml+zip"],
976
+ ["stpz", "model/step+zip"],
977
+ ["str", "application/vnd.pg.format"],
978
+ ["stw", "application/vnd.sun.xml.writer.template"],
979
+ ["styl", "text/stylus"],
980
+ ["stylus", "text/stylus"],
981
+ ["sub", "text/vnd.dvb.subtitle"],
982
+ ["sus", "application/vnd.sus-calendar"],
983
+ ["susp", "application/vnd.sus-calendar"],
984
+ ["sv4cpio", "application/x-sv4cpio"],
985
+ ["sv4crc", "application/x-sv4crc"],
986
+ ["svc", "application/vnd.dvb.service"],
987
+ ["svd", "application/vnd.svd"],
988
+ ["svg", "image/svg+xml"],
989
+ ["svgz", "image/svg+xml"],
990
+ ["swa", "application/x-director"],
991
+ ["swf", "application/x-shockwave-flash"],
992
+ ["swi", "application/vnd.aristanetworks.swi"],
993
+ ["swidtag", "application/swid+xml"],
994
+ ["sxc", "application/vnd.sun.xml.calc"],
995
+ ["sxd", "application/vnd.sun.xml.draw"],
996
+ ["sxg", "application/vnd.sun.xml.writer.global"],
997
+ ["sxi", "application/vnd.sun.xml.impress"],
998
+ ["sxm", "application/vnd.sun.xml.math"],
999
+ ["sxw", "application/vnd.sun.xml.writer"],
1000
+ ["t", "text/troff"],
1001
+ ["t3", "application/x-t3vm-image"],
1002
+ ["t38", "image/t38"],
1003
+ ["taglet", "application/vnd.mynfc"],
1004
+ ["tao", "application/vnd.tao.intent-module-archive"],
1005
+ ["tap", "image/vnd.tencent.tap"],
1006
+ ["tar", "application/x-tar"],
1007
+ ["tcap", "application/vnd.3gpp2.tcap"],
1008
+ ["tcl", "application/x-tcl"],
1009
+ ["td", "application/urc-targetdesc+xml"],
1010
+ ["teacher", "application/vnd.smart.teacher"],
1011
+ ["tei", "application/tei+xml"],
1012
+ ["teicorpus", "application/tei+xml"],
1013
+ ["tex", "application/x-tex"],
1014
+ ["texi", "application/x-texinfo"],
1015
+ ["texinfo", "application/x-texinfo"],
1016
+ ["text", "text/plain"],
1017
+ ["tfi", "application/thraud+xml"],
1018
+ ["tfm", "application/x-tex-tfm"],
1019
+ ["tfx", "image/tiff-fx"],
1020
+ ["tga", "image/x-tga"],
1021
+ ["tgz", "application/x-tar"],
1022
+ ["thmx", "application/vnd.ms-officetheme"],
1023
+ ["tif", "image/tiff"],
1024
+ ["tiff", "image/tiff"],
1025
+ ["tk", "application/x-tcl"],
1026
+ ["tmo", "application/vnd.tmobile-livetv"],
1027
+ ["toml", "application/toml"],
1028
+ ["torrent", "application/x-bittorrent"],
1029
+ ["tpl", "application/vnd.groove-tool-template"],
1030
+ ["tpt", "application/vnd.trid.tpt"],
1031
+ ["tr", "text/troff"],
1032
+ ["tra", "application/vnd.trueapp"],
1033
+ ["trig", "application/trig"],
1034
+ ["trm", "application/x-msterminal"],
1035
+ ["ts", "video/mp2t"],
1036
+ ["tsd", "application/timestamped-data"],
1037
+ ["tsv", "text/tab-separated-values"],
1038
+ ["ttc", "font/collection"],
1039
+ ["ttf", "font/ttf"],
1040
+ ["ttl", "text/turtle"],
1041
+ ["ttml", "application/ttml+xml"],
1042
+ ["twd", "application/vnd.simtech-mindmapper"],
1043
+ ["twds", "application/vnd.simtech-mindmapper"],
1044
+ ["txd", "application/vnd.genomatix.tuxedo"],
1045
+ ["txf", "application/vnd.mobius.txf"],
1046
+ ["txt", "text/plain"],
1047
+ ["u8dsn", "message/global-delivery-status"],
1048
+ ["u8hdr", "message/global-headers"],
1049
+ ["u8mdn", "message/global-disposition-notification"],
1050
+ ["u8msg", "message/global"],
1051
+ ["u32", "application/x-authorware-bin"],
1052
+ ["ubj", "application/ubjson"],
1053
+ ["udeb", "application/x-debian-package"],
1054
+ ["ufd", "application/vnd.ufdl"],
1055
+ ["ufdl", "application/vnd.ufdl"],
1056
+ ["ulx", "application/x-glulx"],
1057
+ ["umj", "application/vnd.umajin"],
1058
+ ["unityweb", "application/vnd.unity"],
1059
+ ["uoml", "application/vnd.uoml+xml"],
1060
+ ["uri", "text/uri-list"],
1061
+ ["uris", "text/uri-list"],
1062
+ ["urls", "text/uri-list"],
1063
+ ["usdz", "model/vnd.usdz+zip"],
1064
+ ["ustar", "application/x-ustar"],
1065
+ ["utz", "application/vnd.uiq.theme"],
1066
+ ["uu", "text/x-uuencode"],
1067
+ ["uva", "audio/vnd.dece.audio"],
1068
+ ["uvd", "application/vnd.dece.data"],
1069
+ ["uvf", "application/vnd.dece.data"],
1070
+ ["uvg", "image/vnd.dece.graphic"],
1071
+ ["uvh", "video/vnd.dece.hd"],
1072
+ ["uvi", "image/vnd.dece.graphic"],
1073
+ ["uvm", "video/vnd.dece.mobile"],
1074
+ ["uvp", "video/vnd.dece.pd"],
1075
+ ["uvs", "video/vnd.dece.sd"],
1076
+ ["uvt", "application/vnd.dece.ttml+xml"],
1077
+ ["uvu", "video/vnd.uvvu.mp4"],
1078
+ ["uvv", "video/vnd.dece.video"],
1079
+ ["uvva", "audio/vnd.dece.audio"],
1080
+ ["uvvd", "application/vnd.dece.data"],
1081
+ ["uvvf", "application/vnd.dece.data"],
1082
+ ["uvvg", "image/vnd.dece.graphic"],
1083
+ ["uvvh", "video/vnd.dece.hd"],
1084
+ ["uvvi", "image/vnd.dece.graphic"],
1085
+ ["uvvm", "video/vnd.dece.mobile"],
1086
+ ["uvvp", "video/vnd.dece.pd"],
1087
+ ["uvvs", "video/vnd.dece.sd"],
1088
+ ["uvvt", "application/vnd.dece.ttml+xml"],
1089
+ ["uvvu", "video/vnd.uvvu.mp4"],
1090
+ ["uvvv", "video/vnd.dece.video"],
1091
+ ["uvvx", "application/vnd.dece.unspecified"],
1092
+ ["uvvz", "application/vnd.dece.zip"],
1093
+ ["uvx", "application/vnd.dece.unspecified"],
1094
+ ["uvz", "application/vnd.dece.zip"],
1095
+ ["vbox", "application/x-virtualbox-vbox"],
1096
+ ["vbox-extpack", "application/x-virtualbox-vbox-extpack"],
1097
+ ["vcard", "text/vcard"],
1098
+ ["vcd", "application/x-cdlink"],
1099
+ ["vcf", "text/x-vcard"],
1100
+ ["vcg", "application/vnd.groove-vcard"],
1101
+ ["vcs", "text/x-vcalendar"],
1102
+ ["vcx", "application/vnd.vcx"],
1103
+ ["vdi", "application/x-virtualbox-vdi"],
1104
+ ["vds", "model/vnd.sap.vds"],
1105
+ ["vhd", "application/x-virtualbox-vhd"],
1106
+ ["vis", "application/vnd.visionary"],
1107
+ ["viv", "video/vnd.vivo"],
1108
+ ["vlc", "application/videolan"],
1109
+ ["vmdk", "application/x-virtualbox-vmdk"],
1110
+ ["vob", "video/x-ms-vob"],
1111
+ ["vor", "application/vnd.stardivision.writer"],
1112
+ ["vox", "application/x-authorware-bin"],
1113
+ ["vrml", "model/vrml"],
1114
+ ["vsd", "application/vnd.visio"],
1115
+ ["vsf", "application/vnd.vsf"],
1116
+ ["vss", "application/vnd.visio"],
1117
+ ["vst", "application/vnd.visio"],
1118
+ ["vsw", "application/vnd.visio"],
1119
+ ["vtf", "image/vnd.valve.source.texture"],
1120
+ ["vtt", "text/vtt"],
1121
+ ["vtu", "model/vnd.vtu"],
1122
+ ["vxml", "application/voicexml+xml"],
1123
+ ["w3d", "application/x-director"],
1124
+ ["wad", "application/x-doom"],
1125
+ ["wadl", "application/vnd.sun.wadl+xml"],
1126
+ ["war", "application/java-archive"],
1127
+ ["wasm", "application/wasm"],
1128
+ ["wav", "audio/x-wav"],
1129
+ ["wax", "audio/x-ms-wax"],
1130
+ ["wbmp", "image/vnd.wap.wbmp"],
1131
+ ["wbs", "application/vnd.criticaltools.wbs+xml"],
1132
+ ["wbxml", "application/wbxml"],
1133
+ ["wcm", "application/vnd.ms-works"],
1134
+ ["wdb", "application/vnd.ms-works"],
1135
+ ["wdp", "image/vnd.ms-photo"],
1136
+ ["weba", "audio/webm"],
1137
+ ["webapp", "application/x-web-app-manifest+json"],
1138
+ ["webm", "video/webm"],
1139
+ ["webmanifest", "application/manifest+json"],
1140
+ ["webp", "image/webp"],
1141
+ ["wg", "application/vnd.pmi.widget"],
1142
+ ["wgt", "application/widget"],
1143
+ ["wks", "application/vnd.ms-works"],
1144
+ ["wm", "video/x-ms-wm"],
1145
+ ["wma", "audio/x-ms-wma"],
1146
+ ["wmd", "application/x-ms-wmd"],
1147
+ ["wmf", "image/wmf"],
1148
+ ["wml", "text/vnd.wap.wml"],
1149
+ ["wmlc", "application/wmlc"],
1150
+ ["wmls", "text/vnd.wap.wmlscript"],
1151
+ ["wmlsc", "application/vnd.wap.wmlscriptc"],
1152
+ ["wmv", "video/x-ms-wmv"],
1153
+ ["wmx", "video/x-ms-wmx"],
1154
+ ["wmz", "application/x-msmetafile"],
1155
+ ["woff", "font/woff"],
1156
+ ["woff2", "font/woff2"],
1157
+ ["word", "application/msword"],
1158
+ ["wpd", "application/vnd.wordperfect"],
1159
+ ["wpl", "application/vnd.ms-wpl"],
1160
+ ["wps", "application/vnd.ms-works"],
1161
+ ["wqd", "application/vnd.wqd"],
1162
+ ["wri", "application/x-mswrite"],
1163
+ ["wrl", "model/vrml"],
1164
+ ["wsc", "message/vnd.wfa.wsc"],
1165
+ ["wsdl", "application/wsdl+xml"],
1166
+ ["wspolicy", "application/wspolicy+xml"],
1167
+ ["wtb", "application/vnd.webturbo"],
1168
+ ["wvx", "video/x-ms-wvx"],
1169
+ ["x3d", "model/x3d+xml"],
1170
+ ["x3db", "model/x3d+fastinfoset"],
1171
+ ["x3dbz", "model/x3d+binary"],
1172
+ ["x3dv", "model/x3d-vrml"],
1173
+ ["x3dvz", "model/x3d+vrml"],
1174
+ ["x3dz", "model/x3d+xml"],
1175
+ ["x32", "application/x-authorware-bin"],
1176
+ ["x_b", "model/vnd.parasolid.transmit.binary"],
1177
+ ["x_t", "model/vnd.parasolid.transmit.text"],
1178
+ ["xaml", "application/xaml+xml"],
1179
+ ["xap", "application/x-silverlight-app"],
1180
+ ["xar", "application/vnd.xara"],
1181
+ ["xav", "application/xcap-att+xml"],
1182
+ ["xbap", "application/x-ms-xbap"],
1183
+ ["xbd", "application/vnd.fujixerox.docuworks.binder"],
1184
+ ["xbm", "image/x-xbitmap"],
1185
+ ["xca", "application/xcap-caps+xml"],
1186
+ ["xcs", "application/calendar+xml"],
1187
+ ["xdf", "application/xcap-diff+xml"],
1188
+ ["xdm", "application/vnd.syncml.dm+xml"],
1189
+ ["xdp", "application/vnd.adobe.xdp+xml"],
1190
+ ["xdssc", "application/dssc+xml"],
1191
+ ["xdw", "application/vnd.fujixerox.docuworks"],
1192
+ ["xel", "application/xcap-el+xml"],
1193
+ ["xenc", "application/xenc+xml"],
1194
+ ["xer", "application/patch-ops-error+xml"],
1195
+ ["xfdf", "application/vnd.adobe.xfdf"],
1196
+ ["xfdl", "application/vnd.xfdl"],
1197
+ ["xht", "application/xhtml+xml"],
1198
+ ["xhtml", "application/xhtml+xml"],
1199
+ ["xhvml", "application/xv+xml"],
1200
+ ["xif", "image/vnd.xiff"],
1201
+ ["xl", "application/excel"],
1202
+ ["xla", "application/vnd.ms-excel"],
1203
+ ["xlam", "application/vnd.ms-excel.addin.macroEnabled.12"],
1204
+ ["xlc", "application/vnd.ms-excel"],
1205
+ ["xlf", "application/xliff+xml"],
1206
+ ["xlm", "application/vnd.ms-excel"],
1207
+ ["xls", "application/vnd.ms-excel"],
1208
+ ["xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"],
1209
+ ["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
1210
+ ["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
1211
+ ["xlt", "application/vnd.ms-excel"],
1212
+ ["xltm", "application/vnd.ms-excel.template.macroEnabled.12"],
1213
+ ["xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
1214
+ ["xlw", "application/vnd.ms-excel"],
1215
+ ["xm", "audio/xm"],
1216
+ ["xml", "application/xml"],
1217
+ ["xns", "application/xcap-ns+xml"],
1218
+ ["xo", "application/vnd.olpc-sugar"],
1219
+ ["xop", "application/xop+xml"],
1220
+ ["xpi", "application/x-xpinstall"],
1221
+ ["xpl", "application/xproc+xml"],
1222
+ ["xpm", "image/x-xpixmap"],
1223
+ ["xpr", "application/vnd.is-xpr"],
1224
+ ["xps", "application/vnd.ms-xpsdocument"],
1225
+ ["xpw", "application/vnd.intercon.formnet"],
1226
+ ["xpx", "application/vnd.intercon.formnet"],
1227
+ ["xsd", "application/xml"],
1228
+ ["xsl", "application/xml"],
1229
+ ["xslt", "application/xslt+xml"],
1230
+ ["xsm", "application/vnd.syncml+xml"],
1231
+ ["xspf", "application/xspf+xml"],
1232
+ ["xul", "application/vnd.mozilla.xul+xml"],
1233
+ ["xvm", "application/xv+xml"],
1234
+ ["xvml", "application/xv+xml"],
1235
+ ["xwd", "image/x-xwindowdump"],
1236
+ ["xyz", "chemical/x-xyz"],
1237
+ ["xz", "application/x-xz"],
1238
+ ["yaml", "text/yaml"],
1239
+ ["yang", "application/yang"],
1240
+ ["yin", "application/yin+xml"],
1241
+ ["yml", "text/yaml"],
1242
+ ["ymp", "text/x-suse-ymp"],
1243
+ ["z", "application/x-compress"],
1244
+ ["z1", "application/x-zmachine"],
1245
+ ["z2", "application/x-zmachine"],
1246
+ ["z3", "application/x-zmachine"],
1247
+ ["z4", "application/x-zmachine"],
1248
+ ["z5", "application/x-zmachine"],
1249
+ ["z6", "application/x-zmachine"],
1250
+ ["z7", "application/x-zmachine"],
1251
+ ["z8", "application/x-zmachine"],
1252
+ ["zaz", "application/vnd.zzazz.deck+xml"],
1253
+ ["zip", "application/zip"],
1254
+ ["zir", "application/vnd.zul"],
1255
+ ["zirz", "application/vnd.zul"],
1256
+ ["zmm", "application/vnd.handheld-entertainment+xml"],
1257
+ ["zsh", "text/x-scriptzsh"]
1258
+ ]);
1259
+ function V(a, i, t) {
1260
+ const e = et(a), { webkitRelativePath: n } = a, o = typeof i == "string" ? i : typeof n == "string" && n.length > 0 ? n : `./${a.name}`;
1261
+ return typeof e.path != "string" && Ga(e, "path", o), Ga(e, "relativePath", o), e;
1262
+ }
1263
+ function et(a) {
1264
+ const { name: i } = a;
1265
+ if (i && i.lastIndexOf(".") !== -1 && !a.type) {
1266
+ const e = i.split(".").pop().toLowerCase(), n = tt.get(e);
1267
+ n && Object.defineProperty(a, "type", {
1268
+ value: n,
1269
+ writable: !1,
1270
+ configurable: !1,
1271
+ enumerable: !0
1272
+ });
1273
+ }
1274
+ return a;
1275
+ }
1276
+ function Ga(a, i, t) {
1277
+ Object.defineProperty(a, i, {
1278
+ value: t,
1279
+ writable: !1,
1280
+ configurable: !1,
1281
+ enumerable: !0
1282
+ });
1283
+ }
1284
+ const nt = [
1285
+ // Thumbnail cache files for macOS and Windows
1286
+ ".DS_Store",
1287
+ // macOs
1288
+ "Thumbs.db"
1289
+ // Windows
1290
+ ];
1291
+ function pt(a) {
1292
+ return H(this, void 0, void 0, function* () {
1293
+ return ba(a) && ot(a.dataTransfer) ? st(a.dataTransfer, a.type) : ct(a) ? lt(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? rt(a) : [];
1294
+ });
1295
+ }
1296
+ function ot(a) {
1297
+ return ba(a);
1298
+ }
1299
+ function ct(a) {
1300
+ return ba(a) && ba(a.target);
1301
+ }
1302
+ function ba(a) {
1303
+ return typeof a == "object" && a !== null;
1304
+ }
1305
+ function lt(a) {
1306
+ return Sa(a.target.files).map((i) => V(i));
1307
+ }
1308
+ function rt(a) {
1309
+ return H(this, void 0, void 0, function* () {
1310
+ return (yield Promise.all(a.map((t) => t.getFile()))).map((t) => V(t));
1311
+ });
1312
+ }
1313
+ function st(a, i) {
1314
+ return H(this, void 0, void 0, function* () {
1315
+ if (a.items) {
1316
+ const t = Sa(a.items).filter((n) => n.kind === "file");
1317
+ if (i !== "drop")
1318
+ return t;
1319
+ const e = yield Promise.all(t.map(dt));
1320
+ return Ja(si(e));
1321
+ }
1322
+ return Ja(Sa(a.files).map((t) => V(t)));
1323
+ });
1324
+ }
1325
+ function Ja(a) {
1326
+ return a.filter((i) => nt.indexOf(i.name) === -1);
1327
+ }
1328
+ function Sa(a) {
1329
+ if (a === null)
1330
+ return [];
1331
+ const i = [];
1332
+ for (let t = 0; t < a.length; t++) {
1333
+ const e = a[t];
1334
+ i.push(e);
1335
+ }
1336
+ return i;
1337
+ }
1338
+ function dt(a) {
1339
+ if (typeof a.webkitGetAsEntry != "function")
1340
+ return Xa(a);
1341
+ const i = a.webkitGetAsEntry();
1342
+ return i && i.isDirectory ? di(i) : Xa(a, i);
1343
+ }
1344
+ function si(a) {
1345
+ return a.reduce((i, t) => [
1346
+ ...i,
1347
+ ...Array.isArray(t) ? si(t) : [t]
1348
+ ], []);
1349
+ }
1350
+ function Xa(a, i) {
1351
+ var t;
1352
+ if (typeof a.getAsFileSystemHandle == "function")
1353
+ return a.getAsFileSystemHandle().then((o) => H(this, void 0, void 0, function* () {
1354
+ const c = yield o.getFile();
1355
+ return c.handle = o, V(c);
1356
+ }));
1357
+ const e = a.getAsFile();
1358
+ if (!e)
1359
+ return Promise.reject(`${a} is not a File`);
1360
+ const n = V(e, (t = i == null ? void 0 : i.fullPath) !== null && t !== void 0 ? t : void 0);
1361
+ return Promise.resolve(n);
1362
+ }
1363
+ function mt(a) {
1364
+ return H(this, void 0, void 0, function* () {
1365
+ return a.isDirectory ? di(a) : ut(a);
1366
+ });
1367
+ }
1368
+ function di(a) {
1369
+ const i = a.createReader();
1370
+ return new Promise((t, e) => {
1371
+ const n = [];
1372
+ function o() {
1373
+ i.readEntries((c) => H(this, void 0, void 0, function* () {
1374
+ if (c.length) {
1375
+ const r = Promise.all(c.map(mt));
1376
+ n.push(r), o();
1377
+ } else
1378
+ try {
1379
+ const r = yield Promise.all(n);
1380
+ t(r);
1381
+ } catch (r) {
1382
+ e(r);
1383
+ }
1384
+ }), (c) => {
1385
+ e(c);
1386
+ });
1387
+ }
1388
+ o();
1389
+ });
1390
+ }
1391
+ function ut(a) {
1392
+ return H(this, void 0, void 0, function* () {
1393
+ return new Promise((i, t) => {
1394
+ a.file((e) => {
1395
+ const n = V(e, a.fullPath);
1396
+ i(n);
1397
+ }, (e) => {
1398
+ t(e);
1399
+ });
1400
+ });
1401
+ });
1402
+ }
1403
+ var Ia = function(a, i) {
1404
+ if (a && i) {
1405
+ var t = Array.isArray(i) ? i : i.split(",");
1406
+ if (t.length === 0)
1407
+ return !0;
1408
+ var e = a.name || "", n = (a.type || "").toLowerCase(), o = n.replace(/\/.*$/, "");
1409
+ return t.some(function(c) {
1410
+ var r = c.trim().toLowerCase();
1411
+ return r.charAt(0) === "." ? e.toLowerCase().endsWith(r) : r.endsWith("/*") ? o === r.replace(/\/.*$/, "") : n === r;
1412
+ });
1413
+ }
1414
+ return !0;
1415
+ };
1416
+ function Qa(a) {
1417
+ return xt(a) || vt(a) || ui(a) || ft();
1418
+ }
1419
+ function ft() {
1420
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
1421
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1422
+ }
1423
+ function vt(a) {
1424
+ if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
1425
+ }
1426
+ function xt(a) {
1427
+ if (Array.isArray(a)) return Ca(a);
1428
+ }
1429
+ function ai(a, i) {
1430
+ var t = Object.keys(a);
1431
+ if (Object.getOwnPropertySymbols) {
1432
+ var e = Object.getOwnPropertySymbols(a);
1433
+ i && (e = e.filter(function(n) {
1434
+ return Object.getOwnPropertyDescriptor(a, n).enumerable;
1435
+ })), t.push.apply(t, e);
1436
+ }
1437
+ return t;
1438
+ }
1439
+ function ii(a) {
1440
+ for (var i = 1; i < arguments.length; i++) {
1441
+ var t = arguments[i] != null ? arguments[i] : {};
1442
+ i % 2 ? ai(Object(t), !0).forEach(function(e) {
1443
+ mi(a, e, t[e]);
1444
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : ai(Object(t)).forEach(function(e) {
1445
+ Object.defineProperty(a, e, Object.getOwnPropertyDescriptor(t, e));
1446
+ });
1447
+ }
1448
+ return a;
1449
+ }
1450
+ function mi(a, i, t) {
1451
+ return i in a ? Object.defineProperty(a, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[i] = t, a;
1452
+ }
1453
+ function ta(a, i) {
1454
+ return ht(a) || bt(a, i) || ui(a, i) || gt();
1455
+ }
1456
+ function gt() {
1457
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1458
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1459
+ }
1460
+ function ui(a, i) {
1461
+ if (a) {
1462
+ if (typeof a == "string") return Ca(a, i);
1463
+ var t = Object.prototype.toString.call(a).slice(8, -1);
1464
+ if (t === "Object" && a.constructor && (t = a.constructor.name), t === "Map" || t === "Set") return Array.from(a);
1465
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Ca(a, i);
1466
+ }
1467
+ }
1468
+ function Ca(a, i) {
1469
+ (i == null || i > a.length) && (i = a.length);
1470
+ for (var t = 0, e = new Array(i); t < i; t++)
1471
+ e[t] = a[t];
1472
+ return e;
1473
+ }
1474
+ function bt(a, i) {
1475
+ var t = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
1476
+ if (t != null) {
1477
+ var e = [], n = !0, o = !1, c, r;
1478
+ try {
1479
+ for (t = t.call(a); !(n = (c = t.next()).done) && (e.push(c.value), !(i && e.length === i)); n = !0)
1480
+ ;
1481
+ } catch (f) {
1482
+ o = !0, r = f;
1483
+ } finally {
1484
+ try {
1485
+ !n && t.return != null && t.return();
1486
+ } finally {
1487
+ if (o) throw r;
1488
+ }
1489
+ }
1490
+ return e;
1491
+ }
1492
+ }
1493
+ function ht(a) {
1494
+ if (Array.isArray(a)) return a;
1495
+ }
1496
+ var yt = typeof Ia == "function" ? Ia : Ia.default, wt = "file-invalid-type", kt = "file-too-large", jt = "file-too-small", Dt = "too-many-files", Et = function() {
1497
+ var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = i.split(","), e = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
1498
+ return {
1499
+ code: wt,
1500
+ message: "File type must be ".concat(e)
1501
+ };
1502
+ }, ti = function(i) {
1503
+ return {
1504
+ code: kt,
1505
+ message: "File is larger than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1506
+ };
1507
+ }, ei = function(i) {
1508
+ return {
1509
+ code: jt,
1510
+ message: "File is smaller than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1511
+ };
1512
+ }, zt = {
1513
+ code: Dt,
1514
+ message: "Too many files"
1515
+ };
1516
+ function fi(a, i) {
1517
+ var t = a.type === "application/x-moz-file" || yt(a, i);
1518
+ return [t, t ? null : Et(i)];
1519
+ }
1520
+ function vi(a, i, t) {
1521
+ if (K(a.size))
1522
+ if (K(i) && K(t)) {
1523
+ if (a.size > t) return [!1, ti(t)];
1524
+ if (a.size < i) return [!1, ei(i)];
1525
+ } else {
1526
+ if (K(i) && a.size < i) return [!1, ei(i)];
1527
+ if (K(t) && a.size > t) return [!1, ti(t)];
1528
+ }
1529
+ return [!0, null];
1530
+ }
1531
+ function K(a) {
1532
+ return a != null;
1533
+ }
1534
+ function At(a) {
1535
+ var i = a.files, t = a.accept, e = a.minSize, n = a.maxSize, o = a.multiple, c = a.maxFiles, r = a.validator;
1536
+ return !o && i.length > 1 || o && c >= 1 && i.length > c ? !1 : i.every(function(f) {
1537
+ var h = fi(f, t), x = ta(h, 1), k = x[0], P = vi(f, e, n), R = ta(P, 1), j = R[0], I = r ? r(f) : null;
1538
+ return k && j && !I;
1539
+ });
1540
+ }
1541
+ function ha(a) {
1542
+ return typeof a.isPropagationStopped == "function" ? a.isPropagationStopped() : typeof a.cancelBubble < "u" ? a.cancelBubble : !1;
1543
+ }
1544
+ function va(a) {
1545
+ return a.dataTransfer ? Array.prototype.some.call(a.dataTransfer.types, function(i) {
1546
+ return i === "Files" || i === "application/x-moz-file";
1547
+ }) : !!a.target && !!a.target.files;
1548
+ }
1549
+ function ni(a) {
1550
+ a.preventDefault();
1551
+ }
1552
+ function Ft(a) {
1553
+ return a.indexOf("MSIE") !== -1 || a.indexOf("Trident/") !== -1;
1554
+ }
1555
+ function Ot(a) {
1556
+ return a.indexOf("Edge/") !== -1;
1557
+ }
1558
+ function _t() {
1559
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
1560
+ return Ft(a) || Ot(a);
1561
+ }
1562
+ function O() {
1563
+ for (var a = arguments.length, i = new Array(a), t = 0; t < a; t++)
1564
+ i[t] = arguments[t];
1565
+ return function(e) {
1566
+ for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), c = 1; c < n; c++)
1567
+ o[c - 1] = arguments[c];
1568
+ return i.some(function(r) {
1569
+ return !ha(e) && r && r.apply(void 0, [e].concat(o)), ha(e);
1570
+ });
1571
+ };
1572
+ }
1573
+ function Pt() {
1574
+ return "showOpenFilePicker" in window;
1575
+ }
1576
+ function It(a) {
1577
+ if (K(a)) {
1578
+ var i = Object.entries(a).filter(function(t) {
1579
+ var e = ta(t, 2), n = e[0], o = e[1], c = !0;
1580
+ return xi(n) || (console.warn('Skipped "'.concat(n, '" 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.')), c = !1), (!Array.isArray(o) || !o.every(gi)) && (console.warn('Skipped "'.concat(n, '" because an invalid file extension was provided.')), c = !1), c;
1581
+ }).reduce(function(t, e) {
1582
+ var n = ta(e, 2), o = n[0], c = n[1];
1583
+ return ii(ii({}, t), {}, mi({}, o, c));
1584
+ }, {});
1585
+ return [{
1586
+ // description is required due to https://crbug.com/1264708
1587
+ description: "Files",
1588
+ accept: i
1589
+ }];
1590
+ }
1591
+ return a;
1592
+ }
1593
+ function Rt(a) {
1594
+ if (K(a))
1595
+ return Object.entries(a).reduce(function(i, t) {
1596
+ var e = ta(t, 2), n = e[0], o = e[1];
1597
+ return [].concat(Qa(i), [n], Qa(o));
1598
+ }, []).filter(function(i) {
1599
+ return xi(i) || gi(i);
1600
+ }).join(",");
1601
+ }
1602
+ function St(a) {
1603
+ return a instanceof DOMException && (a.name === "AbortError" || a.code === a.ABORT_ERR);
1604
+ }
1605
+ function Ct(a) {
1606
+ return a instanceof DOMException && (a.name === "SecurityError" || a.code === a.SECURITY_ERR);
1607
+ }
1608
+ function xi(a) {
1609
+ return a === "audio/*" || a === "video/*" || a === "image/*" || a === "text/*" || a === "application/*" || /\w+\/[-+.\w]+/g.test(a);
1610
+ }
1611
+ function gi(a) {
1612
+ return /^.*\.[\w]+$/.test(a);
1613
+ }
1614
+ var Tt = ["children"], qt = ["open"], $t = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Lt = ["refKey", "onChange", "onClick"];
1615
+ function Mt(a) {
1616
+ return Wt(a) || Ht(a) || bi(a) || Kt();
1617
+ }
1618
+ function Kt() {
1619
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
1620
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1621
+ }
1622
+ function Ht(a) {
1623
+ if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null) return Array.from(a);
1624
+ }
1625
+ function Wt(a) {
1626
+ if (Array.isArray(a)) return Ta(a);
1627
+ }
1628
+ function Ra(a, i) {
1629
+ return Ut(a) || Bt(a, i) || bi(a, i) || Nt();
1630
+ }
1631
+ function Nt() {
1632
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1633
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1634
+ }
1635
+ function bi(a, i) {
1636
+ if (a) {
1637
+ if (typeof a == "string") return Ta(a, i);
1638
+ var t = Object.prototype.toString.call(a).slice(8, -1);
1639
+ if (t === "Object" && a.constructor && (t = a.constructor.name), t === "Map" || t === "Set") return Array.from(a);
1640
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Ta(a, i);
1641
+ }
1642
+ }
1643
+ function Ta(a, i) {
1644
+ (i == null || i > a.length) && (i = a.length);
1645
+ for (var t = 0, e = new Array(i); t < i; t++)
1646
+ e[t] = a[t];
1647
+ return e;
1648
+ }
1649
+ function Bt(a, i) {
1650
+ var t = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
1651
+ if (t != null) {
1652
+ var e = [], n = !0, o = !1, c, r;
1653
+ try {
1654
+ for (t = t.call(a); !(n = (c = t.next()).done) && (e.push(c.value), !(i && e.length === i)); n = !0)
1655
+ ;
1656
+ } catch (f) {
1657
+ o = !0, r = f;
1658
+ } finally {
1659
+ try {
1660
+ !n && t.return != null && t.return();
1661
+ } finally {
1662
+ if (o) throw r;
1663
+ }
1664
+ }
1665
+ return e;
1666
+ }
1667
+ }
1668
+ function Ut(a) {
1669
+ if (Array.isArray(a)) return a;
1670
+ }
1671
+ function pi(a, i) {
1672
+ var t = Object.keys(a);
1673
+ if (Object.getOwnPropertySymbols) {
1674
+ var e = Object.getOwnPropertySymbols(a);
1675
+ i && (e = e.filter(function(n) {
1676
+ return Object.getOwnPropertyDescriptor(a, n).enumerable;
1677
+ })), t.push.apply(t, e);
1678
+ }
1679
+ return t;
1680
+ }
1681
+ function u(a) {
1682
+ for (var i = 1; i < arguments.length; i++) {
1683
+ var t = arguments[i] != null ? arguments[i] : {};
1684
+ i % 2 ? pi(Object(t), !0).forEach(function(e) {
1685
+ qa(a, e, t[e]);
1686
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : pi(Object(t)).forEach(function(e) {
1687
+ Object.defineProperty(a, e, Object.getOwnPropertyDescriptor(t, e));
1688
+ });
1689
+ }
1690
+ return a;
1691
+ }
1692
+ function qa(a, i, t) {
1693
+ return i in a ? Object.defineProperty(a, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : a[i] = t, a;
1694
+ }
1695
+ function ya(a, i) {
1696
+ if (a == null) return {};
1697
+ var t = Zt(a, i), e, n;
1698
+ if (Object.getOwnPropertySymbols) {
1699
+ var o = Object.getOwnPropertySymbols(a);
1700
+ for (n = 0; n < o.length; n++)
1701
+ e = o[n], !(i.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(a, e) && (t[e] = a[e]);
1702
+ }
1703
+ return t;
1704
+ }
1705
+ function Zt(a, i) {
1706
+ if (a == null) return {};
1707
+ var t = {}, e = Object.keys(a), n, o;
1708
+ for (o = 0; o < e.length; o++)
1709
+ n = e[o], !(i.indexOf(n) >= 0) && (t[n] = a[n]);
1710
+ return t;
1711
+ }
1712
+ var La = /* @__PURE__ */ zi(function(a, i) {
1713
+ var t = a.children, e = ya(a, Tt), n = yi(e), o = n.open, c = ya(n, qt);
1714
+ return Ai(i, function() {
1715
+ return {
1716
+ open: o
1717
+ };
1718
+ }, [o]), /* @__PURE__ */ s.createElement(Fi, null, t(u(u({}, c), {}, {
1719
+ open: o
1720
+ })));
1721
+ });
1722
+ La.displayName = "Dropzone";
1723
+ var hi = {
1724
+ disabled: !1,
1725
+ getFilesFromEvent: pt,
1726
+ maxSize: 1 / 0,
1727
+ minSize: 0,
1728
+ multiple: !0,
1729
+ maxFiles: 0,
1730
+ preventDropOnDocument: !0,
1731
+ noClick: !1,
1732
+ noKeyboard: !1,
1733
+ noDrag: !1,
1734
+ noDragEventsBubbling: !1,
1735
+ validator: null,
1736
+ useFsAccessApi: !1,
1737
+ autoFocus: !1
1738
+ };
1739
+ La.defaultProps = hi;
1740
+ La.propTypes = {
1741
+ /**
1742
+ * Render function that exposes the dropzone state and prop getter fns
1743
+ *
1744
+ * @param {object} params
1745
+ * @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render
1746
+ * @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render
1747
+ * @param {Function} params.open Open the native file selection dialog
1748
+ * @param {boolean} params.isFocused Dropzone area is in focus
1749
+ * @param {boolean} params.isFileDialogActive File dialog is opened
1750
+ * @param {boolean} params.isDragActive Active drag is in progress
1751
+ * @param {boolean} params.isDragAccept Dragged files are accepted
1752
+ * @param {boolean} params.isDragReject Some dragged files are rejected
1753
+ * @param {File[]} params.acceptedFiles Accepted files
1754
+ * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
1755
+ */
1756
+ children: d.func,
1757
+ /**
1758
+ * Set accepted file types.
1759
+ * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
1760
+ * Keep in mind that mime type determination is not reliable across platforms. CSV files,
1761
+ * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
1762
+ * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
1763
+ */
1764
+ accept: d.objectOf(d.arrayOf(d.string)),
1765
+ /**
1766
+ * Allow drag 'n' drop (or selection from the file dialog) of multiple files
1767
+ */
1768
+ multiple: d.bool,
1769
+ /**
1770
+ * If false, allow dropped items to take over the current browser window
1771
+ */
1772
+ preventDropOnDocument: d.bool,
1773
+ /**
1774
+ * If true, disables click to open the native file selection dialog
1775
+ */
1776
+ noClick: d.bool,
1777
+ /**
1778
+ * If true, disables SPACE/ENTER to open the native file selection dialog.
1779
+ * Note that it also stops tracking the focus state.
1780
+ */
1781
+ noKeyboard: d.bool,
1782
+ /**
1783
+ * If true, disables drag 'n' drop
1784
+ */
1785
+ noDrag: d.bool,
1786
+ /**
1787
+ * If true, stops drag event propagation to parents
1788
+ */
1789
+ noDragEventsBubbling: d.bool,
1790
+ /**
1791
+ * Minimum file size (in bytes)
1792
+ */
1793
+ minSize: d.number,
1794
+ /**
1795
+ * Maximum file size (in bytes)
1796
+ */
1797
+ maxSize: d.number,
1798
+ /**
1799
+ * Maximum accepted number of files
1800
+ * The default value is 0 which means there is no limitation to how many files are accepted.
1801
+ */
1802
+ maxFiles: d.number,
1803
+ /**
1804
+ * Enable/disable the dropzone
1805
+ */
1806
+ disabled: d.bool,
1807
+ /**
1808
+ * Use this to provide a custom file aggregator
1809
+ *
1810
+ * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
1811
+ */
1812
+ getFilesFromEvent: d.func,
1813
+ /**
1814
+ * Cb for when closing the file dialog with no selection
1815
+ */
1816
+ onFileDialogCancel: d.func,
1817
+ /**
1818
+ * Cb for when opening the file dialog
1819
+ */
1820
+ onFileDialogOpen: d.func,
1821
+ /**
1822
+ * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
1823
+ * to open the file picker instead of using an `<input type="file">` click event.
1824
+ */
1825
+ useFsAccessApi: d.bool,
1826
+ /**
1827
+ * Set to true to focus the root element on render
1828
+ */
1829
+ autoFocus: d.bool,
1830
+ /**
1831
+ * Cb for when the `dragenter` event occurs.
1832
+ *
1833
+ * @param {DragEvent} event
1834
+ */
1835
+ onDragEnter: d.func,
1836
+ /**
1837
+ * Cb for when the `dragleave` event occurs
1838
+ *
1839
+ * @param {DragEvent} event
1840
+ */
1841
+ onDragLeave: d.func,
1842
+ /**
1843
+ * Cb for when the `dragover` event occurs
1844
+ *
1845
+ * @param {DragEvent} event
1846
+ */
1847
+ onDragOver: d.func,
1848
+ /**
1849
+ * Cb for when the `drop` event occurs.
1850
+ * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
1851
+ *
1852
+ * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.
1853
+ * `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.
1854
+ * If `multiple` is set to false and additional files are dropped,
1855
+ * all files besides the first will be rejected.
1856
+ * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.
1857
+ *
1858
+ * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.
1859
+ * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.
1860
+ *
1861
+ * `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.
1862
+ * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:
1863
+ *
1864
+ * ```js
1865
+ * function onDrop(acceptedFiles) {
1866
+ * const req = request.post('/upload')
1867
+ * acceptedFiles.forEach(file => {
1868
+ * req.attach(file.name, file)
1869
+ * })
1870
+ * req.end(callback)
1871
+ * }
1872
+ * ```
1873
+ *
1874
+ * @param {File[]} acceptedFiles
1875
+ * @param {FileRejection[]} fileRejections
1876
+ * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
1877
+ */
1878
+ onDrop: d.func,
1879
+ /**
1880
+ * Cb for when the `drop` event occurs.
1881
+ * Note that if no files are accepted, this callback is not invoked.
1882
+ *
1883
+ * @param {File[]} files
1884
+ * @param {(DragEvent|Event)} event
1885
+ */
1886
+ onDropAccepted: d.func,
1887
+ /**
1888
+ * Cb for when the `drop` event occurs.
1889
+ * Note that if no files are rejected, this callback is not invoked.
1890
+ *
1891
+ * @param {FileRejection[]} fileRejections
1892
+ * @param {(DragEvent|Event)} event
1893
+ */
1894
+ onDropRejected: d.func,
1895
+ /**
1896
+ * Cb for when there's some error from any of the promises.
1897
+ *
1898
+ * @param {Error} error
1899
+ */
1900
+ onError: d.func,
1901
+ /**
1902
+ * Custom validation function. It must return null if there's no errors.
1903
+ * @param {File} file
1904
+ * @returns {FileError|FileError[]|null}
1905
+ */
1906
+ validator: d.func
1907
+ };
1908
+ var $a = {
1909
+ isFocused: !1,
1910
+ isFileDialogActive: !1,
1911
+ isDragActive: !1,
1912
+ isDragAccept: !1,
1913
+ isDragReject: !1,
1914
+ acceptedFiles: [],
1915
+ fileRejections: []
1916
+ };
1917
+ function yi() {
1918
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = u(u({}, hi), a), t = i.accept, e = i.disabled, n = i.getFilesFromEvent, o = i.maxSize, c = i.minSize, r = i.multiple, f = i.maxFiles, h = i.onDragEnter, x = i.onDragLeave, k = i.onDragOver, P = i.onDrop, R = i.onDropAccepted, j = i.onDropRejected, I = i.onFileDialogCancel, T = i.onFileDialogOpen, ea = i.useFsAccessApi, na = i.autoFocus, G = i.preventDropOnDocument, D = i.noClick, S = i.noKeyboard, W = i.noDrag, z = i.noDragEventsBubbling, J = i.onError, q = i.validator, $ = Y(function() {
1919
+ return Rt(t);
1920
+ }, [t]), pa = Y(function() {
1921
+ return It(t);
1922
+ }, [t]), X = Y(function() {
1923
+ return typeof T == "function" ? T : oi;
1924
+ }, [T]), L = Y(function() {
1925
+ return typeof I == "function" ? I : oi;
1926
+ }, [I]), b = fa(null), y = fa(null), oa = Oi(Yt, $a), ca = Ra(oa, 2), A = ca[0], m = ca[1], F = A.isFocused, la = A.isFileDialogActive, N = fa(typeof window < "u" && window.isSecureContext && ea && Pt()), Q = function() {
1927
+ !N.current && la && setTimeout(function() {
1928
+ if (y.current) {
1929
+ var l = y.current.files;
1930
+ l.length || (m({
1931
+ type: "closeDialog"
1932
+ }), L());
1933
+ }
1934
+ }, 300);
1935
+ };
1936
+ ia(function() {
1937
+ return window.addEventListener("focus", Q, !1), function() {
1938
+ window.removeEventListener("focus", Q, !1);
1939
+ };
1940
+ }, [y, la, L, N]);
1941
+ var C = fa([]), Ma = function(l) {
1942
+ b.current && b.current.contains(l.target) || (l.preventDefault(), C.current = []);
1943
+ };
1944
+ ia(function() {
1945
+ return G && (document.addEventListener("dragover", ni, !1), document.addEventListener("drop", Ma, !1)), function() {
1946
+ G && (document.removeEventListener("dragover", ni), document.removeEventListener("drop", Ma));
1947
+ };
1948
+ }, [b, G]), ia(function() {
1949
+ return !e && na && b.current && b.current.focus(), function() {
1950
+ };
1951
+ }, [b, na, e]);
1952
+ var M = E(function(p) {
1953
+ J ? J(p) : console.error(p);
1954
+ }, [J]), Ka = E(function(p) {
1955
+ p.preventDefault(), p.persist(), ma(p), C.current = [].concat(Mt(C.current), [p.target]), va(p) && Promise.resolve(n(p)).then(function(l) {
1956
+ if (!(ha(p) && !z)) {
1957
+ var v = l.length, g = v > 0 && At({
1958
+ files: l,
1959
+ accept: $,
1960
+ minSize: c,
1961
+ maxSize: o,
1962
+ multiple: r,
1963
+ maxFiles: f,
1964
+ validator: q
1965
+ }), w = v > 0 && !g;
1966
+ m({
1967
+ isDragAccept: g,
1968
+ isDragReject: w,
1969
+ isDragActive: !0,
1970
+ type: "setDraggedFiles"
1971
+ }), h && h(p);
1972
+ }
1973
+ }).catch(function(l) {
1974
+ return M(l);
1975
+ });
1976
+ }, [n, h, M, z, $, c, o, r, f, q]), Ha = E(function(p) {
1977
+ p.preventDefault(), p.persist(), ma(p);
1978
+ var l = va(p);
1979
+ if (l && p.dataTransfer)
1980
+ try {
1981
+ p.dataTransfer.dropEffect = "copy";
1982
+ } catch {
1983
+ }
1984
+ return l && k && k(p), !1;
1985
+ }, [k, z]), Wa = E(function(p) {
1986
+ p.preventDefault(), p.persist(), ma(p);
1987
+ var l = C.current.filter(function(g) {
1988
+ return b.current && b.current.contains(g);
1989
+ }), v = l.indexOf(p.target);
1990
+ v !== -1 && l.splice(v, 1), C.current = l, !(l.length > 0) && (m({
1991
+ type: "setDraggedFiles",
1992
+ isDragActive: !1,
1993
+ isDragAccept: !1,
1994
+ isDragReject: !1
1995
+ }), va(p) && x && x(p));
1996
+ }, [b, x, z]), ra = E(function(p, l) {
1997
+ var v = [], g = [];
1998
+ p.forEach(function(w) {
1999
+ var aa = fi(w, $), Z = Ra(aa, 2), Da = Z[0], Ea = Z[1], za = vi(w, c, o), ua = Ra(za, 2), Aa = ua[0], Fa = ua[1], Oa = q ? q(w) : null;
2000
+ if (Da && Aa && !Oa)
2001
+ v.push(w);
2002
+ else {
2003
+ var _a = [Ea, Fa];
2004
+ Oa && (_a = _a.concat(Oa)), g.push({
2005
+ file: w,
2006
+ errors: _a.filter(function(Ei) {
2007
+ return Ei;
2008
+ })
2009
+ });
2010
+ }
2011
+ }), (!r && v.length > 1 || r && f >= 1 && v.length > f) && (v.forEach(function(w) {
2012
+ g.push({
2013
+ file: w,
2014
+ errors: [zt]
2015
+ });
2016
+ }), v.splice(0)), m({
2017
+ acceptedFiles: v,
2018
+ fileRejections: g,
2019
+ isDragReject: g.length > 0,
2020
+ type: "setFiles"
2021
+ }), P && P(v, g, l), g.length > 0 && j && j(g, l), v.length > 0 && R && R(v, l);
2022
+ }, [m, r, $, c, o, f, P, R, j, q]), sa = E(function(p) {
2023
+ p.preventDefault(), p.persist(), ma(p), C.current = [], va(p) && Promise.resolve(n(p)).then(function(l) {
2024
+ ha(p) && !z || ra(l, p);
2025
+ }).catch(function(l) {
2026
+ return M(l);
2027
+ }), m({
2028
+ type: "reset"
2029
+ });
2030
+ }, [n, ra, M, z]), B = E(function() {
2031
+ if (N.current) {
2032
+ m({
2033
+ type: "openDialog"
2034
+ }), X();
2035
+ var p = {
2036
+ multiple: r,
2037
+ types: pa
2038
+ };
2039
+ window.showOpenFilePicker(p).then(function(l) {
2040
+ return n(l);
2041
+ }).then(function(l) {
2042
+ ra(l, null), m({
2043
+ type: "closeDialog"
2044
+ });
2045
+ }).catch(function(l) {
2046
+ St(l) ? (L(l), m({
2047
+ type: "closeDialog"
2048
+ })) : Ct(l) ? (N.current = !1, y.current ? (y.current.value = null, y.current.click()) : M(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."))) : M(l);
2049
+ });
2050
+ return;
2051
+ }
2052
+ y.current && (m({
2053
+ type: "openDialog"
2054
+ }), X(), y.current.value = null, y.current.click());
2055
+ }, [m, X, L, ea, ra, M, pa, r]), Na = E(function(p) {
2056
+ !b.current || !b.current.isEqualNode(p.target) || (p.key === " " || p.key === "Enter" || p.keyCode === 32 || p.keyCode === 13) && (p.preventDefault(), B());
2057
+ }, [b, B]), Ba = E(function() {
2058
+ m({
2059
+ type: "focus"
2060
+ });
2061
+ }, []), Ua = E(function() {
2062
+ m({
2063
+ type: "blur"
2064
+ });
2065
+ }, []), Za = E(function() {
2066
+ D || (_t() ? setTimeout(B, 0) : B());
2067
+ }, [D, B]), U = function(l) {
2068
+ return e ? null : l;
2069
+ }, ja = function(l) {
2070
+ return S ? null : U(l);
2071
+ }, da = function(l) {
2072
+ return W ? null : U(l);
2073
+ }, ma = function(l) {
2074
+ z && l.stopPropagation();
2075
+ }, ki = Y(function() {
2076
+ return function() {
2077
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = p.refKey, v = l === void 0 ? "ref" : l, g = p.role, w = p.onKeyDown, aa = p.onFocus, Z = p.onBlur, Da = p.onClick, Ea = p.onDragEnter, za = p.onDragOver, ua = p.onDragLeave, Aa = p.onDrop, Fa = ya(p, $t);
2078
+ return u(u(qa({
2079
+ onKeyDown: ja(O(w, Na)),
2080
+ onFocus: ja(O(aa, Ba)),
2081
+ onBlur: ja(O(Z, Ua)),
2082
+ onClick: U(O(Da, Za)),
2083
+ onDragEnter: da(O(Ea, Ka)),
2084
+ onDragOver: da(O(za, Ha)),
2085
+ onDragLeave: da(O(ua, Wa)),
2086
+ onDrop: da(O(Aa, sa)),
2087
+ role: typeof g == "string" && g !== "" ? g : "presentation"
2088
+ }, v, b), !e && !S ? {
2089
+ tabIndex: 0
2090
+ } : {}), Fa);
2091
+ };
2092
+ }, [b, Na, Ba, Ua, Za, Ka, Ha, Wa, sa, S, W, e]), ji = E(function(p) {
2093
+ p.stopPropagation();
2094
+ }, []), Di = Y(function() {
2095
+ return function() {
2096
+ var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = p.refKey, v = l === void 0 ? "ref" : l, g = p.onChange, w = p.onClick, aa = ya(p, Lt), Z = qa({
2097
+ accept: $,
2098
+ multiple: r,
2099
+ type: "file",
2100
+ style: {
2101
+ border: 0,
2102
+ clip: "rect(0, 0, 0, 0)",
2103
+ clipPath: "inset(50%)",
2104
+ height: "1px",
2105
+ margin: "0 -1px -1px 0",
2106
+ overflow: "hidden",
2107
+ padding: 0,
2108
+ position: "absolute",
2109
+ width: "1px",
2110
+ whiteSpace: "nowrap"
2111
+ },
2112
+ onChange: U(O(g, sa)),
2113
+ onClick: U(O(w, ji)),
2114
+ tabIndex: -1
2115
+ }, v, y);
2116
+ return u(u({}, Z), aa);
2117
+ };
2118
+ }, [y, t, r, sa, e]);
2119
+ return u(u({}, A), {}, {
2120
+ isFocused: F && !e,
2121
+ getRootProps: ki,
2122
+ getInputProps: Di,
2123
+ rootRef: b,
2124
+ inputRef: y,
2125
+ open: U(B)
2126
+ });
2127
+ }
2128
+ function Yt(a, i) {
2129
+ switch (i.type) {
2130
+ case "focus":
2131
+ return u(u({}, a), {}, {
2132
+ isFocused: !0
2133
+ });
2134
+ case "blur":
2135
+ return u(u({}, a), {}, {
2136
+ isFocused: !1
2137
+ });
2138
+ case "openDialog":
2139
+ return u(u({}, $a), {}, {
2140
+ isFileDialogActive: !0
2141
+ });
2142
+ case "closeDialog":
2143
+ return u(u({}, a), {}, {
2144
+ isFileDialogActive: !1
2145
+ });
2146
+ case "setDraggedFiles":
2147
+ return u(u({}, a), {}, {
2148
+ isDragActive: i.isDragActive,
2149
+ isDragAccept: i.isDragAccept,
2150
+ isDragReject: i.isDragReject
2151
+ });
2152
+ case "setFiles":
2153
+ return u(u({}, a), {}, {
2154
+ acceptedFiles: i.acceptedFiles,
2155
+ fileRejections: i.fileRejections,
2156
+ isDragReject: i.isDragReject
2157
+ });
2158
+ case "reset":
2159
+ return u({}, $a);
2160
+ default:
2161
+ return a;
2162
+ }
2163
+ }
2164
+ function oi() {
2165
+ }
2166
+ const Vt = ka("div").withConfig({ shouldForwardProp: _i })(
2167
+ ({ disabled: a, isDragAccept: i, isDragReject: t }) => Pa`
2168
+ ${_("defaultFields.default")};
2169
+ ${_("fileDrops.default")};
2170
+ ${i && _("fileDrops.dragAccept")};
2171
+ ${t && Pa`
2172
+ border-color: ${_("defaultFields.variants.danger.borderColor")};
2173
+ ${_("fileDrops.dragReject")}
2174
+ `};
2175
+ position: relative;
2176
+ display: flex;
2177
+ justify-content: center;
2178
+ align-items: center;
2179
+ padding: md;
2180
+ transition: medium;
2181
+ ${Ii};
2182
+
2183
+ &:focus {
2184
+ ${_("defaultFields.focused.default")};
2185
+ }
2186
+
2187
+ ${a && Pa`
2188
+ ${_("defaultFields.disabled")};
2189
+ ${_("fileDrops.disabled")};
2190
+ `};
2191
+ `
2192
+ ), Gt = ka.div`
2193
+ width: 100%;
2194
+ height: 100%;
2195
+ display: flex;
2196
+ flex-direction: column;
2197
+ align-items: center;
2198
+ justify-content: center;
2199
+ `, wi = ka.imgBox`
2200
+ max-height: 100%;
2201
+ max-width: 100%;
2202
+ object-fit: contain;
2203
+ `, Jt = ka.div`
2204
+ position: absolute;
2205
+ top: ${_.space("md")};
2206
+ right: ${_.space("md")};
2207
+ display: flex;
2208
+ gap: xs;
2209
+ `, ci = ({
2210
+ disabled: a,
2211
+ fileButtonText: i = "Browse file",
2212
+ hint: t = "Drag & drop a file here or",
2213
+ openFile: e,
2214
+ title: n = "Add file"
2215
+ }) => /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(ga, { color: "neutral-90", m: "0", variant: "h4" }, n), /* @__PURE__ */ s.createElement(ga, { color: "beige-70", m: "0", mt: "xs", variant: "sm" }, t), /* @__PURE__ */ s.createElement(xa, { disabled: a, mt: "lg", onClick: e, type: "button" }, i)), Xt = ({
2216
+ file: a,
2217
+ fileName: i,
2218
+ forceFileType: t,
2219
+ previewButtonText: e = "Preview"
2220
+ }) => {
2221
+ const n = typeof a == "string", o = Si(a, t), c = a instanceof File ? Ci(a) : null, r = n && i ? i : ri(a);
2222
+ return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(o, { color: "neutral-90", h: 50, mb: "lg", w: 50 }), /* @__PURE__ */ s.createElement(ga, { color: "neutral-90", lines: 1, m: 0, maxWidth: 600, variant: "h4" }, r), !n && /* @__PURE__ */ s.createElement(ga, { color: "beige-70", fontWeight: "medium", lines: 1, m: 0, variant: "sm" }, c), n && /* @__PURE__ */ s.createElement(xa, { as: "a", href: a, mt: "md", rel: "noopener", size: "sm", target: "_blank" }, /* @__PURE__ */ s.createElement("span", null, e), /* @__PURE__ */ s.createElement(Ri, null)));
2223
+ }, Qt = ({
2224
+ disabled: a,
2225
+ error: i,
2226
+ file: t,
2227
+ fileName: e,
2228
+ fileUrl: n,
2229
+ forceFileType: o,
2230
+ isAnImage: c,
2231
+ isHoverAccept: r,
2232
+ isHoverReject: f,
2233
+ openFile: h,
2234
+ wordings: x
2235
+ }) => r ? /* @__PURE__ */ s.createElement(Gi, null) : f ? /* @__PURE__ */ s.createElement(Bi, null) : i ? /* @__PURE__ */ s.createElement(ci, { openFile: h, ...x }) : n ? c ? /* @__PURE__ */ s.createElement(wi, { src: n }) : /* @__PURE__ */ s.createElement(Xt, { file: t, fileName: e, forceFileType: o, ...x }) : /* @__PURE__ */ s.createElement(ci, { disabled: a, openFile: h, ...x }), li = /\.(jpeg|jpg|gif|png|webp)$/, ae = (a) => a ? typeof a == "string" ? !!ri(a).match(li) : a.name ? !!a.name.match(li) : !1 : !1, ie = (a) => {
2236
+ let i;
2237
+ if (a instanceof File ? i = a.preview : i = a, typeof i != "string" || i.startsWith("blob:"))
2238
+ return i;
2239
+ if (typeof window < "u")
2240
+ try {
2241
+ return new URL(i);
2242
+ } catch {
2243
+ return;
2244
+ }
2245
+ }, te = yi, ee = 2e6, ne = "ERROR_INVALID_TYPE", pe = "ERROR_INVALID_SIZE", oe = Pi(
2246
+ ({
2247
+ accept: a = {
2248
+ "image/*": []
2249
+ },
2250
+ children: i = Qt,
2251
+ dataTestId: t,
2252
+ disabled: e,
2253
+ fileName: n,
2254
+ forceFileType: o,
2255
+ handleAddFile: c,
2256
+ handleRemoveFile: r,
2257
+ isClearable: f,
2258
+ isEditable: h,
2259
+ maxSize: x = ee,
2260
+ multiple: k,
2261
+ name: P,
2262
+ onBlur: R,
2263
+ onChange: j,
2264
+ onError: I,
2265
+ value: T,
2266
+ wordings: ea,
2267
+ ...na
2268
+ }, G) => {
2269
+ const [D, S] = Ya(T), [W, z] = Ya(void 0);
2270
+ ia(() => {
2271
+ S(T);
2272
+ }, [T]), ia(() => () => D && D instanceof File && URL.revokeObjectURL(D.preview), [D]);
2273
+ const J = (A) => {
2274
+ const [m] = A;
2275
+ m instanceof File && (m.preview = URL.createObjectURL(m)), S(m), z(null);
2276
+ const F = Va({ name: P, value: m });
2277
+ j && j(F), c && c(F);
2278
+ }, q = (A, m) => {
2279
+ let F;
2280
+ A.map(({ errors: la }) => {
2281
+ la.map((N) => {
2282
+ const { code: Q, message: C } = N;
2283
+ Q === "file-invalid-type" ? F = ne : Q === "file-too-large" ? F = pe : F = C;
2284
+ });
2285
+ }), S(null), z(F), I && I(F), j && j(m), R && R();
2286
+ }, $ = (A) => {
2287
+ A.preventDefault(), S(null), z(null);
2288
+ const m = Va({ name: P, value: null });
2289
+ j && j(m), r && r(m);
2290
+ }, { getInputProps: pa, getRootProps: X, isDragAccept: L, isDragActive: b, isDragReject: y, open: oa } = te({
2291
+ accept: a,
2292
+ disabled: e,
2293
+ maxSize: x,
2294
+ multiple: k,
2295
+ noClick: !0,
2296
+ onDropAccepted: J,
2297
+ onDropRejected: q
2298
+ }), ca = (A) => I(A);
2299
+ return /* @__PURE__ */ s.createElement(
2300
+ Vt,
2301
+ {
2302
+ ...X({
2303
+ "data-testid": t,
2304
+ handleRemoveFile: r,
2305
+ isEditable: h,
2306
+ isDragActive: b,
2307
+ isDragAccept: L,
2308
+ isDragReject: y,
2309
+ isClearable: f,
2310
+ disabled: e,
2311
+ ref: G
2312
+ }),
2313
+ ...na
2314
+ },
2315
+ /* @__PURE__ */ s.createElement(
2316
+ "input",
2317
+ {
2318
+ ...pa({ disabled: e, multiple: k, name: P, onError: ca }),
2319
+ style: { display: "block", opacity: 0, height: 0, width: 0 }
2320
+ }
2321
+ ),
2322
+ /* @__PURE__ */ s.createElement(Gt, null, i({
2323
+ disabled: e,
2324
+ error: W,
2325
+ file: D,
2326
+ fileName: n,
2327
+ fileUrl: D && ie(D),
2328
+ forceFileType: o,
2329
+ isAnImage: o === "image" || ae(D),
2330
+ isHoverAccept: L,
2331
+ isHoverReject: y,
2332
+ openFile: oa,
2333
+ wordings: ea
2334
+ }), !!D && (W || h || f) && /* @__PURE__ */ s.createElement(Jt, null, (W || h) && /* @__PURE__ */ s.createElement(xa, { onClick: oa, shape: "circle", size: "sm", type: "button", variant: "tertiary" }, /* @__PURE__ */ s.createElement(Mi, null)), f && /* @__PURE__ */ s.createElement(xa, { danger: !0, onClick: $, shape: "circle", size: "sm", type: "button" }, /* @__PURE__ */ s.createElement(it, null))))
2335
+ );
2336
+ }
2337
+ );
2338
+ oe.displayName = "FileDrop";
2339
+ const ge = wi;
2340
+ export {
2341
+ Mi as E,
2342
+ oe as F,
2343
+ ge as I,
2344
+ Bi as N,
2345
+ Gi as P,
2346
+ it as T
2347
+ };