@m4l/graphics 0.0.16 → 0.0.18

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 (82) hide show
  1. package/dist/commonjs.js +1 -0
  2. package/dist/components/Page/index.js +31 -0
  3. package/dist/components/ProgressBarStyle/index.js +34 -0
  4. package/dist/components/index.js +4 -1318
  5. package/dist/contexts/HostThemeContext/index.js +71 -0
  6. package/dist/contexts/LocalesContext/index.js +46 -0
  7. package/dist/contexts/index.js +3 -174
  8. package/dist/hooks/index.js +6 -40
  9. package/dist/hooks/useHostTheme/index.js +9 -0
  10. package/dist/hooks/useLocales/index.js +9 -0
  11. package/dist/hooks/useResponsive/index.js +26 -0
  12. package/dist/index.js +19 -1654
  13. package/dist/lib/components/Page/index.d.ts +3 -9
  14. package/dist/lib/components/Page/types.d.ts +7 -0
  15. package/dist/lib/components/{ProgressBar → ProgressBarStyle}/index.d.ts +0 -1
  16. package/dist/lib/components/index.d.ts +1 -6
  17. package/dist/lib/hooks/useHostTheme/index.d.ts +1 -0
  18. package/dist/lib/hooks/useLocales/index.d.ts +1 -0
  19. package/dist/lib/hooks/{useResponsive.d.ts → useResponsive/index.d.ts} +0 -0
  20. package/dist/lib/index.d.ts +0 -1
  21. package/dist/react-helmet-async-invariant.js +19 -0
  22. package/dist/react-helmet-async-react-fast-compare.js +90 -0
  23. package/dist/react-helmet-async-shallowequal.js +32 -0
  24. package/dist/react-helmet-async.js +363 -0
  25. package/dist/theme/index.js +1553 -0
  26. package/dist/utils/index.js +91 -0
  27. package/package.json +1 -6
  28. package/dist/components/mui_extended/index.js +0 -53
  29. package/dist/layouts/index.js +0 -39
  30. package/dist/lib/components/CompanyLogo/index.d.ts +0 -3
  31. package/dist/lib/components/CompanyLogo/styles.d.ts +0 -5
  32. package/dist/lib/components/CompanyLogo/types.d.ts +0 -6
  33. package/dist/lib/components/Image/index.d.ts +0 -3
  34. package/dist/lib/components/Image/styles.d.ts +0 -5
  35. package/dist/lib/components/Image/types.d.ts +0 -19
  36. package/dist/lib/components/LanguagePopover/index.d.ts +0 -3
  37. package/dist/lib/components/LanguagePopover/types.d.ts +0 -3
  38. package/dist/lib/components/LinkWithRoute/index.d.ts +0 -3
  39. package/dist/lib/components/LinkWithRoute/types.d.ts +0 -7
  40. package/dist/lib/components/Loadable/index.d.ts +0 -2
  41. package/dist/lib/components/Typography/index.d.ts +0 -3
  42. package/dist/lib/components/Typography/types.d.ts +0 -5
  43. package/dist/lib/components/animate/DialogAnimate.d.ts +0 -7
  44. package/dist/lib/components/animate/FabButtonAnimate.d.ts +0 -8
  45. package/dist/lib/components/animate/IconButtonAnimate/index.d.ts +0 -4
  46. package/dist/lib/components/animate/MotionContainer.d.ts +0 -10
  47. package/dist/lib/components/animate/MotionInView.d.ts +0 -9
  48. package/dist/lib/components/animate/MotionLazyContainer.d.ts +0 -6
  49. package/dist/lib/components/animate/TextAnimate.d.ts +0 -9
  50. package/dist/lib/components/animate/index.d.ts +0 -8
  51. package/dist/lib/components/animate/type.d.ts +0 -26
  52. package/dist/lib/components/animate/variants/actions.d.ts +0 -5
  53. package/dist/lib/components/animate/variants/background.d.ts +0 -104
  54. package/dist/lib/components/animate/variants/bounce.d.ts +0 -136
  55. package/dist/lib/components/animate/variants/container.d.ts +0 -19
  56. package/dist/lib/components/animate/variants/fade.d.ts +0 -217
  57. package/dist/lib/components/animate/variants/flip.d.ts +0 -75
  58. package/dist/lib/components/animate/variants/index.d.ts +0 -12
  59. package/dist/lib/components/animate/variants/path.d.ts +0 -14
  60. package/dist/lib/components/animate/variants/rotate.d.ts +0 -39
  61. package/dist/lib/components/animate/variants/scale.d.ts +0 -75
  62. package/dist/lib/components/animate/variants/slide.d.ts +0 -155
  63. package/dist/lib/components/animate/variants/transition.d.ts +0 -13
  64. package/dist/lib/components/animate/variants/zoom.d.ts +0 -199
  65. package/dist/lib/components/mui_extended/LoadingButton/index.d.ts +0 -3
  66. package/dist/lib/components/mui_extended/LoadingButton/skeleton.d.ts +0 -2
  67. package/dist/lib/components/mui_extended/LoadingButton/styles.d.ts +0 -2
  68. package/dist/lib/components/mui_extended/LoadingButton/types.d.ts +0 -5
  69. package/dist/lib/components/mui_extended/Typography/index.d.ts +0 -3
  70. package/dist/lib/components/mui_extended/Typography/types.d.ts +0 -5
  71. package/dist/lib/components/mui_extended/index.d.ts +0 -37
  72. package/dist/lib/hooks/useHostTheme.d.ts +0 -1
  73. package/dist/lib/hooks/useLocales.d.ts +0 -1
  74. package/dist/lib/layouts/NoAuthModuleLayout/components/ModuleWrapper/index.d.ts +0 -3
  75. package/dist/lib/layouts/NoAuthModuleLayout/components/ModuleWrapper/styles.d.ts +0 -13
  76. package/dist/lib/layouts/NoAuthModuleLayout/components/ModuleWrapper/types.d.ts +0 -4
  77. package/dist/lib/layouts/NoAuthModuleLayout/contexts/NoAuthModuleContext/index.d.ts +0 -5
  78. package/dist/lib/layouts/NoAuthModuleLayout/contexts/NoAuthModuleContext/types.d.ts +0 -12
  79. package/dist/lib/layouts/NoAuthModuleLayout/index.d.ts +0 -3
  80. package/dist/lib/layouts/NoAuthModuleLayout/types.d.ts +0 -11
  81. package/dist/lib/layouts/index.d.ts +0 -1
  82. package/dist/node_modules.js +0 -150
@@ -1,1318 +1,4 @@
1
- import { Suspense, useMemo, forwardRef, useEffect, useState } from "react";
2
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
- import NProgress from "nprogress";
4
- import { useTheme, styled } from "@mui/material/styles";
5
- import { GlobalStyles, Box, Skeleton, Typography as Typography$1, Link, Dialog, Paper, Fab, IconButton, Card, Container, Stack } from "@mui/material";
6
- import { Link as Link$1 } from "react-router-dom";
7
- import { AnimatePresence, m, useAnimation, LazyMotion, domMax } from "framer-motion";
8
- import { u as useInView } from "../node_modules.js";
9
- import "@mui/lab";
10
- import { T as Typography$2 } from "./mui_extended/index.js";
11
- import { useEnvironment, useModuleDictionary, useFlagsPresent } from "@m4l/core";
12
- import { u as useLocales, a as useResponsive } from "../hooks/index.js";
13
- import "../contexts/index.js";
14
- import "react-hook-form";
15
- import { LazyLoadImage } from "react-lazy-load-image-component";
16
- import "react-lazy-load-image-component/src/effects/blur.css";
17
- import "@mui/material/useMediaQuery";
18
- import { Helmet } from "react-helmet-async";
19
- const Loadable = (Component) => function EmbededLoadable(props) {
20
- return /* @__PURE__ */ jsx(Suspense, {
21
- fallback: /* @__PURE__ */ jsx("div", {
22
- children: "Cargando"
23
- }),
24
- children: /* @__PURE__ */ jsx(Component, {
25
- ...props
26
- })
27
- });
28
- };
29
- function ProgressBarStyle() {
30
- const theme = useTheme();
31
- return /* @__PURE__ */ jsx(GlobalStyles, {
32
- styles: {
33
- "#nprogress": {
34
- pointerEvents: "none",
35
- "& .bar": {
36
- top: 0,
37
- left: 0,
38
- height: 2,
39
- width: "100%",
40
- position: "fixed",
41
- zIndex: theme.zIndex.snackbar,
42
- backgroundColor: theme.palette.primary.main,
43
- boxShadow: `0 0 2px ${theme.palette.primary.main}`
44
- },
45
- "& .peg": {
46
- right: 0,
47
- opacity: 1,
48
- width: 100,
49
- height: "100%",
50
- display: "block",
51
- position: "absolute",
52
- transform: "rotate(3deg) translate(0px, -4px)",
53
- boxShadow: `0 0 10px ${theme.palette.primary.main}, 0 0 5px ${theme.palette.primary.main}`
54
- }
55
- }
56
- }
57
- });
58
- }
59
- function ProgressBar() {
60
- NProgress.configure({
61
- showSpinner: true
62
- });
63
- useMemo(() => {
64
- NProgress.start();
65
- }, []);
66
- return null;
67
- }
68
- const Page = forwardRef((props, ref) => {
69
- const {
70
- children,
71
- title = "",
72
- meta,
73
- ...other
74
- } = props;
75
- const {
76
- currentLang
77
- } = useLocales();
78
- return /* @__PURE__ */ jsxs(Fragment, {
79
- children: [/* @__PURE__ */ jsxs(Helmet, {
80
- children: [/* @__PURE__ */ jsx("title", {
81
- children: `${title} | Made4Labs`
82
- }), /* @__PURE__ */ jsx("html", {
83
- lang: currentLang.value
84
- }), meta]
85
- }), /* @__PURE__ */ jsx(Box, {
86
- ref,
87
- ...other,
88
- children
89
- })]
90
- });
91
- });
92
- Page.displayName = "Page";
93
- function Typography(props) {
94
- const {
95
- skeletonProps = {},
96
- ...other
97
- } = props;
98
- const {
99
- isSkeleton = "false",
100
- width = "100%",
101
- height = "14px"
102
- } = skeletonProps;
103
- return isSkeleton ? /* @__PURE__ */ jsx(Skeleton, {
104
- variant: "text",
105
- width,
106
- height
107
- }) : /* @__PURE__ */ jsx(Typography$1, {
108
- ...other
109
- });
110
- }
111
- const LinkWithRoute = (props) => {
112
- const {
113
- to,
114
- children,
115
- skeletonProps = {},
116
- ...other
117
- } = props;
118
- const {
119
- isSkeleton = false,
120
- width = "100%",
121
- height = "14px"
122
- } = skeletonProps;
123
- if (isSkeleton) {
124
- return /* @__PURE__ */ jsx(Skeleton, {
125
- variant: "text",
126
- width,
127
- height
128
- });
129
- }
130
- return /* @__PURE__ */ jsx(Link, {
131
- component: Link$1,
132
- to,
133
- ...other,
134
- children
135
- });
136
- };
137
- const TRANSITION = {
138
- duration: 2,
139
- ease: [0.43, 0.13, 0.23, 0.96]
140
- };
141
- const varPath = {
142
- animate: {
143
- fillOpacity: [0, 0, 1],
144
- pathLength: [1, 0.4, 0],
145
- transition: TRANSITION
146
- }
147
- };
148
- const varTranHover = (props) => {
149
- const duration = props?.duration || 0.32;
150
- const ease = props?.ease || [0.43, 0.13, 0.23, 0.96];
151
- return { duration, ease };
152
- };
153
- const varTranEnter = (props) => {
154
- const duration = props?.durationIn || 0.64;
155
- const ease = props?.easeIn || [0.43, 0.13, 0.23, 0.96];
156
- return { duration, ease };
157
- };
158
- const varTranExit = (props) => {
159
- const duration = props?.durationOut || 0.48;
160
- const ease = props?.easeOut || [0.43, 0.13, 0.23, 0.96];
161
- return { duration, ease };
162
- };
163
- const varFade = (props) => {
164
- const distance = props?.distance || 120;
165
- const durationIn = props?.durationIn;
166
- const durationOut = props?.durationOut;
167
- const easeIn = props?.easeIn;
168
- const easeOut = props?.easeOut;
169
- return {
170
- in: {
171
- initial: { opacity: 0 },
172
- animate: { opacity: 1, transition: varTranEnter },
173
- exit: { opacity: 0, transition: varTranExit }
174
- },
175
- inUp: {
176
- initial: { y: distance, opacity: 0 },
177
- animate: { y: 0, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
178
- exit: { y: distance, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
179
- },
180
- inDown: {
181
- initial: { y: -distance, opacity: 0 },
182
- animate: { y: 0, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
183
- exit: { y: -distance, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
184
- },
185
- inLeft: {
186
- initial: { x: -distance, opacity: 0 },
187
- animate: { x: 0, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
188
- exit: { x: -distance, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
189
- },
190
- inRight: {
191
- initial: { x: distance, opacity: 0 },
192
- animate: { x: 0, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
193
- exit: { x: distance, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
194
- },
195
- out: {
196
- initial: { opacity: 1 },
197
- animate: { opacity: 0, transition: varTranEnter({ durationIn, easeIn }) },
198
- exit: { opacity: 1, transition: varTranExit({ durationOut, easeOut }) }
199
- },
200
- outUp: {
201
- initial: { y: 0, opacity: 1 },
202
- animate: { y: -distance, opacity: 0, transition: varTranEnter({ durationIn, easeIn }) },
203
- exit: { y: 0, opacity: 1, transition: varTranExit({ durationOut, easeOut }) }
204
- },
205
- outDown: {
206
- initial: { y: 0, opacity: 1 },
207
- animate: { y: distance, opacity: 0, transition: varTranEnter({ durationIn, easeIn }) },
208
- exit: { y: 0, opacity: 1, transition: varTranExit({ durationOut, easeOut }) }
209
- },
210
- outLeft: {
211
- initial: { x: 0, opacity: 1 },
212
- animate: { x: -distance, opacity: 0, transition: varTranEnter({ durationIn, easeIn }) },
213
- exit: { x: 0, opacity: 1, transition: varTranExit({ durationOut, easeOut }) }
214
- },
215
- outRight: {
216
- initial: { x: 0, opacity: 1 },
217
- animate: { x: distance, opacity: 0, transition: varTranEnter({ durationIn, easeIn }) },
218
- exit: { x: 0, opacity: 1, transition: varTranExit({ durationOut, easeOut }) }
219
- }
220
- };
221
- };
222
- const varZoom = (props) => {
223
- const distance = props?.distance || 720;
224
- const durationIn = props?.durationIn;
225
- const durationOut = props?.durationOut;
226
- const easeIn = props?.easeIn;
227
- const easeOut = props?.easeOut;
228
- return {
229
- in: {
230
- initial: { scale: 0, opacity: 0 },
231
- animate: { scale: 1, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
232
- exit: { scale: 0, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
233
- },
234
- inUp: {
235
- initial: { scale: 0, opacity: 0, translateY: distance },
236
- animate: {
237
- scale: 1,
238
- opacity: 1,
239
- translateY: 0,
240
- transition: varTranEnter({ durationIn, easeIn })
241
- },
242
- exit: {
243
- scale: 0,
244
- opacity: 0,
245
- translateY: distance,
246
- transition: varTranExit({ durationOut, easeOut })
247
- }
248
- },
249
- inDown: {
250
- initial: { scale: 0, opacity: 0, translateY: -distance },
251
- animate: {
252
- scale: 1,
253
- opacity: 1,
254
- translateY: 0,
255
- transition: varTranEnter({ durationIn, easeIn })
256
- },
257
- exit: {
258
- scale: 0,
259
- opacity: 0,
260
- translateY: -distance,
261
- transition: varTranExit({ durationOut, easeOut })
262
- }
263
- },
264
- inLeft: {
265
- initial: { scale: 0, opacity: 0, translateX: -distance },
266
- animate: {
267
- scale: 1,
268
- opacity: 1,
269
- translateX: 0,
270
- transition: varTranEnter({ durationIn, easeIn })
271
- },
272
- exit: {
273
- scale: 0,
274
- opacity: 0,
275
- translateX: -distance,
276
- transition: varTranExit({ durationOut, easeOut })
277
- }
278
- },
279
- inRight: {
280
- initial: { scale: 0, opacity: 0, translateX: distance },
281
- animate: {
282
- scale: 1,
283
- opacity: 1,
284
- translateX: 0,
285
- transition: varTranEnter({ durationIn, easeIn })
286
- },
287
- exit: {
288
- scale: 0,
289
- opacity: 0,
290
- translateX: distance,
291
- transition: varTranExit({ durationOut, easeOut })
292
- }
293
- },
294
- out: {
295
- initial: { scale: 1, opacity: 1 },
296
- animate: { scale: 0, opacity: 0, transition: varTranEnter({ durationIn, easeIn }) }
297
- },
298
- outUp: {
299
- initial: { scale: 1, opacity: 1 },
300
- animate: {
301
- scale: 0,
302
- opacity: 0,
303
- translateY: -distance,
304
- transition: varTranEnter({ durationIn, easeIn })
305
- }
306
- },
307
- outDown: {
308
- initial: { scale: 1, opacity: 1 },
309
- animate: {
310
- scale: 0,
311
- opacity: 0,
312
- translateY: distance,
313
- transition: varTranEnter({ durationIn, easeIn })
314
- }
315
- },
316
- outLeft: {
317
- initial: { scale: 1, opacity: 1 },
318
- animate: {
319
- scale: 0,
320
- opacity: 0,
321
- translateX: -distance,
322
- transition: varTranEnter({ durationIn, easeIn })
323
- }
324
- },
325
- outRight: {
326
- initial: { scale: 1, opacity: 1 },
327
- animate: {
328
- scale: 0,
329
- opacity: 0,
330
- translateX: distance,
331
- transition: varTranEnter({ durationIn, easeIn })
332
- }
333
- }
334
- };
335
- };
336
- const varFlip = (props) => {
337
- const durationIn = props?.durationIn;
338
- const durationOut = props?.durationOut;
339
- const easeIn = props?.easeIn;
340
- const easeOut = props?.easeOut;
341
- return {
342
- inX: {
343
- initial: { rotateX: -180, opacity: 0 },
344
- animate: { rotateX: 0, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
345
- exit: { rotateX: -180, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
346
- },
347
- inY: {
348
- initial: { rotateY: -180, opacity: 0 },
349
- animate: { rotateY: 0, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
350
- exit: { rotateY: -180, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
351
- },
352
- outX: {
353
- initial: { rotateX: 0, opacity: 1 },
354
- animate: { rotateX: 70, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
355
- },
356
- outY: {
357
- initial: { rotateY: 0, opacity: 1 },
358
- animate: { rotateY: 70, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
359
- }
360
- };
361
- };
362
- const varSlide = (props) => {
363
- const distance = props?.distance || 160;
364
- const durationIn = props?.durationIn;
365
- const durationOut = props?.durationOut;
366
- const easeIn = props?.easeIn;
367
- const easeOut = props?.easeOut;
368
- return {
369
- inUp: {
370
- initial: { y: distance },
371
- animate: { y: 0, transition: varTranEnter({ durationIn, easeIn }) },
372
- exit: { y: distance, transition: varTranExit({ durationOut, easeOut }) }
373
- },
374
- inDown: {
375
- initial: { y: -distance },
376
- animate: { y: 0, transition: varTranEnter({ durationIn, easeIn }) },
377
- exit: { y: -distance, transition: varTranExit({ durationOut, easeOut }) }
378
- },
379
- inLeft: {
380
- initial: { x: -distance },
381
- animate: { x: 0, transition: varTranEnter({ durationIn, easeIn }) },
382
- exit: { x: -distance, transition: varTranExit({ durationOut, easeOut }) }
383
- },
384
- inRight: {
385
- initial: { x: distance },
386
- animate: { x: 0, transition: varTranEnter({ durationIn, easeIn }) },
387
- exit: { x: distance, transition: varTranExit({ durationOut, easeOut }) }
388
- },
389
- outUp: {
390
- initial: { y: 0 },
391
- animate: { y: -distance, transition: varTranEnter({ durationIn, easeIn }) },
392
- exit: { y: 0, transition: varTranExit({ durationOut, easeOut }) }
393
- },
394
- outDown: {
395
- initial: { y: 0 },
396
- animate: { y: distance, transition: varTranEnter({ durationIn, easeIn }) },
397
- exit: { y: 0, transition: varTranExit({ durationOut, easeOut }) }
398
- },
399
- outLeft: {
400
- initial: { x: 0 },
401
- animate: { x: -distance, transition: varTranEnter({ durationIn, easeIn }) },
402
- exit: { x: 0, transition: varTranExit({ durationOut, easeOut }) }
403
- },
404
- outRight: {
405
- initial: { x: 0 },
406
- animate: { x: distance, transition: varTranEnter({ durationIn, easeIn }) },
407
- exit: { x: 0, transition: varTranExit({ durationOut, easeOut }) }
408
- }
409
- };
410
- };
411
- const varScale = (props) => {
412
- const durationIn = props?.durationIn;
413
- const durationOut = props?.durationOut;
414
- const easeIn = props?.easeIn;
415
- const easeOut = props?.easeOut;
416
- return {
417
- inX: {
418
- initial: { scaleX: 0, opacity: 0 },
419
- animate: { scaleX: 1, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
420
- exit: { scaleX: 0, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
421
- },
422
- inY: {
423
- initial: { scaleY: 0, opacity: 0 },
424
- animate: { scaleY: 1, opacity: 1, transition: varTranEnter({ durationIn, easeIn }) },
425
- exit: { scaleY: 0, opacity: 0, transition: varTranExit({ durationOut, easeOut }) }
426
- },
427
- outX: {
428
- initial: { scaleX: 1, opacity: 1 },
429
- animate: { scaleX: 0, opacity: 0, transition: varTranEnter({ durationIn, easeIn }) }
430
- },
431
- outY: {
432
- initial: { scaleY: 1, opacity: 1 },
433
- animate: { scaleY: 0, opacity: 0, transition: varTranEnter({ durationIn, easeIn }) }
434
- }
435
- };
436
- };
437
- const varBounce = (props) => {
438
- const durationIn = props?.durationIn;
439
- const durationOut = props?.durationOut;
440
- const easeIn = props?.easeIn;
441
- const easeOut = props?.easeOut;
442
- return {
443
- in: {
444
- initial: {},
445
- animate: {
446
- scale: [0.3, 1.1, 0.9, 1.03, 0.97, 1],
447
- opacity: [0, 1, 1, 1, 1, 1],
448
- transition: varTranEnter({ durationIn, easeIn })
449
- },
450
- exit: {
451
- scale: [0.9, 1.1, 0.3],
452
- opacity: [1, 1, 0]
453
- }
454
- },
455
- inUp: {
456
- initial: {},
457
- animate: {
458
- y: [720, -24, 12, -4, 0],
459
- scaleY: [4, 0.9, 0.95, 0.985, 1],
460
- opacity: [0, 1, 1, 1, 1],
461
- transition: { ...varTranEnter({ durationIn, easeIn }) }
462
- },
463
- exit: {
464
- y: [12, -24, 720],
465
- scaleY: [0.985, 0.9, 3],
466
- opacity: [1, 1, 0],
467
- transition: varTranExit({ durationOut, easeOut })
468
- }
469
- },
470
- inDown: {
471
- initial: {},
472
- animate: {
473
- y: [-720, 24, -12, 4, 0],
474
- scaleY: [4, 0.9, 0.95, 0.985, 1],
475
- opacity: [0, 1, 1, 1, 1],
476
- transition: varTranEnter({ durationIn, easeIn })
477
- },
478
- exit: {
479
- y: [-12, 24, -720],
480
- scaleY: [0.985, 0.9, 3],
481
- opacity: [1, 1, 0],
482
- transition: varTranExit({ durationOut, easeOut })
483
- }
484
- },
485
- inLeft: {
486
- initial: {},
487
- animate: {
488
- x: [-720, 24, -12, 4, 0],
489
- scaleX: [3, 1, 0.98, 0.995, 1],
490
- opacity: [0, 1, 1, 1, 1],
491
- transition: varTranEnter({ durationIn, easeIn })
492
- },
493
- exit: {
494
- x: [0, 24, -720],
495
- scaleX: [1, 0.9, 2],
496
- opacity: [1, 1, 0],
497
- transition: varTranExit({ durationOut, easeOut })
498
- }
499
- },
500
- inRight: {
501
- initial: {},
502
- animate: {
503
- x: [720, -24, 12, -4, 0],
504
- scaleX: [3, 1, 0.98, 0.995, 1],
505
- opacity: [0, 1, 1, 1, 1],
506
- transition: varTranEnter({ durationIn, easeIn })
507
- },
508
- exit: {
509
- x: [0, -24, 720],
510
- scaleX: [1, 0.9, 2],
511
- opacity: [1, 1, 0],
512
- transition: varTranExit({ durationOut, easeOut })
513
- }
514
- },
515
- out: {
516
- animate: { scale: [0.9, 1.1, 0.3], opacity: [1, 1, 0] }
517
- },
518
- outUp: {
519
- animate: { y: [-12, 24, -720], scaleY: [0.985, 0.9, 3], opacity: [1, 1, 0] }
520
- },
521
- outDown: {
522
- animate: { y: [12, -24, 720], scaleY: [0.985, 0.9, 3], opacity: [1, 1, 0] }
523
- },
524
- outLeft: {
525
- animate: { x: [0, 24, -720], scaleX: [1, 0.9, 2], opacity: [1, 1, 0] }
526
- },
527
- outRight: {
528
- animate: { x: [0, -24, 720], scaleX: [1, 0.9, 2], opacity: [1, 1, 0] }
529
- }
530
- };
531
- };
532
- const varRotate = (props) => {
533
- const durationIn = props?.durationIn;
534
- const durationOut = props?.durationOut;
535
- const easeIn = props?.easeIn;
536
- const easeOut = props?.easeOut;
537
- return {
538
- in: {
539
- initial: { opacity: 0, rotate: -360 },
540
- animate: { opacity: 1, rotate: 0, transition: varTranEnter({ durationIn, easeIn }) },
541
- exit: { opacity: 0, rotate: -360, transition: varTranExit({ durationOut, easeOut }) }
542
- },
543
- out: {
544
- initial: { opacity: 1, rotate: 0 },
545
- animate: {
546
- opacity: 0,
547
- rotate: -360,
548
- transition: varTranExit({ durationOut, easeOut })
549
- }
550
- }
551
- };
552
- };
553
- const varHover = (scale) => ({
554
- hover: {
555
- scale: scale || 1.1
556
- }
557
- });
558
- const varContainer = (props) => {
559
- const staggerIn = props?.staggerIn || 0.05;
560
- const delayIn = props?.staggerIn || 0.05;
561
- const staggerOut = props?.staggerIn || 0.05;
562
- return {
563
- animate: {
564
- transition: {
565
- staggerChildren: staggerIn,
566
- delayChildren: delayIn
567
- }
568
- },
569
- exit: {
570
- transition: {
571
- staggerChildren: staggerOut,
572
- staggerDirection: -1
573
- }
574
- }
575
- };
576
- };
577
- const varBgColor = (props) => {
578
- const colors = props?.colors || ["#19dcea", "#b22cff"];
579
- const duration = props?.duration || 5;
580
- const ease = props?.ease || "linear";
581
- return {
582
- animate: {
583
- background: colors,
584
- transition: { duration, ease }
585
- }
586
- };
587
- };
588
- const varBgKenburns = (props) => {
589
- const duration = props?.duration || 5;
590
- const ease = props?.ease || "easeOut";
591
- return {
592
- top: {
593
- animate: {
594
- scale: [1, 1.25],
595
- y: [0, -15],
596
- transformOrigin: ["50% 16%", "top"],
597
- transition: { duration, ease }
598
- }
599
- },
600
- right: {
601
- animate: {
602
- scale: [1, 1.25],
603
- x: [0, 20],
604
- y: [0, -15],
605
- transformOrigin: ["84% 50%", "right"],
606
- transition: { duration, ease }
607
- }
608
- },
609
- bottom: {
610
- animate: {
611
- scale: [1, 1.25],
612
- y: [0, 15],
613
- transformOrigin: ["50% 84%", "bottom"],
614
- transition: { duration, ease }
615
- }
616
- },
617
- left: {
618
- animate: {
619
- scale: [1, 1.25],
620
- x: [0, -20],
621
- y: [0, 15],
622
- transformOrigin: ["16% 50%", "left"],
623
- transition: { duration, ease }
624
- }
625
- }
626
- };
627
- };
628
- const varBgPan = (props) => {
629
- const colors = props?.colors || ["#ee7752", "#e73c7e", "#23a6d5", "#23d5ab"];
630
- const duration = props?.duration || 5;
631
- const ease = props?.ease || "linear";
632
- const gradient = (deg) => `linear-gradient(${deg}deg, ${colors})`;
633
- return {
634
- top: {
635
- animate: {
636
- backgroundImage: [gradient(0), gradient(0)],
637
- backgroundPosition: ["center 99%", "center 1%"],
638
- backgroundSize: ["100% 600%", "100% 600%"],
639
- transition: { duration, ease }
640
- }
641
- },
642
- right: {
643
- animate: {
644
- backgroundPosition: ["1% center", "99% center"],
645
- backgroundImage: [gradient(270), gradient(270)],
646
- backgroundSize: ["600% 100%", "600% 100%"],
647
- transition: { duration, ease }
648
- }
649
- },
650
- bottom: {
651
- animate: {
652
- backgroundImage: [gradient(0), gradient(0)],
653
- backgroundPosition: ["center 1%", "center 99%"],
654
- backgroundSize: ["100% 600%", "100% 600%"],
655
- transition: { duration, ease }
656
- }
657
- },
658
- left: {
659
- animate: {
660
- backgroundPosition: ["99% center", "1% center"],
661
- backgroundImage: [gradient(270), gradient(270)],
662
- backgroundSize: ["600% 100%", "600% 100%"],
663
- transition: { duration, ease }
664
- }
665
- }
666
- };
667
- };
668
- function DialogAnimate({
669
- open = false,
670
- variants,
671
- onClose,
672
- children,
673
- sx,
674
- ...other
675
- }) {
676
- return /* @__PURE__ */ jsx(AnimatePresence, {
677
- children: open && /* @__PURE__ */ jsx(Dialog, {
678
- fullWidth: true,
679
- maxWidth: "xs",
680
- open,
681
- onClose,
682
- PaperComponent: (props) => /* @__PURE__ */ jsxs(Box, {
683
- component: m.div,
684
- ...variants || varFade({
685
- distance: 120,
686
- durationIn: 0.32,
687
- durationOut: 0.24,
688
- easeIn: "easeInOut"
689
- }).inUp,
690
- sx: {
691
- width: "100%",
692
- height: "100%",
693
- display: "flex",
694
- alignItems: "center",
695
- justifyContent: "center"
696
- },
697
- children: [/* @__PURE__ */ jsx(Box, {
698
- onClick: onClose,
699
- sx: {
700
- width: "100%",
701
- height: "100%",
702
- position: "fixed"
703
- }
704
- }), /* @__PURE__ */ jsx(Paper, {
705
- sx,
706
- ...props,
707
- children: props.children
708
- })]
709
- }),
710
- ...other,
711
- children
712
- })
713
- });
714
- }
715
- function TextAnimate({
716
- text,
717
- variants,
718
- sx,
719
- ...other
720
- }) {
721
- return /* @__PURE__ */ jsx(Box, {
722
- component: m.h1,
723
- sx: {
724
- typography: "h1",
725
- overflow: "hidden",
726
- display: "inline-flex",
727
- ...sx
728
- },
729
- ...other,
730
- children: text.split("").map((letter, index) => /* @__PURE__ */ jsx(m.span, {
731
- variants: variants || varFade().inUp,
732
- children: letter
733
- }, index))
734
- });
735
- }
736
- const FabButtonAnimate = forwardRef(({
737
- color = "primary",
738
- size = "large",
739
- children,
740
- sx,
741
- sxWrap,
742
- ...other
743
- }, ref) => {
744
- const theme = useTheme();
745
- if (color === "default" || color === "inherit" || color === "primary" || color === "secondary") {
746
- return /* @__PURE__ */ jsx(AnimateWrap$1, {
747
- size,
748
- sxWrap,
749
- children: /* @__PURE__ */ jsx(Fab, {
750
- ref,
751
- size,
752
- color,
753
- sx,
754
- ...other,
755
- children
756
- })
757
- });
758
- }
759
- return /* @__PURE__ */ jsx(AnimateWrap$1, {
760
- size,
761
- sxWrap,
762
- children: /* @__PURE__ */ jsx(Fab, {
763
- ref,
764
- size,
765
- sx: {
766
- boxShadow: theme.customShadows[color],
767
- color: theme.palette[color].contrastText,
768
- bgcolor: theme.palette[color].main,
769
- "&:hover": {
770
- bgcolor: theme.palette[color].dark
771
- },
772
- ...sx
773
- },
774
- ...other,
775
- children
776
- })
777
- });
778
- });
779
- FabButtonAnimate.displayName = "FabButtonAnimate";
780
- const varSmall$1 = {
781
- hover: {
782
- scale: 1.07
783
- },
784
- tap: {
785
- scale: 0.97
786
- }
787
- };
788
- const varMedium$1 = {
789
- hover: {
790
- scale: 1.06
791
- },
792
- tap: {
793
- scale: 0.98
794
- }
795
- };
796
- const varLarge$1 = {
797
- hover: {
798
- scale: 1.05
799
- },
800
- tap: {
801
- scale: 0.99
802
- }
803
- };
804
- function AnimateWrap$1({
805
- size,
806
- children,
807
- sxWrap
808
- }) {
809
- const isSmall = size === "small";
810
- const isLarge = size === "large";
811
- return /* @__PURE__ */ jsx(Box, {
812
- component: m.div,
813
- whileTap: "tap",
814
- whileHover: "hover",
815
- variants: isSmall && varSmall$1 || isLarge && varLarge$1 || varMedium$1,
816
- sx: {
817
- display: "inline-flex",
818
- ...sxWrap
819
- },
820
- children
821
- });
822
- }
823
- const IconButtonAnimate = forwardRef(({
824
- children,
825
- size = "medium",
826
- ...other
827
- }, ref) => /* @__PURE__ */ jsx(AnimateWrap, {
828
- size,
829
- children: /* @__PURE__ */ jsx(IconButton, {
830
- size,
831
- ref,
832
- ...other,
833
- children
834
- })
835
- }));
836
- IconButtonAnimate.displayName = "IconButtonAnimate";
837
- const varSmall = {
838
- hover: {
839
- scale: 1.1
840
- },
841
- tap: {
842
- scale: 0.95
843
- }
844
- };
845
- const varMedium = {
846
- hover: {
847
- scale: 1.09
848
- },
849
- tap: {
850
- scale: 0.97
851
- }
852
- };
853
- const varLarge = {
854
- hover: {
855
- scale: 1.08
856
- },
857
- tap: {
858
- scale: 0.99
859
- }
860
- };
861
- function AnimateWrap({
862
- size,
863
- children
864
- }) {
865
- const isSmall = size === "small";
866
- const isLarge = size === "large";
867
- return /* @__PURE__ */ jsx(Box, {
868
- component: m.div,
869
- whileTap: "tap",
870
- whileHover: "hover",
871
- variants: isSmall && varSmall || isLarge && varLarge || varMedium,
872
- sx: {
873
- display: "inline-flex"
874
- },
875
- children
876
- });
877
- }
878
- function MotionInView({
879
- children,
880
- variants,
881
- transition,
882
- threshold,
883
- ...other
884
- }) {
885
- const controls = useAnimation();
886
- const [ref, inView] = useInView({
887
- threshold: threshold || 0,
888
- triggerOnce: true
889
- });
890
- useEffect(() => {
891
- if (!variants)
892
- return;
893
- if (inView) {
894
- controls.start(Object.keys(variants)[1]);
895
- } else {
896
- controls.start(Object.keys(variants)[0]);
897
- }
898
- }, [controls, inView, variants]);
899
- return /* @__PURE__ */ jsx(Box, {
900
- ref,
901
- component: m.div,
902
- initial: variants ? Object.keys(variants)[0] : false,
903
- animate: controls,
904
- variants,
905
- transition,
906
- ...other,
907
- children
908
- });
909
- }
910
- function MotionContainer({
911
- animate,
912
- action = false,
913
- children,
914
- ...other
915
- }) {
916
- if (action) {
917
- return /* @__PURE__ */ jsx(Box, {
918
- component: m.div,
919
- initial: false,
920
- animate: animate ? "animate" : "exit",
921
- variants: varContainer(),
922
- ...other,
923
- children
924
- });
925
- }
926
- return /* @__PURE__ */ jsx(Box, {
927
- component: m.div,
928
- initial: "initial",
929
- animate: "animate",
930
- exit: "exit",
931
- variants: varContainer(),
932
- ...other,
933
- children
934
- });
935
- }
936
- const loadFeatures = () => Promise.resolve().then(() => features).then((res) => res.default);
937
- function MotionLazyContainer({
938
- children
939
- }) {
940
- return /* @__PURE__ */ jsx(LazyMotion, {
941
- strict: true,
942
- features: loadFeatures,
943
- children
944
- });
945
- }
946
- const RootStyle = styled("div")(({
947
- theme
948
- }) => ({
949
- [theme.breakpoints.up("md")]: {
950
- display: "flex"
951
- }
952
- }));
953
- const HeaderStyle = styled("header")(({
954
- theme
955
- }) => ({
956
- top: 0,
957
- zIndex: 9,
958
- lineHeight: 0,
959
- width: "100%",
960
- display: "flex",
961
- alignItems: "center",
962
- position: "absolute",
963
- padding: theme.spacing(2, 2, 0, 2),
964
- justifyContent: "space-between",
965
- [theme.breakpoints.up("md")]: {
966
- alignItems: "flex-start",
967
- padding: theme.spacing(7, 7, 0, 7)
968
- }
969
- }));
970
- const SectionStyle = styled(Card)(({
971
- theme
972
- }) => ({
973
- width: "100%",
974
- maxWidth: 464,
975
- display: "flex",
976
- flexDirection: "column",
977
- justifyContent: "center",
978
- margin: theme.spacing(2, 0, 2, 2),
979
- "& > div:nth-of-type(2)": {
980
- maxHeight: "348px"
981
- }
982
- }));
983
- const ContentStyle = styled("div")(({
984
- theme
985
- }) => ({
986
- maxWidth: 480,
987
- margin: "auto",
988
- display: "flex",
989
- minHeight: "100vh",
990
- flexDirection: "column",
991
- justifyContent: "center",
992
- padding: theme.spacing(12, 0)
993
- }));
994
- const TitleContainer = styled("div")(({
995
- theme
996
- }) => ({
997
- padding: theme.spacing(0, 5)
998
- }));
999
- const ModuleTitleContainer = styled("div")(({
1000
- theme
1001
- }) => ({
1002
- width: "100%",
1003
- display: "grid",
1004
- gridTemplateColumns: "1fr",
1005
- gridGap: theme.spacing(1)
1006
- }));
1007
- styled("div")(({
1008
- theme
1009
- }) => ({
1010
- [theme.breakpoints.up("md")]: {
1011
- display: "flex"
1012
- }
1013
- }));
1014
- styled("header")(({
1015
- theme
1016
- }) => ({
1017
- top: 0,
1018
- zIndex: 9,
1019
- lineHeight: 0,
1020
- width: "100%",
1021
- display: "flex",
1022
- alignItems: "center",
1023
- position: "absolute",
1024
- padding: theme.spacing(3),
1025
- justifyContent: "space-between",
1026
- [theme.breakpoints.up("md")]: {
1027
- alignItems: "flex-start",
1028
- padding: theme.spacing(7, 5, 0, 7)
1029
- }
1030
- }));
1031
- styled("div")(({
1032
- theme
1033
- }) => ({
1034
- maxWidth: 480,
1035
- margin: "auto",
1036
- display: "flex",
1037
- minHeight: "100vh",
1038
- flexDirection: "column",
1039
- justifyContent: "center",
1040
- padding: theme.spacing(12, 0)
1041
- }));
1042
- const SKTCompanyLogoMask = styled("div")(({
1043
- theme
1044
- }) => ({
1045
- mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
1046
- WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
1047
- [theme.breakpoints.up("md")]: {
1048
- mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 394.6 97' style='enable-background:new 0 0 394.6 97%3B' xml:space='preserve'%3E%3Cpath d='M54.2 35.1c2.2 0 4.3-0.8 5.8-2.3c1.6-1.5 2.5-3.7 2.6-6c-0.1-2.3-1-4.4-2.6-6c-1.6-1.5-3.7-2.4-5.8-2.4c-2.2 0-4.2 0.8-5.8 2.4c-1.5 1.6-2.5 3.7-2.6 6c0.1 2.3 1 4.4 2.6 6C50 34.3 52 35.2 54.2 35.1z'/%3E%3Cpath d='M58 49.6c-0.3-0.5-0.8-0.9-1.3-1.2C56.2 48.1 55.6 48 55 48s-1.3 0.1-1.8 0.4c-0.5 0.3-1 0.7-1.3 1.2l-3.3 5.2c-0.2 0.4-0.5 0.6-0.8 0.8c-0.3 0.2-0.7 0.3-1.1 0.3c-0.4 0-0.8-0.1-1.1-0.3c-0.3-0.2-0.6-0.5-0.8-0.8L32.7 35.5c-0.3-0.5-0.8-0.9-1.3-1.2s-1.1-0.4-1.7-0.4c-0.6 0-1.2 0.1-1.7 0.4s-1 0.7-1.3 1.2L2.5 74C2.2 74.5 2 75 2 75.6c0 0.6 0.2 1.1 0.5 1.6s0.8 0.9 1.3 1.2c0.5 0.3 1.1 0.4 1.7 0.4h64.9c0.6 0 1.2-0.2 1.7-0.4c0.5-0.3 1-0.7 1.3-1.2c0.3-0.5 0.5-1 0.5-1.6c0-0.6-0.2-1.1-0.5-1.6L58 49.6z'/%3E%3Cpath d='M386.6 41.8H107.5c-3.1 0-5.6 2.5-5.6 5.6v9c0 3.1 2.5 5.6 5.6 5.6h279.1c3.1 0 5.6-2.5 5.6-5.6v-9C392.2 44.3 389.7 41.8 386.6 41.8z'/%3E%3C/svg%3E") no-repeat center / contain`,
1049
- WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 394.6 97' style='enable-background:new 0 0 394.6 97%3B' xml:space='preserve'%3E%3Cpath d='M54.2 35.1c2.2 0 4.3-0.8 5.8-2.3c1.6-1.5 2.5-3.7 2.6-6c-0.1-2.3-1-4.4-2.6-6c-1.6-1.5-3.7-2.4-5.8-2.4c-2.2 0-4.2 0.8-5.8 2.4c-1.5 1.6-2.5 3.7-2.6 6c0.1 2.3 1 4.4 2.6 6C50 34.3 52 35.2 54.2 35.1z'/%3E%3Cpath d='M58 49.6c-0.3-0.5-0.8-0.9-1.3-1.2C56.2 48.1 55.6 48 55 48s-1.3 0.1-1.8 0.4c-0.5 0.3-1 0.7-1.3 1.2l-3.3 5.2c-0.2 0.4-0.5 0.6-0.8 0.8c-0.3 0.2-0.7 0.3-1.1 0.3c-0.4 0-0.8-0.1-1.1-0.3c-0.3-0.2-0.6-0.5-0.8-0.8L32.7 35.5c-0.3-0.5-0.8-0.9-1.3-1.2s-1.1-0.4-1.7-0.4c-0.6 0-1.2 0.1-1.7 0.4s-1 0.7-1.3 1.2L2.5 74C2.2 74.5 2 75 2 75.6c0 0.6 0.2 1.1 0.5 1.6s0.8 0.9 1.3 1.2c0.5 0.3 1.1 0.4 1.7 0.4h64.9c0.6 0 1.2-0.2 1.7-0.4c0.5-0.3 1-0.7 1.3-1.2c0.3-0.5 0.5-1 0.5-1.6c0-0.6-0.2-1.1-0.5-1.6L58 49.6z'/%3E%3Cpath d='M386.6 41.8H107.5c-3.1 0-5.6 2.5-5.6 5.6v9c0 3.1 2.5 5.6 5.6 5.6h279.1c3.1 0 5.6-2.5 5.6-5.6v-9C392.2 44.3 389.7 41.8 386.6 41.8z'/%3E%3C/svg%3E") no-repeat center / contain`
1050
- }
1051
- }));
1052
- const SKTWrapperImage = styled("div")(({
1053
- theme,
1054
- width
1055
- }) => ({
1056
- width,
1057
- height: "100%",
1058
- padding: theme.spacing(3),
1059
- mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
1060
- WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`
1061
- }));
1062
- const WrapperLazyLoadImage = styled("div")(({
1063
- width,
1064
- height
1065
- }) => ({
1066
- width,
1067
- height,
1068
- lineHeight: 0,
1069
- display: "block",
1070
- overflow: "hidden",
1071
- "& > span": {
1072
- width: "100%",
1073
- height: "100%"
1074
- },
1075
- "& .LazyLoadImage": {
1076
- width: "100%",
1077
- height: "100%",
1078
- objectFit: "contain"
1079
- }
1080
- }));
1081
- function Image({
1082
- ratio,
1083
- sx,
1084
- isSekeleton = false,
1085
- width,
1086
- height,
1087
- src,
1088
- ...other
1089
- }) {
1090
- console.log("ImageSkeleton", isSekeleton);
1091
- const theme = useTheme();
1092
- const themeMode = theme.palette.mode;
1093
- if (isSekeleton) {
1094
- return /* @__PURE__ */ jsx(SKTWrapperImage, {
1095
- width,
1096
- children: /* @__PURE__ */ jsx(Skeleton, {
1097
- variant: "rectangular",
1098
- width: "100%",
1099
- height: "100%"
1100
- })
1101
- });
1102
- }
1103
- if (ratio) {
1104
- return /* @__PURE__ */ jsx(Box, {
1105
- component: "span",
1106
- sx: {
1107
- width: 1,
1108
- lineHeight: 0,
1109
- display: "block",
1110
- overflow: "hidden",
1111
- position: "relative",
1112
- pt: getRatio(ratio),
1113
- "& .wrapper": {
1114
- top: 0,
1115
- left: 0,
1116
- right: 0,
1117
- bottom: 0,
1118
- lineHeight: 0,
1119
- position: "absolute",
1120
- backgroundSize: "cover !important"
1121
- },
1122
- ...sx
1123
- },
1124
- children: /* @__PURE__ */ jsx(WrapperLazyLoadImage, {
1125
- width,
1126
- height,
1127
- id: "WrapperLazyLoadImage",
1128
- children: /* @__PURE__ */ jsx(LazyLoadImage, {
1129
- className: "LazyLoadImage",
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y45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==",
1132
- ...other
1133
- })
1134
- })
1135
- });
1136
- }
1137
- return /* @__PURE__ */ jsx(WrapperLazyLoadImage, {
1138
- width,
1139
- height,
1140
- id: "WrapperLazyLoadImage",
1141
- children: /* @__PURE__ */ jsx(LazyLoadImage, {
1142
- className: "LazyLoadImage",
1143
- src,
1144
- placeholderSrc: themeMode === "light" ? "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj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Cw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==",
1145
- ...other
1146
- })
1147
- });
1148
- }
1149
- function getRatio(ratio = "1/1") {
1150
- return {
1151
- "4/3": "calc(100% / 4 * 3)",
1152
- "3/4": "calc(100% / 3 * 4)",
1153
- "6/4": "calc(100% / 6 * 4)",
1154
- "4/6": "calc(100% / 4 * 6)",
1155
- "16/9": "calc(100% / 16 * 9)",
1156
- "9/16": "calc(100% / 9 * 16)",
1157
- "21/9": "calc(100% / 21 * 9)",
1158
- "9/21": "calc(100% / 9 * 21)",
1159
- "1/1": "100%"
1160
- }[ratio];
1161
- }
1162
- const CompanyLogo = (props) => {
1163
- const {
1164
- size = "small",
1165
- isSkeleton,
1166
- ...other
1167
- } = props;
1168
- const height = size === "small" ? "50px" : "auto";
1169
- const width = size === "small" ? "50px" : "380px";
1170
- const {
1171
- host_static_assets,
1172
- environment
1173
- } = useEnvironment();
1174
- const mdUp = useResponsive("up", "md");
1175
- console.log("CompanyLogoSkeleton", isSkeleton);
1176
- if (isSkeleton) {
1177
- return /* @__PURE__ */ jsx(SKTCompanyLogoMask, {
1178
- children: /* @__PURE__ */ jsx(Skeleton, {
1179
- variant: "rectangular",
1180
- width: mdUp ? 380 : 50,
1181
- height: mdUp ? 97 : 50
1182
- })
1183
- });
1184
- }
1185
- return /* @__PURE__ */ jsx(Image, {
1186
- src: `${host_static_assets}/${environment}/frontend/commons/assets/icons/${size === "small" ? "isotipo_m4l.svg" : "logotipo_m4l.svg"}`,
1187
- effect: "opacity",
1188
- width,
1189
- height,
1190
- ...other
1191
- });
1192
- };
1193
- function LanguagePopover(props) {
1194
- const {
1195
- isSkeleton
1196
- } = props;
1197
- const {
1198
- allLang,
1199
- currentLang,
1200
- onChangeLang
1201
- } = useLocales();
1202
- const [open, setOpen] = useState(null);
1203
- const handleOpen = (event) => {
1204
- setOpen(event.currentTarget);
1205
- };
1206
- if (isSkeleton) {
1207
- return /* @__PURE__ */ jsx(Skeleton, {
1208
- variant: "circular",
1209
- width: 20,
1210
- height: 20
1211
- });
1212
- }
1213
- return /* @__PURE__ */ jsx(Fragment, {
1214
- children: /* @__PURE__ */ jsx(IconButtonAnimate, {
1215
- onClick: handleOpen,
1216
- sx: {
1217
- width: 40,
1218
- height: 40,
1219
- ...open && {
1220
- bgcolor: "action.selected"
1221
- }
1222
- },
1223
- children: /* @__PURE__ */ jsx(Image, {
1224
- src: currentLang.icon,
1225
- alt: currentLang.label
1226
- })
1227
- })
1228
- });
1229
- }
1230
- const ModuleWrapper = (props) => {
1231
- const {
1232
- children
1233
- } = props;
1234
- const {
1235
- getLabel,
1236
- getModuleLabel
1237
- } = useModuleDictionary();
1238
- const mdUp = useResponsive("up", "md");
1239
- const isSkeleton = !useFlagsPresent(["dictionary_loaded", "style_loaded"]);
1240
- return /* @__PURE__ */ jsx(Page, {
1241
- title: getModuleLabel(),
1242
- children: /* @__PURE__ */ jsxs(RootStyle, {
1243
- children: [/* @__PURE__ */ jsxs(HeaderStyle, {
1244
- id: "HeaderStyle",
1245
- children: [/* @__PURE__ */ jsx(CompanyLogo, {
1246
- size: mdUp ? "normal" : "small",
1247
- isSkeleton
1248
- }), /* @__PURE__ */ jsx(LanguagePopover, {
1249
- isSkeleton
1250
- })]
1251
- }), mdUp && /* @__PURE__ */ jsxs(SectionStyle, {
1252
- id: "SectionStyle",
1253
- children: [/* @__PURE__ */ jsx(TitleContainer, {
1254
- id: "module_leyend",
1255
- children: /* @__PURE__ */ jsx(Typography$2, {
1256
- variant: "h3",
1257
- sx: {
1258
- px: 5,
1259
- mt: 10,
1260
- mb: 5
1261
- },
1262
- skeletonProps: {
1263
- isSkeleton,
1264
- width: "30%",
1265
- height: "18px"
1266
- },
1267
- children: getLabel("module_leyend")
1268
- })
1269
- }), /* @__PURE__ */ jsx(Image, {
1270
- isSekeleton: isSkeleton,
1271
- width: "100%",
1272
- height: "auto",
1273
- src: "https://s3.amazonaws.com/static.made4labs/environments/d1/frontend/domain/host/login/assets/img/illustration_login.png",
1274
- alt: "illustration module",
1275
- effect: "opacity"
1276
- })]
1277
- }), /* @__PURE__ */ jsx(Container, {
1278
- maxWidth: "sm",
1279
- id: "formContainer",
1280
- children: /* @__PURE__ */ jsxs(ContentStyle, {
1281
- children: [/* @__PURE__ */ jsx(Stack, {
1282
- direction: "row",
1283
- alignItems: "center",
1284
- sx: {
1285
- mb: 5
1286
- },
1287
- children: /* @__PURE__ */ jsxs(ModuleTitleContainer, {
1288
- children: [/* @__PURE__ */ jsx(Typography$2, {
1289
- variant: "h4",
1290
- skeletonProps: {
1291
- isSkeleton,
1292
- width: "35%",
1293
- height: "36px"
1294
- },
1295
- children: getModuleLabel()
1296
- }), /* @__PURE__ */ jsx(Typography$2, {
1297
- sx: {
1298
- color: "text.secondary"
1299
- },
1300
- skeletonProps: {
1301
- isSkeleton,
1302
- width: "60%",
1303
- height: "21px"
1304
- },
1305
- children: getLabel("module_description")
1306
- })]
1307
- })
1308
- }), children]
1309
- })
1310
- })]
1311
- })
1312
- });
1313
- };
1314
- const features = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1315
- __proto__: null,
1316
- default: domMax
1317
- }, Symbol.toStringTag, { value: "Module" }));
1318
- export { DialogAnimate as D, FabButtonAnimate as F, IconButtonAnimate as I, Loadable as L, ModuleWrapper as M, ProgressBar as P, Typography as T, ProgressBarStyle as a, Page as b, LinkWithRoute as c, TextAnimate as d, MotionInView as e, MotionContainer as f, MotionLazyContainer as g, TRANSITION as h, varFade as i, varZoom as j, varFlip as k, varSlide as l, varScale as m, varBounce as n, varRotate as o, varHover as p, varContainer as q, varTranHover as r, varTranEnter as s, varTranExit as t, varBgColor as u, varPath as v, varBgKenburns as w, varBgPan as x };
1
+ import "@mui/material/styles";
2
+ import "@mui/material";
3
+ import "react/jsx-runtime";
4
+ import "./Page/index.js";