@yeongseoksong/framework 1.0.1 → 1.0.2

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/ui/index.js CHANGED
@@ -125,6 +125,16 @@ module.exports = __toCommonJS(ui_exports);
125
125
  var import_image = __toESM(require("next/image"));
126
126
  var import_link = __toESM(require("next/link"));
127
127
  var import_core = require("@mantine/core");
128
+
129
+ // util/env.util.ts
130
+ var _a;
131
+ var COMPANY_NAME = (_a = process.env.NEXT_PUBLIC_COMPANY_NAME) != null ? _a : "";
132
+ var _a2;
133
+ var LOGO_SRC = (_a2 = process.env.NEXT_PUBLIC_LOGO_SRC) != null ? _a2 : "/logo.svg";
134
+ var _a3;
135
+ var LOGO_ALT = (_a3 = process.env.NEXT_PUBLIC_LOGO_ALT) != null ? _a3 : "\uB85C\uACE0";
136
+
137
+ // ui/atom/Logo.tsx
128
138
  var import_jsx_runtime = require("react/jsx-runtime");
129
139
  function Logo(_props) {
130
140
  const { size } = (0, import_core.useProps)("Logo", { size: "md" }, _props);
@@ -133,8 +143,8 @@ function Logo(_props) {
133
143
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_link.default, { href: "/", style: { display: "inline-flex", alignItems: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
134
144
  import_image.default,
135
145
  {
136
- src: "/logo.svg",
137
- alt: "\uB85C\uACE0",
146
+ src: LOGO_SRC,
147
+ alt: LOGO_ALT,
138
148
  width: resolved.width,
139
149
  height: resolved.height,
140
150
  style: {
@@ -153,19 +163,19 @@ var import_core3 = require("@mantine/core");
153
163
  // ui/atom/Container.tsx
154
164
  var import_core2 = require("@mantine/core");
155
165
  var import_jsx_runtime2 = require("react/jsx-runtime");
156
- function SdContainer(_a) {
157
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
166
+ function SdContainer(_a4) {
167
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
158
168
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_core2.Container, __spreadProps(__spreadValues({ px: { base: "md", sm: "xl" } }, props), { children }));
159
169
  }
160
170
 
161
171
  // ui/atom/Tabs.tsx
162
172
  var import_jsx_runtime3 = require("react/jsx-runtime");
163
- function SdPanel(_a) {
164
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
173
+ function SdPanel(_a4) {
174
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
165
175
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_core3.Tabs.Panel, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SdContainer, { py: "xl", children }) }));
166
176
  }
167
- function SdScrollableList(_a) {
168
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
177
+ function SdScrollableList(_a4) {
178
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
169
179
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_core3.Box, { style: { overflowX: "auto", width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_core3.Tabs.List, __spreadProps(__spreadValues({}, props), { children })) });
170
180
  }
171
181
  function createTabs(defaults, scrollable = false) {
@@ -224,16 +234,15 @@ var import_core4 = require("@mantine/core");
224
234
 
225
235
  // util/text.util.ts
226
236
  var COMPANY_TOKEN = "%c";
227
- var companyName = "UKNOWN";
228
237
  function t(text) {
229
- return text.replaceAll(COMPANY_TOKEN, companyName);
238
+ return text.replaceAll(COMPANY_TOKEN, COMPANY_NAME);
230
239
  }
231
240
 
232
241
  // ui/atom/Title.tsx
233
242
  var import_jsx_runtime4 = require("react/jsx-runtime");
234
243
  function createTitle(defaults) {
235
- return function SdTitle2(_a) {
236
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
244
+ return function SdTitle2(_a4) {
245
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
237
246
  const resolved = typeof children === "string" ? t(children) : children;
238
247
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_core4.Title, __spreadProps(__spreadValues(__spreadValues({}, defaults), props), { children: resolved }));
239
248
  };
@@ -253,8 +262,8 @@ var SdTitle = {
253
262
  var import_core5 = require("@mantine/core");
254
263
  var import_jsx_runtime5 = require("react/jsx-runtime");
255
264
  function createText(defaults) {
256
- return function SdText2(_a) {
257
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
265
+ return function SdText2(_a4) {
266
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
258
267
  const resolved = typeof children === "string" ? t(children) : children;
259
268
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_core5.Text, __spreadProps(__spreadValues(__spreadValues({}, defaults), props), { children: resolved }));
260
269
  };
@@ -274,8 +283,8 @@ var import_core6 = require("@mantine/core");
274
283
  var import_icons_react = require("@tabler/icons-react");
275
284
  var import_jsx_runtime6 = require("react/jsx-runtime");
276
285
  function createButton(defaults) {
277
- return function SdButton2(_a) {
278
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
286
+ return function SdButton2(_a4) {
287
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
279
288
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core6.Button, __spreadProps(__spreadValues(__spreadValues({}, defaults), props), { children }));
280
289
  };
281
290
  }
@@ -318,12 +327,12 @@ function QuoteInner({ lines, name, role }) {
318
327
  ] })
319
328
  ] });
320
329
  }
321
- function Plain(_a) {
322
- var _b = _a, { lines, name, role } = _b, boxProps = __objRest(_b, ["lines", "name", "role"]);
330
+ function Plain(_a4) {
331
+ var _b = _a4, { lines, name, role } = _b, boxProps = __objRest(_b, ["lines", "name", "role"]);
323
332
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_core7.Center, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_core7.Box, __spreadProps(__spreadValues({ w: "fit-content" }, boxProps), { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(QuoteInner, { lines, name, role }) })) });
324
333
  }
325
- function CardQuote(_a) {
326
- var _b = _a, { lines, name, role } = _b, boxProps = __objRest(_b, ["lines", "name", "role"]);
334
+ function CardQuote(_a4) {
335
+ var _b = _a4, { lines, name, role } = _b, boxProps = __objRest(_b, ["lines", "name", "role"]);
327
336
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_core7.Center, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_core7.Card, __spreadProps(__spreadValues({ w: "fit-content" }, boxProps), { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(QuoteInner, { lines, name, role }) })) });
328
337
  }
329
338
  var SdQuote = {
@@ -354,12 +363,12 @@ var base = {
354
363
  verticalSpacing: "sm",
355
364
  horizontalSpacing: "md"
356
365
  };
357
- function SpecTh(_a) {
358
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
366
+ function SpecTh(_a4) {
367
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
359
368
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_core8.Table.Th, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SdText.Strong, { c: "white", children }) }));
360
369
  }
361
- function SpecTd(_a) {
362
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
370
+ function SpecTd(_a4) {
371
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
363
372
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_core8.Table.Td, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SdText.Body, { children }) }));
364
373
  }
365
374
  var Spec = createTable(__spreadProps(__spreadValues({}, base), {
@@ -399,8 +408,8 @@ var SdModal = createModal({
399
408
  // ui/atom/NumberIcon.tsx
400
409
  var import_core10 = require("@mantine/core");
401
410
  var import_jsx_runtime10 = require("react/jsx-runtime");
402
- function SdNumberIcon(_a) {
403
- var _b = _a, { value, size = 48, radius = "xl", color = "primary" } = _b, props = __objRest(_b, ["value", "size", "radius", "color"]);
411
+ function SdNumberIcon(_a4) {
412
+ var _b = _a4, { value, size = 48, radius = "xl", color = "primary" } = _b, props = __objRest(_b, ["value", "size", "radius", "color"]);
404
413
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_core10.ThemeIcon, __spreadProps(__spreadValues({ size, radius, color }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SdText.Strong, { c: "white", children: value }) }));
405
414
  }
406
415
 
@@ -408,8 +417,8 @@ function SdNumberIcon(_a) {
408
417
  var import_core11 = require("@mantine/core");
409
418
  var import_jsx_runtime11 = require("react/jsx-runtime");
410
419
  function createBadge(defaults) {
411
- return function SdBadge2(_a) {
412
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
420
+ return function SdBadge2(_a4) {
421
+ var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
413
422
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_core11.Badge, __spreadProps(__spreadValues(__spreadValues({}, defaults), props), { children }));
414
423
  };
415
424
  }
@@ -428,26 +437,26 @@ var SdBadge = {
428
437
  var import_core12 = require("@mantine/core");
429
438
  var import_jsx_runtime12 = require("react/jsx-runtime");
430
439
  function createTextInput(defaults) {
431
- return function SdInput2(_a) {
432
- var props = __objRest(_a, []);
440
+ return function SdInput2(_a4) {
441
+ var props = __objRest(_a4, []);
433
442
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_core12.TextInput, __spreadValues(__spreadValues({}, defaults), props));
434
443
  };
435
444
  }
436
445
  function createTextarea(defaults) {
437
- return function SdInputTextarea(_a) {
438
- var props = __objRest(_a, []);
446
+ return function SdInputTextarea(_a4) {
447
+ var props = __objRest(_a4, []);
439
448
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_core12.Textarea, __spreadValues(__spreadValues({}, defaults), props));
440
449
  };
441
450
  }
442
451
  function createPasswordInput(defaults) {
443
- return function SdInputPassword(_a) {
444
- var props = __objRest(_a, []);
452
+ return function SdInputPassword(_a4) {
453
+ var props = __objRest(_a4, []);
445
454
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_core12.PasswordInput, __spreadValues(__spreadValues({}, defaults), props));
446
455
  };
447
456
  }
448
457
  function createSelect(defaults) {
449
- return function SdInputSelect(_a) {
450
- var props = __objRest(_a, []);
458
+ return function SdInputSelect(_a4) {
459
+ var props = __objRest(_a4, []);
451
460
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_core12.Select, __spreadValues(__spreadValues({}, defaults), props));
452
461
  };
453
462
  }
@@ -467,20 +476,20 @@ var SdInput = {
467
476
  // ui/atom/Skeleton.tsx
468
477
  var import_core13 = require("@mantine/core");
469
478
  var import_jsx_runtime13 = require("react/jsx-runtime");
470
- function SkeletonText(_a) {
471
- var _b = _a, { width = "100%" } = _b, props = __objRest(_b, ["width"]);
479
+ function SkeletonText(_a4) {
480
+ var _b = _a4, { width = "100%" } = _b, props = __objRest(_b, ["width"]);
472
481
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_core13.Skeleton, __spreadValues({ height: 14, width, radius: "sm" }, props));
473
482
  }
474
- function SkeletonTitle(_a) {
475
- var _b = _a, { width = "60%" } = _b, props = __objRest(_b, ["width"]);
483
+ function SkeletonTitle(_a4) {
484
+ var _b = _a4, { width = "60%" } = _b, props = __objRest(_b, ["width"]);
476
485
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_core13.Skeleton, __spreadValues({ height: 20, width, radius: "sm" }, props));
477
486
  }
478
- function SkeletonImage(_a) {
479
- var _b = _a, { height = 200 } = _b, props = __objRest(_b, ["height"]);
487
+ function SkeletonImage(_a4) {
488
+ var _b = _a4, { height = 200 } = _b, props = __objRest(_b, ["height"]);
480
489
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_core13.Skeleton, __spreadValues({ height, radius: "md" }, props));
481
490
  }
482
- function SkeletonAvatar(_a) {
483
- var _b = _a, { size = 40 } = _b, props = __objRest(_b, ["size"]);
491
+ function SkeletonAvatar(_a4) {
492
+ var _b = _a4, { size = 40 } = _b, props = __objRest(_b, ["size"]);
484
493
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_core13.Skeleton, __spreadValues({ height: size, width: size, circle: true }, props));
485
494
  }
486
495
  function SkeletonCard({ height, lines = 3 }) {
@@ -521,8 +530,8 @@ var SdSkeletonAvatar = SkeletonAvatar;
521
530
  var import_core14 = require("@mantine/core");
522
531
  var import_jsx_runtime14 = require("react/jsx-runtime");
523
532
  function createTextBox(titleVariant, defaultGap = "xs", descVariant = "Body", color_ = void 0) {
524
- return function SdTextBox2(_a) {
525
- var _b = _a, {
533
+ return function SdTextBox2(_a4) {
534
+ var _b = _a4, {
526
535
  label,
527
536
  title,
528
537
  description,
@@ -598,8 +607,8 @@ var import_core16 = require("@mantine/core");
598
607
  var import_jsx_runtime16 = require("react/jsx-runtime");
599
608
  function SdTimeline({ items }) {
600
609
  const grouped = items.filter((item) => item.isShow).sort((a, b) => b.year - a.year || b.month - a.month).reduce((acc, item) => {
601
- var _a, _b;
602
- ((_b = acc[_a = item.year]) != null ? _b : acc[_a] = []).push(item);
610
+ var _a4, _b;
611
+ ((_b = acc[_a4 = item.year]) != null ? _b : acc[_a4] = []).push(item);
603
612
  return acc;
604
613
  }, {});
605
614
  const years = Object.keys(grouped).map(Number).sort((a, b) => b - a);
@@ -704,8 +713,8 @@ function AuthorRow({ item }) {
704
713
  ] })
705
714
  ] });
706
715
  }
707
- function CardTestimonial(_a) {
708
- var _b = _a, { item } = _b, boxProps = __objRest(_b, ["item"]);
716
+ function CardTestimonial(_a4) {
717
+ var _b = _a4, { item } = _b, boxProps = __objRest(_b, ["item"]);
709
718
  return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_core18.Card, __spreadProps(__spreadValues({ h: "100%" }, boxProps), { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_core18.Stack, { gap: "md", h: "100%", children: [
710
719
  item.rating && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_core18.Rating, { value: item.rating, readOnly: true, size: "sm", color: "primary" }),
711
720
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_core18.Stack, { gap: "xs", style: { flex: 1 }, children: [
@@ -715,8 +724,8 @@ function CardTestimonial(_a) {
715
724
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AuthorRow, { item })
716
725
  ] }) }));
717
726
  }
718
- function Strip2(_a) {
719
- var _b = _a, { item } = _b, boxProps = __objRest(_b, ["item"]);
727
+ function Strip2(_a4) {
728
+ var _b = _a4, { item } = _b, boxProps = __objRest(_b, ["item"]);
720
729
  return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_core18.Box, __spreadProps(__spreadValues({}, boxProps), { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_core18.Stack, { gap: "md", children: [
721
730
  item.rating && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_core18.Rating, { value: item.rating, readOnly: true, size: "sm", color: "primary" }),
722
731
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_core18.Group, { gap: 4, align: "flex-start", children: [
@@ -742,9 +751,9 @@ var SdTestimonial = {
742
751
  var import_core19 = require("@mantine/core");
743
752
  var import_icons_react3 = require("@tabler/icons-react");
744
753
  var import_jsx_runtime20 = require("react/jsx-runtime");
745
- function Default(_a) {
746
- var _b = _a, { item, onSelect } = _b, cardProps = __objRest(_b, ["item", "onSelect"]);
747
- var _a2;
754
+ function Default(_a4) {
755
+ var _b = _a4, { item, onSelect } = _b, cardProps = __objRest(_b, ["item", "onSelect"]);
756
+ var _a5;
748
757
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
749
758
  import_core19.Card,
750
759
  __spreadProps(__spreadValues({
@@ -787,14 +796,14 @@ function Default(_a) {
787
796
  }
788
797
  )
789
798
  ] }, i)) }),
790
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SdButton.Outline, { fullWidth: true, onClick: () => onSelect == null ? void 0 : onSelect(item), children: (_a2 = item.ctaLabel) != null ? _a2 : "\uC2DC\uC791\uD558\uAE30" })
799
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SdButton.Outline, { fullWidth: true, onClick: () => onSelect == null ? void 0 : onSelect(item), children: (_a5 = item.ctaLabel) != null ? _a5 : "\uC2DC\uC791\uD558\uAE30" })
791
800
  ] })
792
801
  })
793
802
  );
794
803
  }
795
- function Featured(_a) {
796
- var _b = _a, { item, onSelect } = _b, cardProps = __objRest(_b, ["item", "onSelect"]);
797
- var _a2;
804
+ function Featured(_a4) {
805
+ var _b = _a4, { item, onSelect } = _b, cardProps = __objRest(_b, ["item", "onSelect"]);
806
+ var _a5;
798
807
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
799
808
  import_core19.Card,
800
809
  __spreadProps(__spreadValues({
@@ -837,7 +846,7 @@ function Featured(_a) {
837
846
  }
838
847
  )
839
848
  ] }, i)) }),
840
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SdButton.White, { fullWidth: true, onClick: () => onSelect == null ? void 0 : onSelect(item), children: (_a2 = item.ctaLabel) != null ? _a2 : "\uC2DC\uC791\uD558\uAE30" })
849
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SdButton.White, { fullWidth: true, onClick: () => onSelect == null ? void 0 : onSelect(item), children: (_a5 = item.ctaLabel) != null ? _a5 : "\uC2DC\uC791\uD558\uAE30" })
841
850
  ] })
842
851
  })
843
852
  );
@@ -859,22 +868,22 @@ var SdPricingCard = {
859
868
  // ui/molecule/Faq.tsx
860
869
  var import_core20 = require("@mantine/core");
861
870
  var import_jsx_runtime21 = require("react/jsx-runtime");
862
- function Default2(_a) {
863
- var _b = _a, { items } = _b, boxProps = __objRest(_b, ["items"]);
871
+ function Default2(_a4) {
872
+ var _b = _a4, { items } = _b, boxProps = __objRest(_b, ["items"]);
864
873
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core20.Box, __spreadProps(__spreadValues({}, boxProps), { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core20.Accordion, { variant: "separated", radius: "md", children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_core20.Accordion.Item, { value: String(i), children: [
865
874
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core20.Accordion.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SdText.Strong, { fz: "sm", children: item.question }) }),
866
875
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core20.Accordion.Panel, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SdText.Body, { fz: "sm", children: item.answer }) })
867
876
  ] }, i)) }) }));
868
877
  }
869
- function Filled(_a) {
870
- var _b = _a, { items } = _b, boxProps = __objRest(_b, ["items"]);
878
+ function Filled(_a4) {
879
+ var _b = _a4, { items } = _b, boxProps = __objRest(_b, ["items"]);
871
880
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core20.Box, __spreadProps(__spreadValues({}, boxProps), { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core20.Accordion, { variant: "filled", radius: "md", children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_core20.Accordion.Item, { value: String(i), children: [
872
881
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core20.Accordion.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SdText.Strong, { fz: "sm", children: item.question }) }),
873
882
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core20.Accordion.Panel, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SdText.Body, { fz: "sm", children: item.answer }) })
874
883
  ] }, i)) }) }));
875
884
  }
876
- function WithHeader(_a) {
877
- var _b = _a, { label, title, description, items } = _b, boxProps = __objRest(_b, ["label", "title", "description", "items"]);
885
+ function WithHeader(_a4) {
886
+ var _b = _a4, { label, title, description, items } = _b, boxProps = __objRest(_b, ["label", "title", "description", "items"]);
878
887
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_core20.Stack, __spreadProps(__spreadValues({ gap: "xl" }, boxProps), { children: [
879
888
  /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_core20.Stack, { gap: "xs", children: [
880
889
  label && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SdText.Eyebrow, { children: label }),
@@ -896,8 +905,8 @@ var SdFaq = {
896
905
  // ui/molecule/Cta.tsx
897
906
  var import_core21 = require("@mantine/core");
898
907
  var import_jsx_runtime22 = require("react/jsx-runtime");
899
- function Banner(_a) {
900
- var _b = _a, {
908
+ function Banner(_a4) {
909
+ var _b = _a4, {
901
910
  label,
902
911
  title,
903
912
  description,
@@ -943,8 +952,8 @@ function Banner(_a) {
943
952
  })
944
953
  );
945
954
  }
946
- function Subtle(_a) {
947
- var _b = _a, {
955
+ function Subtle(_a4) {
956
+ var _b = _a4, {
948
957
  label,
949
958
  title,
950
959
  description,
@@ -983,8 +992,8 @@ function Subtle(_a) {
983
992
  })
984
993
  );
985
994
  }
986
- function Inline(_a) {
987
- var _b = _a, {
995
+ function Inline(_a4) {
996
+ var _b = _a4, {
988
997
  label,
989
998
  title,
990
999
  description,
@@ -1043,16 +1052,16 @@ var import_link3 = __toESM(require("next/link"));
1043
1052
  var import_core22 = require("@mantine/core");
1044
1053
  var import_link2 = __toESM(require("next/link"));
1045
1054
  var import_jsx_runtime23 = require("react/jsx-runtime");
1046
- function SolutionCardItem(_a) {
1047
- var _b = _a, { item, onSelect } = _b, cardProps = __objRest(_b, ["item", "onSelect"]);
1048
- var _a2, _b2;
1055
+ function SolutionCardItem(_a4) {
1056
+ var _b = _a4, { item, onSelect } = _b, cardProps = __objRest(_b, ["item", "onSelect"]);
1057
+ var _a5, _b2;
1049
1058
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_core22.Card, __spreadProps(__spreadValues({ withBorder: true }, cardProps), { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_core22.Stack, { gap: "md", children: [
1050
1059
  item.icon,
1051
1060
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(SdBadge.Primary, { children: item.category }),
1052
1061
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(SdTitle.Card, { children: item.title }),
1053
1062
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(SdText.Body, { children: item.description }),
1054
1063
  item.href ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_core22.Button, { variant: "subtle", color: "slate", component: import_link2.default, href: item.href, children: [
1055
- (_a2 = item.ctaLabel) != null ? _a2 : "\uC790\uC138\uD788 \uBCF4\uAE30",
1064
+ (_a5 = item.ctaLabel) != null ? _a5 : "\uC790\uC138\uD788 \uBCF4\uAE30",
1056
1065
  " \u2192"
1057
1066
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(SdButton.Ghost, { onClick: () => onSelect == null ? void 0 : onSelect(item), children: [
1058
1067
  (_b2 = item.ctaLabel) != null ? _b2 : "\uC790\uC138\uD788 \uBCF4\uAE30",
@@ -1083,7 +1092,7 @@ function Filtered({ items, allLabel = "\uC804\uCCB4", cols, onSelect }) {
1083
1092
  }
1084
1093
  function List({ items, onSelect }) {
1085
1094
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_core23.Stack, { gap: 0, children: items.map((item, i) => {
1086
- var _a, _b;
1095
+ var _a4, _b;
1087
1096
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { children: [
1088
1097
  i > 0 && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_core23.Divider, {}),
1089
1098
  /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_core23.Group, { align: "flex-start", py: "lg", gap: "lg", children: [
@@ -1101,7 +1110,7 @@ function List({ items, onSelect }) {
1101
1110
  href: item.href,
1102
1111
  style: { alignSelf: "flex-start", paddingInline: 0 },
1103
1112
  children: [
1104
- (_a = item.ctaLabel) != null ? _a : "\uC790\uC138\uD788 \uBCF4\uAE30",
1113
+ (_a4 = item.ctaLabel) != null ? _a4 : "\uC790\uC138\uD788 \uBCF4\uAE30",
1105
1114
  " \u2192"
1106
1115
  ]
1107
1116
  }
@@ -1219,15 +1228,15 @@ function MapFrame({ address, height }) {
1219
1228
  ] })
1220
1229
  ] });
1221
1230
  }
1222
- function Single(_a) {
1223
- var _b = _a, { address, height = 400 } = _b, boxProps = __objRest(_b, ["address", "height"]);
1231
+ function Single(_a4) {
1232
+ var _b = _a4, { address, height = 400 } = _b, boxProps = __objRest(_b, ["address", "height"]);
1224
1233
  if (!address.embbedUrl) return null;
1225
1234
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_core25.Box, __spreadProps(__spreadValues({}, boxProps), { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(MapFrame, { address, height }) }));
1226
1235
  }
1227
1236
  function Tabs2({ addresses, height = 400 }) {
1228
- var _a, _b, _c;
1237
+ var _a4, _b, _c;
1229
1238
  const mapped = addresses.filter((a) => a.embbedUrl);
1230
- const [active, setActive] = (0, import_react2.useState)((_b = (_a = mapped[0]) == null ? void 0 : _a.label) != null ? _b : "");
1239
+ const [active, setActive] = (0, import_react2.useState)((_b = (_a4 = mapped[0]) == null ? void 0 : _a4.label) != null ? _b : "");
1231
1240
  if (mapped.length === 0) return null;
1232
1241
  if (mapped.length === 1) return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(MapFrame, { address: mapped[0], height });
1233
1242
  const current = (_c = mapped.find((a) => a.label === active)) != null ? _c : mapped[0];
@@ -1257,8 +1266,8 @@ var variantMap = {
1257
1266
  white: SdButton.White
1258
1267
  };
1259
1268
  function CtaButton({ cta }) {
1260
- var _a;
1261
- const Button3 = variantMap[(_a = cta.variant) != null ? _a : "primary"];
1269
+ var _a4;
1270
+ const Button3 = variantMap[(_a4 = cta.variant) != null ? _a4 : "primary"];
1262
1271
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_core26.Anchor, { href: cta.href, underline: "never", children: cta.icon ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Button3, { size: "md", rightSection: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icons_react4.IconArrowNarrowRight, {}), children: cta.label }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Button3, { size: "md", children: cta.label }) });
1263
1272
  }
1264
1273
  function HeroCarousel({ slides, children }) {
@@ -1417,8 +1426,8 @@ function SdFooter({ company, navItems, policyLinks, description }) {
1417
1426
  // ui/organism/FeatureSection.tsx
1418
1427
  var import_core29 = require("@mantine/core");
1419
1428
  var import_jsx_runtime30 = require("react/jsx-runtime");
1420
- function SdFeatureSection(_a) {
1421
- var _b = _a, {
1429
+ function SdFeatureSection(_a4) {
1430
+ var _b = _a4, {
1422
1431
  label,
1423
1432
  title,
1424
1433
  description,
@@ -1452,8 +1461,8 @@ function SdFeatureSection(_a) {
1452
1461
  // ui/organism/TimelineSection.tsx
1453
1462
  var import_core30 = require("@mantine/core");
1454
1463
  var import_jsx_runtime31 = require("react/jsx-runtime");
1455
- function SdTimelineSection(_a) {
1456
- var _b = _a, {
1464
+ function SdTimelineSection(_a4) {
1465
+ var _b = _a4, {
1457
1466
  label,
1458
1467
  title,
1459
1468
  description,
@@ -1482,8 +1491,8 @@ function SdTimelineSection(_a) {
1482
1491
  // ui/organism/StepsSection.tsx
1483
1492
  var import_core31 = require("@mantine/core");
1484
1493
  var import_jsx_runtime32 = require("react/jsx-runtime");
1485
- function SdStepsSection(_a) {
1486
- var _b = _a, {
1494
+ function SdStepsSection(_a4) {
1495
+ var _b = _a4, {
1487
1496
  label,
1488
1497
  title,
1489
1498
  description,