math-main-components 0.0.198 → 0.0.202

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 (46) hide show
  1. package/README.md +15 -1
  2. package/dist/components/.Slider/Slider.d.ts +8 -0
  3. package/dist/components/.Slider/index.d.ts +1 -0
  4. package/dist/components/.StepBack/StepBack.d.ts +5 -0
  5. package/dist/components/.StepBack/index.d.ts +1 -0
  6. package/dist/components/ForwardButton/ForwardButton.stories.d.ts +2 -2
  7. package/dist/components/InputArea/InputArea.stories.d.ts +13 -0
  8. package/dist/components/InputMail/InputMail.stories.d.ts +13 -0
  9. package/dist/components/InputNames/InputNames.stories.d.ts +13 -0
  10. package/dist/components/InputNumber/InputNumber.stories.d.ts +13 -0
  11. package/dist/components/InputPassword/InputPassword.d.ts +1 -1
  12. package/dist/components/InputPassword/InputPassword.stories.d.ts +13 -0
  13. package/dist/components/InputPin/InputPin.stories.d.ts +13 -0
  14. package/dist/components/InputText/InputText.stories.d.ts +13 -0
  15. package/dist/components/NumberDropdown/NumberDropdown.stories.d.ts +18 -0
  16. package/dist/components/NumberDropdown/index.d.ts +11 -0
  17. package/dist/components/NumberField/NumberField.stories.d.ts +13 -0
  18. package/dist/components/NumberField/index.d.ts +17 -0
  19. package/dist/components/OptionField/OptionField.stories.d.ts +13 -0
  20. package/dist/components/OptionField2/OptionField2.d.ts +7 -0
  21. package/dist/components/OptionField2/OptionField2.stories.d.ts +13 -0
  22. package/dist/components/OptionField2/index.d.ts +1 -0
  23. package/dist/components/ProgressBar/ProgressBar.d.ts +2 -1
  24. package/dist/components/ProgressBar/ProgressBar.stories.d.ts +13 -0
  25. package/dist/components/RadioButtons/RadioButtons.d.ts +2 -3
  26. package/dist/components/RadioButtons/RadioButtons.stories.d.ts +13 -0
  27. package/dist/components/RadioButtons/index.d.ts +1 -1
  28. package/dist/components/RedirectButton/RedirectButton.d.ts +4 -3
  29. package/dist/components/RedirectButton/RedirectButton.stories.d.ts +15 -0
  30. package/dist/components/SearchChips/SearchChips.d.ts +3 -4
  31. package/dist/components/SearchChips/Searchbar.stories.d.ts +13 -0
  32. package/dist/components/SearchChips/index.d.ts +1 -1
  33. package/dist/components/Searchbar/Searchbar.d.ts +2 -1
  34. package/dist/components/Searchbar/Searchbar.stories.d.ts +13 -0
  35. package/dist/components/Table/Table.d.ts +5 -4
  36. package/dist/components/Table/Table.stories.d.ts +26 -0
  37. package/dist/components/Tabs/Tabs.d.ts +2 -3
  38. package/dist/components/Tabs/Tabs.stories.d.ts +11 -0
  39. package/dist/components/TextWithIcon/TextWithIcon.stories.d.ts +11 -0
  40. package/dist/components/ToggleBox/index.d.ts +7 -0
  41. package/dist/components/UsageCard/UsageCard.stories.d.ts +11 -0
  42. package/dist/index.cjs.js +309 -275
  43. package/dist/index.d.ts +5 -3
  44. package/dist/index.esm.js +293 -258
  45. package/package.json +1 -1
  46. package/styles/theme-styles.scss +3 -1
package/dist/index.esm.js CHANGED
@@ -1,5 +1,43 @@
1
1
  import * as React from 'react';
2
- import React__default, { createContext, useLayoutEffect, useEffect, useContext, useRef, useInsertionEffect, useCallback, useMemo, forwardRef, createElement, useId, useState, cloneElement, Children, isValidElement, createRef } from 'react';
2
+ import React__default, { useState, createContext, useLayoutEffect, useEffect, useContext, useRef, useInsertionEffect, useCallback, useMemo, forwardRef, createElement, useId, cloneElement, Children, isValidElement, createRef } from 'react';
3
+
4
+ function styleInject(css, ref) {
5
+ if ( ref === void 0 ) ref = {};
6
+ var insertAt = ref.insertAt;
7
+
8
+ if (!css || typeof document === 'undefined') { return; }
9
+
10
+ var head = document.head || document.getElementsByTagName('head')[0];
11
+ var style = document.createElement('style');
12
+ style.type = 'text/css';
13
+
14
+ if (insertAt === 'top') {
15
+ if (head.firstChild) {
16
+ head.insertBefore(style, head.firstChild);
17
+ } else {
18
+ head.appendChild(style);
19
+ }
20
+ } else {
21
+ head.appendChild(style);
22
+ }
23
+
24
+ if (style.styleSheet) {
25
+ style.styleSheet.cssText = css;
26
+ } else {
27
+ style.appendChild(document.createTextNode(css));
28
+ }
29
+ }
30
+
31
+ var css_248z$z = "";
32
+ var styles$z = {};
33
+ styleInject(css_248z$z);
34
+
35
+ function Slider({ cards }) {
36
+ const [selected, setSelected] = useState(0);
37
+ return (React__default.createElement("div", { className: styles$z.container }, cards.map((card, index) => React__default.createElement("div", { key: index, className: [styles$z.card, selected == index ? styles$z.selected : styles$z.not_selected].join(" ") },
38
+ React__default.createElement("h1", null, card.title),
39
+ React__default.createElement("p", null, card.description)))));
40
+ }
3
41
 
4
42
  /**
5
43
  * @public
@@ -9342,75 +9380,59 @@ function SvgIcon({ animate = false, toggle = false, ...props }) {
9342
9380
  React__default.createElement(Icon, { ...props }))));
9343
9381
  }
9344
9382
 
9345
- function styleInject(css, ref) {
9346
- if ( ref === void 0 ) ref = {};
9347
- var insertAt = ref.insertAt;
9348
-
9349
- if (!css || typeof document === 'undefined') { return; }
9350
-
9351
- var head = document.head || document.getElementsByTagName('head')[0];
9352
- var style = document.createElement('style');
9353
- style.type = 'text/css';
9383
+ var css_248z$y = ".styles-module_container__PIGIl {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 7px;\n color: var(--foreground-3);\n}\n.styles-module_container__PIGIl svg {\n fill: var(--foreground-3);\n}";
9384
+ var styles$y = {"container":"styles-module_container__PIGIl"};
9385
+ styleInject(css_248z$y);
9354
9386
 
9355
- if (insertAt === 'top') {
9356
- if (head.firstChild) {
9357
- head.insertBefore(style, head.firstChild);
9358
- } else {
9359
- head.appendChild(style);
9360
- }
9361
- } else {
9362
- head.appendChild(style);
9363
- }
9364
-
9365
- if (style.styleSheet) {
9366
- style.styleSheet.cssText = css;
9367
- } else {
9368
- style.appendChild(document.createTextNode(css));
9369
- }
9387
+ function StepBack({ iconName = "arrow_back", text = "Weitere Möglichkeiten" }) {
9388
+ return (React__default.createElement(React__default.Fragment, null,
9389
+ React__default.createElement("div", { className: styles$y.container },
9390
+ React__default.createElement(SvgIcon, { iconName: iconName }),
9391
+ text)));
9370
9392
  }
9371
9393
 
9372
- var css_248z$w = ".styles-module_container__3IVfB {\n margin-bottom: 20px;\n background: var(--background-1);\n border-radius: 30px;\n transition: 0.2s ease-in-out;\n color: var(--foreground-1);\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 16px 20px;\n color: var(--foreground-3);\n background: var(--background-2);\n border-radius: 30px;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n transition: 0.2s ease-in-out;\n gap: 10px;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb span {\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb h3 {\n margin: 0;\n font-weight: 400;\n font-size: 16px;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R {\n box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_head__xFYQb span {\n rotate: 180deg;\n}\n.styles-module_container__3IVfB .styles-module_content__XAf02 {\n transition: all 0.3s ease-in-out;\n line-height: 1.5;\n}\n.styles-module_container__3IVfB.styles-module_not_active__JcVLz .styles-module_content__XAf02 {\n height: 0;\n max-height: 0;\n overflow: hidden;\n opacity: 0;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_content__XAf02 {\n max-height: auto;\n overflow: visible;\n opacity: 1;\n padding: 10px 0px;\n}";
9373
- var styles$w = {"container":"styles-module_container__3IVfB","head":"styles-module_head__xFYQb","active":"styles-module_active__soD8R","content":"styles-module_content__XAf02","not_active":"styles-module_not_active__JcVLz"};
9374
- styleInject(css_248z$w);
9394
+ var css_248z$x = ".styles-module_container__3IVfB {\n margin-bottom: 20px;\n background: var(--background-1);\n border-radius: 30px;\n transition: 0.2s ease-in-out;\n color: var(--foreground-1);\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 16px 20px;\n color: var(--foreground-3);\n background: var(--background-2);\n border-radius: 30px;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n transition: 0.2s ease-in-out;\n gap: 10px;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb span {\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb h3 {\n margin: 0;\n font-weight: 400;\n font-size: 16px;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R {\n box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_head__xFYQb span {\n rotate: 180deg;\n}\n.styles-module_container__3IVfB .styles-module_content__XAf02 {\n transition: all 0.3s ease-in-out;\n line-height: 1.5;\n}\n.styles-module_container__3IVfB.styles-module_not_active__JcVLz .styles-module_content__XAf02 {\n height: 0;\n max-height: 0;\n overflow: hidden;\n opacity: 0;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_content__XAf02 {\n max-height: auto;\n overflow: visible;\n opacity: 1;\n padding: 10px 0px;\n}";
9395
+ var styles$x = {"container":"styles-module_container__3IVfB","head":"styles-module_head__xFYQb","active":"styles-module_active__soD8R","content":"styles-module_content__XAf02","not_active":"styles-module_not_active__JcVLz"};
9396
+ styleInject(css_248z$x);
9375
9397
 
9376
9398
  function Accordeon({ title, children }) {
9377
9399
  const [isActive, setActive] = useState(false);
9378
- return (React__default.createElement("div", { className: [styles$w.container, isActive ? styles$w.active : styles$w.not_active].join(" ") },
9379
- React__default.createElement("div", { className: styles$w.head, onClick: () => setActive(!isActive) },
9400
+ return (React__default.createElement("div", { className: [styles$x.container, isActive ? styles$x.active : styles$x.not_active].join(" ") },
9401
+ React__default.createElement("div", { className: styles$x.head, onClick: () => setActive(!isActive) },
9380
9402
  React__default.createElement(SvgIcon, { iconName: "expand_more" }),
9381
9403
  React__default.createElement("h3", null, title)),
9382
- React__default.createElement("div", { className: styles$w.content }, children)));
9404
+ React__default.createElement("div", { className: styles$x.content }, children)));
9383
9405
  }
9384
9406
 
9385
- var css_248z$v = ".styles-module_container__TP0rp {\n max-width: 100%;\n}\n\n.styles-module_button__Sh-fr {\n padding: 10px 18px;\n border-radius: 40px;\n cursor: pointer;\n display: flex;\n flex-direction: row;\n gap: 10px;\n font-size: 15px;\n font-weight: 400;\n align-items: center;\n border: none;\n transition: 0.2s ease-in-out;\n font-family: \"Space Grotesk\", sans-serif;\n border: 1px solid transparent;\n}\n.styles-module_button__Sh-fr:hover {\n filter: brightness(0.9);\n}\n.styles-module_button__Sh-fr:focus {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_button__Sh-fr.styles-module_blue__DRdbo {\n background: var(--primary-1);\n color: white;\n}\n.styles-module_button__Sh-fr.styles-module_lightBlue__7EKfp {\n background: var(--primary-2);\n color: var(--primary-1);\n}\n.styles-module_button__Sh-fr.styles-module_red__EhImH {\n background: var(--red-1);\n color: white;\n}\n.styles-module_button__Sh-fr.styles-module_grey__kAVD1 {\n background: var(--background-1);\n color: var(--foreground-2);\n}\n.styles-module_button__Sh-fr.styles-module_onlyIcon__bNVnI {\n width: 44px;\n height: 44px;\n padding: 0;\n align-items: center;\n justify-content: center;\n}\n.styles-module_button__Sh-fr.styles-module_onlyIcon__bNVnI span {\n font-size: 22px !important;\n}";
9386
- var styles$v = {"container":"styles-module_container__TP0rp","button":"styles-module_button__Sh-fr","blue":"styles-module_blue__DRdbo","lightBlue":"styles-module_lightBlue__7EKfp","red":"styles-module_red__EhImH","grey":"styles-module_grey__kAVD1","onlyIcon":"styles-module_onlyIcon__bNVnI"};
9387
- styleInject(css_248z$v);
9407
+ var css_248z$w = ".styles-module_container__TP0rp {\n max-width: 100%;\n}\n\n.styles-module_button__Sh-fr {\n padding: 10px 18px;\n border-radius: 40px;\n cursor: pointer;\n display: flex;\n flex-direction: row;\n gap: 10px;\n font-size: 15px;\n font-weight: 400;\n align-items: center;\n border: none;\n transition: 0.2s ease-in-out;\n font-family: \"Space Grotesk\", sans-serif;\n border: 1px solid transparent;\n}\n.styles-module_button__Sh-fr:hover {\n filter: brightness(0.9);\n}\n.styles-module_button__Sh-fr:focus {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_button__Sh-fr.styles-module_blue__DRdbo {\n background: var(--primary-1);\n color: white;\n}\n.styles-module_button__Sh-fr.styles-module_lightBlue__7EKfp {\n background: var(--primary-2);\n color: var(--primary-1);\n}\n.styles-module_button__Sh-fr.styles-module_red__EhImH {\n background: var(--red-1);\n color: white;\n}\n.styles-module_button__Sh-fr.styles-module_grey__kAVD1 {\n background: var(--background-1);\n color: var(--foreground-2);\n}\n.styles-module_button__Sh-fr.styles-module_onlyIcon__bNVnI {\n width: 44px;\n height: 44px;\n padding: 0;\n align-items: center;\n justify-content: center;\n}\n.styles-module_button__Sh-fr.styles-module_onlyIcon__bNVnI span {\n font-size: 22px !important;\n}";
9408
+ var styles$w = {"container":"styles-module_container__TP0rp","button":"styles-module_button__Sh-fr","blue":"styles-module_blue__DRdbo","lightBlue":"styles-module_lightBlue__7EKfp","red":"styles-module_red__EhImH","grey":"styles-module_grey__kAVD1","onlyIcon":"styles-module_onlyIcon__bNVnI"};
9409
+ styleInject(css_248z$w);
9388
9410
 
9389
9411
  function Button({ id, children, iconName, iconFill = "white", type = "blue", onClick = () => { }, ...props }) {
9390
9412
  const onClickButton = (event) => {
9391
9413
  event.preventDefault();
9392
9414
  onClick(event);
9393
9415
  };
9394
- return (React__default.createElement("div", { className: styles$v.container },
9395
- React__default.createElement("button", { className: [styles$v.button, styles$v[type], (children && !iconName) ? styles$v.onlyText : "", (!children && iconName) ? styles$v.onlyIcon : ""].join(" "), onClick: onClickButton, id: id, ...props },
9416
+ return (React__default.createElement("div", { className: styles$w.container },
9417
+ React__default.createElement("button", { className: [styles$w.button, styles$w[type], (children && !iconName) ? styles$w.onlyText : "", (!children && iconName) ? styles$w.onlyIcon : ""].join(" "), onClick: onClickButton, id: id, ...props },
9396
9418
  children,
9397
9419
  iconName && React__default.createElement(SvgIcon, { iconName: iconName }))));
9398
9420
  }
9399
9421
 
9400
- var css_248z$u = ".styles-module_container__Q2wD4 {\n max-width: 100%;\n width: 350px;\n transition: all 0.2s ease-in-out;\n box-sizing: border-box;\n}\n.styles-module_container__Q2wD4.styles-module_visible__hQgjm {\n max-height: 100px;\n opacity: 1;\n}\n.styles-module_container__Q2wD4.styles-module_hidden__sO2e7 {\n overflow: hidden;\n max-height: 0;\n opacity: 0;\n}\n\n.styles-module_container__Q2wD4.styles-module_rotate__HQYfs .styles-module_button__jo0MC:hover span {\n rotate: -45deg;\n}\n\n.styles-module_button__jo0MC {\n padding: 12px 20px;\n background: linear-gradient(60deg, #0075FF, #0056b8);\n background-position-x: right;\n color: white;\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center;\n border-radius: 14px;\n border: none;\n cursor: pointer;\n font-size: 16px;\n font-weight: 400;\n gap: 10px;\n position: relative;\n transition: all 0.5s ease-in-out;\n outline: none;\n border: 1px solid transparent;\n font-family: \"Space Grotesk\", sans-serif;\n}\n.styles-module_button__jo0MC:focus {\n box-shadow: var(--focus-shadow);\n border: var(--focus-border);\n}\n.styles-module_button__jo0MC span {\n transition: 0.1s ease-in-out;\n}\n.styles-module_button__jo0MC:hover {\n background-position-x: left;\n}\n.styles-module_button__jo0MC.styles-module_secondary__YBbOj {\n background: var(--background-2);\n color: var(--primary-1);\n border: 1px solid var(--primary-1);\n}\n.styles-module_button__jo0MC.styles-module_secondary__YBbOj svg {\n fill: var(--primary-1);\n}\n\n@media (max-width: 450px) {\n .styles-module_button__jo0MC {\n font-size: 14px;\n }\n}";
9401
- var styles$u = {"container":"styles-module_container__Q2wD4","visible":"styles-module_visible__hQgjm","hidden":"styles-module_hidden__sO2e7","rotate":"styles-module_rotate__HQYfs","button":"styles-module_button__jo0MC","secondary":"styles-module_secondary__YBbOj"};
9402
- styleInject(css_248z$u);
9422
+ var css_248z$v = ".styles-module_container__Q2wD4 {\n max-width: 100%;\n width: 350px;\n transition: all 0.2s ease-in-out;\n box-sizing: border-box;\n}\n.styles-module_container__Q2wD4.styles-module_visible__hQgjm {\n max-height: 100px;\n opacity: 1;\n}\n.styles-module_container__Q2wD4.styles-module_hidden__sO2e7 {\n overflow: hidden;\n max-height: 0;\n opacity: 0;\n}\n\n.styles-module_container__Q2wD4.styles-module_rotate__HQYfs .styles-module_button__jo0MC:hover span {\n rotate: -45deg;\n}\n\n.styles-module_button__jo0MC {\n padding: 12px 20px;\n background: linear-gradient(60deg, #0075FF, #0056b8);\n background-position-x: right;\n color: white;\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center;\n border-radius: 14px;\n border: none;\n cursor: pointer;\n font-size: 16px;\n font-weight: 400;\n gap: 10px;\n position: relative;\n transition: all 0.5s ease-in-out;\n outline: none;\n border: 1px solid transparent;\n font-family: \"Space Grotesk\", sans-serif;\n}\n.styles-module_button__jo0MC:focus {\n box-shadow: var(--focus-shadow);\n border: var(--focus-border);\n}\n.styles-module_button__jo0MC span {\n transition: 0.1s ease-in-out;\n}\n.styles-module_button__jo0MC:hover {\n background-position-x: left;\n}\n.styles-module_button__jo0MC.styles-module_secondary__YBbOj {\n background: var(--background-2);\n color: var(--primary-1);\n border: 1px solid var(--primary-1);\n}\n.styles-module_button__jo0MC.styles-module_secondary__YBbOj svg {\n fill: var(--primary-1);\n}\n\n@media (max-width: 450px) {\n .styles-module_button__jo0MC {\n font-size: 14px;\n }\n}";
9423
+ var styles$v = {"container":"styles-module_container__Q2wD4","visible":"styles-module_visible__hQgjm","hidden":"styles-module_hidden__sO2e7","rotate":"styles-module_rotate__HQYfs","button":"styles-module_button__jo0MC","secondary":"styles-module_secondary__YBbOj"};
9424
+ styleInject(css_248z$v);
9403
9425
 
9404
9426
  function Button2({ id, children, type = "submit", theme = "primary", iconName = "arrow_forward", isVisible = true, style, onClick }) {
9405
- return (React__default.createElement("div", { className: [styles$u.container, isVisible ? styles$u.visible : styles$u.hidden, ["arrow_forward"].includes(iconName) ? styles$u.rotate : null].join(" "), style: style },
9406
- React__default.createElement("button", { type: type, className: `${styles$u.button} ${styles$u[theme]}`, onClick: onClick, id: id },
9427
+ return (React__default.createElement("div", { className: [styles$v.container, isVisible ? styles$v.visible : styles$v.hidden, ["arrow_forward"].includes(iconName) ? styles$v.rotate : null].join(" "), style: style },
9428
+ React__default.createElement("button", { type: type, className: `${styles$v.button} ${styles$v[theme]}`, onClick: onClick, id: id },
9407
9429
  children,
9408
9430
  React__default.createElement(SvgIcon, { iconName: iconName }))));
9409
9431
  }
9410
9432
 
9411
- var css_248z$t = ".styles-module_card__bOd85 {\n background: var(--background-2);\n border: 1px solid var(--border-2);\n border-radius: 18px;\n transition: 0.2s ease;\n padding: 18px 14px;\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);\n cursor: pointer;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding-top: 30px;\n}\n.styles-module_card__bOd85 span {\n color: var(--foreground-3);\n}\n.styles-module_card__bOd85:hover {\n transform: scale(1.01);\n box-shadow: none;\n background: none;\n}\n.styles-module_card__bOd85 h2 {\n margin-top: 0;\n color: var(--foreground-3);\n font-weight: 400;\n font-size: 18px;\n}";
9412
- var styles$t = {"card":"styles-module_card__bOd85"};
9413
- styleInject(css_248z$t);
9433
+ var css_248z$u = ".styles-module_card__bOd85 {\n background: var(--background-2);\n border: 1px solid var(--border-2);\n border-radius: 18px;\n transition: 0.2s ease;\n padding: 18px 14px;\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);\n cursor: pointer;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n padding-top: 30px;\n}\n.styles-module_card__bOd85 span {\n color: var(--foreground-3);\n}\n.styles-module_card__bOd85:hover {\n transform: scale(1.01);\n box-shadow: none;\n background: none;\n}\n.styles-module_card__bOd85 h2 {\n margin-top: 0;\n color: var(--foreground-3);\n font-weight: 400;\n font-size: 18px;\n}";
9434
+ var styles$u = {"card":"styles-module_card__bOd85"};
9435
+ styleInject(css_248z$u);
9414
9436
 
9415
9437
  function CardButton({ id, children, iconName, onClick, ...props }) {
9416
9438
  function onClickCard(event) {
@@ -9418,27 +9440,27 @@ function CardButton({ id, children, iconName, onClick, ...props }) {
9418
9440
  if (onClick)
9419
9441
  onClick(event);
9420
9442
  }
9421
- return (React__default.createElement("div", { className: styles$t.card, onClick: onClickCard, id: id, ...props },
9443
+ return (React__default.createElement("div", { className: styles$u.card, onClick: onClickCard, id: id, ...props },
9422
9444
  React__default.createElement(SvgIcon, { iconName: iconName, size: "32px" }),
9423
9445
  React__default.createElement("h2", null, children)));
9424
9446
  }
9425
9447
 
9426
- var css_248z$s = ".styles-module_container__gCCnD {\n margin-bottom: 20px;\n width: 343px;\n color: var(--foreground-3);\n}\n.styles-module_container__gCCnD [type=checkbox] {\n position: relative;\n left: 15px;\n top: -4px;\n z-index: 0;\n appearance: none;\n -webkit-appearance: none;\n cursor: pointer;\n margin-left: -3.5px;\n}\n.styles-module_container__gCCnD [type=checkbox] + label {\n position: absolute;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__gCCnD [type=checkbox] + label::before {\n width: 17px;\n height: 17px;\n border-radius: 5px;\n border: 2px solid var(--border-2);\n display: block;\n content: \"\";\n float: left;\n margin-right: 8px;\n z-index: 5;\n position: relative;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__gCCnD [type=checkbox] ~ span {\n position: absolute;\n opacity: 1;\n color: var(--background-2);\n z-index: 100;\n user-select: none;\n pointer-events: none;\n -webkit-user-select: none;\n font-weight: 500;\n}\n.styles-module_container__gCCnD [type=checkbox]:checked + label::before {\n background-color: var(--primary-1);\n border-color: var(--primary-1);\n}\n.styles-module_container__gCCnD [type=checkbox]:hover:not(:checked) + label::before {\n background-color: var(--background-4);\n border-color: var(--background-2);\n}";
9427
- var styles$s = {"container":"styles-module_container__gCCnD"};
9428
- styleInject(css_248z$s);
9448
+ var css_248z$t = ".styles-module_container__gCCnD {\n margin-bottom: 20px;\n width: 343px;\n color: var(--foreground-3);\n}\n.styles-module_container__gCCnD [type=checkbox] {\n position: relative;\n left: 15px;\n top: -4px;\n z-index: 0;\n appearance: none;\n -webkit-appearance: none;\n cursor: pointer;\n margin-left: -3.5px;\n}\n.styles-module_container__gCCnD [type=checkbox] + label {\n position: absolute;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__gCCnD [type=checkbox] + label::before {\n width: 17px;\n height: 17px;\n border-radius: 5px;\n border: 2px solid var(--border-2);\n display: block;\n content: \"\";\n float: left;\n margin-right: 8px;\n z-index: 5;\n position: relative;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__gCCnD [type=checkbox] ~ span {\n position: absolute;\n opacity: 1;\n color: var(--background-2);\n z-index: 100;\n user-select: none;\n pointer-events: none;\n -webkit-user-select: none;\n font-weight: 500;\n}\n.styles-module_container__gCCnD [type=checkbox]:checked + label::before {\n background-color: var(--primary-1);\n border-color: var(--primary-1);\n}\n.styles-module_container__gCCnD [type=checkbox]:hover:not(:checked) + label::before {\n background-color: var(--background-4);\n border-color: var(--background-2);\n}";
9449
+ var styles$t = {"container":"styles-module_container__gCCnD"};
9450
+ styleInject(css_248z$t);
9429
9451
 
9430
9452
  function Checkbox({ id, name, checked, defaultChecked = false, onInput = () => { }, children }) {
9431
- return (React__default.createElement("div", { className: styles$s.container },
9453
+ return (React__default.createElement("div", { className: styles$t.container },
9432
9454
  React__default.createElement("input", { type: "checkbox", onInput: onInput, name: name, checked: checked, defaultChecked: defaultChecked, id: id || name }),
9433
9455
  React__default.createElement("label", { htmlFor: id || name }, children),
9434
9456
  React__default.createElement(SvgIcon, { iconName: "done", size: "21px" })));
9435
9457
  }
9436
9458
 
9437
- var css_248z$r = ".styles-module_container__OqDNA {\n display: flex;\n flex-direction: row;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(1) {\n background: var(--background-1);\n border-color: var(--background-1);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(2) {\n background: var(--background-2);\n border-color: var(--background-2);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(3) {\n background: var(--background-4);\n border-color: var(--background-4);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:first-child {\n border-top-left-radius: 20px;\n border-bottom-left-radius: 20px;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:last-child {\n border-top-right-radius: 20px;\n border-bottom-right-radius: 20px;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI {\n border: 1px solid transparent;\n padding: 11px 18px;\n font-size: 14px;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI.styles-module_selected__AXIA- {\n background: var(--background-4);\n border-color: var(--primary-1);\n color: var(--primary-1);\n}";
9438
- var styles$r = {"container":"styles-module_container__OqDNA","item":"styles-module_item__1SMCI","selected":"styles-module_selected__AXIA-"};
9439
- styleInject(css_248z$r);
9459
+ var css_248z$s = ".styles-module_container__OqDNA {\n display: flex;\n flex-direction: row;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(1) {\n background: var(--background-1);\n border-color: var(--background-1);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(2) {\n background: var(--background-2);\n border-color: var(--background-2);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:nth-child(3) {\n background: var(--background-4);\n border-color: var(--background-4);\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:first-child {\n border-top-left-radius: 20px;\n border-bottom-left-radius: 20px;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI:last-child {\n border-top-right-radius: 20px;\n border-bottom-right-radius: 20px;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI {\n border: 1px solid transparent;\n padding: 11px 18px;\n font-size: 14px;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__OqDNA .styles-module_item__1SMCI.styles-module_selected__AXIA- {\n background: var(--background-4);\n border-color: var(--primary-1);\n color: var(--primary-1);\n}";
9460
+ var styles$s = {"container":"styles-module_container__OqDNA","item":"styles-module_item__1SMCI","selected":"styles-module_selected__AXIA-"};
9461
+ styleInject(css_248z$s);
9440
9462
 
9441
- const ChooseRoleItem = ({ item, isSelected, onUpdate, }) => (React__default.createElement("div", { className: [styles$r.item, isSelected ? styles$r.selected : styles$r.not_selected].join(" "), onClick: () => onUpdate(item.value) }, item.title));
9463
+ const ChooseRoleItem = ({ item, isSelected, onUpdate, }) => (React__default.createElement("div", { className: [styles$s.item, isSelected ? styles$s.selected : styles$s.not_selected].join(" "), onClick: () => onUpdate(item.value) }, item.title));
9442
9464
  function ChooseRole({ roles, defaultSelected, readOnly = false, onChange = () => { } }) {
9443
9465
  const [selected, setSelected] = useState(defaultSelected);
9444
9466
  useEffect(() => setSelected(defaultSelected), [defaultSelected]);
@@ -9448,27 +9470,27 @@ function ChooseRole({ roles, defaultSelected, readOnly = false, onChange = () =>
9448
9470
  setSelected(newRole);
9449
9471
  onChange(newRole);
9450
9472
  }
9451
- return (React__default.createElement("div", { className: styles$r.container }, roles.map(item => React__default.createElement(ChooseRoleItem, { key: item.value, item: item, onUpdate: onUpdate, isSelected: selected === item.value }))));
9473
+ return (React__default.createElement("div", { className: styles$s.container }, roles.map(item => React__default.createElement(ChooseRoleItem, { key: item.value, item: item, onUpdate: onUpdate, isSelected: selected === item.value }))));
9452
9474
  }
9453
9475
 
9454
- var css_248z$q = ".styles-module_container__yV6C8 {\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 30px;\n transition: 0.2s ease-in-out;\n margin-bottom: 20px;\n color: var(--foreground-1);\n}\n.styles-module_container__yV6C8:hover {\n color: var(--primary-1);\n}";
9455
- var styles$q = {"container":"styles-module_container__yV6C8"};
9456
- styleInject(css_248z$q);
9476
+ var css_248z$r = ".styles-module_container__yV6C8 {\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 30px;\n transition: 0.2s ease-in-out;\n margin-bottom: 20px;\n color: var(--foreground-1);\n}\n.styles-module_container__yV6C8:hover {\n color: var(--primary-1);\n}";
9477
+ var styles$r = {"container":"styles-module_container__yV6C8"};
9478
+ styleInject(css_248z$r);
9457
9479
 
9458
9480
  function CopyCode({ code, onCopy = () => { }, ...props }) {
9459
9481
  const onClick = () => {
9460
9482
  navigator.clipboard.writeText(code);
9461
9483
  onCopy();
9462
9484
  };
9463
- return (React__default.createElement("div", { className: styles$q.container, onClick: onClick, ...props },
9485
+ return (React__default.createElement("div", { className: styles$r.container, onClick: onClick, ...props },
9464
9486
  React__default.createElement(SvgIcon, { iconName: "content_copy" }),
9465
9487
  React__default.createElement("span", null, code),
9466
9488
  React__default.createElement("input", { type: "hidden", name: "code", value: code })));
9467
9489
  }
9468
9490
 
9469
- var css_248z$p = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: var(--background-2);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: var(--background-1);\n border-radius: 20px;\n padding: 35px;\n width: 450px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n max-width: 100%;\n box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n cursor: auto;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M h1 {\n font-size: 26px;\n font-weight: 500;\n line-height: 1.5;\n margin-top: 20px;\n margin-bottom: 20px;\n text-align: center;\n color: var(--foreground-1);\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS {\n border-radius: 12px;\n color: var(--foreground-1);\n background: var(--background-2);\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n font-size: 16px;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux {\n border-radius: 12px;\n color: var(--background-1);\n background: var(--primary-1);\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n font-size: 16px;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux:hover {\n background: var(--primary-1);\n}";
9470
- var styles$p = {"container":"styles-module_container__9-1MH","active":"styles-module_active__AXoyo","disabled":"styles-module_disabled__sELpy","dialog_window":"styles-module_dialog_window__0Bn2M","cancel_button":"styles-module_cancel_button__KhwLS","submit_button":"styles-module_submit_button__xLzux"};
9471
- styleInject(css_248z$p);
9491
+ var css_248z$q = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: var(--background-2);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: var(--background-1);\n border-radius: 20px;\n padding: 35px;\n width: 450px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n max-width: 100%;\n box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n cursor: auto;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M h1 {\n font-size: 26px;\n font-weight: 500;\n line-height: 1.5;\n margin-top: 20px;\n margin-bottom: 20px;\n text-align: center;\n color: var(--foreground-1);\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS {\n border-radius: 12px;\n color: var(--foreground-1);\n background: var(--background-2);\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n font-size: 16px;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_cancel_button__KhwLS:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux {\n border-radius: 12px;\n color: var(--background-1);\n background: var(--primary-1);\n padding: 14px 0px;\n border: none;\n outline: none;\n cursor: pointer;\n transition: 0.2s ease-in-out;\n font-size: 16px;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M .styles-module_submit_button__xLzux:hover {\n background: var(--primary-1);\n}";
9492
+ var styles$q = {"container":"styles-module_container__9-1MH","active":"styles-module_active__AXoyo","disabled":"styles-module_disabled__sELpy","dialog_window":"styles-module_dialog_window__0Bn2M","cancel_button":"styles-module_cancel_button__KhwLS","submit_button":"styles-module_submit_button__xLzux"};
9493
+ styleInject(css_248z$q);
9472
9494
 
9473
9495
  function Dialog({ data, enabled, text, onClose, onSubmit = () => { }, children }) {
9474
9496
  function onClick(event) {
@@ -9479,59 +9501,58 @@ function Dialog({ data, enabled, text, onClose, onSubmit = () => { }, children }
9479
9501
  onClose(event, data);
9480
9502
  }
9481
9503
  }
9482
- return (React__default.createElement("div", { id: "dialog-backdrop", className: `${styles$p.container} ${enabled ? styles$p.active : styles$p.disabled}`, onClick: onClick },
9483
- React__default.createElement("div", { className: styles$p.dialog_window },
9504
+ return (React__default.createElement("div", { id: "dialog-backdrop", className: `${styles$q.container} ${enabled ? styles$q.active : styles$q.disabled}`, onClick: onClick },
9505
+ React__default.createElement("div", { className: styles$q.dialog_window },
9484
9506
  children,
9485
9507
  text && React__default.createElement("h1", null, text),
9486
- React__default.createElement("button", { className: styles$p.cancel_button, id: "cancel-button", onClick: onClick }, "Abbrechen"),
9487
- React__default.createElement("button", { className: styles$p.submit_button, id: "submit-button", onClick: (event) => onSubmit(event, data) }, "Best\u00E4tigen"))));
9508
+ React__default.createElement("button", { className: styles$q.cancel_button, id: "cancel-button", onClick: onClick }, "Abbrechen"),
9509
+ React__default.createElement("button", { className: styles$q.submit_button, id: "submit-button", onClick: (event) => onSubmit(event, data) }, "Best\u00E4tigen"))));
9488
9510
  }
9489
9511
 
9490
- var css_248z$o = ".styles-module_card__hT9fw {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 20px;\n padding: 100px 0px;\n font-family: \"Space Grotesk\", sans-serif;\n}\n.styles-module_card__hT9fw h1 {\n margin: 0;\n font-size: 22px;\n font-weight: 500;\n}\n.styles-module_card__hT9fw p {\n margin: 0;\n font-size: 16px;\n}";
9491
- var styles$o = {"card":"styles-module_card__hT9fw"};
9492
- styleInject(css_248z$o);
9512
+ var css_248z$p = ".styles-module_card__hT9fw {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 20px;\n padding: 100px 0px;\n font-family: \"Space Grotesk\", sans-serif;\n}\n.styles-module_card__hT9fw h1 {\n margin: 0;\n font-size: 22px;\n font-weight: 500;\n}\n.styles-module_card__hT9fw p {\n margin: 0;\n font-size: 16px;\n}";
9513
+ var styles$p = {"card":"styles-module_card__hT9fw"};
9514
+ styleInject(css_248z$p);
9493
9515
 
9494
9516
  function EmptyCard({ title = "Keine Daten", subtitle = "Es sind keine Daten vorhanden.", iconName = "manage_search", button, onClick }) {
9495
- return (React__default.createElement("div", { className: styles$o.card },
9517
+ return (React__default.createElement("div", { className: styles$p.card },
9496
9518
  React__default.createElement(SvgIcon, { size: "60px", iconName: iconName }),
9497
9519
  React__default.createElement("h1", null, title),
9498
9520
  React__default.createElement("p", null, subtitle),
9499
9521
  button && React__default.createElement(Button, { onClick: onClick, type: "lightBlue" }, button)));
9500
9522
  }
9501
9523
 
9502
- var css_248z$n = ".styles-module_container__HOoBj {\n margin-bottom: 30px;\n}\n.styles-module_container__HOoBj button {\n padding: 12px 18px;\n border-radius: 40px;\n border: none;\n color: white;\n font-weight: 400;\n font-size: 16px;\n background: var(--primary-1);\n cursor: pointer;\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n}";
9503
- var styles$n = {"container":"styles-module_container__HOoBj"};
9504
- styleInject(css_248z$n);
9524
+ var css_248z$o = ".styles-module_container__HOoBj {\n margin-bottom: 30px;\n}\n.styles-module_container__HOoBj button {\n padding: 12px 18px;\n border-radius: 40px;\n border: none;\n color: white;\n font-weight: 400;\n font-size: 16px;\n background: var(--primary-1);\n cursor: pointer;\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n}";
9525
+ var styles$o = {"container":"styles-module_container__HOoBj"};
9526
+ styleInject(css_248z$o);
9505
9527
 
9506
9528
  function FormButton({ id, children, style = {}, iconName = "", type = "submit", background = "#0075FF", onClick = () => { }, ...props }) {
9507
- return (React__default.createElement("div", { className: styles$n.container, style: style },
9529
+ return (React__default.createElement("div", { className: styles$o.container, style: style },
9508
9530
  React__default.createElement("button", { type: type, onClick: onClick, style: { background: background }, id: id, ...props },
9509
9531
  children,
9510
9532
  iconName && React__default.createElement(SvgIcon, { iconName: iconName, color: "white" }))));
9511
9533
  }
9512
9534
 
9513
- var css_248z$m = ".styles-module_container__9wYEm {\n margin-bottom: 30px;\n width: 100%;\n font-family: var(--font-1);\n}\n.styles-module_container__9wYEm h1,\n.styles-module_container__9wYEm h2,\n.styles-module_container__9wYEm h3,\n.styles-module_container__9wYEm h4,\n.styles-module_container__9wYEm h5 {\n margin: 0;\n font-weight: 500;\n color: var(--foreground-1);\n}\n.styles-module_container__9wYEm h3 {\n margin-top: 5px;\n font-weight: 400;\n}";
9514
- var styles$m = {"container":"styles-module_container__9wYEm"};
9515
- styleInject(css_248z$m);
9535
+ var css_248z$n = ".styles-module_container__9wYEm {\n margin-bottom: 30px;\n width: 100%;\n font-family: var(--font-1);\n}\n.styles-module_container__9wYEm h1,\n.styles-module_container__9wYEm h2,\n.styles-module_container__9wYEm h3,\n.styles-module_container__9wYEm h4,\n.styles-module_container__9wYEm h5 {\n margin: 0;\n font-weight: 500;\n color: var(--foreground-1);\n}\n.styles-module_container__9wYEm h3 {\n margin-top: 5px;\n font-weight: 400;\n}";
9536
+ var styles$n = {"container":"styles-module_container__9wYEm"};
9537
+ styleInject(css_248z$n);
9516
9538
 
9517
9539
  function FormText({ title, value, style }) {
9518
- return (React__default.createElement("div", { className: styles$m.container, style: style },
9540
+ return (React__default.createElement("div", { className: styles$n.container, style: style },
9519
9541
  React__default.createElement("h5", null, title),
9520
9542
  React__default.createElement("h3", null, value)));
9521
9543
  }
9522
9544
 
9523
- var css_248z$l = ".styles-module_container__C99XV {\n margin-right: 8px;\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF {\n background: none;\n padding: none;\n border: none;\n width: 40px;\n height: 40px;\n transition: 0.2s;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF:hover {\n background: var(--background-2);\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF span {\n color: var(--foreground-1) !important;\n}";
9524
- var styles$l = {"container":"styles-module_container__C99XV","button":"styles-module_button__pGYkF"};
9525
- styleInject(css_248z$l);
9545
+ var css_248z$m = ".styles-module_container__C99XV {\n margin-right: 8px;\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF {\n background: none;\n padding: none;\n border: none;\n width: 40px;\n height: 40px;\n transition: 0.2s;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF:hover {\n background: var(--background-2);\n}\n.styles-module_container__C99XV .styles-module_button__pGYkF span {\n color: var(--foreground-1) !important;\n}";
9546
+ var styles$m = {"container":"styles-module_container__C99XV","button":"styles-module_button__pGYkF"};
9547
+ styleInject(css_248z$m);
9526
9548
 
9527
- function ForwardButton({ onClick }) {
9549
+ function ForwardButton({ onClick = () => { } }) {
9528
9550
  function onClickButton(event) {
9529
9551
  event.preventDefault();
9530
- if (onClick)
9531
- onClick(event);
9552
+ onClick(event);
9532
9553
  }
9533
- return (React__default.createElement("div", { className: styles$l.container },
9534
- React__default.createElement("button", { onClick: onClickButton, className: styles$l.button },
9554
+ return (React__default.createElement("div", { className: styles$m.container },
9555
+ React__default.createElement("button", { onClick: onClickButton, className: styles$m.button },
9535
9556
  React__default.createElement(SvgIcon, { iconName: "arrow_back" }))));
9536
9557
  }
9537
9558
 
@@ -9539,9 +9560,9 @@ function Gap({ size }) {
9539
9560
  return (React__default.createElement("div", { style: { height: size } }));
9540
9561
  }
9541
9562
 
9542
- var css_248z$k = ".styles-module_container__Jr7LQ {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n}\n\n.styles-module_input__v-hUz {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1.5px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n min-height: 50px;\n line-height: 1.7;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__v-hUz:focus, .styles-module_input__v-hUz:active {\n border-color: var(--primary-1);\n box-shadow: 0px 0px 3px 3px rgba(0, 87, 255, 0.2509803922);\n}\n.styles-module_input__v-hUz.styles-module_not_available__6xu3Y, .styles-module_input__v-hUz:invalid {\n border-color: var(--red-1);\n box-shadow: 0px 0px 3px 3px rgba(255, 0, 0, 0.2509803922);\n}\n\n/* animated title */\n.styles-module_container__Jr7LQ {\n position: relative;\n}\n\n.styles-module_label__SSsD3 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.styles-module_label_text__EOAq5 {\n position: absolute;\n top: 20px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__v-hUz.styles-module_with_title__HWcCH::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__v-hUz.styles-module_with_title__HWcCH:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__v-hUz:focus + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5,\n.styles-module_input__v-hUz.styles-module_valid__6geu9 + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5 {\n transform: translateY(-50%);\n left: 15px;\n font-size: 14px;\n top: 0;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__v-hUz.styles-module_valid__6geu9 + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5 {\n color: var(--foreground-3);\n}";
9543
- var styles$k = {"container":"styles-module_container__Jr7LQ","input":"styles-module_input__v-hUz","not_available":"styles-module_not_available__6xu3Y","label":"styles-module_label__SSsD3","label_text":"styles-module_label_text__EOAq5","with_title":"styles-module_with_title__HWcCH","valid":"styles-module_valid__6geu9"};
9544
- styleInject(css_248z$k);
9563
+ var css_248z$l = ".styles-module_container__Jr7LQ {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n}\n\n.styles-module_input__v-hUz {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n min-height: 50px;\n line-height: 1.7;\n background: var(--background-1);\n color: var(--foreground-1);\n font-family: var(--font-2);\n}\n.styles-module_input__v-hUz:focus, .styles-module_input__v-hUz:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input__v-hUz.styles-module_not_available__6xu3Y, .styles-module_input__v-hUz:invalid {\n border: var(--invalid-border);\n box-shadow: var(--invalid-shadow);\n}\n\n/* animated title */\n.styles-module_container__Jr7LQ {\n position: relative;\n}\n\n.styles-module_label__SSsD3 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__EOAq5 {\n position: absolute;\n top: 20px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__v-hUz.styles-module_with_title__HWcCH::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__v-hUz.styles-module_with_title__HWcCH:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__v-hUz:focus + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5,\n.styles-module_input__v-hUz.styles-module_valid__6geu9 + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5 {\n transform: translateY(-50%);\n left: 15px;\n font-size: 14px;\n top: 0;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__v-hUz.styles-module_valid__6geu9 + .styles-module_label__SSsD3 .styles-module_label_text__EOAq5 {\n color: var(--foreground-3);\n}";
9564
+ var styles$l = {"container":"styles-module_container__Jr7LQ","input":"styles-module_input__v-hUz","not_available":"styles-module_not_available__6xu3Y","label":"styles-module_label__SSsD3","label_text":"styles-module_label_text__EOAq5","with_title":"styles-module_with_title__HWcCH","valid":"styles-module_valid__6geu9"};
9565
+ styleInject(css_248z$l);
9545
9566
 
9546
9567
  function InputArea({ id, title, name, placeholder = "", defaultValue = "", autoFocus = false, width = "100%", height = "100px", available = true, onInput }) {
9547
9568
  const [value, setValue] = useState(defaultValue);
@@ -9550,32 +9571,32 @@ function InputArea({ id, title, name, placeholder = "", defaultValue = "", autoF
9550
9571
  element.focus();
9551
9572
  }, [autoFocus]);
9552
9573
  return (React__default.createElement(React__default.Fragment, null,
9553
- React__default.createElement("div", { className: styles$k.container, style: { width } },
9554
- React__default.createElement("textarea", { className: `${styles$k.input} ${title != undefined ? styles$k.with_title : styles$k.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$k.valid : styles$k.not_valid} ${available ? styles$k.available : styles$k.not_available}`, name: name, id: id, placeholder: placeholder, ref: inputElement, defaultValue: defaultValue, style: { minHeight: height, maxHeight: height }, onInput: (event) => {
9574
+ React__default.createElement("div", { className: styles$l.container, style: { width } },
9575
+ React__default.createElement("textarea", { className: `${styles$l.input} ${title != undefined ? styles$l.with_title : styles$l.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$l.valid : styles$l.not_valid} ${available ? styles$l.available : styles$l.not_available}`, name: name, id: id, placeholder: placeholder, ref: inputElement, defaultValue: defaultValue, style: { minHeight: height, maxHeight: height }, onInput: (event) => {
9555
9576
  setValue(event.target.value);
9556
9577
  if (onInput)
9557
9578
  onInput(event);
9558
9579
  } }),
9559
- React__default.createElement("label", { htmlFor: "text", className: styles$k.label },
9560
- React__default.createElement("span", { className: styles$k.label_text }, title)))));
9580
+ React__default.createElement("label", { htmlFor: "text", className: styles$l.label },
9581
+ React__default.createElement("span", { className: styles$l.label_text }, title)))));
9561
9582
  }
9562
9583
 
9563
- var css_248z$j = ".styles-module_input__-GKhx {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1.5px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__-GKhx:focus, .styles-module_input__-GKhx:active {\n border-color: var(--primary-1);\n box-shadow: 0px 0px 3px 3px rgba(0, 87, 255, 0.2509803922);\n}\n.styles-module_input__-GKhx.styles-module_not_available__XD1kR, .styles-module_input__-GKhx:invalid {\n border-color: var(--red-1);\n box-shadow: 0px 0px 3px 3px rgba(255, 0, 0, 0.2509803922);\n}\n\n/* animated title */\n.styles-module_container__--4rV {\n position: relative;\n display: flex;\n flex-direction: column;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_label__mGzwP {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.styles-module_label_text__d0eMb {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__-GKhx.styles-module_with_title__CGOEs::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__-GKhx.styles-module_with_title__CGOEs:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__-GKhx:focus + .styles-module_label__mGzwP .styles-module_label_text__d0eMb,\n.styles-module_input__-GKhx.styles-module_valid__uj8g- + .styles-module_label__mGzwP .styles-module_label_text__d0eMb {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: #0063d4;\n}\n\n.styles-module_input__-GKhx.styles-module_valid__uj8g- + .styles-module_label__mGzwP .styles-module_label_text__d0eMb {\n color: var(--foreground-3);\n}";
9564
- var styles$j = {"input":"styles-module_input__-GKhx","not_available":"styles-module_not_available__XD1kR","container":"styles-module_container__--4rV","label":"styles-module_label__mGzwP","label_text":"styles-module_label_text__d0eMb","with_title":"styles-module_with_title__CGOEs","valid":"styles-module_valid__uj8g-"};
9565
- styleInject(css_248z$j);
9584
+ var css_248z$k = ".styles-module_input__-GKhx {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__-GKhx:focus, .styles-module_input__-GKhx:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input__-GKhx.styles-module_not_available__XD1kR, .styles-module_input__-GKhx:invalid {\n border: var(--invalid-border);\n box-shadow: var(--invalid-shadow);\n}\n\n/* animated title */\n.styles-module_container__--4rV {\n position: relative;\n display: flex;\n flex-direction: column;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_label__mGzwP {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__d0eMb {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__-GKhx.styles-module_with_title__CGOEs::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__-GKhx.styles-module_with_title__CGOEs:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__-GKhx:focus + .styles-module_label__mGzwP .styles-module_label_text__d0eMb,\n.styles-module_input__-GKhx.styles-module_valid__uj8g- + .styles-module_label__mGzwP .styles-module_label_text__d0eMb {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: #0063d4;\n}\n\n.styles-module_input__-GKhx.styles-module_valid__uj8g- + .styles-module_label__mGzwP .styles-module_label_text__d0eMb {\n color: var(--foreground-3);\n}";
9585
+ var styles$k = {"input":"styles-module_input__-GKhx","not_available":"styles-module_not_available__XD1kR","container":"styles-module_container__--4rV","label":"styles-module_label__mGzwP","label_text":"styles-module_label_text__d0eMb","with_title":"styles-module_with_title__CGOEs","valid":"styles-module_valid__uj8g-"};
9586
+ styleInject(css_248z$k);
9566
9587
 
9567
9588
  function InputMail({ id, placeholder = "E-Mail-Adresse", title = "E-Mail-Adresse", name = "email", width = "100%", available = true }) {
9568
9589
  const [value, setValue] = useState("");
9569
9590
  return (React__default.createElement(React__default.Fragment, null,
9570
- React__default.createElement("div", { className: styles$j.container, style: { width: width } },
9571
- React__default.createElement("input", { className: `${styles$j.input} ${title != undefined ? styles$j.with_title : styles$j.without_title} ${value.length > 0 ? styles$j.valid : styles$j.not_valid} ${available ? styles$j.available : styles$j.not_available}`, name: name, placeholder: placeholder, type: "email", onInput: (event) => setValue(event.target.value), id: id }),
9572
- React__default.createElement("label", { htmlFor: "text", className: styles$j.label },
9573
- React__default.createElement("span", { className: styles$j.label_text }, title)))));
9591
+ React__default.createElement("div", { className: styles$k.container, style: { width: width } },
9592
+ React__default.createElement("input", { className: `${styles$k.input} ${title != undefined ? styles$k.with_title : styles$k.without_title} ${value.length > 0 ? styles$k.valid : styles$k.not_valid} ${available ? styles$k.available : styles$k.not_available}`, name: name, placeholder: placeholder, type: "email", onInput: (event) => setValue(event.target.value), id: id }),
9593
+ React__default.createElement("label", { htmlFor: "text", className: styles$k.label },
9594
+ React__default.createElement("span", { className: styles$k.label_text }, title)))));
9574
9595
  }
9575
9596
 
9576
- var css_248z$i = ".styles-module_container__IXTeq {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__flMT5 {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1.5px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__flMT5:focus, .styles-module_input__flMT5:active {\n border-color: var(--primary-1);\n box-shadow: 0px 0px 3px 3px rgba(0, 87, 255, 0.2509803922);\n}\n\n/* animated title */\n.styles-module_form__chEvQ {\n position: relative;\n flex: 1;\n display: flex;\n}\n\n.styles-module_label__hflX9 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.styles-module_label_text__oXgFI {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__flMT5.styles-module_with_title__ubN0L::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__flMT5.styles-module_with_title__ubN0L:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__flMT5:focus + .styles-module_label__hflX9 .styles-module_label_text__oXgFI,\n.styles-module_input__flMT5.styles-module_valid__76xYu + .styles-module_label__hflX9 .styles-module_label_text__oXgFI {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__flMT5.styles-module_valid__76xYu + .styles-module_label__hflX9 .styles-module_label_text__oXgFI {\n color: var(--foreground-3);\n}";
9577
- var styles$i = {"container":"styles-module_container__IXTeq","input":"styles-module_input__flMT5","form":"styles-module_form__chEvQ","label":"styles-module_label__hflX9","label_text":"styles-module_label_text__oXgFI","with_title":"styles-module_with_title__ubN0L","valid":"styles-module_valid__76xYu"};
9578
- styleInject(css_248z$i);
9597
+ var css_248z$j = ".styles-module_container__IXTeq {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__flMT5 {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__flMT5:focus, .styles-module_input__flMT5:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n/* animated title */\n.styles-module_form__chEvQ {\n position: relative;\n flex: 1;\n display: flex;\n}\n\n.styles-module_label__hflX9 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__oXgFI {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__flMT5.styles-module_with_title__ubN0L::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__flMT5.styles-module_with_title__ubN0L:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__flMT5:focus + .styles-module_label__hflX9 .styles-module_label_text__oXgFI,\n.styles-module_input__flMT5.styles-module_valid__76xYu + .styles-module_label__hflX9 .styles-module_label_text__oXgFI {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__flMT5.styles-module_valid__76xYu + .styles-module_label__hflX9 .styles-module_label_text__oXgFI {\n color: var(--foreground-3);\n}";
9598
+ var styles$j = {"container":"styles-module_container__IXTeq","input":"styles-module_input__flMT5","form":"styles-module_form__chEvQ","label":"styles-module_label__hflX9","label_text":"styles-module_label_text__oXgFI","with_title":"styles-module_with_title__ubN0L","valid":"styles-module_valid__76xYu"};
9599
+ styleInject(css_248z$j);
9579
9600
 
9580
9601
  function InputNames({ width = "100%", placeholder = { firstName: "", lastName: "" }, title = { firstName: "Vorname", lastName: "Nachname" }, defaultValue = { firstName: "", lastName: "" }, onInput = (name, event) => { }, onInputFirstName = (event) => { }, onInputLastName = (event) => { }, }) {
9581
9602
  const [firstName, setFirstName] = useState(defaultValue.firstName ? defaultValue.firstName : "");
@@ -9590,20 +9611,20 @@ function InputNames({ width = "100%", placeholder = { firstName: "", lastName: "
9590
9611
  onInputLastName(event);
9591
9612
  onInput("lastName", event);
9592
9613
  }
9593
- return (React__default.createElement("div", { className: styles$i.container, style: { width: width } },
9594
- React__default.createElement("div", { className: styles$i.form },
9595
- React__default.createElement("input", { className: `${styles$i.input} ${title.firstName != undefined ? styles$i.with_title : styles$i.without_title} ${firstName.length > 0 ? styles$i.valid : styles$i.not_valid}`, name: "firstName", type: "name", style: { width: width != "100%" ? "100px" : width }, placeholder: placeholder.firstName, defaultValue: defaultValue.firstName, onInput: onInput1 }),
9596
- React__default.createElement("label", { htmlFor: "text", className: styles$i.label },
9597
- React__default.createElement("span", { className: styles$i.label_text }, title.firstName))),
9598
- React__default.createElement("div", { className: styles$i.form },
9599
- React__default.createElement("input", { className: `${styles$i.input} ${title.lastName != undefined ? styles$i.with_title : styles$i.without_title} ${lastName.length > 0 ? styles$i.valid : styles$i.not_valid}`, name: "lastName", type: "name", style: { width: width != "100%" ? "100px" : width }, placeholder: placeholder.lastName, defaultValue: defaultValue.lastName, onInput: onInput2 }),
9600
- React__default.createElement("label", { htmlFor: "text", className: styles$i.label },
9601
- React__default.createElement("span", { className: styles$i.label_text }, title.lastName)))));
9614
+ return (React__default.createElement("div", { className: styles$j.container, style: { width: width } },
9615
+ React__default.createElement("div", { className: styles$j.form },
9616
+ React__default.createElement("input", { className: `${styles$j.input} ${title.firstName != undefined ? styles$j.with_title : styles$j.without_title} ${firstName.length > 0 ? styles$j.valid : styles$j.not_valid}`, name: "firstName", type: "name", style: { width: width != "100%" ? "100px" : width }, placeholder: placeholder.firstName, defaultValue: defaultValue.firstName, onInput: onInput1 }),
9617
+ React__default.createElement("label", { htmlFor: "text", className: styles$j.label },
9618
+ React__default.createElement("span", { className: styles$j.label_text }, title.firstName))),
9619
+ React__default.createElement("div", { className: styles$j.form },
9620
+ React__default.createElement("input", { className: `${styles$j.input} ${title.lastName != undefined ? styles$j.with_title : styles$j.without_title} ${lastName.length > 0 ? styles$j.valid : styles$j.not_valid}`, name: "lastName", type: "name", style: { width: width != "100%" ? "100px" : width }, placeholder: placeholder.lastName, defaultValue: defaultValue.lastName, onInput: onInput2 }),
9621
+ React__default.createElement("label", { htmlFor: "text", className: styles$j.label },
9622
+ React__default.createElement("span", { className: styles$j.label_text }, title.lastName)))));
9602
9623
  }
9603
9624
 
9604
- var css_248z$h = ".styles-module_container__Xk2HY {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__ReFFR {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1.5px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n width: 100%;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__ReFFR:focus, .styles-module_input__ReFFR:active {\n border-color: var(--primary-1);\n box-shadow: 0px 0px 3px 3px rgba(0, 87, 255, 0.2509803922);\n}\n.styles-module_input__ReFFR.styles-module_not_available__mZ5-1 {\n border-color: var(--red-1);\n box-shadow: 0px 0px 3px 3px rgba(255, 0, 0, 0.2509803922);\n}\n\n/* animated title */\n.styles-module_container__Xk2HY {\n position: relative;\n}\n\n.styles-module_label__4n2Ai {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.styles-module_label_text__NsKJU {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__ReFFR.styles-module_with_title__vMb1v::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__ReFFR.styles-module_with_title__vMb1v:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__ReFFR:focus + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU,\n.styles-module_input__ReFFR.styles-module_valid__NyP0J + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__ReFFR.styles-module_valid__NyP0J + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU {\n color: var(--foreground-3);\n}";
9605
- var styles$h = {"container":"styles-module_container__Xk2HY","input":"styles-module_input__ReFFR","not_available":"styles-module_not_available__mZ5-1","label":"styles-module_label__4n2Ai","label_text":"styles-module_label_text__NsKJU","with_title":"styles-module_with_title__vMb1v","valid":"styles-module_valid__NyP0J"};
9606
- styleInject(css_248z$h);
9625
+ var css_248z$i = ".styles-module_container__Xk2HY {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__ReFFR {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n width: 100%;\n background: var(--background-1);\n color: var(--foreground-1);\n /* Chrome, Safari, Edge, Opera */\n /* Firefox */\n}\n.styles-module_input__ReFFR:focus, .styles-module_input__ReFFR:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input__ReFFR.styles-module_not_available__mZ5-1, .styles-module_input__ReFFR:invalid {\n border: var(--invalid-border);\n box-shadow: var(--invalid-shadow);\n}\n.styles-module_input__ReFFR::-webkit-outer-spin-button, .styles-module_input__ReFFR::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.styles-module_input__ReFFR[type=number] {\n -moz-appearance: textfield;\n appearance: textfield;\n}\n\n/* animated title */\n.styles-module_container__Xk2HY {\n position: relative;\n}\n\n.styles-module_label__4n2Ai {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__NsKJU {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__ReFFR.styles-module_with_title__vMb1v::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__ReFFR.styles-module_with_title__vMb1v:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__ReFFR:focus + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU,\n.styles-module_input__ReFFR.styles-module_valid__NyP0J + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__ReFFR.styles-module_valid__NyP0J + .styles-module_label__4n2Ai .styles-module_label_text__NsKJU {\n color: var(--foreground-3);\n}";
9626
+ var styles$i = {"container":"styles-module_container__Xk2HY","input":"styles-module_input__ReFFR","not_available":"styles-module_not_available__mZ5-1","label":"styles-module_label__4n2Ai","label_text":"styles-module_label_text__NsKJU","with_title":"styles-module_with_title__vMb1v","valid":"styles-module_valid__NyP0J"};
9627
+ styleInject(css_248z$i);
9607
9628
 
9608
9629
  function InputNumber({ title, name, placeholder = "", defaultValue = "", autoFocus = false, type = "number", width = "100%", available = true, onInput = (event) => { } }) {
9609
9630
  const [value, setValue] = useState(defaultValue);
@@ -9612,37 +9633,37 @@ function InputNumber({ title, name, placeholder = "", defaultValue = "", autoFoc
9612
9633
  element.focus();
9613
9634
  }, [autoFocus]);
9614
9635
  return (React__default.createElement(React__default.Fragment, null,
9615
- React__default.createElement("div", { className: styles$h.container, style: { width } },
9616
- React__default.createElement("input", { className: `${styles$h.input} ${title != undefined ? styles$h.with_title : styles$h.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$h.valid : styles$h.not_valid} ${available ? styles$h.available : styles$h.not_available}`, name: name, type: type, placeholder: placeholder, ref: inputElement, defaultValue: defaultValue, onInput: (event) => {
9636
+ React__default.createElement("div", { className: styles$i.container, style: { width } },
9637
+ React__default.createElement("input", { className: `${styles$i.input} ${title != undefined ? styles$i.with_title : styles$i.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$i.valid : styles$i.not_valid} ${available ? styles$i.available : styles$i.not_available}`, name: name, type: type, placeholder: placeholder, ref: inputElement, defaultValue: defaultValue, onInput: (event) => {
9617
9638
  setValue(event.target.value);
9618
9639
  onInput(event);
9619
9640
  } }),
9620
- React__default.createElement("label", { htmlFor: "text", className: styles$h.label },
9621
- React__default.createElement("span", { className: styles$h.label_text }, title)))));
9641
+ React__default.createElement("label", { htmlFor: "text", className: styles$i.label },
9642
+ React__default.createElement("span", { className: styles$i.label_text }, title)))));
9622
9643
  }
9623
9644
 
9624
- var css_248z$g = "@keyframes styles-module_show__OLTZH {\n from {\n max-heigth: 0px;\n height: 0px;\n }\n}\n@keyframes styles-module_hide__LAgaY {\n from {\n max-heigth: 0px;\n height: 0px;\n }\n to {\n max-height: fit-content;\n }\n}\n.styles-module_container__UdmOO {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin-bottom: 30px;\n max-width: 100%;\n transition: all 0.2s ease-in-out;\n box-sizing: border-box;\n}\n.styles-module_container__UdmOO .styles-module_forgot_label__EeN6a {\n font-size: 12px;\n color: var(--foreground-3);\n}\n.styles-module_container__UdmOO.styles-module_visible__QROqh {\n max-height: 100px;\n opacity: 1;\n}\n.styles-module_container__UdmOO.styles-module_hidden__hDKDO {\n overflow: hidden;\n max-height: 0;\n opacity: 0;\n}\n\n.styles-module_input__sC2fP {\n padding: 14px 20px;\n font-size: 16px;\n border-top-left-radius: 12px;\n border-bottom-left-radius: 12px;\n border: 1.5px solid var(--border-2);\n border-right: none;\n outline: none;\n transition: all 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__sC2fP:focus, .styles-module_input__sC2fP:active {\n border-color: var(--primary-1);\n box-shadow: 0px 0px 3px 3px rgba(0, 87, 255, 0.2509803922);\n}\n\n.styles-module_hideButton__83mRI {\n outline: none;\n display: flex;\n align-items: center;\n padding: 10px;\n border: 1.5px solid var(--border-2);\n border-left: none;\n background: none;\n border-top-right-radius: 12px;\n border-bottom-right-radius: 12px;\n cursor: pointer;\n}\n.styles-module_hideButton__83mRI span {\n color: var(--foreground-3);\n}\n\n/* animated title */\n.styles-module_form__m866x {\n position: relative;\n display: flex;\n}\n\n.styles-module_label__8PuaL {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.styles-module_label_text__FwJ1F {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__sC2fP.styles-module_with_title__dftgq::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__sC2fP.styles-module_with_title__dftgq:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__sC2fP:focus + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F,\n.styles-module_input__sC2fP.styles-module_valid__SM7w5 + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__sC2fP.styles-module_valid__SM7w5 + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F {\n color: var(--foreground-3);\n}";
9625
- var styles$g = {"container":"styles-module_container__UdmOO","forgot_label":"styles-module_forgot_label__EeN6a","visible":"styles-module_visible__QROqh","hidden":"styles-module_hidden__hDKDO","input":"styles-module_input__sC2fP","hideButton":"styles-module_hideButton__83mRI","form":"styles-module_form__m866x","label":"styles-module_label__8PuaL","label_text":"styles-module_label_text__FwJ1F","with_title":"styles-module_with_title__dftgq","valid":"styles-module_valid__SM7w5","show":"styles-module_show__OLTZH","hide":"styles-module_hide__LAgaY"};
9626
- styleInject(css_248z$g);
9645
+ var css_248z$h = "@keyframes styles-module_show__OLTZH {\n from {\n max-heigth: 0px;\n height: 0px;\n }\n}\n@keyframes styles-module_hide__LAgaY {\n from {\n max-heigth: 0px;\n height: 0px;\n }\n to {\n max-height: fit-content;\n }\n}\n.styles-module_container__UdmOO {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin-bottom: 30px;\n max-width: 100%;\n border: 1px solid var(--border-2);\n border-radius: 12px;\n transition: all 0.2s ease-in-out;\n box-sizing: border-box;\n}\n.styles-module_container__UdmOO .styles-module_forgot_label__EeN6a {\n font-size: 12px;\n color: var(--foreground-3);\n}\n.styles-module_container__UdmOO.styles-module_visible__QROqh {\n max-height: 100px;\n opacity: 1;\n}\n.styles-module_container__UdmOO.styles-module_hidden__hDKDO {\n overflow: hidden;\n max-height: 0;\n opacity: 0;\n}\n.styles-module_container__UdmOO:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_input__sC2fP {\n padding: 14px 20px;\n font-size: 16px;\n border-top-left-radius: 12px;\n border-bottom-left-radius: 12px;\n border-right: none;\n outline: none;\n border: none;\n transition: all 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n\n.styles-module_hideButton__83mRI {\n outline: none;\n display: flex;\n align-items: center;\n padding: 10px;\n border: none;\n border-left: none;\n background: none;\n border-top-right-radius: 12px;\n border-bottom-right-radius: 12px;\n cursor: pointer;\n}\n.styles-module_hideButton__83mRI span {\n color: var(--foreground-3);\n}\n\n/* animated title */\n.styles-module_form__m866x {\n position: relative;\n display: flex;\n}\n\n.styles-module_label__8PuaL {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__FwJ1F {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__sC2fP.styles-module_with_title__dftgq::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__sC2fP.styles-module_with_title__dftgq:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__sC2fP:focus + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F,\n.styles-module_input__sC2fP.styles-module_valid__SM7w5 + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__sC2fP.styles-module_valid__SM7w5 + .styles-module_label__8PuaL .styles-module_label_text__FwJ1F {\n color: var(--foreground-3);\n}";
9646
+ var styles$h = {"container":"styles-module_container__UdmOO","forgot_label":"styles-module_forgot_label__EeN6a","visible":"styles-module_visible__QROqh","hidden":"styles-module_hidden__hDKDO","input":"styles-module_input__sC2fP","hideButton":"styles-module_hideButton__83mRI","form":"styles-module_form__m866x","label":"styles-module_label__8PuaL","label_text":"styles-module_label_text__FwJ1F","with_title":"styles-module_with_title__dftgq","valid":"styles-module_valid__SM7w5","show":"styles-module_show__OLTZH","hide":"styles-module_hide__LAgaY"};
9647
+ styleInject(css_248z$h);
9627
9648
 
9628
- function InputPassword({ id, placeholder = "", title = "Passwort", name, isVisible = true, width = "100%", minLength = 8, autoComplete, forgotLink = false }) {
9649
+ function InputPassword({ id, placeholder = "", title = "Passwort", name = 'password', isVisible = true, width = "100%", minLength = 8, autoComplete, forgotLink = false }) {
9629
9650
  const [value, setValue] = useState("");
9630
9651
  const [hidePassword, setHidePassword] = useState(true);
9631
9652
  return (React__default.createElement(React__default.Fragment, null,
9632
- React__default.createElement("div", { className: `${styles$g.container} ${isVisible ? styles$g.visible : styles$g.hidden}`, style: { width: width } },
9633
- React__default.createElement("div", { className: styles$g.form },
9634
- React__default.createElement("input", { className: `${styles$g.input} ${title != undefined ? styles$g.with_title : styles$g.without_title} ${value.length > 0 ? styles$g.valid : styles$g.not_valid}`, name: name, id: id, minLength: minLength, autoComplete: autoComplete, placeholder: placeholder, type: hidePassword ? "password" : "text", onInput: (event) => setValue(event.target.value) }),
9635
- React__default.createElement("label", { htmlFor: "text", className: styles$g.label },
9636
- React__default.createElement("span", { className: styles$g.label_text }, title)),
9637
- React__default.createElement("button", { title: hidePassword ? "Passwort anzeigen" : "Passwort verstecken", className: styles$g.hideButton, onClick: () => setHidePassword(!hidePassword), type: "button" },
9653
+ React__default.createElement("div", { className: `${styles$h.container} ${isVisible ? styles$h.visible : styles$h.hidden}`, style: { width: width } },
9654
+ React__default.createElement("div", { className: styles$h.form },
9655
+ React__default.createElement("input", { className: `${styles$h.input} ${title != undefined ? styles$h.with_title : styles$h.without_title} ${value.length > 0 ? styles$h.valid : styles$h.not_valid}`, name: name, id: id, minLength: minLength, autoComplete: autoComplete, placeholder: placeholder, type: hidePassword ? "password" : "text", onInput: (event) => setValue(event.target.value) }),
9656
+ React__default.createElement("label", { htmlFor: "text", className: styles$h.label },
9657
+ React__default.createElement("span", { className: styles$h.label_text }, title)),
9658
+ React__default.createElement("button", { title: hidePassword ? "Passwort anzeigen" : "Passwort verstecken", className: styles$h.hideButton, onClick: () => setHidePassword(!hidePassword), type: "button" },
9638
9659
  React__default.createElement(SvgIcon, { iconName: hidePassword ? "visibility" : "visibility_off" }))),
9639
9660
  forgotLink &&
9640
- React__default.createElement("div", { className: styles$g.forgot_container }, forgotLink))));
9661
+ React__default.createElement("div", { className: styles$h.forgot_container }, forgotLink))));
9641
9662
  }
9642
9663
 
9643
- var css_248z$f = ".styles-module_container__--NO0 {\n display: flex;\n flex-direction: column;\n gap: 10px;\n justify-content: center;\n align-items: center;\n user-select: none;\n margin-bottom: 20px;\n}\n.styles-module_container__--NO0 button {\n background: transparent;\n color: var(--primary-1);\n border: none;\n font-size: 14px;\n cursor: pointer;\n}\n\n.styles-module_input_wrapper__LPIk1 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n gap: 10px;\n}\n\n.styles-module_input__84v36 {\n padding: 14px 10px;\n width: 30px;\n border-radius: 12px;\n border: 1.5px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n text-align: center;\n font-size: 18px;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__84v36:focus, .styles-module_input__84v36:active {\n border-color: var(--primary-1);\n box-shadow: 0px 0px 3px 3px rgba(0, 87, 255, 0.2509803922);\n}\n\n.styles-module_input__84v36:nth-child(3) {\n margin-right: 25px;\n}\n\n.styles-module_input__84v36::placeholder,\n.styles-module_input__84v36:-ms-input-placeholder,\n.styles-module_input__84v36::-ms-input-placeholder {\n letter-spacing: 0px !important;\n}\n\n@media (max-width: 450px) {\n .styles-module_input__84v36 {\n width: 25px;\n font-size: 16px;\n }\n .styles-module_input_wrapper__LPIk1 {\n gap: 7px;\n }\n .styles-module_input__84v36:nth-child(3) {\n margin-right: 12px;\n }\n}";
9644
- var styles$f = {"container":"styles-module_container__--NO0","input_wrapper":"styles-module_input_wrapper__LPIk1","input":"styles-module_input__84v36"};
9645
- styleInject(css_248z$f);
9664
+ var css_248z$g = ".styles-module_container__--NO0 {\n display: flex;\n flex-direction: column;\n gap: 10px;\n justify-content: center;\n align-items: center;\n user-select: none;\n margin-bottom: 20px;\n}\n.styles-module_container__--NO0 button {\n background: transparent;\n color: var(--primary-1);\n border: none;\n font-size: 14px;\n cursor: pointer;\n}\n\n.styles-module_input_wrapper__LPIk1 {\n display: flex;\n flex-direction: row;\n justify-content: center;\n gap: 10px;\n}\n\n.styles-module_input__84v36 {\n padding: 14px 10px;\n width: 30px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n text-align: center;\n font-size: 18px;\n font-weight: 400;\n background: var(--background-1);\n color: var(--foreground-1);\n font-family: var(--font-1);\n}\n.styles-module_input__84v36:focus, .styles-module_input__84v36:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_input__84v36:nth-child(3) {\n margin-right: 25px;\n}\n\n.styles-module_input__84v36::placeholder,\n.styles-module_input__84v36:-ms-input-placeholder,\n.styles-module_input__84v36::-ms-input-placeholder {\n letter-spacing: 0px !important;\n}\n\n@media (max-width: 450px) {\n .styles-module_input__84v36 {\n width: 25px;\n font-size: 16px;\n }\n .styles-module_input_wrapper__LPIk1 {\n gap: 7px;\n }\n .styles-module_input__84v36:nth-child(3) {\n margin-right: 12px;\n }\n}";
9665
+ var styles$g = {"container":"styles-module_container__--NO0","input_wrapper":"styles-module_input_wrapper__LPIk1","input":"styles-module_input__84v36"};
9666
+ styleInject(css_248z$g);
9646
9667
 
9647
9668
  function InputPin({ name, length, onFinished = () => { } }) {
9648
9669
  const [state, setState] = useState({});
@@ -9708,20 +9729,20 @@ function InputPin({ name, length, onFinished = () => { } }) {
9708
9729
  ref.current.value = "";
9709
9730
  });
9710
9731
  }
9711
- return (React__default.createElement("div", { className: styles$f.container },
9732
+ return (React__default.createElement("div", { className: styles$g.container },
9712
9733
  React__default.createElement("input", { name: name, type: "hidden", defaultValue: Object.values(state).join("") }),
9713
- React__default.createElement("div", { className: styles$f.input_wrapper }, [...Array(length)].map((value, i) => {
9734
+ React__default.createElement("div", { className: styles$g.input_wrapper }, [...Array(length)].map((value, i) => {
9714
9735
  if (i == 0) {
9715
- return React__default.createElement("input", { key: i, pattern: "[0-9]", value: state[i] ? state[i] : "", ref: fieldRefs.current[i], className: styles$f.input, type: "text", onKeyUp: (event) => onKeyUp(event, i), onInput: (event) => onChange(event, i) });
9736
+ return React__default.createElement("input", { key: i, pattern: "[0-9]", value: state[i] ? state[i] : "", ref: fieldRefs.current[i], className: styles$g.input, type: "text", onKeyUp: (event) => onKeyUp(event, i), onInput: (event) => onChange(event, i) });
9716
9737
  }
9717
- return React__default.createElement("input", { key: i, pattern: "[0-9]", value: state[i] ? state[i] : "", ref: fieldRefs.current[i], className: styles$f.input, type: "text", onKeyUp: (event) => onKeyUp(event, i), onInput: (event) => onChange(event, i) });
9738
+ return React__default.createElement("input", { key: i, pattern: "[0-9]", value: state[i] ? state[i] : "", ref: fieldRefs.current[i], className: styles$g.input, type: "text", onKeyUp: (event) => onKeyUp(event, i), onInput: (event) => onChange(event, i) });
9718
9739
  })),
9719
9740
  React__default.createElement("button", { type: "button", onClick: resetValues }, "Zur\u00FCcksetzen")));
9720
9741
  }
9721
9742
 
9722
- var css_248z$e = ".styles-module_container__zcXGF {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__Tpth8 {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1.5px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__Tpth8:focus, .styles-module_input__Tpth8:active {\n border-color: var(--primary-1);\n box-shadow: 0px 0px 3px 3px rgba(0, 87, 255, 0.2509803922);\n}\n.styles-module_input__Tpth8.styles-module_not_available__CRXjB, .styles-module_input__Tpth8:invalid {\n border-color: var(--red-1);\n box-shadow: 0px 0px 3px 3px rgba(255, 0, 0, 0.2509803922);\n}\n\n/* animated title */\n.styles-module_container__zcXGF {\n position: relative;\n}\n\n.styles-module_label__appHO {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.styles-module_label_text__-sKjY {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__Tpth8.styles-module_with_title__L3eGj::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__Tpth8.styles-module_with_title__L3eGj:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__Tpth8:focus + .styles-module_label__appHO .styles-module_label_text__-sKjY,\n.styles-module_input__Tpth8.styles-module_valid__zWcOz + .styles-module_label__appHO .styles-module_label_text__-sKjY {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__Tpth8.styles-module_valid__zWcOz + .styles-module_label__appHO .styles-module_label_text__-sKjY {\n color: var(--foreground-3);\n}";
9723
- var styles$e = {"container":"styles-module_container__zcXGF","input":"styles-module_input__Tpth8","not_available":"styles-module_not_available__CRXjB","label":"styles-module_label__appHO","label_text":"styles-module_label_text__-sKjY","with_title":"styles-module_with_title__L3eGj","valid":"styles-module_valid__zWcOz"};
9724
- styleInject(css_248z$e);
9743
+ var css_248z$f = ".styles-module_container__zcXGF {\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n max-width: 100%;\n}\n\n.styles-module_input__Tpth8 {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n flex: 1;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__Tpth8:focus, .styles-module_input__Tpth8:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input__Tpth8.styles-module_not_available__CRXjB, .styles-module_input__Tpth8:invalid {\n border: var(--invalid-border);\n box-shadow: var(--invalid-shadow);\n}\n\n/* animated title */\n.styles-module_container__zcXGF {\n position: relative;\n}\n\n.styles-module_label__appHO {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__-sKjY {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__Tpth8.styles-module_with_title__L3eGj::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__Tpth8.styles-module_with_title__L3eGj:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__Tpth8:focus + .styles-module_label__appHO .styles-module_label_text__-sKjY,\n.styles-module_input__Tpth8.styles-module_valid__zWcOz + .styles-module_label__appHO .styles-module_label_text__-sKjY {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__Tpth8.styles-module_valid__zWcOz + .styles-module_label__appHO .styles-module_label_text__-sKjY {\n color: var(--foreground-3);\n}";
9744
+ var styles$f = {"container":"styles-module_container__zcXGF","input":"styles-module_input__Tpth8","not_available":"styles-module_not_available__CRXjB","label":"styles-module_label__appHO","label_text":"styles-module_label_text__-sKjY","with_title":"styles-module_with_title__L3eGj","valid":"styles-module_valid__zWcOz"};
9745
+ styleInject(css_248z$f);
9725
9746
 
9726
9747
  function InputText({ id, title, name, placeholder = "", defaultValue = "", autoFocus = false, type = "text", width = "100%", marginBottom, autoComplete = "off", available = true, onInput = (event) => { } }) {
9727
9748
  const [value, setValue] = useState(defaultValue);
@@ -9730,78 +9751,127 @@ function InputText({ id, title, name, placeholder = "", defaultValue = "", autoF
9730
9751
  element.focus();
9731
9752
  }, [autoFocus]);
9732
9753
  return (React__default.createElement(React__default.Fragment, null,
9733
- React__default.createElement("div", { className: styles$e.container, style: { width, marginBottom } },
9734
- React__default.createElement("input", { className: `${styles$e.input} ${title != undefined ? styles$e.with_title : styles$e.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$e.valid : styles$e.not_valid} ${available ? styles$e.available : styles$e.not_available}`, name: name, id: id, type: type, placeholder: placeholder, autoComplete: autoComplete, ref: inputElement, defaultValue: defaultValue, onInput: (event) => {
9754
+ React__default.createElement("div", { className: styles$f.container, style: { width, marginBottom } },
9755
+ React__default.createElement("input", { className: `${styles$f.input} ${title != undefined ? styles$f.with_title : styles$f.without_title} ${value.length > 0 || defaultValue.length > 0 ? styles$f.valid : styles$f.not_valid} ${available ? styles$f.available : styles$f.not_available}`, name: name, id: id, type: type, placeholder: placeholder, autoComplete: autoComplete, ref: inputElement, defaultValue: defaultValue, onInput: (event) => {
9735
9756
  setValue(event.target.value);
9736
9757
  if (onInput)
9737
9758
  onInput(event);
9738
9759
  } }),
9739
- React__default.createElement("label", { htmlFor: "text", className: styles$e.label },
9740
- React__default.createElement("span", { className: styles$e.label_text }, title)))));
9760
+ React__default.createElement("label", { htmlFor: "text", className: styles$f.label },
9761
+ React__default.createElement("span", { className: styles$f.label_text }, title)))));
9741
9762
  }
9742
9763
 
9743
- var css_248z$d = ".styles-module_box__Z0iod {\n background: var(--background-2);\n width: 400px;\n max-width: 100%;\n border-radius: 22px;\n border: 1px solid var(--border-2);\n display: flex;\n flex-direction: row;\n padding: 18px;\n gap: 18px;\n cursor: pointer;\n margin-bottom: 20px;\n transition: 0.2s ease;\n color: var(--foreground-1);\n}\n.styles-module_box__Z0iod:hover {\n background-color: var(--background-1);\n transform: scale(1.01);\n}\n.styles-module_box__Z0iod .styles-module_left_side__8ObGs {\n width: 40px;\n display: flex;\n flex-direction: column;\n align-items: center;\n padding-top: 5px;\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D {\n flex: 1;\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D p {\n color: var(--foreground-2);\n margin: 0;\n text-align: left;\n font-size: 1.1rem;\n line-height: 1.6;\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D h4 {\n margin: 0;\n text-align: left;\n font-size: 1.3rem;\n margin-bottom: 16px;\n margin-top: 5px;\n color: var(--foreground-1);\n}\n\n@media (max-width: 550px) {\n .styles-module_box__Z0iod {\n width: auto;\n }\n .styles-module_box__Z0iod .styles-module_right_side__Ypp0D h4 {\n font-size: 1.2rem;\n }\n .styles-module_box__Z0iod .styles-module_right_side__Ypp0D p {\n font-size: 1rem;\n }\n}";
9744
- var styles$d = {"box":"styles-module_box__Z0iod","left_side":"styles-module_left_side__8ObGs","right_side":"styles-module_right_side__Ypp0D"};
9764
+ var css_248z$e = ".styles-module_container__kkDKN {\n display: flex;\n align-items: center;\n gap: 10px;\n font-family: \"Playfair\", serif;\n border-radius: 18px;\n transition: 0.2s ease-in-out;\n padding-left: 4px;\n background: var(--background-1);\n padding: 10px;\n border: 1px solid var(--border-1);\n margin-bottom: 20px;\n font-family: var(--font-1);\n}\n\n.styles-module_select_container__nqgUF {\n border: 1px solid var(--border-1);\n padding: 0px 20px;\n gap: 10px;\n display: flex;\n align-items: center;\n border-radius: 12px;\n cursor: pointer;\n background: var(--background-1);\n transition: 0.2s ease-in-out;\n height: 55px;\n}\n.styles-module_select_container__nqgUF:hover {\n border-color: var(--primary-2);\n}\n.styles-module_select_container__nqgUF:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n background: var(--background-2);\n}\n.styles-module_select_container__nqgUF select {\n border: none;\n outline: none;\n background: none;\n cursor: pointer;\n font-size: 16px;\n min-width: 64px;\n height: 100%;\n font-family: var(--font-1);\n}\n\n.styles-module_input__pUgcS::-webkit-outer-spin-button,\n.styles-module_input__pUgcS::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.styles-module_input_container__oRJ75 {\n padding: 0px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid transparent;\n transition: 0.2s ease;\n flex: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 6px;\n background: var(--background-1);\n border-color: var(--border-1);\n height: 55px;\n}\n.styles-module_input_container__oRJ75:hover {\n border-color: var(--primary-2);\n}\n.styles-module_input_container__oRJ75 .styles-module_unit_label__bLQWy {\n font-size: 20px;\n text-align: right;\n}\n.styles-module_input_container__oRJ75:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n background: var(--background-2);\n}\n.styles-module_input_container__oRJ75 .styles-module_input__pUgcS {\n width: 0px;\n min-width: 64px;\n outline: none;\n border: none;\n -moz-appearance: textfield;\n appearance: textfield;\n font-size: 20px;\n text-align: right;\n background: transparent;\n font-family: var(--font-1);\n}\n.styles-module_input_container__oRJ75 .styles-module_input__pUgcS[type=number] {\n cursor: pointer;\n flex: 1;\n}\n.styles-module_input_container__oRJ75 .styles-module_input__pUgcS[type=range] {\n width: 100%;\n}\n.styles-module_input_container__oRJ75 .styles-module_input__pUgcS[type=number]:disabled {\n background: transparent;\n color: var(--foreground-3);\n}";
9765
+ var styles$e = {"container":"styles-module_container__kkDKN","select_container":"styles-module_select_container__nqgUF","input":"styles-module_input__pUgcS","input_container":"styles-module_input_container__oRJ75","unit_label":"styles-module_unit_label__bLQWy"};
9766
+ styleInject(css_248z$e);
9767
+
9768
+ const NumberDropdown = ({ options = [], unit = "", onChangeDropdown = () => { }, onChangeInput = () => { }, ...props }) => {
9769
+ const onDropdownChange = (event) => {
9770
+ onChangeDropdown(event.target.value);
9771
+ };
9772
+ const onInputChange = (event) => {
9773
+ onChangeInput(Number(event.target.value));
9774
+ };
9775
+ return (React__default.createElement("div", { className: styles$e.container },
9776
+ React__default.createElement("div", { className: styles$e.select_container },
9777
+ React__default.createElement("select", { className: styles$e.select, onChange: onDropdownChange },
9778
+ React__default.createElement("option", { value: "none" }, "Ausw\u00E4hlen"),
9779
+ options.map((option, index) => (React__default.createElement("option", { key: index, value: option.value }, option.label))))),
9780
+ React__default.createElement("div", { className: styles$e.input_container },
9781
+ React__default.createElement("input", { className: styles$e.input, type: "number", onInput: onInputChange, ...props }),
9782
+ React__default.createElement("span", { className: styles$e.unit_label }, unit))));
9783
+ };
9784
+
9785
+ var css_248z$d = ".styles-module_container__c0sGu {\n width: 44px;\n height: 44px;\n display: flex;\n align-items: center;\n background: var(--background-1);\n justify-content: center;\n cursor: pointer;\n border-radius: 12px;\n transition: 0.2s ease-in-out;\n border: 2px solid transparent;\n}\n.styles-module_container__c0sGu:hover {\n background: var(--background-2);\n}\n.styles-module_container__c0sGu.styles-module_active__naxTC {\n background: var(--primary-2);\n}\n.styles-module_container__c0sGu.styles-module_active__naxTC span {\n color: var(--primary-1);\n}\n.styles-module_container__c0sGu span {\n user-select: none;\n font-weight: 300;\n}";
9786
+ var styles$d = {"container":"styles-module_container__c0sGu","active":"styles-module_active__naxTC"};
9745
9787
  styleInject(css_248z$d);
9746
9788
 
9789
+ const ToggleBox = ({ defaultActive = false, activeIcon = "lock", inactiveIcon = "lock", onSwitch = () => { } }) => {
9790
+ return (React__default.createElement("div", { className: [styles$d.container, defaultActive ? styles$d.active : styles$d.not_active].join(" "), onClick: () => onSwitch(!defaultActive) },
9791
+ React__default.createElement(SvgIcon, { iconName: defaultActive ? activeIcon : inactiveIcon })));
9792
+ };
9793
+
9794
+ var css_248z$c = ".styles-module_container__arGnP {\n display: flex;\n align-items: center;\n gap: 20px;\n font-family: var(--font-1);\n border-radius: 12px;\n transition: 0.2s ease-in-out;\n padding-left: 4px;\n}\n.styles-module_container__arGnP.styles-module_active__ngR3w {\n background: var(--primary-2);\n}\n.styles-module_container__arGnP.styles-module_not_active__85hg4 .styles-module_unit_label__KXhNy {\n color: var(--foreground-3);\n}\n.styles-module_container__arGnP.styles-module_number__tQq8W {\n flex-direction: row;\n}\n.styles-module_container__arGnP.styles-module_range__sCNik {\n flex-direction: column;\n gap: 0px;\n align-items: flex-start;\n}\n\n.styles-module_label_container__hGRIY {\n display: flex;\n flex-direction: row;\n gap: 0px;\n align-items: center;\n}\n.styles-module_label_container__hGRIY.styles-module_range__sCNik {\n width: 100%;\n flex: 1;\n padding-top: 10px;\n}\n\n.styles-module_input__j1DTo::-webkit-outer-spin-button,\n.styles-module_input__j1DTo::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.styles-module_value_container__cqrEX {\n display: flex;\n gap: 6px;\n}\n.styles-module_value_container__cqrEX .styles-module_label__FP5Pa {\n font-family: var(--font-1);\n user-select: none;\n -webkit-user-select: none;\n font-size: 18px;\n}\n.styles-module_value_container__cqrEX .styles-module_label__FP5Pa,\n.styles-module_value_container__cqrEX .styles-module_value__sLYHK {\n transition: 0.2s ease-in-out;\n}\n.styles-module_value_container__cqrEX.styles-module_range__sCNik {\n flex: 1;\n align-items: flex-end;\n padding-right: 20px;\n}\n.styles-module_value_container__cqrEX.styles-module_range__sCNik .styles-module_label__FP5Pa {\n font-size: 20px;\n}\n.styles-module_value_container__cqrEX.styles-module_range__sCNik .styles-module_value__sLYHK {\n font-size: 20px;\n}\n.styles-module_value_container__cqrEX.styles-module_number__tQq8W .styles-module_label__FP5Pa {\n font-size: 20px;\n}\n.styles-module_value_container__cqrEX.styles-module_number__tQq8W .styles-module_value__sLYHK {\n max-height: 0;\n overflow: hidden;\n}\n\n.styles-module_input_container__IgbK5 {\n padding: 14px 20px;\n font-size: 16px;\n border-radius: 12px;\n border: 1px solid transparent;\n transition: 0.2s ease;\n flex: 1;\n display: flex;\n flex-direction: row;\n gap: 6px;\n}\n.styles-module_input_container__IgbK5 .styles-module_unit_label__KXhNy {\n font-size: 20px;\n text-align: right;\n}\n.styles-module_input_container__IgbK5.styles-module_number__tQq8W {\n border-color: var(--primary-2);\n background: var(--background-1);\n cursor: pointer;\n}\n.styles-module_input_container__IgbK5.styles-module_number__tQq8W:focus-within {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_input_container__IgbK5.styles-module_range__sCNik {\n padding: 10px;\n width: calc(100% - 20px);\n}\n.styles-module_input_container__IgbK5.styles-module_range__sCNik .styles-module_unit_label__KXhNy {\n max-width: 0;\n overflow: hidden;\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo {\n width: 0px;\n min-width: 64px;\n outline: none;\n border: none;\n -moz-appearance: textfield;\n appearance: textfield;\n font-size: 16px;\n text-align: right;\n background: transparent;\n font-family: var(--font-1);\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=number] {\n cursor: pointer;\n flex: 1;\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=range] {\n width: 100%;\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=number]:disabled {\n background: transparent;\n color: var(--foreground-3);\n}\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=number].styles-module_not_available__M038X,\n.styles-module_input_container__IgbK5 .styles-module_input__j1DTo[type=number]:invalid {\n color: #e50000;\n}\n\n.styles-module_label__FP5Pa {\n font-family: var(--font-1);\n user-select: none;\n -webkit-user-select: none;\n cursor: pointer;\n}";
9795
+ var styles$c = {"container":"styles-module_container__arGnP","active":"styles-module_active__ngR3w","not_active":"styles-module_not_active__85hg4","unit_label":"styles-module_unit_label__KXhNy","number":"styles-module_number__tQq8W","range":"styles-module_range__sCNik","label_container":"styles-module_label_container__hGRIY","input":"styles-module_input__j1DTo","value_container":"styles-module_value_container__cqrEX","label":"styles-module_label__FP5Pa","value":"styles-module_value__sLYHK","input_container":"styles-module_input_container__IgbK5","not_available":"styles-module_not_available__M038X"};
9796
+ styleInject(css_248z$c);
9797
+
9798
+ function NumberField({ placeholder = "", type = "number", active = false, onChangeActive = () => { }, enableLocked = false, locked, onChangeLocked = () => { }, title = "Zahl", unit = "cm", name, defaultValue = 1, onUpdate = () => { }, disabled, min = 0, max = 10, validate = () => true, ...props }) {
9799
+ const [value, setValue] = useState(defaultValue);
9800
+ useEffect(() => { setValue(defaultValue); }, [defaultValue]);
9801
+ const onInput = (event) => {
9802
+ const value = Number(event.target.value);
9803
+ if (validate(name, value)) {
9804
+ setValue(value);
9805
+ onUpdate(value);
9806
+ }
9807
+ };
9808
+ return (React__default.createElement("div", { className: [styles$c.container, active ? styles$c.active : styles$c.not_active, styles$c[type]].join(" ") },
9809
+ React__default.createElement("div", { className: [styles$c.label_container, styles$c[type]].join(" ") },
9810
+ React__default.createElement(ToggleBox, { activeIcon: 'check', inactiveIcon: 'add', defaultActive: active, onSwitch: (active) => onChangeActive(active) }),
9811
+ enableLocked &&
9812
+ React__default.createElement(ToggleBox, { activeIcon: 'lock', inactiveIcon: 'lock_open', defaultActive: locked, onSwitch: (locked) => onChangeLocked(locked) }),
9813
+ React__default.createElement("div", { className: [styles$c.value_container, styles$c[type]].join(" ") },
9814
+ React__default.createElement("span", { className: styles$c.label }, title),
9815
+ React__default.createElement("span", { className: styles$c.value }, `${value} ${unit}`))),
9816
+ React__default.createElement("div", { className: [styles$c.input_container, styles$c[type]].join(" ") },
9817
+ React__default.createElement("input", { className: `${styles$c.input} ${title != undefined ? styles$c.with_title : styles$c.without_title} ${String(value).length > 0 ? styles$c.valid : styles$c.not_valid} `, name: name, placeholder: placeholder, type: type, onInput: onInput, disabled: disabled, value: value, max: max, min: min, ...props }),
9818
+ React__default.createElement("span", { className: styles$c.unit_label }, unit))));
9819
+ }
9820
+
9821
+ var css_248z$b = ".styles-module_box__Z0iod {\n background: var(--background-2);\n width: 400px;\n max-width: 100%;\n border-radius: 22px;\n border: 1px solid var(--border-2);\n display: flex;\n flex-direction: row;\n padding: 22px;\n gap: 18px;\n cursor: pointer;\n margin-bottom: 20px;\n transition: 0.2s ease;\n color: var(--foreground-1);\n}\n.styles-module_box__Z0iod:hover {\n background-color: var(--background-1);\n transform: scale(1.01);\n}\n.styles-module_box__Z0iod:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_box__Z0iod .styles-module_left_side__8ObGs {\n width: 40px;\n display: flex;\n flex-direction: column;\n align-items: center;\n padding-top: 5px;\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D {\n flex: 1;\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D h4 {\n margin: 0;\n text-align: left;\n font-size: 1.3rem;\n margin-bottom: 12px;\n margin-top: 5px;\n color: var(--foreground-1);\n font-family: var(--font-1);\n}\n.styles-module_box__Z0iod .styles-module_right_side__Ypp0D p {\n color: var(--foreground-2);\n margin: 0;\n text-align: left;\n font-size: 1.1rem;\n line-height: 1.6;\n}\n\n@media (max-width: 550px) {\n .styles-module_box__Z0iod {\n width: auto;\n }\n .styles-module_box__Z0iod .styles-module_right_side__Ypp0D h4 {\n font-size: 1.2rem;\n }\n .styles-module_box__Z0iod .styles-module_right_side__Ypp0D p {\n font-size: 1rem;\n }\n}";
9822
+ var styles$b = {"box":"styles-module_box__Z0iod","left_side":"styles-module_left_side__8ObGs","right_side":"styles-module_right_side__Ypp0D"};
9823
+ styleInject(css_248z$b);
9824
+
9747
9825
  function OptionField({ id, headline, description, iconName }) {
9748
9826
  return (React__default.createElement(React__default.Fragment, null,
9749
- React__default.createElement("div", { className: styles$d.box, id: id },
9750
- React__default.createElement("div", { className: styles$d.left_side }, iconName && React__default.createElement(SvgIcon, { iconName: iconName })),
9751
- React__default.createElement("div", { className: styles$d.right_side },
9827
+ React__default.createElement("div", { className: styles$b.box, id: id },
9828
+ React__default.createElement("div", { className: styles$b.left_side }, iconName && React__default.createElement(SvgIcon, { iconName: iconName })),
9829
+ React__default.createElement("div", { className: styles$b.right_side },
9752
9830
  React__default.createElement("h4", null, headline),
9753
9831
  React__default.createElement("p", null, description)))));
9754
9832
  }
9755
9833
 
9756
- var css_248z$c = ".styles-module_container__XCtqW {\n background: var(--background-1);\n border-radius: 12px;\n padding: 30px;\n margin-bottom: 30px;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 18px;\n color: var(--foreground-1);\n border: 1px solid var(--border-2);\n transition: 0.2s ease-in-out;\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);\n cursor: pointer;\n}\n.styles-module_container__XCtqW:hover {\n background: var(--background-2);\n border-color: var(--border-3);\n}\n.styles-module_container__XCtqW h3 {\n font-weight: 500;\n margin: 0;\n text-align: center;\n}\n\n.styles-module_container__XCtqW.styles-module_preselected__WoSbB {\n border: 1px solid var(--foreground-1);\n}";
9757
- var styles$c = {"container":"styles-module_container__XCtqW","preselected":"styles-module_preselected__WoSbB"};
9758
- styleInject(css_248z$c);
9834
+ var css_248z$a = ".styles-module_container__r0YH2 {\n background: var(--background-1);\n border-radius: 12px;\n padding: 30px;\n margin-bottom: 30px;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 18px;\n color: var(--foreground-1);\n border: 1px solid var(--border-2);\n transition: 0.2s ease-in-out;\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);\n cursor: pointer;\n}\n.styles-module_container__r0YH2:hover {\n background: var(--background-2);\n border-color: var(--border-3);\n}\n.styles-module_container__r0YH2 h3 {\n font-weight: 500;\n margin: 0;\n text-align: center;\n font-family: var(--font-1);\n}\n.styles-module_container__r0YH2:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_container__r0YH2.styles-module_preselected__zEukD {\n border: 1px solid var(--foreground-1);\n}";
9835
+ var styles$a = {"container":"styles-module_container__r0YH2","preselected":"styles-module_preselected__zEukD"};
9836
+ styleInject(css_248z$a);
9759
9837
 
9760
- function OptionFieldHorizontal({ title, iconName, onClick, preselected = false }) {
9838
+ function OptionField2({ title, iconName, onClick, preselected = false }) {
9761
9839
  function onClickDiv(event) {
9762
9840
  event.preventDefault();
9763
9841
  if (onClick)
9764
9842
  onClick(event);
9765
9843
  }
9766
- return (React__default.createElement("div", { className: [styles$c.container, preselected ? styles$c.preselected : styles$c.not_preselected].join(" "), onClick: onClickDiv },
9844
+ return (React__default.createElement("div", { className: [styles$a.container, preselected ? styles$a.preselected : styles$a.not_preselected].join(" "), onClick: onClickDiv },
9767
9845
  iconName && React__default.createElement(SvgIcon, { iconName: iconName, size: "32px" }),
9768
9846
  React__default.createElement("h3", null, title)));
9769
9847
  }
9770
9848
 
9771
- var css_248z$b = ".styles-module_popover__3ZbOL {\n overflow-y: scroll;\n overflow-x: hidden;\n margin: 0 auto;\n margin-top: 30px;\n z-index: 10000;\n position: fixed;\n border-top-left-radius: 30px;\n border-top-right-radius: 30px;\n transform: translateY(100%);\n width: 700px;\n max-width: 100%;\n height: 100%;\n left: 50%;\n margin-left: -385px;\n transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);\n background: var(--background-1);\n box-shadow: var(--border-3) 0px 1px 2px 0px, var(--border-3) 0px 1px 3px 1px;\n padding: 35px;\n padding-top: 110px;\n top: 0;\n}\n.styles-module_popover__3ZbOL.styles-module_active__-ZVbh {\n transform: translateY(0px);\n}\n.styles-module_popover__3ZbOL h1 {\n margin: 10px 0px;\n font-weight: 900;\n display: flex;\n align-items: center;\n gap: 10px;\n}\n.styles-module_popover__3ZbOL h4 {\n font-size: 20px;\n margin: 10px 0px;\n color: var(--foreground-3);\n font-weight: 400;\n}\n.styles-module_popover__3ZbOL p {\n line-height: 2;\n margin: 20px 0px;\n}\n.styles-module_popover__3ZbOL img {\n object-fit: contain;\n border-radius: 10px;\n}\n.styles-module_popover__3ZbOL .styles-module_close_button__5RYuU {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--background-4);\n cursor: pointer;\n transition: 0.2s ease-in-out;\n position: absolute;\n top: 35px;\n right: 35px;\n color: var(--foreground-2);\n}\n.styles-module_popover__3ZbOL .styles-module_close_button__5RYuU:hover {\n filter: brightness(0.9);\n}\n\n@media (max-width: 800px) {\n .styles-module_popover__3ZbOL {\n width: calc(100% - 40px);\n left: 0;\n margin-left: 0;\n padding: 20px;\n padding-top: 110px;\n }\n}";
9772
- var styles$b = {"popover":"styles-module_popover__3ZbOL","active":"styles-module_active__-ZVbh","close_button":"styles-module_close_button__5RYuU"};
9773
- styleInject(css_248z$b);
9849
+ var css_248z$9 = ".styles-module_popover__3ZbOL {\n overflow-y: scroll;\n overflow-x: hidden;\n margin: 0 auto;\n margin-top: 30px;\n z-index: 10000;\n position: fixed;\n border-top-left-radius: 30px;\n border-top-right-radius: 30px;\n transform: translateY(100%);\n width: 700px;\n max-width: 100%;\n height: 100%;\n left: 50%;\n margin-left: -385px;\n transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);\n background: var(--background-1);\n box-shadow: var(--border-3) 0px 1px 2px 0px, var(--border-3) 0px 1px 3px 1px;\n padding: 35px;\n padding-top: 110px;\n top: 0;\n}\n.styles-module_popover__3ZbOL.styles-module_active__-ZVbh {\n transform: translateY(0px);\n}\n.styles-module_popover__3ZbOL h1 {\n margin: 10px 0px;\n font-weight: 900;\n display: flex;\n align-items: center;\n gap: 10px;\n}\n.styles-module_popover__3ZbOL h4 {\n font-size: 20px;\n margin: 10px 0px;\n color: var(--foreground-3);\n font-weight: 400;\n}\n.styles-module_popover__3ZbOL p {\n line-height: 2;\n margin: 20px 0px;\n}\n.styles-module_popover__3ZbOL img {\n object-fit: contain;\n border-radius: 10px;\n}\n.styles-module_popover__3ZbOL .styles-module_close_button__5RYuU {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--background-4);\n cursor: pointer;\n transition: 0.2s ease-in-out;\n position: absolute;\n top: 35px;\n right: 35px;\n color: var(--foreground-2);\n}\n.styles-module_popover__3ZbOL .styles-module_close_button__5RYuU:hover {\n filter: brightness(0.9);\n}\n\n@media (max-width: 800px) {\n .styles-module_popover__3ZbOL {\n width: calc(100% - 40px);\n left: 0;\n margin-left: 0;\n padding: 20px;\n padding-top: 110px;\n }\n}";
9850
+ var styles$9 = {"popover":"styles-module_popover__3ZbOL","active":"styles-module_active__-ZVbh","close_button":"styles-module_close_button__5RYuU"};
9851
+ styleInject(css_248z$9);
9774
9852
 
9775
9853
  function Popover({ children, active, onClose }) {
9776
- return (React__default.createElement("div", { className: [styles$b.popover, active ? styles$b.active : styles$b.closed].join(" ") },
9854
+ return (React__default.createElement("div", { className: [styles$9.popover, active ? styles$9.active : styles$9.closed].join(" ") },
9777
9855
  children,
9778
- React__default.createElement("div", { className: styles$b.close_button, onClick: onClose },
9856
+ React__default.createElement("div", { className: styles$9.close_button, onClick: onClose },
9779
9857
  React__default.createElement(SvgIcon, { iconName: "close" }))));
9780
9858
  }
9781
9859
 
9782
- var css_248z$a = ".styles-module_container__u4q5n {\n margin-bottom: 50px;\n width: 400px;\n max-width: 100%;\n}\n\n.styles-module_background__jt-ry {\n background: var(--border-2);\n height: 3px;\n position: relative;\n}\n\n.styles-module_progress__Zj-B7 {\n background: var(--foreground-1);\n position: absolute;\n left: 0;\n top: 0;\n height: 3px;\n}";
9783
- var styles$a = {"container":"styles-module_container__u4q5n","background":"styles-module_background__jt-ry","progress":"styles-module_progress__Zj-B7"};
9784
- styleInject(css_248z$a);
9860
+ var css_248z$8 = ".styles-module_container__u4q5n {\n margin-bottom: 50px;\n width: 400px;\n max-width: 100%;\n}\n\n.styles-module_background__jt-ry {\n background: var(--border-2);\n height: 3px;\n position: relative;\n}\n\n@keyframes styles-module_fadeIn__ytfsX {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n}\n@keyframes styles-module_moveIn__E7c-3 {\n from {\n left: 0;\n }\n to {\n left: 100%;\n }\n}\n.styles-module_progress__Zj-B7 {\n left: 0;\n top: 0;\n height: 3px;\n position: relative;\n}\n.styles-module_progress__Zj-B7::before {\n height: 3px;\n content: \"\";\n left: 0;\n top: 0;\n background: var(--foreground-1);\n position: absolute;\n animation: styles-module_fadeIn__ytfsX 2s ease forwards;\n}\n.styles-module_progress__Zj-B7.styles-module_enableDot__CJC4D::after {\n content: \"\";\n height: 10px;\n width: 10px;\n background: var(--foreground-1);\n border-radius: 5px;\n left: 100%;\n bottom: -3.5px;\n position: absolute;\n animation: styles-module_moveIn__E7c-3 2s ease forwards;\n}";
9861
+ var styles$8 = {"container":"styles-module_container__u4q5n","background":"styles-module_background__jt-ry","progress":"styles-module_progress__Zj-B7","fadeIn":"styles-module_fadeIn__ytfsX","enableDot":"styles-module_enableDot__CJC4D","moveIn":"styles-module_moveIn__E7c-3"};
9862
+ styleInject(css_248z$8);
9785
9863
 
9786
- function ProgressBar({ length, progress }) {
9864
+ function ProgressBar({ length, progress, enableDot = false }) {
9787
9865
  return (React__default.createElement(React__default.Fragment, null,
9788
- React__default.createElement("div", { className: styles$a.container },
9789
- React__default.createElement("div", { className: styles$a.background },
9790
- React__default.createElement("div", { className: styles$a.progress, style: { width: `${progress / length * 100}%` } })))));
9866
+ React__default.createElement("div", { className: styles$8.container },
9867
+ React__default.createElement("div", { className: styles$8.background },
9868
+ React__default.createElement("div", { className: [styles$8.progress, enableDot ? styles$8.enableDot : styles$8.disableDot].join(" "), style: { width: `${progress / length * 100}%` } })))));
9791
9869
  }
9792
9870
 
9793
- var css_248z$9 = ".styles-module_container__Grkzw {\n display: flex;\n flex-direction: column;\n gap: 12px;\n color: var(--foreground-3);\n margin-bottom: 20px;\n position: relative;\n}\n.styles-module_container__Grkzw [type=radio] {\n position: relative;\n left: 15px;\n top: -4px;\n z-index: 0;\n appearance: none;\n -webkit-appearance: none;\n cursor: pointer;\n margin-left: -3.5px;\n}\n.styles-module_container__Grkzw [type=radio] + label {\n position: absolute;\n cursor: pointer;\n}\n.styles-module_container__Grkzw [type=radio] + label::before {\n width: 15px;\n height: 15px;\n border-radius: 20px;\n border: 2px solid var(--border-2);\n display: block;\n content: \"\";\n float: left;\n margin-right: 8px;\n z-index: 5;\n position: relative;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__Grkzw .styles-module_option__nijjM {\n position: relative;\n}\n.styles-module_container__Grkzw [type=radio] ~ span {\n position: absolute;\n opacity: 1;\n color: var(--background-1);\n z-index: 100;\n user-select: none;\n pointer-events: none;\n -webkit-user-select: none;\n font-weight: 500;\n bottom: -1.5px;\n left: -1px;\n}\n.styles-module_container__Grkzw [type=radio]:checked ~ span {\n color: var(--background-1);\n}\n.styles-module_container__Grkzw [type=radio]:checked + label::before {\n background-color: var(--primary-1);\n border-color: var(--primary-1);\n}\n.styles-module_container__Grkzw [type=radio]:hover:not(:checked) + label::before {\n background-color: var(--background-4);\n border-color: var(--background-4);\n}";
9794
- var styles$9 = {"container":"styles-module_container__Grkzw","option":"styles-module_option__nijjM"};
9795
- styleInject(css_248z$9);
9871
+ var css_248z$7 = ".styles-module_container__Grkzw {\n display: flex;\n flex-direction: column;\n gap: 12px;\n color: var(--foreground-3);\n margin-bottom: 20px;\n position: relative;\n}\n.styles-module_container__Grkzw [type=radio] {\n position: relative;\n left: 15px;\n top: -4px;\n z-index: 0;\n appearance: none;\n -webkit-appearance: none;\n cursor: pointer;\n margin-left: -3.5px;\n}\n.styles-module_container__Grkzw [type=radio] + label {\n position: absolute;\n cursor: pointer;\n}\n.styles-module_container__Grkzw [type=radio] + label::before {\n width: 15px;\n height: 15px;\n border-radius: 20px;\n border: 2px solid var(--border-2);\n display: block;\n content: \"\";\n float: left;\n margin-right: 8px;\n z-index: 5;\n position: relative;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__Grkzw [type=radio] + label::after {\n width: 10px;\n height: 10px;\n border-radius: 10px;\n display: block;\n content: \"\";\n z-index: 6;\n position: absolute;\n left: 4.5px;\n top: 4.5px;\n background-color: var(--background-1);\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__Grkzw .styles-module_option__nijjM {\n position: relative;\n}\n.styles-module_container__Grkzw [type=radio] ~ span {\n position: absolute;\n opacity: 1;\n color: var(--background-1);\n z-index: 100;\n user-select: none;\n pointer-events: none;\n -webkit-user-select: none;\n font-weight: 500;\n bottom: -1.5px;\n left: -1px;\n}\n.styles-module_container__Grkzw [type=radio]:checked ~ span {\n color: var(--background-1);\n}\n.styles-module_container__Grkzw [type=radio]:checked + label::before {\n background-color: var(--background-1);\n border-color: var(--primary-1);\n}\n.styles-module_container__Grkzw [type=radio]:checked + label::after {\n background-color: var(--primary-1);\n}\n.styles-module_container__Grkzw [type=radio]:hover:not(:checked) + label::before {\n border-color: var(--primary-2);\n}\n.styles-module_container__Grkzw [type=radio]:hover:not(:checked) + label::after {\n background: var(--primary-2);\n}";
9872
+ var styles$7 = {"container":"styles-module_container__Grkzw","option":"styles-module_option__nijjM"};
9873
+ styleInject(css_248z$7);
9796
9874
 
9797
- class RadioOption {
9798
- text;
9799
- name;
9800
- constructor(text, name) {
9801
- this.text = text;
9802
- this.name = name;
9803
- }
9804
- }
9805
9875
  function RadioButtons({ options, group, selected, onClick, width = "100%" }) {
9806
9876
  const [selectedOption, setSelected] = useState(selected);
9807
9877
  function onUpdateSelected(event) {
@@ -9809,24 +9879,22 @@ function RadioButtons({ options, group, selected, onClick, width = "100%" }) {
9809
9879
  if (onClick)
9810
9880
  onClick(event);
9811
9881
  }
9812
- return (React__default.createElement("div", { className: styles$9.container, style: { width: width } }, options.map((option) => React__default.createElement("div", { className: styles$9.option, key: option.name },
9882
+ return (React__default.createElement("div", { className: styles$7.container, style: { width: width } }, options.map((option) => React__default.createElement("div", { className: styles$7.option, key: option.name },
9813
9883
  selected && selected == option.name ?
9814
9884
  React__default.createElement("input", { type: "radio", id: option.name, name: group, value: option.name, onInput: onUpdateSelected, defaultChecked: true })
9815
9885
  :
9816
9886
  React__default.createElement("input", { type: "radio", id: option.name, name: group, value: option.name, onInput: onUpdateSelected }),
9817
- React__default.createElement("label", { htmlFor: option.name }, option.text),
9818
- React__default.createElement(SvgIcon, { iconName: "done", size: "20px" })))));
9887
+ React__default.createElement("label", { htmlFor: option.name }, option.text)))));
9819
9888
  }
9820
9889
 
9821
- var css_248z$8 = ".styles-module_container__RhsQe {\n margin-right: 8px;\n}\n.styles-module_container__RhsQe.styles-module_back__j0HkC {\n display: block;\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0 {\n background: none;\n padding: none;\n border: none;\n width: 40px;\n height: 40px;\n transition: 0.2s;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0 span {\n color: var(--foreground-1);\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0:hover {\n background: var(--background-1);\n}\n.styles-module_container__RhsQe .styles-module_label__bdjMh {\n display: none;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_label__bdjMh {\n display: block;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_button__HuX-0 {\n flex-direction: row;\n gap: 5px;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_button__HuX-0:hover {\n background: none;\n}\n\n@media (max-width: 800px) {\n .styles-module_container__RhsQe.styles-module_forward__Vjtye {\n flex-basis: auto;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC {\n flex-basis: 100%;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_label__bdjMh {\n display: block;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_button__HuX-0 {\n gap: 5px;\n width: auto;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_button__HuX-0:hover {\n background: none;\n }\n}";
9822
- var styles$8 = {"container":"styles-module_container__RhsQe","back":"styles-module_back__j0HkC","button":"styles-module_button__HuX-0","label":"styles-module_label__bdjMh","middle":"styles-module_middle__xg7RF","forward":"styles-module_forward__Vjtye"};
9823
- styleInject(css_248z$8);
9890
+ var css_248z$6 = ".styles-module_container__RhsQe {\n margin-right: 8px;\n}\n.styles-module_container__RhsQe.styles-module_back__j0HkC {\n display: block;\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0 {\n background: none;\n padding: none;\n border: none;\n width: 40px;\n height: 40px;\n transition: 0.2s;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n font-family: var(--font-1);\n font-weight: 500;\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0 span {\n color: var(--foreground-1);\n}\n.styles-module_container__RhsQe .styles-module_button__HuX-0:hover {\n background: var(--background-1);\n}\n.styles-module_container__RhsQe .styles-module_label__bdjMh {\n display: none;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_label__bdjMh {\n display: block;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_button__HuX-0 {\n flex-direction: row;\n gap: 5px;\n}\n.styles-module_container__RhsQe.styles-module_middle__xg7RF .styles-module_button__HuX-0:hover {\n background: none;\n}\n\n@media (max-width: 800px) {\n .styles-module_container__RhsQe.styles-module_forward__Vjtye {\n flex-basis: auto;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC {\n flex-basis: 100%;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_label__bdjMh {\n display: block;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_button__HuX-0 {\n gap: 5px;\n width: auto;\n }\n .styles-module_container__RhsQe.styles-module_back__j0HkC .styles-module_button__HuX-0:hover {\n background: none;\n }\n}";
9891
+ var styles$6 = {"container":"styles-module_container__RhsQe","back":"styles-module_back__j0HkC","button":"styles-module_button__HuX-0","label":"styles-module_label__bdjMh","middle":"styles-module_middle__xg7RF","forward":"styles-module_forward__Vjtye"};
9892
+ styleInject(css_248z$6);
9824
9893
 
9825
- function RedirectButton({ id, type = "forward", onClick }) {
9894
+ function RedirectButton({ id, type = "forward", onClick = () => { }, children = "Zurück" }) {
9826
9895
  function onClickButton(event) {
9827
9896
  event.preventDefault();
9828
- if (onClick)
9829
- onClick(event);
9897
+ onClick(event);
9830
9898
  }
9831
9899
  const getIcon = () => {
9832
9900
  switch (type) {
@@ -9836,29 +9904,20 @@ function RedirectButton({ id, type = "forward", onClick }) {
9836
9904
  }
9837
9905
  };
9838
9906
  return (React__default.createElement("div", { className: [
9839
- styles$8.container,
9840
- type === "forward" ? styles$8.forward : styles$8.not_forward,
9841
- type === "back" ? styles$8.back : styles$8.not_back,
9842
- type === "middle" ? styles$8.middle : styles$8.not_middle
9907
+ styles$6.container,
9908
+ type === "forward" ? styles$6.forward : styles$6.not_forward,
9909
+ type === "back" ? styles$6.back : styles$6.not_back,
9910
+ type === "middle" ? styles$6.middle : styles$6.not_middle
9843
9911
  ].join(" ") },
9844
- React__default.createElement("button", { onClick: onClickButton, className: styles$8.button, id: id },
9912
+ React__default.createElement("button", { onClick: onClickButton, className: styles$6.button, id: id },
9845
9913
  React__default.createElement(SvgIcon, { iconName: getIcon() }),
9846
- React__default.createElement("span", { className: styles$8.label }, "Zur\u00FCck"))));
9914
+ React__default.createElement("span", { className: styles$6.label }, children))));
9847
9915
  }
9848
9916
 
9849
- var css_248z$7 = ".styles-module_container__VreeH {\n margin-bottom: 20px;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 10px;\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J,\n.styles-module_container__VreeH .styles-module_show_all__HKn-s {\n padding: 10px 18px;\n background: var(--background-1);\n border-radius: 20px;\n display: flex;\n flex-direction: row;\n gap: 5px;\n align-items: center;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n color: var(--foreground-2);\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J.styles-module_selected__sArTD {\n background: var(--primary-2);\n color: var(--primary-1);\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J.styles-module_selected__sArTD span {\n color: var(--primary-1);\n}";
9850
- var styles$7 = {"container":"styles-module_container__VreeH","chip":"styles-module_chip__EvZ4J","show_all":"styles-module_show_all__HKn-s","selected":"styles-module_selected__sArTD"};
9851
- styleInject(css_248z$7);
9917
+ var css_248z$5 = ".styles-module_container__VreeH {\n margin-bottom: 20px;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 10px;\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J,\n.styles-module_container__VreeH .styles-module_show_all__HKn-s {\n padding: 6px 12px;\n background: var(--background-1);\n border-radius: 20px;\n display: flex;\n flex-direction: row;\n gap: 5px;\n align-items: center;\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n -webkit-user-select: none;\n color: var(--foreground-2);\n transition: 0.2s ease-in-out;\n border: 1px solid transparent;\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J:hover {\n filter: brightness(0.95);\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J:not(.styles-module_selected__sArTD):active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J.styles-module_selected__sArTD {\n background: var(--primary-2);\n color: var(--primary-1);\n}\n.styles-module_container__VreeH .styles-module_chip__EvZ4J.styles-module_selected__sArTD span {\n color: var(--primary-1);\n}";
9918
+ var styles$5 = {"container":"styles-module_container__VreeH","chip":"styles-module_chip__EvZ4J","show_all":"styles-module_show_all__HKn-s","selected":"styles-module_selected__sArTD"};
9919
+ styleInject(css_248z$5);
9852
9920
 
9853
- class SearchChip {
9854
- title;
9855
- value;
9856
- selected = false;
9857
- constructor(title, value) {
9858
- this.title = title;
9859
- this.value = value;
9860
- }
9861
- }
9862
9921
  function SearchChips({ items, onChange, chipsVisible = 9 }) {
9863
9922
  const [showAll, setShowAll] = useState(false);
9864
9923
  const [chips, setChips] = useState(items);
@@ -9869,21 +9928,21 @@ function SearchChips({ items, onChange, chipsVisible = 9 }) {
9869
9928
  if (onChange)
9870
9929
  onChange(newChips);
9871
9930
  }
9872
- return (React__default.createElement("div", { className: styles$7.container },
9873
- (showAll ? chips : chips.slice(0, chipsVisible)).map((item, index) => React__default.createElement("div", { key: index, onClick: (e) => onClick(item, index), className: [styles$7.chip, item.selected ? styles$7.selected : styles$7.not_selected].join(" ") },
9931
+ return (React__default.createElement("div", { className: styles$5.container },
9932
+ (showAll ? chips : chips.slice(0, chipsVisible)).map((item, index) => React__default.createElement("div", { key: index, onClick: (e) => onClick(item, index), className: [styles$5.chip, item.selected ? styles$5.selected : styles$5.not_selected].join(" ") },
9874
9933
  React__default.createElement(SvgIcon, { iconName: item.selected ? "close" : "filter_list", size: "20px" }),
9875
9934
  item.title)),
9876
9935
  chipsVisible < chips.length && (showAll ?
9877
- React__default.createElement("div", { className: styles$7.show_all, onClick: () => setShowAll(false) }, "Weniger anzeigen")
9936
+ React__default.createElement("div", { className: styles$5.show_all, onClick: () => setShowAll(false) }, "Weniger anzeigen")
9878
9937
  :
9879
- React__default.createElement("div", { className: styles$7.show_all, onClick: () => setShowAll(true) }, "Mehr anzeigen"))));
9938
+ React__default.createElement("div", { className: styles$5.show_all, onClick: () => setShowAll(true) }, "Mehr anzeigen"))));
9880
9939
  }
9881
9940
 
9882
- var css_248z$6 = ".styles-module_container__k4Z26 {\n width: 100%;\n display: flex;\n flex-direction: row;\n gap: 10px;\n position: relative;\n}\n.styles-module_container__k4Z26 button {\n background: var(--primary-2);\n padding: 0px 18px;\n border: none;\n font-size: 14px;\n border-radius: 10px;\n cursor: pointer;\n color: var(--primary-1);\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ-,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om {\n display: none;\n position: absolute;\n top: 60px;\n background: var(--background-1);\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);\n width: 100%;\n border-radius: 14px;\n border: 1px solid var(--border-3);\n z-index: 1000;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ-:hover,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om:hover {\n display: block;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul li,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li {\n padding: 16px 20px;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul li:not(:last-child),\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li:not(:last-child) {\n border-bottom: 1px solid var(--border-3);\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X {\n padding: 35px 0px;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 15px;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X h3,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X h3 {\n margin: 0;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X p {\n color: var(--foreground-3);\n padding: 0px 30px;\n line-height: 1.5;\n text-align: center;\n margin-bottom: 10px;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li {\n display: flex;\n flex-direction: row;\n padding: 10px 20px;\n align-items: center;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li span {\n flex: 1;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om button {\n padding: 10px 16px;\n}\n\n.styles-module_input__wOJmG {\n padding: 14px 20px;\n font-size: 16px;\n width: 300px;\n border-radius: 12px;\n border: 1.5px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n width: 100%;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__wOJmG:focus, .styles-module_input__wOJmG:active {\n border-color: var(--primary-1);\n box-shadow: 0px 0px 3px 3px rgba(0, 87, 255, 0.2509803922);\n}\n\n.styles-module_form__mWTCu.styles-module_focus__-6H1f + .styles-module_suggestions_container__pceQ-,\n.styles-module_form__mWTCu.styles-module_focus__-6H1f + .styles-module_results_container__OY4Om {\n display: block;\n}\n\n/* animated text field */\n.styles-module_form__mWTCu {\n position: relative;\n width: 100%;\n}\n\n.styles-module_label__A41g9 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.styles-module_label_text__NQHTC {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__wOJmG.styles-module_with_title__rnN-t::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__wOJmG.styles-module_with_title__rnN-t:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__wOJmG:focus + .styles-module_label__A41g9 .styles-module_label_text__NQHTC,\n.styles-module_input__wOJmG.styles-module_valid__AAK-6 + .styles-module_label__A41g9 .styles-module_label_text__NQHTC {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__wOJmG.styles-module_valid__AAK-6 + .styles-module_label__A41g9 .styles-module_label_text__NQHTC {\n color: var(--foreground-3);\n}";
9883
- var styles$6 = {"container":"styles-module_container__k4Z26","suggestions_container":"styles-module_suggestions_container__pceQ-","results_container":"styles-module_results_container__OY4Om","error":"styles-module_error__2Ov4X","input":"styles-module_input__wOJmG","form":"styles-module_form__mWTCu","focus":"styles-module_focus__-6H1f","label":"styles-module_label__A41g9","label_text":"styles-module_label_text__NQHTC","with_title":"styles-module_with_title__rnN-t","valid":"styles-module_valid__AAK-6"};
9884
- styleInject(css_248z$6);
9941
+ var css_248z$4 = ".styles-module_container__k4Z26 {\n width: 100%;\n display: flex;\n flex-direction: row;\n gap: 10px;\n position: relative;\n}\n.styles-module_container__k4Z26 button {\n background: var(--primary-2);\n padding: 0px 18px;\n border: none;\n font-size: 14px;\n border-radius: 10px;\n cursor: pointer;\n color: var(--primary-1);\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ-,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om {\n display: none;\n position: absolute;\n top: 60px;\n background: var(--background-1);\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);\n width: 100%;\n border-radius: 14px;\n border: 1px solid var(--border-3);\n z-index: 1000;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ-:hover,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om:hover {\n display: block;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul li,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li {\n padding: 16px 20px;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- ul li:not(:last-child),\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li:not(:last-child) {\n border-bottom: 1px solid var(--border-3);\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X {\n padding: 35px 0px;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 15px;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X h3,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X h3 {\n margin: 0;\n}\n.styles-module_container__k4Z26 .styles-module_suggestions_container__pceQ- .styles-module_error__2Ov4X p,\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om .styles-module_error__2Ov4X p {\n color: var(--foreground-3);\n padding: 0px 30px;\n line-height: 1.5;\n text-align: center;\n margin-bottom: 10px;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li {\n display: flex;\n flex-direction: row;\n padding: 10px 20px;\n align-items: center;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om ul li span {\n flex: 1;\n}\n.styles-module_container__k4Z26 .styles-module_results_container__OY4Om button {\n padding: 10px 16px;\n}\n\n.styles-module_input__wOJmG {\n padding: 14px 20px;\n font-size: 16px;\n width: 300px;\n border-radius: 12px;\n border: 1px solid var(--border-2);\n outline: none;\n transition: 0.2s ease;\n width: 100%;\n background: var(--background-1);\n color: var(--foreground-1);\n}\n.styles-module_input__wOJmG:focus, .styles-module_input__wOJmG:active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n}\n\n.styles-module_form__mWTCu.styles-module_focus__-6H1f + .styles-module_suggestions_container__pceQ-,\n.styles-module_form__mWTCu.styles-module_focus__-6H1f + .styles-module_results_container__OY4Om {\n display: block;\n}\n\ninput[type=search]::-webkit-search-decoration,\ninput[type=search]::-webkit-search-cancel-button,\ninput[type=search]::-webkit-search-results-button,\ninput[type=search]::-webkit-search-results-decoration {\n -webkit-appearance: none;\n}\n\n/* animated text field */\n.styles-module_form__mWTCu {\n position: relative;\n width: 100%;\n}\n\n.styles-module_label__A41g9 {\n position: absolute;\n bottom: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n font-family: var(--font-1);\n}\n\n.styles-module_label_text__NQHTC {\n position: absolute;\n bottom: 16px;\n left: 12px;\n transition: 0.3s ease;\n font-size: 16px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n opacity: initial;\n background: var(--background-1);\n color: var(--foreground-3);\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.styles-module_input__wOJmG.styles-module_with_title__rnN-t::placeholder {\n opacity: 0;\n transition: opacity 0.3s ease;\n color: var(--foreground-3);\n}\n\n.styles-module_input__wOJmG.styles-module_with_title__rnN-t:focus::placeholder {\n opacity: 1;\n}\n\n.styles-module_input__wOJmG:focus + .styles-module_label__A41g9 .styles-module_label_text__NQHTC,\n.styles-module_input__wOJmG.styles-module_valid__AAK-6 + .styles-module_label__A41g9 .styles-module_label_text__NQHTC {\n transform: translateY(-150%);\n left: 15px;\n font-size: 14px;\n background: var(--background-2);\n color: var(--primary-1);\n}\n\n.styles-module_input__wOJmG.styles-module_valid__AAK-6 + .styles-module_label__A41g9 .styles-module_label_text__NQHTC {\n color: var(--foreground-3);\n}";
9942
+ var styles$4 = {"container":"styles-module_container__k4Z26","suggestions_container":"styles-module_suggestions_container__pceQ-","results_container":"styles-module_results_container__OY4Om","error":"styles-module_error__2Ov4X","input":"styles-module_input__wOJmG","form":"styles-module_form__mWTCu","focus":"styles-module_focus__-6H1f","label":"styles-module_label__A41g9","label_text":"styles-module_label_text__NQHTC","with_title":"styles-module_with_title__rnN-t","valid":"styles-module_valid__AAK-6"};
9943
+ styleInject(css_248z$4);
9885
9944
 
9886
- function Searchbar({ placeholder, title = "Suchen", showNoResults = false, errorTitle = "Keine Ergebnisse gefunden", errorMessage = "", errorButton = "", helpTitle = "", helpMessage = "", marginBottom = 25, marginTop = 30, errorAction = () => { }, onInput = () => { }, onClickResult = () => { }, withButton = false, buttonText = "Suchen", suggestions = [], autoFocus = false, results = [] }) {
9945
+ function Searchbar({ placeholder, title = "Suchen", showNoResults = false, errorTitle = "Keine Ergebnisse gefunden", errorMessage = "", errorButton = "", helpTitle = "", helpMessage = "", width = "100%", marginBottom = 25, marginTop = 30, errorAction = () => { }, onInput = () => { }, onClickResult = () => { }, withButton = false, buttonText = "Suchen", suggestions = [], autoFocus = false, results = [] }) {
9887
9946
  const [value, setValue] = useState("");
9888
9947
  const [inputFocused, setFocused] = useState(false);
9889
9948
  const [searchResults, setSearchResults] = useState(results);
@@ -9910,67 +9969,37 @@ function Searchbar({ placeholder, title = "Suchen", showNoResults = false, error
9910
9969
  element.focus();
9911
9970
  }, [autoFocus]);
9912
9971
  return (React__default.createElement(React__default.Fragment, null,
9913
- React__default.createElement("div", { className: styles$6.container, style: { marginTop: marginTop, marginBottom: marginBottom } },
9914
- React__default.createElement("div", { className: `${styles$6.form} ${inputFocused ? styles$6.focus : styles$6.not_focused}` },
9915
- React__default.createElement("input", { onFocus: () => setFocused(true), onBlur: () => setFocused(false), className: `${styles$6.input} ${title != undefined ? styles$6.with_title : styles$6.without_title} ${value.length > 0 ? styles$6.valid : styles$6.not_valid}`, placeholder: placeholder, type: "search", ref: inputElement, onInput: onInputChanged }),
9916
- React__default.createElement("label", { htmlFor: "text", className: styles$6.label },
9917
- React__default.createElement("span", { className: styles$6.label_text }, title))),
9972
+ React__default.createElement("div", { className: styles$4.container, style: { marginTop: marginTop, marginBottom: marginBottom, width: width } },
9973
+ React__default.createElement("div", { className: `${styles$4.form} ${inputFocused ? styles$4.focus : styles$4.not_focused}` },
9974
+ React__default.createElement("input", { onFocus: () => setFocused(true), onBlur: () => setFocused(false), className: `${styles$4.input} ${title != undefined ? styles$4.with_title : styles$4.without_title} ${value.length > 0 ? styles$4.valid : styles$4.not_valid}`, placeholder: placeholder, type: "search", ref: inputElement, onInput: onInputChanged }),
9975
+ React__default.createElement("label", { htmlFor: "text", className: styles$4.label },
9976
+ React__default.createElement("span", { className: styles$4.label_text }, title))),
9918
9977
  withButton && React__default.createElement("button", { type: "button" }, buttonText),
9919
- suggestions.length > 0 && React__default.createElement("div", { className: styles$6.suggestions_container },
9978
+ suggestions.length > 0 && React__default.createElement("div", { className: styles$4.suggestions_container },
9920
9979
  React__default.createElement("ul", null, suggestions.map((suggestion, index) => React__default.createElement("li", { key: index }, suggestion)))),
9921
- searchResults.length > 0 && React__default.createElement("div", { className: styles$6.results_container },
9980
+ searchResults.length > 0 && React__default.createElement("div", { className: styles$4.results_container },
9922
9981
  React__default.createElement("ul", null, searchResults.map((result, index) => React__default.createElement("li", { key: index, onClick: (event) => onClickResult(event, result) },
9923
9982
  React__default.createElement("span", null, result.title),
9924
9983
  React__default.createElement("button", { type: "button" }, buttonText))))),
9925
- searchResults.length == 0 && showNoResults && value.length > 0 && React__default.createElement("div", { className: styles$6.results_container },
9926
- React__default.createElement("div", { className: styles$6.error },
9984
+ searchResults.length == 0 && showNoResults && value.length > 0 && React__default.createElement("div", { className: styles$4.results_container },
9985
+ React__default.createElement("div", { className: styles$4.error },
9927
9986
  React__default.createElement(SvgIcon, { iconName: "error" }),
9928
9987
  React__default.createElement("h3", null, errorTitle),
9929
9988
  React__default.createElement("p", null, errorMessage),
9930
9989
  errorButton.length > 0 && React__default.createElement("button", { type: "button", onClick: errorAction }, errorButton))),
9931
- searchResults.length == 0 && showNoResults && value.length == 0 && React__default.createElement("div", { className: styles$6.results_container },
9932
- React__default.createElement("div", { className: styles$6.error },
9990
+ searchResults.length == 0 && showNoResults && value.length == 0 && React__default.createElement("div", { className: styles$4.results_container },
9991
+ React__default.createElement("div", { className: styles$4.error },
9933
9992
  React__default.createElement(SvgIcon, { iconName: "lightbulb" }),
9934
9993
  React__default.createElement("h3", null, helpTitle),
9935
9994
  React__default.createElement("p", null, helpMessage))))));
9936
9995
  }
9937
9996
 
9938
- var css_248z$5 = "";
9939
- var styles$5 = {};
9940
- styleInject(css_248z$5);
9941
-
9942
- class SliderCard {
9943
- title;
9944
- description;
9945
- constructor(title, description) {
9946
- this.title = title;
9947
- this.description = description;
9948
- }
9949
- }
9950
- function Slider({ cards }) {
9951
- const [selected, setSelected] = useState(0);
9952
- return (React__default.createElement("div", { className: styles$5.container }, cards.map((card, index) => React__default.createElement("div", { key: index, className: [styles$5.card, selected == index ? styles$5.selected : styles$5.not_selected].join(" ") },
9953
- React__default.createElement("h1", null, card.title),
9954
- React__default.createElement("p", null, card.description)))));
9955
- }
9956
-
9957
- var css_248z$4 = ".styles-module_container__xRQNT {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 7px;\n color: var(--foreground-3);\n}\n.styles-module_container__xRQNT svg {\n fill: var(--foreground-3);\n}";
9958
- var styles$4 = {"container":"styles-module_container__xRQNT"};
9959
- styleInject(css_248z$4);
9960
-
9961
- function StepBack({ iconName = "arrow_back", text = "Weitere Möglichkeiten" }) {
9962
- return (React__default.createElement(React__default.Fragment, null,
9963
- React__default.createElement("div", { className: styles$4.container },
9964
- React__default.createElement(SvgIcon, { iconName: iconName }),
9965
- text)));
9966
- }
9967
-
9968
9997
  var css_248z$3 = ".styles-module_container__jNs7m h3 {\n font-weight: 500;\n font-size: 16px;\n color: var(--foreground-1);\n}\n\n.styles-module_item_list__FxHkg.styles-module_has_children__Uu-8D {\n border-top: 1px solid var(--border-1);\n border-bottom: 1px solid var(--border-1);\n}\n\n.styles-module_item_list__FxHkg {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n padding: 8px 14px;\n border-radius: 25px;\n transition: 0.2s ease-in-out;\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_default__SexGH:hover {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg .styles-module_action__YYTok.styles-module_red__KD3qJ:hover {\n background: var(--red-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 {\n color: var(--primary-1) !important;\n border-color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_selected__iOu39 .styles-module_icon__Jy87z {\n color: var(--primary-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n padding: 10px 20px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 10px;\n color: var(--foreground-1);\n flex-wrap: wrap;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_moreText__-blXb {\n flex: 1;\n margin-bottom: 4px;\n color: var(--primary-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_subtitle__DT5OF {\n color: var(--foreground-3);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV .styles-module_icon__Jy87z {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: var(--foreground-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_title__nIwzs {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV.styles-module_blue__theVn .styles-module_icon__Jy87z {\n color: var(--blue-1) !important;\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(even) {\n background: var(--background-2);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(odd) {\n background: var(--background-1);\n}\n.styles-module_item_list__FxHkg li.styles-module_item__sgyiV:not(:last-child) {\n border-bottom: 1px solid var(--border-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_item_list__FxHkg {\n gap: 20px;\n }\n .styles-module_item_list__FxHkg li.styles-module_item__sgyiV {\n background: var(--background-1);\n border-radius: 12px;\n padding: 20px;\n border: 1px solid var(--border-1);\n transition: 0.2s ease-in-out;\n display: flex;\n flex-direction: column;\n gap: 20px;\n }\n .styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(even) {\n background: var(--background-1);\n }\n .styles-module_item_list__FxHkg li.styles-module_item__sgyiV:nth-child(odd) {\n background: var(--background-1);\n }\n}";
9969
9998
  var styles$3 = {"container":"styles-module_container__jNs7m","item_list":"styles-module_item_list__FxHkg","has_children":"styles-module_has_children__Uu-8D","action":"styles-module_action__YYTok","default":"styles-module_default__SexGH","red":"styles-module_red__KD3qJ","item":"styles-module_item__sgyiV","selected":"styles-module_selected__iOu39","icon":"styles-module_icon__Jy87z","moreText":"styles-module_moreText__-blXb","subtitle":"styles-module_subtitle__DT5OF","blue":"styles-module_blue__theVn","title":"styles-module_title__nIwzs"};
9970
9999
  styleInject(css_248z$3);
9971
10000
 
9972
- function Table({ items, title = "Titel", actions = [], moreActions, selected, style = "default", marginTop = 30, emptyTitle = "Keine Daten", emptySubtitle = "Es sind keine Daten vorhanden.", emptyIconName = "manage_search", enableEmptyCard = true }) {
9973
- return (React__default.createElement("div", { className: styles$3.container, style: { marginTop: marginTop } },
10001
+ function Table({ items, title = "Titel", actions = [], moreActions, selected, style = "default", marginTop = 30, width = "100%", emptyTitle = "Keine Daten", emptySubtitle = "Es sind keine Daten vorhanden.", emptyIconName = "manage_search", enableEmptyCard = true }) {
10002
+ return (React__default.createElement("div", { className: styles$3.container, style: { marginTop: marginTop, width: width } },
9974
10003
  items.length == 0 && enableEmptyCard &&
9975
10004
  React__default.createElement(EmptyCard, { title: emptyTitle, subtitle: emptySubtitle, iconName: emptyIconName }),
9976
10005
  items.length > 0 &&
@@ -9994,12 +10023,18 @@ function Table({ items, title = "Titel", actions = [], moreActions, selected, st
9994
10023
  action.title))))))));
9995
10024
  }
9996
10025
 
9997
- var css_248z$2 = ".styles-module_container__Kl-lB {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n}\n\n.styles-module_tab__Veki- {\n flex: 1;\n border-radius: 42px;\n border-bottom: 2px;\n border-bottom-style: solid;\n border-bottom-color: var(--border-1);\n background: var(--background-1);\n color: var(--foreground-1);\n padding: 16px;\n text-align: center;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n}\n.styles-module_tab__Veki-.styles-module_selected__geNE7 {\n border-bottom-color: var(--primary-1);\n background: var(--primary-2);\n color: var(--primary-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_container__Kl-lB {\n gap: 0px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n }\n .styles-module_tab__Veki- {\n border-radius: 0px;\n }\n .styles-module_tab__Veki-:nth-child(1) {\n border-top-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(2) {\n border-top-right-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(3) {\n border-bottom-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(4) {\n border-bottom-right-radius: 16px;\n }\n}";
10026
+ var css_248z$2 = ".styles-module_container__Kl-lB {\n display: flex;\n flex-direction: row;\n gap: 20px;\n margin-bottom: 20px;\n}\n\n.styles-module_tab__Veki- {\n flex: 1;\n border-radius: 42px;\n border: 1px solid transparent;\n border-bottom: 2px;\n border-bottom-style: solid;\n border-bottom-color: var(--border-1);\n background: var(--background-1);\n color: var(--foreground-1);\n padding: 16px;\n text-align: center;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n font-family: var(--font-1);\n font-weight: 400;\n}\n.styles-module_tab__Veki-:not(.styles-module_selected__geNE7):active {\n border: var(--focus-border);\n box-shadow: var(--focus-shadow);\n border-bottom: 2px;\n border-bottom-style: solid;\n border-bottom-color: var(--primary-1);\n}\n.styles-module_tab__Veki-.styles-module_selected__geNE7 {\n border-bottom-color: var(--primary-1);\n background: var(--primary-2);\n color: var(--primary-1);\n}\n\n@media (max-width: 750px) {\n .styles-module_container__Kl-lB {\n gap: 0px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n }\n .styles-module_tab__Veki- {\n border-radius: 0px;\n }\n .styles-module_tab__Veki-:nth-child(1) {\n border-top-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(2) {\n border-top-right-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(3) {\n border-bottom-left-radius: 16px;\n }\n .styles-module_tab__Veki-:nth-child(4) {\n border-bottom-right-radius: 16px;\n }\n}";
9998
10027
  var styles$2 = {"container":"styles-module_container__Kl-lB","tab":"styles-module_tab__Veki-","selected":"styles-module_selected__geNE7"};
9999
10028
  styleInject(css_248z$2);
10000
10029
 
10001
10030
  function Tabs({ tabs = [], onSelect = () => { }, selected }) {
10002
- return (React__default.createElement("div", { className: styles$2.container }, tabs.map((tab) => React__default.createElement("div", { className: [styles$2.tab, tab.value == selected ? styles$2.selected : styles$2.not_selected].join(" "), key: tab.value, onClick: () => onSelect(tab.value) }, tab.title))));
10031
+ const [isSelected, setSelected] = useState(selected);
10032
+ useEffect(() => setSelected(selected), [selected]);
10033
+ const onChange = (value) => {
10034
+ setSelected(value);
10035
+ onSelect(value);
10036
+ };
10037
+ return (React__default.createElement("div", { className: styles$2.container }, tabs.map((tab) => React__default.createElement("div", { className: [styles$2.tab, isSelected == tab.value ? styles$2.selected : styles$2.not_selected].join(" "), key: tab.value, onClick: () => onChange(tab.value) }, tab.title))));
10003
10038
  }
10004
10039
 
10005
10040
  var css_248z$1 = ".styles-module_container__ItBx0 {\n display: flex;\n flex-direction: row;\n gap: 6px;\n align-items: center;\n color: grey;\n padding: 5px 12px;\n border-radius: 20px;\n}\n.styles-module_container__ItBx0:hover span {\n color: var(--primary-1);\n}\n\n.styles-module_container__ItBx0 a {\n display: flex;\n flex-direction: row;\n gap: 6px;\n align-items: center;\n color: var(--foreground-3);\n padding: 5px 12px;\n border-radius: 20px;\n transition: 0.2s ease-in-out;\n}";
@@ -10357,7 +10392,7 @@ function ReactMinimalPieChart(originalProps) {
10357
10392
  }, renderSegments(extendedData, props, revealOverride), renderLabels(extendedData, props), props.children);
10358
10393
  }
10359
10394
 
10360
- var css_248z = "@keyframes styles-module_shine__wdsDw {\n to {\n background-position-x: -200%;\n }\n}\n.styles-module_container__otVky {\n background: var(--background-1);\n padding: 18px;\n border-radius: 20px;\n box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n display: flex;\n flex-direction: row;\n}\n.styles-module_container__otVky.styles-module_loading__e-0U1 {\n height: 95px;\n background: linear-gradient(110deg, var(--border-1) 8%, var(--background-2) 18%, var(--border-1) 33%);\n background-size: 200% 100%;\n animation: 1.5s styles-module_shine__wdsDw linear infinite;\n}\n.styles-module_container__otVky .styles-module_text__V17nN {\n flex: 1;\n}\n.styles-module_container__otVky .styles-module_graph__IjvUA svg {\n width: 40px;\n}\n.styles-module_container__otVky h3 {\n margin: 0;\n line-height: 1.8;\n font-size: 16px;\n font-weight: 600;\n color: var(--foreground-1);\n}\n.styles-module_container__otVky p {\n margin: 0;\n line-height: 1.8;\n font-size: 16px;\n color: var(--foreground-3);\n}";
10395
+ var css_248z = "@keyframes styles-module_shine__wdsDw {\n to {\n background-position-x: -200%;\n }\n}\n.styles-module_container__otVky {\n background: var(--background-1);\n padding: 18px;\n border-radius: 20px;\n box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n display: flex;\n flex-direction: row;\n}\n.styles-module_container__otVky.styles-module_loading__e-0U1 {\n height: 95px;\n background: linear-gradient(110deg, var(--border-1) 8%, var(--background-2) 18%, var(--border-1) 33%);\n background-size: 200% 100%;\n animation: 1.5s styles-module_shine__wdsDw linear infinite;\n}\n.styles-module_container__otVky .styles-module_text__V17nN {\n flex: 1;\n}\n.styles-module_container__otVky .styles-module_graph__IjvUA svg {\n width: 40px;\n}\n.styles-module_container__otVky h3 {\n margin: 0;\n line-height: 1.8;\n font-size: 16px;\n font-weight: 600;\n color: var(--foreground-1);\n font-family: var(--font-1);\n}\n.styles-module_container__otVky p {\n margin: 0;\n line-height: 1.8;\n font-size: 16px;\n color: var(--foreground-3);\n}";
10361
10396
  var styles = {"container":"styles-module_container__otVky","loading":"styles-module_loading__e-0U1","shine":"styles-module_shine__wdsDw","text":"styles-module_text__V17nN","graph":"styles-module_graph__IjvUA"};
10362
10397
  styleInject(css_248z);
10363
10398
 
@@ -10430,4 +10465,4 @@ const site = (pathname) => process.env.NEXT_PUBLIC_APP_URL + pathname;
10430
10465
  const app = (pathname) => site("/app" + pathname);
10431
10466
  const cdn = (pathname) => process.env.NEXT_PUBLIC_WEB_ASSETS_CDN + pathname;
10432
10467
 
10433
- export { Accordeon, Button, Button2, CardButton, Checkbox, ChooseRole, CopyCode, Dialog, EmptyCard, FormButton, FormText, ForwardButton, Gap, InputArea, InputMail, InputNames, InputNumber, InputPassword, InputPin, InputText, OptionField, OptionFieldHorizontal, Popover, ProgressBar, RadioButtons, RadioOption, RedirectButton, SearchChip, SearchChips, Searchbar, Slider, SliderCard, StepBack, SvgIcon, Table, Tabs, TextWithIcon, UsageCard, app, cdn, site, useDimensions, useOrientation, useScroll };
10468
+ export { Accordeon, Button, Button2, CardButton, Checkbox, ChooseRole, CopyCode, Dialog, EmptyCard, FormButton, FormText, ForwardButton, Gap, InputArea, InputMail, InputNames, InputNumber, InputPassword, InputPin, InputText, NumberDropdown, NumberField, OptionField, OptionField2, Popover, ProgressBar, RadioButtons, RedirectButton, SearchChips, Searchbar, Slider, StepBack, SvgIcon, Table, Tabs, TextWithIcon, UsageCard, app, cdn, site, useDimensions, useOrientation, useScroll };