@ozdao/martyrs 0.2.455 → 0.2.457

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 (190) hide show
  1. package/dist/{Media-1oukRVfv.js → Media-B9V7fmz-.js} +1 -1
  2. package/dist/{Media-q-XJSM_H.mjs → Media-Df1hO2ZT.mjs} +1 -1
  3. package/dist/{main-yXkgrjj8.mjs → main-DbrX42CV.mjs} +99 -95
  4. package/dist/{main-C7jGMDJC.js → main-DviXUDiB.js} +1 -1
  5. package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
  6. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
  7. package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
  8. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
  9. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
  10. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
  11. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
  12. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
  13. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
  14. package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
  15. package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
  16. package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
  17. package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
  18. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
  19. package/dist/martyrs/src/components/Popup/{Popup.vue2.cjs → Popup.vue.cjs} +2 -2
  20. package/dist/martyrs/src/components/Popup/{Popup.vue2.js.map → Popup.vue.cjs.map} +1 -1
  21. package/dist/martyrs/src/components/Popup/{Popup.vue2.js → Popup.vue.js} +2 -2
  22. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -0
  23. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.cjs → SelectMulti.vue2.cjs} +2 -2
  24. package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs.map +1 -0
  25. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.js → SelectMulti.vue2.js} +2 -2
  26. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.cjs.map → SelectMulti.vue2.js.map} +1 -1
  27. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
  28. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  29. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs +2 -2
  30. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs.map +1 -1
  31. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js +2 -2
  32. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js.map +1 -1
  33. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  34. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
  35. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  36. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
  37. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  38. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  39. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  40. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  41. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  42. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  43. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  45. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
  46. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
  47. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +5 -6
  48. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
  49. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  51. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  52. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  53. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  55. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  57. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +2 -2
  58. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
  59. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +13 -13
  60. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
  61. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +1 -1
  62. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +1 -1
  63. package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs +3 -2
  64. package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
  65. package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.js +3 -2
  66. package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
  67. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.cjs +1 -1
  68. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.cjs.map +1 -1
  69. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js +1 -1
  70. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js.map +1 -1
  71. package/dist/martyrs/src/modules/events/events.client.js +12 -12
  72. package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
  73. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  74. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  75. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +4 -4
  76. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs.map +1 -1
  77. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
  78. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
  79. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  81. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
  83. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  84. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  85. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  87. package/dist/martyrs/src/modules/globals/views/plugins/AlertDialog.vue.cjs +1 -1
  88. package/dist/martyrs/src/modules/globals/views/plugins/AlertDialog.vue.js +1 -1
  89. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.cjs +1 -1
  90. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.cjs.map +1 -1
  91. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js +1 -1
  92. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
  93. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs +2 -2
  94. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs.map +1 -1
  95. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js +2 -2
  96. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js.map +1 -1
  97. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  98. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  99. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  100. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  101. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  102. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
  103. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  104. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
  105. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  106. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  107. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  108. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  109. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  110. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  111. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
  112. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +2 -2
  113. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  114. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  115. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -2
  116. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
  117. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  118. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  119. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  120. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  121. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  122. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  123. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  124. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  125. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  127. package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  128. package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  129. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  130. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  131. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  132. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  133. package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  134. package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  135. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +1 -1
  136. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  137. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  139. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +2 -2
  140. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +2 -2
  141. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
  143. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js +1 -1
  144. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
  145. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  146. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  147. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  148. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  149. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  150. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  151. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  152. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  153. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  154. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.cjs.map +1 -1
  155. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  156. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -1
  157. package/dist/martyrs.cjs.js +1 -1
  158. package/dist/martyrs.css +1 -1
  159. package/dist/martyrs.es.js +1 -1
  160. package/dist/style.css +61 -70
  161. package/package.json +1 -1
  162. package/src/components/Slider/Slider.vue +35 -11
  163. package/src/modules/auth/views/components/sections/FeaturedUsers.vue +2 -2
  164. package/src/modules/backoffice/components/admin/Users.vue +1 -1
  165. package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
  166. package/src/modules/community/components/sections/HotPosts.vue +4 -5
  167. package/src/modules/events/components/pages/Events.vue +1 -1
  168. package/src/modules/events/components/sections/FeaturedEvents.vue +1 -1
  169. package/src/modules/events/components/sections/SelectDate.vue +1 -1
  170. package/src/modules/gallery/components/sections/BackofficeGallery.vue +1 -1
  171. package/src/modules/globals/views/components/partials/Footer.vue +2 -2
  172. package/src/modules/landing/components/sections/SectionFeatures.vue +1 -1
  173. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
  174. package/src/modules/orders/components/pages/Orders.vue +1 -1
  175. package/src/modules/reports/components/pages/BackofficeReports.vue +1 -1
  176. package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
  177. package/src/modules/wallet/views/components/pages/Wallet.vue +2 -2
  178. package/src/styles/config.scss +11 -0
  179. package/src/styles/responsive.scss +1 -1
  180. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
  181. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
  182. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
  183. package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
  184. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
  185. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +0 -1
  186. package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +0 -1
  187. package/dist/martyrs/src/components/Slider/Slider.vue.cjs +0 -110
  188. package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +0 -1
  189. package/dist/martyrs/src/components/Slider/Slider.vue.js +0 -110
  190. package/dist/martyrs/src/components/Slider/Slider.vue.js.map +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./main-C7jGMDJC.js"),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-DviXUDiB.js"),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,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-yXkgrjj8.mjs";
2
+ import { _ as z } from "./main-DbrX42CV.mjs";
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"