@landtrustinc/design-system 1.2.68 → 1.2.70
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/dist/index.js +1511 -1441
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6198,8 +6198,8 @@ function useBottomDrawer(options) {
|
|
|
6198
6198
|
var useBottomDrawer_default = useBottomDrawer;
|
|
6199
6199
|
|
|
6200
6200
|
// src/ChatWidget/ChatWidget.tsx
|
|
6201
|
-
var
|
|
6202
|
-
var
|
|
6201
|
+
var import_react41 = require("@emotion/react");
|
|
6202
|
+
var import_react42 = __toESM(require("react"));
|
|
6203
6203
|
|
|
6204
6204
|
// src/Divider/Divider.tsx
|
|
6205
6205
|
var import_styled4 = __toESM(require("@emotion/styled"));
|
|
@@ -6248,6 +6248,12 @@ var textareaBase = import_react29.css`
|
|
|
6248
6248
|
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
6249
6249
|
outline: none;
|
|
6250
6250
|
resize: none;
|
|
6251
|
+
overscroll-behavior: contain;
|
|
6252
|
+
overscroll-behavior-y: contain;
|
|
6253
|
+
|
|
6254
|
+
@media (max-width: calc(${screens.lg} - 1px)) {
|
|
6255
|
+
font-size: 16px;
|
|
6256
|
+
}
|
|
6251
6257
|
|
|
6252
6258
|
&::placeholder {
|
|
6253
6259
|
color: var(--text-secondary);
|
|
@@ -6405,304 +6411,868 @@ var TextArea = (0, import_react31.forwardRef)(
|
|
|
6405
6411
|
TextArea.displayName = "TextArea";
|
|
6406
6412
|
var TextArea_default = TextArea;
|
|
6407
6413
|
|
|
6408
|
-
// src/
|
|
6409
|
-
var import_react32 = require("
|
|
6410
|
-
var getRootStyles = (variant) => import_react32.css`
|
|
6411
|
-
display: flex;
|
|
6412
|
-
flex-direction: column;
|
|
6413
|
-
gap: var(--spacing-1);
|
|
6414
|
-
align-items: ${variant === "sent" ? "flex-end" : "flex-start"};
|
|
6415
|
-
`;
|
|
6416
|
-
var getOuterWrapperStyles = (variant) => import_react32.css`
|
|
6417
|
-
display: flex;
|
|
6418
|
-
flex-direction: ${variant === "sent" ? "row-reverse" : "row"};
|
|
6419
|
-
gap: var(--spacing-3);
|
|
6420
|
-
align-items: flex-start;
|
|
6421
|
-
width: 100%;
|
|
6422
|
-
`;
|
|
6423
|
-
var avatarWrapperStyles = import_react32.css`
|
|
6424
|
-
flex-shrink: 0;
|
|
6425
|
-
`;
|
|
6426
|
-
var contentWrapperStyles = import_react32.css`
|
|
6427
|
-
display: flex;
|
|
6428
|
-
flex-direction: column;
|
|
6429
|
-
gap: var(--spacing-1);
|
|
6430
|
-
flex: 1;
|
|
6431
|
-
min-width: 0;
|
|
6432
|
-
`;
|
|
6433
|
-
var getHeaderStyles = (variant) => import_react32.css`
|
|
6434
|
-
display: flex;
|
|
6435
|
-
align-items: center;
|
|
6436
|
-
gap: var(--spacing-2);
|
|
6437
|
-
flex-direction: ${variant === "sent" ? "row-reverse" : "row"};
|
|
6438
|
-
`;
|
|
6439
|
-
var getBubbleStyles = (variant) => import_react32.css`
|
|
6440
|
-
max-width: 100%;
|
|
6441
|
-
width: 100%;
|
|
6442
|
-
box-sizing: border-box;
|
|
6443
|
-
display: flex;
|
|
6444
|
-
flex-direction: column;
|
|
6445
|
-
gap: var(--spacing-2);
|
|
6446
|
-
padding: var(--spacing-4);
|
|
6447
|
-
background-color: ${variant === "sent" ? "var(--color-neutral-900)" : "var(--surface-neutral)"};
|
|
6448
|
-
color: ${variant === "sent" ? "var(--color-base-white)" : "var(--text-primary)"};
|
|
6449
|
-
border: ${variant === "sent" ? "1px solid transparent" : "none"};
|
|
6450
|
-
border-top-left-radius: var(--radius-lg);
|
|
6451
|
-
border-top-right-radius: var(--radius-lg);
|
|
6452
|
-
border-bottom-left-radius: ${variant === "sent" ? "var(--radius-lg)" : "0"};
|
|
6453
|
-
border-bottom-right-radius: ${variant === "sent" ? "0" : "var(--radius-lg)"};
|
|
6454
|
-
`;
|
|
6455
|
-
var getTimestampStyles = (variant) => import_react32.css`
|
|
6456
|
-
text-align: ${variant === "sent" ? "right" : "left"};
|
|
6457
|
-
`;
|
|
6458
|
-
var contentStyles2 = import_react32.css`
|
|
6459
|
-
flex: 1 1 auto;
|
|
6460
|
-
min-width: 1px;
|
|
6461
|
-
min-height: 1px;
|
|
6462
|
-
text-wrap: wrap;
|
|
6463
|
-
word-break: break-word;
|
|
6464
|
-
white-space: pre-wrap;
|
|
6465
|
-
overflow-wrap: break-word;
|
|
6466
|
-
`;
|
|
6467
|
-
|
|
6468
|
-
// src/MessageBubble/MessageBubble.tsx
|
|
6469
|
-
var import_jsx_runtime229 = require("@emotion/react/jsx-runtime");
|
|
6470
|
-
var MessageBubble = ({
|
|
6471
|
-
variant = "sent",
|
|
6472
|
-
timestamp,
|
|
6473
|
-
avatarSrc,
|
|
6474
|
-
author,
|
|
6475
|
-
className,
|
|
6476
|
-
children
|
|
6477
|
-
}) => {
|
|
6478
|
-
const hasAvatar = !!avatarSrc || !!author;
|
|
6479
|
-
const firstName = author == null ? void 0 : author.split(" ")[0];
|
|
6480
|
-
return /* @__PURE__ */ (0, import_jsx_runtime229.jsx)("div", { className, css: getRootStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)("div", { css: getOuterWrapperStyles(variant), children: [
|
|
6481
|
-
hasAvatar && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)("div", { css: avatarWrapperStyles, children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6482
|
-
Avatar_default,
|
|
6483
|
-
{
|
|
6484
|
-
type: avatarSrc ? "image" : "text",
|
|
6485
|
-
src: avatarSrc,
|
|
6486
|
-
text: author,
|
|
6487
|
-
alt: author || "Avatar",
|
|
6488
|
-
size: "md"
|
|
6489
|
-
}
|
|
6490
|
-
) }),
|
|
6491
|
-
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)("div", { css: contentWrapperStyles, children: [
|
|
6492
|
-
firstName && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)("div", { css: getHeaderStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Text_default, { size: "sm", fontWeight: "semibold", color: "var(--text-primary)", children: firstName }) }),
|
|
6493
|
-
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)("div", { css: getBubbleStyles(variant), children: [
|
|
6494
|
-
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)("div", { css: contentStyles2, children }),
|
|
6495
|
-
timestamp && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6496
|
-
Text_default,
|
|
6497
|
-
{
|
|
6498
|
-
size: "xs",
|
|
6499
|
-
color: "var(--text-secondary)",
|
|
6500
|
-
css: getTimestampStyles(variant),
|
|
6501
|
-
children: timestamp
|
|
6502
|
-
}
|
|
6503
|
-
)
|
|
6504
|
-
] })
|
|
6505
|
-
] })
|
|
6506
|
-
] }) });
|
|
6507
|
-
};
|
|
6508
|
-
var MessageBubble_default = MessageBubble;
|
|
6509
|
-
|
|
6510
|
-
// src/TagChip/TagChip.styles.ts
|
|
6511
|
-
var import_react33 = require("@emotion/react");
|
|
6512
|
-
var tagChipVariantStyles = {
|
|
6513
|
-
default: import_react33.css`
|
|
6514
|
-
background-color: var(--surface-page);
|
|
6515
|
-
border: 1px solid var(--border-primary);
|
|
6516
|
-
color: var(--text-primary);
|
|
6517
|
-
`,
|
|
6518
|
-
active: import_react33.css`
|
|
6519
|
-
background-color: var(--text-primary);
|
|
6520
|
-
border: 1px solid var(--border-secondary);
|
|
6521
|
-
color: var(--color-base-white);
|
|
6522
|
-
`,
|
|
6523
|
-
primary: import_react33.css`
|
|
6524
|
-
background-color: var(--surface-disabled);
|
|
6525
|
-
border: 1px solid var(--surface-disabled);
|
|
6526
|
-
color: var(--text-primary);
|
|
6527
|
-
`,
|
|
6528
|
-
error: import_react33.css`
|
|
6529
|
-
background-color: var(--surface-error);
|
|
6530
|
-
border: 1px solid var(--color-red-300);
|
|
6531
|
-
color: var(--text-error);
|
|
6532
|
-
`,
|
|
6533
|
-
success: import_react33.css`
|
|
6534
|
-
background-color: var(--surface-success);
|
|
6535
|
-
border: 1px solid var(--color-green-300);
|
|
6536
|
-
color: var(--text-primary);
|
|
6537
|
-
`,
|
|
6538
|
-
warning: import_react33.css`
|
|
6539
|
-
background-color: var(--surface-subtle);
|
|
6540
|
-
border: 1px solid var(--color-brown-200);
|
|
6541
|
-
color: var(--text-primary);
|
|
6542
|
-
`
|
|
6543
|
-
};
|
|
6544
|
-
|
|
6545
|
-
// src/TagChip/TagChip.tsx
|
|
6546
|
-
var import_jsx_runtime230 = require("@emotion/react/jsx-runtime");
|
|
6547
|
-
var TagChip = ({
|
|
6548
|
-
variant = "primary",
|
|
6549
|
-
className,
|
|
6550
|
-
children,
|
|
6551
|
-
...rest
|
|
6552
|
-
}) => {
|
|
6553
|
-
return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
6554
|
-
Box_default,
|
|
6555
|
-
{
|
|
6556
|
-
display: "inline-flex",
|
|
6557
|
-
alignItems: "center",
|
|
6558
|
-
borderRadius: "var(--spacing-6)",
|
|
6559
|
-
px: "var(--spacing-4)",
|
|
6560
|
-
py: "var(--spacing-3)",
|
|
6561
|
-
css: tagChipVariantStyles[variant],
|
|
6562
|
-
className,
|
|
6563
|
-
...rest,
|
|
6564
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Text_default, { as: "span", size: "sm", fontWeight: "normal", children })
|
|
6565
|
-
}
|
|
6566
|
-
);
|
|
6567
|
-
};
|
|
6568
|
-
var TagChip_default = TagChip;
|
|
6569
|
-
|
|
6570
|
-
// src/Widget/Widget.tsx
|
|
6571
|
-
var import_react35 = require("react");
|
|
6572
|
-
|
|
6573
|
-
// src/Widget/Widget.styles.ts
|
|
6574
|
-
var import_react34 = require("@emotion/react");
|
|
6575
|
-
var panelContainer = import_react34.css`
|
|
6576
|
-
position: absolute;
|
|
6577
|
-
right: 0;
|
|
6578
|
-
bottom: calc(100% + var(--spacing-2));
|
|
6579
|
-
z-index: 1;
|
|
6580
|
-
|
|
6581
|
-
@media (max-width: calc(${screens.lg} - 1px)) {
|
|
6582
|
-
position: fixed;
|
|
6583
|
-
inset: 0;
|
|
6584
|
-
display: flex;
|
|
6585
|
-
align-items: stretch;
|
|
6586
|
-
justify-content: stretch;
|
|
6587
|
-
}
|
|
6588
|
-
`;
|
|
6589
|
-
var panelCard = (width2) => import_react34.css`
|
|
6590
|
-
background: var(--surface-page);
|
|
6591
|
-
color: var(--text-primary);
|
|
6592
|
-
border: 1px solid var(--border-primary);
|
|
6593
|
-
border-radius: var(--radius-lg);
|
|
6594
|
-
padding: var(--spacing-4);
|
|
6595
|
-
box-shadow: 0 0 var(--shadow-blur-lg, 24px) var(--shadow-spread-xs, -4px)
|
|
6596
|
-
rgba(17, 17, 17, 0.1);
|
|
6597
|
-
|
|
6598
|
-
/* Width passed from props (desktop/tablet) */
|
|
6599
|
-
width: ${typeof width2 === "number" ? `${width2}px` : width2};
|
|
6600
|
-
|
|
6601
|
-
/* Scale animation on open */
|
|
6602
|
-
transform-origin: bottom right;
|
|
6603
|
-
animation: widgetScaleIn 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
|
|
6604
|
-
|
|
6605
|
-
@keyframes widgetScaleIn {
|
|
6606
|
-
from {
|
|
6607
|
-
transform: scale(0.7);
|
|
6608
|
-
}
|
|
6609
|
-
to {
|
|
6610
|
-
transform: scale(1);
|
|
6611
|
-
}
|
|
6612
|
-
}
|
|
6613
|
-
|
|
6614
|
-
@media (max-width: calc(${screens.lg} - 1px)) {
|
|
6615
|
-
width: 100vw;
|
|
6616
|
-
height: 100vh;
|
|
6617
|
-
max-height: 100vh;
|
|
6618
|
-
border-radius: 0;
|
|
6619
|
-
padding: var(--spacing-4);
|
|
6620
|
-
overflow: auto;
|
|
6621
|
-
animation: none;
|
|
6622
|
-
}
|
|
6623
|
-
`;
|
|
6624
|
-
var widgetTrigger = import_react34.css`
|
|
6625
|
-
margin: var(--spacing-1);
|
|
6626
|
-
box-shadow: var(--shadow-2xl);
|
|
6627
|
-
`;
|
|
6414
|
+
// src/LottieAnimations/LottieAnimations.tsx
|
|
6415
|
+
var import_react32 = require("react");
|
|
6628
6416
|
|
|
6629
|
-
// src/
|
|
6630
|
-
var
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
};
|
|
6638
|
-
var WidgetTrigger = () => {
|
|
6639
|
-
const { expanded, toggle, triggerRef, icon: icon2, expandedIcon } = useWidgetContext();
|
|
6640
|
-
const currentIcon = expanded ? expandedIcon : icon2;
|
|
6641
|
-
return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(import_jsx_runtime231.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
|
|
6642
|
-
Button_default,
|
|
6643
|
-
{
|
|
6644
|
-
ref: triggerRef,
|
|
6645
|
-
"aria-expanded": expanded,
|
|
6646
|
-
"aria-haspopup": "dialog",
|
|
6647
|
-
onClick: toggle,
|
|
6648
|
-
size: "lg",
|
|
6649
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(Icon_default, { variant: currentIcon, size: "xxlarge" }),
|
|
6650
|
-
css: widgetTrigger
|
|
6651
|
-
}
|
|
6652
|
-
) });
|
|
6653
|
-
};
|
|
6654
|
-
var WidgetPanel = ({ className, style, children }) => {
|
|
6655
|
-
const { expanded, panelWidth } = useWidgetContext();
|
|
6656
|
-
if (!expanded)
|
|
6657
|
-
return null;
|
|
6658
|
-
return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)("div", { css: panelContainer, className, style, children: /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
|
|
6659
|
-
Box_default,
|
|
6417
|
+
// src/LottieAnimations/animations/loading.ts
|
|
6418
|
+
var loadingAnimationData = {
|
|
6419
|
+
nm: "Loading Dots",
|
|
6420
|
+
ddd: 0,
|
|
6421
|
+
h: 1080,
|
|
6422
|
+
w: 1920,
|
|
6423
|
+
meta: { g: "@lottiefiles/toolkit-js 0.26.1" },
|
|
6424
|
+
layers: [
|
|
6660
6425
|
{
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6426
|
+
ty: 4,
|
|
6427
|
+
nm: "Dot4",
|
|
6428
|
+
sr: 1,
|
|
6429
|
+
st: 0,
|
|
6430
|
+
op: 360,
|
|
6431
|
+
ip: 0,
|
|
6432
|
+
hd: false,
|
|
6433
|
+
ddd: 0,
|
|
6434
|
+
bm: 0,
|
|
6435
|
+
hasMask: false,
|
|
6436
|
+
ao: 0,
|
|
6437
|
+
ks: {
|
|
6438
|
+
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
6439
|
+
s: {
|
|
6440
|
+
a: 1,
|
|
6441
|
+
k: [
|
|
6442
|
+
{
|
|
6443
|
+
o: { x: 0.333, y: 0 },
|
|
6444
|
+
i: { x: 0.667, y: 1 },
|
|
6445
|
+
s: [50, 50, 100],
|
|
6446
|
+
t: 25
|
|
6447
|
+
},
|
|
6448
|
+
{
|
|
6449
|
+
o: { x: 0.333, y: 0 },
|
|
6450
|
+
i: { x: 0.667, y: 1 },
|
|
6451
|
+
s: [75, 75, 100],
|
|
6452
|
+
t: 39
|
|
6453
|
+
},
|
|
6454
|
+
{ s: [50, 50, 100], t: 55 }
|
|
6455
|
+
],
|
|
6456
|
+
ix: 6
|
|
6457
|
+
},
|
|
6458
|
+
sk: { a: 0, k: 0 },
|
|
6459
|
+
p: {
|
|
6460
|
+
a: 1,
|
|
6461
|
+
k: [
|
|
6462
|
+
{
|
|
6463
|
+
o: { x: 0.333, y: 0 },
|
|
6464
|
+
i: { x: 0.667, y: 1 },
|
|
6465
|
+
s: [1142, 540, 0],
|
|
6466
|
+
t: 25,
|
|
6467
|
+
ti: [0, 0, 0],
|
|
6468
|
+
to: [0, -6.667, 0]
|
|
6469
|
+
},
|
|
6470
|
+
{
|
|
6471
|
+
o: { x: 0.333, y: 0 },
|
|
6472
|
+
i: { x: 0.667, y: 1 },
|
|
6473
|
+
s: [1142, 500, 0],
|
|
6474
|
+
t: 39,
|
|
6475
|
+
ti: [0, -6.667, 0],
|
|
6476
|
+
to: [0, 0, 0]
|
|
6477
|
+
},
|
|
6478
|
+
{ s: [1142, 540, 0], t: 55 }
|
|
6479
|
+
],
|
|
6480
|
+
ix: 2
|
|
6481
|
+
},
|
|
6482
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
6483
|
+
sa: { a: 0, k: 0 },
|
|
6484
|
+
o: {
|
|
6485
|
+
a: 1,
|
|
6486
|
+
k: [
|
|
6487
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 25 },
|
|
6488
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 39 },
|
|
6489
|
+
{ s: [25], t: 55 }
|
|
6490
|
+
],
|
|
6491
|
+
ix: 11
|
|
6492
|
+
}
|
|
6493
|
+
},
|
|
6494
|
+
ef: [],
|
|
6495
|
+
shapes: [
|
|
6496
|
+
{
|
|
6497
|
+
ty: "gr",
|
|
6498
|
+
bm: 0,
|
|
6499
|
+
hd: false,
|
|
6500
|
+
mn: "ADBE Vector Group",
|
|
6501
|
+
nm: "Ellipse 1",
|
|
6502
|
+
ix: 1,
|
|
6503
|
+
cix: 2,
|
|
6504
|
+
np: 3,
|
|
6505
|
+
it: [
|
|
6506
|
+
{
|
|
6507
|
+
ty: "el",
|
|
6508
|
+
bm: 0,
|
|
6509
|
+
hd: false,
|
|
6510
|
+
mn: "ADBE Vector Shape - Ellipse",
|
|
6511
|
+
nm: "Ellipse Path 1",
|
|
6512
|
+
d: 1,
|
|
6513
|
+
p: { a: 0, k: [0, 0], ix: 3 },
|
|
6514
|
+
s: { a: 0, k: [120, 120], ix: 2 }
|
|
6515
|
+
},
|
|
6516
|
+
{
|
|
6517
|
+
ty: "fl",
|
|
6518
|
+
bm: 0,
|
|
6519
|
+
hd: false,
|
|
6520
|
+
mn: "ADBE Vector Graphic - Fill",
|
|
6521
|
+
nm: "Fill 1",
|
|
6522
|
+
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
6523
|
+
r: 1,
|
|
6524
|
+
o: { a: 0, k: 100, ix: 5 }
|
|
6525
|
+
},
|
|
6526
|
+
{
|
|
6527
|
+
ty: "tr",
|
|
6528
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
6529
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
6530
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
6531
|
+
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
6532
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
6533
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
6534
|
+
o: { a: 0, k: 100, ix: 7 }
|
|
6535
|
+
}
|
|
6536
|
+
]
|
|
6537
|
+
}
|
|
6538
|
+
],
|
|
6539
|
+
ind: 1
|
|
6540
|
+
},
|
|
6541
|
+
{
|
|
6542
|
+
ty: 4,
|
|
6543
|
+
nm: "Dot3",
|
|
6544
|
+
sr: 1,
|
|
6545
|
+
st: 0,
|
|
6546
|
+
op: 360,
|
|
6547
|
+
ip: 0,
|
|
6548
|
+
hd: false,
|
|
6549
|
+
ddd: 0,
|
|
6550
|
+
bm: 0,
|
|
6551
|
+
hasMask: false,
|
|
6552
|
+
ao: 0,
|
|
6553
|
+
ks: {
|
|
6554
|
+
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
6555
|
+
s: {
|
|
6556
|
+
a: 1,
|
|
6557
|
+
k: [
|
|
6558
|
+
{
|
|
6559
|
+
o: { x: 0.333, y: 0 },
|
|
6560
|
+
i: { x: 0.667, y: 1 },
|
|
6561
|
+
s: [50, 50, 100],
|
|
6562
|
+
t: 17
|
|
6563
|
+
},
|
|
6564
|
+
{
|
|
6565
|
+
o: { x: 0.333, y: 0 },
|
|
6566
|
+
i: { x: 0.667, y: 1 },
|
|
6567
|
+
s: [75, 75, 100],
|
|
6568
|
+
t: 31
|
|
6569
|
+
},
|
|
6570
|
+
{ s: [50, 50, 100], t: 47 }
|
|
6571
|
+
],
|
|
6572
|
+
ix: 6
|
|
6573
|
+
},
|
|
6574
|
+
sk: { a: 0, k: 0 },
|
|
6575
|
+
p: {
|
|
6576
|
+
a: 1,
|
|
6577
|
+
k: [
|
|
6578
|
+
{
|
|
6579
|
+
o: { x: 0.333, y: 0 },
|
|
6580
|
+
i: { x: 0.667, y: 1 },
|
|
6581
|
+
s: [1022, 540, 0],
|
|
6582
|
+
t: 17,
|
|
6583
|
+
ti: [0, 0, 0],
|
|
6584
|
+
to: [0, -6.667, 0]
|
|
6585
|
+
},
|
|
6586
|
+
{
|
|
6587
|
+
o: { x: 0.333, y: 0 },
|
|
6588
|
+
i: { x: 0.667, y: 1 },
|
|
6589
|
+
s: [1022, 500, 0],
|
|
6590
|
+
t: 31,
|
|
6591
|
+
ti: [0, -6.667, 0],
|
|
6592
|
+
to: [0, 0, 0]
|
|
6593
|
+
},
|
|
6594
|
+
{ s: [1022, 540, 0], t: 47 }
|
|
6595
|
+
],
|
|
6596
|
+
ix: 2
|
|
6597
|
+
},
|
|
6598
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
6599
|
+
sa: { a: 0, k: 0 },
|
|
6600
|
+
o: {
|
|
6601
|
+
a: 1,
|
|
6602
|
+
k: [
|
|
6603
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 17 },
|
|
6604
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 31 },
|
|
6605
|
+
{ s: [25], t: 47 }
|
|
6606
|
+
],
|
|
6607
|
+
ix: 11
|
|
6608
|
+
}
|
|
6609
|
+
},
|
|
6610
|
+
ef: [],
|
|
6611
|
+
shapes: [
|
|
6612
|
+
{
|
|
6613
|
+
ty: "gr",
|
|
6614
|
+
bm: 0,
|
|
6615
|
+
hd: false,
|
|
6616
|
+
mn: "ADBE Vector Group",
|
|
6617
|
+
nm: "Ellipse 1",
|
|
6618
|
+
ix: 1,
|
|
6619
|
+
cix: 2,
|
|
6620
|
+
np: 3,
|
|
6621
|
+
it: [
|
|
6622
|
+
{
|
|
6623
|
+
ty: "el",
|
|
6624
|
+
bm: 0,
|
|
6625
|
+
hd: false,
|
|
6626
|
+
mn: "ADBE Vector Shape - Ellipse",
|
|
6627
|
+
nm: "Ellipse Path 1",
|
|
6628
|
+
d: 1,
|
|
6629
|
+
p: { a: 0, k: [0, 0], ix: 3 },
|
|
6630
|
+
s: { a: 0, k: [120, 120], ix: 2 }
|
|
6631
|
+
},
|
|
6632
|
+
{
|
|
6633
|
+
ty: "fl",
|
|
6634
|
+
bm: 0,
|
|
6635
|
+
hd: false,
|
|
6636
|
+
mn: "ADBE Vector Graphic - Fill",
|
|
6637
|
+
nm: "Fill 1",
|
|
6638
|
+
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
6639
|
+
r: 1,
|
|
6640
|
+
o: { a: 0, k: 100, ix: 5 }
|
|
6641
|
+
},
|
|
6642
|
+
{
|
|
6643
|
+
ty: "tr",
|
|
6644
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
6645
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
6646
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
6647
|
+
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
6648
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
6649
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
6650
|
+
o: { a: 0, k: 100, ix: 7 }
|
|
6651
|
+
}
|
|
6652
|
+
]
|
|
6653
|
+
}
|
|
6654
|
+
],
|
|
6655
|
+
ind: 2
|
|
6656
|
+
},
|
|
6657
|
+
{
|
|
6658
|
+
ty: 4,
|
|
6659
|
+
nm: "Dot2",
|
|
6660
|
+
sr: 1,
|
|
6661
|
+
st: 0,
|
|
6662
|
+
op: 360,
|
|
6663
|
+
ip: 0,
|
|
6664
|
+
hd: false,
|
|
6665
|
+
ddd: 0,
|
|
6666
|
+
bm: 0,
|
|
6667
|
+
hasMask: false,
|
|
6668
|
+
ao: 0,
|
|
6669
|
+
ks: {
|
|
6670
|
+
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
6671
|
+
s: {
|
|
6672
|
+
a: 1,
|
|
6673
|
+
k: [
|
|
6674
|
+
{
|
|
6675
|
+
o: { x: 0.333, y: 0 },
|
|
6676
|
+
i: { x: 0.667, y: 1 },
|
|
6677
|
+
s: [50, 50, 100],
|
|
6678
|
+
t: 9
|
|
6679
|
+
},
|
|
6680
|
+
{
|
|
6681
|
+
o: { x: 0.333, y: 0 },
|
|
6682
|
+
i: { x: 0.667, y: 1 },
|
|
6683
|
+
s: [75, 75, 100],
|
|
6684
|
+
t: 23
|
|
6685
|
+
},
|
|
6686
|
+
{ s: [50, 50, 100], t: 39 }
|
|
6687
|
+
],
|
|
6688
|
+
ix: 6
|
|
6689
|
+
},
|
|
6690
|
+
sk: { a: 0, k: 0 },
|
|
6691
|
+
p: {
|
|
6692
|
+
a: 1,
|
|
6693
|
+
k: [
|
|
6694
|
+
{
|
|
6695
|
+
o: { x: 0.333, y: 0 },
|
|
6696
|
+
i: { x: 0.667, y: 1 },
|
|
6697
|
+
s: [902, 540, 0],
|
|
6698
|
+
t: 9,
|
|
6699
|
+
ti: [0, 0, 0],
|
|
6700
|
+
to: [0, -6.667, 0]
|
|
6701
|
+
},
|
|
6702
|
+
{
|
|
6703
|
+
o: { x: 0.333, y: 0 },
|
|
6704
|
+
i: { x: 0.667, y: 1 },
|
|
6705
|
+
s: [902, 500, 0],
|
|
6706
|
+
t: 23,
|
|
6707
|
+
ti: [0, 0, 0],
|
|
6708
|
+
to: [0, 0, 0]
|
|
6709
|
+
},
|
|
6710
|
+
{ s: [902, 540, 0], t: 39 }
|
|
6711
|
+
],
|
|
6712
|
+
ix: 2
|
|
6713
|
+
},
|
|
6714
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
6715
|
+
sa: { a: 0, k: 0 },
|
|
6716
|
+
o: {
|
|
6717
|
+
a: 1,
|
|
6718
|
+
k: [
|
|
6719
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 9 },
|
|
6720
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 23 },
|
|
6721
|
+
{ s: [25], t: 39 }
|
|
6722
|
+
],
|
|
6723
|
+
ix: 11
|
|
6724
|
+
}
|
|
6725
|
+
},
|
|
6726
|
+
ef: [],
|
|
6727
|
+
shapes: [
|
|
6728
|
+
{
|
|
6729
|
+
ty: "gr",
|
|
6730
|
+
bm: 0,
|
|
6731
|
+
hd: false,
|
|
6732
|
+
mn: "ADBE Vector Group",
|
|
6733
|
+
nm: "Ellipse 1",
|
|
6734
|
+
ix: 1,
|
|
6735
|
+
cix: 2,
|
|
6736
|
+
np: 3,
|
|
6737
|
+
it: [
|
|
6738
|
+
{
|
|
6739
|
+
ty: "el",
|
|
6740
|
+
bm: 0,
|
|
6741
|
+
hd: false,
|
|
6742
|
+
mn: "ADBE Vector Shape - Ellipse",
|
|
6743
|
+
nm: "Ellipse Path 1",
|
|
6744
|
+
d: 1,
|
|
6745
|
+
p: { a: 0, k: [0, 0], ix: 3 },
|
|
6746
|
+
s: { a: 0, k: [120, 120], ix: 2 }
|
|
6747
|
+
},
|
|
6748
|
+
{
|
|
6749
|
+
ty: "fl",
|
|
6750
|
+
bm: 0,
|
|
6751
|
+
hd: false,
|
|
6752
|
+
mn: "ADBE Vector Graphic - Fill",
|
|
6753
|
+
nm: "Fill 1",
|
|
6754
|
+
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
6755
|
+
r: 1,
|
|
6756
|
+
o: { a: 0, k: 100, ix: 5 }
|
|
6757
|
+
},
|
|
6758
|
+
{
|
|
6759
|
+
ty: "tr",
|
|
6760
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
6761
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
6762
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
6763
|
+
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
6764
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
6765
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
6766
|
+
o: { a: 0, k: 100, ix: 7 }
|
|
6767
|
+
}
|
|
6768
|
+
]
|
|
6769
|
+
}
|
|
6770
|
+
],
|
|
6771
|
+
ind: 3
|
|
6772
|
+
},
|
|
6773
|
+
{
|
|
6774
|
+
ty: 4,
|
|
6775
|
+
nm: "Dot1",
|
|
6776
|
+
sr: 1,
|
|
6777
|
+
st: 0,
|
|
6778
|
+
op: 360,
|
|
6779
|
+
ip: 0,
|
|
6780
|
+
hd: false,
|
|
6781
|
+
ddd: 0,
|
|
6782
|
+
bm: 0,
|
|
6783
|
+
hasMask: false,
|
|
6784
|
+
ao: 0,
|
|
6785
|
+
ks: {
|
|
6786
|
+
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
6787
|
+
s: {
|
|
6788
|
+
a: 1,
|
|
6789
|
+
k: [
|
|
6790
|
+
{
|
|
6791
|
+
o: { x: 0.333, y: 0 },
|
|
6792
|
+
i: { x: 0.667, y: 1 },
|
|
6793
|
+
s: [50, 50, 100],
|
|
6794
|
+
t: 0
|
|
6795
|
+
},
|
|
6796
|
+
{
|
|
6797
|
+
o: { x: 0.333, y: 0 },
|
|
6798
|
+
i: { x: 0.667, y: 1 },
|
|
6799
|
+
s: [75, 75, 100],
|
|
6800
|
+
t: 14
|
|
6801
|
+
},
|
|
6802
|
+
{ s: [50, 50, 100], t: 30 }
|
|
6803
|
+
],
|
|
6804
|
+
ix: 6
|
|
6805
|
+
},
|
|
6806
|
+
sk: { a: 0, k: 0 },
|
|
6807
|
+
p: {
|
|
6808
|
+
a: 1,
|
|
6809
|
+
k: [
|
|
6810
|
+
{
|
|
6811
|
+
o: { x: 0.333, y: 0 },
|
|
6812
|
+
i: { x: 0.667, y: 1 },
|
|
6813
|
+
s: [782, 540, 0],
|
|
6814
|
+
t: 0,
|
|
6815
|
+
ti: [0, 0, 0],
|
|
6816
|
+
to: [0, -6.667, 0]
|
|
6817
|
+
},
|
|
6818
|
+
{
|
|
6819
|
+
o: { x: 0.333, y: 0 },
|
|
6820
|
+
i: { x: 0.667, y: 1 },
|
|
6821
|
+
s: [782, 500, 0],
|
|
6822
|
+
t: 14,
|
|
6823
|
+
ti: [0, -6.667, 0],
|
|
6824
|
+
to: [0, 0, 0]
|
|
6825
|
+
},
|
|
6826
|
+
{ s: [782, 540, 0], t: 30 }
|
|
6827
|
+
],
|
|
6828
|
+
ix: 2
|
|
6829
|
+
},
|
|
6830
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
6831
|
+
sa: { a: 0, k: 0 },
|
|
6832
|
+
o: {
|
|
6833
|
+
a: 1,
|
|
6834
|
+
k: [
|
|
6835
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 0 },
|
|
6836
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 14 },
|
|
6837
|
+
{ s: [25], t: 30 }
|
|
6838
|
+
],
|
|
6839
|
+
ix: 11
|
|
6840
|
+
}
|
|
6841
|
+
},
|
|
6842
|
+
ef: [],
|
|
6843
|
+
shapes: [
|
|
6844
|
+
{
|
|
6845
|
+
ty: "gr",
|
|
6846
|
+
bm: 0,
|
|
6847
|
+
hd: false,
|
|
6848
|
+
mn: "ADBE Vector Group",
|
|
6849
|
+
nm: "Ellipse 1",
|
|
6850
|
+
ix: 1,
|
|
6851
|
+
cix: 2,
|
|
6852
|
+
np: 3,
|
|
6853
|
+
it: [
|
|
6854
|
+
{
|
|
6855
|
+
ty: "el",
|
|
6856
|
+
bm: 0,
|
|
6857
|
+
hd: false,
|
|
6858
|
+
mn: "ADBE Vector Shape - Ellipse",
|
|
6859
|
+
nm: "Ellipse Path 1",
|
|
6860
|
+
d: 1,
|
|
6861
|
+
p: { a: 0, k: [0, 0], ix: 3 },
|
|
6862
|
+
s: { a: 0, k: [120, 120], ix: 2 }
|
|
6863
|
+
},
|
|
6864
|
+
{
|
|
6865
|
+
ty: "fl",
|
|
6866
|
+
bm: 0,
|
|
6867
|
+
hd: false,
|
|
6868
|
+
mn: "ADBE Vector Graphic - Fill",
|
|
6869
|
+
nm: "Fill 1",
|
|
6870
|
+
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
6871
|
+
r: 1,
|
|
6872
|
+
o: { a: 0, k: 100, ix: 5 }
|
|
6873
|
+
},
|
|
6874
|
+
{
|
|
6875
|
+
ty: "tr",
|
|
6876
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
6877
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
6878
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
6879
|
+
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
6880
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
6881
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
6882
|
+
o: { a: 0, k: 100, ix: 7 }
|
|
6883
|
+
}
|
|
6884
|
+
]
|
|
6885
|
+
}
|
|
6886
|
+
],
|
|
6887
|
+
ind: 4
|
|
6888
|
+
}
|
|
6889
|
+
],
|
|
6890
|
+
v: "5.7.11",
|
|
6891
|
+
fr: 60,
|
|
6892
|
+
op: 81,
|
|
6893
|
+
ip: 0,
|
|
6894
|
+
assets: []
|
|
6895
|
+
};
|
|
6896
|
+
|
|
6897
|
+
// src/LottieAnimations/LottieAnimations.tsx
|
|
6898
|
+
var import_jsx_runtime229 = require("@emotion/react/jsx-runtime");
|
|
6899
|
+
var lottieAnimations = {
|
|
6900
|
+
loading: loadingAnimationData
|
|
6901
|
+
};
|
|
6902
|
+
var LottieAnimations = ({
|
|
6903
|
+
animation = "loading",
|
|
6904
|
+
animationData,
|
|
6905
|
+
size,
|
|
6906
|
+
loop = true,
|
|
6907
|
+
autoPlay = true,
|
|
6908
|
+
style,
|
|
6909
|
+
...props
|
|
6910
|
+
}) => {
|
|
6911
|
+
const [LottieComponent, setLottieComponent] = (0, import_react32.useState)(null);
|
|
6912
|
+
(0, import_react32.useEffect)(() => {
|
|
6913
|
+
let isMounted = true;
|
|
6914
|
+
import("lottie-react").then((module2) => {
|
|
6915
|
+
if (isMounted) {
|
|
6916
|
+
setLottieComponent(() => module2.default);
|
|
6917
|
+
}
|
|
6918
|
+
});
|
|
6919
|
+
return () => {
|
|
6920
|
+
isMounted = false;
|
|
6921
|
+
};
|
|
6922
|
+
}, []);
|
|
6923
|
+
const sizeValue = typeof size === "number" ? `${size}px` : size;
|
|
6924
|
+
const mergedStyle = sizeValue !== void 0 ? { width: sizeValue, height: sizeValue, ...style } : style;
|
|
6925
|
+
if (!LottieComponent) {
|
|
6926
|
+
return null;
|
|
6927
|
+
}
|
|
6928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6929
|
+
LottieComponent,
|
|
6930
|
+
{
|
|
6931
|
+
animationData: animationData != null ? animationData : lottieAnimations[animation],
|
|
6932
|
+
loop,
|
|
6933
|
+
autoPlay,
|
|
6934
|
+
rendererSettings: {
|
|
6935
|
+
preserveAspectRatio: "xMidYMid slice"
|
|
6936
|
+
},
|
|
6937
|
+
style: mergedStyle,
|
|
6938
|
+
...props
|
|
6939
|
+
}
|
|
6940
|
+
);
|
|
6941
|
+
};
|
|
6942
|
+
var LottieAnimations_default = LottieAnimations;
|
|
6943
|
+
|
|
6944
|
+
// src/MessageBubble/MessageBubble.styles.ts
|
|
6945
|
+
var import_react33 = require("@emotion/react");
|
|
6946
|
+
var getRootStyles = (variant) => import_react33.css`
|
|
6947
|
+
display: flex;
|
|
6948
|
+
flex-direction: column;
|
|
6949
|
+
gap: var(--spacing-1);
|
|
6950
|
+
align-items: ${variant === "sent" ? "flex-end" : "flex-start"};
|
|
6951
|
+
`;
|
|
6952
|
+
var getOuterWrapperStyles = (variant) => import_react33.css`
|
|
6953
|
+
display: flex;
|
|
6954
|
+
flex-direction: ${variant === "sent" ? "row-reverse" : "row"};
|
|
6955
|
+
gap: var(--spacing-3);
|
|
6956
|
+
align-items: flex-start;
|
|
6957
|
+
width: 100%;
|
|
6958
|
+
`;
|
|
6959
|
+
var avatarWrapperStyles = import_react33.css`
|
|
6960
|
+
flex-shrink: 0;
|
|
6961
|
+
`;
|
|
6962
|
+
var contentWrapperStyles = import_react33.css`
|
|
6963
|
+
display: flex;
|
|
6964
|
+
flex-direction: column;
|
|
6965
|
+
gap: var(--spacing-1);
|
|
6966
|
+
flex: 1;
|
|
6967
|
+
min-width: 0;
|
|
6968
|
+
`;
|
|
6969
|
+
var getHeaderStyles = (variant) => import_react33.css`
|
|
6970
|
+
display: flex;
|
|
6971
|
+
align-items: center;
|
|
6972
|
+
gap: var(--spacing-2);
|
|
6973
|
+
flex-direction: ${variant === "sent" ? "row-reverse" : "row"};
|
|
6974
|
+
`;
|
|
6975
|
+
var getBubbleStyles = (variant) => import_react33.css`
|
|
6976
|
+
max-width: 100%;
|
|
6977
|
+
width: 100%;
|
|
6978
|
+
box-sizing: border-box;
|
|
6979
|
+
display: flex;
|
|
6980
|
+
flex-direction: column;
|
|
6981
|
+
gap: var(--spacing-2);
|
|
6982
|
+
padding: var(--spacing-4);
|
|
6983
|
+
background-color: ${variant === "sent" ? "var(--color-neutral-900)" : "var(--surface-neutral)"};
|
|
6984
|
+
color: ${variant === "sent" ? "var(--color-base-white)" : "var(--text-primary)"};
|
|
6985
|
+
border: ${variant === "sent" ? "1px solid transparent" : "none"};
|
|
6986
|
+
border-top-left-radius: var(--radius-lg);
|
|
6987
|
+
border-top-right-radius: var(--radius-lg);
|
|
6988
|
+
border-bottom-left-radius: ${variant === "sent" ? "var(--radius-lg)" : "0"};
|
|
6989
|
+
border-bottom-right-radius: ${variant === "sent" ? "0" : "var(--radius-lg)"};
|
|
6990
|
+
`;
|
|
6991
|
+
var getTimestampStyles = (variant) => import_react33.css`
|
|
6992
|
+
text-align: ${variant === "sent" ? "right" : "left"};
|
|
6993
|
+
`;
|
|
6994
|
+
var contentStyles2 = import_react33.css`
|
|
6995
|
+
flex: 1 1 auto;
|
|
6996
|
+
min-width: 1px;
|
|
6997
|
+
min-height: 1px;
|
|
6998
|
+
text-wrap: wrap;
|
|
6999
|
+
word-break: break-word;
|
|
7000
|
+
white-space: pre-wrap;
|
|
7001
|
+
overflow-wrap: break-word;
|
|
7002
|
+
`;
|
|
7003
|
+
|
|
7004
|
+
// src/MessageBubble/MessageBubble.tsx
|
|
7005
|
+
var import_jsx_runtime230 = require("@emotion/react/jsx-runtime");
|
|
7006
|
+
var MessageBubble = ({
|
|
7007
|
+
variant = "sent",
|
|
7008
|
+
timestamp,
|
|
7009
|
+
avatarSrc,
|
|
7010
|
+
author,
|
|
7011
|
+
className,
|
|
7012
|
+
children
|
|
7013
|
+
}) => {
|
|
7014
|
+
const hasAvatar = !!avatarSrc || !!author;
|
|
7015
|
+
const firstName = author == null ? void 0 : author.split(" ")[0];
|
|
7016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { className, css: getRootStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { css: getOuterWrapperStyles(variant), children: [
|
|
7017
|
+
hasAvatar && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { css: avatarWrapperStyles, children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
7018
|
+
Avatar_default,
|
|
7019
|
+
{
|
|
7020
|
+
type: avatarSrc ? "image" : "text",
|
|
7021
|
+
src: avatarSrc,
|
|
7022
|
+
text: author,
|
|
7023
|
+
alt: author || "Avatar",
|
|
7024
|
+
size: "md"
|
|
7025
|
+
}
|
|
7026
|
+
) }),
|
|
7027
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { css: contentWrapperStyles, children: [
|
|
7028
|
+
firstName && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { css: getHeaderStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Text_default, { size: "sm", fontWeight: "semibold", color: "var(--text-primary)", children: firstName }) }),
|
|
7029
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { css: getBubbleStyles(variant), children: [
|
|
7030
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { css: contentStyles2, children }),
|
|
7031
|
+
timestamp && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
7032
|
+
Text_default,
|
|
7033
|
+
{
|
|
7034
|
+
size: "xs",
|
|
7035
|
+
color: "var(--text-secondary)",
|
|
7036
|
+
css: getTimestampStyles(variant),
|
|
7037
|
+
children: timestamp
|
|
7038
|
+
}
|
|
7039
|
+
)
|
|
7040
|
+
] })
|
|
7041
|
+
] })
|
|
7042
|
+
] }) });
|
|
7043
|
+
};
|
|
7044
|
+
var MessageBubble_default = MessageBubble;
|
|
7045
|
+
|
|
7046
|
+
// src/TagChip/TagChip.styles.ts
|
|
7047
|
+
var import_react34 = require("@emotion/react");
|
|
7048
|
+
var tagChipVariantStyles = {
|
|
7049
|
+
default: import_react34.css`
|
|
7050
|
+
background-color: var(--surface-page);
|
|
7051
|
+
border: 1px solid var(--border-primary);
|
|
7052
|
+
color: var(--text-primary);
|
|
7053
|
+
`,
|
|
7054
|
+
active: import_react34.css`
|
|
7055
|
+
background-color: var(--text-primary);
|
|
7056
|
+
border: 1px solid var(--border-secondary);
|
|
7057
|
+
color: var(--color-base-white);
|
|
7058
|
+
`,
|
|
7059
|
+
primary: import_react34.css`
|
|
7060
|
+
background-color: var(--surface-disabled);
|
|
7061
|
+
border: 1px solid var(--surface-disabled);
|
|
7062
|
+
color: var(--text-primary);
|
|
7063
|
+
`,
|
|
7064
|
+
error: import_react34.css`
|
|
7065
|
+
background-color: var(--surface-error);
|
|
7066
|
+
border: 1px solid var(--color-red-300);
|
|
7067
|
+
color: var(--text-error);
|
|
7068
|
+
`,
|
|
7069
|
+
success: import_react34.css`
|
|
7070
|
+
background-color: var(--surface-success);
|
|
7071
|
+
border: 1px solid var(--color-green-300);
|
|
7072
|
+
color: var(--text-primary);
|
|
7073
|
+
`,
|
|
7074
|
+
warning: import_react34.css`
|
|
7075
|
+
background-color: var(--surface-subtle);
|
|
7076
|
+
border: 1px solid var(--color-brown-200);
|
|
7077
|
+
color: var(--text-primary);
|
|
7078
|
+
`
|
|
7079
|
+
};
|
|
7080
|
+
|
|
7081
|
+
// src/TagChip/TagChip.tsx
|
|
7082
|
+
var import_jsx_runtime231 = require("@emotion/react/jsx-runtime");
|
|
7083
|
+
var TagChip = ({
|
|
7084
|
+
variant = "primary",
|
|
7085
|
+
className,
|
|
7086
|
+
children,
|
|
7087
|
+
...rest
|
|
7088
|
+
}) => {
|
|
7089
|
+
return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
|
|
7090
|
+
Box_default,
|
|
7091
|
+
{
|
|
7092
|
+
display: "inline-flex",
|
|
7093
|
+
alignItems: "center",
|
|
7094
|
+
borderRadius: "var(--spacing-6)",
|
|
7095
|
+
px: "var(--spacing-4)",
|
|
7096
|
+
py: "var(--spacing-3)",
|
|
7097
|
+
css: tagChipVariantStyles[variant],
|
|
7098
|
+
className,
|
|
7099
|
+
...rest,
|
|
7100
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(Text_default, { as: "span", size: "sm", fontWeight: "normal", children })
|
|
7101
|
+
}
|
|
7102
|
+
);
|
|
7103
|
+
};
|
|
7104
|
+
var TagChip_default = TagChip;
|
|
7105
|
+
|
|
7106
|
+
// src/Widget/Widget.tsx
|
|
7107
|
+
var import_react36 = require("react");
|
|
7108
|
+
|
|
7109
|
+
// src/Widget/Widget.styles.ts
|
|
7110
|
+
var import_react35 = require("@emotion/react");
|
|
7111
|
+
var panelContainer = import_react35.css`
|
|
7112
|
+
position: absolute;
|
|
7113
|
+
right: 0;
|
|
7114
|
+
bottom: calc(100% + var(--spacing-2));
|
|
7115
|
+
z-index: 1;
|
|
7116
|
+
|
|
7117
|
+
@media (max-width: calc(${screens.lg} - 1px)) {
|
|
7118
|
+
position: fixed;
|
|
7119
|
+
inset: 0;
|
|
7120
|
+
display: flex;
|
|
7121
|
+
align-items: stretch;
|
|
7122
|
+
justify-content: stretch;
|
|
7123
|
+
}
|
|
7124
|
+
`;
|
|
7125
|
+
var panelCard = (width2) => import_react35.css`
|
|
7126
|
+
background: var(--surface-page);
|
|
7127
|
+
color: var(--text-primary);
|
|
7128
|
+
border: 1px solid var(--border-primary);
|
|
7129
|
+
border-radius: var(--radius-lg);
|
|
7130
|
+
padding: var(--spacing-4);
|
|
7131
|
+
box-shadow: 0 0 var(--shadow-blur-lg, 24px) var(--shadow-spread-xs, -4px)
|
|
7132
|
+
rgba(17, 17, 17, 0.1);
|
|
7133
|
+
|
|
7134
|
+
/* Width passed from props (desktop/tablet) */
|
|
7135
|
+
width: ${typeof width2 === "number" ? `${width2}px` : width2};
|
|
7136
|
+
|
|
7137
|
+
/* Scale animation on open */
|
|
7138
|
+
transform-origin: bottom right;
|
|
7139
|
+
animation: widgetScaleIn 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
|
|
7140
|
+
|
|
7141
|
+
@keyframes widgetScaleIn {
|
|
7142
|
+
from {
|
|
7143
|
+
transform: scale(0.7);
|
|
7144
|
+
}
|
|
7145
|
+
to {
|
|
7146
|
+
transform: scale(1);
|
|
7147
|
+
}
|
|
7148
|
+
}
|
|
7149
|
+
|
|
7150
|
+
@media (max-width: calc(${screens.lg} - 1px)) {
|
|
7151
|
+
width: 100%;
|
|
7152
|
+
height: 100%;
|
|
7153
|
+
max-height: none;
|
|
7154
|
+
border-radius: 0;
|
|
7155
|
+
padding: var(--spacing-4);
|
|
7156
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
7157
|
+
overflow: auto;
|
|
7158
|
+
animation: none;
|
|
7159
|
+
}
|
|
7160
|
+
`;
|
|
7161
|
+
var widgetTrigger = import_react35.css`
|
|
7162
|
+
margin: var(--spacing-1);
|
|
7163
|
+
box-shadow: var(--shadow-2xl);
|
|
7164
|
+
`;
|
|
7165
|
+
|
|
7166
|
+
// src/Widget/Widget.tsx
|
|
7167
|
+
var import_jsx_runtime232 = require("@emotion/react/jsx-runtime");
|
|
7168
|
+
var WidgetContext = (0, import_react36.createContext)(null);
|
|
7169
|
+
var useWidgetContext = () => {
|
|
7170
|
+
const ctx = (0, import_react36.useContext)(WidgetContext);
|
|
7171
|
+
if (!ctx)
|
|
7172
|
+
throw new Error("Widget subcomponents must be used within <Widget>");
|
|
7173
|
+
return ctx;
|
|
7174
|
+
};
|
|
7175
|
+
var WidgetTrigger = () => {
|
|
7176
|
+
const { expanded, toggle, triggerRef, icon: icon2, expandedIcon } = useWidgetContext();
|
|
7177
|
+
const currentIcon = expanded ? expandedIcon : icon2;
|
|
7178
|
+
return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(import_jsx_runtime232.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
|
|
7179
|
+
Button_default,
|
|
7180
|
+
{
|
|
7181
|
+
ref: triggerRef,
|
|
7182
|
+
"aria-expanded": expanded,
|
|
7183
|
+
"aria-haspopup": "dialog",
|
|
7184
|
+
onClick: toggle,
|
|
7185
|
+
size: "lg",
|
|
7186
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Icon_default, { variant: currentIcon, size: "xxlarge" }),
|
|
7187
|
+
css: widgetTrigger
|
|
7188
|
+
}
|
|
7189
|
+
) });
|
|
7190
|
+
};
|
|
7191
|
+
var WidgetPanel = ({ className, style, children }) => {
|
|
7192
|
+
const { expanded, panelWidth } = useWidgetContext();
|
|
7193
|
+
const panelRef = (0, import_react36.useRef)(null);
|
|
7194
|
+
(0, import_react36.useEffect)(() => {
|
|
7195
|
+
if (!expanded)
|
|
7196
|
+
return;
|
|
7197
|
+
const vv = window.visualViewport;
|
|
7198
|
+
if (!vv)
|
|
7199
|
+
return;
|
|
7200
|
+
const onResize = () => {
|
|
7201
|
+
const el = panelRef.current;
|
|
7202
|
+
if (!el)
|
|
7203
|
+
return;
|
|
7204
|
+
const isMobile = window.matchMedia(
|
|
7205
|
+
`(max-width: calc(${screens.lg} - 1px))`
|
|
7206
|
+
).matches;
|
|
7207
|
+
if (!isMobile) {
|
|
7208
|
+
el.style.height = "";
|
|
7209
|
+
return;
|
|
7210
|
+
}
|
|
7211
|
+
el.style.height = `${vv.height}px`;
|
|
7212
|
+
};
|
|
7213
|
+
vv.addEventListener("resize", onResize);
|
|
7214
|
+
onResize();
|
|
7215
|
+
return () => vv.removeEventListener("resize", onResize);
|
|
7216
|
+
}, [expanded]);
|
|
7217
|
+
if (!expanded)
|
|
7218
|
+
return null;
|
|
7219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
|
|
7220
|
+
"div",
|
|
7221
|
+
{
|
|
7222
|
+
ref: panelRef,
|
|
7223
|
+
css: panelContainer,
|
|
7224
|
+
className,
|
|
7225
|
+
style,
|
|
7226
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
|
|
7227
|
+
Box_default,
|
|
7228
|
+
{
|
|
7229
|
+
css: panelCard(panelWidth),
|
|
7230
|
+
role: "dialog",
|
|
7231
|
+
"aria-modal": true,
|
|
7232
|
+
"aria-hidden": false,
|
|
7233
|
+
children
|
|
7234
|
+
}
|
|
7235
|
+
)
|
|
7236
|
+
}
|
|
7237
|
+
);
|
|
7238
|
+
};
|
|
7239
|
+
var WidgetRoot = ({
|
|
7240
|
+
ariaLabel,
|
|
7241
|
+
icon: icon2 = "Plus",
|
|
7242
|
+
expandedIcon = "Xmark",
|
|
7243
|
+
defaultExpanded = false,
|
|
7244
|
+
expanded,
|
|
7245
|
+
onExpandedChange,
|
|
7246
|
+
panelWidth,
|
|
7247
|
+
className,
|
|
7248
|
+
children,
|
|
7249
|
+
containerProps,
|
|
7250
|
+
closeOnClickOutside = true
|
|
7251
|
+
}) => {
|
|
7252
|
+
const [internalExpanded, setInternalExpanded] = (0, import_react36.useState)(defaultExpanded);
|
|
7253
|
+
const isControlled = typeof expanded === "boolean";
|
|
7254
|
+
const isExpanded = isControlled ? expanded : internalExpanded;
|
|
7255
|
+
const triggerRef = (0, import_react36.useRef)(null);
|
|
7256
|
+
const containerRef = (0, import_react36.useRef)(null);
|
|
7257
|
+
const setExpanded = (0, import_react36.useCallback)(
|
|
7258
|
+
(next) => {
|
|
7259
|
+
if (!isControlled)
|
|
7260
|
+
setInternalExpanded(next);
|
|
7261
|
+
onExpandedChange == null ? void 0 : onExpandedChange(next);
|
|
7262
|
+
if (!next) {
|
|
7263
|
+
setTimeout(() => {
|
|
7264
|
+
var _a;
|
|
7265
|
+
return (_a = triggerRef.current) == null ? void 0 : _a.focus();
|
|
7266
|
+
}, 0);
|
|
6697
7267
|
}
|
|
6698
7268
|
},
|
|
6699
7269
|
[isControlled, onExpandedChange]
|
|
6700
7270
|
);
|
|
6701
|
-
const toggle = (0,
|
|
7271
|
+
const toggle = (0, import_react36.useCallback)(
|
|
6702
7272
|
() => setExpanded(!isExpanded),
|
|
6703
7273
|
[isExpanded, setExpanded]
|
|
6704
7274
|
);
|
|
6705
|
-
(0,
|
|
7275
|
+
(0, import_react36.useEffect)(() => {
|
|
6706
7276
|
if (!isExpanded || !closeOnClickOutside)
|
|
6707
7277
|
return;
|
|
6708
7278
|
const onDocClick = (e) => {
|
|
@@ -6716,7 +7286,7 @@ var WidgetRoot = ({
|
|
|
6716
7286
|
document.addEventListener("mousedown", onDocClick);
|
|
6717
7287
|
return () => document.removeEventListener("mousedown", onDocClick);
|
|
6718
7288
|
}, [isExpanded, setExpanded, closeOnClickOutside]);
|
|
6719
|
-
(0,
|
|
7289
|
+
(0, import_react36.useEffect)(() => {
|
|
6720
7290
|
if (!isExpanded)
|
|
6721
7291
|
return;
|
|
6722
7292
|
const onKey = (e) => {
|
|
@@ -6726,7 +7296,7 @@ var WidgetRoot = ({
|
|
|
6726
7296
|
document.addEventListener("keydown", onKey);
|
|
6727
7297
|
return () => document.removeEventListener("keydown", onKey);
|
|
6728
7298
|
}, [isExpanded, setExpanded]);
|
|
6729
|
-
(0,
|
|
7299
|
+
(0, import_react36.useEffect)(() => {
|
|
6730
7300
|
if (!isExpanded)
|
|
6731
7301
|
return;
|
|
6732
7302
|
const mql = window.matchMedia(`(max-width: calc(${screens.lg} - 1px))`);
|
|
@@ -6744,7 +7314,7 @@ var WidgetRoot = ({
|
|
|
6744
7314
|
document.body.style.overflow = originalOverflow;
|
|
6745
7315
|
};
|
|
6746
7316
|
}, [isExpanded]);
|
|
6747
|
-
const value = (0,
|
|
7317
|
+
const value = (0, import_react36.useMemo)(
|
|
6748
7318
|
() => ({
|
|
6749
7319
|
expanded: isExpanded,
|
|
6750
7320
|
toggle,
|
|
@@ -6755,7 +7325,7 @@ var WidgetRoot = ({
|
|
|
6755
7325
|
}),
|
|
6756
7326
|
[expandedIcon, icon2, isExpanded, panelWidth, toggle]
|
|
6757
7327
|
);
|
|
6758
|
-
return /* @__PURE__ */ (0,
|
|
7328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
|
|
6759
7329
|
Box_default,
|
|
6760
7330
|
{
|
|
6761
7331
|
ref: containerRef,
|
|
@@ -6766,7 +7336,7 @@ var WidgetRoot = ({
|
|
|
6766
7336
|
bottom: "var(--spacing-6)",
|
|
6767
7337
|
zIndex: 100,
|
|
6768
7338
|
...containerProps,
|
|
6769
|
-
children: /* @__PURE__ */ (0,
|
|
7339
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(WidgetContext.Provider, { value, children })
|
|
6770
7340
|
}
|
|
6771
7341
|
);
|
|
6772
7342
|
};
|
|
@@ -6777,8 +7347,8 @@ var Widget = Object.assign(WidgetRoot, {
|
|
|
6777
7347
|
var Widget_default = Widget;
|
|
6778
7348
|
|
|
6779
7349
|
// src/ChatWidget/ChatWidget.styles.ts
|
|
6780
|
-
var
|
|
6781
|
-
var sentWrapperStyles =
|
|
7350
|
+
var import_react37 = require("@emotion/react");
|
|
7351
|
+
var sentWrapperStyles = import_react37.css`
|
|
6782
7352
|
align-self: flex-end;
|
|
6783
7353
|
max-width: 90%;
|
|
6784
7354
|
width: 100%;
|
|
@@ -6786,32 +7356,32 @@ var sentWrapperStyles = import_react36.css`
|
|
|
6786
7356
|
overflow-wrap: anywhere;
|
|
6787
7357
|
padding-top: var(--spacing-4);
|
|
6788
7358
|
`;
|
|
6789
|
-
var receivedWrapperStyles =
|
|
7359
|
+
var receivedWrapperStyles = import_react37.css`
|
|
6790
7360
|
align-self: flex-start;
|
|
6791
7361
|
width: 100%;
|
|
6792
7362
|
min-width: 0;
|
|
6793
7363
|
overflow-wrap: anywhere;
|
|
6794
7364
|
padding-top: var(--spacing-4);
|
|
6795
7365
|
`;
|
|
6796
|
-
var containerStyles2 =
|
|
7366
|
+
var containerStyles2 = import_react37.css`
|
|
6797
7367
|
display: flex;
|
|
6798
7368
|
flex-direction: column;
|
|
6799
7369
|
min-height: 0;
|
|
6800
|
-
height:
|
|
6801
|
-
max-height:
|
|
7370
|
+
height: 100%;
|
|
7371
|
+
max-height: 100%;
|
|
6802
7372
|
|
|
6803
|
-
@media (
|
|
6804
|
-
height:
|
|
6805
|
-
max-height:
|
|
7373
|
+
@media (min-width: ${screens.lg}) {
|
|
7374
|
+
height: 765px;
|
|
7375
|
+
max-height: 80vh;
|
|
6806
7376
|
}
|
|
6807
7377
|
`;
|
|
6808
|
-
var thinkingRowStyles =
|
|
7378
|
+
var thinkingRowStyles = import_react37.css`
|
|
6809
7379
|
display: flex;
|
|
6810
7380
|
align-items: center;
|
|
6811
7381
|
gap: var(--spacing-2);
|
|
6812
7382
|
color: var(--text-primary);
|
|
6813
7383
|
`;
|
|
6814
|
-
var thinkingTextStyles =
|
|
7384
|
+
var thinkingTextStyles = import_react37.css`
|
|
6815
7385
|
animation: ltchat-pulse 1.6s ease-in-out infinite;
|
|
6816
7386
|
|
|
6817
7387
|
@keyframes ltchat-pulse {
|
|
@@ -6824,7 +7394,7 @@ var thinkingTextStyles = import_react36.css`
|
|
|
6824
7394
|
}
|
|
6825
7395
|
}
|
|
6826
7396
|
`;
|
|
6827
|
-
var badge =
|
|
7397
|
+
var badge = import_react37.css`
|
|
6828
7398
|
width: var(--spacing-11);
|
|
6829
7399
|
height: var(--spacing-11);
|
|
6830
7400
|
border-radius: var(--radius-round);
|
|
@@ -6834,12 +7404,12 @@ var badge = import_react36.css`
|
|
|
6834
7404
|
background-color: var(--color-primary-500);
|
|
6835
7405
|
color: var(--color-base-white);
|
|
6836
7406
|
`;
|
|
6837
|
-
var closeButtonContent =
|
|
7407
|
+
var closeButtonContent = import_react37.css`
|
|
6838
7408
|
display: inline-flex;
|
|
6839
7409
|
align-items: center;
|
|
6840
7410
|
gap: var(--spacing-2);
|
|
6841
7411
|
`;
|
|
6842
|
-
var scrollToBottomButtonStyles =
|
|
7412
|
+
var scrollToBottomButtonStyles = import_react37.css`
|
|
6843
7413
|
position: absolute;
|
|
6844
7414
|
bottom: var(--spacing-4);
|
|
6845
7415
|
left: 50%;
|
|
@@ -6856,11 +7426,11 @@ var scrollToBottomButtonStyles = import_react36.css`
|
|
|
6856
7426
|
`;
|
|
6857
7427
|
|
|
6858
7428
|
// src/ChatWidget/components/AskBuckButton.tsx
|
|
6859
|
-
var
|
|
7429
|
+
var import_react39 = __toESM(require("react"));
|
|
6860
7430
|
|
|
6861
7431
|
// src/ChatWidget/components/AskBuckButton.styles.ts
|
|
6862
|
-
var
|
|
6863
|
-
var rotateGradient =
|
|
7432
|
+
var import_react38 = require("@emotion/react");
|
|
7433
|
+
var rotateGradient = import_react38.keyframes`
|
|
6864
7434
|
0% {
|
|
6865
7435
|
--gradient-angle: 0deg;
|
|
6866
7436
|
}
|
|
@@ -6868,7 +7438,7 @@ var rotateGradient = import_react37.keyframes`
|
|
|
6868
7438
|
--gradient-angle: 360deg;
|
|
6869
7439
|
}
|
|
6870
7440
|
`;
|
|
6871
|
-
var triggerWrapperStyles = (isAnimating) =>
|
|
7441
|
+
var triggerWrapperStyles = (isAnimating) => import_react38.css`
|
|
6872
7442
|
position: relative;
|
|
6873
7443
|
display: inline-block;
|
|
6874
7444
|
|
|
@@ -6882,7 +7452,7 @@ var triggerWrapperStyles = (isAnimating) => import_react37.css`
|
|
|
6882
7452
|
box-shadow: 0px 0px var(--shadow-blur-lg, 24px)
|
|
6883
7453
|
var(--shadow-spread-xs, -4px) rgba(17, 17, 17, 0.1);
|
|
6884
7454
|
|
|
6885
|
-
${isAnimating ?
|
|
7455
|
+
${isAnimating ? import_react38.css`
|
|
6886
7456
|
/* Register the custom property */
|
|
6887
7457
|
@property --gradient-angle {
|
|
6888
7458
|
syntax: '<angle>';
|
|
@@ -6900,13 +7470,13 @@ var triggerWrapperStyles = (isAnimating) => import_react37.css`
|
|
|
6900
7470
|
var(--color-primary-600) 100%
|
|
6901
7471
|
);
|
|
6902
7472
|
animation: ${rotateGradient} 3s linear infinite;
|
|
6903
|
-
` :
|
|
7473
|
+
` : import_react38.css`
|
|
6904
7474
|
/* Static border when not animating */
|
|
6905
7475
|
background: var(--color-primary-600);
|
|
6906
7476
|
`}
|
|
6907
7477
|
}
|
|
6908
7478
|
`;
|
|
6909
|
-
var badgeStyles =
|
|
7479
|
+
var badgeStyles = import_react38.css`
|
|
6910
7480
|
display: inline-flex;
|
|
6911
7481
|
align-items: center;
|
|
6912
7482
|
justify-content: center;
|
|
@@ -6921,7 +7491,7 @@ var badgeStyles = import_react37.css`
|
|
|
6921
7491
|
flex-shrink: 0;
|
|
6922
7492
|
margin-right: var(--spacing-1);
|
|
6923
7493
|
`;
|
|
6924
|
-
var buttonOverrideStyles =
|
|
7494
|
+
var buttonOverrideStyles = import_react38.css`
|
|
6925
7495
|
background: var(--surface-page);
|
|
6926
7496
|
border: none;
|
|
6927
7497
|
border-radius: var(--radius-round);
|
|
@@ -6949,23 +7519,23 @@ var buttonOverrideStyles = import_react37.css`
|
|
|
6949
7519
|
`;
|
|
6950
7520
|
|
|
6951
7521
|
// src/ChatWidget/components/AskBuckButton.tsx
|
|
6952
|
-
var
|
|
6953
|
-
var AskBuckButton =
|
|
7522
|
+
var import_jsx_runtime233 = require("@emotion/react/jsx-runtime");
|
|
7523
|
+
var AskBuckButton = import_react39.default.forwardRef(
|
|
6954
7524
|
({ isAnimating = true, children = "Ask Buck", badgeCount }, ref) => {
|
|
6955
7525
|
var _a;
|
|
6956
|
-
const widgetContext = (0,
|
|
7526
|
+
const widgetContext = (0, import_react39.useContext)(WidgetContext);
|
|
6957
7527
|
const isExpanded = (_a = widgetContext == null ? void 0 : widgetContext.expanded) != null ? _a : false;
|
|
6958
7528
|
const showBadge = !isExpanded && badgeCount !== void 0 && badgeCount > 0;
|
|
6959
|
-
return /* @__PURE__ */ (0,
|
|
7529
|
+
return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("div", { css: triggerWrapperStyles(isAnimating), children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
6960
7530
|
Button_default,
|
|
6961
7531
|
{
|
|
6962
7532
|
ref,
|
|
6963
7533
|
"aria-expanded": widgetContext == null ? void 0 : widgetContext.expanded,
|
|
6964
7534
|
"aria-haspopup": "dialog",
|
|
6965
7535
|
onClick: widgetContext == null ? void 0 : widgetContext.toggle,
|
|
6966
|
-
icon: /* @__PURE__ */ (0,
|
|
6967
|
-
showBadge && /* @__PURE__ */ (0,
|
|
6968
|
-
/* @__PURE__ */ (0,
|
|
7536
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(import_jsx_runtime233.Fragment, { children: [
|
|
7537
|
+
showBadge && /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("span", { css: badgeStyles, children: badgeCount }),
|
|
7538
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
6969
7539
|
Icon_default,
|
|
6970
7540
|
{
|
|
6971
7541
|
variant: isExpanded ? "AngleDownSharp" : "ConversationalSearchAi",
|
|
@@ -6983,25 +7553,25 @@ AskBuckButton.displayName = "AskBuckButton";
|
|
|
6983
7553
|
var AskBuckButton_default = AskBuckButton;
|
|
6984
7554
|
|
|
6985
7555
|
// src/ChatWidget/hooks/useChatScrollControl.ts
|
|
6986
|
-
var
|
|
7556
|
+
var import_react40 = require("react");
|
|
6987
7557
|
var useChatScrollControl = ({
|
|
6988
7558
|
messages,
|
|
6989
7559
|
isThinking,
|
|
6990
7560
|
isExpanded,
|
|
6991
7561
|
enableScrollToBottomControl
|
|
6992
7562
|
}) => {
|
|
6993
|
-
const scrollRef = (0,
|
|
6994
|
-
const savedScrollPosition = (0,
|
|
6995
|
-
const previousMessagesLengthRef = (0,
|
|
6996
|
-
const previousIsThinkingRef = (0,
|
|
6997
|
-
const userJustSentMessageRef = (0,
|
|
6998
|
-
const [isAtBottom, setIsAtBottom] = (0,
|
|
6999
|
-
const [showScrollButton, setShowScrollButton] = (0,
|
|
7000
|
-
const isScrolledToBottom = (0,
|
|
7563
|
+
const scrollRef = (0, import_react40.useRef)(null);
|
|
7564
|
+
const savedScrollPosition = (0, import_react40.useRef)(0);
|
|
7565
|
+
const previousMessagesLengthRef = (0, import_react40.useRef)(messages.length);
|
|
7566
|
+
const previousIsThinkingRef = (0, import_react40.useRef)(isThinking);
|
|
7567
|
+
const userJustSentMessageRef = (0, import_react40.useRef)(false);
|
|
7568
|
+
const [isAtBottom, setIsAtBottom] = (0, import_react40.useState)(true);
|
|
7569
|
+
const [showScrollButton, setShowScrollButton] = (0, import_react40.useState)(false);
|
|
7570
|
+
const isScrolledToBottom = (0, import_react40.useCallback)((el) => {
|
|
7001
7571
|
const threshold = 50;
|
|
7002
7572
|
return el.scrollTop + el.clientHeight >= el.scrollHeight - threshold;
|
|
7003
7573
|
}, []);
|
|
7004
|
-
const scrollToBottom = (0,
|
|
7574
|
+
const scrollToBottom = (0, import_react40.useCallback)((behavior = "smooth") => {
|
|
7005
7575
|
const el = scrollRef.current;
|
|
7006
7576
|
if (!el)
|
|
7007
7577
|
return;
|
|
@@ -7010,15 +7580,15 @@ var useChatScrollControl = ({
|
|
|
7010
7580
|
setIsAtBottom(true);
|
|
7011
7581
|
setShowScrollButton(false);
|
|
7012
7582
|
}, []);
|
|
7013
|
-
const saveCurrentScrollPosition = (0,
|
|
7583
|
+
const saveCurrentScrollPosition = (0, import_react40.useCallback)(() => {
|
|
7014
7584
|
if (!scrollRef.current)
|
|
7015
7585
|
return;
|
|
7016
7586
|
savedScrollPosition.current = scrollRef.current.scrollTop;
|
|
7017
7587
|
}, []);
|
|
7018
|
-
const markUserMessageSubmitted = (0,
|
|
7588
|
+
const markUserMessageSubmitted = (0, import_react40.useCallback)(() => {
|
|
7019
7589
|
userJustSentMessageRef.current = true;
|
|
7020
7590
|
}, []);
|
|
7021
|
-
(0,
|
|
7591
|
+
(0, import_react40.useEffect)(() => {
|
|
7022
7592
|
const el = scrollRef.current;
|
|
7023
7593
|
if (!el || !isExpanded)
|
|
7024
7594
|
return;
|
|
@@ -7031,7 +7601,7 @@ var useChatScrollControl = ({
|
|
|
7031
7601
|
setShowScrollButton(enableScrollToBottomControl && !atBottom);
|
|
7032
7602
|
});
|
|
7033
7603
|
}, [isExpanded, isScrolledToBottom, enableScrollToBottomControl]);
|
|
7034
|
-
(0,
|
|
7604
|
+
(0, import_react40.useEffect)(() => {
|
|
7035
7605
|
const el = scrollRef.current;
|
|
7036
7606
|
if (!el || !isExpanded)
|
|
7037
7607
|
return;
|
|
@@ -7045,7 +7615,7 @@ var useChatScrollControl = ({
|
|
|
7045
7615
|
el.addEventListener("scroll", handleScroll);
|
|
7046
7616
|
return () => el.removeEventListener("scroll", handleScroll);
|
|
7047
7617
|
}, [isExpanded, isScrolledToBottom, enableScrollToBottomControl]);
|
|
7048
|
-
(0,
|
|
7618
|
+
(0, import_react40.useEffect)(() => {
|
|
7049
7619
|
const el = scrollRef.current;
|
|
7050
7620
|
if (!el || !isExpanded)
|
|
7051
7621
|
return;
|
|
@@ -7092,9 +7662,9 @@ var useChatScrollControl = ({
|
|
|
7092
7662
|
var useChatScrollControl_default = useChatScrollControl;
|
|
7093
7663
|
|
|
7094
7664
|
// src/ChatWidget/ChatWidget.tsx
|
|
7095
|
-
var
|
|
7665
|
+
var import_jsx_runtime234 = require("@emotion/react/jsx-runtime");
|
|
7096
7666
|
var DEFAULT_EMPTY_STATE = [
|
|
7097
|
-
/* @__PURE__ */ (0,
|
|
7667
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7098
7668
|
AIResponse_default,
|
|
7099
7669
|
{
|
|
7100
7670
|
showDisclaimer: false,
|
|
@@ -7128,9 +7698,9 @@ var ChatWidget = ({
|
|
|
7128
7698
|
closeOnClickOutside = true,
|
|
7129
7699
|
enableScrollToBottomControl = true
|
|
7130
7700
|
}) => {
|
|
7131
|
-
const [value, setValue] = (0,
|
|
7701
|
+
const [value, setValue] = (0, import_react42.useState)("");
|
|
7132
7702
|
const isControlled = typeof expanded === "boolean";
|
|
7133
|
-
const [internalExpanded, setInternalExpanded] = (0,
|
|
7703
|
+
const [internalExpanded, setInternalExpanded] = (0, import_react42.useState)(defaultExpanded);
|
|
7134
7704
|
const isExpanded = isControlled ? expanded : internalExpanded;
|
|
7135
7705
|
const {
|
|
7136
7706
|
scrollRef,
|
|
@@ -7144,7 +7714,7 @@ var ChatWidget = ({
|
|
|
7144
7714
|
isExpanded,
|
|
7145
7715
|
enableScrollToBottomControl
|
|
7146
7716
|
});
|
|
7147
|
-
const setExpanded = (0,
|
|
7717
|
+
const setExpanded = (0, import_react42.useCallback)(
|
|
7148
7718
|
(next) => {
|
|
7149
7719
|
if (!next)
|
|
7150
7720
|
saveCurrentScrollPosition();
|
|
@@ -7155,19 +7725,27 @@ var ChatWidget = ({
|
|
|
7155
7725
|
[isControlled, onExpandedChange, saveCurrentScrollPosition]
|
|
7156
7726
|
);
|
|
7157
7727
|
const messagesToRender = messages.length === 0 ? emptyState : messages;
|
|
7158
|
-
const
|
|
7728
|
+
const shouldRenderSuggestedPrompts = messages.length === 0 && !!(suggestedPrompts == null ? void 0 : suggestedPrompts.length);
|
|
7729
|
+
const firstAIResponseIndex = messagesToRender.findIndex(
|
|
7730
|
+
(element) => element.type === AIResponse_default
|
|
7731
|
+
);
|
|
7732
|
+
const renderedMessages = (0, import_react42.useMemo)(
|
|
7159
7733
|
() => messagesToRender.map((element, index) => {
|
|
7160
|
-
var _a;
|
|
7734
|
+
var _a, _b;
|
|
7161
7735
|
const key = (_a = element.key) != null ? _a : index;
|
|
7162
7736
|
if (element.type === AIResponse_default) {
|
|
7163
|
-
|
|
7737
|
+
const aiElement = element;
|
|
7738
|
+
const shouldShowTitleOnElement = index === firstAIResponseIndex ? (_b = aiElement.props.showTitle) != null ? _b : true : false;
|
|
7739
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { css: receivedWrapperStyles, children: import_react42.default.cloneElement(aiElement, {
|
|
7740
|
+
showTitle: shouldShowTitleOnElement
|
|
7741
|
+
}) }, key);
|
|
7164
7742
|
}
|
|
7165
7743
|
if (element.type === MessageBubble_default) {
|
|
7166
|
-
return /* @__PURE__ */ (0,
|
|
7744
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { css: sentWrapperStyles, children: element }, key);
|
|
7167
7745
|
}
|
|
7168
|
-
return /* @__PURE__ */ (0,
|
|
7746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(import_react42.default.Fragment, { children: element }, key);
|
|
7169
7747
|
}),
|
|
7170
|
-
[messagesToRender]
|
|
7748
|
+
[messagesToRender, firstAIResponseIndex]
|
|
7171
7749
|
);
|
|
7172
7750
|
const handleSubmit = () => {
|
|
7173
7751
|
const trimmed = value.trim();
|
|
@@ -7177,7 +7755,7 @@ var ChatWidget = ({
|
|
|
7177
7755
|
onSubmit(trimmed);
|
|
7178
7756
|
setValue("");
|
|
7179
7757
|
};
|
|
7180
|
-
return /* @__PURE__ */ (0,
|
|
7758
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
7181
7759
|
Widget_default,
|
|
7182
7760
|
{
|
|
7183
7761
|
ariaLabel,
|
|
@@ -7189,10 +7767,10 @@ var ChatWidget = ({
|
|
|
7189
7767
|
containerProps,
|
|
7190
7768
|
closeOnClickOutside,
|
|
7191
7769
|
children: [
|
|
7192
|
-
/* @__PURE__ */ (0,
|
|
7193
|
-
/* @__PURE__ */ (0,
|
|
7194
|
-
/* @__PURE__ */ (0,
|
|
7195
|
-
/* @__PURE__ */ (0,
|
|
7770
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { mt: 2, children: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(AskBuckButton_default, { badgeCount: notificationCount }) }),
|
|
7771
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Widget_default.Panel, { children: /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(Box_default, { css: containerStyles2, children: [
|
|
7772
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(Box_default, { position: "sticky", top: 0, zIndex: 1, children: [
|
|
7773
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
7196
7774
|
Box_default,
|
|
7197
7775
|
{
|
|
7198
7776
|
display: "flex",
|
|
@@ -7200,38 +7778,35 @@ var ChatWidget = ({
|
|
|
7200
7778
|
justifyContent: "space-between",
|
|
7201
7779
|
gap: "var(--spacing-4)",
|
|
7202
7780
|
children: [
|
|
7203
|
-
/* @__PURE__ */ (0,
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
)
|
|
7214
|
-
] }),
|
|
7215
|
-
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
7781
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-4)", children: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7782
|
+
Heading_default,
|
|
7783
|
+
{
|
|
7784
|
+
size: "2xs",
|
|
7785
|
+
fontWeight: "bold",
|
|
7786
|
+
color: "var(--text-primary)",
|
|
7787
|
+
children: title
|
|
7788
|
+
}
|
|
7789
|
+
) }),
|
|
7790
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7216
7791
|
Button_default,
|
|
7217
7792
|
{
|
|
7218
7793
|
variant: "text",
|
|
7219
7794
|
size: "xs",
|
|
7220
7795
|
"aria-label": "Close widget",
|
|
7221
7796
|
onClick: () => setExpanded(false),
|
|
7222
|
-
children: /* @__PURE__ */ (0,
|
|
7223
|
-
/* @__PURE__ */ (0,
|
|
7224
|
-
/* @__PURE__ */ (0,
|
|
7797
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)("span", { css: closeButtonContent, children: [
|
|
7798
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Icon_default, { variant: "Xmark", size: "medium" }),
|
|
7799
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)("span", { children: "Close" })
|
|
7225
7800
|
] })
|
|
7226
7801
|
}
|
|
7227
7802
|
)
|
|
7228
7803
|
]
|
|
7229
7804
|
}
|
|
7230
7805
|
),
|
|
7231
|
-
/* @__PURE__ */ (0,
|
|
7806
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Divider_default, { mt: 4, mb: 0 })
|
|
7232
7807
|
] }),
|
|
7233
|
-
/* @__PURE__ */ (0,
|
|
7234
|
-
/* @__PURE__ */ (0,
|
|
7808
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(Box_default, { position: "relative", flex: "1 1 auto", minHeight: 0, children: [
|
|
7809
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
7235
7810
|
Box_default,
|
|
7236
7811
|
{
|
|
7237
7812
|
ref: scrollRef,
|
|
@@ -7242,23 +7817,45 @@ var ChatWidget = ({
|
|
|
7242
7817
|
display: "flex",
|
|
7243
7818
|
flexDirection: "column",
|
|
7244
7819
|
gap: "var(--spacing-2)",
|
|
7245
|
-
css:
|
|
7820
|
+
css: import_react41.css`
|
|
7246
7821
|
overscroll-behavior: contain;
|
|
7247
7822
|
`,
|
|
7248
7823
|
children: [
|
|
7249
|
-
/* @__PURE__ */ (0,
|
|
7250
|
-
isThinking && /* @__PURE__ */ (0,
|
|
7251
|
-
/* @__PURE__ */ (0,
|
|
7252
|
-
|
|
7824
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: renderedMessages }),
|
|
7825
|
+
isThinking && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { css: receivedWrapperStyles, children: /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)("div", { css: thinkingRowStyles, children: [
|
|
7826
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7827
|
+
"div",
|
|
7828
|
+
{
|
|
7829
|
+
css: import_react41.css`
|
|
7830
|
+
width: 48px;
|
|
7831
|
+
height: 24px;
|
|
7832
|
+
overflow: hidden;
|
|
7833
|
+
display: inline-flex;
|
|
7834
|
+
align-items: center;
|
|
7835
|
+
justify-content: center;
|
|
7836
|
+
`,
|
|
7837
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7838
|
+
LottieAnimations_default,
|
|
7839
|
+
{
|
|
7840
|
+
size: 24,
|
|
7841
|
+
style: {
|
|
7842
|
+
transform: "scale(3.4)",
|
|
7843
|
+
transformOrigin: "center"
|
|
7844
|
+
}
|
|
7845
|
+
}
|
|
7846
|
+
)
|
|
7847
|
+
}
|
|
7848
|
+
),
|
|
7849
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)("span", { css: thinkingTextStyles, children: thinkingText })
|
|
7253
7850
|
] }) }),
|
|
7254
|
-
|
|
7851
|
+
shouldRenderSuggestedPrompts && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { css: receivedWrapperStyles, children: /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
7255
7852
|
Box_default,
|
|
7256
7853
|
{
|
|
7257
7854
|
display: "flex",
|
|
7258
7855
|
flexDirection: "column",
|
|
7259
7856
|
gap: "var(--spacing-4)",
|
|
7260
7857
|
children: [
|
|
7261
|
-
/* @__PURE__ */ (0,
|
|
7858
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7262
7859
|
Text_default,
|
|
7263
7860
|
{
|
|
7264
7861
|
size: "md",
|
|
@@ -7267,14 +7864,14 @@ var ChatWidget = ({
|
|
|
7267
7864
|
children: suggestedPromptsTitle
|
|
7268
7865
|
}
|
|
7269
7866
|
),
|
|
7270
|
-
/* @__PURE__ */ (0,
|
|
7867
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7271
7868
|
Box_default,
|
|
7272
7869
|
{
|
|
7273
7870
|
display: "flex",
|
|
7274
7871
|
flexWrap: "wrap",
|
|
7275
7872
|
gap: "var(--spacing-4)",
|
|
7276
7873
|
alignItems: "flex-start",
|
|
7277
|
-
children: suggestedPrompts.map((prompt, index) => /* @__PURE__ */ (0,
|
|
7874
|
+
children: suggestedPrompts.map((prompt, index) => /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7278
7875
|
TagChip_default,
|
|
7279
7876
|
{
|
|
7280
7877
|
variant: "success",
|
|
@@ -7295,20 +7892,20 @@ var ChatWidget = ({
|
|
|
7295
7892
|
]
|
|
7296
7893
|
}
|
|
7297
7894
|
),
|
|
7298
|
-
enableScrollToBottomControl && /* @__PURE__ */ (0,
|
|
7895
|
+
enableScrollToBottomControl && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7299
7896
|
Box_default,
|
|
7300
7897
|
{
|
|
7301
7898
|
css: scrollToBottomButtonStyles,
|
|
7302
7899
|
className: showScrollButton ? "visible" : void 0,
|
|
7303
|
-
children: /* @__PURE__ */ (0,
|
|
7900
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7304
7901
|
Button_default,
|
|
7305
7902
|
{
|
|
7306
7903
|
variant: "secondary",
|
|
7307
7904
|
size: "xs",
|
|
7308
|
-
icon: /* @__PURE__ */ (0,
|
|
7905
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Icon_default, { variant: "AngleDownSharp" }),
|
|
7309
7906
|
onClick: () => scrollToBottom("smooth"),
|
|
7310
7907
|
"aria-label": "Scroll to bottom",
|
|
7311
|
-
css:
|
|
7908
|
+
css: import_react41.css`
|
|
7312
7909
|
background-color: var(--color-base-white);
|
|
7313
7910
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
7314
7911
|
`
|
|
@@ -7317,7 +7914,7 @@ var ChatWidget = ({
|
|
|
7317
7914
|
}
|
|
7318
7915
|
)
|
|
7319
7916
|
] }),
|
|
7320
|
-
/* @__PURE__ */ (0,
|
|
7917
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { position: "sticky", bottom: 0, zIndex: 1, p: 0, children: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
7321
7918
|
TextArea_default,
|
|
7322
7919
|
{
|
|
7323
7920
|
rows: 3,
|
|
@@ -7340,8 +7937,8 @@ var ChatWidget = ({
|
|
|
7340
7937
|
var ChatWidget_default = ChatWidget;
|
|
7341
7938
|
|
|
7342
7939
|
// src/CtaCard/CtaCard.tsx
|
|
7343
|
-
var
|
|
7344
|
-
var
|
|
7940
|
+
var import_react43 = require("react");
|
|
7941
|
+
var import_jsx_runtime235 = require("@emotion/react/jsx-runtime");
|
|
7345
7942
|
var CtaCard = ({
|
|
7346
7943
|
title,
|
|
7347
7944
|
description,
|
|
@@ -7352,11 +7949,11 @@ var CtaCard = ({
|
|
|
7352
7949
|
onCtaClick,
|
|
7353
7950
|
className
|
|
7354
7951
|
}) => {
|
|
7355
|
-
(0,
|
|
7952
|
+
(0, import_react43.useEffect)(() => {
|
|
7356
7953
|
onDisplay == null ? void 0 : onDisplay();
|
|
7357
7954
|
}, [onDisplay]);
|
|
7358
7955
|
const showButton = ctaUrl || onCtaClick;
|
|
7359
|
-
return /* @__PURE__ */ (0,
|
|
7956
|
+
return /* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
|
|
7360
7957
|
Box_default,
|
|
7361
7958
|
{
|
|
7362
7959
|
display: "flex",
|
|
@@ -7368,7 +7965,7 @@ var CtaCard = ({
|
|
|
7368
7965
|
textAlign: "center",
|
|
7369
7966
|
className,
|
|
7370
7967
|
children: [
|
|
7371
|
-
/* @__PURE__ */ (0,
|
|
7968
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
|
|
7372
7969
|
Box_default,
|
|
7373
7970
|
{
|
|
7374
7971
|
display: "flex",
|
|
@@ -7376,12 +7973,12 @@ var CtaCard = ({
|
|
|
7376
7973
|
gap: "var(--spacing-1)",
|
|
7377
7974
|
alignItems: "center",
|
|
7378
7975
|
children: [
|
|
7379
|
-
/* @__PURE__ */ (0,
|
|
7380
|
-
/* @__PURE__ */ (0,
|
|
7976
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Text_default, { size: "sm", fontWeight: "bold", color: "var(--color-primary-500)", children: title }),
|
|
7977
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Text_default, { size: "xs", fontWeight: "semibold", color: "var(--color-primary-400)", children: description })
|
|
7381
7978
|
]
|
|
7382
7979
|
}
|
|
7383
7980
|
),
|
|
7384
|
-
showButton && /* @__PURE__ */ (0,
|
|
7981
|
+
showButton && /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Box_default, { display: "flex", justifyContent: "center", children: ctaUrl ? /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
|
|
7385
7982
|
Button_default,
|
|
7386
7983
|
{
|
|
7387
7984
|
as: "a",
|
|
@@ -7393,7 +7990,7 @@ var CtaCard = ({
|
|
|
7393
7990
|
rel: ctaOpenInNewTab ? "noopener noreferrer" : void 0,
|
|
7394
7991
|
children: ctaLabel
|
|
7395
7992
|
}
|
|
7396
|
-
) : /* @__PURE__ */ (0,
|
|
7993
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Button_default, { variant: "primary", size: "sm", onClick: onCtaClick, children: ctaLabel }) })
|
|
7397
7994
|
]
|
|
7398
7995
|
}
|
|
7399
7996
|
);
|
|
@@ -7402,9 +7999,9 @@ CtaCard.displayName = "CtaCard";
|
|
|
7402
7999
|
var CtaCard_default = CtaCard;
|
|
7403
8000
|
|
|
7404
8001
|
// src/FeatureList/components/FeatureListItem.tsx
|
|
7405
|
-
var
|
|
8002
|
+
var import_react44 = require("@emotion/react");
|
|
7406
8003
|
var import_react_loading_skeleton = __toESM(require("react-loading-skeleton"));
|
|
7407
|
-
var
|
|
8004
|
+
var import_jsx_runtime236 = require("@emotion/react/jsx-runtime");
|
|
7408
8005
|
var FeatureListItem = ({
|
|
7409
8006
|
iconVariant,
|
|
7410
8007
|
label,
|
|
@@ -7419,8 +8016,8 @@ var FeatureListItem = ({
|
|
|
7419
8016
|
}) => {
|
|
7420
8017
|
const iconDimensions = IconSizeMap[iconSize];
|
|
7421
8018
|
if (isLoading) {
|
|
7422
|
-
return /* @__PURE__ */ (0,
|
|
7423
|
-
/* @__PURE__ */ (0,
|
|
8019
|
+
return /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Box_default, { display: "flex", flexDirection: "column", color: "var(--text-primary)", children: [
|
|
8020
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
|
|
7424
8021
|
Box_default,
|
|
7425
8022
|
{
|
|
7426
8023
|
display: "flex",
|
|
@@ -7430,7 +8027,7 @@ var FeatureListItem = ({
|
|
|
7430
8027
|
className,
|
|
7431
8028
|
...rest,
|
|
7432
8029
|
children: [
|
|
7433
|
-
/* @__PURE__ */ (0,
|
|
8030
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
|
|
7434
8031
|
import_react_loading_skeleton.default,
|
|
7435
8032
|
{
|
|
7436
8033
|
circle: true,
|
|
@@ -7439,24 +8036,24 @@ var FeatureListItem = ({
|
|
|
7439
8036
|
borderRadius: 4
|
|
7440
8037
|
}
|
|
7441
8038
|
),
|
|
7442
|
-
/* @__PURE__ */ (0,
|
|
8039
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(import_react_loading_skeleton.default, { width: 120, height: 16, borderRadius: 4 })
|
|
7443
8040
|
]
|
|
7444
8041
|
}
|
|
7445
8042
|
),
|
|
7446
|
-
subtitle && /* @__PURE__ */ (0,
|
|
7447
|
-
/* @__PURE__ */ (0,
|
|
7448
|
-
/* @__PURE__ */ (0,
|
|
8043
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-3)", children: [
|
|
8044
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Box_default, { minWidth: "var(--spacing-6)", children: "\xA0" }),
|
|
8045
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(import_react_loading_skeleton.default, { width: 150, height: 14, borderRadius: 4 })
|
|
7449
8046
|
] })
|
|
7450
8047
|
] });
|
|
7451
8048
|
}
|
|
7452
|
-
return /* @__PURE__ */ (0,
|
|
7453
|
-
/* @__PURE__ */ (0,
|
|
8049
|
+
return /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Box_default, { display: "flex", flexDirection: "column", color: "var(--text-primary)", children: isInline ? /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-1)", children: /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Text_default, { as: "span", children: [
|
|
8050
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Text_default, { as: "span", fontWeight: "bold", children: [
|
|
7454
8051
|
label,
|
|
7455
8052
|
" "
|
|
7456
8053
|
] }),
|
|
7457
8054
|
subtitle
|
|
7458
|
-
] }) }) : /* @__PURE__ */ (0,
|
|
7459
|
-
/* @__PURE__ */ (0,
|
|
8055
|
+
] }) }) : /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(import_jsx_runtime236.Fragment, { children: [
|
|
8056
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
|
|
7460
8057
|
Box_default,
|
|
7461
8058
|
{
|
|
7462
8059
|
display: "flex",
|
|
@@ -7465,33 +8062,33 @@ var FeatureListItem = ({
|
|
|
7465
8062
|
className,
|
|
7466
8063
|
...rest,
|
|
7467
8064
|
children: [
|
|
7468
|
-
iconVariant && /* @__PURE__ */ (0,
|
|
8065
|
+
iconVariant && /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
|
|
7469
8066
|
Icon_default,
|
|
7470
8067
|
{
|
|
7471
8068
|
variant: iconVariant,
|
|
7472
8069
|
size: iconSize,
|
|
7473
8070
|
fill: iconColor,
|
|
7474
|
-
css:
|
|
8071
|
+
css: import_react44.css`
|
|
7475
8072
|
flex-shrink: 0;
|
|
7476
8073
|
`
|
|
7477
8074
|
}
|
|
7478
8075
|
),
|
|
7479
|
-
/* @__PURE__ */ (0,
|
|
8076
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Text_default, { fontWeight: "semibold", size: labelSize, children: label })
|
|
7480
8077
|
]
|
|
7481
8078
|
}
|
|
7482
8079
|
),
|
|
7483
|
-
subtitle && /* @__PURE__ */ (0,
|
|
7484
|
-
/* @__PURE__ */ (0,
|
|
7485
|
-
/* @__PURE__ */ (0,
|
|
8080
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-3)", children: [
|
|
8081
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Box_default, { minWidth: "var(--spacing-6)", children: "\xA0" }),
|
|
8082
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Text_default, { size: "sm", children: subtitle })
|
|
7486
8083
|
] })
|
|
7487
8084
|
] }) });
|
|
7488
8085
|
};
|
|
7489
8086
|
var FeatureListItem_default = FeatureListItem;
|
|
7490
8087
|
|
|
7491
8088
|
// src/FeatureList/FeatureList.tsx
|
|
7492
|
-
var
|
|
8089
|
+
var import_jsx_runtime237 = require("@emotion/react/jsx-runtime");
|
|
7493
8090
|
var FeatureList = ({ heading, items, className }) => {
|
|
7494
|
-
return /* @__PURE__ */ (0,
|
|
8091
|
+
return /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
|
|
7495
8092
|
Box_default,
|
|
7496
8093
|
{
|
|
7497
8094
|
display: "flex",
|
|
@@ -7499,8 +8096,8 @@ var FeatureList = ({ heading, items, className }) => {
|
|
|
7499
8096
|
gap: "var(--spacing-2)",
|
|
7500
8097
|
className,
|
|
7501
8098
|
children: [
|
|
7502
|
-
heading && /* @__PURE__ */ (0,
|
|
7503
|
-
/* @__PURE__ */ (0,
|
|
8099
|
+
heading && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Text_default, { fontWeight: "bold", children: heading }),
|
|
8100
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(FeatureListItem_default, { ...item }, `${item.iconVariant}-${index}`)) })
|
|
7504
8101
|
]
|
|
7505
8102
|
}
|
|
7506
8103
|
);
|
|
@@ -7508,8 +8105,8 @@ var FeatureList = ({ heading, items, className }) => {
|
|
|
7508
8105
|
var FeatureList_default = FeatureList;
|
|
7509
8106
|
|
|
7510
8107
|
// src/FieldNoteCard/FieldNoteCard.styles.ts
|
|
7511
|
-
var
|
|
7512
|
-
var cardContainerStyles =
|
|
8108
|
+
var import_react45 = require("@emotion/react");
|
|
8109
|
+
var cardContainerStyles = import_react45.css`
|
|
7513
8110
|
position: relative;
|
|
7514
8111
|
height: 335px;
|
|
7515
8112
|
|
|
@@ -7517,12 +8114,12 @@ var cardContainerStyles = import_react44.css`
|
|
|
7517
8114
|
height: 480px;
|
|
7518
8115
|
}
|
|
7519
8116
|
`;
|
|
7520
|
-
var cardContentStyles =
|
|
8117
|
+
var cardContentStyles = import_react45.css`
|
|
7521
8118
|
position: relative;
|
|
7522
8119
|
border-radius: var(--spacing-4);
|
|
7523
8120
|
overflow: hidden;
|
|
7524
8121
|
`;
|
|
7525
|
-
var getBackgroundWithGradient = (imageUrl) =>
|
|
8122
|
+
var getBackgroundWithGradient = (imageUrl) => import_react45.css`
|
|
7526
8123
|
background-image: linear-gradient(
|
|
7527
8124
|
180deg,
|
|
7528
8125
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -7536,7 +8133,7 @@ var getBackgroundWithGradient = (imageUrl) => import_react44.css`
|
|
|
7536
8133
|
`;
|
|
7537
8134
|
|
|
7538
8135
|
// src/FieldNoteCard/FieldNoteCard.tsx
|
|
7539
|
-
var
|
|
8136
|
+
var import_jsx_runtime238 = require("@emotion/react/jsx-runtime");
|
|
7540
8137
|
var FieldNoteCard = ({
|
|
7541
8138
|
backgroundImage,
|
|
7542
8139
|
title,
|
|
@@ -7545,14 +8142,14 @@ var FieldNoteCard = ({
|
|
|
7545
8142
|
className,
|
|
7546
8143
|
...rest
|
|
7547
8144
|
}) => {
|
|
7548
|
-
return /* @__PURE__ */ (0,
|
|
8145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
|
|
7549
8146
|
Box_default,
|
|
7550
8147
|
{
|
|
7551
8148
|
display: "flex",
|
|
7552
8149
|
css: cardContainerStyles,
|
|
7553
8150
|
className,
|
|
7554
8151
|
...rest,
|
|
7555
|
-
children: /* @__PURE__ */ (0,
|
|
8152
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
|
|
7556
8153
|
Box_default,
|
|
7557
8154
|
{
|
|
7558
8155
|
display: "flex",
|
|
@@ -7560,9 +8157,9 @@ var FieldNoteCard = ({
|
|
|
7560
8157
|
justifyContent: "flex-end",
|
|
7561
8158
|
p: 6,
|
|
7562
8159
|
css: [cardContentStyles, getBackgroundWithGradient(backgroundImage)],
|
|
7563
|
-
children: /* @__PURE__ */ (0,
|
|
7564
|
-
/* @__PURE__ */ (0,
|
|
7565
|
-
/* @__PURE__ */ (0,
|
|
8160
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: 6, children: [
|
|
8161
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Heading_default, { size: "sm", color: "white", textAlign: "left", children: title }),
|
|
8162
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Button_default, { variant: "primary", onClick, children: buttonLabel })
|
|
7566
8163
|
] })
|
|
7567
8164
|
}
|
|
7568
8165
|
)
|
|
@@ -7572,14 +8169,14 @@ var FieldNoteCard = ({
|
|
|
7572
8169
|
var FieldNoteCard_default = FieldNoteCard;
|
|
7573
8170
|
|
|
7574
8171
|
// src/Form/FormField.tsx
|
|
7575
|
-
var
|
|
7576
|
-
var
|
|
7577
|
-
var fieldContainerStyles =
|
|
8172
|
+
var import_react46 = require("@emotion/react");
|
|
8173
|
+
var import_jsx_runtime239 = require("@emotion/react/jsx-runtime");
|
|
8174
|
+
var fieldContainerStyles = import_react46.css`
|
|
7578
8175
|
display: flex;
|
|
7579
8176
|
flex-direction: column;
|
|
7580
8177
|
gap: ${space["2"]};
|
|
7581
8178
|
`;
|
|
7582
|
-
var labelStyles2 =
|
|
8179
|
+
var labelStyles2 = import_react46.css`
|
|
7583
8180
|
font-family: ${fonts.base};
|
|
7584
8181
|
font-size: ${fontSizes.sm};
|
|
7585
8182
|
font-weight: ${fontWeights.medium};
|
|
@@ -7587,17 +8184,17 @@ var labelStyles2 = import_react45.css`
|
|
|
7587
8184
|
color: ${colors.gray["900"]};
|
|
7588
8185
|
margin-bottom: ${space["1"]};
|
|
7589
8186
|
`;
|
|
7590
|
-
var requiredIndicatorStyles =
|
|
8187
|
+
var requiredIndicatorStyles = import_react46.css`
|
|
7591
8188
|
color: ${colors.red["500"]};
|
|
7592
8189
|
margin-left: ${space["1"]};
|
|
7593
8190
|
`;
|
|
7594
|
-
var helpTextStyles =
|
|
8191
|
+
var helpTextStyles = import_react46.css`
|
|
7595
8192
|
font-family: ${fonts.base};
|
|
7596
8193
|
font-size: ${fontSizes.sm};
|
|
7597
8194
|
line-height: ${lineHeights.tight};
|
|
7598
8195
|
color: ${colors.gray["600"]};
|
|
7599
8196
|
`;
|
|
7600
|
-
var errorTextStyles =
|
|
8197
|
+
var errorTextStyles = import_react46.css`
|
|
7601
8198
|
font-family: ${fonts.base};
|
|
7602
8199
|
font-size: ${fontSizes.sm};
|
|
7603
8200
|
line-height: ${lineHeights.tight};
|
|
@@ -7606,7 +8203,7 @@ var errorTextStyles = import_react45.css`
|
|
|
7606
8203
|
align-items: center;
|
|
7607
8204
|
gap: ${space["1"]};
|
|
7608
8205
|
`;
|
|
7609
|
-
var successTextStyles =
|
|
8206
|
+
var successTextStyles = import_react46.css`
|
|
7610
8207
|
font-family: ${fonts.base};
|
|
7611
8208
|
font-size: ${fontSizes.sm};
|
|
7612
8209
|
line-height: ${lineHeights.tight};
|
|
@@ -7615,7 +8212,7 @@ var successTextStyles = import_react45.css`
|
|
|
7615
8212
|
align-items: center;
|
|
7616
8213
|
gap: ${space["1"]};
|
|
7617
8214
|
`;
|
|
7618
|
-
var visuallyHiddenStyles =
|
|
8215
|
+
var visuallyHiddenStyles = import_react46.css`
|
|
7619
8216
|
position: absolute;
|
|
7620
8217
|
width: 1px;
|
|
7621
8218
|
height: 1px;
|
|
@@ -7640,21 +8237,21 @@ var FormField = ({
|
|
|
7640
8237
|
const hasError = !!error;
|
|
7641
8238
|
const hasSuccess = !!success && !hasError;
|
|
7642
8239
|
const hasHelpText = !!helpText && !hasError && !hasSuccess;
|
|
7643
|
-
return /* @__PURE__ */ (0,
|
|
7644
|
-
label && /* @__PURE__ */ (0,
|
|
8240
|
+
return /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)("div", { css: fieldContainerStyles, className, children: [
|
|
8241
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(
|
|
7645
8242
|
"label",
|
|
7646
8243
|
{
|
|
7647
8244
|
htmlFor,
|
|
7648
8245
|
css: [labelStyles2, hideLabel && visuallyHiddenStyles],
|
|
7649
8246
|
children: [
|
|
7650
8247
|
label,
|
|
7651
|
-
required && /* @__PURE__ */ (0,
|
|
8248
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)("span", { css: requiredIndicatorStyles, "aria-label": "required", children: "*" })
|
|
7652
8249
|
]
|
|
7653
8250
|
}
|
|
7654
8251
|
),
|
|
7655
8252
|
children,
|
|
7656
|
-
hasError && /* @__PURE__ */ (0,
|
|
7657
|
-
/* @__PURE__ */ (0,
|
|
8253
|
+
hasError && /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)("div", { css: errorTextStyles, role: "alert", children: [
|
|
8254
|
+
/* @__PURE__ */ (0, import_jsx_runtime239.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
|
|
7658
8255
|
"path",
|
|
7659
8256
|
{
|
|
7660
8257
|
fillRule: "evenodd",
|
|
@@ -7664,8 +8261,8 @@ var FormField = ({
|
|
|
7664
8261
|
) }),
|
|
7665
8262
|
error
|
|
7666
8263
|
] }),
|
|
7667
|
-
hasSuccess && /* @__PURE__ */ (0,
|
|
7668
|
-
/* @__PURE__ */ (0,
|
|
8264
|
+
hasSuccess && /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)("div", { css: successTextStyles, children: [
|
|
8265
|
+
/* @__PURE__ */ (0, import_jsx_runtime239.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
|
|
7669
8266
|
"path",
|
|
7670
8267
|
{
|
|
7671
8268
|
fillRule: "evenodd",
|
|
@@ -7675,15 +8272,15 @@ var FormField = ({
|
|
|
7675
8272
|
) }),
|
|
7676
8273
|
success
|
|
7677
8274
|
] }),
|
|
7678
|
-
hasHelpText && /* @__PURE__ */ (0,
|
|
8275
|
+
hasHelpText && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)("div", { css: helpTextStyles, children: helpText })
|
|
7679
8276
|
] });
|
|
7680
8277
|
};
|
|
7681
8278
|
|
|
7682
8279
|
// src/Form/Input.tsx
|
|
7683
|
-
var
|
|
7684
|
-
var
|
|
7685
|
-
var
|
|
7686
|
-
var inputStyles =
|
|
8280
|
+
var import_react47 = require("@emotion/react");
|
|
8281
|
+
var import_react48 = require("react");
|
|
8282
|
+
var import_jsx_runtime240 = require("@emotion/react/jsx-runtime");
|
|
8283
|
+
var inputStyles = import_react47.css`
|
|
7687
8284
|
position: relative;
|
|
7688
8285
|
width: 100%;
|
|
7689
8286
|
font-family: ${fonts.base};
|
|
@@ -7720,19 +8317,19 @@ var inputStyles = import_react46.css`
|
|
|
7720
8317
|
}
|
|
7721
8318
|
`;
|
|
7722
8319
|
var sizeStyles = {
|
|
7723
|
-
sm:
|
|
8320
|
+
sm: import_react47.css`
|
|
7724
8321
|
padding: ${space["2"]} ${space["3"]};
|
|
7725
8322
|
font-size: ${fontSizes.sm};
|
|
7726
8323
|
line-height: ${lineHeights.tight};
|
|
7727
8324
|
height: ${space["8"]};
|
|
7728
8325
|
`,
|
|
7729
|
-
md:
|
|
8326
|
+
md: import_react47.css`
|
|
7730
8327
|
padding: ${space["3"]} ${space["4"]};
|
|
7731
8328
|
font-size: ${fontSizes.base};
|
|
7732
8329
|
line-height: ${lineHeights.normal};
|
|
7733
8330
|
height: ${space["10"]};
|
|
7734
8331
|
`,
|
|
7735
|
-
lg:
|
|
8332
|
+
lg: import_react47.css`
|
|
7736
8333
|
padding: ${space["4"]} ${space["5"]};
|
|
7737
8334
|
font-size: ${fontSizes.lg};
|
|
7738
8335
|
line-height: ${lineHeights.normal};
|
|
@@ -7740,8 +8337,8 @@ var sizeStyles = {
|
|
|
7740
8337
|
`
|
|
7741
8338
|
};
|
|
7742
8339
|
var variantStyles = {
|
|
7743
|
-
default:
|
|
7744
|
-
error:
|
|
8340
|
+
default: import_react47.css``,
|
|
8341
|
+
error: import_react47.css`
|
|
7745
8342
|
border-color: ${colors.red["500"]};
|
|
7746
8343
|
|
|
7747
8344
|
&:focus {
|
|
@@ -7749,7 +8346,7 @@ var variantStyles = {
|
|
|
7749
8346
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
7750
8347
|
}
|
|
7751
8348
|
`,
|
|
7752
|
-
success:
|
|
8349
|
+
success: import_react47.css`
|
|
7753
8350
|
border-color: ${colors.accent.green};
|
|
7754
8351
|
|
|
7755
8352
|
&:focus {
|
|
@@ -7758,7 +8355,7 @@ var variantStyles = {
|
|
|
7758
8355
|
}
|
|
7759
8356
|
`
|
|
7760
8357
|
};
|
|
7761
|
-
var inputWithIconStyles =
|
|
8358
|
+
var inputWithIconStyles = import_react47.css`
|
|
7762
8359
|
padding-left: ${space["10"]};
|
|
7763
8360
|
|
|
7764
8361
|
&.has-end-icon {
|
|
@@ -7769,7 +8366,7 @@ var inputWithIconStyles = import_react46.css`
|
|
|
7769
8366
|
padding-left: ${space["10"]};
|
|
7770
8367
|
}
|
|
7771
8368
|
`;
|
|
7772
|
-
var iconContainerStyles =
|
|
8369
|
+
var iconContainerStyles = import_react47.css`
|
|
7773
8370
|
position: absolute;
|
|
7774
8371
|
top: 50%;
|
|
7775
8372
|
transform: translateY(-50%);
|
|
@@ -7780,20 +8377,20 @@ var iconContainerStyles = import_react46.css`
|
|
|
7780
8377
|
pointer-events: none;
|
|
7781
8378
|
z-index: 1;
|
|
7782
8379
|
`;
|
|
7783
|
-
var startIconStyles =
|
|
8380
|
+
var startIconStyles = import_react47.css`
|
|
7784
8381
|
${iconContainerStyles}
|
|
7785
8382
|
left: ${space["3"]};
|
|
7786
8383
|
`;
|
|
7787
|
-
var endIconStyles =
|
|
8384
|
+
var endIconStyles = import_react47.css`
|
|
7788
8385
|
${iconContainerStyles}
|
|
7789
8386
|
right: ${space["3"]};
|
|
7790
8387
|
`;
|
|
7791
|
-
var inputWrapperStyles =
|
|
8388
|
+
var inputWrapperStyles = import_react47.css`
|
|
7792
8389
|
position: relative;
|
|
7793
8390
|
display: inline-block;
|
|
7794
8391
|
width: 100%;
|
|
7795
8392
|
`;
|
|
7796
|
-
var Input = (0,
|
|
8393
|
+
var Input = (0, import_react48.forwardRef)(
|
|
7797
8394
|
({
|
|
7798
8395
|
size = "md",
|
|
7799
8396
|
variant = "default",
|
|
@@ -7812,9 +8409,9 @@ var Input = (0, import_react47.forwardRef)(
|
|
|
7812
8409
|
hasEndIcon && "has-end-icon",
|
|
7813
8410
|
className
|
|
7814
8411
|
].filter(Boolean).join(" ");
|
|
7815
|
-
return /* @__PURE__ */ (0,
|
|
7816
|
-
hasStartIcon && /* @__PURE__ */ (0,
|
|
7817
|
-
/* @__PURE__ */ (0,
|
|
8412
|
+
return /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)("div", { css: inputWrapperStyles, children: [
|
|
8413
|
+
hasStartIcon && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)("div", { css: startIconStyles, children: startIcon }),
|
|
8414
|
+
/* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
|
|
7818
8415
|
"input",
|
|
7819
8416
|
{
|
|
7820
8417
|
ref,
|
|
@@ -7831,17 +8428,17 @@ var Input = (0, import_react47.forwardRef)(
|
|
|
7831
8428
|
...props
|
|
7832
8429
|
}
|
|
7833
8430
|
),
|
|
7834
|
-
hasEndIcon && /* @__PURE__ */ (0,
|
|
8431
|
+
hasEndIcon && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)("div", { css: endIconStyles, children: endIcon })
|
|
7835
8432
|
] });
|
|
7836
8433
|
}
|
|
7837
8434
|
);
|
|
7838
8435
|
Input.displayName = "Input";
|
|
7839
8436
|
|
|
7840
8437
|
// src/Form/Select.tsx
|
|
7841
|
-
var
|
|
7842
|
-
var
|
|
7843
|
-
var
|
|
7844
|
-
var selectStyles =
|
|
8438
|
+
var import_react49 = require("@emotion/react");
|
|
8439
|
+
var import_react50 = require("react");
|
|
8440
|
+
var import_jsx_runtime241 = require("@emotion/react/jsx-runtime");
|
|
8441
|
+
var selectStyles = import_react49.css`
|
|
7845
8442
|
position: relative;
|
|
7846
8443
|
width: 100%;
|
|
7847
8444
|
font-family: ${fonts.base};
|
|
@@ -7880,19 +8477,19 @@ var selectStyles = import_react48.css`
|
|
|
7880
8477
|
}
|
|
7881
8478
|
`;
|
|
7882
8479
|
var sizeStyles2 = {
|
|
7883
|
-
sm:
|
|
8480
|
+
sm: import_react49.css`
|
|
7884
8481
|
padding: ${space["2"]} ${space["3"]};
|
|
7885
8482
|
font-size: ${fontSizes.sm};
|
|
7886
8483
|
line-height: ${lineHeights.tight};
|
|
7887
8484
|
height: ${space["8"]};
|
|
7888
8485
|
`,
|
|
7889
|
-
md:
|
|
8486
|
+
md: import_react49.css`
|
|
7890
8487
|
padding: ${space["3"]} ${space["4"]};
|
|
7891
8488
|
font-size: ${fontSizes.base};
|
|
7892
8489
|
line-height: ${lineHeights.normal};
|
|
7893
8490
|
height: ${space["10"]};
|
|
7894
8491
|
`,
|
|
7895
|
-
lg:
|
|
8492
|
+
lg: import_react49.css`
|
|
7896
8493
|
padding: ${space["4"]} ${space["5"]};
|
|
7897
8494
|
font-size: ${fontSizes.lg};
|
|
7898
8495
|
line-height: ${lineHeights.normal};
|
|
@@ -7900,8 +8497,8 @@ var sizeStyles2 = {
|
|
|
7900
8497
|
`
|
|
7901
8498
|
};
|
|
7902
8499
|
var variantStyles2 = {
|
|
7903
|
-
default:
|
|
7904
|
-
error:
|
|
8500
|
+
default: import_react49.css``,
|
|
8501
|
+
error: import_react49.css`
|
|
7905
8502
|
border-color: ${colors.red["500"]};
|
|
7906
8503
|
|
|
7907
8504
|
&:focus {
|
|
@@ -7909,7 +8506,7 @@ var variantStyles2 = {
|
|
|
7909
8506
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
7910
8507
|
}
|
|
7911
8508
|
`,
|
|
7912
|
-
success:
|
|
8509
|
+
success: import_react49.css`
|
|
7913
8510
|
border-color: ${colors.accent.green};
|
|
7914
8511
|
|
|
7915
8512
|
&:focus {
|
|
@@ -7918,7 +8515,7 @@ var variantStyles2 = {
|
|
|
7918
8515
|
}
|
|
7919
8516
|
`
|
|
7920
8517
|
};
|
|
7921
|
-
var optionStyles =
|
|
8518
|
+
var optionStyles = import_react49.css`
|
|
7922
8519
|
background-color: ${colors.light["100"]};
|
|
7923
8520
|
color: ${colors.gray["900"]};
|
|
7924
8521
|
|
|
@@ -7927,7 +8524,7 @@ var optionStyles = import_react48.css`
|
|
|
7927
8524
|
background-color: ${colors.gray["100"]};
|
|
7928
8525
|
}
|
|
7929
8526
|
`;
|
|
7930
|
-
var Select = (0,
|
|
8527
|
+
var Select = (0, import_react50.forwardRef)(
|
|
7931
8528
|
({
|
|
7932
8529
|
size = "md",
|
|
7933
8530
|
variant = "default",
|
|
@@ -7937,7 +8534,7 @@ var Select = (0, import_react49.forwardRef)(
|
|
|
7937
8534
|
className = "",
|
|
7938
8535
|
...props
|
|
7939
8536
|
}, ref) => {
|
|
7940
|
-
return /* @__PURE__ */ (0,
|
|
8537
|
+
return /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(
|
|
7941
8538
|
"select",
|
|
7942
8539
|
{
|
|
7943
8540
|
ref,
|
|
@@ -7946,8 +8543,8 @@ var Select = (0, import_react49.forwardRef)(
|
|
|
7946
8543
|
className,
|
|
7947
8544
|
...props,
|
|
7948
8545
|
children: [
|
|
7949
|
-
placeholderOption && /* @__PURE__ */ (0,
|
|
7950
|
-
options.map((option) => /* @__PURE__ */ (0,
|
|
8546
|
+
placeholderOption && /* @__PURE__ */ (0, import_jsx_runtime241.jsx)("option", { value: "", disabled: true, css: optionStyles, children: placeholderOption }),
|
|
8547
|
+
options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
|
|
7951
8548
|
"option",
|
|
7952
8549
|
{
|
|
7953
8550
|
value: option.value,
|
|
@@ -7965,10 +8562,10 @@ var Select = (0, import_react49.forwardRef)(
|
|
|
7965
8562
|
Select.displayName = "Select";
|
|
7966
8563
|
|
|
7967
8564
|
// src/Grid/Column.tsx
|
|
7968
|
-
var
|
|
8565
|
+
var import_react52 = require("@emotion/react");
|
|
7969
8566
|
|
|
7970
8567
|
// src/Grid/utils.ts
|
|
7971
|
-
var
|
|
8568
|
+
var import_react51 = require("@emotion/react");
|
|
7972
8569
|
var LayoutTokens = {
|
|
7973
8570
|
containers: {
|
|
7974
8571
|
sm: screens.sm,
|
|
@@ -8008,11 +8605,11 @@ var getResponsiveValue = (value) => {
|
|
|
8008
8605
|
var generateGridColumns = (columns) => {
|
|
8009
8606
|
const baseColumns = getResponsiveValue(columns);
|
|
8010
8607
|
if (typeof columns === "number") {
|
|
8011
|
-
return
|
|
8608
|
+
return import_react51.css`
|
|
8012
8609
|
grid-template-columns: repeat(${columns}, 1fr);
|
|
8013
8610
|
`;
|
|
8014
8611
|
}
|
|
8015
|
-
return
|
|
8612
|
+
return import_react51.css`
|
|
8016
8613
|
grid-template-columns: repeat(${baseColumns}, 1fr);
|
|
8017
8614
|
|
|
8018
8615
|
${media.sm} {
|
|
@@ -8044,11 +8641,11 @@ var generateGridColumns = (columns) => {
|
|
|
8044
8641
|
var generateGapStyles = (gap2) => {
|
|
8045
8642
|
const baseGap = getResponsiveValue(gap2);
|
|
8046
8643
|
if (typeof gap2 === "string" || typeof gap2 === "number") {
|
|
8047
|
-
return
|
|
8644
|
+
return import_react51.css`
|
|
8048
8645
|
gap: ${space[gap2]};
|
|
8049
8646
|
`;
|
|
8050
8647
|
}
|
|
8051
|
-
return
|
|
8648
|
+
return import_react51.css`
|
|
8052
8649
|
gap: ${space[baseGap]};
|
|
8053
8650
|
|
|
8054
8651
|
${media.sm} {
|
|
@@ -8071,11 +8668,11 @@ var generateGapStyles = (gap2) => {
|
|
|
8071
8668
|
var generateRowGapStyles = (rowGap) => {
|
|
8072
8669
|
const baseRowGap = getResponsiveValue(rowGap);
|
|
8073
8670
|
if (typeof rowGap === "string" || typeof rowGap === "number") {
|
|
8074
|
-
return
|
|
8671
|
+
return import_react51.css`
|
|
8075
8672
|
row-gap: ${space[rowGap]};
|
|
8076
8673
|
`;
|
|
8077
8674
|
}
|
|
8078
|
-
return
|
|
8675
|
+
return import_react51.css`
|
|
8079
8676
|
row-gap: ${space[baseRowGap]};
|
|
8080
8677
|
|
|
8081
8678
|
${media.sm} {
|
|
@@ -8098,11 +8695,11 @@ var generateRowGapStyles = (rowGap) => {
|
|
|
8098
8695
|
var generateColumnGapStyles = (columnGap) => {
|
|
8099
8696
|
const baseColumnGap = getResponsiveValue(columnGap);
|
|
8100
8697
|
if (typeof columnGap === "string" || typeof columnGap === "number") {
|
|
8101
|
-
return
|
|
8698
|
+
return import_react51.css`
|
|
8102
8699
|
column-gap: ${space[columnGap]};
|
|
8103
8700
|
`;
|
|
8104
8701
|
}
|
|
8105
|
-
return
|
|
8702
|
+
return import_react51.css`
|
|
8106
8703
|
column-gap: ${space[baseColumnGap]};
|
|
8107
8704
|
|
|
8108
8705
|
${media.sm} {
|
|
@@ -8125,11 +8722,11 @@ var generateColumnGapStyles = (columnGap) => {
|
|
|
8125
8722
|
var generateColumnSpan = (span) => {
|
|
8126
8723
|
const baseSpan = getResponsiveValue(span);
|
|
8127
8724
|
if (typeof span === "string" || typeof span === "number") {
|
|
8128
|
-
return
|
|
8725
|
+
return import_react51.css`
|
|
8129
8726
|
grid-column: ${span === "auto" ? "auto" : `span ${span}`};
|
|
8130
8727
|
`;
|
|
8131
8728
|
}
|
|
8132
|
-
return
|
|
8729
|
+
return import_react51.css`
|
|
8133
8730
|
grid-column: ${baseSpan === "auto" ? "auto" : `span ${baseSpan}`};
|
|
8134
8731
|
|
|
8135
8732
|
${media.sm} {
|
|
@@ -8152,11 +8749,11 @@ var generateColumnSpan = (span) => {
|
|
|
8152
8749
|
var generateAlignItems = (alignItems) => {
|
|
8153
8750
|
const baseAlign = getResponsiveValue(alignItems);
|
|
8154
8751
|
if (typeof alignItems === "string") {
|
|
8155
|
-
return
|
|
8752
|
+
return import_react51.css`
|
|
8156
8753
|
align-items: ${alignItems};
|
|
8157
8754
|
`;
|
|
8158
8755
|
}
|
|
8159
|
-
return
|
|
8756
|
+
return import_react51.css`
|
|
8160
8757
|
align-items: ${baseAlign};
|
|
8161
8758
|
|
|
8162
8759
|
${media.sm} {
|
|
@@ -8179,11 +8776,11 @@ var generateAlignItems = (alignItems) => {
|
|
|
8179
8776
|
var generateJustifyItems = (justifyItems) => {
|
|
8180
8777
|
const baseJustify = getResponsiveValue(justifyItems);
|
|
8181
8778
|
if (typeof justifyItems === "string") {
|
|
8182
|
-
return
|
|
8779
|
+
return import_react51.css`
|
|
8183
8780
|
justify-items: ${justifyItems};
|
|
8184
8781
|
`;
|
|
8185
8782
|
}
|
|
8186
|
-
return
|
|
8783
|
+
return import_react51.css`
|
|
8187
8784
|
justify-items: ${baseJustify};
|
|
8188
8785
|
|
|
8189
8786
|
${media.sm} {
|
|
@@ -8205,7 +8802,7 @@ var generateJustifyItems = (justifyItems) => {
|
|
|
8205
8802
|
};
|
|
8206
8803
|
|
|
8207
8804
|
// src/Grid/Column.tsx
|
|
8208
|
-
var
|
|
8805
|
+
var import_jsx_runtime242 = require("@emotion/react/jsx-runtime");
|
|
8209
8806
|
var Column = ({
|
|
8210
8807
|
span,
|
|
8211
8808
|
start,
|
|
@@ -8218,30 +8815,30 @@ var Column = ({
|
|
|
8218
8815
|
}) => {
|
|
8219
8816
|
const columnStyles = [
|
|
8220
8817
|
span && generateColumnSpan(span),
|
|
8221
|
-
start &&
|
|
8818
|
+
start && import_react52.css`
|
|
8222
8819
|
grid-column-start: ${start};
|
|
8223
8820
|
`,
|
|
8224
|
-
end &&
|
|
8821
|
+
end && import_react52.css`
|
|
8225
8822
|
grid-column-end: ${end};
|
|
8226
8823
|
`,
|
|
8227
|
-
row &&
|
|
8824
|
+
row && import_react52.css`
|
|
8228
8825
|
grid-row: ${row};
|
|
8229
8826
|
`,
|
|
8230
|
-
rowSpan &&
|
|
8827
|
+
rowSpan && import_react52.css`
|
|
8231
8828
|
grid-row: span ${rowSpan};
|
|
8232
8829
|
`,
|
|
8233
|
-
area &&
|
|
8830
|
+
area && import_react52.css`
|
|
8234
8831
|
grid-area: ${area};
|
|
8235
8832
|
`
|
|
8236
8833
|
].filter(Boolean);
|
|
8237
|
-
return /* @__PURE__ */ (0,
|
|
8834
|
+
return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Box_default, { css: columnStyles, ...props, children });
|
|
8238
8835
|
};
|
|
8239
8836
|
var Column_default = Column;
|
|
8240
8837
|
|
|
8241
8838
|
// src/Grid/Grid.tsx
|
|
8242
|
-
var
|
|
8243
|
-
var
|
|
8244
|
-
var baseGridStyles =
|
|
8839
|
+
var import_react53 = require("@emotion/react");
|
|
8840
|
+
var import_jsx_runtime243 = require("@emotion/react/jsx-runtime");
|
|
8841
|
+
var baseGridStyles = import_react53.css`
|
|
8245
8842
|
display: grid;
|
|
8246
8843
|
`;
|
|
8247
8844
|
var Grid = ({
|
|
@@ -8266,27 +8863,27 @@ var Grid = ({
|
|
|
8266
8863
|
columnGap && generateColumnGapStyles(columnGap),
|
|
8267
8864
|
alignItems && generateAlignItems(alignItems),
|
|
8268
8865
|
justifyItems && generateJustifyItems(justifyItems),
|
|
8269
|
-
autoRows &&
|
|
8866
|
+
autoRows && import_react53.css`
|
|
8270
8867
|
grid-auto-rows: ${autoRows};
|
|
8271
8868
|
`,
|
|
8272
|
-
autoColumns &&
|
|
8869
|
+
autoColumns && import_react53.css`
|
|
8273
8870
|
grid-auto-columns: ${autoColumns};
|
|
8274
8871
|
`,
|
|
8275
|
-
templateAreas &&
|
|
8872
|
+
templateAreas && import_react53.css`
|
|
8276
8873
|
grid-template-areas: ${typeof templateAreas === "string" ? templateAreas : templateAreas._};
|
|
8277
8874
|
`,
|
|
8278
|
-
justifyContent &&
|
|
8875
|
+
justifyContent && import_react53.css`
|
|
8279
8876
|
justify-content: ${typeof justifyContent === "string" ? justifyContent : justifyContent._};
|
|
8280
8877
|
`
|
|
8281
8878
|
].filter(Boolean);
|
|
8282
|
-
return /* @__PURE__ */ (0,
|
|
8879
|
+
return /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(Box_default, { css: gridStyles, ...props, children });
|
|
8283
8880
|
};
|
|
8284
8881
|
var Grid_default = Grid;
|
|
8285
8882
|
|
|
8286
8883
|
// src/Grid/GridContainer.tsx
|
|
8287
|
-
var
|
|
8288
|
-
var
|
|
8289
|
-
var baseContainerStyles =
|
|
8884
|
+
var import_react54 = require("@emotion/react");
|
|
8885
|
+
var import_jsx_runtime244 = require("@emotion/react/jsx-runtime");
|
|
8886
|
+
var baseContainerStyles = import_react54.css`
|
|
8290
8887
|
width: 100%;
|
|
8291
8888
|
margin: 0 auto;
|
|
8292
8889
|
padding-left: 1rem;
|
|
@@ -8294,14 +8891,14 @@ var baseContainerStyles = import_react53.css`
|
|
|
8294
8891
|
`;
|
|
8295
8892
|
var generateMaxWidthStyles = (maxWidth) => {
|
|
8296
8893
|
if (maxWidth === "full") {
|
|
8297
|
-
return
|
|
8894
|
+
return import_react54.css`
|
|
8298
8895
|
max-width: 100%;
|
|
8299
8896
|
padding-left: 0;
|
|
8300
8897
|
padding-right: 0;
|
|
8301
8898
|
`;
|
|
8302
8899
|
}
|
|
8303
8900
|
const width2 = LayoutTokens.containers[maxWidth] || maxWidth;
|
|
8304
|
-
return
|
|
8901
|
+
return import_react54.css`
|
|
8305
8902
|
max-width: ${width2};
|
|
8306
8903
|
|
|
8307
8904
|
${media.sm} {
|
|
@@ -8330,13 +8927,13 @@ var GridContainer = ({
|
|
|
8330
8927
|
baseContainerStyles,
|
|
8331
8928
|
generateMaxWidthStyles(maxWidth)
|
|
8332
8929
|
];
|
|
8333
|
-
return /* @__PURE__ */ (0,
|
|
8930
|
+
return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(Box_default, { css: containerStyles6, className, ...props, children });
|
|
8334
8931
|
};
|
|
8335
8932
|
var GridContainer_default = GridContainer;
|
|
8336
8933
|
|
|
8337
8934
|
// src/HuntCard/HuntCard.styles.ts
|
|
8338
|
-
var
|
|
8339
|
-
var cardContainerStyles2 =
|
|
8935
|
+
var import_react55 = require("@emotion/react");
|
|
8936
|
+
var cardContainerStyles2 = import_react55.css`
|
|
8340
8937
|
position: relative;
|
|
8341
8938
|
height: 335px;
|
|
8342
8939
|
|
|
@@ -8344,12 +8941,12 @@ var cardContainerStyles2 = import_react54.css`
|
|
|
8344
8941
|
height: 480px;
|
|
8345
8942
|
}
|
|
8346
8943
|
`;
|
|
8347
|
-
var cardContentStyles2 =
|
|
8944
|
+
var cardContentStyles2 = import_react55.css`
|
|
8348
8945
|
position: relative;
|
|
8349
8946
|
border-radius: var(--spacing-4);
|
|
8350
8947
|
overflow: hidden;
|
|
8351
8948
|
`;
|
|
8352
|
-
var getBackgroundWithGradient2 = (imageUrl) =>
|
|
8949
|
+
var getBackgroundWithGradient2 = (imageUrl) => import_react55.css`
|
|
8353
8950
|
background-image: linear-gradient(
|
|
8354
8951
|
180deg,
|
|
8355
8952
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -8363,7 +8960,7 @@ var getBackgroundWithGradient2 = (imageUrl) => import_react54.css`
|
|
|
8363
8960
|
`;
|
|
8364
8961
|
|
|
8365
8962
|
// src/HuntCard/HuntCard.tsx
|
|
8366
|
-
var
|
|
8963
|
+
var import_jsx_runtime245 = require("@emotion/react/jsx-runtime");
|
|
8367
8964
|
var HuntCard = ({
|
|
8368
8965
|
backgroundImage,
|
|
8369
8966
|
title,
|
|
@@ -8372,14 +8969,14 @@ var HuntCard = ({
|
|
|
8372
8969
|
className,
|
|
8373
8970
|
...rest
|
|
8374
8971
|
}) => {
|
|
8375
|
-
return /* @__PURE__ */ (0,
|
|
8972
|
+
return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
|
|
8376
8973
|
Box_default,
|
|
8377
8974
|
{
|
|
8378
8975
|
display: "flex",
|
|
8379
8976
|
css: cardContainerStyles2,
|
|
8380
8977
|
className,
|
|
8381
8978
|
...rest,
|
|
8382
|
-
children: /* @__PURE__ */ (0,
|
|
8979
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
|
|
8383
8980
|
Box_default,
|
|
8384
8981
|
{
|
|
8385
8982
|
display: "flex",
|
|
@@ -8387,9 +8984,9 @@ var HuntCard = ({
|
|
|
8387
8984
|
justifyContent: "flex-end",
|
|
8388
8985
|
p: 6,
|
|
8389
8986
|
css: [cardContentStyles2, getBackgroundWithGradient2(backgroundImage)],
|
|
8390
|
-
children: /* @__PURE__ */ (0,
|
|
8391
|
-
/* @__PURE__ */ (0,
|
|
8392
|
-
/* @__PURE__ */ (0,
|
|
8987
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: 6, children: [
|
|
8988
|
+
/* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Heading_default, { size: "sm", color: "white", textAlign: "left", children: title }),
|
|
8989
|
+
/* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Button_default, { variant: "primary", onClick, children: buttonLabel })
|
|
8393
8990
|
] })
|
|
8394
8991
|
}
|
|
8395
8992
|
)
|
|
@@ -8399,15 +8996,15 @@ var HuntCard = ({
|
|
|
8399
8996
|
var HuntCard_default = HuntCard;
|
|
8400
8997
|
|
|
8401
8998
|
// src/ImageGalleryModal/ImageGalleryModal.tsx
|
|
8402
|
-
var
|
|
8999
|
+
var import_react59 = require("react");
|
|
8403
9000
|
|
|
8404
9001
|
// src/Modal/Modal.tsx
|
|
8405
|
-
var
|
|
9002
|
+
var import_react57 = require("react");
|
|
8406
9003
|
var import_react_dom4 = __toESM(require("react-dom"));
|
|
8407
9004
|
|
|
8408
9005
|
// src/Modal/Modal.styles.ts
|
|
8409
|
-
var
|
|
8410
|
-
var fadeIn2 =
|
|
9006
|
+
var import_react56 = require("@emotion/react");
|
|
9007
|
+
var fadeIn2 = import_react56.keyframes`
|
|
8411
9008
|
from {
|
|
8412
9009
|
opacity: 0;
|
|
8413
9010
|
}
|
|
@@ -8415,7 +9012,7 @@ var fadeIn2 = import_react55.keyframes`
|
|
|
8415
9012
|
opacity: 1;
|
|
8416
9013
|
}
|
|
8417
9014
|
`;
|
|
8418
|
-
var fadeInScale2 =
|
|
9015
|
+
var fadeInScale2 = import_react56.keyframes`
|
|
8419
9016
|
from {
|
|
8420
9017
|
opacity: 0;
|
|
8421
9018
|
transform: scale(0.95);
|
|
@@ -8425,7 +9022,7 @@ var fadeInScale2 = import_react55.keyframes`
|
|
|
8425
9022
|
transform: scale(1);
|
|
8426
9023
|
}
|
|
8427
9024
|
`;
|
|
8428
|
-
var scrollLayerStyles =
|
|
9025
|
+
var scrollLayerStyles = import_react56.css`
|
|
8429
9026
|
background-color: rgba(0, 0, 0, 0.6);
|
|
8430
9027
|
backdrop-filter: blur(4px);
|
|
8431
9028
|
animation: ${fadeIn2} 0.15s ease-out forwards;
|
|
@@ -8434,7 +9031,7 @@ var scrollLayerStyles = import_react55.css`
|
|
|
8434
9031
|
animation: none;
|
|
8435
9032
|
}
|
|
8436
9033
|
`;
|
|
8437
|
-
var containerStyles3 =
|
|
9034
|
+
var containerStyles3 = import_react56.css`
|
|
8438
9035
|
background-color: var(--surface-primary, #ffffff);
|
|
8439
9036
|
border-radius: var(--radius-lg, 12px);
|
|
8440
9037
|
max-height: calc(100dvh - var(--spacing-8));
|
|
@@ -8446,17 +9043,17 @@ var containerStyles3 = import_react55.css`
|
|
|
8446
9043
|
}
|
|
8447
9044
|
`;
|
|
8448
9045
|
var sizeStyles3 = {
|
|
8449
|
-
sm:
|
|
9046
|
+
sm: import_react56.css`
|
|
8450
9047
|
width: 100%;
|
|
8451
9048
|
max-width: 24rem; /* 384px */
|
|
8452
9049
|
padding: var(--spacing-5);
|
|
8453
9050
|
`,
|
|
8454
|
-
md:
|
|
9051
|
+
md: import_react56.css`
|
|
8455
9052
|
width: 100%;
|
|
8456
9053
|
max-width: 32rem; /* 512px */
|
|
8457
9054
|
padding: var(--spacing-6);
|
|
8458
9055
|
`,
|
|
8459
|
-
lg:
|
|
9056
|
+
lg: import_react56.css`
|
|
8460
9057
|
width: 100%;
|
|
8461
9058
|
max-width: 48rem; /* 768px */
|
|
8462
9059
|
padding: var(--spacing-6);
|
|
@@ -8465,7 +9062,7 @@ var sizeStyles3 = {
|
|
|
8465
9062
|
padding: var(--spacing-8);
|
|
8466
9063
|
}
|
|
8467
9064
|
`,
|
|
8468
|
-
xl:
|
|
9065
|
+
xl: import_react56.css`
|
|
8469
9066
|
width: 100%;
|
|
8470
9067
|
max-width: 64rem; /* 1024px */
|
|
8471
9068
|
padding: var(--spacing-6);
|
|
@@ -8474,7 +9071,7 @@ var sizeStyles3 = {
|
|
|
8474
9071
|
padding: var(--spacing-8);
|
|
8475
9072
|
}
|
|
8476
9073
|
`,
|
|
8477
|
-
full:
|
|
9074
|
+
full: import_react56.css`
|
|
8478
9075
|
width: calc(100vw - var(--spacing-8));
|
|
8479
9076
|
height: calc(100dvh - var(--spacing-8));
|
|
8480
9077
|
max-width: none;
|
|
@@ -8483,13 +9080,13 @@ var sizeStyles3 = {
|
|
|
8483
9080
|
border-radius: var(--radius-md, 8px);
|
|
8484
9081
|
`
|
|
8485
9082
|
};
|
|
8486
|
-
var closeButtonStyles2 =
|
|
9083
|
+
var closeButtonStyles2 = import_react56.css`
|
|
8487
9084
|
position: absolute;
|
|
8488
9085
|
top: var(--spacing-4);
|
|
8489
9086
|
right: var(--spacing-4);
|
|
8490
9087
|
z-index: 1;
|
|
8491
9088
|
`;
|
|
8492
|
-
var closeButtonFullStyles =
|
|
9089
|
+
var closeButtonFullStyles = import_react56.css`
|
|
8493
9090
|
top: var(--spacing-3);
|
|
8494
9091
|
right: var(--spacing-3);
|
|
8495
9092
|
background-color: rgba(255, 255, 255, 0.9);
|
|
@@ -8502,7 +9099,7 @@ var closeButtonFullStyles = import_react55.css`
|
|
|
8502
9099
|
`;
|
|
8503
9100
|
|
|
8504
9101
|
// src/Modal/Modal.tsx
|
|
8505
|
-
var
|
|
9102
|
+
var import_jsx_runtime246 = require("@emotion/react/jsx-runtime");
|
|
8506
9103
|
var Modal = ({
|
|
8507
9104
|
id,
|
|
8508
9105
|
isOpen,
|
|
@@ -8521,10 +9118,10 @@ var Modal = ({
|
|
|
8521
9118
|
ariaLabel,
|
|
8522
9119
|
ariaDescribedBy
|
|
8523
9120
|
}) => {
|
|
8524
|
-
const containerRef = (0,
|
|
8525
|
-
const previousScrollY = (0,
|
|
8526
|
-
const previousActiveElement = (0,
|
|
8527
|
-
const handleKeyDown = (0,
|
|
9121
|
+
const containerRef = (0, import_react57.useRef)(null);
|
|
9122
|
+
const previousScrollY = (0, import_react57.useRef)(0);
|
|
9123
|
+
const previousActiveElement = (0, import_react57.useRef)(null);
|
|
9124
|
+
const handleKeyDown = (0, import_react57.useCallback)(
|
|
8528
9125
|
(event) => {
|
|
8529
9126
|
if (closeOnEscape && event.key === "Escape" && onClose) {
|
|
8530
9127
|
onClose(event);
|
|
@@ -8532,7 +9129,7 @@ var Modal = ({
|
|
|
8532
9129
|
},
|
|
8533
9130
|
[closeOnEscape, onClose]
|
|
8534
9131
|
);
|
|
8535
|
-
(0,
|
|
9132
|
+
(0, import_react57.useEffect)(() => {
|
|
8536
9133
|
if (isOpen) {
|
|
8537
9134
|
previousScrollY.current = window.scrollY;
|
|
8538
9135
|
previousActiveElement.current = document.activeElement;
|
|
@@ -8562,7 +9159,7 @@ var Modal = ({
|
|
|
8562
9159
|
document.body.style.top = "";
|
|
8563
9160
|
};
|
|
8564
9161
|
}, [isOpen, handleKeyDown]);
|
|
8565
|
-
const handleClose = (0,
|
|
9162
|
+
const handleClose = (0, import_react57.useCallback)(
|
|
8566
9163
|
(event) => {
|
|
8567
9164
|
if (onClose) {
|
|
8568
9165
|
onClose(event);
|
|
@@ -8570,7 +9167,7 @@ var Modal = ({
|
|
|
8570
9167
|
},
|
|
8571
9168
|
[onClose]
|
|
8572
9169
|
);
|
|
8573
|
-
const handleBackdropClick = (0,
|
|
9170
|
+
const handleBackdropClick = (0, import_react57.useCallback)(
|
|
8574
9171
|
(event) => {
|
|
8575
9172
|
if (!closeOnOutsideClick || !containerRef.current || containerRef.current.contains(event.target)) {
|
|
8576
9173
|
return;
|
|
@@ -8585,7 +9182,7 @@ var Modal = ({
|
|
|
8585
9182
|
if (typeof document === "undefined") {
|
|
8586
9183
|
return null;
|
|
8587
9184
|
}
|
|
8588
|
-
const closeButton = showCloseButton && /* @__PURE__ */ (0,
|
|
9185
|
+
const closeButton = showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
|
|
8589
9186
|
Button_default,
|
|
8590
9187
|
{
|
|
8591
9188
|
onClick: handleClose,
|
|
@@ -8598,7 +9195,7 @@ var Modal = ({
|
|
|
8598
9195
|
"aria-label": "Close modal",
|
|
8599
9196
|
variant: "text",
|
|
8600
9197
|
size: "xs",
|
|
8601
|
-
children: /* @__PURE__ */ (0,
|
|
9198
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
|
|
8602
9199
|
Box_default,
|
|
8603
9200
|
{
|
|
8604
9201
|
as: "span",
|
|
@@ -8606,15 +9203,15 @@ var Modal = ({
|
|
|
8606
9203
|
alignItems: "center",
|
|
8607
9204
|
gap: "var(--spacing-2)",
|
|
8608
9205
|
children: [
|
|
8609
|
-
/* @__PURE__ */ (0,
|
|
8610
|
-
/* @__PURE__ */ (0,
|
|
9206
|
+
/* @__PURE__ */ (0, import_jsx_runtime246.jsx)(Icon_default, { variant: closeButtonIcon, size: "medium" }),
|
|
9207
|
+
/* @__PURE__ */ (0, import_jsx_runtime246.jsx)("span", { children: "Close" })
|
|
8611
9208
|
]
|
|
8612
9209
|
}
|
|
8613
9210
|
)
|
|
8614
9211
|
}
|
|
8615
9212
|
);
|
|
8616
9213
|
return import_react_dom4.default.createPortal(
|
|
8617
|
-
/* @__PURE__ */ (0,
|
|
9214
|
+
/* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
|
|
8618
9215
|
Box_default,
|
|
8619
9216
|
{
|
|
8620
9217
|
display: "flex",
|
|
@@ -8629,7 +9226,7 @@ var Modal = ({
|
|
|
8629
9226
|
className,
|
|
8630
9227
|
role: "presentation",
|
|
8631
9228
|
"data-testid": `modal-${id}`,
|
|
8632
|
-
children: /* @__PURE__ */ (0,
|
|
9229
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
|
|
8633
9230
|
Box_default,
|
|
8634
9231
|
{
|
|
8635
9232
|
display: "flex",
|
|
@@ -8643,7 +9240,7 @@ var Modal = ({
|
|
|
8643
9240
|
onKeyDown: (e) => e.key === "Escape" && handleClose(e),
|
|
8644
9241
|
role: "presentation",
|
|
8645
9242
|
"data-testid": `modal-backdrop-${id}`,
|
|
8646
|
-
children: /* @__PURE__ */ (0,
|
|
9243
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
|
|
8647
9244
|
Box_default,
|
|
8648
9245
|
{
|
|
8649
9246
|
ref: containerRef,
|
|
@@ -8663,7 +9260,7 @@ var Modal = ({
|
|
|
8663
9260
|
tabIndex: -1,
|
|
8664
9261
|
children: [
|
|
8665
9262
|
closeButton,
|
|
8666
|
-
/* @__PURE__ */ (0,
|
|
9263
|
+
/* @__PURE__ */ (0, import_jsx_runtime246.jsx)(Box_default, { flex: "1", overflow: "auto", css: customContentStyles, children })
|
|
8667
9264
|
]
|
|
8668
9265
|
}
|
|
8669
9266
|
)
|
|
@@ -8678,11 +9275,11 @@ Modal.displayName = "Modal";
|
|
|
8678
9275
|
var Modal_default = Modal;
|
|
8679
9276
|
|
|
8680
9277
|
// src/ImageGalleryModal/ImageGalleryModal.styles.ts
|
|
8681
|
-
var
|
|
8682
|
-
var galleryBackgroundStyles =
|
|
9278
|
+
var import_react58 = require("@emotion/react");
|
|
9279
|
+
var galleryBackgroundStyles = import_react58.css`
|
|
8683
9280
|
background-color: var(--color-base-black, #000000);
|
|
8684
9281
|
`;
|
|
8685
|
-
var imageStyles2 =
|
|
9282
|
+
var imageStyles2 = import_react58.css`
|
|
8686
9283
|
max-width: 100%;
|
|
8687
9284
|
max-height: 100%;
|
|
8688
9285
|
width: auto;
|
|
@@ -8694,14 +9291,14 @@ var imageStyles2 = import_react57.css`
|
|
|
8694
9291
|
max-height: calc(100vh - var(--spacing-32));
|
|
8695
9292
|
}
|
|
8696
9293
|
`;
|
|
8697
|
-
var counterStyles =
|
|
9294
|
+
var counterStyles = import_react58.css`
|
|
8698
9295
|
transform: translateX(-50%);
|
|
8699
9296
|
color: var(--color-base-white, #ffffff);
|
|
8700
9297
|
background-color: rgba(0, 0, 0, 0.5);
|
|
8701
9298
|
padding: var(--spacing-2) var(--spacing-4);
|
|
8702
9299
|
border-radius: var(--radius-full, 9999px);
|
|
8703
9300
|
`;
|
|
8704
|
-
var captionStyles =
|
|
9301
|
+
var captionStyles = import_react58.css`
|
|
8705
9302
|
transform: translateX(-50%);
|
|
8706
9303
|
color: var(--color-base-white, #ffffff);
|
|
8707
9304
|
text-align: center;
|
|
@@ -8710,7 +9307,7 @@ var captionStyles = import_react57.css`
|
|
|
8710
9307
|
border-radius: var(--radius-md, 8px);
|
|
8711
9308
|
max-width: 80%;
|
|
8712
9309
|
`;
|
|
8713
|
-
var navigationButtonStyles =
|
|
9310
|
+
var navigationButtonStyles = import_react58.css`
|
|
8714
9311
|
position: absolute;
|
|
8715
9312
|
top: 50%;
|
|
8716
9313
|
transform: translateY(-50%);
|
|
@@ -8741,18 +9338,18 @@ var navigationButtonStyles = import_react57.css`
|
|
|
8741
9338
|
outline-offset: 2px;
|
|
8742
9339
|
}
|
|
8743
9340
|
`;
|
|
8744
|
-
var prevButtonStyles =
|
|
9341
|
+
var prevButtonStyles = import_react58.css`
|
|
8745
9342
|
${navigationButtonStyles}
|
|
8746
9343
|
left: var(--spacing-4);
|
|
8747
9344
|
`;
|
|
8748
|
-
var nextButtonStyles =
|
|
9345
|
+
var nextButtonStyles = import_react58.css`
|
|
8749
9346
|
${navigationButtonStyles}
|
|
8750
9347
|
right: var(--spacing-4);
|
|
8751
9348
|
`;
|
|
8752
|
-
var dotsContainerPositionStyles =
|
|
9349
|
+
var dotsContainerPositionStyles = import_react58.css`
|
|
8753
9350
|
transform: translateX(-50%);
|
|
8754
9351
|
`;
|
|
8755
|
-
var dotStyles =
|
|
9352
|
+
var dotStyles = import_react58.css`
|
|
8756
9353
|
width: var(--spacing-2);
|
|
8757
9354
|
height: var(--spacing-2);
|
|
8758
9355
|
border-radius: var(--radius-round, 50%);
|
|
@@ -8767,11 +9364,11 @@ var dotStyles = import_react57.css`
|
|
|
8767
9364
|
transform: scale(1.2);
|
|
8768
9365
|
}
|
|
8769
9366
|
`;
|
|
8770
|
-
var dotActiveStyles =
|
|
9367
|
+
var dotActiveStyles = import_react58.css`
|
|
8771
9368
|
background-color: var(--color-base-white, #ffffff);
|
|
8772
9369
|
transform: scale(1.2);
|
|
8773
9370
|
`;
|
|
8774
|
-
var closeButtonOverrideStyles =
|
|
9371
|
+
var closeButtonOverrideStyles = import_react58.css`
|
|
8775
9372
|
top: var(--spacing-4);
|
|
8776
9373
|
right: var(--spacing-4);
|
|
8777
9374
|
z-index: 20;
|
|
@@ -8783,23 +9380,23 @@ var closeButtonOverrideStyles = import_react57.css`
|
|
|
8783
9380
|
background-color: var(--color-base-white, #ffffff);
|
|
8784
9381
|
}
|
|
8785
9382
|
`;
|
|
8786
|
-
var scrollLayerOverrideStyles =
|
|
9383
|
+
var scrollLayerOverrideStyles = import_react58.css`
|
|
8787
9384
|
padding: 0;
|
|
8788
9385
|
background-color: rgba(0, 0, 0, 0.95);
|
|
8789
9386
|
`;
|
|
8790
|
-
var containerOverrideStyles =
|
|
9387
|
+
var containerOverrideStyles = import_react58.css`
|
|
8791
9388
|
background-color: transparent;
|
|
8792
9389
|
box-shadow: none;
|
|
8793
9390
|
border-radius: 0;
|
|
8794
9391
|
max-height: 100dvh;
|
|
8795
9392
|
`;
|
|
8796
|
-
var contentOverrideStyles =
|
|
9393
|
+
var contentOverrideStyles = import_react58.css`
|
|
8797
9394
|
height: 100%;
|
|
8798
9395
|
padding: 0;
|
|
8799
9396
|
`;
|
|
8800
9397
|
|
|
8801
9398
|
// src/ImageGalleryModal/ImageGalleryModal.tsx
|
|
8802
|
-
var
|
|
9399
|
+
var import_jsx_runtime247 = require("@emotion/react/jsx-runtime");
|
|
8803
9400
|
var ImageGalleryModal = ({
|
|
8804
9401
|
id,
|
|
8805
9402
|
isOpen,
|
|
@@ -8812,30 +9409,30 @@ var ImageGalleryModal = ({
|
|
|
8812
9409
|
className,
|
|
8813
9410
|
ariaLabel = "Image gallery"
|
|
8814
9411
|
}) => {
|
|
8815
|
-
const [currentIndex, setCurrentIndex] = (0,
|
|
8816
|
-
(0,
|
|
9412
|
+
const [currentIndex, setCurrentIndex] = (0, import_react59.useState)(initialIndex);
|
|
9413
|
+
(0, import_react59.useEffect)(() => {
|
|
8817
9414
|
if (isOpen) {
|
|
8818
9415
|
setCurrentIndex(initialIndex);
|
|
8819
9416
|
}
|
|
8820
9417
|
}, [isOpen, initialIndex]);
|
|
8821
|
-
const handlePrev = (0,
|
|
9418
|
+
const handlePrev = (0, import_react59.useCallback)(
|
|
8822
9419
|
(e) => {
|
|
8823
9420
|
e == null ? void 0 : e.stopPropagation();
|
|
8824
9421
|
setCurrentIndex((prev) => prev > 0 ? prev - 1 : images.length - 1);
|
|
8825
9422
|
},
|
|
8826
9423
|
[images.length]
|
|
8827
9424
|
);
|
|
8828
|
-
const handleNext = (0,
|
|
9425
|
+
const handleNext = (0, import_react59.useCallback)(
|
|
8829
9426
|
(e) => {
|
|
8830
9427
|
e == null ? void 0 : e.stopPropagation();
|
|
8831
9428
|
setCurrentIndex((prev) => prev < images.length - 1 ? prev + 1 : 0);
|
|
8832
9429
|
},
|
|
8833
9430
|
[images.length]
|
|
8834
9431
|
);
|
|
8835
|
-
const handleGoTo = (0,
|
|
9432
|
+
const handleGoTo = (0, import_react59.useCallback)((index) => {
|
|
8836
9433
|
setCurrentIndex(index);
|
|
8837
9434
|
}, []);
|
|
8838
|
-
(0,
|
|
9435
|
+
(0, import_react59.useEffect)(() => {
|
|
8839
9436
|
if (!isOpen)
|
|
8840
9437
|
return;
|
|
8841
9438
|
const handleKeyDown = (e) => {
|
|
@@ -8852,7 +9449,7 @@ var ImageGalleryModal = ({
|
|
|
8852
9449
|
}, [isOpen, handlePrev, handleNext]);
|
|
8853
9450
|
const currentImage = images[currentIndex];
|
|
8854
9451
|
const hasMultipleImages = images.length > 1;
|
|
8855
|
-
return /* @__PURE__ */ (0,
|
|
9452
|
+
return /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8856
9453
|
Modal_default,
|
|
8857
9454
|
{
|
|
8858
9455
|
id: `image-gallery-${id}`,
|
|
@@ -8868,7 +9465,7 @@ var ImageGalleryModal = ({
|
|
|
8868
9465
|
contentStyles: contentOverrideStyles,
|
|
8869
9466
|
className,
|
|
8870
9467
|
ariaLabel,
|
|
8871
|
-
children: /* @__PURE__ */ (0,
|
|
9468
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
|
|
8872
9469
|
Box_default,
|
|
8873
9470
|
{
|
|
8874
9471
|
display: "flex",
|
|
@@ -8878,7 +9475,7 @@ var ImageGalleryModal = ({
|
|
|
8878
9475
|
position: "relative",
|
|
8879
9476
|
css: galleryBackgroundStyles,
|
|
8880
9477
|
children: [
|
|
8881
|
-
showCounter && hasMultipleImages && /* @__PURE__ */ (0,
|
|
9478
|
+
showCounter && hasMultipleImages && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8882
9479
|
Box_default,
|
|
8883
9480
|
{
|
|
8884
9481
|
position: "absolute",
|
|
@@ -8886,14 +9483,14 @@ var ImageGalleryModal = ({
|
|
|
8886
9483
|
left: "50%",
|
|
8887
9484
|
zIndex: 10,
|
|
8888
9485
|
css: counterStyles,
|
|
8889
|
-
children: /* @__PURE__ */ (0,
|
|
9486
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(Text_default, { size: "sm", color: "inherit", children: [
|
|
8890
9487
|
currentIndex + 1,
|
|
8891
9488
|
" / ",
|
|
8892
9489
|
images.length
|
|
8893
9490
|
] })
|
|
8894
9491
|
}
|
|
8895
9492
|
),
|
|
8896
|
-
/* @__PURE__ */ (0,
|
|
9493
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
|
|
8897
9494
|
Box_default,
|
|
8898
9495
|
{
|
|
8899
9496
|
display: "flex",
|
|
@@ -8903,17 +9500,17 @@ var ImageGalleryModal = ({
|
|
|
8903
9500
|
overflow: "hidden",
|
|
8904
9501
|
position: "relative",
|
|
8905
9502
|
children: [
|
|
8906
|
-
showArrows && hasMultipleImages && /* @__PURE__ */ (0,
|
|
9503
|
+
showArrows && hasMultipleImages && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8907
9504
|
"button",
|
|
8908
9505
|
{
|
|
8909
9506
|
type: "button",
|
|
8910
9507
|
onClick: handlePrev,
|
|
8911
9508
|
css: prevButtonStyles,
|
|
8912
9509
|
"aria-label": "Previous image",
|
|
8913
|
-
children: /* @__PURE__ */ (0,
|
|
9510
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Icon_default, { variant: "AngleLeft", size: "medium" })
|
|
8914
9511
|
}
|
|
8915
9512
|
),
|
|
8916
|
-
/* @__PURE__ */ (0,
|
|
9513
|
+
/* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8917
9514
|
Box_default,
|
|
8918
9515
|
{
|
|
8919
9516
|
display: "flex",
|
|
@@ -8922,7 +9519,7 @@ var ImageGalleryModal = ({
|
|
|
8922
9519
|
width: "100%",
|
|
8923
9520
|
height: "100%",
|
|
8924
9521
|
p: "var(--spacing-4)",
|
|
8925
|
-
children: currentImage && /* @__PURE__ */ (0,
|
|
9522
|
+
children: currentImage && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8926
9523
|
"img",
|
|
8927
9524
|
{
|
|
8928
9525
|
src: currentImage.src,
|
|
@@ -8932,20 +9529,20 @@ var ImageGalleryModal = ({
|
|
|
8932
9529
|
)
|
|
8933
9530
|
}
|
|
8934
9531
|
),
|
|
8935
|
-
showArrows && hasMultipleImages && /* @__PURE__ */ (0,
|
|
9532
|
+
showArrows && hasMultipleImages && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8936
9533
|
"button",
|
|
8937
9534
|
{
|
|
8938
9535
|
type: "button",
|
|
8939
9536
|
onClick: handleNext,
|
|
8940
9537
|
css: nextButtonStyles,
|
|
8941
9538
|
"aria-label": "Next image",
|
|
8942
|
-
children: /* @__PURE__ */ (0,
|
|
9539
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Icon_default, { variant: "AngleRight", size: "medium" })
|
|
8943
9540
|
}
|
|
8944
9541
|
)
|
|
8945
9542
|
]
|
|
8946
9543
|
}
|
|
8947
9544
|
),
|
|
8948
|
-
(currentImage == null ? void 0 : currentImage.caption) && /* @__PURE__ */ (0,
|
|
9545
|
+
(currentImage == null ? void 0 : currentImage.caption) && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8949
9546
|
Box_default,
|
|
8950
9547
|
{
|
|
8951
9548
|
position: "absolute",
|
|
@@ -8953,10 +9550,10 @@ var ImageGalleryModal = ({
|
|
|
8953
9550
|
left: "50%",
|
|
8954
9551
|
zIndex: 10,
|
|
8955
9552
|
css: captionStyles,
|
|
8956
|
-
children: /* @__PURE__ */ (0,
|
|
9553
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Text_default, { size: "sm", color: "inherit", children: currentImage.caption })
|
|
8957
9554
|
}
|
|
8958
9555
|
),
|
|
8959
|
-
showDots && hasMultipleImages && /* @__PURE__ */ (0,
|
|
9556
|
+
showDots && hasMultipleImages && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8960
9557
|
Box_default,
|
|
8961
9558
|
{
|
|
8962
9559
|
display: "flex",
|
|
@@ -8966,7 +9563,7 @@ var ImageGalleryModal = ({
|
|
|
8966
9563
|
gap: "var(--spacing-2)",
|
|
8967
9564
|
zIndex: 10,
|
|
8968
9565
|
css: dotsContainerPositionStyles,
|
|
8969
|
-
children: images.map((_, index) => /* @__PURE__ */ (0,
|
|
9566
|
+
children: images.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
|
|
8970
9567
|
"button",
|
|
8971
9568
|
{
|
|
8972
9569
|
type: "button",
|
|
@@ -8992,9 +9589,9 @@ ImageGalleryModal.displayName = "ImageGalleryModal";
|
|
|
8992
9589
|
var ImageGalleryModal_default = ImageGalleryModal;
|
|
8993
9590
|
|
|
8994
9591
|
// src/InfoBox/InfoBox.tsx
|
|
8995
|
-
var
|
|
9592
|
+
var import_jsx_runtime248 = require("@emotion/react/jsx-runtime");
|
|
8996
9593
|
var InfoBox = ({ heading, features, className }) => {
|
|
8997
|
-
return /* @__PURE__ */ (0,
|
|
9594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(
|
|
8998
9595
|
Box_default,
|
|
8999
9596
|
{
|
|
9000
9597
|
display: "flex",
|
|
@@ -9003,8 +9600,8 @@ var InfoBox = ({ heading, features, className }) => {
|
|
|
9003
9600
|
className,
|
|
9004
9601
|
color: "var(--text-primary)",
|
|
9005
9602
|
children: [
|
|
9006
|
-
/* @__PURE__ */ (0,
|
|
9007
|
-
/* @__PURE__ */ (0,
|
|
9603
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: heading }),
|
|
9604
|
+
/* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
|
|
9008
9605
|
Box_default,
|
|
9009
9606
|
{
|
|
9010
9607
|
display: "flex",
|
|
@@ -9014,7 +9611,7 @@ var InfoBox = ({ heading, features, className }) => {
|
|
|
9014
9611
|
borderRadius: "var(--radius-lg)",
|
|
9015
9612
|
bg: "var(--surface-neutral)",
|
|
9016
9613
|
className,
|
|
9017
|
-
children: features.map((section, index) => /* @__PURE__ */ (0,
|
|
9614
|
+
children: features.map((section, index) => /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
|
|
9018
9615
|
FeatureList_default,
|
|
9019
9616
|
{
|
|
9020
9617
|
heading: section.heading,
|
|
@@ -9031,16 +9628,16 @@ var InfoBox = ({ heading, features, className }) => {
|
|
|
9031
9628
|
var InfoBox_default = InfoBox;
|
|
9032
9629
|
|
|
9033
9630
|
// src/LandownerProfile/LandownerProfile.tsx
|
|
9034
|
-
var
|
|
9631
|
+
var import_react63 = require("react");
|
|
9035
9632
|
|
|
9036
9633
|
// src/ProgressBar/ProgressBar.styles.ts
|
|
9037
|
-
var
|
|
9038
|
-
var progressStyles =
|
|
9634
|
+
var import_react60 = require("@emotion/react");
|
|
9635
|
+
var progressStyles = import_react60.css`
|
|
9039
9636
|
transition: width 0.3s ease-in-out;
|
|
9040
9637
|
`;
|
|
9041
9638
|
|
|
9042
9639
|
// src/ProgressBar/ProgressBar.tsx
|
|
9043
|
-
var
|
|
9640
|
+
var import_jsx_runtime249 = require("@emotion/react/jsx-runtime");
|
|
9044
9641
|
var ProgressBar = ({
|
|
9045
9642
|
progress,
|
|
9046
9643
|
className,
|
|
@@ -9048,7 +9645,7 @@ var ProgressBar = ({
|
|
|
9048
9645
|
height = "10px"
|
|
9049
9646
|
}) => {
|
|
9050
9647
|
const clampedProgress = Math.min(100, Math.max(0, progress));
|
|
9051
|
-
return /* @__PURE__ */ (0,
|
|
9648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
|
|
9052
9649
|
Box_default,
|
|
9053
9650
|
{
|
|
9054
9651
|
width: "100%",
|
|
@@ -9058,7 +9655,7 @@ var ProgressBar = ({
|
|
|
9058
9655
|
overflow: "hidden",
|
|
9059
9656
|
position: "relative",
|
|
9060
9657
|
className,
|
|
9061
|
-
children: /* @__PURE__ */ (0,
|
|
9658
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
|
|
9062
9659
|
Box_default,
|
|
9063
9660
|
{
|
|
9064
9661
|
height: "100%",
|
|
@@ -9079,17 +9676,17 @@ ProgressBar.displayName = "ProgressBar";
|
|
|
9079
9676
|
var ProgressBar_default = ProgressBar;
|
|
9080
9677
|
|
|
9081
9678
|
// src/Timer/Timer.tsx
|
|
9082
|
-
var
|
|
9679
|
+
var import_react62 = require("react");
|
|
9083
9680
|
|
|
9084
9681
|
// src/Timer/Timer.styles.ts
|
|
9085
|
-
var
|
|
9086
|
-
var rootStyles2 =
|
|
9682
|
+
var import_react61 = require("@emotion/react");
|
|
9683
|
+
var rootStyles2 = import_react61.css`
|
|
9087
9684
|
display: inline-flex;
|
|
9088
9685
|
font-variant-numeric: tabular-nums;
|
|
9089
9686
|
`;
|
|
9090
9687
|
|
|
9091
9688
|
// src/Timer/Timer.tsx
|
|
9092
|
-
var
|
|
9689
|
+
var import_jsx_runtime250 = require("@emotion/react/jsx-runtime");
|
|
9093
9690
|
var calculateTimeLeft = (expirationTimestamp) => {
|
|
9094
9691
|
const now = Math.floor(Date.now() / 1e3);
|
|
9095
9692
|
const diff = expirationTimestamp - now;
|
|
@@ -9117,10 +9714,10 @@ var Timer = ({
|
|
|
9117
9714
|
fontWeight = "bold",
|
|
9118
9715
|
showSeconds = false
|
|
9119
9716
|
}) => {
|
|
9120
|
-
const [timeLeft, setTimeLeft] = (0,
|
|
9717
|
+
const [timeLeft, setTimeLeft] = (0, import_react62.useState)(
|
|
9121
9718
|
() => calculateTimeLeft(expirationTimestamp)
|
|
9122
9719
|
);
|
|
9123
|
-
const updateTime = (0,
|
|
9720
|
+
const updateTime = (0, import_react62.useCallback)(() => {
|
|
9124
9721
|
const newTimeLeft = calculateTimeLeft(expirationTimestamp);
|
|
9125
9722
|
setTimeLeft(newTimeLeft);
|
|
9126
9723
|
if (newTimeLeft) {
|
|
@@ -9130,7 +9727,7 @@ var Timer = ({
|
|
|
9130
9727
|
}
|
|
9131
9728
|
return newTimeLeft;
|
|
9132
9729
|
}, [expirationTimestamp, onTimeUpdate, onExpire]);
|
|
9133
|
-
(0,
|
|
9730
|
+
(0, import_react62.useEffect)(() => {
|
|
9134
9731
|
const initialTime = updateTime();
|
|
9135
9732
|
if (!initialTime)
|
|
9136
9733
|
return;
|
|
@@ -9145,8 +9742,8 @@ var Timer = ({
|
|
|
9145
9742
|
if (!timeLeft) {
|
|
9146
9743
|
return null;
|
|
9147
9744
|
}
|
|
9148
|
-
return /* @__PURE__ */ (0,
|
|
9149
|
-
/* @__PURE__ */ (0,
|
|
9745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(Box_default, { css: rootStyles2, className, children: [
|
|
9746
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(Text_default, { as: "span", fontWeight, size: fontSize, children: [
|
|
9150
9747
|
timeLeft.days,
|
|
9151
9748
|
"d : ",
|
|
9152
9749
|
timeLeft.hours,
|
|
@@ -9154,7 +9751,7 @@ var Timer = ({
|
|
|
9154
9751
|
timeLeft.minutes,
|
|
9155
9752
|
"m"
|
|
9156
9753
|
] }),
|
|
9157
|
-
showSeconds && /* @__PURE__ */ (0,
|
|
9754
|
+
showSeconds && /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(Text_default, { as: "span", fontWeight, size: fontSize, children: [
|
|
9158
9755
|
"\xA0: ",
|
|
9159
9756
|
timeLeft.seconds,
|
|
9160
9757
|
"s"
|
|
@@ -9165,7 +9762,7 @@ Timer.displayName = "Timer";
|
|
|
9165
9762
|
var Timer_default = Timer;
|
|
9166
9763
|
|
|
9167
9764
|
// src/StarRating/StarRating.tsx
|
|
9168
|
-
var
|
|
9765
|
+
var import_jsx_runtime251 = require("@emotion/react/jsx-runtime");
|
|
9169
9766
|
var starSize = {
|
|
9170
9767
|
sm: {
|
|
9171
9768
|
size: "medium",
|
|
@@ -9213,10 +9810,10 @@ var StarRating = ({
|
|
|
9213
9810
|
fill = "var(--color-neutral-100)";
|
|
9214
9811
|
}
|
|
9215
9812
|
stars.push(
|
|
9216
|
-
/* @__PURE__ */ (0,
|
|
9813
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Icon_default, { variant, size: starSize[size].size, fill }, i)
|
|
9217
9814
|
);
|
|
9218
9815
|
}
|
|
9219
|
-
return /* @__PURE__ */ (0,
|
|
9816
|
+
return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
9220
9817
|
Box_default,
|
|
9221
9818
|
{
|
|
9222
9819
|
className,
|
|
@@ -9230,7 +9827,7 @@ var StarRating = ({
|
|
|
9230
9827
|
var StarRating_default = StarRating;
|
|
9231
9828
|
|
|
9232
9829
|
// src/UserCard/UserCard.tsx
|
|
9233
|
-
var
|
|
9830
|
+
var import_jsx_runtime252 = require("@emotion/react/jsx-runtime");
|
|
9234
9831
|
var UserCard = ({
|
|
9235
9832
|
avatarSrc,
|
|
9236
9833
|
title,
|
|
@@ -9240,7 +9837,7 @@ var UserCard = ({
|
|
|
9240
9837
|
isVerified = false,
|
|
9241
9838
|
className
|
|
9242
9839
|
}) => {
|
|
9243
|
-
return /* @__PURE__ */ (0,
|
|
9840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
|
|
9244
9841
|
Box_default,
|
|
9245
9842
|
{
|
|
9246
9843
|
display: "flex",
|
|
@@ -9249,8 +9846,8 @@ var UserCard = ({
|
|
|
9249
9846
|
gap: "var(--spacing-4)",
|
|
9250
9847
|
className,
|
|
9251
9848
|
children: [
|
|
9252
|
-
/* @__PURE__ */ (0,
|
|
9253
|
-
/* @__PURE__ */ (0,
|
|
9849
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(Box_default, { display: "flex", alignItems: "flex-start", gap: "var(--spacing-4)", children: [
|
|
9850
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
|
|
9254
9851
|
Avatar_default,
|
|
9255
9852
|
{
|
|
9256
9853
|
type: avatarSrc ? "image" : "text",
|
|
@@ -9260,13 +9857,13 @@ var UserCard = ({
|
|
|
9260
9857
|
alt: `${title}'s avatar`
|
|
9261
9858
|
}
|
|
9262
9859
|
),
|
|
9263
|
-
/* @__PURE__ */ (0,
|
|
9264
|
-
/* @__PURE__ */ (0,
|
|
9265
|
-
subtitle && (typeof subtitle === "string" ? /* @__PURE__ */ (0,
|
|
9266
|
-
showRating && rating !== void 0 && /* @__PURE__ */ (0,
|
|
9860
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "2px", children: [
|
|
9861
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }),
|
|
9862
|
+
subtitle && (typeof subtitle === "string" ? /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Text_default, { size: "sm", color: "text-secondary", children: subtitle }) : subtitle),
|
|
9863
|
+
showRating && rating !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(StarRating_default, { rating })
|
|
9267
9864
|
] })
|
|
9268
9865
|
] }),
|
|
9269
|
-
isVerified && /* @__PURE__ */ (0,
|
|
9866
|
+
isVerified && /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
|
|
9270
9867
|
Box_default,
|
|
9271
9868
|
{
|
|
9272
9869
|
display: "flex",
|
|
@@ -9275,8 +9872,8 @@ var UserCard = ({
|
|
|
9275
9872
|
gap: "var(--spacing-1)",
|
|
9276
9873
|
flexShrink: 0,
|
|
9277
9874
|
children: [
|
|
9278
|
-
/* @__PURE__ */ (0,
|
|
9279
|
-
/* @__PURE__ */ (0,
|
|
9875
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Icon_default, { variant: "ShieldCheckSolid", fill: "var(--icon-success)" }),
|
|
9876
|
+
/* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Text_default, { size: "xs", fontWeight: "bold", color: "text-primary", children: "Verified" })
|
|
9280
9877
|
]
|
|
9281
9878
|
}
|
|
9282
9879
|
)
|
|
@@ -9333,7 +9930,7 @@ var formatHostingDuration = (duration) => {
|
|
|
9333
9930
|
};
|
|
9334
9931
|
|
|
9335
9932
|
// src/LandownerProfile/components/ProfileSubtitle.tsx
|
|
9336
|
-
var
|
|
9933
|
+
var import_jsx_runtime253 = require("@emotion/react/jsx-runtime");
|
|
9337
9934
|
var ProfileSubtitle = ({
|
|
9338
9935
|
hostingSince,
|
|
9339
9936
|
featureReviewItem
|
|
@@ -9341,15 +9938,15 @@ var ProfileSubtitle = ({
|
|
|
9341
9938
|
const duration = hostingSince ? calculateHostingDuration(hostingSince) : null;
|
|
9342
9939
|
const formattedDuration = formatHostingDuration(duration);
|
|
9343
9940
|
const displayText = formattedDuration ? `${formattedDuration} Hosting` : null;
|
|
9344
|
-
return /* @__PURE__ */ (0,
|
|
9345
|
-
displayText && /* @__PURE__ */ (0,
|
|
9346
|
-
featureReviewItem && /* @__PURE__ */ (0,
|
|
9941
|
+
return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "2px", children: [
|
|
9942
|
+
displayText && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(Text_default, { size: "sm", color: "text-secondary", children: displayText }),
|
|
9943
|
+
featureReviewItem && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(FeatureListItem_default, { ...featureReviewItem })
|
|
9347
9944
|
] });
|
|
9348
9945
|
};
|
|
9349
9946
|
var ProfileSubtitle_default = ProfileSubtitle;
|
|
9350
9947
|
|
|
9351
9948
|
// src/LandownerProfile/LandownerProfile.tsx
|
|
9352
|
-
var
|
|
9949
|
+
var import_jsx_runtime254 = require("@emotion/react/jsx-runtime");
|
|
9353
9950
|
var LandownerProfile = ({
|
|
9354
9951
|
heading,
|
|
9355
9952
|
avatarSrc,
|
|
@@ -9377,7 +9974,7 @@ var LandownerProfile = ({
|
|
|
9377
9974
|
const progressPercentage = (totalDuration - timeLeft.totalSeconds) / totalDuration * 100;
|
|
9378
9975
|
return Math.min(100, Math.max(0, progressPercentage));
|
|
9379
9976
|
};
|
|
9380
|
-
const [progress, setProgress] = (0,
|
|
9977
|
+
const [progress, setProgress] = (0, import_react63.useState)(0);
|
|
9381
9978
|
const handleTimeUpdate = (timeLeft) => {
|
|
9382
9979
|
setProgress(calculateProgress(timeLeft));
|
|
9383
9980
|
onEarlyAccessTimeUpdate == null ? void 0 : onEarlyAccessTimeUpdate(timeLeft);
|
|
@@ -9390,7 +9987,7 @@ var LandownerProfile = ({
|
|
|
9390
9987
|
iconVariant: "Bolt",
|
|
9391
9988
|
label: `Response Time: ${responseTime}`
|
|
9392
9989
|
} : void 0;
|
|
9393
|
-
return /* @__PURE__ */ (0,
|
|
9990
|
+
return /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
|
|
9394
9991
|
Box_default,
|
|
9395
9992
|
{
|
|
9396
9993
|
display: "flex",
|
|
@@ -9399,8 +9996,8 @@ var LandownerProfile = ({
|
|
|
9399
9996
|
color: "var(--text-primary)",
|
|
9400
9997
|
className,
|
|
9401
9998
|
children: [
|
|
9402
|
-
heading && /* @__PURE__ */ (0,
|
|
9403
|
-
/* @__PURE__ */ (0,
|
|
9999
|
+
heading && /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: heading }),
|
|
10000
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
|
|
9404
10001
|
Box_default,
|
|
9405
10002
|
{
|
|
9406
10003
|
display: "flex",
|
|
@@ -9410,12 +10007,12 @@ var LandownerProfile = ({
|
|
|
9410
10007
|
p: "var(--spacing-4)",
|
|
9411
10008
|
borderRadius: "var(--radius-lg)",
|
|
9412
10009
|
children: [
|
|
9413
|
-
/* @__PURE__ */ (0,
|
|
10010
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
9414
10011
|
UserCard_default,
|
|
9415
10012
|
{
|
|
9416
10013
|
avatarSrc,
|
|
9417
10014
|
title: name,
|
|
9418
|
-
subtitle: /* @__PURE__ */ (0,
|
|
10015
|
+
subtitle: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
9419
10016
|
ProfileSubtitle_default,
|
|
9420
10017
|
{
|
|
9421
10018
|
hostingSince,
|
|
@@ -9426,9 +10023,9 @@ var LandownerProfile = ({
|
|
|
9426
10023
|
isVerified
|
|
9427
10024
|
}
|
|
9428
10025
|
),
|
|
9429
|
-
hasTextContent(bio) && !!bio && /* @__PURE__ */ (0,
|
|
9430
|
-
/* @__PURE__ */ (0,
|
|
9431
|
-
/* @__PURE__ */ (0,
|
|
10026
|
+
hasTextContent(bio) && !!bio && /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: [
|
|
10027
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Text_default, { fontWeight: "bold", children: "Bio" }),
|
|
10028
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
9432
10029
|
Text_default,
|
|
9433
10030
|
{
|
|
9434
10031
|
dangerouslySetInnerHTML: {
|
|
@@ -9437,14 +10034,14 @@ var LandownerProfile = ({
|
|
|
9437
10034
|
}
|
|
9438
10035
|
)
|
|
9439
10036
|
] }),
|
|
9440
|
-
(!!responseRateFeature || !!responseTimeFeature) && /* @__PURE__ */ (0,
|
|
9441
|
-
/* @__PURE__ */ (0,
|
|
9442
|
-
/* @__PURE__ */ (0,
|
|
9443
|
-
!!responseRateFeature && /* @__PURE__ */ (0,
|
|
9444
|
-
!!responseTimeFeature && /* @__PURE__ */ (0,
|
|
10037
|
+
(!!responseRateFeature || !!responseTimeFeature) && /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: [
|
|
10038
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Text_default, { fontWeight: "bold", children: "Landowner Details" }),
|
|
10039
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: [
|
|
10040
|
+
!!responseRateFeature && /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(FeatureListItem_default, { ...responseRateFeature }),
|
|
10041
|
+
!!responseTimeFeature && /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(FeatureListItem_default, { ...responseTimeFeature })
|
|
9445
10042
|
] })
|
|
9446
10043
|
] }),
|
|
9447
|
-
/* @__PURE__ */ (0,
|
|
10044
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Box_default, { alignSelf: "flex-start", children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
9448
10045
|
Button_default,
|
|
9449
10046
|
{
|
|
9450
10047
|
variant: "secondary",
|
|
@@ -9453,9 +10050,9 @@ var LandownerProfile = ({
|
|
|
9453
10050
|
children: messageButtonText
|
|
9454
10051
|
}
|
|
9455
10052
|
) }),
|
|
9456
|
-
earlyAccessTimer && /* @__PURE__ */ (0,
|
|
9457
|
-
/* @__PURE__ */ (0,
|
|
9458
|
-
/* @__PURE__ */ (0,
|
|
10053
|
+
earlyAccessTimer && /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-3)", children: [
|
|
10054
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(ProgressBar_default, { progress }),
|
|
10055
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
|
|
9459
10056
|
Box_default,
|
|
9460
10057
|
{
|
|
9461
10058
|
display: "flex",
|
|
@@ -9463,9 +10060,9 @@ var LandownerProfile = ({
|
|
|
9463
10060
|
gap: "var(--spacing-1)",
|
|
9464
10061
|
textAlign: "center",
|
|
9465
10062
|
children: [
|
|
9466
|
-
/* @__PURE__ */ (0,
|
|
9467
|
-
/* @__PURE__ */ (0,
|
|
9468
|
-
/* @__PURE__ */ (0,
|
|
10063
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Text_default, { size: "xs", textAlign: "center", children: earlyAccessTimer.labelText }),
|
|
10064
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Text_default, { size: "sm", textAlign: "center", children: earlyAccessTimer.descriptionText }),
|
|
10065
|
+
/* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Box_default, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
|
|
9469
10066
|
Timer_default,
|
|
9470
10067
|
{
|
|
9471
10068
|
expirationTimestamp: earlyAccessTimer.expirationTimestamp,
|
|
@@ -9487,11 +10084,11 @@ var LandownerProfile = ({
|
|
|
9487
10084
|
var LandownerProfile_default = LandownerProfile;
|
|
9488
10085
|
|
|
9489
10086
|
// src/ListingChat/ListingChat.tsx
|
|
9490
|
-
var
|
|
10087
|
+
var import_react65 = require("react");
|
|
9491
10088
|
|
|
9492
10089
|
// src/ListingChat/ListingChat.styles.ts
|
|
9493
|
-
var
|
|
9494
|
-
var containerStyles4 =
|
|
10090
|
+
var import_react64 = require("@emotion/react");
|
|
10091
|
+
var containerStyles4 = import_react64.css`
|
|
9495
10092
|
display: flex;
|
|
9496
10093
|
flex-direction: column;
|
|
9497
10094
|
gap: var(--spacing-4);
|
|
@@ -9499,12 +10096,12 @@ var containerStyles4 = import_react63.css`
|
|
|
9499
10096
|
border-radius: var(--radius-lg);
|
|
9500
10097
|
background: var(--surface-success);
|
|
9501
10098
|
`;
|
|
9502
|
-
var headerStyles =
|
|
10099
|
+
var headerStyles = import_react64.css`
|
|
9503
10100
|
display: flex;
|
|
9504
10101
|
flex-direction: column;
|
|
9505
10102
|
gap: var(--spacing-2);
|
|
9506
10103
|
`;
|
|
9507
|
-
var chipsContainerStyles =
|
|
10104
|
+
var chipsContainerStyles = import_react64.css`
|
|
9508
10105
|
display: flex;
|
|
9509
10106
|
flex-wrap: wrap;
|
|
9510
10107
|
gap: var(--spacing-4);
|
|
@@ -9517,15 +10114,15 @@ var chipsContainerStyles = import_react63.css`
|
|
|
9517
10114
|
cursor: pointer;
|
|
9518
10115
|
}
|
|
9519
10116
|
`;
|
|
9520
|
-
var textAreaStyles =
|
|
10117
|
+
var textAreaStyles = import_react64.css`
|
|
9521
10118
|
min-height: 62px;
|
|
9522
10119
|
`;
|
|
9523
|
-
var inputWrapperStyles2 =
|
|
10120
|
+
var inputWrapperStyles2 = import_react64.css`
|
|
9524
10121
|
position: relative;
|
|
9525
10122
|
`;
|
|
9526
10123
|
|
|
9527
10124
|
// src/ListingChat/ListingChat.tsx
|
|
9528
|
-
var
|
|
10125
|
+
var import_jsx_runtime255 = require("@emotion/react/jsx-runtime");
|
|
9529
10126
|
var ListingChat = ({
|
|
9530
10127
|
onSubmit,
|
|
9531
10128
|
placeholder = "Ask anything about this listing\u2026",
|
|
@@ -9535,15 +10132,15 @@ var ListingChat = ({
|
|
|
9535
10132
|
disabled = false,
|
|
9536
10133
|
...rest
|
|
9537
10134
|
}) => {
|
|
9538
|
-
const [value, setValue] = (0,
|
|
9539
|
-
const handleSubmit = (0,
|
|
10135
|
+
const [value, setValue] = (0, import_react65.useState)("");
|
|
10136
|
+
const handleSubmit = (0, import_react65.useCallback)(() => {
|
|
9540
10137
|
const trimmed = value.trim();
|
|
9541
10138
|
if (!trimmed)
|
|
9542
10139
|
return;
|
|
9543
10140
|
onSubmit(trimmed);
|
|
9544
10141
|
setValue("");
|
|
9545
10142
|
}, [onSubmit, value]);
|
|
9546
|
-
const handleTagClick = (0,
|
|
10143
|
+
const handleTagClick = (0, import_react65.useCallback)(
|
|
9547
10144
|
(tag) => () => {
|
|
9548
10145
|
const trimmed = tag.trim();
|
|
9549
10146
|
if (!trimmed)
|
|
@@ -9552,18 +10149,18 @@ var ListingChat = ({
|
|
|
9552
10149
|
},
|
|
9553
10150
|
[onSubmit]
|
|
9554
10151
|
);
|
|
9555
|
-
return /* @__PURE__ */ (0,
|
|
9556
|
-
/* @__PURE__ */ (0,
|
|
9557
|
-
/* @__PURE__ */ (0,
|
|
9558
|
-
/* @__PURE__ */ (0,
|
|
9559
|
-
/* @__PURE__ */ (0,
|
|
9560
|
-
/* @__PURE__ */ (0,
|
|
9561
|
-
/* @__PURE__ */ (0,
|
|
10152
|
+
return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(Box_default, { css: containerStyles4, className, ...rest, children: [
|
|
10153
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(Box_default, { css: headerStyles, children: [
|
|
10154
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(Box_default, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
10155
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: title }),
|
|
10156
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-1)", children: [
|
|
10157
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Icon_default, { variant: "AiMagic", size: "medium" }),
|
|
10158
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Text_default, { size: "sm", children: "Beta" })
|
|
9562
10159
|
] })
|
|
9563
10160
|
] }),
|
|
9564
|
-
/* @__PURE__ */ (0,
|
|
10161
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Text_default, { size: "md", textWrap: "wrap", children: "Get instant answers with Buck, our AI powered assistant." })
|
|
9565
10162
|
] }),
|
|
9566
|
-
/* @__PURE__ */ (0,
|
|
10163
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Box_default, { css: inputWrapperStyles2, children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
9567
10164
|
TextArea,
|
|
9568
10165
|
{
|
|
9569
10166
|
rows: 1,
|
|
@@ -9578,803 +10175,276 @@ var ListingChat = ({
|
|
|
9578
10175
|
css: textAreaStyles
|
|
9579
10176
|
}
|
|
9580
10177
|
) }),
|
|
9581
|
-
tags.length > 0 && /* @__PURE__ */ (0,
|
|
9582
|
-
/* @__PURE__ */ (0,
|
|
9583
|
-
/* @__PURE__ */ (0,
|
|
10178
|
+
tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(import_jsx_runtime255.Fragment, { children: [
|
|
10179
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Text_default, { as: "div", size: "sm", fontWeight: "bold", children: "Try one of these" }),
|
|
10180
|
+
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Box_default, { css: chipsContainerStyles, children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
9584
10181
|
"button",
|
|
9585
10182
|
{
|
|
9586
10183
|
onClick: handleTagClick(tag),
|
|
9587
10184
|
disabled,
|
|
9588
|
-
children: /* @__PURE__ */ (0,
|
|
10185
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(TagChip_default, { children: tag })
|
|
9589
10186
|
},
|
|
9590
10187
|
tag
|
|
9591
10188
|
)) })
|
|
9592
|
-
] })
|
|
9593
|
-
] });
|
|
9594
|
-
};
|
|
9595
|
-
var ListingChat_default = ListingChat;
|
|
9596
|
-
|
|
9597
|
-
// src/Logo/Logo.tsx
|
|
9598
|
-
var import_react65 = require("@emotion/react");
|
|
9599
|
-
|
|
9600
|
-
// src/Logo/components/LandtrustPlusDark.tsx
|
|
9601
|
-
var import_jsx_runtime255 = require("@emotion/react/jsx-runtime");
|
|
9602
|
-
var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(
|
|
9603
|
-
"svg",
|
|
9604
|
-
{
|
|
9605
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9606
|
-
viewBox: "0 0 420 57",
|
|
9607
|
-
fill: "none",
|
|
9608
|
-
...props,
|
|
9609
|
-
children: [
|
|
9610
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)("g", { filter: "url(#landtrust-plus-dark_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
9611
|
-
"path",
|
|
9612
|
-
{
|
|
9613
|
-
fill: "#000",
|
|
9614
|
-
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
9615
|
-
}
|
|
9616
|
-
) }),
|
|
9617
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
9618
|
-
"path",
|
|
9619
|
-
{
|
|
9620
|
-
fill: "#FAD44E",
|
|
9621
|
-
stroke: "#FAD44E",
|
|
9622
|
-
strokeWidth: 0.92,
|
|
9623
|
-
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
9624
|
-
}
|
|
9625
|
-
),
|
|
9626
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
9627
|
-
"path",
|
|
9628
|
-
{
|
|
9629
|
-
fill: "#fff",
|
|
9630
|
-
d: "M376.053 15.765h-9.487V49.36h-11.149V15.876h-9.56V6.608h30.196zM204.29 15.782h-9.487v33.6h-11.149V15.895h-9.56V6.633h30.196zM93.047 6.652l12.637 23.357V6.608h10.179v42.775h-10.488L92.982 25.96v23.402H82.878V6.651zM242.366 35.996l5.154 13.364h-10.781a8334 8334 0 0 0-5.254-13.389h-4.683v13.398h-10.921V6.64h4.836c7.307 0 14.616-.037 21.922.017 2.864.02 4.677 1.613 4.742 4.448q.225 10.12 0 20.244c-.052 2.927-2.075 4.29-5.015 4.648m-15.525-20.1v11.248h8.609a.912.912 0 0 0 .909-.911v-9.428a.905.905 0 0 0-.909-.91zM71.772 49.392H61.244l-1.831-9.098H48.34c-.628 2.995-1.262 6.004-1.91 9.09H36.147c3.07-14.297 6.11-28.505 9.179-42.774h17.268c3.047 14.207 6.101 28.436 9.179 42.782M57.939 30.786 55 15.744h-2.134c-1.012 4.987-2.02 9.974-3.054 15.042zM10.818 40.21H24.46v9.173H0V6.608h10.818zM282.264 6.608v32.466a.92.92 0 0 1-.268.648.9.9 0 0 1-.645.267h-7.445a.9.9 0 0 1-.645-.267.92.92 0 0 1-.267-.648V6.608h-11.025V44.94c0 2.443 1.971 4.424 4.403 4.424h22.506c2.432 0 4.404-1.982 4.404-4.426V6.608zM131.337 49.383V6.657h22.522c5.154 0 8.955 3.645 8.989 8.81q.088 12.542 0 25.086c-.046 5.18-3.85 8.824-8.999 8.824h-22.512zm11.036-33.503v24.2c2.346 0 4.623.092 6.889-.031 1.554-.084 2.589-1.274 2.6-2.912q.067-9.16 0-18.32c-.013-1.644-1.046-2.828-2.596-2.912-2.27-.123-4.549-.03-6.893-.03zM306.214 36.48c0 1.9-.115 3.747.022 5.577.31 4.136 3.799 7.47 7.924 7.539q7.022.116 14.047 0c3.879-.06 7.534-3.112 7.826-6.906.268-3.905.275-7.825.02-11.731-.176-3.002-2.574-5.277-5.55-5.806a766 766 0 0 0-13.834-2.343c-.901-.142-1.186-.527-1.176-1.342.017-1.404 0-2.807.013-4.21 0-.96.462-1.414 1.457-1.405 2.875.027 5.752.021 8.627 0 .992 0 1.425.466 1.412 1.433v2.183h9.117c0-2.078.17-4.067-.036-6.017-.406-3.818-3.896-6.992-7.718-7.057a423 423 0 0 0-14.416 0c-3.784.07-7.434 3.38-7.651 7.124a108 108 0 0 0-.01 11.375c.147 3.103 2.539 5.547 5.567 6.082q6.97 1.233 13.954 2.367c.775.127 1.058.435 1.041 1.195-.031 1.485-.01 2.971-.01 4.458 0 .857-.414 1.298-1.283 1.298h-8.875c-.859 0-1.286-.458-1.304-1.3-.017-.842 0-1.63 0-2.509z"
|
|
9631
|
-
}
|
|
9632
|
-
),
|
|
9633
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(
|
|
9634
|
-
"filter",
|
|
9635
|
-
{
|
|
9636
|
-
id: "landtrust-plus-dark_svg__a",
|
|
9637
|
-
width: 35.106,
|
|
9638
|
-
height: 35.592,
|
|
9639
|
-
x: 382.017,
|
|
9640
|
-
y: 11.114,
|
|
9641
|
-
colorInterpolationFilters: "sRGB",
|
|
9642
|
-
filterUnits: "userSpaceOnUse",
|
|
9643
|
-
children: [
|
|
9644
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
9645
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
9646
|
-
"feColorMatrix",
|
|
9647
|
-
{
|
|
9648
|
-
in: "SourceAlpha",
|
|
9649
|
-
result: "hardAlpha",
|
|
9650
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
9651
|
-
}
|
|
9652
|
-
),
|
|
9653
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)("feOffset", { dy: 1 }),
|
|
9654
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
9655
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
9656
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
9657
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
9658
|
-
"feBlend",
|
|
9659
|
-
{
|
|
9660
|
-
in2: "BackgroundImageFix",
|
|
9661
|
-
result: "effect1_dropShadow_257_2540"
|
|
9662
|
-
}
|
|
9663
|
-
),
|
|
9664
|
-
/* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
|
|
9665
|
-
"feBlend",
|
|
9666
|
-
{
|
|
9667
|
-
in: "SourceGraphic",
|
|
9668
|
-
in2: "effect1_dropShadow_257_2540",
|
|
9669
|
-
result: "shape"
|
|
9670
|
-
}
|
|
9671
|
-
)
|
|
9672
|
-
]
|
|
9673
|
-
}
|
|
9674
|
-
) })
|
|
9675
|
-
]
|
|
9676
|
-
}
|
|
9677
|
-
);
|
|
9678
|
-
var LandtrustPlusDark_default = SvgLandtrustPlusDark;
|
|
9679
|
-
|
|
9680
|
-
// src/Logo/components/LandtrustPlusLight.tsx
|
|
9681
|
-
var import_jsx_runtime256 = require("@emotion/react/jsx-runtime");
|
|
9682
|
-
var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(
|
|
9683
|
-
"svg",
|
|
9684
|
-
{
|
|
9685
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9686
|
-
viewBox: "0 0 420 57",
|
|
9687
|
-
fill: "none",
|
|
9688
|
-
...props,
|
|
9689
|
-
children: [
|
|
9690
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("g", { filter: "url(#landtrust-plus-light_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
9691
|
-
"path",
|
|
9692
|
-
{
|
|
9693
|
-
fill: "#000",
|
|
9694
|
-
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
9695
|
-
}
|
|
9696
|
-
) }),
|
|
9697
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
9698
|
-
"path",
|
|
9699
|
-
{
|
|
9700
|
-
fill: "#FAD44E",
|
|
9701
|
-
stroke: "#FAD44E",
|
|
9702
|
-
strokeWidth: 0.92,
|
|
9703
|
-
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
9704
|
-
}
|
|
9705
|
-
),
|
|
9706
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
9707
|
-
"path",
|
|
9708
|
-
{
|
|
9709
|
-
fill: "#1A202C",
|
|
9710
|
-
d: "M376.053 15.765h-9.487V49.36h-11.149V15.876h-9.56V6.608h30.196zM204.29 15.782h-9.487v33.6h-11.149V15.895h-9.56V6.633h30.196zM93.047 6.652l12.637 23.357V6.608h10.179v42.775h-10.488L92.982 25.96v23.402H82.878V6.651zM242.366 35.996l5.154 13.364h-10.781a8334 8334 0 0 0-5.254-13.389h-4.683v13.398h-10.921V6.64h4.836c7.307 0 14.616-.037 21.922.017 2.864.02 4.677 1.613 4.742 4.448q.225 10.12 0 20.244c-.052 2.927-2.075 4.29-5.015 4.648m-15.525-20.1v11.248h8.609a.912.912 0 0 0 .909-.911v-9.428a.905.905 0 0 0-.909-.91zM71.772 49.392H61.244l-1.831-9.098H48.34c-.628 2.995-1.262 6.004-1.91 9.09H36.147c3.07-14.297 6.11-28.505 9.179-42.774h17.268c3.047 14.207 6.101 28.436 9.179 42.782M57.939 30.786 55 15.744h-2.134c-1.012 4.987-2.02 9.974-3.054 15.042zM10.818 40.21H24.46v9.173H0V6.608h10.818zM282.264 6.608v32.466a.92.92 0 0 1-.268.648.9.9 0 0 1-.645.267h-7.445a.9.9 0 0 1-.645-.267.92.92 0 0 1-.267-.648V6.608h-11.025V44.94c0 2.443 1.971 4.424 4.403 4.424h22.506c2.432 0 4.404-1.982 4.404-4.426V6.608zM131.337 49.383V6.657h22.522c5.154 0 8.955 3.645 8.989 8.81q.088 12.542 0 25.086c-.046 5.18-3.85 8.824-8.999 8.824h-22.512zm11.036-33.503v24.2c2.346 0 4.623.092 6.889-.031 1.554-.084 2.589-1.274 2.6-2.912q.067-9.16 0-18.32c-.013-1.644-1.046-2.828-2.596-2.912-2.27-.123-4.549-.03-6.893-.03zM306.214 36.48c0 1.9-.115 3.747.022 5.577.31 4.136 3.799 7.47 7.924 7.539q7.022.116 14.047 0c3.879-.06 7.534-3.112 7.826-6.906.268-3.905.275-7.825.02-11.731-.176-3.002-2.574-5.277-5.55-5.806a766 766 0 0 0-13.834-2.343c-.901-.142-1.186-.527-1.176-1.342.017-1.404 0-2.807.013-4.21 0-.96.462-1.414 1.457-1.405 2.875.027 5.752.021 8.627 0 .992 0 1.425.466 1.412 1.433v2.183h9.117c0-2.078.17-4.067-.036-6.017-.406-3.818-3.896-6.992-7.718-7.057a423 423 0 0 0-14.416 0c-3.784.07-7.434 3.38-7.651 7.124a108 108 0 0 0-.01 11.375c.147 3.103 2.539 5.547 5.567 6.082q6.97 1.233 13.954 2.367c.775.127 1.058.435 1.041 1.195-.031 1.485-.01 2.971-.01 4.458 0 .857-.414 1.298-1.283 1.298h-8.875c-.859 0-1.286-.458-1.304-1.3-.017-.842 0-1.63 0-2.509z"
|
|
9711
|
-
}
|
|
9712
|
-
),
|
|
9713
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(
|
|
9714
|
-
"filter",
|
|
9715
|
-
{
|
|
9716
|
-
id: "landtrust-plus-light_svg__a",
|
|
9717
|
-
width: 35.106,
|
|
9718
|
-
height: 35.592,
|
|
9719
|
-
x: 382.017,
|
|
9720
|
-
y: 11.114,
|
|
9721
|
-
colorInterpolationFilters: "sRGB",
|
|
9722
|
-
filterUnits: "userSpaceOnUse",
|
|
9723
|
-
children: [
|
|
9724
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
9725
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
9726
|
-
"feColorMatrix",
|
|
9727
|
-
{
|
|
9728
|
-
in: "SourceAlpha",
|
|
9729
|
-
result: "hardAlpha",
|
|
9730
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
9731
|
-
}
|
|
9732
|
-
),
|
|
9733
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feOffset", { dy: 1 }),
|
|
9734
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
9735
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
9736
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
9737
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
9738
|
-
"feBlend",
|
|
9739
|
-
{
|
|
9740
|
-
in2: "BackgroundImageFix",
|
|
9741
|
-
result: "effect1_dropShadow_257_2538"
|
|
9742
|
-
}
|
|
9743
|
-
),
|
|
9744
|
-
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
9745
|
-
"feBlend",
|
|
9746
|
-
{
|
|
9747
|
-
in: "SourceGraphic",
|
|
9748
|
-
in2: "effect1_dropShadow_257_2538",
|
|
9749
|
-
result: "shape"
|
|
9750
|
-
}
|
|
9751
|
-
)
|
|
9752
|
-
]
|
|
9753
|
-
}
|
|
9754
|
-
) })
|
|
9755
|
-
]
|
|
9756
|
-
}
|
|
9757
|
-
);
|
|
9758
|
-
var LandtrustPlusLight_default = SvgLandtrustPlusLight;
|
|
9759
|
-
|
|
9760
|
-
// src/Logo/components/LandtrustStandardDark.tsx
|
|
9761
|
-
var import_jsx_runtime257 = require("@emotion/react/jsx-runtime");
|
|
9762
|
-
var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(
|
|
9763
|
-
"svg",
|
|
9764
|
-
{
|
|
9765
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9766
|
-
viewBox: "0 0 420 74",
|
|
9767
|
-
fill: "none",
|
|
9768
|
-
...props,
|
|
9769
|
-
children: [
|
|
9770
|
-
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
9771
|
-
"path",
|
|
9772
|
-
{
|
|
9773
|
-
fill: "#E2430C",
|
|
9774
|
-
d: "m0 0 .037 47.582q-.003 1.401.186 2.79a15.6 15.6 0 0 0 1.223 4.315c1.787 3.934 3.9 6.263 5.914 8.25 4.047 4 8.07 6.023 10.83 7.383A50 50 0 0 0 28.29 74a50 50 0 0 0 10.103-3.68c2.76-1.36 6.783-3.384 10.83-7.383 2.014-1.987 4.126-4.316 5.921-8.25a15.7 15.7 0 0 0 1.223-4.316q.189-1.387.186-2.79L56.59 0zm51.397 5.141-.01 14.061H5.197l-.011-14.06zm-.023 31.322a30 30 0 0 0-3.911-.876c-.822-.126-4.159-.603-8.867-.05-2.086.248-3.97.712-7.736 1.64a197 197 0 0 0-6.62 1.774c-3.427 1.195-9.065 2.541-15.502 1.125a26 26 0 0 1-3.526-1.051L5.2 24.337h46.183zM36.542 65.57a41 41 0 0 1-8.252 3.009 41 41 0 0 1-8.249-3.009 69 69 0 0 1-1.53-.773l9.768-5.588 9.778 5.608c-.55.277-1.054.525-1.515.753m14.823-18.4q.001.736-.072 1.467a13.2 13.2 0 0 1-1.076 4.17c-1.46 3.213-3.182 5.114-4.83 6.739a28 28 0 0 1-2.348 2.074l-.235-.133-14.525-8.327-14.544 8.324-.203.115a28 28 0 0 1-2.328-2.057c-1.642-1.624-3.369-3.526-4.829-6.74A13.2 13.2 0 0 1 5.3 48.636a15 15 0 0 1-.073-1.467v-2.774q1.9.561 3.86.86c.82.127 4.16.603 8.87.05 2.083-.246 3.967-.712 7.732-1.639a184 184 0 0 0 6.62-1.766c3.428-1.197 9.064-2.541 15.503-1.125q1.823.399 3.569 1.051z"
|
|
9775
|
-
}
|
|
9776
|
-
),
|
|
9777
|
-
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
9778
|
-
"path",
|
|
9779
|
-
{
|
|
9780
|
-
fill: "#fff",
|
|
9781
|
-
d: "M420 9.08h-8.784v30.691h-10.322V9.182h-8.851V.715H420zM260.97 9.096h-8.784v30.696h-10.322V9.198h-8.851V.738h27.957zM157.974.755l11.701 21.339V.715h9.424v39.077h-9.71l-11.475-21.398v21.38h-9.355V.754zM296.224 27.563l4.772 12.208h-9.982a8131 8131 0 0 0-4.864-12.231h-4.336v12.24h-10.112V.743h4.477c6.766 0 13.534-.033 20.298.016 2.651.019 4.33 1.473 4.39 4.063q.209 9.246 0 18.495c-.048 2.674-1.921 3.918-4.643 4.246M281.849 9.2v10.276h7.972a.84.84 0 0 0 .777-.514.8.8 0 0 0 .064-.319v-8.612a.826.826 0 0 0-.52-.768.9.9 0 0 0-.321-.063zM138.276 39.801h-9.747l-1.695-8.311h-10.251c-.582 2.735-1.169 5.485-1.768 8.304h-9.523c2.842-13.062 5.656-26.042 8.498-39.077h15.988c2.821 12.98 5.649 25.978 8.498 39.084m-12.807-16.998c-.919-4.645-1.817-9.175-2.722-13.742h-1.976c-.936 4.557-1.87 9.113-2.828 13.742zM81.842 31.413h12.63v8.38H71.826V.714h10.016zM333.164.715v29.66a.8.8 0 0 1-.065.32.842.842 0 0 1-.78.516h-6.893a.85.85 0 0 1-.781-.515.8.8 0 0 1-.064-.32V.714h-10.207v35.019c0 1.072.429 2.1 1.194 2.857a4.1 4.1 0 0 0 2.882 1.184h20.838a4.1 4.1 0 0 0 2.883-1.184 4.02 4.02 0 0 0 1.194-2.859V.715zM193.426 39.792V.761h20.852c4.772 0 8.291 3.329 8.323 8.048q.081 11.457 0 22.917c-.042 4.732-3.565 8.061-8.332 8.061h-20.843zm10.217-8.498c2.173 0 4.281.084 6.379-.029 1.439-.077 2.397-1.163 2.407-2.66q.063-8.37 0-16.736c-.012-1.502-.968-2.583-2.403-2.66-2.102-.113-4.212-.028-6.383-.028zM355.338 28.004c0 1.737-.106 3.424.021 5.096.287 3.778 3.517 6.824 7.337 6.887q6.501.105 13.005 0c3.591-.054 6.976-2.842 7.246-6.309.248-3.568.254-7.148.018-10.717-.163-2.742-2.383-4.82-5.138-5.304a718 718 0 0 0-12.809-2.14c-.834-.13-1.097-.482-1.088-1.227.015-1.282 0-2.563.012-3.846 0-.876.428-1.291 1.348-1.283 2.662.025 5.326.02 7.988 0 .919 0 1.32.426 1.308 1.31v1.993h8.441c0-1.897.157-3.715-.034-5.497-.376-3.487-3.607-6.387-7.146-6.447a397 397 0 0 0-13.347 0c-3.503.065-6.883 3.088-7.084 6.509a97 97 0 0 0-.009 10.391c.136 2.835 2.351 5.068 5.154 5.557q6.453 1.127 12.92 2.162c.717.116.979.398.963 1.092-.028 1.356-.009 2.714-.009 4.072 0 .784-.383 1.187-1.187 1.187h-8.217c-.796 0-1.192-.42-1.207-1.188-.016-.77 0-1.49 0-2.292zM76.83 70.12h-1.979V54.978h-5.39v-1.752h12.768v1.752H76.83zM93.233 70.12v-8.188q0-1.548-.707-2.31T90.3 58.86q-2.016 0-2.941 1.084-.926 1.085-.932 3.558v6.618h-1.932V52.15h1.932v5.432q.01.817-.094 1.628h.117a3.94 3.94 0 0 1 1.624-1.437 5.3 5.3 0 0 1 2.406-.526q2.343 0 3.512 1.103t1.172 3.505v8.258zM104.532 70.35q-2.828 0-4.468-1.709-1.64-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.398 0 3.798 1.565t1.4 4.128v1.213h-8.796q.058 2.229 1.134 3.384 1.077 1.155 3.035 1.155a10.4 10.4 0 0 0 4.077-.845v1.71c-.625.272-1.276.483-1.944.63-.726.133-1.464.193-2.202.18m-.53-11.513q-1.537 0-2.452.992-.913.992-1.072 2.744h6.675q0-1.814-.816-2.778-.817-.964-2.33-.958zM120.991 63.099v7.021h-1.98V53.235h4.671q3.132 0 4.629 1.19t1.497 3.58q0 3.348-3.423 4.528l4.623 7.587h-2.338l-4.127-7.021zm0-1.688h2.714q2.098 0 3.076-.825.977-.825.977-2.478 0-1.675-.995-2.413t-3.197-.74h-2.575zM138.859 70.35q-2.828 0-4.466-1.709-1.638-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.399 0 3.797 1.565t1.398 4.128v1.213h-8.795q.059 2.229 1.136 3.384 1.079 1.155 3.035 1.155a10.4 10.4 0 0 0 4.076-.845v1.71c-.626.273-1.277.484-1.944.63-.726.133-1.464.193-2.203.18m-.53-11.513q-1.54 0-2.453.992t-1.069 2.744h6.674q0-1.814-.815-2.778t-2.33-.958zM151.953 70.35q-2.773 0-4.293-1.691t-1.52-4.788q0-3.175 1.542-4.906t4.398-1.733c.619 0 1.237.067 1.842.198.499.093.984.247 1.444.46l-.594 1.629a9.4 9.4 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.948 1.248 2.813 1.248a8.7 8.7 0 0 0 3.274-.676v1.698q-1.285.657-3.229.657M164.031 57.23a7.6 7.6 0 0 1 1.527.14l-.268 1.779a6.6 6.6 0 0 0-1.398-.175q-1.548 0-2.651 1.245-1.104 1.247-1.102 3.107v6.792h-1.931V57.462h1.59l.221 2.345h.094a5.6 5.6 0 0 1 1.713-1.905 3.87 3.87 0 0 1 2.205-.671M173.339 70.35q-2.828 0-4.467-1.709-1.638-1.708-1.636-4.747 0-3.06 1.52-4.86 1.52-1.803 4.083-1.804 2.4 0 3.796 1.565 1.397 1.565 1.398 4.13v1.213h-8.795q.058 2.229 1.137 3.384t3.034 1.154a10.4 10.4 0 0 0 4.078-.846v1.71c-.626.273-1.277.483-1.944.63-.727.133-1.465.193-2.204.18m-.53-11.513q-1.538 0-2.454.992-.915.992-1.069 2.744h6.674q0-1.814-.815-2.778t-2.329-.958zM189.18 70.12l-.383-1.803h-.094q-.954 1.192-1.903 1.612a5.9 5.9 0 0 1-2.371.42q-1.901 0-2.976-.968-1.074-.969-1.078-2.76 0-3.835 6.186-4.02l2.165-.068v-.787q0-1.488-.645-2.2-.645-.71-2.068-.71-1.59 0-3.611.97l-.594-1.467a9.3 9.3 0 0 1 4.322-1.084q2.283 0 3.383 1.004t1.101 3.222v8.64zm-4.367-1.353q1.805 0 2.828-.98 1.023-.981 1.03-2.749v-1.144l-1.933.08q-2.298.084-3.327.712-1.027.63-1.011 1.958 0 1.037.635 1.577t1.778.546M198.721 68.768q.497 0 .99-.074a7 7 0 0 0 .758-.156v1.467a3.6 3.6 0 0 1-.926.247 7 7 0 0 1-1.101.098q-3.712 0-3.712-3.868v-7.535h-1.829v-.923l1.829-.797.815-2.703h1.119v2.934h3.711v1.49h-3.711v7.449q0 1.143.548 1.752a1.918 1.918 0 0 0 1.509.619M202.857 54.032q0-.659.325-.964a1.21 1.21 0 0 1 1.619 0q.339.31.339.959 0 .647-.339.963a1.19 1.19 0 0 1-1.619 0q-.327-.311-.325-.958m2.096 16.088h-1.934V57.461h1.934zM220.074 63.779q0 3.096-1.573 4.834-1.573 1.74-4.345 1.737a5.8 5.8 0 0 1-3.04-.796 5.3 5.3 0 0 1-2.05-2.278 7.9 7.9 0 0 1-.723-3.489q0-3.093 1.561-4.82t4.333-1.728q2.679 0 4.258 1.768t1.579 4.772m-9.721 0q0 2.426.977 3.695.978 1.27 2.877 1.27t2.883-1.263.985-3.702q0-2.414-.985-3.666-.984-1.254-2.906-1.253-1.897 0-2.865 1.235-.966 1.236-.972 3.684zM232.198 70.12v-8.188q0-1.548-.707-2.31-.706-.762-2.223-.762-2.004 0-2.936 1.074t-.931 3.545v6.641h-1.945V57.461h1.573l.315 1.733h.094a3.9 3.9 0 0 1 1.665-1.449 5.44 5.44 0 0 1 2.388-.515q2.306 0 3.471 1.104t1.165 3.527v8.26zM255.299 70.12l-2.121-5.37h-6.826l-2.091 5.37h-2.004l6.734-16.954h1.665l6.698 16.954zm-2.731-7.137-1.981-5.232a27 27 0 0 1-.792-2.438q-.294 1.24-.734 2.438l-2.002 5.232zM264.5 70.35q-2.773 0-4.291-1.691t-1.522-4.788q0-3.175 1.545-4.906t4.397-1.733c.619 0 1.236.067 1.84.198.499.093.984.247 1.444.46l-.594 1.629a9.3 9.3 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.95 1.248 2.814 1.248a8.7 8.7 0 0 0 3.273-.682v1.698q-1.285.663-3.229.663M275.858 70.35q-2.773 0-4.293-1.691t-1.52-4.788q0-3.175 1.544-4.906t4.396-1.733c.619 0 1.237.067 1.842.198.499.093.984.247 1.444.46l-.594 1.629a9.4 9.4 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.948 1.248 2.814 1.248a8.7 8.7 0 0 0 3.273-.682v1.698q-1.285.663-3.229.663M287.507 70.35q-2.828 0-4.468-1.709-1.64-1.708-1.637-4.747 0-3.06 1.52-4.86 1.52-1.803 4.083-1.804 2.4 0 3.798 1.565t1.398 4.13v1.213h-8.795q.059 2.229 1.135 3.384t3.035 1.154a10.4 10.4 0 0 0 4.077-.855v1.71c-.625.273-1.277.483-1.944.63-.726.136-1.463.2-2.202.189m-.53-11.513q-1.538 0-2.452.992-.913.991-1.078 2.75h6.674q0-1.815-.815-2.778t-2.324-.964zM303.732 66.666q0 1.767-1.327 2.725-1.328.96-3.728.959-2.54 0-3.961-.796v-1.778a9.7 9.7 0 0 0 1.975.727 8.3 8.3 0 0 0 2.032.264q1.517 0 2.331-.478a1.65 1.65 0 0 0 .818-1.316 1.64 1.64 0 0 0-.641-1.409q-.647-.525-2.522-1.242-1.782-.658-2.533-1.15a3.4 3.4 0 0 1-1.119-1.114 2.9 2.9 0 0 1-.367-1.49 2.82 2.82 0 0 1 1.271-2.442q1.268-.894 3.482-.896c1.386.003 2.758.286 4.031.832l-.687 1.56q-1.921-.787-3.484-.785-1.374 0-2.073.426a1.321 1.321 0 0 0-.707 1.18c-.01.308.082.612.261.865.23.284.518.516.845.681q1.087.538 2.236.934 2.273.82 3.07 1.651a2.9 2.9 0 0 1 .797 2.092M315.113 66.666q0 1.767-1.328 2.725-1.327.96-3.727.959-2.54 0-3.961-.796v-1.778a9.7 9.7 0 0 0 1.974.727c.664.171 1.347.26 2.033.264q1.516 0 2.329-.478a1.65 1.65 0 0 0 .818-1.316 1.64 1.64 0 0 0-.641-1.409q-.647-.525-2.522-1.242-1.782-.658-2.533-1.15a3.4 3.4 0 0 1-1.119-1.114 2.9 2.9 0 0 1-.367-1.49 2.82 2.82 0 0 1 1.27-2.442q1.272-.894 3.482-.896c1.387.003 2.759.286 4.032.832l-.688 1.56q-1.921-.787-3.483-.785-1.374 0-2.074.426a1.32 1.32 0 0 0-.707 1.18c-.009.308.083.612.262.865.23.284.518.516.845.681q1.089.54 2.239.934 2.272.82 3.07 1.651a2.9 2.9 0 0 1 .796 2.092M338.049 70.12h-2.259l-9.307-14.171h-.094a65 65 0 0 1 .177 4.574v9.597h-1.828V53.235h2.24l9.284 14.113h.094q-.024-.312-.106-2.005c-.055-1.126-.075-1.927-.059-2.418v-9.69h1.853zM347.833 70.35q-2.828 0-4.466-1.709-1.638-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.399 0 3.797 1.565t1.398 4.13v1.213h-8.795q.059 2.229 1.136 3.384 1.079 1.154 3.035 1.154a10.4 10.4 0 0 0 4.076-.855v1.71a10.5 10.5 0 0 1-1.944.63c-.726.136-1.464.2-2.203.189m-.53-11.513q-1.538 0-2.453.992t-1.069 2.744h6.674q0-1.814-.815-2.778t-2.337-.958M359.947 68.768q.499 0 .992-.074.383-.057.756-.156v1.467a3.5 3.5 0 0 1-.926.247 7 7 0 0 1-1.101.098q-3.711 0-3.711-3.868v-7.535h-1.83v-.923l1.83-.797.814-2.703h1.137v2.934h3.712v1.49h-3.712v7.449q0 1.143.546 1.752a1.9 1.9 0 0 0 1.493.618M374.672 70.12l-2.342-7.426q-.22-.68-.827-3.095h-.092q-.466 2.019-.816 3.118l-2.411 7.403h-2.236l-3.484-12.659h2.028q1.236 4.771 1.88 7.266.643 2.493.741 3.36h.092q.13-.66.413-1.705.284-1.044.495-1.655l2.344-7.266h2.098l2.281 7.266c.373 1.087.668 2.2.884 3.329h.094q.09-.647.251-1.28.202-.869 2.428-9.322h2.003l-3.535 12.66zM393.822 63.779q0 3.096-1.573 4.834-1.572 1.74-4.344 1.737a5.8 5.8 0 0 1-3.04-.796 5.3 5.3 0 0 1-2.05-2.278 7.9 7.9 0 0 1-.723-3.489q0-3.093 1.56-4.82t4.334-1.728q2.682 0 4.258 1.768t1.578 4.772m-9.721 0q0 2.426.978 3.695.977 1.27 2.877 1.27t2.883-1.263q.984-1.263.984-3.702 0-2.414-.984-3.666-.984-1.254-2.906-1.253-1.898 0-2.865 1.235-.966 1.236-.972 3.684zM403.036 57.23a7.6 7.6 0 0 1 1.525.14l-.267 1.779a6.6 6.6 0 0 0-1.398-.175q-1.547 0-2.651 1.245-1.102 1.247-1.101 3.107v6.793h-1.933V57.46h1.59l.221 2.345h.094a5.6 5.6 0 0 1 1.713-1.905 3.87 3.87 0 0 1 2.207-.671M408.86 63.64a23 23 0 0 1 1.527-1.847l4.123-4.332h2.298l-5.17 5.394 5.532 7.265h-2.35l-4.509-5.982-1.457 1.246v4.731h-1.91V52.15h1.91v9.528q0 .636-.091 1.962z"
|
|
9782
|
-
}
|
|
9783
|
-
)
|
|
9784
|
-
]
|
|
9785
|
-
}
|
|
9786
|
-
);
|
|
9787
|
-
var LandtrustStandardDark_default = SvgLandtrustStandardDark;
|
|
10189
|
+
] })
|
|
10190
|
+
] });
|
|
10191
|
+
};
|
|
10192
|
+
var ListingChat_default = ListingChat;
|
|
9788
10193
|
|
|
9789
|
-
// src/Logo/
|
|
9790
|
-
var
|
|
9791
|
-
|
|
10194
|
+
// src/Logo/Logo.tsx
|
|
10195
|
+
var import_react66 = require("@emotion/react");
|
|
10196
|
+
|
|
10197
|
+
// src/Logo/components/LandtrustPlusDark.tsx
|
|
10198
|
+
var import_jsx_runtime256 = require("@emotion/react/jsx-runtime");
|
|
10199
|
+
var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(
|
|
9792
10200
|
"svg",
|
|
9793
10201
|
{
|
|
9794
10202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9795
|
-
viewBox: "0 0 420
|
|
10203
|
+
viewBox: "0 0 420 57",
|
|
9796
10204
|
fill: "none",
|
|
9797
10205
|
...props,
|
|
9798
10206
|
children: [
|
|
9799
|
-
/* @__PURE__ */ (0,
|
|
9800
|
-
"path",
|
|
9801
|
-
{
|
|
9802
|
-
fill: "#E2430C",
|
|
9803
|
-
d: "m0 0 .037 47.582q-.003 1.401.186 2.79a15.6 15.6 0 0 0 1.223 4.315c1.787 3.934 3.9 6.263 5.914 8.25 4.047 4 8.07 6.023 10.83 7.383A50 50 0 0 0 28.29 74a50 50 0 0 0 10.103-3.68c2.76-1.36 6.783-3.384 10.83-7.383 2.014-1.987 4.126-4.316 5.921-8.25a15.7 15.7 0 0 0 1.223-4.316q.189-1.387.186-2.79L56.59 0zm51.397 5.141-.01 14.061H5.197l-.011-14.06zm-.023 31.322a30 30 0 0 0-3.911-.876c-.822-.126-4.159-.603-8.867-.05-2.086.248-3.97.712-7.736 1.64a197 197 0 0 0-6.62 1.774c-3.427 1.195-9.065 2.541-15.502 1.125a26 26 0 0 1-3.526-1.051L5.2 24.337h46.183zM36.542 65.57a41 41 0 0 1-8.252 3.009 41 41 0 0 1-8.249-3.009 69 69 0 0 1-1.53-.773l9.768-5.588 9.778 5.608c-.55.277-1.054.525-1.515.753m14.823-18.4q.001.736-.072 1.467a13.2 13.2 0 0 1-1.076 4.17c-1.46 3.213-3.182 5.114-4.83 6.739a28 28 0 0 1-2.348 2.074l-.235-.133-14.525-8.327-14.544 8.324-.203.115a28 28 0 0 1-2.328-2.057c-1.642-1.624-3.369-3.526-4.829-6.74A13.2 13.2 0 0 1 5.3 48.636a15 15 0 0 1-.073-1.467v-2.774q1.9.561 3.86.86c.82.127 4.16.603 8.87.05 2.083-.246 3.967-.712 7.732-1.639a184 184 0 0 0 6.62-1.766c3.428-1.197 9.064-2.541 15.503-1.125q1.823.399 3.569 1.051z"
|
|
9804
|
-
}
|
|
9805
|
-
),
|
|
9806
|
-
/* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
|
|
10207
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("g", { filter: "url(#landtrust-plus-dark_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
9807
10208
|
"path",
|
|
9808
10209
|
{
|
|
9809
10210
|
fill: "#000",
|
|
9810
|
-
d: "
|
|
9811
|
-
}
|
|
9812
|
-
)
|
|
9813
|
-
]
|
|
9814
|
-
}
|
|
9815
|
-
);
|
|
9816
|
-
var LandtrustStandardLight_default = SvgLandtrustStandardLight;
|
|
9817
|
-
|
|
9818
|
-
// src/Logo/Logo.tsx
|
|
9819
|
-
var import_jsx_runtime259 = require("@emotion/react/jsx-runtime");
|
|
9820
|
-
var logoStyles = (size) => import_react65.css`
|
|
9821
|
-
width: ${space[size]};
|
|
9822
|
-
height: auto;
|
|
9823
|
-
display: block;
|
|
9824
|
-
`;
|
|
9825
|
-
var Logo = ({
|
|
9826
|
-
variant,
|
|
9827
|
-
theme = "light",
|
|
9828
|
-
size = 50,
|
|
9829
|
-
className,
|
|
9830
|
-
...rest
|
|
9831
|
-
}) => {
|
|
9832
|
-
const getLogoComponent = () => {
|
|
9833
|
-
if (variant === "standard" && theme === "light") {
|
|
9834
|
-
return LandtrustStandardLight_default;
|
|
9835
|
-
}
|
|
9836
|
-
if (variant === "standard" && theme === "dark") {
|
|
9837
|
-
return LandtrustStandardDark_default;
|
|
9838
|
-
}
|
|
9839
|
-
if (variant === "plus" && theme === "light") {
|
|
9840
|
-
return LandtrustPlusLight_default;
|
|
9841
|
-
}
|
|
9842
|
-
if (variant === "plus" && theme === "dark") {
|
|
9843
|
-
return LandtrustPlusDark_default;
|
|
9844
|
-
}
|
|
9845
|
-
return LandtrustStandardLight_default;
|
|
9846
|
-
};
|
|
9847
|
-
const LogoComponent = getLogoComponent();
|
|
9848
|
-
return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(LogoComponent, { css: logoStyles(size), className, ...rest });
|
|
9849
|
-
};
|
|
9850
|
-
var Logo_default = Logo;
|
|
9851
|
-
|
|
9852
|
-
// src/LottieAnimations/LottieAnimations.tsx
|
|
9853
|
-
var import_react66 = require("react");
|
|
9854
|
-
|
|
9855
|
-
// src/LottieAnimations/animations/loading.ts
|
|
9856
|
-
var loadingAnimationData = {
|
|
9857
|
-
nm: "Loading Dots",
|
|
9858
|
-
ddd: 0,
|
|
9859
|
-
h: 1080,
|
|
9860
|
-
w: 1920,
|
|
9861
|
-
meta: { g: "@lottiefiles/toolkit-js 0.26.1" },
|
|
9862
|
-
layers: [
|
|
9863
|
-
{
|
|
9864
|
-
ty: 4,
|
|
9865
|
-
nm: "Dot4",
|
|
9866
|
-
sr: 1,
|
|
9867
|
-
st: 0,
|
|
9868
|
-
op: 360,
|
|
9869
|
-
ip: 0,
|
|
9870
|
-
hd: false,
|
|
9871
|
-
ddd: 0,
|
|
9872
|
-
bm: 0,
|
|
9873
|
-
hasMask: false,
|
|
9874
|
-
ao: 0,
|
|
9875
|
-
ks: {
|
|
9876
|
-
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
9877
|
-
s: {
|
|
9878
|
-
a: 1,
|
|
9879
|
-
k: [
|
|
9880
|
-
{
|
|
9881
|
-
o: { x: 0.333, y: 0 },
|
|
9882
|
-
i: { x: 0.667, y: 1 },
|
|
9883
|
-
s: [50, 50, 100],
|
|
9884
|
-
t: 25
|
|
9885
|
-
},
|
|
9886
|
-
{
|
|
9887
|
-
o: { x: 0.333, y: 0 },
|
|
9888
|
-
i: { x: 0.667, y: 1 },
|
|
9889
|
-
s: [75, 75, 100],
|
|
9890
|
-
t: 39
|
|
9891
|
-
},
|
|
9892
|
-
{ s: [50, 50, 100], t: 55 }
|
|
9893
|
-
],
|
|
9894
|
-
ix: 6
|
|
9895
|
-
},
|
|
9896
|
-
sk: { a: 0, k: 0 },
|
|
9897
|
-
p: {
|
|
9898
|
-
a: 1,
|
|
9899
|
-
k: [
|
|
9900
|
-
{
|
|
9901
|
-
o: { x: 0.333, y: 0 },
|
|
9902
|
-
i: { x: 0.667, y: 1 },
|
|
9903
|
-
s: [1142, 540, 0],
|
|
9904
|
-
t: 25,
|
|
9905
|
-
ti: [0, 0, 0],
|
|
9906
|
-
to: [0, -6.667, 0]
|
|
9907
|
-
},
|
|
9908
|
-
{
|
|
9909
|
-
o: { x: 0.333, y: 0 },
|
|
9910
|
-
i: { x: 0.667, y: 1 },
|
|
9911
|
-
s: [1142, 500, 0],
|
|
9912
|
-
t: 39,
|
|
9913
|
-
ti: [0, -6.667, 0],
|
|
9914
|
-
to: [0, 0, 0]
|
|
9915
|
-
},
|
|
9916
|
-
{ s: [1142, 540, 0], t: 55 }
|
|
9917
|
-
],
|
|
9918
|
-
ix: 2
|
|
9919
|
-
},
|
|
9920
|
-
r: { a: 0, k: 0, ix: 10 },
|
|
9921
|
-
sa: { a: 0, k: 0 },
|
|
9922
|
-
o: {
|
|
9923
|
-
a: 1,
|
|
9924
|
-
k: [
|
|
9925
|
-
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 25 },
|
|
9926
|
-
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 39 },
|
|
9927
|
-
{ s: [25], t: 55 }
|
|
9928
|
-
],
|
|
9929
|
-
ix: 11
|
|
9930
|
-
}
|
|
9931
|
-
},
|
|
9932
|
-
ef: [],
|
|
9933
|
-
shapes: [
|
|
9934
|
-
{
|
|
9935
|
-
ty: "gr",
|
|
9936
|
-
bm: 0,
|
|
9937
|
-
hd: false,
|
|
9938
|
-
mn: "ADBE Vector Group",
|
|
9939
|
-
nm: "Ellipse 1",
|
|
9940
|
-
ix: 1,
|
|
9941
|
-
cix: 2,
|
|
9942
|
-
np: 3,
|
|
9943
|
-
it: [
|
|
9944
|
-
{
|
|
9945
|
-
ty: "el",
|
|
9946
|
-
bm: 0,
|
|
9947
|
-
hd: false,
|
|
9948
|
-
mn: "ADBE Vector Shape - Ellipse",
|
|
9949
|
-
nm: "Ellipse Path 1",
|
|
9950
|
-
d: 1,
|
|
9951
|
-
p: { a: 0, k: [0, 0], ix: 3 },
|
|
9952
|
-
s: { a: 0, k: [120, 120], ix: 2 }
|
|
9953
|
-
},
|
|
9954
|
-
{
|
|
9955
|
-
ty: "fl",
|
|
9956
|
-
bm: 0,
|
|
9957
|
-
hd: false,
|
|
9958
|
-
mn: "ADBE Vector Graphic - Fill",
|
|
9959
|
-
nm: "Fill 1",
|
|
9960
|
-
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
9961
|
-
r: 1,
|
|
9962
|
-
o: { a: 0, k: 100, ix: 5 }
|
|
9963
|
-
},
|
|
9964
|
-
{
|
|
9965
|
-
ty: "tr",
|
|
9966
|
-
a: { a: 0, k: [0, 0], ix: 1 },
|
|
9967
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
9968
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
9969
|
-
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
9970
|
-
r: { a: 0, k: 0, ix: 6 },
|
|
9971
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
9972
|
-
o: { a: 0, k: 100, ix: 7 }
|
|
9973
|
-
}
|
|
9974
|
-
]
|
|
10211
|
+
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
9975
10212
|
}
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
op: 360,
|
|
9985
|
-
ip: 0,
|
|
9986
|
-
hd: false,
|
|
9987
|
-
ddd: 0,
|
|
9988
|
-
bm: 0,
|
|
9989
|
-
hasMask: false,
|
|
9990
|
-
ao: 0,
|
|
9991
|
-
ks: {
|
|
9992
|
-
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
9993
|
-
s: {
|
|
9994
|
-
a: 1,
|
|
9995
|
-
k: [
|
|
9996
|
-
{
|
|
9997
|
-
o: { x: 0.333, y: 0 },
|
|
9998
|
-
i: { x: 0.667, y: 1 },
|
|
9999
|
-
s: [50, 50, 100],
|
|
10000
|
-
t: 17
|
|
10001
|
-
},
|
|
10002
|
-
{
|
|
10003
|
-
o: { x: 0.333, y: 0 },
|
|
10004
|
-
i: { x: 0.667, y: 1 },
|
|
10005
|
-
s: [75, 75, 100],
|
|
10006
|
-
t: 31
|
|
10007
|
-
},
|
|
10008
|
-
{ s: [50, 50, 100], t: 47 }
|
|
10009
|
-
],
|
|
10010
|
-
ix: 6
|
|
10011
|
-
},
|
|
10012
|
-
sk: { a: 0, k: 0 },
|
|
10013
|
-
p: {
|
|
10014
|
-
a: 1,
|
|
10015
|
-
k: [
|
|
10016
|
-
{
|
|
10017
|
-
o: { x: 0.333, y: 0 },
|
|
10018
|
-
i: { x: 0.667, y: 1 },
|
|
10019
|
-
s: [1022, 540, 0],
|
|
10020
|
-
t: 17,
|
|
10021
|
-
ti: [0, 0, 0],
|
|
10022
|
-
to: [0, -6.667, 0]
|
|
10023
|
-
},
|
|
10024
|
-
{
|
|
10025
|
-
o: { x: 0.333, y: 0 },
|
|
10026
|
-
i: { x: 0.667, y: 1 },
|
|
10027
|
-
s: [1022, 500, 0],
|
|
10028
|
-
t: 31,
|
|
10029
|
-
ti: [0, -6.667, 0],
|
|
10030
|
-
to: [0, 0, 0]
|
|
10031
|
-
},
|
|
10032
|
-
{ s: [1022, 540, 0], t: 47 }
|
|
10033
|
-
],
|
|
10034
|
-
ix: 2
|
|
10035
|
-
},
|
|
10036
|
-
r: { a: 0, k: 0, ix: 10 },
|
|
10037
|
-
sa: { a: 0, k: 0 },
|
|
10038
|
-
o: {
|
|
10039
|
-
a: 1,
|
|
10040
|
-
k: [
|
|
10041
|
-
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 17 },
|
|
10042
|
-
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 31 },
|
|
10043
|
-
{ s: [25], t: 47 }
|
|
10044
|
-
],
|
|
10045
|
-
ix: 11
|
|
10213
|
+
) }),
|
|
10214
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
10215
|
+
"path",
|
|
10216
|
+
{
|
|
10217
|
+
fill: "#FAD44E",
|
|
10218
|
+
stroke: "#FAD44E",
|
|
10219
|
+
strokeWidth: 0.92,
|
|
10220
|
+
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
10046
10221
|
}
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10222
|
+
),
|
|
10223
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
10224
|
+
"path",
|
|
10050
10225
|
{
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10226
|
+
fill: "#fff",
|
|
10227
|
+
d: "M376.053 15.765h-9.487V49.36h-11.149V15.876h-9.56V6.608h30.196zM204.29 15.782h-9.487v33.6h-11.149V15.895h-9.56V6.633h30.196zM93.047 6.652l12.637 23.357V6.608h10.179v42.775h-10.488L92.982 25.96v23.402H82.878V6.651zM242.366 35.996l5.154 13.364h-10.781a8334 8334 0 0 0-5.254-13.389h-4.683v13.398h-10.921V6.64h4.836c7.307 0 14.616-.037 21.922.017 2.864.02 4.677 1.613 4.742 4.448q.225 10.12 0 20.244c-.052 2.927-2.075 4.29-5.015 4.648m-15.525-20.1v11.248h8.609a.912.912 0 0 0 .909-.911v-9.428a.905.905 0 0 0-.909-.91zM71.772 49.392H61.244l-1.831-9.098H48.34c-.628 2.995-1.262 6.004-1.91 9.09H36.147c3.07-14.297 6.11-28.505 9.179-42.774h17.268c3.047 14.207 6.101 28.436 9.179 42.782M57.939 30.786 55 15.744h-2.134c-1.012 4.987-2.02 9.974-3.054 15.042zM10.818 40.21H24.46v9.173H0V6.608h10.818zM282.264 6.608v32.466a.92.92 0 0 1-.268.648.9.9 0 0 1-.645.267h-7.445a.9.9 0 0 1-.645-.267.92.92 0 0 1-.267-.648V6.608h-11.025V44.94c0 2.443 1.971 4.424 4.403 4.424h22.506c2.432 0 4.404-1.982 4.404-4.426V6.608zM131.337 49.383V6.657h22.522c5.154 0 8.955 3.645 8.989 8.81q.088 12.542 0 25.086c-.046 5.18-3.85 8.824-8.999 8.824h-22.512zm11.036-33.503v24.2c2.346 0 4.623.092 6.889-.031 1.554-.084 2.589-1.274 2.6-2.912q.067-9.16 0-18.32c-.013-1.644-1.046-2.828-2.596-2.912-2.27-.123-4.549-.03-6.893-.03zM306.214 36.48c0 1.9-.115 3.747.022 5.577.31 4.136 3.799 7.47 7.924 7.539q7.022.116 14.047 0c3.879-.06 7.534-3.112 7.826-6.906.268-3.905.275-7.825.02-11.731-.176-3.002-2.574-5.277-5.55-5.806a766 766 0 0 0-13.834-2.343c-.901-.142-1.186-.527-1.176-1.342.017-1.404 0-2.807.013-4.21 0-.96.462-1.414 1.457-1.405 2.875.027 5.752.021 8.627 0 .992 0 1.425.466 1.412 1.433v2.183h9.117c0-2.078.17-4.067-.036-6.017-.406-3.818-3.896-6.992-7.718-7.057a423 423 0 0 0-14.416 0c-3.784.07-7.434 3.38-7.651 7.124a108 108 0 0 0-.01 11.375c.147 3.103 2.539 5.547 5.567 6.082q6.97 1.233 13.954 2.367c.775.127 1.058.435 1.041 1.195-.031 1.485-.01 2.971-.01 4.458 0 .857-.414 1.298-1.283 1.298h-8.875c-.859 0-1.286-.458-1.304-1.3-.017-.842 0-1.63 0-2.509z"
|
|
10228
|
+
}
|
|
10229
|
+
),
|
|
10230
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(
|
|
10231
|
+
"filter",
|
|
10232
|
+
{
|
|
10233
|
+
id: "landtrust-plus-dark_svg__a",
|
|
10234
|
+
width: 35.106,
|
|
10235
|
+
height: 35.592,
|
|
10236
|
+
x: 382.017,
|
|
10237
|
+
y: 11.114,
|
|
10238
|
+
colorInterpolationFilters: "sRGB",
|
|
10239
|
+
filterUnits: "userSpaceOnUse",
|
|
10240
|
+
children: [
|
|
10241
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
10242
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
10243
|
+
"feColorMatrix",
|
|
10244
|
+
{
|
|
10245
|
+
in: "SourceAlpha",
|
|
10246
|
+
result: "hardAlpha",
|
|
10247
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
10248
|
+
}
|
|
10249
|
+
),
|
|
10250
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feOffset", { dy: 1 }),
|
|
10251
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
10252
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
10253
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
10254
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
10255
|
+
"feBlend",
|
|
10256
|
+
{
|
|
10257
|
+
in2: "BackgroundImageFix",
|
|
10258
|
+
result: "effect1_dropShadow_257_2540"
|
|
10259
|
+
}
|
|
10260
|
+
),
|
|
10261
|
+
/* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
|
|
10262
|
+
"feBlend",
|
|
10263
|
+
{
|
|
10264
|
+
in: "SourceGraphic",
|
|
10265
|
+
in2: "effect1_dropShadow_257_2540",
|
|
10266
|
+
result: "shape"
|
|
10267
|
+
}
|
|
10268
|
+
)
|
|
10090
10269
|
]
|
|
10091
10270
|
}
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
o: { x: 0.333, y: 0 },
|
|
10114
|
-
i: { x: 0.667, y: 1 },
|
|
10115
|
-
s: [50, 50, 100],
|
|
10116
|
-
t: 9
|
|
10117
|
-
},
|
|
10118
|
-
{
|
|
10119
|
-
o: { x: 0.333, y: 0 },
|
|
10120
|
-
i: { x: 0.667, y: 1 },
|
|
10121
|
-
s: [75, 75, 100],
|
|
10122
|
-
t: 23
|
|
10123
|
-
},
|
|
10124
|
-
{ s: [50, 50, 100], t: 39 }
|
|
10125
|
-
],
|
|
10126
|
-
ix: 6
|
|
10127
|
-
},
|
|
10128
|
-
sk: { a: 0, k: 0 },
|
|
10129
|
-
p: {
|
|
10130
|
-
a: 1,
|
|
10131
|
-
k: [
|
|
10132
|
-
{
|
|
10133
|
-
o: { x: 0.333, y: 0 },
|
|
10134
|
-
i: { x: 0.667, y: 1 },
|
|
10135
|
-
s: [902, 540, 0],
|
|
10136
|
-
t: 9,
|
|
10137
|
-
ti: [0, 0, 0],
|
|
10138
|
-
to: [0, -6.667, 0]
|
|
10139
|
-
},
|
|
10140
|
-
{
|
|
10141
|
-
o: { x: 0.333, y: 0 },
|
|
10142
|
-
i: { x: 0.667, y: 1 },
|
|
10143
|
-
s: [902, 500, 0],
|
|
10144
|
-
t: 23,
|
|
10145
|
-
ti: [0, 0, 0],
|
|
10146
|
-
to: [0, 0, 0]
|
|
10147
|
-
},
|
|
10148
|
-
{ s: [902, 540, 0], t: 39 }
|
|
10149
|
-
],
|
|
10150
|
-
ix: 2
|
|
10151
|
-
},
|
|
10152
|
-
r: { a: 0, k: 0, ix: 10 },
|
|
10153
|
-
sa: { a: 0, k: 0 },
|
|
10154
|
-
o: {
|
|
10155
|
-
a: 1,
|
|
10156
|
-
k: [
|
|
10157
|
-
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 9 },
|
|
10158
|
-
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 23 },
|
|
10159
|
-
{ s: [25], t: 39 }
|
|
10160
|
-
],
|
|
10161
|
-
ix: 11
|
|
10271
|
+
) })
|
|
10272
|
+
]
|
|
10273
|
+
}
|
|
10274
|
+
);
|
|
10275
|
+
var LandtrustPlusDark_default = SvgLandtrustPlusDark;
|
|
10276
|
+
|
|
10277
|
+
// src/Logo/components/LandtrustPlusLight.tsx
|
|
10278
|
+
var import_jsx_runtime257 = require("@emotion/react/jsx-runtime");
|
|
10279
|
+
var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(
|
|
10280
|
+
"svg",
|
|
10281
|
+
{
|
|
10282
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10283
|
+
viewBox: "0 0 420 57",
|
|
10284
|
+
fill: "none",
|
|
10285
|
+
...props,
|
|
10286
|
+
children: [
|
|
10287
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)("g", { filter: "url(#landtrust-plus-light_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
10288
|
+
"path",
|
|
10289
|
+
{
|
|
10290
|
+
fill: "#000",
|
|
10291
|
+
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
10162
10292
|
}
|
|
10163
|
-
},
|
|
10164
|
-
|
|
10165
|
-
|
|
10293
|
+
) }),
|
|
10294
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
10295
|
+
"path",
|
|
10166
10296
|
{
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
|
|
10195
|
-
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10297
|
+
fill: "#FAD44E",
|
|
10298
|
+
stroke: "#FAD44E",
|
|
10299
|
+
strokeWidth: 0.92,
|
|
10300
|
+
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
10301
|
+
}
|
|
10302
|
+
),
|
|
10303
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
10304
|
+
"path",
|
|
10305
|
+
{
|
|
10306
|
+
fill: "#1A202C",
|
|
10307
|
+
d: "M376.053 15.765h-9.487V49.36h-11.149V15.876h-9.56V6.608h30.196zM204.29 15.782h-9.487v33.6h-11.149V15.895h-9.56V6.633h30.196zM93.047 6.652l12.637 23.357V6.608h10.179v42.775h-10.488L92.982 25.96v23.402H82.878V6.651zM242.366 35.996l5.154 13.364h-10.781a8334 8334 0 0 0-5.254-13.389h-4.683v13.398h-10.921V6.64h4.836c7.307 0 14.616-.037 21.922.017 2.864.02 4.677 1.613 4.742 4.448q.225 10.12 0 20.244c-.052 2.927-2.075 4.29-5.015 4.648m-15.525-20.1v11.248h8.609a.912.912 0 0 0 .909-.911v-9.428a.905.905 0 0 0-.909-.91zM71.772 49.392H61.244l-1.831-9.098H48.34c-.628 2.995-1.262 6.004-1.91 9.09H36.147c3.07-14.297 6.11-28.505 9.179-42.774h17.268c3.047 14.207 6.101 28.436 9.179 42.782M57.939 30.786 55 15.744h-2.134c-1.012 4.987-2.02 9.974-3.054 15.042zM10.818 40.21H24.46v9.173H0V6.608h10.818zM282.264 6.608v32.466a.92.92 0 0 1-.268.648.9.9 0 0 1-.645.267h-7.445a.9.9 0 0 1-.645-.267.92.92 0 0 1-.267-.648V6.608h-11.025V44.94c0 2.443 1.971 4.424 4.403 4.424h22.506c2.432 0 4.404-1.982 4.404-4.426V6.608zM131.337 49.383V6.657h22.522c5.154 0 8.955 3.645 8.989 8.81q.088 12.542 0 25.086c-.046 5.18-3.85 8.824-8.999 8.824h-22.512zm11.036-33.503v24.2c2.346 0 4.623.092 6.889-.031 1.554-.084 2.589-1.274 2.6-2.912q.067-9.16 0-18.32c-.013-1.644-1.046-2.828-2.596-2.912-2.27-.123-4.549-.03-6.893-.03zM306.214 36.48c0 1.9-.115 3.747.022 5.577.31 4.136 3.799 7.47 7.924 7.539q7.022.116 14.047 0c3.879-.06 7.534-3.112 7.826-6.906.268-3.905.275-7.825.02-11.731-.176-3.002-2.574-5.277-5.55-5.806a766 766 0 0 0-13.834-2.343c-.901-.142-1.186-.527-1.176-1.342.017-1.404 0-2.807.013-4.21 0-.96.462-1.414 1.457-1.405 2.875.027 5.752.021 8.627 0 .992 0 1.425.466 1.412 1.433v2.183h9.117c0-2.078.17-4.067-.036-6.017-.406-3.818-3.896-6.992-7.718-7.057a423 423 0 0 0-14.416 0c-3.784.07-7.434 3.38-7.651 7.124a108 108 0 0 0-.01 11.375c.147 3.103 2.539 5.547 5.567 6.082q6.97 1.233 13.954 2.367c.775.127 1.058.435 1.041 1.195-.031 1.485-.01 2.971-.01 4.458 0 .857-.414 1.298-1.283 1.298h-8.875c-.859 0-1.286-.458-1.304-1.3-.017-.842 0-1.63 0-2.509z"
|
|
10308
|
+
}
|
|
10309
|
+
),
|
|
10310
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(
|
|
10311
|
+
"filter",
|
|
10312
|
+
{
|
|
10313
|
+
id: "landtrust-plus-light_svg__a",
|
|
10314
|
+
width: 35.106,
|
|
10315
|
+
height: 35.592,
|
|
10316
|
+
x: 382.017,
|
|
10317
|
+
y: 11.114,
|
|
10318
|
+
colorInterpolationFilters: "sRGB",
|
|
10319
|
+
filterUnits: "userSpaceOnUse",
|
|
10320
|
+
children: [
|
|
10321
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
10322
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
10323
|
+
"feColorMatrix",
|
|
10324
|
+
{
|
|
10325
|
+
in: "SourceAlpha",
|
|
10326
|
+
result: "hardAlpha",
|
|
10327
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
10328
|
+
}
|
|
10329
|
+
),
|
|
10330
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)("feOffset", { dy: 1 }),
|
|
10331
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
10332
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
10333
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
10334
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
10335
|
+
"feBlend",
|
|
10336
|
+
{
|
|
10337
|
+
in2: "BackgroundImageFix",
|
|
10338
|
+
result: "effect1_dropShadow_257_2538"
|
|
10339
|
+
}
|
|
10340
|
+
),
|
|
10341
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
10342
|
+
"feBlend",
|
|
10343
|
+
{
|
|
10344
|
+
in: "SourceGraphic",
|
|
10345
|
+
in2: "effect1_dropShadow_257_2538",
|
|
10346
|
+
result: "shape"
|
|
10347
|
+
}
|
|
10348
|
+
)
|
|
10206
10349
|
]
|
|
10207
10350
|
}
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
o: { x: 0.333, y: 0 },
|
|
10230
|
-
i: { x: 0.667, y: 1 },
|
|
10231
|
-
s: [50, 50, 100],
|
|
10232
|
-
t: 0
|
|
10233
|
-
},
|
|
10234
|
-
{
|
|
10235
|
-
o: { x: 0.333, y: 0 },
|
|
10236
|
-
i: { x: 0.667, y: 1 },
|
|
10237
|
-
s: [75, 75, 100],
|
|
10238
|
-
t: 14
|
|
10239
|
-
},
|
|
10240
|
-
{ s: [50, 50, 100], t: 30 }
|
|
10241
|
-
],
|
|
10242
|
-
ix: 6
|
|
10243
|
-
},
|
|
10244
|
-
sk: { a: 0, k: 0 },
|
|
10245
|
-
p: {
|
|
10246
|
-
a: 1,
|
|
10247
|
-
k: [
|
|
10248
|
-
{
|
|
10249
|
-
o: { x: 0.333, y: 0 },
|
|
10250
|
-
i: { x: 0.667, y: 1 },
|
|
10251
|
-
s: [782, 540, 0],
|
|
10252
|
-
t: 0,
|
|
10253
|
-
ti: [0, 0, 0],
|
|
10254
|
-
to: [0, -6.667, 0]
|
|
10255
|
-
},
|
|
10256
|
-
{
|
|
10257
|
-
o: { x: 0.333, y: 0 },
|
|
10258
|
-
i: { x: 0.667, y: 1 },
|
|
10259
|
-
s: [782, 500, 0],
|
|
10260
|
-
t: 14,
|
|
10261
|
-
ti: [0, -6.667, 0],
|
|
10262
|
-
to: [0, 0, 0]
|
|
10263
|
-
},
|
|
10264
|
-
{ s: [782, 540, 0], t: 30 }
|
|
10265
|
-
],
|
|
10266
|
-
ix: 2
|
|
10267
|
-
},
|
|
10268
|
-
r: { a: 0, k: 0, ix: 10 },
|
|
10269
|
-
sa: { a: 0, k: 0 },
|
|
10270
|
-
o: {
|
|
10271
|
-
a: 1,
|
|
10272
|
-
k: [
|
|
10273
|
-
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 0 },
|
|
10274
|
-
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 14 },
|
|
10275
|
-
{ s: [25], t: 30 }
|
|
10276
|
-
],
|
|
10277
|
-
ix: 11
|
|
10351
|
+
) })
|
|
10352
|
+
]
|
|
10353
|
+
}
|
|
10354
|
+
);
|
|
10355
|
+
var LandtrustPlusLight_default = SvgLandtrustPlusLight;
|
|
10356
|
+
|
|
10357
|
+
// src/Logo/components/LandtrustStandardDark.tsx
|
|
10358
|
+
var import_jsx_runtime258 = require("@emotion/react/jsx-runtime");
|
|
10359
|
+
var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)(
|
|
10360
|
+
"svg",
|
|
10361
|
+
{
|
|
10362
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10363
|
+
viewBox: "0 0 420 74",
|
|
10364
|
+
fill: "none",
|
|
10365
|
+
...props,
|
|
10366
|
+
children: [
|
|
10367
|
+
/* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
|
|
10368
|
+
"path",
|
|
10369
|
+
{
|
|
10370
|
+
fill: "#E2430C",
|
|
10371
|
+
d: "m0 0 .037 47.582q-.003 1.401.186 2.79a15.6 15.6 0 0 0 1.223 4.315c1.787 3.934 3.9 6.263 5.914 8.25 4.047 4 8.07 6.023 10.83 7.383A50 50 0 0 0 28.29 74a50 50 0 0 0 10.103-3.68c2.76-1.36 6.783-3.384 10.83-7.383 2.014-1.987 4.126-4.316 5.921-8.25a15.7 15.7 0 0 0 1.223-4.316q.189-1.387.186-2.79L56.59 0zm51.397 5.141-.01 14.061H5.197l-.011-14.06zm-.023 31.322a30 30 0 0 0-3.911-.876c-.822-.126-4.159-.603-8.867-.05-2.086.248-3.97.712-7.736 1.64a197 197 0 0 0-6.62 1.774c-3.427 1.195-9.065 2.541-15.502 1.125a26 26 0 0 1-3.526-1.051L5.2 24.337h46.183zM36.542 65.57a41 41 0 0 1-8.252 3.009 41 41 0 0 1-8.249-3.009 69 69 0 0 1-1.53-.773l9.768-5.588 9.778 5.608c-.55.277-1.054.525-1.515.753m14.823-18.4q.001.736-.072 1.467a13.2 13.2 0 0 1-1.076 4.17c-1.46 3.213-3.182 5.114-4.83 6.739a28 28 0 0 1-2.348 2.074l-.235-.133-14.525-8.327-14.544 8.324-.203.115a28 28 0 0 1-2.328-2.057c-1.642-1.624-3.369-3.526-4.829-6.74A13.2 13.2 0 0 1 5.3 48.636a15 15 0 0 1-.073-1.467v-2.774q1.9.561 3.86.86c.82.127 4.16.603 8.87.05 2.083-.246 3.967-.712 7.732-1.639a184 184 0 0 0 6.62-1.766c3.428-1.197 9.064-2.541 15.503-1.125q1.823.399 3.569 1.051z"
|
|
10278
10372
|
}
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10373
|
+
),
|
|
10374
|
+
/* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
|
|
10375
|
+
"path",
|
|
10282
10376
|
{
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
hd: false,
|
|
10286
|
-
mn: "ADBE Vector Group",
|
|
10287
|
-
nm: "Ellipse 1",
|
|
10288
|
-
ix: 1,
|
|
10289
|
-
cix: 2,
|
|
10290
|
-
np: 3,
|
|
10291
|
-
it: [
|
|
10292
|
-
{
|
|
10293
|
-
ty: "el",
|
|
10294
|
-
bm: 0,
|
|
10295
|
-
hd: false,
|
|
10296
|
-
mn: "ADBE Vector Shape - Ellipse",
|
|
10297
|
-
nm: "Ellipse Path 1",
|
|
10298
|
-
d: 1,
|
|
10299
|
-
p: { a: 0, k: [0, 0], ix: 3 },
|
|
10300
|
-
s: { a: 0, k: [120, 120], ix: 2 }
|
|
10301
|
-
},
|
|
10302
|
-
{
|
|
10303
|
-
ty: "fl",
|
|
10304
|
-
bm: 0,
|
|
10305
|
-
hd: false,
|
|
10306
|
-
mn: "ADBE Vector Graphic - Fill",
|
|
10307
|
-
nm: "Fill 1",
|
|
10308
|
-
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
10309
|
-
r: 1,
|
|
10310
|
-
o: { a: 0, k: 100, ix: 5 }
|
|
10311
|
-
},
|
|
10312
|
-
{
|
|
10313
|
-
ty: "tr",
|
|
10314
|
-
a: { a: 0, k: [0, 0], ix: 1 },
|
|
10315
|
-
s: { a: 0, k: [100, 100], ix: 3 },
|
|
10316
|
-
sk: { a: 0, k: 0, ix: 4 },
|
|
10317
|
-
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
10318
|
-
r: { a: 0, k: 0, ix: 6 },
|
|
10319
|
-
sa: { a: 0, k: 0, ix: 5 },
|
|
10320
|
-
o: { a: 0, k: 100, ix: 7 }
|
|
10321
|
-
}
|
|
10322
|
-
]
|
|
10377
|
+
fill: "#fff",
|
|
10378
|
+
d: "M420 9.08h-8.784v30.691h-10.322V9.182h-8.851V.715H420zM260.97 9.096h-8.784v30.696h-10.322V9.198h-8.851V.738h27.957zM157.974.755l11.701 21.339V.715h9.424v39.077h-9.71l-11.475-21.398v21.38h-9.355V.754zM296.224 27.563l4.772 12.208h-9.982a8131 8131 0 0 0-4.864-12.231h-4.336v12.24h-10.112V.743h4.477c6.766 0 13.534-.033 20.298.016 2.651.019 4.33 1.473 4.39 4.063q.209 9.246 0 18.495c-.048 2.674-1.921 3.918-4.643 4.246M281.849 9.2v10.276h7.972a.84.84 0 0 0 .777-.514.8.8 0 0 0 .064-.319v-8.612a.826.826 0 0 0-.52-.768.9.9 0 0 0-.321-.063zM138.276 39.801h-9.747l-1.695-8.311h-10.251c-.582 2.735-1.169 5.485-1.768 8.304h-9.523c2.842-13.062 5.656-26.042 8.498-39.077h15.988c2.821 12.98 5.649 25.978 8.498 39.084m-12.807-16.998c-.919-4.645-1.817-9.175-2.722-13.742h-1.976c-.936 4.557-1.87 9.113-2.828 13.742zM81.842 31.413h12.63v8.38H71.826V.714h10.016zM333.164.715v29.66a.8.8 0 0 1-.065.32.842.842 0 0 1-.78.516h-6.893a.85.85 0 0 1-.781-.515.8.8 0 0 1-.064-.32V.714h-10.207v35.019c0 1.072.429 2.1 1.194 2.857a4.1 4.1 0 0 0 2.882 1.184h20.838a4.1 4.1 0 0 0 2.883-1.184 4.02 4.02 0 0 0 1.194-2.859V.715zM193.426 39.792V.761h20.852c4.772 0 8.291 3.329 8.323 8.048q.081 11.457 0 22.917c-.042 4.732-3.565 8.061-8.332 8.061h-20.843zm10.217-8.498c2.173 0 4.281.084 6.379-.029 1.439-.077 2.397-1.163 2.407-2.66q.063-8.37 0-16.736c-.012-1.502-.968-2.583-2.403-2.66-2.102-.113-4.212-.028-6.383-.028zM355.338 28.004c0 1.737-.106 3.424.021 5.096.287 3.778 3.517 6.824 7.337 6.887q6.501.105 13.005 0c3.591-.054 6.976-2.842 7.246-6.309.248-3.568.254-7.148.018-10.717-.163-2.742-2.383-4.82-5.138-5.304a718 718 0 0 0-12.809-2.14c-.834-.13-1.097-.482-1.088-1.227.015-1.282 0-2.563.012-3.846 0-.876.428-1.291 1.348-1.283 2.662.025 5.326.02 7.988 0 .919 0 1.32.426 1.308 1.31v1.993h8.441c0-1.897.157-3.715-.034-5.497-.376-3.487-3.607-6.387-7.146-6.447a397 397 0 0 0-13.347 0c-3.503.065-6.883 3.088-7.084 6.509a97 97 0 0 0-.009 10.391c.136 2.835 2.351 5.068 5.154 5.557q6.453 1.127 12.92 2.162c.717.116.979.398.963 1.092-.028 1.356-.009 2.714-.009 4.072 0 .784-.383 1.187-1.187 1.187h-8.217c-.796 0-1.192-.42-1.207-1.188-.016-.77 0-1.49 0-2.292zM76.83 70.12h-1.979V54.978h-5.39v-1.752h12.768v1.752H76.83zM93.233 70.12v-8.188q0-1.548-.707-2.31T90.3 58.86q-2.016 0-2.941 1.084-.926 1.085-.932 3.558v6.618h-1.932V52.15h1.932v5.432q.01.817-.094 1.628h.117a3.94 3.94 0 0 1 1.624-1.437 5.3 5.3 0 0 1 2.406-.526q2.343 0 3.512 1.103t1.172 3.505v8.258zM104.532 70.35q-2.828 0-4.468-1.709-1.64-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.398 0 3.798 1.565t1.4 4.128v1.213h-8.796q.058 2.229 1.134 3.384 1.077 1.155 3.035 1.155a10.4 10.4 0 0 0 4.077-.845v1.71c-.625.272-1.276.483-1.944.63-.726.133-1.464.193-2.202.18m-.53-11.513q-1.537 0-2.452.992-.913.992-1.072 2.744h6.675q0-1.814-.816-2.778-.817-.964-2.33-.958zM120.991 63.099v7.021h-1.98V53.235h4.671q3.132 0 4.629 1.19t1.497 3.58q0 3.348-3.423 4.528l4.623 7.587h-2.338l-4.127-7.021zm0-1.688h2.714q2.098 0 3.076-.825.977-.825.977-2.478 0-1.675-.995-2.413t-3.197-.74h-2.575zM138.859 70.35q-2.828 0-4.466-1.709-1.638-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.399 0 3.797 1.565t1.398 4.128v1.213h-8.795q.059 2.229 1.136 3.384 1.079 1.155 3.035 1.155a10.4 10.4 0 0 0 4.076-.845v1.71c-.626.273-1.277.484-1.944.63-.726.133-1.464.193-2.203.18m-.53-11.513q-1.54 0-2.453.992t-1.069 2.744h6.674q0-1.814-.815-2.778t-2.33-.958zM151.953 70.35q-2.773 0-4.293-1.691t-1.52-4.788q0-3.175 1.542-4.906t4.398-1.733c.619 0 1.237.067 1.842.198.499.093.984.247 1.444.46l-.594 1.629a9.4 9.4 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.948 1.248 2.813 1.248a8.7 8.7 0 0 0 3.274-.676v1.698q-1.285.657-3.229.657M164.031 57.23a7.6 7.6 0 0 1 1.527.14l-.268 1.779a6.6 6.6 0 0 0-1.398-.175q-1.548 0-2.651 1.245-1.104 1.247-1.102 3.107v6.792h-1.931V57.462h1.59l.221 2.345h.094a5.6 5.6 0 0 1 1.713-1.905 3.87 3.87 0 0 1 2.205-.671M173.339 70.35q-2.828 0-4.467-1.709-1.638-1.708-1.636-4.747 0-3.06 1.52-4.86 1.52-1.803 4.083-1.804 2.4 0 3.796 1.565 1.397 1.565 1.398 4.13v1.213h-8.795q.058 2.229 1.137 3.384t3.034 1.154a10.4 10.4 0 0 0 4.078-.846v1.71c-.626.273-1.277.483-1.944.63-.727.133-1.465.193-2.204.18m-.53-11.513q-1.538 0-2.454.992-.915.992-1.069 2.744h6.674q0-1.814-.815-2.778t-2.329-.958zM189.18 70.12l-.383-1.803h-.094q-.954 1.192-1.903 1.612a5.9 5.9 0 0 1-2.371.42q-1.901 0-2.976-.968-1.074-.969-1.078-2.76 0-3.835 6.186-4.02l2.165-.068v-.787q0-1.488-.645-2.2-.645-.71-2.068-.71-1.59 0-3.611.97l-.594-1.467a9.3 9.3 0 0 1 4.322-1.084q2.283 0 3.383 1.004t1.101 3.222v8.64zm-4.367-1.353q1.805 0 2.828-.98 1.023-.981 1.03-2.749v-1.144l-1.933.08q-2.298.084-3.327.712-1.027.63-1.011 1.958 0 1.037.635 1.577t1.778.546M198.721 68.768q.497 0 .99-.074a7 7 0 0 0 .758-.156v1.467a3.6 3.6 0 0 1-.926.247 7 7 0 0 1-1.101.098q-3.712 0-3.712-3.868v-7.535h-1.829v-.923l1.829-.797.815-2.703h1.119v2.934h3.711v1.49h-3.711v7.449q0 1.143.548 1.752a1.918 1.918 0 0 0 1.509.619M202.857 54.032q0-.659.325-.964a1.21 1.21 0 0 1 1.619 0q.339.31.339.959 0 .647-.339.963a1.19 1.19 0 0 1-1.619 0q-.327-.311-.325-.958m2.096 16.088h-1.934V57.461h1.934zM220.074 63.779q0 3.096-1.573 4.834-1.573 1.74-4.345 1.737a5.8 5.8 0 0 1-3.04-.796 5.3 5.3 0 0 1-2.05-2.278 7.9 7.9 0 0 1-.723-3.489q0-3.093 1.561-4.82t4.333-1.728q2.679 0 4.258 1.768t1.579 4.772m-9.721 0q0 2.426.977 3.695.978 1.27 2.877 1.27t2.883-1.263.985-3.702q0-2.414-.985-3.666-.984-1.254-2.906-1.253-1.897 0-2.865 1.235-.966 1.236-.972 3.684zM232.198 70.12v-8.188q0-1.548-.707-2.31-.706-.762-2.223-.762-2.004 0-2.936 1.074t-.931 3.545v6.641h-1.945V57.461h1.573l.315 1.733h.094a3.9 3.9 0 0 1 1.665-1.449 5.44 5.44 0 0 1 2.388-.515q2.306 0 3.471 1.104t1.165 3.527v8.26zM255.299 70.12l-2.121-5.37h-6.826l-2.091 5.37h-2.004l6.734-16.954h1.665l6.698 16.954zm-2.731-7.137-1.981-5.232a27 27 0 0 1-.792-2.438q-.294 1.24-.734 2.438l-2.002 5.232zM264.5 70.35q-2.773 0-4.291-1.691t-1.522-4.788q0-3.175 1.545-4.906t4.397-1.733c.619 0 1.236.067 1.84.198.499.093.984.247 1.444.46l-.594 1.629a9.3 9.3 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.95 1.248 2.814 1.248a8.7 8.7 0 0 0 3.273-.682v1.698q-1.285.663-3.229.663M275.858 70.35q-2.773 0-4.293-1.691t-1.52-4.788q0-3.175 1.544-4.906t4.396-1.733c.619 0 1.237.067 1.842.198.499.093.984.247 1.444.46l-.594 1.629a9.4 9.4 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.948 1.248 2.814 1.248a8.7 8.7 0 0 0 3.273-.682v1.698q-1.285.663-3.229.663M287.507 70.35q-2.828 0-4.468-1.709-1.64-1.708-1.637-4.747 0-3.06 1.52-4.86 1.52-1.803 4.083-1.804 2.4 0 3.798 1.565t1.398 4.13v1.213h-8.795q.059 2.229 1.135 3.384t3.035 1.154a10.4 10.4 0 0 0 4.077-.855v1.71c-.625.273-1.277.483-1.944.63-.726.136-1.463.2-2.202.189m-.53-11.513q-1.538 0-2.452.992-.913.991-1.078 2.75h6.674q0-1.815-.815-2.778t-2.324-.964zM303.732 66.666q0 1.767-1.327 2.725-1.328.96-3.728.959-2.54 0-3.961-.796v-1.778a9.7 9.7 0 0 0 1.975.727 8.3 8.3 0 0 0 2.032.264q1.517 0 2.331-.478a1.65 1.65 0 0 0 .818-1.316 1.64 1.64 0 0 0-.641-1.409q-.647-.525-2.522-1.242-1.782-.658-2.533-1.15a3.4 3.4 0 0 1-1.119-1.114 2.9 2.9 0 0 1-.367-1.49 2.82 2.82 0 0 1 1.271-2.442q1.268-.894 3.482-.896c1.386.003 2.758.286 4.031.832l-.687 1.56q-1.921-.787-3.484-.785-1.374 0-2.073.426a1.321 1.321 0 0 0-.707 1.18c-.01.308.082.612.261.865.23.284.518.516.845.681q1.087.538 2.236.934 2.273.82 3.07 1.651a2.9 2.9 0 0 1 .797 2.092M315.113 66.666q0 1.767-1.328 2.725-1.327.96-3.727.959-2.54 0-3.961-.796v-1.778a9.7 9.7 0 0 0 1.974.727c.664.171 1.347.26 2.033.264q1.516 0 2.329-.478a1.65 1.65 0 0 0 .818-1.316 1.64 1.64 0 0 0-.641-1.409q-.647-.525-2.522-1.242-1.782-.658-2.533-1.15a3.4 3.4 0 0 1-1.119-1.114 2.9 2.9 0 0 1-.367-1.49 2.82 2.82 0 0 1 1.27-2.442q1.272-.894 3.482-.896c1.387.003 2.759.286 4.032.832l-.688 1.56q-1.921-.787-3.483-.785-1.374 0-2.074.426a1.32 1.32 0 0 0-.707 1.18c-.009.308.083.612.262.865.23.284.518.516.845.681q1.089.54 2.239.934 2.272.82 3.07 1.651a2.9 2.9 0 0 1 .796 2.092M338.049 70.12h-2.259l-9.307-14.171h-.094a65 65 0 0 1 .177 4.574v9.597h-1.828V53.235h2.24l9.284 14.113h.094q-.024-.312-.106-2.005c-.055-1.126-.075-1.927-.059-2.418v-9.69h1.853zM347.833 70.35q-2.828 0-4.466-1.709-1.638-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.399 0 3.797 1.565t1.398 4.13v1.213h-8.795q.059 2.229 1.136 3.384 1.079 1.154 3.035 1.154a10.4 10.4 0 0 0 4.076-.855v1.71a10.5 10.5 0 0 1-1.944.63c-.726.136-1.464.2-2.203.189m-.53-11.513q-1.538 0-2.453.992t-1.069 2.744h6.674q0-1.814-.815-2.778t-2.337-.958M359.947 68.768q.499 0 .992-.074.383-.057.756-.156v1.467a3.5 3.5 0 0 1-.926.247 7 7 0 0 1-1.101.098q-3.711 0-3.711-3.868v-7.535h-1.83v-.923l1.83-.797.814-2.703h1.137v2.934h3.712v1.49h-3.712v7.449q0 1.143.546 1.752a1.9 1.9 0 0 0 1.493.618M374.672 70.12l-2.342-7.426q-.22-.68-.827-3.095h-.092q-.466 2.019-.816 3.118l-2.411 7.403h-2.236l-3.484-12.659h2.028q1.236 4.771 1.88 7.266.643 2.493.741 3.36h.092q.13-.66.413-1.705.284-1.044.495-1.655l2.344-7.266h2.098l2.281 7.266c.373 1.087.668 2.2.884 3.329h.094q.09-.647.251-1.28.202-.869 2.428-9.322h2.003l-3.535 12.66zM393.822 63.779q0 3.096-1.573 4.834-1.572 1.74-4.344 1.737a5.8 5.8 0 0 1-3.04-.796 5.3 5.3 0 0 1-2.05-2.278 7.9 7.9 0 0 1-.723-3.489q0-3.093 1.56-4.82t4.334-1.728q2.682 0 4.258 1.768t1.578 4.772m-9.721 0q0 2.426.978 3.695.977 1.27 2.877 1.27t2.883-1.263q.984-1.263.984-3.702 0-2.414-.984-3.666-.984-1.254-2.906-1.253-1.898 0-2.865 1.235-.966 1.236-.972 3.684zM403.036 57.23a7.6 7.6 0 0 1 1.525.14l-.267 1.779a6.6 6.6 0 0 0-1.398-.175q-1.547 0-2.651 1.245-1.102 1.247-1.101 3.107v6.793h-1.933V57.46h1.59l.221 2.345h.094a5.6 5.6 0 0 1 1.713-1.905 3.87 3.87 0 0 1 2.207-.671M408.86 63.64a23 23 0 0 1 1.527-1.847l4.123-4.332h2.298l-5.17 5.394 5.532 7.265h-2.35l-4.509-5.982-1.457 1.246v4.731h-1.91V52.15h1.91v9.528q0 .636-.091 1.962z"
|
|
10323
10379
|
}
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
fr: 60,
|
|
10330
|
-
op: 81,
|
|
10331
|
-
ip: 0,
|
|
10332
|
-
assets: []
|
|
10333
|
-
};
|
|
10380
|
+
)
|
|
10381
|
+
]
|
|
10382
|
+
}
|
|
10383
|
+
);
|
|
10384
|
+
var LandtrustStandardDark_default = SvgLandtrustStandardDark;
|
|
10334
10385
|
|
|
10335
|
-
// src/
|
|
10386
|
+
// src/Logo/components/LandtrustStandardLight.tsx
|
|
10387
|
+
var import_jsx_runtime259 = require("@emotion/react/jsx-runtime");
|
|
10388
|
+
var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(
|
|
10389
|
+
"svg",
|
|
10390
|
+
{
|
|
10391
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10392
|
+
viewBox: "0 0 420 74",
|
|
10393
|
+
fill: "none",
|
|
10394
|
+
...props,
|
|
10395
|
+
children: [
|
|
10396
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
10397
|
+
"path",
|
|
10398
|
+
{
|
|
10399
|
+
fill: "#E2430C",
|
|
10400
|
+
d: "m0 0 .037 47.582q-.003 1.401.186 2.79a15.6 15.6 0 0 0 1.223 4.315c1.787 3.934 3.9 6.263 5.914 8.25 4.047 4 8.07 6.023 10.83 7.383A50 50 0 0 0 28.29 74a50 50 0 0 0 10.103-3.68c2.76-1.36 6.783-3.384 10.83-7.383 2.014-1.987 4.126-4.316 5.921-8.25a15.7 15.7 0 0 0 1.223-4.316q.189-1.387.186-2.79L56.59 0zm51.397 5.141-.01 14.061H5.197l-.011-14.06zm-.023 31.322a30 30 0 0 0-3.911-.876c-.822-.126-4.159-.603-8.867-.05-2.086.248-3.97.712-7.736 1.64a197 197 0 0 0-6.62 1.774c-3.427 1.195-9.065 2.541-15.502 1.125a26 26 0 0 1-3.526-1.051L5.2 24.337h46.183zM36.542 65.57a41 41 0 0 1-8.252 3.009 41 41 0 0 1-8.249-3.009 69 69 0 0 1-1.53-.773l9.768-5.588 9.778 5.608c-.55.277-1.054.525-1.515.753m14.823-18.4q.001.736-.072 1.467a13.2 13.2 0 0 1-1.076 4.17c-1.46 3.213-3.182 5.114-4.83 6.739a28 28 0 0 1-2.348 2.074l-.235-.133-14.525-8.327-14.544 8.324-.203.115a28 28 0 0 1-2.328-2.057c-1.642-1.624-3.369-3.526-4.829-6.74A13.2 13.2 0 0 1 5.3 48.636a15 15 0 0 1-.073-1.467v-2.774q1.9.561 3.86.86c.82.127 4.16.603 8.87.05 2.083-.246 3.967-.712 7.732-1.639a184 184 0 0 0 6.62-1.766c3.428-1.197 9.064-2.541 15.503-1.125q1.823.399 3.569 1.051z"
|
|
10401
|
+
}
|
|
10402
|
+
),
|
|
10403
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
|
|
10404
|
+
"path",
|
|
10405
|
+
{
|
|
10406
|
+
fill: "#000",
|
|
10407
|
+
d: "M420 9.08h-8.784v30.691h-10.322V9.182h-8.851V.715H420zM260.97 9.096h-8.784v30.696h-10.322V9.198h-8.851V.738h27.957zM157.974.755l11.701 21.339V.715h9.424v39.077h-9.71l-11.475-21.398v21.38h-9.355V.754zM296.224 27.563l4.772 12.208h-9.982a8131 8131 0 0 0-4.864-12.231h-4.336v12.24h-10.112V.743h4.477c6.766 0 13.534-.033 20.298.016 2.651.019 4.33 1.473 4.39 4.063q.209 9.246 0 18.495c-.048 2.674-1.921 3.918-4.643 4.246M281.849 9.2v10.276h7.972a.84.84 0 0 0 .777-.514.8.8 0 0 0 .064-.319v-8.612a.826.826 0 0 0-.52-.768.9.9 0 0 0-.321-.063zM138.276 39.801h-9.747l-1.695-8.311h-10.251c-.582 2.735-1.169 5.485-1.768 8.304h-9.523c2.842-13.062 5.656-26.042 8.498-39.077h15.988c2.821 12.98 5.649 25.978 8.498 39.084m-12.807-16.998c-.919-4.645-1.817-9.175-2.722-13.742h-1.976c-.936 4.557-1.87 9.113-2.828 13.742zM81.842 31.413h12.63v8.38H71.826V.714h10.016zM333.164.715v29.66a.8.8 0 0 1-.065.32.842.842 0 0 1-.78.516h-6.893a.85.85 0 0 1-.781-.515.8.8 0 0 1-.064-.32V.714h-10.207v35.019c0 1.072.429 2.1 1.194 2.857a4.1 4.1 0 0 0 2.882 1.184h20.838a4.1 4.1 0 0 0 2.883-1.184 4.02 4.02 0 0 0 1.194-2.859V.715zM193.426 39.792V.761h20.852c4.772 0 8.291 3.329 8.323 8.048q.081 11.457 0 22.917c-.042 4.732-3.565 8.061-8.332 8.061h-20.843zm10.217-8.498c2.173 0 4.281.084 6.379-.029 1.439-.077 2.397-1.163 2.407-2.66q.063-8.37 0-16.736c-.012-1.502-.968-2.583-2.403-2.66-2.102-.113-4.212-.028-6.383-.028zM355.338 28.004c0 1.737-.106 3.424.021 5.096.287 3.778 3.517 6.824 7.337 6.887q6.501.105 13.005 0c3.591-.054 6.976-2.842 7.246-6.309.248-3.568.254-7.148.018-10.717-.163-2.742-2.383-4.82-5.138-5.304a718 718 0 0 0-12.809-2.14c-.834-.13-1.097-.482-1.088-1.227.015-1.282 0-2.563.012-3.846 0-.876.428-1.291 1.348-1.283 2.662.025 5.326.02 7.988 0 .919 0 1.32.426 1.308 1.31v1.993h8.441c0-1.897.157-3.715-.034-5.497-.376-3.487-3.607-6.387-7.146-6.447a397 397 0 0 0-13.347 0c-3.503.065-6.883 3.088-7.084 6.509a97 97 0 0 0-.009 10.391c.136 2.835 2.351 5.068 5.154 5.557q6.453 1.127 12.92 2.162c.717.116.979.398.963 1.092-.028 1.356-.009 2.714-.009 4.072 0 .784-.383 1.187-1.187 1.187h-8.217c-.796 0-1.192-.42-1.207-1.188-.016-.77 0-1.49 0-2.292zM76.83 70.12h-1.979V54.978h-5.39v-1.752h12.768v1.752H76.83zM93.233 70.12v-8.188q0-1.548-.707-2.31T90.3 58.86q-2.016 0-2.941 1.084-.926 1.085-.932 3.558v6.618h-1.932V52.15h1.932v5.432q.01.817-.094 1.628h.117a3.94 3.94 0 0 1 1.624-1.437 5.3 5.3 0 0 1 2.406-.526q2.343 0 3.512 1.103t1.172 3.505v8.258zM104.532 70.35q-2.828 0-4.468-1.709-1.64-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.398 0 3.798 1.565t1.4 4.128v1.213h-8.796q.058 2.229 1.134 3.384 1.077 1.155 3.035 1.155a10.4 10.4 0 0 0 4.077-.845v1.71c-.625.272-1.276.483-1.944.63-.726.133-1.464.193-2.202.18m-.53-11.513q-1.537 0-2.452.992-.913.992-1.072 2.744h6.675q0-1.814-.816-2.778-.817-.964-2.33-.958zM120.991 63.099v7.021h-1.98V53.235h4.671q3.132 0 4.629 1.19t1.497 3.58q0 3.348-3.423 4.528l4.623 7.587h-2.338l-4.127-7.021zm0-1.688h2.714q2.098 0 3.076-.825.977-.825.977-2.478 0-1.675-.995-2.413t-3.197-.74h-2.575zM138.859 70.35q-2.828 0-4.466-1.709-1.638-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.399 0 3.797 1.565t1.398 4.128v1.213h-8.795q.059 2.229 1.136 3.384 1.079 1.155 3.035 1.155a10.4 10.4 0 0 0 4.076-.845v1.71c-.626.273-1.277.484-1.944.63-.726.133-1.464.193-2.203.18m-.53-11.513q-1.54 0-2.453.992t-1.069 2.744h6.674q0-1.814-.815-2.778t-2.33-.958zM151.953 70.35q-2.773 0-4.293-1.691t-1.52-4.788q0-3.175 1.542-4.906t4.398-1.733c.619 0 1.237.067 1.842.198.499.093.984.247 1.444.46l-.594 1.629a9.4 9.4 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.948 1.248 2.813 1.248a8.7 8.7 0 0 0 3.274-.676v1.698q-1.285.657-3.229.657M164.031 57.23a7.6 7.6 0 0 1 1.527.14l-.268 1.779a6.6 6.6 0 0 0-1.398-.175q-1.548 0-2.651 1.245-1.104 1.247-1.102 3.107v6.792h-1.931V57.462h1.59l.221 2.345h.094a5.6 5.6 0 0 1 1.713-1.905 3.87 3.87 0 0 1 2.205-.671M173.339 70.35q-2.828 0-4.467-1.709-1.638-1.708-1.636-4.747 0-3.06 1.52-4.86 1.52-1.803 4.083-1.804 2.4 0 3.796 1.565 1.397 1.565 1.398 4.13v1.213h-8.795q.058 2.229 1.137 3.384t3.034 1.154a10.4 10.4 0 0 0 4.078-.846v1.71c-.626.273-1.277.483-1.944.63-.727.133-1.465.193-2.204.18m-.53-11.513q-1.538 0-2.454.992-.915.992-1.069 2.744h6.674q0-1.814-.815-2.778t-2.329-.958zM189.18 70.12l-.383-1.803h-.094q-.954 1.192-1.903 1.612a5.9 5.9 0 0 1-2.371.42q-1.901 0-2.976-.968-1.074-.969-1.078-2.76 0-3.835 6.186-4.02l2.165-.068v-.787q0-1.488-.645-2.2-.645-.71-2.068-.71-1.59 0-3.611.97l-.594-1.467a9.3 9.3 0 0 1 4.322-1.084q2.283 0 3.383 1.004t1.101 3.222v8.64zm-4.367-1.353q1.805 0 2.828-.98 1.023-.981 1.03-2.749v-1.144l-1.933.08q-2.298.084-3.327.712-1.027.63-1.011 1.958 0 1.037.635 1.577t1.778.546M198.721 68.768q.497 0 .99-.074a7 7 0 0 0 .758-.156v1.467a3.6 3.6 0 0 1-.926.247 7 7 0 0 1-1.101.098q-3.712 0-3.712-3.868v-7.535h-1.829v-.923l1.829-.797.815-2.703h1.119v2.934h3.711v1.49h-3.711v7.449q0 1.143.548 1.752a1.918 1.918 0 0 0 1.509.619M202.857 54.032q0-.659.325-.964a1.21 1.21 0 0 1 1.619 0q.339.31.339.959 0 .647-.339.963a1.19 1.19 0 0 1-1.619 0q-.327-.311-.325-.958m2.096 16.088h-1.934V57.461h1.934zM220.074 63.779q0 3.096-1.573 4.834-1.573 1.74-4.345 1.737a5.8 5.8 0 0 1-3.04-.796 5.3 5.3 0 0 1-2.05-2.278 7.9 7.9 0 0 1-.723-3.489q0-3.093 1.561-4.82t4.333-1.728q2.679 0 4.258 1.768t1.579 4.772m-9.721 0q0 2.427.977 3.695.978 1.27 2.877 1.27t2.883-1.263.985-3.702q0-2.414-.985-3.666-.984-1.254-2.906-1.253-1.897 0-2.865 1.235-.966 1.236-.972 3.684zM232.198 70.12v-8.188q0-1.548-.707-2.31-.706-.762-2.223-.762-2.004 0-2.936 1.074t-.931 3.545v6.641h-1.945V57.461h1.573l.315 1.733h.094a3.9 3.9 0 0 1 1.665-1.449 5.44 5.44 0 0 1 2.388-.515q2.306 0 3.471 1.104t1.165 3.527v8.26zM255.299 70.12l-2.121-5.37h-6.826l-2.091 5.37h-2.004l6.734-16.954h1.665l6.698 16.954zm-2.731-7.137-1.981-5.232a27 27 0 0 1-.792-2.438q-.294 1.24-.734 2.438l-2.002 5.232zM264.5 70.35q-2.773 0-4.291-1.691t-1.522-4.788q0-3.175 1.545-4.906t4.397-1.733c.619 0 1.236.067 1.84.198.499.093.984.247 1.444.46l-.594 1.629a9.3 9.3 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.95 1.248 2.814 1.248a8.7 8.7 0 0 0 3.273-.682v1.698q-1.285.663-3.229.663M275.858 70.35q-2.773 0-4.293-1.691t-1.52-4.788q0-3.175 1.544-4.906t4.396-1.733c.619 0 1.237.067 1.842.198.499.093.984.247 1.444.46l-.594 1.629a9.4 9.4 0 0 0-1.398-.421 6.3 6.3 0 0 0-1.34-.175q-3.888 0-3.888 4.92 0 2.333.949 3.58.948 1.248 2.814 1.248a8.7 8.7 0 0 0 3.273-.682v1.698q-1.285.663-3.229.663M287.507 70.35q-2.828 0-4.468-1.709-1.64-1.708-1.637-4.747 0-3.06 1.52-4.86 1.52-1.803 4.083-1.804 2.4 0 3.798 1.565t1.398 4.13v1.213h-8.795q.059 2.229 1.135 3.384t3.035 1.154a10.4 10.4 0 0 0 4.077-.855v1.71c-.625.273-1.277.483-1.944.63-.726.136-1.463.2-2.202.189m-.53-11.513q-1.538 0-2.452.992-.913.991-1.078 2.75h6.674q0-1.815-.815-2.778t-2.324-.964zM303.732 66.666q0 1.767-1.327 2.725-1.328.96-3.728.959-2.54 0-3.961-.796v-1.778a9.7 9.7 0 0 0 1.975.727 8.3 8.3 0 0 0 2.032.264q1.517 0 2.331-.478a1.65 1.65 0 0 0 .818-1.316 1.64 1.64 0 0 0-.641-1.409q-.647-.525-2.522-1.242-1.782-.658-2.533-1.15a3.4 3.4 0 0 1-1.119-1.114 2.9 2.9 0 0 1-.367-1.49 2.82 2.82 0 0 1 1.271-2.442q1.268-.894 3.482-.896c1.386.003 2.758.286 4.031.832l-.687 1.56q-1.922-.787-3.484-.785-1.374 0-2.073.426a1.321 1.321 0 0 0-.707 1.18c-.01.308.082.612.261.865.23.284.518.516.845.681q1.087.538 2.236.934 2.273.82 3.07 1.651a2.9 2.9 0 0 1 .797 2.092M315.113 66.666q0 1.767-1.328 2.725-1.327.96-3.727.959-2.54 0-3.961-.796v-1.778a9.7 9.7 0 0 0 1.974.727c.664.171 1.347.26 2.033.264q1.516 0 2.329-.478a1.65 1.65 0 0 0 .818-1.316 1.64 1.64 0 0 0-.641-1.409q-.647-.525-2.522-1.242-1.782-.658-2.533-1.15a3.4 3.4 0 0 1-1.119-1.114 2.9 2.9 0 0 1-.367-1.49 2.82 2.82 0 0 1 1.27-2.442q1.272-.894 3.482-.896c1.387.003 2.759.286 4.032.832l-.688 1.56q-1.92-.787-3.483-.785-1.374 0-2.074.426a1.32 1.32 0 0 0-.707 1.18c-.009.308.083.612.262.865.23.284.518.516.845.681q1.089.54 2.239.934 2.272.82 3.07 1.651a2.9 2.9 0 0 1 .796 2.092M338.049 70.12h-2.259l-9.307-14.171h-.094q.177 2.496.177 4.574v9.597h-1.828V53.235h2.24l9.284 14.113h.094q-.024-.312-.106-2.005c-.055-1.126-.075-1.927-.059-2.418v-9.69h1.853zM347.833 70.35q-2.828 0-4.466-1.709-1.638-1.708-1.637-4.747 0-3.06 1.52-4.86 1.521-1.803 4.083-1.804 2.399 0 3.797 1.565t1.398 4.13v1.213h-8.795q.059 2.229 1.136 3.384 1.079 1.154 3.035 1.154a10.4 10.4 0 0 0 4.076-.855v1.71a10.5 10.5 0 0 1-1.944.63c-.726.136-1.464.2-2.203.189m-.53-11.513q-1.538 0-2.453.992t-1.069 2.744h6.674q0-1.814-.815-2.778t-2.337-.958M359.947 68.768q.499 0 .992-.074.383-.057.756-.156v1.467a3.5 3.5 0 0 1-.926.247 7 7 0 0 1-1.101.098q-3.711 0-3.711-3.868v-7.535h-1.83v-.923l1.83-.797.814-2.703h1.137v2.934h3.712v1.49h-3.712v7.449q0 1.143.546 1.752a1.9 1.9 0 0 0 1.493.618M374.672 70.12l-2.342-7.426q-.22-.68-.827-3.095h-.092q-.466 2.019-.816 3.118l-2.411 7.403h-2.236l-3.484-12.659h2.028q1.236 4.771 1.88 7.266.643 2.493.741 3.36h.092q.13-.66.413-1.705.284-1.044.495-1.655l2.344-7.266h2.098l2.281 7.266c.373 1.087.668 2.2.884 3.329h.094q.09-.647.251-1.28.202-.869 2.428-9.322h2.003l-3.535 12.66zM393.822 63.779q0 3.096-1.573 4.834-1.572 1.74-4.344 1.737a5.8 5.8 0 0 1-3.04-.796 5.3 5.3 0 0 1-2.05-2.278 7.9 7.9 0 0 1-.723-3.489q0-3.093 1.56-4.82t4.334-1.728q2.682 0 4.258 1.768t1.578 4.772m-9.721 0q0 2.427.978 3.695.977 1.27 2.877 1.27t2.883-1.263q.984-1.263.984-3.702 0-2.414-.984-3.666-.984-1.254-2.906-1.253-1.898 0-2.865 1.235-.966 1.236-.972 3.684zM403.036 57.23a7.6 7.6 0 0 1 1.525.14l-.267 1.779a6.6 6.6 0 0 0-1.398-.175q-1.547 0-2.651 1.245-1.102 1.247-1.101 3.107v6.793h-1.933V57.46h1.59l.221 2.345h.094a5.6 5.6 0 0 1 1.713-1.905 3.87 3.87 0 0 1 2.207-.671M408.86 63.64a23 23 0 0 1 1.527-1.847l4.123-4.332h2.298l-5.17 5.394 5.532 7.265h-2.35l-4.509-5.982-1.457 1.246v4.731h-1.91V52.15h1.91v9.528q0 .636-.091 1.962z"
|
|
10408
|
+
}
|
|
10409
|
+
)
|
|
10410
|
+
]
|
|
10411
|
+
}
|
|
10412
|
+
);
|
|
10413
|
+
var LandtrustStandardLight_default = SvgLandtrustStandardLight;
|
|
10414
|
+
|
|
10415
|
+
// src/Logo/Logo.tsx
|
|
10336
10416
|
var import_jsx_runtime260 = require("@emotion/react/jsx-runtime");
|
|
10337
|
-
var
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
...
|
|
10417
|
+
var logoStyles = (size) => import_react66.css`
|
|
10418
|
+
width: ${space[size]};
|
|
10419
|
+
height: auto;
|
|
10420
|
+
display: block;
|
|
10421
|
+
`;
|
|
10422
|
+
var Logo = ({
|
|
10423
|
+
variant,
|
|
10424
|
+
theme = "light",
|
|
10425
|
+
size = 50,
|
|
10426
|
+
className,
|
|
10427
|
+
...rest
|
|
10348
10428
|
}) => {
|
|
10349
|
-
const
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
import("lottie-react").then((module2) => {
|
|
10353
|
-
if (isMounted) {
|
|
10354
|
-
setLottieComponent(() => module2.default);
|
|
10355
|
-
}
|
|
10356
|
-
});
|
|
10357
|
-
return () => {
|
|
10358
|
-
isMounted = false;
|
|
10359
|
-
};
|
|
10360
|
-
}, []);
|
|
10361
|
-
const sizeValue = typeof size === "number" ? `${size}px` : size;
|
|
10362
|
-
const mergedStyle = sizeValue !== void 0 ? { width: sizeValue, height: sizeValue, ...style } : style;
|
|
10363
|
-
if (!LottieComponent) {
|
|
10364
|
-
return null;
|
|
10365
|
-
}
|
|
10366
|
-
return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
|
|
10367
|
-
LottieComponent,
|
|
10368
|
-
{
|
|
10369
|
-
animationData: animationData != null ? animationData : lottieAnimations[animation],
|
|
10370
|
-
loop,
|
|
10371
|
-
autoPlay,
|
|
10372
|
-
style: mergedStyle,
|
|
10373
|
-
...props
|
|
10429
|
+
const getLogoComponent = () => {
|
|
10430
|
+
if (variant === "standard" && theme === "light") {
|
|
10431
|
+
return LandtrustStandardLight_default;
|
|
10374
10432
|
}
|
|
10375
|
-
|
|
10433
|
+
if (variant === "standard" && theme === "dark") {
|
|
10434
|
+
return LandtrustStandardDark_default;
|
|
10435
|
+
}
|
|
10436
|
+
if (variant === "plus" && theme === "light") {
|
|
10437
|
+
return LandtrustPlusLight_default;
|
|
10438
|
+
}
|
|
10439
|
+
if (variant === "plus" && theme === "dark") {
|
|
10440
|
+
return LandtrustPlusDark_default;
|
|
10441
|
+
}
|
|
10442
|
+
return LandtrustStandardLight_default;
|
|
10443
|
+
};
|
|
10444
|
+
const LogoComponent = getLogoComponent();
|
|
10445
|
+
return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(LogoComponent, { css: logoStyles(size), className, ...rest });
|
|
10376
10446
|
};
|
|
10377
|
-
var
|
|
10447
|
+
var Logo_default = Logo;
|
|
10378
10448
|
|
|
10379
10449
|
// src/Navigation/Navigation.styles.ts
|
|
10380
10450
|
var import_react67 = require("@emotion/react");
|