@adyen/bento-vue2 1.81.0 → 1.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (580) hide show
  1. package/README.md +1 -1
  2. package/dist/@types/components.d.ts +196 -0
  3. package/dist/@types/index.d.ts +17585 -0
  4. package/dist/@types/use-form-v4.d.ts +86 -0
  5. package/dist/accordion.js +6 -0
  6. package/dist/accordion.js.map +1 -0
  7. package/dist/action-bar.js +5 -0
  8. package/dist/action-bar.js.map +1 -0
  9. package/dist/alert.js +8 -0
  10. package/dist/alert.js.map +1 -0
  11. package/dist/assets/accordion-item.css +1 -0
  12. package/dist/assets/action-bar.css +1 -0
  13. package/dist/assets/ai-button.css +1 -0
  14. package/dist/assets/alert.css +1 -0
  15. package/dist/assets/avatar.css +1 -0
  16. package/dist/assets/base-button.css +1 -0
  17. package/dist/assets/base-modal.css +1 -0
  18. package/dist/assets/button-actions-with-menu.css +1 -0
  19. package/dist/assets/button-actions.css +1 -0
  20. package/dist/assets/button.css +1 -0
  21. package/dist/assets/calendar.css +1 -0
  22. package/dist/assets/card.css +1 -0
  23. package/dist/assets/checkbox-group.css +1 -0
  24. package/dist/assets/checkbox-input.css +1 -0
  25. package/dist/assets/checkbox.css +1 -0
  26. package/dist/assets/chip.css +1 -0
  27. package/dist/assets/code-snippet.css +1 -0
  28. package/dist/assets/controls-group.css +1 -0
  29. package/dist/assets/copy.css +1 -0
  30. package/dist/assets/country.css +1 -0
  31. package/dist/assets/currency.css +1 -0
  32. package/dist/assets/dashboard-section.css +1 -0
  33. package/dist/assets/dashed-underline.css +1 -0
  34. package/dist/assets/data-grid-template.css +1 -0
  35. package/dist/assets/data-grid.css +1 -0
  36. package/dist/assets/date-picker.css +1 -0
  37. package/dist/assets/date-range-picker.css +1 -0
  38. package/dist/assets/date.css +1 -0
  39. package/dist/assets/dialog-page.css +1 -0
  40. package/dist/assets/divider.css +1 -0
  41. package/dist/assets/dropdown-default-textbox.css +1 -0
  42. package/dist/assets/dropdown-tag.css +1 -0
  43. package/dist/assets/dropdown.css +1 -0
  44. package/dist/assets/empty-state.css +1 -0
  45. package/dist/assets/field-label.css +1 -0
  46. package/dist/assets/file-uploader.css +1 -0
  47. package/dist/assets/filter-bar.css +1 -0
  48. package/dist/assets/fixed-scroller.css +1 -0
  49. package/dist/assets/focus-trap.css +1 -0
  50. package/dist/assets/footer-actions.css +1 -0
  51. package/dist/assets/form-layout-title.css +1 -0
  52. package/dist/assets/grid-layout.css +1 -0
  53. package/dist/assets/header-meta.css +1 -0
  54. package/dist/assets/header-with-views.css +1 -0
  55. package/dist/assets/header.css +1 -0
  56. package/dist/assets/index.css +1 -0
  57. package/dist/assets/info-icon.css +1 -0
  58. package/dist/assets/input-field-password.css +1 -0
  59. package/dist/assets/input-field-phone-number.css +1 -0
  60. package/dist/assets/input-field.css +1 -0
  61. package/dist/assets/inspector.css +1 -0
  62. package/dist/assets/layout-row.css +1 -0
  63. package/dist/assets/link.css +1 -0
  64. package/dist/assets/listbox-option-tag.css +1 -0
  65. package/dist/assets/loading-indicator.css +1 -0
  66. package/dist/assets/main.css +1 -0
  67. package/dist/assets/modal-fullscreen.css +1 -0
  68. package/dist/assets/pagination.css +1 -0
  69. package/dist/assets/payment-method.css +1 -0
  70. package/dist/assets/popper-container.css +1 -0
  71. package/dist/assets/promo-banner.css +1 -0
  72. package/dist/assets/radio-group.css +1 -0
  73. package/dist/assets/radio-input.css +1 -0
  74. package/dist/assets/rich-text-editor.css +1 -0
  75. package/dist/assets/search-bar.css +1 -0
  76. package/dist/assets/secondary-nav.css +1 -0
  77. package/dist/assets/segmented-control.css +1 -0
  78. package/dist/assets/selection-card-group.css +1 -0
  79. package/dist/assets/sidepanel.css +1 -0
  80. package/dist/assets/status.css +1 -0
  81. package/dist/assets/step.css +1 -0
  82. package/dist/assets/structured-list-item.css +1 -0
  83. package/dist/assets/summary-grid.css +1 -0
  84. package/dist/assets/tab.css +1 -0
  85. package/dist/assets/tag.css +1 -0
  86. package/dist/assets/textarea.css +1 -0
  87. package/dist/assets/timeline-item.css +1 -0
  88. package/dist/assets/toast.css +1 -0
  89. package/dist/assets/toggle.css +1 -0
  90. package/dist/assets/tooltip.css +1 -0
  91. package/dist/assets/tutorial.css +1 -0
  92. package/dist/assets/typography.css +1 -0
  93. package/dist/assets/use-cached-selected-values.css +1 -0
  94. package/dist/avatar.js +5 -0
  95. package/dist/avatar.js.map +1 -0
  96. package/dist/button.js +18 -0
  97. package/dist/button.js.map +1 -0
  98. package/dist/card.js +7 -0
  99. package/dist/card.js.map +1 -0
  100. package/dist/checkbox.js +11 -0
  101. package/dist/checkbox.js.map +1 -0
  102. package/dist/chip.js +5 -0
  103. package/dist/chip.js.map +1 -0
  104. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  105. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  106. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  107. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  108. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  109. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  110. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  111. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  112. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  113. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  114. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  115. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  116. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  117. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  118. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  119. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  120. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
  121. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
  122. package/dist/chunks/accordion-item.G1q4zgBG.js +117 -0
  123. package/dist/chunks/accordion-item.G1q4zgBG.js.map +1 -0
  124. package/dist/chunks/action-bar.Dhl3T4j-.js +160 -0
  125. package/dist/chunks/action-bar.Dhl3T4j-.js.map +1 -0
  126. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  127. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  128. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  129. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  130. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  131. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  132. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  133. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  134. package/dist/chunks/ai-button.DBwtNkyS.js +67 -0
  135. package/dist/chunks/ai-button.DBwtNkyS.js.map +1 -0
  136. package/dist/chunks/alert.SZPP58tl.js +103 -0
  137. package/dist/chunks/alert.SZPP58tl.js.map +1 -0
  138. package/dist/chunks/aria-label.CaUURpnB.js +13 -0
  139. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -0
  140. package/dist/chunks/avatar.CeDqq2Z-.js +71 -0
  141. package/dist/chunks/avatar.CeDqq2Z-.js.map +1 -0
  142. package/dist/chunks/base-button.BdST9XT3.js +86 -0
  143. package/dist/chunks/base-button.BdST9XT3.js.map +1 -0
  144. package/dist/chunks/base-modal.C-UqIAY8.js +310 -0
  145. package/dist/chunks/base-modal.C-UqIAY8.js.map +1 -0
  146. package/dist/chunks/bin.Ddb69cr1.js +24 -0
  147. package/dist/chunks/bin.Ddb69cr1.js.map +1 -0
  148. package/dist/chunks/button-actions-with-menu.KKq9Cuk1.js +85 -0
  149. package/dist/chunks/button-actions-with-menu.KKq9Cuk1.js.map +1 -0
  150. package/dist/chunks/button-actions.N3D-Bb_x.js +1035 -0
  151. package/dist/chunks/button-actions.N3D-Bb_x.js.map +1 -0
  152. package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
  153. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
  154. package/dist/chunks/button.CS_kdxYh.js +110 -0
  155. package/dist/chunks/button.CS_kdxYh.js.map +1 -0
  156. package/dist/chunks/calendar.Bhj58zR3.js +1832 -0
  157. package/dist/chunks/calendar.Bhj58zR3.js.map +1 -0
  158. package/dist/chunks/card.BYWF_Zvo.js +137 -0
  159. package/dist/chunks/card.BYWF_Zvo.js.map +1 -0
  160. package/dist/chunks/checkbox-group.CIIa-cYP.js +142 -0
  161. package/dist/chunks/checkbox-group.CIIa-cYP.js.map +1 -0
  162. package/dist/chunks/checkbox-input.B0NsfSNR.js +117 -0
  163. package/dist/chunks/checkbox-input.B0NsfSNR.js.map +1 -0
  164. package/dist/chunks/checkbox.CiWvdg8S.js +178 -0
  165. package/dist/chunks/checkbox.CiWvdg8S.js.map +1 -0
  166. package/dist/chunks/checkmark-circle-fill.BttTCjrM.js +24 -0
  167. package/dist/chunks/checkmark-circle-fill.BttTCjrM.js.map +1 -0
  168. package/dist/chunks/checkmark-small.DVDtD4HQ.js +24 -0
  169. package/dist/chunks/checkmark-small.DVDtD4HQ.js.map +1 -0
  170. package/dist/chunks/chevron-down.eYtgv5ly.js +24 -0
  171. package/dist/chunks/chevron-down.eYtgv5ly.js.map +1 -0
  172. package/dist/chunks/chevron-left.BS24hEFa.js +43 -0
  173. package/dist/chunks/chevron-left.BS24hEFa.js.map +1 -0
  174. package/dist/chunks/chevron-up.d8cwIlA_.js +24 -0
  175. package/dist/chunks/chevron-up.d8cwIlA_.js.map +1 -0
  176. package/dist/chunks/chip.B0DRDvaa.js +63 -0
  177. package/dist/chunks/chip.B0DRDvaa.js.map +1 -0
  178. package/dist/chunks/click-outside.C1Ud8AA2.js +23 -0
  179. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -0
  180. package/dist/chunks/code-snippet.BMzhRl4c.js +268 -0
  181. package/dist/chunks/code-snippet.BMzhRl4c.js.map +1 -0
  182. package/dist/chunks/codemirror.Cy7iSLbd.js +14628 -0
  183. package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -0
  184. package/dist/chunks/constructNow.BhymNmy5.js +8 -0
  185. package/dist/chunks/constructNow.BhymNmy5.js.map +1 -0
  186. package/dist/chunks/controls-group.GchVWe7h.js +84 -0
  187. package/dist/chunks/controls-group.GchVWe7h.js.map +1 -0
  188. package/dist/chunks/copy.DauzzgJV.js +96 -0
  189. package/dist/chunks/copy.DauzzgJV.js.map +1 -0
  190. package/dist/chunks/country.B3z3-QRY.js +69 -0
  191. package/dist/chunks/country.B3z3-QRY.js.map +1 -0
  192. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  193. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  194. package/dist/chunks/cross-circle-fill-small.DfxDedRr.js +24 -0
  195. package/dist/chunks/cross-circle-fill-small.DfxDedRr.js.map +1 -0
  196. package/dist/chunks/cross-circle-fill.DTDtgLMf.js +24 -0
  197. package/dist/chunks/cross-circle-fill.DTDtgLMf.js.map +1 -0
  198. package/dist/chunks/cross-small.CoQUe8SS.js +24 -0
  199. package/dist/chunks/cross-small.CoQUe8SS.js.map +1 -0
  200. package/dist/chunks/cross.CC_B-vG-.js +24 -0
  201. package/dist/chunks/cross.CC_B-vG-.js.map +1 -0
  202. package/dist/chunks/currency.Cwhzzxw2.js +114 -0
  203. package/dist/chunks/currency.Cwhzzxw2.js.map +1 -0
  204. package/dist/chunks/dashboard-section.CgAfEay4.js +102 -0
  205. package/dist/chunks/dashboard-section.CgAfEay4.js.map +1 -0
  206. package/dist/chunks/dashed-underline.CMdNukpN.js +77 -0
  207. package/dist/chunks/dashed-underline.CMdNukpN.js.map +1 -0
  208. package/dist/chunks/data-grid-template.keys.VezYtHtM.js +5 -0
  209. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -0
  210. package/dist/chunks/data-grid-template.m4hsFMe2.js +111 -0
  211. package/dist/chunks/data-grid-template.m4hsFMe2.js.map +1 -0
  212. package/dist/chunks/data-grid.rAVOFiTv.js +3294 -0
  213. package/dist/chunks/data-grid.rAVOFiTv.js.map +1 -0
  214. package/dist/chunks/date-format.B8RU7D42.js +17 -0
  215. package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
  216. package/dist/chunks/date-picker.nLuHJgOC.js +169 -0
  217. package/dist/chunks/date-picker.nLuHJgOC.js.map +1 -0
  218. package/dist/chunks/date-picker.types.Ckt7zxGy.js +5 -0
  219. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -0
  220. package/dist/chunks/date-range-picker.D2MKhVMf.js +906 -0
  221. package/dist/chunks/date-range-picker.D2MKhVMf.js.map +1 -0
  222. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js +5 -0
  223. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -0
  224. package/dist/chunks/date.C1z2TXzM.js +160 -0
  225. package/dist/chunks/date.C1z2TXzM.js.map +1 -0
  226. package/dist/chunks/debounce.DUTu11PS.js +10 -0
  227. package/dist/chunks/debounce.DUTu11PS.js.map +1 -0
  228. package/dist/chunks/delight.CDBAFnwC.js +5 -0
  229. package/dist/chunks/delight.CDBAFnwC.js.map +1 -0
  230. package/dist/chunks/delight.xKDCvvaS.js +5 -0
  231. package/dist/chunks/delight.xKDCvvaS.js.map +1 -0
  232. package/dist/chunks/dialog-page.krM2wQpm.js +131 -0
  233. package/dist/chunks/dialog-page.krM2wQpm.js.map +1 -0
  234. package/dist/chunks/differenceInMonths.Cab3nOsb.js +1590 -0
  235. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +1 -0
  236. package/dist/chunks/directive.Cbdox5VL.js +23 -0
  237. package/dist/chunks/directive.Cbdox5VL.js.map +1 -0
  238. package/dist/chunks/divider.DX5gwN7p.js +35 -0
  239. package/dist/chunks/divider.DX5gwN7p.js.map +1 -0
  240. package/dist/chunks/dot.BW9SneIk.js +24 -0
  241. package/dist/chunks/dot.BW9SneIk.js.map +1 -0
  242. package/dist/chunks/dropdown-default-textbox.uWZMxeI7.js +350 -0
  243. package/dist/chunks/dropdown-default-textbox.uWZMxeI7.js.map +1 -0
  244. package/dist/chunks/dropdown-tag.BnqOBdMp.js +294 -0
  245. package/dist/chunks/dropdown-tag.BnqOBdMp.js.map +1 -0
  246. package/dist/chunks/dropdown.BijF56Y7.js +714 -0
  247. package/dist/chunks/dropdown.BijF56Y7.js.map +1 -0
  248. package/dist/chunks/empty-state.BsdRxzS2.js +106 -0
  249. package/dist/chunks/empty-state.BsdRxzS2.js.map +1 -0
  250. package/dist/chunks/es6.MoTTyETW.js +12 -0
  251. package/dist/chunks/es6.MoTTyETW.js.map +1 -0
  252. package/dist/chunks/events.BQOQSSb7.js +44 -0
  253. package/dist/chunks/events.BQOQSSb7.js.map +1 -0
  254. package/dist/chunks/expand.Bbielaja.js +24 -0
  255. package/dist/chunks/expand.Bbielaja.js.map +1 -0
  256. package/dist/chunks/field-label.DHGAa4cq.js +121 -0
  257. package/dist/chunks/field-label.DHGAa4cq.js.map +1 -0
  258. package/dist/chunks/file-uploader.D2s5qccE.js +1917 -0
  259. package/dist/chunks/file-uploader.D2s5qccE.js.map +1 -0
  260. package/dist/chunks/filter-bar.DISI1jAU.js +2472 -0
  261. package/dist/chunks/filter-bar.DISI1jAU.js.map +1 -0
  262. package/dist/chunks/fixed-scroller.CgVOf5VE.js +106 -0
  263. package/dist/chunks/fixed-scroller.CgVOf5VE.js.map +1 -0
  264. package/dist/chunks/focus-trap.CNIU5jOz.js +1168 -0
  265. package/dist/chunks/focus-trap.CNIU5jOz.js.map +1 -0
  266. package/dist/chunks/footer-actions.CFZwikg0.js +96 -0
  267. package/dist/chunks/footer-actions.CFZwikg0.js.map +1 -0
  268. package/dist/chunks/form-field.D_2g7vaP.js +10 -0
  269. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -0
  270. package/dist/chunks/form-layout-title.B_oVSX5b.js +197 -0
  271. package/dist/chunks/form-layout-title.B_oVSX5b.js.map +1 -0
  272. package/dist/chunks/form-layout.types.bZW9iR6_.js +5 -0
  273. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -0
  274. package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
  275. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
  276. package/dist/chunks/get-slot-text.Bjb9dTSV.js +12 -0
  277. package/dist/chunks/get-slot-text.Bjb9dTSV.js.map +1 -0
  278. package/dist/chunks/getRoundingMethod.C3eaeGLR.js +10 -0
  279. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -0
  280. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js +484 -0
  281. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +1 -0
  282. package/dist/chunks/grid-layout.1aIiz2N_.js +76 -0
  283. package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -0
  284. package/dist/chunks/header-meta.D0UdrdVf.js +170 -0
  285. package/dist/chunks/header-meta.D0UdrdVf.js.map +1 -0
  286. package/dist/chunks/header-with-views.BjZkBSI0.js +1591 -0
  287. package/dist/chunks/header-with-views.BjZkBSI0.js.map +1 -0
  288. package/dist/chunks/header.QYvN86kI.js +103 -0
  289. package/dist/chunks/header.QYvN86kI.js.map +1 -0
  290. package/dist/chunks/image.C2D2hKat.js +56 -0
  291. package/dist/chunks/image.C2D2hKat.js.map +1 -0
  292. package/dist/chunks/index.B6WW_F-J.js +31 -0
  293. package/dist/chunks/index.B6WW_F-J.js.map +1 -0
  294. package/dist/chunks/index.BDK4hwK_.js +593 -0
  295. package/dist/chunks/index.BDK4hwK_.js.map +1 -0
  296. package/dist/chunks/index.Cl4_42j5.js +8 -0
  297. package/dist/chunks/index.Cl4_42j5.js.map +1 -0
  298. package/dist/chunks/info-icon.iKLaNff6.js +37 -0
  299. package/dist/chunks/info-icon.iKLaNff6.js.map +1 -0
  300. package/dist/chunks/info.CcMZ4aGg.js +24 -0
  301. package/dist/chunks/info.CcMZ4aGg.js.map +1 -0
  302. package/dist/chunks/input-field-password.BeRjHhu6.js +270 -0
  303. package/dist/chunks/input-field-password.BeRjHhu6.js.map +1 -0
  304. package/dist/chunks/input-field-phone-number.DLOUy8_E.js +3324 -0
  305. package/dist/chunks/input-field-phone-number.DLOUy8_E.js.map +1 -0
  306. package/dist/chunks/input-field.B1Q1-zLo.js +171 -0
  307. package/dist/chunks/input-field.B1Q1-zLo.js.map +1 -0
  308. package/dist/chunks/inspector.C6bbjQC0.js +117 -0
  309. package/dist/chunks/inspector.C6bbjQC0.js.map +1 -0
  310. package/dist/chunks/inspector.types.DyHwE18g.js +5 -0
  311. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -0
  312. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  313. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  314. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  315. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  316. package/dist/chunks/keyboard-navigation.DWmhelVv.js +66 -0
  317. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -0
  318. package/dist/chunks/layout-row.DwdZbpVG.js +87 -0
  319. package/dist/chunks/layout-row.DwdZbpVG.js.map +1 -0
  320. package/dist/chunks/link.D8qpqg3W.js +95 -0
  321. package/dist/chunks/link.D8qpqg3W.js.map +1 -0
  322. package/dist/chunks/listbox-option-tag.CK628fjn.js +44 -0
  323. package/dist/chunks/listbox-option-tag.CK628fjn.js.map +1 -0
  324. package/dist/chunks/loading-indicator.PxbRzshH.js +42 -0
  325. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -0
  326. package/dist/chunks/minus-small.DJacLGTw.js +27 -0
  327. package/dist/chunks/minus-small.DJacLGTw.js.map +1 -0
  328. package/dist/chunks/modal-fullscreen.UqZgbaDw.js +221 -0
  329. package/dist/chunks/modal-fullscreen.UqZgbaDw.js.map +1 -0
  330. package/dist/chunks/modal.DCgB0pA2.js +445 -0
  331. package/dist/chunks/modal.DCgB0pA2.js.map +1 -0
  332. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  333. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  334. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  335. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  336. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  337. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  338. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  339. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  340. package/dist/chunks/on-click-outside.D9aY9g8G.js +101 -0
  341. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -0
  342. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  343. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  344. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  345. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  346. package/dist/chunks/pagination.CylAnOyc.js +338 -0
  347. package/dist/chunks/pagination.CylAnOyc.js.map +1 -0
  348. package/dist/chunks/payment-method.C8Ie97qE.js +76 -0
  349. package/dist/chunks/payment-method.C8Ie97qE.js.map +1 -0
  350. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  351. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  352. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  353. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  354. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  355. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  356. package/dist/chunks/popover.types.WDh5ggr3.js +6 -0
  357. package/dist/chunks/popover.types.WDh5ggr3.js.map +1 -0
  358. package/dist/chunks/popper-container.Cdokz_NE.js +1404 -0
  359. package/dist/chunks/popper-container.Cdokz_NE.js.map +1 -0
  360. package/dist/chunks/promo-banner.DikQcQU2.js +70 -0
  361. package/dist/chunks/promo-banner.DikQcQU2.js.map +1 -0
  362. package/dist/chunks/radio-group.Cr7UcYij.js +178 -0
  363. package/dist/chunks/radio-group.Cr7UcYij.js.map +1 -0
  364. package/dist/chunks/radio-input.kzb4gxLW.js +90 -0
  365. package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -0
  366. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  367. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  368. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  369. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  370. package/dist/chunks/refresh.arF7jP-l.js +24 -0
  371. package/dist/chunks/refresh.arF7jP-l.js.map +1 -0
  372. package/dist/chunks/resize.Bqks3WUm.js +15 -0
  373. package/dist/chunks/resize.Bqks3WUm.js.map +1 -0
  374. package/dist/chunks/rich-text-editor.NKPFP8Ss.js +6203 -0
  375. package/dist/chunks/rich-text-editor.NKPFP8Ss.js.map +1 -0
  376. package/dist/chunks/search-bar.VctrP6lp.js +98 -0
  377. package/dist/chunks/search-bar.VctrP6lp.js.map +1 -0
  378. package/dist/chunks/search.D53Ia3rC.js +24 -0
  379. package/dist/chunks/search.D53Ia3rC.js.map +1 -0
  380. package/dist/chunks/secondary-nav.jpMeWSZj.js +112 -0
  381. package/dist/chunks/secondary-nav.jpMeWSZj.js.map +1 -0
  382. package/dist/chunks/segmented-control._CuB62pG.js +113 -0
  383. package/dist/chunks/segmented-control._CuB62pG.js.map +1 -0
  384. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  385. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  386. package/dist/chunks/selection-card-group.jykyd9iE.js +240 -0
  387. package/dist/chunks/selection-card-group.jykyd9iE.js.map +1 -0
  388. package/dist/chunks/show.B_mKPF6I.js +43 -0
  389. package/dist/chunks/show.B_mKPF6I.js.map +1 -0
  390. package/dist/chunks/sidepanel.CP-b8Zcg.js +210 -0
  391. package/dist/chunks/sidepanel.CP-b8Zcg.js.map +1 -0
  392. package/dist/chunks/status.types.BpMK-6IT.js +36 -0
  393. package/dist/chunks/status.types.BpMK-6IT.js.map +1 -0
  394. package/dist/chunks/step.4hMAy8v_.js +217 -0
  395. package/dist/chunks/step.4hMAy8v_.js.map +1 -0
  396. package/dist/chunks/structured-list-item.BLJabJwA.js +90 -0
  397. package/dist/chunks/structured-list-item.BLJabJwA.js.map +1 -0
  398. package/dist/chunks/success.DhioLvPD.js +5 -0
  399. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  400. package/dist/chunks/success.nNwxJRBS.js +5 -0
  401. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  402. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js +6 -0
  403. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -0
  404. package/dist/chunks/summary-grid.types.B0w2S_9r.js +337 -0
  405. package/dist/chunks/summary-grid.types.B0w2S_9r.js.map +1 -0
  406. package/dist/chunks/tab.DXE68qVf.js +192 -0
  407. package/dist/chunks/tab.DXE68qVf.js.map +1 -0
  408. package/dist/chunks/tabs.keys.B4qGhjp2.js +7 -0
  409. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -0
  410. package/dist/chunks/tag.7fp_M9Au.js +44 -0
  411. package/dist/chunks/tag.7fp_M9Au.js.map +1 -0
  412. package/dist/chunks/textarea.Ci9sKDFy.js +173 -0
  413. package/dist/chunks/textarea.Ci9sKDFy.js.map +1 -0
  414. package/dist/chunks/timeline-item.DcIQ-Q1T.js +255 -0
  415. package/dist/chunks/timeline-item.DcIQ-Q1T.js.map +1 -0
  416. package/dist/chunks/toast.DGvNp4ZM.js +171 -0
  417. package/dist/chunks/toast.DGvNp4ZM.js.map +1 -0
  418. package/dist/chunks/toggle.D2wmNu7m.js +108 -0
  419. package/dist/chunks/toggle.D2wmNu7m.js.map +1 -0
  420. package/dist/chunks/tooltip.BcQ24pKP.js +189 -0
  421. package/dist/chunks/tooltip.BcQ24pKP.js.map +1 -0
  422. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  423. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  424. package/dist/chunks/tutorial.Co2F7l0B.js +347 -0
  425. package/dist/chunks/tutorial.Co2F7l0B.js.map +1 -0
  426. package/dist/chunks/typography.hlOAxsEn.js +87 -0
  427. package/dist/chunks/typography.hlOAxsEn.js.map +1 -0
  428. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  429. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  430. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  431. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  432. package/dist/chunks/use-bento-toast-controller.BhtohoS1.js +52 -0
  433. package/dist/chunks/use-bento-toast-controller.BhtohoS1.js.map +1 -0
  434. package/dist/chunks/use-cached-selected-values.BYiLNRRi.js +1343 -0
  435. package/dist/chunks/use-cached-selected-values.BYiLNRRi.js.map +1 -0
  436. package/dist/chunks/use-country-items.B3Cd3Tdo.js +30 -0
  437. package/dist/chunks/use-country-items.B3Cd3Tdo.js.map +1 -0
  438. package/dist/chunks/use-country-phon-code.Bui3zD6W.js +5621 -0
  439. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -0
  440. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js +13 -0
  441. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -0
  442. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +17 -0
  443. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -0
  444. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js +12 -0
  445. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -0
  446. package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
  447. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -0
  448. package/dist/chunks/warning-filled.CbJ1pcB2.js +24 -0
  449. package/dist/chunks/warning-filled.CbJ1pcB2.js.map +1 -0
  450. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  451. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  452. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  453. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  454. package/dist/click-outside.js +5 -0
  455. package/dist/click-outside.js.map +1 -0
  456. package/dist/code-snippet.js +8 -0
  457. package/dist/code-snippet.js.map +1 -0
  458. package/dist/country.js +12 -0
  459. package/dist/country.js.map +1 -0
  460. package/dist/currency.js +6 -0
  461. package/dist/currency.js.map +1 -0
  462. package/dist/dashboard-template.js +6 -0
  463. package/dist/dashboard-template.js.map +1 -0
  464. package/dist/dashed-underline.js +5 -0
  465. package/dist/dashed-underline.js.map +1 -0
  466. package/dist/data-grid-template.js +5 -0
  467. package/dist/data-grid-template.js.map +1 -0
  468. package/dist/data-grid.js +13 -0
  469. package/dist/data-grid.js.map +1 -0
  470. package/dist/date-picker.js +10 -0
  471. package/dist/date-picker.js.map +1 -0
  472. package/dist/date-range-picker.js +10 -0
  473. package/dist/date-range-picker.js.map +1 -0
  474. package/dist/date.js +6 -0
  475. package/dist/date.js.map +1 -0
  476. package/dist/divider.js +5 -0
  477. package/dist/divider.js.map +1 -0
  478. package/dist/dropdown.js +16 -0
  479. package/dist/dropdown.js.map +1 -0
  480. package/dist/empty-state.js +8 -0
  481. package/dist/empty-state.js.map +1 -0
  482. package/dist/file-uploader.js +5 -0
  483. package/dist/file-uploader.js.map +1 -0
  484. package/dist/filter-bar.js +9 -0
  485. package/dist/filter-bar.js.map +1 -0
  486. package/dist/focus-trap.js +5 -0
  487. package/dist/focus-trap.js.map +1 -0
  488. package/dist/fonts/fonts.css +2 -0
  489. package/dist/form-layout.js +8 -0
  490. package/dist/form-layout.js.map +1 -0
  491. package/dist/header-with-views.js +5 -0
  492. package/dist/header-with-views.js.map +1 -0
  493. package/dist/header.js +5 -0
  494. package/dist/header.js.map +1 -0
  495. package/dist/image.js +7 -0
  496. package/dist/image.js.map +1 -0
  497. package/dist/index.js +442 -0
  498. package/dist/index.js.map +1 -0
  499. package/dist/info-icon.js +5 -0
  500. package/dist/info-icon.js.map +1 -0
  501. package/dist/input-field-password.js +10 -0
  502. package/dist/input-field-password.js.map +1 -0
  503. package/dist/input-field-phone-number.js +6 -0
  504. package/dist/input-field-phone-number.js.map +1 -0
  505. package/dist/input-field.js +10 -0
  506. package/dist/input-field.js.map +1 -0
  507. package/dist/inspector.js +7 -0
  508. package/dist/inspector.js.map +1 -0
  509. package/dist/internal.js +45 -0
  510. package/dist/internal.js.map +1 -0
  511. package/dist/layout.js +6 -0
  512. package/dist/layout.js.map +1 -0
  513. package/dist/link.js +6 -0
  514. package/dist/link.js.map +1 -0
  515. package/dist/loading-indicator.js +6 -0
  516. package/dist/loading-indicator.js.map +1 -0
  517. package/dist/menu.js +6 -0
  518. package/dist/menu.js.map +1 -0
  519. package/dist/modal-fullscreen.js +6 -0
  520. package/dist/modal-fullscreen.js.map +1 -0
  521. package/dist/modal.js +14 -0
  522. package/dist/modal.js.map +1 -0
  523. package/dist/pagination.js +5 -0
  524. package/dist/pagination.js.map +1 -0
  525. package/dist/payment-method.js +7 -0
  526. package/dist/payment-method.js.map +1 -0
  527. package/dist/popover.js +7 -0
  528. package/dist/popover.js.map +1 -0
  529. package/dist/popper-container.js +9 -0
  530. package/dist/popper-container.js.map +1 -0
  531. package/dist/promo-banner.js +7 -0
  532. package/dist/promo-banner.js.map +1 -0
  533. package/dist/radio-group.js +9 -0
  534. package/dist/radio-group.js.map +1 -0
  535. package/dist/rich-text-editor.js +5 -0
  536. package/dist/rich-text-editor.js.map +1 -0
  537. package/dist/search-bar.js +9 -0
  538. package/dist/search-bar.js.map +1 -0
  539. package/dist/secondary-nav.js +5 -0
  540. package/dist/secondary-nav.js.map +1 -0
  541. package/dist/segmented-control.js +7 -0
  542. package/dist/segmented-control.js.map +1 -0
  543. package/dist/selection-card.js +7 -0
  544. package/dist/selection-card.js.map +1 -0
  545. package/dist/sidepanel.js +7 -0
  546. package/dist/sidepanel.js.map +1 -0
  547. package/dist/status.js +6 -0
  548. package/dist/status.js.map +1 -0
  549. package/dist/stepper.js +8 -0
  550. package/dist/stepper.js.map +1 -0
  551. package/dist/structured-list.js +6 -0
  552. package/dist/structured-list.js.map +1 -0
  553. package/dist/styles/bento-dark.css +2133 -0
  554. package/dist/styles/bento-light.css +2132 -0
  555. package/dist/styles/bento.css +2132 -0
  556. package/dist/styles/legacy.css +2132 -0
  557. package/dist/styles/styleguide.css +2187 -0
  558. package/dist/styles/utility.css +1002 -0
  559. package/dist/summary-grid.js +12 -0
  560. package/dist/summary-grid.js.map +1 -0
  561. package/dist/tabs.js +6 -0
  562. package/dist/tabs.js.map +1 -0
  563. package/dist/tag.js +6 -0
  564. package/dist/tag.js.map +1 -0
  565. package/dist/textarea.js +5 -0
  566. package/dist/textarea.js.map +1 -0
  567. package/dist/timeline.js +10 -0
  568. package/dist/timeline.js.map +1 -0
  569. package/dist/toast.js +5 -0
  570. package/dist/toast.js.map +1 -0
  571. package/dist/toggle.js +7 -0
  572. package/dist/toggle.js.map +1 -0
  573. package/dist/tutorial.js +5 -0
  574. package/dist/tutorial.js.map +1 -0
  575. package/dist/typography.js +8 -0
  576. package/dist/typography.js.map +1 -0
  577. package/dist/use-form-v4.js +8300 -0
  578. package/dist/use-form-v4.js.map +1 -0
  579. package/dist/web-types.json +17262 -0
  580. package/package.json +27 -24
@@ -0,0 +1,1917 @@
1
+ import { defineComponent as N, ref as h, onUnmounted as Va, onMounted as Ca, computed as m, watch as ta, reactive as ea, toRef as ia, nextTick as Ba } from "vue";
2
+ /* empty css */
3
+ import { n as g } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
+ import { W as ka } from "./warning-filled.CbJ1pcB2.js";
5
+ import { B as Oa } from "./alert.SZPP58tl.js";
6
+ import { B as na, d as Ha } from "./typography.hlOAxsEn.js";
7
+ import { u as W } from "./index.B6WW_F-J.js";
8
+ import { g as w } from "./generate-uid.NJ8tVoha.js";
9
+ import { u as qa } from "./form-field.D_2g7vaP.js";
10
+ import { i as Ra } from "./index.Cl4_42j5.js";
11
+ import { B as Ua } from "./bin.Ddb69cr1.js";
12
+ import { C as Aa } from "./checkmark-circle-fill.BttTCjrM.js";
13
+ import { C as Za } from "./cross.CC_B-vG-.js";
14
+ import { R as Pa } from "./refresh.arF7jP-l.js";
15
+ import { B as Na } from "./button.CS_kdxYh.js";
16
+ import { B as Wa } from "./link.D8qpqg3W.js";
17
+ import { B as Ga } from "./loading-indicator.PxbRzshH.js";
18
+ import { b as Ya } from "./tooltip.BcQ24pKP.js";
19
+ import { F as Xa, E as Ja } from "./field-label.DHGAa4cq.js";
20
+ import "../assets/file-uploader.css";
21
+ let ma = 0;
22
+ const Ka = {
23
+ beforeCreate() {
24
+ this.uuid = ma.toString(), ma += 1;
25
+ }
26
+ };
27
+ var Qa = function() {
28
+ var a = this, t = a._self._c;
29
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#001222", d: "M2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.25H14.75V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V10.25H2.75V12Z" } }), t("path", { attrs: { fill: "#001222", d: "M12.0605 5L11 6.06055L8.75 3.81055V11.75H7.25V3.81055L5 6.06055L3.93945 5L8 0.939453L12.0605 5Z" } })]);
30
+ }, ai = [], ii = /* @__PURE__ */ g(
31
+ Ka,
32
+ Qa,
33
+ ai,
34
+ !1,
35
+ null,
36
+ null
37
+ );
38
+ const ti = ii.exports, ei = /* @__PURE__ */ N({
39
+ __name: "file-uploader-file-card-animation",
40
+ props: {
41
+ name: null,
42
+ showFileIcon: { type: Boolean }
43
+ },
44
+ setup(e) {
45
+ return { __sfc: !0, isVue2: Ra };
46
+ }
47
+ });
48
+ var ni = function() {
49
+ var a = this, t = a._self._c, i = a._self._setupProxy;
50
+ return i.isVue2 ? t("Transition", { attrs: { name: a.name, mode: "out-in", css: a.showFileIcon } }, [a._t("default")], 2) : t("TransitionGroup", { attrs: { name: a.name, css: a.showFileIcon } }, [a._t("default")], 2);
51
+ }, oi = [], pi = /* @__PURE__ */ g(
52
+ ei,
53
+ ni,
54
+ oi,
55
+ !1,
56
+ null,
57
+ null
58
+ );
59
+ const li = pi.exports;
60
+ function si(e, a) {
61
+ const t = h(!1);
62
+ let i;
63
+ function o() {
64
+ i && i.disconnect();
65
+ }
66
+ return Va(() => {
67
+ o();
68
+ }), Ca(() => {
69
+ o(), i = new IntersectionObserver(
70
+ (r) => {
71
+ t.value = !r[0].isIntersecting;
72
+ },
73
+ {
74
+ root: a.value,
75
+ threshold: 1
76
+ }
77
+ ), i.observe(e.value.$el);
78
+ }), t;
79
+ }
80
+ const ua = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
81
+ function Ea(e, a) {
82
+ const t = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), ua.length - 1));
83
+ return Intl.NumberFormat(e, {
84
+ style: "unit",
85
+ unit: ua[t]
86
+ }).format(a / 1024 ** t);
87
+ }
88
+ var y = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(y || {}), x = /* @__PURE__ */ ((e) => (e.ERROR_SIZE = "error-size", e.ERROR_LOAD = "error-load", e.ERROR_DIMENSIONS = "error-dimensions", e.ERROR_TYPE = "error-type", e))(x || {}), P = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(P || {}), u = /* @__PURE__ */ ((e) => (e.TABLE = "table", e.IMAGE = "image", e.VIDEO = "video", e.AUDIO = "audio", e.TEXT = "text", e.PDF = "pdf", e.SLIDES = "slides", e.COMPRESSED = "compressed", e.GENERIC = "generic", e))(u || {});
89
+ const ci = [
90
+ "application/msword",
91
+ // .doc
92
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
93
+ // .docx
94
+ "application/rtf"
95
+ // .rtf
96
+ ], ri = [
97
+ "application/vnd.ms-excel",
98
+ // .xls
99
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
100
+ // .xlsx
101
+ "application/vnd.oasis.opendocument.spreadsheet",
102
+ //.ods
103
+ "application/vnd.apple.numbers",
104
+ // .numbers
105
+ "application/x-iwork-numbers-sffnumbers",
106
+ // .numbers
107
+ "text/csv"
108
+ // .csv
109
+ ], di = [
110
+ "application/vnd.ms-powerpoint",
111
+ // .ppt
112
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation",
113
+ // .pptx
114
+ "application/vnd.oasis.opendocument.presentation"
115
+ // .odp
116
+ ], mi = [
117
+ "application/zip",
118
+ // .zip
119
+ "application/vnd.rar",
120
+ // .rar
121
+ "application/x-7z-compressed",
122
+ // .7z
123
+ "application/gzip",
124
+ // .gz, .tar.gz, .tgz
125
+ "application/x-tar",
126
+ // .tar
127
+ "application/x-bzip2",
128
+ // .bz2
129
+ "application/x-xz",
130
+ // .xz
131
+ "application/x-lzma",
132
+ // .lzma
133
+ "application/x-compress",
134
+ // .Z
135
+ "application/vnd.ms-cab-compressed"
136
+ // .cab
137
+ ];
138
+ function ui(e) {
139
+ return ri.includes(e.type) ? u.TABLE : e.type.startsWith("text/") || ci.includes(e.type) ? u.TEXT : e.type.startsWith("image/") ? u.IMAGE : e.type.startsWith("video/") ? u.VIDEO : e.type.startsWith("audio/") ? u.AUDIO : e.type === "application/pdf" ? u.PDF : di.includes(e.type) ? u.SLIDES : mi.includes(e.type) ? u.COMPRESSED : u.GENERIC;
140
+ }
141
+ function vi(e, a) {
142
+ if (!a)
143
+ return !0;
144
+ const t = a.split(",").map((i) => i.trim());
145
+ for (const i of t)
146
+ if (i.startsWith(".")) {
147
+ if (e.name.endsWith(i))
148
+ return !0;
149
+ } else if (i.endsWith("/*")) {
150
+ const o = i.split("/")[0];
151
+ if (e.type.startsWith(o))
152
+ return !0;
153
+ } else if (e.type === i)
154
+ return !0;
155
+ return !1;
156
+ }
157
+ function fi(e, a, t) {
158
+ const i = new FileReader(), o = e;
159
+ if (!vi(o.data, a)) {
160
+ o.state = y.ERROR, o.errors.push(x.ERROR_TYPE);
161
+ return;
162
+ }
163
+ i.onload = (r) => {
164
+ if (t && o.type === u.IMAGE) {
165
+ const p = new Blob([r.target.result], { type: o.data.type }), s = URL.createObjectURL(p), d = new Image();
166
+ d.onload = function() {
167
+ (d.width > t.width || d.height > t.height) && (o.state = y.ERROR, o.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
168
+ }, d.onerror = function() {
169
+ URL.revokeObjectURL(s);
170
+ }, d.src = s;
171
+ }
172
+ }, i.onprogress = (r) => {
173
+ r.lengthComputable && (o.progress = r.loaded / r.total * 100);
174
+ }, i.onloadend = () => {
175
+ o.state !== y.ERROR && (o.state = y.SUCCESS), o.progress = null;
176
+ }, i.onerror = () => {
177
+ o.state = y.ERROR, o.errors.push(x.ERROR_LOAD), o.progress = null;
178
+ }, i.readAsArrayBuffer(o.data);
179
+ }
180
+ let va = 0;
181
+ const xi = {
182
+ beforeCreate() {
183
+ this.uuid = va.toString(), va += 1;
184
+ }
185
+ };
186
+ var gi = function() {
187
+ var a = this, t = a._self._c;
188
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")" } }, [t("path", { attrs: { fill: "#001222", d: "M7.10655 3.02949C8.98948 1.14706 12.0441 1.14675 13.9269 3.02949C15.8095 4.91225 15.8093 7.96692 13.9269 9.84981L11.1564 12.6203L10.0958 11.5598L12.8663 8.78926C14.1629 7.49216 14.1631 5.38701 12.8663 4.09004C11.5694 2.79309 9.46424 2.79339 8.1671 4.09004L2.72667 9.53047C1.95976 10.2976 1.95963 11.5427 2.72667 12.3098C3.49372 13.0766 4.7389 13.0766 5.50597 12.3098L10.9464 6.86934C11.183 6.63224 11.1832 6.24693 10.9464 6.00996C10.7094 5.77301 10.3242 5.77331 10.087 6.00996L4.4962 11.6008L3.43565 10.5402L9.02647 4.94942C9.8494 4.12698 11.1842 4.12668 12.0069 4.94942C12.8296 5.77217 12.8293 7.107 12.0069 7.92989L6.56651 13.3703C5.21366 14.723 3.01896 14.723 1.66612 13.3703C0.313294 12.0175 0.313425 9.82283 1.66612 8.46992L7.10655 3.02949Z" } })]), t("defs", [t("clipPath", { attrs: { id: "uia-ui-assets/icons-16-attachment__a" + a.uuid } }, [t("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
189
+ }, hi = [], bi = /* @__PURE__ */ g(
190
+ xi,
191
+ gi,
192
+ hi,
193
+ !1,
194
+ null,
195
+ null
196
+ );
197
+ const _i = bi.exports;
198
+ let fa = 0;
199
+ const wi = {
200
+ beforeCreate() {
201
+ this.uuid = fa.toString(), fa += 1;
202
+ }
203
+ };
204
+ var yi = function() {
205
+ var a = this, t = a._self._c;
206
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#001222", "fill-rule": "evenodd", d: "M11 0.25C12.5188 0.25 13.75 1.48122 13.75 3V7C13.75 7.85389 13.3607 8.6167 12.75 9.12109V10C12.75 10.8539 12.3607 11.6167 11.75 12.1211V13C11.75 14.5188 10.5188 15.75 9 15.75H7C5.48122 15.75 4.25 14.5188 4.25 13V12.1211C3.63934 11.6167 3.25 10.8539 3.25 10V9.12109C2.63934 8.6167 2.25 7.85389 2.25 7V3C2.25 1.48122 3.48122 0.25 5 0.25H11ZM10 12.75H6C5.91565 12.75 5.83241 12.7438 5.75 12.7363V13C5.75 13.6904 6.30964 14.25 7 14.25H9C9.69036 14.25 10.25 13.6904 10.25 13V12.7363C10.1676 12.7438 10.0843 12.75 10 12.75ZM11 9.75H5C4.91565 9.75 4.83241 9.74376 4.75 9.73633V10C4.75 10.6904 5.30964 11.25 6 11.25H10C10.6904 11.25 11.25 10.6904 11.25 10V9.73633C11.1676 9.74376 11.0843 9.75 11 9.75ZM5 1.75C4.30964 1.75 3.75 2.30964 3.75 3V7C3.75 7.69036 4.30964 8.25 5 8.25H11C11.6904 8.25 12.25 7.69036 12.25 7V3C12.25 2.30964 11.6904 1.75 11 1.75H5Z", "clip-rule": "evenodd" } })]);
207
+ }, Ci = [], ki = /* @__PURE__ */ g(
208
+ wi,
209
+ yi,
210
+ Ci,
211
+ !1,
212
+ null,
213
+ null
214
+ );
215
+ const Ri = ki.exports;
216
+ let xa = 0;
217
+ const Ei = {
218
+ beforeCreate() {
219
+ this.uuid = xa.toString(), xa += 1;
220
+ }
221
+ };
222
+ var ji = function() {
223
+ var a = this, t = a._self._c;
224
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#001222", d: "M2.25 0.25V15.75H13.75V4.68934L9.31066 0.25H2.25ZM7.25 1.75V6.75H12.25V14.25H3.75V1.75H7.25ZM12.1893 5.25H8.75V1.81066L12.1893 5.25Z" } })]);
225
+ }, zi = [], Ii = /* @__PURE__ */ g(
226
+ Ei,
227
+ ji,
228
+ zi,
229
+ !1,
230
+ null,
231
+ null
232
+ );
233
+ const Fi = Ii.exports;
234
+ let ga = 0;
235
+ const $i = {
236
+ beforeCreate() {
237
+ this.uuid = ga.toString(), ga += 1;
238
+ }
239
+ };
240
+ var Ti = function() {
241
+ var a = this, t = a._self._c;
242
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#001222", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), t("path", { attrs: { fill: "#001222", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), t("path", { attrs: { fill: "#001222", d: "M2.24609 0.25V15.75H13.7461V4.68934L9.30675 0.25H2.24609ZM7.24609 1.75V6.75H12.2461V14.25H3.74609V1.75H7.24609ZM12.1854 5.25H8.74609V1.81066L12.1854 5.25Z" } })]);
243
+ }, Li = [], Si = /* @__PURE__ */ g(
244
+ $i,
245
+ Ti,
246
+ Li,
247
+ !1,
248
+ null,
249
+ null
250
+ );
251
+ const Mi = Si.exports;
252
+ let ha = 0;
253
+ const Di = {
254
+ beforeCreate() {
255
+ this.uuid = ha.toString(), ha += 1;
256
+ }
257
+ };
258
+ var Vi = function() {
259
+ var a = this, t = a._self._c;
260
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#001222", d: "M1.24609 12V5C1.24609 3.48579 2.48188 2.25 3.99609 2.25H7.30664L10.3066 5.25H11.9961C13.5103 5.25 14.7461 6.48579 14.7461 8V12C14.7461 13.5142 13.5103 14.75 11.9961 14.75H3.99609C2.48188 14.75 1.24609 13.5142 1.24609 12ZM2.74609 12C2.74609 12.6858 3.31031 13.25 3.99609 13.25H11.9961C12.6819 13.25 13.2461 12.6858 13.2461 12V8C13.2461 7.31421 12.6819 6.75 11.9961 6.75H9.68555L6.68555 3.75H3.99609C3.31031 3.75 2.74609 4.31421 2.74609 5V12Z" } })]);
261
+ }, Bi = [], Oi = /* @__PURE__ */ g(
262
+ Di,
263
+ Vi,
264
+ Bi,
265
+ !1,
266
+ null,
267
+ null
268
+ );
269
+ const Hi = Oi.exports;
270
+ let ba = 0;
271
+ const qi = {
272
+ beforeCreate() {
273
+ this.uuid = ba.toString(), ba += 1;
274
+ }
275
+ };
276
+ var Ui = function() {
277
+ var a = this, t = a._self._c;
278
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#001222", d: "M9.74609 3.74805C11.1268 3.74805 12.2461 4.86733 12.2461 6.24805C12.2461 7.62876 11.1268 8.74805 9.74609 8.74805C8.36538 8.74805 7.24609 7.62876 7.24609 6.24805C7.24609 4.86733 8.36538 3.74805 9.74609 3.74805ZM9.74609 5.24805C9.19381 5.24805 8.74609 5.69576 8.74609 6.24805C8.74609 6.80033 9.19381 7.24805 9.74609 7.24805C10.2984 7.24805 10.7461 6.80033 10.7461 6.24805C10.7461 5.69576 10.2984 5.24805 9.74609 5.24805Z" } }), t("path", { attrs: { fill: "#001222", d: "M11.9961 1.24805C13.5149 1.24805 14.7461 2.47926 14.7461 3.99805V11.998C14.7461 13.5168 13.5149 14.748 11.9961 14.748H3.99609C2.47731 14.748 1.24609 13.5168 1.24609 11.998V3.99805C1.24609 2.47926 2.47731 1.24805 3.99609 1.24805H11.9961ZM2.74609 11.3105V11.998C2.74609 12.6884 3.30574 13.248 3.99609 13.248H9.18359L4.99609 9.06055L2.74609 11.3105ZM3.99609 2.74805C3.30574 2.74805 2.74609 3.30769 2.74609 3.99805V9.18945L4.99609 6.93945L11.3047 13.248H11.9961C12.6864 13.248 13.2461 12.6884 13.2461 11.998V3.99805C13.2461 3.30769 12.6865 2.74805 11.9961 2.74805H3.99609Z" } })]);
279
+ }, Ai = [], Zi = /* @__PURE__ */ g(
280
+ qi,
281
+ Ui,
282
+ Ai,
283
+ !1,
284
+ null,
285
+ null
286
+ );
287
+ const Pi = Zi.exports;
288
+ let _a = 0;
289
+ const Ni = {
290
+ beforeCreate() {
291
+ this.uuid = _a.toString(), _a += 1;
292
+ }
293
+ };
294
+ var Wi = function() {
295
+ var a = this, t = a._self._c;
296
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")" } }, [t("path", { attrs: { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" } }), t("path", { attrs: { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" } })]), t("defs", [t("clipPath", { attrs: { id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid } }, [t("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
297
+ }, Gi = [], Yi = /* @__PURE__ */ g(
298
+ Ni,
299
+ Wi,
300
+ Gi,
301
+ !1,
302
+ null,
303
+ null
304
+ );
305
+ const Xi = Yi.exports;
306
+ let wa = 0;
307
+ const Ji = {
308
+ beforeCreate() {
309
+ this.uuid = wa.toString(), wa += 1;
310
+ }
311
+ };
312
+ var Ki = function() {
313
+ var a = this, t = a._self._c;
314
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#001222", d: "M5.68934 2.25H8.75V13.75H5.68934L2.68934 10.75H0.25V5.25H2.68934L5.68934 2.25ZM6.31066 3.75L3.31066 6.75H1.75V9.25H3.31066L6.31066 12.25H7.25V3.75H6.31066Z" } }), t("path", { attrs: { fill: "#001222", d: "M13.0111 4.99174C12.2099 4.19982 11.1294 3.75 10 3.75V2.25C11.53 2.25 12.9888 2.85964 14.0675 3.92684L14.0703 3.92966C15.1527 5.01199 15.75 6.47347 15.75 8C15.75 9.52995 15.1404 10.9888 14.0732 12.0675L14.0703 12.0703C12.988 13.1527 11.5265 13.75 10 13.75V12.25C11.1328 12.25 12.2107 11.8079 13.0082 11.0111C13.8002 10.21 14.25 9.1294 14.25 8C14.25 6.8672 13.8079 5.78927 13.0111 4.99174Z" } }), t("path", { attrs: { fill: "#001222", d: "M10 6.75V5.25C10.7257 5.25 11.4295 5.53694 11.9438 6.06319C12.4593 6.58041 12.75 7.26849 12.75 8C12.75 8.72573 12.4631 9.42951 11.9368 9.94383C11.4196 10.4593 10.7315 10.75 10 10.75V9.25C10.3268 9.25 10.6373 9.12206 10.8797 8.87967L10.8868 8.87265C11.1182 8.64727 11.25 8.33261 11.25 8C11.25 7.67317 11.1221 7.36272 10.8797 7.12033L10.8726 7.11321C10.6473 6.88175 10.3326 6.75 10 6.75Z" } })]);
315
+ }, Qi = [], at = /* @__PURE__ */ g(
316
+ Ji,
317
+ Ki,
318
+ Qi,
319
+ !1,
320
+ null,
321
+ null
322
+ );
323
+ const it = at.exports;
324
+ let ya = 0;
325
+ const tt = {
326
+ beforeCreate() {
327
+ this.uuid = ya.toString(), ya += 1;
328
+ }
329
+ };
330
+ var et = function() {
331
+ var a = this, t = a._self._c;
332
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#001222", d: "M12 1.25C13.5188 1.25 14.75 2.48122 14.75 4V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V4C1.25 2.48122 2.48122 1.25 4 1.25H12ZM6.75 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.75H6.75V13.25ZM2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H5.25V10.75H2.75V12ZM6.75 9.25H13.25V6.75H6.75V9.25ZM2.75 9.25H5.25V6.75H2.75V9.25ZM6.75 5.25H13.25V4C13.25 3.30964 12.6904 2.75 12 2.75H6.75V5.25ZM4 2.75C3.30964 2.75 2.75 3.30964 2.75 4V5.25H5.25V2.75H4Z" } })]);
333
+ }, nt = [], ot = /* @__PURE__ */ g(
334
+ tt,
335
+ et,
336
+ nt,
337
+ !1,
338
+ null,
339
+ null
340
+ );
341
+ const pt = ot.exports, lt = {
342
+ [u.AUDIO]: it,
343
+ [u.COMPRESSED]: Hi,
344
+ [u.GENERIC]: _i,
345
+ [u.IMAGE]: Pi,
346
+ [u.PDF]: Fi,
347
+ [u.SLIDES]: Ri,
348
+ [u.TABLE]: pt,
349
+ [u.TEXT]: Mi,
350
+ [u.VIDEO]: Xi
351
+ };
352
+ function st(e) {
353
+ return lt[e.type];
354
+ }
355
+ function ct(e) {
356
+ switch (e.type) {
357
+ case u.COMPRESSED:
358
+ case u.GENERIC:
359
+ return "grey";
360
+ case u.PDF:
361
+ case u.SLIDES:
362
+ return "orange";
363
+ case u.TEXT:
364
+ return "blue";
365
+ default:
366
+ return "green";
367
+ }
368
+ }
369
+ const rt = {
370
+ "en-US": {
371
+ cancel: "Cancel",
372
+ fileExceedsSizeLimit: "File exceeds size limit",
373
+ fileTypeMustBe: "File type must be {list}",
374
+ imageDimensionsExceedLimits: "Image dimensions exceed limits",
375
+ remove: "Remove",
376
+ retry: "Retry"
377
+ },
378
+ "ja-JP": {
379
+ cancel: "キャンセル",
380
+ remove: "削除",
381
+ retry: "再試行"
382
+ },
383
+ "pt-BR": {
384
+ cancel: "Cancelar",
385
+ remove: "Remover",
386
+ retry: "Tentar novamente"
387
+ }
388
+ }, dt = {
389
+ name: "file-uploader-file-card",
390
+ i18n: { messages: rt }
391
+ }, mt = /* @__PURE__ */ N({
392
+ ...dt,
393
+ props: {
394
+ file: null,
395
+ supportedFileTypes: { default: null },
396
+ readonly: { type: Boolean }
397
+ },
398
+ emits: ["cancel", "remove", "retry"],
399
+ setup(e, { expose: a, emit: t }) {
400
+ const i = e, o = 1200, { t: r, locale: p } = W(), s = h(null), d = h(null), v = h(null), C = w("file-errors-section"), B = w("cancel-file-button"), j = w("remove-file-button"), O = w("retry-file-button"), c = h(i.file.state === y.SUCCESS), T = m(() => URL.createObjectURL(i.file.data)), k = m(() => i.file.state === y.ERROR), H = m(() => i.file.errors.includes(x.ERROR_LOAD)), G = m(() => i.file.errors.includes(x.ERROR_SIZE)), Y = m(() => i.file.errors.includes(x.ERROR_DIMENSIONS)), X = m(() => i.file.errors.includes(x.ERROR_TYPE)), z = m(() => i.file.state === y.LOADING), R = m(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), I = m(() => Ea(p.value, i.file.data.size)), L = h(), q = h(), F = si(L, q), J = m(() => ({
401
+ "b-file-uploader-file-card--error": k.value
402
+ })), S = m(() => ({
403
+ [`b-file-uploader-file-card__icon--${ct(i.file)}`]: c.value,
404
+ "b-file-uploader-file-card__icon--error": k.value
405
+ })), K = m(() => z.value ? Ga : k.value ? ka : c.value ? st(i.file) : Aa);
406
+ ta(
407
+ () => i.file.state,
408
+ (Q) => {
409
+ if (Q === y.SUCCESS && !c.value) {
410
+ const D = setTimeout(() => {
411
+ c.value = !0, clearTimeout(D);
412
+ }, o);
413
+ }
414
+ }
415
+ );
416
+ function M() {
417
+ if (v.value) {
418
+ v.value.$el.focus();
419
+ return;
420
+ }
421
+ if (s.value) {
422
+ s.value.$el.focus();
423
+ return;
424
+ }
425
+ if (d.value) {
426
+ d.value.$el.focus();
427
+ return;
428
+ }
429
+ }
430
+ return a({
431
+ focus: M
432
+ }), { __sfc: !0, ICON_TIMER: o, props: i, emit: t, t: r, locale: p, removeFileButtonRef: s, cancelFileButtonRef: d, retryFileButtonRef: v, fileErrorsSectionId: C, cancelFileButtonId: B, removeFileButtonId: j, retryFileButtonId: O, showFileIcon: c, downloadUrl: T, hasError: k, hasLoadError: H, hasSizeError: G, hasDimensionsError: Y, hasTypeError: X, isLoading: z, progressLabel: R, sizeLabel: I, fileNameRef: L, fileNameContainerRef: q, isFileNameTruncated: F, conditionalClasses: J, conditionalIconClasses: S, fileUploaderIcon: K, focus: M, isVue2: Ra, FileUploaderFileCardAnimation: li, BinIcon: Ua, CrossIcon: Za, RefreshIcon: Pa, vBentoTooltipDirective: Ya, BentoButton: Na, BentoLink: Wa, BentoTypography: na };
433
+ }
434
+ });
435
+ var ut = function() {
436
+ var a = this, t = a._self._c, i = a._self._setupProxy;
437
+ return t("div", { staticClass: "b-file-uploader-file-card", class: i.conditionalClasses }, [t("div", { staticClass: "b-file-uploader-file-card__details" }, [t("div", { staticClass: "b-file-uploader-file-card__info" }, [t(i.FileUploaderFileCardAnimation, { attrs: { name: i.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": i.showFileIcon } }, [t(i.fileUploaderIcon, { key: JSON.stringify(i.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: i.conditionalIconClasses, attrs: { small: "", "aria-hidden": "true", "data-testid": "file-uploader-item-icon" } })], 1), t("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [t(i.BentoLink, { attrs: { "aria-hidden": "true", tabindex: "-1", download: a.file.data.name, to: i.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [t(i.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: i.isFileNameTruncated ? a.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [a._v(" " + a._s(a.file.data.name) + " ")])], 1)], 1), a.file.progress ? t(i.BentoTypography, { attrs: { el: "span" } }, [a._v(a._s(i.progressLabel))]) : a.file.data.size ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(i.sizeLabel) + " ")]) : a._e()], 1), i.hasSizeError || i.hasDimensionsError || i.hasTypeError && a.supportedFileTypes ? t("div", { attrs: { id: i.fileErrorsSectionId, role: "alert" } }, [i.hasSizeError ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileExceedsSizeLimit")) + " ")]) : a._e(), i.hasDimensionsError ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("imageDimensionsExceedLimits")) + " ")]) : a._e(), i.hasTypeError && a.supportedFileTypes ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileTypeMustBe", { list: a.supportedFileTypes })) + " ")]) : a._e()], 1) : a._e()]), a.readonly ? a._e() : t("div", { staticClass: "b-file-uploader-file-card__actions" }, [i.hasLoadError ? t(i.BentoButton, { ref: "retryFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.retryFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
438
+ return i.emit("retry");
439
+ } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
440
+ return [t(i.RefreshIcon, { attrs: { id: i.retryFileButtonId, "svg-title": `${i.t("retry")} - ${a.file.data.name} ` } })];
441
+ }, proxy: !0 }], null, !1, 4044719554) }, [a._v(" " + a._s(i.t("retry")) + " ")]) : a._e(), i.isLoading || i.hasError ? t(i.BentoButton, { ref: "cancelFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.cancelFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
442
+ return i.emit("cancel");
443
+ } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
444
+ return [t(i.CrossIcon, { attrs: { id: i.cancelFileButtonId, "svg-title": `${i.t("cancel")} - ${a.file.data.name}` } })];
445
+ }, proxy: !0 }], null, !1, 1610167681) }) : t(i.BentoButton, { ref: "removeFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.removeFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
446
+ return i.emit("remove");
447
+ } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
448
+ return [t(i.BinIcon, { attrs: { id: i.removeFileButtonId, "svg-title": `${i.t("remove")} - ${a.file.data.name}` } })];
449
+ }, proxy: !0 }], null, !1, 3607204026) })], 1)]);
450
+ }, vt = [], ft = /* @__PURE__ */ g(
451
+ mt,
452
+ ut,
453
+ vt,
454
+ !1,
455
+ null,
456
+ "d03f417e"
457
+ );
458
+ const xt = ft.exports, gt = {
459
+ "en-US": {
460
+ maxFileSize: "Max file size: {size}",
461
+ maxImageDimensions: "Max image dimensions: {width} × {height}px",
462
+ maxImageHeight: "Max image height: {height}px",
463
+ maxImageWidth: "Max image width: {width}px",
464
+ maxUpload: "Max upload: {count} file | Max upload: {count} files",
465
+ supportedFileTypes: "Supported file types: {list}"
466
+ }
467
+ }, ht = {
468
+ i18n: { messages: gt }
469
+ }, bt = /* @__PURE__ */ N({
470
+ ...ht,
471
+ __name: "file-uploader-restrictions",
472
+ props: {
473
+ condensed: { default: null },
474
+ disabled: { default: null },
475
+ maxCount: { default: null },
476
+ maxDimensions: { default: null },
477
+ maxSize: { default: null },
478
+ supportedFileTypes: { default: null }
479
+ },
480
+ setup(e) {
481
+ const a = e, { t, tc: i, n: o, locale: r } = W(), p = m(() => ({
482
+ "b-file-uploader-restrictions--condensed": a.condensed,
483
+ "b-file-uploader-restrictions--disabled": a.disabled
484
+ }));
485
+ function s(v) {
486
+ return {
487
+ "b-file-uploader-restrictions--error": v
488
+ };
489
+ }
490
+ const d = m(() => {
491
+ if (!a.maxDimensions)
492
+ return null;
493
+ const {
494
+ value: { width: v, height: C }
495
+ } = a.maxDimensions;
496
+ return v && C ? t("maxImageDimensions", { width: o(v), height: o(C) }) : v ? t("maxImageWidth", { width: o(v) }) : C ? t("maxImageHeight", { height: o(C) }) : null;
497
+ });
498
+ return { __sfc: !0, props: a, t, tc: i, n: o, locale: r, conditionalClasses: p, setRestrictionErrorClass: s, maxDimensionsLabel: d, BentoTypography: na, formatFileSize: Ea };
499
+ }
500
+ });
501
+ var _t = function() {
502
+ var a = this, t = a._self._c, i = a._self._setupProxy;
503
+ return t("div", { staticClass: "b-file-uploader-restrictions", class: i.conditionalClasses }, [a.supportedFileTypes ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.supportedFileTypes.error) }, [a._v(" " + a._s(i.t("supportedFileTypes", { list: a.supportedFileTypes.value })) + " ")]) : a._e(), a.maxSize ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxSize.error) }, [a._v(" " + a._s(i.t("maxFileSize", { size: i.formatFileSize(i.locale, a.maxSize.value) })) + " ")]) : a._e(), a.maxDimensions ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxDimensions.error) }, [a._v(" " + a._s(i.maxDimensionsLabel) + " ")]) : a._e(), a.maxCount ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxCount.error) }, [a._v(" " + a._s(i.tc("maxUpload", a.maxCount.value, { count: i.n(a.maxCount.value) })) + " ")]) : a._e()], 1);
504
+ }, wt = [], yt = /* @__PURE__ */ g(
505
+ bt,
506
+ _t,
507
+ wt,
508
+ !1,
509
+ null,
510
+ "c49d2e15"
511
+ );
512
+ const Ct = yt.exports, ja = {
513
+ "application/prs.cww": ["cww"],
514
+ "application/prs.xsf+xml": ["xsf"],
515
+ "application/vnd.1000minds.decision-model+xml": ["1km"],
516
+ "application/vnd.3gpp.pic-bw-large": ["plb"],
517
+ "application/vnd.3gpp.pic-bw-small": ["psb"],
518
+ "application/vnd.3gpp.pic-bw-var": ["pvb"],
519
+ "application/vnd.3gpp2.tcap": ["tcap"],
520
+ "application/vnd.3m.post-it-notes": ["pwn"],
521
+ "application/vnd.accpac.simply.aso": ["aso"],
522
+ "application/vnd.accpac.simply.imp": ["imp"],
523
+ "application/vnd.acucobol": ["acu"],
524
+ "application/vnd.acucorp": ["atc", "acutc"],
525
+ "application/vnd.adobe.air-application-installer-package+zip": ["air"],
526
+ "application/vnd.adobe.formscentral.fcdt": ["fcdt"],
527
+ "application/vnd.adobe.fxp": ["fxp", "fxpl"],
528
+ "application/vnd.adobe.xdp+xml": ["xdp"],
529
+ "application/vnd.adobe.xfdf": ["*xfdf"],
530
+ "application/vnd.age": ["age"],
531
+ "application/vnd.ahead.space": ["ahead"],
532
+ "application/vnd.airzip.filesecure.azf": ["azf"],
533
+ "application/vnd.airzip.filesecure.azs": ["azs"],
534
+ "application/vnd.amazon.ebook": ["azw"],
535
+ "application/vnd.americandynamics.acc": ["acc"],
536
+ "application/vnd.amiga.ami": ["ami"],
537
+ "application/vnd.android.package-archive": ["apk"],
538
+ "application/vnd.anser-web-certificate-issue-initiation": ["cii"],
539
+ "application/vnd.anser-web-funds-transfer-initiation": ["fti"],
540
+ "application/vnd.antix.game-component": ["atx"],
541
+ "application/vnd.apple.installer+xml": ["mpkg"],
542
+ "application/vnd.apple.keynote": ["key"],
543
+ "application/vnd.apple.mpegurl": ["m3u8"],
544
+ "application/vnd.apple.numbers": ["numbers"],
545
+ "application/vnd.apple.pages": ["pages"],
546
+ "application/vnd.apple.pkpass": ["pkpass"],
547
+ "application/vnd.aristanetworks.swi": ["swi"],
548
+ "application/vnd.astraea-software.iota": ["iota"],
549
+ "application/vnd.audiograph": ["aep"],
550
+ "application/vnd.balsamiq.bmml+xml": ["bmml"],
551
+ "application/vnd.blueice.multipass": ["mpm"],
552
+ "application/vnd.bmi": ["bmi"],
553
+ "application/vnd.businessobjects": ["rep"],
554
+ "application/vnd.chemdraw+xml": ["cdxml"],
555
+ "application/vnd.chipnuts.karaoke-mmd": ["mmd"],
556
+ "application/vnd.cinderella": ["cdy"],
557
+ "application/vnd.citationstyles.style+xml": ["csl"],
558
+ "application/vnd.claymore": ["cla"],
559
+ "application/vnd.cloanto.rp9": ["rp9"],
560
+ "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"],
561
+ "application/vnd.cluetrust.cartomobile-config": ["c11amc"],
562
+ "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
563
+ "application/vnd.commonspace": ["csp"],
564
+ "application/vnd.contact.cmsg": ["cdbcmsg"],
565
+ "application/vnd.cosmocaller": ["cmc"],
566
+ "application/vnd.crick.clicker": ["clkx"],
567
+ "application/vnd.crick.clicker.keyboard": ["clkk"],
568
+ "application/vnd.crick.clicker.palette": ["clkp"],
569
+ "application/vnd.crick.clicker.template": ["clkt"],
570
+ "application/vnd.crick.clicker.wordbank": ["clkw"],
571
+ "application/vnd.criticaltools.wbs+xml": ["wbs"],
572
+ "application/vnd.ctc-posml": ["pml"],
573
+ "application/vnd.cups-ppd": ["ppd"],
574
+ "application/vnd.curl.car": ["car"],
575
+ "application/vnd.curl.pcurl": ["pcurl"],
576
+ "application/vnd.dart": ["dart"],
577
+ "application/vnd.data-vision.rdz": ["rdz"],
578
+ "application/vnd.dbf": ["dbf"],
579
+ "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"],
580
+ "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
581
+ "application/vnd.dece.unspecified": ["uvx", "uvvx"],
582
+ "application/vnd.dece.zip": ["uvz", "uvvz"],
583
+ "application/vnd.denovo.fcselayout-link": ["fe_launch"],
584
+ "application/vnd.dna": ["dna"],
585
+ "application/vnd.dolby.mlp": ["mlp"],
586
+ "application/vnd.dpgraph": ["dpg"],
587
+ "application/vnd.dreamfactory": ["dfac"],
588
+ "application/vnd.ds-keypoint": ["kpxx"],
589
+ "application/vnd.dvb.ait": ["ait"],
590
+ "application/vnd.dvb.service": ["svc"],
591
+ "application/vnd.dynageo": ["geo"],
592
+ "application/vnd.ecowin.chart": ["mag"],
593
+ "application/vnd.enliven": ["nml"],
594
+ "application/vnd.epson.esf": ["esf"],
595
+ "application/vnd.epson.msf": ["msf"],
596
+ "application/vnd.epson.quickanime": ["qam"],
597
+ "application/vnd.epson.salt": ["slt"],
598
+ "application/vnd.epson.ssf": ["ssf"],
599
+ "application/vnd.eszigno3+xml": ["es3", "et3"],
600
+ "application/vnd.ezpix-album": ["ez2"],
601
+ "application/vnd.ezpix-package": ["ez3"],
602
+ "application/vnd.fdf": ["*fdf"],
603
+ "application/vnd.fdsn.mseed": ["mseed"],
604
+ "application/vnd.fdsn.seed": ["seed", "dataless"],
605
+ "application/vnd.flographit": ["gph"],
606
+ "application/vnd.fluxtime.clip": ["ftc"],
607
+ "application/vnd.framemaker": ["fm", "frame", "maker", "book"],
608
+ "application/vnd.frogans.fnc": ["fnc"],
609
+ "application/vnd.frogans.ltf": ["ltf"],
610
+ "application/vnd.fsc.weblaunch": ["fsc"],
611
+ "application/vnd.fujitsu.oasys": ["oas"],
612
+ "application/vnd.fujitsu.oasys2": ["oa2"],
613
+ "application/vnd.fujitsu.oasys3": ["oa3"],
614
+ "application/vnd.fujitsu.oasysgp": ["fg5"],
615
+ "application/vnd.fujitsu.oasysprs": ["bh2"],
616
+ "application/vnd.fujixerox.ddd": ["ddd"],
617
+ "application/vnd.fujixerox.docuworks": ["xdw"],
618
+ "application/vnd.fujixerox.docuworks.binder": ["xbd"],
619
+ "application/vnd.fuzzysheet": ["fzs"],
620
+ "application/vnd.genomatix.tuxedo": ["txd"],
621
+ "application/vnd.geogebra.file": ["ggb"],
622
+ "application/vnd.geogebra.slides": ["ggs"],
623
+ "application/vnd.geogebra.tool": ["ggt"],
624
+ "application/vnd.geometry-explorer": ["gex", "gre"],
625
+ "application/vnd.geonext": ["gxt"],
626
+ "application/vnd.geoplan": ["g2w"],
627
+ "application/vnd.geospace": ["g3w"],
628
+ "application/vnd.gmx": ["gmx"],
629
+ "application/vnd.google-apps.document": ["gdoc"],
630
+ "application/vnd.google-apps.presentation": ["gslides"],
631
+ "application/vnd.google-apps.spreadsheet": ["gsheet"],
632
+ "application/vnd.google-earth.kml+xml": ["kml"],
633
+ "application/vnd.google-earth.kmz": ["kmz"],
634
+ "application/vnd.gov.sk.xmldatacontainer+xml": ["xdcf"],
635
+ "application/vnd.grafeq": ["gqf", "gqs"],
636
+ "application/vnd.groove-account": ["gac"],
637
+ "application/vnd.groove-help": ["ghf"],
638
+ "application/vnd.groove-identity-message": ["gim"],
639
+ "application/vnd.groove-injector": ["grv"],
640
+ "application/vnd.groove-tool-message": ["gtm"],
641
+ "application/vnd.groove-tool-template": ["tpl"],
642
+ "application/vnd.groove-vcard": ["vcg"],
643
+ "application/vnd.hal+xml": ["hal"],
644
+ "application/vnd.handheld-entertainment+xml": ["zmm"],
645
+ "application/vnd.hbci": ["hbci"],
646
+ "application/vnd.hhe.lesson-player": ["les"],
647
+ "application/vnd.hp-hpgl": ["hpgl"],
648
+ "application/vnd.hp-hpid": ["hpid"],
649
+ "application/vnd.hp-hps": ["hps"],
650
+ "application/vnd.hp-jlyt": ["jlt"],
651
+ "application/vnd.hp-pcl": ["pcl"],
652
+ "application/vnd.hp-pclxl": ["pclxl"],
653
+ "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
654
+ "application/vnd.ibm.minipay": ["mpy"],
655
+ "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"],
656
+ "application/vnd.ibm.rights-management": ["irm"],
657
+ "application/vnd.ibm.secure-container": ["sc"],
658
+ "application/vnd.iccprofile": ["icc", "icm"],
659
+ "application/vnd.igloader": ["igl"],
660
+ "application/vnd.immervision-ivp": ["ivp"],
661
+ "application/vnd.immervision-ivu": ["ivu"],
662
+ "application/vnd.insors.igm": ["igm"],
663
+ "application/vnd.intercon.formnet": ["xpw", "xpx"],
664
+ "application/vnd.intergeo": ["i2g"],
665
+ "application/vnd.intu.qbo": ["qbo"],
666
+ "application/vnd.intu.qfx": ["qfx"],
667
+ "application/vnd.ipunplugged.rcprofile": ["rcprofile"],
668
+ "application/vnd.irepository.package+xml": ["irp"],
669
+ "application/vnd.is-xpr": ["xpr"],
670
+ "application/vnd.isac.fcs": ["fcs"],
671
+ "application/vnd.jam": ["jam"],
672
+ "application/vnd.jcp.javame.midlet-rms": ["rms"],
673
+ "application/vnd.jisp": ["jisp"],
674
+ "application/vnd.joost.joda-archive": ["joda"],
675
+ "application/vnd.kahootz": ["ktz", "ktr"],
676
+ "application/vnd.kde.karbon": ["karbon"],
677
+ "application/vnd.kde.kchart": ["chrt"],
678
+ "application/vnd.kde.kformula": ["kfo"],
679
+ "application/vnd.kde.kivio": ["flw"],
680
+ "application/vnd.kde.kontour": ["kon"],
681
+ "application/vnd.kde.kpresenter": ["kpr", "kpt"],
682
+ "application/vnd.kde.kspread": ["ksp"],
683
+ "application/vnd.kde.kword": ["kwd", "kwt"],
684
+ "application/vnd.kenameaapp": ["htke"],
685
+ "application/vnd.kidspiration": ["kia"],
686
+ "application/vnd.kinar": ["kne", "knp"],
687
+ "application/vnd.koan": ["skp", "skd", "skt", "skm"],
688
+ "application/vnd.kodak-descriptor": ["sse"],
689
+ "application/vnd.las.las+xml": ["lasxml"],
690
+ "application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
691
+ "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
692
+ "application/vnd.lotus-1-2-3": ["123"],
693
+ "application/vnd.lotus-approach": ["apr"],
694
+ "application/vnd.lotus-freelance": ["pre"],
695
+ "application/vnd.lotus-notes": ["nsf"],
696
+ "application/vnd.lotus-organizer": ["org"],
697
+ "application/vnd.lotus-screencam": ["scm"],
698
+ "application/vnd.lotus-wordpro": ["lwp"],
699
+ "application/vnd.macports.portpkg": ["portpkg"],
700
+ "application/vnd.mapbox-vector-tile": ["mvt"],
701
+ "application/vnd.mcd": ["mcd"],
702
+ "application/vnd.medcalcdata": ["mc1"],
703
+ "application/vnd.mediastation.cdkey": ["cdkey"],
704
+ "application/vnd.mfer": ["mwf"],
705
+ "application/vnd.mfmp": ["mfm"],
706
+ "application/vnd.micrografx.flo": ["flo"],
707
+ "application/vnd.micrografx.igx": ["igx"],
708
+ "application/vnd.mif": ["mif"],
709
+ "application/vnd.mobius.daf": ["daf"],
710
+ "application/vnd.mobius.dis": ["dis"],
711
+ "application/vnd.mobius.mbk": ["mbk"],
712
+ "application/vnd.mobius.mqy": ["mqy"],
713
+ "application/vnd.mobius.msl": ["msl"],
714
+ "application/vnd.mobius.plc": ["plc"],
715
+ "application/vnd.mobius.txf": ["txf"],
716
+ "application/vnd.mophun.application": ["mpn"],
717
+ "application/vnd.mophun.certificate": ["mpc"],
718
+ "application/vnd.mozilla.xul+xml": ["xul"],
719
+ "application/vnd.ms-artgalry": ["cil"],
720
+ "application/vnd.ms-cab-compressed": ["cab"],
721
+ "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"],
722
+ "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
723
+ "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
724
+ "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
725
+ "application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
726
+ "application/vnd.ms-fontobject": ["eot"],
727
+ "application/vnd.ms-htmlhelp": ["chm"],
728
+ "application/vnd.ms-ims": ["ims"],
729
+ "application/vnd.ms-lrm": ["lrm"],
730
+ "application/vnd.ms-officetheme": ["thmx"],
731
+ "application/vnd.ms-outlook": ["msg"],
732
+ "application/vnd.ms-pki.seccat": ["cat"],
733
+ "application/vnd.ms-pki.stl": ["*stl"],
734
+ "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"],
735
+ "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
736
+ "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
737
+ "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
738
+ "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
739
+ "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
740
+ "application/vnd.ms-project": ["*mpp", "mpt"],
741
+ "application/vnd.ms-word.document.macroenabled.12": ["docm"],
742
+ "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
743
+ "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"],
744
+ "application/vnd.ms-wpl": ["wpl"],
745
+ "application/vnd.ms-xpsdocument": ["xps"],
746
+ "application/vnd.mseq": ["mseq"],
747
+ "application/vnd.musician": ["mus"],
748
+ "application/vnd.muvee.style": ["msty"],
749
+ "application/vnd.mynfc": ["taglet"],
750
+ "application/vnd.nato.bindingdataobject+xml": ["bdo"],
751
+ "application/vnd.neurolanguage.nlu": ["nlu"],
752
+ "application/vnd.nitf": ["ntf", "nitf"],
753
+ "application/vnd.noblenet-directory": ["nnd"],
754
+ "application/vnd.noblenet-sealer": ["nns"],
755
+ "application/vnd.noblenet-web": ["nnw"],
756
+ "application/vnd.nokia.n-gage.ac+xml": ["*ac"],
757
+ "application/vnd.nokia.n-gage.data": ["ngdat"],
758
+ "application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
759
+ "application/vnd.nokia.radio-preset": ["rpst"],
760
+ "application/vnd.nokia.radio-presets": ["rpss"],
761
+ "application/vnd.novadigm.edm": ["edm"],
762
+ "application/vnd.novadigm.edx": ["edx"],
763
+ "application/vnd.novadigm.ext": ["ext"],
764
+ "application/vnd.oasis.opendocument.chart": ["odc"],
765
+ "application/vnd.oasis.opendocument.chart-template": ["otc"],
766
+ "application/vnd.oasis.opendocument.database": ["odb"],
767
+ "application/vnd.oasis.opendocument.formula": ["odf"],
768
+ "application/vnd.oasis.opendocument.formula-template": ["odft"],
769
+ "application/vnd.oasis.opendocument.graphics": ["odg"],
770
+ "application/vnd.oasis.opendocument.graphics-template": ["otg"],
771
+ "application/vnd.oasis.opendocument.image": ["odi"],
772
+ "application/vnd.oasis.opendocument.image-template": ["oti"],
773
+ "application/vnd.oasis.opendocument.presentation": ["odp"],
774
+ "application/vnd.oasis.opendocument.presentation-template": ["otp"],
775
+ "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
776
+ "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
777
+ "application/vnd.oasis.opendocument.text": ["odt"],
778
+ "application/vnd.oasis.opendocument.text-master": ["odm"],
779
+ "application/vnd.oasis.opendocument.text-template": ["ott"],
780
+ "application/vnd.oasis.opendocument.text-web": ["oth"],
781
+ "application/vnd.olpc-sugar": ["xo"],
782
+ "application/vnd.oma.dd2+xml": ["dd2"],
783
+ "application/vnd.openblox.game+xml": ["obgx"],
784
+ "application/vnd.openofficeorg.extension": ["oxt"],
785
+ "application/vnd.openstreetmap.data+xml": ["osm"],
786
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
787
+ "pptx"
788
+ ],
789
+ "application/vnd.openxmlformats-officedocument.presentationml.slide": [
790
+ "sldx"
791
+ ],
792
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow": [
793
+ "ppsx"
794
+ ],
795
+ "application/vnd.openxmlformats-officedocument.presentationml.template": [
796
+ "potx"
797
+ ],
798
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
799
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": [
800
+ "xltx"
801
+ ],
802
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
803
+ "docx"
804
+ ],
805
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template": [
806
+ "dotx"
807
+ ],
808
+ "application/vnd.osgeo.mapguide.package": ["mgp"],
809
+ "application/vnd.osgi.dp": ["dp"],
810
+ "application/vnd.osgi.subsystem": ["esa"],
811
+ "application/vnd.palm": ["pdb", "pqa", "oprc"],
812
+ "application/vnd.pawaafile": ["paw"],
813
+ "application/vnd.pg.format": ["str"],
814
+ "application/vnd.pg.osasli": ["ei6"],
815
+ "application/vnd.picsel": ["efif"],
816
+ "application/vnd.pmi.widget": ["wg"],
817
+ "application/vnd.pocketlearn": ["plf"],
818
+ "application/vnd.powerbuilder6": ["pbd"],
819
+ "application/vnd.previewsystems.box": ["box"],
820
+ "application/vnd.proteus.magazine": ["mgz"],
821
+ "application/vnd.publishare-delta-tree": ["qps"],
822
+ "application/vnd.pvi.ptid1": ["ptid"],
823
+ "application/vnd.pwg-xhtml-print+xml": ["xhtm"],
824
+ "application/vnd.quark.quarkxpress": [
825
+ "qxd",
826
+ "qxt",
827
+ "qwd",
828
+ "qwt",
829
+ "qxl",
830
+ "qxb"
831
+ ],
832
+ "application/vnd.rar": ["rar"],
833
+ "application/vnd.realvnc.bed": ["bed"],
834
+ "application/vnd.recordare.musicxml": ["mxl"],
835
+ "application/vnd.recordare.musicxml+xml": ["musicxml"],
836
+ "application/vnd.rig.cryptonote": ["cryptonote"],
837
+ "application/vnd.rim.cod": ["cod"],
838
+ "application/vnd.rn-realmedia": ["rm"],
839
+ "application/vnd.rn-realmedia-vbr": ["rmvb"],
840
+ "application/vnd.route66.link66+xml": ["link66"],
841
+ "application/vnd.sailingtracker.track": ["st"],
842
+ "application/vnd.seemail": ["see"],
843
+ "application/vnd.sema": ["sema"],
844
+ "application/vnd.semd": ["semd"],
845
+ "application/vnd.semf": ["semf"],
846
+ "application/vnd.shana.informed.formdata": ["ifm"],
847
+ "application/vnd.shana.informed.formtemplate": ["itp"],
848
+ "application/vnd.shana.informed.interchange": ["iif"],
849
+ "application/vnd.shana.informed.package": ["ipk"],
850
+ "application/vnd.simtech-mindmapper": ["twd", "twds"],
851
+ "application/vnd.smaf": ["mmf"],
852
+ "application/vnd.smart.teacher": ["teacher"],
853
+ "application/vnd.software602.filler.form+xml": ["fo"],
854
+ "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
855
+ "application/vnd.spotfire.dxp": ["dxp"],
856
+ "application/vnd.spotfire.sfs": ["sfs"],
857
+ "application/vnd.stardivision.calc": ["sdc"],
858
+ "application/vnd.stardivision.draw": ["sda"],
859
+ "application/vnd.stardivision.impress": ["sdd"],
860
+ "application/vnd.stardivision.math": ["smf"],
861
+ "application/vnd.stardivision.writer": ["sdw", "vor"],
862
+ "application/vnd.stardivision.writer-global": ["sgl"],
863
+ "application/vnd.stepmania.package": ["smzip"],
864
+ "application/vnd.stepmania.stepchart": ["sm"],
865
+ "application/vnd.sun.wadl+xml": ["wadl"],
866
+ "application/vnd.sun.xml.calc": ["sxc"],
867
+ "application/vnd.sun.xml.calc.template": ["stc"],
868
+ "application/vnd.sun.xml.draw": ["sxd"],
869
+ "application/vnd.sun.xml.draw.template": ["std"],
870
+ "application/vnd.sun.xml.impress": ["sxi"],
871
+ "application/vnd.sun.xml.impress.template": ["sti"],
872
+ "application/vnd.sun.xml.math": ["sxm"],
873
+ "application/vnd.sun.xml.writer": ["sxw"],
874
+ "application/vnd.sun.xml.writer.global": ["sxg"],
875
+ "application/vnd.sun.xml.writer.template": ["stw"],
876
+ "application/vnd.sus-calendar": ["sus", "susp"],
877
+ "application/vnd.svd": ["svd"],
878
+ "application/vnd.symbian.install": ["sis", "sisx"],
879
+ "application/vnd.syncml+xml": ["xsm"],
880
+ "application/vnd.syncml.dm+wbxml": ["bdm"],
881
+ "application/vnd.syncml.dm+xml": ["xdm"],
882
+ "application/vnd.syncml.dmddf+xml": ["ddf"],
883
+ "application/vnd.tao.intent-module-archive": ["tao"],
884
+ "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"],
885
+ "application/vnd.tmobile-livetv": ["tmo"],
886
+ "application/vnd.trid.tpt": ["tpt"],
887
+ "application/vnd.triscape.mxs": ["mxs"],
888
+ "application/vnd.trueapp": ["tra"],
889
+ "application/vnd.ufdl": ["ufd", "ufdl"],
890
+ "application/vnd.uiq.theme": ["utz"],
891
+ "application/vnd.umajin": ["umj"],
892
+ "application/vnd.unity": ["unityweb"],
893
+ "application/vnd.uoml+xml": ["uoml", "uo"],
894
+ "application/vnd.vcx": ["vcx"],
895
+ "application/vnd.visio": ["vsd", "vst", "vss", "vsw"],
896
+ "application/vnd.visionary": ["vis"],
897
+ "application/vnd.vsf": ["vsf"],
898
+ "application/vnd.wap.wbxml": ["wbxml"],
899
+ "application/vnd.wap.wmlc": ["wmlc"],
900
+ "application/vnd.wap.wmlscriptc": ["wmlsc"],
901
+ "application/vnd.webturbo": ["wtb"],
902
+ "application/vnd.wolfram.player": ["nbp"],
903
+ "application/vnd.wordperfect": ["wpd"],
904
+ "application/vnd.wqd": ["wqd"],
905
+ "application/vnd.wt.stf": ["stf"],
906
+ "application/vnd.xara": ["xar"],
907
+ "application/vnd.xfdl": ["xfdl"],
908
+ "application/vnd.yamaha.hv-dic": ["hvd"],
909
+ "application/vnd.yamaha.hv-script": ["hvs"],
910
+ "application/vnd.yamaha.hv-voice": ["hvp"],
911
+ "application/vnd.yamaha.openscoreformat": ["osf"],
912
+ "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
913
+ "application/vnd.yamaha.smaf-audio": ["saf"],
914
+ "application/vnd.yamaha.smaf-phrase": ["spf"],
915
+ "application/vnd.yellowriver-custom-menu": ["cmp"],
916
+ "application/vnd.zul": ["zir", "zirz"],
917
+ "application/vnd.zzazz.deck+xml": ["zaz"],
918
+ "application/x-7z-compressed": ["7z"],
919
+ "application/x-abiword": ["abw"],
920
+ "application/x-ace-compressed": ["ace"],
921
+ "application/x-apple-diskimage": ["*dmg"],
922
+ "application/x-arj": ["arj"],
923
+ "application/x-authorware-bin": ["aab", "x32", "u32", "vox"],
924
+ "application/x-authorware-map": ["aam"],
925
+ "application/x-authorware-seg": ["aas"],
926
+ "application/x-bcpio": ["bcpio"],
927
+ "application/x-bdoc": ["*bdoc"],
928
+ "application/x-bittorrent": ["torrent"],
929
+ "application/x-blorb": ["blb", "blorb"],
930
+ "application/x-bzip": ["bz"],
931
+ "application/x-bzip2": ["bz2", "boz"],
932
+ "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"],
933
+ "application/x-cdlink": ["vcd"],
934
+ "application/x-cfs-compressed": ["cfs"],
935
+ "application/x-chat": ["chat"],
936
+ "application/x-chess-pgn": ["pgn"],
937
+ "application/x-chrome-extension": ["crx"],
938
+ "application/x-cocoa": ["cco"],
939
+ "application/x-conference": ["nsc"],
940
+ "application/x-cpio": ["cpio"],
941
+ "application/x-csh": ["csh"],
942
+ "application/x-debian-package": ["*deb", "udeb"],
943
+ "application/x-dgc-compressed": ["dgc"],
944
+ "application/x-director": [
945
+ "dir",
946
+ "dcr",
947
+ "dxr",
948
+ "cst",
949
+ "cct",
950
+ "cxt",
951
+ "w3d",
952
+ "fgd",
953
+ "swa"
954
+ ],
955
+ "application/x-doom": ["wad"],
956
+ "application/x-dtbncx+xml": ["ncx"],
957
+ "application/x-dtbook+xml": ["dtb"],
958
+ "application/x-dtbresource+xml": ["res"],
959
+ "application/x-dvi": ["dvi"],
960
+ "application/x-envoy": ["evy"],
961
+ "application/x-eva": ["eva"],
962
+ "application/x-font-bdf": ["bdf"],
963
+ "application/x-font-ghostscript": ["gsf"],
964
+ "application/x-font-linux-psf": ["psf"],
965
+ "application/x-font-pcf": ["pcf"],
966
+ "application/x-font-snf": ["snf"],
967
+ "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"],
968
+ "application/x-freearc": ["arc"],
969
+ "application/x-futuresplash": ["spl"],
970
+ "application/x-gca-compressed": ["gca"],
971
+ "application/x-glulx": ["ulx"],
972
+ "application/x-gnumeric": ["gnumeric"],
973
+ "application/x-gramps-xml": ["gramps"],
974
+ "application/x-gtar": ["gtar"],
975
+ "application/x-hdf": ["hdf"],
976
+ "application/x-httpd-php": ["php"],
977
+ "application/x-install-instructions": ["install"],
978
+ "application/x-iso9660-image": ["*iso"],
979
+ "application/x-iwork-keynote-sffkey": ["*key"],
980
+ "application/x-iwork-numbers-sffnumbers": ["*numbers"],
981
+ "application/x-iwork-pages-sffpages": ["*pages"],
982
+ "application/x-java-archive-diff": ["jardiff"],
983
+ "application/x-java-jnlp-file": ["jnlp"],
984
+ "application/x-keepass2": ["kdbx"],
985
+ "application/x-latex": ["latex"],
986
+ "application/x-lua-bytecode": ["luac"],
987
+ "application/x-lzh-compressed": ["lzh", "lha"],
988
+ "application/x-makeself": ["run"],
989
+ "application/x-mie": ["mie"],
990
+ "application/x-mobipocket-ebook": ["*prc", "mobi"],
991
+ "application/x-ms-application": ["application"],
992
+ "application/x-ms-shortcut": ["lnk"],
993
+ "application/x-ms-wmd": ["wmd"],
994
+ "application/x-ms-wmz": ["wmz"],
995
+ "application/x-ms-xbap": ["xbap"],
996
+ "application/x-msaccess": ["mdb"],
997
+ "application/x-msbinder": ["obd"],
998
+ "application/x-mscardfile": ["crd"],
999
+ "application/x-msclip": ["clp"],
1000
+ "application/x-msdos-program": ["*exe"],
1001
+ "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"],
1002
+ "application/x-msmediaview": ["mvb", "m13", "m14"],
1003
+ "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"],
1004
+ "application/x-msmoney": ["mny"],
1005
+ "application/x-mspublisher": ["pub"],
1006
+ "application/x-msschedule": ["scd"],
1007
+ "application/x-msterminal": ["trm"],
1008
+ "application/x-mswrite": ["wri"],
1009
+ "application/x-netcdf": ["nc", "cdf"],
1010
+ "application/x-ns-proxy-autoconfig": ["pac"],
1011
+ "application/x-nzb": ["nzb"],
1012
+ "application/x-perl": ["pl", "pm"],
1013
+ "application/x-pilot": ["*prc", "*pdb"],
1014
+ "application/x-pkcs12": ["p12", "pfx"],
1015
+ "application/x-pkcs7-certificates": ["p7b", "spc"],
1016
+ "application/x-pkcs7-certreqresp": ["p7r"],
1017
+ "application/x-rar-compressed": ["*rar"],
1018
+ "application/x-redhat-package-manager": ["rpm"],
1019
+ "application/x-research-info-systems": ["ris"],
1020
+ "application/x-sea": ["sea"],
1021
+ "application/x-sh": ["sh"],
1022
+ "application/x-shar": ["shar"],
1023
+ "application/x-shockwave-flash": ["swf"],
1024
+ "application/x-silverlight-app": ["xap"],
1025
+ "application/x-sql": ["*sql"],
1026
+ "application/x-stuffit": ["sit"],
1027
+ "application/x-stuffitx": ["sitx"],
1028
+ "application/x-subrip": ["srt"],
1029
+ "application/x-sv4cpio": ["sv4cpio"],
1030
+ "application/x-sv4crc": ["sv4crc"],
1031
+ "application/x-t3vm-image": ["t3"],
1032
+ "application/x-tads": ["gam"],
1033
+ "application/x-tar": ["tar"],
1034
+ "application/x-tcl": ["tcl", "tk"],
1035
+ "application/x-tex": ["tex"],
1036
+ "application/x-tex-tfm": ["tfm"],
1037
+ "application/x-texinfo": ["texinfo", "texi"],
1038
+ "application/x-tgif": ["*obj"],
1039
+ "application/x-ustar": ["ustar"],
1040
+ "application/x-virtualbox-hdd": ["hdd"],
1041
+ "application/x-virtualbox-ova": ["ova"],
1042
+ "application/x-virtualbox-ovf": ["ovf"],
1043
+ "application/x-virtualbox-vbox": ["vbox"],
1044
+ "application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
1045
+ "application/x-virtualbox-vdi": ["vdi"],
1046
+ "application/x-virtualbox-vhd": ["vhd"],
1047
+ "application/x-virtualbox-vmdk": ["vmdk"],
1048
+ "application/x-wais-source": ["src"],
1049
+ "application/x-web-app-manifest+json": ["webapp"],
1050
+ "application/x-x509-ca-cert": ["der", "crt", "pem"],
1051
+ "application/x-xfig": ["fig"],
1052
+ "application/x-xliff+xml": ["*xlf"],
1053
+ "application/x-xpinstall": ["xpi"],
1054
+ "application/x-xz": ["xz"],
1055
+ "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"],
1056
+ "audio/vnd.dece.audio": ["uva", "uvva"],
1057
+ "audio/vnd.digital-winds": ["eol"],
1058
+ "audio/vnd.dra": ["dra"],
1059
+ "audio/vnd.dts": ["dts"],
1060
+ "audio/vnd.dts.hd": ["dtshd"],
1061
+ "audio/vnd.lucent.voice": ["lvp"],
1062
+ "audio/vnd.ms-playready.media.pya": ["pya"],
1063
+ "audio/vnd.nuera.ecelp4800": ["ecelp4800"],
1064
+ "audio/vnd.nuera.ecelp7470": ["ecelp7470"],
1065
+ "audio/vnd.nuera.ecelp9600": ["ecelp9600"],
1066
+ "audio/vnd.rip": ["rip"],
1067
+ "audio/x-aac": ["*aac"],
1068
+ "audio/x-aiff": ["aif", "aiff", "aifc"],
1069
+ "audio/x-caf": ["caf"],
1070
+ "audio/x-flac": ["flac"],
1071
+ "audio/x-m4a": ["*m4a"],
1072
+ "audio/x-matroska": ["mka"],
1073
+ "audio/x-mpegurl": ["m3u"],
1074
+ "audio/x-ms-wax": ["wax"],
1075
+ "audio/x-ms-wma": ["wma"],
1076
+ "audio/x-pn-realaudio": ["ram", "ra"],
1077
+ "audio/x-pn-realaudio-plugin": ["rmp"],
1078
+ "audio/x-realaudio": ["*ra"],
1079
+ "audio/x-wav": ["*wav"],
1080
+ "chemical/x-cdx": ["cdx"],
1081
+ "chemical/x-cif": ["cif"],
1082
+ "chemical/x-cmdf": ["cmdf"],
1083
+ "chemical/x-cml": ["cml"],
1084
+ "chemical/x-csml": ["csml"],
1085
+ "chemical/x-xyz": ["xyz"],
1086
+ "image/prs.btif": ["btif", "btf"],
1087
+ "image/prs.pti": ["pti"],
1088
+ "image/vnd.adobe.photoshop": ["psd"],
1089
+ "image/vnd.airzip.accelerator.azv": ["azv"],
1090
+ "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"],
1091
+ "image/vnd.djvu": ["djvu", "djv"],
1092
+ "image/vnd.dvb.subtitle": ["*sub"],
1093
+ "image/vnd.dwg": ["dwg"],
1094
+ "image/vnd.dxf": ["dxf"],
1095
+ "image/vnd.fastbidsheet": ["fbs"],
1096
+ "image/vnd.fpx": ["fpx"],
1097
+ "image/vnd.fst": ["fst"],
1098
+ "image/vnd.fujixerox.edmics-mmr": ["mmr"],
1099
+ "image/vnd.fujixerox.edmics-rlc": ["rlc"],
1100
+ "image/vnd.microsoft.icon": ["ico"],
1101
+ "image/vnd.ms-dds": ["dds"],
1102
+ "image/vnd.ms-modi": ["mdi"],
1103
+ "image/vnd.ms-photo": ["wdp"],
1104
+ "image/vnd.net-fpx": ["npx"],
1105
+ "image/vnd.pco.b16": ["b16"],
1106
+ "image/vnd.tencent.tap": ["tap"],
1107
+ "image/vnd.valve.source.texture": ["vtf"],
1108
+ "image/vnd.wap.wbmp": ["wbmp"],
1109
+ "image/vnd.xiff": ["xif"],
1110
+ "image/vnd.zbrush.pcx": ["pcx"],
1111
+ "image/x-3ds": ["3ds"],
1112
+ "image/x-cmu-raster": ["ras"],
1113
+ "image/x-cmx": ["cmx"],
1114
+ "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"],
1115
+ "image/x-icon": ["*ico"],
1116
+ "image/x-jng": ["jng"],
1117
+ "image/x-mrsid-image": ["sid"],
1118
+ "image/x-ms-bmp": ["*bmp"],
1119
+ "image/x-pcx": ["*pcx"],
1120
+ "image/x-pict": ["pic", "pct"],
1121
+ "image/x-portable-anymap": ["pnm"],
1122
+ "image/x-portable-bitmap": ["pbm"],
1123
+ "image/x-portable-graymap": ["pgm"],
1124
+ "image/x-portable-pixmap": ["ppm"],
1125
+ "image/x-rgb": ["rgb"],
1126
+ "image/x-tga": ["tga"],
1127
+ "image/x-xbitmap": ["xbm"],
1128
+ "image/x-xpixmap": ["xpm"],
1129
+ "image/x-xwindowdump": ["xwd"],
1130
+ "message/vnd.wfa.wsc": ["wsc"],
1131
+ "model/vnd.bary": ["bary"],
1132
+ "model/vnd.cld": ["cld"],
1133
+ "model/vnd.collada+xml": ["dae"],
1134
+ "model/vnd.dwf": ["dwf"],
1135
+ "model/vnd.gdl": ["gdl"],
1136
+ "model/vnd.gtw": ["gtw"],
1137
+ "model/vnd.mts": ["*mts"],
1138
+ "model/vnd.opengex": ["ogex"],
1139
+ "model/vnd.parasolid.transmit.binary": ["x_b"],
1140
+ "model/vnd.parasolid.transmit.text": ["x_t"],
1141
+ "model/vnd.pytha.pyox": ["pyo", "pyox"],
1142
+ "model/vnd.sap.vds": ["vds"],
1143
+ "model/vnd.usda": ["usda"],
1144
+ "model/vnd.usdz+zip": ["usdz"],
1145
+ "model/vnd.valve.source.compiled-map": ["bsp"],
1146
+ "model/vnd.vtu": ["vtu"],
1147
+ "text/prs.lines.tag": ["dsc"],
1148
+ "text/vnd.curl": ["curl"],
1149
+ "text/vnd.curl.dcurl": ["dcurl"],
1150
+ "text/vnd.curl.mcurl": ["mcurl"],
1151
+ "text/vnd.curl.scurl": ["scurl"],
1152
+ "text/vnd.dvb.subtitle": ["sub"],
1153
+ "text/vnd.familysearch.gedcom": ["ged"],
1154
+ "text/vnd.fly": ["fly"],
1155
+ "text/vnd.fmi.flexstor": ["flx"],
1156
+ "text/vnd.graphviz": ["gv"],
1157
+ "text/vnd.in3d.3dml": ["3dml"],
1158
+ "text/vnd.in3d.spot": ["spot"],
1159
+ "text/vnd.sun.j2me.app-descriptor": ["jad"],
1160
+ "text/vnd.wap.wml": ["wml"],
1161
+ "text/vnd.wap.wmlscript": ["wmls"],
1162
+ "text/x-asm": ["s", "asm"],
1163
+ "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"],
1164
+ "text/x-component": ["htc"],
1165
+ "text/x-fortran": ["f", "for", "f77", "f90"],
1166
+ "text/x-handlebars-template": ["hbs"],
1167
+ "text/x-java-source": ["java"],
1168
+ "text/x-lua": ["lua"],
1169
+ "text/x-markdown": ["mkd"],
1170
+ "text/x-nfo": ["nfo"],
1171
+ "text/x-opml": ["opml"],
1172
+ "text/x-org": ["*org"],
1173
+ "text/x-pascal": ["p", "pas"],
1174
+ "text/x-processing": ["pde"],
1175
+ "text/x-sass": ["sass"],
1176
+ "text/x-scss": ["scss"],
1177
+ "text/x-setext": ["etx"],
1178
+ "text/x-sfv": ["sfv"],
1179
+ "text/x-suse-ymp": ["ymp"],
1180
+ "text/x-uuencode": ["uu"],
1181
+ "text/x-vcalendar": ["vcs"],
1182
+ "text/x-vcard": ["vcf"],
1183
+ "video/vnd.dece.hd": ["uvh", "uvvh"],
1184
+ "video/vnd.dece.mobile": ["uvm", "uvvm"],
1185
+ "video/vnd.dece.pd": ["uvp", "uvvp"],
1186
+ "video/vnd.dece.sd": ["uvs", "uvvs"],
1187
+ "video/vnd.dece.video": ["uvv", "uvvv"],
1188
+ "video/vnd.dvb.file": ["dvb"],
1189
+ "video/vnd.fvt": ["fvt"],
1190
+ "video/vnd.mpegurl": ["mxu", "m4u"],
1191
+ "video/vnd.ms-playready.media.pyv": ["pyv"],
1192
+ "video/vnd.uvvu.mp4": ["uvu", "uvvu"],
1193
+ "video/vnd.vivo": ["viv"],
1194
+ "video/x-f4v": ["f4v"],
1195
+ "video/x-fli": ["fli"],
1196
+ "video/x-flv": ["flv"],
1197
+ "video/x-m4v": ["m4v"],
1198
+ "video/x-matroska": ["mkv", "mk3d", "mks"],
1199
+ "video/x-mng": ["mng"],
1200
+ "video/x-ms-asf": ["asf", "asx"],
1201
+ "video/x-ms-vob": ["vob"],
1202
+ "video/x-ms-wm": ["wm"],
1203
+ "video/x-ms-wmv": ["wmv"],
1204
+ "video/x-ms-wmx": ["wmx"],
1205
+ "video/x-ms-wvx": ["wvx"],
1206
+ "video/x-msvideo": ["avi"],
1207
+ "video/x-sgi-movie": ["movie"],
1208
+ "video/x-smv": ["smv"],
1209
+ "x-conference/x-cooltalk": ["ice"]
1210
+ };
1211
+ Object.freeze(ja);
1212
+ const za = {
1213
+ "application/andrew-inset": ["ez"],
1214
+ "application/appinstaller": ["appinstaller"],
1215
+ "application/applixware": ["aw"],
1216
+ "application/appx": ["appx"],
1217
+ "application/appxbundle": ["appxbundle"],
1218
+ "application/atom+xml": ["atom"],
1219
+ "application/atomcat+xml": ["atomcat"],
1220
+ "application/atomdeleted+xml": ["atomdeleted"],
1221
+ "application/atomsvc+xml": ["atomsvc"],
1222
+ "application/atsc-dwd+xml": ["dwd"],
1223
+ "application/atsc-held+xml": ["held"],
1224
+ "application/atsc-rsat+xml": ["rsat"],
1225
+ "application/automationml-aml+xml": ["aml"],
1226
+ "application/automationml-amlx+zip": ["amlx"],
1227
+ "application/bdoc": ["bdoc"],
1228
+ "application/calendar+xml": ["xcs"],
1229
+ "application/ccxml+xml": ["ccxml"],
1230
+ "application/cdfx+xml": ["cdfx"],
1231
+ "application/cdmi-capability": ["cdmia"],
1232
+ "application/cdmi-container": ["cdmic"],
1233
+ "application/cdmi-domain": ["cdmid"],
1234
+ "application/cdmi-object": ["cdmio"],
1235
+ "application/cdmi-queue": ["cdmiq"],
1236
+ "application/cpl+xml": ["cpl"],
1237
+ "application/cu-seeme": ["cu"],
1238
+ "application/cwl": ["cwl"],
1239
+ "application/dash+xml": ["mpd"],
1240
+ "application/dash-patch+xml": ["mpp"],
1241
+ "application/davmount+xml": ["davmount"],
1242
+ "application/docbook+xml": ["dbk"],
1243
+ "application/dssc+der": ["dssc"],
1244
+ "application/dssc+xml": ["xdssc"],
1245
+ "application/ecmascript": ["ecma"],
1246
+ "application/emma+xml": ["emma"],
1247
+ "application/emotionml+xml": ["emotionml"],
1248
+ "application/epub+zip": ["epub"],
1249
+ "application/exi": ["exi"],
1250
+ "application/express": ["exp"],
1251
+ "application/fdf": ["fdf"],
1252
+ "application/fdt+xml": ["fdt"],
1253
+ "application/font-tdpfr": ["pfr"],
1254
+ "application/geo+json": ["geojson"],
1255
+ "application/gml+xml": ["gml"],
1256
+ "application/gpx+xml": ["gpx"],
1257
+ "application/gxf": ["gxf"],
1258
+ "application/gzip": ["gz"],
1259
+ "application/hjson": ["hjson"],
1260
+ "application/hyperstudio": ["stk"],
1261
+ "application/inkml+xml": ["ink", "inkml"],
1262
+ "application/ipfix": ["ipfix"],
1263
+ "application/its+xml": ["its"],
1264
+ "application/java-archive": ["jar", "war", "ear"],
1265
+ "application/java-serialized-object": ["ser"],
1266
+ "application/java-vm": ["class"],
1267
+ "application/javascript": ["*js"],
1268
+ "application/json": ["json", "map"],
1269
+ "application/json5": ["json5"],
1270
+ "application/jsonml+json": ["jsonml"],
1271
+ "application/ld+json": ["jsonld"],
1272
+ "application/lgr+xml": ["lgr"],
1273
+ "application/lost+xml": ["lostxml"],
1274
+ "application/mac-binhex40": ["hqx"],
1275
+ "application/mac-compactpro": ["cpt"],
1276
+ "application/mads+xml": ["mads"],
1277
+ "application/manifest+json": ["webmanifest"],
1278
+ "application/marc": ["mrc"],
1279
+ "application/marcxml+xml": ["mrcx"],
1280
+ "application/mathematica": ["ma", "nb", "mb"],
1281
+ "application/mathml+xml": ["mathml"],
1282
+ "application/mbox": ["mbox"],
1283
+ "application/media-policy-dataset+xml": ["mpf"],
1284
+ "application/mediaservercontrol+xml": ["mscml"],
1285
+ "application/metalink+xml": ["metalink"],
1286
+ "application/metalink4+xml": ["meta4"],
1287
+ "application/mets+xml": ["mets"],
1288
+ "application/mmt-aei+xml": ["maei"],
1289
+ "application/mmt-usd+xml": ["musd"],
1290
+ "application/mods+xml": ["mods"],
1291
+ "application/mp21": ["m21", "mp21"],
1292
+ "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"],
1293
+ "application/msix": ["msix"],
1294
+ "application/msixbundle": ["msixbundle"],
1295
+ "application/msword": ["doc", "dot"],
1296
+ "application/mxf": ["mxf"],
1297
+ "application/n-quads": ["nq"],
1298
+ "application/n-triples": ["nt"],
1299
+ "application/node": ["cjs"],
1300
+ "application/octet-stream": [
1301
+ "bin",
1302
+ "dms",
1303
+ "lrf",
1304
+ "mar",
1305
+ "so",
1306
+ "dist",
1307
+ "distz",
1308
+ "pkg",
1309
+ "bpk",
1310
+ "dump",
1311
+ "elc",
1312
+ "deploy",
1313
+ "exe",
1314
+ "dll",
1315
+ "deb",
1316
+ "dmg",
1317
+ "iso",
1318
+ "img",
1319
+ "msi",
1320
+ "msp",
1321
+ "msm",
1322
+ "buffer"
1323
+ ],
1324
+ "application/oda": ["oda"],
1325
+ "application/oebps-package+xml": ["opf"],
1326
+ "application/ogg": ["ogx"],
1327
+ "application/omdoc+xml": ["omdoc"],
1328
+ "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
1329
+ "application/oxps": ["oxps"],
1330
+ "application/p2p-overlay+xml": ["relo"],
1331
+ "application/patch-ops-error+xml": ["xer"],
1332
+ "application/pdf": ["pdf"],
1333
+ "application/pgp-encrypted": ["pgp"],
1334
+ "application/pgp-keys": ["asc"],
1335
+ "application/pgp-signature": ["sig", "*asc"],
1336
+ "application/pics-rules": ["prf"],
1337
+ "application/pkcs10": ["p10"],
1338
+ "application/pkcs7-mime": ["p7m", "p7c"],
1339
+ "application/pkcs7-signature": ["p7s"],
1340
+ "application/pkcs8": ["p8"],
1341
+ "application/pkix-attr-cert": ["ac"],
1342
+ "application/pkix-cert": ["cer"],
1343
+ "application/pkix-crl": ["crl"],
1344
+ "application/pkix-pkipath": ["pkipath"],
1345
+ "application/pkixcmp": ["pki"],
1346
+ "application/pls+xml": ["pls"],
1347
+ "application/postscript": ["ai", "eps", "ps"],
1348
+ "application/provenance+xml": ["provx"],
1349
+ "application/pskc+xml": ["pskcxml"],
1350
+ "application/raml+yaml": ["raml"],
1351
+ "application/rdf+xml": ["rdf", "owl"],
1352
+ "application/reginfo+xml": ["rif"],
1353
+ "application/relax-ng-compact-syntax": ["rnc"],
1354
+ "application/resource-lists+xml": ["rl"],
1355
+ "application/resource-lists-diff+xml": ["rld"],
1356
+ "application/rls-services+xml": ["rs"],
1357
+ "application/route-apd+xml": ["rapd"],
1358
+ "application/route-s-tsid+xml": ["sls"],
1359
+ "application/route-usd+xml": ["rusd"],
1360
+ "application/rpki-ghostbusters": ["gbr"],
1361
+ "application/rpki-manifest": ["mft"],
1362
+ "application/rpki-roa": ["roa"],
1363
+ "application/rsd+xml": ["rsd"],
1364
+ "application/rss+xml": ["rss"],
1365
+ "application/rtf": ["rtf"],
1366
+ "application/sbml+xml": ["sbml"],
1367
+ "application/scvp-cv-request": ["scq"],
1368
+ "application/scvp-cv-response": ["scs"],
1369
+ "application/scvp-vp-request": ["spq"],
1370
+ "application/scvp-vp-response": ["spp"],
1371
+ "application/sdp": ["sdp"],
1372
+ "application/senml+xml": ["senmlx"],
1373
+ "application/sensml+xml": ["sensmlx"],
1374
+ "application/set-payment-initiation": ["setpay"],
1375
+ "application/set-registration-initiation": ["setreg"],
1376
+ "application/shf+xml": ["shf"],
1377
+ "application/sieve": ["siv", "sieve"],
1378
+ "application/smil+xml": ["smi", "smil"],
1379
+ "application/sparql-query": ["rq"],
1380
+ "application/sparql-results+xml": ["srx"],
1381
+ "application/sql": ["sql"],
1382
+ "application/srgs": ["gram"],
1383
+ "application/srgs+xml": ["grxml"],
1384
+ "application/sru+xml": ["sru"],
1385
+ "application/ssdl+xml": ["ssdl"],
1386
+ "application/ssml+xml": ["ssml"],
1387
+ "application/swid+xml": ["swidtag"],
1388
+ "application/tei+xml": ["tei", "teicorpus"],
1389
+ "application/thraud+xml": ["tfi"],
1390
+ "application/timestamped-data": ["tsd"],
1391
+ "application/toml": ["toml"],
1392
+ "application/trig": ["trig"],
1393
+ "application/ttml+xml": ["ttml"],
1394
+ "application/ubjson": ["ubj"],
1395
+ "application/urc-ressheet+xml": ["rsheet"],
1396
+ "application/urc-targetdesc+xml": ["td"],
1397
+ "application/voicexml+xml": ["vxml"],
1398
+ "application/wasm": ["wasm"],
1399
+ "application/watcherinfo+xml": ["wif"],
1400
+ "application/widget": ["wgt"],
1401
+ "application/winhlp": ["hlp"],
1402
+ "application/wsdl+xml": ["wsdl"],
1403
+ "application/wspolicy+xml": ["wspolicy"],
1404
+ "application/xaml+xml": ["xaml"],
1405
+ "application/xcap-att+xml": ["xav"],
1406
+ "application/xcap-caps+xml": ["xca"],
1407
+ "application/xcap-diff+xml": ["xdf"],
1408
+ "application/xcap-el+xml": ["xel"],
1409
+ "application/xcap-ns+xml": ["xns"],
1410
+ "application/xenc+xml": ["xenc"],
1411
+ "application/xfdf": ["xfdf"],
1412
+ "application/xhtml+xml": ["xhtml", "xht"],
1413
+ "application/xliff+xml": ["xlf"],
1414
+ "application/xml": ["xml", "xsl", "xsd", "rng"],
1415
+ "application/xml-dtd": ["dtd"],
1416
+ "application/xop+xml": ["xop"],
1417
+ "application/xproc+xml": ["xpl"],
1418
+ "application/xslt+xml": ["*xsl", "xslt"],
1419
+ "application/xspf+xml": ["xspf"],
1420
+ "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
1421
+ "application/yang": ["yang"],
1422
+ "application/yin+xml": ["yin"],
1423
+ "application/zip": ["zip"],
1424
+ "audio/3gpp": ["*3gpp"],
1425
+ "audio/aac": ["adts", "aac"],
1426
+ "audio/adpcm": ["adp"],
1427
+ "audio/amr": ["amr"],
1428
+ "audio/basic": ["au", "snd"],
1429
+ "audio/midi": ["mid", "midi", "kar", "rmi"],
1430
+ "audio/mobile-xmf": ["mxmf"],
1431
+ "audio/mp3": ["*mp3"],
1432
+ "audio/mp4": ["m4a", "mp4a"],
1433
+ "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
1434
+ "audio/ogg": ["oga", "ogg", "spx", "opus"],
1435
+ "audio/s3m": ["s3m"],
1436
+ "audio/silk": ["sil"],
1437
+ "audio/wav": ["wav"],
1438
+ "audio/wave": ["*wav"],
1439
+ "audio/webm": ["weba"],
1440
+ "audio/xm": ["xm"],
1441
+ "font/collection": ["ttc"],
1442
+ "font/otf": ["otf"],
1443
+ "font/ttf": ["ttf"],
1444
+ "font/woff": ["woff"],
1445
+ "font/woff2": ["woff2"],
1446
+ "image/aces": ["exr"],
1447
+ "image/apng": ["apng"],
1448
+ "image/avci": ["avci"],
1449
+ "image/avcs": ["avcs"],
1450
+ "image/avif": ["avif"],
1451
+ "image/bmp": ["bmp", "dib"],
1452
+ "image/cgm": ["cgm"],
1453
+ "image/dicom-rle": ["drle"],
1454
+ "image/dpx": ["dpx"],
1455
+ "image/emf": ["emf"],
1456
+ "image/fits": ["fits"],
1457
+ "image/g3fax": ["g3"],
1458
+ "image/gif": ["gif"],
1459
+ "image/heic": ["heic"],
1460
+ "image/heic-sequence": ["heics"],
1461
+ "image/heif": ["heif"],
1462
+ "image/heif-sequence": ["heifs"],
1463
+ "image/hej2k": ["hej2"],
1464
+ "image/hsj2": ["hsj2"],
1465
+ "image/ief": ["ief"],
1466
+ "image/jls": ["jls"],
1467
+ "image/jp2": ["jp2", "jpg2"],
1468
+ "image/jpeg": ["jpeg", "jpg", "jpe"],
1469
+ "image/jph": ["jph"],
1470
+ "image/jphc": ["jhc"],
1471
+ "image/jpm": ["jpm", "jpgm"],
1472
+ "image/jpx": ["jpx", "jpf"],
1473
+ "image/jxl": ["jxl"],
1474
+ "image/jxr": ["jxr"],
1475
+ "image/jxra": ["jxra"],
1476
+ "image/jxrs": ["jxrs"],
1477
+ "image/jxs": ["jxs"],
1478
+ "image/jxsc": ["jxsc"],
1479
+ "image/jxsi": ["jxsi"],
1480
+ "image/jxss": ["jxss"],
1481
+ "image/ktx": ["ktx"],
1482
+ "image/ktx2": ["ktx2"],
1483
+ "image/png": ["png"],
1484
+ "image/sgi": ["sgi"],
1485
+ "image/svg+xml": ["svg", "svgz"],
1486
+ "image/t38": ["t38"],
1487
+ "image/tiff": ["tif", "tiff"],
1488
+ "image/tiff-fx": ["tfx"],
1489
+ "image/webp": ["webp"],
1490
+ "image/wmf": ["wmf"],
1491
+ "message/disposition-notification": ["disposition-notification"],
1492
+ "message/global": ["u8msg"],
1493
+ "message/global-delivery-status": ["u8dsn"],
1494
+ "message/global-disposition-notification": ["u8mdn"],
1495
+ "message/global-headers": ["u8hdr"],
1496
+ "message/rfc822": ["eml", "mime"],
1497
+ "model/3mf": ["3mf"],
1498
+ "model/gltf+json": ["gltf"],
1499
+ "model/gltf-binary": ["glb"],
1500
+ "model/iges": ["igs", "iges"],
1501
+ "model/jt": ["jt"],
1502
+ "model/mesh": ["msh", "mesh", "silo"],
1503
+ "model/mtl": ["mtl"],
1504
+ "model/obj": ["obj"],
1505
+ "model/prc": ["prc"],
1506
+ "model/step+xml": ["stpx"],
1507
+ "model/step+zip": ["stpz"],
1508
+ "model/step-xml+zip": ["stpxz"],
1509
+ "model/stl": ["stl"],
1510
+ "model/u3d": ["u3d"],
1511
+ "model/vrml": ["wrl", "vrml"],
1512
+ "model/x3d+binary": ["*x3db", "x3dbz"],
1513
+ "model/x3d+fastinfoset": ["x3db"],
1514
+ "model/x3d+vrml": ["*x3dv", "x3dvz"],
1515
+ "model/x3d+xml": ["x3d", "x3dz"],
1516
+ "model/x3d-vrml": ["x3dv"],
1517
+ "text/cache-manifest": ["appcache", "manifest"],
1518
+ "text/calendar": ["ics", "ifb"],
1519
+ "text/coffeescript": ["coffee", "litcoffee"],
1520
+ "text/css": ["css"],
1521
+ "text/csv": ["csv"],
1522
+ "text/html": ["html", "htm", "shtml"],
1523
+ "text/jade": ["jade"],
1524
+ "text/javascript": ["js", "mjs"],
1525
+ "text/jsx": ["jsx"],
1526
+ "text/less": ["less"],
1527
+ "text/markdown": ["md", "markdown"],
1528
+ "text/mathml": ["mml"],
1529
+ "text/mdx": ["mdx"],
1530
+ "text/n3": ["n3"],
1531
+ "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
1532
+ "text/richtext": ["rtx"],
1533
+ "text/rtf": ["*rtf"],
1534
+ "text/sgml": ["sgml", "sgm"],
1535
+ "text/shex": ["shex"],
1536
+ "text/slim": ["slim", "slm"],
1537
+ "text/spdx": ["spdx"],
1538
+ "text/stylus": ["stylus", "styl"],
1539
+ "text/tab-separated-values": ["tsv"],
1540
+ "text/troff": ["t", "tr", "roff", "man", "me", "ms"],
1541
+ "text/turtle": ["ttl"],
1542
+ "text/uri-list": ["uri", "uris", "urls"],
1543
+ "text/vcard": ["vcard"],
1544
+ "text/vtt": ["vtt"],
1545
+ "text/wgsl": ["wgsl"],
1546
+ "text/xml": ["*xml"],
1547
+ "text/yaml": ["yaml", "yml"],
1548
+ "video/3gpp": ["3gp", "3gpp"],
1549
+ "video/3gpp2": ["3g2"],
1550
+ "video/h261": ["h261"],
1551
+ "video/h263": ["h263"],
1552
+ "video/h264": ["h264"],
1553
+ "video/iso.segment": ["m4s"],
1554
+ "video/jpeg": ["jpgv"],
1555
+ "video/jpm": ["*jpm", "*jpgm"],
1556
+ "video/mj2": ["mj2", "mjp2"],
1557
+ "video/mp2t": ["ts", "m2t", "m2ts", "mts"],
1558
+ "video/mp4": ["mp4", "mp4v", "mpg4"],
1559
+ "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
1560
+ "video/ogg": ["ogv"],
1561
+ "video/quicktime": ["qt", "mov"],
1562
+ "video/webm": ["webm"]
1563
+ };
1564
+ Object.freeze(za);
1565
+ var _ = function(e, a, t, i) {
1566
+ if (t === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
1567
+ if (typeof a == "function" ? e !== a || !i : !a.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1568
+ return t === "m" ? i : t === "a" ? i.call(e) : i ? i.value : a.get(e);
1569
+ }, $, V, E;
1570
+ class kt {
1571
+ constructor(...a) {
1572
+ $.set(this, /* @__PURE__ */ new Map()), V.set(this, /* @__PURE__ */ new Map()), E.set(this, /* @__PURE__ */ new Map());
1573
+ for (const t of a)
1574
+ this.define(t);
1575
+ }
1576
+ define(a, t = !1) {
1577
+ for (let [i, o] of Object.entries(a)) {
1578
+ i = i.toLowerCase(), o = o.map((s) => s.toLowerCase()), _(this, E, "f").has(i) || _(this, E, "f").set(i, /* @__PURE__ */ new Set());
1579
+ const r = _(this, E, "f").get(i);
1580
+ let p = !0;
1581
+ for (let s of o) {
1582
+ const d = s.startsWith("*");
1583
+ if (s = d ? s.slice(1) : s, r == null || r.add(s), p && _(this, V, "f").set(i, s), p = !1, d)
1584
+ continue;
1585
+ const v = _(this, $, "f").get(s);
1586
+ if (v && v != i && !t)
1587
+ throw new Error(`"${i} -> ${s}" conflicts with "${v} -> ${s}". Pass \`force=true\` to override this definition.`);
1588
+ _(this, $, "f").set(s, i);
1589
+ }
1590
+ }
1591
+ return this;
1592
+ }
1593
+ getType(a) {
1594
+ if (typeof a != "string")
1595
+ return null;
1596
+ const t = a.replace(/^.*[/\\]/, "").toLowerCase(), i = t.replace(/^.*\./, "").toLowerCase(), o = t.length < a.length;
1597
+ return !(i.length < t.length - 1) && o ? null : _(this, $, "f").get(i) ?? null;
1598
+ }
1599
+ getExtension(a) {
1600
+ var t;
1601
+ return typeof a != "string" ? null : (a = (t = a == null ? void 0 : a.split) == null ? void 0 : t.call(a, ";")[0], (a && _(this, V, "f").get(a.trim().toLowerCase())) ?? null);
1602
+ }
1603
+ getAllExtensions(a) {
1604
+ return typeof a != "string" ? null : _(this, E, "f").get(a.toLowerCase()) ?? null;
1605
+ }
1606
+ _freeze() {
1607
+ this.define = () => {
1608
+ throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1609
+ }, Object.freeze(this);
1610
+ for (const a of _(this, E, "f").values())
1611
+ Object.freeze(a);
1612
+ return this;
1613
+ }
1614
+ _getTestState() {
1615
+ return {
1616
+ types: _(this, $, "f"),
1617
+ extensions: _(this, V, "f")
1618
+ };
1619
+ }
1620
+ }
1621
+ $ = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap();
1622
+ const Ia = new kt(za, ja)._freeze(), Rt = {
1623
+ "en-US": {
1624
+ audioFiles: "audio files",
1625
+ browseFiles: "Browse files",
1626
+ dropArea: "Drop area",
1627
+ dropFiles: "Drop file to upload | Drop files to upload",
1628
+ fileExceedsSizeLimit: "File exceeds size limit",
1629
+ imageFiles: "image files",
1630
+ noFilesUploaded: "No files uploaded",
1631
+ tooManyFiles: "Too many files",
1632
+ videoFiles: "video files",
1633
+ youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1634
+ }
1635
+ };
1636
+ function Et(e) {
1637
+ return e.includes("/") ? `.${Ia.getExtension(e).toUpperCase()}` : e.toUpperCase();
1638
+ }
1639
+ function jt(e) {
1640
+ const { locale: a, t } = W();
1641
+ return { supportedFileTypeList: m(() => {
1642
+ const o = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1643
+ return e != null && e.value ? o.format(
1644
+ e.value.split(",").map((r) => {
1645
+ switch (r.trim()) {
1646
+ case "audio/*":
1647
+ return t("audioFiles");
1648
+ case "image/*":
1649
+ return t("imageFiles");
1650
+ case "video/*":
1651
+ return t("videoFiles");
1652
+ default:
1653
+ return Et(r);
1654
+ }
1655
+ })
1656
+ ) : null;
1657
+ }) };
1658
+ }
1659
+ function zt(e) {
1660
+ return Ia.getType(e) ?? e;
1661
+ }
1662
+ function It({ maxCount: e, accept: a }) {
1663
+ const t = ea({
1664
+ invalidTypes: !1,
1665
+ partiallyInvalidTypes: !1,
1666
+ maxCountOverflow: !1
1667
+ }), i = ea({
1668
+ dragging: !1,
1669
+ error: !1
1670
+ }), o = m(() => a.value ? a.value.split(",").map((d) => zt(d.trim().toLocaleLowerCase())) : void 0);
1671
+ function r() {
1672
+ i.dragging = !1, i.error = !1, t.invalidTypes = !1, t.partiallyInvalidTypes = !1, t.maxCountOverflow = !1;
1673
+ }
1674
+ function p(s, d) {
1675
+ if (i.dragging = !0, (!d.dataTransfer.types.includes("Files") || s > e.value) && (t.maxCountOverflow = !0, i.error = !0), !o.value)
1676
+ return;
1677
+ let v = 0;
1678
+ for (const C of d.dataTransfer.items)
1679
+ o.value.includes(C.type) && v++;
1680
+ if (v === 0) {
1681
+ i.error = !0, t.invalidTypes = !0;
1682
+ return;
1683
+ }
1684
+ !t.invalidTypes && v !== d.dataTransfer.items.length && (i.error = !0, t.partiallyInvalidTypes = !0);
1685
+ }
1686
+ return {
1687
+ dragState: i,
1688
+ dragErrors: t,
1689
+ resetDragState: r,
1690
+ onDragEnterValidations: p
1691
+ };
1692
+ }
1693
+ const Ft = {
1694
+ model: { prop: "modelValue" },
1695
+ i18n: { messages: Rt }
1696
+ }, $t = /* @__PURE__ */ N({
1697
+ ...Ft,
1698
+ __name: "file-uploader",
1699
+ props: {
1700
+ description: { default: null },
1701
+ disabled: { type: Boolean, default: !1 },
1702
+ errorMessage: { default: null },
1703
+ label: { default: null },
1704
+ optional: { type: Boolean, default: !1 },
1705
+ placeholder: null,
1706
+ readonly: { type: Boolean },
1707
+ required: { type: Boolean, default: !1 },
1708
+ tooltipText: { default: null },
1709
+ accept: { default: null },
1710
+ condensed: { type: Boolean, default: !1 },
1711
+ maxCount: { default: 1 },
1712
+ maxDimensions: { default: null },
1713
+ maxSize: { default: null },
1714
+ modelValue: { default: null }
1715
+ },
1716
+ emits: ["change", "input", "update:model-value", "error:upload"],
1717
+ setup(e, { emit: a }) {
1718
+ const t = e, { t: i, tc: o, n: r } = W(), { emitValue: p } = qa(a);
1719
+ function s(n) {
1720
+ return !!n && typeof n.length == "number" && typeof n.item == "function";
1721
+ }
1722
+ Ca(() => {
1723
+ s(t.modelValue) || Ha(
1724
+ "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1725
+ "Use FileList instead.",
1726
+ "2.0.0"
1727
+ );
1728
+ });
1729
+ const { supportedFileTypeList: d } = jt(ia(t, "accept")), v = w("browse-button"), C = w("custom-text"), B = w("drop-files-text"), j = w("comma-text"), O = w("file-uploader-restrictions"), c = h(null), T = h([]), k = h(null), H = h(null), G = w("input"), Y = w("input-error"), X = m(() => {
1730
+ const n = t.condensed ? "" : `${B} ${j}`, l = t.description ? `${C} ${j}` : "", f = `${O} ${j}`;
1731
+ return `${n} ${l} ${f} ${v}`;
1732
+ }), { dragState: z, dragErrors: R, resetDragState: I, onDragEnterValidations: L } = It({
1733
+ accept: ia(t, "accept"),
1734
+ maxCount: ia(t, "maxCount")
1735
+ }), q = m(() => {
1736
+ var n, l, f;
1737
+ return {
1738
+ condensed: t.condensed,
1739
+ disabled: t.disabled,
1740
+ maxCount: S.value ? {
1741
+ value: t.maxCount,
1742
+ error: R.maxCountOverflow || pa.value
1743
+ } : null,
1744
+ maxDimensions: t.maxDimensions ? {
1745
+ value: t.maxDimensions,
1746
+ error: (n = c.value) == null ? void 0 : n.some((b) => b.errors.includes(x.ERROR_DIMENSIONS))
1747
+ } : null,
1748
+ maxSize: t.maxSize ? {
1749
+ value: t.maxSize,
1750
+ error: (l = c.value) == null ? void 0 : l.some((b) => b.errors.includes(x.ERROR_SIZE))
1751
+ } : null,
1752
+ supportedFileTypes: d.value ? {
1753
+ value: d.value,
1754
+ error: R.invalidTypes || R.partiallyInvalidTypes || ((f = c.value) == null ? void 0 : f.some((b) => b.errors.includes(x.ERROR_TYPE)))
1755
+ } : null
1756
+ };
1757
+ }), F = h(), J = m(() => ({
1758
+ [`b-file-uploader--${P.DISABLED}`]: t.disabled,
1759
+ [`b-file-uploader--${P.DRAG_OVER}`]: z.dragging,
1760
+ [`b-file-uploader--${P.ERROR}`]: oa.value,
1761
+ "b-file-uploader--condensed": t.condensed
1762
+ })), S = m(() => t.maxCount > 1), K = m(() => {
1763
+ var n;
1764
+ return t.maxCount && ((n = c.value) == null ? void 0 : n.length) >= t.maxCount || t.readonly;
1765
+ }), M = m(() => {
1766
+ var n;
1767
+ return (n = c.value) == null ? void 0 : n.some((l) => l.state === "loading");
1768
+ }), Q = (n) => (l) => {
1769
+ T.value[n] = l;
1770
+ };
1771
+ function D(n) {
1772
+ if (n) {
1773
+ ca(n), ra(n);
1774
+ const l = da(n);
1775
+ a("change", l), p(l);
1776
+ } else
1777
+ a("change", void 0), p(void 0);
1778
+ }
1779
+ const oa = m(() => !!t.errorMessage || z.error), pa = m(() => {
1780
+ var n;
1781
+ return ((n = c.value) == null ? void 0 : n.length) > t.maxCount;
1782
+ }), la = h(!1), sa = m(() => {
1783
+ var n;
1784
+ return (n = c.value) == null ? void 0 : n.some((l) => l.state === "error");
1785
+ });
1786
+ ta(sa, (n) => {
1787
+ M.value || a("error:upload", n);
1788
+ });
1789
+ async function U() {
1790
+ var n;
1791
+ if (await Ba(), c.value.length === t.maxCount) {
1792
+ (n = T.value[0]) == null || n.focus();
1793
+ return;
1794
+ }
1795
+ H.value.focus();
1796
+ }
1797
+ async function Fa(n) {
1798
+ c.value = c.value.filter(({ id: l }) => l !== n.id), await U(), D(c.value);
1799
+ }
1800
+ function A(n) {
1801
+ const l = ea({
1802
+ id: w("file"),
1803
+ data: n,
1804
+ errors: [],
1805
+ progress: null,
1806
+ state: y.LOADING,
1807
+ type: ui(n)
1808
+ });
1809
+ return fi(l, t.accept, t.maxDimensions), l;
1810
+ }
1811
+ function $a(n) {
1812
+ var l;
1813
+ ((l = c.value) == null ? void 0 : l.length) === t.maxCount && n.preventDefault();
1814
+ }
1815
+ async function aa(n) {
1816
+ if (t.maxCount === 1 && n.length > t.maxCount) {
1817
+ Z(), I();
1818
+ return;
1819
+ }
1820
+ S.value ? c.value = [...c.value || [], ...Array.from(n).map((l) => A(l))] : (c.value = [A(n[0])], await U()), D(c.value);
1821
+ }
1822
+ function Ta(n) {
1823
+ var f, b;
1824
+ if (t.disabled)
1825
+ return;
1826
+ F.value = n.target;
1827
+ const l = (((f = n.dataTransfer.items) == null ? void 0 : f.length) ?? 0) + (((b = c.value) == null ? void 0 : b.length) ?? 0);
1828
+ L(l, n);
1829
+ }
1830
+ function Z() {
1831
+ F.value = null;
1832
+ }
1833
+ function La(n) {
1834
+ F.value === n.target && (Z(), I());
1835
+ }
1836
+ function Sa(n) {
1837
+ n.preventDefault(), t.disabled && (n.dataTransfer.dropEffect = "none");
1838
+ }
1839
+ async function Ma(n) {
1840
+ var l;
1841
+ t.disabled || (!R.invalidTypes && ((l = n.dataTransfer.files) != null && l.length) && aa(n.dataTransfer.files), Z(), I());
1842
+ }
1843
+ async function Da() {
1844
+ var n;
1845
+ (n = k.value.files) != null && n.length && aa(k.value.files), k.value.value = "", await U();
1846
+ }
1847
+ ta(
1848
+ () => t.modelValue,
1849
+ (n) => {
1850
+ if (n && s(n)) {
1851
+ const f = Array.from(n);
1852
+ c.value = f.map((b) => A(b));
1853
+ } else !n && c.value && (c.value = null);
1854
+ },
1855
+ { immediate: !0 }
1856
+ );
1857
+ function ca(n) {
1858
+ const l = t.maxCount && n.length <= t.maxCount;
1859
+ la.value = !l;
1860
+ }
1861
+ function ra(n) {
1862
+ t.maxSize && n.forEach((l) => {
1863
+ const f = l;
1864
+ f.data.size > t.maxSize && (f.state = y.ERROR, f.errors.push(x.ERROR_SIZE));
1865
+ });
1866
+ }
1867
+ function da(n) {
1868
+ const l = n.filter(
1869
+ ({ errors: f }) => !f.includes(x.ERROR_LOAD) && !f.includes(x.ERROR_SIZE)
1870
+ );
1871
+ if (l.length) {
1872
+ const f = new DataTransfer();
1873
+ return l.forEach(({ data: b, id: Mt }) => {
1874
+ f.items.add(b);
1875
+ }), f.files;
1876
+ }
1877
+ }
1878
+ return { __sfc: !0, t: i, tc: o, n: r, emit: a, props: t, emitValue: p, isFileList: s, supportedFileTypeList: d, browseFilesButtonId: v, customTextId: C, dropFilesTextId: B, commaTextId: j, fileUploaderRestrictionsId: O, files: c, fileCardRefs: T, inputRef: k, dropAreaRef: H, inputFieldId: G, errorId: Y, fileUploadAriaLabelledBy: X, dragState: z, dragErrors: R, resetDragState: I, onDragEnterValidations: L, fileUploadRestrictionsProps: q, enterTarget: F, conditionalClasses: J, isMultiple: S, hideArea: K, loadingStateExists: M, registerFileCardRef: Q, emitUpdate: D, hasError: oa, maxFileCountError: pa, maxFileError: la, hasRestrictionError: sa, resetFocus: U, removeFile: Fa, processFile: A, onInputClick: $a, onFileInput: aa, onDragEnter: Ta, resetEnterTarget: Z, onDragLeave: La, onDragOver: Sa, onDrop: Ma, onInputChange: Da, verifyFileCount: ca, verifyFileSize: ra, convertToFileList: da, UploadIcon: ti, WarningFilledIcon: ka, BentoAlert: Oa, BentoTypography: na, ErrorMessage: Ja, FieldLabel: Xa, FileUploaderFileCard: xt, FileUploaderRestrictions: Ct };
1879
+ }
1880
+ });
1881
+ var Tt = function() {
1882
+ var o, r;
1883
+ var a = this, t = a._self._c, i = a._self._setupProxy;
1884
+ return t("div", { staticClass: "b-file-uploader", class: i.conditionalClasses }, [t(i.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { for: i.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), t("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: i.inputFieldId, "aria-hidden": "true", type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: i.isMultiple }, on: { change: i.onInputChange, click: i.onInputClick } }), t("span", { staticClass: "b-file-uploader__invisible-comma", attrs: { id: i.commaTextId, "aria-hidden": "true" } }, [a._v(" , ")]), i.hideArea ? a._e() : t("div", { ref: "dropAreaRef", staticClass: "b-file-uploader__area", attrs: { "aria-labelledby": i.fileUploadAriaLabelledBy, role: "button", tabindex: a.disabled ? -1 : 0 }, on: { click: function(p) {
1885
+ return i.inputRef.click();
1886
+ }, dragenter: function(p) {
1887
+ return p.stopPropagation(), p.preventDefault(), i.onDragEnter.apply(null, arguments);
1888
+ }, dragleave: function(p) {
1889
+ return p.stopPropagation(), p.preventDefault(), i.onDragLeave.apply(null, arguments);
1890
+ }, drop: function(p) {
1891
+ return p.stopPropagation(), p.preventDefault(), i.onDrop.apply(null, arguments);
1892
+ }, dragover: i.onDragOver, "!keydown": [function(p) {
1893
+ return !p.type.indexOf("key") && a._k(p.keyCode, "enter", 13, p.key, "Enter") ? null : (p.preventDefault(), i.inputRef.click());
1894
+ }, function(p) {
1895
+ return !p.type.indexOf("key") && a._k(p.keyCode, "space", 32, p.key, [" ", "Spacebar"]) ? null : (p.preventDefault(), i.inputRef.click());
1896
+ }] } }, [t("div", { staticClass: "b-file-uploader__icon", attrs: { "aria-hidden": "true" } }, [i.hasError ? t(i.WarningFilledIcon) : t(i.UploadIcon)], 1), a.condensed ? a._e() : [t(i.BentoTypography, { staticClass: "b-file-uploader__title", attrs: { id: i.dropFilesTextId, el: "span", strongest: "" } }, [a._v(" " + a._s(i.tc("dropFiles", a.maxCount)) + " ")]), a.description ? t(i.BentoTypography, { staticClass: "b-file-uploader__description", attrs: { id: i.customTextId, el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), t(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1))], t(i.BentoTypography, { staticClass: "b-file-uploader__button", attrs: { id: i.browseFilesButtonId, stronger: "" } }, [a._v(" " + a._s(i.t("browseFiles")) + " ")])], 2), i.hasError && a.errorMessage ? t(i.ErrorMessage, { staticClass: "b-file-uploader__error-message", attrs: { id: i.errorId, "error-message": a.errorMessage } }) : a._e(), a.condensed && a.description ? t(i.BentoTypography, { staticClass: "b-file-uploader__description b-file-uploader__description--condensed", attrs: { id: i.customTextId, "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), a.condensed ? t(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1)) : a._e(), i.maxFileCountError ? t(i.BentoAlert, { attrs: { type: "critical" }, scopedSlots: a._u([{ key: "description", fn: function() {
1897
+ return [a._v(" " + a._s(i.t("youHaveExceededTheMaximum", { count: i.n(i.props.maxCount) })) + " ")];
1898
+ }, proxy: !0 }], null, !1, 2252760379) }, [a._v(" " + a._s(i.t("tooManyFiles")) + " ")]) : a._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: (o = i.files) == null ? void 0 : o.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(i.files, function(p, s) {
1899
+ return t(i.FileUploaderFileCard, { key: p.id, ref: i.registerFileCardRef(s), refInFor: !0, attrs: { file: p, "supported-file-types": i.supportedFileTypeList, readonly: a.readonly }, on: { cancel: function(d) {
1900
+ return i.removeFile(p);
1901
+ }, remove: function(d) {
1902
+ return i.removeFile(p);
1903
+ } } });
1904
+ }), 1), !((r = i.files) != null && r.length) && a.readonly ? t(i.BentoTypography, { staticClass: "b-file-uploader__no-files", attrs: { wide: "" } }, [a._v(a._s(i.t("noFilesUploaded")))]) : a._e()], 1);
1905
+ }, Lt = [], St = /* @__PURE__ */ g(
1906
+ $t,
1907
+ Tt,
1908
+ Lt,
1909
+ !1,
1910
+ null,
1911
+ "6f8587a8"
1912
+ );
1913
+ const ie = St.exports;
1914
+ export {
1915
+ ie as f
1916
+ };
1917
+ //# sourceMappingURL=file-uploader.D2s5qccE.js.map