Browse code

Add some temporary lit test components for development purposes

Benjamin Roth authored on29/12/2025 19:27:44
Showing13 changed files
... ...
@@ -1,14 +1,7 @@
1
-# PHPStorm
2
-/.idea/
3
-
4
-# Composer
5
-/composer.lock
6
-/composer.phar
7 1
 /vendor/
8
-
9
-# PhpUnit
10
-/.phpunit.result.cache
11
-/phpunit.xml
12
-
13
-# Tools
14
-/tools/*/vendor
2
+/tools/**/vendor/
3
+/var/
4
+/node_modules/
5
+.idea/
6
+.phpunit.result.cache
7
+composer.lock
15 8
new file mode 100644
... ...
@@ -0,0 +1,6 @@
1
+:root {
2
+    --luumicore-primary: #007bff;
3
+    --luumicore-text-color: #333;
4
+}
5
+
6
+/* Global styles for the core bundle */
0 7
new file mode 100644
... ...
@@ -0,0 +1,60 @@
1
+import { LitElement, html, css } from 'lit';
2
+
3
+export class LuumicoreCard extends LitElement {
4
+  static styles = css`
5
+    :host {
6
+      display: block;
7
+      border: 1px solid var(--luumicore-border-color, #ddd);
8
+      border-radius: var(--luumicore-border-radius, 8px);
9
+      overflow: hidden;
10
+      background-color: var(--luumicore-card-bg, #fff);
11
+      box-shadow: var(--luumicore-shadow, 0 2px 4px rgba(0,0,0,0.1));
12
+    }
13
+
14
+    .card-image {
15
+      width: 100%;
16
+      height: auto;
17
+      display: block;
18
+    }
19
+
20
+    .card-header {
21
+      padding: var(--luumicore-spacing, 16px);
22
+      border-bottom: 1px solid var(--luumicore-border-color, #ddd);
23
+      font-weight: bold;
24
+      background-color: var(--luumicore-header-bg, #f8f9fa);
25
+    }
26
+
27
+    .card-body {
28
+      padding: var(--luumicore-spacing, 16px);
29
+    }
30
+
31
+    .card-footer {
32
+      padding: var(--luumicore-spacing, 16px);
33
+      border-top: 1px solid var(--luumicore-border-color, #ddd);
34
+      background-color: var(--luumicore-footer-bg, #f8f9fa);
35
+    }
36
+  `;
37
+
38
+  static properties = {
39
+    imageUrl: { type: String, attribute: 'image-url' },
40
+    imageAlt: { type: String, attribute: 'image-alt' },
41
+  };
42
+
43
+  render() {
44
+    return html`
45
+      ${this.imageUrl
46
+        ? html`<img class="card-image" src="${this.imageUrl}" alt="${this.imageAlt || ''}" />`
47
+        : ''}
48
+
49
+      <slot name="header" class="card-header-slot"></slot>
50
+
51
+      <div class="card-body">
52
+        <slot></slot>
53
+      </div>
54
+
55
+      <slot name="footer" class="card-footer-slot"></slot>
56
+    `;
57
+  }
58
+}
59
+
60
+customElements.define('luumicore-card', LuumicoreCard);
0 61
new file mode 100644
... ...
@@ -0,0 +1,57 @@
1
+import { LitElement, html, css } from 'lit';
2
+
3
+export class LuumicoreListItem extends LitElement {
4
+  static styles = css`
5
+    :host {
6
+      display: block;
7
+      border-bottom: 1px solid var(--luumicore-border-color, #ddd);
8
+      background-color: var(--luumicore-list-bg, #fff);
9
+    }
10
+
11
+    :host(:last-child) {
12
+      border-bottom: none;
13
+    }
14
+
15
+    .item-container {
16
+      display: flex;
17
+      align-items: center;
18
+      padding: var(--luumicore-spacing, 12px) var(--luumicore-spacing, 16px);
19
+      gap: var(--luumicore-spacing, 16px);
20
+    }
21
+
22
+    .content {
23
+      flex: 1;
24
+      min-width: 0; /* Allow text truncation */
25
+    }
26
+
27
+    .actions {
28
+      display: flex;
29
+      align-items: center;
30
+      gap: 8px;
31
+    }
32
+
33
+    .main-action {
34
+      margin-left: auto;
35
+    }
36
+  `;
37
+
38
+  render() {
39
+    return html`
40
+      <div class="item-container">
41
+        <div class="content">
42
+          <slot></slot>
43
+        </div>
44
+
45
+        <div class="actions">
46
+          <slot name="actions"></slot>
47
+        </div>
48
+
49
+        <div class="main-action">
50
+          <slot name="main-action"></slot>
51
+        </div>
52
+      </div>
53
+    `;
54
+  }
55
+}
56
+
57
+customElements.define('luumicore-list-item', LuumicoreListItem);
0 58
new file mode 100644
... ...
@@ -0,0 +1,28 @@
1
+import { LitElement, html, css } from 'lit';
2
+
3
+export class LuumicoreList extends LitElement {
4
+  static styles = css`
5
+    :host {
6
+      display: block;
7
+    }
8
+
9
+    ul {
10
+      list-style: none;
11
+      padding: 0;
12
+      margin: 0;
13
+      border: 1px solid var(--luumicore-border-color, #ddd);
14
+      border-radius: var(--luumicore-border-radius, 8px);
15
+      overflow: hidden;
16
+    }
17
+  `;
18
+
19
+  render() {
20
+    return html`
21
+      <ul>
22
+        <slot></slot>
23
+      </ul>
24
+    `;
25
+  }
26
+}
27
+
28
+customElements.define('luumicore-list', LuumicoreList);
0 29
new file mode 100644
... ...
@@ -0,0 +1,27 @@
1
+import { LitElement, html, css } from 'lit';
2
+import '../css/main.css';
3
+
4
+// Import components
5
+import './components/card/luumicore-card.js';
6
+import './components/list/luumicore-list.js';
7
+import './components/list/luumicore-list-item.js';
8
+
9
+console.log('luumiCORE Core Bundle initialized');
10
+
11
+// Example component (kept for reference, can be removed if not needed)
12
+export class LuumicoreElement extends LitElement {
13
+  static styles = css`
14
+    :host {
15
+      display: block;
16
+      padding: 16px;
17
+      color: var(--luumicore-text-color, black);
18
+      border: 1px solid var(--luumicore-primary, blue);
19
+    }
20
+  `;
21
+
22
+  render() {
23
+    return html`<p>Hello from luumiCORE!</p>`;
24
+  }
25
+}
26
+
27
+customElements.define('luumicore-element', LuumicoreElement);
... ...
@@ -57,7 +57,8 @@
57 57
       "bin-links": false,
58 58
       "target-directory": "tools"
59 59
     },
60
-    "contao-manager-plugin": "luumicore\\CoreBundle\\ContaoManager\\Plugin"
60
+    "contao-manager-plugin": "luumicore\\CoreBundle\\ContaoManager\\Plugin",
61
+    "public-dir": "public"
61 62
   },
62 63
   "scripts": {
63 64
     "all": [
... ...
@@ -69,4 +70,4 @@
69 70
     "phpstan": "@php tools/phpstan/vendor/bin/phpstan analyze --ansi",
70 71
     "unit-tests": "@php vendor/bin/phpunit --colors=always"
71 72
   }
72
-}
73 73
\ No newline at end of file
74
+}
74 75
new file mode 100644
... ...
@@ -0,0 +1,997 @@
1
+{
2
+  "name": "luumicore-core-bundle",
3
+  "version": "1.0.0",
4
+  "lockfileVersion": 3,
5
+  "requires": true,
6
+  "packages": {
7
+    "": {
8
+      "name": "luumicore-core-bundle",
9
+      "version": "1.0.0",
10
+      "dependencies": {
11
+        "lit": "^3.1.0"
12
+      },
13
+      "devDependencies": {
14
+        "vite": "^5.0.0"
15
+      }
16
+    },
17
+    "node_modules/@esbuild/aix-ppc64": {
18
+      "version": "0.21.5",
19
+      "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
20
+      "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
21
+      "cpu": [
22
+        "ppc64"
23
+      ],
24
+      "dev": true,
25
+      "license": "MIT",
26
+      "optional": true,
27
+      "os": [
28
+        "aix"
29
+      ],
30
+      "engines": {
31
+        "node": ">=12"
32
+      }
33
+    },
34
+    "node_modules/@esbuild/android-arm": {
35
+      "version": "0.21.5",
36
+      "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
37
+      "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
38
+      "cpu": [
39
+        "arm"
40
+      ],
41
+      "dev": true,
42
+      "license": "MIT",
43
+      "optional": true,
44
+      "os": [
45
+        "android"
46
+      ],
47
+      "engines": {
48
+        "node": ">=12"
49
+      }
50
+    },
51
+    "node_modules/@esbuild/android-arm64": {
52
+      "version": "0.21.5",
53
+      "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
54
+      "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
55
+      "cpu": [
56
+        "arm64"
57
+      ],
58
+      "dev": true,
59
+      "license": "MIT",
60
+      "optional": true,
61
+      "os": [
62
+        "android"
63
+      ],
64
+      "engines": {
65
+        "node": ">=12"
66
+      }
67
+    },
68
+    "node_modules/@esbuild/android-x64": {
69
+      "version": "0.21.5",
70
+      "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
71
+      "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
72
+      "cpu": [
73
+        "x64"
74
+      ],
75
+      "dev": true,
76
+      "license": "MIT",
77
+      "optional": true,
78
+      "os": [
79
+        "android"
80
+      ],
81
+      "engines": {
82
+        "node": ">=12"
83
+      }
84
+    },
85
+    "node_modules/@esbuild/darwin-arm64": {
86
+      "version": "0.21.5",
87
+      "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
88
+      "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
89
+      "cpu": [
90
+        "arm64"
91
+      ],
92
+      "dev": true,
93
+      "license": "MIT",
94
+      "optional": true,
95
+      "os": [
96
+        "darwin"
97
+      ],
98
+      "engines": {
99
+        "node": ">=12"
100
+      }
101
+    },
102
+    "node_modules/@esbuild/darwin-x64": {
103
+      "version": "0.21.5",
104
+      "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
105
+      "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
106
+      "cpu": [
107
+        "x64"
108
+      ],
109
+      "dev": true,
110
+      "license": "MIT",
111
+      "optional": true,
112
+      "os": [
113
+        "darwin"
114
+      ],
115
+      "engines": {
116
+        "node": ">=12"
117
+      }
118
+    },
119
+    "node_modules/@esbuild/freebsd-arm64": {
120
+      "version": "0.21.5",
121
+      "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
122
+      "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
123
+      "cpu": [
124
+        "arm64"
125
+      ],
126
+      "dev": true,
127
+      "license": "MIT",
128
+      "optional": true,
129
+      "os": [
130
+        "freebsd"
131
+      ],
132
+      "engines": {
133
+        "node": ">=12"
134
+      }
135
+    },
136
+    "node_modules/@esbuild/freebsd-x64": {
137
+      "version": "0.21.5",
138
+      "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
139
+      "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
140
+      "cpu": [
141
+        "x64"
142
+      ],
143
+      "dev": true,
144
+      "license": "MIT",
145
+      "optional": true,
146
+      "os": [
147
+        "freebsd"
148
+      ],
149
+      "engines": {
150
+        "node": ">=12"
151
+      }
152
+    },
153
+    "node_modules/@esbuild/linux-arm": {
154
+      "version": "0.21.5",
155
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
156
+      "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
157
+      "cpu": [
158
+        "arm"
159
+      ],
160
+      "dev": true,
161
+      "license": "MIT",
162
+      "optional": true,
163
+      "os": [
164
+        "linux"
165
+      ],
166
+      "engines": {
167
+        "node": ">=12"
168
+      }
169
+    },
170
+    "node_modules/@esbuild/linux-arm64": {
171
+      "version": "0.21.5",
172
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
173
+      "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
174
+      "cpu": [
175
+        "arm64"
176
+      ],
177
+      "dev": true,
178
+      "license": "MIT",
179
+      "optional": true,
180
+      "os": [
181
+        "linux"
182
+      ],
183
+      "engines": {
184
+        "node": ">=12"
185
+      }
186
+    },
187
+    "node_modules/@esbuild/linux-ia32": {
188
+      "version": "0.21.5",
189
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
190
+      "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
191
+      "cpu": [
192
+        "ia32"
193
+      ],
194
+      "dev": true,
195
+      "license": "MIT",
196
+      "optional": true,
197
+      "os": [
198
+        "linux"
199
+      ],
200
+      "engines": {
201
+        "node": ">=12"
202
+      }
203
+    },
204
+    "node_modules/@esbuild/linux-loong64": {
205
+      "version": "0.21.5",
206
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
207
+      "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
208
+      "cpu": [
209
+        "loong64"
210
+      ],
211
+      "dev": true,
212
+      "license": "MIT",
213
+      "optional": true,
214
+      "os": [
215
+        "linux"
216
+      ],
217
+      "engines": {
218
+        "node": ">=12"
219
+      }
220
+    },
221
+    "node_modules/@esbuild/linux-mips64el": {
222
+      "version": "0.21.5",
223
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
224
+      "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
225
+      "cpu": [
226
+        "mips64el"
227
+      ],
228
+      "dev": true,
229
+      "license": "MIT",
230
+      "optional": true,
231
+      "os": [
232
+        "linux"
233
+      ],
234
+      "engines": {
235
+        "node": ">=12"
236
+      }
237
+    },
238
+    "node_modules/@esbuild/linux-ppc64": {
239
+      "version": "0.21.5",
240
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
241
+      "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
242
+      "cpu": [
243
+        "ppc64"
244
+      ],
245
+      "dev": true,
246
+      "license": "MIT",
247
+      "optional": true,
248
+      "os": [
249
+        "linux"
250
+      ],
251
+      "engines": {
252
+        "node": ">=12"
253
+      }
254
+    },
255
+    "node_modules/@esbuild/linux-riscv64": {
256
+      "version": "0.21.5",
257
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
258
+      "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
259
+      "cpu": [
260
+        "riscv64"
261
+      ],
262
+      "dev": true,
263
+      "license": "MIT",
264
+      "optional": true,
265
+      "os": [
266
+        "linux"
267
+      ],
268
+      "engines": {
269
+        "node": ">=12"
270
+      }
271
+    },
272
+    "node_modules/@esbuild/linux-s390x": {
273
+      "version": "0.21.5",
274
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
275
+      "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
276
+      "cpu": [
277
+        "s390x"
278
+      ],
279
+      "dev": true,
280
+      "license": "MIT",
281
+      "optional": true,
282
+      "os": [
283
+        "linux"
284
+      ],
285
+      "engines": {
286
+        "node": ">=12"
287
+      }
288
+    },
289
+    "node_modules/@esbuild/linux-x64": {
290
+      "version": "0.21.5",
291
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
292
+      "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
293
+      "cpu": [
294
+        "x64"
295
+      ],
296
+      "dev": true,
297
+      "license": "MIT",
298
+      "optional": true,
299
+      "os": [
300
+        "linux"
301
+      ],
302
+      "engines": {
303
+        "node": ">=12"
304
+      }
305
+    },
306
+    "node_modules/@esbuild/netbsd-x64": {
307
+      "version": "0.21.5",
308
+      "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
309
+      "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
310
+      "cpu": [
311
+        "x64"
312
+      ],
313
+      "dev": true,
314
+      "license": "MIT",
315
+      "optional": true,
316
+      "os": [
317
+        "netbsd"
318
+      ],
319
+      "engines": {
320
+        "node": ">=12"
321
+      }
322
+    },
323
+    "node_modules/@esbuild/openbsd-x64": {
324
+      "version": "0.21.5",
325
+      "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
326
+      "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
327
+      "cpu": [
328
+        "x64"
329
+      ],
330
+      "dev": true,
331
+      "license": "MIT",
332
+      "optional": true,
333
+      "os": [
334
+        "openbsd"
335
+      ],
336
+      "engines": {
337
+        "node": ">=12"
338
+      }
339
+    },
340
+    "node_modules/@esbuild/sunos-x64": {
341
+      "version": "0.21.5",
342
+      "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
343
+      "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
344
+      "cpu": [
345
+        "x64"
346
+      ],
347
+      "dev": true,
348
+      "license": "MIT",
349
+      "optional": true,
350
+      "os": [
351
+        "sunos"
352
+      ],
353
+      "engines": {
354
+        "node": ">=12"
355
+      }
356
+    },
357
+    "node_modules/@esbuild/win32-arm64": {
358
+      "version": "0.21.5",
359
+      "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
360
+      "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
361
+      "cpu": [
362
+        "arm64"
363
+      ],
364
+      "dev": true,
365
+      "license": "MIT",
366
+      "optional": true,
367
+      "os": [
368
+        "win32"
369
+      ],
370
+      "engines": {
371
+        "node": ">=12"
372
+      }
373
+    },
374
+    "node_modules/@esbuild/win32-ia32": {
375
+      "version": "0.21.5",
376
+      "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
377
+      "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
378
+      "cpu": [
379
+        "ia32"
380
+      ],
381
+      "dev": true,
382
+      "license": "MIT",
383
+      "optional": true,
384
+      "os": [
385
+        "win32"
386
+      ],
387
+      "engines": {
388
+        "node": ">=12"
389
+      }
390
+    },
391
+    "node_modules/@esbuild/win32-x64": {
392
+      "version": "0.21.5",
393
+      "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
394
+      "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
395
+      "cpu": [
396
+        "x64"
397
+      ],
398
+      "dev": true,
399
+      "license": "MIT",
400
+      "optional": true,
401
+      "os": [
402
+        "win32"
403
+      ],
404
+      "engines": {
405
+        "node": ">=12"
406
+      }
407
+    },
408
+    "node_modules/@lit-labs/ssr-dom-shim": {
409
+      "version": "1.5.0",
410
+      "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.5.0.tgz",
411
+      "integrity": "sha512-HLomZXMmrCFHSRKESF5vklAKsDY7/fsT/ZhqCu3V0UoW/Qbv8wxmO4W9bx4KnCCF2Zak4yuk+AGraK/bPmI4kA==",
412
+      "license": "BSD-3-Clause"
413
+    },
414
+    "node_modules/@lit/reactive-element": {
415
+      "version": "2.1.2",
416
+      "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.1.2.tgz",
417
+      "integrity": "sha512-pbCDiVMnne1lYUIaYNN5wrwQXDtHaYtg7YEFPeW+hws6U47WeFvISGUWekPGKWOP1ygrs0ef0o1VJMk1exos5A==",
418
+      "license": "BSD-3-Clause",
419
+      "dependencies": {
420
+        "@lit-labs/ssr-dom-shim": "^1.5.0"
421
+      }
422
+    },
423
+    "node_modules/@rollup/rollup-android-arm-eabi": {
424
+      "version": "4.54.0",
425
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.54.0.tgz",
426
+      "integrity": "sha512-OywsdRHrFvCdvsewAInDKCNyR3laPA2mc9bRYJ6LBp5IyvF3fvXbbNR0bSzHlZVFtn6E0xw2oZlyjg4rKCVcng==",
427
+      "cpu": [
428
+        "arm"
429
+      ],
430
+      "dev": true,
431
+      "license": "MIT",
432
+      "optional": true,
433
+      "os": [
434
+        "android"
435
+      ]
436
+    },
437
+    "node_modules/@rollup/rollup-android-arm64": {
438
+      "version": "4.54.0",
439
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.54.0.tgz",
440
+      "integrity": "sha512-Skx39Uv+u7H224Af+bDgNinitlmHyQX1K/atIA32JP3JQw6hVODX5tkbi2zof/E69M1qH2UoN3Xdxgs90mmNYw==",
441
+      "cpu": [
442
+        "arm64"
443
+      ],
444
+      "dev": true,
445
+      "license": "MIT",
446
+      "optional": true,
447
+      "os": [
448
+        "android"
449
+      ]
450
+    },
451
+    "node_modules/@rollup/rollup-darwin-arm64": {
452
+      "version": "4.54.0",
453
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.54.0.tgz",
454
+      "integrity": "sha512-k43D4qta/+6Fq+nCDhhv9yP2HdeKeP56QrUUTW7E6PhZP1US6NDqpJj4MY0jBHlJivVJD5P8NxrjuobZBJTCRw==",
455
+      "cpu": [
456
+        "arm64"
457
+      ],
458
+      "dev": true,
459
+      "license": "MIT",
460
+      "optional": true,
461
+      "os": [
462
+        "darwin"
463
+      ]
464
+    },
465
+    "node_modules/@rollup/rollup-darwin-x64": {
466
+      "version": "4.54.0",
467
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.54.0.tgz",
468
+      "integrity": "sha512-cOo7biqwkpawslEfox5Vs8/qj83M/aZCSSNIWpVzfU2CYHa2G3P1UN5WF01RdTHSgCkri7XOlTdtk17BezlV3A==",
469
+      "cpu": [
470
+        "x64"
471
+      ],
472
+      "dev": true,
473
+      "license": "MIT",
474
+      "optional": true,
475
+      "os": [
476
+        "darwin"
477
+      ]
478
+    },
479
+    "node_modules/@rollup/rollup-freebsd-arm64": {
480
+      "version": "4.54.0",
481
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.54.0.tgz",
482
+      "integrity": "sha512-miSvuFkmvFbgJ1BevMa4CPCFt5MPGw094knM64W9I0giUIMMmRYcGW/JWZDriaw/k1kOBtsWh1z6nIFV1vPNtA==",
483
+      "cpu": [
484
+        "arm64"
485
+      ],
486
+      "dev": true,
487
+      "license": "MIT",
488
+      "optional": true,
489
+      "os": [
490
+        "freebsd"
491
+      ]
492
+    },
493
+    "node_modules/@rollup/rollup-freebsd-x64": {
494
+      "version": "4.54.0",
495
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.54.0.tgz",
496
+      "integrity": "sha512-KGXIs55+b/ZfZsq9aR026tmr/+7tq6VG6MsnrvF4H8VhwflTIuYh+LFUlIsRdQSgrgmtM3fVATzEAj4hBQlaqQ==",
497
+      "cpu": [
498
+        "x64"
499
+      ],
500
+      "dev": true,
501
+      "license": "MIT",
502
+      "optional": true,
503
+      "os": [
504
+        "freebsd"
505
+      ]
506
+    },
507
+    "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
508
+      "version": "4.54.0",
509
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.54.0.tgz",
510
+      "integrity": "sha512-EHMUcDwhtdRGlXZsGSIuXSYwD5kOT9NVnx9sqzYiwAc91wfYOE1g1djOEDseZJKKqtHAHGwnGPQu3kytmfaXLQ==",
511
+      "cpu": [
512
+        "arm"
513
+      ],
514
+      "dev": true,
515
+      "license": "MIT",
516
+      "optional": true,
517
+      "os": [
518
+        "linux"
519
+      ]
520
+    },
521
+    "node_modules/@rollup/rollup-linux-arm-musleabihf": {
522
+      "version": "4.54.0",
523
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.54.0.tgz",
524
+      "integrity": "sha512-+pBrqEjaakN2ySv5RVrj/qLytYhPKEUwk+e3SFU5jTLHIcAtqh2rLrd/OkbNuHJpsBgxsD8ccJt5ga/SeG0JmA==",
525
+      "cpu": [
526
+        "arm"
527
+      ],
528
+      "dev": true,
529
+      "license": "MIT",
530
+      "optional": true,
531
+      "os": [
532
+        "linux"
533
+      ]
534
+    },
535
+    "node_modules/@rollup/rollup-linux-arm64-gnu": {
536
+      "version": "4.54.0",
537
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.54.0.tgz",
538
+      "integrity": "sha512-NSqc7rE9wuUaRBsBp5ckQ5CVz5aIRKCwsoa6WMF7G01sX3/qHUw/z4pv+D+ahL1EIKy6Enpcnz1RY8pf7bjwng==",
539
+      "cpu": [
540
+        "arm64"
541
+      ],
542
+      "dev": true,
543
+      "license": "MIT",
544
+      "optional": true,
545
+      "os": [
546
+        "linux"
547
+      ]
548
+    },
549
+    "node_modules/@rollup/rollup-linux-arm64-musl": {
550
+      "version": "4.54.0",
551
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.54.0.tgz",
552
+      "integrity": "sha512-gr5vDbg3Bakga5kbdpqx81m2n9IX8M6gIMlQQIXiLTNeQW6CucvuInJ91EuCJ/JYvc+rcLLsDFcfAD1K7fMofg==",
553
+      "cpu": [
554
+        "arm64"
555
+      ],
556
+      "dev": true,
557
+      "license": "MIT",
558
+      "optional": true,
559
+      "os": [
560
+        "linux"
561
+      ]
562
+    },
563
+    "node_modules/@rollup/rollup-linux-loong64-gnu": {
564
+      "version": "4.54.0",
565
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.54.0.tgz",
566
+      "integrity": "sha512-gsrtB1NA3ZYj2vq0Rzkylo9ylCtW/PhpLEivlgWe0bpgtX5+9j9EZa0wtZiCjgu6zmSeZWyI/e2YRX1URozpIw==",
567
+      "cpu": [
568
+        "loong64"
569
+      ],
570
+      "dev": true,
571
+      "license": "MIT",
572
+      "optional": true,
573
+      "os": [
574
+        "linux"
575
+      ]
576
+    },
577
+    "node_modules/@rollup/rollup-linux-ppc64-gnu": {
578
+      "version": "4.54.0",
579
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.54.0.tgz",
580
+      "integrity": "sha512-y3qNOfTBStmFNq+t4s7Tmc9hW2ENtPg8FeUD/VShI7rKxNW7O4fFeaYbMsd3tpFlIg1Q8IapFgy7Q9i2BqeBvA==",
581
+      "cpu": [
582
+        "ppc64"
583
+      ],
584
+      "dev": true,
585
+      "license": "MIT",
586
+      "optional": true,
587
+      "os": [
588
+        "linux"
589
+      ]
590
+    },
591
+    "node_modules/@rollup/rollup-linux-riscv64-gnu": {
592
+      "version": "4.54.0",
593
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.54.0.tgz",
594
+      "integrity": "sha512-89sepv7h2lIVPsFma8iwmccN7Yjjtgz0Rj/Ou6fEqg3HDhpCa+Et+YSufy27i6b0Wav69Qv4WBNl3Rs6pwhebQ==",
595
+      "cpu": [
596
+        "riscv64"
597
+      ],
598
+      "dev": true,
599
+      "license": "MIT",
600
+      "optional": true,
601
+      "os": [
602
+        "linux"
603
+      ]
604
+    },
605
+    "node_modules/@rollup/rollup-linux-riscv64-musl": {
606
+      "version": "4.54.0",
607
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.54.0.tgz",
608
+      "integrity": "sha512-ZcU77ieh0M2Q8Ur7D5X7KvK+UxbXeDHwiOt/CPSBTI1fBmeDMivW0dPkdqkT4rOgDjrDDBUed9x4EgraIKoR2A==",
609
+      "cpu": [
610
+        "riscv64"
611
+      ],
612
+      "dev": true,
613
+      "license": "MIT",
614
+      "optional": true,
615
+      "os": [
616
+        "linux"
617
+      ]
618
+    },
619
+    "node_modules/@rollup/rollup-linux-s390x-gnu": {
620
+      "version": "4.54.0",
621
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.54.0.tgz",
622
+      "integrity": "sha512-2AdWy5RdDF5+4YfG/YesGDDtbyJlC9LHmL6rZw6FurBJ5n4vFGupsOBGfwMRjBYH7qRQowT8D/U4LoSvVwOhSQ==",
623
+      "cpu": [
624
+        "s390x"
625
+      ],
626
+      "dev": true,
627
+      "license": "MIT",
628
+      "optional": true,
629
+      "os": [
630
+        "linux"
631
+      ]
632
+    },
633
+    "node_modules/@rollup/rollup-linux-x64-gnu": {
634
+      "version": "4.54.0",
635
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.54.0.tgz",
636
+      "integrity": "sha512-WGt5J8Ij/rvyqpFexxk3ffKqqbLf9AqrTBbWDk7ApGUzaIs6V+s2s84kAxklFwmMF/vBNGrVdYgbblCOFFezMQ==",
637
+      "cpu": [
638
+        "x64"
639
+      ],
640
+      "dev": true,
641
+      "license": "MIT",
642
+      "optional": true,
643
+      "os": [
644
+        "linux"
645
+      ]
646
+    },
647
+    "node_modules/@rollup/rollup-linux-x64-musl": {
648
+      "version": "4.54.0",
649
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.54.0.tgz",
650
+      "integrity": "sha512-JzQmb38ATzHjxlPHuTH6tE7ojnMKM2kYNzt44LO/jJi8BpceEC8QuXYA908n8r3CNuG/B3BV8VR3Hi1rYtmPiw==",
651
+      "cpu": [
652
+        "x64"
653
+      ],
654
+      "dev": true,
655
+      "license": "MIT",
656
+      "optional": true,
657
+      "os": [
658
+        "linux"
659
+      ]
660
+    },
661
+    "node_modules/@rollup/rollup-openharmony-arm64": {
662
+      "version": "4.54.0",
663
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.54.0.tgz",
664
+      "integrity": "sha512-huT3fd0iC7jigGh7n3q/+lfPcXxBi+om/Rs3yiFxjvSxbSB6aohDFXbWvlspaqjeOh+hx7DDHS+5Es5qRkWkZg==",
665
+      "cpu": [
666
+        "arm64"
667
+      ],
668
+      "dev": true,
669
+      "license": "MIT",
670
+      "optional": true,
671
+      "os": [
672
+        "openharmony"
673
+      ]
674
+    },
675
+    "node_modules/@rollup/rollup-win32-arm64-msvc": {
676
+      "version": "4.54.0",
677
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.54.0.tgz",
678
+      "integrity": "sha512-c2V0W1bsKIKfbLMBu/WGBz6Yci8nJ/ZJdheE0EwB73N3MvHYKiKGs3mVilX4Gs70eGeDaMqEob25Tw2Gb9Nqyw==",
679
+      "cpu": [
680
+        "arm64"
681
+      ],
682
+      "dev": true,
683
+      "license": "MIT",
684
+      "optional": true,
685
+      "os": [
686
+        "win32"
687
+      ]
688
+    },
689
+    "node_modules/@rollup/rollup-win32-ia32-msvc": {
690
+      "version": "4.54.0",
691
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.54.0.tgz",
692
+      "integrity": "sha512-woEHgqQqDCkAzrDhvDipnSirm5vxUXtSKDYTVpZG3nUdW/VVB5VdCYA2iReSj/u3yCZzXID4kuKG7OynPnB3WQ==",
693
+      "cpu": [
694
+        "ia32"
695
+      ],
696
+      "dev": true,
697
+      "license": "MIT",
698
+      "optional": true,
699
+      "os": [
700
+        "win32"
701
+      ]
702
+    },
703
+    "node_modules/@rollup/rollup-win32-x64-gnu": {
704
+      "version": "4.54.0",
705
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.54.0.tgz",
706
+      "integrity": "sha512-dzAc53LOuFvHwbCEOS0rPbXp6SIhAf2txMP5p6mGyOXXw5mWY8NGGbPMPrs4P1WItkfApDathBj/NzMLUZ9rtQ==",
707
+      "cpu": [
708
+        "x64"
709
+      ],
710
+      "dev": true,
711
+      "license": "MIT",
712
+      "optional": true,
713
+      "os": [
714
+        "win32"
715
+      ]
716
+    },
717
+    "node_modules/@rollup/rollup-win32-x64-msvc": {
718
+      "version": "4.54.0",
719
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.54.0.tgz",
720
+      "integrity": "sha512-hYT5d3YNdSh3mbCU1gwQyPgQd3T2ne0A3KG8KSBdav5TiBg6eInVmV+TeR5uHufiIgSFg0XsOWGW5/RhNcSvPg==",
721
+      "cpu": [
722
+        "x64"
723
+      ],
724
+      "dev": true,
725
+      "license": "MIT",
726
+      "optional": true,
727
+      "os": [
728
+        "win32"
729
+      ]
730
+    },
731
+    "node_modules/@types/estree": {
732
+      "version": "1.0.8",
733
+      "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
734
+      "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
735
+      "dev": true,
736
+      "license": "MIT"
737
+    },
738
+    "node_modules/@types/trusted-types": {
739
+      "version": "2.0.7",
740
+      "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
741
+      "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
742
+      "license": "MIT"
743
+    },
744
+    "node_modules/esbuild": {
745
+      "version": "0.21.5",
746
+      "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
747
+      "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
748
+      "dev": true,
749
+      "hasInstallScript": true,
750
+      "license": "MIT",
751
+      "bin": {
752
+        "esbuild": "bin/esbuild"
753
+      },
754
+      "engines": {
755
+        "node": ">=12"
756
+      },
757
+      "optionalDependencies": {
758
+        "@esbuild/aix-ppc64": "0.21.5",
759
+        "@esbuild/android-arm": "0.21.5",
760
+        "@esbuild/android-arm64": "0.21.5",
761
+        "@esbuild/android-x64": "0.21.5",
762
+        "@esbuild/darwin-arm64": "0.21.5",
763
+        "@esbuild/darwin-x64": "0.21.5",
764
+        "@esbuild/freebsd-arm64": "0.21.5",
765
+        "@esbuild/freebsd-x64": "0.21.5",
766
+        "@esbuild/linux-arm": "0.21.5",
767
+        "@esbuild/linux-arm64": "0.21.5",
768
+        "@esbuild/linux-ia32": "0.21.5",
769
+        "@esbuild/linux-loong64": "0.21.5",
770
+        "@esbuild/linux-mips64el": "0.21.5",
771
+        "@esbuild/linux-ppc64": "0.21.5",
772
+        "@esbuild/linux-riscv64": "0.21.5",
773
+        "@esbuild/linux-s390x": "0.21.5",
774
+        "@esbuild/linux-x64": "0.21.5",
775
+        "@esbuild/netbsd-x64": "0.21.5",
776
+        "@esbuild/openbsd-x64": "0.21.5",
777
+        "@esbuild/sunos-x64": "0.21.5",
778
+        "@esbuild/win32-arm64": "0.21.5",
779
+        "@esbuild/win32-ia32": "0.21.5",
780
+        "@esbuild/win32-x64": "0.21.5"
781
+      }
782
+    },
783
+    "node_modules/fsevents": {
784
+      "version": "2.3.3",
785
+      "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
786
+      "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
787
+      "dev": true,
788
+      "hasInstallScript": true,
789
+      "license": "MIT",
790
+      "optional": true,
791
+      "os": [
792
+        "darwin"
793
+      ],
794
+      "engines": {
795
+        "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
796
+      }
797
+    },
798
+    "node_modules/lit": {
799
+      "version": "3.3.2",
800
+      "resolved": "https://registry.npmjs.org/lit/-/lit-3.3.2.tgz",
801
+      "integrity": "sha512-NF9zbsP79l4ao2SNrH3NkfmFgN/hBYSQo90saIVI1o5GpjAdCPVstVzO1MrLOakHoEhYkrtRjPK6Ob521aoYWQ==",
802
+      "license": "BSD-3-Clause",
803
+      "dependencies": {
804
+        "@lit/reactive-element": "^2.1.0",
805
+        "lit-element": "^4.2.0",
806
+        "lit-html": "^3.3.0"
807
+      }
808
+    },
809
+    "node_modules/lit-element": {
810
+      "version": "4.2.2",
811
+      "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.2.2.tgz",
812
+      "integrity": "sha512-aFKhNToWxoyhkNDmWZwEva2SlQia+jfG0fjIWV//YeTaWrVnOxD89dPKfigCUspXFmjzOEUQpOkejH5Ly6sG0w==",
813
+      "license": "BSD-3-Clause",
814
+      "dependencies": {
815
+        "@lit-labs/ssr-dom-shim": "^1.5.0",
816
+        "@lit/reactive-element": "^2.1.0",
817
+        "lit-html": "^3.3.0"
818
+      }
819
+    },
820
+    "node_modules/lit-html": {
821
+      "version": "3.3.2",
822
+      "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.3.2.tgz",
823
+      "integrity": "sha512-Qy9hU88zcmaxBXcc10ZpdK7cOLXvXpRoBxERdtqV9QOrfpMZZ6pSYP91LhpPtap3sFMUiL7Tw2RImbe0Al2/kw==",
824
+      "license": "BSD-3-Clause",
825
+      "dependencies": {
826
+        "@types/trusted-types": "^2.0.2"
827
+      }
828
+    },
829
+    "node_modules/nanoid": {
830
+      "version": "3.3.11",
831
+      "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
832
+      "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
833
+      "dev": true,
834
+      "funding": [
835
+        {
836
+          "type": "github",
837
+          "url": "https://github.com/sponsors/ai"
838
+        }
839
+      ],
840
+      "license": "MIT",
841
+      "bin": {
842
+        "nanoid": "bin/nanoid.cjs"
843
+      },
844
+      "engines": {
845
+        "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
846
+      }
847
+    },
848
+    "node_modules/picocolors": {
849
+      "version": "1.1.1",
850
+      "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
851
+      "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
852
+      "dev": true,
853
+      "license": "ISC"
854
+    },
855
+    "node_modules/postcss": {
856
+      "version": "8.5.6",
857
+      "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
858
+      "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
859
+      "dev": true,
860
+      "funding": [
861
+        {
862
+          "type": "opencollective",
863
+          "url": "https://opencollective.com/postcss/"
864
+        },
865
+        {
866
+          "type": "tidelift",
867
+          "url": "https://tidelift.com/funding/github/npm/postcss"
868
+        },
869
+        {
870
+          "type": "github",
871
+          "url": "https://github.com/sponsors/ai"
872
+        }
873
+      ],
874
+      "license": "MIT",
875
+      "dependencies": {
876
+        "nanoid": "^3.3.11",
877
+        "picocolors": "^1.1.1",
878
+        "source-map-js": "^1.2.1"
879
+      },
880
+      "engines": {
881
+        "node": "^10 || ^12 || >=14"
882
+      }
883
+    },
884
+    "node_modules/rollup": {
885
+      "version": "4.54.0",
886
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.54.0.tgz",
887
+      "integrity": "sha512-3nk8Y3a9Ea8szgKhinMlGMhGMw89mqule3KWczxhIzqudyHdCIOHw8WJlj/r329fACjKLEh13ZSk7oE22kyeIw==",
888
+      "dev": true,
889
+      "license": "MIT",
890
+      "dependencies": {
891
+        "@types/estree": "1.0.8"
892
+      },
893
+      "bin": {
894
+        "rollup": "dist/bin/rollup"
895
+      },
896
+      "engines": {
897
+        "node": ">=18.0.0",
898
+        "npm": ">=8.0.0"
899
+      },
900
+      "optionalDependencies": {
901
+        "@rollup/rollup-android-arm-eabi": "4.54.0",
902
+        "@rollup/rollup-android-arm64": "4.54.0",
903
+        "@rollup/rollup-darwin-arm64": "4.54.0",
904
+        "@rollup/rollup-darwin-x64": "4.54.0",
905
+        "@rollup/rollup-freebsd-arm64": "4.54.0",
906
+        "@rollup/rollup-freebsd-x64": "4.54.0",
907
+        "@rollup/rollup-linux-arm-gnueabihf": "4.54.0",
908
+        "@rollup/rollup-linux-arm-musleabihf": "4.54.0",
909
+        "@rollup/rollup-linux-arm64-gnu": "4.54.0",
910
+        "@rollup/rollup-linux-arm64-musl": "4.54.0",
911
+        "@rollup/rollup-linux-loong64-gnu": "4.54.0",
912
+        "@rollup/rollup-linux-ppc64-gnu": "4.54.0",
913
+        "@rollup/rollup-linux-riscv64-gnu": "4.54.0",
914
+        "@rollup/rollup-linux-riscv64-musl": "4.54.0",
915
+        "@rollup/rollup-linux-s390x-gnu": "4.54.0",
916
+        "@rollup/rollup-linux-x64-gnu": "4.54.0",
917
+        "@rollup/rollup-linux-x64-musl": "4.54.0",
918
+        "@rollup/rollup-openharmony-arm64": "4.54.0",
919
+        "@rollup/rollup-win32-arm64-msvc": "4.54.0",
920
+        "@rollup/rollup-win32-ia32-msvc": "4.54.0",
921
+        "@rollup/rollup-win32-x64-gnu": "4.54.0",
922
+        "@rollup/rollup-win32-x64-msvc": "4.54.0",
923
+        "fsevents": "~2.3.2"
924
+      }
925
+    },
926
+    "node_modules/source-map-js": {
927
+      "version": "1.2.1",
928
+      "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
929
+      "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
930
+      "dev": true,
931
+      "license": "BSD-3-Clause",
932
+      "engines": {
933
+        "node": ">=0.10.0"
934
+      }
935
+    },
936
+    "node_modules/vite": {
937
+      "version": "5.4.21",
938
+      "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
939
+      "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
940
+      "dev": true,
941
+      "license": "MIT",
942
+      "dependencies": {
943
+        "esbuild": "^0.21.3",
944
+        "postcss": "^8.4.43",
945
+        "rollup": "^4.20.0"
946
+      },
947
+      "bin": {
948
+        "vite": "bin/vite.js"
949
+      },
950
+      "engines": {
951
+        "node": "^18.0.0 || >=20.0.0"
952
+      },
953
+      "funding": {
954
+        "url": "https://github.com/vitejs/vite?sponsor=1"
955
+      },
956
+      "optionalDependencies": {
957
+        "fsevents": "~2.3.3"
958
+      },
959
+      "peerDependencies": {
960
+        "@types/node": "^18.0.0 || >=20.0.0",
961
+        "less": "*",
962
+        "lightningcss": "^1.21.0",
963
+        "sass": "*",
964
+        "sass-embedded": "*",
965
+        "stylus": "*",
966
+        "sugarss": "*",
967
+        "terser": "^5.4.0"
968
+      },
969
+      "peerDependenciesMeta": {
970
+        "@types/node": {
971
+          "optional": true
972
+        },
973
+        "less": {
974
+          "optional": true
975
+        },
976
+        "lightningcss": {
977
+          "optional": true
978
+        },
979
+        "sass": {
980
+          "optional": true
981
+        },
982
+        "sass-embedded": {
983
+          "optional": true
984
+        },
985
+        "stylus": {
986
+          "optional": true
987
+        },
988
+        "sugarss": {
989
+          "optional": true
990
+        },
991
+        "terser": {
992
+          "optional": true
993
+        }
994
+      }
995
+    }
996
+  }
997
+}
0 998
new file mode 100644
... ...
@@ -0,0 +1,16 @@
1
+{
2
+  "name": "luumicore-core-bundle",
3
+  "version": "1.0.0",
4
+  "private": true,
5
+  "type": "module",
6
+  "scripts": {
7
+    "dev": "vite",
8
+    "build": "vite build"
9
+  },
10
+  "dependencies": {
11
+    "lit": "^3.1.0"
12
+  },
13
+  "devDependencies": {
14
+    "vite": "^5.0.0"
15
+  }
16
+}
0 17
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+:root{--luumicore-primary: #007bff;--luumicore-text-color: #333}
0 2
new file mode 100644
... ...
@@ -0,0 +1,703 @@
1
+var ft = Object.defineProperty;
2
+var mt = (r, t, e) => t in r ? ft(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
3
+var b = (r, t, e) => mt(r, typeof t != "symbol" ? t + "" : t, e);
4
+/**
5
+ * @license
6
+ * Copyright 2019 Google LLC
7
+ * SPDX-License-Identifier: BSD-3-Clause
8
+ */
9
+const T = globalThis, q = T.ShadowRoot && (T.ShadyCSS === void 0 || T.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Z = Symbol(), K = /* @__PURE__ */ new WeakMap();
10
+let nt = class {
11
+  constructor(t, e, s) {
12
+    if (this._$cssResult$ = !0, s !== Z) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
13
+    this.cssText = t, this.t = e;
14
+  }
15
+  get styleSheet() {
16
+    let t = this.o;
17
+    const e = this.t;
18
+    if (q && t === void 0) {
19
+      const s = e !== void 0 && e.length === 1;
20
+      s && (t = K.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && K.set(e, t));
21
+    }
22
+    return t;
23
+  }
24
+  toString() {
25
+    return this.cssText;
26
+  }
27
+};
28
+const _t = (r) => new nt(typeof r == "string" ? r : r + "", void 0, Z), D = (r, ...t) => {
29
+  const e = r.length === 1 ? r[0] : t.reduce((s, i, n) => s + ((o) => {
30
+    if (o._$cssResult$ === !0) return o.cssText;
31
+    if (typeof o == "number") return o;
32
+    throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
+  })(i) + r[n + 1], r[0]);
34
+  return new nt(e, r, Z);
35
+}, gt = (r, t) => {
36
+  if (q) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
37
+  else for (const e of t) {
38
+    const s = document.createElement("style"), i = T.litNonce;
39
+    i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
40
+  }
41
+}, F = q ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
42
+  let e = "";
43
+  for (const s of t.cssRules) e += s.cssText;
44
+  return _t(e);
45
+})(r) : r;
46
+/**
47
+ * @license
48
+ * Copyright 2017 Google LLC
49
+ * SPDX-License-Identifier: BSD-3-Clause
50
+ */
51
+const { is: At, defineProperty: yt, getOwnPropertyDescriptor: vt, getOwnPropertyNames: bt, getOwnPropertySymbols: Et, getPrototypeOf: St } = Object, m = globalThis, G = m.trustedTypes, xt = G ? G.emptyScript : "", L = m.reactiveElementPolyfillSupport, C = (r, t) => r, V = { toAttribute(r, t) {
52
+  switch (t) {
53
+    case Boolean:
54
+      r = r ? xt : null;
55
+      break;
56
+    case Object:
57
+    case Array:
58
+      r = r == null ? r : JSON.stringify(r);
59
+  }
60
+  return r;
61
+}, fromAttribute(r, t) {
62
+  let e = r;
63
+  switch (t) {
64
+    case Boolean:
65
+      e = r !== null;
66
+      break;
67
+    case Number:
68
+      e = r === null ? null : Number(r);
69
+      break;
70
+    case Object:
71
+    case Array:
72
+      try {
73
+        e = JSON.parse(r);
74
+      } catch {
75
+        e = null;
76
+      }
77
+  }
78
+  return e;
79
+} }, at = (r, t) => !At(r, t), Q = { attribute: !0, type: String, converter: V, reflect: !1, useDefault: !1, hasChanged: at };
80
+Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), m.litPropertyMetadata ?? (m.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
81
+let E = class extends HTMLElement {
82
+  static addInitializer(t) {
83
+    this._$Ei(), (this.l ?? (this.l = [])).push(t);
84
+  }
85
+  static get observedAttributes() {
86
+    return this.finalize(), this._$Eh && [...this._$Eh.keys()];
87
+  }
88
+  static createProperty(t, e = Q) {
89
+    if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
90
+      const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
91
+      i !== void 0 && yt(this.prototype, t, i);
92
+    }
93
+  }
94
+  static getPropertyDescriptor(t, e, s) {
95
+    const { get: i, set: n } = vt(this.prototype, t) ?? { get() {
96
+      return this[e];
97
+    }, set(o) {
98
+      this[e] = o;
99
+    } };
100
+    return { get: i, set(o) {
101
+      const l = i == null ? void 0 : i.call(this);
102
+      n == null || n.call(this, o), this.requestUpdate(t, l, s);
103
+    }, configurable: !0, enumerable: !0 };
104
+  }
105
+  static getPropertyOptions(t) {
106
+    return this.elementProperties.get(t) ?? Q;
107
+  }
108
+  static _$Ei() {
109
+    if (this.hasOwnProperty(C("elementProperties"))) return;
110
+    const t = St(this);
111
+    t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
112
+  }
113
+  static finalize() {
114
+    if (this.hasOwnProperty(C("finalized"))) return;
115
+    if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(C("properties"))) {
116
+      const e = this.properties, s = [...bt(e), ...Et(e)];
117
+      for (const i of s) this.createProperty(i, e[i]);
118
+    }
119
+    const t = this[Symbol.metadata];
120
+    if (t !== null) {
121
+      const e = litPropertyMetadata.get(t);
122
+      if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
123
+    }
124
+    this._$Eh = /* @__PURE__ */ new Map();
125
+    for (const [e, s] of this.elementProperties) {
126
+      const i = this._$Eu(e, s);
127
+      i !== void 0 && this._$Eh.set(i, e);
128
+    }
129
+    this.elementStyles = this.finalizeStyles(this.styles);
130
+  }
131
+  static finalizeStyles(t) {
132
+    const e = [];
133
+    if (Array.isArray(t)) {
134
+      const s = new Set(t.flat(1 / 0).reverse());
135
+      for (const i of s) e.unshift(F(i));
136
+    } else t !== void 0 && e.push(F(t));
137
+    return e;
138
+  }
139
+  static _$Eu(t, e) {
140
+    const s = e.attribute;
141
+    return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
142
+  }
143
+  constructor() {
144
+    super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
145
+  }
146
+  _$Ev() {
147
+    var t;
148
+    this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
149
+  }
150
+  addController(t) {
151
+    var e;
152
+    (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
153
+  }
154
+  removeController(t) {
155
+    var e;
156
+    (e = this._$EO) == null || e.delete(t);
157
+  }
158
+  _$E_() {
159
+    const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
160
+    for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
161
+    t.size > 0 && (this._$Ep = t);
162
+  }
163
+  createRenderRoot() {
164
+    const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
165
+    return gt(t, this.constructor.elementStyles), t;
166
+  }
167
+  connectedCallback() {
168
+    var t;
169
+    this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
170
+      var s;
171
+      return (s = e.hostConnected) == null ? void 0 : s.call(e);
172
+    });
173
+  }
174
+  enableUpdating(t) {
175
+  }
176
+  disconnectedCallback() {
177
+    var t;
178
+    (t = this._$EO) == null || t.forEach((e) => {
179
+      var s;
180
+      return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
181
+    });
182
+  }
183
+  attributeChangedCallback(t, e, s) {
184
+    this._$AK(t, s);
185
+  }
186
+  _$ET(t, e) {
187
+    var n;
188
+    const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
189
+    if (i !== void 0 && s.reflect === !0) {
190
+      const o = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter : V).toAttribute(e, s.type);
191
+      this._$Em = t, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
192
+    }
193
+  }
194
+  _$AK(t, e) {
195
+    var n, o;
196
+    const s = this.constructor, i = s._$Eh.get(t);
197
+    if (i !== void 0 && this._$Em !== i) {
198
+      const l = s.getPropertyOptions(i), a = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((n = l.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? l.converter : V;
199
+      this._$Em = i;
200
+      const c = a.fromAttribute(e, l.type);
201
+      this[i] = c ?? ((o = this._$Ej) == null ? void 0 : o.get(i)) ?? c, this._$Em = null;
202
+    }
203
+  }
204
+  requestUpdate(t, e, s, i = !1, n) {
205
+    var o;
206
+    if (t !== void 0) {
207
+      const l = this.constructor;
208
+      if (i === !1 && (n = this[t]), s ?? (s = l.getPropertyOptions(t)), !((s.hasChanged ?? at)(n, e) || s.useDefault && s.reflect && n === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(l._$Eu(t, s)))) return;
209
+      this.C(t, e, s);
210
+    }
211
+    this.isUpdatePending === !1 && (this._$ES = this._$EP());
212
+  }
213
+  C(t, e, { useDefault: s, reflect: i, wrapped: n }, o) {
214
+    s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, o ?? e ?? this[t]), n !== !0 || o !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
215
+  }
216
+  async _$EP() {
217
+    this.isUpdatePending = !0;
218
+    try {
219
+      await this._$ES;
220
+    } catch (e) {
221
+      Promise.reject(e);
222
+    }
223
+    const t = this.scheduleUpdate();
224
+    return t != null && await t, !this.isUpdatePending;
225
+  }
226
+  scheduleUpdate() {
227
+    return this.performUpdate();
228
+  }
229
+  performUpdate() {
230
+    var s;
231
+    if (!this.isUpdatePending) return;
232
+    if (!this.hasUpdated) {
233
+      if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
234
+        for (const [n, o] of this._$Ep) this[n] = o;
235
+        this._$Ep = void 0;
236
+      }
237
+      const i = this.constructor.elementProperties;
238
+      if (i.size > 0) for (const [n, o] of i) {
239
+        const { wrapped: l } = o, a = this[n];
240
+        l !== !0 || this._$AL.has(n) || a === void 0 || this.C(n, void 0, o, a);
241
+      }
242
+    }
243
+    let t = !1;
244
+    const e = this._$AL;
245
+    try {
246
+      t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
247
+        var n;
248
+        return (n = i.hostUpdate) == null ? void 0 : n.call(i);
249
+      }), this.update(e)) : this._$EM();
250
+    } catch (i) {
251
+      throw t = !1, this._$EM(), i;
252
+    }
253
+    t && this._$AE(e);
254
+  }
255
+  willUpdate(t) {
256
+  }
257
+  _$AE(t) {
258
+    var e;
259
+    (e = this._$EO) == null || e.forEach((s) => {
260
+      var i;
261
+      return (i = s.hostUpdated) == null ? void 0 : i.call(s);
262
+    }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
263
+  }
264
+  _$EM() {
265
+    this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
266
+  }
267
+  get updateComplete() {
268
+    return this.getUpdateComplete();
269
+  }
270
+  getUpdateComplete() {
271
+    return this._$ES;
272
+  }
273
+  shouldUpdate(t) {
274
+    return !0;
275
+  }
276
+  update(t) {
277
+    this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
278
+  }
279
+  updated(t) {
280
+  }
281
+  firstUpdated(t) {
282
+  }
283
+};
284
+E.elementStyles = [], E.shadowRootOptions = { mode: "open" }, E[C("elementProperties")] = /* @__PURE__ */ new Map(), E[C("finalized")] = /* @__PURE__ */ new Map(), L == null || L({ ReactiveElement: E }), (m.reactiveElementVersions ?? (m.reactiveElementVersions = [])).push("2.1.2");
285
+/**
286
+ * @license
287
+ * Copyright 2017 Google LLC
288
+ * SPDX-License-Identifier: BSD-3-Clause
289
+ */
290
+const P = globalThis, X = (r) => r, k = P.trustedTypes, Y = k ? k.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, lt = "$lit$", f = `lit$${Math.random().toFixed(9).slice(2)}$`, ht = "?" + f, wt = `<${ht}>`, v = document, U = () => v.createComment(""), O = (r) => r === null || typeof r != "object" && typeof r != "function", J = Array.isArray, Ct = (r) => J(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", j = `[ 	
291
+\f\r]`, w = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, tt = /-->/g, et = />/g, g = RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ 	
292
+\f\r"'\`<>=]|("|')|))|$)`, "g"), st = /'/g, it = /"/g, ct = /^(?:script|style|textarea|title)$/i, Pt = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), H = Pt(1), S = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), rt = /* @__PURE__ */ new WeakMap(), A = v.createTreeWalker(v, 129);
293
+function dt(r, t) {
294
+  if (!J(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
295
+  return Y !== void 0 ? Y.createHTML(t) : t;
296
+}
297
+const Ut = (r, t) => {
298
+  const e = r.length - 1, s = [];
299
+  let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = w;
300
+  for (let l = 0; l < e; l++) {
301
+    const a = r[l];
302
+    let c, u, h = -1, p = 0;
303
+    for (; p < a.length && (o.lastIndex = p, u = o.exec(a), u !== null); ) p = o.lastIndex, o === w ? u[1] === "!--" ? o = tt : u[1] !== void 0 ? o = et : u[2] !== void 0 ? (ct.test(u[2]) && (i = RegExp("</" + u[2], "g")), o = g) : u[3] !== void 0 && (o = g) : o === g ? u[0] === ">" ? (o = i ?? w, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? g : u[3] === '"' ? it : st) : o === it || o === st ? o = g : o === tt || o === et ? o = w : (o = g, i = void 0);
304
+    const $ = o === g && r[l + 1].startsWith("/>") ? " " : "";
305
+    n += o === w ? a + wt : h >= 0 ? (s.push(c), a.slice(0, h) + lt + a.slice(h) + f + $) : a + f + (h === -2 ? l : $);
306
+  }
307
+  return [dt(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
308
+};
309
+class M {
310
+  constructor({ strings: t, _$litType$: e }, s) {
311
+    let i;
312
+    this.parts = [];
313
+    let n = 0, o = 0;
314
+    const l = t.length - 1, a = this.parts, [c, u] = Ut(t, e);
315
+    if (this.el = M.createElement(c, s), A.currentNode = this.el.content, e === 2 || e === 3) {
316
+      const h = this.el.content.firstChild;
317
+      h.replaceWith(...h.childNodes);
318
+    }
319
+    for (; (i = A.nextNode()) !== null && a.length < l; ) {
320
+      if (i.nodeType === 1) {
321
+        if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(lt)) {
322
+          const p = u[o++], $ = i.getAttribute(h).split(f), R = /([.?@])?(.*)/.exec(p);
323
+          a.push({ type: 1, index: n, name: R[2], strings: $, ctor: R[1] === "." ? Ht : R[1] === "?" ? Mt : R[1] === "@" ? Nt : z }), i.removeAttribute(h);
324
+        } else h.startsWith(f) && (a.push({ type: 6, index: n }), i.removeAttribute(h));
325
+        if (ct.test(i.tagName)) {
326
+          const h = i.textContent.split(f), p = h.length - 1;
327
+          if (p > 0) {
328
+            i.textContent = k ? k.emptyScript : "";
329
+            for (let $ = 0; $ < p; $++) i.append(h[$], U()), A.nextNode(), a.push({ type: 2, index: ++n });
330
+            i.append(h[p], U());
331
+          }
332
+        }
333
+      } else if (i.nodeType === 8) if (i.data === ht) a.push({ type: 2, index: n });
334
+      else {
335
+        let h = -1;
336
+        for (; (h = i.data.indexOf(f, h + 1)) !== -1; ) a.push({ type: 7, index: n }), h += f.length - 1;
337
+      }
338
+      n++;
339
+    }
340
+  }
341
+  static createElement(t, e) {
342
+    const s = v.createElement("template");
343
+    return s.innerHTML = t, s;
344
+  }
345
+}
346
+function x(r, t, e = r, s) {
347
+  var o, l;
348
+  if (t === S) return t;
349
+  let i = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
350
+  const n = O(t) ? void 0 : t._$litDirective$;
351
+  return (i == null ? void 0 : i.constructor) !== n && ((l = i == null ? void 0 : i._$AO) == null || l.call(i, !1), n === void 0 ? i = void 0 : (i = new n(r), i._$AT(r, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = x(r, i._$AS(r, t.values), i, s)), t;
352
+}
353
+class Ot {
354
+  constructor(t, e) {
355
+    this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
356
+  }
357
+  get parentNode() {
358
+    return this._$AM.parentNode;
359
+  }
360
+  get _$AU() {
361
+    return this._$AM._$AU;
362
+  }
363
+  u(t) {
364
+    const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? v).importNode(e, !0);
365
+    A.currentNode = i;
366
+    let n = A.nextNode(), o = 0, l = 0, a = s[0];
367
+    for (; a !== void 0; ) {
368
+      if (o === a.index) {
369
+        let c;
370
+        a.type === 2 ? c = new N(n, n.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (c = new Rt(n, this, t)), this._$AV.push(c), a = s[++l];
371
+      }
372
+      o !== (a == null ? void 0 : a.index) && (n = A.nextNode(), o++);
373
+    }
374
+    return A.currentNode = v, i;
375
+  }
376
+  p(t) {
377
+    let e = 0;
378
+    for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
379
+  }
380
+}
381
+class N {
382
+  get _$AU() {
383
+    var t;
384
+    return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
385
+  }
386
+  constructor(t, e, s, i) {
387
+    this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
388
+  }
389
+  get parentNode() {
390
+    let t = this._$AA.parentNode;
391
+    const e = this._$AM;
392
+    return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
393
+  }
394
+  get startNode() {
395
+    return this._$AA;
396
+  }
397
+  get endNode() {
398
+    return this._$AB;
399
+  }
400
+  _$AI(t, e = this) {
401
+    t = x(this, t, e), O(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== S && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ct(t) ? this.k(t) : this._(t);
402
+  }
403
+  O(t) {
404
+    return this._$AA.parentNode.insertBefore(t, this._$AB);
405
+  }
406
+  T(t) {
407
+    this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
408
+  }
409
+  _(t) {
410
+    this._$AH !== d && O(this._$AH) ? this._$AA.nextSibling.data = t : this.T(v.createTextNode(t)), this._$AH = t;
411
+  }
412
+  $(t) {
413
+    var n;
414
+    const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = M.createElement(dt(s.h, s.h[0]), this.options)), s);
415
+    if (((n = this._$AH) == null ? void 0 : n._$AD) === i) this._$AH.p(e);
416
+    else {
417
+      const o = new Ot(i, this), l = o.u(this.options);
418
+      o.p(e), this.T(l), this._$AH = o;
419
+    }
420
+  }
421
+  _$AC(t) {
422
+    let e = rt.get(t.strings);
423
+    return e === void 0 && rt.set(t.strings, e = new M(t)), e;
424
+  }
425
+  k(t) {
426
+    J(this._$AH) || (this._$AH = [], this._$AR());
427
+    const e = this._$AH;
428
+    let s, i = 0;
429
+    for (const n of t) i === e.length ? e.push(s = new N(this.O(U()), this.O(U()), this, this.options)) : s = e[i], s._$AI(n), i++;
430
+    i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
431
+  }
432
+  _$AR(t = this._$AA.nextSibling, e) {
433
+    var s;
434
+    for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t !== this._$AB; ) {
435
+      const i = X(t).nextSibling;
436
+      X(t).remove(), t = i;
437
+    }
438
+  }
439
+  setConnected(t) {
440
+    var e;
441
+    this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
442
+  }
443
+}
444
+class z {
445
+  get tagName() {
446
+    return this.element.tagName;
447
+  }
448
+  get _$AU() {
449
+    return this._$AM._$AU;
450
+  }
451
+  constructor(t, e, s, i, n) {
452
+    this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = n, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = d;
453
+  }
454
+  _$AI(t, e = this, s, i) {
455
+    const n = this.strings;
456
+    let o = !1;
457
+    if (n === void 0) t = x(this, t, e, 0), o = !O(t) || t !== this._$AH && t !== S, o && (this._$AH = t);
458
+    else {
459
+      const l = t;
460
+      let a, c;
461
+      for (t = n[0], a = 0; a < n.length - 1; a++) c = x(this, l[s + a], e, a), c === S && (c = this._$AH[a]), o || (o = !O(c) || c !== this._$AH[a]), c === d ? t = d : t !== d && (t += (c ?? "") + n[a + 1]), this._$AH[a] = c;
462
+    }
463
+    o && !i && this.j(t);
464
+  }
465
+  j(t) {
466
+    t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
467
+  }
468
+}
469
+class Ht extends z {
470
+  constructor() {
471
+    super(...arguments), this.type = 3;
472
+  }
473
+  j(t) {
474
+    this.element[this.name] = t === d ? void 0 : t;
475
+  }
476
+}
477
+class Mt extends z {
478
+  constructor() {
479
+    super(...arguments), this.type = 4;
480
+  }
481
+  j(t) {
482
+    this.element.toggleAttribute(this.name, !!t && t !== d);
483
+  }
484
+}
485
+class Nt extends z {
486
+  constructor(t, e, s, i, n) {
487
+    super(t, e, s, i, n), this.type = 5;
488
+  }
489
+  _$AI(t, e = this) {
490
+    if ((t = x(this, t, e, 0) ?? d) === S) return;
491
+    const s = this._$AH, i = t === d && s !== d || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== d && (s === d || i);
492
+    i && this.element.removeEventListener(this.name, this, s), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
493
+  }
494
+  handleEvent(t) {
495
+    var e;
496
+    typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
497
+  }
498
+}
499
+class Rt {
500
+  constructor(t, e, s) {
501
+    this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
502
+  }
503
+  get _$AU() {
504
+    return this._$AM._$AU;
505
+  }
506
+  _$AI(t) {
507
+    x(this, t);
508
+  }
509
+}
510
+const I = P.litHtmlPolyfillSupport;
511
+I == null || I(M, N), (P.litHtmlVersions ?? (P.litHtmlVersions = [])).push("3.3.2");
512
+const Tt = (r, t, e) => {
513
+  const s = (e == null ? void 0 : e.renderBefore) ?? t;
514
+  let i = s._$litPart$;
515
+  if (i === void 0) {
516
+    const n = (e == null ? void 0 : e.renderBefore) ?? null;
517
+    s._$litPart$ = i = new N(t.insertBefore(U(), n), n, void 0, e ?? {});
518
+  }
519
+  return i._$AI(r), i;
520
+};
521
+/**
522
+ * @license
523
+ * Copyright 2017 Google LLC
524
+ * SPDX-License-Identifier: BSD-3-Clause
525
+ */
526
+const y = globalThis;
527
+class _ extends E {
528
+  constructor() {
529
+    super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
530
+  }
531
+  createRenderRoot() {
532
+    var e;
533
+    const t = super.createRenderRoot();
534
+    return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
535
+  }
536
+  update(t) {
537
+    const e = this.render();
538
+    this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Tt(e, this.renderRoot, this.renderOptions);
539
+  }
540
+  connectedCallback() {
541
+    var t;
542
+    super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
543
+  }
544
+  disconnectedCallback() {
545
+    var t;
546
+    super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
547
+  }
548
+  render() {
549
+    return S;
550
+  }
551
+}
552
+var ot;
553
+_._$litElement$ = !0, _.finalized = !0, (ot = y.litElementHydrateSupport) == null || ot.call(y, { LitElement: _ });
554
+const B = y.litElementPolyfillSupport;
555
+B == null || B({ LitElement: _ });
556
+(y.litElementVersions ?? (y.litElementVersions = [])).push("4.2.2");
557
+class W extends _ {
558
+  render() {
559
+    return H`
560
+      ${this.imageUrl ? H`<img class="card-image" src="${this.imageUrl}" alt="${this.imageAlt || ""}" />` : ""}
561
+
562
+      <slot name="header" class="card-header-slot"></slot>
563
+
564
+      <div class="card-body">
565
+        <slot></slot>
566
+      </div>
567
+
568
+      <slot name="footer" class="card-footer-slot"></slot>
569
+    `;
570
+  }
571
+}
572
+b(W, "styles", D`
573
+    :host {
574
+      display: block;
575
+      border: 1px solid var(--luumicore-border-color, #ddd);
576
+      border-radius: var(--luumicore-border-radius, 8px);
577
+      overflow: hidden;
578
+      background-color: var(--luumicore-card-bg, #fff);
579
+      box-shadow: var(--luumicore-shadow, 0 2px 4px rgba(0,0,0,0.1));
580
+    }
581
+
582
+    .card-image {
583
+      width: 100%;
584
+      height: auto;
585
+      display: block;
586
+    }
587
+
588
+    .card-header {
589
+      padding: var(--luumicore-spacing, 16px);
590
+      border-bottom: 1px solid var(--luumicore-border-color, #ddd);
591
+      font-weight: bold;
592
+      background-color: var(--luumicore-header-bg, #f8f9fa);
593
+    }
594
+
595
+    .card-body {
596
+      padding: var(--luumicore-spacing, 16px);
597
+    }
598
+
599
+    .card-footer {
600
+      padding: var(--luumicore-spacing, 16px);
601
+      border-top: 1px solid var(--luumicore-border-color, #ddd);
602
+      background-color: var(--luumicore-footer-bg, #f8f9fa);
603
+    }
604
+  `), b(W, "properties", {
605
+  imageUrl: { type: String, attribute: "image-url" },
606
+  imageAlt: { type: String, attribute: "image-alt" }
607
+});
608
+customElements.define("luumicore-card", W);
609
+class ut extends _ {
610
+  render() {
611
+    return H`
612
+      <ul>
613
+        <slot></slot>
614
+      </ul>
615
+    `;
616
+  }
617
+}
618
+b(ut, "styles", D`
619
+    :host {
620
+      display: block;
621
+    }
622
+
623
+    ul {
624
+      list-style: none;
625
+      padding: 0;
626
+      margin: 0;
627
+      border: 1px solid var(--luumicore-border-color, #ddd);
628
+      border-radius: var(--luumicore-border-radius, 8px);
629
+      overflow: hidden;
630
+    }
631
+  `);
632
+customElements.define("luumicore-list", ut);
633
+class pt extends _ {
634
+  render() {
635
+    return H`
636
+      <div class="item-container">
637
+        <div class="content">
638
+          <slot></slot>
639
+        </div>
640
+
641
+        <div class="actions">
642
+          <slot name="actions"></slot>
643
+        </div>
644
+
645
+        <div class="main-action">
646
+          <slot name="main-action"></slot>
647
+        </div>
648
+      </div>
649
+    `;
650
+  }
651
+}
652
+b(pt, "styles", D`
653
+    :host {
654
+      display: block;
655
+      border-bottom: 1px solid var(--luumicore-border-color, #ddd);
656
+      background-color: var(--luumicore-list-bg, #fff);
657
+    }
658
+
659
+    :host(:last-child) {
660
+      border-bottom: none;
661
+    }
662
+
663
+    .item-container {
664
+      display: flex;
665
+      align-items: center;
666
+      padding: var(--luumicore-spacing, 12px) var(--luumicore-spacing, 16px);
667
+      gap: var(--luumicore-spacing, 16px);
668
+    }
669
+
670
+    .content {
671
+      flex: 1;
672
+      min-width: 0; /* Allow text truncation */
673
+    }
674
+
675
+    .actions {
676
+      display: flex;
677
+      align-items: center;
678
+      gap: 8px;
679
+    }
680
+
681
+    .main-action {
682
+      margin-left: auto;
683
+    }
684
+  `);
685
+customElements.define("luumicore-list-item", pt);
686
+console.log("luumiCORE Core Bundle initialized");
687
+class $t extends _ {
688
+  render() {
689
+    return H`<p>Hello from luumiCORE!</p>`;
690
+  }
691
+}
692
+b($t, "styles", D`
693
+    :host {
694
+      display: block;
695
+      padding: 16px;
696
+      color: var(--luumicore-text-color, black);
697
+      border: 1px solid var(--luumicore-primary, blue);
698
+    }
699
+  `);
700
+customElements.define("luumicore-element", $t);
701
+export {
702
+  $t as LuumicoreElement
703
+};
0 704
new file mode 100644
... ...
@@ -0,0 +1,69 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of luumiCORE Core Bundle.
7
+ *
8
+ * (c) vonRotenberg
9
+ *
10
+ * @license proprietary
11
+ */
12
+
13
+namespace luumicore\CoreBundle\EventListener;
14
+
15
+use Contao\CoreBundle\Routing\ScopeMatcher;
16
+use Symfony\Component\EventDispatcher\Attribute\AsEventListener;
17
+use Symfony\Component\HttpKernel\Event\ResponseEvent;
18
+use Symfony\Component\HttpKernel\KernelEvents;
19
+
20
+#[AsEventListener(KernelEvents::RESPONSE)]
21
+class FrontendAssetsListener
22
+{
23
+    public function __construct(
24
+        private readonly ScopeMatcher $scopeMatcher,
25
+    ) {
26
+    }
27
+
28
+    public function __invoke(ResponseEvent $event): void
29
+    {
30
+        if (!$event->isMainRequest()) {
31
+            return;
32
+        }
33
+
34
+        $request = $event->getRequest();
35
+
36
+        if (!$this->scopeMatcher->isFrontendRequest($request)) {
37
+            return;
38
+        }
39
+
40
+        $response = $event->getResponse();
41
+        $content = $response->getContent();
42
+
43
+        if (false === $content) {
44
+            return;
45
+        }
46
+
47
+        $contentType = $response->headers->get('Content-Type');
48
+
49
+        // If Content-Type is present, it must be text/html
50
+        if (null !== $contentType && !str_contains($contentType, 'text/html')) {
51
+            return;
52
+        }
53
+
54
+        // If Content-Type is missing, check request format
55
+        if (null === $contentType && 'html' !== $request->getRequestFormat()) {
56
+            return;
57
+        }
58
+
59
+        // Inject CSS before </head>
60
+        $css = '<link rel="stylesheet" href="/bundles/luumicorecore/dist/luumicore-core.css">';
61
+        $content = str_ireplace('</head>', $css . "\n</head>", $content);
62
+
63
+        // Inject JS before </body>
64
+        $js = '<script type="module" src="/bundles/luumicorecore/dist/luumicore-core.js"></script>';
65
+        $content = str_ireplace('</body>', $js . "\n</body>", $content);
66
+
67
+        $response->setContent($content);
68
+    }
69
+}
0 70
new file mode 100644
... ...
@@ -0,0 +1,31 @@
1
+import { defineConfig } from 'vite';
2
+import { resolve } from 'path';
3
+
4
+export default defineConfig({
5
+  build: {
6
+    outDir: 'public/dist',
7
+    emptyOutDir: true,
8
+    lib: {
9
+      entry: resolve(__dirname, 'assets/js/main.js'),
10
+      name: 'LuumicoreCore',
11
+      fileName: (format) => `luumicore-core.js`,
12
+      formats: ['es'],
13
+    },
14
+    rollupOptions: {
15
+      output: {
16
+        assetFileNames: (assetInfo) => {
17
+          if (assetInfo.name === 'style.css') return 'luumicore-core.css';
18
+          return assetInfo.name;
19
+        },
20
+      },
21
+    },
22
+  },
23
+  server: {
24
+    strictPort: true,
25
+    port: 5173,
26
+    origin: 'http://localhost:5173',
27
+    hmr: {
28
+      host: 'localhost',
29
+    },
30
+  },
31
+});