@salla.sa/twilight-components 2.14.475 → 2.14.476

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 (347) hide show
  1. package/dist/cjs/{filepond-CCDcLMJG.js → filepond-CJ-ohhaG.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-Dv1iTut9.js → filepond-plugin-file-poster-DEg147-W.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-CvGFV0Fy.js → filepond-plugin-file-validate-size-Cd9ZtF22.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BA7LgQgR.js → filepond-plugin-file-validate-type-Kse5TjAn.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-COOD9fMI.js → filepond-plugin-image-edit-DRgtgiQH.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-CoTDjMfx.js → filepond-plugin-image-exif-orientation-B6a2oJcX.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-w1azXYdm.js → filepond-plugin-image-preview-UbYGoPcJ.js} +1 -1
  8. package/dist/cjs/{functions-EwUKSxdM.js → functions-lMzyaZ1L.js} +1 -1
  9. package/dist/cjs/{index-Ct9HgIyS.js → index-CvkzTFUU.js} +2 -2
  10. package/dist/cjs/{index-b6aVLc9i.js → index-DbSdIHzI.js} +1 -1
  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 +11 -11
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +18 -2
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +19 -2
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
  84. package/dist/cjs/salla-scopes.cjs.entry.js +25 -6
  85. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  86. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  87. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  91. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-trust-badges.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  100. package/dist/cjs/{tracked-promise-C4Tvqvi9.js → tracked-promise-ChTKDERU.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +1 -1
  102. package/dist/cjs/{vanilla-picker-2UXFqn4t.js → vanilla-picker-ClhLWTOR.js} +1 -1
  103. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +17 -1
  104. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +18 -1
  105. package/dist/collection/components/salla-scopes/salla-scopes.js +24 -5
  106. package/dist/collection/components/salla-search/salla-search.js +5 -5
  107. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  108. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  109. package/dist/collection/components/salla-social/salla-social.js +1 -1
  110. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  111. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  112. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  113. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  114. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  115. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  116. package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +1 -1
  117. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  118. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  119. package/dist/components/index.js +2 -2
  120. package/dist/components/salla-cart-summary.js +17 -1
  121. package/dist/components/salla-localization-modal.js +18 -1
  122. package/dist/components/salla-scopes.js +24 -5
  123. package/dist/components/salla-search.js +5 -5
  124. package/dist/components/salla-searchable-dropdown2.js +4 -4
  125. package/dist/components/salla-skeleton2.js +1 -1
  126. package/dist/components/salla-social-share2.js +1 -1
  127. package/dist/components/salla-social.js +1 -1
  128. package/dist/components/salla-tab-content2.js +1 -1
  129. package/dist/components/salla-tab-header2.js +1 -1
  130. package/dist/components/salla-tabs2.js +1 -1
  131. package/dist/components/salla-tel-input2.js +1 -1
  132. package/dist/components/salla-tooltip2.js +1 -1
  133. package/dist/components/salla-trust-badges.js +1 -1
  134. package/dist/components/salla-user-settings.js +1 -1
  135. package/dist/components/salla-wishlist-actions.js +1 -1
  136. package/dist/esm/{filepond-Dkgdn6NP.js → filepond-CI5IhawK.js} +1 -1
  137. package/dist/esm/{filepond-plugin-file-poster-H_Uehrm-.js → filepond-plugin-file-poster-Br3XP08y.js} +1 -1
  138. package/dist/esm/{filepond-plugin-file-validate-size-DGahL5WO.js → filepond-plugin-file-validate-size-evoB_lus.js} +1 -1
  139. package/dist/esm/{filepond-plugin-file-validate-type-BXAhWg72.js → filepond-plugin-file-validate-type-DINMO_PM.js} +1 -1
  140. package/dist/esm/{filepond-plugin-image-edit-CTk7VerB.js → filepond-plugin-image-edit-BezFD6qn.js} +1 -1
  141. package/dist/esm/{filepond-plugin-image-exif-orientation-DDs-wuhx.js → filepond-plugin-image-exif-orientation-DpQFMoWn.js} +1 -1
  142. package/dist/esm/{filepond-plugin-image-preview-DGDPjluB.js → filepond-plugin-image-preview-COAzYcXw.js} +1 -1
  143. package/dist/esm/{functions-CWE4HPyq.js → functions-DRBXCFuf.js} +1 -1
  144. package/dist/esm/{index-D-UuXsoI.js → index-CCmkpaUr.js} +2 -2
  145. package/dist/esm/{index-Ct8EQ1Xr.js → index-Cbv5qmRi.js} +1 -1
  146. package/dist/esm/loader.js +2 -2
  147. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  148. package/dist/esm/salla-accordion_6.entry.js +1 -1
  149. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  150. package/dist/esm/salla-advertisement.entry.js +1 -1
  151. package/dist/esm/salla-alert_2.entry.js +1 -1
  152. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  153. package/dist/esm/salla-apps-icons.entry.js +1 -1
  154. package/dist/esm/salla-badge.entry.js +1 -1
  155. package/dist/esm/salla-booking-field_7.entry.js +11 -11
  156. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  157. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  158. package/dist/esm/salla-cart-item-offers_2.entry.js +18 -2
  159. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  160. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  161. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  162. package/dist/esm/salla-contacts.entry.js +1 -1
  163. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  164. package/dist/esm/salla-count-down.entry.js +1 -1
  165. package/dist/esm/salla-custom-fields.entry.js +1 -1
  166. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  167. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  168. package/dist/esm/salla-filters-widget.entry.js +1 -1
  169. package/dist/esm/salla-filters.entry.js +1 -1
  170. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  171. package/dist/esm/salla-gifting.entry.js +1 -1
  172. package/dist/esm/salla-hook.entry.js +1 -1
  173. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  174. package/dist/esm/salla-installment.entry.js +1 -1
  175. package/dist/esm/salla-list-tile.entry.js +1 -1
  176. package/dist/esm/salla-localization-modal.entry.js +19 -2
  177. package/dist/esm/salla-login-modal.entry.js +1 -1
  178. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  179. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  180. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  181. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  182. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  183. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  184. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  185. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  186. package/dist/esm/salla-loyalty.entry.js +1 -1
  187. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  188. package/dist/esm/salla-map_2.entry.js +1 -1
  189. package/dist/esm/salla-menu.entry.js +1 -1
  190. package/dist/esm/salla-metadata.entry.js +1 -1
  191. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  192. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  193. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  194. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  195. package/dist/esm/salla-notification-item.entry.js +1 -1
  196. package/dist/esm/salla-notifications.entry.js +1 -1
  197. package/dist/esm/salla-offer-modal.entry.js +1 -1
  198. package/dist/esm/salla-offer.entry.js +1 -1
  199. package/dist/esm/salla-order-branch.entry.js +1 -1
  200. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  201. package/dist/esm/salla-order-details-options.entry.js +1 -1
  202. package/dist/esm/salla-order-details.entry.js +1 -1
  203. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  204. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  205. package/dist/esm/salla-order-edit.entry.js +1 -1
  206. package/dist/esm/salla-order-options-modal_3.entry.js +1 -1
  207. package/dist/esm/salla-order-summary.entry.js +1 -1
  208. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  209. package/dist/esm/salla-orders.entry.js +1 -1
  210. package/dist/esm/salla-payments.entry.js +1 -1
  211. package/dist/esm/salla-placeholder.entry.js +1 -1
  212. package/dist/esm/salla-price-range.entry.js +1 -1
  213. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  214. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  215. package/dist/esm/salla-products-list.entry.js +1 -1
  216. package/dist/esm/salla-quick-order.entry.js +1 -1
  217. package/dist/esm/salla-rating-modal.entry.js +1 -1
  218. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  219. package/dist/esm/salla-scopes.entry.js +25 -6
  220. package/dist/esm/salla-search.entry.js +6 -6
  221. package/dist/esm/salla-skeleton.entry.js +2 -2
  222. package/dist/esm/salla-slider.entry.js +1 -1
  223. package/dist/esm/salla-social-share.entry.js +2 -2
  224. package/dist/esm/salla-social.entry.js +2 -2
  225. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  226. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  227. package/dist/esm/salla-tooltip.entry.js +2 -2
  228. package/dist/esm/salla-trust-badges.entry.js +2 -2
  229. package/dist/esm/salla-user-menu.entry.js +1 -1
  230. package/dist/esm/salla-user-profile.entry.js +1 -1
  231. package/dist/esm/salla-user-settings.entry.js +2 -2
  232. package/dist/esm/salla-verify.entry.js +1 -1
  233. package/dist/esm/salla-wallet.entry.js +1 -1
  234. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  235. package/dist/esm/{tracked-promise-r7OIxu9g.js → tracked-promise-BeB1W9ZQ.js} +1 -1
  236. package/dist/esm/twilight.js +2 -2
  237. package/dist/esm/{vanilla-picker-eIDpMDr5.js → vanilla-picker-Bs4N6Pj2.js} +1 -1
  238. package/dist/twilight/{p-8e191abf.entry.js → p-039eadab.entry.js} +1 -1
  239. package/dist/twilight/{p-993ff2a4.entry.js → p-07a45122.entry.js} +1 -1
  240. package/dist/twilight/{p-9f1629cf.entry.js → p-0cffb95f.entry.js} +1 -1
  241. package/dist/twilight/{p-4aa2ac31.entry.js → p-101a336e.entry.js} +1 -1
  242. package/dist/twilight/{p-c1f47188.entry.js → p-1777e8cf.entry.js} +1 -1
  243. package/dist/twilight/p-181cac59.entry.js +4 -0
  244. package/dist/twilight/{p-bd202079.entry.js → p-1e189138.entry.js} +1 -1
  245. package/dist/twilight/{p-e32206b6.entry.js → p-20b5e26a.entry.js} +1 -1
  246. package/dist/twilight/{p-0a2e2520.entry.js → p-21d8849a.entry.js} +1 -1
  247. package/dist/twilight/{p-2dc58d76.entry.js → p-240c246f.entry.js} +1 -1
  248. package/dist/twilight/{p-c437bb1f.entry.js → p-26146e88.entry.js} +1 -1
  249. package/dist/twilight/{p-1cacc3b5.entry.js → p-2ba4c828.entry.js} +1 -1
  250. package/dist/twilight/{p-156750a1.entry.js → p-2bb4bb3f.entry.js} +1 -1
  251. package/dist/twilight/{p-f7a929a4.entry.js → p-2ebb5fd5.entry.js} +1 -1
  252. package/dist/twilight/{p-f2ec2e13.entry.js → p-2ed22900.entry.js} +1 -1
  253. package/dist/twilight/{p-ecf0a71c.entry.js → p-33bd4967.entry.js} +1 -1
  254. package/dist/twilight/{p-a61a86e1.entry.js → p-34665b64.entry.js} +1 -1
  255. package/dist/twilight/{p-68dec776.entry.js → p-394ffd54.entry.js} +1 -1
  256. package/dist/twilight/{p-dabf811b.entry.js → p-43265b28.entry.js} +1 -1
  257. package/dist/twilight/{p-61841a17.entry.js → p-49ff092f.entry.js} +1 -1
  258. package/dist/twilight/{p-dfae005d.entry.js → p-4b1603e1.entry.js} +1 -1
  259. package/dist/twilight/{p-d876ad8f.entry.js → p-4ba215e9.entry.js} +1 -1
  260. package/dist/twilight/{p-8409b888.entry.js → p-4c5cebdc.entry.js} +1 -1
  261. package/dist/twilight/{p-1623ffb3.entry.js → p-5280ac1a.entry.js} +1 -1
  262. package/dist/twilight/{p-4d8f6357.entry.js → p-52f364c5.entry.js} +1 -1
  263. package/dist/twilight/{p-e2d4ce2b.entry.js → p-53e247f7.entry.js} +1 -1
  264. package/dist/twilight/{p-fd22a89d.entry.js → p-575f3be3.entry.js} +1 -1
  265. package/dist/twilight/{p-f7a8baa1.entry.js → p-5d0bf892.entry.js} +1 -1
  266. package/dist/twilight/{p-baf7bed1.entry.js → p-5d15dc88.entry.js} +1 -1
  267. package/dist/twilight/{p-76f87b81.entry.js → p-5d2d2f9c.entry.js} +1 -1
  268. package/dist/twilight/{p-4720206a.entry.js → p-5ee85309.entry.js} +1 -1
  269. package/dist/twilight/{p-60aac9a8.entry.js → p-639e4dcc.entry.js} +1 -1
  270. package/dist/twilight/{p-55179340.entry.js → p-63cbc37e.entry.js} +1 -1
  271. package/dist/twilight/{p-95aeb406.entry.js → p-64d12607.entry.js} +1 -1
  272. package/dist/twilight/{p-d0db9122.entry.js → p-64f43db0.entry.js} +1 -1
  273. package/dist/twilight/{p-7e2911c0.entry.js → p-67391111.entry.js} +1 -1
  274. package/dist/twilight/{p-bcd8b556.entry.js → p-67ca7c30.entry.js} +1 -1
  275. package/dist/twilight/{p-4281df04.entry.js → p-6e0c8680.entry.js} +1 -1
  276. package/dist/twilight/{p-e94a4136.entry.js → p-75b6878c.entry.js} +1 -1
  277. package/dist/twilight/p-762336bc.entry.js +4 -0
  278. package/dist/twilight/{p-b1f04f5f.entry.js → p-79392bfc.entry.js} +1 -1
  279. package/dist/twilight/{p-98cc5c65.entry.js → p-80961ab7.entry.js} +1 -1
  280. package/dist/twilight/{p-ad491d49.entry.js → p-828ef579.entry.js} +1 -1
  281. package/dist/twilight/{p-acedd224.entry.js → p-8503018c.entry.js} +1 -1
  282. package/dist/twilight/{p-d298dad8.entry.js → p-85e1e3a0.entry.js} +1 -1
  283. package/dist/twilight/{p-ffe1ffca.entry.js → p-8ea37098.entry.js} +1 -1
  284. package/dist/twilight/p-9070f24e.entry.js +4 -0
  285. package/dist/twilight/{p-1c5fe5a0.entry.js → p-91048b10.entry.js} +1 -1
  286. package/dist/twilight/{p-d473f745.entry.js → p-93063769.entry.js} +1 -1
  287. package/dist/twilight/{p-4a011968.entry.js → p-935eaeee.entry.js} +1 -1
  288. package/dist/twilight/{p-d3f2e0fe.entry.js → p-958c0578.entry.js} +1 -1
  289. package/dist/twilight/{p-498c5eb6.entry.js → p-990afbbd.entry.js} +1 -1
  290. package/dist/twilight/{p-876d87c3.entry.js → p-9b137fc1.entry.js} +1 -1
  291. package/dist/twilight/{p-fe66a432.entry.js → p-9f924f46.entry.js} +1 -1
  292. package/dist/twilight/{p-2uzvdhCR.js → p-BRd7Uttn.js} +1 -1
  293. package/dist/twilight/{p-BWmPIvBR.js → p-BpTzhiML.js} +1 -1
  294. package/dist/twilight/{p-BFVxMN0g.js → p-CCIAKfEz.js} +1 -1
  295. package/dist/twilight/{p-D-UuXsoI.js → p-CCmkpaUr.js} +1 -1
  296. package/dist/twilight/{p-DLb1HLym.js → p-CRXgfxZz.js} +1 -1
  297. package/dist/twilight/{p-BWwfPF82.js → p-CbUMLp_K.js} +1 -1
  298. package/dist/twilight/{p-oqlVgxRO.js → p-D2k9qKuv.js} +1 -1
  299. package/dist/twilight/{p-uqeFRSpe.js → p-Dn4aj2-G.js} +1 -1
  300. package/dist/twilight/{p-DSm41XCS.js → p-Dn4zZcaL.js} +1 -1
  301. package/dist/twilight/{p-D0K_8IHl.js → p-DqwP04u2.js} +1 -1
  302. package/dist/twilight/{p-CWXc9uPh.js → p-XVDeaVNt.js} +1 -1
  303. package/dist/twilight/{p-87bf9020.entry.js → p-a3f43f0c.entry.js} +1 -1
  304. package/dist/twilight/{p-049a6d23.entry.js → p-ac4d2fda.entry.js} +1 -1
  305. package/dist/twilight/{p-0e6aa1ae.entry.js → p-b12bb5de.entry.js} +1 -1
  306. package/dist/twilight/{p-694f01bc.entry.js → p-b4769ff3.entry.js} +1 -1
  307. package/dist/twilight/{p-586e7206.entry.js → p-b7225165.entry.js} +1 -1
  308. package/dist/twilight/{p-ec3c0f42.entry.js → p-b7ef118c.entry.js} +2 -2
  309. package/dist/twilight/{p-cb2245f8.entry.js → p-b8b84400.entry.js} +1 -1
  310. package/dist/twilight/{p-9d094e8b.entry.js → p-be1143ce.entry.js} +1 -1
  311. package/dist/twilight/{p-db1b868f.entry.js → p-bf8b1264.entry.js} +1 -1
  312. package/dist/twilight/{p-c38628d5.entry.js → p-c4548a08.entry.js} +1 -1
  313. package/dist/twilight/{p-45feb58a.entry.js → p-c598e4ad.entry.js} +1 -1
  314. package/dist/twilight/{p-14926610.entry.js → p-c6b00d42.entry.js} +1 -1
  315. package/dist/twilight/{p-39ea942a.entry.js → p-c726eb0c.entry.js} +1 -1
  316. package/dist/twilight/{p-b39326c4.entry.js → p-cb13109f.entry.js} +1 -1
  317. package/dist/twilight/{p-6be36db2.entry.js → p-cd43186a.entry.js} +1 -1
  318. package/dist/twilight/{p-8a80c206.entry.js → p-ce96edb8.entry.js} +1 -1
  319. package/dist/twilight/{p-71b5eae7.entry.js → p-d8e62777.entry.js} +1 -1
  320. package/dist/twilight/{p-6e420513.entry.js → p-db1a17f6.entry.js} +1 -1
  321. package/dist/twilight/{p-3bf8c0b9.entry.js → p-df6bb4de.entry.js} +1 -1
  322. package/dist/twilight/{p-28031c0a.entry.js → p-e0b35b22.entry.js} +1 -1
  323. package/dist/twilight/{p-88fa51f9.entry.js → p-e21d39fe.entry.js} +1 -1
  324. package/dist/twilight/{p-9b2a7c8b.entry.js → p-e61c518b.entry.js} +1 -1
  325. package/dist/twilight/{p-c6bf6315.entry.js → p-e8ba458c.entry.js} +1 -1
  326. package/dist/twilight/{p-a1484116.entry.js → p-ec0cf9b1.entry.js} +1 -1
  327. package/dist/twilight/{p-a9c38076.entry.js → p-ec55b19d.entry.js} +1 -1
  328. package/dist/twilight/{p-b8c2cd7f.entry.js → p-f1f8b22c.entry.js} +1 -1
  329. package/dist/twilight/{p-796ab099.entry.js → p-f512d962.entry.js} +1 -1
  330. package/dist/twilight/p-f6bdf794.entry.js +4 -0
  331. package/dist/twilight/{p-75b68774.entry.js → p-fceb9538.entry.js} +1 -1
  332. package/dist/twilight/p-fd08f948.entry.js +4 -0
  333. package/dist/twilight/{p-7610c9ee.entry.js → p-fd434f3d.entry.js} +1 -1
  334. package/dist/twilight/{p-a68f29d9.entry.js → p-fdeb9fff.entry.js} +1 -1
  335. package/dist/twilight/{p-7b9a7ad1.entry.js → p-fe06c38a.entry.js} +1 -1
  336. package/dist/twilight/{p-572bc95c.entry.js → p-fecf9d4d.entry.js} +1 -1
  337. package/dist/twilight/{p-CqyL_YYQ.js → p-nN-08mtR.js} +1 -1
  338. package/dist/twilight/twilight.esm.js +1 -1
  339. package/dist/types/components/salla-cart-summary/salla-cart-summary.d.ts +8 -0
  340. package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +6 -0
  341. package/dist/types/components/salla-scopes/salla-scopes.d.ts +8 -0
  342. package/package.json +5 -5
  343. package/dist/twilight/p-46cf2273.entry.js +0 -4
  344. package/dist/twilight/p-869657bf.entry.js +0 -4
  345. package/dist/twilight/p-8dd0efeb.entry.js +0 -4
  346. package/dist/twilight/p-c49052d7.entry.js +0 -4
  347. package/dist/twilight/p-c6bd4bde.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{d as t}from"./p-D-UuXsoI.js";function n(t,n){return n.forEach((function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach((function(e){if("default"!==e&&!(e in t)){var r=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return n[e]}})}}))})),Object.freeze(t)}var e,r={exports:{}},i=(e||(e=1,r.exports=function(){var t={type:"spring",stiffness:.5,damping:.45,mass:10},n=function(t){return-.5*(Math.cos(Math.PI*t)-1)},e=function(t){var n=Math.min(10/t.width,10/t.height),e=document.createElement("canvas"),i=e.getContext("2d"),o=e.width=Math.ceil(t.width*n),a=e.height=Math.ceil(t.height*n);i.drawImage(t,0,0,o,a);var _=null;try{_=i.getImageData(0,0,o,a).data}catch(t){return null}for(var E=_.length,u=0,I=0,c=0,T=0;T<E;T+=4)u+=_[T]*_[T],I+=_[T+1]*_[T+1],c+=_[T+2]*_[T+2];return{r:u=r(u,E),g:I=r(I,E),b:c=r(c,E)}},r=function(t,n){return Math.floor(Math.sqrt(t/(n/4)))},i=function(t,e,r,i,o){t.width=e,t.height=r;var a=t.getContext("2d"),_=.5*e,E=a.createRadialGradient(_,r+110,r-100,_,r+110,r+100);(function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,_=1-a,E=e.join(","),u=0;u<=o;u++){var I=u/o;t.addColorStop(a+_*I,"rgba(".concat(E,", ").concat(i(I)*r,")"))}})(E,i,o,void 0,8,.4),a.save(),a.translate(-250,0),a.scale(2,1),a.fillStyle=E,a.fillRect(0,0,e,r),a.restore()},o="undefined"!=typeof navigator,a="undefined"!=typeof document,_=500,E=200,u=o&&a&&document.createElement("canvas"),I=o&&a&&document.createElement("canvas"),c=o&&a&&document.createElement("canvas"),T=[40,40,40],f=[196,78,71],l=[54,151,99];o&&a&&(i(u,_,E,T,.85),i(I,_,E,f,1),i(c,_,E,l,1));var s=function(n){var r=n.utils.createView({name:"file-poster-overlay",tag:"canvas",ignoreRect:!0,create:function(t){var n,e;(e=t.root.element).width=(n=t.props.template).width,e.height=n.height,e.getContext("2d").drawImage(n,0,0)},mixins:{styles:["opacity"],animations:{opacity:{type:"spring",mass:25}}}}),o=function(t){var n=t.root;n.ref.overlayShadow.opacity=1,n.ref.overlayError.opacity=0,n.ref.overlaySuccess.opacity=0},a=function(t){var n=t.root;n.ref.overlayShadow.opacity=.25,n.ref.overlayError.opacity=1};return n.utils.createView({name:"file-poster-wrapper",create:function(e){var o=e.root,a=e.props,s=o.query("GET_FILE_POSTER_ITEM_OVERLAY_SHADOW_COLOR"),O=o.query("GET_FILE_POSTER_ITEM_OVERLAY_ERROR_COLOR"),R=o.query("GET_FILE_POSTER_ITEM_OVERLAY_SUCCESS_COLOR");s&&s!==T&&i(u,_,E,T=s,.85),O&&O!==f&&i(I,_,E,f=O,1),R&&R!==l&&i(c,_,E,l=R,1);var v=function(n){return n.utils.createView({name:"file-poster",tag:"div",ignoreRect:!0,create:function(t){var n=t.root;n.ref.image=document.createElement("img"),n.element.appendChild(n.ref.image)},write:n.utils.createRoute({DID_FILE_POSTER_LOAD:function(t){var n=t.root,e=t.props,r=e.id,i=n.query("GET_ITEM",{id:e.id});if(i){var o=i.getMetadata("poster");n.ref.image.src=o,n.dispatch("DID_FILE_POSTER_DRAW",{id:r})}}}),mixins:{styles:["scaleX","scaleY","opacity"],animations:{scaleX:t,scaleY:t,opacity:{type:"tween",duration:750}}}})}(n);o.ref.image=o.appendChildView(o.createChildView(v,{id:a.id,scaleX:1.25,scaleY:1.25,opacity:0})),o.ref.overlayShadow=o.appendChildView(o.createChildView(r,{template:u,opacity:0})),o.ref.overlaySuccess=o.appendChildView(o.createChildView(r,{template:c,opacity:0})),o.ref.overlayError=o.appendChildView(o.createChildView(r,{template:I,opacity:0}))},write:n.utils.createRoute({DID_FILE_POSTER_LOAD:function(t){t.root.ref.overlayShadow.opacity=1},DID_FILE_POSTER_DRAW:function(t){var n=t.root.ref.image;n.scaleX=1,n.scaleY=1,n.opacity=1},DID_FILE_POSTER_CONTAINER_CREATE:function(t){var n,r,i,o=t.root,a=t.props.id,_=o.query("GET_ITEM",a);if(_){var E=_.getMetadata("poster"),u=function(t){var n=o.query("GET_FILE_POSTER_CALCULATE_AVERAGE_IMAGE_COLOR")?e(t):null;_.setMetadata("color",n,!0),o.dispatch("DID_FILE_POSTER_LOAD",{id:a,data:t})};n=E,r=function(t,n){var e,r;o.dispatch("DID_FILE_POSTER_CALCULATE_SIZE",{id:a,width:t,height:n}),(e=E,r=o.query("GET_FILE_POSTER_CROSS_ORIGIN_ATTRIBUTE_VALUE"),new Promise((function(t,n){var i=new Image;"string"==typeof crossOrigin&&(i.crossOrigin=r),i.onload=function(){t(i)},i.onerror=function(t){n(t)},i.src=e}))).then(u)},(i=new Image).onload=function(){var t=i.naturalWidth,n=i.naturalHeight;i=null,r(t,n)},i.src=n}},DID_THROW_ITEM_LOAD_ERROR:a,DID_THROW_ITEM_PROCESSING_ERROR:a,DID_THROW_ITEM_INVALID:a,DID_COMPLETE_ITEM_PROCESSING:function(t){var n=t.root;n.ref.overlayShadow.opacity=.25,n.ref.overlaySuccess.opacity=1},DID_START_ITEM_PROCESSING:o,DID_REVERT_ITEM_PROCESSING:o})})},O=function(t){var n=t.addFilter,e=t.utils,r=e.Type,i=e.createRoute,o=s(t);return n("CREATE_VIEW",(function(t){var n=t.view,e=t.query;if((0,t.is)("file")&&e("GET_ALLOW_FILE_POSTER")){var r=function(t,r){var i=r.id,a=e("GET_ITEM",i);a&&a.getMetadata("poster")&&!a.archived&&t.ref.previousPoster!==a.getMetadata("poster")&&(t.ref.previousPoster=a.getMetadata("poster"),e("GET_FILE_POSTER_FILTER_ITEM")(a)&&(t.ref.filePoster&&n.removeChildView(t.ref.filePoster),t.ref.filePoster=n.appendChildView(n.createChildView(o,{id:i})),t.dispatch("DID_FILE_POSTER_CONTAINER_CREATE",{id:i})))},a=function(t){var n=t.root,e=n.query("GET_FILE_POSTER_HEIGHT");if(e)return e;var r=n.query("GET_FILE_POSTER_MIN_HEIGHT"),i=n.query("GET_FILE_POSTER_MAX_HEIGHT");if(r&&n.ref.imageHeight<r)return r;var o=n.rect.element.width*(n.ref.imageHeight/n.ref.imageWidth);return r&&o<r?r:i&&o>i?i:o};n.registerWriter(i({DID_LOAD_ITEM:function(t){r(t.root,t.props)},DID_FILE_POSTER_CALCULATE_SIZE:function(t){var n=t.root,e=t.action;n.ref.filePoster&&(n.ref.imageWidth=e.width,n.ref.imageHeight=e.height,n.ref.shouldUpdatePanelHeight=!0,n.dispatch("KICK"))},DID_UPDATE_ITEM_METADATA:function(t){var n=t.root,e=t.props;/poster/.test(t.action.change.key)&&r(n,e)}},(function(t){var n=t.root;n.ref.filePoster&&(n.rect.element.hidden||n.ref.shouldUpdatePanelHeight&&(n.dispatch("DID_UPDATE_PANEL_HEIGHT",{id:t.props.id,height:a({root:n})}),n.ref.shouldUpdatePanelHeight=!1))})))}})),{options:{allowFilePoster:[!0,r.BOOLEAN],filePosterHeight:[null,r.INT],filePosterMinHeight:[null,r.INT],filePosterMaxHeight:[null,r.INT],filePosterFilterItem:[function(){return!0},r.FUNCTION],filePosterCalculateAverageImageColor:[!1,r.BOOLEAN],filePosterCrossOriginAttributeValue:["Anonymous",r.STRING],filePosterItemOverlayShadowColor:[null,r.ARRAY],filePosterItemOverlayErrorColor:[null,r.ARRAY],filePosterItemOverlaySuccessColor:[null,r.ARRAY]}}};return"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:O})),O}()),r.exports),o=n({__proto__:null,default:t(i)},[i]);
4
+ import{d as t}from"./p-CCmkpaUr.js";function n(t,n){return n.forEach((function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach((function(e){if("default"!==e&&!(e in t)){var r=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return n[e]}})}}))})),Object.freeze(t)}var e,r={exports:{}},i=(e||(e=1,r.exports=function(){var t={type:"spring",stiffness:.5,damping:.45,mass:10},n=function(t){return-.5*(Math.cos(Math.PI*t)-1)},e=function(t){var n=Math.min(10/t.width,10/t.height),e=document.createElement("canvas"),i=e.getContext("2d"),o=e.width=Math.ceil(t.width*n),a=e.height=Math.ceil(t.height*n);i.drawImage(t,0,0,o,a);var _=null;try{_=i.getImageData(0,0,o,a).data}catch(t){return null}for(var E=_.length,u=0,I=0,c=0,T=0;T<E;T+=4)u+=_[T]*_[T],I+=_[T+1]*_[T+1],c+=_[T+2]*_[T+2];return{r:u=r(u,E),g:I=r(I,E),b:c=r(c,E)}},r=function(t,n){return Math.floor(Math.sqrt(t/(n/4)))},i=function(t,e,r,i,o){t.width=e,t.height=r;var a=t.getContext("2d"),_=.5*e,E=a.createRadialGradient(_,r+110,r-100,_,r+110,r+100);(function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,_=1-a,E=e.join(","),u=0;u<=o;u++){var I=u/o;t.addColorStop(a+_*I,"rgba(".concat(E,", ").concat(i(I)*r,")"))}})(E,i,o,void 0,8,.4),a.save(),a.translate(-250,0),a.scale(2,1),a.fillStyle=E,a.fillRect(0,0,e,r),a.restore()},o="undefined"!=typeof navigator,a="undefined"!=typeof document,_=500,E=200,u=o&&a&&document.createElement("canvas"),I=o&&a&&document.createElement("canvas"),c=o&&a&&document.createElement("canvas"),T=[40,40,40],f=[196,78,71],l=[54,151,99];o&&a&&(i(u,_,E,T,.85),i(I,_,E,f,1),i(c,_,E,l,1));var s=function(n){var r=n.utils.createView({name:"file-poster-overlay",tag:"canvas",ignoreRect:!0,create:function(t){var n,e;(e=t.root.element).width=(n=t.props.template).width,e.height=n.height,e.getContext("2d").drawImage(n,0,0)},mixins:{styles:["opacity"],animations:{opacity:{type:"spring",mass:25}}}}),o=function(t){var n=t.root;n.ref.overlayShadow.opacity=1,n.ref.overlayError.opacity=0,n.ref.overlaySuccess.opacity=0},a=function(t){var n=t.root;n.ref.overlayShadow.opacity=.25,n.ref.overlayError.opacity=1};return n.utils.createView({name:"file-poster-wrapper",create:function(e){var o=e.root,a=e.props,s=o.query("GET_FILE_POSTER_ITEM_OVERLAY_SHADOW_COLOR"),O=o.query("GET_FILE_POSTER_ITEM_OVERLAY_ERROR_COLOR"),R=o.query("GET_FILE_POSTER_ITEM_OVERLAY_SUCCESS_COLOR");s&&s!==T&&i(u,_,E,T=s,.85),O&&O!==f&&i(I,_,E,f=O,1),R&&R!==l&&i(c,_,E,l=R,1);var v=function(n){return n.utils.createView({name:"file-poster",tag:"div",ignoreRect:!0,create:function(t){var n=t.root;n.ref.image=document.createElement("img"),n.element.appendChild(n.ref.image)},write:n.utils.createRoute({DID_FILE_POSTER_LOAD:function(t){var n=t.root,e=t.props,r=e.id,i=n.query("GET_ITEM",{id:e.id});if(i){var o=i.getMetadata("poster");n.ref.image.src=o,n.dispatch("DID_FILE_POSTER_DRAW",{id:r})}}}),mixins:{styles:["scaleX","scaleY","opacity"],animations:{scaleX:t,scaleY:t,opacity:{type:"tween",duration:750}}}})}(n);o.ref.image=o.appendChildView(o.createChildView(v,{id:a.id,scaleX:1.25,scaleY:1.25,opacity:0})),o.ref.overlayShadow=o.appendChildView(o.createChildView(r,{template:u,opacity:0})),o.ref.overlaySuccess=o.appendChildView(o.createChildView(r,{template:c,opacity:0})),o.ref.overlayError=o.appendChildView(o.createChildView(r,{template:I,opacity:0}))},write:n.utils.createRoute({DID_FILE_POSTER_LOAD:function(t){t.root.ref.overlayShadow.opacity=1},DID_FILE_POSTER_DRAW:function(t){var n=t.root.ref.image;n.scaleX=1,n.scaleY=1,n.opacity=1},DID_FILE_POSTER_CONTAINER_CREATE:function(t){var n,r,i,o=t.root,a=t.props.id,_=o.query("GET_ITEM",a);if(_){var E=_.getMetadata("poster"),u=function(t){var n=o.query("GET_FILE_POSTER_CALCULATE_AVERAGE_IMAGE_COLOR")?e(t):null;_.setMetadata("color",n,!0),o.dispatch("DID_FILE_POSTER_LOAD",{id:a,data:t})};n=E,r=function(t,n){var e,r;o.dispatch("DID_FILE_POSTER_CALCULATE_SIZE",{id:a,width:t,height:n}),(e=E,r=o.query("GET_FILE_POSTER_CROSS_ORIGIN_ATTRIBUTE_VALUE"),new Promise((function(t,n){var i=new Image;"string"==typeof crossOrigin&&(i.crossOrigin=r),i.onload=function(){t(i)},i.onerror=function(t){n(t)},i.src=e}))).then(u)},(i=new Image).onload=function(){var t=i.naturalWidth,n=i.naturalHeight;i=null,r(t,n)},i.src=n}},DID_THROW_ITEM_LOAD_ERROR:a,DID_THROW_ITEM_PROCESSING_ERROR:a,DID_THROW_ITEM_INVALID:a,DID_COMPLETE_ITEM_PROCESSING:function(t){var n=t.root;n.ref.overlayShadow.opacity=.25,n.ref.overlaySuccess.opacity=1},DID_START_ITEM_PROCESSING:o,DID_REVERT_ITEM_PROCESSING:o})})},O=function(t){var n=t.addFilter,e=t.utils,r=e.Type,i=e.createRoute,o=s(t);return n("CREATE_VIEW",(function(t){var n=t.view,e=t.query;if((0,t.is)("file")&&e("GET_ALLOW_FILE_POSTER")){var r=function(t,r){var i=r.id,a=e("GET_ITEM",i);a&&a.getMetadata("poster")&&!a.archived&&t.ref.previousPoster!==a.getMetadata("poster")&&(t.ref.previousPoster=a.getMetadata("poster"),e("GET_FILE_POSTER_FILTER_ITEM")(a)&&(t.ref.filePoster&&n.removeChildView(t.ref.filePoster),t.ref.filePoster=n.appendChildView(n.createChildView(o,{id:i})),t.dispatch("DID_FILE_POSTER_CONTAINER_CREATE",{id:i})))},a=function(t){var n=t.root,e=n.query("GET_FILE_POSTER_HEIGHT");if(e)return e;var r=n.query("GET_FILE_POSTER_MIN_HEIGHT"),i=n.query("GET_FILE_POSTER_MAX_HEIGHT");if(r&&n.ref.imageHeight<r)return r;var o=n.rect.element.width*(n.ref.imageHeight/n.ref.imageWidth);return r&&o<r?r:i&&o>i?i:o};n.registerWriter(i({DID_LOAD_ITEM:function(t){r(t.root,t.props)},DID_FILE_POSTER_CALCULATE_SIZE:function(t){var n=t.root,e=t.action;n.ref.filePoster&&(n.ref.imageWidth=e.width,n.ref.imageHeight=e.height,n.ref.shouldUpdatePanelHeight=!0,n.dispatch("KICK"))},DID_UPDATE_ITEM_METADATA:function(t){var n=t.root,e=t.props;/poster/.test(t.action.change.key)&&r(n,e)}},(function(t){var n=t.root;n.ref.filePoster&&(n.rect.element.hidden||n.ref.shouldUpdatePanelHeight&&(n.dispatch("DID_UPDATE_PANEL_HEIGHT",{id:t.props.id,height:a({root:n})}),n.ref.shouldUpdatePanelHeight=!1))})))}})),{options:{allowFilePoster:[!0,r.BOOLEAN],filePosterHeight:[null,r.INT],filePosterMinHeight:[null,r.INT],filePosterMaxHeight:[null,r.INT],filePosterFilterItem:[function(){return!0},r.FUNCTION],filePosterCalculateAverageImageColor:[!1,r.BOOLEAN],filePosterCrossOriginAttributeValue:["Anonymous",r.STRING],filePosterItemOverlayShadowColor:[null,r.ARRAY],filePosterItemOverlayErrorColor:[null,r.ARRAY],filePosterItemOverlaySuccessColor:[null,r.ARRAY]}}};return"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:O})),O}()),r.exports),o=n({__proto__:null,default:t(i)},[i]);
5
5
  /*!
6
6
  * FilePondPluginFilePoster 2.5.2
7
7
  * Licensed under MIT, https://opensource.org/licenses/MIT/