@salla.sa/twilight-components 2.14.498 → 2.14.499

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 (326) hide show
  1. package/dist/cjs/{filepond-B7XPTm4d.js → filepond-D03qhsrx.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-C5WAs5Sq.js → filepond-plugin-file-poster-BYNMDvVv.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-CpzjvZP9.js → filepond-plugin-file-validate-size-CzffjUzS.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CQjym5yh.js → filepond-plugin-file-validate-type-LygxJING.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-JvWrX8H9.js → filepond-plugin-image-edit-Dz_UgE3p.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-CaFH4vic.js → filepond-plugin-image-exif-orientation-C9S6CL_q.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CpD30vUg.js → filepond-plugin-image-preview-CoshLC_A.js} +1 -1
  8. package/dist/cjs/{functions-BUcHv9GL.js → functions-BuqfSCqe.js} +1 -1
  9. package/dist/cjs/{index-Dqo2RTwY.js → index-BiuRQfha.js} +1 -1
  10. package/dist/cjs/{index-CxOIGeOr.js → index-pecK0haA.js} +2 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-exchange-product-card_5.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  49. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  53. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  54. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  105. package/dist/cjs/{tracked-promise-COd7urY7.js → tracked-promise-D3H-BAQh.js} +1 -1
  106. package/dist/cjs/twilight.cjs.js +1 -1
  107. package/dist/cjs/{vanilla-picker-v4qaVnjr.js → vanilla-picker-NZhSBHbI.js} +1 -1
  108. package/dist/components/index.js +2 -2
  109. package/dist/esm/{filepond-Bztq2DfJ.js → filepond-CJFgTJm9.js} +1 -1
  110. package/dist/esm/{filepond-plugin-file-poster-7n46TpPX.js → filepond-plugin-file-poster-2z52H04r.js} +1 -1
  111. package/dist/esm/{filepond-plugin-file-validate-size-CEaKKsXh.js → filepond-plugin-file-validate-size-DEKIzgzx.js} +1 -1
  112. package/dist/esm/{filepond-plugin-file-validate-type-G_rhCCOz.js → filepond-plugin-file-validate-type--IuNAFuU.js} +1 -1
  113. package/dist/esm/{filepond-plugin-image-edit-3fXrzMbo.js → filepond-plugin-image-edit-DV4s4m_8.js} +1 -1
  114. package/dist/esm/{filepond-plugin-image-exif-orientation-BXr__tdF.js → filepond-plugin-image-exif-orientation-BicBedUH.js} +1 -1
  115. package/dist/esm/{filepond-plugin-image-preview-Deyf31fO.js → filepond-plugin-image-preview-68UNym7e.js} +1 -1
  116. package/dist/esm/{functions-BvcgTy23.js → functions-sMyBqXp4.js} +1 -1
  117. package/dist/esm/{index-CtDVz2Sf.js → index-CZQUg3wR.js} +1 -1
  118. package/dist/esm/{index-DD7hlkaJ.js → index-C_ccgsYC.js} +2 -2
  119. package/dist/esm/loader.js +2 -2
  120. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  121. package/dist/esm/salla-accordion_6.entry.js +1 -1
  122. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  123. package/dist/esm/salla-advertisement.entry.js +1 -1
  124. package/dist/esm/salla-alert_2.entry.js +1 -1
  125. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  126. package/dist/esm/salla-apps-icons.entry.js +1 -1
  127. package/dist/esm/salla-badge.entry.js +1 -1
  128. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  129. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  130. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  131. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  132. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  133. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  134. package/dist/esm/salla-comment-factors.entry.js +1 -1
  135. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  136. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  137. package/dist/esm/salla-contacts.entry.js +1 -1
  138. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  139. package/dist/esm/salla-count-down_2.entry.js +1 -1
  140. package/dist/esm/salla-custom-fields.entry.js +1 -1
  141. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  142. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  143. package/dist/esm/salla-filters-widget.entry.js +1 -1
  144. package/dist/esm/salla-filters.entry.js +1 -1
  145. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  146. package/dist/esm/salla-gifting.entry.js +1 -1
  147. package/dist/esm/salla-hook.entry.js +1 -1
  148. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  149. package/dist/esm/salla-installment.entry.js +1 -1
  150. package/dist/esm/salla-list-tile.entry.js +1 -1
  151. package/dist/esm/salla-localization-modal.entry.js +1 -1
  152. package/dist/esm/salla-login-modal.entry.js +1 -1
  153. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  154. package/dist/esm/salla-loyalty-exchange-product-card_5.entry.js +3 -3
  155. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  156. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  157. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  158. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  159. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  160. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  161. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  162. package/dist/esm/salla-loyalty.entry.js +1 -1
  163. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  164. package/dist/esm/salla-map_2.entry.js +1 -1
  165. package/dist/esm/salla-menu.entry.js +1 -1
  166. package/dist/esm/salla-metadata.entry.js +1 -1
  167. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  168. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  169. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  170. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  171. package/dist/esm/salla-notification-item.entry.js +1 -1
  172. package/dist/esm/salla-notifications.entry.js +1 -1
  173. package/dist/esm/salla-offer-modal.entry.js +1 -1
  174. package/dist/esm/salla-offer.entry.js +1 -1
  175. package/dist/esm/salla-order-branch.entry.js +1 -1
  176. package/dist/esm/salla-order-cancel.entry.js +1 -1
  177. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  178. package/dist/esm/salla-order-details-options.entry.js +1 -1
  179. package/dist/esm/salla-order-details.entry.js +1 -1
  180. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  181. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  182. package/dist/esm/salla-order-edit.entry.js +1 -1
  183. package/dist/esm/salla-order-summary.entry.js +1 -1
  184. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  185. package/dist/esm/salla-orders.entry.js +1 -1
  186. package/dist/esm/salla-payments.entry.js +1 -1
  187. package/dist/esm/salla-placeholder.entry.js +1 -1
  188. package/dist/esm/salla-price-range.entry.js +1 -1
  189. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  190. package/dist/esm/salla-product-card_2.entry.js +1 -1
  191. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  192. package/dist/esm/salla-products-list.entry.js +1 -1
  193. package/dist/esm/salla-quick-order.entry.js +1 -1
  194. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  195. package/dist/esm/salla-rating-modal.entry.js +1 -1
  196. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  197. package/dist/esm/salla-scopes.entry.js +1 -1
  198. package/dist/esm/salla-search.entry.js +1 -1
  199. package/dist/esm/salla-skeleton.entry.js +1 -1
  200. package/dist/esm/salla-slider.entry.js +1 -1
  201. package/dist/esm/salla-social-share.entry.js +1 -1
  202. package/dist/esm/salla-social.entry.js +1 -1
  203. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  204. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  205. package/dist/esm/salla-tooltip.entry.js +1 -1
  206. package/dist/esm/salla-trust-badges.entry.js +1 -1
  207. package/dist/esm/salla-user-menu.entry.js +1 -1
  208. package/dist/esm/salla-user-profile.entry.js +1 -1
  209. package/dist/esm/salla-user-settings.entry.js +1 -1
  210. package/dist/esm/salla-verify.entry.js +1 -1
  211. package/dist/esm/salla-wallet.entry.js +1 -1
  212. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  213. package/dist/esm/{tracked-promise-B5nZ0_u3.js → tracked-promise-Gd3pavcY.js} +1 -1
  214. package/dist/esm/twilight.js +2 -2
  215. package/dist/esm/{vanilla-picker-DrhPsPVG.js → vanilla-picker-UVrpERET.js} +1 -1
  216. package/dist/twilight/{p-94b5d1c0.entry.js → p-022e10ba.entry.js} +1 -1
  217. package/dist/twilight/{p-7fa4c6ed.entry.js → p-02b057fa.entry.js} +1 -1
  218. package/dist/twilight/{p-861bf5a5.entry.js → p-0755a7eb.entry.js} +1 -1
  219. package/dist/twilight/{p-aa5a77fa.entry.js → p-07fb47b0.entry.js} +1 -1
  220. package/dist/twilight/{p-8e987fe7.entry.js → p-0828cbfb.entry.js} +1 -1
  221. package/dist/twilight/{p-9965cc1b.entry.js → p-09542930.entry.js} +1 -1
  222. package/dist/twilight/{p-bec932de.entry.js → p-0a4110f4.entry.js} +1 -1
  223. package/dist/twilight/{p-a306ae65.entry.js → p-0b6ae26e.entry.js} +1 -1
  224. package/dist/twilight/{p-e2a37618.entry.js → p-0bf87990.entry.js} +1 -1
  225. package/dist/twilight/{p-ed745cc5.entry.js → p-0e9b8853.entry.js} +1 -1
  226. package/dist/twilight/{p-031fe0b8.entry.js → p-1678ff12.entry.js} +1 -1
  227. package/dist/twilight/{p-a1faadfd.entry.js → p-18b40b2c.entry.js} +1 -1
  228. package/dist/twilight/{p-20141d72.entry.js → p-253dcced.entry.js} +1 -1
  229. package/dist/twilight/{p-20b4cc9c.entry.js → p-25fffbe6.entry.js} +1 -1
  230. package/dist/twilight/{p-753029a4.entry.js → p-296482fa.entry.js} +1 -1
  231. package/dist/twilight/{p-4cf658b6.entry.js → p-376a4409.entry.js} +1 -1
  232. package/dist/twilight/{p-f28da331.entry.js → p-38662602.entry.js} +1 -1
  233. package/dist/twilight/{p-da132465.entry.js → p-3a99909c.entry.js} +1 -1
  234. package/dist/twilight/{p-da157fc7.entry.js → p-3abd511f.entry.js} +1 -1
  235. package/dist/twilight/{p-c3639051.entry.js → p-3d141203.entry.js} +1 -1
  236. package/dist/twilight/{p-c996ee08.entry.js → p-3d38f2d2.entry.js} +1 -1
  237. package/dist/twilight/{p-dcfab648.entry.js → p-3d58194d.entry.js} +1 -1
  238. package/dist/twilight/{p-da6a525a.entry.js → p-3d7adaef.entry.js} +1 -1
  239. package/dist/twilight/{p-6e2214d1.entry.js → p-41a439ab.entry.js} +1 -1
  240. package/dist/twilight/{p-3a51e372.entry.js → p-44f68d4a.entry.js} +1 -1
  241. package/dist/twilight/{p-8b746fed.entry.js → p-44f7f2a2.entry.js} +1 -1
  242. package/dist/twilight/{p-40d12093.entry.js → p-4a233372.entry.js} +1 -1
  243. package/dist/twilight/{p-1bbe31ad.entry.js → p-4ab125bd.entry.js} +1 -1
  244. package/dist/twilight/{p-6fb9221a.entry.js → p-4f2c15c6.entry.js} +1 -1
  245. package/dist/twilight/{p-3128bebd.entry.js → p-50d50a69.entry.js} +1 -1
  246. package/dist/twilight/{p-9d220aff.entry.js → p-55ebca48.entry.js} +1 -1
  247. package/dist/twilight/{p-7935b94f.entry.js → p-591a9387.entry.js} +1 -1
  248. package/dist/twilight/{p-cf75cffe.entry.js → p-59b38e97.entry.js} +1 -1
  249. package/dist/twilight/{p-558d69d0.entry.js → p-608dc0ae.entry.js} +1 -1
  250. package/dist/twilight/{p-3205307f.entry.js → p-63441a3a.entry.js} +1 -1
  251. package/dist/twilight/{p-ffc6f929.entry.js → p-644ff503.entry.js} +1 -1
  252. package/dist/twilight/{p-3240f2c3.entry.js → p-65f517fa.entry.js} +1 -1
  253. package/dist/twilight/{p-a9b810c4.entry.js → p-6ef8bbba.entry.js} +1 -1
  254. package/dist/twilight/{p-5e58c1d1.entry.js → p-71a539e8.entry.js} +1 -1
  255. package/dist/twilight/{p-b50b5139.entry.js → p-72bf2467.entry.js} +1 -1
  256. package/dist/twilight/{p-24a6d077.entry.js → p-7470e25f.entry.js} +1 -1
  257. package/dist/twilight/{p-ab56087a.entry.js → p-75fe9e68.entry.js} +1 -1
  258. package/dist/twilight/{p-3ca34205.entry.js → p-76290b12.entry.js} +1 -1
  259. package/dist/twilight/{p-4c3435a8.entry.js → p-7bf1a8cd.entry.js} +1 -1
  260. package/dist/twilight/{p-96c1a0a1.entry.js → p-80ad24c8.entry.js} +1 -1
  261. package/dist/twilight/{p-0a4a3298.entry.js → p-82c60a4d.entry.js} +1 -1
  262. package/dist/twilight/{p-f63f2040.entry.js → p-85a4c32c.entry.js} +1 -1
  263. package/dist/twilight/{p-b344db5c.entry.js → p-89069e7e.entry.js} +1 -1
  264. package/dist/twilight/{p-ed35f803.entry.js → p-8cb54383.entry.js} +1 -1
  265. package/dist/twilight/{p-ea2d6310.entry.js → p-8e2ff581.entry.js} +1 -1
  266. package/dist/twilight/{p-8ea1c5b4.entry.js → p-8f99e8cf.entry.js} +1 -1
  267. package/dist/twilight/p-997a77b4.entry.js +4 -0
  268. package/dist/twilight/p-9cbf064d.entry.js +4 -0
  269. package/dist/twilight/{p-279e6529.entry.js → p-9cc8570a.entry.js} +1 -1
  270. package/dist/twilight/{p-U4GQwdjm.js → p-BFxC_J0K.js} +1 -1
  271. package/dist/twilight/{p-CfWsH_qz.js → p-C0fioW0d.js} +2 -2
  272. package/dist/twilight/{p-CaEa1mkI.js → p-CKa-ux_j.js} +1 -1
  273. package/dist/twilight/p-CQB4Iqwr.js +4 -0
  274. package/dist/twilight/{p-DD7hlkaJ.js → p-C_ccgsYC.js} +1 -1
  275. package/dist/twilight/{p-en37lqSm.js → p-CirvTQDu.js} +1 -1
  276. package/dist/twilight/{p-D5YVbhSD.js → p-CkVpJQZp.js} +1 -1
  277. package/dist/twilight/{p-DWmThpkK.js → p-D6FE69fV.js} +1 -1
  278. package/dist/twilight/{p-Caj9IqWn.js → p-DVIjdKki.js} +1 -1
  279. package/dist/twilight/{p-Dvsk1fA0.js → p-D_u6j3vO.js} +1 -1
  280. package/dist/twilight/{p-6dbbe6cb.entry.js → p-a0bcc854.entry.js} +1 -1
  281. package/dist/twilight/{p-8ab2b78f.entry.js → p-a5cbcc70.entry.js} +1 -1
  282. package/dist/twilight/{p-016788c7.entry.js → p-a7140774.entry.js} +1 -1
  283. package/dist/twilight/{p-97a7ab54.entry.js → p-a9b57fbb.entry.js} +1 -1
  284. package/dist/twilight/{p-377b941b.entry.js → p-aa0d53c8.entry.js} +1 -1
  285. package/dist/twilight/{p-c72ed3d3.entry.js → p-ae55de48.entry.js} +1 -1
  286. package/dist/twilight/{p-0f6cf7ae.entry.js → p-aeb6d92c.entry.js} +1 -1
  287. package/dist/twilight/{p-0e95d192.entry.js → p-b0dc296d.entry.js} +1 -1
  288. package/dist/twilight/{p-d5730ccd.entry.js → p-b0f81a93.entry.js} +1 -1
  289. package/dist/twilight/{p-492fd499.entry.js → p-b925e462.entry.js} +1 -1
  290. package/dist/twilight/{p-0597f278.entry.js → p-bba5e521.entry.js} +1 -1
  291. package/dist/twilight/{p-99537f59.entry.js → p-bc66d65f.entry.js} +1 -1
  292. package/dist/twilight/{p-f3a4c8c3.entry.js → p-c067cc58.entry.js} +1 -1
  293. package/dist/twilight/{p-e5b1f92d.entry.js → p-c1a45217.entry.js} +1 -1
  294. package/dist/twilight/{p-eca28f29.entry.js → p-cac7ce02.entry.js} +1 -1
  295. package/dist/twilight/{p-6b600ab2.entry.js → p-d09bcc84.entry.js} +1 -1
  296. package/dist/twilight/{p-365cb4e5.entry.js → p-d2624bca.entry.js} +1 -1
  297. package/dist/twilight/{p-57856a68.entry.js → p-d62ac6c8.entry.js} +1 -1
  298. package/dist/twilight/{p-8edc1c0d.entry.js → p-db12f03d.entry.js} +1 -1
  299. package/dist/twilight/{p-ddfb7d95.entry.js → p-dbc5925e.entry.js} +1 -1
  300. package/dist/twilight/{p-f424a0a2.entry.js → p-dc215a04.entry.js} +1 -1
  301. package/dist/twilight/{p-bb1aff39.entry.js → p-dd2831f5.entry.js} +1 -1
  302. package/dist/twilight/{p-ed713905.entry.js → p-e7f7e8cb.entry.js} +1 -1
  303. package/dist/twilight/{p-4f9905a1.entry.js → p-eaf4df85.entry.js} +1 -1
  304. package/dist/twilight/{p-DHrUX865.js → p-eb_g_RAR.js} +1 -1
  305. package/dist/twilight/{p-a92553f2.entry.js → p-eebe8378.entry.js} +1 -1
  306. package/dist/twilight/{p-e03a5bb9.entry.js → p-efa1e206.entry.js} +1 -1
  307. package/dist/twilight/{p-5d72e09d.entry.js → p-f1e49f36.entry.js} +1 -1
  308. package/dist/twilight/{p-789a33ab.entry.js → p-f4678181.entry.js} +1 -1
  309. package/dist/twilight/{p-153044cb.entry.js → p-f671cd4e.entry.js} +1 -1
  310. package/dist/twilight/p-fb8ba239.entry.js +4 -0
  311. package/dist/twilight/{p-a4e19dcc.entry.js → p-fc25b7fa.entry.js} +1 -1
  312. package/dist/twilight/{p-7d0bad4e.entry.js → p-fced2ec8.entry.js} +1 -1
  313. package/dist/twilight/{p-87f4f9ab.entry.js → p-fd50a634.entry.js} +1 -1
  314. package/dist/twilight/{p-393ced29.entry.js → p-fe909382.entry.js} +1 -1
  315. package/dist/twilight/{p-24244ede.entry.js → p-fe95f82d.entry.js} +1 -1
  316. package/dist/twilight/{p-44ceacb7.entry.js → p-ff24a697.entry.js} +1 -1
  317. package/dist/twilight/{p-07fa35ce.entry.js → p-ff2aa9cf.entry.js} +1 -1
  318. package/dist/twilight/{p-ffaa3b02.entry.js → p-ffddd8cc.entry.js} +1 -1
  319. package/dist/twilight/{p-044967a1.entry.js → p-ffe26a36.entry.js} +1 -1
  320. package/dist/twilight/{p-BVVNfOQk.js → p-gPMLoyk9.js} +1 -1
  321. package/dist/twilight/twilight.esm.js +1 -1
  322. package/package.json +5 -5
  323. package/dist/twilight/p-4f60cdea.entry.js +0 -4
  324. package/dist/twilight/p-b2019ba2.entry.js +0 -4
  325. package/dist/twilight/p-c6-stRrD.js +0 -4
  326. package/dist/twilight/p-ee18ef3e.entry.js +0 -4
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{d as i}from"./p-DD7hlkaJ.js";function n(i,n){return n.forEach((function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach((function(t){if("default"!==t&&!(t in i)){var e=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(i,t,e.get?e:{enumerable:!0,get:function(){return n[t]}})}}))})),Object.freeze(i)}var t,e,o,E={exports:{}},r=t?E.exports:(t=1,E.exports=(e=function(i){return/^image/.test(i.type)},o=function(i){var n=i.addFilter,t=i.utils,o=t.Type,E=t.createRoute,r=t.createItemAPI,l=void 0===r?function(i){return i}:r,_=i.views.fileActionButton;n("SHOULD_REMOVE_ON_REVERT",(function(i,n){var t=n.item,o=n.query;return new Promise((function(i){var n=t.file;i(!(o("GET_ALLOW_IMAGE_EDIT")&&o("GET_IMAGE_EDIT_ALLOW_EDIT")&&e(n)))}))})),n("DID_LOAD_ITEM",(function(i,n){var t=n.query,o=n.dispatch;return new Promise((function(n,E){if(i.origin>1)n(i);else{var r=i.file;if(t("GET_ALLOW_IMAGE_EDIT")&&t("GET_IMAGE_EDIT_INSTANT_EDIT"))if(e(r)){var l=function(i,n,t){return function(e){a.shift(),e?n(i):t(i),o("KICK"),_()}},_=function(){if(a.length){var i=a[0],n=i.item;o("EDIT_ITEM",{id:n.id,handleEditorResponse:l(n,i.resolve,i.reject)})}};u({item:i,resolve:n,reject:E}),1===a.length&&_()}else n(i);else n(i)}}))})),n("DID_CREATE_ITEM",(function(i,n){var t=n.dispatch;i.extend("edit",(function(){t("EDIT_ITEM",{id:i.id})}))}));var a=[],u=function(i){return a.push(i),i};return n("CREATE_VIEW",(function(i){var n=i.is,t=i.view,o=i.query;if(o("GET_ALLOW_IMAGE_EDIT")){var r=o("GET_ALLOW_IMAGE_PREVIEW");if(n("file-info")&&!r||n("file")&&r){var a=o("GET_IMAGE_EDIT_EDITOR");if(a){a.filepondCallbackBridge||(a.outputData=!0,a.outputFile=!1,a.filepondCallbackBridge={onconfirm:a.onconfirm||function(){},oncancel:a.oncancel||function(){}});t.registerDestroyer((function(i){var n=i.root;n.ref.buttonEditItem&&n.ref.buttonEditItem.off("click",n.ref.handleEdit),n.ref.editButton&&n.ref.editButton.removeEventListener("click",n.ref.handleEdit)}));var u={EDIT_ITEM:function(i){var n=i.root,t=i.props.id,e=i.action.handleEditorResponse;a.cropAspectRatio=n.query("GET_IMAGE_CROP_ASPECT_RATIO")||a.cropAspectRatio,a.outputCanvasBackgroundColor=n.query("GET_IMAGE_TRANSFORM_CANVAS_BACKGROUND_COLOR")||a.outputCanvasBackgroundColor;var o=n.query("GET_ITEM",t);if(o){var E=o.file,r=o.getMetadata("crop"),_=o.getMetadata("resize"),u=o.getMetadata("filter")||null,f=o.getMetadata("filters")||null,I=o.getMetadata("colors")||null,c=o.getMetadata("markup")||null,T={crop:r||{center:{x:.5,y:.5},flip:{horizontal:!1,vertical:!1},zoom:1,rotation:0,aspectRatio:null},size:_?{upscale:_.upscale,mode:_.mode,width:_.size.width,height:_.size.height}:null,filter:f?f.id||f.matrix:n.query("GET_ALLOW_IMAGE_FILTER")&&n.query("GET_IMAGE_FILTER_COLOR_MATRIX")&&!I?u:null,color:I,markup:c};a.onconfirm=function(i){var n=i.data,t=n.crop,E=n.size,r=n.filter,_=n.color,u=n.colorMatrix,f=n.markup,I={};if(t&&(I.crop=t),E){var c=(o.getMetadata("resize")||{}).size,T={width:E.width,height:E.height};T.width&&T.height||!c||(T.width=c.width,T.height=c.height),(T.width||T.height)&&(I.resize={upscale:E.upscale,mode:E.mode,size:T})}f&&(I.markup=f),I.colors=_,I.filters=r,I.filter=u,o.setMetadata(I),a.filepondCallbackBridge.onconfirm(n,l(o)),e&&(a.onclose=function(){e(!0),a.onclose=null})},a.oncancel=function(){a.filepondCallbackBridge.oncancel(l(o)),e&&(a.onclose=function(){e(!1),a.onclose=null})},a.open(E,T)}},DID_LOAD_ITEM:function(i){var n=i.root,E=i.props;if(o("GET_IMAGE_EDIT_ALLOW_EDIT")){var l=E.id,a=o("GET_ITEM",l);if(a&&e(a.file))if(n.ref.handleEdit=function(i){i.stopPropagation(),n.dispatch("EDIT_ITEM",{id:l})},r){var u=t.createChildView(_,{label:"edit",icon:o("GET_IMAGE_EDIT_ICON_EDIT"),opacity:0});u.element.classList.add("filepond--action-edit-item"),u.element.dataset.align=o("GET_STYLE_IMAGE_EDIT_BUTTON_EDIT_ITEM_POSITION"),u.on("click",n.ref.handleEdit),n.ref.buttonEditItem=t.appendChildView(u)}else{var f=t.element.querySelector(".filepond--file-info-main"),I=document.createElement("button");I.className="filepond--action-edit-item-alt",I.innerHTML=o("GET_IMAGE_EDIT_ICON_EDIT")+"<span>edit</span>",I.addEventListener("click",n.ref.handleEdit),f.appendChild(I),n.ref.editButton=I}}}};r&&(u.DID_IMAGE_PREVIEW_SHOW=function(i){var n=i.root;n.ref.buttonEditItem&&(n.ref.buttonEditItem.opacity=1)}),t.registerWriter(E(u))}}}})),{options:{allowImageEdit:[!0,o.BOOLEAN],styleImageEditButtonEditItemPosition:["bottom center",o.STRING],imageEditInstantEdit:[!1,o.BOOLEAN],imageEditAllowEdit:[!0,o.BOOLEAN],imageEditIconEdit:['<svg width="26" height="26" viewBox="0 0 26 26" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M8.5 17h1.586l7-7L15.5 8.414l-7 7V17zm-1.707-2.707l8-8a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1 0 1.414l-8 8A1 1 0 0 1 10.5 19h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 .293-.707z" fill="currentColor" fill-rule="nonzero"/></svg>',o.STRING],imageEditEditor:[null,o.OBJECT]}}},"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:o})),o)),l=n({__proto__:null,default:i(r)},[r]);
4
+ import{d as i}from"./p-C_ccgsYC.js";function n(i,n){return n.forEach((function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach((function(t){if("default"!==t&&!(t in i)){var e=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(i,t,e.get?e:{enumerable:!0,get:function(){return n[t]}})}}))})),Object.freeze(i)}var t,e,o,E={exports:{}},r=t?E.exports:(t=1,E.exports=(e=function(i){return/^image/.test(i.type)},o=function(i){var n=i.addFilter,t=i.utils,o=t.Type,E=t.createRoute,r=t.createItemAPI,_=void 0===r?function(i){return i}:r,l=i.views.fileActionButton;n("SHOULD_REMOVE_ON_REVERT",(function(i,n){var t=n.item,o=n.query;return new Promise((function(i){var n=t.file;i(!(o("GET_ALLOW_IMAGE_EDIT")&&o("GET_IMAGE_EDIT_ALLOW_EDIT")&&e(n)))}))})),n("DID_LOAD_ITEM",(function(i,n){var t=n.query,o=n.dispatch;return new Promise((function(n,E){if(i.origin>1)n(i);else{var r=i.file;if(t("GET_ALLOW_IMAGE_EDIT")&&t("GET_IMAGE_EDIT_INSTANT_EDIT"))if(e(r)){var _=function(i,n,t){return function(e){a.shift(),e?n(i):t(i),o("KICK"),l()}},l=function(){if(a.length){var i=a[0],n=i.item;o("EDIT_ITEM",{id:n.id,handleEditorResponse:_(n,i.resolve,i.reject)})}};u({item:i,resolve:n,reject:E}),1===a.length&&l()}else n(i);else n(i)}}))})),n("DID_CREATE_ITEM",(function(i,n){var t=n.dispatch;i.extend("edit",(function(){t("EDIT_ITEM",{id:i.id})}))}));var a=[],u=function(i){return a.push(i),i};return n("CREATE_VIEW",(function(i){var n=i.is,t=i.view,o=i.query;if(o("GET_ALLOW_IMAGE_EDIT")){var r=o("GET_ALLOW_IMAGE_PREVIEW");if(n("file-info")&&!r||n("file")&&r){var a=o("GET_IMAGE_EDIT_EDITOR");if(a){a.filepondCallbackBridge||(a.outputData=!0,a.outputFile=!1,a.filepondCallbackBridge={onconfirm:a.onconfirm||function(){},oncancel:a.oncancel||function(){}});t.registerDestroyer((function(i){var n=i.root;n.ref.buttonEditItem&&n.ref.buttonEditItem.off("click",n.ref.handleEdit),n.ref.editButton&&n.ref.editButton.removeEventListener("click",n.ref.handleEdit)}));var u={EDIT_ITEM:function(i){var n=i.root,t=i.props.id,e=i.action.handleEditorResponse;a.cropAspectRatio=n.query("GET_IMAGE_CROP_ASPECT_RATIO")||a.cropAspectRatio,a.outputCanvasBackgroundColor=n.query("GET_IMAGE_TRANSFORM_CANVAS_BACKGROUND_COLOR")||a.outputCanvasBackgroundColor;var o=n.query("GET_ITEM",t);if(o){var E=o.file,r=o.getMetadata("crop"),l=o.getMetadata("resize"),u=o.getMetadata("filter")||null,c=o.getMetadata("filters")||null,f=o.getMetadata("colors")||null,I=o.getMetadata("markup")||null,T={crop:r||{center:{x:.5,y:.5},flip:{horizontal:!1,vertical:!1},zoom:1,rotation:0,aspectRatio:null},size:l?{upscale:l.upscale,mode:l.mode,width:l.size.width,height:l.size.height}:null,filter:c?c.id||c.matrix:n.query("GET_ALLOW_IMAGE_FILTER")&&n.query("GET_IMAGE_FILTER_COLOR_MATRIX")&&!f?u:null,color:f,markup:I};a.onconfirm=function(i){var n=i.data,t=n.crop,E=n.size,r=n.filter,l=n.color,u=n.colorMatrix,c=n.markup,f={};if(t&&(f.crop=t),E){var I=(o.getMetadata("resize")||{}).size,T={width:E.width,height:E.height};T.width&&T.height||!I||(T.width=I.width,T.height=I.height),(T.width||T.height)&&(f.resize={upscale:E.upscale,mode:E.mode,size:T})}c&&(f.markup=c),f.colors=l,f.filters=r,f.filter=u,o.setMetadata(f),a.filepondCallbackBridge.onconfirm(n,_(o)),e&&(a.onclose=function(){e(!0),a.onclose=null})},a.oncancel=function(){a.filepondCallbackBridge.oncancel(_(o)),e&&(a.onclose=function(){e(!1),a.onclose=null})},a.open(E,T)}},DID_LOAD_ITEM:function(i){var n=i.root,E=i.props;if(o("GET_IMAGE_EDIT_ALLOW_EDIT")){var _=E.id,a=o("GET_ITEM",_);if(a&&e(a.file))if(n.ref.handleEdit=function(i){i.stopPropagation(),n.dispatch("EDIT_ITEM",{id:_})},r){var u=t.createChildView(l,{label:"edit",icon:o("GET_IMAGE_EDIT_ICON_EDIT"),opacity:0});u.element.classList.add("filepond--action-edit-item"),u.element.dataset.align=o("GET_STYLE_IMAGE_EDIT_BUTTON_EDIT_ITEM_POSITION"),u.on("click",n.ref.handleEdit),n.ref.buttonEditItem=t.appendChildView(u)}else{var c=t.element.querySelector(".filepond--file-info-main"),f=document.createElement("button");f.className="filepond--action-edit-item-alt",f.innerHTML=o("GET_IMAGE_EDIT_ICON_EDIT")+"<span>edit</span>",f.addEventListener("click",n.ref.handleEdit),c.appendChild(f),n.ref.editButton=f}}}};r&&(u.DID_IMAGE_PREVIEW_SHOW=function(i){var n=i.root;n.ref.buttonEditItem&&(n.ref.buttonEditItem.opacity=1)}),t.registerWriter(E(u))}}}})),{options:{allowImageEdit:[!0,o.BOOLEAN],styleImageEditButtonEditItemPosition:["bottom center",o.STRING],imageEditInstantEdit:[!1,o.BOOLEAN],imageEditAllowEdit:[!0,o.BOOLEAN],imageEditIconEdit:['<svg width="26" height="26" viewBox="0 0 26 26" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M8.5 17h1.586l7-7L15.5 8.414l-7 7V17zm-1.707-2.707l8-8a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1 0 1.414l-8 8A1 1 0 0 1 10.5 19h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 .293-.707z" fill="currentColor" fill-rule="nonzero"/></svg>',o.STRING],imageEditEditor:[null,o.OBJECT]}}},"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:o})),o)),_=n({__proto__:null,default:i(r)},[r]);
5
5
  /*!
6
6
  * FilePondPluginImageEdit 1.6.3
7
7
  * Licensed under MIT, https://opensource.org/licenses/MIT/
8
8
  * Please visit https://pqina.nl/filepond/ for details.
9
- */export{l as f}
9
+ */export{_ as f}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{d as e}from"./p-DD7hlkaJ.js";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n,i,E={exports:{}},r=n?E.exports:(n=1,E.exports=(i=function(e){var t=e.addFilter,n=e.utils,i=n.Type,E=n.isString,r=n.replaceInString,T=n.guesstimateMimeType,u=n.getExtensionFromFilename,o=n.getFilenameFromURL,_=function(e,t){return e.some((function(e){return/\*$/.test(e)?(n=e,(/^[^/]+/.exec(t)||[]).pop()===n.slice(0,-2)):e===t;var n}))},a=function(e,t,n){if(0===t.length)return!0;var i=function(e){var t="";if(E(e)){var n=o(e),i=u(n);i&&(t=T(i))}else t=e.type;return t}(e);return n?new Promise((function(E,r){n(e,i).then((function(e){_(t,e)?E():r()})).catch(r)})):_(t,i)};return t("SET_ATTRIBUTE_TO_OPTION_MAP",(function(e){return Object.assign(e,{accept:"acceptedFileTypes"})})),t("ALLOW_HOPPER_ITEM",(function(e,t){var n=t.query;return!n("GET_ALLOW_FILE_TYPE_VALIDATION")||a(e,n("GET_ACCEPTED_FILE_TYPES"))})),t("LOAD_FILE",(function(e,t){var n=t.query;return new Promise((function(t,i){if(n("GET_ALLOW_FILE_TYPE_VALIDATION")){var E=n("GET_ACCEPTED_FILE_TYPES"),T=n("GET_FILE_VALIDATE_TYPE_DETECT_TYPE"),u=a(e,E,T),o=function(){var e,t=E.map((e=n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES_MAP"),function(t){return null!==e[t]&&(e[t]||t)})).filter((function(e){return!1!==e})),T=t.filter((function(e,n){return t.indexOf(e)===n}));i({status:{main:n("GET_LABEL_FILE_TYPE_NOT_ALLOWED"),sub:r(n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES"),{allTypes:T.join(", "),allButLastType:T.slice(0,-1).join(", "),lastType:T[T.length-1]})}})};if("boolean"==typeof u)return u?t(e):o();u.then((function(){t(e)})).catch(o)}else t(e)}))})),{options:{allowFileTypeValidation:[!0,i.BOOLEAN],acceptedFileTypes:[[],i.ARRAY],labelFileTypeNotAllowed:["File is of invalid type",i.STRING],fileValidateTypeLabelExpectedTypes:["Expects {allButLastType} or {lastType}",i.STRING],fileValidateTypeLabelExpectedTypesMap:[{},i.OBJECT],fileValidateTypeDetectType:[null,i.FUNCTION]}}},"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:i})),i)),T=t({__proto__:null,default:e(r)},[r]);
4
+ import{d as e}from"./p-C_ccgsYC.js";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n,i,E={exports:{}},r=n?E.exports:(n=1,E.exports=(i=function(e){var t=e.addFilter,n=e.utils,i=n.Type,E=n.isString,r=n.replaceInString,T=n.guesstimateMimeType,u=n.getExtensionFromFilename,_=n.getFilenameFromURL,o=function(e,t){return e.some((function(e){return/\*$/.test(e)?(n=e,(/^[^/]+/.exec(t)||[]).pop()===n.slice(0,-2)):e===t;var n}))},a=function(e,t,n){if(0===t.length)return!0;var i=function(e){var t="";if(E(e)){var n=_(e),i=u(n);i&&(t=T(i))}else t=e.type;return t}(e);return n?new Promise((function(E,r){n(e,i).then((function(e){o(t,e)?E():r()})).catch(r)})):o(t,i)};return t("SET_ATTRIBUTE_TO_OPTION_MAP",(function(e){return Object.assign(e,{accept:"acceptedFileTypes"})})),t("ALLOW_HOPPER_ITEM",(function(e,t){var n=t.query;return!n("GET_ALLOW_FILE_TYPE_VALIDATION")||a(e,n("GET_ACCEPTED_FILE_TYPES"))})),t("LOAD_FILE",(function(e,t){var n=t.query;return new Promise((function(t,i){if(n("GET_ALLOW_FILE_TYPE_VALIDATION")){var E=n("GET_ACCEPTED_FILE_TYPES"),T=n("GET_FILE_VALIDATE_TYPE_DETECT_TYPE"),u=a(e,E,T),_=function(){var e,t=E.map((e=n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES_MAP"),function(t){return null!==e[t]&&(e[t]||t)})).filter((function(e){return!1!==e})),T=t.filter((function(e,n){return t.indexOf(e)===n}));i({status:{main:n("GET_LABEL_FILE_TYPE_NOT_ALLOWED"),sub:r(n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES"),{allTypes:T.join(", "),allButLastType:T.slice(0,-1).join(", "),lastType:T[T.length-1]})}})};if("boolean"==typeof u)return u?t(e):_();u.then((function(){t(e)})).catch(_)}else t(e)}))})),{options:{allowFileTypeValidation:[!0,i.BOOLEAN],acceptedFileTypes:[[],i.ARRAY],labelFileTypeNotAllowed:["File is of invalid type",i.STRING],fileValidateTypeLabelExpectedTypes:["Expects {allButLastType} or {lastType}",i.STRING],fileValidateTypeLabelExpectedTypesMap:[{},i.OBJECT],fileValidateTypeDetectType:[null,i.FUNCTION]}}},"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:i})),i)),T=t({__proto__:null,default:e(r)},[r]);
5
5
  /*!
6
6
  * FilePondPluginFileValidateType 1.2.9
7
7
  * Licensed under MIT, https://opensource.org/licenses/MIT/
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import{f as t}from"./p-C_ccgsYC.js";function r(r,s={}){return s=Object.assign({initialData:void 0,initialStatus:"idle"},s),(i,e)=>{const o=Object.assign((function(...s){const i=r=>{Object.assign(this[e],r),t(this)};return i({status:"pending",error:void 0}),r.call(this,...s).then((t=>(i({status:"success",data:t,error:void 0}),t)),(t=>(i({status:"error",error:t}),Promise.reject(t))))}),{status:s.initialStatus,data:s.initialData,error:void 0});Object.defineProperty(i,e,{value:o})}}export{r as T}