@ozdao/martyrs 0.2.443 → 0.2.445

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 (232) hide show
  1. package/dist/{Media-rrnJ9wqV.js → Media-Bx_un17A.js} +1 -1
  2. package/dist/{Media-UT60gfCX.mjs → Media-_5Qittnv.mjs} +1 -1
  3. package/dist/auth.server.js +1 -1
  4. package/dist/auth.server.mjs +1 -1
  5. package/dist/chats.server.js +1 -1
  6. package/dist/chats.server.mjs +1 -1
  7. package/dist/events.server.js +1 -1
  8. package/dist/events.server.mjs +1 -1
  9. package/dist/{mailing-DqDlUHrs.js → mailing-D4kWlk3_.js} +13 -9
  10. package/dist/{mailing-D0Vezzzb.mjs → mailing-DvCT5ijo.mjs} +13 -9
  11. package/dist/{main-DEA2pUXu.js → main-AHluqkEA.js} +2 -2
  12. package/dist/{main-CDEflXWy.mjs → main-DZCereaK.mjs} +102 -103
  13. package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
  14. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
  15. package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
  16. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
  17. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
  18. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
  19. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
  20. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
  21. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +3 -4
  22. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  23. package/dist/martyrs/src/components/Feed/Feed.vue.js +3 -4
  24. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  25. package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
  26. package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
  27. package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
  28. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
  29. package/dist/martyrs/src/components/Popup/{Popup.vue2.cjs → Popup.vue.cjs} +2 -2
  30. package/dist/martyrs/src/components/Popup/{Popup.vue2.js.map → Popup.vue.cjs.map} +1 -1
  31. package/dist/martyrs/src/components/Popup/{Popup.vue2.js → Popup.vue.js} +2 -2
  32. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -0
  33. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.cjs → SelectMulti.vue2.cjs} +2 -2
  34. package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs.map +1 -0
  35. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.js → SelectMulti.vue2.js} +2 -2
  36. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.cjs.map → SelectMulti.vue2.js.map} +1 -1
  37. package/dist/martyrs/src/components/Tab/{Tab.vue.cjs → Tab.vue2.cjs} +2 -2
  38. package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +1 -0
  39. package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
  40. package/dist/martyrs/src/components/Tab/{Tab.vue.cjs.map → Tab.vue2.js.map} +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
  42. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
  43. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
  48. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  49. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  51. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
  52. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  53. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  55. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  57. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  58. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  59. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +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/layouts/Community.vue.cjs +1 -1
  64. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  65. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
  66. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  67. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  68. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  69. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  70. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  71. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  72. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  73. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  74. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  75. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  76. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  77. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  78. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  79. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  81. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  83. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  84. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  85. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +1 -1
  87. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs +2 -5
  88. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs.map +1 -1
  89. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +3 -6
  90. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js.map +1 -1
  91. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  92. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  93. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  94. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  95. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  97. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
  98. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
  99. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  100. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  101. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  102. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
  103. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  104. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
  105. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  106. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  107. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  108. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  109. package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs +1 -1
  110. package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs.map +1 -1
  111. package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.js +1 -1
  112. package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.js.map +1 -1
  113. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +1 -1
  114. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
  115. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +1 -1
  116. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
  117. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  119. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +3 -3
  120. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  121. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  122. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  123. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  124. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  125. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  127. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  128. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  129. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +3 -3
  130. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +3 -3
  131. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
  132. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  133. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -2
  134. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
  135. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
  136. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  137. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  139. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  140. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  141. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  143. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  144. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  145. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  146. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  147. package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
  148. package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs.map +1 -1
  149. package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js +1 -1
  150. package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js.map +1 -1
  151. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  152. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  153. package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  154. package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  155. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +8 -17
  156. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
  157. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +12 -21
  158. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
  159. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  160. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  161. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  162. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  163. package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  164. package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  165. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  166. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  167. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
  168. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
  169. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  170. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  171. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +31 -24
  172. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  173. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +18 -11
  174. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  175. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  176. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  177. package/dist/martyrs/src/modules/products/store/products.cjs +28 -0
  178. package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
  179. package/dist/martyrs/src/modules/products/store/products.js +28 -0
  180. package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
  181. package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.cjs +1 -1
  182. package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.js +1 -1
  183. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
  184. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
  185. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +2 -2
  186. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +2 -2
  187. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  188. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  189. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  190. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  191. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  192. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  193. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  194. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  195. package/dist/martyrs.cjs.js +1 -1
  196. package/dist/martyrs.es.js +1 -1
  197. package/dist/notifications.server.js +1 -1
  198. package/dist/notifications.server.mjs +1 -1
  199. package/dist/orders.server.js +28 -1
  200. package/dist/orders.server.mjs +28 -1
  201. package/dist/organizations.server.js +1 -1
  202. package/dist/organizations.server.mjs +1 -1
  203. package/dist/products.server.js +21 -14
  204. package/dist/products.server.mjs +21 -14
  205. package/dist/{tickets.controller-Bbxe7kaF.mjs → tickets.controller-BIhfgjNb.mjs} +1 -1
  206. package/dist/{tickets.controller-CcxkRHlX.js → tickets.controller-zEHIAe_B.js} +1 -1
  207. package/dist/wallet.server.js +1 -1
  208. package/dist/wallet.server.mjs +1 -1
  209. package/package.json +1 -1
  210. package/src/components/Feed/Feed.vue +0 -1
  211. package/src/modules/community/components/layouts/Community.vue +1 -1
  212. package/src/modules/events/components/sections/Feed.vue +1 -4
  213. package/src/modules/globals/controllers/utils/mailing.js +19 -20
  214. package/src/modules/globals/views/components/partials/Header.vue +1 -0
  215. package/src/modules/landing/components/sections/SectionJoinUs.vue +1 -1
  216. package/src/modules/marketplace/views/components/layouts/Marketplace.vue +1 -1
  217. package/src/modules/orders/controllers/orders.controller.js +2 -2
  218. package/src/modules/products/components/blocks/CardCategory.vue +3 -1
  219. package/src/modules/products/components/pages/Categories.vue +23 -64
  220. package/src/modules/products/components/pages/CategoryEdit.vue +0 -3
  221. package/src/modules/products/components/pages/Products.vue +31 -24
  222. package/src/modules/products/controllers/categories.controller.js +26 -14
  223. package/src/modules/products/store/products.js +28 -0
  224. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
  225. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
  226. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
  227. package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
  228. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
  229. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +0 -1
  230. package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +0 -1
  231. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
  232. package/src/modules/products/controllers//320/265/321/201/321/202/321/214 /320/277/321/200/320/276/320/261/320/273/320/265/320/274/320/260 - /320/274/320/275/320/265 /320/275/320/260/320/264/320/276 /321/201/320/264/320/265/320/273/320/260/321/202/321/214 /320/264/320/276/320/261/320/260/320/262/320/273/320/265/320/275/320/270/320/265 /320/272/320/260/321/202/320/265/320/263/320/276" +0 -78
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./main-DEA2pUXu.js"),L={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,a=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,l,n;return(n=(l=(o=m.url)==null?void 0:o.split("."))==null?void 0:l.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(a.value)try{a.value.paused&&!f&&(await a.value.play(),f=!0)}catch(o){I(o)}}function V(){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 l=g.value?p.value:a.value;l&&i.observe(l)}return e.onMounted(()=>{V()}),e.onUnmounted(()=>{i&&i.disconnect()}),(o,l)=>{var n,r,c,k,h,b,B;return e.openBlock(),e.createElementBlock("div",L,[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:a,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," Загрузка... ")),u.value?(e.openBlock(),e.createElementBlock("div",P,e.toDisplayString(u.value),1)):e.createCommentVNode("",!0)])}}},q=C._export_sfc(S,[["__scopeId","data-v-94bcf726"]]);exports.default=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./main-AHluqkEA.js"),L={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,a=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,l,n;return(n=(l=(o=m.url)==null?void 0:o.split("."))==null?void 0:l.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(a.value)try{a.value.paused&&!f&&(await a.value.play(),f=!0)}catch(o){I(o)}}function V(){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 l=g.value?p.value:a.value;l&&i.observe(l)}return e.onMounted(()=>{V()}),e.onUnmounted(()=>{i&&i.disconnect()}),(o,l)=>{var n,r,c,k,h,b,B;return e.openBlock(),e.createElementBlock("div",L,[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:a,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," Загрузка... ")),u.value?(e.openBlock(),e.createElementBlock("div",P,e.toDisplayString(u.value),1)):e.createCommentVNode("",!0)])}}},q=C._export_sfc(S,[["__scopeId","data-v-94bcf726"]]);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-CDEflXWy.mjs";
2
+ import { _ as z } from "./main-DZCereaK.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"
@@ -6,7 +6,7 @@ const require$$0 = require("jsonwebtoken");
6
6
  const require$$1$1 = require("bcryptjs");
7
7
  const require$$0$1 = require("mongoose");
8
8
  const require$$1 = require("jwk-to-pem");
9
- const mailing = require("./mailing-DqDlUHrs.js");
9
+ const mailing = require("./mailing-D4kWlk3_.js");
10
10
  const index = require("./index-DQqZReAr.js");
11
11
  const require$$0$2 = require("uuid");
12
12
  const addMembersQuantity = require("./addMembersQuantity-DxWjHK1K.js");
@@ -5,7 +5,7 @@ import require$$0 from "jsonwebtoken";
5
5
  import require$$1$1 from "bcryptjs";
6
6
  import require$$0$1 from "mongoose";
7
7
  import require$$1 from "jwk-to-pem";
8
- import { r as requireMailing } from "./mailing-D0Vezzzb.mjs";
8
+ import { r as requireMailing } from "./mailing-DvCT5ijo.mjs";
9
9
  import { r as requireMiddlewares } from "./index-DICZTQ-1.mjs";
10
10
  import require$$0$2 from "uuid";
11
11
  import { r as requireAddUserStatusFields, a as requireAddMembersQuantity } from "./addMembersQuantity-DBfuUEx_.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const _commonjsHelpers = require("./_commonjsHelpers-DHfMLFPC.js");
3
- const mailing = require("./mailing-DqDlUHrs.js");
3
+ const mailing = require("./mailing-D4kWlk3_.js");
4
4
  const index = require("./index-DQqZReAr.js");
5
5
  var chats_controller;
6
6
  var hasRequiredChats_controller;
@@ -1,5 +1,5 @@
1
1
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.mjs";
2
- import { r as requireMailing } from "./mailing-D0Vezzzb.mjs";
2
+ import { r as requireMailing } from "./mailing-DvCT5ijo.mjs";
3
3
  import { r as requireMiddlewares } from "./index-DICZTQ-1.mjs";
4
4
  var chats_controller;
5
5
  var hasRequiredChats_controller;
@@ -4,7 +4,7 @@ const require$$0 = require("mongoose");
4
4
  const queryProcessor$1 = require("./queryProcessor-D6GuKfTV.js");
5
5
  const metadata_schema = require("./metadata.schema-CUkLXZ2f.js");
6
6
  const require$$0$1 = require("stripe");
7
- const tickets_controller = require("./tickets.controller-CcxkRHlX.js");
7
+ const tickets_controller = require("./tickets.controller-zEHIAe_B.js");
8
8
  const index = require("./index-DQqZReAr.js");
9
9
  const globals_abac = require("./globals.abac-DT0VjfaZ.js");
10
10
  const common_schema = require("./common.schema-O0w_rDyC.js");
@@ -3,7 +3,7 @@ import require$$0 from "mongoose";
3
3
  import { r as requireQueryProcessor$1 } from "./queryProcessor-CWnMIe2U.mjs";
4
4
  import { a as requireSeoFriendlyUrl, r as requireMetadata_schema } from "./metadata.schema--tle-GU8.mjs";
5
5
  import require$$0$1 from "stripe";
6
- import { r as requireTickets_controller } from "./tickets.controller-Bbxe7kaF.mjs";
6
+ import { r as requireTickets_controller } from "./tickets.controller-BIhfgjNb.mjs";
7
7
  import { r as requireMiddlewares } from "./index-DICZTQ-1.mjs";
8
8
  import { r as requireGlobals_abac } from "./globals.abac-CvmZM8XG.mjs";
9
9
  import { r as requireCommon_schema } from "./common.schema-C2m3O1XY.mjs";
@@ -64,18 +64,22 @@ function requireMailing() {
64
64
  async function sendChatMessageTelegram(chatIds, text) {
65
65
  const telegramToken = process.env.TELEGRAM_BOT_TOKEN;
66
66
  const telegramUrl = `https://api.telegram.org/bot${telegramToken}/sendMessage`;
67
+ const sendPromises = chatIds.map((chatId) => {
68
+ return axios.post(telegramUrl, {
69
+ chat_id: chatId,
70
+ text
71
+ // reply_markup: inlineKeyboard
72
+ }).catch((error) => {
73
+ console.log(`Failed to send message to chat ${chatId}:`, error.message);
74
+ return false;
75
+ });
76
+ });
67
77
  try {
68
- for (const chatId of chatIds) {
69
- await axios.post(telegramUrl, {
70
- chat_id: chatId,
71
- text
72
- // reply_markup: inlineKeyboard
73
- });
74
- }
75
- console.log("Telegram message sent");
78
+ const results = await Promise.all(sendPromises);
79
+ console.log("Telegram messages processing completed");
76
80
  return true;
77
81
  } catch (error) {
78
- console.log(error);
82
+ console.log("Error in sending Telegram messages:", error.message);
79
83
  return false;
80
84
  }
81
85
  }
@@ -63,18 +63,22 @@ function requireMailing() {
63
63
  async function sendChatMessageTelegram(chatIds, text) {
64
64
  const telegramToken = process.env.TELEGRAM_BOT_TOKEN;
65
65
  const telegramUrl = `https://api.telegram.org/bot${telegramToken}/sendMessage`;
66
+ const sendPromises = chatIds.map((chatId) => {
67
+ return axios.post(telegramUrl, {
68
+ chat_id: chatId,
69
+ text
70
+ // reply_markup: inlineKeyboard
71
+ }).catch((error) => {
72
+ console.log(`Failed to send message to chat ${chatId}:`, error.message);
73
+ return false;
74
+ });
75
+ });
66
76
  try {
67
- for (const chatId of chatIds) {
68
- await axios.post(telegramUrl, {
69
- chat_id: chatId,
70
- text
71
- // reply_markup: inlineKeyboard
72
- });
73
- }
74
- console.log("Telegram message sent");
77
+ const results = await Promise.all(sendPromises);
78
+ console.log("Telegram messages processing completed");
75
79
  return true;
76
80
  } catch (error) {
77
- console.log(error);
81
+ console.log("Error in sending Telegram messages:", error.message);
78
82
  return false;
79
83
  }
80
84
  }