@citizenplatform/core 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/README.md +32 -0
  2. package/dist/index.js +6 -0
  3. package/dist/index10.js +110 -0
  4. package/dist/index10.js.map +1 -0
  5. package/dist/index100.js +10 -0
  6. package/dist/index100.js.map +1 -0
  7. package/dist/index101.js +31 -0
  8. package/dist/index101.js.map +1 -0
  9. package/dist/index102.js +165 -0
  10. package/dist/index102.js.map +1 -0
  11. package/dist/index103.js +48 -0
  12. package/dist/index103.js.map +1 -0
  13. package/dist/index104.js +8 -0
  14. package/dist/index104.js.map +1 -0
  15. package/dist/index105.js +14 -0
  16. package/dist/index105.js.map +1 -0
  17. package/dist/index106.js +8 -0
  18. package/dist/index106.js.map +1 -0
  19. package/dist/index107.js +7 -0
  20. package/dist/index107.js.map +1 -0
  21. package/dist/index108.js +16 -0
  22. package/dist/index108.js.map +1 -0
  23. package/dist/index109.js +7 -0
  24. package/dist/index109.js.map +1 -0
  25. package/dist/index11.js +97 -0
  26. package/dist/index11.js.map +1 -0
  27. package/dist/index110.js +22 -0
  28. package/dist/index110.js.map +1 -0
  29. package/dist/index111.js +7 -0
  30. package/dist/index111.js.map +1 -0
  31. package/dist/index112.js +9 -0
  32. package/dist/index112.js.map +1 -0
  33. package/dist/index113.js +20 -0
  34. package/dist/index113.js.map +1 -0
  35. package/dist/index114.js +56 -0
  36. package/dist/index114.js.map +1 -0
  37. package/dist/index115.js +73 -0
  38. package/dist/index115.js.map +1 -0
  39. package/dist/index116.js +20 -0
  40. package/dist/index116.js.map +1 -0
  41. package/dist/index117.js +26 -0
  42. package/dist/index117.js.map +1 -0
  43. package/dist/index118.js +2 -0
  44. package/dist/index119.js +3 -0
  45. package/dist/index12.js +22 -0
  46. package/dist/index12.js.map +1 -0
  47. package/dist/index120.js +22 -0
  48. package/dist/index120.js.map +1 -0
  49. package/dist/index121.js +149 -0
  50. package/dist/index121.js.map +1 -0
  51. package/dist/index122.js +20 -0
  52. package/dist/index122.js.map +1 -0
  53. package/dist/index123.js +9 -0
  54. package/dist/index123.js.map +1 -0
  55. package/dist/index124.js +9 -0
  56. package/dist/index124.js.map +1 -0
  57. package/dist/index125.js +63 -0
  58. package/dist/index125.js.map +1 -0
  59. package/dist/index126.js +24 -0
  60. package/dist/index126.js.map +1 -0
  61. package/dist/index127.js +9 -0
  62. package/dist/index127.js.map +1 -0
  63. package/dist/index128.js +11 -0
  64. package/dist/index128.js.map +1 -0
  65. package/dist/index129.js +10 -0
  66. package/dist/index129.js.map +1 -0
  67. package/dist/index13.js +18 -0
  68. package/dist/index13.js.map +1 -0
  69. package/dist/index130.js +254 -0
  70. package/dist/index130.js.map +1 -0
  71. package/dist/index131.js +25 -0
  72. package/dist/index131.js.map +1 -0
  73. package/dist/index132.js +250 -0
  74. package/dist/index132.js.map +1 -0
  75. package/dist/index133.js +20 -0
  76. package/dist/index133.js.map +1 -0
  77. package/dist/index134.js +13 -0
  78. package/dist/index134.js.map +1 -0
  79. package/dist/index135.js +15 -0
  80. package/dist/index135.js.map +1 -0
  81. package/dist/index136.js +117 -0
  82. package/dist/index136.js.map +1 -0
  83. package/dist/index137.js +13 -0
  84. package/dist/index137.js.map +1 -0
  85. package/dist/index138.js +22 -0
  86. package/dist/index138.js.map +1 -0
  87. package/dist/index139.js +26 -0
  88. package/dist/index139.js.map +1 -0
  89. package/dist/index14.js +11 -0
  90. package/dist/index14.js.map +1 -0
  91. package/dist/index140.js +20 -0
  92. package/dist/index140.js.map +1 -0
  93. package/dist/index141.js +22 -0
  94. package/dist/index141.js.map +1 -0
  95. package/dist/index142.js +12 -0
  96. package/dist/index142.js.map +1 -0
  97. package/dist/index143.js +26 -0
  98. package/dist/index143.js.map +1 -0
  99. package/dist/index144.js +56 -0
  100. package/dist/index144.js.map +1 -0
  101. package/dist/index145.js +12 -0
  102. package/dist/index145.js.map +1 -0
  103. package/dist/index146.js +212 -0
  104. package/dist/index146.js.map +1 -0
  105. package/dist/index147.js +4 -0
  106. package/dist/index148.js +5 -0
  107. package/dist/index149.js +7 -0
  108. package/dist/index15.js +192 -0
  109. package/dist/index15.js.map +1 -0
  110. package/dist/index16.js +24 -0
  111. package/dist/index16.js.map +1 -0
  112. package/dist/index17.js +14 -0
  113. package/dist/index17.js.map +1 -0
  114. package/dist/index18.js +54 -0
  115. package/dist/index18.js.map +1 -0
  116. package/dist/index19.js +99 -0
  117. package/dist/index19.js.map +1 -0
  118. package/dist/index2.js +13 -0
  119. package/dist/index20.js +10 -0
  120. package/dist/index20.js.map +1 -0
  121. package/dist/index21.js +18 -0
  122. package/dist/index21.js.map +1 -0
  123. package/dist/index22.js +9 -0
  124. package/dist/index22.js.map +1 -0
  125. package/dist/index23.js +67 -0
  126. package/dist/index23.js.map +1 -0
  127. package/dist/index24.js +13 -0
  128. package/dist/index24.js.map +1 -0
  129. package/dist/index25.js +64 -0
  130. package/dist/index25.js.map +1 -0
  131. package/dist/index26.js +84 -0
  132. package/dist/index26.js.map +1 -0
  133. package/dist/index27.js +12 -0
  134. package/dist/index27.js.map +1 -0
  135. package/dist/index28.js +41 -0
  136. package/dist/index28.js.map +1 -0
  137. package/dist/index29.js +10 -0
  138. package/dist/index29.js.map +1 -0
  139. package/dist/index3.js +11 -0
  140. package/dist/index3.js.map +1 -0
  141. package/dist/index30.js +10 -0
  142. package/dist/index30.js.map +1 -0
  143. package/dist/index31.js +46 -0
  144. package/dist/index31.js.map +1 -0
  145. package/dist/index32.js +273 -0
  146. package/dist/index32.js.map +1 -0
  147. package/dist/index33.js +49 -0
  148. package/dist/index33.js.map +1 -0
  149. package/dist/index34.js +16 -0
  150. package/dist/index34.js.map +1 -0
  151. package/dist/index35.js +24 -0
  152. package/dist/index35.js.map +1 -0
  153. package/dist/index36.js +61 -0
  154. package/dist/index36.js.map +1 -0
  155. package/dist/index37.js +63 -0
  156. package/dist/index37.js.map +1 -0
  157. package/dist/index38.js +12 -0
  158. package/dist/index38.js.map +1 -0
  159. package/dist/index39.js +26 -0
  160. package/dist/index39.js.map +1 -0
  161. package/dist/index4.js +9 -0
  162. package/dist/index4.js.map +1 -0
  163. package/dist/index40.js +55 -0
  164. package/dist/index40.js.map +1 -0
  165. package/dist/index41.js +48 -0
  166. package/dist/index41.js.map +1 -0
  167. package/dist/index42.js +6 -0
  168. package/dist/index42.js.map +1 -0
  169. package/dist/index43.js +13 -0
  170. package/dist/index43.js.map +1 -0
  171. package/dist/index44.js +10 -0
  172. package/dist/index44.js.map +1 -0
  173. package/dist/index45.js +40 -0
  174. package/dist/index45.js.map +1 -0
  175. package/dist/index46.js +71 -0
  176. package/dist/index46.js.map +1 -0
  177. package/dist/index47.js +10 -0
  178. package/dist/index47.js.map +1 -0
  179. package/dist/index48.js +44 -0
  180. package/dist/index48.js.map +1 -0
  181. package/dist/index49.js +117 -0
  182. package/dist/index49.js.map +1 -0
  183. package/dist/index5.js +6 -0
  184. package/dist/index5.js.map +1 -0
  185. package/dist/index50.js +14 -0
  186. package/dist/index50.js.map +1 -0
  187. package/dist/index51.js +16 -0
  188. package/dist/index51.js.map +1 -0
  189. package/dist/index52.js +28 -0
  190. package/dist/index52.js.map +1 -0
  191. package/dist/index53.js +36 -0
  192. package/dist/index53.js.map +1 -0
  193. package/dist/index54.js +25 -0
  194. package/dist/index54.js.map +1 -0
  195. package/dist/index55.js +44 -0
  196. package/dist/index55.js.map +1 -0
  197. package/dist/index56.js +160 -0
  198. package/dist/index56.js.map +1 -0
  199. package/dist/index57.js +77 -0
  200. package/dist/index57.js.map +1 -0
  201. package/dist/index58.js +14 -0
  202. package/dist/index58.js.map +1 -0
  203. package/dist/index59.js +38 -0
  204. package/dist/index59.js.map +1 -0
  205. package/dist/index6.js +14 -0
  206. package/dist/index6.js.map +1 -0
  207. package/dist/index60.js +15 -0
  208. package/dist/index60.js.map +1 -0
  209. package/dist/index61.js +12 -0
  210. package/dist/index61.js.map +1 -0
  211. package/dist/index62.js +19 -0
  212. package/dist/index62.js.map +1 -0
  213. package/dist/index63.js +20 -0
  214. package/dist/index63.js.map +1 -0
  215. package/dist/index64.js +24 -0
  216. package/dist/index64.js.map +1 -0
  217. package/dist/index65.js +12 -0
  218. package/dist/index65.js.map +1 -0
  219. package/dist/index66.js +25 -0
  220. package/dist/index66.js.map +1 -0
  221. package/dist/index67.js +16 -0
  222. package/dist/index67.js.map +1 -0
  223. package/dist/index68.js +130 -0
  224. package/dist/index68.js.map +1 -0
  225. package/dist/index69.js +32 -0
  226. package/dist/index69.js.map +1 -0
  227. package/dist/index7.js +41 -0
  228. package/dist/index7.js.map +1 -0
  229. package/dist/index70.js +8 -0
  230. package/dist/index70.js.map +1 -0
  231. package/dist/index71.js +122 -0
  232. package/dist/index71.js.map +1 -0
  233. package/dist/index72.js +35 -0
  234. package/dist/index72.js.map +1 -0
  235. package/dist/index73.js +14 -0
  236. package/dist/index73.js.map +1 -0
  237. package/dist/index74.js +13 -0
  238. package/dist/index74.js.map +1 -0
  239. package/dist/index75.js +42 -0
  240. package/dist/index75.js.map +1 -0
  241. package/dist/index76.js +66 -0
  242. package/dist/index76.js.map +1 -0
  243. package/dist/index77.js +10 -0
  244. package/dist/index77.js.map +1 -0
  245. package/dist/index78.js +17 -0
  246. package/dist/index78.js.map +1 -0
  247. package/dist/index79.js +9 -0
  248. package/dist/index79.js.map +1 -0
  249. package/dist/index8.js +6 -0
  250. package/dist/index8.js.map +1 -0
  251. package/dist/index80.js +21 -0
  252. package/dist/index80.js.map +1 -0
  253. package/dist/index81.js +21 -0
  254. package/dist/index81.js.map +1 -0
  255. package/dist/index82.js +21 -0
  256. package/dist/index82.js.map +1 -0
  257. package/dist/index83.js +21 -0
  258. package/dist/index83.js.map +1 -0
  259. package/dist/index84.js +21 -0
  260. package/dist/index84.js.map +1 -0
  261. package/dist/index85.js +21 -0
  262. package/dist/index85.js.map +1 -0
  263. package/dist/index86.js +21 -0
  264. package/dist/index86.js.map +1 -0
  265. package/dist/index87.js +219 -0
  266. package/dist/index87.js.map +1 -0
  267. package/dist/index88.js +12 -0
  268. package/dist/index88.js.map +1 -0
  269. package/dist/index89.js +15 -0
  270. package/dist/index89.js.map +1 -0
  271. package/dist/index9.js +39 -0
  272. package/dist/index9.js.map +1 -0
  273. package/dist/index90.js +55 -0
  274. package/dist/index90.js.map +1 -0
  275. package/dist/index91.js +38 -0
  276. package/dist/index91.js.map +1 -0
  277. package/dist/index92.js +52 -0
  278. package/dist/index92.js.map +1 -0
  279. package/dist/index93.js +12 -0
  280. package/dist/index93.js.map +1 -0
  281. package/dist/index94.js +15 -0
  282. package/dist/index94.js.map +1 -0
  283. package/dist/index95.js +28 -0
  284. package/dist/index95.js.map +1 -0
  285. package/dist/index96.js +111 -0
  286. package/dist/index96.js.map +1 -0
  287. package/dist/index97.js +9 -0
  288. package/dist/index97.js.map +1 -0
  289. package/dist/index98.js +38 -0
  290. package/dist/index98.js.map +1 -0
  291. package/dist/index99.js +8 -0
  292. package/dist/index99.js.map +1 -0
  293. package/package.json +88 -0
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import e from "./index5.js";
3
+ import t from "./index68.js";
4
+ import n from "./index104.js";
5
+ import "./index106.js";
6
+ import r from "./index107.js";
7
+ //#region node_modules/@mui/material/styles/styled.mjs
8
+ var i = t({
9
+ themeId: e,
10
+ defaultTheme: n,
11
+ rootShouldForwardProp: r
12
+ });
13
+ //#endregion
14
+ export { i as default };
15
+
16
+ //# sourceMappingURL=index108.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index108.js","names":["THEME_ID"],"sources":["../node_modules/@mui/material/styles/styled.mjs"],"sourcesContent":["'use client';\n\nimport createStyled from '@mui/system/createStyled';\nimport defaultTheme from \"./defaultTheme.mjs\";\nimport THEME_ID from \"./identifier.mjs\";\nimport rootShouldForwardProp from \"./rootShouldForwardProp.mjs\";\nexport { default as slotShouldForwardProp } from \"./slotShouldForwardProp.mjs\";\nexport { default as rootShouldForwardProp } from \"./rootShouldForwardProp.mjs\";\nconst styled = createStyled({\n themeId: THEME_ID,\n defaultTheme,\n rootShouldForwardProp\n});\nexport default styled;"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAQA,IAAM,IAAS,EAAa;CAC1B,SAASA;CACT;CACA;AACF,CAAC"}
@@ -0,0 +1,7 @@
1
+ import e from "./index73.js";
2
+ //#region node_modules/@mui/material/utils/memoTheme.mjs
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
6
+
7
+ //# sourceMappingURL=index109.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index109.js","names":[],"sources":["../node_modules/@mui/material/utils/memoTheme.mjs"],"sourcesContent":["import { unstable_memoTheme } from '@mui/system';\nconst memoTheme = unstable_memoTheme;\nexport default memoTheme;"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAM,IAAY"}
@@ -0,0 +1,97 @@
1
+ import { COMMENT as e, DECLARATION as t, RULESET as n } from "./index8.js";
2
+ import { abs as r, append as i, charat as a, from as o, indexof as s, replace as c, sizeof as l, strlen as u, substr as d, trim as f } from "./index9.js";
3
+ import { alloc as p, caret as m, char as h, commenter as g, dealloc as _, delimit as v, escaping as y, identifier as b, next as x, node as S, peek as C, prev as w, whitespace as T } from "./index10.js";
4
+ //#region node_modules/stylis/src/Parser.js
5
+ function E(e) {
6
+ return _(D("", null, null, null, [""], e = p(e), 0, [0], e));
7
+ }
8
+ function D(e, t, n, r, l, d, f, p, h) {
9
+ for (var _ = 0, S = 0, E = f, j = 0, M = 0, N = 0, P = 1, F = 1, I = 1, L = 0, R = "", z = l, B = d, V = r, H = R; F;) switch (N = L, L = x()) {
10
+ case 40: if (N != 108 && a(H, E - 1) == 58) {
11
+ s(H += c(v(L), "&", "&\f"), "&\f") != -1 && (I = -1);
12
+ break;
13
+ }
14
+ case 34:
15
+ case 39:
16
+ case 91:
17
+ H += v(L);
18
+ break;
19
+ case 9:
20
+ case 10:
21
+ case 13:
22
+ case 32:
23
+ H += T(N);
24
+ break;
25
+ case 92:
26
+ H += y(m() - 1, 7);
27
+ continue;
28
+ case 47:
29
+ switch (C()) {
30
+ case 42:
31
+ case 47:
32
+ i(k(g(x(), m()), t, n), h);
33
+ break;
34
+ default: H += "/";
35
+ }
36
+ break;
37
+ case 123 * P: p[_++] = u(H) * I;
38
+ case 125 * P:
39
+ case 59:
40
+ case 0:
41
+ switch (L) {
42
+ case 0:
43
+ case 125: F = 0;
44
+ case 59 + S:
45
+ I == -1 && (H = c(H, /\f/g, "")), M > 0 && u(H) - E && i(M > 32 ? A(H + ";", r, n, E - 1) : A(c(H, " ", "") + ";", r, n, E - 2), h);
46
+ break;
47
+ case 59: H += ";";
48
+ default: if (i(V = O(H, t, n, _, S, l, p, R, z = [], B = [], E), d), L === 123) {
49
+ if (S === 0) D(H, t, V, V, z, d, E, p, B);
50
+ else switch (j === 99 && a(H, 3) === 110 ? 100 : j) {
51
+ case 100:
52
+ case 108:
53
+ case 109:
54
+ case 115:
55
+ D(e, V, V, r && i(O(e, V, V, 0, 0, l, p, R, l, z = [], E), B), l, B, E, p, r ? z : B);
56
+ break;
57
+ default: D(H, V, V, V, [""], B, 0, p, B);
58
+ }
59
+ }
60
+ }
61
+ _ = S = M = 0, P = I = 1, R = H = "", E = f;
62
+ break;
63
+ case 58: E = 1 + u(H), M = N;
64
+ default:
65
+ if (P < 1) {
66
+ if (L == 123) --P;
67
+ else if (L == 125 && P++ == 0 && w() == 125) continue;
68
+ }
69
+ switch (H += o(L), L * P) {
70
+ case 38:
71
+ I = S > 0 ? 1 : (H += "\f", -1);
72
+ break;
73
+ case 44:
74
+ p[_++] = (u(H) - 1) * I, I = 1;
75
+ break;
76
+ case 64:
77
+ C() === 45 && (H += v(x())), j = C(), S = E = u(R = H += b(m())), L++;
78
+ break;
79
+ case 45: N === 45 && u(H) == 2 && (P = 0);
80
+ }
81
+ }
82
+ return d;
83
+ }
84
+ function O(e, t, i, a, o, s, u, p, m, h, g) {
85
+ for (var _ = o - 1, v = o === 0 ? s : [""], y = l(v), b = 0, x = 0, C = 0; b < a; ++b) for (var w = 0, T = d(e, _ + 1, _ = r(x = u[b])), E = e; w < y; ++w) (E = f(x > 0 ? v[w] + " " + T : c(T, /&\f/g, v[w]))) && (m[C++] = E);
86
+ return S(e, t, i, o === 0 ? n : p, m, h, g);
87
+ }
88
+ function k(t, n, r) {
89
+ return S(t, n, r, e, o(h()), d(t, 2, -2), 0);
90
+ }
91
+ function A(e, n, r, i) {
92
+ return S(e, n, r, t, d(e, 0, i), d(e, i + 1, -1), i);
93
+ }
94
+ //#endregion
95
+ export { k as comment, E as compile, A as declaration, D as parse, O as ruleset };
96
+
97
+ //# sourceMappingURL=index11.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index11.js","names":[],"sources":["../node_modules/stylis/src/Parser.js"],"sourcesContent":["import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -0,0 +1,22 @@
1
+ "use client";
2
+ import { __toESM as e } from "./index2.js";
3
+ import { require_prop_types as t } from "./index34.js";
4
+ import n, { useDefaultProps as r } from "./index72.js";
5
+ import "react";
6
+ import { jsx as i } from "react/jsx-runtime";
7
+ //#region node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.mjs
8
+ var a = /* @__PURE__ */ e(t(), 1);
9
+ function o(e) {
10
+ return /*#__PURE__*/ i(n, { ...e });
11
+ }
12
+ process.env.NODE_ENV !== "production" && (o.propTypes = {
13
+ children: a.default.node,
14
+ value: a.default.object.isRequired
15
+ });
16
+ function s(e) {
17
+ return r(e);
18
+ }
19
+ //#endregion
20
+ export { o as default, s as useDefaultProps };
21
+
22
+ //# sourceMappingURL=index110.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index110.js","names":["SystemDefaultPropsProvider","PropTypes","useSystemDefaultProps"],"sources":["../node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport SystemDefaultPropsProvider, { useDefaultProps as useSystemDefaultProps } from '@mui/system/DefaultPropsProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction DefaultPropsProvider(props) {\n return /*#__PURE__*/_jsx(SystemDefaultPropsProvider, {\n ...props\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object.isRequired\n} : void 0;\nexport default DefaultPropsProvider;\nexport function useDefaultProps(params) {\n return useSystemDefaultProps(params);\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAMA,SAAS,EAAqB,GAAO;CACnC,OAAoB,gBAAKA,GAA4B,EACnD,GAAG,EACL,CAAC;AACH;AACyB,QAAA,IAAA,aAAA,iBAAe,EAAqB,YAAmC;CAQ9F,UAAUC,EAAAA,QAAU;CAIpB,OAAOA,EAAAA,QAAU,OAAO;AAC1B;AAEA,SAAgB,EAAgB,GAAQ;CACtC,OAAOC,EAAsB,CAAM;AACrC"}
@@ -0,0 +1,7 @@
1
+ import e from "./index47.js";
2
+ //#region node_modules/@mui/material/utils/capitalize.mjs
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
6
+
7
+ //# sourceMappingURL=index111.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index111.js","names":[],"sources":["../node_modules/@mui/material/utils/capitalize.mjs"],"sourcesContent":["import capitalize from '@mui/utils/capitalize';\nexport default capitalize;"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAA,IAAe"}
@@ -0,0 +1,9 @@
1
+ //#region node_modules/@mui/material/styles/reducedMotion.mjs
2
+ var e = { transition: "none" };
3
+ function t(e, t) {
4
+ return e === "always" ? t : e === "system" ? { "@media (prefers-reduced-motion: reduce)": t } : null;
5
+ }
6
+ //#endregion
7
+ export { e as defaultStyles, t as resolveReducedMotionStyles };
8
+
9
+ //# sourceMappingURL=index112.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index112.js","names":[],"sources":["../node_modules/@mui/material/styles/reducedMotion.mjs"],"sourcesContent":["export const defaultStyles = {\n transition: 'none'\n};\nexport function resolveReducedMotionStyles(reducedMotion, styles) {\n if (reducedMotion === 'always') {\n return styles;\n }\n if (reducedMotion === 'system') {\n return {\n '@media (prefers-reduced-motion: reduce)': styles\n };\n }\n return null;\n}"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,IAAgB,EAC3B,YAAY,OACd;AACA,SAAgB,EAA2B,GAAe,GAAQ;CAShE,OARI,MAAkB,WACb,IAEL,MAAkB,WACb,EACL,2CAA2C,EAC7C,IAEK;AACT"}
@@ -0,0 +1,20 @@
1
+ import { defaultStyles as e, resolveReducedMotionStyles as t } from "./index112.js";
2
+ //#region node_modules/@mui/material/transitions/utils.mjs
3
+ var n = {}, r = ["all"], i = {};
4
+ function a(n, r) {
5
+ let i = r ?? e;
6
+ return t(n.motion?.reducedMotion, i);
7
+ }
8
+ function o(e, t = r, o = i) {
9
+ let s = e.transitions?.create?.(t, o), c = a(e);
10
+ if (s === void 0) return c ?? n;
11
+ let l = { transition: s };
12
+ return c ? {
13
+ ...l,
14
+ ...c
15
+ } : l;
16
+ }
17
+ //#endregion
18
+ export { a as getReducedMotionStyles, o as getTransitionStyles };
19
+
20
+ //# sourceMappingURL=index113.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index113.js","names":[],"sources":["../node_modules/@mui/material/transitions/utils.mjs"],"sourcesContent":["import { defaultStyles, resolveReducedMotionStyles } from \"../styles/reducedMotion.mjs\";\nexport const reflow = node => node.scrollTop;\nconst DEFAULT_TRANSLATE_OFFSET = {\n offsetX: 0,\n offsetY: 0\n};\nconst EMPTY_STYLE = {};\nconst DEFAULT_TRANSITION_PROPS = ['all'];\nconst EMPTY_OPTIONS = {};\nconst transformOffsetIndexes = {\n matrix: [4, 5],\n matrix3d: [12, 13],\n translate: [0, 1],\n translate3d: [0, 1],\n translateX: [0, null],\n translateY: [null, 0]\n};\nfunction parseTranslateValue(value) {\n const parsedValue = parseFloat(value ?? '');\n return Number.isNaN(parsedValue) ? 0 : parsedValue;\n}\nfunction parseTransform(transform) {\n const match = transform.match(/^(matrix|matrix3d|translate|translate3d|translateX|translateY)\\((.+)\\)$/);\n if (!match) {\n return null;\n }\n return {\n type: match[1],\n values: match[2].split(',').map(parseTranslateValue)\n };\n}\nfunction getTranslateOffsetValue(values, index) {\n return index === null ? 0 : values[index] || 0;\n}\n\n/**\n * Extracts the x/y translation from a CSS transform string.\n *\n * Transition components use these offsets when calculating off-screen positions:\n * if an element is already translated, the distance needed to hide it must start\n * from that visual position instead of its untransformed layout position.\n *\n * CSSOM commonly serializes translations as matrix() or matrix3d(), while inline\n * gesture styles may use translate(), translate3d(), translateX(), or\n * translateY(). This helper normalizes those supported forms into numeric pixel\n * offsets and returns zero offsets for empty, none, or unsupported transforms.\n */\nexport function getTranslateOffsets(transform) {\n if (!transform || transform === 'none') {\n return DEFAULT_TRANSLATE_OFFSET;\n }\n const parsedTransform = parseTransform(transform);\n if (!parsedTransform) {\n return DEFAULT_TRANSLATE_OFFSET;\n }\n const {\n type,\n values\n } = parsedTransform;\n const offsetIndexes = transformOffsetIndexes[type];\n if (!offsetIndexes) {\n return DEFAULT_TRANSLATE_OFFSET;\n }\n return {\n offsetX: getTranslateOffsetValue(values, offsetIndexes[0]),\n offsetY: getTranslateOffsetValue(values, offsetIndexes[1])\n };\n}\nexport function normalizedTransitionCallback(nodeRef, callback) {\n return maybeIsAppearing => {\n if (callback) {\n const node = nodeRef.current;\n // Enter callbacks receive isAppearing; exit callbacks do not.\n if (maybeIsAppearing === undefined) {\n callback(node);\n } else {\n callback(node, maybeIsAppearing);\n }\n }\n };\n}\n/**\n * Return the child style for a transition. Reuse predefined style objects when\n * no custom styles are present so memoized children see the same object.\n */\nexport function getTransitionChildStyle(state, inProp, baseStyles, hiddenStyles, styleProp, childStyle) {\n const base = state === 'exited' && !inProp ? hiddenStyles : baseStyles[state] || baseStyles.exited;\n return styleProp || childStyle ? {\n ...base,\n ...styleProp,\n ...childStyle\n } : base;\n}\nexport function getTransitionProps(props, options) {\n const {\n timeout,\n easing,\n style = EMPTY_STYLE\n } = props;\n return {\n duration: style.transitionDuration ?? (typeof timeout === 'number' ? timeout : timeout[options.mode] || 0),\n easing: style.transitionTimingFunction ?? (typeof easing === 'object' ? easing[options.mode] : easing),\n delay: style.transitionDelay\n };\n}\n\n/**\n * Returns CSS that disables component-owned transitions when reduced motion is active.\n * Pass custom styles only when the default `transition: none` reset is not enough.\n */\nexport function getReducedMotionStyles(theme, styles) {\n const resolvedStyles = styles ?? defaultStyles;\n return resolveReducedMotionStyles(theme.motion?.reducedMotion, resolvedStyles);\n}\nexport function getTransitionStyles(theme, props = DEFAULT_TRANSITION_PROPS, options = EMPTY_OPTIONS) {\n const transition = theme.transitions?.create?.(props, options);\n const reducedMotionStyles = getReducedMotionStyles(theme);\n if (transition === undefined) {\n return reducedMotionStyles ?? EMPTY_STYLE;\n }\n const transitionStyles = {\n transition\n };\n return reducedMotionStyles ? {\n ...transitionStyles,\n ...reducedMotionStyles\n } : transitionStyles;\n}"],"x_google_ignoreList":[0],"mappings":";;AAMA,IAAM,IAAc,CAAC,GACf,IAA2B,CAAC,KAAK,GACjC,IAAgB,CAAC;AAsGvB,SAAgB,EAAuB,GAAO,GAAQ;CACpD,IAAM,IAAiB,KAAU;CACjC,OAAO,EAA2B,EAAM,QAAQ,eAAe,CAAc;AAC/E;AACA,SAAgB,EAAoB,GAAO,IAAQ,GAA0B,IAAU,GAAe;CACpG,IAAM,IAAa,EAAM,aAAa,SAAS,GAAO,CAAO,GACvD,IAAsB,EAAuB,CAAK;CACxD,IAAI,MAAe,KAAA,GACjB,OAAO,KAAuB;CAEhC,IAAM,IAAmB,EACvB,cACF;CACA,OAAO,IAAsB;EAC3B,GAAG;EACH,GAAG;CACL,IAAI;AACN"}
@@ -0,0 +1,56 @@
1
+ import { useAppThemeContext as e } from "./index3.js";
2
+ import t from "./index105.js";
3
+ import n from "react";
4
+ import { Link as r, Typography as i } from "@mui/material";
5
+ import { useTranslation as a } from "react-i18next";
6
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
7
+ var l = n.memo(({ text: l, size: u, color: d, sx: f, isRequired: p = !1, variantType: m = "default", onClick: h, target: g = "_self", ..._ }) => {
8
+ let { t: v } = a(), { fontSize: y } = e(), b = t(), x = {
9
+ color: n.useMemo(() => {
10
+ if (d) return d;
11
+ switch (m) {
12
+ case "primary": return b.palette.primary.main;
13
+ case "secondary": return b.palette.text.secondary;
14
+ case "error": return b.palette.error.main;
15
+ case "link": return b.palette.primary.main;
16
+ default: return b.palette.text.primary;
17
+ }
18
+ }, [
19
+ d,
20
+ m,
21
+ b
22
+ ]),
23
+ fontSize: u || y,
24
+ ...f
25
+ }, S = /* @__PURE__ */ c(o, { children: [typeof l == "string" ? v(l) : l, p && /* @__PURE__ */ s(i, {
26
+ component: "span",
27
+ sx: {
28
+ color: b.palette.error.main,
29
+ fontSize: u || y,
30
+ ml: .25
31
+ },
32
+ children: "*"
33
+ })] });
34
+ return m === "link" ? /* @__PURE__ */ s(r, {
35
+ target: g,
36
+ underline: "always",
37
+ onClick: h,
38
+ sx: {
39
+ ...x,
40
+ cursor: "pointer",
41
+ fontWeight: 500,
42
+ color: b.palette.text.primary,
43
+ "&:hover": { opacity: .8 }
44
+ },
45
+ children: S
46
+ }) : /* @__PURE__ */ s(i, {
47
+ ..._,
48
+ sx: x,
49
+ onClick: h,
50
+ children: S
51
+ });
52
+ });
53
+ //#endregion
54
+ export { l as default };
55
+
56
+ //# sourceMappingURL=index114.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index114.js","names":[],"sources":["../src/libs/shared/UI/typography/Typography2.tsx"],"sourcesContent":["import React from \"react\";\r\nimport {\r\n Typography,\r\n Link\r\n} from \"@mui/material\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useAppThemeContext } from \"../../../core/context/AppThemeContext\";\r\nimport { useTheme } from \"@mui/material/styles\";\r\nimport type { TypographyProps } from \"libs/shared/types/common-types\";\r\n\r\n\r\nconst Typography2: React.FC<TypographyProps> = ({\r\n text,\r\n size: propFontSize,\r\n color,\r\n sx,\r\n isRequired = false,\r\n variantType = \"default\",\r\n onClick,\r\n target = \"_self\",\r\n ...props\r\n}) => {\r\n const { t } = useTranslation();\r\n const { fontSize } = useAppThemeContext();\r\n const theme = useTheme();\r\n\r\n const resolvedColor = React.useMemo(() => {\r\n if (color) return color;\r\n\r\n switch (variantType) {\r\n case \"primary\":\r\n return theme.palette.primary.main;\r\n\r\n case \"secondary\":\r\n return theme.palette.text.secondary;\r\n\r\n case \"error\":\r\n return theme.palette.error.main;\r\n\r\n case \"link\":\r\n return theme.palette.primary.main;\r\n\r\n default:\r\n return theme.palette.text.primary;\r\n }\r\n }, [color, variantType, theme]);\r\n\r\n const commonStyle = {\r\n color: resolvedColor,\r\n fontSize: propFontSize || fontSize,\r\n ...sx,\r\n };\r\n\r\n const content = (\r\n <>\r\n {typeof text === \"string\" ? t(text) : text}\r\n {isRequired && (\r\n <Typography\r\n component=\"span\"\r\n sx={{\r\n color: theme.palette.error.main,\r\n fontSize: propFontSize || fontSize,\r\n ml: 0.25,\r\n }}\r\n >\r\n *\r\n </Typography>\r\n )}\r\n </>\r\n );\r\n\r\n if (variantType === \"link\") {\r\n return (\r\n <Link\r\n target={target}\r\n underline=\"always\"\r\n onClick={onClick}\r\n sx={{\r\n ...commonStyle,\r\n cursor: \"pointer\",\r\n fontWeight: 500,\r\n color : theme.palette.text.primary,\r\n \"&:hover\": {\r\n opacity: 0.8,\r\n },\r\n }}\r\n >\r\n {content}\r\n </Link>\r\n );\r\n }\r\n\r\n return (\r\n <Typography\r\n {...props}\r\n sx={commonStyle}\r\n onClick={onClick}\r\n >\r\n {content}\r\n </Typography>\r\n );\r\n};\r\n\r\nexport default React.memo(Typography2);"],"mappings":";;;;;;AAuGA,IAAA,IAAe,EAAM,MA5F2B,EAC9C,SACA,MAAM,GACN,UACA,OACA,gBAAa,IACb,iBAAc,WACd,YACA,YAAS,SACT,GAAG,QACC;CACJ,IAAM,EAAE,SAAM,EAAe,GACvB,EAAE,gBAAa,EAAmB,GAClC,IAAQ,EAAS,GAuBjB,IAAc;EAClB,OAtBoB,EAAM,cAAc;GACxC,IAAI,GAAO,OAAO;GAElB,QAAQ,GAAR;IACE,KAAK,WACH,OAAO,EAAM,QAAQ,QAAQ;IAE/B,KAAK,aACH,OAAO,EAAM,QAAQ,KAAK;IAE5B,KAAK,SACH,OAAO,EAAM,QAAQ,MAAM;IAE7B,KAAK,QACH,OAAO,EAAM,QAAQ,QAAQ;IAE/B,SACE,OAAO,EAAM,QAAQ,KAAK;GAC9B;EACF,GAAG;GAAC;GAAO;GAAa;EAAK,CAGpB;EACP,UAAU,KAAgB;EAC1B,GAAG;CACL,GAEM,IACJ,kBAAA,GAAA,EAAA,UAAA,CACG,OAAO,KAAS,WAAW,EAAE,CAAI,IAAI,GACrC,KACC,kBAAC,GAAD;EACE,WAAU;EACV,IAAI;GACF,OAAO,EAAM,QAAQ,MAAM;GAC3B,UAAU,KAAgB;GAC1B,IAAI;EACN;EACD,UAAA;CAEW,CAAA,CAEd,EAAA,CAAA;CAwBJ,OArBI,MAAgB,SAEhB,kBAAC,GAAD;EACU;EACR,WAAU;EACD;EACT,IAAI;GACF,GAAG;GACH,QAAQ;GACR,YAAY;GACZ,OAAQ,EAAM,QAAQ,KAAK;GAC3B,WAAW,EACT,SAAS,GACX;EACF;EAEC,UAAA;CACG,CAAA,IAKR,kBAAC,GAAD;EACE,GAAI;EACJ,IAAI;EACK;EAER,UAAA;CACS,CAAA;AAEhB,CAEqC"}
@@ -0,0 +1,73 @@
1
+ import e from "./index114.js";
2
+ import { Box as t, Button as n } from "@mui/material";
3
+ import { Link as r } from "react-router-dom";
4
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ //#region src/libs/shared/subComponents/ErrorFallbackPage.tsx
6
+ function o() {
7
+ return /* @__PURE__ */ i(t, {
8
+ sx: {
9
+ minHeight: "100vh",
10
+ display: "flex",
11
+ alignItems: "center",
12
+ justifyContent: "center",
13
+ backgroundColor: "#f8f9fa",
14
+ padding: "20px"
15
+ },
16
+ children: /* @__PURE__ */ a(t, {
17
+ sx: {
18
+ textAlign: "center",
19
+ maxWidth: "500px"
20
+ },
21
+ children: [
22
+ /* @__PURE__ */ i(t, {
23
+ sx: {
24
+ width: "80px",
25
+ height: "80px",
26
+ backgroundColor: "#fee2e2",
27
+ borderRadius: "50%",
28
+ display: "flex",
29
+ alignItems: "center",
30
+ justifyContent: "center",
31
+ margin: "0 auto 24px"
32
+ },
33
+ children: /* @__PURE__ */ i(e, {
34
+ text: "!",
35
+ component: "span",
36
+ sx: {
37
+ fontSize: "40px",
38
+ color: "#dc3545"
39
+ }
40
+ })
41
+ }),
42
+ /* @__PURE__ */ i(e, {
43
+ component: "h1",
44
+ text: "Something went wrong",
45
+ sx: {
46
+ fontSize: "24px",
47
+ color: "#212529",
48
+ marginBottom: "12px"
49
+ }
50
+ }),
51
+ /* @__PURE__ */ i(e, {
52
+ text: "We encountered an unexpected error. Please return to the home page.",
53
+ sx: {
54
+ fontSize: "16px",
55
+ color: "#6c757d",
56
+ marginBottom: "24px"
57
+ }
58
+ }),
59
+ /* @__PURE__ */ i(r, {
60
+ to: "/home",
61
+ children: /* @__PURE__ */ i(n, {
62
+ onClick: () => {},
63
+ children: "Back to home"
64
+ })
65
+ })
66
+ ]
67
+ })
68
+ });
69
+ }
70
+ //#endregion
71
+ export { o as default };
72
+
73
+ //# sourceMappingURL=index115.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index115.js","names":[],"sources":["../src/libs/shared/subComponents/ErrorFallbackPage.tsx"],"sourcesContent":["import { Box, Button } from \"@mui/material\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Typography2 from \"ui/typography/Typography2\";\r\n\r\nfunction ErrorFallbackPage() {\r\n return (\r\n <Box\r\n sx={{\r\n minHeight: \"100vh\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n backgroundColor: \"#f8f9fa\",\r\n padding: \"20px\",\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n textAlign: \"center\",\r\n maxWidth: \"500px\",\r\n }}\r\n >\r\n <Box\r\n sx={{\r\n width: \"80px\",\r\n height: \"80px\",\r\n backgroundColor: \"#fee2e2\",\r\n borderRadius: \"50%\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n margin: \"0 auto 24px\",\r\n }}\r\n >\r\n <Typography2 text=\"!\" component='span' sx={{ fontSize: \"40px\", color: \"#dc3545\" }} />\r\n </Box>\r\n <Typography2\r\n component='h1'\r\n text=\"Something went wrong\"\r\n sx={{\r\n fontSize: \"24px\",\r\n color: \"#212529\",\r\n marginBottom: \"12px\",\r\n }}\r\n />\r\n <Typography2\r\n text=\"We encountered an unexpected error. Please return to the home page.\"\r\n sx={{\r\n fontSize: \"16px\",\r\n color: \"#6c757d\",\r\n marginBottom: \"24px\",\r\n }}\r\n />\r\n <Link to={\"/home\"}>\r\n <Button onClick={() => {}}>Back to home</Button>\r\n </Link>\r\n </Box>\r\n </Box>\r\n );\r\n}\r\n\r\nexport default ErrorFallbackPage;\r\n"],"mappings":";;;;;AAIA,SAAS,IAAoB;CAC3B,OACE,kBAAC,GAAD;EACE,IAAI;GACF,WAAW;GACX,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,iBAAiB;GACjB,SAAS;EACX;EAEA,UAAA,kBAAC,GAAD;GACE,IAAI;IACF,WAAW;IACX,UAAU;GACZ;GAJF,UAAA;IAME,kBAAC,GAAD;KACE,IAAI;MACF,OAAO;MACP,QAAQ;MACR,iBAAiB;MACjB,cAAc;MACd,SAAS;MACT,YAAY;MACZ,gBAAgB;MAChB,QAAQ;KACV;KAEA,UAAA,kBAAC,GAAD;MAAa,MAAK;MAAI,WAAU;MAAO,IAAI;OAAE,UAAU;OAAQ,OAAO;MAAU;KAAI,CAAA;IACjF,CAAA;IACL,kBAAC,GAAD;KACE,WAAU;KACV,MAAK;KACL,IAAI;MACF,UAAU;MACV,OAAO;MACP,cAAc;KAChB;IACD,CAAA;IACD,kBAAC,GAAD;KACE,MAAK;KACL,IAAI;MACF,UAAU;MACV,OAAO;MACP,cAAc;KAChB;IACD,CAAA;IACD,kBAAC,GAAD;KAAM,IAAI;KACR,UAAA,kBAAC,GAAD;MAAQ,eAAe,CAAC;MAAG,UAAA;KAAoB,CAAA;IAC3C,CAAA;GACH;;CACF,CAAA;AAET"}
@@ -0,0 +1,20 @@
1
+ //#region src/libs/core/utils/loggers.ts
2
+ var e = {
3
+ info: "color: #25eb2f; font-weight: bold;",
4
+ warn: "color: #ffe817; font-weight: bold;",
5
+ error: "color: #dc2626; font-weight: bold;"
6
+ }, t = {
7
+ info(t, ...n) {
8
+ console.info(`%c[INFO] ${t}`, e.info, ...n);
9
+ },
10
+ warn(t, ...n) {
11
+ console.warn(`%c[WARN] ${t}`, e.warn, ...n);
12
+ },
13
+ error(t, ...n) {
14
+ console.error(`%c[ERROR] ${t}`, e.error, ...n);
15
+ }
16
+ };
17
+ //#endregion
18
+ export { t as default };
19
+
20
+ //# sourceMappingURL=index116.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index116.js","names":[],"sources":["../src/libs/core/utils/loggers.ts"],"sourcesContent":["type LogParams = unknown[];\r\n\r\nconst isDev = true;\r\n\r\nconst styles = {\r\n info: \"color: #25eb2f; font-weight: bold;\", // green\r\n warn: \"color: #ffe817; font-weight: bold;\", // yellow\r\n error: \"color: #dc2626; font-weight: bold;\", // red\r\n};\r\n\r\nconst Logger = {\r\n info(message: string, ...optionalParams: LogParams): void {\r\n if (!isDev) return;\r\n\r\n console.info(`%c[INFO] ${message}`, styles.info, ...optionalParams);\r\n },\r\n\r\n warn(message: string, ...optionalParams: LogParams): void {\r\n if (!isDev) return;\r\n\r\n console.warn(`%c[WARN] ${message}`, styles.warn, ...optionalParams);\r\n },\r\n\r\n error(message: string, ...optionalParams: LogParams): void {\r\n console.error(`%c[ERROR] ${message}`, styles.error, ...optionalParams);\r\n },\r\n} as const;\r\n\r\nexport default Logger;\r\n"],"mappings":";AAIA,IAAM,IAAS;CACb,MAAM;CACN,MAAM;CACN,OAAO;AACT,GAEM,IAAS;CACb,KAAK,GAAiB,GAAG,GAAiC;EAGxD,QAAQ,KAAK,YAAY,KAAW,EAAO,MAAM,GAAG,CAAc;CACpE;CAEA,KAAK,GAAiB,GAAG,GAAiC;EAGxD,QAAQ,KAAK,YAAY,KAAW,EAAO,MAAM,GAAG,CAAc;CACpE;CAEA,MAAM,GAAiB,GAAG,GAAiC;EACzD,QAAQ,MAAM,aAAa,KAAW,EAAO,OAAO,GAAG,CAAc;CACvE;AACF"}
@@ -0,0 +1,26 @@
1
+ import e from "./index115.js";
2
+ import t from "./index116.js";
3
+ import { Component as n } from "react";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ //#region src/libs/core/error/ErrorBoundary.tsx
6
+ var i = class extends n {
7
+ constructor(e) {
8
+ super(e), this.state = { hasError: !1 };
9
+ }
10
+ static getDerivedStateFromError(e) {
11
+ return {
12
+ hasError: !0,
13
+ error: e
14
+ };
15
+ }
16
+ componentDidCatch(e, n) {
17
+ t.error("ErrorBoundary caught an error:", e, n);
18
+ }
19
+ render() {
20
+ return this.state.hasError ? this.props.fallback || /* @__PURE__ */ r(e, {}) : this.props.children;
21
+ }
22
+ };
23
+ //#endregion
24
+ export { i as default };
25
+
26
+ //# sourceMappingURL=index117.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index117.js","names":[],"sources":["../src/libs/core/error/ErrorBoundary.tsx"],"sourcesContent":["import React, { Component, type ReactNode } from \"react\";\r\nimport ErrorFallbackPage from \"../../shared/subComponents/ErrorFallbackPage\";\r\nimport Logger from \"utils/loggers\";\r\n\r\ninterface Props {\r\n children: ReactNode;\r\n fallback?: ReactNode;\r\n}\r\n\r\ninterface State {\r\n hasError: boolean;\r\n error?: Error;\r\n}\r\n\r\nexport default class ErrorBoundary extends Component<Props, State> {\r\n constructor(props: Props) {\r\n super(props);\r\n this.state = { hasError: false };\r\n }\r\n\r\n static getDerivedStateFromError(error: Error): State {\r\n return { hasError: true, error };\r\n }\r\n\r\n componentDidCatch(error: Error, errorInfo: React.ErrorInfo) {\r\n Logger.error(\"ErrorBoundary caught an error:\", error, errorInfo);\r\n }\r\n\r\n render() {\r\n if (this.state.hasError) {\r\n return this.props.fallback || <ErrorFallbackPage />;\r\n }\r\n\r\n return this.props.children;\r\n }\r\n}\r\n"],"mappings":";;;;;AAcA,IAAqB,IAArB,cAA2C,EAAwB;CACjE,YAAY,GAAc;EAExB,AADA,MAAM,CAAK,GACX,KAAK,QAAQ,EAAE,UAAU,GAAM;CACjC;CAEA,OAAO,yBAAyB,GAAqB;EACnD,OAAO;GAAE,UAAU;GAAM;EAAM;CACjC;CAEA,kBAAkB,GAAc,GAA4B;EAC1D,EAAO,MAAM,kCAAkC,GAAO,CAAS;CACjE;CAEA,SAAS;EAKP,OAJI,KAAK,MAAM,WACN,KAAK,MAAM,YAAY,kBAAC,GAAD,CAAoB,CAAA,IAG7C,KAAK,MAAM;CACpB;AACF"}
@@ -0,0 +1,2 @@
1
+ import e from "./index117.js";
2
+ export { e as ErrorBoundary };
@@ -0,0 +1,3 @@
1
+ import e from "./index117.js";
2
+ import "./index118.js";
3
+ export { e as ErrorBoundary };
@@ -0,0 +1,22 @@
1
+ import { COMMENT as e, DECLARATION as t, IMPORT as n, KEYFRAMES as r, LAYER as i, RULESET as a } from "./index8.js";
2
+ import { sizeof as o, strlen as s } from "./index9.js";
3
+ //#region node_modules/stylis/src/Serializer.js
4
+ function c(e, t) {
5
+ for (var n = "", r = o(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
6
+ return n;
7
+ }
8
+ function l(o, l, u, d) {
9
+ switch (o.type) {
10
+ case i: if (o.children.length) break;
11
+ case n:
12
+ case t: return o.return = o.return || o.value;
13
+ case e: return "";
14
+ case r: return o.return = o.value + "{" + c(o.children, d) + "}";
15
+ case a: o.value = o.props.join(",");
16
+ }
17
+ return s(u = c(o.children, d)) ? o.return = o.value + "{" + u + "}" : "";
18
+ }
19
+ //#endregion
20
+ export { c as serialize, l as stringify };
21
+
22
+ //# sourceMappingURL=index12.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index12.js","names":[],"sources":["../node_modules/stylis/src/Serializer.js"],"sourcesContent":["import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAQA,SAAgB,EAAW,GAAU,GAAU;CAI9C,KAAK,IAHD,IAAS,IACT,IAAS,EAAO,CAAQ,GAEnB,IAAI,GAAG,IAAI,GAAQ,KAC3B,KAAU,EAAS,EAAS,IAAI,GAAG,GAAU,CAAQ,KAAK;CAE3D,OAAO;AACR;AASA,SAAgB,EAAW,GAAS,GAAO,GAAU,GAAU;CAC9D,QAAQ,EAAQ,MAAhB;EACC,KAAK,GAAO,IAAI,EAAQ,SAAS,QAAQ;EACzC,KAAK;EAAQ,KAAK,GAAa,OAAO,EAAQ,SAAS,EAAQ,UAAU,EAAQ;EACjF,KAAK,GAAS,OAAO;EACrB,KAAK,GAAW,OAAO,EAAQ,SAAS,EAAQ,QAAQ,MAAM,EAAU,EAAQ,UAAU,CAAQ,IAAI;EACtG,KAAK,GAAS,EAAQ,QAAQ,EAAQ,MAAM,KAAK,GAAG;CACrD;CAEA,OAAO,EAAO,IAAW,EAAU,EAAQ,UAAU,CAAQ,CAAC,IAAI,EAAQ,SAAS,EAAQ,QAAQ,MAAM,IAAW,MAAM;AAC3H"}
@@ -0,0 +1,22 @@
1
+ import e from "./index64.js";
2
+ import t from "./index65.js";
3
+ //#region node_modules/@mui/material/SvgIcon/svgIconClasses.mjs
4
+ function n(t) {
5
+ return e("MuiSvgIcon", t);
6
+ }
7
+ t("MuiSvgIcon", [
8
+ "root",
9
+ "colorPrimary",
10
+ "colorSecondary",
11
+ "colorAction",
12
+ "colorError",
13
+ "colorDisabled",
14
+ "fontSizeInherit",
15
+ "fontSizeSmall",
16
+ "fontSizeMedium",
17
+ "fontSizeLarge"
18
+ ]);
19
+ //#endregion
20
+ export { n as getSvgIconUtilityClass };
21
+
22
+ //# sourceMappingURL=index120.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index120.js","names":[],"sources":["../node_modules/@mui/material/SvgIcon/svgIconClasses.mjs"],"sourcesContent":["import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSvgIconUtilityClass(slot) {\n return generateUtilityClass('MuiSvgIcon', slot);\n}\nconst svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);\nexport default svgIconClasses;"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAgB,EAAuB,GAAM;CAC3C,OAAO,EAAqB,cAAc,CAAI;AAChD;AACuB,EAAuB,cAAc;CAAC;CAAQ;CAAgB;CAAkB;CAAe;CAAc;CAAiB;CAAmB;CAAiB;CAAkB;AAAe,CAAC"}