@charisol/plexo-sdk 1.1.9 → 1.1.10

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as e, b as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, o as u, p as d, r as f, s as p, u as m, v as h, x as g, y as _ } from "./iconSvgStatic-D5PrYZfC.js";
2
- import { _ as v, a as y, b, c as x, d as S, f as C, g as w, h as T, i as E, m as ee, n as te, o as ne, p as re, r as ie, u as ae, x as oe, y as se } from "./compiler-Dv-nnW6a.js";
2
+ import { _ as v, a as y, b, c as x, d as S, f as C, g as w, h as T, i as E, m as ee, n as te, o as ne, p as re, r as ie, u as ae, x as oe, y as se } from "./compiler-Bxo7wIKY.js";
3
3
  import { parseJsonToTargetFormat as ce } from "./compilerClient.js";
4
4
  import D, { createContext as le, createElement as ue, forwardRef as de, useCallback as fe, useContext as pe, useEffect as O, useImperativeHandle as me, useMemo as he, useRef as k, useState as A } from "react";
5
5
  import { DndContext as ge, DragOverlay as j, PointerSensor as _e, TouchSensor as M, pointerWithin as ve, rectIntersection as ye, useDraggable as be, useDroppable as xe, useSensor as Se, useSensors as Ce } from "@dnd-kit/core";
@@ -53321,6 +53321,10 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53321
53321
  "blog_author",
53322
53322
  "blog_categories"
53323
53323
  ], tW = {
53324
+ blog_date: "e.g. \"Published on \"",
53325
+ blog_author: "e.g. \"By \"",
53326
+ blog_categories: "e.g. \"Filed under: \""
53327
+ }, nW = {
53324
53328
  blog_title: {
53325
53329
  fontSize: "32px",
53326
53330
  fontWeight: "800",
@@ -53346,10 +53350,14 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53346
53350
  fontWeight: "600",
53347
53351
  color: "#4f46e5"
53348
53352
  }
53349
- }, nW = (e) => {
53350
- let { selectedElement: t, currentStyles: n, openAccordions: r, toggleAccordion: i, onTransientStyleChange: a, AccordionSection: o, InlineSelect: s, InlineColorPicker: c, InlineAlignment: l, InlineCounter: u } = e;
53353
+ }, rW = { blog_categories: {
53354
+ color: "--plexo-categories-color",
53355
+ fontSize: "--plexo-categories-font-size",
53356
+ fontWeight: "--plexo-categories-font-weight"
53357
+ } }, iW = (e) => {
53358
+ let { selectedElement: t, currentAttrs: n, currentStyles: r, openAccordions: i, toggleAccordion: a, onTransientAttrChange: o, onTransientStyleChange: s, AccordionSection: c, InlineTextInput: l, InlineSelect: u, InlineColorPicker: d, InlineAlignment: f, InlineCounter: p } = e;
53351
53359
  if (!t || !eW.includes(t.type)) return null;
53352
- let d = tW[t.type], f = v.reduce((e, t) => (e[t.style] || (e[t.style] = []), e[t.style].push(t), e), {}), p = [
53360
+ let m = nW[t.type], h = tW[t.type], g = rW[t.type] || {}, _ = (e) => g[e] || e, y = v.reduce((e, t) => (e[t.style] || (e[t.style] = []), e[t.style].push(t), e), {}), b = [
53353
53361
  {
53354
53362
  label: "── System ──",
53355
53363
  value: "__sep__",
@@ -53372,7 +53380,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53372
53380
  value: "__sep_sans__",
53373
53381
  disabled: !0
53374
53382
  },
53375
- ...(f.sans || []).map((e) => ({
53383
+ ...(y.sans || []).map((e) => ({
53376
53384
  label: e.label,
53377
53385
  value: e.value
53378
53386
  })),
@@ -53381,7 +53389,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53381
53389
  value: "__sep_serif__",
53382
53390
  disabled: !0
53383
53391
  },
53384
- ...(f.serif || []).map((e) => ({
53392
+ ...(y.serif || []).map((e) => ({
53385
53393
  label: e.label,
53386
53394
  value: e.value
53387
53395
  })),
@@ -53390,7 +53398,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53390
53398
  value: "__sep_display__",
53391
53399
  disabled: !0
53392
53400
  },
53393
- ...(f.display || []).map((e) => ({
53401
+ ...(y.display || []).map((e) => ({
53394
53402
  label: e.label,
53395
53403
  value: e.value
53396
53404
  })),
@@ -53399,7 +53407,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53399
53407
  value: "__sep_hw__",
53400
53408
  disabled: !0
53401
53409
  },
53402
- ...(f.handwriting || []).map((e) => ({
53410
+ ...(y.handwriting || []).map((e) => ({
53403
53411
  label: e.label,
53404
53412
  value: e.value
53405
53413
  })),
@@ -53408,29 +53416,39 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53408
53416
  value: "__sep_mono__",
53409
53417
  disabled: !0
53410
53418
  },
53411
- ...(f.mono || []).map((e) => ({
53419
+ ...(y.mono || []).map((e) => ({
53412
53420
  label: e.label,
53413
53421
  value: e.value
53414
53422
  }))
53415
53423
  ];
53416
- return /* @__PURE__ */ P(o, {
53424
+ return /* @__PURE__ */ F(N, { children: [h && /* @__PURE__ */ P(c, {
53425
+ title: "Text",
53426
+ isOpen: i.text,
53427
+ onToggle: () => a("text"),
53428
+ children: /* @__PURE__ */ P(l, {
53429
+ label: "Prefix",
53430
+ placeholder: h,
53431
+ value: n.prefix || "",
53432
+ onChange: (e) => o("prefix", e)
53433
+ })
53434
+ }), /* @__PURE__ */ P(c, {
53417
53435
  title: "Typography",
53418
- isOpen: r.typography,
53419
- onToggle: () => i("typography"),
53436
+ isOpen: i.typography,
53437
+ onToggle: () => a("typography"),
53420
53438
  children: /* @__PURE__ */ F("div", {
53421
53439
  className: "flex flex-col gap-1",
53422
53440
  children: [
53423
- /* @__PURE__ */ P(s, {
53441
+ /* @__PURE__ */ P(u, {
53424
53442
  label: "Font Family",
53425
- value: n.fontFamily || "'Plus Jakarta Sans', sans-serif",
53426
- options: p,
53443
+ value: r.fontFamily || "'Plus Jakarta Sans', sans-serif",
53444
+ options: b,
53427
53445
  onChange: (e) => {
53428
- e.startsWith("__sep") || a("fontFamily", e);
53446
+ e.startsWith("__sep") || s("fontFamily", e);
53429
53447
  }
53430
53448
  }),
53431
- /* @__PURE__ */ P(s, {
53449
+ /* @__PURE__ */ P(u, {
53432
53450
  label: "Font Weight",
53433
- value: n.fontWeight || d.fontWeight,
53451
+ value: r[_("fontWeight")] || m.fontWeight,
53434
53452
  options: [
53435
53453
  {
53436
53454
  label: "Thin",
@@ -53469,11 +53487,11 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53469
53487
  value: "900"
53470
53488
  }
53471
53489
  ],
53472
- onChange: (e) => a("fontWeight", e)
53490
+ onChange: (e) => s(_("fontWeight"), e)
53473
53491
  }),
53474
- /* @__PURE__ */ P(u, {
53492
+ /* @__PURE__ */ P(p, {
53475
53493
  label: "Font Size",
53476
- value: n.fontSize || d.fontSize,
53494
+ value: r[_("fontSize")] || m.fontSize,
53477
53495
  units: [
53478
53496
  "px",
53479
53497
  "em",
@@ -53482,21 +53500,21 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53482
53500
  ],
53483
53501
  min: 8,
53484
53502
  max: 120,
53485
- onChange: (e) => a("fontSize", e)
53503
+ onChange: (e) => s(_("fontSize"), e)
53486
53504
  }),
53487
- /* @__PURE__ */ P(c, {
53505
+ /* @__PURE__ */ P(d, {
53488
53506
  label: "Color",
53489
- value: n.color || d.color,
53490
- onChange: (e) => a("color", e)
53507
+ value: r[_("color")] || m.color,
53508
+ onChange: (e) => s(_("color"), e)
53491
53509
  }),
53492
- /* @__PURE__ */ P(l, {
53510
+ /* @__PURE__ */ P(f, {
53493
53511
  label: "Text Align",
53494
- value: n.textAlign || "left",
53495
- onChange: (e) => a("textAlign", e)
53512
+ value: r.textAlign || "left",
53513
+ onChange: (e) => s("textAlign", e)
53496
53514
  }),
53497
- /* @__PURE__ */ P(u, {
53515
+ /* @__PURE__ */ P(p, {
53498
53516
  label: "Line Height",
53499
- value: n.lineHeight || "150%",
53517
+ value: r.lineHeight || "150%",
53500
53518
  units: [
53501
53519
  "%",
53502
53520
  "em",
@@ -53505,11 +53523,11 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53505
53523
  min: 80,
53506
53524
  max: 300,
53507
53525
  step: 5,
53508
- onChange: (e) => a("lineHeight", e)
53526
+ onChange: (e) => s("lineHeight", e)
53509
53527
  }),
53510
- /* @__PURE__ */ P(u, {
53528
+ /* @__PURE__ */ P(p, {
53511
53529
  label: "Letter Spacing",
53512
- value: n.letterSpacing || "0px",
53530
+ value: r.letterSpacing || "0px",
53513
53531
  units: [
53514
53532
  "px",
53515
53533
  "em",
@@ -53517,12 +53535,227 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53517
53535
  ],
53518
53536
  min: -5,
53519
53537
  max: 20,
53520
- onChange: (e) => a("letterSpacing", e)
53538
+ onChange: (e) => s("letterSpacing", e)
53539
+ })
53540
+ ]
53541
+ })
53542
+ })] });
53543
+ }, aW = (e) => {
53544
+ let { selectedElement: t, currentStyles: n, openAccordions: r, toggleAccordion: i, onTransientStyleChange: a, AccordionSection: o, InlineColorPicker: s, InlineCounter: c, InlineSelect: l } = e;
53545
+ if (!t || t.type !== "blog_comments") return null;
53546
+ let u = v.reduce((e, t) => (e[t.style] || (e[t.style] = []), e[t.style].push(t), e), {}), d = [
53547
+ {
53548
+ label: "── System ──",
53549
+ value: "__sep__",
53550
+ disabled: !0
53551
+ },
53552
+ {
53553
+ label: "System Sans",
53554
+ value: "sans-serif"
53555
+ },
53556
+ {
53557
+ label: "System Serif",
53558
+ value: "serif"
53559
+ },
53560
+ {
53561
+ label: "System Mono",
53562
+ value: "monospace"
53563
+ },
53564
+ {
53565
+ label: "── Sans-serif ──",
53566
+ value: "__sep_sans__",
53567
+ disabled: !0
53568
+ },
53569
+ ...(u.sans || []).map((e) => ({
53570
+ label: e.label,
53571
+ value: e.value
53572
+ })),
53573
+ {
53574
+ label: "── Serif ──",
53575
+ value: "__sep_serif__",
53576
+ disabled: !0
53577
+ },
53578
+ ...(u.serif || []).map((e) => ({
53579
+ label: e.label,
53580
+ value: e.value
53581
+ })),
53582
+ {
53583
+ label: "── Display ──",
53584
+ value: "__sep_display__",
53585
+ disabled: !0
53586
+ },
53587
+ ...(u.display || []).map((e) => ({
53588
+ label: e.label,
53589
+ value: e.value
53590
+ })),
53591
+ {
53592
+ label: "── Handwriting ──",
53593
+ value: "__sep_hw__",
53594
+ disabled: !0
53595
+ },
53596
+ ...(u.handwriting || []).map((e) => ({
53597
+ label: e.label,
53598
+ value: e.value
53599
+ })),
53600
+ {
53601
+ label: "── Monospace ──",
53602
+ value: "__sep_mono__",
53603
+ disabled: !0
53604
+ },
53605
+ ...(u.mono || []).map((e) => ({
53606
+ label: e.label,
53607
+ value: e.value
53608
+ }))
53609
+ ];
53610
+ return /* @__PURE__ */ P(o, {
53611
+ title: "Comment Box Styles",
53612
+ isOpen: r.typography,
53613
+ onToggle: () => i("typography"),
53614
+ children: /* @__PURE__ */ F("div", {
53615
+ className: "flex flex-col gap-1",
53616
+ children: [
53617
+ /* @__PURE__ */ P(l, {
53618
+ label: "Font Family",
53619
+ value: n["--plexo-comment-font-family"] || "__sep__",
53620
+ options: d,
53621
+ onChange: (e) => {
53622
+ e.startsWith("__sep") || a("--plexo-comment-font-family", e);
53623
+ }
53624
+ }),
53625
+ /* @__PURE__ */ P(s, {
53626
+ label: "Comment Text",
53627
+ value: n["--plexo-comment-text"] || "#1f2430",
53628
+ onChange: (e) => a("--plexo-comment-text", e)
53629
+ }),
53630
+ /* @__PURE__ */ P(c, {
53631
+ label: "Comment Font Size",
53632
+ value: n["--plexo-comment-font-size"] || "0.92rem",
53633
+ units: [
53634
+ "px",
53635
+ "em",
53636
+ "rem"
53637
+ ],
53638
+ min: 8,
53639
+ max: 32,
53640
+ onChange: (e) => a("--plexo-comment-font-size", e)
53641
+ }),
53642
+ /* @__PURE__ */ P(s, {
53643
+ label: "Meta Text (date, author)",
53644
+ value: n["--plexo-comment-meta"] || "#6b7280",
53645
+ onChange: (e) => a("--plexo-comment-meta", e)
53646
+ }),
53647
+ /* @__PURE__ */ P(s, {
53648
+ label: "Input Background",
53649
+ value: n["--plexo-comment-input-bg"] || "#ffffff",
53650
+ onChange: (e) => a("--plexo-comment-input-bg", e)
53651
+ }),
53652
+ /* @__PURE__ */ P(s, {
53653
+ label: "Input Border",
53654
+ value: n["--plexo-comment-input-border"] || "#e5e7eb",
53655
+ onChange: (e) => a("--plexo-comment-input-border", e)
53656
+ }),
53657
+ /* @__PURE__ */ P(s, {
53658
+ label: "Input Text",
53659
+ value: n["--plexo-comment-input-text"] || "#1f2430",
53660
+ onChange: (e) => a("--plexo-comment-input-text", e)
53661
+ }),
53662
+ /* @__PURE__ */ P(s, {
53663
+ label: "Button Background",
53664
+ value: n["--plexo-comment-button-bg"] || "#6d28d9",
53665
+ onChange: (e) => a("--plexo-comment-button-bg", e)
53666
+ }),
53667
+ /* @__PURE__ */ P(s, {
53668
+ label: "Button Text",
53669
+ value: n["--plexo-comment-button-text"] || "#ffffff",
53670
+ onChange: (e) => a("--plexo-comment-button-text", e)
53671
+ })
53672
+ ]
53673
+ })
53674
+ });
53675
+ }, oW = (e) => {
53676
+ let { selectedElement: t, currentStyles: n, openAccordions: r, toggleAccordion: i, onTransientStyleChange: a, AccordionSection: o, InlineColorPicker: s, InlineCounter: c, InlineSelect: l } = e;
53677
+ return !t || t.type !== "blog_post_list" ? null : /* @__PURE__ */ P(o, {
53678
+ title: "Post Card Styles",
53679
+ isOpen: r.typography,
53680
+ onToggle: () => i("typography"),
53681
+ children: /* @__PURE__ */ F("div", {
53682
+ className: "flex flex-col gap-1",
53683
+ children: [
53684
+ /* @__PURE__ */ P(s, {
53685
+ label: "Title Color",
53686
+ value: n["--plexo-postlist-title-color"] || "#17181c",
53687
+ onChange: (e) => a("--plexo-postlist-title-color", e)
53688
+ }),
53689
+ /* @__PURE__ */ P(c, {
53690
+ label: "Title Font Size",
53691
+ value: n["--plexo-postlist-title-font-size"] || "1.5rem",
53692
+ units: [
53693
+ "px",
53694
+ "em",
53695
+ "rem"
53696
+ ],
53697
+ min: 10,
53698
+ max: 64,
53699
+ onChange: (e) => a("--plexo-postlist-title-font-size", e)
53700
+ }),
53701
+ /* @__PURE__ */ P(l, {
53702
+ label: "Title Font Weight",
53703
+ value: n["--plexo-postlist-title-font-weight"] || "700",
53704
+ options: [
53705
+ {
53706
+ label: "Regular",
53707
+ value: "400"
53708
+ },
53709
+ {
53710
+ label: "Medium",
53711
+ value: "500"
53712
+ },
53713
+ {
53714
+ label: "Semi-Bold",
53715
+ value: "600"
53716
+ },
53717
+ {
53718
+ label: "Bold",
53719
+ value: "700"
53720
+ },
53721
+ {
53722
+ label: "Extra-Bold",
53723
+ value: "800"
53724
+ }
53725
+ ],
53726
+ onChange: (e) => a("--plexo-postlist-title-font-weight", e)
53727
+ }),
53728
+ /* @__PURE__ */ P(s, {
53729
+ label: "Excerpt Color",
53730
+ value: n["--plexo-postlist-excerpt-color"] || "#4b5563",
53731
+ onChange: (e) => a("--plexo-postlist-excerpt-color", e)
53732
+ }),
53733
+ /* @__PURE__ */ P(c, {
53734
+ label: "Excerpt Font Size",
53735
+ value: n["--plexo-postlist-excerpt-font-size"] || "1rem",
53736
+ units: [
53737
+ "px",
53738
+ "em",
53739
+ "rem"
53740
+ ],
53741
+ min: 8,
53742
+ max: 32,
53743
+ onChange: (e) => a("--plexo-postlist-excerpt-font-size", e)
53744
+ }),
53745
+ /* @__PURE__ */ P(s, {
53746
+ label: "Meta Text Color (date, author)",
53747
+ value: n["--plexo-postlist-meta-color"] || "#6b7280",
53748
+ onChange: (e) => a("--plexo-postlist-meta-color", e)
53749
+ }),
53750
+ /* @__PURE__ */ P(s, {
53751
+ label: "Card Background",
53752
+ value: n["--plexo-postlist-card-bg"] || "transparent",
53753
+ onChange: (e) => a("--plexo-postlist-card-bg", e)
53521
53754
  })
53522
53755
  ]
53523
53756
  })
53524
53757
  });
53525
- }, rW = (e) => /* @__PURE__ */ F(N, { children: [
53758
+ }, sW = (e) => /* @__PURE__ */ F(N, { children: [
53526
53759
  /* @__PURE__ */ P(kU, { ...e }),
53527
53760
  /* @__PURE__ */ P(jU, { ...e }),
53528
53761
  /* @__PURE__ */ P(NU, { ...e }),
@@ -53539,11 +53772,13 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53539
53772
  /* @__PURE__ */ P(KU, { ...e }),
53540
53773
  /* @__PURE__ */ P(qU, { ...e }),
53541
53774
  /* @__PURE__ */ P($U, { ...e }),
53542
- /* @__PURE__ */ P(nW, { ...e }),
53775
+ /* @__PURE__ */ P(iW, { ...e }),
53776
+ /* @__PURE__ */ P(aW, { ...e }),
53777
+ /* @__PURE__ */ P(oW, { ...e }),
53543
53778
  /* @__PURE__ */ P(JU, { ...e }),
53544
53779
  /* @__PURE__ */ P(YU, { ...e }),
53545
53780
  /* @__PURE__ */ P(XU, { ...e })
53546
- ] }), iW = ({ message: e, onClose: t }) => /* @__PURE__ */ P("div", {
53781
+ ] }), cW = ({ message: e, onClose: t }) => /* @__PURE__ */ P("div", {
53547
53782
  className: "plexo-alert-top fixed left-1/2 top-4 z-[1400] w-full max-w-[460px] -translate-x-1/2 px-4 pointer-events-none",
53548
53783
  children: /* @__PURE__ */ P("div", {
53549
53784
  className: "plexo-alert-top-card rounded-xl border shadow-2xl w-full px-4 py-3 pointer-events-auto",
@@ -53564,7 +53799,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53564
53799
  })]
53565
53800
  })
53566
53801
  })
53567
- }), aW = ({ widths: e, percentages: t }) => /* @__PURE__ */ P("div", {
53802
+ }), lW = ({ widths: e, percentages: t }) => /* @__PURE__ */ P("div", {
53568
53803
  className: "w-full h-full flex items-stretch gap-1 overflow-hidden",
53569
53804
  children: e.map((e, n) => /* @__PURE__ */ P("div", {
53570
53805
  style: {
@@ -53580,7 +53815,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53580
53815
  children: t[n]
53581
53816
  })
53582
53817
  }, `${e}-${n}`))
53583
- }), oW = ({ children: e, rowIds: t, disabled: n }) => {
53818
+ }), uW = ({ children: e, rowIds: t, disabled: n }) => {
53584
53819
  let { setNodeRef: r, isOver: i } = xe({
53585
53820
  id: "canvas-root",
53586
53821
  data: { type: "canvas" },
@@ -53598,10 +53833,10 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53598
53833
  })
53599
53834
  })
53600
53835
  });
53601
- }, sW = (e, t) => {
53836
+ }, dW = (e, t) => {
53602
53837
  let n = t === "tablet" ? "tablet" : t === "mobile" ? "mobile" : null, r = n === "tablet" ? e.styleTablet : n === "mobile" ? e.styleMobile : void 0;
53603
53838
  return S(e.style, r, n);
53604
- }, cW = ({ row: e, selectedRowId: t, selectRow: n, previewMode: r, children: i, deviceView: a, selectedElementId: o }) => {
53839
+ }, fW = ({ row: e, selectedRowId: t, selectRow: n, previewMode: r, children: i, deviceView: a, selectedElementId: o }) => {
53605
53840
  let { attributes: s, listeners: c, setNodeRef: l, transform: u, transition: d, isDragging: f, isOver: p } = L({
53606
53841
  id: e.id,
53607
53842
  data: {
@@ -53609,11 +53844,11 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53609
53844
  id: e.id
53610
53845
  },
53611
53846
  disabled: r
53612
- }), m = pe(Me), h = p && m.overId === e.id && m.edge === "bottom", g = {
53847
+ }), m = pe(Me), h = p && m.overId === e.id && m.edge === "bottom", { alignItems: g, ..._ } = dW(e, a), v = {
53613
53848
  transform: Ee.Transform.toString(u),
53614
53849
  transition: d,
53615
- ...sW(e, a)
53616
- }, _ = t === e.id, v = o && e.columns.some((e) => e.elements.some((e) => e.id === o) || (e.nestedRows || []).some((e) => e.id === o || e.columns.some((e) => e.elements.some((e) => e.id === o))));
53850
+ ..._
53851
+ }, y = t === e.id, b = o && e.columns.some((e) => e.elements.some((e) => e.id === o) || (e.nestedRows || []).some((e) => e.id === o || e.columns.some((e) => e.elements.some((e) => e.id === o))));
53617
53852
  return /* @__PURE__ */ F("div", {
53618
53853
  ref: l,
53619
53854
  id: e.id,
@@ -53621,8 +53856,8 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53621
53856
  onClick: (t) => {
53622
53857
  r || (t.stopPropagation(), n(e.id));
53623
53858
  },
53624
- className: `group relative transition duration-155 ${r ? "cursor-default" : "cursor-pointer"} ${!r && f ? "opacity-35 border-dashed border border-indigo-500 bg-indigo-500/5" : ""} ${!r && p ? h ? "border-b border-indigo-500" : "border-t border-indigo-500" : ""} ${!r && _ ? "outline outline-1 outline-indigo-500 bg-indigo-500/[0.01]" : r ? "" : "hover:outline hover:outline-1 hover:outline-slate-200"} ${!r && (_ || v) ? "z-[30] relative" : ""}`,
53625
- style: g,
53859
+ className: `group relative transition duration-155 ${r ? "cursor-default" : "cursor-pointer"} ${!r && f ? "opacity-35 border-dashed border border-indigo-500 bg-indigo-500/5" : ""} ${!r && p ? h ? "border-b border-indigo-500" : "border-t border-indigo-500" : ""} ${!r && y ? "outline outline-1 outline-indigo-500 bg-indigo-500/[0.01]" : r ? "" : "hover:outline hover:outline-1 hover:outline-slate-200"} ${!r && (y || b) ? "z-[30] relative" : ""}`,
53860
+ style: v,
53626
53861
  children: [
53627
53862
  !r && /* @__PURE__ */ P("div", {
53628
53863
  ...c,
@@ -53630,17 +53865,18 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53630
53865
  className: "plexo-drag-handle absolute -left-3 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 max-xl:opacity-70 bg-[#0c1221] hover:bg-slate-900 text-slate-250 p-1 max-xl:p-2 rounded-md cursor-grab border border-slate-700 z-20 transition shadow-sm",
53631
53866
  children: "⠿"
53632
53867
  }),
53633
- !r && _ && /* @__PURE__ */ P("span", {
53868
+ !r && y && /* @__PURE__ */ P("span", {
53634
53869
  className: "absolute -top-3 left-2 bg-[#0c1221] border border-slate-700 text-slate-200 font-mono text-[8px] px-2 py-0.5 rounded-md font-bold z-30 pointer-events-none shadow-sm",
53635
53870
  children: "Row"
53636
53871
  }),
53637
53872
  /* @__PURE__ */ P("div", {
53638
53873
  className: "plexo-editor-row-cols flex w-full gap-2 md:gap-0",
53874
+ style: { alignItems: g || "stretch" },
53639
53875
  children: i
53640
53876
  })
53641
53877
  ]
53642
53878
  });
53643
- }, lW = ({ row: e, parentRowId: t, parentColId: n, selectedRowId: r, selectRow: i, previewMode: a, children: o, deviceView: s, selectedElementId: c }) => {
53879
+ }, pW = ({ row: e, parentRowId: t, parentColId: n, selectedRowId: r, selectRow: i, previewMode: a, children: o, deviceView: s, selectedElementId: c }) => {
53644
53880
  let { attributes: l, listeners: u, setNodeRef: d, transform: f, transition: p, isDragging: m, isOver: h } = L({
53645
53881
  id: e.id,
53646
53882
  data: {
@@ -53650,11 +53886,11 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53650
53886
  parentColId: n
53651
53887
  },
53652
53888
  disabled: a
53653
- }), g = pe(Me), _ = h && g.overId === e.id && g.edge === "bottom", v = {
53889
+ }), g = pe(Me), _ = h && g.overId === e.id && g.edge === "bottom", { alignItems: v, ...y } = dW(e, s), b = {
53654
53890
  transform: Ee.Transform.toString(f),
53655
53891
  transition: p,
53656
- ...sW(e, s)
53657
- }, y = r === e.id, b = c && e.columns.some((e) => e.elements.some((e) => e.id === c) || (e.nestedRows || []).some((e) => e.id === c || e.columns.some((e) => e.elements.some((e) => e.id === c))));
53892
+ ...y
53893
+ }, x = r === e.id, S = c && e.columns.some((e) => e.elements.some((e) => e.id === c) || (e.nestedRows || []).some((e) => e.id === c || e.columns.some((e) => e.elements.some((e) => e.id === c))));
53658
53894
  return /* @__PURE__ */ F("div", {
53659
53895
  ref: d,
53660
53896
  id: e.id,
@@ -53662,8 +53898,8 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53662
53898
  onClick: (t) => {
53663
53899
  a || (t.stopPropagation(), i(e.id));
53664
53900
  },
53665
- className: `group relative transition duration-150 mt-2 ${a ? "cursor-default" : "cursor-pointer"} ${!a && m ? "opacity-35 border-dashed border border-indigo-500 bg-indigo-500/5" : ""} ${!a && h ? _ ? "border-b border-indigo-500" : "border-t border-indigo-500" : ""} ${!a && y ? "outline outline-1 outline-indigo-500 bg-indigo-500/[0.01]" : a ? "" : "hover:outline hover:outline-1 hover:outline-slate-200"} ${!a && (y || b) ? "z-[30] relative" : ""}`,
53666
- style: v,
53901
+ className: `group relative transition duration-150 mt-2 ${a ? "cursor-default" : "cursor-pointer"} ${!a && m ? "opacity-35 border-dashed border border-indigo-500 bg-indigo-500/5" : ""} ${!a && h ? _ ? "border-b border-indigo-500" : "border-t border-indigo-500" : ""} ${!a && x ? "outline outline-1 outline-indigo-500 bg-indigo-500/[0.01]" : a ? "" : "hover:outline hover:outline-1 hover:outline-slate-200"} ${!a && (x || S) ? "z-[30] relative" : ""}`,
53902
+ style: b,
53667
53903
  children: [
53668
53904
  !a && /* @__PURE__ */ P("div", {
53669
53905
  ...u,
@@ -53671,21 +53907,22 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53671
53907
  className: "plexo-drag-handle absolute -left-3 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 max-xl:opacity-70 bg-[#0c1221] hover:bg-slate-900 text-slate-250 p-1 max-xl:p-2 rounded-md cursor-grab border border-slate-700 z-20 transition shadow-sm",
53672
53908
  children: "⠿"
53673
53909
  }),
53674
- !a && y && /* @__PURE__ */ P("span", {
53910
+ !a && x && /* @__PURE__ */ P("span", {
53675
53911
  className: "absolute -top-3 left-2 bg-[#0c1221] border border-slate-700 text-slate-200 font-mono text-[8px] px-2 py-0.5 rounded-md font-bold z-30 pointer-events-none shadow-sm",
53676
53912
  children: "Nested Row"
53677
53913
  }),
53678
53914
  /* @__PURE__ */ P("div", {
53679
53915
  className: "plexo-editor-row-cols flex w-full gap-2 md:gap-0",
53916
+ style: { alignItems: v || "stretch" },
53680
53917
  children: o
53681
53918
  })
53682
53919
  ]
53683
53920
  });
53684
- }, uW = (e) => e.parentRowId && e.parentColId ? /* @__PURE__ */ P(lW, {
53921
+ }, mW = (e) => e.parentRowId && e.parentColId ? /* @__PURE__ */ P(pW, {
53685
53922
  ...e,
53686
53923
  parentRowId: e.parentRowId,
53687
53924
  parentColId: e.parentColId
53688
- }) : /* @__PURE__ */ P(cW, { ...e }), dW = ({ col: e, rowId: n, parentRowId: r, parentColId: i, selectedColumnId: a, selectColumn: o, previewMode: s, children: c, deviceView: l }) => {
53925
+ }) : /* @__PURE__ */ P(fW, { ...e }), hW = ({ col: e, rowId: n, parentRowId: r, parentColId: i, selectedColumnId: a, selectColumn: o, previewMode: s, children: c, deviceView: l }) => {
53689
53926
  let { setNodeRef: u, isOver: d } = xe({
53690
53927
  id: e.id,
53691
53928
  data: {
@@ -53733,7 +53970,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53733
53970
  })
53734
53971
  })]
53735
53972
  });
53736
- }, fW = ({ filter: e, onSelect: t, currentValue: n }) => {
53973
+ }, gW = ({ filter: e, onSelect: t, currentValue: n }) => {
53737
53974
  let [r, i] = A(!1), a = k(null), o = k(null), [s, c] = A({
53738
53975
  top: 0,
53739
53976
  left: 0
@@ -53827,7 +54064,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53827
54064
  }, e.key);
53828
54065
  })
53829
54066
  }), document.body)] });
53830
- }, pW = ({ label: e, value: t, onChange: n, textColor: r, backgroundColor: i }) => {
54067
+ }, _W = ({ label: e, value: t, onChange: n, textColor: r, backgroundColor: i }) => {
53831
54068
  let [a, o] = A(!1), s = k(null), c = k(null), l = k(null), u = !t || t === "transparent", d = ((e) => {
53832
54069
  let t = "#ffffff", n = 100, r = (e || "").trim().toLowerCase();
53833
54070
  if (r.startsWith("#")) if (r.length === 9) {
@@ -53950,7 +54187,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
53950
54187
  className: "w-20 bg-transparent text-right font-mono text-sm outline-none pr-1",
53951
54188
  style: { color: "var(--builder-input-text)" }
53952
54189
  }),
53953
- /* @__PURE__ */ P(fW, {
54190
+ /* @__PURE__ */ P(gW, {
53954
54191
  filter: (e) => e.type === "color" || /^#[0-9a-fA-F]{3,8}$|^rgba?\(|^hsla?\(/.test(e.value),
53955
54192
  onSelect: n,
53956
54193
  currentValue: t
@@ -54089,7 +54326,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
54089
54326
  ]
54090
54327
  })]
54091
54328
  });
54092
- }, mW = ({ elem: t, columnId: r, rowId: o, selectedElementId: m, selectElement: h, deviceView: g, transientStyle: _, transientAttr: v, updateElement: y, onTransientStyleChange: b, onTransientAttrChange: x, clearTransientOverrides: C, duplicateElement: w, deleteElement: T, previewMode: E, useAi: ee, aiProvider: te, aiTier: ne, apiKey: re, externalUserId: ie, templateKind: ae, onRequestComment: oe, ICONS: se, getFormFields: ce, getDefaultStyle: le, isElementHiddenForView: ue, renderSocialIcon: de, onNotify: fe, textColor: me = "#e2e8f0", backgroundColor: he = "#0e1526", customCss: ge = "", mergeTags: j = [], themeBgColor: _e = "#273df2" }) => {
54329
+ }, vW = ({ elem: t, columnId: r, rowId: o, selectedElementId: m, selectElement: h, deviceView: g, transientStyle: _, transientAttr: v, updateElement: y, onTransientStyleChange: b, onTransientAttrChange: x, clearTransientOverrides: C, duplicateElement: w, deleteElement: T, previewMode: E, useAi: ee, aiProvider: te, aiTier: ne, apiKey: re, externalUserId: ie, templateKind: ae, onRequestComment: oe, ICONS: se, getFormFields: ce, getDefaultStyle: le, isElementHiddenForView: ue, renderSocialIcon: de, onNotify: fe, textColor: me = "#e2e8f0", backgroundColor: he = "#0e1526", customCss: ge = "", mergeTags: j = [], themeBgColor: _e = "#273df2" }) => {
54093
54330
  let { attributes: M, listeners: ve, setNodeRef: ye, transform: be, transition: xe, isDragging: Se, isOver: Ce } = L({
54094
54331
  id: t.id,
54095
54332
  data: {
@@ -54509,7 +54746,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
54509
54746
  className: "absolute top-full mt-2 left-0 p-3 rounded-xl border border-slate-700 shadow-2xl z-[99999] w-72",
54510
54747
  style: { backgroundColor: he },
54511
54748
  onClick: (e) => e.stopPropagation(),
54512
- children: /* @__PURE__ */ P(pW, {
54749
+ children: /* @__PURE__ */ P(_W, {
54513
54750
  label: "Text Color",
54514
54751
  value: H.color || "#6366f1",
54515
54752
  textColor: me,
@@ -54533,7 +54770,7 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
54533
54770
  className: "absolute top-full mt-2 left-0 p-3 rounded-xl border border-slate-700 shadow-2xl z-[99999] w-72",
54534
54771
  style: { backgroundColor: he },
54535
54772
  onClick: (e) => e.stopPropagation(),
54536
- children: /* @__PURE__ */ P(pW, {
54773
+ children: /* @__PURE__ */ P(_W, {
54537
54774
  label: "Highlight Color",
54538
54775
  value: H.backgroundColor || "#ffffff",
54539
54776
  textColor: me,
@@ -55127,14 +55364,14 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
55127
55364
  blog_categories: "28px",
55128
55365
  blog_comments: "160px",
55129
55366
  blog_post_list: "260px"
55130
- }, r = {
55367
+ }, r = typeof U.prefix == "string" ? U.prefix : "", i = {
55131
55368
  blog_title: "Sample Post Title",
55132
55369
  blog_content: "This is sample post content, styled exactly as a real post’s body will render — check that it reads clearly against its background before publishing.",
55133
- blog_date: "August 7, 2026",
55134
- blog_author: "By Jane Doe",
55135
- blog_categories: "Design · Marketing"
55136
- }[t.type];
55137
- return r ? /* @__PURE__ */ F("div", {
55370
+ blog_date: `${r}August 7, 2026`,
55371
+ blog_author: `${r || "By "}Jane Doe`,
55372
+ blog_categories: `${r}Design · Marketing`
55373
+ }[t.type], a = t.type === "blog_categories" ? "--plexo-categories-color" : "color", o = t.type === "blog_categories" ? "--plexo-categories-font-size" : "fontSize", s = t.type === "blog_categories" ? "--plexo-categories-font-weight" : "fontWeight";
55374
+ if (i) return /* @__PURE__ */ F("div", {
55138
55375
  style: {
55139
55376
  width: "100%",
55140
55377
  position: "relative"
@@ -55145,9 +55382,9 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
55145
55382
  }), /* @__PURE__ */ P("div", {
55146
55383
  style: {
55147
55384
  minHeight: n[t.type],
55148
- color: H.color,
55149
- fontSize: H.fontSize,
55150
- fontWeight: H.fontWeight,
55385
+ color: H[a],
55386
+ fontSize: H[o],
55387
+ fontWeight: H[s],
55151
55388
  fontFamily: H.fontFamily,
55152
55389
  fontStyle: H.fontStyle,
55153
55390
  textDecoration: H.textDecoration,
@@ -55163,9 +55400,79 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
55163
55400
  margin: H.margin,
55164
55401
  whiteSpace: "pre-wrap"
55165
55402
  },
55166
- children: r
55403
+ children: i
55167
55404
  })]
55168
- }) : /* @__PURE__ */ P("div", {
55405
+ });
55406
+ if (t.type === "blog_post_list") {
55407
+ let n = H, r = n["--plexo-postlist-card-bg"] || "transparent", i = n["--plexo-postlist-title-color"] || "#17181c", a = n["--plexo-postlist-title-font-size"] || "1.1em", o = n["--plexo-postlist-title-font-weight"] || "700", s = n["--plexo-postlist-excerpt-color"] || "#4b5563", c = n["--plexo-postlist-meta-color"] || "#6b7280";
55408
+ return /* @__PURE__ */ F("div", {
55409
+ style: {
55410
+ width: "100%",
55411
+ position: "relative",
55412
+ padding: H.padding,
55413
+ margin: H.margin
55414
+ },
55415
+ children: [/* @__PURE__ */ P("span", {
55416
+ className: "absolute -top-2 left-2 z-10 px-1.5 py-0.5 rounded bg-purple-500/90 text-white text-[9px] font-bold uppercase tracking-wide pointer-events-none",
55417
+ children: e[t.type]
55418
+ }), /* @__PURE__ */ P("div", {
55419
+ style: {
55420
+ display: "grid",
55421
+ gridTemplateColumns: "repeat(3, 1fr)",
55422
+ gap: 12,
55423
+ border: "2px dashed rgba(168,85,247,0.4)",
55424
+ borderRadius: 8,
55425
+ padding: 12
55426
+ },
55427
+ children: [
55428
+ 1,
55429
+ 2,
55430
+ 3
55431
+ ].map((e) => /* @__PURE__ */ F("div", {
55432
+ style: {
55433
+ background: r,
55434
+ borderRadius: 6,
55435
+ padding: 8,
55436
+ display: "flex",
55437
+ flexDirection: "column",
55438
+ gap: 4
55439
+ },
55440
+ children: [
55441
+ /* @__PURE__ */ P("div", { style: {
55442
+ width: "100%",
55443
+ aspectRatio: "2/1",
55444
+ background: "#e2e8f0",
55445
+ borderRadius: 4
55446
+ } }),
55447
+ /* @__PURE__ */ F("div", {
55448
+ style: {
55449
+ color: i,
55450
+ fontSize: a,
55451
+ fontWeight: o,
55452
+ lineHeight: 1.25
55453
+ },
55454
+ children: ["Sample Post ", e]
55455
+ }),
55456
+ /* @__PURE__ */ P("div", {
55457
+ style: {
55458
+ color: s,
55459
+ fontSize: "0.75em"
55460
+ },
55461
+ children: "A short excerpt preview line…"
55462
+ }),
55463
+ /* @__PURE__ */ P("div", {
55464
+ style: {
55465
+ color: c,
55466
+ fontSize: "0.7em"
55467
+ },
55468
+ children: "Jane Doe · Aug 7, 2026"
55469
+ })
55470
+ ]
55471
+ }, e))
55472
+ })]
55473
+ });
55474
+ }
55475
+ return /* @__PURE__ */ P("div", {
55169
55476
  style: {
55170
55477
  padding: H.padding,
55171
55478
  margin: H.margin,
@@ -55609,13 +55916,13 @@ var IU = ({ value: e, onChange: t, sitePages: n }) => {
55609
55916
  };
55610
55917
  //#endregion
55611
55918
  //#region src/components/inlineControls/InlineCounter.tsx
55612
- function hW(e, t) {
55919
+ function yW(e, t) {
55613
55920
  if (t) return t;
55614
55921
  let n = e.toLowerCase();
55615
55922
  return n.includes("font size") || n.includes("font-size") ? "font-size" : n.includes("font weight") || n.includes("font-weight") || n.includes("weight") ? "font-weight" : n.includes("line height") || n.includes("line-height") ? "line-height" : n.includes("letter spacing") || n.includes("letter-spacing") ? "letter-spacing" : n.includes("border radius") || n.includes("border-radius") || n.includes("rounded") ? "border-radius" : n.includes("blur") ? "filter-blur" : null;
55616
55923
  }
55617
- var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 500, step: o = 1, onChange: s, strataTokenKey: c }) => {
55618
- let l = String(t || "").match(/^([+-]?\d+(?:\.\d+)?)(.*)$/), u = l ? parseFloat(l[1]) : 0, d = l && l[2] ? l[2].trim() : r && r.length > 0 ? r[0] : n, f = hW(e, c), p = (e) => {
55924
+ var bW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 500, step: o = 1, onChange: s, strataTokenKey: c }) => {
55925
+ let l = String(t || "").match(/^([+-]?\d+(?:\.\d+)?)(.*)$/), u = l ? parseFloat(l[1]) : 0, d = l && l[2] ? l[2].trim() : r && r.length > 0 ? r[0] : n, f = yW(e, c), p = (e) => {
55619
55926
  s(`${e}${d}`);
55620
55927
  }, m = (e) => {
55621
55928
  s(`${u}${e}`);
@@ -55628,7 +55935,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55628
55935
  }), /* @__PURE__ */ F("div", {
55629
55936
  className: "flex items-center gap-1.5",
55630
55937
  children: [
55631
- f && /* @__PURE__ */ P(fW, {
55938
+ f && /* @__PURE__ */ P(gW, {
55632
55939
  filter: (e) => e.key.includes(f),
55633
55940
  onSelect: (e) => s(e),
55634
55941
  currentValue: t
@@ -55699,7 +56006,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55699
56006
  ]
55700
56007
  })]
55701
56008
  });
55702
- }, _W = ({ label: e, value: t, options: n, onChange: r }) => /* @__PURE__ */ F("div", {
56009
+ }, xW = ({ label: e, value: t, options: n, onChange: r }) => /* @__PURE__ */ F("div", {
55703
56010
  className: "flex items-center justify-between py-3 border-b border-slate-800/10 last:border-b-0",
55704
56011
  children: [/* @__PURE__ */ P("span", {
55705
56012
  className: "text-sm text-slate-300 font-semibold leading-5 tracking-[0.01em]",
@@ -55712,7 +56019,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55712
56019
  menuClassName: "min-w-[190px]",
55713
56020
  align: "right"
55714
56021
  })]
55715
- }), vW = ({ label: e, value: t, onChange: n }) => {
56022
+ }), SW = ({ label: e, value: t, onChange: n }) => {
55716
56023
  let r = [
55717
56024
  {
55718
56025
  value: "left",
@@ -55750,7 +56057,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55750
56057
  }, e.value))
55751
56058
  })]
55752
56059
  });
55753
- }, yW = ({ label: e, value: t, onChange: n }) => /* @__PURE__ */ F("div", {
56060
+ }, CW = ({ label: e, value: t, onChange: n }) => /* @__PURE__ */ F("div", {
55754
56061
  className: "flex flex-col gap-2 py-3 border-b border-slate-800/10 last:border-b-0",
55755
56062
  children: [/* @__PURE__ */ P("span", {
55756
56063
  className: "text-[11px] text-slate-350 font-semibold uppercase tracking-[0.12em] leading-5",
@@ -55766,7 +56073,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55766
56073
  color: "var(--builder-input-text)"
55767
56074
  }
55768
56075
  })]
55769
- }), bW = ({ label: e, value: t, rows: n = 4, onChange: r, codeMode: i }) => /* @__PURE__ */ F("div", {
56076
+ }), wW = ({ label: e, value: t, rows: n = 4, onChange: r, codeMode: i }) => /* @__PURE__ */ F("div", {
55770
56077
  className: "flex flex-col gap-2 py-3 border-b border-slate-800/10 last:border-b-0",
55771
56078
  children: [/* @__PURE__ */ P("span", {
55772
56079
  className: "text-[11px] text-slate-350 font-semibold uppercase tracking-[0.12em] leading-5",
@@ -55784,7 +56091,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55784
56091
  fontFamily: i ? "Fira Code, Consolas, Monaco, monospace" : void 0
55785
56092
  }
55786
56093
  })]
55787
- }), xW = ({ styles: e, onChange: t }) => {
56094
+ }), TW = ({ styles: e, onChange: t }) => {
55788
56095
  let [n, r] = A(!1), i = parseInt(e.borderRadius) || 0, a = parseInt(e.borderTopLeftRadius) || i || 0, o = parseInt(e.borderTopRightRadius) || i || 0, s = parseInt(e.borderBottomRightRadius) || i || 0, c = parseInt(e.borderBottomLeftRadius) || i || 0, l = (e) => {
55789
56096
  t("borderRadius", e), t("borderTopLeftRadius", e), t("borderTopRightRadius", e), t("borderBottomRightRadius", e), t("borderBottomLeftRadius", e);
55790
56097
  }, u = (n, r) => {
@@ -55811,7 +56118,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55811
56118
  }), /* @__PURE__ */ F("div", {
55812
56119
  className: "flex items-center gap-1.5",
55813
56120
  children: [
55814
- /* @__PURE__ */ P(fW, {
56121
+ /* @__PURE__ */ P(gW, {
55815
56122
  filter: (e) => e.key.includes("border-radius") && e.type === "dimension",
55816
56123
  onSelect: l,
55817
56124
  currentValue: `${i}px`
@@ -55831,7 +56138,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55831
56138
  }), n ? /* @__PURE__ */ F("div", {
55832
56139
  className: "grid grid-cols-1 gap-2 mt-1.5",
55833
56140
  children: [
55834
- /* @__PURE__ */ P(gW, {
56141
+ /* @__PURE__ */ P(bW, {
55835
56142
  label: "Top-Left",
55836
56143
  value: `${a}px`,
55837
56144
  units: [
@@ -55842,7 +56149,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55842
56149
  ],
55843
56150
  onChange: (e) => u("borderTopLeftRadius", e)
55844
56151
  }),
55845
- /* @__PURE__ */ P(gW, {
56152
+ /* @__PURE__ */ P(bW, {
55846
56153
  label: "Top-Right",
55847
56154
  value: `${o}px`,
55848
56155
  units: [
@@ -55853,7 +56160,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55853
56160
  ],
55854
56161
  onChange: (e) => u("borderTopRightRadius", e)
55855
56162
  }),
55856
- /* @__PURE__ */ P(gW, {
56163
+ /* @__PURE__ */ P(bW, {
55857
56164
  label: "Bottom-Right",
55858
56165
  value: `${s}px`,
55859
56166
  units: [
@@ -55864,7 +56171,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55864
56171
  ],
55865
56172
  onChange: (e) => u("borderBottomRightRadius", e)
55866
56173
  }),
55867
- /* @__PURE__ */ P(gW, {
56174
+ /* @__PURE__ */ P(bW, {
55868
56175
  label: "Bottom-Left",
55869
56176
  value: `${c}px`,
55870
56177
  units: [
@@ -55876,7 +56183,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55876
56183
  onChange: (e) => u("borderBottomLeftRadius", e)
55877
56184
  })
55878
56185
  ]
55879
- }) : /* @__PURE__ */ P(gW, {
56186
+ }) : /* @__PURE__ */ P(bW, {
55880
56187
  label: "All Sides",
55881
56188
  value: `${i}px`,
55882
56189
  units: [
@@ -55888,28 +56195,28 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55888
56195
  onChange: l
55889
56196
  })]
55890
56197
  });
55891
- }, SW = {
56198
+ }, EW = {
55892
56199
  offsetX: 0,
55893
56200
  offsetY: 4,
55894
56201
  blur: 6,
55895
56202
  spread: -1,
55896
56203
  color: "#0000001a"
55897
- }, CW = (e) => {
56204
+ }, DW = (e) => {
55898
56205
  let t = (e || "").trim();
55899
- if (!t || t === "none") return SW;
56206
+ if (!t || t === "none") return EW;
55900
56207
  let n = t.match(/^(-?[\d.]+)px\s+(-?[\d.]+)px(?:\s+(-?[\d.]+)px)?(?:\s+(-?[\d.]+)px)?\s*(.*)$/);
55901
- if (!n) return SW;
56208
+ if (!n) return EW;
55902
56209
  let [, r, i, a, o, s] = n;
55903
56210
  return {
55904
56211
  offsetX: parseFloat(r) || 0,
55905
56212
  offsetY: parseFloat(i) || 0,
55906
56213
  blur: a === void 0 ? 0 : parseFloat(a) || 0,
55907
56214
  spread: o === void 0 ? 0 : parseFloat(o) || 0,
55908
- color: s?.trim() || SW.color
56215
+ color: s?.trim() || EW.color
55909
56216
  };
55910
- }, wW = (e) => `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.spread}px ${e.color}`, TW = ({ styles: e, onChange: t }) => {
55911
- let n = !e.boxShadow || e.boxShadow === "none", r = CW(e.boxShadow), i = (e) => {
55912
- t("boxShadow", wW({
56217
+ }, OW = (e) => `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.spread}px ${e.color}`, kW = ({ styles: e, onChange: t }) => {
56218
+ let n = !e.boxShadow || e.boxShadow === "none", r = DW(e.boxShadow), i = (e) => {
56219
+ t("boxShadow", OW({
55913
56220
  ...r,
55914
56221
  ...e
55915
56222
  }));
@@ -55923,42 +56230,42 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55923
56230
  children: "Box Shadow"
55924
56231
  }), /* @__PURE__ */ P("button", {
55925
56232
  type: "button",
55926
- onClick: () => t("boxShadow", n ? wW(r) : "none"),
56233
+ onClick: () => t("boxShadow", n ? OW(r) : "none"),
55927
56234
  className: `plexo-switch-track plexo-switch-track-sm ${n ? "plexo-switch-track-off" : "plexo-switch-track-on"}`,
55928
56235
  children: /* @__PURE__ */ P("span", { className: `plexo-switch-thumb plexo-switch-thumb-sm ${n ? "plexo-switch-thumb-off" : "plexo-switch-thumb-on-sm"}` })
55929
56236
  })]
55930
56237
  }), !n && /* @__PURE__ */ F("div", {
55931
56238
  className: "grid grid-cols-1 gap-2 mt-1.5",
55932
56239
  children: [
55933
- /* @__PURE__ */ P(gW, {
56240
+ /* @__PURE__ */ P(bW, {
55934
56241
  label: "Offset X",
55935
56242
  value: `${r.offsetX}px`,
55936
56243
  min: -100,
55937
56244
  max: 100,
55938
56245
  onChange: (e) => i({ offsetX: parseFloat(e) || 0 })
55939
56246
  }),
55940
- /* @__PURE__ */ P(gW, {
56247
+ /* @__PURE__ */ P(bW, {
55941
56248
  label: "Offset Y",
55942
56249
  value: `${r.offsetY}px`,
55943
56250
  min: -100,
55944
56251
  max: 100,
55945
56252
  onChange: (e) => i({ offsetY: parseFloat(e) || 0 })
55946
56253
  }),
55947
- /* @__PURE__ */ P(gW, {
56254
+ /* @__PURE__ */ P(bW, {
55948
56255
  label: "Blur",
55949
56256
  value: `${r.blur}px`,
55950
56257
  min: 0,
55951
56258
  max: 200,
55952
56259
  onChange: (e) => i({ blur: parseFloat(e) || 0 })
55953
56260
  }),
55954
- /* @__PURE__ */ P(gW, {
56261
+ /* @__PURE__ */ P(bW, {
55955
56262
  label: "Spread",
55956
56263
  value: `${r.spread}px`,
55957
56264
  min: -100,
55958
56265
  max: 100,
55959
56266
  onChange: (e) => i({ spread: parseFloat(e) || 0 })
55960
56267
  }),
55961
- /* @__PURE__ */ P(pW, {
56268
+ /* @__PURE__ */ P(_W, {
55962
56269
  label: "Shadow Color",
55963
56270
  value: r.color,
55964
56271
  onChange: (e) => i({ color: e })
@@ -55966,20 +56273,20 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
55966
56273
  ]
55967
56274
  })]
55968
56275
  });
55969
- }, EW = ({ onSelect: e }) => /* @__PURE__ */ P("div", {
56276
+ }, AW = ({ onSelect: e }) => /* @__PURE__ */ P("div", {
55970
56277
  className: "grid grid-cols-1 gap-2.5",
55971
56278
  children: ee.map((t, n) => /* @__PURE__ */ P("button", {
55972
56279
  onClick: () => e(t.widths),
55973
56280
  className: "group w-full h-14 bg-[#09132a] border border-slate-700/80 hover:border-cyan-400 p-2 flex items-center justify-between transition",
55974
56281
  children: /* @__PURE__ */ P("div", {
55975
56282
  className: "flex-1 h-full",
55976
- children: /* @__PURE__ */ P(aW, {
56283
+ children: /* @__PURE__ */ P(lW, {
55977
56284
  widths: t.widths,
55978
56285
  percentages: t.percentages
55979
56286
  })
55980
56287
  })
55981
56288
  }, n))
55982
- }), DW = ({ label: e, stylePrefix: t, styles: n, onChange: r, allowNegative: i = !1 }) => {
56289
+ }), jW = ({ label: e, stylePrefix: t, styles: n, onChange: r, allowNegative: i = !1 }) => {
55983
56290
  let a = i ? -500 : 0, o = {
55984
56291
  all: t,
55985
56292
  top: `${t}Top`,
@@ -56012,7 +56319,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56012
56319
  }), /* @__PURE__ */ F("div", {
56013
56320
  className: "flex items-center gap-1.5",
56014
56321
  children: [
56015
- /* @__PURE__ */ P(fW, {
56322
+ /* @__PURE__ */ P(gW, {
56016
56323
  filter: (e) => (e.key.includes("space-padding") || e.key.includes("space-gap") || e.key.includes("space-margin")) && (e.type === "dimension" || /px$|rem$|em$/.test(e.value)),
56017
56324
  onSelect: h,
56018
56325
  currentValue: `${u}px`
@@ -56032,7 +56339,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56032
56339
  }), s ? /* @__PURE__ */ F("div", {
56033
56340
  className: "grid grid-cols-1 gap-2 mt-1.5",
56034
56341
  children: [
56035
- /* @__PURE__ */ P(gW, {
56342
+ /* @__PURE__ */ P(bW, {
56036
56343
  label: "Top",
56037
56344
  value: `${d}px`,
56038
56345
  units: [
@@ -56044,7 +56351,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56044
56351
  min: a,
56045
56352
  onChange: (e) => g(o.top, e)
56046
56353
  }),
56047
- /* @__PURE__ */ P(gW, {
56354
+ /* @__PURE__ */ P(bW, {
56048
56355
  label: "Right",
56049
56356
  value: `${m}px`,
56050
56357
  units: [
@@ -56056,7 +56363,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56056
56363
  min: a,
56057
56364
  onChange: (e) => g(o.right, e)
56058
56365
  }),
56059
- /* @__PURE__ */ P(gW, {
56366
+ /* @__PURE__ */ P(bW, {
56060
56367
  label: "Bottom",
56061
56368
  value: `${f}px`,
56062
56369
  units: [
@@ -56068,7 +56375,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56068
56375
  min: a,
56069
56376
  onChange: (e) => g(o.bottom, e)
56070
56377
  }),
56071
- /* @__PURE__ */ P(gW, {
56378
+ /* @__PURE__ */ P(bW, {
56072
56379
  label: "Left",
56073
56380
  value: `${p}px`,
56074
56381
  units: [
@@ -56081,7 +56388,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56081
56388
  onChange: (e) => g(o.left, e)
56082
56389
  })
56083
56390
  ]
56084
- }) : /* @__PURE__ */ P(gW, {
56391
+ }) : /* @__PURE__ */ P(bW, {
56085
56392
  label: "All Sides",
56086
56393
  value: `${u}px`,
56087
56394
  units: [
@@ -56094,7 +56401,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56094
56401
  onChange: h
56095
56402
  })]
56096
56403
  });
56097
- }, OW = ({ label: e, onUploadMock: t }) => /* @__PURE__ */ F("div", {
56404
+ }, MW = ({ label: e, onUploadMock: t }) => /* @__PURE__ */ F("div", {
56098
56405
  className: "py-1",
56099
56406
  children: [/* @__PURE__ */ P("label", {
56100
56407
  className: "text-xs text-slate-400 font-medium block mb-1.5",
@@ -56104,7 +56411,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56104
56411
  className: "w-full h-12 border border-dashed border-slate-800/60 hover:border-indigo-500 rounded-md flex flex-col items-center justify-center gap-0.5 text-slate-550 hover:text-indigo-400 bg-slate-950/20 hover:bg-indigo-500/[0.01] transition select-none text-[10px] font-semibold",
56105
56412
  children: /* @__PURE__ */ P("span", { children: "Upload File" })
56106
56413
  })]
56107
- }), kW = { body: {
56414
+ }), NW = { body: {
56108
56415
  style: {
56109
56416
  background: "#ffffffff",
56110
56417
  padding: "32px"
@@ -56148,7 +56455,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56148
56455
  }]
56149
56456
  }]
56150
56457
  }]
56151
- } }, AW = ({ apiKey: e, mode: t, onSave: n, isSavingLayout: r, setIsSavingLayout: i, normalizeTemplateWithDefaults: a, templateId: o, allowPublishLandingPage: s }) => {
56458
+ } }, PW = ({ apiKey: e, mode: t, onSave: n, isSavingLayout: r, setIsSavingLayout: i, normalizeTemplateWithDefaults: a, templateId: o, allowPublishLandingPage: s }) => {
56152
56459
  let c = fe(() => JSON.parse(JSON.stringify(Ie.getState().template)), []), l = fe(async (t) => {
56153
56460
  let n = c(), r = a(n);
56154
56461
  if (t === "email") {
@@ -56222,8 +56529,8 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56222
56529
  exportDesign: l,
56223
56530
  handleBuiltInSave: u
56224
56531
  };
56225
- }, jW = 1280, MW = (e) => e < 768 ? "mobile" : e < 1280 ? "tablet" : "desktop", NW = () => {
56226
- let [e, t] = A(() => typeof window < "u" ? window.innerWidth : jW);
56532
+ }, FW = 1280, IW = (e) => e < 768 ? "mobile" : e < 1280 ? "tablet" : "desktop", LW = () => {
56533
+ let [e, t] = A(() => typeof window < "u" ? window.innerWidth : FW);
56227
56534
  return O(() => {
56228
56535
  if (typeof window > "u") return;
56229
56536
  let e = null, n = () => {
@@ -56236,14 +56543,14 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56236
56543
  };
56237
56544
  }, []), {
56238
56545
  width: e,
56239
- category: MW(e)
56546
+ category: IW(e)
56240
56547
  };
56241
- }, PW = (e) => {
56548
+ }, RW = (e) => {
56242
56549
  let t = {};
56243
56550
  return e.tokens.forEach((e) => {
56244
56551
  t[e.cssVariableName] = e, t[e.id] = e;
56245
56552
  }), t;
56246
- }, FW = (e, t) => {
56553
+ }, zW = (e, t) => {
56247
56554
  let n = { ...e }, r = e.style || {}, i = {};
56248
56555
  return Object.entries(r).forEach(([e, n]) => {
56249
56556
  if (typeof n == "string" && t[n]) {
@@ -56251,7 +56558,7 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56251
56558
  i[e] = `var(${r.cssVariableName})`;
56252
56559
  } else i[e] = n;
56253
56560
  }), n.style = i, n;
56254
- }, IW = (e, t) => e.tokens.filter((e) => e.category === t), LW = (e) => `:root {\n${e.tokens.map((e) => ` ${e.cssVariableName}: ${e.value};`).join("\n")}\n}`, RW = (e, t) => e ? e.startsWith("var(") ? e : t[e] ? `var(${t[e].cssVariableName})` : e : "", zW = (e, t = "") => {
56561
+ }, BW = (e, t) => e.tokens.filter((e) => e.category === t), VW = (e) => `:root {\n${e.tokens.map((e) => ` ${e.cssVariableName}: ${e.value};`).join("\n")}\n}`, HW = (e, t) => e ? e.startsWith("var(") ? e : t[e] ? `var(${t[e].cssVariableName})` : e : "", UW = (e, t = "") => {
56255
56562
  let n = "";
56256
56563
  switch (e.category) {
56257
56564
  case "color":
@@ -56273,10 +56580,10 @@ var gW = ({ label: e, value: t, unit: n = "px", units: r, min: i = 0, max: a = 5
56273
56580
  }
56274
56581
  return n;
56275
56582
  };
56276
- function BW(e) {
56583
+ function WW(e) {
56277
56584
  return /^#[0-9a-fA-F]{3,8}$/.test(e) || /^rgb|^hsl/.test(e) ? "color" : /px$|rem$|em$|%$/.test(e) ? "spacing" : /^\d+(\.\d+)?$/.test(e) ? "number" : "string";
56278
56585
  }
56279
- async function VW(e, t) {
56586
+ async function GW(e, t) {
56280
56587
  if (!e || !e.trim()) return !1;
56281
56588
  try {
56282
56589
  let n = `https://snapshot.strata.charisol.io/snapshots/${e}/strata.json`, r = await fetch(n);
@@ -56288,7 +56595,7 @@ async function VW(e, t) {
56288
56595
  key: e,
56289
56596
  name: t.name || e,
56290
56597
  value: n,
56291
- type: t.type || BW(n)
56598
+ type: t.type || WW(n)
56292
56599
  };
56293
56600
  })), !0;
56294
56601
  } catch (e) {
@@ -56297,7 +56604,7 @@ async function VW(e, t) {
56297
56604
  }
56298
56605
  //#endregion
56299
56606
  //#region src/components/PlexoBuilder.tsx
56300
- var HW = (e) => ({ body: {
56607
+ var KW = (e) => ({ body: {
56301
56608
  style: {
56302
56609
  background: "#0b0f19",
56303
56610
  padding: "24px"
@@ -56320,11 +56627,11 @@ var HW = (e) => ({ body: {
56320
56627
  }]
56321
56628
  }]
56322
56629
  }]
56323
- } }), UW = (e, t, n) => {
56630
+ } }), qW = (e, t, n) => {
56324
56631
  if (t === void 0 && n === void 0) return e;
56325
56632
  let r = JSON.parse(JSON.stringify(e));
56326
56633
  return r.body.style = r.body.style || {}, t !== void 0 && (r.body.style.customCss = t), n !== void 0 && (r.body.style.customJs = n), r;
56327
- }, WW = (e, t) => {
56634
+ }, JW = (e, t) => {
56328
56635
  let n = e.trim(), r = n.match(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/);
56329
56636
  if (r) {
56330
56637
  let e = r[1], n = e.length === 3 ? e.split("").map((e) => `${e}${e}`).join("") : e;
@@ -56343,7 +56650,7 @@ var HW = (e) => ({ body: {
56343
56650
  }
56344
56651
  }
56345
56652
  return `rgba(79, 70, 229, ${t})`;
56346
- }, GW = ({ title: e, plan: t }) => /* @__PURE__ */ F("div", {
56653
+ }, YW = ({ title: e, plan: t }) => /* @__PURE__ */ F("div", {
56347
56654
  className: "flex flex-col items-center justify-center gap-3 py-10 px-4 text-center rounded-lg border border-dashed",
56348
56655
  style: { borderColor: "var(--builder-border-color)" },
56349
56656
  children: [
@@ -56370,7 +56677,7 @@ var HW = (e) => ({ body: {
56370
56677
  children: "Upgrade your plan to unlock this feature."
56371
56678
  })
56372
56679
  ]
56373
- }), KW = (e, t = 1200, n = 1200, r = .8) => new Promise((i) => {
56680
+ }), XW = (e, t = 1200, n = 1200, r = .8) => new Promise((i) => {
56374
56681
  if (!e.type.startsWith("image/")) {
56375
56682
  i(e);
56376
56683
  return;
@@ -56403,13 +56710,13 @@ var HW = (e) => ({ body: {
56403
56710
  }, "image/jpeg", r);
56404
56711
  }, o.onerror = () => i(e), o.src = a.target?.result;
56405
56712
  }, a.onerror = () => i(e), a.readAsDataURL(e);
56406
- }), qW = de((e, n) => {
56713
+ }), ZW = de((e, n) => {
56407
56714
  let { showSaveButton: r = !1, mode: i, apiKey: a, backgroundColor: o = "#0e1526", themeBgColor: s = "#4f46e5", themeFgColor: c = "#ffffff", textColor: l = "#e2e8f0", builderFontFamily: u = "'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif", initialTemplate: d, initialHtml: f, initialCss: p, initialJs: m, onSave: h, useAi: g, aiProvider: _, aiTier: v, externalUserId: y, onUpload: b, customUpload: x, disableImageUpload: w = !1, autoSave: ee = !1, autoSaveDuration: te = 3e3, unsplashKey: ie, pexelsKey: ae, pixabayKey: se, allowPublishLandingPage: ce = !1, templateId: D, headerLeftContent: le, headerRightContent: ue, mergeTags: de, isBlogLayout: fe = !1, readOnly: pe = !1, commentMode: _e = !1, onRequestComment: M } = e, ve = e.__internalPlan, ye = IH(a, ve), be = jH(ye.plan), xe = e.themeBgColor === void 0 ? ye.branding?.brandColor ?? s : s, Se = k(null), { template: Ce, selectedElementId: we, selectedRowId: I, selectedColumnId: L, past: Te, future: Ee, selectElement: R, selectRow: De, selectColumn: Oe, undo: ke, redo: Ne, hydrateTemplate: Pe, addRow: Fe, moveRow: Le, addElement: z, moveElement: ze, updateElement: Be, deleteElement: Ve, duplicateElement: Ue, deleteRow: We, duplicateRow: Ge, updateRowStyle: Ke, updateRowAttrs: qe, updateColumnStyle: Je, updateColumnAttrs: Ye, updateTemplateBodyStyle: Xe, updateRowColumns: Ze, updateColumnWidth: Qe, addColumnToRow: B, deleteColumnFromRow: V, duplicateColumn: $e, addUploadedImage: et, addNestedRowToColumn: tt, nestRowInColumn: nt, moveNestedRowToTopLevel: H, moveNestedRowBetweenColumns: U } = Ie(), [rt, it] = A(null), at = Ce?.body?.publishConfig?.apiKeyOverride ?? "", ot = () => at.trim() || a, st = (e) => typeof window < "u" && (window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1") && window.location.port !== "3000" ? `http://localhost:3000${e}` : e, ct = (e, t) => {
56408
56715
  it(t), It(e), R(null), De(null), Oe(null);
56409
56716
  }, lt = {
56410
56717
  useAi: Ce.body.aiConfig?.useAi ?? g,
56411
56718
  tier: Ce.body.aiConfig?.tier || v
56412
- }, ut = _ || ye.aiProvider, dt = ye.status === "valid" ? ye.manageLandingPagePublishing : ce, ft = i === "email" ? "EMAIL" : "LANDING_PAGE", [pt, mt] = A(null), [ht, gt] = A(je), [_t, vt] = A("desktop"), [yt, bt] = A("600px"), [xt, St] = A("imac"), [Ct, wt] = A("design"), [Tt, Et] = A(!1), Dt = pe || Tt, [Ot, kt] = A("light"), { width: At, category: jt } = NW(), Mt = jt !== "desktop", [Nt, Pt] = A(!1), [Ft, It] = A("content"), [Lt, Rt] = A("all"), [zt, Bt] = A([]), [Vt, Ht] = A(!1), [Ut, Wt] = A(null), [Gt, Kt] = A(0), [qt, Jt] = A(""), [Yt, Xt] = A(""), [Zt, Qt] = A([]);
56719
+ }, ut = _ || ye.aiProvider, dt = ye.status === "valid" ? ye.manageLandingPagePublishing : ce, ft = i === "email" ? "EMAIL" : "LANDING_PAGE", [pt, mt] = A(null), [ht, gt] = A(je), [_t, vt] = A("desktop"), [yt, bt] = A("600px"), [xt, St] = A("imac"), [Ct, wt] = A("design"), [Tt, Et] = A(!1), Dt = pe || Tt, [Ot, kt] = A("light"), { width: At, category: jt } = LW(), Mt = jt !== "desktop", [Nt, Pt] = A(!1), [Ft, It] = A("content"), [Lt, Rt] = A("all"), [zt, Bt] = A([]), [Vt, Ht] = A(!1), [Ut, Wt] = A(null), [Gt, Kt] = A(0), [qt, Jt] = A(""), [Yt, Xt] = A(""), [Zt, Qt] = A([]);
56413
56720
  O(() => {
56414
56721
  let e = !1;
56415
56722
  return (async () => {
@@ -56494,7 +56801,7 @@ var HW = (e) => ({ body: {
56494
56801
  D,
56495
56802
  a
56496
56803
  ]);
56497
- let { sensors: Dn, getJson: On, exportDesign: kn, handleBuiltInSave: An } = AW({
56804
+ let { sensors: Dn, getJson: On, exportDesign: kn, handleBuiltInSave: An } = PW({
56498
56805
  apiKey: a,
56499
56806
  mode: i,
56500
56807
  onSave: h,
@@ -56548,7 +56855,7 @@ var HW = (e) => ({ body: {
56548
56855
  h
56549
56856
  ]), O(() => {
56550
56857
  let e = f?.trim(), t, n, r = p === void 0 ? "__undefined__" : p, i = m === void 0 ? "__undefined__" : m;
56551
- d ? (n = `json:${JSON.stringify(d)}:css:${r}:js:${i}`, t = UW(d, p, m)) : e ? (n = `html:${e}:css:${r}:js:${i}`, t = UW(HW(e), p, m)) : (n = `demo:css:${r}:js:${i}`, t = UW(kW, p, m)), wn.current !== n && (wn.current = n, Pe(t));
56858
+ d ? (n = `json:${JSON.stringify(d)}:css:${r}:js:${i}`, t = qW(d, p, m)) : e ? (n = `html:${e}:css:${r}:js:${i}`, t = qW(KW(e), p, m)) : (n = `demo:css:${r}:js:${i}`, t = qW(NW, p, m)), wn.current !== n && (wn.current = n, Pe(t));
56552
56859
  }, [
56553
56860
  d,
56554
56861
  f,
@@ -56572,7 +56879,7 @@ var HW = (e) => ({ body: {
56572
56879
  let e = Ce?.body?.style?.strataConfig?.projectId, t = typeof window < "u" ? localStorage.getItem("plexo-strata-config") : null, n = t ? JSON.parse(t) : null, r = e || n?.projectId;
56573
56880
  if (r) {
56574
56881
  let e = Ie.getState().setStrataTokens;
56575
- VW(r, e);
56882
+ GW(r, e);
56576
56883
  }
56577
56884
  }, [(Ce?.body?.style)?.strataConfig?.projectId]), O(() => {
56578
56885
  rn(null), on(null), sn.current && clearTimeout(sn.current);
@@ -57101,7 +57408,7 @@ var HW = (e) => ({ body: {
57101
57408
  }
57102
57409
  return;
57103
57410
  }
57104
- }, tr = (e, n, r) => /* @__PURE__ */ P(uW, {
57411
+ }, tr = (e, n, r) => /* @__PURE__ */ P(mW, {
57105
57412
  row: e,
57106
57413
  parentRowId: n,
57107
57414
  parentColId: r,
@@ -57110,7 +57417,7 @@ var HW = (e) => ({ body: {
57110
57417
  previewMode: Dt,
57111
57418
  deviceView: _t,
57112
57419
  selectedElementId: we,
57113
- children: e.columns.map((i) => /* @__PURE__ */ P(dW, {
57420
+ children: e.columns.map((i) => /* @__PURE__ */ P(hW, {
57114
57421
  col: i,
57115
57422
  rowId: e.id,
57116
57423
  parentRowId: n,
@@ -57189,7 +57496,7 @@ var HW = (e) => ({ body: {
57189
57496
  })]
57190
57497
  }) : /* @__PURE__ */ P(N, { children: t(i).map((t) => {
57191
57498
  let n = i.elements.find((e) => e.id === t);
57192
- if (n) return /* @__PURE__ */ P(mW, {
57499
+ if (n) return /* @__PURE__ */ P(vW, {
57193
57500
  elem: n,
57194
57501
  columnId: i.id,
57195
57502
  rowId: e.id,
@@ -57301,7 +57608,7 @@ var HW = (e) => ({ body: {
57301
57608
  let n = t.name;
57302
57609
  try {
57303
57610
  let e = t;
57304
- t.type.startsWith("image/") && (Fn(`Compressing "${n}"...`), e = await KW(t)), Fn(`Uploading "${n}"...`);
57611
+ t.type.startsWith("image/") && (Fn(`Compressing "${n}"...`), e = await XW(t)), Fn(`Uploading "${n}"...`);
57305
57612
  let r = "", i = x || b;
57306
57613
  if (i) {
57307
57614
  let t = await i(e);
@@ -57558,9 +57865,9 @@ var HW = (e) => ({ body: {
57558
57865
  themeBgColor: xe,
57559
57866
  textColor: l,
57560
57867
  fontFamily: u,
57561
- borderColor: WW(xe, .35),
57562
- panelColor: WW(o, .68),
57563
- mutedTextColor: WW(l, .76),
57868
+ borderColor: JW(xe, .35),
57869
+ panelColor: JW(o, .68),
57870
+ mutedTextColor: JW(l, .76),
57564
57871
  themeOnAccent: c,
57565
57872
  inputBackground: c,
57566
57873
  inputText: PH(c, l),
@@ -57744,9 +58051,9 @@ var HW = (e) => ({ body: {
57744
58051
  "--builder-input-border": J.inputBorder,
57745
58052
  "--theme-fg": J.themeOnAccent,
57746
58053
  "--theme-accent": J.themeBgColor,
57747
- "--theme-accent-strong": WW(J.themeBgColor, .86),
57748
- "--theme-accent-soft": WW(J.themeBgColor, .16),
57749
- "--theme-accent-border-soft": WW(J.themeBgColor, .35),
58054
+ "--theme-accent-strong": JW(J.themeBgColor, .86),
58055
+ "--theme-accent-soft": JW(J.themeBgColor, .16),
58056
+ "--theme-accent-border-soft": JW(J.themeBgColor, .35),
57750
58057
  "--theme-accent-text": J.themeOnAccent
57751
58058
  },
57752
58059
  children: [
@@ -57754,7 +58061,7 @@ var HW = (e) => ({ body: {
57754
58061
  rel: "stylesheet",
57755
58062
  href: Pn
57756
58063
  }),
57757
- bn && /* @__PURE__ */ P(iW, {
58064
+ bn && /* @__PURE__ */ P(cW, {
57758
58065
  message: bn.message,
57759
58066
  onClose: In
57760
58067
  }),
@@ -58010,7 +58317,7 @@ var HW = (e) => ({ body: {
58010
58317
  fontFamily: W.body.style.fontFamily || "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif"
58011
58318
  },
58012
58319
  className: `${Dt ? "min-h-[460px]" : "min-h-full"}`,
58013
- children: /* @__PURE__ */ P(oW, {
58320
+ children: /* @__PURE__ */ P(uW, {
58014
58321
  rowIds: hr,
58015
58322
  disabled: Dt,
58016
58323
  children: W.body.rows.length === 0 ? /* @__PURE__ */ F("div", {
@@ -58134,7 +58441,7 @@ var HW = (e) => ({ body: {
58134
58441
  isOpen: $t.columnsSection,
58135
58442
  onToggle: () => tn("columnsSection"),
58136
58443
  contentClassName: "px-4 pb-4 pt-0 flex flex-col gap-0 bg-transparent",
58137
- children: /* @__PURE__ */ P(EW, { onSelect: (e) => Ze(lr.id, e) })
58444
+ children: /* @__PURE__ */ P(AW, { onSelect: (e) => Ze(lr.id, e) })
58138
58445
  }),
58139
58446
  /* @__PURE__ */ P(XH, {
58140
58447
  title: "Row Properties",
@@ -58143,7 +58450,7 @@ var HW = (e) => ({ body: {
58143
58450
  children: /* @__PURE__ */ F("div", {
58144
58451
  className: "flex flex-col gap-1",
58145
58452
  children: [
58146
- /* @__PURE__ */ P(gW, {
58453
+ /* @__PURE__ */ P(bW, {
58147
58454
  label: "Height",
58148
58455
  value: q.height || "auto",
58149
58456
  units: [
@@ -58156,26 +58463,62 @@ var HW = (e) => ({ body: {
58156
58463
  max: 2e3,
58157
58464
  onChange: (e) => G("height", e)
58158
58465
  }),
58159
- /* @__PURE__ */ P(pW, {
58466
+ /* @__PURE__ */ F("div", {
58467
+ className: "flex items-center justify-between py-3 border-b border-slate-800/10 last:border-b-0",
58468
+ children: [/* @__PURE__ */ P("span", {
58469
+ className: "text-sm text-slate-300 font-semibold leading-5 tracking-[0.01em]",
58470
+ children: "Vertical Align"
58471
+ }), /* @__PURE__ */ P("div", {
58472
+ className: "flex items-center gap-1",
58473
+ children: [
58474
+ {
58475
+ value: "flex-start",
58476
+ label: "Top",
58477
+ icon: "⬆"
58478
+ },
58479
+ {
58480
+ value: "center",
58481
+ label: "Center",
58482
+ icon: "⬍"
58483
+ },
58484
+ {
58485
+ value: "flex-end",
58486
+ label: "Bottom",
58487
+ icon: "⬇"
58488
+ },
58489
+ {
58490
+ value: "stretch",
58491
+ label: "Stretch",
58492
+ icon: "↕"
58493
+ }
58494
+ ].map((e) => /* @__PURE__ */ P("button", {
58495
+ title: e.label,
58496
+ onClick: () => G("alignItems", e.value),
58497
+ className: `h-6 w-8 rounded text-[11px] transition border ${(q.alignItems || "stretch") === e.value ? "bg-indigo-600 border-indigo-500 text-white" : "bg-slate-900 border-slate-700 text-slate-400 hover:text-white"}`,
58498
+ children: e.icon
58499
+ }, e.value))
58500
+ })]
58501
+ }),
58502
+ /* @__PURE__ */ P(_W, {
58160
58503
  label: "Background Color",
58161
58504
  value: q.backgroundColor || "#ffffff",
58162
58505
  onChange: (e) => G("backgroundColor", e)
58163
58506
  }),
58164
- /* @__PURE__ */ P(pW, {
58507
+ /* @__PURE__ */ P(_W, {
58165
58508
  label: "Content Background Color",
58166
58509
  value: q.contentBackgroundColor || "#ffffff",
58167
58510
  onChange: (e) => G("contentBackgroundColor", e)
58168
58511
  }),
58169
- /* @__PURE__ */ P(vW, {
58512
+ /* @__PURE__ */ P(SW, {
58170
58513
  label: "Content Alignment",
58171
58514
  value: q.textAlign || "left",
58172
58515
  onChange: (e) => G("textAlign", e)
58173
58516
  }),
58174
- /* @__PURE__ */ P(OW, {
58517
+ /* @__PURE__ */ P(MW, {
58175
58518
  label: "Upload background",
58176
58519
  onUploadMock: rr
58177
58520
  }),
58178
- /* @__PURE__ */ P(yW, {
58521
+ /* @__PURE__ */ P(CW, {
58179
58522
  label: "Image URL",
58180
58523
  value: (() => {
58181
58524
  let e = q.backgroundImage || "", t = e.match(/^url\(['"]?([^'"\)]+)['"]?\)$/);
@@ -58195,27 +58538,27 @@ var HW = (e) => ({ body: {
58195
58538
  });
58196
58539
  }
58197
58540
  }),
58198
- /* @__PURE__ */ P(DW, {
58541
+ /* @__PURE__ */ P(jW, {
58199
58542
  label: "Padding",
58200
58543
  stylePrefix: "padding",
58201
58544
  styles: q,
58202
58545
  onChange: G
58203
58546
  }),
58204
- /* @__PURE__ */ P(DW, {
58547
+ /* @__PURE__ */ P(jW, {
58205
58548
  label: "Margin",
58206
58549
  stylePrefix: "margin",
58207
58550
  styles: q,
58208
58551
  onChange: G,
58209
58552
  allowNegative: !0
58210
58553
  }),
58211
- /* @__PURE__ */ P(gW, {
58554
+ /* @__PURE__ */ P(bW, {
58212
58555
  label: "Border Width",
58213
58556
  value: q.borderWidth || "1px",
58214
58557
  min: 0,
58215
58558
  max: 12,
58216
58559
  onChange: (e) => G("borderWidth", e)
58217
58560
  }),
58218
- /* @__PURE__ */ P(_W, {
58561
+ /* @__PURE__ */ P(xW, {
58219
58562
  label: "Border Style",
58220
58563
  value: q.borderStyle || "solid",
58221
58564
  options: [
@@ -58238,12 +58581,12 @@ var HW = (e) => ({ body: {
58238
58581
  ],
58239
58582
  onChange: (e) => G("borderStyle", e)
58240
58583
  }),
58241
- /* @__PURE__ */ P(pW, {
58584
+ /* @__PURE__ */ P(_W, {
58242
58585
  label: "Border Color",
58243
58586
  value: q.borderColor || "#e2e8f0",
58244
58587
  onChange: (e) => G("borderColor", e)
58245
58588
  }),
58246
- /* @__PURE__ */ P(xW, {
58589
+ /* @__PURE__ */ P(TW, {
58247
58590
  styles: q,
58248
58591
  onChange: G
58249
58592
  })
@@ -58256,13 +58599,13 @@ var HW = (e) => ({ body: {
58256
58599
  onToggle: () => tn("actions"),
58257
58600
  children: /* @__PURE__ */ F("div", {
58258
58601
  className: "flex flex-col gap-1",
58259
- children: [/* @__PURE__ */ P(yW, {
58602
+ children: [/* @__PURE__ */ P(CW, {
58260
58603
  label: "HTML ID",
58261
58604
  value: lr?.htmlId || "",
58262
58605
  onChange: (e) => {
58263
58606
  I && qe(I, { htmlId: e });
58264
58607
  }
58265
- }), /* @__PURE__ */ P(yW, {
58608
+ }), /* @__PURE__ */ P(CW, {
58266
58609
  label: "HTML Class Names",
58267
58610
  value: lr?.htmlClass || "",
58268
58611
  onChange: (e) => {
@@ -58316,7 +58659,7 @@ var HW = (e) => ({ body: {
58316
58659
  children: /* @__PURE__ */ F("div", {
58317
58660
  className: "flex flex-col gap-1",
58318
58661
  children: [
58319
- /* @__PURE__ */ P(gW, {
58662
+ /* @__PURE__ */ P(bW, {
58320
58663
  label: "Width",
58321
58664
  value: ur?.width || "100%",
58322
58665
  units: [
@@ -58331,7 +58674,7 @@ var HW = (e) => ({ body: {
58331
58674
  L && e && Qe(L, e);
58332
58675
  }
58333
58676
  }),
58334
- /* @__PURE__ */ P(gW, {
58677
+ /* @__PURE__ */ P(bW, {
58335
58678
  label: "Height",
58336
58679
  value: q.height || "auto",
58337
58680
  units: [
@@ -58378,7 +58721,7 @@ var HW = (e) => ({ body: {
58378
58721
  })]
58379
58722
  }),
58380
58723
  q.display === "flex" && /* @__PURE__ */ F(N, { children: [
58381
- /* @__PURE__ */ P(gW, {
58724
+ /* @__PURE__ */ P(bW, {
58382
58725
  label: "Gap",
58383
58726
  value: q.gap || "10px",
58384
58727
  units: [
@@ -58463,32 +58806,32 @@ var HW = (e) => ({ body: {
58463
58806
  }, e.value))
58464
58807
  })]
58465
58808
  }),
58466
- /* @__PURE__ */ P(pW, {
58809
+ /* @__PURE__ */ P(_W, {
58467
58810
  label: "Background Color",
58468
58811
  value: q.backgroundColor || "transparent",
58469
58812
  onChange: (e) => G("backgroundColor", e)
58470
58813
  }),
58471
- /* @__PURE__ */ P(DW, {
58814
+ /* @__PURE__ */ P(jW, {
58472
58815
  label: "Padding",
58473
58816
  stylePrefix: "padding",
58474
58817
  styles: q,
58475
58818
  onChange: G
58476
58819
  }),
58477
- /* @__PURE__ */ P(DW, {
58820
+ /* @__PURE__ */ P(jW, {
58478
58821
  label: "Margin",
58479
58822
  stylePrefix: "margin",
58480
58823
  styles: q,
58481
58824
  onChange: G,
58482
58825
  allowNegative: !0
58483
58826
  }),
58484
- /* @__PURE__ */ P(gW, {
58827
+ /* @__PURE__ */ P(bW, {
58485
58828
  label: "Border Width",
58486
58829
  value: q.borderWidth || "0px",
58487
58830
  min: 0,
58488
58831
  max: 12,
58489
58832
  onChange: (e) => G("borderWidth", e)
58490
58833
  }),
58491
- /* @__PURE__ */ P(_W, {
58834
+ /* @__PURE__ */ P(xW, {
58492
58835
  label: "Border Style",
58493
58836
  value: q.borderStyle || "solid",
58494
58837
  options: [
@@ -58511,25 +58854,25 @@ var HW = (e) => ({ body: {
58511
58854
  ],
58512
58855
  onChange: (e) => G("borderStyle", e)
58513
58856
  }),
58514
- /* @__PURE__ */ P(pW, {
58857
+ /* @__PURE__ */ P(_W, {
58515
58858
  label: "Border Color",
58516
58859
  value: q.borderColor || "#cbd5e1",
58517
58860
  onChange: (e) => G("borderColor", e)
58518
58861
  }),
58519
- /* @__PURE__ */ P(xW, {
58862
+ /* @__PURE__ */ P(TW, {
58520
58863
  styles: q,
58521
58864
  onChange: G
58522
58865
  }),
58523
- /* @__PURE__ */ P(TW, {
58866
+ /* @__PURE__ */ P(kW, {
58524
58867
  styles: q,
58525
58868
  onChange: G
58526
58869
  }),
58527
- /* @__PURE__ */ P(yW, {
58870
+ /* @__PURE__ */ P(CW, {
58528
58871
  label: "HTML ID",
58529
58872
  value: dr.htmlId || "",
58530
58873
  onChange: (e) => Wn("htmlId", e)
58531
58874
  }),
58532
- /* @__PURE__ */ P(yW, {
58875
+ /* @__PURE__ */ P(CW, {
58533
58876
  label: "HTML Class Names",
58534
58877
  value: dr.htmlClass || "",
58535
58878
  onChange: (e) => Wn("htmlClass", e)
@@ -58547,7 +58890,7 @@ var HW = (e) => ({ body: {
58547
58890
  ]
58548
58891
  })
58549
58892
  })] }),
58550
- /* @__PURE__ */ P(rW, {
58893
+ /* @__PURE__ */ P(sW, {
58551
58894
  selectedElement: K,
58552
58895
  currentAttrs: dr,
58553
58896
  currentStyles: q,
@@ -58556,16 +58899,16 @@ var HW = (e) => ({ body: {
58556
58899
  onTransientAttrChange: Wn,
58557
58900
  onTransientStyleChange: G,
58558
58901
  AccordionSection: XH,
58559
- InlineTextInput: yW,
58560
- InlineSelect: _W,
58561
- InlineColorPicker: pW,
58562
- InlineAlignment: vW,
58563
- InlineCounter: gW,
58902
+ InlineTextInput: CW,
58903
+ InlineSelect: xW,
58904
+ InlineColorPicker: _W,
58905
+ InlineAlignment: SW,
58906
+ InlineCounter: bW,
58564
58907
  Toggle: hU,
58565
- InlineTextArea: bW,
58566
- SpacingControls: DW,
58567
- BorderRadiusControls: xW,
58568
- BoxShadowControls: TW,
58908
+ InlineTextArea: wW,
58909
+ SpacingControls: jW,
58910
+ BorderRadiusControls: TW,
58911
+ BoxShadowControls: kW,
58569
58912
  handleUploadMock: rr,
58570
58913
  disableImageUpload: w,
58571
58914
  onOpenImageLibrary: ct,
@@ -58605,7 +58948,7 @@ var HW = (e) => ({ body: {
58605
58948
  }),
58606
58949
  Ft === "blocks" && /* @__PURE__ */ P(YH, {
58607
58950
  DraggablePaletteItem: eU,
58608
- LayoutPreview: aW,
58951
+ LayoutPreview: lW,
58609
58952
  tierFeatures: be,
58610
58953
  onTapAdd: jt === "mobile" ? Yn : void 0
58611
58954
  }),
@@ -58619,13 +58962,13 @@ var HW = (e) => ({ body: {
58619
58962
  handleUploadFavicon: ir,
58620
58963
  disableImageUpload: w,
58621
58964
  onOpenImageLibrary: ct,
58622
- InlineColorPicker: pW,
58623
- InlineAlignment: vW,
58624
- InlineSelect: _W,
58965
+ InlineColorPicker: _W,
58966
+ InlineAlignment: SW,
58967
+ InlineSelect: xW,
58625
58968
  Toggle: hU,
58626
- InlineTextInput: yW,
58627
- InlineTextArea: bW,
58628
- SpacingControls: DW,
58969
+ InlineTextInput: CW,
58970
+ InlineTextArea: wW,
58971
+ SpacingControls: jW,
58629
58972
  notify: Fn
58630
58973
  }),
58631
58974
  Ft === "images" && (be.stockImagesEnabled ? /* @__PURE__ */ P(QH, {
@@ -58641,7 +58984,7 @@ var HW = (e) => ({ body: {
58641
58984
  applyImageToSelection: Or,
58642
58985
  ICONS: X,
58643
58986
  panelBackgroundColor: o
58644
- }) : /* @__PURE__ */ P(GW, {
58987
+ }) : /* @__PURE__ */ P(YW, {
58645
58988
  title: "Stock Images",
58646
58989
  plan: "PRO"
58647
58990
  })),
@@ -58656,7 +58999,7 @@ var HW = (e) => ({ body: {
58656
58999
  ICONS: X,
58657
59000
  panelBackgroundColor: o
58658
59001
  }),
58659
- Ft === "strata" && (be.strataEnabled ? /* @__PURE__ */ P(fU, {}) : /* @__PURE__ */ P(GW, {
59002
+ Ft === "strata" && (be.strataEnabled ? /* @__PURE__ */ P(fU, {}) : /* @__PURE__ */ P(YW, {
58660
59003
  title: "Strata Design System",
58661
59004
  plan: "PRO"
58662
59005
  })),
@@ -58799,10 +59142,10 @@ var HW = (e) => ({ body: {
58799
59142
  })
58800
59143
  });
58801
59144
  });
58802
- qW.displayName = "PlexoBuilder";
59145
+ ZW.displayName = "PlexoBuilder";
58803
59146
  //#endregion
58804
59147
  //#region src/playground.tsx
58805
- var JW = de((e, t) => {
59148
+ var QW = de((e, t) => {
58806
59149
  let n = k(null), r = k(null), i = k(null), [a, o] = A(1), s = k(1), [c, l] = A(!0);
58807
59150
  return me(t, () => ({
58808
59151
  exportDesign: async (e) => {
@@ -58857,13 +59200,13 @@ var JW = de((e, t) => {
58857
59200
  width: "100%",
58858
59201
  height: "100%"
58859
59202
  },
58860
- children: /* @__PURE__ */ P(qW, {
59203
+ children: /* @__PURE__ */ P(ZW, {
58861
59204
  ref: n,
58862
59205
  ...e
58863
59206
  })
58864
59207
  })]
58865
59208
  });
58866
59209
  });
58867
- JW.displayName = "PlexoBuilder";
59210
+ QW.displayName = "PlexoBuilder";
58868
59211
  //#endregion
58869
- export { NV as ColumnJSONSchema, MV as ElementJSONSchema, JW as PlexoBuilder, tH as PlexoRenderer, PV as RowJSONSchema, UV as SafeHTML, zV as TemplateJSONSchema, FW as applyTokensToElement, E as compileToHTML, y as compileToHTMLWithStrataAuto, ne as compileToPlainText, PW as createTokenMapping, zW as createTokenSwatch, LW as generateTokenCSS, IW as getTokensByCategory, ae as injectStrataBundle, ce as parseJsonToTargetFormat, RW as resolveTokenValue, DV as safeJsonParse, HV as sanitizeHtml, EV as sanitizeObject, VV as sanitizeStyleObject, BV as sanitizeStyleString };
59212
+ export { NV as ColumnJSONSchema, MV as ElementJSONSchema, QW as PlexoBuilder, tH as PlexoRenderer, PV as RowJSONSchema, UV as SafeHTML, zV as TemplateJSONSchema, zW as applyTokensToElement, E as compileToHTML, y as compileToHTMLWithStrataAuto, ne as compileToPlainText, RW as createTokenMapping, UW as createTokenSwatch, VW as generateTokenCSS, BW as getTokensByCategory, ae as injectStrataBundle, ce as parseJsonToTargetFormat, HW as resolveTokenValue, DV as safeJsonParse, HV as sanitizeHtml, EV as sanitizeObject, VV as sanitizeStyleObject, BV as sanitizeStyleString };