@ozdao/martyrs 0.2.483 → 0.2.484

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 (230) hide show
  1. package/dist/{Media-C57G7rnE.js → Media-2NvSR0vE.js} +1 -1
  2. package/dist/{Media-DjnpKS62.cjs → Media-EYG9WPI4.cjs} +1 -1
  3. package/dist/{main-CXQqAVVb.js → main-BT1yoKH2.js} +2598 -2294
  4. package/dist/{main-De5X_RUk.cjs → main-rF15sgss.cjs} +7 -7
  5. package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +2 -2
  6. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
  7. package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
  8. package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
  9. package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
  10. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
  11. package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
  12. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
  13. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
  14. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
  15. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
  16. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
  17. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +32 -12
  18. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  19. package/dist/martyrs/src/components/Feed/Feed.vue.js +48 -28
  20. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  21. package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
  22. package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
  23. package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
  24. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
  25. package/dist/martyrs/src/components/Popup/{Popup.vue.cjs → Popup.vue2.cjs} +2 -2
  26. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +1 -0
  27. package/dist/martyrs/src/components/Popup/{Popup.vue.js → Popup.vue2.js} +2 -2
  28. package/dist/martyrs/src/components/Popup/{Popup.vue.cjs.map → Popup.vue2.js.map} +1 -1
  29. package/dist/martyrs/src/components/Slider/Slider.vue.cjs +21 -24
  30. package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +1 -1
  31. package/dist/martyrs/src/components/Slider/Slider.vue.js +21 -24
  32. package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -1
  33. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
  34. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  35. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
  36. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  38. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  40. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +3 -3
  42. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +3 -3
  43. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  48. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  49. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  51. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  52. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  53. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  55. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  57. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +17 -12
  58. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  59. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +17 -12
  60. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  61. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  62. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  63. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
  64. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
  65. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  66. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  67. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  68. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  69. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  70. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  71. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  72. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  73. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  74. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  75. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  76. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  77. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
  78. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  79. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  81. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  83. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  84. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  85. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.js +1 -1
  87. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  88. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  89. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +2 -2
  90. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +2 -2
  91. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +2 -2
  92. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +2 -2
  93. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  94. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  95. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  97. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  98. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  99. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  100. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  101. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +183 -0
  102. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +1 -0
  103. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +183 -0
  104. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +1 -0
  105. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.cjs +67 -0
  106. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.cjs.map +1 -0
  107. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.js +67 -0
  108. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.js.map +1 -0
  109. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.cjs +91 -0
  110. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.cjs.map +1 -0
  111. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.js +91 -0
  112. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.js.map +1 -0
  113. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.cjs +64 -0
  114. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.cjs.map +1 -0
  115. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.js +64 -0
  116. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.js.map +1 -0
  117. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +1 -1
  119. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  120. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  121. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  122. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  123. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  124. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  125. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  127. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +4 -1
  128. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  129. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +4 -1
  130. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  131. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  132. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  133. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  134. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  135. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  136. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  137. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
  138. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +2 -2
  139. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  140. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  141. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  143. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  144. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  145. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  146. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  147. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  148. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  149. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  150. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  151. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  152. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  153. package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
  154. package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -1
  155. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  156. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  157. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  158. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  159. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  160. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  161. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +1 -1
  162. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
  163. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +1 -1
  164. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +1 -1
  165. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  166. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  167. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +5 -2
  168. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  169. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +5 -2
  170. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  171. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +3 -3
  172. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +3 -3
  173. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +3 -3
  174. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +2 -2
  175. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
  176. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
  177. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  178. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  179. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +2 -2
  180. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +2 -2
  181. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
  182. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  183. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +1 -1
  184. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +1 -1
  185. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +1 -1
  186. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +1 -1
  187. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  188. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  189. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
  190. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  191. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
  192. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  193. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  194. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  195. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -1
  196. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  197. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  198. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  199. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  200. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  201. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  202. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  203. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  204. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  205. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  206. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  207. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
  208. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  209. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +4 -4
  210. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
  211. package/dist/martyrs.cjs.js +1 -1
  212. package/dist/martyrs.css +1 -1
  213. package/dist/martyrs.es.js +1 -1
  214. package/dist/style.css +50 -0
  215. package/package.json +1 -1
  216. package/src/components/Feed/Feed.vue +23 -0
  217. package/src/components/Slider/Slider.vue +15 -17
  218. package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
  219. package/src/modules/auth/views/components/sections/SliderFeatures.vue +18 -6
  220. package/src/modules/globals/views/components/sections/Filters.vue +198 -0
  221. package/src/modules/globals/views/components/sections/filters/FilterOptions.vue +65 -0
  222. package/src/modules/globals/views/components/sections/filters/FilterPrice.vue +81 -0
  223. package/src/modules/globals/views/components/sections/filters/FilterRange.vue +74 -0
  224. package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
  225. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
  226. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
  227. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
  228. package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
  229. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
  230. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { ref as u, computed as m, onMounted as N, onUnmounted as P, createElementBlock as c, openBlock as d, createCommentVNode as f, mergeProps as V, createElementVNode as S, toDisplayString as q } from "vue";
2
- import { _ as z } from "./main-CXQqAVVb.js";
2
+ import { _ as z } from "./main-BT1yoKH2.js";
3
3
  const D = { class: "media-container" }, T = ["src", "data-src", "alt"], U = ["controls", "loop", "muted", "autoplay", "playsinline", "preload"], _ = ["src", "type"], $ = {
4
4
  key: 2,
5
5
  class: "media-placeholder"
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./main-De5X_RUk.cjs"),C={class:"media-container"},M=["src","data-src","alt"],j=["controls","loop","muted","autoplay","playsinline","preload"],N=["src","type"],O={key:2,class:"media-placeholder"},P={key:3,class:"media-error"},S={__name:"Media",props:{url:{type:String,required:!0},options:{type:Object,default:()=>({muted:!0,loop:!0,playsinline:!0,preload:"metadata"})}},setup(t){const m=t,l=e.ref(null),p=e.ref(null),s=e.ref(!1),u=e.ref(null),v=e.ref(!1);let i=null,f=!1;const d=e.computed(()=>{var o,a,n;return(n=(a=(o=m.url)==null?void 0:o.split("."))==null?void 0:a.pop())==null?void 0:n.toLowerCase()}),g=e.computed(()=>["jpg","jpeg","png","gif","webp","svg","avif"].includes(d.value)),y=e.computed(()=>["mp4","webm","ogg"].includes(d.value)),x=e.computed(()=>({mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg"})[d.value]||"");function E(){s.value=!0}function I(o){u.value=`Ошибка загрузки медиа: ${o.message}`,s.value=!1}async function w(){if(l.value)try{l.value.paused&&!f&&(await l.value.play(),f=!0)}catch(o){I(o)}}function L(){const o={root:null,rootMargin:"50px",threshold:.1};i=new IntersectionObserver(n=>{n.forEach(r=>{var c;v.value=r.isIntersecting,r.isIntersecting&&(y.value&&((c=m.options)!=null&&c.autoplay)&&w(),i.disconnect())})},o);const a=g.value?p.value:l.value;a&&i.observe(a)}return e.onMounted(()=>{L()}),e.onUnmounted(()=>{i&&i.disconnect()}),(o,a)=>{var n,r,c,k,h,b,B;return e.openBlock(),e.createElementBlock("div",C,[g.value?(e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0,src:v.value?t.url:"","data-src":t.url,alt:((n=t.options)==null?void 0:n.alt)||"Image",class:["media-item",{loading:!s.value}],loading:"lazy",onLoad:E},t.options,{ref_key:"imageElement",ref:p}),null,16,M)):y.value?(e.openBlock(),e.createElementBlock("video",e.mergeProps({key:1,ref_key:"videoElement",ref:l,class:[{loading:!s.value},"media-item"],controls:!((r=t.options)!=null&&r.hideControls),loop:((c=t.options)==null?void 0:c.loop)!==!1,muted:((k=t.options)==null?void 0:k.muted)!==!1,autoplay:(h=t.options)==null?void 0:h.autoplay,playsinline:((b=t.options)==null?void 0:b.playsinline)!==!1,preload:((B=t.options)==null?void 0:B.preload)||"metadata",onLoadeddata:E},t.options),[e.createElementVNode("source",{src:t.url,type:x.value},null,8,N)],16,j)):e.createCommentVNode("",!0),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",O," Loading... ")),u.value?(e.openBlock(),e.createElementBlock("div",P,e.toDisplayString(u.value),1)):e.createCommentVNode("",!0)])}}},q=V._export_sfc(S,[["__scopeId","data-v-1f94a0e9"]]);exports.default=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./main-rF15sgss.cjs"),C={class:"media-container"},M=["src","data-src","alt"],j=["controls","loop","muted","autoplay","playsinline","preload"],N=["src","type"],O={key:2,class:"media-placeholder"},P={key:3,class:"media-error"},S={__name:"Media",props:{url:{type:String,required:!0},options:{type:Object,default:()=>({muted:!0,loop:!0,playsinline:!0,preload:"metadata"})}},setup(t){const m=t,l=e.ref(null),p=e.ref(null),s=e.ref(!1),u=e.ref(null),v=e.ref(!1);let i=null,f=!1;const d=e.computed(()=>{var o,a,n;return(n=(a=(o=m.url)==null?void 0:o.split("."))==null?void 0:a.pop())==null?void 0:n.toLowerCase()}),g=e.computed(()=>["jpg","jpeg","png","gif","webp","svg","avif"].includes(d.value)),y=e.computed(()=>["mp4","webm","ogg"].includes(d.value)),x=e.computed(()=>({mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg"})[d.value]||"");function E(){s.value=!0}function I(o){u.value=`Ошибка загрузки медиа: ${o.message}`,s.value=!1}async function w(){if(l.value)try{l.value.paused&&!f&&(await l.value.play(),f=!0)}catch(o){I(o)}}function L(){const o={root:null,rootMargin:"50px",threshold:.1};i=new IntersectionObserver(n=>{n.forEach(r=>{var c;v.value=r.isIntersecting,r.isIntersecting&&(y.value&&((c=m.options)!=null&&c.autoplay)&&w(),i.disconnect())})},o);const a=g.value?p.value:l.value;a&&i.observe(a)}return e.onMounted(()=>{L()}),e.onUnmounted(()=>{i&&i.disconnect()}),(o,a)=>{var n,r,c,k,h,b,B;return e.openBlock(),e.createElementBlock("div",C,[g.value?(e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0,src:v.value?t.url:"","data-src":t.url,alt:((n=t.options)==null?void 0:n.alt)||"Image",class:["media-item",{loading:!s.value}],loading:"lazy",onLoad:E},t.options,{ref_key:"imageElement",ref:p}),null,16,M)):y.value?(e.openBlock(),e.createElementBlock("video",e.mergeProps({key:1,ref_key:"videoElement",ref:l,class:[{loading:!s.value},"media-item"],controls:!((r=t.options)!=null&&r.hideControls),loop:((c=t.options)==null?void 0:c.loop)!==!1,muted:((k=t.options)==null?void 0:k.muted)!==!1,autoplay:(h=t.options)==null?void 0:h.autoplay,playsinline:((b=t.options)==null?void 0:b.playsinline)!==!1,preload:((B=t.options)==null?void 0:B.preload)||"metadata",onLoadeddata:E},t.options),[e.createElementVNode("source",{src:t.url,type:x.value},null,8,N)],16,j)):e.createCommentVNode("",!0),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",O," Loading... ")),u.value?(e.openBlock(),e.createElementBlock("div",P,e.toDisplayString(u.value),1)):e.createCommentVNode("",!0)])}}},q=V._export_sfc(S,[["__scopeId","data-v-1f94a0e9"]]);exports.default=q;