@industry-theme/repository-composition-panels 0.7.20 → 0.7.21

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.
@@ -134,7 +134,7 @@ const createLucideIcon$1 = (iconName, iconNode) => {
134
134
  * This source code is licensed under the ISC license.
135
135
  * See the LICENSE file in the root directory of this source tree.
136
136
  */
137
- const __iconNode$qm = [
137
+ const __iconNode$qo = [
138
138
  [
139
139
  "path",
140
140
  {
@@ -143,25 +143,25 @@ const __iconNode$qm = [
143
143
  }
144
144
  ]
145
145
  ];
146
- const Activity$1 = createLucideIcon$1("activity", __iconNode$qm);
146
+ const Activity$1 = createLucideIcon$1("activity", __iconNode$qo);
147
147
  /**
148
148
  * @license lucide-react v0.552.0 - ISC
149
149
  *
150
150
  * This source code is licensed under the ISC license.
151
151
  * See the LICENSE file in the root directory of this source tree.
152
152
  */
153
- const __iconNode$ql = [
153
+ const __iconNode$qn = [
154
154
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
155
155
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
156
156
  ];
157
- const ArrowUp$1 = createLucideIcon$1("arrow-up", __iconNode$ql);
157
+ const ArrowUp$1 = createLucideIcon$1("arrow-up", __iconNode$qn);
158
158
  /**
159
159
  * @license lucide-react v0.552.0 - ISC
160
160
  *
161
161
  * This source code is licensed under the ISC license.
162
162
  * See the LICENSE file in the root directory of this source tree.
163
163
  */
164
- const __iconNode$qk = [
164
+ const __iconNode$qm = [
165
165
  [
166
166
  "path",
167
167
  {
@@ -172,100 +172,100 @@ const __iconNode$qk = [
172
172
  ["path", { d: "m3.3 7 8.7 5 8.7-5", key: "g66t2b" }],
173
173
  ["path", { d: "M12 22V12", key: "d0xqtd" }]
174
174
  ];
175
- const Box$1 = createLucideIcon$1("box", __iconNode$qk);
175
+ const Box$1 = createLucideIcon$1("box", __iconNode$qm);
176
176
  /**
177
177
  * @license lucide-react v0.552.0 - ISC
178
178
  *
179
179
  * This source code is licensed under the ISC license.
180
180
  * See the LICENSE file in the root directory of this source tree.
181
181
  */
182
- const __iconNode$qj = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
183
- const Check$1 = createLucideIcon$1("check", __iconNode$qj);
182
+ const __iconNode$ql = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
183
+ const Check$1 = createLucideIcon$1("check", __iconNode$ql);
184
184
  /**
185
185
  * @license lucide-react v0.552.0 - ISC
186
186
  *
187
187
  * This source code is licensed under the ISC license.
188
188
  * See the LICENSE file in the root directory of this source tree.
189
189
  */
190
- const __iconNode$qi = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
191
- const ChevronDown$1 = createLucideIcon$1("chevron-down", __iconNode$qi);
190
+ const __iconNode$qk = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
191
+ const ChevronDown$1 = createLucideIcon$1("chevron-down", __iconNode$qk);
192
192
  /**
193
193
  * @license lucide-react v0.552.0 - ISC
194
194
  *
195
195
  * This source code is licensed under the ISC license.
196
196
  * See the LICENSE file in the root directory of this source tree.
197
197
  */
198
- const __iconNode$qh = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
199
- const ChevronLeft$1 = createLucideIcon$1("chevron-left", __iconNode$qh);
198
+ const __iconNode$qj = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
199
+ const ChevronLeft$1 = createLucideIcon$1("chevron-left", __iconNode$qj);
200
200
  /**
201
201
  * @license lucide-react v0.552.0 - ISC
202
202
  *
203
203
  * This source code is licensed under the ISC license.
204
204
  * See the LICENSE file in the root directory of this source tree.
205
205
  */
206
- const __iconNode$qg = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
207
- const ChevronRight$1 = createLucideIcon$1("chevron-right", __iconNode$qg);
206
+ const __iconNode$qi = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
207
+ const ChevronRight$1 = createLucideIcon$1("chevron-right", __iconNode$qi);
208
208
  /**
209
209
  * @license lucide-react v0.552.0 - ISC
210
210
  *
211
211
  * This source code is licensed under the ISC license.
212
212
  * See the LICENSE file in the root directory of this source tree.
213
213
  */
214
- const __iconNode$qf = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
215
- const ChevronUp$1 = createLucideIcon$1("chevron-up", __iconNode$qf);
214
+ const __iconNode$qh = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
215
+ const ChevronUp$1 = createLucideIcon$1("chevron-up", __iconNode$qh);
216
216
  /**
217
217
  * @license lucide-react v0.552.0 - ISC
218
218
  *
219
219
  * This source code is licensed under the ISC license.
220
220
  * See the LICENSE file in the root directory of this source tree.
221
221
  */
222
- const __iconNode$qe = [
222
+ const __iconNode$qg = [
223
223
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
224
224
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
225
225
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
226
226
  ];
227
- const CircleAlert$1 = createLucideIcon$1("circle-alert", __iconNode$qe);
227
+ const CircleAlert$1 = createLucideIcon$1("circle-alert", __iconNode$qg);
228
228
  /**
229
229
  * @license lucide-react v0.552.0 - ISC
230
230
  *
231
231
  * This source code is licensed under the ISC license.
232
232
  * See the LICENSE file in the root directory of this source tree.
233
233
  */
234
- const __iconNode$qd = [
234
+ const __iconNode$qf = [
235
235
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
236
236
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
237
237
  ];
238
- const CircleCheckBig$1 = createLucideIcon$1("circle-check-big", __iconNode$qd);
238
+ const CircleCheckBig$1 = createLucideIcon$1("circle-check-big", __iconNode$qf);
239
239
  /**
240
240
  * @license lucide-react v0.552.0 - ISC
241
241
  *
242
242
  * This source code is licensed under the ISC license.
243
243
  * See the LICENSE file in the root directory of this source tree.
244
244
  */
245
- const __iconNode$qc = [
245
+ const __iconNode$qe = [
246
246
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
247
247
  ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
248
248
  ["path", { d: "M12 17h.01", key: "p32p05" }]
249
249
  ];
250
- const CircleQuestionMark$1 = createLucideIcon$1("circle-question-mark", __iconNode$qc);
250
+ const CircleQuestionMark$1 = createLucideIcon$1("circle-question-mark", __iconNode$qe);
251
251
  /**
252
252
  * @license lucide-react v0.552.0 - ISC
253
253
  *
254
254
  * This source code is licensed under the ISC license.
255
255
  * See the LICENSE file in the root directory of this source tree.
256
256
  */
257
- const __iconNode$qb = [
257
+ const __iconNode$qd = [
258
258
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
259
259
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
260
260
  ];
261
- const Copy$1 = createLucideIcon$1("copy", __iconNode$qb);
261
+ const Copy$1 = createLucideIcon$1("copy", __iconNode$qd);
262
262
  /**
263
263
  * @license lucide-react v0.552.0 - ISC
264
264
  *
265
265
  * This source code is licensed under the ISC license.
266
266
  * See the LICENSE file in the root directory of this source tree.
267
267
  */
268
- const __iconNode$qa = [
268
+ const __iconNode$qc = [
269
269
  ["path", { d: "m15 15 6 6", key: "1s409w" }],
270
270
  ["path", { d: "m15 9 6-6", key: "ko1vev" }],
271
271
  ["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
@@ -275,26 +275,26 @@ const __iconNode$qa = [
275
275
  ["path", { d: "M3 8V3h5", key: "1ln10m" }],
276
276
  ["path", { d: "M9 9 3 3", key: "v551iv" }]
277
277
  ];
278
- const Expand$1 = createLucideIcon$1("expand", __iconNode$qa);
278
+ const Expand$1 = createLucideIcon$1("expand", __iconNode$qc);
279
279
  /**
280
280
  * @license lucide-react v0.552.0 - ISC
281
281
  *
282
282
  * This source code is licensed under the ISC license.
283
283
  * See the LICENSE file in the root directory of this source tree.
284
284
  */
285
- const __iconNode$q9 = [
285
+ const __iconNode$qb = [
286
286
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
287
287
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
288
288
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
289
289
  ];
290
- const ExternalLink$1 = createLucideIcon$1("external-link", __iconNode$q9);
290
+ const ExternalLink$1 = createLucideIcon$1("external-link", __iconNode$qb);
291
291
  /**
292
292
  * @license lucide-react v0.552.0 - ISC
293
293
  *
294
294
  * This source code is licensed under the ISC license.
295
295
  * See the LICENSE file in the root directory of this source tree.
296
296
  */
297
- const __iconNode$q8 = [
297
+ const __iconNode$qa = [
298
298
  [
299
299
  "path",
300
300
  {
@@ -306,14 +306,14 @@ const __iconNode$q8 = [
306
306
  ["path", { d: "M10 12.5 8 15l2 2.5", key: "1tg20x" }],
307
307
  ["path", { d: "m14 12.5 2 2.5-2 2.5", key: "yinavb" }]
308
308
  ];
309
- const FileCode$1 = createLucideIcon$1("file-code", __iconNode$q8);
309
+ const FileCode$1 = createLucideIcon$1("file-code", __iconNode$qa);
310
310
  /**
311
311
  * @license lucide-react v0.552.0 - ISC
312
312
  *
313
313
  * This source code is licensed under the ISC license.
314
314
  * See the LICENSE file in the root directory of this source tree.
315
315
  */
316
- const __iconNode$q7 = [
316
+ const __iconNode$q9 = [
317
317
  [
318
318
  "path",
319
319
  {
@@ -324,14 +324,14 @@ const __iconNode$q7 = [
324
324
  ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
325
325
  ["path", { d: "m10 18 3-3-3-3", key: "18f6ys" }]
326
326
  ];
327
- const FileSymlink$1 = createLucideIcon$1("file-symlink", __iconNode$q7);
327
+ const FileSymlink$1 = createLucideIcon$1("file-symlink", __iconNode$q9);
328
328
  /**
329
329
  * @license lucide-react v0.552.0 - ISC
330
330
  *
331
331
  * This source code is licensed under the ISC license.
332
332
  * See the LICENSE file in the root directory of this source tree.
333
333
  */
334
- const __iconNode$q6 = [
334
+ const __iconNode$q8 = [
335
335
  [
336
336
  "path",
337
337
  {
@@ -344,14 +344,14 @@ const __iconNode$q6 = [
344
344
  ["path", { d: "M16 13H8", key: "t4e002" }],
345
345
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
346
346
  ];
347
- const FileText$1 = createLucideIcon$1("file-text", __iconNode$q6);
347
+ const FileText$1 = createLucideIcon$1("file-text", __iconNode$q8);
348
348
  /**
349
349
  * @license lucide-react v0.552.0 - ISC
350
350
  *
351
351
  * This source code is licensed under the ISC license.
352
352
  * See the LICENSE file in the root directory of this source tree.
353
353
  */
354
- const __iconNode$q5 = [
354
+ const __iconNode$q7 = [
355
355
  [
356
356
  "path",
357
357
  {
@@ -360,14 +360,14 @@ const __iconNode$q5 = [
360
360
  }
361
361
  ]
362
362
  ];
363
- const FolderOpen$1 = createLucideIcon$1("folder-open", __iconNode$q5);
363
+ const FolderOpen$1 = createLucideIcon$1("folder-open", __iconNode$q7);
364
364
  /**
365
365
  * @license lucide-react v0.552.0 - ISC
366
366
  *
367
367
  * This source code is licensed under the ISC license.
368
368
  * See the LICENSE file in the root directory of this source tree.
369
369
  */
370
- const __iconNode$q4 = [
370
+ const __iconNode$q6 = [
371
371
  [
372
372
  "path",
373
373
  {
@@ -376,39 +376,39 @@ const __iconNode$q4 = [
376
376
  }
377
377
  ]
378
378
  ];
379
- const Folder$1 = createLucideIcon$1("folder", __iconNode$q4);
379
+ const Folder$1 = createLucideIcon$1("folder", __iconNode$q6);
380
380
  /**
381
381
  * @license lucide-react v0.552.0 - ISC
382
382
  *
383
383
  * This source code is licensed under the ISC license.
384
384
  * See the LICENSE file in the root directory of this source tree.
385
385
  */
386
- const __iconNode$q3 = [
386
+ const __iconNode$q5 = [
387
387
  ["line", { x1: "6", x2: "6", y1: "3", y2: "15", key: "17qcm7" }],
388
388
  ["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
389
389
  ["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
390
390
  ["path", { d: "M18 9a9 9 0 0 1-9 9", key: "n2h4wq" }]
391
391
  ];
392
- const GitBranch$1 = createLucideIcon$1("git-branch", __iconNode$q3);
392
+ const GitBranch$1 = createLucideIcon$1("git-branch", __iconNode$q5);
393
393
  /**
394
394
  * @license lucide-react v0.552.0 - ISC
395
395
  *
396
396
  * This source code is licensed under the ISC license.
397
397
  * See the LICENSE file in the root directory of this source tree.
398
398
  */
399
- const __iconNode$q2 = [
399
+ const __iconNode$q4 = [
400
400
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
401
401
  ["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
402
402
  ["path", { d: "M2 12h20", key: "9i4pu4" }]
403
403
  ];
404
- const Globe$1 = createLucideIcon$1("globe", __iconNode$q2);
404
+ const Globe$1 = createLucideIcon$1("globe", __iconNode$q4);
405
405
  /**
406
406
  * @license lucide-react v0.552.0 - ISC
407
407
  *
408
408
  * This source code is licensed under the ISC license.
409
409
  * See the LICENSE file in the root directory of this source tree.
410
410
  */
411
- const __iconNode$q1 = [
411
+ const __iconNode$q3 = [
412
412
  [
413
413
  "path",
414
414
  {
@@ -431,77 +431,77 @@ const __iconNode$q1 = [
431
431
  }
432
432
  ]
433
433
  ];
434
- const Layers$1 = createLucideIcon$1("layers", __iconNode$q1);
434
+ const Layers$1 = createLucideIcon$1("layers", __iconNode$q3);
435
435
  /**
436
436
  * @license lucide-react v0.552.0 - ISC
437
437
  *
438
438
  * This source code is licensed under the ISC license.
439
439
  * See the LICENSE file in the root directory of this source tree.
440
440
  */
441
- const __iconNode$q0 = [
441
+ const __iconNode$q2 = [
442
442
  ["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
443
443
  ["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
444
444
  ["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
445
445
  ["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
446
446
  ];
447
- const LayoutGrid$1 = createLucideIcon$1("layout-grid", __iconNode$q0);
447
+ const LayoutGrid$1 = createLucideIcon$1("layout-grid", __iconNode$q2);
448
448
  /**
449
449
  * @license lucide-react v0.552.0 - ISC
450
450
  *
451
451
  * This source code is licensed under the ISC license.
452
452
  * See the LICENSE file in the root directory of this source tree.
453
453
  */
454
- const __iconNode$p$ = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
455
- const LoaderCircle$1 = createLucideIcon$1("loader-circle", __iconNode$p$);
454
+ const __iconNode$q1 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
455
+ const LoaderCircle$1 = createLucideIcon$1("loader-circle", __iconNode$q1);
456
456
  /**
457
457
  * @license lucide-react v0.552.0 - ISC
458
458
  *
459
459
  * This source code is licensed under the ISC license.
460
460
  * See the LICENSE file in the root directory of this source tree.
461
461
  */
462
- const __iconNode$p_ = [
462
+ const __iconNode$q0 = [
463
463
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
464
464
  ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
465
465
  ];
466
- const Lock$1 = createLucideIcon$1("lock", __iconNode$p_);
466
+ const Lock$1 = createLucideIcon$1("lock", __iconNode$q0);
467
467
  /**
468
468
  * @license lucide-react v0.552.0 - ISC
469
469
  *
470
470
  * This source code is licensed under the ISC license.
471
471
  * See the LICENSE file in the root directory of this source tree.
472
472
  */
473
- const __iconNode$pZ = [["path", { d: "M5 12h14", key: "1ays0h" }]];
474
- const Minus$1 = createLucideIcon$1("minus", __iconNode$pZ);
473
+ const __iconNode$p$ = [["path", { d: "M5 12h14", key: "1ays0h" }]];
474
+ const Minus$1 = createLucideIcon$1("minus", __iconNode$p$);
475
475
  /**
476
476
  * @license lucide-react v0.552.0 - ISC
477
477
  *
478
478
  * This source code is licensed under the ISC license.
479
479
  * See the LICENSE file in the root directory of this source tree.
480
480
  */
481
- const __iconNode$pY = [
481
+ const __iconNode$p_ = [
482
482
  ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
483
483
  ["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
484
484
  ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
485
485
  ];
486
- const Monitor$1 = createLucideIcon$1("monitor", __iconNode$pY);
486
+ const Monitor$1 = createLucideIcon$1("monitor", __iconNode$p_);
487
487
  /**
488
488
  * @license lucide-react v0.552.0 - ISC
489
489
  *
490
490
  * This source code is licensed under the ISC license.
491
491
  * See the LICENSE file in the root directory of this source tree.
492
492
  */
493
- const __iconNode$pX = [
493
+ const __iconNode$pZ = [
494
494
  ["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
495
495
  ["path", { d: "M2 12H22", key: "1m8cig" }]
496
496
  ];
497
- const MoveRight$1 = createLucideIcon$1("move-right", __iconNode$pX);
497
+ const MoveRight$1 = createLucideIcon$1("move-right", __iconNode$pZ);
498
498
  /**
499
499
  * @license lucide-react v0.552.0 - ISC
500
500
  *
501
501
  * This source code is licensed under the ISC license.
502
502
  * See the LICENSE file in the root directory of this source tree.
503
503
  */
504
- const __iconNode$pW = [
504
+ const __iconNode$pY = [
505
505
  [
506
506
  "path",
507
507
  {
@@ -513,14 +513,14 @@ const __iconNode$pW = [
513
513
  ["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
514
514
  ["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
515
515
  ];
516
- const Package$1 = createLucideIcon$1("package", __iconNode$pW);
516
+ const Package$1 = createLucideIcon$1("package", __iconNode$pY);
517
517
  /**
518
518
  * @license lucide-react v0.552.0 - ISC
519
519
  *
520
520
  * This source code is licensed under the ISC license.
521
521
  * See the LICENSE file in the root directory of this source tree.
522
522
  */
523
- const __iconNode$pV = [
523
+ const __iconNode$pX = [
524
524
  [
525
525
  "path",
526
526
  {
@@ -529,65 +529,65 @@ const __iconNode$pV = [
529
529
  }
530
530
  ]
531
531
  ];
532
- const Play$1 = createLucideIcon$1("play", __iconNode$pV);
532
+ const Play$1 = createLucideIcon$1("play", __iconNode$pX);
533
533
  /**
534
534
  * @license lucide-react v0.552.0 - ISC
535
535
  *
536
536
  * This source code is licensed under the ISC license.
537
537
  * See the LICENSE file in the root directory of this source tree.
538
538
  */
539
- const __iconNode$pU = [
539
+ const __iconNode$pW = [
540
540
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
541
541
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
542
542
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
543
543
  ["path", { d: "M8 16H3v5", key: "1cv678" }]
544
544
  ];
545
- const RefreshCw$1 = createLucideIcon$1("refresh-cw", __iconNode$pU);
545
+ const RefreshCw$1 = createLucideIcon$1("refresh-cw", __iconNode$pW);
546
546
  /**
547
547
  * @license lucide-react v0.552.0 - ISC
548
548
  *
549
549
  * This source code is licensed under the ISC license.
550
550
  * See the LICENSE file in the root directory of this source tree.
551
551
  */
552
- const __iconNode$pT = [
552
+ const __iconNode$pV = [
553
553
  ["path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "7g6ntu" }],
554
554
  ["path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "ijws7r" }],
555
555
  ["path", { d: "M7 21h10", key: "1b0cd5" }],
556
556
  ["path", { d: "M12 3v18", key: "108xh3" }],
557
557
  ["path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2", key: "3gwbw2" }]
558
558
  ];
559
- const Scale$1 = createLucideIcon$1("scale", __iconNode$pT);
559
+ const Scale$1 = createLucideIcon$1("scale", __iconNode$pV);
560
560
  /**
561
561
  * @license lucide-react v0.552.0 - ISC
562
562
  *
563
563
  * This source code is licensed under the ISC license.
564
564
  * See the LICENSE file in the root directory of this source tree.
565
565
  */
566
- const __iconNode$pS = [
566
+ const __iconNode$pU = [
567
567
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
568
568
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
569
569
  ];
570
- const Search$1 = createLucideIcon$1("search", __iconNode$pS);
570
+ const Search$1 = createLucideIcon$1("search", __iconNode$pU);
571
571
  /**
572
572
  * @license lucide-react v0.552.0 - ISC
573
573
  *
574
574
  * This source code is licensed under the ISC license.
575
575
  * See the LICENSE file in the root directory of this source tree.
576
576
  */
577
- const __iconNode$pR = [
577
+ const __iconNode$pT = [
578
578
  ["path", { d: "M14 17H5", key: "gfn3mx" }],
579
579
  ["path", { d: "M19 7h-9", key: "6i9tg" }],
580
580
  ["circle", { cx: "17", cy: "17", r: "3", key: "18b49y" }],
581
581
  ["circle", { cx: "7", cy: "7", r: "3", key: "dfmy0x" }]
582
582
  ];
583
- const Settings2$1 = createLucideIcon$1("settings-2", __iconNode$pR);
583
+ const Settings2$1 = createLucideIcon$1("settings-2", __iconNode$pT);
584
584
  /**
585
585
  * @license lucide-react v0.552.0 - ISC
586
586
  *
587
587
  * This source code is licensed under the ISC license.
588
588
  * See the LICENSE file in the root directory of this source tree.
589
589
  */
590
- const __iconNode$pQ = [
590
+ const __iconNode$pS = [
591
591
  [
592
592
  "path",
593
593
  {
@@ -597,37 +597,53 @@ const __iconNode$pQ = [
597
597
  ],
598
598
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
599
599
  ];
600
- const Settings$1 = createLucideIcon$1("settings", __iconNode$pQ);
600
+ const Settings$1 = createLucideIcon$1("settings", __iconNode$pS);
601
601
  /**
602
602
  * @license lucide-react v0.552.0 - ISC
603
603
  *
604
604
  * This source code is licensed under the ISC license.
605
605
  * See the LICENSE file in the root directory of this source tree.
606
606
  */
607
- const __iconNode$pP = [
607
+ const __iconNode$pR = [
608
+ [
609
+ "path",
610
+ {
611
+ d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
612
+ key: "r04s7s"
613
+ }
614
+ ]
615
+ ];
616
+ const Star$1 = createLucideIcon$1("star", __iconNode$pR);
617
+ /**
618
+ * @license lucide-react v0.552.0 - ISC
619
+ *
620
+ * This source code is licensed under the ISC license.
621
+ * See the LICENSE file in the root directory of this source tree.
622
+ */
623
+ const __iconNode$pQ = [
608
624
  ["path", { d: "M12 19h8", key: "baeox8" }],
609
625
  ["path", { d: "m4 17 6-6-6-6", key: "1yngyt" }]
610
626
  ];
611
- const Terminal$1 = createLucideIcon$1("terminal", __iconNode$pP);
627
+ const Terminal$1 = createLucideIcon$1("terminal", __iconNode$pQ);
612
628
  /**
613
629
  * @license lucide-react v0.552.0 - ISC
614
630
  *
615
631
  * This source code is licensed under the ISC license.
616
632
  * See the LICENSE file in the root directory of this source tree.
617
633
  */
618
- const __iconNode$pO = [
634
+ const __iconNode$pP = [
619
635
  ["path", { d: "M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2", key: "125lnx" }],
620
636
  ["path", { d: "M8.5 2h7", key: "csnxdl" }],
621
637
  ["path", { d: "M14.5 16h-5", key: "1ox875" }]
622
638
  ];
623
- const TestTube$1 = createLucideIcon$1("test-tube", __iconNode$pO);
639
+ const TestTube$1 = createLucideIcon$1("test-tube", __iconNode$pP);
624
640
  /**
625
641
  * @license lucide-react v0.552.0 - ISC
626
642
  *
627
643
  * This source code is licensed under the ISC license.
628
644
  * See the LICENSE file in the root directory of this source tree.
629
645
  */
630
- const __iconNode$pN = [
646
+ const __iconNode$pO = [
631
647
  [
632
648
  "path",
633
649
  {
@@ -638,7 +654,20 @@ const __iconNode$pN = [
638
654
  ["path", { d: "M12 9v4", key: "juzpu7" }],
639
655
  ["path", { d: "M12 17h.01", key: "p32p05" }]
640
656
  ];
641
- const TriangleAlert$1 = createLucideIcon$1("triangle-alert", __iconNode$pN);
657
+ const TriangleAlert$1 = createLucideIcon$1("triangle-alert", __iconNode$pO);
658
+ /**
659
+ * @license lucide-react v0.552.0 - ISC
660
+ *
661
+ * This source code is licensed under the ISC license.
662
+ * See the LICENSE file in the root directory of this source tree.
663
+ */
664
+ const __iconNode$pN = [
665
+ ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
666
+ ["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
667
+ ["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
668
+ ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
669
+ ];
670
+ const Users$1 = createLucideIcon$1("users", __iconNode$pN);
642
671
  /**
643
672
  * @license lucide-react v0.552.0 - ISC
644
673
  *
@@ -106207,7 +106236,7 @@ const browserExt = {
106207
106236
  },
106208
106237
  test: () => true,
106209
106238
  load: async () => {
106210
- await import("./browserAll-D23C4bot.js");
106239
+ await import("./browserAll-UdUdeWjS.js");
106211
106240
  }
106212
106241
  };
106213
106242
  const webworkerExt = {
@@ -106218,7 +106247,7 @@ const webworkerExt = {
106218
106247
  },
106219
106248
  test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
106220
106249
  load: async () => {
106221
- await import("./webworkerAll-wnkhx2JR.js");
106250
+ await import("./webworkerAll-BU-TUlj4.js");
106222
106251
  }
106223
106252
  };
106224
106253
  class ObservablePoint {
@@ -147482,16 +147511,16 @@ function adjustBrightness$1(color2, factor) {
147482
147511
  const TILE_SIZE = 32;
147483
147512
  const MAX_NODES_PER_MAP = 12;
147484
147513
  const REGION_SIZE_TILES = 25;
147485
- const ISO_TILE_WIDTH$2 = TILE_SIZE * 2;
147486
- const ISO_TILE_HEIGHT$2 = TILE_SIZE;
147514
+ const ISO_TILE_WIDTH$3 = TILE_SIZE * 2;
147515
+ const ISO_TILE_HEIGHT$3 = TILE_SIZE;
147487
147516
  function gridToScreen(gridX, gridY) {
147488
- const screenX = (gridX - gridY) * (ISO_TILE_WIDTH$2 / 2);
147489
- const screenY = (gridX + gridY) * (ISO_TILE_HEIGHT$2 / 2);
147517
+ const screenX = (gridX - gridY) * (ISO_TILE_WIDTH$3 / 2);
147518
+ const screenY = (gridX + gridY) * (ISO_TILE_HEIGHT$3 / 2);
147490
147519
  return { screenX, screenY };
147491
147520
  }
147492
147521
  function screenToGrid(screenX, screenY) {
147493
- const gridX = (screenX / (ISO_TILE_WIDTH$2 / 2) + screenY / (ISO_TILE_HEIGHT$2 / 2)) / 2;
147494
- const gridY = (screenY / (ISO_TILE_HEIGHT$2 / 2) - screenX / (ISO_TILE_WIDTH$2 / 2)) / 2;
147522
+ const gridX = (screenX / (ISO_TILE_WIDTH$3 / 2) + screenY / (ISO_TILE_HEIGHT$3 / 2)) / 2;
147523
+ const gridY = (screenY / (ISO_TILE_HEIGHT$3 / 2) - screenX / (ISO_TILE_WIDTH$3 / 2)) / 2;
147495
147524
  return { gridX, gridY };
147496
147525
  }
147497
147526
  function getIsometricZIndex(gridX, gridY) {
@@ -147936,8 +147965,8 @@ function adjustBrightness(color2, factor) {
147936
147965
  const newB = Math.min(255, Math.floor(b2 * factor));
147937
147966
  return newR << 16 | newG << 8 | newB;
147938
147967
  }
147939
- const TILE_WIDTH = ISO_TILE_WIDTH$2;
147940
- const TILE_HEIGHT = ISO_TILE_HEIGHT$2;
147968
+ const TILE_WIDTH = ISO_TILE_WIDTH$3;
147969
+ const TILE_HEIGHT = ISO_TILE_HEIGHT$3;
147941
147970
  function calculateFootprint(sizeMultiplier) {
147942
147971
  const tiles = 4 * sizeMultiplier;
147943
147972
  return {
@@ -148764,8 +148793,8 @@ function generateLicenseGround(license, sizeMultiplier) {
148764
148793
  return generateOpenGrassGround(sizeMultiplier);
148765
148794
  }
148766
148795
  }
148767
- const ISO_TILE_WIDTH$1 = 64;
148768
- const ISO_TILE_HEIGHT$1 = 32;
148796
+ const ISO_TILE_WIDTH$2 = 64;
148797
+ const ISO_TILE_HEIGHT$2 = 32;
148769
148798
  class IsometricRenderer {
148770
148799
  constructor(config) {
148771
148800
  this.viewport = config.viewport;
@@ -148773,8 +148802,8 @@ class IsometricRenderer {
148773
148802
  this.onPackageHover = config.onPackageHover;
148774
148803
  this.onPackageHoverEnd = config.onPackageHoverEnd;
148775
148804
  this.onPackageClick = config.onPackageClick;
148776
- this.tileWidth = config.tileWidth ?? ISO_TILE_WIDTH$1;
148777
- this.tileHeight = config.tileHeight ?? ISO_TILE_HEIGHT$1;
148805
+ this.tileWidth = config.tileWidth ?? ISO_TILE_WIDTH$2;
148806
+ this.tileHeight = config.tileHeight ?? ISO_TILE_HEIGHT$2;
148778
148807
  this.gridColor = config.gridColor ?? 3355443;
148779
148808
  this.regionColor = config.regionColor ?? 16737792;
148780
148809
  }
@@ -151163,8 +151192,8 @@ const OverworldMapPanelContent = ({
151163
151192
  });
151164
151193
  buildingGraphics.destroy();
151165
151194
  }
151166
- const worldWidth = mapData.width * ISO_TILE_WIDTH$2;
151167
- const worldHeight = mapData.height * ISO_TILE_HEIGHT$2;
151195
+ const worldWidth = mapData.width * ISO_TILE_WIDTH$3;
151196
+ const worldHeight = mapData.height * ISO_TILE_HEIGHT$3;
151168
151197
  const viewport = new it({
151169
151198
  screenWidth: visibleWidth,
151170
151199
  screenHeight: visibleHeight,
@@ -151181,8 +151210,8 @@ const OverworldMapPanelContent = ({
151181
151210
  const renderer = new IsometricRenderer({
151182
151211
  viewport,
151183
151212
  atlas: textures,
151184
- tileWidth: ISO_TILE_WIDTH$2,
151185
- tileHeight: ISO_TILE_HEIGHT$2,
151213
+ tileWidth: ISO_TILE_WIDTH$3,
151214
+ tileHeight: ISO_TILE_HEIGHT$3,
151186
151215
  gridColor: 3355443,
151187
151216
  regionColor: 16737792,
151188
151217
  onPackageHover,
@@ -151228,8 +151257,8 @@ const OverworldMapPanelContent = ({
151228
151257
  {
151229
151258
  viewport,
151230
151259
  worldContainer: viewport,
151231
- tileWidth: ISO_TILE_WIDTH$2,
151232
- tileHeight: ISO_TILE_HEIGHT$2,
151260
+ tileWidth: ISO_TILE_WIDTH$3,
151261
+ tileHeight: ISO_TILE_HEIGHT$3,
151233
151262
  mapBounds: {
151234
151263
  minX: 0,
151235
151264
  minY: 0,
@@ -153888,8 +153917,8 @@ const TelemetryCoveragePanel = ({ context: context2, events }) => {
153888
153917
  }
153889
153918
  );
153890
153919
  };
153891
- const ISO_TILE_WIDTH = 64;
153892
- const ISO_TILE_HEIGHT = 32;
153920
+ const ISO_TILE_WIDTH$1 = 64;
153921
+ const ISO_TILE_HEIGHT$1 = 32;
153893
153922
  const licenseBorderColors = {
153894
153923
  MIT: "#228b22",
153895
153924
  // Forest green - open/welcoming
@@ -153909,7 +153938,7 @@ const licenseBorderColors = {
153909
153938
  UNLICENSED: "#dc2626"
153910
153939
  // Red - restrictive
153911
153940
  };
153912
- const cardThemes = {
153941
+ const cardThemes$1 = {
153913
153942
  blue: {
153914
153943
  cardBg: "#3b4a6b",
153915
153944
  cardBorder: "#2a3654",
@@ -153959,7 +153988,7 @@ const cardThemes = {
153959
153988
  panelBorder: "#4a4a4a"
153960
153989
  }
153961
153990
  };
153962
- function parseColor(color2) {
153991
+ function parseColor$1(color2) {
153963
153992
  if (typeof color2 === "number") return color2;
153964
153993
  return parseInt(color2.replace("#", ""), 16);
153965
153994
  }
@@ -153968,7 +153997,7 @@ function formatCount(count2) {
153968
153997
  if (count2 < 1e6) return `${(count2 / 1e3).toFixed(1)}k`;
153969
153998
  return `${(count2 / 1e6).toFixed(1)}M`;
153970
153999
  }
153971
- function getPackagePositions(count2, footprintWidth, footprintHeight) {
154000
+ function getPackagePositions$1(count2, footprintWidth, footprintHeight) {
153972
154001
  const positions = [];
153973
154002
  const spacing = 0.18;
153974
154003
  const yOffset = -footprintHeight * 0.15;
@@ -154051,8 +154080,8 @@ const RepoSprite = ({
154051
154080
  (_a = containerRef.current) == null ? void 0 : _a.appendChild(app.canvas);
154052
154081
  appRef.current = app;
154053
154082
  const boundarySize = 4 * size;
154054
- const boundaryWidth = boundarySize * ISO_TILE_WIDTH;
154055
- const boundaryHeight = boundarySize * ISO_TILE_HEIGHT;
154083
+ const boundaryWidth = boundarySize * ISO_TILE_WIDTH$1;
154084
+ const boundaryHeight = boundarySize * ISO_TILE_HEIGHT$1;
154056
154085
  const padding = 0.9;
154057
154086
  const scaleX = width * padding / boundaryWidth;
154058
154087
  const scaleY = height * padding / boundaryHeight;
@@ -154084,7 +154113,7 @@ const RepoSprite = ({
154084
154113
  mainContainer.addChild(licenseGround);
154085
154114
  }
154086
154115
  if (packages && packages.length > 1) {
154087
- const positions = getPackagePositions(
154116
+ const positions = getPackagePositions$1(
154088
154117
  packages.length,
154089
154118
  boundaryWidth / 2,
154090
154119
  boundaryHeight / 2
@@ -154092,7 +154121,7 @@ const RepoSprite = ({
154092
154121
  for (let i2 = 0; i2 < packages.length; i2++) {
154093
154122
  const pkg = packages[i2];
154094
154123
  const pos = positions[i2] || { x: 0, y: 0 };
154095
- const pkgColor = pkg.color ? parseColor(pkg.color) : parseColor(color2);
154124
+ const pkgColor = pkg.color ? parseColor$1(pkg.color) : parseColor$1(color2);
154096
154125
  const pkgSize = (pkg.size || 1) * size * 0.4;
154097
154126
  const buildingGraphics = generateBuildingSprite({
154098
154127
  size: pkgSize,
@@ -154115,7 +154144,7 @@ const RepoSprite = ({
154115
154144
  mainContainer.addChild(buildingGraphics);
154116
154145
  }
154117
154146
  } else {
154118
- const parsedColor = parseColor(color2);
154147
+ const parsedColor = parseColor$1(color2);
154119
154148
  const buildingGraphics = generateBuildingSprite({
154120
154149
  size,
154121
154150
  color: parsedColor
@@ -154214,7 +154243,7 @@ const RepoSprite = ({
154214
154243
  onPackageHoverEnd
154215
154244
  ]);
154216
154245
  if (variant === "card") {
154217
- const colors = cardThemes[cardTheme];
154246
+ const colors = cardThemes$1[cardTheme];
154218
154247
  const licenseBorder = license ? licenseBorderColors[license] : null;
154219
154248
  return /* @__PURE__ */ jsxs(
154220
154249
  "div",
@@ -154523,7 +154552,7 @@ const RepoSprite = ({
154523
154552
  }
154524
154553
  );
154525
154554
  };
154526
- const languageColors = {
154555
+ const languageColors$1 = {
154527
154556
  TypeScript: 3242182,
154528
154557
  JavaScript: 16244510,
154529
154558
  Python: 3634859,
@@ -154547,7 +154576,7 @@ const languageColors = {
154547
154576
  Vue: 4307075,
154548
154577
  Svelte: 16727552
154549
154578
  };
154550
- function hashStringToColor(str2) {
154579
+ function hashStringToColor$1(str2) {
154551
154580
  let hash = 0;
154552
154581
  for (let i2 = 0; i2 < str2.length; i2++) {
154553
154582
  hash = str2.charCodeAt(i2) + ((hash << 5) - hash);
@@ -154568,19 +154597,19 @@ function hslToHex(h2, s2, l2) {
154568
154597
  };
154569
154598
  return (f2(0) << 16) + (f2(8) << 8) + f2(4);
154570
154599
  }
154571
- function getRepositoryColor(repository) {
154600
+ function getRepositoryColor$1(repository) {
154572
154601
  var _a;
154573
154602
  if (repository.bookColor) {
154574
154603
  if (repository.bookColor.startsWith("#")) {
154575
154604
  return parseInt(repository.bookColor.slice(1), 16);
154576
154605
  }
154577
- return hashStringToColor(repository.bookColor);
154606
+ return hashStringToColor$1(repository.bookColor);
154578
154607
  }
154579
154608
  const language2 = (_a = repository.github) == null ? void 0 : _a.primaryLanguage;
154580
- if (language2 && languageColors[language2]) {
154581
- return languageColors[language2];
154609
+ if (language2 && languageColors$1[language2]) {
154610
+ return languageColors$1[language2];
154582
154611
  }
154583
- return hashStringToColor(repository.name);
154612
+ return hashStringToColor$1(repository.name);
154584
154613
  }
154585
154614
  function transformPackages(packages) {
154586
154615
  if (!packages || packages.length === 0) {
@@ -154612,7 +154641,7 @@ const RepoCard = ({
154612
154641
  }) => {
154613
154642
  var _a, _b, _c, _d;
154614
154643
  const size = sizeOverride ?? calculateRepositorySize(repository.metrics);
154615
- const color2 = colorOverride ?? getRepositoryColor(repository);
154644
+ const color2 = colorOverride ?? getRepositoryColor$1(repository);
154616
154645
  const packages = transformPackages(repository.packages);
154617
154646
  const spriteProps = {
154618
154647
  size,
@@ -154636,6 +154665,466 @@ const RepoCard = ({
154636
154665
  };
154637
154666
  return /* @__PURE__ */ jsx(RepoSprite, { ...spriteProps });
154638
154667
  };
154668
+ const ISO_TILE_WIDTH = 64;
154669
+ const ISO_TILE_HEIGHT = 32;
154670
+ function parseColor(color2) {
154671
+ if (typeof color2 === "number") return color2;
154672
+ return parseInt(color2.replace("#", ""), 16);
154673
+ }
154674
+ function getPackagePositions(count2, footprintWidth, footprintHeight) {
154675
+ const positions = [];
154676
+ const spacing = 0.18;
154677
+ const yOffset = -footprintHeight * 0.15;
154678
+ if (count2 === 2) {
154679
+ positions.push(
154680
+ { x: -footprintWidth * spacing, y: yOffset },
154681
+ { x: footprintWidth * spacing, y: yOffset }
154682
+ );
154683
+ } else if (count2 === 3) {
154684
+ positions.push(
154685
+ {
154686
+ x: -footprintWidth * spacing * 0.8,
154687
+ y: -footprintHeight * spacing * 0.8 + yOffset
154688
+ },
154689
+ {
154690
+ x: footprintWidth * spacing * 0.8,
154691
+ y: -footprintHeight * spacing * 0.8 + yOffset
154692
+ },
154693
+ { x: 0, y: footprintHeight * spacing * 1 + yOffset }
154694
+ );
154695
+ } else if (count2 === 4) {
154696
+ positions.push(
154697
+ { x: 0, y: -footprintHeight * spacing + yOffset },
154698
+ { x: -footprintWidth * spacing, y: yOffset },
154699
+ { x: footprintWidth * spacing, y: yOffset },
154700
+ { x: 0, y: footprintHeight * spacing + yOffset }
154701
+ );
154702
+ } else {
154703
+ const cols = Math.ceil(Math.sqrt(count2));
154704
+ const rows = Math.ceil(count2 / cols);
154705
+ const cellWidth = footprintWidth * 0.7 / cols;
154706
+ const cellHeight = footprintHeight * 0.7 / rows;
154707
+ for (let i2 = 0; i2 < count2; i2++) {
154708
+ const row2 = Math.floor(i2 / cols);
154709
+ const col = i2 % cols;
154710
+ const x2 = (col - (cols - 1) / 2) * cellWidth;
154711
+ const y2 = (row2 - (rows - 1) / 2) * cellHeight;
154712
+ positions.push({ x: x2, y: y2 });
154713
+ }
154714
+ }
154715
+ return positions;
154716
+ }
154717
+ async function renderSpriteToDataUrl(options) {
154718
+ const {
154719
+ size = 2,
154720
+ color: color2 = 13789470,
154721
+ packages,
154722
+ stars,
154723
+ collaborators,
154724
+ license,
154725
+ label,
154726
+ width = 200,
154727
+ height = 200,
154728
+ showBoundary = false,
154729
+ boundaryColor = 16776960
154730
+ } = options;
154731
+ const app = new Application();
154732
+ await app.init({
154733
+ width,
154734
+ height,
154735
+ backgroundAlpha: 0,
154736
+ backgroundColor: 0,
154737
+ antialias: true,
154738
+ resolution: 2,
154739
+ autoDensity: true
154740
+ });
154741
+ try {
154742
+ const boundarySize = 4 * size;
154743
+ const boundaryWidth = boundarySize * ISO_TILE_WIDTH;
154744
+ const boundaryHeight = boundarySize * ISO_TILE_HEIGHT;
154745
+ const padding = 0.9;
154746
+ const scaleX = width * padding / boundaryWidth;
154747
+ const scaleY = height * padding / boundaryHeight;
154748
+ const scale = Math.min(scaleX, scaleY);
154749
+ const mainContainer = new Container();
154750
+ mainContainer.x = width / 2;
154751
+ mainContainer.y = height / 2;
154752
+ mainContainer.scale.set(scale);
154753
+ app.stage.addChild(mainContainer);
154754
+ if (showBoundary) {
154755
+ const boundary = new Graphics();
154756
+ boundary.strokeStyle = { width: 2, color: boundaryColor };
154757
+ boundary.fillStyle = { color: boundaryColor, alpha: 0.1 };
154758
+ boundary.beginPath();
154759
+ boundary.moveTo(0, -boundaryHeight / 2);
154760
+ boundary.lineTo(boundaryWidth / 2, 0);
154761
+ boundary.lineTo(0, boundaryHeight / 2);
154762
+ boundary.lineTo(-boundaryWidth / 2, 0);
154763
+ boundary.closePath();
154764
+ boundary.fill();
154765
+ boundary.stroke();
154766
+ mainContainer.addChild(boundary);
154767
+ }
154768
+ if (license) {
154769
+ const licenseGround = generateLicenseGround(license, size);
154770
+ mainContainer.addChild(licenseGround);
154771
+ }
154772
+ if (packages && packages.length > 1) {
154773
+ const positions = getPackagePositions(
154774
+ packages.length,
154775
+ boundaryWidth / 2,
154776
+ boundaryHeight / 2
154777
+ );
154778
+ for (let i2 = 0; i2 < packages.length; i2++) {
154779
+ const pkg = packages[i2];
154780
+ const pos = positions[i2] || { x: 0, y: 0 };
154781
+ const pkgColor = pkg.color ? parseColor(pkg.color) : parseColor(color2);
154782
+ const pkgSize = (pkg.size || 1) * size * 0.4;
154783
+ const buildingGraphics = generateBuildingSprite({
154784
+ size: pkgSize,
154785
+ color: pkgColor
154786
+ });
154787
+ buildingGraphics.x = pos.x;
154788
+ buildingGraphics.y = pos.y;
154789
+ mainContainer.addChild(buildingGraphics);
154790
+ }
154791
+ } else {
154792
+ const parsedColor = parseColor(color2);
154793
+ const buildingGraphics = generateBuildingSprite({
154794
+ size,
154795
+ color: parsedColor
154796
+ });
154797
+ mainContainer.addChild(buildingGraphics);
154798
+ }
154799
+ if (license) {
154800
+ const licenseSign = generateLicenseSign(license, {
154801
+ name: label || "",
154802
+ sizeMultiplier: size
154803
+ });
154804
+ const footprintHeight = boundaryHeight / 2;
154805
+ licenseSign.y = footprintHeight * 0.75;
154806
+ mainContainer.addChild(licenseSign);
154807
+ }
154808
+ if (stars && stars > 0) {
154809
+ const tier = getStarTier(stars);
154810
+ const scaleFactor = getStarScaleFactor(stars);
154811
+ let starDecoration = null;
154812
+ if (tier) {
154813
+ const decorationColor = tier.color;
154814
+ if (tier.decorationType === "flag") {
154815
+ starDecoration = generateFlagSprite(decorationColor);
154816
+ } else if (tier.decorationType === "trophy") {
154817
+ starDecoration = generateTrophySprite(decorationColor);
154818
+ } else if (tier.decorationType === "statue") {
154819
+ starDecoration = generateStatueSprite(decorationColor);
154820
+ }
154821
+ }
154822
+ if (starDecoration) {
154823
+ const dim = { w: 8, h: 12 };
154824
+ starDecoration.pivot.set(dim.w, dim.h);
154825
+ starDecoration.scale.set(1.5 * scaleFactor);
154826
+ starDecoration.x = -boundaryWidth / 4;
154827
+ starDecoration.y = 0;
154828
+ mainContainer.addChild(starDecoration);
154829
+ }
154830
+ }
154831
+ if (collaborators && collaborators > 0) {
154832
+ const tier = getCollaboratorTier(collaborators);
154833
+ const scaleFactor = getCollaboratorScaleFactor(collaborators);
154834
+ let collabDecoration = null;
154835
+ if (tier) {
154836
+ const decorationColor = tier.color;
154837
+ if (tier.decorationType === "bench") {
154838
+ collabDecoration = generateBenchSprite(decorationColor);
154839
+ } else if (tier.decorationType === "pavilion") {
154840
+ collabDecoration = generatePavilionSprite(decorationColor);
154841
+ } else if (tier.decorationType === "gazebo") {
154842
+ collabDecoration = generateGazeboSprite(decorationColor);
154843
+ } else if (tier.decorationType === "bandstand") {
154844
+ collabDecoration = generateBandstandSprite(decorationColor);
154845
+ }
154846
+ }
154847
+ if (collabDecoration) {
154848
+ const dim = { w: 12, h: 12 };
154849
+ collabDecoration.pivot.set(0, dim.h);
154850
+ collabDecoration.scale.set(1.5 * scaleFactor);
154851
+ collabDecoration.x = boundaryWidth / 4;
154852
+ collabDecoration.y = 0;
154853
+ mainContainer.addChild(collabDecoration);
154854
+ }
154855
+ }
154856
+ app.render();
154857
+ const canvas = app.canvas;
154858
+ const dataUrl = canvas.toDataURL("image/png");
154859
+ return dataUrl;
154860
+ } finally {
154861
+ app.destroy(true, { children: true });
154862
+ }
154863
+ }
154864
+ const spriteCache = /* @__PURE__ */ new Map();
154865
+ function getCacheKey(options) {
154866
+ var _a;
154867
+ return JSON.stringify({
154868
+ size: options.size,
154869
+ color: options.color,
154870
+ packages: (_a = options.packages) == null ? void 0 : _a.map((p2) => ({ name: p2.name, color: p2.color })),
154871
+ stars: options.stars,
154872
+ collaborators: options.collaborators,
154873
+ license: options.license,
154874
+ label: options.label,
154875
+ width: options.width,
154876
+ height: options.height
154877
+ });
154878
+ }
154879
+ async function renderSpriteToDataUrlCached(options) {
154880
+ const cacheKey = getCacheKey(options);
154881
+ const cached = spriteCache.get(cacheKey);
154882
+ if (cached) {
154883
+ return cached;
154884
+ }
154885
+ const dataUrl = await renderSpriteToDataUrl(options);
154886
+ spriteCache.set(cacheKey, dataUrl);
154887
+ return dataUrl;
154888
+ }
154889
+ function clearSpriteCache() {
154890
+ spriteCache.clear();
154891
+ }
154892
+ function getSpriteCacheSize() {
154893
+ return spriteCache.size;
154894
+ }
154895
+ const languageColors = {
154896
+ TypeScript: 3242182,
154897
+ JavaScript: 16244510,
154898
+ Python: 3634859,
154899
+ Rust: 14591364,
154900
+ Go: 44504,
154901
+ Java: 11563545,
154902
+ "C++": 15944573,
154903
+ C: 5592405,
154904
+ "C#": 1541632,
154905
+ Ruby: 13382701,
154906
+ PHP: 5201301,
154907
+ Swift: 15749432,
154908
+ Kotlin: 11107327,
154909
+ Shell: 9035857,
154910
+ HTML: 14896166,
154911
+ CSS: 5651836,
154912
+ Vue: 4307075,
154913
+ Svelte: 16727552
154914
+ };
154915
+ function hashStringToColor(str2) {
154916
+ let hash = 0;
154917
+ for (let i2 = 0; i2 < str2.length; i2++) {
154918
+ hash = str2.charCodeAt(i2) + ((hash << 5) - hash);
154919
+ }
154920
+ const h2 = Math.abs(hash % 360);
154921
+ const s2 = 30 + Math.abs((hash >> 8) % 30);
154922
+ const l2 = 35 + Math.abs((hash >> 16) % 20);
154923
+ const sNorm = s2 / 100;
154924
+ const lNorm = l2 / 100;
154925
+ const a2 = sNorm * Math.min(lNorm, 1 - lNorm);
154926
+ const f2 = (n2) => {
154927
+ const k2 = (n2 + h2 / 30) % 12;
154928
+ const color2 = lNorm - a2 * Math.max(Math.min(k2 - 3, 9 - k2, 1), -1);
154929
+ return Math.round(255 * color2);
154930
+ };
154931
+ return (f2(0) << 16) + (f2(8) << 8) + f2(4);
154932
+ }
154933
+ function getRepositoryColor(repository) {
154934
+ var _a;
154935
+ if (repository.bookColor) {
154936
+ if (repository.bookColor.startsWith("#")) {
154937
+ return parseInt(repository.bookColor.slice(1), 16);
154938
+ }
154939
+ return hashStringToColor(repository.bookColor);
154940
+ }
154941
+ const language2 = (_a = repository.github) == null ? void 0 : _a.primaryLanguage;
154942
+ if (language2 && languageColors[language2]) {
154943
+ return languageColors[language2];
154944
+ }
154945
+ return hashStringToColor(repository.name);
154946
+ }
154947
+ function formatNumber(num) {
154948
+ if (num < 1e3) return num.toString();
154949
+ if (num < 1e6) return `${(num / 1e3).toFixed(1)}k`;
154950
+ return `${(num / 1e6).toFixed(1)}M`;
154951
+ }
154952
+ const cardThemes = {
154953
+ blue: { bg: "#1e3a5f", border: "#3b82f6", text: "#93c5fd" },
154954
+ red: { bg: "#5f1e1e", border: "#ef4444", text: "#fca5a5" },
154955
+ green: { bg: "#1e5f3a", border: "#22c55e", text: "#86efac" },
154956
+ purple: { bg: "#3b1e5f", border: "#8b5cf6", text: "#c4b5fd" },
154957
+ gold: { bg: "#5f4a1e", border: "#f59e0b", text: "#fcd34d" },
154958
+ dark: { bg: "#1a1a2e", border: "#4a4a6a", text: "#a0a0c0" }
154959
+ };
154960
+ const RepoCardStatic = ({
154961
+ repository,
154962
+ cardTheme = "dark",
154963
+ width = 200,
154964
+ height = 280,
154965
+ spriteSize = 160,
154966
+ showMetadata = true
154967
+ }) => {
154968
+ var _a, _b, _c;
154969
+ const { theme: theme2 } = useTheme();
154970
+ const [spriteDataUrl, setSpriteDataUrl] = useState(null);
154971
+ const [isLoading, setIsLoading] = useState(true);
154972
+ const themeColors = cardThemes[cardTheme];
154973
+ const size = calculateRepositorySize(repository.metrics);
154974
+ const color2 = getRepositoryColor(repository);
154975
+ useEffect(() => {
154976
+ let mounted = true;
154977
+ async function renderSprite() {
154978
+ var _a2, _b2, _c2;
154979
+ try {
154980
+ const dataUrl = await renderSpriteToDataUrlCached({
154981
+ size,
154982
+ color: color2,
154983
+ stars: (_a2 = repository.github) == null ? void 0 : _a2.stars,
154984
+ collaborators: (_b2 = repository.metrics) == null ? void 0 : _b2.contributors,
154985
+ license: (_c2 = repository.github) == null ? void 0 : _c2.license,
154986
+ label: repository.name,
154987
+ width: spriteSize,
154988
+ height: spriteSize
154989
+ });
154990
+ if (mounted) {
154991
+ setSpriteDataUrl(dataUrl);
154992
+ setIsLoading(false);
154993
+ }
154994
+ } catch (error) {
154995
+ console.error("Failed to render sprite:", error);
154996
+ if (mounted) {
154997
+ setIsLoading(false);
154998
+ }
154999
+ }
155000
+ }
155001
+ renderSprite();
155002
+ return () => {
155003
+ mounted = false;
155004
+ };
155005
+ }, [size, color2, repository, spriteSize]);
155006
+ return /* @__PURE__ */ jsxs(
155007
+ "div",
155008
+ {
155009
+ style: {
155010
+ width,
155011
+ height,
155012
+ display: "flex",
155013
+ flexDirection: "column",
155014
+ backgroundColor: themeColors.bg,
155015
+ border: `2px solid ${themeColors.border}`,
155016
+ borderRadius: "12px",
155017
+ overflow: "hidden",
155018
+ fontFamily: theme2.fonts.body
155019
+ },
155020
+ children: [
155021
+ /* @__PURE__ */ jsx(
155022
+ "div",
155023
+ {
155024
+ style: {
155025
+ flex: 1,
155026
+ display: "flex",
155027
+ alignItems: "center",
155028
+ justifyContent: "center",
155029
+ padding: "8px",
155030
+ minHeight: spriteSize
155031
+ },
155032
+ children: isLoading ? /* @__PURE__ */ jsx(
155033
+ "div",
155034
+ {
155035
+ style: {
155036
+ width: spriteSize * 0.5,
155037
+ height: spriteSize * 0.5,
155038
+ backgroundColor: `${themeColors.border}40`,
155039
+ borderRadius: "8px",
155040
+ animation: "pulse 1.5s ease-in-out infinite"
155041
+ }
155042
+ }
155043
+ ) : spriteDataUrl ? (
155044
+ // eslint-disable-next-line @next/next/no-img-element
155045
+ /* @__PURE__ */ jsx(
155046
+ "img",
155047
+ {
155048
+ src: spriteDataUrl,
155049
+ alt: repository.name,
155050
+ style: {
155051
+ maxWidth: "100%",
155052
+ maxHeight: "100%",
155053
+ objectFit: "contain"
155054
+ }
155055
+ }
155056
+ )
155057
+ ) : /* @__PURE__ */ jsx(
155058
+ "div",
155059
+ {
155060
+ style: {
155061
+ width: spriteSize * 0.5,
155062
+ height: spriteSize * 0.5,
155063
+ backgroundColor: `#${color2.toString(16).padStart(6, "0")}`,
155064
+ borderRadius: "8px",
155065
+ opacity: 0.5
155066
+ }
155067
+ }
155068
+ )
155069
+ }
155070
+ ),
155071
+ showMetadata && /* @__PURE__ */ jsxs(
155072
+ "div",
155073
+ {
155074
+ style: {
155075
+ padding: "12px",
155076
+ borderTop: `1px solid ${themeColors.border}40`,
155077
+ backgroundColor: `${themeColors.bg}cc`
155078
+ },
155079
+ children: [
155080
+ /* @__PURE__ */ jsx(
155081
+ "div",
155082
+ {
155083
+ style: {
155084
+ fontSize: "14px",
155085
+ fontWeight: 600,
155086
+ color: themeColors.text,
155087
+ marginBottom: "8px",
155088
+ overflow: "hidden",
155089
+ textOverflow: "ellipsis",
155090
+ whiteSpace: "nowrap"
155091
+ },
155092
+ title: repository.name,
155093
+ children: repository.name
155094
+ }
155095
+ ),
155096
+ /* @__PURE__ */ jsxs(
155097
+ "div",
155098
+ {
155099
+ style: {
155100
+ display: "flex",
155101
+ gap: "12px",
155102
+ fontSize: "12px",
155103
+ color: `${themeColors.text}99`
155104
+ },
155105
+ children: [
155106
+ ((_a = repository.github) == null ? void 0 : _a.stars) !== void 0 && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
155107
+ /* @__PURE__ */ jsx(Star$1, { size: 12 }),
155108
+ formatNumber(repository.github.stars)
155109
+ ] }),
155110
+ ((_b = repository.metrics) == null ? void 0 : _b.contributors) !== void 0 && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
155111
+ /* @__PURE__ */ jsx(Users$1, { size: 12 }),
155112
+ formatNumber(repository.metrics.contributors)
155113
+ ] }),
155114
+ ((_c = repository.github) == null ? void 0 : _c.primaryLanguage) && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
155115
+ /* @__PURE__ */ jsx(FileCode$1, { size: 12 }),
155116
+ repository.github.primaryLanguage
155117
+ ] })
155118
+ ]
155119
+ }
155120
+ )
155121
+ ]
155122
+ }
155123
+ )
155124
+ ]
155125
+ }
155126
+ );
155127
+ };
154639
155128
  const panels = [
154640
155129
  {
154641
155130
  metadata: {
@@ -154760,14 +155249,19 @@ const onPackageUnload = async () => {
154760
155249
  };
154761
155250
  export {
154762
155251
  AccessibilitySystem as A,
154763
- CollectionMapPanel as B,
155252
+ renderSpriteToDataUrlCached as B,
154764
155253
  Container as C,
154765
155254
  DependencyGraphPanel as D,
154766
155255
  EventSystem as E,
154767
155256
  FilterSystem as F,
154768
155257
  GitChangesPanel as G,
154769
- CollectionMapPanelContent as H,
155258
+ clearSpriteCache as H,
155259
+ getSpriteCacheSize as I,
155260
+ TelemetryCoveragePanelContent as J,
155261
+ TelemetryCoveragePanelPreview as K,
155262
+ CollectionMapPanel as L,
154770
155263
  MAX_NODES_PER_MAP as M,
155264
+ CollectionMapPanelContent as N,
154771
155265
  OverworldMapPanelContent as O,
154772
155266
  PackageCompositionPanel as P,
154773
155267
  RepoSprite as R,
@@ -154797,7 +155291,7 @@ export {
154797
155291
  gridToScreen as v,
154798
155292
  screenToGrid as w,
154799
155293
  RepoCard as x,
154800
- TelemetryCoveragePanelContent as y,
154801
- TelemetryCoveragePanelPreview as z
155294
+ RepoCardStatic as y,
155295
+ renderSpriteToDataUrl as z
154802
155296
  };
154803
- //# sourceMappingURL=index-D2EoLxKB.js.map
155297
+ //# sourceMappingURL=index-c5OYiccd.js.map