@ozdao/prometheus-framework 0.2.187 → 0.2.189

Sign up to get free protection for your applications and to get access to all the features.
Files changed (520) hide show
  1. package/dist/auth.server.js +35 -23
  2. package/dist/auth.server.mjs +35 -23
  3. package/dist/builder.js +6 -3
  4. package/dist/builder.mjs +6 -3
  5. package/dist/events.server.js +1 -1
  6. package/dist/events.server.mjs +1 -1
  7. package/dist/globals.server.js +1 -1
  8. package/dist/globals.server.mjs +1 -1
  9. package/dist/mailing-BQKyTI-q.js +77 -0
  10. package/dist/mailing-C3VD4l0h.mjs +78 -0
  11. package/dist/main-BVZtf9OG.js +92 -0
  12. package/dist/main-CbTw08vO.mjs +13584 -0
  13. package/dist/node_modules/@unhead/vue/dist/shared/vue.cf295fb1.cjs +1 -0
  14. package/dist/node_modules/@unhead/vue/dist/shared/vue.cf295fb1.js +26 -0
  15. package/dist/node_modules/@unhead/vue/dist/shared/vue.f36acd1f.cjs +1 -0
  16. package/dist/node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js +26 -0
  17. package/dist/node_modules/unhead/dist/index.cjs +1 -0
  18. package/dist/node_modules/unhead/dist/index.js +7 -0
  19. package/dist/orders.server.js +162 -12
  20. package/dist/orders.server.mjs +162 -12
  21. package/dist/organizations.server.js +1 -1
  22. package/dist/organizations.server.mjs +1 -1
  23. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +5 -5
  25. package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/auth/auth.client.js +41 -22
  27. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -0
  28. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +41 -0
  29. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -0
  30. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +124 -0
  31. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -0
  32. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +94 -0
  33. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -0
  34. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +82 -0
  35. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -0
  36. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +118 -0
  37. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -0
  38. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +168 -0
  39. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -0
  40. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +129 -0
  41. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +1 -0
  42. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +88 -0
  43. package/dist/prometheus-framework/src/modules/auth/views/localization/EnterCode.json.cjs +1 -0
  44. package/dist/prometheus-framework/src/modules/auth/views/localization/EnterCode.json.js +20 -0
  45. package/dist/prometheus-framework/src/modules/auth/views/localization/EnterPassword.json.cjs +1 -0
  46. package/dist/prometheus-framework/src/modules/auth/views/localization/EnterPassword.json.js +26 -0
  47. package/dist/prometheus-framework/src/modules/auth/views/localization/ResetPassword.json.cjs +1 -0
  48. package/dist/prometheus-framework/src/modules/auth/views/localization/ResetPassword.json.js +30 -0
  49. package/dist/prometheus-framework/src/modules/auth/views/localization/SignIn.json.cjs +1 -0
  50. package/dist/prometheus-framework/src/modules/auth/views/localization/SignIn.json.js +38 -0
  51. package/dist/prometheus-framework/src/modules/auth/views/localization/SignUp.json.cjs +1 -0
  52. package/dist/prometheus-framework/src/modules/auth/views/localization/SignUp.json.js +32 -0
  53. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +1 -0
  54. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +30 -0
  55. package/dist/prometheus-framework/src/modules/auth/views/router/auth.cjs +1 -0
  56. package/dist/prometheus-framework/src/modules/auth/views/router/auth.js +119 -0
  57. package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +1 -0
  58. package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +176 -0
  59. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs +1 -0
  60. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.js +31 -0
  61. package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.cjs +1 -0
  62. package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.js +45 -0
  63. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
  71. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +3 -4
  77. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +73 -42
  79. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  81. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  89. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  91. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
  95. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +12 -13
  103. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
  107. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  109. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  111. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  115. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  117. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  119. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/globals/globals.client.js +34 -10
  121. package/dist/prometheus-framework/src/modules/globals/localization/get-browser-locale.cjs +1 -0
  122. package/dist/prometheus-framework/src/modules/globals/localization/get-browser-locale.js +7 -0
  123. package/dist/prometheus-framework/src/modules/globals/router/scrollBehavior.cjs +1 -0
  124. package/dist/prometheus-framework/src/modules/globals/router/scrollBehavior.js +18 -0
  125. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/globals/store/globals.js +38 -76
  127. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.cjs +1 -0
  128. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.js +72 -0
  129. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -0
  130. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +57 -0
  131. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -0
  132. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +35 -0
  133. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +1 -0
  134. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +75 -0
  135. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -0
  136. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +194 -0
  137. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonDate.vue.cjs +1 -0
  138. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonDate.vue.js +38 -0
  139. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonSort.vue.cjs +1 -0
  140. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonSort.vue.js +31 -0
  141. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -0
  142. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +66 -0
  143. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs +1 -0
  144. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js +16 -0
  145. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -0
  146. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +54 -0
  147. package/dist/prometheus-framework/src/modules/globals/views/localization/get-browser-locale.cjs +1 -0
  148. package/dist/prometheus-framework/src/modules/globals/views/localization/get-browser-locale.js +7 -0
  149. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs +1 -0
  150. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js +47 -0
  151. package/dist/prometheus-framework/src/modules/globals/views/router/scrollBehavior.cjs +1 -0
  152. package/dist/prometheus-framework/src/modules/globals/views/router/scrollBehavior.js +18 -0
  153. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +1 -0
  154. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +83 -0
  155. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -11
  157. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  159. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +3 -3
  161. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +3 -3
  163. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +2 -2
  165. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  167. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  169. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  171. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  173. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.cjs +1 -1
  174. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.js +1 -1
  175. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +1 -1
  177. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  179. package/dist/prometheus-framework/src/modules/orders/store/customers.store.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/orders/store/customers.store.js +1 -1
  181. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  183. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +1 -1
  185. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  187. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -4
  189. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
  191. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +4 -5
  193. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
  195. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -4
  197. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  199. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -4
  201. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  203. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
  205. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +2 -2
  207. package/dist/prometheus-framework/src/modules/organizations/router/departments.router.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/organizations/router/departments.router.js +1 -1
  209. package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +1 -1
  211. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +2 -2
  213. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  215. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +2 -2
  217. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  219. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  221. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +2 -2
  223. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  225. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Pages.vue.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Pages.vue.js +3 -3
  227. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  229. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
  231. package/dist/prometheus-framework/src/modules/pages/views/router/pages.router.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/pages/views/router/pages.router.js +1 -1
  233. package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/pages/views/store/pages.js +1 -1
  235. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +3 -3
  237. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  239. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -4
  243. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +2 -3
  245. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
  247. package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/products/router/categories.router.js +1 -1
  249. package/dist/prometheus-framework/src/modules/products/router/leftovers.router.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/products/router/leftovers.router.js +1 -1
  251. package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/products/router/products.router.js +1 -1
  253. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  255. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  257. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  259. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  261. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +3 -4
  263. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +3 -3
  265. package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/spots/router/spots.js +2 -2
  267. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  269. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  271. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -4
  275. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  277. package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/users/router/users.js +3 -4
  279. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  281. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  283. package/dist/prometheus-framework/src/modules/wallet/views/router/payments.router.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/wallet/views/router/payments.router.js +1 -1
  285. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  287. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  289. package/dist/prometheus-framework.cjs.js +1 -1
  290. package/dist/prometheus-framework.es.js +1 -1
  291. package/dist/style.css +1 -1
  292. package/dist/tickets.controller-BWVUA-GR.js +401 -0
  293. package/dist/tickets.controller-ChVmHHnj.mjs +402 -0
  294. package/dist/wallet.server.js +1 -1
  295. package/dist/wallet.server.mjs +1 -1
  296. package/dist/web-CK9TrlwB.js +1 -0
  297. package/dist/web-aOWHNbX1.mjs +54 -0
  298. package/package.json +1 -1
  299. package/src/builder/modes/ssr.dev.js +4 -1
  300. package/src/builder/templates/page.js +1 -1
  301. package/src/builder/webpack/webpack.config.base.js +2 -1
  302. package/src/builder/webpack/webpack.config.spa.js +0 -1
  303. package/src/components/Breadcrumbs/Breadcrumbs.vue +0 -1
  304. package/src/components/Feed/Feed.vue +5 -5
  305. package/src/components/Sidebar/Sidebar.vue +2 -2
  306. package/src/modules/auth/auth.client.js +53 -28
  307. package/src/modules/auth/auth.server.js +32 -14
  308. package/src/modules/auth/{routes → controllers/routes}/auth.routes.js +3 -3
  309. package/src/modules/auth/{routes → controllers/routes}/twofa.routes.js +2 -2
  310. package/src/modules/auth/controllers/{auth.controller.js → services/auth.service.js} +2 -3
  311. package/src/modules/auth/controllers/{twofa.controller.js → services/twofa.service.js} +1 -1
  312. package/src/modules/auth/models/role.model.js +9 -8
  313. package/src/modules/auth/{components → views/components}/layouts/Auth.vue +3 -3
  314. package/src/modules/auth/{components → views/components}/pages/EnterCode.vue +4 -4
  315. package/src/modules/auth/{components → views/components}/pages/EnterPassword.vue +3 -3
  316. package/src/modules/auth/{components → views/components}/pages/Invite.vue +2 -2
  317. package/src/modules/auth/{components → views/components}/pages/ResetPassword.vue +4 -4
  318. package/src/modules/auth/{components → views/components}/pages/SignIn.vue +3 -3
  319. package/src/modules/auth/{components → views/components}/pages/SignUp.vue +4 -4
  320. package/src/modules/{middlewares/client → auth/views/middlewares}/auth.validation.js +20 -1
  321. package/src/modules/auth/views/router/auth.js +102 -0
  322. package/src/modules/auth/{store → views/store}/auth.js +1 -1
  323. package/src/modules/auth/{store → views/store}/twofa.js +1 -1
  324. package/src/modules/{middlewares/client → auth/views/validations}/inputs.validation.js +3 -6
  325. package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
  326. package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
  327. package/src/modules/backoffice/components/partials/Sidebar.vue +1 -1
  328. package/src/modules/backoffice/router/backoffice.js +2 -2
  329. package/src/modules/chats/controllers/chats.controller.js +1 -1
  330. package/src/modules/chats/routes/chats.routes.js +1 -1
  331. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  332. package/src/modules/community/components/layouts/Community.vue +1 -1
  333. package/src/modules/community/components/pages/Blog.vue +1 -1
  334. package/src/modules/community/components/pages/BlogPost.vue +64 -3
  335. package/src/modules/community/components/pages/Community.vue +1 -1
  336. package/src/modules/community/components/pages/CreateBlogPost.vue +1 -1
  337. package/src/modules/community/components/sections/Comment.vue +1 -1
  338. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  339. package/src/modules/community/models/blogpost.model.js +4 -4
  340. package/src/modules/community/routes/blog.routes.js +1 -1
  341. package/src/modules/community/store/blogposts.js +1 -1
  342. package/src/modules/community/store/reactions.js +1 -1
  343. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  344. package/src/modules/events/components/elements/ButtonJoin.vue +1 -1
  345. package/src/modules/events/components/pages/EditEvent.vue +1 -1
  346. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  347. package/src/modules/events/components/pages/Event.vue +1 -1
  348. package/src/modules/events/components/pages/Events.vue +1 -1
  349. package/src/modules/events/components/sections/FeaturedEvents.vue +1 -1
  350. package/src/modules/events/controllers/events.controller.js +1 -1
  351. package/src/modules/events/controllers/tickets.controller.js +1 -1
  352. package/src/modules/events/models/event.model.js +4 -4
  353. package/src/modules/events/router/events.js +1 -1
  354. package/src/modules/events/routes/events.routes.js +1 -1
  355. package/src/modules/events/store/events.js +1 -1
  356. package/src/modules/events/store/tickets.js +1 -1
  357. package/src/modules/files/routes/files.routes.js +1 -1
  358. package/src/modules/gallery/components/pages/Gallery.vue +2 -2
  359. package/src/modules/gallery/components/sections/BackofficeGallery.vue +3 -3
  360. package/src/modules/gallery/models/photo.model.js +3 -3
  361. package/src/modules/gallery/routes/gallery.routes.js +2 -2
  362. package/src/modules/gallery/store/gallery.js +1 -1
  363. package/src/modules/globals/{services → controllers/classes}/globals.crud.js +2 -2
  364. package/src/modules/globals/globals.client.js +79 -8
  365. package/src/modules/globals/globals.server.js +3 -3
  366. package/src/modules/globals/models/{metadata.schema.js → schemas/metadata.schema.js} +1 -1
  367. package/src/modules/globals/{services → views/classes}/globals.store.js +1 -1
  368. package/src/modules/globals/{components → views/components}/blocks/BlockSorting.vue +1 -1
  369. package/src/modules/globals/views/components/layouts/App.vue +83 -0
  370. package/src/modules/globals/{components → views/components}/layouts/Client.vue +8 -8
  371. package/src/modules/globals/{components → views/components}/partials/Header.vue +1 -1
  372. package/src/modules/globals/views/middlewares/localization.js +16 -0
  373. package/src/modules/globals/views/router/scrollBehavior.js +30 -0
  374. package/src/modules/globals/{store → views/store}/globals.js +3 -3
  375. package/src/modules/integrations/stripe/controllers/webhooks/stripe.webhook.js +2 -2
  376. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +2 -2
  377. package/src/modules/legal/components/pages/Legal.vue +1 -1
  378. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  379. package/src/modules/marketplace/router/marketplace.js +1 -1
  380. package/src/modules/orders/components/pages/Order.vue +1 -1
  381. package/src/modules/orders/components/pages/OrderBackoffice.vue +2 -2
  382. package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
  383. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  384. package/src/modules/orders/components/pages/Orders.vue +3 -3
  385. package/src/modules/orders/components/sections/FormAddCustomer.vue +3 -3
  386. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  387. package/src/modules/orders/controllers/applications.controller.js +1 -1
  388. package/src/modules/orders/controllers/orders.controller.js +1 -1
  389. package/src/modules/orders/models/customer.model.js +3 -3
  390. package/src/modules/orders/models/order.model.js +1 -2
  391. package/src/modules/orders/orders.server.js +4 -2
  392. package/src/modules/orders/router/orders.backoffice.router.js +1 -1
  393. package/src/modules/orders/router/orders.router.js +1 -1
  394. package/src/modules/orders/routes/applications.routes.js +2 -1
  395. package/src/modules/orders/routes/orders.routes.js +1 -1
  396. package/src/modules/orders/store/applications.js +1 -1
  397. package/src/modules/orders/store/customers.store.js +1 -1
  398. package/src/modules/orders/store/orders.js +1 -1
  399. package/src/modules/orders/store/shopcart.js +1 -1
  400. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
  401. package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
  402. package/src/modules/organizations/components/pages/Members.vue +3 -3
  403. package/src/modules/organizations/components/pages/Organization.vue +1 -1
  404. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
  405. package/src/modules/organizations/components/pages/OrganizationCreate.vue +1 -1
  406. package/src/modules/organizations/components/pages/OrganizationDetails.vue +2 -2
  407. package/src/modules/organizations/components/pages/OrganizationEdit.vue +1 -1
  408. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  409. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  410. package/src/modules/organizations/components/sections/Organizations.vue +1 -1
  411. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  412. package/src/modules/organizations/controllers/invites.controller.js +1 -1
  413. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  414. package/src/modules/organizations/models/invite.model.js +2 -2
  415. package/src/modules/organizations/models/organization.model.js +1 -1
  416. package/src/modules/organizations/router/backoffice.router.js +2 -2
  417. package/src/modules/organizations/router/departments.router.js +1 -1
  418. package/src/modules/organizations/router/members.router.js +1 -1
  419. package/src/modules/organizations/router/organizations.js +2 -2
  420. package/src/modules/organizations/routes/invites.routes.js +1 -1
  421. package/src/modules/organizations/store/departments.js +1 -1
  422. package/src/modules/organizations/store/invites.js +2 -2
  423. package/src/modules/organizations/store/memberships.js +1 -1
  424. package/src/modules/organizations/store/organizations.js +1 -1
  425. package/src/modules/pages/pages.server.js +1 -1
  426. package/src/modules/pages/views/components/pages/Page.vue +2 -2
  427. package/src/modules/pages/views/components/pages/PageEdit.vue +1 -1
  428. package/src/modules/pages/views/components/pages/Pages.vue +3 -3
  429. package/src/modules/pages/views/components/partials/SidebarPages.vue +2 -2
  430. package/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
  431. package/src/modules/pages/views/router/pages.router.js +1 -1
  432. package/src/modules/pages/views/store/pages.js +1 -1
  433. package/src/modules/pages/views/store/pages.store.js +1 -1
  434. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  435. package/src/modules/products/components/pages/EditLeftover.vue +2 -2
  436. package/src/modules/products/components/pages/Product.vue +1 -1
  437. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  438. package/src/modules/products/components/pages/Products.vue +2 -2
  439. package/src/modules/products/models/leftover.model.js +1 -1
  440. package/src/modules/products/router/categories.router.js +1 -1
  441. package/src/modules/products/router/leftovers.router.js +1 -1
  442. package/src/modules/products/router/products.router.js +1 -1
  443. package/src/modules/products/store/categories.js +1 -1
  444. package/src/modules/products/store/leftovers.js +1 -1
  445. package/src/modules/products/store/products.js +1 -1
  446. package/src/modules/projects/store/projects.js +1 -1
  447. package/src/modules/reports/store/reports.js +1 -1
  448. package/src/modules/spots/components/layouts/Spots.vue +1 -1
  449. package/src/modules/spots/components/pages/Map.vue +1 -1
  450. package/src/modules/spots/router/spots.js +2 -2
  451. package/src/modules/spots/spots.server.js +1 -1
  452. package/src/modules/spots/store/spots.js +1 -1
  453. package/src/modules/users/components/pages/Profile.vue +1 -1
  454. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  455. package/src/modules/users/components/pages/ProfileEdit.vue +2 -2
  456. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  457. package/src/modules/users/models/user.model.js +3 -3
  458. package/src/modules/users/router/users.js +1 -2
  459. package/src/modules/wallet/controllers/routes/payments.routes.js +2 -2
  460. package/src/modules/wallet/controllers/routes/rewards.routes.js +1 -1
  461. package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
  462. package/src/modules/wallet/views/router/payments.router.js +1 -2
  463. package/src/modules/wallet/views/store/payments.store.js +1 -1
  464. package/src/modules/wallet/views/store/wallet.store.js +1 -1
  465. package/src/modules/auth/router/auth.js +0 -111
  466. package/src/modules/globals/localization/methods/get-app-locales.js +0 -13
  467. package/src/modules/globals/localization/vue-i18n.js +0 -38
  468. package/src/modules/globals/localization/vue-i18n.singleton.js +0 -11
  469. package/src/modules/globals/router/routerGuards.js +0 -29
  470. package/src/modules/middlewares/client/states.validation.js +0 -23
  471. package/src/modules/middlewares/middlewares.client.js +0 -11
  472. package/src/modules/middlewares/middlewares.server.js +0 -18
  473. package/src/modules/orders/routes/backcalls.routes.js +0 -36
  474. package/src/modules/orders/routes/fastorders.routes.js +0 -32
  475. /package/src/modules/auth/{middlewares → controllers/middlewares}/authJwt.js +0 -0
  476. /package/src/modules/auth/{middlewares → controllers/middlewares}/authSecret.js +0 -0
  477. /package/src/modules/auth/{middlewares → controllers/middlewares}/index.js +0 -0
  478. /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyAccesses.js +0 -0
  479. /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyInvites.js +0 -0
  480. /package/src/modules/auth/{middlewares → controllers/middlewares}/verifySignUp.js +0 -0
  481. /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyUser.js +0 -0
  482. /package/src/modules/auth/{utils/server → controllers/utils}/verifyAppleIdToken.js +0 -0
  483. /package/src/modules/auth/{components → views/components}/sections/SliderFeatures.vue +0 -0
  484. /package/src/modules/auth/{localization → views/localization}/EnterCode.json +0 -0
  485. /package/src/modules/auth/{localization → views/localization}/EnterPassword.json +0 -0
  486. /package/src/modules/auth/{localization → views/localization}/ResetPassword.json +0 -0
  487. /package/src/modules/auth/{localization → views/localization}/SignIn.json +0 -0
  488. /package/src/modules/auth/{localization → views/localization}/SignUp.json +0 -0
  489. /package/src/modules/globals/{services → controllers/classes}/globals.cache.js +0 -0
  490. /package/src/modules/globals/{services → controllers/classes}/globals.logger.js +0 -0
  491. /package/src/modules/globals/{services → controllers/classes}/globals.observer.js +0 -0
  492. /package/src/modules/globals/{services → controllers/classes}/globals.webhook.js +0 -0
  493. /package/src/modules/globals/{utils → controllers/utils}/mailing.js +0 -0
  494. /package/src/modules/globals/{utils → controllers/utils}/parseCookie.js +0 -0
  495. /package/src/modules/globals/{utils → controllers/utils}/seo-friendly-url.js +0 -0
  496. /package/src/modules/globals/{utils → controllers/utils}/sitemap.js +0 -0
  497. /package/src/modules/globals/models/{common.schema.js → schemas/common.schema.js} +0 -0
  498. /package/src/modules/globals/models/{credentials.schema.js → schemas/credentials.schema.js} +0 -0
  499. /package/src/modules/globals/models/{engagement.schema.js → schemas/engagement.schema.js} +0 -0
  500. /package/src/modules/globals/models/{ownership.schema.js → schemas/ownership.schema.js} +0 -0
  501. /package/src/modules/globals/models/{profile.schema.js → schemas/profile.schema.js} +0 -0
  502. /package/src/modules/globals/models/{socials.schema.js → schemas/socials.schema.js} +0 -0
  503. /package/src/modules/globals/{components → views/components}/blocks/BlockFilter.vue +0 -0
  504. /package/src/modules/globals/{components → views/components}/blocks/BlockSearch.vue +0 -0
  505. /package/src/modules/globals/{components → views/components}/blocks/CardFooter.vue +0 -0
  506. /package/src/modules/globals/{components → views/components}/blocks/CardHeader.vue +0 -0
  507. /package/src/modules/globals/{components → views/components}/elements/ButtonDate.vue +0 -0
  508. /package/src/modules/globals/{components → views/components}/elements/ButtonSort.vue +0 -0
  509. /package/src/modules/globals/{components → views/components}/layouts/Empty.vue +0 -0
  510. /package/src/modules/globals/{components → views/components}/pages/401.vue +0 -0
  511. /package/src/modules/globals/{components → views/components}/pages/404.vue +0 -0
  512. /package/src/modules/globals/{components → views/components}/partials/BottomNavigation.vue +0 -0
  513. /package/src/modules/globals/{components → views/components}/partials/Footer.vue +0 -0
  514. /package/src/modules/globals/{components → views/components}/partials/Navigation.vue +0 -0
  515. /package/src/modules/globals/{components → views/components}/partials/NavigationBar.vue +0 -0
  516. /package/src/modules/globals/{components → views/components}/sections/SectionPageTitle.vue +0 -0
  517. /package/src/modules/globals/{components → views/components}/sections/Title.vue +0 -0
  518. /package/src/modules/globals/{components → views/components}/sections/Walkthrough.vue +0 -0
  519. /package/src/modules/globals/{localization/methods → views/localization}/get-browser-locale.js +0 -0
  520. /package/src/modules/globals/{mixins → views/mixins}/mixins.js +0 -0
@@ -0,0 +1,402 @@
1
+ import require$$0$1 from "path";
2
+ import require$$1 from "puppeteer";
3
+ import require$$2 from "qrcode";
4
+ import require$$0 from "mustache";
5
+ import { m as mailing } from "./mailing-C3VD4l0h.mjs";
6
+ const Mustache$1 = require$$0;
7
+ const template$1 = `
8
+ <!DOCTYPE html>
9
+ <html lang="en">
10
+ <head>
11
+ <meta charset="UTF-8">
12
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
13
+ <style>
14
+ @media print {
15
+ body {-webkit-print-color-adjust: exact;}
16
+ }
17
+
18
+ body {
19
+ padding: 10%;
20
+ font-family: Arial,Helvetica,sans-serif
21
+ }
22
+ .ticket {
23
+ display: grid;
24
+ grid-template-columns: 100% 143px;
25
+ background: #f5f5f5;
26
+ border-radius: 48px;
27
+ cursor: default;
28
+ }
29
+ .ticket__main {
30
+ display: grid;
31
+ grid-template-columns: repeat(6, 1fr) 120px;
32
+ grid-template-rows: repeat(4, min-content) auto;
33
+ padding: 20px;
34
+ }
35
+ .header {
36
+ grid-area: title;
37
+ grid-column: span 7;
38
+ grid-row: 1;
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ padding: 15px 20px 15px 20px;
43
+ width: 100%;
44
+ box-sizing: border-box;
45
+ background: #111;
46
+ border-radius: 24px 24px 0 0;
47
+ }
48
+ .header svg {
49
+ width: auto;
50
+ height: 48px;
51
+ margin-right: 8px;
52
+ }
53
+ .header p {
54
+ color: white;
55
+ border-radius: 48px;
56
+ padding: 5px 10px 5px 10px;
57
+ margin-left: auto;
58
+ line-height: 1;
59
+ font-weight: 400;
60
+ font-family: 'Helvetica Neue';
61
+ font-size: 10px;
62
+ text-transform: uppercase;
63
+ }
64
+ .header div {
65
+ color: white;
66
+ border-radius: 48px;
67
+ padding: 5px 10px 5px 10px;
68
+ margin-left: 0px;
69
+ line-height: 1;
70
+ text-transform: uppercase;
71
+ background: #E31C25;
72
+ }
73
+ .header span {
74
+ display: block;
75
+ }
76
+ .info {
77
+ border: 1px solid;
78
+ border-width: 0 1px 1px 0;
79
+ border-color: rgba(0,0,0,0.1);
80
+ padding: 8px;
81
+ }
82
+ .info__item {
83
+ font-size: 9px;
84
+ margin-top: 4px;
85
+ text-transform: uppercase;
86
+ letter-spacing: 0.5px;
87
+ font-family: 'Helvetica Neue';
88
+ }
89
+ .info__detail {
90
+ font: 700 20px/1;
91
+ letter-spacing: 1px;
92
+ font-weight: 600;
93
+ text-transform: uppercase;
94
+ margin-top: 4px;
95
+ color: #e31c25;
96
+ }
97
+ .passenger {
98
+ grid-column: 1 / span 6;
99
+ }
100
+ .platform {
101
+ grid-column: 7 / span 1;
102
+ grid-row: 2 / span 3;
103
+ background: #e31c25;
104
+ color: #fff;
105
+ border-color: rgba(0,0,0,0.1);
106
+ text-align: center;
107
+ padding: 10px;
108
+ border-radius: 0 0 24px 0;
109
+ font-size: 18px;
110
+ line-height: 1;
111
+ }
112
+ .platform img {
113
+ width: 100%;
114
+ padding: 10%;
115
+ box-sizing: border-box;
116
+ }
117
+ .departure, .arrival {
118
+ grid-column-start: span 3;
119
+ }
120
+ .passenger, .departure, .date {
121
+ border-left: 1px solid;
122
+ border-color: rgba(0,0,0,0.1);
123
+ }
124
+ .date, .time {
125
+ grid-column-start: span 3;
126
+ }
127
+ .date {
128
+ border-radius: 0 0 0 24px;
129
+ }
130
+ </style>
131
+ </head>
132
+ <body>
133
+ <div class="main-content">
134
+ <div class="ticket">
135
+ <div class="ticket__main">
136
+ <div class="header">
137
+ <svg width="1046" height="280" viewBox="0 0 1046 280" fill="none" xmlns="http://www.w3.org/2000/svg">
138
+ <path d="M1010.25 80.5964L993.442 193.466H978.224L965.859 120.228H965.542L953.336 193.466H938.117L921.313 80.5964H938.434L946.519 152.25H946.836L959.518 80.5964H971.883L985.041 153.993H985.358L993.125 80.5964H1010.25Z" fill="white"/>
139
+ <path d="M867.722 107.229C867.722 102.684 868.514 98.6683 870.1 95.1807C871.685 91.6932 873.799 88.7869 876.441 86.4618C878.977 84.2425 881.83 82.5516 885.001 81.389C888.277 80.2265 891.553 79.6453 894.829 79.6453C898.106 79.6453 901.329 80.2265 904.5 81.389C907.776 82.5516 910.735 84.2425 913.377 86.4618C915.913 88.7869 917.974 91.6932 919.559 95.1807C921.145 98.6683 921.937 102.684 921.937 107.229V166.834C921.937 171.59 921.145 175.659 919.559 179.04C917.974 182.422 915.913 185.223 913.377 187.442C910.735 189.767 907.776 191.511 904.5 192.674C901.329 193.836 898.106 194.417 894.829 194.417C891.553 194.417 888.277 193.836 885.001 192.674C881.83 191.511 878.977 189.767 876.441 187.442C873.799 185.223 871.685 182.422 870.1 179.04C868.514 175.659 867.722 171.59 867.722 166.834V107.229ZM883.891 166.834C883.891 170.744 884.948 173.651 887.062 175.553C889.281 177.35 891.87 178.248 894.829 178.248C897.789 178.248 900.325 177.35 902.439 175.553C904.658 173.651 905.768 170.744 905.768 166.834V107.229C905.768 103.318 904.658 100.465 902.439 98.6683C900.325 96.766 897.789 95.8148 894.829 95.8148C891.87 95.8148 889.281 96.766 887.062 98.6683C884.948 100.465 883.891 103.318 883.891 107.229V166.834Z" fill="white"/>
140
+ <path d="M805.527 193.466V80.5964H821.062L845.475 148.604H845.792V80.5964H861.962V193.466H846.743L822.013 125.618H821.696V193.466H805.527Z" fill="white"/>
141
+ <path d="M802 113.094H785.83V109.448C785.83 105.749 784.932 102.579 783.135 99.9365C781.444 97.1887 778.538 95.8148 774.417 95.8148C772.197 95.8148 770.401 96.2375 769.027 97.083C767.653 97.9285 766.543 98.9853 765.698 100.254C764.852 101.627 764.271 103.213 763.954 105.009C763.637 106.7 763.478 108.497 763.478 110.399C763.478 112.618 763.531 114.468 763.637 115.947C763.848 117.427 764.271 118.748 764.905 119.911C765.539 121.073 766.437 122.077 767.6 122.923C768.868 123.768 770.559 124.614 772.673 125.459L785.038 130.373C788.631 131.747 791.537 133.385 793.757 135.288C795.976 137.084 797.72 139.198 798.988 141.629C800.15 144.165 800.943 147.071 801.366 150.347C801.788 153.518 802 157.164 802 161.286C802 166.041 801.524 170.48 800.573 174.602C799.622 178.618 798.09 182.052 795.976 184.906C793.757 187.865 790.85 190.19 787.257 191.881C783.664 193.572 779.278 194.417 774.099 194.417C770.189 194.417 766.543 193.73 763.161 192.357C759.779 190.983 756.873 189.08 754.442 186.65C752.012 184.219 750.057 181.418 748.577 178.248C747.203 174.972 746.516 171.431 746.516 167.627V161.603H762.686V166.675C762.686 169.635 763.531 172.33 765.222 174.76C767.019 177.085 769.978 178.248 774.099 178.248C776.847 178.248 778.961 177.878 780.44 177.138C782.026 176.293 783.241 175.13 784.087 173.651C784.932 172.171 785.408 170.427 785.513 168.419C785.725 166.306 785.83 163.981 785.83 161.444C785.83 158.485 785.725 156.054 785.513 154.152C785.302 152.25 784.879 150.717 784.245 149.555C783.505 148.392 782.501 147.441 781.233 146.701C780.071 145.962 778.485 145.169 776.477 144.323L764.905 139.568C757.93 136.714 753.227 132.963 750.796 128.312C748.471 123.557 747.309 117.638 747.309 110.558C747.309 106.33 747.89 102.314 749.053 98.5097C750.215 94.7051 751.959 91.429 754.284 88.6812C756.503 85.9334 759.304 83.7669 762.686 82.1817C766.173 80.4907 770.295 79.6453 775.051 79.6453C779.067 79.6453 782.713 80.385 785.989 81.8646C789.371 83.3442 792.277 85.2993 794.708 87.73C799.569 92.8028 802 98.6154 802 105.168V113.094Z" fill="white"/>
142
+ <path d="M677.452 193.466V80.5964H725.644V95.8148H693.622V128.947H721.522V144.165H693.622V177.297H725.644V193.466H677.452Z" fill="white"/>
143
+ <path d="M634.051 95.8148V131.007H643.246C646.099 131.007 648.371 130.637 650.062 129.898C651.753 129.052 653.074 127.89 654.026 126.41C654.871 124.931 655.452 123.134 655.769 121.02C656.086 118.801 656.245 116.265 656.245 113.411C656.245 110.558 656.086 108.074 655.769 105.96C655.452 103.741 654.818 101.839 653.867 100.254C651.859 97.2944 648.054 95.8148 642.453 95.8148H634.051ZM617.882 193.466V80.5964H643.88C662.903 80.5964 672.414 91.6403 672.414 113.728C672.414 120.386 671.358 126.04 669.244 130.69C667.236 135.34 663.643 139.092 658.464 141.946L675.902 193.466H658.781L643.721 145.275H634.051V193.466H617.882Z" fill="white"/>
144
+ <path d="M557.36 107.229C557.36 102.684 558.152 98.6683 559.738 95.1807C561.323 91.6932 563.437 88.7869 566.079 86.4618C568.615 84.2425 571.469 82.5516 574.639 81.389C577.915 80.2265 581.191 79.6453 584.468 79.6453C587.744 79.6453 590.967 80.2265 594.138 81.389C597.414 82.5516 600.373 84.2425 603.015 86.4618C605.551 88.7869 607.612 91.6932 609.198 95.1807C610.783 98.6683 611.575 102.684 611.575 107.229V166.834C611.575 171.59 610.783 175.659 609.198 179.04C607.612 182.422 605.551 185.223 603.015 187.442C600.373 189.767 597.414 191.511 594.138 192.674C590.967 193.836 587.744 194.417 584.468 194.417C581.191 194.417 577.915 193.836 574.639 192.674C571.469 191.511 568.615 189.767 566.079 187.442C563.437 185.223 561.323 182.422 559.738 179.04C558.152 175.659 557.36 171.59 557.36 166.834V107.229ZM573.529 166.834C573.529 170.744 574.586 173.651 576.7 175.553C578.919 177.35 581.509 178.248 584.468 178.248C587.427 178.248 589.963 177.35 592.077 175.553C594.296 173.651 595.406 170.744 595.406 166.834V107.229C595.406 103.318 594.296 100.465 592.077 98.6683C589.963 96.766 587.427 95.8148 584.468 95.8148C581.509 95.8148 578.919 96.766 576.7 98.6683C574.586 100.465 573.529 103.318 573.529 107.229V166.834Z" fill="white"/>
145
+ <path d="M478.15 193.466V80.5964H493.686L514.453 140.36H514.77L535.378 80.5964H551.072V193.466H534.902V124.825H534.585L518.574 173.334H510.489L494.637 124.825H494.32V193.466H478.15Z" fill="white"/>
146
+ <path d="M396.141 107.229C396.141 102.684 396.934 98.6683 398.519 95.1807C400.104 91.6932 402.218 88.7869 404.86 86.4618C407.396 84.2425 410.25 82.5516 413.42 81.389C416.697 80.2265 419.973 79.6453 423.249 79.6453C426.525 79.6453 429.748 80.2265 432.919 81.389C436.195 82.5516 439.154 84.2425 441.796 86.4618C444.333 88.7869 446.394 91.6932 447.979 95.1807C449.564 98.6683 450.357 102.684 450.357 107.229V166.834C450.357 171.59 449.564 175.659 447.979 179.04C446.394 182.422 444.333 185.223 441.796 187.442C439.154 189.767 436.195 191.511 432.919 192.674C429.748 193.836 426.525 194.417 423.249 194.417C419.973 194.417 416.697 193.836 413.42 192.674C410.25 191.511 407.396 189.767 404.86 187.442C402.218 185.223 400.104 182.422 398.519 179.04C396.934 175.659 396.141 171.59 396.141 166.834V107.229ZM412.311 166.834C412.311 170.744 413.367 173.651 415.481 175.553C417.701 177.35 420.29 178.248 423.249 178.248C426.208 178.248 428.744 177.35 430.858 175.553C433.077 173.651 434.187 170.744 434.187 166.834V107.229C434.187 103.318 433.077 100.465 430.858 98.6683C428.744 96.766 426.208 95.8148 423.249 95.8148C420.29 95.8148 417.701 96.766 415.481 98.6683C413.367 100.465 412.311 103.318 412.311 107.229V166.834Z" fill="white"/>
147
+ <path d="M333.946 193.466V80.5964H349.481L373.894 148.604H374.211V80.5964H390.381V193.466H375.163L350.433 125.618H350.116V193.466H333.946Z" fill="white"/>
148
+ <path d="M233.454 133.306C235.059 134.222 236.586 135.114 238.14 135.954C239.451 136.662 240.292 137.695 240.319 139.233C240.349 140.87 239.447 141.935 238.099 142.724C231.338 146.679 224.59 150.655 217.838 154.627C213.234 157.335 208.633 160.046 203.913 162.825C204.307 163.068 204.613 163.262 204.923 163.447C208.828 165.782 212.738 168.108 216.635 170.456C217.137 170.758 217.529 170.821 218.092 170.526C230.581 163.995 243.084 157.49 255.584 150.979C256.192 150.663 256.79 150.326 257.408 150.033C258.481 149.524 259.568 149.496 260.609 150.111C266.05 153.323 271.514 156.496 276.908 159.788C279.363 161.287 279.154 164.515 276.585 166.073C271.83 168.956 267.052 171.8 262.283 174.659C256.244 178.28 250.203 181.9 244.165 185.523C243.859 185.706 243.566 185.909 243.139 186.185C245.35 187.435 247.458 188.632 249.571 189.82C254.161 192.403 258.754 194.982 263.346 197.563C266.022 199.067 266.534 200.841 265.062 203.548C262.432 208.383 259.797 213.216 257.161 218.048C255.867 220.422 253.975 220.975 251.657 219.604C245.13 215.746 238.615 211.866 232.094 207.997C231.79 207.816 231.476 207.653 230.983 207.38C230.983 207.895 230.983 208.273 230.983 208.651C230.983 220.884 230.984 233.118 230.978 245.351C230.978 245.973 231.003 246.617 230.861 247.212C230.337 249.419 228.006 250.52 225.912 249.536C224.283 248.77 222.697 247.91 221.093 247.09C216.793 244.891 212.528 242.619 208.181 240.525C206.048 239.497 205.177 238.03 205.189 235.62C205.258 221.954 205.214 208.288 205.243 194.622C205.245 193.785 205.002 193.336 204.304 192.898C200.415 190.462 196.564 187.962 192.699 185.487C192.466 185.338 192.22 185.211 191.859 185.005C191.859 185.485 191.859 185.836 191.859 186.188C191.859 198.531 191.848 210.875 191.872 223.219C191.875 224.92 191.339 226.242 189.809 227.006C188.558 227.631 187.367 227.298 186.212 226.641C177.119 221.464 168.022 216.294 158.926 211.122C157.181 210.13 155.434 209.142 153.563 208.081C153.563 211.53 153.563 214.822 153.563 218.115C153.563 219.841 153.601 221.569 153.545 223.294C153.521 224.014 153.746 224.388 154.365 224.752C165.878 231.525 177.374 238.328 188.874 245.125C189.154 245.29 189.43 245.464 189.715 245.617C191.239 246.435 191.892 247.696 191.877 249.471C191.828 255.201 191.859 260.933 191.859 266.664C191.859 267.325 191.867 267.986 191.857 268.648C191.806 271.959 189.063 273.532 186.244 271.846C184.075 270.549 181.931 269.209 179.776 267.888C171.245 262.658 162.714 257.428 154.183 252.199C154.034 252.107 153.881 252.022 153.563 251.838C153.563 252.338 153.563 252.718 153.563 253.098C153.563 260.555 153.592 268.013 153.527 275.47C153.519 276.395 153.143 277.387 152.7 278.217C152.255 279.052 151.382 279.343 150.393 279.339C143.693 279.313 136.991 279.263 130.292 279.366C128.46 279.394 127.038 277.734 126.994 276.17C126.971 275.363 126.976 274.554 126.975 273.746C126.974 266.473 126.975 259.2 126.975 251.778C126.353 252.138 125.803 252.448 125.262 252.773C114.769 259.076 104.272 265.373 93.7898 271.697C92.4322 272.516 91.0954 272.93 89.6376 272.068C88.1821 271.206 87.8419 269.798 87.8454 268.204C87.8589 262.106 87.8942 256.007 87.8271 249.909C87.804 247.802 88.5654 246.425 90.3907 245.379C102.259 238.576 114.083 231.694 125.94 224.872C126.733 224.415 127.011 223.934 127 223.001C126.944 218.41 126.975 213.817 126.975 209.225C126.975 208.87 126.975 208.514 126.975 207.97C125.582 208.724 124.327 209.4 123.075 210.082C112.974 215.587 102.884 221.111 92.7573 226.565C91.893 227.031 90.7528 227.315 89.8035 227.189C88.0014 226.951 87.0278 225.417 87.0245 223.313C87.0156 217.655 87.0215 211.998 87.0215 206.34C87.0215 199.654 87.0215 192.968 87.0215 186.282C87.0215 185.894 87.0215 185.506 87.0215 184.959C84.6994 186.44 82.5157 187.831 80.3337 189.225C78.4146 190.451 76.5201 191.72 74.5678 192.888C73.8312 193.329 73.5627 193.805 73.5646 194.688C73.5954 208.464 73.5617 222.241 73.6132 236.017C73.6207 238.022 72.9098 239.322 71.1911 240.27C65.8535 243.213 60.561 246.241 55.2449 249.225C52.2667 250.897 49.5997 249.283 49.5963 245.786C49.5844 233.406 49.5917 221.025 49.5917 208.645C49.5917 208.241 49.5917 207.837 49.5917 207.308C49.2247 207.495 48.916 207.636 48.6226 207.805C41.8329 211.708 35.0449 215.614 28.2564 219.519C25.6884 220.997 23.8955 220.477 22.4547 217.83C19.8406 213.028 17.2267 208.227 14.619 203.421C13.2541 200.906 13.7786 199.03 16.2331 197.649C22.9933 193.846 29.7566 190.048 36.6814 186.156C36.2616 185.884 35.9255 185.654 35.5792 185.442C25.1388 179.044 14.6974 172.647 4.25626 166.25C2.08447 164.919 1.383 163.015 2.46295 161.12C2.79083 160.545 3.31652 160.012 3.87307 159.659C8.8162 156.523 13.7913 153.439 18.7459 150.321C20.0664 149.49 21.348 149.499 22.7159 150.214C35.6553 156.976 48.6014 163.724 61.5566 170.453C61.9117 170.638 62.5003 170.769 62.7955 170.597C67.128 168.067 71.429 165.481 75.8485 162.843C74.4749 162.034 73.1789 161.27 71.8821 160.508C61.7993 154.581 51.7194 148.649 41.6293 142.734C40.4432 142.039 39.5305 141.178 39.4066 139.711C39.2639 138.02 40.0268 136.834 41.4475 136.03C43.6155 134.805 45.7784 133.57 47.9457 132.343C57.0193 127.206 66.0937 122.071 75.1678 116.935C75.3775 116.816 75.5865 116.696 75.9374 116.496C74.1879 115.38 72.553 114.338 70.9184 113.294C68.2988 111.623 65.6702 109.965 63.068 108.266C62.5518 107.929 62.1817 107.907 61.63 108.218C49.0317 115.33 36.4202 122.418 23.8112 129.511C23.4339 129.723 23.0516 129.927 22.6803 130.149C21.376 130.932 20.0891 130.88 18.8066 130.093C13.2363 126.673 7.64965 123.28 2.10022 119.825C-0.530479 118.187 -0.369747 114.971 2.3949 113.362C9.25659 109.368 16.1339 105.402 23.0047 101.425C27.066 99.0742 31.1274 96.7232 35.1873 94.3696C35.4349 94.226 35.6697 94.0597 35.9497 93.8787C29.59 89.8407 23.2774 85.8309 16.9629 81.8243C14.5933 80.3208 14.1407 78.5932 15.4407 76.0732C18.0647 70.9863 20.6823 65.8959 23.295 60.8029C24.6774 58.1081 26.5328 57.5698 29.1455 59.1232C35.6026 62.9624 42.06 66.8009 48.5177 70.6391C48.8224 70.8202 49.1302 70.9958 49.5917 71.2641C49.5917 70.7571 49.5917 70.3738 49.5917 69.9905C49.5917 57.2794 49.5889 44.5682 49.5939 31.8571C49.595 29.23 51.2971 27.5333 53.6209 27.8878C54.2034 27.9767 54.7903 28.2531 55.3033 28.566C60.7305 31.877 66.1367 35.2238 71.5643 38.5341C72.9624 39.3869 73.607 40.5449 73.6034 42.2361C73.5731 56.4167 73.5951 70.5973 73.5639 84.7779C73.5621 85.6273 73.8134 86.0702 74.5249 86.4854C78.3599 88.723 82.1625 91.0181 85.9781 93.2902C86.2756 93.4674 86.5867 93.6205 87.0215 93.8549C87.0215 93.3229 87.0215 92.932 87.0215 92.5412C87.0215 79.977 87.0166 67.4129 87.0342 54.8487C87.0352 54.1287 87.1015 53.3648 87.3411 52.6974C88.095 50.5974 90.3404 49.8616 92.4432 51.017C95.0049 52.4245 97.5346 53.8927 100.078 55.3349C108.776 60.267 117.474 65.1996 126.174 70.1297C126.385 70.2493 126.61 70.3427 126.975 70.5191C126.975 69.5682 126.975 68.7424 126.975 67.9167C126.975 64.096 126.933 60.2745 127.004 56.4552C127.022 55.5077 126.714 55.0324 125.951 54.576C114.052 47.4568 102.181 40.2895 90.2689 33.1922C88.5417 32.1632 87.8095 30.8327 87.8283 28.814C87.8889 22.3121 87.8451 15.8092 87.8541 9.30669C87.8572 7.09371 88.9141 5.45861 90.7354 5.28962C91.6948 5.2006 92.8147 5.51996 93.6815 5.99663C103.069 11.1589 112.419 16.3894 121.781 21.6005C123.446 22.5276 125.114 23.4512 126.975 24.4844C126.975 23.968 126.975 23.5921 126.975 23.2162C126.975 17.0811 126.982 10.9459 126.969 4.81083C126.967 3.48432 127.305 2.31647 128.43 1.57153C128.913 1.25166 129.537 0.983905 130.098 0.980597C136.871 0.940688 143.643 0.949913 150.416 0.95798C152.232 0.960145 153.551 2.5048 153.558 4.6728C153.574 10.0364 153.563 15.4001 153.563 20.7637C153.563 21.9283 153.563 23.0929 153.563 24.4236C155.337 23.416 156.986 22.4792 158.635 21.5419C167.827 16.3181 177.016 11.09 186.211 5.87288C188.601 4.51703 191.013 5.34414 191.698 7.75772C191.844 8.27399 191.852 8.8435 191.852 9.3886C191.862 15.9646 191.826 22.5408 191.88 29.1164C191.895 30.9854 191.147 32.1888 189.603 33.1305C177.975 40.2196 166.378 47.3611 154.748 54.4456C153.877 54.9761 153.513 55.4953 153.532 56.5691C153.607 60.7925 153.563 65.0181 153.563 69.2429C153.563 69.5945 153.563 69.946 153.563 70.4486C157.131 68.3395 160.57 66.3063 164.009 64.2742C171.376 59.9212 178.739 55.5628 186.112 51.2196C188.531 49.7942 190.88 50.511 191.646 52.9238C191.84 53.5335 191.85 54.222 191.851 54.8744C191.862 67.4018 191.859 79.9293 191.859 92.4567C191.859 92.8599 191.859 93.2632 191.859 93.8062C192.173 93.6625 192.426 93.5741 192.652 93.4392C196.559 91.109 200.457 88.7611 204.375 86.4506C204.998 86.0831 205.244 85.6814 205.242 84.918C205.215 70.9211 205.251 56.924 205.194 42.9274C205.184 40.6325 205.998 39.2045 208.015 38.1247C213.864 34.9931 219.631 31.7029 225.421 28.4579C226.446 27.8839 227.466 27.6073 228.612 28.0291C230.014 28.5447 230.758 29.5735 230.937 31.0471C230.995 31.5186 230.981 32.0004 230.981 32.4775C230.983 45.2986 230.983 58.1196 230.983 71.107C231.327 70.9261 231.6 70.8023 231.854 70.6464C238.041 66.8467 244.225 63.0415 250.413 59.242C253.201 57.5301 254.883 57.9838 256.523 60.8832C259.378 65.9278 262.233 70.9728 265.082 76.0206C266.501 78.5343 266.028 80.3738 263.585 81.8238C257.097 85.6759 250.605 89.521 244.115 93.371C243.811 93.5513 243.519 93.7514 243.093 94.0243C245.642 95.5065 248.083 96.931 250.529 98.3474C259.15 103.339 267.773 108.324 276.391 113.321C278.161 114.348 278.95 115.672 278.464 117.333C278.199 118.237 277.572 119.263 276.81 119.746C271.228 123.289 265.57 126.706 259.938 130.167C258.534 131.03 257.237 130.738 255.885 129.958C247.227 124.961 238.552 119.998 229.882 115.023C225.938 112.76 221.998 110.488 218.039 108.253C217.733 108.079 217.182 107.987 216.922 108.15C212.666 110.819 208.439 113.536 204.207 116.245C204.123 116.298 204.067 116.396 203.913 116.568C213.769 122.15 223.579 127.705 233.454 133.306ZM145.934 196.748C161.059 187.85 176.179 178.944 191.32 170.076C192.033 169.659 192.096 169.17 192.096 168.478C192.085 149.632 192.077 130.787 192.115 111.942C192.117 110.874 191.785 110.347 190.897 109.827C174.037 99.9645 157.195 90.0697 140.366 80.1529C139.682 79.7498 139.23 79.88 138.625 80.2357C121.728 90.1798 104.824 100.113 87.9079 110.023C87.2387 110.415 86.9699 110.804 86.9711 111.62C86.9985 130.576 86.9999 149.531 86.9678 168.487C86.9664 169.354 87.2482 169.797 87.9433 170.205C104.919 180.156 121.887 190.122 138.845 200.106C139.4 200.433 139.772 200.387 140.292 200.071C142.112 198.964 143.964 197.913 145.934 196.748ZM171.788 22.291C165.231 26.0157 158.679 29.7484 152.116 33.4612C149.263 35.0749 146.56 33.4574 146.537 30.1429C146.524 28.2328 146.535 26.3226 146.535 24.4125C146.535 18.9796 146.535 13.5468 146.535 8.08491C142.334 8.08491 138.183 8.08491 134.003 8.08491C134.003 15.3959 134.008 22.6318 133.994 29.8677C133.993 30.4829 133.963 31.1312 133.776 31.7069C133.042 33.9767 130.688 34.7224 128.382 33.4401C117.634 27.463 106.889 21.4782 96.1422 15.4975C95.7758 15.2935 95.4018 15.1039 94.879 14.8268C94.879 15.366 94.879 15.7218 94.879 16.0775C94.879 19.5672 94.9052 23.0573 94.8593 26.5463C94.8487 27.352 95.1115 27.7703 95.7876 28.1749C107.717 35.3128 119.617 42.5002 131.556 49.6203C133.27 50.6422 134.047 51.9442 134.027 53.977C133.962 60.4414 134.003 66.9069 134.003 73.372C134.003 73.7518 134.003 74.1317 134.003 74.6788C135.674 73.6939 137.179 72.8495 138.637 71.9279C139.262 71.5325 139.729 71.5279 140.37 71.9282C142.35 73.163 144.379 74.3136 146.535 75.5827C146.535 74.9965 146.535 74.5993 146.535 74.2021C146.535 67.4799 146.574 60.7573 146.511 54.0357C146.492 52.0195 147.217 50.6873 148.929 49.6454C160.624 42.5308 172.279 35.3471 183.961 28.2099C184.62 27.807 184.906 27.3969 184.89 26.5824C184.833 23.7551 184.868 20.9259 184.868 18.0974C184.868 17.0871 184.868 16.0767 184.868 14.8643C180.432 17.3768 176.176 19.7878 171.788 22.291ZM257.021 76.0945C255.28 73.0215 253.54 69.9486 251.768 66.82C251.354 67.0646 250.984 67.2766 250.62 67.4999C243.663 71.7712 236.702 76.0376 229.752 80.3215C228.468 81.1133 227.157 81.4519 225.782 80.6683C224.373 79.8647 223.972 78.5539 223.975 76.9524C224.005 64.2047 223.992 51.4568 223.992 38.709C223.992 38.3326 223.992 37.9563 223.992 37.4251C220.278 39.4983 216.77 41.4909 213.223 43.4092C212.481 43.8105 212.227 44.2389 212.229 45.0961C212.259 59.1664 212.233 73.2368 212.27 87.3071C212.275 89.2012 211.596 90.4734 209.973 91.4171C205.698 93.9026 201.476 96.484 197.233 99.0266C195.466 100.085 193.698 101.142 191.846 102.251C193.685 103.336 195.374 104.384 197.116 105.333C197.725 105.665 197.891 106.042 197.873 106.701C197.829 108.336 197.859 109.973 197.859 111.775C198.34 111.491 198.674 111.307 198.996 111.102C204.237 107.757 209.498 104.444 214.703 101.042C216.414 99.9239 217.929 99.8906 219.708 100.919C232.172 108.13 244.675 115.273 257.152 122.461C257.787 122.827 258.252 122.929 258.891 122.467C259.797 121.812 260.792 121.284 261.746 120.697C263.838 119.409 265.93 118.119 268.105 116.778C267.698 116.541 267.419 116.378 267.139 116.216C256.363 109.976 245.612 103.691 234.797 97.5238C231.661 95.7358 231.942 92.1678 234.729 90.5889C241.355 86.8363 247.858 82.8585 254.409 78.9699C255.452 78.3507 256.49 77.7221 257.552 77.0847C257.371 76.7448 257.234 76.4896 257.021 76.0945ZM206.149 172.496C203.429 170.879 200.708 169.262 197.859 167.568C197.859 169.645 197.832 171.576 197.873 173.507C197.887 174.169 197.722 174.56 197.11 174.883C195.768 175.593 194.479 176.406 193.086 177.225C193.495 177.504 193.786 177.714 194.087 177.907C199.351 181.279 204.591 184.689 209.895 187.995C211.59 189.051 212.284 190.391 212.277 192.41C212.226 206.109 212.257 219.809 212.231 233.508C212.23 234.281 212.466 234.677 213.135 235.012C216.422 236.655 219.685 238.349 222.958 240.02C223.26 240.175 223.578 240.297 223.992 240.48C223.992 239.905 223.992 239.505 223.992 239.105C223.992 226.691 223.99 214.277 223.999 201.863C223.999 201.245 223.994 200.595 224.17 200.016C224.891 197.647 227.286 196.864 229.601 198.231C235.816 201.902 242.022 205.592 248.232 209.272C249.645 210.11 251.061 210.942 252.53 211.808C254.244 208.652 255.903 205.598 257.553 202.559C257.402 202.441 257.35 202.388 257.289 202.353C252.48 199.648 247.669 196.944 242.86 194.24C240.125 192.701 237.379 191.182 234.66 189.616C231.764 187.947 231.723 184.731 234.548 182.977C234.732 182.863 234.916 182.747 235.102 182.635C245.783 176.229 256.465 169.824 267.146 163.416C267.43 163.245 267.699 163.049 268.065 162.805C265.25 161.134 262.535 159.562 259.867 157.912C259.129 157.455 258.58 157.454 257.811 157.857C245.235 164.445 232.623 170.963 220.067 177.592C218.016 178.675 216.317 178.745 214.354 177.437C211.742 175.696 208.978 174.193 206.149 172.496ZM80.4573 98.3211C76.6167 96.0226 72.7952 93.6903 68.9266 91.442C67.3244 90.5108 66.5976 89.2865 66.6046 87.356C66.6554 73.2153 66.6266 59.0742 66.6471 44.9333C66.6482 44.1937 66.4637 43.7504 65.8083 43.3609C63.0465 41.72 60.3236 40.0112 57.5837 38.3322C57.3188 38.1699 57.0341 38.0413 56.6193 37.8241C56.6193 38.3704 56.6193 38.7635 56.6193 39.1567C56.6193 51.6448 56.6199 64.1329 56.6167 76.621C56.6166 77.0603 56.6069 77.5032 56.5536 77.9382C56.3346 79.7254 55.1079 81.0733 53.3719 81.0729C52.4641 81.0726 51.4707 80.6786 50.6623 80.2035C43.5043 75.9974 36.3792 71.7333 29.2442 67.4864C28.8856 67.273 28.5261 67.0612 28.132 66.8279C26.3457 70.3041 24.616 73.6702 22.861 77.0854C23.2722 77.3616 23.623 77.6092 23.9848 77.8388C30.7574 82.1361 37.5365 86.4228 44.3024 90.731C47.1797 92.5632 47.0902 95.737 44.1344 97.4467C34.5443 102.994 24.9517 108.537 15.3617 114.084C13.852 114.957 12.3506 115.846 10.7494 116.784C13.9312 118.727 16.9973 120.566 20.0214 122.474C20.6716 122.884 21.1202 122.848 21.7617 122.486C34.518 115.287 47.299 108.133 60.043 100.912C61.8248 99.902 63.3349 99.9253 65.0484 101.047C70.0668 104.333 75.1474 107.52 80.2042 110.745C80.4824 110.922 80.7654 111.092 81.1628 111.337C81.1628 109.679 81.2211 108.243 81.1404 106.817C81.0937 105.99 81.4002 105.587 82.0805 105.214C83.7528 104.296 85.3786 103.291 87.0996 102.276C84.8685 100.943 82.7339 99.6677 80.4573 98.3211ZM146.535 264.923C146.535 258.679 146.538 252.435 146.533 246.191C146.532 245.069 146.656 243.993 147.42 243.106C148.693 241.628 150.381 241.5 152.39 242.732C162.827 249.133 173.263 255.535 183.701 261.934C184.054 262.15 184.426 262.333 184.868 262.575C184.868 259.015 184.836 255.601 184.89 252.188C184.904 251.34 184.649 250.888 183.931 250.466C172.296 243.625 160.691 236.731 149.044 229.912C147.28 228.879 146.489 227.559 146.51 225.482C146.577 218.981 146.535 212.48 146.535 205.979C146.535 205.595 146.535 205.211 146.535 204.637C144.645 205.733 142.875 206.628 141.251 207.743C140.012 208.594 139.026 208.668 137.796 207.745C136.669 206.899 135.369 206.294 134.003 205.5C134.003 206.14 134.003 206.542 134.003 206.943C134.003 213.187 133.975 219.431 134.02 225.675C134.033 227.563 133.328 228.834 131.697 229.772C119.72 236.663 107.772 243.606 95.8011 250.508C95.1243 250.898 94.8448 251.308 94.8581 252.123C94.9093 255.281 94.8774 258.44 94.8813 261.599C94.8816 261.911 94.9148 262.223 94.9394 262.652C95.2841 262.452 95.5274 262.315 95.7667 262.171C103.905 257.281 112.044 252.39 120.182 247.499C122.937 245.844 125.682 244.174 128.448 242.539C130.476 241.341 132.72 241.892 133.595 243.87C133.906 244.573 133.984 245.432 133.986 246.22C134.013 254.52 134.003 262.821 134.003 271.122C134.003 271.508 134.003 271.894 134.003 272.268C138.262 272.268 142.382 272.268 146.535 272.268C146.535 269.843 146.535 267.493 146.535 264.923ZM22.4842 203.101C24.0609 206 25.6377 208.899 27.2424 211.85C27.756 211.558 28.1616 211.33 28.5651 211.098C35.9505 206.855 43.3329 202.607 50.7261 198.378C51.3125 198.042 51.9523 197.733 52.6042 197.602C54.4906 197.22 56.6623 198.663 56.6466 201.672C56.5816 214.088 56.6193 226.505 56.6193 238.921C56.6193 239.305 56.6193 239.689 56.6193 240.262C59.7806 238.476 62.7416 236.768 65.7415 235.134C66.4489 234.749 66.6529 234.318 66.6514 233.521C66.6244 219.672 66.6466 205.822 66.6129 191.973C66.6088 190.289 67.2055 189.117 68.6059 188.249C71.2471 186.612 73.8516 184.914 76.4696 183.238C79.5699 181.254 82.6682 179.266 85.8765 177.21C84.4703 176.382 83.1904 175.589 81.8706 174.871C81.3134 174.568 81.1336 174.205 81.1481 173.576C81.1897 171.763 81.1628 169.95 81.1628 168.02C80.7425 168.258 80.4633 168.408 80.1909 168.57C75.0423 171.638 69.8842 174.688 64.7533 177.786C63.3302 178.645 61.9943 178.778 60.4849 177.988C47.5842 171.235 34.6641 164.521 21.765 157.765C21.1199 157.427 20.7002 157.486 20.1195 157.861C17.8432 159.331 15.5291 160.741 13.2324 162.179C12.9376 162.363 12.663 162.581 12.3293 162.82C12.6055 162.99 12.7892 163.104 12.9735 163.216C23.6608 169.763 34.3507 176.306 45.034 182.86C48.1141 184.75 48.0356 187.95 44.8821 189.729C41.9279 191.396 38.9717 193.06 36.0154 194.723C31.6458 197.181 27.274 199.635 22.9086 202.102C22.5962 202.278 21.9983 202.337 22.4842 203.101ZM99.9436 94.7373C101.034 94.1 102.082 93.3634 103.226 92.8513C104.59 92.2408 105.047 91.368 104.973 89.823C104.845 87.1444 107.315 85.5052 109.787 86.4555C110.325 86.6619 110.868 86.8658 111.374 87.138C111.981 87.4644 112.47 87.3884 113.067 87.0315C117.435 84.4208 121.827 81.8532 126.211 79.2697C126.432 79.1393 126.641 78.9879 126.962 78.7769C115.949 72.5382 105.077 66.3797 94.1408 60.1845C94.1408 72.8968 94.1408 85.463 94.1408 98.1504C96.0926 97.0065 97.952 95.9167 99.9436 94.7373ZM170.994 68.4343C164.948 72.0112 158.902 75.5881 152.734 79.2372C156.863 81.6662 160.889 83.9216 164.79 86.3835C166.411 87.4066 167.826 87.8503 169.475 86.6718C169.732 86.4878 170.061 86.3896 170.371 86.3023C172.481 85.7066 174.519 87.0816 174.774 89.2931C174.853 89.9825 174.872 90.6857 174.843 91.3793C174.818 91.9951 174.99 92.3666 175.554 92.6897C178.405 94.3226 181.223 96.0129 184.057 97.6759C184.285 97.81 184.544 97.8904 184.821 98.0097C184.821 85.4222 184.821 72.9499 184.821 60.2745C180.179 63.0181 175.657 65.6904 170.994 68.4343ZM197.859 153.825C197.859 155.192 197.859 156.558 197.859 158.099C208.545 151.813 219.033 145.643 229.684 139.378C219.006 133.328 208.497 127.374 197.859 121.346C197.859 132.248 197.859 142.926 197.859 153.825ZM71.0815 127.463C64.1079 131.409 57.1343 135.354 50.0191 139.38C60.4689 145.518 70.7403 151.551 81.0884 157.629C81.0884 145.6 81.0884 133.747 81.0884 121.797C77.7334 123.694 74.4755 125.536 71.0815 127.463ZM94.0852 210.917C94.0852 213.14 94.0852 215.363 94.0852 217.745C104.659 211.981 115.082 206.3 125.613 200.559C121.22 197.974 116.945 195.49 112.709 192.939C111.886 192.443 111.236 192.385 110.353 192.784C107.263 194.182 104.94 192.632 104.946 189.213C104.947 188.568 104.727 188.243 104.202 187.941C101.574 186.429 98.9667 184.878 96.3508 183.344C95.6459 182.93 94.9361 182.525 94.0852 182.034C94.0852 191.698 94.0852 201.197 94.0852 210.917ZM170.511 193.23C169.782 192.927 169.064 192.587 168.318 192.337C168.024 192.239 167.6 192.225 167.347 192.372C162.957 194.927 158.584 197.513 154.091 200.16C164.369 206 174.555 211.788 184.807 217.613C184.807 205.663 184.807 193.944 184.807 182.088C181.882 183.81 179.088 185.521 176.226 187.105C175.224 187.66 174.806 188.247 174.814 189.461C174.832 192.097 173.109 193.588 170.511 193.23Z" fill="white"/>
149
+ <path d="M139.46 149.235C139.422 149.401 139.319 149.497 139.139 149.568C139.173 149.417 139.284 149.291 139.46 149.235Z" fill="white"/>
150
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M159.548 140.158C159.548 129.047 150.54 120.039 139.428 120.039C128.317 120.039 119.309 129.047 119.309 140.158C119.309 151.27 128.317 160.278 139.428 160.278C150.54 160.278 159.548 151.27 159.548 140.158ZM139.428 127.108C146.636 127.108 152.479 132.951 152.479 140.158C152.479 147.366 146.636 153.209 139.428 153.209C132.221 153.209 126.378 147.366 126.378 140.158C126.378 132.951 132.221 127.108 139.428 127.108Z" fill="white"/>
151
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M139.429 104.819L108.824 122.489V157.828L139.429 175.498L170.034 157.828V122.489L139.429 104.819ZM177.103 118.407L139.429 96.6562L101.755 118.407V161.91L139.429 183.661L177.103 161.91V118.407Z" fill="white"/>
152
+ <path d="M1029.93 70.6102V74.9266H1032.65C1033.84 74.9266 1034.72 74.7573 1035.3 74.4188C1035.91 74.056 1036.21 73.4636 1036.21 72.6414C1036.21 71.9402 1035.94 71.4324 1035.41 71.118C1034.9 70.7795 1034.24 70.6102 1033.42 70.6102H1029.93ZM1027.54 83.7407V68.4339H1033.34C1036.85 68.4339 1038.6 69.8727 1038.6 72.7502C1038.6 73.4757 1038.49 74.0923 1038.28 74.6001C1038.08 75.1079 1037.8 75.5311 1037.44 75.8696C1037.08 76.2082 1036.66 76.4742 1036.17 76.6676C1035.71 76.8369 1035.22 76.9578 1034.69 77.0303L1039.07 83.7407H1036.17L1031.78 77.1029H1029.93V83.7407H1027.54ZM1043.03 76.0873C1043.03 74.6122 1042.75 73.2218 1042.19 71.916C1041.64 70.6102 1040.89 69.4737 1039.94 68.5064C1039 67.5392 1037.89 66.7774 1036.61 66.2213C1035.33 65.6409 1033.96 65.3507 1032.51 65.3507C1031.06 65.3507 1029.69 65.6409 1028.41 66.2213C1027.13 66.7774 1026.02 67.5392 1025.07 68.5064C1024.13 69.4737 1023.38 70.6102 1022.82 71.916C1022.27 73.2218 1021.99 74.6122 1021.99 76.0873C1021.99 77.5623 1022.27 78.9528 1022.82 80.2586C1023.38 81.5643 1024.13 82.7009 1025.07 83.6681C1026.02 84.6354 1027.13 85.4092 1028.41 85.9895C1029.69 86.5457 1031.06 86.8238 1032.51 86.8238C1033.96 86.8238 1035.33 86.5457 1036.61 85.9895C1037.89 85.4092 1039 84.6354 1039.94 83.6681C1040.89 82.7009 1041.64 81.5643 1042.19 80.2586C1042.75 78.9528 1043.03 77.5623 1043.03 76.0873ZM1019.38 76.0873C1019.38 74.2737 1019.72 72.5689 1020.39 70.9729C1021.1 69.3769 1022.04 67.9865 1023.22 66.8016C1024.41 65.6167 1025.8 64.6858 1027.39 64.0087C1028.99 63.3074 1030.7 62.9568 1032.51 62.9568C1034.32 62.9568 1036.03 63.3074 1037.62 64.0087C1039.22 64.6858 1040.61 65.6167 1041.79 66.8016C1042.98 67.9865 1043.91 69.3769 1044.59 70.9729C1045.29 72.5689 1045.64 74.2737 1045.64 76.0873C1045.64 77.9009 1045.29 79.6057 1044.59 81.2016C1043.91 82.7976 1042.98 84.188 1041.79 85.3729C1040.61 86.5578 1039.22 87.5009 1037.62 88.2021C1036.03 88.8792 1034.32 89.2177 1032.51 89.2177C1030.7 89.2177 1028.99 88.8792 1027.39 88.2021C1025.8 87.5009 1024.41 86.5578 1023.22 85.3729C1022.04 84.188 1021.1 82.7976 1020.39 81.2016C1019.72 79.6057 1019.38 77.9009 1019.38 76.0873Z" fill="white"/>
153
+ </svg>
154
+ <p>This ticket is valid for a single entry only</p>
155
+ <div>
156
+ <span>DIGITAL TICKET</span>
157
+ </div>
158
+ </div>
159
+ <div class="info passenger">
160
+ <div class="info__item">Customer</div>
161
+ <div class="info__detail">{{clientName}}</div>
162
+ </div>
163
+ <div class="info platform">
164
+ <span>SHOW </span><span>THIS </span><span>QR CODE</span>
165
+ <img src="{{qrCode}}" alt="QR Code" />
166
+ </div>
167
+ <div class="info departure">
168
+ <div class="info__item">Location</div>
169
+ <div class="info__detail">{{eventLocation}}</div>
170
+ </div>
171
+ <div class="info arrival">
172
+ <div class="info__item">Event</div>
173
+ <div class="info__detail">{{eventName}}</div>
174
+ </div>
175
+ <div class="info date">
176
+ <div class="info__item">Date</div>
177
+ <div class="info__detail">{{eventDate}}</div>
178
+ </div>
179
+ <div class="info time">
180
+ <div class="info__item">Time</div>
181
+ <div class="info__detail">{{eventTime}}</div>
182
+ </div>
183
+ </div>
184
+ </div>
185
+ </div>
186
+ </body>
187
+ </html>
188
+ `;
189
+ function renderTemplate$1(data) {
190
+ return Mustache$1.render(template$1, data);
191
+ }
192
+ var templateTicket = { renderTemplate: renderTemplate$1 };
193
+ const Mustache = require$$0;
194
+ const template = `
195
+ <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Ticket Confirmation</title></head><body style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;margin:0;padding:0;color:#333;background-color:#f9f9f9"><span style="opacity:0">{{ randomness }}</span><div class="container" style="border-radius:48px;width:100%;max-width:650px;background:#fff;margin:20px auto;overflow:hidden"><div class="header" style="background:#e31c25;color:#fff;text-align:left"><img alt="NO MORE SNOW" style="max-width:150px;height:auto;padding:20px" src="https://thecommunephuket.com/logo/nms_logotype-white.jpg"><h1 style="box-sizing:border-box;border-top:2px solid rgba(0,0,0,.1);padding:40px;text-align:center;margin:0;text-transform:uppercase;width:100%">Confirmation of Your Ticket Purchase</h1></div><div class="content" style="padding:20px;text-align:center"><h2 style="color:#000">Thank You, {{clientName}}!</h2><p style="color:#000;opacity:.5">Your purchase has been confirmed. Please find your ticket attached to this email.</p><div class="details" style="background-color:#f5f5f5;padding:10px;margin-top:20px;margin-bottom:20px;border-radius:24px"><h3 style="color:#000;margin:0">Event Details</h3><p style="display:flex;color:#000"><strong style="display:block;width:100%;opacity:.5;text-align:right;margin-right:.5rem">Event:</strong><span style="text-align:left;width:100%">{{eventName}}</span></p><p style="display:flex;color:#000"><strong style="display:block;width:100%;opacity:.5;text-align:right;margin-right:.5rem">Date:</strong><span style="text-align:left;width:100%">{{eventDate}}</span></p><p style="display:flex;color:#000"><strong style="display:block;width:100%;opacity:.5;text-align:right;margin-right:.5rem">Time:</strong><span style="text-align:left;width:100%">{{eventTime}}</span></p></div><div class="social-links" style="text-align:center"><h3 style="color:#000">Stay Connected</h3><p style="color:#000;opacity:.5">Follow us on Instagram for the latest updates and exclusive content!</p><table border="0" cellpadding="0" cellspacing="0" style="margin: 0 auto; border-collapse:separate;mso-table-lspace:0;mso-table-rspace:0;width:auto"><tr><td style="font-family:sans-serif;font-size:14px;vertical-align:top;background-color:#e31c25;border-radius:48px;text-align:center" valign="top" bgcolor="#e31c25" align="center"><a href="https://www.instagram.com/no.more.snow/?hl=en" target="_blank" style="display:inline-block;color:#fff;background-color:#e31c25;border:solid 1px #e31c25;border-radius:48px;box-sizing:border-box;cursor:pointer;text-decoration:none;font-size:14px;font-weight:700;margin:0;padding:12px 25px;text-transform:capitalize;border-color:#e31c25">Instagram</a></td></tr></table></div><div class="footer" style="text-align:center;padding:10px 20px;border-radius:24px"><p style="color:#000">Need help? Contact us:<a href="https://t.me/thecommunebar" style="color:#e31c25">@thecommunebar</a></p></div><p class="details copyright" style="color:#000;background-color:#f5f5f5;padding:20px;margin-top:20px;margin-bottom:20px;border-radius:24px;margin:0;box-sizing:border-box;text-align:center">&copy; 2024 NO MORE SNOW Ltd. All Rights Reserved.</p></div></div><span style="opacity:0">{{ randomness }}</span></body></html>
196
+ `;
197
+ function renderTemplate(data) {
198
+ return Mustache.render(template, data);
199
+ }
200
+ var templateEmail = { renderTemplate };
201
+ const path = require$$0$1;
202
+ const puppeteer = require$$1;
203
+ const QRCode = require$$2;
204
+ const { sendEmail } = mailing;
205
+ const { renderTemplate: renderTicketTemplate } = templateTicket;
206
+ const { renderTemplate: renderEmailTemplate } = templateEmail;
207
+ function formatDate(dateString) {
208
+ const date = new Date(dateString);
209
+ const options = { day: "numeric", month: "long" };
210
+ return date.toLocaleDateString("en-US", options);
211
+ }
212
+ function formatTime(dateString) {
213
+ const date = new Date(dateString);
214
+ const options = { hour: "2-digit", minute: "2-digit", hour12: false };
215
+ return date.toLocaleTimeString("en-US", options);
216
+ }
217
+ const controllerFactory = (db, publicPath) => {
218
+ const Ticket = db.ticket;
219
+ const Event = db.event;
220
+ async function saveAndSendTicket(ticketData) {
221
+ console.log(ticketData);
222
+ const quantity = ticketData.quantity || 1;
223
+ const ticketIds = [];
224
+ const pdfFiles = [];
225
+ const event = await Event.findById(ticketData.target).exec();
226
+ if (!event) {
227
+ console.error("Event not found!");
228
+ return;
229
+ }
230
+ for (let i = 0; i < quantity; i++) {
231
+ const ticket = new Ticket(ticketData);
232
+ const data = await ticket.save();
233
+ ticketIds.push(data._id.toString());
234
+ const qrData = data._id.toString();
235
+ const qrCode = await QRCode.toDataURL(qrData, {
236
+ errorCorrectionLevel: "H",
237
+ type: "image/png"
238
+ });
239
+ data.status = "unused";
240
+ data.qrcode = qrCode;
241
+ data.client_refactor.name = ticketData.name;
242
+ data.client_refactor.email = ticketData.email;
243
+ const renderedHtml = renderTicketTemplate({
244
+ clientName: ticketData.name || "No name",
245
+ qrCode,
246
+ eventLocation: event.location || process.env.APP_NAME,
247
+ eventName: event.name,
248
+ eventDate: formatDate(event.date.start),
249
+ eventTime: formatTime(event.date.start)
250
+ });
251
+ const dirPath = path.join(publicPath, "tickets");
252
+ const fileName = `ticket-${data._id.toString()}.pdf`;
253
+ const filePath = path.join(dirPath, fileName);
254
+ pdfFiles.push(filePath);
255
+ const browser = await puppeteer.launch({
256
+ args: ["--no-sandbox", "--disable-setuid-sandbox"]
257
+ });
258
+ const page = await browser.newPage();
259
+ await page.setContent(renderedHtml);
260
+ await page.pdf({
261
+ path: filePath,
262
+ format: "A4"
263
+ });
264
+ await browser.close();
265
+ data.image = `/tickets/${fileName}`;
266
+ await data.save();
267
+ }
268
+ if (ticketData.email) {
269
+ const renderedHtmlEmail = renderEmailTemplate({
270
+ clientName: ticketData.name || "No name",
271
+ eventLocation: event.location || process.env.APP_NAME,
272
+ eventName: event.name,
273
+ eventDate: formatDate(event.date.start),
274
+ eventTime: formatTime(event.date.start),
275
+ randomness: Date.now()
276
+ });
277
+ try {
278
+ const emailSent = await sendEmail(ticketData.email, `Your Tickets for ${event.name}`, renderedHtmlEmail, pdfFiles);
279
+ } catch (err) {
280
+ console.error("Email sending failed:", err);
281
+ }
282
+ }
283
+ return {
284
+ tickets: ticketIds
285
+ };
286
+ }
287
+ const create = async (req, res) => {
288
+ if (Array.isArray(req.body)) {
289
+ const ticketsData = req.body;
290
+ try {
291
+ const ticketsPromises = ticketsData.map(
292
+ (ticketData) => saveAndSendTicket(ticketData)
293
+ );
294
+ const tickets = await Promise.all(ticketsPromises);
295
+ res.json(tickets);
296
+ } catch (err) {
297
+ console.log(err);
298
+ res.status(500).send({
299
+ errorCode: "SERVER_ERROR"
300
+ });
301
+ }
302
+ } else {
303
+ try {
304
+ const data = await saveAndSendTicket(req.body);
305
+ res.json(data);
306
+ } catch (err) {
307
+ console.log(err);
308
+ res.status(500).send({
309
+ errorCode: "SERVER_ERROR"
310
+ });
311
+ }
312
+ }
313
+ };
314
+ const read = async (req, res) => {
315
+ let query = {};
316
+ let options = {};
317
+ if (req.query.user) {
318
+ query.user = req.query.user;
319
+ }
320
+ if (req.query.type) {
321
+ query.type = req.query.type;
322
+ }
323
+ if (req.query.target) {
324
+ query.target = req.query.target;
325
+ }
326
+ if (req.query.role) {
327
+ query.role = req.query.role;
328
+ }
329
+ options.limit = req.query.limit || 10;
330
+ options.skip = req.query.skip || 0;
331
+ const sortParam = req.query.sortParam || "createdAt";
332
+ const sortOrder = req.query.sortOrder === "asc" ? 1 : -1;
333
+ options.sort = {
334
+ [sortParam]: sortOrder,
335
+ "_id": 1
336
+ };
337
+ const search = req.query.search;
338
+ if (search) {
339
+ const parts = search.split(".");
340
+ let regexPattern = "";
341
+ if (parts.length === 2) {
342
+ regexPattern = parts.map((part) => part.replace(/[.*+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*")).join("\\.");
343
+ } else {
344
+ regexPattern = search.replace(/[.*+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*");
345
+ }
346
+ query["client_refactor.name"] = { $regex: new RegExp(regexPattern, "i") };
347
+ }
348
+ try {
349
+ const tickets = await Ticket.find(query, null, options).populate("user");
350
+ if (!tickets) {
351
+ return res.status(404).send({ errorCode: "TICKETS_NOT_FOUND" });
352
+ }
353
+ res.send(tickets);
354
+ } catch (err) {
355
+ res.status(500).send({ errorCode: "SERVER_ERROR" });
356
+ }
357
+ };
358
+ const update = async (req, res) => {
359
+ try {
360
+ const { _id } = req.body;
361
+ const ticket = await Ticket.findById(_id);
362
+ if (!ticket) {
363
+ return res.status(404).send({ errorCode: "TICKET_NOT_FOUND" });
364
+ }
365
+ if (ticket.status === "used" && req.body.check) {
366
+ return res.status(500).send({ errorCode: "TICKET_ALREADY_USED" });
367
+ }
368
+ if (ticket.status === "deactivated" && req.body.check) {
369
+ return res.status(500).send({ errorCode: "TICKET_DEACTIVATED" });
370
+ }
371
+ const updatedTicket = await Ticket.findOneAndUpdate({ _id }, req.body, { new: true });
372
+ res.send(updatedTicket);
373
+ } catch (err) {
374
+ res.status(500).send({ errorCode: "SERVER_ERROR" });
375
+ }
376
+ };
377
+ const deleteTicket = async (req, res) => {
378
+ const { type, target, user } = req.body;
379
+ try {
380
+ const ticket = await Ticket.findOne({ type, target, user });
381
+ if (!ticket) {
382
+ return res.status(404).send({ errorCode: "TICKET_NOT_FOUND" });
383
+ }
384
+ await Ticket.deleteOne({ _id: ticket._id });
385
+ res.status(200).send(ticket);
386
+ } catch (error) {
387
+ console.log(error);
388
+ res.status(500).send({ errorCode: "SERVER_ERROR" });
389
+ }
390
+ };
391
+ return {
392
+ read,
393
+ create,
394
+ update,
395
+ delete: deleteTicket,
396
+ saveAndSendTicket
397
+ };
398
+ };
399
+ var tickets_controller = controllerFactory;
400
+ export {
401
+ tickets_controller as t
402
+ };
@@ -5,7 +5,7 @@ require("axios");
5
5
  require("bcryptjs");
6
6
  require("crypto");
7
7
  const require$$2 = require("qrcode");
8
- const tickets_controller = require("./tickets.controller-WaQ4qMpv.js");
8
+ const tickets_controller = require("./tickets.controller-BWVUA-GR.js");
9
9
  const require$$1 = require("stripe");
10
10
  const require$$0 = require("mongoose");
11
11
  const require$$1$1 = require("bignumber.js");
@@ -4,7 +4,7 @@ import "axios";
4
4
  import "bcryptjs";
5
5
  import "crypto";
6
6
  import require$$2 from "qrcode";
7
- import { t as tickets_controller } from "./tickets.controller-ByZ33N6_.mjs";
7
+ import { t as tickets_controller } from "./tickets.controller-ChVmHHnj.mjs";
8
8
  import require$$1 from "stripe";
9
9
  import require$$0 from "mongoose";
10
10
  import require$$1$1 from "bignumber.js";
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-BVZtf9OG.js");class p extends c.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(t=>t.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],n="_cap_",o=Object.keys(this.impl).filter(i=>i.indexOf(n)===0);for(const i of o){const r=i.substring(n.length),a=(e=this.impl.getItem(i))!==null&&e!==void 0?e:"",{value:l}=await this.get({key:r});typeof l=="string"?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter(s=>s.indexOf(e)===0);for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=p;
@@ -0,0 +1,54 @@
1
+ import { W as p } from "./main-CbTw08vO.mjs";
2
+ class f extends p {
3
+ constructor() {
4
+ super(...arguments), this.group = "CapacitorStorage";
5
+ }
6
+ async configure({ group: e }) {
7
+ typeof e == "string" && (this.group = e);
8
+ }
9
+ async get(e) {
10
+ return { value: this.impl.getItem(this.applyPrefix(e.key)) };
11
+ }
12
+ async set(e) {
13
+ this.impl.setItem(this.applyPrefix(e.key), e.value);
14
+ }
15
+ async remove(e) {
16
+ this.impl.removeItem(this.applyPrefix(e.key));
17
+ }
18
+ async keys() {
19
+ return { keys: this.rawKeys().map((t) => t.substring(this.prefix.length)) };
20
+ }
21
+ async clear() {
22
+ for (const e of this.rawKeys())
23
+ this.impl.removeItem(e);
24
+ }
25
+ async migrate() {
26
+ var e;
27
+ const t = [], s = [], n = "_cap_", o = Object.keys(this.impl).filter((i) => i.indexOf(n) === 0);
28
+ for (const i of o) {
29
+ const r = i.substring(n.length), a = (e = this.impl.getItem(i)) !== null && e !== void 0 ? e : "", { value: l } = await this.get({ key: r });
30
+ typeof l == "string" ? s.push(r) : (await this.set({ key: r, value: a }), t.push(r));
31
+ }
32
+ return { migrated: t, existing: s };
33
+ }
34
+ async removeOld() {
35
+ const e = "_cap_", t = Object.keys(this.impl).filter((s) => s.indexOf(e) === 0);
36
+ for (const s of t)
37
+ this.impl.removeItem(s);
38
+ }
39
+ get impl() {
40
+ return window.localStorage;
41
+ }
42
+ get prefix() {
43
+ return this.group === "NativeStorage" ? "" : `${this.group}.`;
44
+ }
45
+ rawKeys() {
46
+ return Object.keys(this.impl).filter((e) => e.indexOf(this.prefix) === 0);
47
+ }
48
+ applyPrefix(e) {
49
+ return this.prefix + e;
50
+ }
51
+ }
52
+ export {
53
+ f as PreferencesWeb
54
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.2.187",
3
+ "version": "0.2.189",
4
4
  "description": "Web3 Framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -57,7 +57,10 @@ module.exports = function createSsrDevServer(projectRoot, { clientConfig, server
57
57
 
58
58
  if (stats.hasErrors()) {
59
59
  console.error(chalk.red("Client compilation error"));
60
- jsonStats.errors.forEach((err) => console.error(chalk.red(err.details)));
60
+ jsonStats.errors.forEach((err) => {
61
+ if (err.details) console.error(chalk.red(err.details))
62
+ else console.error(chalk.red(err.stack))
63
+ });
61
64
  return;
62
65
  }
63
66
 
@@ -2,7 +2,7 @@ module.exports = `
2
2
  <!-- <!DOCTYPE html> -->
3
3
  <html {{{ meta.htmlAttrs }}}>
4
4
  <head {{{ meta.headAttrs }}}>
5
- {{{ meta.head }}}
5
+ {{{ meta.headTags }}}
6
6
  <link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
7
7
  <link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
8
8
  <link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
@@ -90,7 +90,8 @@ module.exports = (projectRoot) => {
90
90
  new CleanWebpackPlugin(),
91
91
  new VueLoaderPlugin(),
92
92
  new Dotenv({
93
- path: `.env.${process.env.NODE_ENV}`
93
+ path: `.env.${process.env.NODE_ENV}`,
94
+ // ...(process.env.MODE === "SPA" ? [{path: '.env.mobile'}] : []),
94
95
  }),
95
96
  new webpack.DefinePlugin({
96
97
  __VUE_I18N_LEGACY_API__:false,
@@ -12,7 +12,6 @@ const Mustache = require("mustache");
12
12
  const fs = require('fs').promises;
13
13
 
14
14
  const getClientConfig = require("./webpack.config.client");
15
- const templatePath = path.resolve(__dirname,"../templates/page.html");
16
15
 
17
16
  const isProd = process.env.NODE_ENV === "production";
18
17
 
@@ -57,7 +57,6 @@
57
57
  import { ref, watch } from 'vue';
58
58
  import { useRoute } from 'vue-router';
59
59
  import { useI18n } from 'vue-i18n';
60
- import i18n from '@pf/src/modules/globals/localization/vue-i18n';
61
60
 
62
61
  const route = useRoute();
63
62
  const { t, locale } = useI18n();
@@ -142,12 +142,12 @@ import Dropdown from "@pf/src/components/Dropdown/Dropdown.vue";
142
142
  import Calendar from '@pf/src/components/DatePicker/Calendar.vue'
143
143
  import BottomSheet from '@pf/src/components/BottomSheet/BottomSheet.vue';
144
144
 
145
- import BlockSearch from '@pf/src/modules/globals/components/blocks/BlockSearch.vue'
146
- import BlockSorting from '@pf/src/modules/globals/components/blocks/BlockSorting.vue'
147
- import BlockFilter from '@pf/src/modules/globals/components/blocks/BlockFilter.vue'
145
+ import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'
146
+ import BlockSorting from '@pf/src/modules/globals/views/components/blocks/BlockSorting.vue'
147
+ import BlockFilter from '@pf/src/modules/globals/views/components/blocks/BlockFilter.vue'
148
148
 
149
- import ButtonSort from '@pf/src/modules/globals/components/elements/ButtonSort.vue'
150
- import ButtonDate from '@pf/src/modules/globals/components/elements/ButtonDate.vue'
149
+ import ButtonSort from '@pf/src/modules/globals/views/components/elements/ButtonSort.vue'
150
+ import ButtonDate from '@pf/src/modules/globals/views/components/elements/ButtonDate.vue'
151
151
 
152
152
  import IconFilter from '@pf/src/modules/icons/navigation/IconFilter.vue'
153
153
  import IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'
@@ -55,8 +55,8 @@ import clickOutside from '../FieldPhone/click-outside';
55
55
 
56
56
  import { useRoute, useRouter} from 'vue-router'
57
57
 
58
- import * as auth from '@pf/src/modules/auth/store/auth'
59
- import * as globals from '@pf/src/modules/globals/store/globals'
58
+ import * as auth from '@pf/src/modules/auth/views/store/auth'
59
+ import * as globals from '@pf/src/modules/globals/views/store/globals'
60
60
 
61
61
 
62
62
  import Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'