@pollinations/ui 0.1.0-alpha.3 → 0.1.0-alpha.5
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.
- package/README.md +21 -10
- package/dist/{Button-CO3Dpbkj.d.cts → Button-ByKwRtdw.d.cts} +1 -1
- package/dist/{Button-CO3Dpbkj.d.ts → Button-ByKwRtdw.d.ts} +1 -1
- package/dist/{Dialog-yXzIFrDg.d.cts → Dialog-D3Nqt8cE.d.cts} +4 -1
- package/dist/{Dialog-yXzIFrDg.d.ts → Dialog-D3Nqt8cE.d.ts} +4 -1
- package/dist/app-user-menu/sdk.cjs +193 -133
- package/dist/app-user-menu/sdk.cjs.map +1 -1
- package/dist/app-user-menu/sdk.d.cts +17 -1
- package/dist/app-user-menu/sdk.d.ts +17 -1
- package/dist/app-user-menu/sdk.js +182 -122
- package/dist/app-user-menu/sdk.js.map +1 -1
- package/dist/app.css +6 -0
- package/dist/auth/index.cjs +233 -223
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.cts +6 -3
- package/dist/auth/index.d.ts +6 -3
- package/dist/auth/index.js +226 -216
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/sdk.cjs +13 -8
- package/dist/auth/sdk.cjs.map +1 -1
- package/dist/auth/sdk.d.cts +1 -1
- package/dist/auth/sdk.d.ts +1 -1
- package/dist/auth/sdk.js +13 -8
- package/dist/auth/sdk.js.map +1 -1
- package/dist/brand/lockup-horizontal-black.png +0 -0
- package/dist/brand/lockup-horizontal-black.svg +3 -3
- package/dist/brand/lockup-horizontal-white.png +0 -0
- package/dist/brand/lockup-horizontal-white.svg +3 -3
- package/dist/brand/lockup-horizontal.svg +4 -1
- package/dist/brand/lockup-stacked-black.png +0 -0
- package/dist/brand/lockup-stacked-black.svg +1 -1
- package/dist/brand/lockup-stacked-white.png +0 -0
- package/dist/brand/lockup-stacked-white.svg +1 -1
- package/dist/brand/lockup-stacked.svg +1 -1
- package/dist/brand/mark-black.png +0 -0
- package/dist/brand/mark-black.svg +1 -3
- package/dist/brand/mark-white.png +0 -0
- package/dist/brand/mark-white.svg +1 -3
- package/dist/brand/mark.svg +1 -1
- package/dist/gen/index.cjs +47 -18
- package/dist/gen/index.cjs.map +1 -1
- package/dist/gen/index.d.cts +5 -1
- package/dist/gen/index.d.ts +5 -1
- package/dist/gen/index.js +57 -30
- package/dist/gen/index.js.map +1 -1
- package/dist/index.browser.min.js +1 -1
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +1044 -817
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +73 -27
- package/dist/index.d.ts +73 -27
- package/dist/index.js +1065 -843
- package/dist/index.js.map +1 -1
- package/dist/markdown.cjs +13 -8
- package/dist/markdown.cjs.map +1 -1
- package/dist/markdown.js +13 -8
- package/dist/markdown.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme.css +3 -8
- package/dist/wallet/index.cjs +45 -31
- package/dist/wallet/index.cjs.map +1 -1
- package/dist/wallet/index.d.cts +1 -0
- package/dist/wallet/index.d.ts +1 -0
- package/dist/wallet/index.js +45 -31
- package/dist/wallet/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22,8 +22,10 @@ var src_exports = {};
|
|
|
22
22
|
__export(src_exports, {
|
|
23
23
|
AccountIcon: () => AccountIcon,
|
|
24
24
|
AccountIdentity: () => AccountIdentity,
|
|
25
|
+
AccountIdentityLink: () => AccountIdentityLink,
|
|
25
26
|
AccountMenu: () => AccountMenu,
|
|
26
27
|
Alert: () => Alert,
|
|
28
|
+
AppBrand: () => AppBrand,
|
|
27
29
|
AppHeader: () => AppHeader,
|
|
28
30
|
AppIcon: () => AppIcon,
|
|
29
31
|
ArrowLeftIcon: () => ArrowLeftIcon,
|
|
@@ -32,6 +34,7 @@ __export(src_exports, {
|
|
|
32
34
|
BeakerIcon: () => BeakerIcon,
|
|
33
35
|
BookIcon: () => BookIcon,
|
|
34
36
|
BotIcon: () => BotIcon,
|
|
37
|
+
BrandMark: () => BrandMark,
|
|
35
38
|
BugIcon: () => BugIcon,
|
|
36
39
|
Button: () => Button,
|
|
37
40
|
ButtonGroup: () => ButtonGroup,
|
|
@@ -103,6 +106,7 @@ __export(src_exports, {
|
|
|
103
106
|
KeyIcon: () => KeyIcon,
|
|
104
107
|
LinkCard: () => LinkCard,
|
|
105
108
|
LinkedInIcon: () => LinkedInIcon,
|
|
109
|
+
LoadingStatus: () => LoadingStatus,
|
|
106
110
|
LockIcon: () => LockIcon,
|
|
107
111
|
LogInIcon: () => LogInIcon,
|
|
108
112
|
LogOutIcon: () => LogOutIcon,
|
|
@@ -123,6 +127,7 @@ __export(src_exports, {
|
|
|
123
127
|
PlusIcon: () => PlusIcon,
|
|
124
128
|
PowerIcon: () => PowerIcon,
|
|
125
129
|
ReasoningIcon: () => ReasoningIcon,
|
|
130
|
+
ReceiptIcon: () => ReceiptIcon,
|
|
126
131
|
RefreshIcon: () => RefreshIcon,
|
|
127
132
|
RobotIcon: () => RobotIcon,
|
|
128
133
|
RocketIcon: () => RocketIcon,
|
|
@@ -272,187 +277,8 @@ var Dropdown = ({
|
|
|
272
277
|
);
|
|
273
278
|
};
|
|
274
279
|
|
|
275
|
-
// src/compositions/AccountIdentity.tsx
|
|
276
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
277
|
-
function initials(name) {
|
|
278
|
-
const parts = name.trim().split(/\s+/).filter(Boolean);
|
|
279
|
-
if (parts.length === 0) return "?";
|
|
280
|
-
if (parts.length === 1) return parts[0].slice(0, 2).toUpperCase();
|
|
281
|
-
return `${parts[0][0] ?? ""}${parts.at(-1)?.[0] ?? ""}`.toUpperCase();
|
|
282
|
-
}
|
|
283
|
-
function AccountAvatar({
|
|
284
|
-
name,
|
|
285
|
-
avatarUrl,
|
|
286
|
-
secondaryContent,
|
|
287
|
-
dashboardHref
|
|
288
|
-
}) {
|
|
289
|
-
const large = secondaryContent != null;
|
|
290
|
-
const className = large ? "polli:h-11 polli:w-11" : "polli:h-8 polli:w-8";
|
|
291
|
-
const avatar = avatarUrl ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
292
|
-
"img",
|
|
293
|
-
{
|
|
294
|
-
src: avatarUrl,
|
|
295
|
-
alt: "",
|
|
296
|
-
className: cn(
|
|
297
|
-
className,
|
|
298
|
-
"polli:shrink-0 polli:rounded-full polli:object-cover"
|
|
299
|
-
)
|
|
300
|
-
}
|
|
301
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
302
|
-
"span",
|
|
303
|
-
{
|
|
304
|
-
role: "img",
|
|
305
|
-
"aria-label": `${name} avatar`,
|
|
306
|
-
className: cn(
|
|
307
|
-
className,
|
|
308
|
-
"polli:flex polli:shrink-0 polli:items-center polli:justify-center polli:rounded-full polli:bg-theme-bg-pale polli:text-xs polli:font-semibold polli:text-theme-text-strong"
|
|
309
|
-
),
|
|
310
|
-
children: initials(name)
|
|
311
|
-
}
|
|
312
|
-
);
|
|
313
|
-
return dashboardHref ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
314
|
-
"a",
|
|
315
|
-
{
|
|
316
|
-
href: dashboardHref,
|
|
317
|
-
target: "_blank",
|
|
318
|
-
rel: "noopener noreferrer",
|
|
319
|
-
"aria-label": "Open dashboard",
|
|
320
|
-
title: "Open dashboard",
|
|
321
|
-
className: "polli:shrink-0 polli:rounded-full polli:cursor-pointer polli:transition-transform polli:hover:scale-105 polli:hover:brightness-110 polli:focus-visible:outline-2 polli:focus-visible:outline-offset-2 polli:focus-visible:outline-current polli:motion-reduce:transition-none polli:motion-reduce:hover:scale-100",
|
|
322
|
-
children: avatar
|
|
323
|
-
}
|
|
324
|
-
) : avatar;
|
|
325
|
-
}
|
|
326
|
-
function AccountIdentity({
|
|
327
|
-
name,
|
|
328
|
-
avatarUrl,
|
|
329
|
-
secondaryContent,
|
|
330
|
-
dashboardHref,
|
|
331
|
-
className
|
|
332
|
-
}) {
|
|
333
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
334
|
-
"span",
|
|
335
|
-
{
|
|
336
|
-
className: cn(
|
|
337
|
-
"polli:flex polli:min-w-0 polli:items-center polli:gap-2 polli:rounded-full polli:bg-surface-opaque polli:p-1 polli:pr-3",
|
|
338
|
-
className
|
|
339
|
-
),
|
|
340
|
-
children: [
|
|
341
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
342
|
-
AccountAvatar,
|
|
343
|
-
{
|
|
344
|
-
name,
|
|
345
|
-
avatarUrl,
|
|
346
|
-
dashboardHref,
|
|
347
|
-
secondaryContent
|
|
348
|
-
}
|
|
349
|
-
),
|
|
350
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AccountDetails, { name, secondaryContent })
|
|
351
|
-
]
|
|
352
|
-
}
|
|
353
|
-
);
|
|
354
|
-
}
|
|
355
|
-
function AccountDetails({
|
|
356
|
-
name,
|
|
357
|
-
secondaryContent,
|
|
358
|
-
secondaryId
|
|
359
|
-
}) {
|
|
360
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: "polli:flex polli:min-w-0 polli:flex-col polli:items-start polli:text-left", children: [
|
|
361
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
362
|
-
"span",
|
|
363
|
-
{
|
|
364
|
-
title: name,
|
|
365
|
-
className: "polli:max-w-full polli:truncate polli:text-sm polli:font-medium polli:leading-5 polli:text-theme-text-strong",
|
|
366
|
-
children: name
|
|
367
|
-
}
|
|
368
|
-
),
|
|
369
|
-
secondaryContent != null && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
370
|
-
"span",
|
|
371
|
-
{
|
|
372
|
-
id: secondaryId,
|
|
373
|
-
className: "polli:inline-flex polli:min-h-5 polli:items-center polli:whitespace-nowrap polli:text-xs polli:leading-4 polli:text-theme-text-base",
|
|
374
|
-
children: secondaryContent
|
|
375
|
-
}
|
|
376
|
-
)
|
|
377
|
-
] });
|
|
378
|
-
}
|
|
379
|
-
function AccountMenu({
|
|
380
|
-
name,
|
|
381
|
-
avatarUrl,
|
|
382
|
-
dashboardHref,
|
|
383
|
-
secondaryContent,
|
|
384
|
-
children,
|
|
385
|
-
className,
|
|
386
|
-
menuClassName,
|
|
387
|
-
side = "bottom",
|
|
388
|
-
menuLabel = `Account menu for ${name}`
|
|
389
|
-
}) {
|
|
390
|
-
const statusId = (0, import_react2.useId)();
|
|
391
|
-
const avatar = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
392
|
-
AccountAvatar,
|
|
393
|
-
{
|
|
394
|
-
name,
|
|
395
|
-
avatarUrl,
|
|
396
|
-
dashboardHref,
|
|
397
|
-
secondaryContent
|
|
398
|
-
}
|
|
399
|
-
);
|
|
400
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
401
|
-
"div",
|
|
402
|
-
{
|
|
403
|
-
"data-theme": "accent",
|
|
404
|
-
className: cn(
|
|
405
|
-
"polli:flex polli:min-w-0 polli:items-center polli:gap-2 polli:rounded-full polli:bg-theme-bg-active polli:p-1 polli:pr-3 polli:text-theme-text-strong polli:transition-colors polli:hover:bg-theme-bg-hover",
|
|
406
|
-
className
|
|
407
|
-
),
|
|
408
|
-
children: [
|
|
409
|
-
dashboardHref && avatar,
|
|
410
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
411
|
-
Dropdown,
|
|
412
|
-
{
|
|
413
|
-
align: "end",
|
|
414
|
-
side,
|
|
415
|
-
className: cn(
|
|
416
|
-
"polli:w-max polli:min-w-[var(--reference-width)] polli:p-1",
|
|
417
|
-
menuClassName
|
|
418
|
-
),
|
|
419
|
-
trigger: (open) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
420
|
-
"button",
|
|
421
|
-
{
|
|
422
|
-
type: "button",
|
|
423
|
-
"aria-label": menuLabel,
|
|
424
|
-
"aria-describedby": secondaryContent != null ? statusId : void 0,
|
|
425
|
-
className: "polli-control polli:flex polli:min-w-0 polli:flex-1 polli:items-center polli:gap-2 polli:self-stretch polli:rounded-full polli:text-theme-text-strong",
|
|
426
|
-
children: [
|
|
427
|
-
!dashboardHref && avatar,
|
|
428
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
429
|
-
AccountDetails,
|
|
430
|
-
{
|
|
431
|
-
name,
|
|
432
|
-
secondaryContent,
|
|
433
|
-
secondaryId: statusId
|
|
434
|
-
}
|
|
435
|
-
),
|
|
436
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
437
|
-
ChevronIcon,
|
|
438
|
-
{
|
|
439
|
-
expanded: open,
|
|
440
|
-
className: "polli:ml-auto polli:h-4 polli:w-4 polli:text-theme-text-strong"
|
|
441
|
-
}
|
|
442
|
-
)
|
|
443
|
-
]
|
|
444
|
-
}
|
|
445
|
-
),
|
|
446
|
-
children
|
|
447
|
-
}
|
|
448
|
-
)
|
|
449
|
-
]
|
|
450
|
-
}
|
|
451
|
-
);
|
|
452
|
-
}
|
|
453
|
-
|
|
454
280
|
// src/primitives/icons/index.tsx
|
|
455
|
-
var
|
|
281
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
456
282
|
var strokeProps = {
|
|
457
283
|
fill: "none",
|
|
458
284
|
stroke: "currentColor",
|
|
@@ -461,51 +287,51 @@ var strokeProps = {
|
|
|
461
287
|
strokeLinejoin: "round"
|
|
462
288
|
};
|
|
463
289
|
function AppIcon(props) {
|
|
464
|
-
return /* @__PURE__ */ (0,
|
|
465
|
-
/* @__PURE__ */ (0,
|
|
466
|
-
/* @__PURE__ */ (0,
|
|
290
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
291
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "2", y: "4", width: "20", height: "14", rx: "2" }),
|
|
292
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2 20h20" })
|
|
467
293
|
] });
|
|
468
294
|
}
|
|
469
295
|
function AccountIcon(props) {
|
|
470
|
-
return /* @__PURE__ */ (0,
|
|
471
|
-
/* @__PURE__ */ (0,
|
|
472
|
-
/* @__PURE__ */ (0,
|
|
296
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
297
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "8", r: "4" }),
|
|
298
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 21a8 8 0 0 1 16 0" })
|
|
473
299
|
] });
|
|
474
300
|
}
|
|
475
301
|
function ArrowRightIcon(props) {
|
|
476
|
-
return /* @__PURE__ */ (0,
|
|
302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5 12h14M13 6l6 6-6 6" }) });
|
|
477
303
|
}
|
|
478
304
|
function BeakerIcon(props) {
|
|
479
|
-
return /* @__PURE__ */ (0,
|
|
480
|
-
/* @__PURE__ */ (0,
|
|
481
|
-
/* @__PURE__ */ (0,
|
|
482
|
-
/* @__PURE__ */ (0,
|
|
305
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
306
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 3h6" }),
|
|
307
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 3v6.5L4.5 18a2 2 0 0 0 1.7 3h11.6a2 2 0 0 0 1.7-3L14 9.5V3" }),
|
|
308
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7 14h10" })
|
|
483
309
|
] });
|
|
484
310
|
}
|
|
485
311
|
function BotIcon(props) {
|
|
486
|
-
return /* @__PURE__ */ (0,
|
|
487
|
-
/* @__PURE__ */ (0,
|
|
488
|
-
/* @__PURE__ */ (0,
|
|
489
|
-
/* @__PURE__ */ (0,
|
|
490
|
-
/* @__PURE__ */ (0,
|
|
312
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
313
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 8V4H8" }),
|
|
314
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "4", y: "8", width: "16", height: "12", rx: "2" }),
|
|
315
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2 14h2M20 14h2" }),
|
|
316
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 13v2M15 13v2" })
|
|
491
317
|
] });
|
|
492
318
|
}
|
|
493
319
|
function BookIcon(props) {
|
|
494
|
-
return /* @__PURE__ */ (0,
|
|
495
|
-
/* @__PURE__ */ (0,
|
|
496
|
-
/* @__PURE__ */ (0,
|
|
320
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
321
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 4h5a3 3 0 0 1 3 3v13a2 2 0 0 0-2-2H4z" }),
|
|
322
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M20 4h-5a3 3 0 0 0-3 3v13a2 2 0 0 1 2-2h6z" })
|
|
497
323
|
] });
|
|
498
324
|
}
|
|
499
325
|
function BugIcon(props) {
|
|
500
|
-
return /* @__PURE__ */ (0,
|
|
501
|
-
/* @__PURE__ */ (0,
|
|
502
|
-
/* @__PURE__ */ (0,
|
|
503
|
-
/* @__PURE__ */ (0,
|
|
504
|
-
/* @__PURE__ */ (0,
|
|
326
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
327
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m8 2 1.9 1.9M14.1 3.9 16 2" }),
|
|
328
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 7V6a3 3 0 0 1 6 0v1" }),
|
|
329
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 20c-3.3 0-6-2.7-6-6v-3a6 6 0 0 1 12 0v3c0 3.3-2.7 6-6 6Z" }),
|
|
330
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 20v-9M6.5 9C4.6 8.8 3 7.1 3 5M6 13H2M3 21c0-2.1 1.7-3.9 3.8-4M17.5 9C19.4 8.8 21 7.1 21 5M18 13h4M21 21c0-2.1-1.7-3.9-3.8-4" })
|
|
505
331
|
] });
|
|
506
332
|
}
|
|
507
333
|
function CheckIcon(props) {
|
|
508
|
-
return /* @__PURE__ */ (0,
|
|
334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
509
335
|
"svg",
|
|
510
336
|
{
|
|
511
337
|
"aria-hidden": "true",
|
|
@@ -513,24 +339,24 @@ function CheckIcon(props) {
|
|
|
513
339
|
...strokeProps,
|
|
514
340
|
strokeWidth: 2.5,
|
|
515
341
|
...props,
|
|
516
|
-
children: /* @__PURE__ */ (0,
|
|
342
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: "20 6 9 17 4 12" })
|
|
517
343
|
}
|
|
518
344
|
);
|
|
519
345
|
}
|
|
520
346
|
function ClipboardIcon(props) {
|
|
521
|
-
return /* @__PURE__ */ (0,
|
|
522
|
-
/* @__PURE__ */ (0,
|
|
523
|
-
/* @__PURE__ */ (0,
|
|
347
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
348
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2" }),
|
|
349
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
524
350
|
] });
|
|
525
351
|
}
|
|
526
352
|
function ClockIcon(props) {
|
|
527
|
-
return /* @__PURE__ */ (0,
|
|
528
|
-
/* @__PURE__ */ (0,
|
|
529
|
-
/* @__PURE__ */ (0,
|
|
353
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
354
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
355
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 7v5l3 2" })
|
|
530
356
|
] });
|
|
531
357
|
}
|
|
532
358
|
function DiscordIcon(props) {
|
|
533
|
-
return /* @__PURE__ */ (0,
|
|
359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
534
360
|
"path",
|
|
535
361
|
{
|
|
536
362
|
fill: "currentColor",
|
|
@@ -539,10 +365,10 @@ function DiscordIcon(props) {
|
|
|
539
365
|
) });
|
|
540
366
|
}
|
|
541
367
|
function InstagramIcon(props) {
|
|
542
|
-
return /* @__PURE__ */ (0,
|
|
543
|
-
/* @__PURE__ */ (0,
|
|
544
|
-
/* @__PURE__ */ (0,
|
|
545
|
-
/* @__PURE__ */ (0,
|
|
368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
369
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "5" }),
|
|
370
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
|
|
371
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
546
372
|
"circle",
|
|
547
373
|
{
|
|
548
374
|
cx: "17.5",
|
|
@@ -555,7 +381,7 @@ function InstagramIcon(props) {
|
|
|
555
381
|
] });
|
|
556
382
|
}
|
|
557
383
|
function XSocialIcon(props) {
|
|
558
|
-
return /* @__PURE__ */ (0,
|
|
384
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
559
385
|
"path",
|
|
560
386
|
{
|
|
561
387
|
fill: "currentColor",
|
|
@@ -564,7 +390,7 @@ function XSocialIcon(props) {
|
|
|
564
390
|
) });
|
|
565
391
|
}
|
|
566
392
|
function LinkedInIcon(props) {
|
|
567
|
-
return /* @__PURE__ */ (0,
|
|
393
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
568
394
|
"path",
|
|
569
395
|
{
|
|
570
396
|
fill: "currentColor",
|
|
@@ -573,63 +399,63 @@ function LinkedInIcon(props) {
|
|
|
573
399
|
) });
|
|
574
400
|
}
|
|
575
401
|
function DownloadIcon(props) {
|
|
576
|
-
return /* @__PURE__ */ (0,
|
|
577
|
-
/* @__PURE__ */ (0,
|
|
578
|
-
/* @__PURE__ */ (0,
|
|
579
|
-
/* @__PURE__ */ (0,
|
|
402
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
403
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
404
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: "7 10 12 15 17 10" }),
|
|
405
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "12", y1: "15", x2: "12", y2: "3" })
|
|
580
406
|
] });
|
|
581
407
|
}
|
|
582
408
|
function ExpandIcon(props) {
|
|
583
|
-
return /* @__PURE__ */ (0,
|
|
409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 3H3v5M16 3h5v5M21 16v5h-5M3 16v5h5" }) });
|
|
584
410
|
}
|
|
585
411
|
function PlayIcon(props) {
|
|
586
|
-
return /* @__PURE__ */ (0,
|
|
412
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { fill: "currentColor", d: "M7 4.5v15l12-7.5z" }) });
|
|
587
413
|
}
|
|
588
414
|
function PauseIcon(props) {
|
|
589
|
-
return /* @__PURE__ */ (0,
|
|
415
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { fill: "currentColor", d: "M6 4h4v16H6zM14 4h4v16h-4z" }) });
|
|
590
416
|
}
|
|
591
417
|
function CloudUploadIcon(props) {
|
|
592
|
-
return /* @__PURE__ */ (0,
|
|
593
|
-
/* @__PURE__ */ (0,
|
|
594
|
-
/* @__PURE__ */ (0,
|
|
418
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
419
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M17.5 19H19a4 4 0 0 0 .4-8A7.5 7.5 0 0 0 5 9.5 5 5 0 0 0 6 19h1.5" }),
|
|
420
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m8.5 15.5 3.5-3.5 3.5 3.5M12 12v9" })
|
|
595
421
|
] });
|
|
596
422
|
}
|
|
597
423
|
function ExternalLinkIcon(props) {
|
|
598
|
-
return /* @__PURE__ */ (0,
|
|
424
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7 17 17 7M9 7h8v8" }) });
|
|
599
425
|
}
|
|
600
426
|
function GenApiIcon(props) {
|
|
601
|
-
return /* @__PURE__ */ (0,
|
|
602
|
-
/* @__PURE__ */ (0,
|
|
603
|
-
/* @__PURE__ */ (0,
|
|
427
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
428
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m8 3 4 1.5L16 3v18l-4-1.5L8 21z" }),
|
|
429
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 3v18M16 3v18" })
|
|
604
430
|
] });
|
|
605
431
|
}
|
|
606
432
|
function GitBranchIcon(props) {
|
|
607
|
-
return /* @__PURE__ */ (0,
|
|
608
|
-
/* @__PURE__ */ (0,
|
|
609
|
-
/* @__PURE__ */ (0,
|
|
610
|
-
/* @__PURE__ */ (0,
|
|
611
|
-
/* @__PURE__ */ (0,
|
|
433
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
434
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "6", y1: "3", x2: "6", y2: "15" }),
|
|
435
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "18", cy: "6", r: "3" }),
|
|
436
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "6", cy: "18", r: "3" }),
|
|
437
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 9a9 9 0 0 1-9 9" })
|
|
612
438
|
] });
|
|
613
439
|
}
|
|
614
440
|
function GitPullRequestIcon(props) {
|
|
615
|
-
return /* @__PURE__ */ (0,
|
|
616
|
-
/* @__PURE__ */ (0,
|
|
617
|
-
/* @__PURE__ */ (0,
|
|
618
|
-
/* @__PURE__ */ (0,
|
|
441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
442
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "6", cy: "6", r: "3" }),
|
|
443
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "18", cy: "18", r: "3" }),
|
|
444
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M6 9v12M13 6h3a2 2 0 0 1 2 2v7" })
|
|
619
445
|
] });
|
|
620
446
|
}
|
|
621
447
|
function GraduationCapIcon(props) {
|
|
622
|
-
return /* @__PURE__ */ (0,
|
|
623
|
-
/* @__PURE__ */ (0,
|
|
624
|
-
/* @__PURE__ */ (0,
|
|
625
|
-
/* @__PURE__ */ (0,
|
|
448
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
449
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21.42 10.92a1 1 0 0 0-.02-1.84L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.83l8.57 3.91a2 2 0 0 0 1.66 0z" }),
|
|
450
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M22 10v6" }),
|
|
451
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M6 12.5V16a6 3 0 0 0 12 0v-3.5" })
|
|
626
452
|
] });
|
|
627
453
|
}
|
|
628
454
|
function SparklesIcon(props) {
|
|
629
|
-
return /* @__PURE__ */ (0,
|
|
455
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 3l1.9 5.8a2 2 0 0 0 1.3 1.3L21 12l-5.8 1.9a2 2 0 0 0-1.3 1.3L12 21l-1.9-5.8a2 2 0 0 0-1.3-1.3L3 12l5.8-1.9a2 2 0 0 0 1.3-1.3z" }) });
|
|
630
456
|
}
|
|
631
457
|
function GitHubIcon(props) {
|
|
632
|
-
return /* @__PURE__ */ (0,
|
|
458
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
633
459
|
"path",
|
|
634
460
|
{
|
|
635
461
|
fill: "currentColor",
|
|
@@ -638,243 +464,249 @@ function GitHubIcon(props) {
|
|
|
638
464
|
) });
|
|
639
465
|
}
|
|
640
466
|
function ImageIcon(props) {
|
|
641
|
-
return /* @__PURE__ */ (0,
|
|
642
|
-
/* @__PURE__ */ (0,
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
644
|
-
/* @__PURE__ */ (0,
|
|
467
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
468
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
469
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "9", cy: "9", r: "2" }),
|
|
470
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m21 15-5-5L5 21" })
|
|
645
471
|
] });
|
|
646
472
|
}
|
|
647
473
|
function CubeIcon(props) {
|
|
648
|
-
return /* @__PURE__ */ (0,
|
|
649
|
-
/* @__PURE__ */ (0,
|
|
650
|
-
/* @__PURE__ */ (0,
|
|
651
|
-
/* @__PURE__ */ (0,
|
|
474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
475
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m21 16-9 5-9-5V8l9-5 9 5z" }),
|
|
476
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m3 8 9 5 9-5" }),
|
|
477
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 13v8" })
|
|
652
478
|
] });
|
|
653
479
|
}
|
|
654
480
|
function AudioIcon(props) {
|
|
655
|
-
return /* @__PURE__ */ (0,
|
|
656
|
-
/* @__PURE__ */ (0,
|
|
657
|
-
/* @__PURE__ */ (0,
|
|
658
|
-
/* @__PURE__ */ (0,
|
|
481
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
482
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 18V5l12-2v13" }),
|
|
483
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "6", cy: "18", r: "3" }),
|
|
484
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "18", cy: "16", r: "3" })
|
|
659
485
|
] });
|
|
660
486
|
}
|
|
661
487
|
function LockIcon(props) {
|
|
662
|
-
return /* @__PURE__ */ (0,
|
|
663
|
-
/* @__PURE__ */ (0,
|
|
664
|
-
/* @__PURE__ */ (0,
|
|
488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
489
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }),
|
|
490
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
|
|
665
491
|
] });
|
|
666
492
|
}
|
|
667
493
|
function LogInIcon(props) {
|
|
668
|
-
return /* @__PURE__ */ (0,
|
|
669
|
-
/* @__PURE__ */ (0,
|
|
670
|
-
/* @__PURE__ */ (0,
|
|
671
|
-
/* @__PURE__ */ (0,
|
|
494
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
495
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 17l5-5-5-5" }),
|
|
496
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 12H3" }),
|
|
497
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" })
|
|
672
498
|
] });
|
|
673
499
|
}
|
|
674
500
|
function LogOutIcon(props) {
|
|
675
|
-
return /* @__PURE__ */ (0,
|
|
676
|
-
/* @__PURE__ */ (0,
|
|
677
|
-
/* @__PURE__ */ (0,
|
|
678
|
-
/* @__PURE__ */ (0,
|
|
501
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
502
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
|
|
503
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m16 17 5-5-5-5" }),
|
|
504
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 12H9" })
|
|
679
505
|
] });
|
|
680
506
|
}
|
|
681
507
|
function MailIcon(props) {
|
|
682
|
-
return /* @__PURE__ */ (0,
|
|
683
|
-
/* @__PURE__ */ (0,
|
|
684
|
-
/* @__PURE__ */ (0,
|
|
508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
509
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }),
|
|
510
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m3 7 9 7 9-7" })
|
|
685
511
|
] });
|
|
686
512
|
}
|
|
687
513
|
function McpIcon(props) {
|
|
688
|
-
return /* @__PURE__ */ (0,
|
|
689
|
-
/* @__PURE__ */ (0,
|
|
690
|
-
/* @__PURE__ */ (0,
|
|
691
|
-
/* @__PURE__ */ (0,
|
|
514
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
515
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "2", y: "4", width: "8", height: "16", rx: "1.5" }),
|
|
516
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "14", y: "4", width: "8", height: "16", rx: "1.5" }),
|
|
517
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 12h4" })
|
|
692
518
|
] });
|
|
693
519
|
}
|
|
694
520
|
function MenuIcon(props) {
|
|
695
|
-
return /* @__PURE__ */ (0,
|
|
521
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 7h16M4 12h16M4 17h16" }) });
|
|
696
522
|
}
|
|
697
523
|
function NewspaperIcon(props) {
|
|
698
|
-
return /* @__PURE__ */ (0,
|
|
699
|
-
/* @__PURE__ */ (0,
|
|
700
|
-
/* @__PURE__ */ (0,
|
|
701
|
-
/* @__PURE__ */ (0,
|
|
524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
525
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5 4h12a1 1 0 0 1 1 1v14a1 1 0 0 0 1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1z" }),
|
|
526
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 8h2a1 1 0 0 1 1 1v9a2 2 0 0 1-2 2" }),
|
|
527
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7 8h7M7 12h7M7 16h4" })
|
|
702
528
|
] });
|
|
703
529
|
}
|
|
704
530
|
function PlusIcon(props) {
|
|
705
|
-
return /* @__PURE__ */ (0,
|
|
531
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 5v14M5 12h14" }) });
|
|
706
532
|
}
|
|
707
533
|
function TerminalIcon(props) {
|
|
708
|
-
return /* @__PURE__ */ (0,
|
|
709
|
-
/* @__PURE__ */ (0,
|
|
710
|
-
/* @__PURE__ */ (0,
|
|
534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
535
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: "4 8 8 12 4 16" }),
|
|
536
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "12", y1: "20", x2: "20", y2: "20" })
|
|
711
537
|
] });
|
|
712
538
|
}
|
|
713
539
|
function ToolIcon(props) {
|
|
714
|
-
return /* @__PURE__ */ (0,
|
|
540
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l2.1 2.1a1 1 0 0 0 1.4 0l4-4a6 6 0 0 1-8 8l-8 8a2.8 2.8 0 0 1-4-4l8-8a6 6 0 0 1 8-8l-4 4Z" }) });
|
|
715
541
|
}
|
|
716
542
|
function TargetIcon(props) {
|
|
717
|
-
return /* @__PURE__ */ (0,
|
|
718
|
-
/* @__PURE__ */ (0,
|
|
719
|
-
/* @__PURE__ */ (0,
|
|
720
|
-
/* @__PURE__ */ (0,
|
|
543
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
544
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
545
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "5" }),
|
|
546
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "1.6", fill: "currentColor", stroke: "none" })
|
|
721
547
|
] });
|
|
722
548
|
}
|
|
723
549
|
function TokensIcon(props) {
|
|
724
|
-
return /* @__PURE__ */ (0,
|
|
550
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 9h16M4 15h16M10 3 8 21M16 3l-2 18" }) });
|
|
725
551
|
}
|
|
726
552
|
function UsageIcon(props) {
|
|
727
|
-
return /* @__PURE__ */ (0,
|
|
728
|
-
/* @__PURE__ */ (0,
|
|
729
|
-
/* @__PURE__ */ (0,
|
|
730
|
-
/* @__PURE__ */ (0,
|
|
731
|
-
/* @__PURE__ */ (0,
|
|
732
|
-
/* @__PURE__ */ (0,
|
|
553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
554
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 18a8 8 0 1 1 16 0" }),
|
|
555
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 18l3.5-5" }),
|
|
556
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7 18h10" }),
|
|
557
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7.5 12.5 6 11" }),
|
|
558
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M16.5 12.5 18 11" })
|
|
733
559
|
] });
|
|
734
560
|
}
|
|
735
561
|
function WarningIcon(props) {
|
|
736
|
-
return /* @__PURE__ */ (0,
|
|
737
|
-
/* @__PURE__ */ (0,
|
|
738
|
-
/* @__PURE__ */ (0,
|
|
562
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
563
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10.3 3.1 1.8 17a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.1a2 2 0 0 0-3.4 0Z" }),
|
|
564
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 9v4M12 17h.01" })
|
|
739
565
|
] });
|
|
740
566
|
}
|
|
741
567
|
function TrendUpIcon(props) {
|
|
742
|
-
return /* @__PURE__ */ (0,
|
|
743
|
-
/* @__PURE__ */ (0,
|
|
744
|
-
/* @__PURE__ */ (0,
|
|
568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
569
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: "3 17 9 11 13 15 21 7" }),
|
|
570
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: "15 7 21 7 21 13" })
|
|
745
571
|
] });
|
|
746
572
|
}
|
|
747
573
|
function EarningsIcon(props) {
|
|
748
|
-
return /* @__PURE__ */ (0,
|
|
749
|
-
/* @__PURE__ */ (0,
|
|
750
|
-
/* @__PURE__ */ (0,
|
|
751
|
-
/* @__PURE__ */ (0,
|
|
752
|
-
/* @__PURE__ */ (0,
|
|
753
|
-
/* @__PURE__ */ (0,
|
|
754
|
-
/* @__PURE__ */ (0,
|
|
574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
575
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ellipse", { cx: "10", cy: "6", rx: "6", ry: "3" }),
|
|
576
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 6v8c0 1.7 2.7 3 6 3 1.2 0 2.4-.2 3.3-.5" }),
|
|
577
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M16 6v4" }),
|
|
578
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 10c0 1.7 2.7 3 6 3 1.1 0 2.1-.1 3-.4" }),
|
|
579
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 14v6" }),
|
|
580
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15 17h6" })
|
|
755
581
|
] });
|
|
756
582
|
}
|
|
757
583
|
function WalletIcon(props) {
|
|
758
|
-
return /* @__PURE__ */ (0,
|
|
759
|
-
/* @__PURE__ */ (0,
|
|
760
|
-
/* @__PURE__ */ (0,
|
|
761
|
-
/* @__PURE__ */ (0,
|
|
584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
585
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 7a2 2 0 0 1 2-2h13a2 2 0 0 1 2 2v2H5a2 2 0 0 0-2 2V7Z" }),
|
|
586
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 11a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-6Z" }),
|
|
587
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "17", cy: "14", r: "1.25", fill: "currentColor" })
|
|
588
|
+
] });
|
|
589
|
+
}
|
|
590
|
+
function ReceiptIcon(props) {
|
|
591
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
592
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M6 3h12v18l-2-1.5-2 1.5-2-1.5-2 1.5-2-1.5L6 21Z" }),
|
|
593
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 8h6M9 12h6M9 16h3" })
|
|
762
594
|
] });
|
|
763
595
|
}
|
|
764
596
|
function MoonIcon(props) {
|
|
765
|
-
return /* @__PURE__ */ (0,
|
|
597
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z" }) });
|
|
766
598
|
}
|
|
767
599
|
function SunIcon(props) {
|
|
768
|
-
return /* @__PURE__ */ (0,
|
|
769
|
-
/* @__PURE__ */ (0,
|
|
770
|
-
/* @__PURE__ */ (0,
|
|
600
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
601
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
|
|
602
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4" })
|
|
771
603
|
] });
|
|
772
604
|
}
|
|
773
605
|
function XIcon(props) {
|
|
774
|
-
return /* @__PURE__ */ (0,
|
|
606
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18 6 6 18M6 6l12 12" }) });
|
|
775
607
|
}
|
|
776
608
|
function TrashIcon(props) {
|
|
777
|
-
return /* @__PURE__ */ (0,
|
|
778
|
-
/* @__PURE__ */ (0,
|
|
779
|
-
/* @__PURE__ */ (0,
|
|
780
|
-
/* @__PURE__ */ (0,
|
|
781
|
-
/* @__PURE__ */ (0,
|
|
609
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
610
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 6h18" }),
|
|
611
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 6V4h8v2" }),
|
|
612
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m19 6-1 15H6L5 6" }),
|
|
613
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 11v6M14 11v6" })
|
|
782
614
|
] });
|
|
783
615
|
}
|
|
784
616
|
function ChatIcon(props) {
|
|
785
|
-
return /* @__PURE__ */ (0,
|
|
617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }) });
|
|
786
618
|
}
|
|
787
619
|
function RobotIcon(props) {
|
|
788
|
-
return /* @__PURE__ */ (0,
|
|
789
|
-
/* @__PURE__ */ (0,
|
|
790
|
-
/* @__PURE__ */ (0,
|
|
791
|
-
/* @__PURE__ */ (0,
|
|
792
|
-
/* @__PURE__ */ (0,
|
|
620
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
621
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "6", width: "18", height: "15", rx: "3" }),
|
|
622
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 2v4M3 11H1v5h2M21 11h2v5h-2M8 17h8" }),
|
|
623
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "9", cy: "12", r: "1" }),
|
|
624
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "15", cy: "12", r: "1" })
|
|
793
625
|
] });
|
|
794
626
|
}
|
|
795
627
|
function EyeIcon(props) {
|
|
796
|
-
return /* @__PURE__ */ (0,
|
|
797
|
-
/* @__PURE__ */ (0,
|
|
798
|
-
/* @__PURE__ */ (0,
|
|
628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
629
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z" }),
|
|
630
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
|
799
631
|
] });
|
|
800
632
|
}
|
|
801
633
|
function EyeOffIcon(props) {
|
|
802
|
-
return /* @__PURE__ */ (0,
|
|
803
|
-
/* @__PURE__ */ (0,
|
|
804
|
-
/* @__PURE__ */ (0,
|
|
805
|
-
/* @__PURE__ */ (0,
|
|
634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
635
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z" }),
|
|
636
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "3" }),
|
|
637
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 3l18 18" })
|
|
806
638
|
] });
|
|
807
639
|
}
|
|
808
640
|
function VideoIcon(props) {
|
|
809
|
-
return /* @__PURE__ */ (0,
|
|
810
|
-
/* @__PURE__ */ (0,
|
|
811
|
-
/* @__PURE__ */ (0,
|
|
641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
642
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m22 8-6 4 6 4V8z" }),
|
|
643
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "2", y: "6", width: "14", height: "12", rx: "2" })
|
|
812
644
|
] });
|
|
813
645
|
}
|
|
814
646
|
function MicIcon(props) {
|
|
815
|
-
return /* @__PURE__ */ (0,
|
|
816
|
-
/* @__PURE__ */ (0,
|
|
817
|
-
/* @__PURE__ */ (0,
|
|
818
|
-
/* @__PURE__ */ (0,
|
|
647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
648
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z" }),
|
|
649
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M19 10v2a7 7 0 0 1-14 0v-2" }),
|
|
650
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 19v3" })
|
|
819
651
|
] });
|
|
820
652
|
}
|
|
821
653
|
function SpeakerIcon(props) {
|
|
822
|
-
return /* @__PURE__ */ (0,
|
|
823
|
-
/* @__PURE__ */ (0,
|
|
824
|
-
/* @__PURE__ */ (0,
|
|
825
|
-
/* @__PURE__ */ (0,
|
|
654
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
655
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M11 5 6 9H2v6h4l5 4z" }),
|
|
656
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M15.54 8.46a5 5 0 0 1 0 7.07" }),
|
|
657
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M19.07 4.93a10 10 0 0 1 0 14.14" })
|
|
826
658
|
] });
|
|
827
659
|
}
|
|
828
660
|
function MegaphoneIcon(props) {
|
|
829
|
-
return /* @__PURE__ */ (0,
|
|
830
|
-
/* @__PURE__ */ (0,
|
|
831
|
-
/* @__PURE__ */ (0,
|
|
661
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
662
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m3 11 18-5v12L3 14v-3z" }),
|
|
663
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m7 15 1.5 6H14l-2-7" })
|
|
832
664
|
] });
|
|
833
665
|
}
|
|
834
666
|
function ReasoningIcon(props) {
|
|
835
|
-
return /* @__PURE__ */ (0,
|
|
667
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 18h6M10 22h4M15.1 14c.2-1 .6-1.7 1.4-2.5A4.6 4.6 0 0 0 18 8 6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.8.8 1.2 1.5 1.4 2.5" }) });
|
|
836
668
|
}
|
|
837
669
|
function RocketIcon(props) {
|
|
838
|
-
return /* @__PURE__ */ (0,
|
|
839
|
-
/* @__PURE__ */ (0,
|
|
840
|
-
/* @__PURE__ */ (0,
|
|
841
|
-
/* @__PURE__ */ (0,
|
|
842
|
-
/* @__PURE__ */ (0,
|
|
670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
671
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z" }),
|
|
672
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z" }),
|
|
673
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0" }),
|
|
674
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" })
|
|
843
675
|
] });
|
|
844
676
|
}
|
|
845
677
|
function SearchIcon(props) {
|
|
846
|
-
return /* @__PURE__ */ (0,
|
|
847
|
-
/* @__PURE__ */ (0,
|
|
848
|
-
/* @__PURE__ */ (0,
|
|
678
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
679
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "11", cy: "11", r: "7" }),
|
|
680
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m21 21-4.3-4.3" })
|
|
849
681
|
] });
|
|
850
682
|
}
|
|
851
683
|
function SignOutIcon(props) {
|
|
852
|
-
return /* @__PURE__ */ (0,
|
|
853
|
-
/* @__PURE__ */ (0,
|
|
854
|
-
/* @__PURE__ */ (0,
|
|
855
|
-
/* @__PURE__ */ (0,
|
|
684
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
685
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
|
|
686
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m16 17 5-5-5-5" }),
|
|
687
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 12H9" })
|
|
856
688
|
] });
|
|
857
689
|
}
|
|
858
690
|
function PowerIcon(props) {
|
|
859
|
-
return /* @__PURE__ */ (0,
|
|
860
|
-
/* @__PURE__ */ (0,
|
|
861
|
-
/* @__PURE__ */ (0,
|
|
691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
692
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 2v10" }),
|
|
693
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04" })
|
|
862
694
|
] });
|
|
863
695
|
}
|
|
864
696
|
function SparkleIcon(props) {
|
|
865
|
-
return /* @__PURE__ */ (0,
|
|
866
|
-
/* @__PURE__ */ (0,
|
|
867
|
-
/* @__PURE__ */ (0,
|
|
868
|
-
/* @__PURE__ */ (0,
|
|
869
|
-
/* @__PURE__ */ (0,
|
|
870
|
-
/* @__PURE__ */ (0,
|
|
697
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
698
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9.94 15.5A2 2 0 0 0 8.5 14.06l-6.14-1.58a.5.5 0 0 1 0-.96L8.5 9.94A2 2 0 0 0 9.94 8.5l1.58-6.14a.5.5 0 0 1 .96 0L14.06 8.5A2 2 0 0 0 15.5 9.94l6.14 1.58a.5.5 0 0 1 0 .96L15.5 14.06a2 2 0 0 0-1.44 1.44l-1.58 6.14a.5.5 0 0 1-.96 0z" }),
|
|
699
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M20 3v4" }),
|
|
700
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M22 5h-4" }),
|
|
701
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M4 17v2" }),
|
|
702
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5 18H3" })
|
|
871
703
|
] });
|
|
872
704
|
}
|
|
873
705
|
function StarIcon({
|
|
874
706
|
filled = false,
|
|
875
707
|
...props
|
|
876
708
|
}) {
|
|
877
|
-
return /* @__PURE__ */ (0,
|
|
709
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
878
710
|
"svg",
|
|
879
711
|
{
|
|
880
712
|
"aria-hidden": "true",
|
|
@@ -882,67 +714,281 @@ function StarIcon({
|
|
|
882
714
|
...strokeProps,
|
|
883
715
|
fill: filled ? "currentColor" : "none",
|
|
884
716
|
...props,
|
|
885
|
-
children: /* @__PURE__ */ (0,
|
|
717
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" })
|
|
886
718
|
}
|
|
887
719
|
);
|
|
888
720
|
}
|
|
889
721
|
function CodeIcon(props) {
|
|
890
|
-
return /* @__PURE__ */ (0,
|
|
722
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m16 18 6-6-6-6M8 6l-6 6 6 6" }) });
|
|
891
723
|
}
|
|
892
724
|
function DatabaseIcon(props) {
|
|
893
|
-
return /* @__PURE__ */ (0,
|
|
894
|
-
/* @__PURE__ */ (0,
|
|
895
|
-
/* @__PURE__ */ (0,
|
|
896
|
-
/* @__PURE__ */ (0,
|
|
725
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
726
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ellipse", { cx: "12", cy: "5", rx: "9", ry: "3" }),
|
|
727
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 5v14a9 3 0 0 0 18 0V5" }),
|
|
728
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 12a9 3 0 0 0 18 0" })
|
|
897
729
|
] });
|
|
898
730
|
}
|
|
899
731
|
function CardIcon(props) {
|
|
900
|
-
return /* @__PURE__ */ (0,
|
|
901
|
-
/* @__PURE__ */ (0,
|
|
902
|
-
/* @__PURE__ */ (0,
|
|
732
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
733
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "2", y: "5", width: "20", height: "14", rx: "2" }),
|
|
734
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2 10h20" })
|
|
903
735
|
] });
|
|
904
736
|
}
|
|
905
737
|
function SproutIcon(props) {
|
|
906
|
-
return /* @__PURE__ */ (0,
|
|
907
|
-
/* @__PURE__ */ (0,
|
|
908
|
-
/* @__PURE__ */ (0,
|
|
909
|
-
/* @__PURE__ */ (0,
|
|
910
|
-
/* @__PURE__ */ (0,
|
|
738
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
739
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7 20h10" }),
|
|
740
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 20c5.5-2.5.8-6.4 3-10" }),
|
|
741
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z" }),
|
|
742
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z" })
|
|
911
743
|
] });
|
|
912
744
|
}
|
|
913
745
|
function PencilIcon(props) {
|
|
914
|
-
return /* @__PURE__ */ (0,
|
|
915
|
-
/* @__PURE__ */ (0,
|
|
916
|
-
/* @__PURE__ */ (0,
|
|
746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
747
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 20h9" }),
|
|
748
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z" })
|
|
917
749
|
] });
|
|
918
750
|
}
|
|
919
751
|
function KeyIcon(props) {
|
|
920
|
-
return /* @__PURE__ */ (0,
|
|
921
|
-
/* @__PURE__ */ (0,
|
|
922
|
-
/* @__PURE__ */ (0,
|
|
923
|
-
/* @__PURE__ */ (0,
|
|
752
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
753
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "7.5", cy: "15.5", r: "5.5" }),
|
|
754
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m21 2-9.6 9.6" }),
|
|
755
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m15.5 7.5 3 3L22 7l-3-3" })
|
|
924
756
|
] });
|
|
925
757
|
}
|
|
926
758
|
function GlobeIcon(props) {
|
|
927
|
-
return /* @__PURE__ */ (0,
|
|
928
|
-
/* @__PURE__ */ (0,
|
|
929
|
-
/* @__PURE__ */ (0,
|
|
930
|
-
/* @__PURE__ */ (0,
|
|
759
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
760
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
|
761
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
|
|
762
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M2 12h20" })
|
|
931
763
|
] });
|
|
932
764
|
}
|
|
933
765
|
function ArrowLeftIcon(props) {
|
|
934
|
-
return /* @__PURE__ */ (0,
|
|
935
|
-
/* @__PURE__ */ (0,
|
|
936
|
-
/* @__PURE__ */ (0,
|
|
766
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
767
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M19 12H5" }),
|
|
768
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m12 19-7-7 7-7" })
|
|
937
769
|
] });
|
|
938
770
|
}
|
|
939
771
|
function RefreshIcon(props) {
|
|
940
|
-
return /* @__PURE__ */ (0,
|
|
941
|
-
/* @__PURE__ */ (0,
|
|
942
|
-
/* @__PURE__ */ (0,
|
|
772
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", ...strokeProps, ...props, children: [
|
|
773
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 12a9 9 0 1 1-2.64-6.36" }),
|
|
774
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 3v6h-6" })
|
|
943
775
|
] });
|
|
944
776
|
}
|
|
945
777
|
|
|
778
|
+
// src/compositions/AccountIdentity.tsx
|
|
779
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
780
|
+
function initials(name) {
|
|
781
|
+
const parts = name.trim().split(/\s+/).filter(Boolean);
|
|
782
|
+
if (parts.length === 0) return "?";
|
|
783
|
+
if (parts.length === 1) return parts[0].slice(0, 2).toUpperCase();
|
|
784
|
+
return `${parts[0][0] ?? ""}${parts.at(-1)?.[0] ?? ""}`.toUpperCase();
|
|
785
|
+
}
|
|
786
|
+
function AccountAvatar({
|
|
787
|
+
name,
|
|
788
|
+
avatarUrl,
|
|
789
|
+
secondaryContent,
|
|
790
|
+
dashboardHref,
|
|
791
|
+
inline = false
|
|
792
|
+
}) {
|
|
793
|
+
const size = inline ? "polli:h-6 polli:w-6" : secondaryContent != null ? "polli:h-11 polli:w-11" : "polli:h-8 polli:w-8";
|
|
794
|
+
const className = cn(
|
|
795
|
+
size,
|
|
796
|
+
inline && "polli:transition-transform polli:group-hover:scale-110 polli:group-hover:brightness-110 polli:motion-reduce:transition-none polli:motion-reduce:group-hover:scale-100"
|
|
797
|
+
);
|
|
798
|
+
const avatar = avatarUrl ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
799
|
+
"img",
|
|
800
|
+
{
|
|
801
|
+
src: avatarUrl,
|
|
802
|
+
alt: "",
|
|
803
|
+
className: cn(
|
|
804
|
+
className,
|
|
805
|
+
"polli:shrink-0 polli:rounded-full polli:object-cover"
|
|
806
|
+
)
|
|
807
|
+
}
|
|
808
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
809
|
+
"span",
|
|
810
|
+
{
|
|
811
|
+
role: "img",
|
|
812
|
+
"aria-label": `${name} avatar`,
|
|
813
|
+
className: cn(
|
|
814
|
+
className,
|
|
815
|
+
"polli:flex polli:shrink-0 polli:items-center polli:justify-center polli:rounded-full polli:bg-theme-bg-pale polli:text-xs polli:font-semibold polli:text-theme-text-strong"
|
|
816
|
+
),
|
|
817
|
+
children: initials(name)
|
|
818
|
+
}
|
|
819
|
+
);
|
|
820
|
+
return dashboardHref ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
821
|
+
"a",
|
|
822
|
+
{
|
|
823
|
+
href: dashboardHref,
|
|
824
|
+
target: "_blank",
|
|
825
|
+
rel: "noopener noreferrer",
|
|
826
|
+
"aria-label": "Open dashboard",
|
|
827
|
+
title: "Open dashboard",
|
|
828
|
+
className: "polli:shrink-0 polli:rounded-full polli:cursor-pointer polli:transition-transform polli:hover:scale-105 polli:hover:brightness-110 polli:focus-visible:outline-2 polli:focus-visible:outline-offset-2 polli:focus-visible:outline-current polli:motion-reduce:transition-none polli:motion-reduce:hover:scale-100",
|
|
829
|
+
children: avatar
|
|
830
|
+
}
|
|
831
|
+
) : avatar;
|
|
832
|
+
}
|
|
833
|
+
function AccountIdentity({
|
|
834
|
+
name,
|
|
835
|
+
avatarUrl,
|
|
836
|
+
secondaryContent,
|
|
837
|
+
dashboardHref,
|
|
838
|
+
className
|
|
839
|
+
}) {
|
|
840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
841
|
+
"span",
|
|
842
|
+
{
|
|
843
|
+
className: cn(
|
|
844
|
+
"polli:flex polli:min-w-0 polli:items-center polli:gap-2 polli:rounded-full polli:bg-surface-opaque polli:p-1 polli:pr-3",
|
|
845
|
+
className
|
|
846
|
+
),
|
|
847
|
+
children: [
|
|
848
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
849
|
+
AccountAvatar,
|
|
850
|
+
{
|
|
851
|
+
name,
|
|
852
|
+
avatarUrl,
|
|
853
|
+
dashboardHref,
|
|
854
|
+
secondaryContent
|
|
855
|
+
}
|
|
856
|
+
),
|
|
857
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AccountDetails, { name, secondaryContent })
|
|
858
|
+
]
|
|
859
|
+
}
|
|
860
|
+
);
|
|
861
|
+
}
|
|
862
|
+
function AccountIdentityLink({
|
|
863
|
+
name,
|
|
864
|
+
avatarUrl,
|
|
865
|
+
href,
|
|
866
|
+
className
|
|
867
|
+
}) {
|
|
868
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
869
|
+
"a",
|
|
870
|
+
{
|
|
871
|
+
href,
|
|
872
|
+
target: "_blank",
|
|
873
|
+
rel: "noopener noreferrer",
|
|
874
|
+
className: cn(
|
|
875
|
+
// Sits in running text on cards, so it is compact and tinted.
|
|
876
|
+
"polli:group polli:inline-flex polli:max-w-full polli:min-w-0 polli:items-center polli:gap-1.5 polli:rounded-full polli:bg-theme-bg-subtle polli:p-0.5 polli:pr-2.5 polli:align-middle polli:focus-visible:outline-2 polli:focus-visible:outline-offset-2 polli:focus-visible:outline-current",
|
|
877
|
+
className
|
|
878
|
+
),
|
|
879
|
+
children: [
|
|
880
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AccountAvatar, { name, avatarUrl, inline: true }),
|
|
881
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AccountDetails, { name }),
|
|
882
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
883
|
+
ExternalLinkIcon,
|
|
884
|
+
{
|
|
885
|
+
"aria-hidden": "true",
|
|
886
|
+
className: "polli:-ml-0.5 polli:h-3 polli:w-3 polli:shrink-0 polli:text-theme-text-strong polli:opacity-65"
|
|
887
|
+
}
|
|
888
|
+
)
|
|
889
|
+
]
|
|
890
|
+
}
|
|
891
|
+
);
|
|
892
|
+
}
|
|
893
|
+
function AccountDetails({
|
|
894
|
+
name,
|
|
895
|
+
secondaryContent,
|
|
896
|
+
secondaryId
|
|
897
|
+
}) {
|
|
898
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { className: "polli:flex polli:min-w-0 polli:flex-col polli:items-start polli:text-left", children: [
|
|
899
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
900
|
+
"span",
|
|
901
|
+
{
|
|
902
|
+
title: name,
|
|
903
|
+
className: "polli:max-w-full polli:truncate polli:text-sm polli:font-medium polli:leading-5 polli:text-theme-text-strong",
|
|
904
|
+
children: name
|
|
905
|
+
}
|
|
906
|
+
),
|
|
907
|
+
secondaryContent != null && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
908
|
+
"span",
|
|
909
|
+
{
|
|
910
|
+
id: secondaryId,
|
|
911
|
+
className: "polli:inline-flex polli:min-h-5 polli:items-center polli:whitespace-nowrap polli:text-xs polli:leading-4 polli:text-theme-text-base",
|
|
912
|
+
children: secondaryContent
|
|
913
|
+
}
|
|
914
|
+
)
|
|
915
|
+
] });
|
|
916
|
+
}
|
|
917
|
+
function AccountMenu({
|
|
918
|
+
name,
|
|
919
|
+
avatarUrl,
|
|
920
|
+
dashboardHref,
|
|
921
|
+
secondaryContent,
|
|
922
|
+
children,
|
|
923
|
+
className,
|
|
924
|
+
menuClassName,
|
|
925
|
+
side = "bottom",
|
|
926
|
+
menuLabel = `Account menu for ${name}`
|
|
927
|
+
}) {
|
|
928
|
+
const statusId = (0, import_react2.useId)();
|
|
929
|
+
const avatar = /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
930
|
+
AccountAvatar,
|
|
931
|
+
{
|
|
932
|
+
name,
|
|
933
|
+
avatarUrl,
|
|
934
|
+
dashboardHref,
|
|
935
|
+
secondaryContent
|
|
936
|
+
}
|
|
937
|
+
);
|
|
938
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
939
|
+
"div",
|
|
940
|
+
{
|
|
941
|
+
"data-theme": "accent",
|
|
942
|
+
className: cn(
|
|
943
|
+
"polli:flex polli:min-w-0 polli:items-center polli:gap-2 polli:rounded-full polli:bg-theme-bg-active polli:p-1 polli:pr-3 polli:text-theme-text-strong polli:transition-colors polli:hover:bg-theme-bg-hover",
|
|
944
|
+
className
|
|
945
|
+
),
|
|
946
|
+
children: [
|
|
947
|
+
dashboardHref && avatar,
|
|
948
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
949
|
+
Dropdown,
|
|
950
|
+
{
|
|
951
|
+
align: "end",
|
|
952
|
+
side,
|
|
953
|
+
className: cn(
|
|
954
|
+
"polli:w-max polli:min-w-[var(--reference-width)] polli:p-1",
|
|
955
|
+
menuClassName
|
|
956
|
+
),
|
|
957
|
+
trigger: (open) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
958
|
+
"button",
|
|
959
|
+
{
|
|
960
|
+
type: "button",
|
|
961
|
+
"aria-label": menuLabel,
|
|
962
|
+
"aria-describedby": secondaryContent != null ? statusId : void 0,
|
|
963
|
+
className: "polli-control polli:flex polli:min-w-0 polli:flex-1 polli:items-center polli:gap-2 polli:self-stretch polli:rounded-full polli:text-theme-text-strong",
|
|
964
|
+
children: [
|
|
965
|
+
!dashboardHref && avatar,
|
|
966
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
967
|
+
AccountDetails,
|
|
968
|
+
{
|
|
969
|
+
name,
|
|
970
|
+
secondaryContent,
|
|
971
|
+
secondaryId: statusId
|
|
972
|
+
}
|
|
973
|
+
),
|
|
974
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
975
|
+
ChevronIcon,
|
|
976
|
+
{
|
|
977
|
+
expanded: open,
|
|
978
|
+
className: "polli:ml-auto polli:h-4 polli:w-4 polli:text-theme-text-strong"
|
|
979
|
+
}
|
|
980
|
+
)
|
|
981
|
+
]
|
|
982
|
+
}
|
|
983
|
+
),
|
|
984
|
+
children
|
|
985
|
+
}
|
|
986
|
+
)
|
|
987
|
+
]
|
|
988
|
+
}
|
|
989
|
+
);
|
|
990
|
+
}
|
|
991
|
+
|
|
946
992
|
// src/primitives/Typography.tsx
|
|
947
993
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
948
994
|
var headingSizeClasses = {
|
|
@@ -1071,34 +1117,85 @@ var Alert = ({
|
|
|
1071
1117
|
}
|
|
1072
1118
|
);
|
|
1073
1119
|
|
|
1120
|
+
// src/brand/lockup-horizontal.svg
|
|
1121
|
+
var lockup_horizontal_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 858.891 105.6" fill="currentColor">%0A <g transform="translate(-13.81 -16.241) scale(0.921)"><path fill-rule="evenodd" d="M73.832 19.293a1893.685 1893.685 0 0 0-7.742 9.047c-1.93 2.273-3.274 3.898-4.266 5.156-.988 1.258-1.62 2.149-2.117 2.957-.5.805-.86 1.531-1.309 2.453-.14.285-.277.563-.402.813-.121.254-.238.48-.332.676a20.107 20.107 0 0 1-.34.652c-.008.008-.062 0-.156-.02s-.227-.047-.383-.09c-.16-.039-.351-.09-.558-.148-.207-.059-.43-.121-.668-.191-1.079-.32-1.895-.559-2.684-.743-.79-.18-1.55-.3-2.516-.382-.96-.082-2.129-.121-3.734-.145-1.602-.02-3.64-.023-6.348-.023H35.31l-2.485-.004H30.34v20.574l-.527.059-.524.058-1.055.117c-.59.067-1.203.157-1.84.274-.636.113-1.292.25-1.968.414-.676.16-1.371.348-2.086.555-.715.21-1.445.441-2.195.695-.47.16-1.024.36-1.594.574a64.38 64.38 0 0 0-1.684.649c-.523.207-.992.398-1.328.546-.336.149-.539.246-.539.274 0 .039.07.234.191.535.118.297.29.7.485 1.156.195.453.418.961.644 1.473.227.508.461 1.02.676 1.484a52.041 52.041 0 0 0 9.54 13.926 47.507 47.507 0 0 0 6.14 5.41c2.164 1.59 4.426 2.953 6.75 4.047a51.197 51.197 0 0 0 3.414 1.461c1.129.43 2.242.805 3.36 1.125 1.112.324 2.226.59 3.343.809a39.04 39.04 0 0 0 3.375.504c.84.085 1.781.136 2.777.156a51.632 51.632 0 0 0 6.203-.266 34.786 34.786 0 0 0 2.836-.394 59.177 59.177 0 0 1 2.633-.442c.149-.02.235-.023.246-.015.043.043-.02.195-.152.414a9.01 9.01 0 0 1-.582.812c-.242.313-.527.645-.813.965-.289.316-.582.617-.851.86-.57.519-1.168.968-1.809 1.355-.64.383-1.324.703-2.07.969-.746.261-1.555.464-2.441.617-.891.156-1.856.258-2.926.316-1.36.07-2.582.207-3.703.422-1.118.211-2.13.496-3.07.871-.938.375-1.801.84-2.618 1.403a15.82 15.82 0 0 0-2.351 2 14.205 14.205 0 0 0-1.489 1.765 13.256 13.256 0 0 0-1.148 1.945 15.518 15.518 0 0 0-.856 2.207 20.834 20.834 0 0 0-.59 2.543c-.058.348-.105.61-.156.817-.05.207-.105.36-.183.484a1.184 1.184 0 0 1-.325.332c-.144.106-.332.211-.578.356a9.157 9.157 0 0 0-2.543 2.183 8.797 8.797 0 0 0-1.52 2.813 8.33 8.33 0 0 0-.382 3.113 7.995 7.995 0 0 0 .852 3.098 7.95 7.95 0 0 0 1.574 2.117 9.294 9.294 0 0 0 2.168 1.566c.789.418 1.629.715 2.469.868.84.152 1.68.167 2.472.007a7.941 7.941 0 0 0 1.188-.336c.406-.144.82-.32 1.222-.515.399-.2.79-.418 1.149-.653.36-.234.691-.476.976-.73a6.93 6.93 0 0 0 1.473-1.86c.39-.71.68-1.492.855-2.308.176-.82.243-1.676.188-2.527a8.74 8.74 0 0 0-.531-2.516 5.919 5.919 0 0 0-.68-1.281c-.289-.43-.64-.856-1.031-1.258a10.34 10.34 0 0 0-1.262-1.11 8.299 8.299 0 0 0-1.379-.847c-.414-.2-.722-.352-.95-.492-.226-.137-.366-.27-.44-.43-.075-.16-.083-.352-.043-.613.039-.266.125-.598.242-1.043.226-.871.566-1.695 1.004-2.465a10.426 10.426 0 0 1 3.672-3.754c.77-.46 1.605-.836 2.492-1.102.152-.046.386-.093.675-.144a30.829 30.829 0 0 1 2.246-.273c.43-.043.876-.075 1.317-.102a41.754 41.754 0 0 0 2.773-.25 19.813 19.813 0 0 0 2.243-.406 13.283 13.283 0 0 0 1.918-.621c.609-.246 1.199-.536 1.804-.88a20.824 20.824 0 0 0 1.774-1.116c.539-.383 1.031-.786 1.511-1.227.48-.445.942-.934 1.415-1.488.468-.559.953-1.18 1.468-1.899l.309-.426.308-.43.313-.429.309-.426v19.633l-.399.262-.402.265-.797.532a11.66 11.66 0 0 0-1.567 1.21c-.44.41-.808.837-1.113 1.305-.305.465-.55.97-.746 1.535-.2.567-.351 1.192-.473 1.903a7.401 7.401 0 0 0 .024 2.574 8.502 8.502 0 0 0 2.441 4.543 7.787 7.787 0 0 0 2.157 1.496c.804.367 1.632.61 2.46.715.829.105 1.66.082 2.47-.07a7.963 7.963 0 0 0 2.343-.828 8.831 8.831 0 0 0 2.094-1.567c.406-.402.738-.789 1.011-1.18.27-.394.48-.796.641-1.234.156-.441.266-.918.336-1.473.07-.55.102-1.171.105-1.894 0-.524 0-.93-.011-1.266a6.504 6.504 0 0 0-.074-.836 3.967 3.967 0 0 0-.192-.683c-.09-.23-.207-.485-.355-.805a7.845 7.845 0 0 0-1.594-2.262 8.117 8.117 0 0 0-1.07-.879 9.342 9.342 0 0 0-1.254-.718l-.348-.164-.348-.16-.343-.165-.348-.164v-4.957l-.004-2.476v-2.48c0-1.36.004-2.657.012-3.833.008-1.176.02-2.23.035-3.11.016-.882.035-1.589.055-2.07.02-.48.043-.734.066-.707.02.028.074.102.156.208l.301.421c.121.168.258.364.406.575.145.207.305.433.461.664.38.543.735 1.027 1.09 1.468.352.438.703.832 1.063 1.2.363.367.742.707 1.148 1.039.406.328.844.652 1.332.98.777.528 1.5.965 2.223 1.328.718.364 1.437.657 2.203.89.765.235 1.582.411 2.496.544.914.137 1.93.23 3.094.3.433.024.867.055 1.289.087a40.742 40.742 0 0 1 2.148.215c.27.035.477.07.602.101.965.234 1.898.64 2.761 1.168a11.119 11.119 0 0 1 2.34 1.93 10.355 10.355 0 0 1 1.688 2.437c.43.867.707 1.781.805 2.695l.03.313.032.309.035.316.031.309-.27.14-.538.274-.274.136c-.828.426-1.558.922-2.183 1.493a7.954 7.954 0 0 0-1.54 1.91 7.731 7.731 0 0 0-.87 2.273 9.264 9.264 0 0 0-.172 2.594c.066.96.285 1.871.64 2.703a7.903 7.903 0 0 0 1.446 2.258 8.316 8.316 0 0 0 2.14 1.683c.817.45 1.727.782 2.715.98 1.309.255 2.617.126 3.836-.3a8.813 8.813 0 0 0 3.266-2.05 8.893 8.893 0 0 0 2.117-3.239c.453-1.21.613-2.527.387-3.848a9.06 9.06 0 0 0-1.504-3.644 9.344 9.344 0 0 0-1.301-1.477 8.97 8.97 0 0 0-1.61-1.16c-.18-.097-.347-.2-.507-.293-.16-.097-.305-.183-.434-.265-.125-.082-.23-.153-.312-.211a.573.573 0 0 1-.137-.121.813.813 0 0 1-.063-.184c-.027-.094-.058-.223-.097-.375a11.147 11.147 0 0 1-.11-.512c-.039-.187-.082-.39-.12-.594-.098-.5-.227-1.023-.383-1.554a19.7 19.7 0 0 0-.551-1.594c-.207-.527-.43-1.039-.668-1.512a12.868 12.868 0 0 0-.735-1.3 12.93 12.93 0 0 0-1.582-1.954 15.064 15.064 0 0 0-1.98-1.691 15.833 15.833 0 0 0-2.27-1.355 14.35 14.35 0 0 0-2.449-.934 9.33 9.33 0 0 0-.836-.188 25.72 25.72 0 0 0-1.094-.18 40.224 40.224 0 0 0-2.605-.269 51.614 51.614 0 0 1-1.281-.11 47.27 47.27 0 0 1-1.242-.128 37.65 37.65 0 0 1-1.067-.14 12.643 12.643 0 0 1-.746-.133 11.48 11.48 0 0 1-1.508-.458c-.5-.187-.996-.414-1.472-.668a12.371 12.371 0 0 1-2.606-1.847 16.117 16.117 0 0 1-1.676-1.836 5.604 5.604 0 0 1-.465-.707c-.097-.192-.125-.324-.074-.375.016-.016.117-.012.285.004.168.015.407.047.696.09.293.039.633.093 1.008.156.37.062.78.137 1.207.215a60.65 60.65 0 0 0 1.789.304c.527.079 1.011.133 1.535.172.523.04 1.09.063 1.777.078.692.016 1.504.02 2.527.024 1.22 0 2.204-.008 3.06-.031a27.474 27.474 0 0 0 2.257-.153 20.662 20.662 0 0 0 2.047-.336 48.885 48.885 0 0 0 2.426-.59 44.634 44.634 0 0 0 5.347-1.761 42.256 42.256 0 0 0 4.98-2.387 43.059 43.059 0 0 0 4.633-3.031 46.976 46.976 0 0 0 4.329-3.692 55.822 55.822 0 0 0 3.312-3.468 49.244 49.244 0 0 0 2.879-3.63 50.142 50.142 0 0 0 2.516-3.886 57.29 57.29 0 0 0 2.23-4.258c.375-.793.691-1.48.95-2.066.257-.59.46-1.078.613-1.473.144-.398.242-.7.285-.918.047-.219.039-.351-.016-.402-.078-.07-.41-.23-.902-.442a57.272 57.272 0 0 0-1.828-.73c-.692-.262-1.434-.535-2.121-.777a36.517 36.517 0 0 0-1.778-.586 54.289 54.289 0 0 0-3.531-.879 48.341 48.341 0 0 0-1.715-.332 23.874 23.874 0 0 0-1.465-.215l-.633-.07-.312-.04-.316-.035V39.301l-2.461.004h-2.461l-2.457.004h-2.461c-2.645.004-4.664.007-6.266.03-1.605.024-2.797.067-3.789.141-.992.079-1.789.192-2.598.356-.812.164-1.64.383-2.703.668a23.531 23.531 0 0 1-1.203.3c-.16.036-.289.06-.383.075-.093.016-.148.02-.156.008a29.962 29.962 0 0 1-.355-.672c-.102-.2-.22-.434-.348-.692a79.19 79.19 0 0 1-.418-.828c-.45-.902-.785-1.578-1.168-2.234-.379-.66-.805-1.297-1.422-2.117-.617-.817-1.433-1.82-2.594-3.203-1.16-1.387-2.671-3.153-4.68-5.508-1.398-1.64-2.53-2.961-3.44-4.02a272.265 272.265 0 0 0-2.122-2.441c-.523-.59-.875-.973-1.11-1.211-.237-.234-.355-.324-.402-.32-.015 0-.07.047-.156.132-.086.086-.199.207-.34.356-.136.148-.296.328-.472.523-.172.2-.364.414-.555.641m7.059 11.504a151.52 151.52 0 0 1 3.582 4.336 58.05 58.05 0 0 1 2.488 3.336c.66.965 1.16 1.793 1.516 2.515.355.72.57 1.332.66 1.868.023.14.039.25.031.347a.526.526 0 0 1-.09.262 1.205 1.205 0 0 1-.266.262c-.12.093-.285.199-.492.332-.332.21-.773.554-1.265.976-.493.426-1.043.934-1.594 1.473a43.455 43.455 0 0 0-1.625 1.672 25.487 25.487 0 0 0-1.348 1.574c-.398.512-.812 1.09-1.222 1.703a39.76 39.76 0 0 0-1.204 1.91 39.73 39.73 0 0 0-1.085 1.946c-.329.636-.622 1.25-.86 1.812-.34.809-.672 1.727-.976 2.688-.305.96-.582 1.964-.817 2.945-.234.984-.43 1.945-.562 2.816-.137.871-.215 1.653-.215 2.282-.004.609-.024 1.054-.055 1.332-.035.277-.086.386-.152.328-.067-.055-.149-.278-.246-.664a26.572 26.572 0 0 1-.336-1.66 76.29 76.29 0 0 0-.54-2.758 81.86 81.86 0 0 0-.624-2.66c-.211-.844-.43-1.637-.645-2.34a22.878 22.878 0 0 0-.617-1.801 24.472 24.472 0 0 0-.742-1.66 48.94 48.94 0 0 0-2.047-3.746c-.36-.59-.707-1.13-1.027-1.582a21.393 21.393 0 0 0-1.153-1.446 44.776 44.776 0 0 0-1.558-1.71 47.283 47.283 0 0 0-1.657-1.657c-.539-.512-1.043-.96-1.468-1.3-.172-.141-.34-.278-.489-.41a8.144 8.144 0 0 1-.402-.376 3.846 3.846 0 0 1-.27-.293c-.066-.082-.101-.144-.101-.176 0-.105.098-.378.262-.753.16-.372.386-.848.644-1.356.258-.508.547-1.05.828-1.562a24.735 24.735 0 0 1 1.582-2.508c.262-.371.543-.746.871-1.16.329-.418.7-.871 1.149-1.407.45-.535.973-1.144 1.601-1.87.235-.27.536-.614.875-1.005.336-.394.715-.832 1.114-1.293.394-.46.808-.937 1.215-1.41.402-.472.8-.933 1.168-1.363l.668-.777.668-.774.667-.777.665-.778.117.118.113.12.117.118.113.117a110.75 110.75 0 0 1 1.668 1.914l1.555 1.809c.57.664 1.184 1.383 1.813 2.12M51.227 44.149c.425.09.867.2 1.304.317.434.117.864.242 1.254.37.395.13.754.259 1.055.38.297.12.535.234.687.332.051.035.09.094.11.191.02.098.023.239.011.442-.015.199-.046.457-.097.793-.055.336-.125.75-.215 1.257-.094.524-.172.989-.23 1.446-.06.457-.106.91-.137 1.41a32.68 32.68 0 0 0-.067 1.7c-.011.648-.015 1.401-.015 2.312 0 .98.004 1.761.015 2.414.012.648.035 1.172.07 1.644.04.473.09.89.165 1.336.07.446.164.918.285 1.488.074.348.156.72.242 1.094.082.375.168.754.254 1.11.086.359.168.695.242.992.074.3.14.554.195.75.055.195.102.383.149.554.043.172.082.329.113.461.031.13.059.239.07.317.016.078.02.125.012.133a.942.942 0 0 1-.183-.079 35.955 35.955 0 0 1-1.148-.629c-.255-.144-.532-.304-.821-.472a95.651 95.651 0 0 0-2.031-1.152 44.616 44.616 0 0 0-1.723-.899 34 34 0 0 0-1.633-.75 44.224 44.224 0 0 0-1.762-.715 50.86 50.86 0 0 0-2.855-1.004 45.68 45.68 0 0 0-2.8-.793 39.106 39.106 0 0 0-2.653-.562 26.924 26.924 0 0 0-2.406-.309l-.426-.03-.426-.036-.426-.031-.426-.035V43.758h7.215c1.578.004 2.832.008 3.852.015 1.02.012 1.8.028 2.437.055a20.37 20.37 0 0 1 1.547.117c.43.051.797.117 1.196.203m64.886 7.493c0 1.23-.008 2.34-.015 3.312-.008.977-.02 1.817-.04 2.504-.015.691-.038 1.23-.062 1.602-.023.367-.05.57-.082.59a1.259 1.259 0 0 1-.281.07c-.153.031-.367.062-.617.101-.254.035-.547.078-.868.117-.32.043-.664.083-1.02.122-.765.086-1.538.199-2.323.343-.79.141-1.59.313-2.407.516-.816.203-1.652.434-2.503.7-.856.26-1.73.558-2.625.882-.735.266-1.305.477-1.801.672-.496.195-.918.375-1.348.578-.43.203-.867.43-1.398.723-.528.289-1.149.644-1.946 1.101a34.54 34.54 0 0 1-1.644.895 9.035 9.035 0 0 1-.528.242c-.128.055-.21.074-.226.059-.016-.016-.02-.082-.012-.184a5.49 5.49 0 0 1 .055-.422c.031-.172.066-.371.113-.59.043-.219.098-.457.156-.699.258-1.082.454-1.906.602-2.613.152-.703.258-1.282.332-1.867.078-.583.125-1.172.156-1.895.035-.723.059-1.578.086-2.695.024-.98.04-1.77.043-2.434.004-.66-.004-1.2-.027-1.684a17.76 17.76 0 0 0-.113-1.355 29.95 29.95 0 0 0-.223-1.445c-.152-.887-.27-1.543-.336-2.035-.066-.493-.086-.825-.04-1.059a.664.664 0 0 1 .333-.492c.18-.117.437-.207.781-.336.692-.266 1.29-.469 1.926-.63.637-.16 1.309-.276 2.152-.358.84-.082 1.852-.133 3.164-.16 1.309-.032 2.922-.044 4.965-.047l3.813-.008h1.902l1.906-.004v7.883m-25.05-2.368c.195 1.02.343 1.977.437 2.91.098.934.14 1.837.133 2.75a25.621 25.621 0 0 1-.18 2.797c-.11.961-.273 1.961-.488 3.036a39.395 39.395 0 0 1-.746 3.12 31.161 31.161 0 0 1-.946 2.829c-.355.906-.75 1.781-1.187 2.64a30.9 30.9 0 0 1-1.473 2.555c-.215.34-.597.86-1.074 1.469a76.18 76.18 0 0 1-1.625 2.012 79.82 79.82 0 0 1-1.73 2.011 30.987 30.987 0 0 1-1.387 1.489l-.258.25-.262.254-.257.253-.262.254.02-1.62.023-1.622.02-1.617.019-1.621c.02-1.414.035-2.543.058-3.465.02-.922.047-1.637.082-2.227.036-.59.082-1.054.141-1.472.059-.422.133-.797.227-1.211a38.117 38.117 0 0 1 1.086-3.91c.418-1.235.89-2.403 1.433-3.524a28.68 28.68 0 0 1 1.82-3.222 31.184 31.184 0 0 1 2.258-3.012 18.08 18.08 0 0 1 1.012-1.086c.367-.363.746-.715 1.106-1.023.355-.31.69-.575.964-.762.27-.188.48-.297.59-.297.035 0 .07.031.11.086.039.05.078.129.12.226a4.214 4.214 0 0 1 .216.75m-28.895.91c.914.915 1.738 1.86 2.488 2.86a25.52 25.52 0 0 1 2.028 3.187 30.027 30.027 0 0 1 1.636 3.645 42.64 42.64 0 0 1 1.32 4.23c.122.485.22.872.294 1.274.074.406.125.832.164 1.387.043.554.07 1.242.09 2.171.023.934.039 2.11.058 3.645.02 1.441.035 2.566.04 3.438.003.87 0 1.488-.016 1.921-.016.434-.043.68-.086.813-.04.129-.094.14-.16.101-.106-.058-.376-.324-.743-.722-.367-.399-.84-.926-1.34-1.512a82.643 82.643 0 0 1-1.539-1.832 48.185 48.185 0 0 1-1.34-1.695c-.34-.45-.722-1.031-1.117-1.688a40.534 40.534 0 0 1-1.183-2.125 43.623 43.623 0 0 1-1.075-2.207 21.82 21.82 0 0 1-.773-1.933c-.07-.215-.152-.477-.238-.762-.082-.29-.172-.602-.258-.922a49.961 49.961 0 0 1-.461-1.844c-.187-.86-.316-2.113-.395-3.508a62.606 62.606 0 0 1-.066-4.378c.027-1.434.106-2.762.227-3.735.12-.969.285-1.578.492-1.578.023 0 .097.05.21.14.11.09.259.22.438.38a44.358 44.358 0 0 1 1.305 1.25m53.23 15.39a24.897 24.897 0 0 1-.965 4.492 26.72 26.72 0 0 1-.824 2.25 33.11 33.11 0 0 1-1.058 2.305c-.344.676-.66 1.262-.98 1.805-.321.543-.641 1.035-.997 1.523-.351.485-.734.961-1.18 1.473-.445.508-.953 1.05-1.542 1.66a35.204 35.204 0 0 1-1.579 1.54c-.496.448-.976.847-1.468 1.21-.493.367-1 .703-1.551 1.031-.55.328-1.145.649-1.817.989-.84.421-1.624.761-2.445 1.03a15.58 15.58 0 0 1-2.683.626c-1.004.152-2.145.25-3.532.308-1.382.063-3.011.082-4.98.082H82.18l.03-.113.036-.113.031-.113.035-.114c.055-.199.243-.582.516-1.074.274-.496.633-1.101 1.027-1.746.399-.645.836-1.324 1.266-1.969.43-.644.852-1.25 1.219-1.746a44.604 44.604 0 0 1 5.883-6.445 41.569 41.569 0 0 1 6.812-4.977 38.048 38.048 0 0 1 7.477-3.36 34.711 34.711 0 0 1 7.886-1.585c.11-.008.22-.02.325-.027.105-.008.203-.02.293-.028.09-.008.164-.02.226-.023.063-.008.106-.016.13-.02.023-.004.038.024.05.078a.934.934 0 0 1 .023.239c.004.101 0 .226-.007.363-.008.137-.02.29-.04.45M30.934 66.89c.242 1.234.562 2.488.945 3.738a41.182 41.182 0 0 0 1.32 3.68 37.438 37.438 0 0 0 1.61 3.425 27.185 27.185 0 0 0 1.816 2.961c.45.633.992 1.313 1.594 2.004a38.232 38.232 0 0 0 1.949 2.074c.687.68 1.395 1.34 2.098 1.942.699.597 1.39 1.144 2.03 1.597.298.208.575.407.825.59.25.184.469.352.649.496.18.141.32.258.41.344.09.082.129.133.105.14-.066.028-.328-.038-.71-.167-.384-.13-.891-.324-1.458-.555a48.612 48.612 0 0 1-1.812-.777 38.066 38.066 0 0 1-7.352-4.297 42.01 42.01 0 0 1-5.043-4.422 44.733 44.733 0 0 1-4.37-5.254 45.026 45.026 0 0 1-3.575-5.941c-.125-.258-.25-.504-.356-.735-.109-.226-.207-.433-.285-.609-.078-.176-.14-.32-.18-.422-.042-.101-.058-.164-.05-.172.008-.008.062-.031.148-.066.09-.035.211-.082.36-.137.144-.05.32-.113.507-.18l.614-.21c.433-.145.988-.297 1.593-.446a39.578 39.578 0 0 1 3.805-.73c.574-.078 1.07-.125 1.434-.133l.23-.004.235-.004.23-.004.234-.004.114.57.109.57.113.567.114.57m8.199-1.87c1.383.238 2.8.59 4.226 1.039 1.426.449 2.856 1 4.27 1.636a42.064 42.064 0 0 1 4.16 2.164c1.348.801 2.648 1.68 3.879 2.621.41.317.95.778 1.547 1.32a69.069 69.069 0 0 1 1.914 1.805c.652.641 1.3 1.293 1.871 1.899a31.34 31.34 0 0 1 1.422 1.586 46.416 46.416 0 0 1 1.726 2.27c.57.796 1.125 1.613 1.622 2.39.5.781.94 1.52 1.285 2.152.343.637.593 1.172.71 1.543l.032.114.035.113.04.113.03.113h-5.511c-1.918 0-3.48-.02-4.801-.078-1.324-.058-2.41-.156-3.371-.312a15.68 15.68 0 0 1-2.63-.653c-.831-.289-1.651-.652-2.581-1.109a20.527 20.527 0 0 1-3.137-1.926 24.776 24.776 0 0 1-2.902-2.523 26.07 26.07 0 0 1-2.528-2.988 24.005 24.005 0 0 1-2.011-3.305 35.404 35.404 0 0 1-1.192-2.649 38.321 38.321 0 0 1-.968-2.66 25.394 25.394 0 0 1-.645-2.39c-.156-.72-.238-1.348-.238-1.832 0-.211 0-.371.011-.489.012-.12.032-.203.079-.257.043-.055.105-.082.203-.098.093-.016.222-.016.39-.016.094 0 .25.012.453.032.204.023.454.05.73.09.278.035.583.078.903.128.32.047.653.102.977.157m84.953.085c.336.06.809.168 1.336.297.523.13 1.101.282 1.64.434.543.152 1.051.305 1.43.43.387.125.649.222.7.273.027.023-.028.184-.149.45-.121.265-.3.632-.527 1.062-.223.433-.493.93-.79 1.457a56.9 56.9 0 0 1-.937 1.633 44.31 44.31 0 0 1-3.473 5.027 46.345 46.345 0 0 1-4.12 4.531 43.203 43.203 0 0 1-4.571 3.848 34.726 34.726 0 0 1-4.82 2.969 42.898 42.898 0 0 1-3.02 1.367c-.469.191-.89.351-1.207.457-.32.105-.535.156-.598.137-.027-.012.004-.055.079-.133.074-.074.195-.18.351-.309.153-.129.348-.281.563-.445.218-.164.465-.344.722-.531a31.987 31.987 0 0 0 3.067-2.473 30.025 30.025 0 0 0 4.992-5.887 32.018 32.018 0 0 0 1.953-3.441c.398-.809.75-1.57 1.059-2.309a30.121 30.121 0 0 0 1.48-4.39c.188-.758.363-1.547.52-2.391l.109-.59.113-.586.11-.59.109-.586h1.133c.156 0 .347.008.566.024.215.012.457.035.703.062a20.21 20.21 0 0 1 1.477.203m-79.191 55.711c.363.23.671.555.917.934.247.379.426.816.536 1.273.109.457.148.938.105 1.407a3.61 3.61 0 0 1-.371 1.336c-.156.304-.332.57-.539.808a3.303 3.303 0 0 1-1.512.996 4.104 4.104 0 0 1-.965.184 4.468 4.468 0 0 1-1.03-.043 3.427 3.427 0 0 1-1.719-.805 4.434 4.434 0 0 1-.696-.77 3.378 3.378 0 0 1-.555-1.284 4.203 4.203 0 0 1-.046-1.434c.066-.48.21-.945.43-1.36.214-.413.507-.78.87-1.058a3.654 3.654 0 0 1 1.059-.555c.383-.132.789-.207 1.2-.222.41-.02.82.023 1.214.12.39.102.766.259 1.102.473m64.375-.195c.175.086.37.23.574.406.199.176.402.38.586.598.187.215.36.438.492.652.133.211.226.407.266.567.019.07.035.168.042.285.012.113.02.25.024.398.004.145 0 .301-.004.457a8.875 8.875 0 0 1-.023.461 3.545 3.545 0 0 1-.774 1.953 3.866 3.866 0 0 1-3.625 1.368 3.584 3.584 0 0 1-1.883-.95 4.289 4.289 0 0 1-.55-.609 2.827 2.827 0 0 1-.352-.637 3.475 3.475 0 0 1-.188-.746 6.793 6.793 0 0 1-.054-.941c0-.352.027-.672.082-.961.05-.293.137-.555.25-.797.117-.242.265-.465.449-.676.188-.21.406-.41.668-.601.25-.188.547-.328.879-.434a4.168 4.168 0 0 1 1.05-.187c.364-.024.735 0 1.09.066.36.062.7.176 1 .328m-31.93.473c.177.125.368.328.556.57.183.242.367.531.527.824.16.293.297.598.394.88a2.5 2.5 0 0 1 .16.737c0 .258-.074.567-.206.895a5.551 5.551 0 0 1-.54.996 6 6 0 0 1-.742.906c-.265.27-.547.489-.816.63a2.93 2.93 0 0 1-1.024.3 3.709 3.709 0 0 1-1.117-.047 3.928 3.928 0 0 1-1.066-.37 3.194 3.194 0 0 1-.871-.669 4.034 4.034 0 0 1-.68-1.012 4.028 4.028 0 0 1-.355-1.12 3.802 3.802 0 0 1-.012-1.153 3.5 3.5 0 0 1 .344-1.094c.187-.363.375-.664.586-.91.21-.242.441-.43.71-.57.266-.14.57-.23.922-.282a6.496 6.496 0 0 1 1.239-.046c.254.011.472.027.664.046.195.024.363.055.515.098a2.284 2.284 0 0 1 .813.39"/></g>%0A <g transform="translate(-68.454 -154.133) scale(4.051)"><path d="M82.117 39.523c-.152.172-.191 2.747-.172 9.192l.059 8.945h4.773l.059-9.039c.039-7.113 0-9.078-.191-9.21-.438-.266-4.278-.192-4.528.112m7.621.117c-.21.4-.265 16.895-.054 17.696.093.398.187.418 2.441.418 1.969 0 2.371-.059 2.465-.305.21-.535.133-17.43-.074-17.828-.192-.324-.422-.363-2.391-.363-1.965 0-2.195.039-2.387.383m7.774-.27c-.075.078-.133.992-.133 2.024v1.867h4.793l-.055-1.965-.058-1.945-2.215-.055c-1.203-.02-2.254.02-2.332.074m50.312.152c-.156.172-.21.88-.172 1.965l.055 1.68h4.777l.055-1.793c.04-1.316-.02-1.852-.191-1.965-.133-.074-1.164-.152-2.27-.152-1.512 0-2.101.078-2.254.265m76.512-.152c-.074.078-.133.992-.133 2.024v1.867h4.793l-.055-1.965-.058-1.945-2.215-.055c-1.203-.02-2.254.02-2.332.074m-86.539 1.527c-.059.172-.117 1.145-.117 2.192v1.887h-.84c-.973 0-1.07.136-1.07 1.601 0 1.184.21 1.45 1.183 1.45h.727v2.042c0 1.145.058 2.899.132 3.907l.118 1.87h1.832l.058.895.055.918h5.54l.058-1.316c.039-.934-.02-1.375-.192-1.469-.133-.098-.781-.172-1.449-.172h-1.187l.039-3.3.058-3.278 1.336-.098 1.336-.093v-2.86l-1.336-.097-1.336-.094-.058-2.156-.055-2.133h-2.352c-1.984 0-2.386.054-2.48.304m-88.414 4.215c-.078.055-.137 4.04-.137 8.848 0 8.14.02 8.75.344 8.883.172.097 1.3.133 2.484.097l2.14-.058v-5.13h3.532c2.695 0 3.535-.058 3.555-.245.02-.117.035-.535.054-.899.02-.668.02-.668 1.032-.722l.996-.059v-8.906l-.594-.113a7.4 7.4 0 0 0-1.05-.114c-.419 0-.458-.078-.458-.86v-.858H55.38l-.059.707c-.054.726-.054.726-.953.78l-.918.06v-1.547h-1.97c-1.085 0-2.042.058-2.097.136m9.031 6.235v3.336l-2.023.058c-1.11.035-2.063.02-2.102-.02-.039-.038-.074-1.562-.074-3.394v-3.3h4.2Zm9.32-5.473c-.054.875-.074.914-.629.875a5.6 5.6 0 0 0-.992.059l-.441.078v8.941l1.012.059.996.054.054.918.059.895 4.91-.04 4.906-.054.059-.918.059-.894h2.082v-4.461c0-4.328-.02-4.485-.383-4.598-.211-.074-.668-.094-1.012-.055-.594.055-.613.036-.707-.8l-.098-.86-4.906-.058-4.91-.04Zm6.914 5.492v3.336h-4.007v-6.676h4.007Zm22.864-6.254c-.075.055-.133 2.934-.133 6.387v6.273l2.351-.058 2.329-.055.058-6.351.035-6.332h-2.25c-1.242 0-2.332.058-2.39.136m6.972 6.196.059 6.351h4.773l.059-4.824.04-4.809h4.007l.039 4.809.059 4.824h4.773l.059-5.379.039-5.379-.996-.054-1.012-.059-.055-.914-.058-.898-3.094.039-3.094.058-.059.703-.058.727h-1.89v-1.527h-3.63Zm17-4.864.055 1.489 3.785.058 3.781.035-.058.918-.059.895-3.148.097-3.153.094-.019.762v.766l-.973.054c-.824.04-.996.133-1.09.477-.152.555-.152 1.773 0 2.879l.133.879h1.832l.059.894.058.918 2.922.055 2.903.058v-1.562l.918.055c.898.058.898.058.953.761l.058.727h3.61V46.922l-.574-.133c-.305-.074-.649-.074-.743-.02-.441.29-.785-.132-.785-.953v-.84h-10.523Zm7.602 7.399v.86h-3.629v-1.716h3.629Zm18.621-8.637c-.055.133-.074 2.992-.055 6.352l.055 6.101h4.777V45.074l-2.351-.058c-1.778-.04-2.367.02-2.426.191m9.168 0a5.3 5.3 0 0 0-.133.914c-.058.668-.058.668-1.07.727l-.992.054.039 4.426.054 4.422.997.059.992.058.058.895.055.898 4.93.055 4.906.039v-1.906h2.101v-8.961h-.742c-1.207 0-1.36-.137-1.36-1.07v-.84h-4.866c-3.746 0-4.91.058-4.969.23m6.973 6.16v3.336h-4.012v-6.676h4.012Zm7.179-6.234c-.054.113-.035 8.406.059 11.894l.02.727h2.367c1.988 0 2.386-.059 2.484-.305.059-.172.113-2.347.113-4.863v-4.574l1.97.054 1.948.059.094 4.766.098 4.77h4.773V46.98l-.957-.094-.953-.098-.094-.855-.097-.86-3.094-.058-3.113-.04v1.528h-1.91v-1.527h-1.798c-.992 0-1.851.078-1.91.156m18.321.075a5 5 0 0 0-.137.914c-.055.668-.055.668-1.05.727l-1.013.054v1.891c0 1.027.059 2 .118 2.172.074.23.379.305 1.03.305h.934l.06.8.058.82 2.73.06 2.711.058v1.695h-3.57c-1.989 0-3.707.074-3.84.172-.172.094-.23.535-.191 1.469l.058 1.316h10.313l.058-.898.055-.895.996-.058.992-.059.059-1.617c.074-2.367.035-2.48-1.11-2.48h-.937l-.055-.821-.058-.8-2.77-.094-2.77-.098v-1.715l3.516-.059c1.95-.02 3.61-.113 3.723-.207.133-.117.191-.726.152-1.527l-.074-1.355h-4.95c-3.8 0-4.984.058-5.038.23m19.902 0c-.04.133-.04.8.035 1.488l.117 1.239 3.684.058 3.668.035v1.91h-6.3v1.715h-2.102v4.176l1.011.059.992.054.06.918.054.914 2.906-.058 2.902-.055.059-.726c.055-.707.074-.707.894-.707.825 0 .844 0 .899.707l.059.726 1.87.055 1.852.058V52.32c0-4.215-.055-5.433-.226-5.453-.137-.02-.594-.039-1.012-.058-.766-.02-.766-.02-.863-.875l-.094-.86-5.176-.058c-4.05-.04-5.215 0-5.289.191m7.504 8.637v.879l-1.758-.059-1.773-.055-.059-.535c-.113-1.011 0-1.086 1.871-1.086h1.719Zm7.449-2.477v6.387h4.719l.113-2.156a67 67 0 0 0 0-8.293l-.113-2.328h-4.719Zm-22.137 2.27c-.152.172-.21.894-.171 2.133l.058 1.89 2.063.055 2.062.058-.058-2.156-.055-2.152-1.836-.059c-1.414-.039-1.89.02-2.063.23m0 0"/></g>%0A</svg>%0A';
|
|
1122
|
+
|
|
1123
|
+
// src/brand/mark.svg
|
|
1124
|
+
var mark_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="15 17.6409 119.9998 114.7498" fill="currentColor"><path fill-rule="evenodd" d="M73.832 19.293a1893.685 1893.685 0 0 0-7.742 9.047c-1.93 2.273-3.274 3.898-4.266 5.156-.988 1.258-1.62 2.149-2.117 2.957-.5.805-.86 1.531-1.309 2.453-.14.285-.277.563-.402.813-.121.254-.238.48-.332.676a20.107 20.107 0 0 1-.34.652c-.008.008-.062 0-.156-.02s-.227-.047-.383-.09c-.16-.039-.351-.09-.558-.148-.207-.059-.43-.121-.668-.191-1.079-.32-1.895-.559-2.684-.743-.79-.18-1.55-.3-2.516-.382-.96-.082-2.129-.121-3.734-.145-1.602-.02-3.64-.023-6.348-.023H35.31l-2.485-.004H30.34v20.574l-.527.059-.524.058-1.055.117c-.59.067-1.203.157-1.84.274-.636.113-1.292.25-1.968.414-.676.16-1.371.348-2.086.555-.715.21-1.445.441-2.195.695-.47.16-1.024.36-1.594.574a64.38 64.38 0 0 0-1.684.649c-.523.207-.992.398-1.328.546-.336.149-.539.246-.539.274 0 .039.07.234.191.535.118.297.29.7.485 1.156.195.453.418.961.644 1.473.227.508.461 1.02.676 1.484a52.041 52.041 0 0 0 9.54 13.926 47.507 47.507 0 0 0 6.14 5.41c2.164 1.59 4.426 2.953 6.75 4.047a51.197 51.197 0 0 0 3.414 1.461c1.129.43 2.242.805 3.36 1.125 1.112.324 2.226.59 3.343.809a39.04 39.04 0 0 0 3.375.504c.84.085 1.781.136 2.777.156a51.632 51.632 0 0 0 6.203-.266 34.786 34.786 0 0 0 2.836-.394 59.177 59.177 0 0 1 2.633-.442c.149-.02.235-.023.246-.015.043.043-.02.195-.152.414a9.01 9.01 0 0 1-.582.812c-.242.313-.527.645-.813.965-.289.316-.582.617-.851.86-.57.519-1.168.968-1.809 1.355-.64.383-1.324.703-2.07.969-.746.261-1.555.464-2.441.617-.891.156-1.856.258-2.926.316-1.36.07-2.582.207-3.703.422-1.118.211-2.13.496-3.07.871-.938.375-1.801.84-2.618 1.403a15.82 15.82 0 0 0-2.351 2 14.205 14.205 0 0 0-1.489 1.765 13.256 13.256 0 0 0-1.148 1.945 15.518 15.518 0 0 0-.856 2.207 20.834 20.834 0 0 0-.59 2.543c-.058.348-.105.61-.156.817-.05.207-.105.36-.183.484a1.184 1.184 0 0 1-.325.332c-.144.106-.332.211-.578.356a9.157 9.157 0 0 0-2.543 2.183 8.797 8.797 0 0 0-1.52 2.813 8.33 8.33 0 0 0-.382 3.113 7.995 7.995 0 0 0 .852 3.098 7.95 7.95 0 0 0 1.574 2.117 9.294 9.294 0 0 0 2.168 1.566c.789.418 1.629.715 2.469.868.84.152 1.68.167 2.472.007a7.941 7.941 0 0 0 1.188-.336c.406-.144.82-.32 1.222-.515.399-.2.79-.418 1.149-.653.36-.234.691-.476.976-.73a6.93 6.93 0 0 0 1.473-1.86c.39-.71.68-1.492.855-2.308.176-.82.243-1.676.188-2.527a8.74 8.74 0 0 0-.531-2.516 5.919 5.919 0 0 0-.68-1.281c-.289-.43-.64-.856-1.031-1.258a10.34 10.34 0 0 0-1.262-1.11 8.299 8.299 0 0 0-1.379-.847c-.414-.2-.722-.352-.95-.492-.226-.137-.366-.27-.44-.43-.075-.16-.083-.352-.043-.613.039-.266.125-.598.242-1.043.226-.871.566-1.695 1.004-2.465a10.426 10.426 0 0 1 3.672-3.754c.77-.46 1.605-.836 2.492-1.102.152-.046.386-.093.675-.144a30.829 30.829 0 0 1 2.246-.273c.43-.043.876-.075 1.317-.102a41.754 41.754 0 0 0 2.773-.25 19.813 19.813 0 0 0 2.243-.406 13.283 13.283 0 0 0 1.918-.621c.609-.246 1.199-.536 1.804-.88a20.824 20.824 0 0 0 1.774-1.116c.539-.383 1.031-.786 1.511-1.227.48-.445.942-.934 1.415-1.488.468-.559.953-1.18 1.468-1.899l.309-.426.308-.43.313-.429.309-.426v19.633l-.399.262-.402.265-.797.532a11.66 11.66 0 0 0-1.567 1.21c-.44.41-.808.837-1.113 1.305-.305.465-.55.97-.746 1.535-.2.567-.351 1.192-.473 1.903a7.401 7.401 0 0 0 .024 2.574 8.502 8.502 0 0 0 2.441 4.543 7.787 7.787 0 0 0 2.157 1.496c.804.367 1.632.61 2.46.715.829.105 1.66.082 2.47-.07a7.963 7.963 0 0 0 2.343-.828 8.831 8.831 0 0 0 2.094-1.567c.406-.402.738-.789 1.011-1.18.27-.394.48-.796.641-1.234.156-.441.266-.918.336-1.473.07-.55.102-1.171.105-1.894 0-.524 0-.93-.011-1.266a6.504 6.504 0 0 0-.074-.836 3.967 3.967 0 0 0-.192-.683c-.09-.23-.207-.485-.355-.805a7.845 7.845 0 0 0-1.594-2.262 8.117 8.117 0 0 0-1.07-.879 9.342 9.342 0 0 0-1.254-.718l-.348-.164-.348-.16-.343-.165-.348-.164v-4.957l-.004-2.476v-2.48c0-1.36.004-2.657.012-3.833.008-1.176.02-2.23.035-3.11.016-.882.035-1.589.055-2.07.02-.48.043-.734.066-.707.02.028.074.102.156.208l.301.421c.121.168.258.364.406.575.145.207.305.433.461.664.38.543.735 1.027 1.09 1.468.352.438.703.832 1.063 1.2.363.367.742.707 1.148 1.039.406.328.844.652 1.332.98.777.528 1.5.965 2.223 1.328.718.364 1.437.657 2.203.89.765.235 1.582.411 2.496.544.914.137 1.93.23 3.094.3.433.024.867.055 1.289.087a40.742 40.742 0 0 1 2.148.215c.27.035.477.07.602.101.965.234 1.898.64 2.761 1.168a11.119 11.119 0 0 1 2.34 1.93 10.355 10.355 0 0 1 1.688 2.437c.43.867.707 1.781.805 2.695l.03.313.032.309.035.316.031.309-.27.14-.538.274-.274.136c-.828.426-1.558.922-2.183 1.493a7.954 7.954 0 0 0-1.54 1.91 7.731 7.731 0 0 0-.87 2.273 9.264 9.264 0 0 0-.172 2.594c.066.96.285 1.871.64 2.703a7.903 7.903 0 0 0 1.446 2.258 8.316 8.316 0 0 0 2.14 1.683c.817.45 1.727.782 2.715.98 1.309.255 2.617.126 3.836-.3a8.813 8.813 0 0 0 3.266-2.05 8.893 8.893 0 0 0 2.117-3.239c.453-1.21.613-2.527.387-3.848a9.06 9.06 0 0 0-1.504-3.644 9.344 9.344 0 0 0-1.301-1.477 8.97 8.97 0 0 0-1.61-1.16c-.18-.097-.347-.2-.507-.293-.16-.097-.305-.183-.434-.265-.125-.082-.23-.153-.312-.211a.573.573 0 0 1-.137-.121.813.813 0 0 1-.063-.184c-.027-.094-.058-.223-.097-.375a11.147 11.147 0 0 1-.11-.512c-.039-.187-.082-.39-.12-.594-.098-.5-.227-1.023-.383-1.554a19.7 19.7 0 0 0-.551-1.594c-.207-.527-.43-1.039-.668-1.512a12.868 12.868 0 0 0-.735-1.3 12.93 12.93 0 0 0-1.582-1.954 15.064 15.064 0 0 0-1.98-1.691 15.833 15.833 0 0 0-2.27-1.355 14.35 14.35 0 0 0-2.449-.934 9.33 9.33 0 0 0-.836-.188 25.72 25.72 0 0 0-1.094-.18 40.224 40.224 0 0 0-2.605-.269 51.614 51.614 0 0 1-1.281-.11 47.27 47.27 0 0 1-1.242-.128 37.65 37.65 0 0 1-1.067-.14 12.643 12.643 0 0 1-.746-.133 11.48 11.48 0 0 1-1.508-.458c-.5-.187-.996-.414-1.472-.668a12.371 12.371 0 0 1-2.606-1.847 16.117 16.117 0 0 1-1.676-1.836 5.604 5.604 0 0 1-.465-.707c-.097-.192-.125-.324-.074-.375.016-.016.117-.012.285.004.168.015.407.047.696.09.293.039.633.093 1.008.156.37.062.78.137 1.207.215a60.65 60.65 0 0 0 1.789.304c.527.079 1.011.133 1.535.172.523.04 1.09.063 1.777.078.692.016 1.504.02 2.527.024 1.22 0 2.204-.008 3.06-.031a27.474 27.474 0 0 0 2.257-.153 20.662 20.662 0 0 0 2.047-.336 48.885 48.885 0 0 0 2.426-.59 44.634 44.634 0 0 0 5.347-1.761 42.256 42.256 0 0 0 4.98-2.387 43.059 43.059 0 0 0 4.633-3.031 46.976 46.976 0 0 0 4.329-3.692 55.822 55.822 0 0 0 3.312-3.468 49.244 49.244 0 0 0 2.879-3.63 50.142 50.142 0 0 0 2.516-3.886 57.29 57.29 0 0 0 2.23-4.258c.375-.793.691-1.48.95-2.066.257-.59.46-1.078.613-1.473.144-.398.242-.7.285-.918.047-.219.039-.351-.016-.402-.078-.07-.41-.23-.902-.442a57.272 57.272 0 0 0-1.828-.73c-.692-.262-1.434-.535-2.121-.777a36.517 36.517 0 0 0-1.778-.586 54.289 54.289 0 0 0-3.531-.879 48.341 48.341 0 0 0-1.715-.332 23.874 23.874 0 0 0-1.465-.215l-.633-.07-.312-.04-.316-.035V39.301l-2.461.004h-2.461l-2.457.004h-2.461c-2.645.004-4.664.007-6.266.03-1.605.024-2.797.067-3.789.141-.992.079-1.789.192-2.598.356-.812.164-1.64.383-2.703.668a23.531 23.531 0 0 1-1.203.3c-.16.036-.289.06-.383.075-.093.016-.148.02-.156.008a29.962 29.962 0 0 1-.355-.672c-.102-.2-.22-.434-.348-.692a79.19 79.19 0 0 1-.418-.828c-.45-.902-.785-1.578-1.168-2.234-.379-.66-.805-1.297-1.422-2.117-.617-.817-1.433-1.82-2.594-3.203-1.16-1.387-2.671-3.153-4.68-5.508-1.398-1.64-2.53-2.961-3.44-4.02a272.265 272.265 0 0 0-2.122-2.441c-.523-.59-.875-.973-1.11-1.211-.237-.234-.355-.324-.402-.32-.015 0-.07.047-.156.132-.086.086-.199.207-.34.356-.136.148-.296.328-.472.523-.172.2-.364.414-.555.641m7.059 11.504a151.52 151.52 0 0 1 3.582 4.336 58.05 58.05 0 0 1 2.488 3.336c.66.965 1.16 1.793 1.516 2.515.355.72.57 1.332.66 1.868.023.14.039.25.031.347a.526.526 0 0 1-.09.262 1.205 1.205 0 0 1-.266.262c-.12.093-.285.199-.492.332-.332.21-.773.554-1.265.976-.493.426-1.043.934-1.594 1.473a43.455 43.455 0 0 0-1.625 1.672 25.487 25.487 0 0 0-1.348 1.574c-.398.512-.812 1.09-1.222 1.703a39.76 39.76 0 0 0-1.204 1.91 39.73 39.73 0 0 0-1.085 1.946c-.329.636-.622 1.25-.86 1.812-.34.809-.672 1.727-.976 2.688-.305.96-.582 1.964-.817 2.945-.234.984-.43 1.945-.562 2.816-.137.871-.215 1.653-.215 2.282-.004.609-.024 1.054-.055 1.332-.035.277-.086.386-.152.328-.067-.055-.149-.278-.246-.664a26.572 26.572 0 0 1-.336-1.66 76.29 76.29 0 0 0-.54-2.758 81.86 81.86 0 0 0-.624-2.66c-.211-.844-.43-1.637-.645-2.34a22.878 22.878 0 0 0-.617-1.801 24.472 24.472 0 0 0-.742-1.66 48.94 48.94 0 0 0-2.047-3.746c-.36-.59-.707-1.13-1.027-1.582a21.393 21.393 0 0 0-1.153-1.446 44.776 44.776 0 0 0-1.558-1.71 47.283 47.283 0 0 0-1.657-1.657c-.539-.512-1.043-.96-1.468-1.3-.172-.141-.34-.278-.489-.41a8.144 8.144 0 0 1-.402-.376 3.846 3.846 0 0 1-.27-.293c-.066-.082-.101-.144-.101-.176 0-.105.098-.378.262-.753.16-.372.386-.848.644-1.356.258-.508.547-1.05.828-1.562a24.735 24.735 0 0 1 1.582-2.508c.262-.371.543-.746.871-1.16.329-.418.7-.871 1.149-1.407.45-.535.973-1.144 1.601-1.87.235-.27.536-.614.875-1.005.336-.394.715-.832 1.114-1.293.394-.46.808-.937 1.215-1.41.402-.472.8-.933 1.168-1.363l.668-.777.668-.774.667-.777.665-.778.117.118.113.12.117.118.113.117a110.75 110.75 0 0 1 1.668 1.914l1.555 1.809c.57.664 1.184 1.383 1.813 2.12M51.227 44.149c.425.09.867.2 1.304.317.434.117.864.242 1.254.37.395.13.754.259 1.055.38.297.12.535.234.687.332.051.035.09.094.11.191.02.098.023.239.011.442-.015.199-.046.457-.097.793-.055.336-.125.75-.215 1.257-.094.524-.172.989-.23 1.446-.06.457-.106.91-.137 1.41a32.68 32.68 0 0 0-.067 1.7c-.011.648-.015 1.401-.015 2.312 0 .98.004 1.761.015 2.414.012.648.035 1.172.07 1.644.04.473.09.89.165 1.336.07.446.164.918.285 1.488.074.348.156.72.242 1.094.082.375.168.754.254 1.11.086.359.168.695.242.992.074.3.14.554.195.75.055.195.102.383.149.554.043.172.082.329.113.461.031.13.059.239.07.317.016.078.02.125.012.133a.942.942 0 0 1-.183-.079 35.955 35.955 0 0 1-1.148-.629c-.255-.144-.532-.304-.821-.472a95.651 95.651 0 0 0-2.031-1.152 44.616 44.616 0 0 0-1.723-.899 34 34 0 0 0-1.633-.75 44.224 44.224 0 0 0-1.762-.715 50.86 50.86 0 0 0-2.855-1.004 45.68 45.68 0 0 0-2.8-.793 39.106 39.106 0 0 0-2.653-.562 26.924 26.924 0 0 0-2.406-.309l-.426-.03-.426-.036-.426-.031-.426-.035V43.758h7.215c1.578.004 2.832.008 3.852.015 1.02.012 1.8.028 2.437.055a20.37 20.37 0 0 1 1.547.117c.43.051.797.117 1.196.203m64.886 7.493c0 1.23-.008 2.34-.015 3.312-.008.977-.02 1.817-.04 2.504-.015.691-.038 1.23-.062 1.602-.023.367-.05.57-.082.59a1.259 1.259 0 0 1-.281.07c-.153.031-.367.062-.617.101-.254.035-.547.078-.868.117-.32.043-.664.083-1.02.122-.765.086-1.538.199-2.323.343-.79.141-1.59.313-2.407.516-.816.203-1.652.434-2.503.7-.856.26-1.73.558-2.625.882-.735.266-1.305.477-1.801.672-.496.195-.918.375-1.348.578-.43.203-.867.43-1.398.723-.528.289-1.149.644-1.946 1.101a34.54 34.54 0 0 1-1.644.895 9.035 9.035 0 0 1-.528.242c-.128.055-.21.074-.226.059-.016-.016-.02-.082-.012-.184a5.49 5.49 0 0 1 .055-.422c.031-.172.066-.371.113-.59.043-.219.098-.457.156-.699.258-1.082.454-1.906.602-2.613.152-.703.258-1.282.332-1.867.078-.583.125-1.172.156-1.895.035-.723.059-1.578.086-2.695.024-.98.04-1.77.043-2.434.004-.66-.004-1.2-.027-1.684a17.76 17.76 0 0 0-.113-1.355 29.95 29.95 0 0 0-.223-1.445c-.152-.887-.27-1.543-.336-2.035-.066-.493-.086-.825-.04-1.059a.664.664 0 0 1 .333-.492c.18-.117.437-.207.781-.336.692-.266 1.29-.469 1.926-.63.637-.16 1.309-.276 2.152-.358.84-.082 1.852-.133 3.164-.16 1.309-.032 2.922-.044 4.965-.047l3.813-.008h1.902l1.906-.004v7.883m-25.05-2.368c.195 1.02.343 1.977.437 2.91.098.934.14 1.837.133 2.75a25.621 25.621 0 0 1-.18 2.797c-.11.961-.273 1.961-.488 3.036a39.395 39.395 0 0 1-.746 3.12 31.161 31.161 0 0 1-.946 2.829c-.355.906-.75 1.781-1.187 2.64a30.9 30.9 0 0 1-1.473 2.555c-.215.34-.597.86-1.074 1.469a76.18 76.18 0 0 1-1.625 2.012 79.82 79.82 0 0 1-1.73 2.011 30.987 30.987 0 0 1-1.387 1.489l-.258.25-.262.254-.257.253-.262.254.02-1.62.023-1.622.02-1.617.019-1.621c.02-1.414.035-2.543.058-3.465.02-.922.047-1.637.082-2.227.036-.59.082-1.054.141-1.472.059-.422.133-.797.227-1.211a38.117 38.117 0 0 1 1.086-3.91c.418-1.235.89-2.403 1.433-3.524a28.68 28.68 0 0 1 1.82-3.222 31.184 31.184 0 0 1 2.258-3.012 18.08 18.08 0 0 1 1.012-1.086c.367-.363.746-.715 1.106-1.023.355-.31.69-.575.964-.762.27-.188.48-.297.59-.297.035 0 .07.031.11.086.039.05.078.129.12.226a4.214 4.214 0 0 1 .216.75m-28.895.91c.914.915 1.738 1.86 2.488 2.86a25.52 25.52 0 0 1 2.028 3.187 30.027 30.027 0 0 1 1.636 3.645 42.64 42.64 0 0 1 1.32 4.23c.122.485.22.872.294 1.274.074.406.125.832.164 1.387.043.554.07 1.242.09 2.171.023.934.039 2.11.058 3.645.02 1.441.035 2.566.04 3.438.003.87 0 1.488-.016 1.921-.016.434-.043.68-.086.813-.04.129-.094.14-.16.101-.106-.058-.376-.324-.743-.722-.367-.399-.84-.926-1.34-1.512a82.643 82.643 0 0 1-1.539-1.832 48.185 48.185 0 0 1-1.34-1.695c-.34-.45-.722-1.031-1.117-1.688a40.534 40.534 0 0 1-1.183-2.125 43.623 43.623 0 0 1-1.075-2.207 21.82 21.82 0 0 1-.773-1.933c-.07-.215-.152-.477-.238-.762-.082-.29-.172-.602-.258-.922a49.961 49.961 0 0 1-.461-1.844c-.187-.86-.316-2.113-.395-3.508a62.606 62.606 0 0 1-.066-4.378c.027-1.434.106-2.762.227-3.735.12-.969.285-1.578.492-1.578.023 0 .097.05.21.14.11.09.259.22.438.38a44.358 44.358 0 0 1 1.305 1.25m53.23 15.39a24.897 24.897 0 0 1-.965 4.492 26.72 26.72 0 0 1-.824 2.25 33.11 33.11 0 0 1-1.058 2.305c-.344.676-.66 1.262-.98 1.805-.321.543-.641 1.035-.997 1.523-.351.485-.734.961-1.18 1.473-.445.508-.953 1.05-1.542 1.66a35.204 35.204 0 0 1-1.579 1.54c-.496.448-.976.847-1.468 1.21-.493.367-1 .703-1.551 1.031-.55.328-1.145.649-1.817.989-.84.421-1.624.761-2.445 1.03a15.58 15.58 0 0 1-2.683.626c-1.004.152-2.145.25-3.532.308-1.382.063-3.011.082-4.98.082H82.18l.03-.113.036-.113.031-.113.035-.114c.055-.199.243-.582.516-1.074.274-.496.633-1.101 1.027-1.746.399-.645.836-1.324 1.266-1.969.43-.644.852-1.25 1.219-1.746a44.604 44.604 0 0 1 5.883-6.445 41.569 41.569 0 0 1 6.812-4.977 38.048 38.048 0 0 1 7.477-3.36 34.711 34.711 0 0 1 7.886-1.585c.11-.008.22-.02.325-.027.105-.008.203-.02.293-.028.09-.008.164-.02.226-.023.063-.008.106-.016.13-.02.023-.004.038.024.05.078a.934.934 0 0 1 .023.239c.004.101 0 .226-.007.363-.008.137-.02.29-.04.45M30.934 66.89c.242 1.234.562 2.488.945 3.738a41.182 41.182 0 0 0 1.32 3.68 37.438 37.438 0 0 0 1.61 3.425 27.185 27.185 0 0 0 1.816 2.961c.45.633.992 1.313 1.594 2.004a38.232 38.232 0 0 0 1.949 2.074c.687.68 1.395 1.34 2.098 1.942.699.597 1.39 1.144 2.03 1.597.298.208.575.407.825.59.25.184.469.352.649.496.18.141.32.258.41.344.09.082.129.133.105.14-.066.028-.328-.038-.71-.167-.384-.13-.891-.324-1.458-.555a48.612 48.612 0 0 1-1.812-.777 38.066 38.066 0 0 1-7.352-4.297 42.01 42.01 0 0 1-5.043-4.422 44.733 44.733 0 0 1-4.37-5.254 45.026 45.026 0 0 1-3.575-5.941c-.125-.258-.25-.504-.356-.735-.109-.226-.207-.433-.285-.609-.078-.176-.14-.32-.18-.422-.042-.101-.058-.164-.05-.172.008-.008.062-.031.148-.066.09-.035.211-.082.36-.137.144-.05.32-.113.507-.18l.614-.21c.433-.145.988-.297 1.593-.446a39.578 39.578 0 0 1 3.805-.73c.574-.078 1.07-.125 1.434-.133l.23-.004.235-.004.23-.004.234-.004.114.57.109.57.113.567.114.57m8.199-1.87c1.383.238 2.8.59 4.226 1.039 1.426.449 2.856 1 4.27 1.636a42.064 42.064 0 0 1 4.16 2.164c1.348.801 2.648 1.68 3.879 2.621.41.317.95.778 1.547 1.32a69.069 69.069 0 0 1 1.914 1.805c.652.641 1.3 1.293 1.871 1.899a31.34 31.34 0 0 1 1.422 1.586 46.416 46.416 0 0 1 1.726 2.27c.57.796 1.125 1.613 1.622 2.39.5.781.94 1.52 1.285 2.152.343.637.593 1.172.71 1.543l.032.114.035.113.04.113.03.113h-5.511c-1.918 0-3.48-.02-4.801-.078-1.324-.058-2.41-.156-3.371-.312a15.68 15.68 0 0 1-2.63-.653c-.831-.289-1.651-.652-2.581-1.109a20.527 20.527 0 0 1-3.137-1.926 24.776 24.776 0 0 1-2.902-2.523 26.07 26.07 0 0 1-2.528-2.988 24.005 24.005 0 0 1-2.011-3.305 35.404 35.404 0 0 1-1.192-2.649 38.321 38.321 0 0 1-.968-2.66 25.394 25.394 0 0 1-.645-2.39c-.156-.72-.238-1.348-.238-1.832 0-.211 0-.371.011-.489.012-.12.032-.203.079-.257.043-.055.105-.082.203-.098.093-.016.222-.016.39-.016.094 0 .25.012.453.032.204.023.454.05.73.09.278.035.583.078.903.128.32.047.653.102.977.157m84.953.085c.336.06.809.168 1.336.297.523.13 1.101.282 1.64.434.543.152 1.051.305 1.43.43.387.125.649.222.7.273.027.023-.028.184-.149.45-.121.265-.3.632-.527 1.062-.223.433-.493.93-.79 1.457a56.9 56.9 0 0 1-.937 1.633 44.31 44.31 0 0 1-3.473 5.027 46.345 46.345 0 0 1-4.12 4.531 43.203 43.203 0 0 1-4.571 3.848 34.726 34.726 0 0 1-4.82 2.969 42.898 42.898 0 0 1-3.02 1.367c-.469.191-.89.351-1.207.457-.32.105-.535.156-.598.137-.027-.012.004-.055.079-.133.074-.074.195-.18.351-.309.153-.129.348-.281.563-.445.218-.164.465-.344.722-.531a31.987 31.987 0 0 0 3.067-2.473 30.025 30.025 0 0 0 4.992-5.887 32.018 32.018 0 0 0 1.953-3.441c.398-.809.75-1.57 1.059-2.309a30.121 30.121 0 0 0 1.48-4.39c.188-.758.363-1.547.52-2.391l.109-.59.113-.586.11-.59.109-.586h1.133c.156 0 .347.008.566.024.215.012.457.035.703.062a20.21 20.21 0 0 1 1.477.203m-79.191 55.711c.363.23.671.555.917.934.247.379.426.816.536 1.273.109.457.148.938.105 1.407a3.61 3.61 0 0 1-.371 1.336c-.156.304-.332.57-.539.808a3.303 3.303 0 0 1-1.512.996 4.104 4.104 0 0 1-.965.184 4.468 4.468 0 0 1-1.03-.043 3.427 3.427 0 0 1-1.719-.805 4.434 4.434 0 0 1-.696-.77 3.378 3.378 0 0 1-.555-1.284 4.203 4.203 0 0 1-.046-1.434c.066-.48.21-.945.43-1.36.214-.413.507-.78.87-1.058a3.654 3.654 0 0 1 1.059-.555c.383-.132.789-.207 1.2-.222.41-.02.82.023 1.214.12.39.102.766.259 1.102.473m64.375-.195c.175.086.37.23.574.406.199.176.402.38.586.598.187.215.36.438.492.652.133.211.226.407.266.567.019.07.035.168.042.285.012.113.02.25.024.398.004.145 0 .301-.004.457a8.875 8.875 0 0 1-.023.461 3.545 3.545 0 0 1-.774 1.953 3.866 3.866 0 0 1-3.625 1.368 3.584 3.584 0 0 1-1.883-.95 4.289 4.289 0 0 1-.55-.609 2.827 2.827 0 0 1-.352-.637 3.475 3.475 0 0 1-.188-.746 6.793 6.793 0 0 1-.054-.941c0-.352.027-.672.082-.961.05-.293.137-.555.25-.797.117-.242.265-.465.449-.676.188-.21.406-.41.668-.601.25-.188.547-.328.879-.434a4.168 4.168 0 0 1 1.05-.187c.364-.024.735 0 1.09.066.36.062.7.176 1 .328m-31.93.473c.177.125.368.328.556.57.183.242.367.531.527.824.16.293.297.598.394.88a2.5 2.5 0 0 1 .16.737c0 .258-.074.567-.206.895a5.551 5.551 0 0 1-.54.996 6 6 0 0 1-.742.906c-.265.27-.547.489-.816.63a2.93 2.93 0 0 1-1.024.3 3.709 3.709 0 0 1-1.117-.047 3.928 3.928 0 0 1-1.066-.37 3.194 3.194 0 0 1-.871-.669 4.034 4.034 0 0 1-.68-1.012 4.028 4.028 0 0 1-.355-1.12 3.802 3.802 0 0 1-.012-1.153 3.5 3.5 0 0 1 .344-1.094c.187-.363.375-.664.586-.91.21-.242.441-.43.71-.57.266-.14.57-.23.922-.282a6.496 6.496 0 0 1 1.239-.046c.254.011.472.027.664.046.195.024.363.055.515.098a2.284 2.284 0 0 1 .813.39"/></svg>%0A';
|
|
1125
|
+
|
|
1126
|
+
// src/primitives/BrandMark.tsx
|
|
1127
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
1128
|
+
var mask = (url) => ({
|
|
1129
|
+
WebkitMask: `url('${url}') center / contain no-repeat`,
|
|
1130
|
+
mask: `url('${url}') center / contain no-repeat`
|
|
1131
|
+
});
|
|
1132
|
+
var MASKS = { mark: mask(mark_default), lockup: mask(lockup_horizontal_default) };
|
|
1133
|
+
function BrandMark({ variant = "mark", className }) {
|
|
1134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
1135
|
+
"span",
|
|
1136
|
+
{
|
|
1137
|
+
"aria-hidden": "true",
|
|
1138
|
+
className: cn(
|
|
1139
|
+
"polli:block polli:shrink-0 polli:bg-current",
|
|
1140
|
+
className
|
|
1141
|
+
),
|
|
1142
|
+
style: MASKS[variant]
|
|
1143
|
+
}
|
|
1144
|
+
);
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
// src/compositions/AppBrand.tsx
|
|
1148
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
1149
|
+
function AppBrand({
|
|
1150
|
+
appName,
|
|
1151
|
+
href = "/",
|
|
1152
|
+
size = "md",
|
|
1153
|
+
className
|
|
1154
|
+
}) {
|
|
1155
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
1156
|
+
"a",
|
|
1157
|
+
{
|
|
1158
|
+
href,
|
|
1159
|
+
className: cn(
|
|
1160
|
+
"polli:inline-flex polli:min-w-0 polli:shrink-0 polli:items-center polli:text-theme-text-strong",
|
|
1161
|
+
size === "md" ? "polli:gap-3" : "polli:gap-2.5",
|
|
1162
|
+
className
|
|
1163
|
+
),
|
|
1164
|
+
children: [
|
|
1165
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1166
|
+
BrandMark,
|
|
1167
|
+
{
|
|
1168
|
+
className: size === "md" ? "polli:h-8 polli:w-8" : "polli:h-7 polli:w-7"
|
|
1169
|
+
}
|
|
1170
|
+
),
|
|
1171
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1172
|
+
"span",
|
|
1173
|
+
{
|
|
1174
|
+
className: cn(
|
|
1175
|
+
"polli:min-w-0 polli:truncate polli:font-subheading polli:font-medium polli:leading-none",
|
|
1176
|
+
size === "md" ? "polli:text-2xl" : "polli:text-xl"
|
|
1177
|
+
),
|
|
1178
|
+
children: appName
|
|
1179
|
+
}
|
|
1180
|
+
)
|
|
1181
|
+
]
|
|
1182
|
+
}
|
|
1183
|
+
);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1074
1186
|
// src/compositions/AppHeader.tsx
|
|
1075
1187
|
var import_react3 = require("react");
|
|
1076
|
-
|
|
1077
|
-
// src/brand/lockup-horizontal.svg
|
|
1078
|
-
var lockup_horizontal_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 858.034 105.6"><path d="M.017 45.34c0-.79 0-1.579.045-2.426.563-.021.982-.095.951-.771-.013-.302.2-.378.469-.377.714.005 1.43-.005 2.144-.002.402.001.66-.151.662-.588.002-.365.189-.512.542-.487.16.012.322.004.483 0 .517-.02 1.127.145 1.257-.64.007-.04.07-.083.115-.1.445-.16.849-.44 1.36-.399.394.033.665-.124.643-.579-.019-.352.16-.456.494-.455 1.215 0 2.431-.02 3.646-.036.711-.009.822-.093.83-.803.014-1.697.001-3.396.001-5.093.003-4.059.01-8.117.002-12.175-.002-.459.148-.631.619-.63 3.272.011 6.544.002 9.815 0 3.148-.001 6.294.002 9.441-.01.432 0 .693.093.647.593-.038.411.229.518.58.518.982 0 1.966-.006 2.949.005.419.006.634-.16.642-.592.006-.235.036-.45.356-.507.756-.138.754-.152.759-.945 0-.214.018-.43-.004-.643-.042-.427.1-.645.563-.593.399.046.54-.17.536-.547-.006-.392.018-.786.027-1.179.007-.32.138-.512.487-.483.41.035.608-.167.598-.562-.009-.414.174-.582.584-.54.356.036.555-.135.524-.499-.037-.45.167-.609.595-.581.369.023.502-.196.496-.542-.007-.392.013-.786.001-1.18-.008-.317.135-.459.444-.463.412-.007.823-.027 1.234-.032.332-.004.492-.166.494-.495.004-.392.014-.786.01-1.18-.002-.349.131-.53.512-.506.338.022.68-.018 1.018.01.528.042.71-.204.682-.699-.018-.303.015-.609-.005-.91-.025-.401.101-.602.543-.574.373.022.75-.037 1.125-.034.386.002.557-.193.565-.556.008-.358.026-.716.002-1.072-.028-.406.104-.605.54-.563.382.039.56-.158.548-.541-.008-.287-.003-.573 0-.859.007-.748.008-.746.735-.754q.456-.005.91-.028c.344-.017.518-.188.509-.548-.01-.41.006-.823.005-1.234 0-.287.132-.426.423-.425.519.003 1.037.005 1.555-.004.33-.007.441.165.437.467-.006.376.014.751-.002 1.126-.019.442.187.615.613.601.357-.011.715.008 1.073.01.33 0 .488.144.475.49-.016.41-.003.821.001 1.233.004.268.124.488.409.451.675-.085.687.294.681.806-.017 1.493-.174 1.387 1.368 1.405.86.01.856.007.86.855.01 1.509-.152 1.342 1.351 1.35.808.005.81.002.814.807.01 1.582-.004 1.343 1.37 1.372.839.018.839.014.849.824.003.25.02.501.005.75-.028.45.146.683.619.642.328-.028.514.087.472.455-.05.458.158.672.623.63.337-.031.51.121.495.462-.022.457.19.657.644.63.315-.018.45.152.449.46-.003.34.027.68.01 1.02-.024.457.127.723.63.702.34-.014.473.17.464.503-.01.375.002.75.01 1.126.005.364.172.582.555.565.394-.018.557.158.521.546-.035.378.132.568.524.566q1.556-.008 3.111-.002c.318.002.537-.133.531-.463-.011-.588.34-.636.804-.635 6.312.013 12.623.017 18.935.025.763.001.827.06.825.825-.007 1.626-.053 3.254-.035 4.88.044 4.059.052 8.116.011 12.175-.007.664.096.786.765.79 1.198.009 2.395.006 3.593.003.362-.001.645.06.62.52-.021.389.198.543.566.542.357-.002.715.023 1.073.007.401-.018.606.112.552.553-.05.41.164.59.57.581.375-.008.751.02 1.125-.002.358-.02.552.096.53.476-.03.475.227.623.663.613.679-.016 1.36.014 2.038-.011.406-.015.606.118.59.54-.016.413.21.576.605.553.124-.007.25.015.375.023 0 .753 0 1.506-.047 2.316-.83.075-.844.071-.983.844-.054.302-.24.32-.463.312-.465-.012-.63.224-.621.667.015.715-.005 1.43 0 2.146.003.319-.098.53-.455.504-.464-.034-.653.186-.637.635.009.232-.059.462-.347.437-.667-.059-.78.334-.76.866.01.25-.024.502-.003.75.036.428-.113.647-.57.615-.395-.027-.536.188-.522.564.012.375-.02.75-.001 1.125.018.375-.134.525-.503.49-.404-.037-.61.152-.592.561.016.348-.106.553-.492.517-.446-.042-.624.182-.588.608q.045.543-.498.524c-.434-.015-.615.214-.611.627.002.304-.145.48-.456.464-.469-.022-.635.222-.64.654-.002.223-.059.402-.352.443-.765.107-.763.121-.766.894 0 .25-.012.501.003.75.021.363-.088.59-.5.583-.399-.007-.587.205-.582.601.005.341-.19.491-.508.475-.44-.022-.618.184-.607.609.01.36-.183.507-.541.489-.339-.018-.68.012-1.019-.002-.424-.017-.654.168-.634.596.019.39-.176.5-.523.484-.277-.015-.554.076-.535.387.042.71-.361.787-.912.738-.23-.022-.464.014-.697.007-.417-.013-.659.18-.645.598.013.386-.16.51-.515.491-.305-.016-.574.104-.553.436.039.631-.31.707-.802.665-.231-.02-.466.01-.697-.007-.455-.034-.733.103-.697.62.024.343-.157.478-.494.465-.375-.013-.75 0-1.126 0-.388-.003-.634.166-.597.575.042.467-.2.525-.583.517-1.018-.02-2.038-.003-3.057-.023-.461-.009-.719.164-.722.643-.003.388-.198.518-.577.513-1.055-.014-2.11.007-3.164-.002-.407-.003-.663.121-.659.569.005.397-.215.51-.582.51-3.344-.006-6.688-.01-10.03.004-.441.002-.62-.17-.625-.588-.004-.36-.21-.503-.556-.497-.625.011-1.25.008-1.877.018-.287.006-.554.071-.554.435 0 .35.275.386.529.394.318.011.505.1.476.471-.034.458.175.716.666.677.31-.024.474.104.472.427-.003.397.226.609.595.617.402.01.525.196.517.567-.009.396.205.577.607.567.375-.01.75.014 1.126.017.244.002.435.074.433.355-.004.642.41.76.927.76.858 0 1.717.004 2.575.003 1.966 0 3.934-.004 5.9 0 .213.001.475-.088.54.273.142.796.152.795.983.8.214 0 .43.016.644-.006.385-.039.576.117.568.507-.008.392.156.615.576.581.338-.026.508.124.489.467-.023.415.14.646.584.636.323-.008.504.146.49.487-.019.433.199.623.62.607.325-.013.515.114.485.47-.038.44.204.62.609.624.36.003.517.167.486.532-.023.267.037.578.357.547.803-.078.751.422.721.946-.011.195.01.393-.003.589-.03.462.149.718.642.697.365-.015.479.151.467.529-.034 1.09-.004 2.18-.026 3.27-.01.452.184.61.609.595.374-.014.75.004 1.126-.001.354-.006.526.135.503.511-.021.357.013.717-.005 1.073-.02.414.108.657.569.632.335-.019.547.1.528.49-.017.382.157.614.57.61.35-.003.525.147.504.521-.023.399.197.608.59.583.397-.025.542.136.54.526-.006 1.896 0 3.791.009 5.686 0 .355-.085.59-.513.558-.415-.031-.656.18-.632.604.022.394-.161.496-.515.473-.38-.025-.576.192-.557.557.022.426-.175.58-.575.562-.393-.016-.543.205-.518.576.023.352-.122.547-.496.524-.403-.026-.606.151-.588.564.017.387-.172.534-.556.531q-2.844-.014-5.686 0c-.377.003-.585-.123-.557-.523.03-.413-.169-.598-.572-.578-.355.02-.545-.126-.516-.5.03-.408-.166-.597-.57-.587-.341.008-.544-.118-.514-.504.033-.429-.198-.647-.612-.616-.386.03-.519-.145-.515-.494.005-.4-.198-.603-.593-.583-.388.018-.491-.186-.49-.53.006-1.912.011-3.825.001-5.74-.002-.392.153-.561.536-.544.437.02.628-.204.595-.625-.025-.328.126-.46.44-.442.445.024.676-.171.645-.634-.022-.312.121-.483.438-.456.543.044.653-.243.653-.72 0-1.511.013-1.519 1.548-1.478.437.012.626-.177.625-.6q-.004-.964.005-1.93c.005-.43-.186-.636-.623-.584-.372.045-.533-.116-.502-.489.037-.438-.19-.618-.61-.608-.303.007-.483-.132-.456-.452.04-.46-.174-.665-.621-.655-.32.006-.512-.101-.479-.47.04-.45-.186-.672-.636-.645-.35.02-.492-.147-.475-.48.024-.474-.226-.619-.666-.608-.697.02-1.395.003-2.092 0-.239-.002-.52 0-.5-.333.045-.717-.392-.748-.931-.745-2.057.013-4.112.001-6.17 0-.31-.002-.647.017-.623-.444.025-.502-.25-.657-.698-.656-.66.003-1.323-.028-1.984-.011-.42.01-.647-.128-.638-.573.008-.384-.21-.562-.573-.548s-.515-.135-.528-.496c-.014-.356-.237-.56-.59-.57-.343-.007-.48-.165-.475-.497.006-.393-.202-.603-.593-.6-.368.004-.515-.19-.524-.527-.01-.399-.208-.583-.609-.571-.326.01-.503-.156-.493-.49.015-.462-.222-.654-.661-.629-.334.02-.439-.153-.433-.459q.012-.561-.013-1.126c-.012-.293-.14-.551-.46-.56-.351-.01-.423.266-.426.56l-.003 1.34q0 7.35.002 14.7c0 .663.116.769.785.76.304-.004.61.026.91-.004.424-.041.53.156.509.535-.022.356.004.714.003 1.072 0 .373.17.58.554.553.386-.026.577.127.554.522-.024.402.156.6.569.587.342-.011.55.127.516.507-.034.41.172.595.569.595.345-.001.51.137.507.516-.013 1.913-.01 3.826-.003 5.74.003.344-.093.559-.483.529-.438-.032-.627.183-.595.611.025.335-.104.51-.463.468-.457-.052-.668.155-.65.615.015.349-.15.538-.517.514-.43-.029-.646.163-.598.602.041.377-.128.532-.492.501-.387-.032-.58.166-.573.533.007.415-.168.56-.58.557-1.895-.015-3.79-.012-5.686-.003-.352.003-.546-.09-.506-.484.041-.423-.155-.645-.593-.617-.364.024-.532-.15-.526-.504q.012-.6-.586-.591c-.354.005-.529-.16-.507-.524.023-.398-.165-.625-.57-.59-.408.032-.55-.143-.528-.528s-.195-.566-.56-.55c-.411.019-.518-.186-.516-.557q.015-2.844 0-5.687c-.002-.371.1-.586.507-.567.402.018.602-.17.576-.58-.022-.34.154-.506.48-.49.472.023.637-.222.635-.654-.001-.235.078-.456.358-.431.71.063.71-.395.712-.895.005-1.284.012-1.284 1.264-1.291.913-.005.947-.036.947-.926l-.002-10.621.001-5.204c0-.324-.035-.64-.461-.64-.398 0-.432.308-.438.606-.008.359-.016.716-.005 1.074.01.332-.1.51-.466.467-.423-.05-.643.138-.63.579.01.36-.123.583-.53.56-.433-.023-.62.208-.608.626.006.202.007.45-.26.442-.482-.016-.745.214-.961.615-.102.188-.327.34-.53.436-.282.134-.423.324-.404.625.024.404-.173.542-.553.512-.379-.029-.58.164-.557.542.028.496-.225.589-.664.57-.696-.03-1.394 0-2.09.013-.243.005-.538.058-.516.347.06.811-.454.772-1.003.769-2.003-.01-4.006-.002-6.009-.004-.386 0-.75.034-.727.549.021.444-.211.542-.597.534-.697-.015-1.395.01-2.092-.003-.426-.008-.641.168-.63.597.005.285-.062.5-.413.479-.484-.031-.69.217-.661.683.02.342-.162.433-.467.406-.42-.036-.654.142-.62.587.031.395-.158.553-.539.54-.379-.012-.564.187-.55.561.018.42-.184.58-.59.546-.388-.03-.555.188-.56.553q-.006.67-.004 1.34c-.002 1.187-.001 1.184 1.188 1.195 1.268.012 1.026-.004 1.055 1.031.005.162.01.323 0 .483-.032.439.15.693.607.687.357-.003.533.155.525.512-.009.437.224.606.638.595.278-.008.45.119.423.419-.04.46.172.66.622.657.282-.002.486.1.485.435q-.001 2.95-.001 5.9c-.001.29-.109.494-.442.466-.458-.04-.661.177-.665.622-.002.318-.131.504-.49.468-.431-.042-.64.183-.625.601.014.365-.136.545-.503.504-.466-.053-.61.184-.577.604.029.365-.149.53-.51.507-.402-.025-.607.16-.592.568.014.391-.179.529-.559.528q-2.843-.015-5.687-.002c-.348.002-.558-.107-.53-.486.038-.475-.201-.642-.644-.618-.31.017-.466-.14-.45-.456.022-.424-.183-.636-.603-.637-.364 0-.501-.175-.489-.535.014-.392-.208-.602-.6-.588-.342.013-.495-.148-.5-.473-.007-.4-.223-.594-.606-.587-.38.006-.493-.189-.493-.534q.01-2.898-.002-5.794c-.001-.34.143-.511.475-.493.433.023.628-.174.627-.599 0-.286.102-.49.438-.474.484.027.684-.224.673-.684-.006-.263.12-.424.384-.4.655.06.7-.33.707-.84.024-1.56-.28-1.292 1.44-1.364.639-.027.702-.05.75-.682.079-1.037.018-2.073-.004-3.109-.008-.374.08-.615.536-.595.412.017.612-.217.59-.645-.016-.339.011-.68-.006-1.019-.018-.37.09-.596.506-.56.45.04.617-.187.581-.61-.027-.344.136-.5.477-.475.442.033.624-.186.596-.612-.022-.337.125-.505.476-.468.43.044.638-.162.637-.586 0-.368.156-.572.546-.554.414.018.593-.208.568-.596-.025-.376.136-.524.502-.5.308.023.568-.108.557-.434-.02-.584.286-.691.772-.65.248.023.5-.001.75-.005.391-.006.67-.144.662-.59-.006-.38.194-.487.542-.479.606.014 1.215.001 1.823.001h6.706c.327 0 .741.02.778-.384.063-.684.48-.736 1-.725.213.005.428-.016.643-.018.388-.006.614-.2.62-.586.006-.365.172-.512.522-.523.387-.013.587-.224.582-.617-.003-.308.137-.47.454-.456.418.021.637-.165.635-.597-.001-.335.123-.531.51-.522.278.007.558-.081.53-.452-.026-.36-.32-.398-.592-.406-.607-.017-1.215-.008-1.823-.019-.413-.008-.657.152-.628.596.023.346-.142.48-.477.48q-5.124-.004-10.246 0c-.276 0-.455-.072-.428-.393.045-.55-.245-.7-.755-.69-1.054.019-2.109-.01-3.164-.009-.346.002-.558-.116-.527-.495.04-.505-.222-.651-.684-.645-1.019.016-2.039-.01-3.057.014-.417.01-.65-.075-.601-.551.039-.385-.168-.552-.55-.54-.376.01-.753-.018-1.127.004-.39.023-.57-.134-.547-.524.025-.424-.2-.571-.594-.558-.357.012-.715-.013-1.072.003-.364.016-.54-.125-.504-.5.042-.437-.166-.625-.596-.61-.24.007-.515-.012-.5-.336.032-.661-.36-.771-.889-.756-.249.006-.5-.026-.748-.01-.397.026-.623-.103-.583-.541.038-.41-.155-.6-.567-.575-.31.02-.536-.063-.506-.438.039-.498-.213-.676-.682-.64-.21.016-.371-.043-.435-.294-.203-.798-.21-.796-1.027-.806-.196-.002-.394-.009-.59 0-.388.02-.617-.112-.588-.549.018-.253-.066-.513-.36-.493-.77.05-.764-.434-.728-.969.013-.195-.01-.393.002-.589.027-.453-.174-.724-.63-.762-.306-.025-.451-.16-.442-.472.01-.379-.187-.553-.563-.548-.27.002-.516-.058-.537-.39-.026-.409-.177-.69-.585-.864-.233-.1-.404-.352-.52-.597a.73.73 0 0 0-.366-.368c-.358-.172-.68-.385-.799-.805-.048-.168-.19-.287-.36-.272-.622.055-.71-.31-.679-.803.015-.23-.008-.464-.006-.697.006-.435-.119-.741-.637-.707-.377.024-.5-.182-.485-.533.013-.357-.01-.716-.006-1.073.006-.392-.155-.617-.57-.594-.35.02-.553-.106-.525-.487.03-.44-.182-.629-.612-.593-.349.027-.475-.142-.469-.48.01-.732-.015-1.466.006-2.2.012-.454-.156-.675-.623-.64-.274.019-.477-.031-.523-.378-.102-.759-.199-.81-.97-.628m55.964.263c0-1.806.005-3.611 0-5.417-.001-.332.018-.616.456-.615.49 0 .638-.286.63-.735-.014-.697.001-1.394.001-2.09-.001-.262.057-.467.375-.465.58 0 .72-.353.696-.85-.011-.232.014-.467-.002-.698-.03-.402.081-.653.543-.666.398-.01.55-.27.551-.648 0-.34.02-.678.024-1.018.004-.338.12-.542.505-.518.435.027.633-.227.602-.632-.029-.373.14-.462.47-.46.436.003.647-.229.63-.676-.013-.32.008-.643.002-.965-.006-.33.081-.55.476-.546.416.005.628-.225.594-.646-.03-.37.147-.524.5-.524.377 0 .62-.141.593-.57-.02-.345.151-.486.491-.462.434.032.626-.197.61-.615-.013-.36.153-.527.51-.525.271.001.557-.078.556-.381-.006-.753.477-.74 1-.713.196.01.394.002.59-.005.311-.011.597-.092.59-.469-.005-.356-.293-.419-.577-.41-.356.008-.468-.164-.457-.495.012-.393-.002-.786-.005-1.18-.002-.233-.066-.492-.325-.47-.842.068-.794-.47-.766-1.028.01-.213-.028-.428-.027-.642.001-.394-.167-.616-.58-.588-.335.023-.519-.095-.469-.456.065-.466-.138-.672-.603-.633-.328.026-.523-.115-.509-.457.018-.486-.214-.679-.686-.653-.319.017-.437-.169-.428-.475.01-.376-.013-.752.004-1.127.02-.436-.167-.645-.603-.595-.372.043-.536-.094-.494-.478.047-.43-.15-.643-.591-.606-.36.031-.543-.132-.53-.493.017-.419-.155-.643-.595-.62-.353.017-.543-.132-.51-.507.036-.421-.193-.586-.581-.578-.392.008-.546-.179-.507-.565.039-.38-.146-.582-.531-.552-.428.033-.58-.164-.549-.571.024-.315-.108-.546-.46-.504-.62.077-.627-.28-.628-.749-.003-1.573.277-1.442-1.528-1.445-.36-.001-.522.172-.517.526.004.393-.012.787 0 1.18.01.34-.13.509-.475.473-.48-.048-.643.191-.613.636.023.316-.142.47-.454.445-.467-.038-.662.176-.618.632.034.352-.139.478-.478.46-.415-.023-.64.172-.622.607.015.357-.149.528-.517.504-.371-.023-.58.153-.57.535.01.427-.167.628-.611.583-.36-.037-.543.152-.513.51.036.452-.175.608-.603.576-.338-.025-.483.17-.481.497.002.375-.014.75.001 1.126.015.365-.097.588-.506.576-.389-.01-.607.162-.59.578.016.353-.155.538-.515.518-.409-.022-.6.172-.586.575.013.379-.143.557-.543.527-.403-.03-.587.188-.582.588.004.393-.007.786-.007 1.18 0 .223-.075.416-.322.404-.74-.038-.797.42-.753.977.017.214-.01.43.007.643.03.42-.112.645-.574.615-.272-.018-.504.079-.502.415.002.322.22.434.494.447q.59.028 1.18.017c.332-.007.514.115.48.47-.046.467.182.65.63.633.317-.012.52.123.509.47q-.025.634.608.629c.333-.004.495.153.48.492-.018.377.17.572.544.569.407-.004.587.18.553.593-.023.273.057.553.382.525.654-.053.745.297.692.82-.024.23.005.464.004.697-.002.443.162.724.658.706.336-.012.491.136.449.49-.054.464.18.663.633.626.323-.028.454.127.452.44-.002.41.01.822.021 1.233.008.25.08.512.376.486.733-.063.762.38.724.911-.018.25.006.502-.005.751-.02.415.178.61.58.566.422-.046.52.154.51.532-.017.679-.009 1.358.007 2.037.007.31.057.666.455.678.579.016.629.335.624.807a390 390 0 0 0-.003 5.899c.006.833.172 1.001.89 1.016 1.039.022 1.156-.095 1.159-1.16zm-30.53-.381c-.186-.054-.254-.197-.242-.37.036-.578-.307-.684-.784-.675-.679.011-1.359-.01-2.039-.004-.353.004-.548-.13-.511-.503.048-.49-.24-.629-.653-.633-.607-.006-1.215-.005-1.824-.007-.414 0-.649.22-.651.621-.005 1 .017 2.001.032 3.001.004.387.186.614.592.592.448-.023.532.227.524.608-.016.697.014 1.395-.004 2.092-.011.43.15.647.59.617.37-.025.516.142.5.51-.015.373-.001.75.013 1.125.008.242.065.531.353.514.775-.045.746.441.711.965-.014.196.007.394-.002.59-.02.443.185.683.63.676.364-.006.526.163.518.516-.008.396.175.603.582.59.348-.01.535.129.521.505-.014.34.167.535.508.573.326.035.53.2.556.54.032.419.275.61.673.596.359-.012.476.164.464.489-.015.425.185.636.617.605.365-.026.467.186.459.5-.01.393.155.614.574.583.408-.03.537.198.523.561-.013.39.186.546.562.536.357-.01.716.011 1.073 0 .34-.01.554.091.541.48-.015.434.228.604.64.6.392-.004.786.007 1.179.014.28.004.445.13.422.427-.043.56.263.707.759.7 1.019-.014 2.038.002 3.057-.01.346-.004.562.102.548.477-.02.527.302.61.73.609 3.005-.006 6.01-.003 9.014-.005.215 0 .43-.005.628-.106.149-.077.277-.183.278-.364a.34.34 0 0 0-.335-.357c-.598-.014-.622-.391-.598-.838a6 6 0 0 0-.021-.803c-.02-.249-.132-.515-.386-.515-.76-.001-.73-.486-.696-1.01.014-.213-.011-.428-.016-.643-.007-.402-.18-.656-.611-.644-.342.009-.5-.148-.49-.479.012-.384-.2-.573-.55-.581-.405-.012-.583-.198-.595-.59-.012-.393-.24-.598-.62-.579-.343.019-.44-.131-.431-.442.011-.415-.206-.625-.625-.622-.324 0-.49-.148-.502-.484-.012-.408-.237-.628-.645-.63-.294-.001-.432-.142-.425-.426.01-.454-.228-.647-.66-.647-.28 0-.451-.129-.43-.422.036-.476-.171-.703-.648-.692-.308.007-.455-.139-.45-.457.007-.462-.23-.691-.698-.678-.164.004-.386-.007-.357-.218.08-.59-.253-.826-.726-1.01-.134-.053-.295-.208-.32-.34-.115-.606-.536-.622-1.01-.592-.231.016-.466-.01-.697.004-.395.026-.612-.107-.585-.543.026-.42-.225-.564-.609-.562-.357 0-.715-.015-1.072-.013-.35.003-.54-.143-.526-.51.019-.425-.177-.641-.61-.61-.337.026-.507-.111-.494-.458.018-.47-.247-.624-.676-.62-.68.009-1.36-.014-2.039.005-.38.01-.57-.122-.569-.514.003-.441-.264-.581-.665-.578-.392.004-.786-.012-1.273-.037m65.668-.791c-.006-.215-.03-.432-.012-.643.043-.53-.194-.757-.716-.747-.59.013-1.18-.005-1.77.004-.371.005-.62.163-.594.585.027.425-.196.562-.591.556-.715-.01-1.43.006-2.146.004-.298 0-.584.066-.558.418.044.64-.323.695-.807.66-.232-.018-.466.01-.697-.004-.454-.029-.735.118-.703.627.023.35-.156.465-.49.463-.715-.005-1.43.016-2.145.028-.384.007-.682.123-.652.584.025.394-.174.49-.526.465-.275-.022-.55.092-.541.392.023.745-.43.786-.98.746-.197-.014-.395.01-.59 0-.439-.021-.69.16-.679.618.01.387-.204.49-.545.479-.339-.012-.678.004-1.018-.001-.392-.007-.62.17-.62.569 0 .385-.169.542-.554.537-.368-.004-.564.226-.556.582.008.4-.185.53-.553.533-.393.003-.588.215-.566.615.017.316-.143.47-.449.465-.413-.005-.645.162-.626.603.014.332-.145.501-.482.495-.425-.008-.612.22-.627.63-.009.254-.095.448-.406.453-.411.006-.61.256-.666.638-.042.28-.148.465-.479.441-.456-.033-.657.217-.648.65.007.31-.12.474-.438.47-.394-.004-.611.21-.63.582-.015.356-.165.518-.518.535-.351.017-.569.206-.579.573-.01.345-.14.523-.517.514-.443-.01-.642.255-.645.682 0 .323-.015.645.001.966.019.365-.089.587-.5.578-.443-.009-.59.258-.581.66.006.213-.016.43.003.643.05.533.012.976-.702.956-.196-.004-.329.15-.336.355-.007.213.13.329.326.363.193.034.388.065.583.066q1.45.014 2.897.013c2.038.001 4.078.002 6.116-.006.336 0 .766.023.806-.425.055-.613.431-.644.888-.648.947-.01 1.894-.028 2.84-.046.417-.008.69-.172.675-.64-.01-.327.17-.428.475-.426.41.003.822-.033 1.233-.043.266-.007.493-.112.483-.388-.027-.702.407-.715.912-.678.213.016.429-.005.643 0 .409.01.653-.155.649-.591-.004-.36.18-.503.53-.521.345-.018.572-.213.573-.58.001-.366.167-.51.528-.5.4.013.595-.215.579-.604-.017-.38.18-.503.522-.498.392.007.607-.175.587-.584-.014-.315.163-.463.449-.485.433-.032.652-.239.63-.685-.013-.308.133-.463.454-.453.414.012.64-.192.64-.614-.002-.386.22-.485.558-.46.41.03.588-.174.58-.578-.008-.357.023-.715.005-1.072-.02-.37.091-.588.499-.576.363.01.51-.2.525-.536.018-.392.054-.785.057-1.177.004-.308.113-.47.441-.46.497.017.643-.281.638-.724-.009-.68.009-1.36-.005-2.038-.007-.343.083-.559.47-.55.496.012.645-.284.642-.724-.004-.662.004-1.323.006-2.091M35.068 29.31c-.033-.43-.012-.795.592-.751.317.022.49-.194.497-.51q.018-.644.008-1.286c-.02-1.273.2-1.297-1.337-1.292-.6.002-1.203.04-1.776-.193.123-.602-.145-.927-.758-.927q-6.41-.004-12.818.001c-.572.002-.736.164-.734.737.003.68.04 1.359.038 2.038-.006 3.502-.024 7.005-.026 10.509-.001.745.103.832.84.839q1.528.01 3.057.005c.332 0 .56.093.547.482-.014.45.254.583.655.576.375-.006.75.007 1.126.013.245.002.427.084.41.37-.04.692.287.764.876.763q1.503-.003 3.004.002c.225 0 .464-.043.516.308.11.767.123.764.883.768.233.001.466.015.697-.005.423-.034.658.102.598.57-.054.413.173.531.545.52.392-.012.786.007 1.178.006.324-.002.518.122.486.476-.045.47.193.648.636.633.267-.01.46.087.438.4-.037.529.249.662.725.673 1.304.029 1.32.008 1.323-1.335.001-.464-.172-.69-.614-.659-.444.031-.507-.215-.504-.56.002-.375-.006-.75-.015-1.125-.007-.268-.135-.485-.41-.467-.667.043-.687-.355-.685-.855.009-3.54.003-7.08.002-10.723M91.11 35.95l-.003-10.835c-.002-.669-.08-.764-.668-.764-4.237-.002-8.475.005-12.712-.003-.467-.001-.73.168-.708.644.019.436-.22.492-.573.485-.661-.012-1.323.021-1.984-.003-.538-.018-.743.223-.727.738a38 38 0 0 1 .009 1.77c-.007.403.158.614.571.582.404-.032.525.162.525.543q-.01 5.633 0 11.264c0 .344-.08.55-.485.507-.444-.048-.606.214-.608.62 0 .34-.021.68-.006 1.02.018.388-.145.576-.535.538-.44-.042-.54.204-.563.585-.087 1.455-.016 1.425 1.444 1.374.347-.013.55-.2.545-.533-.008-.441.232-.55.602-.555.265-.002.492-.113.473-.396-.045-.662.344-.726.85-.689.213.015.43-.015.643 0 .45.03.726-.119.732-.618.003-.326.177-.475.514-.461.375.014.75-.003 1.126-.006.333-.003.573-.13.554-.499-.029-.506.254-.586.672-.579.966.014 1.932-.009 2.897.005.517.007.832-.179.83-.732 0-.303.157-.408.437-.408.393 0 .786-.014 1.18-.015.336-.001.567-.134.564-.495-.005-.468.258-.556.656-.551.929.012 1.858 0 2.789-.001.9-.003.946-.045.956-.923.004-.5.002-1.001.003-1.61m-23.04 5.341c.027-.264.185-.41.426-.492.449-.15.631-.466.63-.94-.012-3.487-.01-6.974-.012-10.46 0-.31-.049-.596-.43-.62-.426-.028-.43.298-.431.587-.002.332-.12.506-.479.464-.485-.058-.705.16-.648.651.043.36-.095.542-.482.502-.476-.05-.635.204-.61.647.016.32-.014.645.004.965.024.424-.17.578-.577.558-.356-.019-.715.01-1.072-.006-.418-.02-.588.185-.589.578 0 .41-.009.822-.007 1.232.002.234-.093.41-.333.393-.701-.05-.79.363-.746.915.02.266-.009.536.001.804.013.337-.127.501-.474.48-.481-.029-.612.25-.605.676.01.697-.01 1.394.001 2.091.006.373-.114.585-.522.553-.424-.034-.573.196-.564.588.008.357-.013.716-.001 1.073.012.356-.111.539-.498.503-.398-.037-.597.16-.604.565-.006.338-.04.677-.044 1.017-.028 2.931.084 5.862.005 8.795-.028.999.032 2 .063 3 .009.281.083.558.43.58.34.021.4-.238.427-.502.025-.233.093-.448.37-.43.68.045.747-.397.752-.9.002-.251.01-.502.002-.751-.012-.342.094-.549.485-.53.395.018.602-.2.599-.59-.004-.364.183-.517.523-.533.434-.02.577-.29.581-.681.005-.357.01-.714.023-1.073.008-.266.12-.45.421-.433.483.025.684-.236.69-.684.005-.269.142-.377.399-.4.49-.04.661-.367.676-.808.01-.322.007-.645.007-.966 0-.215.05-.42.3-.43.7-.034.772-.511.778-1.048q.008-.375.01-.752c0-.25.09-.408.372-.41.565 0 .72-.335.715-.843-.01-.948.013-1.895.039-2.935M48.394 40.2c-.148-.183-.124-.404-.126-.615-.006-.483-.003-.966-.008-1.448-.004-.299-.118-.58-.442-.564-.598.027-.674-.295-.636-.767.019-.249-.008-.5-.003-.751.01-.424-.14-.697-.614-.676-.38.016-.495-.176-.478-.533.02-.391.004-.786-.017-1.177-.018-.338-.207-.518-.557-.513-.376.003-.751-.016-1.125.006-.364.021-.535-.11-.521-.486.013-.34-.01-.68.001-1.018.014-.411-.145-.666-.58-.656-.408.009-.53-.196-.51-.567.014-.303-.106-.55-.446-.547-.482.004-.729-.167-.703-.688.015-.275-.194-.414-.46-.415s-.366.184-.395.421c-.012.107-.03.213-.032.32-.008 3.52-.048 7.04.037 10.56.01.391.17.616.58.593.385-.022.481.165.478.52-.01 1.038.025 2.073.01 3.11-.007.481.137.757.661.735.338-.014.478.158.467.496-.013.392-.003.786.01 1.179.009.251.112.512.384.497.706-.039.714.395.681.895-.014.213.001.428-.001.644-.005.42.148.697.62.678.36-.012.522.156.513.517-.006.293.087.582.421.575.62-.01.696.337.653.825-.019.213.015.43.007.644-.019.466.143.759.662.759.3-.002.458.148.445.468-.018.45.212.668.659.631.336-.028.436.126.438.44.001.391.039.784.07 1.176.025.326.186.544.533.557.307.01.517.105.545.45.012.153.096.274.26.3.187.027.296-.091.382-.239.177-.31.173-.652.174-.99q.012-5.415.02-10.83c0-.375-.013-.75-.026-1.125-.009-.287-.14-.51-.443-.497-.603.027-.693-.323-.617-.789.148-.888-.2-1.545-.971-2.105m37.464 24.569c.496.035.897-.032.865-.687-.013-.234.17-.33.402-.327.374.003.75-.014 1.125-.001.44.013.696-.165.668-.624-.025-.415.195-.53.555-.525.282.004.537-.103.514-.415-.048-.646.335-.682.81-.654.232.013.465-.019.696-.006.451.024.732-.116.702-.628-.016-.295.11-.496.436-.467.468.04.65-.186.649-.628-.001-.334.18-.47.514-.459.42.016.633-.207.609-.628-.021-.354.164-.49.484-.48.459.017.649-.203.627-.652-.015-.309.154-.47.46-.457.438.021.616-.19.606-.612-.007-.295.131-.498.448-.468.538.05.702-.229.685-.704-.01-.222.058-.358.32-.397.766-.113.763-.125.768-.897.002-.233.015-.466 0-.697-.025-.387.09-.625.53-.605.4.02.599-.18.585-.583-.012-.346.121-.546.498-.53.376.018.567-.158.557-.544-.01-.37.147-.56.547-.539s.585-.216.592-.599c.008-.393.014-.786.007-1.18-.004-.23.054-.358.317-.39.769-.094.768-.105.771-.904.001-.215.017-.43 0-.643-.038-.457.095-.724.62-.679.307.026.445-.17.45-.472.006-.336-.195-.428-.484-.425-.375 0-.752-.012-1.126.003-.378.016-.573-.12-.546-.525.029-.415-.197-.575-.594-.562-.357.01-.715-.017-1.072-.002-.372.013-.592-.105-.554-.516.044-.48-.224-.631-.65-.63-.894.002-1.788-.006-2.682-.001-.735.002-.839.1-.844.836-.008 1.34-.004 2.682-.002 4.022.001.4-.064.712-.582.67-.428-.032-.549.236-.546.614.007.751 0 1.502.002 2.253 0 .232-.029.407-.322.459-.765.134-.764.146-.767.907 0 .233-.01.466.003.697.023.395-.115.617-.55.586-.384-.027-.552.176-.549.552.005.376-.015.75-.003 1.125.009.331-.095.512-.462.474-.423-.042-.646.152-.63.587.016.381-.127.567-.538.516-.413-.049-.586.183-.586.576 0 .375-.017.75-.003 1.126.015.363-.128.54-.499.51-.399-.034-.627.127-.58.551.047.436-.155.574-.563.54-.354-.03-.541.152-.515.514.03.409-.144.589-.56.577-.321-.008-.57.13-.56.5.013.446-.163.66-.631.622-.23-.018-.472.077-.442.349.064.586-.178.801-.748.801-.275.001-.368.26-.34.517.026.255.215.304.431.293.196-.008.392-.018.677-.035m-64.856-4.174c-.164-.059-.206-.198-.196-.345.04-.517-.156-.783-.709-.715-.27.033-.388-.1-.38-.378.008-.392-.005-.786-.01-1.18-.003-.403-.17-.652-.609-.631-.337.016-.499-.131-.474-.478.034-.45-.172-.683-.633-.634-.397.043-.496-.158-.486-.507.013-.392-.003-.786-.01-1.18-.004-.267-.117-.49-.4-.463-.659.061-.743-.306-.696-.823.021-.23-.008-.465.004-.697.023-.46-.176-.734-.645-.727-.373.006-.446-.173-.44-.496.011-.697-.001-1.394-.005-2.092-.002-.415-.152-.696-.626-.68-.376.014-.501-.199-.489-.542.006-.16-.003-.322-.003-.482q0-1.957.006-3.916c0-.388-.16-.604-.573-.603-1.036.006-2.075.001-3.111.004-.283 0-.524.112-.508.425.036.672-.368.75-.885.725-.233-.011-.466.01-.699.001-.407-.012-.661.14-.643.586.016.377-.18.503-.529.495a18 18 0 0 0-1.18.014c-.273.013-.42.177-.43.451-.01.26.136.44.38.423.698-.047.733.379.694.89-.016.213.007.43-.007.643-.029.434.127.696.6.68.38-.015.494.186.477.537-.019.356.001.714-.005 1.072-.005.36.127.594.519.597.38.002.533.217.581.564.045.323.219.532.572.502.427-.035.58.172.563.573-.01.248.054.517.35.504.708-.028.773.39.729.931-.018.213.011.43.002.643-.016.418.177.655.594.657.35.001.54.1.498.493-.044.402.17.617.565.602.418-.014.583.172.571.575-.008.317.148.522.483.508.448-.017.601.21.587.623-.012.353.179.55.525.524.433-.03.626.118.596.571-.024.343.164.546.524.517.427-.033.58.162.544.572-.031.361.162.538.518.507.442-.038.622.163.607.591-.013.39.217.538.578.536q.589-.005 1.179-.001c.207.002.44.039.41.304-.08.756.386.801.94.779.267-.01.537.034.801.011.346-.03.5.071.463.444-.048.48.204.698.677.651.307-.03.435.117.42.404-.03.558.276.718.773.682.213-.016.43 0 .643 0 .282-.003.566-.021.577-.398.01-.365-.216-.51-.552-.5-.357.011-.534-.132-.509-.506.028-.404-.175-.596-.577-.59-.326.005-.569-.092-.547-.483.024-.43-.177-.626-.61-.606-.296.015-.494-.113-.47-.437.048-.61-.324-.72-.904-.721m63.036 34.12c-.36.028-.426.279-.417.568.01.357-.144.545-.51.512-.48-.042-.639.228-.634.647.003.31-.12.462-.444.444-.496-.028-.663.25-.64.705.012.25-.001.5.013.748.022.366.162.62.593.578.292-.027.495.068.47.412-.04.512.216.724.706.687.32-.025.478.11.443.433-.06.528.197.713.691.67.213-.02.43-.02.642-.002.477.039.709-.155.665-.647-.026-.303.092-.482.426-.455.475.038.696-.178.676-.658-.011-.28.124-.448.424-.41.593.075.762-.226.71-.758-.024-.23-.01-.463-.004-.696.01-.419-.172-.643-.61-.607-.35.028-.555-.099-.531-.479.028-.429-.16-.63-.598-.608-.283.014-.515-.091-.486-.42.054-.62-.295-.717-.796-.673-.23.02-.462.003-.79.008m-30.027.157c-.1.142-.096.306-.09.466.015.315-.123.482-.44.453-.505-.044-.676.203-.642.671.02.285-.121.442-.416.423-.526-.034-.699.243-.67.725q.021.35-.003.697c-.028.446.137.686.617.633.257-.028.495.02.468.349-.044.553.244.74.739.723.295-.009.376.158.35.409-.06.547.197.75.72.7.232-.022.468-.026.698-.004.463.043.67-.155.634-.615-.025-.33.102-.5.458-.487.436.013.67-.193.635-.654-.02-.28.112-.462.4-.445.606.034.729-.305.683-.81-.02-.213-.01-.43-.007-.644.006-.376-.18-.58-.552-.566-.388.014-.564-.139-.53-.535.034-.379-.145-.587-.532-.554-.449.04-.615-.174-.609-.593.004-.254-.079-.487-.373-.494-.494-.014-.997-.121-1.538.152m-29.803 5.225c.251 1.04.251 1.026 1.374 1.019.458-.004.727-.141.693-.642-.019-.304.093-.48.428-.458.497.03.738-.223.724-.706-.01-.32.173-.407.434-.404.463.003.631-.264.64-.678.007-.25.009-.5-.003-.75-.017-.374-.182-.62-.595-.59-.335.024-.51-.11-.501-.453.01-.447-.197-.662-.653-.632-.302.02-.494-.115-.467-.436.047-.54-.227-.697-.712-.658-.23.018-.463.012-.695.002-.401-.016-.606.156-.588.569.013.308-.08.538-.446.518-.46-.025-.647.205-.646.646.002.26-.092.471-.406.437-.57-.063-.715.259-.707.743.003.214-.01.428-.017.643-.015.459.174.714.667.679.2-.014.466-.016.446.247-.057.737.45.78 1.03.904m3.045-34.319c.168-.52.09-.686-.395-.731a7 7 0 0 0-1.018-.007c-.256.011-.375.177-.382.43-.007.249.09.435.353.444.46.018.927.105 1.442-.136m56.202-.755c-.177.012-.36.003-.531.041-.236.053-.364.22-.358.467.007.274.19.372.426.379q.536.016 1.07-.004c.282-.009.406-.19.417-.457.012-.273-.155-.385-.396-.409-.177-.016-.356-.013-.628-.017M263.345 5.975c-.616.696-.774 11.128-.697 37.236l.24 36.237h19.335l.239-36.617c.158-28.815 0-36.775-.774-37.31-1.774-1.078-17.33-.778-18.343.454m30.873.474c-.851 1.62-1.074 68.441-.22 71.686.378 1.612.758 1.693 9.89 1.693 7.976 0 9.604-.239 9.985-1.235.85-2.167.539-70.609-.3-72.221-.777-1.313-1.71-1.47-9.686-1.47-7.96 0-8.892.157-9.67 1.55M325.71 5.36c-.304.316-.539 4.019-.539 8.2v7.562h19.417l-.223-7.96-.235-7.879-8.973-.223c-4.873-.08-9.13.081-9.447.3m203.814.616c-.632.696-.85 3.565-.697 7.96l.223 6.806h19.352l.222-7.264c.163-5.331-.08-7.502-.773-7.96-.539-.3-4.716-.616-9.196-.616-6.125 0-8.511.316-9.131 1.074m309.95-.616c-.3.316-.539 4.019-.539 8.2v7.562h19.417l-.223-7.96-.235-7.879-8.973-.223c-4.873-.08-9.13.081-9.447.3m-350.57 6.186c-.238.697-.473 4.638-.473 8.88v7.644h-3.403c-3.942 0-4.335.55-4.335 6.485 0 4.797.851 5.874 4.793 5.874h2.945v8.273c0 4.638.235 11.743.534 15.827l.478 7.575h7.422l.235 3.626.223 3.719h22.442l.235-5.331c.158-3.784-.08-5.57-.778-5.951-.538-.397-3.163-.697-5.87-.697h-4.808l.158-13.368.235-13.28 5.412-.397 5.412-.376V28.462l-5.412-.393-5.412-.381-.235-8.734-.223-8.64h-9.528c-8.037 0-9.666.218-10.046 1.23M130.74 28.62c-.316.223-.555 16.366-.555 35.843 0 32.975.08 35.446 1.393 35.985.697.393 5.266.539 10.063.393l8.669-.235V79.824h14.308c10.917 0 14.32-.235 14.401-.992.081-.474.142-2.167.22-3.642.08-2.706.08-2.706 4.18-2.925l4.035-.239V35.948l-2.407-.458a30 30 0 0 0-4.253-.462c-1.698 0-1.856-.316-1.856-3.483v-3.476h-23.905l-.239 2.864c-.218 2.94-.218 2.94-3.86 3.16l-3.719.243v-6.267h-7.98c-4.396 0-8.273.235-8.495.55m36.584 25.259v13.514l-8.195.235c-4.497.142-8.357.08-8.515-.081-.158-.154-.3-6.328-.3-13.75V40.429h17.014Zm37.755-22.171c-.218 3.544-.3 3.702-2.548 3.544a22.7 22.7 0 0 0-4.018.24l-1.787.315v36.22l4.1.24 4.035.218.218 3.719.24 3.625 19.89-.162 19.874-.218.24-3.72.238-3.62h8.434V54.035c0-17.533-.08-18.169-1.551-18.627-.855-.3-2.706-.38-4.1-.223-2.406.223-2.483.146-2.864-3.24l-.397-3.484-19.874-.235-19.89-.162Zm28.009 22.248v13.514h-16.232V40.424h16.232ZM325.71 28.62c-.304.223-.539 11.885-.539 25.873v25.412l9.524-.235 9.435-.222.235-25.728.142-25.651h-9.115c-5.031 0-9.447.235-9.682.55m28.244 25.1.239 25.729h19.335l.24-19.542.161-19.482h16.233l.158 19.482.239 19.542h19.335l.239-21.79.158-21.791-4.035-.219-4.1-.239-.222-3.702-.235-3.638-12.534.158-12.534.235-.239 2.848-.235 2.945h-7.656v-6.186h-14.705Zm68.867-19.703.222 6.032 15.334.235 15.316.141-.235 3.72-.239 3.625-12.752.393-12.773.38-.077 3.087v3.104l-3.942.218c-3.338.162-4.034.539-4.415 1.933-.616 2.248-.616 7.182 0 11.662l.539 3.561h7.421l.24 3.622.234 3.719 11.837.222 11.76.235v-6.327l3.719.223c3.638.235 3.638.235 3.86 3.082l.235 2.945h14.625v-43.88l-2.326-.539c-1.235-.3-2.629-.3-3.01-.08-1.786 1.174-3.18-.536-3.18-3.861v-3.403h-42.628Zm30.795 29.973v3.484h-14.7V60.52h14.7Zm75.434-34.988c-.223.538-.3 12.12-.223 25.732l.223 24.715h19.352V28.462l-9.524-.235c-7.203-.162-9.589.08-9.828.774m37.14 0a21.5 21.5 0 0 0-.54 3.702c-.234 2.706-.234 2.706-4.334 2.945l-4.018.219.158 17.93.218 17.913 4.04.24 4.018.234.235 3.626.223 3.638 19.971.222 19.874.158v-7.72h8.511V35.805h-3.005c-4.89 0-5.51-.555-5.51-4.334v-3.403H586.32c-15.175 0-19.89.235-20.13.932m28.248 24.954v13.514h-16.252V40.424h16.252ZM623.52 28.7c-.218.458-.141 34.052.24 48.182l.08 2.945h9.59c8.053 0 9.665-.239 10.062-1.235.239-.697.458-9.508.458-19.7v-18.53l7.98.22 7.891.238.381 19.307.397 19.324h19.336V36.183l-3.877-.38-3.86-.398-.382-3.463-.393-3.484-12.533-.235-12.611-.162v6.19h-7.738v-6.186h-7.283c-4.019 0-7.499.316-7.738.632m74.219.304a20.3 20.3 0 0 0-.555 3.702c-.223 2.706-.223 2.706-4.254 2.945l-4.103.219v7.66c0 4.16.239 8.102.478 8.8.3.93 1.535 1.235 4.172 1.235h3.784l.243 3.24.235 3.322 11.059.243 10.982.235v6.867h-14.462c-8.057 0-15.017.3-15.556.697-.696.38-.931 2.167-.773 5.95l.235 5.332H731l.234-3.638.223-3.626 4.035-.235 4.019-.239.239-6.55c.3-9.589.141-10.047-4.497-10.047h-3.796l-.223-3.326-.234-3.24-11.222-.381-11.221-.397V40.82l14.243-.239c7.9-.08 14.624-.457 15.082-.838.539-.474.774-2.941.616-6.186l-.3-5.49h-20.052c-15.394 0-20.19.236-20.41.933m80.624 0c-.162.538-.162 3.24.142 6.027l.474 5.02 14.923.235 14.86.141v7.738h-25.522v6.947h-8.515v16.917l4.096.24 4.018.218.243 3.719.219 3.702 11.772-.235 11.756-.222.24-2.941c.222-2.864.299-2.864 3.62-2.864 3.343 0 3.42 0 3.643 2.864l.239 2.94 7.575.223 7.502.235v-22.09c0-17.075-.222-22.009-.915-22.09-.555-.08-2.406-.158-4.1-.235-3.103-.08-3.103-.08-3.496-3.544l-.38-3.484-20.969-.235c-16.406-.162-21.125 0-21.425.774m30.398 34.988v3.56l-7.121-.238-7.183-.223-.239-2.167c-.457-4.096 0-4.4 7.58-4.4h6.963Zm30.176-10.034v25.873h19.117l.458-8.734a271 271 0 0 0 0-33.594l-.458-9.431h-19.117Zm-89.677 9.195c-.615.697-.85 3.622-.692 8.641l.235 7.657 8.357.222 8.353.235-.235-8.734-.223-8.717-7.437-.24c-5.729-.157-7.657.082-8.358.932m0 0"/></svg>';
|
|
1079
|
-
|
|
1080
|
-
// src/compositions/AppHeader.tsx
|
|
1081
|
-
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
1082
|
-
var brandWordmarkMaskUrl = `url('${lockup_horizontal_default}')`;
|
|
1083
|
-
var brandWordmarkMask = {
|
|
1084
|
-
WebkitMaskImage: brandWordmarkMaskUrl,
|
|
1085
|
-
WebkitMaskPosition: "center",
|
|
1086
|
-
WebkitMaskRepeat: "no-repeat",
|
|
1087
|
-
WebkitMaskSize: "contain",
|
|
1088
|
-
maskImage: brandWordmarkMaskUrl,
|
|
1089
|
-
maskPosition: "center",
|
|
1090
|
-
maskRepeat: "no-repeat",
|
|
1091
|
-
maskSize: "contain"
|
|
1092
|
-
};
|
|
1188
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
1093
1189
|
function scrollTopFor(target) {
|
|
1094
1190
|
return target === window ? window.scrollY : target.scrollTop;
|
|
1095
1191
|
}
|
|
1096
1192
|
function AppHeader({
|
|
1097
1193
|
children,
|
|
1098
1194
|
navLabel,
|
|
1195
|
+
appName,
|
|
1099
1196
|
autoHide = false,
|
|
1100
1197
|
scrollTargetRef,
|
|
1101
|
-
brandHref
|
|
1198
|
+
brandHref,
|
|
1102
1199
|
brandLabel = "Pollinations",
|
|
1103
1200
|
className,
|
|
1104
1201
|
innerClassName,
|
|
@@ -1135,7 +1232,7 @@ function AppHeader({
|
|
|
1135
1232
|
target.removeEventListener("scroll", handleScroll);
|
|
1136
1233
|
};
|
|
1137
1234
|
}, [autoHide, scrollTargetRef]);
|
|
1138
|
-
return /* @__PURE__ */ (0,
|
|
1235
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1139
1236
|
"header",
|
|
1140
1237
|
{
|
|
1141
1238
|
className: cn(
|
|
@@ -1146,7 +1243,7 @@ function AppHeader({
|
|
|
1146
1243
|
className
|
|
1147
1244
|
),
|
|
1148
1245
|
onFocusCapture: () => setHidden(false),
|
|
1149
|
-
children: /* @__PURE__ */ (0,
|
|
1246
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
1150
1247
|
"div",
|
|
1151
1248
|
{
|
|
1152
1249
|
className: cn(
|
|
@@ -1154,27 +1251,26 @@ function AppHeader({
|
|
|
1154
1251
|
innerClassName
|
|
1155
1252
|
),
|
|
1156
1253
|
children: [
|
|
1157
|
-
/* @__PURE__ */ (0,
|
|
1254
|
+
appName ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(AppBrand, { appName, href: brandHref }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
1158
1255
|
"a",
|
|
1159
1256
|
{
|
|
1160
|
-
href: brandHref,
|
|
1257
|
+
href: brandHref ?? "https://pollinations.ai",
|
|
1161
1258
|
target: "_blank",
|
|
1162
1259
|
rel: "noopener noreferrer",
|
|
1163
1260
|
className: "polli:inline-flex polli:shrink-0 polli:items-center polli:text-theme-text-strong",
|
|
1164
1261
|
children: [
|
|
1165
|
-
/* @__PURE__ */ (0,
|
|
1166
|
-
/* @__PURE__ */ (0,
|
|
1167
|
-
|
|
1262
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "polli:sr-only", children: brandLabel }),
|
|
1263
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1264
|
+
BrandMark,
|
|
1168
1265
|
{
|
|
1169
|
-
|
|
1170
|
-
className: "polli:
|
|
1171
|
-
style: brandWordmarkMask
|
|
1266
|
+
variant: "lockup",
|
|
1267
|
+
className: "polli:h-7 polli:w-[220px] polli:max-w-full"
|
|
1172
1268
|
}
|
|
1173
1269
|
)
|
|
1174
1270
|
]
|
|
1175
1271
|
}
|
|
1176
1272
|
),
|
|
1177
|
-
children ? /* @__PURE__ */ (0,
|
|
1273
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1178
1274
|
"nav",
|
|
1179
1275
|
{
|
|
1180
1276
|
"aria-label": navLabel,
|
|
@@ -1193,11 +1289,13 @@ function AppHeader({
|
|
|
1193
1289
|
}
|
|
1194
1290
|
|
|
1195
1291
|
// src/primitives/Surface.tsx
|
|
1196
|
-
var
|
|
1292
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1197
1293
|
var variantClasses = {
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1294
|
+
// Phones get tighter padding (and a matching radius) so nested cards keep
|
|
1295
|
+
// their width; from `sm` up the page has room for the full spacing.
|
|
1296
|
+
panel: "polli:rounded-3xl polli:bg-surface-block polli:p-4 polli:sm:rounded-block polli:sm:p-7",
|
|
1297
|
+
card: "polli-surface-card polli:rounded-card polli:bg-surface-opaque polli:p-3.5 polli:sm:p-4",
|
|
1298
|
+
"card-themed": "polli:rounded-card polli:bg-theme-bg-pale polli:p-3.5 polli:sm:p-4"
|
|
1201
1299
|
};
|
|
1202
1300
|
function Surface({
|
|
1203
1301
|
as,
|
|
@@ -1207,7 +1305,7 @@ function Surface({
|
|
|
1207
1305
|
...rest
|
|
1208
1306
|
}) {
|
|
1209
1307
|
const Component = as || "div";
|
|
1210
|
-
return /* @__PURE__ */ (0,
|
|
1308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1211
1309
|
Component,
|
|
1212
1310
|
{
|
|
1213
1311
|
...rest,
|
|
@@ -1218,7 +1316,7 @@ function Surface({
|
|
|
1218
1316
|
}
|
|
1219
1317
|
|
|
1220
1318
|
// src/compositions/Callout.tsx
|
|
1221
|
-
var
|
|
1319
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
1222
1320
|
function Callout({
|
|
1223
1321
|
title,
|
|
1224
1322
|
body,
|
|
@@ -1226,7 +1324,7 @@ function Callout({
|
|
|
1226
1324
|
tone = "theme",
|
|
1227
1325
|
className
|
|
1228
1326
|
}) {
|
|
1229
|
-
return /* @__PURE__ */ (0,
|
|
1327
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
1230
1328
|
Surface,
|
|
1231
1329
|
{
|
|
1232
1330
|
as: "section",
|
|
@@ -1237,8 +1335,8 @@ function Callout({
|
|
|
1237
1335
|
className
|
|
1238
1336
|
),
|
|
1239
1337
|
children: [
|
|
1240
|
-
/* @__PURE__ */ (0,
|
|
1241
|
-
/* @__PURE__ */ (0,
|
|
1338
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "polli:flex polli:max-w-lg polli:flex-col polli:gap-2.5", children: [
|
|
1339
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1242
1340
|
Heading,
|
|
1243
1341
|
{
|
|
1244
1342
|
size: "section",
|
|
@@ -1246,9 +1344,9 @@ function Callout({
|
|
|
1246
1344
|
children: title
|
|
1247
1345
|
}
|
|
1248
1346
|
),
|
|
1249
|
-
/* @__PURE__ */ (0,
|
|
1347
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Text, { className: "polli:text-theme-text-strong/75", children: body })
|
|
1250
1348
|
] }),
|
|
1251
|
-
/* @__PURE__ */ (0,
|
|
1349
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "polli:flex polli:flex-wrap polli:items-center polli:gap-3", children })
|
|
1252
1350
|
]
|
|
1253
1351
|
}
|
|
1254
1352
|
);
|
|
@@ -1259,7 +1357,7 @@ var import_react5 = require("react");
|
|
|
1259
1357
|
|
|
1260
1358
|
// src/primitives/ScrollArea.tsx
|
|
1261
1359
|
var import_react4 = require("react");
|
|
1262
|
-
var
|
|
1360
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1263
1361
|
var axisClasses = {
|
|
1264
1362
|
y: "polli:overflow-y-auto polli:overflow-x-hidden",
|
|
1265
1363
|
x: "polli:overflow-x-auto polli:overflow-y-hidden",
|
|
@@ -1331,7 +1429,7 @@ var ScrollArea = (0, import_react4.forwardRef)(
|
|
|
1331
1429
|
element.removeEventListener("focusout", scheduleHide);
|
|
1332
1430
|
};
|
|
1333
1431
|
}, [scrollbar]);
|
|
1334
|
-
return /* @__PURE__ */ (0,
|
|
1432
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1335
1433
|
"div",
|
|
1336
1434
|
{
|
|
1337
1435
|
...rest,
|
|
@@ -1350,7 +1448,7 @@ var ScrollArea = (0, import_react4.forwardRef)(
|
|
|
1350
1448
|
ScrollArea.displayName = "ScrollArea";
|
|
1351
1449
|
|
|
1352
1450
|
// src/compositions/ChatConversation.tsx
|
|
1353
|
-
var
|
|
1451
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1354
1452
|
var ChatConversation = (0, import_react5.forwardRef)(
|
|
1355
1453
|
({
|
|
1356
1454
|
children,
|
|
@@ -1360,8 +1458,8 @@ var ChatConversation = (0, import_react5.forwardRef)(
|
|
|
1360
1458
|
onScrollToBottom,
|
|
1361
1459
|
scrollButtonLabel = "Scroll to latest message",
|
|
1362
1460
|
...viewportProps
|
|
1363
|
-
}, ref) => /* @__PURE__ */ (0,
|
|
1364
|
-
/* @__PURE__ */ (0,
|
|
1461
|
+
}, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: cn("polli:relative polli:min-h-0", className), children: [
|
|
1462
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1365
1463
|
ScrollArea,
|
|
1366
1464
|
{
|
|
1367
1465
|
...viewportProps,
|
|
@@ -1370,15 +1468,15 @@ var ChatConversation = (0, import_react5.forwardRef)(
|
|
|
1370
1468
|
children
|
|
1371
1469
|
}
|
|
1372
1470
|
),
|
|
1373
|
-
showScrollButton && onScrollToBottom && /* @__PURE__ */ (0,
|
|
1471
|
+
showScrollButton && onScrollToBottom && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1374
1472
|
"button",
|
|
1375
1473
|
{
|
|
1376
1474
|
type: "button",
|
|
1377
1475
|
"aria-label": scrollButtonLabel,
|
|
1378
1476
|
title: scrollButtonLabel,
|
|
1379
1477
|
onClick: onScrollToBottom,
|
|
1380
|
-
className: "polli-control polli:absolute polli:bottom-3 polli:left-1/2 polli:flex polli:size-9 polli:-translate-x-1/2 polli:cursor-pointer polli:items-center polli:justify-center polli:rounded-full polli:border polli:border-theme-border/60 polli:bg-surface-opaque polli:text-theme-text-strong polli:
|
|
1381
|
-
children: /* @__PURE__ */ (0,
|
|
1478
|
+
className: "polli-control polli:absolute polli:bottom-3 polli:left-1/2 polli:flex polli:size-9 polli:-translate-x-1/2 polli:cursor-pointer polli:items-center polli:justify-center polli:rounded-full polli:border polli:border-theme-border/60 polli:bg-surface-opaque polli:text-theme-text-strong polli:transition-transform polli:hover:translate-y-0.5",
|
|
1479
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ArrowRightIcon, { className: "polli:size-4 polli:rotate-90" })
|
|
1382
1480
|
}
|
|
1383
1481
|
)
|
|
1384
1482
|
] })
|
|
@@ -1388,7 +1486,7 @@ function ChatConversationContent({
|
|
|
1388
1486
|
className,
|
|
1389
1487
|
...props
|
|
1390
1488
|
}) {
|
|
1391
|
-
return /* @__PURE__ */ (0,
|
|
1489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1392
1490
|
"div",
|
|
1393
1491
|
{
|
|
1394
1492
|
className: cn(
|
|
@@ -1401,20 +1499,20 @@ function ChatConversationContent({
|
|
|
1401
1499
|
}
|
|
1402
1500
|
|
|
1403
1501
|
// src/compositions/ChatMessage.tsx
|
|
1404
|
-
var
|
|
1502
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1405
1503
|
function ChatMessage({
|
|
1406
1504
|
from,
|
|
1407
1505
|
className,
|
|
1408
1506
|
children,
|
|
1409
1507
|
...props
|
|
1410
1508
|
}) {
|
|
1411
|
-
return /* @__PURE__ */ (0,
|
|
1509
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1412
1510
|
"article",
|
|
1413
1511
|
{
|
|
1414
1512
|
"data-role": from,
|
|
1415
1513
|
className: cn(
|
|
1416
1514
|
"polli:group/message polli:flex polli:w-fit polli:max-w-full polli:min-w-0 polli:flex-col polli:gap-3 polli:[overflow-wrap:anywhere] polli:rounded-xl polli:px-4 polli:py-3",
|
|
1417
|
-
from === "user" ? "polli:ml-auto polli:bg-theme-bg-active polli:text-theme-text-strong" : "polli:mr-auto polli:bg-surface-opaque polli:text-theme-text-base
|
|
1515
|
+
from === "user" ? "polli:ml-auto polli:bg-theme-bg-active polli:text-theme-text-strong" : "polli:mr-auto polli:bg-surface-opaque polli:text-theme-text-base",
|
|
1418
1516
|
className
|
|
1419
1517
|
),
|
|
1420
1518
|
...props,
|
|
@@ -1430,7 +1528,7 @@ function ChatMessageHeader({
|
|
|
1430
1528
|
...props
|
|
1431
1529
|
}) {
|
|
1432
1530
|
const content = label ?? (from === "user" ? "You" : from === "assistant" ? "Agent" : "System");
|
|
1433
|
-
return /* @__PURE__ */ (0,
|
|
1531
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
1434
1532
|
"header",
|
|
1435
1533
|
{
|
|
1436
1534
|
className: cn(
|
|
@@ -1439,8 +1537,8 @@ function ChatMessageHeader({
|
|
|
1439
1537
|
),
|
|
1440
1538
|
...props,
|
|
1441
1539
|
children: [
|
|
1442
|
-
from === "assistant" && (icon ?? /* @__PURE__ */ (0,
|
|
1443
|
-
/* @__PURE__ */ (0,
|
|
1540
|
+
from === "assistant" && (icon ?? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "polli:flex polli:size-6 polli:items-center polli:justify-center polli:rounded-full polli:bg-theme-bg-active polli:text-theme-text-strong", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(RobotIcon, { className: "polli:size-3.5" }) })),
|
|
1541
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1444
1542
|
Text,
|
|
1445
1543
|
{
|
|
1446
1544
|
as: "span",
|
|
@@ -1459,7 +1557,7 @@ function ChatMessageContent({
|
|
|
1459
1557
|
className,
|
|
1460
1558
|
...props
|
|
1461
1559
|
}) {
|
|
1462
|
-
return /* @__PURE__ */ (0,
|
|
1560
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1463
1561
|
"div",
|
|
1464
1562
|
{
|
|
1465
1563
|
className: cn(
|
|
@@ -1474,7 +1572,7 @@ function ChatMessageActions({
|
|
|
1474
1572
|
className,
|
|
1475
1573
|
...props
|
|
1476
1574
|
}) {
|
|
1477
|
-
return /* @__PURE__ */ (0,
|
|
1575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1478
1576
|
"footer",
|
|
1479
1577
|
{
|
|
1480
1578
|
className: cn(
|
|
@@ -1491,9 +1589,9 @@ var import_react7 = require("react");
|
|
|
1491
1589
|
|
|
1492
1590
|
// src/primitives/Textarea.tsx
|
|
1493
1591
|
var import_react6 = require("react");
|
|
1494
|
-
var
|
|
1592
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1495
1593
|
var Textarea = (0, import_react6.forwardRef)(
|
|
1496
|
-
({ className, error, rows = 4, ...props }, ref) => /* @__PURE__ */ (0,
|
|
1594
|
+
({ className, error, rows = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1497
1595
|
"textarea",
|
|
1498
1596
|
{
|
|
1499
1597
|
ref,
|
|
@@ -1514,9 +1612,9 @@ var Textarea = (0, import_react6.forwardRef)(
|
|
|
1514
1612
|
Textarea.displayName = "Textarea";
|
|
1515
1613
|
|
|
1516
1614
|
// src/compositions/ChatPromptInput.tsx
|
|
1517
|
-
var
|
|
1615
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1518
1616
|
function ChatPromptInput({ className, ...props }) {
|
|
1519
|
-
return /* @__PURE__ */ (0,
|
|
1617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1520
1618
|
"fieldset",
|
|
1521
1619
|
{
|
|
1522
1620
|
className: cn("polli:m-0 polli:min-w-0 polli:p-0", className),
|
|
@@ -1524,7 +1622,7 @@ function ChatPromptInput({ className, ...props }) {
|
|
|
1524
1622
|
}
|
|
1525
1623
|
);
|
|
1526
1624
|
}
|
|
1527
|
-
var ChatPromptTextarea = (0, import_react7.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0,
|
|
1625
|
+
var ChatPromptTextarea = (0, import_react7.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1528
1626
|
Textarea,
|
|
1529
1627
|
{
|
|
1530
1628
|
...props,
|
|
@@ -1540,7 +1638,7 @@ function ChatPromptInputFooter({
|
|
|
1540
1638
|
className,
|
|
1541
1639
|
...props
|
|
1542
1640
|
}) {
|
|
1543
|
-
return /* @__PURE__ */ (0,
|
|
1641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1544
1642
|
"div",
|
|
1545
1643
|
{
|
|
1546
1644
|
className: cn(
|
|
@@ -1548,9 +1646,9 @@ function ChatPromptInputFooter({
|
|
|
1548
1646
|
className
|
|
1549
1647
|
),
|
|
1550
1648
|
...props,
|
|
1551
|
-
children: children ?? /* @__PURE__ */ (0,
|
|
1552
|
-
/* @__PURE__ */ (0,
|
|
1553
|
-
/* @__PURE__ */ (0,
|
|
1649
|
+
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
|
|
1650
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "polli:flex polli:flex-wrap polli:items-center polli:gap-2", children: start }),
|
|
1651
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "polli:ml-auto polli:flex polli:items-center polli:gap-2", children: end })
|
|
1554
1652
|
] })
|
|
1555
1653
|
}
|
|
1556
1654
|
);
|
|
@@ -1560,13 +1658,13 @@ function ChatPromptInputFooter({
|
|
|
1560
1658
|
var import_react9 = require("react");
|
|
1561
1659
|
|
|
1562
1660
|
// src/primitives/Button.tsx
|
|
1563
|
-
var
|
|
1661
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1564
1662
|
var pillSizes = {
|
|
1565
1663
|
icon: "polli:h-12 polli:w-12 polli:p-0",
|
|
1566
1664
|
xs: "polli:h-5 polli:px-1.5 polli:py-0 polli:text-[11px] polli:leading-none",
|
|
1567
1665
|
sm: "polli:min-h-7 polli:px-2 polli:pt-0.5 polli:pb-1",
|
|
1568
1666
|
md: "polli:min-h-9 polli:px-4 polli:pt-1.5 polli:pb-2",
|
|
1569
|
-
lg: "polli:min-h-12 polli:px-6 polli:py-3"
|
|
1667
|
+
lg: "polli:min-h-12 polli:px-6 polli:py-3 polli:text-base"
|
|
1570
1668
|
};
|
|
1571
1669
|
var raisedSizes = {
|
|
1572
1670
|
icon: "polli:h-12 polli:w-12 polli:p-0",
|
|
@@ -1580,11 +1678,11 @@ var appearanceClasses = {
|
|
|
1580
1678
|
raised: "polli:rounded-xl polli:border-r-[3px] polli:border-b-[3px] polli:border-solid polli:border-theme-text-strong/20 polli:hover:border-theme-text-strong/45"
|
|
1581
1679
|
};
|
|
1582
1680
|
var themeClasses = "polli:bg-theme-bg-active polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover polli:transition-colors";
|
|
1583
|
-
var outlined = "polli:border polli:border-theme-text-soft polli:bg-
|
|
1681
|
+
var outlined = "polli:border polli:border-theme-text-soft polli:bg-theme-bg-active/30 polli:text-theme-text-strong polli:transition-colors polli:[.dark_&]:bg-transparent";
|
|
1584
1682
|
var intentClasses2 = {
|
|
1585
|
-
brand: `${outlined} polli:hover:bg-theme-text-soft/10`,
|
|
1683
|
+
brand: `${outlined} polli:hover:bg-theme-bg-active/50 polli:[.dark_&]:hover:bg-theme-text-soft/10`,
|
|
1586
1684
|
commit: `${outlined} polli:hover:border-theme-bg-active polli:hover:bg-theme-bg-active polli:focus-visible:border-theme-bg-active polli:focus-visible:bg-theme-bg-active polli:[.dark_&]:hover:bg-theme-bg-active polli:[.dark_&]:focus-visible:bg-theme-bg-active`,
|
|
1587
|
-
danger: "polli:border polli:border-intent-danger-text polli:bg-
|
|
1685
|
+
danger: "polli:border polli:border-intent-danger-text polli:bg-intent-danger-bg-light polli:text-intent-danger-text polli:hover:bg-intent-danger-bg-hover polli:focus-visible:bg-intent-danger-bg-hover polli:transition-colors polli:[.dark_&]:bg-transparent polli:[.dark_&]:hover:bg-intent-danger-bg-hover polli:[.dark_&]:focus-visible:bg-intent-danger-bg-hover",
|
|
1588
1686
|
info: "polli:bg-intent-info-bg-light polli:text-intent-info-text polli:hover:bg-intent-info-bg-hover polli:transition-colors",
|
|
1589
1687
|
// Secondary actions never take the accent: one step stronger grey on hover.
|
|
1590
1688
|
neutral: "polli:bg-theme-bg-subtle polli:text-theme-text-base polli:hover:bg-theme-text-muted/25 polli:hover:text-theme-text-strong polli:transition-colors"
|
|
@@ -1594,13 +1692,15 @@ var buttonClasses = ({
|
|
|
1594
1692
|
appearance = "pill",
|
|
1595
1693
|
size,
|
|
1596
1694
|
className,
|
|
1597
|
-
disabled
|
|
1695
|
+
disabled,
|
|
1696
|
+
busy
|
|
1598
1697
|
}) => {
|
|
1599
1698
|
const colorClasses = intent ? intentClasses2[intent] : themeClasses;
|
|
1600
1699
|
const sizeClasses4 = appearance === "raised" ? raisedSizes : pillSizes;
|
|
1601
1700
|
return cn(
|
|
1602
1701
|
"polli-control polli:inline-flex polli:items-center polli:justify-center polli:self-center polli:font-body polli:text-sm polli:font-medium polli:leading-normal polli:box-border polli:border polli:border-transparent",
|
|
1603
|
-
|
|
1702
|
+
// A busy button is working, not unavailable: it keeps its strength.
|
|
1703
|
+
busy ? "polli:cursor-progress" : disabled ? "polli:opacity-50 polli:cursor-not-allowed" : "polli:hover:filter polli:hover:brightness-105 polli:cursor-pointer",
|
|
1604
1704
|
colorClasses,
|
|
1605
1705
|
appearanceClasses[appearance],
|
|
1606
1706
|
sizeClasses4[size || "md"],
|
|
@@ -1623,11 +1723,13 @@ function Button({
|
|
|
1623
1723
|
const isAnchor = Component === "a";
|
|
1624
1724
|
const buttonType = buttonProps.type;
|
|
1625
1725
|
const onClick = buttonProps.onClick;
|
|
1726
|
+
const ariaBusy = buttonProps["aria-busy"];
|
|
1727
|
+
const busy = ariaBusy === true || ariaBusy === "true";
|
|
1626
1728
|
const handleClick = disabled ? (event) => {
|
|
1627
1729
|
event.preventDefault();
|
|
1628
1730
|
event.stopPropagation();
|
|
1629
1731
|
} : onClick;
|
|
1630
|
-
return /* @__PURE__ */ (0,
|
|
1732
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
1631
1733
|
Component,
|
|
1632
1734
|
{
|
|
1633
1735
|
...buttonProps,
|
|
@@ -1641,15 +1743,16 @@ function Button({
|
|
|
1641
1743
|
appearance,
|
|
1642
1744
|
size,
|
|
1643
1745
|
className,
|
|
1644
|
-
disabled
|
|
1746
|
+
disabled,
|
|
1747
|
+
busy
|
|
1645
1748
|
}),
|
|
1646
1749
|
children: [
|
|
1647
|
-
icon && /* @__PURE__ */ (0,
|
|
1750
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1648
1751
|
"span",
|
|
1649
1752
|
{
|
|
1650
1753
|
"aria-hidden": "true",
|
|
1651
1754
|
className: "polli:mr-2 polli:flex polli:size-4 polli:shrink-0 polli:[&>svg]:size-full",
|
|
1652
|
-
children: icon
|
|
1755
|
+
children: busy ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "polli:block polli:size-full polli:animate-spin polli:rounded-full polli:border-2 polli:border-current polli:border-r-transparent polli:motion-reduce:animate-none" }) : icon
|
|
1653
1756
|
}
|
|
1654
1757
|
),
|
|
1655
1758
|
children
|
|
@@ -1661,7 +1764,7 @@ function Button({
|
|
|
1661
1764
|
// src/primitives/Tooltip.tsx
|
|
1662
1765
|
var import_react8 = require("react");
|
|
1663
1766
|
var import_react_dom = require("react-dom");
|
|
1664
|
-
var
|
|
1767
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1665
1768
|
var TOOLTIP_MAX_WIDTH = 288;
|
|
1666
1769
|
var TOOLTIP_VIEWPORT_MARGIN = 12;
|
|
1667
1770
|
var Tooltip = ({
|
|
@@ -1755,7 +1858,7 @@ var Tooltip = ({
|
|
|
1755
1858
|
);
|
|
1756
1859
|
const cursorClass = displayContents ? "polli:contents" : "polli:cursor-inherit";
|
|
1757
1860
|
const popupClasses = "polli:fixed polli:w-max polli:px-2 polli:py-1 polli:bg-surface-menu polli:text-theme-text-base polli:font-normal polli:leading-snug polli:tracking-normal polli:normal-case polli:not-italic polli:text-xs polli:rounded-md polli:shadow-md polli:z-[130] polli:pointer-events-none polli:transition-opacity polli:whitespace-pre-line polli:break-words";
|
|
1758
|
-
const popupNode = content ? /* @__PURE__ */ (0,
|
|
1861
|
+
const popupNode = content ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1759
1862
|
"span",
|
|
1760
1863
|
{
|
|
1761
1864
|
id: tooltipId,
|
|
@@ -1775,8 +1878,8 @@ var Tooltip = ({
|
|
|
1775
1878
|
popupNode,
|
|
1776
1879
|
triggerRef.current?.closest('[role="dialog"]') ?? document.body
|
|
1777
1880
|
) : popupNode;
|
|
1778
|
-
const contentNode = /* @__PURE__ */ (0,
|
|
1779
|
-
/* @__PURE__ */ (0,
|
|
1881
|
+
const contentNode = /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
1882
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: cursorClass, children }),
|
|
1780
1883
|
tooltipPopup
|
|
1781
1884
|
] });
|
|
1782
1885
|
const sharedProps = {
|
|
@@ -1830,7 +1933,7 @@ var Tooltip = ({
|
|
|
1830
1933
|
tabIndex: tapEnabled && content ? 0 : void 0,
|
|
1831
1934
|
onKeyDown: tapEnabled && content ? handleKeyDown : void 0
|
|
1832
1935
|
};
|
|
1833
|
-
return /* @__PURE__ */ (0,
|
|
1936
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1834
1937
|
"span",
|
|
1835
1938
|
{
|
|
1836
1939
|
ref: (node) => {
|
|
@@ -1841,7 +1944,7 @@ var Tooltip = ({
|
|
|
1841
1944
|
}
|
|
1842
1945
|
);
|
|
1843
1946
|
}
|
|
1844
|
-
return /* @__PURE__ */ (0,
|
|
1947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1845
1948
|
"button",
|
|
1846
1949
|
{
|
|
1847
1950
|
ref: (node) => {
|
|
@@ -1863,7 +1966,7 @@ var Tooltip = ({
|
|
|
1863
1966
|
};
|
|
1864
1967
|
|
|
1865
1968
|
// src/compositions/CopyButton.tsx
|
|
1866
|
-
var
|
|
1969
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1867
1970
|
function CopyButton({
|
|
1868
1971
|
value,
|
|
1869
1972
|
children,
|
|
@@ -1906,7 +2009,7 @@ function CopyButton({
|
|
|
1906
2009
|
}
|
|
1907
2010
|
}
|
|
1908
2011
|
const Control = variant === "button" ? Button : "button";
|
|
1909
|
-
const button = /* @__PURE__ */ (0,
|
|
2012
|
+
const button = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1910
2013
|
Control,
|
|
1911
2014
|
{
|
|
1912
2015
|
...buttonProps,
|
|
@@ -1924,7 +2027,7 @@ function CopyButton({
|
|
|
1924
2027
|
if (tooltip === null) {
|
|
1925
2028
|
return button;
|
|
1926
2029
|
}
|
|
1927
|
-
return /* @__PURE__ */ (0,
|
|
2030
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1928
2031
|
Tooltip,
|
|
1929
2032
|
{
|
|
1930
2033
|
triggerAs: "span",
|
|
@@ -1944,7 +2047,7 @@ function CopyButton({
|
|
|
1944
2047
|
}
|
|
1945
2048
|
|
|
1946
2049
|
// src/compositions/CodeBlock.tsx
|
|
1947
|
-
var
|
|
2050
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1948
2051
|
var CodeBlock = ({
|
|
1949
2052
|
code,
|
|
1950
2053
|
codeClassName,
|
|
@@ -1953,7 +2056,7 @@ var CodeBlock = ({
|
|
|
1953
2056
|
...rest
|
|
1954
2057
|
}) => {
|
|
1955
2058
|
const label = language || "Code";
|
|
1956
|
-
return /* @__PURE__ */ (0,
|
|
2059
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1957
2060
|
"div",
|
|
1958
2061
|
{
|
|
1959
2062
|
...rest,
|
|
@@ -1962,30 +2065,30 @@ var CodeBlock = ({
|
|
|
1962
2065
|
className
|
|
1963
2066
|
),
|
|
1964
2067
|
children: [
|
|
1965
|
-
/* @__PURE__ */ (0,
|
|
1966
|
-
/* @__PURE__ */ (0,
|
|
1967
|
-
/* @__PURE__ */ (0,
|
|
2068
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "polli:flex polli:min-h-9 polli:items-center polli:justify-between polli:gap-3 polli:bg-theme-bg-subtle polli:px-3 polli:py-1.5", children: [
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "polli:truncate polli:font-mono polli:text-[11px] polli:font-medium polli:uppercase polli:tracking-wide polli:text-theme-text-muted", children: label }),
|
|
2070
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1968
2071
|
CopyButton,
|
|
1969
2072
|
{
|
|
1970
2073
|
value: code,
|
|
1971
2074
|
tooltip: null,
|
|
1972
2075
|
"aria-label": "Copy code",
|
|
1973
2076
|
className: "polli:flex polli:items-center polli:gap-1.5 polli:rounded-md polli:px-2 polli:py-1 polli:text-xs polli:font-medium polli:text-theme-text-base polli:transition-colors polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
1974
|
-
children: (copied) => /* @__PURE__ */ (0,
|
|
1975
|
-
copied ? /* @__PURE__ */ (0,
|
|
1976
|
-
/* @__PURE__ */ (0,
|
|
2077
|
+
children: (copied) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
|
|
2078
|
+
copied ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CheckIcon, { className: "polli:size-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ClipboardIcon, { className: "polli:size-3.5" }),
|
|
2079
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { children: copied ? "Copied" : "Copy" })
|
|
1977
2080
|
] })
|
|
1978
2081
|
}
|
|
1979
2082
|
)
|
|
1980
2083
|
] }),
|
|
1981
|
-
/* @__PURE__ */ (0,
|
|
2084
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1982
2085
|
"pre",
|
|
1983
2086
|
{
|
|
1984
2087
|
className: cn(
|
|
1985
2088
|
"polli:m-0 polli:min-w-0 polli:whitespace-pre-wrap polli:break-words polli:[overflow-wrap:anywhere] polli:[tab-size:4] polli:p-3 polli:font-mono polli:text-xs polli:leading-6 polli:text-theme-text-strong",
|
|
1986
2089
|
codeClassName
|
|
1987
2090
|
),
|
|
1988
|
-
children: /* @__PURE__ */ (0,
|
|
2091
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("code", { children: code })
|
|
1989
2092
|
}
|
|
1990
2093
|
)
|
|
1991
2094
|
]
|
|
@@ -1994,7 +2097,7 @@ var CodeBlock = ({
|
|
|
1994
2097
|
};
|
|
1995
2098
|
|
|
1996
2099
|
// src/compositions/Collapsible.tsx
|
|
1997
|
-
var
|
|
2100
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1998
2101
|
var Collapsible = ({
|
|
1999
2102
|
label,
|
|
2000
2103
|
expanded,
|
|
@@ -2007,7 +2110,7 @@ var Collapsible = ({
|
|
|
2007
2110
|
focusClassName,
|
|
2008
2111
|
panelClassName = "polli:border-t polli:border-theme-border polli:px-3 polli:pt-3 polli:pb-3",
|
|
2009
2112
|
ariaLabel
|
|
2010
|
-
}) => /* @__PURE__ */ (0,
|
|
2113
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2011
2114
|
"div",
|
|
2012
2115
|
{
|
|
2013
2116
|
className: cn(
|
|
@@ -2016,7 +2119,7 @@ var Collapsible = ({
|
|
|
2016
2119
|
disabled && "polli:opacity-50"
|
|
2017
2120
|
),
|
|
2018
2121
|
children: [
|
|
2019
|
-
/* @__PURE__ */ (0,
|
|
2122
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2020
2123
|
"button",
|
|
2021
2124
|
{
|
|
2022
2125
|
type: "button",
|
|
@@ -2033,8 +2136,8 @@ var Collapsible = ({
|
|
|
2033
2136
|
disabled ? "polli:cursor-not-allowed" : "polli:cursor-pointer"
|
|
2034
2137
|
),
|
|
2035
2138
|
children: [
|
|
2036
|
-
/* @__PURE__ */ (0,
|
|
2037
|
-
/* @__PURE__ */ (0,
|
|
2139
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "polli:flex-1 polli:min-w-0", children: label }),
|
|
2140
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2038
2141
|
ChevronIcon,
|
|
2039
2142
|
{
|
|
2040
2143
|
expanded,
|
|
@@ -2044,7 +2147,7 @@ var Collapsible = ({
|
|
|
2044
2147
|
]
|
|
2045
2148
|
}
|
|
2046
2149
|
),
|
|
2047
|
-
expanded && /* @__PURE__ */ (0,
|
|
2150
|
+
expanded && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: panelClassName, children })
|
|
2048
2151
|
]
|
|
2049
2152
|
}
|
|
2050
2153
|
);
|
|
@@ -2053,7 +2156,7 @@ var Collapsible = ({
|
|
|
2053
2156
|
var import_dialog = require("@ark-ui/react/dialog");
|
|
2054
2157
|
var import_portal2 = require("@ark-ui/react/portal");
|
|
2055
2158
|
var import_react10 = require("react");
|
|
2056
|
-
var
|
|
2159
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
2057
2160
|
var sizeClasses = {
|
|
2058
2161
|
sm: "polli:max-w-md",
|
|
2059
2162
|
md: "polli:max-w-xl",
|
|
@@ -2077,14 +2180,14 @@ var Dialog = ({
|
|
|
2077
2180
|
children
|
|
2078
2181
|
}) => {
|
|
2079
2182
|
const contentRef = (0, import_react10.useRef)(null);
|
|
2080
|
-
return /* @__PURE__ */ (0,
|
|
2183
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
2081
2184
|
import_dialog.Dialog.Root,
|
|
2082
2185
|
{
|
|
2083
2186
|
open,
|
|
2084
2187
|
initialFocusEl: () => contentRef.current,
|
|
2085
2188
|
onOpenChange: (details) => onOpenChange?.(details.open),
|
|
2086
2189
|
children: [
|
|
2087
|
-
trigger && /* @__PURE__ */ (0,
|
|
2190
|
+
trigger && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2088
2191
|
import_dialog.Dialog.Trigger,
|
|
2089
2192
|
{
|
|
2090
2193
|
asChild: triggerAsChild,
|
|
@@ -2092,36 +2195,38 @@ var Dialog = ({
|
|
|
2092
2195
|
children: trigger
|
|
2093
2196
|
}
|
|
2094
2197
|
),
|
|
2095
|
-
/* @__PURE__ */ (0,
|
|
2096
|
-
showBackdrop && /* @__PURE__ */ (0,
|
|
2198
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_portal2.Portal, { children: [
|
|
2199
|
+
showBackdrop && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2097
2200
|
import_dialog.Dialog.Backdrop,
|
|
2098
2201
|
{
|
|
2099
2202
|
className: cn(
|
|
2100
|
-
"polli:fixed polli:inset-0 polli:z-[
|
|
2203
|
+
"polli:fixed polli:inset-0 polli:z-[calc(100_+_var(--layer-index,0)_*_20)] polli:bg-[#000]/50",
|
|
2101
2204
|
backdropBlur && "polli:backdrop-blur-sm"
|
|
2102
2205
|
)
|
|
2103
2206
|
}
|
|
2104
2207
|
),
|
|
2105
|
-
/* @__PURE__ */ (0,
|
|
2208
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2106
2209
|
import_dialog.Dialog.Positioner,
|
|
2107
2210
|
{
|
|
2108
2211
|
className: cn(
|
|
2109
|
-
"polli:fixed polli:inset-0 polli:z-[
|
|
2212
|
+
"polli:fixed polli:inset-0 polli:z-[calc(110_+_var(--layer-index,0)_*_20)] polli:flex polli:max-h-dvh polli:items-start polli:justify-center polli:overflow-hidden polli:p-4",
|
|
2213
|
+
"polli-dialog-mobile-positioner",
|
|
2110
2214
|
positionerClassName
|
|
2111
2215
|
),
|
|
2112
|
-
children: /* @__PURE__ */ (0,
|
|
2216
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
2113
2217
|
import_dialog.Dialog.Content,
|
|
2114
2218
|
{
|
|
2115
2219
|
ref: contentRef,
|
|
2116
2220
|
"aria-label": ariaLabel,
|
|
2117
2221
|
"aria-labelledby": labelledBy,
|
|
2118
2222
|
className: cn(
|
|
2119
|
-
"polli:flex polli:h-
|
|
2223
|
+
"polli:my-auto polli:flex polli:h-auto polli:max-h-full polli:w-full polli:flex-col polli:overflow-y-auto polli:rounded-block polli:bg-surface-block polli:outline-none polli:focus:outline-none polli:focus-visible:outline-none",
|
|
2224
|
+
"polli-dialog-mobile-page",
|
|
2120
2225
|
sizeClasses[size],
|
|
2121
2226
|
contentClassName
|
|
2122
2227
|
),
|
|
2123
2228
|
children: [
|
|
2124
|
-
title && /* @__PURE__ */ (0,
|
|
2229
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(DialogHeader, { title }),
|
|
2125
2230
|
children
|
|
2126
2231
|
]
|
|
2127
2232
|
}
|
|
@@ -2145,23 +2250,23 @@ var DialogHeader = ({
|
|
|
2145
2250
|
descriptionClassName,
|
|
2146
2251
|
...props
|
|
2147
2252
|
}) => {
|
|
2148
|
-
return /* @__PURE__ */ (0,
|
|
2253
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
2149
2254
|
"div",
|
|
2150
2255
|
{
|
|
2151
2256
|
className: cn(
|
|
2152
|
-
inBody ? "polli:shrink-0 polli:pt-2 polli:pb-4" : "polli:shrink-0 polli:
|
|
2257
|
+
inBody ? "polli:shrink-0 polli:pt-2 polli:pb-4" : "polli:shrink-0 polli:px-(--polli-dialog-gutter) polli:pt-6 polli:pb-4",
|
|
2153
2258
|
className
|
|
2154
2259
|
),
|
|
2155
2260
|
...props,
|
|
2156
2261
|
children: [
|
|
2157
|
-
title && /* @__PURE__ */ (0,
|
|
2262
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2158
2263
|
DialogTitle,
|
|
2159
2264
|
{
|
|
2160
2265
|
className: cn(headingClassName("section"), titleClassName),
|
|
2161
2266
|
children: title
|
|
2162
2267
|
}
|
|
2163
2268
|
),
|
|
2164
|
-
description && /* @__PURE__ */ (0,
|
|
2269
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2165
2270
|
DialogDescription,
|
|
2166
2271
|
{
|
|
2167
2272
|
className: cn(
|
|
@@ -2184,7 +2289,7 @@ function DialogBody({
|
|
|
2184
2289
|
className,
|
|
2185
2290
|
...props
|
|
2186
2291
|
}) {
|
|
2187
|
-
return /* @__PURE__ */ (0,
|
|
2292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
2188
2293
|
ScrollArea,
|
|
2189
2294
|
{
|
|
2190
2295
|
...props,
|
|
@@ -2193,19 +2298,22 @@ function DialogBody({
|
|
|
2193
2298
|
className
|
|
2194
2299
|
),
|
|
2195
2300
|
children: [
|
|
2196
|
-
/* @__PURE__ */ (0,
|
|
2301
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2197
2302
|
"div",
|
|
2198
2303
|
{
|
|
2199
2304
|
className: cn(
|
|
2200
|
-
"polli:
|
|
2305
|
+
"polli:space-y-3 polli:px-(--polli-dialog-gutter) polli:py-4",
|
|
2201
2306
|
bodyClassName
|
|
2202
2307
|
),
|
|
2203
2308
|
children
|
|
2204
2309
|
}
|
|
2205
2310
|
),
|
|
2206
|
-
(actions || footnote) &&
|
|
2207
|
-
|
|
2208
|
-
|
|
2311
|
+
(actions || footnote) && // The size container lets the footer follow the dialog's width.
|
|
2312
|
+
// It sits on the footer alone so pickers and tooltips in the
|
|
2313
|
+
// body keep their positioning.
|
|
2314
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "polli-dialog-floating-controls polli:@container polli:pointer-events-none polli:sticky polli:bottom-0 polli:z-10", children: [
|
|
2315
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(DialogFooter, { className: "polli:pointer-events-auto", children: actions }),
|
|
2316
|
+
footnote && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "polli:pointer-events-auto", children: footnote })
|
|
2209
2317
|
] })
|
|
2210
2318
|
]
|
|
2211
2319
|
}
|
|
@@ -2216,11 +2324,15 @@ var DialogFooter = ({
|
|
|
2216
2324
|
className,
|
|
2217
2325
|
...props
|
|
2218
2326
|
}) => {
|
|
2219
|
-
return /* @__PURE__ */ (0,
|
|
2327
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2220
2328
|
"div",
|
|
2221
2329
|
{
|
|
2222
2330
|
className: cn(
|
|
2223
|
-
"polli:flex polli:shrink-0 polli:flex-wrap polli:items-center polli:justify-end polli:gap-3 polli:bg-transparent polli:
|
|
2331
|
+
"polli:flex polli:shrink-0 polli:flex-wrap polli:items-center polli:justify-end polli:gap-3 polli:bg-transparent polli:px-(--polli-dialog-gutter) polli:pt-4 polli:pb-6",
|
|
2332
|
+
// Actions are the screen's main controls: touch-sized, sharing
|
|
2333
|
+
// the row in a narrow dialog (below 36rem, phones included), and
|
|
2334
|
+
// spanning it when there is only one.
|
|
2335
|
+
"polli:[&>.polli-control]:min-h-12 polli:[&>.polli-control]:text-base polli:@max-xl:[&>.polli-control]:flex-auto polli:[&>.polli-control:only-child]:flex-auto",
|
|
2224
2336
|
className
|
|
2225
2337
|
),
|
|
2226
2338
|
...props,
|
|
@@ -2230,12 +2342,12 @@ var DialogFooter = ({
|
|
|
2230
2342
|
};
|
|
2231
2343
|
|
|
2232
2344
|
// src/compositions/ConfirmationDialog.tsx
|
|
2233
|
-
var
|
|
2345
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
2234
2346
|
var defaultIcons = {
|
|
2235
|
-
danger: /* @__PURE__ */ (0,
|
|
2236
|
-
commit: /* @__PURE__ */ (0,
|
|
2237
|
-
info: /* @__PURE__ */ (0,
|
|
2238
|
-
neutral: /* @__PURE__ */ (0,
|
|
2347
|
+
danger: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(TrashIcon, {}),
|
|
2348
|
+
commit: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(CheckIcon, {}),
|
|
2349
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(CheckIcon, {}),
|
|
2350
|
+
neutral: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(CheckIcon, {})
|
|
2239
2351
|
};
|
|
2240
2352
|
function ConfirmationDialog({
|
|
2241
2353
|
open,
|
|
@@ -2251,19 +2363,19 @@ function ConfirmationDialog({
|
|
|
2251
2363
|
onCancel,
|
|
2252
2364
|
size = "md"
|
|
2253
2365
|
}) {
|
|
2254
|
-
const actions = /* @__PURE__ */ (0,
|
|
2255
|
-
/* @__PURE__ */ (0,
|
|
2366
|
+
const actions = /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
|
|
2367
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2256
2368
|
Button,
|
|
2257
2369
|
{
|
|
2258
2370
|
type: "button",
|
|
2259
2371
|
intent: "neutral",
|
|
2260
|
-
icon: /* @__PURE__ */ (0,
|
|
2372
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(XIcon, {}),
|
|
2261
2373
|
onClick: onCancel,
|
|
2262
2374
|
disabled: cancelDisabled,
|
|
2263
2375
|
children: "Cancel"
|
|
2264
2376
|
}
|
|
2265
2377
|
),
|
|
2266
|
-
/* @__PURE__ */ (0,
|
|
2378
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2267
2379
|
Button,
|
|
2268
2380
|
{
|
|
2269
2381
|
type: "button",
|
|
@@ -2275,16 +2387,16 @@ function ConfirmationDialog({
|
|
|
2275
2387
|
}
|
|
2276
2388
|
)
|
|
2277
2389
|
] });
|
|
2278
|
-
return /* @__PURE__ */ (0,
|
|
2390
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2279
2391
|
Dialog,
|
|
2280
2392
|
{
|
|
2281
2393
|
open,
|
|
2282
2394
|
onOpenChange: (next) => !next && onCancel(),
|
|
2283
2395
|
size,
|
|
2284
2396
|
contentClassName: "polli:overflow-hidden",
|
|
2285
|
-
children: /* @__PURE__ */ (0,
|
|
2286
|
-
/* @__PURE__ */ (0,
|
|
2287
|
-
description && /* @__PURE__ */ (0,
|
|
2397
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(DialogBody, { actions, children: [
|
|
2398
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DialogHeader, { inBody: true, title }),
|
|
2399
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "polli:text-sm polli:leading-relaxed", children: description }),
|
|
2288
2400
|
children
|
|
2289
2401
|
] })
|
|
2290
2402
|
}
|
|
@@ -2292,7 +2404,7 @@ function ConfirmationDialog({
|
|
|
2292
2404
|
}
|
|
2293
2405
|
|
|
2294
2406
|
// src/primitives/Eyebrow.tsx
|
|
2295
|
-
var
|
|
2407
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
2296
2408
|
var sizeClasses2 = {
|
|
2297
2409
|
page: "polli:text-sm polli:tracking-widest polli:text-theme-text-soft",
|
|
2298
2410
|
card: "polli:text-xs polli:tracking-wider polli:text-theme-text-soft",
|
|
@@ -2306,7 +2418,7 @@ function Eyebrow({
|
|
|
2306
2418
|
...rest
|
|
2307
2419
|
}) {
|
|
2308
2420
|
const Component = as || "span";
|
|
2309
|
-
return /* @__PURE__ */ (0,
|
|
2421
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2310
2422
|
Component,
|
|
2311
2423
|
{
|
|
2312
2424
|
...rest,
|
|
@@ -2321,7 +2433,7 @@ function Eyebrow({
|
|
|
2321
2433
|
}
|
|
2322
2434
|
|
|
2323
2435
|
// src/compositions/ContentHeader.tsx
|
|
2324
|
-
var
|
|
2436
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
2325
2437
|
var titleClasses = {
|
|
2326
2438
|
page: "polli:font-heading polli:text-4xl polli:leading-[1.08] polli:text-theme-text-strong polli:sm:text-5xl polli:lg:text-7xl",
|
|
2327
2439
|
section: "polli:font-subheading polli:text-3xl polli:leading-tight polli:text-theme-text-strong polli:sm:text-4xl"
|
|
@@ -2339,7 +2451,7 @@ function ContentHeader({
|
|
|
2339
2451
|
className
|
|
2340
2452
|
}) {
|
|
2341
2453
|
const Title = variant === "page" ? "h1" : "h2";
|
|
2342
|
-
return /* @__PURE__ */ (0,
|
|
2454
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
2343
2455
|
"header",
|
|
2344
2456
|
{
|
|
2345
2457
|
className: cn(
|
|
@@ -2347,10 +2459,10 @@ function ContentHeader({
|
|
|
2347
2459
|
className
|
|
2348
2460
|
),
|
|
2349
2461
|
children: [
|
|
2350
|
-
/* @__PURE__ */ (0,
|
|
2351
|
-
/* @__PURE__ */ (0,
|
|
2352
|
-
/* @__PURE__ */ (0,
|
|
2353
|
-
subtitle && /* @__PURE__ */ (0,
|
|
2462
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "polli:flex polli:max-w-2xl polli:flex-col polli:gap-3", children: [
|
|
2463
|
+
eyebrow ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Eyebrow, { size: "page", children: eyebrow }) : null,
|
|
2464
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Title, { className: titleClasses[variant], children: title }),
|
|
2465
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
2354
2466
|
"p",
|
|
2355
2467
|
{
|
|
2356
2468
|
className: cn(
|
|
@@ -2368,7 +2480,7 @@ function ContentHeader({
|
|
|
2368
2480
|
}
|
|
2369
2481
|
|
|
2370
2482
|
// src/compositions/CopyField.tsx
|
|
2371
|
-
var
|
|
2483
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
2372
2484
|
function CopyField({
|
|
2373
2485
|
value,
|
|
2374
2486
|
label,
|
|
@@ -2376,7 +2488,7 @@ function CopyField({
|
|
|
2376
2488
|
className,
|
|
2377
2489
|
...copy
|
|
2378
2490
|
}) {
|
|
2379
|
-
return /* @__PURE__ */ (0,
|
|
2491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2380
2492
|
CopyButton,
|
|
2381
2493
|
{
|
|
2382
2494
|
...copy,
|
|
@@ -2388,14 +2500,14 @@ function CopyField({
|
|
|
2388
2500
|
copied ? "polli:text-intent-success-text" : "polli:text-theme-text-base polli:hover:text-theme-text-strong",
|
|
2389
2501
|
className
|
|
2390
2502
|
),
|
|
2391
|
-
children: (copied) => /* @__PURE__ */ (0,
|
|
2392
|
-
/* @__PURE__ */ (0,
|
|
2393
|
-
/* @__PURE__ */ (0,
|
|
2503
|
+
children: (copied) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
|
|
2504
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "polli:min-w-0 polli:flex-1 polli:select-all polli:break-all", children: copied ? "Copied" : display ?? String(value) }),
|
|
2505
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2394
2506
|
"span",
|
|
2395
2507
|
{
|
|
2396
2508
|
"aria-hidden": "true",
|
|
2397
2509
|
className: "polli:flex polli:size-4 polli:shrink-0 polli:[&>svg]:size-full",
|
|
2398
|
-
children: copied ? /* @__PURE__ */ (0,
|
|
2510
|
+
children: copied ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CheckIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ClipboardIcon, {})
|
|
2399
2511
|
}
|
|
2400
2512
|
)
|
|
2401
2513
|
] })
|
|
@@ -2410,9 +2522,9 @@ var import_react12 = require("react");
|
|
|
2410
2522
|
|
|
2411
2523
|
// src/primitives/Input.tsx
|
|
2412
2524
|
var import_react11 = require("react");
|
|
2413
|
-
var
|
|
2525
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
2414
2526
|
var Input = (0, import_react11.forwardRef)(
|
|
2415
|
-
({ className, error, hideNumberSteppers, ...props }, ref) => /* @__PURE__ */ (0,
|
|
2527
|
+
({ className, error, hideNumberSteppers, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2416
2528
|
"input",
|
|
2417
2529
|
{
|
|
2418
2530
|
ref,
|
|
@@ -2431,7 +2543,7 @@ var Input = (0, import_react11.forwardRef)(
|
|
|
2431
2543
|
);
|
|
2432
2544
|
|
|
2433
2545
|
// src/compositions/EditableCombobox.tsx
|
|
2434
|
-
var
|
|
2546
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
2435
2547
|
function EditableComboboxToken({
|
|
2436
2548
|
label,
|
|
2437
2549
|
value,
|
|
@@ -2439,7 +2551,7 @@ function EditableComboboxToken({
|
|
|
2439
2551
|
className,
|
|
2440
2552
|
...buttonProps
|
|
2441
2553
|
}) {
|
|
2442
|
-
return /* @__PURE__ */ (0,
|
|
2554
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
2443
2555
|
"button",
|
|
2444
2556
|
{
|
|
2445
2557
|
type: "button",
|
|
@@ -2450,12 +2562,12 @@ function EditableComboboxToken({
|
|
|
2450
2562
|
),
|
|
2451
2563
|
...buttonProps,
|
|
2452
2564
|
children: [
|
|
2453
|
-
/* @__PURE__ */ (0,
|
|
2565
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "polli:text-theme-text-muted", children: [
|
|
2454
2566
|
label,
|
|
2455
2567
|
":"
|
|
2456
2568
|
] }),
|
|
2457
|
-
/* @__PURE__ */ (0,
|
|
2458
|
-
/* @__PURE__ */ (0,
|
|
2569
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "polli:truncate polli:text-theme-text-base", children: value }),
|
|
2570
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ChevronIcon, { className: "polli:h-3 polli:w-3 polli:text-theme-text-muted" })
|
|
2459
2571
|
]
|
|
2460
2572
|
}
|
|
2461
2573
|
);
|
|
@@ -2498,7 +2610,7 @@ function EditableCombobox({
|
|
|
2498
2610
|
inputRef.current.value = value;
|
|
2499
2611
|
}
|
|
2500
2612
|
});
|
|
2501
|
-
return /* @__PURE__ */ (0,
|
|
2613
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
2502
2614
|
import_combobox.Combobox.Root,
|
|
2503
2615
|
{
|
|
2504
2616
|
collection,
|
|
@@ -2520,7 +2632,7 @@ function EditableCombobox({
|
|
|
2520
2632
|
onInputValueChange: (details) => onChange(details.inputValue),
|
|
2521
2633
|
onOpenChange: (details) => onOpenChange?.(details.open),
|
|
2522
2634
|
children: [
|
|
2523
|
-
/* @__PURE__ */ (0,
|
|
2635
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
2524
2636
|
import_combobox.Combobox.Control,
|
|
2525
2637
|
{
|
|
2526
2638
|
className: cn(
|
|
@@ -2529,7 +2641,7 @@ function EditableCombobox({
|
|
|
2529
2641
|
),
|
|
2530
2642
|
children: [
|
|
2531
2643
|
startContent,
|
|
2532
|
-
/* @__PURE__ */ (0,
|
|
2644
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_combobox.Combobox.Input, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2533
2645
|
Input,
|
|
2534
2646
|
{
|
|
2535
2647
|
ref: inputRef,
|
|
@@ -2542,12 +2654,12 @@ function EditableCombobox({
|
|
|
2542
2654
|
)
|
|
2543
2655
|
}
|
|
2544
2656
|
) }),
|
|
2545
|
-
hasOptions && !hasStartContent && /* @__PURE__ */ (0,
|
|
2657
|
+
hasOptions && !hasStartContent && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2546
2658
|
import_combobox.Combobox.Trigger,
|
|
2547
2659
|
{
|
|
2548
2660
|
"aria-label": "Show options",
|
|
2549
2661
|
className: "polli-control polli:absolute polli:right-0 polli:top-0 polli:flex polli:h-full polli:w-10 polli:cursor-pointer polli:items-center polli:justify-center polli:rounded-r-lg polli:text-theme-text-muted polli:hover:text-theme-text-strong",
|
|
2550
|
-
children: /* @__PURE__ */ (0,
|
|
2662
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_combobox.Combobox.Context, { children: (context) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2551
2663
|
ChevronIcon,
|
|
2552
2664
|
{
|
|
2553
2665
|
expanded: context.open,
|
|
@@ -2559,15 +2671,15 @@ function EditableCombobox({
|
|
|
2559
2671
|
]
|
|
2560
2672
|
}
|
|
2561
2673
|
),
|
|
2562
|
-
/* @__PURE__ */ (0,
|
|
2674
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_combobox.Combobox.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2563
2675
|
import_combobox.Combobox.Content,
|
|
2564
2676
|
{
|
|
2565
2677
|
className: cn(
|
|
2566
2678
|
"polli:z-[120] polli:overflow-hidden polli:rounded-lg polli:bg-surface-menu polli:p-1 polli:shadow-lg polli:focus:outline-none",
|
|
2567
2679
|
contentClassName
|
|
2568
2680
|
),
|
|
2569
|
-
children: /* @__PURE__ */ (0,
|
|
2570
|
-
visibleOptions.map((option) => /* @__PURE__ */ (0,
|
|
2681
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ScrollArea, { className: "polli:max-h-64", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_combobox.Combobox.List, { className: "polli:flex polli:flex-col", children: [
|
|
2682
|
+
visibleOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2571
2683
|
import_combobox.Combobox.Item,
|
|
2572
2684
|
{
|
|
2573
2685
|
item: option,
|
|
@@ -2575,11 +2687,11 @@ function EditableCombobox({
|
|
|
2575
2687
|
"polli-control polli:flex polli:w-full polli:cursor-pointer polli:items-center polli:rounded-lg polli:bg-transparent polli:px-3 polli:py-2 polli:text-left polli:text-sm polli:font-medium polli:text-theme-text-base polli:transition-colors polli:hover:bg-theme-bg-hover polli:data-[highlighted]:bg-theme-bg-hover",
|
|
2576
2688
|
value === option && "polli:bg-theme-bg-active polli:text-theme-text-strong"
|
|
2577
2689
|
),
|
|
2578
|
-
children: /* @__PURE__ */ (0,
|
|
2690
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_combobox.Combobox.ItemText, { className: "polli:truncate polli:font-mono", children: option })
|
|
2579
2691
|
},
|
|
2580
2692
|
option
|
|
2581
2693
|
)),
|
|
2582
|
-
visibleOptions.length === 0 && /* @__PURE__ */ (0,
|
|
2694
|
+
visibleOptions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_combobox.Combobox.Empty, { className: "polli:m-0 polli:px-2 polli:py-2 polli:text-sm polli:text-theme-text-soft", children: emptyMessage })
|
|
2583
2695
|
] }) })
|
|
2584
2696
|
}
|
|
2585
2697
|
) })
|
|
@@ -2601,7 +2713,7 @@ function isExternalHref(href, origin = globalThis.location?.origin) {
|
|
|
2601
2713
|
}
|
|
2602
2714
|
|
|
2603
2715
|
// src/compositions/ExternalLinkButton.tsx
|
|
2604
|
-
var
|
|
2716
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2605
2717
|
function ExternalLinkButton(props) {
|
|
2606
2718
|
const {
|
|
2607
2719
|
size = "md",
|
|
@@ -2612,10 +2724,10 @@ function ExternalLinkButton(props) {
|
|
|
2612
2724
|
className,
|
|
2613
2725
|
children
|
|
2614
2726
|
} = props;
|
|
2615
|
-
const content = /* @__PURE__ */ (0,
|
|
2727
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
2616
2728
|
icon,
|
|
2617
|
-
/* @__PURE__ */ (0,
|
|
2618
|
-
external && showIcon ? /* @__PURE__ */ (0,
|
|
2729
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { children }),
|
|
2730
|
+
external && showIcon ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2619
2731
|
ExternalLinkIcon,
|
|
2620
2732
|
{
|
|
2621
2733
|
className: "polli:h-4 polli:w-4 polli:shrink-0 polli:opacity-60",
|
|
@@ -2637,7 +2749,7 @@ function ExternalLinkButton(props) {
|
|
|
2637
2749
|
children: _children2,
|
|
2638
2750
|
...anchorProps
|
|
2639
2751
|
} = props;
|
|
2640
|
-
return /* @__PURE__ */ (0,
|
|
2752
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2641
2753
|
Button,
|
|
2642
2754
|
{
|
|
2643
2755
|
as: "a",
|
|
@@ -2663,7 +2775,7 @@ function ExternalLinkButton(props) {
|
|
|
2663
2775
|
children: _children,
|
|
2664
2776
|
...buttonProps
|
|
2665
2777
|
} = props;
|
|
2666
|
-
return /* @__PURE__ */ (0,
|
|
2778
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2667
2779
|
Button,
|
|
2668
2780
|
{
|
|
2669
2781
|
as: "button",
|
|
@@ -2681,7 +2793,7 @@ function ExternalLinkButton(props) {
|
|
|
2681
2793
|
var import_field = require("@ark-ui/react/field");
|
|
2682
2794
|
|
|
2683
2795
|
// src/compositions/FieldStack.tsx
|
|
2684
|
-
var
|
|
2796
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2685
2797
|
function FieldStack({
|
|
2686
2798
|
label,
|
|
2687
2799
|
children,
|
|
@@ -2694,7 +2806,7 @@ function FieldStack({
|
|
|
2694
2806
|
helperClassName,
|
|
2695
2807
|
errorClassName
|
|
2696
2808
|
}) {
|
|
2697
|
-
return /* @__PURE__ */ (0,
|
|
2809
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
2698
2810
|
import_field.Field.Root,
|
|
2699
2811
|
{
|
|
2700
2812
|
className: cn(
|
|
@@ -2703,7 +2815,7 @@ function FieldStack({
|
|
|
2703
2815
|
),
|
|
2704
2816
|
invalid: Boolean(error),
|
|
2705
2817
|
children: [
|
|
2706
|
-
(label || action) && /* @__PURE__ */ (0,
|
|
2818
|
+
(label || action) && /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
2707
2819
|
"div",
|
|
2708
2820
|
{
|
|
2709
2821
|
className: cn(
|
|
@@ -2711,7 +2823,7 @@ function FieldStack({
|
|
|
2711
2823
|
alignLabelRow && "polli:min-h-8"
|
|
2712
2824
|
),
|
|
2713
2825
|
children: [
|
|
2714
|
-
label && /* @__PURE__ */ (0,
|
|
2826
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2715
2827
|
import_field.Field.Label,
|
|
2716
2828
|
{
|
|
2717
2829
|
className: cn(
|
|
@@ -2726,7 +2838,7 @@ function FieldStack({
|
|
|
2726
2838
|
}
|
|
2727
2839
|
),
|
|
2728
2840
|
children,
|
|
2729
|
-
error ? /* @__PURE__ */ (0,
|
|
2841
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2730
2842
|
import_field.Field.ErrorText,
|
|
2731
2843
|
{
|
|
2732
2844
|
className: cn(
|
|
@@ -2735,7 +2847,7 @@ function FieldStack({
|
|
|
2735
2847
|
),
|
|
2736
2848
|
children: error
|
|
2737
2849
|
}
|
|
2738
|
-
) : helper ? /* @__PURE__ */ (0,
|
|
2850
|
+
) : helper ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2739
2851
|
import_field.Field.HelperText,
|
|
2740
2852
|
{
|
|
2741
2853
|
className: cn(
|
|
@@ -2817,7 +2929,7 @@ function partitionFiles(incoming, current2, { maxFiles, maxSizeBytes, accept })
|
|
|
2817
2929
|
|
|
2818
2930
|
// src/primitives/IconButton.tsx
|
|
2819
2931
|
var import_react13 = require("react");
|
|
2820
|
-
var
|
|
2932
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2821
2933
|
var intentClasses3 = {
|
|
2822
2934
|
danger: "polli:bg-intent-danger-bg-light polli:text-intent-danger-text",
|
|
2823
2935
|
info: "polli:bg-intent-info-bg-light polli:text-intent-info-text"
|
|
@@ -2853,7 +2965,7 @@ var IconButton = (0, import_react13.forwardRef)(
|
|
|
2853
2965
|
disabled = false,
|
|
2854
2966
|
...buttonProps
|
|
2855
2967
|
}, ref) => {
|
|
2856
|
-
const button = /* @__PURE__ */ (0,
|
|
2968
|
+
const button = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2857
2969
|
"button",
|
|
2858
2970
|
{
|
|
2859
2971
|
...buttonProps,
|
|
@@ -2876,7 +2988,7 @@ var IconButton = (0, import_react13.forwardRef)(
|
|
|
2876
2988
|
);
|
|
2877
2989
|
const tooltipContent = tooltip ?? title;
|
|
2878
2990
|
if (!tooltipContent) return button;
|
|
2879
|
-
return /* @__PURE__ */ (0,
|
|
2991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2880
2992
|
Tooltip,
|
|
2881
2993
|
{
|
|
2882
2994
|
triggerAs: "span",
|
|
@@ -2893,7 +3005,7 @@ var IconButton = (0, import_react13.forwardRef)(
|
|
|
2893
3005
|
IconButton.displayName = "IconButton";
|
|
2894
3006
|
|
|
2895
3007
|
// src/compositions/FileUpload.tsx
|
|
2896
|
-
var
|
|
3008
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
2897
3009
|
var PREVIEWABLE_IMAGE_TYPES = /* @__PURE__ */ new Set([
|
|
2898
3010
|
"image/gif",
|
|
2899
3011
|
"image/jpeg",
|
|
@@ -2926,7 +3038,7 @@ function PreviewPlaceholder({
|
|
|
2926
3038
|
icon,
|
|
2927
3039
|
size
|
|
2928
3040
|
}) {
|
|
2929
|
-
return /* @__PURE__ */ (0,
|
|
3041
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2930
3042
|
"div",
|
|
2931
3043
|
{
|
|
2932
3044
|
className: cn(
|
|
@@ -2991,9 +3103,9 @@ function FilePreview({
|
|
|
2991
3103
|
};
|
|
2992
3104
|
}, [file, previewSize]);
|
|
2993
3105
|
if (!canPreview) {
|
|
2994
|
-
return /* @__PURE__ */ (0,
|
|
3106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PreviewPlaceholder, { icon: placeholderIcon, size });
|
|
2995
3107
|
}
|
|
2996
|
-
return /* @__PURE__ */ (0,
|
|
3108
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2997
3109
|
"canvas",
|
|
2998
3110
|
{
|
|
2999
3111
|
ref: canvasRef,
|
|
@@ -3012,12 +3124,12 @@ function FileUpload({
|
|
|
3012
3124
|
maxFiles = 4,
|
|
3013
3125
|
maxSizeBytes = 10 * 1024 * 1024,
|
|
3014
3126
|
accept = "image/*",
|
|
3015
|
-
icon = /* @__PURE__ */ (0,
|
|
3016
|
-
label = /* @__PURE__ */ (0,
|
|
3127
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ImageIcon, { className: "polli:h-6 polli:w-6" }),
|
|
3128
|
+
label = /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
3017
3129
|
"Drag images here or ",
|
|
3018
|
-
/* @__PURE__ */ (0,
|
|
3130
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "polli:underline", children: "browse" })
|
|
3019
3131
|
] }),
|
|
3020
|
-
previewIcon = /* @__PURE__ */ (0,
|
|
3132
|
+
previewIcon = /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ImageIcon, { className: "polli:h-5 polli:w-5" }),
|
|
3021
3133
|
variant = "default",
|
|
3022
3134
|
disabled = false,
|
|
3023
3135
|
className
|
|
@@ -3046,7 +3158,7 @@ function FileUpload({
|
|
|
3046
3158
|
event.target.value = "";
|
|
3047
3159
|
}
|
|
3048
3160
|
if (inline && !hasFiles) return null;
|
|
3049
|
-
return /* @__PURE__ */ (0,
|
|
3161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: cn("polli:flex polli:flex-col polli:gap-2", className), children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3050
3162
|
"fieldset",
|
|
3051
3163
|
{
|
|
3052
3164
|
disabled,
|
|
@@ -3064,7 +3176,7 @@ function FileUpload({
|
|
|
3064
3176
|
if (disabled) return;
|
|
3065
3177
|
addFiles(Array.from(e.dataTransfer.files));
|
|
3066
3178
|
},
|
|
3067
|
-
children: !hasFiles ? /* @__PURE__ */ (0,
|
|
3179
|
+
children: !hasFiles ? /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3068
3180
|
"label",
|
|
3069
3181
|
{
|
|
3070
3182
|
htmlFor: inputId,
|
|
@@ -3075,8 +3187,8 @@ function FileUpload({
|
|
|
3075
3187
|
),
|
|
3076
3188
|
children: [
|
|
3077
3189
|
icon,
|
|
3078
|
-
/* @__PURE__ */ (0,
|
|
3079
|
-
/* @__PURE__ */ (0,
|
|
3190
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: label }),
|
|
3191
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3080
3192
|
"input",
|
|
3081
3193
|
{
|
|
3082
3194
|
id: inputId,
|
|
@@ -3090,7 +3202,7 @@ function FileUpload({
|
|
|
3090
3202
|
)
|
|
3091
3203
|
]
|
|
3092
3204
|
}
|
|
3093
|
-
) : /* @__PURE__ */ (0,
|
|
3205
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3094
3206
|
"div",
|
|
3095
3207
|
{
|
|
3096
3208
|
className: cn(
|
|
@@ -3098,8 +3210,8 @@ function FileUpload({
|
|
|
3098
3210
|
compact ? "polli:items-center" : "polli:flex-col"
|
|
3099
3211
|
),
|
|
3100
3212
|
children: [
|
|
3101
|
-
compact && !inline && /* @__PURE__ */ (0,
|
|
3102
|
-
/* @__PURE__ */ (0,
|
|
3213
|
+
compact && !inline && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "polli:text-xs polli:font-medium polli:text-theme-text-muted", children: attachmentSummary(value) }),
|
|
3214
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3103
3215
|
"ul",
|
|
3104
3216
|
{
|
|
3105
3217
|
className: cn(
|
|
@@ -3111,7 +3223,7 @@ function FileUpload({
|
|
|
3111
3223
|
isSingleFile && !compact && "polli:flex polli:justify-center"
|
|
3112
3224
|
),
|
|
3113
3225
|
children: [
|
|
3114
|
-
value.map((file, index) => /* @__PURE__ */ (0,
|
|
3226
|
+
value.map((file, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3115
3227
|
"li",
|
|
3116
3228
|
{
|
|
3117
3229
|
className: cn(
|
|
@@ -3119,7 +3231,7 @@ function FileUpload({
|
|
|
3119
3231
|
isSingleFile && "polli:max-w-full"
|
|
3120
3232
|
),
|
|
3121
3233
|
children: [
|
|
3122
|
-
/* @__PURE__ */ (0,
|
|
3234
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3123
3235
|
FilePreview,
|
|
3124
3236
|
{
|
|
3125
3237
|
file,
|
|
@@ -3127,8 +3239,8 @@ function FileUpload({
|
|
|
3127
3239
|
size: previewSize
|
|
3128
3240
|
}
|
|
3129
3241
|
),
|
|
3130
|
-
!compact && /* @__PURE__ */ (0,
|
|
3131
|
-
/* @__PURE__ */ (0,
|
|
3242
|
+
!compact && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
3243
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3132
3244
|
"span",
|
|
3133
3245
|
{
|
|
3134
3246
|
className: cn(
|
|
@@ -3138,9 +3250,9 @@ function FileUpload({
|
|
|
3138
3250
|
children: file.name
|
|
3139
3251
|
}
|
|
3140
3252
|
),
|
|
3141
|
-
/* @__PURE__ */ (0,
|
|
3253
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "polli:text-micro polli:text-theme-text-muted", children: formatFileSize(file.size) })
|
|
3142
3254
|
] }),
|
|
3143
|
-
!disabled && /* @__PURE__ */ (0,
|
|
3255
|
+
!disabled && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "polli:absolute polli:-top-2 polli:right-1", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3144
3256
|
IconButton,
|
|
3145
3257
|
{
|
|
3146
3258
|
intent: "danger",
|
|
@@ -3150,14 +3262,14 @@ function FileUpload({
|
|
|
3150
3262
|
(_, i) => i !== index
|
|
3151
3263
|
)
|
|
3152
3264
|
),
|
|
3153
|
-
children: /* @__PURE__ */ (0,
|
|
3265
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(XIcon, { className: "polli:h-3 polli:w-3" })
|
|
3154
3266
|
}
|
|
3155
3267
|
) })
|
|
3156
3268
|
]
|
|
3157
3269
|
},
|
|
3158
3270
|
`${file.name}-${index}`
|
|
3159
3271
|
)),
|
|
3160
|
-
!inline && !isSingleFile && canAdd && /* @__PURE__ */ (0,
|
|
3272
|
+
!inline && !isSingleFile && canAdd && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("li", { className: "polli:flex polli:list-none", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
3161
3273
|
"label",
|
|
3162
3274
|
{
|
|
3163
3275
|
htmlFor: addInputId,
|
|
@@ -3166,9 +3278,9 @@ function FileUpload({
|
|
|
3166
3278
|
compact ? "polli:h-16 polli:w-16 polli:px-2 polli:py-1" : "polli:min-h-20 polli:w-full polli:px-3 polli:py-2"
|
|
3167
3279
|
),
|
|
3168
3280
|
children: [
|
|
3169
|
-
/* @__PURE__ */ (0,
|
|
3170
|
-
!compact && /* @__PURE__ */ (0,
|
|
3171
|
-
/* @__PURE__ */ (0,
|
|
3281
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PlusIcon, { className: "polli:h-5 polli:w-5" }),
|
|
3282
|
+
!compact && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "polli:text-xs polli:font-medium", children: "Add" }),
|
|
3283
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3172
3284
|
"input",
|
|
3173
3285
|
{
|
|
3174
3286
|
id: addInputId,
|
|
@@ -3187,7 +3299,7 @@ function FileUpload({
|
|
|
3187
3299
|
]
|
|
3188
3300
|
}
|
|
3189
3301
|
),
|
|
3190
|
-
Number.isFinite(maxFiles) && maxFiles > 1 && !compact && /* @__PURE__ */ (0,
|
|
3302
|
+
Number.isFinite(maxFiles) && maxFiles > 1 && !compact && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("span", { className: "polli:text-xs polli:text-theme-text-muted", children: [
|
|
3191
3303
|
value.length,
|
|
3192
3304
|
" / ",
|
|
3193
3305
|
maxFiles,
|
|
@@ -3201,15 +3313,28 @@ function FileUpload({
|
|
|
3201
3313
|
}
|
|
3202
3314
|
|
|
3203
3315
|
// src/compositions/InfoTip.tsx
|
|
3204
|
-
var
|
|
3316
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
3205
3317
|
var InfoTip = ({
|
|
3206
3318
|
text,
|
|
3207
3319
|
content,
|
|
3208
3320
|
label = "More info"
|
|
3209
|
-
}) =>
|
|
3321
|
+
}) => (
|
|
3322
|
+
// displayContents drops the inline wrapper so the badge centres on its row
|
|
3323
|
+
// instead of sitting on the text baseline.
|
|
3324
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3325
|
+
Tooltip,
|
|
3326
|
+
{
|
|
3327
|
+
content: content ?? text,
|
|
3328
|
+
ariaLabel: label,
|
|
3329
|
+
className: "polli:ml-1",
|
|
3330
|
+
displayContents: true,
|
|
3331
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "polli:inline-flex polli:h-4 polli:w-4 polli:items-center polli:justify-center polli:rounded-full polli:bg-surface-menu polli:font-bold polli:text-[10px] polli:leading-none polli:text-theme-text-muted polli:transition-colors polli:hover:text-theme-text-strong", children: "i" })
|
|
3332
|
+
}
|
|
3333
|
+
)
|
|
3334
|
+
);
|
|
3210
3335
|
|
|
3211
3336
|
// src/primitives/Chip.tsx
|
|
3212
|
-
var
|
|
3337
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
3213
3338
|
var chipSizes = {
|
|
3214
3339
|
icon: "polli:h-5 polli:w-5 polli:p-0 polli:text-xs",
|
|
3215
3340
|
sm: "polli:h-5 polli:px-2 polli:text-xs",
|
|
@@ -3235,7 +3360,7 @@ var Chip = ({
|
|
|
3235
3360
|
...rest
|
|
3236
3361
|
}) => {
|
|
3237
3362
|
const intentClass = intent ? intentClasses4[intent] : "polli:bg-theme-bg-active polli:text-theme-text-strong";
|
|
3238
|
-
return /* @__PURE__ */ (0,
|
|
3363
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
3239
3364
|
"span",
|
|
3240
3365
|
{
|
|
3241
3366
|
...rest,
|
|
@@ -3251,7 +3376,7 @@ var Chip = ({
|
|
|
3251
3376
|
};
|
|
3252
3377
|
|
|
3253
3378
|
// src/compositions/KeyChip.tsx
|
|
3254
|
-
var
|
|
3379
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
3255
3380
|
var chipClassName = "polli:gap-1.5 polli:font-mono polli:font-normal polli:[&>svg]:size-3.5 polli:[&>svg]:shrink-0";
|
|
3256
3381
|
function KeyChip({
|
|
3257
3382
|
prefix,
|
|
@@ -3261,16 +3386,16 @@ function KeyChip({
|
|
|
3261
3386
|
}) {
|
|
3262
3387
|
const text = `${prefix}\u2026`;
|
|
3263
3388
|
if (!value) {
|
|
3264
|
-
return /* @__PURE__ */ (0,
|
|
3389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Chip, { intent: "neutral", className: cn(chipClassName, className), children: text });
|
|
3265
3390
|
}
|
|
3266
|
-
return /* @__PURE__ */ (0,
|
|
3391
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
3267
3392
|
CopyButton,
|
|
3268
3393
|
{
|
|
3269
3394
|
value,
|
|
3270
3395
|
tooltip: null,
|
|
3271
3396
|
"aria-label": label,
|
|
3272
3397
|
className: "polli:inline-flex polli:cursor-pointer polli:rounded-lg",
|
|
3273
|
-
children: (copied) => /* @__PURE__ */ (0,
|
|
3398
|
+
children: (copied) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
3274
3399
|
Chip,
|
|
3275
3400
|
{
|
|
3276
3401
|
intent: copied ? "success" : "neutral",
|
|
@@ -3280,7 +3405,7 @@ function KeyChip({
|
|
|
3280
3405
|
className
|
|
3281
3406
|
),
|
|
3282
3407
|
children: [
|
|
3283
|
-
copied ? /* @__PURE__ */ (0,
|
|
3408
|
+
copied ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CheckIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ClipboardIcon, { "aria-hidden": "true" }),
|
|
3284
3409
|
copied ? "Copied" : text
|
|
3285
3410
|
]
|
|
3286
3411
|
}
|
|
@@ -3290,7 +3415,7 @@ function KeyChip({
|
|
|
3290
3415
|
}
|
|
3291
3416
|
|
|
3292
3417
|
// src/compositions/LinkCard.tsx
|
|
3293
|
-
var
|
|
3418
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
3294
3419
|
function LinkCard({
|
|
3295
3420
|
as,
|
|
3296
3421
|
external,
|
|
@@ -3302,7 +3427,7 @@ function LinkCard({
|
|
|
3302
3427
|
}) {
|
|
3303
3428
|
const Component = as || "a";
|
|
3304
3429
|
const isExternal = external ?? isExternalHref(linkProps.href);
|
|
3305
|
-
return /* @__PURE__ */ (0,
|
|
3430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
3306
3431
|
Surface,
|
|
3307
3432
|
{
|
|
3308
3433
|
as: Component,
|
|
@@ -3319,7 +3444,7 @@ function LinkCard({
|
|
|
3319
3444
|
surfaceClassName
|
|
3320
3445
|
),
|
|
3321
3446
|
children: [
|
|
3322
|
-
showIcon && isExternal && /* @__PURE__ */ (0,
|
|
3447
|
+
showIcon && isExternal && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
3323
3448
|
ExternalLinkIcon,
|
|
3324
3449
|
{
|
|
3325
3450
|
"aria-hidden": "true",
|
|
@@ -3333,7 +3458,7 @@ function LinkCard({
|
|
|
3333
3458
|
}
|
|
3334
3459
|
|
|
3335
3460
|
// src/compositions/MediaPlaceholder.tsx
|
|
3336
|
-
var
|
|
3461
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
3337
3462
|
var MediaPlaceholder = ({
|
|
3338
3463
|
icon,
|
|
3339
3464
|
label,
|
|
@@ -3341,7 +3466,7 @@ var MediaPlaceholder = ({
|
|
|
3341
3466
|
children,
|
|
3342
3467
|
className,
|
|
3343
3468
|
...rest
|
|
3344
|
-
}) => /* @__PURE__ */ (0,
|
|
3469
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
3345
3470
|
"div",
|
|
3346
3471
|
{
|
|
3347
3472
|
...rest,
|
|
@@ -3350,10 +3475,10 @@ var MediaPlaceholder = ({
|
|
|
3350
3475
|
className
|
|
3351
3476
|
),
|
|
3352
3477
|
children: [
|
|
3353
|
-
icon && /* @__PURE__ */ (0,
|
|
3354
|
-
(label || detail) && /* @__PURE__ */ (0,
|
|
3355
|
-
label && /* @__PURE__ */ (0,
|
|
3356
|
-
detail && /* @__PURE__ */ (0,
|
|
3478
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "polli:flex polli:h-10 polli:w-10 polli:items-center polli:justify-center polli:rounded-full polli:bg-theme-bg-active polli:text-theme-text-base", children: icon }),
|
|
3479
|
+
(label || detail) && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "polli:max-w-sm", children: [
|
|
3480
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Text, { as: "p", size: "sm", tone: "strong", weight: "semibold", children: label }),
|
|
3481
|
+
detail && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Text, { as: "p", size: "sm", tone: "soft", className: "polli:mt-1", children: detail })
|
|
3357
3482
|
] }),
|
|
3358
3483
|
children
|
|
3359
3484
|
]
|
|
@@ -3361,7 +3486,7 @@ var MediaPlaceholder = ({
|
|
|
3361
3486
|
);
|
|
3362
3487
|
|
|
3363
3488
|
// src/compositions/MultiSelect.tsx
|
|
3364
|
-
var
|
|
3489
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
3365
3490
|
var TRIGGER_BASE = "polli-control polli:inline-flex polli:min-h-8 polli:min-w-[140px] polli:items-center polli:gap-2 polli:rounded-full polli:px-3 polli:py-1.5 polli:text-xs polli:font-medium polli:transition-all polli:duration-200";
|
|
3366
3491
|
var ROW_BASE = "polli-control polli:flex polli:w-full polli:items-center polli:gap-3 polli:px-3 polli:py-2 polli:text-left polli:text-xs polli:transition-colors";
|
|
3367
3492
|
var CHECK_BASE = "polli:flex polli:h-4 polli:w-4 polli:flex-shrink-0 polli:items-center polli:justify-center polli:rounded polli:border polli:border-theme-border polli:text-xs";
|
|
@@ -3388,9 +3513,9 @@ var MultiSelect = ({
|
|
|
3388
3513
|
};
|
|
3389
3514
|
const selectAll = () => onChange([]);
|
|
3390
3515
|
const displayText = disabled ? disabledText : isAllSelected ? placeholder : selected.length === 1 ? options.find((option) => option.value === selected[0])?.label ?? "1 selected" : `${selected.length} selected`;
|
|
3391
|
-
const labelNode = label ? /* @__PURE__ */ (0,
|
|
3516
|
+
const labelNode = label ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "polli:text-xs polli:font-medium polli:text-theme-text-soft", children: label }) : null;
|
|
3392
3517
|
if (disabled) {
|
|
3393
|
-
return /* @__PURE__ */ (0,
|
|
3518
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
3394
3519
|
"div",
|
|
3395
3520
|
{
|
|
3396
3521
|
className: cn(
|
|
@@ -3399,7 +3524,7 @@ var MultiSelect = ({
|
|
|
3399
3524
|
),
|
|
3400
3525
|
children: [
|
|
3401
3526
|
labelNode,
|
|
3402
|
-
/* @__PURE__ */ (0,
|
|
3527
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3403
3528
|
Tooltip,
|
|
3404
3529
|
{
|
|
3405
3530
|
triggerAs: "span",
|
|
@@ -3409,7 +3534,7 @@ var MultiSelect = ({
|
|
|
3409
3534
|
"polli:inline-flex polli:cursor-not-allowed",
|
|
3410
3535
|
fullWidth && "polli:min-w-0 polli:flex-1"
|
|
3411
3536
|
),
|
|
3412
|
-
children: /* @__PURE__ */ (0,
|
|
3537
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
3413
3538
|
"button",
|
|
3414
3539
|
{
|
|
3415
3540
|
type: "button",
|
|
@@ -3421,8 +3546,8 @@ var MultiSelect = ({
|
|
|
3421
3546
|
"polli:cursor-not-allowed polli:bg-theme-bg-active polli:opacity-50"
|
|
3422
3547
|
),
|
|
3423
3548
|
children: [
|
|
3424
|
-
/* @__PURE__ */ (0,
|
|
3425
|
-
/* @__PURE__ */ (0,
|
|
3549
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "polli:flex-1 polli:truncate polli:text-left polli:text-theme-text-strong", children: displayText }),
|
|
3550
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3426
3551
|
ChevronIcon,
|
|
3427
3552
|
{
|
|
3428
3553
|
expanded: false,
|
|
@@ -3438,7 +3563,7 @@ var MultiSelect = ({
|
|
|
3438
3563
|
}
|
|
3439
3564
|
);
|
|
3440
3565
|
}
|
|
3441
|
-
return /* @__PURE__ */ (0,
|
|
3566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
3442
3567
|
"div",
|
|
3443
3568
|
{
|
|
3444
3569
|
className: cn(
|
|
@@ -3447,12 +3572,12 @@ var MultiSelect = ({
|
|
|
3447
3572
|
),
|
|
3448
3573
|
children: [
|
|
3449
3574
|
labelNode,
|
|
3450
|
-
/* @__PURE__ */ (0,
|
|
3575
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3451
3576
|
Dropdown,
|
|
3452
3577
|
{
|
|
3453
3578
|
align,
|
|
3454
3579
|
className: "polli:w-[min(20rem,calc(100vw-2rem))]",
|
|
3455
|
-
trigger: (open) => /* @__PURE__ */ (0,
|
|
3580
|
+
trigger: (open) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
3456
3581
|
"button",
|
|
3457
3582
|
{
|
|
3458
3583
|
type: "button",
|
|
@@ -3463,7 +3588,7 @@ var MultiSelect = ({
|
|
|
3463
3588
|
open ? "polli:bg-theme-bg-hover" : "polli:bg-theme-bg-active polli:hover:bg-theme-bg-hover"
|
|
3464
3589
|
),
|
|
3465
3590
|
children: [
|
|
3466
|
-
/* @__PURE__ */ (0,
|
|
3591
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3467
3592
|
"span",
|
|
3468
3593
|
{
|
|
3469
3594
|
className: cn(
|
|
@@ -3473,7 +3598,7 @@ var MultiSelect = ({
|
|
|
3473
3598
|
children: displayText
|
|
3474
3599
|
}
|
|
3475
3600
|
),
|
|
3476
|
-
/* @__PURE__ */ (0,
|
|
3601
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3477
3602
|
ChevronIcon,
|
|
3478
3603
|
{
|
|
3479
3604
|
expanded: open,
|
|
@@ -3486,8 +3611,8 @@ var MultiSelect = ({
|
|
|
3486
3611
|
]
|
|
3487
3612
|
}
|
|
3488
3613
|
),
|
|
3489
|
-
children: /* @__PURE__ */ (0,
|
|
3490
|
-
/* @__PURE__ */ (0,
|
|
3614
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(ScrollArea, { className: "polli:max-h-64", children: [
|
|
3615
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
3491
3616
|
"button",
|
|
3492
3617
|
{
|
|
3493
3618
|
type: "button",
|
|
@@ -3498,7 +3623,7 @@ var MultiSelect = ({
|
|
|
3498
3623
|
isAllSelected ? "polli:bg-theme-bg-active polli:font-medium polli:text-theme-text-strong" : "polli:text-theme-text-base polli:hover:bg-theme-bg-subtle"
|
|
3499
3624
|
),
|
|
3500
3625
|
children: [
|
|
3501
|
-
/* @__PURE__ */ (0,
|
|
3626
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3502
3627
|
"span",
|
|
3503
3628
|
{
|
|
3504
3629
|
"aria-hidden": "true",
|
|
@@ -3515,7 +3640,7 @@ var MultiSelect = ({
|
|
|
3515
3640
|
),
|
|
3516
3641
|
options.map((opt) => {
|
|
3517
3642
|
const isChecked = selected.includes(opt.value);
|
|
3518
|
-
return /* @__PURE__ */ (0,
|
|
3643
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
3519
3644
|
"button",
|
|
3520
3645
|
{
|
|
3521
3646
|
type: "button",
|
|
@@ -3526,7 +3651,7 @@ var MultiSelect = ({
|
|
|
3526
3651
|
isChecked ? "polli:bg-theme-bg-active polli:text-theme-text-strong" : "polli:text-theme-text-base polli:hover:bg-theme-bg-subtle"
|
|
3527
3652
|
),
|
|
3528
3653
|
children: [
|
|
3529
|
-
/* @__PURE__ */ (0,
|
|
3654
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3530
3655
|
"span",
|
|
3531
3656
|
{
|
|
3532
3657
|
"aria-hidden": "true",
|
|
@@ -3537,7 +3662,7 @@ var MultiSelect = ({
|
|
|
3537
3662
|
children: isChecked && "\u2713"
|
|
3538
3663
|
}
|
|
3539
3664
|
),
|
|
3540
|
-
/* @__PURE__ */ (0,
|
|
3665
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "polli:min-w-0 polli:[overflow-wrap:anywhere]", children: opt.label })
|
|
3541
3666
|
]
|
|
3542
3667
|
},
|
|
3543
3668
|
opt.value
|
|
@@ -3552,7 +3677,7 @@ var MultiSelect = ({
|
|
|
3552
3677
|
};
|
|
3553
3678
|
|
|
3554
3679
|
// src/compositions/NavItem.tsx
|
|
3555
|
-
var
|
|
3680
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
3556
3681
|
var base = "polli-control polli:flex polli:items-center polli:gap-2 polli:rounded-full polli:px-3 polli:py-2 polli:text-left polli:text-sm polli:font-medium polli:whitespace-nowrap polli:transition-colors";
|
|
3557
3682
|
var activeClasses = "polli:bg-theme-bg-active polli:text-theme-text-strong";
|
|
3558
3683
|
var inactiveClasses = "polli:text-ink-800 polli:hover:bg-surface-opaque/60 polli:hover:text-ink-950";
|
|
@@ -3565,7 +3690,7 @@ function NavItem({
|
|
|
3565
3690
|
...rest
|
|
3566
3691
|
}) {
|
|
3567
3692
|
const Component = as || "button";
|
|
3568
|
-
return /* @__PURE__ */ (0,
|
|
3693
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
3569
3694
|
Component,
|
|
3570
3695
|
{
|
|
3571
3696
|
"aria-current": active ? "page" : void 0,
|
|
@@ -3576,7 +3701,7 @@ function NavItem({
|
|
|
3576
3701
|
),
|
|
3577
3702
|
...rest,
|
|
3578
3703
|
children: [
|
|
3579
|
-
Icon ? /* @__PURE__ */ (0,
|
|
3704
|
+
Icon ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon, { className: "polli:h-4 polli:w-4 polli:shrink-0" }) : null,
|
|
3580
3705
|
children
|
|
3581
3706
|
]
|
|
3582
3707
|
}
|
|
@@ -3692,7 +3817,7 @@ function isPeriodSelectable(selection, minDate = /* @__PURE__ */ new Date(0), ma
|
|
|
3692
3817
|
}
|
|
3693
3818
|
|
|
3694
3819
|
// src/primitives/TabButton.tsx
|
|
3695
|
-
var
|
|
3820
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
3696
3821
|
var tabButtonBaseClass = "polli-control polli:inline-flex polli:items-center polli:justify-center polli:rounded-full polli:font-medium polli:leading-normal polli:transition-colors polli:duration-200";
|
|
3697
3822
|
var tabButtonSizeClass = {
|
|
3698
3823
|
xs: "polli:px-2.5 polli:py-1 polli:text-xs",
|
|
@@ -3708,6 +3833,7 @@ var variantClasses3 = {
|
|
|
3708
3833
|
soft: {
|
|
3709
3834
|
base: "",
|
|
3710
3835
|
active: "polli:bg-theme-bg-active polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
3836
|
+
mixed: "polli:bg-theme-bg-active/45 polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
3711
3837
|
inactive: "polli:bg-theme-bg-subtle polli:text-theme-text-base polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover"
|
|
3712
3838
|
},
|
|
3713
3839
|
// Transparent until hovered or selected — for multi-select toggles and
|
|
@@ -3715,9 +3841,20 @@ var variantClasses3 = {
|
|
|
3715
3841
|
ghost: {
|
|
3716
3842
|
base: "polli:border polli:border-transparent",
|
|
3717
3843
|
active: "polli:bg-theme-bg-active polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
3844
|
+
mixed: "polli:bg-theme-bg-active/45 polli:text-theme-text-strong polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover",
|
|
3718
3845
|
inactive: "polli:bg-transparent polli:text-theme-text-base polli:hover:bg-theme-bg-hover polli:hover:text-theme-text-hover"
|
|
3719
3846
|
}
|
|
3720
3847
|
};
|
|
3848
|
+
var intentClasses5 = {
|
|
3849
|
+
amber: {
|
|
3850
|
+
active: "polli:bg-paid-pale polli:text-paid-deep",
|
|
3851
|
+
inactive: "polli:bg-transparent polli:text-theme-text-base polli:hover:bg-paid-pale/60"
|
|
3852
|
+
},
|
|
3853
|
+
green: {
|
|
3854
|
+
active: "polli:bg-tier-pale polli:text-tier-deep",
|
|
3855
|
+
inactive: "polli:bg-transparent polli:text-tier-deep polli:hover:bg-tier-pale/60"
|
|
3856
|
+
}
|
|
3857
|
+
};
|
|
3721
3858
|
function TabButton({
|
|
3722
3859
|
as,
|
|
3723
3860
|
active,
|
|
@@ -3726,6 +3863,7 @@ function TabButton({
|
|
|
3726
3863
|
size = "md",
|
|
3727
3864
|
variant = "soft",
|
|
3728
3865
|
intent,
|
|
3866
|
+
detail,
|
|
3729
3867
|
ariaLabel,
|
|
3730
3868
|
disabled = false,
|
|
3731
3869
|
className,
|
|
@@ -3733,12 +3871,15 @@ function TabButton({
|
|
|
3733
3871
|
}) {
|
|
3734
3872
|
const Component = as || "button";
|
|
3735
3873
|
const isButton = Component === "button";
|
|
3736
|
-
const colors =
|
|
3874
|
+
const colors = intent === "neutral" ? variantClasses3.soft : intent ? {
|
|
3875
|
+
...intentClasses5[intent],
|
|
3876
|
+
mixed: intentClasses5[intent].active
|
|
3877
|
+
} : variantClasses3[variant];
|
|
3737
3878
|
const handleClick = disabled ? (event) => {
|
|
3738
3879
|
event.preventDefault();
|
|
3739
3880
|
event.stopPropagation();
|
|
3740
3881
|
} : onClick;
|
|
3741
|
-
return /* @__PURE__ */ (0,
|
|
3882
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
3742
3883
|
Component,
|
|
3743
3884
|
{
|
|
3744
3885
|
...rest,
|
|
@@ -3747,22 +3888,25 @@ function TabButton({
|
|
|
3747
3888
|
...Component === "a" && disabled ? { href: void 0 } : {},
|
|
3748
3889
|
onClick: handleClick,
|
|
3749
3890
|
...ariaLabel !== void 0 ? { "aria-label": ariaLabel } : {},
|
|
3750
|
-
...isButton ? { "aria-pressed": active } : { "aria-current": active ? "page" : void 0 },
|
|
3891
|
+
...isButton ? { "aria-pressed": active } : { "aria-current": active === true ? "page" : void 0 },
|
|
3751
3892
|
className: cn(
|
|
3752
3893
|
tabButtonBaseClass,
|
|
3753
3894
|
variantClasses3[variant].base,
|
|
3754
|
-
active ? colors.active : colors.inactive,
|
|
3895
|
+
active === "mixed" ? colors.mixed : active ? colors.active : colors.inactive,
|
|
3755
3896
|
disabled && "polli:pointer-events-none polli:cursor-not-allowed polli:opacity-50",
|
|
3756
3897
|
tabButtonSizeClass[size],
|
|
3757
3898
|
className
|
|
3758
3899
|
),
|
|
3759
|
-
children
|
|
3900
|
+
children: [
|
|
3901
|
+
children,
|
|
3902
|
+
detail != null && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "polli:ml-1 polli:font-normal polli:opacity-70", children: detail })
|
|
3903
|
+
]
|
|
3760
3904
|
}
|
|
3761
3905
|
);
|
|
3762
3906
|
}
|
|
3763
3907
|
|
|
3764
3908
|
// src/compositions/PeriodPicker.tsx
|
|
3765
|
-
var
|
|
3909
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
3766
3910
|
var WEEKDAY_LABELS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
|
3767
3911
|
var MONTH_LABELS = [
|
|
3768
3912
|
"Jan",
|
|
@@ -3891,13 +4035,13 @@ var PeriodPicker = ({
|
|
|
3891
4035
|
setOpen(false);
|
|
3892
4036
|
};
|
|
3893
4037
|
const viewLabel = value.granularity === "month" ? String(viewDate.getUTCFullYear()) : formatMonthYear(viewDate, "long");
|
|
3894
|
-
return /* @__PURE__ */ (0,
|
|
4038
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
3895
4039
|
"div",
|
|
3896
4040
|
{
|
|
3897
4041
|
className: trigger ? "polli:contents" : "polli:flex polli:w-full polli:flex-wrap polli:items-center polli:gap-2",
|
|
3898
4042
|
children: [
|
|
3899
|
-
!trigger && /* @__PURE__ */ (0,
|
|
3900
|
-
(granularity2) => /* @__PURE__ */ (0,
|
|
4043
|
+
!trigger && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "polli:flex polli:flex-wrap polli:gap-1.5", children: ["day", "week", "month"].map(
|
|
4044
|
+
(granularity2) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3901
4045
|
TabButton,
|
|
3902
4046
|
{
|
|
3903
4047
|
active: value.granularity === granularity2,
|
|
@@ -3907,13 +4051,13 @@ var PeriodPicker = ({
|
|
|
3907
4051
|
granularity2
|
|
3908
4052
|
)
|
|
3909
4053
|
) }),
|
|
3910
|
-
/* @__PURE__ */ (0,
|
|
4054
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
3911
4055
|
Dropdown,
|
|
3912
4056
|
{
|
|
3913
4057
|
open,
|
|
3914
4058
|
onOpenChange: setOpen,
|
|
3915
|
-
className: "polli:w-[320px] polli:max-w-[calc(100vw-2rem)] polli:rounded-xl polli:border polli:border-divider polli:bg-surface-opaque polli:p-3.5 polli:shadow-
|
|
3916
|
-
trigger: trigger ?? ((isOpen) => /* @__PURE__ */ (0,
|
|
4059
|
+
className: "polli:w-[320px] polli:max-w-[calc(100vw-2rem)] polli:rounded-xl polli:border polli:border-divider polli:bg-surface-opaque polli:p-3.5 polli:shadow-lg",
|
|
4060
|
+
trigger: trigger ?? ((isOpen) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
3917
4061
|
"button",
|
|
3918
4062
|
{
|
|
3919
4063
|
type: "button",
|
|
@@ -3925,15 +4069,15 @@ var PeriodPicker = ({
|
|
|
3925
4069
|
isOpen && "polli:bg-theme-bg-hover polli:text-theme-text-strong"
|
|
3926
4070
|
),
|
|
3927
4071
|
children: [
|
|
3928
|
-
/* @__PURE__ */ (0,
|
|
3929
|
-
/* @__PURE__ */ (0,
|
|
4072
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "polli:truncate", children: summaryLabel }),
|
|
4073
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ChevronIcon, { expanded: isOpen })
|
|
3930
4074
|
]
|
|
3931
4075
|
}
|
|
3932
4076
|
)),
|
|
3933
4077
|
children: [
|
|
3934
4078
|
header,
|
|
3935
|
-
/* @__PURE__ */ (0,
|
|
3936
|
-
/* @__PURE__ */ (0,
|
|
4079
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "polli:mb-3 polli:flex polli:items-center polli:justify-between", children: [
|
|
4080
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3937
4081
|
"button",
|
|
3938
4082
|
{
|
|
3939
4083
|
type: "button",
|
|
@@ -3947,8 +4091,8 @@ var PeriodPicker = ({
|
|
|
3947
4091
|
children: "<"
|
|
3948
4092
|
}
|
|
3949
4093
|
),
|
|
3950
|
-
/* @__PURE__ */ (0,
|
|
3951
|
-
/* @__PURE__ */ (0,
|
|
4094
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "polli:text-base polli:font-bold polli:text-theme-text-base", children: viewLabel }),
|
|
4095
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3952
4096
|
"button",
|
|
3953
4097
|
{
|
|
3954
4098
|
type: "button",
|
|
@@ -3963,7 +4107,7 @@ var PeriodPicker = ({
|
|
|
3963
4107
|
}
|
|
3964
4108
|
)
|
|
3965
4109
|
] }),
|
|
3966
|
-
value.granularity === "month" ? /* @__PURE__ */ (0,
|
|
4110
|
+
value.granularity === "month" ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "polli:grid polli:grid-cols-3 polli:gap-1.5", children: MONTH_LABELS.map((label, monthIndex) => {
|
|
3967
4111
|
const date = new Date(
|
|
3968
4112
|
Date.UTC(
|
|
3969
4113
|
viewDate.getUTCFullYear(),
|
|
@@ -3982,7 +4126,7 @@ var PeriodPicker = ({
|
|
|
3982
4126
|
year: "numeric"
|
|
3983
4127
|
});
|
|
3984
4128
|
const selected = date.getUTCFullYear() === selectedWindow.start.getUTCFullYear() && date.getUTCMonth() === selectedWindow.start.getUTCMonth();
|
|
3985
|
-
return /* @__PURE__ */ (0,
|
|
4129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3986
4130
|
"button",
|
|
3987
4131
|
{
|
|
3988
4132
|
type: "button",
|
|
@@ -3999,9 +4143,9 @@ var PeriodPicker = ({
|
|
|
3999
4143
|
},
|
|
4000
4144
|
label
|
|
4001
4145
|
);
|
|
4002
|
-
}) }) : /* @__PURE__ */ (0,
|
|
4003
|
-
/* @__PURE__ */ (0,
|
|
4004
|
-
/* @__PURE__ */ (0,
|
|
4146
|
+
}) }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
4147
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "polli:mb-1 polli:grid polli:grid-cols-7 polli:gap-1 polli:text-center polli:text-xs polli:font-bold polli:uppercase polli:text-theme-text-muted", children: WEEKDAY_LABELS.map((label) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { children: label }, label)) }),
|
|
4148
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "polli:grid polli:grid-cols-7 polli:gap-1", children: dates.map((date) => {
|
|
4005
4149
|
const inCurrentMonth = date.getUTCMonth() === viewDate.getUTCMonth();
|
|
4006
4150
|
const selectable = isPeriodSelectable(
|
|
4007
4151
|
periodFromDate(value.granularity, date),
|
|
@@ -4019,7 +4163,7 @@ var PeriodPicker = ({
|
|
|
4019
4163
|
}
|
|
4020
4164
|
)}`;
|
|
4021
4165
|
const selected = value.granularity === "day" ? sameUtcDay(date, selectedWindow.start) : date >= selectedWindow.start && date < selectedWindow.end;
|
|
4022
|
-
return /* @__PURE__ */ (0,
|
|
4166
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
4023
4167
|
"button",
|
|
4024
4168
|
{
|
|
4025
4169
|
type: "button",
|
|
@@ -4049,7 +4193,7 @@ var PeriodPicker = ({
|
|
|
4049
4193
|
};
|
|
4050
4194
|
|
|
4051
4195
|
// src/compositions/Section.tsx
|
|
4052
|
-
var
|
|
4196
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
4053
4197
|
var Section = ({
|
|
4054
4198
|
title,
|
|
4055
4199
|
id,
|
|
@@ -4062,13 +4206,13 @@ var Section = ({
|
|
|
4062
4206
|
children,
|
|
4063
4207
|
className
|
|
4064
4208
|
}) => {
|
|
4065
|
-
const body = /* @__PURE__ */ (0,
|
|
4066
|
-
intro && /* @__PURE__ */ (0,
|
|
4209
|
+
const body = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
4210
|
+
intro && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Text, { as: "div", className: "polli:max-w-2xl", children: intro }),
|
|
4067
4211
|
children
|
|
4068
4212
|
] });
|
|
4069
|
-
const content = /* @__PURE__ */ (0,
|
|
4070
|
-
/* @__PURE__ */ (0,
|
|
4071
|
-
/* @__PURE__ */ (0,
|
|
4213
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
4214
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("header", { className: "polli:flex polli:flex-wrap polli:items-center polli:justify-between polli:gap-3", children: [
|
|
4215
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4072
4216
|
Heading,
|
|
4073
4217
|
{
|
|
4074
4218
|
as: "h2",
|
|
@@ -4077,11 +4221,11 @@ var Section = ({
|
|
|
4077
4221
|
children: title
|
|
4078
4222
|
}
|
|
4079
4223
|
),
|
|
4080
|
-
action && /* @__PURE__ */ (0,
|
|
4224
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: cn("polli:shrink-0", actionClassName), children: action })
|
|
4081
4225
|
] }),
|
|
4082
4226
|
body
|
|
4083
4227
|
] });
|
|
4084
|
-
return /* @__PURE__ */ (0,
|
|
4228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("section", { id, className: cn("polli:scroll-mt-10", className), children: framed ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4085
4229
|
Surface,
|
|
4086
4230
|
{
|
|
4087
4231
|
variant: "panel",
|
|
@@ -4091,11 +4235,11 @@ var Section = ({
|
|
|
4091
4235
|
),
|
|
4092
4236
|
children: content
|
|
4093
4237
|
}
|
|
4094
|
-
) : /* @__PURE__ */ (0,
|
|
4238
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "polli:flex polli:flex-col polli:gap-4", children: content }) });
|
|
4095
4239
|
};
|
|
4096
4240
|
|
|
4097
4241
|
// src/compositions/StatCard.tsx
|
|
4098
|
-
var
|
|
4242
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
4099
4243
|
var valueVariantClasses = {
|
|
4100
4244
|
stat: "polli:min-h-8 polli:text-2xl polli:font-bold polli:leading-tight polli:tabular-nums polli:text-theme-text-base",
|
|
4101
4245
|
fact: "polli:text-sm polli:leading-6 polli:text-theme-text-soft"
|
|
@@ -4109,8 +4253,8 @@ var StatCard = ({
|
|
|
4109
4253
|
labelClassName,
|
|
4110
4254
|
valueClassName,
|
|
4111
4255
|
detailClassName
|
|
4112
|
-
}) => /* @__PURE__ */ (0,
|
|
4113
|
-
/* @__PURE__ */ (0,
|
|
4256
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: cn("polli:text-sm", className), children: [
|
|
4257
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4114
4258
|
Text,
|
|
4115
4259
|
{
|
|
4116
4260
|
as: "div",
|
|
@@ -4124,7 +4268,7 @@ var StatCard = ({
|
|
|
4124
4268
|
children: label
|
|
4125
4269
|
}
|
|
4126
4270
|
),
|
|
4127
|
-
/* @__PURE__ */ (0,
|
|
4271
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4128
4272
|
"div",
|
|
4129
4273
|
{
|
|
4130
4274
|
className: cn(
|
|
@@ -4135,7 +4279,7 @@ var StatCard = ({
|
|
|
4135
4279
|
children: value
|
|
4136
4280
|
}
|
|
4137
4281
|
),
|
|
4138
|
-
detail && /* @__PURE__ */ (0,
|
|
4282
|
+
detail && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4139
4283
|
Text,
|
|
4140
4284
|
{
|
|
4141
4285
|
as: "div",
|
|
@@ -4151,7 +4295,7 @@ var StatCard = ({
|
|
|
4151
4295
|
var import_react16 = require("react");
|
|
4152
4296
|
|
|
4153
4297
|
// src/primitives/InlineLink.tsx
|
|
4154
|
-
var
|
|
4298
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
4155
4299
|
function InlineLink({
|
|
4156
4300
|
as,
|
|
4157
4301
|
external,
|
|
@@ -4164,7 +4308,7 @@ function InlineLink({
|
|
|
4164
4308
|
}) {
|
|
4165
4309
|
const Component = as || "a";
|
|
4166
4310
|
const isExternal = external ?? isExternalHref(linkProps.href);
|
|
4167
|
-
return /* @__PURE__ */ (0,
|
|
4311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
4168
4312
|
Component,
|
|
4169
4313
|
{
|
|
4170
4314
|
target: isExternal && as !== "button" ? "_blank" : void 0,
|
|
@@ -4175,7 +4319,7 @@ function InlineLink({
|
|
|
4175
4319
|
...linkProps,
|
|
4176
4320
|
children: [
|
|
4177
4321
|
children,
|
|
4178
|
-
showIcon && isExternal && /* @__PURE__ */ (0,
|
|
4322
|
+
showIcon && isExternal && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
4179
4323
|
ExternalLinkIcon,
|
|
4180
4324
|
{
|
|
4181
4325
|
"aria-hidden": "true",
|
|
@@ -4188,7 +4332,7 @@ function InlineLink({
|
|
|
4188
4332
|
}
|
|
4189
4333
|
|
|
4190
4334
|
// src/compositions/ToolCallDetails.tsx
|
|
4191
|
-
var
|
|
4335
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
4192
4336
|
function formattedValue(value) {
|
|
4193
4337
|
if (typeof value === "string") return value;
|
|
4194
4338
|
try {
|
|
@@ -4201,17 +4345,28 @@ function linkedValue(value) {
|
|
|
4201
4345
|
const formatted = formattedValue(value);
|
|
4202
4346
|
const segments = formatted.split(/(https:\/\/[^\s"\\]+)/g);
|
|
4203
4347
|
let offset = 0;
|
|
4204
|
-
return segments.map((segment) => {
|
|
4348
|
+
return segments.map((segment, index) => {
|
|
4205
4349
|
const key = `${offset}:${segment}`;
|
|
4206
4350
|
offset += segment.length;
|
|
4207
|
-
|
|
4351
|
+
if (!segment.startsWith("https://")) return segment;
|
|
4352
|
+
let href = segment;
|
|
4353
|
+
const quotedUrl = segments[index - 1]?.endsWith('"') && segments[index + 1]?.startsWith('"');
|
|
4354
|
+
let extraClosingParens = (href.match(/\)/g)?.length ?? 0) - (href.match(/\(/g)?.length ?? 0);
|
|
4355
|
+
while (!quotedUrl && (/[.,!?;:]$/.test(href) || href.endsWith(")") && extraClosingParens > 0)) {
|
|
4356
|
+
if (href.endsWith(")")) extraClosingParens--;
|
|
4357
|
+
href = href.slice(0, -1);
|
|
4358
|
+
}
|
|
4359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_react16.Fragment, { children: [
|
|
4360
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InlineLink, { href, children: href }),
|
|
4361
|
+
segment.slice(href.length)
|
|
4362
|
+
] }, key);
|
|
4208
4363
|
});
|
|
4209
4364
|
}
|
|
4210
4365
|
function ToolValue({
|
|
4211
4366
|
value,
|
|
4212
4367
|
error = false
|
|
4213
4368
|
}) {
|
|
4214
|
-
return /* @__PURE__ */ (0,
|
|
4369
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
4215
4370
|
"pre",
|
|
4216
4371
|
{
|
|
4217
4372
|
className: cn(
|
|
@@ -4232,7 +4387,7 @@ var STATUS_LABELS = {
|
|
|
4232
4387
|
denied: "Denied"
|
|
4233
4388
|
};
|
|
4234
4389
|
function ToolStatus({ status }) {
|
|
4235
|
-
const icon = status === "complete" || status === "approval-responded" ? /* @__PURE__ */ (0,
|
|
4390
|
+
const icon = status === "complete" || status === "approval-responded" ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CheckIcon, { className: "polli:size-3" }) : status === "error" || status === "denied" ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(XIcon, { className: "polli:size-3" }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
4236
4391
|
ClockIcon,
|
|
4237
4392
|
{
|
|
4238
4393
|
className: cn(
|
|
@@ -4241,7 +4396,7 @@ function ToolStatus({ status }) {
|
|
|
4241
4396
|
)
|
|
4242
4397
|
}
|
|
4243
4398
|
);
|
|
4244
|
-
return /* @__PURE__ */ (0,
|
|
4399
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
4245
4400
|
"span",
|
|
4246
4401
|
{
|
|
4247
4402
|
"data-status": status,
|
|
@@ -4267,16 +4422,16 @@ function ToolCallDetails({
|
|
|
4267
4422
|
}) {
|
|
4268
4423
|
const result = error === void 0 ? output : error;
|
|
4269
4424
|
const [open, setOpen] = (0, import_react16.useState)(defaultOpen);
|
|
4270
|
-
return /* @__PURE__ */ (0,
|
|
4425
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
4271
4426
|
"div",
|
|
4272
4427
|
{
|
|
4273
4428
|
"data-tool-status": status,
|
|
4274
4429
|
className: cn(
|
|
4275
|
-
"polli:overflow-hidden polli:rounded-xl polli:border polli:border-theme-border/35 polli:bg-surface-opaque
|
|
4430
|
+
"polli:overflow-hidden polli:rounded-xl polli:border polli:border-theme-border/35 polli:bg-surface-opaque",
|
|
4276
4431
|
className
|
|
4277
4432
|
),
|
|
4278
4433
|
children: [
|
|
4279
|
-
/* @__PURE__ */ (0,
|
|
4434
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
4280
4435
|
"button",
|
|
4281
4436
|
{
|
|
4282
4437
|
type: "button",
|
|
@@ -4284,10 +4439,10 @@ function ToolCallDetails({
|
|
|
4284
4439
|
onClick: () => setOpen((current2) => !current2),
|
|
4285
4440
|
className: "polli-control polli:flex polli:w-full polli:cursor-pointer polli:items-center polli:gap-2 polli:px-3 polli:py-2.5 polli:text-left polli:hover:bg-theme-bg-hover/50",
|
|
4286
4441
|
children: [
|
|
4287
|
-
/* @__PURE__ */ (0,
|
|
4288
|
-
/* @__PURE__ */ (0,
|
|
4289
|
-
/* @__PURE__ */ (0,
|
|
4290
|
-
/* @__PURE__ */ (0,
|
|
4442
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "polli:flex polli:size-7 polli:shrink-0 polli:items-center polli:justify-center polli:rounded-lg polli:bg-theme-bg-active polli:text-theme-text-strong", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ToolIcon, { className: "polli:size-3.5" }) }),
|
|
4443
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("code", { className: "polli:min-w-0 polli:truncate polli:text-xs polli:font-semibold polli:text-theme-text-strong", children: name }),
|
|
4444
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ToolStatus, { status }),
|
|
4445
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
4291
4446
|
ChevronIcon,
|
|
4292
4447
|
{
|
|
4293
4448
|
expanded: open,
|
|
@@ -4297,14 +4452,14 @@ function ToolCallDetails({
|
|
|
4297
4452
|
]
|
|
4298
4453
|
}
|
|
4299
4454
|
),
|
|
4300
|
-
open && /* @__PURE__ */ (0,
|
|
4301
|
-
input !== void 0 && /* @__PURE__ */ (0,
|
|
4302
|
-
/* @__PURE__ */ (0,
|
|
4303
|
-
/* @__PURE__ */ (0,
|
|
4455
|
+
open && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "polli:flex polli:flex-col polli:gap-4 polli:border-theme-border/30 polli:border-t polli:bg-theme-bg-pale/35 polli:px-3 polli:py-3", children: [
|
|
4456
|
+
input !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "polli:flex polli:flex-col polli:gap-1", children: [
|
|
4457
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Text, { size: "xs", tone: "muted", weight: "bold", children: "Parameters" }),
|
|
4458
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ToolValue, { value: input })
|
|
4304
4459
|
] }),
|
|
4305
|
-
result !== void 0 && /* @__PURE__ */ (0,
|
|
4306
|
-
/* @__PURE__ */ (0,
|
|
4307
|
-
/* @__PURE__ */ (0,
|
|
4460
|
+
result !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "polli:flex polli:flex-col polli:gap-1", children: [
|
|
4461
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Text, { size: "xs", tone: "muted", weight: "bold", children: error === void 0 ? "Result" : "Error" }),
|
|
4462
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
4308
4463
|
ToolValue,
|
|
4309
4464
|
{
|
|
4310
4465
|
value: result,
|
|
@@ -4342,13 +4497,13 @@ function useScrollLock(enabled = true) {
|
|
|
4342
4497
|
}
|
|
4343
4498
|
|
|
4344
4499
|
// src/primitives/ButtonGroup.tsx
|
|
4345
|
-
var
|
|
4500
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
4346
4501
|
var ButtonGroup = ({
|
|
4347
4502
|
className,
|
|
4348
4503
|
children,
|
|
4349
4504
|
role = "group",
|
|
4350
4505
|
...rest
|
|
4351
|
-
}) => /* @__PURE__ */ (0,
|
|
4506
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
4352
4507
|
"div",
|
|
4353
4508
|
{
|
|
4354
4509
|
...rest,
|
|
@@ -4363,7 +4518,116 @@ var ButtonGroup = ({
|
|
|
4363
4518
|
|
|
4364
4519
|
// src/primitives/ColorModeToggle.tsx
|
|
4365
4520
|
var import_react18 = require("react");
|
|
4366
|
-
|
|
4521
|
+
|
|
4522
|
+
// src/primitives/Switch.tsx
|
|
4523
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
4524
|
+
var sizes = {
|
|
4525
|
+
sm: {
|
|
4526
|
+
track: "polli:h-7 polli:w-[52px]",
|
|
4527
|
+
thumb: "polli:h-5 polli:w-5",
|
|
4528
|
+
travel: "polli:translate-x-6",
|
|
4529
|
+
icon: "polli:h-3.5 polli:w-3.5",
|
|
4530
|
+
ghostOff: "polli:right-2",
|
|
4531
|
+
ghostOn: "polli:left-2"
|
|
4532
|
+
},
|
|
4533
|
+
md: {
|
|
4534
|
+
track: "polli:h-9 polli:w-16",
|
|
4535
|
+
thumb: "polli:h-7 polli:w-7",
|
|
4536
|
+
travel: "polli:translate-x-7",
|
|
4537
|
+
icon: "polli:h-4 polli:w-4",
|
|
4538
|
+
ghostOff: "polli:right-[9px]",
|
|
4539
|
+
ghostOn: "polli:left-[9px]"
|
|
4540
|
+
},
|
|
4541
|
+
lg: {
|
|
4542
|
+
track: "polli:h-12 polli:w-[88px]",
|
|
4543
|
+
thumb: "polli:h-10 polli:w-10",
|
|
4544
|
+
travel: "polli:translate-x-10",
|
|
4545
|
+
icon: "polli:h-5 polli:w-5",
|
|
4546
|
+
ghostOff: "polli:right-[13px]",
|
|
4547
|
+
ghostOn: "polli:left-[13px]"
|
|
4548
|
+
}
|
|
4549
|
+
};
|
|
4550
|
+
var trackClasses = {
|
|
4551
|
+
off: "polli:border-theme-text-strong/15 polli:bg-theme-bg-subtle polli:hover:border-theme-text-strong/30",
|
|
4552
|
+
on: "polli:border-tier-soft polli:bg-tier-soft",
|
|
4553
|
+
invalid: "polli:border-intent-danger-text polli:bg-intent-danger-bg-light",
|
|
4554
|
+
choice: "polli:border-theme-text-strong/10 polli:bg-surface-opaque"
|
|
4555
|
+
};
|
|
4556
|
+
var thumbClasses = {
|
|
4557
|
+
off: "polli:bg-theme-text-muted/60 polli:text-app-bg",
|
|
4558
|
+
on: "polli:bg-intent-success-text-on-bright",
|
|
4559
|
+
invalid: "polli:bg-intent-danger-text polli:text-app-bg",
|
|
4560
|
+
choice: "polli:bg-app-bg polli:text-theme-text-soft"
|
|
4561
|
+
};
|
|
4562
|
+
var Switch = ({
|
|
4563
|
+
checked,
|
|
4564
|
+
onChange,
|
|
4565
|
+
status,
|
|
4566
|
+
ariaLabel,
|
|
4567
|
+
disabled = false,
|
|
4568
|
+
size = "md",
|
|
4569
|
+
icons,
|
|
4570
|
+
className
|
|
4571
|
+
}) => {
|
|
4572
|
+
const geometry = sizes[size];
|
|
4573
|
+
const look = icons ? "choice" : status ?? (checked ? "on" : "off");
|
|
4574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
4575
|
+
"button",
|
|
4576
|
+
{
|
|
4577
|
+
type: "button",
|
|
4578
|
+
role: "switch",
|
|
4579
|
+
"aria-checked": checked,
|
|
4580
|
+
"aria-label": ariaLabel ?? (checked ? "Turn off toggle" : "Turn on toggle"),
|
|
4581
|
+
onClick: () => onChange(!checked),
|
|
4582
|
+
disabled,
|
|
4583
|
+
className: cn(
|
|
4584
|
+
"polli-control polli:relative polli:inline-block polli:shrink-0 polli:cursor-pointer polli:rounded-full polli:border polli:transition-colors polli:disabled:cursor-not-allowed polli:disabled:opacity-60",
|
|
4585
|
+
geometry.track,
|
|
4586
|
+
trackClasses[look],
|
|
4587
|
+
className
|
|
4588
|
+
),
|
|
4589
|
+
children: [
|
|
4590
|
+
icons && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
4591
|
+
"span",
|
|
4592
|
+
{
|
|
4593
|
+
"aria-hidden": "true",
|
|
4594
|
+
className: cn(
|
|
4595
|
+
"polli:absolute polli:top-1/2 polli:flex polli:-translate-y-1/2 polli:text-theme-text-strong/40 polli:[&>svg]:h-full polli:[&>svg]:w-full",
|
|
4596
|
+
geometry.icon,
|
|
4597
|
+
checked ? geometry.ghostOn : geometry.ghostOff
|
|
4598
|
+
),
|
|
4599
|
+
children: checked ? icons.off : icons.on
|
|
4600
|
+
}
|
|
4601
|
+
),
|
|
4602
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
4603
|
+
"span",
|
|
4604
|
+
{
|
|
4605
|
+
className: cn(
|
|
4606
|
+
"polli:absolute polli:top-1/2 polli:left-[3px] polli:flex polli:-translate-y-1/2 polli:items-center polli:justify-center polli:rounded-full polli:transition-[transform,background-color]",
|
|
4607
|
+
geometry.thumb,
|
|
4608
|
+
thumbClasses[look],
|
|
4609
|
+
checked ? geometry.travel : "polli:translate-x-0"
|
|
4610
|
+
),
|
|
4611
|
+
children: icons && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
4612
|
+
"span",
|
|
4613
|
+
{
|
|
4614
|
+
"aria-hidden": "true",
|
|
4615
|
+
className: cn(
|
|
4616
|
+
"polli:flex polli:[&>svg]:h-full polli:[&>svg]:w-full",
|
|
4617
|
+
geometry.icon
|
|
4618
|
+
),
|
|
4619
|
+
children: checked ? icons.on : icons.off
|
|
4620
|
+
}
|
|
4621
|
+
)
|
|
4622
|
+
}
|
|
4623
|
+
)
|
|
4624
|
+
]
|
|
4625
|
+
}
|
|
4626
|
+
);
|
|
4627
|
+
};
|
|
4628
|
+
|
|
4629
|
+
// src/primitives/ColorModeToggle.tsx
|
|
4630
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
4367
4631
|
var STORAGE_KEY = "polli-color-mode";
|
|
4368
4632
|
function readStored() {
|
|
4369
4633
|
try {
|
|
@@ -4373,10 +4637,10 @@ function readStored() {
|
|
|
4373
4637
|
return null;
|
|
4374
4638
|
}
|
|
4375
4639
|
}
|
|
4376
|
-
function
|
|
4377
|
-
return typeof window !== "undefined" && window.matchMedia?.("(prefers-color-scheme: dark)").matches === true;
|
|
4640
|
+
function systemMode() {
|
|
4641
|
+
return typeof window !== "undefined" && window.matchMedia?.("(prefers-color-scheme: dark)").matches === true ? "dark" : "light";
|
|
4378
4642
|
}
|
|
4379
|
-
var current = readStored() ?? (
|
|
4643
|
+
var current = readStored() ?? systemMode();
|
|
4380
4644
|
var listeners = /* @__PURE__ */ new Set();
|
|
4381
4645
|
function apply() {
|
|
4382
4646
|
if (typeof document === "undefined") return;
|
|
@@ -4400,7 +4664,7 @@ function emit() {
|
|
|
4400
4664
|
}
|
|
4401
4665
|
function handleStorage(event) {
|
|
4402
4666
|
if (event.key !== STORAGE_KEY) return;
|
|
4403
|
-
const next =
|
|
4667
|
+
const next = readStored() ?? systemMode();
|
|
4404
4668
|
if (next === current) return;
|
|
4405
4669
|
current = next;
|
|
4406
4670
|
apply();
|
|
@@ -4430,7 +4694,8 @@ function setColorMode(mode) {
|
|
|
4430
4694
|
current = mode;
|
|
4431
4695
|
apply();
|
|
4432
4696
|
try {
|
|
4433
|
-
localStorage.
|
|
4697
|
+
if (mode === systemMode()) localStorage.removeItem(STORAGE_KEY);
|
|
4698
|
+
else localStorage.setItem(STORAGE_KEY, mode);
|
|
4434
4699
|
} catch {
|
|
4435
4700
|
}
|
|
4436
4701
|
emit();
|
|
@@ -4449,28 +4714,14 @@ function useColorMode() {
|
|
|
4449
4714
|
}
|
|
4450
4715
|
var ColorModeToggle = () => {
|
|
4451
4716
|
const { isDark, toggle } = useColorMode();
|
|
4452
|
-
return /* @__PURE__ */ (0,
|
|
4453
|
-
|
|
4717
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
4718
|
+
Switch,
|
|
4454
4719
|
{
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
"
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
className: "polli-control polli:relative polli:inline-block polli:h-7 polli:w-[52px] polli:shrink-0 polli:cursor-pointer polli:rounded-full polli:border polli:border-theme-text-strong/10 polli:bg-surface-opaque polli:transition-colors",
|
|
4461
|
-
children: [
|
|
4462
|
-
isDark ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SunIcon, { className: "polli:absolute polli:top-1/2 polli:left-[7px] polli:h-3.5 polli:w-3.5 polli:-translate-y-1/2 polli:text-theme-text-strong/40" }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(MoonIcon, { className: "polli:absolute polli:top-1/2 polli:right-[7px] polli:h-3.5 polli:w-3.5 polli:-translate-y-1/2 polli:text-theme-text-strong/40" }),
|
|
4463
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
4464
|
-
"span",
|
|
4465
|
-
{
|
|
4466
|
-
className: cn(
|
|
4467
|
-
"polli:absolute polli:top-1/2 polli:left-0.5 polli:flex polli:h-5 polli:w-5 polli:-translate-y-1/2 polli:items-center polli:justify-center polli:rounded-full polli:bg-app-bg polli:text-theme-text-soft polli:shadow-sm polli:transition-transform",
|
|
4468
|
-
isDark ? "polli:translate-x-[26px]" : "polli:translate-x-0"
|
|
4469
|
-
),
|
|
4470
|
-
children: isDark ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(MoonIcon, { className: "polli:h-3.5 polli:w-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SunIcon, { className: "polli:h-3.5 polli:w-3.5" })
|
|
4471
|
-
}
|
|
4472
|
-
)
|
|
4473
|
-
]
|
|
4720
|
+
checked: isDark,
|
|
4721
|
+
onChange: toggle,
|
|
4722
|
+
ariaLabel: "Toggle dark mode",
|
|
4723
|
+
size: "sm",
|
|
4724
|
+
icons: { off: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SunIcon, {}), on: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MoonIcon, {}) }
|
|
4474
4725
|
}
|
|
4475
4726
|
);
|
|
4476
4727
|
};
|
|
@@ -4479,7 +4730,7 @@ var ColorModeToggle = () => {
|
|
|
4479
4730
|
var import_dialog2 = require("@ark-ui/react/dialog");
|
|
4480
4731
|
var import_portal3 = require("@ark-ui/react/portal");
|
|
4481
4732
|
var import_react19 = require("react");
|
|
4482
|
-
var
|
|
4733
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
4483
4734
|
var Drawer = ({
|
|
4484
4735
|
open,
|
|
4485
4736
|
onOpenChange,
|
|
@@ -4489,21 +4740,21 @@ var Drawer = ({
|
|
|
4489
4740
|
contentClassName
|
|
4490
4741
|
}) => {
|
|
4491
4742
|
const contentRef = (0, import_react19.useRef)(null);
|
|
4492
|
-
return /* @__PURE__ */ (0,
|
|
4743
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
4493
4744
|
import_dialog2.Dialog.Root,
|
|
4494
4745
|
{
|
|
4495
4746
|
open,
|
|
4496
4747
|
initialFocusEl: () => contentRef.current,
|
|
4497
4748
|
onOpenChange: (details) => onOpenChange(details.open),
|
|
4498
|
-
children: /* @__PURE__ */ (0,
|
|
4499
|
-
/* @__PURE__ */ (0,
|
|
4500
|
-
/* @__PURE__ */ (0,
|
|
4749
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_portal3.Portal, { children: [
|
|
4750
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_dialog2.Dialog.Backdrop, { className: "polli:fixed polli:inset-0 polli:z-[100] polli:bg-[#000]/40 polli:backdrop-blur-sm" }),
|
|
4751
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_dialog2.Dialog.Positioner, { className: "polli:pointer-events-none polli:fixed polli:inset-0 polli:z-[110] polli:h-dvh polli:overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
4501
4752
|
import_dialog2.Dialog.Content,
|
|
4502
4753
|
{
|
|
4503
4754
|
ref: contentRef,
|
|
4504
4755
|
"aria-label": ariaLabel,
|
|
4505
4756
|
className: cn(
|
|
4506
|
-
"polli:pointer-events-auto polli:flex polli:h-dvh polli:w-[min(20rem,86vw)] polli:flex-col polli:overflow-hidden polli:border-theme-text-strong/10 polli:bg-app-bg polli:
|
|
4757
|
+
"polli:pointer-events-auto polli:flex polli:h-dvh polli:w-[min(20rem,86vw)] polli:flex-col polli:overflow-hidden polli:border-theme-text-strong/10 polli:bg-app-bg polli:outline-none",
|
|
4507
4758
|
side === "right" ? "polli:ml-auto polli:border-l" : "polli:border-r",
|
|
4508
4759
|
contentClassName
|
|
4509
4760
|
),
|
|
@@ -4516,7 +4767,7 @@ var Drawer = ({
|
|
|
4516
4767
|
};
|
|
4517
4768
|
|
|
4518
4769
|
// src/primitives/DropdownItem.tsx
|
|
4519
|
-
var
|
|
4770
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
4520
4771
|
function DropdownItem({
|
|
4521
4772
|
as,
|
|
4522
4773
|
className,
|
|
@@ -4524,7 +4775,7 @@ function DropdownItem({
|
|
|
4524
4775
|
...rest
|
|
4525
4776
|
}) {
|
|
4526
4777
|
const Component = as || "button";
|
|
4527
|
-
return /* @__PURE__ */ (0,
|
|
4778
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
4528
4779
|
Component,
|
|
4529
4780
|
{
|
|
4530
4781
|
...Component === "button" ? { type: "button" } : void 0,
|
|
@@ -4538,9 +4789,24 @@ function DropdownItem({
|
|
|
4538
4789
|
);
|
|
4539
4790
|
}
|
|
4540
4791
|
|
|
4792
|
+
// src/primitives/LoadingStatus.tsx
|
|
4793
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
4794
|
+
function LoadingStatus({ children }) {
|
|
4795
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("output", { className: "polli:flex polli:items-center polli:gap-2 polli:font-body polli:text-sm polli:text-theme-text-muted", children: [
|
|
4796
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
4797
|
+
"span",
|
|
4798
|
+
{
|
|
4799
|
+
"aria-hidden": "true",
|
|
4800
|
+
className: "polli:h-4 polli:w-4 polli:shrink-0 polli:animate-spin polli:motion-reduce:animate-none polli:rounded-full polli:border-2 polli:border-current polli:border-r-transparent"
|
|
4801
|
+
}
|
|
4802
|
+
),
|
|
4803
|
+
children
|
|
4804
|
+
] });
|
|
4805
|
+
}
|
|
4806
|
+
|
|
4541
4807
|
// src/primitives/Slider.tsx
|
|
4542
4808
|
var import_react20 = require("react");
|
|
4543
|
-
var
|
|
4809
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
4544
4810
|
var toNumber = (value) => {
|
|
4545
4811
|
if (typeof value === "number") return value;
|
|
4546
4812
|
if (typeof value !== "string" || value.trim() === "") return void 0;
|
|
@@ -4580,7 +4846,7 @@ var Slider = (0, import_react20.forwardRef)(
|
|
|
4580
4846
|
...style,
|
|
4581
4847
|
...progressPercent === void 0 ? null : { "--polli-slider-progress": `${progressPercent}%` }
|
|
4582
4848
|
};
|
|
4583
|
-
return /* @__PURE__ */ (0,
|
|
4849
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
4584
4850
|
"input",
|
|
4585
4851
|
{
|
|
4586
4852
|
ref,
|
|
@@ -4597,52 +4863,8 @@ var Slider = (0, import_react20.forwardRef)(
|
|
|
4597
4863
|
}
|
|
4598
4864
|
);
|
|
4599
4865
|
|
|
4600
|
-
// src/primitives/Switch.tsx
|
|
4601
|
-
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
4602
|
-
var trackClasses = {
|
|
4603
|
-
off: "polli:bg-switch-track-off",
|
|
4604
|
-
on: "polli:bg-switch-track-on",
|
|
4605
|
-
invalid: "polli:bg-switch-track-invalid"
|
|
4606
|
-
};
|
|
4607
|
-
var Switch = ({
|
|
4608
|
-
checked,
|
|
4609
|
-
onChange,
|
|
4610
|
-
status,
|
|
4611
|
-
ariaLabel,
|
|
4612
|
-
disabled = false,
|
|
4613
|
-
className
|
|
4614
|
-
}) => {
|
|
4615
|
-
const effectiveStatus = status ?? (checked ? "on" : "off");
|
|
4616
|
-
const resolvedAriaLabel = ariaLabel ?? (checked ? "Turn off toggle" : "Turn on toggle");
|
|
4617
|
-
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
4618
|
-
"button",
|
|
4619
|
-
{
|
|
4620
|
-
type: "button",
|
|
4621
|
-
role: "switch",
|
|
4622
|
-
"aria-checked": checked,
|
|
4623
|
-
"aria-label": resolvedAriaLabel,
|
|
4624
|
-
onClick: () => onChange(!checked),
|
|
4625
|
-
disabled,
|
|
4626
|
-
className: cn(
|
|
4627
|
-
"polli-control polli:relative polli:inline-flex polli:h-7 polli:w-12 polli:shrink-0 polli:items-center polli:rounded-full polli:transition polli:disabled:cursor-not-allowed polli:disabled:opacity-60",
|
|
4628
|
-
trackClasses[effectiveStatus],
|
|
4629
|
-
className
|
|
4630
|
-
),
|
|
4631
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
4632
|
-
"span",
|
|
4633
|
-
{
|
|
4634
|
-
className: cn(
|
|
4635
|
-
"polli:inline-block polli:h-5 polli:w-5 polli:rounded-full polli:bg-switch-thumb polli:shadow-sm polli:transition-transform",
|
|
4636
|
-
checked ? "polli:translate-x-6" : "polli:translate-x-1"
|
|
4637
|
-
)
|
|
4638
|
-
}
|
|
4639
|
-
)
|
|
4640
|
-
}
|
|
4641
|
-
);
|
|
4642
|
-
};
|
|
4643
|
-
|
|
4644
4866
|
// src/primitives/Table.tsx
|
|
4645
|
-
var
|
|
4867
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
4646
4868
|
var alignClasses = {
|
|
4647
4869
|
left: "polli:text-left",
|
|
4648
4870
|
center: "polli:text-center",
|
|
@@ -4653,7 +4875,7 @@ var rowIntentClasses = {
|
|
|
4653
4875
|
warning: "polli:bg-intent-warning-bg-light/65",
|
|
4654
4876
|
danger: "polli:bg-intent-danger-bg-light/65"
|
|
4655
4877
|
};
|
|
4656
|
-
var Table = ({ className, ...rest }) => /* @__PURE__ */ (0,
|
|
4878
|
+
var Table = ({ className, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4657
4879
|
"table",
|
|
4658
4880
|
{
|
|
4659
4881
|
...rest,
|
|
@@ -4663,7 +4885,7 @@ var Table = ({ className, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime50
|
|
|
4663
4885
|
)
|
|
4664
4886
|
}
|
|
4665
4887
|
);
|
|
4666
|
-
var TableHead = ({ className, ...rest }) => /* @__PURE__ */ (0,
|
|
4888
|
+
var TableHead = ({ className, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4667
4889
|
"thead",
|
|
4668
4890
|
{
|
|
4669
4891
|
...rest,
|
|
@@ -4677,7 +4899,7 @@ var TableBody = ({
|
|
|
4677
4899
|
className,
|
|
4678
4900
|
divider = "themed",
|
|
4679
4901
|
...rest
|
|
4680
|
-
}) => /* @__PURE__ */ (0,
|
|
4902
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4681
4903
|
"tbody",
|
|
4682
4904
|
{
|
|
4683
4905
|
...rest,
|
|
@@ -4692,7 +4914,7 @@ var TableRow = ({
|
|
|
4692
4914
|
intent = "default",
|
|
4693
4915
|
className,
|
|
4694
4916
|
...rest
|
|
4695
|
-
}) => /* @__PURE__ */ (0,
|
|
4917
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4696
4918
|
"tr",
|
|
4697
4919
|
{
|
|
4698
4920
|
...rest,
|
|
@@ -4712,9 +4934,9 @@ var TableHeaderCell = ({
|
|
|
4712
4934
|
children,
|
|
4713
4935
|
...rest
|
|
4714
4936
|
}) => {
|
|
4715
|
-
const content = /* @__PURE__ */ (0,
|
|
4716
|
-
/* @__PURE__ */ (0,
|
|
4717
|
-
onSort && /* @__PURE__ */ (0,
|
|
4937
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
|
|
4938
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { children }),
|
|
4939
|
+
onSort && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4718
4940
|
"span",
|
|
4719
4941
|
{
|
|
4720
4942
|
"aria-hidden": "true",
|
|
@@ -4731,15 +4953,15 @@ var TableHeaderCell = ({
|
|
|
4731
4953
|
className
|
|
4732
4954
|
);
|
|
4733
4955
|
if (!onSort) {
|
|
4734
|
-
return /* @__PURE__ */ (0,
|
|
4956
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("th", { ...rest, className: classes, children: content });
|
|
4735
4957
|
}
|
|
4736
|
-
return /* @__PURE__ */ (0,
|
|
4958
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4737
4959
|
"th",
|
|
4738
4960
|
{
|
|
4739
4961
|
...rest,
|
|
4740
4962
|
"aria-sort": active && sortDirection ? sortDirection === "asc" ? "ascending" : "descending" : "none",
|
|
4741
4963
|
className: classes,
|
|
4742
|
-
children: /* @__PURE__ */ (0,
|
|
4964
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4743
4965
|
"button",
|
|
4744
4966
|
{
|
|
4745
4967
|
type: "button",
|
|
@@ -4761,7 +4983,7 @@ var TableCell = ({
|
|
|
4761
4983
|
muted = false,
|
|
4762
4984
|
className,
|
|
4763
4985
|
...rest
|
|
4764
|
-
}) => /* @__PURE__ */ (0,
|
|
4986
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4765
4987
|
"td",
|
|
4766
4988
|
{
|
|
4767
4989
|
...rest,
|
|
@@ -4776,14 +4998,14 @@ var TableCell = ({
|
|
|
4776
4998
|
);
|
|
4777
4999
|
|
|
4778
5000
|
// src/primitives/TableDisclosureButton.tsx
|
|
4779
|
-
var
|
|
5001
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
4780
5002
|
var TableDisclosureButton = ({
|
|
4781
5003
|
children,
|
|
4782
5004
|
disabled = false,
|
|
4783
5005
|
expanded,
|
|
4784
5006
|
onClick,
|
|
4785
5007
|
className
|
|
4786
|
-
}) => /* @__PURE__ */ (0,
|
|
5008
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
4787
5009
|
"button",
|
|
4788
5010
|
{
|
|
4789
5011
|
type: "button",
|
|
@@ -4796,7 +5018,7 @@ var TableDisclosureButton = ({
|
|
|
4796
5018
|
className
|
|
4797
5019
|
),
|
|
4798
5020
|
children: [
|
|
4799
|
-
/* @__PURE__ */ (0,
|
|
5021
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4800
5022
|
ChevronIcon,
|
|
4801
5023
|
{
|
|
4802
5024
|
expanded,
|
|
@@ -4811,8 +5033,10 @@ var TableDisclosureButton = ({
|
|
|
4811
5033
|
0 && (module.exports = {
|
|
4812
5034
|
AccountIcon,
|
|
4813
5035
|
AccountIdentity,
|
|
5036
|
+
AccountIdentityLink,
|
|
4814
5037
|
AccountMenu,
|
|
4815
5038
|
Alert,
|
|
5039
|
+
AppBrand,
|
|
4816
5040
|
AppHeader,
|
|
4817
5041
|
AppIcon,
|
|
4818
5042
|
ArrowLeftIcon,
|
|
@@ -4821,6 +5045,7 @@ var TableDisclosureButton = ({
|
|
|
4821
5045
|
BeakerIcon,
|
|
4822
5046
|
BookIcon,
|
|
4823
5047
|
BotIcon,
|
|
5048
|
+
BrandMark,
|
|
4824
5049
|
BugIcon,
|
|
4825
5050
|
Button,
|
|
4826
5051
|
ButtonGroup,
|
|
@@ -4892,6 +5117,7 @@ var TableDisclosureButton = ({
|
|
|
4892
5117
|
KeyIcon,
|
|
4893
5118
|
LinkCard,
|
|
4894
5119
|
LinkedInIcon,
|
|
5120
|
+
LoadingStatus,
|
|
4895
5121
|
LockIcon,
|
|
4896
5122
|
LogInIcon,
|
|
4897
5123
|
LogOutIcon,
|
|
@@ -4912,6 +5138,7 @@ var TableDisclosureButton = ({
|
|
|
4912
5138
|
PlusIcon,
|
|
4913
5139
|
PowerIcon,
|
|
4914
5140
|
ReasoningIcon,
|
|
5141
|
+
ReceiptIcon,
|
|
4915
5142
|
RefreshIcon,
|
|
4916
5143
|
RobotIcon,
|
|
4917
5144
|
RocketIcon,
|