ds-one 0.2.0-alpha.1 → 0.2.0-alpha.3

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 (93) hide show
  1. package/DS1/1-root/one.css +1 -1
  2. package/DS1/2-core/{article-v1.ts → ds-article.ts} +5 -4
  3. package/DS1/2-core/{attributes-v1.ts → ds-attributes.ts} +4 -3
  4. package/DS1/2-core/{cycle-v1.ts → ds-cycle.ts} +11 -10
  5. package/DS1/2-core/{downloadcv-v1.ts → ds-downloadcv.ts} +9 -8
  6. package/DS1/2-core/{header-v1.ts → ds-header.ts} +4 -3
  7. package/DS1/2-core/{home-v1.ts → ds-home.ts} +3 -2
  8. package/DS1/2-core/{icon-v1.ts → ds-icon.ts} +2 -2
  9. package/DS1/2-core/{link-v1.ts → ds-link.ts} +5 -5
  10. package/DS1/2-core/{markdown-v1.ts → ds-markdown.ts} +3 -2
  11. package/DS1/2-core/{price-v1.ts → ds-price.ts} +4 -3
  12. package/DS1/2-core/{squarecircle-v1.ts → ds-squarecircle.ts} +4 -3
  13. package/DS1/2-core/{title-v1.ts → ds-title.ts} +5 -4
  14. package/DS1/2-core/{tooltip-v1.ts → ds-tooltip.ts} +4 -3
  15. package/DS1/2-core/{viewtoggle-v1.ts → ds-viewtoggle.ts} +4 -3
  16. package/DS1/2-core/{year-v1.ts → ds-year.ts} +4 -3
  17. package/DS1/3-unit/{doublenav-v1.ts → ds-doublenav.ts} +9 -8
  18. package/DS1/3-unit/{list-v1.ts → ds-list.ts} +3 -2
  19. package/DS1/3-unit/{panel-v1.ts → ds-panel.ts} +3 -2
  20. package/DS1/3-unit/{row-v1.ts → ds-row.ts} +3 -2
  21. package/DS1/3-unit/{singlenav-v1.ts → ds-singlenav.ts} +5 -4
  22. package/DS1/index.ts +20 -20
  23. package/DS1/utils/cdn-loader.ts +20 -44
  24. package/README.md +4 -4
  25. package/dist/2-core/ds-article.d.ts +129 -0
  26. package/dist/2-core/ds-article.d.ts.map +1 -0
  27. package/dist/2-core/ds-article.js +361 -0
  28. package/dist/2-core/ds-attributes.d.ts +47 -0
  29. package/dist/2-core/ds-attributes.d.ts.map +1 -0
  30. package/dist/2-core/ds-attributes.js +128 -0
  31. package/dist/2-core/ds-cycle.d.ts +66 -0
  32. package/dist/2-core/ds-cycle.d.ts.map +1 -0
  33. package/dist/2-core/ds-cycle.js +586 -0
  34. package/dist/2-core/ds-downloadcv.d.ts +58 -0
  35. package/dist/2-core/ds-downloadcv.d.ts.map +1 -0
  36. package/dist/2-core/ds-downloadcv.js +119 -0
  37. package/dist/2-core/ds-header.d.ts +28 -0
  38. package/dist/2-core/ds-header.d.ts.map +1 -0
  39. package/dist/2-core/ds-header.js +66 -0
  40. package/dist/2-core/ds-home.d.ts +26 -0
  41. package/dist/2-core/ds-home.d.ts.map +1 -0
  42. package/dist/2-core/ds-home.js +148 -0
  43. package/dist/2-core/ds-icon.d.ts +28 -0
  44. package/dist/2-core/ds-icon.d.ts.map +1 -0
  45. package/dist/2-core/ds-icon.js +297 -0
  46. package/dist/2-core/ds-link.d.ts +35 -0
  47. package/dist/2-core/ds-link.d.ts.map +1 -0
  48. package/dist/2-core/ds-link.js +85 -0
  49. package/dist/2-core/ds-markdown.d.ts +7 -0
  50. package/dist/2-core/ds-markdown.d.ts.map +1 -0
  51. package/dist/2-core/ds-markdown.js +240 -0
  52. package/dist/2-core/ds-price.d.ts +46 -0
  53. package/dist/2-core/ds-price.d.ts.map +1 -0
  54. package/dist/2-core/ds-price.js +72 -0
  55. package/dist/2-core/ds-squarecircle.d.ts +50 -0
  56. package/dist/2-core/ds-squarecircle.d.ts.map +1 -0
  57. package/dist/2-core/ds-squarecircle.js +133 -0
  58. package/dist/2-core/ds-title.d.ts +50 -0
  59. package/dist/2-core/ds-title.d.ts.map +1 -0
  60. package/dist/2-core/ds-title.js +103 -0
  61. package/dist/2-core/ds-tooltip.d.ts +39 -0
  62. package/dist/2-core/ds-tooltip.d.ts.map +1 -0
  63. package/dist/2-core/ds-tooltip.js +145 -0
  64. package/dist/2-core/ds-viewtoggle.d.ts +27 -0
  65. package/dist/2-core/ds-viewtoggle.d.ts.map +1 -0
  66. package/dist/2-core/ds-viewtoggle.js +49 -0
  67. package/dist/2-core/ds-year.d.ts +16 -0
  68. package/dist/2-core/ds-year.d.ts.map +1 -0
  69. package/dist/2-core/ds-year.js +21 -0
  70. package/dist/3-unit/ds-doublenav.d.ts +51 -0
  71. package/dist/3-unit/ds-doublenav.d.ts.map +1 -0
  72. package/dist/3-unit/ds-doublenav.js +88 -0
  73. package/dist/3-unit/ds-list.d.ts +11 -0
  74. package/dist/3-unit/ds-list.d.ts.map +1 -0
  75. package/dist/3-unit/ds-list.js +15 -0
  76. package/dist/3-unit/ds-panel.d.ts +11 -0
  77. package/dist/3-unit/ds-panel.d.ts.map +1 -0
  78. package/dist/3-unit/ds-panel.js +16 -0
  79. package/dist/3-unit/ds-row.d.ts +25 -0
  80. package/dist/3-unit/ds-row.d.ts.map +1 -0
  81. package/dist/3-unit/ds-row.js +32 -0
  82. package/dist/3-unit/ds-singlenav.d.ts +32 -0
  83. package/dist/3-unit/ds-singlenav.d.ts.map +1 -0
  84. package/dist/3-unit/ds-singlenav.js +62 -0
  85. package/dist/ds-one.bundle.js +79 -99
  86. package/dist/ds-one.bundle.js.map +3 -3
  87. package/dist/ds-one.bundle.min.js +47 -47
  88. package/dist/ds-one.bundle.min.js.map +4 -4
  89. package/dist/index.d.ts +20 -20
  90. package/dist/index.js +20 -20
  91. package/dist/utils/cdn-loader.d.ts.map +1 -1
  92. package/dist/utils/cdn-loader.js +20 -38
  93. package/package.json +2 -2
@@ -0,0 +1,119 @@
1
+ import { LitElement, html, css } from "lit";
2
+ import { currentLanguage, translate } from "../utils/language";
3
+ /**
4
+ * Download CV button that resolves language-specific URLs
5
+ *
6
+ * @element ds-downloadcv
7
+ * @prop {string} urlEn - URL for English CV
8
+ * @prop {string} urlDa - URL for Danish CV
9
+ * @prop {string} urlJa - URL for Japanese CV
10
+ * @prop {string} filename - Base filename for download (default: "cv")
11
+ */
12
+ export class DownloadCV extends LitElement {
13
+ constructor() {
14
+ super();
15
+ this._handleLanguageChange = () => {
16
+ this._resolveUrl();
17
+ };
18
+ this.urlEn = "";
19
+ this.urlDa = "";
20
+ this.urlJa = "";
21
+ this.filename = "cv";
22
+ this._activeUrl = "";
23
+ }
24
+ connectedCallback() {
25
+ super.connectedCallback();
26
+ this._resolveUrl();
27
+ window.addEventListener("language-changed", this._handleLanguageChange);
28
+ }
29
+ disconnectedCallback() {
30
+ super.disconnectedCallback();
31
+ window.removeEventListener("language-changed", this._handleLanguageChange);
32
+ }
33
+ updated(changed) {
34
+ if (changed.has("urlEn") || changed.has("urlDa") || changed.has("urlJa")) {
35
+ this._resolveUrl();
36
+ }
37
+ }
38
+ _resolveUrl() {
39
+ const lang = currentLanguage.value || "en-US";
40
+ const prefix = (lang.split("-")[0] || "en").toLowerCase();
41
+ let url = "";
42
+ if (prefix === "da")
43
+ url = this.urlDa || this.urlEn || this.urlJa;
44
+ else if (prefix === "ja")
45
+ url = this.urlJa || this.urlEn || this.urlDa;
46
+ else
47
+ url = this.urlEn || this.urlDa || this.urlJa;
48
+ this._activeUrl = url || "";
49
+ }
50
+ async _download() {
51
+ if (!this._activeUrl) {
52
+ console.warn("[ds-downloadcv] No URL available");
53
+ return;
54
+ }
55
+ console.log("[ds-downloadcv] Attempting download from:", this._activeUrl);
56
+ try {
57
+ // Prefer blob download (reliable filename, works cross-origin with CORS)
58
+ const res = await fetch(this._activeUrl, { mode: "cors" });
59
+ console.log("[ds-downloadcv] Fetch response:", res.status, res.statusText);
60
+ if (!res.ok)
61
+ throw new Error(`HTTP ${res.status}`);
62
+ const blob = await res.blob();
63
+ const langPrefix = (currentLanguage.value || "en-US")
64
+ .split("-")[0]
65
+ .toLowerCase();
66
+ const fileExt = this._inferExtFromUrl(this._activeUrl) || "pdf";
67
+ const name = `${this.filename || "cv"}-${langPrefix}.${fileExt}`;
68
+ const url = URL.createObjectURL(blob);
69
+ const a = document.createElement("a");
70
+ a.href = url;
71
+ a.download = name;
72
+ document.body.appendChild(a);
73
+ a.click();
74
+ a.remove();
75
+ URL.revokeObjectURL(url);
76
+ console.log("[ds-downloadcv] Download triggered successfully");
77
+ }
78
+ catch (err) {
79
+ console.error("[ds-downloadcv] Fetch failed, using fallback:", err);
80
+ // Fallback: open the file directly
81
+ window.open(this._activeUrl, "_blank", "noopener,noreferrer");
82
+ }
83
+ }
84
+ _inferExtFromUrl(u) {
85
+ const qIndex = u.indexOf("?");
86
+ const clean = qIndex >= 0 ? u.slice(0, qIndex) : u;
87
+ const dot = clean.lastIndexOf(".");
88
+ if (dot === -1)
89
+ return null;
90
+ const ext = clean.slice(dot + 1).toLowerCase();
91
+ if (ext.length > 5)
92
+ return null;
93
+ return ext;
94
+ }
95
+ render() {
96
+ const disabled = !this._activeUrl;
97
+ return html `
98
+ <ds-button
99
+ variant="primary"
100
+ .disabled=${disabled}
101
+ default-text=${translate("downloadCV")}
102
+ @click=${() => this._download()}
103
+ ></ds-button>
104
+ `;
105
+ }
106
+ }
107
+ DownloadCV.properties = {
108
+ urlEn: { type: String, attribute: "url-en", reflect: true },
109
+ urlDa: { type: String, attribute: "url-da", reflect: true },
110
+ urlJa: { type: String, attribute: "url-ja", reflect: true },
111
+ filename: { type: String, reflect: true },
112
+ _activeUrl: { type: String, state: true },
113
+ };
114
+ DownloadCV.styles = css `
115
+ :host {
116
+ display: inline-flex;
117
+ }
118
+ `;
119
+ customElements.define("ds-downloadcv", DownloadCV);
@@ -0,0 +1,28 @@
1
+ import { LitElement } from "lit";
2
+ /**
3
+ * A component for displaying page headers
4
+ *
5
+ * @element ds-header
6
+ * @prop {string} gridarea - Grid area placement
7
+ */
8
+ export declare class Header extends LitElement {
9
+ private _gridArea;
10
+ static get properties(): {
11
+ gridarea: {
12
+ type: StringConstructor;
13
+ reflect: boolean;
14
+ };
15
+ };
16
+ set gridarea(value: string);
17
+ get gridarea(): string;
18
+ static styles: import("lit").CSSResult;
19
+ constructor();
20
+ firstUpdated(): void;
21
+ render(): import("lit-html").TemplateResult<1>;
22
+ }
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ "ds-header": Header;
26
+ }
27
+ }
28
+ //# sourceMappingURL=ds-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-header.d.ts","sourceRoot":"","sources":["../../DS1/2-core/ds-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAE5C;;;;;GAKG;AACH,qBAAa,MAAO,SAAQ,UAAU;IACpC,OAAO,CAAC,SAAS,CAAM;IAEvB,MAAM,KAAK,UAAU;;;;;MAIpB;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAKzB;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,MAAM,CAAC,MAAM,0BAuBX;;IAMF,YAAY;IAMZ,MAAM;CASP;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,MAAM,CAAC;KACrB;CACF"}
@@ -0,0 +1,66 @@
1
+ import { LitElement, html, css } from "lit";
2
+ /**
3
+ * A component for displaying page headers
4
+ *
5
+ * @element ds-header
6
+ * @prop {string} gridarea - Grid area placement
7
+ */
8
+ export class Header extends LitElement {
9
+ static get properties() {
10
+ return {
11
+ gridarea: { type: String, reflect: true },
12
+ };
13
+ }
14
+ set gridarea(value) {
15
+ const oldValue = this._gridArea;
16
+ this._gridArea = value;
17
+ this.style.gridArea = value;
18
+ this.requestUpdate("gridarea", oldValue);
19
+ }
20
+ get gridarea() {
21
+ return this._gridArea;
22
+ }
23
+ constructor() {
24
+ super();
25
+ this._gridArea = "";
26
+ }
27
+ firstUpdated() {
28
+ if (this.hasAttribute("gridarea")) {
29
+ this.style.gridArea = this.getAttribute("gridarea") || "";
30
+ }
31
+ }
32
+ render() {
33
+ return html `
34
+ <h2
35
+ style="display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; width: 100%;"
36
+ >
37
+ <slot></slot>
38
+ </h2>
39
+ `;
40
+ }
41
+ }
42
+ Header.styles = css `
43
+ :host {
44
+ display: flex;
45
+ padding: calc(2px * var(--scaling-factor));
46
+ align-items: flex-start;
47
+ width: 100%;
48
+ }
49
+
50
+ h2 {
51
+ display: flex;
52
+ place-content: center;
53
+ font-family: var(--typeface);
54
+ color: light-dark(var(--black), var(--white));
55
+ align-items: center;
56
+ font-weight: 500;
57
+ font-size: calc(14px * var(--scaling-factor));
58
+ margin: 0;
59
+ width: 100%;
60
+ }
61
+
62
+ ::slotted(*) {
63
+ margin: 0;
64
+ }
65
+ `;
66
+ customElements.define("ds-header", Header);
@@ -0,0 +1,26 @@
1
+ import { LitElement } from "lit";
2
+ export declare class Home extends LitElement {
3
+ static properties: any;
4
+ state: "active" | "disabled";
5
+ /**
6
+ * Ensure Home is always disabled on mobile devices.
7
+ * Runs once when the element is connected to the DOM.
8
+ */
9
+ connectedCallback(): void;
10
+ /**
11
+ * Lightweight mobile detection. Mirrors the app's utility without importing it
12
+ * to keep the design system component self-contained.
13
+ */
14
+ private _isMobileDevice;
15
+ protected updated(): void;
16
+ static styles: import("lit").CSSResult;
17
+ private _navigateHome;
18
+ private _onKeyDown;
19
+ render(): import("lit-html").TemplateResult<1>;
20
+ }
21
+ declare global {
22
+ interface HTMLElementTagNameMap {
23
+ "ds-home": Home;
24
+ }
25
+ }
26
+ //# sourceMappingURL=ds-home.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-home.d.ts","sourceRoot":"","sources":["../../DS1/2-core/ds-home.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,qBAAa,IAAK,SAAQ,UAAU;IAClC,MAAM,CAAC,UAAU,EAEZ,GAAG,CAAC;IAET,KAAK,EAAE,QAAQ,GAAG,UAAU,CAAY;IAExC;;;OAGG;IACH,iBAAiB;IAOjB;;;OAGG;IACH,OAAO,CAAC,eAAe;IAoBvB,SAAS,CAAC,OAAO,IAAI,IAAI;IAOzB,MAAM,CAAC,MAAM,0BAyEX;IAIF,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,UAAU;IAQlB,MAAM;CAgBP;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,IAAI,CAAC;KACjB;CACF"}
@@ -0,0 +1,148 @@
1
+ import { LitElement, html, css } from "lit";
2
+ // Home tab button that reveals on hover (active) or stays visible and non-interactive (disabled)
3
+ export class Home extends LitElement {
4
+ constructor() {
5
+ super(...arguments);
6
+ this.state = "active";
7
+ }
8
+ /**
9
+ * Ensure Home is always disabled on mobile devices.
10
+ * Runs once when the element is connected to the DOM.
11
+ */
12
+ connectedCallback() {
13
+ super.connectedCallback();
14
+ if (this._isMobileDevice()) {
15
+ this.state = "disabled";
16
+ }
17
+ }
18
+ /**
19
+ * Lightweight mobile detection. Mirrors the app's utility without importing it
20
+ * to keep the design system component self-contained.
21
+ */
22
+ _isMobileDevice() {
23
+ const nav = globalThis.navigator;
24
+ const win = globalThis.window;
25
+ const ua = (nav && (nav.userAgent || nav.vendor)) || (win && win.opera) || "";
26
+ const uaMatchesMobile = /Mobile|Android|iP(ad|hone|od)|IEMobile|BlackBerry|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)|Windows Phone|Phone|Tablet/i.test(ua);
27
+ const touchPoints = (nav && nav.maxTouchPoints) || 0;
28
+ const isTouchCapable = touchPoints > 1;
29
+ const narrowViewport = win
30
+ ? Math.min(win.innerWidth || 0, win.innerHeight || 0) <= 820
31
+ : false;
32
+ return uaMatchesMobile || (isTouchCapable && narrowViewport);
33
+ }
34
+ updated() {
35
+ // Enforce disabled on mobile even if someone flips the state later
36
+ if (this._isMobileDevice() && this.state !== "disabled") {
37
+ this.state = "disabled";
38
+ }
39
+ }
40
+ // No setup needed; `state` defaults to "active" and reflects if provided
41
+ _navigateHome() {
42
+ if (this.state === "disabled")
43
+ return;
44
+ window.location.href = "./home.html";
45
+ }
46
+ _onKeyDown(e) {
47
+ if (this.state === "disabled")
48
+ return;
49
+ if (e?.key === "Enter" || e?.key === " ") {
50
+ e.preventDefault();
51
+ this._navigateHome();
52
+ }
53
+ }
54
+ render() {
55
+ const isDisabled = this.state === "disabled";
56
+ return html `
57
+ <div class="hover-fill"></div>
58
+ <div
59
+ class="home ${isDisabled ? "is-disabled" : "is-active"}"
60
+ role="button"
61
+ aria-disabled="${String(isDisabled)}"
62
+ tabindex="${isDisabled ? -1 : 0}"
63
+ @click="${this._navigateHome}"
64
+ @keydown="${this._onKeyDown}"
65
+ >
66
+ <ds-text key="home"></ds-text>
67
+ </div>
68
+ `;
69
+ }
70
+ }
71
+ Home.properties = {
72
+ state: { type: String, reflect: true }, // "active" | "disabled"
73
+ };
74
+ Home.styles = css `
75
+ :host {
76
+ /* local sizing vars, derived from one.css */
77
+ --home-visible: calc(var(--1) * 0.1); /* 2px */
78
+
79
+ position: relative;
80
+ display: flex; /* expand hover zone horizontally */
81
+ width: 100%; /* take the whole row width of the app container */
82
+ height: calc(
83
+ var(--1) * var(--scaling-factor)
84
+ ); /* provide hover zone under the tab */
85
+ font-family: var(--typeface);
86
+ overflow: hidden; /* hide the part above the host */
87
+ }
88
+
89
+ /* Disabled: preserve full hover area space but keep inactive */
90
+ :host([state="disabled"]) {
91
+ height: var(--1); /* keep same layout height as active */
92
+ overflow: hidden;
93
+ }
94
+
95
+ .home {
96
+ position: absolute;
97
+ left: 0;
98
+ width: calc(var(--4) * var(--scaling-factor));
99
+ height: calc(var(--1) * var(--scaling-factor));
100
+ margin: 0 calc(var(--1) * var(--scaling-factor));
101
+ display: flex;
102
+ align-items: center;
103
+ background: var(--accent-color);
104
+ color: light-dark(var(--black), var(--black));
105
+ user-select: none;
106
+ transition: top 120ms ease;
107
+ }
108
+
109
+ /* Inner text spacing without affecting the 80px outer width */
110
+ .home > ds-text {
111
+ padding: 0 calc(var(--1) * 0.15 * var(--scaling-factor));
112
+ box-sizing: border-box;
113
+ height: 100%;
114
+ display: inline-flex;
115
+ align-items: center;
116
+ }
117
+
118
+ /* invisible flex filler to extend hover area to the right */
119
+ .hover-fill {
120
+ flex: 1 1 auto;
121
+ }
122
+
123
+ /* Active: hidden until hover */
124
+ .home.is-active {
125
+ cursor: pointer;
126
+ /* Hide above, leave a 2px strip visible */
127
+ top: calc(var(--home-visible) - var(--1));
128
+ }
129
+
130
+ /* Reveal the tab when hovering anywhere in the host area
131
+ (the host is 80x20, while the tab starts hidden above) */
132
+ :host(:hover) .home.is-active {
133
+ top: 0;
134
+ }
135
+
136
+ /* Disabled: stays hidden and not interactive */
137
+ .home.is-disabled {
138
+ top: calc(var(--home-visible) - var(--1));
139
+ cursor: default;
140
+ pointer-events: none;
141
+ color: var(--accent-color);
142
+ }
143
+
144
+ .label {
145
+ font-size: var(--type-size-default);
146
+ }
147
+ `;
148
+ customElements.define("ds-home", Home);
@@ -0,0 +1,28 @@
1
+ import { LitElement, type PropertyValues } from "lit";
2
+ export declare class Icon extends LitElement {
3
+ static properties: {
4
+ type: {
5
+ type: StringConstructor;
6
+ reflect: boolean;
7
+ };
8
+ };
9
+ private _type;
10
+ size: string;
11
+ color: string;
12
+ background: string;
13
+ get type(): string;
14
+ set type(val: string);
15
+ static styles: import("lit").CSSResult;
16
+ private static readonly iconNameToSvgMap;
17
+ constructor();
18
+ connectedCallback(): void;
19
+ renderIcon(): import("lit-html").TemplateResult<1>;
20
+ updated(changedProperties: PropertyValues): void;
21
+ render(): import("lit-html").TemplateResult<1>;
22
+ }
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ "ds-icon": Icon;
26
+ }
27
+ }
28
+ //# sourceMappingURL=ds-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ds-icon.d.ts","sourceRoot":"","sources":["../../DS1/2-core/ds-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGjE,qBAAa,IAAK,SAAQ,UAAU;IAClC,MAAM,CAAC,UAAU;;;;;MAEf;IAEF,OAAO,CAAC,KAAK,CAAM;IAEnB,IAAI,SAAS;IACb,KAAK,SAAkB;IACvB,UAAU,SAAiB;IAE3B,IAAI,IAAI,WAEP;IACD,IAAI,IAAI,CAAC,GAAG,QAAA,EAIX;IAED,MAAM,CAAC,MAAM,0BA+BX;IAIF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAyBnC;;IAOL,iBAAiB;IAKjB,UAAU;IA4MV,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAQzC,MAAM;CAIP;AAOD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,IAAI,CAAC;KACjB;CACF"}