@ozdao/prometheus-framework 0.0.89 → 0.0.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (544) hide show
  1. package/dist/{Breadcrumbs.vue_vue_type_style_index_0_lang-afba007a.mjs → Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs} +8 -7
  2. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +1 -0
  3. package/dist/{ButtonFollow-728aab73.mjs → ButtonFollow-5e19fc49.mjs} +7 -6
  4. package/dist/ButtonFollow-959861db.js +1 -0
  5. package/dist/CardOrganization-01c2e248.mjs +210 -0
  6. package/dist/CardOrganization-1be3651b.js +1 -0
  7. package/dist/{CardHeader-0677d446.js → Chips-2a0d9bfe.js} +1 -1
  8. package/dist/Chips-f0b7ce36.mjs +110 -0
  9. package/dist/{Feed-ca8e0e22.mjs → Feed-8bbb7077.mjs} +100 -95
  10. package/dist/{Feed-76b2997e.mjs → Feed-986ddd21.mjs} +114 -126
  11. package/dist/Feed-a2870bbf.js +1 -0
  12. package/dist/Feed-f987d8bb.js +1 -0
  13. package/dist/IconEdit-823ddda9.js +1 -0
  14. package/dist/{IconEdit-8df23653.mjs → IconEdit-f0ad8b9a.mjs} +1 -1
  15. package/dist/{Image-30f04604.js → Image-0f2814f0.js} +2 -2
  16. package/dist/{Image-6ec294f3.mjs → Image-9e90a5f6.mjs} +2 -2
  17. package/dist/{PlaceholderUserpic-2221dbf2.mjs → PlaceholderUserpic-14c6ea7e.mjs} +1 -1
  18. package/dist/PlaceholderUserpic-20d58460.js +1 -0
  19. package/dist/{Popup-105ef2c3.js → Popup-0106ee0c.js} +1 -1
  20. package/dist/{Popup-bdf043ba.mjs → Popup-31c7ffc6.mjs} +1 -1
  21. package/dist/{Product-b233e2a3.js → Product-54854cd1.js} +2 -2
  22. package/dist/{Product-eb00f35e.mjs → Product-58a83c67.mjs} +17 -16
  23. package/dist/ProductEdit-36e5cfdd.js +1 -0
  24. package/dist/{ProductEdit-61413d02.mjs → ProductEdit-56752bbe.mjs} +30 -29
  25. package/dist/{ProfileBlogposts-775b1cfa.mjs → ProfileBlogposts-67e1bd8f.mjs} +11 -10
  26. package/dist/ProfileBlogposts-a798df3d.js +1 -0
  27. package/dist/{ProfileComments-fd7d66bf.mjs → ProfileComments-17352b6a.mjs} +7 -6
  28. package/dist/ProfileComments-473c3413.js +1 -0
  29. package/dist/{ProfileEvents-7a51a9e6.mjs → ProfileEvents-76166bc5.mjs} +13 -12
  30. package/dist/ProfileEvents-cdebd612.js +1 -0
  31. package/dist/ProfileLikes-da6303a4.js +1 -0
  32. package/dist/{ProfileLikes-20a8a3c9.mjs → ProfileLikes-f838ff5e.mjs} +10 -9
  33. package/dist/ProfileOrganizations-5348e892.js +1 -0
  34. package/dist/{ProfileOrganizations-4b866823.mjs → ProfileOrganizations-58ebfe44.mjs} +7 -6
  35. package/dist/Publics-e14d36ed.js +1 -0
  36. package/dist/{Publics-0e44c61e.mjs → Publics-fcb1f708.mjs} +17 -16
  37. package/dist/{UploadImage-9e7e7468.js → UploadImage-73d66f27.js} +1 -1
  38. package/dist/{UploadImage-d33b293e.mjs → UploadImage-a3ef4012.mjs} +1 -1
  39. package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
  40. package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
  41. package/dist/{auth-8b5aac7a.mjs → auth-5217f6a5.mjs} +13 -17
  42. package/dist/auth-5a58f8cb.js +8 -0
  43. package/dist/auth.client.cjs +8 -8
  44. package/dist/auth.client.js +16 -15
  45. package/dist/{auth.validation-093babe9.mjs → auth.validation-9f87ea95.mjs} +1 -1
  46. package/dist/{auth.validation-9f7c7948.js → auth.validation-be05e981.js} +1 -1
  47. package/dist/community.client.cjs +1 -1
  48. package/dist/community.client.js +26 -25
  49. package/dist/community.server.js +7 -167
  50. package/dist/community.server.mjs +7 -167
  51. package/dist/components/Address/Address.vue.d.ts.map +1 -1
  52. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  53. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  54. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  55. package/dist/components/Field/Field.vue.d.ts.map +1 -1
  56. package/dist/components/FieldPhone/FieldPhone.vue.d.ts.map +1 -1
  57. package/dist/components/LocationMarker/LocationMarker.vue.d.ts.map +1 -1
  58. package/dist/components/Map/Map.vue.d.ts.map +1 -1
  59. package/dist/components/Popup/Popup.vue.d.ts.map +1 -1
  60. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  61. package/dist/components/SelectMulti/SelectMulti.vue.d.ts.map +1 -1
  62. package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
  63. package/dist/components/Tab/Tab.vue.d.ts.map +1 -1
  64. package/dist/components/Text/Text.vue.d.ts.map +1 -1
  65. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  66. package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
  67. package/dist/events.client.cjs +1 -1
  68. package/dist/events.client.js +24 -23
  69. package/dist/landing.client.cjs +1 -0
  70. package/dist/landing.client.js +135 -0
  71. package/dist/modules/icons/labels/LabelAppStore.vue.d.ts +2 -0
  72. package/dist/modules/icons/labels/LabelGooglePlay.vue.d.ts +2 -0
  73. package/dist/modules/{community/components/blocks/HeaderBlogpost.vue.d.ts → landing/components/sections/MobileApp.vue.d.ts} +3 -3
  74. package/dist/{organizations-1581c013.mjs → organizations-2adff182.mjs} +1 -1
  75. package/dist/{organizations-c455dad7.js → organizations-e97a0f85.js} +1 -1
  76. package/dist/{organizations.client-7937e180.mjs → organizations.client-88d41199.mjs} +50 -49
  77. package/dist/organizations.client-d21a22ec.js +3 -0
  78. package/dist/organizations.client.cjs +1 -1
  79. package/dist/organizations.client.js +46 -45
  80. package/dist/prometheus-framework.cjs.js +10 -10
  81. package/dist/prometheus-framework.es.js +1 -1
  82. package/dist/style.css +1 -1
  83. package/dist/users.client.cjs +1 -1
  84. package/dist/users.client.js +16 -15
  85. package/package.json +6 -2
  86. package/src/components/Text/Text.vue +3 -1
  87. package/src/modules/community/community.server.js +0 -2
  88. package/src/modules/community/components/blocks/CardBlogpost.vue +8 -0
  89. package/src/modules/community/components/pages/Blog.vue +1 -1
  90. package/src/modules/community/controllers/blog.controller.js +5 -1
  91. package/src/modules/icons/labels/LabelAppStore.vue +29 -0
  92. package/src/modules/icons/labels/LabelGooglePlay.vue +47 -0
  93. package/src/modules/landing/components/sections/MobileApp.vue +134 -0
  94. package/src/modules/landing/landing.client.js +7 -0
  95. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -1
  96. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0216f2b0.js +0 -7
  97. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0cb41a82.js +0 -1
  98. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +0 -1
  99. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2809e848.mjs +0 -219
  100. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2af7f63b.mjs +0 -80
  101. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-300fcb55.js +0 -1
  102. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-451d2614.mjs +0 -80
  103. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-474eb4c2.js +0 -1
  104. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-5ea8b4fa.js +0 -1
  105. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs +0 -138
  106. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-85119a4e.js +0 -1
  107. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8cb3c120.mjs +0 -185
  108. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs +0 -138
  109. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6f3a0f0.js +0 -1
  110. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs +0 -1944
  111. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d777ad17.mjs +0 -80
  112. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-dd037bbf.js +0 -1
  113. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e133a3c6.mjs +0 -80
  114. package/dist/ButtonFollow-001c4a65.mjs +0 -130
  115. package/dist/ButtonFollow-0d83a04a.mjs +0 -130
  116. package/dist/ButtonFollow-1aca37e0.mjs +0 -130
  117. package/dist/ButtonFollow-1b655344.js +0 -1
  118. package/dist/ButtonFollow-2ce169ca.js +0 -1
  119. package/dist/ButtonFollow-48043cc7.js +0 -1
  120. package/dist/ButtonFollow-6bbf3e24.mjs +0 -130
  121. package/dist/ButtonFollow-6cd2efa2.mjs +0 -130
  122. package/dist/ButtonFollow-b29bd420.mjs +0 -130
  123. package/dist/ButtonFollow-c4680999.js +0 -1
  124. package/dist/ButtonFollow-c9484003.mjs +0 -130
  125. package/dist/ButtonFollow-d983e174.js +0 -1
  126. package/dist/ButtonFollow-f630623a.js +0 -1
  127. package/dist/ButtonFollow-f9c5dc7a.js +0 -1
  128. package/dist/CardHeader-2d7e5d49.mjs +0 -76
  129. package/dist/CardHeader-2ef6618e.mjs +0 -96
  130. package/dist/CardHeader-377cfc4b.js +0 -1
  131. package/dist/CardHeader-39f75e85.mjs +0 -76
  132. package/dist/CardHeader-88de7b20.mjs +0 -76
  133. package/dist/CardHeader-925a972b.js +0 -1
  134. package/dist/CardHeader-ce5a1a75.mjs +0 -96
  135. package/dist/CardHeader-ddf82318.js +0 -1
  136. package/dist/CardHeader-dff9c71a.js +0 -1
  137. package/dist/CardHeader-e15eb618.js +0 -1
  138. package/dist/CardHeader-e361dada.mjs +0 -96
  139. package/dist/CardHeader-e517c801.mjs +0 -76
  140. package/dist/CardOrganization-0291683b.js +0 -1
  141. package/dist/CardOrganization-1384ff9a.mjs +0 -320
  142. package/dist/CardOrganization-21de52b3.js +0 -1
  143. package/dist/CardOrganization-3c42e14f.mjs +0 -320
  144. package/dist/CardOrganization-4859370e.mjs +0 -320
  145. package/dist/CardOrganization-51309400.js +0 -1
  146. package/dist/CardOrganization-58b54995.js +0 -1
  147. package/dist/CardOrganization-91e79698.mjs +0 -320
  148. package/dist/CardOrganization-9841dbe0.js +0 -1
  149. package/dist/CardOrganization-a05f3a19.js +0 -1
  150. package/dist/CardOrganization-a75b523d.mjs +0 -63
  151. package/dist/CardOrganization-bacc2ef6.mjs +0 -202
  152. package/dist/CardOrganization-d462e158.mjs +0 -320
  153. package/dist/CardOrganization-ee5c34ab.js +0 -1
  154. package/dist/CardOrganization-f70bd169.mjs +0 -202
  155. package/dist/CardOrganization-ffa585a7.js +0 -1
  156. package/dist/Comments-1aec0e5e.js +0 -1
  157. package/dist/Comments-5ed669ea.mjs +0 -74
  158. package/dist/Comments-63f154a6.js +0 -9
  159. package/dist/Comments-641516f8.mjs +0 -76
  160. package/dist/Comments-646c73ee.js +0 -1
  161. package/dist/Comments-6ff58c26.js +0 -1
  162. package/dist/Comments-7c4f2715.js +0 -1
  163. package/dist/Comments-81feeb4a.mjs +0 -76
  164. package/dist/Comments-9427a0eb.mjs +0 -76
  165. package/dist/Comments-b5821190.mjs +0 -76
  166. package/dist/Comments-b620bae6.js +0 -1
  167. package/dist/Comments-b6e32958.js +0 -1
  168. package/dist/Comments-c092550f.mjs +0 -76
  169. package/dist/Comments-c5afa4d6.mjs +0 -459
  170. package/dist/Comments-d2a8fd0f.mjs +0 -76
  171. package/dist/DepartmentEdit-305a0f5d.mjs +0 -374
  172. package/dist/DepartmentEdit-6abd59e1.js +0 -1
  173. package/dist/DepartmentEdit-9e6fe007.mjs +0 -374
  174. package/dist/DepartmentEdit-d98c2239.js +0 -1
  175. package/dist/EditProductImages-04ec4326.js +0 -1
  176. package/dist/EditProductImages-11510b66.js +0 -1
  177. package/dist/EditProductImages-1d4b44a9.mjs +0 -236
  178. package/dist/EditProductImages-4246db75.mjs +0 -236
  179. package/dist/EditProductImages-42f9f665.mjs +0 -236
  180. package/dist/EditProductImages-61ff4321.mjs +0 -236
  181. package/dist/EditProductImages-98d13eb0.js +0 -1
  182. package/dist/EditProductImages-9f25f39f.mjs +0 -236
  183. package/dist/EditProductImages-b1b05c03.js +0 -1
  184. package/dist/EditProductImages-c7daafb2.mjs +0 -236
  185. package/dist/EditProductImages-cf67d31b.js +0 -1
  186. package/dist/EditProductImages-cfb1856e.mjs +0 -237
  187. package/dist/EditProductImages-d9228ad0.js +0 -1
  188. package/dist/EditProductImages-ec630dbf.js +0 -1
  189. package/dist/EditProductImages-f983f473.mjs +0 -236
  190. package/dist/EmptyState-1214f70b.mjs +0 -36
  191. package/dist/EmptyState-23c13029.js +0 -1
  192. package/dist/Feed-0b549674.js +0 -1
  193. package/dist/Feed-193dd1df.mjs +0 -342
  194. package/dist/Feed-26bf6bef.js +0 -1
  195. package/dist/Feed-2f9a1922.mjs +0 -334
  196. package/dist/Feed-31523f38.js +0 -1
  197. package/dist/Feed-4b28adc5.mjs +0 -423
  198. package/dist/Feed-51e4e232.js +0 -1
  199. package/dist/Feed-531de2d5.js +0 -1
  200. package/dist/Feed-55c5907a.js +0 -1
  201. package/dist/Feed-5c9e4e74.mjs +0 -340
  202. package/dist/Feed-5d8d5c21.js +0 -1
  203. package/dist/Feed-706cd7c0.mjs +0 -383
  204. package/dist/Feed-8009e4f8.js +0 -1
  205. package/dist/Feed-81d5802e.mjs +0 -355
  206. package/dist/Feed-83ef5666.js +0 -1
  207. package/dist/Feed-8fd41524.js +0 -1
  208. package/dist/Feed-91eff3af.mjs +0 -393
  209. package/dist/Feed-926cf4f3.mjs +0 -355
  210. package/dist/Feed-932d976d.js +0 -1
  211. package/dist/Feed-962e009b.js +0 -1
  212. package/dist/Feed-a31c43c2.mjs +0 -423
  213. package/dist/Feed-a82ae26b.js +0 -1
  214. package/dist/Feed-aa3bd30a.js +0 -1
  215. package/dist/Feed-b8eeb4e7.js +0 -1
  216. package/dist/Feed-bd7b1a45.js +0 -1
  217. package/dist/Feed-c0007a83.mjs +0 -383
  218. package/dist/Feed-c93012c7.mjs +0 -346
  219. package/dist/Feed-d2e5978c.mjs +0 -342
  220. package/dist/Feed-d4220f74.mjs +0 -340
  221. package/dist/Feed-d8e33aed.mjs +0 -397
  222. package/dist/Feed-dc8b66bf.mjs +0 -367
  223. package/dist/Feed-df5bbb3c.mjs +0 -346
  224. package/dist/Feed-e5fb4972.mjs +0 -397
  225. package/dist/Feed-e8fb21ed.js +0 -1
  226. package/dist/Feed-e91b36ea.mjs +0 -390
  227. package/dist/Feed-ecf37814.mjs +0 -367
  228. package/dist/Feed-eeb63363.js +0 -1
  229. package/dist/Feed-f4cad6c3.js +0 -1
  230. package/dist/Field-740d5a17.mjs +0 -60
  231. package/dist/Field-a1770ccf.js +0 -1
  232. package/dist/Field-ada86df2.js +0 -1
  233. package/dist/Field-e839d9ca.mjs +0 -60
  234. package/dist/Footer.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  235. package/dist/Footer.vue_vue_type_style_index_0_lang-2f7f46f1.js +0 -7
  236. package/dist/Footer.vue_vue_type_style_index_0_lang-39d2aa14.mjs +0 -37
  237. package/dist/Footer.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  238. package/dist/HeaderBlogpost-59dd9a6b.mjs +0 -93
  239. package/dist/HeaderBlogpost-8ec43cd0.js +0 -1
  240. package/dist/IconEdit-3028a3b7.js +0 -1
  241. package/dist/IconEdit-736c89be.js +0 -1
  242. package/dist/IconEdit-e9fd4c6c.mjs +0 -21
  243. package/dist/Image-6c7584f5.mjs +0 -477
  244. package/dist/Image-9a870c88.js +0 -9
  245. package/dist/PlaceholderUserpic-10fd9026.js +0 -1
  246. package/dist/PlaceholderUserpic-1a6cf257.mjs +0 -28
  247. package/dist/PlaceholderUserpic-3bf126ee.js +0 -1
  248. package/dist/PlaceholderUserpic-3c1b9f7b.mjs +0 -28
  249. package/dist/PlaceholderUserpic-43e5ab23.js +0 -1
  250. package/dist/PlaceholderUserpic-4fe04ec9.mjs +0 -28
  251. package/dist/PlaceholderUserpic-52966e09.js +0 -1
  252. package/dist/PlaceholderUserpic-9085715c.mjs +0 -28
  253. package/dist/PlaceholderUserpic-995da0fc.mjs +0 -28
  254. package/dist/PlaceholderUserpic-b27c51f7.js +0 -1
  255. package/dist/PlaceholderUserpic-d64d6dd5.js +0 -1
  256. package/dist/PlaceholderUserpic-e44ccca8.mjs +0 -28
  257. package/dist/PlaceholderUserpic-eb9820ce.mjs +0 -28
  258. package/dist/PlaceholderUserpic-fe8bd48d.js +0 -1
  259. package/dist/Popup-0c791801.mjs +0 -76
  260. package/dist/Popup-70f6a8c0.mjs +0 -76
  261. package/dist/Popup-7c331e1c.js +0 -1
  262. package/dist/Popup-82fb2c8a.mjs +0 -76
  263. package/dist/Popup-9479e39a.js +0 -1
  264. package/dist/Popup.vue_vue_type_style_index_0_lang-0cbf3253.js +0 -1
  265. package/dist/Popup.vue_vue_type_style_index_0_lang-22048704.mjs +0 -280
  266. package/dist/Popup.vue_vue_type_style_index_0_lang-28b9af00.mjs +0 -280
  267. package/dist/Popup.vue_vue_type_style_index_0_lang-4f16907f.mjs +0 -924
  268. package/dist/Popup.vue_vue_type_style_index_0_lang-5b5f9cd7.js +0 -5
  269. package/dist/Popup.vue_vue_type_style_index_0_lang-769e7cf5.js +0 -5
  270. package/dist/Popup.vue_vue_type_style_index_0_lang-8981c189.mjs +0 -280
  271. package/dist/Popup.vue_vue_type_style_index_0_lang-931f265a.js +0 -1
  272. package/dist/Popup.vue_vue_type_style_index_0_lang-a191c190.js +0 -1
  273. package/dist/Popup.vue_vue_type_style_index_0_lang-a9351a87.js +0 -1
  274. package/dist/Popup.vue_vue_type_style_index_0_lang-d05075a7.mjs +0 -280
  275. package/dist/Popup.vue_vue_type_style_index_0_lang-f2c0cfb5.mjs +0 -924
  276. package/dist/Product-0195429b.js +0 -1
  277. package/dist/Product-035252c0.js +0 -1
  278. package/dist/Product-05cc1386.mjs +0 -687
  279. package/dist/Product-151f4473.mjs +0 -904
  280. package/dist/Product-1724d88d.mjs +0 -837
  281. package/dist/Product-19cc3654.js +0 -7
  282. package/dist/Product-2f3d592f.mjs +0 -837
  283. package/dist/Product-2fbf9d99.js +0 -7
  284. package/dist/Product-334f8bf4.mjs +0 -904
  285. package/dist/Product-35904a9b.js +0 -7
  286. package/dist/Product-3c64a352.mjs +0 -904
  287. package/dist/Product-45a6e7bd.mjs +0 -687
  288. package/dist/Product-4a5f985d.mjs +0 -837
  289. package/dist/Product-60e14832.mjs +0 -904
  290. package/dist/Product-67efba5c.js +0 -7
  291. package/dist/Product-6c37ef35.js +0 -7
  292. package/dist/Product-7087b358.mjs +0 -837
  293. package/dist/Product-96195a8e.js +0 -7
  294. package/dist/Product-a94d8b65.js +0 -7
  295. package/dist/Product-b440df7f.js +0 -7
  296. package/dist/Product-c3a77d07.mjs +0 -837
  297. package/dist/Product-c8441f02.js +0 -7
  298. package/dist/Product-cf9cfe65.mjs +0 -904
  299. package/dist/Product-df622dc0.mjs +0 -837
  300. package/dist/Product-eb2b6725.js +0 -7
  301. package/dist/Product-f4dbd969.mjs +0 -837
  302. package/dist/Product-f819b17e.js +0 -7
  303. package/dist/Product-fb63c7cd.js +0 -7
  304. package/dist/ProductEdit-04760699.js +0 -1
  305. package/dist/ProductEdit-177c1f16.mjs +0 -113
  306. package/dist/ProductEdit-1e990a92.js +0 -1
  307. package/dist/ProductEdit-20709821.mjs +0 -349
  308. package/dist/ProductEdit-20bda9f1.mjs +0 -113
  309. package/dist/ProductEdit-39adf62f.mjs +0 -113
  310. package/dist/ProductEdit-4d6f3720.js +0 -1
  311. package/dist/ProductEdit-57484f1e.mjs +0 -349
  312. package/dist/ProductEdit-5e419719.mjs +0 -113
  313. package/dist/ProductEdit-5f9a55b6.mjs +0 -113
  314. package/dist/ProductEdit-765f4780.js +0 -1
  315. package/dist/ProductEdit-9e579dd7.mjs +0 -113
  316. package/dist/ProductEdit-a81d13b9.js +0 -1
  317. package/dist/ProductEdit-b98883d8.js +0 -1
  318. package/dist/ProductEdit-c3c6341d.js +0 -1
  319. package/dist/ProductEdit-c5067942.mjs +0 -113
  320. package/dist/ProductEdit-ca271287.js +0 -1
  321. package/dist/ProductEdit-e2d47403.mjs +0 -113
  322. package/dist/ProductEdit-ef301baa.js +0 -1
  323. package/dist/ProductEdit-fca68ff9.js +0 -1
  324. package/dist/ProfileBlogposts-00424109.js +0 -1
  325. package/dist/ProfileBlogposts-03658199.js +0 -1
  326. package/dist/ProfileBlogposts-11bfd9dc.js +0 -1
  327. package/dist/ProfileBlogposts-317742ee.mjs +0 -56
  328. package/dist/ProfileBlogposts-4341ca89.mjs +0 -46
  329. package/dist/ProfileBlogposts-55037a06.mjs +0 -56
  330. package/dist/ProfileBlogposts-65a7a5e0.mjs +0 -56
  331. package/dist/ProfileBlogposts-6704a38c.js +0 -1
  332. package/dist/ProfileBlogposts-79d5c858.mjs +0 -63
  333. package/dist/ProfileBlogposts-892fdcf8.mjs +0 -56
  334. package/dist/ProfileBlogposts-dc11090e.js +0 -1
  335. package/dist/ProfileBlogposts-e55e30ae.js +0 -1
  336. package/dist/ProfileBlogposts-e9a7381e.js +0 -1
  337. package/dist/ProfileBlogposts-eca9916c.js +0 -1
  338. package/dist/ProfileBlogposts-fb014bc6.mjs +0 -63
  339. package/dist/ProfileBlogposts-ffa10f34.mjs +0 -63
  340. package/dist/ProfileComments-0396b55c.js +0 -1
  341. package/dist/ProfileComments-08d1670d.mjs +0 -43
  342. package/dist/ProfileComments-175e42da.js +0 -1
  343. package/dist/ProfileComments-2e2a3a7a.mjs +0 -42
  344. package/dist/ProfileComments-34eb560b.mjs +0 -43
  345. package/dist/ProfileComments-48f3d4bc.mjs +0 -43
  346. package/dist/ProfileComments-58094a50.mjs +0 -43
  347. package/dist/ProfileComments-5884d09f.mjs +0 -43
  348. package/dist/ProfileComments-66651060.mjs +0 -43
  349. package/dist/ProfileComments-677731b3.js +0 -1
  350. package/dist/ProfileComments-730c2f73.js +0 -1
  351. package/dist/ProfileComments-82791682.js +0 -1
  352. package/dist/ProfileComments-b6a688cd.js +0 -1
  353. package/dist/ProfileComments-b919f021.js +0 -1
  354. package/dist/ProfileComments-d3966a83.mjs +0 -43
  355. package/dist/ProfileComments-f5f260ec.js +0 -1
  356. package/dist/ProfileEvents-05485e20.js +0 -1
  357. package/dist/ProfileEvents-138ae25e.mjs +0 -55
  358. package/dist/ProfileEvents-1cfe6858.mjs +0 -55
  359. package/dist/ProfileEvents-20695376.mjs +0 -55
  360. package/dist/ProfileEvents-20e9da99.mjs +0 -46
  361. package/dist/ProfileEvents-45c4b137.mjs +0 -55
  362. package/dist/ProfileEvents-4f2a5f00.js +0 -1
  363. package/dist/ProfileEvents-5d206e3d.mjs +0 -55
  364. package/dist/ProfileEvents-676239cc.js +0 -1
  365. package/dist/ProfileEvents-6e6c253b.mjs +0 -46
  366. package/dist/ProfileEvents-858e9471.mjs +0 -55
  367. package/dist/ProfileEvents-85a88674.mjs +0 -55
  368. package/dist/ProfileEvents-89def76b.js +0 -1
  369. package/dist/ProfileEvents-94d7b407.js +0 -1
  370. package/dist/ProfileEvents-b057d374.js +0 -1
  371. package/dist/ProfileEvents-b5431cd6.js +0 -1
  372. package/dist/ProfileEvents-b8a76b6e.js +0 -1
  373. package/dist/ProfileEvents-c1e04ac1.mjs +0 -46
  374. package/dist/ProfileEvents-cd75d80b.js +0 -1
  375. package/dist/ProfileEvents-cebebb17.js +0 -1
  376. package/dist/ProfileEvents-d53e7729.mjs +0 -46
  377. package/dist/ProfileEvents-d8e16509.js +0 -1
  378. package/dist/ProfileEvents-ddaf8fba.mjs +0 -55
  379. package/dist/ProfileEvents-ffe0e6f3.js +0 -1
  380. package/dist/ProfileLikes-0668b718.js +0 -1
  381. package/dist/ProfileLikes-2f3a4488.js +0 -1
  382. package/dist/ProfileLikes-405c2636.js +0 -1
  383. package/dist/ProfileLikes-4242bca5.mjs +0 -43
  384. package/dist/ProfileLikes-4a57f637.mjs +0 -43
  385. package/dist/ProfileLikes-503712ec.mjs +0 -43
  386. package/dist/ProfileLikes-7f965631.mjs +0 -43
  387. package/dist/ProfileLikes-854276f0.js +0 -1
  388. package/dist/ProfileLikes-8ccf6815.js +0 -1
  389. package/dist/ProfileLikes-a78900c0.js +0 -1
  390. package/dist/ProfileLikes-b3b1350a.js +0 -1
  391. package/dist/ProfileLikes-b5ac7f48.mjs +0 -43
  392. package/dist/ProfileLikes-c32c420b.mjs +0 -43
  393. package/dist/ProfileLikes-c4c87300.mjs +0 -42
  394. package/dist/ProfileLikes-c899e3df.js +0 -1
  395. package/dist/ProfileLikes-d978b084.mjs +0 -43
  396. package/dist/ProfileOrganizations-04cc9d6d.mjs +0 -198
  397. package/dist/ProfileOrganizations-0b76e38f.js +0 -1
  398. package/dist/ProfileOrganizations-0e202612.js +0 -1
  399. package/dist/ProfileOrganizations-13748b09.js +0 -1
  400. package/dist/ProfileOrganizations-1990d0cc.js +0 -1
  401. package/dist/ProfileOrganizations-2633e9e4.mjs +0 -198
  402. package/dist/ProfileOrganizations-32ab1e30.mjs +0 -211
  403. package/dist/ProfileOrganizations-3f305f4e.mjs +0 -210
  404. package/dist/ProfileOrganizations-46b6e015.mjs +0 -202
  405. package/dist/ProfileOrganizations-4ffaf01c.js +0 -1
  406. package/dist/ProfileOrganizations-50fce34e.js +0 -1
  407. package/dist/ProfileOrganizations-567e87e1.mjs +0 -210
  408. package/dist/ProfileOrganizations-5abfcc59.js +0 -1
  409. package/dist/ProfileOrganizations-5d681498.mjs +0 -202
  410. package/dist/ProfileOrganizations-6d3a43e4.js +0 -1
  411. package/dist/ProfileOrganizations-704f628b.js +0 -1
  412. package/dist/ProfileOrganizations-b83f6720.js +0 -1
  413. package/dist/ProfileOrganizations-c58a4fb9.js +0 -1
  414. package/dist/ProfileOrganizations-c7688210.js +0 -1
  415. package/dist/ProfileOrganizations-ca9a95a1.js +0 -1
  416. package/dist/ProfileOrganizations-dbc8a6cd.mjs +0 -214
  417. package/dist/ProfileOrganizations-dc7210f1.mjs +0 -214
  418. package/dist/ProfileOrganizations-e4fd2b05.mjs +0 -202
  419. package/dist/ProfileOrganizations-f6e00809.mjs +0 -214
  420. package/dist/ProfileOrganizations-feef34df.mjs +0 -112
  421. package/dist/Publics-07d5bbc4.js +0 -1
  422. package/dist/Publics-122d9fc7.mjs +0 -1078
  423. package/dist/Publics-13c48a23.mjs +0 -47
  424. package/dist/Publics-17009745.mjs +0 -1926
  425. package/dist/Publics-213e0e9e.mjs +0 -44
  426. package/dist/Publics-21f24533.mjs +0 -44
  427. package/dist/Publics-3f277c17.js +0 -1
  428. package/dist/Publics-450a6715.mjs +0 -1926
  429. package/dist/Publics-49dbeafc.js +0 -1
  430. package/dist/Publics-4e1c14fc.js +0 -1
  431. package/dist/Publics-501c9f27.js +0 -1
  432. package/dist/Publics-54134615.mjs +0 -47
  433. package/dist/Publics-889c25fc.js +0 -1
  434. package/dist/Publics-8bea4201.mjs +0 -44
  435. package/dist/Publics-8d94ee66.js +0 -1
  436. package/dist/Publics-9ebffff1.mjs +0 -122
  437. package/dist/Publics-a030da8f.js +0 -1
  438. package/dist/Publics-aca585c3.js +0 -1
  439. package/dist/Publics-b0fad2b0.mjs +0 -1926
  440. package/dist/Publics-becb1486.js +0 -1
  441. package/dist/Publics-c6f6b824.js +0 -1
  442. package/dist/Publics-c9d5aa74.js +0 -1
  443. package/dist/Publics-fbc8d2db.mjs +0 -1926
  444. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  445. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  446. package/dist/Tab-054b61f7.mjs +0 -46
  447. package/dist/Tab-1ca0fe66.js +0 -1
  448. package/dist/Tab-58cd105f.mjs +0 -46
  449. package/dist/Tab-b0a7ac11.js +0 -1
  450. package/dist/Tab-c67fbf51.mjs +0 -46
  451. package/dist/Tab-f04c185d.js +0 -1
  452. package/dist/Tab-fcb73759.mjs +0 -46
  453. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  454. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  455. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-0b4edb09.js +0 -1
  456. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-5531689e.mjs +0 -123
  457. package/dist/UploadImage-1b8c18c4.mjs +0 -99
  458. package/dist/UploadImage-34bc4a3f.mjs +0 -99
  459. package/dist/UploadImage-441e8526.js +0 -1
  460. package/dist/UploadImage-4e91bd99.js +0 -1
  461. package/dist/UploadImage-6e312c46.mjs +0 -83
  462. package/dist/UploadImage-74280ea3.mjs +0 -99
  463. package/dist/UploadImage-75b1a18a.js +0 -1
  464. package/dist/UploadImage-7c502f96.js +0 -1
  465. package/dist/UploadImage-96408782.mjs +0 -99
  466. package/dist/UploadImage-9abb7116.js +0 -1
  467. package/dist/UploadImage-b1acc48f.mjs +0 -99
  468. package/dist/UploadImage-c81c3b76.js +0 -1
  469. package/dist/UploadImage-cd6de241.js +0 -1
  470. package/dist/UploadImage-d1dbc280.mjs +0 -99
  471. package/dist/UploadImage-ff8f9a0c.mjs +0 -83
  472. package/dist/auth-07c01b19.js +0 -8
  473. package/dist/auth-18f80fef.mjs +0 -1501
  474. package/dist/auth-2bc18d1e.js +0 -8
  475. package/dist/auth-35ef1791.mjs +0 -1502
  476. package/dist/auth-50bd4ebb.js +0 -8
  477. package/dist/auth-5aa8e90c.js +0 -8
  478. package/dist/auth-708eebcb.mjs +0 -1446
  479. package/dist/auth-78fd9408.js +0 -8
  480. package/dist/auth-7dff19e4.js +0 -8
  481. package/dist/auth-84680727.mjs +0 -1501
  482. package/dist/auth-ab40831d.js +0 -8
  483. package/dist/auth-d102dac0.mjs +0 -1501
  484. package/dist/auth-f81f3598.mjs +0 -1439
  485. package/dist/auth-fefd15a3.mjs +0 -1503
  486. package/dist/auth.validation-1fb0cb4f.js +0 -1
  487. package/dist/auth.validation-29113f37.mjs +0 -20
  488. package/dist/auth.validation-2d33e8c7.mjs +0 -20
  489. package/dist/auth.validation-2e8ee994.js +0 -1
  490. package/dist/auth.validation-4a617c0b.mjs +0 -20
  491. package/dist/auth.validation-6923140f.js +0 -1
  492. package/dist/auth.validation-69488f55.mjs +0 -20
  493. package/dist/auth.validation-6bccabd6.mjs +0 -20
  494. package/dist/auth.validation-78a90fed.js +0 -1
  495. package/dist/auth.validation-9cfd985b.mjs +0 -20
  496. package/dist/auth.validation-a18510e8.js +0 -1
  497. package/dist/auth.validation-b644ee65.js +0 -1
  498. package/dist/auth.validation-f23a7238.mjs +0 -21
  499. package/dist/categories-75b7d14b.js +0 -1
  500. package/dist/categories-86b2d45b.mjs +0 -225
  501. package/dist/categories-d669f3af.mjs +0 -225
  502. package/dist/components/FieldPhone/<script>.vue.d.ts +0 -547
  503. package/dist/globals-d7a54bb4.js +0 -1
  504. package/dist/globals-f538c0ef.mjs +0 -87
  505. package/dist/inputs.validation-498d8ec9.js +0 -1
  506. package/dist/inputs.validation-5732152a.mjs +0 -93
  507. package/dist/inputs.validation-6960f71b.mjs +0 -93
  508. package/dist/inputs.validation-c473ebe7.mjs +0 -93
  509. package/dist/inputs.validation-c53e01a2.js +0 -1
  510. package/dist/modules/community/components/blocks/CardOrganization.vue.d.ts +0 -8
  511. package/dist/modules/community/components/elements/Bullets.vue.d.ts +0 -15
  512. package/dist/modules/community/components/elements/Caption.vue.d.ts +0 -15
  513. package/dist/modules/community/components/elements/H2.vue.d.ts +0 -16
  514. package/dist/modules/community/components/elements/Image.vue.d.ts +0 -8
  515. package/dist/modules/community/components/elements/ImageUpload.vue.d.ts +0 -9
  516. package/dist/modules/community/components/elements/Textarea.vue.d.ts +0 -16
  517. package/dist/modules/community/components/pages/BlogPost.old.vue.d.ts +0 -2
  518. package/dist/modules/community/components/sections/Publics.vue.d.ts +0 -2
  519. package/dist/modules/events/components/layouts/Events.vue.d.ts +0 -2
  520. package/dist/modules/organizations/components/blocks/CardOrganizationSocial.vue.d.ts +0 -8
  521. package/dist/organizations-0e9ff7ca.mjs +0 -319
  522. package/dist/organizations-1b4c84ee.mjs +0 -121
  523. package/dist/organizations-35fe2db4.js +0 -1
  524. package/dist/organizations-4d74e13b.js +0 -1
  525. package/dist/organizations-5f9c7fbd.js +0 -1
  526. package/dist/organizations-6c1450fa.mjs +0 -153
  527. package/dist/organizations-773c328c.mjs +0 -319
  528. package/dist/organizations-a9b86de7.mjs +0 -319
  529. package/dist/organizations-af43bda4.js +0 -1
  530. package/dist/organizations-b3df0859.js +0 -1
  531. package/dist/organizations-c77ea9d0.js +0 -1
  532. package/dist/organizations-d4307861.mjs +0 -319
  533. package/dist/organizations-dd07ba2c.js +0 -1
  534. package/dist/organizations-fb1a2214.mjs +0 -319
  535. package/dist/organizations.client-040ec107.js +0 -3
  536. package/dist/organizations.client-253c8068.mjs +0 -3179
  537. package/dist/organizations.client-3b4eb66e.mjs +0 -2898
  538. package/dist/organizations.client-4e29c957.js +0 -3
  539. package/dist/organizations.client-686845be.mjs +0 -3179
  540. package/dist/organizations.client-71c9abde.mjs +0 -2898
  541. package/dist/organizations.client-99bfc474.js +0 -3
  542. package/dist/organizations.client-ba59ed4e.js +0 -3
  543. package/dist/organizations.client-c60d7659.js +0 -3
  544. package/src/modules/community/controllers/blog.old.controller.js +0 -207
@@ -1,1503 +0,0 @@
1
- import { ref as H, openBlock as C, createElementBlock as _, Fragment as At, createElementVNode as h, normalizeClass as Nt, toDisplayString as ge, createCommentVNode as j, createVNode as J, Transition as V, withCtx as W, withModifiers as Tt, renderSlot as Pt, createTextVNode as M, reactive as at, watch as st } from "vue";
2
- import { s as P } from "./globals-96ba60e4.mjs";
3
- const Dt = (e, t) => {
4
- const r = e.__vccOpts || e;
5
- for (const [s, n] of t)
6
- r[s] = n;
7
- return r;
8
- }, Ut = {
9
- key: 0,
10
- class: "t-transp mn-r-small"
11
- }, Bt = { class: "w-100" }, kt = ["type", "value", "placeholder"], Lt = ["value", "placeholder"], jt = {
12
- key: 0,
13
- class: "mn-t-thin mn-thin mn-b-thin invalid-feedback"
14
- }, qt = {
15
- __name: "Field",
16
- props: {
17
- label: null,
18
- type: "text",
19
- placeholder: "Enter something here",
20
- field: null,
21
- validation: !1,
22
- disabled: !1
23
- },
24
- emits: ["update:field", "focus", "blur"],
25
- setup(e, { emit: t }) {
26
- const s = H(e.field);
27
- return (n, a) => (C(), _(At, null, [
28
- h("div", {
29
- class: Nt([[n.$attrs.class, { "bg-fourth-nano": e.validation }], "flex-center flex-nowrap flex"])
30
- }, [
31
- e.label ? (C(), _("div", Ut, [
32
- h("span", null, ge(e.label), 1)
33
- ])) : j("", !0),
34
- h("div", Bt, [
35
- e.type !== "textarea" ? (C(), _("input", {
36
- key: 0,
37
- onInput: a[0] || (a[0] = (i) => s.value = t("update:field", i.target.value)),
38
- onFocus: a[1] || (a[1] = (i) => t("focus", i)),
39
- onBlur: a[2] || (a[2] = (i) => t("blur", i)),
40
- type: e.type,
41
- class: "w-100",
42
- value: e.field,
43
- placeholder: e.placeholder
44
- }, null, 40, kt)) : (C(), _("textarea", {
45
- key: 1,
46
- onInput: a[3] || (a[3] = (i) => s.value = t("update:field", i.target.value)),
47
- onFocus: a[4] || (a[4] = (i) => t("focus", i)),
48
- onBlur: a[5] || (a[5] = (i) => t("blur", i)),
49
- class: "w-100",
50
- value: e.field,
51
- placeholder: e.placeholder
52
- }, null, 40, Lt))
53
- ])
54
- ], 2),
55
- J(V, { name: "fade" }, {
56
- default: W(() => [
57
- e.validation ? (C(), _("div", jt, " * " + ge(e.validation.message), 1)) : j("", !0)
58
- ]),
59
- _: 1
60
- })
61
- ], 64));
62
- }
63
- }, fn = /* @__PURE__ */ Dt(qt, [["__scopeId", "data-v-deecbd0c"]]);
64
- const Ft = ["onClick", "disabled"], It = { key: 0 }, $t = {
65
- key: 0,
66
- class: "loading"
67
- }, Mt = /* @__PURE__ */ h("span", null, [
68
- /* @__PURE__ */ h("svg", {
69
- class: "i-small",
70
- width: "135",
71
- height: "140",
72
- viewBox: "0 0 135 140",
73
- xmlns: "http://www.w3.org/2000/svg",
74
- fill: "#fff"
75
- }, [
76
- /* @__PURE__ */ h("rect", {
77
- y: "10",
78
- width: "15",
79
- height: "120",
80
- rx: "6"
81
- }, [
82
- /* @__PURE__ */ h("animate", {
83
- attributeName: "height",
84
- begin: "0.5s",
85
- dur: "1s",
86
- values: "120;110;100;90;80;70;60;50;40;140;120",
87
- calcMode: "linear",
88
- repeatCount: "indefinite"
89
- }),
90
- /* @__PURE__ */ M(),
91
- /* @__PURE__ */ h("animate", {
92
- attributeName: "y",
93
- begin: "0.5s",
94
- dur: "1s",
95
- values: "10;15;20;25;30;35;40;45;50;0;10",
96
- calcMode: "linear",
97
- repeatCount: "indefinite"
98
- })
99
- ]),
100
- /* @__PURE__ */ h("rect", {
101
- x: "30",
102
- y: "10",
103
- width: "15",
104
- height: "120",
105
- rx: "6"
106
- }, [
107
- /* @__PURE__ */ h("animate", {
108
- attributeName: "height",
109
- begin: "0.25s",
110
- dur: "1s",
111
- values: "120;110;100;90;80;70;60;50;40;140;120",
112
- calcMode: "linear",
113
- repeatCount: "indefinite"
114
- }),
115
- /* @__PURE__ */ M(),
116
- /* @__PURE__ */ h("animate", {
117
- attributeName: "y",
118
- begin: "0.25s",
119
- dur: "1s",
120
- values: "10;15;20;25;30;35;40;45;50;0;10",
121
- calcMode: "linear",
122
- repeatCount: "indefinite"
123
- })
124
- ]),
125
- /* @__PURE__ */ h("rect", {
126
- x: "60",
127
- width: "15",
128
- height: "140",
129
- rx: "6"
130
- }, [
131
- /* @__PURE__ */ h("animate", {
132
- attributeName: "height",
133
- begin: "0s",
134
- dur: "1s",
135
- values: "120;110;100;90;80;70;60;50;40;140;120",
136
- calcMode: "linear",
137
- repeatCount: "indefinite"
138
- }),
139
- /* @__PURE__ */ M(),
140
- /* @__PURE__ */ h("animate", {
141
- attributeName: "y",
142
- begin: "0s",
143
- dur: "1s",
144
- values: "10;15;20;25;30;35;40;45;50;0;10",
145
- calcMode: "linear",
146
- repeatCount: "indefinite"
147
- })
148
- ]),
149
- /* @__PURE__ */ h("rect", {
150
- x: "90",
151
- y: "10",
152
- width: "15",
153
- height: "120",
154
- rx: "6"
155
- }, [
156
- /* @__PURE__ */ h("animate", {
157
- attributeName: "height",
158
- begin: "0.25s",
159
- dur: "1s",
160
- values: "120;110;100;90;80;70;60;50;40;140;120",
161
- calcMode: "linear",
162
- repeatCount: "indefinite"
163
- }),
164
- /* @__PURE__ */ M(),
165
- /* @__PURE__ */ h("animate", {
166
- attributeName: "y",
167
- begin: "0.25s",
168
- dur: "1s",
169
- values: "10;15;20;25;30;35;40;45;50;0;10",
170
- calcMode: "linear",
171
- repeatCount: "indefinite"
172
- })
173
- ]),
174
- /* @__PURE__ */ h("rect", {
175
- x: "120",
176
- y: "10",
177
- width: "15",
178
- height: "120",
179
- rx: "6"
180
- }, [
181
- /* @__PURE__ */ h("animate", {
182
- attributeName: "height",
183
- begin: "0.5s",
184
- dur: "1s",
185
- values: "120;110;100;90;80;70;60;50;40;140;120",
186
- calcMode: "linear",
187
- repeatCount: "indefinite"
188
- }),
189
- /* @__PURE__ */ M(),
190
- /* @__PURE__ */ h("animate", {
191
- attributeName: "y",
192
- begin: "0.5s",
193
- dur: "1s",
194
- values: "10;15;20;25;30;35;40;45;50;0;10",
195
- calcMode: "linear",
196
- repeatCount: "indefinite"
197
- })
198
- ])
199
- ])
200
- ], -1), Ht = [
201
- Mt
202
- ], Jt = {
203
- key: 0,
204
- class: "h4 loading"
205
- }, Vt = /* @__PURE__ */ h("span", { class: "p-small t-white" }, "✔", -1), Wt = [
206
- Vt
207
- ], zt = {
208
- key: 0,
209
- class: "error"
210
- }, dn = {
211
- __name: "Button",
212
- props: {
213
- submit: {
214
- type: Function,
215
- default: async () => {
216
- console.log("Button click.");
217
- }
218
- },
219
- callback: {
220
- type: Function,
221
- default: async () => {
222
- console.log("Button callback.");
223
- }
224
- },
225
- callbackDelay: {
226
- type: Number,
227
- default: 750
228
- },
229
- validation: {
230
- type: Boolean,
231
- default: !1
232
- }
233
- },
234
- setup(e) {
235
- const t = e, r = H(null), s = H(null), n = H(!1), a = H(!1);
236
- async function i() {
237
- r.value.style["pointer-events"] = "none", s.value = null, n.value = !0;
238
- try {
239
- await t.submit(), r.value.classList.replace("bg-main", "bg-light-main"), n.value = !1, a.value = !0, setTimeout(() => {
240
- r.value && (r.value.classList.replace("bg-light-main", "bg-main"), r.value.style.pointerEvents = "auto", n.value = !1, a.value = !1, s.value = null);
241
- }, 500), t.callback && setTimeout(() => t.callback(), t.callbackDelay);
242
- } catch {
243
- r.value.classList.replace("bg-main", "bg-fourth-nano"), s.value = "❌", setTimeout(() => {
244
- r.value.classList.replace("bg-fourth-nano", "bg-main"), r.value.style.pointerEvents = "auto", n.value = !1, a.value = !1, s.value = null;
245
- }, 1330);
246
- }
247
- }
248
- return (o, l) => (C(), _("button", {
249
- onClick: Tt(i, ["stop"]),
250
- disabled: e.validation,
251
- ref_key: "button",
252
- ref: r,
253
- class: "w-100 bg-main button"
254
- }, [
255
- J(V, {
256
- mode: "out-in",
257
- name: "fadeIn"
258
- }, {
259
- default: W(() => [
260
- !n.value && !s.value && !a.value ? (C(), _("span", It, [
261
- Pt(o.$slots, "default")
262
- ])) : j("", !0)
263
- ]),
264
- _: 3
265
- }),
266
- J(V, {
267
- mode: "out-in",
268
- name: "fadeIn"
269
- }, {
270
- default: W(() => [
271
- n.value && !s.value ? (C(), _("div", $t, Ht)) : j("", !0)
272
- ]),
273
- _: 1
274
- }),
275
- J(V, {
276
- mode: "out-in",
277
- name: "fadeIn"
278
- }, {
279
- default: W(() => [
280
- a.value ? (C(), _("div", Jt, Wt)) : j("", !0)
281
- ]),
282
- _: 1
283
- }),
284
- J(V, {
285
- mode: "out-in",
286
- name: "fadeIn"
287
- }, {
288
- default: W(() => [
289
- s.value ? (C(), _("div", zt, [
290
- h("span", null, ge(s.value), 1)
291
- ])) : j("", !0)
292
- ]),
293
- _: 1
294
- })
295
- ], 8, Ft));
296
- }
297
- };
298
- function it(e) {
299
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
300
- }
301
- var Ce = { exports: {} }, ot = function(t, r) {
302
- return function() {
303
- for (var n = new Array(arguments.length), a = 0; a < n.length; a++)
304
- n[a] = arguments[a];
305
- return t.apply(r, n);
306
- };
307
- }, Xt = ot, _e = Object.prototype.toString, xe = function(e) {
308
- return function(t) {
309
- var r = _e.call(t);
310
- return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
311
- };
312
- }(/* @__PURE__ */ Object.create(null));
313
- function D(e) {
314
- return e = e.toLowerCase(), function(r) {
315
- return xe(r) === e;
316
- };
317
- }
318
- function Se(e) {
319
- return Array.isArray(e);
320
- }
321
- function Y(e) {
322
- return typeof e > "u";
323
- }
324
- function Kt(e) {
325
- return e !== null && !Y(e) && e.constructor !== null && !Y(e.constructor) && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e);
326
- }
327
- var ut = D("ArrayBuffer");
328
- function Qt(e) {
329
- var t;
330
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ut(e.buffer), t;
331
- }
332
- function Yt(e) {
333
- return typeof e == "string";
334
- }
335
- function Gt(e) {
336
- return typeof e == "number";
337
- }
338
- function lt(e) {
339
- return e !== null && typeof e == "object";
340
- }
341
- function K(e) {
342
- if (xe(e) !== "object")
343
- return !1;
344
- var t = Object.getPrototypeOf(e);
345
- return t === null || t === Object.prototype;
346
- }
347
- var Zt = D("Date"), er = D("File"), tr = D("Blob"), rr = D("FileList");
348
- function Ae(e) {
349
- return _e.call(e) === "[object Function]";
350
- }
351
- function nr(e) {
352
- return lt(e) && Ae(e.pipe);
353
- }
354
- function ar(e) {
355
- var t = "[object FormData]";
356
- return e && (typeof FormData == "function" && e instanceof FormData || _e.call(e) === t || Ae(e.toString) && e.toString() === t);
357
- }
358
- var sr = D("URLSearchParams");
359
- function ir(e) {
360
- return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "");
361
- }
362
- function or() {
363
- return typeof navigator < "u" && (navigator.product === "ReactNative" || navigator.product === "NativeScript" || navigator.product === "NS") ? !1 : typeof window < "u" && typeof document < "u";
364
- }
365
- function Ne(e, t) {
366
- if (!(e === null || typeof e > "u"))
367
- if (typeof e != "object" && (e = [e]), Se(e))
368
- for (var r = 0, s = e.length; r < s; r++)
369
- t.call(null, e[r], r, e);
370
- else
371
- for (var n in e)
372
- Object.prototype.hasOwnProperty.call(e, n) && t.call(null, e[n], n, e);
373
- }
374
- function Oe() {
375
- var e = {};
376
- function t(n, a) {
377
- K(e[a]) && K(n) ? e[a] = Oe(e[a], n) : K(n) ? e[a] = Oe({}, n) : Se(n) ? e[a] = n.slice() : e[a] = n;
378
- }
379
- for (var r = 0, s = arguments.length; r < s; r++)
380
- Ne(arguments[r], t);
381
- return e;
382
- }
383
- function ur(e, t, r) {
384
- return Ne(t, function(n, a) {
385
- r && typeof n == "function" ? e[a] = Xt(n, r) : e[a] = n;
386
- }), e;
387
- }
388
- function lr(e) {
389
- return e.charCodeAt(0) === 65279 && (e = e.slice(1)), e;
390
- }
391
- function cr(e, t, r, s) {
392
- e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, r && Object.assign(e.prototype, r);
393
- }
394
- function fr(e, t, r) {
395
- var s, n, a, i = {};
396
- t = t || {};
397
- do {
398
- for (s = Object.getOwnPropertyNames(e), n = s.length; n-- > 0; )
399
- a = s[n], i[a] || (t[a] = e[a], i[a] = !0);
400
- e = Object.getPrototypeOf(e);
401
- } while (e && (!r || r(e, t)) && e !== Object.prototype);
402
- return t;
403
- }
404
- function dr(e, t, r) {
405
- e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
406
- var s = e.indexOf(t, r);
407
- return s !== -1 && s === r;
408
- }
409
- function pr(e) {
410
- if (!e)
411
- return null;
412
- var t = e.length;
413
- if (Y(t))
414
- return null;
415
- for (var r = new Array(t); t-- > 0; )
416
- r[t] = e[t];
417
- return r;
418
- }
419
- var hr = function(e) {
420
- return function(t) {
421
- return e && t instanceof e;
422
- };
423
- }(typeof Uint8Array < "u" && Object.getPrototypeOf(Uint8Array)), b = {
424
- isArray: Se,
425
- isArrayBuffer: ut,
426
- isBuffer: Kt,
427
- isFormData: ar,
428
- isArrayBufferView: Qt,
429
- isString: Yt,
430
- isNumber: Gt,
431
- isObject: lt,
432
- isPlainObject: K,
433
- isUndefined: Y,
434
- isDate: Zt,
435
- isFile: er,
436
- isBlob: tr,
437
- isFunction: Ae,
438
- isStream: nr,
439
- isURLSearchParams: sr,
440
- isStandardBrowserEnv: or,
441
- forEach: Ne,
442
- merge: Oe,
443
- extend: ur,
444
- trim: ir,
445
- stripBOM: lr,
446
- inherits: cr,
447
- toFlatObject: fr,
448
- kindOf: xe,
449
- kindOfTest: D,
450
- endsWith: dr,
451
- toArray: pr,
452
- isTypedArray: hr,
453
- isFileList: rr
454
- }, k = b;
455
- function ke(e) {
456
- return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
457
- }
458
- var ct = function(t, r, s) {
459
- if (!r)
460
- return t;
461
- var n;
462
- if (s)
463
- n = s(r);
464
- else if (k.isURLSearchParams(r))
465
- n = r.toString();
466
- else {
467
- var a = [];
468
- k.forEach(r, function(l, f) {
469
- l === null || typeof l > "u" || (k.isArray(l) ? f = f + "[]" : l = [l], k.forEach(l, function(d) {
470
- k.isDate(d) ? d = d.toISOString() : k.isObject(d) && (d = JSON.stringify(d)), a.push(ke(f) + "=" + ke(d));
471
- }));
472
- }), n = a.join("&");
473
- }
474
- if (n) {
475
- var i = t.indexOf("#");
476
- i !== -1 && (t = t.slice(0, i)), t += (t.indexOf("?") === -1 ? "?" : "&") + n;
477
- }
478
- return t;
479
- }, vr = b;
480
- function Z() {
481
- this.handlers = [];
482
- }
483
- Z.prototype.use = function(t, r, s) {
484
- return this.handlers.push({
485
- fulfilled: t,
486
- rejected: r,
487
- synchronous: s ? s.synchronous : !1,
488
- runWhen: s ? s.runWhen : null
489
- }), this.handlers.length - 1;
490
- };
491
- Z.prototype.eject = function(t) {
492
- this.handlers[t] && (this.handlers[t] = null);
493
- };
494
- Z.prototype.forEach = function(t) {
495
- vr.forEach(this.handlers, function(s) {
496
- s !== null && t(s);
497
- });
498
- };
499
- var mr = Z, yr = b, br = function(t, r) {
500
- yr.forEach(t, function(n, a) {
501
- a !== r && a.toUpperCase() === r.toUpperCase() && (t[r] = n, delete t[a]);
502
- });
503
- }, ft = b;
504
- function q(e, t, r, s, n) {
505
- Error.call(this), this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), s && (this.request = s), n && (this.response = n);
506
- }
507
- ft.inherits(q, Error, {
508
- toJSON: function() {
509
- return {
510
- // Standard
511
- message: this.message,
512
- name: this.name,
513
- // Microsoft
514
- description: this.description,
515
- number: this.number,
516
- // Mozilla
517
- fileName: this.fileName,
518
- lineNumber: this.lineNumber,
519
- columnNumber: this.columnNumber,
520
- stack: this.stack,
521
- // Axios
522
- config: this.config,
523
- code: this.code,
524
- status: this.response && this.response.status ? this.response.status : null
525
- };
526
- }
527
- });
528
- var dt = q.prototype, pt = {};
529
- [
530
- "ERR_BAD_OPTION_VALUE",
531
- "ERR_BAD_OPTION",
532
- "ECONNABORTED",
533
- "ETIMEDOUT",
534
- "ERR_NETWORK",
535
- "ERR_FR_TOO_MANY_REDIRECTS",
536
- "ERR_DEPRECATED",
537
- "ERR_BAD_RESPONSE",
538
- "ERR_BAD_REQUEST",
539
- "ERR_CANCELED"
540
- // eslint-disable-next-line func-names
541
- ].forEach(function(e) {
542
- pt[e] = { value: e };
543
- });
544
- Object.defineProperties(q, pt);
545
- Object.defineProperty(dt, "isAxiosError", { value: !0 });
546
- q.from = function(e, t, r, s, n, a) {
547
- var i = Object.create(dt);
548
- return ft.toFlatObject(e, i, function(l) {
549
- return l !== Error.prototype;
550
- }), q.call(i, e.message, t, r, s, n), i.name = e.name, a && Object.assign(i, a), i;
551
- };
552
- var I = q, ht = {
553
- silentJSONParsing: !0,
554
- forcedJSONParsing: !0,
555
- clarifyTimeoutError: !1
556
- }, O = b;
557
- function wr(e, t) {
558
- t = t || new FormData();
559
- var r = [];
560
- function s(a) {
561
- return a === null ? "" : O.isDate(a) ? a.toISOString() : O.isArrayBuffer(a) || O.isTypedArray(a) ? typeof Blob == "function" ? new Blob([a]) : Buffer.from(a) : a;
562
- }
563
- function n(a, i) {
564
- if (O.isPlainObject(a) || O.isArray(a)) {
565
- if (r.indexOf(a) !== -1)
566
- throw Error("Circular reference detected in " + i);
567
- r.push(a), O.forEach(a, function(l, f) {
568
- if (!O.isUndefined(l)) {
569
- var c = i ? i + "." + f : f, d;
570
- if (l && !i && typeof l == "object") {
571
- if (O.endsWith(f, "{}"))
572
- l = JSON.stringify(l);
573
- else if (O.endsWith(f, "[]") && (d = O.toArray(l))) {
574
- d.forEach(function(u) {
575
- !O.isUndefined(u) && t.append(c, s(u));
576
- });
577
- return;
578
- }
579
- }
580
- n(l, c);
581
- }
582
- }), r.pop();
583
- } else
584
- t.append(i, s(a));
585
- }
586
- return n(e), t;
587
- }
588
- var vt = wr, ie, Le;
589
- function Er() {
590
- if (Le)
591
- return ie;
592
- Le = 1;
593
- var e = I;
594
- return ie = function(r, s, n) {
595
- var a = n.config.validateStatus;
596
- !n.status || !a || a(n.status) ? r(n) : s(new e(
597
- "Request failed with status code " + n.status,
598
- [e.ERR_BAD_REQUEST, e.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
599
- n.config,
600
- n.request,
601
- n
602
- ));
603
- }, ie;
604
- }
605
- var oe, je;
606
- function Rr() {
607
- if (je)
608
- return oe;
609
- je = 1;
610
- var e = b;
611
- return oe = e.isStandardBrowserEnv() ? (
612
- // Standard browser envs support document.cookie
613
- function() {
614
- return {
615
- write: function(s, n, a, i, o, l) {
616
- var f = [];
617
- f.push(s + "=" + encodeURIComponent(n)), e.isNumber(a) && f.push("expires=" + new Date(a).toGMTString()), e.isString(i) && f.push("path=" + i), e.isString(o) && f.push("domain=" + o), l === !0 && f.push("secure"), document.cookie = f.join("; ");
618
- },
619
- read: function(s) {
620
- var n = document.cookie.match(new RegExp("(^|;\\s*)(" + s + ")=([^;]*)"));
621
- return n ? decodeURIComponent(n[3]) : null;
622
- },
623
- remove: function(s) {
624
- this.write(s, "", Date.now() - 864e5);
625
- }
626
- };
627
- }()
628
- ) : (
629
- // Non standard browser env (web workers, react-native) lack needed support.
630
- function() {
631
- return {
632
- write: function() {
633
- },
634
- read: function() {
635
- return null;
636
- },
637
- remove: function() {
638
- }
639
- };
640
- }()
641
- ), oe;
642
- }
643
- var gr = function(t) {
644
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
645
- }, Or = function(t, r) {
646
- return r ? t.replace(/\/+$/, "") + "/" + r.replace(/^\/+/, "") : t;
647
- }, Cr = gr, _r = Or, mt = function(t, r) {
648
- return t && !Cr(r) ? _r(t, r) : r;
649
- }, ue, qe;
650
- function xr() {
651
- if (qe)
652
- return ue;
653
- qe = 1;
654
- var e = b, t = [
655
- "age",
656
- "authorization",
657
- "content-length",
658
- "content-type",
659
- "etag",
660
- "expires",
661
- "from",
662
- "host",
663
- "if-modified-since",
664
- "if-unmodified-since",
665
- "last-modified",
666
- "location",
667
- "max-forwards",
668
- "proxy-authorization",
669
- "referer",
670
- "retry-after",
671
- "user-agent"
672
- ];
673
- return ue = function(s) {
674
- var n = {}, a, i, o;
675
- return s && e.forEach(s.split(`
676
- `), function(f) {
677
- if (o = f.indexOf(":"), a = e.trim(f.substr(0, o)).toLowerCase(), i = e.trim(f.substr(o + 1)), a) {
678
- if (n[a] && t.indexOf(a) >= 0)
679
- return;
680
- a === "set-cookie" ? n[a] = (n[a] ? n[a] : []).concat([i]) : n[a] = n[a] ? n[a] + ", " + i : i;
681
- }
682
- }), n;
683
- }, ue;
684
- }
685
- var le, Fe;
686
- function Sr() {
687
- if (Fe)
688
- return le;
689
- Fe = 1;
690
- var e = b;
691
- return le = e.isStandardBrowserEnv() ? (
692
- // Standard browser envs have full support of the APIs needed to test
693
- // whether the request URL is of the same origin as current location.
694
- function() {
695
- var r = /(msie|trident)/i.test(navigator.userAgent), s = document.createElement("a"), n;
696
- function a(i) {
697
- var o = i;
698
- return r && (s.setAttribute("href", o), o = s.href), s.setAttribute("href", o), {
699
- href: s.href,
700
- protocol: s.protocol ? s.protocol.replace(/:$/, "") : "",
701
- host: s.host,
702
- search: s.search ? s.search.replace(/^\?/, "") : "",
703
- hash: s.hash ? s.hash.replace(/^#/, "") : "",
704
- hostname: s.hostname,
705
- port: s.port,
706
- pathname: s.pathname.charAt(0) === "/" ? s.pathname : "/" + s.pathname
707
- };
708
- }
709
- return n = a(window.location.href), function(o) {
710
- var l = e.isString(o) ? a(o) : o;
711
- return l.protocol === n.protocol && l.host === n.host;
712
- };
713
- }()
714
- ) : (
715
- // Non standard browser envs (web workers, react-native) lack needed support.
716
- function() {
717
- return function() {
718
- return !0;
719
- };
720
- }()
721
- ), le;
722
- }
723
- var ce, Ie;
724
- function ee() {
725
- if (Ie)
726
- return ce;
727
- Ie = 1;
728
- var e = I, t = b;
729
- function r(s) {
730
- e.call(this, s ?? "canceled", e.ERR_CANCELED), this.name = "CanceledError";
731
- }
732
- return t.inherits(r, e, {
733
- __CANCEL__: !0
734
- }), ce = r, ce;
735
- }
736
- var fe, $e;
737
- function Ar() {
738
- return $e || ($e = 1, fe = function(t) {
739
- var r = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
740
- return r && r[1] || "";
741
- }), fe;
742
- }
743
- var de, Me;
744
- function He() {
745
- if (Me)
746
- return de;
747
- Me = 1;
748
- var e = b, t = Er(), r = Rr(), s = ct, n = mt, a = xr(), i = Sr(), o = ht, l = I, f = ee(), c = Ar();
749
- return de = function(u) {
750
- return new Promise(function(x, y) {
751
- var S = u.data, N = u.headers, $ = u.responseType, U;
752
- function De() {
753
- u.cancelToken && u.cancelToken.unsubscribe(U), u.signal && u.signal.removeEventListener("abort", U);
754
- }
755
- e.isFormData(S) && e.isStandardBrowserEnv() && delete N["Content-Type"];
756
- var p = new XMLHttpRequest();
757
- if (u.auth) {
758
- var _t = u.auth.username || "", xt = u.auth.password ? unescape(encodeURIComponent(u.auth.password)) : "";
759
- N.Authorization = "Basic " + btoa(_t + ":" + xt);
760
- }
761
- var ne = n(u.baseURL, u.url);
762
- p.open(u.method.toUpperCase(), s(ne, u.params, u.paramsSerializer), !0), p.timeout = u.timeout;
763
- function Ue() {
764
- if (p) {
765
- var g = "getAllResponseHeaders" in p ? a(p.getAllResponseHeaders()) : null, B = !$ || $ === "text" || $ === "json" ? p.responseText : p.response, T = {
766
- data: B,
767
- status: p.status,
768
- statusText: p.statusText,
769
- headers: g,
770
- config: u,
771
- request: p
772
- };
773
- t(function(se) {
774
- x(se), De();
775
- }, function(se) {
776
- y(se), De();
777
- }, T), p = null;
778
- }
779
- }
780
- if ("onloadend" in p ? p.onloadend = Ue : p.onreadystatechange = function() {
781
- !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(Ue);
782
- }, p.onabort = function() {
783
- p && (y(new l("Request aborted", l.ECONNABORTED, u, p)), p = null);
784
- }, p.onerror = function() {
785
- y(new l("Network Error", l.ERR_NETWORK, u, p, p)), p = null;
786
- }, p.ontimeout = function() {
787
- var B = u.timeout ? "timeout of " + u.timeout + "ms exceeded" : "timeout exceeded", T = u.transitional || o;
788
- u.timeoutErrorMessage && (B = u.timeoutErrorMessage), y(new l(
789
- B,
790
- T.clarifyTimeoutError ? l.ETIMEDOUT : l.ECONNABORTED,
791
- u,
792
- p
793
- )), p = null;
794
- }, e.isStandardBrowserEnv()) {
795
- var Be = (u.withCredentials || i(ne)) && u.xsrfCookieName ? r.read(u.xsrfCookieName) : void 0;
796
- Be && (N[u.xsrfHeaderName] = Be);
797
- }
798
- "setRequestHeader" in p && e.forEach(N, function(B, T) {
799
- typeof S > "u" && T.toLowerCase() === "content-type" ? delete N[T] : p.setRequestHeader(T, B);
800
- }), e.isUndefined(u.withCredentials) || (p.withCredentials = !!u.withCredentials), $ && $ !== "json" && (p.responseType = u.responseType), typeof u.onDownloadProgress == "function" && p.addEventListener("progress", u.onDownloadProgress), typeof u.onUploadProgress == "function" && p.upload && p.upload.addEventListener("progress", u.onUploadProgress), (u.cancelToken || u.signal) && (U = function(g) {
801
- p && (y(!g || g && g.type ? new f() : g), p.abort(), p = null);
802
- }, u.cancelToken && u.cancelToken.subscribe(U), u.signal && (u.signal.aborted ? U() : u.signal.addEventListener("abort", U))), S || (S = null);
803
- var ae = c(ne);
804
- if (ae && ["http", "https", "file"].indexOf(ae) === -1) {
805
- y(new l("Unsupported protocol " + ae + ":", l.ERR_BAD_REQUEST, u));
806
- return;
807
- }
808
- p.send(S);
809
- });
810
- }, de;
811
- }
812
- var pe, Je;
813
- function Nr() {
814
- return Je || (Je = 1, pe = null), pe;
815
- }
816
- var m = b, Ve = br, We = I, Tr = ht, Pr = vt, Dr = {
817
- "Content-Type": "application/x-www-form-urlencoded"
818
- };
819
- function ze(e, t) {
820
- !m.isUndefined(e) && m.isUndefined(e["Content-Type"]) && (e["Content-Type"] = t);
821
- }
822
- function Ur() {
823
- var e;
824
- return (typeof XMLHttpRequest < "u" || typeof process < "u" && Object.prototype.toString.call(process) === "[object process]") && (e = He()), e;
825
- }
826
- function Br(e, t, r) {
827
- if (m.isString(e))
828
- try {
829
- return (t || JSON.parse)(e), m.trim(e);
830
- } catch (s) {
831
- if (s.name !== "SyntaxError")
832
- throw s;
833
- }
834
- return (r || JSON.stringify)(e);
835
- }
836
- var te = {
837
- transitional: Tr,
838
- adapter: Ur(),
839
- transformRequest: [function(t, r) {
840
- if (Ve(r, "Accept"), Ve(r, "Content-Type"), m.isFormData(t) || m.isArrayBuffer(t) || m.isBuffer(t) || m.isStream(t) || m.isFile(t) || m.isBlob(t))
841
- return t;
842
- if (m.isArrayBufferView(t))
843
- return t.buffer;
844
- if (m.isURLSearchParams(t))
845
- return ze(r, "application/x-www-form-urlencoded;charset=utf-8"), t.toString();
846
- var s = m.isObject(t), n = r && r["Content-Type"], a;
847
- if ((a = m.isFileList(t)) || s && n === "multipart/form-data") {
848
- var i = this.env && this.env.FormData;
849
- return Pr(a ? { "files[]": t } : t, i && new i());
850
- } else if (s || n === "application/json")
851
- return ze(r, "application/json"), Br(t);
852
- return t;
853
- }],
854
- transformResponse: [function(t) {
855
- var r = this.transitional || te.transitional, s = r && r.silentJSONParsing, n = r && r.forcedJSONParsing, a = !s && this.responseType === "json";
856
- if (a || n && m.isString(t) && t.length)
857
- try {
858
- return JSON.parse(t);
859
- } catch (i) {
860
- if (a)
861
- throw i.name === "SyntaxError" ? We.from(i, We.ERR_BAD_RESPONSE, this, null, this.response) : i;
862
- }
863
- return t;
864
- }],
865
- /**
866
- * A timeout in milliseconds to abort a request. If set to 0 (default) a
867
- * timeout is not created.
868
- */
869
- timeout: 0,
870
- xsrfCookieName: "XSRF-TOKEN",
871
- xsrfHeaderName: "X-XSRF-TOKEN",
872
- maxContentLength: -1,
873
- maxBodyLength: -1,
874
- env: {
875
- FormData: Nr()
876
- },
877
- validateStatus: function(t) {
878
- return t >= 200 && t < 300;
879
- },
880
- headers: {
881
- common: {
882
- Accept: "application/json, text/plain, */*"
883
- }
884
- }
885
- };
886
- m.forEach(["delete", "get", "head"], function(t) {
887
- te.headers[t] = {};
888
- });
889
- m.forEach(["post", "put", "patch"], function(t) {
890
- te.headers[t] = m.merge(Dr);
891
- });
892
- var Te = te, kr = b, Lr = Te, jr = function(t, r, s) {
893
- var n = this || Lr;
894
- return kr.forEach(s, function(i) {
895
- t = i.call(n, t, r);
896
- }), t;
897
- }, he, Xe;
898
- function yt() {
899
- return Xe || (Xe = 1, he = function(t) {
900
- return !!(t && t.__CANCEL__);
901
- }), he;
902
- }
903
- var Ke = b, ve = jr, qr = yt(), Fr = Te, Ir = ee();
904
- function me(e) {
905
- if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
906
- throw new Ir();
907
- }
908
- var $r = function(t) {
909
- me(t), t.headers = t.headers || {}, t.data = ve.call(
910
- t,
911
- t.data,
912
- t.headers,
913
- t.transformRequest
914
- ), t.headers = Ke.merge(
915
- t.headers.common || {},
916
- t.headers[t.method] || {},
917
- t.headers
918
- ), Ke.forEach(
919
- ["delete", "get", "head", "post", "put", "patch", "common"],
920
- function(n) {
921
- delete t.headers[n];
922
- }
923
- );
924
- var r = t.adapter || Fr.adapter;
925
- return r(t).then(function(n) {
926
- return me(t), n.data = ve.call(
927
- t,
928
- n.data,
929
- n.headers,
930
- t.transformResponse
931
- ), n;
932
- }, function(n) {
933
- return qr(n) || (me(t), n && n.response && (n.response.data = ve.call(
934
- t,
935
- n.response.data,
936
- n.response.headers,
937
- t.transformResponse
938
- ))), Promise.reject(n);
939
- });
940
- }, R = b, bt = function(t, r) {
941
- r = r || {};
942
- var s = {};
943
- function n(c, d) {
944
- return R.isPlainObject(c) && R.isPlainObject(d) ? R.merge(c, d) : R.isPlainObject(d) ? R.merge({}, d) : R.isArray(d) ? d.slice() : d;
945
- }
946
- function a(c) {
947
- if (R.isUndefined(r[c])) {
948
- if (!R.isUndefined(t[c]))
949
- return n(void 0, t[c]);
950
- } else
951
- return n(t[c], r[c]);
952
- }
953
- function i(c) {
954
- if (!R.isUndefined(r[c]))
955
- return n(void 0, r[c]);
956
- }
957
- function o(c) {
958
- if (R.isUndefined(r[c])) {
959
- if (!R.isUndefined(t[c]))
960
- return n(void 0, t[c]);
961
- } else
962
- return n(void 0, r[c]);
963
- }
964
- function l(c) {
965
- if (c in r)
966
- return n(t[c], r[c]);
967
- if (c in t)
968
- return n(void 0, t[c]);
969
- }
970
- var f = {
971
- url: i,
972
- method: i,
973
- data: i,
974
- baseURL: o,
975
- transformRequest: o,
976
- transformResponse: o,
977
- paramsSerializer: o,
978
- timeout: o,
979
- timeoutMessage: o,
980
- withCredentials: o,
981
- adapter: o,
982
- responseType: o,
983
- xsrfCookieName: o,
984
- xsrfHeaderName: o,
985
- onUploadProgress: o,
986
- onDownloadProgress: o,
987
- decompress: o,
988
- maxContentLength: o,
989
- maxBodyLength: o,
990
- beforeRedirect: o,
991
- transport: o,
992
- httpAgent: o,
993
- httpsAgent: o,
994
- cancelToken: o,
995
- socketPath: o,
996
- responseEncoding: o,
997
- validateStatus: l
998
- };
999
- return R.forEach(Object.keys(t).concat(Object.keys(r)), function(d) {
1000
- var u = f[d] || a, v = u(d);
1001
- R.isUndefined(v) && u !== l || (s[d] = v);
1002
- }), s;
1003
- }, ye, Qe;
1004
- function wt() {
1005
- return Qe || (Qe = 1, ye = {
1006
- version: "0.27.2"
1007
- }), ye;
1008
- }
1009
- var Mr = wt().version, A = I, Pe = {};
1010
- ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(e, t) {
1011
- Pe[e] = function(s) {
1012
- return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
1013
- };
1014
- });
1015
- var Ye = {};
1016
- Pe.transitional = function(t, r, s) {
1017
- function n(a, i) {
1018
- return "[Axios v" + Mr + "] Transitional option '" + a + "'" + i + (s ? ". " + s : "");
1019
- }
1020
- return function(a, i, o) {
1021
- if (t === !1)
1022
- throw new A(
1023
- n(i, " has been removed" + (r ? " in " + r : "")),
1024
- A.ERR_DEPRECATED
1025
- );
1026
- return r && !Ye[i] && (Ye[i] = !0, console.warn(
1027
- n(
1028
- i,
1029
- " has been deprecated since v" + r + " and will be removed in the near future"
1030
- )
1031
- )), t ? t(a, i, o) : !0;
1032
- };
1033
- };
1034
- function Hr(e, t, r) {
1035
- if (typeof e != "object")
1036
- throw new A("options must be an object", A.ERR_BAD_OPTION_VALUE);
1037
- for (var s = Object.keys(e), n = s.length; n-- > 0; ) {
1038
- var a = s[n], i = t[a];
1039
- if (i) {
1040
- var o = e[a], l = o === void 0 || i(o, a, e);
1041
- if (l !== !0)
1042
- throw new A("option " + a + " must be " + l, A.ERR_BAD_OPTION_VALUE);
1043
- continue;
1044
- }
1045
- if (r !== !0)
1046
- throw new A("Unknown option " + a, A.ERR_BAD_OPTION);
1047
- }
1048
- }
1049
- var Jr = {
1050
- assertOptions: Hr,
1051
- validators: Pe
1052
- }, Et = b, Vr = ct, Ge = mr, Ze = $r, re = bt, Wr = mt, Rt = Jr, L = Rt.validators;
1053
- function F(e) {
1054
- this.defaults = e, this.interceptors = {
1055
- request: new Ge(),
1056
- response: new Ge()
1057
- };
1058
- }
1059
- F.prototype.request = function(t, r) {
1060
- typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = re(this.defaults, r), r.method ? r.method = r.method.toLowerCase() : this.defaults.method ? r.method = this.defaults.method.toLowerCase() : r.method = "get";
1061
- var s = r.transitional;
1062
- s !== void 0 && Rt.assertOptions(s, {
1063
- silentJSONParsing: L.transitional(L.boolean),
1064
- forcedJSONParsing: L.transitional(L.boolean),
1065
- clarifyTimeoutError: L.transitional(L.boolean)
1066
- }, !1);
1067
- var n = [], a = !0;
1068
- this.interceptors.request.forEach(function(v) {
1069
- typeof v.runWhen == "function" && v.runWhen(r) === !1 || (a = a && v.synchronous, n.unshift(v.fulfilled, v.rejected));
1070
- });
1071
- var i = [];
1072
- this.interceptors.response.forEach(function(v) {
1073
- i.push(v.fulfilled, v.rejected);
1074
- });
1075
- var o;
1076
- if (!a) {
1077
- var l = [Ze, void 0];
1078
- for (Array.prototype.unshift.apply(l, n), l = l.concat(i), o = Promise.resolve(r); l.length; )
1079
- o = o.then(l.shift(), l.shift());
1080
- return o;
1081
- }
1082
- for (var f = r; n.length; ) {
1083
- var c = n.shift(), d = n.shift();
1084
- try {
1085
- f = c(f);
1086
- } catch (u) {
1087
- d(u);
1088
- break;
1089
- }
1090
- }
1091
- try {
1092
- o = Ze(f);
1093
- } catch (u) {
1094
- return Promise.reject(u);
1095
- }
1096
- for (; i.length; )
1097
- o = o.then(i.shift(), i.shift());
1098
- return o;
1099
- };
1100
- F.prototype.getUri = function(t) {
1101
- t = re(this.defaults, t);
1102
- var r = Wr(t.baseURL, t.url);
1103
- return Vr(r, t.params, t.paramsSerializer);
1104
- };
1105
- Et.forEach(["delete", "get", "head", "options"], function(t) {
1106
- F.prototype[t] = function(r, s) {
1107
- return this.request(re(s || {}, {
1108
- method: t,
1109
- url: r,
1110
- data: (s || {}).data
1111
- }));
1112
- };
1113
- });
1114
- Et.forEach(["post", "put", "patch"], function(t) {
1115
- function r(s) {
1116
- return function(a, i, o) {
1117
- return this.request(re(o || {}, {
1118
- method: t,
1119
- headers: s ? {
1120
- "Content-Type": "multipart/form-data"
1121
- } : {},
1122
- url: a,
1123
- data: i
1124
- }));
1125
- };
1126
- }
1127
- F.prototype[t] = r(), F.prototype[t + "Form"] = r(!0);
1128
- });
1129
- var zr = F, be, et;
1130
- function Xr() {
1131
- if (et)
1132
- return be;
1133
- et = 1;
1134
- var e = ee();
1135
- function t(r) {
1136
- if (typeof r != "function")
1137
- throw new TypeError("executor must be a function.");
1138
- var s;
1139
- this.promise = new Promise(function(i) {
1140
- s = i;
1141
- });
1142
- var n = this;
1143
- this.promise.then(function(a) {
1144
- if (n._listeners) {
1145
- var i, o = n._listeners.length;
1146
- for (i = 0; i < o; i++)
1147
- n._listeners[i](a);
1148
- n._listeners = null;
1149
- }
1150
- }), this.promise.then = function(a) {
1151
- var i, o = new Promise(function(l) {
1152
- n.subscribe(l), i = l;
1153
- }).then(a);
1154
- return o.cancel = function() {
1155
- n.unsubscribe(i);
1156
- }, o;
1157
- }, r(function(i) {
1158
- n.reason || (n.reason = new e(i), s(n.reason));
1159
- });
1160
- }
1161
- return t.prototype.throwIfRequested = function() {
1162
- if (this.reason)
1163
- throw this.reason;
1164
- }, t.prototype.subscribe = function(s) {
1165
- if (this.reason) {
1166
- s(this.reason);
1167
- return;
1168
- }
1169
- this._listeners ? this._listeners.push(s) : this._listeners = [s];
1170
- }, t.prototype.unsubscribe = function(s) {
1171
- if (this._listeners) {
1172
- var n = this._listeners.indexOf(s);
1173
- n !== -1 && this._listeners.splice(n, 1);
1174
- }
1175
- }, t.source = function() {
1176
- var s, n = new t(function(i) {
1177
- s = i;
1178
- });
1179
- return {
1180
- token: n,
1181
- cancel: s
1182
- };
1183
- }, be = t, be;
1184
- }
1185
- var we, tt;
1186
- function Kr() {
1187
- return tt || (tt = 1, we = function(t) {
1188
- return function(s) {
1189
- return t.apply(null, s);
1190
- };
1191
- }), we;
1192
- }
1193
- var Ee, rt;
1194
- function Qr() {
1195
- if (rt)
1196
- return Ee;
1197
- rt = 1;
1198
- var e = b;
1199
- return Ee = function(r) {
1200
- return e.isObject(r) && r.isAxiosError === !0;
1201
- }, Ee;
1202
- }
1203
- var nt = b, Yr = ot, Q = zr, Gr = bt, Zr = Te;
1204
- function gt(e) {
1205
- var t = new Q(e), r = Yr(Q.prototype.request, t);
1206
- return nt.extend(r, Q.prototype, t), nt.extend(r, t), r.create = function(n) {
1207
- return gt(Gr(e, n));
1208
- }, r;
1209
- }
1210
- var E = gt(Zr);
1211
- E.Axios = Q;
1212
- E.CanceledError = ee();
1213
- E.CancelToken = Xr();
1214
- E.isCancel = yt();
1215
- E.VERSION = wt().version;
1216
- E.toFormData = vt;
1217
- E.AxiosError = I;
1218
- E.Cancel = E.CanceledError;
1219
- E.all = function(t) {
1220
- return Promise.all(t);
1221
- };
1222
- E.spread = Kr();
1223
- E.isAxiosError = Qr();
1224
- Ce.exports = E;
1225
- Ce.exports.default = E;
1226
- var en = Ce.exports, tn = en;
1227
- const Ot = /* @__PURE__ */ it(tn);
1228
- var Ct = { exports: {} };
1229
- /*!
1230
- * JavaScript Cookie v2.2.1
1231
- * https://github.com/js-cookie/js-cookie
1232
- *
1233
- * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
1234
- * Released under the MIT license
1235
- */
1236
- (function(e, t) {
1237
- (function(r) {
1238
- var s;
1239
- if (e.exports = r(), s = !0, !s) {
1240
- var n = window.Cookies, a = window.Cookies = r();
1241
- a.noConflict = function() {
1242
- return window.Cookies = n, a;
1243
- };
1244
- }
1245
- })(function() {
1246
- function r() {
1247
- for (var a = 0, i = {}; a < arguments.length; a++) {
1248
- var o = arguments[a];
1249
- for (var l in o)
1250
- i[l] = o[l];
1251
- }
1252
- return i;
1253
- }
1254
- function s(a) {
1255
- return a.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
1256
- }
1257
- function n(a) {
1258
- function i() {
1259
- }
1260
- function o(f, c, d) {
1261
- if (!(typeof document > "u")) {
1262
- d = r({
1263
- path: "/"
1264
- }, i.defaults, d), typeof d.expires == "number" && (d.expires = new Date(/* @__PURE__ */ new Date() * 1 + d.expires * 864e5)), d.expires = d.expires ? d.expires.toUTCString() : "";
1265
- try {
1266
- var u = JSON.stringify(c);
1267
- /^[\{\[]/.test(u) && (c = u);
1268
- } catch {
1269
- }
1270
- c = a.write ? a.write(c, f) : encodeURIComponent(String(c)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), f = encodeURIComponent(String(f)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
1271
- var v = "";
1272
- for (var x in d)
1273
- d[x] && (v += "; " + x, d[x] !== !0 && (v += "=" + d[x].split(";")[0]));
1274
- return document.cookie = f + "=" + c + v;
1275
- }
1276
- }
1277
- function l(f, c) {
1278
- if (!(typeof document > "u")) {
1279
- for (var d = {}, u = document.cookie ? document.cookie.split("; ") : [], v = 0; v < u.length; v++) {
1280
- var x = u[v].split("="), y = x.slice(1).join("=");
1281
- !c && y.charAt(0) === '"' && (y = y.slice(1, -1));
1282
- try {
1283
- var S = s(x[0]);
1284
- if (y = (a.read || a)(y, S) || s(y), c)
1285
- try {
1286
- y = JSON.parse(y);
1287
- } catch {
1288
- }
1289
- if (d[S] = y, f === S)
1290
- break;
1291
- } catch {
1292
- }
1293
- }
1294
- return f ? d[f] : d;
1295
- }
1296
- }
1297
- return i.set = o, i.get = function(f) {
1298
- return l(
1299
- f,
1300
- !1
1301
- /* read as raw */
1302
- );
1303
- }, i.getJSON = function(f) {
1304
- return l(
1305
- f,
1306
- !0
1307
- /* read as json */
1308
- );
1309
- }, i.remove = function(f, c) {
1310
- o(f, "", r(c, {
1311
- expires: -1
1312
- }));
1313
- }, i.defaults = {}, i.withConverter = n, i;
1314
- }
1315
- return n(function() {
1316
- });
1317
- });
1318
- })(Ct);
1319
- var rn = Ct.exports;
1320
- const G = /* @__PURE__ */ it(rn), nn = Ot.create({ baseURL: process.env.API_URL, withCredentials: !0 }), X = at({
1321
- code: {
1322
- value: "",
1323
- type: "",
1324
- method: "",
1325
- isSended: !1,
1326
- isValid: !1
1327
- }
1328
- });
1329
- async function an(e, t, r) {
1330
- return await nn.post("/api/twofa/sendcode", {
1331
- phone: e.phone.number,
1332
- email: e.email,
1333
- method: t,
1334
- type: r
1335
- }).then(
1336
- (s) => (X.code = s.data, X.code.isSended = !0, Promise.resolve(s.data)),
1337
- (s) => (console.log(s), P(s), Promise.reject(s))
1338
- );
1339
- }
1340
- st(X, (e, t) => {
1341
- });
1342
- const pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1343
- __proto__: null,
1344
- sendCode: an,
1345
- state: X
1346
- }, Symbol.toStringTag, { value: "Module" })), z = Ot.create({ baseURL: process.env.API_URL, withCredentials: !0 }), w = at({
1347
- user: {
1348
- _id: "",
1349
- username: "",
1350
- email: "",
1351
- phone: "",
1352
- password: "",
1353
- passwordRepeat: ""
1354
- },
1355
- access: {
1356
- roles: null,
1357
- token: null,
1358
- status: !1
1359
- }
1360
- });
1361
- if (G.get("user")) {
1362
- const { _id: e, email: t, phone: r, roles: s, accessToken: n } = JSON.parse(G.get("user"));
1363
- Object.assign(w.user, { _id: e, email: t, phone: r }), Object.assign(w.access, { token: n, roles: s, status: !!n }), z.interceptors.request.use((a) => (n && (a.headers["x-access-token"] = n), a), (a) => Promise.reject(a));
1364
- }
1365
- const sn = {
1366
- async login(e, t) {
1367
- try {
1368
- console.log(e.phone.number);
1369
- const r = await z.post("/api/auth/signin", {
1370
- email: e.email,
1371
- phone: e.phone.number,
1372
- password: e.password,
1373
- passwordRepeat: "",
1374
- type: t
1375
- });
1376
- return Re("user", r.data), console.log(r.data), Object.assign(w.user, {
1377
- ...r.data
1378
- }), Object.assign(w.access, {
1379
- token: r.data.accessToken,
1380
- status: !0,
1381
- roles: r.data.roles
1382
- }), r.data;
1383
- } catch (r) {
1384
- return Object.assign(w.access, {
1385
- token: null,
1386
- status: !1
1387
- }), P(r), Promise.reject(r);
1388
- }
1389
- },
1390
- async signup(e, t, r) {
1391
- const { password: s, passwordRepeat: n } = w.user;
1392
- if (s !== n) {
1393
- const a = {
1394
- response: {
1395
- data: { errorCode: "PASSWORDS_DO_NOT_MATCH" }
1396
- }
1397
- };
1398
- throw P(a), new Error(a.response.status);
1399
- }
1400
- try {
1401
- e.phone = e.phone.number;
1402
- const a = await z.post("/api/auth/signup", {
1403
- ...e,
1404
- type: t,
1405
- inviteCode: r
1406
- });
1407
- return a.data.accessToken && Re("user", a.data), Object.assign(w.user, {
1408
- ...a.data
1409
- }), Object.assign(w.access, {
1410
- token: a.data.accessToken,
1411
- status: !0,
1412
- roles: a.data.roles
1413
- }), a.data;
1414
- } catch (a) {
1415
- throw P(a), console.log("Sign up falied"), a;
1416
- }
1417
- },
1418
- logout() {
1419
- un("user"), Object.assign(w.user, {
1420
- email: "",
1421
- phone: "",
1422
- password: "",
1423
- passwordRepeat: ""
1424
- }), Object.assign(w.access, {
1425
- token: null,
1426
- status: !1
1427
- });
1428
- },
1429
- async resetPassword(e, t) {
1430
- try {
1431
- const r = await z.post("/api/auth/reset-password", {
1432
- email: e.email,
1433
- phone: e.phone.number,
1434
- type: t
1435
- });
1436
- return Object.assign(X.code, {
1437
- ...r.data,
1438
- isSended: !0
1439
- }), r.data;
1440
- } catch (r) {
1441
- return P(r), Promise.reject(r);
1442
- }
1443
- },
1444
- async updatePassword(e, t) {
1445
- const { password: r, passwordRepeat: s } = w.user;
1446
- if (r !== s) {
1447
- const n = {
1448
- response: {
1449
- data: { errorCode: "PASSWORDS_DO_NOT_MATCH" }
1450
- }
1451
- };
1452
- throw P(n), new Error(n.response.status);
1453
- }
1454
- try {
1455
- const n = await z.post("/api/auth/update-password", {
1456
- email: e.email,
1457
- phone: e.phone.number,
1458
- password: e.password,
1459
- passwordRepeat: e.passwordRepeat,
1460
- type: t
1461
- });
1462
- return n.data.accessToken && Re("user", n.data), Object.assign(w.user, {
1463
- ...n.data
1464
- }), Object.assign(w.access, {
1465
- token: n.data.accessToken,
1466
- status: !0
1467
- }), n.data;
1468
- } catch (n) {
1469
- return P(n), Promise.reject(n);
1470
- }
1471
- }
1472
- }, on = {
1473
- development: { secure: !1, expires: 1 },
1474
- production: { expires: 1, domain: process.env.API_URL, sameSite: "none", secure: !0 }
1475
- };
1476
- function Re(e, t, r = process.env.NODE_ENV) {
1477
- G.set(e, JSON.stringify(t), on[r]);
1478
- }
1479
- function un(e, t = process.env.NODE_ENV) {
1480
- const r = t === "production" ? { domain: process.env.API_URL } : {};
1481
- G.remove(e, r);
1482
- }
1483
- st(w, (e, t) => {
1484
- });
1485
- const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1486
- __proto__: null,
1487
- actions: sn,
1488
- state: w
1489
- }, Symbol.toStringTag, { value: "Module" }));
1490
- export {
1491
- G as C,
1492
- fn as F,
1493
- Dt as _,
1494
- Ot as a,
1495
- dn as b,
1496
- sn as c,
1497
- an as d,
1498
- X as e,
1499
- hn as f,
1500
- it as g,
1501
- w as s,
1502
- pn as t
1503
- };